diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..438484b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +unpackage/* \ No newline at end of file diff --git a/unpackage/dist/build/web/assets/index-5OQVQoIX.js b/unpackage/dist/build/web/assets/index-5OQVQoIX.js deleted file mode 100644 index 5006606..0000000 --- a/unpackage/dist/build/web/assets/index-5OQVQoIX.js +++ /dev/null @@ -1,25 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.BiDl8nlN.js","assets/index-DbUEB9Tq.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={}; -/** -* @vue/shared v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/ -function t(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const n={},o=[],i=()=>{},r=()=>!1,s=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),a=e=>e.startsWith("onUpdate:"),l=Object.assign,c=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},u=Object.prototype.hasOwnProperty,d=(e,t)=>u.call(e,t),f=Array.isArray,p=e=>"[object Map]"===w(e),h=e=>"[object Set]"===w(e),g=e=>"function"==typeof e,m=e=>"string"==typeof e,v=e=>"symbol"==typeof e,y=e=>null!==e&&"object"==typeof e,_=e=>(y(e)||g(e))&&g(e.then)&&g(e.catch),b=Object.prototype.toString,w=e=>b.call(e),x=e=>"[object Object]"===w(e),S=e=>m(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,T=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),C=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},k=/-(\w)/g,E=C((e=>e.replace(k,((e,t)=>t?t.toUpperCase():"")))),M=/\B([A-Z])/g,O=C((e=>e.replace(M,"-$1").toLowerCase())),L=C((e=>e.charAt(0).toUpperCase()+e.slice(1))),A=C((e=>e?`on${L(e)}`:"")),$=(e,t)=>!Object.is(e,t),P=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},I=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let R;const D=()=>R||(R="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function B(e){if(f(e)){const t={};for(let n=0;n{if(e){const n=e.split(H);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function W(e){let t="";if(m(e))t=e;else if(f(e))for(let n=0;nm(e)?e:null==e?"":f(e)||y(e)&&(e.toString===b||!g(e.toString))?JSON.stringify(e,X,2):String(e),X=(e,t)=>t&&t.__v_isRef?X(e,t.value):p(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[U(t,o)+" =>"]=n,e)),{})}:h(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>U(e)))}:v(t)?U(t):!y(t)||f(t)||x(t)?t:String(t),U=(e,t="")=>{var n;return v(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},K=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view","location-picker","location-view"].map((e=>"uni-"+e)),J=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map((e=>"uni-"+e)),G=["list-item"].map((e=>"uni-"+e));function Z(e){if(-1!==G.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==K.indexOf(t)||-1!==J.indexOf(t)}const Q=/^([a-z-]+:)?\/\//i,ee=/^data:.*,.*/,te="onLoad";function ne(e){return 0===e.indexOf("/")}function oe(e){return ne(e)?e:"/"+e}function ie(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}const re=e=>e>9?e:"0"+e;function se({date:e=new Date,mode:t="date"}){return"time"===t?re(e.getHours())+":"+re(e.getMinutes()):e.getFullYear()+"-"+re(e.getMonth()+1)+"-"+re(e.getDate())}let ae;function le(){return ae||(ae=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;function e(){return this}return void 0!==e()?e():new Function("return this")()}(),ae)}function ce(e){if(!e)return;let t=e.type.name;for(;t&&Z(O(t));)t=(e=e.parent).type.name;return e.proxy}function ue(e){return 1===e.nodeType}function de(e){const t=le();if(t&&t.UTSJSONObject&&e instanceof t.UTSJSONObject){const n={};return t.UTSJSONObject.keys(e).forEach((t=>{n[t]=e[t]})),B(n)}if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),B(t)}if(m(e))return V(e);if(f(e)){const t={};for(let n=0;n{e[n]&&(t+=n+" ")}));else if(e instanceof Map)e.forEach(((e,n)=>{e&&(t+=n+" ")}));else if(f(e))for(let o=0;o{e=e||(e=>e.tagName.startsWith("UNI-"));const t=HTMLElement.prototype,n=t.setAttribute;t.setAttribute=function(t,o){if(t.startsWith("data-")&&e(this)){(this.__uniDataset||(this.__uniDataset={}))[pe(t)]=o}n.call(this,t,o)};const o=t.removeAttribute;t.removeAttribute=function(t){this.__uniDataset&&t.startsWith("data-")&&e(this)&&delete this.__uniDataset[pe(t)],o.call(this,t)}}));function ge(e){return l({},e.dataset,e.__uniDataset)}const me=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function ve(e){return{passive:e}}function ye(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:ge(e),offsetTop:n,offsetLeft:o}}function _e(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function be(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=_e(e[n])}catch(o){t[n]=e[n]}})),t}const we=/\+/g;function xe(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe.apply(this,arguments);i=o(r,t)};return r.cancel=function(){n(i)},r}class Te{constructor(e,t){this.id=e,this.listener={},this.emitCache=[],t&&Object.keys(t).forEach((e=>{this.on(e,t[e])}))}emit(e,...t){const n=this.listener[e];if(!n)return this.emitCache.push({eventName:e,args:t});n.forEach((e=>{e.fn.apply(e.fn,t)})),this.listener[e]=n.filter((e=>"once"!==e.type))}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let o=0;ot(e))),Oe=function(){};Oe.prototype={_id:1,on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},once:function(e,t,n){var o=this;function i(){o.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,i=n.length;o=0;r--)if(o[r].fn===t||o[r].fn._===t||o[r]._id===t){o.splice(r,1);break}i=o}return i.length?n[e]=i:delete n[e],this}};var Le=Oe;const Ae={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function $e(e,t,n){if(m(t)&&t.startsWith("@")){let i=e[t.replace("@","")]||t;switch(n){case"titleColor":i="black"===i?"#000000":"#ffffff";break;case"borderStyle":i=(o=i)&&o in Ae?Ae[o]:o}return i}var o;return t}function Pe(e,t={},n="light"){const o=t[n],i={};return void 0!==o&&e?(Object.keys(e).forEach((r=>{const s=e[r];i[r]=x(s)?Pe(s,t,n):f(s)?s.map((e=>x(e)?Pe(e,t,n):$e(o,e))):$e(o,s,r)})),i):e} -/** -* @dcloudio/uni-h5-vue v3.4.21 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Ne,Ie;class Re{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ne,!e&&Ne&&(this.index=(Ne.scopes||(Ne.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=Ne;try{return Ne=this,e()}finally{Ne=t}}}on(){Ne=this}off(){Ne=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),qe()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Ve,t=Ie;try{return Ve=!0,Ie=this,this._runnings++,je(this),this.fn()}finally{He(this),this._runnings--,Ie=t,Ve=e}}stop(){var e;this.active&&(je(this),He(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function je(e){e._trackId++,e._depsLength=0}function He(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Qe=new WeakMap,et=Symbol(""),tt=Symbol("");function nt(e,t,n){if(Ve&&Ie){let t=Qe.get(e);t||Qe.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Ze((()=>t.delete(n)))),Ke(Ie,o)}}function ot(e,t,n,o,i,r){const s=Qe.get(e);if(!s)return;let a=[];if("clear"===t)a=[...s.values()];else if("length"===n&&f(e)){const e=Number(o);s.forEach(((t,n)=>{("length"===n||!v(n)&&n>=e)&&a.push(t)}))}else switch(void 0!==n&&a.push(s.get(n)),t){case"add":f(e)?S(n)&&a.push(s.get("length")):(a.push(s.get(et)),p(e)&&a.push(s.get(tt)));break;case"delete":f(e)||(a.push(s.get(et)),p(e)&&a.push(s.get(tt)));break;case"set":p(e)&&a.push(s.get(et))}Xe();for(const l of a)l&&Ge(l,4);Ue()}const it=t("__proto__,__v_isRef,__isVue"),rt=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(v)),st=at();function at(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Ut(this);for(let t=0,i=this.length;t{e[t]=function(...e){Ye(),Xe();const n=Ut(this)[t].apply(this,e);return Ue(),qe(),n}})),e}function lt(e){const t=Ut(this);return nt(t,0,e),t.hasOwnProperty(e)}class ct{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,i=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return i;if("__v_raw"===t)return n===(o?i?jt:Bt:i?Dt:Rt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=f(e);if(!o){if(r&&d(st,t))return Reflect.get(st,t,n);if("hasOwnProperty"===t)return lt}const s=Reflect.get(e,t,n);return(v(t)?rt.has(t):it(t))?s:(o||nt(e,0,t),i?s:tn(s)?r&&S(t)?s:s.value:y(s)?o?Vt(s):Ft(s):s)}}class ut extends ct{constructor(e=!1){super(!1,e)}set(e,t,n,o){let i=e[t];if(!this._isShallow){const t=Yt(i);if(qt(n)||Yt(n)||(i=Ut(i),n=Ut(n)),!f(e)&&tn(i)&&!tn(n))return!t&&(i.value=n,!0)}const r=f(e)&&S(t)?Number(t)e,mt=e=>Reflect.getPrototypeOf(e);function vt(e,t,n=!1,o=!1){const i=Ut(e=e.__v_raw),r=Ut(t);n||($(t,r)&&nt(i,0,t),nt(i,0,r));const{has:s}=mt(i),a=o?gt:n?Gt:Jt;return s.call(i,t)?a(e.get(t)):s.call(i,r)?a(e.get(r)):void(e!==i&&e.get(t))}function yt(e,t=!1){const n=this.__v_raw,o=Ut(n),i=Ut(e);return t||($(e,i)&&nt(o,0,e),nt(o,0,i)),e===i?n.has(e):n.has(e)||n.has(i)}function _t(e,t=!1){return e=e.__v_raw,!t&&nt(Ut(e),0,et),Reflect.get(e,"size",e)}function bt(e){e=Ut(e);const t=Ut(this);return mt(t).has.call(t,e)||(t.add(e),ot(t,"add",e,e)),this}function wt(e,t){t=Ut(t);const n=Ut(this),{has:o,get:i}=mt(n);let r=o.call(n,e);r||(e=Ut(e),r=o.call(n,e));const s=i.call(n,e);return n.set(e,t),r?$(t,s)&&ot(n,"set",e,t):ot(n,"add",e,t),this}function xt(e){const t=Ut(this),{has:n,get:o}=mt(t);let i=n.call(t,e);i||(e=Ut(e),i=n.call(t,e)),o&&o.call(t,e);const r=t.delete(e);return i&&ot(t,"delete",e,void 0),r}function St(){const e=Ut(this),t=0!==e.size,n=e.clear();return t&&ot(e,"clear",void 0,void 0),n}function Tt(e,t){return function(n,o){const i=this,r=i.__v_raw,s=Ut(r),a=t?gt:e?Gt:Jt;return!e&&nt(s,0,et),r.forEach(((e,t)=>n.call(o,a(e),a(t),i)))}}function Ct(e,t,n){return function(...o){const i=this.__v_raw,r=Ut(i),s=p(r),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=i[e](...o),u=n?gt:t?Gt:Jt;return!t&&nt(r,0,l?tt:et),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function kt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Et(){const e={get(e){return vt(this,e)},get size(){return _t(this)},has:yt,add:bt,set:wt,delete:xt,clear:St,forEach:Tt(!1,!1)},t={get(e){return vt(this,e,!1,!0)},get size(){return _t(this)},has:yt,add:bt,set:wt,delete:xt,clear:St,forEach:Tt(!1,!0)},n={get(e){return vt(this,e,!0)},get size(){return _t(this,!0)},has(e){return yt.call(this,e,!0)},add:kt("add"),set:kt("set"),delete:kt("delete"),clear:kt("clear"),forEach:Tt(!0,!1)},o={get(e){return vt(this,e,!0,!0)},get size(){return _t(this,!0)},has(e){return yt.call(this,e,!0)},add:kt("add"),set:kt("set"),delete:kt("delete"),clear:kt("clear"),forEach:Tt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((i=>{e[i]=Ct(i,!1,!1),n[i]=Ct(i,!0,!1),t[i]=Ct(i,!1,!0),o[i]=Ct(i,!0,!0)})),[e,n,t,o]}const[Mt,Ot,Lt,At]=Et();function $t(e,t){const n=t?e?At:Lt:e?Ot:Mt;return(t,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(d(n,o)&&o in t?n:t,o,i)}const Pt={get:$t(!1,!1)},Nt={get:$t(!1,!0)},It={get:$t(!0,!1)},Rt=new WeakMap,Dt=new WeakMap,Bt=new WeakMap,jt=new WeakMap;function Ht(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>w(e).slice(8,-1))(e))}function Ft(e){return Yt(e)?e:Wt(e,!1,ft,Pt,Rt)}function Vt(e){return Wt(e,!0,pt,It,Bt)}function Wt(e,t,n,o,i){if(!y(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=i.get(e);if(r)return r;const s=Ht(e);if(0===s)return e;const a=new Proxy(e,2===s?o:n);return i.set(e,a),a}function zt(e){return Yt(e)?zt(e.__v_raw):!(!e||!e.__v_isReactive)}function Yt(e){return!(!e||!e.__v_isReadonly)}function qt(e){return!(!e||!e.__v_isShallow)}function Xt(e){return zt(e)||Yt(e)}function Ut(e){const t=e&&e.__v_raw;return t?Ut(t):e}function Kt(e){return Object.isExtensible(e)&&N(e,"__v_skip",!0),e}const Jt=e=>y(e)?Ft(e):e,Gt=e=>y(e)?Vt(e):e;class Zt{constructor(e,t,n,o){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Be((()=>e(this._value)),(()=>en(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=Ut(this);return e._cacheable&&!e.effect.dirty||!$(e._value,e._value=e.effect.run())||en(e,4),Qt(e),e.effect._dirtyLevel>=2&&en(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Qt(e){var t;Ve&&Ie&&(e=Ut(e),Ke(Ie,null!=(t=e.dep)?t:e.dep=Ze((()=>e.dep=void 0),e instanceof Zt?e:void 0)))}function en(e,t=4,n){const o=(e=Ut(e)).dep;o&&Ge(o,t)}function tn(e){return!(!e||!0!==e.__v_isRef)}function nn(e){return rn(e,!1)}function on(e){return rn(e,!0)}function rn(e,t){return tn(e)?e:new sn(e,t)}class sn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Ut(e),this._value=t?e:Jt(e)}get value(){return Qt(this),this._value}set value(e){const t=this.__v_isShallow||qt(e)||Yt(e);e=t?e:Ut(e),$(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Jt(e),en(this,4))}}const an={get:(e,t,n)=>{return tn(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const i=e[t];return tn(i)&&!tn(n)?(i.value=n,!0):Reflect.set(e,t,n,o)}};function ln(e){return zt(e)?e:new Proxy(e,an)}function cn(e,t,n,o){try{return o?e(...o):e()}catch(i){dn(i,t,n)}}function un(e,t,n,o){if(g(e)){const i=cn(e,t,n,o);return i&&_(i)&&i.catch((e=>{dn(e,t,n)})),i}const i=[];for(let r=0;r>>1,i=gn[o],r=En(i);rEn(e)-En(t)));if(vn.length=0,yn)return void yn.push(...e);for(yn=e,_n=0;_nnull==e.id?1/0:e.id,Mn=(e,t)=>{const n=En(e)-En(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function On(e){hn=!1,pn=!0,gn.sort(Mn);try{for(mn=0;mnm(e)?e.trim():e))),t&&(r=o.map(I))}let l,c=i[l=A(t)]||i[l=A(E(t))];!c&&s&&(c=i[l=A(O(t))]),c&&un(c,e,6,An(e,c,r));const u=i[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,un(u,e,6,An(e,u,r))}}function An(e,t,n){if(1!==n.length)return n;if(g(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&d(o,"type")&&d(o,"timeStamp")&&d(o,"target")&&d(o,"currentTarget")&&d(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function $n(e,t,n=!1){const o=t.emitsCache,i=o.get(e);if(void 0!==i)return i;const r=e.emits;let s={},a=!1;if(!g(e)){const o=e=>{const n=$n(e,t,!0);n&&(a=!0,l(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return r||a?(f(r)?r.forEach((e=>s[e]=null)):l(s,r),y(e)&&o.set(e,s),s):(y(e)&&o.set(e,null),null)}function Pn(e,t){return!(!e||!s(t))&&(t=t.slice(2).replace(/Once$/,""),d(e,t[0].toLowerCase()+t.slice(1))||d(e,O(t))||d(e,t))}let Nn=null,In=null;function Rn(e){const t=Nn;return Nn=e,In=e&&e.type.__scopeId||null,t}function Dn(e,t=Nn,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Ri(-1);const i=Rn(t);let r;try{r=e(...n)}finally{Rn(i),o._d&&Ri(1)}return r};return o._n=!0,o._c=!0,o._d=!0,o}function Bn(e){const{type:t,vnode:n,proxy:o,withProxy:i,props:r,propsOptions:[s],slots:l,attrs:c,emit:u,render:d,renderCache:f,data:p,setupState:h,ctx:g,inheritAttrs:m}=e;let v,y;const _=Rn(e);try{if(4&n.shapeFlag){const e=i||o,t=e;v=Ji(d.call(t,e,f,r,h,p,g)),y=c}else{const e=t;0,v=Ji(e.length>1?e(r,{attrs:c,slots:l,emit:u}):e(r,null)),y=t.props?c:jn(c)}}catch(w){$i.length=0,dn(w,e,1),v=qi(Li)}let b=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=b;e.length&&7&t&&(s&&e.some(a)&&(y=Hn(y,s)),b=Xi(b,y))}return n.dirs&&(b=Xi(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),v=b,Rn(_),v}const jn=e=>{let t;for(const n in e)("class"===n||"style"===n||s(n))&&((t||(t={}))[n]=e[n]);return t},Hn=(e,t)=>{const n={};for(const o in e)a(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Fn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let i=0;i{e(...t),k()}}const d=or,p=e=>!0===r?e:eo(e,!1===r?1:void 0);let h,m,v=!1,y=!1;if(tn(e)?(h=()=>e.value,v=qt(e)):zt(e)?(h=()=>p(e),v=!0):f(e)?(y=!0,v=e.some((e=>zt(e)||qt(e))),h=()=>e.map((e=>tn(e)?e.value:zt(e)?p(e):g(e)?cn(e,d,2):void 0))):h=g(e)?t?()=>cn(e,d,2):()=>(m&&m(),un(e,d,3,[b])):i,t&&r){const e=h;h=()=>eo(e())}let _,b=e=>{m=T.onStop=()=>{cn(e,d,4),m=T.onStop=void 0}};if(ur){if(b=i,t?o&&un(t,d,3,[h(),y?[]:void 0,b]):h(),"sync"!==s)return i;{const e=ai(Xn);_=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(Kn):Kn;const x=()=>{if(T.active&&T.dirty)if(t){const e=T.run();(r||v||(y?e.some(((e,t)=>$(e,w[t]))):$(e,w)))&&(m&&m(),un(t,d,3,[e,w===Kn?void 0:y&&w[0]===Kn?[]:w,b]),w=e)}else T.run()};let S;x.allowRecurse=!!t,"sync"===s?S=x:"post"===s?S=()=>xi(x,d&&d.suspense):(x.pre=!0,d&&(x.id=d.uid),S=()=>Sn(x));const T=new Be(h,i,S),C=Ne,k=()=>{T.stop(),C&&c(C.effects,T)};return t?o?x():w=T.run():"post"===s?xi(T.run.bind(T),d&&d.suspense):T.run(),_&&_.push(k),k}function Zn(e,t,n){const o=this.proxy,i=m(e)?e.includes(".")?Qn(o,e):()=>o[e]:e.bind(o,o);let r;g(t)?r=t:(r=t.handler,n=t);const s=ar(this),a=Gn(i,r.bind(o),n);return s(),a}function Qn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),tn(e))eo(e.value,t,n,o);else if(f(e))for(let i=0;i{eo(e,t,n,o)}));else if(x(e))for(const i in e)eo(e[i],t,n,o);return e}function to(e,t){if(null===Nn)return e;const o=pr(Nn)||Nn.proxy,i=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0})),Lo((()=>{e.isUnmounting=!0})),e}();return()=>{const i=t.default&&ho(t.default(),!0);if(!i||!i.length)return;let r=i[0];if(i.length>1)for(const e of i)if(e.type!==Li){r=e;break}const s=Ut(e),{mode:a}=s;if(o.isLeaving)return uo(r);const l=fo(r);if(!l)return uo(r);const c=co(l,s,o,n);po(l,c);const u=n.subTree,d=u&&fo(u);if(d&&d.type!==Li&&!Fi(l,d)){const e=co(d,s,o,n);if(po(d,e),"out-in"===a)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},uo(r);"in-out"===a&&l.type!==Li&&(e.delayLeave=(e,t,n)=>{lo(o,d)[String(d.key)]=d,e[oo]=()=>{t(),e[oo]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return r}}};function lo(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function co(e,t,n,o){const{appear:i,mode:r,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:_}=t,b=String(e.key),w=lo(n,e),x=(e,t)=>{e&&un(e,o,9,t)},S=(e,t)=>{const n=t[1];x(e,t),f(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},T={mode:r,persisted:s,beforeEnter(t){let o=a;if(!n.isMounted){if(!i)return;o=m||a}t[oo]&&t[oo](!0);const r=w[b];r&&Fi(e,r)&&r.el[oo]&&r.el[oo](),x(o,[t])},enter(e){let t=l,o=c,r=u;if(!n.isMounted){if(!i)return;t=v||l,o=y||c,r=_||u}let s=!1;const a=e[io]=t=>{s||(s=!0,x(t?r:o,[e]),T.delayedLeave&&T.delayedLeave(),e[io]=void 0)};t?S(t,[e,a]):a()},leave(t,o){const i=String(e.key);if(t[io]&&t[io](!0),n.isUnmounting)return o();x(d,[t]);let r=!1;const s=t[oo]=n=>{r||(r=!0,o(),x(n?g:h,[t]),t[oo]=void 0,w[i]===e&&delete w[i])};w[i]=e,p?S(p,[t,s]):s()},clone:e=>co(e,t,n,o)};return T}function uo(e){if(_o(e))return(e=Xi(e)).children=null,e}function fo(e){return _o(e)?e.children?e.children[0]:void 0:e}function po(e,t){6&e.shapeFlag&&e.component?po(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ho(e,t=!1,n){let o=[],i=0;for(let r=0;r1)for(let r=0;rl({name:e.name},t,{setup:e}))():e}const mo=e=>!!e.type.__asyncLoader -/*! #__NO_SIDE_EFFECTS__ */;function vo(e){g(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:i=200,timeout:r,suspensible:s=!0,onError:a}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),a)return new Promise(((t,n)=>{a(e,(()=>t((u++,c=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return go({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=or;if(l)return()=>yo(l,e);const t=t=>{c=null,dn(t,e,13,!o)};if(s&&e.suspense||ur)return d().then((t=>()=>yo(t,e))).catch((e=>(t(e),()=>o?qi(o,{error:e}):null)));const a=nn(!1),u=nn(),f=nn(!!i);return i&&setTimeout((()=>{f.value=!1}),i),null!=r&&setTimeout((()=>{if(!a.value&&!u.value){const e=new Error(`Async component timed out after ${r}ms.`);t(e),u.value=e}}),r),d().then((()=>{a.value=!0,e.parent&&_o(e.parent.vnode)&&(e.parent.effect.dirty=!0,Sn(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?yo(l,e):u.value&&o?qi(o,{error:u.value}):n&&!f.value?qi(n):void 0}})}function yo(e,t){const{ref:n,props:o,children:i,ce:r}=t.vnode,s=qi(e,o,i);return s.ref=n,s.ce=r,delete t.vnode.ce,s}const _o=e=>e.type.__isKeepAlive;function bo(e,t){xo(e,"a",t)}function wo(e,t){xo(e,"da",t)}function xo(e,t,n=or){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,To(t,o,n),n){let e=n.parent;for(;e&&e.parent;)_o(e.parent.vnode)&&So(o,t,n,e),e=e.parent}}function So(e,t,n,o){const i=To(t,e,o,!0);Ao((()=>{c(o[t],i)}),n)}function To(e,t,n=or,o=!1){if(n){if(i=e,Ce.indexOf(i)>-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return["onLoad","onShow"].indexOf(e)>-1}(e))){const o=n.proxy;un(t.bind(o),n,e,"onLoad"===e?[o.$page.options]:[])}}const r=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Ye();const i=ar(n),r=un(t,n,e,o);return i(),qe(),r});return o?r.unshift(s):r.push(s),s}var i}const Co=e=>(t,n=or)=>(!ur||"sp"===e)&&To(e,((...e)=>t(...e)),n),ko=Co("bm"),Eo=Co("m"),Mo=Co("bu"),Oo=Co("u"),Lo=Co("bum"),Ao=Co("um"),$o=Co("sp"),Po=Co("rtg"),No=Co("rtc");function Io(e,t=or){To("ec",e,t)}function Ro(e,t,n,o){let i;const r=n&&n[o];if(f(e)||m(e)){i=new Array(e.length);for(let n=0,o=e.length;nt(e,n,void 0,r&&r[n])));else{const n=Object.keys(e);i=new Array(n.length);for(let o=0,s=n.length;o!Hi(e)||e.type!==Li&&!(e.type===Mi&&!Bo(e.children))))?e:null}const jo=e=>{if(!e)return null;if(cr(e)){return pr(e)||e.proxy}return jo(e.parent)},Ho=l(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>jo(e.parent),$root:e=>jo(e.root),$emit:e=>e.emit,$options:e=>Uo(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,Sn(e.update)})(e)),$nextTick:e=>e.n||(e.n=xn.bind(e.proxy)),$watch:e=>Zn.bind(e)}),Fo=(e,t)=>e!==n&&!e.__isScriptSetup&&d(e,t),Vo={get({_:e},t){const{ctx:o,setupState:i,data:r,props:s,accessCache:a,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=a[t];if(void 0!==l)switch(l){case 1:return i[t];case 2:return r[t];case 4:return o[t];case 3:return s[t]}else{if(Fo(i,t))return a[t]=1,i[t];if(r!==n&&d(r,t))return a[t]=2,r[t];if((u=e.propsOptions[0])&&d(u,t))return a[t]=3,s[t];if(o!==n&&d(o,t))return a[t]=4,o[t];zo&&(a[t]=0)}}const f=Ho[t];let p,h;return f?("$attrs"===t&&nt(e,0,t),f(e)):(p=l.__cssModules)&&(p=p[t])?p:o!==n&&d(o,t)?(a[t]=4,o[t]):(h=c.config.globalProperties,d(h,t)?h[t]:void 0)},set({_:e},t,o){const{data:i,setupState:r,ctx:s}=e;return Fo(r,t)?(r[t]=o,!0):i!==n&&d(i,t)?(i[t]=o,!0):!d(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=o,!0))},has({_:{data:e,setupState:t,accessCache:o,ctx:i,appContext:r,propsOptions:s}},a){let l;return!!o[a]||e!==n&&d(e,a)||Fo(t,a)||(l=s[0])&&d(l,a)||d(i,a)||d(Ho,a)||d(r.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:d(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Wo(e){return f(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let zo=!0;function Yo(e){const t=Uo(e),n=e.proxy,o=e.ctx;zo=!1,t.beforeCreate&&qo(t.beforeCreate,e,"bc");const{data:r,computed:s,methods:a,watch:l,provide:c,inject:u,created:d,beforeMount:p,mounted:h,beforeUpdate:m,updated:v,activated:_,deactivated:b,beforeDestroy:w,beforeUnmount:x,destroyed:S,unmounted:T,render:C,renderTracked:k,renderTriggered:E,errorCaptured:M,serverPrefetch:O,expose:L,inheritAttrs:A,components:$,directives:P,filters:N}=t;if(u&&function(e,t,n=i){f(e)&&(e=Zo(e));for(const o in e){const n=e[o];let i;i=y(n)?"default"in n?ai(n.from||o,n.default,!0):ai(n.from||o):ai(n),tn(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[o]=i}}(u,o,null),a)for(const i in a){const e=a[i];g(e)&&(o[i]=e.bind(n))}if(r){const t=r.call(n,n);y(t)&&(e.data=Ft(t))}if(zo=!0,s)for(const f in s){const e=s[f],t=g(e)?e.bind(n,n):g(e.get)?e.get.bind(n,n):i,r=!g(e)&&g(e.set)?e.set.bind(n):i,a=gr({get:t,set:r});Object.defineProperty(o,f,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const i in l)Xo(l[i],o,n,i);if(c){const e=g(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{si(t,e[t])}))}function I(e,t){f(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&qo(d,e,"c"),I(ko,p),I(Eo,h),I(Mo,m),I(Oo,v),I(bo,_),I(wo,b),I(Io,M),I(No,k),I(Po,E),I(Lo,x),I(Ao,T),I($o,O),f(L))if(L.length){const t=e.exposed||(e.exposed={});L.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});C&&e.render===i&&(e.render=C),null!=A&&(e.inheritAttrs=A),$&&(e.components=$),P&&(e.directives=P);const R=e.appContext.config.globalProperties.$applyOptions;R&&R(t,e,n)}function qo(e,t,n){un(f(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Xo(e,t,n,o){const i=o.includes(".")?Qn(n,o):()=>n[o];if(m(e)){const n=t[e];g(n)&&Jn(i,n)}else if(g(e))Jn(i,e.bind(n));else if(y(e))if(f(e))e.forEach((e=>Xo(e,t,n,o)));else{const o=g(e.handler)?e.handler.bind(n):t[e.handler];g(o)&&Jn(i,o,e)}}function Uo(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:s}}=e.appContext,a=r.get(t);let l;return a?l=a:i.length||n||o?(l={},i.length&&i.forEach((e=>Ko(l,e,s,!0))),Ko(l,t,s)):l=t,y(t)&&r.set(t,l),l}function Ko(e,t,n,o=!1){const{mixins:i,extends:r}=t;r&&Ko(e,r,n,!0),i&&i.forEach((t=>Ko(e,t,n,!0)));for(const s in t)if(o&&"expose"===s);else{const o=Jo[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const Jo={data:Go,props:ti,emits:ti,methods:ei,computed:ei,beforeCreate:Qo,created:Qo,beforeMount:Qo,mounted:Qo,beforeUpdate:Qo,updated:Qo,beforeDestroy:Qo,beforeUnmount:Qo,destroyed:Qo,unmounted:Qo,activated:Qo,deactivated:Qo,errorCaptured:Qo,serverPrefetch:Qo,components:ei,directives:ei,watch:function(e,t){if(!e)return t;if(!t)return e;const n=l(Object.create(null),e);for(const o in t)n[o]=Qo(e[o],t[o]);return n},provide:Go,inject:function(e,t){return ei(Zo(e),Zo(t))}};function Go(e,t){return t?e?function(){return l(g(e)?e.call(this,this):e,g(t)?t.call(this,this):t)}:t:e}function Zo(e){if(f(e)){const t={};for(let n=0;n(r.has(e)||(e&&g(e.install)?(r.add(e),e.install(a,...t)):g(e)&&(r.add(e),e(a,...t))),a),mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),a),component:(e,t)=>t?(i.components[e]=t,a):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,a):i.directives[e],mount(r,l,c){if(!s){const u=qi(n,o);return u.appContext=i,!0===c?c="svg":!1===c&&(c=void 0),l&&t?t(u,r):e(u,r,c),s=!0,a._container=r,r.__vue_app__=a,a._instance=u.component,pr(u.component)||u.component.proxy}},unmount(){s&&(e(null,a._container),delete a._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,a),runWithContext(e){const t=ri;ri=a;try{return e()}finally{ri=t}}};return a}}let ri=null;function si(e,t){if(or){let n=or.provides;const o=or.parent&&or.parent.provides;o===n&&(n=or.provides=Object.create(o)),n[e]=t,"app"===or.type.mpType&&or.appContext.app.provide(e,t)}else;}function ai(e,t,n=!1){const o=or||Nn;if(o||ri){const i=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:ri._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&g(t)?t.call(o&&o.proxy):t}}function li(e,t,n,o=!1){const i={},r={};N(r,Vi,1),e.propsDefaults=Object.create(null),ci(e,t,i,r);for(const s in e.propsOptions[0])s in i||(i[s]=void 0);n?e.props=o?i:Wt(i,!1,ht,Nt,Dt):e.type.props?e.props=i:e.props=r,e.attrs=r}function ci(e,t,o,i){const[r,s]=e.propsOptions;let a,l=!1;if(t)for(let n in t){if(T(n))continue;const c=t[n];let u;r&&d(r,u=E(n))?s&&s.includes(u)?(a||(a={}))[u]=c:o[u]=c:Pn(e.emitsOptions,n)||n in i&&c===i[n]||(i[n]=c,l=!0)}if(s){const t=Ut(o),i=a||n;for(let n=0;n{p=!0;const[n,o]=di(e,t,!0);l(c,n),o&&u.push(...o)};!i&&t.mixins.length&&t.mixins.forEach(n),e.extends&&n(e.extends),e.mixins&&e.mixins.forEach(n)}if(!a&&!p)return y(e)&&r.set(e,o),o;if(f(a))for(let o=0;o-1,o[1]=n<0||t-1||d(o,"default"))&&u.push(e)}}}const h=[c,u];return y(e)&&r.set(e,h),h}function fi(e){return"$"!==e[0]&&!T(e)}function pi(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function hi(e,t){return pi(e)===pi(t)}function gi(e,t){return f(t)?t.findIndex((t=>hi(t,e))):g(t)&&hi(t,e)?0:-1}const mi=e=>"_"===e[0]||"$stable"===e,vi=e=>f(e)?e.map(Ji):[Ji(e)],yi=(e,t,n)=>{if(t._n)return t;const o=Dn(((...e)=>vi(t(...e))),n);return o._c=!1,o},_i=(e,t,n)=>{const o=e._ctx;for(const i in e){if(mi(i))continue;const n=e[i];if(g(n))t[i]=yi(0,n,o);else if(null!=n){const e=vi(n);t[i]=()=>e}}},bi=(e,t)=>{const n=vi(t);e.slots.default=()=>n};function wi(e,t,o,i,r=!1){if(f(e))return void e.forEach(((e,n)=>wi(e,t&&(f(t)?t[n]:t),o,i,r)));if(mo(i)&&!r)return;const s=4&i.shapeFlag?pr(i.component)||i.component.proxy:i.el,a=r?null:s,{i:l,r:u}=e,p=t&&t.r,h=l.refs===n?l.refs={}:l.refs,v=l.setupState;if(null!=p&&p!==u&&(m(p)?(h[p]=null,d(v,p)&&(v[p]=null)):tn(p)&&(p.value=null)),g(u))cn(u,l,12,[a,h]);else{const t=m(u),n=tn(u);if(t||n){const i=()=>{if(e.f){const n=t?d(v,u)?v[u]:h[u]:u.value;r?f(n)&&c(n,s):f(n)?n.includes(s)||n.push(s):t?(h[u]=[s],d(v,u)&&(v[u]=h[u])):(u.value=[s],e.k&&(h[e.k]=u.value))}else t?(h[u]=a,d(v,u)&&(v[u]=a)):n&&(u.value=a,e.k&&(h[e.k]=a))};a?(i.id=-1,xi(i,o)):i()}}}const xi=function(e,t){var n;t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):(f(n=e)?vn.push(...n):yn&&yn.includes(n,n.allowRecurse?_n+1:_n)||vn.push(n),Tn())};function Si(e){return function(e,t){D().__VUE__=!0;const{insert:r,remove:s,patchProp:a,forcePatchProp:c,createElement:u,createText:f,createComment:p,setText:h,setElementText:g,parentNode:m,nextSibling:v,setScopeId:y=i,insertStaticContent:b}=e,w=(e,t,n,o=null,i=null,r=null,s,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Fi(e,t)&&(o=te(e),J(e,i,r,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Oi:x(e,t,n,o);break;case Li:S(e,t,n,o);break;case Ai:null==e&&C(t,n,o,s);break;case Mi:H(e,t,n,o,i,r,s,a,l);break;default:1&d?L(e,t,n,o,i,r,s,a,l):6&d?F(e,t,n,o,i,r,s,a,l):(64&d||128&d)&&c.process(e,t,n,o,i,r,s,a,l,ie)}null!=u&&i&&wi(u,e&&e.ref,r,t||e,!t)},x=(e,t,n,o)=>{if(null==e)r(t.el=f(t.children),n,o);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},S=(e,t,n,o)=>{null==e?r(t.el=p(t.children||""),n,o):t.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=b(e.children,t,n,o,e.el,e.anchor)},k=({el:e,anchor:t},n,o)=>{let i;for(;e&&e!==t;)i=v(e),r(e,n,o),e=i;r(t,n,o)},M=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=v(e),s(e),e=n;s(t)},L=(e,t,n,o,i,r,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?A(t,n,o,i,r,s,a,l):R(e,t,i,r,s,a,l)},A=(e,t,n,o,i,s,l,c)=>{let d,f;const{props:p,shapeFlag:h,transition:m,dirs:v}=e;if(d=e.el=u(e.type,s,p&&p.is,p),8&h?g(d,e.children):16&h&&I(e.children,d,null,o,i,Ti(e,s),l,c),v&&no(e,null,o,"created"),$(d,e,e.scopeId,l,o),p){for(const t in p)"value"===t||T(t)||a(d,t,null,p[t],s,e.children,o,i,ee);"value"in p&&a(d,"value",null,p.value,s),(f=p.onVnodeBeforeMount)&&er(f,o,e)}Object.defineProperty(d,"__vueParentComponent",{value:o,enumerable:!1}),v&&no(e,null,o,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(i,m);y&&m.beforeEnter(d),r(d,t,n),((f=p&&p.onVnodeMounted)||y||v)&&xi((()=>{f&&er(f,o,e),y&&m.enter(d),v&&no(e,null,o,"mounted")}),i)},$=(e,t,n,o,i)=>{if(n&&y(e,n),o)for(let r=0;r{for(let c=l;c{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:f,dirs:p}=t;d|=16&e.patchFlag;const h=e.props||n,m=t.props||n;let v;if(o&&Ci(o,!1),(v=m.onVnodeBeforeUpdate)&&er(v,o,t,e),p&&no(t,e,o,"beforeUpdate"),o&&Ci(o,!0),f?B(e.dynamicChildren,f,u,o,i,Ti(t,r),s):l||q(e,t,u,null,o,i,Ti(t,r),s,!1),d>0){if(16&d)j(u,t,h,m,o,i,r);else if(2&d&&h.class!==m.class&&a(u,"class",null,m.class,r),4&d&&a(u,"style",h.style,m.style,r),8&d){const n=t.dynamicProps;for(let t=0;t{v&&er(v,o,t,e),p&&no(t,e,o,"updated")}),i)},B=(e,t,n,o,i,r,s)=>{for(let a=0;a{if(o!==i){if(o!==n)for(const n in o)T(n)||n in i||a(e,n,o[n],null,l,t.children,r,s,ee);for(const n in i){if(T(n))continue;const u=i[n],d=o[n];(u!==d&&"value"!==n||c&&c(e,n))&&a(e,n,d,u,l,t.children,r,s,ee)}"value"in i&&a(e,"value",o.value,i.value,l)}},H=(e,t,n,o,i,s,a,l,c)=>{const u=t.el=e?e.el:f(""),d=t.anchor=e?e.anchor:f("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(r(u,n,o),r(d,n,o),I(t.children||[],n,d,i,s,a,l,c)):p>0&&64&p&&h&&e.dynamicChildren?(B(e.dynamicChildren,h,n,i,s,a,l),(null!=t.key||i&&t===i.subTree)&&ki(e,t,!0)):q(e,t,n,d,i,s,a,l,c)},F=(e,t,n,o,i,r,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?i.ctx.activate(t,n,o,s,l):V(t,n,o,i,r,s,l):W(e,t,l)},V=(e,t,o,i,r,s,a)=>{const l=e.component=function(e,t,o){const i=e.type,r=(t?t.appContext:e.appContext)||tr,s={uid:nr++,vnode:e,type:i,parent:t,appContext:r,get renderer(){return"app"===i.mpType?"app":this.$pageInstance&&this.$pageInstance==s?"page":"component"},root:null,next:null,subTree:null,effect:null,update:null,scope:new Re(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:di(i,r),emitsOptions:$n(i,r),emit:null,emitted:null,propsDefaults:n,inheritAttrs:i.inheritAttrs,ctx:n,data:n,props:n,attrs:n,slots:n,refs:n,setupState:n,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:o,suspenseId:o?o.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};s.ctx={_:s},s.root=t?t.root:s,s.emit=Ln.bind(null,s),s.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(s);return s}(e,i,r);if(_o(e)&&(l.ctx.renderer=ie),function(e,t=!1){t&&sr(t);const{props:n,children:o}=e.vnode,i=cr(e);li(e,n,i,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Ut(t),N(t,"_",n)):_i(t,e.slots={})}else e.slots={},t&&bi(e,t);N(e.slots,Vi,1)})(e,o);const r=i?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Kt(new Proxy(e.ctx,Vo));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(nt(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,i=ar(e);Ye();const r=cn(o,e,0,[e.props,n]);if(qe(),i(),_(r)){if(r.then(lr,lr),t)return r.then((n=>{dr(e,n,t)})).catch((t=>{dn(t,e,0)}));e.asyncDep=r}else dr(e,r,t)}else fr(e,t)}(e,t):void 0;t&&sr(!1)}(l),l.asyncDep){if(r&&r.registerDep(l,z),!e.el){const e=l.subTree=qi(Li);S(null,e,t,o)}}else z(l,e,t,o,r,s,a)},W=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:i,component:r}=e,{props:s,children:a,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!i&&!a||a&&a.$stable)||o!==s&&(o?!s||Fn(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?Fn(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;tmn&&gn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},z=(e,t,n,o,r,s,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:i,vnode:c}=e;{const n=Ei(e);if(n)return t&&(t.el=c.el,Y(e,t,a)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;Ci(e,!1),t?(t.el=c.el,Y(e,t,a)):t=c,n&&P(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&er(u,i,t,c),Ci(e,!0);const f=Bn(e),p=e.subTree;e.subTree=f,w(p,f,m(p.el),te(p),e,r,s),t.el=f.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,f.el),o&&xi(o,r),(u=t.props&&t.props.onVnodeUpdated)&&xi((()=>er(u,i,t,c)),r)}else{let i;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e,f=mo(t);if(Ci(e,!1),c&&P(c),!f&&(i=l&&l.onVnodeBeforeMount)&&er(i,d,t),Ci(e,!0),a&&se){const n=()=>{e.subTree=Bn(e),se(a,e.subTree,e,r,null)};f?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const i=e.subTree=Bn(e);w(null,i,n,o,e,r,s),t.el=i.el}if(u&&xi(u,r),!f&&(i=l&&l.onVnodeMounted)){const e=t;xi((()=>er(i,d,e)),r)}(256&t.shapeFlag||d&&mo(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&function(e){for(let t=0;tSn(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,Ci(e,!0),u()},Y=(e,t,o)=>{t.component=e;const i=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:i,attrs:r,vnode:{patchFlag:s}}=e,a=Ut(i),[l]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;ci(e,t,i,r)&&(c=!0);for(const r in a)t&&(d(t,r)||(o=O(r))!==r&&d(t,o))||(l?!n||void 0===n[r]&&void 0===n[o]||(i[r]=ui(l,a,r,void 0,e,!0)):delete i[r]);if(r!==a)for(const e in r)t&&d(t,e)||(delete r[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:i,slots:r}=e;let s=!0,a=n;if(32&i.shapeFlag){const e=t._;e?o&&1===e?s=!1:(l(r,t),o||1!==e||delete r._):(s=!t.$stable,_i(t,r)),a=t}else t&&(bi(e,t),a={default:1});if(s)for(const n in r)mi(n)||null!=a[n]||delete r[n]})(e,t.children,o),Ye(),Cn(e),qe()},q=(e,t,n,o,i,r,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void U(c,d,n,o,i,r,s,a,l);if(256&f)return void X(c,d,n,o,i,r,s,a,l)}8&p?(16&u&&ee(c,i,r),d!==c&&g(n,d)):16&u?16&p?U(c,d,n,o,i,r,s,a,l):ee(c,i,r,!0):(8&u&&g(n,""),16&p&&I(d,n,o,i,r,s,a,l))},X=(e,t,n,i,r,s,a,l,c)=>{t=t||o;const u=(e=e||o).length,d=t.length,f=Math.min(u,d);let p;for(p=0;pd?ee(e,r,s,!0,!1,f):I(t,n,i,r,s,a,l,c,f)},U=(e,t,n,i,r,s,a,l,c)=>{let u=0;const d=t.length;let f=e.length-1,p=d-1;for(;u<=f&&u<=p;){const o=e[u],i=t[u]=c?Gi(t[u]):Ji(t[u]);if(!Fi(o,i))break;w(o,i,n,null,r,s,a,l,c),u++}for(;u<=f&&u<=p;){const o=e[f],i=t[p]=c?Gi(t[p]):Ji(t[p]);if(!Fi(o,i))break;w(o,i,n,null,r,s,a,l,c),f--,p--}if(u>f){if(u<=p){const e=p+1,o=ep)for(;u<=f;)J(e[u],r,s,!0),u++;else{const h=u,g=u,m=new Map;for(u=g;u<=p;u++){const e=t[u]=c?Gi(t[u]):Ji(t[u]);null!=e.key&&m.set(e.key,u)}let v,y=0;const _=p-g+1;let b=!1,x=0;const S=new Array(_);for(u=0;u<_;u++)S[u]=0;for(u=h;u<=f;u++){const o=e[u];if(y>=_){J(o,r,s,!0);continue}let i;if(null!=o.key)i=m.get(o.key);else for(v=g;v<=p;v++)if(0===S[v-g]&&Fi(o,t[v])){i=v;break}void 0===i?J(o,r,s,!0):(S[i-g]=u+1,i>=x?x=i:b=!0,w(o,t[i],n,null,r,s,a,l,c),y++)}const T=b?function(e){const t=e.slice(),n=[0];let o,i,r,s,a;const l=e.length;for(o=0;o>1,e[n[a]]0&&(t[o]=n[r-1]),n[r]=o)}}r=n.length,s=n[r-1];for(;r-- >0;)n[r]=s,s=t[s];return n}(S):o;for(v=T.length-1,u=_-1;u>=0;u--){const e=g+u,o=t[e],f=e+1{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void K(e.component.subTree,t,n,o);if(128&u)return void e.suspense.move(t,n,o);if(64&u)return void a.move(e,t,n,ie);if(a===Mi){r(s,t,n);for(let e=0;el.enter(s)),i);else{const{leave:e,delayLeave:o,afterLeave:i}=l,a=()=>r(s,t,n),c=()=>{e(s,(()=>{a(),i&&i()}))};o?o(s,a,c):c()}else r(s,t,n)},J=(e,t,n,o=!1,i=!1)=>{const{type:r,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f}=e;if(null!=a&&wi(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&f,h=!mo(e);let g;if(h&&(g=s&&s.onVnodeBeforeUnmount)&&er(g,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&no(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,i,ie,o):c&&(r!==Mi||d>0&&64&d)?ee(c,t,n,!1,!0):(r===Mi&&384&d||!i&&16&u)&&ee(l,t,n),o&&G(e)}(h&&(g=s&&s.onVnodeUnmounted)||p)&&xi((()=>{g&&er(g,t,e),p&&no(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:o,transition:i}=e;if(t===Mi)return void Z(n,o);if(t===Ai)return void M(e);const r=()=>{s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:o}=i,s=()=>t(n,r);o?o(e.el,r,s):s()}else r()},Z=(e,t)=>{let n;for(;e!==t;)n=v(e),s(e),e=n;s(t)},Q=(e,t,n)=>{const{bum:o,scope:i,update:r,subTree:s,um:a}=e;o&&P(o),i.stop(),r&&(r.active=!1,J(s,e,t,n)),a&&xi(a,t),xi((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,o=!1,i=!1,r=0)=>{for(let s=r;s6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():v(e.anchor||e.el);let ne=!1;const oe=(e,t,n)=>{null==e?t._vnode&&J(t._vnode,null,null,!0):w(t._vnode||null,e,t,null,null,null,n),ne||(ne=!0,Cn(),kn(),ne=!1),t._vnode=e},ie={p:w,um:J,m:K,r:G,mt:V,mc:I,pc:q,pbc:B,n:te,o:e};let re,se;t&&([re,se]=t(ie));return{render:oe,hydrate:re,createApp:ii(oe,re)}}(e)}function Ti({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ci({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ki(e,t,n=!1){const o=e.children,i=t.children;if(f(o)&&f(i))for(let r=0;r0?Pi||o:null,$i.pop(),Pi=$i[$i.length-1]||null,Ii>0&&Pi&&Pi.push(e),e}function Bi(e,t,n,o,i,r){return Di(Yi(e,t,n,o,i,r,!0))}function ji(e,t,n,o,i){return Di(qi(e,t,n,o,i,!0))}function Hi(e){return!!e&&!0===e.__v_isVNode}function Fi(e,t){return e.type===t.type&&e.key===t.key}const Vi="__vInternal",Wi=({key:e})=>null!=e?e:null,zi=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?m(e)||tn(e)||g(e)?{i:Nn,r:e,k:t,f:!!n}:e:null);function Yi(e,t=null,n=null,o=0,i=null,r=(e===Mi?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wi(t),ref:t&&zi(t),scopeId:In,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:o,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Nn};return a?(Zi(l,n),128&r&&e.normalize(l)):n&&(l.shapeFlag|=m(n)?8:16),Ii>0&&!s&&Pi&&(l.patchFlag>0||6&r)&&32!==l.patchFlag&&Pi.push(l),l}const qi=function(e,t=null,n=null,o=0,i=null,r=!1){e&&e!==Wn||(e=Li);if(Hi(e)){const o=Xi(e,t,!0);return n&&Zi(o,n),Ii>0&&!r&&Pi&&(6&o.shapeFlag?Pi[Pi.indexOf(e)]=o:Pi.push(o)),o.patchFlag|=-2,o}s=e,g(s)&&"__vccOpts"in s&&(e=e.__vccOpts);var s;if(t){t=function(e){return e?Xt(e)||Vi in e?l({},e):e:null}(t);let{class:e,style:n}=t;e&&!m(e)&&(t.class=fe(e)),y(n)&&(Xt(n)&&!f(n)&&(n=l({},n)),t.style=de(n))}const a=m(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:y(e)?4:g(e)?2:0;return Yi(e,t,n,o,i,a,r,!0)};function Xi(e,t,n=!1){const{props:o,ref:i,patchFlag:r,children:s}=e,a=t?Qi(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Wi(a),ref:t&&t.ref?n&&i?f(i)?i.concat(zi(t)):[i,zi(t)]:zi(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Mi?-1===r?16:16|r:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Xi(e.ssContent),ssFallback:e.ssFallback&&Xi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ui(e=" ",t=0){return qi(Oi,null,e,t)}function Ki(e="",t=!1){return t?(Ni(),ji(Li,null,e)):qi(Li,null,e)}function Ji(e){return null==e||"boolean"==typeof e?qi(Li):f(e)?qi(Mi,null,e.slice()):"object"==typeof e?Gi(e):qi(Oi,null,String(e))}function Gi(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Xi(e)}function Zi(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(f(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Zi(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Vi in t?3===o&&Nn&&(1===Nn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Nn}}else g(t)?(t={default:t,_ctx:Nn},n=32):(t=String(t),64&o?(n=16,t=[Ui(t)]):n=8);e.children=t,e.shapeFlag|=n}function Qi(...e){const t={};for(let n=0;nor||Nn;let rr,sr;{const e=D(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach((t=>t(e))):o[0](e)}};rr=t("__VUE_INSTANCE_SETTERS__",(e=>or=e)),sr=t("__VUE_SSR_SETTERS__",(e=>ur=e))}const ar=e=>{const t=or;return rr(e),e.scope.on(),()=>{e.scope.off(),rr(t)}},lr=()=>{or&&or.scope.off(),rr(null)};function cr(e){return 4&e.vnode.shapeFlag}let ur=!1;function dr(e,t,n){g(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:y(t)&&(e.setupState=ln(t)),fr(e,n)}function fr(e,t,n){const o=e.type;e.render||(e.render=o.render||i);{const t=ar(e);Ye();try{Yo(e)}finally{qe(),t()}}}function pr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ln(Kt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Ho?Ho[n](e):void 0,has:(e,t)=>t in e||t in Ho}))}function hr(e,t=!0){return g(e)?e.displayName||e.name:e.name||t&&e.__name}const gr=(e,t)=>{const n=function(e,t,n=!1){let o,r;const s=g(e);return s?(o=e,r=i):(o=e.get,r=e.set),new Zt(o,r,s||!r,n)}(e,0,ur);return n};const mr="3.4.21",vr="undefined"!=typeof document?document:null,yr=vr&&vr.createElement("template"),_r={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const i="svg"===t?vr.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?vr.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?vr.createElement(e,{is:n}):vr.createElement(e);return"select"===e&&o&&null!=o.multiple&&i.setAttribute("multiple",o.multiple),i},createText:e=>vr.createTextNode(e),createComment:e=>vr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>vr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,i,r){const s=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==r&&(i=i.nextSibling););else{yr.innerHTML="svg"===o?`${e}`:"mathml"===o?`${e}`:e;const i=yr.content;if("svg"===o||"mathml"===o){const e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},br="transition",wr=Symbol("_vtc"),xr=(e,{slots:t})=>function(e,t,n){const o=arguments.length;return 2===o?y(t)&&!f(t)?Hi(t)?qi(e,null,[t]):qi(e,t):qi(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Hi(n)&&(n=[n]),qi(e,t,n))}(ao,function(e){const t={};for(const l in e)l in Sr||(t[l]=e[l]);if(!1===e.css)return t;const{name:n="v",type:o,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=r,appearActiveClass:u=s,appearToClass:d=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(y(e))return[kr(e.enter),kr(e.leave)];{const t=kr(e);return[t,t]}}(i),m=g&&g[0],v=g&&g[1],{onBeforeEnter:_,onEnter:b,onEnterCancelled:w,onLeave:x,onLeaveCancelled:S,onBeforeAppear:T=_,onAppear:C=b,onAppearCancelled:k=w}=t,E=(e,t,n)=>{Mr(e,t?d:a),Mr(e,t?u:s),n&&n()},M=(e,t)=>{e._isLeaving=!1,Mr(e,f),Mr(e,h),Mr(e,p),t&&t()},O=e=>(t,n)=>{const i=e?C:b,s=()=>E(t,e,n);Tr(i,[t,s]),Or((()=>{Mr(t,e?c:r),Er(t,e?d:a),Cr(i)||Ar(t,o,m,s)}))};return l(t,{onBeforeEnter(e){Tr(_,[e]),Er(e,r),Er(e,s)},onBeforeAppear(e){Tr(T,[e]),Er(e,c),Er(e,u)},onEnter:O(!1),onAppear:O(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>M(e,t);Er(e,f),document.body.offsetHeight,Er(e,p),Or((()=>{e._isLeaving&&(Mr(e,f),Er(e,h),Cr(x)||Ar(e,o,v,n))})),Tr(x,[e,n])},onEnterCancelled(e){E(e,!1),Tr(w,[e])},onAppearCancelled(e){E(e,!0),Tr(k,[e])},onLeaveCancelled(e){M(e),Tr(S,[e])}})}(e),t);xr.displayName="Transition";const Sr={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};xr.props=l({},so,Sr);const Tr=(e,t=[])=>{f(e)?e.forEach((e=>e(...t))):e&&e(...t)},Cr=e=>!!e&&(f(e)?e.some((e=>e.length>1)):e.length>1);function kr(e){const t=(e=>{const t=m(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Er(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[wr]||(e[wr]=new Set)).add(t)}function Mr(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[wr];n&&(n.delete(t),n.size||(e[wr]=void 0))}function Or(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Lr=0;function Ar(e,t,n,o){const i=e._endId=++Lr,r=()=>{i===e._endId&&o()};if(n)return setTimeout(r,n);const{type:s,timeout:a,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),i=o("transitionDelay"),r=o("transitionDuration"),s=$r(i,r),a=o("animationDelay"),l=o("animationDuration"),c=$r(a,l);let u=null,d=0,f=0;t===br?s>0&&(u=br,d=s,f=r.length):"animation"===t?c>0&&(u="animation",d=c,f=l.length):(d=Math.max(s,c),u=d>0?s>c?br:"animation":null,f=u?u===br?r.length:l.length:0);const p=u===br&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}(e,t);if(!s)return o();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,f),r()},f=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{uPr(t)+Pr(e[n]))))}function Pr(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Nr=Symbol("_vod"),Ir=Symbol("_vsh"),Rr={beforeMount(e,{value:t},{transition:n}){e[Nr]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Dr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Dr(e,!0),o.enter(e)):o.leave(e,(()=>{Dr(e,!1)})):Dr(e,t))},beforeUnmount(e,{value:t}){Dr(e,t)}};function Dr(e,t){e.style.display=t?e[Nr]:"none",e[Ir]=!t}const Br=Symbol(""),jr=/(^|;)\s*display\s*:/;const Hr=/\s*!important$/;function Fr(e,t,n){if(f(n))n.forEach((n=>Fr(e,t,n)));else if(null==n&&(n=""),n=Gr(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Wr[t];if(n)return n;let o=E(t);if("filter"!==o&&o in e)return Wr[t]=o;o=L(o);for(let i=0;ie.replace(me,((e,t)=>{if(!t)return e;if(1===Kr)return`${t}${Ur}`;const n=function(e,t){const n=Math.pow(10,t+1),o=Math.floor(e*n);return 10*Math.round(o/10)/n}(parseFloat(t)*Kr,Jr);return 0===n?"0":`${n}${Ur}`})));var Ur,Kr,Jr;const Gr=e=>m(e)?Xr(e):e,Zr="http://www.w3.org/1999/xlink";const Qr=Symbol("_vei");function es(e,t,n,o,i=null){const r=e[Qr]||(e[Qr]={}),s=r[t];if(o&&s)s.value=o;else{const[n,a]=function(e){let t;if(ts.test(e)){let n;for(t={};n=e.match(ts);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):O(e.slice(2)),t]}(t);if(o){const s=r[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const o=t&&t.proxy,i=o&&o.$nne,{value:r}=n;if(i&&f(r)){const n=is(e,r);for(let o=0;ons||(os.then((()=>ns=0)),ns=Date.now()))(),n}(o,i);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,s,a)}else s&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,a),r[t]=void 0)}}const ts=/(?:Once|Passive|Capture)$/;let ns=0;const os=Promise.resolve();function is(e,t){if(f(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t}))}return t}const rs=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const ss=["ctrl","shift","alt","meta"],as={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>ss.some((n=>e[`${n}Key`]&&!t.includes(n)))},ls=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const i=t.replace("change:",""),{attrs:r}=o,s=r[i],a=(e.__wxsProps||(e.__wxsProps={}))[i];if(a===s)return;e.__wxsProps[i]=s;const l=o.proxy;xn((()=>{n(s,a,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,o,l);const d="svg"===i;"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:i}=e;i&&i.length&&(t=(t||"").split(/\s+/).filter((e=>-1===i.indexOf(e))).join(" "),i.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const r=e[wr];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,d):"style"===t?function(e,t,n){const o=e.style,i=m(n);let r=!1;if(n&&!i){if(t)if(m(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Fr(o,t,"")}else for(const e in t)null==n[e]&&Fr(o,e,"");for(const e in n)"display"===e&&(r=!0),Fr(o,e,n[e])}else if(i){if(t!==n){const e=o[Br];e&&(n+=";"+e),o.cssText=n,r=jr.test(n)}}else t&&e.removeAttribute("style");Nr in e&&(e[Nr]=r?o.display:"",e[Ir]&&(o.display="none"));const{__wxsStyle:s}=e;if(s)for(const a in s)Fr(o,a,s[a])}(e,n,o):s(t)?a(t)||es(e,t,0,o,l):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&rs(t)&&g(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(rs(t)&&m(n))return!1;return t in e}(e,t,o,d))?function(e,t,n,o,i,r,s){if("innerHTML"===t||"textContent"===t)return o&&s(o,i,r),void(e[t]=null==n?"":n);const a=e.tagName;if("value"===t&&"PROGRESS"!==a&&!a.includes("-")){const o=null==n?"":n;return("OPTION"===a?e.getAttribute("value")||"":e.value)===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=Y(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}(e,t,o,r,l,c,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,i){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Zr,t.slice(6,t.length)):e.setAttributeNS(Zr,t,n);else{const o=z(t);null==n||o&&!Y(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,d))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},_r);let us;const ds=(...e)=>{const t=(us||(us=Si(cs))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(m(e)){return document.querySelector(e)}return e} -/*! - * vue-router v4.3.0 - * (c) 2024 Eduardo San Martin Morote - * @license MIT - */(e);if(!o)return;const i=t._component;g(i)||i.render||i.template||(i.template=o.innerHTML),o.innerHTML="";const r=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},t};var fs,ps,hs,gs;(ps=fs||(fs={})).pop="pop",ps.push="push",(gs=hs||(hs={})).back="back",gs.forward="forward",gs.unknown="";const ms=Symbol("");var vs,ys;(ys=vs||(vs={}))[ys.aborted=4]="aborted",ys[ys.cancelled=8]="cancelled",ys[ys.duplicated=16]="duplicated";const _s=["{","}"];const bs=/^(?:\d)+/,ws=/^(?:\w)+/;const xs=Object.prototype.hasOwnProperty,Ss=(e,t)=>xs.call(e,t),Ts=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=_s){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let i=0,r="";for(;i-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let o=["en","fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));const i=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return i||void 0}class ks{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:i}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=i||Ts,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=Cs(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach((e=>{e(this.locale,t)}))}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach((e=>{Ss(o,e)||(o[e]=t[e])})):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let o=this.message;return"string"==typeof t?(t=Cs(t,this.messages))&&(o=this.messages[t]):n=t,Ss(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function Es(e,t={},n,o){if("string"!=typeof e){const n=[t,e];e=n[0],t=n[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&gc?gc():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const i=new ks({locale:e,fallbackLocale:n,messages:t,watcher:o});let r=(e,t)=>{{let e=!1;r=function(t,n){const o=of().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale((e=>{t.setLocale(e)})):e.$watch((()=>e.$locale),(e=>{t.setLocale(e)}))}(o,i))),i.t(t,n)}}return r(e,t)};return{i18n:i,f:(e,t,n)=>i.f(e,t,n),t:(e,t)=>r(e,t),add:(e,t,n=!0)=>i.add(e,t,n),watch:e=>i.watchLocale(e),getLocale:()=>i.getLocale(),setLocale:e=>i.setLocale(e)}}const Ms=ie((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let Os;function Ls(){if(!Os){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,Os=Es(e),Ms()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>Os.add(e,__uniConfig.locales[e]))),Os.setLocale(e)}}return Os}function As(e,t,n){return t.reduce(((t,o,i)=>(t[e+o]=n[i],t)),{})}const $s=ie((()=>{const e="uni.async.",t=["error"];Ls().add("en",As(e,t,["The connection timed out, click the screen to try again."]),!1),Ls().add("es",As(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),Ls().add("fr",As(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),Ls().add("zh-Hans",As(e,t,["连接服务器超时,点击屏幕重试"]),!1),Ls().add("zh-Hant",As(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),Ps=ie((()=>{const e="uni.showToast.",t=["unpaired"];Ls().add("en",As(e,t,["Please note showToast must be paired with hideToast"]),!1),Ls().add("es",As(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),Ls().add("fr",As(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),Ls().add("zh-Hans",As(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),Ls().add("zh-Hant",As(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),Ns=ie((()=>{const e="uni.showLoading.",t=["unpaired"];Ls().add("en",As(e,t,["Please note showLoading must be paired with hideLoading"]),!1),Ls().add("es",As(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),Ls().add("fr",As(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),Ls().add("zh-Hans",As(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),Ls().add("zh-Hant",As(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),Is=ie((()=>{const e="uni.chooseFile.",t=["notUserActivation"];Ls().add("en",As(e,t,["File chooser dialog can only be shown with a user activation"]),!1),Ls().add("es",As(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),Ls().add("fr",As(e,t,["La boîte de dialogue du sélecteur de fichier ne peut être affichée qu'avec une activation par l'utilisateur"]),!1),Ls().add("zh-Hans",As(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),Ls().add("zh-Hant",As(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)})),Rs=ie((()=>{const e="uni.picker.",t=["done","cancel"];Ls().add("en",As(e,t,["Done","Cancel"]),!1),Ls().add("es",As(e,t,["OK","Cancelar"]),!1),Ls().add("fr",As(e,t,["OK","Annuler"]),!1),Ls().add("zh-Hans",As(e,t,["完成","取消"]),!1),Ls().add("zh-Hant",As(e,t,["完成","取消"]),!1)}));function Ds(e){const t=new Le;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,i=!1){t[i?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,i){t.emit(`${e}.${n}`,o,i)}}}let Bs=1;const js=Object.create(null);function Hs(e,t){return e+"."+t}function Fs({id:e,name:t,args:n},o){t=Hs(o,t);const i=t=>{e&&Dp.publishHandler("invokeViewApi."+e,t)},r=js[t];r?r(n,i):i({})}const Vs=l(Ds("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:i}=Dp,r=n?Bs++:0;n&&o("invokeServiceApi."+r,n,!0),i("invokeServiceApi",{id:r,name:e,args:t})}}),Ws=ve(!0);let zs;function Ys(){zs&&(clearTimeout(zs),zs=null)}let qs=0,Xs=0;function Us(e){if(Ys(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];qs=t,Xs=n,zs=setTimeout((function(){const t=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});t.touches=e.touches,t.changedTouches=e.changedTouches,e.target.dispatchEvent(t)}),350)}function Ks(e){if(!zs)return;if(1!==e.touches.length)return Ys();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-qs)>10||Math.abs(n-Xs)>10?Ys():void 0}function Js(e,t){const n=Number(e);return isNaN(n)?t:n}function Gs(){const e=__uniConfig.globalStyle||{},t=Js(e.rpxCalcMaxDeviceWidth,960),n=Js(e.rpxCalcBaseDeviceWidth,375);function o(){let e=function(){const e=/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation,t=e&&90===Math.abs(window.orientation);var n=e?Math[t?"max":"min"](screen.width,screen.height):screen.width;return Math.min(window.innerWidth,document.documentElement.clientWidth,n)||n}();e=e<=t?e:n,document.documentElement.style.fontSize=e/23.4375+"px"}o(),document.addEventListener("DOMContentLoaded",o),window.addEventListener("load",o),window.addEventListener("resize",o)}function Zs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qs,ea,ta=["top","left","right","bottom"],na={};function oa(){return ea="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":"":""}function ia(){if(ea="string"==typeof ea?ea:oa()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(a){}var o=document.createElement("div");i(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),ta.forEach((function(e){s(o,e)})),document.body.appendChild(o),r(),Qs=!0}else ta.forEach((function(e){na[e]=0}));function i(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function r(t){t?e.push(t):e.forEach((function(e){e()}))}function s(e,n){var o=document.createElement("div"),s=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:ea+"(safe-area-inset-"+n+")"};i(o,c),i(s,c),i(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),i(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),r((function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,i=s.scrollTop;function r(){this.scrollTop!==(this===o?e:i)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,i=s.scrollTop,function(e){sa.length||setTimeout((function(){var e={};sa.forEach((function(t){e[t]=na[t]})),sa.length=0,aa.forEach((function(t){t(e)}))}),0);sa.push(e)}(n))}o.addEventListener("scroll",r,t),s.addEventListener("scroll",r,t)}));var u=getComputedStyle(o);Object.defineProperty(na,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function ra(e){return Qs||ia(),na[e]}var sa=[];var aa=[];const la=Zs({get support(){return 0!=("string"==typeof ea?ea:oa()).length},get top(){return ra("top")},get left(){return ra("left")},get right(){return ra("right")},get bottom(){return ra("bottom")},onChange:function(e){oa()&&(Qs||ia(),"function"==typeof e&&aa.push(e))},offChange:function(e){var t=aa.indexOf(e);t>=0&&aa.splice(t,1)}}),ca=ls((()=>{}),["prevent"]),ua=ls((e=>{}),["stop"]);function da(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function fa(){const e=da(document.documentElement.style,"--window-top");return e?e+la.top:0}function pa(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function ha(e){return Symbol(e)}function ga(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function ma(e,t=!1){if(t)return function(e){if(!ga(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>cc(parseFloat(t))+"px"))}(e);if(m(e)){const t=parseInt(e)||0;return ga(e)?cc(t):t}return e}function va(e){return 0===e.tagName.indexOf("UNI-")}const ya="M1.952 18.080q-0.32-0.352-0.416-0.88t0.128-0.976l0.16-0.352q0.224-0.416 0.64-0.528t0.8 0.176l6.496 4.704q0.384 0.288 0.912 0.272t0.88-0.336l17.312-14.272q0.352-0.288 0.848-0.256t0.848 0.352l-0.416-0.416q0.32 0.352 0.32 0.816t-0.32 0.816l-18.656 18.912q-0.32 0.352-0.8 0.352t-0.8-0.32l-7.936-8.064z",_a="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z";function ba(e,t="#000",n=27){return qi("svg",{width:n,height:n,viewBox:"0 0 32 32"},[qi("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function wa(){{const{$pageInstance:o}=ir();return o&&(e=o.proxy,(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id))}var e,t,n}function xa(){const e=zc(),t=e.length;if(t)return e[t-1]}function Sa(){var e;const t=null==(e=xa())?void 0:e.$page;if(t)return t.meta}function Ta(){const e=Sa();return e?e.id:-1}function Ca(){const e=xa();if(e)return e.$vm}const ka=["navigationBar","pullToRefresh"];function Ea(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=l({id:t},n,e);ka.forEach((t=>{o[t]=l({},n[t],e[t])}));const{navigationBar:i}=o;return i.titleText&&i.titleImage&&(i.titleText=""),o}function Ma(e,t,n,o,i,r){const{id:s,route:a}=o,l=Pe(o.navigationBar,__uniConfig.themeConfig,r).titleColor;return{id:s,path:oe(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:i,statusBarStyle:"#ffffff"===l?"light":"dark"}}function Oa(e,t,n){if(m(e))n=t,t=e,e=Ca();else if("number"==typeof e){const t=zc().find((t=>function(e){return e.$page}(t).id===e));e=t?t.$vm:Ca()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,r=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-$a)>n;return!r||i&&!s?(!r&&i&&(i=!1),!1):($a=e,i=!0,!0)})())return t&&t(),r=!1,setTimeout((function(){r=!0}),350),!0}e&&e(window.pageYOffset),t&&r&&(s()||(Aa=setTimeout(s,300))),o=!1};return function(){clearTimeout(Aa),o||requestAnimationFrame(s),o=!0}}function Na(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return Na(e,t.slice(2));const n=t.split("/"),o=n.length;let i=0;for(;i0?e.split("/"):[];return r.splice(r.length-i-1,i+1),oe(r.concat(n).join("/"))}function Ia(){Gs(),he(va),window.addEventListener("touchstart",Us,Ws),window.addEventListener("touchmove",Ks,Ws),window.addEventListener("touchend",Ys,Ws),window.addEventListener("touchcancel",Ys,Ws)}class Ra{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(ue(n.el))return t?n.el?[n.el]:[]:n.el;const{subTree:o}=e;if(16&o.shapeFlag){const e=o.children.filter((e=>e.el&&ue(e.el)));if(e.length>0)return t?e.map((e=>e.el)):e[0].el}return t?n.el?[n.el]:[]:n.el}(e.$),this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(!this.$el||!e)return;const t=Ha(this.$el.querySelector(e));return t?Da(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];g(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&Dp.publishHandler("onWxsInvokeCallMethod",{nodeId:this.$el.__id,ownerId:this.$vm.ownerId,method:e,args:t})}requestAnimationFrame(e){return window.requestAnimationFrame(e)}getState(){return this.$el&&(this.$el.__wxsState||(this.$el.__wxsState={}))}triggerEvent(e,t={}){return this.$vm.$emit(e,t),this}getComputedStyle(e){if(this.$el){const t=window.getComputedStyle(this.$el);return e&&e.length?e.reduce(((e,n)=>(e[n]=t[n],e)),{}):t}return{}}setTimeout(e,t){return window.setTimeout(e,t)}clearTimeout(e){return window.clearTimeout(e)}getBoundingClientRect(){return this.$el.getBoundingClientRect()}}function Da(e,t=!0){if(t&&e&&(e=ce(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Ra(e)),e.$el.__wxsComponentDescriptor}function Ba(e,t){return Da(e,t)}function ja(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Ba(n.proxy,!1)}));const i=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=ce(t);if(!o)return!1;const i=o.$.type;return!(!i.$wxs&&!i.$renderjs)&&o}(t,n,o);if(i)return[e,Ba(i,!1)]}}function Ha(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Fa(e,t=!1){const{type:n,timeStamp:o,target:i,currentTarget:r}=e;let s,a;s=ye(t?i:function(e){for(;!va(e);)e=e.parentElement;return e}(i)),a=ye(r);const c={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return e instanceof CustomEvent&&x(e.detail)&&(c.detail=e.detail),e._stopped&&(c._stopped=!0),e.type.startsWith("touch")&&(c.touches=e.touches,c.changedTouches=e.changedTouches),function(e,t){l(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(c,e),c}function Va(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Wa(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=fa();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Va(t,n)]}(r,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=fa();r.touches=Wa(e.touches,t),r.changedTouches=Wa(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach((t=>{Object.defineProperty(r,t,{get:()=>e[t]})}))}return ja(r,t,n)||[r]},createNativeEvent:Fa},Symbol.toStringTag,{value:"Module"});function Ya(e){!function(e){const t=e.globalProperties;l(t,za),t.$gcd=Ba}(e._context.config)}let qa=1;function Xa(e){return(e||Ta())+".invokeViewApi"}const Ua=l(Ds("view"),{invokeOnCallback:(e,t)=>Bp.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:i,publishHandler:r}=Bp,s=o?qa++:0;o&&i("invokeViewApi."+s,o,!0),r(Xa(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:i,unsubscribe:r,publishHandler:s}=Bp,a=qa++,l="invokeViewApi."+a;return i(l,n),s(Xa(o),{id:a,name:e,args:t},o),()=>{r(l)}}});function Ka(e){Oa(xa(),"onResize",e),Bp.invokeOnCallback("onWindowResize",e)}function Ja(e){const t=xa();Oa(of(),"onShow",e),Oa(t,"onShow")}function Ga(){Oa(of(),"onHide"),Oa(xa(),"onHide")}const Za=["onPageScroll","onReachBottom"];function Qa(){Za.forEach((e=>Bp.subscribe(e,function(e){return(t,n)=>{Oa(parseInt(n),e,t)}}(e))))}function el(){!function(){const{on:e}=Bp;e("onResize",Ka),e("onAppEnterForeground",Ja),e("onAppEnterBackground",Ga)}(),Qa()}function tl(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Te(this.$page.id)),e.eventChannel}}function nl(e){e._context.config.globalProperties.getOpenerEventChannel=tl}function ol(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function il(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${cc(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function rl(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,i=t.actions.length;function r(){const t=o[n],s=t.option.transition,a=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],i=["width","height","left","right","top","bottom"],r=e.animates,s=e.option,a=s.transition,l={},c=[];return r.forEach((e=>{let r=e.type,s=[...e.args];if(t.concat(n).includes(r))r.startsWith("rotate")||r.startsWith("skew")?s=s.map((e=>parseFloat(e)+"deg")):r.startsWith("translate")&&(s=s.map(il)),n.indexOf(r)>=0&&(s.length=1),c.push(`${r}(${s.join(",")})`);else if(o.concat(i).includes(s[0])){r=s[0];const e=s[1];l[r]=i.includes(r)?il(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach((t=>{e.$el.style[t]=a[t]})),n+=1,n{r()}),0)}const sl={props:["animation"],watch:{animation:{deep:!0,handler(){rl(this)}}},mounted(){rl(this)}},al=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(sl),ll(e)},ll=e=>(e.__reserved=!0,e.compatConfig={MODE:3},go(e));function cl(e){return e.__wwe=!0,e}function ul(e,t){return(n,o,i)=>{e.value&&t(n,function(e,t,n,o){let i;return i=ye(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:i,currentTarget:i,detail:o}}(n,o,e.value,i||{}))}}const dl={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function fl(e){const t=nn(!1);let n,o,i=!1;function r(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function s(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),i=!0,n=setTimeout((()=>{t.value=!0,i||r()}),parseInt(e.hoverStartTime)))}function a(){i=!1,t.value&&r()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:cl((function(e){e.touches.length>1||s(e)})),onMousedown:cl((function(e){i||(s(e),window.addEventListener("mouseup",l))})),onTouchend:cl((function(){a()})),onMouseup:cl((function(){i&&l()})),onTouchcancel:cl((function(){i=!1,t.value=!1,clearTimeout(n)}))}}}function pl(e,t){return m(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const hl=ha("uf"),gl=ha("ul");function ml(e,t,n){const o=wa();n&&!e||x(t)&&Object.keys(t).forEach((i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&Dp.on(`uni-${i}-${o}-${e}`,t[i]):0===i.indexOf("uni-")?Dp.on(i,t[i]):e&&Dp.on(`uni-${i}-${o}-${e}`,t[i])}))}function vl(e,t,n){const o=wa();n&&!e||x(t)&&Object.keys(t).forEach((i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&Dp.off(`uni-${i}-${o}-${e}`,t[i]):0===i.indexOf("uni-")?Dp.off(i,t[i]):e&&Dp.off(`uni-${i}-${o}-${e}`,t[i])}))}const yl=al({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=nn(null),o=ai(hl,!1),{hovering:i,binding:r}=fl(e),s=cl(((t,i)=>{if(e.disabled)return t.stopImmediatePropagation();i&&n.value.click();const r=e.formType;if(r){if(!o)return;"submit"===r?o.submit(t):"reset"===r&&o.reset(t)}else;})),a=ai(gl,!1);return a&&(a.addHandler(s),Lo((()=>{a.removeHandler(s)}))),function(e,t){ml(e.id,t),Jn((()=>e.id),((e,n)=>{vl(n,t,!0),ml(e,t,!0)})),Ao((()=>{vl(e.id,t)}))}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=pl(e,"disabled"),l=pl(e,"loading"),c=pl(e,"plain"),u=o&&"none"!==o;return qi("uni-button",Qi({ref:n,onClick:s,id:e.id,class:u&&i.value?o:""},u&&r,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),_l=ha("upm");function bl(){return ai(_l)}function wl(e){const t=function(e){return Ft(JSON.parse(JSON.stringify(Ea(__uniRoutes[0].meta,e))))}(e);return si(_l,t),t}function xl(){const e=location.href,t=e.indexOf("?"),n=e.indexOf("#",t>-1?t:0);let o={};t>-1&&(o=xe(e.slice(t+1,n>-1?n:e.length)));const{meta:i}=__uniRoutes[0],r=oe(i.route);return{meta:i,query:o,path:r,matched:[{path:r}]}}function Sl(){return history.state&&history.state.__id__||1}const Tl=["original","compressed"],Cl=["album","camera"],kl=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function El(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function Ml(e,t){return!f(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function Ol(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let Ll=1;const Al={};function $l(e,t,n){if("number"==typeof e){const o=Al[e];if(o)return o.keepAlive||delete Al[e],o.callback(t,n)}return t}const Pl="success",Nl="fail",Il="complete";function Rl(e,t={},{beforeAll:n,beforeSuccess:o}={}){x(t)||(t={});const{success:i,fail:r,complete:s}=function(e){const t={};for(const n in e){const o=e[n];g(o)&&(t[n]=Ol(o),delete e[n])}return t}(t),a=g(i),l=g(r),c=g(s),u=Ll++;return function(e,t,n,o=!1){Al[e]={name:t,keepAlive:o,callback:n}}(u,e,(u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),g(n)&&n(u),u.errMsg===e+":ok"?(g(o)&&o(u,t),a&&i(u)):l&&r(u),c&&s(u)})),u}const Dl="success",Bl="fail",jl="complete",Hl={},Fl={};function Vl(e,t){return function(n){return e(n,t)||n}}function Wl(e,t,n){let o=!1;for(let i=0;ie(t),catch(){}}}function zl(e,t={}){return[Dl,Bl,jl].forEach((n=>{const o=e[n];if(!f(o))return;const i=t[n];t[n]=function(e){Wl(o,e,t).then((e=>g(i)&&i(e)||e))}})),t}function Yl(e,t){const n=[];f(Hl.returnValue)&&n.push(...Hl.returnValue);const o=Fl[e];return o&&f(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function ql(e){const t=Object.create(null);Object.keys(Hl).forEach((e=>{"returnValue"!==e&&(t[e]=Hl[e].slice())}));const n=Fl[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function Xl(e,t,n,o){const i=ql(e);if(i&&Object.keys(i).length){if(f(i.invoke)){return Wl(i.invoke,n).then((n=>t(zl(ql(e),n),...o)))}return t(zl(i,n),...o)}return t(n,...o)}function Ul(e,t){return(n={},...o)=>function(e){return!(!x(e)||![Pl,Nl,Il].find((t=>g(e[t]))))}(n)?Yl(e,Xl(e,t,l({},n),o)):Yl(e,new Promise(((i,r)=>{Xl(e,t,l({},n,{success:i,fail:r}),o)})))}function Kl(e,t,n,o={}){const i=t+":fail";let r="";return r=n?0===n.indexOf(i)?n:i+" "+n:i,delete o.errCode,$l(e,l({errMsg:r},o))}function Jl(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(m(e))return e}const i=function(e,t){const n=e[0];if(!t||!t.formatArgs||!x(t.formatArgs)&&x(n))return;const o=t.formatArgs,i=Object.keys(o);for(let r=0;r{const i=Rl(e,n,o),r=Jl(0,[n],0,o);return r?Kl(i,e,r):t(n,{resolve:t=>function(e,t,n){return $l(e,l(n||{},{errMsg:t+":ok"}))}(i,e,t),reject:(t,n)=>Kl(i,e,function(e){return!e||m(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Zl(e,t,n,o){return Ul(e,Gl(e,t,0,o))}function Ql(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Jl(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function ec(e,t,n,o){return Ul(e,function(e,t,n,o){return Gl(e,t,0,o)}(e,t,0,o))}let tc=!1,nc=0,oc=0,ic=960,rc=375,sc=750;function ac(){let e,t,n;{const{windowWidth:o,pixelRatio:i,platform:r}=function(){const e=hu(),t=vu(mu(e,gu(e)));return{platform:cu?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();e=o,t=i,n=r}nc=e,oc=t,tc="ios"===n}function lc(e,t){const n=Number(e);return isNaN(n)?t:n}const cc=Ql(0,((e,t)=>{if(0===nc&&(ac(),function(){const e=__uniConfig.globalStyle||{};ic=lc(e.rpxCalcMaxDeviceWidth,960),rc=lc(e.rpxCalcBaseDeviceWidth,375),sc=lc(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||nc;n=e===sc||n<=ic?n:rc;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==oc&&tc?.5:1),e<0?-o:o})),uc={formatArgs:{}},dc={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};class fc{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=l({},dc,e)}_getOption(e){const t={transition:l({},this.option,e),transformOrigin:""};return t.transformOrigin=t.transition.transformOrigin,delete t.transition.transformOrigin,t}_pushAnimates(e,t){this.currentStepAnimates.push({type:e,args:t})}_converType(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}_getValue(e){return"number"==typeof e?`${e}px`:e}export(){const e=this.actions;return this.actions=[],{actions:e}}step(e){return this.currentStepAnimates.forEach((e=>{"style"!==e.type?this.currentTransform[e.type]=e:this.currentTransform[`${e.type}.${e.args[0]}`]=e})),this.actions.push({animates:Object.values(this.currentTransform),option:this._getOption(e)}),this.currentStepAnimates=[],this}}const pc=ie((()=>{const e=["opacity","backgroundColor"],t=["width","height","left","right","top","bottom"];["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"].concat(e,t).forEach((n=>{fc.prototype[n]=function(...o){return e.concat(t).includes(n)?this._pushAnimates("style",[this._converType(n),t.includes(n)?this._getValue(o[0]):o[0]]):this._pushAnimates(n,o),this}}))})),hc=Ql(0,(e=>(pc(),new fc(e))),0,uc),gc=Ql(0,(()=>{const e=of();return e&&e.$vm?e.$vm.$locale:Ls().getLocale()})),mc={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const vc=["wgs84","gcj02"],yc={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===vc.indexOf(e)?t.type=vc[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},_c=(Boolean,{formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=Ml(e,Tl)},sourceType(e,t){t.sourceType=Ml(e,Cl)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}}),bc={formatArgs:{urls(e,t){t.urls=e.map((e=>m(e)&&e?su(e):""))},current(e,t){"number"==typeof e?t.current=e>0&&ee)),s={};r.forEach((e=>{const t=e.split("=");s[t[0]]=t[1]}));for(const a in t)if(d(t,a)){let e=t[a];null==e?e="":x(e)&&(e=JSON.stringify(e)),s[Sc(a)]=Sc(e)}return i=Object.keys(s).map((e=>`${e}=${s[e]}`)).join("&"),e+(i?"?"+i:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==kl[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||wc).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===xc.indexOf(t.responseType)&&(t.responseType="text")}}},Cc=(Boolean,{formatArgs:{title:"",mask:!1}}),kc=["success","loading","none","error"],Ec=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=El(e,kc)},image(e,t){t.image=e?su(e):""},duration:1500,mask:!1}});function Mc(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function Oc({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:i},r){const s=of().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:xe(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++Xc,__type__:e}}(e,r);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then((r=>{if(function(e,t){return e instanceof Error&&ms in e&&(null==t||!!(e.type&t))}(r))return c(r.message);if("switchTab"===e&&(s.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=s.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach((t=>{e.eventChannel._addListener(t,"on",o[t])})),e.eventChannel._clearCache()):e.eventChannel=new Te(u.__id__,o),t(i?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return i?t({__id__:u.__id__}):t()}))}))}function Lc(){if(Bc.handledBeforeEntryPageRoutes)return;Bc.handledBeforeEntryPageRoutes=!0;const e=[...jc];jc.length=0,e.forEach((({args:e,resolve:t,reject:n})=>Oc(e).then(t).catch(n)));const t=[...Hc];Hc.length=0,t.forEach((({args:e,resolve:t,reject:n})=>(function(){const e=Ca();if(!e)return;const t=Wc(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:qc(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,Oa(e,"onHide"))}(),Oc(e,function(e){const t=Wc().values();for(const n of t){const t=Dc(n);if(Mc(e,t))return n.$.__isActive=!0,t.id}}(e.url)).then(t).catch(n))));const n=[...Fc];Fc.length=0,n.forEach((({args:e,resolve:t,reject:n})=>(function(){const e=xa();if(!e)return;const t=Dc(e);qc(Kc(t.path,t.id))}(),Oc(e).then(t).catch(n))));const o=[...Vc];Vc.length=0,o.forEach((({args:e,resolve:t,reject:n})=>(function(){const e=Wc().keys();for(const t of e)qc(t)}(),Oc(e).then(t).catch(n))))}function Ac(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const $c=Ac("top:env(a)"),Pc=Ac("top:constant(a)"),Nc=(()=>$c?"env":Pc?"constant":"")();function Ic(e){var t,n;pa({"--window-top":(n=0,Nc?`calc(${n}px + ${Nc}(safe-area-inset-top))`:`${n}px`),"--window-bottom":(t=0,Nc?`calc(${t}px + ${Nc}(safe-area-inset-bottom))`:`${t}px`)})}const Rc=new Map;function Dc(e){return e.$page}const Bc={handledBeforeEntryPageRoutes:!1},jc=[],Hc=[],Fc=[],Vc=[];function Wc(){return Rc}function zc(){return Yc()}function Yc(){const e=[],t=Rc.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function qc(e,t=!0){const n=Rc.get(e);n.$.__isUnload=!0,Oa(n,"onUnload"),Rc.delete(e),t&&function(e){const t=Jc.get(e);t&&(Jc.delete(e),Gc.pruneCacheEntry(t))}(e)}let Xc=Sl();function Uc(e){e.$route;const t=function(e){const t=bl();return Ma("navigateTo",__uniRoutes[0].path,{},t)}();!function(e,t){e.route=t.route,e.$vm=e,e.$page=t,e.$mpType="page",e.$fontFamilySet=new Set,t.meta.isTabBar&&(e.$.__isTabBar=!0,e.$.__isActive=!0)}(e,t),Rc.set(Kc(t.path,t.id),e),1===Rc.size&&setTimeout((()=>{Lc()}),0)}function Kc(e,t){return e+"$$"+t}const Jc=new Map,Gc={get:e=>Jc.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;Gc.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);o&&o>t&&(Gc.delete(n),Gc.pruneCacheEntry(e),xn((()=>{Rc.forEach(((e,t)=>{e.$.isUnmounted&&Rc.delete(t)}))})))}))}(e),Jc.set(e,t)},delete(e){Jc.get(e)&&Jc.delete(e)},forEach(e){Jc.forEach(e)}};function Zc(e,t){!function(e){const t=eu(e),{body:n}=document;tu&&n.removeAttribute(tu),t&&n.setAttribute(t,""),tu=t}(e),Ic(),function(e){{const t="nvue-dir-"+__uniConfig.nvue["flex-direction"];e.isNVue?(document.body.setAttribute("nvue",""),document.body.setAttribute(t,"")):(document.body.removeAttribute("nvue"),document.body.removeAttribute(t))}}(t),iu(e,t)}function Qc(e){const t=eu(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function eu(e){return e.type.__scopeId}let tu;const nu=!!(()=>{let e=!1;try{const t={};Object.defineProperty(t,"passive",{get(){e=!0}}),window.addEventListener("test-passive",(()=>{}),t)}catch(t){}return e})()&&{passive:!1};let ou;function iu(e,t){if(document.removeEventListener("touchmove",La),ou&&document.removeEventListener("scroll",ou),t.disableScroll)return document.addEventListener("touchmove",La,nu);const{onPageScroll:n,onReachBottom:o}=e,i="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!i)return;const r={},s=Dc(e.proxy).id;(n||i)&&(r.onPageScroll=function(e,t,n){return o=>{t&&Dp.publishHandler("onPageScroll",{scrollTop:o},e),n&&Dp.emit(e+".onPageScroll",{scrollTop:o})}}(s,n,i)),(null==o?void 0:o.length)&&(r.onReachBottomDistance=t.onReachBottomDistance||50,r.onReachBottom=()=>Dp.publishHandler("onReachBottom",{},s)),ou=Pa(r),requestAnimationFrame((()=>document.addEventListener("scroll",ou)))}function ru(e){const{base:t}=__uniConfig.router;return 0===oe(e).indexOf(t)?oe(e):t+e}function su(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0!==e.indexOf("./")||!e.includes("/static/")&&0!==e.indexOf("./"+(n||"assets")+"/")||(e=e.slice(1))),0===e.indexOf("/")){if(0!==e.indexOf("//"))return ru(e.slice(1));e="https:"+e}if(Q.test(e)||ee.test(e)||0===e.indexOf("blob:"))return e;const o=Yc();return o.length?ru(Na(Dc(o[o.length-1]).route,e).slice(1)):e}const au=navigator.userAgent,lu=/android/i.test(au),cu=/iphone|ipad|ipod/i.test(au),uu=au.match(/Windows NT ([\d|\d.\d]*)/i),du=/Macintosh|Mac/i.test(au),fu=/Linux|X11/i.test(au),pu=du&&navigator.maxTouchPoints>0;function hu(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function gu(e){return e&&90===Math.abs(window.orientation)}function mu(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function vu(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}const yu={};function _u(e){for(const n in yu)if(d(yu,n)){if(yu[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return yu[t]=e,t}const bu=ol(),wu=ol();const xu=al({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=nn(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),i=function(e,t,n){const o=Ft({width:-1,height:-1});return Jn((()=>l({},o)),(e=>t("resize",e))),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return function(e,t,n,o){bo(o),Eo((()=>{t.initial&&xn(n);const i=e.value;i.offsetParent!==i.parentElement&&(i.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,i,o),()=>qi("uni-resize-sensor",{ref:n,onAnimationstartOnce:i},[qi("div",{onScroll:i},[qi("div",null,null)],40,["onScroll"]),qi("div",{onScroll:i},[qi("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function Su(){}const Tu={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}};function Cu(e,t,n){function o(e){const t=gr((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",Su,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",Su,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}Jn((()=>t.value),(e=>e&&o(e)))}const ku={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Eu={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},Mu={aspectFit:["center center","contain"],aspectFill:["center center","cover"],widthFix:[,"100% 100%"],heightFix:[,"100% 100%"],top:["center top"],bottom:["center bottom"],center:["center center"],left:["left center"],right:["right center"],"top left":["left top"],"top right":["right top"],"bottom left":["left bottom"],"bottom right":["right bottom"]},Ou=al({name:"Image",props:ku,setup(e,{emit:t}){const n=nn(null),o=function(e,t){const n=nn(""),o=gr((()=>{let e="auto",o="";const i=Mu[t.mode];return i?(i[0]&&(o=i[0]),i[1]&&(e=i[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`})),i=Ft({rootEl:e,src:gr((()=>t.src?su(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Eo((()=>{const t=e.value;i.origWidth=t.clientWidth||0,i.origHeight=t.clientHeight||0})),i}(n,e),i=ul(n,t),{fixSize:r}=function(e,t,n){const o=()=>{const{mode:o}=t,i=Eu[o];if(!i)return;const{origWidth:r,origHeight:s}=n,a=r&&s?r/s:0;if(!a)return;const l=e.value,c=l[i[0]];c&&(l.style[i[1]]=function(e){Lu&&e>10&&(e=2*Math.round(e/2));return e}(i[2](c,a))+"px")},i=()=>{const{style:t}=e.value,{origStyle:{width:o,height:i}}=n;t.width=o,t.height=i};return Jn((()=>t.mode),((e,t)=>{Eu[t]&&i(),Eu[e]&&o()})),{fixSize:o,resetSize:i}}(n,e,o);return function(e,t,n,o,i){let r,s;const a=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void a();r=r||new Image,r.onload=e=>{const{width:u,height:d}=r;a(u,d,l),xn((()=>{o()})),r.draggable=t.draggable,s&&s.remove(),s=r,n.value.appendChild(r),c(),i("load",e,{width:u,height:d})},r.onerror=t=>{a(),c(),i("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},r.src=l},c=()=>{r&&(r.onload=null,r.onerror=null,r=null)};Jn((()=>e.src),(e=>l(e))),Jn((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),Eo((()=>l(e.src))),Lo((()=>c()))}(o,e,n,r,i),()=>qi("uni-image",{ref:n},[qi("div",{style:o.modeStyle},null,4),Eu[e.mode]?qi(xu,{onResize:r},null,8,["onResize"]):qi("span",null,null)],512)}});const Lu="Google Inc."===navigator.vendor;const Au=ve(!0),$u=[];let Pu=0,Nu=!1;const Iu=e=>$u.forEach((t=>t.userAction=e));function Ru(e={userAction:!1}){if(!Nu){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!Pu&&Iu(!0),Pu++,setTimeout((()=>{!--Pu&&Iu(!1)}),0)}),Au)})),Nu=!0}$u.push(e)}function Du(){const e=Ft({userAction:!1});return Eo((()=>{Ru(e)})),Lo((()=>{!function(e){const t=$u.indexOf(e);t>=0&&$u.splice(t,1)}(e)})),{state:e}}function Bu(){const e=Ft({attrs:{}});return Eo((()=>{let t=ir();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function ju(e,t){const n=document.activeElement;if(!n)return t({});const o={};["input","textarea"].includes(n.tagName.toLowerCase())&&(o.start=n.selectionStart,o.end=n.selectionEnd),t(o)}const Hu=function(){var e,t,n;e=Ta(),n=ju,t=Hs(e,t="getSelectedTextRange"),js[t]||(js[t]=n)};function Fu(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const Vu=["none","text","decimal","numeric","tel","search","email","url"],Wu=l({},{name:{type:String,default:""},modelValue:{type:[String,Number]},value:{type:[String,Number]},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0},step:{type:String,default:"0.000000000000000001"},inputmode:{type:String,default:void 0,validator:e=>!!~Vu.indexOf(e)},cursorColor:{type:String,default:""}},Tu),zu=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function Yu(e,t,n,o){let i=null;i=Se((n=>{t.value=Fu(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Jn((()=>e.modelValue),i),Jn((()=>e.value),i);const r=function(e,t){let n,o,i=0;const r=function(...r){const s=Date.now();clearTimeout(n),o=()=>{o=null,i=s,e.apply(this,r)},s-i{i.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return ko((()=>{i.cancel(),r.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{i.cancel(),r(e,t),n&&r.flush()}}}function qu(e,t){Du();const n=gr((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Jn((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),Eo((()=>{n.value&&xn(o)}))}function Xu(e,t,n,o){Hu();const{fieldRef:i,state:r,trigger:s}=function(e,t,n){const o=nn(null),i=ul(t,n),r=gr((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),s=gr((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),a=gr((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=gr((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=Fu(e.modelValue,e.type)||Fu(e.value,e.type);const u=Ft({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:r,selectionEnd:s,cursor:a});return Jn((()=>u.focus),(e=>n("update:focus",e))),Jn((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:i}}(e,t,n),{triggerInput:a}=Yu(e,r,n,s);qu(e,i),Cu(0,i);const{state:l}=Bu();!function(e,t){const n=ai(hl,!1);if(!n)return;const o=ir(),i={submit(){const n=o.proxy;return[n[e],m(t)?n[t]:t.value]},reset(){m(t)?o.proxy[t]="":t.value=""}};n.addField(i),Lo((()=>{n.removeField(i)}))}("name",r),function(e,t,n,o,i,r){function s(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function a(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}Jn([()=>t.selectionStart,()=>t.selectionEnd],s),Jn((()=>t.cursor),a),Jn((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),g(r)&&!1===r(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||i(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",(e=>e.stopPropagation())),c.addEventListener("focus",(function(e){t.focus=!0,o("focus",e,{value:t.value}),s(),a()})),c.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})})),c.addEventListener("input",u),c.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,d(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)})),c.addEventListener("compositionupdate",d)}))}(i,r,e,s,a,o);return{fieldRef:i,state:r,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const Uu=l({},Wu,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),Ku=ie((()=>{{const e=navigator.userAgent;let t="";const n=e.match(/OS\s([\w_]+)\slike/);if(n)t=n[1].replace(/_/g,".");else if(/Macintosh|Mac/i.test(e)&&navigator.maxTouchPoints>0){const n=e.match(/Version\/(\S*)\b/);n&&(t=n[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}}));function Ju(e,t,n,o,i){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes("."))return t.value+=".",i&&(i.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",i.fn)},o.addEventListener("blur",i.fn)),!1}else if("deleteContentBackward"===e.inputType&&Ku()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}const Gu=al({name:"Input",props:Uu,emits:["confirm",...zu],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],i=["off","one-time-code"],r=gr((()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t})),s=gr((()=>{const t=i.indexOf(e.textContentType),n=i.indexOf(O(e.textContentType));return i[-1!==t?t:-1!==n?n:0]}));let a=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=nn(null!=t?t.toLocaleString():"");return Jn((()=>e.modelValue),(e=>{n.value=null!=e?e.toLocaleString():""})),Jn((()=>e.value),(e=>{n.value=null!=e?e.toLocaleString():""})),n}return nn("")}(e,r),l={fn:null};const c=nn(null),{fieldRef:u,state:d,scopedAttrsState:f,fixDisabledColor:p,trigger:h}=Xu(e,c,t,((t,n)=>{const o=t.target;if("number"===r.value){if(l.fn&&(o.removeEventListener("blur",l.fn),l.fn=null),o.validity&&!o.validity.valid){if((!a.value||!o.value)&&"-"===t.data||"-"===a.value[0]&&"deleteContentBackward"===t.inputType)return a.value="-",n.value="",l.fn=()=>{a.value=o.value=""},o.addEventListener("blur",l.fn),!1;const e=Ju(t,a,n,o,l);return"boolean"==typeof e?e:(a.value=n.value=o.value="-"===a.value?"":a.value,!1)}{const e=Ju(t,a,n,o,l);if("boolean"==typeof e)return e;a.value=o.value}const i=n.maxlength;if(i>0&&o.value.length>i){o.value=o.value.slice(0,i),n.value=o.value;return(void 0!==e.modelValue&&null!==e.modelValue?e.modelValue.toString():"")!==o.value}}}));Jn((()=>d.value),(t=>{"number"!==e.type||"-"===a.value&&""===t||(a.value=t.toString())}));const g=["number","digit"],m=gr((()=>g.includes(e.type)?e.step:""));function v(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),h("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),d.value=e.value}}),()=>{let t=e.disabled&&p?qi("input",{key:"disabled-input",ref:u,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:r.value,maxlength:d.maxlength,step:m.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):qi("input",{key:"input",ref:u,value:d.value,onInput:e=>{d.value=e.target.value.toString()},disabled:!!e.disabled,type:r.value,maxlength:d.maxlength,step:m.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:s.value,onKeyup:v,inputmode:e.inputmode},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return qi("uni-input",{ref:c},[qi("div",{class:"uni-input-wrapper"},[to(qi("div",Qi(f.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Rr,!(d.value.length||"-"===a.value||a.value.includes("."))]]),"search"===e.confirmType?qi("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const Zu=["class","style"],Qu=/^on[A-Z]+/,ed=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=ir(),i=on({}),r=on({}),s=on({}),a=n.concat(Zu);return o.attrs=Ft(o.attrs),Un((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(a.includes(n)?e.exclude[n]=o:Qu.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e)),{exclude:{},attrs:{},listeners:{}});var n;i.value=e.attrs,r.value=e.listeners,s.value=e.exclude})),{$attrs:i,$listeners:r,$excludeAttrs:s}};function td(e){const t=[];return f(e)&&e.forEach((e=>{Hi(e)?e.type===Mi?t.push(...td(e.children)):t.push(e):f(e)&&t.push(...td(e))})),t}const nd=al({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=nn(null),o=nn(!1);let{setContexts:i,events:r}=function(e,t){const n=nn(0),o=nn(0),i=Ft({x:null,y:null}),r=nn(null);let s=null,a=[];function l(t){t&&1!==t&&(e.scaleArea?a.forEach((function(e){e._setScale(t)})):s&&s._setScale(t))}function c(e,n=a){let o=t.value;function i(e){for(let t=0;t{let n=t.touches;if(n&&n.length>1){let t={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(r.value=od(t),i.x=t.x,i.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);s=e&&e===t?e:null}}})),d=cl((e=>{let t=e.touches;if(t&&t.length>1){e.preventDefault();let n={x:t[1].pageX-t[0].pageX,y:t[1].pageY-t[0].pageY};if(null!==i.x&&r.value&&r.value>0){l(od(n)/r.value)}i.x=n.x,i.y=n.y}})),f=cl((t=>{let n=t.touches;n&&n.length||t.changedTouches&&(i.x=0,i.y=0,r.value=null,e.scaleArea?a.forEach((function(e){e._endScale()})):s&&s._endScale())}));function p(){h(),a.forEach((function(e,t){e.setParent()}))}function h(){let e=window.getComputedStyle(t.value),i=t.value.getBoundingClientRect();n.value=i.width-["Left","Right"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0),o.value=i.height-["Top","Bottom"].reduce((function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])}),0)}return si("movableAreaWidth",n),si("movableAreaHeight",o),{setContexts(e){a=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:f,_resize:p}}}(e,n);const{$listeners:s,$attrs:a,$excludeAttrs:l}=ed(),c=s.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=c[e],n=r[`_${e}`];c[e]=t?[].concat(t,n):n})),Eo((()=>{r._resize(),o.value=!0}));let u=[];const d=[];function f(){const e=[];for(let t=0;tn===e.rootRef.value));o&&e.push(Kt(o))}i(e)}return si("_isMounted",o),si("movableAreaRootRef",n),si("addMovableViewContext",(e=>{d.push(e),f()})),si("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),f())})),()=>{const e=t.default&&t.default();return u=td(e),qi("uni-movable-area",Qi({ref:n},a.value,l.value,c),[qi(xu,{onResize:r._resize},null,8,["onResize"]),u],16)}}});function od(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const id=function(e,t,n,o){e.addEventListener(t,(e=>{g(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let rd,sd;function ad(e,t,n){Lo((()=>{document.removeEventListener("mousemove",rd),document.removeEventListener("mouseup",sd)}));let o=0,i=0,r=0,s=0;const a=function(e,n,a,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:a,y:l,dx:a-o,dy:l-i,ddx:a-r,ddy:l-s,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;id(e,"touchstart",(function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=r=e.touches[0].pageX,i=s=e.touches[0].pageY,a(e,"start",o,i)})),id(e,"mousedown",(function(e){if(c=!0,!l&&!u)return u=e,o=r=e.pageX,i=s=e.pageY,a(e,"start",o,i)})),id(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=a(e,"move",e.touches[0].pageX,e.touches[0].pageY);return r=e.touches[0].pageX,s=e.touches[0].pageY,t}}));const d=rd=function(e){if(!l&&c&&u){const t=a(e,"move",e.pageX,e.pageY);return r=e.pageX,s=e.pageY,t}};document.addEventListener("mousemove",d),id(e,"touchend",(function(e){if(0===e.touches.length&&u)return l=!1,u=null,a(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)}));const f=sd=function(e){if(c=!1,!l&&u)return u=null,a(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",f),id(e,"touchcancel",(function(e){if(u){l=!1;const t=u;return u=null,a(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}}))}function ld(e,t,n){return e>t-n&&ethis._t&&(e=this._t,this._lastDt=e);let t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&nthis._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},dd.prototype.ds=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},dd.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}},dd.prototype.dt=function(){return-this._x_v/this._x_a},dd.prototype.done=function(){const e=ld(this.s().x,this._endPositionX)||ld(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},dd.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},dd.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},fd.prototype._solve=function(e,t){const n=this._c,o=this._m,i=this._k,r=n*n-4*o*i;if(0===r){const i=-n/(2*o),r=e,s=t/(i*e);return{x:function(e){return(r+s*e)*Math.pow(Math.E,i*e)},dx:function(e){const t=Math.pow(Math.E,i*e);return i*(r+s*e)*t+s*t}}}if(r>0){const i=(-n-Math.sqrt(r))/(2*o),s=(-n+Math.sqrt(r))/(2*o),a=(t-i*e)/(s-i),l=e-a;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*t+a*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*i*t+a*s*n}}}const s=Math.sqrt(4*o*i-n*n)/(2*o),a=-n/2*o,l=e,c=(t-a*e)/s;return{x:function(e){return Math.pow(Math.E,a*e)*(l*Math.cos(s*e)+c*Math.sin(s*e))},dx:function(e){const t=Math.pow(Math.E,a*e),n=Math.cos(s*e),o=Math.sin(s*e);return t*(c*s*n-l*s*o)+a*t*(c*o+l*n)}}},fd.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},fd.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},fd.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!cd(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(cd(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),cd(t,.1)&&(t=0),cd(o,.1)&&(o=0),o+=this._endPosition),this._solution&&cd(o-e,.1)&&cd(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},fd.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},fd.prototype.done=function(e){return e||(e=(new Date).getTime()),ld(this.x(),this._endPosition,.1)&&cd(this.dx(),.1)},fd.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},fd.prototype.springConstant=function(){return this._k},fd.prototype.damping=function(){return this._c},fd.prototype.configuration=function(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]},pd.prototype.setEnd=function(e,t,n,o){const i=(new Date).getTime();this._springX.setEnd(e,o,i),this._springY.setEnd(t,o,i),this._springScale.setEnd(n,o,i),this._startTime=i},pd.prototype.x=function(){const e=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},pd.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},pd.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};function hd(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const gd=al({name:"MovableView",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:.1},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},emits:["change","scale"],setup(e,{slots:t,emit:n}){const o=nn(null),i=ul(o,n),{setParent:r}=function(e,t,n){const o=ai("_isMounted",nn(!1)),i=ai("addMovableViewContext",(()=>{})),r=ai("removeMovableViewContext",(()=>{}));let s,a,l=nn(1),c=nn(1),u=nn(!1),d=nn(0),f=nn(0),p=null,h=null,g=!1,m=null,v=null;const y=new ud,_=new ud,b={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=gr((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),x=new dd(1,w.value);Jn((()=>e.disabled),(()=>{Y()}));const{_updateOldScale:S,_endScale:T,_setScale:C,scaleValueSync:k,_updateBoundary:E,_updateOffset:M,_updateWH:O,_scaleOffset:L,minX:A,minY:$,maxX:P,maxY:N,FAandSFACancel:I,_getLimitXY:R,_setTransform:D,_revise:B,dampingNumber:j,xMove:H,yMove:F,xSync:V,ySync:W,_STD:z}=function(e,t,n,o,i,r,s,a,l,c){const u=gr((()=>{let t=Number(e.scaleMin);return isNaN(t)?.1:t})),d=gr((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),f=nn(Number(e.scaleValue)||1);Jn(f,(e=>{D(e)})),Jn(u,(()=>{R()})),Jn(d,(()=>{R()})),Jn((()=>e.scaleValue),(e=>{f.value=Number(e)||0}));const{_updateBoundary:p,_updateOffset:h,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:_,maxY:b}=function(e,t,n){const o=ai("movableAreaWidth",nn(0)),i=ai("movableAreaHeight",nn(0)),r=ai("movableAreaRootRef"),s={x:0,y:0},a={x:0,y:0},l=nn(0),c=nn(0),u=nn(0),d=nn(0),f=nn(0),p=nn(0);function h(){let e=0-s.x+a.x,t=o.value-l.value-s.x-a.x;u.value=Math.min(e,t),f.value=Math.max(e,t);let n=0-s.y+a.y,r=i.value-c.value-s.y-a.y;d.value=Math.min(n,r),p.value=Math.max(n,r)}function g(){s.x=yd(e.value,r.value),s.y=_d(e.value,r.value)}function m(o){o=o||t.value,o=n(o);let i=e.value.getBoundingClientRect();c.value=i.height/t.value,l.value=i.width/t.value;let r=c.value*o,s=l.value*o;a.x=(s-l.value)/2,a.y=(r-c.value)/2}return{_updateBoundary:h,_updateOffset:g,_updateWH:m,_scaleOffset:a,minX:u,minY:d,maxX:f,maxY:p}}(t,o,I),{FAandSFACancel:w,_getLimitXY:x,_animationTo:S,_setTransform:T,_revise:C,dampingNumber:k,xMove:E,yMove:M,xSync:O,ySync:L,_STD:A}=function(e,t,n,o,i,r,s,a,l,c,u,d,f,p){const h=gr((()=>{let e=Number(t.damping);return isNaN(e)?20:e})),g=gr((()=>"all"===t.direction||"horizontal"===t.direction)),m=gr((()=>"all"===t.direction||"vertical"===t.direction)),v=nn(wd(t.x)),y=nn(wd(t.y));Jn((()=>t.x),(e=>{v.value=wd(e)})),Jn((()=>t.y),(e=>{y.value=wd(e)})),Jn(v,(e=>{C(e)})),Jn(y,(e=>{k(e)}));const _=new pd(1,9*Math.pow(h.value,2)/40,h.value);function b(e,t){let n=!1;return e>i.value?(e=i.value,n=!0):er.value?(t=r.value,n=!0):t1?"htouchmove":"vtouchmove"),H.value&&(n=t.detail.dx+s,b.historyX.shift(),b.historyX.push(n),F.value||null!==m||(m=Math.abs(t.detail.dx/t.detail.dy)<1)),F.value&&(o=t.detail.dy+a,b.historyY.shift(),b.historyY.push(o),H.value||null!==m||(m=Math.abs(t.detail.dy/t.detail.dx)<1)),b.historyT.shift(),b.historyT.push(t.detail.timeStamp),!m){t.preventDefault();let i="touch";nP.value&&(e.outOfBounds?(i="touch-out-of-bounds",n=P.value+y.x(n-P.value)):n=P.value),o<$.value?e.outOfBounds?(i="touch-out-of-bounds",o=$.value-_.x($.value-o)):o=$.value:o>N.value&&(e.outOfBounds?(i="touch-out-of-bounds",o=N.value+_.x(o-N.value)):o=N.value),vd((function(){D(n,o,l.value,i)}))}}}function X(){if(!u.value&&!e.disabled&&g&&(n.value.style.willChange="auto",g=!1,!m&&!B("out-of-bounds")&&e.inertia)){const e=1e3*(b.historyX[1]-b.historyX[0])/(b.historyT[1]-b.historyT[0]),t=1e3*(b.historyY[1]-b.historyY[0])/(b.historyT[1]-b.historyT[0]),n=d.value,o=f.value;x.setV(e,t),x.setS(n,o);const i=x.delta().x,r=x.delta().y;let s=i+n,a=r+o;sP.value&&(s=P.value,a=o+(P.value-n)*r/i),a<$.value?(a=$.value,s=n+($.value-o)*i/r):a>N.value&&(a=N.value,s=n+(N.value-o)*i/r),x.setEnd(s,a),h=bd(x,(function(){let e=x.s(),t=e.x,n=e.y;D(t,n,l.value,"friction")}),(function(){h.cancel()}))}e.outOfBounds||e.inertia||I()}function U(){if(!o.value)return;I();let t=e.scale?k.value:1;M(),O(t),E();let n=R(V.value+L.x,W.value+L.y),i=n.x,r=n.y;D(i,r,t,"",!0),S(t)}return Eo((()=>{ad(n.value,(e=>{switch(e.detail.state){case"start":Y();break;case"move":q(e);break;case"end":X()}})),U(),x.reconfigure(1,w.value),z.reconfigure(1,9*Math.pow(j.value,2)/40,j.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:U,_endScale:T,_setScale:C};i(e),Ao((()=>{r(e)}))})),Ao((()=>{I()})),{setParent:U}}(e,i,o);return()=>qi("uni-movable-view",{ref:o},[qi(xu,{onResize:r},null,8,["onResize"]),t.default&&t.default()],512)}});let md=!1;function vd(e){md||(md=!0,requestAnimationFrame((function(){e(),md=!1})))}function yd(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=yd(e.offsetParent,t):0}function _d(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=_d(e.offsetParent,t):0}function bd(e,t,n){let o={id:0,cancelled:!1};return function e(t,n,o,i){if(!t||!t.cancelled){o(n);let r=n.done();r||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,i))),r&&i&&i(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}function wd(e){return/\d+[ur]px$/i.test(e)?cc(parseFloat(e)):Number(e)||0}const xd=al({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return f(e)&&e.filter((e=>"number"==typeof e)).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=nn(null),i=nn(null),r=ul(o,n),s=function(e){const t=Ft([...e.value]),n=Ft({value:t,height:34});return Jn((()=>e.value),((e,t)=>{n.value.length=e.length,e.forEach(((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)}))})),n}(e),a=nn(null);Eo((()=>{const e=a.value;e&&(s.height=e.$el.offsetHeight)}));let l=nn([]),c=nn([]);function u(e){let t=c.value;t=t.filter((e=>e.type!==Li));let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return si("getPickerViewColumn",(function(e){return gr({get(){const t=u(e.vnode);return s.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(s.value[o]!==t){s.value[o]=t;const e=s.value.map((e=>e));n("update:value",e),r("change",{},{value:e})}}})})),si("pickerViewProps",e),si("pickerViewState",s),()=>{const e=t.default&&t.default();{const t=td(e);l.value=t,xn((()=>{c.value=t}))}return qi("uni-picker-view",{ref:o},[qi(xu,{ref:a,onResize:({height:e})=>s.height=e},null,8,["onResize"]),qi("div",{ref:i,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class Sd{constructor(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}set(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()}setVelocityByEnd(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog}dx(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._v*t}done(){return Math.abs(this.dx())<3}reconfigure(e){const t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)}configuration(){const e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}}function Td(e,t,n){return e>t-n&&e0){const i=(-n-Math.sqrt(r))/(2*o),s=(-n+Math.sqrt(r))/(2*o),a=(t-i*e)/(s-i),l=e-a;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*t+a*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,s*e)),l*i*t+a*s*n}}}const s=Math.sqrt(4*o*i-n*n)/(2*o),a=-n/2*o,l=e,c=(t-a*e)/s;return{x:function(e){return Math.pow(Math.E,a*e)*(l*Math.cos(s*e)+c*Math.sin(s*e))},dx:function(e){const t=Math.pow(Math.E,a*e),n=Math.cos(s*e),o=Math.sin(s*e);return t*(c*s*n-l*s*o)+a*t*(c*o+l*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Cd(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(Cd(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Cd(t,.4)&&(t=0),Cd(o,.4)&&(o=0),o+=this._endPosition),this._solution&&Cd(o-e,.4)&&Cd(t,.4)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),Td(this.x(),this._endPosition,.4)&&Cd(this.dx(),.4)}reconfigure(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}}class Ed{constructor(e,t,n){this._extent=e,this._friction=t||new Sd(.01),this._spring=n||new kd(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}class Md{constructor(e,t){t=t||{},this._element=e,this._options=t,this._enableSnap=t.enableSnap||!1,this._itemSize=t.itemSize||0,this._enableX=t.enableX||!1,this._enableY=t.enableY||!1,this._shouldDispatchScrollEvent=!!t.onScroll,this._enableX?(this._extent=(t.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=t.scrollWidth):(this._extent=(t.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=t.scrollHeight),this._position=0,this._scroll=new Ed(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){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()}onTouchMove(e,t){let n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,o<=0&&o>=-this._extent&&this._scroll.setVelocityByEnd(o)}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=function(e,t,n){const o={id:0,cancelled:!1};return function e(t,n,o,i){if(!t||!t.cancelled){o(n);const r=n.done();r||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,i))),r&&i&&i(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}(this._scroll,(()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const o=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/o),this._lastTime=e)}),(()=>{this._enableSnap&&(o<=0&&o>=-this._extent&&(this._position=o,this.updatePosition()),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1}))}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){const e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(g(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const e={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(e)}}update(e,t,n){let o=0;const i=this._position;this._enableX?(o=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(o=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-o?this._position=-o:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),i!==this._position&&(this.dispatchScroll(),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=o,this._scroll._extent=o}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}const Od=al({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=nn(null),i=nn(null),r=ai("getPickerViewColumn"),s=ir(),a=r?r(s):nn(0),l=ai("pickerViewProps"),c=ai("pickerViewState"),u=nn(34),d=nn(null);Eo((()=>{const e=d.value;u.value=e.$el.offsetHeight}));const f=gr((()=>(c.height-u.value)/2)),{state:p}=Bu();let h;const g=Ft({current:a.value,length:0});let m;function v(){h&&!m&&(m=!0,xn((()=>{m=!1;let e=Math.min(g.current,g.length-1);e=Math.max(e,0),h.update(e*u.value,void 0,u.value)})))}Jn((()=>a.value),(e=>{e!==g.current&&(g.current=e,v())})),Jn((()=>g.current),(e=>a.value=e)),Jn([()=>u.value,()=>g.length,()=>c.height],v);let y=0;function _(e){const t=y+e.deltaY;if(Math.abs(t)>10){y=0;let e=Math.min(g.current+(t<0?-1:1),g.length-1);g.current=e=Math.max(e,0),h.scrollTo(e*u.value)}else y=t;e.preventDefault()}function b({clientY:e}){const t=o.value;if(!h.isScrolling()){const n=e-t.getBoundingClientRect().top-c.height/2,o=u.value/2;if(!(Math.abs(n)<=o)){const e=Math.ceil((Math.abs(n)-o)/u.value),t=n<0?-e:e;let i=Math.min(g.current+t,g.length-1);g.current=i=Math.max(i,0),h.scrollTo(i*u.value)}}}const w=()=>{const e=o.value,t=i.value,{scroller:n,handleTouchStart:r,handleTouchMove:s,handleTouchEnd:a}=function(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new Md(e,t);function i(e){const t=e,o=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:o.screenX-n.x,y:o.screenY-n.y}}return{scroller:o,handleTouchStart:function(e){const t=e,i=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=i.screenX,n.y=i.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||i.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,o=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const r=i(e);if(r){for(n.maxDy=Math.max(n.maxDy,Math.abs(r.y)),n.maxDx=Math.max(n.maxDx,Math.abs(r.x)),n.historyX.push(r.x),n.historyY.push(r.y),n.historyTime.push(t.detail.timeStamp||o.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(r.x,r.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=i(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const o={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,i=n.historyTime[t],r=n.historyX[t],s=n.historyY[t];t>0;){t--;const e=i-n.historyTime[t];if(e>30&&e<50){o.x=(r-n.historyX[t])/(e/1e3),o.y=(s-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new Sd(1e-4),spring:new kd(2,90,20),onSnap:e=>{isNaN(e)||e===g.current||(g.current=e)}});h=n,ad(e,(e=>{switch(e.detail.state){case"start":r(e);break;case"move":s(e),e.stopPropagation();break;case"end":case"cancel":a(e)}}),!0),function(e){let t=0,n=0;e.addEventListener("touchstart",(e=>{const o=e.changedTouches[0];t=o.clientX,n=o.clientY})),e.addEventListener("touchend",(e=>{const o=e.changedTouches[0];if(Math.abs(o.clientX-t)<20&&Math.abs(o.clientY-n)<20){const t={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},n=new CustomEvent("click",t);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach((e=>{n[e]=o[e]})),e.target.dispatchEvent(n)}}))}(e),v()};return Eo(w),()=>{const e=t.default&&t.default();g.length=td(e).length;const n=`${f.value}px 0`;return qi("uni-picker-view-column",{ref:o},[qi("div",{onWheel:_,onClick:b,class:"uni-picker-view-group"},[qi("div",Qi(p.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${f.value}px;${l.maskStyle}`}),null,16),qi("div",Qi(p.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[qi(xu,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),qi("div",{ref:i,class:["uni-picker-view-content"],style:{padding:n,"--picker-view-column-indicator-height":`${u.value}px`}},[e],4)],40,["onWheel","onClick"])],512)}}}),Ld=al({name:"Refresher",props:{refreshState:{type:String,default:""},refresherHeight:{type:Number,default:0},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"}},setup(e,{slots:t}){const n=nn(null),o=gr((()=>{const t={backgroundColor:e.refresherBackground};switch(e.refreshState){case"pulling":t.height=e.refresherHeight+"px";break;case"refreshing":t.height=e.refresherThreshold+"px",t.transition="height 0.3s";break;case"":case"refresherabort":case"restore":t.height="0px",t.transition="height 0.3s"}return t})),i=gr((()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)}));return()=>{const{refreshState:r,refresherDefaultStyle:s,refresherThreshold:a}=e;return qi("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==s?qi("div",{class:"uni-scroll-view-refresh"},[qi("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==r?qi("svg",{key:"refresh__icon",style:{transform:"rotate("+i.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[qi("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null),qi("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==r?qi("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[qi("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?qi("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),Ad=ve(!0),$d=al({name:"ScrollView",compatConfig:{MODE:3},props:{direction:{type:[String],default:"vertical"},scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},showScrollbar:{type:[Boolean,String],default:!0},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},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:o}){const i=nn(null),r=nn(null),s=nn(null),a=nn(null),l=ul(i,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=gr((()=>Number(e.scrollTop)||0)),n=gr((()=>Number(e.scrollLeft)||0));return{state:Ft({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:f,realScrollY:p,_scrollLeftChanged:h,_scrollTopChanged:g}=function(e,t,n,o,i,r,s,a,l){let c=!1,u=0,d=!1,f=()=>{};const p=gr((()=>e.scrollX)),h=gr((()=>e.scrollY)),g=gr((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),m=gr((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function v(e,t){const n=s.value;let o=0,i="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let r=a.value;r.style.transition="transform .3s ease-out",r.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?i="translateX("+o+"px) translateZ(0)":"y"===t&&(i="translateY("+o+"px) translateZ(0)"),r.removeEventListener("transitionend",f),r.removeEventListener("webkitTransitionEnd",f),f=()=>x(e,t),r.addEventListener("transitionend",f),r.addEventListener("webkitTransitionEnd",f),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),r.style.transform=i,r.style.webkitTransform=i}function y(e){const n=e.target;i("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),h.value&&(n.scrollTop<=g.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(i("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+m.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(i("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),p.value&&(n.scrollLeft<=g.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(i("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+m.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(i("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function _(t){h.value&&(e.scrollWithAnimation?v(t,"y"):s.value.scrollTop=t)}function b(t){p.value&&(e.scrollWithAnimation?v(t,"x"):s.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=r.value.querySelector("#"+t);if(n){let t=s.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(p.value){let n=o.left-t.left,i=s.value.scrollLeft+n;e.scrollWithAnimation?v(i,"x"):s.value.scrollLeft=i}if(h.value){let n=o.top-t.top,i=s.value.scrollTop+n;e.scrollWithAnimation?v(i,"y"):s.value.scrollTop=i}}}}function x(e,t){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let n=s.value;"x"===t?(n.style.overflowX=p.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=h.value?"auto":"hidden",n.scrollTop=e),a.value.removeEventListener("transitionend",f),a.value.removeEventListener("webkitTransitionEnd",f)}function S(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,i("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),i("refresherrefresh",{},{dy:C.y-T.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,i("refresherrestore",{},{dy:C.y-T.y})),"refresherabort"===n&&d&&(d=!1,i("refresherabort",{},{dy:C.y-T.y}))}t.refreshState=n}}let T={x:0,y:0},C={x:0,y:e.refresherThreshold};return Eo((()=>{xn((()=>{_(n.value),b(o.value)})),w(e.scrollIntoView);let r=function(e){e.preventDefault(),e.stopPropagation(),y(e)},a=null,l=function(n){if(null===T)return;let o=n.touches[0].pageX,r=n.touches[0].pageY,l=s.value;if(Math.abs(o-T.x)>Math.abs(r-T.y))if(p.value){if(0===l.scrollLeft&&o>T.x)return void(a=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&oT.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&r0&&(d=!0,i("refresherpulling",n,{deltaY:o,dy:o})))}},f=function(e){1===e.touches.length&&(T={x:e.touches[0].pageX,y:e.touches[0].pageY})},g=function(n){C={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?S("refreshing"):S("refresherabort"),T={x:0,y:0},C={x:0,y:e.refresherThreshold}};s.value.addEventListener("touchstart",f,Ad),s.value.addEventListener("touchmove",l,ve(!1)),s.value.addEventListener("scroll",r,ve(!1)),s.value.addEventListener("touchend",g,Ad),Lo((()=>{s.value.removeEventListener("touchstart",f),s.value.removeEventListener("touchmove",l),s.value.removeEventListener("scroll",r),s.value.removeEventListener("touchend",g)}))})),bo((()=>{h.value&&(s.value.scrollTop=t.lastScrollTop),p.value&&(s.value.scrollLeft=t.lastScrollLeft)})),Jn(n,(e=>{_(e)})),Jn(o,(e=>{b(e)})),Jn((()=>e.scrollIntoView),(e=>{w(e)})),Jn((()=>e.refresherTriggered),(e=>{!0===e?S("refreshing"):!1===e&&S("restore")})),{realScrollX:p,realScrollY:h,_scrollTopChanged:_,_scrollLeftChanged:b}}(e,c,u,d,l,i,r,a,t),m=gr((()=>{let e="";return f.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",p.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),v=gr((()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t}));return o({$getMain:()=>r.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:f}=c;return qi("uni-scroll-view",{ref:i},[qi("div",{ref:s,class:"uni-scroll-view"},[qi("div",{ref:r,style:m.value,class:v.value},[t?qi(Ld,{refreshState:f,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,qi("div",{ref:a,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});function Pd(e,t,n,o,i,r){function s(){c&&(clearTimeout(c),c=null)}let a,l,c=null,u=!0,d=0,f=1,p=null,h=!1,g=0,m="";const v=gr((()=>n.value.length>t.displayMultipleItems)),y=gr((()=>e.circular&&v.value));function _(i){Math.floor(2*d)===Math.floor(2*i)&&Math.ceil(2*d)===Math.ceil(2*i)||y.value&&function(o){if(!u)for(let i=n.value,r=i.length,s=o+t.displayMultipleItems,a=0;a=c.length&&(i-=c.length),i=a%1>.5||a<0?i-1:i,r("transition",{},{dx:e.vertical?0:i*l.offsetWidth,dy:e.vertical?i*l.offsetHeight:0})}function b(e){const o=n.value.length;if(!o)return-1;const i=(Math.round(e)%o+o)%o;if(y.value){if(o<=t.displayMultipleItems)return 0}else if(i>o-t.displayMultipleItems)return o-t.displayMultipleItems;return i}function w(){p=null}function x(){if(!p)return void(h=!1);const e=p,o=e.toPos,i=e.acc,s=e.endTime,c=e.source,u=s-Date.now();if(u<=0){_(o),p=null,h=!1,a=null;const e=n.value[t.current];if(e){const n=e.getItemId();r("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}_(o+i*u*u/2),l=requestAnimationFrame(x)}function S(e,o,i){w();const r=t.duration,s=n.value.length;let a=d;if(y.value)if(i<0){for(;ae;)a-=s}else if(i>0){for(;a>e;)a-=s;for(;a+se;)a-=s;a+s-ee.current,()=>e.currentItemId,()=>[...n.value]],(()=>{let o=-1;if(e.currentItemId)for(let t=0,i=n.value;te.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){s(),p&&(_(p.toPos),p=null);const i=n.value;for(let t=0;t0&&f<1||(f=1)}const a=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(_(a+l-g),g=l):(_(l),e.autoplay&&T())):(u=!0,_(-t.displayMultipleItems-1))})),Jn((()=>t.interval),(()=>{c&&(s(),T())})),Jn((()=>t.current),((e,o)=>{!function(e,o){const i=m;m="";const s=n.value;if(!i){const t=s.length;S(e,"",y.value&&o+(t-e)%t>t/2?1:0)}const a=s[e];if(a){const e=t.currentItemId=a.getItemId();r("change",{},{current:t.current,currentItemId:e,source:i})}}(e,o),i("update:current",e)})),Jn((()=>t.currentItemId),(e=>{i("update:currentItemId",e)})),Jn((()=>e.autoplay&&!t.userTracking),C),C(e.autoplay&&!t.userTracking),Eo((()=>{let i=!1,r=0,a=0;function l(e){t.userTracking=!1;const n=r/Math.abs(r);let o=0;!e&&Math.abs(r)>.2&&(o=.5*n);const i=b(d+o);e?_(g):(m="touch",t.current=i,S(i,"touch",0!==o?o:0===i&&y.value&&d>=1?1:0))}ad(o.value,(c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,i=!1,s(),g=d,r=0,a=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!i){i=!0;const n=Math.abs(c.detail.dx),o=Math.abs(c.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&T())}return function(i){const s=a;a=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=g+e;r=.6*r+.4*t,y.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),r=0),_(n)}const d=a-s||1,f=o.value;e.vertical?u(-i.dy/f.offsetHeight,-i.ddy/d):u(-i.dx/f.offsetWidth,-i.ddx/d)}(c.detail),!1}}}))})),Ao((()=>{s(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){S(t.current=e,m="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const Nd=al({name:"Swiper",props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=nn(null),i=ul(o,n),r=nn(null),s=nn(null),a=function(e){return Ft({interval:gr((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:gr((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:gr((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=gr((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:ma(e.previousMargin,!0),bottom:ma(e.nextMargin,!0)}:{top:0,bottom:0,left:ma(e.previousMargin,!0),right:ma(e.nextMargin,!0)}),t})),c=gr((()=>{const t=Math.abs(100/a.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],f=nn([]);function p(){const e=[];for(let t=0;tn===e.rootRef.value));o&&e.push(Kt(o))}f.value=e}si("addSwiperContext",(function(e){d.push(e),p()}));si("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())}));const{onSwiperDotClick:h,circularEnabled:g,swiperEnabled:m}=Pd(e,a,f,s,n,i);let v=()=>null;return v=Id(o,e,a,h,f,g,m),()=>{const n=t.default&&t.default();return u=td(n),qi("uni-swiper",{ref:o},[qi("div",{ref:r,class:"uni-swiper-wrapper"},[qi("div",{class:"uni-swiper-slides",style:l.value},[qi("div",{ref:s,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&qi("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[f.value.map(((t,n,o)=>qi("div",{onClick:()=>h(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n=a.current||n{let a=!1,c=!1,u=!1,d=nn(!1);function f(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}Un((()=>{a="auto"===t.navigation,d.value=!0!==t.navigation||a,_()})),Un((()=>{const e=i.value.length,t=!r.value;c=0===n.current&&t,u=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,s.value||(c=!0,u=!0,a&&(d.value=!0))}));const p={onMouseover:e=>f(e,"over"),onMouseout:e=>f(e,"out")};function h(e,t,s){if(e.stopPropagation(),s)return;const a=i.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&r.value&&(l=a-1);break;case"next":l++,l>=a&&r.value&&(l=0)}o(l)}const g=()=>ba("M21.781 7.844l-9.063 8.594 9.063 8.594q0.25 0.25 0.25 0.609t-0.25 0.578q-0.25 0.25-0.578 0.25t-0.578-0.25l-9.625-9.125q-0.156-0.125-0.203-0.297t-0.047-0.359q0-0.156 0.047-0.328t0.203-0.297l9.625-9.125q0.25-0.25 0.578-0.25t0.578 0.25q0.25 0.219 0.25 0.578t-0.25 0.578z",t.navigationColor,26);let m;const v=n=>{clearTimeout(m);const{clientX:o,clientY:i}=n,{left:r,right:s,top:a,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let f=!1;if(f=t.vertical?!(i-a{d.value=f}),300);d.value=f},y=()=>{d.value=!0};function _(){e.value&&(e.value.removeEventListener("mousemove",v),e.value.removeEventListener("mouseleave",y),a&&(e.value.addEventListener("mousemove",v),e.value.addEventListener("mouseleave",y)))}return Eo(_),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?qi(Mi,null,[qi("div",Qi({class:["uni-swiper-navigation uni-swiper-navigation-prev",l({"uni-swiper-navigation-disabled":c},e)],onClick:e=>h(e,"prev",c)},p),[g()],16,["onClick"]),qi("div",Qi({class:["uni-swiper-navigation uni-swiper-navigation-next",l({"uni-swiper-navigation-disabled":u},e)],onClick:e=>h(e,"next",u)},p),[g()],16,["onClick"])]):null}},Rd=al({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=nn(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",i=t?100*e+"%":"0",r=n.value,s=`translate(${o},${i}) translateZ(0)`;r&&(r.style.webkitTransform=s,r.style.transform=s)}};return Eo((()=>{const e=ai("addSwiperContext");e&&e(o)})),Ao((()=>{const e=ai("removeSwiperContext");e&&e(o)})),()=>qi("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),Dd={ensp:" ",emsp:" ",nbsp:" "};function Bd(e,t){return function(e,{space:t,decode:n}){let o="",i=!1;for(let r of e)t&&Dd[t]&&" "===r&&(r=Dd[t]),i?(o+="n"===r?"\n":"\\"===r?"\\":"\\"+r,i=!1):"\\"===r?i=!0:o+=r;return n?o.replace(/ /g,Dd.nbsp).replace(/ /g,Dd.ensp).replace(/ /g,Dd.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split("\n")}const jd=al({name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=nn(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Li){const n=Bd(t.children,{space:e.space,decode:e.decode}),i=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(Ui(e)),t!==i&&o.push(qi("br"))}))}else o.push(t)})),qi("uni-text",{ref:n,selectable:!!e.selectable||null},[qi("span",null,o)],8,["selectable"])}}}),Hd=al({name:"View",props:l({},dl),setup(e,{slots:t}){const n=nn(null),{hovering:o,binding:i}=fl(e);return()=>{const r=e.hoverClass;return r&&"none"!==r?qi("uni-view",Qi({class:o.value?r:"",ref:n},i),[Do(t,"default")],16):qi("uni-view",{ref:n},[Do(t,"default")],512)}}});function Fd(e,t,n,o){g(t)&&To(e,t.bind(n),o)}function Vd(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&("page"!==o||"component"!==t.renderer)&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!g(t))&&(ke.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const i=e[o];f(i)?i.forEach((e=>Fd(o,e,n,t))):Fd(o,i,n,t)}})),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,Oa(n,"onLoad",e),delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&Oa(n,"onShow")}catch(i){console.error(i.message+"\n"+i.stack)}}}function Wd(e,t,n){Vd(e,t,n)}function zd(e,t,n){return e[t]=n}function Yd(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function qd(e){const t=e.config.errorHandler;return function(n,o,i){t&&t(n,o,i);const r=e._instance;if(!r||!r.proxy)throw n;r.onError?Oa(r.proxy,"onError",n):fn(n,0,o&&o.$.vnode,!1)}}function Xd(e,t){return e?[...new Set([].concat(e,t))]:t}function Ud(e){const t=e.config;var n;t.errorHandler=Me(e,qd),n=t.optionMergeStrategies,ke.forEach((e=>{n[e]=Xd}));const o=t.globalProperties;o.$set=zd,o.$applyOptions=Wd,o.$callMethod=Yd,function(e){Ee.forEach((t=>t(e)))}(e)}const Kd={install(e){Ud(e),Ya(e),nl(e),e.config.warnHandler||(e.config.warnHandler=Jd)}};function Jd(e,t,n){if(t){if("PageMetaHead"===t.$.type.name)return;const e=t.$.parent;if(e&&"PageMeta"===e.type.name)return}const o=[`[Vue warn]: ${e}`];n.length&&o.push("\n",n),console.warn(...o)}const Gd={class:"uni-async-loading"},Zd=qi("i",{class:"uni-loading"},null,-1),Qd=ll({name:"AsyncLoading",render:()=>(Ni(),ji("div",Gd,[Zd]))});function ef(){window.location.reload()}const tf=ll({name:"AsyncError",props:["error"],setup(){$s();const{t:e}=Ls();return()=>qi("div",{class:"uni-async-error",onClick:ef},[e("uni.async.error")],8,["onClick"])}});let nf;function of(){return nf}function rf(e){nf=e,Object.defineProperty(nf.$.ctx,"$children",{get:()=>Yc().map((e=>e.$vm))});const t=nf.$.appContext.app;t.component(Qd.name)||t.component(Qd.name,Qd),t.component(tf.name)||t.component(tf.name,tf),function(e){e.$vm=e,e.$mpType="app";const t=nn(Ls().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(nf),function(e,t){const n=e.$options||{};n.globalData=l(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(nf),el(),Ia()}function sf(e,{clone:t,init:n,setup:o,before:i}){t&&(e=l({},e)),i&&i(e);const r=e.setup;return e.setup=(e,t)=>{const i=ir();if(n(i.proxy),o(i),r)return r(e,t)},e}function af(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?sf(e.default,t):sf(e,t)}function lf(e){return af(e,{clone:!0,init:Uc,setup(e){e.$pageInstance=e;const t=xl(),n=be(t.query);e.attrs.__pageQuery=n,Dc(e.proxy).options=n,e.proxy.options=n;const o=bl();var i,r;return Ic(),e.onReachBottom=Ft([]),e.onPageScroll=Ft([]),Jn([e.onReachBottom,e.onPageScroll],(()=>{const t=xa();e.proxy===t&&iu(e,o)}),{once:!0}),ko((()=>{Zc(e,o)})),Eo((()=>{Qc(e);const{onReady:n}=e;n&&P(n),ff(t)})),xo((()=>{if(!e.__isVisible){Zc(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&P(n),xn((()=>{ff(t)}))}}),"ba",i),function(e,t){xo(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&P(t)}}})),r=o.id,Dp.subscribe(Hs(r,"invokeViewApi"),Fs),Lo((()=>{!function(e){Dp.unsubscribe(Hs(e,"invokeViewApi")),Object.keys(js).forEach((t=>{0===t.indexOf(e+".")&&delete js[t]}))}(o.id)})),n}})}function cf(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Df(),i=90===Math.abs(Number(window.orientation))?"landscape":"portrait";Bp.emit("onResize",{deviceOrientation:i,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function uf(e){x(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&Bp.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function df(){const{emit:e}=Bp;"visible"===document.visibilityState?e("onAppEnterForeground",l({},wu)):e("onAppEnterBackground")}function ff(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&Oa("onTabItemTap",{index:n,text:t,pagePath:o})}let pf,hf=0;function gf(e,t,n,o){var i,r=document.createElement("script"),s=t.callback||"callback",a="__uni_jsonp_callback_"+hf++,l=t.timeout||3e4;function c(){clearTimeout(i),delete window[a],r.remove()}window[a]=e=>{g(n)&&n(e),c()},r.onerror=()=>{g(o)&&o(),c()},i=setTimeout((function(){g(o)&&o(),c()}),l),r.src=e+(e.indexOf("?")>=0?"&":"?")+s+"="+a,document.body.appendChild(r)}function mf(e){function t(){const e=this.div;this.getPanes().floatPane.appendChild(e)}function n(){const e=this.div.parentNode;e&&e.removeChild(this.div)}function o(){const t=this.option;this.Text=new e.Text({text:t.content,anchor:"bottom-center",offset:new e.Pixel(0,t.offsetY-16),style:{padding:(t.padding||8)+"px","line-height":(t.fontSize||14)+"px","border-radius":(t.borderRadius||0)+"px","border-color":`${t.bgColor||"#fff"} transparent transparent`,"background-color":t.bgColor||"#fff","box-shadow":"0 2px 6px 0 rgba(114, 124, 245, .5)","text-align":"center","font-size":(t.fontSize||14)+"px",color:t.color||"#000"},position:t.position});(e.event||e.Event).addListener(this.Text,"click",(()=>{this.callback()})),this.Text.setMap(t.map)}function i(){}function r(){this.Text&&this.option.map.remove(this.Text)}function s(){this.Text&&this.option.map.remove(this.Text)}class a{constructor(e={},a){this.createAMapText=o,this.removeAMapText=r,this.createBMapText=i,this.removeBMapText=s,this.onAdd=t,this.construct=t,this.onRemove=n,this.destroy=n,this.option=e||{};const l=this.visible=this.alwaysVisible="ALWAYS"===e.display;if(Tf())this.callback=a,this.visible&&this.createAMapText();else if(Cf())this.visible&&this.createBMapText();else{const t=e.map;this.position=e.position,this.index=1;const n=this.div=document.createElement("div"),o=n.style;o.position="absolute",o.whiteSpace="nowrap",o.transform="translateX(-50%) translateY(-100%)",o.zIndex="1",o.boxShadow=e.boxShadow||"none",o.display=l?"block":"none";const i=this.triangle=document.createElement("div");i.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(e),n.appendChild(i),t&&this.setMap(t)}}set onclick(e){this.div.onclick=e}get onclick(){return this.div.onclick}setOption(e){this.option=e,"ALWAYS"===e.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,Tf()?this.visible&&this.createAMapText():Cf()?this.visible&&this.createBMapText():(this.setPosition(e.position),this.setStyle(e))}setStyle(e){const t=this.div,n=t.style;t.innerText=e.content||"",n.lineHeight=(e.fontSize||14)+"px",n.fontSize=(e.fontSize||14)+"px",n.padding=(e.padding||8)+"px",n.color=e.color||"#000",n.borderRadius=(e.borderRadius||0)+"px",n.backgroundColor=e.bgColor||"#fff",n.marginTop="-"+((e.top||0)+5)+"px",this.triangle.style.borderColor=`${e.bgColor||"#fff"} transparent transparent`}setPosition(e){this.position=e,this.draw()}draw(){const e=this.getProjection();if(!this.position||!this.div||!e)return;const t=e.fromLatLngToDivPixel(this.position),n=this.div.style;n.left=t.x+"px",n.top=t.y+"px"}changed(){this.div.style.display=this.visible?"block":"none"}}if(!Tf()&&!Cf()){const t=new(e.OverlayView||e.Overlay);a.prototype.setMap=t.setMap,a.prototype.getMap=t.getMap,a.prototype.getPanes=t.getPanes,a.prototype.getProjection=t.getProjection,a.prototype.map_changed=t.map_changed,a.prototype.set=t.set,a.prototype.get=t.get,a.prototype.setOptions=t.setValues,a.prototype.bindTo=t.bindTo,a.prototype.bindsTo=t.bindsTo,a.prototype.notify=t.notify,a.prototype.setValues=t.setValues,a.prototype.unbind=t.unbind,a.prototype.unbindAll=t.unbindAll,a.prototype.addListener=t.addListener}return a}const vf={};function yf(e,t){const n=wf();if(!n.key)return void console.error("Map key not configured.");const o=vf[n.type]=vf[n.type]||[];if(pf)t(pf);else if(window[n.type]&&window[n.type].maps)pf=Tf()||Cf()?window[n.type]:window[n.type].maps,pf.Callout=pf.Callout||mf(pf),t(pf);else if(o.length)o.push(t);else{o.push(t);const i=window,r="__map_callback__"+n.type;i[r]=function(){delete i[r],pf=Tf()||Cf()?window[n.type]:window[n.type].maps,pf.Callout=mf(pf),o.forEach((e=>e(pf))),o.length=0},Tf()&&function(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}(n);const s=document.createElement("script");let a=_f(n.type);n.type===bf.QQ&&e.push("geometry"),e.length&&(a+=`libraries=${e.join("%2C")}&`),n.type===bf.BMAP?s.src=`${a}ak=${n.key}&callback=${r}`:s.src=`${a}key=${n.key}&callback=${r}`,s.onerror=function(){console.error("Map load failed.")},document.body.appendChild(s)}}const _f=e=>({qq:"https://map.qq.com/api/js?v=2.exp&",google:"https://maps.googleapis.com/maps/api/js?",AMap:"https://webapi.amap.com/maps?v=2.0&",BMapGL:"https://api.map.baidu.com/api?type=webgl&v=1.0&"}[e]);var bf=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.BMAP="BMapGL",e.UNKNOWN="",e))(bf||{});function wf(){return __uniConfig.bMapKey?{type:"BMapGL",key:__uniConfig.bMapKey}:__uniConfig.qqMapKey?{type:"qq",key:__uniConfig.qqMapKey}:__uniConfig.googleMapKey?{type:"google",key:__uniConfig.googleMapKey}:__uniConfig.aMapKey?{type:"AMap",key:__uniConfig.aMapKey,securityJsCode:__uniConfig.aMapSecurityJsCode,serviceHost:__uniConfig.aMapServiceHost}:{type:"",key:""}}let xf=!1,Sf=!1;const Tf=()=>Sf?xf:(Sf=!0,xf="AMap"===wf().type),Cf=()=>"BMapGL"===wf().type;const kf=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Ef;function Mf(){if(Ef=Ef||kf.__DC_STAT_UUID,!Ef){Ef=Date.now()+""+Math.floor(1e7*Math.random());try{kf.__DC_STAT_UUID=Ef}catch(e){}}return Ef}function Of(){if(!0!==__uniConfig.darkmode)return m(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Lf(){let e,t="0",n="",o="phone";const i=navigator.language;if(cu){e="iOS";const o=au.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const i=au.match(/\(([a-zA-Z]+);/);i&&(n=i[1])}else if(lu){e="Android";const o=au.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const i=au.match(/\((.+?)\)/),r=i?i[1].split(";"):au.split(" "),s=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)a="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n{const e=window.devicePixelRatio,t=hu(),n=gu(t),o=mu(t,n),i=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),r=vu(o);let s=window.innerHeight;const a=la.top,l={left:la.left,right:r-la.right,top:la.top,bottom:s-la.bottom,width:r-la.left-la.right,height:s-la.top-la.bottom},{top:c,bottom:u}=function(){const e=document.documentElement.style,t=fa(),n=da(e,"--window-bottom"),o=da(e,"--window-left"),i=da(e,"--window-right"),r=da(e,"--top-window-height");return{top:t,bottom:n?n+la.bottom:0,left:o?o+la.left:0,right:i?i+la.right:0,topWindowHeight:r||0}}();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:r,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:i,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:la.top,right:la.right,bottom:la.bottom,left:la.left},screenTop:i-s}}));let $f,Pf=!0;function Nf(){Pf&&($f=Lf())}const If=Ql(0,(()=>{Nf();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:i,system:r,deviceOrientation:s,deviceType:a,osname:c,osversion:u}=$f;return l({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:Mf(),deviceOrientation:s,deviceType:a,model:o,platform:i,system:r,osName:c?c.toLowerCase():void 0,osVersion:u})})),Rf=Ql(0,(()=>{Nf();const{theme:e,language:t,browserName:n,browserVersion:o}=$f;return l({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:gc?gc():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:"",uniPlatform:"web",isUniAppX:!1,uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion},{})})),Df=Ql(0,(()=>{Pf=!0,Nf(),Pf=!1;const e=Af(),t=If(),n=Rf();Pf=!0;const{ua:o,browserName:i,browserVersion:r,osname:s,osversion:a}=$f,c=l(e,t,n,{ua:o,browserName:i,browserVersion:r,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:s.toLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0});return delete c.screenTop,delete c.enableDebug,__uniConfig.darkmode||delete c.theme,function(e){let t={};return x(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(c)}));const Bf=Ql(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)}));function jf(e){const t=localStorage&&localStorage.getItem(e);if(!m(t))throw new Error("data not found");let n=t;try{const e=function(e){const t=["object","string","number","boolean","undefined"];try{const n=m(e)?JSON.parse(e):e,o=n.type;if(t.indexOf(o)>=0){const e=Object.keys(n);if(2===e.length&&"data"in n){if(typeof n.data===o)return n.data;if("object"===o&&/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{3}Z$/.test(n.data))return new Date(n.data)}else if(1===e.length)return""}}catch(n){}}(JSON.parse(t));void 0!==e&&(n=e)}catch(o){}return n}const Hf=Ql(0,(e=>{try{return jf(e)}catch(t){return""}})),Ff={image:{jpg:"jpeg",jpe:"jpeg",pbm:"x-portable-bitmap",pgm:"x-portable-graymap",pnm:"x-portable-anymap",ppm:"x-portable-pixmap",psd:"vnd.adobe.photoshop",pic:"x-pict",rgb:"x-rgb",svg:"svg+xml",svgz:"svg+xml",tif:"tiff",xif:"vnd.xiff",wbmp:"vnd.wap.wbmp",wdp:"vnd.ms-photo",xbm:"x-xbitmap",ico:"x-icon"},video:{"3g2":"3gpp2","3gp":"3gpp",avi:"x-msvideo",f4v:"x-f4v",flv:"x-flv",jpgm:"jpm",jpgv:"jpeg",m1v:"mpeg",m2v:"mpeg",mpe:"mpeg",mpg:"mpeg",mpg4:"mpeg",m4v:"x-m4v",mkv:"x-matroska",mov:"quicktime",qt:"quicktime",movie:"x-sgi-movie",mp4v:"mp4",ogv:"ogg",smv:"x-smv",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx"}};function Vf({count:e,sourceType:t,type:n,extension:o}){Ru();const i=document.createElement("input");return i.type="file",function(e,t){for(const n in t)e.style[n]=t[n]}(i,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),i.accept=o.map((e=>{if("all"!==n){const t=e.replace(".","");return`${n}/${Ff[n][t]||t}`}return function(){const e=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!(!e||"micromessenger"!==e[0])}()?".":0===e.indexOf(".")?e:`.${e}`})).join(","),e&&e>1&&(i.multiple=!0),"all"!==n&&t instanceof Array&&1===t.length&&"camera"===t[0]&&i.setAttribute("capture","camera"),i}let Wf=null;const zf=ec("chooseImage",(({count:e,sourceType:t,extension:n},{resolve:o,reject:i})=>{Is();const{t:r}=Ls();Wf&&(document.body.removeChild(Wf),Wf=null),Wf=Vf({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(Wf),Wf.addEventListener("cancel",(()=>{i("chooseImage:fail cancel")})),Wf.addEventListener("change",(function(t){const n=t.target,i=[];if(n&&n.files){const t=n.files.length;for(let o=0;o(r=r||_u(t),r)}),oe))},tempFiles:i})})),Wf.click(),Pu||console.warn(r("uni.chooseFile.notUserActivation"))}),0,_c),Yf={esc:["Esc","Escape"],enter:["Enter"]},qf=Object.keys(Yf);function Xf(){const e=nn(""),t=nn(!1),n=n=>{if(t.value)return;const o=qf.find((e=>-1!==Yf[e].indexOf(n.key)));o&&(e.value=o),xn((()=>e.value=""))};return Eo((()=>{document.addEventListener("keyup",n)})),Lo((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}function Uf(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),ds(go({setup:()=>()=>(Ni(),ji(e,t,null,16))}))}function Kf(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}let Jf=0,Gf="";function Zf(e){let t=Jf;Jf+=e?1:-1,Jf=Math.max(0,Jf),Jf>0?0===t&&(Gf=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=Gf,Gf="")}const Qf=ll({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=Ft({direction:"none"});let n=1,o=0,i=0,r=0,s=0;function a({detail:e}){n=e.scale}function l(e){const t=e.target.getBoundingClientRect();o=t.width,i=t.height}function c(e){const t=e.target.getBoundingClientRect();r=t.width,s=t.height,d(e)}function u(e){const a=n*o>r,l=n*i>s;t.direction=a&&l?"all":a?"horizontal":l?"vertical":"none",d(e)}function d(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return qi(nd,{style:n,onTouchstart:cl(c),onTouchmove:cl(d),onTouchend:cl(u)},{default:()=>[qi(gd,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:a},{default:()=>[qi("img",{src:e.src,style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",maxHeight:"100%",maxWidth:"100%"},onLoad:l},null,40,["src","onLoad"])]},8,["style","direction","inertia","scale","onScale"])]},8,["style","onTouchstart","onTouchmove","onTouchend"])}}});function ep(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const tp=ll({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){Eo((()=>Zf(!0))),Ao((()=>Zf(!1)));const n=nn(null),o=nn(ep(e));let i;function r(){i||xn((()=>{t("close")}))}function s(e){o.value=e.detail.current}Jn((()=>e.current),(()=>o.value=ep(e))),Eo((()=>{const e=n.value;let t=0,o=0;e.addEventListener("mousedown",(e=>{i=!1,t=e.clientX,o=e.clientY})),e.addEventListener("mouseup",(e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-o)>20)&&(i=!0)}))}));const a={position:"absolute","box-sizing":"border-box",top:"0",right:"0",width:"60px",height:"44px",padding:"6px","line-height":"32px","font-size":"26px",color:"white","text-align":"center",cursor:"pointer"};return()=>{let t;return qi("div",{ref:n,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:r},[qi(Nd,{navigation:"auto",current:o.value,onChange:s,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(i=t=e.urls.map((e=>qi(Rd,null,{default:()=>[qi(Qf,{src:e},null,8,["src"])]}))),"function"==typeof i||"[object Object]"===Object.prototype.toString.call(i)&&!Hi(i)?t:{default:()=>[t],_:1}),8,["current","onChange"]),qi("div",{style:a},[ba("M17.25 16.156l7.375-7.313q0.281-0.281 0.281-0.641t-0.281-0.641q-0.25-0.25-0.625-0.25t-0.625 0.25l-7.375 7.344-7.313-7.344q-0.25-0.25-0.625-0.25t-0.625 0.25q-0.281 0.25-0.281 0.625t0.281 0.625l7.313 7.344-7.375 7.344q-0.281 0.25-0.281 0.625t0.281 0.625q0.125 0.125 0.281 0.188t0.344 0.063q0.156 0 0.328-0.063t0.297-0.188l7.375-7.344 7.375 7.406q0.125 0.156 0.297 0.219t0.328 0.063q0.188 0 0.344-0.078t0.281-0.203q0.281-0.25 0.281-0.609t-0.281-0.641l-7.375-7.406z","#ffffff",26)],4)],8,["onClick"]);var i}}});let np,op=null;const ip=()=>{op=null,xn((()=>{null==np||np.unmount(),np=null}))},rp=ec("previewImage",((e,{resolve:t})=>{op?l(op,e):(op=Ft(e),xn((()=>{np=Uf(tp,op,ip),np.mount(Kf("u-a-p"))}))),t()}),0,bc),sp=Zl("request",(({url:e,data:t,header:n={},method:o,dataType:i,responseType:r,enableChunked:s,withCredentials:a,timeout:l=__uniConfig.networkTimeout.request},{resolve:c,reject:u})=>{let f=null;const p=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(m(t)||t instanceof ArrayBuffer)f=t;else if("json"===p)try{f=JSON.stringify(t)}catch(g){f=t.toString()}else if("urlencoded"===p){const e=[];for(const n in t)d(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));f=e.join("&")}else f=t.toString();let h;if(s){if(void 0===typeof window.fetch||void 0===typeof window.AbortController)throw new Error("fetch or AbortController is not supported in this environment");const t=new AbortController,s=t.signal;h=new lp(t);const d={method:o,headers:n,body:f,signal:s,credentials:a?"include":"same-origin"},p=setTimeout((function(){h.abort(),u("timeout",{errCode:5})}),l);d.signal.addEventListener("abort",(function(){clearTimeout(p),u("abort",{errCode:600003})})),window.fetch(e,d).then((e=>{const t=e.status,n=e.headers,o=e.body,s={};n.forEach(((e,t)=>{s[t]=e}));const a=ap(s);if(h._emitter.emit("headersReceived",{header:s,statusCode:t,cookies:a}),!o)return void c({data:"",statusCode:t,header:s,cookies:a});const l=o.getReader(),u=[],d=()=>{l.read().then((({done:e,value:n})=>{if(e){const e=function(e){const t=e.reduce(((e,t)=>e+t.byteLength),0),n=new Uint8Array(t);let o=0;for(const i of e)n.set(new Uint8Array(i),o),o+=i.byteLength;return n.buffer}(u);let n="text"===r?(new TextDecoder).decode(e):e;return"text"===r&&(n=up(n,r,i)),void c({data:n,statusCode:t,header:s,cookies:a})}const o=n;u.push(o),h._emitter.emit("chunkReceived",{data:o}),d()}))};d()}),(e=>{u(e,{errCode:5})}))}else{const t=new XMLHttpRequest;h=new lp(t),t.open(o,e);for(const e in n)d(n,e)&&t.setRequestHeader(e,n[e]);const s=setTimeout((function(){t.onload=t.onabort=t.onerror=null,h.abort(),u("timeout",{errCode:5})}),l);t.responseType=r,t.onload=function(){clearTimeout(s);const e=t.status;let n="text"===r?t.responseText:t.response;"text"===r&&(n=up(n,r,i)),c({data:n,statusCode:e,header:cp(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(s),u("abort",{errCode:600003})},t.onerror=function(){clearTimeout(s),u(void 0,{errCode:5})},t.withCredentials=a,t.send(f)}return h}),0,Tc),ap=e=>{let t=e["Set-Cookie"]||e["set-cookie"],n=[];if(!t)return[];"["===t[0]&&"]"===t[t.length-1]&&(t=t.slice(1,-1));const o=t.split(";");for(let i=0;i{t===e&&(this._requestOnHeadersReceiveCallbacks.delete(n),this._emitter.off("headersReceived",e))}));const t=this._requestOnHeadersReceiveCallbacks.get(e);t&&(this._requestOnHeadersReceiveCallbacks.delete(e),this._emitter.off("headersReceived",t))}onChunkReceived(e){return this._emitter.on("chunkReceived",e),this._requestOnChunkReceiveCallbackId++,this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId,e),this._requestOnChunkReceiveCallbackId}offChunkReceived(e){if(null==e)return void this._emitter.off("chunkReceived");if("function"==typeof e)return void this._requestOnChunkReceiveCallbacks.forEach(((t,n)=>{t===e&&(this._requestOnChunkReceiveCallbacks.delete(n),this._emitter.off("chunkReceived",e))}));const t=this._requestOnChunkReceiveCallbacks.get(e);t&&(this._requestOnChunkReceiveCallbacks.delete(e),this._emitter.off("chunkReceived",t))}}function cp(e){const t={};return e.split("\n").forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}function up(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(i){}return o}const dp=ec("getLocation",(({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:o},{resolve:i,reject:r})=>{const s=wf();new Promise(((e,i)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition((t=>e({coords:t.coords})),i,{enableHighAccuracy:o||t,timeout:n||1e5}):i(new Error("device nonsupport geolocation"))})).catch((e=>new Promise(((t,n)=>{s.type===bf.QQ?gf(`https://apis.map.qq.com/ws/location/v1/ip?output=jsonp&key=${s.key}`,{callback:"callback"},(e=>{if("result"in e&&e.result.location){const n=e.result.location;t({coords:{latitude:n.lat,longitude:n.lng},skip:!0})}else n(new Error(e.message||JSON.stringify(e)))}),(()=>n(new Error("network error")))):s.type===bf.GOOGLE?sp({method:"POST",url:`https://www.googleapis.com/geolocation/v1/geolocate?key=${s.key}`,success(e){const o=e.data;"location"in o?t({coords:{latitude:o.location.lat,longitude:o.location.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.error&&o.error.message||JSON.stringify(e)))},fail(){n(new Error("network error"))}}):s.type===bf.AMAP?yf([],(()=>{window.AMap.plugin("AMap.Geolocation",(()=>{new window.AMap.Geolocation({enableHighAccuracy:!0,timeout:1e4}).getCurrentPosition(((e,o)=>{"complete"===e?t({coords:{latitude:o.position.lat,longitude:o.position.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.message))}))}))})):n(e)})))).then((({coords:t,skip:n})=>{(function(e,t,n){const o=wf();return e&&"WGS84"===e.toUpperCase()||["google"].includes(o.type)||n?Promise.resolve(t):"qq"===o.type?new Promise((e=>{gf(`https://apis.map.qq.com/ws/coord/v1/translate?type=1&locations=${t.latitude},${t.longitude}&key=${o.key}&output=jsonp`,{callback:"callback"},(n=>{if("locations"in n&&n.locations.length){const{lng:o,lat:i}=n.locations[0];e({longitude:o,latitude:i,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)}),(()=>e(t)))})):"AMap"===o.type?new Promise((e=>{yf([],(()=>{window.AMap.convertFrom([t.longitude,t.latitude],"gps",((n,o)=>{if("ok"===o.info&&o.locations.length){const{lat:n,lng:i}=o.locations[0];e({longitude:i,latitude:n,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)}))}))})):Promise.reject(new Error("translate coordinate system faild, map provider not configured or not supported"))})(e,t,n).then((e=>{i({latitude:e.latitude,longitude:e.longitude,accuracy:e.accuracy,speed:e.altitude||0,altitude:e.altitude||0,verticalAccuracy:e.altitudeAccuracy||0,horizontalAccuracy:e.accuracy||0})})).catch((e=>{r(e.message)}))})).catch((e=>{r(e.message||JSON.stringify(e))}))}),0,yc);const fp={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==kc.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},pp={light:"#fff",dark:"rgba(255,255,255,0.9)"},hp=e=>pp[e],gp=go({name:"Toast",props:fp,setup(e){Ps(),Ns();const{Icon:t}=function(e){const t=nn(hp(Of())),n=({theme:e})=>t.value=hp(e);Un((()=>{var t;e.visible?(t=n,__uniConfig.darkmode&&Bp.on("onThemeChange",t)):function(e){Bp.off("onThemeChange",e)}(n)}));return{Icon:gr((()=>{switch(e.icon){case"success":return qi(ba(ya,t.value,38),{class:"uni-toast__icon"});case"error":return qi(ba(_a,t.value,38),{class:"uni-toast__icon"});case"loading":return qi("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=function(e,{onEsc:t,onEnter:n}){const o=nn(e.visible),{key:i,disable:r}=Xf();return Jn((()=>e.visible),(e=>o.value=e)),Jn((()=>o.value),(e=>r.value=!e)),Un((()=>{const{value:e}=i;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}(e,{});return()=>{const{mask:o,duration:i,title:r,image:s}=e;return qi(xr,{name:"uni-fade"},{default:()=>[to(qi("uni-toast",{"data-duration":i},[o?qi("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:ca},null,40,["onTouchmove"]):"",s||t.value?qi("div",{class:"uni-toast"},[s?qi("img",{src:s,class:"uni-toast__icon"},null,10,["src"]):t.value,qi("p",{class:"uni-toast__content"},[r])]):qi("div",{class:"uni-sample-toast"},[qi("p",{class:"uni-simple-toast__text"},[r])])],8,["data-duration"]),[[Rr,n.value]])]})}}});let mp,vp,yp="";const _p=De();function bp(e){mp?l(mp,e):(mp=Ft(l(e,{visible:!1})),xn((()=>{_p.run((()=>{Jn([()=>mp.visible,()=>mp.duration],(([e,t])=>{if(e){if(vp&&clearTimeout(vp),"onShowLoading"===yp)return;vp=setTimeout((()=>{Cp("onHideToast")}),t)}else vp&&clearTimeout(vp)}))})),Bp.on("onHidePopup",(()=>Cp("onHidePopup"))),Uf(gp,mp,(()=>{})).mount(Kf("u-a-t"))}))),setTimeout((()=>{mp.visible=!0}),10)}const wp=ec("showToast",((e,{resolve:t,reject:n})=>{bp(e),yp="onShowToast",t()}),0,Ec),xp={icon:"loading",duration:1e8,image:""},Sp=ec("showLoading",((e,{resolve:t,reject:n})=>{l(e,xp),bp(e),yp="onShowLoading",t()}),0,Cc),Tp=ec("hideLoading",((e,{resolve:t,reject:n})=>{Cp("onHideLoading"),t()}));function Cp(e){const{t:t}=Ls();if(!yp)return;let n="";if("onHideToast"===e&&"onShowToast"!==yp?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==yp&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);yp="",setTimeout((()=>{mp.visible=!1}),10)}function kp(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,Bp.emit("onNavigationBarChange",{titleText:t})}Un(t),bo(t)}const Ep=ll({name:"Layout",setup(e,{emit:t}){const n=nn(null);pa({"--status-bar-height":"0px","--top-window-height":"0px","--window-left":"0px","--window-right":"0px","--window-margin":"0px","--tab-bar-height":"0px"});const{layoutState:o,windowState:i}=function(){xl();{const e=Ft({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Jn((()=>e.marginWidth),(e=>pa({"--window-margin":e+"px"}))),Jn((()=>e.leftWindowWidth+e.marginWidth),(e=>{pa({"--window-left":e+"px"})})),Jn((()=>e.rightWindowWidth+e.marginWidth),(e=>{pa({"--window-right":e+"px"})})),{layoutState:e,windowState:gr((()=>({})))}}}();!function(e,t){const n=xl();function o(){const o=document.body.clientWidth,i=Yc();let r={};if(i.length>0){r=Dc(i[i.length-1]).meta}else{const e=function(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}(n.path,!0);e&&(r=e.meta)}const s=parseInt(String((d(r,"maxWidth")?r.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,xn((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,xn((()=>{const e=t.value;e&&e.removeAttribute("style")})))}Jn([()=>n.path],o),Eo((()=>{o(),window.addEventListener("resize",o)}))}(o,n);const r=function(e){const t=nn(!1);return gr((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(!1);return()=>{const e=qi(__uniRoutes[0].component);return qi("uni-app",{ref:n,class:r.value},[e,!1],2)}}});function Mp(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!Hi(e)}function Op(e){if(e.mode===$p.TIME)return"00:00";if(e.mode===$p.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case Pp.YEAR:return t.toString();case Pp.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function Lp(e){if(e.mode===$p.TIME)return"23:59";if(e.mode===$p.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case Pp.YEAR:return t.toString();case Pp.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function Ap(e,t,n,o){const i=e.mode===$p.DATE?"-":":",r=e.mode===$p.DATE?t.dateArray:t.timeArray;let s;if(e.mode===$p.TIME)s=2;else switch(e.fields){case Pp.YEAR:s=1;break;case Pp.MONTH:s=2;break;default:s=3}const a=String(n).split(i);let l=[];for(let c=0;c=0&&(l=o?Ap(e,t,o):l.map((()=>0))),l}const $p={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},Pp={YEAR:"year",MONTH:"month",DAY:"day"},Np={PICKER:"picker",SELECT:"select"},Ip=al({name:"Picker",compatConfig:{MODE:3},props:{name:{type:String,default:""},range:{type:Array,default:()=>[]},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:$p.SELECTOR,validator:e=>Object.values($p).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>Op(e)},end:{type:String,default:e=>Lp(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){Rs();const{t:o}=Ls(),i=nn(null),r=nn(null),s=nn(null),a=nn(null),c=nn(!1),{state:u,rangeArray:d}=function(e){const t=Ft({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=gr((()=>{let n=e.range;switch(e.mode){case $p.SELECTOR:return[n];case $p.MULTISELECTOR:return n;case $p.TIME:return t.timeArray;case $p.DATE:{const n=t.dateArray;switch(e.fields){case Pp.YEAR:return[n[0]];case Pp.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]}));return{state:t,rangeArray:n}}(e),p=ul(i,t),{system:h,selectorTypeComputed:g,_show:m,_l10nColumn:v,_l10nItem:y,_input:_,_fixInputPosition:b,_pickerViewChange:w,_cancel:x,_change:S,_resetFormData:T,_getFormData:C,_createTime:k,_createDate:E,_setValueSync:M}=function(e,t,n,o,i,r,s){const a=function(){const e=nn(!1);return e.value=(()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0)(),e}(),l=function(){const e=nn("");return e.value=(()=>{if(/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""})(),e}(),c=gr((()=>{const t=e.selectorType;return Object.values(Np).includes(t)?t:a.value?Np.PICKER:Np.SELECT})),u=gr((()=>e.mode===$p.DATE&&!Object.values(Pp).includes(e.fields)&&t.isDesktop?l.value:"")),d=gr((()=>Ap(e,t,e.start,Op(e)))),p=gr((()=>Ap(e,t,e.end,Lp(e))));function h(n){if(e.disabled)return;t.valueChangeSource="";let o=i.value,r=n.currentTarget;o.remove(),(document.querySelector("uni-app")||document.body).appendChild(o),o.style.display="block";const s=r.getBoundingClientRect();t.popover={top:s.top,left:s.left,width:s.width,height:s.height},setTimeout((()=>{t.visible=!0}),20)}function g(){return{value:t.valueSync,key:e.name}}function m(){switch(e.mode){case $p.SELECTOR:t.valueSync=0;break;case $p.MULTISELECTOR:t.valueSync=e.value.map((e=>0));break;case $p.DATE:case $p.TIME:t.valueSync=""}}function v(){let e=[],n=[];for(let t=0;t<24;t++)e.push((t<10?"0":"")+t);for(let t=0;t<60;t++)n.push((t<10?"0":"")+t);t.timeArray.push(e,n)}function y(){let t=(new Date).getFullYear(),n=t-150,o=t+150;if(e.start){const t=new Date(e.start).getFullYear();!isNaN(t)&&to&&(o=t)}return{start:n,end:o}}function _(){let e=[];const n=y();for(let t=n.start,r=n.end;t<=r;t++)e.push(String(t));let o=[];for(let t=1;t<=12;t++)o.push((t<10?"0":"")+t);let i=[];for(let t=1;t<=31;t++)i.push((t<10?"0":"")+t);t.dateArray.push(e,o,i)}function b(e){return 60*e[0]+e[1]}function w(e){const t=31;return e[0]*t*12+(e[1]||0)*t+(e[2]||0)}function x(e,t){for(let n=0;na?0:s)}}break;case $p.TIME:case $p.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function T(){let n,o=t.valueSync;switch(e.mode){case $p.MULTISELECTOR:n=[...o];break;case $p.TIME:n=Ap(e,t,o,se({mode:$p.TIME}));break;case $p.DATE:n=Ap(e,t,o,se({mode:$p.DATE}));break;default:n=[o]}t.oldValueArray=[...n],t.valueArray=[...n]}function C(){let n=t.valueArray;switch(e.mode){case $p.SELECTOR:return n[0];case $p.MULTISELECTOR:return n.map((e=>e));case $p.TIME:return t.valueArray.map(((e,n)=>t.timeArray[n][e])).join(":");case $p.DATE:return t.valueArray.map(((e,n)=>t.dateArray[n][e])).join("-")}}function k(){M(),t.valueChangeSource="click";const e=C();t.valueSync=f(e)?e.map((e=>e)):e,n("change",{},{value:e})}function E(e){if("firefox"===u.value&&e){const{top:n,left:o,width:i,height:r}=t.popover,{pageX:s,pageY:a}=e;if(s>o&&sn&&a{let e=i.value;e.remove(),o.value.prepend(e),e.style.display="none"}),260)}function O(){e.mode===$p.SELECTOR&&c.value===Np.SELECT&&(r.value.scrollTop=34*t.valueArray[0])}function L(e){const n=e.target;t.valueSync=n.value,xn((()=>{k()}))}function A(e){if("chrome"===u.value){const t=o.value.getBoundingClientRect(),n=32;s.value.style.left=e.clientX-t.left-1.5*n+"px",s.value.style.top=e.clientY-t.top-.5*n+"px"}}function $(e){t.valueArray=P(e.detail.value,!0)}function P(t,n){const{getLocale:o}=Ls();if(e.mode===$p.DATE){const i=o();if(!i.startsWith("zh"))switch(e.fields){case Pp.YEAR:return t;case Pp.MONTH:return[t[1],t[0]];default:switch(i){case"es":case"fr":return[t[2],t[1],t[0]];default:return n?[t[2],t[0],t[1]]:[t[1],t[2],t[0]]}}}return t}function N(t,n){const{getLocale:o}=Ls();if(e.mode===$p.DATE){const i=o();if(i.startsWith("zh")){return t+["年","月","日"][n]}if(e.fields!==Pp.YEAR&&n===(e.fields===Pp.MONTH||"es"!==i&&"fr"!==i?0:1)){let e;switch(i){case"es":e=["enero","febrero","marzo","abril","mayo","junio","​​julio","agosto","septiembre","octubre","noviembre","diciembre"];break;case"fr":e=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"];break;default:e=["January","February","March","April","May","June","July","August","September","October","November","December"]}return e[Number(t)-1]}}return t}return Jn((()=>t.visible),(e=>{e?(clearTimeout(Rp),t.contentVisible=e,O()):Rp=setTimeout((()=>{t.contentVisible=e}),300)})),Jn([()=>e.mode,()=>e.value,()=>e.range],S,{deep:!0}),Jn((()=>t.valueSync),T,{deep:!0}),Jn((()=>t.valueArray),(o=>{if(e.mode===$p.TIME||e.mode===$p.DATE){const n=e.mode===$p.TIME?b:w,o=t.valueArray,i=d.value,r=p.value;if(e.mode===$p.DATE){const e=t.dateArray,n=e[2].length,i=Number(e[2][o[2]])||1,r=new Date(`${e[0][o[0]]}/${e[1][o[1]]}/${i}`).getDate();rn(r)&&x(o,r)}o.forEach(((o,i)=>{o!==t.oldValueArray[i]&&(t.oldValueArray[i]=o,e.mode===$p.MULTISELECTOR&&n("columnchange",{},{column:i,value:o}))}))})),{selectorTypeComputed:c,system:u,_show:h,_cancel:E,_change:k,_l10nColumn:P,_l10nItem:N,_input:L,_resetFormData:m,_getFormData:g,_createTime:v,_createDate:_,_setValueSync:S,_fixInputPosition:A,_pickerViewChange:$}}(e,u,p,i,r,s,a);!function(e,t,n){const{key:o,disable:i}=Xf();Un((()=>{i.value=!e.visible})),Jn(o,(e=>{"esc"===e?t():"enter"===e&&n()}))}(u,x,S),function(e,t){const n=ai(hl,!1);if(n){const o={reset:e,submit:()=>{const e=["",null],{key:n,value:o}=t();return""!==n&&(e[0]=n,e[1]=o),e}};n.addField(o),Lo((()=>{n.removeField(o)}))}}(T,C),k(),E(),M();const O=function(e){const t=nn(0),n=nn(0),o=gr((()=>t.value>=500&&n.value>=500)),i=gr((()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},i=t.content,r=t.triangle,s=e.popover;function a(e){return Number(e)||0}if(o.value&&s){l(r,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});const e=a(s.left),t=a(s.width?s.width:300),o=a(s.top),c=a(s.height),u=e+t/2;i.transform="none !important";const d=Math.max(0,u-t/2);i.left=`${d}px`,s.width&&(i.width=`${t}px`);let f=Math.max(12,u-d);f=Math.min(t-12,f),r.left=`${f}px`;const p=n.value/2;o+c-p>p-o?(i.top="auto",i.bottom=n.value-o+6+"px",r.bottom="-6px",r["border-width"]="6px 6px 0 6px",r["border-color"]="#fcfcfd transparent transparent transparent"):(i.top=`${o+c+6}px`,r.top="-6px",r["border-width"]="0 6px 6px 6px",r["border-color"]="transparent transparent #fcfcfd transparent")}return t}));return Eo((()=>{const e=()=>{const{windowWidth:e,windowHeight:o,windowTop:i}=Df();t.value=e,n.value=o+(i||0)};window.addEventListener("resize",e),e(),Ao((()=>{window.removeEventListener("resize",e)}))})),{isDesktop:o,popupStyle:i}}(u);return Un((()=>{u.isDesktop=O.isDesktop.value,u.popupStyle=O.popupStyle.value})),Lo((()=>{r.value&&r.value.remove()})),Eo((()=>{c.value=!0})),()=>{let t;const{visible:l,contentVisible:f,valueArray:p,popupStyle:T,valueSync:C}=u,{rangeKey:k,mode:E,start:M,end:O}=e,L=pl(e,"disabled");return qi("uni-picker",Qi({ref:i},L,{onClick:cl(m)}),[c.value?qi("div",{ref:r,class:["uni-picker-container",`uni-${E}-${g.value}`],onWheel:ca,onTouchmove:ca},[qi(xr,{name:"uni-fade"},{default:()=>[to(qi("div",{class:"uni-mask uni-picker-mask",onClick:cl(x),onMousemove:b},null,40,["onClick","onMousemove"]),[[Rr,l]])]}),h.value?null:qi("div",{class:[{"uni-picker-toggle":l},"uni-picker-custom"],style:T.content},[qi("div",{class:"uni-picker-header",onClick:ua},[qi("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:cl(x)},[o("uni.picker.cancel")],8,["onClick"]),qi("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:S},[o("uni.picker.done")],8,["onClick"])],8,["onClick"]),f?qi(xd,{value:v(p),class:"uni-picker-content",onChange:w},Mp(t=Ro(v(d.value),((e,t)=>{let n;return qi(Od,{key:t},Mp(n=Ro(e,((e,n)=>qi("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[k]||"":y(e,t)]))))?n:{default:()=>[n],_:1})})))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,qi("div",{ref:s,class:"uni-picker-select",onWheel:ua,onTouchmove:ua},[Ro(d.value[0],((e,t)=>qi("div",{key:t,class:["uni-picker-item",{selected:p[0]===t}],onClick:()=>{p[0]=t,S()}},["object"==typeof e?e[k]||"":e],10,["onClick"])))],40,["onWheel","onTouchmove"]),qi("div",{style:T.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,qi("div",null,[n.default&&n.default()]),h.value?qi("div",{class:"uni-picker-system",onMousemove:cl(b)},[qi("input",{class:["uni-picker-system_input",h.value],ref:a,value:C,type:E,tabindex:"-1",min:M,max:O,onChange:e=>{_(e),ua(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});let Rp;const Dp=l(Vs,{publishHandler(e,t,n){Bp.subscribeHandler(e,t,n)}}),Bp=l(Ua,{publishHandler(e,t,n){Dp.subscribeHandler(e,t,n)}}),jp=ll({name:"PageBody",setup(e,t){const n=nn(null),o=nn(null);return Jn((()=>false.enablePullDownRefresh),(()=>{o.value=null}),{immediate:!0}),()=>qi(Mi,null,[!1,qi("uni-page-wrapper",Qi({ref:n},o.value),[qi("uni-page-body",null,[Do(t.slots,"default")]),null],16)])}}),Hp=ll({name:"Page",setup(e,t){let n=wl(Sl());n.navigationBar;const o={};return kp(n),()=>qi("uni-page",{"data-page":n.route,style:o},[Fp(t),null])}});function Fp(e){return Ni(),ji(jp,{key:0},{default:Dn((()=>[Do(e.slots,"page")])),_:3})}const Vp={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=cc;const Wp=Object.assign({}),zp=Object.assign;window.__uniConfig=zp({globalStyle:{backgroundColor:"#F8F8F8",navigationBar:{backgroundColor:"#F8F8F8",titleText:"uni-app",type:"default",titleColor:"#000000"},isNVue:!1},uniIdRouter:{},compilerVersion:"4.75"},{appId:"__UNI__37E1E71",appName:"WorkCameraf",appVersion:"1.0.0",appVersionCode:"100",async:Vp,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{},qqMapKey:void 0,bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys(Wp).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return zp(e[n]||(e[n]={}),Wp[t].default),e}),{}),router:{mode:"hash",base:"/",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const Yp={delay:Vp.delay,timeout:Vp.timeout,suspensible:Vp.suspensible};Vp.loading&&(Yp.loadingComponent={name:"SystemAsyncLoading",render:()=>qi(Vn(Vp.loading))}),Vp.error&&(Yp.errorComponent={name:"SystemAsyncError",props:["error"],render(){return qi(Vn(Vp.error),{error:this.error})}});const qp=()=>function(t,n,o){let i=Promise.resolve();if(n&&n.length>0){const t=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),s=(null==r?void 0:r.nonce)||(null==r?void 0:r.getAttribute("nonce"));i=Promise.all(n.map((n=>{if((n=function(e){return"/"+e}(n))in e)return;e[n]=!0;const i=n.endsWith(".css"),r=i?'[rel="stylesheet"]':"";if(o)for(let e=t.length-1;e>=0;e--){const o=t[e];if(o.href===n&&(!i||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${n}"]${r}`))return;const a=document.createElement("link");return a.rel=i?"stylesheet":"modulepreload",i||(a.as="script",a.crossOrigin=""),a.href=n,s&&a.setAttribute("nonce",s),document.head.appendChild(a),i?new Promise(((e,t)=>{a.addEventListener("load",e),a.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${n}`))))})):void 0})))}return i.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))}((()=>import("./pages-index-index.BiDl8nlN.js")),__vite__mapDeps([0,1])).then((e=>lf(e.default||e))),Xp=vo(zp({loader:qp},Yp));window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=of(),t=e&&e.$route&&e.$route.query||{};return()=>{return e=Xp,n=t,Ni(),ji(Hp,null,{page:Dn((()=>[qi(e,zp({},n,{ref:"page"}),null,512)])),_:1});var e,n}}},loader:qp,meta:{isQuit:!0,isEntry:!0,navigationBar:{titleText:"",style:"custom",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const Up={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};af(Up,{init:rf,setup(e){const t=xl();return ko((()=>{var n;n=e,Object.keys(mc).forEach((e=>{mc[e].forEach((t=>{To(e,t,n)}))}));const{onLaunch:o,onShow:i,onPageNotFound:r}=e,s=function({path:e,query:t}){return l(bu,{path:e,query:t}),l(wu,bu),l({},bu)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:be(t.query)});o&&P(o,s),i&&P(i,s)})),Eo((()=>{window.addEventListener("resize",Se(cf,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",uf),document.addEventListener("visibilitychange",df),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{Bp.emit("onThemeChange",{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(Ni(),ji(Ep));e.setup=(e,o)=>{const i=t&&t(e,o);return g(i)?n:i},e.render=n}}),ds(Up).use(Kd).mount("#app");export{nn as A,Sp as B,Hf as C,Tp as D,rp as E,Mi as F,wp as G,Bf as H,Gu as I,Ou as J,yl as K,Ip as L,te as O,$d as S,fe as a,ur as b,ji as c,To as d,zn as e,qi as f,ir as g,Ui as h,jd as i,Ki as j,Bi as k,Ro as l,Hd as m,de as n,Ni as o,hc as p,to as q,Do as r,Vn as s,q as t,Df as u,Rr as v,Dn as w,dp as x,zf as y,sp as z}; diff --git a/unpackage/dist/build/web/assets/index-DbUEB9Tq.css b/unpackage/dist/build/web/assets/index-DbUEB9Tq.css deleted file mode 100644 index 531a3ba..0000000 --- a/unpackage/dist/build/web/assets/index-DbUEB9Tq.css +++ /dev/null @@ -1 +0,0 @@ -.uniui-cart-filled[data-v-b25a9929]:before{content:""}.uniui-gift-filled[data-v-b25a9929]:before{content:""}.uniui-color[data-v-b25a9929]:before{content:""}.uniui-wallet[data-v-b25a9929]:before{content:""}.uniui-settings-filled[data-v-b25a9929]:before{content:""}.uniui-auth-filled[data-v-b25a9929]:before{content:""}.uniui-shop-filled[data-v-b25a9929]:before{content:""}.uniui-staff-filled[data-v-b25a9929]:before{content:""}.uniui-vip-filled[data-v-b25a9929]:before{content:""}.uniui-plus-filled[data-v-b25a9929]:before{content:""}.uniui-folder-add-filled[data-v-b25a9929]:before{content:""}.uniui-color-filled[data-v-b25a9929]:before{content:""}.uniui-tune-filled[data-v-b25a9929]:before{content:""}.uniui-calendar-filled[data-v-b25a9929]:before{content:""}.uniui-notification-filled[data-v-b25a9929]:before{content:""}.uniui-wallet-filled[data-v-b25a9929]:before{content:""}.uniui-medal-filled[data-v-b25a9929]:before{content:""}.uniui-fire-filled[data-v-b25a9929]:before{content:""}.uniui-refreshempty[data-v-b25a9929]:before{content:""}.uniui-location-filled[data-v-b25a9929]:before{content:""}.uniui-person-filled[data-v-b25a9929]:before{content:""}.uniui-personadd-filled[data-v-b25a9929]:before{content:""}.uniui-arrowthinleft[data-v-b25a9929]:before{content:""}.uniui-arrowthinup[data-v-b25a9929]:before{content:""}.uniui-arrowthindown[data-v-b25a9929]:before{content:""}.uniui-back[data-v-b25a9929]:before{content:""}.uniui-forward[data-v-b25a9929]:before{content:""}.uniui-arrow-right[data-v-b25a9929]:before{content:""}.uniui-arrow-left[data-v-b25a9929]:before{content:""}.uniui-arrow-up[data-v-b25a9929]:before{content:""}.uniui-arrow-down[data-v-b25a9929]:before{content:""}.uniui-arrowthinright[data-v-b25a9929]:before{content:""}.uniui-down[data-v-b25a9929]:before{content:""}.uniui-bottom[data-v-b25a9929]:before{content:""}.uniui-arrowright[data-v-b25a9929]:before{content:""}.uniui-right[data-v-b25a9929]:before{content:""}.uniui-up[data-v-b25a9929]:before{content:""}.uniui-top[data-v-b25a9929]:before{content:""}.uniui-left[data-v-b25a9929]:before{content:""}.uniui-arrowup[data-v-b25a9929]:before{content:""}.uniui-eye[data-v-b25a9929]:before{content:""}.uniui-eye-filled[data-v-b25a9929]:before{content:""}.uniui-eye-slash[data-v-b25a9929]:before{content:""}.uniui-eye-slash-filled[data-v-b25a9929]:before{content:""}.uniui-info-filled[data-v-b25a9929]:before{content:""}.uniui-reload[data-v-b25a9929]:before{content:""}.uniui-micoff-filled[data-v-b25a9929]:before{content:""}.uniui-map-pin-ellipse[data-v-b25a9929]:before{content:""}.uniui-map-pin[data-v-b25a9929]:before{content:""}.uniui-location[data-v-b25a9929]:before{content:""}.uniui-starhalf[data-v-b25a9929]:before{content:""}.uniui-star[data-v-b25a9929]:before{content:""}.uniui-star-filled[data-v-b25a9929]:before{content:""}.uniui-calendar[data-v-b25a9929]:before{content:""}.uniui-fire[data-v-b25a9929]:before{content:""}.uniui-medal[data-v-b25a9929]:before{content:""}.uniui-font[data-v-b25a9929]:before{content:""}.uniui-gift[data-v-b25a9929]:before{content:""}.uniui-link[data-v-b25a9929]:before{content:""}.uniui-notification[data-v-b25a9929]:before{content:""}.uniui-staff[data-v-b25a9929]:before{content:""}.uniui-vip[data-v-b25a9929]:before{content:""}.uniui-folder-add[data-v-b25a9929]:before{content:""}.uniui-tune[data-v-b25a9929]:before{content:""}.uniui-auth[data-v-b25a9929]:before{content:""}.uniui-person[data-v-b25a9929]:before{content:""}.uniui-email-filled[data-v-b25a9929]:before{content:""}.uniui-phone-filled[data-v-b25a9929]:before{content:""}.uniui-phone[data-v-b25a9929]:before{content:""}.uniui-email[data-v-b25a9929]:before{content:""}.uniui-personadd[data-v-b25a9929]:before{content:""}.uniui-chatboxes-filled[data-v-b25a9929]:before{content:""}.uniui-contact[data-v-b25a9929]:before{content:""}.uniui-chatbubble-filled[data-v-b25a9929]:before{content:""}.uniui-contact-filled[data-v-b25a9929]:before{content:""}.uniui-chatboxes[data-v-b25a9929]:before{content:""}.uniui-chatbubble[data-v-b25a9929]:before{content:""}.uniui-upload-filled[data-v-b25a9929]:before{content:""}.uniui-upload[data-v-b25a9929]:before{content:""}.uniui-weixin[data-v-b25a9929]:before{content:""}.uniui-compose[data-v-b25a9929]:before{content:""}.uniui-qq[data-v-b25a9929]:before{content:""}.uniui-download-filled[data-v-b25a9929]:before{content:""}.uniui-pyq[data-v-b25a9929]:before{content:""}.uniui-sound[data-v-b25a9929]:before{content:""}.uniui-trash-filled[data-v-b25a9929]:before{content:""}.uniui-sound-filled[data-v-b25a9929]:before{content:""}.uniui-trash[data-v-b25a9929]:before{content:""}.uniui-videocam-filled[data-v-b25a9929]:before{content:""}.uniui-spinner-cycle[data-v-b25a9929]:before{content:""}.uniui-weibo[data-v-b25a9929]:before{content:""}.uniui-videocam[data-v-b25a9929]:before{content:""}.uniui-download[data-v-b25a9929]:before{content:""}.uniui-help[data-v-b25a9929]:before{content:""}.uniui-navigate-filled[data-v-b25a9929]:before{content:""}.uniui-plusempty[data-v-b25a9929]:before{content:""}.uniui-smallcircle[data-v-b25a9929]:before{content:""}.uniui-minus-filled[data-v-b25a9929]:before{content:""}.uniui-micoff[data-v-b25a9929]:before{content:""}.uniui-closeempty[data-v-b25a9929]:before{content:""}.uniui-clear[data-v-b25a9929]:before{content:""}.uniui-navigate[data-v-b25a9929]:before{content:""}.uniui-minus[data-v-b25a9929]:before{content:""}.uniui-image[data-v-b25a9929]:before{content:""}.uniui-mic[data-v-b25a9929]:before{content:""}.uniui-paperplane[data-v-b25a9929]:before{content:""}.uniui-close[data-v-b25a9929]:before{content:""}.uniui-help-filled[data-v-b25a9929]:before{content:""}.uniui-paperplane-filled[data-v-b25a9929]:before{content:""}.uniui-plus[data-v-b25a9929]:before{content:""}.uniui-mic-filled[data-v-b25a9929]:before{content:""}.uniui-image-filled[data-v-b25a9929]:before{content:""}.uniui-locked-filled[data-v-b25a9929]:before{content:""}.uniui-info[data-v-b25a9929]:before{content:""}.uniui-locked[data-v-b25a9929]:before{content:""}.uniui-camera-filled[data-v-b25a9929]:before{content:""}.uniui-chat-filled[data-v-b25a9929]:before{content:""}.uniui-camera[data-v-b25a9929]:before{content:""}.uniui-circle[data-v-b25a9929]:before{content:""}.uniui-checkmarkempty[data-v-b25a9929]:before{content:""}.uniui-chat[data-v-b25a9929]:before{content:""}.uniui-circle-filled[data-v-b25a9929]:before{content:""}.uniui-flag[data-v-b25a9929]:before{content:""}.uniui-flag-filled[data-v-b25a9929]:before{content:""}.uniui-gear-filled[data-v-b25a9929]:before{content:""}.uniui-home[data-v-b25a9929]:before{content:""}.uniui-home-filled[data-v-b25a9929]:before{content:""}.uniui-gear[data-v-b25a9929]:before{content:""}.uniui-smallcircle-filled[data-v-b25a9929]:before{content:""}.uniui-map-filled[data-v-b25a9929]:before{content:""}.uniui-map[data-v-b25a9929]:before{content:""}.uniui-refresh-filled[data-v-b25a9929]:before{content:""}.uniui-refresh[data-v-b25a9929]:before{content:""}.uniui-cloud-upload[data-v-b25a9929]:before{content:""}.uniui-cloud-download-filled[data-v-b25a9929]:before{content:""}.uniui-cloud-download[data-v-b25a9929]:before{content:""}.uniui-cloud-upload-filled[data-v-b25a9929]:before{content:""}.uniui-redo[data-v-b25a9929]:before{content:""}.uniui-images-filled[data-v-b25a9929]:before{content:""}.uniui-undo-filled[data-v-b25a9929]:before{content:""}.uniui-more[data-v-b25a9929]:before{content:""}.uniui-more-filled[data-v-b25a9929]:before{content:""}.uniui-undo[data-v-b25a9929]:before{content:""}.uniui-images[data-v-b25a9929]:before{content:""}.uniui-paperclip[data-v-b25a9929]:before{content:""}.uniui-settings[data-v-b25a9929]:before{content:""}.uniui-search[data-v-b25a9929]:before{content:""}.uniui-redo-filled[data-v-b25a9929]:before{content:""}.uniui-list[data-v-b25a9929]:before{content:""}.uniui-mail-open-filled[data-v-b25a9929]:before{content:""}.uniui-hand-down-filled[data-v-b25a9929]:before{content:""}.uniui-hand-down[data-v-b25a9929]:before{content:""}.uniui-hand-up-filled[data-v-b25a9929]:before{content:""}.uniui-hand-up[data-v-b25a9929]:before{content:""}.uniui-heart-filled[data-v-b25a9929]:before{content:""}.uniui-mail-open[data-v-b25a9929]:before{content:""}.uniui-heart[data-v-b25a9929]:before{content:""}.uniui-loop[data-v-b25a9929]:before{content:""}.uniui-pulldown[data-v-b25a9929]:before{content:""}.uniui-scan[data-v-b25a9929]:before{content:""}.uniui-bars[data-v-b25a9929]:before{content:""}.uniui-checkbox[data-v-b25a9929]:before{content:""}.uniui-checkbox-filled[data-v-b25a9929]:before{content:""}.uniui-shop[data-v-b25a9929]:before{content:""}.uniui-headphones[data-v-b25a9929]:before{content:""}.uniui-cart[data-v-b25a9929]:before{content:""}@font-face{font-family:uniicons;src:url(/assets/uniicons-DN59BOw4.ttf)}.uni-icons[data-v-b25a9929]{font-family:uniicons;text-decoration:none;text-align:center}.uni-combox[data-v-516a1acf]{font-size:14px;border:1px solid #DCDFE6;border-radius:4px;padding:6px 10px;position:relative;display:flex;flex-direction:row;align-items:center}.uni-combox__label[data-v-516a1acf]{font-size:16px;line-height:22px;padding-right:10px;color:#999}.uni-combox__input-box[data-v-516a1acf]{position:relative;display:flex;flex:1;flex-direction:row;align-items:center}.uni-combox__input[data-v-516a1acf]{flex:1;font-size:14px;height:22px;line-height:22px}.uni-combox__input-plac[data-v-516a1acf]{font-size:14px;color:#999}.uni-combox__selector[data-v-516a1acf]{box-sizing:border-box;position:absolute;top:calc(100% + 12px);left:0;width:100%;background-color:#fff;border:1px solid #EBEEF5;border-radius:6px;box-shadow:0 2px 12px rgba(0,0,0,.1);z-index:2;padding:4px 0}.uni-combox__selector-scroll[data-v-516a1acf]{max-height:200px;box-sizing:border-box}.uni-combox__selector-empty[data-v-516a1acf],.uni-combox__selector-item[data-v-516a1acf]{display:flex;cursor:pointer;line-height:36px;font-size:14px;text-align:center;padding:0 10px}.uni-combox__selector-item[data-v-516a1acf]:hover{background-color:#f9f9f9}.uni-combox__selector-empty[data-v-516a1acf]:last-child,.uni-combox__selector-item[data-v-516a1acf]:last-child{border-bottom:none}.uni-popper__arrow[data-v-516a1acf],.uni-popper__arrow[data-v-516a1acf]:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid;border-width:6px}.uni-popper__arrow[data-v-516a1acf]{filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));top:-6px;left:10%;margin-right:3px;border-top-width:0;border-bottom-color:#ebeef5}.uni-popper__arrow[data-v-516a1acf]:after{content:" ";top:1px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff}.uni-combox__no-border[data-v-516a1acf]{border:none}.uni-popup[data-v-fc99ec19]{position:fixed;z-index:99}.uni-popup.top[data-v-fc99ec19],.uni-popup.left[data-v-fc99ec19],.uni-popup.right[data-v-fc99ec19]{top:var(--window-top)}.uni-popup .uni-popup__wrapper[data-v-fc99ec19]{display:block;position:relative}.uni-popup .uni-popup__wrapper.left[data-v-fc99ec19],.uni-popup .uni-popup__wrapper.right[data-v-fc99ec19]{padding-top:var(--window-top);flex:1}.fixforpc-z-index[data-v-fc99ec19]{z-index:999}.fixforpc-top[data-v-fc99ec19]{top:0}.logo[data-v-e9270139]{height:200px;width:200px;margin:0 auto;position:absolute;top:25%;left:50%;transform:translate(-50%,-50%)}.btn[data-v-e9270139]{width:100px;margin:0 auto;position:absolute;bottom:22%;left:50%;transform:translate(-50%,-50%)}.title[data-v-e9270139]{margin:0 auto;font-size:20px;font-weight:700;color:#000;text-align:center;position:absolute;top:35%;left:50%;transform:translate(-50%,-50%)}.container[data-v-e9270139]{padding:.625rem;background:#fff;height:100vh;overflow:auto}.preview-box[data-v-e9270139]{background:#fff;padding:.625rem;margin-bottom:.625rem;text-align:center}.preview-title[data-v-e9270139]{font-size:1rem;font-weight:700}.preview-img[data-v-e9270139]{margin:.625rem 0;width:100%;height:12.5rem;background:#ddd;display:flex;justify-content:center;align-items:center;text-align:center}.img[data-v-e9270139]{max-width:100%;max-height:12.5rem}.preview-info[data-v-e9270139]{font-size:.8125rem;color:#666;text-align:left;margin-top:.3125rem}.form-item[data-v-e9270139]{margin-bottom:.625rem}.label[data-v-e9270139]{font-size:.875rem;margin-bottom:.3125rem;display:block}.input[data-v-e9270139],.picker[data-v-e9270139]{border:1px solid #ddd;border-radius:.25rem;padding:.3125rem;background:#fff}.worker-row[data-v-e9270139]{display:flex;align-items:center;margin-bottom:.3125rem}.worker-input[data-v-e9270139]{flex:1}.btns[data-v-e9270139]{display:flex;margin-left:.3125rem}.btn_f[data-v-e9270139]{margin-left:.15625rem}.footer[data-v-e9270139]{display:flex;justify-content:space-between;margin-top:1.25rem}.btn-cancel[data-v-e9270139]{background:#007aff;color:#fff}.btn-save[data-v-e9270139]{background:#28a745;color:#fff}.btn-submit[data-v-e9270139]{background:#007aff;color:#fff}.btn-save[data-v-e9270139]:disabled,.btn-submit[data-v-e9270139]:disabled{background:#ccc!important;color:#999!important;opacity:.6}.watermark-btn[data-v-e9270139]{margin-top:.625rem;background:#28a745;color:#fff;font-size:.875rem;padding:.3125rem .9375rem;border-radius:.25rem}.size-info[data-v-e9270139]{margin-top:.625rem;padding:.625rem;background:#f8f9fa;border-radius:.25rem}.size-text[data-v-e9270139]{display:block;font-size:.75rem;color:#666;margin-bottom:.3125rem;text-align:center} diff --git a/unpackage/dist/build/web/assets/index-yksqsBZR.css b/unpackage/dist/build/web/assets/index-yksqsBZR.css deleted file mode 100644 index dc68c39..0000000 --- a/unpackage/dist/build/web/assets/index-yksqsBZR.css +++ /dev/null @@ -1 +0,0 @@ -*{margin:0;-webkit-tap-highlight-color:transparent}html,body{-webkit-user-select:none;user-select:none;width:100%;height:100%}body{overflow-x:hidden;font-size:16px}uni-app,uni-page,uni-page-wrapper,uni-page-body{display:block;box-sizing:border-box;width:100%}uni-page-wrapper{position:relative}#app,uni-app,uni-page,uni-page-wrapper{height:100%}.uni-mask{position:fixed;z-index:999;top:0;right:0;left:0;bottom:0;background:rgba(0,0,0,.5)}.uni-fade-enter-active,.uni-fade-leave-active{transition-duration:.25s;transition-property:opacity;transition-timing-function:ease}.uni-fade-enter-from,.uni-fade-leave-active{opacity:0}.uni-loading,uni-button[loading]:before{background-color:transparent;background-image:url(data:image/svg+xml;base64,\ PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=);background-repeat:no-repeat}.uni-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}@keyframes uni-loading{0%{transform:rotate3d(0,0,1,0)}to{transform:rotate3d(0,0,1,360deg)}}html{--primary-color: #007aff;--UI-BG: #fff;--UI-BG-1: #f7f7f7;--UI-BG-2: #fff;--UI-BG-3: #f7f7f7;--UI-BG-4: #4c4c4c;--UI-BG-5: #fff;--UI-FG: #000;--UI-FG-0: rgba(0, 0, 0, .9);--UI-FG-HALF: rgba(0, 0, 0, .9);--UI-FG-1: rgba(0, 0, 0, .5);--UI-FG-2: rgba(0, 0, 0, .3);--UI-FG-3: rgba(0, 0, 0, .1)}uni-page[data-type] uni-page-body{background-color:transparent}body:after{position:fixed;content:"";left:-1000px;top:-1000px;animation:shadow-preload .1s;animation-delay:3s}@keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}to{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}.uni-async-error{position:absolute;left:0;right:0;top:0;bottom:0;color:#999;padding:100px 10px;text-align:center}.uni-async-loading{box-sizing:border-box;width:100%;padding:50px;text-align:center}.uni-async-loading .uni-loading{width:30px;height:30px} diff --git a/unpackage/dist/build/web/assets/logo-BPcuOvO7.jpg b/unpackage/dist/build/web/assets/logo-BPcuOvO7.jpg deleted file mode 100644 index 8d3b6e7..0000000 Binary files a/unpackage/dist/build/web/assets/logo-BPcuOvO7.jpg and /dev/null differ diff --git a/unpackage/dist/build/web/assets/pages-index-index.BiDl8nlN.js b/unpackage/dist/build/web/assets/pages-index-index.BiDl8nlN.js deleted file mode 100644 index 988bbb8..0000000 --- a/unpackage/dist/build/web/assets/pages-index-index.BiDl8nlN.js +++ /dev/null @@ -1 +0,0 @@ -import{o as e,c as t,w as s,r as o,n as i,a,i as l,b as n,d as c,g as r,O as u,e as d,f as h,h as f,t as p,j as m,k as g,F as _,l as y,m as w,I as v,S as b,p as k,q as C,v as S,s as z,u as x,x as $,y as B,z as T,A as P,B as A,C as V,D as I,E as R,G as H,H as D,J as O,K as M,L as j}from"./index-5OQVQoIX.js";const F=[{font_class:"arrow-down",unicode:""},{font_class:"arrow-left",unicode:""},{font_class:"arrow-right",unicode:""},{font_class:"arrow-up",unicode:""},{font_class:"auth",unicode:""},{font_class:"auth-filled",unicode:""},{font_class:"back",unicode:""},{font_class:"bars",unicode:""},{font_class:"calendar",unicode:""},{font_class:"calendar-filled",unicode:""},{font_class:"camera",unicode:""},{font_class:"camera-filled",unicode:""},{font_class:"cart",unicode:""},{font_class:"cart-filled",unicode:""},{font_class:"chat",unicode:""},{font_class:"chat-filled",unicode:""},{font_class:"chatboxes",unicode:""},{font_class:"chatboxes-filled",unicode:""},{font_class:"chatbubble",unicode:""},{font_class:"chatbubble-filled",unicode:""},{font_class:"checkbox",unicode:""},{font_class:"checkbox-filled",unicode:""},{font_class:"checkmarkempty",unicode:""},{font_class:"circle",unicode:""},{font_class:"circle-filled",unicode:""},{font_class:"clear",unicode:""},{font_class:"close",unicode:""},{font_class:"closeempty",unicode:""},{font_class:"cloud-download",unicode:""},{font_class:"cloud-download-filled",unicode:""},{font_class:"cloud-upload",unicode:""},{font_class:"cloud-upload-filled",unicode:""},{font_class:"color",unicode:""},{font_class:"color-filled",unicode:""},{font_class:"compose",unicode:""},{font_class:"contact",unicode:""},{font_class:"contact-filled",unicode:""},{font_class:"down",unicode:""},{font_class:"bottom",unicode:""},{font_class:"download",unicode:""},{font_class:"download-filled",unicode:""},{font_class:"email",unicode:""},{font_class:"email-filled",unicode:""},{font_class:"eye",unicode:""},{font_class:"eye-filled",unicode:""},{font_class:"eye-slash",unicode:""},{font_class:"eye-slash-filled",unicode:""},{font_class:"fire",unicode:""},{font_class:"fire-filled",unicode:""},{font_class:"flag",unicode:""},{font_class:"flag-filled",unicode:""},{font_class:"folder-add",unicode:""},{font_class:"folder-add-filled",unicode:""},{font_class:"font",unicode:""},{font_class:"forward",unicode:""},{font_class:"gear",unicode:""},{font_class:"gear-filled",unicode:""},{font_class:"gift",unicode:""},{font_class:"gift-filled",unicode:""},{font_class:"hand-down",unicode:""},{font_class:"hand-down-filled",unicode:""},{font_class:"hand-up",unicode:""},{font_class:"hand-up-filled",unicode:""},{font_class:"headphones",unicode:""},{font_class:"heart",unicode:""},{font_class:"heart-filled",unicode:""},{font_class:"help",unicode:""},{font_class:"help-filled",unicode:""},{font_class:"home",unicode:""},{font_class:"home-filled",unicode:""},{font_class:"image",unicode:""},{font_class:"image-filled",unicode:""},{font_class:"images",unicode:""},{font_class:"images-filled",unicode:""},{font_class:"info",unicode:""},{font_class:"info-filled",unicode:""},{font_class:"left",unicode:""},{font_class:"link",unicode:""},{font_class:"list",unicode:""},{font_class:"location",unicode:""},{font_class:"location-filled",unicode:""},{font_class:"locked",unicode:""},{font_class:"locked-filled",unicode:""},{font_class:"loop",unicode:""},{font_class:"mail-open",unicode:""},{font_class:"mail-open-filled",unicode:""},{font_class:"map",unicode:""},{font_class:"map-filled",unicode:""},{font_class:"map-pin",unicode:""},{font_class:"map-pin-ellipse",unicode:""},{font_class:"medal",unicode:""},{font_class:"medal-filled",unicode:""},{font_class:"mic",unicode:""},{font_class:"mic-filled",unicode:""},{font_class:"micoff",unicode:""},{font_class:"micoff-filled",unicode:""},{font_class:"minus",unicode:""},{font_class:"minus-filled",unicode:""},{font_class:"more",unicode:""},{font_class:"more-filled",unicode:""},{font_class:"navigate",unicode:""},{font_class:"navigate-filled",unicode:""},{font_class:"notification",unicode:""},{font_class:"notification-filled",unicode:""},{font_class:"paperclip",unicode:""},{font_class:"paperplane",unicode:""},{font_class:"paperplane-filled",unicode:""},{font_class:"person",unicode:""},{font_class:"person-filled",unicode:""},{font_class:"personadd",unicode:""},{font_class:"personadd-filled",unicode:""},{font_class:"personadd-filled-copy",unicode:""},{font_class:"phone",unicode:""},{font_class:"phone-filled",unicode:""},{font_class:"plus",unicode:""},{font_class:"plus-filled",unicode:""},{font_class:"plusempty",unicode:""},{font_class:"pulldown",unicode:""},{font_class:"pyq",unicode:""},{font_class:"qq",unicode:""},{font_class:"redo",unicode:""},{font_class:"redo-filled",unicode:""},{font_class:"refresh",unicode:""},{font_class:"refresh-filled",unicode:""},{font_class:"refreshempty",unicode:""},{font_class:"reload",unicode:""},{font_class:"right",unicode:""},{font_class:"scan",unicode:""},{font_class:"search",unicode:""},{font_class:"settings",unicode:""},{font_class:"settings-filled",unicode:""},{font_class:"shop",unicode:""},{font_class:"shop-filled",unicode:""},{font_class:"smallcircle",unicode:""},{font_class:"smallcircle-filled",unicode:""},{font_class:"sound",unicode:""},{font_class:"sound-filled",unicode:""},{font_class:"spinner-cycle",unicode:""},{font_class:"staff",unicode:""},{font_class:"staff-filled",unicode:""},{font_class:"star",unicode:""},{font_class:"star-filled",unicode:""},{font_class:"starhalf",unicode:""},{font_class:"trash",unicode:""},{font_class:"trash-filled",unicode:""},{font_class:"tune",unicode:""},{font_class:"tune-filled",unicode:""},{font_class:"undo",unicode:""},{font_class:"undo-filled",unicode:""},{font_class:"up",unicode:""},{font_class:"top",unicode:""},{font_class:"upload",unicode:""},{font_class:"upload-filled",unicode:""},{font_class:"videocam",unicode:""},{font_class:"videocam-filled",unicode:""},{font_class:"vip",unicode:""},{font_class:"vip-filled",unicode:""},{font_class:"wallet",unicode:""},{font_class:"wallet-filled",unicode:""},{font_class:"weibo",unicode:""},{font_class:"weixin",unicode:""}],L=(e,t)=>{const s=e.__vccOpts||e;for(const[o,i]of t)s[o]=i;return s};const E=L({name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},customPrefix:{type:String,default:""},fontFamily:{type:String,default:""}},data:()=>({icons:F}),computed:{unicode(){let e=this.icons.find((e=>e.font_class===this.type));return e?e.unicode:""},iconSize(){return"number"==typeof(e=this.size)||/^[0-9]*$/g.test(e)?e+"px":e;var e},styleObj(){return""!==this.fontFamily?`color: ${this.color}; font-size: ${this.iconSize}; font-family: ${this.fontFamily};`:`color: ${this.color}; font-size: ${this.iconSize};`}},methods:{_onClick(e){this.$emit("click",e)}}},[["render",function(n,c,r,u,d,h){const f=l;return e(),t(f,{style:i(h.styleObj),class:a(["uni-icons",["uniui-"+r.type,r.customPrefix,r.customPrefix?r.type:""]]),onClick:h._onClick},{default:s((()=>[o(n.$slots,"default",{},void 0,!0)])),_:3},8,["style","class","onClick"])}],["__scopeId","data-v-b25a9929"]]);function U(e,t){return"string"==typeof e?t:e}const Y=((e,t=0)=>(t,s=r())=>{!n&&c(e,t,s)})(u,2);const K=L({name:"uniCombox",emits:["input","update:modelValue","select"],props:{clearAble:{type:Boolean,default:!1},border:{type:Boolean,default:!0},label:{type:String,default:""},labelWidth:{type:String,default:"auto"},placeholder:{type:String,default:""},candidates:{type:Array,default:()=>[]},emptyTips:{type:String,default:"无匹配项"},modelValue:{type:[String,Number],default:""}},data:()=>({showSelector:!1,inputVal:""}),computed:{labelStyle(){return"auto"===this.labelWidth?"":`width: ${this.labelWidth}`},filterCandidates(){return this.candidates.filter((e=>e.toString().indexOf(this.inputVal)>-1))},filterCandidatesLength(){return this.filterCandidates.length}},watch:{modelValue:{handler(e){this.inputVal=e},immediate:!0}},methods:{toggleSelector(){this.showSelector=!this.showSelector},onFocus(){this.showSelector=!0},onBlur(){setTimeout((()=>{this.showSelector=!1}),153)},onSelectorClick(e){this.inputVal=this.filterCandidates[e],this.showSelector=!1,this.$emit("input",this.inputVal),this.$emit("select",this.inputVal),this.$emit("update:modelValue",this.inputVal)},onInput(){setTimeout((()=>{this.$emit("input",this.inputVal),this.$emit("update:modelValue",this.inputVal)}))},clean(){this.inputVal="",this.onInput()}}},[["render",function(o,n,c,r,u,k){const C=l,S=w,z=v,x=U(d("uni-icons"),E),$=b;return e(),t(S,{class:a(["uni-combox",c.border?"":"uni-combox__no-border"])},{default:s((()=>[c.label?(e(),t(S,{key:0,class:"uni-combox__label",style:i(k.labelStyle)},{default:s((()=>[h(C,null,{default:s((()=>[f(p(c.label),1)])),_:1})])),_:1},8,["style"])):m("",!0),h(S,{class:"uni-combox__input-box"},{default:s((()=>[h(z,{class:"uni-combox__input",type:"text",placeholder:c.placeholder,"placeholder-class":"uni-combox__input-plac",modelValue:u.inputVal,"onUpdate:modelValue":n[0]||(n[0]=e=>u.inputVal=e),onInput:k.onInput,onFocus:k.onFocus,onBlur:k.onBlur},null,8,["placeholder","modelValue","onInput","onFocus","onBlur"]),u.inputVal&&c.clearAble?m("",!0):(e(),t(x,{key:0,type:u.showSelector?"top":"bottom",size:"14",color:"#999",onClick:k.toggleSelector},null,8,["type","onClick"])),u.inputVal&&c.clearAble?(e(),t(x,{key:1,type:"clear",size:"24",color:"#999",onClick:k.clean},null,8,["onClick"])):m("",!0)])),_:1}),u.showSelector&&k.filterCandidatesLength>0?(e(),t(S,{key:1,class:"uni-combox__selector"},{default:s((()=>[h(S,{class:"uni-popper__arrow"}),h($,{"scroll-y":"true",class:"uni-combox__selector-scroll"},{default:s((()=>[0===k.filterCandidatesLength?(e(),t(S,{key:0,class:"uni-combox__selector-empty"},{default:s((()=>[h(C,null,{default:s((()=>[f(p(c.emptyTips),1)])),_:1})])),_:1})):m("",!0),(e(!0),g(_,null,y(k.filterCandidates,((o,i)=>(e(),t(S,{class:"uni-combox__selector-item",key:i,onClick:e=>k.onSelectorClick(i)},{default:s((()=>[h(C,null,{default:s((()=>[f(p(o),1)])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1})):m("",!0)])),_:1},8,["class"])}],["__scopeId","data-v-516a1acf"]]);class N{constructor(e,t){this.options=e,this.animation=k({...e}),this.currentStepAnimates={},this.next=0,this.$=t}_nvuePushAnimates(e,t){let s=this.currentStepAnimates[this.next],o={};if(o=s||{styles:{},config:{}},W.includes(e)){o.styles.transform||(o.styles.transform="");let s="";"rotate"===e&&(s="deg"),o.styles.transform+=`${e}(${t+s}) `}else o.styles[e]=`${t}`;this.currentStepAnimates[this.next]=o}_animateRun(e={},t={}){let s=this.$.$refs.ani.ref;if(s)return new Promise(((o,i)=>{nvueAnimation.transition(s,{styles:e,...t},(e=>{o()}))}))}_nvueNextAnimate(e,t=0,s){let o=e[t];if(o){let{styles:i,config:a}=o;this._animateRun(i,a).then((()=>{t+=1,this._nvueNextAnimate(e,t,s)}))}else this.currentStepAnimates={},"function"==typeof s&&s(),this.isEnd=!0}step(e={}){return this.animation.step(e),this}run(e){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((()=>{"function"==typeof e&&e()}),this.$.durationTime)}}const W=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];function X(e,t){if(t)return clearTimeout(t.timer),new N(e,t)}W.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((e=>{N.prototype[e]=function(...t){return this.animation[e](...t),this}}));const G=L({name:"uniTransition",emits:["click","change"],props:{show:{type:Boolean,default:!1},modeClass:{type:[Array,String],default:()=>"fade"},duration:{type:Number,default:300},styles:{type:Object,default:()=>({})},customClass:{type:String,default:""},onceRender:{type:Boolean,default:!1}},data:()=>({isShow:!1,transform:"",opacity:0,animationData:{},durationTime:300,config:{}}),watch:{show:{handler(e){e?this.open():this.isShow&&this.close()},immediate:!0}},computed:{stylesObject(){let e={...this.styles,"transition-duration":this.duration/1e3+"s"},t="";for(let s in e){t+=this.toLine(s)+":"+e[s]+";"}return t},transformStyles(){return"transform:"+this.transform+";opacity:"+this.opacity+";"+this.stylesObject}},created(){this.config={duration:this.duration,timingFunction:"ease",transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init(e={}){e.duration&&(this.durationTime=e.duration),this.animation=X(Object.assign(this.config,e),this)},onClick(){this.$emit("click",{detail:this.isShow})},step(e,t={}){return this.animation?(Object.keys(e).forEach((t=>{const s=e[t];"function"==typeof this.animation[t]&&(Array.isArray(s)?this.animation[t](...s):this.animation[t](s))})),this.animation.step(t),this):this},run(e){this.animation&&this.animation.run(e)},open(){clearTimeout(this.timer),this.isShow=!0,this.transform=this.styleInit(!1).transform||"",this.opacity=this.styleInit(!1).opacity||0,this.$nextTick((()=>{this.timer=setTimeout((()=>{this.animation=X(this.config,this),this.tranfromInit(!1).step(),this.animation.run((()=>{this.transform="",this.opacity=this.styleInit(!1).opacity||1,this.$emit("change",{detail:this.isShow})}))}),80)}))},close(e){this.animation&&this.tranfromInit(!0).step().run((()=>{this.isShow=!1,this.animationData=null,this.animation=null;let{opacity:e,transform:t}=this.styleInit(!1);this.opacity=e||1,this.transform=t,this.$emit("change",{detail:this.isShow})}))},styleInit(e){let t={transform:"",opacity:1};const s=(e,s)=>{const o=this.animationType(e)[s];s.startsWith("fade")?t.opacity=o:t.transform+=o+" "};return"string"==typeof this.modeClass?s(e,this.modeClass):this.modeClass.forEach((t=>s(e,t))),t},tranfromInit(e){let t=(e,t)=>{let s=null;"fade"===t?s=e?0:1:(s=e?"-100%":"0","zoom-in"===t&&(s=e?.8:1),"zoom-out"===t&&(s=e?1.2:1),"slide-right"===t&&(s=e?"100%":"0"),"slide-bottom"===t&&(s=e?"100%":"0")),this.animation[this.animationMode()[t]](s)};return"string"==typeof this.modeClass?t(e,this.modeClass):this.modeClass.forEach((s=>{t(e,s)})),this.animation},animationType:e=>({fade:e?1:0,"slide-top":`translateY(${e?"0":"-100%"})`,"slide-right":`translateX(${e?"0":"100%"})`,"slide-bottom":`translateY(${e?"0":"100%"})`,"slide-left":`translateX(${e?"0":"-100%"})`,"zoom-in":`scaleX(${e?1:.8}) scaleY(${e?1:.8})`,"zoom-out":`scaleX(${e?1:1.2}) scaleY(${e?1:1.2})`}),animationMode:()=>({fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}),toLine:e=>e.replace(/([A-Z])/g,"-$1").toLowerCase()}},[["render",function(l,n,c,r,u,d){const h=w;return C((e(),t(h,{ref:"ani",animation:u.animationData,class:a(c.customClass),style:i(d.transformStyles),onClick:d.onClick},{default:s((()=>[o(l.$slots,"default")])),_:3},8,["animation","class","style","onClick"])),[[S,u.isShow]])}]]);const q=L({name:"uniPopup",components:{keypress:{name:"Keypress",props:{disable:{type:Boolean,default:!1}},mounted(){const e={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]};document.addEventListener("keyup",(t=>{if(this.disable)return;const s=Object.keys(e).find((s=>{const o=t.key,i=e[s];return i===o||Array.isArray(i)&&i.includes(o)}));s&&setTimeout((()=>{this.$emit(s,{})}),0)}))},render:()=>{}}},emits:["change","maskClick"],props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},isMaskClick:{type:Boolean,default:null},maskClick:{type:Boolean,default:null},backgroundColor:{type:String,default:"none"},safeArea:{type:Boolean,default:!0},maskBackgroundColor:{type:String,default:"rgba(0, 0, 0, 0.4)"},borderRadius:{type:String}},watch:{type:{handler:function(e){this.config[e]&&this[this.config[e]](!0)},immediate:!0},isDesktop:{handler:function(e){this.config[e]&&this[this.config[this.type]](!0)},immediate:!0},maskClick:{handler:function(e){this.mkclick=e},immediate:!0},isMaskClick:{handler:function(e){this.mkclick=e},immediate:!0},showPopup(e){document.getElementsByTagName("body")[0].style.overflow=e?"hidden":"visible"}},data(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,popupWidth:0,popupHeight:0,config:{top:"top",bottom:"bottom",center:"center",left:"left",right:"right",message:"top",dialog:"center",share:"bottom"},maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{backgroundColor:"transparent",borderRadius:this.borderRadius||"0",position:"fixed",left:0,right:0},maskShow:!0,mkclick:!0,popupstyle:"top"}},computed:{getStyles(){let e={backgroundColor:this.bg};return this.borderRadius,e=Object.assign(e,{borderRadius:this.borderRadius}),e},isDesktop(){return this.popupWidth>=500&&this.popupHeight>=500},bg(){return""===this.backgroundColor||"none"===this.backgroundColor?"transparent":this.backgroundColor}},mounted(){(()=>{const{windowWidth:e,windowHeight:t,windowTop:s,safeArea:o,screenHeight:i,safeAreaInsets:a}=x();this.popupWidth=e,this.popupHeight=t+(s||0),o&&this.safeArea?this.safeAreaInsets=a.bottom:this.safeAreaInsets=0})()},unmounted(){this.setH5Visible()},activated(){this.setH5Visible(!this.showPopup)},deactivated(){this.setH5Visible(!0)},created(){null===this.isMaskClick&&null===this.maskClick?this.mkclick=!0:this.mkclick=null!==this.isMaskClick?this.isMaskClick:this.maskClick,this.animation?this.duration=300:this.duration=0,this.messageChild=null,this.clearPropagation=!1,this.maskClass.backgroundColor=this.maskBackgroundColor},methods:{setH5Visible(e=!0){document.getElementsByTagName("body")[0].style.overflow=e?"visible":"hidden"},closeMask(){this.maskShow=!1},disableMask(){this.mkclick=!1},clear(e){e.stopPropagation(),this.clearPropagation=!0},open(e){if(this.showPopup)return;e&&-1!==["top","center","bottom","left","right","message","dialog","share"].indexOf(e)||(e=this.type),this.config[e]?(this[this.config[e]](),this.$emit("change",{show:!0,type:e})):console.error("缺少类型:",e)},close(e){this.showTrans=!1,this.$emit("change",{show:!1,type:this.type}),clearTimeout(this.timer),this.timer=setTimeout((()=>{this.showPopup=!1}),300)},touchstart(){this.clearPropagation=!1},onTap(){this.clearPropagation?this.clearPropagation=!1:(this.$emit("maskClick"),this.mkclick&&this.close())},top(e){this.popupstyle=this.isDesktop?"fixforpc-top":"top",this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0"},e||(this.showPopup=!0,this.showTrans=!0,this.$nextTick((()=>{this.showPoptrans(),this.messageChild&&"message"===this.type&&this.messageChild.timerClose()})))},bottom(e){this.popupstyle="bottom",this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0,paddingBottom:this.safeAreaInsets+"px",backgroundColor:this.bg,borderRadius:this.borderRadius||"0"},e||this.showPoptrans()},center(e){this.popupstyle="center",this.ani=["zoom-out","fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center",borderRadius:this.borderRadius||"0"},e||this.showPoptrans()},left(e){this.popupstyle="left",this.ani=["slide-left"],this.transClass={position:"fixed",left:0,bottom:0,top:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0",display:"flex",flexDirection:"column"},e||this.showPoptrans()},right(e){this.popupstyle="right",this.ani=["slide-right"],this.transClass={position:"fixed",bottom:0,right:0,top:0,backgroundColor:this.bg,borderRadius:this.borderRadius||"0",display:"flex",flexDirection:"column"},e||this.showPoptrans()},showPoptrans(){this.$nextTick((()=>{this.showPopup=!0,this.showTrans=!0}))}}},[["render",function(l,n,c,r,u,f){const p=U(d("uni-transition"),G),g=w,_=z("keypress");return u.showPopup?(e(),t(g,{key:0,class:a(["uni-popup",[u.popupstyle,f.isDesktop?"fixforpc-z-index":""]])},{default:s((()=>[h(g,{onTouchstart:f.touchstart},{default:s((()=>[u.maskShow?(e(),t(p,{key:"1",name:"mask","mode-class":"fade",styles:u.maskClass,duration:u.duration,show:u.showTrans,onClick:f.onTap},null,8,["styles","duration","show","onClick"])):m("",!0),h(p,{key:"2","mode-class":u.ani,name:"content",styles:u.transClass,duration:u.duration,show:u.showTrans,onClick:f.onTap},{default:s((()=>[h(g,{class:a(["uni-popup__wrapper",[u.popupstyle]]),style:i(f.getStyles),onClick:f.clear},{default:s((()=>[o(l.$slots,"default",{},void 0,!0)])),_:3},8,["style","class","onClick"])])),_:3},8,["mode-class","styles","duration","show","onClick"])])),_:3},8,["onTouchstart"]),u.maskShow?(e(),t(_,{key:0,onEsc:f.onTap},null,8,["onEsc"])):m("",!0)])),_:3},8,["class"])):m("",!0)}],["__scopeId","data-v-fc99ec19"]]),Z=(e,t="YYYY-MM-DD HH:mm:ss")=>{const s=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),i=String(e.getDate()).padStart(2,"0"),a=String(e.getHours()).padStart(2,"0"),l=String(e.getMinutes()).padStart(2,"0"),n=String(e.getSeconds()).padStart(2,"0");return t.replace("YYYY",s).replace("MM",o).replace("DD",i).replace("HH",a).replace("mm",l).replace("ss",n)},J=new Map,Q=async e=>J.has(e)?(console.log("使用缓存的logo:",e),J.get(e)):new Promise(((t,s)=>{fetch(e).then((e=>{if(!e.ok)throw new Error("下载失败");return e.blob()})).then((s=>{const o=URL.createObjectURL(s);J.set(e,o),console.log("H5 缓存 logo:",e),t(o)})).catch((e=>{console.error("H5 下载logo失败:",e),s(e)}))})),ee=async(e,t,s=null,o=1,i=null,a=1920)=>new Promise((async(l,n)=>{try{const c=new Image;c.crossOrigin="anonymous",c.onload=async()=>{try{let n;try{n=await(async e=>new Promise(((t,s)=>{try{if(e instanceof File){const s=e.size;t({size:s,sizeKB:(s/1024).toFixed(2),sizeMB:(s/1048576).toFixed(2)})}else e.startsWith("blob:")?fetch(e).then((e=>e.blob())).then((e=>{t({size:e.size,sizeKB:(e.size/1024).toFixed(2),sizeMB:(e.size/1048576).toFixed(2)})})).catch((e=>{console.error("H5 获取blob文件大小失败:",e),t({size:0,sizeKB:"0.00",sizeMB:"0.00"})})):fetch(e,{method:"HEAD"}).then((e=>{const s=e.headers.get("content-length");if(!s)throw new Error("无法获取文件大小");t({size:Number(s),sizeKB:(s/1024).toFixed(2),sizeMB:(s/1048576).toFixed(2)})})).catch((e=>{console.error("H5 获取文件大小失败:",e),t({size:0,sizeKB:"0.00",sizeMB:"0.00"})}))}catch(o){console.error("H5 处理异常:",o),t({size:0,sizeKB:"0.00",sizeMB:"0.00"})}})))(e),console.log("原图文件大小:",n.sizeKB,"KB")}catch(m){console.warn("获取原图文件大小失败,使用默认值:",m),n={size:0,sizeKB:"0.00",sizeMB:"0.00"}}const g=null!==i?i:!(p=Number(n.sizeKB))||p<=0?.8:p<100?.9:p<500?.8:.7;console.log("使用压缩质量:",g);const{width:_,height:y}=c;console.log("原图尺寸:",_,"x",y);const w=((e,t,s=1920)=>{if(e<=s)return{width:e,height:t};const o=s/e;return{width:Math.round(e*o),height:Math.round(t*o)}})(_,y,a);console.log("输出尺寸:",w.width,"x",w.height);const v=document.createElement("canvas"),b=v.getContext("2d");v.width=w.width,v.height=w.height,b.drawImage(c,0,0,w.width,w.height);const k=(e,t=25,s=3)=>{if(e.length<=t)return[e];const o=[];let i="",a=0;for(let l=0;l=t||l===e.length-1)&&(o.push(i),a++,i="",a===s&&l{const e=w.height-30-30*C.length;if(b.fillStyle="rgba(255, 255, 255, 1)",b.font="30px Arial",b.textBaseline="top",C.forEach(((t,s)=>{b.fillText(t,30,e+30*s)})),s)try{const t=await Q(s),i=new Image;i.crossOrigin="anonymous",i.onload=()=>{const t=e-200-10;b.globalAlpha=o,b.drawImage(i,30,t,200,200),b.globalAlpha=1,v.toBlob((e=>{const t=URL.createObjectURL(e);console.log("H5 水印图片导出成功:",t);const s={size:e.size,sizeKB:(e.size/1024).toFixed(2),sizeMB:(e.size/1048576).toFixed(2)};l({filePath:t,originalSize:{width:_,height:y,fileSize:n},watermarkSize:{width:w.width,height:w.height,fileSize:s}})}),"image/jpeg",g)},i.onerror=e=>{console.error("H5 logo加载失败:",e),v.toBlob((e=>{const t=URL.createObjectURL(e);console.log("H5 水印图片导出成功(logo加载失败):",t);const s={size:e.size,sizeKB:(e.size/1024).toFixed(2),sizeMB:(e.size/1048576).toFixed(2)};l({filePath:t,originalSize:{width:_,height:y,fileSize:n},watermarkSize:{width:w.width,height:w.height,fileSize:s}})}),"image/jpeg",g)},i.src=t}catch(m){console.error("H5 获取logo失败:",m),v.toBlob((e=>{const t=URL.createObjectURL(e);console.log("H5 水印图片导出成功(logo获取失败):",t);const s={size:e.size,sizeKB:(e.size/1024).toFixed(2),sizeMB:(e.size/1048576).toFixed(2)};l({filePath:t,originalSize:{width:_,height:y,fileSize:n},watermarkSize:{width:w.width,height:w.height,fileSize:s}})}),"image/jpeg",g)}else v.toBlob((e=>{const t=URL.createObjectURL(e);console.log("H5 水印图片导出成功(无logo):",t);const s={size:e.size,sizeKB:(e.size/1024).toFixed(2),sizeMB:(e.size/1048576).toFixed(2)};l({filePath:t,originalSize:{width:_,height:y,fileSize:n},watermarkSize:{width:w.width,height:w.height,fileSize:s}})}),"image/jpeg",g)};await S()}catch(g){console.error("H5 处理图片失败:",g),n(g)}var p},c.onerror=e=>{console.error("H5 图片加载失败:",e),n(e)},c.src=e}catch(c){console.error("H5 创建图片对象失败:",c),n(c)}})),te=e=>new Promise(((t,s)=>{try{const s=document.createElement("a");s.href=e,s.download="image_"+Date.now(),document.body.appendChild(s),s.click(),document.body.removeChild(s),console.log("H5 触发浏览器下载成功"),t(!0)}catch(o){console.error("H5 保存图片失败:",o),s(o)}}));async function se(e,t,s){return new Promise(((o,i)=>{T({url:e,data:t,method:s,success:function(e){o(e.data)}})}))}async function oe(e,t){return se(e,t,"GET")}var ie="https://wc.zpc-xy.com/";const ae=async e=>{var t=ie+"addworkrecord";console.log(t,e);const s=await async function(e,t){return se(e,t,"POST")}(t,e);return s},le=ie+"webapi",ne=L({__name:"index",setup(o){const i=P("水印相机"),a=P([]),n=P(""),c=P(null),r=P({location:{lat:null,lng:null},translate:{lat:null,lng:null,locationInfo:null}}),u=P(""),b=P(""),k=P({original:{width:0,height:0,fileSize:null},watermark:{width:0,height:0,fileSize:null}}),C=P(["请选择"]),S=P(0),z=P([""]),x=P([]),T=P(0),F=P(""),L=P(""),E=P(!1);let N="";const W=async()=>{A({title:"加载中。。。"});try{const e=await(async()=>new Promise(((e,t)=>{$({isHighAccuracy:!0,altitude:!0,accuracy:"best",success:t=>{e(t)},fail:e=>{t(e)}})})))();console.log("系统坐标",e);const t=e.latitude+","+e.longitude;console.log("经纬度",t);const s=await(async e=>{console.log(le);const t=`${le}/GetLocationTranslate?locations=${e}&type=1`,s=await oe(t,{});return 200==s.code?s.data:""})(t);console.log("转换后",s);const o=s.lat+","+s.lng,i=await(async e=>{const t=`${le}/GetLocationGeocoder?location=${e}`;return(await oe(t,{})).data})(o);console.log("地理编码结果",i),r.value.location.lat=e.latitude,r.value.location.lng=e.longitude,r.value.translate.lat=s.lat,r.value.translate.lng=s.lng,r.value.translate.locationInfo=i||"未知位置",F.value=i||"未知位置",L.value=new Date;const a=await(async()=>new Promise(((e,t)=>{B({count:1,success:t=>{e(t)},fail:e=>{t(e)}})})))();console.log("图片",a),b.value=a.tempFilePaths[0],u.value=a.tempFilePaths[0],await ne(),I(),c.value.open()}catch(e){console.log("错误",e),I()}},X=()=>{R({urls:[u.value]})},G=async e=>{if(console.log("选择的工作内容:",e),null!=de[e]){var t=de[e];t.dept&&C.value.includes(t.dept)&&(S.value=C.value.indexOf(t.dept)),t.status&&x.value.includes(t.status)&&(T.value=x.value.indexOf(t.status)),t.workers&&Array.isArray(t.workers)&&(z.value.splice(0,z.value.length),z.value.push(...t.workers)),await ne(e),console.log("加载的历史数据:",t)}},J=e=>{S.value=e.detail.value},se=e=>{T.value=e.detail.value},ie=()=>{z.value.push("")},ne=async(e="")=>{try{const t={time:Z(L.value),location:F.value,longitude:r.value.translate.lng,latitude:r.value.translate.lat,department:C.value[S.value],workers:z.value.filter((e=>""!==e.trim())),status:x.value[T.value],remarks:n.value};""==n.value&&""!=e&&(t.remarks=e),console.log("水印信息:",t),console.log("原图路径:",b.value);const s=await ee(b.value,t,N,1);console.log("水印结果:",s),u.value=s.filePath,k.value={original:s.originalSize,watermark:s.watermarkSize}}catch(t){console.error("添加水印失败:",t),H({title:"添加水印失败",icon:"error"})}},ce=()=>{c.value.close(),pe()},re=async()=>{if(!E.value&&fe(!1)){E.value=!0;try{A({title:"保存中..."}),await ne(),u.value&&await te(u.value),I(),H({title:"图片保存成功",icon:"success"})}catch(e){console.error("保存图片失败:",e),I(),H({title:"保存图片失败",icon:"error"})}finally{setTimeout((()=>{E.value=!1}),1e3)}}},ue=async()=>{z.value.splice(0,z.value.length),z.value.push(""),T.value=0,S.value=0,n.value="",me(),await ne()};var de={};const he=async()=>{if(!E.value&&fe(!0)){E.value=!0;try{A({title:"保存中..."}),await ne();var e={workContent:n.value,workers:z.value.filter((e=>""!==e.trim())),status:x.value[T.value],dept:C.value[S.value],date:(new Date).toISOString()};console.log(e),de[n.value]=e,D("locationData",de);var t={locations:r.value,workContent:n.value,workers:z.value,status:x.value[T.value],dept:C.value[S.value]},s=JSON.stringify(r.value),o=await(a=u.value,new Promise(((e,t)=>{const s=new Image;s.crossOrigin="anonymous";let o="image/jpeg";const i=a.match(/\.(png|jpe?g|gif|bmp|webp|svg)(\?.*)?$/i);i&&(o=`image/${i[1].toLowerCase()}`,"image/jpg"===o&&(o="image/jpeg")),s.src=a,s.onload=()=>{const t=document.createElement("canvas");t.width=s.width,t.height=s.height,t.getContext("2d").drawImage(s,0,0,s.width,s.height);const i=t.toDataURL(o,1);e(i)},s.onerror=t})));console.log(t);const l={DeptName:C.value[S.value],Image:o,RecordTime:Z(L.value),Longitude:r.value.translate.lng,Latitude:r.value.translate.lat,Address:F.value,Content:n.value,StatusName:x.value[T.value],Remarks:s,Workers:z.value};var i=await ae(l);if(console.log(i),200!=i.code)return I(),void H({title:i.msg,icon:"error"});u.value&&await te(u.value),I(),H({title:"保存成功",icon:"success"}),ce()}catch(l){console.error("保存失败:",l),I(),H({title:"保存失败",icon:"error"})}finally{setTimeout((()=>{E.value=!1}),1e3)}var a}},fe=(e=!1)=>{if(!F.value||""===F.value.trim())return H({title:"位置信息不能为空",icon:"error"}),!1;if(e){if(!n.value||""===n.value.trim())return H({title:"请填写工作内容",icon:"error"}),!1;if(0===S.value)return H({title:"请选择部门",icon:"error"}),!1;if(0===z.value.filter((e=>""!==e.trim())).length)return H({title:"请填写施工人员",icon:"error"}),!1;if(0===T.value)return H({title:"请选择项目状态",icon:"error"}),!1}return!0},pe=()=>{u.value="",b.value="",F.value="",L.value="",k.value={original:{width:0,height:0,fileSize:null},watermark:{width:0,height:0,fileSize:null}},z.value.splice(0,z.value.length),z.value.push(""),T.value=0,S.value=0,n.value="",me()},me=()=>{a.value.splice(0,a.value.length);Object.entries(de).filter((([e,t])=>t&&t.date)).sort(((e,t)=>{const s=new Date(e[1].date);return new Date(t[1].date)-s})).forEach((([e,t])=>{console.log(`工作内容: ${e}, 时间: ${t.date}`),a.value.push(e)}))};return Y((async()=>{A({title:"loading..."});try{const t=await(async()=>(await oe("https://wc.zpc-xy.com/config",{})).data)();console.log("配置",t),N=t.logo,C.value.push(...t.deptList),x.value.push(...t.construction),await Q(N);var e=V("locationData");null!=e&&(de=e,me())}catch(t){console.error("初始化失败:",t)}finally{I()}})),(o,r)=>{const b=O,$=l,B=M,P=w,A=v,V=U(d("uni-combox"),K),I=j,R=U(d("uni-popup"),q);return e(),t(P,null,{default:s((()=>[h(P,null,{default:s((()=>[h(b,{class:"logo",src:"/assets/logo-BPcuOvO7.jpg"}),h($,{class:"title"},{default:s((()=>[f(p(i.value),1)])),_:1}),h(P,{class:"btn-view"},{default:s((()=>[h(B,{type:"primary",class:"btn",onClick:W},{default:s((()=>[f(" 开始拍摄 ")])),_:1})])),_:1})])),_:1}),h(R,{ref_key:"popup",ref:c,"is-mask-click":!1,type:"bottom","border-radius":"0 0 0 0"},{default:s((()=>[h(P,{class:"container"},{default:s((()=>[h(P,{style:{height:"80rpx"}}),h(P,{class:"preview-box"},{default:s((()=>[h($,{class:"preview-title"},{default:s((()=>[f("图片预览")])),_:1}),h(P,{class:"preview-img"},{default:s((()=>[h(b,{src:u.value,onClick:X,mode:"aspectFit",class:"img"},null,8,["src"])])),_:1}),(k.value.original.width,m("",!0))])),_:1}),h(P,{class:"form-item"},{default:s((()=>[h($,{class:"label"},{default:s((()=>[f("位置:")])),_:1}),h(A,{modelValue:F.value,"onUpdate:modelValue":r[0]||(r[0]=e=>F.value=e),type:"text",class:"input worker-input"},null,8,["modelValue"])])),_:1}),h(P,{class:"form-item"},{default:s((()=>[h($,{class:"label"},{default:s((()=>[f("请填写工作内容:")])),_:1}),h(V,{candidates:a.value,"clear-able":!0,placeholder:"请填写工作内容",onSelect:G,modelValue:n.value,"onUpdate:modelValue":r[1]||(r[1]=e=>n.value=e)},null,8,["candidates","modelValue"])])),_:1}),h(P,{class:"form-item"},{default:s((()=>[h($,{class:"label"},{default:s((()=>[f("请选择部门:")])),_:1}),h(I,{range:C.value,onChange:J},{default:s((()=>[h(P,{class:"picker"},{default:s((()=>[f(p(C.value[S.value]),1)])),_:1})])),_:1},8,["range"])])),_:1}),h(P,{class:"form-item"},{default:s((()=>[h($,{class:"label"},{default:s((()=>[f("请填写施工人员:")])),_:1}),(e(!0),g(_,null,y(z.value,((o,i)=>(e(),t(P,{key:i,class:"worker-row"},{default:s((()=>[h(A,{type:"text",modelValue:z.value[i],"onUpdate:modelValue":e=>z.value[i]=e,class:"input worker-input"},null,8,["modelValue","onUpdate:modelValue"]),h(P,{class:"btns"},{default:s((()=>[h(B,{class:"btn_f",size:"mini",onClick:ie},{default:s((()=>[f("+")])),_:1}),z.value.length>0?(e(),t(B,{key:0,class:"btn_f",size:"mini",onClick:e=>(e=>{z.value.length>1&&z.value.splice(e,1)})(i)},{default:s((()=>[f(" - ")])),_:2},1032,["onClick"])):m("",!0)])),_:2},1024)])),_:2},1024)))),128))])),_:1}),h(P,{class:"form-item"},{default:s((()=>[h($,{class:"label"},{default:s((()=>[f("请选择项目状态:")])),_:1}),h(I,{range:x.value,onChange:se},{default:s((()=>[h(P,{class:"picker"},{default:s((()=>[f(p(x.value[T.value]),1)])),_:1})])),_:1},8,["range"])])),_:1}),h(P,{class:"footer"},{default:s((()=>[h(B,{type:"primary",class:"btn-cancel",onClick:ce},{default:s((()=>[f(" 重拍 ")])),_:1}),h(B,{type:"primary",class:"btn-cancel",onClick:ue},{default:s((()=>[f(" 清空 ")])),_:1}),h(B,{type:"primary",class:"btn-save",onClick:re,disabled:E.value},{default:s((()=>[f(" 保存图片 ")])),_:1},8,["disabled"]),h(B,{type:"primary",class:"btn-submit",onClick:he,disabled:E.value},{default:s((()=>[f(" 提交数据 ")])),_:1},8,["disabled"])])),_:1})])),_:1})])),_:1},512)])),_:1})}}},[["__scopeId","data-v-e9270139"]]);export{ne as default}; diff --git a/unpackage/dist/build/web/assets/uni.a3a8f738.css b/unpackage/dist/build/web/assets/uni.a3a8f738.css deleted file mode 100644 index 41cad0c..0000000 --- a/unpackage/dist/build/web/assets/uni.a3a8f738.css +++ /dev/null @@ -1 +0,0 @@ -uni-button{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;line-height:2.55555556;border-radius:5px;-webkit-tap-highlight-color:transparent;overflow:hidden;color:#000;background-color:#f8f8f8;cursor:pointer}uni-button[hidden]{display:none!important}uni-button:after{content:" ";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0,0,0,.2);transform:scale(.5);transform-origin:0 0;box-sizing:border-box;border-radius:10px}uni-button[native]{padding-left:0;padding-right:0}uni-button[native] .uni-button-cover-view-wrapper{border:inherit;border-color:inherit;border-radius:inherit;background-color:inherit}uni-button[native] .uni-button-cover-view-inner{padding-left:14px;padding-right:14px}uni-button uni-cover-view{line-height:inherit;white-space:inherit}uni-button[type=default]{color:#000;background-color:#f8f8f8}uni-button[type=primary]{color:#fff;background-color:#007aff}uni-button[type=warn]{color:#fff;background-color:#e64340}uni-button[disabled]{color:rgba(255,255,255,.6);cursor:not-allowed}uni-button[disabled][type=default],uni-button[disabled]:not([type]){color:rgba(0,0,0,.3);background-color:#f7f7f7}uni-button[disabled][type=primary]{background-color:rgba(0,122,255,.6)}uni-button[disabled][type=warn]{background-color:#ec8b89}uni-button[type=primary][plain]{color:#007aff;border:1px solid #007aff;background-color:transparent}uni-button[type=primary][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=primary][plain]:after{border-width:0}uni-button[type=default][plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[type=default][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=default][plain]:after{border-width:0}uni-button[plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[plain]:after{border-width:0}uni-button[plain][native] .uni-button-cover-view-inner{padding:0}uni-button[type=warn][plain]{color:#e64340;border:1px solid #e64340;background-color:transparent}uni-button[type=warn][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=warn][plain]:after{border-width:0}uni-button[size=mini]{display:inline-block;line-height:2.3;font-size:13px;padding:0 1.34em}uni-button[size=mini][native]{padding:0}uni-button[size=mini][native] .uni-button-cover-view-inner{padding:0 1.34em}uni-button[loading]:not([disabled]){cursor:progress}uni-button[loading]:before{content:" ";display:inline-block;width:18px;height:18px;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}uni-button[loading][type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}uni-button[loading][type=primary][plain]{color:#007aff;background-color:transparent}uni-button[loading][type=default]{color:rgba(0,0,0,.6);background-color:#dedede}uni-button[loading][type=default][plain]{color:#353535;background-color:transparent}uni-button[loading][type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}uni-button[loading][type=warn][plain]{color:#e64340;background-color:transparent}uni-button[loading][native]:before{content:none}.button-hover{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}.button-hover[type=primary][plain]{color:rgba(0,122,255,.6);border-color:rgba(0,122,255,.6);background-color:transparent}.button-hover[type=default]{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[type=default][plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}.button-hover[type=warn][plain]{color:rgba(230,67,64,.6);border-color:rgba(230,67,64,.6);background-color:transparent}uni-image{width:320px;height:240px;display:inline-block;overflow:hidden;position:relative}uni-image[hidden]{display:none}uni-image>div{width:100%;height:100%;background-repeat:no-repeat}uni-image>img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;display:block;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0}uni-image>.uni-image-will-change{will-change:transform}uni-input{display:block;font-size:16px;line-height:1.4em;height:1.4em;min-height:1.4em;overflow:hidden}uni-input[hidden]{display:none}.uni-input-wrapper,.uni-input-placeholder,.uni-input-form,.uni-input-input{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-input-wrapper,.uni-input-form{display:flex;position:relative;width:100%;height:100%;flex-direction:column;justify-content:center}.uni-input-placeholder,.uni-input-input{width:100%}.uni-input-placeholder{position:absolute;top:auto!important;left:0;color:gray;overflow:hidden;text-overflow:clip;white-space:pre;word-break:keep-all;pointer-events:none;line-height:inherit}.uni-input-input{position:relative;display:block;height:100%;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-input-input[type=search]::-webkit-search-cancel-button,.uni-input-input[type=search]::-webkit-search-decoration{display:none}.uni-input-input::-webkit-outer-spin-button,.uni-input-input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.uni-input-input[type=number]{-moz-appearance:textfield}.uni-input-input:disabled{-webkit-text-fill-color:currentcolor}uni-movable-area{display:block;position:relative;width:10px;height:10px}uni-movable-area[hidden]{display:none}uni-movable-view{display:inline-block;width:10px;height:10px;top:0;left:0;position:absolute;cursor:grab}uni-movable-view[hidden]{display:none}uni-picker-view-column{flex:1;position:relative;height:100%;overflow:hidden}uni-picker-view-column[hidden]{display:none}.uni-picker-view-group{height:100%;overflow:hidden}.uni-picker-view-mask{transform:translateZ(0)}.uni-picker-view-indicator,.uni-picker-view-mask{position:absolute;left:0;width:100%;z-index:3;pointer-events:none}.uni-picker-view-mask{top:0;height:100%;margin:0 auto;background-image:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.6)),linear-gradient(0deg,rgba(255,255,255,.95),rgba(255,255,255,.6));background-position:top,bottom;background-size:100% 102px;background-repeat:no-repeat;transform:translateZ(0)}.uni-picker-view-indicator{height:34px;top:50%;transform:translateY(-50%)}.uni-picker-view-content{position:absolute;top:0;left:0;width:100%;will-change:transform;padding:102px 0;cursor:pointer}.uni-picker-view-content>*{height:var(--picker-view-column-indicator-height);overflow:hidden}.uni-picker-view-indicator:before{top:0;border-top:1px solid #e5e5e5;transform-origin:0 0;transform:scaleY(.5)}.uni-picker-view-indicator:after{bottom:0;border-bottom:1px solid #e5e5e5;transform-origin:0 100%;transform:scaleY(.5)}.uni-picker-view-indicator:after,.uni-picker-view-indicator:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#e5e5e5}uni-picker-view{display:block}.uni-picker-view-wrapper{display:flex;position:relative;overflow:hidden;height:100%}uni-picker-view[hidden]{display:none}.uni-scroll-view-refresher{position:relative;overflow:hidden;flex-shrink:0}.uni-scroll-view-refresher-container{position:absolute;width:100%;bottom:0;display:flex;flex-direction:column-reverse}.uni-scroll-view-refresh{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:row;justify-content:center;align-items:center}.uni-scroll-view-refresh-inner{display:flex;align-items:center;justify-content:center;line-height:0;width:40px;height:40px;border-radius:50%;background-color:#fff;box-shadow:0 1px 6px rgba(0,0,0,.118),0 1px 4px rgba(0,0,0,.118)}.uni-scroll-view-refresh__spinner{transform-origin:center center;animation:uni-scroll-view-refresh-rotate 2s linear infinite}.uni-scroll-view-refresh__spinner>circle{stroke:currentColor;stroke-linecap:round;animation:uni-scroll-view-refresh-dash 2s linear infinite}@keyframes uni-scroll-view-refresh-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes uni-scroll-view-refresh-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}@keyframes once-show{0%{top:0}}uni-resize-sensor,uni-resize-sensor>div{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden}uni-resize-sensor{display:block;z-index:-1;visibility:hidden;animation:once-show 1ms}uni-resize-sensor>div>div{position:absolute;left:0;top:0}uni-resize-sensor>div:first-child>div{width:100000px;height:100000px}uni-resize-sensor>div:last-child>div{width:200%;height:200%}uni-scroll-view{display:block;width:100%}uni-scroll-view[hidden]{display:none}.uni-scroll-view{position:relative;-webkit-overflow-scrolling:touch;width:100%;height:100%;max-height:inherit}.uni-scroll-view-scrollbar-hidden::-webkit-scrollbar{display:none}.uni-scroll-view-scrollbar-hidden{-moz-scrollbars:none;scrollbar-width:none}.uni-scroll-view-content{width:100%;height:100%}uni-swiper-item{display:block;overflow:hidden;will-change:transform;position:absolute;width:100%;height:100%;cursor:grab}uni-swiper-item[hidden]{display:none}uni-swiper{display:block;height:150px}uni-swiper[hidden]{display:none}.uni-swiper-wrapper{overflow:hidden;position:relative;width:100%;height:100%;transform:translateZ(0)}.uni-swiper-slides{position:absolute;left:0;top:0;right:0;bottom:0}.uni-swiper-slide-frame{position:absolute;left:0;top:0;width:100%;height:100%;will-change:transform}.uni-swiper-dots{position:absolute;font-size:0}.uni-swiper-dots-horizontal{left:50%;bottom:10px;text-align:center;white-space:nowrap;transform:translate(-50%)}.uni-swiper-dots-horizontal .uni-swiper-dot{margin-right:8px}.uni-swiper-dots-horizontal .uni-swiper-dot:last-child{margin-right:0}.uni-swiper-dots-vertical{right:10px;top:50%;text-align:right;transform:translateY(-50%)}.uni-swiper-dots-vertical .uni-swiper-dot{display:block;margin-bottom:9px}.uni-swiper-dots-vertical .uni-swiper-dot:last-child{margin-bottom:0}.uni-swiper-dot{display:inline-block;width:8px;height:8px;cursor:pointer;transition-property:background-color;transition-timing-function:ease;background:rgba(0,0,0,.3);border-radius:50%}.uni-swiper-dot-active{background-color:#000}.uni-swiper-navigation{width:26px;height:26px;cursor:pointer;position:absolute;top:50%;margin-top:-13px;display:flex;align-items:center;transition:all .2s;border-radius:50%;opacity:1}.uni-swiper-navigation-disabled{opacity:.35;cursor:not-allowed}.uni-swiper-navigation-hide{opacity:0;cursor:auto;pointer-events:none}.uni-swiper-navigation-prev{left:10px}.uni-swiper-navigation-prev svg{margin-left:-1px;left:10px}.uni-swiper-navigation-prev.uni-swiper-navigation-vertical{top:18px;left:50%;margin-left:-13px}.uni-swiper-navigation-prev.uni-swiper-navigation-vertical svg{transform:rotate(90deg);margin-left:auto;margin-top:-2px}.uni-swiper-navigation-next{right:10px}.uni-swiper-navigation-next svg{transform:rotate(180deg)}.uni-swiper-navigation-next.uni-swiper-navigation-vertical{top:auto;bottom:5px;left:50%;margin-left:-13px}.uni-swiper-navigation-next.uni-swiper-navigation-vertical svg{margin-top:2px;transform:rotate(270deg)}uni-text[selectable]{cursor:auto;-webkit-user-select:text;user-select:text}uni-text{white-space:pre-line}uni-view{display:block}uni-view[hidden]{display:none}uni-toast{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;display:block;box-sizing:border-box;pointer-events:none;font-size:16px}.uni-sample-toast{position:fixed;z-index:999;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;max-width:80%}.uni-simple-toast__text{display:inline-block;vertical-align:middle;color:#fff;background-color:rgba(17,17,17,.7);padding:10px 20px;border-radius:5px;font-size:13px;text-align:center;max-width:100%;word-break:break-word;white-space:normal}uni-toast .uni-mask{pointer-events:auto}.uni-toast{position:fixed;z-index:999;width:8em;top:50%;left:50%;transform:translate(-50%,-50%);background:rgba(17,17,17,.7);text-align:center;border-radius:5px;color:#fff}.uni-toast *{box-sizing:border-box}.uni-toast__icon{margin:20px 0 0;width:38px!important;height:38px!important;vertical-align:baseline!important}.uni-icon_toast{margin:15px 0 0}.uni-icon_toast.uni-icon-success-no-circle:before{color:#fff;font-size:55px}.uni-icon_toast.uni-loading{margin:20px 0 0;width:38px;height:38px;vertical-align:baseline}.uni-toast__content{margin:0 0 15px}uni-picker{position:relative;display:block;cursor:pointer}uni-picker[hidden]{display:none}uni-picker[disabled]{cursor:not-allowed}.uni-picker-container{display:none;position:fixed;left:0;right:0;top:0;bottom:0;box-sizing:border-box;z-index:999;font-size:16px}.uni-picker-container .uni-picker-custom *{box-sizing:border-box}.uni-picker-container .uni-picker-custom{position:fixed;left:0;bottom:0;transform:translateY(100%);backface-visibility:hidden;z-index:999;width:100%;background-color:#fff;visibility:hidden;transition:transform .3s,visibility .3s}.uni-picker-container .uni-picker-custom.uni-picker-toggle{visibility:visible;transform:translate(0)}.uni-picker-container .uni-picker-content{position:relative;display:block;width:100%;height:238px;background-color:#fff}.uni-picker-container .uni-picker-item{padding:0;height:34px;line-height:34px;text-align:center;color:#000;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;cursor:pointer}.uni-picker-container .uni-picker-header{display:block;position:relative;text-align:center;width:100%;height:45px}.uni-picker-container .uni-picker-header:after{content:"";position:absolute;left:0;bottom:0;right:0;height:1px;clear:both;border-bottom:1px solid #e5e5e5;color:#e5e5e5;transform-origin:0 100%;transform:scaleY(.5)}.uni-picker-container .uni-picker-action{display:block;max-width:50%;top:0;height:100%;box-sizing:border-box;padding:0 14px;font-size:17px;line-height:45px;overflow:hidden;cursor:pointer}.uni-picker-container .uni-picker-action.uni-picker-action-cancel{float:left;color:#888}.uni-picker-container .uni-picker-action.uni-picker-action-confirm{float:right;color:#007aff}.uni-picker-container .uni-picker-select{display:none}.uni-picker-system{position:absolute;display:none;display:block;top:0;left:0;width:100%;height:100%;overflow:hidden}.uni-picker-system>.uni-picker-system_input{position:absolute;border:none;height:100%;opacity:0;cursor:pointer}.uni-picker-system>.uni-picker-system_input.firefox{top:0;left:0;width:100%}.uni-picker-system>.uni-picker-system_input.chrome{top:0;left:0;width:2em;font-size:32px;height:32px}@media screen and (min-width: 500px) and (min-height: 500px){.uni-mask.uni-picker-mask{background:none}.uni-picker-container .uni-picker-custom{width:300px!important;left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-50%);opacity:0;border-radius:5px;transition:opacity .3s,visibility .3s;box-shadow:0 0 20px 5px rgba(0,0,0,.3)}.uni-picker-container .uni-picker-header{border-radius:5px 5px 0 0}.uni-picker-container .uni-picker-content{transform:translate(0 0);overflow:hidden;border-radius:0 0 5px 5px}.uni-picker-container .uni-picker-custom.uni-picker-toggle{opacity:1;transform:translate(-50%,-50%)}.uni-selector-select .uni-picker-header,.uni-selector-select .uni-picker-content{display:none}.uni-selector-select .uni-picker-select{display:block;max-height:300px;overflow:auto;background-color:#fff;border-radius:5px;padding:6px 0}.uni-selector-select .uni-picker-item{padding:0 10px;color:#555}.uni-selector-select .uni-picker-item:hover{background-color:#f6f6f6}.uni-selector-select .uni-picker-item.selected{color:#007aff}} diff --git a/unpackage/dist/build/web/assets/uniicons-DN59BOw4.ttf b/unpackage/dist/build/web/assets/uniicons-DN59BOw4.ttf deleted file mode 100644 index 14696d0..0000000 Binary files a/unpackage/dist/build/web/assets/uniicons-DN59BOw4.ttf and /dev/null differ diff --git a/unpackage/dist/build/web/index.html b/unpackage/dist/build/web/index.html deleted file mode 100644 index 31f5296..0000000 --- a/unpackage/dist/build/web/index.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - WorkCameraf - - - - - - -
- - diff --git a/unpackage/dist/build/web/static/logo.jpg b/unpackage/dist/build/web/static/logo.jpg deleted file mode 100644 index 8d3b6e7..0000000 Binary files a/unpackage/dist/build/web/static/logo.jpg and /dev/null differ diff --git a/unpackage/dist/build/web/static/logo.png b/unpackage/dist/build/web/static/logo.png deleted file mode 100644 index b5771e2..0000000 Binary files a/unpackage/dist/build/web/static/logo.png and /dev/null differ diff --git a/unpackage/dist/cache/.vite/deps/_metadata.json b/unpackage/dist/cache/.vite/deps/_metadata.json deleted file mode 100644 index 98fb4e5..0000000 --- a/unpackage/dist/cache/.vite/deps/_metadata.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "hash": "61781937", - "configHash": "9f886a71", - "lockfileHash": "e3b0c442", - "browserHash": "ab22e44f", - "optimized": {}, - "chunks": {} -} \ No newline at end of file diff --git a/unpackage/dist/cache/.vite/deps/package.json b/unpackage/dist/cache/.vite/deps/package.json deleted file mode 100644 index 3dbc1ca..0000000 --- a/unpackage/dist/cache/.vite/deps/package.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "type": "module" -} diff --git a/unpackage/dist/dev/.nvue/app.css.js b/unpackage/dist/dev/.nvue/app.css.js deleted file mode 100644 index c5ba808..0000000 --- a/unpackage/dist/dev/.nvue/app.css.js +++ /dev/null @@ -1,11 +0,0 @@ -var __getOwnPropNames = Object.getOwnPropertyNames; -var __commonJS = (cb, mod) => function __require() { - return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; -}; -var require_app_css = __commonJS({ - "app.css.js"(exports) { - const _style_0 = {}; - exports.styles = [_style_0]; - } -}); -export default require_app_css(); diff --git a/unpackage/dist/dev/.nvue/app.js b/unpackage/dist/dev/.nvue/app.js deleted file mode 100644 index 8236d9e..0000000 --- a/unpackage/dist/dev/.nvue/app.js +++ /dev/null @@ -1,2 +0,0 @@ -Promise.resolve("./app.css.js").then(() => { -}); diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/app.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/app.js.map deleted file mode 100644 index e1d2874..0000000 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/app.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["\r\n\r\n\n","import App from './App'\n\n// #ifndef VUE3\nimport Vue from 'vue'\nimport './uni.promisify.adaptor'\nVue.config.productionTip = false\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()\n// #endif\n\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nexport function createApp() {\n const app = createSSRApp(App)\n return {\n app\n }\n}\n// #endif"],"names":["uni","createSSRApp","App"],"mappings":";;;;;;AACC,MAAK,YAAU;AAAA,EACd,UAAU,WAAW;AACpBA,kBAAAA,MAAA,MAAA,OAAA,gBAAY,YAAY;AAAA,EACxB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,gBAAA,UAAU;AAAA,EACtB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,UAAU;AAAA,EACvB;AACD;ACIM,SAAS,YAAY;AAC1B,QAAM,MAAMC,cAAY,aAACC,SAAG;AAC5B,SAAO;AAAA,IACL;AAAA,EACD;AACH;;;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/common/assets.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/common/assets.js.map deleted file mode 100644 index 060e10a..0000000 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/common/assets.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"assets.js","sources":["static/logo.jpg"],"sourcesContent":["export default \"__VITE_ASSET__7e2948b8__\""],"names":[],"mappings":";AAAA,MAAe,aAAA;;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/common/mapTranslateResult.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/common/mapTranslateResult.js.map deleted file mode 100644 index a4dfed5..0000000 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/common/mapTranslateResult.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"mapTranslateResult.js","sources":["common/mapTranslateResult.js"],"sourcesContent":["// request.js 需自行实现或使用 axios/fetch 等库\r\n\r\nimport {\r\n\tget\r\n} from \"./request\";\r\n\r\n// 腾讯地图基础配置\r\nconst TENGXUN_BASE = \"https://wc.zpc-xy.com/webapi\";\r\n\r\n\r\n/** 转换 GPS 经纬度 */\r\nexport const getLocationTranslate = async (locations) => {\r\n\tconst url = `${TENGXUN_BASE}/GetLocationTranslate?locations=${locations}&type=1`;\r\n\tconst res = await get(url, {});\r\n\t// console.log(res);\r\n\tif (res.code == 200) {\r\n\t\treturn res.data;\r\n\t}\r\n\treturn \"\";\r\n}\r\n\r\n/** 根据转换后的经纬度获取地址 */\r\nexport const getLocationGeocoder = async (locations) => {\r\n\tconst url = `${TENGXUN_BASE}/GetLocationGeocoder?location=${locations}`;\r\n\tconst res = await get(url, {});\r\n\treturn res.data;\r\n}"],"names":["get"],"mappings":";;AAOA,MAAM,eAAe;AAIT,MAAC,uBAAuB,OAAO,cAAc;AACxD,QAAM,MAAM,GAAG,YAAY,mCAAmC,SAAS;AACvE,QAAM,MAAM,MAAMA,eAAAA,IAAI,KAAK,CAAE,CAAA;AAE7B,MAAI,IAAI,QAAQ,KAAK;AACpB,WAAO,IAAI;AAAA,EACX;AACD,SAAO;AACR;AAGY,MAAC,sBAAsB,OAAO,cAAc;AACvD,QAAM,MAAM,GAAG,YAAY,iCAAiC,SAAS;AACrE,QAAM,MAAM,MAAMA,eAAAA,IAAI,KAAK,CAAE,CAAA;AAC7B,SAAO,IAAI;AACZ;;;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/common/request.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/common/request.js.map deleted file mode 100644 index d4dd401..0000000 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/common/request.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"request.js","sources":["common/request.js"],"sourcesContent":["export async function request(url, data, method) {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\tuni.request({\r\n\t\t\turl: url,\r\n\t\t\tdata: data,\r\n\t\t\tmethod: method,\r\n\t\t\tsuccess: function(res) {\r\n\t\t\t\tresolve(res.data);\r\n\t\t\t}\r\n\t\t})\r\n\t});\r\n}\r\n\r\nexport async function get(url, data) {\r\n\treturn request(url, data, \"GET\");\r\n}\r\n\r\nexport async function post(url, data) {\r\n\treturn request(url, data, \"POST\");\r\n}"],"names":["uni"],"mappings":";;AAAO,eAAe,QAAQ,KAAK,MAAM,QAAQ;AAChD,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACvCA,kBAAAA,MAAI,QAAQ;AAAA,MACX;AAAA,MACA;AAAA,MACA;AAAA,MACA,SAAS,SAAS,KAAK;AACtB,gBAAQ,IAAI,IAAI;AAAA,MAChB;AAAA,IACJ,CAAG;AAAA,EACH,CAAE;AACF;AAEO,eAAe,IAAI,KAAK,MAAM;AACpC,SAAO,QAAQ,KAAK,MAAM,KAAK;AAChC;AAEO,eAAe,KAAK,KAAK,MAAM;AACrC,SAAO,QAAQ,KAAK,MAAM,MAAM;AACjC;;;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/common/server.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/common/server.js.map deleted file mode 100644 index 19d8118..0000000 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/common/server.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"server.js","sources":["common/server.js"],"sourcesContent":["import {\r\n get,post\r\n} from \"./request\";\r\n\r\nvar base_url = \"https://wc.zpc-xy.com/\";\r\n// var base_url = \"http://192.168.1.21:8888/\";\r\n/**\r\n * 获取配置\r\n * @returns \r\n */\r\nexport const getConfig = async () => {\r\n var url = base_url + \"config\";\r\n const res = await get(url, {});\r\n return res.data;\r\n}\r\n\r\nexport const addWatermarkRecord = async (data) => {\r\n var url = base_url + \"addworkrecord\";\r\n\tconsole.log(url,data);\r\n const res = await post(url, data);\r\n return res;\r\n}\r\n\r\n"],"names":["get","uni","post"],"mappings":";;;AAIA,IAAI,WAAW;AAMH,MAAC,YAAY,YAAY;AACjC,MAAI,MAAM,WAAW;AACrB,QAAM,MAAM,MAAMA,eAAAA,IAAI,KAAK,CAAE,CAAA;AAC7B,SAAO,IAAI;AACf;AAEY,MAAC,qBAAqB,OAAO,SAAS;AAC9C,MAAI,MAAM,WAAW;AACxBC,gBAAA,MAAA,MAAA,OAAA,0BAAY,KAAI,IAAI;AACjB,QAAM,MAAM,MAAMC,eAAAA,KAAK,KAAK,IAAI;AAChC,SAAO;AACX;;;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/common/utils.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/common/utils.js.map deleted file mode 100644 index 526685b..0000000 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/common/utils.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"utils.js","sources":["common/utils.js"],"sourcesContent":["/**\r\n * 获取位置的异步函数\r\n */\r\nexport const getLocation = async () => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\tuni.getLocation({\r\n\t\t\tisHighAccuracy: true,\r\n\t\t\taltitude: true,\r\n\t\t\taccuracy: 'best',\r\n\t\t\tsuccess: (res) => {\r\n\t\t\t\tresolve(res);\r\n\t\t\t},\r\n\t\t\tfail: (err) => {\r\n\t\t\t\treject(err);\r\n\t\t\t}\r\n\t\t});\r\n\t});\r\n}\r\n\r\nexport const chooseImage = async () => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\tuni.chooseImage({\r\n\t\t\tcount: 1,\r\n\t\t\tsuccess: (res) => {\r\n\t\t\t\tresolve(res);\r\n\t\t\t},\r\n\t\t\tfail: (err) => {\r\n\t\t\t\treject(err);\r\n\t\t\t}\r\n\t\t});\r\n\t});\r\n}\r\n/**\r\n * \r\n * @param {*} date \r\n * @param {*} format \r\n * @returns \r\n */\r\nexport const formatDate = (date, format = 'YYYY-MM-DD HH:mm:ss') => {\r\n\tconst year = date.getFullYear();\r\n\tconst month = String(date.getMonth() + 1).padStart(2, '0');\r\n\tconst day = String(date.getDate()).padStart(2, '0');\r\n\tconst hours = String(date.getHours()).padStart(2, '0');\r\n\tconst minutes = String(date.getMinutes()).padStart(2, '0');\r\n\tconst seconds = String(date.getSeconds()).padStart(2, '0');\r\n\r\n\treturn format\r\n\t\t.replace('YYYY', year)\r\n\t\t.replace('MM', month)\r\n\t\t.replace('DD', day)\r\n\t\t.replace('HH', hours)\r\n\t\t.replace('mm', minutes)\r\n\t\t.replace('ss', seconds);\r\n}\r\n\r\n\r\n/**\r\n * 缓存logo图片的Map\r\n */\r\nconst logoCache = new Map();\r\n\r\n/**\r\n * 获取缓存的logo图片路径\r\n * @param {string} logoUrl - logo网络地址\r\n * @returns {Promise} - 返回本地缓存路径\r\n */\r\nexport const getCachedLogo = async (logoUrl) => {\r\n\t// 检查缓存中是否已存在\r\n\tif (logoCache.has(logoUrl)) {\r\n\t\tconsole.log('使用缓存的logo:', logoUrl);\r\n\t\treturn logoCache.get(logoUrl);\r\n\t}\r\n\r\n\t// 缓存中不存在,下载并缓存\r\n\treturn new Promise((resolve, reject) => {\r\n\t\tuni.downloadFile({\r\n\t\t\turl: logoUrl,\r\n\t\t\tsuccess: (downloadRes) => {\r\n\t\t\t\tconsole.log('下载并缓存logo:', logoUrl);\r\n\t\t\t\t// 将下载的图片路径存入缓存\r\n\t\t\t\tlogoCache.set(logoUrl, downloadRes.tempFilePath);\r\n\t\t\t\tresolve(downloadRes.tempFilePath);\r\n\t\t\t},\r\n\t\t\tfail: (err) => {\r\n\t\t\t\tconsole.error('下载logo失败:', err);\r\n\t\t\t\treject(err);\r\n\t\t\t}\r\n\t\t});\r\n\t});\r\n};\r\n\r\n/**\r\n * 清除logo缓存\r\n */\r\nexport const clearLogoCache = () => {\r\n\tlogoCache.clear();\r\n\tconsole.log('logo缓存已清除');\r\n};\r\n\r\n/**\r\n * 获取缓存大小\r\n */\r\nexport const getLogoCacheSize = () => {\r\n\treturn logoCache.size;\r\n};\r\n\r\n/**\r\n * 获取文件大小信息\r\n * @param {string} filePath - 文件路径\r\n * @returns {Promise} - 返回文件大小信息\r\n */\r\nconst getFileSize = async (filePath) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\tuni.getFileInfo({\r\n\t\t\tfilePath: filePath,\r\n\t\t\tsuccess: (res) => {\r\n\t\t\t\tresolve({\r\n\t\t\t\t\tsize: res.size, // 文件大小(字节)\r\n\t\t\t\t\tsizeKB: (res.size / 1024).toFixed(2), // KB\r\n\t\t\t\t\tsizeMB: (res.size / (1024 * 1024)).toFixed(2) // MB\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\tfail: (err) => {\r\n\t\t\t\tconsole.error('获取文件大小失败:', err);\r\n\t\t\t\treject(err);\r\n\t\t\t}\r\n\t\t});\r\n\t});\r\n};\r\n\r\n/**\r\n * 处理水印图片导出结果\r\n * @param {string} tempFilePath - 临时文件路径\r\n * @param {object} originalFileSize - 原图文件大小\r\n * @param {number} width - 图片宽度\r\n * @param {number} height - 图片高度\r\n * @param {function} resolve - Promise resolve函数\r\n */\r\nconst handleWatermarkExport = async (tempFilePath, originalFileSize, width, height, resolve) => {\r\n\ttry {\r\n\t\tconst watermarkFileSize = await getFileSize(tempFilePath);\r\n\t\tconsole.log('水印图片文件大小:', watermarkFileSize.sizeKB, 'KB');\r\n\t\tresolve({\r\n\t\t\tfilePath: tempFilePath,\r\n\t\t\toriginalSize: {\r\n\t\t\t\twidth: width,\r\n\t\t\t\theight: height,\r\n\t\t\t\tfileSize: originalFileSize\r\n\t\t\t},\r\n\t\t\twatermarkSize: {\r\n\t\t\t\twidth: width,\r\n\t\t\t\theight: height,\r\n\t\t\t\tfileSize: watermarkFileSize\r\n\t\t\t}\r\n\t\t});\r\n\t} catch (err) {\r\n\t\tconsole.error('获取水印图片文件大小失败:', err);\r\n\t\t// 即使获取文件大小失败,也返回其他信息\r\n\t\tresolve({\r\n\t\t\tfilePath: tempFilePath,\r\n\t\t\toriginalSize: {\r\n\t\t\t\twidth: width,\r\n\t\t\t\theight: height,\r\n\t\t\t\tfileSize: originalFileSize\r\n\t\t\t},\r\n\t\t\twatermarkSize: {\r\n\t\t\t\twidth: width,\r\n\t\t\t\theight: height,\r\n\t\t\t\tfileSize: null\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n};\r\n\r\n/**\r\n * 计算合适的压缩质量\r\n * @param {number} originalSizeKB - 原图大小(KB)\r\n * @returns {number} - 压缩质量(0-1)\r\n */\r\nconst calculateQuality = (originalSizeKB) => {\r\n\tif (originalSizeKB < 100) {\r\n\t\treturn 0.9; // 小图片使用高质量\r\n\t} else if (originalSizeKB < 500) {\r\n\t\treturn 0.8; // 中等图片使用中等质量\r\n\t} else {\r\n\t\treturn 0.7; // 大图片使用较低质量\r\n\t}\r\n};\r\n\r\n/**\r\n * 计算合适的输出尺寸\r\n * @param {number} width - 原图宽度\r\n * @param {number} height - 原图高度\r\n * @param {number} maxWidth - 最大宽度限制\r\n * @returns {object} - 输出尺寸 {width, height}\r\n */\r\nconst calculateOutputSize = (width, height, maxWidth = 1920) => {\r\n\t// 如果图片尺寸已经很小,不需要压缩\r\n\tif (width <= maxWidth) {\r\n\t\treturn {\r\n\t\t\twidth,\r\n\t\t\theight\r\n\t\t};\r\n\t}\r\n\r\n\t// 按比例缩放\r\n\tconst ratio = maxWidth / width;\r\n\treturn {\r\n\t\twidth: Math.round(width * ratio),\r\n\t\theight: Math.round(height * ratio)\r\n\t};\r\n};\r\n\r\n/**\r\n * 添加水印到图片\r\n * @param {string} imagePath - 原图片路径\r\n * @param {object} watermarkInfo - 水印信息对象\r\n * @param {string} logoUrl - logo图标网络地址(可选)\r\n * @param {number} logoOpacity - logo透明度,范围0-1,默认1(不透明)\r\n * @param {number} quality - 压缩质量,范围0-1,默认自动计算\r\n * @param {number} maxWidth - 最大输出宽度,默认1920\r\n * @returns {Promise} - 返回包含水印图片路径和文件大小信息的对象\r\n */\r\nexport const addWatermark = async (imagePath, watermarkInfo, logoUrl = null, logoOpacity = 1, quality = null, maxWidth =\r\n\t1920) => {\r\n\treturn new Promise(async (resolve, reject) => {\r\n\t\ttry {\r\n\t\t\t// 获取原图文件大小\r\n\t\t\tconst originalFileSize = await getFileSize(imagePath);\r\n\t\t\tconsole.log('原图文件大小:', originalFileSize.sizeKB, 'KB');\r\n\r\n\t\t\t// 计算压缩质量\r\n\t\t\tconst compressionQuality = quality !== null ? quality : calculateQuality(\r\n\t\t\t\toriginalFileSize.sizeKB);\r\n\t\t\tconsole.log('使用压缩质量:', compressionQuality);\r\n\r\n\t\t\t// 获取图片信息\r\n\t\t\tuni.getImageInfo({\r\n\t\t\t\tsrc: imagePath,\r\n\t\t\t\tsuccess: (imageInfo) => {\r\n\t\t\t\t\tconst {\r\n\t\t\t\t\t\twidth,\r\n\t\t\t\t\t\theight\r\n\t\t\t\t\t} = imageInfo;\r\n\t\t\t\t\tconsole.log('原图尺寸:', width, 'x', height);\r\n\r\n\t\t\t\t\t// 计算输出尺寸\r\n\t\t\t\t\tconst outputSize = calculateOutputSize(width, height, maxWidth);\r\n\t\t\t\t\tconsole.log('输出尺寸:', outputSize.width, 'x', outputSize.height);\r\n\r\n\t\t\t\t\t// 创建canvas上下文\r\n\t\t\t\t\tconst canvas = uni.createCanvasContext('watermarkCanvas');\r\n\r\n\t\t\t\t\t// 清空canvas\r\n\t\t\t\t\tcanvas.clearRect(0, 0, outputSize.width, outputSize.height);\r\n\r\n\t\t\t\t\t// 绘制原图片到canvas\r\n\t\t\t\t\tcanvas.drawImage(imagePath, 0, 0, outputSize.width, outputSize\r\n\t\t\t\t\t\t.height);\r\n\r\n\t\t\t\t\t// 处理水印文本,超过25个字符换行,最多3行\r\n\t\t\t\t\tconst processText = (text, maxChars = 25, maxLines = 3) => {\r\n\t\t\t\t\t\tif (text.length <= maxChars) {\r\n\t\t\t\t\t\t\treturn [text];\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tconst lines = [];\r\n\t\t\t\t\t\tlet currentLine = '';\r\n\t\t\t\t\t\tlet lineCount = 0;\r\n\r\n\t\t\t\t\t\tfor (let i = 0; i < text.length && lineCount <\r\n\t\t\t\t\t\t\tmaxLines; i++) {\r\n\t\t\t\t\t\t\tcurrentLine += text[i];\r\n\r\n\t\t\t\t\t\t\tif (currentLine.length >= maxChars || i === text\r\n\t\t\t\t\t\t\t\t.length - 1) {\r\n\t\t\t\t\t\t\t\tlines.push(currentLine);\r\n\t\t\t\t\t\t\t\tlineCount++;\r\n\t\t\t\t\t\t\t\tcurrentLine = '';\r\n\r\n\t\t\t\t\t\t\t\t// 如果还有剩余字符但已达到最大行数,添加省略号\r\n\t\t\t\t\t\t\t\tif (lineCount === maxLines && i < text.length - 1) {\r\n\t\t\t\t\t\t\t\t\tlines[lines.length - 1] = lines[lines.length -\r\n\t\t\t\t\t\t\t\t\t\t1].slice(\r\n\t\t\t\t\t\t\t\t\t\t0, -3) + '...';\r\n\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\treturn lines;\r\n\t\t\t\t\t};\r\n\r\n\t\t\t\t\t// 水印内容\r\n\t\t\t\t\tconst watermarkText = [\r\n\t\t\t\t\t\t`时间: ${watermarkInfo.time}`,\r\n\t\t\t\t\t\t`经度: ${watermarkInfo.longitude}`,\r\n\t\t\t\t\t\t`维度: ${watermarkInfo.latitude}`,\r\n\t\t\t\t\t];\r\n\r\n\t\t\t\t\tvar location = processText(\"位置: \" + watermarkInfo.location);\r\n\t\t\t\t\twatermarkText.push(...location);\r\n\t\t\t\t\tvar department = processText(\"部门: \" + watermarkInfo.department);\r\n\t\t\t\t\twatermarkText.push(...department);\r\n\t\t\t\t\tvar status = processText(\"状态: \" + watermarkInfo.status);\r\n\t\t\t\t\twatermarkText.push(...status);\r\n\t\t\t\t\tvar workers = processText(\"人员: \" + watermarkInfo.workers.join(\r\n\t\t\t\t\t\t', '));\r\n\t\t\t\t\twatermarkText.push(...workers);\r\n\t\t\t\t\tvar remarks = processText(\"内容: \" + watermarkInfo.remarks);\r\n\t\t\t\t\twatermarkText.push(...remarks);\r\n\r\n\t\t\t\t\t// 定义绘制文字水印的函数\r\n\t\t\t\t\tconst drawTextWatermark = () => {\r\n\t\t\t\t\t\t// 计算水印位置(左下角)\r\n\t\t\t\t\t\tconst padding = 30;\r\n\t\t\t\t\t\tconst fontSize = 40;\r\n\t\t\t\t\t\tconst lineHeight = 50;\r\n\t\t\t\t\t\tconst startX = padding;\r\n\t\t\t\t\t\tconst startY = outputSize.height - padding - (watermarkText\r\n\t\t\t\t\t\t\t.length * lineHeight);\r\n\r\n\t\t\t\t\t\t// 设置文字样式\r\n\t\t\t\t\t\tcanvas.setFillStyle('rgba(255, 255, 255, 1)');\r\n\t\t\t\t\t\tcanvas.setFontSize(fontSize);\r\n\t\t\t\t\t\tcanvas.setTextBaseline('top');\r\n\r\n\t\t\t\t\t\t// 绘制文字\r\n\t\t\t\t\t\twatermarkText.forEach((text, index) => {\r\n\t\t\t\t\t\t\tcanvas.fillText(text, startX, startY + (index *\r\n\t\t\t\t\t\t\t\tlineHeight));\r\n\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t// 如果有logo,在文字水印上方绘制logo\r\n\t\t\t\t\t\tif (logoUrl) {\r\n\t\t\t\t\t\t\t// 使用缓存获取logo图片\r\n\t\t\t\t\t\t\tgetCachedLogo(logoUrl).then((cachedLogoPath) => {\r\n\t\t\t\t\t\t\t\t// 动态计算logo位置:在文字水印上方\r\n\t\t\t\t\t\t\t\tconst logoSize = 200; // logo大小\r\n\t\t\t\t\t\t\t\tconst logoPadding = 30;\r\n\t\t\t\t\t\t\t\tconst logoX = logoPadding;\r\n\t\t\t\t\t\t\t\t// logo位置 = 文字水印起始位置 - logo高度 - 间距\r\n\t\t\t\t\t\t\t\tconst logoY = startY - logoSize - 10;\r\n\r\n\t\t\t\t\t\t\t\t// 设置logo透明度\r\n\t\t\t\t\t\t\t\tcanvas.setGlobalAlpha(logoOpacity);\r\n\r\n\t\t\t\t\t\t\t\t// 绘制logo\r\n\t\t\t\t\t\t\t\tcanvas.drawImage(cachedLogoPath, logoX,\r\n\t\t\t\t\t\t\t\t\tlogoY, logoSize, logoSize);\r\n\r\n\t\t\t\t\t\t\t\t// 恢复透明度为1(不影响后续绘制)\r\n\t\t\t\t\t\t\t\tcanvas.setGlobalAlpha(1);\r\n\r\n\t\t\t\t\t\t\t\t// 绘制到canvas\r\n\t\t\t\t\t\t\t\tcanvas.draw(true, () => {\r\n\t\t\t\t\t\t\t\t\tconsole.log(\r\n\t\t\t\t\t\t\t\t\t\t'Canvas绘制完成(包含logo)');\r\n\t\t\t\t\t\t\t\t\t// 延迟确保绘制完成\r\n\t\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\t\t// 将canvas导出为图片\r\n\t\t\t\t\t\t\t\t\t\tuni.canvasToTempFilePath({\r\n\t\t\t\t\t\t\t\t\t\t\tcanvasId: 'watermarkCanvas',\r\n\t\t\t\t\t\t\t\t\t\t\twidth: outputSize\r\n\t\t\t\t\t\t\t\t\t\t\t\t.width,\r\n\t\t\t\t\t\t\t\t\t\t\theight: outputSize\r\n\t\t\t\t\t\t\t\t\t\t\t\t.height,\r\n\t\t\t\t\t\t\t\t\t\t\tfileType: 'jpg', // 使用jpg格式,文件更小\r\n\t\t\t\t\t\t\t\t\t\t\tquality: compressionQuality, // 使用动态计算的压缩质量\r\n\t\t\t\t\t\t\t\t\t\t\tsuccess: (\r\n\t\t\t\t\t\t\t\t\t\t\t\tres\r\n\t\t\t\t\t\t\t\t\t\t\t) => {\r\n\t\t\t\t\t\t\t\t\t\t\t\tconsole\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.log(\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t'导出成功:',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tres\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.tempFilePath\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t\t\t\tconsole\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.log(\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t'水印图片尺寸:',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\toutputSize\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.width,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t'x',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\toutputSize\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.height\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t\t\t\thandleWatermarkExport\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t(res.tempFilePath,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\toriginalFileSize,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\toutputSize\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.width,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\toutputSize\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.height,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tresolve\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t\t\tfail: (\r\n\t\t\t\t\t\t\t\t\t\t\t\terr\r\n\t\t\t\t\t\t\t\t\t\t\t\t) => {\r\n\t\t\t\t\t\t\t\t\t\t\t\tconsole\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.error(\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t'导出图片失败:',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\terr\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t\t\t\treject\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t(\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\terr\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t}, 100);\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t}).catch((err) => {\r\n\t\t\t\t\t\t\t\tconsole.error('获取logo失败:', err);\r\n\t\t\t\t\t\t\t\t// logo获取失败时,只绘制文字水印\r\n\t\t\t\t\t\t\t\tcanvas.draw(true, () => {\r\n\t\t\t\t\t\t\t\t\tconsole.log(\r\n\t\t\t\t\t\t\t\t\t\t'Canvas绘制完成(logo获取失败)');\r\n\t\t\t\t\t\t\t\t\t// 延迟确保绘制完成\r\n\t\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\t\t// 将canvas导出为图片\r\n\t\t\t\t\t\t\t\t\t\tuni.canvasToTempFilePath({\r\n\t\t\t\t\t\t\t\t\t\t\tcanvasId: 'watermarkCanvas',\r\n\t\t\t\t\t\t\t\t\t\t\twidth: outputSize\r\n\t\t\t\t\t\t\t\t\t\t\t\t.width,\r\n\t\t\t\t\t\t\t\t\t\t\theight: outputSize\r\n\t\t\t\t\t\t\t\t\t\t\t\t.height,\r\n\t\t\t\t\t\t\t\t\t\t\tfileType: 'jpg', // 使用jpg格式,文件更小\r\n\t\t\t\t\t\t\t\t\t\t\tquality: compressionQuality, // 使用动态计算的压缩质量\r\n\t\t\t\t\t\t\t\t\t\t\tsuccess: (\r\n\t\t\t\t\t\t\t\t\t\t\t\tres\r\n\t\t\t\t\t\t\t\t\t\t\t) => {\r\n\t\t\t\t\t\t\t\t\t\t\t\tconsole\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.log(\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t'导出成功:',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tres\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.tempFilePath\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t\t\t\tconsole\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.log(\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t'水印图片尺寸:',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\toutputSize\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.width,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t'x',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\toutputSize\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.height\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t\t\t\thandleWatermarkExport\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t(res.tempFilePath,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\toriginalFileSize,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\toutputSize\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.width,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\toutputSize\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.height,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tresolve\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t\t\tfail: (\r\n\t\t\t\t\t\t\t\t\t\t\t\terr\r\n\t\t\t\t\t\t\t\t\t\t\t\t) => {\r\n\t\t\t\t\t\t\t\t\t\t\t\tconsole\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.error(\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t'导出图片失败:',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\terr\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t\t\t\treject\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t(\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\terr\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t}, 100);\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t// 没有logo时,只绘制文字水印\r\n\t\t\t\t\t\t\tcanvas.draw(true, () => {\r\n\t\t\t\t\t\t\t\tconsole.log('Canvas绘制完成(无logo)');\r\n\t\t\t\t\t\t\t\t// 延迟确保绘制完成\r\n\t\t\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\t\t\t// 将canvas导出为图片\r\n\t\t\t\t\t\t\t\t\tuni.canvasToTempFilePath({\r\n\t\t\t\t\t\t\t\t\t\tcanvasId: 'watermarkCanvas',\r\n\t\t\t\t\t\t\t\t\t\twidth: outputSize\r\n\t\t\t\t\t\t\t\t\t\t\t.width,\r\n\t\t\t\t\t\t\t\t\t\theight: outputSize\r\n\t\t\t\t\t\t\t\t\t\t\t.height,\r\n\t\t\t\t\t\t\t\t\t\tfileType: 'jpg', // 使用jpg格式,文件更小\r\n\t\t\t\t\t\t\t\t\t\tquality: compressionQuality, // 使用动态计算的压缩质量\r\n\t\t\t\t\t\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\t\t\t\t\t\tconsole.log(\r\n\t\t\t\t\t\t\t\t\t\t\t\t'导出成功:',\r\n\t\t\t\t\t\t\t\t\t\t\t\tres\r\n\t\t\t\t\t\t\t\t\t\t\t\t.tempFilePath\r\n\t\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t\t\tconsole.log(\r\n\t\t\t\t\t\t\t\t\t\t\t\t'水印图片尺寸:',\r\n\t\t\t\t\t\t\t\t\t\t\t\toutputSize\r\n\t\t\t\t\t\t\t\t\t\t\t\t.width,\r\n\t\t\t\t\t\t\t\t\t\t\t\t'x',\r\n\t\t\t\t\t\t\t\t\t\t\t\toutputSize\r\n\t\t\t\t\t\t\t\t\t\t\t\t.height\r\n\t\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t\t\thandleWatermarkExport\r\n\t\t\t\t\t\t\t\t\t\t\t\t(res.tempFilePath,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\toriginalFileSize,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\toutputSize\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.width,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\toutputSize\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t.height,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tresolve\r\n\t\t\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t\tfail: (err) => {\r\n\t\t\t\t\t\t\t\t\t\t\tconsole\r\n\t\t\t\t\t\t\t\t\t\t\t\t.error(\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t'导出图片失败:',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\terr\r\n\t\t\t\t\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t\t\t\t\treject(err);\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t}, 100);\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t};\r\n\r\n\t\t\t\t\t// 开始绘制文字水印\r\n\t\t\t\t\tdrawTextWatermark();\r\n\t\t\t\t},\r\n\t\t\t\tfail: (err) => {\r\n\t\t\t\t\tconsole.error('获取图片信息失败:', err);\r\n\t\t\t\t\treject(err);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t} catch (error) {\r\n\t\t\tconsole.error('处理图片失败:', error);\r\n\t\t\treject(error);\r\n\t\t}\r\n\t});\r\n}\r\n\r\nexport const saveImageToPhotosAlbum = (image) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\tuni.saveImageToPhotosAlbum({\r\n\t\t\tfilePath: image,\r\n\t\t\tsuccess: () => {\r\n\t\t\t\tconsole.log(\"图片保存到相册成功\");\r\n\t\t\t\tresolve(true);\r\n\t\t\t},\r\n\t\t\tfail: (err) => {\r\n\t\t\t\tconsole.error(\"保存到相册失败:\", err);\r\n\t\t\t\tif (err.errMsg && err.errMsg.includes(\"auth deny\")) {\r\n\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\ttitle: \"提示\",\r\n\t\t\t\t\t\tcontent: \"需要您授权保存图片到相册,请在设置中开启相册权限\",\r\n\t\t\t\t\t\tshowCancel: false,\r\n\t\t\t\t\t\tconfirmText: \"知道了\",\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\tresolve(false);\r\n\t\t\t},\r\n\t\t});\r\n\t});\r\n}\r\n/**\r\n * 图片转Base64(兼容小程序、App、H5)\r\n * @param {string} filePath - 图片路径(小程序临时路径 / H5本地URL / App本地路径)\r\n * @returns {Promise} Base64字符串(带data:image/前缀)\r\n */\r\nexport const imageToBase64 = (filePath) => {\r\n\treturn new Promise((resolve, reject) => {\r\n\t\t// #ifdef MP-WEIXIN\r\n\t\t// 微信小程序环境\r\n\t\tuni.getImageInfo({\r\n\t\t\tsrc: filePath,\r\n\t\t\tsuccess: (info) => {\r\n\t\t\t\tconst type = info.type || 'jpeg';\r\n\t\t\t\tuni.getFileSystemManager().readFile({\r\n\t\t\t\t\tfilePath,\r\n\t\t\t\t\tencoding: 'base64',\r\n\t\t\t\t\tsuccess: (res) => resolve(`data:image/${type};base64,${res.data}`),\r\n\t\t\t\t\tfail: reject\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\tfail: reject\r\n\t\t});\r\n\t\t// #endif\r\n\r\n\t\t// #ifdef APP-PLUS\r\n\t\t// App 环境\r\n\t\tplus.io.resolveLocalFileSystemURL(filePath, (entry) => {\r\n\t\t\tentry.file((file) => {\r\n\t\t\t\tconst reader = new plus.io.FileReader();\r\n\t\t\t\treader.onloadend = (e) => {\r\n\t\t\t\t\tresolve(e.target.result); // 已经是 data:image/...;base64,...\r\n\t\t\t\t};\r\n\t\t\t\treader.readAsDataURL(file);\r\n\t\t\t}, reject);\r\n\t\t}, reject);\r\n\t\t// #endif\r\n\r\n\t\t// #ifdef H5\r\n\t\t// H5 环境\r\n\t\tconst img = new Image();\r\n\t\timg.crossOrigin = \"anonymous\";\r\n\r\n\t\t// 先根据文件地址后缀判断类型\r\n\t\tlet mimeType = \"image/jpeg\"; // 默认\r\n\t\tconst match = filePath.match(/\\.(png|jpe?g|gif|bmp|webp|svg)(\\?.*)?$/i);\r\n\t\tif (match) {\r\n\t\t\tmimeType = `image/${match[1].toLowerCase()}`;\r\n\t\t\t// jpg -> image/jpeg\r\n\t\t\tif (mimeType === \"image/jpg\") mimeType = \"image/jpeg\";\r\n\t\t}\r\n\r\n\t\timg.src = filePath;\r\n\t\timg.onload = () => {\r\n\t\t\tconst canvas = document.createElement(\"canvas\");\r\n\t\t\tcanvas.width = img.width;\r\n\t\t\tcanvas.height = img.height;\r\n\t\t\tconst ctx = canvas.getContext(\"2d\");\r\n\t\t\tctx.drawImage(img, 0, 0, img.width, img.height);\r\n\t\t\tconst dataURL = canvas.toDataURL(mimeType, 1.0);\r\n\t\t\tresolve(dataURL);\r\n\t\t};\r\n\t\timg.onerror = reject;\r\n\t\t// #endif\r\n\r\n\t});\r\n};"],"names":["uni","err"],"mappings":"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"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map deleted file mode 100644 index ddf8901..0000000 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"vendor.js","sources":["../../../软件/HBuilderX/plugins/uniapp-cli-vite/node_modules/@vue/shared/dist/shared.esm-bundler.js","../../../软件/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-i18n/dist/uni-i18n.es.js","../../../软件/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-shared/dist/uni-shared.es.js","../../../软件/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-mp-vue/dist/vue.runtime.esm.js","../../../软件/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-mp-weixin/dist/uni.api.esm.js","../../../软件/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-console/dist/mp.esm.js","../../../软件/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-mp-weixin/dist/uni.mp.esm.js","../../../软件/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/uni-app/dist/uni-app.es.js"],"sourcesContent":["/**\n* @vue/shared v3.4.21\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\nfunction makeMap(str, expectsLowerCase) {\n const set = new Set(str.split(\",\"));\n return expectsLowerCase ? (val) => set.has(val.toLowerCase()) : (val) => set.has(val);\n}\n\nconst EMPTY_OBJ = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze({}) : {};\nconst EMPTY_ARR = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze([]) : [];\nconst NOOP = () => {\n};\nconst NO = () => false;\nconst isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter\n(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);\nconst isModelListener = (key) => key.startsWith(\"onUpdate:\");\nconst extend = Object.assign;\nconst remove = (arr, el) => {\n const i = arr.indexOf(el);\n if (i > -1) {\n arr.splice(i, 1);\n }\n};\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst hasOwn = (val, key) => hasOwnProperty.call(val, key);\nconst isArray = Array.isArray;\nconst isMap = (val) => toTypeString(val) === \"[object Map]\";\nconst isSet = (val) => toTypeString(val) === \"[object Set]\";\nconst isDate = (val) => toTypeString(val) === \"[object Date]\";\nconst isRegExp = (val) => toTypeString(val) === \"[object RegExp]\";\nconst isFunction = (val) => typeof val === \"function\";\nconst isString = (val) => typeof val === \"string\";\nconst isSymbol = (val) => typeof val === \"symbol\";\nconst isObject = (val) => val !== null && typeof val === \"object\";\nconst isPromise = (val) => {\n return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);\n};\nconst objectToString = Object.prototype.toString;\nconst toTypeString = (value) => objectToString.call(value);\nconst toRawType = (value) => {\n return toTypeString(value).slice(8, -1);\n};\nconst isPlainObject = (val) => toTypeString(val) === \"[object Object]\";\nconst isIntegerKey = (key) => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\nconst isReservedProp = /* @__PURE__ */ makeMap(\n // the leading comma is intentional so empty string \"\" is also included\n \",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\"\n);\nconst isBuiltInDirective = /* @__PURE__ */ makeMap(\n \"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\"\n);\nconst cacheStringFunction = (fn) => {\n const cache = /* @__PURE__ */ Object.create(null);\n return (str) => {\n const hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n};\nconst camelizeRE = /-(\\w)/g;\nconst camelize = cacheStringFunction((str) => {\n return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : \"\");\n});\nconst hyphenateRE = /\\B([A-Z])/g;\nconst hyphenate = cacheStringFunction(\n (str) => str.replace(hyphenateRE, \"-$1\").toLowerCase()\n);\nconst capitalize = cacheStringFunction((str) => {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\nconst toHandlerKey = cacheStringFunction((str) => {\n const s = str ? `on${capitalize(str)}` : ``;\n return s;\n});\nconst hasChanged = (value, oldValue) => !Object.is(value, oldValue);\nconst invokeArrayFns = (fns, arg) => {\n for (let i = 0; i < fns.length; i++) {\n fns[i](arg);\n }\n};\nconst def = (obj, key, value) => {\n Object.defineProperty(obj, key, {\n configurable: true,\n enumerable: false,\n value\n });\n};\nconst looseToNumber = (val) => {\n const n = parseFloat(val);\n return isNaN(n) ? val : n;\n};\nconst toNumber = (val) => {\n const n = isString(val) ? Number(val) : NaN;\n return isNaN(n) ? val : n;\n};\nlet _globalThis;\nconst getGlobalThis = () => {\n return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : {});\n};\nconst identRE = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/;\nfunction genPropsAccessExp(name) {\n return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;\n}\n\nconst PatchFlags = {\n \"TEXT\": 1,\n \"1\": \"TEXT\",\n \"CLASS\": 2,\n \"2\": \"CLASS\",\n \"STYLE\": 4,\n \"4\": \"STYLE\",\n \"PROPS\": 8,\n \"8\": \"PROPS\",\n \"FULL_PROPS\": 16,\n \"16\": \"FULL_PROPS\",\n \"NEED_HYDRATION\": 32,\n \"32\": \"NEED_HYDRATION\",\n \"STABLE_FRAGMENT\": 64,\n \"64\": \"STABLE_FRAGMENT\",\n \"KEYED_FRAGMENT\": 128,\n \"128\": \"KEYED_FRAGMENT\",\n \"UNKEYED_FRAGMENT\": 256,\n \"256\": \"UNKEYED_FRAGMENT\",\n \"NEED_PATCH\": 512,\n \"512\": \"NEED_PATCH\",\n \"DYNAMIC_SLOTS\": 1024,\n \"1024\": \"DYNAMIC_SLOTS\",\n \"DEV_ROOT_FRAGMENT\": 2048,\n \"2048\": \"DEV_ROOT_FRAGMENT\",\n \"HOISTED\": -1,\n \"-1\": \"HOISTED\",\n \"BAIL\": -2,\n \"-2\": \"BAIL\"\n};\nconst PatchFlagNames = {\n [1]: `TEXT`,\n [2]: `CLASS`,\n [4]: `STYLE`,\n [8]: `PROPS`,\n [16]: `FULL_PROPS`,\n [32]: `NEED_HYDRATION`,\n [64]: `STABLE_FRAGMENT`,\n [128]: `KEYED_FRAGMENT`,\n [256]: `UNKEYED_FRAGMENT`,\n [512]: `NEED_PATCH`,\n [1024]: `DYNAMIC_SLOTS`,\n [2048]: `DEV_ROOT_FRAGMENT`,\n [-1]: `HOISTED`,\n [-2]: `BAIL`\n};\n\nconst ShapeFlags = {\n \"ELEMENT\": 1,\n \"1\": \"ELEMENT\",\n \"FUNCTIONAL_COMPONENT\": 2,\n \"2\": \"FUNCTIONAL_COMPONENT\",\n \"STATEFUL_COMPONENT\": 4,\n \"4\": \"STATEFUL_COMPONENT\",\n \"TEXT_CHILDREN\": 8,\n \"8\": \"TEXT_CHILDREN\",\n \"ARRAY_CHILDREN\": 16,\n \"16\": \"ARRAY_CHILDREN\",\n \"SLOTS_CHILDREN\": 32,\n \"32\": \"SLOTS_CHILDREN\",\n \"TELEPORT\": 64,\n \"64\": \"TELEPORT\",\n \"SUSPENSE\": 128,\n \"128\": \"SUSPENSE\",\n \"COMPONENT_SHOULD_KEEP_ALIVE\": 256,\n \"256\": \"COMPONENT_SHOULD_KEEP_ALIVE\",\n \"COMPONENT_KEPT_ALIVE\": 512,\n \"512\": \"COMPONENT_KEPT_ALIVE\",\n \"COMPONENT\": 6,\n \"6\": \"COMPONENT\"\n};\n\nconst SlotFlags = {\n \"STABLE\": 1,\n \"1\": \"STABLE\",\n \"DYNAMIC\": 2,\n \"2\": \"DYNAMIC\",\n \"FORWARDED\": 3,\n \"3\": \"FORWARDED\"\n};\nconst slotFlagsText = {\n [1]: \"STABLE\",\n [2]: \"DYNAMIC\",\n [3]: \"FORWARDED\"\n};\n\nconst GLOBALS_ALLOWED = \"Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error\";\nconst isGloballyAllowed = /* @__PURE__ */ makeMap(GLOBALS_ALLOWED);\nconst isGloballyWhitelisted = isGloballyAllowed;\n\nconst range = 2;\nfunction generateCodeFrame(source, start = 0, end = source.length) {\n let lines = source.split(/(\\r?\\n)/);\n const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\n lines = lines.filter((_, idx) => idx % 2 === 0);\n let count = 0;\n const res = [];\n for (let i = 0; i < lines.length; i++) {\n count += lines[i].length + (newlineSequences[i] && newlineSequences[i].length || 0);\n if (count >= start) {\n for (let j = i - range; j <= i + range || end > count; j++) {\n if (j < 0 || j >= lines.length)\n continue;\n const line = j + 1;\n res.push(\n `${line}${\" \".repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`\n );\n const lineLength = lines[j].length;\n const newLineSeqLength = newlineSequences[j] && newlineSequences[j].length || 0;\n if (j === i) {\n const pad = start - (count - (lineLength + newLineSeqLength));\n const length = Math.max(\n 1,\n end > count ? lineLength - pad : end - start\n );\n res.push(` | ` + \" \".repeat(pad) + \"^\".repeat(length));\n } else if (j > i) {\n if (end > count) {\n const length = Math.max(Math.min(end - count, lineLength), 1);\n res.push(` | ` + \"^\".repeat(length));\n }\n count += lineLength + newLineSeqLength;\n }\n }\n break;\n }\n }\n return res.join(\"\\n\");\n}\n\nfunction normalizeStyle(value) {\n if (isArray(value)) {\n const res = {};\n for (let i = 0; i < value.length; i++) {\n const item = value[i];\n const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);\n if (normalized) {\n for (const key in normalized) {\n res[key] = normalized[key];\n }\n }\n }\n return res;\n } else if (isString(value) || isObject(value)) {\n return value;\n }\n}\nconst listDelimiterRE = /;(?![^(]*\\))/g;\nconst propertyDelimiterRE = /:([^]+)/;\nconst styleCommentRE = /\\/\\*[^]*?\\*\\//g;\nfunction parseStringStyle(cssText) {\n const ret = {};\n cssText.replace(styleCommentRE, \"\").split(listDelimiterRE).forEach((item) => {\n if (item) {\n const tmp = item.split(propertyDelimiterRE);\n tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());\n }\n });\n return ret;\n}\nfunction stringifyStyle(styles) {\n let ret = \"\";\n if (!styles || isString(styles)) {\n return ret;\n }\n for (const key in styles) {\n const value = styles[key];\n const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);\n if (isString(value) || typeof value === \"number\") {\n ret += `${normalizedKey}:${value};`;\n }\n }\n return ret;\n}\nfunction normalizeClass(value) {\n let res = \"\";\n if (isString(value)) {\n res = value;\n } else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n const normalized = normalizeClass(value[i]);\n if (normalized) {\n res += normalized + \" \";\n }\n }\n } else if (isObject(value)) {\n for (const name in value) {\n if (value[name]) {\n res += name + \" \";\n }\n }\n }\n return res.trim();\n}\nfunction normalizeProps(props) {\n if (!props)\n return null;\n let { class: klass, style } = props;\n if (klass && !isString(klass)) {\n props.class = normalizeClass(klass);\n }\n if (style) {\n props.style = normalizeStyle(style);\n }\n return props;\n}\n\nconst HTML_TAGS = \"html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot\";\nconst SVG_TAGS = \"svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view\";\nconst MATH_TAGS = \"annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics\";\nconst VOID_TAGS = \"area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr\";\nconst isHTMLTag = /* @__PURE__ */ makeMap(HTML_TAGS);\nconst isSVGTag = /* @__PURE__ */ makeMap(SVG_TAGS);\nconst isMathMLTag = /* @__PURE__ */ makeMap(MATH_TAGS);\nconst isVoidTag = /* @__PURE__ */ makeMap(VOID_TAGS);\n\nconst specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;\nconst isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);\nconst isBooleanAttr = /* @__PURE__ */ makeMap(\n specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`\n);\nfunction includeBooleanAttr(value) {\n return !!value || value === \"\";\n}\nconst unsafeAttrCharRE = /[>/=\"'\\u0009\\u000a\\u000c\\u0020]/;\nconst attrValidationCache = {};\nfunction isSSRSafeAttrName(name) {\n if (attrValidationCache.hasOwnProperty(name)) {\n return attrValidationCache[name];\n }\n const isUnsafe = unsafeAttrCharRE.test(name);\n if (isUnsafe) {\n console.error(`unsafe attribute name: ${name}`);\n }\n return attrValidationCache[name] = !isUnsafe;\n}\nconst propsToAttrMap = {\n acceptCharset: \"accept-charset\",\n className: \"class\",\n htmlFor: \"for\",\n httpEquiv: \"http-equiv\"\n};\nconst isKnownHtmlAttr = /* @__PURE__ */ makeMap(\n `accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`\n);\nconst isKnownSvgAttr = /* @__PURE__ */ makeMap(\n `xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`\n);\nfunction isRenderableAttrValue(value) {\n if (value == null) {\n return false;\n }\n const type = typeof value;\n return type === \"string\" || type === \"number\" || type === \"boolean\";\n}\n\nconst escapeRE = /[\"'&<>]/;\nfunction escapeHtml(string) {\n const str = \"\" + string;\n const match = escapeRE.exec(str);\n if (!match) {\n return str;\n }\n let html = \"\";\n let escaped;\n let index;\n let lastIndex = 0;\n for (index = match.index; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34:\n escaped = \""\";\n break;\n case 38:\n escaped = \"&\";\n break;\n case 39:\n escaped = \"'\";\n break;\n case 60:\n escaped = \"<\";\n break;\n case 62:\n escaped = \">\";\n break;\n default:\n continue;\n }\n if (lastIndex !== index) {\n html += str.slice(lastIndex, index);\n }\n lastIndex = index + 1;\n html += escaped;\n }\n return lastIndex !== index ? html + str.slice(lastIndex, index) : html;\n}\nconst commentStripRE = /^-?>||--!>| looseEqual(item, val));\n}\n\nconst toDisplayString = (val) => {\n return isString(val) ? val : val == null ? \"\" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val);\n};\nconst replacer = (_key, val) => {\n if (val && val.__v_isRef) {\n return replacer(_key, val.value);\n } else if (isMap(val)) {\n return {\n [`Map(${val.size})`]: [...val.entries()].reduce(\n (entries, [key, val2], i) => {\n entries[stringifySymbol(key, i) + \" =>\"] = val2;\n return entries;\n },\n {}\n )\n };\n } else if (isSet(val)) {\n return {\n [`Set(${val.size})`]: [...val.values()].map((v) => stringifySymbol(v))\n };\n } else if (isSymbol(val)) {\n return stringifySymbol(val);\n } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {\n return String(val);\n }\n return val;\n};\nconst stringifySymbol = (v, i = \"\") => {\n var _a;\n return isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v;\n};\n\nexport { EMPTY_ARR, EMPTY_OBJ, NO, NOOP, PatchFlagNames, PatchFlags, ShapeFlags, SlotFlags, camelize, capitalize, def, escapeHtml, escapeHtmlComment, extend, genPropsAccessExp, generateCodeFrame, getGlobalThis, hasChanged, hasOwn, hyphenate, includeBooleanAttr, invokeArrayFns, isArray, isBooleanAttr, isBuiltInDirective, isDate, isFunction, isGloballyAllowed, isGloballyWhitelisted, isHTMLTag, isIntegerKey, isKnownHtmlAttr, isKnownSvgAttr, isMap, isMathMLTag, isModelListener, isObject, isOn, isPlainObject, isPromise, isRegExp, isRenderableAttrValue, isReservedProp, isSSRSafeAttrName, isSVGTag, isSet, isSpecialBooleanAttr, isString, isSymbol, isVoidTag, looseEqual, looseIndexOf, looseToNumber, makeMap, normalizeClass, normalizeProps, normalizeStyle, objectToString, parseStringStyle, propsToAttrMap, remove, slotFlagsText, stringifyStyle, toDisplayString, toHandlerKey, toNumber, toRawType, toTypeString };\n","const isObject = (val) => val !== null && typeof val === 'object';\nconst defaultDelimiters = ['{', '}'];\nclass BaseFormatter {\n constructor() {\n this._caches = Object.create(null);\n }\n interpolate(message, values, delimiters = defaultDelimiters) {\n if (!values) {\n return [message];\n }\n let tokens = this._caches[message];\n if (!tokens) {\n tokens = parse(message, delimiters);\n this._caches[message] = tokens;\n }\n return compile(tokens, values);\n }\n}\nconst RE_TOKEN_LIST_VALUE = /^(?:\\d)+/;\nconst RE_TOKEN_NAMED_VALUE = /^(?:\\w)+/;\nfunction parse(format, [startDelimiter, endDelimiter]) {\n const tokens = [];\n let position = 0;\n let text = '';\n while (position < format.length) {\n let char = format[position++];\n if (char === startDelimiter) {\n if (text) {\n tokens.push({ type: 'text', value: text });\n }\n text = '';\n let sub = '';\n char = format[position++];\n while (char !== undefined && char !== endDelimiter) {\n sub += char;\n char = format[position++];\n }\n const isClosed = char === endDelimiter;\n const type = RE_TOKEN_LIST_VALUE.test(sub)\n ? 'list'\n : isClosed && RE_TOKEN_NAMED_VALUE.test(sub)\n ? 'named'\n : 'unknown';\n tokens.push({ value: sub, type });\n }\n // else if (char === '%') {\n // // when found rails i18n syntax, skip text capture\n // if (format[position] !== '{') {\n // text += char\n // }\n // }\n else {\n text += char;\n }\n }\n text && tokens.push({ type: 'text', value: text });\n return tokens;\n}\nfunction compile(tokens, values) {\n const compiled = [];\n let index = 0;\n const mode = Array.isArray(values)\n ? 'list'\n : isObject(values)\n ? 'named'\n : 'unknown';\n if (mode === 'unknown') {\n return compiled;\n }\n while (index < tokens.length) {\n const token = tokens[index];\n switch (token.type) {\n case 'text':\n compiled.push(token.value);\n break;\n case 'list':\n compiled.push(values[parseInt(token.value, 10)]);\n break;\n case 'named':\n if (mode === 'named') {\n compiled.push(values[token.value]);\n }\n else {\n if (process.env.NODE_ENV !== 'production') {\n console.warn(`Type of token '${token.type}' and format of value '${mode}' don't match!`);\n }\n }\n break;\n case 'unknown':\n if (process.env.NODE_ENV !== 'production') {\n console.warn(`Detect 'unknown' type of token!`);\n }\n break;\n }\n index++;\n }\n return compiled;\n}\n\nconst LOCALE_ZH_HANS = 'zh-Hans';\nconst LOCALE_ZH_HANT = 'zh-Hant';\nconst LOCALE_EN = 'en';\nconst LOCALE_FR = 'fr';\nconst LOCALE_ES = 'es';\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst hasOwn = (val, key) => hasOwnProperty.call(val, key);\nconst defaultFormatter = new BaseFormatter();\nfunction include(str, parts) {\n return !!parts.find((part) => str.indexOf(part) !== -1);\n}\nfunction startsWith(str, parts) {\n return parts.find((part) => str.indexOf(part) === 0);\n}\nfunction normalizeLocale(locale, messages) {\n if (!locale) {\n return;\n }\n locale = locale.trim().replace(/_/g, '-');\n if (messages && messages[locale]) {\n return locale;\n }\n locale = locale.toLowerCase();\n if (locale === 'chinese') {\n // 支付宝\n return LOCALE_ZH_HANS;\n }\n if (locale.indexOf('zh') === 0) {\n if (locale.indexOf('-hans') > -1) {\n return LOCALE_ZH_HANS;\n }\n if (locale.indexOf('-hant') > -1) {\n return LOCALE_ZH_HANT;\n }\n if (include(locale, ['-tw', '-hk', '-mo', '-cht'])) {\n return LOCALE_ZH_HANT;\n }\n return LOCALE_ZH_HANS;\n }\n let locales = [LOCALE_EN, LOCALE_FR, LOCALE_ES];\n if (messages && Object.keys(messages).length > 0) {\n locales = Object.keys(messages);\n }\n const lang = startsWith(locale, locales);\n if (lang) {\n return lang;\n }\n}\nclass I18n {\n constructor({ locale, fallbackLocale, messages, watcher, formater, }) {\n this.locale = LOCALE_EN;\n this.fallbackLocale = LOCALE_EN;\n this.message = {};\n this.messages = {};\n this.watchers = [];\n if (fallbackLocale) {\n this.fallbackLocale = fallbackLocale;\n }\n this.formater = formater || defaultFormatter;\n this.messages = messages || {};\n this.setLocale(locale || LOCALE_EN);\n if (watcher) {\n this.watchLocale(watcher);\n }\n }\n setLocale(locale) {\n const oldLocale = this.locale;\n this.locale = normalizeLocale(locale, this.messages) || this.fallbackLocale;\n if (!this.messages[this.locale]) {\n // 可能初始化时不存在\n this.messages[this.locale] = {};\n }\n this.message = this.messages[this.locale];\n // 仅发生变化时,通知\n if (oldLocale !== this.locale) {\n this.watchers.forEach((watcher) => {\n watcher(this.locale, oldLocale);\n });\n }\n }\n getLocale() {\n return this.locale;\n }\n watchLocale(fn) {\n const index = this.watchers.push(fn) - 1;\n return () => {\n this.watchers.splice(index, 1);\n };\n }\n add(locale, message, override = true) {\n const curMessages = this.messages[locale];\n if (curMessages) {\n if (override) {\n Object.assign(curMessages, message);\n }\n else {\n Object.keys(message).forEach((key) => {\n if (!hasOwn(curMessages, key)) {\n curMessages[key] = message[key];\n }\n });\n }\n }\n else {\n this.messages[locale] = message;\n }\n }\n f(message, values, delimiters) {\n return this.formater.interpolate(message, values, delimiters).join('');\n }\n t(key, locale, values) {\n let message = this.message;\n if (typeof locale === 'string') {\n locale = normalizeLocale(locale, this.messages);\n locale && (message = this.messages[locale]);\n }\n else {\n values = locale;\n }\n if (!hasOwn(message, key)) {\n console.warn(`Cannot translate the value of keypath ${key}. Use the value of keypath as default.`);\n return key;\n }\n return this.formater.interpolate(message[key], values).join('');\n }\n}\n\nfunction watchAppLocale(appVm, i18n) {\n // 需要保证 watch 的触发在组件渲染之前\n if (appVm.$watchLocale) {\n // vue2\n appVm.$watchLocale((newLocale) => {\n i18n.setLocale(newLocale);\n });\n }\n else {\n appVm.$watch(() => appVm.$locale, (newLocale) => {\n i18n.setLocale(newLocale);\n });\n }\n}\nfunction getDefaultLocale() {\n if (typeof uni !== 'undefined' && uni.getLocale) {\n return uni.getLocale();\n }\n // 小程序平台,uni 和 uni-i18n 互相引用,导致访问不到 uni,故在 global 上挂了 getLocale\n if (typeof global !== 'undefined' && global.getLocale) {\n return global.getLocale();\n }\n return LOCALE_EN;\n}\nfunction initVueI18n(locale, messages = {}, fallbackLocale, watcher) {\n // 兼容旧版本入参\n if (typeof locale !== 'string') {\n // ;[locale, messages] = [\n // messages as unknown as string,\n // locale as unknown as LocaleMessages,\n // ]\n // 暂不使用数组解构,uts编译器暂未支持。\n const options = [\n messages,\n locale,\n ];\n locale = options[0];\n messages = options[1];\n }\n if (typeof locale !== 'string') {\n // 因为小程序平台,uni-i18n 和 uni 互相引用,导致此时访问 uni 时,为 undefined\n locale = getDefaultLocale();\n }\n if (typeof fallbackLocale !== 'string') {\n fallbackLocale =\n (typeof __uniConfig !== 'undefined' && __uniConfig.fallbackLocale) ||\n LOCALE_EN;\n }\n const i18n = new I18n({\n locale,\n fallbackLocale,\n messages,\n watcher,\n });\n let t = (key, values) => {\n if (typeof getApp !== 'function') {\n // app view\n /* eslint-disable no-func-assign */\n t = function (key, values) {\n return i18n.t(key, values);\n };\n }\n else {\n let isWatchedAppLocale = false;\n t = function (key, values) {\n const appVm = getApp().$vm;\n // 可能$vm还不存在,比如在支付宝小程序中,组件定义较早,在props的default里使用了t()函数(如uni-goods-nav),此时app还未初始化\n // options: {\n // \ttype: Array,\n // \tdefault () {\n // \t\treturn [{\n // \t\t\ticon: 'shop',\n // \t\t\ttext: t(\"uni-goods-nav.options.shop\"),\n // \t\t}, {\n // \t\t\ticon: 'cart',\n // \t\t\ttext: t(\"uni-goods-nav.options.cart\")\n // \t\t}]\n // \t}\n // },\n if (appVm) {\n // 触发响应式\n appVm.$locale;\n if (!isWatchedAppLocale) {\n isWatchedAppLocale = true;\n watchAppLocale(appVm, i18n);\n }\n }\n return i18n.t(key, values);\n };\n }\n return t(key, values);\n };\n return {\n i18n,\n f(message, values, delimiters) {\n return i18n.f(message, values, delimiters);\n },\n t(key, values) {\n return t(key, values);\n },\n add(locale, message, override = true) {\n return i18n.add(locale, message, override);\n },\n watch(fn) {\n return i18n.watchLocale(fn);\n },\n getLocale() {\n return i18n.getLocale();\n },\n setLocale(newLocale) {\n return i18n.setLocale(newLocale);\n },\n };\n}\n\nconst isString = (val) => typeof val === 'string';\nlet formater;\nfunction hasI18nJson(jsonObj, delimiters) {\n if (!formater) {\n formater = new BaseFormatter();\n }\n return walkJsonObj(jsonObj, (jsonObj, key) => {\n const value = jsonObj[key];\n if (isString(value)) {\n if (isI18nStr(value, delimiters)) {\n return true;\n }\n }\n else {\n return hasI18nJson(value, delimiters);\n }\n });\n}\nfunction parseI18nJson(jsonObj, values, delimiters) {\n if (!formater) {\n formater = new BaseFormatter();\n }\n walkJsonObj(jsonObj, (jsonObj, key) => {\n const value = jsonObj[key];\n if (isString(value)) {\n if (isI18nStr(value, delimiters)) {\n jsonObj[key] = compileStr(value, values, delimiters);\n }\n }\n else {\n parseI18nJson(value, values, delimiters);\n }\n });\n return jsonObj;\n}\nfunction compileI18nJsonStr(jsonStr, { locale, locales, delimiters, }) {\n if (!isI18nStr(jsonStr, delimiters)) {\n return jsonStr;\n }\n if (!formater) {\n formater = new BaseFormatter();\n }\n const localeValues = [];\n Object.keys(locales).forEach((name) => {\n if (name !== locale) {\n localeValues.push({\n locale: name,\n values: locales[name],\n });\n }\n });\n localeValues.unshift({ locale, values: locales[locale] });\n try {\n return JSON.stringify(compileJsonObj(JSON.parse(jsonStr), localeValues, delimiters), null, 2);\n }\n catch (e) { }\n return jsonStr;\n}\nfunction isI18nStr(value, delimiters) {\n return value.indexOf(delimiters[0]) > -1;\n}\nfunction compileStr(value, values, delimiters) {\n return formater.interpolate(value, values, delimiters).join('');\n}\nfunction compileValue(jsonObj, key, localeValues, delimiters) {\n const value = jsonObj[key];\n if (isString(value)) {\n // 存在国际化\n if (isI18nStr(value, delimiters)) {\n jsonObj[key] = compileStr(value, localeValues[0].values, delimiters);\n if (localeValues.length > 1) {\n // 格式化国际化语言\n const valueLocales = (jsonObj[key + 'Locales'] = {});\n localeValues.forEach((localValue) => {\n valueLocales[localValue.locale] = compileStr(value, localValue.values, delimiters);\n });\n }\n }\n }\n else {\n compileJsonObj(value, localeValues, delimiters);\n }\n}\nfunction compileJsonObj(jsonObj, localeValues, delimiters) {\n walkJsonObj(jsonObj, (jsonObj, key) => {\n compileValue(jsonObj, key, localeValues, delimiters);\n });\n return jsonObj;\n}\nfunction walkJsonObj(jsonObj, walk) {\n if (Array.isArray(jsonObj)) {\n for (let i = 0; i < jsonObj.length; i++) {\n if (walk(jsonObj, i)) {\n return true;\n }\n }\n }\n else if (isObject(jsonObj)) {\n for (const key in jsonObj) {\n if (walk(jsonObj, key)) {\n return true;\n }\n }\n }\n return false;\n}\n\nfunction resolveLocale(locales) {\n return (locale) => {\n if (!locale) {\n return locale;\n }\n locale = normalizeLocale(locale) || locale;\n return resolveLocaleChain(locale).find((locale) => locales.indexOf(locale) > -1);\n };\n}\nfunction resolveLocaleChain(locale) {\n const chain = [];\n const tokens = locale.split('-');\n while (tokens.length) {\n chain.push(tokens.join('-'));\n tokens.pop();\n }\n return chain;\n}\n\nexport { BaseFormatter as Formatter, I18n, LOCALE_EN, LOCALE_ES, LOCALE_FR, LOCALE_ZH_HANS, LOCALE_ZH_HANT, compileI18nJsonStr, hasI18nJson, initVueI18n, isI18nStr, isString, normalizeLocale, parseI18nJson, resolveLocale };\n","import { isHTMLTag, isSVGTag, isVoidTag, isString, isFunction, isPlainObject, hyphenate, camelize, normalizeStyle as normalizeStyle$1, parseStringStyle, isArray, normalizeClass as normalizeClass$1, extend, capitalize, makeMap } from '@vue/shared';\n\nconst BUILT_IN_TAG_NAMES = [\n 'ad',\n 'ad-content-page',\n 'ad-draw',\n 'audio',\n 'button',\n 'camera',\n 'canvas',\n 'checkbox',\n 'checkbox-group',\n 'cover-image',\n 'cover-view',\n 'editor',\n 'form',\n 'functional-page-navigator',\n 'icon',\n 'image',\n 'input',\n 'label',\n 'live-player',\n 'live-pusher',\n 'map',\n 'movable-area',\n 'movable-view',\n 'navigator',\n 'official-account',\n 'open-data',\n 'picker',\n 'picker-view',\n 'picker-view-column',\n 'progress',\n 'radio',\n 'radio-group',\n 'rich-text',\n 'scroll-view',\n 'slider',\n 'swiper',\n 'swiper-item',\n 'switch',\n 'text',\n 'textarea',\n 'video',\n 'view',\n 'web-view',\n 'location-picker',\n 'location-view',\n];\nconst BUILT_IN_TAGS = BUILT_IN_TAG_NAMES.map((tag) => 'uni-' + tag);\nconst TAGS = [\n 'app',\n 'layout',\n 'content',\n 'main',\n 'top-window',\n 'left-window',\n 'right-window',\n 'tabbar',\n 'page',\n 'page-head',\n 'page-wrapper',\n 'page-body',\n 'page-refresh',\n 'actionsheet',\n 'modal',\n 'toast',\n 'resize-sensor',\n 'shadow-root',\n].map((tag) => 'uni-' + tag);\nconst NVUE_BUILT_IN_TAGS = [\n 'svg',\n 'view',\n 'a',\n 'div',\n 'img',\n 'image',\n 'text',\n 'span',\n 'input',\n 'textarea',\n 'spinner',\n 'select',\n // slider 被自定义 u-slider 替代\n // 'slider',\n 'slider-neighbor',\n 'indicator',\n 'canvas',\n 'list',\n 'cell',\n 'header',\n 'loading',\n 'loading-indicator',\n 'refresh',\n 'scrollable',\n 'scroller',\n 'video',\n 'web',\n 'embed',\n 'tabbar',\n 'tabheader',\n 'datepicker',\n 'timepicker',\n 'marquee',\n 'countdown',\n 'dc-switch',\n 'waterfall',\n 'richtext',\n 'recycle-list',\n 'u-scalable',\n 'barcode',\n 'gcanvas',\n];\nconst UVUE_BUILT_IN_TAGS = [\n 'ad',\n 'ad-content-page',\n 'ad-draw',\n 'native-view',\n 'loading-indicator',\n 'list-view',\n 'list-item',\n 'swiper',\n 'swiper-item',\n 'rich-text',\n 'sticky-view',\n 'sticky-header',\n 'sticky-section',\n // 自定义\n 'uni-slider',\n // 原生实现\n 'button',\n 'nested-scroll-header',\n 'nested-scroll-body',\n 'waterflow',\n 'flow-item',\n 'share-element',\n 'cover-view',\n 'cover-image',\n // custom element\n 'match-media',\n];\nconst UVUE_WEB_BUILT_IN_TAGS = [\n 'list-view',\n 'list-item',\n 'sticky-section',\n 'sticky-header',\n 'cloud-db-element',\n].map((tag) => 'uni-' + tag);\nconst UVUE_IOS_BUILT_IN_TAGS = [\n 'scroll-view',\n 'web-view',\n 'slider',\n 'form',\n 'switch',\n];\nconst UVUE_HARMONY_BUILT_IN_TAGS = [\n // TODO 列出完整列表\n ...BUILT_IN_TAG_NAMES,\n 'volume-panel',\n];\nconst NVUE_U_BUILT_IN_TAGS = [\n 'u-text',\n 'u-image',\n 'u-input',\n 'u-textarea',\n 'u-video',\n 'u-web-view',\n 'u-slider',\n 'u-ad',\n 'u-ad-draw',\n 'u-rich-text',\n];\nconst UVUE_WEB_BUILT_IN_CUSTOM_ELEMENTS = ['match-media'];\nconst UNI_UI_CONFLICT_TAGS = ['list-item'].map((tag) => 'uni-' + tag);\nfunction isBuiltInComponent(tag) {\n if (UNI_UI_CONFLICT_TAGS.indexOf(tag) !== -1) {\n return false;\n }\n // h5 平台会被转换为 v-uni-\n const realTag = 'uni-' + tag.replace('v-uni-', '');\n // TODO 区分x和非x\n return (BUILT_IN_TAGS.indexOf(realTag) !== -1 ||\n UVUE_WEB_BUILT_IN_TAGS.indexOf(realTag) !== -1);\n}\nfunction isH5CustomElement(tag, isX = false) {\n if (isX && UVUE_WEB_BUILT_IN_TAGS.indexOf(tag) !== -1) {\n return true;\n }\n return TAGS.indexOf(tag) !== -1 || BUILT_IN_TAGS.indexOf(tag) !== -1;\n}\nfunction isUniXElement(name) {\n return /^I?Uni.*Element(?:Impl)?$/.test(name);\n}\nfunction isH5NativeTag(tag) {\n return (tag !== 'head' &&\n (isHTMLTag(tag) || isSVGTag(tag)) &&\n !isBuiltInComponent(tag));\n}\nfunction isAppNativeTag(tag) {\n return isHTMLTag(tag) || isSVGTag(tag) || isBuiltInComponent(tag);\n}\nconst NVUE_CUSTOM_COMPONENTS = [\n 'ad',\n 'ad-draw',\n 'button',\n 'checkbox-group',\n 'checkbox',\n 'form',\n 'icon',\n 'label',\n 'movable-area',\n 'movable-view',\n 'navigator',\n 'picker',\n 'progress',\n 'radio-group',\n 'radio',\n 'rich-text',\n 'swiper-item',\n 'swiper',\n 'switch',\n 'slider',\n 'picker-view',\n 'picker-view-column',\n];\n// 内置的easycom组件\nconst UVUE_BUILT_IN_EASY_COMPONENTS = [\n 'map',\n 'camera',\n 'live-player',\n 'live-pusher',\n];\nfunction isAppUVueBuiltInEasyComponent(tag) {\n return UVUE_BUILT_IN_EASY_COMPONENTS.includes(tag);\n}\n// 主要是指前端实现的组件列表\nconst UVUE_CUSTOM_COMPONENTS = [\n ...NVUE_CUSTOM_COMPONENTS,\n ...UVUE_BUILT_IN_EASY_COMPONENTS,\n];\nfunction isAppUVueNativeTag(tag) {\n // 前端实现的内置组件都会注册一个根组件\n if (tag.startsWith('uni-') && tag.endsWith('-element')) {\n return true;\n }\n if (UVUE_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n if (UVUE_CUSTOM_COMPONENTS.includes(tag)) {\n return false;\n }\n if (isBuiltInComponent(tag)) {\n return true;\n }\n // u-text,u-video...\n if (NVUE_U_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n return false;\n}\nfunction isAppIOSUVueNativeTag(tag) {\n // 前端实现的内置组件都会注册一个根组件\n if (tag.startsWith('uni-') && tag.endsWith('-element')) {\n return true;\n }\n if (NVUE_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n if (UVUE_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n if (UVUE_IOS_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n return false;\n}\nfunction isAppHarmonyUVueNativeTag(tag) {\n // video 目前是easycom实现的\n if (tag === 'video' || tag === 'map') {\n return false;\n }\n // 前端实现的内置组件都会注册一个根组件\n if (tag.startsWith('uni-') && tag.endsWith('-element')) {\n return true;\n }\n if (NVUE_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n if (UVUE_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n if (UVUE_HARMONY_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n return false;\n}\nfunction isAppNVueNativeTag(tag) {\n if (NVUE_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n if (NVUE_CUSTOM_COMPONENTS.includes(tag)) {\n return false;\n }\n if (isBuiltInComponent(tag)) {\n return true;\n }\n // u-text,u-video...\n if (NVUE_U_BUILT_IN_TAGS.includes(tag)) {\n return true;\n }\n return false;\n}\nfunction isMiniProgramNativeTag(tag) {\n return isBuiltInComponent(tag);\n}\nfunction isMiniProgramUVueNativeTag(tag) {\n // 小程序平台内置的自定义元素,会被转换为 view\n if (tag.startsWith('uni-') && tag.endsWith('-element')) {\n return true;\n }\n return isBuiltInComponent(tag);\n}\nfunction createIsCustomElement(tags = []) {\n return function isCustomElement(tag) {\n return tags.includes(tag);\n };\n}\nfunction isComponentTag(tag) {\n return tag[0].toLowerCase() + tag.slice(1) === 'component';\n}\nconst COMPONENT_SELECTOR_PREFIX = 'uni-';\nconst COMPONENT_PREFIX = 'v-' + COMPONENT_SELECTOR_PREFIX;\n// TODO 是否还存在其他需要特殊处理的 void 标签?\nconst APP_VOID_TAGS = ['textarea'];\nfunction isAppVoidTag(tag) {\n return APP_VOID_TAGS.includes(tag) || isVoidTag(tag);\n}\n\nconst LINEFEED = '\\n';\nconst NAVBAR_HEIGHT = 44;\nconst TABBAR_HEIGHT = 50;\nconst ON_REACH_BOTTOM_DISTANCE = 50;\nconst RESPONSIVE_MIN_WIDTH = 768;\nconst UNI_STORAGE_LOCALE = 'UNI_LOCALE';\n// quickapp-webview 不能使用 default 作为插槽名称\nconst SLOT_DEFAULT_NAME = 'd';\nconst COMPONENT_NAME_PREFIX = 'VUni';\nconst I18N_JSON_DELIMITERS = ['%', '%'];\nconst PRIMARY_COLOR = '#007aff';\nconst SELECTED_COLOR = '#0062cc'; // 选中的颜色,如选项卡默认的选中颜色\nconst BACKGROUND_COLOR = '#f7f7f7'; // 背景色,如标题栏默认背景色\nconst UNI_SSR = '__uniSSR';\nconst UNI_SSR_TITLE = 'title';\nconst UNI_SSR_STORE = 'store';\nconst UNI_SSR_DATA = 'data';\nconst UNI_SSR_GLOBAL_DATA = 'globalData';\nconst SCHEME_RE = /^([a-z-]+:)?\\/\\//i;\nconst DATA_RE = /^data:.*,.*/;\nconst WEB_INVOKE_APPSERVICE = 'WEB_INVOKE_APPSERVICE';\nconst WXS_PROTOCOL = 'wxs://';\nconst JSON_PROTOCOL = 'json://';\nconst WXS_MODULES = 'wxsModules';\nconst RENDERJS_MODULES = 'renderjsModules';\n// lifecycle\n// App and Page\nconst ON_SHOW = 'onShow';\nconst ON_HIDE = 'onHide';\n//App\nconst ON_LAUNCH = 'onLaunch';\nconst ON_ERROR = 'onError';\nconst ON_THEME_CHANGE = 'onThemeChange';\nconst OFF_THEME_CHANGE = 'offThemeChange';\nconst ON_HOST_THEME_CHANGE = 'onHostThemeChange';\nconst OFF_HOST_THEME_CHANGE = 'offHostThemeChange';\nconst ON_KEYBOARD_HEIGHT_CHANGE = 'onKeyboardHeightChange';\nconst ON_PAGE_NOT_FOUND = 'onPageNotFound';\nconst ON_UNHANDLE_REJECTION = 'onUnhandledRejection';\nconst ON_LAST_PAGE_BACK_PRESS = 'onLastPageBackPress';\nconst ON_EXIT = 'onExit';\n//Page\nconst ON_LOAD = 'onLoad';\nconst ON_READY = 'onReady';\nconst ON_UNLOAD = 'onUnload';\n// 百度特有\nconst ON_INIT = 'onInit';\n// 微信特有\nconst ON_SAVE_EXIT_STATE = 'onSaveExitState';\nconst ON_RESIZE = 'onResize';\nconst ON_BACK_PRESS = 'onBackPress';\nconst ON_PAGE_SCROLL = 'onPageScroll';\nconst ON_TAB_ITEM_TAP = 'onTabItemTap';\nconst ON_REACH_BOTTOM = 'onReachBottom';\nconst ON_PULL_DOWN_REFRESH = 'onPullDownRefresh';\nconst ON_SHARE_TIMELINE = 'onShareTimeline';\nconst ON_SHARE_CHAT = 'onShareChat'; // xhs-share\nconst ON_ADD_TO_FAVORITES = 'onAddToFavorites';\nconst ON_SHARE_APP_MESSAGE = 'onShareAppMessage';\n// navigationBar\nconst ON_NAVIGATION_BAR_BUTTON_TAP = 'onNavigationBarButtonTap';\nconst ON_NAVIGATION_BAR_CHANGE = 'onNavigationBarChange';\nconst ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED = 'onNavigationBarSearchInputClicked';\nconst ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED = 'onNavigationBarSearchInputChanged';\nconst ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED = 'onNavigationBarSearchInputConfirmed';\nconst ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED = 'onNavigationBarSearchInputFocusChanged';\n// framework\nconst ON_APP_ENTER_FOREGROUND = 'onAppEnterForeground';\nconst ON_APP_ENTER_BACKGROUND = 'onAppEnterBackground';\nconst ON_WEB_INVOKE_APP_SERVICE = 'onWebInvokeAppService';\nconst ON_WXS_INVOKE_CALL_METHOD = 'onWxsInvokeCallMethod';\n// mergeVirtualHostAttributes\nconst VIRTUAL_HOST_STYLE = 'virtualHostStyle';\nconst VIRTUAL_HOST_CLASS = 'virtualHostClass';\nconst VIRTUAL_HOST_HIDDEN = 'virtualHostHidden';\nconst VIRTUAL_HOST_ID = 'virtualHostId';\n\nfunction cache(fn) {\n const cache = Object.create(null);\n return (str) => {\n const hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n}\nfunction cacheStringFunction(fn) {\n return cache(fn);\n}\nfunction getLen(str = '') {\n return ('' + str).replace(/[^\\x00-\\xff]/g, '**').length;\n}\nfunction hasLeadingSlash(str) {\n return str.indexOf('/') === 0;\n}\nfunction addLeadingSlash(str) {\n return hasLeadingSlash(str) ? str : '/' + str;\n}\nfunction removeLeadingSlash(str) {\n return hasLeadingSlash(str) ? str.slice(1) : str;\n}\nconst invokeArrayFns = (fns, arg) => {\n let ret;\n for (let i = 0; i < fns.length; i++) {\n ret = fns[i](arg);\n }\n return ret;\n};\nfunction updateElementStyle(element, styles) {\n for (const attrName in styles) {\n element.style[attrName] = styles[attrName];\n }\n}\nfunction once(fn, ctx = null) {\n let res;\n return ((...args) => {\n if (fn) {\n res = fn.apply(ctx, args);\n fn = null;\n }\n return res;\n });\n}\nconst sanitise = (val) => (val && JSON.parse(JSON.stringify(val))) || val;\nconst _completeValue = (value) => (value > 9 ? value : '0' + value);\nfunction formatDateTime({ date = new Date(), mode = 'date' }) {\n if (mode === 'time') {\n return (_completeValue(date.getHours()) + ':' + _completeValue(date.getMinutes()));\n }\n else {\n return (date.getFullYear() +\n '-' +\n _completeValue(date.getMonth() + 1) +\n '-' +\n _completeValue(date.getDate()));\n }\n}\nfunction callOptions(options, data) {\n options = options || {};\n if (isString(data)) {\n data = {\n errMsg: data,\n };\n }\n if (/:ok$/.test(data.errMsg)) {\n if (isFunction(options.success)) {\n options.success(data);\n }\n }\n else {\n if (isFunction(options.fail)) {\n options.fail(data);\n }\n }\n if (isFunction(options.complete)) {\n options.complete(data);\n }\n}\nfunction getValueByDataPath(obj, path) {\n if (!isString(path)) {\n return;\n }\n path = path.replace(/\\[(\\d+)\\]/g, '.$1');\n const parts = path.split('.');\n let key = parts[0];\n if (!obj) {\n obj = {};\n }\n if (parts.length === 1) {\n return obj[key];\n }\n return getValueByDataPath(obj[key], parts.slice(1).join('.'));\n}\nfunction sortObject(obj) {\n let sortObj = {};\n if (isPlainObject(obj)) {\n Object.keys(obj)\n .sort()\n .forEach((key) => {\n const _key = key;\n sortObj[_key] = obj[_key];\n });\n }\n return !Object.keys(sortObj) ? obj : sortObj;\n}\nfunction getGlobalOnce() {\n if (typeof globalThis !== 'undefined') {\n return globalThis;\n }\n // worker\n if (typeof self !== 'undefined') {\n return self;\n }\n // browser\n if (typeof window !== 'undefined') {\n return window;\n }\n // nodejs\n // if (typeof global !== 'undefined') {\n // return global\n // }\n function g() {\n return this;\n }\n if (typeof g() !== 'undefined') {\n return g();\n }\n return (function () {\n return new Function('return this')();\n })();\n}\nlet g = undefined;\nfunction getGlobal() {\n if (g) {\n return g;\n }\n g = getGlobalOnce();\n return g;\n}\n\nfunction isComponentInternalInstance(vm) {\n return !!vm.appContext;\n}\nfunction resolveComponentInstance(instance) {\n return (instance &&\n (isComponentInternalInstance(instance) ? instance.proxy : instance));\n}\nfunction resolveOwnerVm(vm) {\n if (!vm) {\n return;\n }\n let componentName = vm.type.name;\n while (componentName && isBuiltInComponent(hyphenate(componentName))) {\n // ownerInstance 内置组件需要使用父 vm\n vm = vm.parent;\n componentName = vm.type.name;\n }\n return vm.proxy;\n}\nfunction isElement(el) {\n // Element\n return el.nodeType === 1;\n}\nfunction resolveOwnerEl(instance, multi = false) {\n const { vnode } = instance;\n if (isElement(vnode.el)) {\n return multi ? (vnode.el ? [vnode.el] : []) : vnode.el;\n }\n const { subTree } = instance;\n // ShapeFlags.ARRAY_CHILDREN = 1<<4\n if (subTree.shapeFlag & 16) {\n const elemVNodes = subTree.children.filter((vnode) => vnode.el && isElement(vnode.el));\n if (elemVNodes.length > 0) {\n if (multi) {\n return elemVNodes.map((node) => node.el);\n }\n return elemVNodes[0].el;\n }\n }\n return multi ? (vnode.el ? [vnode.el] : []) : vnode.el;\n}\nfunction dynamicSlotName(name) {\n return name === 'default' ? SLOT_DEFAULT_NAME : name;\n}\nconst customizeRE = /:/g;\nfunction customizeEvent(str) {\n return camelize(str.replace(customizeRE, '-'));\n}\nfunction normalizeStyle(value) {\n const g = getGlobal();\n if (g && g.UTSJSONObject && value instanceof g.UTSJSONObject) {\n const styleObject = {};\n g.UTSJSONObject.keys(value).forEach((key) => {\n styleObject[key] = value[key];\n });\n return normalizeStyle$1(styleObject);\n }\n else if (value instanceof Map) {\n const styleObject = {};\n value.forEach((value, key) => {\n styleObject[key] = value;\n });\n return normalizeStyle$1(styleObject);\n }\n else if (isString(value)) {\n return parseStringStyle(value);\n }\n else if (isArray(value)) {\n const res = {};\n for (let i = 0; i < value.length; i++) {\n const item = value[i];\n const normalized = isString(item)\n ? parseStringStyle(item)\n : normalizeStyle(item);\n if (normalized) {\n for (const key in normalized) {\n res[key] = normalized[key];\n }\n }\n }\n return res;\n }\n else {\n return normalizeStyle$1(value);\n }\n}\nfunction normalizeClass(value) {\n let res = '';\n const g = getGlobal();\n if (g && g.UTSJSONObject && value instanceof g.UTSJSONObject) {\n g.UTSJSONObject.keys(value).forEach((key) => {\n if (value[key]) {\n res += key + ' ';\n }\n });\n }\n else if (value instanceof Map) {\n value.forEach((value, key) => {\n if (value) {\n res += key + ' ';\n }\n });\n }\n else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n const normalized = normalizeClass(value[i]);\n if (normalized) {\n res += normalized + ' ';\n }\n }\n }\n else {\n res = normalizeClass$1(value);\n }\n return res.trim();\n}\nfunction normalizeProps(props) {\n if (!props)\n return null;\n let { class: klass, style } = props;\n if (klass && !isString(klass)) {\n props.class = normalizeClass(klass);\n }\n if (style) {\n props.style = normalizeStyle(style);\n }\n return props;\n}\n\nlet lastLogTime = 0;\nfunction formatLog(module, ...args) {\n const now = Date.now();\n const diff = lastLogTime ? now - lastLogTime : 0;\n lastLogTime = now;\n return `[${now}][${diff}ms][${module}]:${args\n .map((arg) => JSON.stringify(arg))\n .join(' ')}`;\n}\n\nfunction formatKey(key) {\n return camelize(key.substring(5));\n}\n// question/139181,增加副作用,避免 initCustomDataset 在 build 下被 tree-shaking\nconst initCustomDatasetOnce = /*#__PURE__*/ once((isBuiltInElement) => {\n isBuiltInElement =\n isBuiltInElement || ((el) => el.tagName.startsWith('UNI-'));\n const prototype = HTMLElement.prototype;\n const setAttribute = prototype.setAttribute;\n prototype.setAttribute = function (key, value) {\n if (key.startsWith('data-') && isBuiltInElement(this)) {\n const dataset = this.__uniDataset ||\n (this.__uniDataset = {});\n dataset[formatKey(key)] = value;\n }\n setAttribute.call(this, key, value);\n };\n const removeAttribute = prototype.removeAttribute;\n prototype.removeAttribute = function (key) {\n if (this.__uniDataset &&\n key.startsWith('data-') &&\n isBuiltInElement(this)) {\n delete this.__uniDataset[formatKey(key)];\n }\n removeAttribute.call(this, key);\n };\n});\nfunction getCustomDataset(el) {\n return extend({}, el.dataset, el.__uniDataset);\n}\n\nconst unitRE = new RegExp(`\"[^\"]+\"|'[^']+'|url\\\\([^)]+\\\\)|(\\\\d*\\\\.?\\\\d+)[r|u]px`, 'g');\nfunction toFixed(number, precision) {\n const multiplier = Math.pow(10, precision + 1);\n const wholeNumber = Math.floor(number * multiplier);\n return (Math.round(wholeNumber / 10) * 10) / multiplier;\n}\nconst defaultRpx2Unit = {\n unit: 'rem',\n unitRatio: 10 / 320,\n unitPrecision: 5,\n};\nconst defaultMiniProgramRpx2Unit = {\n unit: 'rpx',\n unitRatio: 1,\n unitPrecision: 1,\n};\nconst defaultNVueRpx2Unit = defaultMiniProgramRpx2Unit;\nfunction createRpx2Unit(unit, unitRatio, unitPrecision) {\n // ignore: rpxCalcIncludeWidth\n return (val) => val.replace(unitRE, (m, $1) => {\n if (!$1) {\n return m;\n }\n if (unitRatio === 1) {\n return `${$1}${unit}`;\n }\n const value = toFixed(parseFloat($1) * unitRatio, unitPrecision);\n return value === 0 ? '0' : `${value}${unit}`;\n });\n}\n\nfunction passive(passive) {\n return { passive };\n}\nfunction normalizeDataset(el) {\n // TODO\n return JSON.parse(JSON.stringify(el.dataset || {}));\n}\nfunction normalizeTarget(el) {\n const { id, offsetTop, offsetLeft } = el;\n return {\n id,\n dataset: getCustomDataset(el),\n offsetTop,\n offsetLeft,\n };\n}\nfunction addFont(family, source, desc) {\n const fonts = document.fonts;\n if (fonts) {\n const fontFace = new FontFace(family, source, desc);\n return fontFace.load().then(() => {\n fonts.add && fonts.add(fontFace);\n });\n }\n return new Promise((resolve) => {\n const style = document.createElement('style');\n const values = [];\n if (desc) {\n const { style, weight, stretch, unicodeRange, variant, featureSettings } = desc;\n style && values.push(`font-style:${style}`);\n weight && values.push(`font-weight:${weight}`);\n stretch && values.push(`font-stretch:${stretch}`);\n unicodeRange && values.push(`unicode-range:${unicodeRange}`);\n variant && values.push(`font-variant:${variant}`);\n featureSettings && values.push(`font-feature-settings:${featureSettings}`);\n }\n style.innerText = `@font-face{font-family:\"${family}\";src:${source};${values.join(';')}}`;\n document.head.appendChild(style);\n resolve();\n });\n}\nfunction scrollTo(scrollTop, duration, isH5) {\n if (isString(scrollTop)) {\n const el = document.querySelector(scrollTop);\n if (el) {\n const { top } = el.getBoundingClientRect();\n scrollTop = top + window.pageYOffset;\n // 如果存在,减去 高度\n const pageHeader = document.querySelector('uni-page-head');\n if (pageHeader) {\n scrollTop -= pageHeader.offsetHeight;\n }\n }\n }\n if (scrollTop < 0) {\n scrollTop = 0;\n }\n const documentElement = document.documentElement;\n const { clientHeight, scrollHeight } = documentElement;\n scrollTop = Math.min(scrollTop, scrollHeight - clientHeight);\n if (duration === 0) {\n // 部分浏览器(比如微信)中 scrollTop 的值需要通过 document.body 来控制\n documentElement.scrollTop = document.body.scrollTop = scrollTop;\n return;\n }\n if (window.scrollY === scrollTop) {\n return;\n }\n const scrollTo = (duration) => {\n if (duration <= 0) {\n window.scrollTo(0, scrollTop);\n return;\n }\n const distaince = scrollTop - window.scrollY;\n requestAnimationFrame(function () {\n window.scrollTo(0, window.scrollY + (distaince / duration) * 10);\n scrollTo(duration - 10);\n });\n };\n scrollTo(duration);\n}\n\nconst encode = encodeURIComponent;\nfunction stringifyQuery(obj, encodeStr = encode) {\n const res = obj\n ? Object.keys(obj)\n .map((key) => {\n let val = obj[key];\n if (typeof val === undefined || val === null) {\n val = '';\n }\n else if (isPlainObject(val)) {\n val = JSON.stringify(val);\n }\n return encodeStr(key) + '=' + encodeStr(val);\n })\n .filter((x) => x.length > 0)\n .join('&')\n : null;\n return res ? `?${res}` : '';\n}\n/**\n * Decode text using `decodeURIComponent`. Returns the original text if it\n * fails.\n *\n * @param text - string to decode\n * @returns decoded string\n */\nfunction decode(text) {\n try {\n return decodeURIComponent('' + text);\n }\n catch (err) { }\n return '' + text;\n}\nfunction decodedQuery(query = {}) {\n const decodedQuery = {};\n Object.keys(query).forEach((name) => {\n try {\n decodedQuery[name] = decode(query[name]);\n }\n catch (e) {\n decodedQuery[name] = query[name];\n }\n });\n return decodedQuery;\n}\nconst PLUS_RE = /\\+/g; // %2B\n/**\n * https://github.com/vuejs/vue-router-next/blob/master/src/query.ts\n * @internal\n *\n * @param search - search string to parse\n * @returns a query object\n */\nfunction parseQuery(search) {\n const query = {};\n // avoid creating an object with an empty key and empty value\n // because of split('&')\n if (search === '' || search === '?')\n return query;\n const hasLeadingIM = search[0] === '?';\n const searchParams = (hasLeadingIM ? search.slice(1) : search).split('&');\n for (let i = 0; i < searchParams.length; ++i) {\n // pre decode the + into space\n const searchParam = searchParams[i].replace(PLUS_RE, ' ');\n // allow the = character\n let eqPos = searchParam.indexOf('=');\n let key = decode(eqPos < 0 ? searchParam : searchParam.slice(0, eqPos));\n let value = eqPos < 0 ? null : decode(searchParam.slice(eqPos + 1));\n if (key in query) {\n // an extra variable for ts types\n let currentValue = query[key];\n if (!isArray(currentValue)) {\n currentValue = query[key] = [currentValue];\n }\n currentValue.push(value);\n }\n else {\n query[key] = value;\n }\n }\n return query;\n}\n\nfunction parseUrl(url) {\n const [path, querystring] = url.split('?', 2);\n return {\n path,\n query: parseQuery(querystring || ''),\n };\n}\n\nfunction parseNVueDataset(attr) {\n const dataset = {};\n if (attr) {\n Object.keys(attr).forEach((key) => {\n if (key.indexOf('data-') === 0) {\n dataset[key.replace('data-', '')] = attr[key];\n }\n });\n }\n return dataset;\n}\n\nfunction plusReady(callback) {\n if (!isFunction(callback)) {\n return;\n }\n if (window.plus) {\n return callback();\n }\n document.addEventListener('plusready', callback);\n}\n\nclass DOMException extends Error {\n constructor(message) {\n super(message);\n this.name = 'DOMException';\n }\n}\n\nfunction normalizeEventType(type, options) {\n if (options) {\n if (options.capture) {\n type += 'Capture';\n }\n if (options.once) {\n type += 'Once';\n }\n if (options.passive) {\n type += 'Passive';\n }\n }\n return `on${capitalize(camelize(type))}`;\n}\nclass UniEvent {\n constructor(type, opts) {\n this.defaultPrevented = false;\n this.timeStamp = Date.now();\n this._stop = false;\n this._end = false;\n this.type = type;\n this.bubbles = !!opts.bubbles;\n this.cancelable = !!opts.cancelable;\n }\n preventDefault() {\n this.defaultPrevented = true;\n }\n stopImmediatePropagation() {\n this._end = this._stop = true;\n }\n stopPropagation() {\n this._stop = true;\n }\n}\nfunction createUniEvent(evt) {\n if (evt instanceof UniEvent) {\n return evt;\n }\n const [type] = parseEventName(evt.type);\n const uniEvent = new UniEvent(type, {\n bubbles: false,\n cancelable: false,\n });\n extend(uniEvent, evt);\n return uniEvent;\n}\nclass UniEventTarget {\n constructor() {\n this.listeners = Object.create(null);\n }\n dispatchEvent(evt) {\n const listeners = this.listeners[evt.type];\n if (!listeners) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.error(formatLog('dispatchEvent', this.nodeId), evt.type, 'not found');\n }\n return false;\n }\n // 格式化事件类型\n const event = createUniEvent(evt);\n const len = listeners.length;\n for (let i = 0; i < len; i++) {\n listeners[i].call(this, event);\n if (event._end) {\n break;\n }\n }\n return event.cancelable && event.defaultPrevented;\n }\n addEventListener(type, listener, options) {\n type = normalizeEventType(type, options);\n (this.listeners[type] || (this.listeners[type] = [])).push(listener);\n }\n removeEventListener(type, callback, options) {\n type = normalizeEventType(type, options);\n const listeners = this.listeners[type];\n if (!listeners) {\n return;\n }\n const index = listeners.indexOf(callback);\n if (index > -1) {\n listeners.splice(index, 1);\n }\n }\n}\nconst optionsModifierRE = /(?:Once|Passive|Capture)$/;\nfunction parseEventName(name) {\n let options;\n if (optionsModifierRE.test(name)) {\n options = {};\n let m;\n while ((m = name.match(optionsModifierRE))) {\n name = name.slice(0, name.length - m[0].length);\n options[m[0].toLowerCase()] = true;\n }\n }\n return [hyphenate(name.slice(2)), options];\n}\n\nconst EventModifierFlags = /*#__PURE__*/ (() => {\n return {\n stop: 1,\n prevent: 1 << 1,\n self: 1 << 2,\n };\n})();\nfunction encodeModifier(modifiers) {\n let flag = 0;\n if (modifiers.includes('stop')) {\n flag |= EventModifierFlags.stop;\n }\n if (modifiers.includes('prevent')) {\n flag |= EventModifierFlags.prevent;\n }\n if (modifiers.includes('self')) {\n flag |= EventModifierFlags.self;\n }\n return flag;\n}\n\nconst NODE_TYPE_PAGE = 0;\nconst NODE_TYPE_ELEMENT = 1;\nconst NODE_TYPE_TEXT = 3;\nconst NODE_TYPE_COMMENT = 8;\nfunction sibling(node, type) {\n const { parentNode } = node;\n if (!parentNode) {\n return null;\n }\n const { childNodes } = parentNode;\n return childNodes[childNodes.indexOf(node) + (type === 'n' ? 1 : -1)] || null;\n}\nfunction removeNode(node) {\n const { parentNode } = node;\n if (parentNode) {\n const { childNodes } = parentNode;\n const index = childNodes.indexOf(node);\n if (index > -1) {\n node.parentNode = null;\n childNodes.splice(index, 1);\n }\n }\n}\nfunction checkNodeId(node) {\n if (!node.nodeId && node.pageNode) {\n node.nodeId = node.pageNode.genId();\n }\n}\n// 为优化性能,各平台不使用proxy来实现node的操作拦截,而是直接通过pageNode定制\nclass UniNode extends UniEventTarget {\n constructor(nodeType, nodeName, container) {\n super();\n this.pageNode = null;\n this.parentNode = null;\n this._text = null;\n if (container) {\n const { pageNode } = container;\n if (pageNode) {\n this.pageNode = pageNode;\n this.nodeId = pageNode.genId();\n !pageNode.isUnmounted && pageNode.onCreate(this, nodeName);\n }\n }\n this.nodeType = nodeType;\n this.nodeName = nodeName;\n this.childNodes = [];\n }\n get firstChild() {\n return this.childNodes[0] || null;\n }\n get lastChild() {\n const { childNodes } = this;\n const length = childNodes.length;\n return length ? childNodes[length - 1] : null;\n }\n get nextSibling() {\n return sibling(this, 'n');\n }\n get nodeValue() {\n return null;\n }\n set nodeValue(_val) { }\n get textContent() {\n return this._text || '';\n }\n set textContent(text) {\n this._text = text;\n if (this.pageNode && !this.pageNode.isUnmounted) {\n this.pageNode.onTextContent(this, text);\n }\n }\n get parentElement() {\n const { parentNode } = this;\n if (parentNode && parentNode.nodeType === NODE_TYPE_ELEMENT) {\n return parentNode;\n }\n return null;\n }\n get previousSibling() {\n return sibling(this, 'p');\n }\n appendChild(newChild) {\n return this.insertBefore(newChild, null);\n }\n cloneNode(deep) {\n const cloned = extend(Object.create(Object.getPrototypeOf(this)), this);\n const { attributes } = cloned;\n if (attributes) {\n cloned.attributes = extend({}, attributes);\n }\n if (deep) {\n cloned.childNodes = cloned.childNodes.map((childNode) => childNode.cloneNode(true));\n }\n return cloned;\n }\n insertBefore(newChild, refChild) {\n // 先从现在的父节点移除(注意:不能触发onRemoveChild,否则会生成先remove该 id,再 insert)\n removeNode(newChild);\n newChild.pageNode = this.pageNode;\n newChild.parentNode = this;\n checkNodeId(newChild);\n const { childNodes } = this;\n if (refChild) {\n const index = childNodes.indexOf(refChild);\n if (index === -1) {\n throw new DOMException(`Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.`);\n }\n childNodes.splice(index, 0, newChild);\n }\n else {\n childNodes.push(newChild);\n }\n return this.pageNode && !this.pageNode.isUnmounted\n ? this.pageNode.onInsertBefore(this, newChild, refChild)\n : newChild;\n }\n removeChild(oldChild) {\n const { childNodes } = this;\n const index = childNodes.indexOf(oldChild);\n if (index === -1) {\n throw new DOMException(`Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.`);\n }\n oldChild.parentNode = null;\n childNodes.splice(index, 1);\n return this.pageNode && !this.pageNode.isUnmounted\n ? this.pageNode.onRemoveChild(oldChild)\n : oldChild;\n }\n}\nconst ATTR_CLASS = 'class';\nconst ATTR_STYLE = 'style';\nconst ATTR_INNER_HTML = 'innerHTML';\nconst ATTR_TEXT_CONTENT = 'textContent';\nconst ATTR_V_SHOW = '.vShow';\nconst ATTR_V_OWNER_ID = '.vOwnerId';\nconst ATTR_V_RENDERJS = '.vRenderjs';\nconst ATTR_CHANGE_PREFIX = 'change:';\nclass UniBaseNode extends UniNode {\n constructor(nodeType, nodeName, container) {\n super(nodeType, nodeName, container);\n this.attributes = Object.create(null);\n this.style = null;\n this.vShow = null;\n this._html = null;\n }\n get className() {\n return (this.attributes[ATTR_CLASS] || '');\n }\n set className(val) {\n this.setAttribute(ATTR_CLASS, val);\n }\n get innerHTML() {\n return '';\n }\n set innerHTML(html) {\n this._html = html;\n }\n addEventListener(type, listener, options) {\n super.addEventListener(type, listener, options);\n if (this.pageNode && !this.pageNode.isUnmounted) {\n if (listener.wxsEvent) {\n this.pageNode.onAddWxsEvent(this, normalizeEventType(type, options), listener.wxsEvent, encodeModifier(listener.modifiers || []));\n }\n else {\n this.pageNode.onAddEvent(this, normalizeEventType(type, options), encodeModifier(listener.modifiers || []));\n }\n }\n }\n removeEventListener(type, callback, options) {\n super.removeEventListener(type, callback, options);\n if (this.pageNode && !this.pageNode.isUnmounted) {\n this.pageNode.onRemoveEvent(this, normalizeEventType(type, options));\n }\n }\n getAttribute(qualifiedName) {\n if (qualifiedName === ATTR_STYLE) {\n return this.style;\n }\n return this.attributes[qualifiedName];\n }\n removeAttribute(qualifiedName) {\n if (qualifiedName == ATTR_STYLE) {\n this.style = null;\n }\n else {\n delete this.attributes[qualifiedName];\n }\n if (this.pageNode && !this.pageNode.isUnmounted) {\n this.pageNode.onRemoveAttribute(this, qualifiedName);\n }\n }\n setAttribute(qualifiedName, value) {\n if (qualifiedName === ATTR_STYLE) {\n this.style = value;\n }\n else {\n this.attributes[qualifiedName] = value;\n }\n if (this.pageNode && !this.pageNode.isUnmounted) {\n this.pageNode.onSetAttribute(this, qualifiedName, value);\n }\n }\n toJSON({ attr, normalize, } = {}) {\n const { attributes, style, listeners, _text } = this;\n const res = {};\n if (Object.keys(attributes).length) {\n res.a = normalize ? normalize(attributes) : attributes;\n }\n const events = Object.keys(listeners);\n if (events.length) {\n let w = undefined;\n const e = {};\n events.forEach((name) => {\n const handlers = listeners[name];\n if (handlers.length) {\n // 可能存在多个 handler 且不同 modifiers 吗?\n const { wxsEvent, modifiers } = handlers[0];\n const modifier = encodeModifier(modifiers || []);\n if (!wxsEvent) {\n e[name] = modifier;\n }\n else {\n if (!w) {\n w = {};\n }\n w[name] = [normalize ? normalize(wxsEvent) : wxsEvent, modifier];\n }\n }\n });\n res.e = normalize ? normalize(e, false) : e;\n if (w) {\n res.w = normalize ? normalize(w, false) : w;\n }\n }\n if (style !== null) {\n res.s = normalize ? normalize(style) : style;\n }\n if (!attr) {\n res.i = this.nodeId;\n res.n = this.nodeName;\n }\n if (_text !== null) {\n res.t = normalize ? normalize(_text) : _text;\n }\n return res;\n }\n}\n\nclass UniCommentNode extends UniNode {\n constructor(text, container) {\n super(NODE_TYPE_COMMENT, '#comment', container);\n this._text = (process.env.NODE_ENV !== 'production') ? text : '';\n }\n toJSON(opts = {}) {\n // 暂时不传递 text 到 view 层,没啥意义,节省点数据量\n return opts.attr\n ? {}\n : {\n i: this.nodeId,\n };\n // return opts.attr\n // ? { t: this._text as string }\n // : {\n // i: this.nodeId!,\n // t: this._text as string,\n // }\n }\n}\n\nclass UniElement extends UniBaseNode {\n constructor(nodeName, container) {\n super(NODE_TYPE_ELEMENT, nodeName.toUpperCase(), container);\n this.tagName = this.nodeName;\n }\n}\nclass UniInputElement extends UniElement {\n get value() {\n return this.getAttribute('value');\n }\n set value(val) {\n this.setAttribute('value', val);\n }\n}\nclass UniTextAreaElement extends UniInputElement {\n}\n\nclass UniTextNode extends UniBaseNode {\n constructor(text, container) {\n super(NODE_TYPE_TEXT, '#text', container);\n this._text = text;\n }\n get nodeValue() {\n return this._text || '';\n }\n set nodeValue(text) {\n this._text = text;\n if (this.pageNode && !this.pageNode.isUnmounted) {\n this.pageNode.onNodeValue(this, text);\n }\n }\n}\n\nconst forcePatchProps = {\n AD: ['data'],\n 'AD-DRAW': ['data'],\n 'LIVE-PLAYER': ['picture-in-picture-mode'],\n MAP: [\n 'markers',\n 'polyline',\n 'circles',\n 'controls',\n 'include-points',\n 'polygons',\n ],\n PICKER: ['range', 'value'],\n 'PICKER-VIEW': ['value'],\n 'RICH-TEXT': ['nodes'],\n VIDEO: ['danmu-list', 'header'],\n 'WEB-VIEW': ['webview-styles'],\n};\nconst forcePatchPropKeys = ['animation'];\n\nconst forcePatchProp = (el, key) => {\n if (forcePatchPropKeys.indexOf(key) > -1) {\n return true;\n }\n const keys = forcePatchProps[el.nodeName];\n if (keys && keys.indexOf(key) > -1) {\n return true;\n }\n return false;\n};\n\nconst ACTION_TYPE_PAGE_CREATE = 1;\nconst ACTION_TYPE_PAGE_CREATED = 2;\nconst ACTION_TYPE_CREATE = 3;\nconst ACTION_TYPE_INSERT = 4;\nconst ACTION_TYPE_REMOVE = 5;\nconst ACTION_TYPE_SET_ATTRIBUTE = 6;\nconst ACTION_TYPE_REMOVE_ATTRIBUTE = 7;\nconst ACTION_TYPE_ADD_EVENT = 8;\nconst ACTION_TYPE_REMOVE_EVENT = 9;\nconst ACTION_TYPE_SET_TEXT = 10;\nconst ACTION_TYPE_ADD_WXS_EVENT = 12;\nconst ACTION_TYPE_PAGE_SCROLL = 15;\nconst ACTION_TYPE_EVENT = 20;\n\n/**\n * 需要手动传入 timer,主要是解决 App 平台的定制 timer\n */\nfunction debounce(fn, delay, { clearTimeout, setTimeout }) {\n let timeout;\n const newFn = function () {\n clearTimeout(timeout);\n const timerFn = () => fn.apply(this, arguments);\n timeout = setTimeout(timerFn, delay);\n };\n newFn.cancel = function () {\n clearTimeout(timeout);\n };\n return newFn;\n}\n\nclass EventChannel {\n constructor(id, events) {\n this.id = id;\n this.listener = {};\n this.emitCache = [];\n if (events) {\n Object.keys(events).forEach((name) => {\n this.on(name, events[name]);\n });\n }\n }\n emit(eventName, ...args) {\n const fns = this.listener[eventName];\n if (!fns) {\n return this.emitCache.push({\n eventName,\n args,\n });\n }\n fns.forEach((opt) => {\n opt.fn.apply(opt.fn, args);\n });\n this.listener[eventName] = fns.filter((opt) => opt.type !== 'once');\n }\n on(eventName, fn) {\n this._addListener(eventName, 'on', fn);\n this._clearCache(eventName);\n }\n once(eventName, fn) {\n this._addListener(eventName, 'once', fn);\n this._clearCache(eventName);\n }\n off(eventName, fn) {\n const fns = this.listener[eventName];\n if (!fns) {\n return;\n }\n if (fn) {\n for (let i = 0; i < fns.length;) {\n if (fns[i].fn === fn) {\n fns.splice(i, 1);\n i--;\n }\n i++;\n }\n }\n else {\n delete this.listener[eventName];\n }\n }\n _clearCache(eventName) {\n for (let index = 0; index < this.emitCache.length; index++) {\n const cache = this.emitCache[index];\n const _name = eventName\n ? cache.eventName === eventName\n ? eventName\n : null\n : cache.eventName;\n if (!_name)\n continue;\n const location = this.emit.apply(this, [_name, ...cache.args]);\n if (typeof location === 'number') {\n this.emitCache.pop();\n continue;\n }\n this.emitCache.splice(index, 1);\n index--;\n }\n }\n _addListener(eventName, type, fn) {\n (this.listener[eventName] || (this.listener[eventName] = [])).push({\n fn,\n type,\n });\n }\n}\n\nconst PAGE_HOOKS = [\n ON_INIT,\n ON_LOAD,\n ON_SHOW,\n ON_HIDE,\n ON_UNLOAD,\n ON_BACK_PRESS,\n ON_PAGE_SCROLL,\n ON_TAB_ITEM_TAP,\n ON_REACH_BOTTOM,\n ON_PULL_DOWN_REFRESH,\n ON_SHARE_TIMELINE,\n ON_SHARE_APP_MESSAGE,\n ON_SHARE_CHAT,\n ON_ADD_TO_FAVORITES,\n ON_SAVE_EXIT_STATE,\n ON_NAVIGATION_BAR_BUTTON_TAP,\n ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED,\n ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED,\n ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED,\n ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED,\n];\nfunction isRootImmediateHook(name) {\n const PAGE_SYNC_HOOKS = [ON_LOAD, ON_SHOW];\n return PAGE_SYNC_HOOKS.indexOf(name) > -1;\n}\n// isRootImmediateHookX deprecated\nfunction isRootHook(name) {\n return PAGE_HOOKS.indexOf(name) > -1;\n}\nconst UniLifecycleHooks = [\n ON_SHOW,\n ON_HIDE,\n ON_LAUNCH,\n ON_ERROR,\n ON_THEME_CHANGE,\n ON_PAGE_NOT_FOUND,\n ON_UNHANDLE_REJECTION,\n ON_EXIT,\n ON_INIT,\n ON_LOAD,\n ON_READY,\n ON_UNLOAD,\n ON_RESIZE,\n ON_BACK_PRESS,\n ON_PAGE_SCROLL,\n ON_TAB_ITEM_TAP,\n ON_REACH_BOTTOM,\n ON_PULL_DOWN_REFRESH,\n ON_SHARE_TIMELINE,\n ON_ADD_TO_FAVORITES,\n ON_SHARE_APP_MESSAGE,\n ON_SHARE_CHAT,\n ON_SAVE_EXIT_STATE,\n ON_NAVIGATION_BAR_BUTTON_TAP,\n ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED,\n ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED,\n ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED,\n ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED,\n];\nconst MINI_PROGRAM_PAGE_RUNTIME_HOOKS = /*#__PURE__*/ (() => {\n return {\n onPageScroll: 1,\n onShareAppMessage: 1 << 1,\n onShareTimeline: 1 << 2,\n };\n})();\nfunction isUniLifecycleHook(name, value, checkType = true) {\n // 检查类型\n if (checkType && !isFunction(value)) {\n return false;\n }\n if (UniLifecycleHooks.indexOf(name) > -1) {\n // 已预定义\n return true;\n }\n else if (name.indexOf('on') === 0) {\n // 以 on 开头\n return true;\n }\n return false;\n}\n\nlet vueApp;\nconst createVueAppHooks = [];\n/**\n * 提供 createApp 的回调事件,方便三方插件接收 App 对象,处理挂靠全局 mixin 之类的逻辑\n */\nfunction onCreateVueApp(hook) {\n // TODO 每个 nvue 页面都会触发\n if (vueApp) {\n return hook(vueApp);\n }\n createVueAppHooks.push(hook);\n}\nfunction invokeCreateVueAppHook(app) {\n vueApp = app;\n createVueAppHooks.forEach((hook) => hook(app));\n}\nconst invokeCreateErrorHandler = once((app, createErrorHandler) => {\n // 不再判断开发者是否监听了onError,直接返回 createErrorHandler,内部 errorHandler 会调用开发者自定义的 errorHandler,以及判断开发者是否监听了onError\n return createErrorHandler(app);\n});\n\nconst E = function () {\n // Keep this empty so it's easier to inherit from\n // (via https://github.com/lipsmack from https://github.com/scottcorgan/tiny-emitter/issues/3)\n};\nE.prototype = {\n _id: 1,\n on: function (name, callback, ctx) {\n var e = this.e || (this.e = {});\n (e[name] || (e[name] = [])).push({\n fn: callback,\n ctx: ctx,\n _id: this._id,\n });\n return this._id++;\n },\n once: function (name, callback, ctx) {\n var self = this;\n function listener() {\n self.off(name, listener);\n callback.apply(ctx, arguments);\n }\n listener._ = callback;\n return this.on(name, listener, ctx);\n },\n emit: function (name) {\n var data = [].slice.call(arguments, 1);\n var evtArr = ((this.e || (this.e = {}))[name] || []).slice();\n var i = 0;\n var len = evtArr.length;\n for (i; i < len; i++) {\n evtArr[i].fn.apply(evtArr[i].ctx, data);\n }\n return this;\n },\n off: function (name, event) {\n var e = this.e || (this.e = {});\n var evts = e[name];\n var liveEvents = [];\n if (evts && event) {\n for (var i = evts.length - 1; i >= 0; i--) {\n if (evts[i].fn === event ||\n evts[i].fn._ === event ||\n evts[i]._id === event) {\n evts.splice(i, 1);\n break;\n }\n }\n liveEvents = evts;\n }\n // Remove event from queue to prevent memory leak\n // Suggested by https://github.com/lazd\n // Ref: https://github.com/scottcorgan/tiny-emitter/commit/c6ebfaa9bc973b33d110a84a307742b7cf94c953#commitcomment-5024910\n liveEvents.length ? (e[name] = liveEvents) : delete e[name];\n return this;\n },\n};\nvar E$1 = E;\n\nconst borderStyles = {\n black: 'rgba(0,0,0,0.4)',\n white: 'rgba(255,255,255,0.4)',\n};\nfunction normalizeTabBarStyles(borderStyle) {\n if (borderStyle && borderStyle in borderStyles) {\n return borderStyles[borderStyle];\n }\n return borderStyle;\n}\nfunction normalizeTitleColor(titleColor) {\n return titleColor === 'black' ? '#000000' : '#ffffff';\n}\nfunction resolveStringStyleItem(modeStyle, styleItem, key) {\n if (isString(styleItem) && styleItem.startsWith('@')) {\n const _key = styleItem.replace('@', '');\n let _styleItem = modeStyle[_key] || styleItem;\n switch (key) {\n case 'titleColor':\n _styleItem = normalizeTitleColor(_styleItem);\n break;\n case 'borderStyle':\n _styleItem = normalizeTabBarStyles(_styleItem);\n break;\n }\n return _styleItem;\n }\n return styleItem;\n}\nfunction normalizeStyles(pageStyle, themeConfig = {}, mode = 'light') {\n const modeStyle = themeConfig[mode];\n const styles = {};\n if (typeof modeStyle === 'undefined' || !pageStyle)\n return pageStyle;\n Object.keys(pageStyle).forEach((key) => {\n const styleItem = pageStyle[key]; // Object Array String\n const parseStyleItem = () => {\n if (isPlainObject(styleItem))\n return normalizeStyles(styleItem, themeConfig, mode);\n if (isArray(styleItem))\n return styleItem.map((item) => {\n if (isPlainObject(item))\n return normalizeStyles(item, themeConfig, mode);\n return resolveStringStyleItem(modeStyle, item);\n });\n return resolveStringStyleItem(modeStyle, styleItem, key);\n };\n styles[key] = parseStyleItem();\n });\n return styles;\n}\n\nfunction getEnvLocale() {\n const { env } = process;\n const lang = env.LC_ALL || env.LC_MESSAGES || env.LANG || env.LANGUAGE;\n return (lang && lang.replace(/[.:].*/, '')) || 'en';\n}\n\nconst isStringIntegerKey = (key) => typeof key === 'string' &&\n key !== 'NaN' &&\n key[0] !== '-' &&\n '' + parseInt(key, 10) === key;\nconst isNumberIntegerKey = (key) => typeof key === 'number' &&\n !isNaN(key) &&\n key >= 0 &&\n parseInt(key + '', 10) === key;\n/**\n * 用于替代@vue/shared的isIntegerKey,原始方法在鸿蒙arkts中会引发bug。根本原因是arkts的数组的key是数字而不是字符串。\n * 目前这个方法使用的地方都和数组有关,切记不能挪作他用。\n * @param key\n * @returns\n */\nconst isIntegerKey = (key) => isNumberIntegerKey(key) || isStringIntegerKey(key);\n\nconst GLOBALS_ALLOWED = 'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,' +\n 'decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,' +\n 'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,' +\n 'uni';\nconst isGloballyAllowed = /*#__PURE__*/ makeMap(GLOBALS_ALLOWED);\n\nexport { ACTION_TYPE_ADD_EVENT, ACTION_TYPE_ADD_WXS_EVENT, ACTION_TYPE_CREATE, ACTION_TYPE_EVENT, ACTION_TYPE_INSERT, ACTION_TYPE_PAGE_CREATE, ACTION_TYPE_PAGE_CREATED, ACTION_TYPE_PAGE_SCROLL, ACTION_TYPE_REMOVE, ACTION_TYPE_REMOVE_ATTRIBUTE, ACTION_TYPE_REMOVE_EVENT, ACTION_TYPE_SET_ATTRIBUTE, ACTION_TYPE_SET_TEXT, ATTR_CHANGE_PREFIX, ATTR_CLASS, ATTR_INNER_HTML, ATTR_STYLE, ATTR_TEXT_CONTENT, ATTR_V_OWNER_ID, ATTR_V_RENDERJS, ATTR_V_SHOW, BACKGROUND_COLOR, BUILT_IN_TAGS, BUILT_IN_TAG_NAMES, COMPONENT_NAME_PREFIX, COMPONENT_PREFIX, COMPONENT_SELECTOR_PREFIX, DATA_RE, E$1 as Emitter, EventChannel, EventModifierFlags, I18N_JSON_DELIMITERS, JSON_PROTOCOL, LINEFEED, MINI_PROGRAM_PAGE_RUNTIME_HOOKS, NAVBAR_HEIGHT, NODE_TYPE_COMMENT, NODE_TYPE_ELEMENT, NODE_TYPE_PAGE, NODE_TYPE_TEXT, NVUE_BUILT_IN_TAGS, NVUE_U_BUILT_IN_TAGS, OFF_HOST_THEME_CHANGE, OFF_THEME_CHANGE, ON_ADD_TO_FAVORITES, ON_APP_ENTER_BACKGROUND, ON_APP_ENTER_FOREGROUND, ON_BACK_PRESS, ON_ERROR, ON_EXIT, ON_HIDE, ON_HOST_THEME_CHANGE, ON_INIT, ON_KEYBOARD_HEIGHT_CHANGE, ON_LAST_PAGE_BACK_PRESS, ON_LAUNCH, ON_LOAD, ON_NAVIGATION_BAR_BUTTON_TAP, ON_NAVIGATION_BAR_CHANGE, ON_NAVIGATION_BAR_SEARCH_INPUT_CHANGED, ON_NAVIGATION_BAR_SEARCH_INPUT_CLICKED, ON_NAVIGATION_BAR_SEARCH_INPUT_CONFIRMED, ON_NAVIGATION_BAR_SEARCH_INPUT_FOCUS_CHANGED, ON_PAGE_NOT_FOUND, ON_PAGE_SCROLL, ON_PULL_DOWN_REFRESH, ON_REACH_BOTTOM, ON_REACH_BOTTOM_DISTANCE, ON_READY, ON_RESIZE, ON_SAVE_EXIT_STATE, ON_SHARE_APP_MESSAGE, ON_SHARE_CHAT, ON_SHARE_TIMELINE, ON_SHOW, ON_TAB_ITEM_TAP, ON_THEME_CHANGE, ON_UNHANDLE_REJECTION, ON_UNLOAD, ON_WEB_INVOKE_APP_SERVICE, ON_WXS_INVOKE_CALL_METHOD, PLUS_RE, PRIMARY_COLOR, RENDERJS_MODULES, RESPONSIVE_MIN_WIDTH, SCHEME_RE, SELECTED_COLOR, SLOT_DEFAULT_NAME, TABBAR_HEIGHT, TAGS, UNI_SSR, UNI_SSR_DATA, UNI_SSR_GLOBAL_DATA, UNI_SSR_STORE, UNI_SSR_TITLE, UNI_STORAGE_LOCALE, UNI_UI_CONFLICT_TAGS, UVUE_BUILT_IN_TAGS, UVUE_HARMONY_BUILT_IN_TAGS, UVUE_IOS_BUILT_IN_TAGS, UVUE_WEB_BUILT_IN_CUSTOM_ELEMENTS, UVUE_WEB_BUILT_IN_TAGS, UniBaseNode, UniCommentNode, UniElement, UniEvent, UniInputElement, UniLifecycleHooks, UniNode, UniTextAreaElement, UniTextNode, VIRTUAL_HOST_CLASS, VIRTUAL_HOST_HIDDEN, VIRTUAL_HOST_ID, VIRTUAL_HOST_STYLE, WEB_INVOKE_APPSERVICE, WXS_MODULES, WXS_PROTOCOL, addFont, addLeadingSlash, borderStyles, cache, cacheStringFunction, callOptions, createIsCustomElement, createRpx2Unit, createUniEvent, customizeEvent, debounce, decode, decodedQuery, defaultMiniProgramRpx2Unit, defaultNVueRpx2Unit, defaultRpx2Unit, dynamicSlotName, forcePatchProp, formatDateTime, formatLog, getCustomDataset, getEnvLocale, getGlobal, getLen, getValueByDataPath, initCustomDatasetOnce, invokeArrayFns, invokeCreateErrorHandler, invokeCreateVueAppHook, isAppHarmonyUVueNativeTag, isAppIOSUVueNativeTag, isAppNVueNativeTag, isAppNativeTag, isAppUVueBuiltInEasyComponent, isAppUVueNativeTag, isAppVoidTag, isBuiltInComponent, isComponentInternalInstance, isComponentTag, isGloballyAllowed, isH5CustomElement, isH5NativeTag, isIntegerKey, isMiniProgramNativeTag, isMiniProgramUVueNativeTag, isRootHook, isRootImmediateHook, isUniLifecycleHook, isUniXElement, normalizeClass, normalizeDataset, normalizeEventType, normalizeProps, normalizeStyle, normalizeStyles, normalizeTabBarStyles, normalizeTarget, normalizeTitleColor, onCreateVueApp, once, parseEventName, parseNVueDataset, parseQuery, parseUrl, passive, plusReady, removeLeadingSlash, resolveComponentInstance, resolveOwnerEl, resolveOwnerVm, sanitise, scrollTo, sortObject, stringifyQuery, updateElementStyle };\n","import { isRootHook, getValueByDataPath, isUniLifecycleHook, ON_ERROR, UniLifecycleHooks, invokeCreateErrorHandler, dynamicSlotName } from '@dcloudio/uni-shared';\nimport { NOOP, extend, isSymbol, isObject, def, hasChanged, isFunction, isArray, isPromise, camelize, capitalize, EMPTY_OBJ, remove, toHandlerKey, hasOwn, hyphenate, isReservedProp, toRawType, isString, normalizeClass, normalizeStyle, isOn, toTypeString, isMap, isIntegerKey, isSet, isPlainObject, makeMap, invokeArrayFns, isBuiltInDirective, looseToNumber, NO, EMPTY_ARR, isModelListener, toNumber, toDisplayString } from '@vue/shared';\nexport { EMPTY_OBJ, camelize, normalizeClass, normalizeProps, normalizeStyle, toDisplayString, toHandlerKey } from '@vue/shared';\n\n/**\n* @dcloudio/uni-mp-vue v3.4.21\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\n\nfunction warn$2(msg, ...args) {\n console.warn(`[Vue warn] ${msg}`, ...args);\n}\n\nlet activeEffectScope;\nclass EffectScope {\n constructor(detached = false) {\n this.detached = detached;\n /**\n * @internal\n */\n this._active = true;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this.parent = activeEffectScope;\n if (!detached && activeEffectScope) {\n this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(\n this\n ) - 1;\n }\n }\n get active() {\n return this._active;\n }\n run(fn) {\n if (this._active) {\n const currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n } finally {\n activeEffectScope = currentEffectScope;\n }\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$2(`cannot run an inactive effect scope.`);\n }\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n on() {\n activeEffectScope = this;\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n off() {\n activeEffectScope = this.parent;\n }\n stop(fromParent) {\n if (this._active) {\n let i, l;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].stop();\n }\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].stop(true);\n }\n }\n if (!this.detached && this.parent && !fromParent) {\n const last = this.parent.scopes.pop();\n if (last && last !== this) {\n this.parent.scopes[this.index] = last;\n last.index = this.index;\n }\n }\n this.parent = void 0;\n this._active = false;\n }\n }\n}\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\nfunction recordEffectScope(effect, scope = activeEffectScope) {\n if (scope && scope.active) {\n scope.effects.push(effect);\n }\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$2(\n `onScopeDispose() is called when there is no active effect scope to be associated with.`\n );\n }\n}\n\nlet activeEffect;\nclass ReactiveEffect {\n constructor(fn, trigger, scheduler, scope) {\n this.fn = fn;\n this.trigger = trigger;\n this.scheduler = scheduler;\n this.active = true;\n this.deps = [];\n /**\n * @internal\n */\n this._dirtyLevel = 4;\n /**\n * @internal\n */\n this._trackId = 0;\n /**\n * @internal\n */\n this._runnings = 0;\n /**\n * @internal\n */\n this._shouldSchedule = false;\n /**\n * @internal\n */\n this._depsLength = 0;\n recordEffectScope(this, scope);\n }\n get dirty() {\n if (this._dirtyLevel === 2 || this._dirtyLevel === 3) {\n this._dirtyLevel = 1;\n pauseTracking();\n for (let i = 0; i < this._depsLength; i++) {\n const dep = this.deps[i];\n if (dep.computed) {\n triggerComputed(dep.computed);\n if (this._dirtyLevel >= 4) {\n break;\n }\n }\n }\n if (this._dirtyLevel === 1) {\n this._dirtyLevel = 0;\n }\n resetTracking();\n }\n return this._dirtyLevel >= 4;\n }\n set dirty(v) {\n this._dirtyLevel = v ? 4 : 0;\n }\n run() {\n this._dirtyLevel = 0;\n if (!this.active) {\n return this.fn();\n }\n let lastShouldTrack = shouldTrack;\n let lastEffect = activeEffect;\n try {\n shouldTrack = true;\n activeEffect = this;\n this._runnings++;\n preCleanupEffect(this);\n return this.fn();\n } finally {\n postCleanupEffect(this);\n this._runnings--;\n activeEffect = lastEffect;\n shouldTrack = lastShouldTrack;\n }\n }\n stop() {\n var _a;\n if (this.active) {\n preCleanupEffect(this);\n postCleanupEffect(this);\n (_a = this.onStop) == null ? void 0 : _a.call(this);\n this.active = false;\n }\n }\n}\nfunction triggerComputed(computed) {\n return computed.value;\n}\nfunction preCleanupEffect(effect2) {\n effect2._trackId++;\n effect2._depsLength = 0;\n}\nfunction postCleanupEffect(effect2) {\n if (effect2.deps.length > effect2._depsLength) {\n for (let i = effect2._depsLength; i < effect2.deps.length; i++) {\n cleanupDepEffect(effect2.deps[i], effect2);\n }\n effect2.deps.length = effect2._depsLength;\n }\n}\nfunction cleanupDepEffect(dep, effect2) {\n const trackId = dep.get(effect2);\n if (trackId !== void 0 && effect2._trackId !== trackId) {\n dep.delete(effect2);\n if (dep.size === 0) {\n dep.cleanup();\n }\n }\n}\nfunction effect(fn, options) {\n if (fn.effect instanceof ReactiveEffect) {\n fn = fn.effect.fn;\n }\n const _effect = new ReactiveEffect(fn, NOOP, () => {\n if (_effect.dirty) {\n _effect.run();\n }\n });\n if (options) {\n extend(_effect, options);\n if (options.scope)\n recordEffectScope(_effect, options.scope);\n }\n if (!options || !options.lazy) {\n _effect.run();\n }\n const runner = _effect.run.bind(_effect);\n runner.effect = _effect;\n return runner;\n}\nfunction stop(runner) {\n runner.effect.stop();\n}\nlet shouldTrack = true;\nlet pauseScheduleStack = 0;\nconst trackStack = [];\nfunction pauseTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = false;\n}\nfunction resetTracking() {\n const last = trackStack.pop();\n shouldTrack = last === void 0 ? true : last;\n}\nfunction pauseScheduling() {\n pauseScheduleStack++;\n}\nfunction resetScheduling() {\n pauseScheduleStack--;\n while (!pauseScheduleStack && queueEffectSchedulers.length) {\n queueEffectSchedulers.shift()();\n }\n}\nfunction trackEffect(effect2, dep, debuggerEventExtraInfo) {\n var _a;\n if (dep.get(effect2) !== effect2._trackId) {\n dep.set(effect2, effect2._trackId);\n const oldDep = effect2.deps[effect2._depsLength];\n if (oldDep !== dep) {\n if (oldDep) {\n cleanupDepEffect(oldDep, effect2);\n }\n effect2.deps[effect2._depsLength++] = dep;\n } else {\n effect2._depsLength++;\n }\n if (!!(process.env.NODE_ENV !== \"production\")) {\n (_a = effect2.onTrack) == null ? void 0 : _a.call(effect2, extend({ effect: effect2 }, debuggerEventExtraInfo));\n }\n }\n}\nconst queueEffectSchedulers = [];\nfunction triggerEffects(dep, dirtyLevel, debuggerEventExtraInfo) {\n var _a;\n pauseScheduling();\n for (const effect2 of dep.keys()) {\n let tracking;\n if (effect2._dirtyLevel < dirtyLevel && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {\n effect2._shouldSchedule || (effect2._shouldSchedule = effect2._dirtyLevel === 0);\n effect2._dirtyLevel = dirtyLevel;\n }\n if (effect2._shouldSchedule && (tracking != null ? tracking : tracking = dep.get(effect2) === effect2._trackId)) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n (_a = effect2.onTrigger) == null ? void 0 : _a.call(effect2, extend({ effect: effect2 }, debuggerEventExtraInfo));\n }\n effect2.trigger();\n if ((!effect2._runnings || effect2.allowRecurse) && effect2._dirtyLevel !== 2) {\n effect2._shouldSchedule = false;\n if (effect2.scheduler) {\n queueEffectSchedulers.push(effect2.scheduler);\n }\n }\n }\n }\n resetScheduling();\n}\n\nconst createDep = (cleanup, computed) => {\n const dep = /* @__PURE__ */ new Map();\n dep.cleanup = cleanup;\n dep.computed = computed;\n return dep;\n};\n\nconst targetMap = /* @__PURE__ */ new WeakMap();\nconst ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== \"production\") ? \"iterate\" : \"\");\nconst MAP_KEY_ITERATE_KEY = Symbol(!!(process.env.NODE_ENV !== \"production\") ? \"Map key iterate\" : \"\");\nfunction track(target, type, key) {\n if (shouldTrack && activeEffect) {\n let depsMap = targetMap.get(target);\n if (!depsMap) {\n targetMap.set(target, depsMap = /* @__PURE__ */ new Map());\n }\n let dep = depsMap.get(key);\n if (!dep) {\n depsMap.set(key, dep = createDep(() => depsMap.delete(key)));\n }\n trackEffect(\n activeEffect,\n dep,\n !!(process.env.NODE_ENV !== \"production\") ? {\n target,\n type,\n key\n } : void 0\n );\n }\n}\nfunction trigger(target, type, key, newValue, oldValue, oldTarget) {\n const depsMap = targetMap.get(target);\n if (!depsMap) {\n return;\n }\n let deps = [];\n if (type === \"clear\") {\n deps = [...depsMap.values()];\n } else if (key === \"length\" && isArray(target)) {\n const newLength = Number(newValue);\n depsMap.forEach((dep, key2) => {\n if (key2 === \"length\" || !isSymbol(key2) && key2 >= newLength) {\n deps.push(dep);\n }\n });\n } else {\n if (key !== void 0) {\n deps.push(depsMap.get(key));\n }\n switch (type) {\n case \"add\":\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n } else if (isIntegerKey(key)) {\n deps.push(depsMap.get(\"length\"));\n }\n break;\n case \"delete\":\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n }\n break;\n case \"set\":\n if (isMap(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n }\n break;\n }\n }\n pauseScheduling();\n for (const dep of deps) {\n if (dep) {\n triggerEffects(\n dep,\n 4,\n !!(process.env.NODE_ENV !== \"production\") ? {\n target,\n type,\n key,\n newValue,\n oldValue,\n oldTarget\n } : void 0\n );\n }\n }\n resetScheduling();\n}\nfunction getDepFromReactive(object, key) {\n var _a;\n return (_a = targetMap.get(object)) == null ? void 0 : _a.get(key);\n}\n\nconst isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);\nconst builtInSymbols = new Set(\n /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== \"arguments\" && key !== \"caller\").map((key) => Symbol[key]).filter(isSymbol)\n);\nconst arrayInstrumentations = /* @__PURE__ */ createArrayInstrumentations();\nfunction createArrayInstrumentations() {\n const instrumentations = {};\n [\"includes\", \"indexOf\", \"lastIndexOf\"].forEach((key) => {\n instrumentations[key] = function(...args) {\n const arr = toRaw(this);\n for (let i = 0, l = this.length; i < l; i++) {\n track(arr, \"get\", i + \"\");\n }\n const res = arr[key](...args);\n if (res === -1 || res === false) {\n return arr[key](...args.map(toRaw));\n } else {\n return res;\n }\n };\n });\n [\"push\", \"pop\", \"shift\", \"unshift\", \"splice\"].forEach((key) => {\n instrumentations[key] = function(...args) {\n pauseTracking();\n pauseScheduling();\n const res = toRaw(this)[key].apply(this, args);\n resetScheduling();\n resetTracking();\n return res;\n };\n });\n return instrumentations;\n}\nfunction hasOwnProperty(key) {\n const obj = toRaw(this);\n track(obj, \"has\", key);\n return obj.hasOwnProperty(key);\n}\nclass BaseReactiveHandler {\n constructor(_isReadonly = false, _isShallow = false) {\n this._isReadonly = _isReadonly;\n this._isShallow = _isShallow;\n }\n get(target, key, receiver) {\n const isReadonly2 = this._isReadonly, isShallow2 = this._isShallow;\n if (key === \"__v_isReactive\") {\n return !isReadonly2;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly2;\n } else if (key === \"__v_isShallow\") {\n return isShallow2;\n } else if (key === \"__v_raw\") {\n if (receiver === (isReadonly2 ? isShallow2 ? shallowReadonlyMap : readonlyMap : isShallow2 ? shallowReactiveMap : reactiveMap).get(target) || // receiver is not the reactive proxy, but has the same prototype\n // this means the reciever is a user proxy of the reactive proxy\n Object.getPrototypeOf(target) === Object.getPrototypeOf(receiver)) {\n return target;\n }\n return;\n }\n const targetIsArray = isArray(target);\n if (!isReadonly2) {\n if (targetIsArray && hasOwn(arrayInstrumentations, key)) {\n return Reflect.get(arrayInstrumentations, key, receiver);\n }\n if (key === \"hasOwnProperty\") {\n return hasOwnProperty;\n }\n }\n const res = Reflect.get(target, key, receiver);\n if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {\n return res;\n }\n if (!isReadonly2) {\n track(target, \"get\", key);\n }\n if (isShallow2) {\n return res;\n }\n if (isRef(res)) {\n return targetIsArray && isIntegerKey(key) ? res : res.value;\n }\n if (isObject(res)) {\n return isReadonly2 ? readonly(res) : reactive(res);\n }\n return res;\n }\n}\nclass MutableReactiveHandler extends BaseReactiveHandler {\n constructor(isShallow2 = false) {\n super(false, isShallow2);\n }\n set(target, key, value, receiver) {\n let oldValue = target[key];\n if (!this._isShallow) {\n const isOldValueReadonly = isReadonly(oldValue);\n if (!isShallow(value) && !isReadonly(value)) {\n oldValue = toRaw(oldValue);\n value = toRaw(value);\n }\n if (!isArray(target) && isRef(oldValue) && !isRef(value)) {\n if (isOldValueReadonly) {\n return false;\n } else {\n oldValue.value = value;\n return true;\n }\n }\n }\n const hadKey = isArray(target) && isIntegerKey(key) ? Number(key) < target.length : hasOwn(target, key);\n const result = Reflect.set(target, key, value, receiver);\n if (target === toRaw(receiver)) {\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n }\n return result;\n }\n deleteProperty(target, key) {\n const hadKey = hasOwn(target, key);\n const oldValue = target[key];\n const result = Reflect.deleteProperty(target, key);\n if (result && hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n }\n has(target, key) {\n const result = Reflect.has(target, key);\n if (!isSymbol(key) || !builtInSymbols.has(key)) {\n track(target, \"has\", key);\n }\n return result;\n }\n ownKeys(target) {\n track(\n target,\n \"iterate\",\n isArray(target) ? \"length\" : ITERATE_KEY\n );\n return Reflect.ownKeys(target);\n }\n}\nclass ReadonlyReactiveHandler extends BaseReactiveHandler {\n constructor(isShallow2 = false) {\n super(true, isShallow2);\n }\n set(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$2(\n `Set operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n }\n deleteProperty(target, key) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$2(\n `Delete operation on key \"${String(key)}\" failed: target is readonly.`,\n target\n );\n }\n return true;\n }\n}\nconst mutableHandlers = /* @__PURE__ */ new MutableReactiveHandler();\nconst readonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler();\nconst shallowReactiveHandlers = /* @__PURE__ */ new MutableReactiveHandler(\n true\n);\nconst shallowReadonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler(true);\n\nconst toShallow = (value) => value;\nconst getProto = (v) => Reflect.getPrototypeOf(v);\nfunction get(target, key, isReadonly = false, isShallow = false) {\n target = target[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (hasChanged(key, rawKey)) {\n track(rawTarget, \"get\", key);\n }\n track(rawTarget, \"get\", rawKey);\n }\n const { has: has2 } = getProto(rawTarget);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n if (has2.call(rawTarget, key)) {\n return wrap(target.get(key));\n } else if (has2.call(rawTarget, rawKey)) {\n return wrap(target.get(rawKey));\n } else if (target !== rawTarget) {\n target.get(key);\n }\n}\nfunction has(key, isReadonly = false) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (hasChanged(key, rawKey)) {\n track(rawTarget, \"has\", key);\n }\n track(rawTarget, \"has\", rawKey);\n }\n return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);\n}\nfunction size(target, isReadonly = false) {\n target = target[\"__v_raw\"];\n !isReadonly && track(toRaw(target), \"iterate\", ITERATE_KEY);\n return Reflect.get(target, \"size\", target);\n}\nfunction add(value) {\n value = toRaw(value);\n const target = toRaw(this);\n const proto = getProto(target);\n const hadKey = proto.has.call(target, value);\n if (!hadKey) {\n target.add(value);\n trigger(target, \"add\", value, value);\n }\n return this;\n}\nfunction set$1(key, value) {\n value = toRaw(value);\n const target = toRaw(this);\n const { has: has2, get: get2 } = getProto(target);\n let hadKey = has2.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has2.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has2, key);\n }\n const oldValue = get2.call(target, key);\n target.set(key, value);\n if (!hadKey) {\n trigger(target, \"add\", key, value);\n } else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\", key, value, oldValue);\n }\n return this;\n}\nfunction deleteEntry(key) {\n const target = toRaw(this);\n const { has: has2, get: get2 } = getProto(target);\n let hadKey = has2.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has2.call(target, key);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n checkIdentityKeys(target, has2, key);\n }\n const oldValue = get2 ? get2.call(target, key) : void 0;\n const result = target.delete(key);\n if (hadKey) {\n trigger(target, \"delete\", key, void 0, oldValue);\n }\n return result;\n}\nfunction clear() {\n const target = toRaw(this);\n const hadItems = target.size !== 0;\n const oldTarget = !!(process.env.NODE_ENV !== \"production\") ? isMap(target) ? new Map(target) : new Set(target) : void 0;\n const result = target.clear();\n if (hadItems) {\n trigger(target, \"clear\", void 0, void 0, oldTarget);\n }\n return result;\n}\nfunction createForEach(isReadonly, isShallow) {\n return function forEach(callback, thisArg) {\n const observed = this;\n const target = observed[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(rawTarget, \"iterate\", ITERATE_KEY);\n return target.forEach((value, key) => {\n return callback.call(thisArg, wrap(value), wrap(key), observed);\n });\n };\n}\nfunction createIterableMethod(method, isReadonly, isShallow) {\n return function(...args) {\n const target = this[\"__v_raw\"];\n const rawTarget = toRaw(target);\n const targetIsMap = isMap(rawTarget);\n const isPair = method === \"entries\" || method === Symbol.iterator && targetIsMap;\n const isKeyOnly = method === \"keys\" && targetIsMap;\n const innerIterator = target[method](...args);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(\n rawTarget,\n \"iterate\",\n isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY\n );\n return {\n // iterator protocol\n next() {\n const { value, done } = innerIterator.next();\n return done ? { value, done } : {\n value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),\n done\n };\n },\n // iterable protocol\n [Symbol.iterator]() {\n return this;\n }\n };\n };\n}\nfunction createReadonlyMethod(type) {\n return function(...args) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const key = args[0] ? `on key \"${args[0]}\" ` : ``;\n warn$2(\n `${capitalize(type)} operation ${key}failed: target is readonly.`,\n toRaw(this)\n );\n }\n return type === \"delete\" ? false : type === \"clear\" ? void 0 : this;\n };\n}\nfunction createInstrumentations() {\n const mutableInstrumentations2 = {\n get(key) {\n return get(this, key);\n },\n get size() {\n return size(this);\n },\n has,\n add,\n set: set$1,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, false)\n };\n const shallowInstrumentations2 = {\n get(key) {\n return get(this, key, false, true);\n },\n get size() {\n return size(this);\n },\n has,\n add,\n set: set$1,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, true)\n };\n const readonlyInstrumentations2 = {\n get(key) {\n return get(this, key, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\"),\n forEach: createForEach(true, false)\n };\n const shallowReadonlyInstrumentations2 = {\n get(key) {\n return get(this, key, true, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\"),\n set: createReadonlyMethod(\"set\"),\n delete: createReadonlyMethod(\"delete\"),\n clear: createReadonlyMethod(\"clear\"),\n forEach: createForEach(true, true)\n };\n const iteratorMethods = [\n \"keys\",\n \"values\",\n \"entries\",\n Symbol.iterator\n ];\n iteratorMethods.forEach((method) => {\n mutableInstrumentations2[method] = createIterableMethod(method, false, false);\n readonlyInstrumentations2[method] = createIterableMethod(method, true, false);\n shallowInstrumentations2[method] = createIterableMethod(method, false, true);\n shallowReadonlyInstrumentations2[method] = createIterableMethod(\n method,\n true,\n true\n );\n });\n return [\n mutableInstrumentations2,\n readonlyInstrumentations2,\n shallowInstrumentations2,\n shallowReadonlyInstrumentations2\n ];\n}\nconst [\n mutableInstrumentations,\n readonlyInstrumentations,\n shallowInstrumentations,\n shallowReadonlyInstrumentations\n] = /* @__PURE__ */ createInstrumentations();\nfunction createInstrumentationGetter(isReadonly, shallow) {\n const instrumentations = shallow ? isReadonly ? shallowReadonlyInstrumentations : shallowInstrumentations : isReadonly ? readonlyInstrumentations : mutableInstrumentations;\n return (target, key, receiver) => {\n if (key === \"__v_isReactive\") {\n return !isReadonly;\n } else if (key === \"__v_isReadonly\") {\n return isReadonly;\n } else if (key === \"__v_raw\") {\n return target;\n }\n return Reflect.get(\n hasOwn(instrumentations, key) && key in target ? instrumentations : target,\n key,\n receiver\n );\n };\n}\nconst mutableCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, false)\n};\nconst shallowCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(false, true)\n};\nconst readonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, false)\n};\nconst shallowReadonlyCollectionHandlers = {\n get: /* @__PURE__ */ createInstrumentationGetter(true, true)\n};\nfunction checkIdentityKeys(target, has2, key) {\n const rawKey = toRaw(key);\n if (rawKey !== key && has2.call(target, rawKey)) {\n const type = toRawType(target);\n warn$2(\n `Reactive ${type} contains both the raw and reactive versions of the same object${type === `Map` ? ` as keys` : ``}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`\n );\n }\n}\n\nconst reactiveMap = /* @__PURE__ */ new WeakMap();\nconst shallowReactiveMap = /* @__PURE__ */ new WeakMap();\nconst readonlyMap = /* @__PURE__ */ new WeakMap();\nconst shallowReadonlyMap = /* @__PURE__ */ new WeakMap();\nfunction targetTypeMap(rawType) {\n switch (rawType) {\n case \"Object\":\n case \"Array\":\n return 1 /* COMMON */;\n case \"Map\":\n case \"Set\":\n case \"WeakMap\":\n case \"WeakSet\":\n return 2 /* COLLECTION */;\n default:\n return 0 /* INVALID */;\n }\n}\nfunction getTargetType(value) {\n return value[\"__v_skip\"] || !Object.isExtensible(value) ? 0 /* INVALID */ : targetTypeMap(toRawType(value));\n}\nfunction reactive(target) {\n if (isReadonly(target)) {\n return target;\n }\n return createReactiveObject(\n target,\n false,\n mutableHandlers,\n mutableCollectionHandlers,\n reactiveMap\n );\n}\nfunction shallowReactive(target) {\n return createReactiveObject(\n target,\n false,\n shallowReactiveHandlers,\n shallowCollectionHandlers,\n shallowReactiveMap\n );\n}\nfunction readonly(target) {\n return createReactiveObject(\n target,\n true,\n readonlyHandlers,\n readonlyCollectionHandlers,\n readonlyMap\n );\n}\nfunction shallowReadonly(target) {\n return createReactiveObject(\n target,\n true,\n shallowReadonlyHandlers,\n shallowReadonlyCollectionHandlers,\n shallowReadonlyMap\n );\n}\nfunction createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) {\n if (!isObject(target)) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$2(`value cannot be made reactive: ${String(target)}`);\n }\n return target;\n }\n if (target[\"__v_raw\"] && !(isReadonly2 && target[\"__v_isReactive\"])) {\n return target;\n }\n const existingProxy = proxyMap.get(target);\n if (existingProxy) {\n return existingProxy;\n }\n const targetType = getTargetType(target);\n if (targetType === 0 /* INVALID */) {\n return target;\n }\n const proxy = new Proxy(\n target,\n targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers\n );\n proxyMap.set(target, proxy);\n return proxy;\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\"]);\n }\n return !!(value && value[\"__v_isReactive\"]);\n}\nfunction isReadonly(value) {\n return !!(value && value[\"__v_isReadonly\"]);\n}\nfunction isShallow(value) {\n return !!(value && value[\"__v_isShallow\"]);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n const raw = observed && observed[\"__v_raw\"];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n if (Object.isExtensible(value)) {\n def(value, \"__v_skip\", true);\n }\n return value;\n}\nconst toReactive = (value) => isObject(value) ? reactive(value) : value;\nconst toReadonly = (value) => isObject(value) ? readonly(value) : value;\n\nconst COMPUTED_SIDE_EFFECT_WARN = `Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free`;\nclass ComputedRefImpl {\n constructor(getter, _setter, isReadonly, isSSR) {\n this.getter = getter;\n this._setter = _setter;\n this.dep = void 0;\n this.__v_isRef = true;\n this[\"__v_isReadonly\"] = false;\n this.effect = new ReactiveEffect(\n () => getter(this._value),\n () => triggerRefValue(\n this,\n this.effect._dirtyLevel === 2 ? 2 : 3\n )\n );\n this.effect.computed = this;\n this.effect.active = this._cacheable = !isSSR;\n this[\"__v_isReadonly\"] = isReadonly;\n }\n get value() {\n const self = toRaw(this);\n if ((!self._cacheable || self.effect.dirty) && hasChanged(self._value, self._value = self.effect.run())) {\n triggerRefValue(self, 4);\n }\n trackRefValue(self);\n if (self.effect._dirtyLevel >= 2) {\n if (!!(process.env.NODE_ENV !== \"production\") && this._warnRecursive) {\n warn$2(COMPUTED_SIDE_EFFECT_WARN, `\n\ngetter: `, this.getter);\n }\n triggerRefValue(self, 2);\n }\n return self._value;\n }\n set value(newValue) {\n this._setter(newValue);\n }\n // #region polyfill _dirty for backward compatibility third party code for Vue <= 3.3.x\n get _dirty() {\n return this.effect.dirty;\n }\n set _dirty(v) {\n this.effect.dirty = v;\n }\n // #endregion\n}\nfunction computed$1(getterOrOptions, debugOptions, isSSR = false) {\n let getter;\n let setter;\n const onlyGetter = isFunction(getterOrOptions);\n if (onlyGetter) {\n getter = getterOrOptions;\n setter = !!(process.env.NODE_ENV !== \"production\") ? () => {\n warn$2(\"Write operation failed: computed value is readonly\");\n } : NOOP;\n } else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n const cRef = new ComputedRefImpl(getter, setter, onlyGetter || !setter, isSSR);\n if (!!(process.env.NODE_ENV !== \"production\") && debugOptions && !isSSR) {\n cRef.effect.onTrack = debugOptions.onTrack;\n cRef.effect.onTrigger = debugOptions.onTrigger;\n }\n return cRef;\n}\n\nfunction trackRefValue(ref2) {\n var _a;\n if (shouldTrack && activeEffect) {\n ref2 = toRaw(ref2);\n trackEffect(\n activeEffect,\n (_a = ref2.dep) != null ? _a : ref2.dep = createDep(\n () => ref2.dep = void 0,\n ref2 instanceof ComputedRefImpl ? ref2 : void 0\n ),\n !!(process.env.NODE_ENV !== \"production\") ? {\n target: ref2,\n type: \"get\",\n key: \"value\"\n } : void 0\n );\n }\n}\nfunction triggerRefValue(ref2, dirtyLevel = 4, newVal) {\n ref2 = toRaw(ref2);\n const dep = ref2.dep;\n if (dep) {\n triggerEffects(\n dep,\n dirtyLevel,\n !!(process.env.NODE_ENV !== \"production\") ? {\n target: ref2,\n type: \"set\",\n key: \"value\",\n newValue: newVal\n } : void 0\n );\n }\n}\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\nfunction ref(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n return new RefImpl(rawValue, shallow);\n}\nclass RefImpl {\n constructor(value, __v_isShallow) {\n this.__v_isShallow = __v_isShallow;\n this.dep = void 0;\n this.__v_isRef = true;\n this._rawValue = __v_isShallow ? value : toRaw(value);\n this._value = __v_isShallow ? value : toReactive(value);\n }\n get value() {\n trackRefValue(this);\n return this._value;\n }\n set value(newVal) {\n const useDirectValue = this.__v_isShallow || isShallow(newVal) || isReadonly(newVal);\n newVal = useDirectValue ? newVal : toRaw(newVal);\n if (hasChanged(newVal, this._rawValue)) {\n this._rawValue = newVal;\n this._value = useDirectValue ? newVal : toReactive(newVal);\n triggerRefValue(this, 4, newVal);\n }\n }\n}\nfunction triggerRef(ref2) {\n triggerRefValue(ref2, 4, !!(process.env.NODE_ENV !== \"production\") ? ref2.value : void 0);\n}\nfunction unref(ref2) {\n return isRef(ref2) ? ref2.value : ref2;\n}\nfunction toValue(source) {\n return isFunction(source) ? source() : unref(source);\n}\nconst shallowUnwrapHandlers = {\n get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),\n set: (target, key, value, receiver) => {\n const oldValue = target[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n } else {\n return Reflect.set(target, key, value, receiver);\n }\n }\n};\nfunction proxyRefs(objectWithRefs) {\n return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers);\n}\nclass CustomRefImpl {\n constructor(factory) {\n this.dep = void 0;\n this.__v_isRef = true;\n const { get, set } = factory(\n () => trackRefValue(this),\n () => triggerRefValue(this)\n );\n this._get = get;\n this._set = set;\n }\n get value() {\n return this._get();\n }\n set value(newVal) {\n this._set(newVal);\n }\n}\nfunction customRef(factory) {\n return new CustomRefImpl(factory);\n}\nfunction toRefs(object) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isProxy(object)) {\n warn$2(`toRefs() expects a reactive object but received a plain one.`);\n }\n const ret = isArray(object) ? new Array(object.length) : {};\n for (const key in object) {\n ret[key] = propertyToRef(object, key);\n }\n return ret;\n}\nclass ObjectRefImpl {\n constructor(_object, _key, _defaultValue) {\n this._object = _object;\n this._key = _key;\n this._defaultValue = _defaultValue;\n this.__v_isRef = true;\n }\n get value() {\n const val = this._object[this._key];\n return val === void 0 ? this._defaultValue : val;\n }\n set value(newVal) {\n this._object[this._key] = newVal;\n }\n get dep() {\n return getDepFromReactive(toRaw(this._object), this._key);\n }\n}\nclass GetterRefImpl {\n constructor(_getter) {\n this._getter = _getter;\n this.__v_isRef = true;\n this.__v_isReadonly = true;\n }\n get value() {\n return this._getter();\n }\n}\nfunction toRef(source, key, defaultValue) {\n if (isRef(source)) {\n return source;\n } else if (isFunction(source)) {\n return new GetterRefImpl(source);\n } else if (isObject(source) && arguments.length > 1) {\n return propertyToRef(source, key, defaultValue);\n } else {\n return ref(source);\n }\n}\nfunction propertyToRef(source, key, defaultValue) {\n const val = source[key];\n return isRef(val) ? val : new ObjectRefImpl(source, key, defaultValue);\n}\n\nconst stack = [];\nfunction pushWarningContext(vnode) {\n stack.push(vnode);\n}\nfunction popWarningContext() {\n stack.pop();\n}\nfunction warn$1(msg, ...args) {\n pauseTracking();\n const instance = stack.length ? stack[stack.length - 1].component : null;\n const appWarnHandler = instance && instance.appContext.config.warnHandler;\n const trace = getComponentTrace();\n if (appWarnHandler) {\n callWithErrorHandling(\n appWarnHandler,\n instance,\n 11,\n [\n msg + args.map((a) => {\n var _a, _b;\n return (_b = (_a = a.toString) == null ? void 0 : _a.call(a)) != null ? _b : JSON.stringify(a);\n }).join(\"\"),\n instance && instance.proxy,\n trace.map(\n ({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`\n ).join(\"\\n\"),\n trace\n ]\n );\n } else {\n const warnArgs = [`[Vue warn]: ${msg}`, ...args];\n if (trace.length && // avoid spamming console during tests\n true) {\n warnArgs.push(`\n`, ...formatTrace(trace));\n }\n console.warn(...warnArgs);\n }\n resetTracking();\n}\nfunction getComponentTrace() {\n let currentVNode = stack[stack.length - 1];\n if (!currentVNode) {\n return [];\n }\n const normalizedStack = [];\n while (currentVNode) {\n const last = normalizedStack[0];\n if (last && last.vnode === currentVNode) {\n last.recurseCount++;\n } else {\n normalizedStack.push({\n vnode: currentVNode,\n recurseCount: 0\n });\n }\n const parentInstance = currentVNode.component && currentVNode.component.parent;\n currentVNode = parentInstance && parentInstance.vnode;\n }\n return normalizedStack;\n}\nfunction formatTrace(trace) {\n const logs = [];\n trace.forEach((entry, i) => {\n logs.push(...i === 0 ? [] : [`\n`], ...formatTraceEntry(entry));\n });\n return logs;\n}\nfunction formatTraceEntry({ vnode, recurseCount }) {\n const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;\n const isRoot = vnode.component ? vnode.component.parent == null : false;\n const open = ` at <${formatComponentName(\n vnode.component,\n vnode.type,\n isRoot\n )}`;\n const close = `>` + postfix;\n return vnode.props ? [open, ...formatProps(vnode.props), close] : [open + close];\n}\nfunction formatProps(props) {\n const res = [];\n const keys = Object.keys(props);\n keys.slice(0, 3).forEach((key) => {\n res.push(...formatProp(key, props[key]));\n });\n if (keys.length > 3) {\n res.push(` ...`);\n }\n return res;\n}\nfunction formatProp(key, value, raw) {\n if (isString(value)) {\n value = JSON.stringify(value);\n return raw ? value : [`${key}=${value}`];\n } else if (typeof value === \"number\" || typeof value === \"boolean\" || value == null) {\n return raw ? value : [`${key}=${value}`];\n } else if (isRef(value)) {\n value = formatProp(key, toRaw(value.value), true);\n return raw ? value : [`${key}=Ref<`, value, `>`];\n } else if (isFunction(value)) {\n return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];\n } else {\n value = toRaw(value);\n return raw ? value : [`${key}=`, value];\n }\n}\n\nconst ErrorTypeStrings = {\n [\"sp\"]: \"serverPrefetch hook\",\n [\"bc\"]: \"beforeCreate hook\",\n [\"c\"]: \"created hook\",\n [\"bm\"]: \"beforeMount hook\",\n [\"m\"]: \"mounted hook\",\n [\"bu\"]: \"beforeUpdate hook\",\n [\"u\"]: \"updated\",\n [\"bum\"]: \"beforeUnmount hook\",\n [\"um\"]: \"unmounted hook\",\n [\"a\"]: \"activated hook\",\n [\"da\"]: \"deactivated hook\",\n [\"ec\"]: \"errorCaptured hook\",\n [\"rtc\"]: \"renderTracked hook\",\n [\"rtg\"]: \"renderTriggered hook\",\n [0]: \"setup function\",\n [1]: \"render function\",\n [2]: \"watcher getter\",\n [3]: \"watcher callback\",\n [4]: \"watcher cleanup function\",\n [5]: \"native event handler\",\n [6]: \"component event handler\",\n [7]: \"vnode hook\",\n [8]: \"directive hook\",\n [9]: \"transition hook\",\n [10]: \"app errorHandler\",\n [11]: \"app warnHandler\",\n [12]: \"ref function\",\n [13]: \"async component loader\",\n [14]: \"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core .\"\n};\nfunction callWithErrorHandling(fn, instance, type, args) {\n try {\n return args ? fn(...args) : fn();\n } catch (err) {\n handleError(err, instance, type);\n }\n}\nfunction callWithAsyncErrorHandling(fn, instance, type, args) {\n if (isFunction(fn)) {\n const res = callWithErrorHandling(fn, instance, type, args);\n if (res && isPromise(res)) {\n res.catch((err) => {\n handleError(err, instance, type);\n });\n }\n return res;\n }\n const values = [];\n for (let i = 0; i < fn.length; i++) {\n values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));\n }\n return values;\n}\nfunction handleError(err, instance, type, throwInDev = true) {\n const contextVNode = instance ? instance.vnode : null;\n if (instance) {\n let cur = instance.parent;\n const exposedInstance = instance.proxy;\n const errorInfo = !!(process.env.NODE_ENV !== \"production\") ? ErrorTypeStrings[type] || type : `https://vuejs.org/error-reference/#runtime-${type}`;\n while (cur) {\n const errorCapturedHooks = cur.ec;\n if (errorCapturedHooks) {\n for (let i = 0; i < errorCapturedHooks.length; i++) {\n if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {\n return;\n }\n }\n }\n cur = cur.parent;\n }\n const appErrorHandler = instance.appContext.config.errorHandler;\n if (appErrorHandler) {\n callWithErrorHandling(\n appErrorHandler,\n null,\n 10,\n [err, exposedInstance, errorInfo]\n );\n return;\n }\n }\n logError(err, type, contextVNode, throwInDev);\n}\nfunction logError(err, type, contextVNode, throwInDev = true) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const info = ErrorTypeStrings[type] || type;\n if (contextVNode) {\n pushWarningContext(contextVNode);\n }\n warn$1(`Unhandled error${info ? ` during execution of ${info}` : ``}`);\n if (contextVNode) {\n popWarningContext();\n }\n if (throwInDev) {\n console.error(err);\n } else {\n console.error(err);\n }\n } else {\n console.error(err);\n }\n}\n\nlet isFlushing = false;\nlet isFlushPending = false;\nconst queue = [];\nlet flushIndex = 0;\nconst pendingPostFlushCbs = [];\nlet activePostFlushCbs = null;\nlet postFlushIndex = 0;\nconst resolvedPromise = /* @__PURE__ */ Promise.resolve();\nlet currentFlushPromise = null;\nconst RECURSION_LIMIT = 100;\nfunction nextTick$1(fn) {\n const p = currentFlushPromise || resolvedPromise;\n return fn ? p.then(this ? fn.bind(this) : fn) : p;\n}\nfunction findInsertionIndex(id) {\n let start = flushIndex + 1;\n let end = queue.length;\n while (start < end) {\n const middle = start + end >>> 1;\n const middleJob = queue[middle];\n const middleJobId = getId(middleJob);\n if (middleJobId < id || middleJobId === id && middleJob.pre) {\n start = middle + 1;\n } else {\n end = middle;\n }\n }\n return start;\n}\nfunction queueJob(job) {\n if (!queue.length || !queue.includes(\n job,\n isFlushing && job.allowRecurse ? flushIndex + 1 : flushIndex\n )) {\n if (job.id == null) {\n queue.push(job);\n } else {\n queue.splice(findInsertionIndex(job.id), 0, job);\n }\n queueFlush();\n }\n}\nfunction queueFlush() {\n if (!isFlushing && !isFlushPending) {\n isFlushPending = true;\n currentFlushPromise = resolvedPromise.then(flushJobs);\n }\n}\nfunction hasQueueJob(job) {\n return queue.indexOf(job) > -1;\n}\nfunction invalidateJob(job) {\n const i = queue.indexOf(job);\n if (i > flushIndex) {\n queue.splice(i, 1);\n }\n}\nfunction queuePostFlushCb(cb) {\n if (!isArray(cb)) {\n if (!activePostFlushCbs || !activePostFlushCbs.includes(\n cb,\n cb.allowRecurse ? postFlushIndex + 1 : postFlushIndex\n )) {\n pendingPostFlushCbs.push(cb);\n }\n } else {\n pendingPostFlushCbs.push(...cb);\n }\n queueFlush();\n}\nfunction flushPreFlushCbs(instance, seen, i = isFlushing ? flushIndex + 1 : 0) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n for (; i < queue.length; i++) {\n const cb = queue[i];\n if (cb && cb.pre) {\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, cb)) {\n continue;\n }\n queue.splice(i, 1);\n i--;\n cb();\n }\n }\n}\nfunction flushPostFlushCbs(seen) {\n if (pendingPostFlushCbs.length) {\n const deduped = [...new Set(pendingPostFlushCbs)].sort(\n (a, b) => getId(a) - getId(b)\n );\n pendingPostFlushCbs.length = 0;\n if (activePostFlushCbs) {\n activePostFlushCbs.push(...deduped);\n return;\n }\n activePostFlushCbs = deduped;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {\n if (!!(process.env.NODE_ENV !== \"production\") && checkRecursiveUpdates(seen, activePostFlushCbs[postFlushIndex])) {\n continue;\n }\n activePostFlushCbs[postFlushIndex]();\n }\n activePostFlushCbs = null;\n postFlushIndex = 0;\n }\n}\nconst getId = (job) => job.id == null ? Infinity : job.id;\nconst comparator = (a, b) => {\n const diff = getId(a) - getId(b);\n if (diff === 0) {\n if (a.pre && !b.pre)\n return -1;\n if (b.pre && !a.pre)\n return 1;\n }\n return diff;\n};\nfunction flushJobs(seen) {\n isFlushPending = false;\n isFlushing = true;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n seen = seen || /* @__PURE__ */ new Map();\n }\n queue.sort(comparator);\n const check = !!(process.env.NODE_ENV !== \"production\") ? (job) => checkRecursiveUpdates(seen, job) : NOOP;\n try {\n for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {\n const job = queue[flushIndex];\n if (job && job.active !== false) {\n if (!!(process.env.NODE_ENV !== \"production\") && check(job)) {\n continue;\n }\n callWithErrorHandling(job, null, 14);\n }\n }\n } finally {\n flushIndex = 0;\n queue.length = 0;\n flushPostFlushCbs(seen);\n isFlushing = false;\n currentFlushPromise = null;\n if (queue.length || pendingPostFlushCbs.length) {\n flushJobs(seen);\n }\n }\n}\nfunction checkRecursiveUpdates(seen, fn) {\n if (!seen.has(fn)) {\n seen.set(fn, 1);\n } else {\n const count = seen.get(fn);\n if (count > RECURSION_LIMIT) {\n const instance = fn.ownerInstance;\n const componentName = instance && getComponentName(instance.type);\n handleError(\n `Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,\n null,\n 10\n );\n return true;\n } else {\n seen.set(fn, count + 1);\n }\n }\n}\n\nlet devtools;\nlet buffer = [];\nlet devtoolsNotInstalled = false;\nfunction emit$1(event, ...args) {\n if (devtools) {\n devtools.emit(event, ...args);\n } else if (!devtoolsNotInstalled) {\n buffer.push({ event, args });\n }\n}\nfunction setDevtoolsHook(hook, target) {\n var _a, _b;\n devtools = hook;\n if (devtools) {\n devtools.enabled = true;\n buffer.forEach(({ event, args }) => devtools.emit(event, ...args));\n buffer = [];\n } else if (\n // handle late devtools injection - only do this if we are in an actual\n // browser environment to avoid the timer handle stalling test runner exit\n // (#4815)\n typeof window !== \"undefined\" && // some envs mock window but not fully\n window.HTMLElement && // also exclude jsdom\n !((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes(\"jsdom\"))\n ) {\n const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];\n replay.push((newHook) => {\n setDevtoolsHook(newHook, target);\n });\n setTimeout(() => {\n if (!devtools) {\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;\n devtoolsNotInstalled = true;\n buffer = [];\n }\n }, 3e3);\n } else {\n devtoolsNotInstalled = true;\n buffer = [];\n }\n}\nfunction devtoolsInitApp(app, version) {\n emit$1(\"app:init\" /* APP_INIT */, app, version, {\n Fragment,\n Text,\n Comment,\n Static\n });\n}\nconst devtoolsComponentAdded = /* @__PURE__ */ createDevtoolsComponentHook(\n \"component:added\" /* COMPONENT_ADDED */\n);\nconst devtoolsComponentUpdated = /* @__PURE__ */ createDevtoolsComponentHook(\"component:updated\" /* COMPONENT_UPDATED */);\nconst _devtoolsComponentRemoved = /* @__PURE__ */ createDevtoolsComponentHook(\n \"component:removed\" /* COMPONENT_REMOVED */\n);\nconst devtoolsComponentRemoved = (component) => {\n if (devtools && typeof devtools.cleanupBuffer === \"function\" && // remove the component if it wasn't buffered\n !devtools.cleanupBuffer(component)) {\n _devtoolsComponentRemoved(component);\n }\n};\n/*! #__NO_SIDE_EFFECTS__ */\n// @__NO_SIDE_EFFECTS__\nfunction createDevtoolsComponentHook(hook) {\n return (component) => {\n emit$1(\n hook,\n component.appContext.app,\n component.uid,\n // fixed by xxxxxx\n // 为 0 是 App,无 parent 是 Page 指向 App\n component.uid === 0 ? void 0 : component.parent ? component.parent.uid : 0,\n component\n );\n };\n}\nconst devtoolsPerfStart = /* @__PURE__ */ createDevtoolsPerformanceHook(\n \"perf:start\" /* PERFORMANCE_START */\n);\nconst devtoolsPerfEnd = /* @__PURE__ */ createDevtoolsPerformanceHook(\n \"perf:end\" /* PERFORMANCE_END */\n);\nfunction createDevtoolsPerformanceHook(hook) {\n return (component, type, time) => {\n emit$1(hook, component.appContext.app, component.uid, component, type, time);\n };\n}\nfunction devtoolsComponentEmit(component, event, params) {\n emit$1(\n \"component:emit\" /* COMPONENT_EMIT */,\n component.appContext.app,\n component,\n event,\n params\n );\n}\n\nfunction emit(instance, event, ...rawArgs) {\n if (instance.isUnmounted)\n return;\n const props = instance.vnode.props || EMPTY_OBJ;\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const {\n emitsOptions,\n propsOptions: [propsOptions]\n } = instance;\n if (emitsOptions) {\n if (!(event in emitsOptions) && true) {\n if (!propsOptions || !(toHandlerKey(event) in propsOptions)) {\n warn$1(\n `Component emitted event \"${event}\" but it is neither declared in the emits option nor as an \"${toHandlerKey(event)}\" prop.`\n );\n }\n } else {\n const validator = emitsOptions[event];\n if (isFunction(validator)) {\n const isValid = validator(...rawArgs);\n if (!isValid) {\n warn$1(\n `Invalid event arguments: event validation failed for event \"${event}\".`\n );\n }\n }\n }\n }\n }\n let args = rawArgs;\n const isModelListener = event.startsWith(\"update:\");\n const modelArg = isModelListener && event.slice(7);\n if (modelArg && modelArg in props) {\n const modifiersKey = `${modelArg === \"modelValue\" ? \"model\" : modelArg}Modifiers`;\n const { number, trim } = props[modifiersKey] || EMPTY_OBJ;\n if (trim) {\n args = rawArgs.map((a) => isString(a) ? a.trim() : a);\n }\n if (number) {\n args = rawArgs.map(looseToNumber);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentEmit(instance, event, args);\n }\n if (!!(process.env.NODE_ENV !== \"production\")) {\n const lowerCaseEvent = event.toLowerCase();\n if (lowerCaseEvent !== event && props[toHandlerKey(lowerCaseEvent)]) {\n warn$1(\n `Event \"${lowerCaseEvent}\" is emitted in component ${formatComponentName(\n instance,\n instance.type\n )} but the handler is registered for \"${event}\". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use \"${hyphenate(\n event\n )}\" instead of \"${event}\".`\n );\n }\n }\n let handlerName;\n let handler = props[handlerName = toHandlerKey(event)] || // also try camelCase event handler (#2249)\n props[handlerName = toHandlerKey(camelize(event))];\n if (!handler && isModelListener) {\n handler = props[handlerName = toHandlerKey(hyphenate(event))];\n }\n if (handler) {\n callWithAsyncErrorHandling(\n handler,\n instance,\n 6,\n args\n );\n }\n const onceHandler = props[handlerName + `Once`];\n if (onceHandler) {\n if (!instance.emitted) {\n instance.emitted = {};\n } else if (instance.emitted[handlerName]) {\n return;\n }\n instance.emitted[handlerName] = true;\n callWithAsyncErrorHandling(\n onceHandler,\n instance,\n 6,\n args\n );\n }\n}\nfunction normalizeEmitsOptions(comp, appContext, asMixin = false) {\n const cache = appContext.emitsCache;\n const cached = cache.get(comp);\n if (cached !== void 0) {\n return cached;\n }\n const raw = comp.emits;\n let normalized = {};\n let hasExtends = false;\n if (__VUE_OPTIONS_API__ && !isFunction(comp)) {\n const extendEmits = (raw2) => {\n const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true);\n if (normalizedFromExtend) {\n hasExtends = true;\n extend(normalized, normalizedFromExtend);\n }\n };\n if (!asMixin && appContext.mixins.length) {\n appContext.mixins.forEach(extendEmits);\n }\n if (comp.extends) {\n extendEmits(comp.extends);\n }\n if (comp.mixins) {\n comp.mixins.forEach(extendEmits);\n }\n }\n if (!raw && !hasExtends) {\n if (isObject(comp)) {\n cache.set(comp, null);\n }\n return null;\n }\n if (isArray(raw)) {\n raw.forEach((key) => normalized[key] = null);\n } else {\n extend(normalized, raw);\n }\n if (isObject(comp)) {\n cache.set(comp, normalized);\n }\n return normalized;\n}\nfunction isEmitListener(options, key) {\n if (!options || !isOn(key)) {\n return false;\n }\n key = key.slice(2).replace(/Once$/, \"\");\n return hasOwn(options, key[0].toLowerCase() + key.slice(1)) || hasOwn(options, hyphenate(key)) || hasOwn(options, key);\n}\n\nlet currentRenderingInstance = null;\nlet currentScopeId = null;\nfunction setCurrentRenderingInstance(instance) {\n const prev = currentRenderingInstance;\n currentRenderingInstance = instance;\n currentScopeId = instance && instance.type.__scopeId || null;\n return prev;\n}\nconst withScopeId = (_id) => withCtx;\nfunction withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) {\n if (!ctx)\n return fn;\n if (fn._n) {\n return fn;\n }\n const renderFnWithContext = (...args) => {\n if (renderFnWithContext._d) {\n setBlockTracking(-1);\n }\n const prevInstance = setCurrentRenderingInstance(ctx);\n let res;\n try {\n res = fn(...args);\n } finally {\n setCurrentRenderingInstance(prevInstance);\n if (renderFnWithContext._d) {\n setBlockTracking(1);\n }\n }\n if (!!(process.env.NODE_ENV !== \"production\") || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentUpdated(ctx);\n }\n return res;\n };\n renderFnWithContext._n = true;\n renderFnWithContext._c = true;\n renderFnWithContext._d = true;\n return renderFnWithContext;\n}\n\nfunction markAttrsAccessed() {\n}\n\nconst COMPONENTS = \"components\";\nconst DIRECTIVES = \"directives\";\nfunction resolveComponent(name, maybeSelfReference) {\n return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;\n}\nconst NULL_DYNAMIC_COMPONENT = Symbol.for(\"v-ndc\");\nfunction resolveDirective(name) {\n return resolveAsset(DIRECTIVES, name);\n}\nfunction resolveAsset(type, name, warnMissing = true, maybeSelfReference = false) {\n const instance = currentRenderingInstance || currentInstance;\n if (instance) {\n const Component = instance.type;\n if (type === COMPONENTS) {\n const selfName = getComponentName(\n Component,\n false\n );\n if (selfName && (selfName === name || selfName === camelize(name) || selfName === capitalize(camelize(name)))) {\n return Component;\n }\n }\n const res = (\n // local registration\n // check instance[type] first which is resolved for options API\n resolve(instance[type] || Component[type], name) || // global registration\n resolve(instance.appContext[type], name)\n );\n if (!res && maybeSelfReference) {\n return Component;\n }\n if (!!(process.env.NODE_ENV !== \"production\") && warnMissing && !res) {\n const extra = type === COMPONENTS ? `\nIf this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ``;\n warn$1(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);\n }\n return res;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\n `resolve${capitalize(type.slice(0, -1))} can only be used in render() or setup().`\n );\n }\n}\nfunction resolve(registry, name) {\n return registry && (registry[name] || registry[camelize(name)] || registry[capitalize(camelize(name))]);\n}\n\nconst ssrContextKey = Symbol.for(\"v-scx\");\nconst useSSRContext = () => {\n {\n const ctx = inject(ssrContextKey);\n if (!ctx) {\n !!(process.env.NODE_ENV !== \"production\") && warn$1(\n `Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.`\n );\n }\n return ctx;\n }\n};\n\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(\n effect,\n null,\n !!(process.env.NODE_ENV !== \"production\") ? extend({}, options, { flush: \"post\" }) : { flush: \"post\" }\n );\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(\n effect,\n null,\n !!(process.env.NODE_ENV !== \"production\") ? extend({}, options, { flush: \"sync\" }) : { flush: \"sync\" }\n );\n}\nconst INITIAL_WATCHER_VALUE = {};\nfunction watch(source, cb, options) {\n if (!!(process.env.NODE_ENV !== \"production\") && !isFunction(cb)) {\n warn$1(\n `\\`watch(fn, options?)\\` signature has been moved to a separate API. Use \\`watchEffect(fn, options?)\\` instead. \\`watch\\` now only supports \\`watch(source, cb, options?) signature.`\n );\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, {\n immediate,\n deep,\n flush,\n once,\n onTrack,\n onTrigger\n} = EMPTY_OBJ) {\n if (cb && once) {\n const _cb = cb;\n cb = (...args) => {\n _cb(...args);\n unwatch();\n };\n }\n if (!!(process.env.NODE_ENV !== \"production\") && deep !== void 0 && typeof deep === \"number\") {\n warn$1(\n `watch() \"deep\" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.`\n );\n }\n if (!!(process.env.NODE_ENV !== \"production\") && !cb) {\n if (immediate !== void 0) {\n warn$1(\n `watch() \"immediate\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n if (deep !== void 0) {\n warn$1(\n `watch() \"deep\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n if (once !== void 0) {\n warn$1(\n `watch() \"once\" option is only respected when using the watch(source, callback, options?) signature.`\n );\n }\n }\n const warnInvalidSource = (s) => {\n warn$1(\n `Invalid watch source: `,\n s,\n `A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`\n );\n };\n const instance = currentInstance;\n const reactiveGetter = (source2) => deep === true ? source2 : (\n // for deep: false, only traverse root-level properties\n traverse(source2, deep === false ? 1 : void 0)\n );\n let getter;\n let forceTrigger = false;\n let isMultiSource = false;\n if (isRef(source)) {\n getter = () => source.value;\n forceTrigger = isShallow(source);\n } else if (isReactive(source)) {\n getter = () => reactiveGetter(source);\n forceTrigger = true;\n } else if (isArray(source)) {\n isMultiSource = true;\n forceTrigger = source.some((s) => isReactive(s) || isShallow(s));\n getter = () => source.map((s) => {\n if (isRef(s)) {\n return s.value;\n } else if (isReactive(s)) {\n return reactiveGetter(s);\n } else if (isFunction(s)) {\n return callWithErrorHandling(s, instance, 2);\n } else {\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(s);\n }\n });\n } else if (isFunction(source)) {\n if (cb) {\n getter = () => callWithErrorHandling(source, instance, 2);\n } else {\n getter = () => {\n if (cleanup) {\n cleanup();\n }\n return callWithAsyncErrorHandling(\n source,\n instance,\n 3,\n [onCleanup]\n );\n };\n }\n } else {\n getter = NOOP;\n !!(process.env.NODE_ENV !== \"production\") && warnInvalidSource(source);\n }\n if (cb && deep) {\n const baseGetter = getter;\n getter = () => traverse(baseGetter());\n }\n let cleanup;\n let onCleanup = (fn) => {\n cleanup = effect.onStop = () => {\n callWithErrorHandling(fn, instance, 4);\n cleanup = effect.onStop = void 0;\n };\n };\n let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;\n const job = () => {\n if (!effect.active || !effect.dirty) {\n return;\n }\n if (cb) {\n const newValue = effect.run();\n if (deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => hasChanged(v, oldValue[i])) : hasChanged(newValue, oldValue)) || false) {\n if (cleanup) {\n cleanup();\n }\n callWithAsyncErrorHandling(cb, instance, 3, [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue,\n onCleanup\n ]);\n oldValue = newValue;\n }\n } else {\n effect.run();\n }\n };\n job.allowRecurse = !!cb;\n let scheduler;\n if (flush === \"sync\") {\n scheduler = job;\n } else if (flush === \"post\") {\n scheduler = () => queuePostRenderEffect$1(job, instance && instance.suspense);\n } else {\n job.pre = true;\n if (instance)\n job.id = instance.uid;\n scheduler = () => queueJob(job);\n }\n const effect = new ReactiveEffect(getter, NOOP, scheduler);\n const scope = getCurrentScope();\n const unwatch = () => {\n effect.stop();\n if (scope) {\n remove(scope.effects, effect);\n }\n };\n if (!!(process.env.NODE_ENV !== \"production\")) {\n effect.onTrack = onTrack;\n effect.onTrigger = onTrigger;\n }\n if (cb) {\n if (immediate) {\n job();\n } else {\n oldValue = effect.run();\n }\n } else if (flush === \"post\") {\n queuePostRenderEffect$1(\n effect.run.bind(effect),\n instance && instance.suspense\n );\n } else {\n effect.run();\n }\n return unwatch;\n}\nfunction instanceWatch(source, value, options) {\n const publicThis = this.proxy;\n const getter = isString(source) ? source.includes(\".\") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);\n let cb;\n if (isFunction(value)) {\n cb = value;\n } else {\n cb = value.handler;\n options = value;\n }\n const reset = setCurrentInstance(this);\n const res = doWatch(getter, cb.bind(publicThis), options);\n reset();\n return res;\n}\nfunction createPathGetter(ctx, path) {\n const segments = path.split(\".\");\n return () => {\n let cur = ctx;\n for (let i = 0; i < segments.length && cur; i++) {\n cur = cur[segments[i]];\n }\n return cur;\n };\n}\nfunction traverse(value, depth, currentDepth = 0, seen) {\n if (!isObject(value) || value[\"__v_skip\"]) {\n return value;\n }\n if (depth && depth > 0) {\n if (currentDepth >= depth) {\n return value;\n }\n currentDepth++;\n }\n seen = seen || /* @__PURE__ */ new Set();\n if (seen.has(value)) {\n return value;\n }\n seen.add(value);\n if (isRef(value)) {\n traverse(value.value, depth, currentDepth, seen);\n } else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n traverse(value[i], depth, currentDepth, seen);\n }\n } else if (isSet(value) || isMap(value)) {\n value.forEach((v) => {\n traverse(v, depth, currentDepth, seen);\n });\n } else if (isPlainObject(value)) {\n for (const key in value) {\n traverse(value[key], depth, currentDepth, seen);\n }\n }\n return value;\n}\n\nfunction validateDirectiveName(name) {\n if (isBuiltInDirective(name)) {\n warn$1(\"Do not use built-in directive ids as custom directive id: \" + name);\n }\n}\nfunction withDirectives(vnode, directives) {\n if (currentRenderingInstance === null) {\n !!(process.env.NODE_ENV !== \"production\") && warn$1(`withDirectives can only be used inside render functions.`);\n return vnode;\n }\n const instance = getExposeProxy(currentRenderingInstance) || currentRenderingInstance.proxy;\n const bindings = vnode.dirs || (vnode.dirs = []);\n for (let i = 0; i < directives.length; i++) {\n let [dir, value, arg, modifiers = EMPTY_OBJ] = directives[i];\n if (dir) {\n if (isFunction(dir)) {\n dir = {\n mounted: dir,\n updated: dir\n };\n }\n if (dir.deep) {\n traverse(value);\n }\n bindings.push({\n dir,\n instance,\n value,\n oldValue: void 0,\n arg,\n modifiers\n });\n }\n }\n return vnode;\n}\n\nfunction createAppContext() {\n return {\n app: null,\n config: {\n isNativeTag: NO,\n performance: false,\n globalProperties: {},\n optionMergeStrategies: {},\n errorHandler: void 0,\n warnHandler: void 0,\n compilerOptions: {}\n },\n mixins: [],\n components: {},\n directives: {},\n provides: /* @__PURE__ */ Object.create(null),\n optionsCache: /* @__PURE__ */ new WeakMap(),\n propsCache: /* @__PURE__ */ new WeakMap(),\n emitsCache: /* @__PURE__ */ new WeakMap()\n };\n}\nlet uid$1 = 0;\nfunction createAppAPI(render, hydrate) {\n return function createApp(rootComponent, rootProps = null) {\n if (!isFunction(rootComponent)) {\n rootComponent = extend({}, rootComponent);\n }\n if (rootProps != null && !isObject(rootProps)) {\n !!(process.env.NODE_ENV !== \"production\") && warn$1(`root props passed to app.mount() must be an object.`);\n rootProps = null;\n }\n const context = createAppContext();\n const installedPlugins = /* @__PURE__ */ new WeakSet();\n const app = context.app = {\n _uid: uid$1++,\n _component: rootComponent,\n _props: rootProps,\n _container: null,\n _context: context,\n _instance: null,\n version,\n get config() {\n return context.config;\n },\n set config(v) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\n `app.config cannot be replaced. Modify individual options instead.`\n );\n }\n },\n use(plugin, ...options) {\n if (installedPlugins.has(plugin)) {\n !!(process.env.NODE_ENV !== \"production\") && warn$1(`Plugin has already been applied to target app.`);\n } else if (plugin && isFunction(plugin.install)) {\n installedPlugins.add(plugin);\n plugin.install(app, ...options);\n } else if (isFunction(plugin)) {\n installedPlugins.add(plugin);\n plugin(app, ...options);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\n `A plugin must either be a function or an object with an \"install\" function.`\n );\n }\n return app;\n },\n mixin(mixin) {\n if (__VUE_OPTIONS_API__) {\n if (!context.mixins.includes(mixin)) {\n context.mixins.push(mixin);\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\n \"Mixin has already been applied to target app\" + (mixin.name ? `: ${mixin.name}` : \"\")\n );\n }\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(\"Mixins are only available in builds supporting Options API\");\n }\n return app;\n },\n component(name, component) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n validateComponentName(name, context.config);\n }\n if (!component) {\n return context.components[name];\n }\n if (!!(process.env.NODE_ENV !== \"production\") && context.components[name]) {\n warn$1(`Component \"${name}\" has already been registered in target app.`);\n }\n context.components[name] = component;\n return app;\n },\n directive(name, directive) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n validateDirectiveName(name);\n }\n if (!directive) {\n return context.directives[name];\n }\n if (!!(process.env.NODE_ENV !== \"production\") && context.directives[name]) {\n warn$1(`Directive \"${name}\" has already been registered in target app.`);\n }\n context.directives[name] = directive;\n return app;\n },\n // fixed by xxxxxx\n mount() {\n },\n // fixed by xxxxxx\n unmount() {\n },\n provide(key, value) {\n if (!!(process.env.NODE_ENV !== \"production\") && key in context.provides) {\n warn$1(\n `App already provides property with key \"${String(key)}\". It will be overwritten with the new value.`\n );\n }\n context.provides[key] = value;\n return app;\n },\n runWithContext(fn) {\n const lastApp = currentApp;\n currentApp = app;\n try {\n return fn();\n } finally {\n currentApp = lastApp;\n }\n }\n };\n return app;\n };\n}\nlet currentApp = null;\n\nfunction provide(key, value) {\n if (!currentInstance) {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(`provide() can only be used inside setup().`);\n }\n } else {\n let provides = currentInstance.provides;\n const parentProvides = currentInstance.parent && currentInstance.parent.provides;\n if (parentProvides === provides) {\n provides = currentInstance.provides = Object.create(parentProvides);\n }\n provides[key] = value;\n if (currentInstance.type.mpType === \"app\") {\n currentInstance.appContext.app.provide(key, value);\n }\n }\n}\nfunction inject(key, defaultValue, treatDefaultAsFactory = false) {\n const instance = currentInstance || currentRenderingInstance;\n if (instance || currentApp) {\n const provides = instance ? instance.parent == null ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : currentApp._context.provides;\n if (provides && key in provides) {\n return provides[key];\n } else if (arguments.length > 1) {\n return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(`injection \"${String(key)}\" not found.`);\n }\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n warn$1(`inject() can only be used inside setup() or functional components.`);\n }\n}\nfunction hasInjectionContext() {\n return !!(currentInstance || currentRenderingInstance || currentApp);\n}\n\n/*! #__NO_SIDE_EFFECTS__ */\n// @__NO_SIDE_EFFECTS__\nfunction defineComponent(options, extraOptions) {\n return isFunction(options) ? (\n // #8326: extend call and options.name access are considered side-effects\n // by Rollup, so we have to wrap it in a pure-annotated IIFE.\n /* @__PURE__ */ (() => extend({ name: options.name }, extraOptions, { setup: options }))()\n ) : options;\n}\n\nconst isKeepAlive = (vnode) => vnode.type.__isKeepAlive;\nfunction onActivated(hook, target) {\n registerKeepAliveHook(hook, \"a\", target);\n}\nfunction onDeactivated(hook, target) {\n registerKeepAliveHook(hook, \"da\", target);\n}\nfunction registerKeepAliveHook(hook, type, target = currentInstance) {\n const wrappedHook = hook.__wdc || (hook.__wdc = () => {\n let current = target;\n while (current) {\n if (current.isDeactivated) {\n return;\n }\n current = current.parent;\n }\n return hook();\n });\n injectHook(type, wrappedHook, target);\n if (target) {\n let current = target.parent;\n while (current && current.parent) {\n if (isKeepAlive(current.parent.vnode)) {\n injectToKeepAliveRoot(wrappedHook, type, target, current);\n }\n current = current.parent;\n }\n }\n}\nfunction injectToKeepAliveRoot(hook, type, target, keepAliveRoot) {\n const injected = injectHook(\n type,\n hook,\n keepAliveRoot,\n true\n /* prepend */\n );\n onUnmounted(() => {\n remove(keepAliveRoot[type], injected);\n }, target);\n}\n\nfunction injectHook(type, hook, target = currentInstance, prepend = false) {\n if (target) {\n if (isRootHook(type)) {\n target = target.root;\n }\n const hooks = target[type] || (target[type] = []);\n const wrappedHook = hook.__weh || (hook.__weh = (...args) => {\n if (target.isUnmounted) {\n return;\n }\n pauseTracking();\n const reset = setCurrentInstance(target);\n const res = callWithAsyncErrorHandling(hook, target, type, args);\n reset();\n resetTracking();\n return res;\n });\n if (prepend) {\n hooks.unshift(wrappedHook);\n } else {\n hooks.push(wrappedHook);\n }\n return wrappedHook;\n } else if (!!(process.env.NODE_ENV !== \"production\")) {\n const apiName = toHandlerKey(\n (ErrorTypeStrings[type] || type.replace(/^on/, \"\")).replace(/ hook$/, \"\")\n );\n warn$1(\n `${apiName} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().` + (``)\n );\n }\n}\nconst createHook = (lifecycle) => (hook, target = currentInstance) => (\n // post-create lifecycle registrations are noops during SSR (except for serverPrefetch)\n (!isInSSRComponentSetup || lifecycle === \"sp\") && injectHook(lifecycle, (...args) => hook(...args), target)\n);\nconst onBeforeMount = createHook(\"bm\");\nconst onMounted = createHook(\"m\");\nconst onBeforeUpdate = createHook(\"bu\");\nconst onUpdated = createHook(\"u\");\nconst onBeforeUnmount = createHook(\"bum\");\nconst onUnmounted = createHook(\"um\");\nconst onServerPrefetch = createHook(\"sp\");\nconst onRenderTriggered = createHook(\n \"rtg\"\n);\nconst onRenderTracked = createHook(\n \"rtc\"\n);\nfunction onErrorCaptured(hook, target = currentInstance) {\n injectHook(\"ec\", hook, target);\n}\n\nfunction toHandlers(obj, preserveCaseIfNecessary) {\n const ret = {};\n if (!!(process.env.NODE_ENV !== \"production\") && !isObject(obj)) {\n warn$1(`v-on with no argument expects an object value.`);\n return ret;\n }\n for (const key in obj) {\n ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = obj[key];\n }\n return ret;\n}\n\nconst getPublicInstance = (i) => {\n if (!i)\n return null;\n if (isStatefulComponent(i))\n return getExposeProxy(i) || i.proxy;\n return getPublicInstance(i.parent);\n};\nfunction getComponentInternalInstance(i) {\n return i;\n}\nconst publicPropertiesMap = (\n // Move PURE marker to new line to workaround compiler discarding it\n // due to type annotation\n /* @__PURE__ */ extend(/* @__PURE__ */ Object.create(null), {\n // fixed by xxxxxx\n $: getComponentInternalInstance,\n // fixed by xxxxxx vue-i18n 在 dev 模式,访问了 $el,故模拟一个假的\n // $el: i => i.vnode.el,\n $el: (i) => i.__$el || (i.__$el = {}),\n $data: (i) => i.data,\n $props: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.props) : i.props,\n $attrs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.attrs) : i.attrs,\n $slots: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.slots) : i.slots,\n $refs: (i) => !!(process.env.NODE_ENV !== \"production\") ? shallowReadonly(i.refs) : i.refs,\n $parent: (i) => getPublicInstance(i.parent),\n $root: (i) => getPublicInstance(i.root),\n $emit: (i) => i.emit,\n $options: (i) => __VUE_OPTIONS_API__ ? resolveMergedOptions(i) : i.type,\n $forceUpdate: (i) => i.f || (i.f = () => {\n i.effect.dirty = true;\n queueJob(i.update);\n }),\n // $nextTick: i => i.n || (i.n = nextTick.bind(i.proxy!)),// fixed by xxxxxx\n $watch: (i) => __VUE_OPTIONS_API__ ? instanceWatch.bind(i) : NOOP\n })\n);\nconst isReservedPrefix = (key) => key === \"_\" || key === \"$\";\nconst hasSetupBinding = (state, key) => state !== EMPTY_OBJ && !state.__isScriptSetup && hasOwn(state, key);\nconst PublicInstanceProxyHandlers = {\n get({ _: instance }, key) {\n const { ctx, setupState, data, props, accessCache, type, appContext } = instance;\n if (!!(process.env.NODE_ENV !== \"production\") && key === \"__isVue\") {\n return true;\n }\n let normalizedProps;\n if (key[0] !== \"$\") {\n const n = accessCache[key];\n if (n !== void 0) {\n switch (n) {\n case 1 /* SETUP */:\n return setupState[key];\n case 2 /* DATA */:\n return data[key];\n case 4 /* CONTEXT */:\n return ctx[key];\n case 3 /* PROPS */:\n return props[key];\n }\n } else if (hasSetupBinding(setupState, key)) {\n accessCache[key] = 1 /* SETUP */;\n return setupState[key];\n } else if (data !== EMPTY_OBJ && hasOwn(data, key)) {\n accessCache[key] = 2 /* DATA */;\n return data[key];\n } else if (\n // only cache other properties when instance has declared (thus stable)\n // props\n (normalizedProps = instance.propsOptions[0]) && hasOwn(normalizedProps, key)\n ) {\n accessCache[key] = 3 /* PROPS */;\n return props[key];\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (!__VUE_OPTIONS_API__ || shouldCacheAccess) {\n accessCache[key] = 0 /* OTHER */;\n }\n }\n const publicGetter = publicPropertiesMap[key];\n let cssModule, globalProperties;\n if (publicGetter) {\n if (key === \"$attrs\") {\n track(instance, \"get\", key);\n !!(process.env.NODE_ENV !== \"production\") && markAttrsAccessed();\n } else if (!!(process.env.NODE_ENV !== \"production\") && key === \"$slots\") {\n track(instance, \"get\", key);\n }\n return publicGetter(instance);\n } else if (\n // css module (injected by vue-loader)\n (cssModule = type.__cssModules) && (cssModule = cssModule[key])\n ) {\n return cssModule;\n } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {\n accessCache[key] = 4 /* CONTEXT */;\n return ctx[key];\n } else if (\n // global properties\n globalProperties = appContext.config.globalProperties, hasOwn(globalProperties, key)\n ) {\n {\n return globalProperties[key];\n }\n } else if (!!(process.env.NODE_ENV !== \"production\") && currentRenderingInstance && (!isString(key) || // #1091 avoid internal isRef/isVNode checks on component instance leading\n // to infinite warning loop\n key.indexOf(\"__v\") !== 0)) {\n if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn(data, key)) {\n warn$1(\n `Property ${JSON.stringify(\n key\n )} must be accessed via $data because it starts with a reserved character (\"$\" or \"_\") and is not proxied on the render context.`\n );\n } else if (instance === currentRenderingInstance) {\n warn$1(\n `Property ${JSON.stringify(key)} was accessed during render but is not defined on instance.`\n );\n }\n }\n },\n set({ _: instance }, key, value) {\n const { data, setupState, ctx } = instance;\n if (hasSetupBinding(setupState, key)) {\n setupState[key] = value;\n return true;\n } else if (!!(process.env.NODE_ENV !== \"production\") && setupState.__isScriptSetup && hasOwn(setupState, key)) {\n warn$1(`Cannot mutate \r\n\r\n","import MiniProgramPage from 'D:/代码/uniapp/WorkCameraf/pages/index/index.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","uni","locationData","getLocation","getLocationTranslate","getLocationGeocoder","chooseImage","formatDate","addWatermark","imageToBase64","addWatermarkRecord","saveImageToPhotosAlbum","onLoad","getConfig","getCachedLogo","MiniProgramPage"],"mappings":"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"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-combox/components/uni-combox/uni-combox.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-combox/components/uni-combox/uni-combox.js.map deleted file mode 100644 index 554e40f..0000000 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-combox/components/uni-combox/uni-combox.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"uni-combox.js","sources":["uni_modules/uni-combox/components/uni-combox/uni-combox.vue","../../../软件/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov5Luj56CBL3VuaWFwcC9Xb3JrQ2FtZXJhZi91bmlfbW9kdWxlcy91bmktY29tYm94L2NvbXBvbmVudHMvdW5pLWNvbWJveC91bmktY29tYm94LnZ1ZQ"],"sourcesContent":["\r\n\r\n\r\n\r\n\r\n","import Component from 'D:/代码/uniapp/WorkCameraf/uni_modules/uni-combox/components/uni-combox/uni-combox.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;AAyCC,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,OAAO,CAAC,SAAS,qBAAoB,QAAQ;AAAA,EAC7C,OAAO;AAAA,IACN,WAAW;AAAA,MACV,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,QAAQ;AAAA,MACP,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,OAAO;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,YAAY;AAAA,MACX,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,aAAa;AAAA,MACZ,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,YAAY;AAAA,MACX,MAAM;AAAA,MACN,UAAW;AACV,eAAO,CAAC;AAAA,MACT;AAAA,IACA;AAAA,IACD,WAAW;AAAA,MACV,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IAQD,YAAY;AAAA,MACX,MAAM,CAAC,QAAQ,MAAM;AAAA,MACrB,SAAS;AAAA,IACT;AAAA,EAED;AAAA,EACD,OAAO;AACN,WAAO;AAAA,MACN,cAAc;AAAA,MACd,UAAU;AAAA,IACX;AAAA,EACA;AAAA,EACD,UAAU;AAAA,IACT,aAAa;AACZ,UAAI,KAAK,eAAe,QAAQ;AAC/B,eAAO;AAAA,MACR;AACA,aAAO,UAAU,KAAK,UAAU;AAAA,IAChC;AAAA,IACD,mBAAmB;AAClB,aAAO,KAAK,WAAW,OAAO,CAAC,SAAS;AACvC,eAAO,KAAK,WAAW,QAAQ,KAAK,QAAQ,IAAI;AAAA,OAChD;AAAA,IACD;AAAA,IACD,yBAAyB;AACxB,aAAO,KAAK,iBAAiB;AAAA,IAC9B;AAAA,EACA;AAAA,EACD,OAAO;AAAA,IAUN,YAAY;AAAA,MACX,QAAQ,QAAQ;AACf,aAAK,WAAW;AAAA,MAChB;AAAA,MACD,WAAW;AAAA,IACX;AAAA,EAED;AAAA,EACD,SAAS;AAAA,IACR,iBAAiB;AAChB,WAAK,eAAe,CAAC,KAAK;AAAA,IAC1B;AAAA,IACD,UAAU;AACT,WAAK,eAAe;AAAA,IACpB;AAAA,IACD,SAAS;AACR,iBAAW,MAAM;AAChB,aAAK,eAAe;AAAA,MACpB,GAAE,GAAG;AAAA,IACN;AAAA,IACD,gBAAgB,OAAO;AACtB,WAAK,WAAW,KAAK,iBAAiB,KAAK;AAC3C,WAAK,eAAe;AACpB,WAAK,MAAM,SAAS,KAAK,QAAQ;AACjC,WAAK,MAAM,UAAU,KAAK,QAAQ;AAClC,WAAK,MAAM,qBAAqB,KAAK,QAAQ;AAAA,IAC7C;AAAA,IACD,UAAU;AACT,iBAAW,MAAM;AAChB,aAAK,MAAM,SAAS,KAAK,QAAQ;AACjC,aAAK,MAAM,qBAAqB,KAAK,QAAQ;AAAA,OAC7C;AAAA,IACD;AAAA,IACD,QAAQ;AACP,WAAK,WAAW;AAChB,WAAK,QAAQ;AAAA,IACd;AAAA,EACD;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC7JD,GAAG,gBAAgB,SAAS;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js.map deleted file mode 100644 index ccc6cbd..0000000 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uni-icons.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"uni-icons.js","sources":["uni_modules/uni-icons/components/uni-icons/uni-icons.vue","../../../软件/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov5Luj56CBL3VuaWFwcC9Xb3JrQ2FtZXJhZi91bmlfbW9kdWxlcy91bmktaWNvbnMvY29tcG9uZW50cy91bmktaWNvbnMvdW5pLWljb25zLnZ1ZQ"],"sourcesContent":["\r\n\r\n\r\n\r\n","import Component from 'D:/代码/uniapp/WorkCameraf/uni_modules/uni-icons/components/uni-icons/uni-icons.vue'\nwx.createComponent(Component)"],"names":["fontData"],"mappings":";;;AAcC,MAAM,SAAS,CAAC,QAAQ;AACvB,QAAM,MAAM;AACZ,SAAQ,OAAO,QAAQ,YAAY,IAAI,KAAK,GAAG,IAAK,MAAM,OAAO;AAClE;AAqBA,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,OAAO,CAAC,OAAO;AAAA,EACf,OAAO;AAAA,IACN,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,OAAO;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,MAAM;AAAA,MACL,MAAM,CAAC,QAAQ,MAAM;AAAA,MACrB,SAAS;AAAA,IACT;AAAA,IACD,cAAc;AAAA,MACb,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,YAAY;AAAA,MACX,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA,EACA;AAAA,EACD,OAAO;AACN,WAAO;AAAA,MACN,OAAOA,2DAAO;AAAA,IACf;AAAA,EACA;AAAA,EACD,UAAU;AAAA,IACT,UAAU;AACT,UAAI,OAAO,KAAK,MAAM,KAAK,OAAK,EAAE,eAAe,KAAK,IAAI;AAC1D,UAAI,MAAM;AACT,eAAO,KAAK;AAAA,MACb;AACA,aAAO;AAAA,IACP;AAAA,IACD,WAAW;AACV,aAAO,OAAO,KAAK,IAAI;AAAA,IACvB;AAAA,IACD,WAAW;AACV,UAAI,KAAK,eAAe,IAAI;AAC3B,eAAO,UAAU,KAAK,KAAK,gBAAgB,KAAK,QAAQ,kBAAkB,KAAK,UAAU;AAAA,MAC1F;AACA,aAAO,UAAU,KAAK,KAAK,gBAAgB,KAAK,QAAQ;AAAA,IACzD;AAAA,EACA;AAAA,EACD,SAAS;AAAA,IACR,SAAS,GAAG;AACX,WAAK,MAAM,SAAS,CAAC;AAAA,IACtB;AAAA,EACD;AACD;;;;;;;;;;;AC1FD,GAAG,gBAAgB,SAAS;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uniicons_file_vue.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uniicons_file_vue.js.map deleted file mode 100644 index bfd3961..0000000 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-icons/components/uni-icons/uniicons_file_vue.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"uniicons_file_vue.js","sources":["uni_modules/uni-icons/components/uni-icons/uniicons_file_vue.js"],"sourcesContent":["\r\nexport const fontData = [\n {\n \"font_class\": \"arrow-down\",\n \"unicode\": \"\\ue6be\"\n },\n {\n \"font_class\": \"arrow-left\",\n \"unicode\": \"\\ue6bc\"\n },\n {\n \"font_class\": \"arrow-right\",\n \"unicode\": \"\\ue6bb\"\n },\n {\n \"font_class\": \"arrow-up\",\n \"unicode\": \"\\ue6bd\"\n },\n {\n \"font_class\": \"auth\",\n \"unicode\": \"\\ue6ab\"\n },\n {\n \"font_class\": \"auth-filled\",\n \"unicode\": \"\\ue6cc\"\n },\n {\n \"font_class\": \"back\",\n \"unicode\": \"\\ue6b9\"\n },\n {\n \"font_class\": \"bars\",\n \"unicode\": \"\\ue627\"\n },\n {\n \"font_class\": \"calendar\",\n \"unicode\": \"\\ue6a0\"\n },\n {\n \"font_class\": \"calendar-filled\",\n \"unicode\": \"\\ue6c0\"\n },\n {\n \"font_class\": \"camera\",\n \"unicode\": \"\\ue65a\"\n },\n {\n \"font_class\": \"camera-filled\",\n \"unicode\": \"\\ue658\"\n },\n {\n \"font_class\": \"cart\",\n \"unicode\": \"\\ue631\"\n },\n {\n \"font_class\": \"cart-filled\",\n \"unicode\": \"\\ue6d0\"\n },\n {\n \"font_class\": \"chat\",\n \"unicode\": \"\\ue65d\"\n },\n {\n \"font_class\": \"chat-filled\",\n \"unicode\": \"\\ue659\"\n },\n {\n \"font_class\": \"chatboxes\",\n \"unicode\": \"\\ue696\"\n },\n {\n \"font_class\": \"chatboxes-filled\",\n \"unicode\": \"\\ue692\"\n },\n {\n \"font_class\": \"chatbubble\",\n \"unicode\": \"\\ue697\"\n },\n {\n \"font_class\": \"chatbubble-filled\",\n \"unicode\": \"\\ue694\"\n },\n {\n \"font_class\": \"checkbox\",\n \"unicode\": \"\\ue62b\"\n },\n {\n \"font_class\": \"checkbox-filled\",\n \"unicode\": \"\\ue62c\"\n },\n {\n \"font_class\": \"checkmarkempty\",\n \"unicode\": \"\\ue65c\"\n },\n {\n \"font_class\": \"circle\",\n \"unicode\": \"\\ue65b\"\n },\n {\n \"font_class\": \"circle-filled\",\n \"unicode\": \"\\ue65e\"\n },\n {\n \"font_class\": \"clear\",\n \"unicode\": \"\\ue66d\"\n },\n {\n \"font_class\": \"close\",\n \"unicode\": \"\\ue673\"\n },\n {\n \"font_class\": \"closeempty\",\n \"unicode\": \"\\ue66c\"\n },\n {\n \"font_class\": \"cloud-download\",\n \"unicode\": \"\\ue647\"\n },\n {\n \"font_class\": \"cloud-download-filled\",\n \"unicode\": \"\\ue646\"\n },\n {\n \"font_class\": \"cloud-upload\",\n \"unicode\": \"\\ue645\"\n },\n {\n \"font_class\": \"cloud-upload-filled\",\n \"unicode\": \"\\ue648\"\n },\n {\n \"font_class\": \"color\",\n \"unicode\": \"\\ue6cf\"\n },\n {\n \"font_class\": \"color-filled\",\n \"unicode\": \"\\ue6c9\"\n },\n {\n \"font_class\": \"compose\",\n \"unicode\": \"\\ue67f\"\n },\n {\n \"font_class\": \"contact\",\n \"unicode\": \"\\ue693\"\n },\n {\n \"font_class\": \"contact-filled\",\n \"unicode\": \"\\ue695\"\n },\n {\n \"font_class\": \"down\",\n \"unicode\": \"\\ue6b8\"\n },\n\t{\n\t \"font_class\": \"bottom\",\n\t \"unicode\": \"\\ue6b8\"\n\t},\n {\n \"font_class\": \"download\",\n \"unicode\": \"\\ue68d\"\n },\n {\n \"font_class\": \"download-filled\",\n \"unicode\": \"\\ue681\"\n },\n {\n \"font_class\": \"email\",\n \"unicode\": \"\\ue69e\"\n },\n {\n \"font_class\": \"email-filled\",\n \"unicode\": \"\\ue69a\"\n },\n {\n \"font_class\": \"eye\",\n \"unicode\": \"\\ue651\"\n },\n {\n \"font_class\": \"eye-filled\",\n \"unicode\": \"\\ue66a\"\n },\n {\n \"font_class\": \"eye-slash\",\n \"unicode\": \"\\ue6b3\"\n },\n {\n \"font_class\": \"eye-slash-filled\",\n \"unicode\": \"\\ue6b4\"\n },\n {\n \"font_class\": \"fire\",\n \"unicode\": \"\\ue6a1\"\n },\n {\n \"font_class\": \"fire-filled\",\n \"unicode\": \"\\ue6c5\"\n },\n {\n \"font_class\": \"flag\",\n \"unicode\": \"\\ue65f\"\n },\n {\n \"font_class\": \"flag-filled\",\n \"unicode\": \"\\ue660\"\n },\n {\n \"font_class\": \"folder-add\",\n \"unicode\": \"\\ue6a9\"\n },\n {\n \"font_class\": \"folder-add-filled\",\n \"unicode\": \"\\ue6c8\"\n },\n {\n \"font_class\": \"font\",\n \"unicode\": \"\\ue6a3\"\n },\n {\n \"font_class\": \"forward\",\n \"unicode\": \"\\ue6ba\"\n },\n {\n \"font_class\": \"gear\",\n \"unicode\": \"\\ue664\"\n },\n {\n \"font_class\": \"gear-filled\",\n \"unicode\": \"\\ue661\"\n },\n {\n \"font_class\": \"gift\",\n \"unicode\": \"\\ue6a4\"\n },\n {\n \"font_class\": \"gift-filled\",\n \"unicode\": \"\\ue6c4\"\n },\n {\n \"font_class\": \"hand-down\",\n \"unicode\": \"\\ue63d\"\n },\n {\n \"font_class\": \"hand-down-filled\",\n \"unicode\": \"\\ue63c\"\n },\n {\n \"font_class\": \"hand-up\",\n \"unicode\": \"\\ue63f\"\n },\n {\n \"font_class\": \"hand-up-filled\",\n \"unicode\": \"\\ue63e\"\n },\n {\n \"font_class\": \"headphones\",\n \"unicode\": \"\\ue630\"\n },\n {\n \"font_class\": \"heart\",\n \"unicode\": \"\\ue639\"\n },\n {\n \"font_class\": \"heart-filled\",\n \"unicode\": \"\\ue641\"\n },\n {\n \"font_class\": \"help\",\n \"unicode\": \"\\ue679\"\n },\n {\n \"font_class\": \"help-filled\",\n \"unicode\": \"\\ue674\"\n },\n {\n \"font_class\": \"home\",\n \"unicode\": \"\\ue662\"\n },\n {\n \"font_class\": \"home-filled\",\n \"unicode\": \"\\ue663\"\n },\n {\n \"font_class\": \"image\",\n \"unicode\": \"\\ue670\"\n },\n {\n \"font_class\": \"image-filled\",\n \"unicode\": \"\\ue678\"\n },\n {\n \"font_class\": \"images\",\n \"unicode\": \"\\ue650\"\n },\n {\n \"font_class\": \"images-filled\",\n \"unicode\": \"\\ue64b\"\n },\n {\n \"font_class\": \"info\",\n \"unicode\": \"\\ue669\"\n },\n {\n \"font_class\": \"info-filled\",\n \"unicode\": \"\\ue649\"\n },\n {\n \"font_class\": \"left\",\n \"unicode\": \"\\ue6b7\"\n },\n {\n \"font_class\": \"link\",\n \"unicode\": \"\\ue6a5\"\n },\n {\n \"font_class\": \"list\",\n \"unicode\": \"\\ue644\"\n },\n {\n \"font_class\": \"location\",\n \"unicode\": \"\\ue6ae\"\n },\n {\n \"font_class\": \"location-filled\",\n \"unicode\": \"\\ue6af\"\n },\n {\n \"font_class\": \"locked\",\n \"unicode\": \"\\ue66b\"\n },\n {\n \"font_class\": \"locked-filled\",\n \"unicode\": \"\\ue668\"\n },\n {\n \"font_class\": \"loop\",\n \"unicode\": \"\\ue633\"\n },\n {\n \"font_class\": \"mail-open\",\n \"unicode\": \"\\ue643\"\n },\n {\n \"font_class\": \"mail-open-filled\",\n \"unicode\": \"\\ue63a\"\n },\n {\n \"font_class\": \"map\",\n \"unicode\": \"\\ue667\"\n },\n {\n \"font_class\": \"map-filled\",\n \"unicode\": \"\\ue666\"\n },\n {\n \"font_class\": \"map-pin\",\n \"unicode\": \"\\ue6ad\"\n },\n {\n \"font_class\": \"map-pin-ellipse\",\n \"unicode\": \"\\ue6ac\"\n },\n {\n \"font_class\": \"medal\",\n \"unicode\": \"\\ue6a2\"\n },\n {\n \"font_class\": \"medal-filled\",\n \"unicode\": \"\\ue6c3\"\n },\n {\n \"font_class\": \"mic\",\n \"unicode\": \"\\ue671\"\n },\n {\n \"font_class\": \"mic-filled\",\n \"unicode\": \"\\ue677\"\n },\n {\n \"font_class\": \"micoff\",\n \"unicode\": \"\\ue67e\"\n },\n {\n \"font_class\": \"micoff-filled\",\n \"unicode\": \"\\ue6b0\"\n },\n {\n \"font_class\": \"minus\",\n \"unicode\": \"\\ue66f\"\n },\n {\n \"font_class\": \"minus-filled\",\n \"unicode\": \"\\ue67d\"\n },\n {\n \"font_class\": \"more\",\n \"unicode\": \"\\ue64d\"\n },\n {\n \"font_class\": \"more-filled\",\n \"unicode\": \"\\ue64e\"\n },\n {\n \"font_class\": \"navigate\",\n \"unicode\": \"\\ue66e\"\n },\n {\n \"font_class\": \"navigate-filled\",\n \"unicode\": \"\\ue67a\"\n },\n {\n \"font_class\": \"notification\",\n \"unicode\": \"\\ue6a6\"\n },\n {\n \"font_class\": \"notification-filled\",\n \"unicode\": \"\\ue6c1\"\n },\n {\n \"font_class\": \"paperclip\",\n \"unicode\": \"\\ue652\"\n },\n {\n \"font_class\": \"paperplane\",\n \"unicode\": \"\\ue672\"\n },\n {\n \"font_class\": \"paperplane-filled\",\n \"unicode\": \"\\ue675\"\n },\n {\n \"font_class\": \"person\",\n \"unicode\": \"\\ue699\"\n },\n {\n \"font_class\": \"person-filled\",\n \"unicode\": \"\\ue69d\"\n },\n {\n \"font_class\": \"personadd\",\n \"unicode\": \"\\ue69f\"\n },\n {\n \"font_class\": \"personadd-filled\",\n \"unicode\": \"\\ue698\"\n },\n {\n \"font_class\": \"personadd-filled-copy\",\n \"unicode\": \"\\ue6d1\"\n },\n {\n \"font_class\": \"phone\",\n \"unicode\": \"\\ue69c\"\n },\n {\n \"font_class\": \"phone-filled\",\n \"unicode\": \"\\ue69b\"\n },\n {\n \"font_class\": \"plus\",\n \"unicode\": \"\\ue676\"\n },\n {\n \"font_class\": \"plus-filled\",\n \"unicode\": \"\\ue6c7\"\n },\n {\n \"font_class\": \"plusempty\",\n \"unicode\": \"\\ue67b\"\n },\n {\n \"font_class\": \"pulldown\",\n \"unicode\": \"\\ue632\"\n },\n {\n \"font_class\": \"pyq\",\n \"unicode\": \"\\ue682\"\n },\n {\n \"font_class\": \"qq\",\n \"unicode\": \"\\ue680\"\n },\n {\n \"font_class\": \"redo\",\n \"unicode\": \"\\ue64a\"\n },\n {\n \"font_class\": \"redo-filled\",\n \"unicode\": \"\\ue655\"\n },\n {\n \"font_class\": \"refresh\",\n \"unicode\": \"\\ue657\"\n },\n {\n \"font_class\": \"refresh-filled\",\n \"unicode\": \"\\ue656\"\n },\n {\n \"font_class\": \"refreshempty\",\n \"unicode\": \"\\ue6bf\"\n },\n {\n \"font_class\": \"reload\",\n \"unicode\": \"\\ue6b2\"\n },\n {\n \"font_class\": \"right\",\n \"unicode\": \"\\ue6b5\"\n },\n {\n \"font_class\": \"scan\",\n \"unicode\": \"\\ue62a\"\n },\n {\n \"font_class\": \"search\",\n \"unicode\": \"\\ue654\"\n },\n {\n \"font_class\": \"settings\",\n \"unicode\": \"\\ue653\"\n },\n {\n \"font_class\": \"settings-filled\",\n \"unicode\": \"\\ue6ce\"\n },\n {\n \"font_class\": \"shop\",\n \"unicode\": \"\\ue62f\"\n },\n {\n \"font_class\": \"shop-filled\",\n \"unicode\": \"\\ue6cd\"\n },\n {\n \"font_class\": \"smallcircle\",\n \"unicode\": \"\\ue67c\"\n },\n {\n \"font_class\": \"smallcircle-filled\",\n \"unicode\": \"\\ue665\"\n },\n {\n \"font_class\": \"sound\",\n \"unicode\": \"\\ue684\"\n },\n {\n \"font_class\": \"sound-filled\",\n \"unicode\": \"\\ue686\"\n },\n {\n \"font_class\": \"spinner-cycle\",\n \"unicode\": \"\\ue68a\"\n },\n {\n \"font_class\": \"staff\",\n \"unicode\": \"\\ue6a7\"\n },\n {\n \"font_class\": \"staff-filled\",\n \"unicode\": \"\\ue6cb\"\n },\n {\n \"font_class\": \"star\",\n \"unicode\": \"\\ue688\"\n },\n {\n \"font_class\": \"star-filled\",\n \"unicode\": \"\\ue68f\"\n },\n {\n \"font_class\": \"starhalf\",\n \"unicode\": \"\\ue683\"\n },\n {\n \"font_class\": \"trash\",\n \"unicode\": \"\\ue687\"\n },\n {\n \"font_class\": \"trash-filled\",\n \"unicode\": \"\\ue685\"\n },\n {\n \"font_class\": \"tune\",\n \"unicode\": \"\\ue6aa\"\n },\n {\n \"font_class\": \"tune-filled\",\n \"unicode\": \"\\ue6ca\"\n },\n {\n \"font_class\": \"undo\",\n \"unicode\": \"\\ue64f\"\n },\n {\n \"font_class\": \"undo-filled\",\n \"unicode\": \"\\ue64c\"\n },\n {\n \"font_class\": \"up\",\n \"unicode\": \"\\ue6b6\"\n },\n\t{\n\t \"font_class\": \"top\",\n\t \"unicode\": \"\\ue6b6\"\n\t},\n {\n \"font_class\": \"upload\",\n \"unicode\": \"\\ue690\"\n },\n {\n \"font_class\": \"upload-filled\",\n \"unicode\": \"\\ue68e\"\n },\n {\n \"font_class\": \"videocam\",\n \"unicode\": \"\\ue68c\"\n },\n {\n \"font_class\": \"videocam-filled\",\n \"unicode\": \"\\ue689\"\n },\n {\n \"font_class\": \"vip\",\n \"unicode\": \"\\ue6a8\"\n },\n {\n \"font_class\": \"vip-filled\",\n \"unicode\": \"\\ue6c6\"\n },\n {\n \"font_class\": \"wallet\",\n \"unicode\": \"\\ue6b1\"\n },\n {\n \"font_class\": \"wallet-filled\",\n \"unicode\": \"\\ue6c2\"\n },\n {\n \"font_class\": \"weibo\",\n \"unicode\": \"\\ue68b\"\n },\n {\n \"font_class\": \"weixin\",\n \"unicode\": \"\\ue691\"\n }\n]\r\n\r\n// export const fontData = JSON.parse(fontDataJson)\n"],"names":[],"mappings":";AACY,MAAC,WAAW;AAAA,EACtB;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACF;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACA;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACF;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACA;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AAAA,EACD;AAAA,IACE,cAAc;AAAA,IACd,WAAW;AAAA,EACZ;AACH;;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js.map deleted file mode 100644 index 6f56e2a..0000000 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-popup/components/uni-popup/uni-popup.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"uni-popup.js","sources":["uni_modules/uni-popup/components/uni-popup/uni-popup.vue","../../../软件/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov5Luj56CBL3VuaWFwcC9Xb3JrQ2FtZXJhZi91bmlfbW9kdWxlcy91bmktcG9wdXAvY29tcG9uZW50cy91bmktcG9wdXAvdW5pLXBvcHVwLnZ1ZQ"],"sourcesContent":["\n\n\n\n","import Component from 'D:/代码/uniapp/WorkCameraf/uni_modules/uni-popup/components/uni-popup/uni-popup.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;AA+CC,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,YAAY,CAIX;AAAA,EACD,OAAO,CAAC,UAAU,WAAW;AAAA,EAC7B,OAAO;AAAA;AAAA,IAEN,WAAW;AAAA,MACV,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA;AAAA,IAGD,MAAM;AAAA,MACL,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA,IAED,aAAa;AAAA,MACZ,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA;AAAA,IAED,WAAW;AAAA,MACV,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,iBAAiB;AAAA,MAChB,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,UAAU;AAAA,MACT,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,qBAAqB;AAAA,MACpB,MAAM;AAAA,MACN,SAAS;AAAA,IACT;AAAA,IACD,cAAa;AAAA,MACZ,MAAM;AAAA,IACP;AAAA,EACA;AAAA,EAED,OAAO;AAAA;AAAA;AAAA;AAAA,IAIN,MAAM;AAAA,MACL,SAAS,SAAS,MAAM;AACvB,YAAI,CAAC,KAAK,OAAO,IAAI;AAAG;AACxB,aAAK,KAAK,OAAO,IAAI,CAAC,EAAE,IAAI;AAAA,MAC5B;AAAA,MACD,WAAW;AAAA,IACX;AAAA,IACD,WAAW;AAAA,MACV,SAAS,SAAS,QAAQ;AACzB,YAAI,CAAC,KAAK,OAAO,MAAM;AAAG;AAC1B,aAAK,KAAK,OAAO,KAAK,IAAI,CAAC,EAAE,IAAI;AAAA,MACjC;AAAA,MACD,WAAW;AAAA,IACX;AAAA;AAAA;AAAA;AAAA;AAAA,IAKD,WAAW;AAAA,MACV,SAAS,SAAS,KAAK;AACtB,aAAK,UAAU;AAAA,MACf;AAAA,MACD,WAAW;AAAA,IACX;AAAA,IACD,aAAa;AAAA,MACZ,SAAS,SAAS,KAAK;AACtB,aAAK,UAAU;AAAA,MACf;AAAA,MACD,WAAW;AAAA,IACX;AAAA;AAAA,IAED,UAAU,MAAM;AAAA,IAKhB;AAAA,EACA;AAAA,EACD,OAAO;AACN,WAAO;AAAA,MACN,UAAU;AAAA,MACV,KAAK,CAAE;AAAA,MACP,WAAW;AAAA,MACX,WAAW;AAAA,MACX,YAAY;AAAA,MACZ,aAAa;AAAA,MACb,QAAQ;AAAA,QACP,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,QAAQ;AAAA,QACR,MAAM;AAAA,QACN,OAAO;AAAA,QACP,SAAS;AAAA,QACT,QAAQ;AAAA,QACR,OAAO;AAAA,MACP;AAAA,MACD,WAAW;AAAA,QACV,UAAU;AAAA,QACV,QAAQ;AAAA,QACR,KAAK;AAAA,QACL,MAAM;AAAA,QACN,OAAO;AAAA,QACP,iBAAiB;AAAA,MACjB;AAAA,MACD,YAAY;AAAA,QACX,iBAAiB;AAAA,QACjB,cAAc,KAAK,gBAAgB;AAAA,QACnC,UAAU;AAAA,QACV,MAAM;AAAA,QACN,OAAO;AAAA,MACP;AAAA,MACD,UAAU;AAAA,MACV,SAAS;AAAA,MACT,YAAY;AAAA,IACb;AAAA,EACA;AAAA,EACD,UAAU;AAAA,IACT,YAAY;AACX,UAAI,MAAM,EAAE,iBAAiB,KAAK;AAClC,UAAI,KAAK,gBAAgB,KAAK;AAC7B,cAAM,OAAO,OAAO,KAAK,EAAE,cAAc,KAAK,cAAc;AAAA,MAC7D;AACA,aAAO;AAAA,IACP;AAAA,IACD,YAAY;AACX,aAAO,KAAK,cAAc,OAAO,KAAK,eAAe;AAAA,IACrD;AAAA,IACD,KAAK;AACJ,UAAI,KAAK,oBAAoB,MAAM,KAAK,oBAAoB,QAAQ;AACnE,eAAO;AAAA,MACR;AACA,aAAO,KAAK;AAAA,IACb;AAAA,EACA;AAAA,EACD,UAAU;AACT,UAAM,UAAU,MAAM;AAErB,YAAM;AAAA,QACL;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACD,IAAIA,cAAAA,MAAI,cAAc;AAYtB,WAAK,aAAa;AAClB,WAAK,cAAc,gBAAgB,aAAa;AAEhD,UAAI,YAAY,KAAK,UAAU;AAE9B,aAAK,iBAAiB,eAAe,SAAS;AAAA,aAKxC;AACN,aAAK,iBAAiB;AAAA,MACvB;AAAA,IACD;AACA,YAAQ;AAAA,EAOR;AAAA;AAAA,EASD,YAAY;AACX,SAAK,aAAa;AAAA,EAClB;AAAA,EAED,YAAY;AACR,SAAK,aAAa,CAAC,KAAK,SAAS;AAAA,EAClC;AAAA,EACD,cAAc;AACZ,SAAK,aAAa,IAAI;AAAA,EACvB;AAAA,EACH,UAAU;AAET,QAAI,KAAK,gBAAgB,QAAQ,KAAK,cAAc,MAAM;AACzD,WAAK,UAAU;AAAA,WACT;AACN,WAAK,UAAU,KAAK,gBAAgB,OAAO,KAAK,cAAc,KAAK;AAAA,IACpE;AACA,QAAI,KAAK,WAAW;AACnB,WAAK,WAAW;AAAA,WACV;AACN,WAAK,WAAW;AAAA,IACjB;AAEA,SAAK,eAAe;AAEpB,SAAK,mBAAmB;AACxB,SAAK,UAAU,kBAAkB,KAAK;AAAA,EACtC;AAAA,EACD,SAAS;AAAA,IACR,aAAa,UAAU,MAAM;AAAA,IAK5B;AAAA;AAAA;AAAA;AAAA,IAID,YAAY;AACX,WAAK,WAAW;AAAA,IAChB;AAAA;AAAA;AAAA;AAAA,IAID,cAAc;AACb,WAAK,UAAU;AAAA,IACf;AAAA;AAAA,IAED,MAAM,GAAG;AAER,QAAE,gBAAgB;AAElB,WAAK,mBAAmB;AAAA,IACxB;AAAA,IAED,KAAK,WAAW;AAEf,UAAI,KAAK,WAAW;AACnB;AAAA,MACD;AACA,UAAI,YAAY,CAAC,OAAO,UAAU,UAAU,QAAQ,SAAS,WAAW,UAAU,OAAO;AACzF,UAAI,EAAE,aAAa,UAAU,QAAQ,SAAS,MAAM,KAAK;AACxD,oBAAY,KAAK;AAAA,MAClB;AACA,UAAI,CAAC,KAAK,OAAO,SAAS,GAAG;AAC5BA,sBAAAA,wFAAc,SAAS,SAAS;AAChC;AAAA,MACD;AACA,WAAK,KAAK,OAAO,SAAS,CAAC,EAAE;AAC7B,WAAK,MAAM,UAAU;AAAA,QACpB,MAAM;AAAA,QACN,MAAM;AAAA,OACN;AAAA,IACD;AAAA,IACD,MAAM,MAAM;AACX,WAAK,YAAY;AACjB,WAAK,MAAM,UAAU;AAAA,QACpB,MAAM;AAAA,QACN,MAAM,KAAK;AAAA,OACX;AACD,mBAAa,KAAK,KAAK;AAGvB,WAAK,QAAQ,WAAW,MAAM;AAC7B,aAAK,YAAY;AAAA,MACjB,GAAE,GAAG;AAAA,IACN;AAAA;AAAA,IAED,aAAa;AACZ,WAAK,mBAAmB;AAAA,IACxB;AAAA,IAED,QAAQ;AACP,UAAI,KAAK,kBAAkB;AAE1B,aAAK,mBAAmB;AACxB;AAAA,MACD;AACA,WAAK,MAAM,WAAW;AACtB,UAAI,CAAC,KAAK;AAAS;AACnB,WAAK,MAAM;AAAA,IACX;AAAA;AAAA;AAAA;AAAA,IAID,IAAI,MAAM;AACT,WAAK,aAAa,KAAK,YAAY,iBAAiB;AACpD,WAAK,MAAM,CAAC,WAAW;AACvB,WAAK,aAAa;AAAA,QACjB,UAAU;AAAA,QACV,MAAM;AAAA,QACN,OAAO;AAAA,QACP,iBAAiB,KAAK;AAAA,QACtB,cAAa,KAAK,gBAAgB;AAAA,MACnC;AAEA,UAAI;AAAM;AACV,WAAK,YAAY;AACjB,WAAK,YAAY;AACjB,WAAK,UAAU,MAAM;AACpB,aAAK,aAAa;AAClB,YAAI,KAAK,gBAAgB,KAAK,SAAS,WAAW;AACjD,eAAK,aAAa,WAAW;AAAA,QAC9B;AAAA,OACA;AAAA,IACD;AAAA;AAAA;AAAA;AAAA,IAID,OAAO,MAAM;AACZ,WAAK,aAAa;AAClB,WAAK,MAAM,CAAC,cAAc;AAC1B,WAAK,aAAa;AAAA,QACjB,UAAU;AAAA,QACV,MAAM;AAAA,QACN,OAAO;AAAA,QACP,QAAQ;AAAA,QACR,eAAe,KAAK,iBAAiB;AAAA,QACrC,iBAAiB,KAAK;AAAA,QACtB,cAAa,KAAK,gBAAgB;AAAA,MACnC;AAEA,UAAI;AAAM;AACV,WAAK,aAAa;AAAA,IAClB;AAAA;AAAA;AAAA;AAAA,IAID,OAAO,MAAM;AACZ,WAAK,aAAa;AAGjB,WAAK,MAAM,CAAC,MAAM;AAKnB,WAAK,aAAa;AAAA,QACjB,UAAU;AAAA,QAEV,SAAS;AAAA,QACT,eAAe;AAAA,QAEf,QAAQ;AAAA,QACR,MAAM;AAAA,QACN,OAAO;AAAA,QACP,KAAK;AAAA,QACL,gBAAgB;AAAA,QAChB,YAAY;AAAA,QACZ,cAAa,KAAK,gBAAgB;AAAA,MACnC;AAEA,UAAI;AAAM;AACV,WAAK,aAAa;AAAA,IAClB;AAAA,IACD,KAAK,MAAM;AACV,WAAK,aAAa;AAClB,WAAK,MAAM,CAAC,YAAY;AACxB,WAAK,aAAa;AAAA,QACjB,UAAU;AAAA,QACV,MAAM;AAAA,QACN,QAAQ;AAAA,QACR,KAAK;AAAA,QACL,iBAAiB,KAAK;AAAA,QACtB,cAAa,KAAK,gBAAgB;AAAA,QAElC,SAAS;AAAA,QACT,eAAe;AAAA,MAEhB;AAEA,UAAI;AAAM;AACV,WAAK,aAAa;AAAA,IAClB;AAAA,IACD,MAAM,MAAM;AACX,WAAK,aAAa;AAClB,WAAK,MAAM,CAAC,aAAa;AACzB,WAAK,aAAa;AAAA,QACjB,UAAU;AAAA,QACV,QAAQ;AAAA,QACR,OAAO;AAAA,QACP,KAAK;AAAA,QACL,iBAAiB,KAAK;AAAA,QACtB,cAAa,KAAK,gBAAgB;AAAA,QAElC,SAAS;AAAA,QACT,eAAe;AAAA,MAEhB;AAEA,UAAI;AAAM;AACV,WAAK,aAAa;AAAA,IAClB;AAAA,IACD,eAAc;AACb,WAAK,UAAU,MAAI;AAClB,aAAK,YAAY;AACjB,aAAK,YAAY;AAAA,OACjB;AAAA,IACF;AAAA,EACD;AACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC/cD,GAAG,gBAAgB,SAAS;"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-transition/components/uni-transition/createAnimation.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-transition/components/uni-transition/createAnimation.js.map deleted file mode 100644 index 91bd620..0000000 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-transition/components/uni-transition/createAnimation.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"createAnimation.js","sources":["uni_modules/uni-transition/components/uni-transition/createAnimation.js"],"sourcesContent":["// const defaultOption = {\n// \tduration: 300,\n// \ttimingFunction: 'linear',\n// \tdelay: 0,\n// \ttransformOrigin: '50% 50% 0'\n// }\n// #ifdef APP-NVUE\nconst nvueAnimation = uni.requireNativePlugin('animation')\n// #endif\nclass MPAnimation {\n\tconstructor(options, _this) {\n\t\tthis.options = options\n\t\t// 在iOS10+QQ小程序平台下,传给原生的对象一定是个普通对象而不是Proxy对象,否则会报parameter should be Object instead of ProxyObject的错误\n\t\tthis.animation = uni.createAnimation({\n\t\t\t...options\n\t\t})\n\t\tthis.currentStepAnimates = {}\n\t\tthis.next = 0\n\t\tthis.$ = _this\n\n\t}\n\n\t_nvuePushAnimates(type, args) {\n\t\tlet aniObj = this.currentStepAnimates[this.next]\n\t\tlet styles = {}\n\t\tif (!aniObj) {\n\t\t\tstyles = {\n\t\t\t\tstyles: {},\n\t\t\t\tconfig: {}\n\t\t\t}\n\t\t} else {\n\t\t\tstyles = aniObj\n\t\t}\n\t\tif (animateTypes1.includes(type)) {\n\t\t\tif (!styles.styles.transform) {\n\t\t\t\tstyles.styles.transform = ''\n\t\t\t}\n\t\t\tlet unit = ''\n\t\t\tif(type === 'rotate'){\n\t\t\t\tunit = 'deg'\n\t\t\t}\n\t\t\tstyles.styles.transform += `${type}(${args+unit}) `\n\t\t} else {\n\t\t\tstyles.styles[type] = `${args}`\n\t\t}\n\t\tthis.currentStepAnimates[this.next] = styles\n\t}\n\t_animateRun(styles = {}, config = {}) {\n\t\tlet ref = this.$.$refs['ani'].ref\n\t\tif (!ref) return\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tnvueAnimation.transition(ref, {\n\t\t\t\tstyles,\n\t\t\t\t...config\n\t\t\t}, res => {\n\t\t\t\tresolve()\n\t\t\t})\n\t\t})\n\t}\n\n\t_nvueNextAnimate(animates, step = 0, fn) {\n\t\tlet obj = animates[step]\n\t\tif (obj) {\n\t\t\tlet {\n\t\t\t\tstyles,\n\t\t\t\tconfig\n\t\t\t} = obj\n\t\t\tthis._animateRun(styles, config).then(() => {\n\t\t\t\tstep += 1\n\t\t\t\tthis._nvueNextAnimate(animates, step, fn)\n\t\t\t})\n\t\t} else {\n\t\t\tthis.currentStepAnimates = {}\n\t\t\ttypeof fn === 'function' && fn()\n\t\t\tthis.isEnd = true\n\t\t}\n\t}\n\n\tstep(config = {}) {\n\t\t// #ifndef APP-NVUE\n\t\tthis.animation.step(config)\n\t\t// #endif\n\t\t// #ifdef APP-NVUE\n\t\tthis.currentStepAnimates[this.next].config = Object.assign({}, this.options, config)\n\t\tthis.currentStepAnimates[this.next].styles.transformOrigin = this.currentStepAnimates[this.next].config.transformOrigin\n\t\tthis.next++\n\t\t// #endif\n\t\treturn this\n\t}\n\n\trun(fn) {\n\t\t// #ifndef APP-NVUE\n\t\tthis.$.animationData = this.animation.export()\n\t\tthis.$.timer = setTimeout(() => {\n\t\t\ttypeof fn === 'function' && fn()\n\t\t}, this.$.durationTime)\n\t\t// #endif\n\t\t// #ifdef APP-NVUE\n\t\tthis.isEnd = false\n\t\tlet ref = this.$.$refs['ani'] && this.$.$refs['ani'].ref\n\t\tif(!ref) return\n\t\tthis._nvueNextAnimate(this.currentStepAnimates, 0, fn)\n\t\tthis.next = 0\n\t\t// #endif\n\t}\n}\n\n\nconst animateTypes1 = ['matrix', 'matrix3d', 'rotate', 'rotate3d', 'rotateX', 'rotateY', 'rotateZ', 'scale', 'scale3d',\n\t'scaleX', 'scaleY', 'scaleZ', 'skew', 'skewX', 'skewY', 'translate', 'translate3d', 'translateX', 'translateY',\n\t'translateZ'\n]\nconst animateTypes2 = ['opacity', 'backgroundColor']\nconst animateTypes3 = ['width', 'height', 'left', 'right', 'top', 'bottom']\nanimateTypes1.concat(animateTypes2, animateTypes3).forEach(type => {\n\tMPAnimation.prototype[type] = function(...args) {\n\t\t// #ifndef APP-NVUE\n\t\tthis.animation[type](...args)\n\t\t// #endif\n\t\t// #ifdef APP-NVUE\n\t\tthis._nvuePushAnimates(type, args)\n\t\t// #endif\n\t\treturn this\n\t}\n})\n\nexport function createAnimation(option, _this) {\n\tif(!_this) return\n\tclearTimeout(_this.timer)\n\treturn new MPAnimation(option, _this)\n}\n"],"names":["uni"],"mappings":"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"} \ No newline at end of file diff --git a/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js.map b/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js.map deleted file mode 100644 index 5436d63..0000000 --- a/unpackage/dist/dev/.sourcemap/mp-weixin/uni_modules/uni-transition/components/uni-transition/uni-transition.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"uni-transition.js","sources":["uni_modules/uni-transition/components/uni-transition/uni-transition.vue","../../../软件/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov5Luj56CBL3VuaWFwcC9Xb3JrQ2FtZXJhZi91bmlfbW9kdWxlcy91bmktdHJhbnNpdGlvbi9jb21wb25lbnRzL3VuaS10cmFuc2l0aW9uL3VuaS10cmFuc2l0aW9uLnZ1ZQ"],"sourcesContent":["\r\n\r\n\r\n\r\n\n","import Component from 'D:/代码/uniapp/WorkCameraf/uni_modules/uni-transition/components/uni-transition/uni-transition.vue'\nwx.createComponent(Component)"],"names":["createAnimation","type"],"mappings":"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"} \ No newline at end of file diff --git a/unpackage/dist/dev/app-plus/__uniappautomator.js b/unpackage/dist/dev/app-plus/__uniappautomator.js deleted file mode 100644 index 0f9252f..0000000 --- a/unpackage/dist/dev/app-plus/__uniappautomator.js +++ /dev/null @@ -1,16 +0,0 @@ -var n; -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */ -function __spreadArrays(){for(var s=0,i=0,il=arguments.length;in;n++)r(e,e._deferreds[n]);e._deferreds=null}function c(e,n){var t=!1;try{e((function(e){t||(t=!0,i(n,e))}),(function(e){t||(t=!0,f(n,e))}))}catch(o){if(t)return;t=!0,f(n,o)}}var a=setTimeout;o.prototype.catch=function(e){return this.then(null,e)},o.prototype.then=function(e,n){var o=new this.constructor(t);return r(this,new function(e,n,t){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof n?n:null,this.promise=t}(e,n,o)),o},o.prototype.finally=e,o.all=function(e){return new o((function(t,o){function r(e,n){try{if(n&&("object"==typeof n||"function"==typeof n)){var u=n.then;if("function"==typeof u)return void u.call(n,(function(n){r(e,n)}),o)}i[e]=n,0==--f&&t(i)}catch(c){o(c)}}if(!n(e))return o(new TypeError("Promise.all accepts an array"));var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var f=i.length,u=0;i.length>u;u++)r(u,i[u])}))},o.resolve=function(e){return e&&"object"==typeof e&&e.constructor===o?e:new o((function(n){n(e)}))},o.reject=function(e){return new o((function(n,t){t(e)}))},o.race=function(e){return new o((function(t,r){if(!n(e))return r(new TypeError("Promise.race accepts an array"));for(var i=0,f=e.length;f>i;i++)o.resolve(e[i]).then(t,r)}))},o._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){a(e,0)},o._unhandledRejectionFn=function(e){void 0!==console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var l=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw Error("unable to locate global object")}();"Promise"in l?l.Promise.prototype.finally||(l.Promise.prototype.finally=e):l.Promise=o},"object"==typeof exports&&"undefined"!=typeof module?n():"function"==typeof define&&define.amd?define(n):n();var getRandomValues="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),rnds8=new Uint8Array(16);function rng(){if(!getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}for(var byteToHex=[],i=0;i<256;++i)byteToHex[i]=(i+256).toString(16).substr(1);function v4(options,buf,offset){var i=buf&&offset||0;"string"==typeof options&&(buf="binary"===options?new Array(16):null,options=null);var rnds=(options=options||{}).random||(options.rng||rng)();if(rnds[6]=15&rnds[6]|64,rnds[8]=63&rnds[8]|128,buf)for(var ii=0;ii<16;++ii)buf[i+ii]=rnds[ii];return buf||function(buf,offset){var i=offset||0,bth=byteToHex;return[bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],"-",bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]]].join("")}(rnds)}var hasOwnProperty=Object.prototype.hasOwnProperty,isArray=Array.isArray,PATH_RE=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;function getPaths(path,data){if(isArray(path))return path;if(data&&(val=data,key=path,hasOwnProperty.call(val,key)))return[path];var val,key,res=[];return path.replace(PATH_RE,(function(match,p1,offset,string){return res.push(offset?string.replace(/\\(\\)?/g,"$1"):p1||match),string})),res}function getDataByPath(data,path){var dataPath,paths=getPaths(path,data);for(dataPath=paths.shift();null!=dataPath;){if(null==(data=data[dataPath]))return;dataPath=paths.shift()}return data}var elementMap=new Map;function transEl(el){var _a;if(!function(el){if(el){var tagName=el.tagName;return 0===tagName.indexOf("UNI-")||"BODY"===tagName||0===tagName.indexOf("V-UNI-")||el.__isUniElement}return!1}(el))throw Error("no such element");var element,elementId,elem={elementId:(element=el,elementId=element._id,elementId||(elementId=v4(),element._id=elementId,elementMap.set(elementId,{id:elementId,element:element})),elementId),tagName:el.tagName.toLocaleLowerCase().replace("uni-","")};if(el.__vue__)(vm=el.__vue__)&&(vm.$parent&&vm.$parent.$el===el&&(vm=vm.$parent),vm&&!(null===(_a=vm.$options)||void 0===_a?void 0:_a.isReserved)&&(elem.nodeId=function(vm){if(vm._$weex)return vm._uid;if(vm._$id)return vm._$id;if(vm.uid)return vm.uid;var parent_1=function(vm){for(var parent=vm.$parent;parent;){if(parent._$id)return parent;parent=parent.$parent}}(vm);if(!vm.$parent)return"-1";var vnode=vm.$vnode,context=vnode.context;return context&&context!==parent_1&&context._$id?context._$id+";"+parent_1._$id+","+vnode.data.attrs._i:parent_1._$id+","+vnode.data.attrs._i}(vm)));else var vm;return"video"===elem.tagName&&(elem.videoId=elem.nodeId),elem}function getVm(el){return el.__vue__?{isVue3:!1,vm:el.__vue__}:{isVue3:!0,vm:el.__vueParentComponent}}function getScrollViewMain(el){var _a=getVm(el),isVue3=_a.isVue3,vm=_a.vm;return isVue3?vm.exposed.$getMain():vm.$refs.main}var FUNCTIONS={input:{input:function(el,value){var _a=getVm(el),isVue3=_a.isVue3,vm=_a.vm;isVue3?vm.exposed&&vm.exposed.$triggerInput({value:value}):(vm.valueSync=value,vm.$triggerInput({},{value:value}))}},textarea:{input:function(el,value){var _a=getVm(el),isVue3=_a.isVue3,vm=_a.vm;isVue3?vm.exposed&&vm.exposed.$triggerInput({value:value}):(vm.valueSync=value,vm.$triggerInput({},{value:value}))}},"scroll-view":{scrollTo:function(el,x,y){var main=getScrollViewMain(el);main.scrollLeft=x,main.scrollTop=y},scrollTop:function(el){return getScrollViewMain(el).scrollTop},scrollLeft:function(el){return getScrollViewMain(el).scrollLeft},scrollWidth:function(el){return getScrollViewMain(el).scrollWidth},scrollHeight:function(el){return getScrollViewMain(el).scrollHeight}},swiper:{swipeTo:function(el,index){el.__vue__.current=index}},"movable-view":{moveTo:function(el,x,y){el.__vue__._animationTo(x,y)}},switch:{tap:function(el){el.click()}},slider:{slideTo:function(el,value){var vm=el.__vue__,slider=vm.$refs["uni-slider"],offsetWidth=slider.offsetWidth,boxLeft=slider.getBoundingClientRect().left;vm.value=value,vm._onClick({x:(value-vm.min)*offsetWidth/(vm.max-vm.min)+boxLeft})}}};function createTouchList(touchInits){var _a,touches=touchInits.map((function(touch){return function(touch){if(document.createTouch)return document.createTouch(window,touch.target,touch.identifier,touch.pageX,touch.pageY,touch.screenX,touch.screenY,touch.clientX,touch.clientY);return new Touch(touch)}(touch)}));return document.createTouchList?(_a=document).createTouchList.apply(_a,touches):touches}var WebAdapter={getWindow:function(pageId){return window},getDocument:function(pageId){return document},getEl:function(elementId){var element=elementMap.get(elementId);if(!element)throw Error("element destroyed");return element.element},getOffset:function(node){var rect=node.getBoundingClientRect();return Promise.resolve({left:rect.left+window.pageXOffset,top:rect.top+window.pageYOffset})},querySelector:function(context,selector){return"page"===selector&&(selector="body"),Promise.resolve(transEl(context.querySelector(selector)))},querySelectorAll:function(context,selector){var elements=[],nodeList=document.querySelectorAll(selector);return[].forEach.call(nodeList,(function(node){try{elements.push(transEl(node))}catch(e){}})),Promise.resolve({elements:elements})},queryProperties:function(context,names){return Promise.resolve({properties:names.map((function(name){var value=getDataByPath(context,name.replace(/-([a-z])/g,(function(g){return g[1].toUpperCase()})));return"document.documentElement.scrollTop"===name&&0===value&&(value=getDataByPath(context,"document.body.scrollTop")),value}))})},queryAttributes:function(context,names){return Promise.resolve({attributes:names.map((function(name){return String(context.getAttribute(name))}))})},queryStyles:function(context,names){var style=getComputedStyle(context);return Promise.resolve({styles:names.map((function(name){return style[name]}))})},queryHTML:function(context,type){return Promise.resolve({html:(html="outer"===type?context.outerHTML:context.innerHTML,html.replace(/\n/g,"").replace(/(]*>)(]*>[^<]*<\/span>)(.*?<\/uni-text>)/g,"$1$3").replace(/<\/?[^>]*>/g,(function(replacement){return-1":""===replacement?"":0!==replacement.indexOf(" promise.resolve(callback()).then(() => value), - reason => promise.resolve(callback()).then(() => { - throw reason - }) - ) - } -}; - -if (typeof uni !== 'undefined' && uni && uni.requireGlobal) { - const global = uni.requireGlobal() - ArrayBuffer = global.ArrayBuffer - Int8Array = global.Int8Array - Uint8Array = global.Uint8Array - Uint8ClampedArray = global.Uint8ClampedArray - Int16Array = global.Int16Array - Uint16Array = global.Uint16Array - Int32Array = global.Int32Array - Uint32Array = global.Uint32Array - Float32Array = global.Float32Array - Float64Array = global.Float64Array - BigInt64Array = global.BigInt64Array - BigUint64Array = global.BigUint64Array -}; - - -(()=>{var S=Object.create;var u=Object.defineProperty;var I=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var E=Object.getPrototypeOf,_=Object.prototype.hasOwnProperty;var y=(A,t)=>()=>(t||A((t={exports:{}}).exports,t),t.exports);var G=(A,t,s,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of C(t))!_.call(A,a)&&a!==s&&u(A,a,{get:()=>t[a],enumerable:!(r=I(t,a))||r.enumerable});return A};var k=(A,t,s)=>(s=A!=null?S(E(A)):{},G(t||!A||!A.__esModule?u(s,"default",{value:A,enumerable:!0}):s,A));var B=y((q,D)=>{D.exports=Vue});var Q=Object.prototype.toString,f=A=>Q.call(A),p=A=>f(A).slice(8,-1);function N(){return typeof __channelId__=="string"&&__channelId__}function P(A,t){switch(p(t)){case"Function":return"function() { [native code] }";default:return t}}function j(A,t,s){return N()?(s.push(t.replace("at ","uni-app:///")),console[A].apply(console,s)):s.map(function(a){let o=f(a).toLowerCase();if(["[object object]","[object array]","[object module]"].indexOf(o)!==-1)try{a="---BEGIN:JSON---"+JSON.stringify(a,P)+"---END:JSON---"}catch(i){a=o}else if(a===null)a="---NULL---";else if(a===void 0)a="---UNDEFINED---";else{let i=p(a).toUpperCase();i==="NUMBER"||i==="BOOLEAN"?a="---BEGIN:"+i+"---"+a+"---END:"+i+"---":a=String(a)}return a}).join("---COMMA---")+" "+t}function h(A,t,...s){let r=j(A,t,s);r&&console[A](r)}var m={data(){return{locale:"en",fallbackLocale:"en",localization:{en:{done:"OK",cancel:"Cancel"},zh:{done:"\u5B8C\u6210",cancel:"\u53D6\u6D88"},"zh-hans":{},"zh-hant":{},messages:{}},localizationTemplate:{}}},onLoad(){this.initLocale()},created(){this.initLocale()},methods:{initLocale(){if(this.__initLocale)return;this.__initLocale=!0;let A=(plus.webview.currentWebview().extras||{}).data||{};if(A.messages&&(this.localization.messages=A.messages),A.locale){this.locale=A.locale.toLowerCase();return}let t={chs:"hans",cn:"hans",sg:"hans",cht:"hant",tw:"hant",hk:"hant",mo:"hant"},s=plus.os.language.toLowerCase().split("/")[0].replace("_","-").split("-"),r=s[1];r&&(s[1]=t[r]||r),s.length=s.length>2?2:s.length,this.locale=s.join("-")},localize(A){let t=this.locale,s=t.split("-")[0],r=this.fallbackLocale,a=o=>Object.assign({},this.localization[o],(this.localizationTemplate||{})[o]);return a("messages")[A]||a(t)[A]||a(s)[A]||a(r)[A]||A}}},w={onLoad(){this.initMessage()},methods:{initMessage(){let{from:A,callback:t,runtime:s,data:r={},useGlobalEvent:a}=plus.webview.currentWebview().extras||{};this.__from=A,this.__runtime=s,this.__page=plus.webview.currentWebview().id,this.__useGlobalEvent=a,this.data=JSON.parse(JSON.stringify(r)),plus.key.addEventListener("backbutton",()=>{typeof this.onClose=="function"?this.onClose():plus.webview.currentWebview().close("auto")});let o=this,i=function(n){let l=n.data&&n.data.__message;!l||o.__onMessageCallback&&o.__onMessageCallback(l.data)};if(this.__useGlobalEvent)weex.requireModule("globalEvent").addEventListener("plusMessage",i);else{let n=new BroadcastChannel(this.__page);n.onmessage=i}},postMessage(A={},t=!1){let s=JSON.parse(JSON.stringify({__message:{__page:this.__page,data:A,keep:t}})),r=this.__from;if(this.__runtime==="v8")this.__useGlobalEvent?plus.webview.postMessageToUniNView(s,r):new BroadcastChannel(r).postMessage(s);else{let a=plus.webview.getWebviewById(r);a&&a.evalJS(`__plusMessage&&__plusMessage(${JSON.stringify({data:s})})`)}},onMessage(A){this.__onMessageCallback=A}}};var e=k(B());var b=(A,t)=>{let s=A.__vccOpts||A;for(let[r,a]of t)s[r]=a;return s};var F=Object.defineProperty,T=Object.defineProperties,O=Object.getOwnPropertyDescriptors,v=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable,L=(A,t,s)=>t in A?F(A,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):A[t]=s,R=(A,t)=>{for(var s in t||(t={}))M.call(t,s)&&L(A,s,t[s]);if(v)for(var s of v(t))U.call(t,s)&&L(A,s,t[s]);return A},z=(A,t)=>T(A,O(t)),H={map_center_marker_container:{"":{alignItems:"flex-start",width:22,height:70}},map_center_marker:{"":{width:22,height:35}},"unichooselocation-icons":{"":{fontFamily:"unichooselocation",textDecoration:"none",textAlign:"center"}},page:{"":{flex:1,position:"relative"}},"flex-r":{"":{flexDirection:"row",flexWrap:"nowrap"}},"flex-c":{"":{flexDirection:"column",flexWrap:"nowrap"}},"flex-fill":{"":{flex:1}},"a-i-c":{"":{alignItems:"center"}},"j-c-c":{"":{justifyContent:"center"}},"nav-cover":{"":{position:"absolute",left:0,top:0,right:0,height:100,backgroundImage:"linear-gradient(to bottom, rgba(0, 0, 0, .3), rgba(0, 0, 0, 0))"}},statusbar:{"":{height:22}},"title-view":{"":{paddingTop:5,paddingRight:15,paddingBottom:5,paddingLeft:15}},"btn-cancel":{"":{paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0}},"btn-cancel-text":{"":{fontSize:30,color:"#ffffff"}},"btn-done":{"":{backgroundColor:"#007AFF",borderRadius:3,paddingTop:5,paddingRight:12,paddingBottom:5,paddingLeft:12}},"btn-done-disabled":{"":{backgroundColor:"#62abfb"}},"text-done":{"":{color:"#ffffff",fontSize:15,fontWeight:"bold",lineHeight:15,height:15}},"text-done-disabled":{"":{color:"#c0ddfe"}},"map-view":{"":{flex:2,position:"relative"}},map:{"":{width:"750rpx",justifyContent:"center",alignItems:"center"}},"map-location":{"":{position:"absolute",right:20,bottom:25,width:44,height:44,backgroundColor:"#ffffff",borderRadius:40,boxShadow:"0 2px 4px rgba(100, 100, 100, 0.2)"}},"map-location-text":{"":{fontSize:20}},"map-location-text-active":{"":{color:"#007AFF"}},"result-area":{"":{flex:2,position:"relative"}},"search-bar":{"":{paddingTop:12,paddingRight:15,paddingBottom:12,paddingLeft:15,backgroundColor:"#ffffff"}},"search-area":{"":{backgroundColor:"#ebebeb",borderRadius:5,height:30,paddingLeft:8}},"search-text":{"":{fontSize:14,lineHeight:16,color:"#b4b4b4"}},"search-icon":{"":{fontSize:16,color:"#b4b4b4",marginRight:4}},"search-tab":{"":{flexDirection:"row",paddingTop:2,paddingRight:16,paddingBottom:2,paddingLeft:16,marginTop:-10,backgroundColor:"#FFFFFF"}},"search-tab-item":{"":{marginTop:0,marginRight:5,marginBottom:0,marginLeft:5,textAlign:"center",fontSize:14,lineHeight:32,color:"#333333",borderBottomStyle:"solid",borderBottomWidth:2,borderBottomColor:"rgba(0,0,0,0)"}},"search-tab-item-active":{"":{borderBottomColor:"#0079FF"}},"no-data":{"":{color:"#808080"}},"no-data-search":{"":{marginTop:50}},"list-item":{"":{position:"relative",paddingTop:12,paddingRight:15,paddingBottom:12,paddingLeft:15}},"list-line":{"":{position:"absolute",left:15,right:0,bottom:0,height:.5,backgroundColor:"#d3d3d3"}},"list-name":{"":{fontSize:14,lines:1,textOverflow:"ellipsis"}},"list-address":{"":{fontSize:12,color:"#808080",lines:1,textOverflow:"ellipsis",marginTop:5}},"list-icon-area":{"":{paddingLeft:10,paddingRight:10}},"list-selected-icon":{"":{fontSize:20,color:"#007AFF"}},"search-view":{"":{position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"#f6f6f6"}},"searching-area":{"":{flex:5}},"search-input":{"":{fontSize:14,height:30,paddingLeft:6}},"search-cancel":{"":{color:"#0079FF",marginLeft:10}},"loading-view":{"":{paddingTop:15,paddingRight:15,paddingBottom:15,paddingLeft:15}},"loading-icon":{"":{width:28,height:28,color:"#808080"}}},Y=weex.requireModule("dom");Y.addRule("fontFace",{fontFamily:"unichooselocation",src:"url('data:font/truetype;charset=utf-8;base64,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aG9vc2Vsb2NhdGlvbkdlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAAoAQwByAGUAYQB0AGUAZAAgAGIAeQAgAGkAYwBvAG4AZgBvAG4AdAAKAHUAbgBpAGMAaABvAG8AcwBlAGwAbwBjAGEAdABpAG8AbgBSAGUAZwB1AGwAYQByAHUAbgBpAGMAaABvAG8AcwBlAGwAbwBjAGEAdABpAG8AbgB1AG4AaQBjAGgAbwBvAHMAZQBsAG8AYwBhAHQAaQBvAG4AVgBlAHIAcwBpAG8AbgAgADEALgAwAHUAbgBpAGMAaABvAG8AcwBlAGwAbwBjAGEAdABpAG8AbgBHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAHMAdgBnADIAdAB0AGYAIABmAHIAbwBtACAARgBvAG4AdABlAGwAbABvACAAcAByAG8AagBlAGMAdAAuAGgAdAB0AHAAOgAvAC8AZgBvAG4AdABlAGwAbABvAC4AYwBvAG0AAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAQIBAwEEAQUBBgAKbXlsb2NhdGlvbgZ4dWFuemUFY2xvc2UGc291c3VvAAAAAA==')"});var d=weex.requireModule("mapSearch"),K=16,x="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAACcCAMAAAC3Fl5oAAAB3VBMVEVMaXH/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/EhL/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/Dw//AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/GRn/NTX/Dw//Fhb/AAD/AAD/AAD/GRn/GRn/Y2P/AAD/AAD/ExP/Ghr/AAD/AAD/MzP/GRn/AAD/Hh7/AAD/RUX/AAD/AAD/AAD/AAD/AAD/AAD/Dg7/AAD/HR3/Dw//FRX/SUn/AAD/////kJD/DQ3/Zmb/+/v/wMD/mJj/6en/vb3/1NT//Pz/ODj/+fn/3Nz/nJz/j4//9/f/7e3/9vb/7Oz/2Nj/x8f/Ozv/+Pj/3d3/nZ3/2dn//f3/6Oj/2tr/v7//09P/vr7/mZn/l5cdSvP3AAAAe3RSTlMAAhLiZgTb/vztB/JMRhlp6lQW86g8mQ4KFPs3UCH5U8huwlesWtTYGI7RsdVeJGfTW5rxnutLsvXWF8vQNdo6qQbuz7D4hgVIx2xtw8GC1TtZaIw0i84P98tU0/fsj7PKaAgiZZxeVfo8Z52eg1P0nESrENnjXVPUgw/uuSmDAAADsUlEQVR42u3aZ3cTRxgF4GtbYleSLdnGcsENG2ODjbExEHrvhAQCIb1Bem+QdkeuuFMNBBJIfmuOckzZI8/srHYmH3Lm+QNXK632LTvQ03Tu/IWeU/tTGTKT2n+q58L5c00wpXJd47DHEt5w47pKxLbhdLdPKb/7dBYxVLxw1GcI/2h1BcpzKNFHLX2JQ4gumaiitqpEEhEdOMJI9h5AFC3feYzI+7IF2tpSLEOqDXpObPRYFm/jCWho/4Ble7MdoT7fzhhq9yHEz28wltU1UPrJZ0wd66HwicfYvEFIfePTAP8tSLTupBHvtGJFH9bSkNrNWEHzERrT34xSH9Ogr1CijkbVAUH1KRqVqkdQAw07iIAaGlcTqI+/0LjeJJ5J0IIEnkpXMdzs4sTtW9dnZq7fuj2xOMtwVWk88RHDjBYejYvnjD8qjOpfQsUqhvj7oSjxcJIhVj3pyKqpNjYvVjQ/RrXq5YABKi3MCYm5BSrtWO5v11DlmlC4RpU1WRS9SJU7QukOVbpQ9JLu549+Dd0AUOlTbkGEuk85vxLAK5QbuytC3R2j3HoAjZSbFxrmKTcCoJdSk0LLJKV6gSaPMqNTQsvUKGW8JrxKqUWhaZFSeWyh1LTQNE2pHF6mzOy40DQ+S5mLimJcENoKlOnBWsr8KbRNUGYt5LXgd6HtD3lNQIoyN4S2G5RJIUOZm0LbTcqsBqVmhLYZSlkPsP4VWf+Rrd+m1v9o9h8Vv5p42C1R5qL1x7WRglOgVN52yfwNOBu76P+lLPoYidu23KPciIHGa07ZeIW1jvcNtI7q5vexCPGYCmf+m/Y9a3sAwQ5bI9T7ukPgPcn9GToEao+xk1OixJT+GIsvNAbx6eAgPq0xiF+KtkpYKhRXCQ8eFFcJhSWGu3rZ8jJkCM8kz9K4TUnrC6mAgzTsB9tLwQ2W15qfosQ2GrQNpZr7aczbzVjBZsvLcaC1g0bsbIVEnU8DOr6H1KDH2LwtUBi0/JII6Dxm9zUXkH+XMWzfh1Dte1i2Pe3QkC77Zel7aehpO8wyHG6Dtt0NjKxhN6I4uSli/TqJiJJDUQ4NDCURXTrXRy1XcumyD24M+AzhD1RXIIZsl/LoyZmurJHDM7s8lvB2FQ/PmPJ6PseAXP5HGMYAAC7ABbgAF+ACXIALcAEuwAW4ABfgAlyAC3ABLsAFuID/d8Cx4NEt8/byOf0wLnis8zjMq9/Kp7bWw4JOj8u8TlhRl+G/Mp2wpOX48GffvvZ1CyL4B53LAS6zb08EAAAAAElFTkSuQmCC",V={mixins:[w,m],data(){return{positionIcon:x,mapScale:K,userKeyword:"",showLocation:!0,latitude:39.908692,longitude:116.397477,nearList:[],nearSelectedIndex:-1,nearLoading:!1,nearLoadingEnd:!1,noNearData:!1,isUserLocation:!1,statusBarHeight:20,mapHeight:250,markers:[{id:"location",latitude:39.908692,longitude:116.397477,zIndex:"1",iconPath:x,width:26,height:36}],showSearch:!1,searchList:[],searchSelectedIndex:-1,searchLoading:!1,searchEnd:!1,noSearchData:!1,localizationTemplate:{en:{search_tips:"Search for a place",no_found:"No results found",nearby:"Nearby",more:"More"},zh:{search_tips:"\u641C\u7D22\u5730\u70B9",no_found:"\u5BF9\u4E0D\u8D77\uFF0C\u6CA1\u6709\u641C\u7D22\u5230\u76F8\u5173\u6570\u636E",nearby:"\u9644\u8FD1",more:"\u66F4\u591A"}},searchNearFlag:!0,searchMethod:"poiSearchNearBy"}},computed:{disableOK(){return this.nearSelectedIndex<0&&this.searchSelectedIndex<0},searchMethods(){return[{title:this.localize("nearby"),method:"poiSearchNearBy"},{title:this.localize("more"),method:"poiKeywordsSearch"}]}},filters:{distance(A){return A>100?`${A>1e3?(A/1e3).toFixed(1)+"k":A.toFixed(0)}m | `:A>0?"100m\u5185 | ":""}},watch:{searchMethod(){this._searchPageIndex=1,this.searchEnd=!1,this.searchList=[],this._searchKeyword&&this.search()}},onLoad(){this.statusBarHeight=plus.navigator.getStatusbarHeight(),this.mapHeight=plus.screen.resolutionHeight/2;let A=this.data;this.userKeyword=A.keyword||"",this._searchInputTimer=null,this._searchPageIndex=1,this._searchKeyword="",this._nearPageIndex=1,this._hasUserLocation=!1,this._userLatitude=0,this._userLongitude=0},onReady(){this.mapContext=this.$refs.map1,this.data.latitude&&this.data.longitude?(this._hasUserLocation=!0,this.moveToCenter({latitude:this.data.latitude,longitude:this.data.longitude})):this.getUserLocation()},onUnload(){this.clearSearchTimer()},methods:{cancelClick(){this.postMessage({event:"cancel"})},doneClick(){if(this.disableOK)return;let A=this.showSearch&&this.searchSelectedIndex>=0?this.searchList[this.searchSelectedIndex]:this.nearList[this.nearSelectedIndex],t={name:A.name,address:A.address,latitude:A.location.latitude,longitude:A.location.longitude};this.postMessage({event:"selected",detail:t})},getUserLocation(){plus.geolocation.getCurrentPosition(({coordsType:A,coords:t})=>{false?this.wgs84togcjo2(t,s=>{this.getUserLocationSuccess(s)}):this.getUserLocationSuccess(t)},A=>{this._hasUserLocation=!0,h("log","at template/__uniappchooselocation.nvue:292","Gelocation Error: code - "+A.code+"; message - "+A.message)},{geocode:!1,coordsType:"gcj02"})},getUserLocationSuccess(A){this._userLatitude=A.latitude,this._userLongitude=A.longitude,this._hasUserLocation=!0,this.moveToCenter({latitude:A.latitude,longitude:A.longitude})},searchclick(A){this.showSearch=A,A===!1&&plus.key.hideSoftKeybord()},showSearchView(){this.searchList=[],this.showSearch=!0},hideSearchView(){this.showSearch=!1,plus.key.hideSoftKeybord(),this.noSearchData=!1,this.searchSelectedIndex=-1,this._searchKeyword=""},onregionchange(A){var t=A.detail,s=t.type||A.type,r=t.causedBy||A.causedBy;r!=="drag"||s!=="end"||this.mapContext.getCenterLocation(a=>{if(!this.searchNearFlag){this.searchNearFlag=!this.searchNearFlag;return}this.moveToCenter({latitude:a.latitude,longitude:a.longitude})})},onItemClick(A,t){this.searchNearFlag=!1,t.stopPropagation&&t.stopPropagation(),this.nearSelectedIndex!==A&&(this.nearSelectedIndex=A),this.moveToLocation(this.nearList[A]&&this.nearList[A].location)},moveToCenter(A){this.latitude===A.latitude&&this.longitude===A.longitude||(this.latitude=A.latitude,this.longitude=A.longitude,this.updateCenter(A),this.moveToLocation(A),this.isUserLocation=this._userLatitude===A.latitude&&this._userLongitude===A.longitude)},updateCenter(A){this.nearSelectedIndex=-1,this.nearList=[],this._hasUserLocation&&(this._nearPageIndex=1,this.nearLoadingEnd=!1,this.reverseGeocode(A),this.searchNearByPoint(A),this.onItemClick(0,{stopPropagation:()=>{this.searchNearFlag=!0}}),this.$refs.nearListLoadmore.resetLoadmore())},searchNear(){this.nearLoadingEnd||this.searchNearByPoint({latitude:this.latitude,longitude:this.longitude})},searchNearByPoint(A){this.noNearData=!1,this.nearLoading=!0,d.poiSearchNearBy({point:{latitude:A.latitude,longitude:A.longitude},key:this.userKeyword,sortrule:1,index:this._nearPageIndex,radius:1e3},t=>{this.nearLoading=!1,this._nearPageIndex=t.pageIndex+1,this.nearLoadingEnd=t.pageIndex===t.pageNumber,t.poiList&&t.poiList.length?(this.fixPois(t.poiList),this.nearList=this.nearList.concat(t.poiList),this.fixNearList()):this.noNearData=this.nearList.length===0})},moveToLocation(A){!A||this.mapContext.moveToLocation(z(R({},A),{fail:t=>{h("error","at template/__uniappchooselocation.nvue:419","chooseLocation_moveToLocation",t)}}))},reverseGeocode(A){d.reverseGeocode({point:A},t=>{t.type==="success"&&this._nearPageIndex<=2&&(this.nearList.splice(0,0,{code:t.code,location:A,name:"\u5730\u56FE\u4F4D\u7F6E",address:t.address||""}),this.fixNearList())})},fixNearList(){let A=this.nearList;if(A.length>=2&&A[0].name==="\u5730\u56FE\u4F4D\u7F6E"){let t=this.getAddressStart(A[1]),s=A[0].address;s.startsWith(t)&&(A[0].name=s.substring(t.length))}},onsearchinput(A){var t=A.detail.value.replace(/^\s+|\s+$/g,"");this.clearSearchTimer(),this._searchInputTimer=setTimeout(()=>{clearTimeout(this._searchInputTimer),this._searchPageIndex=1,this.searchEnd=!1,this._searchKeyword=t,this.searchList=[],this.search()},300)},clearSearchTimer(){this._searchInputTimer&&clearTimeout(this._searchInputTimer)},search(){this._searchKeyword.length===0||this._searchEnd||this.searchLoading||(this.searchLoading=!0,this.noSearchData=!1,d[this.searchMethod]({point:{latitude:this.latitude,longitude:this.longitude},key:this._searchKeyword,sortrule:1,index:this._searchPageIndex,radius:5e4},A=>{this.searchLoading=!1,this._searchPageIndex=A.pageIndex+1,this.searchEnd=A.pageIndex===A.pageNumber,A.poiList&&A.poiList.length?(this.fixPois(A.poiList),this.searchList=this.searchList.concat(A.poiList)):this.noSearchData=this.searchList.length===0}))},onSearchListTouchStart(){plus.key.hideSoftKeybord()},onSearchItemClick(A,t){t.stopPropagation(),this.searchSelectedIndex!==A&&(this.searchSelectedIndex=A),this.moveToLocation(this.searchList[A]&&this.searchList[A].location)},getAddressStart(A){let t=A.addressOrigin||A.address;return A.province+(A.province===A.city?"":A.city)+(/^\d+$/.test(A.district)||t.startsWith(A.district)?"":A.district)},fixPois(A){for(var t=0;t{if(a.ok){let o=a.data.detail.points[0];t({latitude:o.lat,longitude:o.lng})}})},formatDistance(A){return A>100?`${A>1e3?(A/1e3).toFixed(1)+"k":A.toFixed(0)}m | `:A>0?"100m\u5185 | ":""}}};function Z(A,t,s,r,a,o){return(0,e.openBlock)(),(0,e.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true",style:{flexDirection:"column"}},[(0,e.createElementVNode)("view",{class:"page flex-c"},[(0,e.createElementVNode)("view",{class:"flex-r map-view"},[(0,e.createElementVNode)("map",{class:"map flex-fill",ref:"map1",scale:a.mapScale,showLocation:a.showLocation,longitude:a.longitude,latitude:a.latitude,onRegionchange:t[0]||(t[0]=(...i)=>o.onregionchange&&o.onregionchange(...i)),style:(0,e.normalizeStyle)("height:"+a.mapHeight+"px")},[(0,e.createElementVNode)("div",{class:"map_center_marker_container"},[(0,e.createElementVNode)("u-image",{class:"map_center_marker",src:a.positionIcon},null,8,["src"])])],44,["scale","showLocation","longitude","latitude"]),(0,e.createElementVNode)("view",{class:"map-location flex-c a-i-c j-c-c",onClick:t[1]||(t[1]=i=>o.getUserLocation())},[(0,e.createElementVNode)("u-text",{class:(0,e.normalizeClass)(["unichooselocation-icons map-location-text",{"map-location-text-active":a.isUserLocation}])},"\uEC32",2)]),(0,e.createElementVNode)("view",{class:"nav-cover"},[(0,e.createElementVNode)("view",{class:"statusbar",style:(0,e.normalizeStyle)("height:"+a.statusBarHeight+"px")},null,4),(0,e.createElementVNode)("view",{class:"title-view flex-r"},[(0,e.createElementVNode)("view",{class:"btn-cancel",onClick:t[2]||(t[2]=(...i)=>o.cancelClick&&o.cancelClick(...i))},[(0,e.createElementVNode)("u-text",{class:"unichooselocation-icons btn-cancel-text"},"\uE61C")]),(0,e.createElementVNode)("view",{class:"flex-fill"}),(0,e.createElementVNode)("view",{class:(0,e.normalizeClass)(["btn-done flex-r a-i-c j-c-c",{"btn-done-disabled":o.disableOK}]),onClick:t[3]||(t[3]=(...i)=>o.doneClick&&o.doneClick(...i))},[(0,e.createElementVNode)("u-text",{class:(0,e.normalizeClass)(["text-done",{"text-done-disabled":o.disableOK}])},(0,e.toDisplayString)(A.localize("done")),3)],2)])])]),(0,e.createElementVNode)("view",{class:(0,e.normalizeClass)(["flex-c result-area",{"searching-area":a.showSearch}])},[(0,e.createElementVNode)("view",{class:"search-bar"},[(0,e.createElementVNode)("view",{class:"search-area flex-r a-i-c",onClick:t[4]||(t[4]=(...i)=>o.showSearchView&&o.showSearchView(...i))},[(0,e.createElementVNode)("u-text",{class:"search-icon unichooselocation-icons"},"\uE60A"),(0,e.createElementVNode)("u-text",{class:"search-text"},(0,e.toDisplayString)(A.localize("search_tips")),1)])]),a.noNearData?(0,e.createCommentVNode)("v-if",!0):((0,e.openBlock)(),(0,e.createElementBlock)("list",{key:0,ref:"nearListLoadmore",class:"flex-fill list-view",loadmoreoffset:"5",scrollY:!0,onLoadmore:t[5]||(t[5]=i=>o.searchNear())},[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(a.nearList,(i,n)=>((0,e.openBlock)(),(0,e.createElementBlock)("cell",{key:i.uid},[(0,e.createElementVNode)("view",{class:"list-item",onClick:l=>o.onItemClick(n,l)},[(0,e.createElementVNode)("view",{class:"flex-r"},[(0,e.createElementVNode)("view",{class:"list-text-area flex-fill flex-c"},[(0,e.createElementVNode)("u-text",{class:"list-name"},(0,e.toDisplayString)(i.name),1),(0,e.createElementVNode)("u-text",{class:"list-address"},(0,e.toDisplayString)(o.formatDistance(i.distance))+(0,e.toDisplayString)(i.address),1)]),n===a.nearSelectedIndex?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:0,class:"list-icon-area flex-r a-i-c j-c-c"},[(0,e.createElementVNode)("u-text",{class:"unichooselocation-icons list-selected-icon"},"\uE651")])):(0,e.createCommentVNode)("v-if",!0)]),(0,e.createElementVNode)("view",{class:"list-line"})],8,["onClick"])]))),128)),a.nearLoading?((0,e.openBlock)(),(0,e.createElementBlock)("cell",{key:0},[(0,e.createElementVNode)("view",{class:"loading-view flex-c a-i-c j-c-c"},[(0,e.createElementVNode)("loading-indicator",{class:"loading-icon",animating:!0,arrow:"false"})])])):(0,e.createCommentVNode)("v-if",!0)],544)),a.noNearData?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:1,class:"flex-fill flex-r a-i-c j-c-c"},[(0,e.createElementVNode)("u-text",{class:"no-data"},(0,e.toDisplayString)(A.localize("no_found")),1)])):(0,e.createCommentVNode)("v-if",!0),a.showSearch?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:2,class:"search-view flex-c"},[(0,e.createElementVNode)("view",{class:"search-bar flex-r a-i-c"},[(0,e.createElementVNode)("view",{class:"search-area flex-fill flex-r"},[(0,e.createElementVNode)("u-input",{focus:!0,onInput:t[6]||(t[6]=(...i)=>o.onsearchinput&&o.onsearchinput(...i)),class:"search-input flex-fill",placeholder:A.localize("search_tips")},null,40,["placeholder"])]),(0,e.createElementVNode)("u-text",{class:"search-cancel",onClick:t[7]||(t[7]=(...i)=>o.hideSearchView&&o.hideSearchView(...i))},(0,e.toDisplayString)(A.localize("cancel")),1)]),(0,e.createElementVNode)("view",{class:"search-tab"},[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(o.searchMethods,(i,n)=>((0,e.openBlock)(),(0,e.createElementBlock)("u-text",{onClick:l=>a.searchMethod=a.searchLoading?a.searchMethod:i.method,key:n,class:(0,e.normalizeClass)([{"search-tab-item-active":i.method===a.searchMethod},"search-tab-item"])},(0,e.toDisplayString)(i.title),11,["onClick"]))),128))]),a.noSearchData?(0,e.createCommentVNode)("v-if",!0):((0,e.openBlock)(),(0,e.createElementBlock)("list",{key:0,class:"flex-fill list-view",enableBackToTop:!0,scrollY:!0,onLoadmore:t[8]||(t[8]=i=>o.search()),onTouchstart:t[9]||(t[9]=(...i)=>o.onSearchListTouchStart&&o.onSearchListTouchStart(...i))},[((0,e.openBlock)(!0),(0,e.createElementBlock)(e.Fragment,null,(0,e.renderList)(a.searchList,(i,n)=>((0,e.openBlock)(),(0,e.createElementBlock)("cell",{key:i.uid},[(0,e.createElementVNode)("view",{class:"list-item",onClick:l=>o.onSearchItemClick(n,l)},[(0,e.createElementVNode)("view",{class:"flex-r"},[(0,e.createElementVNode)("view",{class:"list-text-area flex-fill flex-c"},[(0,e.createElementVNode)("u-text",{class:"list-name"},(0,e.toDisplayString)(i.name),1),(0,e.createElementVNode)("u-text",{class:"list-address"},(0,e.toDisplayString)(o.formatDistance(i.distance))+(0,e.toDisplayString)(i.address),1)]),n===a.searchSelectedIndex?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:0,class:"list-icon-area flex-r a-i-c j-c-c"},[(0,e.createElementVNode)("u-text",{class:"unichooselocation-icons list-selected-icon"},"\uE651")])):(0,e.createCommentVNode)("v-if",!0)]),(0,e.createElementVNode)("view",{class:"list-line"})],8,["onClick"])]))),128)),a.searchLoading?((0,e.openBlock)(),(0,e.createElementBlock)("cell",{key:0},[(0,e.createElementVNode)("view",{class:"loading-view flex-c a-i-c j-c-c"},[(0,e.createElementVNode)("loading-indicator",{class:"loading-icon",animating:!0})])])):(0,e.createCommentVNode)("v-if",!0)],32)),a.noSearchData?((0,e.openBlock)(),(0,e.createElementBlock)("view",{key:1,class:"flex-fill flex-r j-c-c"},[(0,e.createElementVNode)("u-text",{class:"no-data no-data-search"},(0,e.toDisplayString)(A.localize("no_found")),1)])):(0,e.createCommentVNode)("v-if",!0)])):(0,e.createCommentVNode)("v-if",!0)],2)])])}var c=b(V,[["render",Z],["styles",[H]]]);var g=plus.webview.currentWebview();if(g){let A=parseInt(g.id),t="template/__uniappchooselocation",s={};try{s=JSON.parse(g.__query__)}catch(a){}c.mpType="page";let r=Vue.createPageApp(c,{$store:getApp({allowDefault:!0}).$store,__pageId:A,__pagePath:t,__pageQuery:s});r.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...c.styles||[]])),r.mount("#root")}})(); diff --git a/unpackage/dist/dev/app-plus/__uniapperror.png b/unpackage/dist/dev/app-plus/__uniapperror.png deleted file mode 100644 index 4743b25..0000000 Binary files a/unpackage/dist/dev/app-plus/__uniapperror.png and /dev/null differ diff --git a/unpackage/dist/dev/app-plus/__uniappopenlocation.js b/unpackage/dist/dev/app-plus/__uniappopenlocation.js deleted file mode 100644 index cd98190..0000000 --- a/unpackage/dist/dev/app-plus/__uniappopenlocation.js +++ /dev/null @@ -1,32 +0,0 @@ -"use weex:vue"; - -if (typeof Promise !== 'undefined' && !Promise.prototype.finally) { - Promise.prototype.finally = function(callback) { - const promise = this.constructor - return this.then( - value => promise.resolve(callback()).then(() => value), - reason => promise.resolve(callback()).then(() => { - throw reason - }) - ) - } -}; - -if (typeof uni !== 'undefined' && uni && uni.requireGlobal) { - const global = uni.requireGlobal() - ArrayBuffer = global.ArrayBuffer - Int8Array = global.Int8Array - Uint8Array = global.Uint8Array - Uint8ClampedArray = global.Uint8ClampedArray - Int16Array = global.Int16Array - Uint16Array = global.Uint16Array - Int32Array = global.Int32Array - Uint32Array = global.Uint32Array - Float32Array = global.Float32Array - Float64Array = global.Float64Array - BigInt64Array = global.BigInt64Array - BigUint64Array = global.BigUint64Array -}; - - -(()=>{var B=Object.create;var m=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var P=Object.getPrototypeOf,Q=Object.prototype.hasOwnProperty;var I=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var E=(e,t,a,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of w(t))!Q.call(e,o)&&o!==a&&m(e,o,{get:()=>t[o],enumerable:!(n=b(t,o))||n.enumerable});return e};var O=(e,t,a)=>(a=e!=null?B(P(e)):{},E(t||!e||!e.__esModule?m(a,"default",{value:e,enumerable:!0}):a,e));var f=I((L,C)=>{C.exports=Vue});var d={data(){return{locale:"en",fallbackLocale:"en",localization:{en:{done:"OK",cancel:"Cancel"},zh:{done:"\u5B8C\u6210",cancel:"\u53D6\u6D88"},"zh-hans":{},"zh-hant":{},messages:{}},localizationTemplate:{}}},onLoad(){this.initLocale()},created(){this.initLocale()},methods:{initLocale(){if(this.__initLocale)return;this.__initLocale=!0;let e=(plus.webview.currentWebview().extras||{}).data||{};if(e.messages&&(this.localization.messages=e.messages),e.locale){this.locale=e.locale.toLowerCase();return}let t={chs:"hans",cn:"hans",sg:"hans",cht:"hant",tw:"hant",hk:"hant",mo:"hant"},a=plus.os.language.toLowerCase().split("/")[0].replace("_","-").split("-"),n=a[1];n&&(a[1]=t[n]||n),a.length=a.length>2?2:a.length,this.locale=a.join("-")},localize(e){let t=this.locale,a=t.split("-")[0],n=this.fallbackLocale,o=s=>Object.assign({},this.localization[s],(this.localizationTemplate||{})[s]);return o("messages")[e]||o(t)[e]||o(a)[e]||o(n)[e]||e}}},h={onLoad(){this.initMessage()},methods:{initMessage(){let{from:e,callback:t,runtime:a,data:n={},useGlobalEvent:o}=plus.webview.currentWebview().extras||{};this.__from=e,this.__runtime=a,this.__page=plus.webview.currentWebview().id,this.__useGlobalEvent=o,this.data=JSON.parse(JSON.stringify(n)),plus.key.addEventListener("backbutton",()=>{typeof this.onClose=="function"?this.onClose():plus.webview.currentWebview().close("auto")});let s=this,r=function(l){let A=l.data&&l.data.__message;!A||s.__onMessageCallback&&s.__onMessageCallback(A.data)};if(this.__useGlobalEvent)weex.requireModule("globalEvent").addEventListener("plusMessage",r);else{let l=new BroadcastChannel(this.__page);l.onmessage=r}},postMessage(e={},t=!1){let a=JSON.parse(JSON.stringify({__message:{__page:this.__page,data:e,keep:t}})),n=this.__from;if(this.__runtime==="v8")this.__useGlobalEvent?plus.webview.postMessageToUniNView(a,n):new BroadcastChannel(n).postMessage(a);else{let o=plus.webview.getWebviewById(n);o&&o.evalJS(`__plusMessage&&__plusMessage(${JSON.stringify({data:a})})`)}},onMessage(e){this.__onMessageCallback=e}}};var i=O(f());var v=(e,t)=>{let a=e.__vccOpts||e;for(let[n,o]of t)a[n]=o;return a};var x={page:{"":{flex:1}},"flex-r":{"":{flexDirection:"row",flexWrap:"nowrap"}},"flex-c":{"":{flexDirection:"column",flexWrap:"nowrap"}},"flex-fill":{"":{flex:1}},"a-i-c":{"":{alignItems:"center"}},"j-c-c":{"":{justifyContent:"center"}},target:{"":{paddingTop:10,paddingBottom:10}},"text-area":{"":{paddingLeft:10,paddingRight:10,flex:1}},name:{"":{fontSize:16,lines:1,textOverflow:"ellipsis"}},address:{"":{fontSize:14,color:"#808080",lines:1,textOverflow:"ellipsis",marginTop:2}},"goto-area":{"":{width:50,height:50,paddingTop:8,paddingRight:8,paddingBottom:8,paddingLeft:8,backgroundColor:"#007aff",borderRadius:50,marginRight:10}},"goto-icon":{"":{width:34,height:34}},"goto-text":{"":{fontSize:14,color:"#FFFFFF"}}},z={mixins:[h,d],data(){return{bottom:"0px",longitude:"",latitude:"",markers:[],name:"",address:"",localizationTemplate:{en:{"map.title.amap":"AutoNavi Maps","map.title.baidu":"Baidu Maps","map.title.tencent":"Tencent Maps","map.title.apple":"Apple Maps","map.title.google":"Google Maps","location.title":"My Location","select.cancel":"Cancel"},zh:{"map.title.amap":"\u9AD8\u5FB7\u5730\u56FE","map.title.baidu":"\u767E\u5EA6\u5730\u56FE","map.title.tencent":"\u817E\u8BAF\u5730\u56FE","map.title.apple":"\u82F9\u679C\u5730\u56FE","map.title.google":"\u8C37\u6B4C\u5730\u56FE","location.title":"\u6211\u7684\u4F4D\u7F6E","select.cancel":"\u53D6\u6D88"}},android:weex.config.env.platform.toLowerCase()==="android"}},onLoad(){let e=this.data;if(this.latitude=e.latitude,this.longitude=e.longitude,this.name=e.name||"",this.address=e.address||"",!this.android){let t=plus.webview.currentWebview().getSafeAreaInsets();this.bottom=t.bottom+"px"}},onReady(){this.mapContext=this.$refs.map1,this.markers=[{id:"location",latitude:this.latitude,longitude:this.longitude,title:this.name,zIndex:"1",iconPath:"data:image/png;base64,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",width:26,height:36}],this.updateMarker()},methods:{goto(){var e=weex.config.env.platform==="iOS";this.openSysMap(this.latitude,this.longitude,this.name,e)},updateMarker(){this.mapContext.moveToLocation(),this.mapContext.translateMarker({markerId:"location",destination:{latitude:this.latitude,longitude:this.longitude},duration:0},e=>{})},openSysMap(e,t,a,n){let o=weex.requireModule("mapSearch");var s=[{title:this.localize("map.title.tencent"),getUrl:function(){var A;return A="https://apis.map.qq.com/uri/v1/routeplan?type=drive&to="+encodeURIComponent(a)+"&tocoord="+encodeURIComponent(e+","+t)+"&referer=APP",A}},{title:this.localize("map.title.google"),getUrl:function(){var A;return A="https://www.google.com/maps/?daddr="+encodeURIComponent(a)+"&sll="+encodeURIComponent(e+","+t),A}}],r=[{title:this.localize("map.title.amap"),pname:"com.autonavi.minimap",action:n?"iosamap://":"amapuri://",getUrl:function(){var A;return n?A="iosamap://path":A="amapuri://route/plan/",A+="?sourceApplication=APP&dname="+encodeURIComponent(a)+"&dlat="+e+"&dlon="+t+"&dev=0",A}},{title:this.localize("map.title.baidu"),pname:"com.baidu.BaiduMap",action:"baidumap://",getUrl:function(){var A="baidumap://map/direction?destination="+encodeURIComponent("latlng:"+e+","+t+"|name:"+a)+"&mode=driving&src=APP&coord_type=gcj02";return A}},{title:this.localize("map.title.tencent"),pname:"com.tencent.map",action:"qqmap://",getUrl:()=>{var A;return A="qqmap://map/routeplan?type=drive"+(n?"&from="+encodeURIComponent(this.localize("location.title")):"")+"&to="+encodeURIComponent(a)+"&tocoord="+encodeURIComponent(e+","+t)+"&referer=APP",A}},{title:this.localize("map.title.google"),pname:"com.google.android.apps.maps",action:"comgooglemapsurl://",getUrl:function(){var A;return n?A="comgooglemapsurl://maps.google.com/":A="https://www.google.com/maps/",A+="?daddr="+encodeURIComponent(a)+"&sll="+encodeURIComponent(e+","+t),A}}],l=[];r.forEach(function(A){var g=plus.runtime.isApplicationExist({pname:A.pname,action:A.action});g&&l.push(A)}),n&&l.unshift({title:this.localize("map.title.apple"),navigateTo:function(){o.openSystemMapNavigation({longitude:t,latitude:e,name:a})}}),l.length===0&&(l=l.concat(s)),plus.nativeUI.actionSheet({cancel:this.localize("select.cancel"),buttons:l},function(A){var g=A.index,c;g>0&&(c=l[g-1],c.navigateTo?c.navigateTo():plus.runtime.openURL(c.getUrl(),function(){},c.pname))})}}};function R(e,t,a,n,o,s){return(0,i.openBlock)(),(0,i.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true",style:{flexDirection:"column"}},[(0,i.createElementVNode)("view",{class:"page flex-c",style:(0,i.normalizeStyle)({paddingBottom:o.bottom})},[(0,i.createElementVNode)("map",{class:"flex-fill map",ref:"map1",longitude:o.longitude,latitude:o.latitude,markers:o.markers},null,8,["longitude","latitude","markers"]),(0,i.createElementVNode)("view",{class:"flex-r a-i-c target"},[(0,i.createElementVNode)("view",{class:"text-area"},[(0,i.createElementVNode)("u-text",{class:"name"},(0,i.toDisplayString)(o.name),1),(0,i.createElementVNode)("u-text",{class:"address"},(0,i.toDisplayString)(o.address),1)]),(0,i.createElementVNode)("view",{class:"goto-area",onClick:t[0]||(t[0]=(...r)=>s.goto&&s.goto(...r))},[(0,i.createElementVNode)("u-image",{class:"goto-icon",src:"data:image/png;base64,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"})])])],4)])}var p=v(z,[["render",R],["styles",[x]]]);var u=plus.webview.currentWebview();if(u){let e=parseInt(u.id),t="template/__uniappopenlocation",a={};try{a=JSON.parse(u.__query__)}catch(o){}p.mpType="page";let n=Vue.createPageApp(p,{$store:getApp({allowDefault:!0}).$store,__pageId:e,__pagePath:t,__pageQuery:a});n.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...p.styles||[]])),n.mount("#root")}})(); diff --git a/unpackage/dist/dev/app-plus/__uniapppicker.js b/unpackage/dist/dev/app-plus/__uniapppicker.js deleted file mode 100644 index a654783..0000000 --- a/unpackage/dist/dev/app-plus/__uniapppicker.js +++ /dev/null @@ -1,33 +0,0 @@ -"use weex:vue"; - -if (typeof Promise !== 'undefined' && !Promise.prototype.finally) { - Promise.prototype.finally = function(callback) { - const promise = this.constructor - return this.then( - value => promise.resolve(callback()).then(() => value), - reason => promise.resolve(callback()).then(() => { - throw reason - }) - ) - } -}; - -if (typeof uni !== 'undefined' && uni && uni.requireGlobal) { - const global = uni.requireGlobal() - ArrayBuffer = global.ArrayBuffer - Int8Array = global.Int8Array - Uint8Array = global.Uint8Array - Uint8ClampedArray = global.Uint8ClampedArray - Int16Array = global.Int16Array - Uint16Array = global.Uint16Array - Int32Array = global.Int32Array - Uint32Array = global.Uint32Array - Float32Array = global.Float32Array - Float64Array = global.Float64Array - BigInt64Array = global.BigInt64Array - BigUint64Array = global.BigUint64Array -}; - - -(()=>{var D=Object.create;var b=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var M=Object.getPrototypeOf,I=Object.prototype.hasOwnProperty;var V=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var L=(e,t,a,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of x(t))!I.call(e,r)&&r!==a&&b(e,r,{get:()=>t[r],enumerable:!(i=C(t,r))||i.enumerable});return e};var N=(e,t,a)=>(a=e!=null?D(M(e)):{},L(t||!e||!e.__esModule?b(a,"default",{value:e,enumerable:!0}):a,e));var A=V((U,v)=>{v.exports=Vue});var _={data(){return{locale:"en",fallbackLocale:"en",localization:{en:{done:"OK",cancel:"Cancel"},zh:{done:"\u5B8C\u6210",cancel:"\u53D6\u6D88"},"zh-hans":{},"zh-hant":{},messages:{}},localizationTemplate:{}}},onLoad(){this.initLocale()},created(){this.initLocale()},methods:{initLocale(){if(this.__initLocale)return;this.__initLocale=!0;let e=(plus.webview.currentWebview().extras||{}).data||{};if(e.messages&&(this.localization.messages=e.messages),e.locale){this.locale=e.locale.toLowerCase();return}let t={chs:"hans",cn:"hans",sg:"hans",cht:"hant",tw:"hant",hk:"hant",mo:"hant"},a=plus.os.language.toLowerCase().split("/")[0].replace("_","-").split("-"),i=a[1];i&&(a[1]=t[i]||i),a.length=a.length>2?2:a.length,this.locale=a.join("-")},localize(e){let t=this.locale,a=t.split("-")[0],i=this.fallbackLocale,r=n=>Object.assign({},this.localization[n],(this.localizationTemplate||{})[n]);return r("messages")[e]||r(t)[e]||r(a)[e]||r(i)[e]||e}}},k={onLoad(){this.initMessage()},methods:{initMessage(){let{from:e,callback:t,runtime:a,data:i={},useGlobalEvent:r}=plus.webview.currentWebview().extras||{};this.__from=e,this.__runtime=a,this.__page=plus.webview.currentWebview().id,this.__useGlobalEvent=r,this.data=JSON.parse(JSON.stringify(i)),plus.key.addEventListener("backbutton",()=>{typeof this.onClose=="function"?this.onClose():plus.webview.currentWebview().close("auto")});let n=this,c=function(o){let u=o.data&&o.data.__message;!u||n.__onMessageCallback&&n.__onMessageCallback(u.data)};if(this.__useGlobalEvent)weex.requireModule("globalEvent").addEventListener("plusMessage",c);else{let o=new BroadcastChannel(this.__page);o.onmessage=c}},postMessage(e={},t=!1){let a=JSON.parse(JSON.stringify({__message:{__page:this.__page,data:e,keep:t}})),i=this.__from;if(this.__runtime==="v8")this.__useGlobalEvent?plus.webview.postMessageToUniNView(a,i):new BroadcastChannel(i).postMessage(a);else{let r=plus.webview.getWebviewById(i);r&&r.evalJS(`__plusMessage&&__plusMessage(${JSON.stringify({data:a})})`)}},onMessage(e){this.__onMessageCallback=e}}};var s=N(A());var m=(e,t)=>{let a=e.__vccOpts||e;for(let[i,r]of t)a[i]=r;return a};var d=e=>e>9?e:"0"+e;function w({date:e=new Date,mode:t="date"}){return t==="time"?d(e.getHours())+":"+d(e.getMinutes()):e.getFullYear()+"-"+d(e.getMonth()+1)+"-"+d(e.getDate())}var O={data(){return{darkmode:!1,theme:"light"}},onLoad(){this.initDarkmode()},created(){this.initDarkmode()},computed:{isDark(){return this.theme==="dark"}},methods:{initDarkmode(){if(this.__init)return;this.__init=!0;let e=(plus.webview.currentWebview().extras||{}).data||{};this.darkmode=e.darkmode||!1,this.darkmode&&(this.theme=e.theme||"light")}}},z={data(){return{safeAreaInsets:{left:0,right:0,top:0,bottom:0}}},onLoad(){this.initSafeAreaInsets()},created(){this.initSafeAreaInsets()},methods:{initSafeAreaInsets(){if(this.__initSafeAreaInsets)return;this.__initSafeAreaInsets=!0;let e=plus.webview.currentWebview();e.addEventListener("resize",()=>{setTimeout(()=>{this.updateSafeAreaInsets(e)},20)}),this.updateSafeAreaInsets(e)},updateSafeAreaInsets(e){let t=e.getSafeAreaInsets(),a=this.safeAreaInsets;Object.keys(a).forEach(i=>{a[i]=t[i]})}}},Y={content:{"":{position:"absolute",top:0,left:0,bottom:0,right:0}},"uni-mask":{"":{position:"absolute",top:0,left:0,bottom:0,right:0,backgroundColor:"rgba(0,0,0,0.4)",opacity:0,transitionProperty:"opacity",transitionDuration:200,transitionTimingFunction:"linear"}},"uni-mask-visible":{"":{opacity:1}},"uni-picker":{"":{position:"absolute",left:0,bottom:0,right:0,backgroundColor:"#ffffff",color:"#000000",flexDirection:"column",transform:"translateY(295px)"}},"uni-picker-header":{"":{height:45,borderBottomWidth:.5,borderBottomColor:"#C8C9C9",backgroundColor:"#FFFFFF",fontSize:20}},"uni-picker-action":{"":{position:"absolute",textAlign:"center",top:0,height:45,paddingTop:0,paddingRight:14,paddingBottom:0,paddingLeft:14,fontSize:17,lineHeight:45}},"uni-picker-action-cancel":{"":{left:0,color:"#888888"}},"uni-picker-action-confirm":{"":{right:0,color:"#007aff"}},"uni-picker-content":{"":{flex:1}},"uni-picker-dark":{"":{backgroundColor:"#232323"}},"uni-picker-header-dark":{"":{backgroundColor:"#232323",borderBottomColor:"rgba(255,255,255,0.05)"}},"uni-picker-action-cancel-dark":{"":{color:"rgba(255,255,255,0.8)"}},"@TRANSITION":{"uni-mask":{property:"opacity",duration:200,timingFunction:"linear"}}};function S(){if(this.mode===l.TIME)return"00:00";if(this.mode===l.DATE){let e=new Date().getFullYear()-61;switch(this.fields){case h.YEAR:return e;case h.MONTH:return e+"-01";default:return e+"-01-01"}}return""}function E(){if(this.mode===l.TIME)return"23:59";if(this.mode===l.DATE){let e=new Date().getFullYear()+61;switch(this.fields){case h.YEAR:return e;case h.MONTH:return e+"-12";default:return e+"-12-31"}}return""}function F(e){let t=new Date().getFullYear(),a=t-61,i=t+61;if(e.start){let r=new Date(e.start).getFullYear();!isNaN(r)&&ri&&(i=r)}return{start:a,end:i}}var T=weex.requireModule("animation"),l={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date",REGION:"region"},h={YEAR:"year",MONTH:"month",DAY:"day"},g=!1,R={name:"Picker",mixins:[_,z,O],props:{pageId:{type:Number,default:0},range:{type:Array,default(){return[]}},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:l.SELECTOR},fields:{type:String,default:h.DAY},start:{type:String,default:S},end:{type:String,default:E},disabled:{type:[Boolean,String],default:!1},visible:{type:Boolean,default:!1}},data(){return{valueSync:null,timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],fontSize:16,height:261,android:weex.config.env.platform.toLowerCase()==="android"}},computed:{rangeArray(){var e=this.range;switch(this.mode){case l.SELECTOR:return[e];case l.MULTISELECTOR:return e;case l.TIME:return this.timeArray;case l.DATE:{let t=this.dateArray;switch(this.fields){case h.YEAR:return[t[0]];case h.MONTH:return[t[0],t[1]];default:return[t[0],t[1],t[2]]}}}return[]},startArray(){return this._getDateValueArray(this.start,S.bind(this)())},endArray(){return this._getDateValueArray(this.end,E.bind(this)())},textMaxLength(){return Math.floor(Math.min(weex.config.env.deviceWidth,weex.config.env.deviceHeight)/(this.fontSize*weex.config.env.scale+1)/this.rangeArray.length)},maskStyle(){return{opacity:this.visible?1:0,"background-color":this.android?"rgba(0, 0, 0, 0.6)":"rgba(0, 0, 0, 0.4)"}},pickerViewIndicatorStyle(){return`height: 34px;border-color:${this.isDark?"rgba(255, 255, 255, 0.05)":"#C8C9C9"};border-top-width:0.5px;border-bottom-width:0.5px;`},pickerViewColumnTextStyle(){return{fontSize:this.fontSize+"px","line-height":"34px","text-align":"center",color:this.isDark?"rgba(255, 255, 255, 0.8)":"#000"}},pickerViewMaskTopStyle(){return this.isDark?"background-image: linear-gradient(to bottom, rgba(35, 35, 35, 0.95), rgba(35, 35, 35, 0.6));":""},pickerViewMaskBottomStyle(){return this.isDark?"background-image: linear-gradient(to top,rgba(35, 35, 35, 0.95), rgba(35, 35, 35, 0.6));":""}},watch:{value(){this._setValueSync()},mode(){this._setValueSync()},range(){this._setValueSync()},valueSync(){this._setValueArray(),g=!0},valueArray(e){if(this.mode===l.TIME||this.mode===l.DATE){let t=this.mode===l.TIME?this._getTimeValue:this._getDateValue,a=this.valueArray,i=this.startArray,r=this.endArray;if(this.mode===l.DATE){let n=this.dateArray,c=n[2].length,o=Number(n[2][a[2]])||1,u=new Date(`${n[0][a[0]]}/${n[1][a[1]]}/${o}`).getDate();ut(r)&&this._cloneArray(a,r)}e.forEach((t,a)=>{t!==this.oldValueArray[a]&&(this.oldValueArray[a]=t,this.mode===l.MULTISELECTOR&&this.$emit("columnchange",{column:a,value:t}))})},visible(e){e?setTimeout(()=>{T.transition(this.$refs.picker,{styles:{transform:"translateY(0)"},duration:200})},20):T.transition(this.$refs.picker,{styles:{transform:`translateY(${283+this.safeAreaInsets.bottom}px)`},duration:200})}},created(){this._createTime(),this._createDate(),this._setValueSync()},methods:{getTexts(e,t){let a=this.textMaxLength;return e.map(i=>{let r=String(typeof i=="object"?i[this.rangeKey]||"":this._l10nItem(i,t));if(a>0&&r.length>a){let n=0,c=0;for(let o=0;o127||u===94?n+=1:n+=.65,n<=a-1&&(c=o),n>=a)return o===r.length-1?r:r.substr(0,c+1)+"\u2026"}}return r||" "}).join(` -`)},_createTime(){var e=[],t=[];e.splice(0,e.length);for(let a=0;a<24;a++)e.push((a<10?"0":"")+a);t.splice(0,t.length);for(let a=0;a<60;a++)t.push((a<10?"0":"")+a);this.timeArray.push(e,t)},_createDate(){var e=[],t=F(this);for(let r=t.start,n=t.end;r<=n;r++)e.push(String(r));var a=[];for(let r=1;r<=12;r++)a.push((r<10?"0":"")+r);var i=[];for(let r=1;r<=31;r++)i.push((r<10?"0":"")+r);this.dateArray.push(e,a,i)},_getTimeValue(e){return e[0]*60+e[1]},_getDateValue(e){return e[0]*31*12+(e[1]||0)*31+(e[2]||0)},_cloneArray(e,t){for(let a=0;ac?0:n)}break;case l.TIME:case l.DATE:this.valueSync=String(e);break;default:{let a=Number(e);this.valueSync=a<0?0:a;break}}this.$nextTick(()=>{!g&&this._setValueArray()})},_setValueArray(){g=!0;var e=this.valueSync,t;switch(this.mode){case l.MULTISELECTOR:t=[...e];break;case l.TIME:t=this._getDateValueArray(e,w({mode:l.TIME}));break;case l.DATE:t=this._getDateValueArray(e,w({mode:l.DATE}));break;default:t=[e];break}this.oldValueArray=[...t],this.valueArray=[...t]},_getValue(){var e=this.valueArray;switch(this.mode){case l.SELECTOR:return e[0];case l.MULTISELECTOR:return e.map(t=>t);case l.TIME:return this.valueArray.map((t,a)=>this.timeArray[a][t]).join(":");case l.DATE:return this.valueArray.map((t,a)=>this.dateArray[a][t]).join("-")}},_getDateValueArray(e,t){let a=this.mode===l.DATE?"-":":",i=this.mode===l.DATE?this.dateArray:this.timeArray,r=3;switch(this.fields){case h.YEAR:r=1;break;case h.MONTH:r=2;break}let n=String(e).split(a),c=[];for(let o=0;o=0&&(c=t?this._getDateValueArray(t):c.map(()=>0)),c},_change(){this.$emit("change",{value:this._getValue()})},_cancel(){this.$emit("cancel")},_pickerViewChange(e){this.valueArray=this._l10nColumn(e.detail.value,!0)},_l10nColumn(e,t){if(this.mode===l.DATE){let a=this.locale;if(!a.startsWith("zh"))switch(this.fields){case h.YEAR:return e;case h.MONTH:return[e[1],e[0]];default:switch(a){case"es":case"fr":return[e[2],e[1],e[0]];default:return t?[e[2],e[0],e[1]]:[e[1],e[2],e[0]]}}}return e},_l10nItem(e,t){if(this.mode===l.DATE){let a=this.locale;if(a.startsWith("zh"))return e+["\u5E74","\u6708","\u65E5"][t];if(this.fields!==h.YEAR&&t===(this.fields!==h.MONTH&&(a==="es"||a==="fr")?1:0)){let i;switch(a){case"es":i=["enero","febrero","marzo","abril","mayo","junio","\u200B\u200Bjulio","agosto","septiembre","octubre","noviembre","diciembre"];break;case"fr":i=["janvier","f\xE9vrier","mars","avril","mai","juin","juillet","ao\xFBt","septembre","octobre","novembre","d\xE9cembre"];break;default:i=["January","February","March","April","May","June","July","August","September","October","November","December"];break}return i[Number(e)-1]}}return e}}};function B(e,t,a,i,r,n){let c=(0,s.resolveComponent)("picker-view-column"),o=(0,s.resolveComponent)("picker-view");return(0,s.openBlock)(),(0,s.createElementBlock)("div",{class:(0,s.normalizeClass)(["content",{dark:e.isDark}])},[(0,s.createElementVNode)("div",{ref:"mask",style:(0,s.normalizeStyle)(n.maskStyle),class:"uni-mask",onClick:t[0]||(t[0]=(...u)=>n._cancel&&n._cancel(...u))},null,4),(0,s.createElementVNode)("div",{style:(0,s.normalizeStyle)(`padding-bottom:${e.safeAreaInsets.bottom}px;height:${r.height+e.safeAreaInsets.bottom}px;`),ref:"picker",class:(0,s.normalizeClass)(["uni-picker",{"uni-picker-dark":e.isDark}])},[(0,s.createElementVNode)("div",{class:(0,s.normalizeClass)(["uni-picker-header",{"uni-picker-header-dark":e.isDark}])},[(0,s.createElementVNode)("u-text",{style:(0,s.normalizeStyle)(`left:${e.safeAreaInsets.left}px`),class:(0,s.normalizeClass)(["uni-picker-action uni-picker-action-cancel",{"uni-picker-action-cancel-dark":e.isDark}]),onClick:t[1]||(t[1]=(...u)=>n._cancel&&n._cancel(...u))},(0,s.toDisplayString)(e.localize("cancel")),7),(0,s.createElementVNode)("u-text",{style:(0,s.normalizeStyle)(`right:${e.safeAreaInsets.right}px`),class:"uni-picker-action uni-picker-action-confirm",onClick:t[2]||(t[2]=(...u)=>n._change&&n._change(...u))},(0,s.toDisplayString)(e.localize("done")),5)],2),a.visible?((0,s.openBlock)(),(0,s.createBlock)(o,{key:0,style:(0,s.normalizeStyle)(`margin-left:${e.safeAreaInsets.left}px`),height:"216","indicator-style":n.pickerViewIndicatorStyle,"mask-top-style":n.pickerViewMaskTopStyle,"mask-bottom-style":n.pickerViewMaskBottomStyle,value:n._l10nColumn(r.valueArray),class:"uni-picker-content",onChange:n._pickerViewChange},{default:(0,s.withCtx)(()=>[((0,s.openBlock)(!0),(0,s.createElementBlock)(s.Fragment,null,(0,s.renderList)(n._l10nColumn(n.rangeArray),(u,y)=>((0,s.openBlock)(),(0,s.createBlock)(c,{length:u.length,key:y},{default:(0,s.withCtx)(()=>[(0,s.createCommentVNode)(" iOS\u6E32\u67D3\u901F\u5EA6\u6709\u95EE\u9898\u4F7F\u7528\u5355\u4E2Atext\u4F18\u5316 "),(0,s.createElementVNode)("u-text",{class:"uni-picker-item",style:(0,s.normalizeStyle)(n.pickerViewColumnTextStyle)},(0,s.toDisplayString)(n.getTexts(u,y)),5),(0,s.createCommentVNode)(` {{ typeof item==='object'?item[rangeKey]||'':_l10nItem(item) }} `)]),_:2},1032,["length"]))),128))]),_:1},8,["style","indicator-style","mask-top-style","mask-bottom-style","value","onChange"])):(0,s.createCommentVNode)("v-if",!0)],6)],2)}var j=m(R,[["render",B],["styles",[Y]]]),W={page:{"":{flex:1}}},H={mixins:[k],components:{picker:j},data(){return{range:[],rangeKey:"",value:0,mode:"selector",fields:"day",start:"",end:"",disabled:!1,visible:!1}},onLoad(){this.data===null?this.postMessage({event:"created"},!0):this.showPicker(this.data),this.onMessage(e=>{this.showPicker(e)})},onReady(){this.$nextTick(()=>{this.visible=!0})},methods:{showPicker(e={}){let t=e.column;for(let a in e)a!=="column"&&(typeof t=="number"?this.$set(this.$data[a],t,e[a]):this.$data[a]=e[a])},close(e,{value:t=-1}={}){this.visible=!1,setTimeout(()=>{this.postMessage({event:e,value:t})},210)},onClose(){this.close("cancel")},columnchange({column:e,value:t}){this.$set(this.value,e,t),this.postMessage({event:"columnchange",column:e,value:t},!0)}}};function J(e,t,a,i,r,n){let c=(0,s.resolveComponent)("picker");return(0,s.openBlock)(),(0,s.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true",style:{flexDirection:"column"}},[(0,s.createElementVNode)("view",{class:"page"},[(0,s.createVNode)(c,{range:r.range,rangeKey:r.rangeKey,value:r.value,mode:r.mode,fields:r.fields,start:r.start,end:r.end,disabled:r.disabled,visible:r.visible,onChange:t[0]||(t[0]=o=>n.close("change",o)),onCancel:t[1]||(t[1]=o=>n.close("cancel",o)),onColumnchange:n.columnchange},null,8,["range","rangeKey","value","mode","fields","start","end","disabled","visible","onColumnchange"])])])}var f=m(H,[["render",J],["styles",[W]]]);var p=plus.webview.currentWebview();if(p){let e=parseInt(p.id),t="template/__uniapppicker",a={};try{a=JSON.parse(p.__query__)}catch(r){}f.mpType="page";let i=Vue.createPageApp(f,{$store:getApp({allowDefault:!0}).$store,__pageId:e,__pagePath:t,__pageQuery:a});i.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...f.styles||[]])),i.mount("#root")}})(); diff --git a/unpackage/dist/dev/app-plus/__uniappquill.js b/unpackage/dist/dev/app-plus/__uniappquill.js deleted file mode 100644 index d9f46b8..0000000 --- a/unpackage/dist/dev/app-plus/__uniappquill.js +++ /dev/null @@ -1,8 +0,0 @@ -/*! - * Quill Editor v1.3.7 - * https://quilljs.com/ - * Copyright (c) 2014, Jason Chen - * Copyright (c) 2013, salesforce.com - */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Quill=e():t.Quill=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=45)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(17),o=n(18),i=n(19),l=n(48),a=n(49),s=n(50),u=n(51),c=n(52),f=n(11),h=n(29),p=n(30),d=n(28),y=n(1),v={Scope:y.Scope,create:y.create,find:y.find,query:y.query,register:y.register,Container:r.default,Format:o.default,Leaf:i.default,Embed:u.default,Scroll:l.default,Block:s.default,Inline:a.default,Text:c.default,Attributor:{Attribute:f.default,Class:h.default,Style:p.default,Store:d.default}};e.default=v},function(t,e,n){"use strict";function r(t,e){var n=i(t);if(null==n)throw new s("Unable to create "+t+" blot");var r=n;return new r(t instanceof Node||t.nodeType===Node.TEXT_NODE?t:r.create(e),e)}function o(t,n){return void 0===n&&(n=!1),null==t?null:null!=t[e.DATA_KEY]?t[e.DATA_KEY].blot:n?o(t.parentNode,n):null}function i(t,e){void 0===e&&(e=p.ANY);var n;if("string"==typeof t)n=h[t]||u[t];else if(t instanceof Text||t.nodeType===Node.TEXT_NODE)n=h.text;else if("number"==typeof t)t&p.LEVEL&p.BLOCK?n=h.block:t&p.LEVEL&p.INLINE&&(n=h.inline);else if(t instanceof HTMLElement){var r=(t.getAttribute("class")||"").split(/\s+/);for(var o in r)if(n=c[r[o]])break;n=n||f[t.tagName]}return null==n?null:e&p.LEVEL&n.scope&&e&p.TYPE&n.scope?n:null}function l(){for(var t=[],e=0;e1)return t.map(function(t){return l(t)});var n=t[0];if("string"!=typeof n.blotName&&"string"!=typeof n.attrName)throw new s("Invalid definition");if("abstract"===n.blotName)throw new s("Cannot register abstract class");if(h[n.blotName||n.attrName]=n,"string"==typeof n.keyName)u[n.keyName]=n;else if(null!=n.className&&(c[n.className]=n),null!=n.tagName){Array.isArray(n.tagName)?n.tagName=n.tagName.map(function(t){return t.toUpperCase()}):n.tagName=n.tagName.toUpperCase();var r=Array.isArray(n.tagName)?n.tagName:[n.tagName];r.forEach(function(t){null!=f[t]&&null!=n.className||(f[t]=n)})}return n}var a=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(e){var n=this;return e="[Parchment] "+e,n=t.call(this,e)||this,n.message=e,n.name=n.constructor.name,n}return a(e,t),e}(Error);e.ParchmentError=s;var u={},c={},f={},h={};e.DATA_KEY="__blot";var p;!function(t){t[t.TYPE=3]="TYPE",t[t.LEVEL=12]="LEVEL",t[t.ATTRIBUTE=13]="ATTRIBUTE",t[t.BLOT=14]="BLOT",t[t.INLINE=7]="INLINE",t[t.BLOCK=11]="BLOCK",t[t.BLOCK_BLOT=10]="BLOCK_BLOT",t[t.INLINE_BLOT=6]="INLINE_BLOT",t[t.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",t[t.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",t[t.ANY=15]="ANY"}(p=e.Scope||(e.Scope={})),e.create=r,e.find=o,e.query=i,e.register=l},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,l=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===r.call(t)},a=function(t){if(!t||"[object Object]"!==r.call(t))return!1;var e=n.call(t,"constructor"),o=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!e&&!o)return!1;var i;for(i in t);return void 0===i||n.call(t,i)},s=function(t,e){o&&"__proto__"===e.name?o(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},u=function(t,e){if("__proto__"===e){if(!n.call(t,e))return;if(i)return i(t,e).value}return t[e]};t.exports=function t(){var e,n,r,o,i,c,f=arguments[0],h=1,p=arguments.length,d=!1;for("boolean"==typeof f&&(d=f,f=arguments[1]||{},h=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});h1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"==typeof t.formats&&(e=(0,f.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:a(t.parent,e))}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var s=function(){function t(t,e){for(var n=0;n0&&(t1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===t||t>=this.length()-1)){var r=this.clone();return 0===t?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var o=u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,n);return this.cache={},o}}]),e}(y.default.Block);x.blotName="block",x.tagName="P",x.defaultChild="break",x.allowedChildren=[m.default,y.default.Embed,O.default],e.bubbleFormats=a,e.BlockEmbed=w,e.default=x},function(t,e,n){var r=n(54),o=n(12),i=n(2),l=n(20),a=String.fromCharCode(0),s=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};s.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},s.prototype.delete=function(t){return t<=0?this:this.push({delete:t})},s.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)},s.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=i(!0,{},t),"object"==typeof n){if("number"==typeof t.delete&&"number"==typeof n.delete)return this.ops[e-1]={delete:n.delete+t.delete},this;if("number"==typeof n.delete&&null!=t.insert&&(e-=1,"object"!=typeof(n=this.ops[e-1])))return this.ops.unshift(t),this;if(o(t.attributes,n.attributes)){if("string"==typeof t.insert&&"string"==typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"==typeof t.retain&&"number"==typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},s.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},s.prototype.filter=function(t){return this.ops.filter(t)},s.prototype.forEach=function(t){this.ops.forEach(t)},s.prototype.map=function(t){return this.ops.map(t)},s.prototype.partition=function(t){var e=[],n=[];return this.forEach(function(r){(t(r)?e:n).push(r)}),[e,n]},s.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},s.prototype.changeLength=function(){return this.reduce(function(t,e){return e.insert?t+l.length(e):e.delete?t-e.delete:t},0)},s.prototype.length=function(){return this.reduce(function(t,e){return t+l.length(e)},0)},s.prototype.slice=function(t,e){t=t||0,"number"!=typeof e&&(e=1/0);for(var n=[],r=l.iterator(this.ops),o=0;o0&&n.next(i.retain-a)}for(var u=new s(r);e.hasNext()||n.hasNext();)if("insert"===n.peekType())u.push(n.next());else if("delete"===e.peekType())u.push(e.next());else{var c=Math.min(e.peekLength(),n.peekLength()),f=e.next(c),h=n.next(c);if("number"==typeof h.retain){var p={};"number"==typeof f.retain?p.retain=c:p.insert=f.insert;var d=l.attributes.compose(f.attributes,h.attributes,"number"==typeof f.retain);if(d&&(p.attributes=d),u.push(p),!n.hasNext()&&o(u.ops[u.ops.length-1],p)){var y=new s(e.rest());return u.concat(y).chop()}}else"number"==typeof h.delete&&"number"==typeof f.retain&&u.push(h)}return u.chop()},s.prototype.concat=function(t){var e=new s(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},s.prototype.diff=function(t,e){if(this.ops===t.ops)return new s;var n=[this,t].map(function(e){return e.map(function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:a;var r=e===t?"on":"with";throw new Error("diff() called "+r+" non-document")}).join("")}),i=new s,u=r(n[0],n[1],e),c=l.iterator(this.ops),f=l.iterator(t.ops);return u.forEach(function(t){for(var e=t[1].length;e>0;){var n=0;switch(t[0]){case r.INSERT:n=Math.min(f.peekLength(),e),i.push(f.next(n));break;case r.DELETE:n=Math.min(e,c.peekLength()),c.next(n),i.delete(n);break;case r.EQUAL:n=Math.min(c.peekLength(),f.peekLength(),e);var a=c.next(n),s=f.next(n);o(a.insert,s.insert)?i.retain(n,l.attributes.diff(a.attributes,s.attributes)):i.push(s).delete(n)}e-=n}}),i.chop()},s.prototype.eachLine=function(t,e){e=e||"\n";for(var n=l.iterator(this.ops),r=new s,o=0;n.hasNext();){if("insert"!==n.peekType())return;var i=n.peek(),a=l.length(i)-n.peekLength(),u="string"==typeof i.insert?i.insert.indexOf(e,a)-a:-1;if(u<0)r.push(n.next());else if(u>0)r.push(n.next(u));else{if(!1===t(r,n.next(1).attributes||{},o))return;o+=1,r=new s}}r.length()>0&&t(r,{},o)},s.prototype.transform=function(t,e){if(e=!!e,"number"==typeof t)return this.transformPosition(t,e);for(var n=l.iterator(this.ops),r=l.iterator(t.ops),o=new s;n.hasNext()||r.hasNext();)if("insert"!==n.peekType()||!e&&"insert"===r.peekType())if("insert"===r.peekType())o.push(r.next());else{var i=Math.min(n.peekLength(),r.peekLength()),a=n.next(i),u=r.next(i);if(a.delete)continue;u.delete?o.push(u):o.retain(i,l.attributes.transform(a.attributes,u.attributes,e))}else o.retain(l.length(n.next()));return o.chop()},s.prototype.transformPosition=function(t,e){e=!!e;for(var n=l.iterator(this.ops),r=0;n.hasNext()&&r<=t;){var o=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(r0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(t,n){var r=e.order.indexOf(t),o=e.order.indexOf(n);return r>=0||o>=0?r-o:t===n?0:t0){var a,s=[g.default.events.TEXT_CHANGE,l,i,e];if((a=this.emitter).emit.apply(a,[g.default.events.EDITOR_CHANGE].concat(s)),e!==g.default.sources.SILENT){var c;(c=this.emitter).emit.apply(c,s)}}return l}function s(t,e,n,r,o){var i={};return"number"==typeof t.index&&"number"==typeof t.length?"number"!=typeof e?(o=r,r=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!=typeof e&&(o=r,r=n,n=e,e=0),"object"===(void 0===n?"undefined":c(n))?(i=n,o=r):"string"==typeof n&&(null!=r?i[n]=r:o=n),o=o||g.default.sources.API,[t,e,i,o]}function u(t,e,n,r){if(null==t)return null;var o=void 0,i=void 0;if(e instanceof d.default){var l=[t.index,t.index+t.length].map(function(t){return e.transformPosition(t,r!==g.default.sources.USER)}),a=f(l,2);o=a[0],i=a[1]}else{var s=[t.index,t.index+t.length].map(function(t){return t=0?t+n:Math.max(e,t+n)}),u=f(s,2);o=u[0],i=u[1]}return new x.Range(o,i-o)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var c="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},f=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),h=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(i(this,t),this.options=l(e,r),this.container=this.options.container,null==this.container)return P.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var o=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new g.default,this.scroll=w.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new v.default(this.scroll),this.selection=new k.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(g.default.events.EDITOR_CHANGE,function(t){t===g.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())}),this.emitter.on(g.default.events.SCROLL_UPDATE,function(t,e){var r=n.selection.lastRange,o=r&&0===r.length?r.index:void 0;a.call(n,function(){return n.editor.update(null,e,o)},t)});var s=this.clipboard.convert("
"+o+"


");this.setContents(s),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return h(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),A.default.level(t)}},{key:"find",value:function(t){return t.__quill||w.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&P.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof t){var o=t.attrName||t.blotName;"string"==typeof o?this.register("formats/"+o,t,e):Object.keys(t).forEach(function(r){n.register(r,t[r],e)})}else null==this.imports[t]||r||P.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?w.default.register(e):t.startsWith("modules")&&"function"==typeof e.register&&e.register()}}]),h(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof t){var n=t;t=document.createElement("div"),t.classList.add(n)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,n){var r=this,o=s(t,e,n),i=f(o,4);return t=i[0],e=i[1],n=i[3],a.call(this,function(){return r.editor.deleteText(t,e)},n,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g.default.sources.API;return a.call(this,function(){var r=n.getSelection(!0),i=new d.default;if(null==r)return i;if(w.default.query(t,w.default.Scope.BLOCK))i=n.editor.formatLine(r.index,r.length,o({},t,e));else{if(0===r.length)return n.selection.format(t,e),i;i=n.editor.formatText(r.index,r.length,o({},t,e))}return n.setSelection(r,g.default.sources.SILENT),i},r)}},{key:"formatLine",value:function(t,e,n,r,o){var i=this,l=void 0,u=s(t,e,n,r,o),c=f(u,4);return t=c[0],e=c[1],l=c[2],o=c[3],a.call(this,function(){return i.editor.formatLine(t,e,l)},o,t,0)}},{key:"formatText",value:function(t,e,n,r,o){var i=this,l=void 0,u=s(t,e,n,r,o),c=f(u,4);return t=c[0],e=c[1],l=c[2],o=c[3],a.call(this,function(){return i.editor.formatText(t,e,l)},o,t,0)}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"==typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length);var r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=s(t,e),r=f(n,2);return t=r[0],e=r[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=s(t,e),r=f(n,2);return t=r[0],e=r[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,n,r){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return a.call(this,function(){return o.editor.insertEmbed(e,n,r)},i,e)}},{key:"insertText",value:function(t,e,n,r,o){var i=this,l=void 0,u=s(t,0,n,r,o),c=f(u,4);return t=c[0],l=c[2],o=c[3],a.call(this,function(){return i.editor.insertText(t,e,l)},o,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,n){this.clipboard.dangerouslyPasteHTML(t,e,n)}},{key:"removeFormat",value:function(t,e,n){var r=this,o=s(t,e,n),i=f(o,4);return t=i[0],e=i[1],n=i[3],a.call(this,function(){return r.editor.removeFormat(t,e)},n,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.default.sources.API;return a.call(this,function(){t=new d.default(t);var n=e.getLength(),r=e.editor.deleteText(0,n),o=e.editor.applyDelta(t),i=o.ops[o.ops.length-1];return null!=i&&"string"==typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),o.delete(1)),r.compose(o)},n)}},{key:"setSelection",value:function(e,n,r){if(null==e)this.selection.setRange(null,n||t.sources.API);else{var o=s(e,n,r),i=f(o,4);e=i[0],n=i[1],r=i[3],this.selection.setRange(new x.Range(e,n),r),r!==g.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.default.sources.API,n=(new d.default).insert(t);return this.setContents(n,e)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:"updateContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.default.sources.API;return a.call(this,function(){return t=new d.default(t),e.editor.applyDelta(t,n)},n,!0)}}]),t}();S.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},S.events=g.default.events,S.sources=g.default.sources,S.version="1.3.7",S.imports={delta:d.default,parchment:w.default,"core/module":_.default,"core/theme":T.default},e.expandConfig=l,e.overload=s,e.default=S},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,t),this.quill=e,this.options=n};o.DEFAULTS={},e.default=o},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=n(0),a=function(t){return t&&t.__esModule?t:{default:t}}(l),s=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),e}(a.default.Text);e.default=s},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){for(var n=0;n1?e-1:0),r=1;r1?n-1:0),o=1;o-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=o},function(t,e,n){function r(t){return null===t||void 0===t}function o(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length)&&("function"==typeof t.copy&&"function"==typeof t.slice&&!(t.length>0&&"number"!=typeof t[0]))}function i(t,e,n){var i,c;if(r(t)||r(e))return!1;if(t.prototype!==e.prototype)return!1;if(s(t))return!!s(e)&&(t=l.call(t),e=l.call(e),u(t,e,n));if(o(t)){if(!o(e))return!1;if(t.length!==e.length)return!1;for(i=0;i=0;i--)if(f[i]!=h[i])return!1;for(i=f.length-1;i>=0;i--)if(c=f[i],!u(t[c],e[c],n))return!1;return typeof t==typeof e}var l=Array.prototype.slice,a=n(55),s=n(56),u=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?n.strict?t===e:t==e:i(t,e,n))}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var a=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function t(t,e){for(var n=0;n=t+n)){var l=this.newlineIndex(t,!0)+1,a=i-l+1,s=this.isolate(l,a),u=s.next;s.format(r,o),u instanceof e&&u.formatAt(0,t-l+n-a,r,o)}}}},{key:"insertAt",value:function(t,e,n){if(null==n){var r=this.descendant(m.default,t),o=a(r,2),i=o[0],l=o[1];i.insertAt(l,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var e=this.domNode.textContent.slice(t).indexOf("\n");return e>-1?t+e:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(p.default.create("text","\n")),u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(t),n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(t){var e=p.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof p.default.Embed?e.remove():e.unwrap()})}}],[{key:"create",value:function(t){var n=u(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),e}(y.default);O.blotName="code-block",O.tagName="PRE",O.TAB=" ",e.Code=_,e.default=O},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n-1}Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;var a=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(t!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":l(Event))){var r=document.createEvent("Event");r.initEvent("change",!0,!0),this.select.dispatchEvent(r)}this.close()}}},{key:"update",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var n=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),t}();e.default=p},function(t,e,n){"use strict";function r(t){var e=a.find(t);if(null==e)try{e=a.create(t)}catch(n){e=a.create(a.Scope.INLINE),[].slice.call(t.childNodes).forEach(function(t){e.domNode.appendChild(t)}),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(47),l=n(27),a=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.build(),n}return o(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach(function(t){t.attach()})},e.prototype.build=function(){var t=this;this.children=new i.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(e){try{var n=r(e);t.insertBefore(n,t.children.head||void 0)}catch(t){if(t instanceof a.ParchmentError)return;throw t}})},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,function(t,e,n){t.deleteAt(e,n)})},e.prototype.descendant=function(t,n){var r=this.children.find(n),o=r[0],i=r[1];return null==t.blotName&&t(o)||null!=t.blotName&&o instanceof t?[o,i]:o instanceof e?o.descendant(t,i):[null,-1]},e.prototype.descendants=function(t,n,r){void 0===n&&(n=0),void 0===r&&(r=Number.MAX_VALUE);var o=[],i=r;return this.children.forEachAt(n,r,function(n,r,l){(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&o.push(n),n instanceof e&&(o=o.concat(n.descendants(t,r,i))),i-=l}),o},e.prototype.detach=function(){this.children.forEach(function(t){t.detach()}),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,n,r){this.children.forEachAt(t,e,function(t,e,o){t.formatAt(e,o,n,r)})},e.prototype.insertAt=function(t,e,n){var r=this.children.find(t),o=r[0],i=r[1];if(o)o.insertAt(i,e,n);else{var l=null==n?a.create("text",e):a.create(e,n);this.appendChild(l)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some(function(e){return t instanceof e}))throw new a.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce(function(t,e){return t+e.length()},0)},e.prototype.moveChildren=function(t,e){this.children.forEach(function(n){t.insertBefore(n,e)})},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var n=a.create(this.statics.defaultChild);this.appendChild(n),n.optimize(e)}else this.remove()},e.prototype.path=function(t,n){void 0===n&&(n=!1);var r=this.children.find(t,n),o=r[0],i=r[1],l=[[this,t]];return o instanceof e?l.concat(o.path(i,n)):(null!=o&&l.push([o,i]),l)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(n){n instanceof e&&n.moveChildren(this),t.prototype.replace.call(this,n)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(t,this.length(),function(t,r,o){t=t.split(r,e),n.appendChild(t)}),n},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var n=this,o=[],i=[];t.forEach(function(t){t.target===n.domNode&&"childList"===t.type&&(o.push.apply(o,t.addedNodes),i.push.apply(i,t.removedNodes))}),i.forEach(function(t){if(!(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=a.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==n.domNode||e.detach())}}),o.filter(function(t){return t.parentNode==n.domNode}).sort(function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(t){var e=null;null!=t.nextSibling&&(e=a.find(t.nextSibling));var o=r(t);o.next==e&&null!=o.next||(null!=o.parent&&o.parent.removeChild(n),n.insertBefore(o,e||void 0))})},e}(l.default);e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(11),i=n(28),l=n(17),a=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.attributes=new i.default(n.domNode),n}return r(e,t),e.formats=function(t){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var n=a.query(t);n instanceof o.default?this.attributes.attribute(n,e):e&&(null==n||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,n){var r=t.prototype.replaceWith.call(this,e,n);return this.attributes.copy(r),r},e.prototype.update=function(e,n){var r=this;t.prototype.update.call(this,e,n),e.some(function(t){return t.target===r.domNode&&"attributes"===t.type})&&this.attributes.build()},e.prototype.wrap=function(n,r){var o=t.prototype.wrap.call(this,n,r);return o instanceof e&&o.statics.scope===this.statics.scope&&this.attributes.move(o),o},e}(l.default);e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(27),i=n(1),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(n+=1),[this.parent.domNode,n]},e.prototype.value=function(){var t;return t={},t[this.statics.blotName]=this.statics.value(this.domNode)||!0,t},e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=l},function(t,e,n){function r(t){this.ops=t,this.index=0,this.offset=0}var o=n(12),i=n(2),l={attributes:{compose:function(t,e,n){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var r=i(!0,{},e);n||(r=Object.keys(r).reduce(function(t,e){return null!=r[e]&&(t[e]=r[e]),t},{}));for(var o in t)void 0!==t[o]&&void 0===e[o]&&(r[o]=t[o]);return Object.keys(r).length>0?r:void 0},diff:function(t,e){"object"!=typeof t&&(t={}),"object"!=typeof e&&(e={});var n=Object.keys(t).concat(Object.keys(e)).reduce(function(n,r){return o(t[r],e[r])||(n[r]=void 0===e[r]?null:e[r]),n},{});return Object.keys(n).length>0?n:void 0},transform:function(t,e,n){if("object"!=typeof t)return e;if("object"==typeof e){if(!n)return e;var r=Object.keys(e).reduce(function(n,r){return void 0===t[r]&&(n[r]=e[r]),n},{});return Object.keys(r).length>0?r:void 0}}},iterator:function(t){return new r(t)},length:function(t){return"number"==typeof t.delete?t.delete:"number"==typeof t.retain?t.retain:"string"==typeof t.insert?t.insert.length:1}};r.prototype.hasNext=function(){return this.peekLength()<1/0},r.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var n=this.offset,r=l.length(e);if(t>=r-n?(t=r-n,this.index+=1,this.offset=0):this.offset+=t,"number"==typeof e.delete)return{delete:t};var o={};return e.attributes&&(o.attributes=e.attributes),"number"==typeof e.retain?o.retain=t:"string"==typeof e.insert?o.insert=e.insert.substr(n,t):o.insert=e.insert,o}return{retain:1/0}},r.prototype.peek=function(){return this.ops[this.index]},r.prototype.peekLength=function(){return this.ops[this.index]?l.length(this.ops[this.index])-this.offset:1/0},r.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},r.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var t=this.offset,e=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=t,this.index=e,[n].concat(r)}return[]},t.exports=l},function(t,e){var n=function(){"use strict";function t(t,e){return null!=e&&t instanceof e}function e(n,r,o,i,c){function f(n,o){if(null===n)return null;if(0===o)return n;var y,v;if("object"!=typeof n)return n;if(t(n,a))y=new a;else if(t(n,s))y=new s;else if(t(n,u))y=new u(function(t,e){n.then(function(e){t(f(e,o-1))},function(t){e(f(t,o-1))})});else if(e.__isArray(n))y=[];else if(e.__isRegExp(n))y=new RegExp(n.source,l(n)),n.lastIndex&&(y.lastIndex=n.lastIndex);else if(e.__isDate(n))y=new Date(n.getTime());else{if(d&&Buffer.isBuffer(n))return y=Buffer.allocUnsafe?Buffer.allocUnsafe(n.length):new Buffer(n.length),n.copy(y),y;t(n,Error)?y=Object.create(n):void 0===i?(v=Object.getPrototypeOf(n),y=Object.create(v)):(y=Object.create(i),v=i)}if(r){var b=h.indexOf(n);if(-1!=b)return p[b];h.push(n),p.push(y)}t(n,a)&&n.forEach(function(t,e){var n=f(e,o-1),r=f(t,o-1);y.set(n,r)}),t(n,s)&&n.forEach(function(t){var e=f(t,o-1);y.add(e)});for(var g in n){var m;v&&(m=Object.getOwnPropertyDescriptor(v,g)),m&&null==m.set||(y[g]=f(n[g],o-1))}if(Object.getOwnPropertySymbols)for(var _=Object.getOwnPropertySymbols(n),g=0;g<_.length;g++){var O=_[g],w=Object.getOwnPropertyDescriptor(n,O);(!w||w.enumerable||c)&&(y[O]=f(n[O],o-1),w.enumerable||Object.defineProperty(y,O,{enumerable:!1}))}if(c)for(var x=Object.getOwnPropertyNames(n),g=0;g1&&void 0!==arguments[1]?arguments[1]:0;i(this,t),this.index=e,this.length=n},O=function(){function t(e,n){var r=this;i(this,t),this.emitter=n,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=c.default.create("cursor",this),this.lastRange=this.savedRange=new _(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){r.mouseDown||setTimeout(r.update.bind(r,v.default.sources.USER),1)}),this.emitter.on(v.default.events.EDITOR_CHANGE,function(t,e){t===v.default.events.TEXT_CHANGE&&e.length()>0&&r.update(v.default.sources.SILENT)}),this.emitter.on(v.default.events.SCROLL_BEFORE_UPDATE,function(){if(r.hasFocus()){var t=r.getNativeRange();null!=t&&t.start.node!==r.cursor.textNode&&r.emitter.once(v.default.events.SCROLL_UPDATE,function(){try{r.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(t){}})}}),this.emitter.on(v.default.events.SCROLL_OPTIMIZE,function(t,e){if(e.range){var n=e.range,o=n.startNode,i=n.startOffset,l=n.endNode,a=n.endOffset;r.setNativeRange(o,i,l,a)}}),this.update(v.default.sources.SILENT)}return s(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",function(){t.composing=!0}),this.root.addEventListener("compositionend",function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout(function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)},1)}})}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,function(){t.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){t.mouseDown=!1,t.update(v.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!c.default.query(t,c.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=c.default.find(n.start.node,!1);if(null==r)return;if(r instanceof c.default.Leaf){var o=r.split(n.start.offset);r.parent.insertBefore(this.cursor,o)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;var r=void 0,o=this.scroll.leaf(t),i=a(o,2),l=i[0],s=i[1];if(null==l)return null;var u=l.position(s,!0),c=a(u,2);r=c[0],s=c[1];var f=document.createRange();if(e>0){f.setStart(r,s);var h=this.scroll.leaf(t+e),p=a(h,2);if(l=p[0],s=p[1],null==l)return null;var d=l.position(s,!0),y=a(d,2);return r=y[0],s=y[1],f.setEnd(r,s),f.getBoundingClientRect()}var v="left",b=void 0;return r instanceof Text?(s0&&(v="right")),{bottom:b.top+b.height,height:b.height,left:b[v],right:b[v],top:b.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return m.info("getNativeRange",n),n}},{key:"getRange",value:function(){var t=this.getNativeRange();return null==t?[null,null]:[this.normalizedToRange(t),t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var r=n.map(function(t){var n=a(t,2),r=n[0],o=n[1],i=c.default.find(r,!0),l=i.offset(e.scroll);return 0===o?l:i instanceof c.default.Container?l+i.length():l+i.index(r,o)}),i=Math.min(Math.max.apply(Math,o(r)),this.scroll.length()-1),l=Math.min.apply(Math,[i].concat(o(r)));return new _(l,i-l)}},{key:"normalizeNative",value:function(t){if(!l(this.root,t.startContainer)||!t.collapsed&&!l(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach(function(t){for(var e=t.node,n=t.offset;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;e=e.lastChild,n=e instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n}),e}},{key:"rangeToNative",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],r=[],o=this.scroll.length();return n.forEach(function(t,n){t=Math.min(o-1,t);var i=void 0,l=e.scroll.leaf(t),s=a(l,2),u=s[0],c=s[1],f=u.position(c,0!==n),h=a(f,2);i=h[0],c=h[1],r.push(i,c)}),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var r=this.scroll.length()-1,o=this.scroll.line(Math.min(e.index,r)),i=a(o,1),l=i[0],s=l;if(e.length>0){var u=this.scroll.line(Math.min(e.index+e.length,r));s=a(u,1)[0]}if(null!=l&&null!=s){var c=t.getBoundingClientRect();n.topc.bottom&&(t.scrollTop+=n.bottom-c.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(m.info("setNativeRange",t,e,n,r),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=n.parentNode){var i=document.getSelection();if(null!=i)if(null!=t){this.hasFocus()||this.root.focus();var l=(this.getNativeRange()||{}).native;if(null==l||o||t!==l.startContainer||e!==l.startOffset||n!==l.endContainer||r!==l.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var a=document.createRange();a.setStart(t,e),a.setEnd(n,r),i.removeAllRanges(),i.addRange(a)}}else i.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v.default.sources.API;if("string"==typeof e&&(n=e,e=!1),m.info("setRange",t),null!=t){var r=this.rangeToNative(t);this.setNativeRange.apply(this,o(r).concat([e]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v.default.sources.USER,e=this.lastRange,n=this.getRange(),r=a(n,2),o=r[0],i=r[1];if(this.lastRange=o,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,d.default)(e,this.lastRange)){var l;!this.composing&&null!=i&&i.native.collapsed&&i.start.node!==this.cursor.textNode&&this.cursor.restore();var s=[v.default.events.SELECTION_CHANGE,(0,h.default)(this.lastRange),(0,h.default)(e),t];if((l=this.emitter).emit.apply(l,[v.default.events.EDITOR_CHANGE].concat(s)),t!==v.default.sources.SILENT){var u;(u=this.emitter).emit.apply(u,s)}}}}]),t}();e.Range=_,e.default=O},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(0),s=r(a),u=n(3),c=r(u),f=function(t){function e(){return o(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l(e,t),e}(s.default.Container);f.allowedChildren=[c.default,u.BlockEmbed,f],e.default=f},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var l=function(){function t(t,e){for(var n=0;n1){var u=o.formats(),c=this.quill.getFormat(t.index-1,1);i=A.default.attributes.diff(u,c)||{}}}var f=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-f,f,S.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(t.index-f,f,i,S.default.sources.USER),this.quill.focus()}}function c(t,e){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var r={},o=0,i=this.quill.getLine(t.index),l=b(i,1),a=l[0];if(e.offset>=a.length()-1){var s=this.quill.getLine(t.index+1),u=b(s,1),c=u[0];if(c){var f=a.formats(),h=this.quill.getFormat(t.index,1);r=A.default.attributes.diff(f,h)||{},o=c.length()}}this.quill.deleteText(t.index,n,S.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(t.index+o-1,n,r,S.default.sources.USER)}}function f(t){var e=this.quill.getLines(t),n={};if(e.length>1){var r=e[0].formats(),o=e[e.length-1].formats();n=A.default.attributes.diff(o,r)||{}}this.quill.deleteText(t,S.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index,1,n,S.default.sources.USER),this.quill.setSelection(t.index,S.default.sources.SILENT),this.quill.focus()}function h(t,e){var n=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var r=Object.keys(e.format).reduce(function(t,n){return T.default.query(n,T.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t},{});this.quill.insertText(t.index,"\n",r,S.default.sources.USER),this.quill.setSelection(t.index+1,S.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach(function(t){null==r[t]&&(Array.isArray(e.format[t])||"link"!==t&&n.quill.format(t,e.format[t],S.default.sources.USER))})}function p(t){return{key:D.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var n=T.default.query("code-block"),r=e.index,o=e.length,i=this.quill.scroll.descendant(n,r),l=b(i,2),a=l[0],s=l[1];if(null!=a){var u=this.quill.getIndex(a),c=a.newlineIndex(s,!0)+1,f=a.newlineIndex(u+s+o),h=a.domNode.textContent.slice(c,f).split("\n");s=0,h.forEach(function(e,i){t?(a.insertAt(c+s,n.TAB),s+=n.TAB.length,0===i?r+=n.TAB.length:o+=n.TAB.length):e.startsWith(n.TAB)&&(a.deleteAt(c+s,n.TAB.length),s-=n.TAB.length,0===i?r-=n.TAB.length:o-=n.TAB.length),s+=e.length+1}),this.quill.update(S.default.sources.USER),this.quill.setSelection(r,o,S.default.sources.SILENT)}}}}function d(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],S.default.sources.USER)}}}function y(t){if("string"==typeof t||"number"==typeof t)return y({key:t});if("object"===(void 0===t?"undefined":v(t))&&(t=(0,_.default)(t,!1)),"string"==typeof t.key)if(null!=D.keys[t.key.toUpperCase()])t.key=D.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[B]=t.shortKey,delete t.shortKey),t}Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var v="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},b=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),g=function(){function t(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=y(t);if(null==r||null==r.key)return I.warn("Attempted to add invalid keyboard binding",r);"function"==typeof e&&(e={handler:e}),"function"==typeof n&&(n={handler:n}),r=(0,k.default)(r,e,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",function(n){if(!n.defaultPrevented){var r=n.which||n.keyCode,o=(t.bindings[r]||[]).filter(function(t){return e.match(n,t)});if(0!==o.length){var i=t.quill.getSelection();if(null!=i&&t.quill.hasFocus()){var l=t.quill.getLine(i.index),a=b(l,2),s=a[0],u=a[1],c=t.quill.getLeaf(i.index),f=b(c,2),h=f[0],p=f[1],d=0===i.length?[h,p]:t.quill.getLeaf(i.index+i.length),y=b(d,2),g=y[0],m=y[1],_=h instanceof T.default.Text?h.value().slice(0,p):"",O=g instanceof T.default.Text?g.value().slice(m):"",x={collapsed:0===i.length,empty:0===i.length&&s.length()<=1,format:t.quill.getFormat(i),offset:u,prefix:_,suffix:O};o.some(function(e){if(null!=e.collapsed&&e.collapsed!==x.collapsed)return!1;if(null!=e.empty&&e.empty!==x.empty)return!1;if(null!=e.offset&&e.offset!==x.offset)return!1;if(Array.isArray(e.format)){if(e.format.every(function(t){return null==x.format[t]}))return!1}else if("object"===v(e.format)&&!Object.keys(e.format).every(function(t){return!0===e.format[t]?null!=x.format[t]:!1===e.format[t]?null==x.format[t]:(0,w.default)(e.format[t],x.format[t])}))return!1;return!(null!=e.prefix&&!e.prefix.test(x.prefix))&&(!(null!=e.suffix&&!e.suffix.test(x.suffix))&&!0!==e.handler.call(t,i,x))})&&n.preventDefault()}}}})}}]),e}(R.default);D.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},D.DEFAULTS={bindings:{bold:d("bold"),italic:d("italic"),underline:d("underline"),indent:{key:D.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",S.default.sources.USER)}},outdent:{key:D.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",S.default.sources.USER)}},"outdent backspace":{key:D.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",S.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,S.default.sources.USER)}},"indent code-block":p(!0),"outdent code-block":p(!1),"remove tab":{key:D.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,S.default.sources.USER)}},tab:{key:D.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new N.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,S.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,S.default.sources.SILENT)}},"list empty enter":{key:D.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,S.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,S.default.sources.USER)}},"checklist enter":{key:D.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),n=b(e,2),r=n[0],o=n[1],i=(0,k.default)({},r.formats(),{list:"checked"}),l=(new N.default).retain(t.index).insert("\n",i).retain(r.length()-o-1).retain(1,{list:"unchecked"});this.quill.updateContents(l,S.default.sources.USER),this.quill.setSelection(t.index+1,S.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:D.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var n=this.quill.getLine(t.index),r=b(n,2),o=r[0],i=r[1],l=(new N.default).retain(t.index).insert("\n",e.format).retain(o.length()-i-1).retain(1,{header:null});this.quill.updateContents(l,S.default.sources.USER),this.quill.setSelection(t.index+1,S.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var n=e.prefix.length,r=this.quill.getLine(t.index),o=b(r,2),i=o[0],l=o[1];if(l>n)return!0;var a=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":a="unchecked";break;case"[x]":a="checked";break;case"-":case"*":a="bullet";break;default:a="ordered"}this.quill.insertText(t.index," ",S.default.sources.USER),this.quill.history.cutoff();var s=(new N.default).retain(t.index-l).delete(n+1).retain(i.length()-2-l).retain(1,{list:a});this.quill.updateContents(s,S.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,S.default.sources.SILENT)}},"code exit":{key:D.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),n=b(e,2),r=n[0],o=n[1],i=(new N.default).retain(t.index+r.length()-o-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(i,S.default.sources.USER)}},"embed left":s(D.keys.LEFT,!1),"embed left shift":s(D.keys.LEFT,!0),"embed right":s(D.keys.RIGHT,!1),"embed right shift":s(D.keys.RIGHT,!0)}},e.default=D,e.SHORTKEY=B},function(t,e,n){"use strict";t.exports={align:{"":n(75),center:n(76),right:n(77),justify:n(78)},background:n(79),blockquote:n(80),bold:n(81),clean:n(82),code:n(40),"code-block":n(40),color:n(83),direction:{"":n(84),rtl:n(85)},float:{center:n(86),full:n(87),left:n(88),right:n(89)},formula:n(90),header:{1:n(91),2:n(92)},italic:n(93),image:n(94),indent:{"+1":n(95),"-1":n(96)},link:n(97),list:{ordered:n(98),bullet:n(99),check:n(100)},script:{sub:n(101),super:n(102)},strike:n(103),underline:n(104),video:n(105)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=function(){function t(t){this.domNode=t,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"==typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"==typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return r.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},t.prototype.deleteAt=function(t,e){this.isolate(t,e).remove()},t.prototype.formatAt=function(t,e,n,o){var i=this.isolate(t,e);if(null!=r.query(n,r.Scope.BLOT)&&o)i.wrap(n,o);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var l=r.create(this.statics.scope);i.wrap(l),l.format(n,o)}},t.prototype.insertAt=function(t,e,n){var o=null==n?r.create("text",e):r.create(e,n),i=this.split(t);this.parent.insertBefore(o,i)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var n="string"==typeof t?r.create(t,e):t;return n.replace(this),n},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var n="string"==typeof t?r.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},t.blotName="abstract",t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),o=n(29),i=n(30),l=n(1),a=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=r.default.keys(this.domNode),n=o.default.keys(this.domNode),a=i.default.keys(this.domNode);e.concat(n).concat(a).forEach(function(e){var n=l.query(e,l.Scope.ATTRIBUTE);n instanceof r.default&&(t.attributes[n.attrName]=n)})},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach(function(n){var r=e.attributes[n].value(e.domNode);t.format(n,r)})},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach(function(t){e.attributes[t].remove(e.domNode)}),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce(function(e,n){return e[n]=t.attributes[n].value(t.domNode),e},{})},t}();e.default=a},function(t,e,n){"use strict";function r(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter(function(t){return 0===t.indexOf(e+"-")})}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(11),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map(function(t){return t.split("-").slice(0,-1).join("-")})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){r(t,this.keyName).forEach(function(e){t.classList.remove(e)}),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=r(t,this.keyName)[0]||"",n=e.slice(this.keyName.length+1);return this.canAdd(t,n)?n:""},e}(i.default);e.default=l},function(t,e,n){"use strict";function r(t){var e=t.split("-"),n=e.slice(1).map(function(t){return t[0].toUpperCase()+t.slice(1)}).join("");return e[0]+n}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(11),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map(function(t){return t.split(":")[0].trim()})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[r(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[r(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[r(this.keyName)];return this.canAdd(t,e)?e:""},e}(i.default);e.default=l},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=function(){function t(t,e){for(var n=0;n '},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;nr.right&&(i=r.right-o.right,this.root.style.left=e+i+"px"),o.leftr.bottom){var l=o.bottom-o.top,a=t.bottom-t.top+l;this.root.style.top=n-a+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=i},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t}function s(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach(function(e){var r=document.createElement("option");e===n?r.setAttribute("selected","selected"):r.setAttribute("value",e),t.appendChild(r)})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var u=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var e=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,v.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,v.default.sources.USER)),this.quill.root.scrollTop=e;break;case"video":t=a(t);case"formula":if(!t)break;var n=this.quill.getSelection(!0);if(null!=n){var r=n.index+n.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),t,v.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",v.default.sources.USER),this.quill.setSelection(r+2,v.default.sources.USER)}}this.textbox.value="",this.hide()}}]),e}(A.default);e.BaseTooltip=M,e.default=L},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(46),i=r(o),l=n(34),a=n(36),s=n(62),u=n(63),c=r(u),f=n(64),h=r(f),p=n(65),d=r(p),y=n(35),v=n(24),b=n(37),g=n(38),m=n(39),_=r(m),O=n(66),w=r(O),x=n(15),k=r(x),E=n(67),N=r(E),j=n(68),A=r(j),q=n(69),T=r(q),P=n(70),S=r(P),C=n(71),L=r(C),M=n(13),R=r(M),I=n(72),B=r(I),D=n(73),U=r(D),F=n(74),H=r(F),K=n(26),z=r(K),V=n(16),Z=r(V),W=n(41),G=r(W),Y=n(42),X=r(Y),$=n(43),Q=r($),J=n(107),tt=r(J),et=n(108),nt=r(et);i.default.register({"attributors/attribute/direction":a.DirectionAttribute,"attributors/class/align":l.AlignClass,"attributors/class/background":y.BackgroundClass,"attributors/class/color":v.ColorClass,"attributors/class/direction":a.DirectionClass,"attributors/class/font":b.FontClass,"attributors/class/size":g.SizeClass,"attributors/style/align":l.AlignStyle,"attributors/style/background":y.BackgroundStyle,"attributors/style/color":v.ColorStyle,"attributors/style/direction":a.DirectionStyle,"attributors/style/font":b.FontStyle,"attributors/style/size":g.SizeStyle},!0),i.default.register({"formats/align":l.AlignClass,"formats/direction":a.DirectionClass,"formats/indent":s.IndentClass,"formats/background":y.BackgroundStyle,"formats/color":v.ColorStyle,"formats/font":b.FontClass,"formats/size":g.SizeClass,"formats/blockquote":c.default,"formats/code-block":R.default,"formats/header":h.default,"formats/list":d.default,"formats/bold":_.default,"formats/code":M.Code,"formats/italic":w.default,"formats/link":k.default,"formats/script":N.default,"formats/strike":A.default,"formats/underline":T.default,"formats/image":S.default,"formats/video":L.default,"formats/list/item":p.ListItem,"modules/formula":B.default,"modules/syntax":U.default,"modules/toolbar":H.default,"themes/bubble":tt.default,"themes/snow":nt.default,"ui/icons":z.default,"ui/picker":Z.default,"ui/icon-picker":X.default,"ui/color-picker":G.default,"ui/tooltip":Q.default},!0),e.default=i.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),i=r(o),l=n(6),a=r(l),s=n(3),u=r(s),c=n(14),f=r(c),h=n(23),p=r(h),d=n(31),y=r(d),v=n(33),b=r(v),g=n(5),m=r(g),_=n(59),O=r(_),w=n(8),x=r(w),k=n(60),E=r(k),N=n(61),j=r(N),A=n(25),q=r(A);a.default.register({"blots/block":u.default,"blots/block/embed":s.BlockEmbed,"blots/break":f.default,"blots/container":p.default,"blots/cursor":y.default,"blots/embed":b.default,"blots/inline":m.default,"blots/scroll":O.default,"blots/text":x.default,"modules/clipboard":E.default,"modules/history":j.default,"modules/keyboard":q.default}),i.default.register(u.default,f.default,y.default,m.default,O.default,x.default),e.default=a.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){for(var e,n=this.iterator();e=n();)if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){for(var e=0,n=this.head;null!=n;){if(n===t)return e;e+=n.length(),n=n.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);for(var n,r=this.iterator();n=r();){var o=n.length();if(ta?n(r,t-a,Math.min(e,a+u-t)):n(r,0,Math.min(u,t+e-a)),a+=u}},t.prototype.map=function(t){return this.reduce(function(e,n){return e.push(t(n)),e},[])},t.prototype.reduce=function(t,e){for(var n,r=this.iterator();n=r();)e=t(e,n);return e},t}();e.default=r},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(17),i=n(1),l={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},a=function(t){function e(e){var n=t.call(this,e)||this;return n.scroll=n,n.observer=new MutationObserver(function(t){n.update(t)}),n.observer.observe(n.domNode,l),n.attach(),n}return r(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,n){this.update(),0===e&&n===this.length()?this.children.forEach(function(t){t.remove()}):t.prototype.deleteAt.call(this,e,n)},e.prototype.formatAt=function(e,n,r,o){this.update(),t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.insertAt=function(e,n,r){this.update(),t.prototype.insertAt.call(this,e,n,r)},e.prototype.optimize=function(e,n){var r=this;void 0===e&&(e=[]),void 0===n&&(n={}),t.prototype.optimize.call(this,n);for(var l=[].slice.call(this.observer.takeRecords());l.length>0;)e.push(l.pop());for(var a=function(t,e){void 0===e&&(e=!0),null!=t&&t!==r&&null!=t.domNode.parentNode&&(null==t.domNode[i.DATA_KEY].mutations&&(t.domNode[i.DATA_KEY].mutations=[]),e&&a(t.parent))},s=function(t){null!=t.domNode[i.DATA_KEY]&&null!=t.domNode[i.DATA_KEY].mutations&&(t instanceof o.default&&t.children.forEach(s),t.optimize(n))},u=e,c=0;u.length>0;c+=1){if(c>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(u.forEach(function(t){var e=i.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(a(i.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,function(t){var e=i.find(t,!1);a(e,!1),e instanceof o.default&&e.children.forEach(function(t){a(t,!1)})})):"attributes"===t.type&&a(e.prev)),a(e))}),this.children.forEach(s),u=[].slice.call(this.observer.takeRecords()),l=u.slice();l.length>0;)e.push(l.pop())}},e.prototype.update=function(e,n){var r=this;void 0===n&&(n={}),e=e||this.observer.takeRecords(),e.map(function(t){var e=i.find(t.target,!0);return null==e?null:null==e.domNode[i.DATA_KEY].mutations?(e.domNode[i.DATA_KEY].mutations=[t],e):(e.domNode[i.DATA_KEY].mutations.push(t),null)}).forEach(function(t){null!=t&&t!==r&&null!=t.domNode[i.DATA_KEY]&&t.update(t.domNode[i.DATA_KEY].mutations||[],n)}),null!=this.domNode[i.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[i.DATA_KEY].mutations,n),this.optimize(e,n)},e.blotName="scroll",e.defaultChild="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="DIV",e}(o.default);e.default=a},function(t,e,n){"use strict";function r(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}var o=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n(18),l=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.formats=function(n){if(n.tagName!==e.tagName)return t.formats.call(this,n)},e.prototype.format=function(n,r){var o=this;n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):(this.children.forEach(function(t){t instanceof i.default||(t=t.wrap(e.blotName,!0)),o.attributes.copy(t)}),this.unwrap())},e.prototype.formatAt=function(e,n,r,o){if(null!=this.formats()[r]||l.query(r,l.Scope.ATTRIBUTE)){this.isolate(e,n).format(r,o)}else t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n);var o=this.formats();if(0===Object.keys(o).length)return this.unwrap();var i=this.next;i instanceof e&&i.prev===this&&r(o,i.formats())&&(i.moveChildren(this),i.remove())},e.blotName="inline",e.scope=l.Scope.INLINE_BLOT,e.tagName="SPAN",e}(i.default);e.default=a},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(18),i=n(1),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){var r=i.query(e.blotName).tagName;if(n.tagName!==r)return t.formats.call(this,n)},e.prototype.format=function(n,r){null!=i.query(n,i.Scope.BLOCK)&&(n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,n,r,o){null!=i.query(r,i.Scope.BLOCK)?this.format(r,o):t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.insertAt=function(e,n,r){if(null==r||null!=i.query(n,i.Scope.INLINE))t.prototype.insertAt.call(this,e,n,r);else{var o=this.split(e),l=i.create(n,r);o.parent.insertBefore(l,o)}},e.prototype.update=function(e,n){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,n)},e.blotName="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="P",e}(o.default);e.default=l},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(19),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(t){},e.prototype.format=function(e,n){t.prototype.formatAt.call(this,0,this.length(),e,n)},e.prototype.formatAt=function(e,n,r,o){0===e&&n===this.length()?this.format(r,o):t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(o.default);e.default=i},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(19),i=n(1),l=function(t){function e(e){var n=t.call(this,e)||this;return n.text=n.statics.value(n.domNode),n}return r(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e.normalize&&(e=e.normalize()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,n,r){null==r?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,n,r)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=i.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},e.prototype.update=function(t,e){var n=this;t.some(function(t){return"characterData"===t.type&&t.target===n.domNode})&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=l},function(t,e,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)==!e?e:o.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var r=n.indexOf(t,e);return-1!==r&&r===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),r=n.length>>>0,o=arguments[1],i=0;ie.length?t:e,l=t.length>e.length?e:t,a=i.indexOf(l);if(-1!=a)return r=[[y,i.substring(0,a)],[v,l],[y,i.substring(a+l.length)]],t.length>e.length&&(r[0][0]=r[2][0]=d),r;if(1==l.length)return[[d,t],[y,e]];var u=s(t,e);if(u){var c=u[0],f=u[1],h=u[2],p=u[3],b=u[4],g=n(c,h),m=n(f,p);return g.concat([[v,b]],m)}return o(t,e)}function o(t,e){for(var n=t.length,r=e.length,o=Math.ceil((n+r)/2),l=o,a=2*o,s=new Array(a),u=new Array(a),c=0;cn)v+=2;else if(x>r)p+=2;else if(h){var k=l+f-_;if(k>=0&&k=E)return i(t,e,O,x)}}}for(var N=-m+b;N<=m-g;N+=2){var E,k=l+N;E=N==-m||N!=m&&u[k-1]n)g+=2;else if(j>r)b+=2;else if(!h){var w=l+f-N;if(w>=0&&w=E)return i(t,e,O,x)}}}}return[[d,t],[y,e]]}function i(t,e,r,o){var i=t.substring(0,r),l=e.substring(0,o),a=t.substring(r),s=e.substring(o),u=n(i,l),c=n(a,s);return u.concat(c)}function l(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),o=r,i=0;n=t.length?[r,o,i,s,f]:null}var r=t.length>e.length?t:e,o=t.length>e.length?e:t;if(r.length<4||2*o.lengthu[4].length?s:u:s;var c,f,h,p;return t.length>e.length?(c=i[0],f=i[1],h=i[2],p=i[3]):(h=i[0],p=i[1],c=i[2],f=i[3]),[c,f,h,p,i[4]]}function u(t){t.push([v,""]);for(var e,n=0,r=0,o=0,i="",s="";n1?(0!==r&&0!==o&&(e=l(s,i),0!==e&&(n-r-o>0&&t[n-r-o-1][0]==v?t[n-r-o-1][1]+=s.substring(0,e):(t.splice(0,0,[v,s.substring(0,e)]),n++),s=s.substring(e),i=i.substring(e)),0!==(e=a(s,i))&&(t[n][1]=s.substring(s.length-e)+t[n][1],s=s.substring(0,s.length-e),i=i.substring(0,i.length-e))),0===r?t.splice(n-o,r+o,[y,s]):0===o?t.splice(n-r,r+o,[d,i]):t.splice(n-r-o,r+o,[d,i],[y,s]),n=n-r-o+(r?1:0)+(o?1:0)+1):0!==n&&t[n-1][0]==v?(t[n-1][1]+=t[n][1],t.splice(n,1)):n++,o=0,r=0,i="",s=""}""===t[t.length-1][1]&&t.pop();var c=!1;for(n=1;n0&&r.splice(o+2,0,[l[0],a]),p(r,o,3)}return t}function h(t){for(var e=!1,n=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},r=2;r=55296&&t.charCodeAt(t.length-1)<=56319}(t[r-2][1])&&t[r-1][0]===d&&n(t[r-1][1])&&t[r][0]===y&&n(t[r][1])&&(e=!0,t[r-1][1]=t[r-2][1].slice(-1)+t[r-1][1],t[r][1]=t[r-2][1].slice(-1)+t[r][1],t[r-2][1]=t[r-2][1].slice(0,-1));if(!e)return t;for(var o=[],r=0;r0&&o.push(t[r]);return o}function p(t,e,n){for(var r=e+n-1;r>=0&&r>=e-1;r--)if(r+1=r&&!a.endsWith("\n")&&(n=!0),e.scroll.insertAt(t,a);var c=e.scroll.line(t),f=u(c,2),h=f[0],p=f[1],y=(0,T.default)({},(0,O.bubbleFormats)(h));if(h instanceof w.default){var b=h.descendant(v.default.Leaf,p),g=u(b,1),m=g[0];y=(0,T.default)(y,(0,O.bubbleFormats)(m))}l=d.default.attributes.diff(y,l)||{}}else if("object"===s(o.insert)){var _=Object.keys(o.insert)[0];if(null==_)return t;e.scroll.insertAt(t,_,o.insert[_])}r+=i}return Object.keys(l).forEach(function(n){e.scroll.formatAt(t,i,n,l[n])}),t+i},0),t.reduce(function(t,n){return"number"==typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)},0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new h.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach(function(o){if(null==n.scroll.whitelist||n.scroll.whitelist[o]){var i=n.scroll.lines(t,Math.max(e,1)),l=e;i.forEach(function(e){var i=e.length();if(e instanceof g.default){var a=t-e.offset(n.scroll),s=e.newlineIndex(a+l)-a+1;e.formatAt(a,s,o,r[o])}else e.format(o,r[o]);l-=i})}}),this.scroll.optimize(),this.update((new h.default).retain(t).retain(e,(0,N.default)(r)))}},{key:"formatText",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach(function(o){n.scroll.formatAt(t,e,o,r[o])}),this.update((new h.default).retain(t).retain(e,(0,N.default)(r)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(t,e){return t.concat(e.delta())},new h.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===e?this.scroll.path(t).forEach(function(t){var e=u(t,1),o=e[0];o instanceof w.default?n.push(o):o instanceof v.default.Leaf&&r.push(o)}):(n=this.scroll.lines(t,e),r=this.scroll.descendants(v.default.Leaf,t,e));var o=[n,r].map(function(t){if(0===t.length)return{};for(var e=(0,O.bubbleFormats)(t.shift());Object.keys(e).length>0;){var n=t.shift();if(null==n)return e;e=l((0,O.bubbleFormats)(n),e)}return e});return T.default.apply(T.default,o)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter(function(t){return"string"==typeof t.insert}).map(function(t){return t.insert}).join("")}},{key:"insertEmbed",value:function(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new h.default).retain(t).insert(o({},e,n)))}},{key:"insertText",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(r).forEach(function(o){n.scroll.formatAt(t,e.length,o,r[o])}),this.update((new h.default).retain(t).insert(e,(0,N.default)(r)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===w.default.blotName&&(!(t.children.length>1)&&t.children.head instanceof k.default)}},{key:"removeFormat",value:function(t,e){var n=this.getText(t,e),r=this.scroll.line(t+e),o=u(r,2),i=o[0],l=o[1],a=0,s=new h.default;null!=i&&(a=i instanceof g.default?i.newlineIndex(l)-l+1:i.length()-l,s=i.delta().slice(l,l+a-1).insert("\n"));var c=this.getContents(t,e+a),f=c.diff((new h.default).insert(n).concat(s)),p=(new h.default).retain(t).concat(f);return this.applyDelta(p)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(P)&&v.default.find(e[0].target)){var o=v.default.find(e[0].target),i=(0,O.bubbleFormats)(o),l=o.offset(this.scroll),a=e[0].oldValue.replace(_.default.CONTENTS,""),s=(new h.default).insert(a),u=(new h.default).insert(o.value());t=(new h.default).retain(l).concat(s.diff(u,n)).reduce(function(t,e){return e.insert?t.insert(e.insert,i):t.push(e)},new h.default),this.delta=r.compose(t)}else this.delta=this.getDelta(),t&&(0,A.default)(r.compose(t),this.delta)||(t=r.diff(this.delta,n));return t}}]),t}();e.default=S},function(t,e){"use strict";function n(){}function r(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function o(){this._events=new n,this._eventsCount=0}var i=Object.prototype.hasOwnProperty,l="~";Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(l=!1)),o.prototype.eventNames=function(){var t,e,n=[];if(0===this._eventsCount)return n;for(e in t=this._events)i.call(t,e)&&n.push(l?e.slice(1):e);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},o.prototype.listeners=function(t,e){var n=l?l+t:t,r=this._events[n];if(e)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o0){if(i instanceof y.BlockEmbed||f instanceof y.BlockEmbed)return void this.optimize();if(i instanceof _.default){var h=i.newlineIndex(i.length(),!0);if(h>-1&&(i=i.split(h+1))===f)return void this.optimize()}else if(f instanceof _.default){var p=f.newlineIndex(0);p>-1&&f.split(p+1)}var d=f.children.head instanceof g.default?null:f.children.head;i.moveChildren(f,d),i.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,n,r,o){(null==this.whitelist||this.whitelist[r])&&(c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,r,o),this.optimize())}},{key:"insertAt",value:function(t,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(t>=this.length())if(null==r||null==h.default.query(n,h.default.Scope.BLOCK)){var o=h.default.create(this.statics.defaultChild);this.appendChild(o),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),o.insertAt(0,n,r)}else{var i=h.default.create(n,r);this.appendChild(i)}else c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r);this.optimize()}}},{key:"insertBefore",value:function(t,n){if(t.statics.scope===h.default.Scope.INLINE_BLOT){var r=h.default.create(this.statics.defaultChild);r.appendChild(t),t=r}c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(a,t)}},{key:"lines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return function t(e,n,r){var o=[],i=r;return e.children.forEachAt(n,r,function(e,n,r){a(e)?o.push(e):e instanceof h.default.Container&&(o=o.concat(t(e,n,i))),i-=r}),o}(this,t,e)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,n),t.length>0&&this.emitter.emit(d.default.events.SCROLL_OPTIMIZE,t,n))}},{key:"path",value:function(t){return c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var n=d.default.sources.USER;"string"==typeof t&&(n=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(d.default.events.SCROLL_BEFORE_UPDATE,n,t),c(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(d.default.events.SCROLL_UPDATE,n,t)}}}]),e}(h.default.Scroll);x.blotName="scroll",x.className="ql-editor",x.tagName="DIV",x.defaultChild="block",x.allowedChildren=[v.default,y.BlockEmbed,w.default],e.default=x},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t,e,n){return"object"===(void 0===e?"undefined":x(e))?Object.keys(e).reduce(function(t,n){return s(t,n,e[n])},t):t.reduce(function(t,r){return r.attributes&&r.attributes[e]?t.push(r):t.insert(r.insert,(0,j.default)({},o({},e,n),r.attributes))},new q.default)}function u(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};return t["__ql-computed-style"]||(t["__ql-computed-style"]=window.getComputedStyle(t))}function c(t,e){for(var n="",r=t.ops.length-1;r>=0&&n.length-1}function h(t,e,n){return t.nodeType===t.TEXT_NODE?n.reduce(function(e,n){return n(t,e)},new q.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],function(r,o){var i=h(o,e,n);return o.nodeType===t.ELEMENT_NODE&&(i=e.reduce(function(t,e){return e(o,t)},i),i=(o[W]||[]).reduce(function(t,e){return e(o,t)},i)),r.concat(i)},new q.default):new q.default}function p(t,e,n){return s(n,t,!0)}function d(t,e){var n=P.default.Attributor.Attribute.keys(t),r=P.default.Attributor.Class.keys(t),o=P.default.Attributor.Style.keys(t),i={};return n.concat(r).concat(o).forEach(function(e){var n=P.default.query(e,P.default.Scope.ATTRIBUTE);null!=n&&(i[n.attrName]=n.value(t),i[n.attrName])||(n=Y[e],null==n||n.attrName!==e&&n.keyName!==e||(i[n.attrName]=n.value(t)||void 0),null==(n=X[e])||n.attrName!==e&&n.keyName!==e||(n=X[e],i[n.attrName]=n.value(t)||void 0))}),Object.keys(i).length>0&&(e=s(e,i)),e}function y(t,e){var n=P.default.query(t);if(null==n)return e;if(n.prototype instanceof P.default.Embed){var r={},o=n.value(t);null!=o&&(r[n.blotName]=o,e=(new q.default).insert(r,n.formats(t)))}else"function"==typeof n.formats&&(e=s(e,n.blotName,n.formats(t)));return e}function v(t,e){return c(e,"\n")||e.insert("\n"),e}function b(){return new q.default}function g(t,e){var n=P.default.query(t);if(null==n||"list-item"!==n.blotName||!c(e,"\n"))return e;for(var r=-1,o=t.parentNode;!o.classList.contains("ql-clipboard");)"list"===(P.default.query(o)||{}).blotName&&(r+=1),o=o.parentNode;return r<=0?e:e.compose((new q.default).retain(e.length()-1).retain(1,{indent:r}))}function m(t,e){return c(e,"\n")||(f(t)||e.length()>0&&t.nextSibling&&f(t.nextSibling))&&e.insert("\n"),e}function _(t,e){if(f(t)&&null!=t.nextElementSibling&&!c(e,"\n\n")){var n=t.offsetHeight+parseFloat(u(t).marginTop)+parseFloat(u(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert("\n")}return e}function O(t,e){var n={},r=t.style||{};return r.fontStyle&&"italic"===u(t).fontStyle&&(n.italic=!0),r.fontWeight&&(u(t).fontWeight.startsWith("bold")||parseInt(u(t).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(e=s(e,n)),parseFloat(r.textIndent||0)>0&&(e=(new q.default).insert("\t").concat(e)),e}function w(t,e){var n=t.data;if("O:P"===t.parentNode.tagName)return e.insert(n.trim());if(0===n.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!u(t.parentNode).whiteSpace.startsWith("pre")){var r=function(t,e){return e=e.replace(/[^\u00a0]/g,""),e.length<1&&t?" ":e};n=n.replace(/\r\n/g," ").replace(/\n/g," "),n=n.replace(/\s\s+/g,r.bind(r,!0)),(null==t.previousSibling&&f(t.parentNode)||null!=t.previousSibling&&f(t.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==t.nextSibling&&f(t.parentNode)||null!=t.nextSibling&&f(t.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return e.insert(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var x="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},k=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),E=function(){function t(t,e){for(var n=0;n\r?\n +\<"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[F.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new q.default).insert(n,o({},F.default.blotName,e[F.default.blotName]))}var r=this.prepareMatching(),i=k(r,2),l=i[0],a=i[1],s=h(this.container,l,a);return c(s,"\n")&&null==s.ops[s.ops.length-1].attributes&&(s=s.compose((new q.default).retain(s.length()-1).delete(1))),Z.log("convert",this.container.innerHTML,s),this.container.innerHTML="",s}},{key:"dangerouslyPasteHTML",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C.default.sources.API;if("string"==typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,C.default.sources.SILENT);else{var r=this.convert(e);this.quill.updateContents((new q.default).retain(t).concat(r),n),this.quill.setSelection(t+r.length(),C.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new q.default).retain(n.index),o=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(C.default.sources.SILENT),setTimeout(function(){r=r.concat(e.convert()).delete(n.length),e.quill.updateContents(r,C.default.sources.USER),e.quill.setSelection(r.length()-n.length,C.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=o,e.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],n=[];return this.matchers.forEach(function(r){var o=k(r,2),i=o[0],l=o[1];switch(i){case Node.TEXT_NODE:n.push(l);break;case Node.ELEMENT_NODE:e.push(l);break;default:[].forEach.call(t.container.querySelectorAll(i),function(t){t[W]=t[W]||[],t[W].push(l)})}}),[e,n]}}]),e}(I.default);$.DEFAULTS={matchers:[],matchVisual:!0},e.default=$,e.matchAttributor=d,e.matchBlot=y,e.matchNewline=m,e.matchSpacing=_,e.matchText=w},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"==typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some(function(t){return null!=f.default.query(t,f.default.Scope.BLOCK)}))}function s(t){var e=t.reduce(function(t,e){return t+=e.delete||0},0),n=t.length()-e;return a(t)&&(n-=1),n}Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=void 0;var u=function(){function t(t,e){for(var n=0;nr&&this.stack.undo.length>0){var o=this.stack.undo.pop();n=n.compose(o.undo),t=o.redo.compose(t)}else this.lastRecorded=r;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}),this.stack.redo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}(y.default);v.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=v,e.getLastChangeIndex=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var l=function(){function t(t,e){for(var n=0;n0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return o({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(t,n){if(t instanceof v)u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n);else{var r=null==n?this.length():n.offset(this),o=this.split(r);o.parent.insertBefore(t,o)}}},{key:"optimize",value:function(t){u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=f.default.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}(y.default);b.blotName="list",b.scope=f.default.Scope.BLOCK_BLOT,b.tagName=["OL","UL"],b.defaultChild="list-item",b.allowedChildren=[v],e.ListItem=v,e.default=b},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=n(39),a=function(t){return t&&t.__esModule?t:{default:t}}(l),s=function(t){function e(){return r(this,e),o(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return i(e,t),e}(a.default);s.blotName="italic",s.tagName=["EM","I"],e.default=s},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return f.reduce(function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e},{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,c.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(u.default.Embed);h.blotName="image",h.tagName="IMG",e.default=h},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var l=function(){function t(t,e){for(var n=0;n-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=a(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return f.reduce(function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e},{})}},{key:"sanitize",value:function(t){return c.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(s.BlockEmbed);h.blotName="video",h.className="ql-video",h.tagName="IFRAME",e.default=h},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var a=function(){function t(t,e){for(var n=0;n0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}(v.default);b.className="ql-syntax";var g=new c.default.Attributor.Class("token","hljs",{scope:c.default.Scope.INLINE}),m=function(t){function e(t,n){o(this,e);var r=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if("function"!=typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var l=null;return r.quill.on(h.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(l),l=setTimeout(function(){r.highlight(),l=null},r.options.interval)}),r.highlight(),r}return l(e,t),a(e,null,[{key:"register",value:function(){h.default.register(g,!0),h.default.register(b,!0)}}]),a(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(h.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(b).forEach(function(e){e.highlight(t.options.highlight)}),this.quill.update(h.default.sources.SILENT),null!=e&&this.quill.setSelection(e,h.default.sources.SILENT)}}}]),e}(d.default);m.DEFAULTS={highlight:function(){return null==window.hljs?null:function(t){return window.hljs.highlightAuto(t).value}}(),interval:1e3},e.CodeBlock=b,e.CodeToken=g,e.default=m},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t,e,n){var r=document.createElement("button");r.setAttribute("type","button"),r.classList.add("ql-"+e),null!=n&&(r.value=n),t.appendChild(r)}function u(t,e){Array.isArray(e[0])||(e=[e]),e.forEach(function(e){var n=document.createElement("span");n.classList.add("ql-formats"),e.forEach(function(t){if("string"==typeof t)s(n,t);else{var e=Object.keys(t)[0],r=t[e];Array.isArray(r)?c(n,e,r):s(n,e,r)}}),t.appendChild(n)})}function c(t,e,n){var r=document.createElement("select");r.classList.add("ql-"+e),n.forEach(function(t){var e=document.createElement("option");!1!==t?e.setAttribute("value",t):e.setAttribute("selected","selected"),r.appendChild(e)}),t.appendChild(r)}Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var f=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),h=function(){function t(t,e){for(var n=0;n '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e){t.exports=' '},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var a=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},s=function(){function t(t,e){for(var n=0;n0&&o===h.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var i=r.quill.getLines(e.index,e.length);if(1===i.length)r.position(r.quill.getBounds(e));else{var l=i[i.length-1],a=r.quill.getIndex(l),s=Math.min(l.length()-1,e.index+e.length-a),u=r.quill.getBounds(new y.Range(a,s));r.position(u)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()}),r}return l(e,t),s(e,[{key:"listen",value:function(){var t=this;a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){t.root.classList.remove("ql-editing")}),this.quill.on(h.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var n=a(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),r=this.root.querySelector(".ql-tooltip-arrow");if(r.style.marginLeft="",0===n)return n;r.style.marginLeft=-1*n-r.offsetWidth/2+"px"}}]),e}(p.BaseTooltip);_.TEMPLATE=['','
','','',"
"].join(""),e.BubbleTooltip=_,e.default=m},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var a=function(){function t(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var l=o.get;if(void 0!==l)return l.call(r)},u=function(){function t(t,e){for(var n=0;n','','',''].join(""),e.default=w}]).default}); -//# sourceMappingURL=quill.min.js.map \ No newline at end of file diff --git a/unpackage/dist/dev/app-plus/__uniappquillimageresize.js b/unpackage/dist/dev/app-plus/__uniappquillimageresize.js deleted file mode 100644 index 725289b..0000000 --- a/unpackage/dist/dev/app-plus/__uniappquillimageresize.js +++ /dev/null @@ -1 +0,0 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ImageResize=e():t.ImageResize=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=39)}([function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e,n){var o=n(22),r="object"==typeof self&&self&&self.Object===Object&&self,i=o||r||Function("return this")();t.exports=i},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e,n){function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t-1&&t%1==0&&t<=o}var o=9007199254740991;t.exports=n},function(t,e,n){var o=n(50),r=n(55),i=n(87),u=i&&i.isTypedArray,c=u?r(u):o;t.exports=c},function(t,e,n){function o(t){return u(t)?r(t,!0):i(t)}var r=n(44),i=n(51),u=n(12);t.exports=o},function(t,e,n){"use strict";e.a={modules:["DisplaySize","Toolbar","Resize"]}},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}n.d(e,"a",function(){return c});var u=n(9),c=function(t){function e(){var t,n,i,u;o(this,e);for(var c=arguments.length,a=Array(c),s=0;s1&&void 0!==arguments[1]?arguments[1]:{};o(this,t),this.initializeModules=function(){n.removeModules(),n.modules=n.moduleClasses.map(function(t){return new(f[t]||t)(n)}),n.modules.forEach(function(t){t.onCreate()}),n.onUpdate()},this.onUpdate=function(){n.repositionElements(),n.modules.forEach(function(t){t.onUpdate()})},this.removeModules=function(){n.modules.forEach(function(t){t.onDestroy()}),n.modules=[]},this.handleClick=function(t){if(t.target&&t.target.tagName&&"IMG"===t.target.tagName.toUpperCase()){if(n.img===t.target)return;n.img&&n.hide(),n.show(t.target)}else n.img&&n.hide()},this.show=function(t){n.img=t,n.showOverlay(),n.initializeModules()},this.showOverlay=function(){n.overlay&&n.hideOverlay(),n.quill.setSelection(null),n.setUserSelect("none"),document.addEventListener("keyup",n.checkImage,!0),n.quill.root.addEventListener("input",n.checkImage,!0),n.overlay=document.createElement("div"),n.overlay.classList.add("ql-image-overlay"),n.quill.root.parentNode.appendChild(n.overlay),n.repositionElements()},this.hideOverlay=function(){n.overlay&&(n.quill.root.parentNode.removeChild(n.overlay),n.overlay=void 0,document.removeEventListener("keyup",n.checkImage),n.quill.root.removeEventListener("input",n.checkImage),n.setUserSelect(""))},this.repositionElements=function(){if(n.overlay&&n.img){var t=n.quill.root.parentNode,e=n.img.getBoundingClientRect(),o=t.getBoundingClientRect();Object.assign(n.overlay.style,{left:e.left-o.left-1+t.scrollLeft+"px",top:e.top-o.top+t.scrollTop+"px",width:e.width+"px",height:e.height+"px"})}},this.hide=function(){n.hideOverlay(),n.removeModules(),n.img=void 0},this.setUserSelect=function(t){["userSelect","mozUserSelect","webkitUserSelect","msUserSelect"].forEach(function(e){n.quill.root.style[e]=t,document.documentElement.style[e]=t})},this.checkImage=function(t){n.img&&(46!=t.keyCode&&8!=t.keyCode||window.Quill.find(n.img).deleteAt(0),n.hide())},this.quill=e;var c=!1;r.modules&&(c=r.modules.slice()),this.options=i()({},r,u.a),!1!==c&&(this.options.modules=c),document.execCommand("enableObjectResizing",!1,"false"),this.quill.root.addEventListener("click",this.handleClick,!1),this.quill.root.parentNode.style.position=this.quill.root.parentNode.style.position||"relative",this.moduleClasses=this.options.modules,this.modules=[]};e.default=p,window.Quill&&window.Quill.register("modules/imageResize",p)},function(t,e,n){function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e1?n[r-1]:void 0,c=r>2?n[2]:void 0;for(u=t.length>3&&"function"==typeof u?(r--,u):void 0,c&&i(n[0],n[1],c)&&(u=r<3?void 0:u,r=1),e=Object(e);++o-1}var r=n(4);t.exports=o},function(t,e,n){function o(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}var r=n(4);t.exports=o},function(t,e,n){function o(){this.size=0,this.__data__={hash:new r,map:new(u||i),string:new r}}var r=n(40),i=n(3),u=n(15);t.exports=o},function(t,e,n){function o(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}var r=n(6);t.exports=o},function(t,e,n){function o(t){return r(this,t).get(t)}var r=n(6);t.exports=o},function(t,e,n){function o(t){return r(this,t).has(t)}var r=n(6);t.exports=o},function(t,e,n){function o(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}var r=n(6);t.exports=o},function(t,e){function n(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=n},function(t,e,n){(function(t){var o=n(22),r="object"==typeof e&&e&&!e.nodeType&&e,i=r&&"object"==typeof t&&t&&!t.nodeType&&t,u=i&&i.exports===r,c=u&&o.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||c&&c.binding&&c.binding("util")}catch(t){}}();t.exports=a}).call(e,n(14)(t))},function(t,e){function n(t){return r.call(t)}var o=Object.prototype,r=o.toString;t.exports=n},function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},function(t,e,n){function o(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,u=-1,c=i(o.length-e,0),a=Array(c);++u0){if(++e>=o)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var o=800,r=16,i=Date.now;t.exports=n},function(t,e,n){function o(){this.__data__=new r,this.size=0}var r=n(3);t.exports=o},function(t,e){function n(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}t.exports=n},function(t,e){function n(t){return this.__data__.get(t)}t.exports=n},function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},function(t,e,n){function o(t,e){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!i||o.length promise.resolve(callback()).then(() => value), - reason => promise.resolve(callback()).then(() => { - throw reason - }) - ) - } -}; - -if (typeof uni !== 'undefined' && uni && uni.requireGlobal) { - const global = uni.requireGlobal() - ArrayBuffer = global.ArrayBuffer - Int8Array = global.Int8Array - Uint8Array = global.Uint8Array - Uint8ClampedArray = global.Uint8ClampedArray - Int16Array = global.Int16Array - Uint16Array = global.Uint16Array - Int32Array = global.Int32Array - Uint32Array = global.Uint32Array - Float32Array = global.Float32Array - Float64Array = global.Float64Array - BigInt64Array = global.BigInt64Array - BigUint64Array = global.BigUint64Array -}; - - -(()=>{var E=Object.create;var g=Object.defineProperty;var _=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var w=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty;var y=(e,a)=>()=>(a||e((a={exports:{}}).exports,a),a.exports);var S=(e,a,s,o)=>{if(a&&typeof a=="object"||typeof a=="function")for(let l of D(a))!v.call(e,l)&&l!==s&&g(e,l,{get:()=>a[l],enumerable:!(o=_(a,l))||o.enumerable});return e};var B=(e,a,s)=>(s=e!=null?E(w(e)):{},S(a||!e||!e.__esModule?g(s,"default",{value:e,enumerable:!0}):s,e));var b=y((N,m)=>{m.exports=Vue});var d={data(){return{locale:"en",fallbackLocale:"en",localization:{en:{done:"OK",cancel:"Cancel"},zh:{done:"\u5B8C\u6210",cancel:"\u53D6\u6D88"},"zh-hans":{},"zh-hant":{},messages:{}},localizationTemplate:{}}},onLoad(){this.initLocale()},created(){this.initLocale()},methods:{initLocale(){if(this.__initLocale)return;this.__initLocale=!0;let e=(plus.webview.currentWebview().extras||{}).data||{};if(e.messages&&(this.localization.messages=e.messages),e.locale){this.locale=e.locale.toLowerCase();return}let a={chs:"hans",cn:"hans",sg:"hans",cht:"hant",tw:"hant",hk:"hant",mo:"hant"},s=plus.os.language.toLowerCase().split("/")[0].replace("_","-").split("-"),o=s[1];o&&(s[1]=a[o]||o),s.length=s.length>2?2:s.length,this.locale=s.join("-")},localize(e){let a=this.locale,s=a.split("-")[0],o=this.fallbackLocale,l=n=>Object.assign({},this.localization[n],(this.localizationTemplate||{})[n]);return l("messages")[e]||l(a)[e]||l(s)[e]||l(o)[e]||e}}},p={onLoad(){this.initMessage()},methods:{initMessage(){let{from:e,callback:a,runtime:s,data:o={},useGlobalEvent:l}=plus.webview.currentWebview().extras||{};this.__from=e,this.__runtime=s,this.__page=plus.webview.currentWebview().id,this.__useGlobalEvent=l,this.data=JSON.parse(JSON.stringify(o)),plus.key.addEventListener("backbutton",()=>{typeof this.onClose=="function"?this.onClose():plus.webview.currentWebview().close("auto")});let n=this,r=function(c){let f=c.data&&c.data.__message;!f||n.__onMessageCallback&&n.__onMessageCallback(f.data)};if(this.__useGlobalEvent)weex.requireModule("globalEvent").addEventListener("plusMessage",r);else{let c=new BroadcastChannel(this.__page);c.onmessage=r}},postMessage(e={},a=!1){let s=JSON.parse(JSON.stringify({__message:{__page:this.__page,data:e,keep:a}})),o=this.__from;if(this.__runtime==="v8")this.__useGlobalEvent?plus.webview.postMessageToUniNView(s,o):new BroadcastChannel(o).postMessage(s);else{let l=plus.webview.getWebviewById(o);l&&l.evalJS(`__plusMessage&&__plusMessage(${JSON.stringify({data:s})})`)}},onMessage(e){this.__onMessageCallback=e}}};var i=B(b());var C=(e,a)=>{let s=e.__vccOpts||e;for(let[o,l]of a)s[o]=l;return s};var k={content:{"":{flex:1,alignItems:"center",justifyContent:"center",backgroundColor:"#000000"}},barcode:{"":{position:"absolute",left:0,top:0,right:0,bottom:0,zIndex:1}},"set-flash":{"":{alignItems:"center",justifyContent:"center",transform:"translateY(80px)",zIndex:2}},"image-flash":{"":{width:26,height:26,marginBottom:2}},"image-flash-text":{"":{fontSize:10,color:"#FFFFFF"}}},t=plus.barcode,A={qrCode:[t.QR,t.AZTEC,t.MAXICODE],barCode:[t.EAN13,t.EAN8,t.UPCA,t.UPCE,t.CODABAR,t.CODE128,t.CODE39,t.CODE93,t.ITF,t.RSS14,t.RSSEXPANDED],datamatrix:[t.DATAMATRIX],pdf417:[t.PDF417]},O={[t.QR]:"QR_CODE",[t.EAN13]:"EAN_13",[t.EAN8]:"EAN_8",[t.DATAMATRIX]:"DATA_MATRIX",[t.UPCA]:"UPC_A",[t.UPCE]:"UPC_E",[t.CODABAR]:"CODABAR",[t.CODE39]:"CODE_39",[t.CODE93]:"CODE_93",[t.CODE128]:"CODE_128",[t.ITF]:"CODE_25",[t.PDF417]:"PDF_417",[t.AZTEC]:"AZTEC",[t.RSS14]:"RSS_14",[t.RSSEXPANDED]:"RSSEXPANDED"},M={mixins:[p,d],data:{filters:[0,2,1],backgroud:"#000000",frameColor:"#118ce9",scanbarColor:"#118ce9",enabledFlash:!1,flashImage0:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAABjklEQVRoQ+1ZbVHEQAx9TwE4ABTcOQAknANQAKcAUAAOAAXgAHAACsDCKQiTmbYDzJZtNt2bFrJ/m6+Xl2yyU2LmhzOPH/8PgIjcADirxNyapNoffMwMiMgzgMPBHmyCLySPLCoBwJKtAbJbYaBmD1yRvBwAtBMxl5DF+DZkiwCIyBLAzsgBbki+Wm2WAlCaL6zOMvKnJO+sNksB7ALQbO1ZHfbIv5FUVs2nCIB6EZETALdmj2mFY5I6X8ynGEADQllYmL1+VzBfnV/VvQB0aj45ARyQ/Ci14QLQsOBZLe5JaikWnzEA7AN4L4hgA2Dpyb76dANwsOCq/TZhASAYKGie0a7R1lDPI0ebtF0NUi+4yfdAtxr3PEMnD6BbD0QkNfACQO05EAwMuaBqDrIVycdmTpwDuP4R0OR7QFftVRP0g+49cwOQq4DJMxAAchmofY3m/EcJBQOZbTRKKJeBKKEoIePvpFRJ1VzmciUccyCa+C81cerBkuuB7sGTE/zt+yhN7AnAqxsAvBn06n8CkyPwMZKwm+UAAAAASUVORK5CYII=",flashImage1:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUAAAA3kvI3lfY2k/VAl+43k/U3k/Q4k/M3kvI3k/M4k/Q4lPU2lPU2k/Vdq843k/WWSpNKAAAAD3RSTlMAwD+QINCAcPBgUDDgoBAE044kAAAAdklEQVQ4y2OgOrD/DwffUSTkERIfyZXAtOMbca7iVoKDDSgSbAijJqBI8J2HiX9FM2s+TOITmgQrTEIATYIJJuEA5mJ68S+Gg/0hEi0YEoxQK2gs0WyPQyKBGYeEAhPtJRaw45AIccXpwVEJekuwQyQWMFAfAACeDBJY9aXa3QAAAABJRU5ErkJggg==",autoDecodeCharSet:!1,autoZoom:!0,localizationTemplate:{en:{fail:"Recognition failure","flash.on":"Tap to turn light on","flash.off":"Tap to turn light off"},zh:{fail:"\u8BC6\u522B\u5931\u8D25","flash.on":"\u8F7B\u89E6\u7167\u4EAE","flash.off":"\u8F7B\u89E6\u5173\u95ED"}}},onLoad(){let e=this.data,a=e.scanType;this.autoDecodeCharSet=e.autoDecodeCharSet,this.autoZoom=e.autoZoom;let s=[];Array.isArray(a)&&a.length&&a.forEach(o=>{let l=A[o];l&&(s=s.concat(l))}),s.length||(s=s.concat(A.qrCode).concat(A.barCode).concat(A.datamatrix).concat(A.pdf417)),this.filters=s,this.onMessage(o=>{this.gallery()})},onUnload(){this.cancel()},onReady(){setTimeout(()=>{this.cancel(),this.start()},50)},methods:{start(){this.$refs.barcode.start({sound:this.data.sound})},scan(e){t.scan(e,(a,s,o,l)=>{this.scanSuccess(a,s,o,l)},()=>{plus.nativeUI.toast(this.localize("fail"))},this.filters,this.autoDecodeCharSet)},cancel(){this.$refs.barcode.cancel()},gallery(){plus.gallery.pick(e=>{this.scan(e)},e=>{e.code!==(weex.config.env.platform.toLowerCase()==="android"?12:-2)&&plus.nativeUI.toast(this.localize("fail"))},{multiple:!1,system:!1,filename:"_doc/uniapp_temp/gallery/",permissionAlert:!0})},onmarked(e){var a=e.detail;this.scanSuccess(a.code,a.message,a.file,a.charSet)},scanSuccess(e,a,s,o){this.postMessage({event:"marked",detail:{scanType:O[e],result:a,charSet:o||"utf8",path:s||""}})},onerror(e){this.postMessage({event:"fail",message:JSON.stringify(e)})},setFlash(){this.enabledFlash=!this.enabledFlash,this.$refs.barcode.setFlash(this.enabledFlash)}}};function I(e,a,s,o,l,n){return(0,i.openBlock)(),(0,i.createElementBlock)("scroll-view",{scrollY:!0,showScrollbar:!0,enableBackToTop:!0,bubble:"true",style:{flexDirection:"column"}},[(0,i.createElementVNode)("view",{class:"content"},[(0,i.createElementVNode)("barcode",{class:"barcode",ref:"barcode",autostart:"false",backgroud:e.backgroud,frameColor:e.frameColor,scanbarColor:e.scanbarColor,filters:e.filters,autoDecodeCharset:e.autoDecodeCharSet,autoZoom:e.autoZoom,onMarked:a[0]||(a[0]=(...r)=>n.onmarked&&n.onmarked(...r)),onError:a[1]||(a[1]=(...r)=>n.onerror&&n.onerror(...r))},null,40,["backgroud","frameColor","scanbarColor","filters","autoDecodeCharset","autoZoom"]),(0,i.createElementVNode)("view",{class:"set-flash",onClick:a[2]||(a[2]=(...r)=>n.setFlash&&n.setFlash(...r))},[(0,i.createElementVNode)("u-image",{class:"image-flash",src:e.enabledFlash?e.flashImage1:e.flashImage0,resize:"stretch"},null,8,["src"]),(0,i.createElementVNode)("u-text",{class:"image-flash-text"},(0,i.toDisplayString)(e.enabledFlash?e.localize("flash.off"):e.localize("flash.on")),1)])])])}var h=C(M,[["render",I],["styles",[k]]]);var u=plus.webview.currentWebview();if(u){let e=parseInt(u.id),a="template/__uniappscan",s={};try{s=JSON.parse(u.__query__)}catch(l){}h.mpType="page";let o=Vue.createPageApp(h,{$store:getApp({allowDefault:!0}).$store,__pageId:e,__pagePath:a,__pageQuery:s});o.provide("__globalStyles",Vue.useCssStyles([...__uniConfig.styles,...h.styles||[]])),o.mount("#root")}})(); diff --git a/unpackage/dist/dev/app-plus/__uniappsuccess.png b/unpackage/dist/dev/app-plus/__uniappsuccess.png deleted file mode 100644 index c1f5bd7..0000000 Binary files a/unpackage/dist/dev/app-plus/__uniappsuccess.png and /dev/null differ diff --git a/unpackage/dist/dev/app-plus/__uniappview.html b/unpackage/dist/dev/app-plus/__uniappview.html deleted file mode 100644 index 7751e72..0000000 --- a/unpackage/dist/dev/app-plus/__uniappview.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - View - - - - - - -
- - - - - - diff --git a/unpackage/dist/dev/app-plus/app-config-service.js b/unpackage/dist/dev/app-plus/app-config-service.js deleted file mode 100644 index ffe85a5..0000000 --- a/unpackage/dist/dev/app-plus/app-config-service.js +++ /dev/null @@ -1,11 +0,0 @@ - - ;(function(){ - let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[]; - const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"WorkCameraf","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"4.75","entryPagePath":"pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}}; - const __uniRoutes = [{"path":"pages/index/index","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"titleText":"","style":"custom","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute)); - __uniConfig.styles=[];//styles - __uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); - __uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); - service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:16})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:u,window:u,document:u,frames:u,self:u,location:u,navigator:u,localStorage:u,history:u,Caches:u,screen:u,alert:u,confirm:u,prompt:u,fetch:u,XMLHttpRequest:u,WebSocket:u,webkit:u,print:u}}}}); - })(); - \ No newline at end of file diff --git a/unpackage/dist/dev/app-plus/app-config.js b/unpackage/dist/dev/app-plus/app-config.js deleted file mode 100644 index c5168cc..0000000 --- a/unpackage/dist/dev/app-plus/app-config.js +++ /dev/null @@ -1 +0,0 @@ -(function(){})(); \ No newline at end of file diff --git a/unpackage/dist/dev/app-plus/app-service.js b/unpackage/dist/dev/app-plus/app-service.js deleted file mode 100644 index e7273af..0000000 --- a/unpackage/dist/dev/app-plus/app-service.js +++ /dev/null @@ -1,2827 +0,0 @@ -if (typeof Promise !== "undefined" && !Promise.prototype.finally) { - Promise.prototype.finally = function(callback) { - const promise = this.constructor; - return this.then( - (value) => promise.resolve(callback()).then(() => value), - (reason) => promise.resolve(callback()).then(() => { - throw reason; - }) - ); - }; -} -; -if (typeof uni !== "undefined" && uni && uni.requireGlobal) { - const global = uni.requireGlobal(); - ArrayBuffer = global.ArrayBuffer; - Int8Array = global.Int8Array; - Uint8Array = global.Uint8Array; - Uint8ClampedArray = global.Uint8ClampedArray; - Int16Array = global.Int16Array; - Uint16Array = global.Uint16Array; - Int32Array = global.Int32Array; - Uint32Array = global.Uint32Array; - Float32Array = global.Float32Array; - Float64Array = global.Float64Array; - BigInt64Array = global.BigInt64Array; - BigUint64Array = global.BigUint64Array; -} -; -if (uni.restoreGlobal) { - uni.restoreGlobal(Vue, weex, plus, setTimeout, clearTimeout, setInterval, clearInterval); -} -(function(vue) { - "use strict"; - const ON_LOAD = "onLoad"; - function formatAppLog(type, filename, ...args) { - if (uni.__log__) { - uni.__log__(type, filename, ...args); - } else { - console[type].apply(console, [...args, filename]); - } - } - function resolveEasycom(component, easycom) { - return typeof component === "string" ? easycom : component; - } - const createLifeCycleHook = (lifecycle, flag = 0) => (hook, target = vue.getCurrentInstance()) => { - !vue.isInSSRComponentSetup && vue.injectHook(lifecycle, hook, target); - }; - const onLoad = /* @__PURE__ */ createLifeCycleHook( - ON_LOAD, - 2 - /* HookFlags.PAGE */ - ); - const fontData = [ - { - "font_class": "arrow-down", - "unicode": "" - }, - { - "font_class": "arrow-left", - "unicode": "" - }, - { - "font_class": "arrow-right", - "unicode": "" - }, - { - "font_class": "arrow-up", - "unicode": "" - }, - { - "font_class": "auth", - "unicode": "" - }, - { - "font_class": "auth-filled", - "unicode": "" - }, - { - "font_class": "back", - "unicode": "" - }, - { - "font_class": "bars", - "unicode": "" - }, - { - "font_class": "calendar", - "unicode": "" - }, - { - "font_class": "calendar-filled", - "unicode": "" - }, - { - "font_class": "camera", - "unicode": "" - }, - { - "font_class": "camera-filled", - "unicode": "" - }, - { - "font_class": "cart", - "unicode": "" - }, - { - "font_class": "cart-filled", - "unicode": "" - }, - { - "font_class": "chat", - "unicode": "" - }, - { - "font_class": "chat-filled", - "unicode": "" - }, - { - "font_class": "chatboxes", - "unicode": "" - }, - { - "font_class": "chatboxes-filled", - "unicode": "" - }, - { - "font_class": "chatbubble", - "unicode": "" - }, - { - "font_class": "chatbubble-filled", - "unicode": "" - }, - { - "font_class": "checkbox", - "unicode": "" - }, - { - "font_class": "checkbox-filled", - "unicode": "" - }, - { - "font_class": "checkmarkempty", - "unicode": "" - }, - { - "font_class": "circle", - "unicode": "" - }, - { - "font_class": "circle-filled", - "unicode": "" - }, - { - "font_class": "clear", - "unicode": "" - }, - { - "font_class": "close", - "unicode": "" - }, - { - "font_class": "closeempty", - "unicode": "" - }, - { - "font_class": "cloud-download", - "unicode": "" - }, - { - "font_class": "cloud-download-filled", - "unicode": "" - }, - { - "font_class": "cloud-upload", - "unicode": "" - }, - { - "font_class": "cloud-upload-filled", - "unicode": "" - }, - { - "font_class": "color", - "unicode": "" - }, - { - "font_class": "color-filled", - "unicode": "" - }, - { - "font_class": "compose", - "unicode": "" - }, - { - "font_class": "contact", - "unicode": "" - }, - { - "font_class": "contact-filled", - "unicode": "" - }, - { - "font_class": "down", - "unicode": "" - }, - { - "font_class": "bottom", - "unicode": "" - }, - { - "font_class": "download", - "unicode": "" - }, - { - "font_class": "download-filled", - "unicode": "" - }, - { - "font_class": "email", - "unicode": "" - }, - { - "font_class": "email-filled", - "unicode": "" - }, - { - "font_class": "eye", - "unicode": "" - }, - { - "font_class": "eye-filled", - "unicode": "" - }, - { - "font_class": "eye-slash", - "unicode": "" - }, - { - "font_class": "eye-slash-filled", - "unicode": "" - }, - { - "font_class": "fire", - "unicode": "" - }, - { - "font_class": "fire-filled", - "unicode": "" - }, - { - "font_class": "flag", - "unicode": "" - }, - { - "font_class": "flag-filled", - "unicode": "" - }, - { - "font_class": "folder-add", - "unicode": "" - }, - { - "font_class": "folder-add-filled", - "unicode": "" - }, - { - "font_class": "font", - "unicode": "" - }, - { - "font_class": "forward", - "unicode": "" - }, - { - "font_class": "gear", - "unicode": "" - }, - { - "font_class": "gear-filled", - "unicode": "" - }, - { - "font_class": "gift", - "unicode": "" - }, - { - "font_class": "gift-filled", - "unicode": "" - }, - { - "font_class": "hand-down", - "unicode": "" - }, - { - "font_class": "hand-down-filled", - "unicode": "" - }, - { - "font_class": "hand-up", - "unicode": "" - }, - { - "font_class": "hand-up-filled", - "unicode": "" - }, - { - "font_class": "headphones", - "unicode": "" - }, - { - "font_class": "heart", - "unicode": "" - }, - { - "font_class": "heart-filled", - "unicode": "" - }, - { - "font_class": "help", - "unicode": "" - }, - { - "font_class": "help-filled", - "unicode": "" - }, - { - "font_class": "home", - "unicode": "" - }, - { - "font_class": "home-filled", - "unicode": "" - }, - { - "font_class": "image", - "unicode": "" - }, - { - "font_class": "image-filled", - "unicode": "" - }, - { - "font_class": "images", - "unicode": "" - }, - { - "font_class": "images-filled", - "unicode": "" - }, - { - "font_class": "info", - "unicode": "" - }, - { - "font_class": "info-filled", - "unicode": "" - }, - { - "font_class": "left", - "unicode": "" - }, - { - "font_class": "link", - "unicode": "" - }, - { - "font_class": "list", - "unicode": "" - }, - { - "font_class": "location", - "unicode": "" - }, - { - "font_class": "location-filled", - "unicode": "" - }, - { - "font_class": "locked", - "unicode": "" - }, - { - "font_class": "locked-filled", - "unicode": "" - }, - { - "font_class": "loop", - "unicode": "" - }, - { - "font_class": "mail-open", - "unicode": "" - }, - { - "font_class": "mail-open-filled", - "unicode": "" - }, - { - "font_class": "map", - "unicode": "" - }, - { - "font_class": "map-filled", - "unicode": "" - }, - { - "font_class": "map-pin", - "unicode": "" - }, - { - "font_class": "map-pin-ellipse", - "unicode": "" - }, - { - "font_class": "medal", - "unicode": "" - }, - { - "font_class": "medal-filled", - "unicode": "" - }, - { - "font_class": "mic", - "unicode": "" - }, - { - "font_class": "mic-filled", - "unicode": "" - }, - { - "font_class": "micoff", - "unicode": "" - }, - { - "font_class": "micoff-filled", - "unicode": "" - }, - { - "font_class": "minus", - "unicode": "" - }, - { - "font_class": "minus-filled", - "unicode": "" - }, - { - "font_class": "more", - "unicode": "" - }, - { - "font_class": "more-filled", - "unicode": "" - }, - { - "font_class": "navigate", - "unicode": "" - }, - { - "font_class": "navigate-filled", - "unicode": "" - }, - { - "font_class": "notification", - "unicode": "" - }, - { - "font_class": "notification-filled", - "unicode": "" - }, - { - "font_class": "paperclip", - "unicode": "" - }, - { - "font_class": "paperplane", - "unicode": "" - }, - { - "font_class": "paperplane-filled", - "unicode": "" - }, - { - "font_class": "person", - "unicode": "" - }, - { - "font_class": "person-filled", - "unicode": "" - }, - { - "font_class": "personadd", - "unicode": "" - }, - { - "font_class": "personadd-filled", - "unicode": "" - }, - { - "font_class": "personadd-filled-copy", - "unicode": "" - }, - { - "font_class": "phone", - "unicode": "" - }, - { - "font_class": "phone-filled", - "unicode": "" - }, - { - "font_class": "plus", - "unicode": "" - }, - { - "font_class": "plus-filled", - "unicode": "" - }, - { - "font_class": "plusempty", - "unicode": "" - }, - { - "font_class": "pulldown", - "unicode": "" - }, - { - "font_class": "pyq", - "unicode": "" - }, - { - "font_class": "qq", - "unicode": "" - }, - { - "font_class": "redo", - "unicode": "" - }, - { - "font_class": "redo-filled", - "unicode": "" - }, - { - "font_class": "refresh", - "unicode": "" - }, - { - "font_class": "refresh-filled", - "unicode": "" - }, - { - "font_class": "refreshempty", - "unicode": "" - }, - { - "font_class": "reload", - "unicode": "" - }, - { - "font_class": "right", - "unicode": "" - }, - { - "font_class": "scan", - "unicode": "" - }, - { - "font_class": "search", - "unicode": "" - }, - { - "font_class": "settings", - "unicode": "" - }, - { - "font_class": "settings-filled", - "unicode": "" - }, - { - "font_class": "shop", - "unicode": "" - }, - { - "font_class": "shop-filled", - "unicode": "" - }, - { - "font_class": "smallcircle", - "unicode": "" - }, - { - "font_class": "smallcircle-filled", - "unicode": "" - }, - { - "font_class": "sound", - "unicode": "" - }, - { - "font_class": "sound-filled", - "unicode": "" - }, - { - "font_class": "spinner-cycle", - "unicode": "" - }, - { - "font_class": "staff", - "unicode": "" - }, - { - "font_class": "staff-filled", - "unicode": "" - }, - { - "font_class": "star", - "unicode": "" - }, - { - "font_class": "star-filled", - "unicode": "" - }, - { - "font_class": "starhalf", - "unicode": "" - }, - { - "font_class": "trash", - "unicode": "" - }, - { - "font_class": "trash-filled", - "unicode": "" - }, - { - "font_class": "tune", - "unicode": "" - }, - { - "font_class": "tune-filled", - "unicode": "" - }, - { - "font_class": "undo", - "unicode": "" - }, - { - "font_class": "undo-filled", - "unicode": "" - }, - { - "font_class": "up", - "unicode": "" - }, - { - "font_class": "top", - "unicode": "" - }, - { - "font_class": "upload", - "unicode": "" - }, - { - "font_class": "upload-filled", - "unicode": "" - }, - { - "font_class": "videocam", - "unicode": "" - }, - { - "font_class": "videocam-filled", - "unicode": "" - }, - { - "font_class": "vip", - "unicode": "" - }, - { - "font_class": "vip-filled", - "unicode": "" - }, - { - "font_class": "wallet", - "unicode": "" - }, - { - "font_class": "wallet-filled", - "unicode": "" - }, - { - "font_class": "weibo", - "unicode": "" - }, - { - "font_class": "weixin", - "unicode": "" - } - ]; - const _export_sfc = (sfc, props) => { - const target = sfc.__vccOpts || sfc; - for (const [key, val] of props) { - target[key] = val; - } - return target; - }; - const getVal = (val) => { - const reg = /^[0-9]*$/g; - return typeof val === "number" || reg.test(val) ? val + "px" : val; - }; - const _sfc_main$5 = { - name: "UniIcons", - emits: ["click"], - props: { - type: { - type: String, - default: "" - }, - color: { - type: String, - default: "#333333" - }, - size: { - type: [Number, String], - default: 16 - }, - customPrefix: { - type: String, - default: "" - }, - fontFamily: { - type: String, - default: "" - } - }, - data() { - return { - icons: fontData - }; - }, - computed: { - unicode() { - let code = this.icons.find((v) => v.font_class === this.type); - if (code) { - return code.unicode; - } - return ""; - }, - iconSize() { - return getVal(this.size); - }, - styleObj() { - if (this.fontFamily !== "") { - return `color: ${this.color}; font-size: ${this.iconSize}; font-family: ${this.fontFamily};`; - } - return `color: ${this.color}; font-size: ${this.iconSize};`; - } - }, - methods: { - _onClick(e) { - this.$emit("click", e); - } - } - }; - function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) { - return vue.openBlock(), vue.createElementBlock( - "text", - { - style: vue.normalizeStyle($options.styleObj), - class: vue.normalizeClass(["uni-icons", ["uniui-" + $props.type, $props.customPrefix, $props.customPrefix ? $props.type : ""]]), - onClick: _cache[0] || (_cache[0] = (...args) => $options._onClick && $options._onClick(...args)) - }, - [ - vue.renderSlot(_ctx.$slots, "default", {}, void 0, true) - ], - 6 - /* CLASS, STYLE */ - ); - } - const __easycom_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$4], ["__scopeId", "data-v-d31e1c47"], ["__file", "D:/代码/uniapp/WorkCameraf/uni_modules/uni-icons/components/uni-icons/uni-icons.vue"]]); - const _sfc_main$4 = { - name: "uniCombox", - emits: ["input", "update:modelValue", "select"], - props: { - clearAble: { - type: Boolean, - default: false - }, - border: { - type: Boolean, - default: true - }, - label: { - type: String, - default: "" - }, - labelWidth: { - type: String, - default: "auto" - }, - placeholder: { - type: String, - default: "" - }, - candidates: { - type: Array, - default() { - return []; - } - }, - emptyTips: { - type: String, - default: "无匹配项" - }, - modelValue: { - type: [String, Number], - default: "" - } - }, - data() { - return { - showSelector: false, - inputVal: "" - }; - }, - computed: { - labelStyle() { - if (this.labelWidth === "auto") { - return ""; - } - return `width: ${this.labelWidth}`; - }, - filterCandidates() { - return this.candidates.filter((item) => { - return item.toString().indexOf(this.inputVal) > -1; - }); - }, - filterCandidatesLength() { - return this.filterCandidates.length; - } - }, - watch: { - modelValue: { - handler(newVal) { - this.inputVal = newVal; - }, - immediate: true - } - }, - methods: { - toggleSelector() { - this.showSelector = !this.showSelector; - }, - onFocus() { - this.showSelector = true; - }, - onBlur() { - setTimeout(() => { - this.showSelector = false; - }, 153); - }, - onSelectorClick(index) { - this.inputVal = this.filterCandidates[index]; - this.showSelector = false; - this.$emit("input", this.inputVal); - this.$emit("select", this.inputVal); - this.$emit("update:modelValue", this.inputVal); - }, - onInput() { - setTimeout(() => { - this.$emit("input", this.inputVal); - this.$emit("update:modelValue", this.inputVal); - }); - }, - clean() { - this.inputVal = ""; - this.onInput(); - } - } - }; - function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) { - const _component_uni_icons = resolveEasycom(vue.resolveDynamicComponent("uni-icons"), __easycom_0$2); - return vue.openBlock(), vue.createElementBlock( - "view", - { - class: vue.normalizeClass(["uni-combox", $props.border ? "" : "uni-combox__no-border"]) - }, - [ - $props.label ? (vue.openBlock(), vue.createElementBlock( - "view", - { - key: 0, - class: "uni-combox__label", - style: vue.normalizeStyle($options.labelStyle) - }, - [ - vue.createElementVNode( - "text", - null, - vue.toDisplayString($props.label), - 1 - /* TEXT */ - ) - ], - 4 - /* STYLE */ - )) : vue.createCommentVNode("v-if", true), - vue.createElementVNode("view", { class: "uni-combox__input-box" }, [ - vue.withDirectives(vue.createElementVNode("input", { - class: "uni-combox__input", - type: "text", - placeholder: $props.placeholder, - "placeholder-class": "uni-combox__input-plac", - "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.inputVal = $event), - onInput: _cache[1] || (_cache[1] = (...args) => $options.onInput && $options.onInput(...args)), - onFocus: _cache[2] || (_cache[2] = (...args) => $options.onFocus && $options.onFocus(...args)), - onBlur: _cache[3] || (_cache[3] = (...args) => $options.onBlur && $options.onBlur(...args)) - }, null, 40, ["placeholder"]), [ - [vue.vModelText, $data.inputVal] - ]), - !$data.inputVal || !$props.clearAble ? (vue.openBlock(), vue.createBlock(_component_uni_icons, { - key: 0, - type: $data.showSelector ? "top" : "bottom", - size: "14", - color: "#999", - onClick: $options.toggleSelector - }, null, 8, ["type", "onClick"])) : vue.createCommentVNode("v-if", true), - $data.inputVal && $props.clearAble ? (vue.openBlock(), vue.createBlock(_component_uni_icons, { - key: 1, - type: "clear", - size: "24", - color: "#999", - onClick: $options.clean - }, null, 8, ["onClick"])) : vue.createCommentVNode("v-if", true) - ]), - $data.showSelector && $options.filterCandidatesLength > 0 ? (vue.openBlock(), vue.createElementBlock("view", { - key: 1, - class: "uni-combox__selector" - }, [ - vue.createElementVNode("view", { class: "uni-popper__arrow" }), - vue.createElementVNode("scroll-view", { - "scroll-y": "true", - class: "uni-combox__selector-scroll" - }, [ - $options.filterCandidatesLength === 0 ? (vue.openBlock(), vue.createElementBlock("view", { - key: 0, - class: "uni-combox__selector-empty" - }, [ - vue.createElementVNode( - "text", - null, - vue.toDisplayString($props.emptyTips), - 1 - /* TEXT */ - ) - ])) : vue.createCommentVNode("v-if", true), - (vue.openBlock(true), vue.createElementBlock( - vue.Fragment, - null, - vue.renderList($options.filterCandidates, (item, index) => { - return vue.openBlock(), vue.createElementBlock("view", { - class: "uni-combox__selector-item", - key: index, - onClick: ($event) => $options.onSelectorClick(index) - }, [ - vue.createElementVNode( - "text", - null, - vue.toDisplayString(item), - 1 - /* TEXT */ - ) - ], 8, ["onClick"]); - }), - 128 - /* KEYED_FRAGMENT */ - )) - ]) - ])) : vue.createCommentVNode("v-if", true) - ], - 2 - /* CLASS */ - ); - } - const __easycom_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$3], ["__scopeId", "data-v-e602780e"], ["__file", "D:/代码/uniapp/WorkCameraf/uni_modules/uni-combox/components/uni-combox/uni-combox.vue"]]); - class MPAnimation { - constructor(options, _this) { - this.options = options; - this.animation = uni.createAnimation({ - ...options - }); - this.currentStepAnimates = {}; - this.next = 0; - this.$ = _this; - } - _nvuePushAnimates(type, args) { - let aniObj = this.currentStepAnimates[this.next]; - let styles = {}; - if (!aniObj) { - styles = { - styles: {}, - config: {} - }; - } else { - styles = aniObj; - } - if (animateTypes1.includes(type)) { - if (!styles.styles.transform) { - styles.styles.transform = ""; - } - let unit = ""; - if (type === "rotate") { - unit = "deg"; - } - styles.styles.transform += `${type}(${args + unit}) `; - } else { - styles.styles[type] = `${args}`; - } - this.currentStepAnimates[this.next] = styles; - } - _animateRun(styles = {}, config = {}) { - let ref = this.$.$refs["ani"].ref; - if (!ref) - return; - return new Promise((resolve, reject) => { - nvueAnimation.transition(ref, { - styles, - ...config - }, (res) => { - resolve(); - }); - }); - } - _nvueNextAnimate(animates, step = 0, fn) { - let obj = animates[step]; - if (obj) { - let { - styles, - config - } = obj; - this._animateRun(styles, config).then(() => { - step += 1; - this._nvueNextAnimate(animates, step, fn); - }); - } else { - this.currentStepAnimates = {}; - typeof fn === "function" && fn(); - this.isEnd = true; - } - } - step(config = {}) { - this.animation.step(config); - return this; - } - run(fn) { - this.$.animationData = this.animation.export(); - this.$.timer = setTimeout(() => { - typeof fn === "function" && fn(); - }, this.$.durationTime); - } - } - const animateTypes1 = [ - "matrix", - "matrix3d", - "rotate", - "rotate3d", - "rotateX", - "rotateY", - "rotateZ", - "scale", - "scale3d", - "scaleX", - "scaleY", - "scaleZ", - "skew", - "skewX", - "skewY", - "translate", - "translate3d", - "translateX", - "translateY", - "translateZ" - ]; - const animateTypes2 = ["opacity", "backgroundColor"]; - const animateTypes3 = ["width", "height", "left", "right", "top", "bottom"]; - animateTypes1.concat(animateTypes2, animateTypes3).forEach((type) => { - MPAnimation.prototype[type] = function(...args) { - this.animation[type](...args); - return this; - }; - }); - function createAnimation(option, _this) { - if (!_this) - return; - clearTimeout(_this.timer); - return new MPAnimation(option, _this); - } - const _sfc_main$3 = { - name: "uniTransition", - emits: ["click", "change"], - props: { - show: { - type: Boolean, - default: false - }, - modeClass: { - type: [Array, String], - default() { - return "fade"; - } - }, - duration: { - type: Number, - default: 300 - }, - styles: { - type: Object, - default() { - return {}; - } - }, - customClass: { - type: String, - default: "" - }, - onceRender: { - type: Boolean, - default: false - } - }, - data() { - return { - isShow: false, - transform: "", - opacity: 0, - animationData: {}, - durationTime: 300, - config: {} - }; - }, - watch: { - show: { - handler(newVal) { - if (newVal) { - this.open(); - } else { - if (this.isShow) { - this.close(); - } - } - }, - immediate: true - } - }, - computed: { - // 生成样式数据 - stylesObject() { - let styles = { - ...this.styles, - "transition-duration": this.duration / 1e3 + "s" - }; - let transform = ""; - for (let i in styles) { - let line = this.toLine(i); - transform += line + ":" + styles[i] + ";"; - } - return transform; - }, - // 初始化动画条件 - transformStyles() { - return "transform:" + this.transform + ";opacity:" + this.opacity + ";" + this.stylesObject; - } - }, - created() { - this.config = { - duration: this.duration, - timingFunction: "ease", - transformOrigin: "50% 50%", - delay: 0 - }; - this.durationTime = this.duration; - }, - methods: { - /** - * ref 触发 初始化动画 - */ - init(obj = {}) { - if (obj.duration) { - this.durationTime = obj.duration; - } - this.animation = createAnimation(Object.assign(this.config, obj), this); - }, - /** - * 点击组件触发回调 - */ - onClick() { - this.$emit("click", { - detail: this.isShow - }); - }, - /** - * ref 触发 动画分组 - * @param {Object} obj - */ - step(obj, config = {}) { - if (!this.animation) - return this; - Object.keys(obj).forEach((key) => { - const value = obj[key]; - if (typeof this.animation[key] === "function") { - Array.isArray(value) ? this.animation[key](...value) : this.animation[key](value); - } - }); - this.animation.step(config); - return this; - }, - /** - * ref 触发 执行动画 - */ - run(fn) { - if (!this.animation) - return; - this.animation.run(fn); - }, - // 开始过度动画 - open() { - clearTimeout(this.timer); - this.isShow = true; - this.transform = this.styleInit(false).transform || ""; - this.opacity = this.styleInit(false).opacity || 0; - this.$nextTick(() => { - this.timer = setTimeout(() => { - this.animation = createAnimation(this.config, this); - this.tranfromInit(false).step(); - this.animation.run(() => { - this.transform = ""; - this.opacity = this.styleInit(false).opacity || 1; - this.$emit("change", { - detail: this.isShow - }); - }); - }, 80); - }); - }, - // 关闭过度动画 - close(type) { - if (!this.animation) - return; - this.tranfromInit(true).step().run(() => { - this.isShow = false; - this.animationData = null; - this.animation = null; - let { opacity, transform } = this.styleInit(false); - this.opacity = opacity || 1; - this.transform = transform; - this.$emit("change", { - detail: this.isShow - }); - }); - }, - // 处理动画开始前的默认样式 - styleInit(type) { - let styles = { transform: "", opacity: 1 }; - const buildStyle = (type2, mode) => { - const value = this.animationType(type2)[mode]; - if (mode.startsWith("fade")) { - styles.opacity = value; - } else { - styles.transform += value + " "; - } - }; - if (typeof this.modeClass === "string") { - buildStyle(type, this.modeClass); - } else { - this.modeClass.forEach((mode) => buildStyle(type, mode)); - } - return styles; - }, - // 处理内置组合动画 - tranfromInit(type) { - let buildTranfrom = (type2, mode) => { - let aniNum = null; - if (mode === "fade") { - aniNum = type2 ? 0 : 1; - } else { - aniNum = type2 ? "-100%" : "0"; - if (mode === "zoom-in") { - aniNum = type2 ? 0.8 : 1; - } - if (mode === "zoom-out") { - aniNum = type2 ? 1.2 : 1; - } - if (mode === "slide-right") { - aniNum = type2 ? "100%" : "0"; - } - if (mode === "slide-bottom") { - aniNum = type2 ? "100%" : "0"; - } - } - this.animation[this.animationMode()[mode]](aniNum); - }; - if (typeof this.modeClass === "string") { - buildTranfrom(type, this.modeClass); - } else { - this.modeClass.forEach((mode) => { - buildTranfrom(type, mode); - }); - } - return this.animation; - }, - animationType(type) { - return { - fade: type ? 1 : 0, - "slide-top": `translateY(${type ? "0" : "-100%"})`, - "slide-right": `translateX(${type ? "0" : "100%"})`, - "slide-bottom": `translateY(${type ? "0" : "100%"})`, - "slide-left": `translateX(${type ? "0" : "-100%"})`, - "zoom-in": `scaleX(${type ? 1 : 0.8}) scaleY(${type ? 1 : 0.8})`, - "zoom-out": `scaleX(${type ? 1 : 1.2}) scaleY(${type ? 1 : 1.2})` - }; - }, - // 内置动画类型与实际动画对应字典 - animationMode() { - return { - fade: "opacity", - "slide-top": "translateY", - "slide-right": "translateX", - "slide-bottom": "translateY", - "slide-left": "translateX", - "zoom-in": "scale", - "zoom-out": "scale" - }; - }, - // 驼峰转中横线 - toLine(name) { - return name.replace(/([A-Z])/g, "-$1").toLowerCase(); - } - } - }; - function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) { - return vue.withDirectives((vue.openBlock(), vue.createElementBlock("view", { - ref: "ani", - animation: $data.animationData, - class: vue.normalizeClass($props.customClass), - style: vue.normalizeStyle($options.transformStyles), - onClick: _cache[0] || (_cache[0] = (...args) => $options.onClick && $options.onClick(...args)) - }, [ - vue.renderSlot(_ctx.$slots, "default") - ], 14, ["animation"])), [ - [vue.vShow, $data.isShow] - ]); - } - const __easycom_0 = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$2], ["__file", "D:/代码/uniapp/WorkCameraf/uni_modules/uni-transition/components/uni-transition/uni-transition.vue"]]); - const _sfc_main$2 = { - name: "uniPopup", - components: {}, - emits: ["change", "maskClick"], - props: { - // 开启动画 - animation: { - type: Boolean, - default: true - }, - // 弹出层类型,可选值,top: 顶部弹出层;bottom:底部弹出层;center:全屏弹出层 - // message: 消息提示 ; dialog : 对话框 - type: { - type: String, - default: "center" - }, - // maskClick - isMaskClick: { - type: Boolean, - default: null - }, - // TODO 2 个版本后废弃属性 ,使用 isMaskClick - maskClick: { - type: Boolean, - default: null - }, - backgroundColor: { - type: String, - default: "none" - }, - safeArea: { - type: Boolean, - default: true - }, - maskBackgroundColor: { - type: String, - default: "rgba(0, 0, 0, 0.4)" - }, - borderRadius: { - type: String - } - }, - watch: { - /** - * 监听type类型 - */ - type: { - handler: function(type) { - if (!this.config[type]) - return; - this[this.config[type]](true); - }, - immediate: true - }, - isDesktop: { - handler: function(newVal) { - if (!this.config[newVal]) - return; - this[this.config[this.type]](true); - }, - immediate: true - }, - /** - * 监听遮罩是否可点击 - * @param {Object} val - */ - maskClick: { - handler: function(val) { - this.mkclick = val; - }, - immediate: true - }, - isMaskClick: { - handler: function(val) { - this.mkclick = val; - }, - immediate: true - }, - // H5 下禁止底部滚动 - showPopup(show) { - } - }, - data() { - return { - duration: 300, - ani: [], - showPopup: false, - showTrans: false, - popupWidth: 0, - popupHeight: 0, - config: { - top: "top", - bottom: "bottom", - center: "center", - left: "left", - right: "right", - message: "top", - dialog: "center", - share: "bottom" - }, - maskClass: { - position: "fixed", - bottom: 0, - top: 0, - left: 0, - right: 0, - backgroundColor: "rgba(0, 0, 0, 0.4)" - }, - transClass: { - backgroundColor: "transparent", - borderRadius: this.borderRadius || "0", - position: "fixed", - left: 0, - right: 0 - }, - maskShow: true, - mkclick: true, - popupstyle: "top" - }; - }, - computed: { - getStyles() { - let res = { backgroundColor: this.bg }; - if (this.borderRadius || "0") { - res = Object.assign(res, { borderRadius: this.borderRadius }); - } - return res; - }, - isDesktop() { - return this.popupWidth >= 500 && this.popupHeight >= 500; - }, - bg() { - if (this.backgroundColor === "" || this.backgroundColor === "none") { - return "transparent"; - } - return this.backgroundColor; - } - }, - mounted() { - const fixSize = () => { - const { - windowWidth, - windowHeight, - windowTop, - safeArea, - screenHeight, - safeAreaInsets - } = uni.getSystemInfoSync(); - this.popupWidth = windowWidth; - this.popupHeight = windowHeight + (windowTop || 0); - if (safeArea && this.safeArea) { - this.safeAreaInsets = safeAreaInsets.bottom; - } else { - this.safeAreaInsets = 0; - } - }; - fixSize(); - }, - // TODO vue3 - unmounted() { - this.setH5Visible(); - }, - activated() { - this.setH5Visible(!this.showPopup); - }, - deactivated() { - this.setH5Visible(true); - }, - created() { - if (this.isMaskClick === null && this.maskClick === null) { - this.mkclick = true; - } else { - this.mkclick = this.isMaskClick !== null ? this.isMaskClick : this.maskClick; - } - if (this.animation) { - this.duration = 300; - } else { - this.duration = 0; - } - this.messageChild = null; - this.clearPropagation = false; - this.maskClass.backgroundColor = this.maskBackgroundColor; - }, - methods: { - setH5Visible(visible = true) { - }, - /** - * 公用方法,不显示遮罩层 - */ - closeMask() { - this.maskShow = false; - }, - /** - * 公用方法,遮罩层禁止点击 - */ - disableMask() { - this.mkclick = false; - }, - // TODO nvue 取消冒泡 - clear(e) { - e.stopPropagation(); - this.clearPropagation = true; - }, - open(direction) { - if (this.showPopup) { - return; - } - let innerType = ["top", "center", "bottom", "left", "right", "message", "dialog", "share"]; - if (!(direction && innerType.indexOf(direction) !== -1)) { - direction = this.type; - } - if (!this.config[direction]) { - formatAppLog("error", "at uni_modules/uni-popup/components/uni-popup/uni-popup.vue:310", "缺少类型:", direction); - return; - } - this[this.config[direction]](); - this.$emit("change", { - show: true, - type: direction - }); - }, - close(type) { - this.showTrans = false; - this.$emit("change", { - show: false, - type: this.type - }); - clearTimeout(this.timer); - this.timer = setTimeout(() => { - this.showPopup = false; - }, 300); - }, - // TODO 处理冒泡事件,头条的冒泡事件有问题 ,先这样兼容 - touchstart() { - this.clearPropagation = false; - }, - onTap() { - if (this.clearPropagation) { - this.clearPropagation = false; - return; - } - this.$emit("maskClick"); - if (!this.mkclick) - return; - this.close(); - }, - /** - * 顶部弹出样式处理 - */ - top(type) { - this.popupstyle = this.isDesktop ? "fixforpc-top" : "top"; - this.ani = ["slide-top"]; - this.transClass = { - position: "fixed", - left: 0, - right: 0, - backgroundColor: this.bg, - borderRadius: this.borderRadius || "0" - }; - if (type) - return; - this.showPopup = true; - this.showTrans = true; - this.$nextTick(() => { - this.showPoptrans(); - if (this.messageChild && this.type === "message") { - this.messageChild.timerClose(); - } - }); - }, - /** - * 底部弹出样式处理 - */ - bottom(type) { - this.popupstyle = "bottom"; - this.ani = ["slide-bottom"]; - this.transClass = { - position: "fixed", - left: 0, - right: 0, - bottom: 0, - paddingBottom: this.safeAreaInsets + "px", - backgroundColor: this.bg, - borderRadius: this.borderRadius || "0" - }; - if (type) - return; - this.showPoptrans(); - }, - /** - * 中间弹出样式处理 - */ - center(type) { - this.popupstyle = "center"; - this.ani = ["zoom-out", "fade"]; - this.transClass = { - position: "fixed", - display: "flex", - flexDirection: "column", - bottom: 0, - left: 0, - right: 0, - top: 0, - justifyContent: "center", - alignItems: "center", - borderRadius: this.borderRadius || "0" - }; - if (type) - return; - this.showPoptrans(); - }, - left(type) { - this.popupstyle = "left"; - this.ani = ["slide-left"]; - this.transClass = { - position: "fixed", - left: 0, - bottom: 0, - top: 0, - backgroundColor: this.bg, - borderRadius: this.borderRadius || "0", - display: "flex", - flexDirection: "column" - }; - if (type) - return; - this.showPoptrans(); - }, - right(type) { - this.popupstyle = "right"; - this.ani = ["slide-right"]; - this.transClass = { - position: "fixed", - bottom: 0, - right: 0, - top: 0, - backgroundColor: this.bg, - borderRadius: this.borderRadius || "0", - display: "flex", - flexDirection: "column" - }; - if (type) - return; - this.showPoptrans(); - }, - showPoptrans() { - this.$nextTick(() => { - this.showPopup = true; - this.showTrans = true; - }); - } - } - }; - function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) { - const _component_uni_transition = resolveEasycom(vue.resolveDynamicComponent("uni-transition"), __easycom_0); - return $data.showPopup ? (vue.openBlock(), vue.createElementBlock( - "view", - { - key: 0, - class: vue.normalizeClass(["uni-popup", [$data.popupstyle, $options.isDesktop ? "fixforpc-z-index" : ""]]) - }, - [ - vue.createElementVNode( - "view", - { - onTouchstart: _cache[1] || (_cache[1] = (...args) => $options.touchstart && $options.touchstart(...args)) - }, - [ - $data.maskShow ? (vue.openBlock(), vue.createBlock(_component_uni_transition, { - key: "1", - name: "mask", - "mode-class": "fade", - styles: $data.maskClass, - duration: $data.duration, - show: $data.showTrans, - onClick: $options.onTap - }, null, 8, ["styles", "duration", "show", "onClick"])) : vue.createCommentVNode("v-if", true), - vue.createVNode(_component_uni_transition, { - key: "2", - "mode-class": $data.ani, - name: "content", - styles: $data.transClass, - duration: $data.duration, - show: $data.showTrans, - onClick: $options.onTap - }, { - default: vue.withCtx(() => [ - vue.createElementVNode( - "view", - { - class: vue.normalizeClass(["uni-popup__wrapper", [$data.popupstyle]]), - style: vue.normalizeStyle($options.getStyles), - onClick: _cache[0] || (_cache[0] = (...args) => $options.clear && $options.clear(...args)) - }, - [ - vue.renderSlot(_ctx.$slots, "default", {}, void 0, true) - ], - 6 - /* CLASS, STYLE */ - ) - ]), - _: 3 - /* FORWARDED */ - }, 8, ["mode-class", "styles", "duration", "show", "onClick"]) - ], - 32 - /* NEED_HYDRATION */ - ) - ], - 2 - /* CLASS */ - )) : vue.createCommentVNode("v-if", true); - } - const __easycom_1 = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$1], ["__scopeId", "data-v-4dd3c44b"], ["__file", "D:/代码/uniapp/WorkCameraf/uni_modules/uni-popup/components/uni-popup/uni-popup.vue"]]); - const getLocation = async () => { - return new Promise((resolve, reject) => { - uni.getLocation({ - isHighAccuracy: true, - altitude: true, - accuracy: "best", - success: (res) => { - resolve(res); - }, - fail: (err) => { - reject(err); - } - }); - }); - }; - const chooseImage = async () => { - return new Promise((resolve, reject) => { - uni.chooseImage({ - count: 1, - success: (res) => { - resolve(res); - }, - fail: (err) => { - reject(err); - } - }); - }); - }; - const formatDate = (date, format = "YYYY-MM-DD HH:mm:ss") => { - const year = date.getFullYear(); - const month = String(date.getMonth() + 1).padStart(2, "0"); - const day = String(date.getDate()).padStart(2, "0"); - const hours = String(date.getHours()).padStart(2, "0"); - const minutes = String(date.getMinutes()).padStart(2, "0"); - const seconds = String(date.getSeconds()).padStart(2, "0"); - return format.replace("YYYY", year).replace("MM", month).replace("DD", day).replace("HH", hours).replace("mm", minutes).replace("ss", seconds); - }; - const logoCache = /* @__PURE__ */ new Map(); - const getCachedLogo = async (logoUrl) => { - if (logoCache.has(logoUrl)) { - formatAppLog("log", "at common/utils.js:70", "使用缓存的logo:", logoUrl); - return logoCache.get(logoUrl); - } - return new Promise((resolve, reject) => { - uni.downloadFile({ - url: logoUrl, - success: (downloadRes) => { - if (downloadRes.statusCode === 200) { - formatAppLog("log", "at common/utils.js:102", "下载并缓存logo:", logoUrl); - logoCache.set(logoUrl, downloadRes.tempFilePath); - resolve(downloadRes.tempFilePath); - } else { - reject(new Error("下载失败: " + downloadRes.statusCode)); - } - }, - fail: (err) => { - formatAppLog("error", "at common/utils.js:110", "下载logo失败:", err); - reject(err); - } - }); - }); - }; - const handleWatermarkExport = async (tempFilePath, originalFileSize, width, height, resolve) => { - try { - const watermarkFileSize = await getFileSize(tempFilePath); - formatAppLog("log", "at common/utils.js:145", "水印图片文件大小:", watermarkFileSize.sizeKB, "KB"); - resolve({ - filePath: tempFilePath, - originalSize: { - width, - height, - fileSize: originalFileSize - }, - watermarkSize: { - width, - height, - fileSize: watermarkFileSize - } - }); - } catch (err) { - formatAppLog("error", "at common/utils.js:160", "获取水印图片文件大小失败:", err); - resolve({ - filePath: tempFilePath, - originalSize: { - width, - height, - fileSize: originalFileSize - }, - watermarkSize: { - width, - height, - fileSize: null - } - }); - } - }; - const calculateQuality = (originalSizeKB) => { - if (!originalSizeKB || originalSizeKB <= 0) { - return 0.8; - } - if (originalSizeKB < 100) { - return 0.9; - } else if (originalSizeKB < 500) { - return 0.8; - } else { - return 0.7; - } - }; - const calculateOutputSize = (width, height, maxWidth = 1920) => { - if (width <= maxWidth) { - return { - width, - height - }; - } - const ratio = maxWidth / width; - return { - width: Math.round(width * ratio), - height: Math.round(height * ratio) - }; - }; - const getFileSize = async (filePath) => { - return new Promise((resolve, reject) => { - uni.getFileInfo({ - filePath, - success: (res) => { - resolve({ - size: res.size, - sizeKB: (res.size / 1024).toFixed(2), - sizeMB: (res.size / (1024 * 1024)).toFixed(2) - }); - }, - fail: (err) => { - formatAppLog("error", "at common/utils.js:304", "获取文件大小失败:", err); - reject(err); - } - }); - }); - }; - const addWatermark = async (imagePath, watermarkInfo, logoUrl = null, logoOpacity = 1, quality = null, maxWidth = 1920) => { - return new Promise(async (resolve, reject) => { - try { - const originalFileSize = await getFileSize(imagePath); - formatAppLog("log", "at common/utils.js:603", "原图文件大小:", originalFileSize.sizeKB, "KB"); - const compressionQuality = quality !== null ? quality : calculateQuality(originalFileSize.sizeKB); - formatAppLog("log", "at common/utils.js:607", "使用压缩质量:", compressionQuality); - uni.getImageInfo({ - src: imagePath, - success: (imageInfo) => { - const { width, height } = imageInfo; - formatAppLog("log", "at common/utils.js:614", "原图尺寸:", width, "x", height); - const outputSize = calculateOutputSize(width, height, maxWidth); - formatAppLog("log", "at common/utils.js:618", "输出尺寸:", outputSize.width, "x", outputSize.height); - const canvas = uni.createCanvasContext("watermarkCanvas"); - canvas.clearRect(0, 0, outputSize.width, outputSize.height); - canvas.drawImage(imagePath, 0, 0, outputSize.width, outputSize.height); - const processText = (text, maxChars = 25, maxLines = 3) => { - if (text.length <= maxChars) { - return [text]; - } - const lines = []; - let currentLine = ""; - let lineCount = 0; - for (let i = 0; i < text.length && lineCount < maxLines; i++) { - currentLine += text[i]; - if (currentLine.length >= maxChars || i === text.length - 1) { - lines.push(currentLine); - lineCount++; - currentLine = ""; - if (lineCount === maxLines && i < text.length - 1) { - lines[lines.length - 1] = lines[lines.length - 1].slice(0, -3) + "..."; - break; - } - } - } - return lines; - }; - const watermarkText = [ - `时间: ${watermarkInfo.time}`, - `经度: ${watermarkInfo.longitude}`, - `维度: ${watermarkInfo.latitude}` - ]; - var location = processText("位置: " + watermarkInfo.location); - watermarkText.push(...location); - var department = processText("部门: " + watermarkInfo.department); - watermarkText.push(...department); - var status = processText("状态: " + watermarkInfo.status); - watermarkText.push(...status); - var workers = processText("人员: " + watermarkInfo.workers.join(", ")); - watermarkText.push(...workers); - var remarks = processText("内容: " + watermarkInfo.remarks); - watermarkText.push(...remarks); - const drawTextWatermark = () => { - const padding = 30; - const fontSize = 40; - const lineHeight = 50; - const startX = padding; - const startY = outputSize.height - padding - watermarkText.length * lineHeight; - canvas.setFillStyle("rgba(255, 255, 255, 1)"); - canvas.setFontSize(fontSize); - canvas.setTextBaseline("top"); - watermarkText.forEach((text, index) => { - canvas.fillText(text, startX, startY + index * lineHeight); - }); - if (logoUrl) { - getCachedLogo(logoUrl).then((cachedLogoPath) => { - const logoSize = 200; - const logoPadding = 30; - const logoX = logoPadding; - const logoY = startY - logoSize - 10; - canvas.setGlobalAlpha(logoOpacity); - canvas.drawImage(cachedLogoPath, logoX, logoY, logoSize, logoSize); - canvas.setGlobalAlpha(1); - canvas.draw(true, () => { - formatAppLog("log", "at common/utils.js:717", "Canvas绘制完成(包含logo)"); - setTimeout(() => { - uni.canvasToTempFilePath({ - canvasId: "watermarkCanvas", - width: outputSize.width, - height: outputSize.height, - fileType: "jpg", - // 使用jpg格式,文件更小 - quality: compressionQuality, - // 使用动态计算的压缩质量 - success: (res) => { - formatAppLog("log", "at common/utils.js:728", "导出成功:", res.tempFilePath); - formatAppLog("log", "at common/utils.js:729", "水印图片尺寸:", outputSize.width, "x", outputSize.height); - handleWatermarkExport(res.tempFilePath, originalFileSize, outputSize.width, outputSize.height, resolve); - }, - fail: (err) => { - formatAppLog("error", "at common/utils.js:733", "导出图片失败:", err); - reject(err); - } - }); - }, 100); - }); - }).catch((err) => { - formatAppLog("error", "at common/utils.js:740", "获取logo失败:", err); - canvas.draw(true, () => { - formatAppLog("log", "at common/utils.js:743", "Canvas绘制完成(logo获取失败)"); - setTimeout(() => { - uni.canvasToTempFilePath({ - canvasId: "watermarkCanvas", - width: outputSize.width, - height: outputSize.height, - fileType: "jpg", - // 使用jpg格式,文件更小 - quality: compressionQuality, - // 使用动态计算的压缩质量 - success: (res) => { - formatAppLog("log", "at common/utils.js:754", "导出成功:", res.tempFilePath); - formatAppLog("log", "at common/utils.js:755", "水印图片尺寸:", outputSize.width, "x", outputSize.height); - handleWatermarkExport(res.tempFilePath, originalFileSize, outputSize.width, outputSize.height, resolve); - }, - fail: (err2) => { - formatAppLog("error", "at common/utils.js:759", "导出图片失败:", err2); - reject(err2); - } - }); - }, 100); - }); - }); - } else { - canvas.draw(true, () => { - formatAppLog("log", "at common/utils.js:769", "Canvas绘制完成(无logo)"); - setTimeout(() => { - uni.canvasToTempFilePath({ - canvasId: "watermarkCanvas", - width: outputSize.width, - height: outputSize.height, - fileType: "jpg", - // 使用jpg格式,文件更小 - quality: compressionQuality, - // 使用动态计算的压缩质量 - success: (res) => { - formatAppLog("log", "at common/utils.js:780", "导出成功:", res.tempFilePath); - formatAppLog("log", "at common/utils.js:781", "水印图片尺寸:", outputSize.width, "x", outputSize.height); - handleWatermarkExport(res.tempFilePath, originalFileSize, outputSize.width, outputSize.height, resolve); - }, - fail: (err) => { - formatAppLog("error", "at common/utils.js:785", "导出图片失败:", err); - reject(err); - } - }); - }, 100); - }); - } - }; - drawTextWatermark(); - }, - fail: (err) => { - formatAppLog("error", "at common/utils.js:798", "获取图片信息失败:", err); - reject(err); - } - }); - } catch (error) { - formatAppLog("error", "at common/utils.js:803", "处理图片失败:", error); - reject(error); - } - }); - }; - const saveImageToPhotosAlbum = (image) => { - return new Promise((resolve, reject) => { - uni.saveImageToPhotosAlbum({ - filePath: image, - success: () => { - formatAppLog("log", "at common/utils.js:839", "图片保存到相册成功"); - resolve(true); - }, - fail: (err) => { - formatAppLog("error", "at common/utils.js:843", "保存到相册失败:", err); - if (err.errMsg && err.errMsg.includes("auth deny")) { - uni.showModal({ - title: "提示", - content: "需要您授权保存图片到相册,请在设置中开启相册权限", - showCancel: false, - confirmText: "知道了" - }); - } - resolve(false); - } - }); - }); - }; - const imageToBase64 = (filePath) => { - return new Promise((resolve, reject) => { - plus.io.resolveLocalFileSystemURL(filePath, (entry) => { - entry.file((file) => { - const reader = new plus.io.FileReader(); - reader.onloadend = (e) => { - resolve(e.target.result); - }; - reader.readAsDataURL(file); - }, reject); - }, reject); - }); - }; - async function request(url, data, method) { - return new Promise((resolve, reject) => { - uni.request({ - url, - data, - method, - success: function(res) { - resolve(res.data); - } - }); - }); - } - async function get(url, data) { - return request(url, data, "GET"); - } - async function post(url, data) { - return request(url, data, "POST"); - } - var base_url = "https://wc.zpc-xy.com/"; - const getBaseUrl = () => { - return base_url; - }; - const getConfig = async () => { - var url = base_url + "config"; - const res = await get(url, {}); - return res.data; - }; - const addWatermarkRecord = async (data) => { - var url = base_url + "addworkrecord"; - formatAppLog("log", "at common/server.js:23", url, data); - const res = await post(url, data); - return res; - }; - const TENGXUN_BASE = getBaseUrl() + "webapi"; - const getLocationTranslate = async (locations) => { - formatAppLog("log", "at common/mapTranslateResult.js:15", TENGXUN_BASE); - const url = `${TENGXUN_BASE}/GetLocationTranslate?locations=${locations}&type=1`; - const res = await get(url, {}); - if (res.code == 200) { - return res.data; - } - return ""; - }; - const getLocationGeocoder = async (locations) => { - const url = `${TENGXUN_BASE}/GetLocationGeocoder?location=${locations}`; - const res = await get(url, {}); - return res.data; - }; - const _imports_0 = "/static/logo.jpg"; - const _sfc_main$1 = { - __name: "index", - setup(__props, { expose: __expose }) { - __expose(); - const title = vue.ref("水印相机"); - const candidates = vue.ref([]); - const workContent = vue.ref(""); - const popup = vue.ref(null); - const locations = vue.ref({ - location: { - lat: null, - lng: null - }, - translate: { - lat: null, - lng: null, - locationInfo: null - } - }); - const imageSrc = vue.ref(""); - const originalImageSrc = vue.ref(""); - const imageSizeInfo = vue.ref({ - original: { - width: 0, - height: 0, - fileSize: null - }, - watermark: { - width: 0, - height: 0, - fileSize: null - } - }); - const departments = vue.ref(["请选择"]); - const deptIndex = vue.ref(0); - const workers = vue.ref([""]); - const statusList = vue.ref([]); - const statusIndex = vue.ref(0); - const locationInfo = vue.ref(""); - const currentTime = vue.ref(""); - const isSubmitting = vue.ref(false); - let logo = ""; - const handleStartCapture = async () => { - uni.showLoading({ - title: "加载中。。。" - }); - try { - const locationData2 = await getLocation(); - formatAppLog("log", "at pages/index/index.vue:198", "系统坐标", locationData2); - const location = locationData2.latitude + "," + locationData2.longitude; - formatAppLog("log", "at pages/index/index.vue:201", "经纬度", location); - const translate = await getLocationTranslate(location); - formatAppLog("log", "at pages/index/index.vue:204", "转换后", translate); - const t_location = translate.lat + "," + translate.lng; - const geocoderResult = await getLocationGeocoder(t_location); - formatAppLog("log", "at pages/index/index.vue:208", "地理编码结果", geocoderResult); - locations.value.location.lat = locationData2.latitude; - locations.value.location.lng = locationData2.longitude; - locations.value.translate.lat = translate.lat; - locations.value.translate.lng = translate.lng; - locations.value.translate.locationInfo = geocoderResult || "未知位置"; - locationInfo.value = geocoderResult || "未知位置"; - currentTime.value = /* @__PURE__ */ new Date(); - const image = await chooseImage(); - formatAppLog("log", "at pages/index/index.vue:221", "图片", image); - originalImageSrc.value = image.tempFilePaths[0]; - imageSrc.value = image.tempFilePaths[0]; - await addWatermarkToImage(); - uni.hideLoading(); - popup.value.open(); - } catch (error) { - formatAppLog("log", "at pages/index/index.vue:229", "错误", error); - uni.hideLoading(); - } - }; - const handlePreviewImage = () => { - uni.previewImage({ - urls: [imageSrc.value] - }); - }; - const handleComboxSelect = async (value) => { - formatAppLog("log", "at pages/index/index.vue:243", "选择的工作内容:", value); - if (locationData[value] != null) { - var tempData = locationData[value]; - if (tempData.dept && departments.value.includes(tempData.dept)) { - deptIndex.value = departments.value.indexOf(tempData.dept); - } - if (tempData.status && statusList.value.includes(tempData.status)) { - statusIndex.value = statusList.value.indexOf(tempData.status); - } - if (tempData.workers && Array.isArray(tempData.workers)) { - workers.value.splice(0, workers.value.length); - workers.value.push(...tempData.workers); - } - await addWatermarkToImage(value); - formatAppLog("log", "at pages/index/index.vue:263", "加载的历史数据:", tempData); - } - }; - const handleDeptChange = (e) => { - deptIndex.value = e.detail.value; - }; - const handleStatusChange = (e) => { - statusIndex.value = e.detail.value; - }; - const addWorker = () => { - workers.value.push(""); - }; - const removeWorker = (index) => { - if (workers.value.length > 1) { - workers.value.splice(index, 1); - } - }; - const addWatermarkToImage = async (work = "") => { - try { - const watermarkInfo = { - time: formatDate(currentTime.value), - location: locationInfo.value, - longitude: locations.value.translate.lng, - latitude: locations.value.translate.lat, - department: departments.value[deptIndex.value], - workers: workers.value.filter((worker) => worker.trim() !== ""), - status: statusList.value[statusIndex.value], - remarks: workContent.value - }; - if (workContent.value == "" && work != "") { - watermarkInfo.remarks = work; - } - formatAppLog("log", "at pages/index/index.vue:303", "水印信息:", watermarkInfo); - formatAppLog("log", "at pages/index/index.vue:304", "原图路径:", originalImageSrc.value); - const watermarkResult = await addWatermark( - originalImageSrc.value, - watermarkInfo, - logo, - 1 - ); - formatAppLog("log", "at pages/index/index.vue:313", "水印结果:", watermarkResult); - imageSrc.value = watermarkResult.filePath; - imageSizeInfo.value = { - original: watermarkResult.originalSize, - watermark: watermarkResult.watermarkSize - }; - } catch (error) { - formatAppLog("error", "at pages/index/index.vue:320", "添加水印失败:", error); - uni.showToast({ - title: "添加水印失败", - icon: "error" - }); - } - }; - const handleRetakePhoto = () => { - popup.value.close(); - resetFormData(); - }; - const handleSaveImage = async () => { - if (isSubmitting.value) { - return; - } - if (!validateFormData(false)) { - return; - } - isSubmitting.value = true; - try { - uni.showLoading({ - title: "保存中..." - }); - await addWatermarkToImage(); - if (imageSrc.value) { - await saveImageToPhotosAlbum(imageSrc.value); - } - uni.hideLoading(); - uni.showToast({ - title: "图片保存成功", - icon: "success" - }); - } catch (error) { - formatAppLog("error", "at pages/index/index.vue:367", "保存图片失败:", error); - uni.hideLoading(); - uni.showToast({ - title: "保存图片失败", - icon: "error" - }); - } finally { - setTimeout(() => { - isSubmitting.value = false; - }, 1e3); - } - }; - const handleRetakeCancel = async () => { - workers.value.splice(0, workers.value.length); - workers.value.push(""); - statusIndex.value = 0; - deptIndex.value = 0; - workContent.value = ""; - loadCandidates(); - await addWatermarkToImage(); - }; - var locationData = {}; - const handleSaveAndSubmit = async () => { - if (isSubmitting.value) { - return; - } - if (!validateFormData(true)) { - return; - } - isSubmitting.value = true; - try { - uni.showLoading({ - title: "保存中..." - }); - await addWatermarkToImage(); - var saveData = { - workContent: workContent.value, - workers: workers.value.filter((worker) => worker.trim() !== ""), - status: statusList.value[statusIndex.value], - dept: departments.value[deptIndex.value], - date: (/* @__PURE__ */ new Date()).toISOString() - // 使用ISO格式确保时间格式一致 - }; - formatAppLog("log", "at pages/index/index.vue:419", saveData); - locationData[workContent.value] = saveData; - uni.setStorageSync("locationData", locationData); - var fromData = { - locations: locations.value, - workContent: workContent.value, - workers: workers.value, - status: statusList.value[statusIndex.value], - dept: departments.value[deptIndex.value] - }; - var _remarks = JSON.stringify(locations.value); - var imageBase64 = await imageToBase64(imageSrc.value); - formatAppLog("log", "at pages/index/index.vue:431", fromData); - const camRecordWorkDto = { - // 部门名称 - DeptName: departments.value[deptIndex.value], - // 图片地址 - Image: imageBase64, - // 工作记录时间 - RecordTime: formatDate(currentTime.value), - // 经度 - Longitude: locations.value.translate.lng, - // 纬度 - Latitude: locations.value.translate.lat, - // 工作地点 - Address: locationInfo.value, - // 工作内容 - Content: workContent.value, - // 状态 - StatusName: statusList.value[statusIndex.value], - // 备注 - Remarks: _remarks, - // 工作人员列表 - Workers: workers.value - }; - var res = await addWatermarkRecord(camRecordWorkDto); - formatAppLog("log", "at pages/index/index.vue:456", res); - if (res.code != 200) { - uni.hideLoading(); - uni.showToast({ - title: res.msg, - icon: "error" - }); - return; - } - if (imageSrc.value) { - await saveImageToPhotosAlbum(imageSrc.value); - } - uni.hideLoading(); - uni.showToast({ - title: "保存成功", - icon: "success" - }); - handleRetakePhoto(); - } catch (error) { - formatAppLog("error", "at pages/index/index.vue:478", "保存失败:", error); - uni.hideLoading(); - uni.showToast({ - title: "保存失败", - icon: "error" - }); - } finally { - setTimeout(() => { - isSubmitting.value = false; - }, 1e3); - } - }; - const validateFormData = (isSubmit = false) => { - if (!locationInfo.value || locationInfo.value.trim() === "") { - uni.showToast({ - title: "位置信息不能为空", - icon: "error" - }); - return false; - } - if (isSubmit) { - if (!workContent.value || workContent.value.trim() === "") { - uni.showToast({ - title: "请填写工作内容", - icon: "error" - }); - return false; - } - if (deptIndex.value === 0) { - uni.showToast({ - title: "请选择部门", - icon: "error" - }); - return false; - } - const validWorkers = workers.value.filter((worker) => worker.trim() !== ""); - if (validWorkers.length === 0) { - uni.showToast({ - title: "请填写施工人员", - icon: "error" - }); - return false; - } - if (statusIndex.value === 0) { - uni.showToast({ - title: "请选择项目状态", - icon: "error" - }); - return false; - } - } - return true; - }; - const resetFormData = () => { - imageSrc.value = ""; - originalImageSrc.value = ""; - locationInfo.value = ""; - currentTime.value = ""; - imageSizeInfo.value = { - original: { - width: 0, - height: 0, - fileSize: null - }, - watermark: { - width: 0, - height: 0, - fileSize: null - } - }; - workers.value.splice(0, workers.value.length); - workers.value.push(""); - statusIndex.value = 0; - deptIndex.value = 0; - workContent.value = ""; - loadCandidates(); - }; - const loadCandidates = () => { - candidates.value.splice(0, candidates.value.length); - const sortedEntries = Object.entries(locationData).filter(([key, data]) => data && data.date).sort((a, b) => { - const dateA = new Date(a[1].date); - const dateB = new Date(b[1].date); - return dateB - dateA; - }); - sortedEntries.forEach(([key, data]) => { - formatAppLog("log", "at pages/index/index.vue:583", `工作内容: ${key}, 时间: ${data.date}`); - candidates.value.push(key); - }); - }; - onLoad(async () => { - uni.showLoading({ - title: "loading..." - }); - try { - const config = await getConfig(); - formatAppLog("log", "at pages/index/index.vue:595", "配置", config); - logo = config.logo; - departments.value.push(...config.deptList); - statusList.value.push(...config.construction); - await getCachedLogo(logo); - var _locationData = uni.getStorageSync("locationData"); - if (_locationData != null) { - locationData = _locationData; - loadCandidates(); - } - } catch (error) { - formatAppLog("error", "at pages/index/index.vue:610", "初始化失败:", error); - } finally { - uni.hideLoading(); - } - }); - const __returned__ = { title, candidates, workContent, popup, locations, imageSrc, originalImageSrc, imageSizeInfo, departments, deptIndex, workers, statusList, statusIndex, locationInfo, currentTime, isSubmitting, get logo() { - return logo; - }, set logo(v) { - logo = v; - }, handleStartCapture, handlePreviewImage, handleComboxSelect, handleDeptChange, handleStatusChange, addWorker, removeWorker, addWatermarkToImage, handleRetakePhoto, handleSaveImage, handleRetakeCancel, get locationData() { - return locationData; - }, set locationData(v) { - locationData = v; - }, handleSaveAndSubmit, validateFormData, resetFormData, loadCandidates, ref: vue.ref, get getLocation() { - return getLocation; - }, get chooseImage() { - return chooseImage; - }, get addWatermark() { - return addWatermark; - }, get formatDate() { - return formatDate; - }, get getCachedLogo() { - return getCachedLogo; - }, get saveImageToPhotosAlbum() { - return saveImageToPhotosAlbum; - }, get imageToBase64() { - return imageToBase64; - }, get getLocationTranslate() { - return getLocationTranslate; - }, get getLocationGeocoder() { - return getLocationGeocoder; - }, get getConfig() { - return getConfig; - }, get addWatermarkRecord() { - return addWatermarkRecord; - }, get onLoad() { - return onLoad; - } }; - Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true }); - return __returned__; - } - }; - function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { - const _component_uni_combox = resolveEasycom(vue.resolveDynamicComponent("uni-combox"), __easycom_0$1); - const _component_uni_popup = resolveEasycom(vue.resolveDynamicComponent("uni-popup"), __easycom_1); - return vue.openBlock(), vue.createElementBlock("view", null, [ - vue.createCommentVNode(" 主页面内容 "), - vue.createElementVNode("view", null, [ - vue.createElementVNode("image", { - class: "logo", - src: _imports_0 - }), - vue.createElementVNode( - "text", - { class: "title" }, - vue.toDisplayString($setup.title), - 1 - /* TEXT */ - ), - vue.createElementVNode("view", { class: "btn-view" }, [ - vue.createElementVNode("button", { - type: "primary", - class: "btn", - onClick: $setup.handleStartCapture - }, " 开始拍摄 ") - ]) - ]), - vue.createCommentVNode(" 隐藏的canvas用于水印处理(仅App/小程序端使用) "), - vue.createElementVNode("canvas", { - "canvas-id": "watermarkCanvas", - style: { "position": "fixed", "top": "-9999px", "left": "-9999px", "width": "2000px", "height": "2000px" } - }), - vue.createCommentVNode(" 弹窗内容 "), - vue.createVNode( - _component_uni_popup, - { - ref: "popup", - "is-mask-click": false, - type: "bottom", - "border-radius": "0 0 0 0" - }, - { - default: vue.withCtx(() => [ - vue.createElementVNode("view", { class: "container" }, [ - vue.createElementVNode("view", { style: { "height": "80rpx" } }), - vue.createCommentVNode(" 图片预览区域 "), - vue.createElementVNode("view", { class: "preview-box" }, [ - vue.createElementVNode("text", { class: "preview-title" }, "图片预览"), - vue.createElementVNode("view", { class: "preview-img" }, [ - vue.createElementVNode("image", { - src: $setup.imageSrc, - onClick: $setup.handlePreviewImage, - mode: "aspectFit", - class: "img" - }, null, 8, ["src"]) - ]), - vue.createCommentVNode(" 图片尺寸和文件大小信息 "), - $setup.imageSizeInfo.original.width > 0 && false ? (vue.openBlock(), vue.createElementBlock("view", { - key: 0, - class: "size-info" - }, [ - vue.createElementVNode( - "text", - { class: "size-text" }, - " 原图尺寸: " + vue.toDisplayString($setup.imageSizeInfo.original.width) + " x " + vue.toDisplayString($setup.imageSizeInfo.original.height), - 1 - /* TEXT */ - ), - $setup.imageSizeInfo.original.fileSize ? (vue.openBlock(), vue.createElementBlock( - "text", - { - key: 0, - class: "size-text" - }, - " 原图大小: " + vue.toDisplayString($setup.imageSizeInfo.original.fileSize.sizeKB) + " KB ", - 1 - /* TEXT */ - )) : vue.createCommentVNode("v-if", true), - vue.createElementVNode( - "text", - { class: "size-text" }, - " 水印图片尺寸: " + vue.toDisplayString($setup.imageSizeInfo.watermark.width) + " x " + vue.toDisplayString($setup.imageSizeInfo.watermark.height), - 1 - /* TEXT */ - ), - $setup.imageSizeInfo.watermark.fileSize ? (vue.openBlock(), vue.createElementBlock( - "text", - { - key: 1, - class: "size-text" - }, - " 水印图片大小: " + vue.toDisplayString($setup.imageSizeInfo.watermark.fileSize.sizeKB) + " KB ", - 1 - /* TEXT */ - )) : vue.createCommentVNode("v-if", true) - ])) : vue.createCommentVNode("v-if", true) - ]), - vue.createCommentVNode(" 表单区域 "), - vue.createElementVNode("view", { class: "form-item" }, [ - vue.createElementVNode("text", { class: "label" }, "位置:"), - vue.withDirectives(vue.createElementVNode( - "input", - { - "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $setup.locationInfo = $event), - type: "text", - class: "input worker-input" - }, - null, - 512 - /* NEED_PATCH */ - ), [ - [vue.vModelText, $setup.locationInfo] - ]) - ]), - vue.createCommentVNode(" 表单区域 "), - vue.createElementVNode("view", { class: "form-item" }, [ - vue.createElementVNode("text", { class: "label" }, "请填写工作内容:"), - vue.createVNode(_component_uni_combox, { - candidates: $setup.candidates, - "clear-able": true, - placeholder: "请填写工作内容", - onSelect: $setup.handleComboxSelect, - modelValue: $setup.workContent, - "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => $setup.workContent = $event) - }, null, 8, ["candidates", "modelValue"]) - ]), - vue.createElementVNode("view", { class: "form-item" }, [ - vue.createElementVNode("text", { class: "label" }, "请选择部门:"), - vue.createElementVNode("picker", { - range: $setup.departments, - onChange: $setup.handleDeptChange - }, [ - vue.createElementVNode( - "view", - { class: "picker" }, - vue.toDisplayString($setup.departments[$setup.deptIndex]), - 1 - /* TEXT */ - ) - ], 40, ["range"]) - ]), - vue.createElementVNode("view", { class: "form-item" }, [ - vue.createElementVNode("text", { class: "label" }, "请填写施工人员:"), - (vue.openBlock(true), vue.createElementBlock( - vue.Fragment, - null, - vue.renderList($setup.workers, (worker, index) => { - return vue.openBlock(), vue.createElementBlock("view", { - key: index, - class: "worker-row" - }, [ - vue.withDirectives(vue.createElementVNode("input", { - type: "text", - "onUpdate:modelValue": ($event) => $setup.workers[index] = $event, - class: "input worker-input" - }, null, 8, ["onUpdate:modelValue"]), [ - [vue.vModelText, $setup.workers[index]] - ]), - vue.createElementVNode("view", { class: "btns" }, [ - vue.createElementVNode("button", { - class: "btn_f", - size: "mini", - onClick: $setup.addWorker - }, "+"), - $setup.workers.length > 0 ? (vue.openBlock(), vue.createElementBlock("button", { - key: 0, - class: "btn_f", - size: "mini", - onClick: ($event) => $setup.removeWorker(index) - }, " - ", 8, ["onClick"])) : vue.createCommentVNode("v-if", true) - ]) - ]); - }), - 128 - /* KEYED_FRAGMENT */ - )) - ]), - vue.createElementVNode("view", { class: "form-item" }, [ - vue.createElementVNode("text", { class: "label" }, "请选择项目状态:"), - vue.createElementVNode("picker", { - range: $setup.statusList, - onChange: $setup.handleStatusChange - }, [ - vue.createElementVNode( - "view", - { class: "picker" }, - vue.toDisplayString($setup.statusList[$setup.statusIndex]), - 1 - /* TEXT */ - ) - ], 40, ["range"]) - ]), - vue.createCommentVNode(" 底部操作按钮 "), - vue.createElementVNode("view", { class: "footer" }, [ - vue.createElementVNode("button", { - type: "primary", - class: "btn-cancel", - onClick: $setup.handleRetakePhoto - }, " 重拍 "), - vue.createElementVNode("button", { - type: "primary", - class: "btn-cancel", - onClick: $setup.handleRetakeCancel - }, " 清空 "), - vue.createElementVNode("button", { - type: "primary", - class: "btn-save", - onClick: $setup.handleSaveImage, - disabled: $setup.isSubmitting - }, " 保存图片 ", 8, ["disabled"]), - vue.createElementVNode("button", { - type: "primary", - class: "btn-submit", - onClick: $setup.handleSaveAndSubmit, - disabled: $setup.isSubmitting - }, " 提交数据 ", 8, ["disabled"]) - ]) - ]) - ]), - _: 1 - /* STABLE */ - }, - 512 - /* NEED_PATCH */ - ) - ]); - } - const PagesIndexIndex = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__file", "D:/代码/uniapp/WorkCameraf/pages/index/index.vue"]]); - __definePage("pages/index/index", PagesIndexIndex); - const _sfc_main = { - onLaunch: function() { - formatAppLog("log", "at App.vue:4", "App Launch"); - }, - onShow: function() { - formatAppLog("log", "at App.vue:7", "App Show"); - }, - onHide: function() { - formatAppLog("log", "at App.vue:10", "App Hide"); - } - }; - const App = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "D:/代码/uniapp/WorkCameraf/App.vue"]]); - function createApp() { - const app = vue.createVueApp(App); - return { - app - }; - } - const { app: __app__, Vuex: __Vuex__, Pinia: __Pinia__ } = createApp(); - uni.Vuex = __Vuex__; - uni.Pinia = __Pinia__; - __app__.provide("__globalStyles", __uniConfig.styles); - __app__._component.mpType = "app"; - __app__._component.render = () => { - }; - __app__.mount("#app"); -})(Vue); diff --git a/unpackage/dist/dev/app-plus/app.css b/unpackage/dist/dev/app-plus/app.css deleted file mode 100644 index 091d80c..0000000 --- a/unpackage/dist/dev/app-plus/app.css +++ /dev/null @@ -1,4 +0,0 @@ -*{margin:0;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent}html,body{-webkit-user-select:none;user-select:none;width:100%}html{height:100%;height:100vh;width:100%;width:100vw}body{overflow-x:hidden;background-color:#fff;height:100%}#app{height:100%}input[type=search]::-webkit-search-cancel-button{display:none}.uni-loading,uni-button[loading]:before{background:transparent url(data:image/svg+xml;base64,\ PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat}.uni-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}@keyframes uni-loading{0%{transform:rotate3d(0,0,1,0)}to{transform:rotate3d(0,0,1,360deg)}}@media (prefers-color-scheme: dark){html{--UI-BG-COLOR-ACTIVE: #373737;--UI-BORDER-COLOR-1: #373737;--UI-BG: #000;--UI-BG-0: #191919;--UI-BG-1: #1f1f1f;--UI-BG-2: #232323;--UI-BG-3: #2f2f2f;--UI-BG-4: #606060;--UI-BG-5: #2c2c2c;--UI-FG: #fff;--UI-FG-0: hsla(0, 0%, 100%, .8);--UI-FG-HALF: hsla(0, 0%, 100%, .6);--UI-FG-1: hsla(0, 0%, 100%, .5);--UI-FG-2: hsla(0, 0%, 100%, .3);--UI-FG-3: hsla(0, 0%, 100%, .05)}body{background-color:var(--UI-BG-0);color:var(--UI-FG-0)}}[nvue] uni-view,[nvue] uni-label,[nvue] uni-swiper-item,[nvue] uni-scroll-view{display:flex;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}[nvue] uni-button{margin:0}[nvue-dir-row] uni-view,[nvue-dir-row] uni-label,[nvue-dir-row] uni-swiper-item{flex-direction:row}[nvue-dir-column] uni-view,[nvue-dir-column] uni-label,[nvue-dir-column] uni-swiper-item{flex-direction:column}[nvue-dir-row-reverse] uni-view,[nvue-dir-row-reverse] uni-label,[nvue-dir-row-reverse] uni-swiper-item{flex-direction:row-reverse}[nvue-dir-column-reverse] uni-view,[nvue-dir-column-reverse] uni-label,[nvue-dir-column-reverse] uni-swiper-item{flex-direction:column-reverse}[nvue] uni-view,[nvue] uni-image,[nvue] uni-input,[nvue] uni-scroll-view,[nvue] uni-swiper,[nvue] uni-swiper-item,[nvue] uni-text,[nvue] uni-textarea,[nvue] uni-video{position:relative;border:0px solid #000000;box-sizing:border-box}[nvue] uni-swiper-item{position:absolute}@keyframes once-show{0%{top:0}}uni-resize-sensor,uni-resize-sensor>div{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden}uni-resize-sensor{display:block;z-index:-1;visibility:hidden;animation:once-show 1ms}uni-resize-sensor>div>div{position:absolute;left:0;top:0}uni-resize-sensor>div:first-child>div{width:100000px;height:100000px}uni-resize-sensor>div:last-child>div{width:200%;height:200%}uni-text[selectable]{cursor:auto;-webkit-user-select:text;user-select:text}uni-text{white-space:pre-line}uni-view{display:block}uni-view[hidden]{display:none}uni-button{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;line-height:2.55555556;border-radius:5px;-webkit-tap-highlight-color:transparent;overflow:hidden;color:#000;background-color:#f8f8f8;cursor:pointer}uni-button[hidden]{display:none!important}uni-button:after{content:" ";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0,0,0,.2);transform:scale(.5);transform-origin:0 0;box-sizing:border-box;border-radius:10px}uni-button[native]{padding-left:0;padding-right:0}uni-button[native] .uni-button-cover-view-wrapper{border:inherit;border-color:inherit;border-radius:inherit;background-color:inherit}uni-button[native] .uni-button-cover-view-inner{padding-left:14px;padding-right:14px}uni-button uni-cover-view{line-height:inherit;white-space:inherit}uni-button[type=default]{color:#000;background-color:#f8f8f8}uni-button[type=primary]{color:#fff;background-color:#007aff}uni-button[type=warn]{color:#fff;background-color:#e64340}uni-button[disabled]{color:rgba(255,255,255,.6);cursor:not-allowed}uni-button[disabled][type=default],uni-button[disabled]:not([type]){color:rgba(0,0,0,.3);background-color:#f7f7f7}uni-button[disabled][type=primary]{background-color:rgba(0,122,255,.6)}uni-button[disabled][type=warn]{background-color:#ec8b89}uni-button[type=primary][plain]{color:#007aff;border:1px solid #007aff;background-color:transparent}uni-button[type=primary][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=primary][plain]:after{border-width:0}uni-button[type=default][plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[type=default][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=default][plain]:after{border-width:0}uni-button[plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[plain]:after{border-width:0}uni-button[plain][native] .uni-button-cover-view-inner{padding:0}uni-button[type=warn][plain]{color:#e64340;border:1px solid #e64340;background-color:transparent}uni-button[type=warn][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=warn][plain]:after{border-width:0}uni-button[size=mini]{display:inline-block;line-height:2.3;font-size:13px;padding:0 1.34em}uni-button[size=mini][native]{padding:0}uni-button[size=mini][native] .uni-button-cover-view-inner{padding:0 1.34em}uni-button[loading]:not([disabled]){cursor:progress}uni-button[loading]:before{content:" ";display:inline-block;width:18px;height:18px;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}uni-button[loading][type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}uni-button[loading][type=primary][plain]{color:#007aff;background-color:transparent}uni-button[loading][type=default]{color:rgba(0,0,0,.6);background-color:#dedede}uni-button[loading][type=default][plain]{color:#353535;background-color:transparent}uni-button[loading][type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}uni-button[loading][type=warn][plain]{color:#e64340;background-color:transparent}uni-button[loading][native]:before{content:none}.button-hover{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}.button-hover[type=primary][plain]{color:rgba(0,122,255,.6);border-color:rgba(0,122,255,.6);background-color:transparent}.button-hover[type=default]{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[type=default][plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}.button-hover[type=warn][plain]{color:rgba(230,67,64,.6);border-color:rgba(230,67,64,.6);background-color:transparent}@media (prefers-color-scheme: dark){uni-button,uni-button[type=default]{color:#d6d6d6;background-color:#343434}.button-hover,.button-hover[type=default]{color:#d6d6d6;background-color:rgba(255,255,255,.1)}uni-button[disabled][type=default],uni-button[disabled]:not([type]){color:rgba(255,255,255,.2);background-color:rgba(255,255,255,.08)}uni-button[type=primary][plain][disabled]{color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.2)}uni-button[type=default][plain]{color:#d6d6d6;border:1px solid #d6d6d6}.button-hover[type=default][plain]{color:rgba(150,150,150,.6);border-color:rgba(150,150,150,.6);background-color:rgba(50,50,50,.2)}uni-button[type=default][plain][disabled]{border-color:rgba(255,255,255,.2);color:rgba(255,255,255,.2)}}uni-canvas{width:300px;height:150px;display:block;position:relative}uni-canvas>.uni-canvas-canvas{position:absolute;top:0;left:0;width:100%;height:100%}uni-checkbox{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-checkbox[hidden]{display:none}uni-checkbox[disabled]{cursor:not-allowed}.uni-checkbox-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-checkbox-input{margin-right:5px;-webkit-appearance:none;appearance:none;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:22px;height:22px;position:relative}.uni-checkbox-input svg{color:#007aff;font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}@media (hover: hover){uni-checkbox:not([disabled]) .uni-checkbox-input:hover{border-color:var(--HOVER-BD-COLOR, #007aff)!important}}uni-checkbox-group{display:block}uni-checkbox-group[hidden]{display:none}uni-cover-image{display:block;line-height:1.2;overflow:hidden;height:100%;width:100%;pointer-events:auto}uni-cover-image[hidden]{display:none}uni-cover-image .uni-cover-image{width:100%;height:100%}uni-cover-view{display:block;line-height:1.2;overflow:hidden;white-space:nowrap;pointer-events:auto}uni-cover-view[hidden]{display:none}uni-cover-view .uni-cover-view{width:100%;height:100%;visibility:hidden;text-overflow:inherit;white-space:inherit;align-items:inherit;justify-content:inherit;flex-direction:inherit;flex-wrap:inherit;display:inherit;overflow:inherit}.ql-container{display:block;position:relative;box-sizing:border-box;-webkit-user-select:text;user-select:text;outline:none;overflow:hidden;width:100%;height:200px;min-height:200px}.ql-container[hidden]{display:none}.ql-container .ql-editor{position:relative;font-size:inherit;line-height:inherit;font-family:inherit;min-height:inherit;width:100%;height:100%;padding:0;overflow-x:hidden;overflow-y:auto;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-overflow-scrolling:touch}.ql-container .ql-editor::-webkit-scrollbar{width:0!important}.ql-container .ql-editor.scroll-disabled{overflow:hidden}.ql-container .ql-image-overlay{display:flex;position:absolute;box-sizing:border-box;border:1px dashed #ccc;justify-content:center;align-items:center;-webkit-user-select:none;user-select:none}.ql-container .ql-image-overlay .ql-image-size{position:absolute;padding:4px 8px;text-align:center;background-color:#fff;color:#888;border:1px solid #ccc;box-sizing:border-box;opacity:.8;right:4px;top:4px;font-size:12px;display:inline-block;width:auto}.ql-container .ql-image-overlay .ql-image-toolbar{position:relative;text-align:center;box-sizing:border-box;background:#000;border-radius:5px;color:#fff;font-size:0;min-height:24px;z-index:100}.ql-container .ql-image-overlay .ql-image-toolbar span{display:inline-block;cursor:pointer;padding:5px;font-size:12px;border-right:1px solid #fff}.ql-container .ql-image-overlay .ql-image-toolbar span:last-child{border-right:0}.ql-container .ql-image-overlay .ql-image-toolbar span.triangle-up{padding:0;position:absolute;top:-12px;left:50%;transform:translate(-50%);width:0;height:0;border-width:6px;border-style:solid;border-color:transparent transparent black transparent}.ql-container .ql-image-overlay .ql-image-handle{position:absolute;height:12px;width:12px;border-radius:50%;border:1px solid #ccc;box-sizing:border-box;background:#fff}.ql-container img{display:inline-block;max-width:100%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;height:100%;outline:none;overflow-y:auto;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"•"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"☑"}.ql-editor ul[data-checked=false]>li:before{content:"☐"}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em}.ql-editor li.ql-direction-rtl:before{margin-right:-1.5em}.ql-editor li:before{display:inline-block;white-space:nowrap;width:2em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:2em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:2em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:2em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:4em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:4em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:4em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:6em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:8em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:8em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:8em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:10em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:10em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:10em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:12em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:14em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:14em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:14em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:16em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:16em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:16em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:18em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right,.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;pointer-events:none;position:absolute}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}uni-icon{display:inline-block;font-size:0;box-sizing:border-box}uni-icon[hidden]{display:none}uni-image{width:320px;height:240px;display:inline-block;overflow:hidden;position:relative}uni-image[hidden]{display:none}uni-image>div{width:100%;height:100%;background-repeat:no-repeat}uni-image>img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;display:block;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0}uni-image>.uni-image-will-change{will-change:transform}uni-input{display:block;font-size:16px;line-height:1.4em;height:1.4em;min-height:1.4em;overflow:hidden}uni-input[hidden]{display:none}.uni-input-wrapper,.uni-input-placeholder,.uni-input-form,.uni-input-input{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-input-wrapper,.uni-input-form{display:flex;position:relative;width:100%;height:100%;flex-direction:column;justify-content:center}.uni-input-placeholder,.uni-input-input{width:100%}.uni-input-placeholder{position:absolute;top:auto!important;left:0;color:gray;overflow:hidden;text-overflow:clip;white-space:pre;word-break:keep-all;pointer-events:none;line-height:inherit}.uni-input-input{position:relative;display:block;height:100%;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-input-input[type=search]::-webkit-search-cancel-button,.uni-input-input[type=search]::-webkit-search-decoration{display:none}.uni-input-input::-webkit-outer-spin-button,.uni-input-input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.uni-input-input[type=number]{-moz-appearance:textfield}.uni-input-input:disabled{-webkit-text-fill-color:currentcolor}.uni-label-pointer{cursor:pointer}uni-live-pusher{width:320px;height:240px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-live-pusher[hidden]{display:none}.uni-live-pusher-container{width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden;background-color:#000}.uni-live-pusher-slot{position:absolute;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}uni-map{width:300px;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-map[hidden]{display:none}.uni-map-container{width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden;background-color:transparent}.uni-map-slot{position:absolute;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}uni-map.web{position:relative;width:300px;height:150px;display:block}uni-map.web[hidden]{display:none}uni-map.web .amap-marker-label{padding:0;border:none;background-color:transparent}uni-map.web .amap-marker>.amap-icon>img{left:0!important;top:0!important}uni-map.web .uni-map-control{position:absolute;width:0;height:0;top:0;left:0;z-index:999}uni-map.web .uni-map-control-icon{position:absolute;max-width:initial}.uni-system-choose-location{display:block;position:fixed;left:0;top:0;width:100%;height:100%;background:#f8f8f8;z-index:999}.uni-system-choose-location .map{position:absolute;top:0;left:0;width:100%;height:300px}.uni-system-choose-location .map-location{position:absolute;left:50%;bottom:50%;width:32px;height:52px;margin-left:-16px;cursor:pointer;background-size:100%}.uni-system-choose-location .map-move{position:absolute;bottom:50px;right:10px;width:40px;height:40px;box-sizing:border-box;line-height:40px;background-color:#fff;border-radius:50%;pointer-events:auto;cursor:pointer;box-shadow:0 0 5px 1px rgba(0,0,0,.3)}.uni-system-choose-location .map-move>svg{display:block;width:100%;height:100%;box-sizing:border-box;padding:8px}.uni-system-choose-location .nav{position:absolute;top:0;left:0;width:100%;height:calc(44px + var(--status-bar-height));background-color:transparent;background-image:linear-gradient(to bottom,rgba(0,0,0,.3),rgba(0,0,0,0))}.uni-system-choose-location .nav-btn{position:absolute;box-sizing:border-box;top:var(--status-bar-height);left:0;width:60px;height:44px;padding:6px;line-height:32px;font-size:26px;color:#fff;text-align:center;cursor:pointer}.uni-system-choose-location .nav-btn.confirm{left:auto;right:0}.uni-system-choose-location .nav-btn.disable{opacity:.4}.uni-system-choose-location .nav-btn>svg{display:block;width:100%;height:100%;border-radius:2px;box-sizing:border-box;padding:3px}.uni-system-choose-location .nav-btn.confirm>svg{background-color:#007aff;padding:5px}.uni-system-choose-location .menu{position:absolute;top:300px;left:0;width:100%;bottom:0;background-color:#fff}.uni-system-choose-location .search{display:flex;flex-direction:row;height:50px;padding:8px;line-height:34px;box-sizing:border-box;background-color:#fff}.uni-system-choose-location .search-input{flex:1;height:100%;border-radius:5px;padding:0 5px;background:#ebebeb}.uni-system-choose-location .search-btn{margin-left:5px;color:#007aff;font-size:17px;text-align:center}.uni-system-choose-location .list{position:absolute;top:50px;left:0;width:100%;bottom:0;padding-bottom:10px}.uni-system-choose-location .list-loading{display:flex;height:50px;justify-content:center;align-items:center}.uni-system-choose-location .list-item{position:relative;padding:10px 40px 10px 10px;cursor:pointer}.uni-system-choose-location .list-item>svg{display:none;position:absolute;top:50%;right:10px;width:30px;height:30px;margin-top:-15px;box-sizing:border-box;padding:5px}.uni-system-choose-location .list-item.selected>svg{display:block}.uni-system-choose-location .list-item:not(:last-child):after{position:absolute;content:"";height:1px;left:10px;bottom:0;width:100%;background-color:#d3d3d3}.uni-system-choose-location .list-item-title{font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.uni-system-choose-location .list-item-detail{font-size:12px;color:gray;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media screen and (min-width: 800px){.uni-system-choose-location .map{top:0;height:100%}.uni-system-choose-location .map-move{bottom:10px;right:320px}.uni-system-choose-location .menu{top:calc(54px + var(--status-bar-height));left:auto;right:10px;width:300px;bottom:10px;max-height:600px;box-shadow:0 0 20px 5px rgba(0,0,0,.3)}}.uni-system-open-location{display:block;position:fixed;left:0;top:0;width:100%;height:100%;background:#f8f8f8;z-index:999}.uni-system-open-location .map{position:absolute;top:0;left:0;width:100%;bottom:80px;height:auto}.uni-system-open-location .info{position:absolute;bottom:0;left:0;width:100%;height:80px;background-color:#fff;padding:15px;box-sizing:border-box;line-height:1.5}.uni-system-open-location .info>.name{font-size:17px;color:#111}.uni-system-open-location .info>.address{font-size:14px;color:#666}.uni-system-open-location .info>.nav{position:absolute;top:50%;right:15px;width:50px;height:50px;border-radius:50%;margin-top:-25px;background-color:#007aff}.uni-system-open-location .info>.nav>svg{display:block;width:100%;height:100%;padding:10px;box-sizing:border-box}.uni-system-open-location .map-move{position:absolute;bottom:50px;right:10px;width:40px;height:40px;box-sizing:border-box;line-height:40px;background-color:#fff;border-radius:50%;pointer-events:auto;cursor:pointer;box-shadow:0 0 5px 1px rgba(0,0,0,.3)}.uni-system-open-location .map-move>svg{display:block;width:100%;height:100%;box-sizing:border-box;padding:8px}.uni-system-open-location .nav-btn-back{position:absolute;box-sizing:border-box;top:var(--status-bar-height);left:0;width:44px;height:44px;padding:6px;cursor:pointer}.uni-system-open-location .nav-btn-back>svg{display:block;width:100%;height:100%;border-radius:50%;background-color:rgba(0,0,0,.5);padding:3px;box-sizing:border-box}.uni-system-open-location .map-content{position:absolute;left:0;top:0;width:100%;bottom:0;overflow:hidden}.uni-system-open-location .map-content.fix-position{top:-74px;bottom:-44px}.uni-system-open-location .map-content>iframe{width:100%;height:100%;border:none}.uni-system-open-location .actTonav{position:absolute;right:16px;bottom:56px;width:60px;height:60px;border-radius:60px}.uni-system-open-location .nav-view{position:absolute;left:0;top:0;width:100%;height:100%;display:flex;flex-direction:column}.uni-system-open-location .nav-view-top-placeholder{width:100%;height:var(--status-bar-height);background-color:#fff}.uni-system-open-location .nav-view-frame{width:100%;flex:1}uni-movable-area{display:block;position:relative;width:10px;height:10px}uni-movable-area[hidden]{display:none}uni-movable-view{display:inline-block;width:10px;height:10px;top:0;left:0;position:absolute;cursor:grab}uni-movable-view[hidden]{display:none}uni-navigator{height:auto;width:auto;display:block;cursor:pointer}uni-navigator[hidden]{display:none}.navigator-hover{background-color:rgba(0,0,0,.1);opacity:.7}.navigator-wrap,.navigator-wrap:link,.navigator-wrap:visited,.navigator-wrap:hover,.navigator-wrap:active{text-decoration:none;color:inherit;cursor:pointer}uni-picker-view{display:block}.uni-picker-view-wrapper{display:flex;position:relative;overflow:hidden;height:100%}uni-picker-view[hidden]{display:none}uni-picker-view-column{flex:1;position:relative;height:100%;overflow:hidden}uni-picker-view-column[hidden]{display:none}.uni-picker-view-group{height:100%;overflow:hidden}.uni-picker-view-mask{transform:translateZ(0)}.uni-picker-view-indicator,.uni-picker-view-mask{position:absolute;left:0;width:100%;z-index:3;pointer-events:none}.uni-picker-view-mask{top:0;height:100%;margin:0 auto;background-image:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.6)),linear-gradient(0deg,rgba(255,255,255,.95),rgba(255,255,255,.6));background-position:top,bottom;background-size:100% 102px;background-repeat:no-repeat;transform:translateZ(0)}.uni-picker-view-indicator{height:34px;top:50%;transform:translateY(-50%)}.uni-picker-view-content{position:absolute;top:0;left:0;width:100%;will-change:transform;padding:102px 0;cursor:pointer}.uni-picker-view-content>*{height:var(--picker-view-column-indicator-height);overflow:hidden}.uni-picker-view-indicator:before{top:0;border-top:1px solid #e5e5e5;transform-origin:0 0;transform:scaleY(.5)}.uni-picker-view-indicator:after{bottom:0;border-bottom:1px solid #e5e5e5;transform-origin:0 100%;transform:scaleY(.5)}.uni-picker-view-indicator:after,.uni-picker-view-indicator:before{content:" ";position:absolute;left:0;right:0;height:1px;color:#e5e5e5}@media (prefers-color-scheme: dark){.uni-picker-view-indicator:before{border-top-color:var(--UI-FG-3)}.uni-picker-view-indicator:after{border-bottom-color:var(--UI-FG-3)}.uni-picker-view-mask{background-image:linear-gradient(180deg,rgba(35,35,35,.95),rgba(35,35,35,.6)),linear-gradient(0deg,rgba(35,35,35,.95),rgba(35,35,35,.6))}}uni-progress{display:flex;align-items:center}uni-progress[hidden]{display:none}.uni-progress-bar{flex:1}.uni-progress-inner-bar{width:0;height:100%}.uni-progress-info{margin-top:0;margin-bottom:0;min-width:2em;margin-left:15px;font-size:16px}uni-radio{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-radio[hidden]{display:none}uni-radio[disabled]{cursor:not-allowed}.uni-radio-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-radio-input{-webkit-appearance:none;appearance:none;margin-right:5px;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:50%;width:22px;height:22px;position:relative}@media (hover: hover){uni-radio:not([disabled]) .uni-radio-input:hover{border-color:var(--HOVER-BD-COLOR, #007aff)!important}}.uni-radio-input svg{color:#fff;font-size:18px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}.uni-radio-input.uni-radio-input-disabled{background-color:#e1e1e1;border-color:#d1d1d1}.uni-radio-input.uni-radio-input-disabled svg{color:#adadad}uni-radio-group{display:block}uni-radio-group[hidden]{display:none}uni-scroll-view{display:block;width:100%}uni-scroll-view[hidden]{display:none}.uni-scroll-view{position:relative;-webkit-overflow-scrolling:touch;width:100%;height:100%;max-height:inherit}.uni-scroll-view-scrollbar-hidden::-webkit-scrollbar{display:none}.uni-scroll-view-scrollbar-hidden{-moz-scrollbars:none;scrollbar-width:none}.uni-scroll-view-content{width:100%;height:100%}.uni-scroll-view-refresher{position:relative;overflow:hidden;flex-shrink:0}.uni-scroll-view-refresher-container{position:absolute;width:100%;bottom:0;display:flex;flex-direction:column-reverse}.uni-scroll-view-refresh{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:row;justify-content:center;align-items:center}.uni-scroll-view-refresh-inner{display:flex;align-items:center;justify-content:center;line-height:0;width:40px;height:40px;border-radius:50%;background-color:#fff;box-shadow:0 1px 6px rgba(0,0,0,.118),0 1px 4px rgba(0,0,0,.118)}.uni-scroll-view-refresh__spinner{transform-origin:center center;animation:uni-scroll-view-refresh-rotate 2s linear infinite}.uni-scroll-view-refresh__spinner>circle{stroke:currentColor;stroke-linecap:round;animation:uni-scroll-view-refresh-dash 2s linear infinite}@keyframes uni-scroll-view-refresh-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes uni-scroll-view-refresh-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}uni-slider{margin:10px 18px;padding:0;display:block}uni-slider[hidden]{display:none}uni-slider .uni-slider-wrapper{display:flex;align-items:center;min-height:16px}uni-slider .uni-slider-tap-area{flex:1;padding:8px 0}uni-slider .uni-slider-handle-wrapper{position:relative;height:2px;border-radius:5px;background-color:#e9e9e9;cursor:pointer;transition:background-color .3s ease;-webkit-tap-highlight-color:transparent}uni-slider .uni-slider-track{height:100%;border-radius:6px;background-color:#007aff;transition:background-color .3s ease}uni-slider .uni-slider-handle,uni-slider .uni-slider-thumb{position:absolute;left:50%;top:50%;cursor:pointer;border-radius:50%;transition:border-color .3s ease}uni-slider .uni-slider-handle{width:28px;height:28px;margin-top:-14px;margin-left:-14px;background-color:transparent;z-index:3;cursor:grab}uni-slider .uni-slider-thumb{z-index:2;box-shadow:0 0 4px rgba(0,0,0,.2)}uni-slider .uni-slider-step{position:absolute;width:100%;height:2px;background:transparent;z-index:1}uni-slider .uni-slider-value{width:3ch;color:#888;font-size:14px;margin-left:1em}uni-slider .uni-slider-disabled .uni-slider-track{background-color:#ccc}uni-slider .uni-slider-disabled .uni-slider-thumb{background-color:#fff;border-color:#ccc}uni-swiper{display:block;height:150px}uni-swiper[hidden]{display:none}.uni-swiper-wrapper{overflow:hidden;position:relative;width:100%;height:100%;transform:translateZ(0)}.uni-swiper-slides{position:absolute;left:0;top:0;right:0;bottom:0}.uni-swiper-slide-frame{position:absolute;left:0;top:0;width:100%;height:100%;will-change:transform}.uni-swiper-dots{position:absolute;font-size:0}.uni-swiper-dots-horizontal{left:50%;bottom:10px;text-align:center;white-space:nowrap;transform:translate(-50%)}.uni-swiper-dots-horizontal .uni-swiper-dot{margin-right:8px}.uni-swiper-dots-horizontal .uni-swiper-dot:last-child{margin-right:0}.uni-swiper-dots-vertical{right:10px;top:50%;text-align:right;transform:translateY(-50%)}.uni-swiper-dots-vertical .uni-swiper-dot{display:block;margin-bottom:9px}.uni-swiper-dots-vertical .uni-swiper-dot:last-child{margin-bottom:0}.uni-swiper-dot{display:inline-block;width:8px;height:8px;cursor:pointer;transition-property:background-color;transition-timing-function:ease;background:rgba(0,0,0,.3);border-radius:50%}.uni-swiper-dot-active{background-color:#000}.uni-swiper-navigation{width:26px;height:26px;cursor:pointer;position:absolute;top:50%;margin-top:-13px;display:flex;align-items:center;transition:all .2s;border-radius:50%;opacity:1}.uni-swiper-navigation-disabled{opacity:.35;cursor:not-allowed}.uni-swiper-navigation-hide{opacity:0;cursor:auto;pointer-events:none}.uni-swiper-navigation-prev{left:10px}.uni-swiper-navigation-prev svg{margin-left:-1px;left:10px}.uni-swiper-navigation-prev.uni-swiper-navigation-vertical{top:18px;left:50%;margin-left:-13px}.uni-swiper-navigation-prev.uni-swiper-navigation-vertical svg{transform:rotate(90deg);margin-left:auto;margin-top:-2px}.uni-swiper-navigation-next{right:10px}.uni-swiper-navigation-next svg{transform:rotate(180deg)}.uni-swiper-navigation-next.uni-swiper-navigation-vertical{top:auto;bottom:5px;left:50%;margin-left:-13px}.uni-swiper-navigation-next.uni-swiper-navigation-vertical svg{margin-top:2px;transform:rotate(270deg)}uni-swiper-item{display:block;overflow:hidden;will-change:transform;position:absolute;width:100%;height:100%;cursor:grab}uni-swiper-item[hidden]{display:none}uni-switch{-webkit-tap-highlight-color:transparent;display:inline-block;cursor:pointer}uni-switch[hidden]{display:none}uni-switch[disabled]{cursor:not-allowed}uni-switch[disabled] .uni-switch-input{opacity:.7}.uni-switch-wrapper{display:inline-flex;align-items:center;vertical-align:middle}.uni-switch-input{-webkit-appearance:none;appearance:none;position:relative;width:52px;height:32px;margin-right:5px;border:1px solid #dfdfdf;outline:0;border-radius:16px;box-sizing:border-box;background-color:#dfdfdf;transition:background-color .1s,border .1s}.uni-switch-input:before{content:" ";position:absolute;top:0;left:0;width:50px;height:30px;border-radius:15px;background-color:#fdfdfd;transition:transform .3s}.uni-switch-input:after{content:" ";position:absolute;top:0;left:0;width:30px;height:30px;border-radius:15px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4);transition:transform .3s}.uni-switch-input.uni-switch-input-checked{border-color:#007aff;background-color:#007aff}.uni-switch-input.uni-switch-input-checked:before{transform:scale(0)}.uni-switch-input.uni-switch-input-checked:after{transform:translate(20px)}uni-switch .uni-checkbox-input{margin-right:5px;-webkit-appearance:none;appearance:none;outline:0;border:1px solid #d1d1d1;background-color:#fff;border-radius:3px;width:22px;height:22px;position:relative;color:#007aff}uni-switch:not([disabled]) .uni-checkbox-input:hover{border-color:#007aff}uni-switch .uni-checkbox-input svg{fill:#007aff;font-size:22px;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%) scale(.73)}.uni-checkbox-input.uni-checkbox-input-disabled{background-color:#e1e1e1}.uni-checkbox-input.uni-checkbox-input-disabled:before{color:#adadad}@media (prefers-color-scheme: dark){uni-switch .uni-switch-input{border-color:#3b3b3f}uni-switch .uni-switch-input,uni-switch .uni-switch-input:before{background-color:#3b3b3f}uni-switch .uni-switch-input:after{background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4)}uni-switch .uni-checkbox-input{background-color:#2c2c2c;border:1px solid #656565}}uni-textarea{width:300px;height:150px;display:block;position:relative;font-size:16px;line-height:normal;white-space:pre-wrap;word-break:break-all}uni-textarea[hidden]{display:none}uni-textarea[auto-height=true]{height:-webkit-fit-content!important;height:fit-content!important}.uni-textarea-wrapper,.uni-textarea-placeholder,.uni-textarea-line,.uni-textarea-compute,.uni-textarea-textarea{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-textarea-wrapper{display:block;position:relative;width:100%;height:100%;min-height:inherit;overflow-y:hidden}.uni-textarea-placeholder,.uni-textarea-line,.uni-textarea-compute,.uni-textarea-textarea{position:absolute;width:100%;height:100%;left:0;top:0;white-space:inherit;word-break:inherit}.uni-textarea-placeholder{color:gray;overflow:hidden}.uni-textarea-line,.uni-textarea-compute{visibility:hidden;height:auto}.uni-textarea-line{width:1em}.uni-textarea-textarea{resize:none;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-textarea-textarea-fix-margin{width:auto;right:0;margin:0 -3px}.uni-textarea-textarea:disabled{-webkit-text-fill-color:currentcolor}uni-video{width:300px;height:225px;display:inline-block;line-height:0;overflow:hidden;position:relative}uni-video[hidden]{display:none}.uni-video-container{width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden;background-color:#000}.uni-video-slot{position:absolute;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none}uni-web-view{display:inline-block;position:absolute;left:0;right:0;top:0;bottom:0} - - - /*每个页面公共css */ diff --git a/unpackage/dist/dev/app-plus/assets/uniicons.32e978a5.ttf b/unpackage/dist/dev/app-plus/assets/uniicons.32e978a5.ttf deleted file mode 100644 index 14696d0..0000000 Binary files a/unpackage/dist/dev/app-plus/assets/uniicons.32e978a5.ttf and /dev/null differ diff --git a/unpackage/dist/dev/app-plus/manifest.json b/unpackage/dist/dev/app-plus/manifest.json deleted file mode 100644 index 9bd6f6e..0000000 --- a/unpackage/dist/dev/app-plus/manifest.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "@platforms": [ - "android", - "iPhone", - "iPad" - ], - "id": "__UNI__37E1E71", - "name": "WorkCameraf", - "version": { - "name": "1.0.0", - "code": "100" - }, - "description": "", - "developer": { - "name": "", - "email": "", - "url": "" - }, - "permissions": { - "Geolocation": {}, - "Camera": {}, - "UniNView": { - "description": "UniNView原生渲染" - } - }, - "plus": { - "useragent": { - "value": "uni-app", - "concatenate": true - }, - "splashscreen": { - "target": "id:1", - "autoclose": true, - "waiting": true, - "delay": 0 - }, - "popGesture": "close", - "launchwebview": { - "render": "always", - "id": "1", - "kernel": "WKWebview" - }, - "usingComponents": true, - "nvueStyleCompiler": "uni-app", - "compilerVersion": 3, - "distribute": { - "google": { - "permissions": [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "abiFilters": [ - "arm64-v8a", - "x86" - ] - }, - "apple": { - "idfa": false, - "privacyDescription": { - "NSPhotoLibraryAddUsageDescription": "此应用需要访问相册以保存水印图片", - "NSPhotoLibraryUsageDescription": "此应用需要访问相册以保存水印图片" - } - }, - "plugins": { - "geolocation": { - "system": { - "__platform__": [ - "ios", - "android" - ] - }, - "tencent": { - "__platform__": [ - "ios", - "android" - ], - "apikey_ios": "2DYBZ-V4N3W-VQ4RA-Y22V5-BXA2E-53FYV", - "apikey_android": "2DYBZ-V4N3W-VQ4RA-Y22V5-BXA2E-53FYV" - } - }, - "audio": { - "mp3": { - "description": "Android平台录音支持MP3格式文件" - } - } - } - }, - "statusbar": { - "immersed": "supportedDevice", - "style": "dark", - "background": "#F8F8F8" - }, - "uniStatistics": { - "enable": false - }, - "allowsInlineMediaPlayback": true, - "uni-app": { - "control": "uni-v3", - "vueVersion": "3", - "compilerVersion": "4.75", - "nvueCompiler": "uni-app", - "renderer": "auto", - "nvue": { - "flex-direction": "column" - }, - "nvueLaunchMode": "normal", - "webView": { - "minUserAgentVersion": "49.0" - } - } - }, - "app-harmony": { - "useragent": { - "value": "uni-app", - "concatenate": true - }, - "uniStatistics": { - "enable": false - } - }, - "launch_path": "__uniappview.html" -} \ No newline at end of file diff --git a/unpackage/dist/dev/app-plus/pages/index/index.css b/unpackage/dist/dev/app-plus/pages/index/index.css deleted file mode 100644 index 6d254ff..0000000 --- a/unpackage/dist/dev/app-plus/pages/index/index.css +++ /dev/null @@ -1,842 +0,0 @@ -/** - * 这里是uni-app内置的常用样式变量 - * - * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 - * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App - * - */ -/** - * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 - * - * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 - */ -/* 颜色变量 */ -/* 行为相关颜色 */ -/* 文字基本颜色 */ -/* 背景颜色 */ -/* 边框颜色 */ -/* 尺寸变量 */ -/* 文字尺寸 */ -/* 图片尺寸 */ -/* Border Radius */ -/* 水平间距 */ -/* 垂直间距 */ -/* 透明度 */ -/* 文章场景相关 */ -.uniui-cart-filled[data-v-d31e1c47]:before { - content: "\e6d0"; -} -.uniui-gift-filled[data-v-d31e1c47]:before { - content: "\e6c4"; -} -.uniui-color[data-v-d31e1c47]:before { - content: "\e6cf"; -} -.uniui-wallet[data-v-d31e1c47]:before { - content: "\e6b1"; -} -.uniui-settings-filled[data-v-d31e1c47]:before { - content: "\e6ce"; -} -.uniui-auth-filled[data-v-d31e1c47]:before { - content: "\e6cc"; -} -.uniui-shop-filled[data-v-d31e1c47]:before { - content: "\e6cd"; -} -.uniui-staff-filled[data-v-d31e1c47]:before { - content: "\e6cb"; -} -.uniui-vip-filled[data-v-d31e1c47]:before { - content: "\e6c6"; -} -.uniui-plus-filled[data-v-d31e1c47]:before { - content: "\e6c7"; -} -.uniui-folder-add-filled[data-v-d31e1c47]:before { - content: "\e6c8"; -} -.uniui-color-filled[data-v-d31e1c47]:before { - content: "\e6c9"; -} -.uniui-tune-filled[data-v-d31e1c47]:before { - content: "\e6ca"; -} -.uniui-calendar-filled[data-v-d31e1c47]:before { - content: "\e6c0"; -} -.uniui-notification-filled[data-v-d31e1c47]:before { - content: "\e6c1"; -} -.uniui-wallet-filled[data-v-d31e1c47]:before { - content: "\e6c2"; -} -.uniui-medal-filled[data-v-d31e1c47]:before { - content: "\e6c3"; -} -.uniui-fire-filled[data-v-d31e1c47]:before { - content: "\e6c5"; -} -.uniui-refreshempty[data-v-d31e1c47]:before { - content: "\e6bf"; -} -.uniui-location-filled[data-v-d31e1c47]:before { - content: "\e6af"; -} -.uniui-person-filled[data-v-d31e1c47]:before { - content: "\e69d"; -} -.uniui-personadd-filled[data-v-d31e1c47]:before { - content: "\e698"; -} -.uniui-arrowthinleft[data-v-d31e1c47]:before { - content: "\e6d2"; -} -.uniui-arrowthinup[data-v-d31e1c47]:before { - content: "\e6d3"; -} -.uniui-arrowthindown[data-v-d31e1c47]:before { - content: "\e6d4"; -} -.uniui-back[data-v-d31e1c47]:before { - content: "\e6b9"; -} -.uniui-forward[data-v-d31e1c47]:before { - content: "\e6ba"; -} -.uniui-arrow-right[data-v-d31e1c47]:before { - content: "\e6bb"; -} -.uniui-arrow-left[data-v-d31e1c47]:before { - content: "\e6bc"; -} -.uniui-arrow-up[data-v-d31e1c47]:before { - content: "\e6bd"; -} -.uniui-arrow-down[data-v-d31e1c47]:before { - content: "\e6be"; -} -.uniui-arrowthinright[data-v-d31e1c47]:before { - content: "\e6d1"; -} -.uniui-down[data-v-d31e1c47]:before { - content: "\e6b8"; -} -.uniui-bottom[data-v-d31e1c47]:before { - content: "\e6b8"; -} -.uniui-arrowright[data-v-d31e1c47]:before { - content: "\e6d5"; -} -.uniui-right[data-v-d31e1c47]:before { - content: "\e6b5"; -} -.uniui-up[data-v-d31e1c47]:before { - content: "\e6b6"; -} -.uniui-top[data-v-d31e1c47]:before { - content: "\e6b6"; -} -.uniui-left[data-v-d31e1c47]:before { - content: "\e6b7"; -} -.uniui-arrowup[data-v-d31e1c47]:before { - content: "\e6d6"; -} -.uniui-eye[data-v-d31e1c47]:before { - content: "\e651"; -} -.uniui-eye-filled[data-v-d31e1c47]:before { - content: "\e66a"; -} -.uniui-eye-slash[data-v-d31e1c47]:before { - content: "\e6b3"; -} -.uniui-eye-slash-filled[data-v-d31e1c47]:before { - content: "\e6b4"; -} -.uniui-info-filled[data-v-d31e1c47]:before { - content: "\e649"; -} -.uniui-reload[data-v-d31e1c47]:before { - content: "\e6b2"; -} -.uniui-micoff-filled[data-v-d31e1c47]:before { - content: "\e6b0"; -} -.uniui-map-pin-ellipse[data-v-d31e1c47]:before { - content: "\e6ac"; -} -.uniui-map-pin[data-v-d31e1c47]:before { - content: "\e6ad"; -} -.uniui-location[data-v-d31e1c47]:before { - content: "\e6ae"; -} -.uniui-starhalf[data-v-d31e1c47]:before { - content: "\e683"; -} -.uniui-star[data-v-d31e1c47]:before { - content: "\e688"; -} -.uniui-star-filled[data-v-d31e1c47]:before { - content: "\e68f"; -} -.uniui-calendar[data-v-d31e1c47]:before { - content: "\e6a0"; -} -.uniui-fire[data-v-d31e1c47]:before { - content: "\e6a1"; -} -.uniui-medal[data-v-d31e1c47]:before { - content: "\e6a2"; -} -.uniui-font[data-v-d31e1c47]:before { - content: "\e6a3"; -} -.uniui-gift[data-v-d31e1c47]:before { - content: "\e6a4"; -} -.uniui-link[data-v-d31e1c47]:before { - content: "\e6a5"; -} -.uniui-notification[data-v-d31e1c47]:before { - content: "\e6a6"; -} -.uniui-staff[data-v-d31e1c47]:before { - content: "\e6a7"; -} -.uniui-vip[data-v-d31e1c47]:before { - content: "\e6a8"; -} -.uniui-folder-add[data-v-d31e1c47]:before { - content: "\e6a9"; -} -.uniui-tune[data-v-d31e1c47]:before { - content: "\e6aa"; -} -.uniui-auth[data-v-d31e1c47]:before { - content: "\e6ab"; -} -.uniui-person[data-v-d31e1c47]:before { - content: "\e699"; -} -.uniui-email-filled[data-v-d31e1c47]:before { - content: "\e69a"; -} -.uniui-phone-filled[data-v-d31e1c47]:before { - content: "\e69b"; -} -.uniui-phone[data-v-d31e1c47]:before { - content: "\e69c"; -} -.uniui-email[data-v-d31e1c47]:before { - content: "\e69e"; -} -.uniui-personadd[data-v-d31e1c47]:before { - content: "\e69f"; -} -.uniui-chatboxes-filled[data-v-d31e1c47]:before { - content: "\e692"; -} -.uniui-contact[data-v-d31e1c47]:before { - content: "\e693"; -} -.uniui-chatbubble-filled[data-v-d31e1c47]:before { - content: "\e694"; -} -.uniui-contact-filled[data-v-d31e1c47]:before { - content: "\e695"; -} -.uniui-chatboxes[data-v-d31e1c47]:before { - content: "\e696"; -} -.uniui-chatbubble[data-v-d31e1c47]:before { - content: "\e697"; -} -.uniui-upload-filled[data-v-d31e1c47]:before { - content: "\e68e"; -} -.uniui-upload[data-v-d31e1c47]:before { - content: "\e690"; -} -.uniui-weixin[data-v-d31e1c47]:before { - content: "\e691"; -} -.uniui-compose[data-v-d31e1c47]:before { - content: "\e67f"; -} -.uniui-qq[data-v-d31e1c47]:before { - content: "\e680"; -} -.uniui-download-filled[data-v-d31e1c47]:before { - content: "\e681"; -} -.uniui-pyq[data-v-d31e1c47]:before { - content: "\e682"; -} -.uniui-sound[data-v-d31e1c47]:before { - content: "\e684"; -} -.uniui-trash-filled[data-v-d31e1c47]:before { - content: "\e685"; -} -.uniui-sound-filled[data-v-d31e1c47]:before { - content: "\e686"; -} -.uniui-trash[data-v-d31e1c47]:before { - content: "\e687"; -} -.uniui-videocam-filled[data-v-d31e1c47]:before { - content: "\e689"; -} -.uniui-spinner-cycle[data-v-d31e1c47]:before { - content: "\e68a"; -} -.uniui-weibo[data-v-d31e1c47]:before { - content: "\e68b"; -} -.uniui-videocam[data-v-d31e1c47]:before { - content: "\e68c"; -} -.uniui-download[data-v-d31e1c47]:before { - content: "\e68d"; -} -.uniui-help[data-v-d31e1c47]:before { - content: "\e679"; -} -.uniui-navigate-filled[data-v-d31e1c47]:before { - content: "\e67a"; -} -.uniui-plusempty[data-v-d31e1c47]:before { - content: "\e67b"; -} -.uniui-smallcircle[data-v-d31e1c47]:before { - content: "\e67c"; -} -.uniui-minus-filled[data-v-d31e1c47]:before { - content: "\e67d"; -} -.uniui-micoff[data-v-d31e1c47]:before { - content: "\e67e"; -} -.uniui-closeempty[data-v-d31e1c47]:before { - content: "\e66c"; -} -.uniui-clear[data-v-d31e1c47]:before { - content: "\e66d"; -} -.uniui-navigate[data-v-d31e1c47]:before { - content: "\e66e"; -} -.uniui-minus[data-v-d31e1c47]:before { - content: "\e66f"; -} -.uniui-image[data-v-d31e1c47]:before { - content: "\e670"; -} -.uniui-mic[data-v-d31e1c47]:before { - content: "\e671"; -} -.uniui-paperplane[data-v-d31e1c47]:before { - content: "\e672"; -} -.uniui-close[data-v-d31e1c47]:before { - content: "\e673"; -} -.uniui-help-filled[data-v-d31e1c47]:before { - content: "\e674"; -} -.uniui-paperplane-filled[data-v-d31e1c47]:before { - content: "\e675"; -} -.uniui-plus[data-v-d31e1c47]:before { - content: "\e676"; -} -.uniui-mic-filled[data-v-d31e1c47]:before { - content: "\e677"; -} -.uniui-image-filled[data-v-d31e1c47]:before { - content: "\e678"; -} -.uniui-locked-filled[data-v-d31e1c47]:before { - content: "\e668"; -} -.uniui-info[data-v-d31e1c47]:before { - content: "\e669"; -} -.uniui-locked[data-v-d31e1c47]:before { - content: "\e66b"; -} -.uniui-camera-filled[data-v-d31e1c47]:before { - content: "\e658"; -} -.uniui-chat-filled[data-v-d31e1c47]:before { - content: "\e659"; -} -.uniui-camera[data-v-d31e1c47]:before { - content: "\e65a"; -} -.uniui-circle[data-v-d31e1c47]:before { - content: "\e65b"; -} -.uniui-checkmarkempty[data-v-d31e1c47]:before { - content: "\e65c"; -} -.uniui-chat[data-v-d31e1c47]:before { - content: "\e65d"; -} -.uniui-circle-filled[data-v-d31e1c47]:before { - content: "\e65e"; -} -.uniui-flag[data-v-d31e1c47]:before { - content: "\e65f"; -} -.uniui-flag-filled[data-v-d31e1c47]:before { - content: "\e660"; -} -.uniui-gear-filled[data-v-d31e1c47]:before { - content: "\e661"; -} -.uniui-home[data-v-d31e1c47]:before { - content: "\e662"; -} -.uniui-home-filled[data-v-d31e1c47]:before { - content: "\e663"; -} -.uniui-gear[data-v-d31e1c47]:before { - content: "\e664"; -} -.uniui-smallcircle-filled[data-v-d31e1c47]:before { - content: "\e665"; -} -.uniui-map-filled[data-v-d31e1c47]:before { - content: "\e666"; -} -.uniui-map[data-v-d31e1c47]:before { - content: "\e667"; -} -.uniui-refresh-filled[data-v-d31e1c47]:before { - content: "\e656"; -} -.uniui-refresh[data-v-d31e1c47]:before { - content: "\e657"; -} -.uniui-cloud-upload[data-v-d31e1c47]:before { - content: "\e645"; -} -.uniui-cloud-download-filled[data-v-d31e1c47]:before { - content: "\e646"; -} -.uniui-cloud-download[data-v-d31e1c47]:before { - content: "\e647"; -} -.uniui-cloud-upload-filled[data-v-d31e1c47]:before { - content: "\e648"; -} -.uniui-redo[data-v-d31e1c47]:before { - content: "\e64a"; -} -.uniui-images-filled[data-v-d31e1c47]:before { - content: "\e64b"; -} -.uniui-undo-filled[data-v-d31e1c47]:before { - content: "\e64c"; -} -.uniui-more[data-v-d31e1c47]:before { - content: "\e64d"; -} -.uniui-more-filled[data-v-d31e1c47]:before { - content: "\e64e"; -} -.uniui-undo[data-v-d31e1c47]:before { - content: "\e64f"; -} -.uniui-images[data-v-d31e1c47]:before { - content: "\e650"; -} -.uniui-paperclip[data-v-d31e1c47]:before { - content: "\e652"; -} -.uniui-settings[data-v-d31e1c47]:before { - content: "\e653"; -} -.uniui-search[data-v-d31e1c47]:before { - content: "\e654"; -} -.uniui-redo-filled[data-v-d31e1c47]:before { - content: "\e655"; -} -.uniui-list[data-v-d31e1c47]:before { - content: "\e644"; -} -.uniui-mail-open-filled[data-v-d31e1c47]:before { - content: "\e63a"; -} -.uniui-hand-down-filled[data-v-d31e1c47]:before { - content: "\e63c"; -} -.uniui-hand-down[data-v-d31e1c47]:before { - content: "\e63d"; -} -.uniui-hand-up-filled[data-v-d31e1c47]:before { - content: "\e63e"; -} -.uniui-hand-up[data-v-d31e1c47]:before { - content: "\e63f"; -} -.uniui-heart-filled[data-v-d31e1c47]:before { - content: "\e641"; -} -.uniui-mail-open[data-v-d31e1c47]:before { - content: "\e643"; -} -.uniui-heart[data-v-d31e1c47]:before { - content: "\e639"; -} -.uniui-loop[data-v-d31e1c47]:before { - content: "\e633"; -} -.uniui-pulldown[data-v-d31e1c47]:before { - content: "\e632"; -} -.uniui-scan[data-v-d31e1c47]:before { - content: "\e62a"; -} -.uniui-bars[data-v-d31e1c47]:before { - content: "\e627"; -} -.uniui-checkbox[data-v-d31e1c47]:before { - content: "\e62b"; -} -.uniui-checkbox-filled[data-v-d31e1c47]:before { - content: "\e62c"; -} -.uniui-shop[data-v-d31e1c47]:before { - content: "\e62f"; -} -.uniui-headphones[data-v-d31e1c47]:before { - content: "\e630"; -} -.uniui-cart[data-v-d31e1c47]:before { - content: "\e631"; -} -@font-face { - font-family: uniicons; - src: url("../../assets/uniicons.32e978a5.ttf"); -} -.uni-icons[data-v-d31e1c47] { - font-family: uniicons; - text-decoration: none; - text-align: center; -} -/** - * 这里是uni-app内置的常用样式变量 - * - * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 - * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App - * - */ -/** - * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 - * - * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 - */ -/* 颜色变量 */ -/* 行为相关颜色 */ -/* 文字基本颜色 */ -/* 背景颜色 */ -/* 边框颜色 */ -/* 尺寸变量 */ -/* 文字尺寸 */ -/* 图片尺寸 */ -/* Border Radius */ -/* 水平间距 */ -/* 垂直间距 */ -/* 透明度 */ -/* 文章场景相关 */ -.uni-combox[data-v-e602780e] { - font-size: 14px; - border: 1px solid #DCDFE6; - border-radius: 4px; - padding: 6px 10px; - position: relative; - display: flex; - flex-direction: row; - align-items: center; -} -.uni-combox__label[data-v-e602780e] { - font-size: 16px; - line-height: 22px; - padding-right: 10px; - color: #999999; -} -.uni-combox__input-box[data-v-e602780e] { - position: relative; - display: flex; - flex: 1; - flex-direction: row; - align-items: center; -} -.uni-combox__input[data-v-e602780e] { - flex: 1; - font-size: 14px; - height: 22px; - line-height: 22px; -} -.uni-combox__input-plac[data-v-e602780e] { - font-size: 14px; - color: #999; -} -.uni-combox__selector[data-v-e602780e] { - box-sizing: border-box; - position: absolute; - top: calc(100% + 12px); - left: 0; - width: 100%; - background-color: #FFFFFF; - border: 1px solid #EBEEF5; - border-radius: 6px; - box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); - z-index: 2; - padding: 4px 0; -} -.uni-combox__selector-scroll[data-v-e602780e] { - max-height: 200px; - box-sizing: border-box; -} -.uni-combox__selector-empty[data-v-e602780e], -.uni-combox__selector-item[data-v-e602780e] { - display: flex; - cursor: pointer; - line-height: 36px; - font-size: 14px; - text-align: center; - padding: 0px 10px; -} -.uni-combox__selector-item[data-v-e602780e]:hover { - background-color: #f9f9f9; -} -.uni-combox__selector-empty[data-v-e602780e]:last-child, -.uni-combox__selector-item[data-v-e602780e]:last-child { - border-bottom: none; -} -.uni-popper__arrow[data-v-e602780e], -.uni-popper__arrow[data-v-e602780e]::after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; - border-width: 6px; -} -.uni-popper__arrow[data-v-e602780e] { - filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.03)); - top: -6px; - left: 10%; - margin-right: 3px; - border-top-width: 0; - border-bottom-color: #EBEEF5; -} -.uni-popper__arrow[data-v-e602780e]::after { - content: " "; - top: 1px; - margin-left: -6px; - border-top-width: 0; - border-bottom-color: #fff; -} -.uni-combox__no-border[data-v-e602780e] { - border: none; -} -/** - * 这里是uni-app内置的常用样式变量 - * - * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 - * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App - * - */ -/** - * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 - * - * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 - */ -/* 颜色变量 */ -/* 行为相关颜色 */ -/* 文字基本颜色 */ -/* 背景颜色 */ -/* 边框颜色 */ -/* 尺寸变量 */ -/* 文字尺寸 */ -/* 图片尺寸 */ -/* Border Radius */ -/* 水平间距 */ -/* 垂直间距 */ -/* 透明度 */ -/* 文章场景相关 */ -.uni-popup[data-v-4dd3c44b] { - position: fixed; - z-index: 99; -} -.uni-popup.top[data-v-4dd3c44b], .uni-popup.left[data-v-4dd3c44b], .uni-popup.right[data-v-4dd3c44b] { - top: 0; -} -.uni-popup .uni-popup__wrapper[data-v-4dd3c44b] { - display: block; - position: relative; - /* iphonex 等安全区设置,底部安全区适配 */ -} -.uni-popup .uni-popup__wrapper.left[data-v-4dd3c44b], .uni-popup .uni-popup__wrapper.right[data-v-4dd3c44b] { - padding-top: 0; - flex: 1; -} -.fixforpc-z-index[data-v-4dd3c44b] { - z-index: 999; -} -.fixforpc-top[data-v-4dd3c44b] { - top: 0; -} - -.logo { - height: 200px; - width: 200px; - margin: 0 auto; - position: absolute; - top: 25%; - left: 50%; - transform: translate(-50%, -50%); -} -.btn { - width: 100px; - margin: 0 auto; - position: absolute; - bottom: 22%; - left: 50%; - transform: translate(-50%, -50%); -} -.title { - margin: 0 auto; - font-size: 20px; - font-weight: 700; - color: #000; - text-align: center; - position: absolute; - top: 35%; - left: 50%; - transform: translate(-50%, -50%); -} -.container { - padding: 0.625rem; - background: #fff; - height: 100vh; - overflow: auto; -} -.preview-box { - background: #fff; - padding: 0.625rem; - margin-bottom: 0.625rem; - text-align: center; -} -.preview-title { - font-size: 1rem; - font-weight: bold; -} -.preview-img { - margin: 0.625rem 0; - width: 100%; - height: 12.5rem; - background: #ddd; - display: flex; - justify-content: center; - align-items: center; - text-align: center; -} -.img { - max-width: 100%; - max-height: 12.5rem; -} -.preview-info { - font-size: 0.8125rem; - color: #666; - text-align: left; - margin-top: 0.3125rem; -} -.form-item { - margin-bottom: 0.625rem; -} -.label { - font-size: 0.875rem; - margin-bottom: 0.3125rem; - display: block; -} -.input { - border: 1px solid #ddd; - border-radius: 0.25rem; - padding: 0.3125rem; - background: #fff; -} -.picker { - border: 1px solid #ddd; - border-radius: 0.25rem; - padding: 0.3125rem; - background: #fff; -} -.worker-row { - display: flex; - align-items: center; - margin-bottom: 0.3125rem; -} -.worker-input { - flex: 1; -} -.btns { - display: flex; - margin-left: 0.3125rem; -} -.btn_f { - margin-left: 0.15625rem; -} -.footer { - display: flex; - justify-content: space-between; - margin-top: 1.25rem; -} -.btn-cancel { - background: #007aff; - color: #fff; -} -.btn-save { - background: #28a745; - color: #fff; -} -.btn-submit { - background: #007aff; - color: #fff; -} -.btn-save:disabled, - .btn-submit:disabled { - background: #ccc !important; - color: #999 !important; - opacity: 0.6; -} -.watermark-btn { - margin-top: 0.625rem; - background: #28a745; - color: #fff; - font-size: 0.875rem; - padding: 0.3125rem 0.9375rem; - border-radius: 0.25rem; -} -.size-info { - margin-top: 0.625rem; - padding: 0.625rem; - background: #f8f9fa; - border-radius: 0.25rem; -} -.size-text { - display: block; - font-size: 0.75rem; - color: #666; - margin-bottom: 0.3125rem; - text-align: center; -} diff --git a/unpackage/dist/dev/app-plus/static/logo.jpg b/unpackage/dist/dev/app-plus/static/logo.jpg deleted file mode 100644 index 8d3b6e7..0000000 Binary files a/unpackage/dist/dev/app-plus/static/logo.jpg and /dev/null differ diff --git a/unpackage/dist/dev/app-plus/static/logo.png b/unpackage/dist/dev/app-plus/static/logo.png deleted file mode 100644 index b5771e2..0000000 Binary files a/unpackage/dist/dev/app-plus/static/logo.png and /dev/null differ diff --git a/unpackage/dist/dev/app-plus/uni-app-view.umd.js b/unpackage/dist/dev/app-plus/uni-app-view.umd.js deleted file mode 100644 index 7c7cc99..0000000 --- a/unpackage/dist/dev/app-plus/uni-app-view.umd.js +++ /dev/null @@ -1,7 +0,0 @@ -!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var t={exports:{}},n={exports:{}},r={exports:{}},i=r.exports={version:"2.6.12"};"number"==typeof __e&&(__e=i);var a=r.exports,o={exports:{}},s=o.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=s);var l=o.exports,u=a,c=l,d="__core-js_shared__",h=c[d]||(c[d]={});(n.exports=function(e,t){return h[e]||(h[e]=void 0!==t?t:{})})("versions",[]).push({version:u.version,mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});var f=n.exports,p=0,v=Math.random(),g=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++p+v).toString(36))},m=f("wks"),_=g,y=l.Symbol,b="function"==typeof y;(t.exports=function(e){return m[e]||(m[e]=b&&y[e]||(b?y:_)("Symbol."+e))}).store=m;var w,x,S=t.exports,k={},C=function(e){return"object"==typeof e?null!==e:"function"==typeof e},T=C,A=function(e){if(!T(e))throw TypeError(e+" is not an object!");return e},M=function(e){try{return!!e()}catch(t){return!0}},E=!M((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}));function O(){if(x)return w;x=1;var e=C,t=l.document,n=e(t)&&e(t.createElement);return w=function(e){return n?t.createElement(e):{}}}var L=!E&&!M((function(){return 7!=Object.defineProperty(O()("div"),"a",{get:function(){return 7}}).a})),z=C,N=A,I=L,P=function(e,t){if(!z(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!z(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!z(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!z(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},D=Object.defineProperty;k.f=E?Object.defineProperty:function(e,t,n){if(N(e),t=P(t,!0),N(n),I)try{return D(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e};var B=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},R=k,F=B,q=E?function(e,t,n){return R.f(e,t,F(1,n))}:function(e,t,n){return e[t]=n,e},j=S("unscopables"),V=Array.prototype;null==V[j]&&q(V,j,{});var $={},H={}.toString,W=function(e){return H.call(e).slice(8,-1)},U=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},Y=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==W(e)?e.split(""):Object(e)},X=U,Z=function(e){return Y(X(e))},G={exports:{}},K={}.hasOwnProperty,J=function(e,t){return K.call(e,t)},Q=f("native-function-to-string",Function.toString),ee=l,te=q,ne=J,re=g("src"),ie=Q,ae="toString",oe=(""+ie).split(ae);a.inspectSource=function(e){return ie.call(e)},(G.exports=function(e,t,n,r){var i="function"==typeof n;i&&(ne(n,"name")||te(n,"name",t)),e[t]!==n&&(i&&(ne(n,re)||te(n,re,e[t]?""+e[t]:oe.join(String(t)))),e===ee?e[t]=n:r?e[t]?e[t]=n:te(e,t,n):(delete e[t],te(e,t,n)))})(Function.prototype,ae,(function(){return"function"==typeof this&&this[re]||ie.call(this)}));var se=G.exports,le=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},ue=le,ce=l,de=a,he=q,fe=se,pe=function(e,t,n){if(ue(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},ve="prototype",ge=function(e,t,n){var r,i,a,o,s=e&ge.F,l=e&ge.G,u=e&ge.S,c=e&ge.P,d=e&ge.B,h=l?ce:u?ce[t]||(ce[t]={}):(ce[t]||{})[ve],f=l?de:de[t]||(de[t]={}),p=f[ve]||(f[ve]={});for(r in l&&(n=t),n)a=((i=!s&&h&&void 0!==h[r])?h:n)[r],o=d&&i?pe(a,ce):c&&"function"==typeof a?pe(Function.call,a):a,h&&fe(h,r,a,e&ge.U),f[r]!=a&&he(f,r,o),c&&p[r]!=a&&(p[r]=a)};ce.core=de,ge.F=1,ge.G=2,ge.S=4,ge.P=8,ge.B=16,ge.W=32,ge.U=64,ge.R=128;var me,_e,ye,be=ge,we=Math.ceil,xe=Math.floor,Se=function(e){return isNaN(e=+e)?0:(e>0?xe:we)(e)},ke=Se,Ce=Math.min,Te=Se,Ae=Math.max,Me=Math.min,Ee=Z,Oe=function(e){return e>0?Ce(ke(e),9007199254740991):0},Le=function(e,t){return(e=Te(e))<0?Ae(e+t,0):Me(e,t)},ze=f("keys"),Ne=g,Ie=function(e){return ze[e]||(ze[e]=Ne(e))},Pe=J,De=Z,Be=(me=!1,function(e,t,n){var r,i=Ee(e),a=Oe(i.length),o=Le(n,a);if(me&&t!=t){for(;a>o;)if((r=i[o++])!=r)return!0}else for(;a>o;o++)if((me||o in i)&&i[o]===t)return me||o||0;return!me&&-1}),Re=Ie("IE_PROTO"),Fe="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),qe=function(e,t){var n,r=De(e),i=0,a=[];for(n in r)n!=Re&&Pe(r,n)&&a.push(n);for(;t.length>i;)Pe(r,n=t[i++])&&(~Be(a,n)||a.push(n));return a},je=Fe,Ve=Object.keys||function(e){return qe(e,je)},$e=k,He=A,We=Ve,Ue=E?Object.defineProperties:function(e,t){He(e);for(var n,r=We(t),i=r.length,a=0;i>a;)$e.f(e,n=r[a++],t[n]);return e};var Ye=A,Xe=Ue,Ze=Fe,Ge=Ie("IE_PROTO"),Ke=function(){},Je="prototype",Qe=function(){var e,t=O()("iframe"),n=Ze.length;for(t.style.display="none",function(){if(ye)return _e;ye=1;var e=l.document;return _e=e&&e.documentElement}().appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("