From 68b1ebe1f6d9de52bf35beb7313caa7ba978c32c Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Tue, 24 Dec 2019 17:09:35 +0800 Subject: [PATCH] build:app --- packages/uni-app-plus/dist/index.v3.js | 65 ++++++++++++++++++++++ packages/uni-app-plus/dist/view.umd.min.js | 8 +-- 2 files changed, 66 insertions(+), 7 deletions(-) diff --git a/packages/uni-app-plus/dist/index.v3.js b/packages/uni-app-plus/dist/index.v3.js index 8cbf6d6cf..1a1296805 100644 --- a/packages/uni-app-plus/dist/index.v3.js +++ b/packages/uni-app-plus/dist/index.v3.js @@ -670,6 +670,7 @@ var serviceContext = (function () { }]; var require_context_module_0_0 = /*#__PURE__*/Object.freeze({ + __proto__: null, base64ToArrayBuffer: base64ToArrayBuffer, arrayBufferToBase64: arrayBufferToBase64 }); @@ -681,6 +682,7 @@ var serviceContext = (function () { }]; var require_context_module_0_1 = /*#__PURE__*/Object.freeze({ + __proto__: null, canIUse: canIUse }); @@ -711,6 +713,7 @@ var serviceContext = (function () { }]; var require_context_module_0_2 = /*#__PURE__*/Object.freeze({ + __proto__: null, $on: $on, $once: $once, $off: $off, @@ -725,6 +728,7 @@ var serviceContext = (function () { const removeInterceptor$1 = addInterceptor$1; var require_context_module_0_3 = /*#__PURE__*/Object.freeze({ + __proto__: null, addInterceptor: addInterceptor$1, removeInterceptor: removeInterceptor$1 }); @@ -736,6 +740,7 @@ var serviceContext = (function () { }]; var require_context_module_0_4 = /*#__PURE__*/Object.freeze({ + __proto__: null, upx2px: upx2px }); @@ -872,6 +877,7 @@ var serviceContext = (function () { }; var require_context_module_0_5 = /*#__PURE__*/Object.freeze({ + __proto__: null, canvasGetImageData: canvasGetImageData, canvasPutImageData: canvasPutImageData, canvasToTempFilePath: canvasToTempFilePath, @@ -897,6 +903,7 @@ var serviceContext = (function () { }]; var require_context_module_0_6 = /*#__PURE__*/Object.freeze({ + __proto__: null, createAudioContext: createAudioContext, createVideoContext: createVideoContext, createMapContext: createMapContext, @@ -916,6 +923,7 @@ var serviceContext = (function () { }; var require_context_module_0_7 = /*#__PURE__*/Object.freeze({ + __proto__: null, makePhoneCall: makePhoneCall }); @@ -930,6 +938,7 @@ var serviceContext = (function () { }; var require_context_module_0_8 = /*#__PURE__*/Object.freeze({ + __proto__: null, setClipboardData: setClipboardData }); @@ -944,6 +953,7 @@ var serviceContext = (function () { }; var require_context_module_0_9 = /*#__PURE__*/Object.freeze({ + __proto__: null, openDocument: openDocument }); @@ -954,6 +964,7 @@ var serviceContext = (function () { }; var require_context_module_0_10 = /*#__PURE__*/Object.freeze({ + __proto__: null, chooseLocation: chooseLocation }); @@ -977,6 +988,7 @@ var serviceContext = (function () { }; var require_context_module_0_11 = /*#__PURE__*/Object.freeze({ + __proto__: null, getLocation: getLocation }); @@ -1006,6 +1018,7 @@ var serviceContext = (function () { }; var require_context_module_0_12 = /*#__PURE__*/Object.freeze({ + __proto__: null, openLocation: openLocation }); @@ -1067,6 +1080,7 @@ var serviceContext = (function () { }; var require_context_module_0_13 = /*#__PURE__*/Object.freeze({ + __proto__: null, chooseImage: chooseImage }); @@ -1094,6 +1108,7 @@ var serviceContext = (function () { }; var require_context_module_0_14 = /*#__PURE__*/Object.freeze({ + __proto__: null, chooseVideo: chooseVideo }); @@ -1186,6 +1201,7 @@ var serviceContext = (function () { }; var require_context_module_0_15 = /*#__PURE__*/Object.freeze({ + __proto__: null, getImageInfo: getImageInfo }); @@ -1221,6 +1237,7 @@ var serviceContext = (function () { }; var require_context_module_0_16 = /*#__PURE__*/Object.freeze({ + __proto__: null, previewImage: previewImage }); @@ -1238,6 +1255,7 @@ var serviceContext = (function () { }; var require_context_module_0_17 = /*#__PURE__*/Object.freeze({ + __proto__: null, downloadFile: downloadFile }); @@ -1340,6 +1358,7 @@ var serviceContext = (function () { }; var require_context_module_0_18 = /*#__PURE__*/Object.freeze({ + __proto__: null, request: request }); @@ -1393,6 +1412,7 @@ var serviceContext = (function () { }; var require_context_module_0_19 = /*#__PURE__*/Object.freeze({ + __proto__: null, connectSocket: connectSocket, sendSocketMessage: sendSocketMessage, closeSocket: closeSocket @@ -1429,6 +1449,7 @@ var serviceContext = (function () { }; var require_context_module_0_20 = /*#__PURE__*/Object.freeze({ + __proto__: null, uploadFile: uploadFile }); @@ -1453,6 +1474,7 @@ var serviceContext = (function () { }; var require_context_module_0_21 = /*#__PURE__*/Object.freeze({ + __proto__: null, getProvider: getProvider }); @@ -1601,6 +1623,7 @@ var serviceContext = (function () { )); var require_context_module_0_22 = /*#__PURE__*/Object.freeze({ + __proto__: null, redirectTo: redirectTo, reLaunch: reLaunch, navigateTo: navigateTo, @@ -1644,6 +1667,7 @@ var serviceContext = (function () { const removeStorageSync = getStorageSync; var require_context_module_0_23 = /*#__PURE__*/Object.freeze({ + __proto__: null, getStorage: getStorage, getStorageSync: getStorageSync, setStorage: setStorage, @@ -1680,6 +1704,7 @@ var serviceContext = (function () { }; var require_context_module_0_24 = /*#__PURE__*/Object.freeze({ + __proto__: null, loadFontFace: loadFontFace }); @@ -1722,6 +1747,7 @@ var serviceContext = (function () { }; var require_context_module_0_25 = /*#__PURE__*/Object.freeze({ + __proto__: null, setNavigationBarColor: setNavigationBarColor, setNavigationBarTitle: setNavigationBarTitle }); @@ -1741,6 +1767,7 @@ var serviceContext = (function () { }; var require_context_module_0_26 = /*#__PURE__*/Object.freeze({ + __proto__: null, pageScrollTo: pageScrollTo }); @@ -1858,6 +1885,7 @@ var serviceContext = (function () { }; var require_context_module_0_27 = /*#__PURE__*/Object.freeze({ + __proto__: null, showModal: showModal, showToast: showToast, showLoading: showLoading, @@ -1942,6 +1970,7 @@ var serviceContext = (function () { }; var require_context_module_0_28 = /*#__PURE__*/Object.freeze({ + __proto__: null, setTabBarItem: setTabBarItem, setTabBarStyle: setTabBarStyle, hideTabBar: hideTabBar, @@ -2510,6 +2539,7 @@ var serviceContext = (function () { } var require_context_module_1_0 = /*#__PURE__*/Object.freeze({ + __proto__: null, base64ToArrayBuffer: base64ToArrayBuffer$1, arrayBufferToBase64: arrayBufferToBase64$1 }); @@ -2526,6 +2556,7 @@ var serviceContext = (function () { } var require_context_module_1_1 = /*#__PURE__*/Object.freeze({ + __proto__: null, canIUse: canIUse$1 }); @@ -2534,6 +2565,7 @@ var serviceContext = (function () { }; var require_context_module_1_2 = /*#__PURE__*/Object.freeze({ + __proto__: null, interceptors: interceptors, addInterceptor: addInterceptor, removeInterceptor: removeInterceptor @@ -2582,6 +2614,7 @@ var serviceContext = (function () { } var require_context_module_1_3 = /*#__PURE__*/Object.freeze({ + __proto__: null, upx2px: upx2px$1 }); @@ -2608,6 +2641,7 @@ var serviceContext = (function () { } var eventApis = /*#__PURE__*/Object.freeze({ + __proto__: null, $on: $on$1, $off: $off$1, $once: $once$1, @@ -4276,6 +4310,7 @@ var serviceContext = (function () { } var webview = /*#__PURE__*/Object.freeze({ + __proto__: null, SCAN_ID: SCAN_ID, SCAN_PATH: SCAN_PATH, scanCode: scanCode @@ -4487,6 +4522,7 @@ var serviceContext = (function () { } var weex$1 = /*#__PURE__*/Object.freeze({ + __proto__: null, scanCode: scanCode$1 }); @@ -5252,6 +5288,7 @@ var serviceContext = (function () { } var webview$1 = /*#__PURE__*/Object.freeze({ + __proto__: null, chooseLocation: chooseLocation$1 }); @@ -5315,6 +5352,7 @@ var serviceContext = (function () { } var weex$2 = /*#__PURE__*/Object.freeze({ + __proto__: null, chooseLocation: chooseLocation$2 }); @@ -5435,6 +5473,7 @@ var serviceContext = (function () { } var webview$2 = /*#__PURE__*/Object.freeze({ + __proto__: null, openLocation: openLocation$1 }); @@ -5454,6 +5493,7 @@ var serviceContext = (function () { } var weex$3 = /*#__PURE__*/Object.freeze({ + __proto__: null, openLocation: openLocation$2 }); @@ -8669,6 +8709,7 @@ var serviceContext = (function () { var api = /*#__PURE__*/Object.freeze({ + __proto__: null, startPullDownRefresh: startPullDownRefresh, stopPullDownRefresh: stopPullDownRefresh, $on: $on$1, @@ -8991,6 +9032,7 @@ var serviceContext = (function () { } var require_context_module_1_4 = /*#__PURE__*/Object.freeze({ + __proto__: null, createInnerAudioContext: createInnerAudioContext }); @@ -9135,6 +9177,7 @@ var serviceContext = (function () { } var require_context_module_1_5 = /*#__PURE__*/Object.freeze({ + __proto__: null, getBackgroundAudioManager: getBackgroundAudioManager }); @@ -9993,6 +10036,7 @@ var serviceContext = (function () { } var require_context_module_1_6 = /*#__PURE__*/Object.freeze({ + __proto__: null, CanvasContext: CanvasContext, createCanvasContext: createCanvasContext$1, canvasGetImageData: canvasGetImageData$1, @@ -10043,6 +10087,7 @@ var serviceContext = (function () { } var require_context_module_1_7 = /*#__PURE__*/Object.freeze({ + __proto__: null, MapContext: MapContext, createMapContext: createMapContext$1 }); @@ -10106,6 +10151,7 @@ var serviceContext = (function () { } var require_context_module_1_8 = /*#__PURE__*/Object.freeze({ + __proto__: null, VideoContext: VideoContext, createVideoContext: createVideoContext$1 }); @@ -10152,6 +10198,7 @@ var serviceContext = (function () { }); var require_context_module_1_9 = /*#__PURE__*/Object.freeze({ + __proto__: null, EditorContext: EditorContext }); @@ -10196,6 +10243,7 @@ var serviceContext = (function () { } var require_context_module_1_10 = /*#__PURE__*/Object.freeze({ + __proto__: null, onAccelerometerChange: onAccelerometerChange, startAccelerometer: startAccelerometer, stopAccelerometer: stopAccelerometer @@ -10219,6 +10267,7 @@ var serviceContext = (function () { const onBLECharacteristicValueChange$1 = on('onBLECharacteristicValueChange'); var require_context_module_1_11 = /*#__PURE__*/Object.freeze({ + __proto__: null, onBluetoothDeviceFound: onBluetoothDeviceFound$1, onBluetoothAdapterStateChange: onBluetoothAdapterStateChange$1, onBLEConnectionStateChange: onBLEConnectionStateChange$1, @@ -10266,6 +10315,7 @@ var serviceContext = (function () { } var require_context_module_1_12 = /*#__PURE__*/Object.freeze({ + __proto__: null, onCompassChange: onCompassChange, startCompass: startCompass, stopCompass: stopCompass @@ -10284,6 +10334,7 @@ var serviceContext = (function () { } var require_context_module_1_13 = /*#__PURE__*/Object.freeze({ + __proto__: null, onNetworkStatusChange: onNetworkStatusChange }); @@ -10361,6 +10412,7 @@ var serviceContext = (function () { } var require_context_module_1_14 = /*#__PURE__*/Object.freeze({ + __proto__: null, getRecorderManager: getRecorderManager }); @@ -10449,6 +10501,7 @@ var serviceContext = (function () { } var require_context_module_1_15 = /*#__PURE__*/Object.freeze({ + __proto__: null, downloadFile: downloadFile$1 }); @@ -10554,6 +10607,7 @@ var serviceContext = (function () { } var require_context_module_1_16 = /*#__PURE__*/Object.freeze({ + __proto__: null, request: request$1 }); @@ -10728,6 +10782,7 @@ var serviceContext = (function () { } var require_context_module_1_17 = /*#__PURE__*/Object.freeze({ + __proto__: null, connectSocket: connectSocket$1, sendSocketMessage: sendSocketMessage$1, closeSocket: closeSocket$1, @@ -10822,6 +10877,7 @@ var serviceContext = (function () { } var require_context_module_1_18 = /*#__PURE__*/Object.freeze({ + __proto__: null, uploadFile: uploadFile$1 }); @@ -10931,6 +10987,7 @@ var serviceContext = (function () { } var require_context_module_1_19 = /*#__PURE__*/Object.freeze({ + __proto__: null, setStorage: setStorage$1, setStorageSync: setStorageSync$1, getStorage: getStorage$1, @@ -11022,6 +11079,7 @@ var serviceContext = (function () { } var require_context_module_1_20 = /*#__PURE__*/Object.freeze({ + __proto__: null, createAnimation: createAnimation }); @@ -11086,6 +11144,7 @@ var serviceContext = (function () { } var require_context_module_1_21 = /*#__PURE__*/Object.freeze({ + __proto__: null, createIntersectionObserver: createIntersectionObserver }); @@ -11226,6 +11285,7 @@ var serviceContext = (function () { } var require_context_module_1_22 = /*#__PURE__*/Object.freeze({ + __proto__: null, createSelectorQuery: createSelectorQuery }); @@ -11242,6 +11302,7 @@ var serviceContext = (function () { } var require_context_module_1_23 = /*#__PURE__*/Object.freeze({ + __proto__: null, onKeyboardHeightChange: onKeyboardHeightChange }); @@ -11266,6 +11327,7 @@ var serviceContext = (function () { } var require_context_module_1_24 = /*#__PURE__*/Object.freeze({ + __proto__: null, loadFontFace: loadFontFace$1 }); @@ -11278,6 +11340,7 @@ var serviceContext = (function () { } var require_context_module_1_25 = /*#__PURE__*/Object.freeze({ + __proto__: null, pageScrollTo: pageScrollTo$1 }); @@ -11314,6 +11377,7 @@ var serviceContext = (function () { } var require_context_module_1_26 = /*#__PURE__*/Object.freeze({ + __proto__: null, removeTabBarBadge: removeTabBarBadge$1, showTabBarRedDot: showTabBarRedDot$1, hideTabBarRedDot: hideTabBarRedDot$1, @@ -11339,6 +11403,7 @@ var serviceContext = (function () { } var require_context_module_1_27 = /*#__PURE__*/Object.freeze({ + __proto__: null, onWindowResize: onWindowResize, offWindowResize: offWindowResize }); diff --git a/packages/uni-app-plus/dist/view.umd.min.js b/packages/uni-app-plus/dist/view.umd.min.js index 2d36b7084..aa30c2bdc 100644 --- a/packages/uni-app-plus/dist/view.umd.min.js +++ b/packages/uni-app-plus/dist/view.umd.min.js @@ -1,7 +1 @@ -(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["uni"]=e():t["uni"]=e()})("undefined"!==typeof self?self:this,function(){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"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},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")}({"03df":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-web-view",t._g({},t.$listeners))},r=[],o=n("f50a"),a=o["a"],s=(n("2df3"),n("0c7c")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},"0516":function(t,e,n){"use strict";(function(t,i){n.d(e,"a",function(){return d});var r=n("f2b3"),o=n("33ed"),a=n("2522"),s=n("a20d"),c=!!r["i"]&&{passive:!1};function u(e){var n=e.windowTop,i=e.windowBottom;if(t.__WINDOW_TOP=n,t.__WINDOW_BOTTOM=i,uni.canIUse("css.var")){var r=document.documentElement.style;r.setProperty("--window-top",n+"px"),r.setProperty("--window-bottom",i+"px"),r.setProperty("--status-bar-height",plus.navigator.getStatusbarHeight()+"px")}}function l(t,e){var n=t.windowTop,i=t.windowBottom,r=t.disableScroll,a=t.onPageScroll,s=t.onPageReachBottom,l=t.onReachBottomDistance;u({windowTop:n,windowBottom:i}),r?document.addEventListener("touchmove",o["b"],c):(a||s)&&requestAnimationFrame(function(){document.addEventListener("scroll",Object(o["a"])(e,{enablePageScroll:a,enablePageReachBottom:s,onReachBottomDistance:l}))})}function h(){i.publishHandler("webviewReady")}function d(t){t(s["k"],h),t(a["a"],l)}}).call(this,n("24aa"),n("501c"))},"0741":function(t,e,n){"use strict";var i=n("9a72"),r=n.n(i);r.a},"08c9":function(t,e,n){},"0950":function(t,e,n){},"0998":function(t,e,n){"use strict";var i=n("4509"),r=n.n(i);r.a},"0aa0":function(t,e,n){"use strict";e["a"]={name:"Native",data:function(){return{position:{top:"0px",left:"0px",width:"0px",height:"0px",position:"static"},hidden:!1}},created:function(){this.isNative=!0,this.onCanInsertCallbacks=[]},mounted:function(){var t=this;this._updatePosition(),this.$nextTick(function(){t.onCanInsertCallbacks.forEach(function(t){return t()})}),this.$on("uni-view-update",this._requestPositionUpdate)},methods:{_updatePosition:function(){var t=this,e=(this.$refs.container||this.$el).getBoundingClientRect();this.hidden=0===e.width||0===e.height,this.hidden||["top","left","width","height"].forEach(function(n){var i=e[n];i="top"===n?i+(document.documentElement.scrollTop||document.body.scrollTop||0):i,t.position[n]=i+"px"})},_requestPositionUpdate:function(){var t=this;this._positionUpdateRequest&&cancelAnimationFrame(this._positionUpdateRequest),this._positionUpdateRequest=requestAnimationFrame(function(){delete t._positionUpdateRequest,t._updatePosition()})}}}},"0c7c":function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):r&&(c=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,c):[c]}return{exports:t,options:u}}n.d(e,"a",function(){return i})},"0dba":function(t,e,n){},"0f55":function(t,e,n){"use strict";var i=n("eaa4"),r=n.n(i);r.a},1047:function(t,e,n){},1082:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-image",t._g({},t.$listeners),[n("div",{ref:"content",style:t.modeStyle}),n("img",{attrs:{src:t.realImagePath}}),"widthFix"===t.mode?n("v-uni-resize-sensor",{ref:"sensor",on:{resize:t._resize}}):t._e()],1)},r=[];function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var a={name:"Image",props:{src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1}},data:function(){return{originalWidth:0,originalHeight:0,availHeight:"",sizeFixed:!1}},computed:{ratio:function(){return this.originalWidth&&this.originalHeight?this.originalWidth/this.originalHeight:0},realImagePath:function(){return this.src&&this.$getRealPath(this.src)},modeStyle:function(){var t="auto",e="",n="no-repeat";switch(this.mode){case"aspectFit":t="contain",e="center center";break;case"aspectFill":t="cover",e="center center";break;case"widthFix":t="100% 100%";break;case"top":e="center top";break;case"bottom":e="center bottom";break;case"center":e="center center";break;case"left":e="left center";break;case"right":e="right center";break;case"top left":e="left top";break;case"top right":e="right top";break;case"bottom left":e="left bottom";break;case"bottom right":e="right bottom";break;default:t="100% 100%",e="0% 0%";break}return"background-position:".concat(e,";background-size:").concat(t,";background-repeat:").concat(n,";")}},watch:{src:function(t,e){this._setContentImage(),this._loadImage()},mode:function(t,e){"widthFix"===e&&(this.$el.style.height=this.availHeight,this.sizeFixed=!1),"widthFix"===t&&this.ratio&&this._fixSize()}},mounted:function(){this.availHeight=this.$el.style.height||"",this._setContentImage(),this.realImagePath&&this._loadImage()},methods:{_resize:function(){"widthFix"!==this.mode||this.sizeFixed||this._fixSize()},_fixSize:function(){var t=this._getWidth();if(t){var e=t/this.ratio;("undefined"===typeof navigator||o(navigator))&&"Google Inc."===navigator.vendor&&e>10&&(e=2*Math.round(e/2)),this.$el.style.height=e+"px",this.sizeFixed=!0}},_setContentImage:function(){this.$refs.content.style.backgroundImage=this.src?"url(".concat(this.realImagePath,")"):"none"},_loadImage:function(){var t=this,e=new Image;e.onload=function(e){t.originalWidth=this.width,t.originalHeight=this.height,"widthFix"===t.mode&&t._fixSize(),t.$trigger("load",e,{width:this.width,height:this.height})},e.onerror=function(e){t.$trigger("error",e,{errMsg:"GET ".concat(t.src," 404 (Not Found)")})},e.src=this.realImagePath},_getWidth:function(){var t=window.getComputedStyle(this.$el),e=(parseFloat(t.borderLeftWidth,10)||0)+(parseFloat(t.borderRightWidth,10)||0),n=(parseFloat(t.paddingLeft,10)||0)+(parseFloat(t.paddingRight,10)||0);return this.$el.offsetWidth-e-n}}},s=a,c=(n("db18"),n("0c7c")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},1360:function(t,e,n){},1364:function(t,e,n){"use strict";(function(t){function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")}}},c=s,u=(n("f7fd"),n("0c7c")),l=Object(u["a"])(c,i,r,!1,null,null,null);e["default"]=l.exports},"18fd":function(t,e,n){"use strict";n.d(e,"a",function(){return d});var i=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,r=/^<\/([-A-Za-z0-9_]+)[^>]*>/,o=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,a=f("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),s=f("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=f("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=f("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),l=f("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),h=f("script,style");function d(t,e){var n,d,f,p=[],v=t;p.last=function(){return this[this.length-1]};while(t){if(d=!0,p.last()&&h[p.last()])t=t.replace(new RegExp("([\\s\\S]*?)]*>"),function(t,n){return n=n.replace(/|/g,"$1$2"),e.chars&&e.chars(n),""}),_("",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}}_()}function f(t){for(var e={},n=t.split(","),i=0;i*{height: ").concat(t,"px;overflow: hidden;}"),document.head.appendChild(e)},_handleTrack:function(t){if(this._scroller)switch(t.detail.state){case"start":this._handleTouchStart(t),Object(s["b"])({disable:!0});break;case"move":this._handleTouchMove(t);break;case"end":case"cancel":this._handleTouchEnd(t),Object(s["b"])({disable:!1})}},_handleTap:function(t){var e=t.clientY;if(!this._scroller.isScrolling()){var n=this.$el.getBoundingClientRect(),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}},[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])])])}},d=h,f=(n("edfa"),n("0c7c")),p=Object(f["a"])(d,u,l,!1,null,null,null);e["default"]=p.exports},"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["e"])(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("9613"),r=n.n(i);r.a},"1e88":function(t,e,n){"use strict";function i(){return{top:0,bottom:0}}n.d(e,"a",function(){return i})},"1efd":function(t,e,n){"use strict";n.r(e);var i=n("e571");function r(t,e){if(e){if(0===e.indexOf("/"))return e}else{if(e=t,0===e.indexOf("/"))return e;var n=getCurrentPages();t=n.length?n[n.length-1].$page.route:""}if(0===e.indexOf("./"))return r(t,e.substr(2));for(var i=e.split("/"),o=i.length,a=0;a0?t.split("/"):[];return s.splice(s.length-a-1,a+1),"/"+s.concat(i).join("/")}var o,a=/^([a-z-]+:)?\/\//i,s=/^data:.*,.*/;function c(t){return plus.io.convertLocalFileSystemURL(t).replace(/^\/?apps\//,"/android_asset/apps/").replace(/\/$/,"")}function u(t){return o||(o="file://"+c("_www")+"/"),o+t}function l(t){if(0===t.indexOf("/")){if(0!==t.indexOf("//"))return u(t.substr(1));t="https:"+t}if(a.test(t)||s.test(t)||0===t.indexOf("blob:"))return t;if(0===t.indexOf("_www")||0===t.indexOf("_do"))return"file://"+c(t);var e=getCurrentPages();return e.length?u(r(e[e.length-1].$page.route,t).substr(1)):t}var h=n("d4b6"),d={methods:{$getRealPath:function(t){return l(t)},$trigger:function(t,e,n){this.$emit(t,h["b"].call(this,t,e,n,this.$el,this.$el))}}};function f(t){return m(t)||v(t)||p()}function p(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function v(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function m(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e=0&&(a.length=1),u.push("".concat(o,"(").concat(a.join(","),")"));else if(i.concat(r).includes(a[0])){o=a[0];var s=a[1];c[o]=r.includes(o)?g(s):s}}),c.transform=c.webkitTransform=u.join(" "),c.transition=c.webkitTransition=Object.keys(c).map(function(t){return"".concat(_(t)," ").concat(s.duration,"ms ").concat(s.timingFunction," ").concat(s.delay,"ms")}).join(","),c.transformOrigin=c.webkitTransformOrigin=a.transformOrigin,c}function b(t){var e=t.animation;if(e&&e.actions&&e.actions.length){var n=0,i=e.actions,r=e.actions.length;o()}function o(){var e=i[n],a=e.option.transition,s=y(e);Object.keys(s).forEach(function(e){t.$el.style[e]=s[e]}),n+=1,n0&&void 0!==arguments[0]?arguments[0]:{};t.$trigger(n,{},e)})})},beforeDestroy:function(){this.video&&this.video.close(),delete this.video},methods:{_handleSubscribe:function(t){var e=t.type,n=t.data,i=void 0===n?{}:n;if(c.includes(e)){if("object"===s(i))switch(e){case"seek":i=i.position;break;case"playbackRate":i=i.rate;break}this.video&&this.video[e](i)}}}},d=h,f=(n("7f2f"),n("0c7c")),p=Object(f["a"])(d,i,r,!1,null,null,null);e["default"]=p.exports},"21c3":function(t,e,n){"use strict";var i=n("bf64"),r=n.n(i);r.a},2376:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a});var i=n("f2b3"),r=Object.create(null);function o(t,e){r[t]=e}var a=Object(i["a"])(function(t){return r[t]()})},"24aa":function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},"250d":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-input",t._g({on:{change:function(t){t.stopPropagation()}}},t.$listeners),[n("div",{ref:"wrapper",staticClass:"uni-input-wrapper"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!(t.composing||t.inputValue.length),expression:"!(composing || inputValue.length)"}],ref:"placeholder",staticClass:"uni-input-placeholder",class:t.placeholderClass,style:t.placeholderStyle},[t._v(t._s(t.placeholder))]),"checkbox"===t.inputType?n("input",{directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t.step,autocomplete:"off",type:"checkbox"},domProps:{checked:Array.isArray(t.inputValue)?t._i(t.inputValue,null)>-1:t.inputValue},on:{focus:t._onFocus,blur:t._onBlur,input:function(e){return e.stopPropagation(),t._onInput(e)},compositionstart:t._onComposition,compositionend:t._onComposition,keyup:function(e){return e.stopPropagation(),t._onKeyup(e)},change:function(e){var n=t.inputValue,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=null,a=t._i(n,o);i.checked?a<0&&(t.inputValue=n.concat([o])):a>-1&&(t.inputValue=n.slice(0,a).concat(n.slice(a+1)))}else t.inputValue=r}}}):"radio"===t.inputType?n("input",{directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t.step,autocomplete:"off",type:"radio"},domProps:{checked:t._q(t.inputValue,null)},on:{focus:t._onFocus,blur:t._onBlur,input:function(e){return e.stopPropagation(),t._onInput(e)},compositionstart:t._onComposition,compositionend:t._onComposition,keyup:function(e){return e.stopPropagation(),t._onKeyup(e)},change:function(e){t.inputValue=null}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t.step,autocomplete:"off",type:t.inputType},domProps:{value:t.inputValue},on:{focus:t._onFocus,blur:t._onBlur,input:[function(e){e.target.composing||(t.inputValue=e.target.value)},function(e){return e.stopPropagation(),t._onInput(e)}],compositionstart:t._onComposition,compositionend:t._onComposition,keyup:function(e){return e.stopPropagation(),t._onKeyup(e)}}})])])},r=[],o=n("8af1"),a=["text","number","idcard","digit","password"],s=["number","digit"],c={name:"Input",mixins:[o["a"],o["c"]],model:{prop:"value",event:"update:value"},props:{name:{type:String,default:""},value:{type:[String,Number],default:""},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},maxlength:{type:[Number,String],default:140},focus:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"done"}},data:function(){return{inputValue:this.value+"",composing:!1,wrapperHeight:0,cachedValue:""}},computed:{inputType:function(){var t="";switch(this.type){case"text":"search"===this.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~a.indexOf(this.type)?this.type:"text";break}return this.password?"password":t},step:function(){return~s.indexOf(this.type)?"0.000000000000000001":""}},watch:{focus:function(t){t&&this._focusInput()},value:function(t){this.inputValue=t+""},inputValue:function(t){this.$emit("update:value",t)},maxlength:function(t){var e=this.inputValue.slice(0,parseInt(t,10));e!==this.inputValue&&(this.inputValue=e)}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){if("search"===this.confirmType){var t=document.createElement("form");t.action="",t.onsubmit=function(){return!1},t.className="uni-input-form",t.appendChild(this.$refs.input),this.$refs.wrapper.appendChild(t)}var e=this;while(e){var n=e.$options._scopeId;n&&this.$refs.placeholder.setAttribute(n,""),e=e.$parent}this.initKeyboard(this.$refs.input),this.focus&&this._focusInput()},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onKeyup:function(t){13===t.keyCode&&this.$trigger("confirm",t,{value:t.target.value})},_onInput:function(t){if(!this.composing){if(~s.indexOf(this.type)){if(this.$refs.input.validity&&!this.$refs.input.validity.valid)return t.target.value=this.cachedValue,void(this.inputValue=t.target.value);this.cachedValue=this.inputValue}if("number"===this.inputType){var e=parseInt(this.maxlength,10);if(e>0&&t.target.value.length>e)return t.target.value=t.target.value.slice(0,e),void(this.inputValue=t.target.value)}this.$trigger("input",t,{value:this.inputValue})}},_onFocus:function(t){this.$trigger("focus",t,{value:t.target.value})},_onBlur:function(t){this.$trigger("blur",t,{value:t.target.value})},_focusInput:function(){var t=this;setTimeout(function(){t.$refs.input.focus()},350)},_blurInput:function(){var t=this;setTimeout(function(){t.$refs.input.blur()},350)},_onComposition:function(t){"compositionstart"===t.type?this.composing=!0:this.composing=!1},_resetFormData:function(){this.inputValue=""},_getFormData:function(){return this.name?{value:this.inputValue,key:this.name}:{}}}},u=c,l=(n("0f55"),n("0c7c")),h=Object(l["a"])(u,i,r,!1,null,null,null);e["default"]=h.exports},2522:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i="onPageCreate"},"25ce":function(t,e,n){"use strict";n.r(e);var i=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)},r=[],o=n("8af1"),a={name:"CheckboxGroup",mixins:[o["a"],o["d"]],props:{name:{type:String,default:""}},data:function(){return{checkboxList:[]}},listeners:{"@checkbox-change":"_changeHandler","@checkbox-group-update":"_checkboxGroupUpdateHandler"},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_changeHandler:function(t){var e=[];this.checkboxList.forEach(function(t){t.checkboxChecked&&e.push(t.value)}),this.$trigger("change",t,{value:e})},_checkboxGroupUpdateHandler:function(t){if("add"===t.type)this.checkboxList.push(t.vm);else{var e=this.checkboxList.indexOf(t.vm);this.checkboxList.splice(e,1)}},_getFormData:function(){var t={};if(""!==this.name){var e=[];this.checkboxList.forEach(function(t){t.checkboxChecked&&e.push(t.value)}),t["value"]=e,t["key"]=this.name}return t}}},s=a,c=(n("0998"),n("0c7c")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"27ab":function(t,e,n){"use strict";function i(t){return a(t)||o(t)||r()}function r(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function a(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e0&&t>e&&n+e+c>=t,r=Math.abs(t-s)>c;return!i||h&&!r?(!i&&h&&(h=!1),!1):(s=t,h=!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(f())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"))},"39ba":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-cover-view",t._g({},t.$listeners),[n("div",{ref:"container",staticClass:"uni-cover-view"})])},r=[],o=n("0aa0"),a=n("5077"),s={name:"CoverView",mixins:[o["a"],a["a"]],props:{},data:function(){return{coverType:"text",coverContent:""}},watch:{},mounted:function(){this._updateContent(),this.$watch("$slot",this._updateContent)},methods:{_updateContent:function(t){var e=this,n=this.$slots.default||[];n.forEach(function(t){t.tag||(e.coverContent+=t.text||"")})}}},c=s,u=(n("4ba9"),n("0c7c")),l=Object(u["a"])(c,i,r,!1,null,null,null);e["default"]=l.exports},"3e5d":function(t,e,n){"use strict";(function(t){n.d(e,"b",function(){return r}),n.d(e,"a",function(){return k});var i,r,o,a=n("e571"),s=n("a20d"),c=n("2522"),u=n("9d20"),l=n("9856"),h=n("2376");function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t,e){return m(t)||v(t,e)||p()}function p(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function v(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),e&&n.length===e)break}catch(c){r=!0,o=c}finally{try{i||null==s["return"]||s["return"]()}finally{if(r)throw o}}return n}function m(t){if(Array.isArray(t))return t}var g=(i={},d(i,s["d"],function(e){var n=f(e,3),i=n[0],a=n[1],s=n[2];document.title="".concat(a,"[").concat(i,"]"),Object(l["b"])(i,a),t.subscribeHandler(c["a"],s,i),o=Object(h["b"])(a),r=new u["a"](i)}),d(i,s["c"],function(t){r.addVData.apply(r,t)}),d(i,s["g"],function(t){r.updateVData.apply(r,t)}),d(i,s["e"],function(t){var e=f(t,2),n=e[0],i=e[1],r=getCurrentPages()[0];r.$vm=new o({mpType:"page",pageId:n,pagePath:i}).$mount("#app")}),i);function _(t,e,n){for(var i=arguments.length,r=new Array(i>3?i-3:0),o=3;o");i+=s}else e=!o},end:function(t){e||(i+=""))},chars:function(t){e||(i+=t)}}),this.skipMatcher=!0;var o=this.quill.clipboard.convert(i);return this.skipMatcher=!1,o}}}}).call(this,n("501c"))},"4da7":function(t,e,n){"use strict";n.r(e);var i,r,o={ensp:" ",emsp:" ",nbsp:" "},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&&o[this.space]&&(t=t.replace(/ /g,o[this.space])),this.decode&&(t=t.replace(/ /g,o.nbsp).replace(/ /g,o.ensp).replace(/ /g,o.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")),t}},render:function(t){var e=this,n=[];return this.$slots.default&&this.$slots.default.forEach(function(i){if(i.text){var r=i.text.replace(/\\n/g,"\n"),o=r.split("\n");o.forEach(function(i,r){n.push(e._decodeHtml(i)),r!==o.length-1&&n.push(t("br"))})}else i.componentOptions&&"v-uni-text"!==i.componentOptions.tag&&console.warn(" 组件内只支持嵌套 ,不支持其它组件或自定义组件,否则会引发在不同平台的渲染差异。"),n.push(i)}),t("uni-text",{on:this.$listeners,attrs:{selectable:!!this.selectable}},[t("span",{},n)])}},s=a,c=(n("c8ed"),n("0c7c")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"4f1c":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-switch",t._g({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}})])])},r=[],o=n("8af1"),a={name:"Switch",mixins:[o["a"],o["d"]],props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"}},data:function(){return{switchChecked:this.checked}},watch:{checked:function(t){this.switchChecked=t}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},listeners:{"label-click":"_onClick","@label-click":"_onClick"},methods:{_onClick:function(t){this.disabled||(this.switchChecked=!this.switchChecked,this.$trigger("change",t,{value:this.switchChecked}))},_resetFormData:function(){this.switchChecked=!1},_getFormData:function(){var t={};return""!==this.name&&(t["value"]=this.switchChecked,t["key"]=this.name),t}}},s=a,c=(n("a5ec"),n("0c7c")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"501c":function(t,e,n){"use strict";n.r(e);var i=n("e571"),r=n("6bdf"),o=n("5dc1"),a={requestComponentInfo:r["a"],requestComponentObserver:o["b"],destroyComponentObserver:o["a"]},s=n("33ed"),c=n("7107"),u=n("0516");function l(t){Object.keys(a).forEach(function(e){t(e,a[e])}),t("pageScrollTo",s["c"]),t("loadFontFace",c["a"]),Object(u["a"])(t)}var h=n("5bb5");n.d(e,"on",function(){return f}),n.d(e,"off",function(){return p}),n.d(e,"once",function(){return v}),n.d(e,"emit",function(){return m}),n.d(e,"subscribe",function(){return g}),n.d(e,"unsubscribe",function(){return _}),n.d(e,"subscribeHandler",function(){return y}),n.d(e,"publishHandler",function(){return h["a"]});var d=new i["a"],f=d.$on.bind(d),p=d.$off.bind(d),v=d.$once.bind(d),m=d.$emit.bind(d);function g(t,e){return f("service."+t,e)}function _(t,e){return p("service."+t,e)}function y(t,e,n){m("service."+t,e,n)}l(g)},5077:function(t,e,n){"use strict";var i=["padding","borderRadius","borderColor","borderWidth","backgroundColor"],r=["color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],o=[],a={start:"left",end:"right"},s=0;e["a"]={name:"Cover",data:function(){return{style:{}}},computed:{viewPosition:function(){var t={};for(var e in this.position){var n=this.position[e],i=parseFloat(n),r=parseFloat(this.$parent.position[e]);if("top"===e||"left"===e)n=Math.max(i,r)+"px";else if("width"===e||"height"===e){var o="left",a=parseFloat(this.$parent.position[o]),s=parseFloat(this.position[o]),c=Math.max(a-s,0),u=Math.max(s+i-(a+r),0);n=Math.max(i-c-u,0)+"px"}t[e]=n}return t},tags:function(){var t=this._getTagPosition(),e=this.style;return[{tag:"rect",position:t,rectStyles:{color:e.backgroundColor,radius:e.borderRadius,borderColor:e.borderColor,borderWidth:e.borderWidth}},"image"===this.coverType?{tag:"img",position:t,src:this.coverContent}:{tag:"font",position:t,textStyles:{align:a[e.textAlign]||e.textAlign,color:e.color,decoration:"none",lineSpacing:parseFloat(e.lineHeight)-parseFloat(e.fontSize)+"px",margin:e.padding,overflow:e.textOverflow,size:e.fontSize,verticalAlign:"top",weight:e.fontWeight,whiteSpace:e.whiteSpace},text:this.coverContent}]}},mounted:function(){var t=this;this._updateStyle();var e=this.$parent;e.isNative&&(e._isMounted?this._onCanInsert():e.onCanInsertCallbacks.push(function(){t._onCanInsert()}),this.$watch("hidden",function(e){t.cover&&t.cover[e?"hide":"show"]()}),this.$watch("viewPosition",function(e){t.cover&&t.cover.setStyle(e)},{deep:!0}),this.$watch("tags",function(){var e=t.cover;e&&(e.reset(),e.draw(t.tags))},{deep:!0}),this.$on("uni-view-update",this._requestStyleUpdate))},beforeDestroy:function(){this.$parent.isNative&&(this.cover&&this.cover.close(),delete this.cover)},methods:{_onCanInsert:function(){var t=this,e=this.cover=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(s++),this.viewPosition,this.tags);plus.webview.currentWebview().append(e),this.hidden&&e.hide(),e.addEventListener("click",function(){t.$trigger("click",{},{})})},_getTagPosition:function(){var t={};for(var e in this.position){var n=this.position[e];"top"!==e&&"left"!==e||(n=Math.min(parseFloat(n)-parseFloat(this.$parent.position[e]),0)+"px"),t[e]=n}return t},_updateStyle:function(){var t=this,e=getComputedStyle(this.$el);i.concat(r,o).forEach(function(n){t.style[n]=e[n]})},_requestStyleUpdate:function(){var t=this;this._styleUpdateRequest&&cancelAnimationFrame(this._styleUpdateRequest),this._styleUpdateRequest=requestAnimationFrame(function(){delete t._styleUpdateRequest,t._updateStyle()})}}}},5129:function(t,e){t.exports=["uni-app","uni-tabbar","uni-page","uni-page-head","uni-page-wrapper","uni-page-body","uni-page-refresh","uni-actionsheet","uni-modal","uni-toast","uni-resize-sensor","uni-shadow-root","uni-ad","uni-audio","uni-button","uni-camera","uni-canvas","uni-checkbox","uni-checkbox-group","uni-cover-image","uni-cover-view","uni-editor","uni-form","uni-functional-page-navigator","uni-icon","uni-image","uni-input","uni-label","uni-live-player","uni-live-pusher","uni-map","uni-movable-area","uni-movable-view","uni-navigator","uni-official-account","uni-open-data","uni-picker","uni-picker-view","uni-picker-view-column","uni-progress","uni-radio","uni-radio-group","uni-rich-text","uni-scroll-view","uni-slider","uni-swiper","uni-swiper-item","uni-switch","uni-text","uni-textarea","uni-video","uni-view","uni-web-view"]},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={"./button/index.vue":"d3bd","./canvas/index.vue":"bacd","./checkbox-group/index.vue":"25ce","./checkbox/index.vue":"7bb3","./editor/index.vue":"27c2","./form/index.vue":"b34d","./icon/index.vue":"9a8b","./image/index.vue":"1082","./input/index.vue":"250d","./label/index.vue":"70f4","./movable-area/index.vue":"c61c","./movable-view/index.vue":"8842","./navigator/index.vue":"17fd","./picker-view-column/index.vue":"1955","./picker-view/index.vue":"27ab","./progress/index.vue":"9b1f","./radio-group/index.vue":"d5ec","./radio/index.vue":"6491","./resize-sensor/index.vue":"3e8c","./rich-text/index.vue":"b705","./scroll-view/index.vue":"f1ef","./slider/index.vue":"9f96","./swiper-item/index.vue":"9213","./swiper/index.vue":"5513","./switch/index.vue":"4f1c","./text/index.vue":"4da7","./textarea/index.vue":"5768","./view/index.vue":"2bbe"};function r(t){var e=o(t);return n(e)}function o(t){var e=i[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}r.keys=function(){return Object.keys(i)},r.resolve=o,t.exports=r,r.id="5408"},5513:function(t,e,n){"use strict";n.r(e);var i,r,o=n("ba15"),a={name:"Swiper",mixins:[o["a"]],props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1}},data:function(){return{currentSync:Math.round(this.current)||0,currentItemIdSync:this.currentItemId||"",userTracking:!1,currentChangeSource:"",items:[]}},computed:{intervalNumber:function(){var t=Number(this.interval);return isNaN(t)?5e3:t},durationNumber:function(){var t=Number(this.duration);return isNaN(t)?500:t},displayMultipleItemsNumber:function(){var t=Math.round(this.displayMultipleItems);return isNaN(t)?1:t},slidesStyle:function(){var t={};return(this.nextMargin||this.previousMargin)&&(t=this.vertical?{left:0,right:0,top:this._upx2px(this.previousMargin),bottom:this._upx2px(this.nextMargin)}:{top:0,bottom:0,left:this._upx2px(this.previousMargin),right:this._upx2px(this.nextMargin)}),t},slideFrameStyle:function(){var t=Math.abs(100/this.displayMultipleItemsNumber)+"%";return{width:this.vertical?"100%":t,height:this.vertical?t:"100%"}},circularEnabled:function(){return this.circular&&this.items.length>this.displayMultipleItemsNumber}},watch:{vertical:function(){this._resetLayout()},circular:function(){this._resetLayout()},intervalNumber:function(t){this._timer&&(this._cancelSchedule(),this._scheduleAutoplay())},current:function(t){this._currentCheck()},currentSync:function(t){this._currentChanged(t),this.$emit("update:current",t)},currentItemId:function(t){this._currentCheck()},currentItemIdSync:function(t){this.$emit("update:currentItemId",t)},displayMultipleItemsNumber:function(){this._resetLayout()}},created:function(){this._invalid=!0,this._viewportPosition=0,this._viewportMoveRatio=1,this._animating=null,this._requestedAnimation=!1,this._userDirectionChecked=!1,this._contentTrackViewport=0,this._contentTrackSpeed=0,this._contentTrackT=0},mounted:function(){var t=this;this._currentCheck(),this.touchtrack(this.$refs.slidesWrapper,"_handleContentTrack",!0),this._resetLayout(),this.$watch(function(){return t.autoplay&&!t.userTracking},this._inintAutoplay),this._inintAutoplay(this.autoplay&&!this.userTracking),this.$watch("items.length",this._resetLayout)},beforeDestroy:function(){this._cancelSchedule()},methods:{_inintAutoplay:function(t){t?this._scheduleAutoplay():this._cancelSchedule()},_currentCheck:function(){var t=-1;if(this.currentItemId)for(var e=0,n=this.items;ee-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),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._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?this.userTracking=!1:e<=n&&!this.vertical&&(this.userTracking=!1),!this.userTracking)return void(this.autoplay&&this._scheduleAutoplay())}return this._handleTrackMove(t.detail),!1}}}},render:function(t){var e=[],n=[];this.$slots.default&&this.$slots.default.forEach(function(t){t.componentOptions&&"v-uni-swiper-item"===t.componentOptions.tag&&n.push(t)});for(var i=0,r=n.length;i=o||i-1&&this.selectionEndNumber>-1&&(this.$refs.textarea.selectionStart=this.selectionStartNumber,this.$refs.textarea.selectionEnd=this.selectionEndNumber)},_checkCursor:function(){this.focusSync&&("focus"===this.focusChangeSource||!this.focusChangeSource&&this.selectionStartNumber<0&&this.selectionEndNumber<0)&&this.cursorNumber>-1&&(this.$refs.textarea.selectionEnd=this.$refs.textarea.selectionStart=this.cursorNumber)},_blur:function(t){this.focusSync=!1,this.$trigger("blur",t,{value:this.valueSync,cursor:this.$refs.textarea.selectionEnd})},_compositionstart:function(t){this.composition=!0},_compositionend:function(t){this.composition=!1},_confirm:function(t){this.$trigger("confirm",t,{value:this.valueSync})},_linechange:function(t){this.$trigger("linechange",t,{value:this.valueSync})},_touchstart:function(){this.focusChangeSource="touch"},_resize:function(t){var e=t.height;this.height=e},_input:function(t){this.composition&&(this.valueComposition=t.target.value)},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){this.valueSync=""},_checkEmpty:function(t){return t||!1}}},s=a,c=(n("9400"),n("0c7c")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"599d":function(t,e,n){"use strict";var i=1e-4,r=750,o=!1,a=0,s=0;function c(){var t=uni.getSystemInfoSync(),e=t.platform,n=t.pixelRatio,i=t.windowWidth;a=i,s=n,o="ios"===e}function u(t,e){if(0===a&&c(),t=Number(t),0===t)return 0;var n=t/r*(e||a);return n<0&&(n=-n),n=Math.floor(n+i),0===n?1!==s&&o?.5:1:t<0?-n:n}var l=n("f2b8"),h=n("1e88"),d=n("d8c8"),f=n.n(d),p=navigator.userAgent,v=/android/i.test(p),m=/iphone|ipad|ipod/i.test(p);function g(){var t,e,n,i=window.innerWidth,r=window.innerHeight,o=window.screen,a=window.devicePixelRatio,s=o.width,c=o.height,u=navigator.language,l=0;if(m){t="iOS";var d=p.match(/OS\s([\w_]+)\slike/);d&&(e=d[1].replace(/_/g,"."));var g=p.match(/\(([a-zA-Z]+);/);g&&(n=g[1])}else if(v){t="Android";var _=p.match(/Android[\s/]([\w\.]+)[;\s]/);_&&(e=_[1]);for(var y=p.match(/\((.+?)\)/),b=y?y[1].split(";"):p.split(" "),w=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i],x=0;x0){n=S.split("Build")[0].trim();break}for(var k=void 0,T=0;T0}});else{var t=window.document,e=[];i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i.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()}},i.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},i.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]})},i.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},i.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}))))},i.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))},i.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():l();this._observationTargets.forEach(function(i){var o=i.element,a=u(o),s=this._rootContainsTarget(o),c=i.entry,l=t&&s&&this._computeTargetAndRootIntersection(o,e),h=i.entry=new n({time:r(),target:o,boundingClientRect:a,rootBounds:e,intersectionRect:l});c?t&&s?this._hasCrossedThreshold(c,h)&&this._queuedEntries.push(h):c&&c.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},i.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}},i.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)},i.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},i.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 h(t,e){var n=e;while(n){if(n==t)return!0;n=d(n)}return!1}function d(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}})()},"5bb5":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("a20d"),r=n("f2b3");function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(r["h"])(function(){var n=plus.webview.currentWebview().id;plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:t,data:e,pageId:n}},i["a"])})}},"5dc1":function(t,e,n){"use strict";(function(t){n.d(e,"b",function(){return s}),n.d(e,"a",function(){return c});n("5abe");var i=n("85b6"),r=n("db8e");function o(t){return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}var a={};function s(e,n){var s=e.reqId,c=e.component,u=e.options,l=getCurrentPages(),h=l.find(function(t){return t.$page.id===n});if(!h)throw new Error("Not Found:Page[".concat(n,"]"));var d=h.$vm,f=Object(r["a"])(c,d),p=u.relativeToSelector?f.querySelector(u.relativeToSelector):null,v=a[s]=new IntersectionObserver(function(e,n){e.forEach(function(e){t.publishHandler("onRequestComponentObserver",{reqId:s,res:{intersectionRatio:e.intersectionRatio,intersectionRect:o(e.intersectionRect),boundingClientRect:o(e.boundingClientRect),relativeRect:o(e.rootBounds),time:Date.now(),dataset:Object(i["b"])(e.target.dataset||{}),id:e.target.id}},d.$page.id)})},{root:p,rootMargin:u.rootMargin,threshold:u.thresholds});u.observeAll?(v.USE_MUTATION_OBSERVER=!0,Array.prototype.map.call(f.querySelectorAll(u.selector),function(t){v.observe(t)})):(v.USE_MUTATION_OBSERVER=!1,v.observe(f.querySelector(u.selector)))}function c(e){var n=e.reqId,i=a[n];i&&(i.disconnect(),t.publishHandler("onRequestComponentObserver",{reqId:n,reqEnd:!0}))}}).call(this,n("501c"))},6062:function(t,e,n){"use strict";var i=n("748c"),r=n.n(i);r.a},6144:function(t,e,n){},"61c2":function(t,e,n){"use strict";var i=n("f2b3"),r=n("8af1");function o(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})}function a(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})}var s={name:"uni://form-field",init:function(t,e){e.constructor.options.props&&e.constructor.options.props.name&&e.constructor.options.props.value||(e.constructor.options.props||(e.constructor.options.props={}),e.constructor.options.props.name||(e.constructor.options.props.name=t.props.name={type:String}),e.constructor.options.props.value||(e.constructor.options.props.value=t.props.value={type:null})),t.propsData||(t.propsData={});var n=e.$vnode;if(n&&n.data&&n.data.attrs&&(Object(i["d"])(n.data.attrs,"name")&&(t.propsData.name=n.data.attrs.name),Object(i["d"])(n.data.attrs,"value")&&(t.propsData.value=n.data.attrs.value)),!e.constructor.options.methods||!e.constructor.options.methods._getFormData){e.constructor.options.methods||(e.constructor.options.methods={}),t.methods||(t.methods={});var s={_getFormData:function(){return this.name?{key:this.name,value:this.value}:{}},_resetFormData:function(){this.value=""}};Object.assign(e.constructor.options.methods,s),Object.assign(t.methods,s),Object.assign(e.constructor.options.methods,r["a"].methods),Object.assign(t.methods,r["a"].methods);var c=t["created"];e.constructor.options["created"]=t["created"]=c?[].concat(o,c):[o];var u=t["beforeDestroy"];e.constructor.options["beforeDestroy"]=t["beforeDestroy"]=u?[].concat(a,u):[a]}}};function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",function(){return l});var u=c({},s.name,s);function l(t,e){t.behaviors.forEach(function(n){var i=u[n];i&&i.init(t,e)})}},"630f":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-cover-image",t._g({style:t.imageInfo,attrs:{src:t.src}},t.$listeners),[n("div",{ref:"container",staticClass:"uni-cover-image"})])},r=[],o=n("0aa0"),a=n("5077"),s=n("f2b3"),c="_doc/uniapp_temp",u="".concat(c,"_").concat(Date.now()),l={name:"CoverImage",mixins:[o["a"],a["a"]],props:{src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}},data:function(){return{coverType:"image",coverContent:"",imageInfo:{}}},watch:{src:function(){this.loadImage()}},created:function(){this.loadImage()},beforeDestroy:function(){var t=this.downloaTask;t&&t.state<4&&t.abort()},methods:{loadImage:function(){var t=this;this.coverContent="",this.imageInfo=this.autoSize?{width:0,height:0}:{};var e=this.src?this.$getRealPath(this.src):"";0===e.indexOf("http://")||0===e.indexOf("https://")?Object(s["h"])(function(){t.downloaTask=plus.downloader.createDownload(e,{filename:u+"/download/"},function(e,n){200===n?t.getImageInfo(e.filename):t.$trigger("error",{},{errMsg:"error"})}).start()}):e&&this.getImageInfo(e)},getImageInfo:function(t){var e=this;this.coverContent=t,Object(s["h"])(function(){plus.io.getImageInfo({src:t,success:function(t){var n=t.width,i=t.height;e.autoSize&&(e.imageInfo={width:"".concat(n,"px"),height:"".concat(i,"px")},e._isMounted&&e._requestPositionUpdate()),e.$trigger("load",{},{width:n,height:i})},fail:function(){e.$trigger("error",{},{errMsg:"error"})}})})}}},h=l,d=(n("21c3"),n("0c7c")),f=Object(d["a"])(h,i,r,!1,null,null,null);e["default"]=f.exports},"634a":function(t,e,n){"use strict";(function(t,i){var r=n("e571"),o=(n("7522"),n("2376")),a=n("9856"),s=n("7d0f"),c=n("599d");n.d(e,"a",function(){return c["a"]}),n.d(e,"b",function(){return c["b"]}),n.d(e,"c",function(){return c["c"]}),n.d(e,"d",function(){return c["d"]}),n.d(e,"e",function(){return c["e"]}),n.d(e,"f",function(){return c["f"]}),n.d(e,"g",function(){return c["g"]}),n.d(e,"h",function(){return c["h"]}),i.UniViewJSBridge={publishHandler:t.publishHandler,subscribeHandler:t.subscribeHandler},i.getCurrentPages=a["a"],i.__definePage=o["a"],i.Vue=r["a"],r["a"].use(s["a"]),n("1efd")}).call(this,n("501c"),n("24aa"))},6428:function(t,e,n){"use strict";var i=n("c99c"),r=n.n(i);r.a},6491:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-radio",t._g({on:{click:t._onClick}},t.$listeners),[n("div",{staticClass:"uni-radio-wrapper"},[n("div",{staticClass:"uni-radio-input",class:t.radioChecked?"uni-radio-input-checked":"",style:t.radioChecked?t.checkedStyle:""}),t._t("default")],2)])},r=[],o=n("8af1"),a={name:"Radio",mixins:[o["a"],o["d"]],props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007AFF"},value:{type:String,default:""}},data:function(){return{radioChecked:this.checked,radioValue:this.value}},computed:{checkedStyle:function(){return"background-color: ".concat(this.color,";border-color: ").concat(this.color,";")}},watch:{checked:function(t){this.radioChecked=t},value:function(t){this.radioValue=t}},listeners:{"label-click":"_onClick","@label-click":"_onClick"},created:function(){this.$dispatch("RadioGroup","uni-radio-group-update",{type:"add",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("RadioGroup","uni-radio-group-update",{type:"remove",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onClick:function(t){this.disabled||this.radioChecked||(this.radioChecked=!0,this.$dispatch("RadioGroup","uni-radio-change",t,this))},_resetFormData:function(){this.radioChecked=this.min}}},s=a,c=(n("c96e"),n("0c7c")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"64d0":function(t,e,n){"use strict";var i=n("1047"),r=n.n(i);r.a},"6bdf":function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return u});var i=n("85b6"),r=n("1e88"),o=n("db8e");function a(t){var e={};return t.id&&(e.id=""),t.dataset&&(e.dataset={}),t.rect&&(e.left=0,e.right=0,e.top=0,e.bottom=0),t.size&&(e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight),t.scrollOffset&&(e.scrollLeft=document.documentElement.scrollLeft||document.body.scrollLeft||0,e.scrollTop=document.documentElement.scrollTop||document.body.scrollTop||0),e}function s(t,e){var n={},o=Object(r["a"])(),a=o.top;if(e.id&&(n.id=t.id),e.dataset&&(n.dataset=Object(i["b"])(t.dataset||{})),e.rect||e.size){var s=t.getBoundingClientRect();e.rect&&(n.left=s.left,n.right=s.right,n.top=s.top-a,n.bottom=s.bottom),e.size&&(n.width=s.width,n.height=s.height)}return e.properties&&e.properties.forEach(function(t){t=t.replace(/-([a-z])/g,function(t,e){return e.toUpperCase()})}),e.scrollOffset&&("UNI-SCROLL-VIEW"===t.tagName&&t.__vue__&&t.__vue__.getScrollPosition?Object.assign(n,t.__vue__.getScrollPosition()):(n.scrollLeft=0,n.scrollTop=0)),e.context&&t.__vue__&&t.__vue__._getContextInfo&&(n.context=t.__vue__._getContextInfo()),n}function c(t,e,n,i,r){var a=Object(o["a"])(e,t);if(i){var c=a&&(a.matches(n)?a:a.querySelector(n));return c?s(c,r):null}if(a){var u=[],l=a.querySelectorAll(n);return l&&l.length&&(u=[].map.call(l,function(t){return s(t,r)})),a.matches(n)&&u.unshift(a),u}return[]}function u(e,n){var i=e.reqId,r=e.reqs,o=getCurrentPages(),s=o.find(function(t){return t.$page.id===n});if(!s)throw new Error("Not Found:Page[".concat(n,"]"));var u=s.$vm,l=[];r.forEach(function(t){var e=t.component,n=t.selector,i=t.single,r=t.fields;0===e?l.push(a(r)):l.push(c(u,e,n,i,r))}),t.publishHandler("onRequestComponentInfo",{reqId:i,res:l},u.$page.id)}}).call(this,n("501c"))},"70f4":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-label",t._g({on:{click:t._onClick}},t.$listeners),[t._t("default")],2)},r=[],o=n("ab76"),a=o["a"],s=n("0c7c"),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.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"))},"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),h=(e-u*t)/(l-u),d=t-h;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+h*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+h*l*n}}}var f=Math.sqrt(4*i*r-n*n)/(2*i),p=-n/2*i,v=t,m=(e-p*t)/f;return{x:function(t){return Math.pow(Math.E,p*t)*(v*Math.cos(f*t)+m*Math.sin(f*t))},dx:function(t){var e=Math.pow(Math.E,p*t),n=Math.cos(f*t),i=Math.sin(f*t);return e*(m*f*n-v*f*i)+p*e*(m*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(){function t(t,e){t.reconfigure(1,e,t.damping())}function e(t,e){t.reconfigure(1,t.springConstant(),e)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:e.bind(this,this),min:1,max:500}]}},7466:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-map",t._g(t._b({},"uni-map",t.attrs,!1),t.$listeners),[n("div",{ref:"container",staticClass:"uni-map-container"}),t._l(t.mapControls,function(e,i){return n("v-uni-cover-image",{key:i,style:e.position,attrs:{src:e.iconPath,"auto-size":""},on:{click:function(n){return t.controlclick(e)}}})}),n("div",{staticClass:"uni-map-slot"},[t._t("default")],2)],2)},r=[],o=n("8af1"),a=n("0aa0"),s=["getCenterLocation","moveToLocation","getRegion","getScale","$getAppMap"],c=["latitude","longitude","scale","markers","polyline","circles","controls","show-location"],u=function(t,e,n){n({coord:{latitude:e,longitude:t}})};function l(t){if(0!==t.indexOf("#"))return{color:t,opacity:1};var e=t.substr(7,2);return{color:t.substr(0,7),opacity:e?Number("0x"+e)/255:1}}var h={name:"Map",mixins:[o["e"],a["a"]],props:{id:{type:String,default:""},latitude:{type:[Number,String],default:""},longitude:{type:[Number,String],default:""},scale:{type:[String,Number],default:1},markers:{type:Array,default:function(){return[]}},polyline:{type:Array,default:function(){return[]}},circles:{type:Array,default:function(){return[]}},controls:{type:Array,default:function(){return[]}}},data:function(){return{style:{top:"0px",left:"0px",width:"0px",height:"0px",position:"static"},hidden:!1}},computed:{attrs:function(){var t=this,e={};return c.forEach(function(n){var i=t.$props[n];i="src"===n?t.$getRealPath(i):i,e[n.replace(/[A-Z]/g,function(t){return"-"+t.toLowerCase()})]=i}),e},mapControls:function(){var t=this,e=this.controls.map(function(e){var n={position:"absolute"};return["top","left","width","height"].forEach(function(t){n[t]=e.position[t]+"px"}),{id:e.id,iconPath:t.$getRealPath(e.iconPath),position:n}});return e}},watch:{hidden:function(t){this.map&&this.map[t?"hide":"show"]()}},listeners:{"@view-update":"_requestUpdate"},mounted:function(){var t=this;this._updateStyle();var e=Object.assign({},this.attrs,this.style);this.latitude&&this.longitude&&(e.center=new plus.maps.Point(this.longitude,this.latitude));var n=this.map=plus.maps.create("map"+Date.now(),e);n.__markers__={},n.__lines__=[],n.__circles__=[],plus.webview.currentWebview().append(n),this.hidden&&n.hide(),this.$watch("attrs",function(){t.map&&t.map.setStyles(t.attrs)},{deep:!0}),this.$watch("style",function(){t.map&&t.map.setStyles(t.style)},{deep:!0}),n.onclick(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.$trigger("tap",{},e)}),n.onstatuschanged(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.$trigger("end",{},e)}),this._addMarkers(this.markers),this._addMapLines(this.polyline),this._addMapCircles(this.circles)},beforeDestroy:function(){delete this.map},methods:{_handleSubscribe:function(t){var e=t.type,n=t.data,i=void 0===n?{}:n;s.includes(e)&&this.map&&this[e](i)},getRegion:function(){},getScale:function(){},_updateStyle:function(){var t=this,e=this.$refs.container.getBoundingClientRect();this.hidden=!1,["top","left","width","height"].forEach(function(n){var i=e[n];i="top"===n?i+(document.documentElement.scrollTop||document.body.scrollTop||0):i,i||"width"!==n&&"height"!==n||(t.hidden=!0),t.style[n]=i+"px"})},_requestUpdate:function(){var t=this;this._animationFrame&&cancelAnimationFrame(this._animationFrame),this.video&&(this._animationFrame=requestAnimationFrame(function(){delete t._animationFrame,t._updateStyle()}))},controlclick:function(t){this.$trigger("controltap",{},{id:t.id})},_addMarker:function(t,e){var n=this,i=e.id,r=e.latitude,o=e.longitude,a=e.iconPath,s=e.callout,c=e.label;u(o,r,function(e){var r=e.coord,o=r.latitude,u=r.longitude,l=new plus.maps.Marker(new plus.maps.Point(u,o));a&&l.setIcon(n.$getRealPath(a)),c&&c.content&&l.setLabel(c.content);var h=!1;s&&s.content&&(h=new plus.maps.Bubble(s.content)),h&&l.setBubble(h),(i||0===i)&&(l.onclick=function(t){n.$trigger("markertap",{},{id:i})},h&&(h.onclick=function(){n.$trigger("callouttap",{},{id:i})})),t.addOverlay(l),t.__markers__[i+""]=l})},_addMarkers:function(t,e){var n=this;return this.map?(e&&this.map.clearOverlays(),t.forEach(function(t){n._addMarker(n.map,t)}),{errMsg:"addMapMarkers:ok"}):{errMsg:"addMapMarkers:fail:请先创建地图元素"}},_translateMapMarker:function(t){t.autoRotate,t.callbackId;var e=t.destination,n=(t.duration,t.markerId);if(this.map){var i=this.map.__markers__[n+""];i&&i.setPoint(new plus.maps.Point(e.longitude,e.latitude))}return{errMsg:"translateMapMarker:ok"}},_addMapLines:function(t){var e=this.map;return e?(e.__lines__.length>0&&(e.__lines__.forEach(function(t){e.removeOverlay(t)}),e.__lines__=[]),t.forEach(function(t){var n=t.color,i=t.width,r=t.points.map(function(t){return new plus.maps.Point(t.longitude,t.latitude)}),o=new plus.maps.Polyline(r);if(n){var a=l(n);o.setStrokeColor(a.color),o.setStrokeOpacity(a.opacity)}i&&o.setLineWidth(i),e.addOverlay(o),e.__lines__.push(o)}),{errMsg:"addMapLines:ok"}):{errMsg:"addMapLines:fail:请先创建地图元素"}},_addMapCircles:function(t){var e=this.map;return e?(e.__circles__.length>0&&(e.__circles__.forEach(function(t){e.removeOverlay(t)}),e.__circles__=[]),t.forEach(function(t){var n=t.latitude,i=t.longitude,r=t.color,o=t.fillColor,a=t.radius,s=t.strokeWidth,c=new plus.maps.Circle(new plus.maps.Point(i,n),a);if(r){var u=l(r);c.setStrokeColor(u.color),c.setStrokeOpacity(u.opacity)}if(o){var h=l(o);c.setFillColor(h.color),c.setFillOpacity(h.opacity)}s&&c.setLineWidth(s),e.addOverlay(c),e.__circles__.push(c)}),{errMsg:"addMapCircles:ok"}):{errMsg:"addMapCircles:fail:请先创建地图元素"}}}},d=h,f=(n("a252"),n("0c7c")),p=Object(f["a"])(d,i,r,!1,null,null,null);e["default"]=p.exports},"748c":function(t,e,n){},7522:function(t,e,n){},"76a8":function(t,e,n){"use strict";var i=n("e37c"),r=n.n(i);r.a},7833:function(t,e,n){},"7bb3":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-checkbox",t._g({on:{click:t._onClick}},t.$listeners),[n("div",{staticClass:"uni-checkbox-wrapper"},[n("div",{staticClass:"uni-checkbox-input",class:[t.checkboxChecked?"uni-checkbox-input-checked":""],style:{color:t.color}}),t._t("default")],2)])},r=[],o=n("8af1"),a={name:"Checkbox",mixins:[o["a"],o["d"]],props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007aff"},value:{type:String,default:""}},data:function(){return{checkboxChecked:this.checked,checkboxValue:this.value}},watch:{checked:function(t){this.checkboxChecked=t},value:function(t){this.checkboxValue=t}},listeners:{"label-click":"_onClick","@label-click":"_onClick"},created:function(){this.$dispatch("CheckboxGroup","uni-checkbox-group-update",{type:"add",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("CheckboxGroup","uni-checkbox-group-update",{type:"remove",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onClick:function(t){this.disabled||(this.checkboxChecked=!this.checkboxChecked,this.$dispatch("CheckboxGroup","uni-checkbox-change",t))},_resetFormData:function(){this.checkboxChecked=!1}}},s=a,c=(n("f53a"),n("0c7c")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"7c2b":function(t,e,n){"use strict";var i=n("6144"),r=n.n(i);r.a},"7d0f":function(t,e,n){"use strict";var i=n("5129"),r=n.n(i);function o(t){var e=t.config.isReservedTag;t.config.isReservedTag=function(t){return-1!==r.a.indexOf(t)||e(t)},t.config.ignoredElements=r.a;var n=t.config.getTagNamespace,i=["switch","image","text","view"];t.config.getTagNamespace=function(t){return!~i.indexOf(t)&&(n(t)||!1)}}var a=n("8c15"),s=n("3e5d");function c(t){Object.defineProperty(t.prototype,"$page",{get:function(){return getCurrentPages()[0].$page}}),t.prototype.$handleVModelEvent=function(t,e){s["b"].sendUIEvent(this._$id,t,{type:"input",target:{value:e}})},t.prototype.$handleViewEvent=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stop&&t.stopPropagation(),e.prevent&&t.preventDefault();var n=this.$handleEvent(t),i=this._$id,r=t.currentTarget===this.$el?0:n.options.nid;if("undefined"===typeof r)return console.error("[".concat(i,"] nid not found"));delete n._processed,delete n.mp,delete n.preventDefault,delete n.stopPropagation,delete n.options,s["b"].sendUIEvent(i,r,n)}}e["a"]={install:function(t,e){o(t),a["a"].install(t,e),Object(s["a"])(t),c(t)}}},"7dad":function(t,e,n){},"7e6a":function(t,e,n){"use strict";var i=n("e47d"),r=n.n(i);r.a},"7f2f":function(t,e,n){"use strict";var i=n("7ffa"),r=n.n(i);r.a},"7ffa":function(t,e,n){},"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){var e=this;t._hoverPropagationStopped||this.hoverClass&&"none"!==this.hoverClass&&!this.disabled&&(t.touches.length>1||(this.hoverStopPropagation&&(t._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout(function(){e.hovering=!0,e._hoverTouch||e._hoverReset()},this.hoverStartTime)))},_hoverTouchEnd:function(t){this._hoverTouch=!1,this.hovering&&this._hoverReset()},_hoverReset:function(){var t=this;requestAnimationFrame(function(){clearTimeout(t._hoverStayTimer),t._hoverStayTimer=setTimeout(function(){t.hovering=!1},t.hoverStayTime)})},_hoverTouchCancel:function(t){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}}},"85b6":function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var i=["SystemAsyncLoading","SystemAsyncError"];function r(t){return!(!t.$parent||"PageBody"!==t.$parent.$options.name)&&-1===i.indexOf(t.$options.name)}function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=JSON.parse(JSON.stringify(t));return e}},8842:function(t,e,n){"use strict";n.r(e);var i=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)},r=[],o=n("ba15");function a(t,e,n){return t>e-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}},u.prototype.ds=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),t>this._t&&(t=this._t),{dx:this._x_v+this._x_a*t,dy:this._y_v+this._y_a*t}},u.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},u.prototype.dt=function(){return-this._x_v/this._x_a},u.prototype.done=function(){var t=a(this.s().x,this._endPositionX)||a(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,t},u.prototype.setEnd=function(t,e){this._endPositionX=t,this._endPositionY=e},u.prototype.reconfigure=function(t,e){this._m=t,this._f=1e3*e},l.prototype._solve=function(t,e){var n=this._c,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),h=(e-u*t)/(l-u),d=t-h;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+h*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+h*l*n}}}var f=Math.sqrt(4*i*r-n*n)/(2*i),p=-n/2*i,v=t,m=(e-p*t)/f;return{x:function(t){return Math.pow(Math.E,p*t)*(v*Math.cos(f*t)+m*Math.sin(f*t))},dx:function(t){var e=Math.pow(Math.E,p*t),n=Math.cos(f*t),i=Math.sin(f*t);return e*(m*f*n-v*f*i)+p*e*(m*i+v*n)}}},l.prototype.x=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0},l.prototype.dx=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0},l.prototype.setEnd=function(t,e,n){if(n||(n=(new Date).getTime()),t!==this._endPosition||!s(e,.1)){e=e||0;var i=this._endPosition;this._solution&&(s(e,.1)&&(e=this._solution.dx((n-this._startTime)/1e3)),i=this._solution.x((n-this._startTime)/1e3),s(e,.1)&&(e=0),s(i,.1)&&(i=0),i+=this._endPosition),this._solution&&s(i-t,.1)&&s(e,.1)||(this._endPosition=t,this._solution=this._solve(i-this._endPosition,e),this._startTime=n)}},l.prototype.snap=function(t){this._startTime=(new Date).getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}},l.prototype.done=function(t){return t||(t=(new Date).getTime()),a(this.x(),this._endPosition,.1)&&s(this.dx(),.1)},l.prototype.reconfigure=function(t,e,n){this._m=t,this._k=e,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},l.prototype.springConstant=function(){return this._k},l.prototype.damping=function(){return this._c},l.prototype.configuration=function(){function t(t,e){t.reconfigure(1,e,t.damping())}function e(t,e){t.reconfigure(1,t.springConstant(),e)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:e.bind(this,this),min:1,max:500}]},h.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},h.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)}},h.prototype.done=function(){var t=(new Date).getTime();return this._springX.done(t)&&this._springY.done(t)&&this._springScale.done(t)},h.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 d=n("f2b3"),f=!1;function p(t){f||(f=!0,requestAnimationFrame(function(){t(),f=!1}))}function v(t,e){if(t===e)return 0;var n=t.offsetLeft;return t.offsetParent?n+=v(t.offsetParent,e):0}function m(t,e){if(t===e)return 0;var n=t.offsetTop;return t.offsetParent?n+=m(t.offsetParent,e):0}function g(t,e){return+((1e3*t-1e3*e)/1e3).toFixed(1)}function _(t,e,n){var i=function(t){t&&t.id&&cancelAnimationFrame(t.id),t&&(t.cancelled=!0)},r={id:0,cancelled:!1};function o(e,n,i,r){if(!e||!e.cancelled){i(n);var a=t.done();a||e.cancelled||(e.id=requestAnimationFrame(o.bind(null,e,n,i,r))),a&&r&&r(n)}}return o(r,t,e,n),{cancel:i.bind(null,r),model:t}}var y={name:"MovableView",mixins:[o["a"]],props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},data:function(){return{xSync:this._getPx(this.x),ySync:this._getPx(this.y),scaleValueSync:Number(this.scaleValue)||1,width:0,height:0,minX:0,minY:0,maxX:0,maxY:0}},computed:{dampingNumber:function(){var t=Number(this.damping);return isNaN(t)?20:t},frictionNumber:function(){var t=Number(this.friction);return isNaN(t)||t<=0?2:t},scaleMinNumber:function(){var t=Number(this.scaleMin);return isNaN(t)?.5:t},scaleMaxNumber:function(){var t=Number(this.scaleMax);return isNaN(t)?10:t},xMove:function(){return"all"===this.direction||"horizontal"===this.direction},yMove:function(){return"all"===this.direction||"vertical"===this.direction}},watch:{x:function(t){this.xSync=this._getPx(t)},xSync:function(t){this._setX(t)},y:function(t){this.ySync=this._getPx(t)},ySync:function(t){this._setY(t)},scaleValue:function(t){this.scaleValueSync=Number(t)||0},scaleValueSync:function(t){this._setScaleValue(t)},scaleMinNumber:function(){this._setScaleMinOrMax()},scaleMaxNumber:function(){this._setScaleMinOrMax()}},created:function(){this._offset={x:0,y:0},this._scaleOffset={x:0,y:0},this._translateX=0,this._translateY=0,this._scale=1,this._oldScale=1,this._STD=new h(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this._friction=new u(1,this.frictionNumber),this._declineX=new c,this._declineY=new c,this.__touchInfo={historyX:[0,0],historyY:[0,0],historyT:[0,0]}},mounted:function(){this.touchtrack(this.$el,"_onTrack"),this.setParent(),this._friction.reconfigure(1,this.frictionNumber),this._STD.reconfigure(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this.$el.style.transformOrigin="center"},methods:{_getPx:function(t){return/\d+[ur]px$/i.test(t)?uni.upx2px(parseFloat(t)):Number(t)||0},_setX:function(t){if(this.xMove){if(t+this._scaleOffset.x===this._translateX)return this._translateX;this._SFA&&this._SFA.cancel(),this._animationTo(t+this._scaleOffset.x,this.ySync+this._scaleOffset.y,this._scale)}return t},_setY:function(t){if(this.yMove){if(t+this._scaleOffset.y===this._translateY)return this._translateY;this._SFA&&this._SFA.cancel(),this._animationTo(this.xSync+this._scaleOffset.x,t+this._scaleOffset.y,this._scale)}return t},_setScaleMinOrMax:function(){if(!this.scale)return!1;this._updateScale(this._scale,!0),this._updateOldScale(this._scale)},_setScaleValue:function(t){return!!this.scale&&(t=this._adjustScale(t),this._updateScale(t,!0),this._updateOldScale(t),t)},__handleTouchStart:function(){this._isScaling||this.disabled||(Object(d["b"])({disable:!0}),this._FA&&this._FA.cancel(),this._SFA&&this._SFA.cancel(),this.__touchInfo.historyX=[0,0],this.__touchInfo.historyY=[0,0],this.__touchInfo.historyT=[0,0],this.xMove&&(this.__baseX=this._translateX),this.yMove&&(this.__baseY=this._translateY),this.$el.style.willChange="transform",this._checkCanMove=null,this._firstMoveDirection=null,this._isTouching=!0)},__handleTouchMove:function(t){var e=this;if(!this._isScaling&&!this.disabled&&this._isTouching){var n=this._translateX,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||!0!==this._checkCanMove&&(Math.abs(t.detail.dx/t.detail.dy)>1?this._checkCanMove=!1:this._checkCanMove=!0)),this.yMove&&(i=t.detail.dy+this.__baseY,this.__touchInfo.historyY.shift(),this.__touchInfo.historyY.push(i),this.xMove||!0!==this._checkCanMove&&(Math.abs(t.detail.dy/t.detail.dx)>1?this._checkCanMove=!1:this._checkCanMove=!0)),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),p(function(){e._setTransform(n,i,e._scale,r)})}}},__handleTouchEnd:function(){var t=this;if(!this._isScaling&&!this.disabled&&this._isTouching&&(Object(d["b"])({disable:!0}),this.$el.style.willChange="auto",this._isTouching=!1,!this._checkCanMove&&!this._revise("out-of-bounds")&&this.inertia)){var e=1e3*(this.__touchInfo.historyX[1]-this.__touchInfo.historyX[0])/(this.__touchInfo.historyT[1]-this.__touchInfo.historyT[0]),n=1e3*(this.__touchInfo.historyY[1]-this.__touchInfo.historyY[0])/(this.__touchInfo.historyT[1]-this.__touchInfo.historyT[0]);this._friction.setV(e,n),this._friction.setS(this._translateX,this._translateY);var 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=_(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:g(t,this._scaleOffset.x),y:g(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}}},b=y,w=(n("7c2b"),n("0c7c")),x=Object(w["a"])(b,i,r,!1,null,null,null);e["default"]=x.exports},"8a36":function(t,e,n){"use strict";(function(t){var i=n("f2b3");e["a"]={props:{id:{type:String,default:""}},created:function(){var t=this;this._addListeners(this.id),this.$watch("id",function(e,n){t._removeListeners(n,!0),t._addListeners(e,!0)})},beforeDestroy:function(){this._removeListeners(this.id)},methods:{_addListeners:function(e,n){var r=this;if(!n||e){var o=this.$options.listeners;Object(i["f"])(o)&&Object.keys(o).forEach(function(i){n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&t.on("uni-".concat(i,"-").concat(r.$page.id,"-").concat(e),r[o[i]]):0===i.indexOf("@")?r.$on("uni-".concat(i.substr(1)),r[o[i]]):0===i.indexOf("uni-")?t.on(i,r[o[i]]):e&&t.on("uni-".concat(i,"-").concat(r.$page.id,"-").concat(e),r[o[i]])})}},_removeListeners:function(e,n){var r=this;if(!n||e){var o=this.$options.listeners;Object(i["f"])(o)&&Object.keys(o).forEach(function(i){n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&t.off("uni-".concat(i,"-").concat(r.$page.id,"-").concat(e),r[o[i]]):0===i.indexOf("@")?r.$off("uni-".concat(i.substr(1)),r[o[i]]):0===i.indexOf("uni-")?t.off(i,r[o[i]]):e&&t.off("uni-".concat(i,"-").concat(r.$page.id,"-").concat(e),r[o[i]])})}}}}}).call(this,n("501c"))},"8aec":function(t,e,n){"use strict";var i=n("5363"),r=n("72b3");function o(t,e,n){this._extent=t,this._friction=e||new i["a"](.01),this._spring=n||new r["a"](1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}function a(t,e,n){function i(t,e,n,r){if(!t||!t.cancelled){n(e);var o=e.done();o||t.cancelled||(t.id=requestAnimationFrame(i.bind(null,t,e,n,r))),o&&r&&r(e)}}function r(t){t&&t.id&&cancelAnimationFrame(t.id),t&&(t.cancelled=!0)}var o={id:0,cancelled:!1};return i(o,t,e,n),{cancel:r.bind(null,o),model:t}}function s(t,e){e=e||{},this._element=t,this._options=e,this._enableSnap=e.enableSnap||!1,this._itemSize=e.itemSize||0,this._enableX=e.enableX||!1,this._enableY=e.enableY||!1,this._shouldDispatchScrollEvent=!!e.onScroll,this._enableX?(this._extent=(e.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=e.scrollWidth):(this._extent=(e.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=e.scrollHeight),this._position=0,this._scroll=new o(this._extent,e.friction,e.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}o.prototype.snap=function(t,e){this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(e)},o.prototype.set=function(t,e){this._friction.set(t,e),t>0&&e>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(0)):t<-this._extent&&e<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()},o.prototype.x=function(t){if(!this._startTime)return 0;if(t||(t=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;var e=this._friction.x(t),n=this.dx(t);return(e>0&&n>=0||e<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),e<-this._extent?this._springOffset=-this._extent:this._springOffset=0,e=this._spring.x()+this._springOffset),e},o.prototype.dx=function(t){var e=0;return e=this._lastTime===t?this._lastDx:this._springing?this._spring.dx(t):this._friction.dx(t),this._lastTime=t,this._lastDx=e,e},o.prototype.done=function(){return this._springing?this._spring.done():this._friction.done()},o.prototype.setVelocityByEnd=function(t){this._friction.setVelocityByEnd(t)},o.prototype.configuration=function(){var t=this._friction.configuration();return t.push.apply(t,this._spring.configuration()),t},s.prototype.onTouchStart=function(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()},s.prototype.onTouchMove=function(t,e){var n=this._startPosition;this._enableX?n+=t:this._enableY&&(n+=e),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()},s.prototype.onTouchEnd=function(t,e,n){var i=this;if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(e)this._itemSize/2?r-(this._itemSize-Math.abs(o)):r-o;s<=0&&s>=-this._extent&&this._scroll.setVelocityByEnd(s)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=a(this._scroll,function(){var t=Date.now(),e=(t-i._scroll._startTime)/1e3,n=i._scroll.x(e);i._position=n,i.updatePosition();var r=i._scroll.dx(e);i._shouldDispatchScrollEvent&&t-i._lastTime>i._lastDelay&&(i.dispatchScroll(),i._lastDelay=Math.abs(2e3/r),i._lastTime=t)},function(){i._enableSnap&&(s<=0&&s>=-i._extent&&(i._position=s,i.updatePosition()),"function"===typeof i._options.onSnap&&i._options.onSnap(Math.floor(Math.abs(i._position)/i._itemSize))),i._shouldDispatchScrollEvent&&i.dispatchScroll(),i._scrolling=!1})},s.prototype.onTransitionEnd=function(){this._element.style.transition="",this._element.style.webkitTransition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._element.removeEventListener("webkitTransitionEnd",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()},s.prototype.snap=function(){var t=this._itemSize,e=this._position%t,n=Math.abs(e)>this._itemSize/2?this._position-(t-Math.abs(e)):this._position-e;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),"function"===typeof this._options.onSnap&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))},s.prototype.scrollTo=function(t,e){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"===typeof t&&(this._position=-t),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0),this._element.style.transition="transform "+(e||.2)+"s ease-out",this._element.style.webkitTransition="-webkit-transform "+(e||.2)+"s ease-out",this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd),this._element.addEventListener("webkitTransitionEnd",this._onTransitionEnd)},s.prototype.dispatchScroll=function(){if("function"===typeof this._options.onScroll&&Math.round(this._lastPos)!==Math.round(this._position)){this._lastPos=this._position;var t={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(t)}},s.prototype.update=function(t,e,n){var i=0,r=this._position;this._enableX?(i=this._element.childNodes.length?(e||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=e):(i=this._element.childNodes.length?(e||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=e),"number"===typeof t&&(this._position=-t),this._position<-i?this._position=-i:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),r!==this._position&&(this.dispatchScroll(),"function"===typeof this._options.onSnap&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=i,this._scroll._extent=i},s.prototype.updatePosition=function(){var t="";this._enableX?t="translateX("+this._position+"px) translateZ(0)":this._enableY&&(t="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=t,this._element.style.transform=t},s.prototype.isScrolling=function(){return this._scrolling||this._snapping};e["a"]={methods:{initScroller:function(t,e){this._touchInfo={trackingID:-1,maxDy:0,maxDx:0},this._scroller=new s(t,e),this.__handleTouchStart=this._handleTouchStart.bind(this),this.__handleTouchMove=this._handleTouchMove.bind(this),this.__handleTouchEnd=this._handleTouchEnd.bind(this),this._initedScroller=!0},_findDelta:function(t){var e=this._touchInfo;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:t.screenX-e.x,y:t.screenY-e.y}},_handleTouchStart:function(t){var e=this._touchInfo,n=this._scroller;n&&("start"===t.detail.state?(e.trackingID="touch",e.x=t.detail.x,e.y=t.detail.y):(e.trackingID="mouse",e.x=t.screenX,e.y=t.screenY),e.maxDx=0,e.maxDy=0,e.historyX=[0],e.historyY=[0],e.historyTime=[t.detail.timeStamp],e.listener=n,n.onTouchStart&&n.onTouchStart(),event.preventDefault())},_handleTouchMove:function(t){var e=this._touchInfo;if(-1!==e.trackingID){t.preventDefault();var n=this._findDelta(t);if(n){for(e.maxDy=Math.max(e.maxDy,Math.abs(n.y)),e.maxDx=Math.max(e.maxDx,Math.abs(n.x)),e.historyX.push(n.x),e.historyY.push(n.y),e.historyTime.push(t.detail.timeStamp);e.historyTime.length>10;)e.historyTime.shift(),e.historyX.shift(),e.historyY.shift();e.listener&&e.listener.onTouchMove&&e.listener.onTouchMove(n.x,n.y,t.detail.timeStamp)}}},_handleTouchEnd:function(t){var e=this._touchInfo;if(-1!==e.trackingID){t.preventDefault();var n=this._findDelta(t);if(n){var i=e.listener;e.trackingID=-1,e.listener=null;var r=e.historyTime.length,o={x:0,y:0};if(r>2)for(var a=e.historyTime.length-1,s=e.historyTime[a],c=e.historyX[a],u=e.historyY[a];a>0;){a--;var l=e.historyTime[a],h=s-l;if(h>30&&h<50){o.x=(c-e.historyX[a])/(h/1e3),o.y=(u-e.historyY[a])/(h/1e3);break}}e.historyTime=[],e.historyX=[],e.historyY=[],i&&i.onTouchEnd&&i.onTouchEnd(n.x,n.y,o)}}}}}},"8af1":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;o1&&void 0!==arguments[1]?arguments[1]:{};e.routes;Object(r["a"])();var n=function(t,e){for(var n=t.target;n&&n!==e;n=n.parentNode)if(n.tagName&&0===n.tagName.indexOf("UNI-"))break;return n};t.prototype.$handleEvent=function(t){if(t instanceof Event){var e=n(t,this.$el);t=r["b"].call(this,t.type,t,{},e||t.target,t.currentTarget)}return t},t.prototype.$getComponentDescriptor=function(t,e){return Object(a["a"])(t||this,e)},t.prototype.$handleWxsEvent=function(t){if(t instanceof Event){var e=t.currentTarget,i=e&&e.__vue__&&e.__vue__.$getComponentDescriptor(e.__vue__,!1);t=r["b"].call(this,t.type,t,{},n(t,this.$el)||t.target,t.currentTarget),t.instance=i}return t},t.mixin({beforeCreate:function(){var t=this,e=this.$options,n=e.wxs;n&&Object.keys(n).forEach(function(e){t[e]=n[e]}),e.behaviors&&e.behaviors.length&&Object(o["a"])(e,this),Object(i["a"])(this)&&(e.mounted=e.mounted?[].concat(s,e.mounted):[s])}})}}}).call(this,n("501c"))},"8ffa":function(t,e,n){},"90c9":function(t,e,n){},9213:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-swiper-item",t._g({},t.$listeners),[t._t("default")],2)},r=[],o={name:"SwiperItem",props:{itemId:{type:String,default:""}},mounted:function(){var t=this.$el;t.style.position="absolute",t.style.width="100%",t.style.height="100%";var e=this.$vnode._callbacks;e&&e.forEach(function(t){t()})}},a=o,s=(n("bfea"),n("0c7c")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},9400:function(t,e,n){"use strict";var i=n("8ffa"),r=n.n(i);r.a},"944e":function(t,e,n){"use strict";var i=n("aa36"),r=n.n(i);r.a},9613:function(t,e,n){},9856:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var i=[];function r(){return i}function o(t,e){i.length=0,i.push({$page:{id:t,route:e}})}},"98e0":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-picker",t._g({on:{click:function(e){return e.stopPropagation(),t._show(e)}}},t.$listeners),[t._t("default")],2)},r=[],o=n("8af1"),a=n("1364"),s={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},c={YEAR:"year",MONTH:"month",DAY:"day"};function u(t){return t>9?t:"0".concat(t)}function l(t,e){var n=new Date;return e===s.TIME?(t=t.split(":"),2===t.length&&n.setHours(parseInt(t[0]),parseInt(t[1]))):(t=t.split("-"),3===t.length&&n.setFullYear(parseInt(t[0]),parseInt(t[1]-1),parseInt(t[2]))),n}var h={name:"Picker",mixins:[o["a"]],props:{name:{type:String,default:""},range:{type:Array,default:function(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:s.SELECTOR,validator:function(t){return Object.values(s).indexOf(t)>=0}},fields:{type:String,default:"day",validator:function(t){return Object.values(c).indexOf(t)>=0}},start:{type:String,default:function(){if(this.mode===s.TIME)return"00:00";if(this.mode===s.DATE){var t=(new Date).getFullYear()-60;switch(this.fields){case c.YEAR:return t;case c.MONTH:return t+"-01";case c.DAY:return t+"-01-01"}}return""}},end:{type:String,default:function(){if(this.mode===s.TIME)return"23:59";if(this.mode===s.DATE){var t=(new Date).getFullYear()+60;switch(this.fields){case c.YEAR:return t;case c.MONTH:return t+"-12";case c.DAY:return t+"-12-31"}}return""}},disabled:{type:[Boolean,String],default:!1}},created:function(){var t=this;this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this}),Object.keys(this.$props).forEach(function(e){"name"!==e&&t.$watch(e,function(n){var i={};i[e]=n,t._updatePicker(i)})})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_show:function(){this.disabled||this._showPicker(Object.assign({},this.$props))},_showPicker:function(t){var e=this;if(this.mode===s.TIME||this.mode===s.DATE)plus.nativeUI[this.mode===s.TIME?"pickTime":"pickDate"](function(t){var n=t.date;e.$trigger("change",{},{value:e.mode===s.TIME?"".concat(u(n.getHours()),":").concat(u(n.getMinutes())):"".concat(n.getFullYear(),"-").concat(u(n.getMonth()+1),"-").concat(u(n.getDate()))})},function(){e.$trigger("cancel",{},{})},this.mode===s.TIME?{time:l(this.value,s.TIME)}:{date:l(this.value,s.DATE),minDate:l(this.start,s.DATE),maxDate:l(this.end,s.DATE)});else{var n={event:"cancel"};this.page=Object(a["a"])({url:"__uniapppicker",data:t,style:{titleNView:!1,animationType:"none",animationDuration:0,background:"rgba(0,0,0,0)",popGesture:"none"},onMessage:function(i){var r=i.event;if("created"!==r)return"columnchange"===r?(delete i.event,void e.$trigger(r,{},i)):void(n=i);e._updatePicker(t)},onClose:function(){e.page=null;var t=n.event;delete n.event,e.$trigger(t,{},n)}})}},_updatePicker:function(t){this.page&&this.page.sendMessage(t)}}},d=h,f=(n("76a8"),n("0c7c")),p=Object(f["a"])(d,i,r,!1,null,null,null);e["default"]=p.exports},"9a72":function(t,e,n){},"9a8b":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-icon",t._g({},t.$listeners),[n("i",{class:"uni-icon-"+t.type,style:{"font-size":t._converPx(t.size),color:t.color},attrs:{role:"img"}})])},r=[],o={name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},methods:{_converPx:function(t){if(/\d+[ur]px$/i.test(t))t.replace(/\d+[ur]px$/i,function(t){return"".concat(uni.upx2px(parseFloat(t)),"px")});else if(/^-?[\d\.]+$/.test(t))return"".concat(t,"px");return t||""}}},a=o,s=(n("7e6a"),n("0c7c")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},"9b1f":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-progress",t._g({staticClass:"uni-progress"},t.$listeners),[n("div",{staticClass:"uni-progress-bar",style:t.outerBarStyle},[n("div",{staticClass:"uni-progress-inner-bar",style:t.innerBarStyle})]),t.showInfo?[n("p",{staticClass:"uni-progress-info"},[t._v(t._s(t.currentPercent)+"%")])]:t._e()],2)},r=[],o={activeColor:"#007AFF",backgroundColor:"#EBEBEB",activeMode:"backwards"},a={name:"Progress",props:{percent:{type:[Number,String],default:0,validator:function(t){return!isNaN(parseFloat(t,10))}},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator:function(t){return!isNaN(parseFloat(t,10))}},color:{type:String,default:o.activeColor},activeColor:{type:String,default:o.activeColor},backgroundColor:{type:String,default:o.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:o.activeMode}},data:function(){return{currentPercent:0,strokeTimer:0,lastPercent:0}},computed:{outerBarStyle:function(){return"background-color: ".concat(this.backgroundColor,"; height: ").concat(this.strokeWidth,"px;")},innerBarStyle:function(){var t="";return t=this.color!==o.activeColor&&this.activeColor===o.activeColor?this.color:this.activeColor,"width: ".concat(this.currentPercent,"%;background-color: ").concat(t)},realPercent:function(){var t=parseFloat(this.percent,10);return t<0&&(t=0),t>100&&(t=100),t}},watch:{realPercent:function(t,e){this.strokeTimer&&clearInterval(this.strokeTimer),this.lastPercent=e||0,this._activeAnimation()}},created:function(){this._activeAnimation()},methods:{_activeAnimation:function(){var t=this;this.active?(this.currentPercent=this.activeMode===o.activeMode?0:this.lastPercent,this.strokeTimer=setInterval(function(){t.currentPercent+1>t.realPercent?(t.currentPercent=t.realPercent,t.strokeTimer&&clearInterval(t.strokeTimer)):t.currentPercent+=1},30)):this.currentPercent=this.realPercent}}},s=a,c=(n("944e"),n("0c7c")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},"9d20":function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return d});var i=n("f2b3"),r=n("a20d");function o(t,e){return c(t)||s(t,e)||a()}function a(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function s(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done);i=!0)if(n.push(a.value),e&&n.length===e)break}catch(c){r=!0,o=c}finally{try{i||null==s["return"]||s["return"]()}finally{if(r)throw o}}return n}function c(t){if(Array.isArray(t))return t}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.addBatchVData.push([t,e,n])}},{key:"updateVData",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.updateBatchVData.push([t,e])}},{key:"initVm",value:function(t){var e=this.addBatchVData.shift(),n=o(e,3),r=n[0],a=n[1],s=n[2];r?t._$id=r:(t._$id=Object(i["c"])(),console.error("cid unmatched",t)),Object.assign(t.$options,s),t.$r=a||Object.create(null),this.vms[t._$id]=t}},{key:"sendUIEvent",value:function(e,n,i){t.publishHandler(r["h"],{data:[[r["f"],[[e,n,i]]]],options:{timestamp:Date.now()}})}},{key:"clearAddBatchVData",value:function(){this.addBatchVData.length=0}},{key:"flush",value:function(){var t=this;this.updateBatchVData.forEach(function(e){var n=o(e,2),i=n[0],r=n[1],a=t.vms[i];if(!a)return console.error("Not found ".concat(i));Object.keys(r).forEach(function(t){Object.assign(a.$r[t]||(a.$r[t]=Object.create(null)),r[t])}),a.$forceUpdate()}),this.updateBatchVData.length=0}}]),e}()}).call(this,n("501c"))},"9f96":function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-slider",t._g({ref:"uni-slider",on:{click:t._onClick}},t.$listeners),[n("div",{staticClass:"uni-slider-wrapper"},[n("div",{staticClass:"uni-slider-tap-area"},[n("div",{staticClass:"uni-slider-handle-wrapper",style:t.setBgColor},[n("div",{ref:"uni-slider-handle",staticClass:"uni-slider-handle",style:t.setBlockBg}),n("div",{staticClass:"uni-slider-thumb",style:t.setBlockStyle}),n("div",{staticClass:"uni-slider-track",style:t.setActiveColor})])]),n("span",{directives:[{name:"show",rawName:"v-show",value:t.showValue,expression:"showValue"}],staticClass:"uni-slider-value"},[t._v(t._s(t.sliderValue))])]),t._t("default")],2)},r=[],o=n("8af1"),a=n("ba15"),s={name:"Slider",mixins:[o["a"],o["d"],a["a"]],props:{name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#e9e9e9"},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#007aff"},selectedColor:{type:String,default:"#007aff"},blockColor:{type:String,default:"#ffffff"},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},data:function(){return{sliderValue:Number(this.value)}},computed:{setBlockStyle:function(){return{width:this.blockSize+"px",height:this.blockSize+"px",marginLeft:-this.blockSize/2+"px",marginTop:-this.blockSize/2+"px",left:this._getValueWidth(),backgroundColor:this.blockColor}},setBgColor:function(){return{backgroundColor:this._getBgColor()}},setBlockBg:function(){return{left:this._getValueWidth()}},setActiveColor:function(){return{backgroundColor:this._getActiveColor(),width:this._getValueWidth()}}},watch:{value:function(t){this.sliderValue=Number(t)}},mounted:function(){this.touchtrack(this.$refs["uni-slider-handle"],"_onTrack")},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:{_onUserChangedValue:function(t){var e=this.$refs["uni-slider"],n=e.offsetWidth,i=e.getBoundingClientRect().left,r=(t.x-i)*(this.max-this.min)/n+Number(this.min);this.sliderValue=this._filterValue(r)},_filterValue:function(t){return tthis.max?this.max:Math.round((t-this.min)/this.step)*this.step+Number(this.min)},_getValueWidth:function(){return 100*(this.sliderValue-this.min)/(this.max-this.min)+"%"},_getBgColor:function(){return"#e9e9e9"!==this.backgroundColor?this.backgroundColor:"#007aff"!==this.color?this.color:"#007aff"},_getActiveColor:function(){return"#007aff"!==this.activeColor?this.activeColor:"#e9e9e9"!==this.selectedColor?this.selectedColor:"#e9e9e9"},_onTrack:function(t){if(!this.disabled)return"move"===t.detail.state?(this._onUserChangedValue({x:t.detail.x0}),this.$trigger("changing",t,{value:this.sliderValue}),!1):void("end"===t.detail.state&&this.$trigger("change",t,{value:this.sliderValue}))},_onClick:function(t){this.disabled||(this._onUserChangedValue(t),this.$trigger("change",t,{value:this.sliderValue}))},_resetFormData:function(){this.sliderValue=this.min},_getFormData:function(){var t={};return""!==this.name&&(t["value"]=this.sliderValue,t["key"]=this.name),t}}},c=s,u=(n("6428"),n("0c7c")),l=Object(u["a"])(c,i,r,!1,null,null,null);e["default"]=l.exports},a20d:function(t,e,n){"use strict";n.d(e,"d",function(){return i}),n.d(e,"c",function(){return r}),n.d(e,"g",function(){return o}),n.d(e,"e",function(){return a}),n.d(e,"f",function(){return s}),n.d(e,"h",function(){return c}),n.d(e,"a",function(){return u}),n.d(e,"k",function(){return l}),n.d(e,"i",function(){return h}),n.d(e,"b",function(){return d}),n.d(e,"j",function(){return f}),n.d(e,"l",function(){return p});var i=2,r=4,o=6,a=10,s=20,c="vdSync",u="__uniapp__service",l="webviewReady",h="vdSyncCallback",d="invokeApi",f="webviewInserted",p="webviewRemoved"},a20f:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return s});var i=function(){var t=document.createElement("canvas"),e=t.getContext("2d"),n=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}(),r=function(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)},o={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",setTransform:[4,5]};if(1!==i){var a=CanvasRenderingContext2D.prototype;r(o,function(t,e){a[e]=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);var n=Array.prototype.slice.call(arguments);if("all"===t)n=n.map(function(t){return t*i});else if(Array.isArray(t))for(var r=0;r0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return x({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(t,e){if(t instanceof i)I(A(n.prototype),"insertBefore",this).call(this,t,e);else{var r=null==e?this.length():e.offset(this),o=this.split(r);o.parent.insertBefore(t,o)}}},{key:"optimize",value:function(t){I(A(n.prototype),"optimize",this).call(this,t);var e=this.next;null!=e&&e.prev===this&&e.statics.blotName===this.statics.blotName&&e.domNode.tagName===this.domNode.tagName&&e.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(e.moveChildren(this),e.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var i=e.create(this.statics.defaultChild);t.moveChildren(i),this.appendChild(i)}I(A(n.prototype),"replace",this).call(this,t)}}]),n}(n);return r.blotName="list",r.scope=e.Scope.BLOCK_BLOT,r.tagName=["OL","UL"],r.defaultChild="list-item",r.allowedChildren=[i],{"formats/list":r}},P=function(t){var e=t.import("parchment"),n=e.Scope,i=t.import("formats/background"),r=new i.constructor("backgroundColor","background-color",{scope:n.INLINE});return{"formats/backgroundColor":r}},j=n("f2b3"),D=function(t){var e=t.import("parchment"),n=e.Scope,i=e.Attributor,r={scope:n.BLOCK},o=["margin","marginTop","marginBottom","marginLeft","marginRight"],a=["padding","paddingTop","paddingBottom","paddingLeft","paddingRight"],s={};return o.concat(a).forEach(function(t){s["formats/".concat(t)]=new i.Style(t,Object(j["g"])(t),r)}),s},L=function(t){var e=t.import("parchment"),n=e.Scope,i=e.Attributor,r={scope:n.INLINE},o=["font","fontSize","fontStyle","fontVariant","fontWeight","fontFamily"],a={};return o.forEach(function(t){a["formats/".concat(t)]=new i.Style(t,Object(j["g"])(t),r)}),a},F=function(t){var e=t.import("parchment"),n=e.Scope,i=e.Attributor,r=[{name:"lineHeight",scope:n.BLOCK},{name:"letterSpacing",scope:n.INLINE},{name:"textDecoration",scope:n.INLINE},{name:"textIndent",scope:n.BLOCK}],o={};return r.forEach(function(t){var e=t.name,n=t.scope;o["formats/".concat(e)]=new i.Style(e,Object(j["g"])(e),{scope:n})}),o},R=function(t){var e=t.import("formats/image");e.sanitize=function(t){return t}};function B(t){var e={divider:l,ins:_,align:y,direction:b,list:N,background:P,box:D,font:L,text:F,image:R},n={};Object.values(e).forEach(function(e){return Object.assign(n,e(t))}),t.register(n,!0)}n.d(e,"a",function(){return B})},b34d:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-form",t._g({},t.$listeners),[n("span",[t._t("default")],2)])},r=[],o=n("8af1"),a={name:"Form",mixins:[o["d"]],data:function(){return{childrenList:[]}},listeners:{"@form-submit":"_onSubmit","@form-reset":"_onReset","@form-group-update":"_formGroupUpdateHandler"},methods:{_onSubmit:function(t){var e={};this.childrenList.forEach(function(t){t._getFormData&&t._getFormData().key&&(e[t._getFormData().key]=t._getFormData().value)}),this.$trigger("submit",t,{value:e})},_onReset:function(t){this.$trigger("reset",t,{}),this.childrenList.forEach(function(t){t._resetFormData&&t._resetFormData()})},_formGroupUpdateHandler:function(t){if("add"===t.type)this.childrenList.push(t.vm);else{var e=this.childrenList.indexOf(t.vm);this.childrenList.splice(e,1)}}}},s=a,c=n("0c7c"),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},b705:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-rich-text",t._g({},t.$listeners),[n("div")])},r=[],o=n("18fd");function a(t){return t.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}function s(t){return t.reduce(function(t,e){var n=e.value,i=e.name;return n.match(/ /)&&"style"!==i&&(n=n.split(" ")),t[i]?Array.isArray(t[i])?t[i].push(n):t[i]=[t[i],n]:t[i]=n,t},{})}function c(t){t=a(t);var e=[],n={node:"root",children:[]};return Object(o["a"])(t,{start:function(t,i,r){var o={name:t};if(0!==i.length&&(o.attrs=s(i)),r){var a=e[0]||n;a.children||(a.children=[]),a.children.push(o)}else e.unshift(o)},end:function(t){var i=e.shift();if(i.name!==t&&console.error("invalid state: mismatch end tag"),0===e.length)n.children.push(i);else{var r=e[0];r.children||(r.children=[]),r.children.push(i)}},chars:function(t){var i={type:"text",text:t};if(0===e.length)n.children.push(i);else{var r=e[0];r.children||(r.children=[]),r.children.push(i)}},comment:function(t){var n={node:"comment",text:t},i=e[0];i.children||(i.children=[]),i.children.push(n)}}),n.children}var u=n("f2b3"),l={a:"",abbr:"",b:"",blockquote:"",br:"",code:"",col:["span","width"],colgroup:["span","width"],dd:"",del:"",div:"",dl:"",dt:"",em:"",fieldset:"",h1:"",h2:"",h3:"",h4:"",h5:"",h6:"",hr:"",i:"",img:["alt","src","height","width"],ins:"",label:"",legend:"",li:"",ol:["start","type"],p:"",q:"",span:"",strong:"",sub:"",sup:"",table:["width"],tbody:"",td:["colspan","rowspan","height","width"],tfoot:"",th:["colspan","rowspan","height","width"],thead:"",tr:"",ul:""},h={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'"};function d(t){return t.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(t,e){if(Object(u["d"])(h,e)&&h[e])return h[e];if(/^#[0-9]{1,4}$/.test(e))return String.fromCharCode(e.slice(1));if(/^#x[0-9a-f]{1,4}$/i.test(e))return String.fromCharCode("0"+e.slice(1));var n=document.createElement("div");return n.innerHTML=t,n.innerText||n.textContent})}function f(t,e){return t.forEach(function(t){if(Object(u["f"])(t))if(Object(u["d"])(t,"type")&&"node"!==t.type)"text"===t.type&&"string"===typeof t.text&&""!==t.text&&e.appendChild(document.createTextNode(d(t.text)));else{if("string"!==typeof t.name||!t.name)return;var n=t.name.toLowerCase();if(!Object(u["d"])(l,n))return;var i=document.createElement(n);if(!i)return;var r=t.attrs;if(Object(u["f"])(r)){var o=l[n]||[];Object.keys(r).forEach(function(t){var e=r[t];switch(t){case"class":Array.isArray(e)&&(e=e.join(" "));case"style":i.setAttribute(t,e);break;default:-1!==o.indexOf(t)&&i.setAttribute(t,e)}})}var a=t.children;Array.isArray(a)&&a.length&&f(t.children,i),e.appendChild(i)}}),e}var p={name:"RichText",props:{nodes:{type:[Array,String],default:function(){return[]}}},watch:{nodes:function(t){this._renderNodes(t)}},mounted:function(){this._renderNodes(this.nodes)},methods:{_renderNodes:function(t){"string"===typeof t&&(t=c(t));var e=f(t,document.createDocumentFragment());this.$el.firstChild.innerHTML="",this.$el.firstChild.appendChild(e)}}},v=p,m=n("0c7c"),g=Object(m["a"])(v,i,r,!1,null,null,null);e["default"]=g.exports},ba15:function(t,e,n){"use strict";var i=function(t,e,n,i){t.addEventListener(e,function(t){"function"===typeof n&&!1===n(t)&&(t.preventDefault(),t.stopPropagation())},{passive:!1})};e["a"]={methods:{touchtrack:function(t,e,n){var r=this,o=0,a=0,s=0,c=0,u=function(t,n,i,u){if(!1===r[e]({target:t.target,currentTarget:t.currentTarget,preventDefault:t.preventDefault.bind(t),stopPropagation:t.stopPropagation.bind(t),touches:t.touches,changedTouches:t.changedTouches,detail:{state:n,x0:i,y0:u,dx:i-o,dy:u-a,ddx:i-s,ddy:u-c,timeStamp:t.timeStamp}}))return!1},l=null;i(t,"touchstart",function(t){if(1===t.touches.length&&!l)return l=t,o=s=t.touches[0].pageX,a=c=t.touches[0].pageY,u(t,"start",o,a)}),i(t,"touchmove",function(t){if(1===t.touches.length&&l){var e=u(t,"move",t.touches[0].pageX,t.touches[0].pageY);return s=t.touches[0].pageX,c=t.touches[0].pageY,e}}),i(t,"touchend",function(t){if(0===t.touches.length&&l)return l=null,u(t,"end",t.changedTouches[0].pageX,t.changedTouches[0].pageY)}),i(t,"touchcancel",function(t){if(l){var e=l;return l=null,u(t,n?"cancel":"end",e.touches[0].pageX,e.touches[0].pageY)}})}}}},bacd:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-canvas",t._g({attrs:{"canvas-id":t.canvasId,"disable-scroll":t.disableScroll}},t._listeners),[n("canvas",{ref:"canvas",attrs:{width:"300",height:"150"}}),n("div",{staticStyle:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",overflow:"hidden"}},[t._t("default")],2),n("v-uni-resize-sensor",{ref:"sensor",on:{resize:t._resize}})],1)},r=[],o=n("dc5e"),a=o["a"],s=(n("0741"),n("0c7c")),c=Object(s["a"])(a,i,r,!1,null,null,null);e["default"]=c.exports},bf64:function(t,e,n){},bfea:function(t,e,n){"use strict";var i=n("1360"),r=n.n(i);r.a},c312:function(t,e,n){},c4c5:function(t,e,n){"use strict";(function(t,i){n.d(e,"a",function(){return f});var r=n("f2b3");function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n1&&(e[n[0].trim()]=n[1].trim())}}),e}var d=function(){function e(t){o(this,e),this.$vm=t,this.$el=t.$el}return s(e,[{key:"selectComponent",value:function(t){if(this.$el&&t){var e=this.$el.querySelector(t);return e&&e.__vue__&&f(e.__vue__,!1)}}},{key:"selectAllComponents",value:function(t){if(!this.$el||!t)return[];for(var e=[],n=this.$el.querySelectorAll(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:{};this.$vm[e]?this.$vm[e](JSON.parse(JSON.stringify(n))):this.$vm._$id&&t.publishHandler("onWxsInvokeCallMethod",{cid:this.$vm._$id,method:e,args:n})}},{key:"requestAnimationFrame",value:function(t){return i.requestAnimationFrame(t),this}},{key:"getState",value:function(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}},{key:"triggerEvent",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.$vm.$emit(t,e),this}}]),e}();function f(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e&&t&&t.$options.name&&0===t.$options.name.indexOf("VUni")&&(t=t.$parent),t&&t.$el)return t.$el.__wxsComponentDescriptor||(t.$el.__wxsComponentDescriptor=new d(t)),t.$el.__wxsComponentDescriptor}}).call(this,n("501c"),n("24aa"))},c61c:function(t,e,n){"use strict";n.r(e);var i=n("f2b3");function r(t){return Math.sqrt(t.x*t.x+t.y*t.y)}var o,a,s={name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},data:function(){return{width:0,height:0,items:[]}},created:function(){this.gapV={x:null,y:null},this.pinchStartLen=null},mounted:function(){this._resize()},methods:{_resize:function(){this._getWH(),this.items.forEach(function(t,e){t.componentInstance.setParent()})},_find:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.items,n=this.$el;function i(t){for(var r=0;r1){var n={x:e[1].pageX-e[0].pageX,y:e[1].pageY-e[0].pageY};if(this.pinchStartLen=r(n),this.gapV=n,!this.scaleArea){var o=this._find(e[0].target),a=this._find(e[1].target);this._scaleMovableView=o&&o===a?o:null}}},_touchmove:function(t){var e=t.touches;if(e&&e.length>1){t.preventDefault();var n={x:e[1].pageX-e[0].pageX,y:e[1].pageY-e[0].pageY};if(null!==this.gapV.x&&this.pinchStartLen>0){var i=r(n)/this.pinchStartLen;this._updateScale(i)}this.gapV=n}},_touchend:function(t){Object(i["b"])({disable:!1});var e=t.touches;e&&e.length||t.changedTouches&&(this.gapV.x=0,this.gapV.y=0,this.pinchStartLen=null,this.scaleArea?this.items.forEach(function(t){t.componentInstance._endScale()}):this._scaleMovableView&&this._scaleMovableView.componentInstance._endScale())},_updateScale:function(t){t&&1!==t&&(this.scaleArea?this.items.forEach(function(e){e.componentInstance._setScale(t)}):this._scaleMovableView&&this._scaleMovableView.componentInstance._setScale(t))},_getWH:function(){var t=window.getComputedStyle(this.$el),e=this.$el.getBoundingClientRect();this.width=e.width-["Left","Right"].reduce(function(e,n){return e+parseFloat(t["border"+n+"Width"])+parseFloat(t["padding"+n])},0),this.height=e.height-["Top","Bottom"].reduce(function(e,n){return e+parseFloat(t["border"+n+"Width"])+parseFloat(t["padding"+n])},0)}},render:function(t){var e=this,n=[];this.$slots.default&&this.$slots.default.forEach(function(t){t.componentOptions&&"v-uni-movable-view"===t.componentOptions.tag&&n.push(t)}),this.items=n;var i=Object.assign({},this.$listeners),r=["touchstart","touchmove","touchend"];return r.forEach(function(t){var n=i[t],r=e["_".concat(t)];i[t]=n?[].concat(n,r):r}),t("uni-movable-area",{on:i},[t("v-uni-resize-sensor",{on:{resize:this._resize}})].concat(n))}},c=s,u=(n("a3e5"),n("0c7c")),l=Object(u["a"])(c,o,a,!1,null,null,null);e["default"]=l.exports},c8ed:function(t,e,n){"use strict";var i=n("0dba"),r=n.n(i);r.a},c96e:function(t,e,n){"use strict";var i=n("c312"),r=n.n(i);r.a},c99c:function(t,e,n){},cee1:function(t,e,n){},d1f5:function(t,e,n){},d3bd:function(t,e,n){"use strict";n.r(e);var i,r,o=n("8af1"),a={name:"Button",mixins:[o["b"],o["a"],o["d"]],props:{hoverClass:{type:String,default:"button-hover"},disabled:{type:[Boolean,String],default:!1},id:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},formType:{type:String,default:"",validator:function(t){return~["","submit","reset"].indexOf(t)}}},data:function(){return{clickFunction:null}},methods:{_onClick:function(t,e){this.disabled||(e&&this.$el.click(),this.formType&&this.$dispatch("Form","submit"===this.formType?"uni-form-submit":"uni-form-reset",{type:this.formType}))},_bindObjectListeners:function(t,e){if(e)for(var n in e){var i=t.on[n],r=e[n];t.on[n]=i?[].concat(i,r):r}return t}},render:function(t){var e=this,n=Object.create(null);return this.$listeners&&Object.keys(this.$listeners).forEach(function(t){(!e.disabled||"click"!==t&&"tap"!==t)&&(n[t]=e.$listeners[t])}),this.hoverClass&&"none"!==this.hoverClass?t("uni-button",this._bindObjectListeners({class:[this.hovering?this.hoverClass:""],attrs:{disabled:this.disabled},on:{touchstart:this._hoverTouchStart,touchend:this._hoverTouchEnd,touchcancel:this._hoverTouchCancel,click:this._onClick}},n),this.$slots.default):t("uni-button",this._bindObjectListeners({class:[this.hovering?this.hoverClass:""],attrs:{disabled:this.disabled},on:{click:this._onClick}},n),this.$slots.default)},listeners:{"label-click":"_onClick","@label-click":"_onClick"}},s=a,c=(n("5676"),n("0c7c")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},d4b6:function(t,e,n){"use strict";var i=n("f2b3"),r=n("85b6");function o(t){return Object.assign({mp:t,_processed:!0},t)}var a=n("1e88");function s(t,e){arguments.length>2&&void 0!==arguments[2]&&arguments[2];var n={id:t.id,offsetLeft:t.offsetLeft,offsetTop:t.offsetTop,dataset:Object(r["b"])(t.dataset)};return e&&Object.assign(n,e),n}function c(t){if(t){for(var e=[],n=Object(a["a"])(),i=n.top,r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(e._processed)return e.type=n.type||t,e;if("click"===t){var u=Object(a["a"])(),l=u.top;n={x:e.x,y:e.y-l},e.touches=e.changedTouches=[{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY}]}var h=o({type:n.type||t,timeStamp:e.timeStamp||0,detail:n,target:s(i,n),currentTarget:s(r,!1,!0),touches:e instanceof Event||e instanceof CustomEvent?c(e.touches):e.touches,changedTouches:e instanceof Event||e instanceof CustomEvent?c(e.changedTouches):e.changedTouches,preventDefault:function(){},stopPropagation:function(){}}),d=r.getAttribute("_i");return h.options={nid:d},h}n.d(e,"b",function(){return u}),n.d(e,"a",function(){return y});var l=350,h=10,d=!!i["i"]&&{passive:!0},f=!1;function p(){f&&(clearTimeout(f),f=!1)}var v=0,m=0;function g(t){if(p(),1===t.touches.length){var e=t.touches[0],n=e.pageX,i=e.pageY;v=n,m=i,f=setTimeout(function(){var e=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:t.target,currentTarget:t.currentTarget});e.touches=t.touches,e.changedTouches=t.changedTouches,t.target.dispatchEvent(e)},l)}}function _(t){if(f){if(1!==t.touches.length)return p();var e=t.touches[0],n=e.pageX,i=e.pageY;return Math.abs(n-v)>h||Math.abs(i-m)>h?p():void 0}}function y(){window.addEventListener("touchstart",g,d),window.addEventListener("touchmove",_,d),window.addEventListener("touchend",p,d),window.addEventListener("touchcancel",p,d)}},d5ec:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uni-radio-group",t._g({},t.$listeners),[t._t("default")],2)},r=[],o=n("8af1"),a={name:"RadioGroup",mixins:[o["a"],o["d"]],props:{name:{type:String,default:""}},data:function(){return{radioList:[]}},listeners:{"@radio-change":"_changeHandler","@radio-group-update":"_radioGroupUpdateHandler"},mounted:function(){this._resetRadioGroupValue(this.radioList.length-1)},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,e){var n=this.radioList.indexOf(e);this._resetRadioGroupValue(n,!0),this.$trigger("change",t,{value:e.radioValue})},_radioGroupUpdateHandler:function(t){if("add"===t.type)this.radioList.push(t.vm);else{var e=this.radioList.indexOf(t.vm);this.radioList.splice(e,1)}},_resetRadioGroupValue:function(t,e){var n=this;this.radioList.forEach(function(i,r){r!==t&&(e?n.radioList[r].radioChecked=!1:n.radioList.forEach(function(t,e){r>=e||n.radioList[e].radioChecked&&(n.radioList[r].radioChecked=!1)}))})},_getFormData:function(){var t={};if(""!==this.name){var e="";this.radioList.forEach(function(t){t.radioChecked&&(e=t.value)}),t["value"]=e,t["key"]=this.name}return t}}},s=a,c=(n("fb61"),n("0c7c")),u=Object(c["a"])(s,i,r,!1,null,null,null);e["default"]=u.exports},d8c8:function(t,e,n){"use strict";var i,r,o=["top","left","right","bottom"],a={};function s(){return r="CSS"in window&&"function"==typeof CSS.supports?CSS.supports("top: env(safe-area-inset-top)")?"env":CSS.supports("top: constant(safe-area-inset-top)")?"constant":"":"",r}function c(){if(r="string"===typeof r?r:s(),r){var t=[],e=!1;try{var n=Object.defineProperty({},"passive",{get:function(){e={passive:!0}}});window.addEventListener("test",null,n)}catch(f){}var c=document.createElement("div");u(c,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),o.forEach(function(t){d(c,t)}),document.body.appendChild(c),l(),i=!0}else o.forEach(function(t){a[t]=0});function u(t,e){var n=t.style;Object.keys(e).forEach(function(t){var i=e[t];n[t]=i})}function l(e){e?t.push(e):t.forEach(function(t){t()})}function d(t,n){var i=document.createElement("div"),o=document.createElement("div"),s=document.createElement("div"),c=document.createElement("div"),d=100,f=1e4,p={position:"absolute",width:d+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:r+"(safe-area-inset-"+n+")"};u(i,p),u(o,p),u(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),u(c,{transition:"0s",animation:"none",width:"250%",height:"250%"}),i.appendChild(s),o.appendChild(c),t.appendChild(i),t.appendChild(o),l(function(){i.scrollTop=o.scrollTop=f;var t=i.scrollTop,r=o.scrollTop;function a(){this.scrollTop!==(this===i?t:r)&&(i.scrollTop=o.scrollTop=f,t=i.scrollTop,r=o.scrollTop,h(n))}i.addEventListener("scroll",a,e),o.addEventListener("scroll",a,e)});var v=getComputedStyle(i);Object.defineProperty(a,n,{configurable:!0,get:function(){return parseFloat(v.paddingBottom)}})}}function u(t){return i||c(),a[t]}var l=[];function h(t){l.length||setTimeout(function(){var t={};l.forEach(function(e){t[e]=a[e]}),l.length=0,d.forEach(function(e){e(t)})},0),l.push(t)}var d=[];function f(t){s()&&(i||c(),"function"===typeof t&&d.push(t))}function p(t){var e=d.indexOf(t);e>=0&&d.splice(e,1)}var v={get support(){return 0!=("string"===typeof r?r:s()).length},get top(){return u("top")},get left(){return u("left")},get right(){return u("right")},get bottom(){return u("bottom")},onChange:f,offChange:p};t.exports=v},db18:function(t,e,n){"use strict";var i=n("08c9"),r=n.n(i);r.a},db8e:function(t,e,n){"use strict";function i(t,e){if(t===e._$id)return e;for(var n=e.$children,r=n.length,o=0;o=0&&Math.floor(e)===e&&isFinite(t)}function f(t){return r(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||l(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function m(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function b(t,e){return y.call(t,e)}function w(t){var e=Object.create(null);return function(n){var i=e[n];return i||(e[n]=t(n))}}var x=/-(\w)/g,S=w(function(t){return t.replace(x,function(t,e){return e?e.toUpperCase():""})}),k=w(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),T=/\B([A-Z])/g,$=w(function(t){return t.replace(T,"-$1").toLowerCase()});function C(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function O(t,e){return t.bind(e)}var E=Function.prototype.bind?O:C;function I(t,e){e=e||0;var n=t.length-e,i=new Array(n);while(n--)i[n]=t[n+e];return i}function M(t,e){for(var n in e)t[n]=e[n];return t}function A(t){for(var e={},n=0;n0,nt=J&&J.indexOf("edge/")>0,it=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===Q),rt=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),J&&J.match(/firefox\/(\d+)/)),ot={}.watch,at=!1;if(K)try{var st={};Object.defineProperty(st,"passive",{get:function(){at=!0}}),window.addEventListener("test-passive",null,st)}catch(Oa){}var ct=function(){return void 0===q&&(q=!K&&!Z&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),q},ut=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function lt(t){return"function"===typeof t&&/native code/.test(t.toString())}var ht,dt="undefined"!==typeof Symbol&<(Symbol)&&"undefined"!==typeof Reflect&<(Reflect.ownKeys);ht="undefined"!==typeof Set&<(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ft=N,pt=0,vt=function(){"undefined"!==typeof SharedObject?this.id=SharedObject.uid++:this.id=pt++,this.subs=[]};function mt(t){vt.SharedObject.targetStack.push(t),vt.SharedObject.target=t}function gt(){vt.SharedObject.targetStack.pop(),vt.SharedObject.target=vt.SharedObject.targetStack[vt.SharedObject.targetStack.length-1]}vt.prototype.addSub=function(t){this.subs.push(t)},vt.prototype.removeSub=function(t){_(this.subs,t)},vt.prototype.depend=function(){vt.SharedObject.target&&vt.SharedObject.target.addDep(this)},vt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(o&&!b(r,"default"))a=!1;else if(""===a||a===$(t)){var c=Jt(String,r.type);(c<0||s0&&(a=Ce(a,(e||"")+"_"+n),$e(a[0])&&$e(u)&&(l[c]=wt(u.text+a[0].text),a.shift()),l.push.apply(l,a)):s(a)?$e(u)?l[c]=wt(u.text+a):""!==a&&l.push(wt(a)):$e(a)&&$e(u)?l[c]=wt(u.text+a.text):(o(t._isVList)&&r(a.tag)&&i(a.key)&&r(e)&&(a.key="__vlist"+e+"_"+n+"__"),l.push(a)));return l}function Oe(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Ee(t){var e=Ie(t.$options.inject,t);e&&(Ot(!1),Object.keys(e).forEach(function(n){Nt(t,n,e[n])}),Ot(!0))}function Ie(t,e){if(t){for(var n=Object.create(null),i=dt?Reflect.ownKeys(t):Object.keys(t),r=0;r0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&i&&i!==n&&s===i.$key&&!o&&!i.$hasNormal)return i;for(var c in r={},t)t[c]&&"$"!==c[0]&&(r[c]=Pe(e,c,t[c]))}else r={};for(var u in e)u in r||(r[u]=je(e,u));return t&&Object.isExtensible(t)&&(t._normalized=r),X(r,"$stable",a),X(r,"$key",s),X(r,"$hasNormal",o),r}function Pe(t,e,n){var i=function(){var t=arguments.length?n.apply(null,arguments):n({});return t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:Te(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:i,enumerable:!0,configurable:!0}),i}function je(t,e){return function(){return t[e]}}function De(t,e){var n,i,o,a,s;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),i=0,o=t.length;i1?I(n):n;for(var i=I(arguments,1),r='event handler for "'+t+'"',o=0,a=n.length;odocument.createEvent("Event").timeStamp&&(qn=function(){return Gn.now()})}function Kn(){var t,e;for(Un=qn(),Yn=!0,Bn.sort(function(t,e){return t.id-e.id}),Xn=0;XnXn&&Bn[n].id>t.id)n--;Bn.splice(n+1,0,t)}else Bn.push(t);zn||(zn=!0,fe(Kn))}}var ei=0,ni=function(t,e,n,i,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ei,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ht,this.newDepIds=new ht,this.expression="","function"===typeof e?this.getter=e:(this.getter=U(e),this.getter||(this.getter=N)),this.value=this.lazy?void 0:this.get()};ni.prototype.get=function(){var t;mt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(Oa){if(!this.user)throw Oa;te(Oa,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ve(t),gt(),this.cleanupDeps()}return t},ni.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},ni.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},ni.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ti(this)},ni.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(Oa){te(Oa,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},ni.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ni.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},ni.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||_(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var ii={enumerable:!0,configurable:!0,get:N,set:N};function ri(t,e,n){ii.get=function(){return this[e][n]},ii.set=function(t){this[e][n]=t},Object.defineProperty(t,n,ii)}function oi(t){t._watchers=[];var e=t.$options;e.props&&ai(t,e.props),e.methods&&pi(t,e.methods),e.data?si(t):At(t._data={},!0),e.computed&&li(t,e.computed),e.watch&&e.watch!==ot&&vi(t,e.watch)}function ai(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[],o=!t.$parent;o||Ot(!1);var a=function(o){r.push(o);var a=Gt(o,e,n,t);Nt(i,o,a),o in t||ri(t,"_props",o)};for(var s in e)a(s);Ot(!0)}function si(t){var e=t.$options.data;e=t._data="function"===typeof e?ci(e,t):e||{},l(e)||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);while(r--){var o=n[r];0,i&&b(i,o)||Y(o)||ri(t,"_data",o)}At(e,!0)}function ci(t,e){mt();try{return t.call(e,e)}catch(Oa){return te(Oa,e,"data()"),{}}finally{gt()}}var ui={lazy:!0};function li(t,e){var n=t._computedWatchers=Object.create(null),i=ct();for(var r in e){var o=e[r],a="function"===typeof o?o:o.get;0,i||(n[r]=new ni(t,a||N,N,ui)),r in t||hi(t,r,o)}}function hi(t,e,n){var i=!ct();"function"===typeof n?(ii.get=i?di(e):fi(n),ii.set=N):(ii.get=n.get?i&&!1!==n.cache?di(e):fi(n.get):N,ii.set=n.set||N),Object.defineProperty(t,e,ii)}function di(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),vt.SharedObject.target&&e.depend(),e.value}}function fi(t){return function(){return t.call(this,this)}}function pi(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?N:E(e[n],t)}function vi(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r-1)return this;var n=I(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function Ti(t){t.mixin=function(t){return this.options=Ut(this.options,t),this}}function $i(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=t.name||n.options.name;var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Ut(n.options,t),a["super"]=n,a.options.props&&Ci(a),a.options.computed&&Oi(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,B.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=M({},a.options),r[i]=a,a}}function Ci(t){var e=t.options.props;for(var n in e)ri(t.prototype,"_props",n)}function Oi(t){var e=t.options.computed;for(var n in e)hi(t.prototype,n,e[n])}function Ei(t){B.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Ii(t){return t&&(t.Ctor.options.name||t.tag)}function Mi(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!h(t)&&t.test(e)}function Ai(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var a=n[o];if(a){var s=Ii(a.componentOptions);s&&!e(s)&&Ni(n,o,i,r)}}}function Ni(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,_(n,e)}yi(Si),gi(Si),En(Si),Nn(Si),_n(Si);var Pi=[String,RegExp,Array],ji={name:"keep-alive",abstract:!0,props:{include:Pi,exclude:Pi,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Ni(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",function(e){Ai(t,function(t){return Mi(e,t)})}),this.$watch("exclude",function(e){Ai(t,function(t){return!Mi(e,t)})})},render:function(){var t=this.$slots.default,e=Sn(t),n=e&&e.componentOptions;if(n){var i=Ii(n),r=this,o=r.include,a=r.exclude;if(o&&(!i||!Mi(o,i))||a&&i&&Mi(a,i))return e;var s=this,c=s.cache,u=s.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[l]?(e.componentInstance=c[l].componentInstance,_(u,l),u.push(l)):(c[l]=e,u.push(l),this.max&&u.length>parseInt(this.max)&&Ni(c,u[0],u,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},Di={KeepAlive:ji};function Li(t){var e={get:function(){return H}};Object.defineProperty(t,"config",e),t.util={warn:ft,extend:M,mergeOptions:Ut,defineReactive:Nt},t.set=Pt,t.delete=jt,t.nextTick=fe,t.observable=function(t){return At(t),t},t.options=Object.create(null),B.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,M(t.options.components,Di),ki(t),Ti(t),$i(t),Ei(t)}Li(Si),Object.defineProperty(Si.prototype,"$isServer",{get:ct}),Object.defineProperty(Si.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Si,"FunctionalRenderContext",{value:Ze}),Si.version="2.6.10";var Fi=m("style,class"),Ri=m("input,textarea,option,select,progress"),Bi=function(t,e,n){return"value"===n&&Ri(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Vi=m("contenteditable,draggable,spellcheck"),Hi=m("events,caret,typing,plaintext-only"),zi=function(t,e){return qi(e)||"false"===e?"false":"contenteditable"===t&&Hi(e)?e:"true"},Yi=m("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Xi="http://www.w3.org/1999/xlink",Wi=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Ui=function(t){return Wi(t)?t.slice(6,t.length):""},qi=function(t){return null==t||!1===t};function Gi(t){var e=t.data,n=t,i=t;while(r(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(e=Ki(i.data,e));while(r(n=n.parent))n&&n.data&&(e=Ki(e,n.data));return Zi(e.staticClass,e.class)}function Ki(t,e){return{staticClass:Qi(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function Zi(t,e){return r(t)||r(e)?Qi(t,Ji(e)):""}function Qi(t,e){return t?e?t+" "+e:t:e||""}function Ji(t){return Array.isArray(t)?tr(t):c(t)?er(t):"string"===typeof t?t:""}function tr(t){for(var e,n="",i=0,o=t.length;i-1?sr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:sr[t]=/HTMLUnknownElement/.test(e.toString())}var ur=m("text,number,password,search,email,tel,url");function lr(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function hr(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function dr(t,e){return document.createElementNS(nr[t],e)}function fr(t){return document.createTextNode(t)}function pr(t){return document.createComment(t)}function vr(t,e,n){t.insertBefore(e,n)}function mr(t,e){t.removeChild(e)}function gr(t,e){t.appendChild(e)}function _r(t){return t.parentNode}function yr(t){return t.nextSibling}function br(t){return t.tagName}function wr(t,e){t.textContent=e}function xr(t,e){t.setAttribute(e,"")}var Sr=Object.freeze({createElement:hr,createElementNS:dr,createTextNode:fr,createComment:pr,insertBefore:vr,removeChild:mr,appendChild:gr,parentNode:_r,nextSibling:yr,tagName:br,setTextContent:wr,setStyleScope:xr}),kr={create:function(t,e){Tr(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Tr(t,!0),Tr(e))},destroy:function(t){Tr(t,!0)}};function Tr(t,e){var n=t.data.ref;if(r(n)){var i=t.context,o=t.componentInstance||t.elm,a=i.$refs;e?Array.isArray(a[n])?_(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var $r=new _t("",{},[]),Cr=["create","activate","update","remove","destroy"];function Or(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&Er(t,e)||o(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&i(e.asyncFactory.error))}function Er(t,e){if("input"!==t.tag)return!0;var n,i=r(n=t.data)&&r(n=n.attrs)&&n.type,o=r(n=e.data)&&r(n=n.attrs)&&n.type;return i===o||ur(i)&&ur(o)}function Ir(t,e,n){var i,o,a={};for(i=e;i<=n;++i)o=t[i].key,r(o)&&(a[o]=i);return a}function Mr(t){var e,n,a={},c=t.modules,u=t.nodeOps;for(e=0;ev?(h=i(n[_+1])?null:n[_+1].elm,S(t,h,n,p,_,o)):p>_&&T(t,e,d,v)}function O(t,e,n,i){for(var o=n;o-1?Xr(t,e,n):Yi(e)?qi(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Vi(e)?t.setAttribute(e,zi(e,n)):Wi(e)?qi(n)?t.removeAttributeNS(Xi,Ui(e)):t.setAttributeNS(Xi,e,n):Xr(t,e,n)}function Xr(t,e,n){if(qi(n))t.removeAttribute(e);else{if(tt&&!et&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var Wr={create:zr,update:zr};function Ur(t,e){var n=e.elm,o=e.data,a=t.data;if(!(i(o.staticClass)&&i(o.class)&&(i(a)||i(a.staticClass)&&i(a.class))&&i(n.__wxsAddClass)&&i(n.__wxsRemoveClass))){var s=Gi(e),c=n._transitionClasses;if(r(c)&&(s=Qi(s,Ji(c))),Array.isArray(n.__wxsRemoveClass)&&n.__wxsRemoveClass.length){var u=s.split(/\s+/);n.__wxsRemoveClass.forEach(function(t){var e=u.findIndex(function(e){return e===t});-1!==e&&u.splice(e,1)}),s=u.join(" "),n.__wxsRemoveClass.length=0}if(n.__wxsAddClass){var l=s.split(/\s+/).concat(n.__wxsAddClass.split(/\s+/)),h=Object.create(null);l.forEach(function(t){t&&(h[t]=1)}),s=Object.keys(h).join(" ")}var d=e.context,f=d.$options.mpOptions&&d.$options.mpOptions.externalClasses;Array.isArray(f)&&f.forEach(function(t){var e=d[S(t)];e&&(s=s.replace(t,e))}),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var qr,Gr={create:Ur,update:Ur},Kr="__r",Zr="__c";function Qr(t){if(r(t[Kr])){var e=tt?"change":"input";t[e]=[].concat(t[Kr],t[e]||[]),delete t[Kr]}r(t[Zr])&&(t.change=[].concat(t[Zr],t.change||[]),delete t[Zr])}function Jr(t,e,n){var i=qr;return function r(){var o=e.apply(null,arguments);null!==o&&no(t,r,n,i)}}var to=oe&&!(rt&&Number(rt[1])<=53);function eo(t,e,n,i){if(to){var r=Un,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}qr.addEventListener(t,e,at?{capture:n,passive:i}:n)}function no(t,e,n,i){(i||qr).removeEventListener(t,e._wrapper||e,n)}function io(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};qr=e.elm,Qr(n),ye(n,r,eo,no,Jr,e.context),qr=void 0}}var ro,oo={create:io,update:io};function ao(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,o,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in r(c.__ob__)&&(c=e.data.domProps=M({},c)),s)n in c||(a[n]="");for(n in c){if(o=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var u=i(o)?"":String(o);so(a,u)&&(a.value=u)}else if("innerHTML"===n&&rr(a.tagName)&&i(a.innerHTML)){ro=ro||document.createElement("div"),ro.innerHTML=""+o+"";var l=ro.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(l.firstChild)a.appendChild(l.firstChild)}else if(o!==s[n])try{a[n]=o}catch(Oa){}}}}function so(t,e){return!t.composing&&("OPTION"===t.tagName||co(t,e)||uo(t,e))}function co(t,e){var n=!0;try{n=document.activeElement!==t}catch(Oa){}return n&&t.value!==e}function uo(t,e){var n=t.value,i=t._vModifiers;if(r(i)){if(i.number)return v(n)!==v(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}var lo={create:ao,update:ao},ho=w(function(t){var e={},n=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(i);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e});function fo(t){var e=po(t.style);return t.staticStyle?M(t.staticStyle,e):e}function po(t){return Array.isArray(t)?A(t):"string"===typeof t?ho(t):t}function vo(t,e){var n,i={};if(e){var r=t;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=fo(r.data))&&M(i,n)}(n=fo(t.data))&&M(i,n);var o=t;while(o=o.parent)o.data&&(n=fo(o.data))&&M(i,n);return i}var mo,go=/^--/,_o=/\s*!important$/,yo=/([+-]?\d+(\.\d+)?)[r|u]px/g,bo=function(t){return"string"===typeof t?t.replace(yo,function(t,e){return uni.upx2px(e)+"px"}):t},wo=function(t,e,n){if(go.test(e))t.style.setProperty(e,n);else if(_o.test(n))t.style.setProperty($(e),n.replace(_o,""),"important");else{var i=So(e);if(Array.isArray(n))for(var r=0,o=n.length;r-1?e.split($o).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Oo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split($o).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Eo(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&M(e,Io(t.name||"v")),M(e,t),e}return"string"===typeof t?Io(t):void 0}}var Io=w(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),Mo=K&&!et,Ao="transition",No="animation",Po="transition",jo="transitionend",Do="animation",Lo="animationend";Mo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Po="WebkitTransition",jo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Do="WebkitAnimation",Lo="webkitAnimationEnd"));var Fo=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Ro(t){Fo(function(){Fo(t)})}function Bo(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Co(t,e))}function Vo(t,e){t._transitionClasses&&_(t._transitionClasses,e),Oo(t,e)}function Ho(t,e,n){var i=Yo(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===Ao?jo:Lo,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c0&&(n=Ao,l=a,h=o.length):e===No?u>0&&(n=No,l=u,h=c.length):(l=Math.max(a,u),n=l>0?a>u?Ao:No:null,h=n?n===Ao?o.length:c.length:0);var d=n===Ao&&zo.test(i[Po+"Property"]);return{type:n,timeout:l,propCount:h,hasTransform:d}}function Xo(t,e){while(t.length1}function Zo(t,e){!0!==e.data.show&&Uo(e)}var Qo=K?{create:Zo,activate:Zo,remove:function(t,e){!0!==t.data.show?qo(t,e):e()}}:{},Jo=[Hr,Wr,Gr,oo,lo,To,Qo],ta=Jo.concat(Rr),ea=Mr({nodeOps:Sr,modules:ta});et&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&ua(t,"input")});var na={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?be(n,"postpatch",function(){na.componentUpdated(t,e,n)}):ia(t,e,n.context),t._vOptions=[].map.call(t.options,aa)):("textarea"===n.tag||ur(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",sa),t.addEventListener("compositionend",ca),t.addEventListener("change",ca),et&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){ia(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,aa);if(r.some(function(t,e){return!D(t,i[e])})){var o=t.multiple?e.value.some(function(t){return oa(t,r)}):e.value!==e.oldValue&&oa(e.value,r);o&&ua(t,"change")}}}};function ia(t,e,n){ra(t,e,n),(tt||nt)&&setTimeout(function(){ra(t,e,n)},0)}function ra(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,c=t.options.length;s-1,a.selected!==o&&(a.selected=o);else if(D(aa(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function oa(t,e){return e.every(function(e){return!D(e,t)})}function aa(t){return"_value"in t?t._value:t.value}function sa(t){t.target.composing=!0}function ca(t){t.target.composing&&(t.target.composing=!1,ua(t.target,"input"))}function ua(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function la(t){return!t.componentInstance||t.data&&t.data.transition?t:la(t.componentInstance._vnode)}var ha={bind:function(t,e,n){var i=e.value;n=la(n);var r=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,Uo(n,function(){t.style.display=o})):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value,r=e.oldValue;if(!i!==!r){n=la(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,i?Uo(n,function(){t.style.display=t.__vOriginalDisplay}):qo(n,function(){t.style.display="none"})):t.style.display=i?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}},da={model:na,show:ha},fa={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function pa(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?pa(Sn(e.children)):t}function va(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var o in r)e[S(o)]=r[o];return e}function ma(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function ga(t){while(t=t.parent)if(t.data.transition)return!0}function _a(t,e){return e.key===t.key&&e.tag===t.tag}var ya=function(t){return t.tag||xn(t)},ba=function(t){return"show"===t.name},wa={name:"transition",props:fa,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(ya),n.length)){0;var i=this.mode;0;var r=n[0];if(ga(this.$vnode))return r;var o=pa(r);if(!o)return r;if(this._leaving)return ma(t,r);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var c=(o.data||(o.data={})).transition=va(this),u=this._vnode,l=pa(u);if(o.data.directives&&o.data.directives.some(ba)&&(o.data.show=!0),l&&l.data&&!_a(o,l)&&!xn(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var h=l.data.transition=M({},c);if("out-in"===i)return this._leaving=!0,be(h,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),ma(t,r);if("in-out"===i){if(xn(o))return u;var d,f=function(){d()};be(c,"afterEnter",f),be(c,"enterCancelled",f),be(h,"delayLeave",function(t){d=t})}}return r}}},xa=M({tag:String,moveClass:String},fa);delete xa.mode;var Sa={props:xa,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=Mn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=va(this),s=0;sMath.abs(o-e.y))if(t.scrollX){if(0===a.scrollLeft&&r>e.x)return void(n=!1);if(a.scrollWidth===a.offsetWidth+a.scrollLeft&&re.y)return void(n=!1);if(a.scrollHeight===a.offsetHeight+a.scrollTop&&on.scrollWidth-n.offsetWidth?t=n.scrollWidth-n.offsetWidth:"y"===e&&t>n.scrollHeight-n.offsetHeight&&(t=n.scrollHeight-n.offsetHeight);var i=0,r="";"x"===e?i=n.scrollLeft-t:"y"===e&&(i=n.scrollTop-t),0!==i&&(this.$refs.content.style.transition="transform .3s ease-out",this.$refs.content.style.webkitTransition="-webkit-transform .3s ease-out","x"===e?r="translateX("+i+"px) translateZ(0)":"y"===e&&(r="translateY("+i+"px) translateZ(0)"),this.$refs.content.removeEventListener("transitionend",this.__transitionEnd),this.$refs.content.removeEventListener("webkitTransitionEnd",this.__transitionEnd),this.__transitionEnd=this._transitionEnd.bind(this,t,e),this.$refs.content.addEventListener("transitionend",this.__transitionEnd),this.$refs.content.addEventListener("webkitTransitionEnd",this.__transitionEnd),"x"===e?n.style.overflowX="hidden":"y"===e&&(n.style.overflowY="hidden"),this.$refs.content.style.transform=r,this.$refs.content.style.webkitTransform=r)},_handleTrack:function(t){if("start"===t.detail.state)return this._x=t.detail.x,this._y=t.detail.y,void(this._noBubble=null);"end"===t.detail.state&&(this._noBubble=!1),null===this._noBubble&&this.scrollY&&(Math.abs(this._y-t.detail.y)/Math.abs(this._x-t.detail.x)>1?this._noBubble=!0:this._noBubble=!1),null===this._noBubble&&this.scrollX&&(Math.abs(this._x-t.detail.x)/Math.abs(this._y-t.detail.y)>1?this._noBubble=!0:this._noBubble=!1),this._x=t.detail.x,this._y=t.detail.y,this._noBubble&&t.stopPropagation()},_handleScroll:function(t){if(!(t.timeStamp-this._lastScrollTime<20)){this._lastScrollTime=t.timeStamp;var e=t.target;this.$trigger("scroll",t,{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,deltaX:this.lastScrollLeft-e.scrollLeft,deltaY:this.lastScrollTop-e.scrollTop}),this.scrollY&&(e.scrollTop<=this.upperThresholdNumber&&this.lastScrollTop-e.scrollTop>0&&t.timeStamp-this.lastScrollToUpperTime>200&&(this.$trigger("scrolltoupper",t,{direction:"top"}),this.lastScrollToUpperTime=t.timeStamp),e.scrollTop+e.offsetHeight+this.lowerThresholdNumber>=e.scrollHeight&&this.lastScrollTop-e.scrollTop<0&&t.timeStamp-this.lastScrollToLowerTime>200&&(this.$trigger("scrolltolower",t,{direction:"bottom"}),this.lastScrollToLowerTime=t.timeStamp)),this.scrollX&&(e.scrollLeft<=this.upperThresholdNumber&&this.lastScrollLeft-e.scrollLeft>0&&t.timeStamp-this.lastScrollToUpperTime>200&&(this.$trigger("scrolltoupper",t,{direction:"left"}),this.lastScrollToUpperTime=t.timeStamp),e.scrollLeft+e.offsetWidth+this.lowerThresholdNumber>=e.scrollWidth&&this.lastScrollLeft-e.scrollLeft<0&&t.timeStamp-this.lastScrollToLowerTime>200&&(this.$trigger("scrolltolower",t,{direction:"right"}),this.lastScrollToLowerTime=t.timeStamp)),this.lastScrollTop=e.scrollTop,this.lastScrollLeft=e.scrollLeft}},_scrollTopChanged:function(t){this.scrollY&&(this._innerSetScrollTop?this._innerSetScrollTop=!1:this.scrollWithAnimation?this.scrollTo(t,"y"):this.$refs.main.scrollTop=t)},_scrollLeftChanged:function(t){this.scrollX&&(this._innerSetScrollLeft?this._innerSetScrollLeft=!1:this.scrollWithAnimation?this.scrollTo(t,"x"):this.$refs.main.scrollLeft=t)},_scrollIntoViewChanged:function(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return console.group('scroll-into-view="'+t+'" 有误'),console.error("id 属性值格式错误。如不能以数字开头。"),void console.groupEnd();var e=this.$el.querySelector("#"+t);if(e){var n=this.$refs.main.getBoundingClientRect(),i=e.getBoundingClientRect();if(this.scrollX){var r=i.left-n.left,o=this.$refs.main.scrollLeft,a=o+r;this.scrollWithAnimation?this.scrollTo(a,"x"):this.$refs.main.scrollLeft=a}if(this.scrollY){var s=i.top-n.top,c=this.$refs.main.scrollTop,u=c+s;this.scrollWithAnimation?this.scrollTo(u,"y"):this.$refs.main.scrollTop=u}}}},_transitionEnd:function(t,e){this.$refs.content.style.transition="",this.$refs.content.style.webkitTransition="",this.$refs.content.style.transform="",this.$refs.content.style.webkitTransform="";var n=this.$refs.main;"x"===e?(n.style.overflowX=this.scrollX?"auto":"hidden",n.scrollLeft=t):"y"===e&&(n.style.overflowY=this.scrollY?"auto":"hidden",n.scrollTop=t),this.$refs.content.removeEventListener("transitionend",this.__transitionEnd),this.$refs.content.removeEventListener("webkitTransitionEnd",this.__transitionEnd)},getScrollPosition:function(){var t=this.$refs.main;return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}}},u=c,l=(n("5ab3"),n("0c7c")),h=Object(l["a"])(u,i,r,!1,null,null,null);e["default"]=h.exports},f28c:function(t,e){var n,i,r=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}function c(t){if(i===clearTimeout)return clearTimeout(t);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{return i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(t){n=o}try{i="function"===typeof clearTimeout?clearTimeout:a}catch(t){i=a}})();var u,l=[],h=!1,d=-1;function f(){h&&u&&(h=!1,u.length?l=u.concat(l):d=-1,l.length&&p())}function p(){if(!h){var t=s(f);h=!0;var e=l.length;while(e){u=l,l=[];while(++d1)for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{};t.publishHandler(i["b"],{data:{method:e,args:n},options:{timestamp:Date.now()}})}function o(t){r("navigateTo",t)}function a(t){r("navigateBack",t)}function s(t){r("reLaunch",t)}function c(t){r("redirectTo",t)}function u(t){r("switchTab",t)}}).call(this,n("501c"))},f50a:function(t,e,n){"use strict";(function(t){var i=n("a20d"),r=!1,o=function(t){var e=t.htmlId,n=plus.webview.currentWebview(),i={"uni-app":"none"},o=n.getTitleNView();o&&(plus.navigator.isImmersedStatusbar()?i.top=44+plus.navigator.getStatusbarHeight():i.top=44,i.bottom=0),r=plus.webview.create("",e,i),o&&r.addEventListener("titleUpdate",function(){var t=r.getTitle();n.setStyle({titleNView:{titleText:t&&"null"!==t?t:""}})}),plus.webview.currentWebview().append(r)},a=function(t){t.htmlId;var e=t.src,n=t.webviewStyles,i=e||"";i&&(/^(http|https):\/\//.test(i)&&n.progress&&r.setStyle({progress:{color:n.progress.color}}),r.loadURL(i))},s=function(){plus.webview.currentWebview().remove(r),r.close("none"),r=!1};e["a"]={name:"WebView",props:{src:{type:String,default:""},webviewStyles:{type:Object,default:function(){return{}}}},watch:{src:function(t,e){r&&a({src:this.$getRealPath(t),webviewStyles:this.webviewStyles})}},mounted:function(){this.htmlId="webviewId"+this.$page.id,o({htmlId:this.htmlId}),a({src:this.$getRealPath(this.src),webviewStyles:this.webviewStyles}),t.publishHandler(i["j"],{},this.$page.id)},beforeDestroy:function(){s(),t.publishHandler(i["l"],{},this.$page.id)}}}).call(this,n("501c"))},f53a:function(t,e,n){"use strict";var i=n("4871"),r=n.n(i);r.a},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(i){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},f7fd:function(t,e,n){"use strict";var i=n("ac9d"),r=n.n(i);r.a},fae3:function(t,e,n){"use strict";var i;(n.r(e),"undefined"!==typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));var r=n("634a");n.d(e,"upx2px",function(){return r["h"]}),n.d(e,"getSystemInfoSync",function(){return r["b"]}),n.d(e,"canIUse",function(){return r["a"]}),n.d(e,"navigateTo",function(){return r["d"]}),n.d(e,"navigateBack",function(){return r["c"]}),n.d(e,"reLaunch",function(){return r["e"]}),n.d(e,"redirectTo",function(){return r["f"]}),n.d(e,"switchTab",function(){return r["g"]})},fb61:function(t,e,n){"use strict";var i=n("90c9"),r=n.n(i);r.a},fcd8:function(t,e,n){}})}); \ No newline at end of file +(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["uni"]=e(require("vue")):t["uni"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s="fae3")}({"01ab":function(t,e,i){},"03df":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-web-view",t._g({},t.$listeners))},r=[],o=i("ed56"),s=o["a"],a=(i("2df3"),i("2877")),c=Object(a["a"])(s,n,r,!1,null,null,null);e["default"]=c.exports},"0516":function(t,e,i){"use strict";(function(t,n){i.d(e,"a",(function(){return d}));var r=i("f2b3"),o=i("33ed"),s=i("2522"),a=i("a20d"),c=!!r["i"]&&{passive:!1};function u(e){var i=e.windowTop,n=e.windowBottom;if(t.__WINDOW_TOP=i,t.__WINDOW_BOTTOM=n,uni.canIUse("css.var")){var r=document.documentElement.style;r.setProperty("--window-top",i+"px"),r.setProperty("--window-bottom",n+"px"),r.setProperty("--status-bar-height",plus.navigator.getStatusbarHeight()+"px")}}function l(t,e){var i=t.windowTop,n=t.windowBottom,r=t.disableScroll,s=t.onPageScroll,a=t.onPageReachBottom,l=t.onReachBottomDistance;u({windowTop:i,windowBottom:n}),r?document.addEventListener("touchmove",o["b"],c):(s||a)&&requestAnimationFrame((function(){document.addEventListener("scroll",Object(o["a"])(e,{enablePageScroll:s,enablePageReachBottom:a,onReachBottomDistance:l}))}))}function h(){n.publishHandler("webviewReady")}function d(t){t(a["k"],h),t(s["a"],l)}}).call(this,i("c8ba"),i("501c"))},"0741":function(t,e,i){"use strict";var n=i("3c79"),r=i.n(n);r.a},"0998":function(t,e,i){"use strict";var n=i("927d"),r=i.n(n);r.a},"0aa0":function(t,e,i){"use strict";e["a"]={name:"Native",data:function(){return{position:{top:"0px",left:"0px",width:"0px",height:"0px",position:"static"},hidden:!1}},created:function(){this.isNative=!0,this.onCanInsertCallbacks=[]},mounted:function(){var t=this;this._updatePosition(),this.$nextTick((function(){t.onCanInsertCallbacks.forEach((function(t){return t()}))})),this.$on("uni-view-update",this._requestPositionUpdate)},methods:{_updatePosition:function(){var t=this,e=(this.$refs.container||this.$el).getBoundingClientRect();this.hidden=0===e.width||0===e.height,this.hidden||["top","left","width","height"].forEach((function(i){var n=e[i];n="top"===i?n+(document.documentElement.scrollTop||document.body.scrollTop||0):n,t.position[i]=n+"px"}))},_requestPositionUpdate:function(){var t=this;this._positionUpdateRequest&&cancelAnimationFrame(this._positionUpdateRequest),this._positionUpdateRequest=requestAnimationFrame((function(){delete t._positionUpdateRequest,t._updatePosition()}))}}}},"0f55":function(t,e,i){"use strict";var n=i("2190"),r=i.n(n);r.a},1082:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-image",t._g({},t.$listeners),[i("div",{ref:"content",style:t.modeStyle}),i("img",{attrs:{src:t.realImagePath}}),"widthFix"===t.mode?i("v-uni-resize-sensor",{ref:"sensor",on:{resize:t._resize}}):t._e()],1)},r=[];function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}var s={name:"Image",props:{src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1}},data:function(){return{originalWidth:0,originalHeight:0,availHeight:"",sizeFixed:!1}},computed:{ratio:function(){return this.originalWidth&&this.originalHeight?this.originalWidth/this.originalHeight:0},realImagePath:function(){return this.src&&this.$getRealPath(this.src)},modeStyle:function(){var t="auto",e="",i="no-repeat";switch(this.mode){case"aspectFit":t="contain",e="center center";break;case"aspectFill":t="cover",e="center center";break;case"widthFix":t="100% 100%";break;case"top":e="center top";break;case"bottom":e="center bottom";break;case"center":e="center center";break;case"left":e="left center";break;case"right":e="right center";break;case"top left":e="left top";break;case"top right":e="right top";break;case"bottom left":e="left bottom";break;case"bottom right":e="right bottom";break;default:t="100% 100%",e="0% 0%";break}return"background-position:".concat(e,";background-size:").concat(t,";background-repeat:").concat(i,";")}},watch:{src:function(t,e){this._setContentImage(),this._loadImage()},mode:function(t,e){"widthFix"===e&&(this.$el.style.height=this.availHeight,this.sizeFixed=!1),"widthFix"===t&&this.ratio&&this._fixSize()}},mounted:function(){this.availHeight=this.$el.style.height||"",this._setContentImage(),this.realImagePath&&this._loadImage()},methods:{_resize:function(){"widthFix"!==this.mode||this.sizeFixed||this._fixSize()},_fixSize:function(){var t=this._getWidth();if(t){var e=t/this.ratio;("undefined"===typeof navigator||o(navigator))&&"Google Inc."===navigator.vendor&&e>10&&(e=2*Math.round(e/2)),this.$el.style.height=e+"px",this.sizeFixed=!0}},_setContentImage:function(){this.$refs.content.style.backgroundImage=this.src?"url(".concat(this.realImagePath,")"):"none"},_loadImage:function(){var t=this,e=new Image;e.onload=function(e){t.originalWidth=this.width,t.originalHeight=this.height,"widthFix"===t.mode&&t._fixSize(),t.$trigger("load",e,{width:this.width,height:this.height})},e.onerror=function(e){t.$trigger("error",e,{errMsg:"GET ".concat(t.src," 404 (Not Found)")})},e.src=this.realImagePath},_getWidth:function(){var t=window.getComputedStyle(this.$el),e=(parseFloat(t.borderLeftWidth,10)||0)+(parseFloat(t.borderRightWidth,10)||0),i=(parseFloat(t.paddingLeft,10)||0)+(parseFloat(t.paddingRight,10)||0);return this.$el.offsetWidth-e-i}}},a=s,c=(i("db18"),i("2877")),u=Object(c["a"])(a,n,r,!1,null,null,null);e["default"]=u.exports},1307:function(t,e,i){},1364:function(t,e,i){"use strict";(function(t){function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var i=0;i should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")}}},c=a,u=(i("f7fd"),i("2877")),l=Object(u["a"])(c,n,r,!1,null,null,null);e["default"]=l.exports},"18fd":function(t,e,i){"use strict";i.d(e,"a",(function(){return d}));var n=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,r=/^<\/([-A-Za-z0-9_]+)[^>]*>/,o=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,s=f("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),a=f("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=f("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=f("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),l=f("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),h=f("script,style");function d(t,e){var i,d,f,p=[],m=t;p.last=function(){return this[this.length-1]};while(t){if(d=!0,p.last()&&h[p.last()])t=t.replace(new RegExp("([\\s\\S]*?)]*>"),(function(t,i){return i=i.replace(/|/g,"$1$2"),e.chars&&e.chars(i),""})),_("",p.last());else if(0==t.indexOf("\x3c!--")?(i=t.indexOf("--\x3e"),i>=0&&(e.comment&&e.comment(t.substring(4,i)),t=t.substring(i+3),d=!1)):0==t.indexOf("=0;n--)if(p[n]==i)break}else var n=0;if(n>=0){for(var r=p.length-1;r>=n;r--)e.end&&e.end(p[r]);p.length=n}}_()}function f(t){for(var e={},i=t.split(","),n=0;n*{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(a["b"])({disable:!0});break;case"move":this._handleTouchMove(t);break;case"end":case"cancel":this._handleTouchEnd(t),Object(a["b"])({disable:!1})}},_handleTap:function(t){var e=t.clientY;if(!this._scroller.isScrolling()){var i=this.$el.getBoundingClientRect(),n=e-i.top-this.height/2,r=this.indicatorHeight/2;if(!(Math.abs(n)<=r)){var o=Math.ceil((Math.abs(n)-r)/this.indicatorHeight),s=n<0?-o:o,a=Math.min(this.current+s,this.length-1);this.current=a=Math.max(a,0),this._scroller.scrollTo(a*this.indicatorHeight)}}},_handleWheel:function(t){var e=this.deltaY+t.deltaY;if(Math.abs(e)>10){this.deltaY=0;var i=Math.min(this.current+(e<0?-1:1),this.length-1);this.current=i=Math.max(i,0),this._scroller.scrollTo(i*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 s["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}},[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])])])}},d=h,f=(i("edfa"),i("2877")),p=Object(f["a"])(d,u,l,!1,null,null,null);e["default"]=p.exports},"1b6f":function(t,e,i){"use strict";(function(t){var n=i("f2b3");e["a"]={mounted:function(){var t=this;this._toggleListeners("subscribe",this.id),this.$watch("id",(function(e,i){t._toggleListeners("unsubscribe",i,!0),t._toggleListeners("subscribe",e,!0)}))},beforeDestroy:function(){this._toggleListeners("unsubscribe",this.id),this._contextId&&this._toggleListeners("unsubscribe",this._contextId)},methods:{_toggleListeners:function(e,i,r){r&&!i||Object(n["e"])(this._handleSubscribe)&&t[e](this.$page.id+"-"+this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase()+"-"+i,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,i("501c"))},"1c64":function(t,e,i){"use strict";var n=i("60ee"),r=i.n(n);r.a},"1e88":function(t,e,i){"use strict";function n(){return{top:0,bottom:0}}i.d(e,"a",(function(){return n}))},"1efd":function(t,e,i){"use strict";i.r(e);var n=i("8bbf"),r=i.n(n);function o(t,e){if(e){if(0===e.indexOf("/"))return e}else{if(e=t,0===e.indexOf("/"))return e;var i=getCurrentPages();t=i.length?i[i.length-1].$page.route:""}if(0===e.indexOf("./"))return o(t,e.substr(2));for(var n=e.split("/"),r=n.length,s=0;s0?t.split("/"):[];return a.splice(a.length-s-1,s+1),"/"+a.concat(n).join("/")}var s,a=/^([a-z-]+:)?\/\//i,c=/^data:.*,.*/;function u(t){return plus.io.convertLocalFileSystemURL(t).replace(/^\/?apps\//,"/android_asset/apps/").replace(/\/$/,"")}function l(t){return s||(s="file://"+u("_www")+"/"),s+t}function h(t){if(0===t.indexOf("/")){if(0!==t.indexOf("//"))return l(t.substr(1));t="https:"+t}if(a.test(t)||c.test(t)||0===t.indexOf("blob:"))return t;if(0===t.indexOf("_www")||0===t.indexOf("_do"))return"file://"+u(t);var e=getCurrentPages();return e.length?l(o(e[e.length-1].$page.route,t).substr(1)):t}var d=i("d4b6"),f={methods:{$getRealPath:function(t){return h(t)},$trigger:function(t,e,i){this.$emit(t,d["b"].call(this,t,e,i,this.$el,this.$el))}}};function p(t){return v(t)||g(t)||m()}function m(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function g(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function v(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e=0&&(s.length=1),u.push("".concat(o,"(").concat(s.join(","),")"));else if(n.concat(r).includes(s[0])){o=s[0];var a=s[1];c[o]=r.includes(o)?_(a):a}})),c.transform=c.webkitTransform=u.join(" "),c.transition=c.webkitTransition=Object.keys(c).map((function(t){return"".concat(b(t)," ").concat(a.duration,"ms ").concat(a.timingFunction," ").concat(a.delay,"ms")})).join(","),c.transformOrigin=c.webkitTransformOrigin=s.transformOrigin,c}function w(t){var e=t.animation;if(e&&e.actions&&e.actions.length){var i=0,n=e.actions,r=e.actions.length;o()}function o(){var e=n[i],s=e.option.transition,a=y(e);Object.keys(a).forEach((function(e){t.$el.style[e]=a[e]})),i+=1,i0&&void 0!==arguments[0]?arguments[0]:{};t.$trigger(i,{},e)}))}))},beforeDestroy:function(){this.video&&this.video.close(),delete this.video},methods:{_handleSubscribe:function(t){var e=t.type,i=t.data,n=void 0===i?{}:i;if(c.includes(e)){if("object"===a(n))switch(e){case"seek":n=n.position;break;case"playbackRate":n=n.rate;break}this.video&&this.video[e](n)}}}},d=h,f=(i("7f2f"),i("2877")),p=Object(f["a"])(d,n,r,!1,null,null,null);e["default"]=p.exports},2190:function(t,e,i){},"21c3":function(t,e,i){"use strict";var n=i("2937"),r=i.n(n);r.a},2376:function(t,e,i){"use strict";i.d(e,"a",(function(){return o})),i.d(e,"b",(function(){return s}));var n=i("f2b3"),r=Object.create(null);function o(t,e){r[t]=e}var s=Object(n["a"])((function(t){return r[t]()}))},"250d":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-input",t._g({on:{change:function(t){t.stopPropagation()}}},t.$listeners),[i("div",{ref:"wrapper",staticClass:"uni-input-wrapper"},[i("div",{directives:[{name:"show",rawName:"v-show",value:!(t.composing||t.inputValue.length),expression:"!(composing || inputValue.length)"}],ref:"placeholder",staticClass:"uni-input-placeholder",class:t.placeholderClass,style:t.placeholderStyle},[t._v(t._s(t.placeholder))]),"checkbox"===t.inputType?i("input",{directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t.step,autocomplete:"off",type:"checkbox"},domProps:{checked:Array.isArray(t.inputValue)?t._i(t.inputValue,null)>-1:t.inputValue},on:{focus:t._onFocus,blur:t._onBlur,input:function(e){return e.stopPropagation(),t._onInput(e)},compositionstart:t._onComposition,compositionend:t._onComposition,keyup:function(e){return e.stopPropagation(),t._onKeyup(e)},change:function(e){var i=t.inputValue,n=e.target,r=!!n.checked;if(Array.isArray(i)){var o=null,s=t._i(i,o);n.checked?s<0&&(t.inputValue=i.concat([o])):s>-1&&(t.inputValue=i.slice(0,s).concat(i.slice(s+1)))}else t.inputValue=r}}}):"radio"===t.inputType?i("input",{directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t.step,autocomplete:"off",type:"radio"},domProps:{checked:t._q(t.inputValue,null)},on:{focus:t._onFocus,blur:t._onBlur,input:function(e){return e.stopPropagation(),t._onInput(e)},compositionstart:t._onComposition,compositionend:t._onComposition,keyup:function(e){return e.stopPropagation(),t._onKeyup(e)},change:function(e){t.inputValue=null}}}):i("input",{directives:[{name:"model",rawName:"v-model",value:t.inputValue,expression:"inputValue"}],ref:"input",staticClass:"uni-input-input",attrs:{disabled:t.disabled,maxlength:t.maxlength,step:t.step,autocomplete:"off",type:t.inputType},domProps:{value:t.inputValue},on:{focus:t._onFocus,blur:t._onBlur,input:[function(e){e.target.composing||(t.inputValue=e.target.value)},function(e){return e.stopPropagation(),t._onInput(e)}],compositionstart:t._onComposition,compositionend:t._onComposition,keyup:function(e){return e.stopPropagation(),t._onKeyup(e)}}})])])},r=[],o=i("8af1"),s=["text","number","idcard","digit","password"],a=["number","digit"],c={name:"Input",mixins:[o["a"],o["c"]],model:{prop:"value",event:"update:value"},props:{name:{type:String,default:""},value:{type:[String,Number],default:""},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},maxlength:{type:[Number,String],default:140},focus:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"done"}},data:function(){return{inputValue:this.value+"",composing:!1,wrapperHeight:0,cachedValue:""}},computed:{inputType:function(){var t="";switch(this.type){case"text":"search"===this.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~s.indexOf(this.type)?this.type:"text";break}return this.password?"password":t},step:function(){return~a.indexOf(this.type)?"0.000000000000000001":""}},watch:{focus:function(t){t&&this._focusInput()},value:function(t){this.inputValue=t+""},inputValue:function(t){this.$emit("update:value",t)},maxlength:function(t){var e=this.inputValue.slice(0,parseInt(t,10));e!==this.inputValue&&(this.inputValue=e)}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){if("search"===this.confirmType){var t=document.createElement("form");t.action="",t.onsubmit=function(){return!1},t.className="uni-input-form",t.appendChild(this.$refs.input),this.$refs.wrapper.appendChild(t)}var e=this;while(e){var i=e.$options._scopeId;i&&this.$refs.placeholder.setAttribute(i,""),e=e.$parent}this.initKeyboard(this.$refs.input),this.focus&&this._focusInput()},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onKeyup:function(t){13===t.keyCode&&this.$trigger("confirm",t,{value:t.target.value})},_onInput:function(t){if(!this.composing){if(~a.indexOf(this.type)){if(this.$refs.input.validity&&!this.$refs.input.validity.valid)return t.target.value=this.cachedValue,void(this.inputValue=t.target.value);this.cachedValue=this.inputValue}if("number"===this.inputType){var e=parseInt(this.maxlength,10);if(e>0&&t.target.value.length>e)return t.target.value=t.target.value.slice(0,e),void(this.inputValue=t.target.value)}this.$trigger("input",t,{value:this.inputValue})}},_onFocus:function(t){this.$trigger("focus",t,{value:t.target.value})},_onBlur:function(t){this.$trigger("blur",t,{value:t.target.value})},_focusInput:function(){var t=this;setTimeout((function(){t.$refs.input.focus()}),350)},_blurInput:function(){var t=this;setTimeout((function(){t.$refs.input.blur()}),350)},_onComposition:function(t){"compositionstart"===t.type?this.composing=!0:this.composing=!1},_resetFormData:function(){this.inputValue=""},_getFormData:function(){return this.name?{value:this.inputValue,key:this.name}:{}}}},u=c,l=(i("0f55"),i("2877")),h=Object(l["a"])(u,n,r,!1,null,null,null);e["default"]=h.exports},2522:function(t,e,i){"use strict";i.d(e,"a",(function(){return n}));var n="onPageCreate"},"25ce":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-checkbox-group",t._g({},t.$listeners),[t._t("default")],2)},r=[],o=i("8af1"),s={name:"CheckboxGroup",mixins:[o["a"],o["d"]],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}}},a=s,c=(i("0998"),i("2877")),u=Object(c["a"])(a,n,r,!1,null,null,null);e["default"]=u.exports},"27ab":function(t,e,i){"use strict";function n(t){return s(t)||o(t)||r()}function r(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function o(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function s(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e0&&t>e&&i+e+c>=t,r=Math.abs(t-a)>c;return!n||h&&!r?(!n&&h&&(h=!1),!1):(a=t,h=!0,!0)}function p(){var i=getCurrentPages();if(i.length&&i[i.length-1].$page.id===e){var a=window.pageYOffset;o&&Object(r["a"])("onPageScroll",{scrollTop:a},e),u&&t.emit("onPageScroll",{scrollTop:a}),s&&d&&(c()||(n=setTimeout(c,300))),l=!1}function c(){if(f())return Object(r["a"])("onReachBottom",{},e),d=!1,setTimeout((function(){d=!0}),350),!0}}return function(){clearTimeout(n),l||requestAnimationFrame(p),l=!0}}}).call(this,i("501c"))},"39ba":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-cover-view",t._g({},t.$listeners),[i("div",{ref:"container",staticClass:"uni-cover-view"})])},r=[],o=i("0aa0"),s=i("5077"),a={name:"CoverView",mixins:[o["a"],s["a"]],props:{},data:function(){return{coverType:"text",coverContent:""}},watch:{},mounted:function(){this._updateContent(),this.$watch("$slot",this._updateContent)},methods:{_updateContent:function(t){var e=this,i=this.$slots.default||[];i.forEach((function(t){t.tag||(e.coverContent+=t.text||"")}))}}},c=a,u=(i("4ba9"),i("2877")),l=Object(u["a"])(c,n,r,!1,null,null,null);e["default"]=l.exports},"3c47":function(t,e,i){"use strict";(function(t){var n=i("8af1");e["a"]={name:"Label",mixins:[n["a"]],props:{for:{type:String,default:""}},methods:{_onClick:function(e){var i=/^uni-(checkbox|radio|switch)-/.test(e.target.className);i||(i=/^uni-(checkbox|radio|switch|button)$/i.test(e.target.tagName)),i||(this.for?t.emit("uni-label-click-"+this.$page.id+"-"+this.for,e,!0):this.$broadcast(["Checkbox","Radio","Switch","Button"],"uni-label-click",e,!0))}}}}).call(this,i("501c"))},"3c79":function(t,e,i){},"3e4d":function(t,e,i){"use strict";(function(t){var n=i("8af1"),r=i("18fd"),o=i("b253");function s(t){return s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}e["a"]={name:"Editor",mixins:[n["e"],n["a"],n["c"]],props:{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}},data:function(){return{quillReady:!1}},computed:{},watch:{readOnly:function(t){if(this.quillReady){var e=this.quill;e.enable(!t),t||e.blur()}},placeholder:function(t){this.quillReady&&this.quill.root.setAttribute("data-placeholder",t)}},mounted:function(){var t=this,e=[];this.showImgSize&&e.push("DisplaySize"),this.showImgToolbar&&e.push("Toolbar"),this.showImgResize&&e.push("Resize"),this.loadQuill((function(){e.length?t.loadImageResizeModule((function(){t.initQuill(e)})):t.initQuill(e)}))},methods:{_handleSubscribe:function(e){var i,n,r,o=e.type,a=e.data,c=a.options,u=a.callbackId,l=this.quill,h=window.Quill;if(this.quillReady)switch(o){case"format":var d=c.name,f=void 0===d?"":d,p=c.value,m=void 0!==p&&p;n=l.getSelection(!0);var g=l.getFormat(n)[f]||!1;if(["bold","italic","underline","strike","ins"].includes(f))m=!g;else if("direction"===f){m=("rtl"!==m||!g)&&m;var v=l.getFormat(n).align;"rtl"!==m||v?m||"right"!==v||l.format("align",!1,h.sources.USER):l.format("align","right",h.sources.USER)}else if("indent"===f){var _="rtl"===l.getFormat(n).direction;m="+1"===m,_&&(m=!m),m=m?"+1":"-1"}else"list"===f&&(m="check"===m?"unchecked":m,g="checked"===g?"unchecked":g),m=g&&g!==(m||!1)||!g&&m?m:!g;l.format(f,m,h.sources.USER);break;case"insertDivider":n=l.getSelection(!0),l.insertText(n.index,"\n",h.sources.USER),l.insertEmbed(n.index+1,"divider",!0,h.sources.USER),l.setSelection(n.index+2,h.sources.SILENT);break;case"insertImage":n=l.getSelection(!0);var b=c.src,y=void 0===b?"":b,w=c.alt,S=void 0===w?"":w,x=c.data,k=void 0===x?{}:x;l.insertEmbed(n.index,"image",this.$getRealPath(y),h.sources.USER),l.formatText(n.index,1,"alt",S),l.formatText(n.index,1,"data-custom",Object.keys(k).map((function(t){return"".concat(t,"=").concat(k[t])})).join("&")),l.setSelection(n.index+1,h.sources.SILENT);break;case"insertText":n=l.getSelection(!0);var T=c.text,$=void 0===T?"":T;l.insertText(n.index,$,h.sources.USER),l.setSelection(n.index+$.length,0,h.sources.SILENT);break;case"setContents":var C=c.delta,E=c.html;"object"===s(C)?l.setContents(C,h.sources.SILENT):"string"===typeof E?l.setContents(this.html2delta(E),h.sources.SILENT):r="contents is missing";break;case"getContents":i=this.getContents();break;case"clear":l.setContents([]);break;case"removeFormat":n=l.getSelection(!0);var O=h.import("parchment");n.length?l.removeFormat(n,h.sources.USER):Object.keys(l.getFormat(n)).forEach((function(t){O.query(t,O.Scope.INLINE)&&l.format(t,!1)}));break;case"undo":l.history.undo();break;case"redo":l.history.redo();break;default:break}else r="not ready";u&&t.publishHandler("onEditorMethodCallback",{callbackId:u,data:Object.assign({},i,{errMsg:"".concat(o,":").concat(r?"fail "+r:"ok")})},this.$page.id)},loadQuill:function(t){if("function"!==typeof window.Quill){var e=document.createElement("script");e.src=window.plus?"./__uniappquill.js":"https://unpkg.com/quill@1.3.7/dist/quill.min.js",document.body.appendChild(e),e.onload=t}else"function"===typeof t&&t()},loadImageResizeModule:function(t){if("function"!==typeof window.ImageResize){var e=document.createElement("script");e.src=window.plus?"./__uniappquillimageresize.js":"https://unpkg.com/quill-image-resize-mp@3.0.1/image-resize.min.js",document.body.appendChild(e),e.onload=t}else"function"===typeof t&&t()},initQuill:function(t){var e=this,i=window.Quill;i.register("modules/ImageResize",window.ImageResize.default),o["a"](i);var n=this.quill=new i(this.$el,{toolbar:!1,readOnly:this.readOnly,placeholder:this.placeholder,modules:{ImageResize:{modules:t}}}),r=n.root,s=["focus","blur"];s.forEach((function(t){r.addEventListener(t,(function(i){e.$trigger(t,i,e.getContents())}))})),n.on(i.events.TEXT_CHANGE,(function(){e.$trigger("input",{},e.getContents())})),n.clipboard.addMatcher(Node.ELEMENT_NODE,(function(t,i){return e.skipMatcher?i:{ops:i.ops.filter((function(t){var e=t.insert;return"string"===typeof e})).map((function(t){var e=t.insert;return{insert:e}}))}})),this.initKeyboard(r),this.quillReady=!0,this.$trigger("ready",event,{})},getContents:function(){var t=this.quill,e=t.root.innerHTML,i=t.getText(),n=t.getContents();return{html:e,text:i,delta:n}},html2delta:function(t){var e,i=["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"],n="";Object(r["a"])(t,{start:function(t,r,o){if(i.includes(t)){e=!1;var s=r.map((function(t){var e=t.name,i=t.value;return"".concat(e,'="').concat(i,'"')})).join(" "),a="<".concat(t," ").concat(s," ").concat(o?"/":"",">");n+=a}else e=!o},end:function(t){e||(n+=""))},chars:function(t){e||(n+=t)}}),this.skipMatcher=!0;var o=this.quill.clipboard.convert(n);return this.skipMatcher=!1,o}}}}).call(this,i("501c"))},"3e5d":function(t,e,i){"use strict";(function(t){i.d(e,"b",(function(){return r})),i.d(e,"a",(function(){return T}));var n,r,o,s=i("8bbf"),a=i.n(s),c=i("a20d"),u=i("2522"),l=i("9d20"),h=i("9856"),d=i("2376");function f(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function p(t,e){return v(t)||g(t,e)||m()}function m(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function g(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var i=[],n=!0,r=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done);n=!0)if(i.push(s.value),e&&i.length===e)break}catch(c){r=!0,o=c}finally{try{n||null==a["return"]||a["return"]()}finally{if(r)throw o}}return i}}function v(t){if(Array.isArray(t))return t}var _=(n={},f(n,c["d"],(function(e){var i=p(e,3),n=i[0],s=i[1],a=i[2];document.title="".concat(s,"[").concat(n,"]"),Object(h["b"])(n,s),t.subscribeHandler(u["a"],a,n),o=Object(d["b"])(s),r=new l["a"](n)})),f(n,c["c"],(function(t){r.addVData.apply(r,t)})),f(n,c["g"],(function(t){r.updateVData.apply(r,t)})),f(n,c["e"],(function(t){var e=p(t,2),i=e[0],n=e[1],r=getCurrentPages()[0];r.$vm=new o({mpType:"page",pageId:i,pagePath:n}).$mount("#app")})),n);function b(t,e,i){for(var n=arguments.length,r=new Array(n>3?n-3:0),o=3;o").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")),t}},render:function(t){var e=this,i=[];return this.$slots.default&&this.$slots.default.forEach((function(n){if(n.text){var r=n.text.replace(/\\n/g,"\n"),o=r.split("\n");o.forEach((function(n,r){i.push(e._decodeHtml(n)),r!==o.length-1&&i.push(t("br"))}))}else n.componentOptions&&"v-uni-text"!==n.componentOptions.tag&&console.warn(" 组件内只支持嵌套 ,不支持其它组件或自定义组件,否则会引发在不同平台的渲染差异。"),i.push(n)})),t("uni-text",{on:this.$listeners,attrs:{selectable:!!this.selectable}},[t("span",{},i)])}},a=s,c=(i("c8ed"),i("2877")),u=Object(c["a"])(a,n,r,!1,null,null,null);e["default"]=u.exports},"4e0b":function(t,e,i){},"4f1c":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-switch",t._g({on:{click:t._onClick}},t.$listeners),[i("div",{staticClass:"uni-switch-wrapper"},[i("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"}}),i("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}})])])},r=[],o=i("8af1"),s={name:"Switch",mixins:[o["a"],o["d"]],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}}},a=s,c=(i("a5ec"),i("2877")),u=Object(c["a"])(a,n,r,!1,null,null,null);e["default"]=u.exports},"501c":function(t,e,i){"use strict";i.r(e);var n=i("8bbf"),r=i.n(n),o=i("6bdf"),s=i("5dc1"),a={requestComponentInfo:o["a"],requestComponentObserver:s["b"],destroyComponentObserver:s["a"]},c=i("33ed"),u=i("7107"),l=i("0516");function h(t){Object.keys(a).forEach((function(e){t(e,a[e])})),t("pageScrollTo",c["c"]),t("loadFontFace",u["a"]),Object(l["a"])(t)}var d=i("5bb5");i.d(e,"on",(function(){return p})),i.d(e,"off",(function(){return m})),i.d(e,"once",(function(){return g})),i.d(e,"emit",(function(){return v})),i.d(e,"subscribe",(function(){return _})),i.d(e,"unsubscribe",(function(){return b})),i.d(e,"subscribeHandler",(function(){return y})),i.d(e,"publishHandler",(function(){return d["a"]}));var f=new r.a,p=f.$on.bind(f),m=f.$off.bind(f),g=f.$once.bind(f),v=f.$emit.bind(f);function _(t,e){return p("service."+t,e)}function b(t,e){return m("service."+t,e)}function y(t,e,i){v("service."+t,e,i)}h(_)},5077:function(t,e,i){"use strict";var n=["padding","borderRadius","borderColor","borderWidth","backgroundColor"],r=["color","textAlign","lineHeight","fontSize","fontWeight","textOverflow","whiteSpace"],o=[],s={start:"left",end:"right"},a=0;e["a"]={name:"Cover",data:function(){return{style:{}}},computed:{viewPosition:function(){var t={};for(var e in this.position){var i=this.position[e],n=parseFloat(i),r=parseFloat(this.$parent.position[e]);if("top"===e||"left"===e)i=Math.max(n,r)+"px";else if("width"===e||"height"===e){var o="left",s=parseFloat(this.$parent.position[o]),a=parseFloat(this.position[o]),c=Math.max(s-a,0),u=Math.max(a+n-(s+r),0);i=Math.max(n-c-u,0)+"px"}t[e]=i}return t},tags:function(){var t=this._getTagPosition(),e=this.style;return[{tag:"rect",position:t,rectStyles:{color:e.backgroundColor,radius:e.borderRadius,borderColor:e.borderColor,borderWidth:e.borderWidth}},"image"===this.coverType?{tag:"img",position:t,src:this.coverContent}:{tag:"font",position:t,textStyles:{align:s[e.textAlign]||e.textAlign,color:e.color,decoration:"none",lineSpacing:parseFloat(e.lineHeight)-parseFloat(e.fontSize)+"px",margin:e.padding,overflow:e.textOverflow,size:e.fontSize,verticalAlign:"top",weight:e.fontWeight,whiteSpace:e.whiteSpace},text:this.coverContent}]}},mounted:function(){var t=this;this._updateStyle();var e=this.$parent;e.isNative&&(e._isMounted?this._onCanInsert():e.onCanInsertCallbacks.push((function(){t._onCanInsert()})),this.$watch("hidden",(function(e){t.cover&&t.cover[e?"hide":"show"]()})),this.$watch("viewPosition",(function(e){t.cover&&t.cover.setStyle(e)}),{deep:!0}),this.$watch("tags",(function(){var e=t.cover;e&&(e.reset(),e.draw(t.tags))}),{deep:!0}),this.$on("uni-view-update",this._requestStyleUpdate))},beforeDestroy:function(){this.$parent.isNative&&(this.cover&&this.cover.close(),delete this.cover)},methods:{_onCanInsert:function(){var t=this,e=this.cover=new plus.nativeObj.View("cover-".concat(Date.now(),"-").concat(a++),this.viewPosition,this.tags);plus.webview.currentWebview().append(e),this.hidden&&e.hide(),e.addEventListener("click",(function(){t.$trigger("click",{},{})}))},_getTagPosition:function(){var t={};for(var e in this.position){var i=this.position[e];"top"!==e&&"left"!==e||(i=Math.min(parseFloat(i)-parseFloat(this.$parent.position[e]),0)+"px"),t[e]=i}return t},_updateStyle:function(){var t=this,e=getComputedStyle(this.$el);n.concat(r,o).forEach((function(i){t.style[i]=e[i]}))},_requestStyleUpdate:function(){var t=this;this._styleUpdateRequest&&cancelAnimationFrame(this._styleUpdateRequest),this._styleUpdateRequest=requestAnimationFrame((function(){delete t._styleUpdateRequest,t._updateStyle()}))}}}},5129:function(t,e){t.exports=["uni-app","uni-tabbar","uni-page","uni-page-head","uni-page-wrapper","uni-page-body","uni-page-refresh","uni-actionsheet","uni-modal","uni-toast","uni-resize-sensor","uni-shadow-root","uni-ad","uni-audio","uni-button","uni-camera","uni-canvas","uni-checkbox","uni-checkbox-group","uni-cover-image","uni-cover-view","uni-editor","uni-form","uni-functional-page-navigator","uni-icon","uni-image","uni-input","uni-label","uni-live-player","uni-live-pusher","uni-map","uni-movable-area","uni-movable-view","uni-navigator","uni-official-account","uni-open-data","uni-picker","uni-picker-view","uni-picker-view-column","uni-progress","uni-radio","uni-radio-group","uni-rich-text","uni-scroll-view","uni-slider","uni-swiper","uni-swiper-item","uni-switch","uni-text","uni-textarea","uni-video","uni-view","uni-web-view"]},"515d":function(t,e,i){},5363:function(t,e,i){"use strict";function n(t){this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}i.d(e,"a",(function(){return n})),n.prototype.set=function(t,e){this._x=t,this._v=e,this._startTime=(new Date).getTime()},n.prototype.setVelocityByEnd=function(t){this._v=(t-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)},n.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},n.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},n.prototype.done=function(){return Math.abs(this.dx())<3},n.prototype.reconfigure=function(t){var e=this.x(),i=this.dx();this._drag=t,this._dragLog=Math.log(t),this.set(e,i)},n.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,i){var n={"./button/index.vue":"d3bd","./canvas/index.vue":"bacd","./checkbox-group/index.vue":"25ce","./checkbox/index.vue":"7bb3","./editor/index.vue":"27c2","./form/index.vue":"b34d","./icon/index.vue":"9a8b","./image/index.vue":"1082","./input/index.vue":"250d","./label/index.vue":"70f4","./movable-area/index.vue":"c61c","./movable-view/index.vue":"8842","./navigator/index.vue":"17fd","./picker-view-column/index.vue":"1955","./picker-view/index.vue":"27ab","./progress/index.vue":"9b1f","./radio-group/index.vue":"d5ec","./radio/index.vue":"6491","./resize-sensor/index.vue":"3e8c","./rich-text/index.vue":"b705","./scroll-view/index.vue":"f1ef","./slider/index.vue":"9f96","./swiper-item/index.vue":"9213","./swiper/index.vue":"5513","./switch/index.vue":"4f1c","./text/index.vue":"4da7","./textarea/index.vue":"5768","./view/index.vue":"2bbe"};function r(t){var e=o(t);return i(e)}function o(t){if(!i.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}r.keys=function(){return Object.keys(n)},r.resolve=o,t.exports=r,r.id="5408"},"54bc":function(t,e,i){},5513:function(t,e,i){"use strict";i.r(e);var n,r,o=i("ba15"),s={name:"Swiper",mixins:[o["a"]],props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1}},data:function(){return{currentSync:Math.round(this.current)||0,currentItemIdSync:this.currentItemId||"",userTracking:!1,currentChangeSource:"",items:[]}},computed:{intervalNumber:function(){var t=Number(this.interval);return isNaN(t)?5e3:t},durationNumber:function(){var t=Number(this.duration);return isNaN(t)?500:t},displayMultipleItemsNumber:function(){var t=Math.round(this.displayMultipleItems);return isNaN(t)?1:t},slidesStyle:function(){var t={};return(this.nextMargin||this.previousMargin)&&(t=this.vertical?{left:0,right:0,top:this._upx2px(this.previousMargin),bottom:this._upx2px(this.nextMargin)}:{top:0,bottom:0,left:this._upx2px(this.previousMargin),right:this._upx2px(this.nextMargin)}),t},slideFrameStyle:function(){var t=Math.abs(100/this.displayMultipleItemsNumber)+"%";return{width:this.vertical?"100%":t,height:this.vertical?t:"100%"}},circularEnabled:function(){return this.circular&&this.items.length>this.displayMultipleItemsNumber}},watch:{vertical:function(){this._resetLayout()},circular:function(){this._resetLayout()},intervalNumber:function(t){this._timer&&(this._cancelSchedule(),this._scheduleAutoplay())},current:function(t){this._currentCheck()},currentSync:function(t){this._currentChanged(t),this.$emit("update:current",t)},currentItemId:function(t){this._currentCheck()},currentItemIdSync:function(t){this.$emit("update:currentItemId",t)},displayMultipleItemsNumber:function(){this._resetLayout()}},created:function(){this._invalid=!0,this._viewportPosition=0,this._viewportMoveRatio=1,this._animating=null,this._requestedAnimation=!1,this._userDirectionChecked=!1,this._contentTrackViewport=0,this._contentTrackSpeed=0,this._contentTrackT=0},mounted:function(){var t=this;this._currentCheck(),this.touchtrack(this.$refs.slidesWrapper,"_handleContentTrack",!0),this._resetLayout(),this.$watch((function(){return t.autoplay&&!t.userTracking}),this._inintAutoplay),this._inintAutoplay(this.autoplay&&!this.userTracking),this.$watch("items.length",this._resetLayout)},beforeDestroy:function(){this._cancelSchedule()},methods:{_inintAutoplay:function(t){t?this._scheduleAutoplay():this._cancelSchedule()},_currentCheck:function(){var t=-1;if(this.currentItemId)for(var e=0,i=this.items;ee-this.displayMultipleItemsNumber)return e-this.displayMultipleItemsNumber;return i},_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,i=e.length,n=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,i=e.toPos,n=e.acc,r=e.endTime,o=e.source,s=r-Date.now();if(s<=0){this._updateViewport(i),this._animating=null,this._requestedAnimation=!1,this._transitionStart=null;var a=this.items[this.currentSync];a&&this._itemReady(a,(function(){var e=a.componentInstance.itemId||"";t.$trigger("animationfinish",{},{current:t.currentSync,currentItemId:e,source:o})}))}else{var c=n*s*s/2,u=i+c;this._updateViewport(u),requestAnimationFrame(this._animateFrameFuncProto.bind(this))}}else this._requestedAnimation=!1},_animateViewport:function(t,e,i){this._cancelViewportAnimation();var n=this.durationNumber,r=this.items.length,o=this._viewportPosition;if(this.circularEnabled)if(i<0){for(;ot;)o-=r}else if(i>0){for(;o>t;)o-=r;for(;o+rt;)o-=r;o+r-tr)&&(n<0?n=-o(-n):n>r&&(n=r+o(n-r)),e._contentTrackSpeed=0),e._updateViewport(n)}var a=this._contentTrackT-i||1;this.vertical?s(-t.dy/this.$refs.slideFrame.offsetHeight,-t.ddy/a):s(-t.dx/this.$refs.slideFrame.offsetWidth,-t.ddx/a)},_handleTrackEnd:function(t){this.userTracking=!1;var e=this._contentTrackSpeed/Math.abs(this._contentTrackSpeed),i=0;!t&&Math.abs(this._contentTrackSpeed)>.2&&(i=.5*e);var n=this._normalizeCurrentValue(this._viewportPosition+i);t?this._updateViewport(this._contentTrackViewport):(this.currentChangeSource="touch",this.currentSync=n,this._animateViewport(n,"touch",0!==i?i:0===n&&this.circularEnabled&&this._viewportPosition>=1?1:0))},_handleContentTrack:function(t){if(!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),i=Math.abs(t.detail.dy);if(e>=i&&this.vertical?this.userTracking=!1:e<=i&&!this.vertical&&(this.userTracking=!1),!this.userTracking)return void(this.autoplay&&this._scheduleAutoplay())}return this._handleTrackMove(t.detail),!1}}}},render:function(t){var e=[],i=[];this.$slots.default&&this.$slots.default.forEach((function(t){t.componentOptions&&"v-uni-swiper-item"===t.componentOptions.tag&&i.push(t)}));for(var n=0,r=i.length;n=o||n-1&&this.selectionEndNumber>-1&&(this.$refs.textarea.selectionStart=this.selectionStartNumber,this.$refs.textarea.selectionEnd=this.selectionEndNumber)},_checkCursor:function(){this.focusSync&&("focus"===this.focusChangeSource||!this.focusChangeSource&&this.selectionStartNumber<0&&this.selectionEndNumber<0)&&this.cursorNumber>-1&&(this.$refs.textarea.selectionEnd=this.$refs.textarea.selectionStart=this.cursorNumber)},_blur:function(t){this.focusSync=!1,this.$trigger("blur",t,{value:this.valueSync,cursor:this.$refs.textarea.selectionEnd})},_compositionstart:function(t){this.composition=!0},_compositionend:function(t){this.composition=!1},_confirm:function(t){this.$trigger("confirm",t,{value:this.valueSync})},_linechange:function(t){this.$trigger("linechange",t,{value:this.valueSync})},_touchstart:function(){this.focusChangeSource="touch"},_resize:function(t){var e=t.height;this.height=e},_input:function(t){this.composition&&(this.valueComposition=t.target.value)},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){this.valueSync=""},_checkEmpty:function(t){return t||!1}}},a=s,c=(i("9400"),i("2877")),u=Object(c["a"])(a,n,r,!1,null,null,null);e["default"]=u.exports},"599d":function(t,e,i){"use strict";var n=1e-4,r=750,o=!1,s=0,a=0;function c(){var t=uni.getSystemInfoSync(),e=t.platform,i=t.pixelRatio,n=t.windowWidth;s=n,a=i,o="ios"===e}function u(t,e){if(0===s&&c(),t=Number(t),0===t)return 0;var i=t/r*(e||s);return i<0&&(i=-i),i=Math.floor(i+n),0===i?1!==a&&o?.5:1:t<0?-i:i}var l=i("f2b8"),h=i("1e88"),d=i("d8c8"),f=i.n(d),p=navigator.userAgent,m=/android/i.test(p),g=/iphone|ipad|ipod/i.test(p);function v(){var t,e,i,n=window.innerWidth,r=window.innerHeight,o=window.screen,s=window.devicePixelRatio,a=o.width,c=o.height,u=navigator.language,l=0;if(g){t="iOS";var d=p.match(/OS\s([\w_]+)\slike/);d&&(e=d[1].replace(/_/g,"."));var v=p.match(/\(([a-zA-Z]+);/);v&&(i=v[1])}else if(m){t="Android";var _=p.match(/Android[\s/]([\w\.]+)[;\s]/);_&&(e=_[1]);for(var b=p.match(/\((.+?)\)/),y=b?b[1].split(";"):p.split(" "),w=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i],S=0;S0){i=x.split("Build")[0].trim();break}for(var k=void 0,T=0;T0}});else{var t=window.document,e=[];n.prototype.THROTTLE_TIMEOUT=100,n.prototype.POLL_INTERVAL=null,n.prototype.USE_MUTATION_OBSERVER=!0,n.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()}},n.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},n.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},n.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},n.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,i){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!==i[e-1]}))},n.prototype._parseRootMargin=function(t){var e=t||"0px",i=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 i[1]=i[1]||i[0],i[2]=i[2]||i[0],i[3]=i[3]||i[1],i},n.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(s(window,"resize",this._checkForIntersections,!0),s(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},n.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,a(window,"resize",this._checkForIntersections,!0),a(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},n.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():l();this._observationTargets.forEach((function(n){var o=n.element,s=u(o),a=this._rootContainsTarget(o),c=n.entry,l=t&&a&&this._computeTargetAndRootIntersection(o,e),h=n.entry=new i({time:r(),target:o,boundingClientRect:s,rootBounds:e,intersectionRect:l});c?t&&a?this._hasCrossedThreshold(c,h)&&this._queuedEntries.push(h):c&&c.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},n.prototype._computeTargetAndRootIntersection=function(e,i){if("none"!=window.getComputedStyle(e).display){var n=u(e),r=n,o=d(e),s=!1;while(!s){var a=null,l=1==o.nodeType?window.getComputedStyle(o):{};if("none"==l.display)return;if(o==this.root||o==t?(s=!0,a=i):o!=t.body&&o!=t.documentElement&&"visible"!=l.overflow&&(a=u(o)),a&&(r=c(a,r),!r))break;o=d(o)}return r}},n.prototype._getRootRect=function(){var e;if(this.root)e=u(this.root);else{var i=t.documentElement,n=t.body;e={top:0,left:0,right:i.clientWidth||n.clientWidth,width:i.clientWidth||n.clientWidth,bottom:i.clientHeight||n.clientHeight,height:i.clientHeight||n.clientHeight}}return this._expandRectByRootMargin(e)},n.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,i){return"px"==e.unit?e.value:e.value*(i%2?t.width:t.height)/100})),i={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return i.width=i.right-i.left,i.height=i.bottom-i.top,i},n.prototype._hasCrossedThreshold=function(t,e){var i=t&&t.isIntersecting?t.intersectionRatio||0:-1,n=e.isIntersecting?e.intersectionRatio||0:-1;if(i!==n)for(var r=0;r=0&&a>=0&&{top:i,bottom:n,left:r,right:o,width:s,height:a}}function u(t){var e;try{e=t.getBoundingClientRect()}catch(i){}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 h(t,e){var i=e;while(i){if(i==t)return!0;i=d(i)}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}})()},"5bb5":function(t,e,i){"use strict";i.d(e,"a",(function(){return o}));var n=i("a20d"),r=i("f2b3");function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object(r["h"])((function(){var i=plus.webview.currentWebview().id;plus.webview.postMessageToUniNView({type:"subscribeHandler",args:{type:t,data:e,pageId:i}},n["a"])}))}},"5dc1":function(t,e,i){"use strict";(function(t){i.d(e,"b",(function(){return a})),i.d(e,"a",(function(){return c}));i("5abe");var n=i("85b6"),r=i("db8e");function o(t){return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}var s={};function a(e,i){var a=e.reqId,c=e.component,u=e.options,l=getCurrentPages(),h=l.find((function(t){return t.$page.id===i}));if(!h)throw new Error("Not Found:Page[".concat(i,"]"));var d=h.$vm,f=Object(r["a"])(c,d),p=u.relativeToSelector?f.querySelector(u.relativeToSelector):null,m=s[a]=new IntersectionObserver((function(e,i){e.forEach((function(e){t.publishHandler("onRequestComponentObserver",{reqId:a,res:{intersectionRatio:e.intersectionRatio,intersectionRect:o(e.intersectionRect),boundingClientRect:o(e.boundingClientRect),relativeRect:o(e.rootBounds),time:Date.now(),dataset:Object(n["b"])(e.target.dataset||{}),id:e.target.id}},d.$page.id)}))}),{root:p,rootMargin:u.rootMargin,threshold:u.thresholds});u.observeAll?(m.USE_MUTATION_OBSERVER=!0,Array.prototype.map.call(f.querySelectorAll(u.selector),(function(t){m.observe(t)}))):(m.USE_MUTATION_OBSERVER=!1,m.observe(f.querySelector(u.selector)))}function c(e){var i=e.reqId,n=s[i];n&&(n.disconnect(),t.publishHandler("onRequestComponentObserver",{reqId:i,reqEnd:!0}))}}).call(this,i("501c"))},"5dc4":function(t,e,i){},6062:function(t,e,i){"use strict";var n=i("ef36"),r=i.n(n);r.a},"60ee":function(t,e,i){},"61c2":function(t,e,i){"use strict";var n=i("f2b3"),r=i("8af1");function o(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})}function s(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})}var a={name:"uni://form-field",init:function(t,e){e.constructor.options.props&&e.constructor.options.props.name&&e.constructor.options.props.value||(e.constructor.options.props||(e.constructor.options.props={}),e.constructor.options.props.name||(e.constructor.options.props.name=t.props.name={type:String}),e.constructor.options.props.value||(e.constructor.options.props.value=t.props.value={type:null})),t.propsData||(t.propsData={});var i=e.$vnode;if(i&&i.data&&i.data.attrs&&(Object(n["d"])(i.data.attrs,"name")&&(t.propsData.name=i.data.attrs.name),Object(n["d"])(i.data.attrs,"value")&&(t.propsData.value=i.data.attrs.value)),!e.constructor.options.methods||!e.constructor.options.methods._getFormData){e.constructor.options.methods||(e.constructor.options.methods={}),t.methods||(t.methods={});var a={_getFormData:function(){return this.name?{key:this.name,value:this.value}:{}},_resetFormData:function(){this.value=""}};Object.assign(e.constructor.options.methods,a),Object.assign(t.methods,a),Object.assign(e.constructor.options.methods,r["a"].methods),Object.assign(t.methods,r["a"].methods);var c=t["created"];e.constructor.options["created"]=t["created"]=c?[].concat(o,c):[o];var u=t["beforeDestroy"];e.constructor.options["beforeDestroy"]=t["beforeDestroy"]=u?[].concat(s,u):[s]}}};function c(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return l}));var u=c({},a.name,a);function l(t,e){t.behaviors.forEach((function(i){var n=u[i];n&&n.init(t,e)}))}},"630f":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-cover-image",t._g({style:t.imageInfo,attrs:{src:t.src}},t.$listeners),[i("div",{ref:"container",staticClass:"uni-cover-image"})])},r=[],o=i("0aa0"),s=i("5077"),a=i("f2b3"),c="_doc/uniapp_temp",u="".concat(c,"_").concat(Date.now()),l={name:"CoverImage",mixins:[o["a"],s["a"]],props:{src:{type:String,default:""},autoSize:{type:[Boolean,String],default:!1}},data:function(){return{coverType:"image",coverContent:"",imageInfo:{}}},watch:{src:function(){this.loadImage()}},created:function(){this.loadImage()},beforeDestroy:function(){var t=this.downloaTask;t&&t.state<4&&t.abort()},methods:{loadImage:function(){var t=this;this.coverContent="",this.imageInfo=this.autoSize?{width:0,height:0}:{};var e=this.src?this.$getRealPath(this.src):"";0===e.indexOf("http://")||0===e.indexOf("https://")?Object(a["h"])((function(){t.downloaTask=plus.downloader.createDownload(e,{filename:u+"/download/"},(function(e,i){200===i?t.getImageInfo(e.filename):t.$trigger("error",{},{errMsg:"error"})})).start()})):e&&this.getImageInfo(e)},getImageInfo:function(t){var e=this;this.coverContent=t,Object(a["h"])((function(){plus.io.getImageInfo({src:t,success:function(t){var i=t.width,n=t.height;e.autoSize&&(e.imageInfo={width:"".concat(i,"px"),height:"".concat(n,"px")},e._isMounted&&e._requestPositionUpdate()),e.$trigger("load",{},{width:i,height:n})},fail:function(){e.$trigger("error",{},{errMsg:"error"})}})}))}}},h=l,d=(i("21c3"),i("2877")),f=Object(d["a"])(h,n,r,!1,null,null,null);e["default"]=f.exports},"634a":function(t,e,i){"use strict";(function(t,n){var r=i("8bbf"),o=i.n(r),s=(i("7522"),i("2376")),a=i("9856"),c=i("7d0f"),u=i("599d");i.d(e,"a",(function(){return u["a"]})),i.d(e,"b",(function(){return u["b"]})),i.d(e,"c",(function(){return u["c"]})),i.d(e,"d",(function(){return u["d"]})),i.d(e,"e",(function(){return u["e"]})),i.d(e,"f",(function(){return u["f"]})),i.d(e,"g",(function(){return u["g"]})),i.d(e,"h",(function(){return u["h"]})),n.UniViewJSBridge={publishHandler:t.publishHandler,subscribeHandler:t.subscribeHandler},n.getCurrentPages=a["a"],n.__definePage=s["a"],n.Vue=o.a,o.a.use(c["a"]),i("1efd")}).call(this,i("501c"),i("c8ba"))},6428:function(t,e,i){"use strict";var n=i("f756"),r=i.n(n);r.a},6491:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-radio",t._g({on:{click:t._onClick}},t.$listeners),[i("div",{staticClass:"uni-radio-wrapper"},[i("div",{staticClass:"uni-radio-input",class:t.radioChecked?"uni-radio-input-checked":"",style:t.radioChecked?t.checkedStyle:""}),t._t("default")],2)])},r=[],o=i("8af1"),s={name:"Radio",mixins:[o["a"],o["d"]],props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#007AFF"},value:{type:String,default:""}},data:function(){return{radioChecked:this.checked,radioValue:this.value}},computed:{checkedStyle:function(){return"background-color: ".concat(this.color,";border-color: ").concat(this.color,";")}},watch:{checked:function(t){this.radioChecked=t},value:function(t){this.radioValue=t}},listeners:{"label-click":"_onClick","@label-click":"_onClick"},created:function(){this.$dispatch("RadioGroup","uni-radio-group-update",{type:"add",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},beforeDestroy:function(){this.$dispatch("RadioGroup","uni-radio-group-update",{type:"remove",vm:this}),this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_onClick:function(t){this.disabled||this.radioChecked||(this.radioChecked=!0,this.$dispatch("RadioGroup","uni-radio-change",t,this))},_resetFormData:function(){this.radioChecked=this.min}}},a=s,c=(i("c96e"),i("2877")),u=Object(c["a"])(a,n,r,!1,null,null,null);e["default"]=u.exports},"64d0":function(t,e,i){"use strict";var n=i("c0e5"),r=i.n(n);r.a},"6bdf":function(t,e,i){"use strict";(function(t){i.d(e,"a",(function(){return u}));var n=i("85b6"),r=i("1e88"),o=i("db8e");function s(t){var e={};return t.id&&(e.id=""),t.dataset&&(e.dataset={}),t.rect&&(e.left=0,e.right=0,e.top=0,e.bottom=0),t.size&&(e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight),t.scrollOffset&&(e.scrollLeft=document.documentElement.scrollLeft||document.body.scrollLeft||0,e.scrollTop=document.documentElement.scrollTop||document.body.scrollTop||0),e}function a(t,e){var i={},o=Object(r["a"])(),s=o.top;if(e.id&&(i.id=t.id),e.dataset&&(i.dataset=Object(n["b"])(t.dataset||{})),e.rect||e.size){var a=t.getBoundingClientRect();e.rect&&(i.left=a.left,i.right=a.right,i.top=a.top-s,i.bottom=a.bottom),e.size&&(i.width=a.width,i.height=a.height)}return e.properties&&e.properties.forEach((function(t){t=t.replace(/-([a-z])/g,(function(t,e){return e.toUpperCase()}))})),e.scrollOffset&&("UNI-SCROLL-VIEW"===t.tagName&&t.__vue__&&t.__vue__.getScrollPosition?Object.assign(i,t.__vue__.getScrollPosition()):(i.scrollLeft=0,i.scrollTop=0)),e.context&&t.__vue__&&t.__vue__._getContextInfo&&(i.context=t.__vue__._getContextInfo()),i}function c(t,e,i,n,r){var s=Object(o["a"])(e,t);if(n){var c=s&&(s.matches(i)?s:s.querySelector(i));return c?a(c,r):null}if(s){var u=[],l=s.querySelectorAll(i);return l&&l.length&&(u=[].map.call(l,(function(t){return a(t,r)}))),s.matches(i)&&u.unshift(s),u}return[]}function u(e,i){var n=e.reqId,r=e.reqs,o=getCurrentPages(),a=o.find((function(t){return t.$page.id===i}));if(!a)throw new Error("Not Found:Page[".concat(i,"]"));var u=a.$vm,l=[];r.forEach((function(t){var e=t.component,i=t.selector,n=t.single,r=t.fields;0===e?l.push(s(r)):l.push(c(u,e,i,n,r))})),t.publishHandler("onRequestComponentInfo",{reqId:n,res:l},u.$page.id)}}).call(this,i("501c"))},"70f4":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-label",t._g({on:{click:t._onClick}},t.$listeners),[t._t("default")],2)},r=[],o=i("3c47"),s=o["a"],a=i("2877"),c=Object(a["a"])(s,n,r,!1,null,null,null);e["default"]=c.exports},7107:function(t,e,i){"use strict";(function(t){function n(e){var i=e.options,n=e.callbackId,r=i.family,o=i.source,s=i.desc,a=void 0===s?{}:s,c=document.fonts;if(c){var u=new FontFace(r,o,a);u.load().then((function(){c.add(u),t.publishHandler("onLoadFontFaceCallback",{callbackId:n,data:{errMsg:"loadFontFace:ok"}})})).catch((function(e){t.publishHandler("onLoadFontFaceCallback",{callbackId:n,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(a.style,";font-weight:").concat(a.weight,";font-stretch:").concat(a.stretch,";unicode-range:").concat(a.unicodeRange,";font-variant:").concat(a.variant,";font-feature-settings:").concat(a.featureSettings,";}"),document.head.appendChild(l),t.publishHandler("onLoadFontFaceCallback",{callbackId:n,data:{errMsg:"loadFontFace:ok"}})}}i.d(e,"a",(function(){return n}))}).call(this,i("501c"))},"72ad":function(t,e,i){},"72b3":function(t,e,i){"use strict";function n(t,e,i){return t>e-i&&t0){var u=(-i-Math.sqrt(o))/(2*n),l=(-i+Math.sqrt(o))/(2*n),h=(e-u*t)/(l-u),d=t-h;return{x:function(t){var e,i;return t===this._t&&(e=this._powER1T,i=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),i||(i=this._powER2T=Math.pow(Math.E,l*t)),d*e+h*i},dx:function(t){var e,i;return t===this._t&&(e=this._powER1T,i=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),i||(i=this._powER2T=Math.pow(Math.E,l*t)),d*u*e+h*l*i}}}var f=Math.sqrt(4*n*r-i*i)/(2*n),p=-i/2*n,m=t,g=(e-p*t)/f;return{x:function(t){return Math.pow(Math.E,p*t)*(m*Math.cos(f*t)+g*Math.sin(f*t))},dx:function(t){var e=Math.pow(Math.E,p*t),i=Math.cos(f*t),n=Math.sin(f*t);return e*(g*f*i-m*f*n)+p*e*(g*n+m*i)}}},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,i){if(i||(i=(new Date).getTime()),t!==this._endPosition||!r(e,.4)){e=e||0;var n=this._endPosition;this._solution&&(r(e,.4)&&(e=this._solution.dx((i-this._startTime)/1e3)),n=this._solution.x((i-this._startTime)/1e3),r(e,.4)&&(e=0),r(n,.4)&&(n=0),n+=this._endPosition),this._solution&&r(n-t,.4)&&r(e,.4)||(this._endPosition=t,this._solution=this._solve(n-this._endPosition,e),this._startTime=i)}},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()),n(this.x(),this._endPosition,.4)&&r(this.dx(),.4)},o.prototype.reconfigure=function(t,e,i){this._m=t,this._k=e,this._c=i,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},o.prototype.springConstant=function(){return this._k},o.prototype.damping=function(){return this._c},o.prototype.configuration=function(){function t(t,e){t.reconfigure(1,e,t.damping())}function e(t,e){t.reconfigure(1,t.springConstant(),e)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:e.bind(this,this),min:1,max:500}]}},7466:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-map",t._g(t._b({},"uni-map",t.attrs,!1),t.$listeners),[i("div",{ref:"container",staticClass:"uni-map-container"}),t._l(t.mapControls,(function(e,n){return i("v-uni-cover-image",{key:n,style:e.position,attrs:{src:e.iconPath,"auto-size":""},on:{click:function(i){return t.controlclick(e)}}})})),i("div",{staticClass:"uni-map-slot"},[t._t("default")],2)],2)},r=[],o=i("8af1"),s=i("0aa0"),a=["getCenterLocation","moveToLocation","getRegion","getScale","$getAppMap"],c=["latitude","longitude","scale","markers","polyline","circles","controls","show-location"],u=function(t,e,i){i({coord:{latitude:e,longitude:t}})};function l(t){if(0!==t.indexOf("#"))return{color:t,opacity:1};var e=t.substr(7,2);return{color:t.substr(0,7),opacity:e?Number("0x"+e)/255:1}}var h={name:"Map",mixins:[o["e"],s["a"]],props:{id:{type:String,default:""},latitude:{type:[Number,String],default:""},longitude:{type:[Number,String],default:""},scale:{type:[String,Number],default:1},markers:{type:Array,default:function(){return[]}},polyline:{type:Array,default:function(){return[]}},circles:{type:Array,default:function(){return[]}},controls:{type:Array,default:function(){return[]}}},data:function(){return{style:{top:"0px",left:"0px",width:"0px",height:"0px",position:"static"},hidden:!1}},computed:{attrs:function(){var t=this,e={};return c.forEach((function(i){var n=t.$props[i];n="src"===i?t.$getRealPath(n):n,e[i.replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()}))]=n})),e},mapControls:function(){var t=this,e=this.controls.map((function(e){var i={position:"absolute"};return["top","left","width","height"].forEach((function(t){i[t]=e.position[t]+"px"})),{id:e.id,iconPath:t.$getRealPath(e.iconPath),position:i}}));return e}},watch:{hidden:function(t){this.map&&this.map[t?"hide":"show"]()}},listeners:{"@view-update":"_requestUpdate"},mounted:function(){var t=this;this._updateStyle();var e=Object.assign({},this.attrs,this.style);this.latitude&&this.longitude&&(e.center=new plus.maps.Point(this.longitude,this.latitude));var i=this.map=plus.maps.create("map"+Date.now(),e);i.__markers__={},i.__lines__=[],i.__circles__=[],plus.webview.currentWebview().append(i),this.hidden&&i.hide(),this.$watch("attrs",(function(){t.map&&t.map.setStyles(t.attrs)}),{deep:!0}),this.$watch("style",(function(){t.map&&t.map.setStyles(t.style)}),{deep:!0}),i.onclick((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.$trigger("tap",{},e)})),i.onstatuschanged((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.$trigger("end",{},e)})),this._addMarkers(this.markers),this._addMapLines(this.polyline),this._addMapCircles(this.circles)},beforeDestroy:function(){delete this.map},methods:{_handleSubscribe:function(t){var e=t.type,i=t.data,n=void 0===i?{}:i;a.includes(e)&&this.map&&this[e](n)},getRegion:function(){},getScale:function(){},_updateStyle:function(){var t=this,e=this.$refs.container.getBoundingClientRect();this.hidden=!1,["top","left","width","height"].forEach((function(i){var n=e[i];n="top"===i?n+(document.documentElement.scrollTop||document.body.scrollTop||0):n,n||"width"!==i&&"height"!==i||(t.hidden=!0),t.style[i]=n+"px"}))},_requestUpdate:function(){var t=this;this._animationFrame&&cancelAnimationFrame(this._animationFrame),this.video&&(this._animationFrame=requestAnimationFrame((function(){delete t._animationFrame,t._updateStyle()})))},controlclick:function(t){this.$trigger("controltap",{},{id:t.id})},_addMarker:function(t,e){var i=this,n=e.id,r=e.latitude,o=e.longitude,s=e.iconPath,a=e.callout,c=e.label;u(o,r,(function(e){var r=e.coord,o=r.latitude,u=r.longitude,l=new plus.maps.Marker(new plus.maps.Point(u,o));s&&l.setIcon(i.$getRealPath(s)),c&&c.content&&l.setLabel(c.content);var h=!1;a&&a.content&&(h=new plus.maps.Bubble(a.content)),h&&l.setBubble(h),(n||0===n)&&(l.onclick=function(t){i.$trigger("markertap",{},{id:n})},h&&(h.onclick=function(){i.$trigger("callouttap",{},{id:n})})),t.addOverlay(l),t.__markers__[n+""]=l}))},_addMarkers:function(t,e){var i=this;return this.map?(e&&this.map.clearOverlays(),t.forEach((function(t){i._addMarker(i.map,t)})),{errMsg:"addMapMarkers:ok"}):{errMsg:"addMapMarkers:fail:请先创建地图元素"}},_translateMapMarker:function(t){t.autoRotate,t.callbackId;var e=t.destination,i=(t.duration,t.markerId);if(this.map){var n=this.map.__markers__[i+""];n&&n.setPoint(new plus.maps.Point(e.longitude,e.latitude))}return{errMsg:"translateMapMarker:ok"}},_addMapLines:function(t){var e=this.map;return e?(e.__lines__.length>0&&(e.__lines__.forEach((function(t){e.removeOverlay(t)})),e.__lines__=[]),t.forEach((function(t){var i=t.color,n=t.width,r=t.points.map((function(t){return new plus.maps.Point(t.longitude,t.latitude)})),o=new plus.maps.Polyline(r);if(i){var s=l(i);o.setStrokeColor(s.color),o.setStrokeOpacity(s.opacity)}n&&o.setLineWidth(n),e.addOverlay(o),e.__lines__.push(o)})),{errMsg:"addMapLines:ok"}):{errMsg:"addMapLines:fail:请先创建地图元素"}},_addMapCircles:function(t){var e=this.map;return e?(e.__circles__.length>0&&(e.__circles__.forEach((function(t){e.removeOverlay(t)})),e.__circles__=[]),t.forEach((function(t){var i=t.latitude,n=t.longitude,r=t.color,o=t.fillColor,s=t.radius,a=t.strokeWidth,c=new plus.maps.Circle(new plus.maps.Point(n,i),s);if(r){var u=l(r);c.setStrokeColor(u.color),c.setStrokeOpacity(u.opacity)}if(o){var h=l(o);c.setFillColor(h.color),c.setFillOpacity(h.opacity)}a&&c.setLineWidth(a),e.addOverlay(c),e.__circles__.push(c)})),{errMsg:"addMapCircles:ok"}):{errMsg:"addMapCircles:fail:请先创建地图元素"}}}},d=h,f=(i("a252"),i("2877")),p=Object(f["a"])(d,n,r,!1,null,null,null);e["default"]=p.exports},7522:function(t,e,i){},"76a8":function(t,e,i){"use strict";var n=i("3fe7"),r=i.n(n);r.a},"7bb3":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-checkbox",t._g({on:{click:t._onClick}},t.$listeners),[i("div",{staticClass:"uni-checkbox-wrapper"},[i("div",{staticClass:"uni-checkbox-input",class:[t.checkboxChecked?"uni-checkbox-input-checked":""],style:{color:t.color}}),t._t("default")],2)])},r=[],o=i("8af1"),s={name:"Checkbox",mixins:[o["a"],o["d"]],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}}},a=s,c=(i("f53a"),i("2877")),u=Object(c["a"])(a,n,r,!1,null,null,null);e["default"]=u.exports},"7c2b":function(t,e,i){"use strict";var n=i("2c45"),r=i.n(n);r.a},"7d0f":function(t,e,i){"use strict";var n=i("5129"),r=i.n(n);function o(t){var e=t.config.isReservedTag;t.config.isReservedTag=function(t){return-1!==r.a.indexOf(t)||e(t)},t.config.ignoredElements=r.a;var i=t.config.getTagNamespace,n=["switch","image","text","view"];t.config.getTagNamespace=function(t){return!~n.indexOf(t)&&(i(t)||!1)}}var s=i("8c15"),a=i("3e5d");function c(t){Object.defineProperty(t.prototype,"$page",{get:function(){return getCurrentPages()[0].$page}}),t.prototype.$handleVModelEvent=function(t,e){a["b"].sendUIEvent(this._$id,t,{type:"input",target:{value:e}})},t.prototype.$handleViewEvent=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.stop&&t.stopPropagation(),e.prevent&&t.preventDefault();var i=this.$handleEvent(t),n=this._$id,r=t.currentTarget===this.$el?0:i.options.nid;if("undefined"===typeof r)return console.error("[".concat(n,"] nid not found"));delete i._processed,delete i.mp,delete i.preventDefault,delete i.stopPropagation,delete i.options,a["b"].sendUIEvent(n,r,i)}}e["a"]={install:function(t,e){o(t),s["a"].install(t,e),Object(a["a"])(t),c(t)}}},"7df2":function(t,e,i){},"7e6a":function(t,e,i){"use strict";var n=i("515d"),r=i.n(n);r.a},"7f2f":function(t,e,i){"use strict";var n=i("ce51"),r=i.n(n);r.a},"83a6":function(t,e,i){"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){var e=this;t._hoverPropagationStopped||this.hoverClass&&"none"!==this.hoverClass&&!this.disabled&&(t.touches.length>1||(this.hoverStopPropagation&&(t._hoverPropagationStopped=!0),this._hoverTouch=!0,this._hoverStartTimer=setTimeout((function(){e.hovering=!0,e._hoverTouch||e._hoverReset()}),this.hoverStartTime)))},_hoverTouchEnd:function(t){this._hoverTouch=!1,this.hovering&&this._hoverReset()},_hoverReset:function(){var t=this;requestAnimationFrame((function(){clearTimeout(t._hoverStayTimer),t._hoverStayTimer=setTimeout((function(){t.hovering=!1}),t.hoverStayTime)}))},_hoverTouchCancel:function(t){this._hoverTouch=!1,this.hovering=!1,clearTimeout(this._hoverStartTimer)}}}},"85b6":function(t,e,i){"use strict";i.d(e,"a",(function(){return r})),i.d(e,"b",(function(){return o}));var n=["SystemAsyncLoading","SystemAsyncError"];function r(t){return!(!t.$parent||"PageBody"!==t.$parent.$options.name)&&-1===n.indexOf(t.$options.name)}function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=JSON.parse(JSON.stringify(t));return e}},8779:function(t,e,i){},8842:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-movable-view",t._g({},t.$listeners),[i("v-uni-resize-sensor",{on:{resize:t.setParent}}),t._t("default")],2)},r=[],o=i("ba15");function s(t,e,i){return t>e-i&&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,i=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&&ithis._endPositionY)&&(i=this._endPositionY),{x:e,y:i}},u.prototype.ds=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),t>this._t&&(t=this._t),{dx:this._x_v+this._x_a*t,dy:this._y_v+this._y_a*t}},u.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},u.prototype.dt=function(){return-this._x_v/this._x_a},u.prototype.done=function(){var t=s(this.s().x,this._endPositionX)||s(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,t},u.prototype.setEnd=function(t,e){this._endPositionX=t,this._endPositionY=e},u.prototype.reconfigure=function(t,e){this._m=t,this._f=1e3*e},l.prototype._solve=function(t,e){var i=this._c,n=this._m,r=this._k,o=i*i-4*n*r;if(0===o){var s=-i/(2*n),a=t,c=e/(s*t);return{x:function(t){return(a+c*t)*Math.pow(Math.E,s*t)},dx:function(t){var e=Math.pow(Math.E,s*t);return s*(a+c*t)*e+c*e}}}if(o>0){var u=(-i-Math.sqrt(o))/(2*n),l=(-i+Math.sqrt(o))/(2*n),h=(e-u*t)/(l-u),d=t-h;return{x:function(t){var e,i;return t===this._t&&(e=this._powER1T,i=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),i||(i=this._powER2T=Math.pow(Math.E,l*t)),d*e+h*i},dx:function(t){var e,i;return t===this._t&&(e=this._powER1T,i=this._powER2T),this._t=t,e||(e=this._powER1T=Math.pow(Math.E,u*t)),i||(i=this._powER2T=Math.pow(Math.E,l*t)),d*u*e+h*l*i}}}var f=Math.sqrt(4*n*r-i*i)/(2*n),p=-i/2*n,m=t,g=(e-p*t)/f;return{x:function(t){return Math.pow(Math.E,p*t)*(m*Math.cos(f*t)+g*Math.sin(f*t))},dx:function(t){var e=Math.pow(Math.E,p*t),i=Math.cos(f*t),n=Math.sin(f*t);return e*(g*f*i-m*f*n)+p*e*(g*n+m*i)}}},l.prototype.x=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(t):0},l.prototype.dx=function(t){return void 0===t&&(t=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(t):0},l.prototype.setEnd=function(t,e,i){if(i||(i=(new Date).getTime()),t!==this._endPosition||!a(e,.1)){e=e||0;var n=this._endPosition;this._solution&&(a(e,.1)&&(e=this._solution.dx((i-this._startTime)/1e3)),n=this._solution.x((i-this._startTime)/1e3),a(e,.1)&&(e=0),a(n,.1)&&(n=0),n+=this._endPosition),this._solution&&a(n-t,.1)&&a(e,.1)||(this._endPosition=t,this._solution=this._solve(n-this._endPosition,e),this._startTime=i)}},l.prototype.snap=function(t){this._startTime=(new Date).getTime(),this._endPosition=t,this._solution={x:function(){return 0},dx:function(){return 0}}},l.prototype.done=function(t){return t||(t=(new Date).getTime()),s(this.x(),this._endPosition,.1)&&a(this.dx(),.1)},l.prototype.reconfigure=function(t,e,i){this._m=t,this._k=e,this._c=i,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},l.prototype.springConstant=function(){return this._k},l.prototype.damping=function(){return this._c},l.prototype.configuration=function(){function t(t,e){t.reconfigure(1,e,t.damping())}function e(t,e){t.reconfigure(1,t.springConstant(),e)}return[{label:"Spring Constant",read:this.springConstant.bind(this),write:t.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:e.bind(this,this),min:1,max:500}]},h.prototype.setEnd=function(t,e,i,n){var r=(new Date).getTime();this._springX.setEnd(t,n,r),this._springY.setEnd(e,n,r),this._springScale.setEnd(i,n,r),this._startTime=r},h.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)}},h.prototype.done=function(){var t=(new Date).getTime();return this._springX.done(t)&&this._springY.done(t)&&this._springScale.done(t)},h.prototype.reconfigure=function(t,e,i){this._springX.reconfigure(t,e,i),this._springY.reconfigure(t,e,i),this._springScale.reconfigure(t,e,i)};var d=i("f2b3"),f=!1;function p(t){f||(f=!0,requestAnimationFrame((function(){t(),f=!1})))}function m(t,e){if(t===e)return 0;var i=t.offsetLeft;return t.offsetParent?i+=m(t.offsetParent,e):0}function g(t,e){if(t===e)return 0;var i=t.offsetTop;return t.offsetParent?i+=g(t.offsetParent,e):0}function v(t,e){return+((1e3*t-1e3*e)/1e3).toFixed(1)}function _(t,e,i){var n=function(t){t&&t.id&&cancelAnimationFrame(t.id),t&&(t.cancelled=!0)},r={id:0,cancelled:!1};function o(e,i,n,r){if(!e||!e.cancelled){n(i);var s=t.done();s||e.cancelled||(e.id=requestAnimationFrame(o.bind(null,e,i,n,r))),s&&r&&r(i)}}return o(r,t,e,i),{cancel:n.bind(null,r),model:t}}var b={name:"MovableView",mixins:[o["a"]],props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.5},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},data:function(){return{xSync:this._getPx(this.x),ySync:this._getPx(this.y),scaleValueSync:Number(this.scaleValue)||1,width:0,height:0,minX:0,minY:0,maxX:0,maxY:0}},computed:{dampingNumber:function(){var t=Number(this.damping);return isNaN(t)?20:t},frictionNumber:function(){var t=Number(this.friction);return isNaN(t)||t<=0?2:t},scaleMinNumber:function(){var t=Number(this.scaleMin);return isNaN(t)?.5:t},scaleMaxNumber:function(){var t=Number(this.scaleMax);return isNaN(t)?10:t},xMove:function(){return"all"===this.direction||"horizontal"===this.direction},yMove:function(){return"all"===this.direction||"vertical"===this.direction}},watch:{x:function(t){this.xSync=this._getPx(t)},xSync:function(t){this._setX(t)},y:function(t){this.ySync=this._getPx(t)},ySync:function(t){this._setY(t)},scaleValue:function(t){this.scaleValueSync=Number(t)||0},scaleValueSync:function(t){this._setScaleValue(t)},scaleMinNumber:function(){this._setScaleMinOrMax()},scaleMaxNumber:function(){this._setScaleMinOrMax()}},created:function(){this._offset={x:0,y:0},this._scaleOffset={x:0,y:0},this._translateX=0,this._translateY=0,this._scale=1,this._oldScale=1,this._STD=new h(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this._friction=new u(1,this.frictionNumber),this._declineX=new c,this._declineY=new c,this.__touchInfo={historyX:[0,0],historyY:[0,0],historyT:[0,0]}},mounted:function(){this.touchtrack(this.$el,"_onTrack"),this.setParent(),this._friction.reconfigure(1,this.frictionNumber),this._STD.reconfigure(1,9*Math.pow(this.dampingNumber,2)/40,this.dampingNumber),this.$el.style.transformOrigin="center"},methods:{_getPx:function(t){return/\d+[ur]px$/i.test(t)?uni.upx2px(parseFloat(t)):Number(t)||0},_setX:function(t){if(this.xMove){if(t+this._scaleOffset.x===this._translateX)return this._translateX;this._SFA&&this._SFA.cancel(),this._animationTo(t+this._scaleOffset.x,this.ySync+this._scaleOffset.y,this._scale)}return t},_setY:function(t){if(this.yMove){if(t+this._scaleOffset.y===this._translateY)return this._translateY;this._SFA&&this._SFA.cancel(),this._animationTo(this.xSync+this._scaleOffset.x,t+this._scaleOffset.y,this._scale)}return t},_setScaleMinOrMax:function(){if(!this.scale)return!1;this._updateScale(this._scale,!0),this._updateOldScale(this._scale)},_setScaleValue:function(t){return!!this.scale&&(t=this._adjustScale(t),this._updateScale(t,!0),this._updateOldScale(t),t)},__handleTouchStart:function(){this._isScaling||this.disabled||(Object(d["b"])({disable:!0}),this._FA&&this._FA.cancel(),this._SFA&&this._SFA.cancel(),this.__touchInfo.historyX=[0,0],this.__touchInfo.historyY=[0,0],this.__touchInfo.historyT=[0,0],this.xMove&&(this.__baseX=this._translateX),this.yMove&&(this.__baseY=this._translateY),this.$el.style.willChange="transform",this._checkCanMove=null,this._firstMoveDirection=null,this._isTouching=!0)},__handleTouchMove:function(t){var e=this;if(!this._isScaling&&!this.disabled&&this._isTouching){var i=this._translateX,n=this._translateY;if(null===this._firstMoveDirection&&(this._firstMoveDirection=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),this.xMove&&(i=t.detail.dx+this.__baseX,this.__touchInfo.historyX.shift(),this.__touchInfo.historyX.push(i),this.yMove||!0!==this._checkCanMove&&(Math.abs(t.detail.dx/t.detail.dy)>1?this._checkCanMove=!1:this._checkCanMove=!0)),this.yMove&&(n=t.detail.dy+this.__baseY,this.__touchInfo.historyY.shift(),this.__touchInfo.historyY.push(n),this.xMove||!0!==this._checkCanMove&&(Math.abs(t.detail.dy/t.detail.dx)>1?this._checkCanMove=!1:this._checkCanMove=!0)),this.__touchInfo.historyT.shift(),this.__touchInfo.historyT.push(t.detail.timeStamp),!this._checkCanMove){t.preventDefault();var r="touch";ithis.maxX&&(this.outOfBounds?(r="touch-out-of-bounds",i=this.maxX+this._declineX.x(i-this.maxX)):i=this.maxX),nthis.maxY&&(this.outOfBounds?(r="touch-out-of-bounds",n=this.maxY+this._declineY.x(n-this.maxY)):n=this.maxY),p((function(){e._setTransform(i,n,e._scale,r)}))}}},__handleTouchEnd:function(){var t=this;if(!this._isScaling&&!this.disabled&&this._isTouching&&(Object(d["b"])({disable:!0}),this.$el.style.willChange="auto",this._isTouching=!1,!this._checkCanMove&&!this._revise("out-of-bounds")&&this.inertia)){var e=1e3*(this.__touchInfo.historyX[1]-this.__touchInfo.historyX[0])/(this.__touchInfo.historyT[1]-this.__touchInfo.historyT[0]),i=1e3*(this.__touchInfo.historyY[1]-this.__touchInfo.historyY[0])/(this.__touchInfo.historyT[1]-this.__touchInfo.historyT[0]);this._friction.setV(e,i),this._friction.setS(this._translateX,this._translateY);var n=this._friction.delta().x,r=this._friction.delta().y,o=n+this._translateX,s=r+this._translateY;othis.maxX&&(o=this.maxX,s=this._translateY+(this.maxX-this._translateX)*r/n),sthis.maxY&&(s=this.maxY,o=this._translateX+(this.maxY-this._translateY)*n/r),this._friction.setEnd(o,s),this._FA=_(this._friction,(function(){var e=t._friction.s(),i=e.x,n=e.y;t._setTransform(i,n,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 i=!1;return t>this.maxX?(t=this.maxX,i=!0):tthis.maxY?(e=this.maxY,i=!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)),i=Number(i.toFixed(1)),this._translateX===t&&this._translateY===e||r||this.$trigger("change",{},{x:v(t,this._scaleOffset.x),y:v(e,this._scaleOffset.y),source:n}),this.scale||(i=this._scale),i=this._adjustScale(i),i=+i.toFixed(3),o&&i!==this._scale&&this.$trigger("scale",{},{x:t,y:e,scale:i});var s="translateX("+t+"px) translateY("+e+"px) translateZ(0px) scale("+i+")";this.$el.style.transform=s,this.$el.style.webkitTransform=s,this._translateX=t,this._translateY=e,this._scale=i}}},y=b,w=(i("7c2b"),i("2877")),S=Object(w["a"])(y,n,r,!1,null,null,null);e["default"]=S.exports},"8a36":function(t,e,i){"use strict";(function(t){var n=i("f2b3");e["a"]={props:{id:{type:String,default:""}},created:function(){var t=this;this._addListeners(this.id),this.$watch("id",(function(e,i){t._removeListeners(i,!0),t._addListeners(e,!0)}))},beforeDestroy:function(){this._removeListeners(this.id)},methods:{_addListeners:function(e,i){var r=this;if(!i||e){var o=this.$options.listeners;Object(n["f"])(o)&&Object.keys(o).forEach((function(n){i?0!==n.indexOf("@")&&0!==n.indexOf("uni-")&&t.on("uni-".concat(n,"-").concat(r.$page.id,"-").concat(e),r[o[n]]):0===n.indexOf("@")?r.$on("uni-".concat(n.substr(1)),r[o[n]]):0===n.indexOf("uni-")?t.on(n,r[o[n]]):e&&t.on("uni-".concat(n,"-").concat(r.$page.id,"-").concat(e),r[o[n]])}))}},_removeListeners:function(e,i){var r=this;if(!i||e){var o=this.$options.listeners;Object(n["f"])(o)&&Object.keys(o).forEach((function(n){i?0!==n.indexOf("@")&&0!==n.indexOf("uni-")&&t.off("uni-".concat(n,"-").concat(r.$page.id,"-").concat(e),r[o[n]]):0===n.indexOf("@")?r.$off("uni-".concat(n.substr(1)),r[o[n]]):0===n.indexOf("uni-")?t.off(n,r[o[n]]):e&&t.off("uni-".concat(n,"-").concat(r.$page.id,"-").concat(e),r[o[n]])}))}}}}}).call(this,i("501c"))},"8aec":function(t,e,i){"use strict";var n=i("5363"),r=i("72b3");function o(t,e,i){this._extent=t,this._friction=e||new n["a"](.01),this._spring=i||new r["a"](1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}function s(t,e,i){function n(t,e,i,r){if(!t||!t.cancelled){i(e);var o=e.done();o||t.cancelled||(t.id=requestAnimationFrame(n.bind(null,t,e,i,r))),o&&r&&r(e)}}function r(t){t&&t.id&&cancelAnimationFrame(t.id),t&&(t.cancelled=!0)}var o={id:0,cancelled:!1};return n(o,t,e,i),{cancel:r.bind(null,o),model:t}}function a(t,e){e=e||{},this._element=t,this._options=e,this._enableSnap=e.enableSnap||!1,this._itemSize=e.itemSize||0,this._enableX=e.enableX||!1,this._enableY=e.enableY||!1,this._shouldDispatchScrollEvent=!!e.onScroll,this._enableX?(this._extent=(e.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=e.scrollWidth):(this._extent=(e.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=e.scrollHeight),this._position=0,this._scroll=new o(this._extent,e.friction,e.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}o.prototype.snap=function(t,e){this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(e)},o.prototype.set=function(t,e){this._friction.set(t,e),t>0&&e>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(0)):t<-this._extent&&e<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(t),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()},o.prototype.x=function(t){if(!this._startTime)return 0;if(t||(t=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;var e=this._friction.x(t),i=this.dx(t);return(e>0&&i>=0||e<-this._extent&&i<=0)&&(this._springing=!0,this._spring.setEnd(0,i),e<-this._extent?this._springOffset=-this._extent:this._springOffset=0,e=this._spring.x()+this._springOffset),e},o.prototype.dx=function(t){var e=0;return e=this._lastTime===t?this._lastDx:this._springing?this._spring.dx(t):this._friction.dx(t),this._lastTime=t,this._lastDx=e,e},o.prototype.done=function(){return this._springing?this._spring.done():this._friction.done()},o.prototype.setVelocityByEnd=function(t){this._friction.setVelocityByEnd(t)},o.prototype.configuration=function(){var t=this._friction.configuration();return t.push.apply(t,this._spring.configuration()),t},a.prototype.onTouchStart=function(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()},a.prototype.onTouchMove=function(t,e){var i=this._startPosition;this._enableX?i+=t:this._enableY&&(i+=e),i>0?i*=.5:i<-this._extent&&(i=.5*(i+this._extent)-this._extent),this._position=i,this.updatePosition(),this.dispatchScroll()},a.prototype.onTouchEnd=function(t,e,i){var n=this;if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(e)this._itemSize/2?r-(this._itemSize-Math.abs(o)):r-o;a<=0&&a>=-this._extent&&this._scroll.setVelocityByEnd(a)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=s(this._scroll,(function(){var t=Date.now(),e=(t-n._scroll._startTime)/1e3,i=n._scroll.x(e);n._position=i,n.updatePosition();var r=n._scroll.dx(e);n._shouldDispatchScrollEvent&&t-n._lastTime>n._lastDelay&&(n.dispatchScroll(),n._lastDelay=Math.abs(2e3/r),n._lastTime=t)}),(function(){n._enableSnap&&(a<=0&&a>=-n._extent&&(n._position=a,n.updatePosition()),"function"===typeof n._options.onSnap&&n._options.onSnap(Math.floor(Math.abs(n._position)/n._itemSize))),n._shouldDispatchScrollEvent&&n.dispatchScroll(),n._scrolling=!1}))},a.prototype.onTransitionEnd=function(){this._element.style.transition="",this._element.style.webkitTransition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._element.removeEventListener("webkitTransitionEnd",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()},a.prototype.snap=function(){var t=this._itemSize,e=this._position%t,i=Math.abs(e)>this._itemSize/2?this._position-(t-Math.abs(e)):this._position-e;this._position!==i&&(this._snapping=!0,this.scrollTo(-i),"function"===typeof this._options.onSnap&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))},a.prototype.scrollTo=function(t,e){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"===typeof t&&(this._position=-t),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0),this._element.style.transition="transform "+(e||.2)+"s ease-out",this._element.style.webkitTransition="-webkit-transform "+(e||.2)+"s ease-out",this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd),this._element.addEventListener("webkitTransitionEnd",this._onTransitionEnd)},a.prototype.dispatchScroll=function(){if("function"===typeof this._options.onScroll&&Math.round(this._lastPos)!==Math.round(this._position)){this._lastPos=this._position;var t={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(t)}},a.prototype.update=function(t,e,i){var n=0,r=this._position;this._enableX?(n=this._element.childNodes.length?(e||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=e):(n=this._element.childNodes.length?(e||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=e),"number"===typeof t&&(this._position=-t),this._position<-n?this._position=-n:this._position>0&&(this._position=0),this._itemSize=i||this._itemSize,this.updatePosition(),r!==this._position&&(this.dispatchScroll(),"function"===typeof this._options.onSnap&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=n,this._scroll._extent=n},a.prototype.updatePosition=function(){var t="";this._enableX?t="translateX("+this._position+"px) translateZ(0)":this._enableY&&(t="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=t,this._element.style.transform=t},a.prototype.isScrolling=function(){return this._scrolling||this._snapping};e["a"]={methods:{initScroller:function(t,e){this._touchInfo={trackingID:-1,maxDy:0,maxDx:0},this._scroller=new a(t,e),this.__handleTouchStart=this._handleTouchStart.bind(this),this.__handleTouchMove=this._handleTouchMove.bind(this),this.__handleTouchEnd=this._handleTouchEnd.bind(this),this._initedScroller=!0},_findDelta:function(t){var e=this._touchInfo;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:t.screenX-e.x,y:t.screenY-e.y}},_handleTouchStart:function(t){var e=this._touchInfo,i=this._scroller;i&&("start"===t.detail.state?(e.trackingID="touch",e.x=t.detail.x,e.y=t.detail.y):(e.trackingID="mouse",e.x=t.screenX,e.y=t.screenY),e.maxDx=0,e.maxDy=0,e.historyX=[0],e.historyY=[0],e.historyTime=[t.detail.timeStamp],e.listener=i,i.onTouchStart&&i.onTouchStart(),event.preventDefault())},_handleTouchMove:function(t){var e=this._touchInfo;if(-1!==e.trackingID){t.preventDefault();var i=this._findDelta(t);if(i){for(e.maxDy=Math.max(e.maxDy,Math.abs(i.y)),e.maxDx=Math.max(e.maxDx,Math.abs(i.x)),e.historyX.push(i.x),e.historyY.push(i.y),e.historyTime.push(t.detail.timeStamp);e.historyTime.length>10;)e.historyTime.shift(),e.historyX.shift(),e.historyY.shift();e.listener&&e.listener.onTouchMove&&e.listener.onTouchMove(i.x,i.y,t.detail.timeStamp)}}},_handleTouchEnd:function(t){var e=this._touchInfo;if(-1!==e.trackingID){t.preventDefault();var i=this._findDelta(t);if(i){var n=e.listener;e.trackingID=-1,e.listener=null;var r=e.historyTime.length,o={x:0,y:0};if(r>2)for(var s=e.historyTime.length-1,a=e.historyTime[s],c=e.historyX[s],u=e.historyY[s];s>0;){s--;var l=e.historyTime[s],h=a-l;if(h>30&&h<50){o.x=(c-e.historyX[s])/(h/1e3),o.y=(u-e.historyY[s])/(h/1e3);break}}e.historyTime=[],e.historyX=[],e.historyY=[],n&&n.onTouchEnd&&n.onTouchEnd(i.x,i.y,o)}}}}}},"8af1":function(t,e,i){"use strict";function n(t,e){for(var i=this.$children,r=i.length,o=arguments.length,s=new Array(o>2?o-2:0),a=2;a2?r-2:0),s=2;s2?i-2:0),o=2;o1&&void 0!==arguments[1]?arguments[1]:{};e.routes;Object(r["a"])();var i=function(t,e){for(var i=t.target;i&&i!==e;i=i.parentNode)if(i.tagName&&0===i.tagName.indexOf("UNI-"))break;return i};t.prototype.$handleEvent=function(t){if(t instanceof Event){var e=i(t,this.$el);t=r["b"].call(this,t.type,t,{},e||t.target,t.currentTarget)}return t},t.prototype.$getComponentDescriptor=function(t,e){return Object(s["a"])(t||this,e)},t.prototype.$handleWxsEvent=function(t){if(t instanceof Event){var e=t.currentTarget,n=e&&e.__vue__&&e.__vue__.$getComponentDescriptor(e.__vue__,!1);t=r["b"].call(this,t.type,t,{},i(t,this.$el)||t.target,t.currentTarget),t.instance=n}return t},t.mixin({beforeCreate:function(){var t=this,e=this.$options,i=e.wxs;i&&Object.keys(i).forEach((function(e){t[e]=i[e]})),e.behaviors&&e.behaviors.length&&Object(o["a"])(e,this),Object(n["a"])(this)&&(e.mounted=e.mounted?[].concat(a,e.mounted):[a])}})}}}).call(this,i("501c"))},9213:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-swiper-item",t._g({},t.$listeners),[t._t("default")],2)},r=[],o={name:"SwiperItem",props:{itemId:{type:String,default:""}},mounted:function(){var t=this.$el;t.style.position="absolute",t.style.width="100%",t.style.height="100%";var e=this.$vnode._callbacks;e&&e.forEach((function(t){t()}))}},s=o,a=(i("bfea"),i("2877")),c=Object(a["a"])(s,n,r,!1,null,null,null);e["default"]=c.exports},"927d":function(t,e,i){},9400:function(t,e,i){"use strict";var n=i("cc89"),r=i.n(n);r.a},"944e":function(t,e,i){"use strict";var n=i("a6bb"),r=i.n(n);r.a},9856:function(t,e,i){"use strict";i.d(e,"a",(function(){return r})),i.d(e,"b",(function(){return o}));var n=[];function r(){return n}function o(t,e){n.length=0,n.push({$page:{id:t,route:e}})}},"98e0":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-picker",t._g({on:{click:function(e){return e.stopPropagation(),t._show(e)}}},t.$listeners),[t._t("default")],2)},r=[],o=i("8af1"),s=i("1364"),a={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},c={YEAR:"year",MONTH:"month",DAY:"day"};function u(t){return t>9?t:"0".concat(t)}function l(t,e){var i=new Date;return e===a.TIME?(t=t.split(":"),2===t.length&&i.setHours(parseInt(t[0]),parseInt(t[1]))):(t=t.split("-"),3===t.length&&i.setFullYear(parseInt(t[0]),parseInt(t[1]-1),parseInt(t[2]))),i}var h={name:"Picker",mixins:[o["a"]],props:{name:{type:String,default:""},range:{type:Array,default:function(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:a.SELECTOR,validator:function(t){return Object.values(a).indexOf(t)>=0}},fields:{type:String,default:"day",validator:function(t){return Object.values(c).indexOf(t)>=0}},start:{type:String,default:function(){if(this.mode===a.TIME)return"00:00";if(this.mode===a.DATE){var t=(new Date).getFullYear()-60;switch(this.fields){case c.YEAR:return t;case c.MONTH:return t+"-01";case c.DAY:return t+"-01-01"}}return""}},end:{type:String,default:function(){if(this.mode===a.TIME)return"23:59";if(this.mode===a.DATE){var t=(new Date).getFullYear()+60;switch(this.fields){case c.YEAR:return t;case c.MONTH:return t+"-12";case c.DAY:return t+"-12-31"}}return""}},disabled:{type:[Boolean,String],default:!1}},created:function(){var t=this;this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this}),Object.keys(this.$props).forEach((function(e){"name"!==e&&t.$watch(e,(function(i){var n={};n[e]=i,t._updatePicker(n)}))}))},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_show:function(){this.disabled||this._showPicker(Object.assign({},this.$props))},_showPicker:function(t){var e=this;if(this.mode===a.TIME||this.mode===a.DATE)plus.nativeUI[this.mode===a.TIME?"pickTime":"pickDate"]((function(t){var i=t.date;e.$trigger("change",{},{value:e.mode===a.TIME?"".concat(u(i.getHours()),":").concat(u(i.getMinutes())):"".concat(i.getFullYear(),"-").concat(u(i.getMonth()+1),"-").concat(u(i.getDate()))})}),(function(){e.$trigger("cancel",{},{})}),this.mode===a.TIME?{time:l(this.value,a.TIME)}:{date:l(this.value,a.DATE),minDate:l(this.start,a.DATE),maxDate:l(this.end,a.DATE)});else{var i={event:"cancel"};this.page=Object(s["a"])({url:"__uniapppicker",data:t,style:{titleNView:!1,animationType:"none",animationDuration:0,background:"rgba(0,0,0,0)",popGesture:"none"},onMessage:function(n){var r=n.event;if("created"!==r)return"columnchange"===r?(delete n.event,void e.$trigger(r,{},n)):void(i=n);e._updatePicker(t)},onClose:function(){e.page=null;var t=i.event;delete i.event,e.$trigger(t,{},i)}})}},_updatePicker:function(t){this.page&&this.page.sendMessage(t)}}},d=h,f=(i("76a8"),i("2877")),p=Object(f["a"])(d,n,r,!1,null,null,null);e["default"]=p.exports},"9a8b":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-icon",t._g({},t.$listeners),[i("i",{class:"uni-icon-"+t.type,style:{"font-size":t._converPx(t.size),color:t.color},attrs:{role:"img"}})])},r=[],o={name:"Icon",props:{type:{type:String,required:!0,default:""},size:{type:[String,Number],default:23},color:{type:String,default:""}},methods:{_converPx:function(t){if(/\d+[ur]px$/i.test(t))t.replace(/\d+[ur]px$/i,(function(t){return"".concat(uni.upx2px(parseFloat(t)),"px")}));else if(/^-?[\d\.]+$/.test(t))return"".concat(t,"px");return t||""}}},s=o,a=(i("7e6a"),i("2877")),c=Object(a["a"])(s,n,r,!1,null,null,null);e["default"]=c.exports},"9b1f":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-progress",t._g({staticClass:"uni-progress"},t.$listeners),[i("div",{staticClass:"uni-progress-bar",style:t.outerBarStyle},[i("div",{staticClass:"uni-progress-inner-bar",style:t.innerBarStyle})]),t.showInfo?[i("p",{staticClass:"uni-progress-info"},[t._v(t._s(t.currentPercent)+"%")])]:t._e()],2)},r=[],o={activeColor:"#007AFF",backgroundColor:"#EBEBEB",activeMode:"backwards"},s={name:"Progress",props:{percent:{type:[Number,String],default:0,validator:function(t){return!isNaN(parseFloat(t,10))}},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator:function(t){return!isNaN(parseFloat(t,10))}},color:{type:String,default:o.activeColor},activeColor:{type:String,default:o.activeColor},backgroundColor:{type:String,default:o.backgroundColor},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:o.activeMode}},data:function(){return{currentPercent:0,strokeTimer:0,lastPercent:0}},computed:{outerBarStyle:function(){return"background-color: ".concat(this.backgroundColor,"; height: ").concat(this.strokeWidth,"px;")},innerBarStyle:function(){var t="";return t=this.color!==o.activeColor&&this.activeColor===o.activeColor?this.color:this.activeColor,"width: ".concat(this.currentPercent,"%;background-color: ").concat(t)},realPercent:function(){var t=parseFloat(this.percent,10);return t<0&&(t=0),t>100&&(t=100),t}},watch:{realPercent:function(t,e){this.strokeTimer&&clearInterval(this.strokeTimer),this.lastPercent=e||0,this._activeAnimation()}},created:function(){this._activeAnimation()},methods:{_activeAnimation:function(){var t=this;this.active?(this.currentPercent=this.activeMode===o.activeMode?0:this.lastPercent,this.strokeTimer=setInterval((function(){t.currentPercent+1>t.realPercent?(t.currentPercent=t.realPercent,t.strokeTimer&&clearInterval(t.strokeTimer)):t.currentPercent+=1}),30)):this.currentPercent=this.realPercent}}},a=s,c=(i("944e"),i("2877")),u=Object(c["a"])(a,n,r,!1,null,null,null);e["default"]=u.exports},"9d20":function(t,e,i){"use strict";(function(t){i.d(e,"a",(function(){return d}));var n=i("f2b3"),r=i("a20d");function o(t,e){return c(t)||a(t,e)||s()}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function a(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var i=[],n=!0,r=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done);n=!0)if(i.push(s.value),e&&i.length===e)break}catch(c){r=!0,o=c}finally{try{n||null==a["return"]||a["return"]()}finally{if(r)throw o}}return i}}function c(t){if(Array.isArray(t))return t}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.addBatchVData.push([t,e,i])}},{key:"updateVData",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.updateBatchVData.push([t,e])}},{key:"initVm",value:function(t){var e=this.addBatchVData.shift(),i=o(e,3),r=i[0],s=i[1],a=i[2];r?t._$id=r:(t._$id=Object(n["c"])(),console.error("cid unmatched",t)),Object.assign(t.$options,a),t.$r=s||Object.create(null),this.vms[t._$id]=t}},{key:"sendUIEvent",value:function(e,i,n){t.publishHandler(r["h"],{data:[[r["f"],[[e,i,n]]]],options:{timestamp:Date.now()}})}},{key:"clearAddBatchVData",value:function(){this.addBatchVData.length=0}},{key:"flush",value:function(){var t=this;this.updateBatchVData.forEach((function(e){var i=o(e,2),n=i[0],r=i[1],s=t.vms[n];if(!s)return console.error("Not found ".concat(n));Object.keys(r).forEach((function(t){Object.assign(s.$r[t]||(s.$r[t]=Object.create(null)),r[t])})),s.$forceUpdate()})),this.updateBatchVData.length=0}}]),e}()}).call(this,i("501c"))},"9f96":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-slider",t._g({ref:"uni-slider",on:{click:t._onClick}},t.$listeners),[i("div",{staticClass:"uni-slider-wrapper"},[i("div",{staticClass:"uni-slider-tap-area"},[i("div",{staticClass:"uni-slider-handle-wrapper",style:t.setBgColor},[i("div",{ref:"uni-slider-handle",staticClass:"uni-slider-handle",style:t.setBlockBg}),i("div",{staticClass:"uni-slider-thumb",style:t.setBlockStyle}),i("div",{staticClass:"uni-slider-track",style:t.setActiveColor})])]),i("span",{directives:[{name:"show",rawName:"v-show",value:t.showValue,expression:"showValue"}],staticClass:"uni-slider-value"},[t._v(t._s(t.sliderValue))])]),t._t("default")],2)},r=[],o=i("8af1"),s=i("ba15"),a={name:"Slider",mixins:[o["a"],o["d"],s["a"]],props:{name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#e9e9e9"},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#007aff"},selectedColor:{type:String,default:"#007aff"},blockColor:{type:String,default:"#ffffff"},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},data:function(){return{sliderValue:Number(this.value)}},computed:{setBlockStyle:function(){return{width:this.blockSize+"px",height:this.blockSize+"px",marginLeft:-this.blockSize/2+"px",marginTop:-this.blockSize/2+"px",left:this._getValueWidth(),backgroundColor:this.blockColor}},setBgColor:function(){return{backgroundColor:this._getBgColor()}},setBlockBg:function(){return{left:this._getValueWidth()}},setActiveColor:function(){return{backgroundColor:this._getActiveColor(),width:this._getValueWidth()}}},watch:{value:function(t){this.sliderValue=Number(t)}},mounted:function(){this.touchtrack(this.$refs["uni-slider-handle"],"_onTrack")},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:{_onUserChangedValue:function(t){var e=this.$refs["uni-slider"],i=e.offsetWidth,n=e.getBoundingClientRect().left,r=(t.x-n)*(this.max-this.min)/i+Number(this.min);this.sliderValue=this._filterValue(r)},_filterValue:function(t){return tthis.max?this.max:Math.round((t-this.min)/this.step)*this.step+Number(this.min)},_getValueWidth:function(){return 100*(this.sliderValue-this.min)/(this.max-this.min)+"%"},_getBgColor:function(){return"#e9e9e9"!==this.backgroundColor?this.backgroundColor:"#007aff"!==this.color?this.color:"#007aff"},_getActiveColor:function(){return"#007aff"!==this.activeColor?this.activeColor:"#e9e9e9"!==this.selectedColor?this.selectedColor:"#e9e9e9"},_onTrack:function(t){if(!this.disabled)return"move"===t.detail.state?(this._onUserChangedValue({x:t.detail.x0}),this.$trigger("changing",t,{value:this.sliderValue}),!1):void("end"===t.detail.state&&this.$trigger("change",t,{value:this.sliderValue}))},_onClick:function(t){this.disabled||(this._onUserChangedValue(t),this.$trigger("change",t,{value:this.sliderValue}))},_resetFormData:function(){this.sliderValue=this.min},_getFormData:function(){var t={};return""!==this.name&&(t["value"]=this.sliderValue,t["key"]=this.name),t}}},c=a,u=(i("6428"),i("2877")),l=Object(u["a"])(c,n,r,!1,null,null,null);e["default"]=l.exports},a20d:function(t,e,i){"use strict";i.d(e,"d",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"g",(function(){return o})),i.d(e,"e",(function(){return s})),i.d(e,"f",(function(){return a})),i.d(e,"h",(function(){return c})),i.d(e,"a",(function(){return u})),i.d(e,"k",(function(){return l})),i.d(e,"i",(function(){return h})),i.d(e,"b",(function(){return d})),i.d(e,"j",(function(){return f})),i.d(e,"l",(function(){return p}));var n=2,r=4,o=6,s=10,a=20,c="vdSync",u="__uniapp__service",l="webviewReady",h="vdSyncCallback",d="invokeApi",f="webviewInserted",p="webviewRemoved"},a20f:function(t,e,i){"use strict";i.d(e,"a",(function(){return n})),i.d(e,"b",(function(){return a}));var n=function(){var t=document.createElement("canvas"),e=t.getContext("2d"),i=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/i}(),r=function(t,e){for(var i in t)t.hasOwnProperty(i)&&e(t[i],i)},o={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",setTransform:[4,5]};if(1!==n){var s=CanvasRenderingContext2D.prototype;r(o,(function(t,e){s[e]=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);var i=Array.prototype.slice.call(arguments);if("all"===t)i=i.map((function(t){return t*n}));else if(Array.isArray(t))for(var r=0;r0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return S({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(t,e){if(t instanceof n)M(N(i.prototype),"insertBefore",this).call(this,t,e);else{var r=null==e?this.length():e.offset(this),o=this.split(r);o.parent.insertBefore(t,o)}}},{key:"optimize",value:function(t){M(N(i.prototype),"optimize",this).call(this,t);var e=this.next;null!=e&&e.prev===this&&e.statics.blotName===this.statics.blotName&&e.domNode.tagName===this.domNode.tagName&&e.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(e.moveChildren(this),e.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=e.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}M(N(i.prototype),"replace",this).call(this,t)}}]),i}(i);return r.blotName="list",r.scope=e.Scope.BLOCK_BLOT,r.tagName=["OL","UL"],r.defaultChild="list-item",r.allowedChildren=[n],{"formats/list":r}},L=function(t){var e=t.import("parchment"),i=e.Scope,n=t.import("formats/background"),r=new n.constructor("backgroundColor","background-color",{scope:i.INLINE});return{"formats/backgroundColor":r}},D=i("f2b3"),j=function(t){var e=t.import("parchment"),i=e.Scope,n=e.Attributor,r={scope:i.BLOCK},o=["margin","marginTop","marginBottom","marginLeft","marginRight"],s=["padding","paddingTop","paddingBottom","paddingLeft","paddingRight"],a={};return o.concat(s).forEach((function(t){a["formats/".concat(t)]=new n.Style(t,Object(D["g"])(t),r)})),a},A=function(t){var e=t.import("parchment"),i=e.Scope,n=e.Attributor,r={scope:i.INLINE},o=["font","fontSize","fontStyle","fontVariant","fontWeight","fontFamily"],s={};return o.forEach((function(t){s["formats/".concat(t)]=new n.Style(t,Object(D["g"])(t),r)})),s},R=function(t){var e=t.import("parchment"),i=e.Scope,n=e.Attributor,r=[{name:"lineHeight",scope:i.BLOCK},{name:"letterSpacing",scope:i.INLINE},{name:"textDecoration",scope:i.INLINE},{name:"textIndent",scope:i.BLOCK}],o={};return r.forEach((function(t){var e=t.name,i=t.scope;o["formats/".concat(e)]=new n.Style(e,Object(D["g"])(e),{scope:i})})),o},F=function(t){var e=t.import("formats/image");e.sanitize=function(t){return t}};function B(t){var e={divider:l,ins:_,align:b,direction:y,list:P,background:L,box:j,font:A,text:R,image:F},i={};Object.values(e).forEach((function(e){return Object.assign(i,e(t))})),t.register(i,!0)}i.d(e,"a",(function(){return B}))},b2bb:function(t,e,i){},b34d:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-form",t._g({},t.$listeners),[i("span",[t._t("default")],2)])},r=[],o=i("8af1"),s={name:"Form",mixins:[o["d"]],data:function(){return{childrenList:[]}},listeners:{"@form-submit":"_onSubmit","@form-reset":"_onReset","@form-group-update":"_formGroupUpdateHandler"},methods:{_onSubmit:function(t){var e={};this.childrenList.forEach((function(t){t._getFormData&&t._getFormData().key&&(e[t._getFormData().key]=t._getFormData().value)})),this.$trigger("submit",t,{value:e})},_onReset:function(t){this.$trigger("reset",t,{}),this.childrenList.forEach((function(t){t._resetFormData&&t._resetFormData()}))},_formGroupUpdateHandler:function(t){if("add"===t.type)this.childrenList.push(t.vm);else{var e=this.childrenList.indexOf(t.vm);this.childrenList.splice(e,1)}}}},a=s,c=i("2877"),u=Object(c["a"])(a,n,r,!1,null,null,null);e["default"]=u.exports},b705:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-rich-text",t._g({},t.$listeners),[i("div")])},r=[],o=i("18fd");function s(t){return t.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}function a(t){return t.reduce((function(t,e){var i=e.value,n=e.name;return i.match(/ /)&&"style"!==n&&(i=i.split(" ")),t[n]?Array.isArray(t[n])?t[n].push(i):t[n]=[t[n],i]:t[n]=i,t}),{})}function c(t){t=s(t);var e=[],i={node:"root",children:[]};return Object(o["a"])(t,{start:function(t,n,r){var o={name:t};if(0!==n.length&&(o.attrs=a(n)),r){var s=e[0]||i;s.children||(s.children=[]),s.children.push(o)}else e.unshift(o)},end:function(t){var n=e.shift();if(n.name!==t&&console.error("invalid state: mismatch end tag"),0===e.length)i.children.push(n);else{var r=e[0];r.children||(r.children=[]),r.children.push(n)}},chars:function(t){var n={type:"text",text:t};if(0===e.length)i.children.push(n);else{var r=e[0];r.children||(r.children=[]),r.children.push(n)}},comment:function(t){var i={node:"comment",text:t},n=e[0];n.children||(n.children=[]),n.children.push(i)}}),i.children}var u=i("f2b3"),l={a:"",abbr:"",b:"",blockquote:"",br:"",code:"",col:["span","width"],colgroup:["span","width"],dd:"",del:"",div:"",dl:"",dt:"",em:"",fieldset:"",h1:"",h2:"",h3:"",h4:"",h5:"",h6:"",hr:"",i:"",img:["alt","src","height","width"],ins:"",label:"",legend:"",li:"",ol:["start","type"],p:"",q:"",span:"",strong:"",sub:"",sup:"",table:["width"],tbody:"",td:["colspan","rowspan","height","width"],tfoot:"",th:["colspan","rowspan","height","width"],thead:"",tr:"",ul:""},h={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'"};function d(t){return t.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,(function(t,e){if(Object(u["d"])(h,e)&&h[e])return h[e];if(/^#[0-9]{1,4}$/.test(e))return String.fromCharCode(e.slice(1));if(/^#x[0-9a-f]{1,4}$/i.test(e))return String.fromCharCode("0"+e.slice(1));var i=document.createElement("div");return i.innerHTML=t,i.innerText||i.textContent}))}function f(t,e){return t.forEach((function(t){if(Object(u["f"])(t))if(Object(u["d"])(t,"type")&&"node"!==t.type)"text"===t.type&&"string"===typeof t.text&&""!==t.text&&e.appendChild(document.createTextNode(d(t.text)));else{if("string"!==typeof t.name||!t.name)return;var i=t.name.toLowerCase();if(!Object(u["d"])(l,i))return;var n=document.createElement(i);if(!n)return;var r=t.attrs;if(Object(u["f"])(r)){var o=l[i]||[];Object.keys(r).forEach((function(t){var e=r[t];switch(t){case"class":Array.isArray(e)&&(e=e.join(" "));case"style":n.setAttribute(t,e);break;default:-1!==o.indexOf(t)&&n.setAttribute(t,e)}}))}var s=t.children;Array.isArray(s)&&s.length&&f(t.children,n),e.appendChild(n)}})),e}var p={name:"RichText",props:{nodes:{type:[Array,String],default:function(){return[]}}},watch:{nodes:function(t){this._renderNodes(t)}},mounted:function(){this._renderNodes(this.nodes)},methods:{_renderNodes:function(t){"string"===typeof t&&(t=c(t));var e=f(t,document.createDocumentFragment());this.$el.firstChild.innerHTML="",this.$el.firstChild.appendChild(e)}}},m=p,g=i("2877"),v=Object(g["a"])(m,n,r,!1,null,null,null);e["default"]=v.exports},ba15:function(t,e,i){"use strict";var n=function(t,e,i,n){t.addEventListener(e,(function(t){"function"===typeof i&&!1===i(t)&&(t.preventDefault(),t.stopPropagation())}),{passive:!1})};e["a"]={methods:{touchtrack:function(t,e,i){var r=this,o=0,s=0,a=0,c=0,u=function(t,i,n,u){if(!1===r[e]({target:t.target,currentTarget:t.currentTarget,preventDefault:t.preventDefault.bind(t),stopPropagation:t.stopPropagation.bind(t),touches:t.touches,changedTouches:t.changedTouches,detail:{state:i,x0:n,y0:u,dx:n-o,dy:u-s,ddx:n-a,ddy:u-c,timeStamp:t.timeStamp}}))return!1},l=null;n(t,"touchstart",(function(t){if(1===t.touches.length&&!l)return l=t,o=a=t.touches[0].pageX,s=c=t.touches[0].pageY,u(t,"start",o,s)})),n(t,"touchmove",(function(t){if(1===t.touches.length&&l){var e=u(t,"move",t.touches[0].pageX,t.touches[0].pageY);return a=t.touches[0].pageX,c=t.touches[0].pageY,e}})),n(t,"touchend",(function(t){if(0===t.touches.length&&l)return l=null,u(t,"end",t.changedTouches[0].pageX,t.changedTouches[0].pageY)})),n(t,"touchcancel",(function(t){if(l){var e=l;return l=null,u(t,i?"cancel":"end",e.touches[0].pageX,e.touches[0].pageY)}}))}}}},bacd:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-canvas",t._g({attrs:{"canvas-id":t.canvasId,"disable-scroll":t.disableScroll}},t._listeners),[i("canvas",{ref:"canvas",attrs:{width:"300",height:"150"}}),i("div",{staticStyle:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",overflow:"hidden"}},[t._t("default")],2),i("v-uni-resize-sensor",{ref:"sensor",on:{resize:t._resize}})],1)},r=[],o=i("e1df"),s=o["a"],a=(i("0741"),i("2877")),c=Object(a["a"])(s,n,r,!1,null,null,null);e["default"]=c.exports},bfea:function(t,e,i){"use strict";var n=i("4e0b"),r=i.n(n);r.a},c0e5:function(t,e,i){},c33a:function(t,e,i){},c418:function(t,e,i){},c4c5:function(t,e,i){"use strict";(function(t,n){i.d(e,"a",(function(){return f}));var r=i("f2b3");function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var i=0;i1&&(e[i[0].trim()]=i[1].trim())}})),e}var d=function(){function e(t){o(this,e),this.$vm=t,this.$el=t.$el}return a(e,[{key:"selectComponent",value:function(t){if(this.$el&&t){var e=this.$el.querySelector(t);return e&&e.__vue__&&f(e.__vue__,!1)}}},{key:"selectAllComponents",value:function(t){if(!this.$el||!t)return[];for(var e=[],i=this.$el.querySelectorAll(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:{};this.$vm[e]?this.$vm[e](JSON.parse(JSON.stringify(i))):this.$vm._$id&&t.publishHandler("onWxsInvokeCallMethod",{cid:this.$vm._$id,method:e,args:i})}},{key:"requestAnimationFrame",value:function(t){return n.requestAnimationFrame(t),this}},{key:"getState",value:function(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}},{key:"triggerEvent",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.$vm.$emit(t,e),this}}]),e}();function f(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e&&t&&t.$options.name&&0===t.$options.name.indexOf("VUni")&&(t=t.$parent),t&&t.$el)return t.$el.__wxsComponentDescriptor||(t.$el.__wxsComponentDescriptor=new d(t)),t.$el.__wxsComponentDescriptor}}).call(this,i("501c"),i("c8ba"))},c61c:function(t,e,i){"use strict";i.r(e);var n=i("f2b3");function r(t){return Math.sqrt(t.x*t.x+t.y*t.y)}var o,s,a={name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},data:function(){return{width:0,height:0,items:[]}},created:function(){this.gapV={x:null,y:null},this.pinchStartLen=null},mounted:function(){this._resize()},methods:{_resize:function(){this._getWH(),this.items.forEach((function(t,e){t.componentInstance.setParent()}))},_find:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.items,i=this.$el;function n(t){for(var r=0;r1){var i={x:e[1].pageX-e[0].pageX,y:e[1].pageY-e[0].pageY};if(this.pinchStartLen=r(i),this.gapV=i,!this.scaleArea){var o=this._find(e[0].target),s=this._find(e[1].target);this._scaleMovableView=o&&o===s?o:null}}},_touchmove:function(t){var e=t.touches;if(e&&e.length>1){t.preventDefault();var i={x:e[1].pageX-e[0].pageX,y:e[1].pageY-e[0].pageY};if(null!==this.gapV.x&&this.pinchStartLen>0){var n=r(i)/this.pinchStartLen;this._updateScale(n)}this.gapV=i}},_touchend:function(t){Object(n["b"])({disable:!1});var e=t.touches;e&&e.length||t.changedTouches&&(this.gapV.x=0,this.gapV.y=0,this.pinchStartLen=null,this.scaleArea?this.items.forEach((function(t){t.componentInstance._endScale()})):this._scaleMovableView&&this._scaleMovableView.componentInstance._endScale())},_updateScale:function(t){t&&1!==t&&(this.scaleArea?this.items.forEach((function(e){e.componentInstance._setScale(t)})):this._scaleMovableView&&this._scaleMovableView.componentInstance._setScale(t))},_getWH:function(){var t=window.getComputedStyle(this.$el),e=this.$el.getBoundingClientRect();this.width=e.width-["Left","Right"].reduce((function(e,i){return e+parseFloat(t["border"+i+"Width"])+parseFloat(t["padding"+i])}),0),this.height=e.height-["Top","Bottom"].reduce((function(e,i){return e+parseFloat(t["border"+i+"Width"])+parseFloat(t["padding"+i])}),0)}},render:function(t){var e=this,i=[];this.$slots.default&&this.$slots.default.forEach((function(t){t.componentOptions&&"v-uni-movable-view"===t.componentOptions.tag&&i.push(t)})),this.items=i;var n=Object.assign({},this.$listeners),r=["touchstart","touchmove","touchend"];return r.forEach((function(t){var i=n[t],r=e["_".concat(t)];n[t]=i?[].concat(i,r):r})),t("uni-movable-area",{on:n},[t("v-uni-resize-sensor",{on:{resize:this._resize}})].concat(i))}},c=a,u=(i("a3e5"),i("2877")),l=Object(u["a"])(c,o,s,!1,null,null,null);e["default"]=l.exports},c8ba:function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(n){"object"===typeof window&&(i=window)}t.exports=i},c8ed:function(t,e,i){"use strict";var n=i("72ad"),r=i.n(n);r.a},c96e:function(t,e,i){"use strict";var n=i("1307"),r=i.n(n);r.a},cc89:function(t,e,i){},ce51:function(t,e,i){},d3bd:function(t,e,i){"use strict";i.r(e);var n,r,o=i("8af1"),s={name:"Button",mixins:[o["b"],o["a"],o["d"]],props:{hoverClass:{type:String,default:"button-hover"},disabled:{type:[Boolean,String],default:!1},id:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},formType:{type:String,default:"",validator:function(t){return~["","submit","reset"].indexOf(t)}}},data:function(){return{clickFunction:null}},methods:{_onClick:function(t,e){this.disabled||(e&&this.$el.click(),this.formType&&this.$dispatch("Form","submit"===this.formType?"uni-form-submit":"uni-form-reset",{type:this.formType}))},_bindObjectListeners:function(t,e){if(e)for(var i in e){var n=t.on[i],r=e[i];t.on[i]=n?[].concat(n,r):r}return t}},render:function(t){var e=this,i=Object.create(null);return this.$listeners&&Object.keys(this.$listeners).forEach((function(t){(!e.disabled||"click"!==t&&"tap"!==t)&&(i[t]=e.$listeners[t])})),this.hoverClass&&"none"!==this.hoverClass?t("uni-button",this._bindObjectListeners({class:[this.hovering?this.hoverClass:""],attrs:{disabled:this.disabled},on:{touchstart:this._hoverTouchStart,touchend:this._hoverTouchEnd,touchcancel:this._hoverTouchCancel,click:this._onClick}},i),this.$slots.default):t("uni-button",this._bindObjectListeners({class:[this.hovering?this.hoverClass:""],attrs:{disabled:this.disabled},on:{click:this._onClick}},i),this.$slots.default)},listeners:{"label-click":"_onClick","@label-click":"_onClick"}},a=s,c=(i("5676"),i("2877")),u=Object(c["a"])(a,n,r,!1,null,null,null);e["default"]=u.exports},d4b6:function(t,e,i){"use strict";var n=i("f2b3"),r=i("85b6");function o(t){return Object.assign({mp:t,_processed:!0},t)}var s=i("1e88");function a(t,e){arguments.length>2&&void 0!==arguments[2]&&arguments[2];var i={id:t.id,offsetLeft:t.offsetLeft,offsetTop:t.offsetTop,dataset:Object(r["b"])(t.dataset)};return e&&Object.assign(i,e),i}function c(t){if(t){for(var e=[],i=Object(s["a"])(),n=i.top,r=0;r1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(e._processed)return e.type=i.type||t,e;if("click"===t){var u=Object(s["a"])(),l=u.top;i={x:e.x,y:e.y-l},e.touches=e.changedTouches=[{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY}]}var h=o({type:i.type||t,timeStamp:e.timeStamp||0,detail:i,target:a(n,i),currentTarget:a(r,!1,!0),touches:e instanceof Event||e instanceof CustomEvent?c(e.touches):e.touches,changedTouches:e instanceof Event||e instanceof CustomEvent?c(e.changedTouches):e.changedTouches,preventDefault:function(){},stopPropagation:function(){}}),d=r.getAttribute("_i");return h.options={nid:d},h}i.d(e,"b",(function(){return u})),i.d(e,"a",(function(){return b}));var l=350,h=10,d=!!n["i"]&&{passive:!0},f=!1;function p(){f&&(clearTimeout(f),f=!1)}var m=0,g=0;function v(t){if(p(),1===t.touches.length){var e=t.touches[0],i=e.pageX,n=e.pageY;m=i,g=n,f=setTimeout((function(){var e=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:t.target,currentTarget:t.currentTarget});e.touches=t.touches,e.changedTouches=t.changedTouches,t.target.dispatchEvent(e)}),l)}}function _(t){if(f){if(1!==t.touches.length)return p();var e=t.touches[0],i=e.pageX,n=e.pageY;return Math.abs(i-m)>h||Math.abs(n-g)>h?p():void 0}}function b(){window.addEventListener("touchstart",v,d),window.addEventListener("touchmove",_,d),window.addEventListener("touchend",p,d),window.addEventListener("touchcancel",p,d)}},d5ec:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("uni-radio-group",t._g({},t.$listeners),[t._t("default")],2)},r=[],o=i("8af1"),s={name:"RadioGroup",mixins:[o["a"],o["d"]],props:{name:{type:String,default:""}},data:function(){return{radioList:[]}},listeners:{"@radio-change":"_changeHandler","@radio-group-update":"_radioGroupUpdateHandler"},mounted:function(){this._resetRadioGroupValue(this.radioList.length-1)},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,e){var i=this.radioList.indexOf(e);this._resetRadioGroupValue(i,!0),this.$trigger("change",t,{value:e.radioValue})},_radioGroupUpdateHandler:function(t){if("add"===t.type)this.radioList.push(t.vm);else{var e=this.radioList.indexOf(t.vm);this.radioList.splice(e,1)}},_resetRadioGroupValue:function(t,e){var i=this;this.radioList.forEach((function(n,r){r!==t&&(e?i.radioList[r].radioChecked=!1:i.radioList.forEach((function(t,e){r>=e||i.radioList[e].radioChecked&&(i.radioList[r].radioChecked=!1)})))}))},_getFormData:function(){var t={};if(""!==this.name){var e="";this.radioList.forEach((function(t){t.radioChecked&&(e=t.value)})),t["value"]=e,t["key"]=this.name}return t}}},a=s,c=(i("fb61"),i("2877")),u=Object(c["a"])(a,n,r,!1,null,null,null);e["default"]=u.exports},d8c8:function(t,e,i){"use strict";var n,r,o=["top","left","right","bottom"],s={};function a(){return r="CSS"in window&&"function"==typeof CSS.supports?CSS.supports("top: env(safe-area-inset-top)")?"env":CSS.supports("top: constant(safe-area-inset-top)")?"constant":"":"",r}function c(){if(r="string"===typeof r?r:a(),r){var t=[],e=!1;try{var i=Object.defineProperty({},"passive",{get:function(){e={passive:!0}}});window.addEventListener("test",null,i)}catch(f){}var c=document.createElement("div");u(c,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),o.forEach((function(t){d(c,t)})),document.body.appendChild(c),l(),n=!0}else o.forEach((function(t){s[t]=0}));function u(t,e){var i=t.style;Object.keys(e).forEach((function(t){var n=e[t];i[t]=n}))}function l(e){e?t.push(e):t.forEach((function(t){t()}))}function d(t,i){var n=document.createElement("div"),o=document.createElement("div"),a=document.createElement("div"),c=document.createElement("div"),d=100,f=1e4,p={position:"absolute",width:d+"px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:r+"(safe-area-inset-"+i+")"};u(n,p),u(o,p),u(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),u(c,{transition:"0s",animation:"none",width:"250%",height:"250%"}),n.appendChild(a),o.appendChild(c),t.appendChild(n),t.appendChild(o),l((function(){n.scrollTop=o.scrollTop=f;var t=n.scrollTop,r=o.scrollTop;function s(){this.scrollTop!==(this===n?t:r)&&(n.scrollTop=o.scrollTop=f,t=n.scrollTop,r=o.scrollTop,h(i))}n.addEventListener("scroll",s,e),o.addEventListener("scroll",s,e)}));var m=getComputedStyle(n);Object.defineProperty(s,i,{configurable:!0,get:function(){return parseFloat(m.paddingBottom)}})}}function u(t){return n||c(),s[t]}var l=[];function h(t){l.length||setTimeout((function(){var t={};l.forEach((function(e){t[e]=s[e]})),l.length=0,d.forEach((function(e){e(t)}))}),0),l.push(t)}var d=[];function f(t){a()&&(n||c(),"function"===typeof t&&d.push(t))}function p(t){var e=d.indexOf(t);e>=0&&d.splice(e,1)}var m={get support(){return 0!=("string"===typeof r?r:a()).length},get top(){return u("top")},get left(){return u("left")},get right(){return u("right")},get bottom(){return u("bottom")},onChange:f,offChange:p};t.exports=m},db18:function(t,e,i){"use strict";var n=i("db76"),r=i.n(n);r.a},db76:function(t,e,i){},db8e:function(t,e,i){"use strict";function n(t,e){if(t===e._$id)return e;for(var i=e.$children,r=i.length,o=0;o=0;n--){var r=t[n];"."===r?t.splice(n,1):".."===r?(t.splice(n,1),i++):i&&(t.splice(n,1),i--)}if(e)for(;i--;i)t.unshift("..");return t}function n(t){"string"!==typeof t&&(t+="");var e,i=0,n=-1,r=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!r){i=e+1;break}}else-1===n&&(r=!1,n=e+1);return-1===n?"":t.slice(i,n)}function r(t,e){if(t.filter)return t.filter(e);for(var i=[],n=0;n=-1&&!n;o--){var s=o>=0?arguments[o]:t.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(e=s+"/"+e,n="/"===s.charAt(0))}return e=i(r(e.split("/"),(function(t){return!!t})),!n).join("/"),(n?"/":"")+e||"."},e.normalize=function(t){var n=e.isAbsolute(t),s="/"===o(t,-1);return t=i(r(t.split("/"),(function(t){return!!t})),!n).join("/"),t||n||(t="."),t&&s&&(t+="/"),(n?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,i){function n(t){for(var e=0;e=0;i--)if(""!==t[i])break;return e>i?[]:t.slice(e,i-e+1)}t=e.resolve(t).substr(1),i=e.resolve(i).substr(1);for(var r=n(t.split("/")),o=n(i.split("/")),s=Math.min(r.length,o.length),a=s,c=0;c=1;--o)if(e=t.charCodeAt(o),47===e){if(!r){n=o;break}}else r=!1;return-1===n?i?"/":".":i&&1===n?"/":t.slice(0,n)},e.basename=function(t,e){var i=n(t);return e&&i.substr(-1*e.length)===e&&(i=i.substr(0,i.length-e.length)),i},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,i=0,n=-1,r=!0,o=0,s=t.length-1;s>=0;--s){var a=t.charCodeAt(s);if(47!==a)-1===n&&(r=!1,n=s+1),46===a?-1===e?e=s:1!==o&&(o=1):-1!==e&&(o=-1);else if(!r){i=s+1;break}}return-1===e||-1===n||0===o||1===o&&e===n-1&&e===i+1?"":t.slice(e,n)};var o="b"==="ab".substr(-1)?function(t,e,i){return t.substr(e,i)}:function(t,e,i){return e<0&&(e=t.length+e),t.substr(e,i)}}).call(this,i("4362"))},e1df:function(t,e,i){"use strict";(function(t){var n=i("8af1"),r=i("a20f");function o(t){return c(t)||a(t)||s()}function s(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function a(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function c(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);eMath.abs(o-e.y))if(t.scrollX){if(0===s.scrollLeft&&r>e.x)return void(i=!1);if(s.scrollWidth===s.offsetWidth+s.scrollLeft&&re.y)return void(i=!1);if(s.scrollHeight===s.offsetHeight+s.scrollTop&&oi.scrollWidth-i.offsetWidth?t=i.scrollWidth-i.offsetWidth:"y"===e&&t>i.scrollHeight-i.offsetHeight&&(t=i.scrollHeight-i.offsetHeight);var n=0,r="";"x"===e?n=i.scrollLeft-t:"y"===e&&(n=i.scrollTop-t),0!==n&&(this.$refs.content.style.transition="transform .3s ease-out",this.$refs.content.style.webkitTransition="-webkit-transform .3s ease-out","x"===e?r="translateX("+n+"px) translateZ(0)":"y"===e&&(r="translateY("+n+"px) translateZ(0)"),this.$refs.content.removeEventListener("transitionend",this.__transitionEnd),this.$refs.content.removeEventListener("webkitTransitionEnd",this.__transitionEnd),this.__transitionEnd=this._transitionEnd.bind(this,t,e),this.$refs.content.addEventListener("transitionend",this.__transitionEnd),this.$refs.content.addEventListener("webkitTransitionEnd",this.__transitionEnd),"x"===e?i.style.overflowX="hidden":"y"===e&&(i.style.overflowY="hidden"),this.$refs.content.style.transform=r,this.$refs.content.style.webkitTransform=r)},_handleTrack:function(t){if("start"===t.detail.state)return this._x=t.detail.x,this._y=t.detail.y,void(this._noBubble=null);"end"===t.detail.state&&(this._noBubble=!1),null===this._noBubble&&this.scrollY&&(Math.abs(this._y-t.detail.y)/Math.abs(this._x-t.detail.x)>1?this._noBubble=!0:this._noBubble=!1),null===this._noBubble&&this.scrollX&&(Math.abs(this._x-t.detail.x)/Math.abs(this._y-t.detail.y)>1?this._noBubble=!0:this._noBubble=!1),this._x=t.detail.x,this._y=t.detail.y,this._noBubble&&t.stopPropagation()},_handleScroll:function(t){if(!(t.timeStamp-this._lastScrollTime<20)){this._lastScrollTime=t.timeStamp;var e=t.target;this.$trigger("scroll",t,{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,deltaX:this.lastScrollLeft-e.scrollLeft,deltaY:this.lastScrollTop-e.scrollTop}),this.scrollY&&(e.scrollTop<=this.upperThresholdNumber&&this.lastScrollTop-e.scrollTop>0&&t.timeStamp-this.lastScrollToUpperTime>200&&(this.$trigger("scrolltoupper",t,{direction:"top"}),this.lastScrollToUpperTime=t.timeStamp),e.scrollTop+e.offsetHeight+this.lowerThresholdNumber>=e.scrollHeight&&this.lastScrollTop-e.scrollTop<0&&t.timeStamp-this.lastScrollToLowerTime>200&&(this.$trigger("scrolltolower",t,{direction:"bottom"}),this.lastScrollToLowerTime=t.timeStamp)),this.scrollX&&(e.scrollLeft<=this.upperThresholdNumber&&this.lastScrollLeft-e.scrollLeft>0&&t.timeStamp-this.lastScrollToUpperTime>200&&(this.$trigger("scrolltoupper",t,{direction:"left"}),this.lastScrollToUpperTime=t.timeStamp),e.scrollLeft+e.offsetWidth+this.lowerThresholdNumber>=e.scrollWidth&&this.lastScrollLeft-e.scrollLeft<0&&t.timeStamp-this.lastScrollToLowerTime>200&&(this.$trigger("scrolltolower",t,{direction:"right"}),this.lastScrollToLowerTime=t.timeStamp)),this.lastScrollTop=e.scrollTop,this.lastScrollLeft=e.scrollLeft}},_scrollTopChanged:function(t){this.scrollY&&(this._innerSetScrollTop?this._innerSetScrollTop=!1:this.scrollWithAnimation?this.scrollTo(t,"y"):this.$refs.main.scrollTop=t)},_scrollLeftChanged:function(t){this.scrollX&&(this._innerSetScrollLeft?this._innerSetScrollLeft=!1:this.scrollWithAnimation?this.scrollTo(t,"x"):this.$refs.main.scrollLeft=t)},_scrollIntoViewChanged:function(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return console.group('scroll-into-view="'+t+'" 有误'),console.error("id 属性值格式错误。如不能以数字开头。"),void console.groupEnd();var e=this.$el.querySelector("#"+t);if(e){var i=this.$refs.main.getBoundingClientRect(),n=e.getBoundingClientRect();if(this.scrollX){var r=n.left-i.left,o=this.$refs.main.scrollLeft,s=o+r;this.scrollWithAnimation?this.scrollTo(s,"x"):this.$refs.main.scrollLeft=s}if(this.scrollY){var a=n.top-i.top,c=this.$refs.main.scrollTop,u=c+a;this.scrollWithAnimation?this.scrollTo(u,"y"):this.$refs.main.scrollTop=u}}}},_transitionEnd:function(t,e){this.$refs.content.style.transition="",this.$refs.content.style.webkitTransition="",this.$refs.content.style.transform="",this.$refs.content.style.webkitTransform="";var i=this.$refs.main;"x"===e?(i.style.overflowX=this.scrollX?"auto":"hidden",i.scrollLeft=t):"y"===e&&(i.style.overflowY=this.scrollY?"auto":"hidden",i.scrollTop=t),this.$refs.content.removeEventListener("transitionend",this.__transitionEnd),this.$refs.content.removeEventListener("webkitTransitionEnd",this.__transitionEnd)},getScrollPosition:function(){var t=this.$refs.main;return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}}},u=c,l=(i("5ab3"),i("2877")),h=Object(l["a"])(u,n,r,!1,null,null,null);e["default"]=h.exports},f2b3:function(t,e,i){"use strict";var n=!1;try{var r={};Object.defineProperty(r,"passive",{get:function(){n=!0}}),window.addEventListener("test-passive",null,r)}catch(b){}var o=Object.prototype.toString,s=Object.prototype.hasOwnProperty;function a(t){return"function"===typeof t}function c(t){return"[object Object]"===o.call(t)}function u(t,e){return s.call(t,e)}function l(t){var e=Object.create(null);return function(i){var n=e[i];return n||(e[i]=t(i))}}var h=/-(\w)/g;l((function(t){return t.replace(h,(function(t,e){return e?e.toUpperCase():""}))}));function d(){return Math.floor(4294967296*(1+Math.random())).toString(16).slice(1)}function f(t){return t.replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()}))}var p,m,g;decodeURIComponent;function v(t){if("function"===typeof t)return window.plus?t():void document.addEventListener("plusready",t)}function _(t){var e=t.disable;function i(){p||(p=plus.webview.currentWebview()),g||(m=(p.getStyle()||{}).pullToRefresh||{}),g=e,m.support&&p.setPullToRefresh(Object.assign({},m,{support:!e}))}v((function(){"iOS"===plus.os.name?setTimeout(i,20):i()}))}i.d(e,"i",(function(){return n})),i.d(e,"e",(function(){return a})),i.d(e,"f",(function(){return c})),i.d(e,"d",(function(){return u})),i.d(e,"a",(function(){return l})),i.d(e,"c",(function(){return d})),i.d(e,"g",(function(){return f})),i.d(e,"b",(function(){return _})),i.d(e,"h",(function(){return v}))},f2b8:function(t,e,i){"use strict";(function(t){i.d(e,"b",(function(){return o})),i.d(e,"a",(function(){return s})),i.d(e,"c",(function(){return a})),i.d(e,"d",(function(){return c})),i.d(e,"e",(function(){return u}));var n=i("a20d");function r(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.publishHandler(n["b"],{data:{method:e,args:i},options:{timestamp:Date.now()}})}function o(t){r("navigateTo",t)}function s(t){r("navigateBack",t)}function a(t){r("reLaunch",t)}function c(t){r("redirectTo",t)}function u(t){r("switchTab",t)}}).call(this,i("501c"))},f53a:function(t,e,i){"use strict";var n=i("f735"),r=i.n(n);r.a},f6fd:function(t,e){(function(t){var e="currentScript",i=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(n){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(n.stack)||[!1])[1];for(t in i)if(i[t].src==e||"interactive"==i[t].readyState)return i[t];return null}}})})(document)},f735:function(t,e,i){},f756:function(t,e,i){},f7fd:function(t,e,i){"use strict";var n=i("33b4"),r=i.n(n);r.a},fae3:function(t,e,i){"use strict";var n;(i.r(e),"undefined"!==typeof window)&&(i("f6fd"),(n=window.document.currentScript)&&(n=n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(i.p=n[1]));var r=i("634a");i.d(e,"upx2px",(function(){return r["h"]})),i.d(e,"getSystemInfoSync",(function(){return r["b"]})),i.d(e,"canIUse",(function(){return r["a"]})),i.d(e,"navigateTo",(function(){return r["d"]})),i.d(e,"navigateBack",(function(){return r["c"]})),i.d(e,"reLaunch",(function(){return r["e"]})),i.d(e,"redirectTo",(function(){return r["f"]})),i.d(e,"switchTab",(function(){return r["g"]}))},fb61:function(t,e,i){"use strict";var n=i("7df2"),r=i.n(n);r.a}})})); \ No newline at end of file -- GitLab