From dfae9d705dad263f5113675b19f0d6bab371c09a Mon Sep 17 00:00:00 2001 From: xiaogang <825201136@qq.com> Date: Mon, 26 Aug 2024 13:35:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=96=B0=E6=89=93=E5=8C=85=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E4=B8=BB=E6=A8=A1=E7=89=88=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/build/h5/assets/index-CAsQWoln.css | 1 - dist/build/h5/assets/index-CDcvpcFA.css | 1 + .../{index-D7ox9T_c.js => index-ChsP0NUI.js} | 4 +- .../h5/assets/pages-index-index.CqSSCFga.js | 1 + .../h5/assets/pages-index-index.HOeYug3n.js | 1 - dist/build/h5/index.html | 4 +- env/.env | 2 +- src/pages/index/index.vue | 1 - src/pages/jlgh/coupon.vue | 3 - src/pages/jlgh/orderDetail.vue | 111 ++++++++++++++---- src/pages/jlgh/redeem.vue | 54 +++++++-- 11 files changed, 139 insertions(+), 44 deletions(-) delete mode 100644 dist/build/h5/assets/index-CAsQWoln.css create mode 100644 dist/build/h5/assets/index-CDcvpcFA.css rename dist/build/h5/assets/{index-D7ox9T_c.js => index-ChsP0NUI.js} (99%) create mode 100644 dist/build/h5/assets/pages-index-index.CqSSCFga.js delete mode 100644 dist/build/h5/assets/pages-index-index.HOeYug3n.js diff --git a/dist/build/h5/assets/index-CAsQWoln.css b/dist/build/h5/assets/index-CAsQWoln.css deleted file mode 100644 index 34fc485..0000000 --- a/dist/build/h5/assets/index-CAsQWoln.css +++ /dev/null @@ -1 +0,0 @@ -.main-title-color[data-v-07b3976d]{color:#d14328} diff --git a/dist/build/h5/assets/index-CDcvpcFA.css b/dist/build/h5/assets/index-CDcvpcFA.css new file mode 100644 index 0000000..4a395f2 --- /dev/null +++ b/dist/build/h5/assets/index-CDcvpcFA.css @@ -0,0 +1 @@ +.main-title-color[data-v-441c737e]{color:#d14328} diff --git a/dist/build/h5/assets/index-D7ox9T_c.js b/dist/build/h5/assets/index-ChsP0NUI.js similarity index 99% rename from dist/build/h5/assets/index-D7ox9T_c.js rename to dist/build/h5/assets/index-ChsP0NUI.js index 0f22f73..2e533aa 100644 --- a/dist/build/h5/assets/index-D7ox9T_c.js +++ b/dist/build/h5/assets/index-ChsP0NUI.js @@ -1,6 +1,6 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./pages-index-index.HOeYug3n.js","./index-CAsQWoln.css"] + __vite__mapDeps.viteFileDeps = ["./pages-index-index.CqSSCFga.js","./index-CDcvpcFA.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } @@ -22,7 +22,7 @@ function d(e,t){const n=new Set(e.split(","));return e=>n.has(e)}const f={},p=[] * vue-router v4.3.2 * (c) 2024 Eduardo San Martin Morote * @license MIT - */var Ra,Va,za,Da;(Va=Ra||(Ra={})).pop="pop",Va.push="push",(Da=za||(za={})).back="back",Da.forward="forward",Da.unknown="";const Wa=Symbol("");var Ha,Ua;(Ua=Ha||(Ha={}))[Ua.aborted=4]="aborted",Ua[Ua.cancelled=8]="cancelled",Ua[Ua.duplicated=16]="duplicated";const qa=ot((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let Ga;function Ya(){if(!Ga){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage[me]||__uniConfig.locale||navigator.language,Ga=Ba(e),qa()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>Ga.add(e,__uniConfig.locales[e]))),Ga.setLocale(e)}}return Ga}function Ka(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const Xa=ot((()=>{const e="uni.async.",t=["error"];Ya().add(Aa,Ka(e,t,["The connection timed out, click the screen to try again."]),!1),Ya().add(ja,Ka(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),Ya().add(La,Ka(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),Ya().add(Ea,Ka(e,t,["连接服务器超时,点击屏幕重试"]),!1),Ya().add(Ta,Ka(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),Ja=ot((()=>{const e="uni.showToast.",t=["unpaired"];Ya().add(Aa,Ka(e,t,["Please note showToast must be paired with hideToast"]),!1),Ya().add(ja,Ka(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),Ya().add(La,Ka(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),Ya().add(Ea,Ka(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),Ya().add(Ta,Ka(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),Za=ot((()=>{const e="uni.showLoading.",t=["unpaired"];Ya().add(Aa,Ka(e,t,["Please note showLoading must be paired with hideLoading"]),!1),Ya().add(ja,Ka(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),Ya().add(La,Ka(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),Ya().add(Ea,Ka(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),Ya().add(Ta,Ka(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)}));function Qa(e){const t=new _t;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,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}const el="invokeViewApi",tl="invokeServiceApi";let nl=1;const ol=Object.create(null);function rl(e,t){return e+"."+t}function il({id:e,name:t,args:n},o){t=rl(o,t);const r=t=>{e&&Cp.publishHandler(el+"."+e,t)},i=ol[t];i?i(n,r):r({})}const sl=y(Qa("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=Cp,i=n?nl++:0;n&&o(tl+"."+i,n,!0),r(tl,{id:i,name:e,args:t})}}),al=350,ll=10,cl=lt(!0);let ul;function dl(){ul&&(clearTimeout(ul),ul=null)}let fl=0,pl=0;function hl(e){if(dl(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];fl=t,pl=n,ul=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)}),al)}function gl(e){if(!ul)return;if(1!==e.touches.length)return dl();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-fl)>ll||Math.abs(n-pl)>ll?dl():void 0}function ml(e,t){const n=Number(e);return isNaN(n)?t:n}function vl(){const e=__uniConfig.globalStyle||{},t=ml(e.rpxCalcMaxDeviceWidth,960),n=ml(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 yl(){vl(),it(),window.addEventListener("touchstart",hl,cl),window.addEventListener("touchmove",gl,cl),window.addEventListener("touchend",dl,cl),window.addEventListener("touchcancel",dl,cl)}function bl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var wl,_l,xl=["top","left","right","bottom"],Sl={};function Cl(){return _l="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 kl(){if(_l="string"==typeof _l?_l:Cl()){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");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),xl.forEach((function(e){s(o,e)})),document.body.appendChild(o),i(),wl=!0}else xl.forEach((function(e){Sl[e]=0}));function r(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function i(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:_l+"(safe-area-inset-"+n+")"};r(o,c),r(s,c),r(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),i((function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,r=s.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,function(e){Ol.length||setTimeout((function(){var e={};Ol.forEach((function(t){e[t]=Sl[t]})),Ol.length=0,El.forEach((function(t){t(e)}))}),0);Ol.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(Sl,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function $l(e){return wl||kl(),Sl[e]}var Ol=[];var El=[];const Tl=bl({get support(){return 0!=("string"==typeof _l?_l:Cl()).length},get top(){return $l("top")},get left(){return $l("left")},get right(){return $l("right")},get bottom(){return $l("bottom")},onChange:function(e){Cl()&&(wl||kl(),"function"==typeof e&&El.push(e))},offChange:function(e){var t=El.indexOf(e);t>=0&&El.splice(t,1)}}),Al=_a((()=>{}),["prevent"]);function Ll(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function jl(){const e=Ll(document.documentElement.style,"--window-top");return e?e+Tl.top:0}function Pl(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function Ml(e){return Symbol(e)}const Il="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",Nl="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 Fl(e,t="#000",n=27){return zi("svg",{width:n,height:n,viewBox:"0 0 32 32"},[zi("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Bl(){{const{$pageInstance:e}=Qi();return e&&e.proxy.$page.id}}function Rl(){const e=lf(),t=e.length;if(t)return e[t-1]}function Vl(){const e=Rl();if(e)return e.$page.meta}function zl(){const e=Vl();return e?e.id:-1}function Dl(){const e=Rl();if(e)return e.$vm}const Wl=["navigationBar","pullToRefresh"];function Hl(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=y({id:t},n,e);Wl.forEach((t=>{o[t]=y({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function Ul(e,t,n){if(O(e))n=t,t=e,e=Dl();else if("number"==typeof e){const t=lf().find((t=>t.$page.id===e));e=t?t.$vm:Dl()}if(!e)return;const o=e.$[t];return o&&tt(o,n)}function ql(e){e.preventDefault()}let Gl,Yl=0;function Kl({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,r=!1,i=!0;const s=()=>{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-Yl)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(Yl=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(Gl=setTimeout(s,300))),o=!1};return function(){clearTimeout(Gl),o||requestAnimationFrame(s),o=!0}}function Xl(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return Xl(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r0?e.split("/"):[];return i.splice(i.length-r-1,r+1),et(i.concat(n).join("/"))}function Jl(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}class Zl{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(Xe(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&&Xe(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=nc(this.$el.querySelector(e));return t?Ql(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];$(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&Cp.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 Ql(e,t=!0){if(t&&e&&(e=Ke(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Zl(e)),e.$el.__wxsComponentDescriptor}function ec(e,t){return Ql(e,t)}function tc(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>ec(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=Ke(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,ec(r,!1)]}}function nc(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function oc(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=ct(t?r:function(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}(r)),a=ct(i);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){y(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function rc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function ic(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=jl();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[rc(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=jl();i.touches=ic(e.touches,t),i.changedTouches=ic(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach((t=>{Object.defineProperty(i,t,{get:()=>e[t]})}))}return tc(i,t,n)||[i]},createNativeEvent:oc},Symbol.toStringTag,{value:"Module"});function ac(e){!function(e){const t=e.globalProperties;y(t,sc),t.$gcd=ec}(e._context.config)}let lc=1;function cc(e){return(e||zl())+"."+el}const uc=y(Qa("view"),{invokeOnCallback:(e,t)=>kp.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=kp,s=o?lc++:0;o&&r(el+"."+s,o,!0),i(cc(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=kp,a=lc++,l=el+"."+a;return r(l,n),s(cc(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function dc(e){Ul(Rl(),Le,e),kp.invokeOnCallback("onWindowResize",e)}function fc(e){const t=Rl();Ul($f(),we,e),Ul(t,we)}function pc(){Ul($f(),_e),Ul(Rl(),_e)}const hc=[Pe,Ie];function gc(){hc.forEach((e=>kp.subscribe(e,function(e){return(t,n)=>{Ul(parseInt(n),e,t)}}(e))))}function mc(){!function(){const{on:e}=kp;e(Le,dc),e(qe,fc),e(Ge,pc)}(),gc()}function vc(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new gt(this.$page.id)),e.eventChannel}}function yc(e){e._context.config.globalProperties.getOpenerEventChannel=vc}function bc(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function wc(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Au(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function _c(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){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"],r=["width","height","left","right","top","bottom"],i=e.animates,s=e.option,a=s.transition,l={},c=[];return i.forEach((e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(s=s.map(wc)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];l[i]=r.includes(i)?wc(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{i()}),0)}const xc={props:["animation"],watch:{animation:{deep:!0,handler(){_c(this)}}},mounted(){_c(this)}},Sc=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(xc),Cc(e)},Cc=e=>(e.__reserved=!0,e.compatConfig={MODE:3},cr(e));function kc(e){return e.__wwe=!0,e}function $c(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=ct(n),{type:o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const Oc={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Ec(e){const t=Gn(!1);let n,o,r=!1;function i(){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),r=!0,n=setTimeout((()=>{t.value=!0,r||i()}),parseInt(e.hoverStartTime)))}function a(){r=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:kc((function(e){e.touches.length>1||s(e)})),onMousedown:kc((function(e){r||(s(e),window.addEventListener("mouseup",l))})),onTouchend:kc((function(){a()})),onMouseup:kc((function(){r&&l()})),onTouchcancel:kc((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function Tc(e,t){return O(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const Ac=Ml("uf"),Lc=Ml("ul");function jc(e,t,n){const o=Bl();n&&!e||M(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Cp.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Cp.on(r,t[r]):e&&Cp.on(`uni-${r}-${o}-${e}`,t[r])}))}function Pc(e,t,n){const o=Bl();n&&!e||M(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Cp.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Cp.off(r,t[r]):e&&Cp.off(`uni-${r}-${o}-${e}`,t[r])}))}const Mc=Sc({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=Gn(null),o=ei(Ac,!1),{hovering:r,binding:i}=Ec(e);Ya();const s=kc(((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;})),a=ei(Lc,!1);return a&&(a.addHandler(s),Cr((()=>{a.removeHandler(s)}))),function(e,t){jc(e.id,t),Uo((()=>e.id),((e,n)=>{Pc(n,t,!0),jc(e,t,!0)})),kr((()=>{Pc(e.id,t)}))}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=Tc(e,"disabled"),l=Tc(e,"loading"),c=Tc(e,"plain"),u=o&&"none"!==o;return zi("uni-button",Yi({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}});function Ic(e){const{base:t}=__uniConfig.router;return 0===et(e).indexOf(t)?et(e):t+e}function Nc(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0===e.indexOf("./static/")||n&&0===e.indexOf("./"+n+"/"))&&(e=e.slice(1)),0===e.indexOf("/")){if(0!==e.indexOf("//"))return Ic(e.slice(1));e="https:"+e}if(ve.test(e)||ye.test(e)||0===e.indexOf("blob:"))return e;const o=lf();return o.length?Ic(Xl(o[o.length-1].$page.route,e).slice(1)):e}const Fc=navigator.userAgent,Bc=/android/i.test(Fc),Rc=/iphone|ipad|ipod/i.test(Fc),Vc=Fc.match(/Windows NT ([\d|\d.\d]*)/i),zc=/Macintosh|Mac/i.test(Fc),Dc=/Linux|X11/i.test(Fc),Wc=zc&&navigator.maxTouchPoints>0;function Hc(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Uc(e){return e&&90===Math.abs(window.orientation)}function qc(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Gc(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}const Yc=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function Kc(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function Xc(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let Jc=1;const Zc={};function Qc(e,t,n){if("number"==typeof e){const o=Zc[e];if(o)return o.keepAlive||delete Zc[e],o.callback(t,n)}return t}const eu="success",tu="fail",nu="complete";function ou(e,t={},{beforeAll:n,beforeSuccess:o}={}){M(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];$(o)&&(t[n]=Xc(o),delete e[n])}return t}(t),a=$(r),l=$(i),c=$(s),u=Jc++;return function(e,t,n,o=!1){Zc[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),$(n)&&n(u),u.errMsg===e+":ok"?($(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)})),u}const ru="success",iu="fail",su="complete",au={},lu={};function cu(e,t){return function(n){return e(n,t)||n}}function uu(e,t,n){let o=!1;for(let r=0;re(t),catch(){}}}function du(e,t={}){return[ru,iu,su].forEach((n=>{const o=e[n];if(!x(o))return;const r=t[n];t[n]=function(e){uu(o,e,t).then((e=>$(r)&&r(e)||e))}})),t}function fu(e,t){const n=[];x(au.returnValue)&&n.push(...au.returnValue);const o=lu[e];return o&&x(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function pu(e){const t=Object.create(null);Object.keys(au).forEach((e=>{"returnValue"!==e&&(t[e]=au[e].slice())}));const n=lu[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function hu(e,t,n,o){const r=pu(e);if(r&&Object.keys(r).length){if(x(r.invoke)){return uu(r.invoke,n).then((n=>t(du(pu(e),n),...o)))}return t(du(r,n),...o)}return t(n,...o)}function gu(e,t){return(n={},...o)=>function(e){return!(!M(e)||![eu,tu,nu].find((t=>$(e[t]))))}(n)?fu(e,hu(e,t,n,o)):fu(e,new Promise(((r,i)=>{hu(e,t,y(n,{success:r,fail:i}),o)})))}function mu(e,t,n,o={}){const r=t+":fail"+(n?" "+n:"");return delete o.errCode,Qc(e,y({errMsg:r},o))}function vu(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(O(e))return e}const r=function(e,t){const n=e[0];if(!t||!M(t.formatArgs)&&M(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i{const r=ou(e,n,o),i=vu(0,[n],0,o);return i?mu(r,e,i):t(n,{resolve:t=>function(e,t,n){return Qc(e,y(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>mu(r,e,function(e){return!e||O(e)?e:e.stack?(console.error(e.message+he+e.stack),e.message):e}(t),n)})}}function bu(e,t,n,o){return gu(e,yu(e,t,0,o))}function wu(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=vu(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function _u(e,t,n,o){return gu(e,function(e,t,n,o){return yu(e,t,0,o)}(e,t,0,o))}let xu=!1,Su=0,Cu=0,ku=960,$u=375,Ou=750;function Eu(){const{platform:e,pixelRatio:t,windowWidth:n}=function(){const e=Hc(),t=Gc(qc(e,Uc(e)));return{platform:Rc?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();Su=n,Cu=t,xu="ios"===e}function Tu(e,t){const n=Number(e);return isNaN(n)?t:n}const Au=wu(0,((e,t)=>{if(0===Su&&(Eu(),function(){const e=__uniConfig.globalStyle||{};ku=Tu(e.rpxCalcMaxDeviceWidth,960),$u=Tu(e.rpxCalcBaseDeviceWidth,375),Ou=Tu(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Su;n=e===Ou||n<=ku?n:$u;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Cu&&xu?.5:1),e<0?-o:o}));function Lu(e,t){Object.keys(t).forEach((n=>{$(t[n])&&(e[n]=function(e,t){const n=t?e?e.concat(t):x(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n{O(e)&&M(t)?Lu(lu[e]||(lu[e]={}),t):M(e)&&Lu(au,e)})),Pu=wu(0,(()=>{const e=$f();return e&&e.$vm?e.$vm.$locale:Ya().getLocale()})),Mu={[$e]:[],[ke]:[],[Se]:[],[we]:[],[_e]:[]};const Iu="json",Nu=["text","arraybuffer"],Fu=encodeURIComponent;ArrayBuffer,Boolean;const Bu={formatArgs:{method(e,t){t.method=Kc((e||"").toUpperCase(),Yc)},data(e,t){t.data=e||""},url(e,t){t.method===Yc[0]&&M(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter((e=>e)),s={};i.forEach((e=>{const t=e.split("=");s[t[0]]=t[1]}));for(const a in t)if(_(t,a)){let e=t[a];null==e?e="":M(e)&&(e=JSON.stringify(e)),s[Fu(a)]=Fu(e)}return r=Object.keys(s).map((e=>`${e}=${s[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==Yc[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Iu).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Nu.indexOf(t.responseType)&&(t.responseType="text")}}};const Ru={url:{type:String,required:!0}},Vu="navigateTo",zu="redirectTo",Du="switchTab",Wu="preloadPage",Hu="unPreloadPage",Uu=(qu(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),qu(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Ku(Vu));function qu(e){return{animationType:{type:String,validator(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}let Gu;function Yu(){Gu=""}function Ku(e){return{formatArgs:{url:Xu(e)},beforeAll:Yu}}function Xu(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/"))return e;let t="";const n=lf();return n.length&&(t=n[n.length-1].$page.route),Xl(t,e)}(t)).split("?")[0],r=Jl(o,!0);if(!r)return"page `"+t+"` is not found";if(e===Vu||e===zu){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===Du&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==Du&&e!==Wu||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!O(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))})),o.length?e+"?"+o.join("&"):e}(t),e!==Hu)if(e!==Wu){if(Gu===t&&"appLaunch"!==n.openType)return`${Gu} locked`;__uniConfig.ready&&(Gu=t)}else if(r.meta.isTabBar){const e=lf(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}const Ju="setNavigationBarTitle",Zu=["success","loading","none","error"],Qu=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=Kc(e,Zu)},image(e,t){t.image=e?Nc(e):""},duration:1500,mask:!1}}),ed=bc(),td=bc();const nd=Sc({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=Gn(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),r=function(e,t,n){const o=jn({width:-1,height:-1});return Uo((()=>y({},o)),(e=>t("resize",e))),()=>{const t=e.value;o.width=t.offsetWidth,o.height=t.offsetHeight,n()}}(n,t,o);return function(e,t,n,o){hr(o),_r((()=>{t.initial&&go(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>zi("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[zi("div",{onScroll:r},[zi("div",null,null)],40,["onScroll"]),zi("div",{onScroll:r},[zi("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});let od;function rd(){}const id={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 sd(e,t,n){function o(e){const t=ds((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(od),document.addEventListener("click",rd,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",rd,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}Uo((()=>t.value),(e=>e&&o(e)))}const ad={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},ld={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},cd={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"]},ud=Sc({name:"Image",props:ad,setup(e,{emit:t}){const n=Gn(null),o=function(e,t){const n=Gn(""),o=ds((()=>{let e="auto",o="";const r=cd[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`})),r=jn({rootEl:e,src:ds((()=>t.src?Nc(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return _r((()=>{const t=e.value.style;r.origWidth=Number(t.width)||0,r.origHeight=Number(t.height)||0})),r}(n,e),r=$c(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=ld[o];if(!r)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){dd&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,a))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return Uo((()=>t.mode),((e,t)=>{ld[t]&&r(),ld[e]&&o()})),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,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();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;a(u,d,l),o(),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{a(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};Uo((()=>e.src),(e=>l(e))),Uo((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),_r((()=>l(e.src))),Cr((()=>c()))}(o,e,n,i,r),()=>zi("uni-image",{ref:n},[zi("div",{style:o.modeStyle},null,4),ld[e.mode]?zi(nd,{onResize:i},null,8,["onResize"]):zi("span",null,null)],512)}});const dd="Google Inc."===navigator.vendor;const fd=lt(!0),pd=[];let hd,gd=0;const md=e=>pd.forEach((t=>t.userAction=e));function vd(e={userAction:!1}){if(!hd){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!gd&&md(!0),gd++,setTimeout((()=>{! --gd&&md(!1)}),0)}),fd)})),hd=!0}pd.push(e)}function yd(){const e=jn({userAction:!1});return _r((()=>{vd(e)})),Cr((()=>{!function(e){const t=pd.indexOf(e);t>=0&&pd.splice(t,1)}(e)})),{state:e}}function bd(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 wd=function(){var e,t,n;e=zl(),n=bd,t=rl(e,t="getSelectedTextRange"),ol[t]||(ol[t]=n)};function _d(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null===e?"":String(e)}const xd=["none","text","decimal","numeric","tel","search","email","url"],Sd=y({},{name:{type:String,default:""},modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},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=>!!~xd.indexOf(e)},cursorColor:{type:String,default:""}},id),Cd=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function kd(e,t,n,o){const r=ht((n=>{t.value=_d(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout});Uo((()=>e.modelValue),r),Uo((()=>e.value),r);const i=function(e,t){let n,o,r=0;const i=function(...i){const s=Date.now();clearTimeout(n),o=()=>{o=null,r=s,e.apply(this,i)},s-r{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return wr((()=>{r.cancel(),i.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function $d(e,t){yd();const n=ds((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Uo((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),_r((()=>{n.value&&go(o)}))}function Od(e,t,n,o){wd();const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=Gn(null),r=$c(t,n),i=ds((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),s=ds((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),a=ds((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=ds((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t})),c=_d(e.modelValue,e.type)||_d(e.value,e.type),u=jn({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return Uo((()=>u.focus),(e=>n("update:focus",e))),Uo((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=kd(e,i,n,s);$d(e,r),sd(0,r);const{state:l}=function(){const e=jn({attrs:{}});return _r((()=>{let t=Qi();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}();!function(e,t){const n=ei(Ac,!1);if(!n)return;const o=Qi(),r={submit(){const n=o.proxy;return[n[e],O(t)?n[t]:t.value]},reset(){O(t)?o.proxy[t]="":t.value=""}};n.addField(r),Cr((()=>{n.removeField(r)}))}("name",i),function(e,t,n,o,r,i){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}Uo([()=>t.selectionStart,()=>t.selectionEnd],s),Uo((()=>t.cursor),a),Uo((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),$(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(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)}))}(r,i,e,s,a,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const Ed=Sc({name:"Input",props:y({},Sd,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...Cd],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=ds((()=>{let t="";switch(e.type){case"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=ds((()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(z(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}));let a,l=Gn("");const c=Gn(null),{fieldRef:u,state:d,scopedAttrsState:f,fixDisabledColor:p,trigger:h}=Od(e,c,t,((e,t)=>{const n=e.target;if("number"===i.value){if(a&&(n.removeEventListener("blur",a),a=null),n.validity&&!n.validity.valid){if((!l.value||!n.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",a=()=>{l.value=n.value=""},n.addEventListener("blur",a),!1;if(l.value)if(-1!==l.value.indexOf(".")){if("."!==e.data&&"deleteContentBackward"===e.inputType){const e=l.value.indexOf(".");return l.value=n.value=t.value=l.value.slice(0,e),!0}}else if("."===e.data)return l.value+=".",a=()=>{l.value=n.value=l.value.slice(0,-1)},n.addEventListener("blur",a),!1;return l.value=t.value=n.value="-"===l.value?"":l.value,!1}l.value=n.value;const o=t.maxlength;if(o>0&&n.value.length>o)return n.value=n.value.slice(0,o),t.value=n.value,!1}}));Uo((()=>d.value),(t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t)}));const g=["number","digit"],m=ds((()=>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?zi("input",{key:"disabled-input",ref:u,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:i.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"]):Xo(zi("input",{key:"input",ref:u,"onUpdate:modelValue":e=>d.value=e,disabled:!!e.disabled,type:i.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,["onUpdate:modelValue","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]),[[va,d.value]]);return zi("uni-input",{ref:c},[zi("div",{class:"uni-input-wrapper"},[Xo(zi("div",Yi(f.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ps,!(d.value.length||"-"===l.value)]]),"search"===e.confirmType?zi("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const Td=["class","style"],Ad=/^on[A-Z]+/,Ld=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Qi(),r=Yn({}),i=Yn({}),s=Yn({}),a=n.concat(Td);return o.attrs=jn(o.attrs),Wo((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(a.includes(n)?e.exclude[n]=o:Ad.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e)),{exclude:{},attrs:{},listeners:{}});var n;r.value=e.attrs,i.value=e.listeners,s.value=e.exclude})),{$attrs:r,$listeners:i,$excludeAttrs:s}},jd=["navigate","redirect","switchTab","reLaunch","navigateBack"],Pd=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],Md=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],Id={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~jd.indexOf(e))},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},animationType:{type:String,default:"",validator:e=>!e||Pd.concat(Md).includes(e)},animationDuration:{type:[String,Number],default:300}};y({},Id,{renderLink:{type:Boolean,default:!0}});const Nd={ensp:" ",emsp:" ",nbsp:" "};function Fd(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&Nd[t]&&" "===i&&(i=Nd[t]),r?(o+="n"===i?he:"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,Nd.nbsp).replace(/ /g,Nd.ensp).replace(/ /g,Nd.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split(he)}const Bd=Sc({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=Gn(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==ki){const n=Fd(t.children,{space:e.space,decode:e.decode}),r=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(Wi(e)),t!==r&&o.push(zi("br"))}))}else o.push(t)})),zi("uni-text",{ref:n,selectable:!!e.selectable||null},[zi("span",null,o)],8,["selectable"])}}}),Rd=Sc({name:"View",props:y({},Oc),setup(e,{slots:t}){const n=Gn(null),{hovering:o,binding:r}=Ec(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?zi("uni-view",Yi({class:o.value?i:"",ref:n},r),[t.default&&t.default()],16):zi("uni-view",{ref:n},[t.default&&t.default()],512)}}});function Vd(e,t,n,o){$(t)&&yr(e,t.bind(n),o)}function zd(e,t,n){var o;const r=e.mpType||n.$mpType;if(r&&"component"!==r&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!$(t))&&(vt.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];x(r)?r.forEach((e=>Vd(o,e,n,t))):Vd(o,r,n,t)}})),"page"===r)){t.__isVisible=!0;try{const e=t.attrs.__pageQuery;0,Ul(n,Oe,e),delete t.attrs.__pageQuery,"preloadPage"!==(null==(o=n.$page)?void 0:o.openType)&&Ul(n,we)}catch(i){console.error(i.message+he+i.stack)}}}function Dd(e,t,n){zd(e,t,n)}function Wd(e,t,n){return e[t]=n}function Hd(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function Ud(e){return function(t,n,o){if(!n)throw t;const r=e._instance;if(!r||!r.proxy)throw t;Ul(r.proxy,Se,t)}}function qd(e,t){return e?[...new Set([].concat(e,t))]:t}function Gd(e){const t=e._context.config;var n;t.errorHandler=bt(e,Ud),n=t.optionMergeStrategies,vt.forEach((e=>{n[e]=qd}));const o=t.globalProperties;o.$set=Wd,o.$applyOptions=Dd,o.$callMethod=Hd,function(e){yt.forEach((t=>t(e)))}(e)}const Yd=Ml("upm");function Kd(){return ei(Yd)}function Xd(e){const t=function(e){return jn(JSON.parse(JSON.stringify(Hl(__uniRoutes[0].meta,e))))}(e);return Qr(Yd,t),t}function Jd(){const e=location.href,t=e.indexOf("?"),n=e.indexOf("#",t>-1?t:0);let o={};t>-1&&(o=pt(e.slice(t+1,n>-1?n:e.length)));const{meta:r}=__uniRoutes[0],i=et(r.route);return{meta:r,query:o,path:i,matched:[{path:i}]}}function Zd(){return history.state&&history.state.__id__||1}const Qd=window.CSS&&window.CSS.supports;function ef(e){return Qd&&(Qd(e)||Qd.apply(window.CSS,e.split(":")))}const tf=ef("top:env(a)"),nf=ef("top:constant(a)"),of=(()=>tf?"env":nf?"constant":"")();function rf(e){var t,n;Pl({"--window-top":(n=0,of?`calc(${n}px + ${of}(safe-area-inset-top))`:`${n}px`),"--window-bottom":(t=0,of?`calc(${t}px + ${of}(safe-area-inset-bottom))`:`${t}px`)})}const sf="$$",af=new Map;function lf(){const e=[],t=af.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}let cf=Zd();function uf(e){const t=Kd();return function(e,t,n,o,r,i){const{id:s,route:a}=o,l=St(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:et(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",__uniRoutes[0].path,{},t)}function df(e){e.$route;const t=uf();!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),af.set(ff(t.path,t.id),e)}function ff(e,t){return e+sf+t}function pf(e,t){!function(e){const t=gf(e),{body:n}=document;mf&&n.removeAttribute(mf),t&&n.setAttribute(t,""),mf=t}(e),rf(),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),function(e,t){document.removeEventListener("touchmove",ql),vf&&document.removeEventListener("scroll",vf);if(t.disableScroll)return document.addEventListener("touchmove",ql);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!n&&!o&&!r)return;const i={},s=e.proxy.$page.id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&Cp.publishHandler(Pe,{scrollTop:o},e),n&&Cp.emit(e+"."+Pe,{scrollTop:o})}}(s,n,r));o&&(i.onReachBottomDistance=t.onReachBottomDistance||ge,i.onReachBottom=()=>Cp.publishHandler(Ie,{},s));vf=Kl(i),requestAnimationFrame((()=>document.addEventListener("scroll",vf)))}(e,t)}function hf(e){const t=gf(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function gf(e){return e.type.__scopeId}let mf,vf;const yf={install(e){Gd(e),ac(e),yc(e),e.config.warnHandler||(e.config.warnHandler=bf)}};function bf(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 wf={class:"uni-async-loading"},_f=zi("i",{class:"uni-loading"},null,-1),xf=Cc({name:"AsyncLoading",render:()=>(Ti(),Mi("div",wf,[_f]))});function Sf(){window.location.reload()}const Cf=Cc({name:"AsyncError",setup(){Xa();const{t:e}=Ya();return()=>zi("div",{class:"uni-async-error",onClick:Sf},[e("uni.async.error")],8,["onClick"])}});let kf;function $f(){return kf}function Of(e){kf=e,Object.defineProperty(kf.$.ctx,"$children",{get:()=>lf().map((e=>e.$vm))});const t=kf.$.appContext.app;t.component(xf.name)||t.component(xf.name,xf),t.component(Cf.name)||t.component(Cf.name,Cf),function(e){e.$vm=e,e.$mpType="app";const t=Gn(Ya().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(kf),function(e,t){const n=e.$options||{};n.globalData=y(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(kf),mc(),yl()}function Ef(e,{clone:t,init:n,setup:o,before:r}){t&&(e=y({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=Qi();n(r.proxy);const s=o(r);if(i)return i(s||e,t)},e}function Tf(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Ef(e.default,t):Ef(e,t)}function Af(e){return Tf(e,{clone:!0,init:df,setup(e){e.$pageInstance=e;const t=Jd(),n=dt(t.query);e.attrs.__pageQuery=n,e.proxy.$page.options=n,e.proxy.options=n;const o=Kd();var r,i;return wr((()=>{pf(e,o)})),_r((()=>{hf(e);const{onReady:n}=e;n&&U(n),Mf(t)})),mr((()=>{if(!e.__isVisible){pf(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&U(n),go((()=>{Mf(t)}))}}),"ba",r),function(e,t){mr(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;const{onHide:t}=e;t&&U(t)}})),i=o.id,Cp.subscribe(rl(i,el),il),Cr((()=>{!function(e){Cp.unsubscribe(rl(e,el)),Object.keys(ol).forEach((t=>{0===t.indexOf(e+".")&&delete ol[t]}))}(o.id)})),n}})}function Lf(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Xf(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";kp.emit(Le,{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function jf(e){M(e.data)&&e.data.type===be&&kp.emit(Ye,e.data.data,e.data.pageId)}function Pf(){const{emit:e}=kp;"visible"===document.visibilityState?e(qe,y({},td)):e(Ge)}function Mf(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&Ul("onTabItemTap",{index:n,text:t,pagePath:o})}const If=({name:e,arg:t})=>{"postMessage"===e||uni[e](t)},Nf=ot((()=>kp.on(Ye,If))),Ff=Sc({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},setup(e){Nf();const t=Gn(null),n=Gn(null),{$attrs:o,$excludeAttrs:r,$listeners:i}=Ld({excludeListeners:!0});let s;return(()=>{const r=document.createElement("iframe");Wo((()=>{for(const e in o.value)if(_(o.value,e)){const t=o.value[e];r[e]=t}})),Wo((()=>{r.src=Nc(e.src)})),n.value=r,s=function(e,t,n){const o=()=>{var o,r;if(n){const{top:n,left:o,width:r,height:i}=e.value.getBoundingClientRect();nt(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:o+"px",width:r+"px",height:i+"px"})}else nt(t.value,{width:(null==(o=e.value)?void 0:o.style.width)||"300px",height:(null==(r=e.value)?void 0:r.style.height)||"150px"})};return o}(t,n,e.fullscreen),e.fullscreen&&document.body.appendChild(r)})(),_r((()=>{var o;s(),!e.fullscreen&&(null==(o=t.value)||o.appendChild(n.value))})),hr((()=>{e.fullscreen&&(n.value.style.display="block")})),gr((()=>{e.fullscreen&&(n.value.style.display="none")})),Cr((()=>{e.fullscreen&&document.body.removeChild(n.value)})),()=>zi(Si,null,[zi("uni-web-view",Yi({class:e.fullscreen?"uni-webview--fullscreen":""},i.value,r.value,{ref:t}),[zi(nd,{onResize:s},null,8,["onResize"])],16)])}});const Bf="__DC_STAT_UUID",Rf=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Vf;function zf(){if(Vf=Vf||Rf[Bf],!Vf){Vf=Date.now()+""+Math.floor(1e7*Math.random());try{Rf[Bf]=Vf}catch(e){}}return Vf}function Df(){if(!0!==__uniConfig.darkmode)return O(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Wf(){let e,t="0",n="",o="phone";const r=navigator.language;if(Rc){e="iOS";const o=Fc.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=Fc.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(Bc){e="Android";const o=Fc.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=Fc.match(/\((.+?)\)/),i=r?r[1].split(";"):Fc.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=Hc(),n=Uc(t),o=qc(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=Gc(o);let s=window.innerHeight;const a=Tl.top,l={left:Tl.left,right:i-Tl.right,top:Tl.top,bottom:s-Tl.bottom,width:i-Tl.left-Tl.right,height:s-Tl.top-Tl.bottom},{top:c,bottom:u}=function(){const e=document.documentElement.style,t=jl(),n=Ll(e,"--window-bottom"),o=Ll(e,"--window-left"),r=Ll(e,"--window-right"),i=Ll(e,"--top-window-height");return{top:t,bottom:n?n+Tl.bottom:0,left:o?o+Tl.left:0,right:r?r+Tl.right:0,topWindowHeight:i||0}}();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:Tl.top,right:Tl.right,bottom:Tl.bottom,left:Tl.left},screenTop:r-s}}));let Uf,qf=!0;function Gf(){qf&&(Uf=Wf())}const Yf=wu(0,(()=>{Gf();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a}=Uf;return{brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:zf(),deviceOrientation:s,deviceType:a,model:o,platform:r,system:i}})),Kf=wu(0,(()=>{Gf();const{theme:e,language:t,browserName:n,browserVersion:o}=Uf;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Pu?Pu():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:""}})),Xf=wu(0,(()=>{qf=!0,Gf(),qf=!1;const e=Hf(),t=Yf(),n=Kf();qf=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=Uf,l=y(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:s.toLocaleLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return M(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(l)}));const Jf=wu(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)}));function Zf(e){const t=localStorage&&localStorage.getItem(e);if(!O(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=O(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 Qf=wu(0,(e=>{try{return Zf(e)}catch(t){return""}}));vd();const ep={esc:["Esc","Escape"],enter:["Enter"]},tp=Object.keys(ep);function np(e,{onEsc:t,onEnter:n}){const o=Gn(e.visible),{key:r,disable:i}=function(){const e=Gn(""),t=Gn(!1),n=n=>{if(t.value)return;const o=tp.find((e=>-1!==ep[e].indexOf(n.key)));o&&(e.value=o),go((()=>e.value=""))};return _r((()=>{document.addEventListener("keyup",n)})),Cr((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}();return Uo((()=>e.visible),(e=>o.value=e)),Uo((()=>o.value),(e=>i.value=!e)),Wo((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}const op=bu("request",(({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,withCredentials:s,timeout:a=__uniConfig.networkTimeout.request},{resolve:l,reject:c})=>{let u=null;const d=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(O(t)||t instanceof ArrayBuffer)u=t;else if("json"===d)try{u=JSON.stringify(t)}catch(g){u=t.toString()}else if("urlencoded"===d){const e=[];for(const n in t)_(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const f=new XMLHttpRequest,p=new rp(f);f.open(o,e);for(const m in n)_(n,m)&&f.setRequestHeader(m,n[m]);const h=setTimeout((function(){f.onload=f.onabort=f.onerror=null,p.abort(),c("timeout",{errCode:5})}),a);return f.responseType=i,f.onload=function(){clearTimeout(h);const e=f.status;let t="text"===i?f.responseText:f.response;if("text"===i&&"json"===r)try{t=JSON.parse(t)}catch(g){}l({data:t,statusCode:e,header:ip(f.getAllResponseHeaders()),cookies:[]})},f.onabort=function(){clearTimeout(h),c("abort",{errCode:600003})},f.onerror=function(){clearTimeout(h),c(void 0,{errCode:5})},f.withCredentials=s,f.send(u),p}),0,Bu);class rp{constructor(e){this._xhr=e}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}function ip(e){const t={};return e.split(he).forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}function sp({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=$f().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:pt(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++cf,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then((i=>{if(function(e,t){return e instanceof Error&&Wa in e&&null==t}(i))return c(i.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 gt(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()}))}))}const ap=_u(Vu,(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>sp({type:Vu,url:e,events:t,isAutomatedTesting:n}).then(o).catch(r)),0,Uu);const lp={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Zu.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},cp="uni-toast__icon",up={light:"#fff",dark:"rgba(255,255,255,0.9)"},dp=e=>up[e],fp=cr({name:"Toast",props:lp,setup(e){Ja(),Za();const{Icon:t}=function(e){const t=Gn(dp(Df())),n=({theme:e})=>t.value=dp(e);Wo((()=>{var t;e.visible?(t=n,__uniConfig.darkmode&&kp.on(Ce,t)):function(e){kp.off(Ce,e)}(n)}));const o=ds((()=>{switch(e.icon){case"success":return zi(Fl(Il,t.value,38),{class:cp});case"error":return zi(Fl(Nl,t.value,38),{class:cp});case"loading":return zi("i",{class:[cp,"uni-loading"]},null,2);default:return null}}));return{Icon:o}}(e),n=np(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return zi(bs,{name:"uni-fade"},{default:()=>[Xo(zi("uni-toast",{"data-duration":r},[o?zi("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Al},null,40,["onTouchmove"]):"",s||t.value?zi("div",{class:"uni-toast"},[s?zi("img",{src:s,class:cp},null,10,["src"]):t.value,zi("p",{class:"uni-toast__content"},[i])]):zi("div",{class:"uni-sample-toast"},[zi("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Ps,n.value]])]})}}});let pp,hp,gp="";const mp=Ot();function vp(e){pp?y(pp,e):(pp=jn(y(e,{visible:!1})),go((()=>{var e,t,n;mp.run((()=>{Uo([()=>pp.visible,()=>pp.duration],(([e,t])=>{if(e){if(hp&&clearTimeout(hp),"onShowLoading"===gp)return;hp=setTimeout((()=>{bp("onHideToast")}),t)}else hp&&clearTimeout(hp)}))})),kp.on("onHidePopup",(()=>bp("onHidePopup"))),(e=fp,t=pp,n=()=>{},t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),Ca(cr({setup:()=>()=>(Ti(),Mi(e,t,null,16))}))).mount(function(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}("u-a-t"))}))),setTimeout((()=>{pp.visible=!0}),10)}const yp=_u("showToast",((e,{resolve:t,reject:n})=>{vp(e),gp="onShowToast",t()}),0,Qu);function bp(e){const{t:t}=Ya();if(!gp)return;let n="";if("onHideToast"===e&&"onShowToast"!==gp?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==gp&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);gp="",setTimeout((()=>{pp.visible=!1}),10)}function wp(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,kp.emit(ze,{titleText:t})}Wo(t),hr(t)}const _p=_u(Ju,((e,{resolve:t,reject:n})=>{!function(e,t,n,o,r){if(!e)return r("page not found");const{navigationBar:i}=e;switch(t){case"setNavigationBarColor":const{frontColor:e,backgroundColor:t,animation:o}=n,{duration:r,timingFunc:s}=o;e&&(i.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(i.backgroundColor=t),i.duration=r+"ms",i.timingFunc=s;break;case"showNavigationBarLoading":i.loading=!0;break;case"hideNavigationBarLoading":i.loading=!1;break;case Ju:const{title:a}=n;i.titleText=a}o()}(Vl(),Ju,e,t,n)})),xp="0px",Sp=Cc({name:"Layout",setup(e,{emit:t}){const n=Gn(null);Pl({"--status-bar-height":xp,"--top-window-height":xp,"--window-left":xp,"--window-right":xp,"--window-margin":xp,"--tab-bar-height":xp});const{layoutState:o,windowState:r}=function(){Jd();{const e=jn({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Uo((()=>e.marginWidth),(e=>Pl({"--window-margin":e+"px"}))),Uo((()=>e.leftWindowWidth+e.marginWidth),(e=>{Pl({"--window-left":e+"px"})})),Uo((()=>e.rightWindowWidth+e.marginWidth),(e=>{Pl({"--window-right":e+"px"})})),{layoutState:e,windowState:ds((()=>({})))}}}();!function(e,t){const n=Jd();function o(){const o=document.body.clientWidth,r=lf();let i={};if(r.length>0){i=r[r.length-1].$page.meta}else{const e=Jl(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((_(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,go((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,go((()=>{const e=t.value;e&&e.removeAttribute("style")})))}Uo([()=>n.path],o),_r((()=>{o(),window.addEventListener("resize",o)}))}(o,n);const i=function(e){const t=Gn(!1);return ds((()=>({"uni-app--showtabbar":e,"uni-app--maxwidth":t.value})))}(!1);return()=>{const e=zi(__uniRoutes[0].component);return zi("uni-app",{ref:n,class:i.value},[e,!1],2)}}});const Cp=y(sl,{publishHandler(e,t,n){kp.subscribeHandler(e,t,n)}}),kp=y(uc,{publishHandler(e,t,n){Cp.subscribeHandler(e,t,n)}}),$p=Cc({name:"PageBody",setup(e,t){const n=!1,o=Gn(null);return Uo((()=>n.enablePullDownRefresh),(()=>{o.value=null}),{immediate:!0}),()=>zi(Si,null,[!1,zi("uni-page-wrapper",o.value,[zi("uni-page-body",null,[Ar(t.slots,"default")])],16)])}}),Op=Cc({name:"Page",setup(e,t){const n=Xd(Zd());n.navigationBar;const o={};return wp(n),()=>zi("uni-page",{"data-page":n.route,style:o},[Ep(t)])}});function Ep(e){return Ti(),Mi($p,{key:0},{default:Ao((()=>[Ar(e.slots,"page")])),_:3})}const Tp={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Au;const Ap=Object.assign({}),Lp=Object.assign;window.__uniConfig=Lp({globalStyle:{backgroundColor:"#FFFFFF",navigationBar:{backgroundColor:"#f8f8f8",titleText:"场景营销",style:"default",type:"default",titleColor:"#000000"},isNVue:!1},easycom:{autoscan:!0,custom:{"^uni-(.*)":"@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue","^wd-(.*)":"wot-design-uni/components/wd-$1/wd-$1.vue","^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)":"z-paging/components/z-paging$1/z-paging$1.vue"}},compilerVersion:"4.14"},{appId:"H57F2ACE4",appName:"场景营销",appVersion:"1.0.0",appVersionCode:"100",async:Tp,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(Ap).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Lp(e[n]||(e[n]={}),Ap[t].default),e}),{}),router:{mode:"hash",base:"./",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const jp={delay:Tp.delay,timeout:Tp.timeout,suspensible:Tp.suspensible};Tp.loading&&(jp.loadingComponent={name:"SystemAsyncLoading",render:()=>zi(No(Tp.loading))}),Tp.error&&(jp.errorComponent={name:"SystemAsyncError",render:()=>zi(No(Tp.error))});const Pp=()=>u((()=>import("./pages-index-index.HOeYug3n.js")),__vite__mapDeps([0,1]),import.meta.url).then((e=>Af(e.default||e))),Mp=dr(Lp({loader:Pp},jp));function Ip(e,t){return"string"==typeof e?t:e}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=$f(),t=e&&e.$route&&e.$route.query||{};return()=>{return e=Mp,n=t,Ti(),Mi(Op,null,{page:Ao((()=>[zi(e,Lp({},n,{ref:"page"}),null,512)])),_:1});var e,n}}},loader:Pp,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 Np=e=>(t,n=Qi())=>{!ss&&yr(e,t,n)},Fp=Np(we),Bp=Np(_e),Rp=Np(xe),Vp=Np(Oe),zp=Np(Ee),Dp=cr({__name:"App",setup:e=>(Rp((()=>{console.log("App Launch")})),Fp((()=>{console.log("App Show")})),Bp((()=>{console.log("App Hide")})),()=>{})});Tf(Dp,{init:Of,setup(e){const t=Jd();return wr((()=>{var n;n=e,Object.keys(Mu).forEach((e=>{Mu[e].forEach((t=>{yr(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i,onError:s}=e,a=function({path:e,query:t}){return y(ed,{path:e,query:t}),y(td,ed),y({},ed)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:dt(t.query)});o&&U(o,a),r&&U(r,a),s&&(e.appContext.config.errorHandler=e=>{U(s,e)})})),_r((()=>{window.addEventListener("resize",ht(Lf,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",jf),document.addEventListener("visibilitychange",Pf),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{kp.emit(Ce,{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=()=>(Ti(),Mi(Sp));e.setup=(e,o)=>{const r=t&&t(e,o);return $(r)?n:r},e.render=n}}); + */var Ra,Va,za,Da;(Va=Ra||(Ra={})).pop="pop",Va.push="push",(Da=za||(za={})).back="back",Da.forward="forward",Da.unknown="";const Wa=Symbol("");var Ha,Ua;(Ua=Ha||(Ha={}))[Ua.aborted=4]="aborted",Ua[Ua.cancelled=8]="cancelled",Ua[Ua.duplicated=16]="duplicated";const qa=ot((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let Ga;function Ya(){if(!Ga){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage[me]||__uniConfig.locale||navigator.language,Ga=Ba(e),qa()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>Ga.add(e,__uniConfig.locales[e]))),Ga.setLocale(e)}}return Ga}function Ka(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const Xa=ot((()=>{const e="uni.async.",t=["error"];Ya().add(Aa,Ka(e,t,["The connection timed out, click the screen to try again."]),!1),Ya().add(ja,Ka(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),Ya().add(La,Ka(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),Ya().add(Ea,Ka(e,t,["连接服务器超时,点击屏幕重试"]),!1),Ya().add(Ta,Ka(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),Ja=ot((()=>{const e="uni.showToast.",t=["unpaired"];Ya().add(Aa,Ka(e,t,["Please note showToast must be paired with hideToast"]),!1),Ya().add(ja,Ka(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),Ya().add(La,Ka(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),Ya().add(Ea,Ka(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),Ya().add(Ta,Ka(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),Za=ot((()=>{const e="uni.showLoading.",t=["unpaired"];Ya().add(Aa,Ka(e,t,["Please note showLoading must be paired with hideLoading"]),!1),Ya().add(ja,Ka(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),Ya().add(La,Ka(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),Ya().add(Ea,Ka(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),Ya().add(Ta,Ka(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)}));function Qa(e){const t=new _t;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,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}const el="invokeViewApi",tl="invokeServiceApi";let nl=1;const ol=Object.create(null);function rl(e,t){return e+"."+t}function il({id:e,name:t,args:n},o){t=rl(o,t);const r=t=>{e&&Cp.publishHandler(el+"."+e,t)},i=ol[t];i?i(n,r):r({})}const sl=y(Qa("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=Cp,i=n?nl++:0;n&&o(tl+"."+i,n,!0),r(tl,{id:i,name:e,args:t})}}),al=350,ll=10,cl=lt(!0);let ul;function dl(){ul&&(clearTimeout(ul),ul=null)}let fl=0,pl=0;function hl(e){if(dl(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];fl=t,pl=n,ul=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)}),al)}function gl(e){if(!ul)return;if(1!==e.touches.length)return dl();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-fl)>ll||Math.abs(n-pl)>ll?dl():void 0}function ml(e,t){const n=Number(e);return isNaN(n)?t:n}function vl(){const e=__uniConfig.globalStyle||{},t=ml(e.rpxCalcMaxDeviceWidth,960),n=ml(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 yl(){vl(),it(),window.addEventListener("touchstart",hl,cl),window.addEventListener("touchmove",gl,cl),window.addEventListener("touchend",dl,cl),window.addEventListener("touchcancel",dl,cl)}function bl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var wl,_l,xl=["top","left","right","bottom"],Sl={};function Cl(){return _l="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 kl(){if(_l="string"==typeof _l?_l:Cl()){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");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),xl.forEach((function(e){s(o,e)})),document.body.appendChild(o),i(),wl=!0}else xl.forEach((function(e){Sl[e]=0}));function r(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function i(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:_l+"(safe-area-inset-"+n+")"};r(o,c),r(s,c),r(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),i((function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,r=s.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,function(e){Ol.length||setTimeout((function(){var e={};Ol.forEach((function(t){e[t]=Sl[t]})),Ol.length=0,El.forEach((function(t){t(e)}))}),0);Ol.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(Sl,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function $l(e){return wl||kl(),Sl[e]}var Ol=[];var El=[];const Tl=bl({get support(){return 0!=("string"==typeof _l?_l:Cl()).length},get top(){return $l("top")},get left(){return $l("left")},get right(){return $l("right")},get bottom(){return $l("bottom")},onChange:function(e){Cl()&&(wl||kl(),"function"==typeof e&&El.push(e))},offChange:function(e){var t=El.indexOf(e);t>=0&&El.splice(t,1)}}),Al=_a((()=>{}),["prevent"]);function Ll(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function jl(){const e=Ll(document.documentElement.style,"--window-top");return e?e+Tl.top:0}function Pl(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function Ml(e){return Symbol(e)}const Il="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",Nl="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 Fl(e,t="#000",n=27){return zi("svg",{width:n,height:n,viewBox:"0 0 32 32"},[zi("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Bl(){{const{$pageInstance:e}=Qi();return e&&e.proxy.$page.id}}function Rl(){const e=lf(),t=e.length;if(t)return e[t-1]}function Vl(){const e=Rl();if(e)return e.$page.meta}function zl(){const e=Vl();return e?e.id:-1}function Dl(){const e=Rl();if(e)return e.$vm}const Wl=["navigationBar","pullToRefresh"];function Hl(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=y({id:t},n,e);Wl.forEach((t=>{o[t]=y({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function Ul(e,t,n){if(O(e))n=t,t=e,e=Dl();else if("number"==typeof e){const t=lf().find((t=>t.$page.id===e));e=t?t.$vm:Dl()}if(!e)return;const o=e.$[t];return o&&tt(o,n)}function ql(e){e.preventDefault()}let Gl,Yl=0;function Kl({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,r=!1,i=!0;const s=()=>{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-Yl)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(Yl=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(Gl=setTimeout(s,300))),o=!1};return function(){clearTimeout(Gl),o||requestAnimationFrame(s),o=!0}}function Xl(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return Xl(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r0?e.split("/"):[];return i.splice(i.length-r-1,r+1),et(i.concat(n).join("/"))}function Jl(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}class Zl{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(Xe(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&&Xe(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=nc(this.$el.querySelector(e));return t?Ql(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];$(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&Cp.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 Ql(e,t=!0){if(t&&e&&(e=Ke(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Zl(e)),e.$el.__wxsComponentDescriptor}function ec(e,t){return Ql(e,t)}function tc(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>ec(n.proxy,!1)}));const r=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=Ke(t);if(!o)return!1;const r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,ec(r,!1)]}}function nc(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function oc(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,a;s=ct(t?r:function(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}(r)),a=ct(i);const l={type:n,timeStamp:o,target:s,detail:{},currentTarget:a};return e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){y(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function rc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function ic(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=jl();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[rc(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=jl();i.touches=ic(e.touches,t),i.changedTouches=ic(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach((t=>{Object.defineProperty(i,t,{get:()=>e[t]})}))}return tc(i,t,n)||[i]},createNativeEvent:oc},Symbol.toStringTag,{value:"Module"});function ac(e){!function(e){const t=e.globalProperties;y(t,sc),t.$gcd=ec}(e._context.config)}let lc=1;function cc(e){return(e||zl())+"."+el}const uc=y(Qa("view"),{invokeOnCallback:(e,t)=>kp.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=kp,s=o?lc++:0;o&&r(el+"."+s,o,!0),i(cc(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=kp,a=lc++,l=el+"."+a;return r(l,n),s(cc(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function dc(e){Ul(Rl(),Le,e),kp.invokeOnCallback("onWindowResize",e)}function fc(e){const t=Rl();Ul($f(),we,e),Ul(t,we)}function pc(){Ul($f(),_e),Ul(Rl(),_e)}const hc=[Pe,Ie];function gc(){hc.forEach((e=>kp.subscribe(e,function(e){return(t,n)=>{Ul(parseInt(n),e,t)}}(e))))}function mc(){!function(){const{on:e}=kp;e(Le,dc),e(qe,fc),e(Ge,pc)}(),gc()}function vc(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new gt(this.$page.id)),e.eventChannel}}function yc(e){e._context.config.globalProperties.getOpenerEventChannel=vc}function bc(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function wc(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Au(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function _c(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){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"],r=["width","height","left","right","top","bottom"],i=e.animates,s=e.option,a=s.transition,l={},c=[];return i.forEach((e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(s=s.map(wc)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];l[i]=r.includes(i)?wc(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{i()}),0)}const xc={props:["animation"],watch:{animation:{deep:!0,handler(){_c(this)}}},mounted(){_c(this)}},Sc=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(xc),Cc(e)},Cc=e=>(e.__reserved=!0,e.compatConfig={MODE:3},cr(e));function kc(e){return e.__wwe=!0,e}function $c(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=ct(n),{type:o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const Oc={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function Ec(e){const t=Gn(!1);let n,o,r=!1;function i(){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),r=!0,n=setTimeout((()=>{t.value=!0,r||i()}),parseInt(e.hoverStartTime)))}function a(){r=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:kc((function(e){e.touches.length>1||s(e)})),onMousedown:kc((function(e){r||(s(e),window.addEventListener("mouseup",l))})),onTouchend:kc((function(){a()})),onMouseup:kc((function(){r&&l()})),onTouchcancel:kc((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function Tc(e,t){return O(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const Ac=Ml("uf"),Lc=Ml("ul");function jc(e,t,n){const o=Bl();n&&!e||M(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Cp.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Cp.on(r,t[r]):e&&Cp.on(`uni-${r}-${o}-${e}`,t[r])}))}function Pc(e,t,n){const o=Bl();n&&!e||M(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&Cp.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?Cp.off(r,t[r]):e&&Cp.off(`uni-${r}-${o}-${e}`,t[r])}))}const Mc=Sc({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=Gn(null),o=ei(Ac,!1),{hovering:r,binding:i}=Ec(e);Ya();const s=kc(((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;})),a=ei(Lc,!1);return a&&(a.addHandler(s),Cr((()=>{a.removeHandler(s)}))),function(e,t){jc(e.id,t),Uo((()=>e.id),((e,n)=>{Pc(n,t,!0),jc(e,t,!0)})),kr((()=>{Pc(e.id,t)}))}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=Tc(e,"disabled"),l=Tc(e,"loading"),c=Tc(e,"plain"),u=o&&"none"!==o;return zi("uni-button",Yi({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}});function Ic(e){const{base:t}=__uniConfig.router;return 0===et(e).indexOf(t)?et(e):t+e}function Nc(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0===e.indexOf("./static/")||n&&0===e.indexOf("./"+n+"/"))&&(e=e.slice(1)),0===e.indexOf("/")){if(0!==e.indexOf("//"))return Ic(e.slice(1));e="https:"+e}if(ve.test(e)||ye.test(e)||0===e.indexOf("blob:"))return e;const o=lf();return o.length?Ic(Xl(o[o.length-1].$page.route,e).slice(1)):e}const Fc=navigator.userAgent,Bc=/android/i.test(Fc),Rc=/iphone|ipad|ipod/i.test(Fc),Vc=Fc.match(/Windows NT ([\d|\d.\d]*)/i),zc=/Macintosh|Mac/i.test(Fc),Dc=/Linux|X11/i.test(Fc),Wc=zc&&navigator.maxTouchPoints>0;function Hc(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Uc(e){return e&&90===Math.abs(window.orientation)}function qc(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Gc(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}const Yc=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function Kc(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function Xc(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let Jc=1;const Zc={};function Qc(e,t,n){if("number"==typeof e){const o=Zc[e];if(o)return o.keepAlive||delete Zc[e],o.callback(t,n)}return t}const eu="success",tu="fail",nu="complete";function ou(e,t={},{beforeAll:n,beforeSuccess:o}={}){M(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];$(o)&&(t[n]=Xc(o),delete e[n])}return t}(t),a=$(r),l=$(i),c=$(s),u=Jc++;return function(e,t,n,o=!1){Zc[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),$(n)&&n(u),u.errMsg===e+":ok"?($(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)})),u}const ru="success",iu="fail",su="complete",au={},lu={};function cu(e,t){return function(n){return e(n,t)||n}}function uu(e,t,n){let o=!1;for(let r=0;re(t),catch(){}}}function du(e,t={}){return[ru,iu,su].forEach((n=>{const o=e[n];if(!x(o))return;const r=t[n];t[n]=function(e){uu(o,e,t).then((e=>$(r)&&r(e)||e))}})),t}function fu(e,t){const n=[];x(au.returnValue)&&n.push(...au.returnValue);const o=lu[e];return o&&x(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function pu(e){const t=Object.create(null);Object.keys(au).forEach((e=>{"returnValue"!==e&&(t[e]=au[e].slice())}));const n=lu[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function hu(e,t,n,o){const r=pu(e);if(r&&Object.keys(r).length){if(x(r.invoke)){return uu(r.invoke,n).then((n=>t(du(pu(e),n),...o)))}return t(du(r,n),...o)}return t(n,...o)}function gu(e,t){return(n={},...o)=>function(e){return!(!M(e)||![eu,tu,nu].find((t=>$(e[t]))))}(n)?fu(e,hu(e,t,n,o)):fu(e,new Promise(((r,i)=>{hu(e,t,y(n,{success:r,fail:i}),o)})))}function mu(e,t,n,o={}){const r=t+":fail"+(n?" "+n:"");return delete o.errCode,Qc(e,y({errMsg:r},o))}function vu(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(O(e))return e}const r=function(e,t){const n=e[0];if(!t||!M(t.formatArgs)&&M(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i{const r=ou(e,n,o),i=vu(0,[n],0,o);return i?mu(r,e,i):t(n,{resolve:t=>function(e,t,n){return Qc(e,y(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>mu(r,e,function(e){return!e||O(e)?e:e.stack?(console.error(e.message+he+e.stack),e.message):e}(t),n)})}}function bu(e,t,n,o){return gu(e,yu(e,t,0,o))}function wu(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=vu(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function _u(e,t,n,o){return gu(e,function(e,t,n,o){return yu(e,t,0,o)}(e,t,0,o))}let xu=!1,Su=0,Cu=0,ku=960,$u=375,Ou=750;function Eu(){const{platform:e,pixelRatio:t,windowWidth:n}=function(){const e=Hc(),t=Gc(qc(e,Uc(e)));return{platform:Rc?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();Su=n,Cu=t,xu="ios"===e}function Tu(e,t){const n=Number(e);return isNaN(n)?t:n}const Au=wu(0,((e,t)=>{if(0===Su&&(Eu(),function(){const e=__uniConfig.globalStyle||{};ku=Tu(e.rpxCalcMaxDeviceWidth,960),$u=Tu(e.rpxCalcBaseDeviceWidth,375),Ou=Tu(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Su;n=e===Ou||n<=ku?n:$u;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Cu&&xu?.5:1),e<0?-o:o}));function Lu(e,t){Object.keys(t).forEach((n=>{$(t[n])&&(e[n]=function(e,t){const n=t?e?e.concat(t):x(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n{O(e)&&M(t)?Lu(lu[e]||(lu[e]={}),t):M(e)&&Lu(au,e)})),Pu=wu(0,(()=>{const e=$f();return e&&e.$vm?e.$vm.$locale:Ya().getLocale()})),Mu={[$e]:[],[ke]:[],[Se]:[],[we]:[],[_e]:[]};const Iu="json",Nu=["text","arraybuffer"],Fu=encodeURIComponent;ArrayBuffer,Boolean;const Bu={formatArgs:{method(e,t){t.method=Kc((e||"").toUpperCase(),Yc)},data(e,t){t.data=e||""},url(e,t){t.method===Yc[0]&&M(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter((e=>e)),s={};i.forEach((e=>{const t=e.split("=");s[t[0]]=t[1]}));for(const a in t)if(_(t,a)){let e=t[a];null==e?e="":M(e)&&(e=JSON.stringify(e)),s[Fu(a)]=Fu(e)}return r=Object.keys(s).map((e=>`${e}=${s[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==Yc[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Iu).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Nu.indexOf(t.responseType)&&(t.responseType="text")}}};const Ru={url:{type:String,required:!0}},Vu="navigateTo",zu="redirectTo",Du="switchTab",Wu="preloadPage",Hu="unPreloadPage",Uu=(qu(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),qu(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Ku(Vu));function qu(e){return{animationType:{type:String,validator(t){if(t&&-1===e.indexOf(t))return"`"+t+"` is not supported for `animationType` (supported values are: `"+e.join("`|`")+"`)"}},animationDuration:{type:Number}}}let Gu;function Yu(){Gu=""}function Ku(e){return{formatArgs:{url:Xu(e)},beforeAll:Yu}}function Xu(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/"))return e;let t="";const n=lf();return n.length&&(t=n[n.length-1].$page.route),Xl(t,e)}(t)).split("?")[0],r=Jl(o,!0);if(!r)return"page `"+t+"` is not found";if(e===Vu||e===zu){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===Du&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==Du&&e!==Wu||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!O(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))})),o.length?e+"?"+o.join("&"):e}(t),e!==Hu)if(e!==Wu){if(Gu===t&&"appLaunch"!==n.openType)return`${Gu} locked`;__uniConfig.ready&&(Gu=t)}else if(r.meta.isTabBar){const e=lf(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}const Ju="setNavigationBarTitle",Zu=["success","loading","none","error"],Qu=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=Kc(e,Zu)},image(e,t){t.image=e?Nc(e):""},duration:1500,mask:!1}}),ed=bc(),td=bc();const nd=Sc({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=Gn(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),r=function(e,t,n){const o=jn({width:-1,height:-1});return Uo((()=>y({},o)),(e=>t("resize",e))),()=>{const t=e.value;o.width=t.offsetWidth,o.height=t.offsetHeight,n()}}(n,t,o);return function(e,t,n,o){hr(o),_r((()=>{t.initial&&go(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>zi("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[zi("div",{onScroll:r},[zi("div",null,null)],40,["onScroll"]),zi("div",{onScroll:r},[zi("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});let od;function rd(){}const id={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 sd(e,t,n){function o(e){const t=ds((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(od),document.addEventListener("click",rd,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",rd,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}Uo((()=>t.value),(e=>e&&o(e)))}const ad={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},ld={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},cd={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"]},ud=Sc({name:"Image",props:ad,setup(e,{emit:t}){const n=Gn(null),o=function(e,t){const n=Gn(""),o=ds((()=>{let e="auto",o="";const r=cd[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`})),r=jn({rootEl:e,src:ds((()=>t.src?Nc(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return _r((()=>{const t=e.value.style;r.origWidth=Number(t.width)||0,r.origHeight=Number(t.height)||0})),r}(n,e),r=$c(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=ld[o];if(!r)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){dd&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,a))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return Uo((()=>t.mode),((e,t)=>{ld[t]&&r(),ld[e]&&o()})),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,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();i=i||new Image,i.onload=e=>{const{width:u,height:d}=i;a(u,d,l),o(),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:d})},i.onerror=t=>{a(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};Uo((()=>e.src),(e=>l(e))),Uo((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),_r((()=>l(e.src))),Cr((()=>c()))}(o,e,n,i,r),()=>zi("uni-image",{ref:n},[zi("div",{style:o.modeStyle},null,4),ld[e.mode]?zi(nd,{onResize:i},null,8,["onResize"]):zi("span",null,null)],512)}});const dd="Google Inc."===navigator.vendor;const fd=lt(!0),pd=[];let hd,gd=0;const md=e=>pd.forEach((t=>t.userAction=e));function vd(e={userAction:!1}){if(!hd){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!gd&&md(!0),gd++,setTimeout((()=>{! --gd&&md(!1)}),0)}),fd)})),hd=!0}pd.push(e)}function yd(){const e=jn({userAction:!1});return _r((()=>{vd(e)})),Cr((()=>{!function(e){const t=pd.indexOf(e);t>=0&&pd.splice(t,1)}(e)})),{state:e}}function bd(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 wd=function(){var e,t,n;e=zl(),n=bd,t=rl(e,t="getSelectedTextRange"),ol[t]||(ol[t]=n)};function _d(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null===e?"":String(e)}const xd=["none","text","decimal","numeric","tel","search","email","url"],Sd=y({},{name:{type:String,default:""},modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},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=>!!~xd.indexOf(e)},cursorColor:{type:String,default:""}},id),Cd=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function kd(e,t,n,o){const r=ht((n=>{t.value=_d(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout});Uo((()=>e.modelValue),r),Uo((()=>e.value),r);const i=function(e,t){let n,o,r=0;const i=function(...i){const s=Date.now();clearTimeout(n),o=()=>{o=null,r=s,e.apply(this,i)},s-r{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return wr((()=>{r.cancel(),i.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function $d(e,t){yd();const n=ds((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Uo((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),_r((()=>{n.value&&go(o)}))}function Od(e,t,n,o){wd();const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=Gn(null),r=$c(t,n),i=ds((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),s=ds((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),a=ds((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=ds((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t})),c=_d(e.modelValue,e.type)||_d(e.value,e.type),u=jn({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return Uo((()=>u.focus),(e=>n("update:focus",e))),Uo((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=kd(e,i,n,s);$d(e,r),sd(0,r);const{state:l}=function(){const e=jn({attrs:{}});return _r((()=>{let t=Qi();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}();!function(e,t){const n=ei(Ac,!1);if(!n)return;const o=Qi(),r={submit(){const n=o.proxy;return[n[e],O(t)?n[t]:t.value]},reset(){O(t)?o.proxy[t]="":t.value=""}};n.addField(r),Cr((()=>{n.removeField(r)}))}("name",i),function(e,t,n,o,r,i){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}Uo([()=>t.selectionStart,()=>t.selectionEnd],s),Uo((()=>t.cursor),a),Uo((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),$(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(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)}))}(r,i,e,s,a,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const Ed=Sc({name:"Input",props:y({},Sd,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...Cd],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=ds((()=>{let t="";switch(e.type){case"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=ds((()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(z(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}));let a,l=Gn("");const c=Gn(null),{fieldRef:u,state:d,scopedAttrsState:f,fixDisabledColor:p,trigger:h}=Od(e,c,t,((e,t)=>{const n=e.target;if("number"===i.value){if(a&&(n.removeEventListener("blur",a),a=null),n.validity&&!n.validity.valid){if((!l.value||!n.value)&&"-"===e.data||"-"===l.value[0]&&"deleteContentBackward"===e.inputType)return l.value="-",t.value="",a=()=>{l.value=n.value=""},n.addEventListener("blur",a),!1;if(l.value)if(-1!==l.value.indexOf(".")){if("."!==e.data&&"deleteContentBackward"===e.inputType){const e=l.value.indexOf(".");return l.value=n.value=t.value=l.value.slice(0,e),!0}}else if("."===e.data)return l.value+=".",a=()=>{l.value=n.value=l.value.slice(0,-1)},n.addEventListener("blur",a),!1;return l.value=t.value=n.value="-"===l.value?"":l.value,!1}l.value=n.value;const o=t.maxlength;if(o>0&&n.value.length>o)return n.value=n.value.slice(0,o),t.value=n.value,!1}}));Uo((()=>d.value),(t=>{"number"!==e.type||"-"===l.value&&""===t||(l.value=t)}));const g=["number","digit"],m=ds((()=>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?zi("input",{key:"disabled-input",ref:u,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:i.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"]):Xo(zi("input",{key:"input",ref:u,"onUpdate:modelValue":e=>d.value=e,disabled:!!e.disabled,type:i.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,["onUpdate:modelValue","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]),[[va,d.value]]);return zi("uni-input",{ref:c},[zi("div",{class:"uni-input-wrapper"},[Xo(zi("div",Yi(f.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ps,!(d.value.length||"-"===l.value)]]),"search"===e.confirmType?zi("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const Td=["class","style"],Ad=/^on[A-Z]+/,Ld=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Qi(),r=Yn({}),i=Yn({}),s=Yn({}),a=n.concat(Td);return o.attrs=jn(o.attrs),Wo((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(a.includes(n)?e.exclude[n]=o:Ad.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e)),{exclude:{},attrs:{},listeners:{}});var n;r.value=e.attrs,i.value=e.listeners,s.value=e.exclude})),{$attrs:r,$listeners:i,$excludeAttrs:s}},jd=["navigate","redirect","switchTab","reLaunch","navigateBack"],Pd=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],Md=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],Id={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~jd.indexOf(e))},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},animationType:{type:String,default:"",validator:e=>!e||Pd.concat(Md).includes(e)},animationDuration:{type:[String,Number],default:300}};y({},Id,{renderLink:{type:Boolean,default:!0}});const Nd={ensp:" ",emsp:" ",nbsp:" "};function Fd(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&Nd[t]&&" "===i&&(i=Nd[t]),r?(o+="n"===i?he:"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,Nd.nbsp).replace(/ /g,Nd.ensp).replace(/ /g,Nd.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split(he)}const Bd=Sc({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=Gn(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==ki){const n=Fd(t.children,{space:e.space,decode:e.decode}),r=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(Wi(e)),t!==r&&o.push(zi("br"))}))}else o.push(t)})),zi("uni-text",{ref:n,selectable:!!e.selectable||null},[zi("span",null,o)],8,["selectable"])}}}),Rd=Sc({name:"View",props:y({},Oc),setup(e,{slots:t}){const n=Gn(null),{hovering:o,binding:r}=Ec(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?zi("uni-view",Yi({class:o.value?i:"",ref:n},r),[t.default&&t.default()],16):zi("uni-view",{ref:n},[t.default&&t.default()],512)}}});function Vd(e,t,n,o){$(t)&&yr(e,t.bind(n),o)}function zd(e,t,n){var o;const r=e.mpType||n.$mpType;if(r&&"component"!==r&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!$(t))&&(vt.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];x(r)?r.forEach((e=>Vd(o,e,n,t))):Vd(o,r,n,t)}})),"page"===r)){t.__isVisible=!0;try{const e=t.attrs.__pageQuery;0,Ul(n,Oe,e),delete t.attrs.__pageQuery,"preloadPage"!==(null==(o=n.$page)?void 0:o.openType)&&Ul(n,we)}catch(i){console.error(i.message+he+i.stack)}}}function Dd(e,t,n){zd(e,t,n)}function Wd(e,t,n){return e[t]=n}function Hd(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function Ud(e){return function(t,n,o){if(!n)throw t;const r=e._instance;if(!r||!r.proxy)throw t;Ul(r.proxy,Se,t)}}function qd(e,t){return e?[...new Set([].concat(e,t))]:t}function Gd(e){const t=e._context.config;var n;t.errorHandler=bt(e,Ud),n=t.optionMergeStrategies,vt.forEach((e=>{n[e]=qd}));const o=t.globalProperties;o.$set=Wd,o.$applyOptions=Dd,o.$callMethod=Hd,function(e){yt.forEach((t=>t(e)))}(e)}const Yd=Ml("upm");function Kd(){return ei(Yd)}function Xd(e){const t=function(e){return jn(JSON.parse(JSON.stringify(Hl(__uniRoutes[0].meta,e))))}(e);return Qr(Yd,t),t}function Jd(){const e=location.href,t=e.indexOf("?"),n=e.indexOf("#",t>-1?t:0);let o={};t>-1&&(o=pt(e.slice(t+1,n>-1?n:e.length)));const{meta:r}=__uniRoutes[0],i=et(r.route);return{meta:r,query:o,path:i,matched:[{path:i}]}}function Zd(){return history.state&&history.state.__id__||1}const Qd=window.CSS&&window.CSS.supports;function ef(e){return Qd&&(Qd(e)||Qd.apply(window.CSS,e.split(":")))}const tf=ef("top:env(a)"),nf=ef("top:constant(a)"),of=(()=>tf?"env":nf?"constant":"")();function rf(e){var t,n;Pl({"--window-top":(n=0,of?`calc(${n}px + ${of}(safe-area-inset-top))`:`${n}px`),"--window-bottom":(t=0,of?`calc(${t}px + ${of}(safe-area-inset-bottom))`:`${t}px`)})}const sf="$$",af=new Map;function lf(){const e=[],t=af.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}let cf=Zd();function uf(e){const t=Kd();return function(e,t,n,o,r,i){const{id:s,route:a}=o,l=St(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:et(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",__uniRoutes[0].path,{},t)}function df(e){e.$route;const t=uf();!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),af.set(ff(t.path,t.id),e)}function ff(e,t){return e+sf+t}function pf(e,t){!function(e){const t=gf(e),{body:n}=document;mf&&n.removeAttribute(mf),t&&n.setAttribute(t,""),mf=t}(e),rf(),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),function(e,t){document.removeEventListener("touchmove",ql),vf&&document.removeEventListener("scroll",vf);if(t.disableScroll)return document.addEventListener("touchmove",ql);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!n&&!o&&!r)return;const i={},s=e.proxy.$page.id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&Cp.publishHandler(Pe,{scrollTop:o},e),n&&Cp.emit(e+"."+Pe,{scrollTop:o})}}(s,n,r));o&&(i.onReachBottomDistance=t.onReachBottomDistance||ge,i.onReachBottom=()=>Cp.publishHandler(Ie,{},s));vf=Kl(i),requestAnimationFrame((()=>document.addEventListener("scroll",vf)))}(e,t)}function hf(e){const t=gf(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function gf(e){return e.type.__scopeId}let mf,vf;const yf={install(e){Gd(e),ac(e),yc(e),e.config.warnHandler||(e.config.warnHandler=bf)}};function bf(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 wf={class:"uni-async-loading"},_f=zi("i",{class:"uni-loading"},null,-1),xf=Cc({name:"AsyncLoading",render:()=>(Ti(),Mi("div",wf,[_f]))});function Sf(){window.location.reload()}const Cf=Cc({name:"AsyncError",setup(){Xa();const{t:e}=Ya();return()=>zi("div",{class:"uni-async-error",onClick:Sf},[e("uni.async.error")],8,["onClick"])}});let kf;function $f(){return kf}function Of(e){kf=e,Object.defineProperty(kf.$.ctx,"$children",{get:()=>lf().map((e=>e.$vm))});const t=kf.$.appContext.app;t.component(xf.name)||t.component(xf.name,xf),t.component(Cf.name)||t.component(Cf.name,Cf),function(e){e.$vm=e,e.$mpType="app";const t=Gn(Ya().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(kf),function(e,t){const n=e.$options||{};n.globalData=y(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(kf),mc(),yl()}function Ef(e,{clone:t,init:n,setup:o,before:r}){t&&(e=y({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=Qi();n(r.proxy);const s=o(r);if(i)return i(s||e,t)},e}function Tf(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Ef(e.default,t):Ef(e,t)}function Af(e){return Tf(e,{clone:!0,init:df,setup(e){e.$pageInstance=e;const t=Jd(),n=dt(t.query);e.attrs.__pageQuery=n,e.proxy.$page.options=n,e.proxy.options=n;const o=Kd();var r,i;return wr((()=>{pf(e,o)})),_r((()=>{hf(e);const{onReady:n}=e;n&&U(n),Mf(t)})),mr((()=>{if(!e.__isVisible){pf(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&U(n),go((()=>{Mf(t)}))}}),"ba",r),function(e,t){mr(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;const{onHide:t}=e;t&&U(t)}})),i=o.id,Cp.subscribe(rl(i,el),il),Cr((()=>{!function(e){Cp.unsubscribe(rl(e,el)),Object.keys(ol).forEach((t=>{0===t.indexOf(e+".")&&delete ol[t]}))}(o.id)})),n}})}function Lf(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Xf(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";kp.emit(Le,{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function jf(e){M(e.data)&&e.data.type===be&&kp.emit(Ye,e.data.data,e.data.pageId)}function Pf(){const{emit:e}=kp;"visible"===document.visibilityState?e(qe,y({},td)):e(Ge)}function Mf(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&Ul("onTabItemTap",{index:n,text:t,pagePath:o})}const If=({name:e,arg:t})=>{"postMessage"===e||uni[e](t)},Nf=ot((()=>kp.on(Ye,If))),Ff=Sc({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},setup(e){Nf();const t=Gn(null),n=Gn(null),{$attrs:o,$excludeAttrs:r,$listeners:i}=Ld({excludeListeners:!0});let s;return(()=>{const r=document.createElement("iframe");Wo((()=>{for(const e in o.value)if(_(o.value,e)){const t=o.value[e];r[e]=t}})),Wo((()=>{r.src=Nc(e.src)})),n.value=r,s=function(e,t,n){const o=()=>{var o,r;if(n){const{top:n,left:o,width:r,height:i}=e.value.getBoundingClientRect();nt(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:o+"px",width:r+"px",height:i+"px"})}else nt(t.value,{width:(null==(o=e.value)?void 0:o.style.width)||"300px",height:(null==(r=e.value)?void 0:r.style.height)||"150px"})};return o}(t,n,e.fullscreen),e.fullscreen&&document.body.appendChild(r)})(),_r((()=>{var o;s(),!e.fullscreen&&(null==(o=t.value)||o.appendChild(n.value))})),hr((()=>{e.fullscreen&&(n.value.style.display="block")})),gr((()=>{e.fullscreen&&(n.value.style.display="none")})),Cr((()=>{e.fullscreen&&document.body.removeChild(n.value)})),()=>zi(Si,null,[zi("uni-web-view",Yi({class:e.fullscreen?"uni-webview--fullscreen":""},i.value,r.value,{ref:t}),[zi(nd,{onResize:s},null,8,["onResize"])],16)])}});const Bf="__DC_STAT_UUID",Rf=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Vf;function zf(){if(Vf=Vf||Rf[Bf],!Vf){Vf=Date.now()+""+Math.floor(1e7*Math.random());try{Rf[Bf]=Vf}catch(e){}}return Vf}function Df(){if(!0!==__uniConfig.darkmode)return O(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Wf(){let e,t="0",n="",o="phone";const r=navigator.language;if(Rc){e="iOS";const o=Fc.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=Fc.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(Bc){e="Android";const o=Fc.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=Fc.match(/\((.+?)\)/),i=r?r[1].split(";"):Fc.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=Hc(),n=Uc(t),o=qc(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=Gc(o);let s=window.innerHeight;const a=Tl.top,l={left:Tl.left,right:i-Tl.right,top:Tl.top,bottom:s-Tl.bottom,width:i-Tl.left-Tl.right,height:s-Tl.top-Tl.bottom},{top:c,bottom:u}=function(){const e=document.documentElement.style,t=jl(),n=Ll(e,"--window-bottom"),o=Ll(e,"--window-left"),r=Ll(e,"--window-right"),i=Ll(e,"--top-window-height");return{top:t,bottom:n?n+Tl.bottom:0,left:o?o+Tl.left:0,right:r?r+Tl.right:0,topWindowHeight:i||0}}();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:Tl.top,right:Tl.right,bottom:Tl.bottom,left:Tl.left},screenTop:r-s}}));let Uf,qf=!0;function Gf(){qf&&(Uf=Wf())}const Yf=wu(0,(()=>{Gf();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:a}=Uf;return{brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:zf(),deviceOrientation:s,deviceType:a,model:o,platform:r,system:i}})),Kf=wu(0,(()=>{Gf();const{theme:e,language:t,browserName:n,browserVersion:o}=Uf;return{appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Pu?Pu():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:""}})),Xf=wu(0,(()=>{qf=!0,Gf(),qf=!1;const e=Hf(),t=Yf(),n=Kf();qf=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:a}=Uf,l=y(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:s.toLocaleLowerCase(),osVersion:a,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return M(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(l)}));const Jf=wu(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)}));function Zf(e){const t=localStorage&&localStorage.getItem(e);if(!O(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=O(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 Qf=wu(0,(e=>{try{return Zf(e)}catch(t){return""}}));vd();const ep={esc:["Esc","Escape"],enter:["Enter"]},tp=Object.keys(ep);function np(e,{onEsc:t,onEnter:n}){const o=Gn(e.visible),{key:r,disable:i}=function(){const e=Gn(""),t=Gn(!1),n=n=>{if(t.value)return;const o=tp.find((e=>-1!==ep[e].indexOf(n.key)));o&&(e.value=o),go((()=>e.value=""))};return _r((()=>{document.addEventListener("keyup",n)})),Cr((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}();return Uo((()=>e.visible),(e=>o.value=e)),Uo((()=>o.value),(e=>i.value=!e)),Wo((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}const op=bu("request",(({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,withCredentials:s,timeout:a=__uniConfig.networkTimeout.request},{resolve:l,reject:c})=>{let u=null;const d=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(O(t)||t instanceof ArrayBuffer)u=t;else if("json"===d)try{u=JSON.stringify(t)}catch(g){u=t.toString()}else if("urlencoded"===d){const e=[];for(const n in t)_(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const f=new XMLHttpRequest,p=new rp(f);f.open(o,e);for(const m in n)_(n,m)&&f.setRequestHeader(m,n[m]);const h=setTimeout((function(){f.onload=f.onabort=f.onerror=null,p.abort(),c("timeout",{errCode:5})}),a);return f.responseType=i,f.onload=function(){clearTimeout(h);const e=f.status;let t="text"===i?f.responseText:f.response;if("text"===i&&"json"===r)try{t=JSON.parse(t)}catch(g){}l({data:t,statusCode:e,header:ip(f.getAllResponseHeaders()),cookies:[]})},f.onabort=function(){clearTimeout(h),c("abort",{errCode:600003})},f.onerror=function(){clearTimeout(h),c(void 0,{errCode:5})},f.withCredentials=s,f.send(u),p}),0,Bu);class rp{constructor(e){this._xhr=e}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}function ip(e){const t={};return e.split(he).forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}function sp({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=$f().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:pt(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++cf,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then((i=>{if(function(e,t){return e instanceof Error&&Wa in e&&null==t}(i))return c(i.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 gt(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()}))}))}const ap=_u(Vu,(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>sp({type:Vu,url:e,events:t,isAutomatedTesting:n}).then(o).catch(r)),0,Uu);const lp={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Zu.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},cp="uni-toast__icon",up={light:"#fff",dark:"rgba(255,255,255,0.9)"},dp=e=>up[e],fp=cr({name:"Toast",props:lp,setup(e){Ja(),Za();const{Icon:t}=function(e){const t=Gn(dp(Df())),n=({theme:e})=>t.value=dp(e);Wo((()=>{var t;e.visible?(t=n,__uniConfig.darkmode&&kp.on(Ce,t)):function(e){kp.off(Ce,e)}(n)}));const o=ds((()=>{switch(e.icon){case"success":return zi(Fl(Il,t.value,38),{class:cp});case"error":return zi(Fl(Nl,t.value,38),{class:cp});case"loading":return zi("i",{class:[cp,"uni-loading"]},null,2);default:return null}}));return{Icon:o}}(e),n=np(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return zi(bs,{name:"uni-fade"},{default:()=>[Xo(zi("uni-toast",{"data-duration":r},[o?zi("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Al},null,40,["onTouchmove"]):"",s||t.value?zi("div",{class:"uni-toast"},[s?zi("img",{src:s,class:cp},null,10,["src"]):t.value,zi("p",{class:"uni-toast__content"},[i])]):zi("div",{class:"uni-sample-toast"},[zi("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Ps,n.value]])]})}}});let pp,hp,gp="";const mp=Ot();function vp(e){pp?y(pp,e):(pp=jn(y(e,{visible:!1})),go((()=>{var e,t,n;mp.run((()=>{Uo([()=>pp.visible,()=>pp.duration],(([e,t])=>{if(e){if(hp&&clearTimeout(hp),"onShowLoading"===gp)return;hp=setTimeout((()=>{bp("onHideToast")}),t)}else hp&&clearTimeout(hp)}))})),kp.on("onHidePopup",(()=>bp("onHidePopup"))),(e=fp,t=pp,n=()=>{},t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),Ca(cr({setup:()=>()=>(Ti(),Mi(e,t,null,16))}))).mount(function(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}("u-a-t"))}))),setTimeout((()=>{pp.visible=!0}),10)}const yp=_u("showToast",((e,{resolve:t,reject:n})=>{vp(e),gp="onShowToast",t()}),0,Qu);function bp(e){const{t:t}=Ya();if(!gp)return;let n="";if("onHideToast"===e&&"onShowToast"!==gp?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==gp&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);gp="",setTimeout((()=>{pp.visible=!1}),10)}function wp(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,kp.emit(ze,{titleText:t})}Wo(t),hr(t)}const _p=_u(Ju,((e,{resolve:t,reject:n})=>{!function(e,t,n,o,r){if(!e)return r("page not found");const{navigationBar:i}=e;switch(t){case"setNavigationBarColor":const{frontColor:e,backgroundColor:t,animation:o}=n,{duration:r,timingFunc:s}=o;e&&(i.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(i.backgroundColor=t),i.duration=r+"ms",i.timingFunc=s;break;case"showNavigationBarLoading":i.loading=!0;break;case"hideNavigationBarLoading":i.loading=!1;break;case Ju:const{title:a}=n;i.titleText=a}o()}(Vl(),Ju,e,t,n)})),xp="0px",Sp=Cc({name:"Layout",setup(e,{emit:t}){const n=Gn(null);Pl({"--status-bar-height":xp,"--top-window-height":xp,"--window-left":xp,"--window-right":xp,"--window-margin":xp,"--tab-bar-height":xp});const{layoutState:o,windowState:r}=function(){Jd();{const e=jn({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Uo((()=>e.marginWidth),(e=>Pl({"--window-margin":e+"px"}))),Uo((()=>e.leftWindowWidth+e.marginWidth),(e=>{Pl({"--window-left":e+"px"})})),Uo((()=>e.rightWindowWidth+e.marginWidth),(e=>{Pl({"--window-right":e+"px"})})),{layoutState:e,windowState:ds((()=>({})))}}}();!function(e,t){const n=Jd();function o(){const o=document.body.clientWidth,r=lf();let i={};if(r.length>0){i=r[r.length-1].$page.meta}else{const e=Jl(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((_(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,go((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,go((()=>{const e=t.value;e&&e.removeAttribute("style")})))}Uo([()=>n.path],o),_r((()=>{o(),window.addEventListener("resize",o)}))}(o,n);const i=function(e){const t=Gn(!1);return ds((()=>({"uni-app--showtabbar":e,"uni-app--maxwidth":t.value})))}(!1);return()=>{const e=zi(__uniRoutes[0].component);return zi("uni-app",{ref:n,class:i.value},[e,!1],2)}}});const Cp=y(sl,{publishHandler(e,t,n){kp.subscribeHandler(e,t,n)}}),kp=y(uc,{publishHandler(e,t,n){Cp.subscribeHandler(e,t,n)}}),$p=Cc({name:"PageBody",setup(e,t){const n=!1,o=Gn(null);return Uo((()=>n.enablePullDownRefresh),(()=>{o.value=null}),{immediate:!0}),()=>zi(Si,null,[!1,zi("uni-page-wrapper",o.value,[zi("uni-page-body",null,[Ar(t.slots,"default")])],16)])}}),Op=Cc({name:"Page",setup(e,t){const n=Xd(Zd());n.navigationBar;const o={};return wp(n),()=>zi("uni-page",{"data-page":n.route,style:o},[Ep(t)])}});function Ep(e){return Ti(),Mi($p,{key:0},{default:Ao((()=>[Ar(e.slots,"page")])),_:3})}const Tp={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Au;const Ap=Object.assign({}),Lp=Object.assign;window.__uniConfig=Lp({globalStyle:{backgroundColor:"#FFFFFF",navigationBar:{backgroundColor:"#f8f8f8",titleText:"场景营销",style:"default",type:"default",titleColor:"#000000"},isNVue:!1},easycom:{autoscan:!0,custom:{"^uni-(.*)":"@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue","^wd-(.*)":"wot-design-uni/components/wd-$1/wd-$1.vue","^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)":"z-paging/components/z-paging$1/z-paging$1.vue"}},compilerVersion:"4.14"},{appId:"H57F2ACE4",appName:"场景营销",appVersion:"1.0.0",appVersionCode:"100",async:Tp,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(Ap).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Lp(e[n]||(e[n]={}),Ap[t].default),e}),{}),router:{mode:"hash",base:"./",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const jp={delay:Tp.delay,timeout:Tp.timeout,suspensible:Tp.suspensible};Tp.loading&&(jp.loadingComponent={name:"SystemAsyncLoading",render:()=>zi(No(Tp.loading))}),Tp.error&&(jp.errorComponent={name:"SystemAsyncError",render:()=>zi(No(Tp.error))});const Pp=()=>u((()=>import("./pages-index-index.CqSSCFga.js")),__vite__mapDeps([0,1]),import.meta.url).then((e=>Af(e.default||e))),Mp=dr(Lp({loader:Pp},jp));function Ip(e,t){return"string"==typeof e?t:e}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=$f(),t=e&&e.$route&&e.$route.query||{};return()=>{return e=Mp,n=t,Ti(),Mi(Op,null,{page:Ao((()=>[zi(e,Lp({},n,{ref:"page"}),null,512)])),_:1});var e,n}}},loader:Pp,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 Np=e=>(t,n=Qi())=>{!ss&&yr(e,t,n)},Fp=Np(we),Bp=Np(_e),Rp=Np(xe),Vp=Np(Oe),zp=Np(Ee),Dp=cr({__name:"App",setup:e=>(Rp((()=>{console.log("App Launch")})),Fp((()=>{console.log("App Show")})),Bp((()=>{console.log("App Hide")})),()=>{})});Tf(Dp,{init:Of,setup(e){const t=Jd();return wr((()=>{var n;n=e,Object.keys(Mu).forEach((e=>{Mu[e].forEach((t=>{yr(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i,onError:s}=e,a=function({path:e,query:t}){return y(ed,{path:e,query:t}),y(td,ed),y({},ed)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:dt(t.query)});o&&U(o,a),r&&U(r,a),s&&(e.appContext.config.errorHandler=e=>{U(s,e)})})),_r((()=>{window.addEventListener("resize",ht(Lf,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",jf),document.addEventListener("visibilitychange",Pf),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{kp.emit(Ce,{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=()=>(Ti(),Mi(Sp));e.setup=(e,o)=>{const r=t&&t(e,o);return $(r)?n:r},e.render=n}}); /*! * pinia v2.0.36 * (c) 2023 Eduardo San Martin Morote diff --git a/dist/build/h5/assets/pages-index-index.CqSSCFga.js b/dist/build/h5/assets/pages-index-index.CqSSCFga.js new file mode 100644 index 0000000..c3beaf7 --- /dev/null +++ b/dist/build/h5/assets/pages-index-index.CqSSCFga.js @@ -0,0 +1 @@ +var t=Object.defineProperty,e=Object.defineProperties,a=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,s=(e,a,o)=>a in e?t(e,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[a]=o,r=(t,e)=>{for(var a in e||(e={}))l.call(e,a)&&s(t,a,e[a]);if(o)for(var a of o(e))n.call(e,a)&&s(t,a,e[a]);return t},i=(t,o)=>e(t,a(o)),c=(t,e,a)=>new Promise(((o,l)=>{var n=t=>{try{r(a.next(t))}catch(e){l(e)}},s=t=>{try{r(a.throw(t))}catch(e){l(e)}},r=t=>t.done?o(t.value):Promise.resolve(t.value).then(n,s);r((a=a.apply(t,e)).next())}));import{r as u,s as d,d as p,g as v,a as y,b as _,u as m,n as f,c as g,o as b,e as O,f as $,h as w,i as h,w as j,j as k,k as x,l as I,m as P,p as q,q as D,_ as T}from"./index-ChsP0NUI.js";const C=t=>new Promise(((e,a)=>{u(i(r({},t),{dataType:"json",header:{"content-type":"application/json"},responseType:"json",success(t){var o,l,n;(null==(o=t.data)?void 0:o.code)>=200&&(null==(l=t.data)?void 0:l.code)<300?e(t.data):401===(null==(n=t.data)?void 0:n.code)?(window.parent.postMessage({data:{type:"logout"}},"*"),a(t)):e(t.data)},fail(t){d({icon:"none",title:"网络错误,换个网络试试"}),a(t)}}))}));C.get=(t,e)=>C({url:t,query:e,method:"GET"}),C.post=(t,e,a,o=!1)=>C({url:t,query:a,data:e,method:"POST",hideErrorToast:o});const E=t=>C.get("/v1/content",t),L=T(p(i(r({},{name:"Home"}),{__name:"index",setup(t){const{safeAreaInsets:e}=v(),a=y({}),o=_(""),l=_(""),n=m();let s="activity",r=null;const i={Interface:"api_code",lottery:"lottery_code",activity:"activity_code"},u=y({url:"",title:""}),p=t=>Object.entries(t).reduce(((t,e)=>t+`${e[0]}=${e[1]}`),"");function T(){return c(this,null,(function*(){const t={};t[i[s]]=o.value||"",n.reset();C(yield E(t))}))}function C(t){if(200===t.code){const{login_content_template:e,login_content_templates:s,content_templates:r,token:i}=t.data;o.value=t.data.activity_code,Object.assign(a,t.data),1===e.validate_login?(u.url=L(s.source+`?activity_code=${o.value}`),u.title=s.moduledesc):2===e.validate_login&&(u.url=L(r.source+`?activity_code=${o.value}&token=${i}&lottery_code=${l.value}`),u.title=r.moduledesc),g({title:u.title}),n.setUserInfo({srcList:u,contentData:a,activityCode:o.value,token:i,lottery:l.value})}else d({title:t.message,icon:"none"})}function L(t){const e=(new Date).getTime();return t+(t.includes("?")?"×tamp=":"?timestamp=")+e}window.addEventListener("message",(function(t){switch(t.data.data.type){case"login":case"couponBack":u.url=a.content_templates.source+`?activity_code=${o.value}`,u.title=a.content_templates.moduledesc;break;case"coupon":const e=t.data.data.url?`#${t.data.data.url}`:"",n=t.data.data.query?p(t.data.data.query)+"&":"";u.url=a.user_content_templates.source+`${e}?${n}activity_code=${o.value}&lottery_code=${l.value}`,u.title=a.user_content_templates.moduledesc;break;case"location":window.location.replace(t.data.data.url);break;case"orderDetail":const s=t.data.data.query?p(t.data.data.query)+"&":"";u.url=a.order_detail_templates.source+`?${s}activity_code=${o.value}&lottery_code=${l.value}`,u.title=a.order_detail_templates.moduledesc;break;case"product":const r=`product_id=${t.data.data.product_id}&id=${t.data.data.id}&activity_code=${o.value}`;u.url=a.user_content_templates.source+`#/pages/coupon/product?url=${encodeURIComponent(r)}`,u.title=a.user_content_templates.moduledesc;break;case"logout":return T()}f((()=>{u.url=L(u.url),g({title:u.title}),n.setUserInfo({srcList:u,contentData:a,activityCode:o.value,token:a.token,lottery:l.value})}))}));const S=()=>{r=setInterval((()=>c(this,null,(function*(){const t={};t[i[s]]=l.value||"";const e=yield E(t);JSON.stringify(e.data)!==JSON.stringify(n.userInfo.contentData)&&(d({title:"活动发生变更",icon:"none"}),C(e))}))),6e4)};return b((()=>{const{srcList:t,lottery:e,activityCode:r,contentData:i}=n.userInfo;o.value=(()=>{const t=window.location.href;if(-1!==t.indexOf("#/")){let e="";const a=-1!==t.indexOf("#/")?t.split("#/")[1]:t.split("/")[t.split("/").length-1];return e=-1===a.indexOf("/")?a||"":a.split("/")[0],-1===e.indexOf("-")?s="activity":(s=e.split("-")[0],e=e.split("-")[1]),e}if(-1!==t.indexOf("?")){let e="";return e=t.split("=")[1],s=e.split("-")[0],e.split("-")[1]}{const e=t.split("/"),a=e[e.length-1];let o="";return-1===a.indexOf("-")?(o=a,s="activity"):(s=a.split("-")[0],o=a.split("-")[1]),o}})(),l.value=o.value,!t.url||e!==l.value&&r!==o.value?T():(o.value=r,u.url=i.content_templates.source+`?activity_code=${o.value}&lottery_code=${l.value}`,u.title=i.content_templates.moduledesc,Object.assign(u,{url:L(u.url)}),Object.assign(a,i),g({title:u.title})),S()})),O((()=>{clearInterval(r),r=null})),(t,a)=>{const o=q,l=D,n=$("layout-default-uni");return w(),h(n,null,{default:j((()=>{var t;return[k(l,{class:"bg-white overflow-hidden pt-2 px-4",style:P({marginTop:(null==(t=x(e))?void 0:t.top)+"px"})},{default:j((()=>[x(u).url?(w(),h(o,{key:0,src:x(u).url},null,8,["src"])):I("",!0)])),_:1},8,["style"])]})),_:1})}}})),[["__scopeId","data-v-441c737e"]]);export{L as default}; diff --git a/dist/build/h5/assets/pages-index-index.HOeYug3n.js b/dist/build/h5/assets/pages-index-index.HOeYug3n.js deleted file mode 100644 index a90340b..0000000 --- a/dist/build/h5/assets/pages-index-index.HOeYug3n.js +++ /dev/null @@ -1 +0,0 @@ -var t=Object.defineProperty,e=Object.defineProperties,a=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,s=(e,a,o)=>a in e?t(e,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[a]=o,r=(t,e)=>{for(var a in e||(e={}))l.call(e,a)&&s(t,a,e[a]);if(o)for(var a of o(e))n.call(e,a)&&s(t,a,e[a]);return t},i=(t,o)=>e(t,a(o)),c=(t,e,a)=>new Promise(((o,l)=>{var n=t=>{try{r(a.next(t))}catch(e){l(e)}},s=t=>{try{r(a.throw(t))}catch(e){l(e)}},r=t=>t.done?o(t.value):Promise.resolve(t.value).then(n,s);r((a=a.apply(t,e)).next())}));import{r as d,s as u,d as p,g as v,a as y,b as _,u as m,n as f,c as g,o as b,e as O,f as $,h as w,i as h,w as j,j as k,k as x,l as I,m as P,p as q,q as D,_ as T}from"./index-D7ox9T_c.js";const C=t=>new Promise(((e,a)=>{d(i(r({},t),{dataType:"json",header:{"content-type":"application/json"},responseType:"json",success(t){var o,l,n;(null==(o=t.data)?void 0:o.code)>=200&&(null==(l=t.data)?void 0:l.code)<300?e(t.data):401===(null==(n=t.data)?void 0:n.code)?(window.parent.postMessage({data:{type:"logout"}},"*"),a(t)):e(t.data)},fail(t){u({icon:"none",title:"网络错误,换个网络试试"}),a(t)}}))}));C.get=(t,e)=>C({url:t,query:e,method:"GET"}),C.post=(t,e,a,o=!1)=>C({url:t,query:a,data:e,method:"POST",hideErrorToast:o});const E=t=>C.get("/v1/content",t),L=T(p(i(r({},{name:"Home"}),{__name:"index",setup(t){const{safeAreaInsets:e}=v(),a=y({}),o=_(""),l=_(""),n=m();let s="activity",r=null;const i={Interface:"api_code",lottery:"lottery_code",activity:"activity_code"},d=y({url:"",title:""}),p=t=>Object.entries(t).reduce(((t,e)=>t+`${e[0]}=${e[1]}`),"");function T(){return c(this,null,(function*(){const t={};t[i[s]]=o.value||"",n.reset();C(yield E(t))}))}function C(t){if(200===t.code){const{login_content_template:e,login_content_templates:s,content_templates:r,token:i}=t.data;o.value=t.data.activity_code,Object.assign(a,t.data),1===e.validate_login?(d.url=L(s.source+`?activity_code=${o.value}`),d.title=s.moduledesc):2===e.validate_login&&(d.url=L(r.source+`?activity_code=${o.value}&token=${i}&lottery_code=${l.value}`),d.title=r.moduledesc),g({title:d.title}),n.setUserInfo({srcList:d,contentData:a,activityCode:o.value,token:i,lottery:l.value})}else u({title:t.message,icon:"none"})}function L(t){const e=(new Date).getTime();return t+(t.includes("?")?"×tamp=":"?timestamp=")+e}window.addEventListener("message",(function(t){switch(t.data.data.type){case"login":case"couponBack":d.url=a.content_templates.source+`?activity_code=${o.value}`,d.title=a.content_templates.moduledesc;break;case"coupon":const e=t.data.data.url?`#${t.data.data.url}`:"",n=t.data.data.query?p(t.data.data.query)+"&":"";d.url=a.user_content_templates.source+`${e}?${n}activity_code=${o.value}&lottery_code=${l.value}`,d.title=a.user_content_templates.moduledesc;break;case"location":window.location.replace(t.data.data.url);break;case"orderDetail":console.log("主模版触发");const s=t.data.data.query?p(t.data.data.query)+"&":"";d.url=a.order_detail_templates.source+`?${s}activity_code=${o.value}&lottery_code=${l.value}`,d.title=a.order_detail_templates.moduledesc;break;case"product":const r=`product_id=${t.data.data.product_id}&id=${t.data.data.id}&activity_code=${o.value}`;d.url=a.user_content_templates.source+`#/pages/coupon/product?url=${encodeURIComponent(r)}`,d.title=a.user_content_templates.moduledesc;break;case"logout":return T()}f((()=>{d.url=L(d.url),g({title:d.title}),n.setUserInfo({srcList:d,contentData:a,activityCode:o.value,token:a.token,lottery:l.value})}))}));const S=()=>{r=setInterval((()=>c(this,null,(function*(){const t={};t[i[s]]=l.value||"";const e=yield E(t);JSON.stringify(e.data)!==JSON.stringify(n.userInfo.contentData)&&(u({title:"活动发生变更",icon:"none"}),C(e))}))),6e4)};return b((()=>{const{srcList:t,lottery:e,activityCode:r,contentData:i}=n.userInfo;o.value=(()=>{const t=window.location.href;if(-1!==t.indexOf("#/")){let e="";const a=-1!==t.indexOf("#/")?t.split("#/")[1]:t.split("/")[t.split("/").length-1];return e=-1===a.indexOf("/")?a||"":a.split("/")[0],-1===e.indexOf("-")?s="activity":(s=e.split("-")[0],e=e.split("-")[1]),e}if(-1!==t.indexOf("?")){let e="";return e=t.split("=")[1],s=e.split("-")[0],e.split("-")[1]}{const e=t.split("/"),a=e[e.length-1];let o="";return-1===a.indexOf("-")?(o=a,s="activity"):(s=a.split("-")[0],o=a.split("-")[1]),o}})(),l.value=o.value,!t.url||e!==l.value&&r!==o.value?T():(o.value=r,d.url=i.content_templates.source+`?activity_code=${o.value}&lottery_code=${l.value}`,d.title=i.content_templates.moduledesc,Object.assign(d,{url:L(d.url)}),Object.assign(a,i),g({title:d.title})),S()})),O((()=>{clearInterval(r),r=null})),(t,a)=>{const o=q,l=D,n=$("layout-default-uni");return w(),h(n,null,{default:j((()=>{var t;return[k(l,{class:"bg-white overflow-hidden pt-2 px-4",style:P({marginTop:(null==(t=x(e))?void 0:t.top)+"px"})},{default:j((()=>[x(d).url?(w(),h(o,{key:0,src:x(d).url},null,8,["src"])):I("",!0)])),_:1},8,["style"])]})),_:1})}}})),[["__scopeId","data-v-07b3976d"]]);export{L as default}; diff --git a/dist/build/h5/index.html b/dist/build/h5/index.html index e02d14d..04223bc 100644 --- a/dist/build/h5/index.html +++ b/dist/build/h5/index.html @@ -1,5 +1,5 @@ - + @@ -19,7 +19,7 @@ 场景营销 - + diff --git a/env/.env b/env/.env index a0e6761..03af758 100644 --- a/env/.env +++ b/env/.env @@ -5,7 +5,7 @@ VITE_UNI_APPID = 'H57F2ACE4' VITE_WX_APPID = 'wxa2abb91f64032a2b' # h5部署网站的base,配置到 manifest.config.ts 里的 h5.router.base -VITE_APP_PUBLIC_BASE = ./ +VITE_APP_PUBLIC_BASE = './' # 测试线上 VITE_SERVER_BASEURL = 'https://gateway.dev.cdlsxd.cn' # 曾徐平 diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 4dce5e1..1d72498 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -115,7 +115,6 @@ window.addEventListener('message', function (event) { window.location.replace(event.data.data.url) break case 'orderDetail': - console.log('主模版触发') // eslint-disable-next-line no-case-declarations const queryParams = event.data.data.query ? handleParams(event.data.data.query) + '&' : '' srcList.url = diff --git a/src/pages/jlgh/coupon.vue b/src/pages/jlgh/coupon.vue index 98f75f7..1a98b79 100644 --- a/src/pages/jlgh/coupon.vue +++ b/src/pages/jlgh/coupon.vue @@ -96,7 +96,6 @@ const gomypre = (item) => { '*', ) } else if (item.order_no) { - console.log('列表页触发') window.parent.postMessage( { data: { @@ -110,8 +109,6 @@ const gomypre = (item) => { '*', ) } - - // window.location.href = itemInfo.order_info } function getData() { diff --git a/src/pages/jlgh/orderDetail.vue b/src/pages/jlgh/orderDetail.vue index 86e5000..ef74ef2 100644 --- a/src/pages/jlgh/orderDetail.vue +++ b/src/pages/jlgh/orderDetail.vue @@ -10,7 +10,15 @@