(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{0:function(e,t){},"011a":function(e,t){function n(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(e.exports=n=function(){return!!t},e.exports.__esModule=!0,e.exports["default"]=e.exports)()}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"0457":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=[],r={show:!1,title:"",width:null,theme:"default",message:"",zIndex:100,overlay:!0,selector:"#van-dialog",className:"",asyncClose:!1,beforeClose:null,transition:"scale",customStyle:"",messageAlign:"",overlayStyle:"",confirmButtonText:"确认",cancelButtonText:"取消",showConfirmButton:!0,showCancelButton:!1,closeOnClickOverlay:!1,confirmButtonOpenType:""},o=Object.assign({},r);var i=function(t){return t=Object.assign(Object.assign({},o),t),new Promise((function(r,o){var i=("function"===typeof t.context?t.context():t.context)||function(){var e=getCurrentPages();return e[e.length-1]}(),a=i.selectComponent(t.selector);delete t.context,delete t.selector,a?(a.setData(Object.assign({callback:function(e,t){"confirm"===e?r(t):o(t)}},t)),e.nextTick((function(){a.setData({show:!0})})),n.push(a)):console.warn("未找到 van-dialog 节点,请确认 selector 及 context 是否正确")}))};i.alert=function(e){return i(e)},i.confirm=function(e){return i(Object.assign({showCancelButton:!0},e))},i.close=function(){n.forEach((function(e){e.close()})),n=[]},i.stopLoading=function(){n.forEach((function(e){e.stopLoading()}))},i.currentOptions=o,i.defaultOptions=r,i.setDefaultOptions=function(e){o=Object.assign(Object.assign({},o),e),i.currentOptions=o},i.resetDefaultOptions=function(){o=Object.assign({},r),i.currentOptions=o},i.resetDefaultOptions();var a=i;t.default=a}).call(this,n("3223")["default"])},"08d6":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAABa9JREFUWEfFmU1sVFUUgL/zoFChpUNTZkoQ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jhs/CqnQblzA5lW8g7+XDYyIwvja96C4dhd7uNOCURyAyKwlt3KFYH3YOvWKA/WYl6Pegi84Bjke1S6DcT7mfhe0+uNg+eGsbVQ5V94JZoGYeL3dAT7RwH1alq+BF5wQ/y5MwqdYTg7MZPjxlPowNZ/hwH5zYCWQl9oEtbBZdIqp7gQX5WjhI8FOzGEZnLecTLWBmI7MFBobvjUu40iEv+EKCn5pFMLpisLZigBU2mqP5SbX5Jl8Lm/6T50FZdcZJ154MgFKtaiZMuC/9fOU8/NlWuA+L8lRxwU+AWMIsvBGjwLYHshGP+k4gl0gFP+Z/41HdJZAjs0paJFe05jczQb4HAVbYFYrI8oID+CAgQfsEAR4UwDsHyAXahyryBbGwyYBDd4OMAL0B8T+Cxci+wEr7lmZmmsJKZhK6UpSvclklCPBdT0BpZVrDtctwptXfzn7AKqwOhcVhy07zf8xVoQwCXL/aHeycyJmHp3/EJ83fH6pmvivNN+IDZdXDXpXK2wGsOBXNOZll2MClqtsBDAxdqkpNUjyqm7LLrLca2KRDoYi4UrfA5dZbCZx3udVY2lSDls7offdMW98GJ8T/n5uJ/qY+VELNY6M2b93G63kVtDPZdjReWYOwTcRd0RzWf1B61GLdiuaywq4MMmFa1l6rE+37SEQ8K5vFg2tbf39J4+pPSm+WVXPp9M3l0oLOtdfK/27VmoYqGuYFrxxXizdDYXYM67VXJoRT6XyeBao8J8pCvxKX6weSF4utImyvCLM3KGhKTx4WdtvOubq1mWcLcwXmoNSoEE7liApXRIkidCgcsZSfyy3airm6/RcvgnQJJF0SGAAAAABJRU5ErkJggg=="},"0b04":function(e,t,n){"use strict";var r=n("6687"),o=n("a7cc"),i=n("5e00"),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,u=String.prototype.split,l=Array.prototype.push,f=function(e,t){l.apply(e,c(t)?t:[t])},p=Date.prototype.toISOString,d=i["default"],h={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(e){return p.call(e)},skipNulls:!1,strictNullHandling:!1},v={},g=function e(t,n,i,a,s,l,p,d,g,y,m,w,b,x,_,A){var k=t,S=A,O=0,P=!1;while(void 0!==(S=S.get(v))&&!P){var I=S.get(t);if(O+=1,"undefined"!==typeof I){if(I===O)throw new RangeError("Cyclic object value");P=!0}"undefined"===typeof S.get(v)&&(O=0)}if("function"===typeof d?k=d(n,k):k instanceof Date?k=m(k):"comma"===i&&c(k)&&(k=o.maybeMap(k,(function(e){return e instanceof Date?m(e):e}))),null===k){if(s)return p&&!x?p(n,h.encoder,_,"key",w):n;k=""}if(function(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||"bigint"===typeof e}(k)||o.isBuffer(k)){if(p){var T=x?n:p(n,h.encoder,_,"key",w);if("comma"===i&&x){for(var E=u.call(String(k),","),C="",D=0;D0?k.join(",")||null:void 0}];else if(c(d))j=d;else{var L=Object.keys(k);j=g?L.sort(g):L}for(var F=a&&c(k)&&1===k.length?n+"[]":n,U=0;U0?_+x:""}},"0bdb":function(e,t,n){var r=n("d551");function o(e,t){for(var n=0;n-1?e.split(","):e},u=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),u=s?i.slice(0,s.index):i,l=[];if(u){if(!n.plainObjects&&o.call(Object.prototype,u)&&!n.allowPrototypes)return;l.push(u)}var f=0;while(n.depth>0&&null!==(s=a.exec(i))&&f=0;--i){var a,s=e[i];if("[]"===s&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(u,10);n.parseArrays||""!==u?!isNaN(l)&&s!==u&&String(l)===u&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[],a[l]=o):"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o}(l,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t="undefined"===typeof e.charset?a.charset:e.charset;return{allowDots:"undefined"===typeof e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:a.comma,decoder:"function"===typeof e.decoder?e.decoder:a.decoder,delimiter:"string"===typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null===e||"undefined"===typeof e)return n.plainObjects?Object.create(null):{};for(var l="string"===typeof e?function(e,t){var n,u={},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,p=l.split(t.delimiter,f),d=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n-1&&(g=i(g)?[g]:g),o.call(u,v)?u[v]=r.combine(u[v],g):u[v]=g}return u}(e,n):e,f=n.plainObjects?Object.create(null):{},p=Object.keys(l),d=0;d-1e3&&e<1e3||S.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var r=e<0?-T(-e):T(e);if(r!==e){var o=String(r),i=x.call(t,o.length+1);return _.call(o,n,"$&_")+"."+_.call(_.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _.call(t,n,"$&_")}var M=n(0),B=M.custom,N=J(B)?B:null;function q(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function V(e){return _.call(String(e),/"/g,""")}function $(e){return"[object Array]"===K(e)&&(!R||!("object"===typeof e&&R in e))}function W(e){return"[object RegExp]"===K(e)&&(!R||!("object"===typeof e&&R in e))}function J(e){if(j)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!D)return!1;try{return D.call(e),!0}catch(t){}return!1}e.exports=function e(t,n,r,o){var s=n||{};if(z(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(z(s,"maxStringLength")&&("number"===typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!z(s,"customInspect")||s.customInspect;if("boolean"!==typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(z(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(z(s,"numericSeparator")&&"boolean"!==typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var f=s.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return function e(t,n){if(t.length>n.maxStringLength){var r=t.length-n.maxStringLength,o="... "+r+" more character"+(r>1?"s":"");return e(x.call(t,0,n.maxStringLength),n)+o}var i=_.call(_.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,G);return q(i,"single",n)}(t,s);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var d=String(t);return f?U(t,d):d}if("bigint"===typeof t){var v=String(t)+"n";return f?U(t,v):v}var m="undefined"===typeof s.depth?5:s.depth;if("undefined"===typeof r&&(r=0),r>=m&&m>0&&"object"===typeof t)return $(t)?"[Array]":"[Object]";var A=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=P.call(Array(e.indent+1)," ")}return{base:n,prev:P.call(Array(t+1),n)}}(s,r);if("undefined"===typeof o)o=[];else if(Q(o,t)>=0)return"[Circular]";function S(t,n,i){if(n&&(o=I.call(o),o.push(n)),i){var a={depth:s.depth};return z(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,o)}return e(t,s,r+1,o)}if("function"===typeof t&&!W(t)){var T=function(e){if(e.name)return e.name;var t=b.call(w.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),C=te(t,S);return"[Function"+(T?": "+T:" (anonymous)")+"]"+(C.length>0?" { "+P.call(C,", ")+" }":"")}if(J(t)){var B=j?_.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):D.call(t);return"object"!==typeof t||j?B:Y(B)}if(function(e){if(!e||"object"!==typeof e)return!1;if("undefined"!==typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"===typeof e.nodeName&&"function"===typeof e.getAttribute}(t)){for(var H="<"+k.call(String(t.nodeName)),ne=t.attributes||[],re=0;re",H}if($(t)){if(0===t.length)return"[]";var oe=te(t,S);return A&&!function(e){for(var t=0;t=0)return!1;return!0}(oe)?"["+ee(oe,A)+"]":"[ "+P.call(oe,", ")+" ]"}if(function(e){return"[object Error]"===K(e)&&(!R||!("object"===typeof e&&R in e))}(t)){var ie=te(t,S);return"cause"in Error.prototype||!("cause"in t)||L.call(t,"cause")?0===ie.length?"["+String(t)+"]":"{ ["+String(t)+"] "+P.call(ie,", ")+" }":"{ ["+String(t)+"] "+P.call(O.call("[cause]: "+S(t.cause),ie),", ")+" }"}if("object"===typeof t&&c){if(N&&"function"===typeof t[N]&&M)return M(t,{depth:m-r});if("symbol"!==c&&"function"===typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!==typeof e)return!1;try{i.call(e);try{u.call(e)}catch(H){return!0}return e instanceof Map}catch(t){}return!1}(t)){var ae=[];return a.call(t,(function(e,n){ae.push(S(n,t,!0)+" => "+S(e,t))})),Z("Map",i.call(t),ae,A)}if(function(e){if(!u||!e||"object"!==typeof e)return!1;try{u.call(e);try{i.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}(t)){var se=[];return l.call(t,(function(e){se.push(S(e,t))})),Z("Set",u.call(t),se,A)}if(function(e){if(!p||!e||"object"!==typeof e)return!1;try{p.call(e,p);try{h.call(e,h)}catch(H){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return X("WeakMap");if(function(e){if(!h||!e||"object"!==typeof e)return!1;try{h.call(e,h);try{p.call(e,p)}catch(H){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return X("WeakSet");if(function(e){if(!g||!e||"object"!==typeof e)return!1;try{return g.call(e),!0}catch(t){}return!1}(t))return X("WeakRef");if(function(e){return"[object Number]"===K(e)&&(!R||!("object"===typeof e&&R in e))}(t))return Y(S(Number(t)));if(function(e){if(!e||"object"!==typeof e||!E)return!1;try{return E.call(e),!0}catch(t){}return!1}(t))return Y(S(E.call(t)));if(function(e){return"[object Boolean]"===K(e)&&(!R||!("object"===typeof e&&R in e))}(t))return Y(y.call(t));if(function(e){return"[object String]"===K(e)&&(!R||!("object"===typeof e&&R in e))}(t))return Y(S(String(t)));if(!function(e){return"[object Date]"===K(e)&&(!R||!("object"===typeof e&&R in e))}(t)&&!W(t)){var ce=te(t,S),ue=F?F(t)===Object.prototype:t instanceof Object||t.constructor===Object,le=t instanceof Object?"":"null prototype",fe=!ue&&R&&Object(t)===t&&R in t?x.call(K(t),8,-1):le?"Object":"",pe=ue||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"",de=pe+(fe||le?"["+P.call(O.call([],fe||[],le||[]),": ")+"] ":"");return 0===ce.length?de+"{}":A?de+"{"+ee(ce,A)+"}":de+"{ "+P.call(ce,", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function z(e,t){return H.call(e,t)}function K(e){return m.call(e)}function Q(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n-1||"function"===typeof s[e])}i[a]=function(){var e={};for(var t in s)u(t)&&(e[t]=s[t]);return e}();var l=i[a];t.default=l},3240:function(e,t,n){"use strict";n.r(t),function(e){ /*! * Vue.js v2.6.11 * (c) 2014-2024 Evan You * Released under the MIT License. */ var n=Object.freeze({});function r(e){return void 0===e||null===e}function o(e){return void 0!==e&&null!==e}function i(e){return!0===e}function a(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function s(e){return null!==e&&"object"===typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return o(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function d(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o-1)return e.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function m(e,t){return y.call(e,t)}function w(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var b=/-(\w)/g,x=w((function(e){return e.replace(b,(function(e,t){return t?t.toUpperCase():""}))})),_=w((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),A=/\B([A-Z])/g,k=w((function(e){return e.replace(A,"-$1").toLowerCase()}));var S=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 O(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function P(e,t){for(var n in t)e[n]=t[n];return e}function I(e){for(var t={},n=0;n0),G=(z&&z.indexOf("android"),z&&/iphone|ipad|ipod|ios/.test(z)||"ios"===H),Y=(z&&/chrome\/\d+/.test(z),z&&/phantomjs/.test(z),z&&z.match(/firefox\/(\d+)/),{}.watch);if(W)try{var X={};Object.defineProperty(X,"passive",{get:function(){}}),window.addEventListener("test-passive",null,X)}catch(Un){}var Z=function(){return void 0===V&&(V=!W&&!J&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),V},ee=W&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function te(e){return"function"===typeof e&&/native code/.test(e.toString())}var ne,re="undefined"!==typeof Symbol&&te(Symbol)&&"undefined"!==typeof Reflect&&te(Reflect.ownKeys);ne="undefined"!==typeof Set&&te(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 oe=T,ie=0,ae=function(){this.id=ie++,this.subs=[]};function se(e){ae.SharedObject.targetStack.push(e),ae.SharedObject.target=e,ae.target=e}function ce(){ae.SharedObject.targetStack.pop(),ae.SharedObject.target=ae.SharedObject.targetStack[ae.SharedObject.targetStack.length-1],ae.target=ae.SharedObject.target}ae.prototype.addSub=function(e){this.subs.push(e)},ae.prototype.removeSub=function(e){g(this.subs,e)},ae.prototype.depend=function(){ae.SharedObject.target&&ae.SharedObject.target.addDep(this)},ae.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(i&&!m(o,"default"))a=!1;else if(""===a||a===k(e)){var c=Fe(String,o.type);(c<0||s0&&(c=e(c,(n||"")+"_"+s),rt(c[0])&&rt(l)&&(f[u]=pe(l.text+c[0].text),c.shift()),f.push.apply(f,c)):a(c)?rt(l)?f[u]=pe(l.text+c):""!==c&&f.push(pe(c)):rt(c)&&rt(l)?f[u]=pe(l.text+c.text):(i(t._isVList)&&o(c.tag)&&r(c.key)&&o(n)&&(c.key="__vlist"+n+"_"+s+"__"),f.push(c)));return f}(e):void 0}function rt(e){return o(e)&&o(e.text)&&function(e){return!1===e}(e.isComment)}function ot(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function it(e){var t=at(e.$options.inject,e);t&&(ye(!1),Object.keys(t).forEach((function(n){xe(e,n,t[n])})),ye(!0))}function at(e,t){if(e){for(var n=Object.create(null),r=re?Reflect.ownKeys(e):Object.keys(e),o=0;o0,a=e?!!e.$stable:!i,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==n&&s===r.$key&&!i&&!r.$hasNormal)return r;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]=ft(t,u));return e&&Object.isExtensible(e)&&(e._normalized=o),N(o,"$stable",a),N(o,"$key",s),N(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]:nt(e),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 ft(e,t){return function(){return e[t]}}function pt(e,t){var n,r,i,a,c;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),r=0,i=e.length;rdocument.createEvent("Event").timeStamp&&(Zt=function(){return en.now()})}function tn(){var e,t;for(Zt(),Yt=!0,zt.sort((function(e,t){return e.id-t.id})),Xt=0;XtXt&&zt[n].id>e.id)n--;zt.splice(n+1,0,e)}else zt.push(e);Gt||(Gt=!0,Qe(tn))}}(this)},rn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(Un){Ue(Un,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},rn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},rn.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},rn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var on={enumerable:!0,configurable:!0,get:T,set:T};function an(e,t,n){on.get=function(){return this[t][n]},on.set=function(e){this[t][n]=e},Object.defineProperty(e,n,on)}function sn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[],i=!e.$parent;i||ye(!1);var a=function(i){o.push(i);var a=je(i,t,n,e);xe(r,i,a),i in e||an(e,"_props",i)};for(var s in t)a(s);ye(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?T:S(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;t=e._data="function"===typeof t?function(e,t){se();try{return e.call(t,t)}catch(Un){return Ue(Un,t,"data()"),{}}finally{ce()}}(t,e):t||{},u(t)||(t={});var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);while(o--){var i=n[o];0,r&&m(r,i)||B(i)||an(e,"_data",i)}be(t,!0)}(e):be(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=Z();for(var o in t){var i=t[o],a="function"===typeof i?i:i.get;0,r||(n[o]=new rn(e,a||T,T,cn)),o in e||un(e,o,i)}}(e,t.computed),t.watch&&t.watch!==Y&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!function(e){return"[object RegExp]"===c.call(e)}(e)&&e.test(t)}function wn(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=yn(a.componentOptions);s&&!t(s)&&bn(n,i,r,o)}}}function bn(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=dn++,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=Ce(hn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){while(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&&Vt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,r=e.$vnode=t._parentVnode,o=r&&r.context;e.$slots=st(t._renderChildren,o),e.$scopedSlots=n,e._c=function(t,n,r,o){return Rt(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return Rt(e,t,n,r,o,!0)};var i=r&&r.data;xe(e,"$attrs",i&&i.attrs||n,null,!0),xe(e,"$listeners",t._parentListeners||n,null,!0)}(t),Ht(t,"beforeCreate"),!t._$fallback&&it(t),sn(t),!t._$fallback&&ot(t),!t._$fallback&&Ht(t,"created"),t.$options.el&&t.$mount(t.$options.el)}})(vn),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=_e,e.prototype.$delete=Ae,e.prototype.$watch=function(e,t,n){if(u(t))return pn(this,e,t,n);n=n||{},n.user=!0;var r=new rn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(o){Ue(o,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(vn),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;o1?O(n):n;for(var r=O(arguments,1),o='event handler for "'+e+'"',i=0,a=n.length;iparseInt(this.max)&&bn(s,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},An={KeepAlive:_n};(function(e){var t={get:function(){return U}};Object.defineProperty(e,"config",t),e.util={warn:oe,extend:P,mergeOptions:Ce,defineReactive:xe},e.set=_e,e.delete=Ae,e.nextTick=Qe,e.observable=function(e){return be(e),e},e.options=Object.create(null),L.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,P(e.options.components,An),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=O(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=Ce(this.options,e),this}}(e),gn(e),function(e){L.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&u(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)})(vn),Object.defineProperty(vn.prototype,"$isServer",{get:Z}),Object.defineProperty(vn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(vn,"FunctionalRenderContext",{value:Pt}),vn.version="2.6.11";var kn="[object Array]",Sn="[object Object]";function On(e,t){var n={};return function e(t,n){if(t===n)return;var r=In(t),o=In(n);if(r==Sn&&o==Sn){if(Object.keys(t).length>=Object.keys(n).length)for(var i in n){var a=t[i];void 0===a?t[i]=null:e(a,n[i])}}else r==kn&&o==kn&&t.length>=n.length&&n.forEach((function(n,r){e(t[r],n)}))}(e,t),function e(t,n,r,o){if(t===n)return;var i=In(t),a=In(n);if(i==Sn)if(a!=Sn||Object.keys(t).length1&&(t[r[0].trim()]=r[1].trim())}})),t}));var Ln=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];var Fn=["onLaunch","onShow","onHide","onUniNViewMessage","onPageNotFound","onThemeChange","onError","onUnhandledRejection","onInit","onLoad","onReady","onUnload","onPullDownRefresh","onReachBottom","onTabItemTap","onAddToFavorites","onShareTimeline","onShareAppMessage","onResize","onPageScroll","onNavigationBarButtonTap","onBackPress","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputClicked","onUploadDouyinVideo","onNFCReadMessage","onPageShow","onPageHide","onPageResize"];vn.prototype.__patch__=function(e,t){var n=this;if(null!==t&&("page"===this.mpType||"component"===this.mpType)){var r=this.$scope,o=Object.create(null);try{o=function(e){var t=Object.create(null),n=[].concat(Object.keys(e._data||{}),Object.keys(e._computedWatchers||{}));n.reduce((function(t,n){return t[n]=e[n],t}),t);var r=e.__composition_api_state__||e.__secret_vfa_state__,o=r&&r.rawBindings;return o&&Object.keys(o).forEach((function(n){t[n]=e[n]})),Object.assign(t,e.$mp.data||{}),Array.isArray(e.$options.behaviors)&&-1!==e.$options.behaviors.indexOf("uni://form-field")&&(t["name"]=e.name,t["value"]=e.value),JSON.parse(JSON.stringify(t,Cn))}(this)}catch(s){console.error(s)}o.__webviewId__=r.data.__webviewId__;var i=Object.create(null);Object.keys(o).forEach((function(e){i[e]=r.data[e]}));var a=!1===this.$shouldDiffData?o:On(o,i);Object.keys(a).length?(Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"红沙湾管理端",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG&&console.log("["+ +new Date+"]["+(r.is||r.route)+"]["+this._uid+"]差量更新",JSON.stringify(a)),this.__next_tick_pending=!0,r.setData(a,(function(){n.__next_tick_pending=!1,Tn(n)}))):Tn(this)}},vn.prototype.$mount=function(e,t){return function(e,t,n){return e.mpType?("app"===e.mpType&&(e.$options.render=Dn),e.$options.render||(e.$options.render=Dn),!e._$fallback&&Ht(e,"beforeMount"),new rn(e,(function(){e._update(e._render(),n)}),T,{before:function(){e._isMounted&&!e._isDestroyed&&Ht(e,"beforeUpdate")}},!0),n=!1,e):e}(this,0,t)},function(e){var t=e.extend;e.extend=function(e){e=e||{};var n=e.methods;return n&&Object.keys(n).forEach((function(t){-1!==Fn.indexOf(t)&&(e[t]=n[t],delete n[t])})),t.call(this,e)};var n=e.config.optionMergeStrategies,r=n.created;Fn.forEach((function(e){n[e]=r})),e.prototype.__lifecycle_hooks__=Fn}(vn),function(e){e.config.errorHandler=function(t,n,r){e.util.warn("Error in "+r+': "'+t.toString()+'"',n),console.error(t);var o="function"===typeof getApp&&getApp();o&&o.onError&&o.onError(t)};var t=e.prototype.$emit;e.prototype.$emit=function(e){if(this.$scope&&e){var n=this.$scope["_triggerEvent"]||this.$scope["triggerEvent"];if(n)try{n.call(this.$scope,e,{__args__:O(arguments,1)})}catch(r){}}return t.apply(this,arguments)},e.prototype.$nextTick=function(e){return En(this,e)},Ln.forEach((function(t){e.prototype[t]=function(e){return this.$scope&&this.$scope[t]?this.$scope[t](e):"undefined"!==typeof my?"createSelectorQuery"===t?my.createSelectorQuery(e):"createIntersectionObserver"===t?my.createIntersectionObserver(e):void 0:void 0}})),e.prototype.__init_provide=ot,e.prototype.__init_injections=it,e.prototype.__call_hook=function(e,t){var n=this;se();var r,o=n.$options[e],i=e+" hook";if(o)for(var a=0,s=o.length;a300;return{residenceTime:t,overtime:o}}if("page"===e){var i=t>1800;return{residenceTime:t,overtime:i}}return{residenceTime:t}},W=function(e){var t=g.reportInterval;if(0===Number(t))return 0;t=t||e;return/(^[1-9]\d*$)/.test(t)?Number(t):e}(10),J={uuid:function(e){return f.deviceId||k()}(),ak:S.appid,p:"android"===f.platform?"a":"i",ut:O(),mpn:function(){var t="";return"wx"!==O()&&"qq"!==O()||e.canIUse("getAccountInfoSync")&&(t=e.getAccountInfoSync().miniProgram.appId||""),O(),t}(),usv:"4.32",v:function(){return"n"===O()?plus.runtime.version:""}(),ch:function(){var e=O(),t="";return"n"===e&&(t=plus.runtime.channel),t}(),cn:"",pn:"",ct:"",t:F(),tt:"",brand:f.brand||"",md:f.model,sv:f.system.replace(/(Android|iOS)\s/,""),mpsdk:f.SDKVersion||"",mpv:f.version||"",lang:f.language,pr:f.pixelRatio,ww:f.windowWidth,wh:f.windowHeight,sw:f.screenWidth,sh:f.screenHeight},H=function(){"use strict";function t(){a(this,t),this.self="",this.__licationShow=!1,this.__licationHide=!1,this.statData=J,this._navigationBarTitle={config:"",page:"",report:"",lt:""},this._query={};var n="function"===typeof e.addInterceptor;n&&(this.addInterceptorInit(),this.interceptLogin(),this.interceptShare(!0),this.interceptRequestPayment())}return s(t,[{key:"addInterceptorInit",value:function(){var t=this;e.addInterceptor("setNavigationBarTitle",{invoke:function(e){t._navigationBarTitle.page=e.title}})}},{key:"interceptLogin",value:function(){var t=this;e.addInterceptor("login",{complete:function(){t._login()}})}},{key:"interceptShare",value:function(t){var n=this;t?e.addInterceptor("share",{success:function(){n._share()},fail:function(){n._share()}}):n._share()}},{key:"interceptRequestPayment",value:function(){var t=this;e.addInterceptor("requestPayment",{success:function(){t._payment("pay_success")},fail:function(){t._payment("pay_fail")}})}},{key:"_login",value:function(){this.sendEventRequest({key:"login"},0)}},{key:"_share",value:function(){this.sendEventRequest({key:"share"},0)}},{key:"_payment",value:function(e){this.sendEventRequest({key:e},0)}},{key:"applicationShow",value:function(){if(this.__licationHide){var t=$("app");if(t.overtime){var n=e.getStorageSync("_STAT_LAST_PAGE_ROUTE"),r={path:n,scene:this.statData.sc,cst:2};this.sendReportRequest(r)}this.__licationHide=!1}}},{key:"applicationHide",value:function(t,n){t||(t=E()),this.__licationHide=!0;var r=$(),o=T(t);e.setStorageSync("_STAT_LAST_PAGE_ROUTE",o),this.sendHideRequest({urlref:o,urlref_ts:r.residenceTime},n),V()}},{key:"pageShow",value:function(t){this._navigationBarTitle={config:"",page:"",report:"",lt:""};var n=T(t),r=I(t);if(this._navigationBarTitle.config=j(r),this.__licationShow)return V(),e.setStorageSync("_STAT_LAST_PAGE_ROUTE",n),void(this.__licationShow=!1);var o=$("page");if(o.overtime){var i={path:n,scene:this.statData.sc,cst:3};this.sendReportRequest(i)}V()}},{key:"pageHide",value:function(t){if(!this.__licationHide){var n=$("page"),r=T(t),o=e.getStorageSync("_STAT_LAST_PAGE_ROUTE");return o||(o=r),e.setStorageSync("_STAT_LAST_PAGE_ROUTE",r),void this.sendPageRequest({url:r,urlref:o,urlref_ts:n.residenceTime})}}},{key:"sendReportRequest",value:function(e,t){this._navigationBarTitle.lt="1",this._navigationBarTitle.config=j(e.path);var n=e.query&&"{}"!==JSON.stringify(e.query),r=n?"?"+JSON.stringify(e.query):"",o=function(){var e=h("__last__visit__time"),t=0;return e&&(t=e),d("__last__visit__time",F()),t}();if(0!==o||!o){var i=function(e){var t="";if("n"===O()){try{t=plus.device.uuid}catch(n){t=""}return t}return f.deviceId||k()}(),a=function(){var e=h("is_handle_device_id")||"";return d("is_handle_device_id","1"),"1"===e}();a||(this.statData.odid=i)}Object.assign(this.statData,{lt:"1",url:e.path+r||"",t:F(),sc:P(e.scene),fvts:U(),lvts:o,tvc:q(),cst:e.cst||1}),"n"===O()?this.getProperty(t):this.getNetworkInfo(t)}},{key:"sendPageRequest",value:function(e){var t=e.url,n=e.urlref,r=e.urlref_ts;this._navigationBarTitle.lt="11";var o={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"11",ut:this.statData.ut,url:t,tt:this.statData.tt,urlref:n,urlref_ts:r,ch:this.statData.ch,usv:this.statData.usv,t:F()};this.request(o)}},{key:"sendHideRequest",value:function(e,t){var n=e.urlref,r=e.urlref_ts,o={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"3",ut:this.statData.ut,urlref:n,urlref_ts:r,ch:this.statData.ch,usv:this.statData.usv,t:F()};this.request(o,t)}},{key:"sendEventRequest",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.key,n=void 0===t?"":t,r=e.value,o=void 0===r?"":r,i="";try{i=I()}catch(u){var a=h("__launch_options");i=a.path}this._navigationBarTitle.config=j(i),this._navigationBarTitle.lt="21";var s={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"21",ut:this.statData.ut,url:i,ch:this.statData.ch,e_n:n,e_v:"object"===c(o)?JSON.stringify(o):o.toString(),usv:this.statData.usv,t:F()};this.request(s)}},{key:"sendPushRequest",value:function(e,t){var n=this,r=F(),o={lt:"101",cid:t,t:r,ut:this.statData.ut};var i=D({101:[o]}),a={usv:"4.32",t:r,requests:i};"n"!==O()||"a"!==this.statData.p?this.sendRequest(a):setTimeout((function(){n.sendRequest(a)}),200)}},{key:"getProperty",value:function(e){var t=this;plus.runtime.getProperty(plus.runtime.appid,(function(n){t.statData.v=n.version||"",t.getNetworkInfo(e)}))}},{key:"getNetworkInfo",value:function(t){var n=this;e.getNetworkType({success:function(e){n.statData.net=e.networkType,n.getLocation(t)}})}},{key:"getLocation",value:function(t){var n=this;S.getLocation?e.getLocation({type:"wgs84",geocode:!0,success:function(e){e.address&&(n.statData.cn=e.address.country,n.statData.pn=e.address.province,n.statData.ct=e.address.city),n.statData.lat=e.latitude,n.statData.lng=e.longitude,n.request(n.statData,t)}}):(this.statData.lat=0,this.statData.lng=0,this.request(this.statData,t))}},{key:"request",value:function(e,t){var n=this,r=F(),o=this._navigationBarTitle;Object.assign(e,{ttn:o.page,ttpj:o.config,ttc:o.report});var i=h("__UNI__STAT__DATA")||{};i[e.lt]||(i[e.lt]=[]),i[e.lt].push(e),d("__UNI__STAT__DATA",i);var a=function(){return B=F(),M=h("__page__residence__time"),B-M}();if(!(a864e5&&R((function(t){var n=t.enable;e.setStorageSync("Report_Data_Time",o),e.setStorageSync("Report_Status",n)}))):R((function(n){var r=n.enable;e.setStorageSync("Report_Data_Time",o),e.setStorageSync("Report_Status",r),1===r&&t()}))}))}()}},{key:"sendRequest",value:function(t){if(e.__stat_uniCloud_space){var n=e.__stat_uniCloud_space.importObject("uni-stat-receiver",{customUI:!0});n.report(t).then((function(){0})).catch((function(e){0}))}else console.error("应用未关联服务空间,统计上报失败,请在uniCloud目录右键关联服务空间.")}},{key:"imageRequest",value:function(e){this.getIsReportData().then((function(){var t=new Image,n=function(e){var t=Object.keys(e),n=t.sort(),r={},o="";for(var i in n)r[n[i]]=e[n[i]],o+=n[i]+"="+e[n[i]]+"&";return{sign:"",options:o.substr(0,o.length-1)}}(function(e){var t={};for(var n in e)t[n]=encodeURIComponent(e[n]);return t}(e)).options;t.src="https://tongji.dcloud.io/uni/stat.gif?"+n}))}},{key:"sendEvent",value:function(e,t){(function(e,t){return e?"string"!==typeof e?(console.error("uni.report [eventName] Parameter type error, it can only be of type String"),!0):e.length>255?(console.error("uni.report [eventName] Parameter length cannot be greater than 255"),!0):"string"!==typeof t&&"object"!==c(t)?(console.error("uni.report [options] Parameter type error, Only supports String or Object type"),!0):"string"===typeof t&&t.length>255?(console.error("uni.report [options] Parameter length cannot be greater than 255"),!0):"title"===e&&"string"!==typeof t?(console.error("uni.report [eventName] When the parameter is title, the [options] parameter can only be of type String"),!0):void 0:(console.error("uni.report Missing [eventName] parameter"),!0)})(e,t)||("title"!==e?this.sendEventRequest({key:e,value:"object"===c(t)?JSON.stringify(t):t},1):this._navigationBarTitle.report=t)}}]),t}(),z=function(n){"use strict";r(i,n);var o=l(i);function i(){return a(this,i),o.call(this)}return s(i,[{key:"pushEvent",value:function(t){var n=this,r=function(){if(g.collectItems){var e=g.collectItems.uniPushClientID;return"boolean"===typeof e&&e}return!1}();e.getPushClientId&&r&&e.getPushClientId({success:function(e){var r=e.cid||!1;r&&n.sendPushRequest(t,r)}})}},{key:"launch",value:function(e,t){N(),this.__licationShow=!0,d("__launch_options",e),e.cst=1,this.sendReportRequest(e,!0)}},{key:"load",value:function(e,t){this.self=t,this._query=e}},{key:"appHide",value:function(e){this.applicationHide(e,!0)}},{key:"appShow",value:function(e){this.applicationShow(e)}},{key:"show",value:function(e){if(this.self=e,"page"===C(e)){var t=L();t&&this.pageShow(e)}"app"===C(e)&&this.appShow()}},{key:"hide",value:function(e){if(this.self=e,"page"===C(e)){var t=L();t&&this.pageHide(e)}"app"===C(e)&&this.appHide()}},{key:"error",value:function(e){var t="";t=e.message?e.stack:JSON.stringify(e);var n="";try{n=get_route()}catch(o){n=""}var r={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"31",url:n,ut:this.statData.ut,ch:this.statData.ch,mpsdk:this.statData.mpsdk,mpv:this.statData.mpv,v:this.statData.v,em:t,usv:this.statData.usv,t:parseInt((new Date).getTime()/1e3)};this.request(r)}}],[{key:"getInstance",value:function(){e.__stat_instance||(e.__stat_instance=new i);var n=function(e){var t=function(){return{}||{}}(),n=t.spaceId,r=t.provider,o=t.clientSecret,i=t.secretKey,a=t.secretId,s=-1!==["tcb","tencent","aliyun","alipay"].indexOf(r),c="aliyun"===r&&n&&o,u=("tcb"===r||"tencent"===r)&&n,l="alipay"===r&&n&&i&&a;return s&&(c||u||l)?t:e&&e.spaceId?e:null}(t.config);if(!e.__stat_uniCloud_space)if(n&&0!==Object.keys(n).length){var r={provider:n.provider,spaceId:n.spaceId,clientSecret:n.clientSecret};n.endpoint&&(r.endpoint=n.endpoint),"alipay"===n.provider&&(r.secretKey=n.secretKey,r.accessKey=n.accessKey||n.secretId,r.spaceAppId=n.spaceAppId||n.appId),e.__stat_uniCloud_space=t.init(r)}else console.error("应用未关联服务空间,请在uniCloud目录右键关联服务空间");return e.__stat_instance}}]),i}(H),K=z,Q=K.getInstance(),G=!1,Y={onLaunch:function(e){Q.launch(e,this),Q.pushEvent(e)},onLoad:function(e){if(Q.load(e,this),this.$scope&&this.$scope.onShareAppMessage){var t=this.$scope.onShareAppMessage;this.$scope.onShareAppMessage=function(e){return Q.interceptShare(!1),t.call(this,e)}}},onShow:function(){G=!1,Q.show(this)},onHide:function(){G=!0,Q.hide(this)},onUnload:function(){G?G=!1:Q.hide(this)},onError:function(e){Q.error(e)}};function X(){var t=n("3240");(t.default||t).mixin(Y),e.report=function(e,t){Q.sendEvent(e,t)}}(function(){X()})()}).call(this,n("df3c")["default"],n("861b")["default"])},"3d3d":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getUserLocalStorageInfo=function(){var t=JSON.parse(e.getStorageSync("laocui_user_info"));return t}}).call(this,n("df3c")["default"])},"3e21":function(e,t,n){"use strict";var r=n("7d11");e.exports=Function.prototype.bind||r},"47a9":function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports["default"]=e.exports},"48d2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={appid:"__UNI__8C5F0F6"}},4965:function(e,t){e.exports=function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"===typeof e}},e.exports.__esModule=!0,e.exports["default"]=e.exports},4985:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.addInterview=function(e){return i.default.post("/wx/interviewEscalation/add",e,{})},t.addRectificationManagement=function(e){return i.default.post("/wx/RectificationController/addRectificationManagement",e,{})},t.addRepair=function(e){return i.default.post("/wx/repair/add",e,{})},t.addSafetySelfCheckingManage=function(e){return i.default.post("/wx/SafetyController/addSafetySelfCheckingManage",e,{})},t.addSafetySelfCheckingPlan=function(e){return i.default.post("/wx/SafetyController/addSafetySelfCheckingPlan",function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=this.getDefault(t,r,"data");return o.data=n,new Promise((function(t,n){e.getRequest("POST",o,(function(r,i){if(r&&o.isFactory&&e.dataFactory){var a=e.dataFactory(o,i);return t(a.result)}r?t(i):n(i)}))}))}},{key:"get",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=this.getDefault(t,r,"data");return o.data=n,new Promise((function(t,n){e.getRequest("GET",o,(function(r,i){if(r&&o.isFactory&&e.dataFactory){var a=e.dataFactory(o,i);a.success?t(a.result):n(a.result)}else r?t(i):n(i)}))}))}},{key:"put",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=this.getDefault(t,r,"data");return o.data=n,new Promise((function(t,n){e.getRequest("PUT",o,(function(r,i){if(r&&o.isFactory&&e.dataFactory){var a=e.dataFactory(o,i);a.success?t(a.result):n(a.result)}else r?t(i):n(i)}))}))}},{key:"delete",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=this.getDefault(t,r,"data");return o.data=n,new Promise((function(t,n){e.getRequest("DELETE",o,(function(r,i){if(r&&o.isFactory&&e.dataFactory){var a=e.dataFactory(o,i);a.success?t(a.result):n(a.result)}else r?t(i):n(i)}))}))}},{key:"getRequest",value:function(t,n,r){var i=this;if(this.requestStart){n.method=t;var a=this.requestStart(n);if("object"!=(0,o.default)(a))return void r(!1,"请求开始拦截器未通过");n.data=a.data,n.headers=a.headers,n.isPrompt=a.isPrompt,n.load=a.load,n.isFactory=a.isFactory}e.request({url:n.httpUrl,data:n.data,method:t,header:n.headers,success:function(e){i.requestEnd&&i.requestEnd(n,e),r(!0,e)},fail:function(e){i.requestEnd&&i.requestEnd(n,e),r(!1,e)}})}},{key:"jsonp",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getDefault(e,n,"data"),i="";Object.keys(t).forEach((function(e){i+=e+"="+t[e]+"&"})),""!==i&&(i=i.substr(0,i.lastIndexOf("&"))),r.httpUrl=r.httpUrl+"?"+i;var a=this;return new Promise((function(e,n){var i="callback"+Math.ceil(1e6*Math.random());if(a.requestStart){r.data=t;var s=a.requestStart(r);if("object"!=(0,o.default)(s))return void n("请求开始拦截器未通过");r.data=s.data,r.headers=s.headers,r.isPrompt=s.isPrompt,r.load=s.load,r.isFactory=s.isFactory}window[i]=function(t){e(t)};var c=document.createElement("script");c.src=r.httpUrl+"&callback="+i,document.head.appendChild(c),document.head.removeChild(c),a.requestEnd&&a.requestEnd(r,{})}))}},{key:"urlImgUpload",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=this.getDefault(t,r,"file");o.data=n;var i=this;return new Promise((function(t,r){e.chooseImage({count:n.count||9,sizeType:n.sizeType||["original","compressed"],sourceType:n.sourceType||["album","camera"],success:function(e){i.urlFileUpload(o,e.tempFiles,(function(e,n){e?t(n):r(n)}))}})}))}},{key:"urlFileUpload",value:function(t,n,r){var i=this;if(this.requestStart){t.method="FILE";var a=this.requestStart(t);if("object"==(0,o.default)(a)){if("object"!=(0,o.default)(a))return void r(!1,"请求开始拦截器未通过");t.data=a.data,t.headers=a.headers,t.isPrompt=a.isPrompt,t.load=a.load,t.isFactory=a.isFactory}}var s=n.length-1,c=new Array;(function o(a){var u={url:t.httpUrl,filePath:n[a].path,header:t.headers,name:t.name||"file",success:function(e){if(e.data=JSON.parse(e.data),i.requestEnd&&i.requestEnd(t,e),t.isFactory&&i.dataFactory){var n=i.dataFactory(t,e);n.success?(c.push(n.result),s<=a?r(!0,c):o(a+1)):r(!1,n.result)}else c.push(e.data),s<=a?r(!0,c):o(a+1)},fail:function(e){i.requestEnd&&i.requestEnd(t,e),r(!1,e)}};t.data&&(u.formData=t.data);e.uploadFile(u)})(0)}}]),t}();t.default=s}).call(this,n("df3c")["default"])},"52c2":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAACl9JREFUWEetWW1QVOcVft67u9zdZYFdYReMRDAIqPGLEUo00QiYCEYTbTQ/2thMmjhpqp026TSNnbFDzY+o+dE/iYmjYz5ME9uEpJNaFu2wKMaIihJFEQU0fhDZXUD2++vufTvvXRd3BXbv2p6ZnQv3nvOc5z33/TjnXIL/QVpabDoEyVIaxmJwdC4opgPIBSE6BkspdRHABuAKJegAIce4NNpSVWVy369bch+GxGK21VFCNhDQWoCoU8OgfkphJsCe1hM7m+rr68VU7FMhTFoah56lnPgWgBmpOJlIl1J0AbS+ps70JXshcjBlEW5psk2nlOwGwVI5oKnqUKBFydFXHn/S1JPMNinh5qbB9aDiB4QQbSIwx/BNXL/8HVwjA1BrsjC1ZCFyJpck8z/6nIJ6APpqTW3uvkRGExKur6/nllRu3AaCPyQCcI3cQsfRfejvOzVGrXjucswsfxpD1j5odTnIzisCIVyyQexobXtv80Rze1zCEtlHNu0G6C8ToV/pOox2y26EhWAyEtJzfU4BHln+GxiMBUn0yd7Wtnc3jEd6XMKWJvt2AG8kQj3f9gU62/4hi2isklKlxuPPbIYpf1ZiW4p3quuMYziMIczmLAH9JBHa5e/NOH14b8pkowYqPh21P9sOXVZuQgwK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3plWcpPj+Wl/lja01x65NPdHf6BcPXEkDBFUyui3sPFAhbQ6pLcqpRM4hQK3yWcm2Rp6/h4/19JldWUX18E/INEtLwsLBzf8/tG/15zPcpXbGDhqCuTe1mW6Hg4lovenhnfMkv7R8ZX/x4VrKvjzEsSSdvEgRTey8w3Ai/YGAdW2CQCFgaZzEl1gbTgQHXQSkFeJ+AcQNc4YAeSPBFwoEqAyoTlBIjWSxy5058AfHDSv729UHjjXtTDhtcTA4eGWsZcCxmfENAbN9i0qsAvzLx7xDUuJLVtGDgMVCrIFG0GsIFAy2oBiH2cIZnseUfiLv9MvpoGrnZa+m8DbU+RTG3wKQ2Zi1McTLju/BtJxqR6qs8qcNLlbeT+OeBGVEti8x9q9mtLhchgzwAAAABJRU5ErkJggg=="},5844:function(e,t,n){"use strict";var r=n("3e21"),o=n("edaa"),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||r.call(a,i),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),l=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(p){u=null}e.exports=function(e){var t=s(r,a,arguments);if(c&&u){var n=c(t,"length");n.configurable&&u(t,"length",{value:1+l(0,e.length-(arguments.length-1))})}return t};var f=function(){return s(r,i,arguments)};u?u(e.exports,"apply",{value:f}):e.exports.apply=f},"5df5":function(e,t,n){"use strict";var r=n("3e21");e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},"5e00":function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g,i={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:i.RFC3986,formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return String(e)}},RFC1738:i.RFC1738,RFC3986:i.RFC3986}},"62ad":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n("77aa"),i=o.BASE_URI;r=e.getSystemInfoSync().brand+" "+e.getSystemInfoSync().model;var a={device:r,version:"1.0",platform:"wxmini",key:"53ea64b17287b1f7323e9f29870af813",baseUrl:i};t.default=a}).call(this,n("df3c")["default"])},6382:function(e,t,n){var r=n("6454");e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports["default"]=e.exports},6454:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1?o(n):n}},"828b":function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s,c,u){var l,f="function"===typeof e?e.options:e;if(c){f.components||(f.components={});var p=Object.prototype.hasOwnProperty;for(var d in c)p.call(c,d)&&!p.call(f.components,d)&&(f.components[d]=c[d])}if(u&&("function"===typeof u.beforeCreate&&(u.beforeCreate=[u.beforeCreate]),(u.beforeCreate||(u.beforeCreate=[])).unshift((function(){this[u.__module]=this})),(f.mixins||(f.mixins=[])).push(u)),t&&(f.render=t,f.staticRenderFns=n,f._compiled=!0),r&&(f.functional=!0),i&&(f._scopeId="data-v-"+i),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},f._ssrRegister=l):o&&(l=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(f.functional){f._injectStyles=l;var h=f.render;f.render=function(e,t){return l.call(t),h(e,t)}}else{var v=f.beforeCreate;f.beforeCreate=v?[].concat(v,l):[l]}return{exports:e,options:f}}n.d(t,"a",(function(){return r}))},"861b":function(e,t,n){"use strict";(function(e,r,o){var i=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UniCloudError=void 0;var a=i(n("7eb4")),s=i(n("3352")),c=i(n("34cf")),u=i(n("3b2d")),l=i(n("af34")),f=i(n("ee10")),p=i(n("7ca3")),d=i(n("8ffa")),h=i(n("4ffb")),v=i(n("b4d2")),g=i(n("7ce1")),y=i(n("67ad")),m=i(n("0bdb")),w=i(n("aef3"));function b(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n>>2]>>>24-i%4*8&255;t[r+i>>>2]|=a<<24-(r+i)%4*8}else for(i=0;i>>2]=n[i>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=i.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,r=[],o=function(t){t=t;var n=987654321,r=4294967295;return function(){var o=((n=36969*(65535&n)+(n>>16)&r)<<16)+(t=18e3*(65535&t)+(t>>16)&r)&r;return o/=4294967296,(o+=.5)*(e.random()>.5?1:-1)}},i=0;i>>2]>>>24-o%4*8&255;r.push((i>>>4).toString(16)),r.push((15&i).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new a.init(n,t/2)}},u=s.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],o=0;o>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(i))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new a.init(n,t)}},l=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},f=o.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,r=n.words,o=n.sigBytes,i=this.blockSize,s=o/(4*i),c=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*i,u=e.min(4*c,o);if(c){for(var l=0;l>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,a=e[t+0],c=e[t+1],d=e[t+2],h=e[t+3],v=e[t+4],g=e[t+5],y=e[t+6],m=e[t+7],w=e[t+8],b=e[t+9],x=e[t+10],_=e[t+11],A=e[t+12],k=e[t+13],S=e[t+14],O=e[t+15],P=i[0],I=i[1],T=i[2],E=i[3];P=u(P,I,T,E,a,7,s[0]),E=u(E,P,I,T,c,12,s[1]),T=u(T,E,P,I,d,17,s[2]),I=u(I,T,E,P,h,22,s[3]),P=u(P,I,T,E,v,7,s[4]),E=u(E,P,I,T,g,12,s[5]),T=u(T,E,P,I,y,17,s[6]),I=u(I,T,E,P,m,22,s[7]),P=u(P,I,T,E,w,7,s[8]),E=u(E,P,I,T,b,12,s[9]),T=u(T,E,P,I,x,17,s[10]),I=u(I,T,E,P,_,22,s[11]),P=u(P,I,T,E,A,7,s[12]),E=u(E,P,I,T,k,12,s[13]),T=u(T,E,P,I,S,17,s[14]),P=l(P,I=u(I,T,E,P,O,22,s[15]),T,E,c,5,s[16]),E=l(E,P,I,T,y,9,s[17]),T=l(T,E,P,I,_,14,s[18]),I=l(I,T,E,P,a,20,s[19]),P=l(P,I,T,E,g,5,s[20]),E=l(E,P,I,T,x,9,s[21]),T=l(T,E,P,I,O,14,s[22]),I=l(I,T,E,P,v,20,s[23]),P=l(P,I,T,E,b,5,s[24]),E=l(E,P,I,T,S,9,s[25]),T=l(T,E,P,I,h,14,s[26]),I=l(I,T,E,P,w,20,s[27]),P=l(P,I,T,E,k,5,s[28]),E=l(E,P,I,T,d,9,s[29]),T=l(T,E,P,I,m,14,s[30]),P=f(P,I=l(I,T,E,P,A,20,s[31]),T,E,g,4,s[32]),E=f(E,P,I,T,w,11,s[33]),T=f(T,E,P,I,_,16,s[34]),I=f(I,T,E,P,S,23,s[35]),P=f(P,I,T,E,c,4,s[36]),E=f(E,P,I,T,v,11,s[37]),T=f(T,E,P,I,m,16,s[38]),I=f(I,T,E,P,x,23,s[39]),P=f(P,I,T,E,k,4,s[40]),E=f(E,P,I,T,a,11,s[41]),T=f(T,E,P,I,h,16,s[42]),I=f(I,T,E,P,y,23,s[43]),P=f(P,I,T,E,b,4,s[44]),E=f(E,P,I,T,A,11,s[45]),T=f(T,E,P,I,O,16,s[46]),P=p(P,I=f(I,T,E,P,d,23,s[47]),T,E,a,6,s[48]),E=p(E,P,I,T,m,10,s[49]),T=p(T,E,P,I,S,15,s[50]),I=p(I,T,E,P,g,21,s[51]),P=p(P,I,T,E,A,6,s[52]),E=p(E,P,I,T,h,10,s[53]),T=p(T,E,P,I,x,15,s[54]),I=p(I,T,E,P,c,21,s[55]),P=p(P,I,T,E,w,6,s[56]),E=p(E,P,I,T,O,10,s[57]),T=p(T,E,P,I,y,15,s[58]),I=p(I,T,E,P,k,21,s[59]),P=p(P,I,T,E,v,6,s[60]),E=p(E,P,I,T,_,10,s[61]),T=p(T,E,P,I,d,15,s[62]),I=p(I,T,E,P,b,21,s[63]),i[0]=i[0]+P|0,i[1]=i[1]+I|0,i[2]=i[2]+T|0,i[3]=i[3]+E|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;n[o>>>5]|=128<<24-o%32;var i=e.floor(r/4294967296),a=r;n[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,c=s.words,u=0;u<4;u++){var l=c[u];c[u]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return s},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function u(e,t,n,r,o,i,a){var s=e+(t&n|~t&r)+o+a;return(s<>>32-i)+t}function l(e,t,n,r,o,i,a){var s=e+(t&r|n&~r)+o+a;return(s<>>32-i)+t}function f(e,t,n,r,o,i,a){var s=e+(t^n^r)+o+a;return(s<>>32-i)+t}function p(e,t,n,r,o,i,a){var s=e+(n^(t|~r))+o+a;return(s<>>32-i)+t}t.MD5=i._createHelper(c),t.HmacMD5=i._createHmacHelper(c)}(Math),n.MD5)})),S((function(e,t){var n;e.exports=(n=P,void function(){var e=n,t=e.lib.Base,r=e.enc.Utf8;e.algo.HMAC=t.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var n=e.blockSize,o=4*n;t.sigBytes>o&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),a=this._iKey=t.clone(),s=i.words,c=a.words,u=0;u>>6-a%4*2;o[i>>>2]|=(s|c)<<24-i%4*8,i++}return t.create(o,i)}e.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var o=[],i=0;i>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;s<4&&i+.75*s>>6*(3-s)&63));var c=r.charAt(64);if(c)for(;o.length%4;)o.push(c);return o.join("")},parse:function(e){var t=e.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},n=t.createPromise,r=t.retryRule,o=void 0===r?N:r;(0,y.default)(this,e),this.createPromise=n,this.status=null,this.promise=null,this.retryRule=o}return(0,m.default)(e,[{key:"needRetry",get:function(){if(!this.status)return!0;switch(this.retryRule){case N:return this.status===L;case q:return this.status!==j}}},{key:"exec",value:function(){var e=this;return this.needRetry?(this.status=j,this.promise=this.createPromise().then((function(t){return e.status=R,Promise.resolve(t)}),(function(t){return e.status=L,Promise.reject(t)})),this.promise):this.promise}}]),e}();function $(e){return e&&"string"==typeof e?JSON.parse(e):e}var W="mp-weixin",J=$([]),H=W,z=($(void 0),$([])||[]);try{(n("48d2").default||n("48d2")).appid}catch(br){}var K={};function Q(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=K,n=e,Object.prototype.hasOwnProperty.call(t,n)||(K[e]=r),K[e]}"app"===H&&(K=r._globalUniCloudObj?r._globalUniCloudObj:r._globalUniCloudObj={});var G=["invoke","success","fail","complete"],Y=Q("_globalUniCloudInterceptor");function X(e,t){Y[e]||(Y[e]={}),U(t)&&Object.keys(t).forEach((function(n){G.indexOf(n)>-1&&function(e,t,n){var r=Y[e][t];r||(r=Y[e][t]=[]),-1===r.indexOf(n)&&M(n)&&r.push(n)}(e,n,t[n])}))}function Z(e,t){Y[e]||(Y[e]={}),U(t)?Object.keys(t).forEach((function(n){G.indexOf(n)>-1&&function(e,t,n){var r=Y[e][t];if(r){var o=r.indexOf(n);o>-1&&r.splice(o,1)}}(e,n,t[n])})):delete Y[e]}function ee(e,t){return e&&0!==e.length?e.reduce((function(e,n){return e.then((function(){return n(t)}))}),Promise.resolve()):Promise.resolve()}function te(e,t){return Y[e]&&Y[e][t]||[]}function ne(e){X("callObject",e)}var re=Q("_globalUniCloudListener"),oe="response",ie="needLogin",ae="refreshToken",se="clientdb",ce="cloudfunction",ue="cloudobject";function le(e){return re[e]||(re[e]=[]),re[e]}function fe(e,t){var n=le(e);n.includes(t)||n.push(t)}function pe(e,t){var n=le(e),r=n.indexOf(t);-1!==r&&n.splice(r,1)}function de(e,t){for(var n=le(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:0;if(!(e>=10))return e++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(e):this.cause}}}]),n}((0,g.default)(Error));t.UniCloudError=me;var we,be,xe={request:function(e){return r.request(e)},uploadFile:function(e){return r.uploadFile(e)},setStorageSync:function(e,t){return r.setStorageSync(e,t)},getStorageSync:function(e){return r.getStorageSync(e)},removeStorageSync:function(e){return r.removeStorageSync(e)},clearStorageSync:function(){return r.clearStorageSync()},connectSocket:function(e){return r.connectSocket(e)}};function _e(){return{token:xe.getStorageSync("uni_id_token")||xe.getStorageSync("uniIdToken"),tokenExpired:xe.getStorageSync("uni_id_token_expired")}}function Ae(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.token,n=e.tokenExpired;t&&xe.setStorageSync("uni_id_token",t),n&&xe.setStorageSync("uni_id_token_expired",n)}function ke(){return we||(we=r.getSystemInfoSync()),we}var Se={};function Oe(){var e=r.getLocale&&r.getLocale()||"en";if(be)return A(A(A({},Se),be),{},{locale:e,LOCALE:e});var t=ke(),n=t.deviceId,o=t.osName,i=t.uniPlatform,a=t.appId,s=["appId","appLanguage","appName","appVersion","appVersionCode","appWgtVersion","browserName","browserVersion","deviceBrand","deviceId","deviceModel","deviceType","osName","osVersion","romName","romVersion","ua","hostName","hostVersion","uniPlatform","uniRuntimeVersion","uniRuntimeVersionCode","uniCompilerVersion","uniCompilerVersionCode"];for(var c in t)Object.hasOwnProperty.call(t,c)&&-1===s.indexOf(c)&&delete t[c];return be=A(A({PLATFORM:i,OS:o,APPID:a,DEVICEID:n},function(){var e,t;try{if(r.getLaunchOptionsSync){if(r.getLaunchOptionsSync.toString().indexOf("not yet implemented")>-1)return;var n=r.getLaunchOptionsSync(),o=n.scene,i=n.channel;e=i,t=o}}catch(e){}return{channel:e,scene:t}}()),t),A(A(A({},Se),be),{},{locale:e,LOCALE:e})}var Pe,Ie={sign:function(e,t){var n="";return Object.keys(e).sort().forEach((function(t){e[t]&&(n=n+"&"+t+"="+e[t])})),n=n.slice(1),I(n,t).toString()},wrappedRequest:function(e,t){return new Promise((function(n,r){t(Object.assign(e,{complete:function(e){e||(e={});var t=e.data&&e.data.header&&e.data.header["x-serverless-request-id"]||e.header&&e.header["request-id"];if(!e.statusCode||e.statusCode>=400){var o=e.data&&e.data.error&&e.data.error.code||"SYS_ERR",i=e.data&&e.data.error&&e.data.error.message||e.errMsg||"request:fail";return r(new me({code:o,message:i,requestId:t}))}var a=e.data;if(a.error)return r(new me({code:a.error.code,message:a.error.message,requestId:t}));a.result=a.data,a.requestId=t,delete a.data,n(a)}}))}))},toBase64:function(e){return E.stringify(T.parse(e))}},Te=function(){function e(t){var n=this;(0,y.default)(this,e),["spaceId","clientSecret"].forEach((function(e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new Error("".concat(e," required"))})),this.config=Object.assign({},{endpoint:0===t.spaceId.indexOf("mp-")?"https://api.next.bspapp.com":"https://api.bspapp.com"},t),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=xe,this._getAccessTokenPromiseHub=new V({createPromise:function(){return n.requestAuth(n.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then((function(e){if(!e.result||!e.result.accessToken)throw new me({code:"AUTH_FAILED",message:"获取accessToken失败"});n.setAccessToken(e.result.accessToken)}))},retryRule:q})}return(0,m.default)(e,[{key:"hasAccessToken",get:function(){return!!this.accessToken}},{key:"setAccessToken",value:function(e){this.accessToken=e}},{key:"requestWrapped",value:function(e){return Ie.wrappedRequest(e,this.adapter.request)}},{key:"requestAuth",value:function(e){return this.requestWrapped(e)}},{key:"request",value:function(e,t){var n=this;return Promise.resolve().then((function(){return n.hasAccessToken?t?n.requestWrapped(e):n.requestWrapped(e).catch((function(t){return new Promise((function(e,n){!t||"GATEWAY_INVALID_TOKEN"!==t.code&&"InvalidParameter.InvalidToken"!==t.code?n(t):e()})).then((function(){return n.getAccessToken()})).then((function(){var t=n.rebuildRequest(e);return n.request(t,!0)}))})):n.getAccessToken().then((function(){var t=n.rebuildRequest(e);return n.request(t,!0)}))}))}},{key:"rebuildRequest",value:function(e){var t=Object.assign({},e);return t.data.token=this.accessToken,t.header["x-basement-token"]=this.accessToken,t.header["x-serverless-sign"]=Ie.sign(t.data,this.config.clientSecret),t}},{key:"setupRequest",value:function(e,t){var n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),r={"Content-Type":"application/json"};return"auth"!==t&&(n.token=this.accessToken,r["x-basement-token"]=this.accessToken),r["x-serverless-sign"]=Ie.sign(n,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:r}}},{key:"getAccessToken",value:function(){return this._getAccessTokenPromiseHub.exec()}},{key:"authorize",value:function(){var e=(0,f.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.getAccessToken();case 2:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"callFunction",value:function(e){var t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(A(A({},this.setupRequest(t)),{},{timeout:e.timeout}))}},{key:"getOSSUploadOptionsFromPath",value:function(e){var t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}},{key:"uploadFileToOSS",value:function(e){var t=this,n=e.url,r=e.formData,o=e.name,i=e.filePath,a=e.fileType,s=e.onUploadProgress;return new Promise((function(e,c){var u=t.adapter.uploadFile({url:n,formData:r,name:o,filePath:i,fileType:a,header:{"X-OSS-server-side-encrpytion":"AES256"},success:function(t){t&&t.statusCode<400?e(t):c(new me({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail:function(e){c(new me({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof s&&u&&"function"==typeof u.onProgressUpdate&&u.onProgressUpdate((function(e){s({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}},{key:"reportOSSUpload",value:function(e){var t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}},{key:"uploadFile",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r,o,i,s,c,u,l,f,p,d,h,v,g,y,m,w,b,x,_,A,k;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.filePath,r=t.cloudPath,o=t.fileType,i=void 0===o?"image":o,s=t.cloudPathAsRealPath,c=void 0!==s&&s,u=t.onUploadProgress,l=t.config,"string"===F(r)){e.next=3;break}throw new me({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});case 3:if(r=r.trim()){e.next=5;break}throw new me({code:"INVALID_PARAM",message:"cloudPath不可为空"});case 5:if(!/:\/\//.test(r)){e.next=7;break}throw new me({code:"INVALID_PARAM",message:"cloudPath不合法"});case 7:if(f=l&&l.envType||this.config.envType,!(c&&("/"!==r[0]&&(r="/"+r),r.indexOf("\\")>-1))){e.next=10;break}throw new me({code:"INVALID_PARAM",message:"使用cloudPath作为路径时,cloudPath不可包含“\\”"});case 10:return e.next=12,this.getOSSUploadOptionsFromPath({env:f,filename:c?r.split("/").pop():r,fileId:c?r:void 0});case 12:return p=e.sent.result,d="https://"+p.cdnDomain+"/"+p.ossPath,h=p.securityToken,v=p.accessKeyId,g=p.signature,y=p.host,m=p.ossPath,w=p.id,b=p.policy,x=p.ossCallbackUrl,_={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:v,Signature:g,host:y,id:w,key:m,policy:b,success_action_status:200},h&&(_["x-oss-security-token"]=h),x&&(A=JSON.stringify({callbackUrl:x,callbackBody:JSON.stringify({fileId:w,spaceId:this.config.spaceId}),callbackBodyType:"application/json"}),_.callback=Ie.toBase64(A)),k={url:"https://"+p.host,formData:_,fileName:"file",name:"file",filePath:n,fileType:i},e.next=27,this.uploadFileToOSS(Object.assign({},k,{onUploadProgress:u}));case 27:if(!x){e.next=29;break}return e.abrupt("return",{success:!0,filePath:n,fileID:d});case 29:return e.next=31,this.reportOSSUpload({id:w});case 31:if(!e.sent.success){e.next=33;break}return e.abrupt("return",{success:!0,filePath:n,fileID:d});case 33:throw new me({code:"UPLOAD_FAILED",message:"文件上传失败"});case 34:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getTempFileURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fileList;return new Promise((function(e,n){Array.isArray(t)&&0!==t.length||n(new me({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"})),e({fileList:t.map((function(e){return{fileID:e,tempFileURL:e}}))})}))}},{key:"getFileInfo",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t,n,r,o=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=o.length>0&&void 0!==o[0]?o[0]:{},n=t.fileList,Array.isArray(n)&&0!==n.length){e.next=3;break}throw new me({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});case 3:return r={method:"serverless.file.resource.info",params:JSON.stringify({id:n.map((function(e){return e.split("?")[0]})).join(",")})},e.next=6,this.request(this.setupRequest(r));case 6:return e.t0=e.sent.result,e.abrupt("return",{fileList:e.t0});case 8:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()}]),e}(),Ee={init:function(e){var t=new Te(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}},Ce="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";!function(e){e.local="local",e.none="none",e.session="session"}(Pe||(Pe={}));var De,je=function(){},Re=S((function(e,t){var n;e.exports=(n=P,function(e){var t=n,r=t.lib,o=r.WordArray,i=r.Hasher,a=t.algo,s=[],c=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,o=0;o<64;)t(r)&&(o<8&&(s[o]=n(e.pow(r,.5))),c[o]=n(e.pow(r,1/3)),o++),r++}();var u=[],l=a.SHA256=i.extend({_doReset:function(){this._hash=new o.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],l=n[5],f=n[6],p=n[7],d=0;d<64;d++){if(d<16)u[d]=0|e[t+d];else{var h=u[d-15],v=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,g=u[d-2],y=(g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10;u[d]=v+u[d-7]+y+u[d-16]}var m=r&o^r&i^o&i,w=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),b=p+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&l^~s&f)+c[d]+u[d];p=f,f=l,l=s,s=a+b|0,a=i,i=o,o=r,r=b+(w+m)|0}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0,n[5]=n[5]+l|0,n[6]=n[6]+f|0,n[7]=n[7]+p|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,o=8*t.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=e.floor(r/4294967296),n[15+(o+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(l),t.HmacSHA256=i._createHmacHelper(l)}(Math),n.SHA256)})),Le=Re,Fe=S((function(e,t){e.exports=P.HmacSHA256})),Ue=function(){var e;if(!Promise){e=function(){},e.promise={};var t=function(){throw new me({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(e.promise,"then",{get:t}),Object.defineProperty(e.promise,"catch",{get:t}),e}var n=new Promise((function(t,n){e=function(e,r){return e?n(e):t(r)}}));return e.promise=n,e};function Me(e){return void 0===e}function Be(e){return"[object Null]"===Object.prototype.toString.call(e)}!function(e){e.WEB="web",e.WX_MP="wx_mp"}(De||(De={}));var Ne={adapter:null,runtime:void 0},qe=["anonymousUuidKey"],Ve=function(e){(0,d.default)(n,e);var t=k(n);function n(){var e;return(0,y.default)(this,n),e=t.call(this),Ne.adapter.root.tcbObject||(Ne.adapter.root.tcbObject={}),e}return(0,m.default)(n,[{key:"setItem",value:function(e,t){Ne.adapter.root.tcbObject[e]=t}},{key:"getItem",value:function(e){return Ne.adapter.root.tcbObject[e]}},{key:"removeItem",value:function(e){delete Ne.adapter.root.tcbObject[e]}},{key:"clear",value:function(){delete Ne.adapter.root.tcbObject}}]),n}(je);function $e(e,t){switch(e){case"local":return t.localStorage||new Ve;case"none":return new Ve;default:return t.sessionStorage||new Ve}}var We=function(){function e(t){if((0,y.default)(this,e),!this._storage){this._persistence=Ne.adapter.primaryStorage||t.persistence,this._storage=$e(this._persistence,Ne.adapter);var n="access_token_".concat(t.env),r="access_token_expire_".concat(t.env),o="refresh_token_".concat(t.env),i="anonymous_uuid_".concat(t.env),a="login_type_".concat(t.env),s="user_info_".concat(t.env);this.keys={accessTokenKey:n,accessTokenExpireKey:r,refreshTokenKey:o,anonymousUuidKey:i,loginTypeKey:a,userInfoKey:s}}}return(0,m.default)(e,[{key:"updatePersistence",value:function(e){if(e!==this._persistence){var t="local"===this._persistence;this._persistence=e;var n=$e(e,Ne.adapter);for(var r in this.keys){var o=this.keys[r];if(!t||!qe.includes(r)){var i=this._storage.getItem(o);Me(i)||Be(i)||(n.setItem(o,i),this._storage.removeItem(o))}}this._storage=n}}},{key:"setStore",value:function(e,t,n){if(this._storage){var r={version:n||"localCachev1",content:t},o=JSON.stringify(r);try{this._storage.setItem(e,o)}catch(e){throw e}}}},{key:"getStore",value:function(e,t){try{if(!this._storage)return}catch(e){return""}t=t||"localCachev1";var n=this._storage.getItem(e);return n&&n.indexOf(t)>=0?JSON.parse(n).content:""}},{key:"removeStore",value:function(e){this._storage.removeItem(e)}}]),e}(),Je={},He={};function ze(e){return Je[e]}var Ke=(0,m.default)((function e(t,n){(0,y.default)(this,e),this.data=n||null,this.name=t})),Qe=function(e){(0,d.default)(n,e);var t=k(n);function n(e,r){var o;return(0,y.default)(this,n),o=t.call(this,"error",{error:e,data:r}),o.error=e,o}return(0,m.default)(n)}(Ke),Ge=new(function(){function e(){(0,y.default)(this,e),this._listeners={}}return(0,m.default)(e,[{key:"on",value:function(e,t){return function(e,t,n){n[e]=n[e]||[],n[e].push(t)}(e,t,this._listeners),this}},{key:"off",value:function(e,t){return function(e,t,n){if(n&&n[e]){var r=n[e].indexOf(t);-1!==r&&n[e].splice(r,1)}}(e,t,this._listeners),this}},{key:"fire",value:function(e,t){if(e instanceof Qe)return console.error(e.error),this;var n="string"==typeof e?new Ke(e,t||{}):e,r=n.name;if(this._listens(r)){n.target=this;var o,i=this._listeners[r]?(0,l.default)(this._listeners[r]):[],a=b(i);try{for(a.s();!(o=a.n()).done;){var s=o.value;s.call(this,n)}}catch(c){a.e(c)}finally{a.f()}}return this}},{key:"_listens",value:function(e){return this._listeners[e]&&this._listeners[e].length>0}}]),e}());function Ye(e,t){Ge.on(e,t)}function Xe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Ge.fire(e,t)}function Ze(e,t){Ge.off(e,t)}var et,tt="loginStateChanged",nt="loginStateExpire",rt="loginTypeChanged",ot="anonymousConverted",it="refreshAccessToken";!function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.NULL="NULL"}(et||(et={}));var at=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],st={"X-SDK-Version":"1.3.5"};function ct(e,t,n){var r=e[t];e[t]=function(t){var o={},i={};n.forEach((function(n){var r=n.call(e,t),a=r.data,s=r.headers;Object.assign(o,a),Object.assign(i,s)}));var a=t.data;return a&&function(){var e;if(e=a,"[object FormData]"!==Object.prototype.toString.call(e))t.data=A(A({},a),o);else for(var n in o)a.append(n,o[n])}(),t.headers=A(A({},t.headers||{}),i),r.call(e,t)}}function ut(){var e=Math.random().toString(16).slice(2);return{data:{seqId:e},headers:A(A({},st),{},{"x-seqid":e})}}var lt=function(){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,y.default)(this,e),this.config=n,this._reqClass=new Ne.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:"请求在".concat(this.config.timeout/1e3,"s内未完成,已中断"),restrictedMethods:["post"]}),this._cache=ze(this.config.env),this._localCache=(t=this.config.env,He[t]),ct(this._reqClass,"post",[ut]),ct(this._reqClass,"upload",[ut]),ct(this._reqClass,"download",[ut])}return(0,m.default)(e,[{key:"post",value:function(){var e=(0,f.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.post(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"upload",value:function(){var e=(0,f.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.upload(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"download",value:function(){var e=(0,f.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.download(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"refreshAccessToken",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t,n;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken()),e.prev=1,e.next=4,this._refreshAccessTokenPromise;case 4:t=e.sent,e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](1),n=e.t0;case 10:if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,!n){e.next=12;break}throw n;case 12:return e.abrupt("return",t);case 13:case"end":return e.stop()}}),e,this,[[1,7]])})));return function(){return e.apply(this,arguments)}}()},{key:"_refreshAccessToken",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t,n,r,o,i,s,c,u,l,f,p,d,h;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,o=t.refreshTokenKey,i=t.loginTypeKey,s=t.anonymousUuidKey,this._cache.removeStore(n),this._cache.removeStore(r),c=this._cache.getStore(o),c){e.next=5;break}throw new me({message:"未登录CloudBase"});case 5:return u={refresh_token:c},e.next=8,this.request("auth.fetchAccessTokenWithRefreshToken",u);case 8:if(l=e.sent,!l.data.code){e.next=21;break}if(f=l.data.code,"SIGN_PARAM_INVALID"!==f&&"REFRESH_TOKEN_EXPIRED"!==f&&"INVALID_REFRESH_TOKEN"!==f){e.next=20;break}if(this._cache.getStore(i)!==et.ANONYMOUS||"INVALID_REFRESH_TOKEN"!==f){e.next=19;break}return p=this._cache.getStore(s),d=this._cache.getStore(o),e.next=17,this.send("auth.signInAnonymously",{anonymous_uuid:p,refresh_token:d});case 17:return h=e.sent,e.abrupt("return",(this.setRefreshToken(h.refresh_token),this._refreshAccessToken()));case 19:Xe(nt),this._cache.removeStore(o);case 20:throw new me({code:l.data.code,message:"刷新access token失败:".concat(l.data.code)});case 21:if(!l.data.access_token){e.next=23;break}return e.abrupt("return",(Xe(it),this._cache.setStore(n,l.data.access_token),this._cache.setStore(r,l.data.access_token_expire+Date.now()),{accessToken:l.data.access_token,accessTokenExpire:l.data.access_token_expire}));case 23:l.data.refresh_token&&(this._cache.removeStore(o),this._cache.setStore(o,l.data.refresh_token),this._refreshAccessToken());case 24:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"getAccessToken",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t,n,r,o,i,s,c;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,o=t.refreshTokenKey,this._cache.getStore(o)){e.next=3;break}throw new me({message:"refresh token不存在,登录状态异常"});case 3:if(i=this._cache.getStore(n),s=this._cache.getStore(r),c=!0,e.t0=this._shouldRefreshAccessTokenHook,!e.t0){e.next=9;break}return e.next=8,this._shouldRefreshAccessTokenHook(i,s);case 8:e.t0=!e.sent;case 9:if(e.t1=e.t0,!e.t1){e.next=12;break}c=!1;case 12:return e.abrupt("return",(!i||!s||s2&&void 0!==arguments[2]?arguments[2]:{},r=/\?/.test(t),o="";for(var i in n)""===o?!r&&(t+="?"):o+="&",o+="".concat(i,"=").concat(encodeURIComponent(n[i]));return/^http(s)?\:\/\//.test(t+=o)?t:"".concat(e).concat(t)}(Ce,"//tcb-api.tencentcloudapi.com/web",y),g&&(m+=g),e.next=22,this.post(A({url:m,data:u},p));case 22:if(w=e.sent,b=w.header&&w.header["x-tcb-trace"],b&&this._localCache.setStore(o,b),(200===Number(w.status)||200===Number(w.statusCode))&&w.data){e.next=26;break}throw new me({code:"NETWORK_ERROR",message:"network request error"});case 26:return e.abrupt("return",w);case 27:case"end":return e.stop()}}),e,this)})));return function(t,n,r){return e.apply(this,arguments)}}()},{key:"send",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r,o,i,s=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=s.length>1&&void 0!==s[1]?s[1]:{},r=s.length>2&&void 0!==s[2]?s[2]:{},e.next=4,this.request(t,n,A(A({},r),{},{onUploadProgress:n.onUploadProgress}));case 4:if(o=e.sent,"ACCESS_TOKEN_EXPIRED"!==o.data.code||-1!==at.indexOf(t)){e.next=14;break}return e.next=8,this.refreshAccessToken();case 8:return e.next=10,this.request(t,n,A(A({},r),{},{onUploadProgress:n.onUploadProgress}));case 10:if(i=e.sent,!i.data.code){e.next=13;break}throw new me({code:i.data.code,message:i.data.message});case 13:return e.abrupt("return",i.data);case 14:if(!o.data.code){e.next=16;break}throw new me({code:o.data.code,message:o.data.message});case 16:return e.abrupt("return",o.data);case 17:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"setRefreshToken",value:function(e){var t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,o=t.refreshTokenKey;this._cache.removeStore(n),this._cache.removeStore(r),this._cache.setStore(o,e)}}]),e}(),ft={};function pt(e){return ft[e]}var dt=function(){function e(t){(0,y.default)(this,e),this.config=t,this._cache=ze(t.env),this._request=pt(t.env)}return(0,m.default)(e,[{key:"setRefreshToken",value:function(e){var t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,o=t.refreshTokenKey;this._cache.removeStore(n),this._cache.removeStore(r),this._cache.setStore(o,e)}},{key:"setAccessToken",value:function(e,t){var n=this._cache.keys,r=n.accessTokenKey,o=n.accessTokenExpireKey;this._cache.setStore(r,e),this._cache.setStore(o,t)}},{key:"refreshUserInfo",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t,n;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.send("auth.getUserInfo",{});case 2:return t=e.sent,n=t.data,e.abrupt("return",(this.setLocalUserInfo(n),n));case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setLocalUserInfo",value:function(e){var t=this._cache.keys.userInfoKey;this._cache.setStore(t,e)}}]),e}(),ht=function(){function e(t){if((0,y.default)(this,e),!t)throw new me({code:"PARAM_ERROR",message:"envId is not defined"});this._envId=t,this._cache=ze(this._envId),this._request=pt(this._envId),this.setUserInfo()}return(0,m.default)(e,[{key:"linkWithTicket",value:function(e){if("string"!=typeof e)throw new me({code:"PARAM_ERROR",message:"ticket must be string"});return this._request.send("auth.linkWithTicket",{ticket:e})}},{key:"linkWithRedirect",value:function(e){e.signInWithRedirect()}},{key:"updatePassword",value:function(e,t){return this._request.send("auth.updatePassword",{oldPassword:t,newPassword:e})}},{key:"updateEmail",value:function(e){return this._request.send("auth.updateEmail",{newEmail:e})}},{key:"updateUsername",value:function(e){if("string"!=typeof e)throw new me({code:"PARAM_ERROR",message:"username must be a string"});return this._request.send("auth.updateUsername",{username:e})}},{key:"getLinkedUidList",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t,n,r,o;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.send("auth.getLinkedUidList",{});case 2:return t=e.sent,n=t.data,r=!1,o=n.users,e.abrupt("return",(o.forEach((function(e){e.wxOpenId&&e.wxPublicId&&(r=!0)})),{users:o,hasPrimaryUid:r}));case 7:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setPrimaryUid",value:function(e){return this._request.send("auth.setPrimaryUid",{uid:e})}},{key:"unlink",value:function(e){return this._request.send("auth.unlink",{platform:e})}},{key:"update",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r,o,i,s,c,u,l;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.nickName,r=t.gender,o=t.avatarUrl,i=t.province,s=t.country,c=t.city,e.next=8,this._request.send("auth.updateUserInfo",{nickName:n,gender:r,avatarUrl:o,province:i,country:s,city:c});case 8:u=e.sent,l=u.data,this.setLocalUserInfo(l);case 11:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"refresh",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t,n;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.send("auth.getUserInfo",{});case 2:return t=e.sent,n=t.data,e.abrupt("return",(this.setLocalUserInfo(n),n));case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setUserInfo",value:function(){var e=this,t=this._cache.keys.userInfoKey,n=this._cache.getStore(t);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach((function(t){e[t]=n[t]})),this.location={country:n.country,province:n.province,city:n.city}}},{key:"setLocalUserInfo",value:function(e){var t=this._cache.keys.userInfoKey;this._cache.setStore(t,e),this.setUserInfo()}}]),e}(),vt=function(){function e(t){if((0,y.default)(this,e),!t)throw new me({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=ze(t);var n=this._cache.keys,r=n.refreshTokenKey,o=n.accessTokenKey,i=n.accessTokenExpireKey,a=this._cache.getStore(r),s=this._cache.getStore(o),c=this._cache.getStore(i);this.credential={refreshToken:a,accessToken:s,accessTokenExpire:c},this.user=new ht(t)}return(0,m.default)(e,[{key:"isAnonymousAuth",get:function(){return this.loginType===et.ANONYMOUS}},{key:"isCustomAuth",get:function(){return this.loginType===et.CUSTOM}},{key:"isWeixinAuth",get:function(){return this.loginType===et.WECHAT||this.loginType===et.WECHAT_OPEN||this.loginType===et.WECHAT_PUBLIC}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}]),e}(),gt=function(e){(0,d.default)(n,e);var t=k(n);function n(){return(0,y.default)(this,n),t.apply(this,arguments)}return(0,m.default)(n,[{key:"signIn",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t,n,r,o,i,s,c;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._cache.updatePersistence("local"),t=this._cache.keys,n=t.anonymousUuidKey,r=t.refreshTokenKey,o=this._cache.getStore(n)||void 0,i=this._cache.getStore(r)||void 0,e.next=8,this._request.send("auth.signInAnonymously",{anonymous_uuid:o,refresh_token:i});case 8:if(s=e.sent,!s.uuid||!s.refresh_token){e.next=20;break}return this._setAnonymousUUID(s.uuid),this.setRefreshToken(s.refresh_token),e.next=14,this._request.refreshAccessToken();case 14:return Xe(tt),Xe(rt,{env:this.config.env,loginType:et.ANONYMOUS,persistence:"local"}),c=new vt(this.config.env),e.next=19,c.user.refresh();case 19:return e.abrupt("return",c);case 20:throw new me({message:"匿名登录失败"});case 21:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"linkAndRetrieveDataWithTicket",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r,o,i,s,c;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=this._cache.keys,r=n.anonymousUuidKey,o=n.refreshTokenKey,i=this._cache.getStore(r),s=this._cache.getStore(o),e.next=7,this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:i,refresh_token:s,ticket:t});case 7:if(c=e.sent,!c.refresh_token){e.next=16;break}return this._clearAnonymousUUID(),this.setRefreshToken(c.refresh_token),e.next=13,this._request.refreshAccessToken();case 13:return Xe(ot,{env:this.config.env}),Xe(rt,{loginType:et.CUSTOM,persistence:"local"}),e.abrupt("return",{credential:{refreshToken:c.refresh_token}});case 16:throw new me({message:"匿名转化失败"});case 17:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"_setAnonymousUUID",value:function(e){var t=this._cache.keys,n=t.anonymousUuidKey,r=t.loginTypeKey;this._cache.removeStore(n),this._cache.setStore(n,e),this._cache.setStore(r,et.ANONYMOUS)}},{key:"_clearAnonymousUUID",value:function(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}]),n}(dt),yt=function(e){(0,d.default)(n,e);var t=k(n);function n(){return(0,y.default)(this,n),t.apply(this,arguments)}return(0,m.default)(n,[{key:"signIn",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new me({code:"PARAM_ERROR",message:"ticket must be a string"});case 2:return n=this._cache.keys.refreshTokenKey,e.next=5,this._request.send("auth.signInWithTicket",{ticket:t,refresh_token:this._cache.getStore(n)||""});case 5:if(r=e.sent,!r.refresh_token){e.next=15;break}return this.setRefreshToken(r.refresh_token),e.next=10,this._request.refreshAccessToken();case 10:return Xe(tt),Xe(rt,{env:this.config.env,loginType:et.CUSTOM,persistence:this.config.persistence}),e.next=14,this.refreshUserInfo();case 14:return e.abrupt("return",new vt(this.config.env));case 15:throw new me({message:"自定义登录失败"});case 16:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),n}(dt),mt=function(e){(0,d.default)(n,e);var t=k(n);function n(){return(0,y.default)(this,n),t.apply(this,arguments)}return(0,m.default)(n,[{key:"signIn",value:function(){var e=(0,f.default)(a.default.mark((function e(t,n){var r,o,i,s,c;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new me({code:"PARAM_ERROR",message:"email must be a string"});case 2:return r=this._cache.keys.refreshTokenKey,e.next=5,this._request.send("auth.signIn",{loginType:"EMAIL",email:t,password:n,refresh_token:this._cache.getStore(r)||""});case 5:if(o=e.sent,i=o.refresh_token,s=o.access_token,c=o.access_token_expire,!i){e.next=22;break}if(this.setRefreshToken(i),!s||!c){e.next=15;break}this.setAccessToken(s,c),e.next=17;break;case 15:return e.next=17,this._request.refreshAccessToken();case 17:return e.next=19,this.refreshUserInfo();case 19:return Xe(tt),Xe(rt,{env:this.config.env,loginType:et.EMAIL,persistence:this.config.persistence}),e.abrupt("return",new vt(this.config.env));case 22:throw o.code?new me({code:o.code,message:"邮箱登录失败: ".concat(o.message)}):new me({message:"邮箱登录失败"});case 23:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"activate",value:function(){var e=(0,f.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.activateEndUserMail",{token:t}));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"resetPasswordWithToken",value:function(){var e=(0,f.default)(a.default.mark((function e(t,n){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.resetPasswordWithToken",{token:t,newPassword:n}));case 1:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()}]),n}(dt),wt=function(e){(0,d.default)(n,e);var t=k(n);function n(){return(0,y.default)(this,n),t.apply(this,arguments)}return(0,m.default)(n,[{key:"signIn",value:function(){var e=(0,f.default)(a.default.mark((function e(t,n){var r,o,i,s,c;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new me({code:"PARAM_ERROR",message:"username must be a string"});case 2:return"string"!=typeof n&&(n="",console.warn("password is empty")),r=this._cache.keys.refreshTokenKey,e.next=6,this._request.send("auth.signIn",{loginType:et.USERNAME,username:t,password:n,refresh_token:this._cache.getStore(r)||""});case 6:if(o=e.sent,i=o.refresh_token,s=o.access_token_expire,c=o.access_token,!i){e.next=23;break}if(this.setRefreshToken(i),!c||!s){e.next=16;break}this.setAccessToken(c,s),e.next=18;break;case 16:return e.next=18,this._request.refreshAccessToken();case 18:return e.next=20,this.refreshUserInfo();case 20:return Xe(tt),Xe(rt,{env:this.config.env,loginType:et.USERNAME,persistence:this.config.persistence}),e.abrupt("return",new vt(this.config.env));case 23:throw o.code?new me({code:o.code,message:"用户名密码登录失败: ".concat(o.message)}):new me({message:"用户名密码登录失败"});case 24:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()}]),n}(dt),bt=function(){function e(t){(0,y.default)(this,e),this.config=t,this._cache=ze(t.env),this._request=pt(t.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),Ye(rt,this._onLoginTypeChanged)}return(0,m.default)(e,[{key:"currentUser",get:function(){var e=this.hasLoginState();return e&&e.user||null}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}},{key:"anonymousAuthProvider",value:function(){return new gt(this.config)}},{key:"customAuthProvider",value:function(){return new yt(this.config)}},{key:"emailAuthProvider",value:function(){return new mt(this.config)}},{key:"usernameAuthProvider",value:function(){return new wt(this.config)}},{key:"signInAnonymously",value:function(){var e=(0,f.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new gt(this.config).signIn());case 1:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"signInWithEmailAndPassword",value:function(){var e=(0,f.default)(a.default.mark((function e(t,n){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new mt(this.config).signIn(t,n));case 1:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"signInWithUsernameAndPassword",value:function(e,t){return new wt(this.config).signIn(e,t)}},{key:"linkAndRetrieveDataWithTicket",value:function(){var e=(0,f.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._anonymousAuthProvider||(this._anonymousAuthProvider=new gt(this.config)),Ye(ot,this._onAnonymousConverted),e.next=3,this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"signOut",value:function(){var e=(0,f.default)(a.default.mark((function e(){var t,n,r,o,i,s;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.loginType!==et.ANONYMOUS){e.next=2;break}throw new me({message:"匿名用户不支持登出操作"});case 2:if(t=this._cache.keys,n=t.refreshTokenKey,r=t.accessTokenKey,o=t.accessTokenExpireKey,i=this._cache.getStore(n),i){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,this._request.send("auth.logout",{refresh_token:i});case 7:return s=e.sent,e.abrupt("return",(this._cache.removeStore(n),this._cache.removeStore(r),this._cache.removeStore(o),Xe(tt),Xe(rt,{env:this.config.env,loginType:et.NULL,persistence:this.config.persistence}),s));case 9:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"signUpWithEmailAndPassword",value:function(){var e=(0,f.default)(a.default.mark((function e(t,n){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.signUpWithEmailAndPassword",{email:t,password:n}));case 1:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"sendPasswordResetEmail",value:function(){var e=(0,f.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.sendPasswordResetEmail",{email:t}));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"onLoginStateChanged",value:function(e){var t=this;Ye(tt,(function(){var n=t.hasLoginState();e.call(t,n)}));var n=this.hasLoginState();e.call(this,n)}},{key:"onLoginStateExpired",value:function(e){Ye(nt,e.bind(this))}},{key:"onAccessTokenRefreshed",value:function(e){Ye(it,e.bind(this))}},{key:"onAnonymousConverted",value:function(e){Ye(ot,e.bind(this))}},{key:"onLoginTypeChanged",value:function(e){var t=this;Ye(rt,(function(){var n=t.hasLoginState();e.call(t,n)}))}},{key:"getAccessToken",value:function(){var e=(0,f.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.getAccessToken();case 2:return e.t0=e.sent.accessToken,e.t1=this.config.env,e.abrupt("return",{accessToken:e.t0,env:e.t1});case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"hasLoginState",value:function(){var e=this._cache.keys.refreshTokenKey;return this._cache.getStore(e)?new vt(this.config.env):null}},{key:"isUsernameRegistered",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new me({code:"PARAM_ERROR",message:"username must be a string"});case 2:return e.next=4,this._request.send("auth.isUsernameRegistered",{username:t});case 4:return n=e.sent,r=n.data,e.abrupt("return",r&&r.isRegistered);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getLoginState",value:function(){return Promise.resolve(this.hasLoginState())}},{key:"signInWithTicket",value:function(){var e=(0,f.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new yt(this.config).signIn(t));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"shouldRefreshAccessToken",value:function(e){this._request._shouldRefreshAccessTokenHook=e.bind(this)}},{key:"getUserInfo",value:function(){return this._request.send("auth.getUserInfo",{}).then((function(e){return e.code?e:A(A({},e.data),{},{requestId:e.seqId})}))}},{key:"getAuthHeader",value:function(){var e=this._cache.keys,t=e.refreshTokenKey,n=e.accessTokenKey,r=this._cache.getStore(t);return{"x-cloudbase-credentials":this._cache.getStore(n)+"/@@/"+r}}},{key:"_onAnonymousConverted",value:function(e){var t=e.data.env;t===this.config.env&&this._cache.updatePersistence(this.config.persistence)}},{key:"_onLoginTypeChanged",value:function(e){var t=e.data,n=t.loginType,r=t.persistence,o=t.env;o===this.config.env&&(this._cache.updatePersistence(r),this._cache.setStore(this._cache.keys.loginTypeKey,n))}}]),e}(),xt=function(e,t){t=t||Ue();var n=pt(this.config.env),r=e.cloudPath,o=e.filePath,i=e.onUploadProgress,a=e.fileType,s=void 0===a?"image":a;return n.send("storage.getUploadMetadata",{path:r}).then((function(e){var a=e.data,c=a.url,u=a.authorization,l=a.token,f=a.fileId,p=a.cosFileId,d=e.requestId,h={key:r,signature:u,"x-cos-meta-fileid":p,success_action_status:"201","x-cos-security-token":l};n.upload({url:c,data:h,file:o,name:r,fileType:s,onUploadProgress:i}).then((function(e){201===e.statusCode?t(null,{fileID:f,requestId:d}):t(new me({code:"STORAGE_REQUEST_FAIL",message:"STORAGE_REQUEST_FAIL: ".concat(e.data)}))})).catch((function(e){t(e)}))})).catch((function(e){t(e)})),t.promise},_t=function(e,t){t=t||Ue();var n=pt(this.config.env),r=e.cloudPath;return n.send("storage.getUploadMetadata",{path:r}).then((function(e){t(null,e)})).catch((function(e){t(e)})),t.promise},At=function(e,t){var n=e.fileList;if(t=t||Ue(),!n||!Array.isArray(n))return{code:"INVALID_PARAM",message:"fileList必须是非空的数组"};var r,o=b(n);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(!i||"string"!=typeof i)return{code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"}}}catch(s){o.e(s)}finally{o.f()}var a={fileid_list:n};return pt(this.config.env).send("storage.batchDeleteFile",a).then((function(e){e.code?t(null,e):t(null,{fileList:e.data.delete_list,requestId:e.requestId})})).catch((function(e){t(e)})),t.promise},kt=function(e,t){var n=e.fileList;t=t||Ue(),n&&Array.isArray(n)||t(null,{code:"INVALID_PARAM",message:"fileList必须是非空的数组"});var r,o=[],i=b(n);try{for(i.s();!(r=i.n()).done;){var a=r.value;"object"==(0,u.default)(a)?(a.hasOwnProperty("fileID")&&a.hasOwnProperty("maxAge")||t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是包含fileID和maxAge的对象"}),o.push({fileid:a.fileID,max_age:a.maxAge})):"string"==typeof a?o.push({fileid:a}):t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是字符串"})}}catch(c){i.e(c)}finally{i.f()}var s={file_list:o};return pt(this.config.env).send("storage.batchGetDownloadUrl",s).then((function(e){e.code?t(null,e):t(null,{fileList:e.data.download_list,requestId:e.requestId})})).catch((function(e){t(e)})),t.promise},St=function(){var e=(0,f.default)(a.default.mark((function e(t,n){var r,o,i,s;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=t.fileID,e.next=3,kt.call(this,{fileList:[{fileID:r,maxAge:600}]});case 3:if(o=e.sent.fileList[0],"SUCCESS"===o.code){e.next=6;break}return e.abrupt("return",n?n(o):new Promise((function(e){e(o)})));case 6:if(i=pt(this.config.env),s=o.download_url,s=encodeURI(s),n){e.next=10;break}return e.abrupt("return",i.download({url:s}));case 10:return e.t0=n,e.next=13,i.download({url:s});case 13:e.t1=e.sent,(0,e.t0)(e.t1);case 15:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}(),Ot=function(e,t){var n,r=e.name,o=e.data,i=e.query,a=e.parse,s=e.search,c=e.timeout,u=t||Ue();try{n=o?JSON.stringify(o):""}catch(r){return Promise.reject(r)}if(!r)return Promise.reject(new me({code:"PARAM_ERROR",message:"函数名不能为空"}));var l={inQuery:i,parse:a,search:s,function_name:r,request_data:n};return pt(this.config.env).send("functions.invokeFunction",l,{timeout:c}).then((function(e){if(e.code)u(null,e);else{var t=e.data.response_data;if(a)u(null,{result:t,requestId:e.requestId});else try{t=JSON.parse(e.data.response_data),u(null,{result:t,requestId:e.requestId})}catch(e){u(new me({message:"response data must be json"}))}}return u.promise})).catch((function(e){u(e)})),u.promise},Pt={timeout:15e3,persistence:"session"},It={},Tt=function(){function e(t){(0,y.default)(this,e),this.config=t||this.config,this.authObj=void 0}return(0,m.default)(e,[{key:"init",value:function(t){switch(Ne.adapter||(this.requestClient=new Ne.adapter.reqClass({timeout:t.timeout||5e3,timeoutMsg:"请求在".concat((t.timeout||5e3)/1e3,"s内未完成,已中断")})),this.config=A(A({},Pt),t),!0){case this.config.timeout>6e5:console.warn("timeout大于可配置上限[10分钟],已重置为上限数值"),this.config.timeout=6e5;break;case this.config.timeout<100:console.warn("timeout小于可配置下限[100ms],已重置为下限数值"),this.config.timeout=100}return new e(this.config)}},{key:"auth",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.persistence;if(this.authObj)return this.authObj;var n,r=t||Ne.adapter.primaryStorage||Pt.persistence;return r!==this.config.persistence&&(this.config.persistence=r),function(e){var t=e.env;Je[t]=new We(e),He[t]=new We(A(A({},e),{},{persistence:"local"}))}(this.config),n=this.config,ft[n.env]=new lt(n),this.authObj=new bt(this.config),this.authObj}},{key:"on",value:function(e,t){return Ye.apply(this,[e,t])}},{key:"off",value:function(e,t){return Ze.apply(this,[e,t])}},{key:"callFunction",value:function(e,t){return Ot.apply(this,[e,t])}},{key:"deleteFile",value:function(e,t){return At.apply(this,[e,t])}},{key:"getTempFileURL",value:function(e,t){return kt.apply(this,[e,t])}},{key:"downloadFile",value:function(e,t){return St.apply(this,[e,t])}},{key:"uploadFile",value:function(e,t){return xt.apply(this,[e,t])}},{key:"getUploadMetadata",value:function(e,t){return _t.apply(this,[e,t])}},{key:"registerExtension",value:function(e){It[e.name]=e}},{key:"invokeExtension",value:function(){var e=(0,f.default)(a.default.mark((function e(t,n){var r;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=It[t],r){e.next=3;break}throw new me({message:"扩展".concat(t," 必须先注册")});case 3:return e.next=5,r.invoke(n,this);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"useAdapters",value:function(e){var t=function(e){var t,n,r=(t=e,"[object Array]"===Object.prototype.toString.call(t)?e:[e]),o=b(r);try{for(o.s();!(n=o.n()).done;){var i=n.value,a=i.isMatch,s=i.genAdapter,c=i.runtime;if(a())return{adapter:s(),runtime:c}}}catch(u){o.e(u)}finally{o.f()}}(e)||{},n=t.adapter,r=t.runtime;n&&(Ne.adapter=n),r&&(Ne.runtime=r)}}]),e}(),Et=new Tt;function Ct(e,t,n){void 0===n&&(n={});var r=/\?/.test(t),o="";for(var i in n)""===o?!r&&(t+="?"):o+="&",o+=i+"="+encodeURIComponent(n[i]);return/^http(s)?:\/\//.test(t+=o)?t:""+e+t}var Dt=function(){function e(){(0,y.default)(this,e)}return(0,m.default)(e,[{key:"post",value:function(e){var t=e.url,n=e.data,r=e.headers,o=e.timeout;return new Promise((function(e,i){xe.request({url:Ct("https:",t),data:n,method:"POST",header:r,timeout:o,success:function(t){e(t)},fail:function(e){i(e)}})}))}},{key:"upload",value:function(e){return new Promise((function(t,n){var r=e.url,o=e.file,i=e.data,a=e.headers,s=e.fileType,c=xe.uploadFile({url:Ct("https:",r),name:"file",formData:Object.assign({},i),filePath:o,fileType:s,header:a,success:function(e){var n={statusCode:e.statusCode,data:e.data||{}};200===e.statusCode&&i.success_action_status&&(n.statusCode=parseInt(i.success_action_status,10)),t(n)},fail:function(e){n(new Error(e.errMsg||"uploadFile:fail"))}});"function"==typeof e.onUploadProgress&&c&&"function"==typeof c.onProgressUpdate&&c.onProgressUpdate((function(t){e.onUploadProgress({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}}]),e}(),jt={setItem:function(e,t){xe.setStorageSync(e,t)},getItem:function(e){return xe.getStorageSync(e)},removeItem:function(e){xe.removeStorageSync(e)},clear:function(){xe.clearStorageSync()}},Rt={genAdapter:function(){return{root:{},reqClass:Dt,localStorage:jt,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};Et.useAdapters(Rt);var Lt=Et,Ft=Lt.init;Lt.init=function(e){e.env=e.spaceId;var t=Ft.call(this,e);t.config.provider="tencent",t.config.spaceId=e.spaceId;var n=t.auth;return t.auth=function(e){var t=n.call(this,e);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach((function(e){var n;t[e]=(n=t[e],function(e){e=e||{};var t=ye(e),r=t.success,o=t.fail,i=t.complete;if(!(r||o||i))return n.call(this,e);n.call(this,e).then((function(e){r&&r(e),i&&i(e)}),(function(e){o&&o(e),i&&i(e)}))}).bind(t)})),t},t.customAuth=t.auth,t};var Ut=Lt;function Mt(e,t){return Bt.apply(this,arguments)}function Bt(){return Bt=(0,f.default)(a.default.mark((function e(t,n){var r,o,i;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r="http://".concat(t,":").concat(n,"/system/ping"),e.prev=1,e.next=4,i={url:r,timeout:500},new Promise((function(e,t){xe.request(A(A({},i),{},{success:function(t){e(t)},fail:function(e){t(e)}}))}));case 4:return o=e.sent,e.abrupt("return",!(!o.data||0!==o.data.code));case 8:return e.prev=8,e.t0=e["catch"](1),e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e,null,[[1,8]])}))),Bt.apply(this,arguments)}function Nt(e,t){return qt.apply(this,arguments)}function qt(){return qt=(0,f.default)(a.default.mark((function e(t,n){var r,o,i;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:o=0;case 1:if(!(o1&&void 0!==o[1])||o[1],n=!1,!n){e.next=8;break}return e.next=5,this.setupLocalRequest(t);case 5:e.t0=e.sent,e.next=9;break;case 8:e.t0=this.setupRequest(t);case 9:return t=e.t0,e.abrupt("return",Promise.resolve().then((function(){return n?r.requestLocal(t):Ie.wrappedRequest(t,r.adapter.request)})));case 11:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"requestLocal",value:function(e){var t=this;return new Promise((function(n,r){t.adapter.request(Object.assign(e,{complete:function(e){if(e||(e={}),!e.statusCode||e.statusCode>=400){var t=e.data&&e.data.code||"SYS_ERR",o=e.data&&e.data.message||"request:fail";return r(new me({code:t,message:o}))}n({success:!0,result:e.data})}}))}))}},{key:"setupRequest",value:function(e){var t=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),n={"Content-Type":"application/json"};n["x-serverless-sign"]=Ie.sign(t,this.config.clientSecret);var r=Oe();n["x-client-info"]=encodeURIComponent(JSON.stringify(r));var o=_e(),i=o.token;return n["x-client-token"]=i,{url:this.config.requestUrl,method:"POST",data:t,dataType:"json",header:JSON.parse(JSON.stringify(n))}}},{key:"setupLocalRequest",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r,o,i,s,c,u,l,f;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=Oe(),r=_e(),o=r.token,i=Object.assign({},t,{spaceId:this.config.spaceId,timestamp:Date.now(),clientInfo:n,token:o}),s=this.__dev__&&this.__dev__.debugInfo||{},c=s.address,u=s.servePort,e.next=9,Nt(c,u);case 9:return l=e.sent,f=l.address,e.abrupt("return",{url:"http://".concat(f,":").concat(u,"/").concat(Vt[t.method]),method:"POST",data:i,dataType:"json",header:JSON.parse(JSON.stringify({"Content-Type":"application/json"}))});case 12:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"callFunction",value:function(e){var t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(t,!1)}},{key:"getUploadFileOptions",value:function(e){var t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(t)}},{key:"reportUploadFile",value:function(e){var t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(t)}},{key:"uploadFile",value:function(e){var t,n=this,r=e.filePath,o=e.cloudPath,i=e.fileType,a=void 0===i?"image":i,s=e.onUploadProgress;if(!o)throw new me({code:"CLOUDPATH_REQUIRED",message:"cloudPath不可为空"});return this.getUploadFileOptions({cloudPath:o}).then((function(e){var o=e.result,i=o.url,c=o.formData,u=o.name;return t=e.result.fileUrl,new Promise((function(e,t){var o=n.adapter.uploadFile({url:i,formData:c,name:u,filePath:r,fileType:a,success:function(n){n&&n.statusCode<400?e(n):t(new me({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail:function(e){t(new me({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof s&&o&&"function"==typeof o.onProgressUpdate&&o.onProgressUpdate((function(e){s({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))})).then((function(){return n.reportUploadFile({cloudPath:o})})).then((function(e){return new Promise((function(n,o){e.success?n({success:!0,filePath:r,fileID:t}):o(new me({code:"UPLOAD_FAILED",message:"文件上传失败"}))}))}))}},{key:"deleteFile",value:function(e){var t=e.fileList,n={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:t})};return this.request(n).then((function(e){if(e.success)return e.result;throw new me({code:"DELETE_FILE_FAILED",message:"删除文件失败"})}))}},{key:"getTempFileURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fileList,n=e.maxAge;if(!Array.isArray(t)||0===t.length)throw new me({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});var r={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:t,maxAge:n})};return this.request(r).then((function(e){if(e.success)return{fileList:e.result.fileList.map((function(e){return{fileID:e.fileID,tempFileURL:e.tempFileURL}}))};throw new me({code:"GET_TEMP_FILE_URL_FAILED",message:"获取临时文件链接失败"})}))}}]),e}(),Wt={init:function(e){var t=new $t(e),n={signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}},Jt=S((function(e,t){e.exports=P.enc.Hex}));function Ht(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function zt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.data,r=t.functionName,o=t.method,i=t.headers,a=t.signHeaderKeys,s=void 0===a?[]:a,u=t.config,l=Date.now(),f=Ht(),p=Object.assign({},i,{"x-from-app-id":u.spaceAppId,"x-from-env-id":u.spaceId,"x-to-env-id":u.spaceId,"x-from-instance-id":l,"x-from-function-name":r,"x-client-timestamp":l,"x-alipay-source":"client","x-request-id":f,"x-alipay-callid":f,"x-trace-id":f}),d=["x-from-app-id","x-from-env-id","x-to-env-id","x-from-instance-id","x-from-function-name","x-client-timestamp"].concat(s),h=e.split("?")||[],v=(0,c.default)(h,2),g=v[0],y=void 0===g?"":g,m=v[1],w=void 0===m?"":m,b=function(e){var t=e.signedHeaders.join(";"),n=e.signedHeaders.map((function(t){return"".concat(t.toLowerCase(),":").concat(e.headers[t],"\n")})).join(""),r=Le(e.body).toString(Jt),o="".concat(e.method.toUpperCase(),"\n").concat(e.path,"\n").concat(e.query,"\n").concat(n,"\n").concat(t,"\n").concat(r,"\n"),i=Le(o).toString(Jt),a="HMAC-SHA256\n".concat(e.timestamp,"\n").concat(i,"\n"),s=Fe(a,e.secretKey).toString(Jt);return"HMAC-SHA256 Credential=".concat(e.secretId,", SignedHeaders=").concat(t,", Signature=").concat(s)}({path:y,query:w,method:o,headers:p,timestamp:l,body:JSON.stringify(n),secretId:u.accessKey,secretKey:u.secretKey,signedHeaders:d.sort()});return{url:"".concat(u.endpoint).concat(e),headers:Object.assign({},p,{Authorization:b})}}function Kt(e){var t=e.url,n=e.data,r=e.method,o=void 0===r?"POST":r,i=e.headers,a=void 0===i?{}:i,s=e.timeout;return new Promise((function(e,r){xe.request({url:t,method:o,data:"object"==(0,u.default)(n)?JSON.stringify(n):n,header:a,dataType:"json",timeout:s,complete:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=a["x-trace-id"]||"";if(!t.statusCode||t.statusCode>=400){var o=t.data||{},i=o.message,s=o.errMsg,c=o.trace_id;return r(new me({code:"SYS_ERR",message:i||s||"request:fail",requestId:c||n}))}e({status:t.statusCode,data:t.data,headers:t.header,requestId:n})}})}))}function Qt(e,t){var n=e.path,r=e.data,o=e.method,i=void 0===o?"GET":o,a=zt(n,{functionName:"",data:r,method:i,headers:{"x-alipay-cloud-mode":"oss","x-data-api-type":"oss","x-expire-timestamp":Date.now()+6e4},signHeaderKeys:["x-data-api-type","x-expire-timestamp"],config:t}),s=a.url,c=a.headers;return Kt({url:s,data:r,method:i,headers:c}).then((function(e){var t=e.data||{};if(!t.success)throw new me({code:e.errCode,message:e.errMsg,requestId:e.requestId});return t.data||{}})).catch((function(e){throw new me({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}function Gt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.trim().replace(/^cloud:\/\//,""),n=t.indexOf("/");if(n<=0)throw new me({code:"INVALID_PARAM",message:"fileID不合法"});var r=t.substring(0,n),o=t.substring(n+1);return r!==this.config.spaceId&&console.warn("file ".concat(e," does not belong to env ").concat(this.config.spaceId)),o}function Yt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"cloud://".concat(this.config.spaceId,"/").concat(e.replace(/^\/+/,""))}var Xt=function(){function e(t){(0,y.default)(this,e),this.config=t}return(0,m.default)(e,[{key:"signedURL",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="/ws/function/".concat(e),r=this.config.wsEndpoint.replace(/^ws(s)?:\/\//,""),o=Object.assign({},t,{accessKeyId:this.config.accessKey,signatureNonce:Ht(),timestamp:""+Date.now()}),i=[n,["accessKeyId","authorization","signatureNonce","timestamp"].sort().map((function(e){return o[e]?"".concat(e,"=").concat(o[e]):null})).filter(Boolean).join("&"),"host:".concat(r)].join("\n"),a=["HMAC-SHA256",Le(i).toString(Jt)].join("\n"),s=Fe(a,this.config.secretKey).toString(Jt),c=Object.keys(o).map((function(e){return"".concat(e,"=").concat(encodeURIComponent(o[e]))})).join("&");return"".concat(this.config.wsEndpoint).concat(n,"?").concat(c,"&signature=").concat(s)}}]),e}(),Zt=function(){function e(t){if((0,y.default)(this,e),["spaceId","spaceAppId","accessKey","secretKey"].forEach((function(e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new Error("".concat(e," required"))})),t.endpoint){if("string"!=typeof t.endpoint)throw new Error("endpoint must be string");if(!/^https:\/\//.test(t.endpoint))throw new Error("endpoint must start with https://");t.endpoint=t.endpoint.replace(/\/$/,"")}this.config=Object.assign({},t,{endpoint:t.endpoint||"https://".concat(t.spaceId,".api-hz.cloudbasefunction.cn"),wsEndpoint:t.wsEndpoint||"wss://".concat(t.spaceId,".api-hz.cloudbasefunction.cn")}),this._websocket=new Xt(this.config)}return(0,m.default)(e,[{key:"callFunction",value:function(e){return function(e,t){var n=e.name,r=e.data,o=e.async,i=void 0!==o&&o,a=e.timeout,s="POST",c={"x-to-function-name":n};i&&(c["x-function-invoke-type"]="async");var u=zt("/functions/invokeFunction",{functionName:n,data:r,method:s,headers:c,signHeaderKeys:["x-to-function-name"],config:t}),l=u.url,f=u.headers;return Kt({url:l,data:r,method:s,headers:f,timeout:a}).then((function(e){var t=0;if(i){var n=e.data||{};t="200"===n.errCode?0:n.errCode,e.data=n.data||{},e.errMsg=n.errMsg}if(0!==t)throw new me({code:t,message:e.errMsg,requestId:e.requestId});return{errCode:t,success:0===t,requestId:e.requestId,result:e.data}})).catch((function(e){throw new me({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}(e,this.config)}},{key:"uploadFileToOSS",value:function(e){var t=e.url,n=e.filePath,r=e.fileType,o=e.formData,i=e.onUploadProgress;return new Promise((function(e,a){var s=xe.uploadFile({url:t,filePath:n,fileType:r,formData:o,name:"file",success:function(t){t&&t.statusCode<400?e(t):a(new me({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail:function(e){a(new me({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof i&&s&&"function"==typeof s.onProgressUpdate&&s.onProgressUpdate((function(e){i({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}},{key:"uploadFile",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r,o,i,s,c,u,l,f,p,d;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.filePath,r=t.cloudPath,o=void 0===r?"":r,i=t.fileType,s=void 0===i?"image":i,c=t.onUploadProgress,"string"===F(o)){e.next=3;break}throw new me({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});case 3:if(o=o.trim()){e.next=5;break}throw new me({code:"INVALID_PARAM",message:"cloudPath不可为空"});case 5:if(!/:\/\//.test(o)){e.next=7;break}throw new me({code:"INVALID_PARAM",message:"cloudPath不合法"});case 7:return e.next=9,Qt({path:"/".concat(o.replace(/^\//,""),"?post_url")},this.config);case 9:return u=e.sent,l=u.file_id,f=u.upload_url,p=u.form_data,d=p&&p.reduce((function(e,t){return e[t.key]=t.value,e}),{}),e.abrupt("return",this.uploadFileToOSS({url:f,filePath:n,fileType:s,formData:d,onUploadProgress:c}).then((function(){return{fileID:l}})));case 15:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getTempFileURL",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r=this;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.fileList,e.abrupt("return",new Promise((function(e,t){(!n||n.length<0)&&t(new me({errCode:"INVALID_PARAM",errMsg:"fileList不能为空数组"})),n.length>50&&t(new me({errCode:"INVALID_PARAM",errMsg:"fileList数组长度不能超过50"}));var o,i=[],a=b(n);try{for(a.s();!(o=a.n()).done;){var s=o.value;"string"!==F(s)&&t(new me({errCode:"INVALID_PARAM",errMsg:"fileList的元素必须是非空的字符串"}));var c=Gt.call(r,s);i.push({file_id:c,expire:600})}}catch(u){a.e(u)}finally{a.f()}Qt({path:"/?download_url",data:{file_list:i},method:"POST"},r.config).then((function(t){var n=t.file_list,o=void 0===n?[]:n;e({fileList:o.map((function(e){return{fileID:Yt.call(r,e.file_id),tempFileURL:e.download_url}}))})})).catch((function(e){return t(e)}))})));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"connectWebSocket",value:function(){var e=(0,f.default)(a.default.mark((function e(t){var n,r;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.name,r=t.query,e.abrupt("return",xe.connectSocket({url:this._websocket.signedURL(n,r),complete:function(){}}));case 2:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),e}(),en={init:function(e){e.provider="alipay";var t=new Zt(e);return t.auth=function(){return{signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!0)}}},t}};function tn(e){var t,n=e.data;t=Oe();var r=JSON.parse(JSON.stringify(n||{}));if(Object.assign(r,{clientInfo:t}),!r.uniIdToken){var o=_e(),i=o.token;i&&(r.uniIdToken=i)}return r}var nn=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",mode:"append"}],rn=/[\\^$.*+?()[\]{}|]/g,on=RegExp(rn.source);function an(e,t,n){return e.replace(new RegExp((r=t)&&on.test(r)?r.replace(rn,"\\$&"):r,"g"),n);var r}var sn="request",cn="response";var un;un="0123456789abcdef";var ln={code:2e4,message:"System error"},fn={code:20101,message:"Invalid client"};function pn(e){var t=e||{},n=t.errSubject,r=t.subject,o=t.errCode,i=t.errMsg,a=t.code,s=t.message,c=t.cause;return new me({subject:n||r||"uni-secure-network",code:o||a||ln.code,message:i||s,cause:c})}var dn;function hn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.secretType;return t===sn||t===cn||"both"===t}function vn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=e.data,r=void 0===n?{}:n;return"app"===H&&"DCloud-clientDB"===t&&"encryption"===r.redirectTo&&"getAppClientKey"===r.action}function gn(e){e.functionName,e.result,e.logPvd}function yn(e){var t=e.callFunction,n=function(n){var r=this,o=n.name;n.data=tn.call(e,{data:n.data});var i={aliyun:"aliyun",tencent:"tcb",tcb:"tcb",alipay:"alipay",dcloud:"dcloud"}[this.config.provider],a=hn(n),s=vn(n),c=a||s;return t.call(this,n).then((function(e){return e.errCode=0,!c&&gn.call(r,{functionName:o,result:e,logPvd:i}),Promise.resolve(e)}),(function(e){return!c&&gn.call(r,{functionName:o,result:e,logPvd:i}),e&&e.message&&(e.message=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.message,n=void 0===t?"":t,r=e.extraInfo,o=void 0===r?{}:r,i=e.formatter,a=void 0===i?[]:i,s=0;s0&&void 0!==arguments[0]?arguments[0]:{},t=e.provider,n=e.spaceId,r=e.functionName,o=ke(),i=o.appId,a=o.uniPlatform,s=o.osName,c=a;"app"===a&&(c=s);var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.provider,n=e.spaceId,r=J;if(!r)return{};t=function(e){return"tencent"===e?"tcb":e}(t);var o=r.find((function(e){return e.provider===t&&e.spaceId===n}));return o&&o.config}({provider:t,spaceId:n});if(!u||!u.accessControl||!u.accessControl.enable)return!1;var l=u.accessControl.function||{},f=Object.keys(l);if(0===f.length)return!0;var p=function(e,t){for(var n,r,o,i=0;i-1&&(r=a):o=a:n=a}return n||r||o}(f,r);if(!p)return!1;if((l[p]||[]).find((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.appId===i&&(e.platform||"").toLowerCase()===c.toLowerCase()})))return!0;throw console.error("此应用[appId: ".concat(i,", platform: ").concat(c,"]不在云端配置的允许访问的应用列表内,参考:https://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client")),pn(fn)}({provider:a,spaceId:s,functionName:c})?new dn({secretType:t.secretType,uniCloudIns:e}).wrapVerifyClientCallFunction(n.bind(e))(t):r(t),Object.defineProperty(o,"result",{get:function(){return console.warn("当前返回结果为Promise类型,不可直接访问其result属性,详情请参考:https://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"),{}}}),o.then((function(e){return"undefined"!=typeof UTSJSONObject&&(e.result=new UTSJSONObject(e.result)),e}))}}dn="mp-weixin"!==H&&"app"!==H?function(){return(0,m.default)((function e(){throw(0,y.default)(this,e),pn({message:"Platform ".concat(H," is not supported by secure network")})}))}():function(){return(0,m.default)((function e(){throw(0,y.default)(this,e),pn({message:"Platform ".concat(H," is not enabled, please check whether secure network module is enabled in your manifest.json")})}))}();var mn=Symbol("CLIENT_DB_INTERNAL");function wn(e,t){return e.then="DoNotReturnProxyWithAFunctionNamedThen",e._internalType=mn,e.inspect=null,e.__ob__=void 0,new Proxy(e,{get:function(e,n,r){if("_uniClient"===n)return null;if("symbol"==(0,u.default)(n))return e[n];if(n in e||"string"!=typeof n){var o=e[n];return"function"==typeof o?o.bind(e):o}return t.get(e,n,r)}})}function bn(e){return{on:function(t,n){e[t]=e[t]||[],e[t].indexOf(n)>-1||e[t].push(n)},off:function(t,n){e[t]=e[t]||[];var r=e[t].indexOf(n);-1!==r&&e[t].splice(r,1)}}}var xn=["db.Geo","db.command","command.aggregate"];function _n(e,t){return xn.indexOf("".concat(e,".").concat(t))>-1}function An(e){switch(F(e)){case"array":return e.map((function(e){return An(e)}));case"object":return e._internalType===mn||Object.keys(e).forEach((function(t){e[t]=An(e[t])})),e;case"regexp":return{$regexp:{source:e.source,flags:e.flags}};case"date":return{$date:e.toISOString()};default:return e}}function kn(e){return e&&e.content&&e.content.$method}var Sn=function(){function e(t,n,r){(0,y.default)(this,e),this.content=t,this.prevStage=n||null,this.udb=null,this._database=r}return(0,m.default)(e,[{key:"toJSON",value:function(){for(var e=this,t=[e.content];e.prevStage;)e=e.prevStage,t.push(e.content);return{$db:t.reverse().map((function(e){return{$method:e.$method,$param:An(e.$param)}}))}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}},{key:"getAction",value:function(){var e=this.toJSON().$db.find((function(e){return"action"===e.$method}));return e&&e.$param&&e.$param[0]}},{key:"getCommand",value:function(){return{$db:this.toJSON().$db.filter((function(e){return"action"!==e.$method}))}}},{key:"isAggregate",get:function(){for(var e=this;e;){var t=kn(e),n=kn(e.prevStage);if("aggregate"===t&&"collection"===n||"pipeline"===t)return!0;e=e.prevStage}return!1}},{key:"isCommand",get:function(){for(var e=this;e;){if("command"===kn(e))return!0;e=e.prevStage}return!1}},{key:"isAggregateCommand",get:function(){for(var e=this;e;){var t=kn(e),n=kn(e.prevStage);if("aggregate"===t&&"command"===n)return!0;e=e.prevStage}return!1}},{key:"getNextStageFn",value:function(e){var t=this;return function(){return On({$method:e,$param:An(Array.from(arguments))},t,t._database)}}},{key:"count",get:function(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}},{key:"remove",get:function(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}},{key:"get",value:function(){return this._send("get",Array.from(arguments))}},{key:"add",get:function(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}},{key:"update",value:function(){return this._send("update",Array.from(arguments))}},{key:"end",value:function(){return this._send("end",Array.from(arguments))}},{key:"set",get:function(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL禁止使用set方法")}}},{key:"_send",value:function(e,t){var n=this.getAction(),r=this.getCommand();return r.$db.push({$method:e,$param:An(t)}),this._database._callCloudFunction({action:n,command:r})}}]),e}();function On(e,t,n){return wn(new Sn(e,t,n),{get:function(e,t){var r="db";return e&&e.content&&(r=e.content.$method),_n(r,t)?On({$method:t},e,n):function(){return On({$method:t,$param:An(Array.from(arguments))},e,n)}}})}function Pn(e){var t=e.path,n=e.method;return function(){function e(){(0,y.default)(this,e),this.param=Array.from(arguments)}return(0,m.default)(e,[{key:"toJSON",value:function(){return{$newDb:[].concat((0,l.default)(t.map((function(e){return{$method:e}}))),[{$method:n,$param:this.param}])}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}}]),e}()}function In(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wn(new e(t),{get:function(e,t){return _n("db",t)?On({$method:t},null,e):function(){return On({$method:t,$param:An(Array.from(arguments))},null,e)}}})}var Tn=function(e){(0,d.default)(n,e);var t=k(n);function n(){return(0,y.default)(this,n),t.apply(this,arguments)}return(0,m.default)(n,[{key:"_parseResult",value:function(e){return this._isJQL?e.result:e}},{key:"_callCloudFunction",value:function(e){var t=this,n=e.action,r=e.command,o=e.multiCommand,i=e.queryList;function a(e,t){if(o&&i)for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=t.uniClient,r=void 0===n?{}:n,o=t.isJQL,i=void 0!==o&&o;(0,y.default)(this,e),this._uniClient=r,this._authCallBacks={},this._dbCallBacks={},r._isDefault&&(this._dbCallBacks=Q("_globalUniCloudDatabaseCallback")),i||(this.auth=bn(this._authCallBacks)),this._isJQL=i,Object.assign(this,bn(this._dbCallBacks)),this.env=wn({},{get:function(e,t){return{$env:t}}}),this.Geo=wn({},{get:function(e,t){return Pn({path:["Geo"],method:t})}}),this.serverDate=Pn({path:[],method:"serverDate"}),this.RegExp=Pn({path:[],method:"RegExp"})}return(0,m.default)(e,[{key:"getCloudEnv",value:function(e){if("string"!=typeof e||!e.trim())throw new Error("getCloudEnv参数错误");return{$env:e.replace("$cloudEnv_","")}}},{key:"_callback",value:function(e,t){var n=this._dbCallBacks;n[e]&&n[e].forEach((function(e){e.apply(void 0,(0,l.default)(t))}))}},{key:"_callbackAuth",value:function(e,t){var n=this._authCallBacks;n[e]&&n[e].forEach((function(e){e.apply(void 0,(0,l.default)(t))}))}},{key:"multiSend",value:function(){var e=Array.from(arguments),t=e.map((function(e){var t=e.getAction(),n=e.getCommand();if("getTemp"!==n.$db[n.$db.length-1].$method)throw new Error("multiSend只支持子命令内使用getTemp");return{action:t,command:n}}));return this._callCloudFunction({multiCommand:t,queryList:e})}}]),e}()),En="token无效,跳转登录页面",Cn="token过期,跳转登录页面",Dn={TOKEN_INVALID_TOKEN_EXPIRED:Cn,TOKEN_INVALID_INVALID_CLIENTID:En,TOKEN_INVALID:En,TOKEN_INVALID_WRONG_TOKEN:En,TOKEN_INVALID_ANONYMOUS_USER:En},jn={"uni-id-token-expired":Cn,"uni-id-check-token-failed":En,"uni-id-token-not-exist":En,"uni-id-check-device-feature-failed":En};function Rn(e,t){var n="";return n=e?"".concat(e,"/").concat(t):t,n.replace(/^\//,"")}function Ln(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=[],r=[];return e.forEach((function(e){!0===e.needLogin?n.push(Rn(t,e.path)):!1===e.needLogin&&r.push(Rn(t,e.path))})),{needLoginPage:n,notNeedLoginPage:r}}function Fn(e){return e.split("?")[0].replace(/^\//,"")}function Un(){return function(e){var t=e&&e.$page&&e.$page.fullPath||"";return t?("/"!==t.charAt(0)&&(t="/"+t),t):t}(function(){var e=getCurrentPages();return e[e.length-1]}())}function Mn(){return Fn(Un())}function Bn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return!1;if(!(t&&t.list&&t.list.length))return!1;var n=t.list,r=Fn(e);return n.some((function(e){return e.pagePath===r}))}var Nn,qn=!!w.default.uniIdRouter,Vn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:w.default,t=e.pages,n=void 0===t?[]:t,r=e.subPackages,o=void 0===r?[]:r,i=e.uniIdRouter,a=void 0===i?{}:i,s=e.tabBar,c=void 0===s?{}:s,u=a.loginPage,f=a.needLogin,p=void 0===f?[]:f,d=a.resToLogin,h=void 0===d||d,v=Ln(n),g=v.needLoginPage,y=v.notNeedLoginPage,m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[],n=[];return e.forEach((function(e){var r=e.root,o=e.pages,i=void 0===o?[]:o,a=Ln(i,r),s=a.needLoginPage,c=a.notNeedLoginPage;t.push.apply(t,(0,l.default)(s)),n.push.apply(n,(0,l.default)(c))})),{needLoginPage:t,notNeedLoginPage:n}}(o),b=m.needLoginPage,x=m.notNeedLoginPage;return{loginPage:u,routerNeedLogin:p,resToLogin:h,needLoginPage:[].concat((0,l.default)(g),(0,l.default)(b)),notNeedLoginPage:[].concat((0,l.default)(y),(0,l.default)(x)),loginPageInTabBar:Bn(u,c)}}(),$n=Vn.loginPage,Wn=Vn.routerNeedLogin,Jn=Vn.resToLogin,Hn=Vn.needLoginPage,zn=Vn.notNeedLoginPage,Kn=Vn.loginPageInTabBar;if(Hn.indexOf($n)>-1)throw new Error("Login page [".concat($n,'] should not be "needLogin", please check your pages.json'));function Qn(e){var t=Mn();if("/"===e.charAt(0))return e;var n=e.split("?"),r=(0,c.default)(n,2),o=r[0],i=r[1],a=o.replace(/^\//,"").split("/"),s=t.split("/");s.pop();for(var u=0;u-1)&&(Hn.indexOf(t)>-1||Wn.some((function(t){return function(e,t){return new RegExp(t).test(e)}(e,t)})))}function Yn(e){var t=e.redirect,n=Fn(t),r=Fn($n);return Mn()!==r&&n!==r}function Xn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.api,n=e.redirect;if(n&&Yn({redirect:n})){var o=function(e,t){return"/"!==e.charAt(0)&&(e="/"+e),t?e.indexOf("?")>-1?e+"&uniIdRedirectUrl=".concat(encodeURIComponent(t)):e+"?uniIdRedirectUrl=".concat(encodeURIComponent(t)):e}($n,n);Kn?"navigateTo"!==t&&"redirectTo"!==t||(t="switchTab"):"switchTab"===t&&(t="navigateTo");var i={navigateTo:r.navigateTo,redirectTo:r.redirectTo,switchTab:r.switchTab,reLaunch:r.reLaunch};setTimeout((function(){i[t]({url:o})}),0)}}function Zn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.url,n={abortLoginPageJump:!1,autoToLoginPage:!1},r=function(){var e,t=_e(),n=t.token,r=t.tokenExpired;if(n){if(r0)return setTimeout((function(){de(ie,r)}),0),n.abortLoginPageJump=!0,n;n.autoToLoginPage=!0}return n}function er(){!function(){var e=Un(),t=Zn({url:e}),n=t.abortLoginPageJump,r=t.autoToLoginPage;n||r&&Xn({api:"redirectTo",redirect:e})}();for(var e=["navigateTo","redirectTo","reLaunch","switchTab"],t=function(t){var n=e[t];r.addInterceptor(n,{invoke:function(e){var t=Zn({url:e.url}),r=t.abortLoginPageJump,o=t.autoToLoginPage;return r?e:o?(Xn({api:n,redirect:Qn(e.url)}),!1):e}})},n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=le(ie);ge().then((function(){var n=Un();if(n&&Yn({redirect:n}))return t.length>0?de(ie,Object.assign({uniIdRedirectUrl:n},e)):void($n&&Xn({api:"navigateTo",redirect:n}))}))}(n)}))}function nr(e){!function(e){e.onResponse=function(e){fe(oe,e)},e.offResponse=function(e){pe(oe,e)}}(e),function(e){e.onNeedLogin=function(e){fe(ie,e)},e.offNeedLogin=function(e){pe(ie,e)},qn&&(Q("_globalUniCloudStatus").needLoginInit||(Q("_globalUniCloudStatus").needLoginInit=!0,ge().then((function(){er.call(e)})),Jn&&tr.call(e)))}(e),function(e){e.onRefreshToken=function(e){fe(ae,e)},e.offRefreshToken=function(e){pe(ae,e)}}(e)}var rr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",or=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function ir(){var e,t,n=_e().token||"",r=n.split(".");if(!n||3!==r.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{e=JSON.parse((t=r[1],decodeURIComponent(Nn(t).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(n){throw new Error("获取当前用户信息出错,详细错误信息为:"+n.message)}return e.tokenExpired=1e3*e.exp,delete e.exp,delete e.iat,e}Nn="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!or.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var n,r,o="",i=0;i>16&255):64===r?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return o}:atob;var ar=S((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n="chooseAndUploadFile:ok",i="chooseAndUploadFile:fail";function a(e,t){return e.tempFiles.forEach((function(e,n){e.name||(e.name=e.path.substring(e.path.lastIndexOf("/")+1)),t&&(e.fileType=t),e.cloudPath=Date.now()+"_"+n+e.name.substring(e.name.lastIndexOf("."))})),e.tempFilePaths||(e.tempFilePaths=e.tempFiles.map((function(e){return e.path}))),e}function s(e,t,r){var o=r.onChooseFile,i=r.onUploadProgress;return t.then((function(e){if(o){var t=o(e);if(void 0!==t)return Promise.resolve(t).then((function(t){return void 0===t?e:t}))}return e})).then((function(t){return!1===t?{errMsg:n,tempFilePaths:[],tempFiles:[]}:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,o=arguments.length>3?arguments[3]:void 0;(t=Object.assign({},t)).errMsg=n;var i=t.tempFiles,a=i.length,s=0;return new Promise((function(n){for(;s=a)!i.find((function(e){return!e.url&&!e.errMsg}))&&n(t);else{var u=i[r];e.uploadFile({provider:u.provider,filePath:u.path,cloudPath:u.cloudPath,fileType:u.fileType,cloudPathAsRealPath:u.cloudPathAsRealPath,onUploadProgress:function(e){e.index=r,e.tempFile=u,e.tempFilePath=u.path,o&&o(e)}}).then((function(e){u.url=e.fileID,r0&&void 0!==arguments[0]?arguments[0]:{type:"all"};return"image"===t.type?s(e,function(e){var t=e.count,n=e.sizeType,o=e.sourceType,s=void 0===o?["album","camera"]:o,c=e.extension;return new Promise((function(e,o){r.chooseImage({count:t,sizeType:n,sourceType:s,extension:c,success:function(t){e(a(t,"image"))},fail:function(e){o({errMsg:e.errMsg.replace("chooseImage:fail",i)})}})}))}(t),t):"video"===t.type?s(e,function(e){var t=e.camera,n=e.compressed,o=e.maxDuration,s=e.sourceType,c=void 0===s?["album","camera"]:s,u=e.extension;return new Promise((function(e,s){r.chooseVideo({camera:t,compressed:n,maxDuration:o,sourceType:c,extension:u,success:function(t){var n=t.tempFilePath,r=t.duration,o=t.size,i=t.height,s=t.width;e(a({errMsg:"chooseVideo:ok",tempFilePaths:[n],tempFiles:[{name:t.tempFile&&t.tempFile.name||"",path:n,size:o,type:t.tempFile&&t.tempFile.type||"",width:s,height:i,duration:r,fileType:"video",cloudPath:""}]},"video"))},fail:function(e){s({errMsg:e.errMsg.replace("chooseVideo:fail",i)})}})}))}(t),t):s(e,function(e){var t=e.count,n=e.extension;return new Promise((function(e,s){var c=r.chooseFile;if("undefined"!=typeof o&&"function"==typeof o.chooseMessageFile&&(c=o.chooseMessageFile),"function"!=typeof c)return s({errMsg:i+" 请指定 type 类型,该平台仅支持选择 image 或 video。"});c({type:"all",count:t,extension:n,success:function(t){e(a(t))},fail:function(e){s({errMsg:e.errMsg.replace("chooseFile:fail",i)})}})}))}(t),t)}}})),sr=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(ar);function cr(e){return{props:{localdata:{type:Array,default:function(){return[]}},options:{type:[Object,Array],default:function(){return{}}},spaceInfo:{type:Object,default:function(){return{}}},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:function(){return{mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{},mixinDatacomError:null}},created:function(){var e=this;this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch((function(){var t=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach((function(n){t.push(e[n])})),t}),(function(t,n){if("manual"!==e.loadtime){for(var r=!1,o=[],i=2;i0&&void 0!==arguments[0]?arguments[0]:{},n=t.getone,r=void 0!==n&&n,o=t.success,i=t.fail;this.mixinDatacomLoading||(this.mixinDatacomLoading=!0,this.mixinDatacomErrorMessage="",this.mixinDatacomError=null,this.mixinDatacomGet().then((function(t){e.mixinDatacomLoading=!1;var n=t.result,i=n.data,a=n.count;e.getcount&&(e.mixinDatacomPage.count=a),e.mixinDatacomHasMore=i.length0&&void 0!==arguments[0]?arguments[0]:{};r=r||{},n="undefined"!=typeof __uniX&&__uniX?e.databaseForJQL(this.spaceInfo):e.database(this.spaceInfo);var o=r.action||this.action;o&&(n=n.action(o));var i=r.collection||this.collection;n=Array.isArray(i)?(t=n).collection.apply(t,(0,l.default)(i)):n.collection(i);var a=r.where||this.where;a&&Object.keys(a).length&&(n=n.where(a));var s=r.field||this.field;s&&(n=n.field(s));var c=r.foreignKey||this.foreignKey;c&&(n=n.foreignKey(c));var u=r.groupby||this.groupby;u&&(n=n.groupBy(u));var f=r.groupField||this.groupField;f&&(n=n.groupField(f)),!0===(void 0!==r.distinct?r.distinct:this.distinct)&&(n=n.distinct());var p=r.orderby||this.orderby;p&&(n=n.orderBy(p));var d=void 0!==r.pageCurrent?r.pageCurrent:this.mixinDatacomPage.current,h=void 0!==r.pageSize?r.pageSize:this.mixinDatacomPage.size,v=void 0!==r.getcount?r.getcount:this.getcount,g=void 0!==r.gettree?r.gettree:this.gettree,y=void 0!==r.gettreepath?r.gettreepath:this.gettreepath,m={getCount:v},w={limitLevel:void 0!==r.limitlevel?r.limitlevel:this.limitlevel,startWith:void 0!==r.startwith?r.startwith:this.startwith};return g&&(m.getTree=w),y&&(m.getTreePath=w),n=n.skip(h*(d-1)).limit(h).get(m),n}}}}function ur(e){return Q("_globalUniCloudSecureNetworkCache__{spaceId}".replace("{spaceId}",e.config.spaceId))}function lr(){return fr.apply(this,arguments)}function fr(){return fr=(0,f.default)(a.default.mark((function e(){var t,n,o,i,s,c,u,l=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=l.length>0&&void 0!==l[0]?l[0]:{},n=t.openid,o=t.callLoginByWeixin,i=void 0!==o&&o,s=ur(this),"mp-weixin"===H){e.next=4;break}throw new Error("[SecureNetwork] API `initSecureNetworkByWeixin` is not supported on platform `".concat(H,"`"));case 4:if(!n||!i){e.next=6;break}throw new Error("[SecureNetwork] openid and callLoginByWeixin cannot be passed at the same time");case 6:if(!n){e.next=8;break}return e.abrupt("return",(s.mpWeixinOpenid=n,{}));case 8:return e.next=10,new Promise((function(e,t){r.login({success:function(t){e(t.code)},fail:function(e){t(new Error(e.errMsg))}})}));case 10:return c=e.sent,u=this.importObject("uni-id-co",{customUI:!0}),e.next=14,u.secureNetworkHandshakeByWeixin({code:c,callLoginByWeixin:i});case 14:return s.mpWeixinCode=c,e.abrupt("return",{code:c});case 16:case"end":return e.stop()}}),e,this)}))),fr.apply(this,arguments)}function pr(e){return dr.apply(this,arguments)}function dr(){return dr=(0,f.default)(a.default.mark((function e(t){var n;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=ur(this),e.abrupt("return",(n.initPromise||(n.initPromise=lr.call(this,t).then((function(e){return e})).catch((function(e){throw delete n.initPromise,e}))),n.initPromise));case 2:case"end":return e.stop()}}),e,this)}))),dr.apply(this,arguments)}function hr(e){!function(e){Se=e}(e)}function vr(e){var t={getSystemInfo:r.getSystemInfo,getPushClientId:r.getPushClientId};return function(n){return new Promise((function(r,o){t[e](A(A({},n),{},{success:function(e){r(e)},fail:function(e){o(e)}}))}))}}var gr=function(e){(0,d.default)(n,e);var t=k(n);function n(){var e;return(0,y.default)(this,n),e=t.call(this),e._uniPushMessageCallback=e._receivePushMessage.bind((0,s.default)(e)),e._currentMessageId=-1,e._payloadQueue=[],e}return(0,m.default)(n,[{key:"init",value:function(){var e=this;return Promise.all([vr("getSystemInfo")(),vr("getPushClientId")()]).then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=(0,c.default)(t,2),r=n[0];r=void 0===r?{}:r;var o=r.appId,i=n[1];i=void 0===i?{}:i;var a=i.cid;if(!o)throw new Error("Invalid appId, please check the manifest.json file");if(!a)throw new Error("Invalid push client id");e._appId=o,e._pushClientId=a,e._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),e.emit("open"),e._initMessageListener()}),(function(t){throw e.emit("error",t),e.close(),t}))}},{key:"open",value:function(){var e=(0,f.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this.init());case 1:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"_isUniCloudSSE",value:function(e){if("receive"!==e.type)return!1;var t=e&&e.data&&e.data.payload;return!(!t||"UNI_CLOUD_SSE"!==t.channel||t.seqId!==this._seqId)}},{key:"_receivePushMessage",value:function(e){if(this._isUniCloudSSE(e)){var t=e&&e.data&&e.data.payload,n=t.action,r=t.messageId,o=t.message;this._payloadQueue.push({action:n,messageId:r,message:o}),this._consumMessage()}}},{key:"_consumMessage",value:function(){for(var e=this;;){var t=this._payloadQueue.find((function(t){return t.messageId===e._currentMessageId+1}));if(!t)break;this._currentMessageId++,this._parseMessagePayload(t)}}},{key:"_parseMessagePayload",value:function(e){var t=e.action,n=e.messageId,r=e.message;"end"===t?this._end({messageId:n,message:r}):"message"===t&&this._appendMessage({messageId:n,message:r})}},{key:"_appendMessage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e.messageId,e.message);this.emit("message",t)}},{key:"_end",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e.messageId,e.message);this.emit("end",t),this.close()}},{key:"_initMessageListener",value:function(){r.onPushMessage(this._uniPushMessageCallback)}},{key:"_destroy",value:function(){r.offPushMessage(this._uniPushMessageCallback)}},{key:"toJSON",value:function(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}},{key:"close",value:function(){this._destroy(),this.emit("close")}}]),n}(function(){function e(){(0,y.default)(this,e),this._callback={}}return(0,m.default)(e,[{key:"addListener",value:function(e,t){this._callback[e]||(this._callback[e]=[]),this._callback[e].push(t)}},{key:"on",value:function(e,t){return this.addListener(e,t)}},{key:"removeListener",value:function(e,t){if(!t)throw new Error('The "listener" argument must be of type function. Received undefined');var n=this._callback[e];if(n){var r=function(e,t){for(var n=e.length-1;n>=0;n--)if(e[n]===t)return n;return-1}(n,t);n.splice(r,1)}}},{key:"off",value:function(e,t){return this.removeListener(e,t)}},{key:"removeAllListener",value:function(e){delete this._callback[e]}},{key:"emit",value:function(e){for(var t=this._callback[e],n=arguments.length,r=new Array(n>1?n-1:0),o=1;o0)return e.init(t).database();if(this._database)return this._database;var n=In(Tn,{uniClient:e});return this._database=n,n},e.databaseForJQL=function(t){if(t&&Object.keys(t).length>0)return e.init(t).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;var n=In(Tn,{uniClient:e,isJQL:!0});return this._databaseForJQL=n,n}}(t),function(e){e.getCurrentUserInfo=ir,e.chooseAndUploadFile=sr.initChooseAndUploadFile(e),Object.assign(e,{get mixinDatacom(){return cr(e)}}),e.SSEChannel=gr,e.initSecureNetworkByWeixin=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.openid,r=t.callLoginByWeixin,o=void 0!==r&&r;return pr.call(e,{openid:n,callLoginByWeixin:o})}}(e),e.setCustomClientInfo=hr,e.importObject=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.customUI=t.customUI||e.customUI,e.parseSystemError=t.parseSystemError||e.parseSystemError,Object.assign(e.loadingOptions,t.loadingOptions),Object.assign(e.errorOptions,t.errorOptions),"object"==(0,u.default)(t.secretMethods)&&(e.secretMethods=t.secretMethods),e}({customUI:!1,loadingOptions:{title:"加载中...",mask:!0},errorOptions:{type:"modal",retry:!1}},n);var o=n,i=o.customUI,s=o.loadingOptions,c=o.errorOptions,l=o.parseSystemError,p=!i;return new Proxy({},{get:function(o,i){switch(i){case"toString":return"[object UniCloudObject]";case"toJSON":return{}}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fn,n=e.interceptorName,r=e.getCallbackArgs;return(0,f.default)(a.default.mark((function e(){var o,i,s,c,u,l,f=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:for(o=f.length,i=new Array(o),s=0;s0&&void 0!==u[0]?u[0]:{},n=t.title,o=t.content,i=t.showCancel,s=t.cancelText,c=t.confirmText,e.abrupt("return",new Promise((function(e,t){r.showModal({title:n,content:o,showCancel:i,cancelText:s,confirmText:c,success:function(t){e(t)},fail:function(){e({confirm:!1,cancel:!0})}})})));case 2:case"end":return e.stop()}}),e)})))({title:"提示",content:O,showCancel:c.retry,cancelText:"取消",confirmText:c.retry?"重试":"确定"});case 33:if(P=o.sent,I=P.confirm,!c.retry||!I){o.next=37;break}return o.abrupt("return",d.apply(void 0,g));case 37:throw T=new me({subject:x,code:_,message:k,requestId:h.requestId}),T.detail=h.result,de(oe,{type:ue,content:T}),T;case 39:return o.abrupt("return",(de(oe,{type:ue,content:h.result}),h.result));case 40:case"end":return o.stop()}}),o,null,[[5,11]])})));function d(){return o.apply(this,arguments)}return d}(),interceptorName:"callObject",getCallbackArgs:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.params;return{objectName:t,methodName:i,params:n}}})}})}}(e)}(t),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach((function(e){if(t[e]){var n=t[e];t[e]=function(){return n.apply(t,Array.from(arguments))},t[e]=function(e,t){return function(n){var r=this,o=!1;if("callFunction"===t){var i=n&&n.type||C;o=i!==C}var a="callFunction"===t&&!o,s=this._initPromiseHub.exec();n=n||{};var c=ye(n),u=c.success,l=c.fail,f=c.complete,p=s.then((function(){return o?Promise.resolve():ee(te(t,"invoke"),n)})).then((function(){return e.call(r,n)})).then((function(e){return o?Promise.resolve(e):ee(te(t,"success"),e).then((function(){return ee(te(t,"complete"),e)})).then((function(){return a&&de(oe,{type:ce,content:e}),Promise.resolve(e)}))}),(function(e){return o?Promise.reject(e):ee(te(t,"fail"),e).then((function(){return ee(te(t,"complete"),e)})).then((function(){return de(oe,{type:ce,content:e}),Promise.reject(e)}))}));if(!(u||l||f))return p;p.then((function(e){u&&u(e),f&&f(e),a&&de(oe,{type:ce,content:e})}),(function(e){l&&l(e),f&&f(e),a&&de(oe,{type:ce,content:e})}))}}(t[e],e).bind(t)}})),t.init=this.init,t}}]),e}());(function(){var e=z,t={};if(e&&1===e.length)t=e[0],mr=mr.init(t),mr._isDefault=!0;else{var n;n=e&&e.length>0?"应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间":"应用未关联服务空间,请在uniCloud目录右键关联服务空间",["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","database","getCurrentUSerInfo","importObject"].forEach((function(e){mr[e]=function(){return console.error(n),Promise.reject(new me({code:"SYS_ERR",message:n}))}}))}Object.assign(mr,{get mixinDatacom(){return cr(mr)}}),nr(mr),mr.addInterceptor=X,mr.removeInterceptor=Z,mr.interceptObject=ne})();var wr=mr;t.default=wr}).call(this,n("0ee4"),n("df3c")["default"],n("3223")["default"])},"8f59":function(e,t,n){"use strict";(function(t){var n="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},r=n.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=function(e,t){return e.filter(t)[0]}(t,(function(t){return t.original===e}));if(n)return n.copy;var r=Array.isArray(e)?[]:{};return t.push({original:e,copy:r}),Object.keys(e).forEach((function(n){r[n]=o(e[n],t)})),r}function i(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function a(e){return null!==e&&"object"===typeof e}var s=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},c={namespaced:{configurable:!0}};c.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(e,t){this._children[e]=t},s.prototype.removeChild=function(e){delete this._children[e]},s.prototype.getChild=function(e){return this._children[e]},s.prototype.hasChild=function(e){return e in this._children},s.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},s.prototype.forEachChild=function(e){i(this._children,e)},s.prototype.forEachGetter=function(e){this._rawModule.getters&&i(this._rawModule.getters,e)},s.prototype.forEachAction=function(e){this._rawModule.actions&&i(this._rawModule.actions,e)},s.prototype.forEachMutation=function(e){this._rawModule.mutations&&i(this._rawModule.mutations,e)},Object.defineProperties(s.prototype,c);var u=function(e){this.register([],e,!1)};u.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},u.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},u.prototype.update=function(e){(function e(t,n,r){0;if(n.update(r),r.modules)for(var o in r.modules){if(!n.getChild(o))return void 0;e(t.concat(o),n.getChild(o),r.modules[o])}})([],this.root,e)},u.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var o=new s(t,n);if(0===e.length)this.root=o;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],o)}t.modules&&i(t.modules,(function(t,o){r.register(e.concat(o),t,n)}))},u.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},u.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var l;var f=function(e){var t=this;void 0===e&&(e={}),!l&&"undefined"!==typeof window&&window.Vue&&w(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var o=e.strict;void 0===o&&(o=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new u(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new l,this._makeLocalGettersCache=Object.create(null);var i=this,a=this.dispatch,s=this.commit;this.dispatch=function(e,t){return a.call(i,e,t)},this.commit=function(e,t,n){return s.call(i,e,t,n)},this.strict=o;var c=this._modules.root.state;g(this,c,[],this._modules.root),v(this,c),n.forEach((function(e){return e(t)}));var f=void 0!==e.devtools?e.devtools:l.config.devtools;f&&function(e){r&&(e._devtoolHook=r,r.emit("vuex:init",e),r.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){r.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){r.emit("vuex:action",e,t)}),{prepend:!0}))}(this)},p={state:{configurable:!0}};function d(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function h(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;g(e,n,[],e._modules.root,!0),v(e,n,t)}function v(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,a={};i(o,(function(t,n){a[n]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var s=l.config.silent;l.config.silent=!0,e._vm=new l({data:{$$state:t},computed:a}),l.config.silent=s,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),l.nextTick((function(){return r.$destroy()})))}function g(e,t,n,r,o){var i=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!i&&!o){var s=y(t,n.slice(0,-1)),c=n[n.length-1];e._withCommit((function(){l.set(s,c,r.state)}))}var u=r.context=function(e,t,n){var r=""===t,o={dispatch:r?e.dispatch:function(n,r,o){var i=m(n,r,o),a=i.payload,s=i.options,c=i.type;return s&&s.root||(c=t+c),e.dispatch(c,a)},commit:r?e.commit:function(n,r,o){var i=m(n,r,o),a=i.payload,s=i.options,c=i.type;s&&s.root||(c=t+c),e.commit(c,a,s)}};return Object.defineProperties(o,{getters:{get:r?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(o){if(o.slice(0,r)===t){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return e.getters[o]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return y(e.state,n)}}}),o}(e,a,n);r.forEachMutation((function(t,n){var r=a+n;(function(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push((function(t){n.call(e,r.state,t)}))})(e,r,t,u)})),r.forEachAction((function(t,n){var r=t.root?n:a+n,o=t.handler||t;(function(e,t,n,r){var o=e._actions[t]||(e._actions[t]=[]);o.push((function(t){var o=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return function(e){return e&&"function"===typeof e.then}(o)||(o=Promise.resolve(o)),e._devtoolHook?o.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):o}))})(e,r,o,u)})),r.forEachGetter((function(t,n){var r=a+n;(function(e,t,n,r){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)}})(e,r,t,u)})),r.forEachChild((function(r,i){g(e,t,n.concat(i),r,o)}))}function y(e,t){return t.reduce((function(e,t){return e[t]}),e)}function m(e,t,n){return a(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function w(e){l&&e===l||(l=e, /*! * vuex v3.6.2 * (c) 2021 Evan You * @license MIT */ function(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(l))}p.state.get=function(){return this._vm._data.$$state},p.state.set=function(e){0},f.prototype.commit=function(e,t,n){var r=this,o=m(e,t,n),i=o.type,a=o.payload,s=(o.options,{type:i,payload:a}),c=this._mutations[i];c&&(this._withCommit((function(){c.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,r.state)})))},f.prototype.dispatch=function(e,t){var n=this,r=m(e,t),o=r.type,i=r.payload,a={type:o,payload:i},s=this._actions[o];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(u){0}var c=s.length>1?Promise.all(s.map((function(e){return e(i)}))):s[0](i);return new Promise((function(e,t){c.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(u){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(u){0}t(e)}))}))}},f.prototype.subscribe=function(e,t){return d(e,this._subscribers,t)},f.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return d(n,this._actionSubscribers,t)},f.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},f.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},f.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),g(this,this.state,e,this._modules.get(e),n.preserveState),v(this,this.state)},f.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=y(t.state,e.slice(0,-1));l.delete(n,e[e.length-1])})),h(this)},f.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},f.prototype[[104,111,116,85,112,100,97,116,101].map((function(e){return String.fromCharCode(e)})).join("")]=function(e){this._modules.update(e),h(this,!0)},f.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(f.prototype,p);var b=S((function(e,t){var n={};return k(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=O(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof o?o.call(this,t,n):t[o]},n[r].vuex=!0})),n})),x=S((function(e,t){var n={};return k(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var i=O(this.$store,"mapMutations",e);if(!i)return;r=i.context.commit}return"function"===typeof o?o.apply(this,[r].concat(t)):r.apply(this.$store,[o].concat(t))}})),n})),_=S((function(e,t){var n={};return k(t).forEach((function(t){var r=t.key,o=t.val;o=e+o,n[r]=function(){if(!e||O(this.$store,"mapGetters",e))return this.$store.getters[o]},n[r].vuex=!0})),n})),A=S((function(e,t){var n={};return k(t).forEach((function(t){var r=t.key,o=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var i=O(this.$store,"mapActions",e);if(!i)return;r=i.context.dispatch}return"function"===typeof o?o.apply(this,[r].concat(t)):r.apply(this.$store,[o].concat(t))}})),n}));function k(e){return function(e){return Array.isArray(e)||a(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function S(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function O(e,t,n){var r=e._modulesNamespaceMap[n];return r}function P(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(o){e.log(t)}}function I(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function T(){var e=new Date;return" @ "+E(e.getHours(),2)+":"+E(e.getMinutes(),2)+":"+E(e.getSeconds(),2)+"."+E(e.getMilliseconds(),3)}function E(e,t){return function(e,t){return new Array(t+1).join(e)}("0",t-e.toString().length)+e}var C={Store:f,install:w,version:"3.6.2",mapState:b,mapMutations:x,mapGetters:_,mapActions:A,createNamespacedHelpers:function(e){return{mapState:b.bind(null,e),mapGetters:_.bind(null,e),mapMutations:x.bind(null,e),mapActions:A.bind(null,e)}},createLogger:function(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var r=e.transformer;void 0===r&&(r=function(e){return e});var i=e.mutationTransformer;void 0===i&&(i=function(e){return e});var a=e.actionFilter;void 0===a&&(a=function(e,t){return!0});var s=e.actionTransformer;void 0===s&&(s=function(e){return e});var c=e.logMutations;void 0===c&&(c=!0);var u=e.logActions;void 0===u&&(u=!0);var l=e.logger;return void 0===l&&(l=console),function(e){var f=o(e.state);"undefined"!==typeof l&&(c&&e.subscribe((function(e,a){var s=o(a);if(n(e,f,s)){var c=T(),u=i(e),p="mutation "+e.type+c;P(l,p,t),l.log("%c prev state","color: #9E9E9E; font-weight: bold",r(f)),l.log("%c mutation","color: #03A9F4; font-weight: bold",u),l.log("%c next state","color: #4CAF50; font-weight: bold",r(s)),I(l)}f=s})),u&&e.subscribeAction((function(e,n){if(a(e,n)){var r=T(),o=s(e),i="action "+e.type+r;P(l,i,t),l.log("%c action","color: #03A9F4; font-weight: bold",o),I(l)}})))}}};e.exports=C}).call(this,n("0ee4"))},"8ffa":function(e,t,n){var r=n("7647");e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports["default"]=e.exports},9008:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports["default"]=e.exports},"926e":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAABVBJREFUWEftWd9rHFUU/s7sJtmHtrTa7EyTWaiYgmCEFhQrVnTNpD9QHwqtTWgKCoopKiIIrX+BLRREVFpRUGilUSsNNNI2mbhKI1YU2oeIBSMWdpLOJNqGmkI2uzNH7syu3d1kd2Z2t0Kg85adc+/55tzvfOeeE8Iye2iZ4cVdwHf6xOqOcDw+en8TWCPCFoA7CaSAoLjAGSaDTYDGmTGWBenT011/1PNRNQJORdW4vYcl7pdAW8IAcMBjzPTBlBX5GkjmwqwVtqEBt8vDXQQ6RkQdZc7mAR53mCYkwrx45zBiEnEHQJ0AYsX2DL7CzK9NWltHw4AOATgVSyi5dwHqLzhgxhyAARB/bpjRi0DSBbr4ScVUJbcZTHuJ0FcKno+lzeibldeW7hYIcGvrN0qL1HyaiDa71GTkADoyl7l5eHZ252yYCK1efXr1ipZVBwB+iwhRbz++mHEWds7MPGP67eUL2AUbaU4R6IH85uNZOL2WtW3cb/Nq72X5fGcTpJNELl0gKJKxF5J+oH0AuzS4ANDD+cgOZpzr+2ZmnhdUqPtpbf1yRYt0z0kiPFuItGFFk9XoURVwQhk5WuAsMwYNK7LbP7NTsXXx3JMCwLXp6Pf+3ExFVdk+XQANCE53768UjYqAhRpIJOkFGmScG4/5RVZRzq5vQlMKwPq8w6tZZJ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ezSTpBFJj1f/l4HzwwI7ennbHsRHsU2NEQ7rpnH2dwE3LpZL77TsIvwvQyHlS9/f8ZQAAAAASUVORK5CYII="},"931d":function(e,t,n){var r=n("7647"),o=n("011a");e.exports=function(e,t,n){if(o())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,t);var a=new(e.bind.apply(e,i));return n&&r(a,n.prototype),a},e.exports.__esModule=!0,e.exports["default"]=e.exports},9389:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={pages:{"pages/chooseIdentity/index":{navigationStyle:"custom",navigationBarTitleText:"选择身份"},"pages/login/login":{navigationBarTitleText:"登录"},"pages/index/index":{navigationBarTitleText:"首页"},"pages/mine/mine":{navigationStyle:"custom",navigationBarTitleText:"我的"},"pages/subPackages/carmange/add":{navigationBarTitleText:"添加车辆",enablePullDownRefresh:!0,onReachBottomDistance:100,component:!0},"pages/subPackages/carmange/index":{navigationBarTitleText:"车辆管理",enablePullDownRefresh:!0,onReachBottomDistance:100,component:!0},"pages/subPackages/yy_history/code":{navigationBarTitleText:"预约码",enablePullDownRefresh:!0,onReachBottomDistance:100,component:!0},"pages/subPackages/yy_history/edit":{navigationBarTitleText:"修改预约",enablePullDownRefresh:!0,onReachBottomDistance:100,component:!0},"pages/subPackages/sj_history/edit":{navigationBarTitleText:"修改预约",enablePullDownRefresh:!0,onReachBottomDistance:100,component:!0},"pages/subPackages/yy_history/index":{navigationBarTitleText:"预约历史",enablePullDownRefresh:!0,onReachBottomDistance:100,component:!0},"pages/subPackages/sj_history/index":{navigationBarTitleText:"预约历史",enablePullDownRefresh:!0,onReachBottomDistance:100,component:!0},"pages/subPackages/sj_yy/index":{navigationBarTitleText:"司机预约",enablePullDownRefresh:!0,onReachBottomDistance:100,component:!0},"pages/subPackages/qy_yy/index":{navigationBarTitleText:"企业预约",enablePullDownRefresh:!0,onReachBottomDistance:100,component:!0},"pages/subPackages/choosecar/index":{navigationBarTitleText:"车型选择",enablePullDownRefresh:!0,onReachBottomDistance:100,component:!0},"pages/subPackages/phoneRegister/index":{navigationBarTitleText:"授权手机号快捷登录",enablePullDownRefresh:!0,onReachBottomDistance:100,component:!0},"pages/subPackages/password/index":{navigationBarTitleText:"修改密码",enablePullDownRefresh:!0,onReachBottomDistance:100,component:!0}},globalStyle:{pageOrientation:"portrait",navigationBarTitleText:"Hello uniapp",navigationBarTextStyle:"black",navigationBarBackgroundColor:"#FFFFFF",backgroundColor:"#FFFFFF",backgroundColorTop:"#FFFFFF",backgroundColorBottom:"#F4F5F6"}}},"9acf":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAAA/BJREFUWEftmE9oHGUYxp/3m80m8Q/UJJsZsxMQbKGCl0APETw0ZJIaqwdBhELFFhU8KBbsIVKlCoUq6qGHnixY0YOot9TSZHdZoYIBPQgWKhhIYGdkJtPGHgrdNbPzlplxcbPu7ny72e0azFz2sO/3vr/v+f7M+wxhhz20w3jx/wROpb5+oJ8eOgSBSTDtBWFPsHLMsAFaAfnLlp3IAVPF7a7othQeHc09miSeJ8JRAAPNYJhxm8AXSkwfrK8bTrvgbQLnB8ZV7yyDXidCoro4AyaYbxDBY5BGgF4DV4SPdwrryjlgymsVvGXgVOo7bUBJLgB0oFKMGctg/3yJN7Oue9iuhhh7cGFEDPY/BSFeJuBg1ZhLJX/jiOu+cLsV6JaAA9h+JZkn0P6/i6yVGa/+4RhZmaJjatZQCJ8CeCSK5x+K5T/nWoFuATif0FXvKhFNtlssGBceUDG0QBSp7TO+shzjiMyEgxhp4LSaOyWIz0TCIFv0N55rRZmtQPmBcc3LAPRkCF3GMcs1PpeBlgKO9m3/angTMOyiX5qo3asyxf61t+8fvE7ACIN/M+2Zx2RySAHrauYsEc1HavjHLXf2okzyuJj0yOIzIqF8w0wXTGf6jbh46S2ha9lCeD0x1gqOsq+d60gGRiYmVuGx4cX9Sp9yPTogdMZypt+VSdytmFjgh0eWDiQS4qcImJ+wnJnlbsHI5I0FDpKkU4vPB7+We+hbmaTdjIkFHh7OpQf7aG83ISq572zyys2b01azWk2BdTX7JoCPa/uFbsEzI+gtTpqOca5RjYbAQ0OX9fv6kqv3CrYCGECX/NJ4o3u+IbCuZQ4SKB8l4p/L7H8iSGxpbDqltM++ppB4q9JQMXjKtGe+r5dfCph9/0VzffbLTgHWy5PWlo4JiM9CebYN3CRBpybRU+DQiQjSZU59ZcI9A9a1zEcEOhkuLcMjwomCbZyPW4meAKe1zGEBulQNF0B7pc199q25tWbQPQHWtdxpAr9XCyZzaHsDrC69QiQCC7Tl8cv+hOXO/vKfUxgI3fRV0D8GVdYC9UThSMEAurwKgsbAFdNWnpXpn3sIDIxr2cBOBc74YsE2jsfdEMH/u8CN3u311NPVzO9EYUu6MxROa9mXiPGaV+a37Rv1m5jaifZ0S8js2e4ClzFnusaVdkBkx+ijS0dJiC861K3RvGlPfyhbvJ246i9LbbWXaTUzKYh+rDQxAF8D0a12YGLHMO8B6PGKu2nmzpt4unxC17xfq75UxtbtRAAzXzOdxESjl01TE5oeuqxTX/I0CPfENYOxwpt/vW9tPG02mnysze+Eap3MsQvcSTXr5dpVuNsK3wXVCjlLaPN+NwAAAABJRU5ErkJggg=="},"9b0d":function(e,t,n){"use strict";var r=n("0b04"),o=n("0c30"),i=n("5e00");e.exports={formats:i,parse:o,stringify:r}},"9fc1":function(e,t,n){var r=n("3b2d")["default"];function o(){"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=o=function(){return n},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t,n={},i=Object.prototype,a=i.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",f=c.toStringTag||"@@toStringTag";function p(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(t){p=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof w?t:w,i=Object.create(o.prototype),a=new D(r||[]);return s(i,"_invoke",{value:I(e,n,a)}),i}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=d;var v="suspendedStart",g="executing",y="completed",m={};function w(){}function b(){}function x(){}var _={};p(_,u,(function(){return this}));var A=Object.getPrototypeOf,k=A&&A(A(j([])));k&&k!==i&&a.call(k,u)&&(_=k);var S=x.prototype=w.prototype=Object.create(_);function O(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function n(o,i,s,c){var u=h(e[o],e,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==r(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,c)}),(function(e){n("throw",e,s,c)})):t.resolve(f).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,c)}))}c(u.arg)}var o;s(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function I(e,n,r){var o=v;return function(i,a){if(o===g)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var c=T(s,r);if(c){if(c===m)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===v)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var u=h(e,n,r);if("normal"===u.type){if(o=r.done?y:"suspendedYield",u.arg===m)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=y,r.method="throw",r.arg=u.arg)}}}function T(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator["return"]&&(n.method="return",n.arg=t,T(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var i=h(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function j(e){if(e||""===e){var n=e[u];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),u=a.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:j(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},n}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},a16b:function(module,exports,__webpack_require__){"use strict";function getUrlParameter(e,t){var n="[\\?&#]"+t+"=([^&#]*)",r=new RegExp(n),o=r.exec(e);return console.log(o,"results"),o?window.decodeURIComponent(o[1]):""}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0,exports.getUrlParameter=getUrlParameter;var _default={transDate:function(e,t){if(e){var n=new Date;if(n.setTime(e),Date.parse(e)&&(n=new Date(e)),n instanceof Date)return this.formatDate(t||"yyyy-MM-dd",n)}return""},transBaseDateTime:function(e,t){if(e){var n=new Date;if(n.setTime(e),Date.parse(e)&&(n=new Date(e)),n instanceof Date)return this.formatDate(t||"yyyy年MM月dd日 hh:mm",n)}return""},transBaseToDateTime:function(e,t){if(e){var n=new Date;if(n.setTime(e),Date.parse(e)&&(n=new Date(e)),n instanceof Date)return this.formatDate(t||"MM月dd日 hh:mm",n)}return""},transServDate:function(e){return this.transDate(e,"yyyy-MM-dd hh:mm:ss")},transServDay:function(e){return this.transDate(e,"yyyy-MM-dd")},isArrayFn:function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},transDcMap:function(e){var t={};return e.forEach((function(e){t[e.value]=e.label})),t},castEval:function castEval(val){return val?eval("("+val+")"):""},castString:function(e){return JSON.stringify(e)},formatMoney:function(e){if(!e)return"";if(e.length<=3)return e;if(!/^(\+|-)?(\d+)(\.\d+)?$/.test(e))return e;var t=RegExp.$1,n=RegExp.$2,r=RegExp.$3,o=new RegExp;o.compile("(\\d)(\\d{3})(,|$)");while(o.test(n))n=n.replace(o,"$1,$2$3");return t+""+n+r},formatDate:function(e,t){var n={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds(),"q+":Math.floor((t.getMonth()+3)/3),S:t.getMilliseconds()};for(var r in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length))),n)new RegExp("("+r+")").test(e)&&(e=e.replace(RegExp.$1,1===RegExp.$1.length?n[r]:("00"+n[r]).substr((""+n[r]).length)));return e},replaceThumbnail:function(e){return null!=e&&(e=e.replace("/server/FileController/download/",this.$constant.BASE_URI+"/wx/fileController/downloadThumbnail/")),null!=e&&(e=e.replace("/h5Server/FileController/download/",this.$constant.BASE_URI+"/wx/fileController/downloadThumbnail/")),e},goBack:function(){history.back()},uuid:function(e,t){var n,r,o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),i=[];if(t=t||o.length,e)for(n=0;n1){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===r.RFC1738&&(40===l||41===l)?c+=s.charAt(u):l<128?c+=a[l]:l<2048?c+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?c+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(u)),c+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return c},isBuffer:function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if("string"!==typeof e){var o=[t,e];e=o[0],t=o[1]}"string"!==typeof e&&(e=_());"string"!==typeof n&&(n="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||"en");var i=new b({locale:e,fallbackLocale:n,messages:t,watcher:r}),a=function(e,t){if("function"!==typeof getApp)a=function(e,t){return i.t(e,t)};else{var n=!1;a=function(e,t){var r=getApp().$vm;return r&&(r.$locale,n||(n=!0,x(r,i))),i.t(e,t)}}return a(e,t)};return{i18n:i,f:function(e,t,n){return i.f(e,t,n)},t:function(e,t){return a(e,t)},add:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return i.add(e,t,n)},watch:function(e){return i.watchLocale(e)},getLocale:function(){return i.getLocale()},setLocale:function(e){return i.setLocale(e)}}},t.isI18nStr=S,t.isString=void 0,t.normalizeLocale=w,t.parseI18nJson=function e(t,n,r){A||(A=new f);return I(t,(function(t,o){var i=t[o];k(i)?S(i,r)&&(t[o]=O(i,n,r)):e(i,n,r)})),t},t.resolveLocale=function(e){return function(t){return t?(t=w(t)||t,function(e){var t=[],n=e.split("-");while(n.length)t.push(n.join("-")),n.pop();return t}(t).find((function(t){return e.indexOf(t)>-1}))):t}};var i=o(n("34cf")),a=o(n("67ad")),s=o(n("0bdb")),c=o(n("3b2d")),u=function(e){return null!==e&&"object"===(0,c.default)(e)},l=["{","}"],f=function(){function e(){(0,a.default)(this,e),this._caches=Object.create(null)}return(0,s.default)(e,[{key:"interpolate",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l;if(!t)return[e];var r=this._caches[e];return r||(r=h(e,n),this._caches[e]=r),v(r,t)}}]),e}();t.Formatter=f;var p=/^(?:\d)+/,d=/^(?:\w)+/;function h(e,t){var n=(0,i.default)(t,2),r=n[0],o=n[1],a=[],s=0,c="";while(s-1?"zh-Hans":e.indexOf("-hant")>-1||function(e,t){return!!t.find((function(t){return-1!==e.indexOf(t)}))}(e,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var n=["en","fr","es"];t&&Object.keys(t).length>0&&(n=Object.keys(t));var r=function(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}(e,n);return r||void 0}}var b=function(){function e(t){var n=t.locale,r=t.fallbackLocale,o=t.messages,i=t.watcher,s=t.formater;(0,a.default)(this,e),this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],r&&(this.fallbackLocale=r),this.formater=s||m,this.messages=o||{},this.setLocale(n||"en"),i&&this.watchLocale(i)}return(0,s.default)(e,[{key:"setLocale",value:function(e){var t=this,n=this.locale;this.locale=w(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],n!==this.locale&&this.watchers.forEach((function(e){e(t.locale,n)}))}},{key:"getLocale",value:function(){return this.locale}},{key:"watchLocale",value:function(e){var t=this,n=this.watchers.push(e)-1;return function(){t.watchers.splice(n,1)}}},{key:"add",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.messages[e];r?n?Object.assign(r,t):Object.keys(t).forEach((function(e){y(r,e)||(r[e]=t[e])})):this.messages[e]=t}},{key:"f",value:function(e,t,n){return this.formater.interpolate(e,t,n).join("")}},{key:"t",value:function(e,t,n){var r=this.message;return"string"===typeof t?(t=w(t,this.messages),t&&(r=this.messages[t])):n=t,y(r,e)?this.formater.interpolate(r[e],n).join(""):(console.warn("Cannot translate the value of keypath ".concat(e,". Use the value of keypath as default.")),e)}}]),e}();function x(e,t){e.$watchLocale?e.$watchLocale((function(e){t.setLocale(e)})):e.$watch((function(){return e.$locale}),(function(e){t.setLocale(e)}))}function _(){return"undefined"!==typeof e&&e.getLocale?e.getLocale():"undefined"!==typeof r&&r.getLocale?r.getLocale():"en"}t.I18n=b;var A,k=function(e){return"string"===typeof e};function S(e,t){return e.indexOf(t[0])>-1}function O(e,t,n){return A.interpolate(e,t,n).join("")}function P(e,t,n){return I(e,(function(e,r){(function(e,t,n,r){var o=e[t];if(k(o)){if(S(o,r)&&(e[t]=O(o,n[0].values,r),n.length>1)){var i=e[t+"Locales"]={};n.forEach((function(e){i[e.locale]=O(o,e.values,r)}))}}else P(o,n,r)})(e,r,t,n)})),e}function I(e,t){if(Array.isArray(e)){for(var n=0;n>>32-t}function r(e,t){var n,r,o,i,a;return o=2147483648&e,i=2147483648&t,n=1073741824&e,r=1073741824&t,a=(1073741823&e)+(1073741823&t),n&r?2147483648^a^o^i:n|r?1073741824&a?3221225472^a^o^i:1073741824^a^o^i:a^o^i}function o(e,t,o,i,a,s,c){return e=r(e,r(r(function(e,t,n){return e&t|~e&n}(t,o,i),a),c)),r(n(e,s),t)}function i(e,t,o,i,a,s,c){return e=r(e,r(r(function(e,t,n){return e&n|t&~n}(t,o,i),a),c)),r(n(e,s),t)}function a(e,t,o,i,a,s,c){return e=r(e,r(r(function(e,t,n){return e^t^n}(t,o,i),a),c)),r(n(e,s),t)}function s(e,t,o,i,a,s,c){return e=r(e,r(r(function(e,t,n){return t^(e|~n)}(t,o,i),a),c)),r(n(e,s),t)}function c(e){var t,n,r="",o="";for(n=0;n<=3;n++)t=e>>>8*n&255,o="0"+t.toString(16),r+=o.substr(o.length-2,2);return r}var u,l,f,p,d,h,v,g,y,m=Array();for(e=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;n127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t}(e),m=function(e){var t,n=e.length,r=n+8,o=(r-r%64)/64,i=16*(o+1),a=Array(i-1),s=0,c=0;while(c>>29,a}(e),h=1732584193,v=4023233417,g=2562383102,y=271733878,u=0;u>16&255):64===r?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return o}:atob;var m=Object.prototype.toString,w=Object.prototype.hasOwnProperty;function b(e){return"function"===typeof e}function x(e){return"string"===typeof e}function _(e){return"[object Object]"===m.call(e)}function A(e,t){return w.call(e,t)}function k(){}function S(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var O=/-(\w)/g,P=S((function(e){return e.replace(O,(function(e,t){return t?t.toUpperCase():""}))}));function I(e){var t={};return _(e)&&Object.keys(e).sort().forEach((function(n){t[n]=e[n]})),Object.keys(t)?t:e}var T=["invoke","success","fail","complete","returnValue"],E={},C={};function D(e,t){Object.keys(t).forEach((function(n){-1!==T.indexOf(n)&&b(t[n])&&(e[n]=function(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(n){if(Array.isArray(e[n])){var r=t[n];t[n]=function(o){F(e[n],o,t).then((function(e){return b(r)&&r(e)||e}))}}})),t}function M(e,t){var n=[];Array.isArray(E.returnValue)&&n.push.apply(n,(0,u.default)(E.returnValue));var r=C[e];return r&&Array.isArray(r.returnValue)&&n.push.apply(n,(0,u.default)(r.returnValue)),n.forEach((function(e){t=e(t)||t})),t}function B(e){var t=Object.create(null);Object.keys(E).forEach((function(e){"returnValue"!==e&&(t[e]=E[e].slice())}));var n=C[e];return n&&Object.keys(n).forEach((function(e){"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function N(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),i=3;i0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length,o=new Array(r>1?r-1:0),i=1;i-1?"zh-Hans":e.indexOf("-hant")>-1||function(e,t){return!!t.find((function(t){return-1!==e.indexOf(t)}))}(e,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var n=function(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}(e,["en","fr","es"]);return n||void 0}}function ae(){if(b(getApp)){var t=getApp({allowDefault:!0});if(t&&t.$vm)return t.$vm.$locale}return ie(e.getSystemInfoSync().language)||"en"}var se=[];"undefined"!==typeof r&&(r.getLocale=ae);var ce={promiseInterceptor:q},ue=Object.freeze({__proto__:null,upx2px:function(t,n){if(0===Z&&function(){var t=e.getSystemInfoSync(),n=t.platform,r=t.pixelRatio,o=t.windowWidth;Z=o,ee=r,X="ios"===n}(),t=Number(t),0===t)return 0;var r=t/750*(n||Z);return r<0&&(r=-r),r=Math.floor(r+1e-4),0===r&&(r=1!==ee&&X?.5:1),t<0?-r:r},getLocale:ae,setLocale:function(e){var t=!!b(getApp)&&getApp();if(!t)return!1;var n=t.$vm.$locale;return n!==e&&(t.$vm.$locale=e,se.forEach((function(t){return t({locale:e})})),!0)},onLocaleChange:function(e){-1===se.indexOf(e)&&se.push(e)},addInterceptor:function(e,t){"string"===typeof e&&_(t)?D(C[e]||(C[e]={}),t):_(e)&&D(E,e)},removeInterceptor:function(e,t){"string"===typeof e?_(t)?j(C[e],t):delete C[e]:_(e)&&j(E,e)},interceptors:ce});var le,fe={name:function(e){return"back"===e.exists&&e.delta?"navigateBack":"redirectTo"},args:function(e){if("back"===e.exists&&e.url){var t=function(e){var t=getCurrentPages(),n=t.length;while(n--){var r=t[n];if(r.$page&&r.$page.fullPath===e)return n}return-1}(e.url);if(-1!==t){var n=getCurrentPages().length-1-t;n>0&&(e.delta=n)}}}},pe={args:function(e){var t=parseInt(e.current);if(!isNaN(t)){var n=e.urls;if(Array.isArray(n)){var r=n.length;if(r)return t<0?t=0:t>=r&&(t=r-1),t>0?(e.current=n[t],e.urls=n.filter((function(e,r){return!(r2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(_(t)){var i=!0===o?t:{};for(var a in b(n)&&(n=n(t,i)||{}),t)if(A(n,a)){var s=n[a];b(s)&&(s=s(t[a],t,i)),s?x(s)?i[s]=t[a]:_(s)&&(i[s.name?s.name:a]=s.value):console.warn("The '".concat(e,"' method of platform '微信小程序' does not support option '").concat(a,"'"))}else-1!==Se.indexOf(a)?b(t[a])&&(i[a]=Oe(e,t[a],r)):o||(i[a]=t[a]);return i}return b(t)&&(t=Oe(e,t,r)),t}function Ie(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return b(ke.returnValue)&&(t=ke.returnValue(e,t)),Pe(e,t,n,{},r)}function Te(t,n){if(A(ke,t)){var r=ke[t];return r?function(n,o){var i=r;b(r)&&(i=r(n)),n=Pe(t,n,i.args,i.returnValue);var a=[n];"undefined"!==typeof o&&a.push(o),b(i.name)?t=i.name(n):x(i.name)&&(t=i.name);var s=e[t].apply(e,a);return K(t)?Ie(t,s,i.returnValue,z(t)):s}:function(){console.error("Platform '微信小程序' does not support '".concat(t,"'."))}}return n}var Ee=Object.create(null);["onTabBarMidButtonTap","subscribePush","unsubscribePush","onPush","offPush","share"].forEach((function(e){Ee[e]=function(e){return function(t){var n=t.fail,r=t.complete,o={errMsg:"".concat(e,":fail method '").concat(e,"' not supported")};b(n)&&n(o),b(r)&&r(o)}}(e)}));var Ce={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]};var De=Object.freeze({__proto__:null,getProvider:function(e){var t=e.service,n=e.success,r=e.fail,o=e.complete,i=!1;Ce[t]?(i={errMsg:"getProvider:ok",service:t,provider:Ce[t]},b(n)&&n(i)):(i={errMsg:"getProvider:fail service not found"},b(r)&&r(i)),b(o)&&o(i)}}),je=function(){var e;return function(){return e||(e=new p.default),e}}();function Re(e,t,n){return e[t].apply(e,n)}var Le,Fe,Ue,Me=Object.freeze({__proto__:null,$on:function(){return Re(je(),"$on",Array.prototype.slice.call(arguments))},$off:function(){return Re(je(),"$off",Array.prototype.slice.call(arguments))},$once:function(){return Re(je(),"$once",Array.prototype.slice.call(arguments))},$emit:function(){return Re(je(),"$emit",Array.prototype.slice.call(arguments))}});function Be(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}function Ne(e){try{return JSON.parse(e)}catch(t){}return e}var qe=[];function Ve(e,t){qe.forEach((function(n){n(e,t)})),qe.length=0}var $e=[],We=e.getAppBaseInfo&&e.getAppBaseInfo();We||(We=e.getSystemInfoSync());var Je=We?We.host:null,He=Je&&"SAAASDK"===Je.env?e.miniapp.shareVideoMessage:e.shareVideoMessage,ze=Object.freeze({__proto__:null,shareVideoMessage:He,getPushClientId:function(e){_(e)||(e={});var t=function(e){var t={};for(var n in e){var r=e[n];b(r)&&(t[n]=Be(r),delete e[n])}return t}(e),n=t.success,r=t.fail,o=t.complete,i=b(n),a=b(r),s=b(o);Promise.resolve().then((function(){"undefined"===typeof Ue&&(Ue=!1,Le="",Fe="uniPush is not enabled"),qe.push((function(e,t){var c;e?(c={errMsg:"getPushClientId:ok",cid:e},i&&n(c)):(c={errMsg:"getPushClientId:fail"+(t?" "+t:"")},a&&r(c)),s&&o(c)})),"undefined"!==typeof Le&&Ve(Le,Fe)}))},onPushMessage:function(e){-1===$e.indexOf(e)&&$e.push(e)},offPushMessage:function(e){if(e){var t=$e.indexOf(e);t>-1&&$e.splice(t,1)}else $e.length=0},invokePushCallback:function(e){if("enabled"===e.type)Ue=!0;else if("clientId"===e.type)Le=e.cid,Fe=e.errMsg,Ve(Le,e.errMsg);else if("pushMsg"===e.type)for(var t={type:"receive",data:Ne(e.message)},n=0;n<$e.length;n++){var r=$e[n];if(r(t),t.stopped)break}else"click"===e.type&&$e.forEach((function(t){t({type:"click",data:Ne(e.message)})}))}}),Ke=["__route__","__wxExparserNodeId__","__wxWebviewId__"];function Qe(e){return Behavior(e)}function Ge(){return!!this.route}function Ye(e){this.triggerEvent("__l",e)}function Xe(e){var t=e.$scope,n={};Object.defineProperty(e,"$refs",{get:function(){var e={};(function e(t,n,r){var o=t.selectAllComponents(n)||[];o.forEach((function(t){var o=t.dataset.ref;r[o]=t.$vm||tt(t),"scoped"===t.dataset.vueGeneric&&t.selectAllComponents(".scoped-ref").forEach((function(t){e(t,n,r)}))}))})(t,".vue-ref",e);var r=t.selectAllComponents(".vue-ref-in-for")||[];return r.forEach((function(t){var n=t.dataset.ref;e[n]||(e[n]=[]),e[n].push(t.$vm||tt(t))})),function(e,t){var n=(0,c.default)(Set,(0,u.default)(Object.keys(e))),r=Object.keys(t);return r.forEach((function(r){var o=e[r],i=t[r];Array.isArray(o)&&Array.isArray(i)&&o.length===i.length&&i.every((function(e){return o.includes(e)}))||(e[r]=i,n.delete(r))})),n.forEach((function(t){delete e[t]})),e}(n,e)}})}function Ze(e){var t,n=e.detail||e.value,r=n.vuePid,o=n.vueOptions;r&&(t=function e(t,n){for(var r,o=t.$children,i=o.length-1;i>=0;i--){var a=o[i];if(a.$scope._$vueId===n)return a}for(var s=o.length-1;s>=0;s--)if(r=e(o[s],n),r)return r}(this.$vm,r)),t||(t=this.$vm),o.parent=t}function et(e){return Object.defineProperty(e,"__v_isMPComponent",{configurable:!0,enumerable:!1,value:!0}),e}function tt(e){return function(e){return null!==e&&"object"===(0,l.default)(e)}(e)&&Object.isExtensible(e)&&Object.defineProperty(e,"__ob__",{configurable:!0,enumerable:!1,value:(0,s.default)({},"__v_skip",!0)}),e}var nt=/_(.*)_worklet_factory_/;var rt=Page,ot=Component,it=/:/g,at=S((function(e){return P(e.replace(it,"-"))}));function st(e){var t=e.triggerEvent,n=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:{};return ct("onLoad",e),rt(e)},Page.after=rt.after,Component=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ct("created",e),ot(e)});function ut(e,t,n){t.forEach((function(t){(function e(t,n){if(!n)return!0;if(p.default.options&&Array.isArray(p.default.options[t]))return!0;if(n=n.default||n,b(n))return!!b(n.extendOptions[t])||!!(n.super&&n.super.options&&Array.isArray(n.super.options[t]));if(b(n[t])||Array.isArray(n[t]))return!0;var r=n.mixins;return Array.isArray(r)?!!r.find((function(n){return e(t,n)})):void 0})(t,n)&&(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}))}function lt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];ft(t).forEach((function(t){return pt(e,t,n)}))}function ft(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e&&Object.keys(e).forEach((function(n){0===n.indexOf("on")&&b(e[n])&&t.push(n)})),t}function pt(e,t,n){-1!==n.indexOf(t)||A(e,t)||(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}function dt(e,t){var n;return t=t.default||t,n=b(t)?t:e.extend(t),t=n.options,[n,t]}function ht(e,t){if(Array.isArray(t)&&t.length){var n=Object.create(null);t.forEach((function(e){n[e]=!0})),e.$scopedSlots=e.$slots=n}}function vt(e,t){e=(e||"").split(",");var n=e.length;1===n?t._$vueId=e[0]:2===n&&(t._$vueId=e[0],t._$vuePid=e[1])}function gt(e,t){var n=e.data||{},r=e.methods||{};if("function"===typeof n)try{n=n.call(t)}catch(o){Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"红沙湾管理端",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG&&console.warn("根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。",n)}else try{n=JSON.parse(JSON.stringify(n))}catch(o){}return _(n)||(n={}),Object.keys(r).forEach((function(e){-1!==t.__lifecycle_hooks__.indexOf(e)||A(n,e)||(n[e]=r[e])})),n}var yt=[String,Number,Boolean,Object,Array,null];function mt(e){return function(t,n){this.$vm&&(this.$vm[e]=t)}}function wt(e,t){var n=e.behaviors,r=e.extends,o=e.mixins,i=e.props;i||(e.props=i=[]);var a=[];return Array.isArray(n)&&n.forEach((function(e){a.push(e.replace("uni://","wx".concat("://"))),"uni://form-field"===e&&(Array.isArray(i)?(i.push("name"),i.push("value")):(i.name={type:String,default:""},i.value={type:[String,Number,Boolean,Array,Object,Date],default:""}))})),_(r)&&r.props&&a.push(t({properties:xt(r.props,!0)})),Array.isArray(o)&&o.forEach((function(e){_(e)&&e.props&&a.push(t({properties:xt(e.props,!0)}))})),a}function bt(e,t,n,r){return Array.isArray(t)&&1===t.length?t[0]:t}function xt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>3?arguments[3]:void 0,r={};return t||(r.vueId={type:String,value:""},n.virtualHost&&(r.virtualHostStyle={type:null,value:""},r.virtualHostClass={type:null,value:""}),r.scopedSlotsCompiler={type:String,value:""},r.vueSlots={type:null,value:[],observer:function(e,t){var n=Object.create(null);e.forEach((function(e){n[e]=!0})),this.setData({$slots:n})}}),Array.isArray(e)?e.forEach((function(e){r[e]={type:null,observer:mt(e)}})):_(e)&&Object.keys(e).forEach((function(t){var n=e[t];if(_(n)){var o=n.default;b(o)&&(o=o()),n.type=bt(0,n.type),r[t]={type:-1!==yt.indexOf(n.type)?n.type:null,value:o,observer:mt(t)}}else{var i=bt(0,n);r[t]={type:-1!==yt.indexOf(i)?i:null,observer:mt(t)}}})),r}function _t(e,t,n,r){var o={};return Array.isArray(t)&&t.length&&t.forEach((function(t,i){"string"===typeof t?t?"$event"===t?o["$"+i]=n:"arguments"===t?o["$"+i]=n.detail&&n.detail.__args__||r:0===t.indexOf("$event.")?o["$"+i]=e.__get_value(t.replace("$event.",""),n):o["$"+i]=e.__get_value(t):o["$"+i]=e:o["$"+i]=function(e,t){var n=e;return t.forEach((function(t){var r=t[0],o=t[2];if(r||"undefined"!==typeof o){var i,a=t[1],s=t[3];Number.isInteger(r)?i=r:r?"string"===typeof r&&r&&(i=0===r.indexOf("#s#")?r.substr(3):e.__get_value(r,n)):i=n,Number.isInteger(i)?n=o:a?Array.isArray(i)?n=i.find((function(t){return e.__get_value(a,t)===o})):_(i)?n=Object.keys(i).find((function(t){return e.__get_value(a,i[t])===o})):console.error("v-for 暂不支持循环数据:",i):n=i[o],s&&(n=e.__get_value(s,n))}})),n}(e,t)})),o}function At(e){for(var t={},n=1;n2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,a=!1,s=_(t.detail)&&t.detail.__args__||[t.detail];if(o&&(a=t.currentTarget&&t.currentTarget.dataset&&"wx"===t.currentTarget.dataset.comType,!n.length))return a?[t]:s;var c=_t(e,r,t,s),u=[];return n.forEach((function(e){"$event"===e?"__set_model"!==i||o?o&&!a?u.push(s[0]):u.push(t):u.push(t.target.value):Array.isArray(e)&&"o"===e[0]?u.push(At(e)):"string"===typeof e&&A(c,e)?u.push(c[e]):u.push(e)})),u}function St(e){var t=this;e=function(e){try{e.mp=JSON.parse(JSON.stringify(e))}catch(t){}return e.stopPropagation=k,e.preventDefault=k,e.target=e.target||{},A(e,"detail")||(e.detail={}),A(e,"markerId")&&(e.detail="object"===(0,l.default)(e.detail)?e.detail:{},e.detail.markerId=e.markerId),_(e.detail)&&(e.target=Object.assign({},e.target,e.detail)),e}(e);var n=(e.currentTarget||e.target).dataset;if(!n)return console.warn("事件信息不存在");var r=n.eventOpts||n["event-opts"];if(!r)return console.warn("事件信息不存在");var o=e.type,i=[];return r.forEach((function(n){var r=n[0],a=n[1],s="^"===r.charAt(0);r=s?r.slice(1):r;var c="~"===r.charAt(0);r=c?r.slice(1):r,a&&function(e,t){return e===t||"regionchange"===t&&("begin"===e||"end"===e)}(o,r)&&a.forEach((function(n){var r=n[0];if(r){var o=t.$vm;if(o.$options.generic&&(o=function(e){var t=e.$parent;while(t&&t.$parent&&(t.$options.generic||t.$parent.$options.generic||t.$scope._$vuePid))t=t.$parent;return t&&t.$parent}(o)||o),"$emit"===r)return void o.$emit.apply(o,kt(t.$vm,e,n[1],n[2],s,r));var a=o[r];if(!b(a)){var u="page"===t.$vm.mpType?"Page":"Component",l=t.route||t.is;throw new Error("".concat(u,' "').concat(l,'" does not have a method "').concat(r,'"'))}if(c){if(a.once)return;a.once=!0}var f=kt(t.$vm,e,n[1],n[2],s,r);f=Array.isArray(f)?f:[],/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(a.toString())&&(f=f.concat([,,,,,,,,,,e])),i.push(a.apply(o,f))}}))})),"input"===o&&1===i.length&&"undefined"!==typeof i[0]?i[0]:void 0}var Ot={};var Pt=["onShow","onHide","onError","onPageNotFound","onThemeChange","onUnhandledRejection"];function It(){p.default.prototype.getOpenerEventChannel=function(){return this.$scope.getOpenerEventChannel()};var e=p.default.prototype.__call_hook;p.default.prototype.__call_hook=function(t,n){return"onLoad"===t&&n&&n.__id__&&(this.__eventChannel__=function(e){var t=Ot[e];return delete Ot[e],t}(n.__id__),delete n.__id__),e.call(this,t,n)}}function Tt(t,n){var r=n.mocks,o=n.initRefs;It(),function(){var e={},t={};function n(e){var t=this.$options.propsData.vueId;if(t){var n=t.split(",")[0];e(n)}}p.default.prototype.$hasSSP=function(n){var r=e[n];return r||(t[n]=this,this.$on("hook:destroyed",(function(){delete t[n]}))),r},p.default.prototype.$getSSP=function(t,n,r){var o=e[t];if(o){var i=o[n]||[];return r?i:i[0]}},p.default.prototype.$setSSP=function(t,r){var o=0;return n.call(this,(function(n){var i=e[n],a=i[t]=i[t]||[];a.push(r),o=a.length-1})),o},p.default.prototype.$initSSP=function(){n.call(this,(function(t){e[t]={}}))},p.default.prototype.$callSSP=function(){n.call(this,(function(e){t[e]&&t[e].$forceUpdate()}))},p.default.mixin({destroyed:function(){var n=this.$options.propsData,r=n&&n.vueId;r&&(delete e[r],delete t[r])}})}(),t.$options.store&&(p.default.prototype.$store=t.$options.store),function(e){e.prototype.uniIDHasRole=function(e){var t=y(),n=t.role;return n.indexOf(e)>-1},e.prototype.uniIDHasPermission=function(e){var t=y(),n=t.permission;return this.uniIDHasRole("admin")||n.indexOf(e)>-1},e.prototype.uniIDTokenValid=function(){var e=y(),t=e.tokenExpired;return t>Date.now()}}(p.default),p.default.prototype.mpHost="mp-weixin",p.default.mixin({beforeCreate:function(){if(this.$options.mpType){if(this.mpType=this.$options.mpType,this.$mp=(0,s.default)({data:{}},this.mpType,this.$options.mpInstance),this.$scope=this.$options.mpInstance,delete this.$options.mpType,delete this.$options.mpInstance,"page"===this.mpType&&"function"===typeof getApp){var e=getApp();e.$vm&&e.$vm.$i18n&&(this._i18n=e.$vm.$i18n)}"app"!==this.mpType&&(o(this),function(e,t){var n=e.$mp[e.mpType];t.forEach((function(t){A(n,t)&&(e[t]=n[t])}))}(this,r))}}});var i={onLaunch:function(n){this.$vm||(e.canIUse&&!e.canIUse("nextTick")&&console.error("当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上"),this.$vm=t,this.$vm.$mp={app:this},this.$vm.$scope=this,this.$vm.globalData=this.globalData,this.$vm._isMounted=!0,this.$vm.__call_hook("mounted",n),this.$vm.__call_hook("onLaunch",n))}};i.globalData=t.$options.globalData||{};var a=t.$options.methods;return a&&Object.keys(a).forEach((function(e){i[e]=a[e]})),function(e,t,n){var r=e.observable({locale:n||re.getLocale()}),o=[];t.$watchLocale=function(e){o.push(e)},Object.defineProperty(t,"$locale",{get:function(){return r.locale},set:function(e){r.locale=e,o.forEach((function(t){return t(e)}))}})}(p.default,t,ie(e.getSystemInfoSync().language)||"en"),ut(i,Pt),lt(i,t.$options),i}function Et(e){return Tt(e,{mocks:Ke,initRefs:Xe})}function Ct(e){return App(Et(e)),e}var Dt=/[!'()*]/g,jt=function(e){return"%"+e.charCodeAt(0).toString(16)},Rt=/%2C/g,Lt=function(e){return encodeURIComponent(e).replace(Dt,jt).replace(Rt,",")};function Ft(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Lt,n=e?Object.keys(e).map((function(n){var r=e[n];if(void 0===r)return"";if(null===r)return t(n);if(Array.isArray(r)){var o=[];return r.forEach((function(e){void 0!==e&&(null===e?o.push(t(n)):o.push(t(n)+"="+t(e)))})),o.join("&")}return t(n)+"="+t(r)})).filter((function(e){return e.length>0})).join("&"):null;return n?"?".concat(n):""}function Ut(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isPage,r=t.initRelation,o=arguments.length>2?arguments[2]:void 0,i=dt(p.default,e),s=(0,a.default)(i,2),c=s[0],u=s[1],l=h({multipleSlots:!0,addGlobalClass:!0},u.options||{});u["mp-weixin"]&&u["mp-weixin"].options&&Object.assign(l,u["mp-weixin"].options);var f={options:l,data:gt(u,p.default.prototype),behaviors:wt(u,Qe),properties:xt(u.props,!1,u.__file,l),lifetimes:{attached:function(){var e=this.properties,t={mpType:n.call(this)?"page":"component",mpInstance:this,propsData:e};vt(e.vueId,this),r.call(this,{vuePid:this._$vuePid,vueOptions:t}),this.$vm=new c(t),ht(this.$vm,e.vueSlots),this.$vm.$mount()},ready:function(){this.$vm&&(this.$vm._isMounted=!0,this.$vm.__call_hook("mounted"),this.$vm.__call_hook("onReady"))},detached:function(){this.$vm&&this.$vm.$destroy()}},pageLifetimes:{show:function(e){this.$vm&&this.$vm.__call_hook("onPageShow",e)},hide:function(){this.$vm&&this.$vm.__call_hook("onPageHide")},resize:function(e){this.$vm&&this.$vm.__call_hook("onPageResize",e)}},methods:{__l:Ze,__e:St}};return u.externalClasses&&(f.externalClasses=u.externalClasses),Array.isArray(u.wxsCallMethods)&&u.wxsCallMethods.forEach((function(e){f.methods[e]=function(t){return this.$vm[e](t)}})),o?[f,u,c]:n?f:[f,c]}(e,{isPage:Ge,initRelation:Ye},t)}var Mt=["onShow","onHide","onUnload"];function Bt(e){var t=Ut(e,!0),n=(0,a.default)(t,2),r=n[0],o=n[1];return ut(r.methods,Mt,o),r.methods.onLoad=function(e){this.options=e;var t=Object.assign({},e);delete t.__id__,this.$page={fullPath:"/"+(this.route||this.is)+Ft(t)},this.$vm.$mp.query=e,this.$vm.__call_hook("onLoad",e)},lt(r.methods,e,["onReady"]),function(e,t){t&&Object.keys(t).forEach((function(n){var r=n.match(nt);if(r){var o=r[1];e[n]=t[n],e[o]=t[o]}}))}(r.methods,o.methods),r}function Nt(e){return Component(function(e){return Bt(e)}(e))}function qt(e){return Component(Ut(e))}function Vt(t){var n=Et(t),r=getApp({allowDefault:!0});t.$scope=r;var o=r.globalData;if(o&&Object.keys(n.globalData).forEach((function(e){A(o,e)||(o[e]=n.globalData[e])})),Object.keys(n).forEach((function(e){A(r,e)||(r[e]=n[e])})),b(n.onShow)&&e.onAppShow&&e.onAppShow((function(){for(var e=arguments.length,n=new Array(e),r=0;r1&&"boolean"!==typeof t)throw new i('"allowMissing" argument must be a boolean');if(null===_(/^%?[^%]*%?$/,e))throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=S(e),o=n.length>0?n[0]:"",a=O("%"+o+"%",t),c=a.name,u=a.value,l=!1,f=a.alias;f&&(o=f[0],w(n,m([0,1],f)));for(var p=1,d=!0;p=n.length){var A=s(u,v);d=!!A,u=d&&"get"in A&&!("originalValue"in A.get)?A.get:u[v]}else d=y(u,v),u=u[v];d&&!l&&(h[c]=u)}}return u}},ee10:function(e,t){function n(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(u){return void n(u)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,c,"next",e)}function c(e){n(a,o,i,s,c,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports["default"]=e.exports},efa5:function(e,t,n){"use strict";var r="undefined"!==typeof Symbol&&Symbol,o=n("f4c9");e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&o())))}},f4c9:function(e,t,n){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},fc5b:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAGGZJREFUeF7tXQd4VEXXfs/2TSVi6L0GEBBRUBBRURH8FCygyG8XKSJSRBGlCoLwUSJSFJAiSpEi+IEIUoWAKNJEek1M6CS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