ssm41471/src/main/webapp/front/h5/static/js/chunk-vendors.3eadbc4c.js

(开头部分) 563KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"014b":function(t,e,n){"use strict";var r=n("e53d"),i=n("07e3"),o=n("8e60"),a=n("63b6"),s=n("9138"),c=n("ebfd").KEY,u=n("294c"),l=n("dbdb"),f=n("45f2"),h=n("62a0"),d=n("5168"),p=n("ccb9"),v=n("6718"),g=n("47ee"),m=n("9003"),b=n("e4ae"),y=n("f772"),_=n("241e"),w=n("36c3"),S=n("1bc3"),k=n("aebd"),x=n("a159"),T=n("0395"),C=n("bf0b"),O=n("9aa9"),E=n("d9f6"),j=n("c3a1"),A=C.f,M=E.f,$=T.f,I=r.Symbol,P=r.JSON,L=P&&P.stringify,N="prototype",B=d("_hidden"),D=d("toPrimitive"),R={}.propertyIsEnumerable,F=l("symbol-registry"),z=l("symbols"),q=l("op-symbols"),V=Object[N],H="function"==typeof I&&!!O.f,U=r.QObject,W=!U||!U[N]||!U[N].findChild,Y=o&&u((function(){return 7!=x(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=A(V,e);r&&delete V[e],M(t,e,n),r&&t!==V&&M(V,e,r)}:M,X=function(t){var e=z[t]=x(I[N]);return e._k=t,e},G=H&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},K=function(t,e,n){return t===V&&K(q,e,n),b(t),e=S(e,!0),b(n),i(z,e)?(n.enumerable?(i(t,B)&&t[B][e]&&(t[B][e]=!1),n=x(n,{enumerable:k(0,!1)})):(i(t,B)||M(t,B,k(1,{})),t[B][e]=!0),Y(t,e,n)):M(t,e,n)},Q=function(t,e){b(t);var n,r=g(e=w(e)),i=0,o=r.length;while(o>i)K(t,n=r[i++],e[n]);return t},J=function(t,e){return void 0===e?x(t):Q(x(t),e)},Z=function(t){var e=R.call(this,t=S(t,!0));return!(this===V&&i(z,t)&&!i(q,t))&&(!(e||!i(this,t)||!i(z,t)||i(this,B)&&this[B][t])||e)},tt=function(t,e){if(t=w(t),e=S(e,!0),t!==V||!i(z,e)||i(q,e)){var n=A(t,e);return!n||!i(z,e)||i(t,B)&&t[B][e]||(n.enumerable=!0),n}},et=function(t){var e,n=$(w(t)),r=[],o=0;while(n.length>o)i(z,e=n[o++])||e==B||e==c||r.push(e);return r},nt=function(t){var e,n=t===V,r=$(n?q:w(t)),o=[],a=0;while(r.length>a)!i(z,e=r[a++])||n&&!i(V,e)||o.push(z[e]);return o};H||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===V&&e.call(q,n),i(this,B)&&i(this[B],t)&&(this[B][t]=!1),Y(this,t,k(1,n))};return o&&W&&Y(V,t,{configurable:!0,set:e}),X(t)},s(I[N],"toString",(function(){return this._k})),C.f=tt,E.f=K,n("6abf").f=T.f=et,n("355d").f=Z,O.f=nt,o&&!n("b8e3")&&s(V,"propertyIsEnumerable",Z,!0),p.f=function(t){return X(d(t))}),a(a.G+a.W+a.F*!H,{Symbol:I});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;rt.length>it;)d(rt[it++]);for(var ot=j(d.store),at=0;ot.length>at;)v(ot[at++]);a(a.S+a.F*!H,"Symbol",{for:function(t){return i(F,t+="")?F[t]:F[t]=I(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var e in F)if(F[e]===t)return e},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!H,"Object",{create:J,defineProperty:K,defineProperties:Q,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var st=u((function(){O.f(1)}));a(a.S+a.F*st,"Object",{getOwnPropertySymbols:function(t){return O.f(_(t))}}),P&&a(a.S+a.F*(!H||u((function(){var t=I();return"[null]"!=L([t])||"{}"!=L({a:t})||"{}"!=L(Object(t))}))),"JSON",{stringify:function(t){var e,n,r=[t],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=e=r[1],(y(e)||void 0!==t)&&!G(t))return m(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!G(e))return e}),r[1]=e,L.apply(P,r)}}),I[N][D]||n("35e8")(I[N],D,I[N].valueOf),f(I,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),a=n("32e9"),s=n("84f2"),c=n("41a0"),u=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",v="values",g=function(){return this};t.exports=function(t,e,n,m,b,y,_){c(n,e,m);var w,S,k,x=function(t){if(!h&&t in E)return E[t];switch(t){case p:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",C=b==v,O=!1,E=t.prototype,j=E[f]||E[d]||b&&E[b],A=j||x(b),M=b?C?x("entries"):A:void 0,$="Array"==e&&E.entries||j;if($&&(k=l($.call(new t)),k!==Object.prototype&&k.next&&(u(k,T,!0),r||"function"==typeof k[f]||a(k,f,g))),C&&j&&j.name!==v&&(O=!0,A=function(){return j.call(this)}),r&&!_||!h&&!O&&E[f]||a(E,f,A),s[e]=A,s[T]=g,b)if(w={values:C?A:x(v),keys:y?A:x(p),entries:M},_)for(S in w)S in E||o(E,S,w[S]);else i(i.P+i.F*(h||O),e,w);return w}},"0293":function(t,e,n){var r=n("241e"),i=n("53e2");n("ce7e")("getPrototypeOf",(function(){return function(t){return i(r(t))}}))},"02f4":function(t,e,n){var r=n("4588"),i=n("be13");t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},"0390":function(t,e,n){"use strict";var r=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"0395":function(t,e,n){var r=n("36c3"),i=n("6abf").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(e){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):i(r(t))}},"061b":function(t,e,n){t.exports=n("fa99")},"07d6":function(t,e){t.exports=function(){throw new Error("define cannot be used indirect")}},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"097d":function(t,e,n){"use strict";var r=n("5ca1"),i=n("8378"),o=n("7726"),a=n("ebd6"),s=n("bcaa");r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},"09fa":function(t,e,n){var r=n("4588"),i=n("9def");t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length!");return n}},"0a49":function(t,e,n){var r=n("9b43"),i=n("626a"),o=n("4bf8"),a=n("9def"),s=n("cd1c");t.exports=function(t,e){var n=1==t,c=2==t,u=3==t,l=4==t,f=6==t,h=5==t||f,d=e||s;return function(e,s,p){for(var v,g,m=o(e),b=i(m),y=r(s,p,3),_=a(b.length),w=0,S=n?d(e,_):c?d(e,0):void 0;_>w;w++)if((h||w in b)&&(v=b[w],g=y(v,w,m),t))if(n)S[w]=g;else if(g)switch(t){case 3:return!0;case 5:return v;case 6:return w;case 2:S.push(v)}else if(l)return!1;return f?-1:u||l?l:S}}},"0bfb":function(t,e,n){"use strict";var r=n("cb7c");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},"0f88":function(t,e,n){var r,i=n("7726"),o=n("32e9"),a=n("ca5a"),s=a("typed_array"),c=a("view"),u=!(!i.ArrayBuffer||!i.DataView),l=u,f=0,h=9,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");while(f<h)(r=i[d[f++]])?(o(r.prototype,s,!0),o(r.prototype,c,!0)):l=!1;t.exports={ABV:u,CONSTR:l,TYPED:s,VIEW:c}},"0fc9":function(t,e,n){var r=n("3a38"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},1169:function(t,e,n){var r=n("2d95");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"11e9":function(t,e,n){var r=n("52a7"),i=n("4630"),o=n("6821"),a=n("6a99"),s=n("69a8"),c=n("c69a"),u=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?u:function(t,e){if(t=o(t),e=a(e,!0),c)try{return u(t,e)}catch(n){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);var n,a=o(e),s=a.length,c=0;while(s>c)r.f(t,n=a[c++],e[n]);return t}},1654:function(t,e,n){"use strict";var r=n("71c1")(!0);n("30f1")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},1991:function(t,e,n){var r,i,o,a=n("9b43"),s=n("31f4"),c=n("fab2"),u=n("230e"),l=n("7726"),f=l.process,h=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,v=l.Dispatch,g=0,m={},b="onreadystatechange",y=function(){var t=+this;if(m.hasOwnProperty(t)){var e=m[t];delete m[t],e()}},_=function(t){y.call(t.data)};h&&d||(h=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return m[++g]=function(){s("function"==typeof t?t:Function(t),e)},r(g),g},d=function(t){delete m[t]},"process"==n("2d95")(f)?r=function(t){f.nextTick(a(y,t,1))}:v&&v.now?r=function(t){v.now(a(y,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=_,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",_,!1)):r=b in u("script")?function(t){c.appendChild(u("script"))[b]=function(){c.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:h,clear:d}},"1bc3":function(t,e,n){var r=n("f772");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"1c31":function(t,e,n){"use strict";(function(t){var r=n("4ea4");n("d185"),n("fd24"),n("8e6e"),n("34ef"),n("386d"),n("55dd"),n("6aa2"),n("20d6"),n("f559"),n("5df3"),n("1c4c"),n("6762"),n("2fdb"),n("6b54"),n("8615"),n("3b2b"),n("a481"),n("4917"),n("c5f6"),n("456d"),n("ac6a"),n("7514"),n("28a5"),n("ac4d"),n("8a81");var i=r(n("7618"));(function(r,o){"object"===(0,i.default)(e)&&"object"===(0,i.default)(t)?t.exports=o(n("a7a7"),n("e143")):n("07d6")([,],o)})("undefined"!==typeof self&&self,(function(t,e){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===(0,i.default)(t)&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fae3")}({"0001":function(t,e,n){n.r(e),function(t){n.d(e,"loadFontFace",(function(){return o}));var r=n("a118"),i=n("db70");function o(e,n){var r=Object(i["a"])();if(!r)return{errMsg:"loadFontFace:fail not font page"};t.publishHandler("loadFontFace",{options:e,callbackId:n},r)}t.subscribe("onLoadFontFaceCallback",(function(t){var e=t.callbackId,n=t.data;Object(r["a"])(e,n)}))}.call(this,n("0dd1"))},"00b2":function(t,e,n){},"0138":function(t,e,n){n.r(e),function(t){var r=n("052f"),i=n("3d1f"),o=n("98be"),a=n("abbf");n.d(e,"getApp",(function(){return a["b"]})),n.d(e,"getCurrentPages",(function(){return a["c"]})),Object(r["a"])(t.on,{getApp:a["b"],getCurrentPages:a["c"]}),Object(i["a"])(t.subscribe,{getApp:a["b"],getCurrentPages:a["c"]}),e["default"]=o["a"]}.call(this,n("0dd1"))},"01d0":function(t,e,n){},"02c9":function(t,e,n){function r(t){if(0===t.indexOf("#")){var e=t.substr(1);return function(t){return!(!t.componentInstance||t.componentInstance.id!==e)||!(!t.data||!t.data.attrs||t.data.attrs.id!==e)}}if(0===t.indexOf(".")){var n=t.substr(1);return function(t){return t.data&&o(n,t.data.staticClass,t.data.class)}}}n.d(e,"a",(function(){return c}));var i=/\s+/;function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e?-1!==e.split(i).indexOf(t):n&&"string"===typeof n?-1!==n.split(i).indexOf(t):void 0}function a(t,e){if(e(t.$vnode||t._vnode))return t;for(var n=t.$children,r=0;r<n.length;r++){var i=a(n[r],e);if(i)return i}}function s(t,e,n){e(t.$vnode||t._vnode)&&n.push(t);for(var r=t.$children,i=0;i<r.length;i++)s(r[i],e,n);return n}function c(t){t.prototype.createIntersectionObserver=function(t){return uni.createIntersectionObserver(this,t)},t.prototype.selectComponent=function(t){return a(this,r(t))},t.prototype.selectAllComponents=function(t){return s(this,r(t),[])}}},"052f":function(t,e,n){var r=n("a741"),i=n("45db");function o(t,e){var n=t.name,r=t.arg;"postMessage"===n||uni[n](r)}function a(t,e){var n=e.getApp,a=e.getCurrentPages;function s(t){Object(r["a"])(n(),"onError",t)}function c(t){Object(r["a"])(n(),"onPageNotFound",t)}function u(t,e){var n=a().find((function(t){return t.$page.id===e}));n&&Object(r["b"])(n,"onResize",t)}function l(t,e){var n=a().find((function(t){return t.$page.id===e}));n&&(Object(i["setPullDownRefreshPageId"])(e),Object(r["b"])(n,"onPullDownRefresh"))}function f(t,e){var n=a();n.length&&Object(r["b"])(n[n.length-1],t,e)}function h(t){return function(e){f(t,e)}}function d(){Object(r["a"])(n(),"onHide"),f("onHide")}function p(){Object(r["a"])(n(),"onShow"),f("onShow")}t("onError",s),t("onPageNotFound",c),t("onAppEnterBackground",d),t("onAppEnterForeground",p),t("onResize",u),t("onPullDownRefresh",l),t("onTabItemTap",h("onTabItemTap")),t("onNavigationBarButtonTap",h("onNavigationBarButtonTap")),t("onNavigationBarSearchInputChanged",h("onNavigationBarSearchInputChanged")),t("onNavigationBarSearchInputConfirmed",h("onNavigationBarSearchInputConfirmed")),t("onNavigationBarSearchInputClicked",h("onNavigationBarSearchInputClicked")),t("onWebInvokeAppService",o)}n.d(e,"a",(function(){return a}))},"0554":function(t,e,n){n.r(e),function(t){n.d(e,"getLocation",(function(){return o}));var r=n("ffdc");function i(t,e,n){var i=__uniConfig.qqMapKey,o="https://apis.map.qq.com/ws/coord/v1/translate?locations=".concat(t.latitude,",").concat(t.longitude,"&type=1&key=").concat(i,"&output=jsonp");Object(r["a"])(o,{},(function(t){"locations"in t&&t.locations.length?e({longitude:t.locations[0].lng,latitude:t.locations[0].lat}):n(t)}),n)}function o(e,n){var r=e.type,o=e.altitude,a=t,s=a.invokeCallbackHandler;function c(t){s(n,Object.assign(t,{errMsg:"getLocation:ok",verticalAccuracy:t.altitudeAccuracy||0,horizontalAccuracy:t.accuracy}))}navigator.geolocation?navigator.geolocation.getCurrentPosition((function(t){var e=t.coords;"WGS84"===r?c(e):i(e,c,(function(t){s(n,{errMsg:"getLocation:fail "+JSON.stringify(t)})}))}),(function(){s(n,{errMsg:"getLocation:fail"})}),{enableHighAccuracy:o,timeout:3e5}):s(n,{errMsg:"getLocation:fail device nonsupport geolocation"})}}.call(this,n("0dd1"))},"0741":function(t,e,n){var r=n("3c79"),i=n.n(r);i.a},"0758":function(t,e,n){n.r(e),function(t){function r(e,n,r,i){var o=n.$page.id;t.publishHandler(o+"-map-"+e,{mapId:e,type:r,data:i},o)}n.d(e,"operateMapPlayer",(function(){return r}))}.call(this,n("0dd1"))},"0784":function(t,e,n){var r=n("a741"),i=n("f2b3");function o(t){var e=t.$route;t.route=e.meta.pagePath;var n=Object(i["e"])(e.params,"__id__")?e.params.__id__:e.meta.id;t.__page__={id:n,path:e.path,route:e.meta.pagePath,meta:Object.assign({},e.meta)},t.$vm=t,t.$root=t,t.$holder=t.$parent.$parent,t.$mp={mpType:"page",page:t,query:{},status:""}}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={};return Object.keys(t).forEach((function(n){try{e[n]=decodeURIComponent(t[n])}catch(r){e[n]=t[n]}})),e}function s(){return{created:function(){o(this),Object(r["b"])(this,"onLoad",a(this.$route.query)),Object(r["b"])(this,"onShow")}}}n.d(e,"a",(function(){return s}))},"091a":function(t,e,n){n.r(e),function(t){n.d(e,"createIntersectionObserver",(function(){return f}));var r=n("62b5"),i=n("db70");function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}var c=Object(r["a"])("requestComponentObserver"),u={thresholds:[0],initialRatio:0,observeAll:!1},l=function(){function e(t,n){o(this,e),this.pageId=t.$page.id,this.component=t._$id||t,this.options=Object.assign({},u,n)}return s(e,[{key:"_makeRootMargin",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.options.rootMargin=["top","right","bottom","left"].map((function(e){return"".concat(Number(t[e])||0,"px")})).join(" ")}},{key:"relativeTo",value:function(t,e){return this.options.relativeToSelector=t,this._makeRootMargin(e),this}},{key:"relativeToViewport",value:function(t){return this.options.relativeToSelector=null,this._makeRootMargin(t),this}},{key:"observe",value:function(e,n){"function"===typeof n&&(this.options.selector=e,this.reqId=c.push(n),t.publishHandler("requestComponentObserver",{reqId:this.reqId,component:this.component,options:this.options},this.pageId))}},{key:"disconnect",value:function(){t.publishHandler("destroyComponentObserver",{reqId:this.reqId},this.pageId)}}]),e}();function f(t,e){return t._isVue||(e=t,t=null),new l(t||Object(i["b"])("createIntersectionObserver"),e)}}.call(this,n("0dd1"))},"0998":function(t,e,n){var r=n("927d"),i=n.n(r);i.a},"09e5":function(t,e,n){n.r(e),function(t){n.d(e,"requestComponentInfo",(function(){return o}));var r=n("62b5"),i=Object(r["a"])("requestComponentInfo");function o(e,n,r){t.publishHandler("requestComponentInfo",{reqId:i.push(r),reqs:n},e.$page.id)}}.call(this,n("0dd1"))},"0a32":function(t,e,n){var r=n("e4f1"),i=n.n(r);i.a},"0dd1":function(t,e,n){n.r(e),n.d(e,"on",(function(){return c})),n.d(e,"off",(function(){return u})),n.d(e,"once",(function(){return l})),n.d(e,"emit",(function(){return f})),n.d(e,"subscribe",(function(){return h})),n.d(e,"unsubscribe",(function(){return d})),n.d(e,"subscribeHandler",(function(){return p}));var r=n("8bbf"),i=n.n(r),o=n("27a7");n.d(e,"invokeCallbackHandler",(function(){return o["a"]}));var a=n("b865");n.d(e,"publishHandler",(function(){return a["b"]}));var s=new i.a,c=s.$on.bind(s),u=s.$off.bind(s),l=s.$once.bind(s),f=s.$emit.bind(s);function h(t,e){return c("view."+t,e)}function d(t,e){return u("view."+t,e)}function p(t,e,n){return f("view."+t,e,n)}},"0f55":function(t,e,n){var r=n("2190"),i=n.n(r);i.a},"0f74":function(t,e,n){function r(t,e){if(e){if(0===e.indexOf("/"))return e}else{if(e=t,0===e.indexOf("/"))return e;var n=getCurrentPages();t=n.length?n[n.length-1].$page.route:""}if(0===e.indexOf("./"))return r(t,e.substr(2));for(var i=e.split("/"),o=i.length,a=0;a<o&&".."===i[a];a++);i.splice(0,a),e=i.join("/");var s=t.length>0?t.split("/"):[];return s.splice(s.length-a-1,a+1),"/"+s.concat(i).join("/")}n.d(e,"a",(function(){return r}))},1082:function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-image",t._g({},t.$listeners),[n("div",{ref:"content",style:t.modeStyle}),n("img",{attrs:{src:t.realImagePath}}),"widthFix"===t.mode?n("v-uni-resize-sensor",{ref:"sensor",on:{resize:t._resize}}):t._e()],1)},o=[];function a(t){return a="function"===typeof Symbol&&"symbol"===(0,i.default)(Symbol.iterator)?function(t){return(0,i.default)(t)}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":(0,i.default)(t)},a(t)}var s={name:"Image",props:{src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1}},data:function(){return{originalWidth:0,originalHeight:0,availHeight:"",sizeFixed:!1}},computed:{ratio:function(){return this.originalWidth&&this.originalHeight?this.originalWidth/this.originalHeight:0},realImagePath:function(){return this.src&&this.$getRealPath(this.src)},modeStyle:function(){var t="auto",e="",n="no-repeat";switch(this.mode){case"aspectFit":t="contain",e="center center";break;case"aspectFill":t="cover",e="center center";break;case"widthFix":t="100% 100%";break;case"top":e="center top";break;case"bottom":e="center bottom";break;case"center":e="center center";break;case"left":e="left center";break;case"right":e="right center";break;case"top left":e="left top";break;case"top right":e="right top";break;case"bottom left":e="left bottom";break;case"bottom right":e="right bottom";break;default:t="100% 100%",e="0% 0%";break}return"background-position:".concat(e,";background-size:").concat(t,";background-repeat:").concat(n,";")}},watch:{src:function(t,e){this._setContentImage(),this._loadImage()},mode:function(t,e){"widthFix"===e&&(this.$el.style.height=this.availHeight,this.sizeFixed=!1),"widthFix"===t&&this.ratio&&this._fixSize()}},mounted:function(){this.availHeight=this.$el.style.height||"",this._setContentImage(),this.realImagePath&&this._loadImage()},methods:{_resize:function(){"widthFix"!==this.mode||this.sizeFixed||this._fixSize()},_fixSize:function(){var t=this._getWidth();if(t){var e=t/this.ratio;("undefined"===typeof navigator||a(navigator))&&"Google Inc."===navigator.vendor&&e>10&&(e=2*Math.round(e/2)),this.$el.style.height=e+"px",this.sizeFixed=!0}},_setContentImage:function(){this.$refs.content.style.backgroundImage=this.src?'url("'.concat(this.realImagePath,'")'):"none"},_loadImage:function(){var t=this,e=new Image;e.onload=function(e){t.originalWidth=this.width,t.originalHeight=this.height,"widthFix"===t.mode&&t._fixSize(),t.$trigger("load",e,{width:this.width,height:this.height})},e.onerror=function(e){t.$trigger("error",e,{errMsg:"GET ".concat(t.src," 404 (Not Found)")})},e.src=this.realImagePath},_getWidth:function(){var t=window.getComputedStyle(this.$el),e=(parseFloat(t.borderLeftWidth,10)||0)+(parseFloat(t.borderRightWidth,10)||0),n=(parseFloat(t.paddingLeft,10)||0)+(parseFloat(t.paddingRight,10)||0);return this.$el.offsetWidth-e-n}}},c=s,u=(n("db18"),n("2877")),l=Object(u["a"])(c,r,o,!1,null,null,null);e["default"]=l.exports},1164:function(t,e,n){(function(t){n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return s}));var r=n("23e5"),i=!1;function o(){return i}function a(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=[],i=o();if(!i)return n&&t.error("app is not ready"),[];var a=i.$children[0];if(a&&a.$children.length){var s=a.$children.find((function(t){return"TabBar"===t.$options.name}));a.$children.forEach((function(t){if(s!==t&&t.$children.length&&"Page"===t.$children[0].$options.name&&t.$children[0].$slots.page){var n=t.$children[0].$children.find((function(t){return"PageBody"===t.$options.name})).$children.find((function(t){return!!t.$page}));if(n){var o=!0;!e&&s&&n.$page&&n.$page.meta.isTabBar&&(i.$route.meta&&i.$route.meta.isTabBar?i.$route.path!==n.$page.path&&(o=!1):s.__path__!==n.$page.path&&(o=!1)),o&&r.push(n)}}}))}var c=r.length;if(c>1){var u=r[c-1];u.$page.path!==i.$route.path&&r.splice(c-1,1)}return r}function s(t,e){i=t,i.globalData=i.$options.globalData||{},Object(r["a"])(i,e)}}).call(this,n("3ad9")["default"])},"11fb":function(t,e,n){n.r(e),n.d(e,"previewImage",(function(){return i}));var r=n("cb0f"),i={urls:{type:Array,required:!0,validator:function(t,e){var n;if(e.urls=t.map((function(t){if("string"===typeof t)return Object(r["a"])(t);n=!0})),n)return"url is not string"}},current:{type:[String,Number],validator:function(t,e){"number"===typeof t?e.current=t>0&&t<e.urls.length?t:0:"string"===typeof t&&t&&(e.current=Object(r["a"])(t))},default:0}}},1307:function(t,e,n){},1348:function(t,e,n){(function(t){var r=n("8af1"),i=["navigate","redirect","switchTab","reLaunch","navigateBack"];e["a"]={name:"Navigator",mixins:[r["b"]],props:{hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:function(t){return~i.indexOf(t)}},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:600}},methods:{_onClick:function(e){if("navigateBack"===this.openType||this.url)switch(this.openType){case"navigate":uni.navigateTo({url:this.url});break;case"redirect":uni.redirectTo({url:this.url});break;case"switchTab":uni.switchTab({url:this.url});break;case"reLaunch":uni.reLaunch({url:this.url});break;case"navigateBack":uni.navigateBack({delta:this.delta});break;default:break}else t.error("<navigator/> should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")}}}}).call(this,n("3ad9")["default"])},"15bb":function(t,e,n){(function(t){var r=n("f2b3");e["a"]={mounted:function(){var e=this;if("transparent"===this.type){for(var n=this.$el.querySelector(".uni-page-head-transparent").style,r=this.$el.querySelector(".uni-page-head__title"),i=this.$el.querySelectorAll(".uni-btn-icon"),o=[],a=this.textColor,s=0;s<i.length;s++)o.push(i[s].style);for(var c=this.$el.querySelectorAll(".uni-page-head-btn"),u=[],l=[],f=0;f<c.length;f++){var h=c[f];u.push(getComputedStyle(h).backgroundColor),l.push(h.style)}this._A=0,t.on("onPageScroll",(function(t){var i=t.scrollTop,s=Math.min(i/e.offset,1);1===s&&1===e._A||(s>.5&&e._A<=.5?o.forEach((function(t){t.color=a})):s<=.5&&e._A>.5&&o.forEach((function(t){t.color="#fff"})),e._A=s,r&&(r.style.opacity=s),n.backgroundColor="rgba(".concat(e._R,",").concat(e._G,",").concat(e._B,",").concat(s,")"),l.forEach((function(t,e){var n=u[e],r=n.match(/[\d+\.]+/g);r[3]=(1-s)*(4===r.length?r[3]:1),t.backgroundColor="rgba(".concat(r,")")})))}))}else if("float"===this.type){for(var d=this.$el.querySelectorAll(".uni-btn-icon"),p=[],v=0;v<d.length;v++)p.push(d[v].style);for(var g=this.$el.querySelectorAll(".uni-page-head-btn"),m=[],b=[],y=0;y<g.length;y++){var _=g[y];m.push(getComputedStyle(_).backgroundColor),b.push(_.style)}}},computed:{color:function(){return"transparent"===this.type?"#fff":this.textColor},offset:function(){return parseInt(this.coverage)},bgColor:function(){if("transparent"===this.type){var t=Object(r["f"])(this.backgroundColor),e=t.r,n=t.g,i=t.b;return this._R=e,this._G=n,this._B=i,"rgba(".concat(e,",").concat(n,",").concat(i,",0)")}return this.backgroundColor}}}}).call(this,n("501c"))},"167a":function(t,e,n){var r=n("5d70"),i=n.n(r);i.a},"17fd":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.hoverClass&&"none"!==t.hoverClass?n("uni-navigator",t._g({class:[t.hovering?t.hoverClass:""],on:{touchstart:t._hoverTouchStart,touchend:t._hoverTouchEnd,touchcancel:t._hoverTouchCancel,click:t._onClick}},t.$listeners),[t._t("default")],2):n("uni-navigator",t._g({on:{click:t._onClick}},t.$listeners),[t._t("default")],2)},i=[],o=n("1348"),a=o["a"],s=(n("f7fd"),n("2877")),c=Object(s["a"])(a,r,i,!1,null,null,null);e["default"]=c.exports},"18fd":function(t,e,n){n.d(e,"a",(function(){return h}));var r=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,i=/^<\/([-A-Za-z0-9_]+)[^>]*>/,o=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,a=d("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),s=d("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),c=d("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),u=d("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),l=d("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),f=d("script,style");function h(t,e){var n,h,d,p=[],v=t;p.last=function(){return this[this.length-1]};while(t){if(h=!0,p.last()&&f[p.last()])t=t.replace(new RegExp("([\\s\\S]*?)</"+p.last()+"[^>]*>"),(function(t,n){return n=n.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g,"$1$2"),e.chars&&e.chars(n),""})),b("",p.last());else if(0==t.indexOf("\x3c!--")?(n=t.indexOf("--\x3e"),n>=0&&(e.comment&&e.comment(t.substring(4,n)),t=t.substring(n+3),h=!1)):0==t.indexOf("</")?(d=t.match(i),d&&(t=t.substring(d[0].length),d[0].replace(i,b),h=!1)):0==t.indexOf("<")&&(d=t.match(r),d&&(t=t.substring(d[0].length),d[0].replace(r,m),h=!1)),h){n=t.indexOf("<");var g=n<0?t:t.substring(0,n);t=n<0?"":t.substring(n),e.chars&&e.chars(g)}if(t==v)throw"Parse Error: "+t;v=t}function m(t,n,r,i){if(n=n.toLowerCase(),s[n])while(p.last()&&c[p.last()])b("",p.last());if(u[n]&&p.last()==n&&b("",n),i=a[n]||!!i,i||p.push(n),e.start){var f=[];r.replace(o,(function(t,e){var n=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:l[e]?e:"";f.push({name:e,value:n,escaped:n.replace(/(^|[^\\])"/g,'$1\\"')})})),e.start&&e.start(n,f,i)}}function b(t,n){if(n){for(r=p.length-1;r>=0;r--)if(p[r]==n)break}else var r=0;if(r>=0){for(var i=p.length-1;i>=r;i--)e.end&&e.end(p[i]);p.length=r}}b()}function d(t){for(var e={},n=t.split(","),r=0;r<n.length;r++)e[n[r]]=!0;return e}},1934:function(t,e,n){n.r(e),n.d(e,"setNavigationBarColor",(function(){return i})),n.d(e,"setNavigationBarTitle",(function(){return o}));var r=["#ffffff","#000000"],i={frontColor:{type:String,required:!0,validator:function(t,e){if(-1===r.indexOf(t))return'invalid frontColor "'.concat(t,'"')}},backgroundColor:{type:String,required:!0},animation:{type:Object,default:function(){return{duration:0,timingFunc:"linear"}},validator:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;e.animation={duration:t.duration||0,timingFunc:t.timingFunc||"linear"}}}},o={title:{type:String,required:!0}}},1955:function(t,e,n){n.r(e);var r=n("ba15"),i=n("8aec"),o=n("5363"),a=n("72b3"),s=n("f2b3");function c(t){var e=20,n=0,r=0;t.addEventListener("touchstart",(function(t){var e=t.changedTouches[0];n=e.clientX,r=e.clientY})),t.addEventListener("touchend",(function(t){var i=t.changedTouches[0];if(Math.abs(i.clientX-n)<e&&Math.abs(i.clientY-r)<e){var o=new CustomEvent("click",{bubbles:!0,cancelable:!0,target:t.target,currentTarget:t.currentTarget});["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((function(t){o[t]=i[t]})),t.target.dispatchEvent(o)}}))}var u,l,f={name:"PickerViewColumn",mixins:[r["a"],i["a"]],data:function(){return{scope:"picker-view-column-".concat(Date.now()),inited:!1,indicatorStyle:"",indicatorClass:"",indicatorHeight:34,maskStyle:"",maskClass:"",current:this.$parent.getItemValue(this),length:0}},computed:{height:function(){return this.$parent.height},maskSize:function(){return(this.height-this.indicatorHeight)/2}},watch:{indicatorHeight:function(t){this._setItemHeight(t),this.inited&&this.update()},current:function(t){this.$parent.setItemValue(this,t)},length:function(t){this.inited&&this.update(t)}},created:function(){var t=this.$parent;this.indicatorStyle=t.indicatorStyle,this.indicatorClass=t.indicatorClass,this.maskStyle=t.maskStyle,this.maskClass=t.maskClass,this.deltaY=0},mounted:function(){var t=this;this.touchtrack(this.$refs.main,"_handleTrack",!0),this.setCurrent(this.current),this.$nextTick((function(){t.init(),t.update()})),c(this.$el)},methods:{_setItemHeight:function(t){var e=document.createElement("style");e.innerText=".uni-picker-view-content.".concat(this.scope,">*{height: ").concat(t,"px;overflow: hidden;}"),document.head.appendChild(e)},_handleTrack:function(t){if(this._scroller)switch(t.detail.state){case"start":this._handleTouchStart(t),Object(s["b"])({disable:!0});break;case"move":this._handleTouchMove(t);break;case"end":case"cancel":this._handleTouchEnd(t),Object(s["b"])({disable:!1})}},_handleTap:function(t){var e=t.clientY;if(!this._scroller.isScrolling()){var n=this.$el.getBoundingClientRect(),r=e-n.top-this.height/2,i=this.indicatorHeight/2;if(!(Math.abs(r)<=i)){var o=Math.ceil((Math.abs(r)-i)/this.indicatorHeight),a=r<0?-o:o,s=Math.min(this.current+a,this.length-1);this.current=s=Math.max(s,0),this._scroller.scrollTo(s*this.indicatorHeight)}}},_handleWheel:function(t){var e=this.deltaY+t.deltaY;if(Math.abs(e)>10){this.deltaY=0;var n=Math.min(this.current+(e<0?-1:1),this.length-1);this.current=n=Math.max(n,0),this._scroller.scrollTo(n*this.indicatorHeight)}else this.deltaY=e;t.preventDefault()},setCurrent:function(t){t!==this.current&&(this.current=t,this.inited&&this.update())},init:function(){var t=this;this.initScroller(this.$refs.content,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:this.indicatorHeight,friction:new o["a"](1e-4),spring:new a["a"](2,90,20),onSnap:function(e){isNaN(e)||e===t.current||(t.current=e)}}),this.inited=!0},update:function(){var t=this;this.$nextTick((function(){var e=Math.min(t.current,t.length-1);e=Math.max(e,0),t._scroller.update(e*t.indicatorHeight,void 0,t.indicatorHeight)}))},_resize:function(t){var e=t.height;this.indicatorHeight=e}},render:function(t){return this.length=this.$slots.default&&this.$slots.default.length||0,t("uni-picker-view-column",{on:{on:this.$listeners}},[t("div",{ref:"main",staticClass:"uni-picker-view-group",on:{wheel:this._handleWheel,click:this._handleTap}},[t("div",{ref:"mask",staticClass:"uni-picker-view-mask",class:this.maskClass,style:"background-size: 100% ".concat(this.maskSize,"px;").concat(this.maskStyle)}),t("div",{ref:"indicator",staticClass:"uni-picker-view-indicator",class:this.indicatorClass,style:this.indicatorStyle},[t("v-uni-resize-sensor",{attrs:{initial:!0},on:{resize:this._resize}})]),t("div",{ref:"content",staticClass:"uni-picker-view-content",class:this.scope,style:"padding: ".concat(this.maskSize,"px 0;")},[this.$slots.default])])])}},h=f,d=(n("edfa"),n("2877")),p=Object(d["a"])(h,u,l,!1,null,null,null);e["default"]=p.exports},"19c4":function(t,e,n){var r={"./base/base64.js":"6481","./base/can-i-use.js":"957a","./base/event-bus.js":"b0ef","./base/interceptor.js":"a954","./base/upx2px.js":"2289","./context/canvas.js":"82b9","./context/context.js":"3bfb","./device/make-phone-call.js":"f102","./device/set-clipboard-data.js":"b501","./file/open-document.js":"2604","./location/choose-location.js":"e5bb","./location/get-location.js":"19d9","./location/open-location.js":"70bb","./media/choose-image.js":"f1b2","./media/choose-video.js":"ed9f","./media/get-image-info.js":"b866","./media/preview-image.js":"11fb","./network/download-file.js":"439a","./network/request.js":"a201","./network/socket.js":"abb2","./network/upload-file.js":"9a3e","./plugin/get-provider.js":"4e7c","./route/route.js":"332a","./storage/storage.js":"ec33","./ui/load-font-face.js":"5ff9","./ui/navigation-bar.js":"1934","./ui/page-scroll-to.js":"232e","./ui/popup.js":"2246","./ui/tab-bar.js":"5621"};function i(t){var e=o(t);return n(e)}function o(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=o,t.exports=i,i.id="19c4"},"19d9":function(t,e,n){n.r(e),n.d(e,"getLocation",(function(){return i}));var r={WGS84:"WGS84",GCJ02:"GCJ02"},i={type:{type:String,validator:function(t,e){t=(t||"").toUpperCase(),e.type=Object.values(r).indexOf(t)<0?r.WGS84:t},default:r.WGS84},altitude:{altitude:Boolean,default:!1}}},"1a12":function(t,e,n){n.r(e),function(t){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"request",(function(){return u}));var s=function(){function t(e){r(this,t),a(this,"_xhr",void 0),this._xhr=e}return o(t,[{key:"abort",value:function(){this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),t}();function c(t){var e={},n=t.split("\n");return n.forEach((function(t){var n=t.match(/(\S+\s*):\s*(.*)/);if(n&&3===n.length){var r=n[1],i=n[2];e[r]=i}})),e}function u(e,n){var r,i=e.url,o=e.data,a=e.header,u=e.method,l=e.dataType,f=e.responseType,h=t,d=h.invokeCallbackHandler,p=null,v=__uniConfig.networkTimeout&&__uniConfig.networkTimeout.request||6e4;for(var g in a)if(a.hasOwnProperty(g)&&"content-type"===g.toLowerCase()){r=a[g],r=0===r.indexOf("application/json")?"json":0===r.indexOf("application/x-www-form-urlencoded")?"urlencoded":"string";break}if("GET"!==u)if("string"===typeof o||o instanceof ArrayBuffer)p=o;else if("json"===r)try{p=JSON.stringify(o)}catch(k){p=o.toString()}else if("urlencoded"===r){var m=[];for(var b in o)o.hasOwnProperty(b)&&m.push(encodeURIComponent(b)+"="+encodeURIComponent(o[b]));p=m.join("&")}else p=o.toString();var y=new XMLHttpRequest,_=new s(y);for(var w in y.open(u,i),a)a.hasOwnProperty(w)&&y.setRequestHeader(w,a[w]);var S=setTimeout((function(){y.onload=y.onabort=y.onerror=null,_.abort(),d(n,{errMsg:"request:fail timeout"})}),v);return y.responseType=f,y.onload=function(){clearTimeout(S);var t=y.status,e="text"===f?y.responseText:y.response;if("text"===f&&"json"===l)try{e=JSON.parse(e)}catch(k){}d(n,{data:e,statusCode:t,header:c(y.getAllResponseHeaders()),errMsg:"request:ok"})},y.onabort=function(){clearTimeout(S),d(n,{errMsg:"request:fail abort"})},y.onerror=function(){clearTimeout(S),d(n,{errMsg:"request:fail"})},y.send(p),_}}.call(this,n("0dd1"))},"1a8c":function(t,e,n){n.r(e),n.d(e,"redirectTo",(function(){return o})),n.d(e,"navigateTo",(function(){return a})),n.d(e,"navigateBack",(function(){return s})),n.d(e,"reLaunch",(function(){return c})),n.d(e,"switchTab",(function(){return u}));var r=n("85b6");function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.url,i=e.delta,o=e.animationType,a=e.animationDuration,s=e.from,c=void 0===s?"navigateBack":s,u=e.detail,l=getApp().$router;switch(t){case"redirectTo":l.replace({type:t,path:n});break;case"navigateTo":l.push({type:t,path:n,animationType:o,animationDuration:a});break;case"navigateBack":var f=!0,h=getCurrentPages();if(h.length){var d=h[h.length-1];Object(r["a"])(d.$options,"onBackPress")&&!0===d.__call_hook("onBackPress",{from:c})&&(f=!1)}f&&(i>1&&(l._$delta=i),l.go(-i,{animationType:o,animationDuration:a}));break;case"reLaunch":l.replace({type:t,path:n});break;case"switchTab":l.replace({type:t,path:n,params:{detail:u}});break}return{errMsg:t+":ok"}}function o(t){return i("redirectTo",t)}function a(t){return i("navigateTo",t)}function s(t){return i("navigateBack",t)}function c(t){return i("reLaunch",t)}function u(t){return i("switchTab",t)}},"1b6f":function(t,e,n){(function(t){var r=n("f2b3");e["a"]={mounted:function(){var t=this;this._toggleListeners("subscribe",this.id),this.$watch("id",(function(e,n){t._toggleListeners("unsubscribe",n,!0),t._toggleListeners("subscribe",e,!0)}))},beforeDestroy:function(){this._toggleListeners("unsubscribe",this.id),this._contextId&&this._toggleListeners("unsubscribe",this._contextId)},methods:{_toggleListeners:function(e,n,i){i&&!n||Object(r["g"])(this._handleSubscribe)&&t[e](this.$page.id+"-"+this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase()+"-"+n,this._handleSubscribe)},_getContextInfo:function(){var t="context-".concat(this._uid);return this._contextId||(this._toggleListeners("subscribe",t),this._contextId=t),{name:this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase(),id:t,page:this.$page.id}}}}}).call(this,n("501c"))},"1c64":function(t,e,n){var r=n("60ee"),i=n.n(r);i.a},"1ca3":function(t,e,n){n.r(e),n.d(e,"base64ToArrayBuffer",(function(){return i})),n.d(e,"arrayBufferToBase64",(function(){return o}));var r=n("8390");function i(t){return Object(r["decode"])(t)}function o(t){return Object(r["encode"])(t)}},"1e4d":function(t,e,n){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}n.r(e),n.d(e,"createAnimation",(function(){return f}));var a={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"},s=function(){function t(e){r(this,t),this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=Object.assign({},a,e)}return o(t,[{key:"_getOption",value:function(t){var e={transition:Object.assign({},this.option,t)};return e.transformOrigin=e.transition.transformOrigin,delete e.transition.transformOrigin,e}},{key:"_pushAnimates",value:function(t,e){this.currentStepAnimates.push({type:t,args:e})}},{key:"_converType",value:function(t){return t.replace(/[A-Z]/g,(function(t){return"-".concat(t.toLowerCase())}))}},{key:"_getValue",value:function(t){return"number"===typeof t?"".concat(t,"px"):t}},{key:"export",value:function(){var t=this.actions;return this.actions=[],{actions:t}}},{key:"step",value:function(t){var e=this;return this.currentStepAnimates.forEach((function(t){"style"!==t.type?e.currentTransform[t.type]=t:e.currentTransform["".concat(t.type,".").concat(t.args[0])]=t})),this.actions.push({animates:Object.values(this.currentTransform),option:this._getOption(t)}),this.currentStepAnimates=[],this}}]),t}(),c=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"],u=["opacity","backgroundColor"],l=["width","height","left","right","top","bottom"];function f(t){return new s(t)}c.concat(u,l).forEach((function(t){s.prototype[t]=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return u.concat(l).includes(t)?this._pushAnimates("style",[this._converType(t),l.includes(t)?this._getValue(n[0]):n[0]]):this._pushAnimates(t,n),this}}))},"1efd":function(t,e,n){n.r(e);var r=n("8bbf"),i=n.n(r),o=n("cb0f"),a=n("d4b6"),s={methods:{$getRealPath:function(t){return Object(o["a"])(t)},$trigger:function(t,e,n){this.$emit(t,a["b"].call(this,t,e,n,this.$el,this.$el))}}};function c(t){return f(t)||l(t)||u()}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function l(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function f(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function h(t){if(/\d+[ur]px$/i.test(t))t.replace(/\d+[ur]px$/i,(function(t){return"".concat(uni.upx2px(parseFloat(t)),"px")}));else if(/^-?[\d\.]+$/.test(t))return"".concat(t,"px");return t||""}function d(t){return t.replace(/[A-Z]/g,(function(t){return"-".concat(t.toLowerCase())})).replace("webkit","-webkit")}function p(t){var e=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],r=["opacity","backgroundColor"],i=["width","height","left","right","top","bottom"],o=t.animates,a=t.option,s=a.transition,u={},l=[];return o.forEach((function(t){var o=t.type,a=c(t.args);if(e.concat(n).includes(o))o.startsWith("rotate")||o.startsWith("skew")?a=a.map((function(t){return parseFloat(t)+"deg"})):o.startsWith("translate")&&(a=a.map(h)),n.indexOf(o)>=0&&(a.length=1),l.push("".concat(o,"(").concat(a.join(","),")"));else if(r.concat(i).includes(a[0])){o=a[0];var s=a[1];u[o]=i.includes(o)?h(s):s}})),u.transform=u.webkitTransform=l.join(" "),u.transition=u.webkitTransition=Object.keys(u).map((function(t){return"".concat(d(t)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")})).join(","),u.transformOrigin=u.webkitTransformOrigin=a.transformOrigin,u}function v(t){var e=t.animation;if(e&&e.actions&&e.actions.length){var n=0,r=e.actions,i=e.actions.length;o()}function o(){var e=r[n],a=e.option.transition,s=p(e);Object.keys(s).forEach((function(e){t.$el.style[e]=s[e]})),n+=1,n<i&&setTimeout(o,a.duration+a.delay)}}var g={props:["animation"],watch:{animation:function(){v(this)}},mounted:function(){v(this)}},m=[n("5408"),n("93a5")];m.forEach((function(t,e){t.keys().forEach((function(e){var n=t(e),r=n.default||n;r.mixins=r.mixins?[].concat(s,r.mixins):[s],r.mixins.push(g),r.name="VUni"+r.name,r.isReserved=!0,i.a.component(r.name,r)}))}))},"1ff3":function(t,e,n){n.r(e),n.d(e,"uploadFile",(function(){return l}));var r=n("a118"),i=n("db70");function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}var c=function(){function t(e,n){o(this,t),this.id=e,this._callbackId=n,this._callbacks=[]}return s(t,[{key:"abort",value:function(){Object(i["c"])("operateRequestTask",{uploadTaskId:this.id,operationType:"abort"})}},{key:"onProgressUpdate",value:function(t){"function"===typeof t&&this._callbacks.push(t)}},{key:"onHeadersReceived",value:function(){}},{key:"offProgressUpdate",value:function(t){var e=this._callbacks.indexOf(t);e>=0&&this._callbacks.splice(e,1)}},{key:"offHeadersReceived",value:function(){}}]),t}(),u=Object.create(null);function l(t,e){var n=Object(i["c"])("createUploadTask",t),r=n.uploadTaskId,o=new c(r,e);return u[r]=o,o}Object(i["d"])("onUploadTaskStateChange",(function(t){var e=t.uploadTaskId,n=t.state,i=t.data,o=t.statusCode,a=t.progress,s=t.totalBytesSent,c=t.totalBytesExpectedToSend,l=t.errMsg,f=u[e],h=f._callbackId;switch(n){case"progressUpdate":f._callbacks.forEach((function(t){t({progress:a,totalBytesSent:s,totalBytesExpectedToSend:c})}));break;case"success":Object(r["a"])(h,{data:i,statusCode:o,errMsg:"request:ok"});case"fail":Object(r["a"])(h,{errMsg:"request:fail "+l});default:setTimeout((function(){delete u[e]}),100);break}}))},2190:function(t,e,n){},2246:function(t,e,n){n.r(e),n.d(e,"showModal",(function(){return i})),n.d(e,"showToast",(function(){return o})),n.d(e,"showLoading",(function(){return a})),n.d(e,"showActionSheet",(function(){return s}));var r=n("cb0f"),i={title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"取消"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"确定"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!0}},o={title:{type:String,default:""},icon:{default:"success",validator:function(t,e){-1===["success","loading","none"].indexOf(t)&&(e.icon="success")}},image:{type:String,default:"",validator:function(t,e){t&&(e.image=Object(r["a"])(t))}},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},a={title:{type:String,default:""},icon:{type:String,default:"loading"},duration:{type:Number,default:1e8},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},s={itemList:{type:Array,required:!0,validator:function(t,e){if(!t.length)return"parameter.itemList should have at least 1 item"}},itemColor:{type:String,default:"#000000"},visible:{type:Boolean,default:!0}}},2289:function(t,e,n){n.r(e),n.d(e,"upx2px",(function(){return r}));var r=[{name:"upx",type:[Number,String],required:!0}]},"232e":function(t,e,n){n.r(e),n.d(e,"pageScrollTo",(function(){return r}));var r={scrollTop:{type:Number,required:!0},duration:{type:Number,default:300,validator:function(t,e){e.duration=Math.max(0,t)}}}},2399:function(t,e,n){},"23e5":function(t,e,n){n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return v}));var r=n("a741");function i(t){-1===this.keepAliveInclude.indexOf(t)&&this.keepAliveInclude.push(t)}var o=[];function a(t){if("number"===typeof t)o=this.keepAliveInclude.splice(-(t-1)).map((function(t){return parseInt(t.split("-").pop())}));else{var e=this.keepAliveInclude.indexOf(t);-1!==e&&this.keepAliveInclude.splice(e,1)}}var s=Object.create(null);function c(t){return s[t]}function u(t){s[t]={x:window.pageXOffset,y:window.pageYOffset}}function l(t,e,n){e&&n&&e.meta.isTabBar&&n.meta.isTabBar&&u(n.params.__id__);for(var i=getCurrentPages(),o=i.length-1;o>=0;o--){var s=i[o],c=s.$page.meta;c.isTabBar||(a.call(this,c.name+"-"+s.$page.id),Object(r["b"])(s,"onUnload"))}}function f(t){__uniConfig.reLaunch=(__uniConfig.reLaunch||1)+1;for(var e=getCurrentPages(!0),n=e.length-1;n>=0;n--)Object(r["b"])(e[n],"onUnload"),e[n].$destroy();this.keepAliveInclude=[],s=Object.create(null)}var h=[];function d(t,e,n,r){h=getCurrentPages(!0);var o=e.params.__id__,s=t.params.__id__,c=t.meta.name+"-"+s;if(s===o)t.fullPath!==e.fullPath?(a.call(this,c),n()):n(!1);else if(t.meta.id&&t.meta.id!==s)n({path:t.path,replace:!0});else{var u=e.meta.name+"-"+o;switch(t.type){case"navigateTo":break;case"redirectTo":if(a.call(this,u),e.meta&&(e.meta.isQuit&&(t.meta.isQuit=!0,t.meta.isEntry=!!e.meta.isEntry),e.meta.isTabBar)){t.meta.isTabBar=!0,t.meta.tabBarIndex=e.meta.tabBarIndex;var d=getApp().$children[0];d.$set(d.tabBar.list[t.meta.tabBarIndex],"pagePath",t.meta.pagePath)}break;case"switchTab":l.call(this,r,t,e);break;case"reLaunch":f.call(this,c),t.meta.isQuit=!0;break;default:o&&o>s&&(a.call(this,u),this.$router._$delta>1&&a.call(this,this.$router._$delta));break}if("reLaunch"!==t.type&&e.meta.id&&i.call(this,u),i.call(this,c),t.meta&&t.meta.name){document.body.className="uni-body "+t.meta.name;var p="nvue-dir-"+__uniConfig.nvue["flex-direction"];t.meta.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(p,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(p))}n()}}function p(t,e){var n=e.params.__id__,i=t.params.__id__,a=h.find((function(t){return t.$page.id===n}));switch(t.type){case"navigateTo":a&&Object(r["b"])(a,"onHide");break;case"redirectTo":a&&Object(r["b"])(a,"onUnload");break;case"switchTab":e.meta.isTabBar&&a&&Object(r["b"])(a,"onHide");break;case"reLaunch":break;default:n&&n>i&&(a&&Object(r["b"])(a,"onUnload"),this.$router._$delta>1&&o.reverse().forEach((function(t){var e=h.find((function(e){return e.$page.id===t}));e&&Object(r["b"])(e,"onUnload")})));break}if(delete this.$router._$delta,o.length=0,"reLaunch"!==t.type){var s=getCurrentPages(!0).find((function(t){return t.$page.id===i}));s&&(setTimeout((function(){var t=s.$parent.$parent.navigationBar;"undefined"!==typeof qh&&(qh.setNavigationBarTitle({title:document.title}),qh.setNavigationBarColor({backgroundColor:t.backgroundColor}),qh.setNavigationBarTextStyle({textStyle:"#000"===t.textColor?"black":"white"})),Object(r["b"])(s,"onShow")}),0),document.title=s.$parent.$parent.navigationBar.titleText)}}function v(t,e){t.$router.beforeEach((function(n,r,i){d.call(t,n,r,i,e)})),t.$router.afterEach((function(e,n){p.call(t,e,n)}))}},"24d9":function(t,e,n){n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s}));var r=n("f2b3");function o(t){return o="function"===typeof Symbol&&"symbol"===(0,i.default)(Symbol.iterator)?function(t){return(0,i.default)(t)}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":(0,i.default)(t)},o(t)}function a(t){return Object.assign({mp:t,_processed:!0},t)}function s(t,e){return Object(r["h"])(e)&&(Object(r["e"])(e,"backgroundColor")&&(t.backgroundColor=e.backgroundColor),Object(r["e"])(e,"buttons")&&(t.buttons=e.buttons),Object(r["e"])(e,"titleColor")&&(t.textColor=e.titleColor),Object(r["e"])(e,"titleText")&&(t.titleText=e.titleText),Object(r["e"])(e,"titleSize")&&(t.titleSize=e.titleSize),Object(r["e"])(e,"type")&&(t.type=e.type),Object(r["e"])(e,"searchInput")&&"object"===o(e.searchInput)&&(t.searchInput=Object.assign({autoFocus:!1,align:"center",color:"#000000",backgroundColor:"rgba(255,255,255,0.5)",borderRadius:"0px",placeholder:"",placeholderColor:"#CCCCCC",disabled:!1},e.searchInput))),t}},"250d":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-input",t._g({on:{change:function(t){t.stopPropagation()}}},t.$listeners),[n("div",{ref:"wrapper",staticClass:"uni-input-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!(t.composing||t.inputValue.length),expression:"!(composing || inputValue.length)"}],ref:"placeholder",staticClass:"uni-input-placeholder",class:t.placeholderClass,style:t.placeholderStyle},[t._v(t._s(t.placeholder))]),"checkbox"===t.inputType?n("input",{directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t.step,autocomplete:"off",type:"checkbox"},domProps:{checked:Array.isArray(t.inputValue)?t._i(t.inputValue,null)>-1:t.inputValue},on:{focus:t._onFocus,blur:t._onBlur,input:function(e){return e.stopPropagation(),t._onInput(e)},compositionstart:t._onComposition,compositionend:t._onComposition,keyup:function(e){return e.stopPropagation(),t._onKeyup(e)},change:function(e){var n=t.inputValue,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=null,a=t._i(n,o);r.checked?a<0&&(t.inputValue=n.concat([o])):a>-1&&(t.inputValue=n.slice(0,a).concat(n.slice(a+1)))}else t.inputValue=i}}}):"radio"===t.inputType?n("input",{directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t.step,autocomplete:"off",type:"radio"},domProps:{checked:t._q(t.inputValue,null)},on:{focus:t._onFocus,blur:t._onBlur,input:function(e){return e.stopPropagation(),t._onInput(e)},compositionstart:t._onComposition,compositionend:t._onComposition,keyup:function(e){return e.stopPropagation(),t._onKeyup(e)},change:function(e){t.inputValue=null}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t.step,autocomplete:"off",type:t.inputType},domProps:{value:t.inputValue},on:{focus:t._onFocus,blur:t._onBlur,input:[function(e){e.target.composing||(t.inputValue=e.target.value)},function(e){return e.stopPropagation(),t._onInput(e)}],compositionstart:t._onComposition,compositionend:t._onComposition,keyup:function(e){return e.stopPropagation(),t._onKeyup(e)}}})])])},i=[],o=n("8af1"),a=["text","number","idcard","digit","password"],s=["number","digit"],c={name:"Input",mixins:[o["a"],o["d"]],model:{prop:"value",event:"update:value"},props:{name:{type:String,default:""},value:{type:[String,Number],default:""},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},maxlength:{type:[Number,String],default:140},focus:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"done"}},data:function(){return{inputValue:this.value+"",composing:!1,wrapperHeight:0,cachedValue:""}},computed:{inputType:function(){var t="";switch(this.type){case"text":"search"===this.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~a.indexOf(this.type)?this.type:"text";break}return this.password?"password":t},step:function(){return~s.indexOf(this.type)?"0.000000000000000001":""}},watch:{focus:function(t){t&&this._focusInput()},value:function(t){this.inputValue=t+""},inputValue:function(t){this.$emit("update:value",t)},maxlength:function(t){var e=this.inputValue.slice(0,parseInt(t,10));e!==this.inputValue&&(this.inputValue=e)}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){if("search"===this.confirmType){var t=document.createElement("form");t.action="",t.onsubmit=function(){return!1},t.className="uni-input-form",t.appendChild(this.$refs.input),this.$refs.wrapper.appendChild(t)}var e=this;while(e){var n=e.$options._scopeId;n&&this.$refs.placeholder.setAttribute(n,""),e=e.$parent}this.initKeyboard(this.$refs.input),this.focus&&this._focusInput()},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onKeyup:function(t){13===t.keyCode&&this.$trigger("confirm",t,{value:t.target.value})},_onInput:function(t){if(!this.composing){if(~s.indexOf(this.type)){if(this.$refs.input.validity&&!this.$refs.input.validity.valid)return t.target.value=this.cachedValue,void(this.inputValue=t.target.value);this.cachedValue=this.inputValue}if("number"===this.inputType){var e=parseInt(this.maxlength,10);if(e>0&&t.target.value.length>e)return t.target.value=t.target.value.slice(0,e),void(this.inputValue=t.target.value)}this.$trigger("input",t,{value:this.inputValue})}},_onFocus:function(t){this.$trigger("focus",t,{value:t.target.value})},_onBlur:function(t){this.$trigger("blur",t,{value:t.target.value})},_focusInput:function(){var t=this;setTimeout((function(){t.$refs.input.focus()}),350)},_blurInput:function(){var t=this;setTimeout((function(){t.$refs.input.blur()}),350)},_onComposition:function(t){"compositionstart"===t.type?this.composing=!0:this.composing=!1},_resetFormData:function(){this.inputValue=""},_getFormData:function(){return this.name?{value:this.inputValue,key:this.name}:{}}}},u=c,l=(n("0f55"),n("2877")),f=Object(l["a"])(u,r,i,!1,null,null,null);e["default"]=f.exports},"25ce":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-checkbox-group",t._g({},t.$listeners),[t._t("default")],2)},i=[],o=n("8af1"),a={name:"CheckboxGroup",mixins:[o["a"],o["e"]],props:{name:{type:String,default:""}},data:function(){return{checkboxList:[]}},listeners:{"@checkbox-change":"_changeHandler","@checkbox-group-update":"_checkboxGroupUpdateHandler"},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_changeHandler:function(t){var e=[];this.checkboxList.forEach((function(t){t.checkboxChecked&&e.push(t.value)})),this.$trigger("change",t,{value:e})},_checkboxGroupUpdateHandler:function(t){if("add"===t.type)this.checkboxList.push(t.vm);else{var e=this.checkboxList.indexOf(t.vm);this.checkboxList.splice(e,1)}},_getFormData:function(){var t={};if(""!==this.name){var e=[];this.checkboxList.forEach((function(t){t.checkboxChecked&&e.push(t.value)})),t["value"]=e,t["key"]=this.name}return t}}},s=a,c=(n("0998"),n("2877")),u=Object(c["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},2604:function(t,e,n){n.r(e),n.d(e,"openDocument",(function(){return r}));var r={filePath:{type:String,required:!0},fileType:{type:String}}},2608:function(t,e,n){(function(t){function r(e){return function(){try{return e.apply(e,arguments)}catch(n){t.error(n)}}}function i(e){return function(){try{return e.apply(e,arguments)}catch(n){t.error(n)}}}n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return i}))}).call(this,n("3ad9")["default"])},2765:function(t,e,n){var r=n("3590"),i=n.n(r);i.a},"27a7":function(t,e,n){(function(t){n.d(e,"a",(function(){return g})),n.d(e,"c",(function(){return m})),n.d(e,"b",(function(){return y}));var r=n("f2b3"),i=n("2608"),o=n("ed1a"),a=n("cc76"),s=n("de29");function c(e,n,r){var i="".concat(n,":fail ").concat(e);if(t.error(i),-1===r)throw new Error(i);return"number"===typeof r&&g(r,{errMsg:i}),!1}var u=[{name:"callback",type:Function,required:!0}];function l(t,e,n){var i=a["a"][t];if(!i&&Object(o["a"])(t)&&(i=u),i){if(Array.isArray(i)&&Array.isArray(e)){var l=Object.create(null),f=Object.create(null),h=e.length;i.forEach((function(t,n){l[t.name]=t,h>n&&(f[t.name]=e[n])})),i=l,e=f}if(Object(r["g"])(i.beforeValidate)){var d=i.beforeValidate(e);if(d)return c(d,t,n)}for(var p=Object.keys(i),v=0;v<p.length;v++)if("beforeValidate"!==p[v]){var g=Object(s["a"])(p[v],i,e);if(g)return c(g,t,n)}}return!0}var f=1,h={};function d(t,e){var n=f++,r="api."+t+"."+n,i=function(t){e(t)};return h[n]={name:r,keepAlive:!0,callback:i},n}function p(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!Object(r["h"])(e))return{params:e};e=Object.assign({},e);var o={};for(var a in e){var s=e[a];Object(r["g"])(s)&&(o[a]=Object(i["a"])(s),delete e[a])}var c=o.success,u=o.fail,l=o.cancel,d=o.complete,p=Object(r["g"])(c),v=Object(r["g"])(u),g=Object(r["g"])(l),m=Object(r["g"])(d);if(!p&&!v&&!g&&!m)return{params:e};var b={};for(var y in n){var _=n[y];Object(r["g"])(_)&&(b[y]=Object(i["b"])(_))}var w=b.beforeSuccess,S=b.afterSuccess,k=b.beforeFail,x=b.afterFail,T=b.beforeCancel,C=b.afterCancel,O=b.afterAll,E=f++,j="api."+t+"."+E,A=function(e){if(e.errMsg=e.errMsg||t+":ok",-1!==e.errMsg.indexOf(":ok"))e.errMsg=t+":ok";else if(-1!==e.errMsg.indexOf(":cancel"))e.errMsg=t+":cancel";else if(-1!==e.errMsg.indexOf(":fail")){var n="",i=e.errMsg.indexOf(" ");i>-1&&(n=e.errMsg.substr(i)),e.errMsg=t+":fail"+n}var o=e.errMsg;0===o.indexOf(t+":ok")?(Object(r["g"])(w)&&w(e),p&&c(e),Object(r["g"])(S)&&S(e)):0===o.indexOf(t+":cancel")?(e.errMsg=e.errMsg.replace(t+":cancel",t+":fail cancel"),v&&u(e),Object(r["g"])(T)&&T(e),g&&l(e),Object(r["g"])(C)&&C(e)):0===o.indexOf(t+":fail")&&(Object(r["g"])(k)&&k(e),v&&u(e),Object(r["g"])(x)&&x(e)),m&&d(e),Object(r["g"])(O)&&O(e)};return h[E]={name:j,callback:A},{params:e,callbackId:E}}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=p(t,e,n),o=i.params,a=i.callbackId;return Object(r["h"])(o)&&!l(t,o,a)?{params:o,callbackId:!1}:{params:o,callbackId:a}}function g(t,e){if("number"===typeof t){var n=h[t];if(n)return n.keepAlive||delete h[t],n.callback(e)}return e}function m(e){return function(n){t.error("API `"+e+"` is not yet implemented")}}function b(t,e){var n=a["a"][t];n&&Object(r["g"])(n.beforeSuccess)&&(e.beforeSuccess=n.beforeSuccess)}function y(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(r["g"])(e)?(b(t,n),function(){for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];if(Object(o["b"])(t)){if(l(t,a,-1))return e.apply(null,a)}else if(Object(o["a"])(t)){if(l(t,a,-1))return e(d(t,a[0]))}else{var c={};a.length&&(c=a[0]);var u,f=v(t,c,n),h=f.params,p=f.callbackId;if(!1!==p)return u=Object(r["g"])(h)?e(p):e(h,p),u&&!Object(o["c"])(t)&&(u=g(p,u),Object(r["h"])(u)&&(u.errMsg=u.errMsg||t+":ok")),u}}):e}}).call(this,n("3ad9")["default"])},"27ab":function(t,e,n){function r(t){return a(t)||o(t)||i()}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function a(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}n.r(e);var s,c,u={name:"PickerView",props:{value:{type:Array,default:function(){return[]},validator:function(t){return Array.isArray(t)&&t.filter((function(t){return"number"===typeof t})).length===t.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},data:function(){return{valueSync:r(this.value),height:34,items:[],changeSource:""}},watch:{value:function(t,e){var n=this;(t===e||t.length!==e.length||t.findIndex((function(t,n){return t!==e[n]}))>=0)&&(this.valueSync.length=t.length,t.forEach((function(t,e){t!==n.valueSync[e]&&n.$set(n.valueSync,e,t)})))},valueSync:{deep:!0,handler:function(t,e){if(""===this.changeSource)this._valueChanged(t);else{this.changeSource="";var n=t.map((function(t){return t}));this.$emit("update:value",n),this.$trigger("change",{},{value:n})}}}},methods:{getItemIndex:function(t){return this.items.indexOf(t)},getItemValue:function(t){return this.valueSync[this.getItemIndex(t.$vnode)]||0},setItemValue:function(t,e){var n=this.getItemIndex(t.$vnode),r=this.valueSync[n];r!==e&&(this.changeSource="touch",this.$set(this.valueSync,n,e))},_valueChanged:function(t){this.items.forEach((function(e,n){e.componentInstance.setCurrent(t[n]||0)}))},_resize:function(t){var e=t.height;this.height=e}},render:function(t){var e=[];return this.$slots.default&&this.$slots.default.forEach((function(t){t.componentOptions&&"v-uni-picker-view-column"===t.componentOptions.tag&&e.push(t)})),this.items=e,t("uni-picker-view",{on:this.$listeners},[t("v-uni-resize-sensor",{attrs:{initial:!0},on:{resize:this._resize}}),t("div",{ref:"wrapper",class:"uni-picker-view-wrapper"},e)])}},l=u,f=(n("6062"),n("2877")),h=Object(f["a"])(l,s,c,!1,null,null,null);e["default"]=h.exports},"27c2":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-editor",t._g({staticClass:"ql-container",attrs:{id:t.id}},t.$listeners))},i=[],o=n("8188"),a=o["a"],s=(n("e298"),n("2877")),c=Object(s["a"])(a,r,i,!1,null,null,null);e["default"]=c.exports},2877:function(t,e,n){function r(t,e,n,r,i,o,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},2883:function(t,e,n){},"28da":function(t,e,n){},"29a2":function(t,e,n){},"2bbe":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.hoverClass&&"none"!==t.hoverClass?n("uni-view",t._g({class:[t.hovering?t.hoverClass:""],on:{touchstart:t._hoverTouchStart,touchend:t._hoverTouchEnd,touchcancel:t._hoverTouchCancel}},t.$listeners),[t._t("default")],2):n("uni-view",t._g({},t.$listeners),[t._t("default")],2)},i=[],o=n("83a6"),a={name:"View",mixins:[o["a"]],listeners:{"label-click":"clickHandler"}},s=a,c=(n("e865"),n("2877")),u=Object(c["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},"2bdd":function(t,e,n){n.r(e),n.d(e,"enableAccelerometer",(function(){return o}));var r,i=n("b865");function o(t){var e=t.enable;return e?a():s()}function a(){if(window.DeviceMotionEvent)return r=function(t){var e=t.acceleration||t.accelerationIncludingGravity;Object(i["a"])("onAccelerometerChange",{x:e.x||0,y:e.y||0,z:e.z||0,errMsg:"onAccelerometerChange:ok"})},window.addEventListener("devicemotion",r,!1),{};throw new Error("device nonsupport devicemotion")}function s(){return r&&(window.removeEventListener("devicemotion",r,!1),r=null),{}}},"2c45":function(t,e,n){},"2c67":function(t,e,n){n.r(e),n.d(e,"createInnerAudioContext",(function(){return h}));var r=n("db70");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}var s=["canplay","play","pause","stop","ended","timeUpdate","error","waiting","seeking","seeked"],c=[{name:"src",cache:!0},{name:"startTime",default:0,cache:!0},{name:"autoplay",default:!1,cache:!0},{name:"loop",default:!1,cache:!0},{name:"obeyMuteSwitch",default:!0,readonly:!0,cache:!0},{name:"duration",readonly:!0},{name:"currentTime",readonly:!0},{name:"paused",readonly:!0},{name:"buffered",readonly:!0},{name:"volume"}],u=function(){function t(e){var n=this;i(this,t),this.id=e,this._callbacks={},this._options={},s.forEach((function(t){n._callbacks[t.toLowerCase()]=[]})),c.forEach((function(t){var e=t.name,i={get:function(){var n=t.cache?this._options:Object(r["c"])("getAudioState",{audioId:this.id}),i=e in n?n[e]:t.default;return"number"===typeof i&&"volume"!==e?i/1e3:i}};t.readonly||(i.set=function(t){this._options[e]=t,Object(r["c"])("setAudioState",Object.assign({},this._options,{audioId:this.id}))}),Object.defineProperty(n,e,i)}))}return a(t,[{key:"play",value:function(){this._operate("play")}},{key:"pause",value:function(){this._operate("pause")}},{key:"stop",value:function(){this._operate("stop")}},{key:"seek",value:function(t){this._operate("seek",{currentTime:1e3*t})}},{key:"destroy",value:function(){clearInterval(this.__timing),Object(r["c"])("destroyAudioInstance",{audioId:this.id}),delete f[this.id]}},{key:"_operate",value:function(t,e){Object(r["c"])("operateAudio",Object.assign({},e,{audioId:this.id,operationType:t}))}}]),t}();function l(t,e,n,r){t._callbacks[e].forEach((function(t){"function"===typeof t&&t("error"===e?{errMsg:n,errCode:r}:{})}))}s.forEach((function(t){var e=t[0].toUpperCase()+t.substr(1);t=t.toLowerCase(),u.prototype["on".concat(e)]=function(e){this._callbacks[t].push(e)},u.prototype["off".concat(e)]=function(e){var n=this._callbacks[t],r=n.indexOf(e);r>=0&&n.splice(r,1)}})),Object(r["d"])("onAudioStateChange",(function(t){var e=t.state,n=t.audioId,r=t.errMsg,i=t.errCode,o=f[n];if(o)if(l(o,e,r,i),"play"===e){var a=o.currentTime;o.__timing=setInterval((function(){var t=o.currentTime;t!==a&&l(o,"timeupdate")}),200)}else"pause"!==e&&"stop"!==e&&"error"!==e||clearInterval(o.__timing)}));var f=Object.create(null);function h(){var t=Object(r["c"])("createAudioInstance"),e=t.audioId,n=new u(e);return f[e]=n,n}},"2d89":function(t,e,n){var r=n("d29c"),i=n.n(r);i.a},"2eae":function(t,e,n){n.r(e),n.d(e,"interceptors",(function(){return i}));var r=n("8542");n.d(e,"addInterceptor",(function(){return r["a"]})),n.d(e,"removeInterceptor",(function(){return r["d"]}));var i={promiseInterceptor:r["c"]}},"2ec6":function(t,e,n){n.r(e),function(t){function r(e){var n=getCurrentPages();return n.length&&t.publishHandler("setPageMeta",e,n[n.length-1].$page.id),{}}n.d(e,"setPageMeta",(function(){return r}))}.call(this,n("0dd1"))},"2ef3":function(t,e,n){(function(t,e,r){var i=n("8bbf"),o=n.n(i),a=n("442e");e.UniViewJSBridge={subscribeHandler:t.subscribeHandler},e.UniServiceJSBridge={subscribeHandler:r.subscribeHandler};var s=n("0138"),c=s.default,u=s.getApp,l=s.getCurrentPages,f=["chooseImage"];f.forEach((function(t){Object.defineProperty(c,t,{writable:!1,configurable:!1})})),e.uni=c,e.wx=e.uni,e.getApp=u,e.getCurrentPages=l,o.a.use(n("4ca9").default,{routes:__uniRoutes}),o.a.use(n("8c15").default,{routes:__uniRoutes}),Object(a["a"])(o.a),n("8f7e"),n("1efd")}).call(this,n("501c"),n("c8ba"),n("0dd1"))},"303f":function(t,e,n){n.r(e),function(t,r){n.d(e,"CanvasContext",(function(){return E})),n.d(e,"createCanvasContext",(function(){return j})),n.d(e,"canvasGetImageData",(function(){return A})),n.d(e,"canvasPutImageData",(function(){return M})),n.d(e,"canvasToTempFilePath",(function(){return $}));var o=n("62b5"),a=n("db70"),s=n("a118");function c(t){return c="function"===typeof Symbol&&"symbol"===(0,i.default)(Symbol.iterator)?function(t){return(0,i.default)(t)}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":(0,i.default)(t)},c(t)}function u(t){return h(t)||f(t)||l()}function l(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function f(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function h(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function v(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),t}var g=Object(o["a"])("canvasEvent");function m(e,n,r,i){t.publishHandler(n+"-canvas-"+e,{canvasId:e,type:r,data:i},n)}t.subscribe("onDrawCanvas",(function(t){var e=t.callbackId,n=t.data,r=g.pop(e);r&&r(n)})),t.subscribe("onCanvasMethodCallback",(function(t){var e=t.callbackId,n=t.data,r=g.pop(e);r&&r(n)}));var b={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",transparent:"#00000000"};function y(t){var e=null;if(null!=(e=/^#([0-9|A-F|a-f]{6})$/.exec(t))){var n=parseInt(e[1].slice(0,2),16),i=parseInt(e[1].slice(2,4),16),o=parseInt(e[1].slice(4),16);return[n,i,o,255]}if(null!=(e=/^#([0-9|A-F|a-f]{3})$/.exec(t))){var a=e[1].slice(0,1),s=e[1].slice(1,2),c=e[1].slice(2,3);return a=parseInt(a+a,16),s=parseInt(s+s,16),c=parseInt(c+c,16),[a,s,c,255]}if(null!=(e=/^rgb\((.+)\)$/.exec(t)))return e[1].split(",").map((function(t){return Math.min(255,parseInt(t.trim()))})).concat(255);if(null!=(e=/^rgba\((.+)\)$/.exec(t)))return e[1].split(",").map((function(t,e){return 3===e?Math.floor(255*parseFloat(t.trim())):Math.min(255,parseInt(t.trim()))}));var u=t.toLowerCase();if(b.hasOwnProperty(u)){e=/^#([0-9|A-F|a-f]{6,8})$/.exec(b[u]);var l=parseInt(e[1].slice(0,2),16),f=parseInt(e[1].slice(2,4),16),h=parseInt(e[1].slice(4,6),16),d=parseInt(e[1].slice(6,8),16);return d=d>=0?d:255,[l,f,h,d]}return r.group("非法颜色: "+t),r.error("不支持颜色:"+t),r.groupEnd(),[0,0,0,255]}function _(t,e){this.image=t,this.repetition=e}var w,S=function(){function t(e,n){d(this,t),this.type=e,this.data=n,this.colorStop=[]}return v(t,[{key:"addColorStop",value:function(t,e){this.colorStop.push([t,y(e)])}}]),t}(),k=["scale","rotate","translate","setTransform","transform"],x=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],T=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];function C(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return w||(w=document.createElement("canvas")),w.width=t,w.height=e,w}function O(t){this.width=t}var E=function(){function t(e,n){d(this,t),this.id=e,this.pageId=n,this.actions=[],this.path=[],this.subpath=[],this.currentTransform=[],this.currentStepAnimates=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}return v(t,[{key:"draw",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0,r=u(this.actions);this.actions=[],this.path=[],"function"===typeof n&&(t=g.push(n)),m(this.id,this.pageId,"actionsChanged",{actions:r,reserve:e,callbackId:t})}},{key:"createLinearGradient",value:function(t,e,n,r){return new S("linear",[t,e,n,r])}},{key:"createCircularGradient",value:function(t,e,n){return new S("radial",[t,e,n])}},{key:"createPattern",value:function(t,e){if(void 0===e)r.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(e)<0))return new _(t,e);r.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+e+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}},{key:"measureText",value:function(t){if("object"===("undefined"===typeof document?"undefined":c(document))){var e=C().getContext("2d");return e.font=this.state.font,new O(e.measureText(t).width||0)}return new O(0)}},{key:"save",value:function(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}},{key:"restore",value:function(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}},{key:"beginPath",value:function(){this.path=[],this.subpath=[]}},{key:"moveTo",value:function(t,e){this.path.push({method:"moveTo",data:[t,e]}),this.subpath=[[t,e]]}},{key:"lineTo",value:function(t,e){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[t,e]}):this.path.push({method:"lineTo",data:[t,e]}),this.subpath.push([t,e])}},{key:"quadraticCurveTo",value:function(t,e,n,r){this.path.push({method:"quadraticCurveTo",data:[t,e,n,r]}),this.subpath.push([n,r])}},{key:"bezierCurveTo",value:function(t,e,n,r,i,o){this.path.push({method:"bezierCurveTo",data:[t,e,n,r,i,o]}),this.subpath.push([i,o])}},{key:"arc",value:function(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];this.path.push({method:"arc",data:[t,e,n,r,i,o]}),this.subpath.push([t,e])}},{key:"rect",value:function(t,e,n,r){this.path.push({method:"rect",data:[t,e,n,r]}),this.subpath=[[t,e]]}},{key:"arcTo",value:function(t,e,n,r,i){this.path.push({method:"arcTo",data:[t,e,n,r,i]}),this.subpath.push([n,r])}},{key:"clip",value:function(){this.actions.push({method:"clip",data:u(this.path)})}},{key:"closePath",value:function(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}},{key:"clearActions",value:function(){this.actions=[],this.path=[],this.subpath=[]}},{key:"getActions",value:function(){var t=u(this.actions);return this.clearActions(),t}},{key:"lineDashOffset",set:function(t){this.actions.push({method:"setLineDashOffset",data:[t]})}},{key:"globalCompositeOperation",set:function(t){this.actions.push({method:"setGlobalCompositeOperation",data:[t]})}},{key:"shadowBlur",set:function(t){this.actions.push({method:"setShadowBlur",data:[t]})}},{key:"shadowColor",set:function(t){this.actions.push({method:"setShadowColor",data:[t]})}},{key:"shadowOffsetX",set:function(t){this.actions.push({method:"setShadowOffsetX",data:[t]})}},{key:"shadowOffsetY",set:function(t){this.actions.push({method:"setShadowOffsetY",data:[t]})}},{key:"font",set:function(t){var e=this;this.state.font=t;var n=t.match(/^(([\w\-]+\s)*)(\d+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var i=n[1].trim().split(/\s/),o=parseFloat(n[3]),a=n[7],s=[];i.forEach((function(t,n){["italic","oblique","normal"].indexOf(t)>-1?(s.push({method:"setFontStyle",data:[t]}),e.state.fontStyle=t):["bold","normal"].indexOf(t)>-1?(s.push({method:"setFontWeight",data:[t]}),e.state.fontWeight=t):0===n?(s.push({method:"setFontStyle",data:["normal"]}),e.state.fontStyle="normal"):1===n&&c()})),1===i.length&&c(),i=s.map((function(t){return t.data[0]})).join(" "),this.state.fontSize=o,this.state.fontFamily=a,this.actions.push({method:"setFont",data:["".concat(i," ").concat(o,"px ").concat(a)]})}else r.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function c(){s.push({method:"setFontWeight",data:["normal"]}),e.state.fontWeight="normal"}},get:function(){return this.state.font}},{key:"fillStyle",set:function(t){this.setFillStyle(t)}},{key:"strokeStyle",set:function(t){this.setStrokeStyle(t)}},{key:"globalAlpha",set:function(t){t=Math.floor(255*parseFloat(t)),this.actions.push({method:"setGlobalAlpha",data:[t]})}},{key:"textAlign",set:function(t){this.actions.push({method:"setTextAlign",data:[t]})}},{key:"lineCap",set:function(t){this.actions.push({method:"setLineCap",data:[t]})}},{key:"lineJoin",set:function(t){this.actions.push({method:"setLineJoin",data:[t]})}},{key:"lineWidth",set:function(t){this.actions.push({method:"setLineWidth",data:[t]})}},{key:"miterLimit",set:function(t){this.actions.push({method:"setMiterLimit",data:[t]})}},{key:"textBaseline",set:function(t){this.actions.push({method:"setTextBaseline",data:[t]})}}]),t}();function j(e,n){if(n)return new E(e,n.$page.id);var r=Object(a["a"])();if(r)return new E(e,r);t.emit("onError","createCanvasContext:fail")}function A(t,e){var n=t.canvasId,r=t.x,i=t.y,o=t.width,c=t.height,u=Object(a["a"])();if(u){var l=g.push((function(t){var n=t.data;n&&n.length&&(t.data=new Uint8ClampedArray(n)),Object(s["a"])(e,t)}));m(n,u,"getImageData",{x:r,y:i,width:o,height:c,callbackId:l})}else Object(s["a"])(e,{errMsg:"canvasGetImageData:fail"})}function M(t,e){var n=t.canvasId,r=t.data,i=t.x,o=t.y,c=t.width,l=t.height,f=Object(a["a"])();if(f){var h=g.push((function(t){Object(s["a"])(e,t)}));m(n,f,"putImageData",{data:u(r),x:i,y:o,width:c,height:l,callbackId:h})}else Object(s["a"])(e,{errMsg:"canvasPutImageData:fail"})}function $(t,e){var n=t.x,r=void 0===n?0:n,i=t.y,o=void 0===i?0:i,c=t.width,u=t.height,l=t.destWidth,f=t.destHeight,h=t.canvasId,d=t.fileType,p=t.qualit,v=Object(a["a"])();if(v){var b=g.push((function(t){var n=t.base64;n&&n.length||Object(s["a"])(e,{errMsg:"canvasToTempFilePath:fail"}),Object(a["c"])("base64ToTempFilePath",{base64Data:n,x:r,y:o,width:c,height:u,destWidth:l,destHeight:f,canvasId:h,fileType:d,qualit:p},e)}));m(h,v,"getDataUrl",{x:r,y:o,width:c,height:u,destWidth:l,destHeight:f,hidpi:!1,fileType:d,qualit:p,callbackId:b})}else Object(s["a"])(e,{errMsg:"canvasToTempFilePath:fail"})}[].concat(k,x).forEach((function(t){function e(t){switch(t){case"fill":case"stroke":return function(){this.actions.push({method:t+"Path",data:u(this.path)})};case"fillRect":return function(t,e,n,r){this.actions.push({method:"fillPath",data:[{method:"rect",data:[t,e,n,r]}]})};case"strokeRect":return function(t,e,n,r){this.actions.push({method:"strokePath",data:[{method:"rect",data:[t,e,n,r]}]})};case"fillText":case"strokeText":return function(e,n,r,i){var o=[e.toString(),n,r];"number"===typeof i&&o.push(i),this.actions.push({method:t,data:o})};case"drawImage":return function(e,n,r,i,o,a,s,c,u){var l;function f(t){return"number"===typeof t}void 0===u&&(a=n,s=r,c=i,u=o,n=void 0,r=void 0,i=void 0,o=void 0),l=f(n)&&f(r)&&f(i)&&f(o)?[e,a,s,c,u,n,r,i,o]:f(c)&&f(u)?[e,a,s,c,u]:[e,a,s],this.actions.push({method:t,data:l})};default:return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];this.actions.push({method:t,data:n})}}}E.prototype[t]=e(t)})),T.forEach((function(t){function e(t){switch(t){case"setFillStyle":case"setStrokeStyle":return function(e){"object"!==c(e)?this.actions.push({method:t,data:["normal",y(e)]}):this.actions.push({method:t,data:[e.type,e.data,e.colorStop]})};case"setGlobalAlpha":return function(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:t,data:[e]})};case"setShadow":return function(e,n,r,i){i=y(i),this.actions.push({method:t,data:[e,n,r,i]}),this.state.shadowBlur=r,this.state.shadowColor=i,this.state.shadowOffsetX=e,this.state.shadowOffsetY=n};case"setLineDash":return function(e,n){e=e||[0,0],n=n||0,this.actions.push({method:t,data:[e,n]}),this.state.lineDash=e};case"setFontSize":return function(e){this.state.font=this.state.font.replace(/\d+\.?\d*px/,e+"px"),this.state.fontSize=e,this.actions.push({method:t,data:[e]})};default:return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];this.actions.push({method:t,data:n})}}}E.prototype[t]=e(t)}))}.call(this,n("0dd1"),n("3ad9")["default"])},"31e2":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-video",t._g({attrs:{id:t.id}},t.$listeners),[n("div",{ref:"container",staticClass:"uni-video-container",on:{click:t.triggerControls,touchstart:t.touchstart,touchend:t.touchend,touchmove:t.touchmove,fullscreenchange:function(e){return e.stopPropagation(),t.onFullscreenChange(e)},webkitfullscreenchange:function(e){return e.stopPropagation(),t.onFullscreenChange(e,!0)}}},[n("video",t._b({ref:"video",staticClass:"uni-video-video",style:{opacity:t.start?1:.8,objectFit:t.objectFit},attrs:{loop:t.loop,src:t.srcSync,poster:t.poster,autoplay:t.autoplay,"webkit-playsinline":"",playsinline:""},domProps:{muted:t.muted},on:{durationchange:t.onDurationChange,loadedmetadata:t.onLoadedMetadata,progress:t.onProgress,waiting:t.onWaiting,error:t.onVideoError,play:t.onPlay,pause:t.onPause,ended:t.onEnded,timeupdate:t.onTimeUpdate,webkitbeginfullscreen:function(e){return t.emitFullscreenChange(!0)},x5videoenterfullscreen:function(e){return t.emitFullscreenChange(!0)},webkitendfullscreen:function(e){return t.emitFullscreenChange(!1)},x5videoexitfullscreen:function(e){return t.emitFullscreenChange(!1)}}},"video",t.$attrs,!1)),n("div",{directives:[{name:"show",rawName:"v-show",value:t.controlsShow,expression:"controlsShow"}],staticClass:"uni-video-bar uni-video-bar-full",on:{click:function(t){t.stopPropagation()}}},[n("div",{staticClass:"uni-video-controls"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.showPlayBtn,expression:"showPlayBtn"}],staticClass:"uni-video-control-button",class:{"uni-video-control-button-play":!t.playing,"uni-video-control-button-pause":t.playing},on:{click:function(e){return e.stopPropagation(),t.trigger(e)}}}),n("div",{staticClass:"uni-video-current-time"},[t._v(t._s(t._f("time")(t.currentTime)))]),n("div",{ref:"progress",staticClass:"uni-video-progress-container",on:{click:function(e){return e.stopPropagation(),t.clickProgress(e)}}},[n("div",{staticClass:"uni-video-progress"},[n("div",{staticClass:"uni-video-progress-buffered",style:{width:t.buffered+"%"}}),n("div",{ref:"ball",staticClass:"uni-video-ball",style:{left:t.progress+"%"}},[n("div",{staticClass:"uni-video-inner"})])])]),n("div",{staticClass:"uni-video-duration"},[t._v(t._s(t._f("time")(t.duration||t.durationTime)))])]),t.danmuBtn?n("div",{staticClass:"uni-video-danmu-button",class:{"uni-video-danmu-button-active":t.enableDanmuSync},on:{click:function(e){return e.stopPropagation(),t.triggerDanmu(e)}}},[t._v("弹幕")]):t._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showFullscreenBtn,expression:"showFullscreenBtn"}],staticClass:"uni-video-fullscreen",class:{"uni-video-type-fullscreen":t.fullscreen},on:{click:function(e){return e.stopPropagation(),t.triggerFullscreen(!t.fullscreen)}}})]),n("div",{directives:[{name:"show",rawName:"v-show",value:t.start&&t.enableDanmuSync,expression:"start&&enableDanmuSync"}],ref:"danmu",staticClass:"uni-video-danmu",staticStyle:{"z-index":"0"}}),t.start?t._e():n("div",{staticClass:"uni-video-cover",on:{click:function(t){t.stopPropagation()}}},[n("div",{staticClass:"uni-video-cover-play-button",on:{click:function(e){return e.stopPropagation(),t.play(e)}}}),n("p",{staticClass:"uni-video-cover-duration"},[t._v(t._s(t._f("time")(t.duration||t.durationTime)))])]),n("div",{staticClass:"uni-video-toast",class:{"uni-video-toast-volume":"volume"===t.gestureType}},[n("div",{staticClass:"uni-video-toast-title"},[t._v("音量")]),n("svg",{staticClass:"uni-video-toast-icon",attrs:{width:"200px",height:"200px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M475.400704 201.19552l0 621.674496q0 14.856192-10.856448 25.71264t-25.71264 10.856448-25.71264-10.856448l-190.273536-190.273536-149.704704 0q-14.856192 0-25.71264-10.856448t-10.856448-25.71264l0-219.414528q0-14.856192 10.856448-25.71264t25.71264-10.856448l149.704704 0 190.273536-190.273536q10.856448-10.856448 25.71264-10.856448t25.71264 10.856448 10.856448 25.71264zm219.414528 310.837248q0 43.425792-24.28416 80.851968t-64.2816 53.425152q-5.71392 2.85696-14.2848 2.85696-14.856192 0-25.71264-10.570752t-10.856448-25.998336q0-11.999232 6.856704-20.284416t16.570368-14.2848 19.427328-13.142016 16.570368-20.284416 6.856704-32.569344-6.856704-32.569344-16.570368-20.284416-19.427328-13.142016-16.570368-14.2848-6.856704-20.284416q0-15.427584 10.856448-25.998336t25.71264-10.570752q8.57088 0 14.2848 2.85696 39.99744 15.427584 64.2816 53.139456t24.28416 81.137664zm146.276352 0q0 87.422976-48.56832 161.41824t-128.5632 107.707392q-7.428096 2.85696-14.2848 2.85696-15.427584 0-26.284032-10.856448t-10.856448-25.71264q0-22.284288 22.284288-33.712128 31.997952-16.570368 43.425792-25.141248 42.283008-30.855168 65.995776-77.423616t23.712768-99.136512-23.712768-99.136512-65.995776-77.423616q-11.42784-8.57088-43.425792-25.141248-22.284288-11.42784-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 79.99488 33.712128 128.5632 107.707392t48.56832 161.41824zm146.276352 0q0 131.42016-72.566784 241.41312t-193.130496 161.989632q-7.428096 2.85696-14.856192 2.85696-14.856192 0-25.71264-10.856448t-10.856448-25.71264q0-20.570112 22.284288-33.712128 3.999744-2.285568 12.85632-5.999616t12.85632-5.999616q26.284032-14.2848 46.854144-29.140992 70.281216-51.996672 109.707264-129.705984t39.426048-165.132288-39.426048-165.132288-109.707264-129.705984q-20.570112-14.856192-46.854144-29.140992-3.999744-2.285568-12.85632-5.999616t-12.85632-5.999616q-22.284288-13.142016-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 120.563712 51.996672 193.130496 161.989632t72.566784 241.41312z"}})]),n("div",{staticClass:"uni-video-toast-value"},[n("div",{staticClass:"uni-video-toast-value-content",style:{width:100*t.volumeNew+"%"}},[n("div",{staticClass:"uni-video-toast-volume-grids"},t._l(10,(function(t,e){return n("div",{key:e,staticClass:"uni-video-toast-volume-grids-item"})})),0)])])]),n("div",{staticClass:"uni-video-toast",class:{"uni-video-toast-progress":"progress"==t.gestureType}},[n("div",{staticClass:"uni-video-toast-title"},[t._v(t._s(t._f("time")(t.currentTimeNew))+" / "+t._s(t._f("time")(t.durationTime)))])])]),n("div",{staticStyle:{position:"absolute",top:"0",width:"100%",height:"100%",overflow:"hidden","pointer-events":"none"}},[t._t("default")],2)])},i=[],o=n("8af1"),a=n("f2b3"),s=!!a["l"]&&{passive:!1},c={NONE:"none",STOP:"stop",VOLUME:"volume",PROGRESS:"progress"},u={name:"Video",filters:{time:function(t){t=t>0&&t<1/0?t:0;var e=Math.floor(t/3600),n=Math.floor(t%3600/60),r=Math.floor(t%3600%60);e=(e<10?"0":"")+e,n=(n<10?"0":"")+n,r=(r<10?"0":"")+r;var i=n+":"+r;return"00"!==e&&(i=e+":"+i),i}},mixins:[o["f"],o["c"]],props:{id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:function(){return[]}},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0}},data:function(){return{start:!1,playing:!1,currentTime:0,durationTime:0,progress:0,touching:!1,enableDanmuSync:Boolean(this.enableDanmu),controlsVisible:!0,fullscreen:!1,controlsTouching:!1,touchStartOrigin:{x:0,y:0},gestureType:c.NONE,currentTimeOld:0,currentTimeNew:0,volumeOld:null,volumeNew:null,buffered:0,isSafari:/^Apple/.test(navigator.vendor)}},computed:{controlsShow:function(){return this.start&&this.controls&&this.controlsVisible},autoHideContorls:function(){return this.controlsShow&&this.playing&&!this.controlsTouching},srcSync:function(){return this.$getRealPath(this.src)}},watch:{enableDanmuSync:function(t){this.$emit("update:enableDanmu",t)},autoHideContorls:function(t){t?this.autoHideStart():this.autoHideEnd()},srcSync:function(t){this.playing=!1,this.currentTime=0},currentTime:function(){this.updateProgress()},duration:function(){this.updateProgress()},buffered:function(t){0!==t&&this.$trigger("progress",{},{buffered:t})}},created:function(){this.otherData={danmuList:[],danmuIndex:{time:0,index:-1},hideTiming:null};var t=this.otherData.danmuList=JSON.parse(JSON.stringify(this.danmuList||[]));t.sort((function(t,e){return(t.time||0)-(t.time||0)}))},mounted:function(){var t,e,n,r=this,i=this,o=!0,a=this.$refs.ball;function c(r){var a=r.targetTouches[0],s=a.pageX,c=a.pageY;if(o&&Math.abs(s-t)<Math.abs(c-e))u();else{o=!1;var l=i.$refs.progress.offsetWidth,f=n+(s-t)/l*100;f<0?f=0:f>100&&(f=100),i.progress=f,r.preventDefault(),r.stopPropagation()}}function u(t){i.controlsTouching=!1,i.touching&&(a.removeEventListener("touchmove",c,s),o||(t.preventDefault(),t.stopPropagation(),i.seek(i.$refs.video.duration*i.progress/100)),i.touching=!1)}a.addEventListener("touchstart",(function(i){r.controlsTouching=!0;var u=i.targetTouches[0];t=u.pageX,e=u.pageY,n=r.progress,o=!0,r.touching=!0,a.addEventListener("touchmove",c,s)})),a.addEventListener("touchend",u),a.addEventListener("touchcancel",u)},beforeDestroy:function(){this.triggerFullscreen(!1),clearTimeout(this.otherData.hideTiming)},methods:{_handleSubscribe:function(t){var e,n=t.type,r=t.data,i=void 0===r?{}:r,o=["play","pause","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"];switch(n){case"seek":e=i.position;break;case"sendDanmu":e=i;break;case"playbackRate":e=i.rate;break}o.indexOf(n)>=0&&this[n](e)},trigger:function(){this.playing?this.$refs.video.pause():this.$refs.video.play()},play:function(){this.start=!0,this.$refs.video.play()},pause:function(){this.$refs.video.pause()},seek:function(t){t=Number(t),"number"!==typeof t||isNaN(t)||(this.$refs.video.currentTime=t)},clickProgress:function(t){var e=this.$refs.progress,n=t.target,r=t.offsetX;while(n!==e)r+=n.offsetLeft,n=n.parentNode;var i=e.offsetWidth,o=0;r>=0&&r<=i&&(o=r/i,this.seek(this.$refs.video.duration*o))},triggerDanmu:function(){this.enableDanmuSync=!this.enableDanmuSync},playDanmu:function(t){var e=document.createElement("p");e.className="uni-video-danmu-item",e.innerText=t.text;var n="bottom: ".concat(100*Math.random(),"%;color: ").concat(t.color,";");e.setAttribute("style",n),this.$refs.danmu.appendChild(e),setTimeout((function(){n+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",e.setAttribute("style",n),setTimeout((function(){e.remove()}),4e3)}),17)},sendDanmu:function(t){var e=this.otherData;e.danmuList.splice(e.danmuIndex.index+1,0,{text:String(t.text),color:t.color,time:this.$refs.video.currentTime||0})},playbackRate:function(t){this.$refs.video.playbackRate=t},triggerFullscreen:function(t){var e,n=this.$refs.container,r=this.$refs.video;t?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||this.isSafari&&!this.userInteract?r.webkitEnterFullScreen?r.webkitEnterFullScreen():(e=!0,n.remove(),n.classList.add("uni-video-type-fullscreen"),document.body.appendChild(n)):n[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():r.webkitExitFullScreen?r.webkitExitFullScreen():(e=!0,n.remove(),n.classList.remove("uni-video-type-fullscreen"),this.$el.appendChild(n)),e&&this.emitFullscreenChange(t)},onFullscreenChange:function(t,e){e&&document.fullscreenEnabled||this.emitFullscreenChange(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:function(t){this.fullscreen=t,this.$trigger("fullscreenchange",{},{fullScreen:t,direction:"vertical"})},requestFullScreen:function(){this.triggerFullscreen(!0)},exitFullScreen:function(){this.triggerFullscreen(!1)},onDurationChange:function(t){var e=t.target;this.durationTime=e.duration},onLoadedMetadata:function(t){var e=Number(this.initialTime)||0,n=t.target;e>0&&(n.currentTime=e),this.$trigger("loadedmetadata",t,{width:n.videoWidth,height:n.videoHeight,duration:n.duration}),this.onProgress(t)},onProgress:function(t){var e=t.target,n=e.buffered;n.length&&(this.buffered=n.end(n.length-1)/e.duration*100)},onWaiting:function(t){this.$trigger("waiting",t,{})},onVideoError:function(t){this.playing=!1,this.$trigger("error",t,{})},onPlay:function(t){this.start=!0,this.playing=!0,this.$trigger("play",t,{})},onPause:function(t){this.playing=!1,this.$trigger("pause",t,{})},onEnded:function(t){this.playing=!1,this.$trigger("ended",t,{})},onTimeUpdate:function(t){var e=t.target,n=this.otherData,r=this.currentTime=e.currentTime,i=n.danmuIndex,o={time:r,index:i.index},a=n.danmuList;if(r>i.time)for(var s=i.index+1;s<a.length;s++){var c=a[s];if(!(r>=(c.time||0)))break;o.index=s,this.playing&&this.enableDanmuSync&&this.playDanmu(c)}else if(r<i.time)for(var u=i.index-1;u>-1;u--){var l=a[u];if(!(r<=(l.time||0)))break;o.index=u-1}n.danmuIndex=o,this.$trigger("timeupdate",t,{currentTime:r,duration:e.duration})},triggerControls:function(){this.controlsVisible=!this.controlsVisible},touchstart:function(t){var e=t.targetTouches[0];this.touchStartOrigin={x:e.pageX,y:e.pageY},this.gestureType=c.NONE,this.volumeOld=null,this.currentTimeOld=this.currentTimeNew=0},touchmove:function(t){function e(){t.stopPropagation(),t.preventDefault()}this.fullscreen&&e();var n=this.gestureType;if(n!==c.STOP){var r=t.targetTouches[0],i=r.pageX,o=r.pageY,a=this.touchStartOrigin;if(n===c.PROGRESS?this.changeProgress(i-a.x):n===c.VOLUME&&this.changeVolume(o-a.y),n===c.NONE)if(Math.abs(i-a.x)>Math.abs(o-a.y)){if(!this.enableProgressGesture)return void(this.gestureType=c.STOP);this.gestureType=c.PROGRESS,this.currentTimeOld=this.currentTimeNew=this.$refs.video.currentTime,this.fullscreen||e()}else{if(!this.pageGesture)return void(this.gestureType=c.STOP);this.gestureType=c.VOLUME,this.volumeOld=this.$refs.video.volume,this.fullscreen||e()}}},touchend:function(t){this.gestureType!==c.NONE&&this.gestureType!==c.STOP&&(t.stopPropagation(),t.preventDefault()),this.gestureType===c.PROGRESS&&this.currentTimeOld!==this.currentTimeNew&&(this.$refs.video.currentTime=this.currentTimeNew),this.gestureType=c.NONE},changeProgress:function(t){var e=this.$refs.video.duration,n=t/600*e+this.currentTimeOld;n<0?n=0:n>e&&(n=e),this.currentTimeNew=n},changeVolume:function(t){var e,n=this.volumeOld;"number"===typeof n&&(e=n-t/200,e<0?e=0:e>1&&(e=1),this.$refs.video.volume=e,this.volumeNew=e)},autoHideStart:function(){var t=this;this.otherData.hideTiming=setTimeout((function(){t.controlsVisible=!1}),3e3)},autoHideEnd:function(){var t=this.otherData;t.hideTiming&&(clearTimeout(t.hideTiming),t.hideTiming=null)},updateProgress:function(){this.touching||(this.progress=this.currentTime/this.durationTime*100)}}},l=u,f=(n("856e"),n("2877")),h=Object(f["a"])(l,r,i,!1,null,null,null);e["default"]=h.exports},"324c":function(t,e,n){},"332a":function(t,e,n){n.r(e),n.d(e,"redirectTo",(function(){return c})),n.d(e,"reLaunch",(function(){return u})),n.d(e,"navigateTo",(function(){return l})),n.d(e,"switchTab",(function(){return f})),n.d(e,"navigateBack",(function(){return h}));var r=n("0f74");function i(t){if("string"!==typeof t)return t;var e=t.indexOf("?");if(-1===e)return t;var n=t.substr(e+1).trim().replace(/^(\?|#|&)/,"");if(!n)return t;t=t.substr(0,e);var r=[];return n.split("&").forEach((function(t){var e=t.replace(/\+/g," ").split("="),n=e.shift(),i=e.length>0?e.join("="):"";r.push(n+"="+encodeURIComponent(i))})),r.length?t+"?"+r.join("&"):t}function o(t){return function(e,n){e=Object(r["a"])(e);var o=e.split("?")[0],a=__uniRoutes.find((function(t){var e=t.path,n=t.alias;return e===o||n===o}));if(!a)return"page `"+e+"` is not found";if("navigateTo"===t||"redirectTo"===t){if(a.meta.isTabBar)return"can not ".concat(t," a tabbar page")}else if("switchTab"===t&&!a.meta.isTabBar)return"can not switch to no-tabBar page";a.meta.isTabBar&&(e=o),a.meta.isEntry&&(e=e.replace(a.alias,"/")),n.url=i(e)}}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({url:{type:String,required:!0,validator:o(t)}},e)}function s(t){return{animationType:{type:String,validator:function(e){if(e&&-1===t.indexOf(e))return"`"+e+"` is not supported for `animationType` (supported values are: `"+t.join("`|`")+"`)"}},animationDuration:{type:Number}}}var c=a("redirectTo"),u=a("reLaunch"),l=a("navigateTo",s(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"])),f=a("switchTab"),h=Object.assign({delta:{type:Number,validator:function(t,e){t=parseInt(t)||1,e.delta=Math.min(getCurrentPages().length-1,t)}}},s(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]))},"33b4":function(t,e,n){},"33ed":function(t,e,n){(function(t){n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return c}));var r,i=n("4a59");function o(t){t.preventDefault()}function a(t){var e=t.scrollTop,n=t.duration,r=document.documentElement,i=r.clientHeight,o=r.scrollHeight;function a(t){if(t<=0)window.scrollTo(0,e);else{var n=e-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+n/t*10),a(t-10)}))}}e=Math.min(e,o-i),0!==n?window.scrollY!==e&&a(n):r.scrollTop=document.body.scrollTop=e}var s=0;function c(e,n){var o=n.enablePageScroll,a=n.enablePageReachBottom,c=n.onReachBottomDistance,u=n.enableTransparentTitleNView,l=!1,f=!1,h=!0;function d(){var t=document.documentElement.scrollHeight,e=window.innerHeight,n=window.scrollY,r=n>0&&t>e&&n+e+c>=t,i=Math.abs(t-s)>c;return!r||f&&!i?(!r&&f&&(f=!1),!1):(s=t,f=!0,!0)}function p(){var n=getCurrentPages();if(n.length&&n[n.length-1].$page.id===e){var s=window.pageYOffset;o&&Object(i["a"])("onPageScroll",{scrollTop:s},e),u&&t.emit("onPageScroll",{scrollTop:s}),a&&h&&(c()||(r=setTimeout(c,300))),l=!1}function c(){if(d())return Object(i["a"])("onReachBottom",{},e),h=!1,setTimeout((function(){h=!0}),350),!0}}return function(){clearTimeout(r),l||requestAnimationFrame(p),l=!0}}}).call(this,n("501c"))},"34b2":function(t,e,n){n.r(e),function(t){function r(){return window.location.protocol+"//"+window.location.host}function i(e,n){var i=e.src,o=t,a=o.invokeCallbackHandler,s=new Image,c=i;s.onload=function(){a(n,{errMsg:"getImageInfo:ok",width:s.naturalWidth,height:s.naturalHeight,path:0===c.indexOf("/")?r()+c:c})},s.onerror=function(t){a(n,{errMsg:"getImageInfo:fail"})},s.src=i}n.d(e,"getImageInfo",(function(){return i}))}.call(this,n("0dd1"))},3590:function(t,e,n){},3648:function(t,e,n){n.r(e);var r=n("f2b3");function i(t){return window.CSS&&window.CSS.supports&&window.CSS.supports(t)}var o={"css.var":i("--a:0"),"css.env":i("top:env(a)"),"css.constant":i("top:constant(a)")};function a(t){return!Object(r["e"])(o,t)||o[t]}n.d(e,"canIUse",(function(){return a}))},3676:function(t,e,n){n.r(e),n.d(e,"getRecorderManager",(function(){return l}));var r=n("db70");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}var s,c={pause:[],resume:[],start:[],stop:[],error:[]},u=function(){function t(){i(this,t),Object(r["d"])("onRecorderStateChange",(function(t){var e=t.state;delete t.state,delete t.errMsg,c[e].forEach((function(e){"function"===typeof e&&e(t)}))}))}return a(t,[{key:"onError",value:function(t){c.error.push(t)}},{key:"onFrameRecorded",value:function(t){}},{key:"onInterruptionBegin",value:function(t){}},{key:"onInterruptionEnd",value:function(t){}},{key:"onPause",value:function(t){c.pause.push(t)}},{key:"onResume",value:function(t){c.resume.push(t)}},{key:"onStart",value:function(t){c.start.push(t)}},{key:"onStop",value:function(t){c.stop.push(t)}},{key:"pause",value:function(){Object(r["c"])("operateRecorder",{operationType:"pause"})}},{key:"resume",value:function(){Object(r["c"])("operateRecorder",{operationType:"resume"})}},{key:"start",value:function(t){Object(r["c"])("operateRecorder",Object.assign({},t,{operationType:"start"}))}},{key:"stop",value:function(){Object(r["c"])("operateRecorder",{operationType:"stop"})}}]),t}();function l(){return s||(s=new u)}},"3ad9":function(t,e,n){n.r(e),function(t){var n=Array.prototype.unshift;function r(t){return n.call(t,"[system]"),t}function i(e){return function(){var n=!0;"debug"!==e||__uniConfig.debug||(n=!1),n&&t.console[e].apply(t.console,r(arguments))}}e["default"]={log:i("log"),info:i("info"),warn:i("warn"),debug:i("debug"),error:i("error")}}.call(this,n("c8ba"))},"3b67":function(t,e,n){var r=Object.create(null),i=n("e3a7");i.keys().forEach((function(t){Object.assign(r,i(t))})),e["a"]=r},"3bfb":function(t,e,n){n.r(e),n.d(e,"createAudioContext",(function(){return i})),n.d(e,"createVideoContext",(function(){return o})),n.d(e,"createMapContext",(function(){return a})),n.d(e,"createCanvasContext",(function(){return s}));var r=[{name:"id",type:String,required:!0}],i=r,o=r,a=r,s=[{name:"canvasId",type:String,required:!0},{name:"componentInstance",type:Object}]},"3c79":function(t,e,n){},"3d1f":function(t,e,n){(function(t){n.d(e,"a",(function(){return o}));var r=n("62b5"),i=n("a741");function o(e,n){n.getApp;var o=n.getCurrentPages;function a(e){return function(n,r){r=parseInt(r);var a=o(),s=a.find((function(t){return t.$page.id===r}));s?Object(i["b"])(s,e,n):t.error("Not Found:Page[".concat(r,"]"))}}var s=Object(r["a"])("requestComponentInfo");function c(t){var e=t.reqId,n=t.res,r=s.pop(e);r&&r(n)}var u=Object(r["a"])("requestComponentObserver");function l(t){var e=t.reqId,n=t.reqEnd,r=t.res,i=u.get(e);if(i){if(n)return void u.pop(e);i(r)}}e("onPageReady",a("onReady")),e("onPageScroll",a("onPageScroll")),e("onReachBottom",a("onReachBottom")),e("onRequestComponentInfo",c),e("onRequestComponentObserver",l)}}).call(this,n("3ad9")["default"])},"3d64":function(t,e,n){n.r(e),function(t){n.d(e,"onNetworkStatusChange",(function(){return s})),n.d(e,"getNetworkType",(function(){return c}));var r=t,i=r.invokeCallbackHandler,o=[];function a(){var t=c(),e=t.networkType;o.forEach((function(t){i(t,{errMsg:"onNetworkStatusChange:ok",isConnected:"none"!==e,networkType:e})}))}function s(t){var e=navigator.connection||navigator.webkitConnection;o.push(t),e?e.addEventListener("change",a):(window.addEventListener("offline",a),window.addEventListener("online",a))}function c(){var t=navigator.connection||navigator.webkitConnection,e="unknown";return t?(e=t.type,"cellular"===e&&t.effectiveType?e=t.effectiveType.replace("slow-",""):["none","wifi"].includes(e)||(e="unknown")):!1===navigator.onLine&&(e="none"),{errMsg:"getNetworkType:ok",networkType:e}}}.call(this,n("0dd1"))},"3da9":function(t,e,n){var r=n("bfbd"),i=n.n(r);i.a},"3e8c":function(t,e,n){n.r(e);var r,i,o={name:"ResizeSensor",props:{initial:{type:[Boolean,String],default:!1}},data:function(){return{size:{width:-1,height:-1}}},watch:{size:{deep:!0,handler:function(t){this.$emit("resize",Object.assign({},t))}}},mounted:function(){!0===this.initial&&this.$nextTick(this.update),this.$el.offsetParent!==this.$el.parentNode&&(this.$el.parentNode.style.position="relative"),"AnimationEvent"in window||this.reset()},methods:{reset:function(){var t=this.$el.firstChild,e=this.$el.lastChild;t.scrollLeft=1e5,t.scrollTop=1e5,e.scrollLeft=1e5,e.scrollTop=1e5},update:function(){this.size.width=this.$el.offsetWidth,this.size.height=this.$el.offsetHeight,this.reset()}},render:function(t){return t("uni-resize-sensor",{on:{"~animationstart":this.update}},[t("div",{on:{scroll:this.update}},[t("div")]),t("div",{on:{scroll:this.update}},[t("div")])])}},a=o,s=(n("64d0"),n("2877")),c=Object(s["a"])(a,r,i,!1,null,null,null);e["default"]=c.exports},"3f7e":function(t,e,n){var r=n("e692"),i=n.n(r);i.a},"439a":function(t,e,n){n.r(e),n.d(e,"downloadFile",(function(){return r}));var r={url:{type:String,required:!0},header:{type:Object,validator:function(t,e){e.header=t||{}}}}},"442e":function(t,e,n){(function(t){n.d(e,"a",(function(){return a}));var r=n("5129"),i=n.n(r),o=n("85b6");function a(e){e.config.errorHandler=function(e){var n="function"===typeof getApp&&getApp();n&&Object(o["a"])(n.$options,"onError")?n.__call_hook("onError",e):t.error(e)};var n=e.config.isReservedTag;e.config.isReservedTag=function(t){return-1!==i.a.indexOf(t)||n(t)},e.config.ignoredElements=i.a;var r=e.config.getTagNamespace,a=["switch","image","text","view"];e.config.getTagNamespace=function(t){return!~a.indexOf(t)&&(r(t)||!1)}}}).call(this,n("3ad9")["default"])},"44de":function(t,e,n){n.r(e),n.d(e,"vibrateLong",(function(){return i})),n.d(e,"vibrateShort",(function(){return o}));var r=!!window.navigator.vibrate;function i(){return r&&window.navigator.vibrate(400)?{errMsg:"vibrateLong:ok"}:{errMsg:"vibrateLong:fail"}}function o(){return r&&window.navigator.vibrate(15)?{errMsg:"vibrateShort:ok"}:{errMsg:"vibrateShort:fail"}}},"454d":function(t,e,n){n.r(e),n.d(e,"removeTabBarBadge",(function(){return o})),n.d(e,"showTabBarRedDot",(function(){return a})),n.d(e,"hideTabBarRedDot",(function(){return s})),n.d(e,"onTabBarMidButtonTap",(function(){return u}));var r=n("db70"),i=n("a118");function o(t){var e=t.index;return Object(r["c"])("setTabBarBadge",{index:e,type:"none"})}function a(t){var e=t.index;return Object(r["c"])("setTabBarBadge",{index:e,type:"redDot"})}var s=o,c=[];function u(t){c.push(t)}Object(r["d"])("onTabBarMidButtonTap",(function(t){c.forEach((function(e){Object(i["a"])(e,t)}))}))},"45d2":function(t,e,n){n.r(e),n.d(e,"upx2px",(function(){return u}));var r=1e-4,i=750,o=!1,a=0,s=0;function c(){var t=uni.getSystemInfoSync(),e=t.platform,n=t.pixelRatio,r=t.windowWidth;a=r,s=n,o="ios"===e}function u(t,e){if(0===a&&c(),t=Number(t),0===t)return 0;var n=t/i*(e||a);return n<0&&(n=-n),n=Math.floor(n+r),0===n?1!==s&&o?.5:1:t<0?-n:n}},"45db":function(t,e,n){n.r(e),function(t){var r;function i(t){r=t}function o(){r&&t.emit(r+".stopPullDownRefresh",{},r);var e=getCurrentPages();return e.length&&(r=e[e.length-1].$page.id,t.emit(r+".startPullDownRefresh",{},r)),{}}function a(){if(r)t.emit(r+".stopPullDownRefresh",{},r),r=null;else{var e=getCurrentPages();e.length&&(r=e[e.length-1].$page.id,t.emit(r+".stopPullDownRefresh",{},r))}return{}}n.d(e,"setPullDownRefreshPageId",(function(){return i})),n.d(e,"startPullDownRefresh",(function(){return o})),n.d(e,"stopPullDownRefresh",(function(){return a}))}.call(this,n("0dd1"))},"484e":function(t,e,n){function r(t){return r="function"===typeof Symbol&&"symbol"===(0,i.default)(Symbol.iterator)?function(t){return(0,i.default)(t)}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":(0,i.default)(t)},r(t)}n.r(e),n.d(e,"setStorage",(function(){return c})),n.d(e,"setStorageSync",(function(){return u})),n.d(e,"getStorage",(function(){return l})),n.d(e,"getStorageSync",(function(){return f})),n.d(e,"removeStorage",(function(){return h})),n.d(e,"removeStorageSync",(function(){return d})),n.d(e,"clearStorage",(function(){return p})),n.d(e,"clearStorageSync",(function(){return v})),n.d(e,"getStorageInfo",(function(){return g})),n.d(e,"getStorageInfoSync",(function(){return m}));var o="__TYPE",a="uni-storage-keys";function s(t){var e=["object","string","number","boolean","undefined"];try{var n="string"===typeof t?JSON.parse(t):t,i=n.type;if(e.indexOf(i)>=0){var o=Object.keys(n);if(2===o.length&&"data"in n&&r(n.data)===i)return n.data;if(1===o.length)return""}}catch(s){}}function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key,n=t.data,i=r(n),a="string"===i?n:JSON.stringify({type:i,data:n});try{"string"===i&&void 0!==s(a)?localStorage.setItem(e+o,i):localStorage.removeItem(e+o),localStorage.setItem(e,a)}catch(u){return{errMsg:"setStorage:fail ".concat(u)}}return{errMsg:"setStorage:ok"}}function u(t,e){c({key:t,data:e})}function l(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key,n=localStorage&&localStorage.getItem(e);if("string"!==typeof n)return{data:"",errMsg:"getStorage:fail"};var i=n,a=localStorage.getItem(e+o)||"",c=a.toLowerCase();if("string"!==c||"String"===a&&'{"type":"undefined"}'===n)try{var u=JSON.parse(n),l=s(u);void 0!==l?i=l:c&&(i=u,"string"===typeof u&&(u=JSON.parse(u),i=r(u)===("null"===c?"object":c)?u:i))}catch(h){}return{data:i,errMsg:"getStorage:ok"}}function f(t){var e=l({key:t});return e.data}function h(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.key;return localStorage&&(localStorage.removeItem(e+o),localStorage.removeItem(e)),{errMsg:"removeStorage:ok"}}function d(t){h({key:t})}function p(){return localStorage&&localStorage.clear(),{errMsg:"clearStorage:ok"}}function v(){p()}function g(){for(var t=localStorage&&(localStorage.length||localStorage.getLength())||0,e=[],n=0,r=0;r<t;r++){var i=localStorage.key(r);if(i!==a&&i.indexOf(o)+o.length!==i.length){var s=localStorage.getItem(i);n+=i.length+s.length,e.push(i)}}return{keys:e,currentSize:Math.ceil(2*n/1024),limitSize:Number.MAX_VALUE,errMsg:"getStorageInfo:ok"}}function m(){var t=g();return delete t.errMsg,t}},"4a59":function(t,e,n){(function(t){function r(e,n,r){t.UniServiceJSBridge.subscribeHandler(e,n,r)}n.d(e,"a",(function(){return r}))}).call(this,n("c8ba"))},"4ca9":function(t,e,n){n.r(e),function(t){var r=n("6389"),i=n.n(r),o=n("85b6"),a=n("abbf"),s=n("0784"),c=n("aa92"),u=n("02c9"),l=n("23e5");function f(t){var e=0;return t.forEach((function(t){t.meta.id&&e++})),e}function h(){var t=window.location.href,e=t.indexOf("#");return-1===e?"":decodeURI(t.slice(e+1))}function d(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=decodeURI(window.location.pathname);return t&&0===e.indexOf(t)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}e["default"]={install:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.routes;Object(u["a"])(e),Object(c["a"])(e);var p=f(r),v=new i.a({id:p,mode:__uniConfig.router.mode,base:__uniConfig.router.base,routes:r,scrollBehavior:function(t,e,n){if(n)return n;if(t&&e&&t.meta.isTabBar&&e.meta.isTabBar){var r=Object(l["b"])(t.params.__id__);if(r)return r}return{x:0,y:0}}}),g=[],m=v.match("history"===__uniConfig.router.mode?d(__uniConfig.router.base):h());if(m.meta.name&&(m.meta.id?g.push(m.meta.name+"-"+m.meta.id):g.push(m.meta.name+"-"+(p+1))),m.meta&&m.meta.name&&(document.body.className="uni-body "+m.meta.name,m.meta.isNVue)){var b="nvue-dir-"+__uniConfig.nvue["flex-direction"];document.body.setAttribute("nvue",""),document.body.setAttribute(b,"")}e.mixin({beforeCreate:function(){var e=this.$options;if("app"===e.mpType){e.data=function(){return{keepAliveInclude:g}};var n=Object(a["a"])(r,m);Object.keys(n).forEach((function(t){e[t]=e[t]?[].concat(n[t],e[t]):[n[t]]})),e.router=v,Array.isArray(e.onError)&&0!==e.onError.length||(e.onError=[function(e){t.error(e)}])}else if(Object(o["b"])(this)){var i=Object(s["a"])();Object.keys(i).forEach((function(t){e.mpOptions?e[t]=e[t]?[].concat(e[t],i[t]):[i[t]]:e[t]=e[t]?[].concat(i[t],e[t]):[i[t]]}))}else this.$parent&&this.$parent.__page__&&(this.__page__=this.$parent.__page__)}}),Object.defineProperty(e.prototype,"$page",{get:function(){return this.__page__}}),e.prototype.createSelectorQuery=function(){return uni.createSelectorQuery().in(this)},e.prototype.createIntersectionObserver=function(t){return uni.createIntersectionObserver(this,t)},e.use(i.a)}}}.call(this,n("3ad9")["default"])},"4da7":function(t,e,n){n.r(e);var r,i,o=n("5881"),a=o["a"],s=(n("c8ed"),n("2877")),c=Object(s["a"])(a,r,i,!1,null,null,null);e["default"]=c.exports},"4e0b":function(t,e,n){},"4e7c":function(t,e,n){n.r(e),n.d(e,"getProvider",(function(){return i}));var r={OAUTH:"OAUTH",SHARE:"SHARE",PAYMENT:"PAYMENT",PUSH:"PUSH"},i={service:{type:String,required:!0,validator:function(t,e){if(t=(t||"").toUpperCase(),t&&Object.values(r).indexOf(t)<0)return"service error"}}}},"4f1c":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-switch",t._g({attrs:{disabled:t.disabled},on:{click:t._onClick}},t.$listeners),[n("div",{staticClass:"uni-switch-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:"switch"===t.type,expression:"type === 'switch'"}],staticClass:"uni-switch-input",class:[t.switchChecked?"uni-switch-input-checked":""],style:{backgroundColor:t.switchChecked?t.color:"#DFDFDF",borderColor:t.switchChecked?t.color:"#DFDFDF"}}),n("div",{directives:[{name:"show",rawName:"v-show",value:"checkbox"===t.type,expression:"type === 'checkbox'"}],staticClass:"uni-checkbox-input",class:[t.switchChecked?"uni-checkbox-input-checked":""],style:{color:t.color}})])])},i=[],o=n("8af1"),a={name:"Switch",mixins:[o["a"],o["e"]],props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"}},data:function(){return{switchChecked:this.checked}},watch:{checked:function(t){this.switchChecked=t}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},listeners:{"label-click":"_onClick","@label-click":"_onClick"},methods:{_onClick:function(t){this.disabled||(this.switchChecked=!this.switchChecked,this.$trigger("change",t,{value:this.switchChecked}))},_resetFormData:function(){this.switchChecked=!1},_getFormData:function(){var t={};return""!==this.name&&(t["value"]=this.switchChecked,t["key"]=this.name),t}}},s=a,c=(n("a5ec"),n("2877")),u=Object(c["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},"4f43":function(t,e,n){n.r(e),function(t){n.d(e,"downloadFile",(function(){return u}));var r=n("e2e2");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=function(){function t(e){i(this,t),s(this,"_xhr",void 0),s(this,"_callbacks",[]),this._xhr=e}return a(t,[{key:"onProgressUpdate",value:function(t){"function"===typeof t&&this._callbacks.push(t)}},{key:"offProgressUpdate",value:function(t){var e=this._callbacks.indexOf(t);e>=0&&this._callbacks.splice(e,1)}},{key:"abort",value:function(){this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),t}();function u(e,n){var i,o=e.url,a=e.header,s=__uniConfig.networkTimeout&&__uniConfig.networkTimeout.downloadFile||6e4,u=t,l=u.invokeCallbackHandler,f=new XMLHttpRequest,h=new c(f);return f.open("GET",o,!0),Object.keys(a).forEach((function(t){f.setRequestHeader(t,a[t])})),f.responseType="blob",f.onload=function(){clearTimeout(i);var t=f.status,e=this.response;l(n,{errMsg:"downloadFile:ok",statusCode:t,tempFilePath:Object(r["a"])(e)})},f.onabort=function(){clearTimeout(i),l(n,{errMsg:"downloadFile:fail abort"})},f.onerror=function(){clearTimeout(i),l(n,{errMsg:"downloadFile:fail"})},f.onprogress=function(t){h._callbacks.forEach((function(e){var n=t.loaded,r=t.total,i=Math.round(n/r*100);e({progress:i,totalBytesWritten:n,totalBytesExpectedToWrite:r})}))},f.send(),i=setTimeout((function(){f.onprogress=f.onload=f.onabort=f.onerror=null,h.abort(),l(n,{errMsg:"downloadFile:fail timeout"})}),s),h}}.call(this,n("0dd1"))},"4fef":function(t,e,n){var r=n("7572"),i=n.n(r);i.a},"501c":function(t,e,n){n.r(e);var r=n("8bbf"),i=n.n(r);function o(t){var e=t.pageStyle,n=t.rootFontSize,r=document.querySelector("uni-page-body")||document.body;r.setAttribute("style",e),n&&document.documentElement.style.fontSize!==n&&(document.documentElement.style.fontSize=n)}var a=n("6bdf"),s=n("5dc1"),c={setPageMeta:o,requestComponentInfo:a["a"],requestComponentObserver:s["b"],destroyComponentObserver:s["a"]},u=n("33ed"),l=n("7107"),f=n("764a");function h(t){Object.keys(c).forEach((function(e){t(e,c[e])})),t("pageScrollTo",u["c"]),t("loadFontFace",l["a"]),Object(f["a"])(t)}var d=n("4a59");n.d(e,"on",(function(){return v})),n.d(e,"off",(function(){return g})),n.d(e,"once",(function(){return m})),n.d(e,"emit",(function(){return b})),n.d(e,"subscribe",(function(){return y})),n.d(e,"unsubscribe",(function(){return _})),n.d(e,"subscribeHandler",(function(){return w})),n.d(e,"publishHandler",(function(){return d["a"]}));var p=new i.a,v=p.$on.bind(p),g=p.$off.bind(p),m=p.$once.bind(p),b=p.$emit.bind(p);function y(t,e){return v("service."+t,e)}function _(t,e){return g("service."+t,e)}function w(t,e,n){b("service."+t,e,n)}h(y)},"50c5":function(t,e,n){},5129:function(t,e){t.exports=["uni-app","uni-tabbar","uni-page","uni-page-head","uni-page-wrapper","uni-page-body","uni-page-refresh","uni-actionsheet","uni-modal","uni-toast","uni-resize-sensor","uni-shadow-root","uni-ad","uni-audio","uni-button","uni-camera","uni-canvas","uni-checkbox","uni-checkbox-group","uni-cover-image","uni-cover-view","uni-editor","uni-form","uni-functional-page-navigator","uni-icon","uni-image","uni-input","uni-label","uni-live-player","uni-live-pusher","uni-map","uni-movable-area","uni-movable-view","uni-navigator","uni-official-account","uni-open-data","uni-picker","uni-picker-view","uni-picker-view-column","uni-progress","uni-radio","uni-radio-group","uni-rich-text","uni-scroll-view","uni-slider","uni-swiper","uni-swiper-item","uni-switch","uni-text","uni-textarea","uni-video","uni-view","uni-web-view"]},"515d":function(t,e,n){},5222:function(t,e,n){(function(t){var r=n("5a56");e["a"]={name:"Toast",mixins:[r["default"]],props:{title:{type:String,default:""},icon:{default:"success",validator:function(t){return-1!==["success","loading","none"].indexOf(t)}},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!1}},computed:{iconClass:function(){return"success"===this.icon?"uni-icon-success-no-circle":"loading"===this.icon?"uni-loading":void 0}},beforeUpdate:function(){this.visible&&(this.timeoutId&&clearTimeout(this.timeoutId),this.timeoutId=setTimeout((function(){t.emit("onHideToast")}),this.duration))}}}).call(this,n("0dd1"))},5363:function(t,e,n){function r(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}n.d(e,"a",(function(){return r})),r.prototype.set=function(t,e){this._x=t,this._v=e,this._startTime=(new Date).getTime()},r.prototype.setVelocityByEnd=function(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)},r.prototype.x=function(t){var e;return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),e=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t),this._dt=t,this._x+this._v*e/this._dragLog-this._v/this._dragLog},r.prototype.dx=function(t){var e;return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),e=t===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,t),this._dt=t,this._v*e},r.prototype.done=function(){return Math.abs(this.dx())<3},r.prototype.reconfigure=function(t){var e=this.x(),n=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(e,n)},r.prototype.configuration=function(){var t=this;return[{label:"Friction",read:function(){return t._drag},write:function(e){t.reconfigure(e)},min:.001,max:.1,step:.001}]}},5408:function(t,e,n){var r={"./button/index.vue":"d3bd","./canvas/index.vue":"bacd","./checkbox-group/index.vue":"25ce","./checkbox/index.vue":"7bb3","./editor/index.vue":"27c2","./form/index.vue":"b34d","./icon/index.vue":"9a8b","./image/index.vue":"1082","./input/index.vue":"250d","./label/index.vue":"70f4","./movable-area/index.vue":"c61c","./movable-view/index.vue":"8842","./navigator/index.vue":"17fd","./picker-view-column/index.vue":"1955","./picker-view/index.vue":"27ab","./progress/index.vue":"9b1f","./radio-group/index.vue":"d5ec","./radio/index.vue":"6491","./resize-sensor/index.vue":"3e8c","./rich-text/index.vue":"b705","./scroll-view/index.vue":"f1ef","./slider/index.vue":"9f96","./swiper-item/index.vue":"9213","./swiper/index.vue":"5513","./switch/index.vue":"4f1c","./text/index.vue":"4da7","./textarea/index.vue":"5768","./view/index.vue":"2bbe"};function i(t){var e=o(t);return n(e)}function o(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=o,t.exports=i,i.id="5408"},"54bc":function(t,e,n){},5513:function(t,e,n){n.r(e);var r,i,o=n("ba15"),a={name:"Swiper",mixins:[o["a"]],props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1}},data:function(){return{currentSync:Math.round(this.current)||0,currentItemIdSync:this.currentItemId||"",userTracking:!1,currentChangeSource:"",items:[]}},computed:{intervalNumber:function(){var t=Number(this.interval);return isNaN(t)?5e3:t},durationNumber:function(){var t=Number(this.duration);return isNaN(t)?500:t},displayMultipleItemsNumber:function(){var t=Math.round(this.displayMultipleItems);return isNaN(t)?1:t},slidesStyle:function(){var t={};return(this.nextMargin||this.previousMargin)&&(t=this.vertical?{left:0,right:0,top:this._upx2px(this.previousMargin),bottom:this._upx2px(this.nextMargin)}:{top:0,bottom:0,left:this._upx2px(this.previousMargin),right:this._upx2px(this.nextMargin)}),t},slideFrameStyle:function(){var t=Math.abs(100/this.displayMultipleItemsNumber)+"%";return{width:this.vertical?"100%":t,height:this.vertical?t:"100%"}},circularEnabled:function(){return this.circular&&this.items.length>this.displayMultipleItemsNumber}},watch:{vertical:function(){this._resetLayout()},circular:function(){this._resetLayout()},intervalNumber:function(t){this._timer&&(this._cancelSchedule(),this._scheduleAutoplay())},current:function(t){this._currentCheck()},currentSync:function(t){this._currentChanged(t),this.$emit("update:current",t)},currentItemId:function(t){this._currentCheck()},currentItemIdSync:function(t){this.$emit("update:currentItemId",t)},displayMultipleItemsNumber:function(){this._resetLayout()}},created:function(){this._invalid=!0,this._viewportPosition=0,this._viewportMoveRatio=1,this._animating=null,this._requestedAnimation=!1,this._userDirectionChecked=!1,this._contentTrackViewport=0,this._contentTrackSpeed=0,this._contentTrackT=0},mounted:function(){var t=this;this._currentCheck(),this.touchtrack(this.$refs.slidesWrapper,"_handleContentTrack",!0),this._resetLayout(),this.$watch((function(){return t.autoplay&&!t.userTracking}),this._inintAutoplay),this._inintAutoplay(this.autoplay&&!this.userTracking),this.$watch("items.length",this._resetLayout)},beforeDestroy:function(){this._cancelSchedule(),cancelAnimationFrame(this._animationFrame)},methods:{_inintAutoplay:function(t){t?this._scheduleAutoplay():this._cancelSchedule()},_currentCheck:function(){var t=-1;if(this.currentItemId)for(var e=0,n=this.items;e<n.length;e++){var r=n[e].componentInstance;if(r&&r.itemId===this.currentItemId){t=e;break}}t<0&&(t=Math.round(this.current)||0),t=t<0?0:t,this.currentSync!==t&&(this.currentChangeSource="",this.currentSync=t)},_itemReady:function(t,e){t.componentInstance&&t.componentInstance._isMounted?e():(t._callbacks=t._callbacks||[],t._callbacks.push(e))},_currentChanged:function(t){var e=this,n=this.currentChangeSource;this.currentChangeSource="",n||this._animateViewport(t,"",0);var r=this.items[t];r&&this._itemReady(r,(function(){var t=e.currentItemIdSync=r.componentInstance.itemId||"";e.$trigger("change",{},{current:e.currentSync,currentItemId:t,source:n})}))},_scheduleAutoplay:function(){var t=this;function e(){t._timer=null,t.currentChangeSource="autoplay",t.circularEnabled?t.currentSync=t._normalizeCurrentValue(t.currentSync+1):t.currentSync=t.currentSync+t.displayMultipleItemsNumber<t.items.length?t.currentSync+1:0,t._animateViewport(t.currentSync,"autoplay",t.circularEnabled?1:0),t._timer=setTimeout(e,t.intervalNumber)}this._cancelSchedule(),!this._isMounted||this._invalid||this.items.length<=this.displayMultipleItemsNumber||(this._timer=setTimeout(e,this.intervalNumber))},_cancelSchedule:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_normalizeCurrentValue:function(t){var e=this.items.length;if(!e)return-1;var n=(Math.round(t)%e+e)%e;if(this.circularEnabled){if(e<=this.displayMultipleItemsNumber)return 0}else if(n>e-this.displayMultipleItemsNumber)return e-this.displayMultipleItemsNumber;return n},_upx2px:function(t){return/\d+[ur]px$/i.test(t)&&t.replace(/\d+[ur]px$/i,(function(t){return"".concat(uni.upx2px(parseFloat(t)),"px")})),t||""},_resetLayout:function(){if(this._isMounted){this._cancelSchedule(),this._endViewportAnimation();for(var t=this.items,e=0;e<t.length;e++)this._updateItemPos(e,e);if(this._viewportMoveRatio=1,1===this.displayMultipleItemsNumber&&t.length){var n=t[0].componentInstance.$el.getBoundingClientRect(),r=this.$refs.slideFrame.getBoundingClientRect();this._viewportMoveRatio=n.width/r.width,this._viewportMoveRatio>0&&this._viewportMoveRatio<1||(this._viewportMoveRatio=1)}var i=this._viewportPosition;this._viewportPosition=-2;var o=this.currentSync;o>=0?(this._invalid=!1,this.userTracking?(this._updateViewport(i+o-this._contentTrackViewport),this._contentTrackViewport=o):(this._updateViewport(o),this.autoplay&&this._scheduleAutoplay())):(this._invalid=!0,this._updateViewport(-this.displayMultipleItemsNumber-1))}},_checkCircularLayout:function(t){if(!this._invalid)for(var e=this.items,n=e.length,r=t+this.displayMultipleItemsNumber,i=0;i<n;i++){var o=e[i],a=o._position,s=Math.floor(t/n)*n+i,c=s+n,u=s-n,l=Math.max(t-(s+1),s-r,0),f=Math.max(t-(c+1),c-r,0),h=Math.max(t-(u+1),u-r,0),d=Math.min(l,f,h),p=[s,c,u][[l,f,h].indexOf(d)];a!==p&&this._updateItemPos(i,p)}},_updateItemPos:function(t,e){var n=this.vertical?"0":100*e+"%",r=this.vertical?100*e+"%":"0",i="translate("+n+", "+r+") translateZ(0)",o=this.items[t];this._itemReady(o,(function(){var t=o.componentInstance.$el;t.style["-webkit-transform"]=i,t.style.transform=i,t._position=e}))},_updateViewport:function(t){Math.floor(2*this._viewportPosition)===Math.floor(2*t)&&Math.ceil(2*this._viewportPosition)===Math.ceil(2*t)||this.circularEnabled&&this._checkCircularLayout(t);var e=this.vertical?"0":100*-t*this._viewportMoveRatio+"%",n=this.vertical?100*-t*this._viewportMoveRatio+"%":"0",r="translate("+e+", "+n+") translateZ(0)",i=this.$refs.slideFrame;if(i&&(i.style["-webkit-transform"]=r,i.style.transform=r),this._viewportPosition=t,!this._transitionStart){if(t%1===0)return;this._transitionStart=t}t-=Math.floor(this._transitionStart),t<=-(this.items.length-1)?t+=this.items.length:t>=this.items.length&&(t-=this.items.length),t=this._transitionStart%1>.5||this._transitionStart<0?t-1:t,this.$trigger("transition",{},{dx:this.vertical?0:t*i.offsetWidth,dy:this.vertical?t*i.offsetHeight:0})},_animateFrameFuncProto:function(){var t=this;if(this._animating){var e=this._animating,n=e.toPos,r=e.acc,i=e.endTime,o=e.source,a=i-Date.now();if(a<=0){this._updateViewport(n),this._animating=null,this._requestedAnimation=!1,this._transitionStart=null;var s=this.items[this.currentSync];s&&this._itemReady(s,(function(){var e=s.componentInstance.itemId||"";t.$trigger("animationfinish",{},{current:t.currentSync,currentItemId:e,source:o})}))}else{var c=r*a*a/2,u=n+c;this._updateViewport(u),this._animationFrame=requestAnimationFrame(this._animateFrameFuncProto.bind(this))}}else this._requestedAnimation=!1},_animateViewport:function(t,e,n){this._cancelViewportAnimation();var r=this.durationNumber,i=this.items.length,o=this._viewportPosition;if(this.circularEnabled)if(n<0){for(;o<t;)o+=i;for(;o-i>t;)o-=i}else if(n>0){for(;o>t;)o-=i;for(;o+i<t;)o+=i}else{for(;o+i<t;)o+=i;for(;o-i>t;)o-=i;o+i-t<t-o&&(o+=i)}this._animating={toPos:t,acc:2*(o-t)/(r*r),endTime:Date.now()+r,source:e},this._requestedAnimation||(this._requestedAnimation=!0,this._animationFrame=requestAnimationFrame(this._animateFrameFuncProto.bind(this)))},_cancelViewportAnimation:function(){this._animating=null},_endViewportAnimation:function(){this._animating&&(this._updateViewport(this._animating.toPos),this._animating=null)},_handleTrackStart:function(){this._cancelSchedule(),this._contentTrackViewport=this._viewportPosition,this._contentTrackSpeed=0,this._contentTrackT=Date.now(),this._cancelViewportAnimation()},_handleTrackMove:function(t){var e=this,n=this._contentTrackT;this._contentTrackT=Date.now();var r=this.items.length,i=r-this.displayMultipleItemsNumber;function o(t){return.5-.25/(t+.5)}function a(t,n){var r=e._contentTrackViewport+t;e._contentTrackSpeed=.6*e._contentTrackSpeed+.4*n,e.circularEnabled||(r<0||r>i)&&(r<0?r=-o(-r):r>i&&(r=i+o(r-i)),e._contentTrackSpeed=0),e._updateViewport(r)}var s=this._contentTrackT-n||1;this.vertical?a(-t.dy/this.$refs.slideFrame.offsetHeight,-t.ddy/s):a(-t.dx/this.$refs.slideFrame.offsetWidth,-t.ddx/s)},_handleTrackEnd:function(t){this.userTracking=!1;var e=this._contentTrackSpeed/Math.abs(this._contentTrackSpeed),n=0;!t&&Math.abs(this._contentTrackSpeed)>.2&&(n=.5*e);var r=this._normalizeCurrentValue(this._viewportPosition+n);t?this._updateViewport(this._contentTrackViewport):(this.currentChangeSource="touch",this.currentSync=r,this._animateViewport(r,"touch",0!==n?n:0===r&&this.circularEnabled&&this._viewportPosition>=1?1:0))},_handleContentTrack:function(t){if(!this.disableTouch&&!this._invalid){if("start"===t.detail.state)return this.userTracking=!0,this._userDirectionChecked=!1,this._handleTrackStart();if("end"===t.detail.state)return this._handleTrackEnd(!1);if("cancel"===t.detail.state)return this._handleTrackEnd(!0);if(this.userTracking){if(!this._userDirectionChecked){this._userDirectionChecked=!0;var e=Math.abs(t.detail.dx),n=Math.abs(t.detail.dy);if((e>=n&&this.vertical||e<=n&&!this.vertical)&&(this.userTracking=!1),!this.userTracking)return void(this.autoplay&&this._scheduleAutoplay())}return this._handleTrackMove(t.detail),!1}}}},render:function(t){var e=this,n=[],r=[];this.$slots.default&&this.$slots.default.forEach((function(t){t.componentOptions&&"v-uni-swiper-item"===t.componentOptions.tag&&r.push(t)}));for(var i=function(r,i){var o=e.currentSync;n.push(t("div",{on:{click:function(){e._animateViewport(e.currentSync=r,e.currentChangeSource="click",e.circularEnabled?1:0)}},class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":r<o+e.displayMultipleItemsNumber&&r>=o||r<o+e.displayMultipleItemsNumber-i},style:{background:r===o?e.indicatorActiveColor:e.indicatorColor}}))},o=0,a=r.length;o<a;o++)i(o,a);this.items=r;var s=[t("div",{ref:"slides",style:this.slidesStyle,class:"uni-swiper-slides"},[t("div",{ref:"slideFrame",class:"uni-swiper-slide-frame",style:this.slideFrameStyle},r)])];return this.indicatorDots&&s.push(t("div",{ref:"slidesDots",class:["uni-swiper-dots",this.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},n)),t("uni-swiper",{on:this.$listeners},[t("div",{ref:"slidesWrapper",class:"uni-swiper-wrapper"},s)])}},s=a,c=(n("1c64"),n("2877")),u=Object(c["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},5621:function(t,e,n){n.r(e),n.d(e,"setTabBarItem",(function(){return o})),n.d(e,"setTabBarStyle",(function(){return a})),n.d(e,"hideTabBar",(function(){return s})),n.d(e,"showTabBar",(function(){return c})),n.d(e,"hideTabBarRedDot",(function(){return u})),n.d(e,"showTabBarRedDot",(function(){return l})),n.d(e,"removeTabBarBadge",(function(){return f})),n.d(e,"setTabBarBadge",(function(){return h}));var r=n("f2b3"),i={type:Number,required:!0},o={index:i,text:{type:String},iconPath:{type:String},selectedIconPath:{type:String}},a={color:{type:String},selectedColor:{type:String},backgroundColor:{type:String},borderStyle:{type:String,validator:function(t,e){t&&(e.borderStyle="black"===t?"black":"white")}}},s={animation:{type:Boolean,default:!1}},c={animation:{type:Boolean,default:!1}},u={index:i},l={index:i},f={index:i},h={index:i,text:{type:String,required:!0,validator:function(t,e){Object(r["d"])(t)>=4&&(e.text="...")}}}},5676:function(t,e,n){var r=n("c33a"),i=n.n(r);i.a},"56e9":function(t,e,n){n.r(e),function(t){function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"showModal",(function(){return s})),n.d(e,"showToast",(function(){return c})),n.d(e,"hideToast",(function(){return u})),n.d(e,"showLoading",(function(){return l})),n.d(e,"hideLoading",(function(){return f})),n.d(e,"showActionSheet",(function(){return h}));var i=t,o=i.emit,a=i.invokeCallbackHandler;function s(t,e){o("onShowModal",t,(function(t){a(e,r({},t,!0))}))}function c(t){return o("onShowToast",t),{}}function u(){return o("onHideToast"),{}}function l(t){return o("onShowLoading",t),{}}function f(){return o("onHideLoading"),{}}function h(t,e){o("onShowActionSheet",t,(function(t){a(e,-1===t?{errMsg:"showActionSheet:fail cancel"}:{tapIndex:t})}))}}.call(this,n("0dd1"))},5727:function(t,e,n){var r=n("28da"),i=n.n(r);i.a},5768:function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-textarea",t._g({on:{change:function(t){t.stopPropagation()}}},t.$listeners),[n("div",{staticClass:"uni-textarea-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!(t.composition||t.valueSync.length),expression:"!(composition||valueSync.length)"}],ref:"placeholder",staticClass:"uni-textarea-placeholder",class:t.placeholderClass,style:t.placeholderStyle},[t._v(t._s(t.placeholder))]),n("div",{ref:"line",staticClass:"uni-textarea-line"}),n("div",{staticClass:"uni-textarea-compute"},[t._l(t.valueCompute,(function(e,r){return n("div",{key:r},[t._v(t._s(e.trim()?e:"."))])})),n("v-uni-resize-sensor",{ref:"sensor",on:{resize:t._resize}})],2),n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.valueSync,expression:"valueSync"}],ref:"textarea",staticClass:"uni-textarea-textarea",class:{"uni-textarea-textarea-ios":t.isIOS},style:{"overflow-y":t.autoHeight?"hidden":"auto"},attrs:{disabled:t.disabled,maxlength:t.maxlengthNumber,autofocus:t.autoFocus},domProps:{value:t.valueSync},on:{compositionstart:t._compositionstart,compositionend:t._compositionend,input:[function(e){e.target.composing||(t.valueSync=e.target.value)},function(e){return e.stopPropagation(),t._input(e)}],focus:t._focus,blur:t._blur,"&touchstart":function(e){return t._touchstart(e)}}})])])},i=[],o=n("8af1"),a={name:"Textarea",mixins:[o["a"],o["d"]],model:{prop:"value",event:"update:value"},props:{name:{type:String,default:""},value:{type:[String,Number],default:""},maxlength:{type:[Number,String],default:140},placeholder:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},placeholderClass:{type:String,default:""},placeholderStyle:{type:String,default:""},autoHeight:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1}},data:function(){return{valueSync:String(this.value),valueComposition:"",composition:!1,focusSync:this.focus,height:0,focusChangeSource:"",isIOS:0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&String(navigator.appVersion).split("OS ")[1].split("_")[0]<13}},computed:{maxlengthNumber:function(){var t=Number(this.maxlength);return isNaN(t)?140:t},cursorNumber:function(){var t=Number(this.cursor);return isNaN(t)?-1:t},selectionStartNumber:function(){var t=Number(this.selectionStart);return isNaN(t)?-1:t},selectionEndNumber:function(){var t=Number(this.selectionEnd);return isNaN(t)?-1:t},valueCompute:function(){return(this.composition?this.valueComposition:this.valueSync).split("\n")}},watch:{value:function(t){this.valueSync=String(t)},valueSync:function(t){t!==this._oldValue&&(this._oldValue=t,this.$trigger("input",{},{value:t,cursor:this.$refs.textarea.selectionEnd}),this.$emit("update:value",t))},focus:function(t){t?(this.focusChangeSource="focus",this.$refs.textarea&&this.$refs.textarea.focus()):this.$refs.textarea&&this.$refs.textarea.blur()},focusSync:function(t){this.$emit("update:focus",t),this._checkSelection(),this._checkCursor()},cursorNumber:function(){this._checkCursor()},selectionStartNumber:function(){this._checkSelection()},selectionEndNumber:function(){this._checkSelection()},height:function(t){var e=parseFloat(getComputedStyle(this.$el).lineHeight);isNaN(e)&&(e=this.$refs.line.offsetHeight);var n=Math.round(t/e);this.$trigger("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:n}),this.autoHeight&&(this.$el.style.height=this.height+"px")}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){this._oldValue=this.$refs.textarea.value=this.valueSync,this._resize({height:this.$refs.sensor.$el.offsetHeight}),this.initKeyboard(this.$refs.textarea)},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_focus:function(t){this.focusSync=!0,this.$trigger("focus",t,{value:this.valueSync})},_checkSelection:function(){this.focusSync&&!this.focusChangeSource&&this.selectionStartNumber>-1&&this.selectionEndNumber>-1&&(this.$refs.textarea.selectionStart=this.selectionStartNumber,this.$refs.textarea.selectionEnd=this.selectionEndNumber)},_checkCursor:function(){this.focusSync&&("focus"===this.focusChangeSource||!this.focusChangeSource&&this.selectionStartNumber<0&&this.selectionEndNumber<0)&&this.cursorNumber>-1&&(this.$refs.textarea.selectionEnd=this.$refs.textarea.selectionStart=this.cursorNumber)},_blur:function(t){this.focusSync=!1,this.$trigger("blur",t,{value:this.valueSync,cursor:this.$refs.textarea.selectionEnd})},_compositionstart:function(t){this.composition=!0},_compositionend:function(t){this.composition=!1},_confirm:function(t){this.$trigger("confirm",t,{value:this.valueSync})},_linechange:function(t){this.$trigger("linechange",t,{value:this.valueSync})},_touchstart:function(){this.focusChangeSource="touch"},_resize:function(t){var e=t.height;this.height=e},_input:function(t){this.composition&&(this.valueComposition=t.target.value)},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){this.valueSync=""}}},s=a,c=(n("9400"),n("2877")),u=Object(c["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},5881:function(t,e,n){(function(t){var n={ensp:" ",emsp:" ",nbsp:" "};e["a"]={name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},methods:{_decodeHtml:function(t){return this.space&&n[this.space]&&(t=t.replace(/ /g,n[this.space])),this.decode&&(t=t.replace(/&nbsp;/g,n.nbsp).replace(/&ensp;/g,n.ensp).replace(/&emsp;/g,n.emsp).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&apos;/g,"'")),t}},render:function(e){var n=this,r=[];return this.$slots.default&&this.$slots.default.forEach((function(i){if(i.text){var o=i.text.replace(/\\n/g,"\n"),a=o.split("\n");a.forEach((function(t,i){r.push(n._decodeHtml(t)),i!==a.length-1&&r.push(e("br"))}))}else i.componentOptions&&"v-uni-text"!==i.componentOptions.tag&&t.warn("<text> 组件内只支持嵌套 <text>,不支持其它组件或自定义组件,否则会引发在不同平台的渲染差异。"),r.push(i)})),e("uni-text",{on:this.$listeners,attrs:{selectable:!!this.selectable}},[e("span",{},r)])}}}).call(this,n("3ad9")["default"])},"594d":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-map",t._g({attrs:{id:t.id}},t.$listeners),[n("div",{ref:"map",staticStyle:{width:"100%",height:"100%",position:"relative",overflow:"hidden"}}),n("div",{staticStyle:{position:"absolute",top:"0",width:"100%",height:"100%",overflow:"hidden","pointer-events":"none"}},[t._t("default")],2)])},i=[],o=n("738e"),a=o["a"],s=(n("3f7e"),n("2877")),c=Object(s["a"])(a,r,i,!1,null,null,null);e["default"]=c.exports},5964:function(t,e,n){function r(t,e){var n=getCurrentPages();if(n.length){var r=n[n.length-1].$holder;switch(t){case"setNavigationBarColor":var i=e.frontColor,o=e.backgroundColor,a=e.animation,s=a.duration,c=a.timingFunc;i&&(r.navigationBar.textColor="#000000"===i?"black":"white","undefined"!==typeof qh&&qh.setNavigationBarTextStyle({textStyle:r.navigationBar.textColor})),o&&(r.navigationBar.backgroundColor=o,"undefined"!==typeof qh&&qh.setNavigationBarColor({backgroundColor:o})),r.navigationBar.duration=s+"ms",r.navigationBar.timingFunc=c;break;case"showNavigationBarLoading":r.navigationBar.loading=!0;break;case"hideNavigationBarLoading":r.navigationBar.loading=!1;break;case"setNavigationBarTitle":var u=e.title;r.navigationBar.titleText=u,document.title=u,"undefined"!==typeof qh&&qh.setNavigationBarTitle({title:document.title});break}}return{}}function i(t){return r("setNavigationBarColor",t)}function o(){return r("showNavigationBarLoading")}function a(){return r("hideNavigationBarLoading")}function s(t){return r("setNavigationBarTitle",t)}n.r(e),n.d(e,"setNavigationBarColor",(function(){return i})),n.d(e,"showNavigationBarLoading",(function(){return o})),n.d(e,"hideNavigationBarLoading",(function(){return a})),n.d(e,"setNavigationBarTitle",(function(){return s}))},"5a23":function(t,e,n){(function(t){var r=n("f2b3");function i(){document.activeElement.blur()}function o(){}e["a"]={name:"Keyboard",props:{cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:Boolean,default:!0}},watch:{focus:function(t){t&&this.showSoftKeybord()}},mounted:function(){(this.autoFocus||this.focus)&&this.showSoftKeybord()},beforeDestroy:function(){this.onKeyboardHide()},methods:{initKeyboard:function(e){var n=this;e.addEventListener("focus",(function(){t.subscribe("hideKeyboard",i),document.addEventListener("click",o,!1),n.setSoftinputNavBar(),n.setSoftinputTemporary()})),e.addEventListener("blur",this.onKeyboardHide.bind(this))},showSoftKeybord:function(){Object(r["j"])((function(){plus.key.showSoftKeybord()}))},setSoftinputTemporary:function(){var t=this;Object(r["j"])((function(){var e=plus.webview.currentWebview(),n=e.getStyle()||{};if("adjustResize"!==n.softinputMode){var r=t.$el.getBoundingClientRect();e.setSoftinputTemporary&&e.setSoftinputTemporary({mode:t.adjustPosition?"adjustPan":"nothing",position:{top:r.top,height:r.height+(Number(t.cursorSpacing)||0)}})}}))},setSoftinputNavBar:function(){var t=this;"auto"!==this.showConfirmBar?Object(r["j"])((function(){var e=plus.webview.currentWebview(),n=e.getStyle()||{},r=n.softinputNavBar,i="none"!==r;i!==t.showConfirmBar?(t.__softinputNavBar=r||"auto",e.setStyle({softinputNavBar:t.showConfirmBar?"auto":"none"})):delete t.__softinputNavBar})):delete this.__softinputNavBar},resetSoftinputNavBar:function(){var t=this.__softinputNavBar;t&&Object(r["j"])((function(){var e=plus.webview.currentWebview();e.setStyle({softinputNavBar:t})}))},onKeyboardHide:function(){t.unsubscribe("hideKeyboard",i),document.removeEventListener("click",o,!1),this.resetSoftinputNavBar()}}}}).call(this,n("501c"))},"5a56":function(t,e,n){n.r(e),e["default"]={methods:{beforeTransition:function(){},afterTransition:function(){}}}},"5ab3":function(t,e,n){var r=n("b2bb"),i=n.n(r);i.a},"5abe":function(t,e){(function(){if("object"===("undefined"===typeof window?"undefined":(0,i.default)(window)))if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document,e=[];r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r.prototype.observe=function(t){var e=this._observationTargets.some((function(e){return e.element==t}));if(!e){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},r.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},r.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},r.prototype._parseRootMargin=function(t){var e=t||"0px",n=e.split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},r.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(s(window,"resize",this._checkForIntersections,!0),s(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},r.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,c(window,"resize",this._checkForIntersections,!0),c(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},r.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():f();this._observationTargets.forEach((function(r){var i=r.element,a=l(i),s=this._rootContainsTarget(i),c=r.entry,u=t&&s&&this._computeTargetAndRootIntersection(i,e),f=r.entry=new n({time:o(),target:i,boundingClientRect:a,rootBounds:e,intersectionRect:u});c?t&&s?this._hasCrossedThreshold(c,f)&&this._queuedEntries.push(f):c&&c.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(e,n){if("none"!=window.getComputedStyle(e).display){var r=l(e),i=r,o=d(e),a=!1;while(!a){var s=null,c=1==o.nodeType?window.getComputedStyle(o):{};if("none"==c.display)return;if(o==this.root||o==t?(a=!0,s=n):o!=t.body&&o!=t.documentElement&&"visible"!=c.overflow&&(s=l(o)),s&&(i=u(s,i),!i))break;o=d(o)}return i}},r.prototype._getRootRect=function(){var e;if(this.root)e=l(this.root);else{var n=t.documentElement,r=t.body;e={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)},r.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},r.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var o=this.thresholds[i];if(o==n||o==r||o<n!==o<r)return!0}},r.prototype._rootIsInDom=function(){return!this.root||h(t,this.root)},r.prototype._rootContainsTarget=function(e){return h(this.root||t,e)},r.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},r.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=r,window.IntersectionObserverEntry=n}function n(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||f(),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,r=this.intersectionRect,i=r.width*r.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function r(t,e){var n=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=a(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" ")}function o(){return window.performance&&performance.now&&performance.now()}function a(t,e){var n=null;return function(){n||(n=setTimeout((function(){t(),n=null}),e))}}function s(t,e,n,r){"function"==typeof t.addEventListener?t.addEventListener(e,n,r||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function c(t,e,n,r){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,r||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function u(t,e){var n=Math.max(t.top,e.top),r=Math.min(t.bottom,e.bottom),i=Math.max(t.left,e.left),o=Math.min(t.right,e.right),a=o-i,s=r-n;return a>=0&&s>=0&&{top:n,bottom:r,left:i,right:o,width:a,height:s}}function l(t){var e;try{e=t.getBoundingClientRect()}catch(n){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):f()}function f(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function h(t,e){var n=e;while(n){if(n==t)return!0;n=d(n)}return!1}function d(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}})()},"5d1d":function(t,e,n){var r=n("50c5"),i=n.n(r);i.a},"5d70":function(t,e,n){},"5dc1":function(t,e,n){(function(t){n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return c})),n("5abe");var r=n("85b6"),i=n("db8e");function o(t){return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}var a={};function s(e,n){var s=e.reqId,c=e.component,u=e.options,l=getCurrentPages(),f=l.find((function(t){return t.$page.id===n}));if(!f)throw new Error("Not Found:Page[".concat(n,"]"));var h=f.$vm,d=Object(i["a"])(c,h),p=u.relativeToSelector?d.querySelector(u.relativeToSelector):null,v=a[s]=new IntersectionObserver((function(e,n){e.forEach((function(e){t.publishHandler("onRequestComponentObserver",{reqId:s,res:{intersectionRatio:e.intersectionRatio,intersectionRect:o(e.intersectionRect),boundingClientRect:o(e.boundingClientRect),relativeRect:o(e.rootBounds),time:Date.now(),dataset:Object(r["c"])(e.target.dataset||{}),id:e.target.id}},h.$page.id)}))}),{root:p,rootMargin:u.rootMargin,threshold:u.thresholds});u.observeAll?(v.USE_MUTATION_OBSERVER=!0,Array.prototype.map.call(d.querySelectorAll(u.selector),(function(t){v.observe(t)}))):(v.USE_MUTATION_OBSERVER=!1,v.observe(d.querySelector(u.selector)))}function c(e){var n=e.reqId,r=a[n];r&&(r.disconnect(),t.publishHandler("onRequestComponentObserver",{reqId:n,reqEnd:!0}))}}).call(this,n("501c"))},"5dc4":function(t,e,n){},"5ff9":function(t,e,n){n.r(e),n.d(e,"loadFontFace",(function(){return r}));var r={family:{type:String,required:!0},source:{type:String,required:!0},desc:{type:Object,required:!1},success:{type:Function,required:!1},fail:{type:Function,required:!1},complete:{type:Function,required:!1}}},6062:function(t,e,n){var r=n("ef36"),i=n.n(r);i.a},"60db":function(t,e,n){n.r(e),function(t){n.d(e,"EditorContext",(function(){return u}));var r=n("f2b3");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function s(e,n,r,i){t.publishHandler(n+"-editor-"+e,{componentId:e,type:r,data:i},n)}t.subscribe("onEditorMethodCallback",(function(t){var e=t.callbackId,n=t.data;r["a"].invoke(e,n)}));var c=["insertDivider","insertImage","insertText","setContents","getContents","clear","removeFormat","undo","redo"],u=function(){function t(e,n){i(this,t),this.id=e,this.pageId=n}return a(t,[{key:"format",value:function(t,e){s(this.id,this.pageId,"format",{options:{name:t,value:e}})}}]),t}();c.forEach((function(t){u.prototype[t]=r["a"].warp((function(e,n){s(this.id,this.pageId,t,{options:e,callbackId:n})}))}))}.call(this,n("0dd1"))},"60ee":function(t,e,n){},"61c2":function(t,e,n){var r=n("f2b3"),i=n("8af1");function o(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})}function a(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})}var s={name:"uni://form-field",init:function(t,e){e.constructor.options.props&&e.constructor.options.props.name&&e.constructor.options.props.value||(e.constructor.options.props||(e.constructor.options.props={}),e.constructor.options.props.name||(e.constructor.options.props.name=t.props.name={type:String}),e.constructor.options.props.value||(e.constructor.options.props.value=t.props.value={type:null})),t.propsData||(t.propsData={});var n=e.$vnode;if(n&&n.data&&n.data.attrs&&(Object(r["e"])(n.data.attrs,"name")&&(t.propsData.name=n.data.attrs.name),Object(r["e"])(n.data.attrs,"value")&&(t.propsData.value=n.data.attrs.value)),!e.constructor.options.methods||!e.constructor.options.methods._getFormData){e.constructor.options.methods||(e.constructor.options.methods={}),t.methods||(t.methods={});var s={_getFormData:function(){return this.name?{key:this.name,value:this.value}:{}},_resetFormData:function(){this.value=""}};Object.assign(e.constructor.options.methods,s),Object.assign(t.methods,s),Object.assign(e.constructor.options.methods,i["a"].methods),Object.assign(t.methods,i["a"].methods);var c=t["created"];e.constructor.options["created"]=t["created"]=c?[].concat(o,c):[o];var u=t["beforeDestroy"];e.constructor.options["beforeDestroy"]=t["beforeDestroy"]=u?[].concat(a,u):[a]}}};function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return l}));var u=c({},s.name,s);function l(t,e){t.behaviors.forEach((function(n){var r=u[n];r&&r.init(t,e)}))}},6226:function(t,e,n){var r=n("77d5"),i=n.n(r);i.a},"626d":function(t,e,n){n.r(e),function(t){var r=n("f2b3");e["default"]={data:function(){return{showActionSheet:{visible:!1}}},created:function(){var e=this;t.on("onShowActionSheet",(function(t,n){e.showActionSheet=t,e.onActionSheetCloseCallback=n})),t.on("onHidePopup",(function(t){e.showActionSheet.visible=!1}))},methods:{_onActionSheetClose:function(t){this.showActionSheet.visible=!1,Object(r["g"])(this.onActionSheetCloseCallback)&&this.onActionSheetCloseCallback(t)}}}}.call(this,n("0dd1"))},"62b5":function(t,e,n){n.d(e,"a",(function(){return i}));var r={};function i(t){var e=r[t];return e||(e={id:1,callbacks:Object.create(null)},r[t]=e),{get:function(t){return e.callbacks[t]},pop:function(t){var n=e.callbacks[t];return n&&delete e.callbacks[t],n},push:function(t){var n=e.id++;return e.callbacks[n]=t,n}}}},6389:function(e,n){e.exports=t},6428:function(t,e,n){var r=n("f756"),i=n.n(r);i.a},6481:function(t,e,n){n.r(e),n.d(e,"base64ToArrayBuffer",(function(){return r})),n.d(e,"arrayBufferToBase64",(function(){return i}));var r=[{name:"base64",type:String,required:!0}],i=[{name:"arrayBuffer",type:[ArrayBuffer,Uint8Array],required:!0}]},6491:function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-radio",t._g({attrs:{disabled:t.disabled},on:{click:t._onClick}},t.$listeners),[n("div",{staticClass:"uni-radio-wrapper"},[n("div",{staticClass:"uni-radio-input",class:t.radioChecked?"uni-radio-input-checked":"",style:t.radioChecked?t.checkedStyle:""}),t._t("default")],2)])},i=[],o=n("8af1"),a={name:"Radio",mixins:[o["a"],o["e"]],props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007AFF"},value:{type:String,default:""}},data:function(){return{radioChecked:this.checked,radioValue:this.value}},computed:{checkedStyle:function(){return"background-color: ".concat(this.color,";border-color: ").concat(this.color,";")}},watch:{checked:function(t){this.radioChecked=t},value:function(t){this.radioValue=t}},listeners:{"label-click":"_onClick","@label-click":"_onClick"},created:function(){this.$dispatch("RadioGroup","uni-radio-group-update",{type:"add",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("RadioGroup","uni-radio-group-update",{type:"remove",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onClick:function(t){this.disabled||this.radioChecked||(this.radioChecked=!0,this.$dispatch("RadioGroup","uni-radio-change",t,this))},_resetFormData:function(){this.radioChecked=this.min}}},s=a,c=(n("c96e"),n("2877")),u=Object(c["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},"64d0":function(t,e,n){var r=n("c0e5"),i=n.n(r);i.a},6575:function(t,e,n){n.r(e),function(t){function r(e,n){var r=e.latitude,i=e.longitude,o=e.scale,a=e.name,s=e.address,c=t,u=c.invokeCallbackHandler;getApp().$router.push({type:"navigateTo",path:"/open-location",query:{latitude:r,longitude:i,scale:o,name:a,address:s}},(function(){u(n,{errMsg:"openLocation:ok"})}),(function(){u(n,{errMsg:"openLocation:fail"})}))}n.d(e,"openLocation",(function(){return r}))}.call(this,n("0dd1"))},"65a8":function(t,e,n){n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=44,i=50},6730:function(t,e,n){var r=n("00b2"),i=n.n(r);i.a},"69c3":function(t,e,n){},"6bdf":function(t,e,n){(function(t){n.d(e,"a",(function(){return u}));var r=n("85b6"),i=n("a470"),o=n("db8e");function a(t){var e={};return t.id&&(e.id=""),t.dataset&&(e.dataset={}),t.rect&&(e.left=0,e.right=0,e.top=0,e.bottom=0),t.size&&(e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight),t.scrollOffset&&(e.scrollLeft=document.documentElement.scrollLeft||document.body.scrollLeft||0,e.scrollTop=document.documentElement.scrollTop||document.body.scrollTop||0),e}function s(t,e){var n={},o=Object(i["a"])(),a=o.top;if(e.id&&(n.id=t.id),e.dataset&&(n.dataset=Object(r["c"])(t.dataset||{})),e.rect||e.size){var s=t.getBoundingClientRect();e.rect&&(n.left=s.left,n.right=s.right,n.top=s.top-a,n.bottom=s.bottom-a),e.size&&(n.width=s.width,n.height=s.height)}return e.properties&&e.properties.forEach((function(t){t=t.replace(/-([a-z])/g,(function(t,e){return e.toUpperCase()}))})),e.scrollOffset&&("UNI-SCROLL-VIEW"===t.tagName&&t.__vue__&&t.__vue__.getScrollPosition?Object.assign(n,t.__vue__.getScrollPosition()):(n.scrollLeft=0,n.scrollTop=0)),e.context&&t.__vue__&&t.__vue__._getContextInfo&&(n.context=t.__vue__._getContextInfo()),n}function c(t,e,n,r,i){var a=Object(o["a"])(e,t);if(!a||a&&8===a.nodeType)return r?null:[];if(r){var c=a.matches(n)?a:a.querySelector(n);return c?s(c,i):null}var u=[],l=a.querySelectorAll(n);return l&&l.length&&(u=[].map.call(l,(function(t){return s(t,i)}))),a.matches(n)&&u.unshift(s(a,i)),u}function u(e,n){var r=e.reqId,i=e.reqs,o=getCurrentPages(),s=o.find((function(t){return t.$page.id===n}));if(!s)throw new Error("Not Found:Page[".concat(n,"]"));var u=s.$vm,l=[];i.forEach((function(t){var e=t.component,n=t.selector,r=t.single,i=t.fields;0===e?l.push(a(i)):l.push(c(u,e,n,r,i))})),t.publishHandler("onRequestComponentInfo",{reqId:r,res:l},u.$page.id)}}).call(this,n("501c"))},"6e0c":function(t,e,n){n.r(e),n.d(e,"$on",(function(){return s})),n.d(e,"$off",(function(){return c})),n.d(e,"$once",(function(){return u})),n.d(e,"$emit",(function(){return l}));var r=n("8bbf"),i=n.n(r),o=new i.a;function a(t,e,n){return t[e].apply(t,n)}function s(){return a(o,"$on",Array.prototype.slice.call(arguments))}function c(){return a(o,"$off",Array.prototype.slice.call(arguments))}function u(){return a(o,"$once",Array.prototype.slice.call(arguments))}function l(){return a(o,"$emit",Array.prototype.slice.call(arguments))}},"6fa7":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-picker",t._g({attrs:{disabled:t.disabled},on:{click:function(e){return e.stopPropagation(),t._show(e)}}},t.$listeners),[n("div",{ref:"picker",staticClass:"uni-picker-container",on:{touchmove:function(t){t.preventDefault()}}},[n("transition",{attrs:{name:"uni-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"uni-mask",on:{click:t._cancel}})]),n("div",{staticClass:"uni-picker",class:{"uni-picker-toggle":t.visible}},[n("div",{staticClass:"uni-picker-header",on:{click:function(t){t.stopPropagation()}}},[n("div",{staticClass:"uni-picker-action uni-picker-action-cancel",on:{click:t._cancel}},[t._v("取消")]),n("div",{staticClass:"uni-picker-action uni-picker-action-confirm",on:{click:t._change}},[t._v("确定")])]),t.visible?n("v-uni-picker-view",{staticClass:"uni-picker-content",attrs:{value:t.valueArray},on:{"update:value":function(e){t.valueArray=e}}},t._l(t.rangeArray,(function(e,r){return n("v-uni-picker-view-column",{key:r},t._l(e,(function(e,o){return n("div",{key:o,staticClass:"uni-picker-item"},[t._v(t._s("object"===(0,i.default)(e)?e[t.rangeKey]||"":e)+t._s(t.units[r]||""))])})),0)})),1):t._e()],1)],1),n("div",[t._t("default")],2)])},o=[],a=n("8af1"),s=n("f2b3");function c(t){return f(t)||l(t)||u()}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function l(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function f(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function h(t){return h="function"===typeof Symbol&&"symbol"===(0,i.default)(Symbol.iterator)?function(t){return(0,i.default)(t)}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":(0,i.default)(t)},h(t)}function d(){if(this.mode===v.TIME)return"00:00";if(this.mode===v.DATE){var t=(new Date).getFullYear()-100;switch(this.fields){case g.YEAR:return t;case g.MONTH:return t+"-01";case g.DAY:return t+"-01-01"}}return""}function p(){if(this.mode===v.TIME)return"23:59";if(this.mode===v.DATE){var t=(new Date).getFullYear()+100;switch(this.fields){case g.YEAR:return t;case g.MONTH:return t+"-12";case g.DAY:return t+"-12-31"}}return""}var v={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},g={YEAR:"year",MONTH:"month",DAY:"day"},m={name:"Picker",mixins:[a["a"]],props:{name:{type:String,default:""},range:{type:Array,default:function(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:v.SELECTOR,validator:function(t){return Object.values(v).indexOf(t)>=0}},fields:{type:String,default:"day",validator:function(t){return Object.values(g).indexOf(t)>=0}},start:{type:String,default:d},end:{type:String,default:p},disabled:{type:[Boolean,String],default:!1}},data:function(){return{valueSync:this.value||0,visible:!1,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[]}},computed:{rangeArray:function(){var t=this.range;switch(this.mode){case v.SELECTOR:return[t];case v.MULTISELECTOR:return t;case v.TIME:return this.timeArray;case v.DATE:var e=this.dateArray;switch(this.fields){case g.YEAR:return[e[0]];case g.MONTH:return[e[0],e[1]];case g.DAY:return[e[0],e[1],e[2]]}}},startArray:function(){return this._getDateValueArray(this.start,d.bind(this)())},endArray:function(){return this._getDateValueArray(this.end,p.bind(this)())},units:function(){switch(this.mode){case v.DATE:return["年","月","日"];case v.TIME:return["时","分"];default:return[]}}},watch:{value:function(t){var e=this;Array.isArray(t)?(Array.isArray(this.valueSync)||(this.valueSync=[]),this.valueSync.length=t.length,t.forEach((function(t,n){t!==e.valueSync[n]&&e.$set(e.valueSync,n,t)}))):"object"!==h(t)&&(this.valueSync=t)},valueArray:function(t){var e=this;if(this.mode===v.TIME||this.mode===v.DATE){var n=this.mode===v.TIME?this._getTimeValue:this._getDateValue,r=this.valueArray,i=this.startArray,o=this.endArray;if(this.mode===v.DATE){var a=this.dateArray,s=a[2].length,c=Number(a[2][r[2]])||1,u=new Date("".concat(a[0][r[0]],"/").concat(a[1][r[1]],"/").concat(c)).getDate();u<c&&(r[2]-=u+s-c)}n(r)<n(i)?this._cloneArray(r,i):n(r)>n(o)&&this._cloneArray(r,o)}t.forEach((function(t,n){t!==e.oldValueArray[n]&&(e.oldValueArray[n]=t,e.mode===v.MULTISELECTOR&&e.$trigger("columnchange",{},{column:n,value:t}))}))}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this}),this._createTime(),this._createDate(),this.$watch("valueSync",this._setValue),this.$watch("mode",this._setValue)},beforeDestroy:function(){this.$refs.picker.remove(),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_show:function(){var t=this;if(!this.disabled){this.valueChangeSource="",this._setValue();var e=this.$refs.picker;e.remove(),(document.querySelector("uni-app")||document.body).appendChild(e),e.style.display="block",setTimeout((function(){t.visible=!0}),20)}},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){this.valueSync=0},_createTime:function(){var t=[],e=[];t.splice(0,t.length);for(var n=0;n<24;n++)t.push((n<10?"0":"")+n);e.splice(0,e.length);for(var r=0;r<60;r++)e.push((r<10?"0":"")+r);this.timeArray.push(t,e)},_createDate:function(){for(var t=[],e=(new Date).getFullYear(),n=e-150,r=e+150;n<=r;n++)t.push(String(n));for(var i=[],o=1;o<=12;o++)i.push((o<10?"0":"")+o);for(var a=[],s=1;s<=31;s++)a.push((s<10?"0":"")+s);this.dateArray.push(t,i,a)},_getTimeValue:function(t){return 60*t[0]+t[1]},_getDateValue:function(t){return 366*t[0]+31*(t[1]||0)+(t[2]||0)},_cloneArray:function(t,e){for(var n=0;n<t.length&&n<e.length;n++)t[n]=e[n]},_setValue:function(){var t,e=this.valueSync;switch(this.mode){case v.SELECTOR:t=[e];break;case v.MULTISELECTOR:t=c(e);break;case v.TIME:t=this._getDateValueArray(e,Object(s["c"])({mode:v.TIME}));break;case v.DATE:t=this._getDateValueArray(e,Object(s["c"])({mode:v.DATE}));break}this.oldValueArray=c(t),this.valueArray=c(t)},_getValue:function(){var t=this,e=this.valueArray;switch(this.mode){case v.SELECTOR:return e[0];case v.MULTISELECTOR:return e.map((function(t){return t}));case v.TIME:return this.valueArray.map((function(e,n){return t.timeArray[n][e]})).join(":");case v.DATE:return this.valueArray.map((function(e,n){return t.dateArray[n][e]})).join("-")}},_getDateValueArray:function(t,e){var n=this.mode===v.DATE?"-":":",r=this.mode===v.DATE?this.dateArray:this.timeArray,i=3;switch(this.fields){case g.YEAR:i=1;break;case g.MONTH:i=2;break}for(var o=String(t).split(n),a=[],s=0;s<i;s++){var c=o[s];a.push(r[s].indexOf(c))}return a.indexOf(-1)>=0&&(a=e?this._getDateValueArray(e):a.map((function(){return 0}))),a},_change:function(){this._close(),this.valueChangeSource="click";var t=this._getValue();this.valueSync=Array.isArray(t)?t.map((function(t){return t})):t,this.$trigger("change",{},{value:t})},_cancel:function(){this._close(),this.$trigger("cancel",{},{})},_close:function(){var t=this;this.visible=!1,setTimeout((function(){var e=t.$refs.picker;e.remove(),t.$el.prepend(e),e.style.display="none"}),260)}}},b=m,y=(n("2d89"),n("2877")),_=Object(y["a"])(b,r,o,!1,null,null,null);e["default"]=_.exports},"70bb":function(t,e,n){n.r(e),n.d(e,"openLocation",(function(){return r}));var r={latitude:{type:Number,required:!0},longitude:{type:Number,required:!0},scale:{type:Number,validator:function(t,e){t=Math.floor(t),e.scale=t>=5&&t<=18?t:18},default:18},name:{type:String},address:{type:String}}},"70f4":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-label",t._g({class:{"uni-label-pointer":t.pointer},on:{click:t._onClick}},t.$listeners),[t._t("default")],2)},i=[],o=n("f2ce"),a=o["a"],s=(n("6730"),n("2877")),c=Object(s["a"])(a,r,i,!1,null,null,null);e["default"]=c.exports},7107:function(t,e,n){(function(t){function r(e){var n=e.options,r=e.callbackId,i=n.family,o=n.source,a=n.desc,s=void 0===a?{}:a,c=document.fonts;if(c){var u=new FontFace(i,o,s);u.load().then((function(){c.add(u),t.publishHandler("onLoadFontFaceCallback",{callbackId:r,data:{errMsg:"loadFontFace:ok"}})})).catch((function(e){t.publishHandler("onLoadFontFaceCallback",{callbackId:r,data:{errMsg:"loadFontFace:fail ".concat(e)}})}))}else{var l=document.createElement("style");l.innerText='@font-face{font-family:"'.concat(i,'";src:').concat(o,";font-style:").concat(s.style,";font-weight:").concat(s.weight,";font-stretch:").concat(s.stretch,";unicode-range:").concat(s.unicodeRange,";font-variant:").concat(s.variant,";font-feature-settings:").concat(s.featureSettings,";}"),document.head.appendChild(l),t.publishHandler("onLoadFontFaceCallback",{callbackId:r,data:{errMsg:"loadFontFace:ok"}})}}n.d(e,"a",(function(){return r}))}).call(this,n("501c"))},"72ad":function(t,e,n){},"72b3":function(t,e,n){function r(t,e,n){return t>e-n&&t<e+n}function i(t,e){return r(t,0,e)}function o(t,e,n){this._m=t,this._k=e,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}n.d(e,"a",(function(){return o})),o.prototype._solve=function(t,e){var n=this._c,r=this._m,i=this._k,o=n*n-4*r*i;if(0===o){var a=-n/(2*r),s=t,c=e/(a*t);return{x:function(t){return(s+c*t)*Math.pow(Math.E,a*t)},dx:function(t){var e=Math.pow(Math.E,a*t);return a*(s+c*t)*e+c*e}}}if(o>0){var u=(-n-Math.sqrt(o))/(2*r),l=(-n+Math.sqrt(o))/(2*r),f=(e-u*t)/(l-u),h=t-f;return{x:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),h*e+f*n},dx:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),h*u*e+f*l*n}}}var d=Math.sqrt(4*r*i-n*n)/(2*r),p=-n/2*r,v=t,g=(e-p*t)/d;return{x:function(t){return Math.pow(Math.E,p*t)*(v*Math.cos(d*t)+g*Math.sin(d*t))},dx:function(t){var e=Math.pow(Math.E,p*t),n=Math.cos(d*t),r=Math.sin(d*t);return e*(g*d*n-v*d*r)+p*e*(g*r+v*n)}}},o.prototype.x=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0},o.prototype.dx=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0},o.prototype.setEnd=function(t,e,n){if(n||(n=(new Date).getTime()),t!==this._endPosition||!i(e,.4)){e=e||0;var r=this._endPosition;this._solution&&(i(e,.4)&&(e=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),i(e,.4)&&(e=0),i(r,.4)&&(r=0),r+=this._endPosition),this._solution&&i(r-t,.4)&&i(e,.4)||(this._endPosition=t,this._solution=this._solve(r-this._endPosition,e),this._startTime=n)}},o.prototype.snap=function(t){this._startTime=(new Date).getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}},o.prototype.done=function(t){return t||(t=(new Date).getTime()),r(this.x(),this._endPosition,.4)&&i(this.dx(),.4)},o.prototype.reconfigure=function(t,e,n){this._m=t,this._k=e,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},o.prototype.springConstant=function(){return this._k},o.prototype.damping=function(){return this._c},o.prototype.configuration=function(){function t(t,e){t.reconfigure(1,e,t.damping())}function e(t,e){t.reconfigure(1,t.springConstant(),e)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:e.bind(this,this),min:1,max:500}]}},"738e":function(t,e,n){(function(t){var r,i=n("8af1"),o=n("f2b3");e["a"]={name:"Map",mixins:[i["f"]],props:{id:{type:String,default:""},latitude:{type:[String,Number],default:39.92},longitude:{type:[String,Number],default:116.46},scale:{type:[String,Number],default:16},markers:{type:Array,default:function(){return[]}},covers:{type:Array,default:function(){return[]}},includePoints:{type:Array,default:function(){return[]}},polyline:{type:Array,default:function(){return[]}},circles:{type:Array,default:function(){return[]}},controls:{type:Array,default:function(){return[]}},showLocation:{type:[Boolean,String],default:!1}},data:function(){return{center:{latitude:116.46,longitude:116.46},isMapReady:!1,isBoundsReady:!1,markersSync:[],polylineSync:[],circlesSync:[],controlsSync:[]}},watch:{latitude:function(){this.centerChange()},longitude:function(){this.centerChange()},scale:function(t){var e=this;this.mapReady((function(){e._map.setZoom(Number(t)||16)}))},markers:function(t,e){var n=this;this.mapReady((function(){var r=[],i=[],o=[],a=[],s=[];t.forEach((function(t){if("id"in t){for(var n=!1,s=0;s<e.length;s++){var c=e[s];"id"in c?c.id===t.id&&(n=!0,i.push(c.id),JSON.stringify(c)!==JSON.stringify(t)&&(o.push(c.id),a.push(t)),e.splice(s--,1)):e.splice(s--,1)}n||r.push(t)}else r.push(t)}));var c=n.markersSync;c.forEach((function(t){var e,r=t.id;i.indexOf(r)>=0?(e=o.indexOf(r))>=0&&n.changeMarker(t,a[e]):s.push(t)})),n.removeMarkers(s),n.createMarkers(r)}))},polyline:function(t){var e=this;this.mapReady((function(){e.createPolyline()}))},circles:function(){var t=this;this.mapReady((function(){t.createCircles()}))},controls:function(){var t=this;this.mapReady((function(){t.createControls()}))},includePoints:function(){var t=this;this.mapReady((function(){t.fitBounds(t.includePoints)}))},showLocation:function(t){var e=this;this.mapReady((function(){e[t?"createLocation":"removeLocation"]()}))}},created:function(){var t=this.latitude,e=this.longitude;t&&e&&(this.center.latitude=t,this.center.longitude=e)},mounted:function(){var t=this;this.loadMap((function(){t.init()}))},beforeDestroy:function(){this.removeMarkers(this.markersSync),this.removePolyline(),this.removeCircles(),this.removeControls(),this.removeLocation()},methods:{_handleSubscribe:function(t){var e=this,n=t.type,i=t.data,o=void 0===i?{}:i;function a(t,e){t=t||{},t.errMsg="".concat(n,":").concat(e?"fail"+e:"ok");var r=e?o.fail:o.success;"function"===typeof r&&r(t),"function"===typeof o.complete&&o.complete(t)}switch(n){case"getCenterLocation":this.mapReady((function(){var t,n,r=e._map.getCenter();t=r.getLat(),n=r.getLng(),a({latitude:t,longitude:n})}));break;case"moveToLocation":var s=this._locationPosition;s&&this._map.setCenter(s);break;case"translateMarker":this.mapReady((function(){try{var t=e.getMarker(o.markerId),n=o.destination,i=o.duration,s=!!o.autoRotate,c=Number(o.rotate)?o.rotate:0,u=t.getRotation(),l=t.getPosition(),f=new r.LatLng(n.latitude,n.longitude),h=r.geometry.spherical.computeDistanceBetween(l,f)/1e3,d=("number"===typeof i?i:1e3)/36e5,p=h/d,v=r.event.addListener(t,"moving",(function(e){var n=e.latLng,r=t.label;r&&r.setPosition(n);var i=t.callout;i&&i.setPosition(n)})),g=r.event.addListener(t,"moveend",(function(e){g.remove(),v.remove(),t.lastPosition=l,t.setPosition(f);var n=t.label;n&&n.setPosition(f);var r=t.callout;r&&r.setPosition(f);var i=o.animationEnd;"function"===typeof i&&i()})),m=0;s&&(t.lastPosition&&(m=r.geometry.spherical.computeHeading(t.lastPosition,l)),c=r.geometry.spherical.computeHeading(l,f)-m),t.setRotation(u+c),t.moveTo(f,p)}catch(b){a(null,b)}}));break;case"includePoints":this.fitBounds(o.points);break;case"getRegion":this.boundsReady((function(){var t=e._map.getBounds(),n=t.getSouthWest(),r=t.getNorthEast();a({southwest:{latitude:n.getLat(),longitude:n.getLng()},northeast:{latitude:r.getLat(),longitude:r.getLng()}})}));break;case"getScale":this.mapReady((function(){a({scale:Number(e.scale)})}));break}},init:function(){var t=this,e=new r.LatLng(this.center.latitude,this.center.longitude),n=this._map=new r.Map(this.$refs.map,{center:e,zoom:Number(this.scale),scrollwheel:!1,disableDoubleClickZoom:!0,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,minZoom:5,maxZoom:18,draggable:!0}),i=r.event.addListener(n,"bounds_changed",(function(e){i.remove(),t.isBoundsReady=!0,t.$emit("boundsready")}));r.event.addListener(n,"click",(function(){t.$trigger("click",{},{})})),r.event.addListener(n,"dragstart",(function(){t.$trigger("regionchange",{},{type:"begin"})})),r.event.addListener(n,"dragend",(function(){t.$trigger("regionchange",{},{type:"end"})})),r.event.addListener(n,"zoom_changed",(function(){t.$emit("update:scale",n.getZoom())})),r.event.addListener(n,"center_changed",(function(){var e,r,i=n.getCenter();e=i.getLat(),r=i.getLng(),t.$emit("update:latitude",e),t.$emit("update:longitude",r)})),this.markers&&Array.isArray(this.markers)&&this.markers.length&&this.createMarkers(this.markers),this.polyline&&Array.isArray(this.polyline)&&this.polyline.length&&this.createPolyline(),this.circles&&Array.isArray(this.circles)&&this.circles.length&&this.createCircles(),this.controls&&Array.isArray(this.controls)&&this.controls.length&&this.createControls(),this.showLocation&&this.createLocation(),this.includePoints&&Array.isArray(this.includePoints)&&this.includePoints.length&&this.fitBounds(this.includePoints,(function(){n.setCenter(e)})),this.isMapReady=!0,this.$emit("mapready")},centerChange:function(){var t=this,e=Number(this.latitude),n=Number(this.longitude);e===this.center.latitude&&n===this.center.longitude||(this.center.latitude=e,this.center.longitude=n,this._map&&this.mapReady((function(){t._map.setCenter(new r.LatLng(e,n))})))},createMarkers:function(t){var e=this,n=this._map,i=this.markersSync;t.forEach((function(t){var a=new r.Marker({map:n,flat:!0,autoRotation:!1});a.id=t.id,e.changeMarker(a,t),r.event.addListener(a,"click",(function(n){var r=a.callout;if(r){var i=r.div,s=i.parentNode;r.alwaysVisible||r.set("visible",!r.visible),r.visible&&(s.removeChild(i),s.appendChild(i))}Object(o["e"])(t,"id")&&e.$trigger("markertap",{},{markerId:t.id})})),i.push(a)}))},changeMarker:function(t,e){var n=this,i=this._map,a=e.title||e.name,s=new r.LatLng(e.latitude,e.longitude),c=new Image;c.onload=function(){var u,l,f,h,d=e.anchor||{},p=d.x,v=d.y;e.iconPath&&(e.width||e.height)?(l=e.width||c.width/c.height*e.height,f=e.height||c.height/c.width*e.width):(l=c.width/2,f=c.height/2),p=("number"===typeof p?p:.5)*l,v=("number"===typeof v?v:1)*f,h=f-(f-v),u=new r.MarkerImage(c.src,null,null,new r.Point(p,v),new r.Size(l,f)),t.setPosition(s),t.setIcon(u),t.setRotation(e.rotate||0);var g,m=e.label||{};t.label&&(t.label.setMap(null),delete t.label),m.content&&(g=new r.Label({position:s,map:i,clickable:!1,content:m.content,style:{border:"none",padding:"8px",background:"none",color:m.color,fontSize:(m.fontSize||14)+"px",lineHeight:(m.fontSize||14)+"px",marginLeft:m.x,marginTop:m.y}}),t.label=g);var b,y=e.callout||{},_=t.callout;y.content?b={id:e.id,position:s,map:i,top:h,content:y.content,color:y.color,fontSize:y.fontSize,borderRadius:y.borderRadius,bgColor:y.bgColor,padding:y.padding,boxShadow:y.boxShadow,display:y.display}:a&&(b={id:e.id,position:s,map:i,top:h,content:a,boxShadow:"0px 0px 3px 1px rgba(0,0,0,0.5)"}),b?_?_.setOption(b):(_=t.callout=new r.Callout(b),_.div.onclick=function(t){Object(o["e"])(e,"id")&&n.$trigger("callouttap",t,{markerId:e.id}),t.stopPropagation(),t.preventDefault()}):_&&(_.setMap(null),delete t.callout)},c.src=e.iconPath?this.$getRealPath(e.iconPath):"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAABQCAYAAABFyhZTAAANDElEQVR4nNWce4hc133Hv+fc92MeuytpV5ZXll2XuvTlUBTSP1IREsdNiKGEEAgE3EBLaBtK/2hNoQTStISUosiGOqVpQ+qkIdAax1FiG+oYIxyD4xi3uKlEXSFFke3d1e5od+a+H+ec/nHvmbkzs6ud2bmjTX7wY3b3zr3nfM7vd37n8Tt3CW6DiDP3EABSd/0KAEEuXBHzrsteFTiwVOBo+amUP9PK34ZuAcD30NoboTZgceYeCaQAUEvVAKiZ0lpiiv0Lgmi/imFLF5YV2SWFR1e0fGcDQF5qVn4y1Ag/E3DFmhJSB2Dk1D2Squ0HBdT3C0JPE6oco6oKqmm7PodnGXieQ3DWIYL/iCB/UWO95zTW2wCQlpqhgJ8J/MDApUUVFFY0AFiRdvwMJ8bvCaKcUW3bUE0DimGAKMpkz2QMLEnBkhhZEHICfoHy+AkrW3seQAwgQQHPyIUr/CD1nhq4tCpFAWoCsGNt5X2MWo9Qw/p1zXGgWiZAZu8teRQhCwLwOLpEefKolb3zDIAQBXyGAnwqa09Vq4pVDQBOqrTuTmn7c9S0H9QdB6ptT/O4iSWPY2S+DxYHFzTW+5zBti8BCFBYfCprTwxcwmoALABupK48lFPri0az1dSbjWkZDiSp5yPpdn2Vh39m5evPAPABRACySaH3Ba64sA7ABtD0tdXPUqvxKd1xoJrmDAjTSx7HCDsdroj0nJO99TiAHgprZwD4fi5+S+AKrAHA5UQ7EijH/05rND9sNJsglNaEMZ3wPEfq+8i97vdstv4IFdkWBi5+S2h1n2dL2IYAXQqU449pjdYHzFaruDr3edEelVJUmK02YpCPBD454uRrf0BFtlleTlAMX7vfu9eFSp91ALR95cRfq27zA2ariXK+cOhqtprQnOZ7AmXlLIA2ABeAXtZ9cuDSlVUUfbYVKCsPq27zo1arddiMY2q2WlCd5gd95fhnALTKOmslw/7A5RcVFGNsI6ILpzNi/rnu2IdPt4caDRc5Mf4opEu/DaBR1l3dDXo3CxMUEdkRoO2UuJ+3Wy1VUbXD5tpTKVVgt9s0I85fcahLKLqhvhvf0B/KFpFjbdOnRz+pOY17f5atK1W3LWiue8KnR38fQLNkGLPyaAvI8dZl0Jcz6J82bPuwWSZW03GRQ3s4JdYqigBmoOie48CVQGUBcAO68AnTbTQUVQWE+LlQSimsRsOKSPthFG49ZmU6Aq8DsAWomwnt4+bPgSuPqunYyIX6uwzqIoqIPdSXacW6clFgB6T9Xs0wFylVDrv+UyshFIZlOSFpP1ACG1Ury5mWdGcTgJkJ/UO2ZZVPqU+EqiL9xV8GWzoGAFC2t6C/eQkkS2stR7cs+KH2OwDOo2AKUcy1hQTur28FiJVDOa0bRm283HHhPfQxhL91BsIYXmyQLIX1yktofvdJ0N5OLeVpug4G5TcY1IaCvIuCLQHAq8A6ACOCe5+qag1CSBEMZpT01L3Y/vSfgi0e2fW60HSE730/4vtPY/Erj0J/8+LMZRIAmq7rUeLe75KdTRTACoCcVvqvBsBIhXG/qumoo0Plx5Zx80/+Yk/YqvBGE53PPILsxGotZWuahkxov4bCkDoARZy5h1S3UjUAKhf0pKrWE6x2Hv5DcMedwCaFCMPEzqf+GCB05rIVVQUHOVlySQuPAzNB7lAUBbOOickv/QrSe++bGFZKtnoK0f2nZy5foRRc0Dsw2C5WANDRvWRFAIv9/juDxr/5nqlhpcTvevfM5VNKwYHFijEVAEStWFgBQIWASQkKv5hBstVTM947W/mEABDCxMCgFBXgfkpECGgAmbW8seFnqntNc+byiSDggqgYSfPIKVc/2SUgcsH57C7V3T5wZWmvO3P5QnAAPMdwnotU59KkaBkR1AGs/fTqgYG1n16dHZhzQCAea8zKz4UTEdFl/EBZjCGxXn354Pe+8tLM5TPGAPAxN5PAQioR7CdZls1u4auXYf3wB1NX1Pjv/4Rx8Y2Zy8/zHAR8reTiko9W/sAAcIWwt+oAhhBofeMrUDfWJoZVtjtof/Xvayk7TTMo4D/BSL55FJiZNPvfNE1rKZT2ulj64mehX/m/fWG169ew9IW/hHJzqx7gLIVO00slWy6B1QpsBoC5SnR1O7K3GecLSg2ZBaWziSOffwTB+x5E8MGHkB8/MXx9cwPuf3wX9gvPgeT5zOUBgBACcZKmR63of1CwycS6UFFYeCjjrhD2WhTHD7iWVUsFwBic7z8L5/vPgh1dBneL5BsJg6lcflKJ4hgKYT8iENXTBAzl8lBgYOEMALOV9IUgDB9w55AoU26sQ7mxXvtzq+KHISyavogBV4oCXNAy8cSrF9pa+EaSJmtpWk/wup2a5zmiONle0MMflpD94xLkwhUhOykrL8TlJzNo9lQvDHHYe1TTai8MYSjZd0p3zjA4LcCB4XFYXowB5EeM4HkvDDpxmh4+xYSa5hm6fuAt6cH3Sp5kV+Aye55XvpAqRCSOmv5LLwgO3U0n1V4QwFLSf9UoD0tPjSrAomphoHDrBINDI/kxM3wxTMIf7/j+ocPsp90ggBcFV5bN8LnSeHHJIs+BjAFLt45QZNNjAOyIET3a8XwvTNLD9tg9NU4zbPa8dEmPzxIipKeGpabSnYeAyxbIS2BfftnVsrWmnjzWDQPkLD98uhHlgqMbBnC19PGmnl4rAUMMDrzk1SMQo1MpXt4QAPDKG7OjZvwKy4Ov3/R/9vrzVs9DmgZPrljRCyg8NCzr7o9adwx4xMpeqTEAdqcT/nuY+M9v9rxDh5S62fMQxP7Lq27wBIoYFJd17mFwnElUGXc71CLKlgowvONnrbrhl6/2sEoJuW/JcXa59fbJzTDATuRfu7sRfgmDgCthpXXF6H1jq4OyRWRr+QC65WeiEJEet+O/7fj+thfHOKx+6ycxtjy/u2Ilf6NSISdLsq59r9zt+NKuy6EKdFS2WBeFxVNHY5sLRnr27Z0dzhi77W7MGMNb2zu8ZaTnGnq+hoE37mDgynuewdxz/VdORuTDuqUWQcxO/8tU+ZObfnDbDbzpBzBV9m/LdvraCGzfKLc6hnjLBW8F2q88NATATjaib3pxcLFzG2dim74PLw5eP9mIv4U9PHC/M5eTrPCrQ5XszzElyFac9OwN3/P8NMG8TeslMbZCf/tEIzlHSX8m5VXqlGBkCDoQ8C5BrH+Ys6GzjZaRP3YzDCHmaFnOOW6GERaM/Jyt8u0SLijrcssgNTXwLtAy9AcAsjvc7JWMxc9seP7cDHzDD8B49NSKk72OwUyqV+rEsBMDl9DVICZbNgLATjXTf96OgiudMKzdup0wxHYcvHlXM/sGxvttiCnOSk8FXIrsz8PjMxXpspOffcfz8rTG+XbCcqx5Xrri5OcUKuQGRbXssaljrcC36M/posWuuTr/+lYY1ebKnTCCq/MnFkx2HYPAKWdSQ8u+uQCPQEvX6qFwrfyuVvadnTi4uFmDa28GAXbi4Men2tl5FPN7uSiYKkjNDFxCy/4sg0d/qLqjwR5b9/04Znue0d5X4jzHehDEJxrsUYwHy6n7bVVm2WnnKNxqyLXbJn/b1fkTswSwrSiCq/OvtUy+juHl6sTjbe3AFdeW0DJqZ3e182d3kujNThxh2o7biSJ0k+ji3Qv5sxj2Ig8H7LdVmSmXUhY8VilKkB1z2Jev9zzOuZiYl3GB656XL7vsHzC85Os35qzvH9bxWorAsNsFANKjDr9saeL82hRz7fUggKWJp4/Y/CoGw1//mWVZM8nMwLdw7fxUm31zKwo7vXT/s5S9NMVWFK7ds8C+heG9NR8zROVRqeXFoxHXlhZJDBXBoi0e34yi/YehKMKiLf5JU/p7yUONV9d7xHW+aSWhhzYAV1v81SBPLm7FY8ct+rIVxwjz5I3VFn8V4w1XiytLqQ24sgEoXbvviiuu+Me9rCyEwDXP48uu+CqGZ3G1urKUWt+l28W1QwDpMVdcZsgvrIXh2D0bUQRDxUvHXHEZw8GvVleWMo+XB6sbBnIznJ1s8a+9EwQ5rxyJ4pzjbd/P72xyuc1aTQLMNMHYS2oHrri2dM0QQNI0sWnrOL8eRf3vrkcRbB3n2xY2MEiP9NM88/ivD/N6PbTq2rIv5qtt8dRaGKaccwgh8E4Y5ne2xNMYb6B+tq9umQvwyDIyKDVxddw0VfH8jTjGZhzDVMWLDQNbGGzZzNW6wPwsXM05V7OR+fEmvn09CPiNKMKyi29jYN0Ag0BVe9+Vst/7w7OKnIEFKF6pMRdtrL3VxctMMOOoi2q2r5/LnWeF5vqK90gAGyTaXTy5ZAtpXRms5jIMjcq8LQwMnywIAVgrDVwuD+9K68oZ1dxcWcrcX+IfScHKwBRWfu9H8Xn2XSm3w8LAYHfEQ5F6TVGYWM6qYsy570q5Lf+mYSRH1QFwA8AGgJsooOXe7tzl/wGchYFKtBMCwAAAAABJRU5ErkJggg=="},removeMarkers:function(t){for(var e=0;e<t.length;e++){var n=t[e];n.label&&n.label.setMap(null),n.callout&&n.callout.setMap(null),n.setMap(null),t.splice(e--,1)}},createPolyline:function(){var t=this._map,e=this.polylineSync;this.removePolyline(),this.polyline.forEach((function(n){var i=[];if(n.points.forEach((function(t){i.push(new r.LatLng(t.latitude,t.longitude))})),n.borderWidth){var o=new r.Polyline({map:t,clickable:!1,path:i,strokeWeight:n.width+n.borderWidth,strokeColor:n.borderColor,strokeDashStyle:n.dottedLine?"dash":"solid"});e.push(o)}var a=new r.Polyline({map:t,clickable:!1,path:i,strokeWeight:n.width,strokeColor:n.color,strokeDashStyle:n.dottedLine?"dash":"solid"});e.push(a)}))},removePolyline:function(){var t=this.polylineSync;t.forEach((function(t){t.setMap(null)})),t.splice(0,t.length)},createCircles:function(){var t=this._map,e=this.circlesSync;this.removeCircles(),this.circles.forEach((function(n){var i=new r.LatLng(n.latitude,n.longitude);function o(t){var e=t.match(/#[0-9A-Fa-f]{6}([0-9A-Fa-f]{2})?/);return e&&e.length?r.Color.fromHex(e[0],Number("0x"+e[1]||!1)/255):void 0}var a=new r.Circle({map:t,center:i,clickable:!1,radius:n.radius,strokeWeight:n.strokeWidth,fillColor:o(n.fillColor),strokeColor:o(n.color),strokeDashStyle:"solid"});e.push(a)}))},removeCircles:function(){var t=this.circlesSync;t.forEach((function(t){t.setMap(null)})),t.splice(0,t.length)},createControls:function(){var t=this,e=this,n=this._map,i=this.controlsSync;this.removeControls(),this.controls.forEach((function(o){var a=o.position||{},s=document.createElement("div"),c=new Image;s.appendChild(c);var u=s.style;u.position="absolute",u.width=0,u.height=0,c.onload=function(){o.position.width&&(c.width=o.position.width),o.position.height&&(c.height=o.position.height);var t=c.style;t.position="absolute",t.left=(a.left||0)+"px",t.top=(a.top||0)+"px",t.maxWidth="initial"},c.src=t.$getRealPath(o.iconPath),c.onclick=function(t){o.clickable&&e.$trigger("controltap",t,{controlId:o.id})},n.controls[r.ControlPosition.TOP_LEFT].push(s),i.push(s)}))},removeControls:function(){var t=this.controlsSync;t.forEach((function(t){t.remove()})),t.splice(0,t.length)},createLocation:function(){var e=this,n=this._map,i=this._location;i&&this.removeLocation(),uni.getLocation({type:"gcj02",success:function(t){if(i===e._location){var o=new r.LatLng(t.latitude,t.longitude);i=new r.Marker({position:o,map:n,icon:new r.MarkerImage("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACECAMAAABmmnOVAAAC01BMVEUAAAAAef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef96quGStdqStdpbnujMzMzCyM7Gyc7Ky83MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMwAef8GfP0yjfNWnOp0qOKKsdyYt9mju9aZt9mMstx1qeJYnekyjvIIfP0qivVmouaWttnMzMyat9lppOUujPQKffxhoOfNzc3Y2Njh4eHp6enu7u7y8vL19fXv7+/i4uLZ2dnOzs6auNgOf/sKff15quHR0dHx8fH9/f3////j4+N6quFdn+iywdPb29vw8PD+/v7c3NyywtLa2tr29vbS0tLd3d38/Pzf39/o6Ojc7f+q0v+HwP9rsf9dqv9Hnv9Vpv/q6urj8P+Vx/9Am/8Pgf8Iff/z8/OAvP95uf/n5+c5l//V6f+52v+y1//7+/vt7e0rkP/09PTQ0NDq9P8Whf+cy//W1tbe3t7A3v/m5ubs7OxOov/r6+vk5OQiaPjKAAAAknRSTlMACBZ9oB71/jiqywJBZATT6hBukRXv+zDCAVrkDIf4JbQsTb7eVeJLbwfa8Rh4G/OlPS/6/kxQ9/xdmZudoJxNVhng7B6wtWdzAtQOipcF1329wS44doK/BAkyP1pvgZOsrbnGXArAg34G2IsD1eMRe7bi7k5YnqFT9V0csyPedQyYD3p/Fje+hDpskq/MwpRBC6yKp2MAAAQdSURBVHja7Zn1exMxGIAPHbrhDsPdneHuNtzd3d3dIbjLh93o2o4i7TpgG1Jk0g0mMNwd/gTa5rq129reHnK5e/bk/TFNk/dJ7r5894XjGAwGg8GgTZasCpDIll1+hxw5vXLJLpEboTx5ZXbIhyzkl9fB28cqUaCgrBKFkI3CcjoUKYolihWXUSI7EihRUjaHXF52CVRKLoe8eZIdUOkyMknkRw6UlcehYAFHiXK+skgURk6Ul8OhQjFnCVRRBolKqRxQ5SzUHaqgNGSj7VCmalqJnDkoS5RF6ZCbroNvufQkUD6qEuXTdUA+3hQdqiEXVKfnUKOmK4latalJ1EEuoZZ6162HJ9x/4OChw0eOHj12/MTJU6dxG7XUu751tjNnz4ET5y9ctLZTSr0beKFLl89bpuUDrqgC1RqNWqsKuqqzNFw7e51S6u3tc+OmZUJ9kCHY6ECwOkRvab51iUrqXej2HYDQsHBjWgx3Ae7dppB6N2wEcF9jdMGDUIDGTaR2aNoM9FqjG7QmaN5CWgc/gIePjG559BigpZQOrYB/4jBfRGRUtDkmJjY6KjLCofkpD62lc2gDfMpWPIuLdwyV8XEpHgaddBZ+wBuSFcwJqSN2ovmZ/dfnOvCTxqGtwzq8SEjv4EhISn48eWgnhUP7DvDSvgzxrs6vV6+FLiro2EkCic4QKkzwJsH1KYreCp0eQhfyDl1B/w4P/xa5JVJ4U03QjbRD9x7wXlgH5IE3wmMBHXoSlugFAcI6f/AkkSi8q6HQm6xDn77wEQ8djTwSj3tqAMguRTe4ikeOQyJ4YV+KfkQl+oNW5GbY4gWOWgbwJ+kwAD6Fi90MK2ZsrIeBBCUGwRXbqJ+/iJMQliIEBhOU6AJhtlG/IpHE2bqrYQg5h6HA4yQiRqwEfkGCdTCMmMRw+IbPDCQaHCsCYAQxiZHw3TbmD/ESOHgHwShiEqPhp/gggYkSztIxxCRawy/bmEniJaJtfwiEscQkxkFgRqJESqQwwHhiEuMBp3Vm8RK/cZoHEzKXhCK2QxEPpiJe0YlKCFaKCNv/cYBNUsBRPlkJSc0U+dM7E9H0ThGJbgZT/iR7yj+VqMS06Qr4+OFm2JdCxIa8lugzkJs5K6MfxAaYPUcBpYG5khZJEkUUSb7DPCnKRfPBXj6M8FwuegoLpCgXcQszVjhbJFUJUee2hBhLoYTIcYtB57KY+opSMdVqwatSlZVj05aV//CwJLMX2DluaUcwhXm4ali2XOoLjxUrPV26zFtF4f5p0Gp310+z13BUWNvbehEXona6iAtX/zVZmtfN4WixfsNky4S6gCCVVq3RPLdfSfpv3MRRZfPoLc6Xs/5bt3EyMGzE9h07/Xft2t15z6i9+zgGg8FgMBgMBoPBYDAYDAYj8/APG67Rie8pUDsAAAAASUVORK5CYII=",null,null,new r.Point(22,22),new r.Size(44,44)),flat:!0,rotation:0}),e._location=i,a(),uni.onCompassChange((function(t){i.setRotation(t.direction)}))}},fail:function(e){t.error(e)}});var o=this;function a(){i===o._location&&setTimeout((function(){uni.getLocation({type:"gcj02",success:function(t){var e=o._locationPosition=new r.LatLng(t.latitude,t.longitude);i.setPosition(e)},fail:function(e){t.error(e)},complete:function(){a()}})}),1e3)}},removeLocation:function(){var t=this._location;t&&(t.setMap(null),this._location=null,this._locationPosition=null,uni.stopCompass())},fitBounds:function(t,e){var n=this;this.boundsReady((function(){var i=n._map,o=new r.LatLngBounds;t.forEach((function(t){var e=t.longitude,n=t.latitude,i=new r.LatLng(n,e);o.extend(i)})),i.fitBounds(o),"function"===typeof e&&e()}))},mapReady:function(t){this.isMapReady?t():this.$once("mapready",(function(){t()}))},boundsReady:function(t){this.isBoundsReady?t():this.$once("boundsready",(function(){t()}))},getMarker:function(t){for(var e=this.markersSync,n=0;n<e.length;n++){var r=e[n];if(r.id===t)return r}},loadMap:function(t){if(r)t();else if(window.qq&&window.qq.maps)r=window.qq.maps,t();else{var e=__uniConfig.qqMapKey,n="_callback"+Date.now();window[n]=function(){delete window[n],r=window.qq.maps;var e=r.Callout=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.option=t;var e=t.map;this.position=t.position,this.index=1,this.visible=this.alwaysVisible="ALWAYS"===t.display,this.init(),Object.defineProperty(this,"onclick",{setter:function(t){this.div.onclick=t},getter:function(){return this.div.onclick}}),e&&this.setMap(e)};e.prototype=new r.Overlay,e.prototype.init=function(){var t=this.option,e=this.div=document.createElement("div"),n=e.style;n.position="absolute",n.whiteSpace="nowrap",n.transform="translateX(-50%) translateY(-100%)",n.zIndex=1,n.boxShadow=t.boxShadow||"none",n.display=this.visible?"block":"none";var r=this.triangle=document.createElement("div");r.setAttribute("style","position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"),this.setStyle(t),this.changed=function(t){n.display=this.visible?"block":"none"},e.appendChild(r)},e.prototype.construct=function(){var t=this.div,e=this.getPanes();e.floatPane.appendChild(t)},e.prototype.draw=function(){var t=this.getProjection();if(this.position&&this.div&&t){var e=t.fromLatLngToDivPixel(this.position),n=this.div.style;n.left=e.x+"px",n.top=e.y+"px"}},e.prototype.destroy=function(){this.div.parentNode.removeChild(this.div),this.div=null,this.triangle=null},e.prototype.setOption=function(t){this.option=t,this.setPosition(t.position),"ALWAYS"===t.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,this.setStyle(t)},e.prototype.setStyle=function(t){var e=this.div,n=e.style;e.innerText=t.content,n.lineHeight=(t.fontSize||14)+"px",n.fontSize=(t.fontSize||14)+"px",n.padding=(t.padding||8)+"px",n.color=t.color||"#000",n.borderRadius=(t.borderRadius||0)+"px",n.backgroundColor=t.bgColor||"#fff",n.marginTop="-"+(t.top+5)+"px",this.triangle.style.borderColor="".concat(t.bgColor||"#fff"," transparent transparent")},e.prototype.setPosition=function(t){this.position=t,this.draw()},t()};var i=document.createElement("script");i.src="https://map.qq.com/api/js?v=2.exp&key=".concat(e,"&callback=").concat(n,"&libraries=geometry"),document.body.appendChild(i)}}}}}).call(this,n("3ad9")["default"])},7572:function(t,e,n){},"764a":function(t,e,n){(function(t){n.d(e,"a",(function(){return u}));var r=n("f2b3"),i=n("85b6"),o=n("65a8"),a=n("33ed"),s=!!r["l"]&&{passive:!1};function c(e){if(uni.canIUse("css.var")){var n=e.$parent.$parent,r=n.navigationBar.type,i="default"===r||"float"===r?o["a"]:0,a=getApp().$children[0].showTabBar?o["b"]:0,s=uni.canIUse("css.env")?"env":uni.canIUse("css.constant")?"constant":"",c=i&&s?"calc(".concat(i,"px + ").concat(s,"(safe-area-inset-top))"):"".concat(i,"0px"),u=a&&s?"calc(".concat(a,"px + ").concat(s,"(safe-area-inset-bottom))"):"".concat(a,"px"),l=document.documentElement.style;l.setProperty("--window-top",c),l.setProperty("--window-bottom",u),t.debug("".concat(e.$page.route,"[").concat(e.$page.id,"]:--window-top=").concat(c)),t.debug("".concat(e.$page.route,"[").concat(e.$page.id,"]:--window-bottom=").concat(u))}}function u(t){var e=!1,n=!1;t("onPageLoad",(function(t){c(t)})),t("onPageShow",(function(t){var o=t.$parent.$parent;t._isMounted&&c(t),n&&document.removeEventListener("touchmove",n,s),o.disableScroll&&(n=a["b"],document.addEventListener("touchmove",n,s));var u=Object(i["a"])(t.$options,"onPageScroll"),l=Object(i["a"])(t.$options,"onReachBottom"),f=o.onReachBottomDistance,h=Object(r["h"])(o.titleNView)&&"transparent"===o.titleNView.type||Object(r["h"])(o.navigationBar)&&"transparent"===o.navigationBar.type;e&&document.removeEventListener("scroll",e),(h||u||l)&&(e=Object(a["a"])(t.$page.id,{enablePageScroll:u,enablePageReachBottom:l,onReachBottomDistance:f,enableTransparentTitleNView:h}),requestAnimationFrame((function(){document.addEventListener("scroll",e)})))}))}}).call(this,n("3ad9")["default"])},"77d5":function(t,e,n){},"77e0":function(t,e,n){n.r(e),function(t,n){e["default"]={data:function(){return{showToast:{visible:!1}}},created:function(){var e=this,r="",i=function(t){return function(n){r=t,setTimeout((function(){e.showToast=n}),10)}};t.on("onShowToast",i("onShowToast")),t.on("onShowLoading",i("onShowLoading"));var o=function(t){return function(){var i="";if("onHideToast"===t&&"onShowToast"!==r?i="请注意 showToast 与 hideToast 必须配对使用":"onHideLoading"===t&&"onShowLoading"!==r&&(i="请注意 showLoading 与 hideLoading 必须配对使用"),i)return n.warn(i);r="",setTimeout((function(){e.showToast.visible=!1}),10)}};t.on("onHidePopup",o("onHidePopup")),t.on("onHideToast",o("onHideToast")),t.on("onHideLoading",o("onHideLoading"))}}}.call(this,n("0dd1"),n("3ad9")["default"])},"78a1":function(t,e,n){n.r(e),n.d(e,"onKeyboardHeightChange",(function(){return a}));var r=n("a118"),i=n("db70"),o=[];function a(t){o.push(t)}Object(i["d"])("onKeyboardHeightChange",(function(t){o.forEach((function(e){Object(r["a"])(e,t)}))}))},"78c8":function(t,e,n){n.r(e),n.d(e,"getSystemInfoSync",(function(){return u})),n.d(e,"getSystemInfo",(function(){return l}));var r=n("a470"),i=n("d8c8"),o=n.n(i),a=navigator.userAgent,s=/android/i.test(a),c=/iphone|ipad|ipod/i.test(a);function u(){var t,e,n,i=window.screen,u=window.devicePixelRatio,l=i.width,f=i.height,h=Math.min(window.innerWidth,document.documentElement.clientWidth,l),d=window.innerHeight,p=navigator.language,v=o.a.top;if(c){t="iOS";var g=a.match(/OS\s([\w_]+)\slike/);g&&(e=g[1].replace(/_/g,"."));var m=a.match(/\(([a-zA-Z]+);/);m&&(n=m[1])}else if(s){t="Android";var b=a.match(/Android[\s/]([\w\.]+)[;\s]/);b&&(e=b[1]);for(var y=a.match(/\((.+?)\)/),_=y?y[1].split(";"):a.split(" "),w=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i],S=0;S<_.length;S++){var k=_[S];if(k.indexOf("Build")>0){n=k.split("Build")[0].trim();break}for(var x=void 0,T=0;T<w.length;T++)if(w[T].test(k)){x=!0;break}if(!x){n=k.trim();break}}}else t="Other",e="0";var C="".concat(t," ").concat(e),O=t.toLocaleLowerCase(),E={left:o.a.left,right:h-o.a.right,top:o.a.top,bottom:d-o.a.bottom,width:h-o.a.left-o.a.right,height:d-o.a.top-o.a.bottom},j=Object(r["a"])(),A=j.top,M=j.bottom;return d-=A,d-=M,{windowTop:A,windowBottom:M,windowWidth:h,windowHeight:d,pixelRatio:u,screenWidth:l,screenHeight:f,language:p,statusBarHeight:v,system:C,platform:O,model:n,safeArea:E,safeAreaInsets:{top:o.a.top,right:o.a.right,bottom:o.a.bottom,left:o.a.left}}}function l(){return u()}},"7bb3":function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-checkbox",t._g({attrs:{disabled:t.disabled},on:{click:t._onClick}},t.$listeners),[n("div",{staticClass:"uni-checkbox-wrapper"},[n("div",{staticClass:"uni-checkbox-input",class:[t.checkboxChecked?"uni-checkbox-input-checked":""],style:{color:t.color}}),t._t("default")],2)])},i=[],o=n("8af1"),a={name:"Checkbox",mixins:[o["a"],o["e"]],props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},data:function(){return{checkboxChecked:this.checked,checkboxValue:this.value}},watch:{checked:function(t){this.checkboxChecked=t},value:function(t){this.checkboxValue=t}},listeners:{"label-click":"_onClick","@label-click":"_onClick"},created:function(){this.$dispatch("CheckboxGroup","uni-checkbox-group-update",{type:"add",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("CheckboxGroup","uni-checkbox-group-update",{type:"remove",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onClick:function(t){this.disabled||(this.checkboxChecked=!this.checkboxChecked,this.$dispatch("CheckboxGroup","uni-checkbox-change",t))},_resetFormData:function(){this.checkboxChecked=!1}}},s=a,c=(n("f53a"),n("2877")),u=Object(c["a"])(s,r,i,!1,null,null,null);e["default"]=u.exports},"7c2b":function(t,e,n){var r=n("2c45"),i=n.n(r);i.a},"7d13":function(t,e,n){n.r(e),n.d(e,"onAccelerometerChange",(function(){return s})),n.d(e,"startAccelerometer",(function(){return c})),n.d(e,"stopAccelerometer",(function(){return u}));var r=n("a118"),i=n("db70"),o=[];Object(i["d"])("onAccelerometerChange",(function(t){o.forEach((function(e){Object(r["a"])(e,t)}))}));var a=!1;function s(t){o.push(t),a||c()}function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.interval,!a)return a=!0,Object(i["c"])("enableAccelerometer",{enable:!0})}function u(){return a=!1,Object(i["c"])("enableAccelerometer",{enable:!1})}},"7d18":function(t,e,n){n.r(e),function(t){n.d(e,"uploadFile",(function(){return u}));var r=n("e2e2");function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=function(){function t(e,n){i(this,t),s(this,"_xhr",void 0),s(this,"_isAbort",void 0),s(this,"_callbacks",[]),this._xhr=e,this._callbackId=n}return a(t,[{key:"onProgressUpdate",value:function(t){"function"===typeof t&&this._callbacks.push(t)}},{key:"offProgressUpdate",value:function(t){var e=this._callbacks.indexOf(t);e>=0&&this._callbacks.splice(e,1)}},{key:"abort",value:function(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),t}();function u(e,n){var i=e.url,o=e.filePath,a=e.name,s=e.header,u=e.formData,l=__uniConfig.networkTimeout&&__uniConfig.networkTimeout.uploadFile||6e4,f=t,h=f.invokeCallbackHandler,d=new c(null,n);function p(t){var e,r=new XMLHttpRequest,o=new FormData;Object.keys(u).forEach((function(t){o.append(t,u[t])})),o.append(a,t,t.name||"file-".concat(Date.now())),r.open("POST",i),Object.keys(s).forEach((function(t){r.setRequestHeader(t,s[t])})),r.upload.onprogress=function(t){d._callbacks.forEach((function(e){var n=t.loaded,r=t.total,i=Math.round(n/r*100);e({progress:i,totalBytesSent:n,totalBytesExpectedToSend:r})}))},r.onerror=function(){clearTimeout(e),h(n,{errMsg:"uploadFile:fail"})},r.onabort=function(){clearTimeout(e),h(n,{errMsg:"uploadFile:fail abort"})},r.onload=function(){clearTimeout(e);var t=r.status;h(n,{errMsg:"uploadFile:ok",statusCode:t,data:r.responseText||r.response})},d._isAbort?h(n,{errMsg:"uploadFile:fail abort"}):(e=setTimeout((function(){r.upload.onprogress=r.onload=r.onabort=r.onerror=null,d.abort(),h(n,{errMsg:"uploadFile:fail timeout"})}),l),r.send(o),d._xhr=r)}return Object(r["b"])(o).then(p).catch((function(){setTimeout((function(){h(n,{errMsg:"uploadFile:fail file error"})}),0)})),d}}.call(this,n("0dd1"))},"7df2":function(t,e,n){},"7e6a":function(t,e,n){var r=n("515d"),i=n.n(r);i.a},"7f4e":function(t,e,n){function r(t){var e=t.phoneNumber;return window.location.href="tel:".concat(e),{errMsg:"makePhoneCall:ok"}}n.r(e),n.d(e,"makePhoneCall",(function(){return r}))},"811a":function(t,e,n){n.r(e),n.d(e,"connectSocket",(function(){return h})),n.d(e,"sendSocketMessage",(function(){return d})),n.d(e,"closeSocket",(function(){return p})),n.d(e,"onSocketOpen",(function(){return v})),n.d(e,"onSocketError",(function(){return g})),n.d(e,"onSocketMessage",(function(){return m})),n.d(e,"onSocketClose",(function(){return b}));var r=n("a118"),i=n("db70");function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}var c=function(){function t(e){o(this,t),this.id=e,this._callbacks={open:[],close:[],error:[],message:[]},this.CLOSED=3,this.CLOSING=2,this.CONNECTING=0,this.OPEN=1,this.readyState=this.CLOSED}return s(t,[{key:"send",value:function(t){this.readyState!==this.OPEN&&this._callback(t,"sendSocketMessage:fail WebSocket is not connected");var e=Object(i["c"])("operateSocketTask",Object.assign({},t,{operationType:"send",socketTaskId:this.id})),n=e.errMsg;this._callback(t,n.replace("operateSocketTask","sendSocketMessage"))}},{key:"close",value:function(t){this.readyState=this.CLOSING;var e=Object(i["c"])("operateSocketTask",Object.assign({},t,{operationType:"close",socketTaskId:this.id})),n=e.errMsg;this._callback(t,n.replace("operateSocketTask","closeSocket"))}},{key:"onOpen",value:function(t){this._callbacks.open.push(t)}},{key:"onClose",value:function(t){this._callbacks.close.push(t)}},{key:"onError",value:function(t){this._callbacks.error.push(t)}},{key:"onMessage",value:function(t){this._callbacks.message.push(t)}},{key:"_callback",value:function(t,e){var n=t.success,r=t.fail,i=t.complete,o={errMsg:e};/:ok$/.test(e)?"function"===typeof n&&n(o):"function"===typeof r&&r(o),"function"===typeof i&&i(o)}}]),t}(),u=Object.create(null),l=[],f=Object.create(null);function h(t,e){var n=Object(i["c"])("createSocketTask",t),o=n.socketTaskId,a=new c(o);return u[o]=a,l.push(a),setTimeout((function(){Object(r["a"])(e,{errMsg:"connectSocket:ok"})}),0),a}function d(t,e){var n=l[0];if(n&&n.readyState===n.OPEN)return Object(i["c"])("operateSocketTask",Object.assign({},t,{operationType:"send",socketTaskId:n.id}));Object(r["a"])(e,{errMsg:"sendSocketMessage:fail WebSocket is not connected"})}function p(t,e){var n=l[0];if(n)return n.readyState=n.CLOSING,Object(i["c"])("operateSocketTask",Object.assign({},t,{operationType:"close",socketTaskId:n.id}));Object(r["a"])(e,{errMsg:"closeSocket:fail WebSocket is not connected"})}function v(t){f.open=t}function g(t){f.error=t}function m(t){f.message=t}function b(t){f.close=t}Object(i["d"])("onSocketTaskStateChange",(function(t){var e=t.socketTaskId,n=t.state,i=t.data,o=(t.errMsg,u[e]);if(o&&(o._callbacks[n].forEach((function(t){"function"===typeof t&&t("message"===n?{data:i}:{})})),"open"===n&&(o.readyState=o.OPEN),o===l[0]&&f[n]&&Object(r["a"])(f[n],"message"===n?{data:i}:{}),"error"===n||"close"===n)){o.readyState=o.CLOSED,delete u[e];var a=l.indexOf(o);a>=0&&l.splice(a,1)}}))},8188:function(t,e,n){(function(t){var r=n("8af1"),o=n("18fd"),a=n("b253");function s(t){return s="function"===typeof Symbol&&"symbol"===(0,i.default)(Symbol.iterator)?function(t){return(0,i.default)(t)}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":(0,i.default)(t)},s(t)}e["a"]={name:"Editor",mixins:[r["f"],r["a"],r["d"]],props:{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}},data:function(){return{quillReady:!1}},computed:{},watch:{readOnly:function(t){if(this.quillReady){var e=this.quill;e.enable(!t),t||e.blur()}},placeholder:function(t){this.quillReady&&this.quill.root.setAttribute("data-placeholder",t)}},mounted:function(){var t=this,e=[];this.showImgSize&&e.push("DisplaySize"),this.showImgToolbar&&e.push("Toolbar"),this.showImgResize&&e.push("Resize"),this.loadQuill((function(){e.length?t.loadImageResizeModule((function(){t.initQuill(e)})):t.initQuill(e)}))},methods:{_handleSubscribe:function(e){var n,r,i,o=e.type,a=e.data,c=a.options,u=a.callbackId,l=this.quill,f=window.Quill;if(this.quillReady)switch(o){case"format":var h=c.name,d=void 0===h?"":h,p=c.value,v=void 0!==p&&p;r=l.getSelection(!0);var g=l.getFormat(r)[d]||!1;if(["bold","italic","underline","strike","ins"].includes(d))v=!g;else if("direction"===d){v=("rtl"!==v||!g)&&v;var m=l.getFormat(r).align;"rtl"!==v||m?v||"right"!==m||l.format("align",!1,f.sources.USER):l.format("align","right",f.sources.USER)}else if("indent"===d){var b="rtl"===l.getFormat(r).direction;v="+1"===v,b&&(v=!v),v=v?"+1":"-1"}else"list"===d&&(v="check"===v?"unchecked":v,g="checked"===g?"unchecked":g),v=g&&g!==(v||!1)||!g&&v?v:!g;l.format(d,v,f.sources.USER);break;case"insertDivider":r=l.getSelection(!0),l.insertText(r.index,"\n",f.sources.USER),l.insertEmbed(r.index+1,"divider",!0,f.sources.USER),l.setSelection(r.index+2,f.sources.SILENT);break;case"insertImage":r=l.getSelection(!0);var y=c.src,_=void 0===y?"":y,w=c.alt,S=void 0===w?"":w,k=c.data,x=void 0===k?{}:k;l.insertEmbed(r.index,"image",this.$getRealPath(_),f.sources.USER),l.formatText(r.index,1,"alt",S),l.formatText(r.index,1,"data-custom",Object.keys(x).map((function(t){return"".concat(t,"=").concat(x[t])})).join("&")),l.setSelection(r.index+1,f.sources.SILENT);break;case"insertText":r=l.getSelection(!0);var T=c.text,C=void 0===T?"":T;l.insertText(r.index,C,f.sources.USER),l.setSelection(r.index+C.length,0,f.sources.SILENT);break;case"setContents":var O=c.delta,E=c.html;"object"===s(O)?l.setContents(O,f.sources.SILENT):"string"===typeof E?l.setContents(this.html2delta(E),f.sources.SILENT):i="contents is missing";break;case"getContents":n=this.getContents();break;case"clear":l.setContents([]);break;case"removeFormat":r=l.getSelection(!0);var j=f.import("parchment");r.length?l.removeFormat(r,f.sources.USER):Object.keys(l.getFormat(r)).forEach((function(t){j.query(t,j.Scope.INLINE)&&l.format(t,!1)}));break;case"undo":l.history.undo();break;case"redo":l.history.redo();break;default:break}else i="not ready";u&&t.publishHandler("onEditorMethodCallback",{callbackId:u,data:Object.assign({},n,{errMsg:"".concat(o,":").concat(i?"fail "+i:"ok")})},this.$page.id)},loadQuill:function(t){if("function"!==typeof window.Quill){var e=document.createElement("script");e.src=window.plus?"./__uniappquill.js":"https://unpkg.com/quill@1.3.7/dist/quill.min.js",document.body.appendChild(e),e.onload=t}else"function"===typeof t&&t()},loadImageResizeModule:function(t){if("function"!==typeof window.ImageResize){var e=document.createElement("script");e.src=window.plus?"./__uniappquillimageresize.js":"https://unpkg.com/quill-image-resize-mp@3.0.1/image-resize.min.js",document.body.appendChild(e),e.onload=t}else"function"===typeof t&&t()},initQuill:function(t){var e=this,n=window.Quill;a["a"](n);var r={toolbar:!1,readOnly:this.readOnly,placeholder:this.placeholder,modules:{}};t.length&&(n.register("modules/ImageResize",window.ImageResize.default),r.modules.ImageResize={modules:t});var i=this.quill=new n(this.$el,r),o=i.root,s=["focus","blur"];s.forEach((function(t){o.addEventListener(t,(function(n){e.$trigger(t,n,e.getContents())}))})),i.on(n.events.TEXT_CHANGE,(function(){e.$trigger("input",{},e.getContents())})),i.clipboard.addMatcher(Node.ELEMENT_NODE,(function(t,n){return e.skipMatcher?n:{ops:n.ops.filter((function(t){var e=t.insert;return"string"===typeof e})).map((function(t){var e=t.insert;return{insert:e}}))}})),this.initKeyboard(o),this.quillReady=!0,this.$trigger("ready",event,{})},getContents:function(){var t=this.quill,e=t.root.innerHTML,n=t.getText(),r=t.getContents();return{html:e,text:n,delta:r}},html2delta:function(t){var e,n=["span","strong","b","ins","em","i","u","a","del","s","sub","sup","img","div","p","h1","h2","h3","h4","h5","h6","hr","ol","ul","li"],r="";Object(o["a"])(t,{start:function(t,i,o){if(n.includes(t)){e=!1;var a=i.map((function(t){var e=t.name,n=t.value;return"".concat(e,'="').concat(n,'"')})).join(" "),s="<".concat(t," ").concat(a," ").concat(o?"/":"",">");r+=s}else e=!o},end:function(t){e||(r+="</".concat(t,">"))},chars:function(t){e||(r+=t)}}),this.skipMatcher=!0;var i=this.quill.clipboard.convert(r);return this.skipMatcher=!1,i}}}}).call(this,n("501c"))},"81ea":function(t,e,n){var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-tabbar",[n("div",{staticClass:"uni-tabbar",style:{backgroundColor:t.backgroundColor}},[n("div",{staticClass:"uni-tabbar-border",style:{backgroundColor:t.borderColor}}),t._l(t.list,(function(e,r){return n("div",{key:e.pagePath,staticClass:"uni-tabbar__item",on:{click:function(n){return t._switchTab(e,r)}}},[n("div",{staticClass:"uni-tabbar__bd"},[e.iconPath?n("div",{staticClass:"uni-tabbar__icon",class:{"uni-tabbar__icon__diff":!e.text}},[n("img",{attrs:{src:t._getRealPath(t.$route.meta.pagePath===e.pagePath?e.selectedIconPath:e.iconPath)}}),e.redDot?n("div",{staticClass:"uni-tabbar__reddot",class:{"uni-tabbar__badge":!!e.badge}},[t._v(t._s(e.badge))]):t._e()]):t._e(),e.text?n("div",{staticClass:"uni-tabbar__label",style:{color:t.$route.meta.pagePath===e.pagePath?t.selectedColor:t.color,fontSize:e.iconPath?"10px":"14px"}},[t._v(" "+t._s(e.text)+" "),e.redDot&&!e.iconPath?n("div",{staticClass:"uni-tabbar__reddot",class:{"uni-tabbar__badge":!!e.badge}},[t._v(t._s(e.badge))]):t._e()]):t._e()])])}))],2),n("div",{staticClass:"uni-placeholder"})])},i=[],o=n("a919"),a=o["a"],s=(n("f4e0"),n("2877")),c=Object(s["a"])(a,r,i,!1,null,null,null),u=c.exports,l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"uni-fade"}},[t.visible?n("uni-toast",{attrs:{"data-duration":t.duration}},[t.mask?n("div",{staticClass:"uni-mask",staticStyle:{background:"transparent"},on:{touchmove:function(t){t.preventDefault()}}}):t._e(),t.image||t.iconClass?n("div",{staticClass:"uni-toast"},[t.image?n("img",{staticClass:"uni-toast__icon",attrs:{src:t.image}}):n("i",{staticClass:"uni-icon_toast",class:t.iconClass}),n("p",{staticClass:"uni-toast__content"},[t._v(t._s(t.title))])]):n("div",{staticClass:"uni-sample-toast"},[n("p",{staticClass:"uni-simple-toast__text"},[t._v(t._s(t.title))])])]):t._e()],1)},f=[],h=n("5222"),d=h["a"],p=(n("ff28"),Object(s["a"])(d,l,f,!1,null,null,null)),v=p.exports,g=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"uni-fade"}},[n("uni-modal",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],on:{touchmove:function(t){t.preventDefault()}}},[n("div",{staticClass:"uni-mask"}),n("div",{staticClass:"uni-modal"},[t.title?n("div",{staticClass:"uni-modal__hd"},[n("strong",{staticClass:"uni-modal__title"},[t._v(t._s(t.title))])]):t._e(),n("div",{staticClass:"uni-modal__bd",on:{touchmove:function(t){t.stopPropagation()}}},[t._v(t._s(t.content))]),n("div",{staticClass:"uni-modal__ft"},[t.showCancel?n("div",{staticClass:"uni-modal__btn uni-modal__btn_default",style:{color:t.cancelColor},on:{click:function(e){return t._close("cancel")}}},[t._v(t._s(t.cancelText))]):t._e(),n("div",{staticClass:"uni-modal__btn uni-modal__btn_primary",style:{color:t.confirmColor},on:{click:function(e){return t._close("confirm")}}},[t._v(t._s(t.confirmText))])])])])],1)},m=[],b=n("5a56"),y={name:"Modal",mixins:[b["default"]],props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"取消"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"确定"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!1}},methods:{_close:function(t){this.$emit("close",t)}}},_=y,w=(n("2765"),Object(s["a"])(_,g,m,!1,null,null,null)),S=w.exports,k=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-actionsheet",{on:{touchmove:function(t){t.preventDefault()}}},[n("transition",{attrs:{name:"uni-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"uni-mask",on:{click:function(e){return t._close(-1)}}})]),n("div",{staticClass:"uni-actionsheet",class:{"uni-actionsheet_toggle":t.visible}},[n("div",{staticClass:"uni-actionsheet__menu"},[t.title?n("div",{staticClass:"uni-actionsheet__title"},[t._v(t._s(t.title))]):t._e(),t._l(t.itemList,(function(e,r){return n("div",{key:r,staticClass:"uni-actionsheet__cell",style:{color:t.itemColor},on:{click:function(e){return t._close(r)}}},[t._v(t._s(e))])}))],2),n("div",{staticClass:"uni-actionsheet__action"},[n("div",{staticClass:"uni-actionsheet__cell",style:{color:t.itemColor},on:{click:function(e){return t._close(-1)}}},[t._v("取消")])])])],1)},x=[],T={name:"ActionSheet",props:{title:{type:String,default:""},itemList:{type:Array,default:function(){return[]}},itemColor:{type:String,default:"#000000"},visible:{type:Boolean,default:!1}},methods:{_close:function(t){this.$emit("close",t)}}},C=T,O=(n("4fef"),Object(s["a"])(C,k,x,!1,null,null,null)),E=O.exports,j={Toast:v,Modal:S,ActionSheet:E};function A(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function M(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?A(Object(n),!0).forEach((function(e){$(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function $(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e["a"]=M({TabBar:u},j)},"82b9":function(t,e,n){function r(t){return function(e,n){e&&(n[t]=Math.round(e))}}n.r(e),n.d(e,"canvasGetImageData",(function(){return i})),n.d(e,"canvasPutImageData",(function(){return o})),n.d(e,"canvasToTempFilePath",(function(){return s})),n.d(e,"drawCanvas",(function(){return c}));var i={canvasId:{type:String,required:!0},x:{type:Number,required:!0,validator:r("x")},y:{type:Number,required:!0,validator:r("y")},width:{type:Number,required:!0,validator:r("width")},height:{type:Number,required:!0,validator:r("height")}},o={canvasId:{type:String,required:!0},data:{type:Uint8ClampedArray,required:!0},x:{type:Number,required:!0,validator:r("x")},y:{type:Number,required:!0,validator:r("y")},width:{type:Number,required:!0,validator:r("width")},height:{type:Number,validator:r("height")}},a={PNG:"png",JPG:"jpeg"},s={x:{type:Number,default:0,validator:r("x")},y:{type:Number,default:0,validator:r("y")},width:{type:Number,validator:r("width")},height:{type:Number,validator:r("height")},destWidth:{type:Number,validator:r("destWidth")},destHeight:{type:Number,validator:r("destHeight")},canvasId:{type:String,require:!0},fileType:{type:String,validator:function(t,e){t=(t||"").toUpperCase(),e.fileType=t in a?a[t]:a.PNG}},quality:{type:Number,validator:function(t,e){t=Math.floor(t),e.quality=t>0&&t<1?t:1}}},c={canvasId:{type:String,require:!0},actions:{type:Array,require:!0},reserve:{type:Boolean,default:!1}}},"82c2":function(t,e,n){n.r(e),n.d(e,"request",(function(){return h}));var r=n("f2b3"),i=n("a118"),o=n("db70");function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}var u=Object.create(null);function l(t,e){if("string"===typeof t.data&&65279===t.data.charCodeAt(0)&&(t.data=t.data.substr(1)),t.statusCode=parseInt(t.statusCode,10),Object(r["h"])(t.header)&&(t.header=Object.keys(t.header).reduce((function(e,n){var r=t.header[n];return Array.isArray(r)?e[n]=r.join(","):"string"===typeof r&&(e[n]=r),e}),{})),e.dataType&&"json"===e.dataType.toLowerCase())try{t.data=JSON.parse(t.data)}catch(n){}return t}Object(o["d"])("onRequestTaskStateChange",(function(t){var e=t.requestTaskId,n=t.state,r=t.data,o=t.statusCode,a=t.header,s=t.errMsg,c=u[e]||{},f=c.args,h=c.callbackId;if(h)switch(delete u[e],n){case"success":Object(i["a"])(h,l({data:r,statusCode:o,header:a,errMsg:"request:ok"},f));break;case"fail":Object(i["a"])(h,{errMsg:"request:fail "+s});break}}));var f=function(){function t(e){a(this,t),this.id=e}return c(t,[{key:"abort",value:function(){Object(o["c"])("operateRequestTask",{requestTaskId:this.id,operationType:"abort"})}},{key:"offHeadersReceived",value:function(){}},{key:"onHeadersReceived",value:function(){}}]),t}();function h(t,e){var n=Object(o["c"])("createRequestTask",t),r=n.requestTaskId;return u[r]={args:t,callbackId:e},new f(r)}},8390:function(t,e){(function(){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(256),r=0;r<t.length;r++)n[t.charCodeAt(r)]=r;e.encode=function(e){var n,r=new Uint8Array(e),i=r.length,o="";for(n=0;n<i;n+=3)o+=t[r[n]>>2],o+=t[(3&r[n])<<4|r[n+1]>>4],o+=t[(15&r[n+1])<<2|r[n+2]>>6],o+=t[63&r[n+2]];return i%3===2?o=o.substring(0,o.length-1)+"=":i%3===1&&(o=o.substring(0,o.length-2)+"=="),o},e.decode=function(t){var e,r,i,o,a,s=.75*t.length,c=t.length,u=0;"="===t[t.length-1]&&(s--,"="===t[t.length-2]&&s--);var l=new ArrayBuffer(s),f=new Uint8Array(l);for(e=0;e<c;e+=4)r=n[t.charCodeAt(e)],i=n[t.charCodeAt(e+1)],o=n[t.charCodeAt(e+2)],a=n[t.charCodeAt(e+3)],f[u++]=r<<2|i>>4,f[u++]=(15&i)<<4|o>>2,f[u++]=(3&o)<<6|63&a;return l}})()},"83a6":function(t,e,n){e["a"]={data:function(){return{hovering:!1}},props:{hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}},methods:{_hoverTouchStart:function(t){var e=this;t._hoverPropagationStopped||this.hoverClass&&"none"!==this.hoverClass&&!this.disabled&&(t.touches.length>1||(this.hoverStopPropagation&&(t._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout((function(){e.hovering=!0,e._hoverTouch||e._hoverReset()}),this.hoverStartTime)))},_hoverTouchEnd:function(t){this._hoverTouch=!1,this.hovering&&this._hoverReset()},_hoverReset:function(){var t=this;requestAnimationFrame((function(){clearTimeout(t._hoverStayTimer),t._hoverStayTimer=setTimeout((function(){t.hovering=!1}),t.hoverStayTime)}))},_hoverTouchCancel:function(t){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}}},"84e0":function(t,e,n){n.r(e),function(t){function r(e){var n=getCurrentPages();return n.length&&t.publishHandler("pageScrollTo",e,n[n.length-1].$page.id),{}}n.d(e,"pageScrollTo",(function(){return r}))}.call(this,n("0dd1"))},8542:function(t,e,n){n.d(e,"a",(function(){return b})),n.d(e,"d",(function(){return y})),n.d(e,"e",(function(){return x})),n.d(e,"b",(function(){return C})),n.d(e,"c",(function(){return O}));var r=n("f2b3");function o(t){return c(t)||s(t)||a()}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function s(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function c(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function u(t){return u="function"===typeof Symbol&&"symbol"===(0,i.default)(Symbol.iterator)?function(t){return(0,i.default)(t)}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":(0,i.default)(t)},u(t)}var l=["invoke","success","fail","complete","returnValue"],f={},h={};function d(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?p(n):n}function p(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function v(t,e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}function g(t,e){Object.keys(e).forEach((function(n){-1!==l.indexOf(n)&&Object(r["g"])(e[n])&&(t[n]=d(t[n],e[n]))}))}function m(t,e){t&&e&&Object.keys(e).forEach((function(n){-1!==l.indexOf(n)&&Object(r["g"])(e[n])&&v(t[n],e[n])}))}function b(t,e){"string"===typeof t&&Object(r["h"])(e)?g(h[t]||(h[t]={}),e):Object(r["h"])(t)&&g(f,t)}function y(t,e){"string"===typeof t?Object(r["h"])(e)?m(h[t],e):delete h[t]:Object(r["h"])(t)&&m(f,t)}function _(t){return function(e){return t(e)||e}}function w(t){return!!t&&("object"===u(t)||"function"===typeof t)&&"function"===typeof t.then}function S(t,e){for(var n=!1,r=0;r<t.length;r++){var i=t[r];if(n)n=Promise.then(_(i));else{var o=i(e);if(w(o)&&(n=Promise.resolve(o)),!1===o)return{then:function(){}}}}return n||{then:function(t){return t(e)}}}function k(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(n){if(Array.isArray(t[n])){var i=e[n];e[n]=function(e){S(t[n],e).then((function(t){return Object(r["g"])(i)&&i(t)||t}))}}})),e}function x(t,e){var n=[];Array.isArray(f.returnValue)&&n.push.apply(n,o(f.returnValue));var r=h[t];return r&&Array.isArray(r.returnValue)&&n.push.apply(n,o(r.returnValue)),n.forEach((function(t){e=t(e)||e})),e}function T(t){var e=Object.create(null);Object.keys(f).forEach((function(t){"returnValue"!==t&&(e[t]=f[t].slice())}));var n=h[t];return n&&Object.keys(n).forEach((function(t){"returnValue"!==t&&(e[t]=(e[t]||[]).concat(n[t]))})),e}function C(t,e,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];var a=T(t);if(a&&Object.keys(a).length){if(Array.isArray(a.invoke)){var s=S(a.invoke,n);return s.then((function(t){return e.apply(void 0,[k(a,t)].concat(i))}))}return e.apply(void 0,[k(a,n)].concat(i))}return e.apply(void 0,[n].concat(i))}var O={returnValue:function(t){return w(t)?t.then((function(t){return t[1]})).catch((function(t){return t[0]})):t}}},"854d":function(t,e,n){var r=n("2883"),i=n.n(r);i.a},"856e":function(t,e,n){var r=n("01d0"),i=n.n(r);i.a},"85b6":function(t,e,n){n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return s}));var r=["SystemAsyncLoading","SystemAsyncError"];function i(t){return!(!t.$parent||"PageBody"!==t.$parent.$options.name)&&-1===r.indexOf(t.$options.name)}function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return Array.isArray(t[e])&&t[e].length}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=JSON.parse(JSON.stringify(t)),n=Object.keys(e),r=n.length;if(r)for(var i=0;i<r;i++){var o=n[i],a=o.length;if("v"===o.substr(0,1)&&(9===a||10===a)){delete e[o];break}}return e}function s(t){return t+="",-1!==t.indexOf("upx")?uni.upx2px(parseInt(t)||0):parseInt(t)||0}},8793:function(t,e,n){var r={"./action-sheet.js":"626d","./index.js":"f1ea","./modal.js":"ee4f","./toast.js":"77e0","./transition.js":"5a56"};function i(t){var e=o(t);return n(e)}function o(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=o,t.exports=i,i.id="8793"},8842:function(t,e,n){n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-movable-view",t._g({},t.$listeners),[n("v-uni-resize-sensor",{on:{resize:t.setParent}}),t._t("default")],2)},i=[],o=n("ba15");function a(t,e,n){return t>e-n&&t<e+n}function s(t,e){return a(t,0,e)}function c(){}function u(t,e){this._m=t,this._f=1e3*e,this._startTime=0,this._v=0}function l(t,e,n){this._m=t,this._k=e,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function f(t,e,n){this._springX=new l(t,e,n),this._springY=new l(t,e,n),this._springScale=new l(t,e,n),this._startTime=0}c.prototype.x=function(t){return Math.sqrt(t)},u.prototype.setV=function(t,e){var n=Math.pow(Math.pow(t,2)+Math.pow(e,2),.5);this._x_v=t,this._y_v=e,this._x_a=-this._f*this._x_v/n,this._y_a=-this._f*this._y_v/n,this._t=Math.abs(t/this._x_a)||Math.abs(e/this._y_a),this._lastDt=null,this._startTime=(new Date).getTime()},u.prototype.setS=function(t,e){this._x_s=t,this._y_s=e},u.prototype.s=function(t){void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),t>this._t&&(t=this._t,this._lastDt=t);var e=this._x_v*t+.5*this._x_a*Math.pow(t,2)+this._x_s,n=this._y_v*t+.5*this._y_a*Math.pow(t,2)+this._y_s;return(this._x_a>0&&e<this._endPositionX||this._x_a<0&&e>this._endPositionX)&&(e=this._endPositionX),(this._y_a>0&&n<this._endPositionY||this._y_a<0&&n>this._endPositionY)&&(n=this._endPositionY),{x:e,y:n}},u.prototype.ds=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),t>this._t&&(t=this._t),{dx:this._x_v+this._x_a*t,dy:this._y_v+this._y_a*t}},u.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},u.prototype.dt=function(){return-this._x_v/this._x_a},u.prototype.done=function(){var t=a(this.s().x,this._endPositionX)||a(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,t},u.prototype.setEnd=function(t,e){this._endPositionX=t,this._endPositionY=e},u.prototype.reconfigure=function(t,e){this._m=t,this._f=1e3*e},l.prototype._solve=function(t,e){var n=this._c,r=this._m,i=this._k,o=n*n-4*r*i;if(0===o){var a=-n/(2*r),s=t,c=e/(a*t);return{x:function(t){return(s+c*t)*Math.pow(Math.E,a*t)},dx:function(t){var e=Math.pow(Math.E,a*t);return a*(s+c*t)*e+c*e}}}if(o>0){var u=(-n-Math.sqrt(o))/(2*r),l=(-n+Math.sqrt(o))/(2*r),f=(e-u*t)/(l-u),h=t-f;return{x:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),h*e+f*n},dx:function(t){var e,n;return t===this._t&&(e=this._powER1T,n=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),n||(n=this._powER2T=Math.pow(Math.E,l*t)),h*u*e+f*l*n}}}var d=Math.sqrt(4*r*i-n*n)/(2*r),p=-n/2*r,v=t,g=(e-p*t)/d;return{x:function(t){return Math.pow(Math.E,p*t)*(v*Math.cos(d*t)+g*Math.sin(d*t))},dx:function(t){var e=Math.pow(Math.E,p*t),n=Math.cos(d*t),r=Math.sin(d*t);return e*(g*d*n-v*d*r)+p*e*(g*r+v*n)}}},l.prototype.x=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0},l.prototype.dx=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0},l.prototype.setEnd=function(t,e,n){if(n||(n=(new Date).getTime()),t!==this._endPosition||!s(e,.1)){e=e||0;var r=this._endPosition;this._solution&&(s(e,.1)&&(e=this._solution.dx((n-this._startTime)/1e3)),r=this._solution.x((n-this._startTime)/1e3),s(e,.1)&&(e=0),s(r,.1)&&(r=0),r+=this._endPosition),this._solution&&s(r-t,.1)&&s(e,.1)||(this._endPosition=t,this._solution=this._solve(r-this._endPosition,e),this._startTime=n)}},l.prototype.snap=function(t){this._startTime=(new Date).getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}},l.prototype.done=function(t){return t||(t=(new Date).getTime()),a(this.x(),this._endPosition,.1)&&s(this.dx(),.1)},l.prototype.reconfigure=function(t,e,n){this._m=t,this._k=e,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},l.prototype.springConstant=function(){return this._k},l.prototype.damping=function(){return this._c},l.prototype.configuration=function(){function t(t,e){t.reconfigure(1,e,t.damping())}function e(t,e){t.reconfigure(1,t.springConstant(),e)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:e.bind(this,this),min:1,max:500}]},f.prototype.setEnd=function(t,e,n,r){var i=(new Date).getTime();this._springX.setEnd(t,r,i),this._springY.setEnd(e,r,i),this._springScale.setEnd(n,r,i),this._startTime=i},f.prototype.x=function(){var t=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(t),y:this._springY.x(t),scale:this._springScale.x(t)}},f.prototype.done=function(){var t=(new Date).getTime();return this._springX.done(t)&&this._springY.done(t)&&this._springScale.done(t)},f.prototype.reconfigure=function(t,e,n){this._springX.reconfigure(t,e,n),this._springY.reconfigure(t,e,n),this._springScale.reconfigure(t,e,n)};var h=n("f2b3"),d=!1;function p(t){d||(d=!0,requestAnimationFrame((function(){t(),d=!1})))}function v(t,e){if(t===e)return 0;var n=t.offsetLeft;return t.offsetParent?n+=v(t.offsetParent,e):0}function g(t,e){if(t===e)return 0;var n=t.offsetTop;return t.offsetParent?n+=g(t.offsetParent,e):0}function m(t,e){return+((1e3*t-1e3*e)/1e3).toFixed(1)}function b(t,e,n){var r=function(t){t&&t.id&&cancelAnimationFrame(t.id),t&&(t.cancelled=!0)},i={id:0,cancelled:!1};function o(e,n,r,i){if(!e||!e.cancelled){r(n);var a=t.done();a||e.cancelled||(e.id=requestAnimationFrame(o.bind(null,e,n,r,i))),a&&i&&i(n)}}return o(i,t,e,n),{cancel:r.bind(null,i),model:t}}var y={name:"MovableView",mixins:[o["a"]],props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},data:function(){return{xSync:this._getPx(this.x),ySync:this._getPx(this.y),scaleValueSync:Number(this.scaleValue)||1,width:0,height:0,minX:0,minY:0,maxX:0,maxY:0}},computed:{dampingNumber:function(){var t=Number(this.damping);return isNaN(t)?20:t},frictionNumber:function(){var t=Number(this.friction);return isNaN(t)||t<=0?2:t},scaleMinNumber:function(){var t=Number(this.scaleMin);return isNaN(t)?.5:t},scaleMaxNumber:function(){var t=Number(this.scaleMax);return isNaN(t)?10:t},xMove:function(){return"all"===this.direction||"horizontal"===this.direction},yMove:function(){return"all"===this.direction||"vertical"===this.direction}},watch:{x:function(t){this.xSync=this._getPx(t)},xSync:function(t){this._setX(t)},y:function(t){this.ySync=this._getPx(t)},ySync:function(t){this._setY(t)},scaleValue:function(t){this.scaleValueSync=Number(t)||0},scaleValueSync:function(t){this._setScaleValue(t)},scaleMinNumber:function(){this._setScaleMinOrMax()},scaleMaxNumber:function(){this._setScaleMinOrMax()}},created:function(){this._offset={x:0,y:0},this._scaleOffset={x:0,y:0},this._translateX=0,this._translateY=0,this._scale=1,this._oldScale=1,this._STD=new f(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this._friction=new u(1,this.frictionNumber),this._declineX=new c,this._declineY=new c,this.__touchInfo={historyX:[0,0],historyY:[0,0],historyT:[0,0]}},mounted:function(){this.touchtrack(this.$el,"_onTrack"),this.setParent(),this._friction.reconfigure(1,this.frictionNumber),this._STD.reconfigure(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this.$el.style.transformOrigin="center"},methods:{_getPx:function(t){return/\d+[ur]px$/i.test(t)?uni.upx2px(parseFloat(t)):Number(t)||0},_setX:function(t){if(this.xMove){if(t+this._scaleOffset.x===this._translateX)return this._translateX;this._SFA&&this._SFA.cancel(),this._animationTo(t+this._scaleOffset.x,this.ySync+this._scaleOffset.y,this._scale)}return t},_setY:function(t){if(this.yMove){if(t+this._scaleOffset.y===this._translateY)return this._translateY;this._SFA&&this._SFA.cancel(),this._animationTo(this.xSync+this._scaleOffset.x,t+this._scaleOffset.y,this._scale)}return t},_setScaleMinOrMax:function(){if(!this.scale)return!1;this._updateScale(this._scale,!0),this._updateOldScale(this._scale)},_setScaleValue:function(t){return!!this.scale&&(t=this._adjustScale(t),this._updateScale(t,!0),this._updateOldScale(t),t)},__handleTouchStart:function(){this._isScaling||this.disabled||(Object(h["b"])({disable:!0}),this._FA&&this._FA.cancel(),this._SFA&&this._SFA.cancel(),this.__touchInfo.historyX=[0,0],this.__touchInfo.historyY=[0,0],this.__touchInfo.historyT=[0,0],this.xMove&&(this.__baseX=this._translateX),this.yMove&&(this.__baseY=this._translateY),this.$el.style.willChange="transform",this._checkCanMove=null,this._firstMoveDirection=null,this._isTouching=!0)},__handleTouchMove:function(t){var e=this;if(!this._isScaling&&!this.disabled&&this._isTouching){var n=this._translateX,r=this._translateY;if(null===this._firstMoveDirection&&(this._firstMoveDirection=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),this.xMove&&(n=t.detail.dx+this.__baseX,this.__touchInfo.historyX.shift(),this.__touchInfo.historyX.push(n),this.yMove||null!==this._checkCanMove||(this._checkCanMove=Math.abs(t.detail.dx/t.detail.dy)<1)),this.yMove&&(r=t.detail.dy+this.__baseY,this.__touchInfo.historyY.shift(),this.__touchInfo.historyY.push(r),this.xMove||null!==this._checkCanMove||(this._checkCanMove=Math.abs(t.detail.dy/t.detail.dx)<1)),this.__touchInfo.historyT.shift(),this.__touchInfo.historyT.push(t.detail.timeStamp),!this._checkCanMove){t.preventDefault();var i="touch";n<this.minX?this.outOfBounds?(i="touch-out-of-bounds",n=this.minX-this._declineX.x(this.minX-n)):n=this.minX:n>this.maxX&&(this.outOfBounds?(i="touch-out-of-bounds",n=this.maxX+this._declineX.x(n-this.maxX)):n=this.maxX),r<this.minY?this.outOfBounds?(i="touch-out-of-bounds",r=this.minY-this._declineY.x(this.minY-r)):r=this.minY:r>this.maxY&&(this.outOfBounds?(i="touch-out-of-bounds",r=this.maxY+this._declineY.x(r-this.maxY)):r=this.maxY),p((function(){e._setTransform(n,r,e._scale,i)}))}}},__handleTouchEnd:function(){var t=this;if(!this._isScaling&&!this.disabled&&this._isTouching&&(Object(h["b"])({disable:!0}),this.$el.style.willChange="auto",this._isTouching=!1,!this._checkCanMove&&!this._revise("out-of-bounds")&&this.inertia)){var e=1e3*(this.__touchInfo.historyX[1]-this.__touchInfo.historyX[0])/(this.__touchInfo.historyT[1]-this.__touchInfo.historyT[0]),n=1e3*(this.__touchInfo.historyY[1]-this.__touchInfo.historyY[0])/(this.__touchInfo.historyT[1]-this.__touchInfo.historyT[0]);this._friction.setV(e,n),this._friction.setS(this._translateX,this._translateY);var r=this._friction.delta().x,i=this._friction.delta().y,o=r+this._translateX,a=i+this._translateY;o<this.minX?(o=this.minX,a=this._translateY+(this.minX-this._translateX)*i/r):o>this.maxX&&(o=this.maxX,a=this._translateY+(this.maxX-this._translateX)*i/r),a<this.minY?(a=this.minY,o=this._translateX+(this.minY-this._translateY)*r/i):a>this.maxY&&(a=this.maxY,o=this._translateX+(this.maxY-this._translateY)*r/i),this._friction.setEnd(o,a),this._FA=b(this._friction,(function(){var e=t._friction.s(),n=e.x,r=e.y;t._setTransform(n,r,t._scale,"friction")}),(function(){t._FA.cancel()}))}},_onTrack:function(t){switch(t.detail.state){case"start":this.__handleTouchStart();break;case"move":this.__handleTouchMove(t);break;case"end":this.__handleTouchEnd()}},_getLimitXY:function(t,e){var n=!1;return t>this.maxX?(t=this.maxX,n=!0):t<this.minX&&(t=this.minX,n=!0),e>this.maxY?(e=this.maxY,n=!0):e<this.minY&&(e=this.minY,n=!0),{x:t,y:e,outOfBounds:n}},setParent:function(){if(this.$parent._isMounted){this._FA&&this._FA.cancel(),this._SFA&&this._SFA.cancel();var t=this.scale?this.scaleValueSync:1;this._updateOffset(),this._updateWH(t),this._updateBoundary(),this._translateX=this.xSync+this._scaleOffset.x,this._translateY=this.ySync+this._scaleOffset.y;var e=this._getLimitXY(this._translateX,this._translateY),n=e.x,r=e.y;this._setTransform(n,r,t,"",!0),this._updateOldScale(t)}},_updateOffset:function(){this._offset.x=v(this.$el,this.$parent.$el),this._offset.y=g(this.$el,this.$parent.$el)},_updateWH:function(t){t=t||this._scale,t=this._adjustScale(t);var e=this.$el.getBoundingClientRect();this.height=e.height/this._scale,this.width=e.width/this._scale;var n=this.height*t,r=this.width*t;this._scaleOffset.x=(r-this.width)/2,this._scaleOffset.y=(n-this.height)/2},_updateBoundary:function(){var t=0-this._offset.x+this._scaleOffset.x,e=this.$parent.width-this.width-this._offset.x-this._scaleOffset.x;this.minX=Math.min(t,e),this.maxX=Math.max(t,e);var n=0-this._offset.y+this._scaleOffset.y,r=this.$parent.height-this.height-this._offset.y-this._scaleOffset.y;this.minY=Math.min(n,r),this.maxY=Math.max(n,r)},_beginScale:function(){this._isScaling=!0},_endScale:function(){this._isScaling=!1,this._updateOldScale(this._scale)},_setScale:function(t){this.scale&&(t=this._adjustScale(t),t=this._oldScale*t,this._beginScale(),this._updateScale(t))},_updateScale:function(t,e){var n=this;if(this.scale){t=this._adjustScale(t),this._updateWH(t),this._updateBoundary();var r=this._getLimitXY(this._translateX,this._translateY),i=r.x,o=r.y;e?this._animationTo(i,o,t,"",!0,!0):p((function(){n._setTransform(i,o,t,"",!0,!0)}))}},_updateOldScale:function(t){this._oldScale=t},_adjustScale:function(t){return t=Math.max(.5,this.scaleMinNumber,t),t=Math.min(10,this.scaleMaxNumber,t),t},_animationTo:function(t,e,n,r,i,o){var a=this;this._FA&&this._FA.cancel(),this._SFA&&this._SFA.cancel(),this.xMove||(t=this._translateX),this.yMove||(e=this._translateY),this.scale||(n=this._scale);var s=this._getLimitXY(t,e);t=s.x,e=s.y,this.animation?(this._STD._springX._solution=null,this._STD._springY._solution=null,this._STD._springScale._solution=null,this._STD._springX._endPosition=this._translateX,this._STD._springY._endPosition=this._translateY,this._STD._springScale._endPosition=this._scale,this._STD.setEnd(t,e,n,1),this._SFA=b(this._STD,(function(){var t=a._STD.x(),e=t.x,n=t.y,s=t.scale;a._setTransform(e,n,s,r,i,o)}),(function(){a._SFA.cancel()}))):this._setTransform(t,e,n,r,i,o)},_revise:function(t){var e=this._getLimitXY(this._translateX,this._translateY),n=e.x,r=e.y,i=e.outOfBounds;return i&&this._animationTo(n,r,this._scale,t),i},_setTransform:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0;null!==t&&"NaN"!==t.toString()&&"number"===typeof t||(t=this._translateX||0),null!==e&&"NaN"!==e.toString()&&"number"===typeof e||(e=this._translateY||0),t=Number(t.toFixed(1)),e=Number(e.toFixed(1)),n=Number(n.toFixed(1)),this._translateX===t&&this._translateY===e||i||this.$trigger("change",{},{x:m(t,this._scaleOffset.x),y:m(e,this._scaleOffset.y),source:r}),this.scale||(n=this._scale),n=this._adjustScale(n),n=+n.toFixed(3),o&&n!==this._scale&&this.$trigger("scale",{},{x:t,y:e,scale:n});var a="translateX("+t+"px) translateY("+e+"px) translateZ(0px) scale("+n+")";this.$el.style.transform=a,this.$el.style.webkitTransform=a,this._translateX=t,this._translateY=e,this._scale=n}}},_=y,w=(n("7c2b"),n("2877")),S=Object(w["a"])(_,r,i,!1,null,null,null);e["default"]=S.exports},"893e":function(t,e,n){n.r(e),function(t,r){function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"connectSocket",(function(){return p})),n.d(e,"sendSocketMessage",(function(){return v})),n.d(e,"closeSocket",(function(){return g})),n.d(e,"onSocketOpen",(function(){return b})),n.d(e,"onSocketError",(function(){return y})),n.d(e,"onSocketMessage",(function(){return _})),n.d(e,"onSocketClose",(function(){return w}));var c=t,u=c.invokeCallbackHandler,l=["open","close","error","message"],f={},h=[],d=function(){function t(e,n,o){var a,c=this;i(this,t),s(this,"_webSocket",void 0);try{var d=this._webSocket=new WebSocket(e,n);d.binaryType="arraybuffer",this._callbacks={},l.forEach((function(t){c._callbacks[t]=[],d.addEventListener(t,(function(e){var n="message"===t?{data:e.data}:{};if(c._callbacks[t].forEach((function(e){try{e(n)}catch(i){r.error("thirdScriptError\n".concat(i,";at socketTask.on").concat(t[0].toUpperCase()+t.substr(1)," callback function\n"),i)}})),c===h[0]&&f[t]&&u(f[t],n),"error"===t||"close"===t){var i=h.indexOf(c);i>=0&&h.splice(i,1)}}))}));var p=["CLOSED","CLOSING","CONNECTING","OPEN","readyState"];p.forEach((function(t){Object.defineProperty(c,t,{get:function(){return d[t]}})}))}catch(v){a=v}o(a,this)}return a(t,[{key:"send",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.data,n=this._webSocket;try{if(n.readyState!==n.OPEN)throw new Error("SocketTask.readyState is not OPEN");n.send(e),this._callback(t,"sendSocketMessage:ok")}catch(r){this._callback(t,"sendSocketMessage:fail ".concat(r))}}},{key:"close",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._webSocket,n=[];n.push(t.code||1e3),"string"===typeof t.reason&&n.push(t.reason);try{e.close.apply(e,n),this._callback(t,"sendSocketMessage:ok")}catch(r){this._callback(t,"sendSocketMessage:fail ".concat(r))}}},{key:"_callback",value:function(t,e){var n=t.success,r=t.fail,i=t.complete,o={errMsg:e};/:ok$/.test(e)?"function"===typeof n&&n(o):"function"===typeof r&&r(o),"function"===typeof i&&i(o)}}]),t}();function p(t,e){var n=t.url,r=t.protocols;return new d(n,r,(function(t,n){t||h.push(n),u(e,{errMsg:"connectSocket:"+(t?"fail ".concat(t):"ok")})}))}function v(t,e){var n=h[0];n&&n.readyState===n.OPEN?n.send(Object.assign({},t,{complete:function(t){u(e,t)}})):u(e,{errMsg:"sendSocketMessage:fail WebSocket is not connected "})}function g(t,e){var n=h[0];n?n.close(Object.assign({},t,{complete:function(t){u(e,t)}})):u(e,{errMsg:"closeSocket:fail WebSocket is not connected"})}function m(t){return function(e){f[t]=e}}l.forEach((function(t){var e=t[0].toUpperCase()+t.substr(1);d.prototype["on".concat(e)]=function(e){this._callbacks[t].push(e)}}));var b=m("open"),y=m("error"),_=m("message"),w=m("close")}.call(this,n("0dd1"),n("3ad9")["default"])},"8a36":function(t,e,n){(function(t){var r=n("f2b3");e["a"]={props:{id:{type:String,default:""}},created:function(){var t=this;this._addListeners(this.id),this.$watch("id",(function(e,n){t._removeListeners(n,!0),t._addListeners(e,!0)}))},beforeDestroy:function(){this._removeListeners(this.id)},methods:{_addListeners:function(e,n){var i=this;if(!n||e){var o=this.$options.listeners;Object(r["h"])(o)&&Object.keys(o).forEach((function(r){n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&t.on("uni-".concat(r,"-").concat(i.$page.id,"-").concat(e),i[o[r]]):0===r.indexOf("@")?i.$on("uni-".concat(r.substr(1)),i[o[r]]):0===r.indexOf("uni-")?t.on(r,i[o[r]]):e&&t.on("uni-".concat(r,"-").concat(i.$page.id,"-").concat(e),i[o[r]])}))}},_removeListeners:function(e,n){var i=this;if(!n||e){var o=this.$options.listeners;Object(r["h"])(o)&&Object.keys(o).forEach((function(r){n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&t.off("uni-".concat(r,"-").concat(i.$page.id,"-").concat(e),i[o[r]]):0===r.indexOf("@")?i.$off("uni-".concat(r.substr(1)),i[o[r]]):0===r.indexOf("uni-")?t.off(r,i[o[r]]):e&&t.off("uni-".concat(r,"-").concat(i.$page.id,"-").concat(e),i[o[r]])}))}}}}}).call(this,n("501c"))},"8aec":function(t,e,n){var r=n("5363"),i=n("72b3");function o(t,e,n){this._extent=t,this._friction=e||new r["a"](.01),this._spring=n||new i["a"](1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}function a(t,e,n){function r(t,e,n,i){if(!t||!t.cancelled){n(e);var o=e.done();o||t.cancelled||(t.id=requestAnimationFrame(r.bind(null,t,e,n,i))),o&&i&&i(e)}}function i(t){t&&t.id&&cancelAnimationFrame(t.id),t&&(t.cancelled=!0)}var o={id:0,cancelled:!1};return r(o,t,e,n),{cancel:i.bind(null,o),model:t}}function s(t,e){e=e||{},this._element=t,this._options=e,this._enableSnap=e.enableSnap||!1,this._itemSize=e.itemSize||0,this._enableX=e.enableX||!1,this._enableY=e.enableY||!1,this._shouldDispatchScrollEvent=!!e.onScroll,this._enableX?(this._extent=(e.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=e.scrollWidth):(this._extent=(e.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=e.scrollHeight),this._position=0,this._scroll=new o(this._extent,e.friction,e.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}o.prototype.snap=function(t,e){this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(e)},o.prototype.set=function(t,e){this._friction.set(t,e),t>0&&e>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(0)):t<-this._extent&&e<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()},o.prototype.x=function(t){if(!this._startTime)return 0;if(t||(t=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;var e=this._friction.x(t),n=this.dx(t);return(e>0&&n>=0||e<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),e<-this._extent?this._springOffset=-this._extent:this._springOffset=0,e=this._spring.x()+this._springOffset),e},o.prototype.dx=function(t){var e=0;return e=this._lastTime===t?this._lastDx:this._springing?this._spring.dx(t):this._friction.dx(t),this._lastTime=t,this._lastDx=e,e},o.prototype.done=function(){return this._springing?this._spring.done():this._friction.done()},o.prototype.setVelocityByEnd=function(t){this._friction.setVelocityByEnd(t)},o.prototype.configuration=function(){var t=this._friction.configuration();return t.push.apply(t,this._spring.configuration()),t},s.prototype.onTouchStart=function(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()},s.prototype.onTouchMove=function(t,e){var n=this._startPosition;this._enableX?n+=t:this._enableY&&(n+=e),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()},s.prototype.onTouchEnd=function(t,e,n){var r=this;if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(e)<this._itemSize&&Math.abs(n.y)<300||Math.abs(n.y)<150))return void this.snap();if(this._enableX&&(Math.abs(t)<this._itemSize&&Math.abs(n.x)<300||Math.abs(n.x)<150))return void this.snap()}if(this._enableX?this._scroll.set(this._position,n.x):this._enableY&&this._scroll.set(this._position,n.y),this._enableSnap){var i=this._scroll._friction.x(100),o=i%this._itemSize,s=Math.abs(o)>this._itemSize/2?i-(this._itemSize-Math.abs(o)):i-o;s<=0&&s>=-this._extent&&this._scroll.setVelocityByEnd(s)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=a(this._scroll,(function(){var t=Date.now(),e=(t-r._scroll._startTime)/1e3,n=r._scroll.x(e);r._position=n,r.updatePosition();var i=r._scroll.dx(e);r._shouldDispatchScrollEvent&&t-r._lastTime>r._lastDelay&&(r.dispatchScroll(),r._lastDelay=Math.abs(2e3/i),r._lastTime=t)}),(function(){r._enableSnap&&(s<=0&&s>=-r._extent&&(r._position=s,r.updatePosition()),"function"===typeof r._options.onSnap&&r._options.onSnap(Math.floor(Math.abs(r._position)/r._itemSize))),r._shouldDispatchScrollEvent&&r.dispatchScroll(),r._scrolling=!1}))},s.prototype.onTransitionEnd=function(){this._element.style.transition="",this._element.style.webkitTransition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._element.removeEventListener("webkitTransitionEnd",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()},s.prototype.snap=function(){var t=this._itemSize,e=this._position%t,n=Math.abs(e)>this._itemSize/2?this._position-(t-Math.abs(e)):this._position-e;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),"function"===typeof this._options.onSnap&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))},s.prototype.scrollTo=function(t,e){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"===typeof t&&(this._position=-t),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0),this._element.style.transition="transform "+(e||.2)+"s ease-out",this._element.style.webkitTransition="-webkit-transform "+(e||.2)+"s ease-out",this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd),this._element.addEventListener("webkitTransitionEnd",this._onTransitionEnd)},s.prototype.dispatchScroll=function(){if("function"===typeof this._options.onScroll&&Math.round(this._lastPos)!==Math.round(this._position)){this._lastPos=this._position;var t={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(t)}},s.prototype.update=function(t,e,n){var r=0,i=this._position;this._enableX?(r=this._element.childNodes.length?(e||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=e):(r=this._element.childNodes.length?(e||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=e),"number"===typeof t&&(this._position=-t),this._position<-r?this._position=-r:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),i!==this._position&&(this.dispatchScroll(),"function"===typeof this._options.onSnap&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=r,this._scroll._extent=r},s.prototype.updatePosition=function(){var t="";this._enableX?t="translateX("+this._position+"px) translateZ(0)":this._enableY&&(t="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=t,this._element.style.transform=t},s.prototype.isScrolling=function(){return this._scrolling||this._snapping},e["a"]={methods:{initScroller:function(t,e){this._touchInfo={trackingID:-1,maxDy:0,maxDx:0},this._scroller=new s(t,e),this.__handleTouchStart=this._handleTouchStart.bind(this),this.__handleTouchMove=this._handleTouchMove.bind(this),this.__handleTouchEnd=this._handleTouchEnd.bind(this),this._initedScroller=!0},_findDelta:function(t){var e=this._touchInfo;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:t.screenX-e.x,y:t.screenY-e.y}},_handleTouchStart:function(t){var e=this._touchInfo,n=this._scroller;n&&("start"===t.detail.state?(e.trackingID="touch",e.x=t.detail.x,e.y=t.detail.y):(e.trackingID="mouse",e.x=t.screenX,e.y=t.screenY),e.maxDx=0,e.maxDy=0,e.historyX=[0],e.historyY=[0],e.historyTime=[t.det

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。