(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00b4":function(t,e,n){"use strict";n("ac1f");var i=n("23e7"),r=n("c65b"),o=n("1626"),a=n("825a"),s=n("577e"),c=function(){var t=!1,e=/[ac]/;return e.exec=function(){return t=!0,/./.exec.apply(this,arguments)},!0===e.test("abc")&&t}(),u=/./.test;i({target:"RegExp",proto:!0,forced:!c},{test:function(t){var e=a(this),n=s(t),i=e.exec;if(!o(i))return r(u,e,n);var c=r(i,e,n);return null!==c&&(a(c),!0)}})},"00ee":function(t,e,n){var i=n("b622"),r=i("toStringTag"),o={};o[r]="z",t.exports="[object z]"===String(o)},"01b4":function(t,e){var n=function(){this.head=null,this.tail=null};n.prototype={add:function(t){var e={item:t,next:null};this.head?this.tail.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}},t.exports=n},"0366":function(t,e,n){var i=n("4625"),r=n("59ed"),o=n("40d5"),a=i(i.bind);t.exports=function(t,e){return r(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},"04d1":function(t,e,n){var i=n("342f"),r=i.match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},"04f8":function(t,e,n){var i=n("2d00"),r=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},"0538":function(t,e,n){"use strict";var i=n("e330"),r=n("59ed"),o=n("861d"),a=n("1a2d"),s=n("f36a"),c=n("40d5"),u=Function,l=i([].concat),f=i([].join),d={},h=function(t,e,n){if(!a(d,e)){for(var i=[],r=0;r]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,i,f,d){var h=n+t.length,p=i.length,v=l;return void 0!==f&&(f=r(f),v=u),s(d,v,(function(r,s){var u;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return c(e,0,n);case"'":return c(e,h);case"<":u=f[c(s,1,-1)];break;default:var l=+s;if(0===l)return r;if(l>p){var d=o(l/10);return 0===d?r:d<=p?void 0===i[d-1]?a(s,1):i[d-1]+a(s,1):r}u=i[l-1]}return void 0===u?"":u}))}},"0cfb":function(t,e,n){var i=n("83ab"),r=n("d039"),o=n("cc12");t.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d21":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(Array.isArray(t))return t}},"0d26":function(t,e,n){var i=n("e330"),r=Error,o=i("".replace),a=function(t){return String(r("zxcasd").stack)}(),s=/\n\s*at [^:]*:[^\n]*/,c=s.test(a);t.exports=function(t,e){if(c&&"string"==typeof t&&!r.prepareStackTrace)while(e--)t=o(t,s,"");return t}},"0d51":function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},"0eb6":function(t,e,n){"use strict";var i=n("23e7"),r=n("7c37"),o=n("d066"),a=n("d039"),s=n("7c73"),c=n("5c6c"),u=n("9bf2").f,l=n("cb2d"),f=n("edd0"),d=n("1a2d"),h=n("19aa"),p=n("825a"),v=n("aa1f"),g=n("e391"),m=n("cf98"),b=n("0d26"),y=n("69f3"),_=n("83ab"),w=n("c430"),S=o("Error"),k=o("DOMException")||function(){try{var t=o("MessageChannel")||r("worker_threads").MessageChannel;(new t).port1.postMessage(new WeakMap)}catch(e){if("DATA_CLONE_ERR"==e.name&&25==e.code)return e.constructor}}(),x=k&&k.prototype,C=S.prototype,T=y.set,O=y.getterFor("DOMException"),A="stack"in S("DOMException"),E=function(t){return d(m,t)&&m[t].m?m[t].c:0},j=function(){h(this,I);var t=arguments.length,e=g(t<1?void 0:arguments[0]),n=g(t<2?void 0:arguments[1],"Error"),i=E(n);if(T(this,{type:"DOMException",name:n,message:e,code:i}),_||(this.name=n,this.message=e,this.code=i),A){var r=S(e);r.name="DOMException",u(this,"stack",c(1,b(r.stack,1)))}},I=j.prototype=s(C),M=function(t){return{enumerable:!0,configurable:!0,get:t}},P=function(t){return M((function(){return O(this)[t]}))};_&&(f(I,"code",P("code")),f(I,"message",P("message")),f(I,"name",P("name"))),u(I,"constructor",c(1,j));var $=a((function(){return!(new k instanceof S)})),L=$||a((function(){return C.toString!==v||"2: 1"!==String(new k(1,2))})),R=$||a((function(){return 25!==new k(1,"DataCloneError").code})),N=$||25!==k["DATA_CLONE_ERR"]||25!==x["DATA_CLONE_ERR"],D=w?L||R||N:$;i({global:!0,constructor:!0,forced:D},{DOMException:D?j:k});var B=o("DOMException"),F=B.prototype;for(var z in L&&(w||k===B)&&l(F,"toString",v),R&&_&&k===B&&f(F,"code",M((function(){return E(p(this).name)}))),m)if(d(m,z)){var W=m[z],q=W.s,H=c(6,W.c);d(B,q)||u(B,q,H),d(F,q)||u(F,q,H)}},"107c":function(t,e,n){var i=n("d039"),r=n("da84"),o=r.RegExp;t.exports=i((function(){var t=o("(?b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))},1276:function(t,e,n){"use strict";var i=n("2ba4"),r=n("c65b"),o=n("e330"),a=n("d784"),s=n("825a"),c=n("7234"),u=n("44e7"),l=n("1d80"),f=n("4840"),d=n("8aa5"),h=n("50c4"),p=n("577e"),v=n("dc4a"),g=n("4dae"),m=n("14c3"),b=n("9263"),y=n("9f7f"),_=n("d039"),w=y.UNSUPPORTED_Y,S=Math.min,k=[].push,x=o(/./.exec),C=o(k),T=o("".slice),O=!_((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));a("split",(function(t,e,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var o=p(l(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===t)return[o];if(!u(t))return r(e,o,t,a);var s,c,f,d=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,m=new RegExp(t.source,h+"g");while(s=r(b,m,o)){if(c=m.lastIndex,c>v&&(C(d,T(o,v,s.index)),s.length>1&&s.index=a))break;m.lastIndex===s.index&&m.lastIndex++}return v===o.length?!f&&x(m,"")||C(d,""):C(d,T(o,v)),d.length>a?g(d,0,a):d}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:r(e,this,t,n)}:e,[function(e,n){var i=l(this),a=c(e)?void 0:v(e,t);return a?r(a,e,i,n):r(o,p(i),e,n)},function(t,i){var r=s(this),a=p(t),c=n(o,r,a,i,o!==e);if(c.done)return c.value;var u=f(r,RegExp),l=r.unicode,v=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(w?"g":"y"),g=new u(w?"^(?:"+r.source+")":r,v),b=void 0===i?4294967295:i>>>0;if(0===b)return[];if(0===a.length)return null===m(g,a)?[a]:[];var y=0,_=0,k=[];while(_79&&a<83;i({target:"Array",proto:!0,forced:!c||u},{reduce:function(t){var e=arguments.length;return r(this,t,e,e>1?arguments[1]:void 0)}})},1448:function(t,e,n){var i=n("dfb9"),r=n("b6b7");t.exports=function(t,e){return i(r(t),e)}},"145e":function(t,e,n){"use strict";var i=n("7b0b"),r=n("23cb"),o=n("07fa"),a=n("083a"),s=Math.min;t.exports=[].copyWithin||function(t,e){var n=i(this),c=o(n),u=r(t,c),l=r(e,c),f=arguments.length>2?arguments[2]:void 0,d=s((void 0===f?c:r(f,c))-l,c-u),h=1;l0)l in n?n[u]=n[l]:a(n,u),u+=h,l+=h;return n}},"14c3":function(t,e,n){var i=n("c65b"),r=n("825a"),o=n("1626"),a=n("c6b6"),s=n("9263"),c=TypeError;t.exports=function(t,e){var n=t.exec;if(o(n)){var u=i(n,t,e);return null!==u&&r(u),u}if("RegExp"===a(t))return i(s,t,e);throw c("RegExp#exec called on incompatible receiver")}},"14d9":function(t,e,n){"use strict";var i=n("23e7"),r=n("7b0b"),o=n("07fa"),a=n("3a34"),s=n("3511"),c=n("d039"),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();i({target:"Array",proto:!0,arity:1,forced:u||l},{push:function(t){var e=r(this),n=o(e),i=arguments.length;s(n+i);for(var c=0;c1?arguments[1]:void 0)}},"182d":function(t,e,n){var i=n("f8cd"),r=RangeError;t.exports=function(t,e){var n=i(t);if(n%e)throw r("Wrong offset");return n}},"19aa":function(t,e,n){var i=n("3a9b"),r=TypeError;t.exports=function(t,e){if(i(e,t))return t;throw r("Incorrect invocation")}},"1a2d":function(t,e,n){var i=n("e330"),r=n("7b0b"),o=i({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(r(t),e)}},"1be4":function(t,e,n){var i=n("d066");t.exports=i("document","documentElement")},"1c31":function(t,e,n){(function(t){var i=n("7037").default;n("7a82"),n("a4d3"),n("e01a"),n("d3b7"),n("944a"),n("0c47"),n("23dc"),n("c975"),n("ac1f"),n("1276"),n("14d9"),n("7db0"),n("d9e2"),n("d401"),n("e9c4"),n("5319"),n("d81d"),n("a9e3"),n("4de4"),n("caad"),n("99af"),n("a434"),n("d28b"),n("3ca3"),n("ddb0"),n("159b"),n("25f0"),n("e25e"),n("13d5"),n("466d"),n("4d63"),n("c607"),n("2c3e"),n("b64b"),n("c19f"),n("ace4"),n("07ac"),n("2532"),n("fb6a"),n("a630"),n("00b4"),n("acd8"),n("2ca0"),n("26e9"),n("498a"),n("8a59"),n("907a"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("986a"),n("1d02"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("b39a"),n("72f7"),n("4e82"),n("3c65"),n("841c"),n("e439"),n("dbb4"),n("1d1c"),n("5cc6"),n("4ae1"),n("f8c9"),n("131a"),n("c740"),n("3410"),n("5d41"),n("81b2"),n("0eb6"),n("b7ef"),n("8bd4"),n("2b3d"),n("9861"),function(r,o){"object"===i(e)&&"object"===i(t)?t.exports=o(n("a7a7"),n("e143"),n("37dc")):n("07d6")([,,],o)}("undefined"!==typeof self&&self,(function(t,e,n){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},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"===i(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){"use strict";n.r(e),function(t){n.d(e,"loadFontFace",(function(){return o}));var i=n("a118"),r=n("db70");function o(e,n){var i=Object(r["a"])();if(!i)return{errMsg:"loadFontFace:fail not font page"};t.publishHandler("loadFontFace",{options:e,callbackId:n},i)}t.subscribe("onLoadFontFaceCallback",(function(t){var e=t.callbackId,n=t.data;Object(i["a"])(e,n)}))}.call(this,n("0dd1"))},"00b2":function(t,e,n){},"0138":function(t,e,n){"use strict";n.r(e),function(t){var i=n("052f"),r=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(i["a"])(t.on,{getApp:a["b"],getCurrentPages:a["c"]}),Object(r["a"])(t.subscribe,{getApp:a["b"],getCurrentPages:a["c"]}),e["default"]=o["a"]}.call(this,n("0dd1"))},"01d0":function(t,e,n){},"0212":function(t,e,n){"use strict";n.r(e),n.d(e,"getLaunchOptionsSync",(function(){return r})),n.d(e,"getEnterOptionsSync",(function(){return o}));var i=n("abbf");function r(){return Object(i["e"])()}function o(){return Object(i["d"])()}},"02b5":function(t,e,n){"use strict";var i=n("8e72"),r=n.n(i);r.a},"02c9":function(t,e,n){"use strict";function i(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&&function(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(r).indexOf(t):n&&"string"===typeof n?-1!==n.split(r).indexOf(t):void 0}(n,t.data.staticClass,t.data.class)}}}n.d(e,"a",(function(){return o}));var r=/\s+/;function o(t){t.prototype.createIntersectionObserver=function(t){return uni.createIntersectionObserver(this,t)},t.prototype.createMediaQueryObserver=function(t){return uni.createMediaQueryObserver(this,t)},t.prototype.selectComponent=function(t){return function t(e,n){if(n(e.$vnode||e._vnode))return e;for(var i=e.$children,r=0;r0&&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=s.push(n),t.publishHandler("requestComponentObserver",{reqId:this.reqId,component:this.component,options:this.options},Object(r["a"])(this.component)?this.component:this.pageId))}},{key:"disconnect",value:function(){t.publishHandler("destroyComponentObserver",{reqId:this.reqId},Object(r["a"])(this.component)?this.component:this.pageId)}}]),e}();function l(t,e){return t._isVue||(e=t,t=null),new u(t||Object(o["b"])("createIntersectionObserver"),e)}}.call(this,n("0dd1"))},"0998":function(t,e,n){"use strict";var i=n("927d"),r=n.n(i);r.a},"09e5":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"requestComponentInfo",(function(){return a}));var i=n("62b5"),r=n("1634"),o=Object(i["a"])("requestComponentInfo");function a(e,n,i){t.publishHandler("requestComponentInfo",{reqId:o.push(i),reqs:n},Object(r["a"])(e)?e:e.$page.id)}}.call(this,n("0dd1"))},"0baa":function(t,e,n){"use strict";n.r(e),n.d(e,"chooseFile",(function(){return o}));var i=["all","image","video"],r=["album","camera"],o={count:{type:Number,required:!1,default:100,validator:function(t,e){t<=0&&(e.count=100)}},sourceType:{type:Array,required:!1,default:r,validator:function(t,e){t=t.filter((function(t){return r.includes(t)})),e.sourceType=t.length?t:r}},type:{type:String,required:!1,default:"all",validator:function(t,e){i.includes(t)||(e.type=i[0]),e.type="all"===e.type?e.type="*":e.type}},extension:{type:Array,default:[""],validator:function(t,e){if(0===t.length)return"param extension should not be empty."}}}},"0dd1":function(t,e,n){"use strict";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 d})),n.d(e,"unsubscribe",(function(){return h})),n.d(e,"subscribeHandler",(function(){return p}));var i=n("8bbf"),r=n.n(i),o=n("27a7");n.d(e,"invokeCallbackHandler",(function(){return o["a"]})),n.d(e,"removeCallbackHandler",(function(){return o["b"]}));var a=n("b865");n.d(e,"publishHandler",(function(){return a["b"]}));var s=new r.a,c=s.$on.bind(s),u=s.$off.bind(s),l=s.$once.bind(s),f=s.$emit.bind(s);function d(t,e){return c("view."+t,e)}function h(t,e){return u("view."+t,e)}function p(t,e,n){return f("view."+t,e,n)}},"0e5c":function(t,e,n){"use strict";n.r(e),n.d(e,"showTopWindow",(function(){return o})),n.d(e,"hideTopWindow",(function(){return a})),n.d(e,"showLeftWindow",(function(){return s})),n.d(e,"hideLeftWindow",(function(){return c})),n.d(e,"showRightWindow",(function(){return u})),n.d(e,"hideRightWindow",(function(){return l})),n.d(e,"getTopWindowStyle",(function(){return d})),n.d(e,"getLeftWindowStyle",(function(){return h})),n.d(e,"getRightWindowStyle",(function(){return p})),n.d(e,"setTopWindowStyle",(function(){return g})),n.d(e,"setLeftWindowStyle",(function(){return m})),n.d(e,"setRightWindowStyle",(function(){return b}));var i=n("f2b3");function r(t,e){var n=e?"show":"hide"+Object(i["c"])(t)+"Window",r=getApp();if(r){var o=r.$children[0].$refs.layout.showWindow(t,e);return o?{errMsg:"".concat(n,":fail ").concat(o)}:{}}return{errMsg:"".concat(n,":fail app not ready")}}function o(){return r("top",!0)}function a(){return r("top",!1)}function s(){return r("left",!0)}function c(){return r("left",!1)}function u(){return r("right",!0)}function l(){return r("right",!1)}function f(t){var e="get"+Object(i["c"])(t)+"WindowStyle",n=getApp();if(!n)return{errMsg:"".concat(e,":fail app not ready")};var r=n.$children[0].$refs.layout.getWindowStyle(t);return"string"===typeof r&&-1!==r.indexOf("Window not found")?{errMsg:"".concat(e,":fail ").concat(r)}:r}function d(t){return f("top")}function h(t){return f("left")}function p(t){return f("right")}function v(t,e){var n="set"+Object(i["c"])(t)+"WindowStyle",r=getApp();if(!r)return{errMsg:"".concat(n,":fail app not ready")};var o=r.$children[0].$refs.layout.setWindowStyle(t,e);return o?{errMsg:"".concat(n,":fail ").concat(o)}:{}}function g(t){return v("top",t)}function m(t){return v("left",t)}function b(t){return v("right",t)}},"0f55":function(t,e,n){"use strict";var i=n("2190"),r=n.n(i);r.a},"0f74":function(t,e,n){"use strict";function i(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 i(t,e.substr(2));for(var r=e.split("/"),o=r.length,a=0;a0?t.split("/"):[];return s.splice(s.length-a-1,a+1),"/"+s.concat(r).join("/")}n.d(e,"a",(function(){return i}))},1082:function(t,e,n){"use strict";n.r(e);function r(t){return r="function"===typeof Symbol&&"symbol"===i(Symbol.iterator)?function(t){return i(t)}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":i(t)},r(t)}function o(t){return("undefined"===typeof navigator||r(navigator))&&"Google Inc."===navigator.vendor&&t>10&&(t=2*Math.round(t/2)),t}var a={name:"Image",props:{src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},data:function(){return{originalWidth:0,originalHeight:0,originalStyle:{width:"",height:""},contentPath:""}},computed:{ratio:function(){return this.originalWidth&&this.originalHeight?this.originalWidth/this.originalHeight:0},style:function(){var t="auto",e="";switch(this.mode){case"aspectFit":t="contain",e="center center";break;case"aspectFill":t="cover",e="center center";break;case"widthFix":case"heightFix":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-image":this.contentPath?'url("'.concat(this.contentPath,'")'):"none","background-position":e,"background-size":t,"background-repeat":"no-repeat"}}},watch:{src:function(t,e){this._loadImage()},mode:function(t,e){"widthFix"!==e&&"heightFix"!==e||this._resetSize(),"widthFix"!==t&&"heightFix"!==t||this._fixSize()},contentPath:function(t){!t&&this.__img&&(this.__img.remove(),delete this.__img)}},mounted:function(){this.originalStyle.width=this.$el.style.width||"",this.originalStyle.height=this.$el.style.height||"",this._loadImage()},beforeDestroy:function(){this._clearImage()},methods:{_fixSize:function(){if(this.ratio){var t=this.$el;if("widthFix"===this.mode){var e=t.offsetWidth;e&&(t.style.height=o(e/this.ratio)+"px")}else if("heightFix"===this.mode){var n=t.offsetHeight;n&&(t.style.width=o(n*this.ratio)+"px")}}window.dispatchEvent(new CustomEvent("updateview"))},_resetSize:function(){this.$el.style.width=this.originalStyle.width,this.$el.style.height=this.originalStyle.height},_resetData:function(){this.originalWidth=0,this.originalHeight=0,this.contentPath=""},_loadImage:function(){var t=this,e=this.$getRealPath(this.src);if(e){var n=this._img=this._img||new Image;n.onload=function(i){t._img=null;var r=t.originalWidth=n.width,o=t.originalHeight=n.height;t._fixSize(),t.contentPath=e,n.draggable=t.draggable,t.__img&&t.__img.remove(),t.__img=n,t.$el.appendChild(n),t.$trigger("load",i,{width:r,height:o})},n.onerror=function(e){t._img=null,t._resetData(),t.$trigger("error",e,{errMsg:"GET ".concat(t.src," 404 (Not Found)")})},n.src=e}else this._clearImage(),this._resetData()},_clearImage:function(){var t=this._img;t&&(t.onload=null,t.onerror=null,this._img=null)}}},s=a,c=(n("db18"),n("2877")),u=Object(c["a"])(s,(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.style}),"widthFix"===t.mode||"heightFix"===t.mode?n("v-uni-resize-sensor",{ref:"sensor",on:{resize:function(e){return t._fixSize()}}}):t._e()],1)}),[],!1,null,null,null);e["default"]=u.exports},"10a3":function(t,e,n){"use strict";n.r(e);var i=n("8af1");function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;nthis.CACHE_TIME}}]),t}();s(c,"IC",0),s(c,"IS",0),Object.assign(c.prototype,{URL:"https://hac1.dcloud.net.cn/ah5",KEY:"uni_app_ad_config",CACHE_TIME:6e5,ERROR_INVALID_ADPID:{"-5002":"invalid adpid"}});var u=function(){function t(){r(this,t),this._instance=null,this._adConfig=null,this._guid=null}return a(t,null,[{key:"instance",get:function(){return null==this._instance&&(this._instance=new t,this._instance._init()),this._instance}}]),a(t,[{key:"_init",value:function(){var t=this._getConfig();null!==t&&t.guid?this._guid=t.guid:(this._guid=this._newGUID(),this._setConfig(this._guid))}},{key:"get",value:function(t){this._process(Object.assign(t,{d:location.hostname,i:this._guid}))}},{key:"_process",value:function(t){uni.request({url:this.URL,method:"GET",data:t,dataType:"json",success:function(){}})}},{key:"_newGUID",value:function(){for(var t="",e="xxxxxxxx-xxxx-4xxx-xxxx-xxxxxxxxxxxx",n=0;nparseInt(this.widescreenWidth),this._loadData(),u.instance.get({h:__uniConfig.compilerVersion,a:this.adpid,at:-3,ic:c.IC,is:c.IS})},beforeDestroy:function(){this._clearCheckTimer(),this.$refs.container.innerHTML="",this._shanhuAd&&delete this._shanhuAd},methods:{_onhandle:function(t){this._report(41)},_reset:function(){this._p={},this._pl=[],this._pi=0,this._clearCheckTimer(),this.$refs.container.innerHTML="",this._isReady=!1},_loadData:function(t){var e=this;this._reset();var n=t||this.adpid,i=this._isWidescreen&&this.adpidWidescreen||n;c.instance.get(i,(function(t,n){e._b=t,e._pl=n,e._renderAd()}),(function(t){e.$trigger("error",{},t)}))},_renderAd:function(){var t=this;if(!(this._pi>this._pl.length-1)){var e=this._pl[this._pi],n=this._b[e.a1][e.t],i=n.script;this._currentChannel=e.a1;var r=this._randomId(),o=this._createView(r);"10010"===e.a1?l.instance.load(e.t,i,(function(){t._renderBaidu(r,e.a2)}),(function(e){t.$trigger("error",{},e)})):"10011"===e.a1?(f.instance.load(e.a3,e.a2,(function(t){window.TencentGDT.NATIVE.renderAd(t,r)})),this._startCheckTimer()):"10012"===e.a1?this._renderScript(o,i):"10014"===e.a1?l.instance.load(e.t,i,(function(){t._renderShanhu(r,e.tt,e.tar)}),(function(e){t.$trigger("error",{},e)})):l.instance.load(e.t,i,(function(){t._renderAdView(r,i.s,e)}),(function(e){t.$trigger("error",{},e)}))}},_createView:function(t){var e=document.createElement("div");return e.setAttribute("id",t),e.setAttribute("class",t),this.$refs.container.innerHTML="",this.$refs.container.append(e),e},_renderScript:function(t,e){var n=document.createElement("script");for(var i in e)n.setAttribute(i,e[i]);t.appendChild(n),this._startCheckTimer()},_renderBaidu:function(t,e){(window.slotbydup=window.slotbydup||[]).push({id:e,container:t,async:!0}),this._startCheckTimer()},_renderAdView:function(t,e,n){var i=window;e.split(".").reduce((function(t,e){return i=t,t[e]}),window).bind(i)(n.a2,t,2),this._startCheckTimer()},_renderShanhu:function(t,e,n){var i=this;this._shanhuAd=new window.CoralTBSAdv(t,{type:e,target:n,advShowCb:function(){i._report(42),i.$trigger("load",{},{})},advClickCb:function(){i._report(43),i.$trigger("adclicked",{},{})},advCloseCb:function(){i.$trigger("close",{},{})},advErrorCb:function(t){i.$trigger("error",{},t)}}),this._startCheckTimer()},_renderNext:function(){this._pi>=this._pl.length-1||(this._pi++,this._renderAd())},_checkRender:function(){var t=this.$refs.container.children.length>0&&this.$refs.container.clientHeight>40;return t&&this._report(40,this._currentChannel),t},_startCheckTimer:function(){var t=this;this._clearCheckTimer(),this._checkTimer=setInterval((function(){if(t._checkTimerCount++,t._checkTimerCount>=5)return t._clearCheckTimer(),void t._renderNext();t._checkRender()&&t._clearCheckTimer()}),1e3)},_clearCheckTimer:function(){this._checkTimerCount=0,null!=this._checkTimer&&(window.clearInterval(this._checkTimer),this._checkTimer=null)},_report:function(t,e){var n={h:__uniConfig.compilerVersion,a:this.adpid,at:t};e&&(n.t=e),u.instance.get(n)},_randomId:function(){for(var t="",e=0;e<4;e++)t+=(65536*(1+Math.random())|0).toString(16).substring(1);return"_u"+t}}},h=d,p=(n("e4bc"),n("2877")),v=Object(p["a"])(h,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-ad",t._g(t._b({},"uni-ad",t.attrs,!1),t.$listeners),[n("div",{ref:"container",staticClass:"uni-ad-container",on:{click:t._onhandle}})])}),[],!1,null,null,null);e["default"]=v.exports},1164:function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return c}));var i=n("a6b0"),r=n("23e5"),o=!1;function a(){return o}function s(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=[],r=a();if(!r)return n&&t.error("app is not ready"),[];var o=r.$children[0];if(o&&o.$children.length){var s=o.$children.find((function(t){return"TabBar"===t.$options.name})),c=o.$children.find((function(t){return"Layout"===t.$options.name}));c&&(o=c),o.$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})),o=n&&n.$children.find((function(t){return!!t.$page}));if(o){var a=!0;!e&&s&&o.$page&&o.$page.meta.isTabBar&&(r.$route.meta&&r.$route.meta.isTabBar?r.$route.path!==o.$page.path&&(a=!1):s.__path__!==o.$page.path&&(a=!1)),a&&i.push(o)}}}))}var u=i.length;if(u>1){var l=i[u-1];l.$page.path!==r.$route.path&&i.splice(u-1,1)}return i}function c(t,e,n){o=e,o.$vm=e,o.globalData=o.$options.globalData||{},Object(i["d"])(t,o),Object(r["a"])(o,n)}}).call(this,n("3ad9")["default"])},"11d0":function(t,e,n){"use strict";var i=n("ac57"),r=n.n(i);r.a},"11fb":function(t,e,n){"use strict";n.r(e),n.d(e,"previewImage",(function(){return r}));var i=n("cb0f"),r={urls:{type:Array,required:!0,validator:function(t,e){var n;if(e.urls=t.map((function(t){if("string"===typeof t)return Object(i["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 should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")}}}}).call(this,n("3ad9")["default"])},1585:function(t,e,n){"use strict";n.r(e),n.d(e,"addPhoneContact",(function(){return i}));var i={firstName:{type:String,required:!0,validator:function(t){if(!t)return"addPhoneContact:fail parameter error: parameter.firstName should not be empty String;"}}}},"15bb":function(t,e,n){"use strict";(function(t){var i=n("f2b3");e["a"]={mounted:function(){var e=this;if("transparent"===this.type){for(var n=this.$el.querySelector(".uni-page-head-transparent").style,i=this.$el.querySelector(".uni-page-head__title"),r=this.$el.querySelectorAll(".uni-btn-icon"),o=[],a=this.textColor,s=0;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,i&&(i.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],i=n.match(/[\d+\.]+/g);i[3]=(1-s)*(4===i.length?i[3]:1),t.backgroundColor="rgba(".concat(i,")")})))}))}else if("float"===this.type){for(var h=this.$el.querySelectorAll(".uni-btn-icon"),p=[],v=0;v\s]+))?)*)\s*(\/?)>/,r=/^<\/([-A-Za-z0-9_]+)[^>]*>/,o=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,a=h("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),s=h("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=h("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=h("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),l=h("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),f=h("script,style");function d(t,e){var n,d,h,p=[],v=t;p.last=function(){return this[this.length-1]};while(t){if(d=!0,p.last()&&f[p.last()])t=t.replace(new RegExp("([\\s\\S]*?)]*>"),(function(t,n){return n=n.replace(/|/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),d=!1)):0==t.indexOf("=0;i--)if(p[i]==n)break}else var i=0;if(i>=0){for(var r=p.length-1;r>=i;r--)e.end&&e.end(p[r]);p.length=i}}b()}function h(t){for(var e={},n=t.split(","),i=0;i0&&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){"use strict";n.r(e);var i=n("ba15"),r=n("8aec"),o=n("5363"),a=n("72b3"),s=n("d4cd");var c={name:"PickerViewColumn",mixins:[i["a"],r["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()})),function(t){var e=0,n=0;t.addEventListener("touchstart",(function(t){var i=t.changedTouches[0];e=i.clientX,n=i.clientY})),t.addEventListener("touchend",(function(t){var i=t.changedTouches[0];if(Math.abs(i.clientX-e)<20&&Math.abs(i.clientY-n)<20){var r=new CustomEvent("click",{bubbles:!0,cancelable:!0,target:t.target,currentTarget:t.currentTarget});["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((function(t){r[t]=i[t]})),t.target.dispatchEvent(r)}}))}(this.$el),Object(s["b"])();var e=this;while(e){var n=e.$options._scopeId;n&&this.$refs.indicator.setAttribute(n,""),e=e.$parent}},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["a"])({disable:!0});break;case"move":this._handleTouchMove(t),t.stopPropagation();break;case"end":case"cancel":this._handleTouchEnd(t),Object(s["a"])({disable:!1})}},_handleTap:function(t){var e=t.clientY;if(!this._scroller.isScrolling()){var n=this.$el.getBoundingClientRect(),i=e-n.top-this.height/2,r=this.indicatorHeight/2;if(!(Math.abs(i)<=r)){var o=Math.ceil((Math.abs(i)-r)/this.indicatorHeight),a=i<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])])])}},u=c,l=(n("edfa"),n("2877")),f=Object(l["a"])(u,void 0,void 0,!1,null,null,null);e["default"]=f.exports},"19c4":function(t,e,n){var i={"./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/add-phone-contact.js":"1585","./device/make-phone-call.js":"f102","./device/scan-code.js":"ea0f","./device/set-clipboard-data.js":"b501","./file/file.js":"2da2","./file/open-document.js":"2604","./location/choose-location.js":"e5bb","./location/get-location.js":"19d9","./location/open-location.js":"70bb","./media/choose-file.js":"0baa","./media/choose-image.js":"f1b2","./media/choose-video.js":"ed9f","./media/compress-image.js":"dc12","./media/compress-video.js":"5243","./media/get-image-info.js":"b866","./media/get-video-info.js":"3f15","./media/preview-image.js":"11fb","./media/save-image-to-photos-album.js":"4f53","./network/download-file.js":"439a","./network/request.js":"a201","./network/socket.js":"abb2","./network/upload-file.js":"9a3e","./plugin/get-provider.js":"4e7c","./plugin/load-sub-package.js":"d013","./plugin/pre-login.js":"f68f","./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 r(t){var e=o(t);return n(e)}function o(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=o,t.exports=r,r.id="19c4"},"19d9":function(t,e,n){"use strict";n.r(e),n.d(e,"getLocation",(function(){return r}));var i=["wgs84","gcj02"],r={type:{type:String,validator:function(t,e){t=(t||"").toLowerCase(),e.type=i.indexOf(t)<0?i[0]:t}},altitude:{type:Boolean,default:!1}}},"1a12":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"request",(function(){return s}));var i=n("f2b3");function r(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=e.url,o=e.delta,a=e.events,c=e.exists,u=e.animationType,l=e.animationDuration,f=e.from,d=void 0===f?"navigateBack":f,h=e.detail,p=getApp().$router;switch(delete p.$eventChannel,t){case"redirectTo":if("back"===c){var v=Object(i["a"])(n);if(-1!==v){var g=getCurrentPages().length-1-v;if(g>0)return s("navigateBack",{delta:g})}}p.replace({type:t,path:n});break;case"navigateTo":return p.$eventChannel=Object(r["a"])(a),p.push({type:t,path:n,animationType:u,animationDuration:l}),{errMsg:t+":ok",eventChannel:p.$eventChannel};case"navigateBack":var m=!0,b=getCurrentPages();if(b.length){var y=b[b.length-1];Object(i["c"])(y.$options,"onBackPress")&&!0===y.__call_hook("onBackPress",{from:d})&&(m=!1)}m&&(o>1&&(p._$delta=o),p.go(-o,{animationType:u,animationDuration:l}));break;case"reLaunch":p.replace({type:t,path:n});break;case"switchTab":p.replace({type:t,path:n,params:{detail:h}});break}return{errMsg:t+":ok"}}function c(t){return s("redirectTo",t)}function u(t){return s("navigateTo",t)}function l(t){return s("navigateBack",t)}function f(t){return s("reLaunch",t)}function d(t){return s("switchTab",t)}function h(t,e){var n=t.url,i=n.split("?")[0].replace(/\//g,"-");__uniConfig.__webpack_chunk_load__(i.substr(1)).then((function(){a(e,{url:n,errMsg:"preloadPage:ok"})})).catch((function(t){a(e,{url:n,errMsg:"preloadPage:fail "+t})}))}}.call(this,n("0dd1"))},"1b3d":function(t,e,n){"use strict";n.r(e),function(t){var i=n("f2b3");e["default"]={data:function(){return{previewImage:{visible:!1}}},created:function(){var e=this;t.on("onShowPreviewImage",(function(t,n){e.previewImage=Object.assign({},t,{visible:!0}),Object(i["k"])(n)&&e.$nextTick(n)})),t.on("onClosePreviewImage",(function(t){e._onPreviewClose(),Object(i["k"])(t)&&e.$nextTick(t)})),t.on("onHidePopup",(function(t){e.previewImage.visible=!1}))},methods:{_onPreviewClose:function(t){this.previewImage.visible=!1}}}}.call(this,n("0dd1"))},"1b6f":function(t,e,n){"use strict";(function(t){var i=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,r){r&&!n||Object(i["k"])(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){"use strict";var i=n("60ee"),r=n.n(i);r.a},"1c73":function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return c}));var i={},r={};function o(t){for(var e=[],n=0,i=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"];n=0&&e.push("(".concat(a(r),": ").concat(Number(t[r]),"px)")),"orientation"===r&&t[r]&&e.push("(".concat(a(r),": ").concat(t[r],")"))}return e=e.join(" and "),e}function a(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}function s(e){var n=e.reqId,a=e.options,s=i[n]=window.matchMedia(o(a)),c=r[n]=function(e){t.publishHandler("onRequestMediaQueryObserver",{reqId:n,res:e.matches})};c(s),s.addListener(c)}function c(e){var n=e.reqId,o=r[n],a=i[n];a&&(a.removeListener(o),delete i[n],t.publishHandler("onRequestMediaQueryObserver",{reqId:n,reqEnd:!0}))}}).call(this,n("501c"))},"1ca3":function(t,e,n){"use strict";n.r(e),n.d(e,"base64ToArrayBuffer",(function(){return r})),n.d(e,"arrayBufferToBase64",(function(){return o}));var i=n("8390");function r(t){return Object(i["decode"])(t)}function o(t){return Object(i["encode"])(t)}},"1e4d":function(t,e,n){"use strict";function i(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n=0&&(a.length=1),f.push("".concat(o,"(").concat(a.join(","),")"));else if(i.concat(r).includes(a[0])){o=a[0];var s=a[1];u[o]=r.includes(o)?l(s):s}})),u.transform=u.webkitTransform=f.join(" "),u.transition=u.webkitTransition=Object.keys(u).map((function(t){return"".concat(function(t){return t.replace(/[A-Z]/g,(function(t){return"-".concat(t.toLowerCase())})).replace("webkit","-webkit")}(t)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")})).join(","),u.transformOrigin=u.webkitTransformOrigin=a.transformOrigin,u}(e);Object.keys(s).forEach((function(e){t.$el.style[e]=s[e]})),n+=1,n=0&&this._callbacks.splice(e,1)}},{key:"offHeadersReceived",value:function(){}}]),t}(),s=Object.create(null);function c(t,e){var n=Object(r["c"])("createUploadTask",t),i=n.uploadTaskId,o=new a(i,e);return s[i]=o,o}Object(r["d"])("onUploadTaskStateChange",(function(t){var e=t.uploadTaskId,n=t.state,r=t.data,o=t.statusCode,a=t.progress,c=t.totalBytesSent,u=t.totalBytesExpectedToSend,l=t.errMsg,f=s[e],d=f._callbackId;switch(n){case"progressUpdate":f._callbacks.forEach((function(t){t({progress:a,totalBytesSent:c,totalBytesExpectedToSend:u})}));break;case"success":Object(i["a"])(d,{data:r,statusCode:o,errMsg:"request:ok"});case"fail":Object(i["a"])(d,{errMsg:"request:fail "+l});default:setTimeout((function(){delete s[e]}),100);break}}))},2190:function(t,e,n){},2209:function(t){t.exports=JSON.parse('{"uni.app.quit":"再按一次退出应用","uni.async.error":"连接服务器超时,点击屏幕重试","uni.showActionSheet.cancel":"取消","uni.showToast.unpaired":"请注意 showToast 与 hideToast 必须配对使用","uni.showLoading.unpaired":"请注意 showLoading 与 hideLoading 必须配对使用","uni.showModal.cancel":"取消","uni.showModal.confirm":"确定","uni.chooseImage.cancel":"取消","uni.chooseImage.sourceType.album":"从相册选择","uni.chooseImage.sourceType.camera":"拍摄","uni.chooseVideo.cancel":"取消","uni.chooseVideo.sourceType.album":"从相册选择","uni.chooseVideo.sourceType.camera":"拍摄","uni.chooseFile.notUserActivation":"文件选择器对话框只能在由用户激活时显示","uni.previewImage.cancel":"取消","uni.previewImage.button.save":"保存图像","uni.previewImage.save.success":"保存图像到相册成功","uni.previewImage.save.fail":"保存图像到相册失败","uni.setClipboardData.success":"内容已复制","uni.scanCode.title":"扫码","uni.scanCode.album":"相册","uni.scanCode.fail":"识别失败","uni.scanCode.flash.on":"轻触照亮","uni.scanCode.flash.off":"轻触关闭","uni.startSoterAuthentication.authContent":"指纹识别中...","uni.picker.done":"完成","uni.picker.cancel":"取消","uni.video.danmu":"弹幕","uni.video.volume":"音量","uni.button.feedback.title":"问题反馈","uni.button.feedback.send":"发送","uni.chooseLocation.search":"搜索地点","uni.chooseLocation.cancel":"取消"}')},2246:function(t,e,n){"use strict";n.r(e),n.d(e,"showModal",(function(){return o})),n.d(e,"showToast",(function(){return a})),n.d(e,"showLoading",(function(){return s})),n.d(e,"showActionSheet",(function(){return c}));var i=n("a6b0"),r=n("cb0f"),o={title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:function(){return Object(i["g"])("uni.showModal.cancel")}},cancelColor:{type:String,default:"#000"},confirmText:{type:String,default:function(){return Object(i["g"])("uni.showModal.confirm")}},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!0}},a={title:{type:String,default:""},icon:{default:"success",validator:function(t,e){-1===["success","loading","error","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}},s={title:{type:String,default:""},icon:{type:String,default:"loading"},duration:{type:Number,default:1e8},mask:{type:Boolean,default:!1},visible:{type:Boolean,default:!0}},c={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:"#000"},visible:{type:Boolean,default:!0},popover:{type:Object}}},2289:function(t,e,n){"use strict";n.r(e),n.d(e,"upx2px",(function(){return i}));var i=[{name:"upx",type:[Number,String],required:!0}]},"232e":function(t,e,n){"use strict";n.r(e),n.d(e,"pageScrollTo",(function(){return i}));var i={scrollTop:{type:Number},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){"use strict";(function(t){n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return v}));var i=n("a741");function r(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 r=getCurrentPages(),o=r.length-1;o>=0;o--){var s=r[o],c=s.$page.meta;c.isTabBar||(a.call(this,c.name+"-"+s.$page.id),Object(i["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(i["b"])(e[n],"onUnload"),e[n].$destroy();this.keepAliveInclude=[],s=Object.create(null)}var d=[];function h(t,e,n,i){d=getCurrentPages(!0);var o=e.params.__id__,s=t.params.__id__,c=t.meta.name+"-"+s;if(s===o&&"reLaunch"!==t.type)t.fullPath!==e.fullPath?(r.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":a.call(this,u),e.meta&&e.meta.isQuit&&(t.meta.isQuit=!0,t.meta.isEntry=!!e.meta.isEntry);break;case"switchTab":l.call(this,i,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&&"redirectTo"!==t.type&&e.meta.id&&r.call(this,u),r.call(this,c),t.meta&&t.meta.name){document.body.className="uni-body "+t.meta.name;var h="nvue-dir-"+__uniConfig.nvue["flex-direction"];t.meta.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(h,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(h))}n()}}function p(e,n){var r,a=n.params.__id__,s=e.params.__id__;function c(t){if(t){Object(i["b"])(t,"onUnload");var e=d.indexOf(t);e>=0&&d.splice(e,1)}}switch(r=n.meta.isSet?d.find((function(t){return t.$page.meta.pagePath===n.meta.pagePath})):d.find((function(t){return t.$page.id===a})),e.type){case"navigateTo":r&&Object(i["b"])(r,"onHide");break;case"redirectTo":c(r);break;case"switchTab":n.meta.isTabBar&&r&&Object(i["b"])(r,"onHide");break;case"reLaunch":break;default:a&&a>s&&(c(r),this.$router._$delta>1&&o.reverse().forEach((function(t){var e=d.find((function(e){return e.$page.id===t}));c(e)})));break}if(delete this.$router._$delta,o.length=0,"reLaunch"!==e.type){var u,l=getCurrentPages(!0);u=e.meta.isSet?l.find((function(t){return t.$page.meta.pagePath===e.meta.pagePath})):l.find((function(t){return t.$page.id===s})),u&&(setTimeout((function(){t.emit("onNavigationBarChange",u.$parent.$parent.navigationBar),Object(i["b"])(u,"onShow")}),0),document.title=u.$parent.$parent.navigationBar.titleText)}}function v(t,e){t.$router.beforeEach((function(n,i,r){h.call(t,n,i,r,e)})),t.$router.afterEach((function(e,n){p.call(t,e,n)}))}}).call(this,n("0dd1"))},"24d9":function(t,e,n){"use strict";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"===i(Symbol.iterator)?function(t){return i(t)}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":i(t)},o(t)}function a(t){return t.mp=Object.assign({"@warning":"mp is deprecated"},t),t._processed=!0,t}function s(t,e){return Object(r["l"])(e)&&(Object(r["i"])(e,"backgroundColor")&&(t.backgroundColor=e.backgroundColor),Object(r["i"])(e,"buttons")&&(t.buttons=e.buttons),Object(r["i"])(e,"titleColor")&&(t.textColor=e.titleColor),Object(r["i"])(e,"titleText")&&(t.titleText=e.titleText),Object(r["i"])(e,"titleSize")&&(t.titleSize=e.titleSize),Object(r["i"])(e,"type")&&(t.type=e.type),Object(r["i"])(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){"use strict";n.r(e);var i=n("8af1"),r=n("f2b3"),o=["text","number","idcard","digit","password","tel"],a=["number","digit"],s=["off","one-time-code"],c=["none","text","decimal","numeric","tel","search","email","url"],u={name:"Input",mixins:[i["b"]],props:{name:{type:String,default:""},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:"input-placeholder"},disabled:{type:[Boolean,String],default:!1},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},textContentType:{type:String,default:""},step:{type:String,default:"0.000000000000000001"},inputmode:{type:String,default:void 0,validator:function(t){return!!~c.indexOf(t)}}},data:function(){return{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=~o.indexOf(this.type)?this.type:"text";break}return this.password?"password":t},_step:function(){return~a.indexOf(this.type)?this.step:""},autocomplete:function(){var t=s.indexOf(this.textContentType),e=s.indexOf(Object(r["n"])(this.textContentType)),n=-1!==t?t:-1!==e?e:0;return s[n]}},watch:{maxlength:function(t){var e=this.valueSync.slice(0,parseInt(t,10));e!==this.valueSync&&(this.valueSync=e)},valueSync:function(t){"number"!==this.type||"-"===this.cachedValue&&""===t||(this.cachedValue=t)}},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}},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onKeyup:function(t){var e=t.target;this.$trigger("confirm",t,{value:e.value}),this.confirmHold||e.blur()},_onInput:function(t,e){var n=this,i=!1;if(!this.composing||!this.ignoreCompositionEvent){if("number"===this.inputType){var r=parseInt(this.maxlength,10);if(r>0&&t.target.value.length>r&&(this.cachedValue.length===r?(this.valueSync=this.cachedValue,i=!0):(t.target.value=t.target.value.slice(0,r),this.valueSync=t.target.value)),this.__clearCachedValue&&t.target.removeEventListener("blur",this.__clearCachedValue),t.target.validity&&!t.target.validity.valid){if((!this.cachedValue||!t.target.value)&&"-"===t.data||"-"===this.cachedValue[0]&&"deleteContentBackward"===t.inputType){this.cachedValue="-",this.valueSync="";var o=this.__clearCachedValue=function(){n.cachedValue=t.target.value=""};return void t.target.addEventListener("blur",o)}if(this.cachedValue)if(-1!==this.cachedValue.indexOf(".")){if("."!==t.data&&"deleteContentBackward"===t.inputType){var a=this.cachedValue.indexOf(".");return this.cachedValue=t.target.value=this.valueSync=this.cachedValue.slice(0,a),this.$triggerInput(t,{value:this.valueSync},e)}}else if("."===t.data)return this.cachedValue+=".",this.__clearCachedValue=function(){n.cachedValue=n.valueSync=t.target.value=n.cachedValue.slice(0,-1)},t.target.addEventListener("blur",this.__clearCachedValue),!1;return void(this.cachedValue=this.valueSync=t.target.value="-"===this.cachedValue?"":this.cachedValue)}this.cachedValue=this.valueSync}i||(this.ignoreCompositionEvent||(this.valueSync=this.$refs.input.value),this.$triggerInput(t,{value:this.valueSync},e))}},_onComposition:function(t){switch(t.type){case"compositionstart":this.composing=!0;break;case"compositionend":this.composing&&(this.composing=!1,this._onInput(t));break}!this.ignoreCompositionEvent&&this.$trigger(t.type,t,{data:t.data})},_resetFormData:function(){this.valueSync=""},_getFormData:function(){return this.name?{value:this.valueSync,key:this.name}:{}}}},l=u,f=(n("0f55"),n("2877")),d=Object(f["a"])(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-input",t._g({},t.$listeners),[n("div",{ref:"wrapper",staticClass:"uni-input-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!(t.composing||t.valueSync.length||t.cachedValue.length||"-"===t.cachedValue),expression:"!(composing || valueSync.length || cachedValue.length || cachedValue === '-')"}],ref:"placeholder",staticClass:"uni-input-placeholder",class:t.placeholderClass,style:t.placeholderStyle,domProps:{textContent:t._s(t.placeholder)}}),"checkbox"!==t.inputType||t.disabled&&t.fixColor?"radio"!==t.inputType||t.disabled&&t.fixColor?t.disabled&&t.fixColor?t._e():n("input",{directives:[{name:"model",rawName:"v-model",value:t.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t._step,enterkeyhint:t.confirmType,pattern:"number"===t.type?"[0-9]*":null,autocomplete:t.autocomplete,inputmode:t.inputmode,type:t.inputType},domProps:{value:t.valueSync},on:{change:function(t){t.stopPropagation()},focus:t._onFocus,blur:t._onBlur,input:[function(e){e.target.composing||(t.valueSync=e.target.value)},function(e){return e.stopPropagation(),t._onInput(e)}],compositionstart:function(e){return e.stopPropagation(),t._onComposition(e)},compositionend:function(e){return e.stopPropagation(),t._onComposition(e)},compositionupdate:function(e){return e.stopPropagation(),t._onComposition(e)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.stopPropagation(),t._onKeyup(e))}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t._step,enterkeyhint:t.confirmType,pattern:"number"===t.type?"[0-9]*":null,autocomplete:t.autocomplete,inputmode:t.inputmode,type:"radio"},domProps:{checked:t._q(t.valueSync,null)},on:{change:[function(e){t.valueSync=null},function(t){t.stopPropagation()}],focus:t._onFocus,blur:t._onBlur,input:function(e){return e.stopPropagation(),t._onInput(e)},compositionstart:function(e){return e.stopPropagation(),t._onComposition(e)},compositionend:function(e){return e.stopPropagation(),t._onComposition(e)},compositionupdate:function(e){return e.stopPropagation(),t._onComposition(e)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.stopPropagation(),t._onKeyup(e))}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t._step,enterkeyhint:t.confirmType,pattern:"number"===t.type?"[0-9]*":null,autocomplete:t.autocomplete,inputmode:t.inputmode,type:"checkbox"},domProps:{checked:Array.isArray(t.valueSync)?t._i(t.valueSync,null)>-1:t.valueSync},on:{change:[function(e){var n=t.valueSync,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.valueSync=n.concat([null])):o>-1&&(t.valueSync=n.slice(0,o).concat(n.slice(o+1)))}else t.valueSync=r},function(t){t.stopPropagation()}],focus:t._onFocus,blur:t._onBlur,input:function(e){return e.stopPropagation(),t._onInput(e)},compositionstart:function(e){return e.stopPropagation(),t._onComposition(e)},compositionend:function(e){return e.stopPropagation(),t._onComposition(e)},compositionupdate:function(e){return e.stopPropagation(),t._onComposition(e)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.stopPropagation(),t._onKeyup(e))}}}),t.disabled&&t.fixColor?n("input",{ref:"input",staticClass:"uni-input-input",attrs:{tabindex:"-1",readonly:t.disabled,type:t.inputType,maxlength:t.maxlength,step:t._step},domProps:{value:t.valueSync},on:{focus:function(t){return t.target.blur()}}}):t._e()])])}),[],!1,null,null,null);e["default"]=d.exports},"25ce":function(t,e,n){"use strict";n.r(e);var i=n("8af1"),r={name:"CheckboxGroup",mixins:[i["a"],i["f"]],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}}},o=r,a=(n("0998"),n("2877")),s=Object(a["a"])(o,(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)}),[],!1,null,null,null);e["default"]=s.exports},2604:function(t,e,n){"use strict";n.r(e),n.d(e,"openDocument",(function(){return i}));var i={filePath:{type:String,required:!0},fileType:{type:String}}},2608:function(t,e,n){"use strict";(function(t){function i(e){return function(){try{return e.apply(e,arguments)}catch(n){t.error(n)}}}function r(e){return function(){try{return e.apply(e,arguments)}catch(n){t.error(n)}}}n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return r}))}).call(this,n("3ad9")["default"])},2765:function(t,e,n){"use strict";var i=n("3590"),r=n.n(i);r.a},"27a7":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return _})),n.d(e,"d",(function(){return w})),n.d(e,"c",(function(){return x}));var i=n("f2b3"),r=n("2608"),o=n("ed1a"),a=n("6710"),s=n("cc76"),c=n("de29");function u(t,e,n){var i="".concat(e,":fail ").concat(t);if(-1===n)throw new Error(i);return"number"===typeof n&&y(n,{errMsg:i}),!1}var l=[{name:"callback",type:Function,required:!0}],f=["beforeValidate","beforeAll","beforeSuccess"];function d(t,e,n){var r=s["a"][t];if(!r&&Object(o["a"])(t)&&(r=l),r){if(Array.isArray(r)&&Array.isArray(e)){var a=Object.create(null),d=Object.create(null),h=e.length;r.forEach((function(t,n){a[t.name]=t,h>n&&(d[t.name]=e[n])})),r=a,e=d}if(Object(i["k"])(r.beforeValidate)){var p=r.beforeValidate(e);if(p)return u(p,t,n)}for(var v=Object.keys(r),g=0;g1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!Object(i["l"])(e))return{params:e};e=Object.assign({},e);var o=Object(a["a"])(e),s=o.success,c=o.fail,u=o.cancel,l=o.complete,f=Object(i["k"])(s),d=Object(i["k"])(c),v=Object(i["k"])(u),g=Object(i["k"])(l);if(!f&&!d&&!v&&!g)return{params:e};var m={};for(var b in n){var y=n[b];Object(i["k"])(y)&&(m[b]=Object(r["b"])(y))}var _=m.beforeSuccess,w=m.afterSuccess,S=m.beforeFail,k=m.afterFail,x=m.beforeCancel,C=m.afterCancel,T=m.beforeAll,O=m.afterAll,A=h++,E="api."+t+"."+A,j=function(n){if(n.errMsg=n.errMsg||t+":ok",-1!==n.errMsg.indexOf(":ok"))n.errMsg=t+":ok";else if(-1!==n.errMsg.indexOf(":cancel"))n.errMsg=t+":cancel";else if(-1!==n.errMsg.indexOf(":fail")){var r="",o=n.errMsg.indexOf(" ");o>-1&&(r=n.errMsg.substr(o)),n.errMsg=t+":fail"+r}Object(i["k"])(T)&&T(n);var a=n.errMsg;0===a.indexOf(t+":ok")?(Object(i["k"])(_)&&_(n,e),f&&s(n),Object(i["k"])(w)&&w(n)):0===a.indexOf(t+":cancel")?(n.errMsg=n.errMsg.replace(t+":cancel",t+":fail cancel"),d&&c(n),Object(i["k"])(x)&&x(n),v&&u(n),Object(i["k"])(C)&&C(n)):0===a.indexOf(t+":fail")&&(Object(i["k"])(S)&&S(n),d&&c(n),Object(i["k"])(k)&&k(n)),g&&l(n),Object(i["k"])(O)&&O(n)};return p[A]={name:E,callback:j},{params:e,callbackId:A}}function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=m(t,e,n),o=r.params,a=r.callbackId;return Object(i["l"])(o)&&!d(t,o,a)?{params:o,callbackId:!1}:{params:o,callbackId:a}}function y(t,e,n){if("number"===typeof t){var i=p[t];if(i)return i.keepAlive||delete p[t],i.callback(e,n)}return e}function _(t){delete p[t]}function w(e){return function(n){t.error("API `"+e+"` is not yet implemented")}}function S(t,e){var n=s["a"][t];n&&(Object(i["k"])(n.beforeAll)&&(e.beforeAll=n.beforeAll),Object(i["k"])(n.beforeSuccess)&&(e.beforeSuccess=n.beforeSuccess))}var k=["getPushClientId","onPushMessage","offPushMessage"];function x(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return k.indexOf(t)>-1||!Object(i["k"])(e)?e:(S(t,n),function(){for(var r=arguments.length,a=new Array(r),s=0;st.length)&&(e=t.length);for(var n=0,i=new Array(e);n1?e-1:0),i=1;i0;)this.emit.apply(this,[t].concat(e.shift()))}},{key:"_addListener",value:function(t,e,n){(this.listener[t]||(this.listener[t]=[])).push({fn:n,type:e})}}]),t}()},"28da":function(t,e,n){},"2bdd":function(t,e,n){"use strict";n.r(e),function(t){var i;n.d(e,"startAccelerometer",(function(){return o})),n.d(e,"stopAccelerometer",(function(){return a})),n.d(e,"onAccelerometerChange",(function(){return s})),n.d(e,"offAccelerometerChange",(function(){return c}));var r=[];function o(e,n){var o=t,a=o.invokeCallbackHandler;if(!window.DeviceMotionEvent)return{errMsg:"startAccelerometer:fail"};function s(){i=function(t){var e=t.acceleration||t.accelerationIncludingGravity;r.forEach((function(t){a(t,{x:e.x||0,y:e.y||0,z:e.z||0})}))},window.addEventListener("devicemotion",i,!1)}if(!i){if(DeviceMotionEvent.requestPermission)return void DeviceMotionEvent.requestPermission().then((function(t){"granted"===t?(s(),a(n,{errMsg:"startAccelerometer:ok"})):a(n,{errMsg:"startAccelerometer:fail ".concat(t)})})).catch((function(t){a(n,{errMsg:"startAccelerometer:fail ".concat(t)})}));s()}return{}}function a(){return i&&(window.removeEventListener("devicemotion",i,!1),i=null),{}}function s(t){r.length||o(),r.push(t)}function c(t){if(t){var e=r.indexOf(t);e>=0&&r.splice(e,1)}r.length||a()}}.call(this,n("0dd1"))},"2c45":function(t,e,n){},"2c67":function(t,e,n){"use strict";n.r(e),function(t){function i(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n=0?p:255,[f,d,h,p]}return r.error("unsupported color:"+t),[0,0,0,255]}function _(t,e){this.type="pattern",this.data=t,this.colorStop=e}var w=function(){function t(e,n){h(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}();function S(t){this.width=t}var k=function(){function t(e,n){h(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,i=f(this.actions);this.actions=[],this.path=[],"function"===typeof n&&(t=g.push(n)),m(this.id,this.pageId,"actionsChanged",{actions:i,reserve:e,callbackId:t})}},{key:"createLinearGradient",value:function(t,e,n,i){return new w("linear",[t,e,n,i])}},{key:"createCircularGradient",value:function(t,e,n){return new w("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){var e,n=this.state.font;return e=function(t,e){var n=document.createElement("canvas"),i=n.getContext("2d");return i.font=e,i.measureText(t).width||0}(t,n),new S(e)}},{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=[],this.path.push({method:"beginPath",data:[]})}},{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,i){this.path.push({method:"quadraticCurveTo",data:[t,e,n,i]}),this.subpath.push([n,i])}},{key:"bezierCurveTo",value:function(t,e,n,i,r,o){this.path.push({method:"bezierCurveTo",data:[t,e,n,i,r,o]}),this.subpath.push([r,o])}},{key:"arc",value:function(t,e,n,i,r){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];this.path.push({method:"arc",data:[t,e,n,i,r,o]}),this.subpath.push([t,e])}},{key:"rect",value:function(t,e,n,i){this.path.push({method:"rect",data:[t,e,n,i]}),this.subpath=[[t,e]]}},{key:"arcTo",value:function(t,e,n,i,r){this.path.push({method:"arcTo",data:[t,e,n,i,r]}),this.subpath.push([n,i])}},{key:"clip",value:function(){this.actions.push({method:"clip",data:f(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=f(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 x(e,n){if(n)return new k(e,n.$page.id);var i=Object(s["a"])();if(i)return new k(e,i);t.emit("onError","createCanvasContext:fail")}function C(t,e){var n=t.canvasId,i=t.x,r=t.y,o=t.width,a=t.height,u=Object(s["a"])();if(u){var l=g.push((function(t){var n=t.data;n&&n.length&&(t.data=new Uint8ClampedArray(n)),Object(c["a"])(e,t)}));m(n,u,"getImageData",{x:i,y:r,width:o,height:a,callbackId:l})}else Object(c["a"])(e,{errMsg:"canvasGetImageData:fail"})}function T(t,e){var n=t.canvasId,i=t.data,r=t.x,o=t.y,a=t.width,u=t.height,l=Object(s["a"])();if(l){var f=g.push((function(t){Object(c["a"])(e,t)}));i=Array.prototype.slice.call(i),m(n,l,"putImageData",{data:i,x:r,y:o,width:a,height:u,compressed:void 0,callbackId:f})}else Object(c["a"])(e,{errMsg:"canvasPutImageData:fail"})}function O(t,e){var n=t.x,i=void 0===n?0:n,r=t.y,o=void 0===r?0:r,a=t.width,l=t.height,f=t.destWidth,d=t.destHeight,h=t.canvasId,p=t.fileType,v=t.quality,b=Object(s["a"])();if(b){var y=g.push((function(t){Object(c["a"])(e,t)})),_="".concat(u["TEMP_PATH"],"/canvas");m(h,b,"toTempFilePath",{x:i,y:o,width:a,height:l,destWidth:f,destHeight:d,fileType:p,quality:v,dirname:_,callbackId:y})}else Object(c["a"])(e,{errMsg:"canvasToTempFilePath:fail"})}[].concat(["scale","rotate","translate","setTransform","transform"],["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"]).forEach((function(t){k.prototype[t]=function(t){switch(t){case"fill":case"stroke":return function(){this.actions.push({method:t+"Path",data:f(this.path)})};case"fillRect":return function(t,e,n,i){this.actions.push({method:"fillPath",data:[{method:"rect",data:[t,e,n,i]}]})};case"strokeRect":return function(t,e,n,i){this.actions.push({method:"strokePath",data:[{method:"rect",data:[t,e,n,i]}]})};case"fillText":case"strokeText":return function(e,n,i,r){var o=[e.toString(),n,i];"number"===typeof r&&o.push(r),this.actions.push({method:t,data:o})};case"drawImage":return function(e,n,i,r,o,a,s,c,u){var l;function f(t){return"number"===typeof t}void 0===u&&(a=n,s=i,c=r,u=o,n=void 0,i=void 0,r=void 0,o=void 0),l=f(n)&&f(i)&&f(r)&&f(o)?[e,a,s,c,u,n,i,r,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),i=0;i0&&t<1/0?t:0;var e=Math.floor(t/3600),n=Math.floor(t%3600/60),i=Math.floor(t%3600%60);e=(e<10?"0":"")+e,n=(n<10?"0":"")+n,i=(i<10?"0":"")+i;var r=n+":"+i;return"00"!==e&&(r=e+":"+r),r}},mixins:[o["c"],i["g"],i["d"]],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},showCenterPlayBtn:{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:s.NONE,currentTimeOld:0,currentTimeNew:0,volumeOld:null,volumeNew:null,buffered:0,isSafari:/^Apple/.test(navigator.vendor)}},computed:{centerPlayBtnShow:function(){return this.showCenterPlayBtn&&!this.start},controlsShow:function(){return!this.centerPlayBtnShow&&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)-(e.time||0)}))},mounted:function(){var t,e,n,i=this,r=this,o=!0,s=this.$refs.ball;function c(i){var a=i.targetTouches[0],s=a.pageX,c=a.pageY;if(o&&Math.abs(s-t)100&&(f=100),r.progress=f,i.preventDefault(),i.stopPropagation()}}function u(t){r.controlsTouching=!1,r.touching&&(s.removeEventListener("touchmove",c,a),o||(t.preventDefault(),t.stopPropagation(),r.seek(r.$refs.video.duration*r.progress/100)),r.touching=!1)}s.addEventListener("touchstart",(function(r){i.controlsTouching=!0;var u=r.targetTouches[0];t=u.pageX,e=u.pageY,n=i.progress,o=!0,i.touching=!0,s.addEventListener("touchmove",c,a)})),s.addEventListener("touchend",u),s.addEventListener("touchcancel",u)},beforeDestroy:function(){this.triggerFullscreen(!1),clearTimeout(this.otherData.hideTiming)},methods:{_handleSubscribe:function(t){var e,n=t.type,i=t.data,r=void 0===i?{}:i;switch(n){case"seek":e=r.position;break;case"sendDanmu":e=r;break;case"playbackRate":e=r.rate;break}["play","pause","seek","sendDanmu","playbackRate","requestFullScreen","exitFullScreen"].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,i=t.offsetX;while(n!==e)i+=n.offsetLeft,n=n.parentNode;var r=e.offsetWidth,o=0;i>=0&&i<=r&&(o=i/r,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,i=this.$refs.video;t?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||this.isSafari&&!this.userInteract?i.webkitEnterFullScreen?i.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():i.webkitExitFullScreen?i.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,i=this.currentTime=e.currentTime,r=n.danmuIndex,o={time:i,index:r.index},a=n.danmuList;if(i>r.time)for(var s=r.index+1;s=(c.time||0)))break;o.index=s,this.playing&&this.enableDanmuSync&&this.playDanmu(c)}else if(i-1;u--){var l=a[u];if(!(i<=(l.time||0)))break;o.index=u-1}n.danmuIndex=o,this.$trigger("timeupdate",t,{currentTime:i,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=s.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!==s.STOP){var i=t.targetTouches[0],r=i.pageX,o=i.pageY,a=this.touchStartOrigin;if(n===s.PROGRESS?this.changeProgress(r-a.x):n===s.VOLUME&&this.changeVolume(o-a.y),n===s.NONE)if(Math.abs(r-a.x)>Math.abs(o-a.y)){if(!this.enableProgressGesture)return void(this.gestureType=s.STOP);this.gestureType=s.PROGRESS,this.currentTimeOld=this.currentTimeNew=this.$refs.video.currentTime,this.fullscreen||e()}else{if(!this.pageGesture)return void(this.gestureType=s.STOP);this.gestureType=s.VOLUME,this.volumeOld=this.$refs.video.volume,this.fullscreen||e()}}},touchend:function(t){this.gestureType!==s.NONE&&this.gestureType!==s.STOP&&(t.stopPropagation(),t.preventDefault()),this.gestureType===s.PROGRESS&&this.currentTimeOld!==this.currentTimeNew&&(this.$refs.video.currentTime=this.currentTimeNew),this.gestureType=s.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)}}},u=c,l=(n("856e"),n("2877")),f=Object(l["a"])(u,(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:{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:{objectFit:t.objectFit},attrs:{loop:t.loop,src:t.srcSync,poster:t.poster,autoplay:t.autoplay,"webkit-playsinline":"",playsinline:""},domProps:{muted:t.muted},on:{click:t.triggerControls,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._s(t.$$t("uni.video.danmu"))+" ")]):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.centerPlayBtnShow?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))+" ")])]):t._e(),n("div",{staticClass:"uni-video-toast",class:{"uni-video-toast-volume":"volume"===t.gestureType}},[n("div",{staticClass:"uni-video-toast-title"},[t._v(" "+t._s(t.$$t("uni.video.volume"))+" ")]),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",{staticClass:"uni-video-slots"},[t._t("default")],2)])])}),[],!1,null,null,null);e["default"]=f.exports},"324c":function(t,e,n){},"332a":function(t,e,n){"use strict";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 d})),n.d(e,"preloadPage",(function(){return h})),n.d(e,"unPreloadPage",(function(){return p}));var i,r=n("0f74");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";if("switchTab"!==t&&"preloadPage"!==t||!a.meta.isTabBar||"appLaunch"===n.openType||(e=o),a.meta.isEntry&&(e=e.replace(a.alias,"/")),n.url=function(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 i=[];return n.split("&").forEach((function(t){var e=t.replace(/\+/g," ").split("="),n=e.shift(),r=e.length>0?e.join("="):"";i.push(n+"="+encodeURIComponent(r))})),i.length?t+"?"+i.join("&"):t}(e),"unPreloadPage"!==t)if("preloadPage"!==t){if(i===e&&"appLaunch"!==n.openType)return"".concat(i," locked");__uniConfig.ready&&!1!==__uniConfig.enableNavigatorLock&&(i=e)}else if(a.meta.isTabBar){var s=getCurrentPages(!0),c=(a.alias||a.path).substr(1);if(s.find((function(t){return t.route===c})))return"tabBar page `"+c+"` already exists"}}}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)},beforeAll:function(){i=""}},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"),d=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"])),h={url:{type:String,required:!0,validator:o("preloadPage")}},p={url:{type:String,required:!0,validator:o("unPreloadPage")}}},"33b4":function(t,e,n){},"33ed":function(t,e,n){"use strict";(function(t){n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return c}));var i,r=n("4a59");function o(t){t.preventDefault()}function a(t){var e=t.scrollTop,n=t.selector,i=t.duration;if("undefined"===typeof e){var r=document.querySelector(n);if(r){var o=r.getBoundingClientRect(),a=o.top,s=o.height;e=a+window.pageYOffset,e-=s}}var c=document.documentElement,u=c.clientHeight,l=c.scrollHeight;e=Math.min(e,l-u),0!==i?window.scrollY!==e&&function t(n){if(n<=0)window.scrollTo(0,e);else{var i=e-window.scrollY;requestAnimationFrame((function(){window.scrollTo(0,window.scrollY+i/n*10),t(n-10)}))}}(i):c.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,d=!0;function h(){var t=document.documentElement.scrollHeight,e=window.innerHeight,n=window.scrollY,i=n>0&&t>e&&n+e+c>=t,r=Math.abs(t-s)>c;return!i||f&&!r?(!i&&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(r["a"])("onPageScroll",{scrollTop:s},e),u&&t.emit("onPageScroll",{scrollTop:s}),a&&d&&(c()||(i=setTimeout(c,300))),l=!1}function c(){if(h())return Object(r["a"])("onReachBottom",{},e),d=!1,setTimeout((function(){d=!0}),350),!0}}return function(){clearTimeout(i),l||requestAnimationFrame(p),l=!0}}}).call(this,n("501c"))},"34b2":function(t,e,n){"use strict";n.r(e),function(t){function i(){return window.location.protocol+"//"+window.location.host}function r(e,n){var r=e.src,o=t,a=o.invokeCallbackHandler,s=new Image,c=r;s.onload=function(){a(n,{errMsg:"getImageInfo:ok",width:s.naturalWidth,height:s.naturalHeight,path:0===c.indexOf("/")?i()+c:c})},s.onerror=function(t){a(n,{errMsg:"getImageInfo:fail"})},s.src=r}n.d(e,"getImageInfo",(function(){return r}))}.call(this,n("0dd1"))},3563:function(t,e,n){"use strict";n.r(e);var i=n("f2b3"),r=n("bd97"),o=n("8af1");o["d"].addInteractListener();e["default"]=function(t){var e=t.count,n=t.sourceType,o=t.type,a=t.extension,s=document.createElement("input");return s.type="file",Object(i["w"])(s,{position:"absolute",visibility:"hidden","z-index":-999,width:0,height:0,top:0,left:0}),s.accept=a.map((function(t){if("*"!==o){var e=t.replace(".","");return"".concat(o,"/").concat(r["default"][o][e]||e)}return function(){var t=window.navigator.userAgent.toLowerCase();return!(!t.match(/MicroMessenger/i)||"micromessenger"!==t.match(/MicroMessenger/i)[0])}()?".":0===t.indexOf(".")?t:".".concat(t)})).join(","),e>1&&(s.multiple="multiple"),1===n.length&&"camera"===n[0]&&(s.capture="camera"),s}},3590:function(t,e,n){},3648:function(t,e,n){"use strict";n.r(e),n.d(e,"canIUse",(function(){return s}));var i=n("f2b3");function r(t){return window.CSS&&CSS.supports&&(CSS.supports(t)||CSS.supports.apply(CSS,t.split(":")))}var o={"css.var":r("--a:0"),"css.env":r("top:env(a)"),"css.constant":r("top:constant(a)")},a=n("9fe4");function s(t){return Object(i["i"])(o,t)?o[t]:!!Object(i["i"])(a["a"],t)}},3676:function(t,e,n){"use strict";n.r(e),n.d(e,"getRecorderManager",(function(){return c}));var i=n("db70");function r(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:function(){};__uniConfig.darkmode&&t.on("api."+o["b"],e)}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};t.off("api."+o["b"],e)}function c(t){var e={};if(__uniConfig.darkmode){var n=Object(r["getTheme"])();e=Object(i["o"])(t,__uniConfig.themeConfig,n)}return __uniConfig.darkmode?e:t}}).call(this,n("0dd1"))},"3b51":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n("636c");function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},c=arguments.length>1?arguments[1]:void 0,l=arguments.length>2?arguments[2]:void 0;if(r(this,t),s(this,"option",void 0),s(this,"position",void 0),s(this,"index",void 0),s(this,"visible",void 0),s(this,"alwaysVisible",void 0),s(this,"div",void 0),s(this,"triangle",void 0),s(this,"callback",void 0),s(this,"parent",void 0),s(this,"Text",void 0),s(this,"createAMapText",o),s(this,"removeAMapText",u),s(this,"onAdd",e),s(this,"construct",e),s(this,"onRemove",n),s(this,"destroy",n),this.option=a||{},this.visible=this.alwaysVisible="ALWAYS"===a.display,i["c"])this.callback=c,this.parent=l,this.visible&&this.createAMapText();else{var f=a.map;this.position=a.position,this.index=1;var d=this.div=document.createElement("div"),h=d.style;h.position="absolute",h.whiteSpace="nowrap",h.transform="translateX(-50%) translateY(-100%)",h.zIndex="1",h.boxShadow=a.boxShadow||"none",h.display=this.visible?"block":"none";var p=this.triangle=document.createElement("div");p.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(a),d.appendChild(p),f&&this.setMap(f)}}return a(t,[{key:"onclick",set:function(t){this.div.onclick=t},get:function(){return this.div.onclick}}]),a(t,[{key:"setOption",value:function(t){this.option=t,"ALWAYS"===t.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,i["c"]?this.visible&&this.createAMapText():(this.setPosition(t.position),this.setStyle(t))}},{key:"setStyle",value: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||0)+5)+"px",this.triangle.style.borderColor="".concat(t.bgColor||"#fff"," transparent transparent")}},{key:"setPosition",value:function(t){this.position=t,this.draw()}},{key:"draw",value: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"}}},{key:"changed",value:function(){var t=this.div.style;t.display=this.visible?"block":"none"}}]),t}();if(!i["c"]){var f=l.prototype,d=new(t.OverlayView||t.Overlay);for(var h in d)h in f||(f[h]=d[h])}return l}},"3b54":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"getFileInfo",(function(){return a}));var i=n("e2e2"),r=t,o=r.invokeCallbackHandler;function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.filePath,n=arguments.length>1?arguments[1]:void 0;Object(i["f"])(e).then((function(t){o(n,{errMsg:"getFileInfo:ok",size:t.size})})).catch((function(t){o(n,{errMsg:"getFileInfo:fail "+t.message})}))}}.call(this,n("0dd1"))},"3b67":function(t,e,n){"use strict";var i=Object.create(null),r=n("e3a7");r.keys().forEach((function(t){Object.assign(i,r(t))})),e["a"]=i},"3bfb":function(t,e,n){"use strict";n.r(e),n.d(e,"createAudioContext",(function(){return r})),n.d(e,"createVideoContext",(function(){return o})),n.d(e,"createMapContext",(function(){return a})),n.d(e,"createCanvasContext",(function(){return s}));var i=[{name:"id",type:String,required:!0}],r=i,o=i,a=i,s=[{name:"canvasId",type:String,required:!0},{name:"componentInstance",type:Object}]},"3c79":function(t,e,n){},"3d1f":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("62b5"),r=n("a741");function o(t,e){e.getApp;var n=e.getCurrentPages;function o(t){return function(e,i){i=parseInt(i);var o=n(),a=o.find((function(t){return t.$page.id===i}));a&&Object(r["b"])(a,t,e)}}var a=Object(i["a"])("requestComponentInfo");var s=Object(i["a"])("requestComponentObserver");var c=Object(i["a"])("requestMediaQueryObserver");t("onPageReady",o("onReady")),t("onPageScroll",o("onPageScroll")),t("onReachBottom",o("onReachBottom")),t("onRequestComponentInfo",(function(t){var e=t.reqId,n=t.res,i=a.pop(e);i&&i(n)})),t("onRequestComponentObserver",(function(t){var e=t.reqId,n=t.reqEnd,i=t.res,r=s.get(e);if(r){if(n)return void s.pop(e);r(i)}})),t("onRequestMediaQueryObserver",(function(t){var e=t.reqId,n=t.reqEnd,i=t.res,r=c.get(e);if(r){if(n)return void c.pop(e);r(i)}}))}},"3d64":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"onNetworkStatusChange",(function(){return s})),n.d(e,"offNetworkStatusChange",(function(){return c})),n.d(e,"getNetworkType",(function(){return u}));var i=t,r=i.invokeCallbackHandler,o=[];function a(){var t=u(),e=t.networkType;o.forEach((function(t){r(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(t){if(t){var e=o.indexOf(t);e>=0&&o.splice(e,1)}if(!o.length){var n=navigator.connection||navigator.webkitConnection;n?n.removeEventListener("change",a):(window.removeEventListener("offline",a),window.removeEventListener("online",a))}}function u(){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){"use strict";var i=n("bfbd"),r=n.n(i);r.a},"3e8c":function(t,e,n){"use strict";n.r(e);var i=1e5,r={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()},activated:function(){this.reset()},methods:{reset:function(){var t=this.$el.firstChild;t.scrollLeft=i,t.scrollTop=i;var e=this.$el.lastChild;e.scrollLeft=i,e.scrollTop=i},update:function(){this.size.width=this.$el.offsetWidth,this.size.height=this.$el.offsetHeight,this.reset()}}},o=r,a=(n("64d0"),n("2877")),s=Object(a["a"])(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-resize-sensor",{on:{"~animationstart":function(e){return t.update(e)}}},[n("div",{on:{scroll:t.update}},[n("div")]),n("div",{on:{scroll:t.update}},[n("div")])])}),[],!1,null,null,null);e["default"]=s.exports},"3f15":function(t,e,n){"use strict";n.r(e),n.d(e,"getVideoInfo",(function(){return r}));var i=n("cb0f"),r={src:{type:String,required:!0,validator:function(t,e){e.src=Object(i["a"])(t)}}}},"3f7e":function(t,e,n){"use strict";var i=n("e692"),r=n.n(i);r.a},"439a":function(t,e,n){"use strict";n.r(e),n.d(e,"downloadFile",(function(){return i}));var i={url:{type:String,required:!0},header:{type:Object,validator:function(t,e){e.header=t||{}}}}},"442e":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return s}));var i=n("5129"),r=n.n(i),o=n("85b6"),a=n("f2b3");function s(e){e.config.errorHandler=function(n,i,r){var s=Object(a["u"])(n);e.util.warn("Error in ".concat(r,': "').concat("Error"===s?n.toString():n,'"'),i);var c="function"===typeof getApp&&getApp();c&&Object(o["c"])(c.$options,"onError")?c.__call_hook("onError",n):t.error(n)};var n=e.config.isReservedTag;e.config.isReservedTag=function(t){return-1!==r.a.indexOf(t)||n(t)},e.config.ignoredElements=r.a;var i=e.config.getTagNamespace,s=["switch","image","text","view"];e.config.getTagNamespace=function(t){return!~s.indexOf(t)&&i(t)}}}).call(this,n("3ad9")["default"])},"44de":function(t,e,n){"use strict";n.r(e),n.d(e,"vibrateLong",(function(){return r})),n.d(e,"vibrateShort",(function(){return o}));var i=!!window.navigator.vibrate;function r(){return i&&window.navigator.vibrate(400)?{errMsg:"vibrateLong:ok"}:{errMsg:"vibrateLong:fail"}}function o(){return i&&window.navigator.vibrate(15)?{errMsg:"vibrateShort:ok"}:{errMsg:"vibrateShort:fail"}}},"453f":function(t,e,n){"use strict";(function(t){var i=n("636c"),r=n("cb0f");e["a"]={props:{id:{type:[Number,String],default:""},latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},title:{type:String,default:""},iconPath:{type:String,require:!0},rotate:{type:[Number,String],default:0},alpha:{type:[Number,String],default:1},width:{type:[Number,String],default:""},height:{type:[Number,String],default:""},callout:{type:Object,default:null},label:{type:Object,default:null},anchor:{type:Object,default:null},clusterId:{type:[Number,String],default:""},customCallout:{type:Object,default:null},ariaLabel:{type:String,default:""}},data:function(){return{idString:String(isNaN(Number(this.id))?"":this.id)}},mounted:function(){var t=this,e=this.$parent;e.mapReady((function(){t._maps=e._maps,t._map=e._map,t.addMarker(t.$props),Object.keys(t.$props).forEach((function(e){t.$watch(e,(function(){t.updateMarker(t.$props)}))}))}))},beforeDestroy:function(){this.removeMarker()},methods:{addMarker:function(t){var e=this,n=this._maps,r=this._map,o=this._marker=new n.Marker({map:r,flat:!0,autoRotation:!1});this.$parent._markers[this.idString]=o,this.updateMarker(t),i["c"]?(o.dom.addEventListener("click",(function(t){e.handleAMapMarkerClick(t,o)})),o.dom.addEventListener("touchend",(function(t){e.handleAMapMarkerClick(t,o)}))):n.event.addListener(o,"click",(function(t){var n=o.callout;if(n&&!n.alwaysVisible&&(n.set("visible",!n.visible),n.visible)){var i=n.div,r=i.parentNode;r.removeChild(i),r.appendChild(i)}var a=t.event||t.domEvent;if(e.idString){var s=e.getMarkerLatitudeLongitude(t),c=s.latitude,u=s.longitude;e.$parent.$trigger("markertap",a,{markerId:Number(e.idString),latitude:c,longitude:u})}a.stopPropagation()}))},updateMarker:function(e){var n=this,o=this._map,a=this._maps,s=this._marker,c=e.title,u=i["c"]?new a.LngLat(e.longitude,e.latitude):new a.LatLng(e.latitude,e.longitude),l=new Image;l.onload=function(){var t,r,f,d=e.anchor||{},h="number"===typeof d.x?d.x:.5,p="number"===typeof d.y?d.y:1;e.iconPath&&(e.width||e.height)?(r=e.width||l.width/l.height*e.height,f=e.height||l.height/l.width*e.width):(r=l.width/2,f=l.height/2);var v=f-(f-p*f);t="MarkerImage"in a?new a.MarkerImage(l.src,null,null,new a.Point(h*r,p*f),new a.Size(r,f)):"Icon"in a?new a.Icon({image:l.src,size:new a.Size(r,f),imageSize:new a.Size(r,f),imageOffset:new a.Pixel(h*r,p*f)}):{url:l.src,anchor:new a.Point(h,p),size:new a.Size(r,f)},s.setPosition(u),s.setIcon(t),"setRotation"in s&&s.setRotation(e.rotate||0);var g,m=e.label||{};if("label"in s&&(s.label.setMap(null),delete s.label),m.content){var b={borderColor:m.borderColor,borderWidth:(Number(m.borderWidth)||0)+"px",padding:(Number(m.padding)||0)+"px",borderRadius:(Number(m.borderRadius)||0)+"px",backgroundColor:m.bgColor,color:m.color,fontSize:(m.fontSize||14)+"px",lineHeight:(m.fontSize||14)+"px",marginLeft:(Number(m.anchorX||m.x)||0)+"px",marginTop:(Number(m.anchorY||m.y)||0)+"px"};if("Label"in a)g=new a.Label({position:u,map:o,clickable:!1,content:m.content,style:b}),s.label=g;else if("setLabel"in s)if(i["c"]){var y='
\n ').concat(m.content,"\n
");s.setLabel({content:y,direction:"bottom-right"})}else{var _=n.updateMarkerLabelStyle(n.idString,b);s.setLabel({text:m.content,color:b.color,fontSize:b.fontSize,className:_})}}var w,S=e.callout||{},k=s.callout;if(S.content||c){var x="0px 0px 3px 1px rgba(0,0,0,0.5)";if(w=S.content?{position:u,map:o,top:v,offsetY:-e.height/2,content:S.content,color:S.color,fontSize:S.fontSize,borderRadius:S.borderRadius,bgColor:S.bgColor,padding:S.padding,boxShadow:S.boxShadow||x,display:S.display}:{position:u,map:o,top:v,offsetY:-e.height/2,content:c,boxShadow:x},k)k.setOption(w);else if(i["c"]){k=s.callout=new a.Callout(w,(function(t,e){e.idString&&e.$parent.$trigger("callouttap",t,{markerId:Number(e.idString)})}),n)}else k=s.callout=new a.Callout(w),k.div.onclick=function(t){n.idString&&n.$parent.$trigger("callouttap",t,{markerId:Number(n.idString)}),t.stopPropagation(),t.preventDefault()},Object(i["e"])().type===i["d"].GOOGLE&&(k.div.onpointerdown=function(t){t.stopPropagation()},k.div.ontouchstart=function(t){t.stopPropagation()})}else k&&(n.removeMarkerCallout(s.callout),delete s.callout)},e.iconPath?l.src=Object(r["a"])(e.iconPath):t.error("Marker.iconPath is required.")},handleAMapMarkerClick:function(t,e){var n=e.callout;n&&!n.alwaysVisible&&(n.visible=!n.visible,n.visible?e.callout.createAMapText():e.callout.removeAMapText()),this.idString&&this.$parent.$trigger("markertap",t,{markerId:Number(this.idString),latitude:e._position.lat,longitude:e._position.lng}),t.stopPropagation()},updateMarkerLabelStyle:function(t,e){var n="uni-map-marker-label-"+t,i=document.getElementById(n);i||(i=document.createElement("style"),i.id=n,document.head.appendChild(i),this.$once("hook:destroyed",(function(){i.remove()})));var r=Object.assign({},e,{position:"absolute",top:"70px",borderStyle:"solid"}),o=document.createElement("div");return Object.keys(r).forEach((function(t){o.style[t]=r[t]||""})),i.innerText=".".concat(n,"{").concat(o.getAttribute("style"),"}"),n},getMarkerLatitudeLongitude:function(t){var e,n,r=Object(i["e"])();return i["c"]?(e=t.lnglat.lat,n=t.lnglat.lng):r.type===i["d"].QQ?(e=t.latLng.lat,n=t.latLng.lng):r.type===i["d"].GOOGLE&&(e=t.latLng.lat(),n=t.latLng.lng()),{latitude:e,longitude:n}},removeMarker:function(){var t=this._marker;t&&(t.label&&"setMap"in t.label&&t.label.setMap(null),t.callout&&this.removeMarkerCallout(t.callout),t.setMap(null)),delete this.$parent._markers[this.idString],this._marker=null},removeMarkerCallout:function(t){i["c"]?t.removeAMapText():t.setMap(null)}},render:function(){return null}}}).call(this,n("3ad9")["default"])},"454d":function(t,e,n){"use strict";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 i=n("db70"),r=n("a118");function o(t){var e=t.index;return Object(i["c"])("setTabBarBadge",{index:e,type:"none"})}function a(t){var e=t.index;return Object(i["c"])("setTabBarBadge",{index:e,type:"redDot"})}var s=o,c=[];function u(t){c.push(t)}Object(i["d"])("onTabBarMidButtonTap",(function(t){c.forEach((function(e){Object(r["a"])(e,t)}))}))},"45d2":function(t,e,n){"use strict";n.r(e),n.d(e,"upx2px",(function(){return s}));var i=!1,r=0,o=0;function a(t,e){return t=Number(t),isNaN(t)?e:t}function s(t,e){if(0===r&&function(){var t=uni.getSystemInfoSync(),e=t.platform,n=t.pixelRatio,a=t.windowWidth;r=a,o=n,i="ios"===e}(),t=Number(t),0===t)return 0;var n=__uniConfig.globalStyle||__uniConfig.window||{},s=a(n.rpxCalcMaxDeviceWidth,960),c=a(n.rpxCalcBaseDeviceWidth,375),u=a(n.rpxCalcIncludeWidth,750),l=e||r;l=t===u||l<=s?l:c;var f=t/750*l;return f<0&&(f=-f),f=Math.floor(f+1e-4),0===f&&(f=1!==o&&i?.5:1),t<0?-f:f}},"45db":function(t,e,n){"use strict";n.r(e),function(t){var i;function r(t){i=t}function o(){i&&t.emit(i+".stopPullDownRefresh",{},i);var e=getCurrentPages();return e.length&&(i=e[e.length-1].$page.id,t.emit(i+".startPullDownRefresh",{},i)),{}}function a(){if(i)t.emit(i+".stopPullDownRefresh",{},i),i=null;else{var e=getCurrentPages();e.length&&(i=e[e.length-1].$page.id,t.emit(i+".stopPullDownRefresh",{},i))}return{}}n.d(e,"setPullDownRefreshPageId",(function(){return r})),n.d(e,"startPullDownRefresh",(function(){return o})),n.d(e,"stopPullDownRefresh",(function(){return a}))}.call(this,n("0dd1"))},"4a59":function(t,e,n){"use strict";(function(t){function i(e,n,i){t.UniServiceJSBridge.subscribeHandler(e,n,i)}n.d(e,"a",(function(){return i}))}).call(this,n("c8ba"))},"4c39":function(t,e,n){"use strict";var i=n("cb0f"),r={props:{id:{type:[Number,String],default:""},position:{type:Object,required:!0},iconPath:{type:String,required:!0},clickable:{type:Boolean,default:!1}},computed:{imgPath:function(){return Object(i["a"])(this.iconPath)},positionStyle:function(){var t="top:".concat(this.position.top||0,"px;left:").concat(this.position.left||0,"px;");return this.position.width&&(t+="width:".concat(this.position.width,"px;")),this.position.height&&(t+="height:".concat(this.position.height,"px;")),t}},methods:{handleClick:function(t){this.clickable&&this.$parent.$trigger("controltap",t,{controlId:this.id}),t.stopPropagation()}}},o=r,a=(n("a8b8"),n("2877")),s=Object(a["a"])(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"uni-map-control"},[n("img",{staticClass:"uni-map-control-icon",style:t.positionStyle,attrs:{src:t.imgPath},on:{click:t.handleClick}})])}),[],!1,null,null,null);e["a"]=s.exports},"4ca9":function(t,e,n){"use strict";n.r(e),function(t){var i=n("6389"),r=n.n(i),o=n("85b6"),a=n("abbf"),s=n("0784"),c=n("aa92"),u=n("02c9"),l=n("23e5"),f=n("f2b3");function d(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 p(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=decodeURI(window.location.pathname),n=window.location.search,i=window.location.hash;return"/"===t[t.length-1]&&e===t.substring(0,t.length-1)&&(e=t,window.history.replaceState({},"",t+n+i)),t&&0===e.indexOf(t)&&(e=e.slice(t.length)),(e||"/")+n+i}e["default"]={install:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.routes;e.config.devtools&&"undefined"!==typeof window&&-1!==window.navigator.userAgent.toLowerCase().indexOf("hbuilderx")&&(e.config.devtools=!1),Object(u["a"])(e),Object(c["a"])(e),Object(f["v"])(e),"undefined"!==typeof __UNI_ROUTER_BASE__&&(__uniConfig.router.base=__UNI_ROUTER_BASE__);var v=d(i),g=new r.a({id:v,mode:__uniConfig.router.mode,base:__uniConfig.router.base,routes:i,scrollBehavior:function(t,e,n){if(n)return n;if(t&&e&&t.meta.isTabBar&&e.meta.isTabBar){var i=Object(l["b"])(t.params.__id__);if(i)return i}return{x:0,y:0}}}),m=[],b=g.match("history"===__uniConfig.router.mode?p(__uniConfig.router.base):h());if(b.meta.name&&(b.meta.id?m.push(b.meta.name+"-"+b.meta.id):m.push(b.meta.name+"-"+(v+1))),b.meta&&b.meta.name&&(document.body.className="uni-body "+b.meta.name,b.meta.isNVue)){var y="nvue-dir-"+__uniConfig.nvue["flex-direction"];document.body.setAttribute("nvue",""),document.body.setAttribute(y,"")}e.mixin({beforeCreate:function(){var n=this.$options;if("app"===n.mpType){n.data=function(){return{keepAliveInclude:m}};var r=Object(a["a"])(e,i,b);Object.keys(r).forEach((function(t){n[t]=n[t]?[].concat(r[t],n[t]):[r[t]]})),n.router=g,Array.isArray(n.onError)&&0!==n.onError.length||(n.onError=[function(e){t.error(e)}])}else if(Object(o["d"])(this)){var c=Object(s["a"])();Object.keys(c).forEach((function(t){n.mpOptions?n[t]=n[t]?[].concat(n[t],c[t]):[c[t]]:n[t]=n[t]?[].concat(c[t],n[t]):[c[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.prototype.createMediaQueryObserver=function(t){return uni.createMediaQueryObserver(this,t)},e.use(r.a)}}}.call(this,n("3ad9")["default"])},"4ccd":function(t,e,n){"use strict";n.r(e),e["default"]={data:function(){return{popupWidth:0,popupHeight:0}},computed:{isDesktop:function(){return this.popupWidth>=500&&this.popupHeight>=500},popupStyle:function(){var t={},e=t.content={},n=t.triangle={},i=this.popover;function r(t){return Number(t)||0}if(this.isDesktop&&i){Object.assign(n,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});var o=r(i.left),a=r(i.width),s=r(i.top),c=r(i.height),u=o+a/2;e.transform="none !important";var l=Math.max(0,u-150);e.left="".concat(l,"px");var f=Math.max(12,u-l);f=Math.min(288,f),n.left="".concat(f,"px");var d=this.popupHeight/2;s+c-d>d-s?(e.top="auto",e.bottom="".concat(this.popupHeight-s+6,"px"),n.bottom="-6px",n["border-width"]="6px 6px 0 6px",n["border-color"]="#fcfcfd transparent transparent transparent"):(e.top="".concat(s+c+6,"px"),n.top="-6px",n["border-width"]="0 6px 6px 6px",n["border-color"]="transparent transparent #fcfcfd transparent")}return t}},mounted:function(){var t=this,e=function(){var e=uni.getSystemInfoSync(),n=e.windowWidth,i=e.windowHeight,r=e.windowTop;t.popupWidth=n,t.popupHeight=i+r};window.addEventListener("resize",e),e(),this.$once("hook:beforeDestroy",(function(){window.removeEventListener("resize",e)}))}}},"4da7":function(t,e,n){"use strict";n.r(e);var i=n("5881"),r=i["a"],o=(n("c8ed"),n("2877")),a=Object(o["a"])(r,void 0,void 0,!1,null,null,null);e["default"]=a.exports},"4e0b":function(t,e,n){},"4e7c":function(t,e,n){"use strict";n.r(e),n.d(e,"getProvider",(function(){return r}));var i={OAUTH:"OAUTH",SHARE:"SHARE",PAYMENT:"PAYMENT",PUSH:"PUSH"},r={service:{type:String,required:!0,validator:function(t,e){if(t=(t||"").toUpperCase(),t&&Object.values(i).indexOf(t)<0)return"service error"}}}},"4f1c":function(t,e,n){"use strict";n.r(e);var i=n("8af1"),r={name:"Switch",mixins:[i["a"],i["f"]],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}}},o=r,a=(n("a5ec"),n("2877")),s=Object(a["a"])(o,(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}})])])}),[],!1,null,null,null);e["default"]=s.exports},"4f43":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"downloadFile",(function(){return s}));var i=n("e2e2");function r(t,e){for(var n=0;n=0&&this._callbacks.splice(e,1)}},{key:"abort",value:function(){this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),t}();function s(e,n){var r,o=e.url,s=e.header,c=e.timeout,u=void 0===c?__uniConfig.networkTimeout&&__uniConfig.networkTimeout.request||6e4:c,l=t,f=l.invokeCallbackHandler,d=new XMLHttpRequest,h=new a(d);return d.open("GET",o,!0),Object.keys(s).forEach((function(t){d.setRequestHeader(t,s[t])})),d.responseType="blob",d.onload=function(){clearTimeout(r);var t,e=d.status,a=this.response,s=d.getResponseHeader("content-disposition");if(s){var c=s.match(/filename="?(\S+)"?\b/);c&&(t=c[1])}a.name=t||Object(i["c"])(o),f(n,{errMsg:"downloadFile:ok",statusCode:e,tempFilePath:Object(i["b"])(a)})},d.onabort=function(){clearTimeout(r),f(n,{errMsg:"downloadFile:fail abort"})},d.onerror=function(){clearTimeout(r),f(n,{errMsg:"downloadFile:fail"})},d.onprogress=function(t){h._callbacks.forEach((function(e){var n=t.loaded,i=t.total,r=Math.round(n/i*100);e({progress:r,totalBytesWritten:n,totalBytesExpectedToWrite:i})}))},d.send(),r=setTimeout((function(){d.onprogress=d.onload=d.onabort=d.onerror=null,h.abort(),f(n,{errMsg:"downloadFile:fail timeout"})}),u),h}}.call(this,n("0dd1"))},"4f53":function(t,e,n){"use strict";n.r(e),n.d(e,"saveImageToPhotosAlbum",(function(){return r}));var i=n("cb0f"),r={filePath:{type:String,required:!0,validator:function(t,e){e.filePath=Object(i["a"])(t)}}}},"4fef":function(t,e,n){"use strict";var i=n("7572"),r=n.n(i);r.a},"501c":function(t,e,n){"use strict";n.r(e),n.d(e,"on",(function(){return p})),n.d(e,"off",(function(){return v})),n.d(e,"once",(function(){return g})),n.d(e,"emit",(function(){return m})),n.d(e,"subscribe",(function(){return b})),n.d(e,"unsubscribe",(function(){return y})),n.d(e,"subscribeHandler",(function(){return _})),n.d(e,"publishHandler",(function(){return d["a"]}));var i=n("8bbf"),r=n.n(i);var o=n("6bdf"),a=n("5dc1"),s=n("1c73"),c={setPageMeta:function(t){var e=t.pageStyle,n=t.rootFontSize,i=document.querySelector("uni-page-body")||document.body;i.setAttribute("style",e),n&&document.documentElement.style.fontSize!==n&&(document.documentElement.style.fontSize=n)},requestComponentInfo:o["a"],requestComponentObserver:a["b"],destroyComponentObserver:a["a"],requestMediaQueryObserver:s["b"],destroyMediaQueryObserver:s["a"]},u=n("33ed"),l=n("7107"),f=n("764a");var d=n("4a59"),h=new r.a,p=h.$on.bind(h),v=h.$off.bind(h),g=h.$once.bind(h),m=h.$emit.bind(h);function b(t,e){return p("service."+t,e)}function y(t,e){return v("service."+t,e)}function _(t,e,n){m("service."+t,e,n)}(function(t){Object.keys(c).forEach((function(e){t(e,c[e])})),t("pageScrollTo",u["c"]),t("loadFontFace",l["a"]),Object(f["a"])(t)})(b)},"50c5":function(t,e,n){},5129:function(t,e){t.exports=["uni-app","uni-layout","uni-content","uni-main","uni-top-window","uni-left-window","uni-right-window","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){"use strict";(function(t){var i=n("5a56");e["a"]={name:"Toast",mixins:[i["default"]],props:{title:{type:String,default:""},icon:{default:"success",validator:function(t){return-1!==["success","loading","error","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":"error"===this.icon?"uni-icon-error":""}},beforeUpdate:function(){this.visible&&(this.timeoutId&&clearTimeout(this.timeoutId),this.timeoutId=setTimeout((function(){t.emit("onHideToast")}),this.duration))}}}).call(this,n("0dd1"))},5243:function(t,e,n){"use strict";n.r(e),n.d(e,"compressVideo",(function(){return r}));var i=n("cb0f"),r={src:{type:String,required:!0,validator:function(t,e){e.src=Object(i["a"])(t)}},quality:{type:String},bitrate:{type:Number},fps:{type:Number},resolution:{type:Number}}},5363:function(t,e,n){"use strict";function i(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}n.d(e,"a",(function(){return i})),i.prototype.set=function(t,e){this._x=t,this._v=e,this._startTime=(new Date).getTime()},i.prototype.setVelocityByEnd=function(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)},i.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},i.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},i.prototype.done=function(){return Math.abs(this.dx())<3},i.prototype.reconfigure=function(t){var e=this.x(),n=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(e,n)},i.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 i={"./audio/index.vue":"6150","./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"};function r(t){var e=o(t);return n(e)}function o(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=o,t.exports=r,r.id="5408"},"54bc":function(t,e,n){},"54f4":function(t,e,n){"use strict";function i(){var t=document.activeElement;!t||"TEXTAREA"!==t.tagName&&"INPUT"!==t.tagName||t.blur()}n.r(e),n.d(e,"hideKeyboard",(function(){return i}))},5513:function(t,e,n){"use strict";n.r(e);var i=n("ba15"),r=n("f2b3");function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function a(t){for(var e=1;ethis.displayMultipleItemsNumber},circularEnabled:function(){return this.circular&&this.swiperEnabled}},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,e){this._currentChanged(t,e),this.$emit("update:current",t),this._setNavigationState()},currentItemId:function(t){this._currentCheck()},currentItemIdSync:function(t){this.$emit("update:currentItemId",t)},displayMultipleItemsNumber:function(){this._resetLayout()},navigation:{immediate:!0,handler:function(t){this.isNavigationAuto="auto"===t,this.hideNavigation=!0!==t||this.isNavigationAuto,this._navigationSwiperAddMouseEvent()}},items:function(){this._setNavigationState()},swiperEnabled:function(t){t||(this.prevDisabled=!0,this.nextDisabled=!0,this.isNavigationAuto&&(this.hideNavigation=!0))}},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),this._navigationSwiperAddMouseEvent()},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;er/2?1:0)}var o=this.items[t];o&&this._itemReady(o,(function(){var t=n.currentItemIdSync=o.componentInstance.itemId||"";n.$trigger("change",{},{current:n.currentSync,currentItemId:t,source:i})}))},_scheduleAutoplay:function(){var t=this;this._cancelSchedule(),!this._isMounted||this._invalid||this.items.length<=this.displayMultipleItemsNumber||(this._timer=setTimeout((function e(){t._timer=null,t.currentChangeSource="autoplay",t.circularEnabled?t.currentSync=t._normalizeCurrentValue(t.currentSync+1):t.currentSync=t.currentSync+t.displayMultipleItemsNumbere-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;e0&&this._viewportMoveRatio<1||(this._viewportMoveRatio=1)}var r=this._viewportPosition;this._viewportPosition=-2;var o=this.currentSync;o>=0?(this._invalid=!1,this.userTracking?(this._updateViewport(r+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,i=t+this.displayMultipleItemsNumber,r=0;r=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*r.offsetWidth,dy:this.vertical?t*r.offsetHeight:0})},_animateFrameFuncProto:function(){var t=this;if(this._animating){var e=this._animating,n=e.toPos,i=e.acc,r=e.endTime,o=e.source,a=r-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=i*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 i=this.durationNumber,r=this.items.length,o=this._viewportPosition;if(this.circularEnabled)if(n<0){for(;ot;)o-=r}else if(n>0){for(;o>t;)o-=r;for(;o+rt;)o-=r;o+r-tr)&&(i<0?i=-o(-i):i>r&&(i=r+o(i-r)),e._contentTrackSpeed=0),e._updateViewport(i)}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 i=this._normalizeCurrentValue(this._viewportPosition+n);t?this._updateViewport(this._contentTrackViewport):(this.currentChangeSource="touch",this.currentSync=i,this._animateViewport(i,"touch",0!==n?n:0===i&&this.circularEnabled&&this._viewportPosition>=1?1:0))},_handleContentTrack:function(t){if(!this.disableTouch&&this.items.length&&!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}}},_onSwiperDotClick:function(t){this._animateViewport(this.currentSync=t,this.currentChangeSource="click",this.circularEnabled?1:0)},_navigationClick:function(t,e,n){if(t.stopPropagation(),!n){var i=this.items.length,r=this.currentSync;switch(e){case"prev":r--,r<0&&this.circularEnabled&&(r=i-1);break;case"next":r++,r>=i&&this.circularEnabled&&(r=0);break}this._onSwiperDotClick(r)}},_navigationMouseMove:function(t){var e=this;clearTimeout(this.hideNavigationTimer);var n,i=t.clientX,r=t.clientY,o=this.$refs.slidesWrapper.getBoundingClientRect(),a=o.left,s=o.right,c=o.top,u=o.bottom,l=o.width,f=o.height;n=this.vertical?!(r-c=t}},render:function(t){var e=this,n=[],i=[];this.$slots.default&&Object(r["f"])(this.$slots.default,t).forEach((function(t){t.componentOptions&&"v-uni-swiper-item"===t.componentOptions.tag&&i.push(t)}));for(var o=function(i,r){var o=e.currentSync;n.push(t("div",{on:{click:function(){return e._onSwiperDotClick(i)}},class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":i=o||i=4&&(e.text="...")}}}},5676:function(t,e,n){"use strict";var i=n("c33a"),r=n.n(i);r.a},"56e9":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"showModal",(function(){return a})),n.d(e,"showToast",(function(){return s})),n.d(e,"hideToast",(function(){return c})),n.d(e,"showLoading",(function(){return u})),n.d(e,"hideLoading",(function(){return l})),n.d(e,"showActionSheet",(function(){return f}));var i=t,r=i.emit,o=i.invokeCallbackHandler;function a(t,e){r("onShowModal",t,(function(t){o(e,t)}))}function s(t){return r("onShowToast",t),{}}function c(){return r("onHideToast"),{}}function u(t){return r("onShowLoading",t),{}}function l(){return r("onHideLoading"),{}}function f(t,e){r("onShowActionSheet",t,(function(t){o(e,-1===t?{errMsg:"showActionSheet:fail cancel"}:{tapIndex:t})}))}}.call(this,n("0dd1"))},5727:function(t,e,n){"use strict";var i=n("28da"),r=n.n(i);r.a},5768:function(t,e,n){"use strict";n.r(e);var i=n("8af1"),r="(prefers-color-scheme: dark)",o=["done","go","next","search","send"],a={name:"Textarea",mixins:[i["b"]],props:{name:{type:String,default:""},maxlength:{type:[Number,String],default:140},placeholder:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},placeholderClass:{type:String,default:"textarea-placeholder"},placeholderStyle:{type:String,default:""},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:function(t){return o.concat("return").includes(t)}}},data:function(){return{valueComposition:"",height:0,focusChangeSource:"",fixMargin:0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(r).media!==r}},computed:{maxlengthNumber:function(){var t=Number(this.maxlength);return isNaN(t)?140:t},valueCompute:function(){return(this.composing?this.valueComposition:this.valueSync).split("\n")},isDone:function(){return o.includes(this.confirmType)}},watch:{focus:function(t){t&&(this.focusChangeSource="focus")},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="auto",this.$refs.wrapper.style.height=this.height+"px")}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){this._resize({height:this.$refs.sensor.$el.offsetHeight});var t=this;while(t){var e=t.$options._scopeId;e&&this.$refs.placeholder.setAttribute(e,""),t=t.$parent}},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onKeyDownEnter:function(t){this.isDone&&t.preventDefault()},_onKeyUpEnter:function(t){this.isDone&&(this._confirm(t),!this.confirmHold&&this.$refs.textarea.blur())},_onComposition:function(t){switch(t.type){case"compositionstart":this.composing=!0;break;case"compositionend":this.composing&&(this.composing=!1,this._onInput(t));break}!this.ignoreCompositionEvent&&this.$trigger(t.type,t,{data:t.data})},_confirm:function(t){this.$trigger("confirm",t,{value:this.valueSync})},_linechange:function(t){this.$trigger("linechange",t,{value:this.valueSync})},_onTouchstart:function(){this.focusChangeSource="touch"},_resize:function(t){var e=t.height;this.height=e},_onInput:function(t,e){this.composing&&this.ignoreCompositionEvent?this.valueComposition=t.target.value:(this.ignoreCompositionEvent||(this.valueSync=this.$refs.textarea.value),this.$triggerInput(t,{value:this.valueSync,cursor:this.$refs.textarea.selectionEnd},e))},_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,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-textarea",t._g({},t.$listeners),[n("div",{ref:"wrapper",staticClass:"uni-textarea-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!(t.composing||t.valueSync.length),expression:"!(composing || valueSync.length)"}],ref:"placeholder",staticClass:"uni-textarea-placeholder",class:t.placeholderClass,style:t.placeholderStyle,domProps:{textContent:t._s(t.placeholder)}}),n("div",{ref:"line",staticClass:"uni-textarea-line",domProps:{textContent:t._s(" ")}}),n("div",{staticClass:"uni-textarea-compute"},[t._l(t.valueCompute,(function(e,i){return n("div",{key:i,domProps:{textContent:t._s(e.trim()?e:".")}})})),n("v-uni-resize-sensor",{ref:"sensor",on:{resize:t._resize}})],2),t.disabled&&t.fixColor?t._e():n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.valueSync,expression:"valueSync"},{name:"keyboard",rawName:"v-keyboard"},{name:"field",rawName:"v-field"}],ref:"textarea",staticClass:"uni-textarea-textarea",class:{"uni-textarea-textarea-fix-margin":t.fixMargin},style:{"overflow-y":t.autoHeight?"hidden":"auto"},attrs:{disabled:t.disabled,maxlength:t.maxlengthNumber,enterkeyhint:t.confirmType},domProps:{value:t.valueSync},on:{change:function(t){t.stopPropagation()},compositionstart:function(e){return e.stopPropagation(),t._onComposition(e)},compositionend:function(e){return e.stopPropagation(),t._onComposition(e)},compositionupdate:function(e){return e.stopPropagation(),t._onComposition(e)},input:[function(e){e.target.composing||(t.valueSync=e.target.value)},function(e){return e.stopPropagation(),t._onInput(e)}],focus:t._onFocus,blur:t._onBlur,"&touchstart":function(e){return t._onTouchstart(e)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t._onKeyUpEnter(e)},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t._onKeyDownEnter(e)}}}),t._v(" "),t.disabled&&t.fixColor?n("textarea",{ref:"textarea",staticClass:"uni-textarea-textarea",class:{"uni-textarea-textarea-fix-margin":t.fixMargin},style:{"overflow-y":t.autoHeight?"hidden":"auto"},attrs:{tabindex:"-1",readonly:t.disabled,maxlength:t.maxlengthNumber},domProps:{value:t.valueSync},on:{focus:function(t){return t.target.blur()}}}):t._e()])])}),[],!1,null,null,null);e["default"]=u.exports},"57a7":function(t,e,n){"use strict";n.r(e),n.d(e,"createInnerAudioContext",(function(){return l}));var i=n("db70");function r(t,e){for(var n=0;n=0&&n.splice(i,1)}})),Object(i["d"])("onAudioStateChange",(function(t){var e=t.state,n=t.audioId,i=t.errMsg,r=t.errCode,o=u[n];if(o)if(c(o,e,i,r),"play"===e){var a=o.currentTime;o.__timing=setInterval((function(){var t=o.currentTime;t!==a&&c(o,"timeupdate")}),200)}else"pause"!==e&&"stop"!==e&&"error"!==e||clearInterval(o.__timing)}));var u=Object.create(null);function l(){var t=Object(i["c"])("createAudioInstance"),e=t.audioId,n=new s(e);return u[e]=n,n}},"581a":function(t,e,n){},5881:function(t,e,n){"use strict";(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(/ /g,n.nbsp).replace(/ /g,n.ensp).replace(/ /g,n.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")),t}},render:function(e){var n=this,i=[];return this.$slots.default&&this.$slots.default.forEach((function(r){if(r.text){var o=r.text.replace(/\\n/g,"\n"),a=o.split("\n");a.forEach((function(t,r){i.push(n._decodeHtml(t)),r!==a.length-1&&i.push(e("br"))}))}else r.componentOptions&&"v-uni-text"!==r.componentOptions.tag&&t.warn("Do not nest other components in the text component, as there may be display differences on different platforms."),i.push(r)})),e("uni-text",{on:this.$listeners,attrs:{selectable:!!this.selectable}},[e("span",{},i)])}}}).call(this,n("3ad9")["default"])},"594d":function(t,e,n){"use strict";n.r(e);var i=n("738e"),r=i["a"],o=(n("3f7e"),n("2877")),a=Object(o["a"])(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-map",t._g({ref:"mapContainer",attrs:{id:t.id}},t.$listeners),[t._l(t.markers,(function(e){return n("map-marker",t._b({key:e.id},"map-marker",e,!1))})),t._l(t.controls,(function(e,i){return n("map-control",t._b({key:e.id||i},"map-control",e,!1))})),t._l(t.polygons,(function(e){return n("map-polygon",t._b({key:JSON.stringify(e.points)},"map-polygon",e,!1))})),n("div",{ref:"map",staticStyle:{width:"100%",height:"100%",position:"relative",overflow:"hidden"},on:{click:function(t){t.stopPropagation()}}}),n("div",{staticStyle:{position:"absolute",top:"0",width:"100%",height:"100%",overflow:"hidden","pointer-events":"none"}},[t._t("default")],2)],2)}),[],!1,null,null,null);e["default"]=a.exports},5964:function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"setNavigationBarColor",(function(){return o})),n.d(e,"showNavigationBarLoading",(function(){return a})),n.d(e,"hideNavigationBarLoading",(function(){return s})),n.d(e,"setNavigationBarTitle",(function(){return c}));var i=n("79d5");function r(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object(i["getPageHolder"])(n.__page__);if(r)switch(e){case"setNavigationBarColor":var o=n.frontColor,a=n.backgroundColor,s=n.animation,c=s.duration,u=s.timingFunc;o&&(r.navigationBar.textColor="#000000"===o?"black":"white"),a&&(r.navigationBar.backgroundColor=a),t.emit("onNavigationBarChange",{textColor:"#000000"===o?"#000":"#fff",backgroundColor:r.navigationBar.backgroundColor}),r.navigationBar.duration=c+"ms",r.navigationBar.timingFunc=u;break;case"showNavigationBarLoading":r.navigationBar.loading=!0;break;case"hideNavigationBarLoading":r.navigationBar.loading=!1;break;case"setNavigationBarTitle":var l=n.title;r.navigationBar.titleText=l,Object(i["isCurrentPage"])(r)&&(document.title=l),t.emit("onNavigationBarChange",{titleText:l});break}return{}}function o(t){return r("setNavigationBarColor",t)}function a(t){return r("showNavigationBarLoading",t)}function s(t){return r("hideNavigationBarLoading",t)}function c(t){return r("setNavigationBarTitle",t)}}.call(this,n("0dd1"))},"5a23":function(t,e,n){"use strict";n("f2b3");var i=n("5cf8");function r(){}e["a"]={name:"Keyboard",mixins:[i["a"]],props:{cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},computed:{isApple:function(){return 0===String(navigator.vendor).indexOf("Apple")}},directives:{keyboard:{inserted:function(t,e,n){n.context.initKeyboard(t)}}},methods:{initKeyboard:function(t){var e=this;t.addEventListener("focus",(function(){clearTimeout(void 0),document.addEventListener("click",r,!1)}));t.addEventListener("blur",(function(){e.isApple&&t.blur(),function(){document.removeEventListener("click",r,!1),e.isApple&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}()}))}}}},"5a56":function(t,e,n){"use strict";n.r(e),e["default"]={methods:{beforeTransition:function(){},afterTransition:function(){}}}},"5ab3":function(t,e,n){"use strict";var i=n("b2bb"),r=n.n(i);r.a},"5abe":function(t,e){(function(){"use strict";if("object"===("undefined"===typeof window?"undefined":i(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):(a(window,"resize",this._checkForIntersections,!0),a(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,s(window,"resize",this._checkForIntersections,!0),s(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():l();this._observationTargets.forEach((function(i){var r=i.element,a=u(r),s=this._rootContainsTarget(r),c=i.entry,l=t&&s&&this._computeTargetAndRootIntersection(r,e),f=i.entry=new n({time:o(),target:r,boundingClientRect:a,rootBounds:e,intersectionRect:l});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 i=u(e),r=i,o=d(e),a=!1;while(!a){var s=null,l=1==o.nodeType?window.getComputedStyle(o):{};if("none"==l.display)return;if(o==this.root||o==t?(a=!0,s=n):o!=t.body&&o!=t.documentElement&&"visible"!=l.overflow&&(s=u(o)),s&&(r=c(s,r),!r))break;o=d(o)}return r}},r.prototype._getRootRect=function(){var e;if(this.root)e=u(this.root);else{var n=t.documentElement,i=t.body;e={top:0,left:0,right:n.clientWidth||i.clientWidth,width:n.clientWidth||i.clientWidth,bottom:n.clientHeight||i.clientHeight,height:n.clientHeight||i.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,i=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==i)for(var r=0;r=0&&s>=0&&{top:n,bottom:i,left:r,right:o,width:a,height:s}}function u(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):l()}function l(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function f(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}})()},"5b9f":function(t,e,n){"use strict";var i=n("f2b3"),r=n("636c");e["a"]={props:{dashArray:{type:Array,default:function(){return[0,0]}},points:{type:Array,required:!0},strokeWidth:{type:Number,default:1},strokeColor:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},zIndex:{type:Number,default:0}},mounted:function(){var t=this,e=this.$parent;e.mapReady((function(){t.drawPolygon(),Object.keys(t.$props).forEach((function(e){t.$watch(e,(function(){t.drawPolygon()}),{deep:!0})}))}))},methods:{drawPolygon:function(){var t=this.points,e=this.strokeWidth,n=this.strokeColor,o=this.dashArray,a=this.fillColor,s=this.zIndex,c=this.$parent,u=c._maps,l=c._map,f=t.map((function(t){var e=t.latitude,n=t.longitude;return r["c"]?[n,e]:new u.LatLng(e,n)})),d=Object(i["j"])(a),h=d.r,p=d.g,v=d.b,g=d.a,m=Object(i["j"])(n),b=m.r,y=m.g,_=m.b,w=m.a,S={clickable:!0,cursor:"crosshair",editable:!1,map:l,fillColor:"",path:f,strokeColor:"",strokeDashStyle:o.some((function(t){return t>0}))?"dash":"solid",strokeWeight:e,visible:!0,zIndex:s};u.Color?(S.fillColor=new u.Color(h,p,v,g),S.strokeColor=new u.Color(b,y,_,w)):(S.fillColor="rgb(".concat(h,", ").concat(p,", ").concat(v,")"),S.fillOpacity=g,S.strokeColor="rgb(".concat(b,", ").concat(y,", ").concat(_,")"),S.strokeOpacity=w),this.polygonIns?this.polygonIns.setOptions(S):this.polygonIns=new u.Polygon(S)}},beforeDestroy:function(){this.polygonIns.setMap(null),this.polygonIns=null},render:function(){return null}}},"5cf8":function(t,e,n){"use strict";function i(t,e){for(var n=this.$children,r=n.length,o=arguments.length,a=new Array(o>2?o-2:0),s=2;s2?r-2:0),a=2;a2?n-2:0),o=2;o=0&&a.splice(e,1)}else a=[]}function p(t){s.push(t)}function v(t){if(t){var e=s.indexOf(t);e>=0&&s.splice(e,1)}else s=[]}}.call(this,n("0dd1"))},"5dc1":function(t,e,n){"use strict";(function(t,i){n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return l})),n("5abe");var r=n("85b6"),o=n("db8e");function a(t){return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function s(t){var e=t.intersectionRatio,n=t.boundingClientRect,i=n.height,r=n.width,o=t.intersectionRect,a=o.height,s=o.width;return 0!==e?e:a===i?s/r:a/i}var c={};function u(e,n){var u,l=e.reqId,f=e.component,d=e.options;if(n._isVue)u=n;else{var h=getCurrentPages(),p=h.find((function(t){return t.$page.id===n}));if(!p)throw new Error("Not Found:Page[".concat(n,"]"));u=p.$vm}var v=Object(o["b"])(f,u),g=d.relativeToSelector?v.querySelector(d.relativeToSelector):null,m=c[l]=new IntersectionObserver((function(e,n){e.forEach((function(e){t.publishHandler("onRequestComponentObserver",{reqId:l,res:{intersectionRatio:s(e),intersectionRect:a(e.intersectionRect),boundingClientRect:a(e.boundingClientRect),relativeRect:a(e.rootBounds),time:Date.now(),dataset:Object(r["b"])(e.target),id:e.target.id}})}))}),{root:g,rootMargin:d.rootMargin,threshold:d.thresholds});if(d.observeAll)m.USE_MUTATION_OBSERVER=!0,Array.prototype.map.call(v.querySelectorAll(d.selector),(function(t){t?m.observe(t):i.warn("Node ".concat(d.selector," is not found. Intersection observer will not trigger."))}));else{m.USE_MUTATION_OBSERVER=!1;var b=v.querySelector(d.selector);if(!b)return void i.warn("Node ".concat(d.selector," is not found. Intersection observer will not trigger."));m.observe(b)}}function l(e){var n=e.reqId,i=c[n];i&&(i.disconnect(),delete c[n],t.publishHandler("onRequestComponentObserver",{reqId:n,reqEnd:!0}))}}).call(this,n("501c"),n("3ad9")["default"])},"5ff9":function(t,e,n){"use strict";n.r(e),n.d(e,"loadFontFace",(function(){return i}));var i={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){"use strict";var i=n("ef36"),r=n.n(i);r.a},"60db":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"EditorContext",(function(){return a}));var i=n("f2b3");function r(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n0?v.PICKER:v.SELECT},system:function(){if(this.mode===h.DATE&&!Object.values(p).includes(this.fields)&&this.isDesktop&&/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""}},watch:{visible:function(t){var e=this;t?(clearTimeout(this.__contentVisibleDelay),this.contentVisible=t,this._select()):this.__contentVisibleDelay=setTimeout((function(){e.contentVisible=t}),300)},value:function(){this._setValueSync()},mode:function(){this._setValueSync()},range:function(){this._setValueSync()},valueSync:function(){this._setValueArray()},valueArray:function(t){var e=this;if(this.mode===h.TIME||this.mode===h.DATE){var n=this.mode===h.TIME?this._getTimeValue:this._getDateValue,i=this.valueArray,r=this.startArray,o=this.endArray;if(this.mode===h.DATE){var a=this.dateArray,s=a[2].length,c=Number(a[2][i[2]])||1,u=new Date("".concat(a[0][i[0]],"/").concat(a[1][i[1]],"/").concat(c)).getDate();un(o)&&this._cloneArray(i,o)}t.forEach((function(t,n){t!==e.oldValueArray[n]&&(e.oldValueArray[n]=t,e.mode===h.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._setValueSync()},beforeDestroy:function(){this.$refs.picker.remove(),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_show:function(t){var e=this;if(!this.disabled){this.valueChangeSource="";var n=this.$refs.picker;n.remove(),(document.querySelector("uni-app")||document.body).appendChild(n),n.style.display="block";var i=t.currentTarget.getBoundingClientRect();this.popover={top:i.top,left:i.left,width:i.width,height:i.height},setTimeout((function(){e.visible=!0}),20)}},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){switch(this.mode){case h.SELECTOR:this.valueSync=0;break;case h.MULTISELECTOR:this.valueSync=this.value.map((function(t){return 0}));break;case h.DATE:case h.TIME:this.valueSync="";break;default:break}},_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 i=0;i<60;i++)e.push((i<10?"0":"")+i);this.timeArray.push(t,e)},_createDate:function(){for(var t=[],e=function(t){var e=(new Date).getFullYear(),n=e-150,i=e+150;if(t.start){var r=new Date(t.start).getFullYear();!isNaN(r)&&ri&&(i=o)}return{start:n,end:i}}(this),n=e.start,i=e.end;n<=i;n++)t.push(String(n));for(var r=[],o=1;o<=12;o++)r.push((o<10?"0":"")+o);for(var a=[],s=1;s<=31;s++)a.push((s<10?"0":"")+s);this.dateArray.push(t,r,a)},_getTimeValue:function(t){return 60*t[0]+t[1]},_getDateValue:function(t){return 31*t[0]*12+31*(t[1]||0)+(t[2]||0)},_cloneArray:function(t,e){for(var n=0;na?0:o)}break;case h.TIME:case h.DATE:this.valueSync=String(t);break;default:var s=Number(t);this.valueSync=s<0?0:s;break}},_setValueArray:function(){var t,e=this.valueSync;switch(this.mode){case h.MULTISELECTOR:t=u(e);break;case h.TIME:t=this._getDateValueArray(e,Object(o["g"])({mode:h.TIME}));break;case h.DATE:t=this._getDateValueArray(e,Object(o["g"])({mode:h.DATE}));break;default:t=[e];break}this.oldValueArray=u(t),this.valueArray=u(t)},_getValue:function(){var t=this,e=this.valueArray;switch(this.mode){case h.SELECTOR:return e[0];case h.MULTISELECTOR:return e.map((function(t){return t}));case h.TIME:return this.valueArray.map((function(e,n){return t.timeArray[n][e]})).join(":");case h.DATE:return this.valueArray.map((function(e,n){return t.dateArray[n][e]})).join("-")}},_getDateValueArray:function(t,e){var n,i=this.mode===h.DATE?"-":":",r=this.mode===h.DATE?this.dateArray:this.timeArray;if(this.mode===h.TIME)n=2;else switch(this.fields){case p.YEAR:n=1;break;case p.MONTH:n=2;break;default:n=3;break}for(var o=String(t).split(i),a=[],s=0;s=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(t){if("firefox"===this.system){var e=this.popover,n=e.top,i=e.left,r=e.width,o=e.height,a=t.pageX,s=t.pageY;if(a>i&&an&&s=5&&t<=18?t:18},default:18},name:{type:String},address:{type:String}}},"70f4":function(t,e,n){"use strict";n.r(e);var i=n("f2ce"),r=i["a"],o=(n("6730"),n("2877")),a=Object(o["a"])(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)}),[],!1,null,null,null);e["default"]=a.exports},7107:function(t,e,n){"use strict";(function(t){function i(e){var n=e.options,i=e.callbackId,r=n.family,o=n.source,a=n.desc,s=void 0===a?{}:a,c=document.fonts;if(c){var u=new FontFace(r,o,s);u.load().then((function(){c.add(u),t.publishHandler("onLoadFontFaceCallback",{callbackId:i,data:{errMsg:"loadFontFace:ok"}})})).catch((function(e){t.publishHandler("onLoadFontFaceCallback",{callbackId:i,data:{errMsg:"loadFontFace:fail ".concat(e)}})}))}else{var l=document.createElement("style");l.innerText='@font-face{font-family:"'.concat(r,'";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:i,data:{errMsg:"loadFontFace:ok"}})}}n.d(e,"a",(function(){return i}))}).call(this,n("501c"))},"72ad":function(t,e,n){},"72b3":function(t,e,n){"use strict";function i(t,e,n){return t>e-n&&t0){var u=(-n-Math.sqrt(o))/(2*i),l=(-n+Math.sqrt(o))/(2*i),f=(e-u*t)/(l-u),d=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)),d*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)),d*u*e+f*l*n}}}var h=Math.sqrt(4*i*r-n*n)/(2*i),p=-n/2*i,v=t,g=(e-p*t)/h;return{x:function(t){return Math.pow(Math.E,p*t)*(v*Math.cos(h*t)+g*Math.sin(h*t))},dx:function(t){var e=Math.pow(Math.E,p*t),n=Math.cos(h*t),i=Math.sin(h*t);return e*(g*h*n-v*h*i)+p*e*(g*i+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||!r(e,.4)){e=e||0;var i=this._endPosition;this._solution&&(r(e,.4)&&(e=this._solution.dx((n-this._startTime)/1e3)),i=this._solution.x((n-this._startTime)/1e3),r(e,.4)&&(e=0),r(i,.4)&&(i=0),i+=this._endPosition),this._solution&&r(i-t,.4)&&r(e,.4)||(this._endPosition=t,this._solution=this._solve(i-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()),i(this.x(),this._endPosition,.4)&&r(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(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(t,e){t.reconfigure(1,e,t.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(t,e){t.reconfigure(1,t.springConstant(),e)}.bind(this,this),min:1,max:500}]}},"738e":function(t,e,n){"use strict";(function(t){var i=n("8af1"),r=n("f2b3"),o=n("31c6"),a=n("453f"),s=n("4c39"),c=n("5b9f"),u=n("636c");function l(t,e,n){return l=f()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);var r=Function.bind.apply(t,i),o=new r;return n&&d(o,n.prototype),o},l.apply(null,arguments)}function f(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function d(t,e){return d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},d(t,e)}function h(t,e,n){return new t.LatLng(e,n)}function p(t,e,n){return u["c"]?function(t,e,n){return new t.LngLat(n,e)}(t,e,n):h(t,e,n)}function v(t){return"getLat"in t?t.getLat():t.lat()}function g(t){return"getLng"in t?t.getLng():t.lng()}e["a"]={name:"Map",components:{mapMarker:a["a"],mapControl:s["a"],mapPolygon:c["a"]},mixins:[i["g"]],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},libraries:{type:Array,default:function(){return[]}},polygons:{type:Array,default:function(){return[]}}},data:function(){return{center:{latitude:116.46,longitude:116.46},isMapReady:!1,isBoundsReady:!1,polylineSync:[],circlesSync:[]}},watch:{latitude:function(){this.centerChange()},longitude:function(){this.centerChange()},scale:function(t){var e=this;this.mapReady((function(){e._map.setZoom(Number(t)||16)}))},polyline:function(t){var e=this;this.mapReady((function(){e.createPolyline()}))},circles:function(){var t=this;this.mapReady((function(){t.createCircles()}))},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(){this._markers={};var t=this.latitude,e=this.longitude;t&&e&&(this.center.latitude=t,this.center.longitude=e)},mounted:function(){var t=this;Object(o["a"])(this.libraries,(function(e){e.event=e.event||e.Event,e.Point=e.Point||e.BuryPoint,t._maps=e,t.init()}))},beforeDestroy:function(){this.removePolyline(),this.removeCircles(),this.removeLocation()},methods:{_handleSubscribe:function(t){var e=this,n=t.type,i=t.data,r=void 0===i?{}:i,o=this._maps;function a(t,e){t=t||{},t.errMsg="".concat(n,":").concat(e?"fail"+e:"ok");var i=e?r.fail:r.success;"function"===typeof i&&i(t),"function"===typeof r.complete&&r.complete(t)}switch(n){case"getCenterLocation":this.mapReady((function(){var t,n,i=e._map.getCenter();t=v(i),n=g(i),a({latitude:t,longitude:n})}));break;case"moveToLocation":var s=r.latitude,c=r.longitude,l=s&&c?p(o,s,c):this._locationPosition;l&&(this._map.setCenter(l),a({latitude:s,longitude:c}));break;case"translateMarker":this.mapReady((function(){try{var t=e.getMarker(r.markerId),n=r.destination,i=r.duration,s=!!r.autoRotate,c=Number(r.rotate)?r.rotate:0,u=0;"getRotation"in t&&(u=t.getRotation());var l=t.getPosition(),f=p(o,n.latitude,n.longitude),d=o.geometry.spherical.computeDistanceBetween(l,f)/1e3,h=("number"===typeof i?i:1e3)/36e5,v=d/h,g=o.event.addListener(t,"moving",(function(e){var n=e.latLng,i=t.label;i&&i.setPosition(n);var r=t.callout;r&&r.setPosition(n)})),m=o.event.addListener(t,"moveend",(function(e){m.remove(),g.remove(),t.lastPosition=l,t.setPosition(f);var n=t.label;n&&n.setPosition(f);var i=t.callout;i&&i.setPosition(f);var o=r.animationEnd;"function"===typeof o&&o()})),b=0;s&&(t.lastPosition&&(b=o.geometry.spherical.computeHeading(t.lastPosition,l)),c=o.geometry.spherical.computeHeading(l,f)-b),"setRotation"in t&&t.setRotation(u+c),"moveTo"in t?t.moveTo(f,v):(t.setPosition(f),o.event.trigger(t,"moveend",{}))}catch(y){a(null,y)}}));break;case"includePoints":this.fitBounds(r.points);break;case"getRegion":this.mapReady((function(){e.boundsReady((function(){var t=e._map.getBounds(),n=t.getSouthWest(),i=t.getNorthEast();a({southwest:{latitude:v(n),longitude:g(n)},northeast:{latitude:v(i),longitude:g(i)}})})),u["c"]&&(e.isBoundsReady=!0,e.$emit("boundsready"))}));break;case"getScale":this.mapReady((function(){a({scale:e._map.getZoom()})}));break}},init:function(){var t=this,e=this._maps,n=p(e,this.center.latitude,this.center.longitude),i=this._map=new e.Map(this.$refs.map,{center:n,zoom:Number(this.scale),disableDoubleClickZoom:!0,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,panControl:!1,fullscreenControl:!1,streetViewControl:!1,keyboardShortcuts:!1,minZoom:5,maxZoom:18,draggable:!0}),r=e.event.addListener(i,"bounds_changed",(function(e){r.remove(),t.isBoundsReady=!0,t.$emit("boundsready")}));function o(){var t=i.getCenter();return{scale:i.getZoom(),centerLocation:{latitude:v(t),longitude:g(t)}}}e.event.addListener(i,"click",(function(e){t.$trigger("click",{},{})})),e.event.addListener(i,"dragstart",(function(){t.$trigger("regionchange",{},{type:"begin",causedBy:"gesture"})})),e.event.addListener(i,"dragend",(function(){t.$trigger("regionchange",{},Object.assign({type:"end",causedBy:"drag"},o()))})),e.event.addListener(i,"zoom_changed",(function(){t.$emit("update:scale",i.getZoom()),t.$trigger("regionchange",{},Object.assign({type:"end",causedBy:"scale"},o()))})),e.event.addListener(i,"center_changed",(function(){var e,n,r=i.getCenter();e=v(r),n=g(r),t.$emit("update:latitude",e),t.$emit("update:longitude",n)})),this.polyline&&Array.isArray(this.polyline)&&this.polyline.length&&this.createPolyline(),this.circles&&Array.isArray(this.circles)&&this.circles.length&&this.createCircles(),this.showLocation&&this.createLocation(),this.includePoints&&Array.isArray(this.includePoints)&&this.includePoints.length&&this.fitBounds(this.includePoints,(function(){i.setCenter(n)})),this.isMapReady=!0,this.$emit("mapready"),this.$trigger("updated",{},{})},centerChange:function(){var t=this,e=this._maps,n=Number(this.latitude),i=Number(this.longitude);n===this.center.latitude&&i===this.center.longitude||(this.center.latitude=n,this.center.longitude=i,this._map&&this.mapReady((function(){var r=p(e,n,i);t._map.setCenter(r)})))},createPolyline:function(){var t=this._maps,e=this._map,n=this.polylineSync;this.removePolyline(),this.polyline.forEach((function(i){var o=[];i.points.forEach((function(e){var n=u["c"]?[e.longitude,e.latitude]:h(t,e.latitude,e.longitude);o.push(n)}));var a=Number(i.borderWidth)||0,s=Object(r["j"])(i.color),c=s.r,l=s.g,f=s.b,d=s.a,p=Object(r["j"])(i.borderColor),v=p.r,g=p.g,m=p.b,b=p.a,y={map:e,clickable:!1,path:o,strokeWeight:(Number(i.width)||0)+a||6,strokeDashStyle:i.dottedLine?"dash":"solid"};u["c"]&&(y.strokeColor=i.strokeColor,y.strokeStyle=i.dottedLine?"dashed":"solid",y.isOutline=!!i.borderWidth,y.borderWeight=i.borderWidth,y.outlineColor=i.borderColor);var _={map:e,clickable:!1,path:o,strokeWeight:i.width||6,strokeDashStyle:i.dottedLine?"dash":"solid"};"Color"in t?(y.strokeColor=new t.Color(c,l,f,d),_.strokeColor=new t.Color(v,g,m,b)):(y.strokeColor="rgb(".concat(c,", ").concat(l,", ").concat(f,")"),y.strokeOpacity=d,_.strokeColor="rgb(".concat(v,", ").concat(g,", ").concat(m,")"),_.strokeOpacity=b),a&&n.push(new t.Polyline(_));var w=new t.Polyline(y);u["c"]&&e.add(w),n.push(w)}))},removePolyline:function(){var t=this.polylineSync;t.forEach((function(t){t.setMap(null)})),t.splice(0,t.length)},createCircles:function(){var t=this._maps,e=this._map,n=this.circlesSync;this.removeCircles(),this.circles.forEach((function(i){var o=u["c"]?[i.longitude,i.latitude]:h(t,i.latitude,i.longitude),a={map:e,center:o,clickable:!1,radius:i.radius,strokeWeight:Number(i.strokeWidth)||1,strokeDashStyle:"solid"};if(u["c"])a.strokeColor=i.color,a.fillColor=i.fillColor||"#000";else{var s=Object(r["j"])(i.fillColor||"#00000000"),c=s.r,l=s.g,f=s.b,d=s.a,p=Object(r["j"])(i.color||"#000000"),v=p.r,g=p.g,m=p.b,b=p.a;"Color"in t?(a.fillColor=new t.Color(c,l,f,d),a.strokeColor=new t.Color(v,g,m,b)):(a.fillColor="rgb(".concat(c,", ").concat(l,", ").concat(f,")"),a.fillOpacity=d,a.strokeColor="rgb(".concat(v,", ").concat(g,", ").concat(m,")"),a.strokeOpacity=b)}var y=new t.Circle(a);u["c"]&&e.add(y),n.push(y)}))},removeCircles:function(){var t=this.circlesSync;t.forEach((function(t){t.setMap(null)})),t.splice(0,t.length)},createLocation:function(){var e=this,n=this._maps,i=this._map,r=this._location;r&&this.removeLocation(),uni.getLocation({type:"gcj02",success:function(t){if(r===e._location){var o=p(n,t.latitude,t.longitude);if(u["c"]){r=new n.Marker({position:o,map:i,flat:!0,rotation:0});var s=new n.Icon({size:new n.Size(44,44),image:u["a"],imageSize:new n.Size(44,44)});r.setIcon(s),i.add(r)}else r=new n.Marker({position:o,map:i,icon:new n.MarkerImage(u["a"],null,null,new n.Point(22,22),new n.Size(44,44)),flat:!0,rotation:0});e._location=r,a(),e.__onCompassChange=function(t){r.setRotation(t.direction)},uni.onCompassChange(e.__onCompassChange)}},fail:function(e){t.error(e)}});var o=this;function a(){r===o._location&&setTimeout((function(){uni.getLocation({type:"gcj02",success:function(t){var e=o._locationPosition=p(n,t.latitude,t.longitude);r.setPosition(e)},fail:function(e){t.error(e)},complete:function(){a()}})}),3e4)}},removeLocation:function(){var t=this._location;t&&(t.setMap(null),this._location=null,this._locationPosition=null,uni.offCompassChange(this.__onCompassChange))},fitBounds:function(t,e){var n=this,i=this._maps;this.boundsReady((function(){var r=n._map;if(u["c"]){var o=[];t.forEach((function(t){o.push([t.longitude,t.latitude])}));var a=l(i.Bounds,o);r.setBounds(a)}else{var s=new i.LatLngBounds;t.forEach((function(t){var e=t.longitude,n=t.latitude,r=h(i,n,e);s.extend(r)})),r.fitBounds(s)}"function"===typeof e&&e()})),u["c"]&&(this.isBoundsReady=!0,this.$emit("boundsready"))},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){var e=this._markers[t];if(!e)throw new Error("translateMarker: fail cannot find marker with id "+t);return e}}}}).call(this,n("3ad9")["default"])},7572:function(t,e,n){},"764a":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return u}));var i=n("f2b3"),r=n("85b6"),o=n("65a8"),a=n("33ed"),s=!!i["s"]&&{passive:!1};function c(e){if(uni.canIUse("css.var")){var n=parseFloat(__uniConfig.tabBar.height),i=e.$parent.$parent,r=i.navigationBar.type,a="default"===r||"float"===r?o["a"]:0,s=getApp().$children[0].showTabBar?isNaN(n)?o["d"]:n:0,c=uni.canIUse("css.env")?"env":uni.canIUse("css.constant")?"constant":"",u=a&&c?"calc(".concat(a,"px + ").concat(c,"(safe-area-inset-top))"):"".concat(a,"px"),l=s&&c?"calc(".concat(s,"px + ").concat(c,"(safe-area-inset-bottom))"):"".concat(s,"px"),f=document.documentElement.style;f.setProperty("--window-top","calc(var(--top-window-height) + ".concat(u,")")),f.setProperty("--window-bottom",l),t.debug("".concat(e.$page.route,"[").concat(e.$page.id,"]:--window-top=").concat(u)),t.debug("".concat(e.$page.route,"[").concat(e.$page.id,"]:--window-bottom=").concat(l))}}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(r["c"])(t.$options,"onPageScroll"),l=Object(r["c"])(t.$options,"onReachBottom"),f=o.onReachBottomDistance,d=Object(i["l"])(o.titleNView)&&"transparent"===o.titleNView.type||Object(i["l"])(o.navigationBar)&&"transparent"===o.navigationBar.type;e&&document.removeEventListener("scroll",e),(d||u||l)&&(e=Object(a["a"])(t.$page.id,{enablePageScroll:u,enablePageReachBottom:l,onReachBottomDistance:f,enableTransparentTitleNView:d}),requestAnimationFrame((function(){document.addEventListener("scroll",e)})))}))}}).call(this,n("3ad9")["default"])},"77d5":function(t,e,n){},"77e0":function(t,e,n){"use strict";n.r(e),function(t,i){var r=n("a6b0");e["default"]={data:function(){return{showToast:{visible:!1}}},created:function(){var e=this,n="",o=function(t){return function(i){n=t,setTimeout((function(){e.showToast=i}),10)}};t.on("onShowToast",o("onShowToast")),t.on("onShowLoading",o("onShowLoading"));var a=function(t){return function(){if(n){var o="";if("onHideToast"===t&&"onShowToast"!==n?o=Object(r["g"])("uni.showToast.unpaired"):"onHideLoading"===t&&"onShowLoading"!==n&&(o=Object(r["g"])("uni.showLoading.unpaired")),o)return i.warn(o);n="",setTimeout((function(){e.showToast.visible=!1}),10)}}};t.on("onHidePopup",a("onHidePopup")),t.on("onHideToast",a("onHideToast")),t.on("onHideLoading",a("onHideLoading"))}}}.call(this,n("0dd1"),n("3ad9")["default"])},"78c8":function(t,e,n){"use strict";n.r(e),n.d(e,"getDeviceInfo",(function(){return h})),n.d(e,"getAppBaseInfo",(function(){return p})),n.d(e,"getSystemInfoSync",(function(){return v})),n.d(e,"getSystemInfo",(function(){return g}));var i,r=n("c6af"),o="__DC_STAT_UUID",a=window.localStorage||window.sessionStorage||{},s=function(){if(i=i||a[o],!i){i=Date.now()+""+Math.floor(1e7*Math.random());try{a[o]=i}catch(t){}}return i},c=n("fb3e"),u=n("f2b3"),l={},f=!0;function d(){f&&(l=Object(c["getBrowserInfo"])())}function h(){d();var t=l,e=t.deviceBrand,n=t.deviceModel,i=t.brand,r=t.model,o=t.platform,a=t.system,c=t.deviceOrientation,u=t.deviceType;return{brand:i,deviceBrand:e,deviceModel:n,devicePixelRatio:window.devicePixelRatio,deviceId:s(),deviceOrientation:c,deviceType:u,model:r,platform:o,system:a}}function p(){d();var t=l,e=t.theme,n=t.language,i=t.browserName,r=t.browserVersion,o=uni&&uni.getLocale?uni.getLocale():n;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:o,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:i,hostVersion:r,hostTheme:e,hostLanguage:n,language:n,SDKVersion:"",theme:e,version:""}}function v(){f=!0,d(),f=!1;var t=Object(r["getWindowInfo"])(),e=h(),n=p();f=!0;var i=l,o=i.ua,a=i.browserName,s=i.browserVersion,c=i.osname,v=i.osversion,g=Object.assign({},t,e,n,{browserName:a,browserVersion:s,fontSizeSetting:n.hostFontSizeSetting,osName:c.toLocaleLowerCase(),osVersion:v,osLanguage:void 0,osTheme:void 0,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,ua:o});return delete g.screenTop,delete g.enableDebug,__uniConfig.darkmode||delete g.theme,Object(u["r"])(g)}function g(){return v()}},"79d5":function(t,e,n){"use strict";function i(t){if(t)return t.$holder;var e=getCurrentPages(),n=e.length;return n?e[n-1].$holder:void 0}function r(t){var e=getCurrentPages(),n=e.length;return!!n&&e[n-1].$holder===t}n.r(e),n.d(e,"getPageHolder",(function(){return i})),n.d(e,"isCurrentPage",(function(){return r}))},"7ac7":function(t,e,n){"use strict";(function(t){var i,r=n("8bbf"),o=n.n(r),a=n("f2b3"),s=n("65a8"),c=["top","left","right"],u=document.documentElement;function l(t,e){i||(i=u.style),i.setProperty(t,e)}e["a"]={name:"Layout",props:{routerKey:{type:String,default:""},keepAliveInclude:{type:Array,default:function(){return[]}}},data:function(){return{marginWidth:0,leftWindowStyle:"",rightWindowStyle:"",topWindowStyle:"",topWindowMediaQuery:!1,leftWindowMediaQuery:!1,rightWindowMediaQuery:!1,topWindowHeight:"0px",apiShowTopWindow:!1,apiShowLeftWindow:!1,apiShowRightWindow:!1,navigationBarTitleText:"",maxWidthMeidaQuery:!1}},computed:{bindWindow:function(){return{matchTopWindow:this.topWindowMediaQuery,showTopWindow:this.showTopWindow||this.apiShowTopWindow,matchLeftWindow:this.leftWindowMediaQuery,showLeftWindow:this.showLeftWindow||this.apiShowLeftWindow,matchRightWindow:this.rightWindowMediaQuery,showRightWindow:this.showRightWindow||this.apiShowRightWindow}},showLayout:function(){return this.showTopWindow||this.showLeftWindow||this.showRightWindow},showTopWindow:function(){return this.resetApiShowWindow(),!1!==this.$route.meta.topWindow&&this.topWindowMediaQuery},showLeftWindow:function(){return this.resetApiShowWindow(),!1!==this.$route.meta.leftWindow&&this.leftWindowMediaQuery},showRightWindow:function(){return this.resetApiShowWindow(),!1!==this.$route.meta.rightWindow&&this.rightWindowMediaQuery}},watch:{$route:function(){this.checkMaxWidth()},showLayout:function(){this.checkLayout()},showTopWindow:function(t,e){t?this.$nextTick(this.onTopWindowInit):l("--top-window-height","0px")},showLeftWindow:function(t,e){t?this.$nextTick(this.onLeftWindowInit):l("--window-left","0px")},showRightWindow:function(t,e){t?this.$nextTick(this.onRightWindowInit):l("--window-right","0px")},marginWidth:function(t){l("--window-margin",t+"px")}},beforeCreate:function(){l("--top-window-height","0px"),l("--window-left","0px"),l("--window-right","0px"),l("--window-margin","0px")},created:function(){var e=this;this.topWindow=o.a.component("VUniTopWindow"),this.leftWindow=o.a.component("VUniLeftWindow"),this.rightWindow=o.a.component("VUniRightWindow"),(this.topWindow||this.leftWindow||this.rightWindow)&&uni.canIUse("css.var")&&window.matchMedia&&(c.forEach((function(t){return e.initWindowMinWidth(t)})),this.responsive=function(t){var e=window.screen,n=[window.outerWidth,window.outerHeight,e.width,e.height,u.clientWidth,u.clientHeight];return Math.max.apply(null,n)>t}(this.minWidth),this.responsive&&(this.topWindow&&this.topWindow.options.style&&(this.topWindowStyle=this.topWindow.options.style),this.leftWindow&&this.leftWindow.options.style&&(this.leftWindowStyle=this.leftWindow.options.style),this.rightWindow&&this.rightWindow.options.style&&(this.rightWindowStyle=this.rightWindow.options.style),c.forEach((function(t){return e.initMediaQuery(t)})),t.on("onNavigationBarChange",(function(t){e.navigationBarTitleText=t.titleText})))),this.initMaxWidth()},mounted:function(){this.checkLayout(),this.checkMaxWidth()},methods:{resetApiShowWindow:function(){this.apiShowLeftWindow=!1,this.apiShowRightWindow=!1},showWindow:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!this[t+"Window"])return t+"Window not found";var n=Object(a["c"])(t);if(!this["show"+n+"Window"]){var i="apiShow"+n+"Window";this[i]!==e&&(this[i]=e,"top"===t&&(e?this.$nextTick(this.onTopWindowInit):l("--top-window-height","0px")))}},getWindowStyle:function(t){if(!this[t+"Window"])return t+"Window not found";var e=Object.assign({},this[t+"WindowStyle"]);return e},setWindowStyle:function(t,e){if(!this[t+"Window"])return t+"Window not found";e&&(this[t+"WindowStyle"]=e,this.$nextTick(this["on"+Object(a["c"])(t)+"WindowInit"]))},initMaxWidth:function(){var t=this;window.addEventListener("resize",(function(){t.checkMaxWidth()}))},checkLayout:function(){this.$emit("layout",this.showLayout)},checkMaxWidth:function(){var t,e=this,n=document.body.clientWidth,i=parseInt(this.$route.meta.maxWidth);t=n>i,this.$emit("maxWidth",t),this.$containerElem||(this.$containerElem=document.querySelector("uni-app")),this.$containerElem&&(t&&i?(this.marginWidth=(n-i)/2,this.$nextTick((function(){e.onLeftWindowInit(),e.onRightWindowInit(),e.$containerElem.setAttribute("style","max-width:"+i+"px;margin:0 auto;")}))):(this.marginWidth=0,this.$nextTick((function(){e.onLeftWindowInit(),e.onRightWindowInit(),e.$containerElem.removeAttribute("style")}))))},initWindowMinWidth:function(t){var e=t+"Window";if(this[e]){var n=t+"WindowMinWidth";this[n]=s["c"];var i=__uniConfig[e];i&&i.matchMedia&&Object(a["i"])(i.matchMedia,"minWidth")&&(this[n]=i.matchMedia.minWidth),("undefined"===typeof this.minWidth||this.minWidth>this[n])&&(this.minWidth=this[n])}},initMediaQuery:function(t){var e=this;if(this[t+"Window"]){var n=t+"WindowMediaQuery",i=window.matchMedia("(min-width: "+this[t+"WindowMinWidth"]+"px)");i.addListener((function(i){e[n]=i.matches,e.$nextTick((function(){e["on"+Object(a["c"])(t)+"WindowInit"]()}))})),this[n]=i.matches}},onTopWindowInit:function(){if(this.responsive&&this.topWindow){var t;t=this.topWindowStyle&&this.topWindowStyle.height?this.$refs.topWindow.offsetHeight+"px":this.$refs.top.$el.offsetHeight+"px",this.topWindowHeight=t,l("--top-window-height",t)}},onLeftWindowInit:function(){this.responsive&&this.leftWindow?this.leftWindowStyle&&this.leftWindowStyle.width?l("--window-left",this.$refs.leftWindow.offsetWidth+this.marginWidth+"px"):l("--window-left",this.$refs.left.$el.offsetWidth+this.marginWidth+"px"):l("--window-left",this.marginWidth+"px")},onRightWindowInit:function(){this.responsive&&this.rightWindow?this.rightWindowStyle&&this.rightWindowStyle.width?l("--window-right",this.$refs.rightWindow.offsetWidth+this.marginWidth+"px"):l("--window-right",this.$refs.right.$el.offsetWidth+this.marginWidth+"px"):l("--window-right",this.marginWidth+"px")}}}}).call(this,n("0dd1"))},"7bab":function(t,e,n){"use strict";function i(){var t=document.getElementById("#clipboard"),e=t?t.value:void 0;return e?{data:e,errMsg:"getClipboardData:ok"}:{errMsg:"getClipboardData:fail"}}function r(t){var e=t.data,n=document.getElementById("#clipboard");n&&n.remove();var i=document.createElement("textarea");i.id="#clipboard",i.style.position="fixed",i.style.top="-9999px",i.style.zIndex="-9999",document.body.appendChild(i),i.value=e,i.select(),i.setSelectionRange(0,i.value.length);var r=document.execCommand("Copy",!1,null);return i.blur(),r?{errMsg:"setClipboardData:ok"}:{errMsg:"setClipboardData:fail"}}n.r(e),n.d(e,"getClipboardData",(function(){return i})),n.d(e,"setClipboardData",(function(){return r}))},"7bb3":function(t,e,n){"use strict";n.r(e);var i=n("8af1"),r={name:"Checkbox",mixins:[i["a"],i["f"]],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}}},o=r,a=(n("f53a"),n("2877")),s=Object(a["a"])(o,(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:{"uni-checkbox-input-checked":t.checkboxChecked,"uni-checkbox-input-disabled":t.disabled},style:{color:t.color}}),t._t("default")],2)])}),[],!1,null,null,null);e["default"]=s.exports},"7c2b":function(t,e,n){"use strict";var i=n("2c45"),r=n.n(i);r.a},"7d18":function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"uploadFile",(function(){return s}));var i=n("e2e2");function r(t,e){for(var n=0;n=0&&this._callbacks.splice(e,1)}},{key:"abort",value:function(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}}]),t}();function s(e,n){var r=e.url,o=e.file,s=e.filePath,c=e.name,u=e.files,l=e.header,f=e.formData,d=e.timeout,h=void 0===d?__uniConfig.networkTimeout&&__uniConfig.networkTimeout.uploadFile||6e4:d,p=t,v=p.invokeCallbackHandler,g=new a(null,n);return Array.isArray(u)&&u.length||(u=[{name:c,file:o,uri:s}]),Promise.all(u.map((function(t){var e=t.file,n=t.uri;return e instanceof Blob?Promise.resolve(Object(i["a"])(e)):Object(i["f"])(n)}))).then((function(t){var e,i=new XMLHttpRequest,o=new FormData;Object.keys(f).forEach((function(t){o.append(t,f[t])})),Object.values(u).forEach((function(e,n){var i=e.name,r=t[n];o.append(i||"file",r,r.name||"file-".concat(Date.now()))})),i.open("POST",r),Object.keys(l).forEach((function(t){i.setRequestHeader(t,l[t])})),i.upload.onprogress=function(t){g._callbacks.forEach((function(e){var n=t.loaded,i=t.total,r=Math.round(n/i*100);e({progress:r,totalBytesSent:n,totalBytesExpectedToSend:i})}))},i.onerror=function(){clearTimeout(e),v(n,{errMsg:"uploadFile:fail"})},i.onabort=function(){clearTimeout(e),v(n,{errMsg:"uploadFile:fail abort"})},i.onload=function(){clearTimeout(e);var t=i.status;v(n,{errMsg:"uploadFile:ok",statusCode:t,data:i.responseText||i.response})},g._isAbort?v(n,{errMsg:"uploadFile:fail abort"}):(e=setTimeout((function(){i.upload.onprogress=i.onload=i.onabort=i.onerror=null,g.abort(),v(n,{errMsg:"uploadFile:fail timeout"})}),h),i.send(o),g._xhr=i)})).catch((function(){setTimeout((function(){v(n,{errMsg:"uploadFile:fail file error"})}),0)})),g}}.call(this,n("0dd1"))},"7df2":function(t,e,n){},"7e6a":function(t,e,n){"use strict";var i=n("515d"),r=n.n(i);r.a},"7f4e":function(t,e,n){"use strict";function i(t){var e=t.phoneNumber;return window.location.href="tel:".concat(e),{errMsg:"makePhoneCall:ok"}}n.r(e),n.d(e,"makePhoneCall",(function(){return i}))},"80e5":function(t){t.exports=JSON.parse('{"uni.app.quit":"Pulse otra vez para salir","uni.async.error":"Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo.","uni.showActionSheet.cancel":"Cancelar","uni.showToast.unpaired":"Tenga en cuenta que showToast debe estar emparejado con hideToast","uni.showLoading.unpaired":"Tenga en cuenta que showLoading debe estar emparejado con hideLoading","uni.showModal.cancel":"Cancelar","uni.showModal.confirm":"OK","uni.chooseImage.cancel":"Cancelar","uni.chooseImage.sourceType.album":"Álbum","uni.chooseImage.sourceType.camera":"Cámara","uni.chooseVideo.cancel":"Cancelar","uni.chooseVideo.sourceType.album":"Álbum","uni.chooseVideo.sourceType.camera":"Cámara","uni.chooseFile.notUserActivation":"El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario","uni.previewImage.cancel":"Cancelar","uni.previewImage.button.save":"Guardar imagen","uni.previewImage.save.success":"Guardado exitosamente","uni.previewImage.save.fail":"Error al guardar","uni.setClipboardData.success":"Contenido copiado","uni.scanCode.title":"Código de escaneo","uni.scanCode.album":"Álbum","uni.scanCode.fail":"Échec de la reconnaissance","uni.scanCode.flash.on":"Toque para encender la luz","uni.scanCode.flash.off":"Toque para apagar la luz","uni.startSoterAuthentication.authContent":"Reconocimiento de huellas dactilares","uni.picker.done":"OK","uni.picker.cancel":"Cancelar","uni.video.danmu":"Danmu","uni.video.volume":"Volumen","uni.button.feedback.title":"realimentación","uni.button.feedback.send":"enviar","uni.chooseLocation.search":"Encontrar","uni.chooseLocation.cancel":"Cancelar"}')},"811a":function(t,e,n){"use strict";n.r(e),n.d(e,"connectSocket",(function(){return l})),n.d(e,"sendSocketMessage",(function(){return f})),n.d(e,"closeSocket",(function(){return d})),n.d(e,"onSocketOpen",(function(){return h})),n.d(e,"onSocketError",(function(){return p})),n.d(e,"onSocketMessage",(function(){return v})),n.d(e,"onSocketClose",(function(){return g}));var i=n("a118"),r=n("db70");function o(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},e=t.success,n=t.fail,i=t.complete,r=arguments.length>1?arguments[1]:void 0,o={errMsg:r};/:ok$/.test(r)?"function"===typeof e&&e(o):"function"===typeof n&&n(o),"function"===typeof i&&i(o)}}]),t}(),s=Object.create(null),c=[],u=Object.create(null);function l(t,e){var n=Object(r["c"])("createSocketTask",t),o=n.socketTaskId,u=new a(o);return s[o]=u,c.push(u),setTimeout((function(){Object(i["a"])(e,{errMsg:"connectSocket:ok"})}),0),u}function f(t,e){var n=c[0];if(n&&n.readyState===n.OPEN)return Object(r["c"])("operateSocketTask",Object.assign({},t,{operationType:"send",socketTaskId:n.id}));Object(i["a"])(e,{errMsg:"sendSocketMessage:fail WebSocket is not connected"})}function d(t,e){var n=c[0];if(n)return n.readyState=n.CLOSING,Object(r["c"])("operateSocketTask",Object.assign({},t,{operationType:"close",socketTaskId:n.id}));Object(i["a"])(e,{errMsg:"closeSocket:fail WebSocket is not connected"})}function h(t){u.open=t}function p(t){u.error=t}function v(t){u.message=t}function g(t){u.close=t}Object(r["d"])("onSocketTaskStateChange",(function(t){var e=t.socketTaskId,n=t.state,r=t.data,o=(t.errMsg,s[e]);if(o){if("open"===n&&(o.readyState=o.OPEN),o===c[0]&&u[n]&&Object(i["a"])(u[n],"message"===n?{data:r}:{}),"error"===n||"close"===n){o.readyState=o.CLOSED,delete s[e];var a=c.indexOf(o);a>=0&&c.splice(a,1)}o._callbacks[n].forEach((function(t){"function"===typeof t&&t("message"===n?{data:r}:{})}))}}))},8188:function(t,e,n){"use strict";(function(t){var r=n("8af1"),o=n("18fd"),a=n("b253"),s=n("93ab");function c(t){return c="function"===typeof Symbol&&"symbol"===i(Symbol.iterator)?function(t){return i(t)}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":i(t)},c(t)}e["a"]={name:"Editor",mixins:[r["g"],r["a"],r["e"]],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.setPlaceHolder(t)}},mounted:function(){var t=this,e=[];this.showImgSize&&e.push("DisplaySize"),this.showImgToolbar&&e.push("Toolbar"),this.showImgResize&&e.push("Resize");Object(s["a"])(window.Quill,"https://unpkg.com/quill@1.3.7/dist/quill.min.js",(function(){if(e.length){Object(s["a"])(window.ImageResize,"https://unpkg.com/quill-image-resize-mp@3.0.1/image-resize.min.js",(function(){t.initQuill(e)}))}else t.initQuill(e)}))},methods:{_textChangeHandler:function(){this.$trigger("input",{},this.getContents())},_handleSubscribe:function(e){var n,i,r,o=this,a=e.type,s=e.data,u=s.options,l=s.callbackId,f=this.quill,d=window.Quill;if(this.quillReady){switch(a){case"format":var h=u.name,p=void 0===h?"":h,v=u.value,g=void 0!==v&&v;i=f.getSelection(!0);var m=f.getFormat(i)[p]||!1;if(["bold","italic","underline","strike","ins"].includes(p))g=!m;else if("direction"===p){g=("rtl"!==g||!m)&&g;var b=f.getFormat(i).align;"rtl"!==g||b?g||"right"!==b||f.format("align",!1,d.sources.USER):f.format("align","right",d.sources.USER)}else if("indent"===p){var y="rtl"===f.getFormat(i).direction;g="+1"===g,y&&(g=!g),g=g?"+1":"-1"}else"list"===p&&(g="check"===g?"unchecked":g,m="checked"===m?"unchecked":m),g=m&&m!==(g||!1)||!m&&g?g:!m;f.format(p,g,d.sources.USER);break;case"insertDivider":i=f.getSelection(!0),f.insertText(i.index,"\n",d.sources.USER),f.insertEmbed(i.index+1,"divider",!0,d.sources.USER),f.setSelection(i.index+2,d.sources.SILENT);break;case"insertImage":i=f.getSelection(!0);var _=u.src,w=void 0===_?"":_,S=u.alt,k=void 0===S?"":S,x=u.width,C=void 0===x?"":x,T=u.height,O=void 0===T?"":T,A=u.extClass,E=void 0===A?"":A,j=u.data,I=void 0===j?{}:j,M=this.$getRealPath(w);f.insertEmbed(i.index,"image",M,d.sources.SILENT);var P=!!/^(file|blob):/.test(M)&&M;f.formatText(i.index,1,"data-local",P,d.sources.SILENT),f.formatText(i.index,1,"alt",k,d.sources.SILENT),f.formatText(i.index,1,"width",C,d.sources.SILENT),f.formatText(i.index,1,"height",O,d.sources.SILENT),f.formatText(i.index,1,"class",E,d.sources.SILENT),f.formatText(i.index,1,"data-custom",Object.keys(I).map((function(t){return"".concat(t,"=").concat(I[t])})).join("&"),d.sources.SILENT),f.setSelection(i.index+1,d.sources.SILENT),f.scrollIntoView(),setTimeout((function(){o._textChangeHandler()}),1e3);break;case"insertText":i=f.getSelection(!0);var $=u.text,L=void 0===$?"":$;f.insertText(i.index,L,d.sources.USER),f.setSelection(i.index+L.length,0,d.sources.SILENT);break;case"setContents":var R=u.delta,N=u.html;"object"===c(R)?f.setContents(R,d.sources.SILENT):"string"===typeof N?f.setContents(this.html2delta(N),d.sources.SILENT):r="contents is missing";break;case"getContents":n=this.getContents();break;case"clear":f.setContents([]);break;case"removeFormat":i=f.getSelection(!0);var D=d.import("parchment");i.length?f.removeFormat(i,d.sources.USER):Object.keys(f.getFormat(i)).forEach((function(t){D.query(t,D.Scope.INLINE)&&f.format(t,!1)}));break;case"undo":f.history.undo();break;case"redo":f.history.redo();break;case"blur":f.blur();break;case"getSelectionText":i=f.selection.savedRange,n={text:""},i&&0!==i.length&&(n.text=f.getText(i.index,i.length));break;case"scrollIntoView":f.scrollIntoView();break;default:break}this.updateStatus(i)}else r="not ready";l&&t.publishHandler("onEditorMethodCallback",{callbackId:l,data:Object.assign({},n,{errMsg:"".concat(a,":").concat(r?"fail "+r:"ok")})},this.$page.id)},setPlaceHolder:function(t){var e="data-placeholder",n=this.quill.root;n.getAttribute(e)!==t&&n.setAttribute(e,t)},initQuill:function(t){var e=this,n=window.Quill;a["a"](n);var i={toolbar:!1,readOnly:this.readOnly,placeholder:this.placeholder,modules:{}};t.length&&(n.register("modules/ImageResize",window.ImageResize.default),i.modules.ImageResize={modules:t});var r=this.quill=new n(this.$el,i),o=r.root;["focus","blur","input"].forEach((function(t){o.addEventListener(t,(function(n){var i=e.getContents();if("input"===t){if(function(){var t=navigator.userAgent,e=/iphone|ipad|ipod/i.test(t),n=/Macintosh|Mac/i.test(t),i=n&&navigator.maxTouchPoints>0;return e||i}()){var r=(i.html.match(/([\s\S]*)<\/span>/)||[])[1],o=r&&r.replace(/\s/g,"")?"":e.placeholder;e.setPlaceHolder(o)}n.stopPropagation()}else e.$trigger(t,n,i)}))})),r.on(n.events.TEXT_CHANGE,this._textChangeHandler),r.on(n.events.SELECTION_CHANGE,this.updateStatus.bind(this)),r.on(n.events.SCROLL_OPTIMIZE,(function(){var t=r.selection.getRange()[0];e.updateStatus(t)})),r.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}}))),n})),this.initKeyboard(o),this.quillReady=!0,this.$trigger("ready",event,{})},getContents:function(){var t=this.quill,e=t.root.innerHTML,n=t.getText(),i=t.getContents();return{html:e,text:n,delta:i}},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","br"],i="";Object(o["a"])(t,{start:function(t,r,o){if(n.includes(t)){e=!1;var a=r.map((function(t){var e=t.name,n=t.value;return"".concat(e,'="').concat(n,'"')})).join(" "),s="<".concat(t," ").concat(a," ").concat(o?"/":"",">");i+=s}else e=!o},end:function(t){e||(i+=""))},chars:function(t){e||(i+=t)}}),this.skipMatcher=!0;var r=this.quill.clipboard.convert(i);return this.skipMatcher=!1,r},updateStatus:function(t){var e=this,n=t?this.quill.getFormat(t):{},i=Object.keys(n);(i.length!==Object.keys(this.__status||{}).length||i.find((function(t){return n[t]!==e.__status[t]})))&&(this.__status=n,this.$trigger("statuschange",{},n))}}}}).call(this,n("501c"))},"81ea":function(t,e,n){"use strict";var i=n("a919"),r=i["a"],o=(n("f4e0"),n("2877")),a=Object(o["a"])(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-tabbar",{class:["uni-tabbar-"+t.position]},[n("div",{staticClass:"uni-tabbar",style:{backgroundColor:t.tabbarBackgroundColor,"backdrop-filter":"none"!==t.blurEffect?"blur(10px)":t.blurEffect}},[n("div",{staticClass:"uni-tabbar-border",style:{backgroundColor:t.borderColor}}),t._l(t.visibleList,(function(e,i){return n("div",{key:e.isMidButton?i:e.pagePath,staticClass:"uni-tabbar__item",style:e.isMidButton?{flex:"0 0 "+e.width,position:"relative"}:{},on:{click:function(n){return t._switchTab(e,i)}}},[e.isMidButton?n("div",{staticClass:"uni-tabbar__mid",style:t._uniTabbarBdStyle(e)},[e.iconPath?n("img",{style:{width:e.iconWidth,height:e.iconWidth},attrs:{src:t._getRealPath(e.iconPath)}}):t._e()]):t._e(),n("div",{staticClass:"uni-tabbar__bd",style:{height:t.height}},[t.getIconPath(e,i)||e.iconfont||e.iconPath||e.isMidButton?n("div",{staticClass:"uni-tabbar__icon",class:{"uni-tabbar__icon__diff":!e.text},style:{width:t.iconWidth,height:t.iconWidth}},[e.iconfont?n("div",{staticClass:"uni-tabbar__iconfont",style:{color:t.selectedIndex===i?e.iconfont.selectedColor:e.iconfont.color,fontSize:e.iconfont.fontSize||t.iconWidth}},[t._v(" "+t._s(t.selectedIndex===i?e.iconfont.selectedText:e.iconfont.text)+" ")]):e.isMidButton?t._e():n("img",{attrs:{src:t._getRealPath(t.getIconPath(e,i))}})]):t._e(),e.text?n("div",{staticClass:"uni-tabbar__label",style:{color:t.selectedIndex===i?t.selectedColor:t.color,fontSize:t.fontSize,lineHeight:e.iconPath?"normal":1.8,marginTop:e.iconPath?t.spacing:"inherit"}},[t._v(" "+t._s(e.text)+" ")]):t._e(),e.redDot?n("div",{staticClass:"uni-tabbar__reddot",class:{"uni-tabbar__badge":!!e.badge}},[t._v(" "+t._s(e.badge)+" ")]):t._e()])])}))],2),n("div",{staticClass:"uni-placeholder",style:{height:t.height}})])}),[],!1,null,null,null),s=a.exports,c=n("7ac7"),u=c["a"],l=(n("639e"),Object(o["a"])(u,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.responsive?n("uni-layout",{class:{"uni-app--showlayout":t.showLayout,"uni-app--showtopwindow":t.showTopWindow,"uni-app--showleftwindow":t.showLeftWindow,"uni-app--showrightwindow":t.showRightWindow}},[t.topWindow?n("uni-top-window",{directives:[{name:"show",rawName:"v-show",value:t.showTopWindow||t.apiShowTopWindow,expression:"showTopWindow || apiShowTopWindow"}]},[n("div",{ref:"topWindow",staticClass:"uni-top-window",style:t.topWindowStyle},[n("v-uni-top-window",t._b({ref:"top",attrs:{"navigation-bar-title-text":t.navigationBarTitleText},on:{"hook:mounted":t.onTopWindowInit}},"v-uni-top-window",t.bindWindow,!1))],1),n("div",{staticClass:"uni-top-window--placeholder",style:{height:t.topWindowHeight}})]):t._e(),n("uni-content",[n("uni-main",[n("keep-alive",{attrs:{include:t.keepAliveInclude}},[n("router-view",{key:t.routerKey})],1)],1),t.leftWindow?n("uni-left-window",{directives:[{name:"show",rawName:"v-show",value:t.showLeftWindow||t.apiShowLeftWindow,expression:"showLeftWindow || apiShowLeftWindow"}],ref:"leftWindow",style:t.leftWindowStyle,attrs:{"data-show":t.apiShowLeftWindow}},[t.apiShowLeftWindow?n("div",{staticClass:"uni-mask",on:{click:function(e){t.apiShowLeftWindow=!1}}}):t._e(),n("div",{staticClass:"uni-left-window"},[n("v-uni-left-window",t._b({ref:"left",on:{"hook:mounted":t.onLeftWindowInit}},"v-uni-left-window",t.bindWindow,!1))],1)]):t._e(),t.rightWindow?n("uni-right-window",{directives:[{name:"show",rawName:"v-show",value:t.showRightWindow||t.apiShowRightWindow,expression:"showRightWindow || apiShowRightWindow"}],ref:"rightWindow",style:t.rightWindowStyle,attrs:{"data-show":t.apiShowRightWindow}},[t.apiShowRightWindow?n("div",{staticClass:"uni-mask",on:{click:function(e){t.apiShowRightWindow=!1}}}):t._e(),n("div",{staticClass:"uni-right-window"},[n("v-uni-right-window",t._b({ref:"right",on:{"hook:mounted":t.onRightWindowInit}},"v-uni-right-window",t.bindWindow,!1))],1)]):t._e()],1)],1):n("keep-alive",{attrs:{include:t.keepAliveInclude}},[n("router-view",{key:t.routerKey})],1)}),[],!1,null,null,null)),f=l.exports,d=n("5222"),h=d["a"],p=(n("ff28"),Object(o["a"])(h,(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)}),[],!1,null,null,null)),v=p.exports,g=n("5a56"),m=n("da71"),b=n("3af1");var y={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}};function _(t){this.cancelColor_=y[t].cancelColor}var w={name:"Modal",components:{keypress:m["a"]},mixins:[g["default"]],props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},data:function(){return{cancelColor_:"#000"}},watch:{visible:function(t){t?(this.cancelColor_=this.$parent.showModal.cancelColor,"#000"===this.$parent.showModal.cancelColor&&("dark"===Object(b["a"])()&&this._onThemeChange({theme:"dark"}),Object(b["c"])(this._onThemeChange))):Object(b["b"])(this._onThemeChange)}},methods:{_onThemeChange:function(t){var e=t.theme;_.call(this,e)},_close:function(t){var e=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},t,!0);this.editable&&"confirm"===t&&(e.content=this.$refs.editContent.value),this.$emit("close",e)}}},S=w,k=(n("2765"),Object(o["a"])(S,(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",domProps:{textContent:t._s(t.title)}})]):t._e(),t.editable?n("textarea",{ref:"editContent",staticClass:"uni-modal__textarea",attrs:{rows:"1",placeholder:t.placeholderText},domProps:{value:t.content}}):n("div",{staticClass:"uni-modal__bd",domProps:{textContent:t._s(t.content)},on:{touchmove:function(t){t.stopPropagation()}}}),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)+" ")])])]),n("keypress",{attrs:{disable:!t.visible},on:{esc:function(e){return t._close("cancel")},enter:function(e){!t.editable&&t._close("confirm")}}})],1)],1)}),[],!1,null,null,null)),x=k.exports,C=n("4ccd"),T=n("a6b0"),O=n("ba15"),A=n("8aec"),E=n("5363"),j=n("72b3"),I=n("d4cd");var M={light:{listItemColor:"#000000",cancelItemColor:"#000000"},dark:{listItemColor:"rgba(255, 255, 255, 0.8)",cancelItemColor:"rgba(255, 255, 255)"}};function P(t){var e=this;["listItemColor","cancelItemColor"].forEach((function(n){e[n]=M[t][n]}))}var $={name:"ActionSheet",components:{keypress:m["a"]},mixins:[T["c"],C["default"],O["a"],A["a"]],props:{title:{type:String,default:""},itemList:{type:Array,default:function(){return[]}},itemColor:{type:String,default:"#000000"},popover:{type:Object,default:null},visible:{type:Boolean,default:!1}},data:function(){return{HEIGHT:260,contentHeight:0,titleHeight:0,deltaY:0,scrollTop:0,listItemColor:"#000000",cancelItemColor:"#000000"}},watch:{visible:function(t){var e=this;t?(this.$nextTick((function(){e.title&&(e.titleHeight=document.querySelector(".uni-actionsheet__title").offsetHeight),e._scroller.update(),e.contentHeight=e.$refs.content.clientHeight-e.HEIGHT,document.querySelectorAll(".uni-actionsheet__cell").forEach((function(t){(function(t){var e=0,n=0;t.addEventListener("touchstart",(function(t){var i=t.changedTouches[0];e=i.clientX,n=i.clientY})),t.addEventListener("touchend",(function(t){var i=t.changedTouches[0];if(Math.abs(i.clientX-e)<20&&Math.abs(i.clientY-n)<20){var r=new CustomEvent("click",{bubbles:!0,cancelable:!0,target:t.target,currentTarget:t.currentTarget});["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((function(t){r[t]=i[t]})),t.target.dispatchEvent(r)}}))})(t)}))})),this.listItemColor=this.cancelItemColor=this.itemColor,"#000"===this.$parent.showActionSheet.itemColor&&("dark"===Object(b["a"])()&&this._onThemeChange({theme:"dark"}),Object(b["c"])(this._onThemeChange))):Object(b["b"])(this._onThemeChange)}},mounted:function(){var t=this;this.touchtrack(this.$refs.content,"_handleTrack",!0),this.$nextTick((function(){t.initScroller(t.$refs.content,{enableY:!0,friction:new E["a"](1e-4),spring:new j["a"](2,90,20),onScroll:function(e){t.scrollTop=e.target.scrollTop}})})),Object(I["b"])()},methods:{_onThemeChange:function(t){var e=t.theme;P.call(this,e)},_close:function(t){this.$emit("close",t)},_handleTrack:function(t){if(this._scroller)switch(t.detail.state){case"start":this._handleTouchStart(t),Object(I["a"])({disable:!0});break;case"move":this._handleTouchMove(t);break;case"end":case"cancel":this._handleTouchEnd(t),Object(I["a"])({disable:!1})}},_handleWheel:function(t){var e=this.deltaY+t.deltaY;Math.abs(e)>10?(this.scrollTop+=e/3,this.scrollTop=this.scrollTop>=this.contentHeight?this.contentHeight:this.scrollTop<=0?0:this.scrollTop,this._scroller.scrollTo(this.scrollTop)):this.deltaY=e,t.preventDefault()}}},L=$,R=(n("4fef"),Object(o["a"])(L,(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 uni-actionsheet__mask",on:{click:function(e){return t._close(-1)}}})]),n("div",{staticClass:"uni-actionsheet",class:{"uni-actionsheet_toggle":t.visible},style:t.popupStyle.content},[n("div",{ref:"main",staticClass:"uni-actionsheet__menu",on:{wheel:t._handleWheel}},[t.title?n("div",{staticClass:"uni-actionsheet__cell",style:{height:t.titleHeight+"px"}}):t._e(),t.title?n("div",{staticClass:"uni-actionsheet__title"},[t._v(" "+t._s(t.title)+" ")]):t._e(),n("div",{style:{maxHeight:t.HEIGHT+"px",overflow:"hidden"}},[n("div",{ref:"content"},t._l(t.itemList,(function(e,i){return n("div",{key:i,staticClass:"uni-actionsheet__cell",style:{color:t.listItemColor},on:{click:function(e){return t._close(i)}}},[t._v(" "+t._s(e)+" ")])})),0)])]),n("div",{staticClass:"uni-actionsheet__action"},[n("div",{staticClass:"uni-actionsheet__cell",style:{color:t.cancelItemColor},on:{click:function(e){return t._close(-1)}}},[t._v(" "+t._s(t.$$t("uni.showActionSheet.cancel"))+" ")])]),n("div",{style:t.popupStyle.triangle})]),n("keypress",{attrs:{disable:!t.visible},on:{esc:function(e){return t._close(-1)}}})],1)}),[],!1,null,null,null)),N=R.exports,D={name:"ImageView",props:{src:{type:String,default:""}},data:function(){return{direction:"none"}},created:function(){this.scale=1,this.imgWidth=0,this.imgHeight=0,this.width=0,this.height=0},methods:{onScale:function(t){var e=t.detail.scale;this.scale=e},onImgLoad:function(t){var e=t.target,n=e.getBoundingClientRect();this.imgWidth=n.width,this.imgHeight=n.height},onTouchStart:function(t){var e=this.$el,n=e.getBoundingClientRect();this.width=n.width,this.height=n.height,this.checkDirection(t)},onTouchEnd:function(t){var e=this.scale,n=e*this.imgWidth>this.width,i=e*this.imgHeight>this.height;this.direction=n&&i?"all":n?"horizontal":i?"vertical":"none",this.checkDirection(t)},checkDirection:function(t){var e=this.direction;"all"!==e&&"horizontal"!==e||t.stopPropagation()}}},B=D,F=(n("11d0"),Object(o["a"])(B,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-movable-area",{staticClass:"image-view-area",nativeOn:{touchstart:function(e){return t.onTouchStart(e)},touchmove:function(e){return t.checkDirection(e)},touchend:function(e){return t.onTouchEnd(e)}}},[n("v-uni-movable-view",{staticClass:"image-view-view",attrs:{direction:t.direction,inertia:"",scale:"","scale-min":"1","scale-max":"4"},on:{scale:t.onScale}},[n("img",{staticClass:"image-view-img",attrs:{src:t.src},on:{load:t.onImgLoad}})])],1)}),[],!1,null,null,null)),z=F.exports,W={name:"PreviewImage",components:{imageView:z},props:{visible:{type:Boolean,default:!1},urls:{type:Array,default:function(){return[]}},current:{type:[String,Number],default:0}},data:function(){return{index:0}},watch:{visible:function(t){if(t){var e="number"===typeof this.current?this.current:this.urls.indexOf(this.current);this.index=e<0?0:e}}},mounted:function(){var t=this,e=0,n=0;this.$el.addEventListener("mousedown",(function(i){t.preventDefault=!1,e=i.clientX,n=i.clientY})),this.$el.addEventListener("mouseup",(function(i){(Math.abs(i.clientX-e)>20||Math.abs(i.clientY-n)>20)&&(t.preventDefault=!0)}))},methods:{_click:function(){this.preventDefault||this.$emit("close")}}},q=W,H=(n("8ed9"),Object(o["a"])(q,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.visible?n("div",{staticClass:"uni-system-preview-image",on:{click:t._click}},[n("v-uni-swiper",{staticClass:"uni-system-preview-image-swiper",attrs:{navigation:"auto",current:t.index,"indicator-dots":!1,autoplay:!1},on:{"update:current":function(e){t.index=e}}},t._l(t.urls,(function(t,e){return n("v-uni-swiper-item",{key:e},[n("image-view",{attrs:{src:t}})],1)})),1),t._m(0)],1):t._e()}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"nav-btn-back"},[n("i",{staticClass:"uni-btn-icon"},[t._v("")])])}],!1,null,null,null)),V=H.exports,U={Toast:v,Modal:x,ActionSheet:N,PreviewImage:V};function Y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function X(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"]=function(t){for(var e=1;e0&&t<1?t:1}}},c={canvasId:{type:String,required:!0},actions:{type:Array,required:!0},reserve:{type:Boolean,default:!1}}},"82c2":function(t,e,n){"use strict";n.r(e),n.d(e,"request",(function(){return l}));var i=n("f2b3"),r=n("a118"),o=n("db70");function a(t,e){for(var n=0;n>2],o+=t[(3&i[n])<<4|i[n+1]>>4],o+=t[(15&i[n+1])<<2|i[n+2]>>6],o+=t[63&i[n+2]];return r%3===2?o=o.substring(0,o.length-1)+"=":r%3===1&&(o=o.substring(0,o.length-2)+"=="),o},e.decode=function(t){var e,i,r,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>4,f[u++]=(15&r)<<4|o>>2,f[u++]=(3&o)<<6|63&a;return l}})()},"83a6":function(t,e,n){"use strict";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){t.touches.length>1||this._handleHoverStart(t)},_hoverMousedown:function(t){this._hoverTouch||(this._handleHoverStart(t),window.addEventListener("mouseup",this._hoverMouseup))},_handleHoverStart:function(t){var e=this;t._hoverPropagationStopped||this.hoverClass&&"none"!==this.hoverClass&&!this.disabled&&(this.hoverStopPropagation&&(t._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout((function(){e.hovering=!0,e._hoverTouch||e._hoverReset()}),this.hoverStartTime))},_hoverMouseup:function(){this._hoverTouch&&(this._handleHoverEnd(),window.removeEventListener("mouseup",this._hoverMouseup))},_hoverTouchEnd:function(){this._handleHoverEnd()},_handleHoverEnd:function(){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(){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}}},"84e0":function(t,e,n){"use strict";n.r(e),function(t){function i(e){var n=getCurrentPages();return n.length&&t.publishHandler("pageScrollTo",e,n[n.length-1].$page.id),{}}n.d(e,"pageScrollTo",(function(){return i}))}.call(this,n("0dd1"))},8519:function(t,e,n){},8542:function(t,e,n){"use strict";n.d(e,"a",(function(){return h})),n.d(e,"d",(function(){return p})),n.d(e,"e",(function(){return y})),n.d(e,"b",(function(){return w})),n.d(e,"c",(function(){return S}));var r=n("f2b3");function o(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(t){if("string"===typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n1&&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){m(t[n],e).then((function(t){return Object(r["k"])(i)&&i(t)||t}))}}})),e}function y(t,e){var n=[];Array.isArray(u.returnValue)&&n.push.apply(n,o(u.returnValue));var i=l[t];return i&&Array.isArray(i.returnValue)&&n.push.apply(n,o(i.returnValue)),n.forEach((function(t){e=t(e)||e})),e}function _(t){var e=Object.create(null);Object.keys(u).forEach((function(t){"returnValue"!==t&&(e[t]=u[t].slice())}));var n=l[t];return n&&Object.keys(n).forEach((function(t){"returnValue"!==t&&(e[t]=(e[t]||[]).concat(n[t]))})),e}function w(t,e,n){for(var i=arguments.length,r=new Array(i>3?i-3:0),o=3;o0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return Array.isArray(t[e])&&t[e].length}function s(t){var e={},n=t.__vue__;function r(t,n){var r=t.$attrs;for(var o in r)if(o.startsWith("data-")){var a=Object(i["b"])(o.substr(5).toLowerCase()),s=r[o];e[a]=n?s:e[a]||s}}if(n){var o=n;while(o&&o.$el===t)r(o),o=o.$children[0];var a=n.$parent;while(a&&a.$el===t)r(a,!0),a=a.$parent}else e=Object.assign({},t.dataset,t.__uniDataset);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=JSON.parse(JSON.stringify(t)),n=Object.keys(e),i=n.length;if(i)for(var r=0;re-n&&tthis._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&&ethis._endPositionX)&&(e=this._endPositionX),(this._y_a>0&&nthis._endPositionY)&&(n=this._endPositionY),{x:e,y:n}},s.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}},s.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}},s.prototype.dt=function(){return-this._x_v/this._x_a},s.prototype.done=function(){var t=r(this.s().x,this._endPositionX)||r(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,t},s.prototype.setEnd=function(t,e){this._endPositionX=t,this._endPositionY=e},s.prototype.reconfigure=function(t,e){this._m=t,this._f=1e3*e},c.prototype._solve=function(t,e){var n=this._c,i=this._m,r=this._k,o=n*n-4*i*r;if(0===o){var a=-n/(2*i),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*i),l=(-n+Math.sqrt(o))/(2*i),f=(e-u*t)/(l-u),d=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)),d*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)),d*u*e+f*l*n}}}var h=Math.sqrt(4*i*r-n*n)/(2*i),p=-n/2*i,v=t,g=(e-p*t)/h;return{x:function(t){return Math.pow(Math.E,p*t)*(v*Math.cos(h*t)+g*Math.sin(h*t))},dx:function(t){var e=Math.pow(Math.E,p*t),n=Math.cos(h*t),i=Math.sin(h*t);return e*(g*h*n-v*h*i)+p*e*(g*i+v*n)}}},c.prototype.x=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0},c.prototype.dx=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0},c.prototype.setEnd=function(t,e,n){if(n||(n=(new Date).getTime()),t!==this._endPosition||!o(e,.1)){e=e||0;var i=this._endPosition;this._solution&&(o(e,.1)&&(e=this._solution.dx((n-this._startTime)/1e3)),i=this._solution.x((n-this._startTime)/1e3),o(e,.1)&&(e=0),o(i,.1)&&(i=0),i+=this._endPosition),this._solution&&o(i-t,.1)&&o(e,.1)||(this._endPosition=t,this._solution=this._solve(i-this._endPosition,e),this._startTime=n)}},c.prototype.snap=function(t){this._startTime=(new Date).getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}},c.prototype.done=function(t){return t||(t=(new Date).getTime()),r(this.x(),this._endPosition,.1)&&o(this.dx(),.1)},c.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())},c.prototype.springConstant=function(){return this._k},c.prototype.damping=function(){return this._c},c.prototype.configuration=function(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(t,e){t.reconfigure(1,e,t.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(t,e){t.reconfigure(1,t.springConstant(),e)}.bind(this,this),min:1,max:500}]},u.prototype.setEnd=function(t,e,n,i){var r=(new Date).getTime();this._springX.setEnd(t,i,r),this._springY.setEnd(e,i,r),this._springScale.setEnd(n,i,r),this._startTime=r},u.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)}},u.prototype.done=function(){var t=(new Date).getTime();return this._springX.done(t)&&this._springY.done(t)&&this._springScale.done(t)},u.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 l=n("d4cd"),f=!1;function d(t){f||(f=!0,requestAnimationFrame((function(){t(),f=!1})))}function h(t,e){return+((1e3*t-1e3*e)/1e3).toFixed(1)}function p(t,e,n){var i={id:0,cancelled:!1};return function e(n,i,r,o){if(!n||!n.cancelled){r(i);var a=t.done();a||n.cancelled||(n.id=requestAnimationFrame(e.bind(null,n,i,r,o))),a&&o&&o(i)}}(i,t,e,n),{cancel:function(t){t&&t.id&&cancelAnimationFrame(t.id),t&&(t.cancelled=!0)}.bind(null,i),model:t}}var v={name:"MovableView",mixins:[i["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)},disabled:function(){this.__handleTouchStart()},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 u(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this._friction=new s(1,this.frictionNumber),this._declineX=new a,this._declineY=new a,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",Object(l["b"])()},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(l["a"])({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,i=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&&(i=t.detail.dy+this.__baseY,this.__touchInfo.historyY.shift(),this.__touchInfo.historyY.push(i),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 r="touch";nthis.maxX&&(this.outOfBounds?(r="touch-out-of-bounds",n=this.maxX+this._declineX.x(n-this.maxX)):n=this.maxX),ithis.maxY&&(this.outOfBounds?(r="touch-out-of-bounds",i=this.maxY+this._declineY.x(i-this.maxY)):i=this.maxY),d((function(){e._setTransform(n,i,e._scale,r)}))}}},__handleTouchEnd:function(){var t=this;if(!this._isScaling&&!this.disabled&&this._isTouching&&(Object(l["a"])({disable:!1}),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 i=this._friction.delta().x,r=this._friction.delta().y,o=i+this._translateX,a=r+this._translateY;othis.maxX&&(o=this.maxX,a=this._translateY+(this.maxX-this._translateX)*r/i),athis.maxY&&(a=this.maxY,o=this._translateX+(this.maxY-this._translateY)*i/r),this._friction.setEnd(o,a),this._FA=p(this._friction,(function(){var e=t._friction.s(),n=e.x,i=e.y;t._setTransform(n,i,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):tthis.maxY?(e=this.maxY,n=!0):e3&&void 0!==arguments[3]?arguments[3]:"",r=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||r||this.$trigger("change",{},{x:h(t,this._scaleOffset.x),y:h(e,this._scaleOffset.y),source:i}),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}}},g=v,m=(n("7c2b"),n("2877")),b=Object(m["a"])(g,(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)}),[],!1,null,null,null);e["default"]=b.exports},8875:function(t,e,n){var i,r,o;(function(n,a){r=[],i=function(){return function(){if(document.currentScript)return document.currentScript;try{throw new Error}catch(u){var t,e,n,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(u.stack)||/@([^@]*):(\d+):(\d+)\s*$/gi.exec(u.stack),r=i&&i[1]||!1,o=i&&i[2]||!1,a=document.location.href.replace(document.location.hash,""),s=document.getElementsByTagName("script");r===a&&(t=document.documentElement.outerHTML,e=new RegExp("(?:[^\\n]+?\\n){0,"+(o-2)+"}[^<]*