var dsl=function(){"use strict";const e={initApp:"quickapp.app.initApp",initPage:"quickapp.page.initPage",destroyPage:"quickapp.page.destroyPage",fireEvent:"quickapp.page.fireEvent",onShow:"quickapp.page.onShow",onHide:"quickapp.page.onHide",onBackPress:"quickapp.page.onBackPress",onMenuPress:"quickapp.page.onMenuPress",onOrientationChange:"quickapp.page.onOrientationChange",onConfigurationChanged:"quickapp.page.onConfigurationChanged",onRefresh:"quickapp.page.onRefresh",callbackDone:"quickapp.page.callbackDone"},t=/^@(app)-application\//,n=/^@(app)-component\//,r=/^@(app)-module\//;function o(e){return e.replace(t,"").replace(n,"").replace(r,"")}var i="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var a,s,c=(function(e){e.exports=function(e,t,n){var r=Object.freeze({});function o(e){return null==e}function a(e){return null!=e}function s(e){return!0===e}function c(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function u(e){return null!==e&&"object"==typeof e}var l=Object.prototype.toString;function p(e){return"[object Object]"===l.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return a(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function v(e){return null==e?"":Array.isArray(e)||p(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function h(e){var t=parseFloat(e);return isNaN(t)?e:t}function y(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}y("slot,component",!0);var m=y("key,ref,slot,slot-scope,is");function g(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function b(e,t){return _.call(e,t)}function $(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var A=/-(\w)/g,k=$(function(e){return e.replace(A,function(e,t){return t?t.toUpperCase():""})}),w=$(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),O=/\B([A-Z])/g,x=$(function(e){return e.replace(O,"-$1").toLowerCase()});var C=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function S(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function j(e,t){for(var n in t)e[n]=t[n];return e}function E(e,t,n){}var P=function(e,t,n){return!1},I=function(e){return e};function F(e,t){if(e===t)return!0;var n=u(e),r=u(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var o=Array.isArray(e),i=Array.isArray(t);if(o&&i)return e.length===t.length&&e.every(function(e,n){return F(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(o||i)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every(function(n){return F(e[n],t[n])})}catch(e){return!1}}function D(e,t){for(var n=0;n<e.length;n++)if(F(e[n],t))return n;return-1}function T(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var M="data-server-rendered",N=["component","directive","filter"],q=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],L={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:P,isReservedAttr:P,isUnknownElement:P,getTagNamespace:E,parsePlatformTagName:I,mustUseProp:P,async:!0,_lifecycleHooks:q};function R(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var V=new RegExp("[^"+/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/.source+".$_\\d]");var B,H="__proto__"in{},U="undefined"!=typeof window,z="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,K=z&&WXEnvironment.platform.toLowerCase(),W=U&&window.navigator.userAgent.toLowerCase(),J=W&&/msie|trident/.test(W),Q=W&&W.indexOf("msie 9.0")>0,X=W&&W.indexOf("edge/")>0,G=(W&&W.indexOf("android"),W&&/iphone|ipad|ipod|ios/.test(W)||"ios"===K),Z=(W&&/chrome\/\d+/.test(W),W&&/phantomjs/.test(W),W&&W.match(/firefox\/(\d+)/),{}.watch);if(U)try{var Y={};Object.defineProperty(Y,"passive",{get:function(){}}),window.addEventListener("test-passive",null,Y)}catch(e){}var ee=function(){return void 0===B&&(B=!U&&!z&&void 0!==i&&(i.process&&"server"===i.process.env.VUE_ENV)),B},te=U&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ne(e){return"function"==typeof e&&/native code/.test(e.toString())}var re,oe="undefined"!=typeof Symbol&&ne(Symbol)&&"undefined"!=typeof Reflect&&ne(Reflect.ownKeys);re="undefined"!=typeof Set&&ne(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ie=E,ae=0,se=function(){"undefined"!=typeof SharedObject?this.id=SharedObject.uid++:this.id=ae++,this.subs=[]};function ce(e){se.SharedObject.targetStack.push(e),se.SharedObject.target=e}function ue(){se.SharedObject.targetStack.pop(),se.SharedObject.target=se.SharedObject.targetStack[se.SharedObject.targetStack.length-1]}se.prototype.addSub=function(e){this.subs.push(e)},se.prototype.removeSub=function(e){g(this.subs,e)},se.prototype.depend=function(){se.SharedObject.target&&se.SharedObject.target.addDep(this)},se.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},se.SharedObject="undefined"!=typeof SharedObject?SharedObject:{},se.SharedObject.target=null,se.SharedObject.targetStack=[];var le=function(e,t,n,r,o,i,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},pe={child:{configurable:!0}};pe.child.get=function(){return this.componentInstance},Object.defineProperties(le.prototype,pe);var fe=function(e){void 0===e&&(e="");var t=new le;return t.text=e,t.isComment=!0,t};function de(e){return new le(void 0,void 0,void 0,String(e))}function ve(e){var t=new le(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var he=Array.prototype,ye=Object.create(he);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=he[e];R(ye,e,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o,i=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),i})});var me=Object.getOwnPropertyNames(ye),ge=!0;function _e(e){ge=e}var be=function(e){var t;this.value=e,this.dep=new se,this.vmCount=0,R(e,"__ob__",this),Array.isArray(e)?(H?(t=ye,e.__proto__=t):function(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];R(e,i,t[i])}}(e,ye,me),this.observeArray(e)):this.walk(e)};function $e(e,t){var n;if(u(e)&&!(e instanceof le))return b(e,"__ob__")&&e.__ob__ instanceof be?n=e.__ob__:ge&&!ee()&&(Array.isArray(e)||p(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new be(e)),t&&n&&n.vmCount++,n}function Ae(e,t,n,r,o){var i=new se,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(n=e[t]);var u=!o&&$e(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return se.SharedObject.target&&(i.depend(),u&&(u.dep.depend(),Array.isArray(t)&&function e(t){for(var n=void 0,r=0,o=t.length;r<o;r++)(n=t[r])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!=t&&r!=r||s&&!c||(c?c.call(e,t):n=t,u=!o&&$e(t),i.notify())}})}}function ke(e,t,n){if(Array.isArray(e)&&f(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(Ae(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function we(e,t){if(Array.isArray(e)&&f(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||b(e,t)&&(delete e[t],n&&n.dep.notify())}}be.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Ae(e,t[n])},be.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)$e(e[t])};var Oe=L.optionMergeStrategies;function xe(e,t){if(!t)return e;for(var n,r,o,i=oe?Reflect.ownKeys(t):Object.keys(t),a=0;a<i.length;a++)"__ob__"!==(n=i[a])&&(r=e[n],o=t[n],b(e,n)?r!==o&&p(r)&&p(o)&&xe(r,o):ke(e,n,o));return e}function Ce(e,t,n){return n?function(){var r="function"==typeof t?t.call(n,n):t,o="function"==typeof e?e.call(n,n):e;return r?xe(r,o):o}:t?e?function(){return xe("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Se(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function je(e,t,n,r){var o=Object.create(e||null);return t?j(o,t):o}Oe.data=function(e,t,n){return n?Ce(e,t,n):t&&"function"!=typeof t?e:Ce(e,t)},q.forEach(function(e){Oe[e]=Se}),N.forEach(function(e){Oe[e+"s"]=je}),Oe.watch=function(e,t,n,r){if(e===Z&&(e=void 0),t===Z&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var o={};for(var i in j(o,e),t){var a=o[i],s=t[i];a&&!Array.isArray(a)&&(a=[a]),o[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},Oe.props=Oe.methods=Oe.inject=Oe.computed=function(e,t,n,r){if(!e)return t;var o=Object.create(null);return j(o,e),t&&j(o,t),o},Oe.provide=Ce;var Ee=function(e,t){return void 0===t?e:t};function Pe(e,t,n){if("function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var r,o,i={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(o=n[r])&&(i[k(o)]={type:null});else if(p(n))for(var a in n)o=n[a],i[k(a)]=p(o)?o:{type:o};e.props=i}}(t),function(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(p(n))for(var i in n){var a=n[i];r[i]=p(a)?j({from:i},a):{from:a}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}(t),!t._base&&(t.extends&&(e=Pe(e,t.extends,n)),t.mixins))for(var r=0,o=t.mixins.length;r<o;r++)e=Pe(e,t.mixins[r],n);var i,a={};for(i in e)s(i);for(i in t)b(e,i)||s(i);function s(r){var o=Oe[r]||Ee;a[r]=o(e[r],t[r],n,r)}return a}function Ie(e,t,n,r){if("string"==typeof n){var o=e[t];if(b(o,n))return o[n];var i=k(n);if(b(o,i))return o[i];var a=w(i);return b(o,a)?o[a]:o[n]||o[i]||o[a]}}function Fe(e,t,n,r){var o=t[e],i=!b(n,e),a=n[e],s=Me(Boolean,o.type);if(s>-1)if(i&&!b(o,"default"))a=!1;else if(""===a||a===x(e)){var c=Me(String,o.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(!b(t,"default"))return;var r=t.default;if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"==typeof r&&"Function"!==De(t.type)?r.call(e):r}(r,o,e);var u=ge;_e(!0),$e(a),_e(u)}return a}function De(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Te(e,t){return De(e)===De(t)}function Me(e,t){if(!Array.isArray(t))return Te(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(Te(t[n],e))return n;return-1}function Ne(e,t,n){ce();try{if(t)for(var r=t;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{if(!1===o[i].call(r,e,t,n))return}catch(e){Le(e,r,"errorCaptured hook")}}Le(e,t,n)}finally{ue()}}function qe(e,t,n,r,o){var i;try{(i=n?e.apply(t,n):e.call(t))&&!i._isVue&&d(i)&&!i._handled&&(i.catch(function(e){return Ne(e,r,o+" (Promise/async)")}),i._handled=!0)}catch(e){Ne(e,r,o)}return i}function Le(e,t,n){if(L.errorHandler)try{return L.errorHandler.call(null,e,t,n)}catch(t){t!==e&&Re(t,null,"config.errorHandler")}Re(e,t,n)}function Re(e,t,n){if(!U&&!z||"undefined"==typeof console)throw e;console.error(e)}var Ve,Be=[],He=!1;function Ue(){He=!1;var e=Be.slice(0);Be.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&ne(Promise)){var ze=Promise.resolve();Ve=function(){ze.then(Ue),G&&setTimeout(E)}}else if(J||"undefined"==typeof MutationObserver||!ne(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Ve="undefined"!=typeof setImmediate&&ne(setImmediate)?function(){setImmediate(Ue)}:function(){setTimeout(Ue,0)};else{var Ke=1,We=new MutationObserver(Ue),Je=t.createTextNode(String(Ke));We.observe(Je,{characterData:!0}),Ve=function(){Ke=(Ke+1)%2,Je.data=String(Ke)}}function Qe(e,t){var n;if(Be.push(function(){if(e)try{e.call(t)}catch(e){Ne(e,t,"nextTick")}else n&&n(t)}),He||(He=!0,Ve()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var Xe=new re;function Ge(e){!function e(t,n){var r,o;var i=Array.isArray(t);if(!i&&!u(t)||Object.isFrozen(t)||t instanceof le)return;if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(i)for(r=t.length;r--;)e(t[r],n);else for(o=Object.keys(t),r=o.length;r--;)e(t[o[r]],n)}(e,Xe),Xe.clear()}var Ze=$(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}});function Ye(e,t){function n(){var e=arguments,r=n.fns;if(!Array.isArray(r))return qe(r,null,arguments,t,"v-on handler");for(var o=r.slice(),i=0;i<o.length;i++)qe(o[i],null,e,t,"v-on handler")}return n.fns=e,n}function et(e,t,n,r,i,a){var c,u,l,p;for(c in e)u=e[c],l=t[c],p=Ze(c),o(u)||(o(l)?(o(u.fns)&&(u=e[c]=Ye(u,a)),s(p.once)&&(u=e[c]=i(p.name,u,p.capture)),n(p.name,u,p.capture,p.passive,p.params)):u!==l&&(l.fns=u,e[c]=l));for(c in t)o(e[c])&&r((p=Ze(c)).name,t[c],p.capture)}function tt(e,t,n){var r;e instanceof le&&(e=e.data.hook||(e.data.hook={}));var i=e[t];function c(){n.apply(this,arguments),g(r.fns,c)}o(i)?r=Ye([c]):a(i.fns)&&s(i.merged)?(r=i).fns.push(c):r=Ye([i,c]),r.merged=!0,e[t]=r}function nt(e,t,n,r){var i=t.options.mpOptions&&t.options.mpOptions.properties;if(o(i))return n;var s=t.options.mpOptions.externalClasses||[],c=e.attrs,u=e.props;if(a(c)||a(u))for(var l in i){var p=x(l);(rt(n,u,l,p,!0)||rt(n,c,l,p,!1))&&n[l]&&-1!==s.indexOf(p)&&r[k(n[l])]&&(n[l]=r[k(n[l])])}return n}function rt(e,t,n,r,o){if(a(t)){if(b(t,n))return e[n]=t[n],o||delete t[n],!0;if(b(t,r))return e[n]=t[r],o||delete t[r],!0}return!1}function ot(e){return c(e)?[de(e)]:Array.isArray(e)?function e(t,n){var r=[];var i,u,l,p;for(i=0;i<t.length;i++)o(u=t[i])||"boolean"==typeof u||(l=r.length-1,p=r[l],Array.isArray(u)?u.length>0&&(it((u=e(u,(n||"")+"_"+i))[0])&&it(p)&&(r[l]=de(p.text+u[0].text),u.shift()),r.push.apply(r,u)):c(u)?it(p)?r[l]=de(p.text+u):""!==u&&r.push(de(u)):it(u)&&it(p)?r[l]=de(p.text+u.text):(s(t._isVList)&&a(u.tag)&&o(u.key)&&a(n)&&(u.key="__vlist"+n+"_"+i+"__"),r.push(u)));return r}(e):void 0}function it(e){return a(e)&&a(e.text)&&!1===e.isComment}function at(e,t){if(e){for(var n=Object.create(null),r=oe?Reflect.ownKeys(e):Object.keys(e),o=0;o<r.length;o++){var i=r[o];if("__ob__"!==i){for(var a=e[i].from,s=t;s;){if(s._provided&&b(s._provided,a)){n[i]=s._provided[a];break}s=s.$parent}if(!s&&"default"in e[i]){var c=e[i].default;n[i]="function"==typeof c?c.call(t):c}}}return n}}function st(e,t){if(!e||!e.length)return{};for(var n={},r=0,o=e.length;r<o;r++){var i=e[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==t&&i.fnContext!==t||!a||null==a.slot)i.asyncMeta&&i.asyncMeta.data&&"page"===i.asyncMeta.data.slot?(n.page||(n.page=[])).push(i):(n.default||(n.default=[])).push(i);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===i.tag?c.push.apply(c,i.children||[]):c.push(i)}}for(var u in n)n[u].every(ct)&&delete n[u];return n}function ct(e){return e.isComment&&!e.asyncFactory||" "===e.text}function ut(e,t,n){var o,i=Object.keys(t).length>0,a=e?!!e.$stable:!i,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==r&&s===n.$key&&!i&&!n.$hasNormal)return n;for(var c in o={},e)e[c]&&"$"!==c[0]&&(o[c]=lt(t,c,e[c]))}else o={};for(var u in t)u in o||(o[u]=pt(t,u));return e&&Object.isExtensible(e)&&(e._normalized=o),R(o,"$stable",a),R(o,"$key",s),R(o,"$hasNormal",i),o}function lt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:ot(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function pt(e,t){return function(){return e[t]}}function ft(e,t){var n,r,o,i,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,o=e.length;r<o;r++)n[r]=t(e[r],r,r,r);else if("number"==typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r,r,r);else if(u(e))if(oe&&e[Symbol.iterator]){n=[];for(var c=e[Symbol.iterator](),l=c.next();!l.done;)n.push(t(l.value,n.length,r++,r)),l=c.next()}else for(i=Object.keys(e),n=new Array(i.length),r=0,o=i.length;r<o;r++)s=i[r],n[r]=t(e[s],s,r,r);return a(n)||(n=[]),n._isVList=!0,n}function dt(e,t,n,r){var o,i=this.$scopedSlots[e];i?(n=n||{},r&&(n=j(j({},r),n)),o=i(n,this,n._i)||t):o=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function vt(e){return Ie(this.$options,"filters",e)||I}function ht(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function yt(e,t,n,r,o){var i=L.keyCodes[t]||n;return o&&r&&!L.keyCodes[t]?ht(o,r):i?ht(i,e):r?x(r)!==t:void 0}function mt(e,t,n,r,o){if(n)if(u(n)){var i;Array.isArray(n)&&(n=function(e){for(var t={},n=0;n<e.length;n++)e[n]&&j(t,e[n]);return t}(n));var a=function(a){if("class"===a||"style"===a||m(a))i=e;else{var s=e.attrs&&e.attrs.type;i=r||L.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=k(a),u=x(a);c in i||u in i||(i[a]=n[a],o&&((e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}))};for(var s in n)a(s)}else;return e}function gt(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t?r:(bt(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),r)}function _t(e,t,n){return bt(e,"__once__"+t+(n?"_"+n:""),!0),e}function bt(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&$t(e[r],t+"_"+r,n);else $t(e,t,n)}function $t(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function At(e,t){if(t)if(p(t)){var n=e.on=e.on?j({},e.on):{};for(var r in t){var o=n[r],i=t[r];n[r]=o?[].concat(o,i):i}}else;return e}function kt(e,t,n,r){t=t||{$stable:!n};for(var o=0;o<e.length;o++){var i=e[o];Array.isArray(i)?kt(i,t,n):i&&(i.proxy&&(i.fn.proxy=!0),t[i.key]=i.fn)}return r&&(t.$key=r),t}function wt(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"==typeof r&&r&&(e[t[n]]=t[n+1])}return e}function Ot(e,t){return"string"==typeof e?t+e:e}function xt(e){e._o=_t,e._n=h,e._s=v,e._l=ft,e._t=dt,e._q=F,e._i=D,e._m=gt,e._f=vt,e._k=yt,e._b=mt,e._v=de,e._e=fe,e._u=kt,e._g=At,e._d=wt,e._p=Ot}function Ct(e,t,n,o,i){var a,c=this,u=i.options;b(o,"_uid")?(a=Object.create(o))._original=o:(a=o,o=o._original);var l=s(u._compiled),p=!l;this.data=e,this.props=t,this.children=n,this.parent=o,this.listeners=e.on||r,this.injections=at(u.inject,o),this.slots=function(){return c.$slots||ut(e.scopedSlots,c.$slots=st(n,o)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return ut(e.scopedSlots,this.slots())}}),l&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=ut(e.scopedSlots,this.$slots)),u._scopeId?this._c=function(e,t,n,r){var i=Mt(a,e,t,n,r,p);return i&&!Array.isArray(i)&&(i.fnScopeId=u._scopeId,i.fnContext=o),i}:this._c=function(e,t,n,r){return Mt(a,e,t,n,r,p)}}function St(e,t,n,r,o){var i=ve(e);return i.fnContext=n,i.fnOptions=r,t.slot&&((i.data||(i.data={})).slot=t.slot),i}function jt(e,t){for(var n in t)e[k(n)]=t[n]}xt(Ct.prototype);var Et={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;Et.prepatch(n,n)}else{(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;a(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new e.componentOptions.Ctor(n)}(e,Ut)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,o,i){var a=o.data.scopedSlots,s=e.$scopedSlots,c=!!(a&&!a.$stable||s!==r&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),u=!!(i||e.$options._renderChildren||c);e.$options._parentVnode=o,e.$vnode=o,e._vnode&&(e._vnode.parent=o);if(e.$options._renderChildren=i,e.$attrs=o.data.attrs||r,e.$listeners=n||r,t&&e.$options.props){_e(!1);for(var l=e._props,p=e.$options._propKeys||[],f=0;f<p.length;f++){var d=p[f],v=e.$options.props;l[d]=Fe(d,v,t,e)}_e(!0),e.$options.propsData=t}e._$updateProperties&&e._$updateProperties(e),n=n||r;var h=e.$options._parentListeners;e.$options._parentListeners=n,Ht(e,n,h),u&&(e.$slots=st(i,o.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,r=e.componentInstance;r._isMounted||(Wt(r,"onServiceCreated"),Wt(r,"onServiceAttached"),r._isMounted=!0,Wt(r,"mounted")),e.data.keepAlive&&(n._isMounted?((t=r)._inactive=!1,Qt.push(t)):Kt(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(n&&(t._directInactive=!0,zt(t)))return;if(!t._inactive){t._inactive=!0;for(var r=0;r<t.$children.length;r++)e(t.$children[r]);Wt(t,"deactivated")}}(t,!0):t.$destroy())}},Pt=Object.keys(Et);function It(e,t,n,i,c){if(!o(e)){var l=n.$options._base;if(u(e)&&(e=l.extend(e)),"function"==typeof e){var p;if(o(e.cid)&&void 0===(e=function(e,t){if(s(e.error)&&a(e.errorComp))return e.errorComp;if(a(e.resolved))return e.resolved;var n=qt;n&&a(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n);if(s(e.loading)&&a(e.loadingComp))return e.loadingComp;if(n&&!a(e.owners)){var r=e.owners=[n],i=!0,c=null,l=null;n.$on("hook:destroyed",function(){return g(r,n)});var p=function(e){for(var t=0,n=r.length;t<n;t++)r[t].$forceUpdate();e&&(r.length=0,null!==c&&(clearTimeout(c),c=null),null!==l&&(clearTimeout(l),l=null))},f=T(function(n){e.resolved=Lt(n,t),i?r.length=0:p(!0)}),v=T(function(t){a(e.errorComp)&&(e.error=!0,p(!0))}),h=e(f,v);return u(h)&&(d(h)?o(e.resolved)&&h.then(f,v):d(h.component)&&(h.component.then(f,v),a(h.error)&&(e.errorComp=Lt(h.error,t)),a(h.loading)&&(e.loadingComp=Lt(h.loading,t),0===h.delay?e.loading=!0:c=setTimeout(function(){c=null,o(e.resolved)&&o(e.error)&&(e.loading=!0,p(!1))},h.delay||200)),a(h.timeout)&&(l=setTimeout(function(){l=null,o(e.resolved)&&v(null)},h.timeout)))),i=!1,e.loading?e.loadingComp:e.resolved}}(p=e,l)))return function(e,t,n,r,o){var i=fe();return i.asyncFactory=e,i.asyncMeta={data:t,context:n,children:r,tag:o},i}(p,t,n,i,c);t=t||{},hn(e),a(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var o=t.on||(t.on={}),i=o[r],s=t.model.callback;a(i)?(Array.isArray(i)?-1===i.indexOf(s):i!==s)&&(o[r]=[s].concat(i)):o[r]=s}(e.options,t);var f=function(e,t,n,r){var i=t.options.props;if(o(i))return nt(e,t,{},r);var s={},c=e.attrs,u=e.props;if(a(c)||a(u))for(var l in i){var p=x(l);rt(s,u,l,p,!0)||rt(s,c,l,p,!1)}return nt(e,t,s,r)}(t,e,0,n);if(s(e.options.functional))return function(e,t,n,o,i){var s=e.options,c={},u=s.props;if(a(u))for(var l in u)c[l]=Fe(l,u,t||r);else a(n.attrs)&&jt(c,n.attrs),a(n.props)&&jt(c,n.props);var p=new Ct(n,c,i,o,e),f=s.render.call(null,p._c,p);if(f instanceof le)return St(f,n,p.parent,s);if(Array.isArray(f)){for(var d=ot(f)||[],v=new Array(d.length),h=0;h<d.length;h++)v[h]=St(d[h],n,p.parent,s);return v}}(e,f,t,n,i);var v=t.on;if(t.on=t.nativeOn,s(e.options.abstract)){var h=t.slot;t={},h&&(t.slot=h)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<Pt.length;n++){var r=Pt[n],o=t[r],i=Et[r];o===i||o&&o._merged||(t[r]=o?Ft(i,o):i)}}(t);var y=e.options.name||c;return new le("vue-component-"+e.cid+(y?"-"+y:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:f,listeners:v,tag:c,children:i},p)}}}function Ft(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}var Dt=1,Tt=2;function Mt(e,t,n,r,i,l){return(Array.isArray(n)||c(n))&&(i=r,r=n,n=void 0),s(l)&&(i=Tt),function(e,t,n,r,i){if(a(n)&&a(n.__ob__))return fe();a(n)&&a(n.is)&&(t=n.is);if(!t)return fe();Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);i===Tt?r=ot(r):i===Dt&&(r=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(r));var c,l;if("string"==typeof t){var p;l=e.$vnode&&e.$vnode.ns||L.getTagNamespace(t),c=L.isReservedTag(t)?new le(L.parsePlatformTagName(t),n,r,void 0,void 0,e):n&&n.pre||!a(p=Ie(e.$options,"components",t))?new le(t,n,r,void 0,void 0,e):It(p,n,e,r,t)}else c=It(t,n,e,r);return Array.isArray(c)?c:a(c)?(a(l)&&function e(t,n,r){t.ns=n;"foreignObject"===t.tag&&(n=void 0,r=!0);if(a(t.children))for(var i=0,c=t.children.length;i<c;i++){var u=t.children[i];a(u.tag)&&(o(u.ns)||s(r)&&"svg"!==u.tag)&&e(u,n,r)}}(c,l),a(n)&&function(e){u(e.style)&&Ge(e.style);u(e.class)&&Ge(e.class)}(n),c):fe()}(e,t,n,r,i)}var Nt,qt=null;function Lt(e,t){return(e.__esModule||oe&&"Module"===e[Symbol.toStringTag])&&(e=e.default),u(e)?t.extend(e):e}function Rt(e,t){Nt.$on(e,t)}function Vt(e,t){Nt.$off(e,t)}function Bt(e,t){var n=Nt;return function r(){null!==t.apply(null,arguments)&&n.$off(e,r)}}function Ht(e,t,n){Nt=e,et(t,n||{},Rt,Vt,Bt,e),Nt=void 0}var Ut=null;function zt(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Kt(e,t){if(t){if(e._directInactive=!1,zt(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Kt(e.$children[n]);Wt(e,"activated")}}function Wt(e,t){ce();var n=e.$options[t],r=t+" hook";if(n)for(var o=0,i=n.length;o<i;o++)qe(n[o],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),ue()}var Jt=[],Qt=[],Xt={},Gt=!1,Zt=!1,Yt=0;var en=Date.now;if(U&&!J){var tn=window.performance;tn&&"function"==typeof tn.now&&en()>t.createEvent("Event").timeStamp&&(en=function(){return tn.now()})}function nn(){var e,t;for(en(),Zt=!0,Jt.sort(function(e,t){return e.id-t.id}),Yt=0;Yt<Jt.length;Yt++)(e=Jt[Yt]).before&&e.before(),t=e.id,Xt[t]=null,e.run();var n=Qt.slice(),r=Jt.slice();Yt=Jt.length=Qt.length=0,Xt={},Gt=Zt=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Kt(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Wt(r,"updated")}}(r),te&&L.devtools&&te.emit("flush")}var rn=0,on=function(e,t,n,r,o){this.vm=e,o&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++rn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new re,this.newDepIds=new re,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!V.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=E)),this.value=this.lazy?void 0:this.get()};on.prototype.get=function(){var e;ce(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;Ne(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Ge(e),ue(),this.cleanupDeps()}return e},on.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},on.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},on.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==Xt[t]){if(Xt[t]=!0,Zt){for(var n=Jt.length-1;n>Yt&&Jt[n].id>e.id;)n--;Jt.splice(n+1,0,e)}else Jt.push(e);Gt||(Gt=!0,Qe(nn))}}(this)},on.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||u(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Ne(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},on.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},on.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},on.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var an={enumerable:!0,configurable:!0,get:E,set:E};function sn(e,t,n){an.get=function(){return this[t][n]},an.set=function(e){this[t][n]=e},Object.defineProperty(e,n,an)}function cn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[];e.$parent&&_e(!1);var i=function(i){o.push(i);var a=Fe(i,t,n,e);Ae(r,i,a),i in e||sn(e,"_props",i)};for(var a in t)i(a);_e(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?E:C(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;p(t=e._data="function"==typeof t?function(e,t){ce();try{return e.call(t,t)}catch(e){return Ne(e,t,"data()"),{}}finally{ue()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);for(;o--;){var i=n[o];r&&b(r,i)||(a=void 0,36!==(a=(i+"").charCodeAt(0))&&95!==a&&sn(e,"_data",i))}var a;$e(t,!0)}(e):$e(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=ee();for(var o in t){var i=t[o],a="function"==typeof i?i:i.get;r||(n[o]=new on(e,a||E,E,un)),o in e||ln(e,o,i)}}(e,t.computed),t.watch&&t.watch!==Z&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)dn(e,n,r[o]);else dn(e,n,r)}}(e,t.watch)}var un={lazy:!0};function ln(e,t,n){var r=!ee();"function"==typeof n?(an.get=r?pn(t):fn(n),an.set=E):(an.get=n.get?r&&!1!==n.cache?pn(t):fn(n.get):E,an.set=n.set||E),Object.defineProperty(e,t,an)}function pn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),se.SharedObject.target&&t.depend(),t.value}}function fn(e){return function(){return e.call(this,this)}}function dn(e,t,n,r){return p(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}var vn=0;function hn(e){var t=e.options;if(e.super){var n=hn(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var o in n)n[o]!==r[o]&&(t||(t={}),t[o]=n[o]);return t}(e);r&&j(e.extendOptions,r),(t=e.options=Pe(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function yn(e){this._init(e)}function mn(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];var i=e.name||n.options.name,a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=Pe(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)sn(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)ln(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,N.forEach(function(e){a[e]=n[e]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=j({},a.options),o[r]=a,a}}function gn(e){return e&&(e.Ctor.options.name||e.tag)}function _n(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===l.call(n)&&e.test(t));var n}function bn(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a=n[i];if(a){var s=gn(a.componentOptions);s&&!t(s)&&$n(n,i,r,o)}}}function $n(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,g(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=vn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Pe(hn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Ht(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,o=n&&n.context;e.$slots=st(t._renderChildren,o),e.$scopedSlots=r,e._c=function(t,n,r,o){return Mt(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return Mt(e,t,n,r,o,!0)};var i=n&&n.data;Ae(e,"$attrs",i&&i.attrs||r,null,!0),Ae(e,"$listeners",t._parentListeners||r,null,!0)}(t),Wt(t,"beforeCreate"),"mp-toutiao"!==t.mpHost&&function(e){var t=at(e.$options.inject,e);t&&(_e(!1),Object.keys(t).forEach(function(n){Ae(e,n,t[n])}),_e(!0))}(t),cn(t),"mp-toutiao"!==t.mpHost&&function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),"mp-toutiao"!==t.mpHost&&Wt(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(yn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=ke,e.prototype.$delete=we,e.prototype.$watch=function(e,t,n){if(p(t))return dn(this,e,t,n);(n=n||{}).user=!0;var r=new on(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){Ne(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(yn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var o=0,i=e.length;o<i;o++)r.$on(e[o],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,o=e.length;r<o;r++)n.$off(e[r],t);return n}var i,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((i=a[s])===t||i.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this._events[e];if(t){t=t.length>1?S(t):t;for(var n=S(arguments,1),r='event handler for "'+e+'"',o=0,i=t.length;o<i;o++)qe(t[o],this,n,this,r)}return this}}(yn),function(e){e.prototype._update=function(e,t){var n=this,r=n.$el,o=n._vnode,i=function(e){var t=Ut;return Ut=e,function(){Ut=t}}(n);n._vnode=e,n.$el=o?n.__patch__(o,e):n.__patch__(n.$el,e,t,!1),i(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Wt(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||g(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Wt(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(yn),function(e){xt(e.prototype),e.prototype.$nextTick=function(e){return Qe(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,o=n._parentVnode;o&&(t.$scopedSlots=ut(o.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=o;try{qt=t,e=r.call(t._renderProxy,t.$createElement)}catch(n){Ne(n,t,"render"),e=t._vnode}finally{qt=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof le||(e=fe()),e.parent=o,e}}(yn);var An=[String,RegExp,Array],kn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:An,exclude:An,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)$n(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){bn(e,function(e){return _n(t,e)})}),this.$watch("exclude",function(t){bn(e,function(e){return!_n(t,e)})})},render:function(){var e=this.$slots.default,t=function(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(a(n)&&(a(n.componentOptions)||(r=n).isComment&&r.asyncFactory))return n}var r}(e),n=t&&t.componentOptions;if(n){var r=gn(n),o=this.include,i=this.exclude;if(o&&(!r||!_n(o,r))||i&&r&&_n(i,r))return t;var s=this.cache,c=this.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;s[u]?(t.componentInstance=s[u].componentInstance,g(c,u),c.push(u)):(s[u]=t,c.push(u),this.max&&c.length>parseInt(this.max)&&$n(s,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return L}};Object.defineProperty(e,"config",t),e.util={warn:ie,extend:j,mergeOptions:Pe,defineReactive:Ae},e.set=ke,e.delete=we,e.nextTick=Qe,e.observable=function(e){return $e(e),e},e.options=Object.create(null),N.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,j(e.options.components,kn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=S(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Pe(this.options,e),this}}(e),mn(e),function(e){N.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&p(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(yn),Object.defineProperty(yn.prototype,"$isServer",{get:ee}),Object.defineProperty(yn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(yn,"FunctionalRenderContext",{value:Ct}),yn.version="2.6.11";function wn(e,t,r){n.setElementAttr(e,t,r)}var On=Object.freeze({namespaceMap:{},createElement:function(e){var r=t.createElement(e);return n.bindElementMethods(r),r},createElementNS:function(e,n){return t.createElement(e+":"+n)},createTextNode:function(e){return t.createTextNode(e)},createComment:function(e){return t.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){n.setElementAttr(e.parentNode,"value",t)},setAttribute:wn}),xn={create:function(e,t){Cn(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Cn(e,!0),Cn(t))},destroy:function(e){Cn(e,!0)}};function Cn(e,t){var n=e.data.ref;if(a(n)){var r=e.context,o=e.componentInstance||e.elm,i=r.$refs;t?Array.isArray(i[n])?g(i[n],o):i[n]===o&&(i[n]=void 0):e.data.refInFor?Array.isArray(i[n])?i[n].indexOf(o)<0&&i[n].push(o):i[n]=[o]:i[n]=o}}y("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),y("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0);var Sn=y("text,number,password,search,email,tel,url"),jn=new le("",{},[]),En=["create","activate","update","remove","destroy"];function Pn(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&a(e.data)===a(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,r=a(n=e.data)&&a(n=n.attrs)&&n.type,o=a(n=t.data)&&a(n=n.attrs)&&n.type;return r===o||Sn(r)&&Sn(o)}(e,t)||s(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&o(t.asyncFactory.error))}function In(e,t,n){var r,o,i={};for(r=t;r<=n;++r)a(o=e[r].key)&&(i[o]=r);return i}var Fn={create:Dn,update:Dn,destroy:function(e){Dn(e,jn)}};function Dn(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,r,o,i=e===jn,a=t===jn,s=Mn(e.data.directives,e.context),c=Mn(t.data.directives,t.context),u=[],l=[];for(n in c)r=s[n],o=c[n],r?(o.oldValue=r.value,o.oldArg=r.arg,qn(o,"update",t,e),o.def&&o.def.componentUpdated&&l.push(o)):(qn(o,"bind",t,e),o.def&&o.def.inserted&&u.push(o));if(u.length){var p=function(){for(var n=0;n<u.length;n++)qn(u[n],"inserted",t,e)};i?tt(t,"insert",p):p()}l.length&&tt(t,"postpatch",function(){for(var n=0;n<l.length;n++)qn(l[n],"componentUpdated",t,e)});if(!i)for(n in s)c[n]||qn(s[n],"unbind",e,e,a)}(e,t)}var Tn=Object.create(null);function Mn(e,t){var n,r,o=Object.create(null);if(!e)return o;for(n=0;n<e.length;n++)(r=e[n]).modifiers||(r.modifiers=Tn),o[Nn(r)]=r,r.def=Ie(t.$options,"directives",r.name);return o}function Nn(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function qn(e,t,n,r,o){var i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,r,o)}catch(r){Ne(r,n.context,"directive "+e.name+" "+t+" hook")}}var Ln=[xn,Fn];function Rn(e,t){if(e.data.attrs||t.data.attrs){var n,r,o=t.elm,i=e.data.attrs||{},a=t.data.attrs||{};for(n in a.__ob__&&(a=t.data.attrs=j({},a)),a)r=a[n],i[n]!==r&&wn(o,n,r);for(n in i)null==a[n]&&wn(o,n,"")}}var Vn={create:Rn,update:Rn};function Bn(e){for(var t=e.data,n=e,r=e;a(r.componentInstance);)(r=r.componentInstance._vnode).data&&(t=Hn(r.data,t));for(;a(n=n.parent);)n.data&&(t=Hn(t,n.data));return function(e,t){if(a(e)||a(t))return Un(e,zn(t));return""}(t.staticClass,t.class)}function Hn(e,t){return{staticClass:Un(e.staticClass,t.staticClass),class:a(e.class)?[e.class,t.class]:t.class}}function Un(e,t){return e?t?e+" "+t:e:t||""}function zn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,o=e.length;r<o;r++)a(t=zn(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):u(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var Kn=y("template,script,style,element,content,slot,link,meta,svg,view,a,div,img,image,text,span,input,switch,textarea,spinner,select,slider,slider-neighbor,indicator,canvas,list,cell,header,loading,loading-indicator,refresh,scrollable,scroller,video,web,embed,tabbar,tabheader,datepicker,timepicker,marquee,countdown",!0),Wn=(y("web,spinner,switch,video,textarea,canvas,indicator,marquee,countdown",!0),y("richtext,trisition,trisition-group",!0)),Jn=(y("embed,img,image,input,link,meta",!0),y("text,number,password,search,email,tel,url"));function Qn(e,t){var n=t.elm,r=t.data,i=e.data;if(!(o(r.staticClass)&&o(r.class)&&(o(i)||o(i.staticClass)&&o(i.class)))){var s=Bn(t),c=n._transitionClasses;a(c)&&(s=Un(s,zn(c))),s!==n._prevClass&&(wn(n,"class",s),n._prevClass=s)}}var Xn,Gn={create:Qn,update:Qn};function Zn(e,t,n,r){if(n){var o=t,i=Xn;t=function(n){var a=1===arguments.length?o(n):o.apply(null,arguments);return Yn(e,t,r,i),a}}Xn.addEventListener(e,t,r)}function Yn(e,t,n,r){(r||Xn).removeEventListener(e,t,n)}function er(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};Xn=t.elm,et(n,r,Zn,Yn,t.context),Xn=void 0}}var tr={create:er,update:er},nr=$(k);function rr(e){for(var t,n=/([\w-]*)\s*:\s*([^;]*)/g,r={};t=n.exec(e);)r[t[1]]=t[2].trim();return r}function or(e,t){if(e.data.style||t.data.style){var r,o,i=t.elm,a=e.data.style||{},s=t.data.style||{};"string"==typeof s&&(s=rr(s)),"string"==typeof a&&(a=rr(a));var c=s.__ob__;for(o in Array.isArray(s)&&(s=t.data.style=function(e){for(var t={},n=0;n<e.length;n++)e[n]&&j(t,e[n]);return t}(s)),c&&(s=t.data.style=j({},s)),a)s[o]||n.setElementStyle(i,nr(o),"");for(o in s)r=s[o],n.setElementStyle(i,nr(o),r)}}var ir={create:function(e,t){if(t.data.staticStyle){var r=t.elm,o=t.data.staticStyle;for(var i in o)o[i]&&n.setElementStyle(r,nr(i),o[i]);or(e,t)}else or(e,t)},update:or};function ar(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&j(t,sr(e.name||"v")),j(t,e),t}return"string"==typeof e?sr(e):void 0}}var sr=$(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}});U&&!Q&&(void 0===window.ontransitionend&&window.onwebkittransitionend,void 0===window.onanimationend&&window.onwebkitanimationend);U&&(window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout);function cr(e,t){var n=t.elm;n._leaveCb&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=ar(t.data.transition);if(r&&!n._enterCb){for(var o=r.enterClass,i=r.enterToClass,a=r.enterActiveClass,s=r.appearClass,c=r.appearToClass,u=r.appearActiveClass,l=r.beforeEnter,p=r.enter,f=r.afterEnter,d=r.enterCancelled,v=r.beforeAppear,h=r.appear,y=r.afterAppear,m=r.appearCancelled,g=Ut,_=Ut.$vnode;_&&_.parent;)g=(_=_.parent).context;var b=!g._isMounted||!t.isRootInsert;if(!b||h||""===h){var $=b?s:o,A=b?c:i,k=b?u:a,w=b&&v||l,O=b&&"function"==typeof h?h:p,x=b&&y||f,C=b&&m||d,S=O&&(O._length||O.length)>1,P=t.context.$options.style||{},I=P[$],F=P["@TRANSITION"]&&P["@TRANSITION"][k]||{},D=function(e,t,n,r,o,i){var a={},s=t[n],c=t[r],u=t[o];if(s)for(var l in s)a[l]=e.style[l];if(u)for(var p in u)0!==p.indexOf("transition")&&(a[p]=u[p]);c&&j(a,c);return a}(n,P,$,A,k,t.context),M=Object.keys(D).length>0,N=n._enterCb=T(function(){N.cancelled?C&&C(n):x&&x(n),n._enterCb=null});if(setTimeout(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];(r&&r.context===t.context&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),O&&O(n,N),M)?t.context.$requireQuickappModule("animation").transition(n.ref,{styles:D,duration:F.duration||0,delay:F.delay||0,timingFunction:F.timingFunction||"linear"},S?E:N):S||N()},16),w&&w(n),I)for(var q in I)n.setStyle(q,I[q]);M||S||N()}}}function ur(e,t){if(!o(e.data.domProps)||!o(t.data.domProps)){var n,r,i=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in a(c.__ob__)&&(c=t.data.domProps=j({},c)),s)o(c[n])&&wn(i,n,"");for(n in c){if(r=c[n],"value"===n)wn(i,n,o(r)?"":String(r));else wn(i,n,r)}}}var lr=function(e){var t,n,r={},i=e.modules,u=e.nodeOps;for(t=0;t<En.length;++t)for(r[En[t]]=[],n=0;n<i.length;++n)a(i[n][En[t]])&&r[En[t]].push(i[n][En[t]]);function l(e){var t=u.parentNode(e);a(t)&&u.removeChild(t,e)}function p(e,t,n,o,i,c,l){if(a(e.elm)&&a(c)&&(e=c[l]=ve(e)),e.isRootInsert=!i,!function(e,t,n,o){var i=e.data;if(a(i)){var c=a(e.componentInstance)&&i.keepAlive;if(a(i=i.hook)&&a(i=i.init)&&i(e,!1),a(e.componentInstance))return f(e,t),d(n,e.elm,o),s(c)&&function(e,t,n,o){for(var i,s=e;s.componentInstance;)if(s=s.componentInstance._vnode,a(i=s.data)&&a(i=i.transition)){for(i=0;i<r.activate.length;++i)r.activate[i](jn,s);t.push(s);break}d(n,e.elm,o)}(e,t,n,o),!0}}(e,t,n,o)){var p=e.data,h=e.children,y=e.tag;a(y)?(e.elm=e.ns?u.createElementNS(e.ns,y):u.createElement(y,e),g(e),v(e,h,t),a(p)&&m(e,t),d(n,e.elm,o)):s(e.isComment)?(e.elm=u.createComment(e.text),d(n,e.elm,o)):(e.elm=u.createTextNode(e.text),d(n,e.elm,o))}}function f(e,t){a(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,h(e)?(m(e,t),g(e)):(Cn(e),t.push(e))}function d(e,t,n){a(e)&&(a(n)?u.parentNode(n)===e&&u.insertBefore(e,t,n):u.appendChild(e,t))}function v(e,t,n){if(Array.isArray(t))for(var r=0;r<t.length;++r)p(t[r],n,e.elm,null,!0,t,r);else c(e.text)&&u.appendChild(e.elm,u.createTextNode(String(e.text)))}function h(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return a(e.tag)}function m(e,n){for(var o=0;o<r.create.length;++o)r.create[o](jn,e);a(t=e.data.hook)&&(a(t.create)&&t.create(jn,e),a(t.insert)&&n.push(e))}function g(e){var t;if(a(t=e.fnScopeId))u.setStyleScope(e.elm,t);else for(var n=e;n;)a(t=n.context)&&a(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t),n=n.parent;a(t=Ut)&&t!==e.context&&t!==e.fnContext&&a(t=t.$options._scopeId)&&u.setStyleScope(e.elm,t)}function _(e,t,n,r,o,i){for(;r<=o;++r)p(n[r],i,e,t,!1,n,r)}function b(e){var t,n,o=e.data;if(a(o))for(a(t=o.hook)&&a(t=t.destroy)&&t(e),t=0;t<r.destroy.length;++t)r.destroy[t](e);if(a(t=e.children))for(n=0;n<e.children.length;++n)b(e.children[n])}function $(e,t,n){for(;t<=n;++t){var r=e[t];a(r)&&(a(r.tag)?(A(r),b(r)):l(r.elm))}}function A(e,t){if(a(t)||a(e.data)){var n,o=r.remove.length+1;for(a(t)?t.listeners+=o:t=function(e,t){function n(){0==--n.listeners&&l(e)}return n.listeners=t,n}(e.elm,o),a(n=e.componentInstance)&&a(n=n._vnode)&&a(n.data)&&A(n,t),n=0;n<r.remove.length;++n)r.remove[n](e,t);a(n=e.data.hook)&&a(n=n.remove)?n(e,t):t()}else l(e.elm)}function k(e,t,n,r){for(var o=n;o<r;o++){var i=t[o];if(a(i)&&Pn(e,i))return o}}function w(e,t,n,i,c,l){if(e!==t){a(t.elm)&&a(i)&&(t=i[c]=ve(t));var f=t.elm=e.elm;if(s(e.isAsyncPlaceholder))a(t.asyncFactory.resolved)?C(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(s(t.isStatic)&&s(e.isStatic)&&t.key===e.key&&(s(t.isCloned)||s(t.isOnce)))t.componentInstance=e.componentInstance;else{var d,v=t.data;a(v)&&a(d=v.hook)&&a(d=d.prepatch)&&d(e,t);var y=e.children,m=t.children;if(a(v)&&h(t)){for(d=0;d<r.update.length;++d)r.update[d](e,t);a(d=v.hook)&&a(d=d.update)&&d(e,t)}o(t.text)?a(y)&&a(m)?y!==m&&function(e,t,n,r,i){for(var s,c,l,f=0,d=0,v=t.length-1,h=t[0],y=t[v],m=n.length-1,g=n[0],b=n[m],A=!i;f<=v&&d<=m;)o(h)?h=t[++f]:o(y)?y=t[--v]:Pn(h,g)?(w(h,g,r,n,d),h=t[++f],g=n[++d]):Pn(y,b)?(w(y,b,r,n,m),y=t[--v],b=n[--m]):Pn(h,b)?(w(h,b,r,n,m),A&&u.insertBefore(e,h.elm,u.nextSibling(y.elm)),h=t[++f],b=n[--m]):Pn(y,g)?(w(y,g,r,n,d),A&&u.insertBefore(e,y.elm,h.elm),y=t[--v],g=n[++d]):(o(s)&&(s=In(t,f,v)),o(c=a(g.key)?s[g.key]:k(g,t,f,v))?p(g,r,e,h.elm,!1,n,d):Pn(l=t[c],g)?(w(l,g,r,n,d),t[c]=void 0,A&&u.insertBefore(e,l.elm,h.elm)):p(g,r,e,h.elm,!1,n,d),g=n[++d]);f>v?_(e,o(n[m+1])?null:n[m+1].elm,n,d,m,r):d>m&&$(t,f,v)}(f,y,m,n,l):a(m)?(a(e.text)&&u.setTextContent(f,""),_(f,null,m,0,m.length-1,n)):a(y)?$(y,0,y.length-1):a(e.text)&&u.setTextContent(f,""):e.text!==t.text&&u.setTextContent(f,t.text),a(v)&&a(d=v.hook)&&a(d=d.postpatch)&&d(e,t)}}}function O(e,t,n){if(s(n)&&a(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var x=y("attrs,class,staticClass,staticStyle,key");function C(e,t,n,r){var o,i=t.tag,c=t.data,u=t.children;if(r=r||c&&c.pre,t.elm=e,s(t.isComment)&&a(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(a(c)&&(a(o=c.hook)&&a(o=o.init)&&o(t,!0),a(o=t.componentInstance)))return f(t,n),!0;if(a(i)){if(a(u))if(e.hasChildNodes())if(a(o=c)&&a(o=o.domProps)&&a(o=o.innerHTML)){if(o!==e.innerHTML)return!1}else{for(var l=!0,p=e.firstChild,d=0;d<u.length;d++){if(!p||!C(p,u[d],n,r)){l=!1;break}p=p.nextSibling}if(!l||p)return!1}else v(t,u,n);if(a(c)){var h=!1;for(var y in c)if(!x(y)){h=!0,m(t,n);break}!h&&c.class&&Ge(c.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,i){if(!o(t)){var c,l=!1,f=[];if(o(e))l=!0,p(t,f);else{var d=a(e.nodeType);if(!d&&Pn(e,t))w(e,t,f,null,null,i);else{if(d){if(1===e.nodeType&&e.hasAttribute(M)&&(e.removeAttribute(M),n=!0),s(n)&&C(e,t,f))return O(t,f,!0),e;c=e,e=new le(u.tagName(c).toLowerCase(),{},[],void 0,c)}var v=e.elm,y=u.parentNode(v);if(p(t,f,v._leaveCb?null:y,u.nextSibling(v)),a(t.parent))for(var m=t.parent,g=h(t);m;){for(var _=0;_<r.destroy.length;++_)r.destroy[_](m);if(m.elm=t.elm,g){for(var A=0;A<r.create.length;++A)r.create[A](jn,m);var k=m.data.hook.insert;if(k.merged)for(var x=1;x<k.fns.length;x++)k.fns[x]()}else Cn(m);m=m.parent}a(y)?$([e],0,0):a(e.tag)&&b(e)}}return O(t,f,l),t.elm}a(e)&&b(e)}}({nodeOps:On,modules:[Vn,Gn,tr,ir,{create:ur,update:ur},{create:cr,activate:cr,remove:function(e,t){var n=e.elm;n._enterCb&&(n._enterCb.cancelled=!0,n._enterCb());var r=ar(e.data.transition);if(!r)return t();if(n._leaveCb)return;var o=r.leaveClass,i=r.leaveToClass,a=r.leaveActiveClass,s=r.beforeLeave,c=r.leave,u=r.afterLeave,l=r.leaveCancelled,p=r.delayLeave,f=c&&(c._length||c.length)>1,d=e.context.$options.style||{},v=d[o],h=d[i]||d[a],y=d["@TRANSITION"]&&d["@TRANSITION"][a]||{},m=n._leaveCb=T(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),m.cancelled?l&&l(n):(t(),u&&u(n)),n._leaveCb=null});p?p(g):g();function g(){var t=e.context.$requireQuickappModule("animation");function r(){t.transition(n.ref,{styles:h,duration:y.duration||0,delay:y.delay||0,timingFunction:y.timingFunction||"linear"},f?E:m)}m.cancelled||(e.data.show||((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),s&&s(n),v?t.transition(n.ref,{styles:v},r):r(),c&&c(n,m),h||f||m())}}}].concat(Ln),LONG_LIST_THRESHOLD:10}),pr={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?tt(n,"postpatch",function(){pr.componentUpdated(e,t,n)}):fr(e,t,n.context),e._vOptions=[].map.call(e.options,vr)):("textarea"===n.tag||Jn(e.attr.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||e.addEventListener("change",hr))},componentUpdated:function(e,t,n){if("select"===n.tag){fr(e,t,n.context);var r=e._vOptions,o=e._vOptions=[].map.call(e.options,vr);if(o.some(function(e,t){return!F(e,r[t])}))(e.multiple?t.value.some(function(e){return dr(e,o)}):t.value!==t.oldValue&&dr(t.value,o))&&yr(e,"change")}}};function fr(e,t,n){!function(e,t,n){var r,o,i=t.value,a=e.multiple;if(a&&!Array.isArray(i))return;for(var s=0,c=e.options.length;s<c;s++)if(o=e.options[s],a)r=D(i,vr(o))>-1,o.selected!==r&&(o.selected=r);else if(F(vr(o),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));a||(e.selectedIndex=-1)}(e,t)}function dr(e,t){return t.every(function(t){return!F(t,e)})}function vr(e){return"_value"in e?e._value:e.value}function hr(e){e.target.composing=!1,yr(e.target,"input")}function yr(e,n){var r=t.createEvent(n);e.dispatchEvent(r)}var mr={model:pr,show:{bind:function(e,t,r){var o=t.value,i=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display||"";n.setElementStyle(e,"display",o?i:"none")},update:function(e,t,r){var o=t.value;o!==t.oldValue&&n.setElementStyle(e,"display",o?e.__vOriginalDisplay:"none")},unbind:function(e,t,r,o,i){i||n.setElementStyle(e,"display",e.__vOriginalDisplay)}}};j(yn.options.directives,mr),j(yn.options.components,{});var gr=["public","protected","private"];yn.config.mustUseProp=function(){},yn.config.isReservedTag=Kn,yn.config.isRuntimeComponent=Wn,yn.config.isUnknownElement=function(){},yn.prototype.__patch__=lr,yn.prototype.$mount=function(e,t){var n=this.$options.type;void 0===n&&(n="component");var r=function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=fe),Wt(e,"beforeMount"),r=function(){e._update(e._render(),n)},new on(e,r,E,{before:function(){e._isMounted&&!e._isDestroyed&&Wt(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(Wt(e,"onServiceCreated"),Wt(e,"onServiceAttached"),e._isMounted=!0,Wt(e,"mounted")),e}(this,e&&function(e,t){if("object"==typeof e&&null!==e)return e;var n=t.body,r=t.createElement("div");return n.appendChild(r),r}.bind(this)(e,this.$document),t);return"page"===n&&(this._connectVm2Page&&this._connectVm2Page(),this._registerPageLifecycle&&this._registerPageLifecycle()),r},yn.prototype._initExternalData=function(){var e=yn.config.externalData;if("page"===this.$options.type&&e)if(this.$options._descriptor){var t=this._page.intent&&this._page.intent.fromExternal;for(var n in this._page.intent&&void 0!==this._page.intent.fromExternal||(t=!0),global.Env&&"trace"===global.Env.logLevel&&console.trace("### App Framework ### 页面VM中声明的权限定义："+JSON.stringify(this.$options._descriptor)),this.$options.$props&&!function(e){for(var t in e)return!1;return!0}(e)&&console.warn("### App Framework ### 页面VM中不支持props，推荐在public或protected中声明参数"),e){var r=this.$options._descriptor[n];if(r){var o=t&&gr.indexOf(r.access)>0,i=!t&&gr.indexOf(r.access)>1;o||i?console.warn("### App Framework ### 传递外部数据"+n+"在VM中声明为"+r.access+"，放弃更新"):(global.Env&&"trace"===global.Env.logLevel&&console.trace("### App Framework ### 传递外部数据"+n+"，原值为:"+JSON.stringify(this._data[n])),global.Env&&"trace"===global.Env.logLevel&&console.trace("### App Framework ### 传递外部数据"+n+"，新值为:"+JSON.stringify(e[n])),this.$options.data[n]=e[n])}else global.Env&&"trace"===global.Env.logLevel&&console.trace("### App Framework ### 传递外部数据"+n+"在VM中未声明，放弃更新")}}else(function e(t){for(var n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];if("function"==typeof Object.assign)Object.assign.apply(Object,[t].concat(n));else{var o=n.shift();for(var i in o)t[i]=o[i];n.length&&e.apply(void 0,[t].concat(n))}return t})(this.$options.data,e)},yn.prototype._mergeAccess2Data=function(e){if("function"==typeof e.data&&(e.data=e.data()),e.data&&gr.some(function(t){return e[t]}))throw new Error("页面VM对象中的属性data不可与"+gr.join(",")+"同时存在，请使用private替换data名称");e.data||(e.data={},e._descriptor={},gr.forEach(function(t){var n=typeof e[t];if("object"===n)for(var r in e.data=Object.assign(e.data,e[t]),e[t])e._descriptor[r]={access:t};else"function"===n&&console.warn("页面VM对象中的属性"+t+"的值不能是函数，请使用对象")}))};var _r=yn.prototype._init;yn.prototype._init=function(e){var t=this.constructor.options;"page"===t.type&&(this._connectLifecycle&&this._connectLifecycle(t),this._mergeAccess2Data&&this._mergeAccess2Data(t)),_r.call(this,e)},yn.prototype._connectLifecycle=function(e){var t=this;e.mounted=e.mounted||[],e.mounted=Array.isArray(e.mounted)?e.mounted:[e.mounted],e.mounted.push(function(){t._ready=!0});e.created=e.created||[],e.created=Array.isArray(e.created)?e.created:[e.created],e.created.push(function(){t._initExternalData()}),e.created.unshift(function(){var e=t.$options.onInit;e&&"function"==typeof e&&e.call(t,t._page._meta.query)})},e.Vue=yn}}(a={exports:{}},a.exports),a.exports),u=(s=c)&&s.__esModule?s.default:s,l={VueFactory:u};function p(e,t,n){return"function"==typeof global.compileAndRunScript?function(e,t,n){let r="(function (";const o=[],i=[];for(const t in e)o.push(t),i.push(e[t]);for(let e=0;e<o.length-1;++e)r+=o[e],r+=",";r+=o[o.length-1],r+=") {",r+=t,r+="} )";const a=global.compileAndRunScript(r,n);return a&&"function"==typeof a?a(...i):a}(e,t,n):function(e,t){const n=[],r=[];for(const t in e)n.push(t),r.push(e[t]);return n.push(t),new Function(...n)(...r)}(e,t)}let f,d;const v={onShow:"onShow",onHide:"onHide",onBackPress:"onBackPress",onMenuPress:"onMenuPress",onDestroy:"onDestroy",onConfigurationChanged:"onConfigurationChanged",onOrientationChange:"onOrientationChange",onRefresh:"onRefresh"},h={};let y=null;let m,g=null;function _(e,t,n,r,o){const i=function(e,t){return l.quickapp.runtime.helper.getDocumentNodeByRef(e,t)}(e.doc,t);if(i){return function(e,t,n,r){if(!e)return;const o=l.quickapp.runtime.helper.createEvent(t);if(Object.assign(o,n),global.Env&&"trace"===global.Env.logLevel&&console.trace(`### App Framework ### fireEventWrap():事件(${t})的参数：${JSON.stringify(n)}, ${JSON.stringify(r)}`),r){const t=r.attr||{};for(const n in t)l.quickapp.runtime.helper.setElementAttr(e,n,t[n],!0);const n=r.style||{};for(const t in n)l.quickapp.runtime.helper.setElementStyle(e,t,n[t],!0)}return e.dispatchEvent(o)}(i,n,r,{attr:o})}return new Error(`fireEvent: 无效element索引 "${t}"`)}function b(e){g||(g=Promise.resolve().then(()=>{e.doc.listener.updateFinish(),g=null}))}function $(e,t,n,r){const i=e.id,a=e.doc.listener,s=a.addActions;a.addActions=((...t)=>{b(e),s.apply(a,t)});const c=e.doc,f=c.createElement("div");c.documentElement.appendChild(f);const d=h[i]={instanceId:i,document:c},g=d.Vue=function(e,t,n){const r=t.page,o=t.appRequireModule,i={setElementAttr(e,t,n){l.quickapp.runtime.helper.setElementAttr(e,t,n)},setElementStyle(e,t,n){"number"==typeof n&&(n+=""),l.quickapp.runtime.helper.setElementStyle(e,t,n)},bindElementMethods(e){l.quickapp.dock.bindComponentMethods(r,e)}},a={};u(a,r.doc,i);const s=a.Vue;global.Vue=!0;const c=h[e],p=/^quickapp:/i,f=s.config.isReservedTag||function(){return!1},d=s.config.isRuntimeComponent||function(){return!1};return s.config.externalData=n,s.config.isReservedTag=function(e){return d(e),f(e)||p.test(e)},s.config.parsePlatformTagName=function(e){return e.replace(p,"")},s.prototype.$instanceId=e,s.prototype.$document=c.document,s.prototype._connectVm2Page=function(){r.vm=this},Object.defineProperty(s.prototype,"$app",{get(){if(!this._isDestroyed)return r.app}}),Object.defineProperty(s.prototype,"$page",{get(){if(this._isDestroyed)return;const e=r.app;return Object.assign({setTitleBar:function(e){r&&r.doc&&(console.log(`### App Framework ### 页面 ${r.id} 调用 setTitleBar ----`),l.quickapp.runtime.helper.updatePageTitleBar(r.doc,e))},scrollTo:function(e){r&&r.doc&&(console.log(`### App Framework ### 页面 ${r.id} 调用 scrollTo ----`),l.quickapp.runtime.helper.scrollTo(r.doc,e))},scrollBy:function(e){r&&r.doc&&(console.log(`### App Framework ### 页面 ${r.id} 调用 scrollBy ----`),l.quickapp.runtime.helper.scrollBy(r.doc,e))},exitFullscreen:function(){r&&r.doc&&(console.log(`### App Framework ### 页面 ${r.id} 调用 exitFullscreen ----`),l.quickapp.runtime.helper.exitFullscreen(r.doc))},setStatusBar:function(e){r&&r.doc&&(console.log(`### App Framework ### 页面 ${r.id} 调用 setStatusBar ----`),l.quickapp.runtime.helper.updatePageStatusBar(r.doc,e))},finish:function(){r&&r.doc&&(null===y&&(y=l.quickapp.platform.requireModule(e,"system.page")),y.finishPage(r.id))}},r&&r._meta)}}),Object.defineProperties(s.prototype,{$valid:{get:()=>!!r&&r._valid,configurable:!1},$visible:{get:()=>!!r&&r._valid&&r._visible,configurable:!1},$destroyed:{get:()=>!!r&&r.vm&&r.vm._isDestroyed,configurable:!1}}),s.prototype._registerPageLifecycle=function(){Object.keys(v).forEach(e=>{this.$on(`xlc:${e}`,(...t)=>{let n=!1;const r=this.$options[e];if(!r||"function"!=typeof r)return;const o=Array.isArray(r)?r:[r];if(o&&o.length)for(let e=0;e<o.length;e++)try{o[e].apply(this,t)&&(n=!0)}catch(e){console.error(e)}this._events[`xlc:${e}`].result=n,this._events[`xlc:${e}`].handlers=o})})},s.prototype.$requireQuickappModule=o,s.mixin({beforeCreate:function(){const e=this.$options;if(e.el){const t=e.data,n=("function"==typeof t?t():t)||{};e.data=Object.assign(n,c.data),c.app=this}this._page=r}}),s.prototype.$getConfig=function(){if(c.app instanceof s)return c.config},s}(i,{page:e},n),_=Object.assign({Vue:g,$app_define$:()=>{},$app_bootstrap$:()=>{},$app_define_wrap$:()=>{},$app_require$:t=>l.quickapp.platform.requireModule(e,o(t)),$app_evaluate$:l.quickapp.dock.makeEvaluateBuildScript(r)},r);let $;"function"==typeof m&&m(_),$="(function(global){"+($=t.toString())+"\n })(Object.create(this))";{const t=e.pageName?`${e.pageName}/${e.pageComponent}.js`:"<anonymous>";global.Env&&"trace"===global.Env.logLevel&&console.trace("### App Framework ### bundleUrl----",t),p(_,$,t)}return e.doc.listener.createFinish(),d}function A(e,t,n,...r){let o=!1;return t.vm&&t.vm._ready?(t.vm.$emit(`xlc:${e}`,n,...r),o=t.vm._events[`xlc:${e}`].result,b(t),global.Env&&"trace"===global.Env.logLevel&&console.trace(`### App Framework ### ${e} (${t.id})----`)):global.Env&&"trace"===global.Env.logLevel&&console.trace(`### App Framework ### ${e} 页面(${t.id})创建失败, 无法响应事件---- `),o}return{init:function(t){l.quickapp=t,global.process=global.process||{},global.process.env={},t.subscribe(e.initApp,e=>(function(e,t){global.Env&&"trace"===global.Env.logLevel&&console.trace(`### App Framework ### 开始初始化App(${e.id})`);const n=t=>l.quickapp.platform.requireModule(e,o(t)),r=t=>{e.$def=t,"function"==typeof d&&d(t)},i=()=>{global.Env&&"trace"===global.Env.logLevel&&console.trace(`### App Framework ### 调用App(${e.name})生命周期---- onCreate`),e.$emit("applc:onCreate")};"function"==typeof f&&f({context:l,inst:e,instRequireModule:n});const a=l.quickapp.dock.makeEvaluateBuildScript(null);let s;s=`(function(global){"use strict"; ${s=t.toString()}; \n })(Object.create(this))`,global.Env&&"trace"===global.Env.logLevel&&console.trace("### App Framework ### 开始编译代码----"),p({$app_define$:r,$app_require$:n,$app_bootstrap$:i,$app_evaluate$:a},s,"app.js")})(...e)),t.subscribe(e.initPage,e=>$(...e)),t.subscribe(e.destroyPage,e=>{!function(e){e.vm&&(e.vm.$emit("xlc:onDestroy"),e.vm.$destroy())}(...e)}),t.subscribe(e.fireEvent,e=>{const t=_(...e);return b(e[0]),t}),t.subscribe(e.callbackDone,e=>{b(e[0])}),t.subscribe(e.onShow,e=>A(v.onShow,...e)),t.subscribe(e.onHide,e=>A(v.onHide,...e)),t.subscribe(e.onBackPress,e=>A(v.onBackPress,...e)),t.subscribe(e.onMenuPress,e=>(A(v.onMenuPress,...e),function(e){let t=!1;if(e.vm&&e.vm._ready){const n=e.vm._events,r=n&&n["xlc:onMenuPress"]&&n["xlc:onMenuPress"].handlers;r&&r.length&&(t=!0)}return t}(...e))),t.subscribe(e.onConfigurationChanged,e=>A(v.onConfigurationChanged,...e)),t.subscribe(e.onOrientationChange,e=>A(v.onOrientationChange,...e)),t.subscribe(e.onRefresh,e=>A(v.onRefresh,...e))},onInitApp:function(e){f=e},onDefineApp:function(e){d=e},onInitPage:function(e){m=e}}}();
!function(){"use strict";class e{constructor(){this._events=Object.create(null)}on(e,t){const n=this;if(Array.isArray(e))for(let s=0,r=e.length;s<r;s++)n.on(e[s],t);else(n._events[e]||(n._events[e]=[])).push(t);return n}emit(e,...t){const n=this,s=n._events[e];if(s){const e=s.slice(0);for(let s=0,r=e.length;s<r;s++)e[s].apply(n,t)}return n}}const t=Object.getPrototypeOf(global)||global;t.UniServiceJSBridge=new e,t.UniViewJSBridge=new e}();
dsl.onInitApp((function({inst:e,context:t,instRequireModule:r}){t.quickapp.dock.makeEvaluateBuildScript||(t.quickapp.dock.makeEvaluateBuildScript=e=>e);const a=r;!function(){"use strict";var r=["base64ToArrayBuffer","arrayBufferToBase64","addInterceptor","removeInterceptor","request","uploadFile","downloadFile","connectSocket","onSocketOpen","onSocketError","sendSocketMessage","onSocketMessage","closeSocket","onSocketClose","getUpdateManager","navigateTo","redirectTo","reLaunch","switchTab","navigateBack","setStorage","setStorageSync","getStorage","getStorageSync","getStorageInfo","getStorageInfoSync","removeStorage","removeStorageSync","clearStorage","clearStorageSync","getLocation","chooseLocation","openLocation","createMapContext","chooseImage","chooseFile","previewImage","getImageInfo","saveImageToPhotosAlbum","compressImage","getRecorderManager","getBackgroundAudioManager","createAudioContext","createInnerAudioContext","chooseVideo","saveVideoToPhotosAlbum","createVideoContext","createCameraContext","createLivePlayerContext","createLivePusherContext","getSystemInfo","getSystemInfoSync","canIUse","onMemoryWarning","getNetworkType","onNetworkStatusChange","offNetworkStatusChange","onAccelerometerChange","offAccelerometerChange","startAccelerometer","stopAccelerometer","onCompassChange","offCompassChange","startCompass","stopCompass","onGyroscopeChange","startGyroscope","stopGyroscope","makePhoneCall","scanCode","setClipboardData","getClipboardData","setScreenBrightness","getScreenBrightness","setKeepScreenOn","onUserCaptureScreen","vibrateLong","vibrateShort","addPhoneContact","openBluetoothAdapter","startBluetoothDevicesDiscovery","onBluetoothDeviceFound","stopBluetoothDevicesDiscovery","onBluetoothAdapterStateChange","getConnectedBluetoothDevices","getBluetoothDevices","getBluetoothAdapterState","closeBluetoothAdapter","writeBLECharacteristicValue","readBLECharacteristicValue","onBLEConnectionStateChange","onBLECharacteristicValueChange","notifyBLECharacteristicValueChange","getBLEDeviceServices","getBLEDeviceCharacteristics","createBLEConnection","closeBLEConnection","setBLEMTU","getBLEDeviceRSSI","onBeaconServiceChange","onBeaconUpdate","getBeacons","startBeaconDiscovery","stopBeaconDiscovery","checkIsSupportSoterAuthentication","checkIsSoterEnrolledInDevice","startSoterAuthentication","onThemeChange","onUIStyleChange","hideKeyboard","onKeyboardHeightChange","offKeyboardHeightChange","getSelectedTextRange","showToast","hideToast","showLoading","hideLoading","showModal","showActionSheet","setNavigationBarTitle","setNavigationBarColor","showNavigationBarLoading","hideNavigationBarLoading","setTabBarItem","setTabBarStyle","hideTabBar","showTabBar","setTabBarBadge","removeTabBarBadge","showTabBarRedDot","hideTabBarRedDot","onTabBarMidButtonTap","setBackgroundColor","setBackgroundTextStyle","createAnimation","pageScrollTo","onWindowResize","offWindowResize","loadFontFace","startPullDownRefresh","stopPullDownRefresh","createSelectorQuery","createIntersectionObserver","createMediaQueryObserver","getMenuButtonBoundingClientRect","showTopWindow","showLeftWindow","showRightWindow","hideTopWindow","hideLeftWindow","hideRightWindow","getTopWindowStyle","getLeftWindowStyle","getRightWindowStyle","setTopWindowStyle","setLeftWindowStyle","setRightWindowStyle","$emit","$on","$once","$off","saveFile","getSavedFileList","getSavedFileInfo","removeSavedFile","getFileInfo","openDocument","getFileSystemManager","createOffscreenCanvas","createCanvasContext","canvasToTempFilePath","canvasPutImageData","canvasGetImageData","getProvider","login","checkSession","getUserInfo","preLogin","closeAuthView","share","shareWithSystem","showShareMenu","hideShareMenu","requestPayment","subscribePush","unsubscribePush","onPush","offPush","requireNativePlugin","upx2px","restoreGlobal","getSubNVueById","getCurrentSubNVue","setPageMeta","onNativeEventReceive","sendNativeEvent","preloadPage","unPreloadPage","loadSubPackage","createRewardedVideoAd","createFullScreenVideoAd"];let o=!1;try{const e={};Object.defineProperty(e,"passive",{get(){o=!0}}),window.addEventListener("test-passive",null,e)}catch(e){}const n=Object.prototype.toString,i=Object.prototype.hasOwnProperty;function s(e){return"function"==typeof e}function c(e){return"[object Object]"===n.call(e)}function u(e,t){return i.call(e,t)}function l(e){return n.call(e).slice(8,-1)}const d=decodeURIComponent;function p(e){const t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(e=>{const r=e.replace(/\+/g," ").split("="),a=d(r.shift()),o=r.length>0?d(r.join("=")):null;void 0===t[a]?t[a]=o:Array.isArray(t[a])?t[a].push(o):t[a]=[t[a],o]}),t):t}function f(e){return function(){try{return e.apply(e,arguments)}catch(e){console.error(e)}}}function g(e){return function(){try{return e.apply(e,arguments)}catch(e){console.error(e)}}}const y=["invoke","success","fail","complete","returnValue"],h={},b={};function m(e,t){Object.keys(t).forEach(r=>{-1!==y.indexOf(r)&&s(t[r])&&(e[r]=function(e,t){const r=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return r?function(e){const t=[];for(let r=0;r<e.length;r++)-1===t.indexOf(e[r])&&t.push(e[r]);return t}(r):r}(e[r],t[r]))})}function v(e,t){e&&t&&Object.keys(t).forEach(r=>{-1!==y.indexOf(r)&&s(t[r])&&function(e,t){const r=e.indexOf(t);-1!==r&&e.splice(r,1)}(e[r],t[r])})}function S(e){return function(t){return e(t)||t}}function _(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}function T(e,t){let r=!1;for(let a=0;a<e.length;a++){const o=e[a];if(r)r=Promise.resolve(S(o));else{const e=o(t);if(_(e)&&(r=Promise.resolve(e)),!1===e)return{then(){}}}}return r||{then:e=>e(t)}}function C(e,t={}){return["success","fail","complete"].forEach(r=>{if(Array.isArray(e[r])){const a=t[r];t[r]=function(t){T(e[r],t).then(e=>s(a)&&a(e)||e)}}}),t}function k(e,t){const r=[];Array.isArray(h.returnValue)&&r.push(...h.returnValue);const a=b[e];return a&&Array.isArray(a.returnValue)&&r.push(...a.returnValue),r.forEach(e=>{t=e(t)||t}),t}function O(e,t,r,...a){const o=function(e){const t=Object.create(null);Object.keys(h).forEach(e=>{"returnValue"!==e&&(t[e]=h[e].slice())});const r=b[e];return r&&Object.keys(r).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(r[e]))}),t}(e);if(o&&Object.keys(o).length){if(Array.isArray(o.invoke)){return T(o.invoke,r).then(e=>t(C(o,e),...a))}return t(C(o,r),...a)}return t(r,...a)}const j={returnValue:e=>_(e)?e.then(e=>e[1]).catch(e=>e[0]):e},B=/^\$|Window$|WindowStyle$|sendNativeEvent|restoreGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64/,A=/^create|Manager$/,q=["createBLEConnection"],w=["request","downloadFile","uploadFile","connectSocket"],x=["createBLEConnection"],I=/^on|^off/;function E(e){return B.test(e)&&-1===x.indexOf(e)}function P(e){return I.test(e)&&"onPush"!==e}function N(e){return!(function(e){return A.test(e)&&-1===q.indexOf(e)}(e)||E(e)||P(e))}Promise.prototype.finally||(Promise.prototype.finally=function(e){const t=this.constructor;return this.then(r=>t.resolve(e()).then(()=>r),r=>t.resolve(e()).then(()=>{throw r}))});const M=[{name:"base64",type:String,required:!0}],D=[{name:"arrayBuffer",type:[ArrayBuffer,Uint8Array],required:!0}];var L=Object.freeze({__proto__:null,base64ToArrayBuffer:M,arrayBufferToBase64:D});const R=[{name:"schema",type:String,required:!0}];var z=Object.freeze({__proto__:null,canIUse:R});const F=[{name:"event",type:[String,Array],required:!0},{name:"callback",type:Function,required:!0}],U=F,$=[{name:"event",type:[String,Array]},{name:"callback",type:Function}],V=[{name:"event",type:String,required:!0}];var W=Object.freeze({__proto__:null,$on:F,$once:U,$off:$,$emit:V});const G=[{name:"method",type:[String,Object],required:!0}],H=G;var J=Object.freeze({__proto__:null,addInterceptor:G,removeInterceptor:H});const K=[{name:"upx",type:[Number,String],required:!0}];var Y=Object.freeze({__proto__:null,upx2px:K});function Q(e){return function(t,r){t&&(r[e]=Math.round(t))}}const X={canvasId:{type:String,required:!0},x:{type:Number,required:!0,validator:Q("x")},y:{type:Number,required:!0,validator:Q("y")},width:{type:Number,required:!0,validator:Q("width")},height:{type:Number,required:!0,validator:Q("height")}},Z={canvasId:{type:String,required:!0},data:{type:Uint8ClampedArray,required:!0},x:{type:Number,required:!0,validator:Q("x")},y:{type:Number,required:!0,validator:Q("y")},width:{type:Number,required:!0,validator:Q("width")},height:{type:Number,validator:Q("height")}},ee={PNG:"png",JPG:"jpg",JPEG:"jpg"},te={x:{type:Number,default:0,validator:Q("x")},y:{type:Number,default:0,validator:Q("y")},width:{type:Number,validator:Q("width")},height:{type:Number,validator:Q("height")},destWidth:{type:Number,validator:Q("destWidth")},destHeight:{type:Number,validator:Q("destHeight")},canvasId:{type:String,required:!0},fileType:{type:String,validator(e,t){e=(e||"").toUpperCase(),t.fileType=e in ee?ee[e]:ee.PNG}},quality:{type:Number,validator(e,t){e=Math.floor(e),t.quality=e>0&&e<1?e:1}}},re={canvasId:{type:String,required:!0},actions:{type:Array,required:!0},reserve:{type:Boolean,default:!1}};var ae=Object.freeze({__proto__:null,canvasGetImageData:X,canvasPutImageData:Z,canvasToTempFilePath:te,drawCanvas:re});const oe=[{name:"id",type:String,required:!0}],ne=oe,ie=oe,se=oe,ce=[{name:"canvasId",type:String,required:!0},{name:"componentInstance",type:Object}];var ue=Object.freeze({__proto__:null,createAudioContext:ne,createVideoContext:ie,createMapContext:se,createCanvasContext:ce});const le={phoneNumber:{type:String,required:!0,validator(e){if(!e)return"makePhoneCall:fail parameter error: parameter.phoneNumber should not be empty String;"}}};var de=Object.freeze({__proto__:null,makePhoneCall:le});const pe={onlyFromCamera:{type:Boolean},scanType:{type:Array},autoDecodeCharSet:{type:Boolean}};var fe=Object.freeze({__proto__:null,scanCode:pe});const ge={beforeSuccess(){uni.showToast({title:"内容已复制",icon:"success",mask:!1})}};var ye=Object.freeze({__proto__:null,setClipboardData:ge});function he(e,t){if(t){if(0===t.indexOf("/"))return t}else{if(0===(t=e).indexOf("/"))return t;const r=getCurrentPages();e=r.length?r[r.length-1].$page.route:""}if(0===t.indexOf("./"))return he(e,t.substr(2));const r=t.split("/"),a=r.length;let o=0;for(;o<a&&".."===r[o];o++);r.splice(0,o),t=r.join("/");const n=e.length>0?e.split("/"):[];return n.splice(n.length-o-1,o+1),"/"+n.concat(r).join("/")}const be=/^([a-z-]+:)?\/\//i,me=/^data:.*,.*/;function ve(e){const t=__uniConfig.router.base;return t?"/"!==t&&0===("/"+e).indexOf(t)?"/"+e:t+e:e}function Se(e){if("./"===__uniConfig.router.base&&(e=e.replace(/^\.\/static\//,"/static/")),0===e.indexOf("/")){if(0!==e.indexOf("//"))return ve(e.substr(1));e="https:"+e}if(be.test(e)||me.test(e)||0===e.indexOf("blob:"))return e;const t=getCurrentPages();return t.length?ve(he(t[t.length-1].$page.route,e).substr(1)):e}const _e={tempFilePath:{type:String,required:!0,validator(e,t){t.tempFilePath=Se(e)}}},Te=["md5","sha1"],Ce={filePath:{type:String,required:!0,validator(e,t){t.filePath=Se(e)}},digestAlgorithm:{type:String,validator(e,t){t.digestAlgorithm=Te.includes(e)?e:Te[0]},default:Te[0]}},ke={filePath:{type:String,required:!0,validator(e,t){t.filePath=Se(e)}}},Oe={filePath:{type:String,required:!0,validator(e,t){t.filePath=Se(e)}}};var je=Object.freeze({__proto__:null,saveFile:_e,getFileInfo:Ce,getSavedFileInfo:ke,removeSavedFile:Oe});const Be={filePath:{type:String,required:!0},fileType:{type:String}};var Ae=Object.freeze({__proto__:null,openDocument:Be});const qe={keyword:{type:String}};var we=Object.freeze({__proto__:null,chooseLocation:qe});const xe={WGS84:"WGS84",GCJ02:"GCJ02"},Ie={type:{type:String,validator(e,t){e=(e||"").toUpperCase(),t.type=Object.values(xe).indexOf(e)<0?xe.WGS84:e},default:xe.WGS84},altitude:{type:Boolean,default:!1}};var Ee=Object.freeze({__proto__:null,getLocation:Ie});const Pe={latitude:{type:Number,required:!0},longitude:{type:Number,required:!0},scale:{type:Number,validator(e,t){e=Math.floor(e),t.scale=e>=5&&e<=18?e:18},default:18},name:{type:String},address:{type:String}};var Ne=Object.freeze({__proto__:null,openLocation:Pe});const Me=["all","image","video"],De=["album","camera"],Le={count:{type:Number,required:!1,default:100,validator(e,t){e<=0&&(t.count=100)}},sourceType:{type:Array,required:!1,default:De,validator(e,t){e=e.filter(e=>De.includes(e)),t.sourceType=e.length?e:De}},type:{type:String,required:!1,default:"all",validator(e,t){Me.includes(e)||(t.type=Me[0]),t.type="all"===t.type?t.type="*":t.type}},extension:{type:Array,default:[""]}};var Re=Object.freeze({__proto__:null,chooseFile:Le});const ze=["original","compressed"],Fe=["album","camera"],Ue={count:{type:Number,required:!1,default:9,validator(e,t){e<=0&&(t.count=9)}},sizeType:{type:[Array,String],required:!1,default:ze,validator(e,t){e=(e="string"==typeof e?[e]:e).filter(e=>ze.includes(e)),t.sizeType=e.length?e:ze}},sourceType:{type:Array,required:!1,default:Fe,validator(e,t){e=e.filter(e=>Fe.includes(e)),t.sourceType=e.length?e:Fe}},extension:{type:Array,default:["*"],validator(e,t){0===e.length&&(t.extension=["*"])}}};var $e=Object.freeze({__proto__:null,chooseImage:Ue});const Ve=["album","camera"],We={sourceType:{type:Array,required:!1,default:Ve,validator(e,t){e=e.filter(e=>Ve.includes(e)),t.sourceType=e.length?e:Ve}},maxDuration:{type:Number,default:60},camera:{type:String,default:"back"},extension:{type:Array,default:["*"],validator(e,t){0===e.length&&(t.extension=["*"])}}};var Ge=Object.freeze({__proto__:null,chooseVideo:We});const He={src:{type:String,required:!0,validator(e,t){t.src=Se(e)}}};var Je=Object.freeze({__proto__:null,compressImage:He});const Ke={src:{type:String,required:!0,validator(e,t){t.src=Se(e)}}};var Ye=Object.freeze({__proto__:null,getImageInfo:Ke});const Qe={urls:{type:Array,required:!0,validator(e,t){var r;if(t.urls=e.map(e=>{if("string"==typeof e)return Se(e);r=!0}),r)return"url is not string"}},current:{type:[String,Number],validator(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:"string"==typeof e&&e&&(t.current=Se(e))},default:0}};var Xe=Object.freeze({__proto__:null,previewImage:Qe});const Ze={filePath:{type:String,required:!0,validator(e,t){t.filePath=Se(e)}}};var et=Object.freeze({__proto__:null,saveImageToPhotosAlbum:Ze});const tt={url:{type:String,required:!0},header:{type:Object,validator(e,t){t.header=e||{}}}};var rt=Object.freeze({__proto__:null,downloadFile:tt});const at={OPTIONS:"OPTIONS",GET:"GET",HEAD:"HEAD",POST:"POST",PUT:"PUT",DELETE:"DELETE",TRACE:"TRACE",CONNECT:"CONNECT"},ot="json",nt={TEXT:"text",ARRAYBUFFER:"arraybuffer"},it=encodeURIComponent;const st={method:{type:String,validator(e,t){e=(e||"").toUpperCase(),t.method=Object.values(at).indexOf(e)<0?at.GET:e}},data:{type:[Object,String,Array,ArrayBuffer],validator(e,t){t.data=e||""}},url:{type:String,required:!0,validator(e,t){t.method===at.GET&&c(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let r=e.split("#");const a=r[1]||"";r=r[0].split("?");let o=r[1]||"";e=r[0];const n=o.split("&").filter(e=>e);o={},n.forEach(e=>{e=e.split("="),o[e[0]]=e[1]});for(const e in t)if(u(t,e)){let r=t[e];null==r?r="":c(r)&&(r=JSON.stringify(r)),o[it(e)]=it(r)}return o=Object.keys(o).map(e=>`${e}=${o[e]}`).join("&"),e+(o?"?"+o:"")+(a?"#"+a:"")}(e,t.data))}},header:{type:Object,validator(e,t){const r=t.header=e||{};t.method!==at.GET&&(Object.keys(r).find(e=>"content-type"===e.toLowerCase())||(r["Content-Type"]="application/json"))}},dataType:{type:String,validator(e,t){t.dataType=(e||ot).toLowerCase()}},responseType:{type:String,validator(e,t){e=(e||"").toLowerCase(),t.responseType=Object.values(nt).indexOf(e)<0?nt.TEXT:e}},withCredentials:{type:Boolean},timeout:{type:Number}};var ct=Object.freeze({__proto__:null,request:st});const ut={OPTIONS:"OPTIONS",GET:"GET",HEAD:"HEAD",POST:"POST",PUT:"PUT",DELETE:"DELETE",TRACE:"TRACE",CONNECT:"CONNECT"},lt={url:{type:String,required:!0},header:{type:Object,validator(e,t){t.header=e||{}}},method:{type:String,validator(e,t){e=(e||"").toUpperCase(),t.method=Object.values(ut).indexOf(e)<0?ut.GET:e}},protocols:{type:[Array,String],validator(e,t){"string"==typeof e&&(e=[e]),t.protocols=(e||[]).filter(e=>"string"==typeof e)}}},dt={data:{type:[String,ArrayBuffer]}},pt={code:{type:Number},reason:{type:String}};var ft=Object.freeze({__proto__:null,connectSocket:lt,sendSocketMessage:dt,closeSocket:pt});const gt={url:{type:String,required:!0},files:{type:Array},filePath:{type:String,validator(e,t){e&&(t.type=Se(e))}},name:{type:String},header:{type:Object,validator(e,t){t.header=e||{}}},formData:{type:Object,validator(e,t){t.formData=e||{}}}};var yt=Object.freeze({__proto__:null,uploadFile:gt});const ht={OAUTH:"OAUTH",SHARE:"SHARE",PAYMENT:"PAYMENT",PUSH:"PUSH"},bt={service:{type:String,required:!0,validator(e,t){if((e=(e||"").toUpperCase())&&Object.values(ht).indexOf(e)<0)return"service error"}}};var mt=Object.freeze({__proto__:null,getProvider:bt});const vt={root:{type:String,required:!0,validator(e,t){const r=__uniConfig.subPackages;return Array.isArray(r)&&0!==r.length?r.find(t=>t.root===e)?void 0:"root `"+e+"` is not found":"no subPackages"}}};var St=Object.freeze({__proto__:null,loadSubPackage:vt});const _t={UNIVERIFY:"univerify"},Tt={provider:{type:String,required:!0,default:_t.UNIVERIFY,validator(e,t){if(Object.values(_t).indexOf(e)<0)return"provider error"}}};var Ct=Object.freeze({__proto__:null,preLogin:Tt});function kt(e){return function(t,r){const a=(t=he(t)).split("?")[0],o=__uniRoutes.find(({path:e,alias:t})=>e===a||t===a);if(!o)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(o.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!o.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!o.meta.isTabBar||"appLaunch"===r.openType||(t=a),o.meta.isEntry&&(t=t.replace(o.alias,"/")),r.url=function(e){if("string"!=typeof e)return e;const t=e.indexOf("?");if(-1===t)return e;const r=e.substr(t+1).trim().replace(/^(\?|#|&)/,"");if(!r)return e;e=e.substr(0,t);const a=[];return r.split("&").forEach(e=>{const t=e.replace(/\+/g," ").split("="),r=t.shift(),o=t.length>0?t.join("="):"";a.push(r+"="+encodeURIComponent(o))}),a.length?e+"?"+a.join("&"):e}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(Ot===t&&"appLaunch"!==r.openType)return Ot+" locked";__uniConfig.ready&&!1!==__uniConfig.enableNavigatorLock&&(Ot=t)}else if(o.meta.isTabBar){const e=getCurrentPages(!0),t=(o.alias||o.path).substr(1);if(e.find(e=>e.route===t))return"tabBar page `"+t+"` already exists"}}}let Ot;function jt(e,t={}){return Object.assign({url:{type:String,required:!0,validator:kt(e)},beforeAll(){Ot=""}},t)}function Bt(e){return{animationType:{type:String,validator(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}const At=jt("redirectTo"),qt=jt("reLaunch"),wt=jt("navigateTo",Bt(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"])),xt=jt("switchTab"),It=Object.assign({delta:{type:Number,validator(e,t){e=parseInt(e)||1,t.delta=Math.min(getCurrentPages().length-1,e)}}},Bt(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"])),Et={url:{type:String,required:!0,validator:kt("preloadPage")}},Pt={url:{type:String,required:!0,validator:kt("unPreloadPage")}};var Nt=Object.freeze({__proto__:null,redirectTo:At,reLaunch:qt,navigateTo:wt,switchTab:xt,navigateBack:It,preloadPage:Et,unPreloadPage:Pt});const Mt={key:{type:String,required:!0}},Dt=[{name:"key",type:String,required:!0}],Lt={key:{type:String,required:!0},data:{required:!0}},Rt=[{name:"key",type:String,required:!0},{name:"data",required:!0}],zt=Mt,Ft=Dt;var Ut=Object.freeze({__proto__:null,getStorage:Mt,getStorageSync:Dt,setStorage:Lt,setStorageSync:Rt,removeStorage:zt,removeStorageSync:Ft});const $t={family:{type:String,required:!0},source:{type:String,required:!0},desc:{type:Object,required:!1},success:{type:Function,required:!1},fail:{type:Function,required:!1},complete:{type:Function,required:!1}};var Vt=Object.freeze({__proto__:null,loadFontFace:$t});const Wt=["#ffffff","#000000"],Gt={frontColor:{type:String,required:!0,validator(e,t){if(-1===Wt.indexOf(e))return`invalid frontColor "${e}"`}},backgroundColor:{type:String,required:!0},animation:{type:Object,default:()=>({duration:0,timingFunc:"linear"}),validator(e={},t){t.animation={duration:e.duration||0,timingFunc:e.timingFunc||"linear"}}}},Ht={title:{type:String,required:!0}};var Jt=Object.freeze({__proto__:null,setNavigationBarColor:Gt,setNavigationBarTitle:Ht});const Kt={scrollTop:{type:Number,required:!0},duration:{type:Number,default:300,validator(e,t){t.duration=Math.max(0,e)}}};var Yt=Object.freeze({__proto__:null,pageScrollTo:Kt});const Qt={title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"取消"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"确定"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!0}},Xt={title:{type:String,default:""},icon:{default:"success",validator(e,t){-1===["success","loading","none"].indexOf(e)&&(t.icon="success")}},image:{type:String,default:"",validator(e,t){e&&(t.image=Se(e))}},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},Zt={title:{type:String,default:""},icon:{type:String,default:"loading"},duration:{type:Number,default:1e8},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},er={itemList:{type:Array,required:!0,validator(e,t){if(!e.length)return"parameter.itemList should have at least 1 item"}},itemColor:{type:String,default:"#000000"},visible:{type:Boolean,default:!0},popover:{type:Object}};var tr=Object.freeze({__proto__:null,showModal:Qt,showToast:Xt,showLoading:Zt,showActionSheet:er});const rr={type:Number,required:!0},ar={index:rr,text:{type:String},iconPath:{type:String},selectedIconPath:{type:String},pagePath:{type:String}},or={color:{type:String},selectedColor:{type:String},backgroundColor:{type:String},backgroundImage:{type:String,validator(e,t){e&&!/^(linear|radial)-gradient\(.+?\);?$/.test(e)&&(t.backgroundImage=Se(e))}},backgroundRepeat:{type:String},borderStyle:{type:String,validator(e,t){e&&(t.borderStyle="black"===e?"black":"white")}}},nr={animation:{type:Boolean,default:!1}},ir={animation:{type:Boolean,default:!1}},sr={index:rr},cr={index:rr},ur={index:rr},lr={index:rr,text:{type:String,required:!0,validator(e,t){(function(e=""){return(""+e).replace(/[^\x00-\xff]/g,"**").length})(e)>=4&&(t.text="...")}}};var dr=Object.freeze({__proto__:null,setTabBarItem:ar,setTabBarStyle:or,hideTabBar:nr,showTabBar:ir,hideTabBarRedDot:sr,showTabBarRedDot:cr,removeTabBarBadge:ur,setTabBarBadge:lr});const pr=Object.create(null),fr=(gr={"./base/base64.js":L,"./base/can-i-use.js":z,"./base/event-bus.js":W,"./base/interceptor.js":J,"./base/upx2px.js":Y,"./context/canvas.js":ae,"./context/context.js":ue,"./device/make-phone-call.js":de,"./device/scan-code.js":fe,"./device/set-clipboard-data.js":ye,"./file/file.js":je,"./file/open-document.js":Ae,"./location/choose-location.js":we,"./location/get-location.js":Ee,"./location/open-location.js":Ne,"./media/choose-file.js":Re,"./media/choose-image.js":$e,"./media/choose-video.js":Ge,"./media/compress-image.js":Je,"./media/get-image-info.js":Ye,"./media/preview-image.js":Xe,"./media/save-image-to-photos-album.js":et,"./network/download-file.js":rt,"./network/request.js":ct,"./network/socket.js":ft,"./network/upload-file.js":yt,"./plugin/get-provider.js":mt,"./plugin/load-sub-package.js":St,"./plugin/pre-login.js":Ct,"./route/route.js":Nt,"./storage/storage.js":Ut,"./ui/load-font-face.js":Vt,"./ui/navigation-bar.js":Jt,"./ui/page-scroll-to.js":Yt,"./ui/popup.js":tr,"./ui/tab-bar.js":dr},(yr=function(e){return gr[e]||function(){throw new Error("Cannot find module '"+e+"'.")}()}).keys=function(){return Object.keys(gr)},yr);var gr,yr;function hr(e,t,r){const a=t[e],o=!u(r,e);let n=r[e];if(function(e,t){if(!Array.isArray(t))return Sr(t,e)?0:-1;for(let r=0,a=t.length;r<a;r++)if(Sr(t[r],e))return r;return-1}(Boolean,a.type)>-1&&o&&!u(a,"default")&&(n=!1),void 0===n&&u(a,"default")){const t=a.default;n=s(t)?t():t,r[e]=n}return function(e,t,r,a,o){if(e.required&&a)return`Missing required parameter \`${t}\``;if(null==r&&!e.required){const t=e.validator;return t?t(r,o):void 0}let n=e.type,i=!n||!0===n;const s=[];if(n){Array.isArray(n)||(n=[n]);for(let e=0;e<n.length&&!i;e++){const t=mr(r,n[e]);s.push(t.expectedType||""),i=t.valid}}if(!i)return function(e,t,r){let a=`parameter \`${e}\`. Expected `+r.join(", ");const o=r[0],n=l(t),i=_r(t,o),s=_r(t,n);1===r.length&&Cr(o)&&!function(...e){return e.some(e=>"boolean"===e.toLowerCase())}(o,n)&&(a+=" with value "+i);a+=`, got ${n} `,Cr(n)&&(a+=`with value ${s}.`);return a}(t,r,s);const c=e.validator;if(c)return c(r,o)}(a,e,n,o,r)}fr.keys().forEach((function(e){Object.assign(pr,fr(e))}));const br=/^(String|Number|Boolean|Function|Symbol)$/;function mr(e,t){let r;const a=vr(t);if(br.test(a)){const o=typeof e;r=o===a.toLowerCase(),r||"object"!==o||(r=e instanceof t)}else r=e.byteLength>=0||("Object"===a?c(e):"Array"===a?Array.isArray(e):e instanceof t||l(e)===vr(t));return{valid:r,expectedType:a}}function vr(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Sr(e,t){return vr(e)===vr(t)}function _r(e,t){return"String"===t?`"${e}"`:"Number"===t?""+Number(e):""+e}const Tr=["string","number","boolean"];function Cr(e){return Tr.some(t=>e.toLowerCase()===t)}function kr(e,t,r){const a=`${t}:fail ${e}`;if("production"!==process.env.NODE_ENV&&console.error(a),-1===r)throw new Error(a);return"number"==typeof r&&Er(r,{errMsg:a}),!1}const Or=[{name:"callback",type:Function,required:!0}],jr=["beforeValidate","beforeAll","beforeSuccess"];function Br(e,t,r){let a=pr[e];if(!a&&P(e)&&(a=Or),a){if(Array.isArray(a)&&Array.isArray(t)){const e=Object.create(null),r=Object.create(null),o=t.length;a.forEach((a,n)=>{e[a.name]=a,o>n&&(r[a.name]=t[n])}),a=e,t=r}if(s(a.beforeValidate)){const o=a.beforeValidate(t);if(o)return kr(o,e,r)}const o=Object.keys(a);for(let n=0;n<o.length;n++){if(-1!==jr.indexOf(o[n]))continue;const i=hr(o[n],a,t);if(i)return kr(i,e,r)}}return!0}let Ar=1;const qr={};function wr(e,t){const r=Ar++,a="api."+e+"."+r;return qr[r]={name:a,keepAlive:!0,callback:t},r}function xr(e,t){for(const r in qr){const a=qr[r];if(a.name.startsWith("api."+e.replace(/^off/,"on"))&&a.callback===t)return delete qr[r],Number(r)}return"fail"}function Ir(e,t={},r={}){const{params:a,callbackId:o}=function(e,t={},r={}){if(!c(t))return{params:t};t=Object.assign({},t);const a={};for(const e in t){const r=t[e];s(r)&&(a[e]=g(r),delete t[e])}const{success:o,fail:n,cancel:i,complete:u}=a,l=s(o),d=s(n),p=s(i),y=s(u);if(!(l||d||p||y))return{params:t};const h={};for(const e in r){const t=r[e];s(t)&&(h[e]=f(t))}const{beforeSuccess:b,afterSuccess:m,beforeFail:v,afterFail:S,beforeCancel:_,afterCancel:T,beforeAll:C,afterAll:k}=h,O=Ar++,j="api."+e+"."+O;return qr[O]={name:j,callback:function(t){if(t.errMsg=t.errMsg||e+":ok",-1!==t.errMsg.indexOf(":ok"))t.errMsg=e+":ok";else if(-1!==t.errMsg.indexOf(":cancel"))t.errMsg=e+":cancel";else if(-1!==t.errMsg.indexOf(":fail")){let r="";const a=t.errMsg.indexOf(" ");a>-1&&(r=t.errMsg.substr(a)),t.errMsg=e+":fail"+r}s(C)&&C(t);const r=t.errMsg;0===r.indexOf(e+":ok")?(s(b)&&b(t),l&&o(t),s(m)&&m(t)):0===r.indexOf(e+":cancel")?(t.errMsg=t.errMsg.replace(e+":cancel",e+":fail cancel"),d&&n(t),s(_)&&_(t),p&&i(t),s(T)&&T(t)):0===r.indexOf(e+":fail")&&(s(v)&&v(t),d&&n(t),s(S)&&S(t)),y&&u(t),s(k)&&k(t)}},{params:t,callbackId:O}}(e,t,r);return c(a)&&!Br(e,a,o)?{params:a,callbackId:!1}:{params:a,callbackId:o}}function Er(e,t,r){if("number"==typeof e){const a=qr[e];if(a)return a.keepAlive||delete qr[e],a.callback(t,r)}return t}function Pr(e,t,r={}){return s(t)?(function(e,t){const r=pr[e];r&&(s(r.beforeAll)&&(t.beforeAll=r.beforeAll),s(r.beforeSuccess)&&(t.beforeSuccess=r.beforeSuccess))}(e,r),function(...a){if(E(e)){if(Br(e,a,-1))return t.apply(null,a)}else if(P(e)){if(Br(e,a,-1))return t((e.startsWith("off")?xr:wr)(e,a[0]))}else{let o={};a.length&&(o=a[0]);const{params:n,callbackId:i}=Ir(e,o,r);if(!1!==i){let r;return r=s(n)?t(i):t(n,i),r&&!function(e){return-1!==w.indexOf(e)}(e)&&(r=Er(i,r),c(r)&&(r.errMsg=r.errMsg||e+":ok")),r}}}):t}var Nr,Mr=(function(e,t){!function(){for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=new Uint8Array(256),a=0;a<e.length;a++)r[e.charCodeAt(a)]=a;t.encode=function(t){var r,a=new Uint8Array(t),o=a.length,n="";for(r=0;r<o;r+=3)n+=e[a[r]>>2],n+=e[(3&a[r])<<4|a[r+1]>>4],n+=e[(15&a[r+1])<<2|a[r+2]>>6],n+=e[63&a[r+2]];return o%3==2?n=n.substring(0,n.length-1)+"=":o%3==1&&(n=n.substring(0,n.length-2)+"=="),n},t.decode=function(e){var t,a,o,n,i,s=.75*e.length,c=e.length,u=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var l=new ArrayBuffer(s),d=new Uint8Array(l);for(t=0;t<c;t+=4)a=r[e.charCodeAt(t)],o=r[e.charCodeAt(t+1)],n=r[e.charCodeAt(t+2)],i=r[e.charCodeAt(t+3)],d[u++]=a<<2|o>>4,d[u++]=(15&o)<<4|n>>2,d[u++]=(3&n)<<6|63&i;return l}}()}(Nr={exports:{}},Nr.exports),Nr.exports),Dr=Mr.encode,Lr=Mr.decode;var Rr={};const zr={promiseInterceptor:j};let Fr=!1,Ur=0,$r=0;function Vr(e,t){return e=Number(e),isNaN(e)?t:e}function Wr(e,t,r,a){UniServiceJSBridge.publishHandler(t+"-audio-"+e,{audioId:e,type:r,data:a},t)}class Gr{constructor(e,t){this.id=e,this.pageId=t}setSrc(e){Wr(this.id,this.pageId,"setSrc",{src:e})}play(){Wr(this.id,this.pageId,"play")}pause(){Wr(this.id,this.pageId,"pause")}seek(e){Wr(this.id,this.pageId,"seek",{position:e})}}var Hr=a("@app-module/system.router");function Jr(e){return e.substr(0,e.lastIndexOf("/"))}var Kr=a("@app-module/system.router");var Yr=a("@app-module/system.router");function Qr(...e){return global.UniServiceJSBridge.invokeCallbackHandler(...e)}var Xr=a("@app-module/system.clipboard");var Zr=a("@app-module/system.fetch");let ea=0;const ta={},ra=e=>{!function(e,...t){global.UniServiceJSBridge.emit("api."+e,...t)}("onRequestTaskStateChange",e),delete ta[ea]};function aa(e,{url:t,data:r,header:a,method:o="GET",responseType:n,sslVerify:i=!0}={}){let s,c;s=setTimeout(()=>{c=!0,ra({requestTaskId:e,state:"fail",statusCode:0,errMsg:"timeout"})},60100);const u={method:o,url:t.trim(),header:a,type:n,timeout:6e4};"GET"!==o&&(u.data=r);try{Zr.fetch({...u,success:({code:t,data:r,headers:a})=>{if(console.log(r),c)return;s&&clearTimeout(s);ra(t>0?{requestTaskId:e,state:"success",data:r,statusCode:t,header:a}:{requestTaskId:e,state:"fail",statusCode:t,errMsg:"abort statusCode:"+t})},fail:(t,r)=>{ra({requestTaskId:e,state:"fail",statusCode:r,errMsg:"abort statusCode:"+r})}}),ta[e]={abort(){c=!0,s&&clearTimeout(s),ra({requestTaskId:e,state:"fail",statusCode:0,errMsg:"abort"})}}}catch(t){return{requestTaskId:e,errMsg:"createRequestTask:fail"}}return{requestTaskId:e,errMsg:"createRequestTask:ok"}}var oa=a("@app-module/system.storage");function na(e){const t=["object","string","number","boolean","undefined"];try{const r="string"==typeof e?JSON.parse(e):e,a=r.type;if(t.indexOf(a)>=0){const e=Object.keys(r);if(2===e.length&&"data"in r&&typeof r.data===a)return r.data;if(1===e.length)return""}}catch(e){}}var ia=a("@app-module/system.prompt");var sa=Object.freeze({__proto__:null,navigateBack:function({delta:e}){return Hr.back(),{errMsg:"navigateBack:ok"}},navigateTo:function({url:e}){const t=e.split("?"),r=t[0],a=p(t[1]||"");return Kr.push({uri:Jr(r),params:a}),{errMsg:"navigateTo:ok"}},redirectTo:function({url:e}){const t=e.split("?"),r=t[0],a=p(t[1]||"");return Yr.replace({uri:Jr(r),params:a}),{errMsg:"redirectTo:ok"}},getClipboardData:function(e,t){Xr.get({success:e=>{Qr(t,{data:e.text,errMsg:"getClipboardData:ok"})},fail:(e,r)=>{Qr(t,{data:r,errMsg:"getClipboardData:fail"})}})},setClipboardData:function({data:e}){return Xr.set({text:e}),{errMsg:"setClipboardData:ok"}},createRequestTaskById:aa,createRequestTask:function(e){return aa(++ea,e)},operateRequestTask:function({requestTaskId:e,operationType:t}={}){const r=ta[e];return r&&"abort"===t?(r.abort(),{errMsg:"operateRequestTask:ok"}):{errMsg:"operateRequestTask:fail"}},setStorage:function({key:e,data:t,isSync:r}={},a){const o=typeof t,n="string"===o?t:JSON.stringify({type:o,data:t});try{oa.set({key:e,value:n,success:e=>{Qr(a,{errMsg:"setStorage:ok"})},fail:(e,t)=>{Qr(a,{errMsg:"setStorage:fail "+t})}})}catch(e){Qr(a,{errMsg:"setStorage:fail "+e})}},getStorage:function({key:e}={},t){oa.get({key:e,success:e=>{Qr(t,{data:na(e)||e,errMsg:"getStorage:ok"})},fail:(e,r)=>{Qr(t,{data:"",errMsg:"getStorage:fail "+r})}})},removeStorage:function({key:e}={},t){oa.delete({key:e,success:e=>{Qr(t,{errMsg:"removeStorage:ok"})},fail:(e,r)=>{Qr(t,{errMsg:"removeStorage:fail "+r})}})},clearStorage:function(e,t){oa.clear({success:e=>{Qr(t,{errMsg:"clearStorage:ok"})},fail:(e,r)=>{Qr(t,{errMsg:"clearStorage:fail "+r})}})},showModal:function({title:e="",content:t="",showCancel:r=!0,cancelText:a="取消",cancelColor:o="#000000",confirmText:n="确定",confirmColor:i="#3CC51F"}={},s){ia.showDialog({title:e,message:t,buttons:[{text:"确定",color:i}],success:e=>{console.log("handling callback"),Qr(s,{errMsg:"showModal:ok",confirm:!0,cancel:!1})},cancel:()=>{console.log("handling cancel")},fail:(e,t)=>{console.log("handling fail, code = "+t)}})}});function ca(e,...t){return sa[e].apply(null,t)}function ua(e,t){return UniServiceJSBridge.on("api."+e,t)}const la=["canplay","play","pause","stop","ended","timeUpdate","prev","next","error","waiting"],da={};la.forEach(e=>{da[e]=[]});const pa=[{name:"duration",readonly:!0},{name:"currentTime",readonly:!0},{name:"paused",readonly:!0},{name:"src",cache:!0},{name:"startTime",default:0,cache:!0},{name:"buffered",readonly:!0},{name:"title",cache:!0},{name:"epname",cache:!0},{name:"singer",cache:!0},{name:"coverImgUrl",cache:!0},{name:"webUrl",cache:!0},{name:"protocol",readonly:!0,default:"http"}];class fa{constructor(){this._options={},ua("onBackgroundAudioStateChange",({state:e,errMsg:t,errCode:r})=>{da[e].forEach(a=>{"function"==typeof a&&a("error"===e?{errMsg:t,errCode:r}:{})})}),pa.forEach(e=>{const t=e.name,r={get(){const r=e.cache?this._options:ca("getBackgroundAudioState");return t in r?r[t]:e.default}};e.readonly||(r.set=function(e){this._options[t]=e,ca("setBackgroundAudioState",Object.assign({},this._options,{audioId:this.id}))}),Object.defineProperty(this,t,r)})}play(){this._operate("play")}pause(){this._operate("pause")}stop(){this._operate("stop")}seek(e){this._operate("seek",{currentTime:e})}_operate(e,t){ca("operateBackgroundAudio",Object.assign({},t,{operationType:e}))}}let ga;function ya(...e){return UniServiceJSBridge.invokeCallbackHandler(...e)}la.forEach(e=>{const t=e[0].toUpperCase()+e.substr(1);fa.prototype["on"+t]=function(t){da[e].push(t)}});const ha=Object.create(null);ua("onRequestTaskStateChange",(function({requestTaskId:e,state:t,data:r,statusCode:a,header:o,errMsg:n,cookies:i}){const{args:s,callbackId:u}=ha[e]||{};if(u)switch(delete ha[e],t){case"success":ya(u,function(e,t){if("string"==typeof e.data&&65279===e.data.charCodeAt(0)&&(e.data=e.data.substr(1)),e.statusCode=parseInt(e.statusCode,10),c(e.header)&&(e.header=Object.keys(e.header).reduce((function(t,r){const a=e.header[r];return Array.isArray(a)?t[r]=a.join(","):"string"==typeof a&&(t[r]=a),t}),{})),t.dataType&&"json"===t.dataType.toLowerCase())try{e.data=JSON.parse(e.data)}catch(e){}return e}({data:r,statusCode:a,header:o,errMsg:"request:ok",cookies:i},s));break;case"fail":ya(u,{errMsg:"request:fail "+n})}}));class ba{constructor(e){this.id=e}abort(){ca("operateRequestTask",{requestTaskId:this.id,operationType:"abort"})}offHeadersReceived(){}onHeadersReceived(){}}var ma={...Object.freeze({__proto__:null,base64ToArrayBuffer:function(e){return Lr(e)},arrayBufferToBase64:function(e){return Dr(e)},canIUse:function(e){return!u(Rr,e)||Rr[e]},addInterceptor:function(e,t){"string"==typeof e&&c(t)?m(b[e]||(b[e]={}),t):c(e)&&m(h,e)},removeInterceptor:function(e,t){"string"==typeof e?c(t)?v(b[e],t):delete b[e]:c(e)&&v(h,e)},interceptors:zr,upx2px:function(e,t){if(0===Ur&&function(){const{platform:e,pixelRatio:t,windowWidth:r}=uni.getSystemInfoSync();Ur=r,$r=t,Fr="ios"===e}(),0===(e=Number(e)))return 0;const r=__uniConfig.globalStyle||__uniConfig.window||{},a=Vr(r.rpxCalcMaxDeviceWidth,960),o=Vr(r.rpxCalcBaseDeviceWidth,375),n=Vr(r.rpxCalcIncludeWidth,750);let i=t||Ur;i=e===n||i<=a?i:o;let s=e/750*i;return s<0&&(s=-s),s=Math.floor(s+1e-4),0===s&&(s=1!==$r&&Fr?.5:1),e<0?-s:s},createAudioContext:function(e,t){if(t)return new Gr(e,t.$page.id);const r=getApp();if(r.$route&&r.$route.params.__id__)return new Gr(e,r.$route.params.__id__);UniServiceJSBridge.emit("onError","createAudioContext:fail")},getBackgroundAudioManager:function(){return ga||(ga=new fa)},request:function(e,t){let r;for(const t in e.header)if("content-type"===t.toLowerCase()){r=e.header[t];break}"GET"!==e.method&&0===r.indexOf("application/json")&&c(e.data)&&(e.data=JSON.stringify(e.data));const{requestTaskId:a}=ca("createRequestTask",e);return ha[a]={args:e,callbackId:t},new ba(a)}}),...sa};const va=Object.create(null);let Sa;r.forEach(e=>{ma[e]?va[e]=function(e,t){return N(e)?function(r={},...a){return s(r.success)||s(r.fail)||s(r.complete)?k(e,O(e,t,r,...a)):k(e,new Promise((o,n)=>{O(e,t,Object.assign({},r,{success:o,fail:n}),...a)}).then(e=>[null,e]).catch(e=>[e]))}:t}(e,Pr(e,ma[e])):va[e]=function(e){return function(t){console.error("API `"+e+"` is not yet implemented")}}(e)});const _a=[],Ta=[],Ca=[];function ka(e){e&&e.store&&(Sa=e.store)}ka.prototype.$mount=function(){},ka.config={},ka.use=function(e){if(e.Store&&e.mapState){const r={};t.VueFactory(r,{},{}),e.install(r.Vue)}else Ta.push(e)},ka.mixin=function(e){_a.push(e)},ka.component=function(e,t){Ca.push({id:e,definition:t})},(Object.getPrototypeOf(global)||global).__VuePlugin={install(e,t){_a.forEach(t=>{e.mixin(t)}),Ta.forEach(t=>{e.use(t)}),Ca.forEach(({id:t,definition:r})=>{e.component(t,r)}),Object.keys(ka.prototype).forEach(t=>{"$mount"!==t&&(e.prototype[t]=ka.prototype[t])}),Sa&&(e.prototype.$store=Sa)}};const Oa={globalData:{}};global.UniServiceJSBridge.invokeCallbackHandler=Er;var ja={uni:va,Vue:ka,getApp:function({allowDefault:t=!1}={}){return e.$def?function(e){if(e.__$processed)return e;const t=e.methods;return t&&(Object.keys(t).forEach(r=>{e[r]=t[r]}),delete e.methods),Object.keys(Oa).forEach(t=>{"globalData"!==t&&(e[t]=Oa[t])}),e.globalData||(e.globalData={}),Object.assign(e.globalData,Oa.globalData),e.__$processed=!0,e}(e.$def):t?Oa:void 0},getCurrentPages:function(){return[]}};const Ba=Object.getPrototypeOf(global)||global;dsl.onDefineApp(t=>{const r="function"==typeof t.onLaunch,a="function"==typeof t.onShow;(r||a)&&(e._events["applc:onCreate"]||(e._events["applc:onCreate"]=[])).push(()=>{r&&t.onLaunch(),a&&t.onShow()}),Ba.__uniRoutes=function({pages:e}){const t=[];return Object.keys(e).forEach(r=>{const a=e[r];t.push({path:"/"+r+"/"+a.component,meta:{}})}),t}(t.manifest.router)}),Object.assign(Ba,ja)}()}));
dsl.onInitPage((function({$app_require$:e,Vue:u}){!function(){"use strict";"undefined"!=typeof __VuePlugin&&u.use(__VuePlugin)}()}));
