From d353589a038c4b201174add22020e0e0dd393e66 Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Thu, 12 Sep 2019 15:52:14 +0800 Subject: [PATCH] feat(uni-h5-ui): add $handleEvent --- lib/h5/ui.js | 23 +++++++++++++++++++++++ package.json | 2 +- packages/uni-h5-ui/dist/index.umd.min.js | 2 +- 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/lib/h5/ui.js b/lib/h5/ui.js index 4dbeb1237..ca77b85cf 100644 --- a/lib/h5/ui.js +++ b/lib/h5/ui.js @@ -7,6 +7,10 @@ import 'uni-core/view/index.css' import uni from './ui-api.js' +import { + processEvent +} from 'uni-core/view/plugins/events' + const oldIsReservedTag = Vue.config.isReservedTag global.uni = uni @@ -28,4 +32,23 @@ Vue.config.getTagNamespace = function (tag) { return oldGetTagNamespace(tag) || false } +const findUniTarget = function ($event, $el) { + let target = $event.target + for (; target && target !== $el; target = target.parentNode) { + if (target.tagName && target.tagName.indexOf('UNI-') === 0) { + break + } + } + return target +} + +Vue.prototype.$handleEvent = function ($event) { + if ($event instanceof Event) { // 未处理的 event 对象 需要对 target 校正及包装 + // 查找 uniTarget + const target = findUniTarget($event, this.$el) + $event = processEvent.call(this, $event.type, $event, {}, target || $event.target, $event.currentTarget) + } + return $event +} + require('uni-components') diff --git a/package.json b/package.json index 53ac61a83..771fb0f5f 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "lint:cli": "eslint --fix --config package.json --ignore-path .eslintignore packages/uni-cli-shared packages/uni-template-compiler \"packages/vue-cli-*/**/*.js\" \"packages/webpack-uni-*/**/*.js\"", "dev:h5": "npm run lint && cross-env NODE_ENV=production UNI_WATCH=true UNI_PLATFORM=h5 node build/build.js", "build:h5": "npm run lint && cross-env NODE_ENV=production UNI_WATCH=false UNI_PLATFORM=h5 node build/build.js", - "build:h5:ui": "npm run lint && cross-env NODE_ENV=production UNI_WATCH=false UNI_PLATFORM=h5 UNI_UI=true node build/build.js", + "build:h5:ui": "cross-env NODE_ENV=production UNI_WATCH=false UNI_PLATFORM=h5 UNI_UI=true node build/build.js", "build:app-plus": "cross-env UNI_PLATFORM=app-plus rollup -c build/rollup.config.mp.js", "build:app:all": "npm run lint && npm run build:app:nvue && npm run build:app:legacy", "build:app:nvue": "cross-env UNI_PLATFORM=app-plus-nvue rollup -c build/rollup.config.app.js", diff --git a/packages/uni-h5-ui/dist/index.umd.min.js b/packages/uni-h5-ui/dist/index.umd.min.js index 61a84e066..111d21a03 100644 --- a/packages/uni-h5-ui/dist/index.umd.min.js +++ b/packages/uni-h5-ui/dist/index.umd.min.js @@ -1 +1 @@ -(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["index"]=e(require("vue")):t["index"]=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")}({"0554":function(t,e,i){"use strict";(function(t){i.d(e,"a",function(){return o});var n=i("ffdc");function r(t,e,i){var r=__uniConfig.qqMapKey,o="https://apis.map.qq.com/ws/coord/v1/translate?locations=".concat(t.latitude,",").concat(t.longitude,"&type=1&key=").concat(r,"&output=jsonp");Object(n["a"])(o,{},function(t){"locations"in t&&t.locations.length?e({longitude:t.locations[0].lng,latitude:t.locations[0].lat}):i(t)},i)}function o(e,i){var n=e.type,o=e.altitude,a=t,s=a.invokeCallbackHandler;function c(t){s(i,Object.assign(t,{errMsg:"getLocation:ok",verticalAccuracy:t.altitudeAccuracy||0,horizontalAccuracy:t.accuracy}))}navigator.geolocation?navigator.geolocation.getCurrentPosition(function(t){var e=t.coords;"WGS84"===n?c(e):r(e,c,function(t){s(i,{errMsg:"getLocation:fail "+JSON.stringify(t)})})},function(){s(i,{errMsg:"getLocation:fail"})},{enableHighAccuracy:o,timeout:3e5}):s(i,{errMsg:"getLocation:fail device nonsupport geolocation"})}}).call(this,i("0dd1"))},"0741":function(t,e,i){"use strict";var n=i("9a72"),r=i.n(n);r.a},"08c9":function(t,e,i){},"0950":function(t,e,i){},"0998":function(t,e,i){"use strict";var n=i("4509"),r=i.n(n);r.a},"0c7c":function(t,e,i){"use strict";function n(t,e,i,n,r,o,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=i,u._compiled=!0),n&&(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}}i.d(e,"a",function(){return n})},"0dba":function(t,e,i){},"0dd1":function(t,e,i){"use strict";i.r(e),i.d(e,"on",function(){return c}),i.d(e,"off",function(){return u}),i.d(e,"once",function(){return l}),i.d(e,"emit",function(){return h}),i.d(e,"subscribe",function(){return d}),i.d(e,"unsubscribe",function(){return f}),i.d(e,"subscribeHandler",function(){return p});var n=i("8bbf"),r=i.n(n),o=i("27a7");i.d(e,"invokeCallbackHandler",function(){return o["a"]});var a=i("b865");i.d(e,"publishHandler",function(){return a["a"]});var s=new r.a,c=s.$on.bind(s),u=s.$off.bind(s),l=s.$once.bind(s),h=s.$emit.bind(s);function d(t,e){return c("view."+t,e)}function f(t,e){return u("view."+t,e)}function p(t,e,i){return h("view."+t,e,i)}},"0f55":function(t,e,i){"use strict";var n=i("eaa4"),r=i.n(n);r.a},"0f74":function(t,e,i){"use strict";function n(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 n(t,e.substr(2));for(var r=e.split("/"),o=r.length,a=0;a0?t.split("/"):[];return s.splice(s.length-a-1,a+1),"/"+s.concat(r).join("/")}i.d(e,"a",function(){return n})},1047:function(t,e,i){},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 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="",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._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._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}},_loadImage:function(){this.$refs.content.style.backgroundImage=this.src?"url(".concat(this.realImagePath,")"):"none";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}}},s=a,c=(i("db18"),i("0c7c")),u=Object(c["a"])(s,n,r,!1,null,null,null);e["default"]=u.exports},"11fb":function(t,e,i){"use strict";i.r(e),i.d(e,"previewImage",function(){return r});var n=i("cb0f"),r={urls:{type:Array,required:!0,validator:function(t,e){var i;if(e.urls=t.map(function(t){if("string"===typeof t)return Object(n["a"])(t);i=!0}),i)return"url is not string"}},current:{type:[String,Number],validator:function(t,e){"number"===typeof t?e.current=t>0&&t\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 i,d,f,p=[],g=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),""}),y("",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}}y()}function f(t){for(var e={},i=t.split(","),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;e.animation={duration:t.duration||0,timingFunc:t.timingFunc||"linear"}}}},o={title:{type:String,required:!0}}},1955:function(t,e,i){"use strict";i.r(e);var n,r,o=i("ba15"),a=i("8aec"),s=i("5363"),c=i("72b3"),u={name:"PickerViewColumn",mixins:[o["a"],a["a"]],data:function(){return{scope:"picker-view-column-".concat(Date.now()),inited:!1,indicatorStyle:"",indicatorClass:"",indicatorHeight:34,maskStyle:"",maskClass:"",current:this.$parent.getItemValue(this),length:0}},computed:{height:function(){return this.$parent.height},maskSize:function(){return(this.height-this.indicatorHeight)/2}},watch:{indicatorHeight:function(t){this._setItemHeight(t),this.inited&&this.update()},current:function(t){this.$parent.setItemValue(this,t)},length:function(t){this.inited&&this.update(t)}},created:function(){var t=this.$parent;this.indicatorStyle=t.indicatorStyle,this.indicatorClass=t.indicatorClass,this.maskStyle=t.maskStyle,this.maskClass=t.maskClass},mounted:function(){var t=this;this.touchtrack(this.$refs.main,"_handleTrack",!0),this.setCurrent(this.current),this.$nextTick(function(){t.init(),t.update()})},methods:{_setItemHeight:function(t){var e=document.createElement("style");e.innerText=".uni-picker-view-content.".concat(this.scope,">*{height: ").concat(t,"px;overflow: hidden;}"),document.head.appendChild(e)},_handleTrack:function(t){if(this._scroller)switch(t.detail.state){case"start":this._handleTouchStart(t);break;case"move":this._handleTouchMove(t);break;case"end":case"cancel":this._handleTouchEnd(t)}},_handleTap:function(t){if(t.target!==t.currentTarget&&!this._scroller.isScrolling()){var e=t.touches&&t.touches[0]&&t.touches[0].clientY,i="number"===typeof e?e:t.detail.y-document.body.scrollTop,n=this.$el.getBoundingClientRect(),r=i-n.top-this._height/2,o=this.indicatorHeight/2;if(!(Math.abs(r)<=o)){var a=Math.ceil((Math.abs(r)-o)/this.indicatorHeight),s=r<0?-a:a;this.current+=s,this._scroller.scrollTo(this.current*this.indicatorHeight)}}},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 s["a"](1e-4),spring:new c["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.max(t.length-1,0),i=Math.min(t.current,e);t._scroller.update(i*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:{tap:this._handleTap}},[t("div",{ref:"main",staticClass:"uni-picker-view-group"},[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])])])}},l=u,h=(i("edfa"),i("0c7c")),d=Object(h["a"])(l,n,r,!1,null,null,null);e["default"]=d.exports},"19c4":function(t,e,i){var n={"./base/base64.js":"6481","./base/can-i-use.js":"957a","./base/event-bus.js":"b0ef","./base/interceptor.js":"a954","./base/upx2px.js":"2289","./context/canvas.js":"82b9","./context/context.js":"3bfb","./device/make-phone-call.js":"f102","./file/open-document.js":"2604","./location/choose-location.js":"e5bb","./location/get-location.js":"19d9","./location/open-location.js":"70bb","./media/choose-image.js":"f1b2","./media/choose-video.js":"ed9f","./media/get-image-info.js":"b866","./media/preview-image.js":"11fb","./network/download-file.js":"439a","./network/request.js":"a201","./network/socket.js":"abb2","./network/upload-file.js":"9a3e","./plugin/get-provider.js":"4e7c","./route/route.js":"332a","./storage/storage.js":"ec33","./ui/navigation-bar.js":"1934","./ui/page-scroll-to.js":"232e","./ui/popup.js":"2246","./ui/tab-bar.js":"5621"};function r(t){var e=o(t);return i(e)}function o(t){var e=n[t];if(!(e+1)){var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}return e}r.keys=function(){return Object.keys(n)},r.resolve=o,t.exports=r,r.id="19c4"},"19d9":function(t,e,i){"use strict";i.r(e),i.d(e,"getLocation",function(){return r});var n={WGS84:"WGS84",GCJ02:"GCJ02"},r={type:{type:String,validator:function(t,e){t=(t||"").toUpperCase(),e.type=Object.values(n).indexOf(t)<0?n.WGS84:t},default:n.WGS84},altitude:{altitude:Boolean,default:!1}}},"1a33":function(t,e,i){},"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)},methods:{_toggleListeners:function(e,i,r){r&&!i||Object(n["c"])(this._handleSubscribe)&&t[e](this.$page.id+"-"+this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase()+"-"+i,this._handleSubscribe)}}}}).call(this,i("501c"))},"1c64":function(t,e,i){"use strict";var n=i("9613"),r=i.n(n);r.a},"1efd":function(t,e,i){"use strict";i.r(e);var n=i("8bbf"),r=i.n(n),o=i("cb0f"),a=i("f2b3"),s=i("85b6");function c(t){return Object.assign({mp:t,_processed:!0},t)}var u=i("a470");function l(t,e){var i={id:t.id,offsetLeft:t.offsetLeft,offsetTop:t.offsetTop,dataset:Object(s["b"])(t.dataset)};return e&&Object.assign(i,e),i}function h(t){if(t){for(var e=[],i=Object(u["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 o=Object(u["a"])(),a=o.top;i={x:e.x,y:e.y-a},e.touches=e.changedTouches=[{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY}]}return c({type:i.type||t,timeStamp:e.timeStamp||0,detail:i,target:l(n,i),currentTarget:l(r),touches:e instanceof Event?h(e.touches):e.touches,changedTouches:e instanceof Event?h(e.changedTouches):e.changedTouches,preventDefault:function(){},stopPropagation:function(){}})}a["e"];var f={methods:{$getRealPath:function(t){return Object(o["a"])(t)},$trigger:function(t,e,i){this.$emit(t,d.call(this,t,e,i,this.$el,this.$el))}}};function p(t){return v(t)||m(t)||g()}function g(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function m(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-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,a=t._i(i,o);n.checked?a<0&&(t.inputValue=i.concat([o])):a>-1&&(t.inputValue=i.slice(0,a).concat(i.slice(a+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"),a=["text","number","idcard","digit","password"],s=["number","digit"],c={name:"Input",mixins:[o["a"]],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 i=e.$options._scopeId;i&&this.$refs.placeholder.setAttribute(i,""),e=e.$parent}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=(i("0f55"),i("0c7c")),h=Object(l["a"])(u,n,r,!1,null,null,null);e["default"]=h.exports},"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"),a={name:"CheckboxGroup",mixins:[o["a"],o["c"]],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=(i("0998"),i("0c7c")),u=Object(c["a"])(s,n,r,!1,null,null,null);e["default"]=u.exports},2604:function(t,e,i){"use strict";i.r(e),i.d(e,"openDocument",function(){return n});var n={filePath:{type:String,required:!0},fileType:{type:String}}},2608:function(t,e,i){"use strict";(function(t){function n(e){return function(){try{return e.apply(e,arguments)}catch(i){t.error(i)}}}function r(e){return function(){try{return e.apply(e,arguments)}catch(i){t.error(i)}}}i.d(e,"b",function(){return n}),i.d(e,"a",function(){return r})}).call(this,i("3ad9")["default"])},"27a7":function(t,e,i){"use strict";(function(t){i.d(e,"a",function(){return r});i("f2b3"),i("2608"),i("ed1a"),i("cc76"),i("de29");var n={};function r(t,e){if("number"===typeof t){var i=n[t];if(i)return i.keepAlive||delete n[t],i.callback(e)}return e}}).call(this,i("3ad9")["default"])},"27ab":function(t,e,i){"use strict";function n(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,i=new Array(t.length);e0&&(r.currentTime=e)}),r.addEventListener("progress",function(t){var e=r.buffered;e.length&&(i.buffered=e.end(e.length-1)/r.duration)}),r.addEventListener("waiting",function(t){i.$trigger("waiting",t,{})}),r.addEventListener("error",function(t){i.playing=!1,i.$trigger("error",t,{})}),r.addEventListener("play",function(t){i.start=!0,i.playing=!0,i.fullscreenTriggering||i.$trigger("play",t,{})}),r.addEventListener("pause",function(t){i.playing=!1,i.fullscreenTriggering||i.$trigger("pause",t,{})}),r.addEventListener("ended",function(t){i.playing=!1,i.$trigger("ended",t,{})}),r.addEventListener("timeupdate",function(t){var e=i.currentTime=r.currentTime,o=r.duration,a=n.danmuIndex,s={time:e,index:a.index},c=n.danmuList;if(e>a.time)for(var u=a.index+1;u=(l.time||0)))break;s.index=u,i.playing&&i.enableDanmuSync&&i.playDanmu(l)}else if(e-1;h--){var d=c[h];if(!(e<=(d.time||0)))break;s.index=h-1}n.danmuIndex=s,i.$trigger("timeupdate",t,{currentTime:e,duration:o})}),r.addEventListener("x5videoenterfullscreen",function(t){i.$trigger("fullscreenchange",t,{fullScreen:!0})}),r.addEventListener("x5videoexitfullscreen",function(t){i.$trigger("fullscreenchange",t,{fullScreen:!1})});var a,c=!0;function u(n){var r=i.getScreenXY(n.targetTouches[0]),o=r.pageX,s=r.pageY;if(c&&Math.abs(o-t)100&&(h=100),i.progress=h,n.preventDefault(),n.stopPropagation()}}function l(t){i.controlsTouching=!1,i.touching&&(o.removeEventListener("touchmove",u,s),c||(t.preventDefault(),t.stopPropagation(),i.seek(i.$refs.video.duration*i.progress/100)),i.touching=!1)}o.addEventListener("touchstart",function(n){i.controlsTouching=!0;var r=i.getScreenXY(n.targetTouches[0]);t=r.pageX,e=r.pageY,a=i.progress,c=!0,i.touching=!0,o.addEventListener("touchmove",u,s)}),o.addEventListener("touchend",l),o.addEventListener("touchcancel",l),String(this.srcSync).length&&this.autoplay&&r.play()},beforeDestroy:function(){this.$refs.container.remove(),clearTimeout(this.otherData.hideTiming)},methods:{_handleSubscribe:function(t){var e=t.type,i=t.data,n=void 0===i?{}:i;switch(e){case"play":this.play();break;case"pause":this.pause();break;case"seek":this.seek(n.position);break;case"sendDanmu":this.sendDanmu(n);break;case"playbackRate":this.$refs.video.playbackRate=n.rate;break;case"requestFullScreen":this.enterFullscreen();break;case"exitFullScreen":this.leaveFullscreen();break}},resize:function(){var t=window.innerWidth,e=window.innerHeight,i=Math.abs(this.directionSync);this.rotateType=0===i?t>e?"left":"":90===i?t>e?"":"right":"",this.rotateType?(this.width=e+"px",this.height=t+"px"):(this.width=t+"px",this.height=e+"px")},trigger:function(){this.playing?this.$refs.video.pause():this.$refs.video.play()},play:function(){this.start=!0,this.$refs.video.play()},pause:function(){this.$refs.video.pause()},seek:function(t){t=Number(t),"number"!==typeof t||isNaN(t)||(this.$refs.video.currentTime=t)},clickProgress:function(t){var e=t.offsetX,i=this.$refs.progress,n=t.target;while(n!==i)e+=n.offsetLeft,n=n.parentNode;var r=i.offsetWidth,o=0;e>=0&&e<=r&&(o=e/r,this.seek(this.$refs.video.duration*o))},triggerDanmu:function(){this.enableDanmuSync=!this.enableDanmuSync},playDanmu:function(t){var e=document.createElement("p");e.className="uni-video-danmu-item",e.innerText=t.text;var i="bottom: ".concat(100*Math.random(),"%;color: ").concat(t.color,";");e.setAttribute("style",i),this.$refs.danmu.appendChild(e),setTimeout(function(){i+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",e.setAttribute("style",i),setTimeout(function(){e.remove()},4e3)},17)},sendDanmu:function(t){var e=this.otherData;e.danmuList.splice(e.danmuIndex.index+1,0,{text:String(t.text),color:t.color,time:this.$refs.video.currentTime||0})},triggerFullscreen:function(){this.fullscreen=!this.fullscreen},enterFullscreen:function(t){var e=Number(t);isNaN(NaN)||(this.directionSync=e),this.fullscreen=!0},leaveFullscreen:function(){this.fullscreen=!1},triggerControls:function(){this.controlsVisible=!this.controlsVisible},touchstart:function(t){var e=this.getScreenXY(t.targetTouches[0]);this.touchStartOrigin={x:e.pageX,y:e.pageY},this.gestureType=c.NONE,this.volumeOld=null,this.currentTimeOld=this.currentTimeNew=0},touchmove:function(t){function e(){t.stopPropagation(),t.preventDefault()}this.fullscreen&&e();var i=this.gestureType;if(i!==c.STOP){var n=this.getScreenXY(t.targetTouches[0]),r=n.pageX,o=n.pageY,a=this.touchStartOrigin;if(i===c.PROGRESS?this.changeProgress(r-a.x):i===c.VOLUME&&this.changeVolume(o-a.y),i===c.NONE)if(Math.abs(r-a.x)>Math.abs(o-a.y)){if(!this.enableProgressGesture)return void(this.gestureType=c.STOP);this.gestureType=c.PROGRESS,this.currentTimeOld=this.currentTimeNew=this.$refs.video.currentTime,this.fullscreen||e()}else{if(!this.pageGesture)return void(this.gestureType=c.STOP);this.gestureType=c.VOLUME,this.volumeOld=this.$refs.video.volume,this.fullscreen||e()}}},touchend:function(t){this.gestureType!==c.NONE&&this.gestureType!==c.STOP&&(t.stopPropagation(),t.preventDefault()),this.gestureType===c.PROGRESS&&this.currentTimeOld!==this.currentTimeNew&&(this.$refs.video.currentTime=this.currentTimeNew),this.gestureType=c.NONE},changeProgress:function(t){var e=this.$refs.video.duration,i=t/600*e+this.currentTimeOld;i<0?i=0:i>e&&(i=e),this.currentTimeNew=i},changeVolume:function(t){var e,i=this.volumeOld;"number"===typeof i&&(e=i-t/200,e<0?e=0:e>1&&(e=1),this.$refs.video.volume=e,this.volumeNew=e)},autoHideStart:function(){var t=this;this.otherData.hideTiming=setTimeout(function(){t.controlsVisible=!1},3e3)},autoHideEnd:function(){var t=this.otherData;t.hideTiming&&(clearTimeout(t.hideTiming),t.hideTiming=null)},getScreenXY:function(t){var e=this.rotateType;if(!this.fullscreen||!e)return t;var i,n,r=screen.width,o=screen.height,a=t.pageX,s=t.pageY;return"left"===e?(i=o-s,n=a):(i=s,n=r-a),{pageX:i,pageY:n}},updateProgress:function(){this.touching||(this.progress=this.currentTime/this.durationTime*100)}}},l=u,h=(i("856e"),i("0c7c")),d=Object(h["a"])(l,n,r,!1,null,null,null);e["default"]=d.exports},"332a":function(t,e,i){"use strict";i.r(e),i.d(e,"redirectTo",function(){return c}),i.d(e,"reLaunch",function(){return u}),i.d(e,"navigateTo",function(){return l}),i.d(e,"switchTab",function(){return h}),i.d(e,"navigateBack",function(){return d});var n=i("0f74");function r(t){if("string"!==typeof t)return t;var e=t.indexOf("?");if(-1===e)return t;var i=t.substr(e+1).trim().replace(/^(\?|#|&)/,"");if(!i)return t;t=t.substr(0,e);var n=[];return i.split("&").forEach(function(t){var e=t.replace(/\+/g," ").split("="),i=e.shift(),r=e.length>0?e.join("="):"";n.push(i+"="+encodeURIComponent(r))}),n.length?t+"?"+n.join("&"):t}function o(t){return function(e,i){e=Object(n["a"])(e);var o=e.split("?")[0],a=__uniRoutes.find(function(t){var e=t.path,i=t.alias;return e===o||i===o});if(!a)return"page `"+e+"` is not found";if("navigateTo"===t||"redirectTo"===t){if(a.meta.isTabBar)return"can not ".concat(t," a tabbar page")}else if("switchTab"===t&&!a.meta.isTabBar)return"can not switch to no-tabBar page";a.meta.isTabBar&&(e=o),a.meta.isEntry&&(e=e.replace(a.alias,"/")),i.url=r(e)}}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({url:{type:String,required:!0,validator:o(t)}},e)}function s(t){return{animationType:{type:String,validator:function(e){if(e&&-1===t.indexOf(e))return"`"+e+"` is not supported for `animationType` (supported values are: `"+t.join("`|`")+"`)"}},animationDuration:{type:Number}}}var c=a("redirectTo"),u=a("reLaunch"),l=a("navigateTo",s(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"])),h=a("switchTab"),d=Object.assign({delta:{type:Number,validator:function(t,e){t=parseInt(t)||1,e.delta=Math.min(getCurrentPages().length-1,t)}}},s(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]))},"33ed":function(t,e,i){"use strict";(function(t){i.d(e,"b",function(){return r}),i.d(e,"c",function(){return o}),i.d(e,"a",function(){return a});var n=i("4a59");function r(t){t.preventDefault()}function o(t){var e=t.scrollTop,i=t.duration,n=document.documentElement,r=n.clientHeight,o=n.scrollHeight;function a(t){if(t<=0)window.scrollTo(0,e);else{var i=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+i/t*10),a(t-10)})}}e=Math.min(e,o-r),0!==i?window.scrollY!==e&&a(i):n.scrollTop=document.body.scrollTop=e}function a(e,i){var r=i.enablePageScroll,o=i.enablePageReachBottom,a=i.onReachBottomDistance,s=i.enableTransparentTitleNView,c=!1,u=!1,l=!0;function h(){var t=document.documentElement,e=t.clientHeight,i=t.scrollHeight,n=window.scrollY,r=n>0&&i>e&&n+e+a>=i;return r&&!u?(u=!0,!0):(!r&&u&&(u=!1),!1)}function d(){var i=window.pageYOffset;r&&Object(n["a"])("onPageScroll",{scrollTop:i},e),s&&t.emit("onPageScroll",{scrollTop:i}),o&&l&&h()&&(Object(n["a"])("onReachBottom",{},e),l=!1,setTimeout(function(){l=!0},350)),c=!1}return function(){c||requestAnimationFrame(d),c=!0}}}).call(this,i("501c"))},"347e":function(t,e,i){"use strict";(function(t){var n=i("8aec"),r=i("f2b3"),o=!!r["e"]&&{passive:!0};e["a"]={name:"ScrollView",mixins:[n["a"]],props:{scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1}},data:function(){return{lastScrollTop:this.scrollTopNumber,lastScrollLeft:this.scrollLeftNumber,lastScrollToUpperTime:0,lastScrollToLowerTime:0}},computed:{upperThresholdNumber:function(){var t=Number(this.upperThreshold);return isNaN(t)?50:t},lowerThresholdNumber:function(){var t=Number(this.lowerThreshold);return isNaN(t)?50:t},scrollTopNumber:function(){return Number(this.scrollTop)||0},scrollLeftNumber:function(){return Number(this.scrollLeft)||0}},watch:{scrollTopNumber:function(t){this._scrollTopChanged(t)},scrollLeftNumber:function(t){this._scrollLeftChanged(t)},scrollIntoView:function(t){this._scrollIntoViewChanged(t)}},mounted:function(){var t=this;this._attached=!0,this._scrollTopChanged(this.scrollTopNumber),this._scrollLeftChanged(this.scrollLeftNumber),this._scrollIntoViewChanged(this.scrollIntoView),this.__handleScroll=function(e){event.preventDefault(),event.stopPropagation(),t._handleScroll.bind(t,event)()};var e=null,i=null;this.__handleTouchMove=function(n){var r=n.touches[0].pageX,o=n.touches[0].pageY,a=t.$refs.main;if(null===i)if(Math.abs(r-e.x)>Math.abs(o-e.y))if(t.scrollX){if(0===a.scrollLeft&&r>e.x)return void(i=!1);if(a.scrollWidth===a.offsetWidth+a.scrollLeft&&re.y)return void(i=!1);if(a.scrollHeight===a.offsetHeight+a.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(e){if(e){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(e))return t.group('scroll-into-view="'+e+'" 有误'),t.error("id 属性值格式错误。如不能以数字开头。"),void t.groupEnd();var i=this.$el.querySelector("#"+e);if(i){var n=this.$refs.main.getBoundingClientRect(),r=i.getBoundingClientRect();if(this.scrollX){var o=r.left-n.left,a=this.$refs.main.scrollLeft,s=a+o;this.scrollWithAnimation?this.scrollTo(s,"x"):this.$refs.main.scrollLeft=s}if(this.scrollY){var c=r.top-n.top,u=this.$refs.main.scrollTop,l=u+c;this.scrollWithAnimation?this.scrollTo(l,"y"):this.$refs.main.scrollTop=l}}}},_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}}}}}).call(this,i("3ad9")["default"])},"3ad9":function(t,e,i){"use strict";i.r(e),function(t){var i=Array.prototype.unshift;function n(t){return i.call(t,"[system]"),t}function r(e){return function(){var i=!0;"debug"!==e||__uniConfig.debug||(i=!1),i&&t.console[e].apply(t.console,n(arguments))}}e["default"]={log:r("log"),info:r("info"),warn:r("warn"),debug:r("debug"),error:r("error")}}.call(this,i("24aa"))},"3bfb":function(t,e,i){"use strict";i.r(e),i.d(e,"createAudioContext",function(){return r}),i.d(e,"createVideoContext",function(){return o}),i.d(e,"createMapContext",function(){return a}),i.d(e,"createCanvasContext",function(){return s});var n=[{name:"id",type:String,required:!0}],r=n,o=n,a=n,s=[{name:"canvasId",type:String,required:!0},{name:"componentInstance",type:Object}]},"3e8c":function(t,e,i){"use strict";i.r(e);var n,r,o={name:"ResizeSensor",props:{initial:{type:[Boolean,String],default:!1}},data:function(){return{size:{width:-1,height:-1}}},watch:{size:{deep:!0,handler:function(t){this.$emit("resize",Object.assign({},t))}}},mounted:function(){!0===this.initial&&this.$nextTick(this.update),this.$el.offsetParent!==this.$el.parentNode&&(this.$el.parentNode.style.position="relative"),"AnimationEvent"in window||this.reset()},methods:{reset:function(){var t=this.$el.firstChild,e=this.$el.lastChild;t.scrollLeft=1e5,t.scrollTop=1e5,e.scrollLeft=1e5,e.scrollTop=1e5},update:function(){this.size.width=this.$el.offsetWidth,this.size.height=this.$el.offsetHeight,this.reset()}},render:function(t){return t("uni-resize-sensor",{on:{"~animationstart":this.update}},[t("div",{on:{scroll:this.update}},[t("div")]),t("div",{on:{scroll:this.update}},[t("div")])])}},a=o,s=(i("64d0"),i("0c7c")),c=Object(s["a"])(a,n,r,!1,null,null,null);e["default"]=c.exports},"3f7e":function(t,e,i){"use strict";var n=i("1a33"),r=i.n(n);r.a},"439a":function(t,e,i){"use strict";i.r(e),i.d(e,"downloadFile",function(){return n});var n={url:{type:String,required:!0},header:{type:Object,validator:function(t,e){e.header=t||{}}}}},4509:function(t,e,i){},4656:function(t,e,i){},4871:function(t,e,i){},"488c":function(t,e,i){},"4a59":function(t,e,i){"use strict";(function(t){function n(e,i,n){t.UniServiceJSBridge.subscribeHandler(e,i,n)}i.d(e,"a",function(){return n})}).call(this,i("24aa"))},"4da7":function(t,e,i){"use strict";i.r(e);var n,r,o=i("4f97"),a=o["a"],s=(i("c8ed"),i("0c7c")),c=Object(s["a"])(a,n,r,!1,null,null,null);e["default"]=c.exports},"4e7c":function(t,e,i){"use strict";i.r(e),i.d(e,"getProvider",function(){return r});var n={OAUTH:"OAUTH",SHARE:"SHARE",PAYMENT:"PAYMENT",PUSH:"PUSH"},r={service:{type:String,required:!0,validator:function(t,e){if(t=(t||"").toUpperCase(),t&&Object.values(n).indexOf(t)<0)return"service error"}}}},"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"),a={name:"Switch",mixins:[o["a"],o["c"]],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=(i("a5ec"),i("0c7c")),u=Object(c["a"])(s,n,r,!1,null,null,null);e["default"]=u.exports},"4f97":function(t,e,i){"use strict";(function(t){var i={ensp:" ",emsp:" ",nbsp:" "};e["a"]={name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},methods:{_decodeHtml:function(t){return this.space&&i[this.space]&&(t=t.replace(/ /g,i[this.space])),this.decode&&(t=t.replace(/ /g,i.nbsp).replace(/ /g,i.ensp).replace(/ /g,i.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")),t}},render:function(e){var i=this,n=[];return this.$slots.default&&this.$slots.default.forEach(function(r){if(r.text){var o=r.text.replace(/\\n/g,"\n"),a=o.split("\n");a.forEach(function(t,r){n.push(i._decodeHtml(t)),r!==a.length-1&&n.push(e("br"))})}else r.componentOptions&&"v-uni-text"!==r.componentOptions.tag&&t.warn(" 组件内只支持嵌套 ,不支持其它组件或自定义组件,否则会引发在不同平台的渲染差异。"),n.push(r)}),e("uni-text",{on:this.$listeners,attrs:{selectable:!!this.selectable}},[e("span",{},n)])}}}).call(this,i("3ad9")["default"])},"500a":function(t,e,i){},"501c":function(t,e,i){"use strict";i.r(e),i.d(e,"on",function(){return c}),i.d(e,"off",function(){return u}),i.d(e,"once",function(){return l}),i.d(e,"emit",function(){return h}),i.d(e,"subscribe",function(){return d}),i.d(e,"unsubscribe",function(){return f}),i.d(e,"subscribeHandler",function(){return p});var n=i("8bbf"),r=i.n(n),o=i("8ecd"),a=i("4a59");i.d(e,"publishHandler",function(){return a["a"]});var s=new r.a,c=s.$on.bind(s),u=s.$off.bind(s),l=s.$once.bind(s),h=s.$emit.bind(s);function d(t,e){return c("service."+t,e)}function f(t,e){return u("service."+t,e)}function p(t,e,i){h("service."+t,e,i)}Object(o["a"])(d)},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-picker","uni-toast","uni-resize-sensor","uni-ad","uni-audio","uni-button","uni-camera","uni-canvas","uni-checkbox","uni-checkbox-group","uni-cover-image","uni-cover-view","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,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","./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","./picker/index.vue":"c35d","./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){var e=n[t];if(!(e+1)){var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}return e}r.keys=function(){return Object.keys(n)},r.resolve=o,t.exports=r,r.id="5408"},5513:function(t,e,i){"use strict";i.r(e);var n,r,o=i("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,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,a=r-Date.now();if(a<=0){this._updateViewport(i),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=n*a*a/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 s=this._contentTrackT-i||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),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=4&&(e.text="...")}}}},5676:function(t,e,i){"use strict";var n=i("0950"),r=i.n(n);r.a},5768: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-textarea",t._g({attrs:{value:t._checkEmpty(t.value),maxlength:t.maxlengthNumber,placeholder:t._checkEmpty(t.placeholder),disabled:t.disabled,focus:t.focus,"auto-focus":t.autoFocus,"placeholder-class":t._checkEmpty(t.placeholderClass),"placeholder-style":t._checkEmpty(t.placeholderStyle),"auto-height":t.autoHeight,cursor:t.cursorNumber,"selection-start":t.selectionStartNumber,"selection-end":t.selectionEndNumber},on:{change:function(t){t.stopPropagation()}}},t.$listeners),[i("div",{staticClass:"uni-textarea-wrapper"},[i("div",{directives:[{name:"show",rawName:"v-show",value:!(t.composition||t.valueSync.length),expression:"!(composition||valueSync.length)"}],ref:"placeholder",staticClass:"uni-textarea-placeholder",class:t.placeholderClass,style:t.placeholderStyle},[t._v(t._s(t.placeholder))]),i("div",{staticClass:"uni-textarea-compute"},[t._l(t.valueCompute,function(e,n){return i("div",{key:n},[t._v(t._s(e.trim()?e:"."))])}),i("v-uni-resize-sensor",{ref:"sensor",on:{resize:t._resize}})],2),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.valueSync,expression:"valueSync"}],ref:"textarea",staticClass:"uni-textarea-textarea",class:{"uni-textarea-textarea-ios":t.isIOS},attrs:{disabled:t.disabled,maxlength:t.maxlengthNumber,autofocus:t.autoFocus},domProps:{value:t.valueSync},on:{compositionstart:t._compositionstart,compositionend:t._compositionend,input:[function(e){e.target.composing||(t.valueSync=e.target.value)},function(e){return e.stopPropagation(),t._input(e)}],focus:t._focus,blur:t._blur,"&touchstart":function(e){return t._touchstart(e)}}})])])},r=[],o=i("8af1"),a={name:"Textarea",mixins:[o["a"]],model:{prop:"value",event:"update:value"},props:{name:{type:String,default:""},value:{type:[String,Number],default:""},maxlength:{type:[Number,String],default:140},placeholder:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},placeholderClass:{type:String,default:""},placeholderStyle:{type:String,default:""},autoHeight:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1}},data:function(){return{valueSync:String(this.value),valueComposition:"",composition:!1,focusSync:this.focus,height:0,focusChangeSource:"",isIOS:0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")}},computed:{maxlengthNumber:function(){var t=Number(this.maxlength);return isNaN(t)?140:t},cursorNumber:function(){var t=Number(this.cursor);return isNaN(t)?-1:t},selectionStartNumber:function(){var t=Number(this.selectionStart);return isNaN(t)?-1:t},selectionEndNumber:function(){var t=Number(this.selectionEnd);return isNaN(t)?-1:t},valueCompute:function(){return(this.composition?this.valueComposition:this.valueSync).split("\n")}},watch:{value:function(t){this.valueSync=String(t)},valueSync:function(t){t!==this._oldValue&&(this._oldValue=t,this.$trigger("input",{},{value:t,cursor:this.$refs.textarea.selectionEnd}),this.$emit("update:value",t))},focus:function(t){t?(this.focusChangeSource="focus",this.$refs.textarea&&this.$refs.textarea.focus()):this.$refs.textarea&&this.$refs.textarea.blur()},focusSync:function(t){this.$emit("update:focus",t),this._checkSelection(),this._checkCursor()},cursorNumber:function(){this._checkCursor()},selectionStartNumber:function(){this._checkSelection()},selectionEndNumber:function(){this._checkSelection()},height:function(t){var e=getComputedStyle(this.$el).lineHeight.replace("px",""),i=Math.round(t/e);this.$trigger("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:i}),this.autoHeight&&(this.$el.style.height=this.height+"px")}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){this._oldValue=this.$refs.textarea.value=this.valueSync,this._resize({height:this.$refs.sensor.$el.offsetHeight})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_focus:function(t){this.focusSync=!0,this.$trigger("focus",t,{value:this.valueSync})},_checkSelection:function(){this.focusSync&&!this.focusChangeSource&&this.selectionStartNumber>-1&&this.selectionEndNumber>-1&&(this.$refs.textarea.selectionStart=this.selectionStartNumber,this.$refs.textarea.selectionEnd=this.selectionEndNumber)},_checkCursor:function(){this.focusSync&&("focus"===this.focusChangeSource||!this.focusChangeSource&&this.selectionStartNumber<0&&this.selectionEndNumber<0)&&this.cursorNumber>-1&&(this.$refs.textarea.selectionEnd=this.$refs.textarea.selectionStart=this.cursorNumber)},_blur:function(t){this.focusSync=!1,this.$trigger("blur",t,{value:this.valueSync,cursor:this.$refs.textarea.selectionEnd})},_compositionstart:function(t){this.composition=!0},_compositionend:function(t){this.composition=!1},_confirm:function(t){this.$trigger("confirm",t,{value:this.valueSync})},_linechange:function(t){this.$trigger("linechange",t,{value:this.valueSync})},_touchstart:function(){this.focusChangeSource="touch"},_resize:function(t){var e=t.height;this.height=e},_input:function(t){this.composition&&(this.valueComposition=t.target.value)},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){this.valueSync=""},_checkEmpty:function(t){return t||!1}}},s=a,c=(i("9400"),i("0c7c")),u=Object(c["a"])(s,n,r,!1,null,null,null);e["default"]=u.exports},"594d":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",{attrs:{id:t.id}},[i("div",{ref:"map",staticStyle:{width:"100%",height:"100%",position:"relative",overflow:"hidden"}}),i("div",{staticStyle:{position:"absolute",top:"0",width:"100%",height:"100%",overflow:"hidden","pointer-events":"none"}},[t._t("default")],2)])},r=[],o=i("635e"),a=o["a"],s=(i("3f7e"),i("0c7c")),c=Object(s["a"])(a,n,r,!1,null,null,null);e["default"]=c.exports},"5ab3":function(t,e,i){"use strict";var n=i("fcd8"),r=i.n(n);r.a},"5abe":function(t,e){(function(){"use strict";if("object"===typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document,e=[];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):(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}))))},n.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))},n.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():l();this._observationTargets.forEach(function(n){var o=n.element,a=u(o),s=this._rootContainsTarget(o),c=n.entry,l=t&&s&&this._computeTargetAndRootIntersection(o,e),h=n.entry=new i({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)},n.prototype._computeTargetAndRootIntersection=function(e,i){if("none"!=window.getComputedStyle(e).display){var n=u(e),r=n,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=i):o!=t.body&&o!=t.documentElement&&"visible"!=l.overflow&&(s=u(o)),s&&(r=c(s,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&&s>=0&&{top:i,bottom:n,left:r,right:o,width:a,height:s}}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}})()},"5d1d":function(t,e,i){"use strict";var n=i("91b0"),r=i.n(n);r.a},"5dc1":function(t,e,i){"use strict";(function(t){i.d(e,"b",function(){return a}),i.d(e,"a",function(){return s});i("5abe");var n=i("85b6");function r(t){return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}var o={};function a(e,i){var a=e.reqId,s=e.options,c=getCurrentPages(),u=c.find(function(t){return t.$page.id===i});if(!u)throw new Error("Not Found:Page[".concat(i,"]"));var l=u.$el,h=s.relativeToSelector?l.querySelector(s.relativeToSelector):null,d=o[a]=new IntersectionObserver(function(e,i){e.forEach(function(e){t.publishHandler("onRequestComponentObserver",{reqId:a,res:{intersectionRatio:e.intersectionRatio,intersectionRect:r(e.intersectionRect),boundingClientRect:r(e.boundingClientRect),relativeRect:r(e.rootBounds),time:Date.now(),dataset:Object(n["b"])(e.target.dataset||{}),id:e.target.id}},u.$page.id)})},{root:h,rootMargin:s.rootMargin,threshold:s.thresholds});s.observeAll?(d.USE_MUTATION_OBSERVER=!0,Array.prototype.map.call(l.querySelectorAll(s.selector),function(t){d.observe(t)})):(d.USE_MUTATION_OBSERVER=!1,d.observe(l.querySelector(s.selector)))}function s(e){var i=e.reqId,n=o[i];n&&(n.disconnect(),t.publishHandler("onRequestComponentObserver",{reqId:i,reqEnd:!0}))}}).call(this,i("501c"))},6062:function(t,e,i){"use strict";var n=i("748c"),r=i.n(n);r.a},6144:function(t,e,i){},"635e":function(t,e,i){"use strict";(function(t){var n,r=i("8af1"),o=i("f2b3");e["a"]={name:"Map",mixins:[r["d"]],props:{id:{type:String,default:""},latitude:{type:[String,Number],default:39.92},longitude:{type:[String,Number],default:116.46},scale:{type:[String,Number],default:16},markers:{type:Array,default:function(){return[]}},covers:{type:Array,default:function(){return[]}},includePoints:{type:Array,default:function(){return[]}},polyline:{type:Array,default:function(){return[]}},circles:{type:Array,default:function(){return[]}},controls:{type:Array,default:function(){return[]}},showLocation:{type:[Boolean,String],default:!1}},data:function(){return{center:{latitude:116.46,longitude:116.46},isMapReady:!1,isBoundsReady:!1,markersSync:[],polylineSync:[],circlesSync:[],controlsSync:[]}},watch:{latitude:function(){this.centerChange()},longitude:function(){this.centerChange()},scale:function(t){var e=this;this.mapReady(function(){e._map.setZoom(Number(t)||16)})},markers:function(t,e){var i=this;this.mapReady(function(){var n=[],r=[],o=[],a=[],s=[];t.forEach(function(t){if("id"in t){for(var i=!1,s=0;s=0?(e=o.indexOf(n))>=0&&i.changeMarker(t,a[e]):s.push(t)}),i.removeMarkers(s),i.createMarkers(n)})},polyline:function(t){var e=this;this.mapReady(function(){e.createPolyline()})},circles:function(){var t=this;this.mapReady(function(){t.createCircles()})},controls:function(){var t=this;this.mapReady(function(){t.createControls()})},includePoints:function(){var t=this;this.mapReady(function(){t.fitBounds(t.includePoints)})},showLocation:function(t){var e=this;this.mapReady(function(){e[t?"createLocation":"removeLocation"]()})}},created:function(){var t=this.latitude,e=this.longitude;t&&e&&(this.center.latitude=t,this.center.longitude=e)},mounted:function(){var t=this;this.loadMap(function(){t.init()})},beforeDestroy:function(){this.removeMarkers(this.markersSync),this.removePolyline(),this.removeCircles(),this.removeControls(),this.removeLocation()},methods:{_handleSubscribe:function(t){var e=this,i=t.type,r=t.data,o=void 0===r?{}:r;function a(t,e){t=t||{},t.errMsg="".concat(i,":").concat(e?"fail"+e:"ok");var n=e?o.fail:o.success;"function"===typeof n&&n(t),"function"===typeof o.complete&&o.complete(t)}switch(i){case"getCenterLocation":this.mapReady(function(){var t,i,n=e._map.getCenter();t=n.getLat(),i=n.getLng(),a({latitude:t,longitude:i})});break;case"moveToLocation":var s=this._locationPosition;s&&this._map.setCenter(s);break;case"translateMarker":this.mapReady(function(){try{var t=e.getMarker(o.markerId),i=o.destination,r=o.duration,s=!!o.autoRotate,c=Number(o.rotate)?o.rotate:0,u=t.getRotation(),l=t.getPosition(),h=new n.LatLng(i.latitude,i.longitude),d=n.geometry.spherical.computeDistanceBetween(l,h)/1e3,f=("number"===typeof r?r:1e3)/36e5,p=d/f,g=n.event.addListener(t,"moving",function(e){var i=e.latLng,n=t.label;n&&n.setPosition(i);var r=t.callout;r&&r.setPosition(i)}),m=n.event.addListener(t,"moveend",function(e){m.remove(),g.remove(),t.lastPosition=l,t.setPosition(h);var i=t.label;i&&i.setPosition(h);var n=t.callout;n&&n.setPosition(h);var r=o.animationEnd;"function"===typeof r&&r()}),v=0;s&&(t.lastPosition&&(v=n.geometry.spherical.computeHeading(t.lastPosition,l)),c=n.geometry.spherical.computeHeading(l,h)-v),t.setRotation(u+c),t.moveTo(h,p)}catch(y){a(null,y)}});break;case"includePoints":this.fitBounds(o.points);break;case"getRegion":this.boundsReady(function(){var t=e._map.getBounds(),i=t.getSouthWest(),n=t.getNorthEast();a({southwest:{latitude:i.getLat(),longitude:i.getLng()},northeast:{latitude:n.getLat(),longitude:n.getLng()}})});break;case"getScale":this.mapReady(function(){a({scale:Number(e.scale)})});break}},init:function(){var t=this,e=new n.LatLng(this.center.latitude,this.center.longitude),i=this._map=new n.Map(this.$refs.map,{center:e,zoom:Number(this.scale),scrollwheel:!1,disableDoubleClickZoom:!0,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,minZoom:5,maxZoom:18,draggable:!0}),r=n.event.addListener(i,"bounds_changed",function(e){r.remove(),t.isBoundsReady=!0,t.$emit("boundsready")});n.event.addListener(i,"click",function(){t.$trigger("click",{},{})}),n.event.addListener(i,"dragstart",function(){t.$trigger("regionchange",{},{type:"begin"})}),n.event.addListener(i,"dragend",function(){t.$trigger("regionchange",{},{type:"end"})}),n.event.addListener(i,"zoom_changed",function(){t.$emit("update:scale",i.getZoom())}),n.event.addListener(i,"center_changed",function(){var e,n,r=i.getCenter();e=r.getLat(),n=r.getLng(),t.$emit("update:latitude",e),t.$emit("update:longitude",n)}),this.markers&&Array.isArray(this.markers)&&this.markers.length&&this.createMarkers(this.markers),this.polyline&&Array.isArray(this.polyline)&&this.polyline.length&&this.createPolyline(),this.circles&&Array.isArray(this.circles)&&this.circles.length&&this.createCircles(),this.controls&&Array.isArray(this.controls)&&this.controls.length&&this.createControls(),this.showLocation&&this.createLocation(),this.includePoints&&Array.isArray(this.includePoints)&&this.includePoints.length&&this.fitBounds(this.includePoints,function(){i.setCenter(e)}),this.isMapReady=!0,this.$emit("mapready")},centerChange:function(){var t=this,e=Number(this.latitude),i=Number(this.longitude);e===this.center.latitude&&i===this.center.longitude||(this.center.latitude=e,this.center.longitude=i,this._map&&this.mapReady(function(){t._map.setCenter(new n.LatLng(e,i))}))},createMarkers:function(t){var e=this,i=this._map,r=this.markersSync;t.forEach(function(t){var a=new n.Marker({map:i,flat:!0,autoRotation:!1});a.id=t.id,e.changeMarker(a,t),n.event.addListener(a,"click",function(i){var n=a.callout;if(n){var r=n.div,s=r.parentNode;n.alwaysVisible||n.set("visible",!n.visible),n.visible&&(s.removeChild(r),s.appendChild(r))}Object(o["b"])(t,"id")&&e.$trigger("markertap",{},{markerId:t.id})}),r.push(a)})},changeMarker:function(t,e){var i=this,r=this._map,a=e.title||e.name,s=new n.LatLng(e.latitude,e.longitude),c=new Image;c.onload=function(){var u,l,h,d,f=e.anchor||{},p=f.x,g=f.y;e.iconPath&&(e.width||e.height)?(l=e.width||c.width/c.height*e.height,h=e.height||c.height/c.width*e.width):(l=c.width/2,h=c.height/2),p=("number"===typeof p?p:.5)*l,g=("number"===typeof g?g:1)*h,d=h-(h-g),u=new n.MarkerImage(c.src,null,null,new n.Point(p,g),new n.Size(l,h)),t.setPosition(s),t.setIcon(u),t.setRotation(e.rotate||0);var m,v=e.label||{};t.label&&(t.label.setMap(null),delete t.label),v.content&&(m=new n.Label({position:s,map:r,clickable:!1,content:v.content,style:{border:"none",padding:"8px",background:"none",color:v.color,fontSize:(v.fontSize||14)+"px",lineHeight:(v.fontSize||14)+"px",marginLeft:v.x,marginTop:v.y}}),t.label=m);var y,_=e.callout||{},b=t.callout;_.content?y={id:e.id,position:s,map:r,top:d,content:_.content,color:_.color,fontSize:_.fontSize,borderRadius:_.borderRadius,bgColor:_.bgColor,padding:_.padding,boxShadow:_.boxShadow,display:_.display}:a&&(y={id:e.id,position:s,map:r,top:d,content:a,boxShadow:"0px 0px 3px 1px rgba(0,0,0,0.5)"}),y?b?b.setOption(y):(b=t.callout=new n.Callout(y),b.div.onclick=function(t){Object(o["b"])(e,"id")&&i.$trigger("callouttap",t,{markerId:e.id}),t.stopPropagation(),t.preventDefault()}):b&&(b.setMap(null),delete t.callout)},c.src=e.iconPath?this.$getRealPath(e.iconPath):"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAABQCAYAAABFyhZTAAANDElEQVR4nNWce4hc133Hv+fc92MeuytpV5ZXll2XuvTlUBTSP1IREsdNiKGEEAgE3EBLaBtK/2hNoQTStISUosiGOqVpQ+qkIdAax1FiG+oYIxyD4xi3uKlEXSFFke3d1e5od+a+H+ec/nHvmbkzs6ud2bmjTX7wY3b3zr3nfM7vd37n8Tt3CW6DiDP3EABSd/0KAEEuXBHzrsteFTiwVOBo+amUP9PK34ZuAcD30NoboTZgceYeCaQAUEvVAKiZ0lpiiv0Lgmi/imFLF5YV2SWFR1e0fGcDQF5qVn4y1Ag/E3DFmhJSB2Dk1D2Squ0HBdT3C0JPE6oco6oKqmm7PodnGXieQ3DWIYL/iCB/UWO95zTW2wCQlpqhgJ8J/MDApUUVFFY0AFiRdvwMJ8bvCaKcUW3bUE0DimGAKMpkz2QMLEnBkhhZEHICfoHy+AkrW3seQAwgQQHPyIUr/CD1nhq4tCpFAWoCsGNt5X2MWo9Qw/p1zXGgWiZAZu8teRQhCwLwOLpEefKolb3zDIAQBXyGAnwqa09Vq4pVDQBOqrTuTmn7c9S0H9QdB6ptT/O4iSWPY2S+DxYHFzTW+5zBti8BCFBYfCprTwxcwmoALABupK48lFPri0az1dSbjWkZDiSp5yPpdn2Vh39m5evPAPABRACySaH3Ba64sA7ABtD0tdXPUqvxKd1xoJrmDAjTSx7HCDsdroj0nJO99TiAHgprZwD4fi5+S+AKrAHA5UQ7EijH/05rND9sNJsglNaEMZ3wPEfq+8i97vdstv4IFdkWBi5+S2h1n2dL2IYAXQqU449pjdYHzFaruDr3edEelVJUmK02YpCPBD454uRrf0BFtlleTlAMX7vfu9eFSp91ALR95cRfq27zA2ariXK+cOhqtprQnOZ7AmXlLIA2ABeAXtZ9cuDSlVUUfbYVKCsPq27zo1arddiMY2q2WlCd5gd95fhnALTKOmslw/7A5RcVFGNsI6ILpzNi/rnu2IdPt4caDRc5Mf4opEu/DaBR1l3dDXo3CxMUEdkRoO2UuJ+3Wy1VUbXD5tpTKVVgt9s0I85fcahLKLqhvhvf0B/KFpFjbdOnRz+pOY17f5atK1W3LWiue8KnR38fQLNkGLPyaAvI8dZl0Jcz6J82bPuwWSZW03GRQ3s4JdYqigBmoOie48CVQGUBcAO68AnTbTQUVQWE+LlQSimsRsOKSPthFG49ZmU6Aq8DsAWomwnt4+bPgSuPqunYyIX6uwzqIoqIPdSXacW6clFgB6T9Xs0wFylVDrv+UyshFIZlOSFpP1ACG1Ury5mWdGcTgJkJ/UO2ZZVPqU+EqiL9xV8GWzoGAFC2t6C/eQkkS2stR7cs+KH2OwDOo2AKUcy1hQTur28FiJVDOa0bRm283HHhPfQxhL91BsIYXmyQLIX1yktofvdJ0N5OLeVpug4G5TcY1IaCvIuCLQHAq8A6ACOCe5+qag1CSBEMZpT01L3Y/vSfgi0e2fW60HSE730/4vtPY/Erj0J/8+LMZRIAmq7rUeLe75KdTRTACoCcVvqvBsBIhXG/qumoo0Plx5Zx80/+Yk/YqvBGE53PPILsxGotZWuahkxov4bCkDoARZy5h1S3UjUAKhf0pKrWE6x2Hv5DcMedwCaFCMPEzqf+GCB05rIVVQUHOVlySQuPAzNB7lAUBbOOickv/QrSe++bGFZKtnoK0f2nZy5foRRc0Dsw2C5WANDRvWRFAIv9/juDxr/5nqlhpcTvevfM5VNKwYHFijEVAEStWFgBQIWASQkKv5hBstVTM947W/mEABDCxMCgFBXgfkpECGgAmbW8seFnqntNc+byiSDggqgYSfPIKVc/2SUgcsH57C7V3T5wZWmvO3P5QnAAPMdwnotU59KkaBkR1AGs/fTqgYG1n16dHZhzQCAea8zKz4UTEdFl/EBZjCGxXn354Pe+8tLM5TPGAPAxN5PAQioR7CdZls1u4auXYf3wB1NX1Pjv/4Rx8Y2Zy8/zHAR8reTiko9W/sAAcIWwt+oAhhBofeMrUDfWJoZVtjtof/Xvayk7TTMo4D/BSL55FJiZNPvfNE1rKZT2ulj64mehX/m/fWG169ew9IW/hHJzqx7gLIVO00slWy6B1QpsBoC5SnR1O7K3GecLSg2ZBaWziSOffwTB+x5E8MGHkB8/MXx9cwPuf3wX9gvPgeT5zOUBgBACcZKmR63of1CwycS6UFFYeCjjrhD2WhTHD7iWVUsFwBic7z8L5/vPgh1dBneL5BsJg6lcflKJ4hgKYT8iENXTBAzl8lBgYOEMALOV9IUgDB9w55AoU26sQ7mxXvtzq+KHISyavogBV4oCXNAy8cSrF9pa+EaSJmtpWk/wup2a5zmiONle0MMflpD94xLkwhUhOykrL8TlJzNo9lQvDHHYe1TTai8MYSjZd0p3zjA4LcCB4XFYXowB5EeM4HkvDDpxmh4+xYSa5hm6fuAt6cH3Sp5kV+Aye55XvpAqRCSOmv5LLwgO3U0n1V4QwFLSf9UoD0tPjSrAomphoHDrBINDI/kxM3wxTMIf7/j+ocPsp90ggBcFV5bN8LnSeHHJIs+BjAFLt45QZNNjAOyIET3a8XwvTNLD9tg9NU4zbPa8dEmPzxIipKeGpabSnYeAyxbIS2BfftnVsrWmnjzWDQPkLD98uhHlgqMbBnC19PGmnl4rAUMMDrzk1SMQo1MpXt4QAPDKG7OjZvwKy4Ov3/R/9vrzVs9DmgZPrljRCyg8NCzr7o9adwx4xMpeqTEAdqcT/nuY+M9v9rxDh5S62fMQxP7Lq27wBIoYFJd17mFwnElUGXc71CLKlgowvONnrbrhl6/2sEoJuW/JcXa59fbJzTDATuRfu7sRfgmDgCthpXXF6H1jq4OyRWRr+QC65WeiEJEet+O/7fj+thfHOKx+6ycxtjy/u2Ilf6NSISdLsq59r9zt+NKuy6EKdFS2WBeFxVNHY5sLRnr27Z0dzhi77W7MGMNb2zu8ZaTnGnq+hoE37mDgynuewdxz/VdORuTDuqUWQcxO/8tU+ZObfnDbDbzpBzBV9m/LdvraCGzfKLc6hnjLBW8F2q88NATATjaib3pxcLFzG2dim74PLw5eP9mIv4U9PHC/M5eTrPCrQ5XszzElyFac9OwN3/P8NMG8TeslMbZCf/tEIzlHSX8m5VXqlGBkCDoQ8C5BrH+Ys6GzjZaRP3YzDCHmaFnOOW6GERaM/Jyt8u0SLijrcssgNTXwLtAy9AcAsjvc7JWMxc9seP7cDHzDD8B49NSKk72OwUyqV+rEsBMDl9DVICZbNgLATjXTf96OgiudMKzdup0wxHYcvHlXM/sGxvttiCnOSk8FXIrsz8PjMxXpspOffcfz8rTG+XbCcqx5Xrri5OcUKuQGRbXssaljrcC36M/posWuuTr/+lYY1ebKnTCCq/MnFkx2HYPAKWdSQ8u+uQCPQEvX6qFwrfyuVvadnTi4uFmDa28GAXbi4Men2tl5FPN7uSiYKkjNDFxCy/4sg0d/qLqjwR5b9/04Znue0d5X4jzHehDEJxrsUYwHy6n7bVVm2WnnKNxqyLXbJn/b1fkTswSwrSiCq/OvtUy+juHl6sTjbe3AFdeW0DJqZ3e182d3kujNThxh2o7biSJ0k+ji3Qv5sxj2Ig8H7LdVmSmXUhY8VilKkB1z2Jev9zzOuZiYl3GB656XL7vsHzC85Os35qzvH9bxWorAsNsFANKjDr9saeL82hRz7fUggKWJp4/Y/CoGw1//mWVZM8nMwLdw7fxUm31zKwo7vXT/s5S9NMVWFK7ds8C+heG9NR8zROVRqeXFoxHXlhZJDBXBoi0e34yi/YehKMKiLf5JU/p7yUONV9d7xHW+aSWhhzYAV1v81SBPLm7FY8ct+rIVxwjz5I3VFn8V4w1XiytLqQ24sgEoXbvviiuu+Me9rCyEwDXP48uu+CqGZ3G1urKUWt+l28W1QwDpMVdcZsgvrIXh2D0bUQRDxUvHXHEZw8GvVleWMo+XB6sbBnIznJ1s8a+9EwQ5rxyJ4pzjbd/P72xyuc1aTQLMNMHYS2oHrri2dM0QQNI0sWnrOL8eRf3vrkcRbB3n2xY2MEiP9NM88/ivD/N6PbTq2rIv5qtt8dRaGKaccwgh8E4Y5ne2xNMYb6B+tq9umQvwyDIyKDVxddw0VfH8jTjGZhzDVMWLDQNbGGzZzNW6wPwsXM05V7OR+fEmvn09CPiNKMKyi29jYN0Ag0BVe9+Vst/7w7OKnIEFKF6pMRdtrL3VxctMMOOoi2q2r5/LnWeF5vqK90gAGyTaXTy5ZAtpXRms5jIMjcq8LQwMnywIAVgrDVwuD+9K68oZ1dxcWcrcX+IfScHKwBRWfu9H8Xn2XSm3w8LAYHfEQ5F6TVGYWM6qYsy570q5Lf+mYSRH1QFwA8AGgJsooOXe7tzl/wGchYFKtBMCwAAAAABJRU5ErkJggg=="},removeMarkers:function(t){for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:{};this.option=t;var e=t.map;this.position=t.position,this.index=1,this.visible=this.alwaysVisible="ALWAYS"===t.display,this.init(),Object.defineProperty(this,"onclick",{setter:function(t){this.div.onclick=t},getter:function(){return this.div.onclick}}),e&&this.setMap(e)};e.prototype=new n.Overlay,e.prototype.init=function(){var t=this.option,e=this.div=document.createElement("div"),i=e.style;i.position="absolute",i.whiteSpace="nowrap",i.transform="translateX(-50%) translateY(-100%)",i.zIndex=1,i.boxShadow=t.boxShadow||"none",i.display=this.visible?"block":"none";var n=this.triangle=document.createElement("div");n.setAttribute("style","position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"),this.setStyle(t),this.changed=function(t){i.display=this.visible?"block":"none"},e.appendChild(n)},e.prototype.construct=function(){var t=this.div,e=this.getPanes();e.floatPane.appendChild(t)},e.prototype.draw=function(){var t=this.getProjection();if(this.position&&this.div&&t){var e=t.fromLatLngToDivPixel(this.position),i=this.div.style;i.left=e.x+"px",i.top=e.y+"px"}},e.prototype.destroy=function(){this.div.parentNode.removeChild(this.div),this.div=null,this.triangle=null},e.prototype.setOption=function(t){this.option=t,this.setPosition(t.position),"ALWAYS"===t.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,this.setStyle(t)},e.prototype.setStyle=function(t){var e=this.div,i=e.style;e.innerText=t.content,i.lineHeight=(t.fontSize||14)+"px",i.fontSize=(t.fontSize||14)+"px",i.padding=(t.padding||8)+"px",i.color=t.color||"#000",i.borderRadius=(t.borderRadius||0)+"px",i.backgroundColor=t.bgColor||"#fff",i.marginTop="-"+(t.top+5)+"px",this.triangle.style.borderColor="".concat(t.bgColor||"#fff"," transparent transparent")},e.prototype.setPosition=function(t){this.position=t,this.draw()},t()};var r=document.createElement("script");r.src="https://map.qq.com/api/js?v=2.exp&key=".concat(e,"&callback=").concat(i,"&libraries=geometry"),document.body.appendChild(r)}}}}}).call(this,i("3ad9")["default"])},6428:function(t,e,i){"use strict";var n=i("c99c"),r=i.n(n);r.a},6481:function(t,e,i){"use strict";i.r(e),i.d(e,"base64ToArrayBuffer",function(){return n}),i.d(e,"arrayBufferToBase64",function(){return r});var n=[{name:"base64",type:String,required:!0}],r=[{name:"arrayBuffer",type:[ArrayBuffer,Uint8Array],required:!0}]},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"),a={name:"Radio",mixins:[o["a"],o["c"]],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=(i("c96e"),i("0c7c")),u=Object(c["a"])(s,n,r,!1,null,null,null);e["default"]=u.exports},"64d0":function(t,e,i){"use strict";var n=i("1047"),r=i.n(n);r.a},"65a8":function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return r});var n=44,r=50},"6bdf":function(t,e,i){"use strict";(function(t){i.d(e,"a",function(){return c});var n=i("85b6"),r=i("a470");function o(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"])(),a=o.top;if(e.id&&(i.id=t.id),e.dataset&&(i.dataset=Object(n["b"])(t.dataset||{})),e.rect||e.size){var s=t.getBoundingClientRect();e.rect&&(i.left=s.left,i.right=s.right,i.top=s.top-a,i.bottom=s.bottom),e.size&&(i.width=s.width,i.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(i,t.__vue__.getScrollPosition()):(i.scrollLeft=0,i.scrollTop=0)),i}function s(t,e,i,n,r){var o=e&&e.$el||t.$el;if(n){var s=o&&(o.matches(i)?o:o.querySelector(i));return s?a(s,r):null}if(o){var c=[],u=o.querySelectorAll(i);return u&&u.length&&(c=[].map.call(u,function(t){return a(t,r)})),o.matches(i)&&c.unshift(o),c}return[]}function c(e,i){var n=e.reqId,r=e.reqs,a=getCurrentPages(),c=a.find(function(t){return t.$page.id===i});if(!c)throw new Error("Not Found:Page[".concat(i,"]"));var u=[];r.forEach(function(t){var e=t.component,i=t.selector,n=t.single,r=t.fields;0===e?u.push(o(r)):u.push(s(c,e,i,n,r))}),t.publishHandler("onRequestComponentInfo",{reqId:n,res:u},c.$page.id)}}).call(this,i("501c"))},"6f00":function(t,e,i){"use strict";var n=i("cc83"),r=i.n(n);r.a},"6f45":function(t,e,i){},"70bb":function(t,e,i){"use strict";i.r(e),i.d(e,"openLocation",function(){return n});var n={latitude:{type:Number,required:!0},longitude:{type:Number,required:!0},scale:{type:Number,validator:function(t,e){t=Math.floor(t),e.scale=t>=5&&t<=18?t:18},default:18},name:{type:String},address:{type:String}}},"70f4":function(t,e,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("ab76"),a=o["a"],s=i("0c7c"),c=Object(s["a"])(a,n,r,!1,null,null,null);e["default"]=c.exports},"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,g=t,m=(e-p*t)/f;return{x:function(t){return Math.pow(Math.E,p*t)*(g*Math.cos(f*t)+m*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*(m*f*i-g*f*n)+p*e*(m*n+g*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}]}},"748c":function(t,e,i){},"74ce":function(t,e,i){},7559:function(t,e,i){"use strict";(function(t){var e=i("8bbf"),n=i.n(e),r=i("5129"),o=i.n(r),a=(i("a464"),i("a99e")),s=n.a.config.isReservedTag;t.uni=a["a"],n.a.config.isReservedTag=function(t){return-1!==o.a.indexOf(t)||s(t)},n.a.config.ignoredElements=o.a;var c=n.a.config.getTagNamespace,u=["switch","image","text","view"];n.a.config.getTagNamespace=function(t){return!~u.indexOf(t)&&(c(t)||!1)},i("1efd")}).call(this,i("24aa"))},"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"),a={name:"Checkbox",mixins:[o["a"],o["c"]],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=(i("f53a"),i("0c7c")),u=Object(c["a"])(s,n,r,!1,null,null,null);e["default"]=u.exports},"7c2b":function(t,e,i){"use strict";var n=i("6144"),r=i.n(n);r.a},"7e6a":function(t,e,i){"use strict";var n=i("e47d"),r=i.n(n);r.a},"82b9":function(t,e,i){"use strict";function n(t){return function(e,i){e&&(i[t]=Math.round(e))}}i.r(e),i.d(e,"canvasGetImageData",function(){return r}),i.d(e,"canvasPutImageData",function(){return o}),i.d(e,"canvasToTempFilePath",function(){return s}),i.d(e,"drawCanvas",function(){return c});var r={canvasId:{type:String,required:!0},x:{type:Number,required:!0,validator:n("x")},y:{type:Number,required:!0,validator:n("y")},width:{type:Number,required:!0,validator:n("width")},height:{type:Number,required:!0,validator:n("height")}},o={canvasId:{type:String,required:!0},data:{type:Uint8ClampedArray,required:!0},x:{type:Number,required:!0,validator:n("x")},y:{type:Number,required:!0,validator:n("y")},width:{type:Number,required:!0,validator:n("width")},height:{type:Number,validator:n("height")}},a={PNG:"png",JPG:"jpeg"},s={x:{type:Number,default:0,validator:n("x")},y:{type:Number,default:0,validator:n("y")},width:{type:Number,validator:n("width")},height:{type:Number,validator:n("height")},destWidth:{type:Number,validator:n("destWidth")},destHeight:{type:Number,validator:n("destHeight")},canvasId:{type:String,require:!0},fileType:{type:String,validator:function(t,e){t=(t||"").toUpperCase(),e.fileType=t in a?a[t]:a.PNG}},quality:{type:Number,validator:function(t,e){t=Math.floor(t),e.quality=t>0&&t<1?t:1}}},c={canvasId:{type:String,require:!0},actions:{type:Array,require:!0},reserve:{type:Boolean,default:!1}}},"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,default:50},hoverStayTime:{type:Number,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)}}}},"856e":function(t,e,i){"use strict";var n=i("500a"),r=i.n(n);r.a},"85b6":function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return r});function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return Array.isArray(t[e])&&t[e].length}function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=JSON.parse(JSON.stringify(t)),i=Object.keys(e),n=i.length;if(n)for(var r=0;re-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=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 i=this._c,n=this._m,r=this._k,o=i*i-4*n*r;if(0===o){var a=-i/(2*n),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=(-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,g=t,m=(e-p*t)/f;return{x:function(t){return Math.pow(Math.E,p*t)*(g*Math.cos(f*t)+m*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*(m*f*i-g*f*n)+p*e*(m*n+g*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||!s(e,.1)){e=e||0;var n=this._endPosition;this._solution&&(s(e,.1)&&(e=this._solution.dx((i-this._startTime)/1e3)),n=this._solution.x((i-this._startTime)/1e3),s(e,.1)&&(e=0),s(n,.1)&&(n=0),n+=this._endPosition),this._solution&&s(n-t,.1)&&s(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()),a(this.x(),this._endPosition,.1)&&s(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=!1;function f(t){d||(d=!0,requestAnimationFrame(function(){t(),d=!1}))}function p(t,e){if(t===e)return 0;var i=t.offsetLeft;return t.offsetParent?i+=p(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 m(t,e){return+((1e3*t-1e3*e)/1e3).toFixed(1)}function v(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 a=t.done();a||e.cancelled||(e.id=requestAnimationFrame(o.bind(null,e,i,n,r))),a&&r&&r(i)}}return o(r,t,e,i),{cancel:n.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||(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),f(function(){e._setTransform(i,n,e._scale,r)})}}},__handleTouchEnd:function(){var t=this;if(!this._isScaling&&!this.disabled&&this._isTouching&&(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,a=r+this._translateY;othis.maxX&&(o=this.maxX,a=this._translateY+(this.maxX-this._translateX)*r/n),athis.maxY&&(a=this.maxY,o=this._translateX+(this.maxY-this._translateY)*n/r),this._friction.setEnd(o,a),this._FA=v(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:m(t,this._scaleOffset.x),y:m(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 a="translateX("+t+"px) translateY("+e+"px) translateZ(0px) scale("+i+")";this.$el.style.transform=a,this.$el.style.webkitTransform=a,this._translateX=t,this._translateY=e,this._scale=i}}},_=y,b=(i("7c2b"),i("0c7c")),S=Object(b["a"])(_,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["d"])(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["d"])(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 a(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 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),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},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 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()},s.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;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-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&&(s<=0&&s>=-n._extent&&(n._position=s,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})},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,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)))},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,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},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,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())},_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 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=[],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,a=new Array(o>2?o-2:0),s=2;s2?r-2:0),a=2;a2?i-2:0),o=2;o100&&(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=(i("944e"),i("0c7c")),u=Object(c["a"])(s,n,r,!1,null,null,null);e["default"]=u.exports},"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"),a=i("ba15"),s={name:"Slider",mixins:[o["a"],o["c"],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"],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=s,u=(i("6428"),i("0c7c")),l=Object(u["a"])(c,n,r,!1,null,null,null);e["default"]=l.exports},a201:function(t,e,i){"use strict";i.r(e),i.d(e,"request",function(){return u});var n=i("f2b3"),r={OPTIONS:"OPTIONS",GET:"GET",HEAD:"HEAD",POST:"POST",PUT:"PUT",DELETE:"DELETE",TRACE:"TRACE",CONNECT:"CONNECT"},o={JSON:"json"},a={TEXT:"text",ARRAYBUFFER:"arraybuffer"},s=encodeURIComponent;function c(t,e){var i=t.split("#"),r=i[1]||"";i=i[0].split("?");var o=i[1]||"";t=i[0];var a=o.split("&").filter(function(t){return t});for(var c in o={},a.forEach(function(t){t=t.split("="),o[t[0]]=t[1]}),e)e.hasOwnProperty(c)&&(Object(n["d"])(e[c])?o[s(c)]=s(JSON.stringify(e[c])):o[s(c)]=s(e[c]));return o=Object.keys(o).map(function(t){return"".concat(t,"=").concat(o[t])}).join("&"),t+(o?"?"+o:"")+(r?"#"+r:"")}var u={method:{type:String,validator:function(t,e){t=(t||"").toUpperCase(),e.method=Object.values(r).indexOf(t)<0?r.GET:t}},data:{type:[Object,String,ArrayBuffer],validator:function(t,e){e.data=t||""}},url:{type:String,required:!0,validator:function(t,e){e.method===r.GET&&Object(n["d"])(e.data)&&Object.keys(e.data).length&&(e.url=c(t,e.data))}},header:{type:Object,validator:function(t,e){e.header=t||{},e.header["content-type"]=e.header["content-type"]||"application/json"}},dataType:{type:String,validator:function(t,e){e.dataType=(t||o.JSON).toLowerCase()}},responseType:{type:String,validator:function(t,e){t=(t||"").toLowerCase(),e.responseType=Object.values(a).indexOf(t)<0?a.TEXT:t}}}},a20f:function(t,e,i){"use strict";i.d(e,"a",function(){return s});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 a=CanvasRenderingContext2D.prototype;r(o,function(t,e){a[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){i=x.split("Build")[0].trim();break}for(var T=void 0,k=0;k\n/,"").replace(/\n/,"").replace(/\n/,"")}function o(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 a(e){e=r(e);var i=[],a={node:"root",children:[]};return Object(n["a"])(e,{start:function(t,e,n){var r={name:t};if(0!==e.length&&(r.attrs=o(e)),n){var s=i[0]||a;s.children||(s.children=[]),s.children.push(r)}else i.unshift(r)},end:function(e){var n=i.shift();if(n.name!==e&&t.error("invalid state: mismatch end tag"),0===i.length)a.children.push(n);else{var r=i[0];r.children||(r.children=[]),r.children.push(n)}},chars:function(t){var e={type:"text",text:t};if(0===i.length)a.children.push(e);else{var n=i[0];n.children||(n.children=[]),n.children.push(e)}},comment:function(t){var e={node:"comment",text:t},n=i[0];n.children||(n.children=[]),n.children.push(e)}}),a.children}}).call(this,i("3ad9")["default"])},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"),a={name:"Form",mixins:[o["c"]],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=i("0c7c"),u=Object(c["a"])(s,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("b10a"),a=i("f2b3"),s={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:""},c={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'"};function u(t){return t.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(t,e){if(Object(a["b"])(c,e)&&c[e])return c[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 l(t,e){return t.forEach(function(t){if(Object(a["d"])(t))if(Object(a["b"])(t,"type")&&"node"!==t.type)"text"===t.type&&"string"===typeof t.text&&""!==t.text&&e.appendChild(document.createTextNode(u(t.text)));else{if("string"!==typeof t.name||!t.name)return;var i=t.name.toLowerCase();if(!Object(a["b"])(s,i))return;var n=document.createElement(i);if(!n)return;var r=t.attrs;if(Object(a["d"])(r)){var o=s[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 c=t.children;Array.isArray(c)&&c.length&&l(t.children,n),e.appendChild(n)}}),e}var h={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=Object(o["a"])(t));var e=l(t,document.createDocumentFragment());this.$el.firstChild.innerHTML="",this.$el.firstChild.appendChild(e)}}},d=h,f=i("0c7c"),p=Object(f["a"])(d,n,r,!1,null,null,null);e["default"]=p.exports},b865:function(t,e,i){"use strict";(function(t,n){function r(t,e,i){n.UniViewJSBridge.subscribeHandler(t,e,i)}i.d(e,"a",function(){return r})}).call(this,i("0dd1"),i("24aa"))},b866:function(t,e,i){"use strict";i.r(e),i.d(e,"getImageInfo",function(){return r});var n=i("cb0f"),r={src:{type:String,required:!0,validator:function(t,e){e.src=Object(n["a"])(t)}}}},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,a=0,s=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-a,ddx:n-s,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=s=t.touches[0].pageX,a=c=t.touches[0].pageY,u(t,"start",o,a)}),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 s=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("dc5e"),a=o["a"],s=(i("0741"),i("0c7c")),c=Object(s["a"])(a,n,r,!1,null,null,null);e["default"]=c.exports},bfea:function(t,e,i){"use strict";var n=i("1360"),r=i.n(n);r.a},c312:function(t,e,i){},c33f:function(t,e,i){"use strict";var n=i("74ce"),r=i.n(n);r.a},c35d: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",{on:{click:function(e){return e.stopPropagation(),t._click(e)}}},[i("div",[t._t("default")],2)])},r=[],o=i("f11c"),a=o["a"],s=(i("6f00"),i("0c7c")),c=Object(s["a"])(a,n,r,!1,null,null,null);e["default"]=c.exports},c41f: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({attrs:{"scroll-top":t.scrollTop}},t.$listeners),[i("div",{ref:"content",staticClass:"uni-cover-view"},[t._t("default")],2)])},r=[],o={name:"CoverView",props:{scrollTop:{type:[String,Number],default:0}},watch:{scrollTop:function(t){this.setScrollTop(t)}},mounted:function(){this.setScrollTop(this.scrollTop)},methods:{setScrollTop:function(t){var e=this.$refs.content;"scroll"===getComputedStyle(e).overflowY&&(e.scrollTop=this._upx2pxNum(t))},_upx2pxNum:function(t){return/\d+[ur]px$/i.test(t)&&t.replace(/\d+[ur]px$/i,function(t){return uni.upx2px(parseFloat(t))}),parseFloat(t)||0}}},a=o,s=(i("cc5f"),i("0c7c")),c=Object(s["a"])(a,n,r,!1,null,null,null);e["default"]=c.exports},c61c:function(t,e,i){"use strict";function n(t){return Math.sqrt(t.x*t.x+t.y*t.y)}i.r(e);var r,o,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=n(i),this.gapV=i,!this.scaleArea){var r=this._find(e[0].target),o=this._find(e[1].target);this._scaleMovableView=r&&r===o?r: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 r=n(i)/this.pinchStartLen;this._updateScale(r)}this.gapV=i}},_touchend:function(t){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))}},s=a,c=(i("a3e5"),i("0c7c")),u=Object(c["a"])(s,r,o,!1,null,null,null);e["default"]=u.exports},c8ed:function(t,e,i){"use strict";var n=i("0dba"),r=i.n(n);r.a},c96e:function(t,e,i){"use strict";var n=i("c312"),r=i.n(n);r.a},c99c:function(t,e,i){},cb0f:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("0f74"),r=/^([a-z-]+:)?\/\//i,o=/^data:.*,.*/;function a(t){return __uniConfig.router.base?__uniConfig.router.base+t:t}function s(t){if(0===t.indexOf("/")){if(0!==t.indexOf("//"))return a(t.substr(1));t="https:"+t}if(r.test(t)||o.test(t)||0===t.indexOf("blob:"))return t;var e=getCurrentPages();return e.length?a(Object(n["a"])(e[e.length-1].$page.route,t).substr(1)):t}},cc5f:function(t,e,i){"use strict";var n=i("6f45"),r=i.n(n);r.a},cc76:function(t,e,i){"use strict";var n=Object.create(null),r=i("19c4");r.keys().forEach(function(t){Object.assign(n,r(t))}),e["a"]=n},cc83:function(t,e,i){},cee1:function(t,e,i){},d3bd:function(t,e,i){"use strict";i.r(e);var n,r,o=i("8af1"),a={name:"Button",mixins:[o["b"],o["a"],o["c"]],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,default:20},hoverStayTime:{type:Number,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"}},s=a,c=(i("5676"),i("0c7c")),u=Object(c["a"])(s,n,r,!1,null,null,null);e["default"]=u.exports},d5bc:function(t,e,i){},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"),a={name:"RadioGroup",mixins:[o["a"],o["c"]],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}}},s=a,c=(i("fb61"),i("0c7c")),u=Object(c["a"])(s,n,r,!1,null,null,null);e["default"]=u.exports},d677: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({attrs:{src:t.src}},t.$listeners),[i("div",{staticClass:"uni-cover-image"},[t.src?i("img",{attrs:{src:t.$getRealPath(t.src)},on:{load:t._load,error:t._error}}):t._e()])])},r=[],o={name:"CoverImage",props:{src:{type:String,default:""}},methods:{_load:function(t){this.$trigger("load",t)},_error:function(t){this.$trigger("error",t)}}},a=o,s=(i("5d1d"),i("0c7c")),c=Object(s["a"])(a,n,r,!1,null,null,null);e["default"]=c.exports},d8c8:function(t,e,i){"use strict";var n,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 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){a[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"),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-"+i+")"};u(n,p),u(o,p),u(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),u(c,{transition:"0s",animation:"none",width:"250%",height:"250%"}),n.appendChild(s),o.appendChild(c),t.appendChild(n),t.appendChild(o),l(function(){n.scrollTop=o.scrollTop=f;var t=n.scrollTop,r=o.scrollTop;function a(){this.scrollTop!==(this===n?t:r)&&(n.scrollTop=o.scrollTop=f,t=n.scrollTop,r=o.scrollTop,h(i))}n.addEventListener("scroll",a,e),o.addEventListener("scroll",a,e)});var g=getComputedStyle(n);Object.defineProperty(a,i,{configurable:!0,get:function(){return parseFloat(g.paddingBottom)}})}}function u(t){return n||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()&&(n||c(),"function"===typeof t&&d.push(t))}function p(t){var e=d.indexOf(t);e>=0&&d.splice(e,1)}var g={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=g},db18:function(t,e,i){"use strict";var n=i("08c9"),r=i.n(n);r.a},dc5e:function(t,e,i){"use strict";(function(t,n){var r=i("8af1"),o=i("a20f");function a(t){return u(t)||c(t)||s()}function s(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function c(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function u(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e-1&&o&&!Object(n["b"])(r,"default")&&(s=!1),void 0===s&&Object(n["b"])(r,"default")){var u=r["default"];s=Object(n["c"])(u)?u():u,i[t]=s}return a(r,t,s,o,i)}function a(t,e,i,n,r){if(t.required&&n)return"Missing required parameter `".concat(e,"`");if(null==i&&!t.required){var o=t.validator;return o?o(i,r):void 0}var a=t.type,s=!a||!0===a,u=[];if(a){Array.isArray(a)||(a=[a]);for(var l=0;l should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")}}}}).call(this,i("3ad9")["default"])},f102:function(t,e,i){"use strict";i.r(e),i.d(e,"makePhoneCall",function(){return n});var n={phoneNumber:{type:String,required:!0,validator:function(t){if(!t)return"makePhoneCall:fail parameter error: parameter.phoneNumber should not be empty String;"}}}},f11c:function(t,e,i){"use strict";(function(t){var n=i("8af1");function r(t){return r="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},r(t)}var o=t,a=o.subscribe,s=o.unsubscribe,c=o.publishHandler,u={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},l={YEAR:"year",MONTH:"month",DAY:"day"};e["a"]={name:"Picker",mixins:[n["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:u.SELECTOR,validator:function(t){return Object.values(u).indexOf(t)>=0}},fields:{type:String,default:"day",validator:function(t){return Object.values(l).indexOf(t)>=0}},start:{type:String,default:function(){if(this.mode===u.TIME)return"00:00";if(this.mode===u.DATE){var t=(new Date).getFullYear()-100;switch(this.fields){case l.YEAR:return t;case l.MONTH:return t+"-01";case l.DAY:return t+"-01-01"}}return""}},end:{type:String,default:function(){if(this.mode===u.TIME)return"23:59";if(this.mode===u.DATE){var t=(new Date).getFullYear()+100;switch(this.fields){case l.YEAR:return t;case l.MONTH:return t+"-12";case l.DAY:return t+"-12-31"}}return""}},disabled:{type:[Boolean,String],default:!1}},data:function(){return{valueSync:this.value||0,visible:!1,valueChangeSource:""}},watch:{value:function(t){var e=this;Array.isArray(t)?(Array.isArray(this.valueSync)||(this.valueSync=[]),this.valueSync.length=t.length,t.forEach(function(t,i){t!==e.valueSync[i]&&e.$set(e.valueSync,i,t)})):"object"!==r(t)&&(this.valueSync=t)},valueSync:function(t){this.valueChangeSource?this.$emit("update:value",t):this._show()}},created:function(){var t=this;this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this}),Object.keys(this.$props).forEach(function(e){"value"!==e&&"name"!==e&&t.$watch(e,t._show)})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},destroyed:function(){if(this.visible){var t=this.$page.id;c("hidePicker",{},t)}},methods:{_click:function(){if(!this.disabled){var t=this.$page.id;a("".concat(t,"-picker-change"),this.change),a("".concat(t,"-picker-columnchange"),this.columnchange),a("".concat(t,"-picker-cancel"),this.cancel),this.visible=!0,this._show()}},_show:function(){if(this.visible){var t=this.$page.id,e=Object.assign({},this.$props);e.value=this.valueSync,c("showPicker",e,t)}},change:function(t){this.visible=!1;var e=this.$page.id;if(s("".concat(e,"-picker-change")),s("".concat(e,"-picker-columnchange")),s("".concat(e,"-picker-cancel")),!this.disabled){this.valueChangeSource="click";var i=t.value;this.valueSync=Array.isArray(i)?i.map(function(t){return t}):i,this.$trigger("change",{},{value:i})}},columnchange:function(t){this.$trigger("columnchange",{},t)},cancel:function(t){this.visible=!1;var e=this.$page.id;s("".concat(e,"-picker-change")),s("".concat(e,"-picker-columnchange")),s("".concat(e,"-picker-cancel")),this.$trigger("cancel",{},{})},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){this.valueSync=""}}}}).call(this,i("501c"))},f1b2:function(t,e,i){"use strict";i.r(e),i.d(e,"chooseImage",function(){return o});var n=["original","compressed"],r=["album","camera"],o={count:{type:Number,required:!1,default:9,validator:function(t,e){t<=0&&(e.count=9)}},sizeType:{type:Array,required:!1,default:n,validator:function(t,e){var i=t.length;if(i){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"";return(""+t).replace(/[^\x00-\xff]/g,"**").length}decodeURIComponent;i.d(e,"e",function(){return n}),i.d(e,"c",function(){return s}),i.d(e,"d",function(){return c}),i.d(e,"b",function(){return u}),i.d(e,"f",function(){return l}),i.d(e,"a",function(){return f})},f53a:function(t,e,i){"use strict";var n=i("4871"),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)},f7b4:function(t,e,i){"use strict";(function(t){i.d(e,"a",function(){return o}),i.d(e,"b",function(){return s});var n,r=[];function o(t){r.push(t),n||a()}function a(){var e=t,i=e.invokeCallbackHandler;if(window.DeviceOrientationEvent)return n=function(t){var e=360-t.alpha;r.forEach(function(t){i(t,{errMsg:"onCompassChange:ok",direction:e||0})})},window.addEventListener("deviceorientation",n,!1),{};throw new Error("device nonsupport deviceorientation")}function s(){return n&&(window.removeEventListener("deviceorientation",n,!1),n=null),{}}}).call(this,i("0dd1"))},f7fd:function(t,e,i){"use strict";var n=i("ac9d"),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]));i("7559")},fb61:function(t,e,i){"use strict";var n=i("90c9"),r=i.n(n);r.a},fcd8:function(t,e,i){},ffdc:function(t,e,i){"use strict";function n(t,e,i,n){var r,o=document.createElement("script"),a=e.callback||"callback",s="__callback"+Date.now(),c=e.timeout||3e4;function u(){clearTimeout(r),delete window[s],o.remove()}window[s]=function(t){"function"===typeof i&&i(t),u()},o.onerror=function(){"function"===typeof n&&n(),u()},r=setTimeout(function(){"function"===typeof n&&n(),u()},c),o.src=t+(t.indexOf("?")>=0?"&":"?")+a+"="+s,document.body.appendChild(o)}i.d(e,"a",function(){return 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["index"]=e(require("vue")):t["index"]=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")}({"0554":function(t,e,i){"use strict";(function(t){i.d(e,"a",function(){return o});var n=i("ffdc");function r(t,e,i){var r=__uniConfig.qqMapKey,o="https://apis.map.qq.com/ws/coord/v1/translate?locations=".concat(t.latitude,",").concat(t.longitude,"&type=1&key=").concat(r,"&output=jsonp");Object(n["a"])(o,{},function(t){"locations"in t&&t.locations.length?e({longitude:t.locations[0].lng,latitude:t.locations[0].lat}):i(t)},i)}function o(e,i){var n=e.type,o=e.altitude,a=t,s=a.invokeCallbackHandler;function c(t){s(i,Object.assign(t,{errMsg:"getLocation:ok",verticalAccuracy:t.altitudeAccuracy||0,horizontalAccuracy:t.accuracy}))}navigator.geolocation?navigator.geolocation.getCurrentPosition(function(t){var e=t.coords;"WGS84"===n?c(e):r(e,c,function(t){s(i,{errMsg:"getLocation:fail "+JSON.stringify(t)})})},function(){s(i,{errMsg:"getLocation:fail"})},{enableHighAccuracy:o,timeout:3e5}):s(i,{errMsg:"getLocation:fail device nonsupport geolocation"})}}).call(this,i("0dd1"))},"0741":function(t,e,i){"use strict";var n=i("9a72"),r=i.n(n);r.a},"08c9":function(t,e,i){},"0950":function(t,e,i){},"0998":function(t,e,i){"use strict";var n=i("4509"),r=i.n(n);r.a},"0c7c":function(t,e,i){"use strict";function n(t,e,i,n,r,o,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=i,u._compiled=!0),n&&(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}}i.d(e,"a",function(){return n})},"0dba":function(t,e,i){},"0dd1":function(t,e,i){"use strict";i.r(e),i.d(e,"on",function(){return c}),i.d(e,"off",function(){return u}),i.d(e,"once",function(){return l}),i.d(e,"emit",function(){return h}),i.d(e,"subscribe",function(){return d}),i.d(e,"unsubscribe",function(){return f}),i.d(e,"subscribeHandler",function(){return p});var n=i("8bbf"),r=i.n(n),o=i("27a7");i.d(e,"invokeCallbackHandler",function(){return o["a"]});var a=i("b865");i.d(e,"publishHandler",function(){return a["a"]});var s=new r.a,c=s.$on.bind(s),u=s.$off.bind(s),l=s.$once.bind(s),h=s.$emit.bind(s);function d(t,e){return c("view."+t,e)}function f(t,e){return u("view."+t,e)}function p(t,e,i){return h("view."+t,e,i)}},"0f55":function(t,e,i){"use strict";var n=i("eaa4"),r=i.n(n);r.a},"0f74":function(t,e,i){"use strict";function n(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 n(t,e.substr(2));for(var r=e.split("/"),o=r.length,a=0;a0?t.split("/"):[];return s.splice(s.length-a-1,a+1),"/"+s.concat(r).join("/")}i.d(e,"a",function(){return n})},1047:function(t,e,i){},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 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="",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._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._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}},_loadImage:function(){this.$refs.content.style.backgroundImage=this.src?"url(".concat(this.realImagePath,")"):"none";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}}},s=a,c=(i("db18"),i("0c7c")),u=Object(c["a"])(s,n,r,!1,null,null,null);e["default"]=u.exports},"11fb":function(t,e,i){"use strict";i.r(e),i.d(e,"previewImage",function(){return r});var n=i("cb0f"),r={urls:{type:Array,required:!0,validator:function(t,e){var i;if(e.urls=t.map(function(t){if("string"===typeof t)return Object(n["a"])(t);i=!0}),i)return"url is not string"}},current:{type:[String,Number],validator:function(t,e){"number"===typeof t?e.current=t>0&&t\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 i,d,f,p=[],g=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),""}),y("",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}}y()}function f(t){for(var e={},i=t.split(","),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;e.animation={duration:t.duration||0,timingFunc:t.timingFunc||"linear"}}}},o={title:{type:String,required:!0}}},1955:function(t,e,i){"use strict";i.r(e);var n,r,o=i("ba15"),a=i("8aec"),s=i("5363"),c=i("72b3"),u={name:"PickerViewColumn",mixins:[o["a"],a["a"]],data:function(){return{scope:"picker-view-column-".concat(Date.now()),inited:!1,indicatorStyle:"",indicatorClass:"",indicatorHeight:34,maskStyle:"",maskClass:"",current:this.$parent.getItemValue(this),length:0}},computed:{height:function(){return this.$parent.height},maskSize:function(){return(this.height-this.indicatorHeight)/2}},watch:{indicatorHeight:function(t){this._setItemHeight(t),this.inited&&this.update()},current:function(t){this.$parent.setItemValue(this,t)},length:function(t){this.inited&&this.update(t)}},created:function(){var t=this.$parent;this.indicatorStyle=t.indicatorStyle,this.indicatorClass=t.indicatorClass,this.maskStyle=t.maskStyle,this.maskClass=t.maskClass},mounted:function(){var t=this;this.touchtrack(this.$refs.main,"_handleTrack",!0),this.setCurrent(this.current),this.$nextTick(function(){t.init(),t.update()})},methods:{_setItemHeight:function(t){var e=document.createElement("style");e.innerText=".uni-picker-view-content.".concat(this.scope,">*{height: ").concat(t,"px;overflow: hidden;}"),document.head.appendChild(e)},_handleTrack:function(t){if(this._scroller)switch(t.detail.state){case"start":this._handleTouchStart(t);break;case"move":this._handleTouchMove(t);break;case"end":case"cancel":this._handleTouchEnd(t)}},_handleTap:function(t){if(t.target!==t.currentTarget&&!this._scroller.isScrolling()){var e=t.touches&&t.touches[0]&&t.touches[0].clientY,i="number"===typeof e?e:t.detail.y-document.body.scrollTop,n=this.$el.getBoundingClientRect(),r=i-n.top-this._height/2,o=this.indicatorHeight/2;if(!(Math.abs(r)<=o)){var a=Math.ceil((Math.abs(r)-o)/this.indicatorHeight),s=r<0?-a:a;this.current+=s,this._scroller.scrollTo(this.current*this.indicatorHeight)}}},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 s["a"](1e-4),spring:new c["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.max(t.length-1,0),i=Math.min(t.current,e);t._scroller.update(i*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:{tap:this._handleTap}},[t("div",{ref:"main",staticClass:"uni-picker-view-group"},[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])])])}},l=u,h=(i("edfa"),i("0c7c")),d=Object(h["a"])(l,n,r,!1,null,null,null);e["default"]=d.exports},"19c4":function(t,e,i){var n={"./base/base64.js":"6481","./base/can-i-use.js":"957a","./base/event-bus.js":"b0ef","./base/interceptor.js":"a954","./base/upx2px.js":"2289","./context/canvas.js":"82b9","./context/context.js":"3bfb","./device/make-phone-call.js":"f102","./file/open-document.js":"2604","./location/choose-location.js":"e5bb","./location/get-location.js":"19d9","./location/open-location.js":"70bb","./media/choose-image.js":"f1b2","./media/choose-video.js":"ed9f","./media/get-image-info.js":"b866","./media/preview-image.js":"11fb","./network/download-file.js":"439a","./network/request.js":"a201","./network/socket.js":"abb2","./network/upload-file.js":"9a3e","./plugin/get-provider.js":"4e7c","./route/route.js":"332a","./storage/storage.js":"ec33","./ui/navigation-bar.js":"1934","./ui/page-scroll-to.js":"232e","./ui/popup.js":"2246","./ui/tab-bar.js":"5621"};function r(t){var e=o(t);return i(e)}function o(t){var e=n[t];if(!(e+1)){var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}return e}r.keys=function(){return Object.keys(n)},r.resolve=o,t.exports=r,r.id="19c4"},"19d9":function(t,e,i){"use strict";i.r(e),i.d(e,"getLocation",function(){return r});var n={WGS84:"WGS84",GCJ02:"GCJ02"},r={type:{type:String,validator:function(t,e){t=(t||"").toUpperCase(),e.type=Object.values(n).indexOf(t)<0?n.WGS84:t},default:n.WGS84},altitude:{altitude:Boolean,default:!1}}},"1a33":function(t,e,i){},"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)},methods:{_toggleListeners:function(e,i,r){r&&!i||Object(n["c"])(this._handleSubscribe)&&t[e](this.$page.id+"-"+this.$options.name.replace(/VUni([A-Z])/,"$1").toLowerCase()+"-"+i,this._handleSubscribe)}}}}).call(this,i("501c"))},"1c64":function(t,e,i){"use strict";var n=i("9613"),r=i.n(n);r.a},"1efd":function(t,e,i){"use strict";i.r(e);var n=i("8bbf"),r=i.n(n),o=i("cb0f"),a=i("d4b6"),s={methods:{$getRealPath:function(t){return Object(o["a"])(t)},$trigger:function(t,e,i){this.$emit(t,a["a"].call(this,t,e,i,this.$el,this.$el))}}};function c(t){return h(t)||l(t)||u()}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function l(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function h(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e-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,a=t._i(i,o);n.checked?a<0&&(t.inputValue=i.concat([o])):a>-1&&(t.inputValue=i.slice(0,a).concat(i.slice(a+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"),a=["text","number","idcard","digit","password"],s=["number","digit"],c={name:"Input",mixins:[o["a"]],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 i=e.$options._scopeId;i&&this.$refs.placeholder.setAttribute(i,""),e=e.$parent}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=(i("0f55"),i("0c7c")),h=Object(l["a"])(u,n,r,!1,null,null,null);e["default"]=h.exports},"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"),a={name:"CheckboxGroup",mixins:[o["a"],o["c"]],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=(i("0998"),i("0c7c")),u=Object(c["a"])(s,n,r,!1,null,null,null);e["default"]=u.exports},2604:function(t,e,i){"use strict";i.r(e),i.d(e,"openDocument",function(){return n});var n={filePath:{type:String,required:!0},fileType:{type:String}}},2608:function(t,e,i){"use strict";(function(t){function n(e){return function(){try{return e.apply(e,arguments)}catch(i){t.error(i)}}}function r(e){return function(){try{return e.apply(e,arguments)}catch(i){t.error(i)}}}i.d(e,"b",function(){return n}),i.d(e,"a",function(){return r})}).call(this,i("3ad9")["default"])},"27a7":function(t,e,i){"use strict";(function(t){i.d(e,"a",function(){return r});i("f2b3"),i("2608"),i("ed1a"),i("cc76"),i("de29");var n={};function r(t,e){if("number"===typeof t){var i=n[t];if(i)return i.keepAlive||delete n[t],i.callback(e)}return e}}).call(this,i("3ad9")["default"])},"27ab":function(t,e,i){"use strict";function n(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,i=new Array(t.length);e0&&(r.currentTime=e)}),r.addEventListener("progress",function(t){var e=r.buffered;e.length&&(i.buffered=e.end(e.length-1)/r.duration)}),r.addEventListener("waiting",function(t){i.$trigger("waiting",t,{})}),r.addEventListener("error",function(t){i.playing=!1,i.$trigger("error",t,{})}),r.addEventListener("play",function(t){i.start=!0,i.playing=!0,i.fullscreenTriggering||i.$trigger("play",t,{})}),r.addEventListener("pause",function(t){i.playing=!1,i.fullscreenTriggering||i.$trigger("pause",t,{})}),r.addEventListener("ended",function(t){i.playing=!1,i.$trigger("ended",t,{})}),r.addEventListener("timeupdate",function(t){var e=i.currentTime=r.currentTime,o=r.duration,a=n.danmuIndex,s={time:e,index:a.index},c=n.danmuList;if(e>a.time)for(var u=a.index+1;u=(l.time||0)))break;s.index=u,i.playing&&i.enableDanmuSync&&i.playDanmu(l)}else if(e-1;h--){var d=c[h];if(!(e<=(d.time||0)))break;s.index=h-1}n.danmuIndex=s,i.$trigger("timeupdate",t,{currentTime:e,duration:o})}),r.addEventListener("x5videoenterfullscreen",function(t){i.$trigger("fullscreenchange",t,{fullScreen:!0})}),r.addEventListener("x5videoexitfullscreen",function(t){i.$trigger("fullscreenchange",t,{fullScreen:!1})});var a,c=!0;function u(n){var r=i.getScreenXY(n.targetTouches[0]),o=r.pageX,s=r.pageY;if(c&&Math.abs(o-t)100&&(h=100),i.progress=h,n.preventDefault(),n.stopPropagation()}}function l(t){i.controlsTouching=!1,i.touching&&(o.removeEventListener("touchmove",u,s),c||(t.preventDefault(),t.stopPropagation(),i.seek(i.$refs.video.duration*i.progress/100)),i.touching=!1)}o.addEventListener("touchstart",function(n){i.controlsTouching=!0;var r=i.getScreenXY(n.targetTouches[0]);t=r.pageX,e=r.pageY,a=i.progress,c=!0,i.touching=!0,o.addEventListener("touchmove",u,s)}),o.addEventListener("touchend",l),o.addEventListener("touchcancel",l),String(this.srcSync).length&&this.autoplay&&r.play()},beforeDestroy:function(){this.$refs.container.remove(),clearTimeout(this.otherData.hideTiming)},methods:{_handleSubscribe:function(t){var e=t.type,i=t.data,n=void 0===i?{}:i;switch(e){case"play":this.play();break;case"pause":this.pause();break;case"seek":this.seek(n.position);break;case"sendDanmu":this.sendDanmu(n);break;case"playbackRate":this.$refs.video.playbackRate=n.rate;break;case"requestFullScreen":this.enterFullscreen();break;case"exitFullScreen":this.leaveFullscreen();break}},resize:function(){var t=window.innerWidth,e=window.innerHeight,i=Math.abs(this.directionSync);this.rotateType=0===i?t>e?"left":"":90===i?t>e?"":"right":"",this.rotateType?(this.width=e+"px",this.height=t+"px"):(this.width=t+"px",this.height=e+"px")},trigger:function(){this.playing?this.$refs.video.pause():this.$refs.video.play()},play:function(){this.start=!0,this.$refs.video.play()},pause:function(){this.$refs.video.pause()},seek:function(t){t=Number(t),"number"!==typeof t||isNaN(t)||(this.$refs.video.currentTime=t)},clickProgress:function(t){var e=t.offsetX,i=this.$refs.progress,n=t.target;while(n!==i)e+=n.offsetLeft,n=n.parentNode;var r=i.offsetWidth,o=0;e>=0&&e<=r&&(o=e/r,this.seek(this.$refs.video.duration*o))},triggerDanmu:function(){this.enableDanmuSync=!this.enableDanmuSync},playDanmu:function(t){var e=document.createElement("p");e.className="uni-video-danmu-item",e.innerText=t.text;var i="bottom: ".concat(100*Math.random(),"%;color: ").concat(t.color,";");e.setAttribute("style",i),this.$refs.danmu.appendChild(e),setTimeout(function(){i+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",e.setAttribute("style",i),setTimeout(function(){e.remove()},4e3)},17)},sendDanmu:function(t){var e=this.otherData;e.danmuList.splice(e.danmuIndex.index+1,0,{text:String(t.text),color:t.color,time:this.$refs.video.currentTime||0})},triggerFullscreen:function(){this.fullscreen=!this.fullscreen},enterFullscreen:function(t){var e=Number(t);isNaN(NaN)||(this.directionSync=e),this.fullscreen=!0},leaveFullscreen:function(){this.fullscreen=!1},triggerControls:function(){this.controlsVisible=!this.controlsVisible},touchstart:function(t){var e=this.getScreenXY(t.targetTouches[0]);this.touchStartOrigin={x:e.pageX,y:e.pageY},this.gestureType=c.NONE,this.volumeOld=null,this.currentTimeOld=this.currentTimeNew=0},touchmove:function(t){function e(){t.stopPropagation(),t.preventDefault()}this.fullscreen&&e();var i=this.gestureType;if(i!==c.STOP){var n=this.getScreenXY(t.targetTouches[0]),r=n.pageX,o=n.pageY,a=this.touchStartOrigin;if(i===c.PROGRESS?this.changeProgress(r-a.x):i===c.VOLUME&&this.changeVolume(o-a.y),i===c.NONE)if(Math.abs(r-a.x)>Math.abs(o-a.y)){if(!this.enableProgressGesture)return void(this.gestureType=c.STOP);this.gestureType=c.PROGRESS,this.currentTimeOld=this.currentTimeNew=this.$refs.video.currentTime,this.fullscreen||e()}else{if(!this.pageGesture)return void(this.gestureType=c.STOP);this.gestureType=c.VOLUME,this.volumeOld=this.$refs.video.volume,this.fullscreen||e()}}},touchend:function(t){this.gestureType!==c.NONE&&this.gestureType!==c.STOP&&(t.stopPropagation(),t.preventDefault()),this.gestureType===c.PROGRESS&&this.currentTimeOld!==this.currentTimeNew&&(this.$refs.video.currentTime=this.currentTimeNew),this.gestureType=c.NONE},changeProgress:function(t){var e=this.$refs.video.duration,i=t/600*e+this.currentTimeOld;i<0?i=0:i>e&&(i=e),this.currentTimeNew=i},changeVolume:function(t){var e,i=this.volumeOld;"number"===typeof i&&(e=i-t/200,e<0?e=0:e>1&&(e=1),this.$refs.video.volume=e,this.volumeNew=e)},autoHideStart:function(){var t=this;this.otherData.hideTiming=setTimeout(function(){t.controlsVisible=!1},3e3)},autoHideEnd:function(){var t=this.otherData;t.hideTiming&&(clearTimeout(t.hideTiming),t.hideTiming=null)},getScreenXY:function(t){var e=this.rotateType;if(!this.fullscreen||!e)return t;var i,n,r=screen.width,o=screen.height,a=t.pageX,s=t.pageY;return"left"===e?(i=o-s,n=a):(i=s,n=r-a),{pageX:i,pageY:n}},updateProgress:function(){this.touching||(this.progress=this.currentTime/this.durationTime*100)}}},l=u,h=(i("856e"),i("0c7c")),d=Object(h["a"])(l,n,r,!1,null,null,null);e["default"]=d.exports},"332a":function(t,e,i){"use strict";i.r(e),i.d(e,"redirectTo",function(){return c}),i.d(e,"reLaunch",function(){return u}),i.d(e,"navigateTo",function(){return l}),i.d(e,"switchTab",function(){return h}),i.d(e,"navigateBack",function(){return d});var n=i("0f74");function r(t){if("string"!==typeof t)return t;var e=t.indexOf("?");if(-1===e)return t;var i=t.substr(e+1).trim().replace(/^(\?|#|&)/,"");if(!i)return t;t=t.substr(0,e);var n=[];return i.split("&").forEach(function(t){var e=t.replace(/\+/g," ").split("="),i=e.shift(),r=e.length>0?e.join("="):"";n.push(i+"="+encodeURIComponent(r))}),n.length?t+"?"+n.join("&"):t}function o(t){return function(e,i){e=Object(n["a"])(e);var o=e.split("?")[0],a=__uniRoutes.find(function(t){var e=t.path,i=t.alias;return e===o||i===o});if(!a)return"page `"+e+"` is not found";if("navigateTo"===t||"redirectTo"===t){if(a.meta.isTabBar)return"can not ".concat(t," a tabbar page")}else if("switchTab"===t&&!a.meta.isTabBar)return"can not switch to no-tabBar page";a.meta.isTabBar&&(e=o),a.meta.isEntry&&(e=e.replace(a.alias,"/")),i.url=r(e)}}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({url:{type:String,required:!0,validator:o(t)}},e)}function s(t){return{animationType:{type:String,validator:function(e){if(e&&-1===t.indexOf(e))return"`"+e+"` is not supported for `animationType` (supported values are: `"+t.join("`|`")+"`)"}},animationDuration:{type:Number}}}var c=a("redirectTo"),u=a("reLaunch"),l=a("navigateTo",s(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"])),h=a("switchTab"),d=Object.assign({delta:{type:Number,validator:function(t,e){t=parseInt(t)||1,e.delta=Math.min(getCurrentPages().length-1,t)}}},s(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]))},"33ed":function(t,e,i){"use strict";(function(t){i.d(e,"b",function(){return r}),i.d(e,"c",function(){return o}),i.d(e,"a",function(){return a});var n=i("4a59");function r(t){t.preventDefault()}function o(t){var e=t.scrollTop,i=t.duration,n=document.documentElement,r=n.clientHeight,o=n.scrollHeight;function a(t){if(t<=0)window.scrollTo(0,e);else{var i=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+i/t*10),a(t-10)})}}e=Math.min(e,o-r),0!==i?window.scrollY!==e&&a(i):n.scrollTop=document.body.scrollTop=e}function a(e,i){var r=i.enablePageScroll,o=i.enablePageReachBottom,a=i.onReachBottomDistance,s=i.enableTransparentTitleNView,c=!1,u=!1,l=!0;function h(){var t=document.documentElement,e=t.clientHeight,i=t.scrollHeight,n=window.scrollY,r=n>0&&i>e&&n+e+a>=i;return r&&!u?(u=!0,!0):(!r&&u&&(u=!1),!1)}function d(){var i=window.pageYOffset;r&&Object(n["a"])("onPageScroll",{scrollTop:i},e),s&&t.emit("onPageScroll",{scrollTop:i}),o&&l&&h()&&(Object(n["a"])("onReachBottom",{},e),l=!1,setTimeout(function(){l=!0},350)),c=!1}return function(){c||requestAnimationFrame(d),c=!0}}}).call(this,i("501c"))},"347e":function(t,e,i){"use strict";(function(t){var n=i("8aec"),r=i("f2b3"),o=!!r["e"]&&{passive:!0};e["a"]={name:"ScrollView",mixins:[n["a"]],props:{scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1}},data:function(){return{lastScrollTop:this.scrollTopNumber,lastScrollLeft:this.scrollLeftNumber,lastScrollToUpperTime:0,lastScrollToLowerTime:0}},computed:{upperThresholdNumber:function(){var t=Number(this.upperThreshold);return isNaN(t)?50:t},lowerThresholdNumber:function(){var t=Number(this.lowerThreshold);return isNaN(t)?50:t},scrollTopNumber:function(){return Number(this.scrollTop)||0},scrollLeftNumber:function(){return Number(this.scrollLeft)||0}},watch:{scrollTopNumber:function(t){this._scrollTopChanged(t)},scrollLeftNumber:function(t){this._scrollLeftChanged(t)},scrollIntoView:function(t){this._scrollIntoViewChanged(t)}},mounted:function(){var t=this;this._attached=!0,this._scrollTopChanged(this.scrollTopNumber),this._scrollLeftChanged(this.scrollLeftNumber),this._scrollIntoViewChanged(this.scrollIntoView),this.__handleScroll=function(e){event.preventDefault(),event.stopPropagation(),t._handleScroll.bind(t,event)()};var e=null,i=null;this.__handleTouchMove=function(n){var r=n.touches[0].pageX,o=n.touches[0].pageY,a=t.$refs.main;if(null===i)if(Math.abs(r-e.x)>Math.abs(o-e.y))if(t.scrollX){if(0===a.scrollLeft&&r>e.x)return void(i=!1);if(a.scrollWidth===a.offsetWidth+a.scrollLeft&&re.y)return void(i=!1);if(a.scrollHeight===a.offsetHeight+a.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(e){if(e){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(e))return t.group('scroll-into-view="'+e+'" 有误'),t.error("id 属性值格式错误。如不能以数字开头。"),void t.groupEnd();var i=this.$el.querySelector("#"+e);if(i){var n=this.$refs.main.getBoundingClientRect(),r=i.getBoundingClientRect();if(this.scrollX){var o=r.left-n.left,a=this.$refs.main.scrollLeft,s=a+o;this.scrollWithAnimation?this.scrollTo(s,"x"):this.$refs.main.scrollLeft=s}if(this.scrollY){var c=r.top-n.top,u=this.$refs.main.scrollTop,l=u+c;this.scrollWithAnimation?this.scrollTo(l,"y"):this.$refs.main.scrollTop=l}}}},_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}}}}}).call(this,i("3ad9")["default"])},"3ad9":function(t,e,i){"use strict";i.r(e),function(t){var i=Array.prototype.unshift;function n(t){return i.call(t,"[system]"),t}function r(e){return function(){var i=!0;"debug"!==e||__uniConfig.debug||(i=!1),i&&t.console[e].apply(t.console,n(arguments))}}e["default"]={log:r("log"),info:r("info"),warn:r("warn"),debug:r("debug"),error:r("error")}}.call(this,i("24aa"))},"3bfb":function(t,e,i){"use strict";i.r(e),i.d(e,"createAudioContext",function(){return r}),i.d(e,"createVideoContext",function(){return o}),i.d(e,"createMapContext",function(){return a}),i.d(e,"createCanvasContext",function(){return s});var n=[{name:"id",type:String,required:!0}],r=n,o=n,a=n,s=[{name:"canvasId",type:String,required:!0},{name:"componentInstance",type:Object}]},"3e8c":function(t,e,i){"use strict";i.r(e);var n,r,o={name:"ResizeSensor",props:{initial:{type:[Boolean,String],default:!1}},data:function(){return{size:{width:-1,height:-1}}},watch:{size:{deep:!0,handler:function(t){this.$emit("resize",Object.assign({},t))}}},mounted:function(){!0===this.initial&&this.$nextTick(this.update),this.$el.offsetParent!==this.$el.parentNode&&(this.$el.parentNode.style.position="relative"),"AnimationEvent"in window||this.reset()},methods:{reset:function(){var t=this.$el.firstChild,e=this.$el.lastChild;t.scrollLeft=1e5,t.scrollTop=1e5,e.scrollLeft=1e5,e.scrollTop=1e5},update:function(){this.size.width=this.$el.offsetWidth,this.size.height=this.$el.offsetHeight,this.reset()}},render:function(t){return t("uni-resize-sensor",{on:{"~animationstart":this.update}},[t("div",{on:{scroll:this.update}},[t("div")]),t("div",{on:{scroll:this.update}},[t("div")])])}},a=o,s=(i("64d0"),i("0c7c")),c=Object(s["a"])(a,n,r,!1,null,null,null);e["default"]=c.exports},"3f7e":function(t,e,i){"use strict";var n=i("1a33"),r=i.n(n);r.a},"439a":function(t,e,i){"use strict";i.r(e),i.d(e,"downloadFile",function(){return n});var n={url:{type:String,required:!0},header:{type:Object,validator:function(t,e){e.header=t||{}}}}},4509:function(t,e,i){},4656:function(t,e,i){},4871:function(t,e,i){},"488c":function(t,e,i){},"4a59":function(t,e,i){"use strict";(function(t){function n(e,i,n){t.UniServiceJSBridge.subscribeHandler(e,i,n)}i.d(e,"a",function(){return n})}).call(this,i("24aa"))},"4da7":function(t,e,i){"use strict";i.r(e);var n,r,o=i("4f97"),a=o["a"],s=(i("c8ed"),i("0c7c")),c=Object(s["a"])(a,n,r,!1,null,null,null);e["default"]=c.exports},"4e7c":function(t,e,i){"use strict";i.r(e),i.d(e,"getProvider",function(){return r});var n={OAUTH:"OAUTH",SHARE:"SHARE",PAYMENT:"PAYMENT",PUSH:"PUSH"},r={service:{type:String,required:!0,validator:function(t,e){if(t=(t||"").toUpperCase(),t&&Object.values(n).indexOf(t)<0)return"service error"}}}},"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"),a={name:"Switch",mixins:[o["a"],o["c"]],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=(i("a5ec"),i("0c7c")),u=Object(c["a"])(s,n,r,!1,null,null,null);e["default"]=u.exports},"4f97":function(t,e,i){"use strict";(function(t){var i={ensp:" ",emsp:" ",nbsp:" "};e["a"]={name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},methods:{_decodeHtml:function(t){return this.space&&i[this.space]&&(t=t.replace(/ /g,i[this.space])),this.decode&&(t=t.replace(/ /g,i.nbsp).replace(/ /g,i.ensp).replace(/ /g,i.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'")),t}},render:function(e){var i=this,n=[];return this.$slots.default&&this.$slots.default.forEach(function(r){if(r.text){var o=r.text.replace(/\\n/g,"\n"),a=o.split("\n");a.forEach(function(t,r){n.push(i._decodeHtml(t)),r!==a.length-1&&n.push(e("br"))})}else r.componentOptions&&"v-uni-text"!==r.componentOptions.tag&&t.warn(" 组件内只支持嵌套 ,不支持其它组件或自定义组件,否则会引发在不同平台的渲染差异。"),n.push(r)}),e("uni-text",{on:this.$listeners,attrs:{selectable:!!this.selectable}},[e("span",{},n)])}}}).call(this,i("3ad9")["default"])},"500a":function(t,e,i){},"501c":function(t,e,i){"use strict";i.r(e),i.d(e,"on",function(){return c}),i.d(e,"off",function(){return u}),i.d(e,"once",function(){return l}),i.d(e,"emit",function(){return h}),i.d(e,"subscribe",function(){return d}),i.d(e,"unsubscribe",function(){return f}),i.d(e,"subscribeHandler",function(){return p});var n=i("8bbf"),r=i.n(n),o=i("8ecd"),a=i("4a59");i.d(e,"publishHandler",function(){return a["a"]});var s=new r.a,c=s.$on.bind(s),u=s.$off.bind(s),l=s.$once.bind(s),h=s.$emit.bind(s);function d(t,e){return c("service."+t,e)}function f(t,e){return u("service."+t,e)}function p(t,e,i){h("service."+t,e,i)}Object(o["a"])(d)},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-picker","uni-toast","uni-resize-sensor","uni-ad","uni-audio","uni-button","uni-camera","uni-canvas","uni-checkbox","uni-checkbox-group","uni-cover-image","uni-cover-view","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,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","./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","./picker/index.vue":"c35d","./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){var e=n[t];if(!(e+1)){var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}return e}r.keys=function(){return Object.keys(n)},r.resolve=o,t.exports=r,r.id="5408"},5513:function(t,e,i){"use strict";i.r(e);var n,r,o=i("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,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,a=r-Date.now();if(a<=0){this._updateViewport(i),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=n*a*a/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 s=this._contentTrackT-i||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),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=4&&(e.text="...")}}}},5676:function(t,e,i){"use strict";var n=i("0950"),r=i.n(n);r.a},5768: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-textarea",t._g({attrs:{value:t._checkEmpty(t.value),maxlength:t.maxlengthNumber,placeholder:t._checkEmpty(t.placeholder),disabled:t.disabled,focus:t.focus,"auto-focus":t.autoFocus,"placeholder-class":t._checkEmpty(t.placeholderClass),"placeholder-style":t._checkEmpty(t.placeholderStyle),"auto-height":t.autoHeight,cursor:t.cursorNumber,"selection-start":t.selectionStartNumber,"selection-end":t.selectionEndNumber},on:{change:function(t){t.stopPropagation()}}},t.$listeners),[i("div",{staticClass:"uni-textarea-wrapper"},[i("div",{directives:[{name:"show",rawName:"v-show",value:!(t.composition||t.valueSync.length),expression:"!(composition||valueSync.length)"}],ref:"placeholder",staticClass:"uni-textarea-placeholder",class:t.placeholderClass,style:t.placeholderStyle},[t._v(t._s(t.placeholder))]),i("div",{staticClass:"uni-textarea-compute"},[t._l(t.valueCompute,function(e,n){return i("div",{key:n},[t._v(t._s(e.trim()?e:"."))])}),i("v-uni-resize-sensor",{ref:"sensor",on:{resize:t._resize}})],2),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.valueSync,expression:"valueSync"}],ref:"textarea",staticClass:"uni-textarea-textarea",class:{"uni-textarea-textarea-ios":t.isIOS},attrs:{disabled:t.disabled,maxlength:t.maxlengthNumber,autofocus:t.autoFocus},domProps:{value:t.valueSync},on:{compositionstart:t._compositionstart,compositionend:t._compositionend,input:[function(e){e.target.composing||(t.valueSync=e.target.value)},function(e){return e.stopPropagation(),t._input(e)}],focus:t._focus,blur:t._blur,"&touchstart":function(e){return t._touchstart(e)}}})])])},r=[],o=i("8af1"),a={name:"Textarea",mixins:[o["a"]],model:{prop:"value",event:"update:value"},props:{name:{type:String,default:""},value:{type:[String,Number],default:""},maxlength:{type:[Number,String],default:140},placeholder:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},placeholderClass:{type:String,default:""},placeholderStyle:{type:String,default:""},autoHeight:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1}},data:function(){return{valueSync:String(this.value),valueComposition:"",composition:!1,focusSync:this.focus,height:0,focusChangeSource:"",isIOS:0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")}},computed:{maxlengthNumber:function(){var t=Number(this.maxlength);return isNaN(t)?140:t},cursorNumber:function(){var t=Number(this.cursor);return isNaN(t)?-1:t},selectionStartNumber:function(){var t=Number(this.selectionStart);return isNaN(t)?-1:t},selectionEndNumber:function(){var t=Number(this.selectionEnd);return isNaN(t)?-1:t},valueCompute:function(){return(this.composition?this.valueComposition:this.valueSync).split("\n")}},watch:{value:function(t){this.valueSync=String(t)},valueSync:function(t){t!==this._oldValue&&(this._oldValue=t,this.$trigger("input",{},{value:t,cursor:this.$refs.textarea.selectionEnd}),this.$emit("update:value",t))},focus:function(t){t?(this.focusChangeSource="focus",this.$refs.textarea&&this.$refs.textarea.focus()):this.$refs.textarea&&this.$refs.textarea.blur()},focusSync:function(t){this.$emit("update:focus",t),this._checkSelection(),this._checkCursor()},cursorNumber:function(){this._checkCursor()},selectionStartNumber:function(){this._checkSelection()},selectionEndNumber:function(){this._checkSelection()},height:function(t){var e=getComputedStyle(this.$el).lineHeight.replace("px",""),i=Math.round(t/e);this.$trigger("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:i}),this.autoHeight&&(this.$el.style.height=this.height+"px")}},created:function(){this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this})},mounted:function(){this._oldValue=this.$refs.textarea.value=this.valueSync,this._resize({height:this.$refs.sensor.$el.offsetHeight})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},methods:{_focus:function(t){this.focusSync=!0,this.$trigger("focus",t,{value:this.valueSync})},_checkSelection:function(){this.focusSync&&!this.focusChangeSource&&this.selectionStartNumber>-1&&this.selectionEndNumber>-1&&(this.$refs.textarea.selectionStart=this.selectionStartNumber,this.$refs.textarea.selectionEnd=this.selectionEndNumber)},_checkCursor:function(){this.focusSync&&("focus"===this.focusChangeSource||!this.focusChangeSource&&this.selectionStartNumber<0&&this.selectionEndNumber<0)&&this.cursorNumber>-1&&(this.$refs.textarea.selectionEnd=this.$refs.textarea.selectionStart=this.cursorNumber)},_blur:function(t){this.focusSync=!1,this.$trigger("blur",t,{value:this.valueSync,cursor:this.$refs.textarea.selectionEnd})},_compositionstart:function(t){this.composition=!0},_compositionend:function(t){this.composition=!1},_confirm:function(t){this.$trigger("confirm",t,{value:this.valueSync})},_linechange:function(t){this.$trigger("linechange",t,{value:this.valueSync})},_touchstart:function(){this.focusChangeSource="touch"},_resize:function(t){var e=t.height;this.height=e},_input:function(t){this.composition&&(this.valueComposition=t.target.value)},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){this.valueSync=""},_checkEmpty:function(t){return t||!1}}},s=a,c=(i("9400"),i("0c7c")),u=Object(c["a"])(s,n,r,!1,null,null,null);e["default"]=u.exports},"594d":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",{attrs:{id:t.id}},[i("div",{ref:"map",staticStyle:{width:"100%",height:"100%",position:"relative",overflow:"hidden"}}),i("div",{staticStyle:{position:"absolute",top:"0",width:"100%",height:"100%",overflow:"hidden","pointer-events":"none"}},[t._t("default")],2)])},r=[],o=i("635e"),a=o["a"],s=(i("3f7e"),i("0c7c")),c=Object(s["a"])(a,n,r,!1,null,null,null);e["default"]=c.exports},"5ab3":function(t,e,i){"use strict";var n=i("fcd8"),r=i.n(n);r.a},"5abe":function(t,e){(function(){"use strict";if("object"===typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document,e=[];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):(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}))))},n.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))},n.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():l();this._observationTargets.forEach(function(n){var o=n.element,a=u(o),s=this._rootContainsTarget(o),c=n.entry,l=t&&s&&this._computeTargetAndRootIntersection(o,e),h=n.entry=new i({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)},n.prototype._computeTargetAndRootIntersection=function(e,i){if("none"!=window.getComputedStyle(e).display){var n=u(e),r=n,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=i):o!=t.body&&o!=t.documentElement&&"visible"!=l.overflow&&(s=u(o)),s&&(r=c(s,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&&s>=0&&{top:i,bottom:n,left:r,right:o,width:a,height:s}}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}})()},"5d1d":function(t,e,i){"use strict";var n=i("91b0"),r=i.n(n);r.a},"5dc1":function(t,e,i){"use strict";(function(t){i.d(e,"b",function(){return a}),i.d(e,"a",function(){return s});i("5abe");var n=i("85b6");function r(t){return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}var o={};function a(e,i){var a=e.reqId,s=e.options,c=getCurrentPages(),u=c.find(function(t){return t.$page.id===i});if(!u)throw new Error("Not Found:Page[".concat(i,"]"));var l=u.$el,h=s.relativeToSelector?l.querySelector(s.relativeToSelector):null,d=o[a]=new IntersectionObserver(function(e,i){e.forEach(function(e){t.publishHandler("onRequestComponentObserver",{reqId:a,res:{intersectionRatio:e.intersectionRatio,intersectionRect:r(e.intersectionRect),boundingClientRect:r(e.boundingClientRect),relativeRect:r(e.rootBounds),time:Date.now(),dataset:Object(n["b"])(e.target.dataset||{}),id:e.target.id}},u.$page.id)})},{root:h,rootMargin:s.rootMargin,threshold:s.thresholds});s.observeAll?(d.USE_MUTATION_OBSERVER=!0,Array.prototype.map.call(l.querySelectorAll(s.selector),function(t){d.observe(t)})):(d.USE_MUTATION_OBSERVER=!1,d.observe(l.querySelector(s.selector)))}function s(e){var i=e.reqId,n=o[i];n&&(n.disconnect(),t.publishHandler("onRequestComponentObserver",{reqId:i,reqEnd:!0}))}}).call(this,i("501c"))},6062:function(t,e,i){"use strict";var n=i("748c"),r=i.n(n);r.a},6144:function(t,e,i){},"635e":function(t,e,i){"use strict";(function(t){var n,r=i("8af1"),o=i("f2b3");e["a"]={name:"Map",mixins:[r["d"]],props:{id:{type:String,default:""},latitude:{type:[String,Number],default:39.92},longitude:{type:[String,Number],default:116.46},scale:{type:[String,Number],default:16},markers:{type:Array,default:function(){return[]}},covers:{type:Array,default:function(){return[]}},includePoints:{type:Array,default:function(){return[]}},polyline:{type:Array,default:function(){return[]}},circles:{type:Array,default:function(){return[]}},controls:{type:Array,default:function(){return[]}},showLocation:{type:[Boolean,String],default:!1}},data:function(){return{center:{latitude:116.46,longitude:116.46},isMapReady:!1,isBoundsReady:!1,markersSync:[],polylineSync:[],circlesSync:[],controlsSync:[]}},watch:{latitude:function(){this.centerChange()},longitude:function(){this.centerChange()},scale:function(t){var e=this;this.mapReady(function(){e._map.setZoom(Number(t)||16)})},markers:function(t,e){var i=this;this.mapReady(function(){var n=[],r=[],o=[],a=[],s=[];t.forEach(function(t){if("id"in t){for(var i=!1,s=0;s=0?(e=o.indexOf(n))>=0&&i.changeMarker(t,a[e]):s.push(t)}),i.removeMarkers(s),i.createMarkers(n)})},polyline:function(t){var e=this;this.mapReady(function(){e.createPolyline()})},circles:function(){var t=this;this.mapReady(function(){t.createCircles()})},controls:function(){var t=this;this.mapReady(function(){t.createControls()})},includePoints:function(){var t=this;this.mapReady(function(){t.fitBounds(t.includePoints)})},showLocation:function(t){var e=this;this.mapReady(function(){e[t?"createLocation":"removeLocation"]()})}},created:function(){var t=this.latitude,e=this.longitude;t&&e&&(this.center.latitude=t,this.center.longitude=e)},mounted:function(){var t=this;this.loadMap(function(){t.init()})},beforeDestroy:function(){this.removeMarkers(this.markersSync),this.removePolyline(),this.removeCircles(),this.removeControls(),this.removeLocation()},methods:{_handleSubscribe:function(t){var e=this,i=t.type,r=t.data,o=void 0===r?{}:r;function a(t,e){t=t||{},t.errMsg="".concat(i,":").concat(e?"fail"+e:"ok");var n=e?o.fail:o.success;"function"===typeof n&&n(t),"function"===typeof o.complete&&o.complete(t)}switch(i){case"getCenterLocation":this.mapReady(function(){var t,i,n=e._map.getCenter();t=n.getLat(),i=n.getLng(),a({latitude:t,longitude:i})});break;case"moveToLocation":var s=this._locationPosition;s&&this._map.setCenter(s);break;case"translateMarker":this.mapReady(function(){try{var t=e.getMarker(o.markerId),i=o.destination,r=o.duration,s=!!o.autoRotate,c=Number(o.rotate)?o.rotate:0,u=t.getRotation(),l=t.getPosition(),h=new n.LatLng(i.latitude,i.longitude),d=n.geometry.spherical.computeDistanceBetween(l,h)/1e3,f=("number"===typeof r?r:1e3)/36e5,p=d/f,g=n.event.addListener(t,"moving",function(e){var i=e.latLng,n=t.label;n&&n.setPosition(i);var r=t.callout;r&&r.setPosition(i)}),m=n.event.addListener(t,"moveend",function(e){m.remove(),g.remove(),t.lastPosition=l,t.setPosition(h);var i=t.label;i&&i.setPosition(h);var n=t.callout;n&&n.setPosition(h);var r=o.animationEnd;"function"===typeof r&&r()}),v=0;s&&(t.lastPosition&&(v=n.geometry.spherical.computeHeading(t.lastPosition,l)),c=n.geometry.spherical.computeHeading(l,h)-v),t.setRotation(u+c),t.moveTo(h,p)}catch(y){a(null,y)}});break;case"includePoints":this.fitBounds(o.points);break;case"getRegion":this.boundsReady(function(){var t=e._map.getBounds(),i=t.getSouthWest(),n=t.getNorthEast();a({southwest:{latitude:i.getLat(),longitude:i.getLng()},northeast:{latitude:n.getLat(),longitude:n.getLng()}})});break;case"getScale":this.mapReady(function(){a({scale:Number(e.scale)})});break}},init:function(){var t=this,e=new n.LatLng(this.center.latitude,this.center.longitude),i=this._map=new n.Map(this.$refs.map,{center:e,zoom:Number(this.scale),scrollwheel:!1,disableDoubleClickZoom:!0,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,minZoom:5,maxZoom:18,draggable:!0}),r=n.event.addListener(i,"bounds_changed",function(e){r.remove(),t.isBoundsReady=!0,t.$emit("boundsready")});n.event.addListener(i,"click",function(){t.$trigger("click",{},{})}),n.event.addListener(i,"dragstart",function(){t.$trigger("regionchange",{},{type:"begin"})}),n.event.addListener(i,"dragend",function(){t.$trigger("regionchange",{},{type:"end"})}),n.event.addListener(i,"zoom_changed",function(){t.$emit("update:scale",i.getZoom())}),n.event.addListener(i,"center_changed",function(){var e,n,r=i.getCenter();e=r.getLat(),n=r.getLng(),t.$emit("update:latitude",e),t.$emit("update:longitude",n)}),this.markers&&Array.isArray(this.markers)&&this.markers.length&&this.createMarkers(this.markers),this.polyline&&Array.isArray(this.polyline)&&this.polyline.length&&this.createPolyline(),this.circles&&Array.isArray(this.circles)&&this.circles.length&&this.createCircles(),this.controls&&Array.isArray(this.controls)&&this.controls.length&&this.createControls(),this.showLocation&&this.createLocation(),this.includePoints&&Array.isArray(this.includePoints)&&this.includePoints.length&&this.fitBounds(this.includePoints,function(){i.setCenter(e)}),this.isMapReady=!0,this.$emit("mapready")},centerChange:function(){var t=this,e=Number(this.latitude),i=Number(this.longitude);e===this.center.latitude&&i===this.center.longitude||(this.center.latitude=e,this.center.longitude=i,this._map&&this.mapReady(function(){t._map.setCenter(new n.LatLng(e,i))}))},createMarkers:function(t){var e=this,i=this._map,r=this.markersSync;t.forEach(function(t){var a=new n.Marker({map:i,flat:!0,autoRotation:!1});a.id=t.id,e.changeMarker(a,t),n.event.addListener(a,"click",function(i){var n=a.callout;if(n){var r=n.div,s=r.parentNode;n.alwaysVisible||n.set("visible",!n.visible),n.visible&&(s.removeChild(r),s.appendChild(r))}Object(o["b"])(t,"id")&&e.$trigger("markertap",{},{markerId:t.id})}),r.push(a)})},changeMarker:function(t,e){var i=this,r=this._map,a=e.title||e.name,s=new n.LatLng(e.latitude,e.longitude),c=new Image;c.onload=function(){var u,l,h,d,f=e.anchor||{},p=f.x,g=f.y;e.iconPath&&(e.width||e.height)?(l=e.width||c.width/c.height*e.height,h=e.height||c.height/c.width*e.width):(l=c.width/2,h=c.height/2),p=("number"===typeof p?p:.5)*l,g=("number"===typeof g?g:1)*h,d=h-(h-g),u=new n.MarkerImage(c.src,null,null,new n.Point(p,g),new n.Size(l,h)),t.setPosition(s),t.setIcon(u),t.setRotation(e.rotate||0);var m,v=e.label||{};t.label&&(t.label.setMap(null),delete t.label),v.content&&(m=new n.Label({position:s,map:r,clickable:!1,content:v.content,style:{border:"none",padding:"8px",background:"none",color:v.color,fontSize:(v.fontSize||14)+"px",lineHeight:(v.fontSize||14)+"px",marginLeft:v.x,marginTop:v.y}}),t.label=m);var y,_=e.callout||{},b=t.callout;_.content?y={id:e.id,position:s,map:r,top:d,content:_.content,color:_.color,fontSize:_.fontSize,borderRadius:_.borderRadius,bgColor:_.bgColor,padding:_.padding,boxShadow:_.boxShadow,display:_.display}:a&&(y={id:e.id,position:s,map:r,top:d,content:a,boxShadow:"0px 0px 3px 1px rgba(0,0,0,0.5)"}),y?b?b.setOption(y):(b=t.callout=new n.Callout(y),b.div.onclick=function(t){Object(o["b"])(e,"id")&&i.$trigger("callouttap",t,{markerId:e.id}),t.stopPropagation(),t.preventDefault()}):b&&(b.setMap(null),delete t.callout)},c.src=e.iconPath?this.$getRealPath(e.iconPath):"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAABQCAYAAABFyhZTAAANDElEQVR4nNWce4hc133Hv+fc92MeuytpV5ZXll2XuvTlUBTSP1IREsdNiKGEEAgE3EBLaBtK/2hNoQTStISUosiGOqVpQ+qkIdAax1FiG+oYIxyD4xi3uKlEXSFFke3d1e5od+a+H+ec/nHvmbkzs6ud2bmjTX7wY3b3zr3nfM7vd37n8Tt3CW6DiDP3EABSd/0KAEEuXBHzrsteFTiwVOBo+amUP9PK34ZuAcD30NoboTZgceYeCaQAUEvVAKiZ0lpiiv0Lgmi/imFLF5YV2SWFR1e0fGcDQF5qVn4y1Ag/E3DFmhJSB2Dk1D2Squ0HBdT3C0JPE6oco6oKqmm7PodnGXieQ3DWIYL/iCB/UWO95zTW2wCQlpqhgJ8J/MDApUUVFFY0AFiRdvwMJ8bvCaKcUW3bUE0DimGAKMpkz2QMLEnBkhhZEHICfoHy+AkrW3seQAwgQQHPyIUr/CD1nhq4tCpFAWoCsGNt5X2MWo9Qw/p1zXGgWiZAZu8teRQhCwLwOLpEefKolb3zDIAQBXyGAnwqa09Vq4pVDQBOqrTuTmn7c9S0H9QdB6ptT/O4iSWPY2S+DxYHFzTW+5zBti8BCFBYfCprTwxcwmoALABupK48lFPri0az1dSbjWkZDiSp5yPpdn2Vh39m5evPAPABRACySaH3Ba64sA7ABtD0tdXPUqvxKd1xoJrmDAjTSx7HCDsdroj0nJO99TiAHgprZwD4fi5+S+AKrAHA5UQ7EijH/05rND9sNJsglNaEMZ3wPEfq+8i97vdstv4IFdkWBi5+S2h1n2dL2IYAXQqU449pjdYHzFaruDr3edEelVJUmK02YpCPBD454uRrf0BFtlleTlAMX7vfu9eFSp91ALR95cRfq27zA2ariXK+cOhqtprQnOZ7AmXlLIA2ABeAXtZ9cuDSlVUUfbYVKCsPq27zo1arddiMY2q2WlCd5gd95fhnALTKOmslw/7A5RcVFGNsI6ILpzNi/rnu2IdPt4caDRc5Mf4opEu/DaBR1l3dDXo3CxMUEdkRoO2UuJ+3Wy1VUbXD5tpTKVVgt9s0I85fcahLKLqhvhvf0B/KFpFjbdOnRz+pOY17f5atK1W3LWiue8KnR38fQLNkGLPyaAvI8dZl0Jcz6J82bPuwWSZW03GRQ3s4JdYqigBmoOie48CVQGUBcAO68AnTbTQUVQWE+LlQSimsRsOKSPthFG49ZmU6Aq8DsAWomwnt4+bPgSuPqunYyIX6uwzqIoqIPdSXacW6clFgB6T9Xs0wFylVDrv+UyshFIZlOSFpP1ACG1Ury5mWdGcTgJkJ/UO2ZZVPqU+EqiL9xV8GWzoGAFC2t6C/eQkkS2stR7cs+KH2OwDOo2AKUcy1hQTur28FiJVDOa0bRm283HHhPfQxhL91BsIYXmyQLIX1yktofvdJ0N5OLeVpug4G5TcY1IaCvIuCLQHAq8A6ACOCe5+qag1CSBEMZpT01L3Y/vSfgi0e2fW60HSE730/4vtPY/Erj0J/8+LMZRIAmq7rUeLe75KdTRTACoCcVvqvBsBIhXG/qumoo0Plx5Zx80/+Yk/YqvBGE53PPILsxGotZWuahkxov4bCkDoARZy5h1S3UjUAKhf0pKrWE6x2Hv5DcMedwCaFCMPEzqf+GCB05rIVVQUHOVlySQuPAzNB7lAUBbOOickv/QrSe++bGFZKtnoK0f2nZy5foRRc0Dsw2C5WANDRvWRFAIv9/juDxr/5nqlhpcTvevfM5VNKwYHFijEVAEStWFgBQIWASQkKv5hBstVTM947W/mEABDCxMCgFBXgfkpECGgAmbW8seFnqntNc+byiSDggqgYSfPIKVc/2SUgcsH57C7V3T5wZWmvO3P5QnAAPMdwnotU59KkaBkR1AGs/fTqgYG1n16dHZhzQCAea8zKz4UTEdFl/EBZjCGxXn354Pe+8tLM5TPGAPAxN5PAQioR7CdZls1u4auXYf3wB1NX1Pjv/4Rx8Y2Zy8/zHAR8reTiko9W/sAAcIWwt+oAhhBofeMrUDfWJoZVtjtof/Xvayk7TTMo4D/BSL55FJiZNPvfNE1rKZT2ulj64mehX/m/fWG169ew9IW/hHJzqx7gLIVO00slWy6B1QpsBoC5SnR1O7K3GecLSg2ZBaWziSOffwTB+x5E8MGHkB8/MXx9cwPuf3wX9gvPgeT5zOUBgBACcZKmR63of1CwycS6UFFYeCjjrhD2WhTHD7iWVUsFwBic7z8L5/vPgh1dBneL5BsJg6lcflKJ4hgKYT8iENXTBAzl8lBgYOEMALOV9IUgDB9w55AoU26sQ7mxXvtzq+KHISyavogBV4oCXNAy8cSrF9pa+EaSJmtpWk/wup2a5zmiONle0MMflpD94xLkwhUhOykrL8TlJzNo9lQvDHHYe1TTai8MYSjZd0p3zjA4LcCB4XFYXowB5EeM4HkvDDpxmh4+xYSa5hm6fuAt6cH3Sp5kV+Aye55XvpAqRCSOmv5LLwgO3U0n1V4QwFLSf9UoD0tPjSrAomphoHDrBINDI/kxM3wxTMIf7/j+ocPsp90ggBcFV5bN8LnSeHHJIs+BjAFLt45QZNNjAOyIET3a8XwvTNLD9tg9NU4zbPa8dEmPzxIipKeGpabSnYeAyxbIS2BfftnVsrWmnjzWDQPkLD98uhHlgqMbBnC19PGmnl4rAUMMDrzk1SMQo1MpXt4QAPDKG7OjZvwKy4Ov3/R/9vrzVs9DmgZPrljRCyg8NCzr7o9adwx4xMpeqTEAdqcT/nuY+M9v9rxDh5S62fMQxP7Lq27wBIoYFJd17mFwnElUGXc71CLKlgowvONnrbrhl6/2sEoJuW/JcXa59fbJzTDATuRfu7sRfgmDgCthpXXF6H1jq4OyRWRr+QC65WeiEJEet+O/7fj+thfHOKx+6ycxtjy/u2Ilf6NSISdLsq59r9zt+NKuy6EKdFS2WBeFxVNHY5sLRnr27Z0dzhi77W7MGMNb2zu8ZaTnGnq+hoE37mDgynuewdxz/VdORuTDuqUWQcxO/8tU+ZObfnDbDbzpBzBV9m/LdvraCGzfKLc6hnjLBW8F2q88NATATjaib3pxcLFzG2dim74PLw5eP9mIv4U9PHC/M5eTrPCrQ5XszzElyFac9OwN3/P8NMG8TeslMbZCf/tEIzlHSX8m5VXqlGBkCDoQ8C5BrH+Ys6GzjZaRP3YzDCHmaFnOOW6GERaM/Jyt8u0SLijrcssgNTXwLtAy9AcAsjvc7JWMxc9seP7cDHzDD8B49NSKk72OwUyqV+rEsBMDl9DVICZbNgLATjXTf96OgiudMKzdup0wxHYcvHlXM/sGxvttiCnOSk8FXIrsz8PjMxXpspOffcfz8rTG+XbCcqx5Xrri5OcUKuQGRbXssaljrcC36M/posWuuTr/+lYY1ebKnTCCq/MnFkx2HYPAKWdSQ8u+uQCPQEvX6qFwrfyuVvadnTi4uFmDa28GAXbi4Men2tl5FPN7uSiYKkjNDFxCy/4sg0d/qLqjwR5b9/04Znue0d5X4jzHehDEJxrsUYwHy6n7bVVm2WnnKNxqyLXbJn/b1fkTswSwrSiCq/OvtUy+juHl6sTjbe3AFdeW0DJqZ3e182d3kujNThxh2o7biSJ0k+ji3Qv5sxj2Ig8H7LdVmSmXUhY8VilKkB1z2Jev9zzOuZiYl3GB656XL7vsHzC85Os35qzvH9bxWorAsNsFANKjDr9saeL82hRz7fUggKWJp4/Y/CoGw1//mWVZM8nMwLdw7fxUm31zKwo7vXT/s5S9NMVWFK7ds8C+heG9NR8zROVRqeXFoxHXlhZJDBXBoi0e34yi/YehKMKiLf5JU/p7yUONV9d7xHW+aSWhhzYAV1v81SBPLm7FY8ct+rIVxwjz5I3VFn8V4w1XiytLqQ24sgEoXbvviiuu+Me9rCyEwDXP48uu+CqGZ3G1urKUWt+l28W1QwDpMVdcZsgvrIXh2D0bUQRDxUvHXHEZw8GvVleWMo+XB6sbBnIznJ1s8a+9EwQ5rxyJ4pzjbd/P72xyuc1aTQLMNMHYS2oHrri2dM0QQNI0sWnrOL8eRf3vrkcRbB3n2xY2MEiP9NM88/ivD/N6PbTq2rIv5qtt8dRaGKaccwgh8E4Y5ne2xNMYb6B+tq9umQvwyDIyKDVxddw0VfH8jTjGZhzDVMWLDQNbGGzZzNW6wPwsXM05V7OR+fEmvn09CPiNKMKyi29jYN0Ag0BVe9+Vst/7w7OKnIEFKF6pMRdtrL3VxctMMOOoi2q2r5/LnWeF5vqK90gAGyTaXTy5ZAtpXRms5jIMjcq8LQwMnywIAVgrDVwuD+9K68oZ1dxcWcrcX+IfScHKwBRWfu9H8Xn2XSm3w8LAYHfEQ5F6TVGYWM6qYsy570q5Lf+mYSRH1QFwA8AGgJsooOXe7tzl/wGchYFKtBMCwAAAAABJRU5ErkJggg=="},removeMarkers:function(t){for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:{};this.option=t;var e=t.map;this.position=t.position,this.index=1,this.visible=this.alwaysVisible="ALWAYS"===t.display,this.init(),Object.defineProperty(this,"onclick",{setter:function(t){this.div.onclick=t},getter:function(){return this.div.onclick}}),e&&this.setMap(e)};e.prototype=new n.Overlay,e.prototype.init=function(){var t=this.option,e=this.div=document.createElement("div"),i=e.style;i.position="absolute",i.whiteSpace="nowrap",i.transform="translateX(-50%) translateY(-100%)",i.zIndex=1,i.boxShadow=t.boxShadow||"none",i.display=this.visible?"block":"none";var n=this.triangle=document.createElement("div");n.setAttribute("style","position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"),this.setStyle(t),this.changed=function(t){i.display=this.visible?"block":"none"},e.appendChild(n)},e.prototype.construct=function(){var t=this.div,e=this.getPanes();e.floatPane.appendChild(t)},e.prototype.draw=function(){var t=this.getProjection();if(this.position&&this.div&&t){var e=t.fromLatLngToDivPixel(this.position),i=this.div.style;i.left=e.x+"px",i.top=e.y+"px"}},e.prototype.destroy=function(){this.div.parentNode.removeChild(this.div),this.div=null,this.triangle=null},e.prototype.setOption=function(t){this.option=t,this.setPosition(t.position),"ALWAYS"===t.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,this.setStyle(t)},e.prototype.setStyle=function(t){var e=this.div,i=e.style;e.innerText=t.content,i.lineHeight=(t.fontSize||14)+"px",i.fontSize=(t.fontSize||14)+"px",i.padding=(t.padding||8)+"px",i.color=t.color||"#000",i.borderRadius=(t.borderRadius||0)+"px",i.backgroundColor=t.bgColor||"#fff",i.marginTop="-"+(t.top+5)+"px",this.triangle.style.borderColor="".concat(t.bgColor||"#fff"," transparent transparent")},e.prototype.setPosition=function(t){this.position=t,this.draw()},t()};var r=document.createElement("script");r.src="https://map.qq.com/api/js?v=2.exp&key=".concat(e,"&callback=").concat(i,"&libraries=geometry"),document.body.appendChild(r)}}}}}).call(this,i("3ad9")["default"])},6428:function(t,e,i){"use strict";var n=i("c99c"),r=i.n(n);r.a},6481:function(t,e,i){"use strict";i.r(e),i.d(e,"base64ToArrayBuffer",function(){return n}),i.d(e,"arrayBufferToBase64",function(){return r});var n=[{name:"base64",type:String,required:!0}],r=[{name:"arrayBuffer",type:[ArrayBuffer,Uint8Array],required:!0}]},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"),a={name:"Radio",mixins:[o["a"],o["c"]],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=(i("c96e"),i("0c7c")),u=Object(c["a"])(s,n,r,!1,null,null,null);e["default"]=u.exports},"64d0":function(t,e,i){"use strict";var n=i("1047"),r=i.n(n);r.a},"65a8":function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return r});var n=44,r=50},"6bdf":function(t,e,i){"use strict";(function(t){i.d(e,"a",function(){return c});var n=i("85b6"),r=i("a470");function o(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"])(),a=o.top;if(e.id&&(i.id=t.id),e.dataset&&(i.dataset=Object(n["b"])(t.dataset||{})),e.rect||e.size){var s=t.getBoundingClientRect();e.rect&&(i.left=s.left,i.right=s.right,i.top=s.top-a,i.bottom=s.bottom),e.size&&(i.width=s.width,i.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(i,t.__vue__.getScrollPosition()):(i.scrollLeft=0,i.scrollTop=0)),i}function s(t,e,i,n,r){var o=e&&e.$el||t.$el;if(n){var s=o&&(o.matches(i)?o:o.querySelector(i));return s?a(s,r):null}if(o){var c=[],u=o.querySelectorAll(i);return u&&u.length&&(c=[].map.call(u,function(t){return a(t,r)})),o.matches(i)&&c.unshift(o),c}return[]}function c(e,i){var n=e.reqId,r=e.reqs,a=getCurrentPages(),c=a.find(function(t){return t.$page.id===i});if(!c)throw new Error("Not Found:Page[".concat(i,"]"));var u=[];r.forEach(function(t){var e=t.component,i=t.selector,n=t.single,r=t.fields;0===e?u.push(o(r)):u.push(s(c,e,i,n,r))}),t.publishHandler("onRequestComponentInfo",{reqId:n,res:u},c.$page.id)}}).call(this,i("501c"))},"6f00":function(t,e,i){"use strict";var n=i("cc83"),r=i.n(n);r.a},"6f45":function(t,e,i){},"70bb":function(t,e,i){"use strict";i.r(e),i.d(e,"openLocation",function(){return n});var n={latitude:{type:Number,required:!0},longitude:{type:Number,required:!0},scale:{type:Number,validator:function(t,e){t=Math.floor(t),e.scale=t>=5&&t<=18?t:18},default:18},name:{type:String},address:{type:String}}},"70f4":function(t,e,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("ab76"),a=o["a"],s=i("0c7c"),c=Object(s["a"])(a,n,r,!1,null,null,null);e["default"]=c.exports},"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,g=t,m=(e-p*t)/f;return{x:function(t){return Math.pow(Math.E,p*t)*(g*Math.cos(f*t)+m*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*(m*f*i-g*f*n)+p*e*(m*n+g*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}]}},"748c":function(t,e,i){},"74ce":function(t,e,i){},7559:function(t,e,i){"use strict";(function(t){var e=i("8bbf"),n=i.n(e),r=i("5129"),o=i.n(r),a=(i("a464"),i("a99e")),s=i("d4b6"),c=n.a.config.isReservedTag;t.uni=a["a"],n.a.config.isReservedTag=function(t){return-1!==o.a.indexOf(t)||c(t)},n.a.config.ignoredElements=o.a;var u=n.a.config.getTagNamespace,l=["switch","image","text","view"];n.a.config.getTagNamespace=function(t){return!~l.indexOf(t)&&(u(t)||!1)};var h=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};n.a.prototype.$handleEvent=function(t){if(t instanceof Event){var e=h(t,this.$el);t=s["a"].call(this,t.type,t,{},e||t.target,t.currentTarget)}return t},i("1efd")}).call(this,i("24aa"))},"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"),a={name:"Checkbox",mixins:[o["a"],o["c"]],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=(i("f53a"),i("0c7c")),u=Object(c["a"])(s,n,r,!1,null,null,null);e["default"]=u.exports},"7c2b":function(t,e,i){"use strict";var n=i("6144"),r=i.n(n);r.a},"7e6a":function(t,e,i){"use strict";var n=i("e47d"),r=i.n(n);r.a},"82b9":function(t,e,i){"use strict";function n(t){return function(e,i){e&&(i[t]=Math.round(e))}}i.r(e),i.d(e,"canvasGetImageData",function(){return r}),i.d(e,"canvasPutImageData",function(){return o}),i.d(e,"canvasToTempFilePath",function(){return s}),i.d(e,"drawCanvas",function(){return c});var r={canvasId:{type:String,required:!0},x:{type:Number,required:!0,validator:n("x")},y:{type:Number,required:!0,validator:n("y")},width:{type:Number,required:!0,validator:n("width")},height:{type:Number,required:!0,validator:n("height")}},o={canvasId:{type:String,required:!0},data:{type:Uint8ClampedArray,required:!0},x:{type:Number,required:!0,validator:n("x")},y:{type:Number,required:!0,validator:n("y")},width:{type:Number,required:!0,validator:n("width")},height:{type:Number,validator:n("height")}},a={PNG:"png",JPG:"jpeg"},s={x:{type:Number,default:0,validator:n("x")},y:{type:Number,default:0,validator:n("y")},width:{type:Number,validator:n("width")},height:{type:Number,validator:n("height")},destWidth:{type:Number,validator:n("destWidth")},destHeight:{type:Number,validator:n("destHeight")},canvasId:{type:String,require:!0},fileType:{type:String,validator:function(t,e){t=(t||"").toUpperCase(),e.fileType=t in a?a[t]:a.PNG}},quality:{type:Number,validator:function(t,e){t=Math.floor(t),e.quality=t>0&&t<1?t:1}}},c={canvasId:{type:String,require:!0},actions:{type:Array,require:!0},reserve:{type:Boolean,default:!1}}},"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,default:50},hoverStayTime:{type:Number,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)}}}},"856e":function(t,e,i){"use strict";var n=i("500a"),r=i.n(n);r.a},"85b6":function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return r});function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return Array.isArray(t[e])&&t[e].length}function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=JSON.parse(JSON.stringify(t)),i=Object.keys(e),n=i.length;if(n)for(var r=0;re-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=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 i=this._c,n=this._m,r=this._k,o=i*i-4*n*r;if(0===o){var a=-i/(2*n),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=(-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,g=t,m=(e-p*t)/f;return{x:function(t){return Math.pow(Math.E,p*t)*(g*Math.cos(f*t)+m*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*(m*f*i-g*f*n)+p*e*(m*n+g*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||!s(e,.1)){e=e||0;var n=this._endPosition;this._solution&&(s(e,.1)&&(e=this._solution.dx((i-this._startTime)/1e3)),n=this._solution.x((i-this._startTime)/1e3),s(e,.1)&&(e=0),s(n,.1)&&(n=0),n+=this._endPosition),this._solution&&s(n-t,.1)&&s(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()),a(this.x(),this._endPosition,.1)&&s(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=!1;function f(t){d||(d=!0,requestAnimationFrame(function(){t(),d=!1}))}function p(t,e){if(t===e)return 0;var i=t.offsetLeft;return t.offsetParent?i+=p(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 m(t,e){return+((1e3*t-1e3*e)/1e3).toFixed(1)}function v(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 a=t.done();a||e.cancelled||(e.id=requestAnimationFrame(o.bind(null,e,i,n,r))),a&&r&&r(i)}}return o(r,t,e,i),{cancel:n.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||(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),f(function(){e._setTransform(i,n,e._scale,r)})}}},__handleTouchEnd:function(){var t=this;if(!this._isScaling&&!this.disabled&&this._isTouching&&(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,a=r+this._translateY;othis.maxX&&(o=this.maxX,a=this._translateY+(this.maxX-this._translateX)*r/n),athis.maxY&&(a=this.maxY,o=this._translateX+(this.maxY-this._translateY)*n/r),this._friction.setEnd(o,a),this._FA=v(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:m(t,this._scaleOffset.x),y:m(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 a="translateX("+t+"px) translateY("+e+"px) translateZ(0px) scale("+i+")";this.$el.style.transform=a,this.$el.style.webkitTransform=a,this._translateX=t,this._translateY=e,this._scale=i}}},_=y,b=(i("7c2b"),i("0c7c")),S=Object(b["a"])(_,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["d"])(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["d"])(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 a(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 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),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},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 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()},s.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;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-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&&(s<=0&&s>=-n._extent&&(n._position=s,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})},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,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)))},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,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},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,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())},_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 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=[],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,a=new Array(o>2?o-2:0),s=2;s2?r-2:0),a=2;a2?i-2:0),o=2;o100&&(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=(i("944e"),i("0c7c")),u=Object(c["a"])(s,n,r,!1,null,null,null);e["default"]=u.exports},"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"),a=i("ba15"),s={name:"Slider",mixins:[o["a"],o["c"],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"],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=s,u=(i("6428"),i("0c7c")),l=Object(u["a"])(c,n,r,!1,null,null,null);e["default"]=l.exports},a201:function(t,e,i){"use strict";i.r(e),i.d(e,"request",function(){return u});var n=i("f2b3"),r={OPTIONS:"OPTIONS",GET:"GET",HEAD:"HEAD",POST:"POST",PUT:"PUT",DELETE:"DELETE",TRACE:"TRACE",CONNECT:"CONNECT"},o={JSON:"json"},a={TEXT:"text",ARRAYBUFFER:"arraybuffer"},s=encodeURIComponent;function c(t,e){var i=t.split("#"),r=i[1]||"";i=i[0].split("?");var o=i[1]||"";t=i[0];var a=o.split("&").filter(function(t){return t});for(var c in o={},a.forEach(function(t){t=t.split("="),o[t[0]]=t[1]}),e)e.hasOwnProperty(c)&&(Object(n["d"])(e[c])?o[s(c)]=s(JSON.stringify(e[c])):o[s(c)]=s(e[c]));return o=Object.keys(o).map(function(t){return"".concat(t,"=").concat(o[t])}).join("&"),t+(o?"?"+o:"")+(r?"#"+r:"")}var u={method:{type:String,validator:function(t,e){t=(t||"").toUpperCase(),e.method=Object.values(r).indexOf(t)<0?r.GET:t}},data:{type:[Object,String,ArrayBuffer],validator:function(t,e){e.data=t||""}},url:{type:String,required:!0,validator:function(t,e){e.method===r.GET&&Object(n["d"])(e.data)&&Object.keys(e.data).length&&(e.url=c(t,e.data))}},header:{type:Object,validator:function(t,e){e.header=t||{},e.header["content-type"]=e.header["content-type"]||"application/json"}},dataType:{type:String,validator:function(t,e){e.dataType=(t||o.JSON).toLowerCase()}},responseType:{type:String,validator:function(t,e){t=(t||"").toLowerCase(),e.responseType=Object.values(a).indexOf(t)<0?a.TEXT:t}}}},a20f:function(t,e,i){"use strict";i.d(e,"a",function(){return s});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 a=CanvasRenderingContext2D.prototype;r(o,function(t,e){a[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){i=x.split("Build")[0].trim();break}for(var T=void 0,k=0;k\n/,"").replace(/\n/,"").replace(/\n/,"")}function o(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 a(e){e=r(e);var i=[],a={node:"root",children:[]};return Object(n["a"])(e,{start:function(t,e,n){var r={name:t};if(0!==e.length&&(r.attrs=o(e)),n){var s=i[0]||a;s.children||(s.children=[]),s.children.push(r)}else i.unshift(r)},end:function(e){var n=i.shift();if(n.name!==e&&t.error("invalid state: mismatch end tag"),0===i.length)a.children.push(n);else{var r=i[0];r.children||(r.children=[]),r.children.push(n)}},chars:function(t){var e={type:"text",text:t};if(0===i.length)a.children.push(e);else{var n=i[0];n.children||(n.children=[]),n.children.push(e)}},comment:function(t){var e={node:"comment",text:t},n=i[0];n.children||(n.children=[]),n.children.push(e)}}),a.children}}).call(this,i("3ad9")["default"])},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"),a={name:"Form",mixins:[o["c"]],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=i("0c7c"),u=Object(c["a"])(s,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("b10a"),a=i("f2b3"),s={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:""},c={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'"};function u(t){return t.replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(t,e){if(Object(a["b"])(c,e)&&c[e])return c[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 l(t,e){return t.forEach(function(t){if(Object(a["d"])(t))if(Object(a["b"])(t,"type")&&"node"!==t.type)"text"===t.type&&"string"===typeof t.text&&""!==t.text&&e.appendChild(document.createTextNode(u(t.text)));else{if("string"!==typeof t.name||!t.name)return;var i=t.name.toLowerCase();if(!Object(a["b"])(s,i))return;var n=document.createElement(i);if(!n)return;var r=t.attrs;if(Object(a["d"])(r)){var o=s[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 c=t.children;Array.isArray(c)&&c.length&&l(t.children,n),e.appendChild(n)}}),e}var h={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=Object(o["a"])(t));var e=l(t,document.createDocumentFragment());this.$el.firstChild.innerHTML="",this.$el.firstChild.appendChild(e)}}},d=h,f=i("0c7c"),p=Object(f["a"])(d,n,r,!1,null,null,null);e["default"]=p.exports},b865:function(t,e,i){"use strict";(function(t,n){function r(t,e,i){n.UniViewJSBridge.subscribeHandler(t,e,i)}i.d(e,"a",function(){return r})}).call(this,i("0dd1"),i("24aa"))},b866:function(t,e,i){"use strict";i.r(e),i.d(e,"getImageInfo",function(){return r});var n=i("cb0f"),r={src:{type:String,required:!0,validator:function(t,e){e.src=Object(n["a"])(t)}}}},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,a=0,s=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-a,ddx:n-s,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=s=t.touches[0].pageX,a=c=t.touches[0].pageY,u(t,"start",o,a)}),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 s=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("dc5e"),a=o["a"],s=(i("0741"),i("0c7c")),c=Object(s["a"])(a,n,r,!1,null,null,null);e["default"]=c.exports},bfea:function(t,e,i){"use strict";var n=i("1360"),r=i.n(n);r.a},c312:function(t,e,i){},c33f:function(t,e,i){"use strict";var n=i("74ce"),r=i.n(n);r.a},c35d: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",{on:{click:function(e){return e.stopPropagation(),t._click(e)}}},[i("div",[t._t("default")],2)])},r=[],o=i("f11c"),a=o["a"],s=(i("6f00"),i("0c7c")),c=Object(s["a"])(a,n,r,!1,null,null,null);e["default"]=c.exports},c41f: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({attrs:{"scroll-top":t.scrollTop}},t.$listeners),[i("div",{ref:"content",staticClass:"uni-cover-view"},[t._t("default")],2)])},r=[],o={name:"CoverView",props:{scrollTop:{type:[String,Number],default:0}},watch:{scrollTop:function(t){this.setScrollTop(t)}},mounted:function(){this.setScrollTop(this.scrollTop)},methods:{setScrollTop:function(t){var e=this.$refs.content;"scroll"===getComputedStyle(e).overflowY&&(e.scrollTop=this._upx2pxNum(t))},_upx2pxNum:function(t){return/\d+[ur]px$/i.test(t)&&t.replace(/\d+[ur]px$/i,function(t){return uni.upx2px(parseFloat(t))}),parseFloat(t)||0}}},a=o,s=(i("cc5f"),i("0c7c")),c=Object(s["a"])(a,n,r,!1,null,null,null);e["default"]=c.exports},c61c:function(t,e,i){"use strict";function n(t){return Math.sqrt(t.x*t.x+t.y*t.y)}i.r(e);var r,o,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=n(i),this.gapV=i,!this.scaleArea){var r=this._find(e[0].target),o=this._find(e[1].target);this._scaleMovableView=r&&r===o?r: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 r=n(i)/this.pinchStartLen;this._updateScale(r)}this.gapV=i}},_touchend:function(t){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))}},s=a,c=(i("a3e5"),i("0c7c")),u=Object(c["a"])(s,r,o,!1,null,null,null);e["default"]=u.exports},c8ed:function(t,e,i){"use strict";var n=i("0dba"),r=i.n(n);r.a},c96e:function(t,e,i){"use strict";var n=i("c312"),r=i.n(n);r.a},c99c:function(t,e,i){},cb0f:function(t,e,i){"use strict";i.d(e,"a",function(){return s});var n=i("0f74"),r=/^([a-z-]+:)?\/\//i,o=/^data:.*,.*/;function a(t){return __uniConfig.router.base?__uniConfig.router.base+t:t}function s(t){if(0===t.indexOf("/")){if(0!==t.indexOf("//"))return a(t.substr(1));t="https:"+t}if(r.test(t)||o.test(t)||0===t.indexOf("blob:"))return t;var e=getCurrentPages();return e.length?a(Object(n["a"])(e[e.length-1].$page.route,t).substr(1)):t}},cc5f:function(t,e,i){"use strict";var n=i("6f45"),r=i.n(n);r.a},cc76:function(t,e,i){"use strict";var n=Object.create(null),r=i("19c4");r.keys().forEach(function(t){Object.assign(n,r(t))}),e["a"]=n},cc83:function(t,e,i){},cee1:function(t,e,i){},d3bd:function(t,e,i){"use strict";i.r(e);var n,r,o=i("8af1"),a={name:"Button",mixins:[o["b"],o["a"],o["c"]],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,default:20},hoverStayTime:{type:Number,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"}},s=a,c=(i("5676"),i("0c7c")),u=Object(c["a"])(s,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 a=i("a470");function s(t,e){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(a["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(a["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}]}return o({type:i.type||t,timeStamp:e.timeStamp||0,detail:i,target:s(n,i),currentTarget:s(r),touches:e instanceof Event?c(e.touches):e.touches,changedTouches:e instanceof Event?c(e.changedTouches):e.changedTouches,preventDefault:function(){},stopPropagation:function(){}})}i.d(e,"a",function(){return u});n["e"]},d5bc:function(t,e,i){},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"),a={name:"RadioGroup",mixins:[o["a"],o["c"]],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}}},s=a,c=(i("fb61"),i("0c7c")),u=Object(c["a"])(s,n,r,!1,null,null,null);e["default"]=u.exports},d677: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({attrs:{src:t.src}},t.$listeners),[i("div",{staticClass:"uni-cover-image"},[t.src?i("img",{attrs:{src:t.$getRealPath(t.src)},on:{load:t._load,error:t._error}}):t._e()])])},r=[],o={name:"CoverImage",props:{src:{type:String,default:""}},methods:{_load:function(t){this.$trigger("load",t)},_error:function(t){this.$trigger("error",t)}}},a=o,s=(i("5d1d"),i("0c7c")),c=Object(s["a"])(a,n,r,!1,null,null,null);e["default"]=c.exports},d8c8:function(t,e,i){"use strict";var n,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 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){a[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"),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-"+i+")"};u(n,p),u(o,p),u(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),u(c,{transition:"0s",animation:"none",width:"250%",height:"250%"}),n.appendChild(s),o.appendChild(c),t.appendChild(n),t.appendChild(o),l(function(){n.scrollTop=o.scrollTop=f;var t=n.scrollTop,r=o.scrollTop;function a(){this.scrollTop!==(this===n?t:r)&&(n.scrollTop=o.scrollTop=f,t=n.scrollTop,r=o.scrollTop,h(i))}n.addEventListener("scroll",a,e),o.addEventListener("scroll",a,e)});var g=getComputedStyle(n);Object.defineProperty(a,i,{configurable:!0,get:function(){return parseFloat(g.paddingBottom)}})}}function u(t){return n||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()&&(n||c(),"function"===typeof t&&d.push(t))}function p(t){var e=d.indexOf(t);e>=0&&d.splice(e,1)}var g={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=g},db18:function(t,e,i){"use strict";var n=i("08c9"),r=i.n(n);r.a},dc5e:function(t,e,i){"use strict";(function(t,n){var r=i("8af1"),o=i("a20f");function a(t){return u(t)||c(t)||s()}function s(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function c(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function u(t){if(Array.isArray(t)){for(var e=0,i=new Array(t.length);e-1&&o&&!Object(n["b"])(r,"default")&&(s=!1),void 0===s&&Object(n["b"])(r,"default")){var u=r["default"];s=Object(n["c"])(u)?u():u,i[t]=s}return a(r,t,s,o,i)}function a(t,e,i,n,r){if(t.required&&n)return"Missing required parameter `".concat(e,"`");if(null==i&&!t.required){var o=t.validator;return o?o(i,r):void 0}var a=t.type,s=!a||!0===a,u=[];if(a){Array.isArray(a)||(a=[a]);for(var l=0;l should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab")}}}}).call(this,i("3ad9")["default"])},f102:function(t,e,i){"use strict";i.r(e),i.d(e,"makePhoneCall",function(){return n});var n={phoneNumber:{type:String,required:!0,validator:function(t){if(!t)return"makePhoneCall:fail parameter error: parameter.phoneNumber should not be empty String;"}}}},f11c:function(t,e,i){"use strict";(function(t){var n=i("8af1");function r(t){return r="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},r(t)}var o=t,a=o.subscribe,s=o.unsubscribe,c=o.publishHandler,u={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},l={YEAR:"year",MONTH:"month",DAY:"day"};e["a"]={name:"Picker",mixins:[n["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:u.SELECTOR,validator:function(t){return Object.values(u).indexOf(t)>=0}},fields:{type:String,default:"day",validator:function(t){return Object.values(l).indexOf(t)>=0}},start:{type:String,default:function(){if(this.mode===u.TIME)return"00:00";if(this.mode===u.DATE){var t=(new Date).getFullYear()-100;switch(this.fields){case l.YEAR:return t;case l.MONTH:return t+"-01";case l.DAY:return t+"-01-01"}}return""}},end:{type:String,default:function(){if(this.mode===u.TIME)return"23:59";if(this.mode===u.DATE){var t=(new Date).getFullYear()+100;switch(this.fields){case l.YEAR:return t;case l.MONTH:return t+"-12";case l.DAY:return t+"-12-31"}}return""}},disabled:{type:[Boolean,String],default:!1}},data:function(){return{valueSync:this.value||0,visible:!1,valueChangeSource:""}},watch:{value:function(t){var e=this;Array.isArray(t)?(Array.isArray(this.valueSync)||(this.valueSync=[]),this.valueSync.length=t.length,t.forEach(function(t,i){t!==e.valueSync[i]&&e.$set(e.valueSync,i,t)})):"object"!==r(t)&&(this.valueSync=t)},valueSync:function(t){this.valueChangeSource?this.$emit("update:value",t):this._show()}},created:function(){var t=this;this.$dispatch("Form","uni-form-group-update",{type:"add",vm:this}),Object.keys(this.$props).forEach(function(e){"value"!==e&&"name"!==e&&t.$watch(e,t._show)})},beforeDestroy:function(){this.$dispatch("Form","uni-form-group-update",{type:"remove",vm:this})},destroyed:function(){if(this.visible){var t=this.$page.id;c("hidePicker",{},t)}},methods:{_click:function(){if(!this.disabled){var t=this.$page.id;a("".concat(t,"-picker-change"),this.change),a("".concat(t,"-picker-columnchange"),this.columnchange),a("".concat(t,"-picker-cancel"),this.cancel),this.visible=!0,this._show()}},_show:function(){if(this.visible){var t=this.$page.id,e=Object.assign({},this.$props);e.value=this.valueSync,c("showPicker",e,t)}},change:function(t){this.visible=!1;var e=this.$page.id;if(s("".concat(e,"-picker-change")),s("".concat(e,"-picker-columnchange")),s("".concat(e,"-picker-cancel")),!this.disabled){this.valueChangeSource="click";var i=t.value;this.valueSync=Array.isArray(i)?i.map(function(t){return t}):i,this.$trigger("change",{},{value:i})}},columnchange:function(t){this.$trigger("columnchange",{},t)},cancel:function(t){this.visible=!1;var e=this.$page.id;s("".concat(e,"-picker-change")),s("".concat(e,"-picker-columnchange")),s("".concat(e,"-picker-cancel")),this.$trigger("cancel",{},{})},_getFormData:function(){return{value:this.valueSync,key:this.name}},_resetFormData:function(){this.valueSync=""}}}}).call(this,i("501c"))},f1b2:function(t,e,i){"use strict";i.r(e),i.d(e,"chooseImage",function(){return o});var n=["original","compressed"],r=["album","camera"],o={count:{type:Number,required:!1,default:9,validator:function(t,e){t<=0&&(e.count=9)}},sizeType:{type:Array,required:!1,default:n,validator:function(t,e){var i=t.length;if(i){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"";return(""+t).replace(/[^\x00-\xff]/g,"**").length}decodeURIComponent;i.d(e,"e",function(){return n}),i.d(e,"c",function(){return s}),i.d(e,"d",function(){return c}),i.d(e,"b",function(){return u}),i.d(e,"f",function(){return l}),i.d(e,"a",function(){return f})},f53a:function(t,e,i){"use strict";var n=i("4871"),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)},f7b4:function(t,e,i){"use strict";(function(t){i.d(e,"a",function(){return o}),i.d(e,"b",function(){return s});var n,r=[];function o(t){r.push(t),n||a()}function a(){var e=t,i=e.invokeCallbackHandler;if(window.DeviceOrientationEvent)return n=function(t){var e=360-t.alpha;r.forEach(function(t){i(t,{errMsg:"onCompassChange:ok",direction:e||0})})},window.addEventListener("deviceorientation",n,!1),{};throw new Error("device nonsupport deviceorientation")}function s(){return n&&(window.removeEventListener("deviceorientation",n,!1),n=null),{}}}).call(this,i("0dd1"))},f7fd:function(t,e,i){"use strict";var n=i("ac9d"),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]));i("7559")},fb61:function(t,e,i){"use strict";var n=i("90c9"),r=i.n(n);r.a},fcd8:function(t,e,i){},ffdc:function(t,e,i){"use strict";function n(t,e,i,n){var r,o=document.createElement("script"),a=e.callback||"callback",s="__callback"+Date.now(),c=e.timeout||3e4;function u(){clearTimeout(r),delete window[s],o.remove()}window[s]=function(t){"function"===typeof i&&i(t),u()},o.onerror=function(){"function"===typeof n&&n(),u()},r=setTimeout(function(){"function"===typeof n&&n(),u()},c),o.src=t+(t.indexOf("?")>=0?"&":"?")+a+"="+s,document.body.appendChild(o)}i.d(e,"a",function(){return n})}})}); \ No newline at end of file -- GitLab