| ÎļþÃû´Ó unpackage/dist/build/web/assets/index-BIH8RjL7.js ÐÞ¸Ä |
| | |
| | | function __vite__mapDeps(indexes) { |
| | | if (!__vite__mapDeps.viteFileDeps) { |
| | | __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.BtVEYEtm.js","assets/index-CmzEVgKE.css","assets/pages-login-Login.C4YdROr6.js","assets/uni-load-more.Dzq3IegY.js","assets/uni-load-more-CSSgoU4-.css","assets/uni-icons.fMk-tPXC.js","assets/uni-icons-CnQUbAXI.css","assets/Hrs.BDsnYrqj.js","assets/_commonjsHelpers.BDIyGnDB.js","assets/Login-wl_pNUxH.css","assets/pages-login-Register.CSpbbxtQ.js","assets/Register-CWlZj0W9.css","assets/pages-my-index.Cwyax5Wv.js","assets/index-QVWn5vYa.css","assets/pagesSub-case-index.BkkuupV9.js","assets/dict.SbB6ZVUJ.js","assets/index-CEZ9SVcm.css","assets/pagesSub-case-CaseDetails.CjfdsIC9.js","assets/index.BaVDQu2g.js","assets/index-C0Ch-X88.css","assets/useDictMapper.B6EU7IxB.js","assets/CaseDetails-BbQTgfFW.css","assets/pagesSub-case-CaseInfo.BEVbAyzt.js","assets/dayjs.min.BQCsRJMf.js","assets/CaseInfo-PrbZPORO.css","assets/pagesSub-case-transfer.CNKI7yMv.js","assets/transfer-BVYM2JGy.css","assets/pagesSub-case-transferinfo.CltBYvDY.js","assets/transferinfo-Qu8DN7oW.css","assets/pagesSub-ethicalReview-ethicalInfo.DwZzbN64.js","assets/ethicalInfo-BKviaEdH.css","assets/pagesSub-ethicalReview-index.ygfU131y.js","assets/index-CTaIsdnM.css","assets/pagesSub-my-notification.Bra2eLUJ.js","assets/notification-CXXlbZpK.css","assets/pagesSub-my-profile.DlEv97y9.js","assets/profile-lYerAz88.css","assets/pagesSub-my-health-records.CKC70coG.js","assets/health-records-DkhOc17r.css","assets/pagesSub-common-search-index.BdcMfTL5.js","assets/index-C0gB6OEs.css","assets/pagesSub-common-news-list.ChxOS1xi.js","assets/list-DFzJzIGy.css","assets/pagesSub-common-news-detail.ZkRmskQi.js","assets/detail-DhEn9v_O.css"] |
| | | __vite__mapDeps.viteFileDeps = ["assets/pages-index-index.BRpR633j.js","assets/index-CmzEVgKE.css","assets/pages-login-Login.BzqvnHY1.js","assets/uni-load-more.sI0poi50.js","assets/uni-load-more-CSSgoU4-.css","assets/uni-icons.CSmnLKK5.js","assets/uni-icons-CnQUbAXI.css","assets/Hrs.BDsnYrqj.js","assets/_commonjsHelpers.BDIyGnDB.js","assets/Login-wl_pNUxH.css","assets/pages-login-Register.CaLhRCu3.js","assets/Register-CWlZj0W9.css","assets/pages-my-index.CbCwItf7.js","assets/index-QVWn5vYa.css","assets/pagesSub-case-index.DbJGtCw_.js","assets/dict.C1YhfmOV.js","assets/index-CEZ9SVcm.css","assets/pagesSub-case-CaseDetails.BShAqW8R.js","assets/index.CihR8T4w.js","assets/index-C0Ch-X88.css","assets/useDictMapper.DC1XTLOc.js","assets/CaseDetails-CBUhVuzz.css","assets/pagesSub-case-CaseInfo.DA0jjBoZ.js","assets/dayjs.min.RdSHtIv7.js","assets/CaseInfo-CbTlFBN_.css","assets/pagesSub-case-transfer.CqyKquGF.js","assets/transfer-BVYM2JGy.css","assets/pagesSub-case-transferinfo.6zJI7OvI.js","assets/transferinfo-D5EUpBvA.css","assets/pagesSub-ethicalReview-ethicalInfo.BWOU4OGX.js","assets/ethicalInfo-BKviaEdH.css","assets/pagesSub-ethicalReview-index.BHEbViy2.js","assets/index-CTaIsdnM.css","assets/pagesSub-my-notification.Bf9Xq51D.js","assets/notification-CXXlbZpK.css","assets/pagesSub-my-profile.CT8TnkXH.js","assets/profile-lYerAz88.css","assets/pagesSub-my-health-records.CPJR40t1.js","assets/health-records-DkhOc17r.css","assets/pagesSub-common-search-index.CW1CgqmW.js","assets/index-C0gB6OEs.css","assets/pagesSub-common-news-list.CX_Eg48j.js","assets/list-DFzJzIGy.css","assets/pagesSub-common-news-detail.CN-Nejw4.js","assets/detail-DhEn9v_O.css"] |
| | | } |
| | | return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) |
| | | } |
| | |
| | | * vue-router v4.3.0 |
| | | * (c) 2024 Eduardo San Martin Morote |
| | | * @license MIT |
| | | */(e);if(!o)return;const i=t._component;g(i)||i.render||i.template||(i.template=o.innerHTML),o.innerHTML="";const r=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},t};const hs="undefined"!=typeof document;const ps=Object.assign;function fs(e,t){const n={};for(const o in t){const i=t[o];n[o]=gs(i)?i.map(e):e(i)}return n}const ms=()=>{},gs=Array.isArray,ys=/#/g,bs=/&/g,vs=/\//g,_s=/=/g,ws=/\?/g,Ss=/\+/g,xs=/%5B/g,Cs=/%5D/g,ks=/%5E/g,As=/%60/g,Ts=/%7B/g,Is=/%7C/g,Es=/%7D/g,Bs=/%20/g;function Ps(e){return encodeURI(""+e).replace(Is,"|").replace(xs,"[").replace(Cs,"]")}function Os(e){return Ps(e).replace(Ss,"%2B").replace(Bs,"+").replace(ys,"%23").replace(bs,"%26").replace(As,"`").replace(Ts,"{").replace(Es,"}").replace(ks,"^")}function Ms(e){return Os(e).replace(_s,"%3D")}function Ls(e){return null==e?"":function(e){return Ps(e).replace(ys,"%23").replace(ws,"%3F")}(e).replace(vs,"%2F")}function Ds(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const zs=/\/$/;function Ns(e,t,n="/"){let o,i={},r="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(o=t.slice(0,l),r=t.slice(l+1,s>-1?s:t.length),i=e(r)),s>-1&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),i=o[o.length-1];".."!==i&&"."!==i||o.push("");let r,a,s=n.length-1;for(r=0;r<o.length;r++)if(a=o[r],"."!==a){if(".."!==a)break;s>1&&s--}return n.slice(0,s).join("/")+"/"+o.slice(r).join("/")}(null!=o?o:t,n),{fullPath:o+(r&&"?")+r+a,path:o,query:i,hash:Ds(a)}}function Rs(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function js(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function $s(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Fs(e[n],t[n]))return!1;return!0}function Fs(e,t){return gs(e)?Hs(e,t):gs(t)?Hs(t,e):e===t}function Hs(e,t){return gs(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}var Vs,Ws,Us,qs;function Qs(e){if(!e)if(hs){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(zs,"")}(Ws=Vs||(Vs={})).pop="pop",Ws.push="push",(qs=Us||(Us={})).back="back",qs.forward="forward",qs.unknown="";const Ys=/^[^#]+#/;function Gs(e,t){return e.replace(Ys,"#")+t}const Xs=()=>({left:window.scrollX,top:window.scrollY});function Ks(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),i="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function Js(e,t){return(history.state?history.state.position-t:-1)+e}const Zs=new Map;function el(e,t){const{pathname:n,search:o,hash:i}=t,r=e.indexOf("#");if(r>-1){let t=i.includes(e.slice(r))?e.slice(r).length:1,n=i.slice(t);return"/"!==n[0]&&(n="/"+n),Rs(n,"")}return Rs(n,e)+o+i}function tl(e,t,n,o=!1,i=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:i?Xs():null}}function nl(e){const{history:t,location:n}=window,o={value:el(e,n)},i={value:t.state};function r(o,r,a){const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+o:location.protocol+"//"+location.host+e+o;try{t[a?"replaceState":"pushState"](r,"",l),i.value=r}catch(c){console.error(c),n[a?"replace":"assign"](l)}}return i.value||r(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:i,push:function(e,n){const a=ps({},i.value,t.state,{forward:e,scroll:Xs()});r(a.current,a,!0),r(e,ps({},tl(o.value,e,null),{position:a.position+1},n),!1),o.value=e},replace:function(e,n){r(e,ps({},t.state,tl(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),o.value=e}}}function ol(e){const t=nl(e=Qs(e)),n=function(e,t,n,o){let i=[],r=[],a=null;const s=({state:r})=>{const s=el(e,location),l=n.value,c=t.value;let u=0;if(r){if(n.value=s,t.value=r,a&&a===l)return void(a=null);u=c?r.position-c.position:0}else o(s);i.forEach(e=>{e(n.value,l,{delta:u,type:Vs.pop,direction:u?u>0?Us.forward:Us.back:Us.unknown})})};function l(){const{history:e}=window;e.state&&e.replaceState(ps({},e.state,{scroll:Xs()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){a=n.value},listen:function(e){i.push(e);const t=()=>{const t=i.indexOf(e);t>-1&&i.splice(t,1)};return r.push(t),t},destroy:function(){for(const e of r)e();r=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=ps({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Gs.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function il(e){return"string"==typeof e||"symbol"==typeof e}const rl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},al=Symbol("");var sl,ll;function cl(e,t){return ps(new Error,{type:e,[al]:!0},t)}function ul(e,t){return e instanceof Error&&al in e&&(null==t||!!(e.type&t))}(ll=sl||(sl={}))[ll.aborted=4]="aborted",ll[ll.cancelled=8]="cancelled",ll[ll.duplicated=16]="duplicated";const dl="[^/]+?",hl={sensitive:!1,strict:!1,start:!0,end:!0},pl=/[.+*?^${}()[\]/\\]/g;function fl(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function ml(e,t){let n=0;const o=e.score,i=t.score;for(;n<o.length&&n<i.length;){const e=fl(o[n],i[n]);if(e)return e;n++}if(1===Math.abs(i.length-o.length)){if(gl(o))return 1;if(gl(i))return-1}return i.length-o.length}function gl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const yl={type:0,value:""},bl=/[a-zA-Z0-9_]/;function vl(e,t,n){const o=function(e,t){const n=ps({},hl,t),o=[];let i=n.start?"^":"";const r=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(i+="/");for(let t=0;t<l.length;t++){const o=l[t];let a=40+(n.sensitive?.25:0);if(0===o.type)t||(i+="/"),i+=o.value.replace(pl,"\\$&"),a+=40;else if(1===o.type){const{value:e,repeatable:n,optional:c,regexp:u}=o;r.push({name:e,repeatable:n,optional:c});const d=u||dl;if(d!==dl){a+=10;try{new RegExp(`(${d})`)}catch(s){throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+s.message)}}let h=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(h=c&&l.length<2?`(?:/${h})`:"/"+h),c&&(h+="?"),i+=h,a+=20,c&&(a+=-8),n&&(a+=-20),".*"===d&&(a+=-50)}e.push(a)}o.push(e)}if(n.strict&&n.end){const e=o.length-1;o[e][o[e].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const a=new RegExp(i,n.sensitive?"":"i");return{re:a,score:o,keys:r,parse:function(e){const t=e.match(a),n={};if(!t)return null;for(let o=1;o<t.length;o++){const e=t[o]||"",i=r[o-1];n[i.name]=e&&i.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",o=!1;for(const i of e){o&&n.endsWith("/")||(n+="/"),o=!1;for(const e of i)if(0===e.type)n+=e.value;else if(1===e.type){const{value:r,repeatable:a,optional:s}=e,l=r in t?t[r]:"";if(gs(l)&&!a)throw new Error(`Provided param "${r}" is an array but it is not repeatable (* or + modifiers)`);const c=gs(l)?l.join("/"):l;if(!c){if(!s)throw new Error(`Missing required param "${r}"`);i.length<2&&(n.endsWith("/")?n=n.slice(0,-1):o=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[yl]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,o=n;const i=[];let r;function a(){r&&i.push(r),r=[]}let s,l=0,c="",u="";function d(){c&&(0===n?r.push({type:0,value:c}):1===n||2===n||3===n?(r.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function h(){c+=s}for(;l<e.length;)if(s=e[l++],"\\"!==s||2===n)switch(n){case 0:"/"===s?(c&&d(),a()):":"===s?(d(),n=1):h();break;case 4:h(),n=o;break;case 1:"("===s?n=2:bl.test(s)?h():(d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case 2:")"===s?"\\"==u[u.length-1]?u=u.slice(0,-1)+s:n=3:u+=s;break;case 3:d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,u="";break;default:t("Unknown state")}else o=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),d(),a(),i}(e.path),n),i=ps(o,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function _l(e,t){const n=[],o=new Map;function i(e,n,o){const s=!o,l=function(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Sl(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}(e);l.aliasOf=o&&o.record;const c=kl(t,e),u=[l];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)u.push(ps({},l,{components:o?o.record.components:l.components,path:e,aliasOf:o?o.record:l}))}let d,h;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,o="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&o+u)}if(d=vl(t,n,c),o?o.alias.push(d):(h=h||d,h!==d&&h.alias.push(d),s&&e.name&&!xl(d)&&r(e.name)),l.children){const e=l.children;for(let t=0;t<e.length;t++)i(e[t],d,o&&o.children[t])}o=o||d,(d.record.components&&Object.keys(d.record.components).length||d.record.name||d.record.redirect)&&a(d)}return h?()=>{r(h)}:ms}function r(e){if(il(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(r),t.alias.forEach(r))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(r),e.alias.forEach(r))}}function a(e){let t=0;for(;t<n.length&&ml(e,n[t])>=0&&(e.record.path!==n[t].record.path||!Al(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!xl(e)&&o.set(e.record.name,e)}return t=kl({strict:!1,end:!0,sensitive:!1},t),e.forEach(e=>i(e)),{addRoute:i,resolve:function(e,t){let i,r,a,s={};if("name"in e&&e.name){if(i=o.get(e.name),!i)throw cl(1,{location:e});a=i.record.name,s=ps(wl(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&wl(e.params,i.keys.map(e=>e.name))),r=i.stringify(s)}else if(null!=e.path)r=e.path,i=n.find(e=>e.re.test(r)),i&&(s=i.parse(r),a=i.record.name);else{if(i=t.name?o.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw cl(1,{location:e,currentLocation:t});a=i.record.name,s=ps({},t.params,e.params),r=i.stringify(s)}const l=[];let c=i;for(;c;)l.unshift(c.record),c=c.parent;return{name:a,path:r,params:s,matched:l,meta:Cl(l)}},removeRoute:r,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function wl(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Sl(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="object"==typeof n?n[o]:n;return t}function xl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Cl(e){return e.reduce((e,t)=>ps(e,t.meta),{})}function kl(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Al(e,t){return t.children.some(t=>t===e||Al(e,t))}function Tl(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const e=n[o].replace(Ss," "),i=e.indexOf("="),r=Ds(i<0?e:e.slice(0,i)),a=i<0?null:Ds(e.slice(i+1));if(r in t){let e=t[r];gs(e)||(e=t[r]=[e]),e.push(a)}else t[r]=a}return t}function Il(e){let t="";for(let n in e){const o=e[n];if(n=Ms(n),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(gs(o)?o.map(e=>e&&Os(e)):[o&&Os(o)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))})}return t}function El(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=gs(o)?o.map(e=>null==e?null:""+e):null==o?o:""+o)}return t}const Bl=Symbol(""),Pl=Symbol(""),Ol=Symbol(""),Ml=Symbol(""),Ll=Symbol("");function Dl(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function zl(e,t,n,o,i,r=e=>e()){const a=o&&(o.enterCallbacks[i]=o.enterCallbacks[i]||[]);return()=>new Promise((s,l)=>{const c=e=>{var r;!1===e?l(cl(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(r=e)||r&&"object"==typeof r?l(cl(2,{from:t,to:e})):(a&&o.enterCallbacks[i]===a&&"function"==typeof e&&a.push(e),s())},u=r(()=>e.call(o&&o.instances[i],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(e=>l(e))})}function Nl(e,t,n,o,i=e=>e()){const r=[];for(const a of e)for(const e in a.components){let s=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if(Rl(s)){const l=(s.__vccOpts||s)[t];l&&r.push(zl(l,n,o,a,e,i))}else{let l=s();r.push(()=>l.then(r=>{if(!r)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${a.path}"`));const s=(l=r).__esModule||"Module"===l[Symbol.toStringTag]?r.default:r;var l;a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&zl(c,n,o,a,e,i)()}))}}return r}function Rl(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}function jl(e){const t=tr(Ol),n=tr(Ml),o=ca(()=>t.resolve(Fn(e.to))),i=ca(()=>{const{matched:e}=o.value,{length:t}=e,i=e[t-1],r=n.matched;if(!i||!r.length)return-1;const a=r.findIndex(js.bind(null,i));if(a>-1)return a;const s=Fl(e[t-2]);return t>1&&Fl(i)===s&&r[r.length-1].path!==s?r.findIndex(js.bind(null,e[t-2])):a}),r=ca(()=>i.value>-1&&function(e,t){for(const n in t){const o=t[n],i=e[n];if("string"==typeof o){if(o!==i)return!1}else if(!gs(i)||i.length!==o.length||o.some((e,t)=>e!==i[t]))return!1}return!0}(n.params,o.value.params)),a=ca(()=>i.value>-1&&i.value===n.matched.length-1&&$s(n.params,o.value.params));return{route:o,href:ca(()=>o.value.href),isActive:r,isExactActive:a,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[Fn(e.replace)?"replace":"push"](Fn(e.to)).catch(ms):Promise.resolve()}}}const $l=ti({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:jl,setup(e,{slots:t}){const n=wn(jl(e)),{options:o}=tr(Ol),i=ca(()=>({[Hl(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Hl(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:ua("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}});function Fl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Hl=(e,t,n)=>null!=e?e:null!=t?t:n;function Vl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Wl=ti({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=tr(Ll),i=ca(()=>e.route||o.value),r=tr(Pl,0),a=ca(()=>{let e=Fn(r);const{matched:t}=i.value;let n;for(;(n=t[e])&&!n.components;)e++;return e}),s=ca(()=>i.value.matched[a.value]);er(Pl,ca(()=>a.value+1)),er(Bl,s),er(Ll,i);const l=Nn();return No(()=>[l.value,s.value,e.name],([e,t,n],[o,i,r])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),!e||!t||i&&js(t,i)&&o||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const o=i.value,r=e.name,a=s.value,c=a&&a.components[r];if(!c)return Vl(n.default,{Component:c,route:o});const u=a.props[r],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,h=ua(c,ps({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[r]=null)},ref:l}));return Vl(n.default,{Component:h,route:o})||h}}});function Ul(e){const t=_l(e.routes,e),n=e.parseQuery||Tl,o=e.stringifyQuery||Il,i=e.history,r=Dl(),a=Dl(),s=Dl(),l=Rn(rl);let c=rl;hs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=fs.bind(null,e=>""+e),d=fs.bind(null,Ls),h=fs.bind(null,Ds);function p(e,r){if(r=ps({},r||l.value),"string"==typeof e){const o=Ns(n,e,r.path),a=t.resolve({path:o.path},r),s=i.createHref(o.fullPath);return ps(o,a,{params:h(a.params),hash:Ds(o.hash),redirectedFrom:void 0,href:s})}let a;if(null!=e.path)a=ps({},e,{path:Ns(n,e.path,r.path).path});else{const t=ps({},e.params);for(const e in t)null==t[e]&&delete t[e];a=ps({},e,{params:d(t)}),r.params=d(r.params)}const s=t.resolve(a,r),c=e.hash||"";s.params=u(h(s.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,ps({},e,{hash:(f=c,Ps(f).replace(Ts,"{").replace(Es,"}").replace(ks,"^")),path:s.path}));var f;const m=i.createHref(p);return ps({fullPath:p,hash:c,query:o===Il?El(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function f(e){return"string"==typeof e?Ns(n,e,l.value.path):ps({},e)}function m(e,t){if(c!==e)return cl(8,{from:t,to:e})}function g(e){return b(e)}function y(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=f(o):{path:o},o.params={}),ps({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function b(e,t){const n=c=p(e),i=l.value,r=e.state,a=e.force,s=!0===e.replace,u=y(n);if(u)return b(ps(f(u),{state:"object"==typeof u?ps({},r,u.state):r,force:a,replace:s}),t||n);const d=n;let h;return d.redirectedFrom=t,!a&&function(e,t,n){const o=t.matched.length-1,i=n.matched.length-1;return o>-1&&o===i&&js(t.matched[o],n.matched[i])&&$s(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,i,n)&&(h=cl(16,{to:d,from:i}),P(i,i,!0,!1)),(h?Promise.resolve(h):w(d,i)).catch(e=>ul(e)?ul(e,2)?e:B(e):E(e,d,i)).then(e=>{if(e){if(ul(e,2))return b(ps({replace:s},f(e.to),{state:"object"==typeof e.to?ps({},r,e.to.state):r,force:a}),t||d)}else e=x(d,i,!0,s,r);return S(d,i,e),e})}function v(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=L.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,i,s]=function(e,t){const n=[],o=[],i=[],r=Math.max(t.matched.length,e.matched.length);for(let a=0;a<r;a++){const r=t.matched[a];r&&(e.matched.find(e=>js(e,r))?o.push(r):n.push(r));const s=e.matched[a];s&&(t.matched.find(e=>js(e,s))||i.push(s))}return[n,o,i]}(e,t);n=Nl(o.reverse(),"beforeRouteLeave",e,t);for(const r of o)r.leaveGuards.forEach(o=>{n.push(zl(o,e,t))});const l=v.bind(null,e,t);return n.push(l),z(n).then(()=>{n=[];for(const o of r.list())n.push(zl(o,e,t));return n.push(l),z(n)}).then(()=>{n=Nl(i,"beforeRouteUpdate",e,t);for(const o of i)o.updateGuards.forEach(o=>{n.push(zl(o,e,t))});return n.push(l),z(n)}).then(()=>{n=[];for(const o of s)if(o.beforeEnter)if(gs(o.beforeEnter))for(const i of o.beforeEnter)n.push(zl(i,e,t));else n.push(zl(o.beforeEnter,e,t));return n.push(l),z(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Nl(s,"beforeRouteEnter",e,t,_),n.push(l),z(n))).then(()=>{n=[];for(const o of a.list())n.push(zl(o,e,t));return n.push(l),z(n)}).catch(e=>ul(e,8)?e:Promise.reject(e))}function S(e,t,n){s.list().forEach(o=>_(()=>o(e,t,n)))}function x(e,t,n,o,r){const a=m(e,t);if(a)return a;const s=t===rl,c=hs?history.state:{};n&&(o||s?i.replace(e.fullPath,ps({scroll:s&&c&&c.scroll},r)):i.push(e.fullPath,r)),l.value=e,P(e,t,n,s),B()}let C;function k(){C||(C=i.listen((e,t,n)=>{if(!D.listening)return;const o=p(e),r=y(o);if(r)return void b(ps(r,{replace:!0}),o).catch(ms);c=o;const a=l.value;var s,u;hs&&(s=Js(a.fullPath,n.delta),u=Xs(),Zs.set(s,u)),w(o,a).catch(e=>ul(e,12)?e:ul(e,2)?(b(e.to,o).then(e=>{ul(e,20)&&!n.delta&&n.type===Vs.pop&&i.go(-1,!1)}).catch(ms),Promise.reject()):(n.delta&&i.go(-n.delta,!1),E(e,o,a))).then(e=>{(e=e||x(o,a,!1))&&(n.delta&&!ul(e,8)?i.go(-n.delta,!1):n.type===Vs.pop&&ul(e,20)&&i.go(-1,!1)),S(o,a,e)}).catch(ms)}))}let A,T=Dl(),I=Dl();function E(e,t,n){B(e);const o=I.list();return o.length?o.forEach(o=>o(e,t,n)):console.error(e),Promise.reject(e)}function B(e){return A||(A=!e,k(),T.list().forEach(([t,n])=>e?n(e):t()),T.reset()),e}function P(t,n,o,i){const{scrollBehavior:r}=e;if(!hs||!r)return Promise.resolve();const a=!o&&function(e){const t=Zs.get(e);return Zs.delete(e),t}(Js(t.fullPath,0))||(i||!o)&&history.state&&history.state.scroll||null;return ao().then(()=>r(t,n,a)).then(e=>e&&Ks(e)).catch(e=>E(e,t,n))}const O=e=>i.go(e);let M;const L=new Set,D={currentRoute:l,listening:!0,addRoute:function(e,n){let o,i;return il(e)?(o=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map(e=>e.record)},resolve:p,options:e,push:g,replace:function(e){return g(ps(f(e),{replace:!0}))},go:O,back:()=>O(-1),forward:()=>O(1),beforeEach:r.add,beforeResolve:a.add,afterEach:s.add,onError:I.add,isReady:function(){return A&&l.value!==rl?Promise.resolve():new Promise((e,t)=>{T.add([e,t])})},install(e){e.component("RouterLink",$l),e.component("RouterView",Wl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Fn(l)}),hs&&!M&&l.value===rl&&(M=!0,g(i.location).catch(e=>{}));const t={};for(const o in rl)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Ol,this),e.provide(Ml,Sn(t)),e.provide(Ll,l);const n=e.unmount;L.add(e),e.unmount=function(){L.delete(e),L.size<1&&(c=rl,C&&C(),C=null,l.value=rl,M=!1,A=!1),n()}}};function z(e){return e.reduce((e,t)=>e.then(()=>_(t)),Promise.resolve())}return D}function ql(){return tr(Ml)}const Ql=["{","}"];const Yl=/^(?:\d)+/,Gl=/^(?:\w)+/;const Xl="zh-Hans",Kl="zh-Hant",Jl="en",Zl="fr",ec="es",tc=Object.prototype.hasOwnProperty,nc=(e,t)=>tc.call(e,t),oc=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=Ql){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let i=0,r="";for(;i<e.length;){let a=e[i++];if(a===t){r&&o.push({type:"text",value:r}),r="";let t="";for(a=e[i++];void 0!==a&&a!==n;)t+=a,a=e[i++];const s=a===n,l=Yl.test(t)?"list":s&&Gl.test(t)?"named":"unknown";o.push({value:t,type:l})}else r+=a}return r&&o.push({type:"text",value:r}),o}(e,n),this._caches[e]=o),function(e,t){const n=[];let o=0;const i=Array.isArray(t)?"list":(r=t,null!==r&&"object"==typeof r?"named":"unknown");var r;if("unknown"===i)return n;for(;o<e.length;){const r=e[o];switch(r.type){case"text":n.push(r.value);break;case"list":n.push(t[parseInt(r.value,10)]);break;case"named":"named"===i&&n.push(t[r.value])}o++}return n}(o,t)}};function ic(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return Xl;if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?Xl:e.indexOf("-hant")>-1?Kl:(n=e,["-tw","-hk","-mo","-cht"].find(e=>-1!==n.indexOf(e))?Kl:Xl);var n;let o=[Jl,Zl,ec];t&&Object.keys(t).length>0&&(o=Object.keys(t));const i=function(e,t){return t.find(t=>0===e.indexOf(t))}(e,o);return i||void 0}class rc{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:i}){this.locale=Jl,this.fallbackLocale=Jl,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=i||oc,this.messages=n||{},this.setLocale(e||Jl),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=ic(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach(e=>{e(this.locale,t)})}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach(e=>{nc(o,e)||(o[e]=t[e])}):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let o=this.message;return"string"==typeof t?(t=ic(t,this.messages))&&(o=this.messages[t]):n=t,nc(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function ac(e,t={},n,o){if("string"!=typeof e){const n=[t,e];e=n[0],t=n[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&cp?cp():"undefined"!=typeof global&&global.getLocale?global.getLocale():Jl),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Jl);const i=new rc({locale:e,fallbackLocale:n,messages:t,watcher:o});let r=(e,t)=>{{let e=!1;r=function(t,n){const o=Uy().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale(e=>{t.setLocale(e)}):e.$watch(()=>e.$locale,e=>{t.setLocale(e)})}(o,i))),i.t(t,n)}}return r(e,t)};return{i18n:i,f:(e,t,n)=>i.f(e,t,n),t:(e,t)=>r(e,t),add:(e,t,n=!0)=>i.add(e,t,n),watch:e=>i.watchLocale(e),getLocale:()=>i.getLocale(),setLocale:e=>i.setLocale(e)}}function sc(e,t){return e.indexOf(t[0])>-1}const lc=Le(()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length);let cc;function uc(e){return sc(e,te)?pc().f(e,function(){const e=cp(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),te):e}function dc(e,t){if(1===t.length){if(e){const n=e=>y(e)&&sc(e,te),o=t[0];let i=[];if(p(e)&&(i=e.filter(e=>n(e[o]))).length)return i;const r=e[t[0]];if(n(r))return e}return}const n=t.shift();return dc(e&&e[n],t)}function hc(e,t){const n=dc(e,t);if(!n)return!1;const o=t[t.length-1];if(p(n))n.forEach(e=>hc(e,[o]));else{let e=n[o];Object.defineProperty(n,o,{get:()=>uc(e),set(t){e=t}})}return!0}function pc(){if(!cc){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,cc=ac(e),lc()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(e=>cc.add(e,__uniConfig.locales[e])),cc.setLocale(e)}}return cc}function fc(e,t,n){return t.reduce((t,o,i)=>(t[e+o]=n[i],t),{})}const mc=Le(()=>{const e="uni.async.",t=["error"];pc().add(Jl,fc(e,t,["The connection timed out, click the screen to try again."]),!1),pc().add(ec,fc(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),pc().add(Zl,fc(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),pc().add(Xl,fc(e,t,["è¿æ¥æå¡å¨è¶
æ¶ï¼ç¹å»å±å¹éè¯"]),!1),pc().add(Kl,fc(e,t,["飿¥æåå¨è¶
æï¼é»æå±å¹é試"]),!1)}),gc=Le(()=>{const e="uni.showActionSheet.",t=["cancel"];pc().add(Jl,fc(e,t,["Cancel"]),!1),pc().add(ec,fc(e,t,["Cancelar"]),!1),pc().add(Zl,fc(e,t,["Annuler"]),!1),pc().add(Xl,fc(e,t,["åæ¶"]),!1),pc().add(Kl,fc(e,t,["åæ¶"]),!1)}),yc=Le(()=>{const e="uni.showToast.",t=["unpaired"];pc().add(Jl,fc(e,t,["Please note showToast must be paired with hideToast"]),!1),pc().add(ec,fc(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),pc().add(Zl,fc(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),pc().add(Xl,fc(e,t,["请注æ showToast ä¸ hideToast å¿
é¡»é
对使ç¨"]),!1),pc().add(Kl,fc(e,t,["è«æ³¨æ showToast è hideToast å¿
é é
å°ä½¿ç¨"]),!1)}),bc=Le(()=>{const e="uni.showLoading.",t=["unpaired"];pc().add(Jl,fc(e,t,["Please note showLoading must be paired with hideLoading"]),!1),pc().add(ec,fc(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),pc().add(Zl,fc(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),pc().add(Xl,fc(e,t,["请注æ showLoading ä¸ hideLoading å¿
é¡»é
对使ç¨"]),!1),pc().add(Kl,fc(e,t,["è«æ³¨æ showLoading è hideLoading å¿
é é
å°ä½¿ç¨"]),!1)}),vc=Le(()=>{const e="uni.showModal.",t=["cancel","confirm"];pc().add(Jl,fc(e,t,["Cancel","OK"]),!1),pc().add(ec,fc(e,t,["Cancelar","OK"]),!1),pc().add(Zl,fc(e,t,["Annuler","OK"]),!1),pc().add(Xl,fc(e,t,["åæ¶","ç¡®å®"]),!1),pc().add(Kl,fc(e,t,["åæ¶","確å®"]),!1)}),_c=Le(()=>{const e="uni.chooseFile.",t=["notUserActivation"];pc().add(Jl,fc(e,t,["File chooser dialog can only be shown with a user activation"]),!1),pc().add(ec,fc(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),pc().add(Zl,fc(e,t,["La boîte de dialogue du sélecteur de fichier ne peut être affichée qu'avec une activation par l'utilisateur"]),!1),pc().add(Xl,fc(e,t,["æä»¶éæ©å¨å¯¹è¯æ¡åªè½å¨ç±ç¨æ·æ¿æ´»æ¶æ¾ç¤º"]),!1),pc().add(Kl,fc(e,t,["æä»¶é¸æå¨å°è©±æ¡åªè½å¨ç±ç¨æ¶æ¿æ´»æé¡¯ç¤º"]),!1)}),wc=Le(()=>{const e="uni.setClipboardData.",t=["success","fail"];pc().add(Jl,fc(e,t,["Content copied","Copy failed, please copy manually"]),!1),pc().add(ec,fc(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),pc().add(Zl,fc(e,t,["Contenu copié","Ãchec de la copie, copiez manuellement"]),!1),pc().add(Xl,fc(e,t,["å
容已å¤å¶","å¤å¶å¤±è´¥ï¼è¯·æå¨å¤å¶"]),!1),pc().add(Kl,fc(e,t,["å
§å®¹å·²å¾©å¶","復å¶å¤±æï¼è«æå復製"]),!1)}),Sc=Le(()=>{const e="uni.picker.",t=["done","cancel"];pc().add(Jl,fc(e,t,["Done","Cancel"]),!1),pc().add(ec,fc(e,t,["OK","Cancelar"]),!1),pc().add(Zl,fc(e,t,["OK","Annuler"]),!1),pc().add(Xl,fc(e,t,["宿","åæ¶"]),!1),pc().add(Kl,fc(e,t,["宿","åæ¶"]),!1)}),xc=Le(()=>{const e="uni.video.",t=["danmu","volume"];pc().add(Jl,fc(e,t,["Danmu","Volume"]),!1),pc().add(ec,fc(e,t,["Danmu","Volumen"]),!1),pc().add(Zl,fc(e,t,["Danmu","Le Volume"]),!1),pc().add(Xl,fc(e,t,["å¼¹å¹","é³é"]),!1),pc().add(Kl,fc(e,t,["å½å¹","é³é"]),!1)});function Cc(e){const t=new st;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,i=!1){t[i?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,i){t.emit(`${e}.${n}`,o,i)}}}const kc="invokeViewApi",Ac="invokeServiceApi";let Tc=1;const Ic=Object.create(null);function Ec(e,t){return e+"."+t}function Bc(e,t,n){t=Ec(e,t),Ic[t]||(Ic[t]=n)}function Pc({id:e,name:t,args:n},o){t=Ec(o,t);const i=t=>{e&&H_.publishHandler(kc+"."+e,t)},r=Ic[t];r?r(n,i):i({})}const Oc=c(Cc("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:i}=H_,r=n?Tc++:0;n&&o(Ac+"."+r,n,!0),i(Ac,{id:r,name:e,args:t})}}),Mc=Ye(!0);let Lc;function Dc(){Lc&&(clearTimeout(Lc),Lc=null)}let zc=0,Nc=0;function Rc(e){if(Dc(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];zc=t,Nc=n,Lc=setTimeout(function(){const t=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});t.touches=e.touches,t.changedTouches=e.changedTouches,e.target.dispatchEvent(t)},350)}function jc(e){if(!Lc)return;if(1!==e.touches.length)return Dc();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-zc)>10||Math.abs(n-Nc)>10?Dc():void 0}function $c(e,t){const n=Number(e);return isNaN(n)?t:n}function Fc(){const e=__uniConfig.globalStyle||{},t=$c(e.rpxCalcMaxDeviceWidth,960),n=$c(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 Hc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vc,Wc,Uc=["top","left","right","bottom"],qc={};function Qc(){return Wc="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 Yc(){if(Wc="string"==typeof Wc?Wc:Qc()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(s){}var o=document.createElement("div");i(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Uc.forEach(function(e){a(o,e)}),document.body.appendChild(o),r(),Vc=!0}else Uc.forEach(function(e){qc[e]=0});function i(e,t){var n=e.style;Object.keys(t).forEach(function(e){var o=t[e];n[e]=o})}function r(t){t?e.push(t):e.forEach(function(e){e()})}function a(e,n){var o=document.createElement("div"),a=document.createElement("div"),s=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Wc+"(safe-area-inset-"+n+")"};i(o,c),i(a,c),i(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),i(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(s),a.appendChild(l),e.appendChild(o),e.appendChild(a),r(function(){o.scrollTop=a.scrollTop=1e4;var e=o.scrollTop,i=a.scrollTop;function r(){this.scrollTop!==(this===o?e:i)&&(o.scrollTop=a.scrollTop=1e4,e=o.scrollTop,i=a.scrollTop,function(e){Xc.length||setTimeout(function(){var e={};Xc.forEach(function(t){e[t]=qc[t]}),Xc.length=0,Kc.forEach(function(t){t(e)})},0);Xc.push(e)}(n))}o.addEventListener("scroll",r,t),a.addEventListener("scroll",r,t)});var u=getComputedStyle(o);Object.defineProperty(qc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Gc(e){return Vc||Yc(),qc[e]}var Xc=[];var Kc=[];const Jc=Hc({get support(){return 0!=("string"==typeof Wc?Wc:Qc()).length},get top(){return Gc("top")},get left(){return Gc("left")},get right(){return Gc("right")},get bottom(){return Gc("bottom")},onChange:function(e){Qc()&&(Vc||Yc(),"function"==typeof e&&Kc.push(e))},offChange:function(e){var t=Kc.indexOf(e);t>=0&&Kc.splice(t,1)}}),Zc=ls(()=>{},["prevent"]),eu=ls(e=>{},["stop"]);function tu(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function nu(){const e=tu(document.documentElement.style,"--window-top");return e?e+Jc.top:0}function ou(){const e=document.documentElement.style,t=nu(),n=tu(e,"--window-bottom"),o=tu(e,"--window-left"),i=tu(e,"--window-right"),r=tu(e,"--top-window-height");return{top:t,bottom:n?n+Jc.bottom:0,left:o?o+Jc.left:0,right:i?i+Jc.right:0,topWindowHeight:r||0}}function iu(e){const t=document.documentElement.style;Object.keys(e).forEach(n=>{t.setProperty(n,e[n])})}function ru(e){return iu(e)}function au(e){return Symbol(e)}function su(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function lu(e,t=!1){if(t)return function(e){if(!su(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,(e,t)=>fh(parseFloat(t))+"px")}(e);if(y(e)){const t=parseInt(e)||0;return su(e)?fh(t):t}return e}function cu(e){return e.$page}function uu(e){return 0===e.tagName.indexOf("UNI-")}const du="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",hu="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",pu="M21.781 7.844l-9.063 8.594 9.063 8.594q0.25 0.25 0.25 0.609t-0.25 0.578q-0.25 0.25-0.578 0.25t-0.578-0.25l-9.625-9.125q-0.156-0.125-0.203-0.297t-0.047-0.359q0-0.156 0.047-0.328t0.203-0.297l9.625-9.125q0.25-0.25 0.578-0.25t0.578 0.25q0.25 0.219 0.25 0.578t-0.25 0.578z";function fu(e,t="#000",n=27){return jr("svg",{width:n,height:n,viewBox:"0 0 32 32"},[jr("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function mu(){{const{$pageInstance:e}=Kr();return e&&xu(e.proxy)}}function gu(e){const t=je(e);if(t.$page)return xu(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return xu(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?xu(n):void 0}function yu(){const e=Pf(),t=e.length;if(t)return e[t-1]}function bu(){var e;const t=null==(e=yu())?void 0:e.$page;if(t)return t.meta}function vu(){const e=bu();return e?e.id:-1}function _u(){const e=yu();if(e)return e.$vm}const wu=["navigationBar","pullToRefresh"];function Su(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);wu.forEach(t=>{o[t]=c({},n[t],e[t])});const{navigationBar:i}=o;return i.titleText&&i.titleImage&&(i.titleText=""),o}function xu(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function Cu(e,t,n){if(y(e))n=t,t=e,e=_u();else if("number"==typeof e){const t=Pf().find(t=>cu(t).id===e);e=t?t.$vm:_u()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n})(o,n)}function ku(e){e.preventDefault()}let Au,Tu=0;function Iu({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,i=!1,r=!0;const a=()=>{function a(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,r=o>0&&e>t&&o+t+n>=e,a=Math.abs(e-Tu)>n;return!r||i&&!a?(!r&&i&&(i=!1),!1):(Tu=e,i=!0,!0)})())return t&&t(),r=!1,setTimeout(function(){r=!0},350),!0}e&&e(window.pageYOffset),t&&r&&(a()||(Au=setTimeout(a,300))),o=!1};return function(){clearTimeout(Au),o||requestAnimationFrame(a),o=!0}}function Eu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return Eu(e,t.slice(2));const n=t.split("/"),o=n.length;let i=0;for(;i<o&&".."===n[i];i++);n.splice(0,i),t=n.join("/");const r=e.length>0?e.split("/"):[];return r.splice(r.length-i-1,i+1),Me(r.concat(n).join("/"))}function Bu(e,t=!1){return t?__uniRoutes.find(t=>t.path===e||t.alias===e):__uniRoutes.find(t=>t.path===e)}function Pu(){Fc(),Ue(uu),window.addEventListener("touchstart",Rc,Mc),window.addEventListener("touchmove",jc,Mc),window.addEventListener("touchend",Dc,Mc),window.addEventListener("touchcancel",Dc,Mc)}class Ou{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(Fe(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&&Fe(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=zu(this.$el.querySelector(e));return t?Mu(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o<n.length;o++){const e=zu(n[o]);e&&t.push(Mu(e,!1))}return t}forceUpdate(e){"class"===e?this.$bindClass?(this.$el.__wxsClassChanged=!0,this.$vm.$forceUpdate()):this.updateWxsClass():"style"===e&&(this.$bindStyle?(this.$el.__wxsStyleChanged=!0,this.$vm.$forceUpdate()):this.updateWxsStyle())}updateWxsClass(){const{__wxsAddClass:e}=this.$el;e.length&&(this.$el.className=e.join(" "))}updateWxsStyle(){const{__wxsStyle:e}=this.$el;e&&this.$el.setAttribute("style",function(e){let t="";if(!e||y(e))return t;for(const n in e){const o=e[n],i=n.startsWith("--")?n:B(n);(y(o)||"number"==typeof o)&&(t+=`${i}:${o};`)}return t}(e))}setStyle(e){return this.$el&&e?(y(e)&&(e=V(e)),x(e)&&(this.$el.__wxsStyle=e,this.forceUpdate("style")),this):this}addClass(e){if(!this.$el||!e)return this;const t=this.$el.__wxsAddClass||(this.$el.__wxsAddClass=[]);return-1===t.indexOf(e)&&(t.push(e),this.forceUpdate("class")),this}removeClass(e){if(!this.$el||!e)return this;const{__wxsAddClass:t}=this.$el;if(t){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];g(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&H_.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 Mu(e,t=!0){if(t&&e&&(e=$e(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Ou(e)),e.$el.__wxsComponentDescriptor}function Lu(e,t){return Mu(e,t)}function Du(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Lu(n.proxy,!1)}));const i=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=$e(t);if(!o)return!1;const i=o.$.type;return!(!i.$wxs&&!i.$renderjs)&&o}(t,n,o);if(i)return[e,Lu(i,!1)]}}function zu(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Nu(e,t=!1){const{type:n,timeStamp:o,target:i,currentTarget:r}=e;let a,s;a=Ge(t?i:function(e){for(;!uu(e);)e=e.parentElement;return e}(i)),s=Ge(r);const l={type:n,timeStamp:o,target:a,detail:{},currentTarget:s};return e instanceof CustomEvent&&x(e.detail)&&(l.detail=e.detail),e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){c(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function Ru(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function ju(e,t){const n=[];for(let o=0;o<e.length;o++){const{identifier:i,pageX:r,pageY:a,clientX:s,clientY:l,force:c}=e[o];n.push({identifier:i,pageX:r,pageY:a-t,clientX:s,clientY:l-t,force:c||0})}return n}const $u=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const i=!uu(o);if(i)return Du(e,t,n,!1)||[e];const r=Nu(e,i);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,i=nu();e.detail={x:n,y:o-i},e.touches=e.changedTouches=[Ru(t,i)]}(r,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=nu();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Ru(t,n)]}(r,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=nu();r.touches=ju(e.touches,t),r.changedTouches=ju(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach(t=>{Object.defineProperty(r,t,{get:()=>e[t]})})}return Du(r,t,n)||[r]},createNativeEvent:Nu},Symbol.toStringTag,{value:"Module"});function Fu(e){!function(e){const t=e.globalProperties;c(t,$u),t.$gcd=Lu}(e._context.config)}let Hu=1;function Vu(e){return(e||vu())+"."+kc}const Wu=c(Cc("view"),{invokeOnCallback:(e,t)=>V_.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:i,publishHandler:r}=V_,a=o?Hu++:0;o&&i(kc+"."+a,o,!0),r(Vu(n),{id:a,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:i,unsubscribe:r,publishHandler:a}=V_,s=Hu++,l=kc+"."+s;return i(l,n),a(Vu(o),{id:s,name:e,args:t},o),()=>{r(l)}}});function Uu(e){Cu(yu(),me,e),V_.invokeOnCallback("onWindowResize",e)}function qu(e){const t=yu();Cu(Uy(),ie,e),Cu(t,ie)}function Qu(){Cu(Uy(),re),Cu(yu(),re)}const Yu=[ye,ve];function Gu(){Yu.forEach(e=>V_.subscribe(e,function(e){return(t,n)=>{Cu(parseInt(n),e,t)}}(e)))}function Xu(){!function(){const{on:e}=V_;e(me,Uu),e(Be,qu),e(Pe,Qu)}(),Gu()}function Ku(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new tt(this.$page.id)),e.eventChannel}}function Ju(e){e._context.config.globalProperties.getOpenerEventChannel=Ku}function Zu(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function ed(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(e,t)=>`${fh(parseFloat(t))}px`):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function td(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,i=t.actions.length;function r(){const t=o[n],a=t.option.transition,s=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],i=["width","height","left","right","top","bottom"],r=e.animates,a=e.option,s=a.transition,l={},c=[];return r.forEach(e=>{let r=e.type,a=[...e.args];if(t.concat(n).includes(r))r.startsWith("rotate")||r.startsWith("skew")?a=a.map(e=>parseFloat(e)+"deg"):r.startsWith("translate")&&(a=a.map(ed)),n.indexOf(r)>=0&&(a.length=1),c.push(`${r}(${a.join(",")})`);else if(o.concat(i).includes(a[0])){r=a[0];const e=a[1];l[r]=i.includes(r)?ed(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)} ${s.duration}ms ${s.timingFunction} ${s.delay}ms`).join(","),l.transformOrigin=l.webkitTransformOrigin=a.transformOrigin,l}(t);Object.keys(s).forEach(t=>{e.$el.style[t]=s[t]}),n+=1,n<i&&setTimeout(r,a.duration+a.delay)}setTimeout(()=>{r()},0)}const nd={props:["animation"],watch:{animation:{deep:!0,handler(){td(this)}}},mounted(){td(this)}},od=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(nd),id(e)},id=e=>(e.__reserved=!0,e.compatConfig={MODE:3},ti(e));function rd(e){return e.__wwe=!0,e}function ad(e,t){return(n,o,i)=>{e.value&&t(n,function(e,t,n,o){let i;return i=Ge(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:i,currentTarget:i,detail:o}}(n,o,e.value,i||{}))}}const sd={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function ld(e){const t=Nn(!1);let n,o,i=!1;function r(){requestAnimationFrame(()=>{clearTimeout(o),o=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function a(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),i=!0,n=setTimeout(()=>{t.value=!0,i||r()},parseInt(e.hoverStartTime)))}function s(){i=!1,t.value&&r()}function l(){s(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:rd(function(e){e.touches.length>1||a(e)}),onMousedown:rd(function(e){i||(a(e),window.addEventListener("mouseup",l))}),onTouchend:rd(function(){s()}),onMouseup:rd(function(){i&&l()}),onTouchcancel:rd(function(){i=!1,t.value=!1,clearTimeout(n)})}}}function cd(e,t){return y(t)&&(t=[t]),t.reduce((t,n)=>(e[n]&&(t[n]=!0),t),Object.create(null))}const ud=au("uf"),dd=au("ul");function hd(e,t){pd(e.id,t),No(()=>e.id,(e,n)=>{fd(n,t,!0),pd(e,t,!0)}),ki(()=>{fd(e.id,t)})}function pd(e,t,n){const o=mu();n&&!e||x(t)&&Object.keys(t).forEach(i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&H_.on(`uni-${i}-${o}-${e}`,t[i]):0===i.indexOf("uni-")?H_.on(i,t[i]):e&&H_.on(`uni-${i}-${o}-${e}`,t[i])})}function fd(e,t,n){const o=mu();n&&!e||x(t)&&Object.keys(t).forEach(i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&H_.off(`uni-${i}-${o}-${e}`,t[i]):0===i.indexOf("uni-")?H_.off(i,t[i]):e&&H_.off(`uni-${i}-${o}-${e}`,t[i])})}const md=od({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=Nn(null),o=tr(ud,!1),{hovering:i,binding:r}=ld(e),a=rd((t,i)=>{if(e.disabled)return t.stopImmediatePropagation();i&&n.value.click();const r=e.formType;if(r){if(!o)return;"submit"===r?o.submit(t):"reset"===r&&o.reset(t)}else;}),s=tr(dd,!1);return s&&(s.addHandler(a),Ci(()=>{s.removeHandler(a)})),hd(e,{"label-click":a}),()=>{const o=e.hoverClass,s=cd(e,"disabled"),l=cd(e,"loading"),c=cd(e,"plain"),u=o&&"none"!==o;return jr("uni-button",qr({ref:n,onClick:a,id:e.id,class:u&&i.value?o:""},u&&r,s,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),gd=au("upm");function yd(){return tr(gd)}function bd(e){const t=function(e){return wn(function(e){{const{enablePullDownRefresh:t,navigationBar:n}=e;if(t){const t=function(e){return e.offset&&(e.offset=lu(e.offset)),e.height&&(e.height=lu(e.height)),e.range&&(e.range=lu(e.range)),e}(c({support:!0,color:"#2BD009",style:"circle",height:70,range:150,offset:0},e.pullToRefresh)),{type:o,style:i}=n;"custom"!==i&&"transparent"!==o&&(t.offset+=44+Jc.top),e.pullToRefresh=t}}{const{navigationBar:t}=e,{titleSize:n,titleColor:o,backgroundColor:i}=t;t.titleText=t.titleText||"",t.type=t.type||"default",t.titleSize=n||"16px",t.titleColor=o||"#000000",t.backgroundColor=i||"#F8F8F8"}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Pf().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(Su(ql().meta,e)))))}(e);return er(gd,t),t}function vd(){return ql()}function _d(){return history.state&&history.state.__id__||1}const wd=["original","compressed"],Sd=["album","camera"],xd=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function Cd(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function kd(e,t){return!p(e)||0===e.length||e.find(e=>-1===t.indexOf(e))?t:e}function Ad(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let Td=1;const Id={};function Ed(e,t,n,o=!1){return Id[e]={name:t,keepAlive:o,callback:n},e}function Bd(e,t,n){if("number"==typeof e){const o=Id[e];if(o)return o.keepAlive||delete Id[e],o.callback(t,n)}return t}function Pd(e){for(const t in Id)if(Id[t].name===e)return!0;return!1}const Od="success",Md="fail",Ld="complete";function Dd(e,t={},{beforeAll:n,beforeSuccess:o}={}){x(t)||(t={});const{success:i,fail:r,complete:a}=function(e){const t={};for(const n in e){const o=e[n];g(o)&&(t[n]=Ad(o),delete e[n])}return t}(t),s=g(i),l=g(r),c=g(a),u=Td++;return Ed(u,e,u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),g(n)&&n(u),u.errMsg===e+":ok"?(g(o)&&o(u,t),s&&i(u)):l&&r(u),c&&a(u)}),u}const zd="success",Nd="fail",Rd="complete",jd={},$d={};function Fd(e,t){return function(n){return e(n,t)||n}}function Hd(e,t,n){let o=!1;for(let i=0;i<e.length;i++){const r=e[i];if(o)o=Promise.resolve(Fd(r,n));else{const e=r(t,n);if(_(e)&&(o=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return o||{then:e=>e(t),catch(){}}}function Vd(e,t={}){return[zd,Nd,Rd].forEach(n=>{const o=e[n];if(!p(o))return;const i=t[n];t[n]=function(e){Hd(o,e,t).then(e=>g(i)&&i(e)||e)}}),t}function Wd(e,t){const n=[];p(jd.returnValue)&&n.push(...jd.returnValue);const o=$d[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach(e=>{t=e(t)||t}),t}function Ud(e){const t=Object.create(null);Object.keys(jd).forEach(e=>{"returnValue"!==e&&(t[e]=jd[e].slice())});const n=$d[e];return n&&Object.keys(n).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))}),t}function qd(e,t,n,o){const i=Ud(e);if(i&&Object.keys(i).length){if(p(i.invoke)){return Hd(i.invoke,n).then(n=>t(Vd(Ud(e),n),...o))}return t(Vd(i,n),...o)}return t(n,...o)}function Qd(e,t){return(n={},...o)=>function(e){return!(!x(e)||![Od,Md,Ld].find(t=>g(e[t])))}(n)?Wd(e,qd(e,t,c({},n),o)):Wd(e,new Promise((i,r)=>{qd(e,t,c({},n,{success:i,fail:r}),o)}))}function Yd(e,t,n,o={}){const i=t+":fail";let r="";return r=n?0===n.indexOf(i)?n:i+" "+n:i,delete o.errCode,Bd(e,c({errMsg:r},o))}function Gd(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(y(e))return e}const i=function(e,t){const n=e[0];if(!t||!t.formatArgs||!x(t.formatArgs)&&x(n))return;const o=t.formatArgs,i=Object.keys(o);for(let r=0;r<i.length;r++){const t=i[r],a=o[t];if(g(a)){const o=a(e[0][t],n);if(y(o))return o}else h(n,t)||(n[t]=a)}}(t,o);if(i)return i}function Xd(e){if(!g(e))throw new Error('Invalid args: type check failed for args "callback". Expected Function')}function Kd(e,t,n){return o=>{Xd(o);const i=Gd(0,[o],0,n);if(i)throw new Error(i);const r=!Pd(e);!function(e,t){Ed(Td++,e,t,!0)}(e,o),r&&(!function(e){V_.on("api."+e,t=>{for(const n in Id){const o=Id[n];o.name===e&&o.callback(t)}})}(e),t())}}function Jd(e,t,n){return o=>{Xd(o);const i=Gd(0,[o],0,n);if(i)throw new Error(i);!function(e,t){for(const n in Id){const o=Id[n];o.callback===t&&o.name===e&&delete Id[n]}}(e=e.replace("off","on"),o);Pd(e)||(!function(e){V_.off("api."+e)}(e),t())}}function Zd(e,t,n,o){return n=>{const i=Dd(e,n,o),r=Gd(0,[n],0,o);return r?Yd(i,e,r):t(n,{resolve:t=>function(e,t,n){return Bd(e,c(n||{},{errMsg:t+":ok"}))}(i,e,t),reject:(t,n)=>Yd(i,e,function(e){return!e||y(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function eh(e,t,n){return Kd(e,t,n)}function th(e,t,n){return Jd(e,t,n)}function nh(e,t,n,o){return Qd(e,Zd(e,t,0,o))}function oh(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Gd(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function ih(e,t,n,o){return Qd(e,function(e,t,n,o){return Zd(e,t,0,o)}(e,t,0,o))}function rh(e){return(t,{reject:n})=>n(function(e){return`method 'uni.${e}' not supported`}(e))}let ah=!1,sh=0,lh=0,ch=960,uh=375,dh=750;function hh(){let e,t,n;{const{windowWidth:o,pixelRatio:i,platform:r}=function(){const e=om(),t=am(rm(e,im(e)));return{platform:Jf?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();e=o,t=i,n=r}sh=e,lh=t,ah="ios"===n}function ph(e,t){const n=Number(e);return isNaN(n)?t:n}const fh=oh(0,(e,t)=>{if(0===sh&&(hh(),function(){const e=__uniConfig.globalStyle||{};ch=ph(e.rpxCalcMaxDeviceWidth,960),uh=ph(e.rpxCalcBaseDeviceWidth,375),dh=ph(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||sh;n=e===dh||n<=ch?n:uh;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==lh&&ah?.5:1),e<0?-o:o});const mh=new class{constructor(){this.$emitter=new st}on(e,t){return this.$emitter.on(e,t)}once(e,t){return this.$emitter.once(e,t)}off(e,t){e?this.$emitter.off(e,t):this.$emitter.e={}}emit(e,...t){this.$emitter.emit(e,...t)}},gh=oh(0,(e,t)=>(mh.on(e,t),()=>mh.off(e,t))),yh=oh(0,(e,t)=>(mh.once(e,t),()=>mh.off(e,t))),bh=oh(0,(e,t)=>{p(e)||(e=e?[e]:[]),e.forEach(e=>{mh.off(e,t)})}),vh=oh(0,(e,...t)=>{mh.emit(e,...t)}),_h=[.5,.8,1,1.25,1.5,2];class wh{constructor(e,t){this.id=e,this.pageId=t}play(){sm(this.id,this.pageId,"play")}pause(){sm(this.id,this.pageId,"pause")}stop(){sm(this.id,this.pageId,"stop")}seek(e){sm(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){sm(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~_h.indexOf(e)||(e=1),sm(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){sm(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){sm(this.id,this.pageId,"exitFullScreen")}showStatusBar(){sm(this.id,this.pageId,"showStatusBar")}hideStatusBar(){sm(this.id,this.pageId,"hideStatusBar")}}const Sh=oh(0,(e,t)=>new wh(e,gu(t||_u()))),xh=(e,t,n,o)=>{!function(e,t,n,o,i){V_.invokeViewMethod("map."+e,{type:n,data:o},t,i)}(e,t,n,o,e=>{o&&((e,t)=>{const n=t.errMsg||"";new RegExp("\\:\\s*fail").test(n)?e.fail&&e.fail(t):e.success&&e.success(t),e.complete&&e.complete(t)})(o,e)})};function Ch(e,t){return function(n,o){n?o[e]=Math.round(n):void 0!==t&&(o[e]=t)}}const kh=Ch("width"),Ah=Ch("height"),Th={PNG:"png",JPG:"jpg",JPEG:"jpg"},Ih={formatArgs:{x:Ch("x",0),y:Ch("y",0),width:kh,height:Ah,destWidth:Ch("destWidth"),destHeight:Ch("destHeight"),fileType(e,t){e=(e||"").toUpperCase();let n=Th[e];n||(n=Th.PNG),t.fileType=n},quality(e,t){t.quality=e&&e>0&&e<1?e:1}}};function Eh(e,t,n,o,i){V_.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,e=>{i&&i(e)})}var Bh=["scale","rotate","translate","setTransform","transform"],Ph=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],Oh=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const Mh={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",transparent:"#00000000"};function Lh(e){let t=null;if(null!=(t=/^#([0-9|A-F|a-f]{6})$/.exec(e=e||"#000000"))){return[parseInt(t[1].slice(0,2),16),parseInt(t[1].slice(2,4),16),parseInt(t[1].slice(4),16),255]}if(null!=(t=/^#([0-9|A-F|a-f]{3})$/.exec(e))){let e=t[1].slice(0,1),n=t[1].slice(1,2),o=t[1].slice(2,3);return e=parseInt(e+e,16),n=parseInt(n+n,16),o=parseInt(o+o,16),[e,n,o,255]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map(function(e){return Math.min(255,parseInt(e.trim()))}).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map(function(e,t){return 3===t?Math.floor(255*parseFloat(e.trim())):Math.min(255,parseInt(e.trim()))});var n=e.toLowerCase();if(h(Mh,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(Mh[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),i=parseInt(t[1].slice(4,6),16);let r=parseInt(t[1].slice(6,8),16);return r=r>=0?r:255,[e,o,i,r]}return console.error("unsupported color:"+e),[0,0,0,255]}class Dh{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,Lh(t)])}}class zh{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class Nh{constructor(e){this.width=e}}class Rh{constructor(e,t){this.id=e,this.pageId=t,this.actions=[],this.path=[],this.subpath=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}setFillStyle(e){console.log("initCanvasContextProperty implemented.")}setStrokeStyle(e){console.log("initCanvasContextProperty implemented.")}setShadow(e,t,n,o){console.log("initCanvasContextProperty implemented.")}addColorStop(e,t){console.log("initCanvasContextProperty implemented.")}setLineWidth(e){console.log("initCanvasContextProperty implemented.")}setLineCap(e){console.log("initCanvasContextProperty implemented.")}setLineJoin(e){console.log("initCanvasContextProperty implemented.")}setLineDash(e,t){console.log("initCanvasContextProperty implemented.")}setMiterLimit(e){console.log("initCanvasContextProperty implemented.")}fillRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}strokeRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}clearRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}fill(){console.log("initCanvasContextProperty implemented.")}stroke(){console.log("initCanvasContextProperty implemented.")}scale(e,t){console.log("initCanvasContextProperty implemented.")}rotate(e){console.log("initCanvasContextProperty implemented.")}translate(e,t){console.log("initCanvasContextProperty implemented.")}setFontSize(e){console.log("initCanvasContextProperty implemented.")}fillText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTextAlign(e){console.log("initCanvasContextProperty implemented.")}setTextBaseline(e){console.log("initCanvasContextProperty implemented.")}drawImage(e,t,n,o,i,r,a,s,l){console.log("initCanvasContextProperty implemented.")}setGlobalAlpha(e){console.log("initCanvasContextProperty implemented.")}strokeText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTransform(e,t,n,o,i,r){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],Eh(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new Dh("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new Dh("radial",[e,t,n])}createPattern(e,t){if(void 0===t)console.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t)<0))return new zh(e,t);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}measureText(e,t){let n=0;return n=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new Nh(n)}save(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}restore(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}beginPath(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}moveTo(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}lineTo(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}quadraticCurveTo(e,t,n,o){this.path.push({method:"quadraticCurveTo",data:[e,t,n,o]}),this.subpath.push([n,o])}bezierCurveTo(e,t,n,o,i,r){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,i,r]}),this.subpath.push([i,r])}arc(e,t,n,o,i,r=!1){this.path.push({method:"arc",data:[e,t,n,o,i,r]}),this.subpath.push([e,t])}rect(e,t,n,o){this.path.push({method:"rect",data:[e,t,n,o]}),this.subpath=[[e,t]]}arcTo(e,t,n,o,i){this.path.push({method:"arcTo",data:[e,t,n,o,i]}),this.subpath.push([n,o])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+\.?\d*r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),i=parseFloat(n[3]),r=n[7],a=[];o.forEach(function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(a.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal","lighter","bolder"].indexOf(e)>-1||/^\d+$/.test(e)?(a.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(a.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&s()}),1===o.length&&s(),o=a.map(function(e){return e.data[0]}).join(" "),this.state.fontSize=i,this.state.fontFamily=r,this.actions.push({method:"setFont",data:[`${o} ${i}px ${r}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function s(){a.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}}const jh=Le(()=>{[...Bh,...Ph].forEach(function(e){Rh.prototype[e]=function(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:[...this.path]})};case"fillRect":return function(e,t,n,o){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,o]}]})};case"strokeRect":return function(e,t,n,o){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,o]}]})};case"fillText":case"strokeText":return function(t,n,o,i){var r=[t.toString(),n,o];"number"==typeof i&&r.push(i),this.actions.push({method:e,data:r})};case"drawImage":return function(t,n,o,i,r,a,s,l,c){var u;function d(e){return"number"==typeof e}void 0===c&&(a=n,s=o,l=i,c=r,n=void 0,o=void 0,i=void 0,r=void 0),u=d(n)&&d(o)&&d(i)&&d(r)?[t,a,s,l,c,n,o,i,r]:d(l)&&d(c)?[t,a,s,l,c]:[t,a,s],this.actions.push({method:e,data:u})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)}),Oh.forEach(function(e){Rh.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",Lh(t)]}):this.actions.push({method:e,data:[t.type,t.data,t.colorStop]})};case"setGlobalAlpha":return function(t){t=Math.floor(255*parseFloat(t)),this.actions.push({method:e,data:[t]})};case"setShadow":return function(t,n,o,i){i=Lh(i),this.actions.push({method:e,data:[t,n,o,i]}),this.state.shadowBlur=o,this.state.shadowColor=i,this.state.shadowOffsetX=t,this.state.shadowOffsetY=n};case"setLineDash":return function(t,n){t=t||[0,0],n=n||0,this.actions.push({method:e,data:[t,n]}),this.state.lineDash=t};case"setFontSize":return function(t){this.state.font=this.state.font.replace(/\d+\.?\d*px/,t+"px"),this.state.fontSize=t,this.actions.push({method:e,data:[t]})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)})}),$h=oh(0,(e,t)=>{if(jh(),t)return new Rh(e,gu(t));const n=gu(_u());if(n)return new Rh(e,n);V_.emit(se,"createCanvasContext:fail")}),Fh=ih("canvasToTempFilePath",({x:e=0,y:t=0,width:n,height:o,destWidth:i,destHeight:r,canvasId:a,fileType:s,quality:l},{resolve:c,reject:u})=>{var d=gu(_u());if(!d)return void u();Eh(a,d,"toTempFilePath",{x:e,y:t,width:n,height:o,destWidth:i,destHeight:r,fileType:s,quality:l,dirname:"/canvas"},e=>{e.errMsg&&-1!==e.errMsg.indexOf("fail")?u("",e):c(e)})},0,Ih),Hh={thresholds:[0],initialRatio:0,observeAll:!1},Vh=["top","right","bottom","left"];let Wh=1;function Uh(e={}){return Vh.map(t=>`${Number(e[t])||0}px`).join(" ")}class qh{constructor(e,t){this._pageId=gu(e),this._component=e,this._options=c({},Hh,t)}relativeTo(e,t){return this._options.relativeToSelector=e,this._options.rootMargin=Uh(t),this}relativeToViewport(e){return this._options.relativeToSelector=void 0,this._options.rootMargin=Uh(e),this}observe(e,t){g(t)&&(this._options.selector=e,this._reqId=Wh++,function({reqId:e,component:t,options:n,callback:o}){const i=Qf(t);(i.__io||(i.__io={}))[e]=function(e,t,n){Zp();const o=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,i=new IntersectionObserver(e=>{e.forEach(e=>{n({intersectionRatio:tf(e),intersectionRect:ef(e.intersectionRect),boundingClientRect:ef(e.boundingClientRect),relativeRect:ef(e.rootBounds),time:Date.now(),dataset:qe(e.target),id:e.target.id})})},{root:o,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){i.USE_MUTATION_OBSERVER=!0;const n=e.querySelectorAll(t.selector);for(let e=0;e<n.length;e++)i.observe(n[e])}else{i.USE_MUTATION_OBSERVER=!1;const n=e.querySelector(t.selector);n?i.observe(n):console.warn(`Node ${t.selector} is not found. Intersection observer will not trigger.`)}return i}(i,n,o)}({reqId:this._reqId,component:this._component,options:this._options,callback:t},this._pageId))}disconnect(){this._reqId&&function({reqId:e,component:t}){const n=Qf(t),o=n.__io&&n.__io[e];o&&(o.disconnect(),delete n.__io[e])}({reqId:this._reqId,component:this._component},this._pageId)}}const Qh=oh(0,(e,t)=>((e=je(e))&&!gu(e)&&(t=e,e=null),new qh(e||_u(),t)));let Yh=0,Gh={};function Xh(e,t,n,o){const i={options:o},r=o&&("success"in o||"fail"in o||"complete"in o);if(r){const e=String(Yh++);i.callbackId=e,Gh[e]=o}V_.invokeViewMethod(`editor.${e}`,{type:n,data:i},t,({callbackId:e,data:t})=>{r&&(!function(e,t){e=e||{},y(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?g(e.success)&&e.success(t):g(e.fail)&&e.fail(t),g(e.complete)&&e.complete(t)}(Gh[e],t),delete Gh[e])})}const Kh={canvas:Rh,map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){xh(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){xh(this.id,this.pageId,"moveToLocation",e)}getScale(e){xh(this.id,this.pageId,"getScale",e)}getRegion(e){xh(this.id,this.pageId,"getRegion",e)}includePoints(e){xh(this.id,this.pageId,"includePoints",e)}translateMarker(e){xh(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){xh(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){xh(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){xh(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){xh(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){xh(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){xh(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){xh(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){xh(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){xh(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){xh(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){xh(this.id,this.pageId,"openMapApp",e)}on(e,t){xh(this.id,this.pageId,"on",{name:e,callback:t})}},video:wh,editor:class{constructor(e,t){this.id=e,this.pageId=t}format(e,t){this._exec("format",{name:e,value:t})}insertDivider(){this._exec("insertDivider")}insertImage(e){this._exec("insertImage",e)}insertText(e){this._exec("insertText",e)}setContents(e){this._exec("setContents",e)}getContents(e){this._exec("getContents",e)}clear(e){this._exec("clear",e)}removeFormat(e){this._exec("removeFormat",e)}undo(e){this._exec("undo",e)}redo(e){this._exec("redo",e)}blur(e){this._exec("blur",e)}getSelectionText(e){this._exec("getSelectionText",e)}scrollIntoView(e){this._exec("scrollIntoView",e)}_exec(e,t){Xh(this.id,this.pageId,e,t)}}};function Jh(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,i=Kh[n];e.context=new i(t,o),delete e.contextInfo}}class Zh{constructor(e,t,n,o){this._selectorQuery=e,this._component=t,this._selector=n,this._single=o}boundingClientRect(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},e),this._selectorQuery}fields(e,t){return this._selectorQuery._push(this._selector,this._component,this._single,e,t),this._selectorQuery}scrollOffset(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},e),this._selectorQuery}context(e){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},e),this._selectorQuery}node(e){return this._selectorQuery._push(this._selector,this._component,this._single,{node:!0},e),this._selectorQuery}}class ep{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return function(e,t,n){const o=[];t.forEach(({component:t,selector:n,single:i,fields:r})=>{null===t?o.push(function(e){const t={};e.id&&(t.id="");e.dataset&&(t.dataset={});e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0);e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight);if(e.scrollOffset){const e=document.documentElement,n=document.body;t.scrollLeft=e.scrollLeft||n.scrollLeft||0,t.scrollTop=e.scrollTop||n.scrollTop||0,t.scrollHeight=e.scrollHeight||n.scrollHeight||0,t.scrollWidth=e.scrollWidth||n.scrollWidth||0}return t}(r)):o.push(function(e,t,n,o,i){const r=function(e,t){if(!e)return t.$el;return e.$el}(t,e),a=r.parentElement;if(!a)return o?null:[];const{nodeType:s}=r,l=3===s||8===s;if(o){const e=l?a.querySelector(n):cm(r,n)?r:r.querySelector(n);return e?lm(e,i):null}{let e=[];const t=(l?a:r).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,t=>{e.push(lm(t,i))}),!l&&cm(r,n)&&e.unshift(lm(r,i)),e}}(e,t,n,i,r))}),n(o)}(this._page,this._queue,t=>{const n=this._queueCb;t.forEach((e,t)=>{p(e)?e.forEach(Jh):Jh(e);const o=n[t];g(o)&&o.call(this,e)}),g(e)&&e.call(this,t)}),this._nodesRef}in(e){return this._component=je(e),this}select(e){return this._nodesRef=new Zh(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new Zh(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new Zh(this,null,"",!0)}_push(e,t,n,o,i){this._queue.push({component:t,selector:e,single:n,fields:o}),this._queueCb.push(i)}}const tp=oh(0,e=>((e=je(e))&&!gu(e)&&(e=null),new ep(e||_u()))),np={formatArgs:{}},op={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};class ip{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=c({},op,e)}_getOption(e){const t={transition:c({},this.option,e),transformOrigin:""};return t.transformOrigin=t.transition.transformOrigin,delete t.transition.transformOrigin,t}_pushAnimates(e,t){this.currentStepAnimates.push({type:e,args:t})}_converType(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}_getValue(e){return"number"==typeof e?`${e}px`:e}export(){const e=this.actions;return this.actions=[],{actions:e}}step(e){return this.currentStepAnimates.forEach(e=>{"style"!==e.type?this.currentTransform[e.type]=e:this.currentTransform[`${e.type}.${e.args[0]}`]=e}),this.actions.push({animates:Object.values(this.currentTransform),option:this._getOption(e)}),this.currentStepAnimates=[],this}}const rp=Le(()=>{const e=["opacity","backgroundColor"],t=["width","height","left","right","top","bottom"];["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"].concat(e,t).forEach(n=>{ip.prototype[n]=function(...o){return e.concat(t).includes(n)?this._pushAnimates("style",[this._converType(n),t.includes(n)?this._getValue(o[0]):o[0]]):this._pushAnimates(n,o),this}})}),ap=oh(0,e=>(rp(),new ip(e)),0,np),sp=eh("onWindowResize",()=>{}),lp=th("offWindowResize",()=>{}),cp=oh(0,()=>{const e=Uy();return e&&e.$vm?e.$vm.$locale:pc().getLocale()}),up={[ue]:[],[ce]:[],[se]:[],[ie]:[],[re]:[]};const dp=oh(0,()=>c({},mm)),hp={formatArgs:{showToast:!0},beforeInvoke(){wc()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=pc(),o=n("uni.setClipboardData.success");o&&Xv({title:o,icon:"success",mask:!1})}},pp=(Boolean,{formatArgs:{filePath(e,t){t.filePath=Gf(e)}}}),fp=["wgs84","gcj02"],mp={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===fp.indexOf(e)?t.type=fp[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},gp=(Boolean,{formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=kd(e,wd)},sourceType(e,t){t.sourceType=kd(e,Sd)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}}),yp={formatArgs:{sourceType(e,t){t.sourceType=kd(e,Sd)},compressed:!0,maxDuration:60,camera:"back",extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},bp=(Boolean,["all","image","video"]),vp={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=kd(e,Sd)},type(e,t){t.type=Cd(e,bp)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||("all"!==t.type&&t.type?t.extension=["*"]:t.extension=[""])}}},_p={formatArgs:{src(e,t){t.src=Gf(e)}}},wp={formatArgs:{urls(e,t){t.urls=e.map(e=>y(e)&&e?Gf(e):"")},current(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:y(e)&&e&&(t.current=Gf(e))}}},Sp="saveImageToPhotosAlbum",xp="json",Cp=["text","arraybuffer"],kp=encodeURIComponent;ArrayBuffer,Boolean;const Ap={formatArgs:{method(e,t){t.method=Cd((e||"").toUpperCase(),xd)},data(e,t){t.data=e||""},url(e,t){t.method===xd[0]&&x(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 i=n[1]||"";e=n[0];const r=i.split("&").filter(e=>e),a={};r.forEach(e=>{const t=e.split("=");a[t[0]]=t[1]});for(const s in t)if(h(t,s)){let e=t[s];null==e?e="":x(e)&&(e=JSON.stringify(e)),a[kp(s)]=kp(e)}return i=Object.keys(a).map(e=>`${e}=${a[e]}`).join("&"),e+(i?"?"+i:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==xd[0]&&(Object.keys(n).find(e=>"content-type"===e.toLowerCase())||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||xp).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Cp.indexOf(t.responseType)&&(t.responseType="text")}}},Tp={formatArgs:{header(e,t){t.header=e||{}}}},Ip={formatArgs:{filePath(e,t){e&&(t.filePath=Gf(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}};const Ep={url:{type:String,required:!0}},Bp="navigateTo",Pp="redirectTo",Op="reLaunch",Mp="switchTab",Lp="preloadPage",Dp=($p(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),$p(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Vp(Bp)),zp=Vp(Pp),Np=Vp(Op),Rp=Vp(Mp),jp={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Pf().length-1,e)}}};function $p(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 Fp;function Hp(){Fp=""}function Vp(e){return{formatArgs:{url:Wp(e)},beforeAll:Hp}}function Wp(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=Pf();return n.length&&(t=cu(n[n.length-1]).route),Eu(t,e)}(t)).split("?")[0],i=Bu(o,!0);if(!i)return"page `"+t+"` is not found";if(e===Bp||e===Pp){if(i.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===Mp&&!i.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==Mp&&e!==Lp||!i.meta.isTabBar||"appLaunch"===n.openType||(t=o),i.meta.isEntry&&(t=t.replace(i.alias,"/")),n.url=function(e){if(!y(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(),i=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(i))}),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if(e!==Lp){if(Fp===t&&"appLaunch"!==n.openType)return`${Fp} locked`;__uniConfig.ready&&(Fp=t)}else if(i.meta.isTabBar){const e=Pf(),t=i.path.slice(1);if(e.find(e=>e.route===t))return"tabBar page `"+t+"` already exists"}}}const Up="setNavigationBarTitle",qp={formatArgs:{duration:300}},Qp={formatArgs:{itemColor:"#000"}},Yp=(Boolean,{formatArgs:{title:"",mask:!1}}),Gp=(Boolean,{beforeInvoke(){vc()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!h(t,"cancelText")){const{t:e}=pc();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!h(t,"confirmText")){const{t:e}=pc();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),Xp=["success","loading","none","error"],Kp=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=Cd(e,Xp)},image(e,t){t.image=e?Gf(e):""},duration:1500,mask:!1}}),Jp="stopPullDownRefresh",Zp=function(){if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(){for(var e=window.document,t=i(e);t;)t=i(e=t.ownerDocument);return e}(),t=[],n=null,o=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){o=e&&n?h(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach(function(e){e._checkForIntersections()})}),n},a._resetCrossOriginUpdater=function(){n=null,o=null},a.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var o=this._checkForIntersections,r=null,a=null;this.POLL_INTERVAL?r=n.setInterval(o,this.POLL_INTERVAL):(s(n,"resize",o,!0),s(t,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(o)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var e=t.defaultView;e&&(r&&e.clearInterval(r),l(e,"resize",o,!0)),l(t,"scroll",o,!0),a&&a.disconnect()});var c=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=c){var u=i(t);u&&this._monitorIntersections(u.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var o=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some(function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=o;){var r=i(n);if((n=r&&r.ownerDocument)==t)return!0}return!1})){var r=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),r(),t!=o){var a=i(t);a&&this._unmonitorIntersections(a.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},a.prototype._checkForIntersections=function(){if(this.root||!n||o){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(o){var i=o.element,a=u(i),s=this._rootContainsTarget(i),l=o.entry,c=e&&s&&this._computeTargetAndRootIntersection(i,a,t),d=null;this._rootContainsTarget(i)?n&&!this.root||(d=t):d={top:0,bottom:0,left:0,right:0,width:0,height:0};var h=o.entry=new r({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:a,rootBounds:d,intersectionRect:c});l?e&&s?this._hasCrossedThreshold(l,h)&&this._queuedEntries.push(h):l&&l.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},a.prototype._computeTargetAndRootIntersection=function(t,i,r){if("none"!=window.getComputedStyle(t).display){for(var a=i,s=f(t),l=!1;!l&&s;){var d=null,p=1==s.nodeType?window.getComputedStyle(s):{};if("none"==p.display)return null;if(s==this.root||9==s.nodeType)if(l=!0,s==this.root||s==e)n&&!this.root?!o||0==o.width&&0==o.height?(s=null,d=null,a=null):d=o:d=r;else{var m=f(s),g=m&&u(m),y=m&&this._computeTargetAndRootIntersection(m,g,r);g&&y?(s=m,d=h(g,y)):(s=null,a=null)}else{var b=s.ownerDocument;s!=b.body&&s!=b.documentElement&&"visible"!=p.overflow&&(d=u(s))}if(d&&(a=c(d,a)),!a)break;s=s&&f(s)}return a}},a.prototype._getRootRect=function(){var t;if(this.root&&!m(this.root))t=u(this.root);else{var n=m(this.root)?this.root:e,o=n.documentElement,i=n.body;t={top:0,left:0,right:o.clientWidth||i.clientWidth,width:o.clientWidth||i.clientWidth,bottom:o.clientHeight||i.clientHeight,height:o.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(t)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,o=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==o)for(var i=0;i<this.thresholds.length;i++){var r=this.thresholds[i];if(r==n||r==o||r<n!=r<o)return!0}},a.prototype._rootIsInDom=function(){return!this.root||p(e,this.root)},a.prototype._rootContainsTarget=function(t){var n=this.root&&(this.root.ownerDocument||this.root)||e;return p(n,t)&&(!this.root||n==t.ownerDocument)},a.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},a.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=a,window.IntersectionObserverEntry=r}function i(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(t){return null}}function r(e){this.time=e.time,this.target=e.target,this.rootBounds=d(e.rootBounds),this.boundingClientRect=d(e.boundingClientRect),this.intersectionRect=d(e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,o=this.intersectionRect,i=o.width*o.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function a(e,t){var n,o,i,r=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(r.root&&1!=r.root.nodeType&&9!=r.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),o=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout(function(){n(),i=null},o))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(r.rootMargin),this.thresholds=this._initThresholds(r.threshold),this.root=r.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,n,o){"function"==typeof e.addEventListener?e.addEventListener(t,n,o):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function l(e,t,n,o){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,o):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function c(e,t){var n=Math.max(e.top,t.top),o=Math.min(e.bottom,t.bottom),i=Math.max(e.left,t.left),r=Math.min(e.right,t.right),a=r-i,s=o-n;return a>=0&&s>=0&&{top:n,bottom:o,left:i,right:r,width:a,height:s}||null}function u(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function d(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function h(e,t){var n=t.top-e.top,o=t.left-e.left;return{top:n,left:o,height:t.height,width:t.width,bottom:n+t.height,right:o+t.width}}function p(e,t){for(var n=t;n;){if(n==e)return!0;n=f(n)}return!1}function f(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?i(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function m(e){return e&&9===e.nodeType}};function ef(e){const{bottom:t,height:n,left:o,right:i,top:r,width:a}=e||{};return{bottom:t,height:n,left:o,right:i,top:r,width:a}}function tf(e){const{intersectionRatio:t,boundingClientRect:{height:n,width:o},intersectionRect:{height:i,width:r}}=e;return 0!==t?t:i===n?r/o:i/n}function nf(){const e=_u();if(!e)return;const t=Bf(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:Mf(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,Cu(e,re))}function of(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function rf(e){const t=Bf().values();for(const n of t){const t=Cf(n);if(of(e,t))return n.$.__isActive=!0,t.id}}const af=ih(Mp,({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:i})=>{if(kf.handledBeforeEntryPageRoutes)return nf(),df({type:Mp,url:e,tabBarText:t,isAutomatedTesting:n},rf(e)).then(o).catch(i);Tf.push({args:{type:Mp,url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:i})},0,Rp);function sf(){const e=yu();if(!e)return;const t=Cf(e);Mf(Nf(t.path,t.id))}const lf=ih(Pp,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(kf.handledBeforeEntryPageRoutes)return sf(),df({type:Pp,url:e,isAutomatedTesting:t}).then(n).catch(o);If.push({args:{type:Pp,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,zp);function cf(){const e=Bf().keys();for(const t of e)Mf(t)}const uf=ih(Op,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(kf.handledBeforeEntryPageRoutes)return cf(),df({type:Op,url:e,isAutomatedTesting:t}).then(n).catch(o);Ef.push({args:{type:Op,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,Np);function df({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:i},r){const a=Uy().$router,{path:s,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:Ze(n||"")}}(t);return new Promise((t,c)=>{const u=function(e,t){return{__id__:t||++Lf,__type__:e}}(e,r);a["navigateTo"===e?"push":"replace"]({path:s,query:l,state:u,force:!0}).then(r=>{if(ul(r))return c(r.message);if("switchTab"===e&&(a.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=a.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 tt(u.__id__,o),t(i?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return i?t({__id__:u.__id__}):t()})})}function hf(){if(kf.handledBeforeEntryPageRoutes)return;kf.handledBeforeEntryPageRoutes=!0;const e=[...Af];Af.length=0,e.forEach(({args:e,resolve:t,reject:n})=>df(e).then(t).catch(n));const t=[...Tf];Tf.length=0,t.forEach(({args:e,resolve:t,reject:n})=>(nf(),df(e,rf(e.url)).then(t).catch(n)));const n=[...If];If.length=0,n.forEach(({args:e,resolve:t,reject:n})=>(sf(),df(e).then(t).catch(n)));const o=[...Ef];Ef.length=0,o.forEach(({args:e,resolve:t,reject:n})=>(cf(),df(e).then(t).catch(n)))}let pf;function ff(){var e;return pf||(pf=__uniConfig.tabBar&&wn((e=__uniConfig.tabBar,lc()&&e.list&&e.list.forEach(e=>{hc(e,["text"])}),e))),pf}function mf(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const gf=mf("top:env(a)"),yf=mf("top:constant(a)"),bf=mf("backdrop-filter:blur(10px)"),vf=(()=>gf?"env":yf?"constant":"")();function _f(e){let t=0,n=0;if("custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=44),e.isTabBar){const e=ff();e.shown&&(n=parseInt(e.height))}var o;ru({"--window-top":(o=t,vf?`calc(${o}px + ${vf}(safe-area-inset-top))`:`${o}px`),"--window-bottom":wf(n)})}function wf(e){return vf?`calc(${e}px + ${vf}(safe-area-inset-bottom))`:`${e}px`}const Sf="$$",xf=new Map;function Cf(e){return e.$page}const kf={handledBeforeEntryPageRoutes:!1},Af=[],Tf=[],If=[],Ef=[];function Bf(){return xf}function Pf(){return Of()}function Of(){const e=[],t=xf.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function Mf(e,t=!0){const n=xf.get(e);n.$.__isUnload=!0,Cu(n,he),xf.delete(e),t&&function(e){const t=Rf.get(e);t&&(Rf.delete(e),jf.pruneCacheEntry(t))}(e)}let Lf=_d();function Df(e){const t=yd();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,o,i,r){const{id:a,route:s}=o,l=ut(o.navigationBar,__uniConfig.themeConfig,r).titleColor;return{id:a,path:Me(s),route:s,fullPath:t,options:n,meta:o,openType:e,eventChannel:i,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function zf(e){const t=Df(e.$route);!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),xf.set(Nf(t.path,t.id),e),1===xf.size&&setTimeout(()=>{hf()},0)}function Nf(e,t){return e+Sf+t}const Rf=new Map,jf={get:e=>Rf.get(e),set(e,t){!function(e){const t=parseInt(e.split(Sf)[1]);if(!t)return;jf.forEach((e,n)=>{const o=parseInt(n.split(Sf)[1]);if(o&&o>t){if(function(e){return"tabBar"===e.props.type}(e))return;jf.delete(n),jf.pruneCacheEntry(e),ao(()=>{xf.forEach((e,t)=>{e.$.isUnmounted&&xf.delete(t)})})}})}(e),Rf.set(e,t)},delete(e){Rf.get(e)&&Rf.delete(e)},forEach(e){Rf.forEach(e)}};function $f(e,t){!function(e){const t=Hf(e),{body:n}=document;Vf&&n.removeAttribute(Vf),t&&n.setAttribute(t,""),Vf=t}(e),_f(t),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),qf(e,t)}function Ff(e){const t=Hf(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Hf(e){return e.type.__scopeId}let Vf;const Wf=!!(()=>{let e=!1;try{const t={};Object.defineProperty(t,"passive",{get(){e=!0}}),window.addEventListener("test-passive",()=>{},t)}catch(t){}return e})()&&{passive:!1};let Uf;function qf(e,t){if(document.removeEventListener("touchmove",ku),Uf&&document.removeEventListener("scroll",Uf),t.disableScroll)return document.addEventListener("touchmove",ku,Wf);const{onPageScroll:n,onReachBottom:o}=e,i="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!i)return;const r={},a=Cf(e.proxy).id;(n||i)&&(r.onPageScroll=function(e,t,n){return o=>{t&&H_.publishHandler(ye,{scrollTop:o},e),n&&H_.emit(e+"."+ye,{scrollTop:o})}}(a,n,i)),(null==o?void 0:o.length)&&(r.onReachBottomDistance=t.onReachBottomDistance||50,r.onReachBottom=()=>H_.publishHandler(ve,{},a)),Uf=Iu(r),requestAnimationFrame(()=>document.addEventListener("scroll",Uf))}function Qf(e){return e.$el}function Yf(e){const{base:t}=__uniConfig.router;return 0===Me(e).indexOf(t)?Me(e):t+e}function Gf(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0!==e.indexOf("./")||!e.includes("/static/")&&0!==e.indexOf("./"+(n||"assets")+"/")||(e=e.slice(1))),0===e.indexOf("/")){if(0!==e.indexOf("//"))return Yf(e.slice(1));e="https:"+e}if(ne.test(e)||oe.test(e)||0===e.indexOf("blob:"))return e;const o=Of();return o.length?Yf(Eu(Cf(o[o.length-1]).route,e).slice(1)):e}const Xf=navigator.userAgent,Kf=/android/i.test(Xf),Jf=/iphone|ipad|ipod/i.test(Xf),Zf=Xf.match(/Windows NT ([\d|\d.\d]*)/i),em=/Macintosh|Mac/i.test(Xf),tm=/Linux|X11/i.test(Xf),nm=em&&navigator.maxTouchPoints>0;function om(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function im(e){return e&&90===Math.abs(window.orientation)}function rm(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function am(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function sm(e,t,n,o){V_.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function lm(e,t){const n={},{top:o,topWindowHeight:i}=ou();if(t.node){const t=e.tagName.split("-")[1]||e.tagName;t&&(n.node=e.querySelector(t))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=qe(e)),t.rect||t.size){const r=e.getBoundingClientRect();t.rect&&(n.left=r.left,n.right=r.right,n.top=r.top-o-i,n.bottom=r.bottom-o-i),t.size&&(n.width=r.width,n.height=r.height)}if(p(t.properties)&&t.properties.forEach(e=>{e=e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}),t.scrollOffset)if("UNI-SCROLL-VIEW"===e.tagName){const t=e.children[0].children[0];n.scrollLeft=t.scrollLeft,n.scrollTop=t.scrollTop,n.scrollHeight=t.scrollHeight,n.scrollWidth=t.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(p(t.computedStyle)){const o=getComputedStyle(e);t.computedStyle.forEach(e=>{n[e]=o[e]})}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function cm(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){const t=this.parentElement.querySelectorAll(e);let n=t.length;for(;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}const um={};function dm(e,t){const n=um[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(function(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",i=atob(t[1]);let r=i.length;const a=new Uint8Array(r);for(;r--;)a[r]=i.charCodeAt(r);return hm(a,o)}(e)):t?Promise.reject(new Error("not find")):new Promise((t,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){t(this.response)},o.onerror=n,o.send()})}function hm(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const i=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],i,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||i}}return n}function pm(e){for(const n in um)if(h(um,n)){if(um[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return um[t]=e,t}function fm(e){(window.URL||window.webkitURL).revokeObjectURL(e),delete um[e]}const mm=Zu(),gm=Zu();const ym=od({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=Nn(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),i=function(e,t,n){const o=wn({width:-1,height:-1});return No(()=>c({},o),e=>t("resize",e)),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return function(e,t,n,o){ui(o),wi(()=>{t.initial&&ao(n);const i=e.value;i.offsetParent!==i.parentElement&&(i.parentElement.style.position="relative"),"AnimationEvent"in window||o()})}(n,e,i,o),()=>jr("uni-resize-sensor",{ref:n,onAnimationstartOnce:i},[jr("div",{onScroll:i},[jr("div",null,null)],40,["onScroll"]),jr("div",{onScroll:i},[jr("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const bm=function(){if(navigator.userAgent.includes("jsdom"))return 1;const e=document.createElement("canvas");e.height=e.width=0;const t=e.getContext("2d"),n=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}();function vm(e,t=!0){const n=t?bm:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let _m=!1;function wm(){if(_m)return;_m=!0;const e={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",transform:[4,5],setTransform:[4,5]},t=CanvasRenderingContext2D.prototype;t.drawImageByCanvas=function(e){return function(t,n,o,i,r,a,s,l,c,u){if(!this.__hidpi__)return e.apply(this,arguments);n*=bm,o*=bm,i*=bm,r*=bm,a*=bm,s*=bm,l=u?l*bm:l,c=u?c*bm:c,e.call(this,t,n,o,i,r,a,s,l,c)}}(t.drawImage),1!==bm&&(!function(e,t){for(const n in e)h(e,n)&&t(e[n],n)}(e,function(e,n){t[n]=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);let n=Array.prototype.slice.call(arguments);if("all"===e)n=n.map(function(e){return e*bm});else if(Array.isArray(e))for(let t=0;t<e.length;t++)n[e[t]]*=bm;return t.apply(this,n)}}(t[n])}),t.stroke=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.lineWidth*=bm,e.apply(this,arguments),this.lineWidth/=bm}}(t.stroke),t.fillText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);const t=Array.prototype.slice.call(arguments);t[1]*=bm,t[2]*=bm,t[3]&&"number"==typeof t[3]&&(t[3]*=bm);var n=this.__font__||this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,function(e,t,n){return t*bm+n}),e.apply(this,t),this.font=n}}(t.fillText),t.strokeText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);var t=Array.prototype.slice.call(arguments);t[1]*=bm,t[2]*=bm,t[3]&&"number"==typeof t[3]&&(t[3]*=bm);var n=this.__font__||this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,function(e,t,n){return t*bm+n}),e.apply(this,t),this.font=n}}(t.strokeText),t.drawImage=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.scale(bm,bm),e.apply(this,arguments),this.scale(1/bm,1/bm)}}(t.drawImage))}const Sm=Le(()=>wm());function xm(e){return e?Gf(e):e}function Cm(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function km(e,t){Array.from(t).forEach(t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top})}let Am;function Tm(e=0,t=0){return Am||(Am=document.createElement("canvas")),Am.width=e,Am.height=t,Am}const Im=od({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:{canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:n}){Sm();const o=Nn(null),i=Nn(null),r=Nn(null),a=Nn(!1),s=function(e){return(t,n)=>{e(t,Nu(n))}}(t),{$attrs:l,$excludeAttrs:u,$listeners:d}=bg({excludeListeners:!0}),{_listeners:p}=function(e,t,n){const o=ca(()=>{let o=["onTouchstart","onTouchmove","onTouchend"],i=t.value,r=c({},(()=>{let e={};for(const t in i)if(h(i,t)){const n=i[t];e[t]=n}return e})());return o.forEach(t=>{let o=[];r[t]&&o.push(rd(e=>{const o=e.currentTarget.getBoundingClientRect();km(o,e.touches),km(o,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)})),e.disableScroll&&"onTouchmove"===t&&o.push(Zc),r[t]=o}),r});return{_listeners:o}}(e,d,s),{_handleSubscribe:f,_resize:m}=function(e,t,n){let o=[],i={};const r=ca(()=>e.hidpi?bm:1);function a(n){let o=t.value;if(!n||o.width!==Math.floor(n.width*r.value)||o.height!==Math.floor(n.height*r.value))if(o.width>0&&o.height>0){let t=o.getContext("2d"),n=t.getImageData(0,0,o.width,o.height);vm(o,e.hidpi),t.putImageData(n,0,0)}else vm(o,e.hidpi)}function s({actions:e,reserve:r},a){if(!e)return;if(n.value)return void o.push([e,r]);let s=t.value,c=s.getContext("2d");r||(c.fillStyle="#000000",c.strokeStyle="#000000",c.shadowColor="#000000",c.shadowBlur=0,c.shadowOffsetX=0,c.shadowOffsetY=0,c.setTransform(1,0,0,1,0,0),c.clearRect(0,0,s.width,s.height)),l(e);for(let t=0;t<e.length;t++){const n=e[t];let o=n.method;const r=n.data,s=r[0];if(/^set/.test(o)&&"setTransform"!==o){const n=o[3].toLowerCase()+o.slice(4);let i;if("fillStyle"===n||"strokeStyle"===n){if("normal"===s)i=Cm(r[1]);else if("linear"===s){const e=c.createLinearGradient(...r[1]);r[2].forEach(function(t){const n=t[0],o=Cm(t[1]);e.addColorStop(n,o)}),i=e}else if("radial"===s){let e=r[1];const t=e[0],n=e[1],o=e[2],a=c.createRadialGradient(t,n,0,t,n,o);r[2].forEach(function(e){const t=e[0],n=Cm(e[1]);a.addColorStop(t,n)}),i=a}else if("pattern"===s){if(!u(r[1],e.slice(t+1),a,function(e){e&&(c[n]=c.createPattern(e,r[2]))}))break;continue}c[n]=i}else if("globalAlpha"===n)c[n]=Number(s)/255;else if("shadow"===n){let e=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];r.forEach(function(t,n){c[e[n]]="shadowColor"===e[n]?Cm(t):t})}else if("fontSize"===n){const e=c.__font__||c.font;c.__font__=c.font=e.replace(/\d+\.?\d*px/,s+"px")}else"lineDash"===n?(c.setLineDash(s),c.lineDashOffset=r[1]||0):"textBaseline"===n?("normal"===s&&(r[0]="alphabetic"),c[n]=s):"font"===n?c.__font__=c.font=s:c[n]=s}else if("fillPath"===o||"strokePath"===o)o=o.replace(/Path/,""),c.beginPath(),r.forEach(function(e){c[e.method].apply(c,e.data)}),c[o]();else if("fillText"===o)c.fillText.apply(c,r);else if("drawImage"===o){if("break"===function(){let n=[...r],o=n[0],s=n.slice(1);if(i=i||{},!u(o,e.slice(t+1),a,function(e){e&&c.drawImage.apply(c,[e].concat([...s.slice(4,8)],[...s.slice(0,4)]))}))return"break"}())break}else"clip"===o?(r.forEach(function(e){c[e.method].apply(c,e.data)}),c.clip()):c[o].apply(c,r)}n.value||a({errMsg:"drawCanvas:ok"})}function l(e){e.forEach(function(e){let t=e.method,n=e.data,o="";function r(){const e=i[o]=new Image;e.onload=function(){e.ready=!0},function(e){const t=document.createElement("a");return t.href=e,t.origin===location.origin?Promise.resolve(e):dm(e).then(pm)}(o).then(t=>{e.src=t}).catch(()=>{e.src=o})}"drawImage"===t?(o=n[0],o=xm(o),n[0]=o):"setFillStyle"===t&&"pattern"===n[0]&&(o=n[1],o=xm(o),n[1]=o),o&&!i[o]&&r()})}function u(e,t,r,a){let l=i[e];return l.ready?(a(l),!0):(o.unshift([t,!0]),n.value=!0,l.onload=function(){l.ready=!0,a(l),n.value=!1;let e=o.slice(0);o=[];for(let t=e.shift();t;)s({actions:t[0],reserve:t[1]},r),t=e.shift()},!1)}function d({x:e=0,y:n=0,width:o,height:i,destWidth:a,destHeight:s,hidpi:l=!0,dataType:c,quality:u=1,type:d="png"},h){const p=t.value;let f;const m=p.offsetWidth-e;o=o?Math.min(o,m):m;const g=p.offsetHeight-n;i=i?Math.min(i,g):g,l?(a=o,s=i):a||s?a?s||(s=Math.round(i/o*a)):(s||(s=Math.round(i*r.value)),a=Math.round(o/i*s)):(a=Math.round(o*r.value),s=Math.round(i*r.value));const y=Tm(a,s),b=y.getContext("2d");let v;"jpeg"!==d&&"jpg"!==d||(d="jpeg",b.fillStyle="#fff",b.fillRect(0,0,a,s)),b.__hidpi__=!0,b.drawImageByCanvas(p,e,n,o,i,0,0,a,s,!1);try{let e;if("base64"===c)f=y.toDataURL(`image/${d}`,u);else{const e=b.getImageData(0,0,a,s);f=Array.prototype.slice.call(e.data)}v={data:f,compressed:e,width:a,height:s}}catch(_){v={errMsg:`canvasGetImageData:fail ${_}`}}if(y.height=y.width=0,b.__hidpi__=!1,!h)return v;h(v)}function h({data:e,x:n,y:o,width:i,height:r,compressed:a},s){try{0,r||(r=Math.round(e.length/4/i));const a=Tm(i,r);a.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e),i,r),0,0),t.value.getContext("2d").drawImage(a,n,o,i,r),a.height=a.width=0}catch(l){return void s({errMsg:"canvasPutImageData:fail"})}s({errMsg:"canvasPutImageData:ok"})}function p({x:e=0,y:t=0,width:n,height:o,destWidth:i,destHeight:r,fileType:a,quality:s,dirname:l},c){const u=d({x:e,y:t,width:n,height:o,destWidth:i,destHeight:r,hidpi:!1,dataType:"base64",type:a,quality:s});var h;u.errMsg?c({errMsg:u.errMsg.replace("canvasPutImageData","toTempFilePath")}):(h=u.data,((e,t)=>{let n="toTempFilePath:"+(e?"fail":"ok");e&&(n+=` ${e.message}`),c({errMsg:n,tempFilePath:t})})(null,h))}const f={actionsChanged:s,getImageData:d,putImageData:h,toTempFilePath:p};function m(e,t,n){let o=f[e];0!==e.indexOf("_")&&g(o)&&o(t,n)}return c(f,{_resize:a,_handleSubscribe:m})}(e,i,a);return Sy(f,Cy(e.canvasId),!0),wi(()=>{m()}),()=>{const{canvasId:t,disableScroll:a}=e;return jr("uni-canvas",qr({ref:o,"canvas-id":t,"disable-scroll":a},l.value,u.value,p.value),[jr("canvas",{ref:i,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),jr("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),jr(ym,{ref:r,onResize:m},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});const Em=au("ucg"),Bm=od({name:"Checkbox",props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},value:{type:String,default:""},color:{type:String,default:"#007aff"},backgroundColor:{type:String,default:""},borderColor:{type:String,default:""},activeBackgroundColor:{type:String,default:""},activeBorderColor:{type:String,default:""},iconColor:{type:String,default:""},foreColor:{type:String,default:""}},setup(e,{slots:t}){const n=Nn(null),o=Nn(e.checked),i=ca(()=>"true"===o.value||!0===o.value),r=Nn(e.value);const a=ca(()=>function(t){if(e.disabled)return{backgroundColor:"#E1E1E1",borderColor:"#D1D1D1"};const n={};return t?(e.activeBorderColor&&(n.borderColor=e.activeBorderColor),e.activeBackgroundColor&&(n.backgroundColor=e.activeBackgroundColor)):(e.borderColor&&(n.borderColor=e.borderColor),e.backgroundColor&&(n.backgroundColor=e.backgroundColor)),n}(i.value));No([()=>e.checked,()=>e.value],([e,t])=>{o.value=e,r.value=t});const{uniCheckGroup:s,uniLabel:l}=function(e,t,n){const o=ca(()=>({checkboxChecked:Boolean(e.value),value:t.value})),i={reset:n},r=tr(Em,!1);r&&r.addField(o);const a=tr(ud,!1);a&&a.addField(i);const s=tr(dd,!1);return Ci(()=>{r&&r.removeField(o),a&&a.removeField(i)}),{uniCheckGroup:r,uniForm:a,uniLabel:s}}(o,r,()=>{o.value=!1}),c=t=>{e.disabled||(o.value=!o.value,s&&s.checkboxChange(t),t.stopPropagation())};return l&&(l.addHandler(c),Ci(()=>{l.removeHandler(c)})),hd(e,{"label-click":c}),()=>{const i=cd(e,"disabled");let r;return r=o.value,jr("uni-checkbox",qr(i,{id:e.id,onClick:c,ref:n}),[jr("div",{class:"uni-checkbox-wrapper",style:{"--HOVER-BD-COLOR":e.activeBorderColor}},[jr("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}],style:a.value},[r?fu(du,e.disabled?"#ADADAD":e.foreColor||e.iconColor||e.color,22):""],6),t.default&&t.default()],4)],16,["id","onClick"])}}});function Pm(){}const Om={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 Mm(e,t,n){function o(e){const t=ca(()=>0===String(navigator.vendor).indexOf("Apple"));e.addEventListener("focus",()=>{clearTimeout(void 0),document.addEventListener("click",Pm,!1)});e.addEventListener("blur",()=>{t.value&&e.blur(),document.removeEventListener("click",Pm,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)})}No(()=>t.value,e=>e&&o(e))}var Lm=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Dm=/^<\/([-A-Za-z0-9_]+)[^>]*>/,zm=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Nm=Vm("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Rm=Vm("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),jm=Vm("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),$m=Vm("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Fm=Vm("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),Hm=Vm("script,style");function Vm(e){for(var t={},n=e.split(","),o=0;o<n.length;o++)t[n[o]]=!0;return t}const Wm={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Um={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},qm={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"]},Qm=od({name:"Image",props:Wm,setup(e,{emit:t}){const n=Nn(null),o=function(e,t){const n=Nn(""),o=ca(()=>{let e="auto",o="";const i=qm[t.mode];return i?(i[0]&&(o=i[0]),i[1]&&(e=i[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`}),i=wn({rootEl:e,src:ca(()=>t.src?Gf(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return wi(()=>{const t=e.value;i.origWidth=t.clientWidth||0,i.origHeight=t.clientHeight||0}),i}(n,e),i=ad(n,t),{fixSize:r}=function(e,t,n){const o=()=>{const{mode:o}=t,i=Um[o];if(!i)return;const{origWidth:r,origHeight:a}=n,s=r&&a?r/a:0;if(!s)return;const l=e.value,c=l[i[0]];c&&(l.style[i[1]]=function(e){Ym&&e>10&&(e=2*Math.round(e/2));return e}(i[2](c,s))+"px")},i=()=>{const{style:t}=e.value,{origStyle:{width:o,height:i}}=n;t.width=o,t.height=i};return No(()=>t.mode,(e,t)=>{Um[t]&&i(),Um[e]&&o()}),{fixSize:o,resetSize:i}}(n,e,o);return function(e,t,n,o,i){let r,a;const s=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void s();r=r||new Image,r.onload=e=>{const{width:u,height:d}=r;s(u,d,l),ao(()=>{o()}),r.draggable=t.draggable,a&&a.remove(),a=r,n.value.appendChild(r),c(),i("load",e,{width:u,height:d})},r.onerror=t=>{s(),c(),i("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},r.src=l},c=()=>{r&&(r.onload=null,r.onerror=null,r=null)};No(()=>e.src,e=>l(e)),No(()=>e.imgSrc,e=>{!e&&a&&(a.remove(),a=null)}),wi(()=>l(e.src)),Ci(()=>c())}(o,e,n,r,i),()=>jr("uni-image",{ref:n},[jr("div",{style:o.modeStyle},null,4),Um[e.mode]?jr(ym,{onResize:r},null,8,["onResize"]):jr("span",null,null)],512)}});const Ym="Google Inc."===navigator.vendor;const Gm=Ye(!0),Xm=[];let Km=0,Jm=!1;const Zm=e=>Xm.forEach(t=>t.userAction=e);function eg(e={userAction:!1}){if(!Jm){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach(e=>{document.addEventListener(e,function(){!Km&&Zm(!0),Km++,setTimeout(()=>{! --Km&&Zm(!1)},0)},Gm)}),Jm=!0}Xm.push(e)}const tg=()=>!!Km;function ng(){const e=wn({userAction:!1});return wi(()=>{eg(e)}),Ci(()=>{!function(e){const t=Xm.indexOf(e);t>=0&&Xm.splice(t,1)}(e)}),{state:e}}function og(){const e=wn({attrs:{}});return wi(()=>{let t=Kr();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}}),{state:e}}function ig(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)}function rg(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const ag=["none","text","decimal","numeric","tel","search","email","url"],sg=c({},{name:{type:String,default:""},modelValue:{type:[String,Number]},value:{type:[String,Number]},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0},step:{type:String,default:"0.000000000000000001"},inputmode:{type:String,default:void 0,validator:e=>!!~ag.indexOf(e)},cursorColor:{type:String,default:""}},Om),lg=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function cg(e,t,n,o){let i=null;i=et(n=>{t.value=rg(n,e.type)},100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),No(()=>e.modelValue,i),No(()=>e.value,i);const r=function(e,t){let n,o,i=0;const r=function(...r){const a=Date.now();clearTimeout(n),o=()=>{o=null,i=a,e.apply(this,r)},a-i<t?n=setTimeout(o,t-(a-i)):o()};return r.cancel=function(){clearTimeout(n),o=null},r.flush=function(){clearTimeout(n),o&&o()},r}((e,t)=>{i.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)},100);return _i(()=>{i.cancel(),r.cancel()}),{trigger:o,triggerInput:(e,t,n)=>{i.cancel(),r(e,t),n&&r.flush()}}}function ug(e,t){ng();const n=ca(()=>e.autoFocus||e.focus);function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}No(()=>e.focus,e=>{e?o():function(){const e=t.value;e&&e.blur()}()}),wi(()=>{n.value&&ao(o)})}function dg(e,t,n,o){Bc(vu(),"getSelectedTextRange",ig);const{fieldRef:i,state:r,trigger:a}=function(e,t,n){const o=Nn(null),i=ad(t,n),r=ca(()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t}),a=ca(()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t}),s=ca(()=>{const t=Number(e.cursor);return isNaN(t)?-1:t}),l=ca(()=>{var t=Number(e.maxlength);return isNaN(t)?140:t});let c="";c=rg(e.modelValue,e.type)||rg(e.value,e.type);const u=wn({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:r,selectionEnd:a,cursor:s});return No(()=>u.focus,e=>n("update:focus",e)),No(()=>u.maxlength,e=>u.value=u.value.slice(0,e),{immediate:!1}),{fieldRef:o,state:u,trigger:i}}(e,t,n),{triggerInput:s}=cg(e,r,n,a);ug(e,i),Mm(0,i);const{state:l}=og();!function(e,t){const n=tr(ud,!1);if(!n)return;const o=Kr(),i={submit(){const n=o.proxy;return[n[e],y(t)?n[t]:t.value]},reset(){y(t)?o.proxy[t]="":t.value=""}};n.addField(i),Ci(()=>{n.removeField(i)})}("name",r),function(e,t,n,o,i,r){function a(){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 s(){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}No([()=>t.selectionStart,()=>t.selectionEnd],a),No(()=>t.cursor,s),No(()=>e.value,function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),g(r)&&!1===r(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||i(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",e=>e.stopPropagation()),c.addEventListener("focus",function(e){t.focus=!0,o("focus",e,{value:t.value}),a(),s()}),c.addEventListener("blur",function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})}),c.addEventListener("input",u),c.addEventListener("compositionstart",e=>{e.stopPropagation(),t.composing=!0,d(e)}),c.addEventListener("compositionend",e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)}),c.addEventListener("compositionupdate",d)})}(i,r,e,a,s,o);return{fieldRef:i,state:r,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:a}}const hg=c({},sg,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),pg=Le(()=>{{const e=navigator.userAgent;let t="";const n=e.match(/OS\s([\w_]+)\slike/);if(n)t=n[1].replace(/_/g,".");else if(/Macintosh|Mac/i.test(e)&&navigator.maxTouchPoints>0){const n=e.match(/Version\/(\S*)\b/);n&&(t=n[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}});function fg(e,t,n,o,i){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes("."))return t.value+=".",i&&(i.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",i.fn)},o.addEventListener("blur",i.fn)),!1}else if("deleteContentBackward"===e.inputType&&pg()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}const mg=od({name:"Input",props:hg,emits:["confirm",...lg],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],i=["off","one-time-code"],r=ca(()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t}),a=ca(()=>{const t=i.indexOf(e.textContentType),n=i.indexOf(B(e.textContentType));return i[-1!==t?t:-1!==n?n:0]});let s=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=Nn(null!=t?t.toLocaleString():"");return No(()=>e.modelValue,e=>{n.value=null!=e?e.toLocaleString():""}),No(()=>e.value,e=>{n.value=null!=e?e.toLocaleString():""}),n}return Nn("")}(e,r),l={fn:null};const c=Nn(null),{fieldRef:u,state:d,scopedAttrsState:h,fixDisabledColor:p,trigger:f}=dg(e,c,t,(t,n)=>{const o=t.target;if("number"===r.value){if(l.fn&&(o.removeEventListener("blur",l.fn),l.fn=null),o.validity&&!o.validity.valid){if((!s.value||!o.value)&&"-"===t.data||"-"===s.value[0]&&"deleteContentBackward"===t.inputType)return s.value="-",n.value="",l.fn=()=>{s.value=o.value=""},o.addEventListener("blur",l.fn),!1;const e=fg(t,s,n,o,l);return"boolean"==typeof e?e:(s.value=n.value=o.value="-"===s.value?"":s.value,!1)}{const e=fg(t,s,n,o,l);if("boolean"==typeof e)return e;s.value=o.value}const i=n.maxlength;if(i>0&&o.value.length>i){o.value=o.value.slice(0,i),n.value=o.value;return(void 0!==e.modelValue&&null!==e.modelValue?e.modelValue.toString():"")!==o.value}}});No(()=>d.value,t=>{"number"!==e.type||"-"===s.value&&""===t||(s.value=t.toString())});const m=["number","digit"],g=ca(()=>m.includes(e.type)?e.step:"");function y(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),f("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?jr("input",{key:"disabled-input",ref:u,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:r.value,maxlength:d.maxlength,step:g.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):jr("input",{key:"input",ref:u,value:d.value,onInput:e=>{d.value=e.target.value.toString()},disabled:!!e.disabled,type:r.value,maxlength:d.maxlength,step:g.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:a.value,onKeyup:y,inputmode:e.inputmode},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return jr("uni-input",{ref:c},[jr("div",{class:"uni-input-wrapper"},[Ho(jr("div",qr(h.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Oa,!(d.value.length||"-"===s.value||s.value.includes("."))]]),"search"===e.confirmType?jr("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const gg=["class","style"],yg=/^on[A-Z]+/,bg=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Kr(),i=Rn({}),r=Rn({}),a=Rn({}),s=n.concat(gg);return o.attrs=wn(o.attrs),Do(()=>{const e=(n=o.attrs,Object.keys(n).map(e=>[e,n[e]])).reduce((e,[n,o])=>(s.includes(n)?e.exclude[n]=o:yg.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e),{exclude:{},attrs:{},listeners:{}});var n;i.value=e.attrs,r.value=e.listeners,a.value=e.exclude}),{$attrs:i,$listeners:r,$excludeAttrs:a}};function vg(e){const t=[];return p(e)&&e.forEach(e=>{Mr(e)?e.type===wr?t.push(...vg(e.children)):t.push(e):p(e)&&t.push(...vg(e))}),t}const _g=od({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=Nn(null),o=Nn(!1);let{setContexts:i,events:r}=function(e,t){const n=Nn(0),o=Nn(0),i=wn({x:null,y:null}),r=Nn(null);let a=null,s=[];function l(t){t&&1!==t&&(e.scaleArea?s.forEach(function(e){e._setScale(t)}):a&&a._setScale(t))}function c(e,n=s){let o=t.value;function i(e){for(let t=0;t<n.length;t++){const o=n[t];if(e===o.rootRef.value)return o}return e===o||e===document.body||e===document?null:i(e.parentNode)}return i(e)}const u=rd(t=>{let n=t.touches;if(n&&n.length>1){let t={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(r.value=wg(t),i.x=t.x,i.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);a=e&&e===t?e:null}}}),d=rd(e=>{let t=e.touches;if(t&&t.length>1){e.preventDefault();let n={x:t[1].pageX-t[0].pageX,y:t[1].pageY-t[0].pageY};if(null!==i.x&&r.value&&r.value>0){l(wg(n)/r.value)}i.x=n.x,i.y=n.y}}),h=rd(t=>{let n=t.touches;n&&n.length||t.changedTouches&&(i.x=0,i.y=0,r.value=null,e.scaleArea?s.forEach(function(e){e._endScale()}):a&&a._endScale())});function p(){f(),s.forEach(function(e,t){e.setParent()})}function f(){let e=window.getComputedStyle(t.value),i=t.value.getBoundingClientRect();n.value=i.width-["Left","Right"].reduce(function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])},0),o.value=i.height-["Top","Bottom"].reduce(function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])},0)}return er("movableAreaWidth",n),er("movableAreaHeight",o),{setContexts(e){s=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:h,_resize:p}}}(e,n);const{$listeners:a,$attrs:s,$excludeAttrs:l}=bg(),c=a.value;["onTouchstart","onTouchmove","onTouchend"].forEach(e=>{let t=c[e],n=r[`_${e}`];c[e]=t?[].concat(t,n):n}),wi(()=>{r._resize(),o.value=!0});let u=[];const d=[];function h(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n=n.el;const o=d.find(e=>n===e.rootRef.value);o&&e.push(Bn(o))}i(e)}return er("_isMounted",o),er("movableAreaRootRef",n),er("addMovableViewContext",e=>{d.push(e),h()}),er("removeMovableViewContext",e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),h())}),()=>{const e=t.default&&t.default();return u=vg(e),jr("uni-movable-area",qr({ref:n},s.value,l.value,c),[jr(ym,{onResize:r._resize},null,8,["onResize"]),u],16)}}});function wg(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const Sg=function(e,t,n,o){e.addEventListener(t,e=>{g(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())},{passive:!1})};let xg,Cg;function kg(e,t,n){Ci(()=>{document.removeEventListener("mousemove",xg),document.removeEventListener("mouseup",Cg)});let o=0,i=0,r=0,a=0;const s=function(e,n,s,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:s,y:l,dx:s-o,dy:l-i,ddx:s-r,ddy:l-a,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;Sg(e,"touchstart",function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=r=e.touches[0].pageX,i=a=e.touches[0].pageY,s(e,"start",o,i)}),Sg(e,"mousedown",function(e){if(c=!0,!l&&!u)return u=e,o=r=e.pageX,i=a=e.pageY,s(e,"start",o,i)}),Sg(e,"touchmove",function(e){if(1===e.touches.length&&u){const t=s(e,"move",e.touches[0].pageX,e.touches[0].pageY);return r=e.touches[0].pageX,a=e.touches[0].pageY,t}});const d=xg=function(e){if(!l&&c&&u){const t=s(e,"move",e.pageX,e.pageY);return r=e.pageX,a=e.pageY,t}};document.addEventListener("mousemove",d),Sg(e,"touchend",function(e){if(0===e.touches.length&&u)return l=!1,u=null,s(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)});const h=Cg=function(e){if(c=!1,!l&&u)return u=null,s(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",h),Sg(e,"touchcancel",function(e){if(u){l=!1;const t=u;return u=null,s(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}})}function Ag(e,t,n){return e>t-n&&e<t+n}function Tg(e,t){return Ag(e,0,t)}function Ig(){}function Eg(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function Bg(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function Pg(e,t,n){this._springX=new Bg(e,t,n),this._springY=new Bg(e,t,n),this._springScale=new Bg(e,t,n),this._startTime=0}Ig.prototype.x=function(e){return Math.sqrt(e)},Eg.prototype.setV=function(e,t){const n=Math.pow(Math.pow(e,2)+Math.pow(t,2),.5);this._x_v=e,this._y_v=t,this._x_a=-this._f*this._x_v/n,this._y_a=-this._f*this._y_v/n,this._t=Math.abs(e/this._x_a)||Math.abs(t/this._y_a),this._lastDt=null,this._startTime=(new Date).getTime()},Eg.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},Eg.prototype.s=function(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t,this._lastDt=e);let t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&t<this._endPositionX||this._x_a<0&&t>this._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&n<this._endPositionY||this._y_a<0&&n>this._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},Eg.prototype.ds=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},Eg.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},Eg.prototype.dt=function(){return-this._x_v/this._x_a},Eg.prototype.done=function(){const e=Ag(this.s().x,this._endPositionX)||Ag(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},Eg.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Eg.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Bg.prototype._solve=function(e,t){const n=this._c,o=this._m,i=this._k,r=n*n-4*o*i;if(0===r){const i=-n/(2*o),r=e,a=t/(i*e);return{x:function(e){return(r+a*e)*Math.pow(Math.E,i*e)},dx:function(e){const t=Math.pow(Math.E,i*e);return i*(r+a*e)*t+a*t}}}if(r>0){const i=(-n-Math.sqrt(r))/(2*o),a=(-n+Math.sqrt(r))/(2*o),s=(t-i*e)/(a-i),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*i*t+s*a*n}}}const a=Math.sqrt(4*o*i-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+c*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(c*a*n-l*a*o)+s*t*(c*o+l*n)}}},Bg.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},Bg.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},Bg.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Tg(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(Tg(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Tg(t,.1)&&(t=0),Tg(o,.1)&&(o=0),o+=this._endPosition),this._solution&&Tg(o-e,.1)&&Tg(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},Bg.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},Bg.prototype.done=function(e){return e||(e=(new Date).getTime()),Ag(this.x(),this._endPosition,.1)&&Tg(this.dx(),.1)},Bg.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},Bg.prototype.springConstant=function(){return this._k},Bg.prototype.damping=function(){return this._c},Bg.prototype.configuration=function(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]},Pg.prototype.setEnd=function(e,t,n,o){const i=(new Date).getTime();this._springX.setEnd(e,o,i),this._springY.setEnd(t,o,i),this._springScale.setEnd(n,o,i),this._startTime=i},Pg.prototype.x=function(){const e=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},Pg.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Pg.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};function Og(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const Mg=od({name:"MovableView",props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.1},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},emits:["change","scale"],setup(e,{slots:t,emit:n}){const o=Nn(null),i=ad(o,n),{setParent:r}=function(e,t,n){const o=tr("_isMounted",Nn(!1)),i=tr("addMovableViewContext",()=>{}),r=tr("removeMovableViewContext",()=>{});let a,s,l=Nn(1),c=Nn(1),u=Nn(!1),d=Nn(0),h=Nn(0),p=null,f=null,m=!1,g=null,y=null;const b=new Ig,v=new Ig,_={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=ca(()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t}),S=new Eg(1,w.value);No(()=>e.disabled,()=>{U()});const{_updateOldScale:x,_endScale:C,_setScale:k,scaleValueSync:A,_updateBoundary:T,_updateOffset:I,_updateWH:E,_scaleOffset:B,minX:P,minY:O,maxX:M,maxY:L,FAandSFACancel:D,_getLimitXY:z,_setTransform:N,_revise:R,dampingNumber:j,xMove:$,yMove:F,xSync:H,ySync:V,_STD:W}=function(e,t,n,o,i,r,a,s,l,c){const u=ca(()=>{let t=Number(e.scaleMin);return isNaN(t)?.1:t}),d=ca(()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t}),h=Nn(Number(e.scaleValue)||1);No(h,e=>{N(e)}),No(u,()=>{z()}),No(d,()=>{z()}),No(()=>e.scaleValue,e=>{h.value=Number(e)||0});const{_updateBoundary:p,_updateOffset:f,_updateWH:m,_scaleOffset:g,minX:y,minY:b,maxX:v,maxY:_}=function(e,t,n){const o=tr("movableAreaWidth",Nn(0)),i=tr("movableAreaHeight",Nn(0)),r=tr("movableAreaRootRef"),a={x:0,y:0},s={x:0,y:0},l=Nn(0),c=Nn(0),u=Nn(0),d=Nn(0),h=Nn(0),p=Nn(0);function f(){let e=0-a.x+s.x,t=o.value-l.value-a.x-s.x;u.value=Math.min(e,t),h.value=Math.max(e,t);let n=0-a.y+s.y,r=i.value-c.value-a.y-s.y;d.value=Math.min(n,r),p.value=Math.max(n,r)}function m(){a.x=zg(e.value,r.value),a.y=Ng(e.value,r.value)}function g(o){o=o||t.value,o=n(o);let i=e.value.getBoundingClientRect();c.value=i.height/t.value,l.value=i.width/t.value;let r=c.value*o,a=l.value*o;s.x=(a-l.value)/2,s.y=(r-c.value)/2}return{_updateBoundary:f,_updateOffset:m,_updateWH:g,_scaleOffset:s,minX:u,minY:d,maxX:h,maxY:p}}(t,o,D),{FAandSFACancel:w,_getLimitXY:S,_animationTo:x,_setTransform:C,_revise:k,dampingNumber:A,xMove:T,yMove:I,xSync:E,ySync:B,_STD:P}=function(e,t,n,o,i,r,a,s,l,c,u,d,h,p){const f=ca(()=>{let e=Number(t.damping);return isNaN(e)?20:e}),m=ca(()=>"all"===t.direction||"horizontal"===t.direction),g=ca(()=>"all"===t.direction||"vertical"===t.direction),y=Nn(jg(t.x)),b=Nn(jg(t.y));No(()=>t.x,e=>{y.value=jg(e)}),No(()=>t.y,e=>{b.value=jg(e)}),No(y,e=>{k(e)}),No(b,e=>{A(e)});const v=new Pg(1,9*Math.pow(f.value,2)/40,f.value);function _(e,t){let n=!1;return e>i.value?(e=i.value,n=!0):e<a.value&&(e=a.value,n=!0),t>r.value?(t=r.value,n=!0):t<s.value&&(t=s.value,n=!0),{x:e,y:t,outOfBounds:n}}function w(){d&&d.cancel(),u&&u.cancel()}function S(e,n,i,r,a,s){w(),m.value||(e=l.value),g.value||(n=c.value),t.scale||(i=o.value);let d=_(e,n);e=d.x,n=d.y,t.animation?(v._springX._solution=null,v._springY._solution=null,v._springScale._solution=null,v._springX._endPosition=l.value,v._springY._endPosition=c.value,v._springScale._endPosition=o.value,v.setEnd(e,n,i,1),u=Rg(v,function(){let e=v.x();x(e.x,e.y,e.scale,r,a,s)},function(){u.cancel()})):x(e,n,i,r,a,s)}function x(i,r,a,s="",u,d){null!==i&&"NaN"!==i.toString()&&"number"==typeof i||(i=l.value||0),null!==r&&"NaN"!==r.toString()&&"number"==typeof r||(r=c.value||0),i=Number(i.toFixed(1)),r=Number(r.toFixed(1)),a=Number(a.toFixed(1)),l.value===i&&c.value===r||u||p("change",{},{x:Og(i,n.x),y:Og(r,n.y),source:s}),t.scale||(a=o.value),a=+(a=h(a)).toFixed(3),d&&a!==o.value&&p("scale",{},{x:i,y:r,scale:a});let f="translateX("+i+"px) translateY("+r+"px) translateZ(0px) scale("+a+")";e.value&&(e.value.style.transform=f,e.value.style.webkitTransform=f,l.value=i,c.value=r,o.value=a)}function C(e){let t=_(l.value,c.value),n=t.x,i=t.y,r=t.outOfBounds;return r&&S(n,i,o.value,e),r}function k(e){if(m.value){if(e+n.x===l.value)return l;u&&u.cancel(),S(e+n.x,b.value+n.y,o.value)}return e}function A(e){if(g.value){if(e+n.y===c.value)return c;u&&u.cancel(),S(y.value+n.x,e+n.y,o.value)}return e}return{FAandSFACancel:w,_getLimitXY:_,_animationTo:S,_setTransform:x,_revise:C,dampingNumber:f,xMove:m,yMove:g,xSync:y,ySync:b,_STD:v}}(t,e,g,o,v,_,y,b,a,s,l,c,D,n);function O(t,n){if(e.scale){t=D(t),m(t),p();const e=S(a.value,s.value),o=e.x,i=e.y;n?x(o,i,t,"",!0,!0):Dg(function(){C(o,i,t,"",!0,!0)})}}function M(){r.value=!0}function L(e){i.value=e}function D(e){return e=Math.max(.1,u.value,e),e=Math.min(10,d.value,e)}function z(){if(!e.scale)return!1;O(o.value,!0),L(o.value)}function N(t){return!!e.scale&&(O(t=D(t),!0),L(t),t)}function R(){r.value=!1,L(o.value)}function j(e){e&&(e=i.value*e,M(),O(e))}return{_updateOldScale:L,_endScale:R,_setScale:j,scaleValueSync:h,_updateBoundary:p,_updateOffset:f,_updateWH:m,_scaleOffset:g,minX:y,minY:b,maxX:v,maxY:_,FAandSFACancel:w,_getLimitXY:S,_animationTo:x,_setTransform:C,_revise:k,dampingNumber:A,xMove:T,yMove:I,xSync:E,ySync:B,_STD:P}}(e,n,t,l,c,u,d,h,p,f);function U(){u.value||e.disabled||(D(),_.historyX=[0,0],_.historyY=[0,0],_.historyT=[0,0],$.value&&(a=d.value),F.value&&(s=h.value),n.value.style.willChange="transform",g=null,y=null,m=!0)}function q(t){if(!u.value&&!e.disabled&&m){let n=d.value,o=h.value;if(null===y&&(y=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),$.value&&(n=t.detail.dx+a,_.historyX.shift(),_.historyX.push(n),F.value||null!==g||(g=Math.abs(t.detail.dx/t.detail.dy)<1)),F.value&&(o=t.detail.dy+s,_.historyY.shift(),_.historyY.push(o),$.value||null!==g||(g=Math.abs(t.detail.dy/t.detail.dx)<1)),_.historyT.shift(),_.historyT.push(t.detail.timeStamp),!g){t.preventDefault();let i="touch";n<P.value?e.outOfBounds?(i="touch-out-of-bounds",n=P.value-b.x(P.value-n)):n=P.value:n>M.value&&(e.outOfBounds?(i="touch-out-of-bounds",n=M.value+b.x(n-M.value)):n=M.value),o<O.value?e.outOfBounds?(i="touch-out-of-bounds",o=O.value-v.x(O.value-o)):o=O.value:o>L.value&&(e.outOfBounds?(i="touch-out-of-bounds",o=L.value+v.x(o-L.value)):o=L.value),Dg(function(){N(n,o,l.value,i)})}}}function Q(){if(!u.value&&!e.disabled&&m&&(n.value.style.willChange="auto",m=!1,!g&&!R("out-of-bounds")&&e.inertia)){const e=1e3*(_.historyX[1]-_.historyX[0])/(_.historyT[1]-_.historyT[0]),t=1e3*(_.historyY[1]-_.historyY[0])/(_.historyT[1]-_.historyT[0]),n=d.value,o=h.value;S.setV(e,t),S.setS(n,o);const i=S.delta().x,r=S.delta().y;let a=i+n,s=r+o;a<P.value?(a=P.value,s=o+(P.value-n)*r/i):a>M.value&&(a=M.value,s=o+(M.value-n)*r/i),s<O.value?(s=O.value,a=n+(O.value-o)*i/r):s>L.value&&(s=L.value,a=n+(L.value-o)*i/r),S.setEnd(a,s),f=Rg(S,function(){let e=S.s(),t=e.x,n=e.y;N(t,n,l.value,"friction")},function(){f.cancel()})}e.outOfBounds||e.inertia||D()}function Y(){if(!o.value)return;D();let t=e.scale?A.value:1;I(),E(t),T();let n=z(H.value+B.x,V.value+B.y),i=n.x,r=n.y;N(i,r,t,"",!0),x(t)}return wi(()=>{kg(n.value,e=>{switch(e.detail.state){case"start":U();break;case"move":q(e);break;case"end":Q()}}),Y(),S.reconfigure(1,w.value),W.reconfigure(1,9*Math.pow(j.value,2)/40,j.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:Y,_endScale:C,_setScale:k};i(e),ki(()=>{r(e)})}),ki(()=>{D()}),{setParent:Y}}(e,i,o);return()=>jr("uni-movable-view",{ref:o},[jr(ym,{onResize:r},null,8,["onResize"]),t.default&&t.default()],512)}});let Lg=!1;function Dg(e){Lg||(Lg=!0,requestAnimationFrame(function(){e(),Lg=!1}))}function zg(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=zg(e.offsetParent,t):0}function Ng(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=Ng(e.offsetParent,t):0}function Rg(e,t,n){let o={id:0,cancelled:!1};return function e(t,n,o,i){if(!t||!t.cancelled){o(n);let r=n.done();r||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,i))),r&&i&&i(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}function jg(e){return/\d+[ur]px$/i.test(e)?fh(parseFloat(e)):Number(e)||0}const $g=od({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return p(e)&&e.filter(e=>"number"==typeof e).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=Nn(null),i=Nn(null),r=ad(o,n),a=function(e){const t=wn([...e.value]),n=wn({value:t,height:34});return No(()=>e.value,(e,t)=>{n.value.length=e.length,e.forEach((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)})}),n}(e),s=Nn(null);wi(()=>{const e=s.value;e&&(a.height=e.$el.offsetHeight)});let l=Nn([]),c=Nn([]);function u(e){let t=c.value;t=t.filter(e=>e.type!==xr);let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return er("getPickerViewColumn",function(e){return ca({get(){const t=u(e.vnode);return a.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(a.value[o]!==t){a.value[o]=t;const e=a.value.map(e=>e);n("update:value",e),r("change",{},{value:e})}}})}),er("pickerViewProps",e),er("pickerViewState",a),()=>{const e=t.default&&t.default();{const t=vg(e);l.value=t,ao(()=>{c.value=t})}return jr("uni-picker-view",{ref:o},[jr(ym,{ref:s,onResize:({height:e})=>a.height=e},null,8,["onResize"]),jr("div",{ref:i,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class Fg{constructor(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}set(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()}setVelocityByEnd(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog}dx(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._v*t}done(){return Math.abs(this.dx())<3}reconfigure(e){const t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)}configuration(){const e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}}function Hg(e,t,n){return e>t-n&&e<t+n}function Vg(e,t){return Hg(e,0,t)}class Wg{constructor(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}_solve(e,t){const n=this._c,o=this._m,i=this._k,r=n*n-4*o*i;if(0===r){const i=-n/(2*o),r=e,a=t/(i*e);return{x:function(e){return(r+a*e)*Math.pow(Math.E,i*e)},dx:function(e){const t=Math.pow(Math.E,i*e);return i*(r+a*e)*t+a*t}}}if(r>0){const i=(-n-Math.sqrt(r))/(2*o),a=(-n+Math.sqrt(r))/(2*o),s=(t-i*e)/(a-i),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*i*t+s*a*n}}}const a=Math.sqrt(4*o*i-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+c*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(c*a*n-l*a*o)+s*t*(c*o+l*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Vg(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(Vg(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Vg(t,.4)&&(t=0),Vg(o,.4)&&(o=0),o+=this._endPosition),this._solution&&Vg(o-e,.4)&&Vg(t,.4)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),Hg(this.x(),this._endPosition,.4)&&Vg(this.dx(),.4)}reconfigure(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}}class Ug{constructor(e,t,n){this._extent=e,this._friction=t||new Fg(.01),this._spring=n||new Wg(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}class qg{constructor(e,t){t=t||{},this._element=e,this._options=t,this._enableSnap=t.enableSnap||!1,this._itemSize=t.itemSize||0,this._enableX=t.enableX||!1,this._enableY=t.enableY||!1,this._shouldDispatchScrollEvent=!!t.onScroll,this._enableX?(this._extent=(t.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=t.scrollWidth):(this._extent=(t.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=t.scrollHeight),this._position=0,this._scroll=new Ug(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){let n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)<this._itemSize&&Math.abs(n.y)<300||Math.abs(n.y)<150))return void this.snap();if(this._enableX&&(Math.abs(e)<this._itemSize&&Math.abs(n.x)<300||Math.abs(n.x)<150))return void this.snap()}let o;if(this._enableX?this._scroll.set(this._position,n.x):this._enableY&&this._scroll.set(this._position,n.y),this._enableSnap){const e=this._scroll._friction.x(100),t=e%this._itemSize;o=Math.abs(t)>this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,o<=0&&o>=-this._extent&&this._scroll.setVelocityByEnd(o)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=function(e,t,n){const o={id:0,cancelled:!1};return function e(t,n,o,i){if(!t||!t.cancelled){o(n);const r=n.done();r||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,i))),r&&i&&i(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}(this._scroll,()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const o=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/o),this._lastTime=e)},()=>{this._enableSnap&&(o<=0&&o>=-this._extent&&(this._position=o,this.updatePosition()),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){const e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(g(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){let o=0;const i=this._position;this._enableX?(o=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(o=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-o?this._position=-o:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),i!==this._position&&(this.dispatchScroll(),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=o,this._scroll._extent=o}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}function Qg(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new qg(e,t);function i(e){const t=e,o=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:o.screenX-n.x,y:o.screenY-n.y}}return{scroller:o,handleTouchStart:function(e){const t=e,i=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=i.screenX,n.y=i.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||i.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,o=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const r=i(e);if(r){for(n.maxDy=Math.max(n.maxDy,Math.abs(r.y)),n.maxDx=Math.max(n.maxDx,Math.abs(r.x)),n.historyX.push(r.x),n.historyY.push(r.y),n.historyTime.push(t.detail.timeStamp||o.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(r.x,r.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=i(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const o={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,i=n.historyTime[t],r=n.historyX[t],a=n.historyY[t];t>0;){t--;const e=i-n.historyTime[t];if(e>30&&e<50){o.x=(r-n.historyX[t])/(e/1e3),o.y=(a-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}const Yg=od({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=Nn(null),i=Nn(null),r=tr("getPickerViewColumn"),a=Kr(),s=r?r(a):Nn(0),l=tr("pickerViewProps"),c=tr("pickerViewState"),u=Nn(34),d=Nn(null);wi(()=>{const e=d.value;u.value=e.$el.offsetHeight});const h=ca(()=>(c.height-u.value)/2),{state:p}=og();let f;const m=wn({current:s.value,length:0});let g;function y(){f&&!g&&(g=!0,ao(()=>{g=!1;let e=Math.min(m.current,m.length-1);e=Math.max(e,0),f.update(e*u.value,void 0,u.value)}))}No(()=>s.value,e=>{e!==m.current&&(m.current=e,y())}),No(()=>m.current,e=>s.value=e),No([()=>u.value,()=>m.length,()=>c.height],y);let b=0;function v(e){const t=b+e.deltaY;if(Math.abs(t)>10){b=0;let e=Math.min(m.current+(t<0?-1:1),m.length-1);m.current=e=Math.max(e,0),f.scrollTo(e*u.value)}else b=t;e.preventDefault()}function _({clientY:e}){const t=o.value;if(!f.isScrolling()){const n=e-t.getBoundingClientRect().top-c.height/2,o=u.value/2;if(!(Math.abs(n)<=o)){const e=Math.ceil((Math.abs(n)-o)/u.value),t=n<0?-e:e;let i=Math.min(m.current+t,m.length-1);m.current=i=Math.max(i,0),f.scrollTo(i*u.value)}}}return wi(()=>{const e=o.value,t=i.value,{scroller:n,handleTouchStart:r,handleTouchMove:a,handleTouchEnd:s}=Qg(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new Fg(1e-4),spring:new Wg(2,90,20),onSnap:e=>{isNaN(e)||e===m.current||(m.current=e)}});f=n,kg(e,e=>{switch(e.detail.state){case"start":r(e);break;case"move":a(e),e.stopPropagation();break;case"end":case"cancel":s(e)}},!0),function(e){let t=0,n=0;e.addEventListener("touchstart",e=>{const o=e.changedTouches[0];t=o.clientX,n=o.clientY}),e.addEventListener("touchend",e=>{const o=e.changedTouches[0];if(Math.abs(o.clientX-t)<20&&Math.abs(o.clientY-n)<20){const t={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},n=new CustomEvent("click",t);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach(e=>{n[e]=o[e]}),e.target.dispatchEvent(n)}})}(e),y()}),()=>{const e=t.default&&t.default();m.length=vg(e).length;const n=`${h.value}px 0`;return jr("uni-picker-view-column",{ref:o},[jr("div",{onWheel:v,onClick:_,class:"uni-picker-view-group"},[jr("div",qr(p.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${h.value}px;${l.maskStyle}`}),null,16),jr("div",qr(p.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[jr(ym,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),jr("div",{ref:i,class:["uni-picker-view-content"],style:{padding:n,"--picker-view-column-indicator-height":`${u.value}px`}},[e],4)],40,["onWheel","onClick"])],512)}}}),Gg={a:"",abbr:"",address:"",article:"",aside:"",b:"",bdi:"",bdo:["dir"],big:"",blockquote:"",br:"",caption:"",center:"",cite:"",code:"",col:["span","width"],colgroup:["span","width"],dd:"",del:"",div:"",dl:"",dt:"",em:"",fieldset:"",font:"",footer:"",h1:"",h2:"",h3:"",h4:"",h5:"",h6:"",header:"",hr:"",i:"",img:["alt","src","height","width"],ins:"",label:"",legend:"",li:"",mark:"",nav:"",ol:["start","type"],p:"",pre:"",q:"",rt:"",ruby:"",s:"",section:"",small:"",span:"",strong:"",sub:"",sup:"",table:["width"],tbody:"",td:["colspan","height","rowspan","width"],tfoot:"",th:["colspan","height","rowspan","width"],thead:"",tr:["colspan","height","rowspan","width"],tt:"",u:"",ul:""},Xg={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"â",rdquo:"â",yen:"ï¿¥",radic:"â",lceil:"â",rceil:"â",lfloor:"â",rfloor:"â",hellip:"â¦"};const Kg=(e,t,n)=>!n||p(n)&&!n.length?[]:n.map(n=>{var o;if(x(n)){if(!h(n,"type")||"node"===n.type){let i={[e]:""};const r=null==(o=n.name)?void 0:o.toLowerCase();if(!h(Gg,r))return;return function(e,t){if(x(t))for(const n in t)if(h(t,n)){const o=t[n];"img"===e&&"src"===n&&(t[n]=Gf(o))}}(r,n.attrs),i=c(i,function(e,t){if(["a","img"].includes(e.name)&&t)return{onClick:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}(n,t),n.attrs),ua(n.name,i,Kg(e,t,n.children))}return"text"===n.type&&y(n.text)&&""!==n.text?Fr((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(e,t){return h(Xg,t)&&Xg[t]?Xg[t]:/^#[0-9]{1,4}$/.test(t)?String.fromCharCode(t.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(t)?String.fromCharCode(0+t.slice(1)):e})):void 0}});function Jg(e){e=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/<!doctype.*>\n/,"").replace(/<!DOCTYPE.*>\n/,"")}(e);const t=[],n={node:"root",children:[]};return function(e,t){var n,o,i,r=[],a=e;for(r.last=function(){return this[this.length-1]};e;){if(o=!0,r.last()&&Hm[r.last()])e=e.replace(new RegExp("([\\s\\S]*?)</"+r.last()+"[^>]*>"),function(e,n){return n=n.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g,"$1$2"),t.chars&&t.chars(n),""}),c("",r.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),o=!1):0==e.indexOf("</")?(i=e.match(Dm))&&(e=e.substring(i[0].length),i[0].replace(Dm,c),o=!1):0==e.indexOf("<")&&(i=e.match(Lm))&&(e=e.substring(i[0].length),i[0].replace(Lm,l),o=!1),o){var s=(n=e.indexOf("<"))<0?e:e.substring(0,n);e=n<0?"":e.substring(n),t.chars&&t.chars(s)}if(e==a)throw"Parse Error: "+e;a=e}function l(e,n,o,i){if(n=n.toLowerCase(),Rm[n])for(;r.last()&&jm[r.last()];)c("",r.last());if($m[n]&&r.last()==n&&c("",n),(i=Nm[n]||!!i)||r.push(n),t.start){var a=[];o.replace(zm,function(e,t){var n=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:Fm[t]?t:"";a.push({name:t,value:n,escaped:n.replace(/(^|[^\\])"/g,'$1\\"')})}),t.start&&t.start(n,a,i)}}function c(e,n){if(n)for(o=r.length-1;o>=0&&r[o]!=n;o--);else var o=0;if(o>=0){for(var i=r.length-1;i>=o;i--)t.end&&t.end(r[i]);r.length=o}}c()}(e,{start:function(e,o,i){const r={name:e};if(0!==o.length&&(r.attrs=function(e){return e.reduce(function(e,t){let n=t.value;const o=t.name;return n.match(/ /)&&-1===["style","src"].indexOf(o)&&(n=n.split(" ")),e[o]?Array.isArray(e[o])?e[o].push(n):e[o]=[e[o],n]:e[o]=n,e},{})}(o)),i){const e=t[0]||n;e.children||(e.children=[]),e.children.push(r)}else t.unshift(r)},end:function(e){const o=t.shift();if(o.name!==e&&console.error("invalid state: mismatch end tag"),0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},chars:function(e){const o={type:"text",text:e};if(0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},comment:function(e){const n={node:"comment",text:e},o=t[0];o&&(o.children||(o.children=[]),o.children.push(n))}}),n.children}const Zg=od({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["itemclick"],setup(e,{emit:t}){const n=Kr(),o=n&&n.vnode.scopeId||"",i=Nn(null),r=Nn([]),a=ad(i,t);function s(e,t={}){a("itemclick",e,t)}return No(()=>e.nodes,function(){let t=e.nodes;y(t)&&(t=Jg(e.nodes)),r.value=Kg(o,s,t)},{immediate:!0}),()=>ua("uni-rich-text",{ref:i},ua("div",{},r.value))}}),ey=od({name:"Refresher",props:{refreshState:{type:String,default:""},refresherHeight:{type:Number,default:0},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"}},setup(e,{slots:t}){const n=Nn(null),o=ca(()=>{const t={backgroundColor:e.refresherBackground};switch(e.refreshState){case"pulling":t.height=e.refresherHeight+"px";break;case"refreshing":t.height=e.refresherThreshold+"px",t.transition="height 0.3s";break;case"":case"refresherabort":case"restore":t.height="0px",t.transition="height 0.3s"}return t}),i=ca(()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)});return()=>{const{refreshState:r,refresherDefaultStyle:a,refresherThreshold:s}=e;return jr("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==a?jr("div",{class:"uni-scroll-view-refresh"},[jr("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==r?jr("svg",{key:"refresh__icon",style:{transform:"rotate("+i.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[jr("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null),jr("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==r?jr("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[jr("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===a?jr("div",{class:"uni-scroll-view-refresher-container",style:{height:`${s}px`}},[t.default&&t.default()]):null],4)}}}),ty=Ye(!0),ny=od({name:"ScrollView",compatConfig:{MODE:3},props:{direction:{type:[String],default:"vertical"},scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},showScrollbar:{type:[Boolean,String],default:!0},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:o}){const i=Nn(null),r=Nn(null),a=Nn(null),s=Nn(null),l=ad(i,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=ca(()=>Number(e.scrollTop)||0),n=ca(()=>Number(e.scrollLeft)||0),o=wn({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""});return{state:o,scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:h,realScrollY:p,_scrollLeftChanged:f,_scrollTopChanged:m}=function(e,t,n,o,i,r,a,s,l){let c=!1,u=0,d=!1,h=()=>{};const p=ca(()=>e.scrollX),f=ca(()=>e.scrollY),m=ca(()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t}),g=ca(()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t});function y(e,t){const n=a.value;let o=0,i="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let r=s.value;r.style.transition="transform .3s ease-out",r.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?i="translateX("+o+"px) translateZ(0)":"y"===t&&(i="translateY("+o+"px) translateZ(0)"),r.removeEventListener("transitionend",h),r.removeEventListener("webkitTransitionEnd",h),h=()=>S(e,t),r.addEventListener("transitionend",h),r.addEventListener("webkitTransitionEnd",h),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),r.style.transform=i,r.style.webkitTransform=i}function b(e){const n=e.target;i("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),f.value&&(n.scrollTop<=m.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(i("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+g.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(i("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),p.value&&(n.scrollLeft<=m.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(i("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+g.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(i("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function v(t){f.value&&(e.scrollWithAnimation?y(t,"y"):a.value.scrollTop=t)}function _(t){p.value&&(e.scrollWithAnimation?y(t,"x"):a.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=r.value.querySelector("#"+t);if(n){let t=a.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(p.value){let n=o.left-t.left,i=a.value.scrollLeft+n;e.scrollWithAnimation?y(i,"x"):a.value.scrollLeft=i}if(f.value){let n=o.top-t.top,i=a.value.scrollTop+n;e.scrollWithAnimation?y(i,"y"):a.value.scrollTop=i}}}}function S(e,t){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";let n=a.value;"x"===t?(n.style.overflowX=p.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=f.value?"auto":"hidden",n.scrollTop=e),s.value.removeEventListener("transitionend",h),s.value.removeEventListener("webkitTransitionEnd",h)}function x(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,i("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),i("refresherrefresh",{},{dy:k.y-C.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,i("refresherrestore",{},{dy:k.y-C.y})),"refresherabort"===n&&d&&(d=!1,i("refresherabort",{},{dy:k.y-C.y}))}t.refreshState=n}}let C={x:0,y:0},k={x:0,y:e.refresherThreshold};return wi(()=>{ao(()=>{v(n.value),_(o.value)}),w(e.scrollIntoView);let r=function(e){e.preventDefault(),e.stopPropagation(),b(e)},s=null,l=function(n){if(null===C)return;let o=n.touches[0].pageX,r=n.touches[0].pageY,l=a.value;if(Math.abs(o-C.x)>Math.abs(r-C.y))if(p.value){if(0===l.scrollLeft&&o>C.x)return void(s=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&o<C.x)return void(s=!1);s=!0}else s=!1;else if(f.value)if(0===l.scrollTop&&r>C.y)s=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&r<C.y)return void(s=!1);s=!0}else s=!1;if(s&&n.stopPropagation(),0===l.scrollTop&&1===n.touches.length&&x("pulling"),e.refresherEnabled&&"pulling"===t.refreshState){const o=r-C.y;0===u&&(u=r),c?(t.refresherHeight=o+e.refresherThreshold,d=!1):(t.refresherHeight=r-u,t.refresherHeight>0&&(d=!0,i("refresherpulling",n,{deltaY:o,dy:o})))}},h=function(e){1===e.touches.length&&(C={x:e.touches[0].pageX,y:e.touches[0].pageY})},m=function(n){k={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?x("refreshing"):x("refresherabort"),C={x:0,y:0},k={x:0,y:e.refresherThreshold}};a.value.addEventListener("touchstart",h,ty),a.value.addEventListener("touchmove",l,Ye(!1)),a.value.addEventListener("scroll",r,Ye(!1)),a.value.addEventListener("touchend",m,ty),Ci(()=>{a.value.removeEventListener("touchstart",h),a.value.removeEventListener("touchmove",l),a.value.removeEventListener("scroll",r),a.value.removeEventListener("touchend",m)})}),ui(()=>{f.value&&(a.value.scrollTop=t.lastScrollTop),p.value&&(a.value.scrollLeft=t.lastScrollLeft)}),No(n,e=>{v(e)}),No(o,e=>{_(e)}),No(()=>e.scrollIntoView,e=>{w(e)}),No(()=>e.refresherTriggered,e=>{!0===e?x("refreshing"):!1===e&&x("restore")}),{realScrollX:p,realScrollY:f,_scrollTopChanged:v,_scrollLeftChanged:_}}(e,c,u,d,l,i,r,s,t),g=ca(()=>{let e="";return h.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",p.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e}),y=ca(()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t});return o({$getMain:()=>r.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:h}=c;return jr("uni-scroll-view",{ref:i},[jr("div",{ref:a,class:"uni-scroll-view"},[jr("div",{ref:r,style:g.value,class:y.value},[t?jr(ey,{refreshState:h,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,jr("div",{ref:s,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});const oy=od({name:"Slider",props:{name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#e9e9e9"},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#007aff"},selectedColor:{type:String,default:"#007aff"},blockColor:{type:String,default:"#ffffff"},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},emits:["changing","change"],setup(e,{emit:t}){const n=Nn(null),o=Nn(null),i=Nn(null),r=Nn(Number(e.value));No(()=>e.value,e=>{r.value=Number(e)});const a=ad(n,t),s=function(e,t){const n=()=>iy(t.value,e.min,e.max),o=()=>"#e9e9e9"!==e.backgroundColor?e.backgroundColor:"#007aff"!==e.color?e.color:"#007aff",i=()=>"#007aff"!==e.activeColor?e.activeColor:"#e9e9e9"!==e.selectedColor?e.selectedColor:"#e9e9e9",r={setBgColor:ca(()=>({backgroundColor:o()})),setBlockBg:ca(()=>({left:n()})),setActiveColor:ca(()=>({backgroundColor:i(),width:n()})),setBlockStyle:ca(()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:n(),backgroundColor:e.blockColor}))};return r}(e,r),{_onClick:l,_onTrack:c}=function(e,t,n,o,i){const r=n=>{e.disabled||(s(n),i("change",n,{value:t.value}))},a=t=>{const n=Number(e.max),o=Number(e.min),i=Number(e.step);return t<o?o:t>n?n:ry.mul.call(Math.round((t-o)/i),i)+o},s=i=>{const r=Number(e.max),s=Number(e.min),l=o.value,c=getComputedStyle(l,null).marginLeft;let u=l.offsetWidth;u+=parseInt(c);const d=n.value,h=d.offsetWidth-(e.showValue?u:0),p=d.getBoundingClientRect().left,f=(i.x-p)*(r-s)/h+s;t.value=a(f)},l=n=>{if(!e.disabled)return"move"===n.detail.state?(s({x:n.detail.x}),i("changing",n,{value:t.value}),!1):"end"===n.detail.state&&i("change",n,{value:t.value})},c=tr(ud,!1);if(c){const n={reset:()=>t.value=Number(e.min),submit:()=>{const n=["",null];return""!==e.name&&(n[0]=e.name,n[1]=t.value),n}};c.addField(n),Ci(()=>{c.removeField(n)})}return{_onClick:r,_onTrack:l}}(e,r,n,o,a);return wi(()=>{kg(i.value,c)}),()=>{const{setBgColor:t,setBlockBg:a,setActiveColor:c,setBlockStyle:u}=s;return jr("uni-slider",{ref:n,onClick:rd(l)},[jr("div",{class:"uni-slider-wrapper"},[jr("div",{class:"uni-slider-tap-area"},[jr("div",{style:t.value,class:"uni-slider-handle-wrapper"},[jr("div",{ref:i,style:a.value,class:"uni-slider-handle"},null,4),jr("div",{style:u.value,class:"uni-slider-thumb"},null,4),jr("div",{style:c.value,class:"uni-slider-track"},null,4)],4)]),Ho(jr("span",{ref:o,class:"uni-slider-value"},[r.value],512),[[Oa,e.showValue]])])],8,["onClick"])}}}),iy=(e,t,n)=>(n=Number(n),100*(e-(t=Number(t)))/(n-t)+"%");var ry={mul:function(e){let t=0,n=this.toString(),o=e.toString();try{t+=n.split(".")[1].length}catch(i){}try{t+=o.split(".")[1].length}catch(i){}return Number(n.replace(".",""))*Number(o.replace(".",""))/Math.pow(10,t)}};function ay(e,t,n,o,i,r){function a(){c&&(clearTimeout(c),c=null)}let s,l,c=null,u=!0,d=0,h=1,p=null,f=!1,m=0,g="";const y=ca(()=>n.value.length>t.displayMultipleItems),b=ca(()=>e.circular&&y.value);function v(i){Math.floor(2*d)===Math.floor(2*i)&&Math.ceil(2*d)===Math.ceil(2*i)||b.value&&function(o){if(!u)for(let i=n.value,r=i.length,a=o+t.displayMultipleItems,s=0;s<r;s++){const t=i[s],n=Math.floor(o/r)*r+s,l=n+r,c=n-r,u=Math.max(o-(n+1),n-a,0),d=Math.max(o-(l+1),l-a,0),h=Math.max(o-(c+1),c-a,0),p=Math.min(u,d,h),f=[n,l,c][[u,d,h].indexOf(p)];t.updatePosition(f,e.vertical)}}(i);const a="translate("+(e.vertical?"0":100*-i*h+"%")+", "+(e.vertical?100*-i*h+"%":"0")+") translateZ(0)",l=o.value;if(l&&(l.style.webkitTransform=a,l.style.transform=a),d=i,!s){if(i%1==0)return;s=i}i-=Math.floor(s);const c=n.value;i<=-(c.length-1)?i+=c.length:i>=c.length&&(i-=c.length),i=s%1>.5||s<0?i-1:i,r("transition",{},{dx:e.vertical?0:i*l.offsetWidth,dy:e.vertical?i*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const i=(Math.round(e)%o+o)%o;if(b.value){if(o<=t.displayMultipleItems)return 0}else if(i>o-t.displayMultipleItems)return o-t.displayMultipleItems;return i}function w(){p=null}function S(){if(!p)return void(f=!1);const e=p,o=e.toPos,i=e.acc,a=e.endTime,c=e.source,u=a-Date.now();if(u<=0){v(o),p=null,f=!1,s=null;const e=n.value[t.current];if(e){const n=e.getItemId();r("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}v(o+i*u*u/2),l=requestAnimationFrame(S)}function x(e,o,i){w();const r=t.duration,a=n.value.length;let s=d;if(b.value)if(i<0){for(;s<e;)s+=a;for(;s-a>e;)s-=a}else if(i>0){for(;s>e;)s-=a;for(;s+a<e;)s+=a;s+a-e<e-s&&(s+=a)}else{for(;s+a<e;)s+=a;for(;s-a>e;)s-=a;s+a-e<e-s&&(s+=a)}else"click"===o&&(e=e+t.displayMultipleItems-1<a?e:0);p={toPos:e,acc:2*(s-e)/(r*r),endTime:Date.now()+r,source:o},f||(f=!0,l=requestAnimationFrame(S))}function C(){a();const e=n.value,o=function(){c=null,g="autoplay",b.value?t.current=_(t.current+1):t.current=t.current+t.displayMultipleItems<e.length?t.current+1:0,x(t.current,"autoplay",b.value?1:0),c=setTimeout(o,t.interval)};u||e.length<=t.displayMultipleItems||(c=setTimeout(o,t.interval))}function k(e){e?C():a()}return No([()=>e.current,()=>e.currentItemId,()=>[...n.value]],()=>{let o=-1;if(e.currentItemId)for(let t=0,i=n.value;t<i.length;t++){if(i[t].getItemId()===e.currentItemId){o=t;break}}o<0&&(o=Math.round(e.current)||0),o=o<0?0:o,t.current!==o&&(g="",t.current=o)}),No([()=>e.vertical,()=>b.value,()=>t.displayMultipleItems,()=>[...n.value]],function(){a(),p&&(v(p.toPos),p=null);const i=n.value;for(let t=0;t<i.length;t++)i[t].updatePosition(t,e.vertical);h=1;const r=o.value;if(1===t.displayMultipleItems&&i.length){const e=i[0].getBoundingClientRect(),t=r.getBoundingClientRect();h=e.width/t.width,h>0&&h<1||(h=1)}const s=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(v(s+l-m),m=l):(v(l),e.autoplay&&C())):(u=!0,v(-t.displayMultipleItems-1))}),No(()=>t.interval,()=>{c&&(a(),C())}),No(()=>t.current,(e,o)=>{!function(e,o){const i=g;g="";const a=n.value;if(!i){const t=a.length;x(e,"",b.value&&o+(t-e)%t>t/2?1:0)}const s=a[e];if(s){const e=t.currentItemId=s.getItemId();r("change",{},{current:t.current,currentItemId:e,source:i})}}(e,o),i("update:current",e)}),No(()=>t.currentItemId,e=>{i("update:currentItemId",e)}),No(()=>e.autoplay&&!t.userTracking,k),k(e.autoplay&&!t.userTracking),wi(()=>{let i=!1,r=0,s=0;function l(e){t.userTracking=!1;const n=r/Math.abs(r);let o=0;!e&&Math.abs(r)>.2&&(o=.5*n);const i=_(d+o);e?v(m):(g="touch",t.current=i,x(i,"touch",0!==o?o:0===i&&b.value&&d>=1?1:0))}kg(o.value,c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,i=!1,a(),m=d,r=0,s=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!i){i=!0;const n=Math.abs(c.detail.dx),o=Math.abs(c.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&C())}return function(i){const a=s;s=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=m+e;r=.6*r+.4*t,b.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),r=0),v(n)}const d=s-a||1,h=o.value;e.vertical?u(-i.dy/h.offsetHeight,-i.ddy/d):u(-i.dx/h.offsetWidth,-i.ddx/d)}(c.detail),!1}}})}),ki(()=>{a(),cancelAnimationFrame(l)}),{onSwiperDotClick:function(e){x(t.current=e,g="click",b.value?1:0)},circularEnabled:b,swiperEnabled:y}}const sy=od({name:"Swiper",props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=Nn(null),i=ad(o,n),r=Nn(null),a=Nn(null),s=function(e){return wn({interval:ca(()=>{const t=Number(e.interval);return isNaN(t)?5e3:t}),duration:ca(()=>{const t=Number(e.duration);return isNaN(t)?500:t}),displayMultipleItems:ca(()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t}),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=ca(()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:lu(e.previousMargin,!0),bottom:lu(e.nextMargin,!0)}:{top:0,bottom:0,left:lu(e.previousMargin,!0),right:lu(e.nextMargin,!0)}),t}),c=ca(()=>{const t=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}});let u=[];const d=[],h=Nn([]);function p(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n instanceof Element||(n=n.el);const o=d.find(e=>n===e.rootRef.value);o&&e.push(Bn(o))}h.value=e}er("addSwiperContext",function(e){d.push(e),p()});er("removeSwiperContext",function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())});const{onSwiperDotClick:f,circularEnabled:m,swiperEnabled:g}=ay(e,s,h,a,n,i);let y=()=>null;return y=ly(o,e,s,f,h,m,g),()=>{const n=t.default&&t.default();return u=vg(n),jr("uni-swiper",{ref:o},[jr("div",{ref:r,class:"uni-swiper-wrapper"},[jr("div",{class:"uni-swiper-slides",style:l.value},[jr("div",{ref:a,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&jr("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[h.value.map((t,n,o)=>jr("div",{onClick:()=>f(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n<s.current+s.displayMultipleItems&&n>=s.current||n<s.current+s.displayMultipleItems-o.length},style:{background:n===s.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"]))],2),y()],512)],512)}}}),ly=(e,t,n,o,i,r,a)=>{let s=!1,l=!1,u=!1,d=Nn(!1);function h(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}Do(()=>{s="auto"===t.navigation,d.value=!0!==t.navigation||s,v()}),Do(()=>{const e=i.value.length,t=!r.value;l=0===n.current&&t,u=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,a.value||(l=!0,u=!0,s&&(d.value=!0))});const p={onMouseover:e=>h(e,"over"),onMouseout:e=>h(e,"out")};function f(e,t,a){if(e.stopPropagation(),a)return;const s=i.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&r.value&&(l=s-1);break;case"next":l++,l>=s&&r.value&&(l=0)}o(l)}const m=()=>fu(pu,t.navigationColor,26);let g;const y=n=>{clearTimeout(g);const{clientX:o,clientY:i}=n,{left:r,right:a,top:s,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let h=!1;if(h=t.vertical?!(i-s<u/3||l-i<u/3):!(o-r<c/3||a-o<c/3),h)return g=setTimeout(()=>{d.value=h},300);d.value=h},b=()=>{d.value=!0};function v(){e.value&&(e.value.removeEventListener("mousemove",y),e.value.removeEventListener("mouseleave",b),s&&(e.value.addEventListener("mousemove",y),e.value.addEventListener("mouseleave",b)))}return wi(v),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?jr(wr,null,[jr("div",qr({class:["uni-swiper-navigation uni-swiper-navigation-prev",c({"uni-swiper-navigation-disabled":l},e)],onClick:e=>f(e,"prev",l)},p),[m()],16,["onClick"]),jr("div",qr({class:["uni-swiper-navigation uni-swiper-navigation-next",c({"uni-swiper-navigation-disabled":u},e)],onClick:e=>f(e,"next",u)},p),[m()],16,["onClick"])]):null}},cy=od({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=Nn(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",i=t?100*e+"%":"0",r=n.value,a=`translate(${o},${i}) translateZ(0)`;r&&(r.style.webkitTransform=a,r.style.transform=a)}};return wi(()=>{const e=tr("addSwiperContext");e&&e(o)}),ki(()=>{const e=tr("removeSwiperContext");e&&e(o)}),()=>jr("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),uy=od({name:"Switch",props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:""}},emits:["change"],setup(e,{emit:t}){const n=Nn(null),o=Nn(e.checked),i=function(e,t){const n=tr(ud,!1),o=tr(dd,!1),i={submit:()=>{const n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};n&&(n.addField(i),ki(()=>{n.removeField(i)}));return o}(e,o),r=ad(n,t);No(()=>e.checked,e=>{o.value=e});const a=t=>{e.disabled||(o.value=!o.value,r("change",t,{value:o.value}))};return i&&(i.addHandler(a),Ci(()=>{i.removeHandler(a)})),hd(e,{"label-click":a}),()=>{const{color:t,type:i}=e,r=cd(e,"disabled"),s={};let l;return t&&o.value&&(s.backgroundColor=t,s.borderColor=t),l=o.value,jr("uni-switch",qr({id:e.id,ref:n},r,{onClick:a}),[jr("div",{class:"uni-switch-wrapper"},[Ho(jr("div",{class:["uni-switch-input",[o.value?"uni-switch-input-checked":""]],style:s},null,6),[[Oa,"switch"===i]]),Ho(jr("div",{class:"uni-checkbox-input"},[l?fu(du,e.color,22):""],512),[[Oa,"checkbox"===i]])])],16,["id","onClick"])}}});const dy={ensp:"â",emsp:"â",nbsp:" "};function hy(e,t){return function(e,{space:t,decode:n}){let o="",i=!1;for(let r of e)t&&dy[t]&&" "===r&&(r=dy[t]),i?(o+="n"===r?ee:"\\"===r?"\\":"\\"+r,i=!1):"\\"===r?i=!0:o+=r;return n?o.replace(/ /g,dy.nbsp).replace(/ /g,dy.ensp).replace(/ /g,dy.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split(ee)}const py=od({name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=Nn(null);return()=>{const o=[];return t.default&&t.default().forEach(t=>{if(8&t.shapeFlag&&t.type!==xr){const n=hy(t.children,{space:e.space,decode:e.decode}),i=n.length-1;n.forEach((e,t)=>{(0!==t||e)&&o.push(Fr(e)),t!==i&&o.push(jr("br"))})}else o.push(t)}),jr("uni-text",{ref:n,selectable:!!e.selectable||null},[jr("span",null,o)],8,["selectable"])}}}),fy=c({},sg,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>gy.concat("return").includes(e)}});let my=!1;const gy=["done","go","next","search","send"];const yy=od({name:"Textarea",props:fy,emits:["confirm","linechange",...lg],setup(e,{emit:t,expose:n}){const o=Nn(null),i=Nn(null),{fieldRef:r,state:a,scopedAttrsState:s,fixDisabledColor:l,trigger:c}=dg(e,o,t),u=ca(()=>a.value.split(ee)),d=ca(()=>gy.includes(e.confirmType)),h=Nn(0),p=Nn(null);function f({height:e}){h.value=e}function m(e){"Enter"===e.key&&d.value&&e.preventDefault()}function g(t){if("Enter"===t.key&&d.value){!function(e){c("confirm",e,{value:a.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return No(()=>h.value,t=>{const n=o.value,r=p.value,a=i.value;let s=parseFloat(getComputedStyle(n).lineHeight);isNaN(s)&&(s=r.offsetHeight);var l=Math.round(t/s);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(a.style.height=t+"px")}),function(){const e="(prefers-color-scheme: dark)";my=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(e).media!==e}(),n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),a.value=e.value}}),()=>{let t=e.disabled&&l?jr("textarea",{key:"disabled-textarea",ref:r,value:a.value,tabindex:"-1",readonly:!!e.disabled,maxlength:a.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":my},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):jr("textarea",{key:"textarea",ref:r,value:a.value,disabled:!!e.disabled,maxlength:a.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":my},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:m,onKeyup:g},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup"]);return jr("uni-textarea",{ref:o,"auto-height":e.autoHeight},[jr("div",{ref:i,class:"uni-textarea-wrapper"},[Ho(jr("div",qr(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Oa,!a.value.length]]),jr("div",{ref:p,class:"uni-textarea-line"},[" "],512),jr("div",{class:"uni-textarea-compute"},[u.value.map(e=>jr("div",null,[e.trim()?e:"."])),jr(ym,{initial:!0,onResize:f},null,8,["initial","onResize"])]),"search"===e.confirmType?jr("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],8,["auto-height"])}}}),by=od({name:"View",props:c({},sd),setup(e,{slots:t}){const n=Nn(null),{hovering:o,binding:i}=ld(e);return()=>{const r=e.hoverClass;return r&&"none"!==r?jr("uni-view",qr({class:o.value?r:"",ref:n},i),[Pi(t,"default")],16):jr("uni-view",{ref:n},[Pi(t,"default")],512)}}});function vy(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function _y(e,t,n){e&&Bc(n||vu(),e,({type:e,data:n},o)=>{t(e,n,o)})}function wy(e,t){e&&function(e,t){t=Ec(e,t),delete Ic[t]}(t||vu(),e)}function Sy(e,t,n,o){const i=Kr().proxy;wi(()=>{_y(t||vy(i),e,o),!n&&t||No(()=>i.id,(t,n)=>{_y(vy(i,t),e,o),wy(n&&vy(i,n))})}),Ci(()=>{wy(t||vy(i),o)})}let xy=0;function Cy(e){const t=mu(),n=Kr().proxy,o=n.$options.name.toLowerCase(),i=e||n.id||"context"+xy++;return wi(()=>{n.$el.__uniContextInfo={id:i,type:o,page:t}}),`${o}.${i}`}function ky(e,t,n,o){g(t)&&bi(e,t.bind(n),o)}function Ay(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&("page"!==o||"component"!==t.renderer)&&(Object.keys(e).forEach(o=>{if(function(e,t,n=!0){return!(n&&!g(t))&&(ot.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const i=e[o];p(i)?i.forEach(e=>ky(o,e,n,t)):ky(o,i,n,t)}}),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,Cu(n,de,e),delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&Cu(n,ie)}catch(i){console.error(i.message+ee+i.stack)}}}function Ty(e,t,n){Ay(e,t,n)}function Iy(e,t,n){return e[t]=n}function Ey(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function By(e){const t=e.config.errorHandler;return function(n,o,i){t&&t(n,o,i);const r=e._instance;if(!r||!r.proxy)throw n;r[se]?Cu(r.proxy,se,n):Xn(n,0,o&&o.$.vnode,!1)}}function Py(e,t){return e?[...new Set([].concat(e,t))]:t}function Oy(e){const t=e.config;var n;t.errorHandler=rt(e,By),n=t.optionMergeStrategies,ot.forEach(e=>{n[e]=Py});const o=t.globalProperties;o.$set=Iy,o.$applyOptions=Ty,o.$callMethod=Ey,function(e){it.forEach(t=>t(e))}(e)}function My(e){const t=Ul({history:zy(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:Dy});t.beforeEach((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(Ly[n]={left:window.pageXOffset,top:window.pageYOffset}))}),e.router=t,e.use(t)}let Ly=Object.create(null);const Dy=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,Ly[o]);if(t)return t}return{left:0,top:0};var o};function zy(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=ol(e);return t.listen((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Of(),n=t.length-1,o=n-e;for(let i=n;i>o;i--){const e=Cf(t[i]);Mf(Nf(e.path,e.id),!1)}}(Math.abs(n.delta))}),t}const Ny={install(e){Oy(e),Fu(e),Ju(e),e.config.warnHandler||(e.config.warnHandler=Ry),My(e)}};function Ry(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 jy={class:"uni-async-loading"},$y=jr("i",{class:"uni-loading"},null,-1),Fy=id({name:"AsyncLoading",render:()=>(Tr(),Or("div",jy,[$y]))});function Hy(){window.location.reload()}const Vy=id({name:"AsyncError",props:["error"],setup(){mc();const{t:e}=pc();return()=>jr("div",{class:"uni-async-error",onClick:Hy},[e("uni.async.error")],8,["onClick"])}});let Wy;function Uy(){return Wy}function qy(e){Wy=e,Object.defineProperty(Wy.$.ctx,"$children",{get:()=>Of().map(e=>e.$vm)});const t=Wy.$.appContext.app;t.component(Fy.name)||t.component(Fy.name,Fy),t.component(Vy.name)||t.component(Vy.name,Vy),function(e){e.$vm=e,e.$mpType="app";const t=Nn(pc().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Wy),function(e,t){const n=e.$options||{};n.globalData=c(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(Wy),Xu(),Pu()}function Qy(e,{clone:t,init:n,setup:o,before:i}){t&&(e=c({},e)),i&&i(e);const r=e.setup;return e.setup=(e,t)=>{const i=Kr();if(n(i.proxy),o(i),r)return r(e,t)},e}function Yy(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Qy(e.default,t):Qy(e,t)}function Gy(e){return Yy(e,{clone:!0,init:zf,setup(e){e.$pageInstance=e;const t=vd(),n=Ke(t.query);e.attrs.__pageQuery=n,Cf(e.proxy).options=n,e.proxy.options=n;const o=yd();var i,r;return _f(o),e.onReachBottom=wn([]),e.onPageScroll=wn([]),No([e.onReachBottom,e.onPageScroll],()=>{const t=yu();e.proxy===t&&qf(e,o)},{once:!0}),_i(()=>{$f(e,o)}),wi(()=>{Ff(e);const{onReady:n}=e;n&&L(n),Zy(t)}),hi(()=>{if(!e.__isVisible){$f(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&L(n),ao(()=>{Zy(t)})}},"ba",i),function(e,t){hi(e,"bda",t)}(()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&L(t)}}}),r=o.id,H_.subscribe(Ec(r,kc),Pc),Ci(()=>{!function(e){H_.unsubscribe(Ec(e,kc)),Object.keys(Ic).forEach(t=>{0===t.indexOf(e+".")&&delete Ic[t]})}(o.id)}),n}})}function Xy(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Bb(),i=90===Math.abs(Number(window.orientation))?"landscape":"portrait";V_.emit(me,{deviceOrientation:i,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function Ky(e){x(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&V_.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function Jy(){const{emit:e}=V_;"visible"===document.visibilityState?e(Be,c({},gm)):e(Pe)}function Zy(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&Cu("onTabItemTap",{index:n,text:t,pagePath:o})}function eb(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),i=(t<10?"0":"")+t;let r=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==i&&(r=i+":"+r),r}function tb(e,t,n){const o=wn({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),i={x:0,y:0};let r=null;let a;return{state:o,onTouchstart:function(e){const t=e.targetTouches[0];i.x=t.pageX,i.y=t.pageY,o.gestureType="none",o.volumeOld=0},onTouchmove:function(s){function l(){s.stopPropagation(),s.preventDefault()}n.fullscreen&&l();const c=o.gestureType;if("stop"===c)return;const u=s.targetTouches[0],d=u.pageX,h=u.pageY,p=i,f=t.value;if("progress"===c?(!function(e){const n=t.value,i=n.duration;let r=e/600*i+o.currentTimeOld;r<0?r=0:r>i&&(r=i);o.currentTimeNew=r}(d-p.x),o.seeking=!0):"volume"===c&&function(e){const n=t.value,i=o.volumeOld;let r;"number"==typeof i&&(r=i-e/200,r<0?r=0:r>1&&(r=1),clearTimeout(a),a=void 0,null==a&&(a=setTimeout(()=>{o.toastThin=!1,a=void 0},1e3)),n.volume=r,o.volumeNew=r)}(h-p.y),"none"===c)if(Math.abs(d-p.x)>Math.abs(h-p.y)){if(!e.enableProgressGesture)return void(o.gestureType="stop");o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=f.currentTime,n.fullscreen||l()}else{if(!e.pageGesture&&!e.vslideGesture)return void(o.gestureType="stop");"none"!==o.gestureType&&null!=r||(r=setTimeout(()=>{o.toastThin=!0},500)),o.gestureType="volume",o.volumeOld=f.volume,n.fullscreen||l()}},onTouchend:function(e){const n=t.value;"none"!==o.gestureType&&"stop"!==o.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===o.gestureType&&o.currentTimeOld!==o.currentTimeNew&&(n.currentTime=o.currentTimeNew),o.gestureType="none"}}}const nb={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},vslideGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},ob=od({name:"Video",props:nb,emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const i=Nn(null),r=Nn(null),a=ad(i,t),{state:s}=ng(),{$attrs:l}=bg({excludeListeners:!0});pc(),xc();const{videoRef:c,state:u,play:d,pause:h,stop:f,seek:m,playbackRate:g,toggle:y,onDurationChange:b,onLoadedMetadata:v,onProgress:_,onWaiting:w,onVideoError:S,onPlay:x,onPause:C,onEnded:k,onTimeUpdate:A}=function(e,t,n){const o=Nn(null),i=ca(()=>Gf(e.src)),r=ca(()=>"true"===e.muted||!0===e.muted),a=wn({start:!1,src:i,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:r,pauseUpdatingCurrentTime:!1});function s(e){const t=e.target,n=t.buffered;n.length&&(a.buffered=n.end(n.length-1)/t.duration*100)}function l(){o.value.pause()}function c(e){const t=o.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)}return No(()=>i.value,()=>{a.playing=!1,a.currentTime=0}),No(()=>a.buffered,e=>{n("progress",{},{buffered:e})}),No(()=>r.value,e=>{o.value.muted=e}),{videoRef:o,state:a,play:function(){const e=o.value;a.start=!0,e.play()},pause:l,stop:function(){c(0),l()},seek:c,playbackRate:function(e){o.value.playbackRate=e},toggle:function(){const e=o.value;a.playing?e.pause():e.play()},onDurationChange:function({target:e}){a.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,i=t.target;o>0&&(i.currentTime=o),n("loadedmetadata",t,{width:i.videoWidth,height:i.videoHeight,duration:i.duration}),s(t)},onProgress:s,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){a.playing=!1,n("error",e,{})},onPlay:function(e){a.start=!0,a.playing=!0,n("play",e,{})},onPause:function(e){a.playing=!1,n("pause",e,{})},onEnded:function(e){a.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target;a.pauseUpdatingCurrentTime||(a.currentTime=t.currentTime);const o=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,a),{state:T,danmuRef:I,updateDanmu:E,toggleDanmu:B,sendDanmu:P}=function(e,t){const n=Nn(null),o=wn({enable:Boolean(e.enableDanmu)});let i={time:0,index:-1};const r=p(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function a(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o),n.value.appendChild(t),setTimeout(function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout(function(){t.remove()},4e3)},17)}return r.sort(function(e,t){return(e.time||0)-(t.time||0)}),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,s=i,l={time:n,index:s.index};if(n>s.time)for(let i=s.index+1;i<r.length;i++){const e=r[i];if(!(n>=(e.time||0)))break;l.index=i,t.playing&&o.enable&&a(e)}else if(n<s.time)for(let t=s.index-1;t>-1&&n<=(r[t].time||0);t--)l.index=t-1;i=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){r.splice(i.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,u),{state:O,onFullscreenChange:M,emitFullscreenChange:L,toggleFullscreen:D,requestFullScreen:z,exitFullScreen:N}=function(e,t,n,o,i){const r=wn({fullscreen:!1}),a=/^Apple/.test(navigator.vendor);function s(t){r.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const r=i.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||a&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),r.appendChild(l)),u&&s(e)}function c(){l(!1)}return Ci(c),{state:r,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||s(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:s,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(a,r,c,s,i),{state:R,onTouchstart:j,onTouchend:$,onTouchmove:F}=tb(e,c,O),{state:H,progressRef:V,ballRef:W,clickProgress:U,toggleControls:q,autoHideEnd:Q,autoHideStart:Y}=function(e,t,n,o){const i=Nn(null),r=Nn(null),a=ca(()=>e.showCenterPlayBtn&&!t.start),s=Nn(!0),l=ca(()=>!a.value&&e.controls&&s.value),c=wn({seeking:!1,touching:!1,controlsTouching:!1,centerPlayBtnShow:a,controlsShow:l,controlsVisible:s});let u;function d(){u=setTimeout(()=>{c.controlsVisible=!1},3e3)}function h(){u&&(clearTimeout(u),u=null)}return Ci(()=>{u&&clearTimeout(u)}),No(()=>c.controlsShow&&t.playing&&!c.controlsTouching,e=>{e?d():h()}),wi(()=>{const e=Ye(!1);let a,s,l,u=!0;const d=r.value;function h(e){const n=e.targetTouches[0],r=n.pageX,d=n.pageY;if(u&&Math.abs(r-a)<Math.abs(d-s))return void p(e);u=!1;const h=i.value.offsetWidth;let f=l+(r-a)/h*100;f<0?f=0:f>100&&(f=100),t.progress=f,null==o||o(t.duration*f/100),c.seeking=!0,e.preventDefault(),e.stopPropagation()}function p(o){c.controlsTouching=!1,c.touching&&(d.removeEventListener("touchmove",h,e),u||(o.preventDefault(),o.stopPropagation(),n(t.duration*t.progress/100)),c.touching=!1)}d.addEventListener("touchstart",n=>{c.controlsTouching=!0;const o=n.targetTouches[0];a=o.pageX,s=o.pageY,l=t.progress,u=!0,c.touching=!0,d.addEventListener("touchmove",h,e)}),d.addEventListener("touchend",p),d.addEventListener("touchcancel",p)}),{state:c,progressRef:i,ballRef:r,clickProgress:function(e){const o=i.value;let r=e.target,a=e.offsetX;for(;r&&r!==o;)a+=r.offsetLeft,r=r.parentNode;const s=o.offsetWidth;let l=0;a>=0&&a<=s&&(l=a/s,n(t.duration*l))},toggleControls:function(){c.controlsVisible=!c.controlsVisible},autoHideStart:d,autoHideEnd:h}}(e,u,m,e=>{R.currentTimeNew=e});!function(e,t,n,o,i,r,a,s){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:i,playbackRate:r,requestFullScreen:a,exitFullScreen:s};Sy((e,t)=>{let n;switch(e){case"seek":n=t.position;break;case"sendDanmu":n=t;break;case"playbackRate":n=t.rate}e in l&&l[e](n)},Cy(),!0)}(d,h,f,m,P,g,z,N);const G=function(e,t,n){const o=ca(()=>"progress"===t.gestureType||n.touching);return No(o,o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)}),No([()=>e.currentTime,()=>{nb.duration}],()=>{e.progress=e.currentTime/e.duration*100}),No(()=>t.currentTimeNew,t=>{e.currentTime=t}),o}(u,R,H);return()=>jr("uni-video",{ref:i,id:e.id,onClick:q},[jr("div",{ref:r,class:"uni-video-container",onTouchstart:j,onTouchend:$,onTouchmove:F,onFullscreenchange:ls(M,["stop"]),onWebkitfullscreenchange:ls(e=>M(e,!0),["stop"])},[jr("video",qr({ref:c,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:u.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onDurationchange:b,onLoadedmetadata:v,onProgress:_,onWaiting:w,onError:S,onPlay:x,onPause:C,onEnded:k,onTimeupdate:e=>{A(e),E(e)},onWebkitbeginfullscreen:()=>L(!0),onX5videoenterfullscreen:()=>L(!0),onWebkitendfullscreen:()=>L(!1),onX5videoexitfullscreen:()=>L(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),Ho(jr("div",{class:"uni-video-bar uni-video-bar-full",onClick:ls(()=>{},["stop"])},[jr("div",{class:"uni-video-controls"},[Ho(jr("div",{class:{"uni-video-icon":!0,"uni-video-control-button":!0,"uni-video-control-button-play":!u.playing,"uni-video-control-button-pause":u.playing},onClick:ls(y,["stop"])},null,10,["onClick"]),[[Oa,e.showPlayBtn]]),Ho(jr("div",{class:"uni-video-current-time"},[eb(u.currentTime)],512),[[Oa,e.showProgress]]),Ho(jr("div",{ref:V,class:"uni-video-progress-container",onClick:ls(U,["stop"])},[jr("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":G.value}},[jr("div",{style:{width:u.buffered-u.progress+"%",left:u.progress+"%"},class:"uni-video-progress-buffered"},null,4),jr("div",{style:{width:u.progress+"%"},class:"uni-video-progress-played"},null,4),jr("div",{ref:W,style:{left:u.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":G.value}},[jr("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[Oa,e.showProgress]]),Ho(jr("div",{class:"uni-video-duration"},[eb(Number(e.duration)||u.duration)],512),[[Oa,e.showProgress]])]),Ho(jr("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":T.enable},onClick:ls(B,["stop"])},null,10,["onClick"]),[[Oa,e.danmuBtn]]),Ho(jr("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":O.fullscreen},onClick:ls(()=>D(!O.fullscreen),["stop"])},null,10,["onClick"]),[[Oa,e.showFullscreenBtn]])],8,["onClick"]),[[Oa,H.controlsShow]]),Ho(jr("div",{ref:I,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Oa,u.start&&T.enable]]),H.centerPlayBtnShow&&jr("div",{class:"uni-video-cover",onClick:ls(()=>{},["stop"])},[jr("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:ls(d,["stop"])},null,8,["onClick"])],8,["onClick"]),jr("div",{class:"uni-video-loading"},["volume"===R.gestureType?jr("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":R.toastThin},style:{marginTop:"5px"}},[!R.toastThin&&R.volumeNew>0&&"volume"===R.gestureType?jr("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!R.toastThin&&jr("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),jr("div",{class:"uni-video-toast-draw",style:{width:100*R.volumeNew+"%"}},null)],2):null]),jr("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":G.value}},[jr("div",{class:"uni-video-toast-title"},[jr("span",{class:"uni-video-toast-title-current-time"},[eb(R.currentTimeNew)])," / ",Number(e.duration)||eb(u.duration)])],2),jr("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}});let ib,rb=0;function ab(e,t,n,o){var i,r=document.createElement("script"),a=t.callback||"callback",s="__uni_jsonp_callback_"+rb++,l=t.timeout||3e4;function c(){clearTimeout(i),delete window[s],r.remove()}window[s]=e=>{g(n)&&n(e),c()},r.onerror=()=>{g(o)&&o(),c()},i=setTimeout(function(){g(o)&&o(),c()},l),r.src=e+(e.indexOf("?")>=0?"&":"?")+a+"="+s,document.body.appendChild(r)}function sb(e){function t(){const e=this.div;this.getPanes().floatPane.appendChild(e)}function n(){const e=this.div.parentNode;e&&e.removeChild(this.div)}function o(){const t=this.option;this.Text=new e.Text({text:t.content,anchor:"bottom-center",offset:new e.Pixel(0,t.offsetY-16),style:{padding:(t.padding||8)+"px","line-height":(t.fontSize||14)+"px","border-radius":(t.borderRadius||0)+"px","border-color":`${t.bgColor||"#fff"} transparent transparent`,"background-color":t.bgColor||"#fff","box-shadow":"0 2px 6px 0 rgba(114, 124, 245, .5)","text-align":"center","font-size":(t.fontSize||14)+"px",color:t.color||"#000"},position:t.position});(e.event||e.Event).addListener(this.Text,"click",()=>{this.callback()}),this.Text.setMap(t.map)}function i(){}function r(){this.Text&&this.option.map.remove(this.Text)}function a(){this.Text&&this.option.map.remove(this.Text)}class s{constructor(e={},s){this.createAMapText=o,this.removeAMapText=r,this.createBMapText=i,this.removeBMapText=a,this.onAdd=t,this.construct=t,this.onRemove=n,this.destroy=n,this.option=e||{};const l=this.visible=this.alwaysVisible="ALWAYS"===e.display;if(mb())this.callback=s,this.visible&&this.createAMapText();else if(gb())this.visible&&this.createBMapText();else{const t=e.map;this.position=e.position,this.index=1;const n=this.div=document.createElement("div"),o=n.style;o.position="absolute",o.whiteSpace="nowrap",o.transform="translateX(-50%) translateY(-100%)",o.zIndex="1",o.boxShadow=e.boxShadow||"none",o.display=l?"block":"none";const i=this.triangle=document.createElement("div");i.setAttribute("style","position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"),this.setStyle(e),n.appendChild(i),t&&this.setMap(t)}}set onclick(e){this.div.onclick=e}get onclick(){return this.div.onclick}setOption(e){this.option=e,"ALWAYS"===e.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,mb()?this.visible&&this.createAMapText():gb()?this.visible&&this.createBMapText():(this.setPosition(e.position),this.setStyle(e))}setStyle(e){const t=this.div,n=t.style;t.innerText=e.content||"",n.lineHeight=(e.fontSize||14)+"px",n.fontSize=(e.fontSize||14)+"px",n.padding=(e.padding||8)+"px",n.color=e.color||"#000",n.borderRadius=(e.borderRadius||0)+"px",n.backgroundColor=e.bgColor||"#fff",n.marginTop="-"+((e.top||0)+5)+"px",this.triangle.style.borderColor=`${e.bgColor||"#fff"} transparent transparent`}setPosition(e){this.position=e,this.draw()}draw(){const e=this.getProjection();if(!this.position||!this.div||!e)return;const t=e.fromLatLngToDivPixel(this.position),n=this.div.style;n.left=t.x+"px",n.top=t.y+"px"}changed(){this.div.style.display=this.visible?"block":"none"}}if(!mb()&&!gb()){const t=new(e.OverlayView||e.Overlay);s.prototype.setMap=t.setMap,s.prototype.getMap=t.getMap,s.prototype.getPanes=t.getPanes,s.prototype.getProjection=t.getProjection,s.prototype.map_changed=t.map_changed,s.prototype.set=t.set,s.prototype.get=t.get,s.prototype.setOptions=t.setValues,s.prototype.bindTo=t.bindTo,s.prototype.bindsTo=t.bindsTo,s.prototype.notify=t.notify,s.prototype.setValues=t.setValues,s.prototype.unbind=t.unbind,s.prototype.unbindAll=t.unbindAll,s.prototype.addListener=t.addListener}return s}const lb={};function cb(e,t){const n=hb();if(!n.key)return void console.error("Map key not configured.");const o=lb[n.type]=lb[n.type]||[];if(ib)t(ib);else if(window[n.type]&&window[n.type].maps)ib=mb()||gb()?window[n.type]:window[n.type].maps,ib.Callout=ib.Callout||sb(ib),t(ib);else if(o.length)o.push(t);else{o.push(t);const i=window,r="__map_callback__"+n.type;i[r]=function(){delete i[r],ib=mb()||gb()?window[n.type]:window[n.type].maps,ib.Callout=sb(ib),o.forEach(e=>e(ib)),o.length=0},mb()&&function(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}(n);const a=document.createElement("script");let s=ub(n.type);n.type===db.QQ&&e.push("geometry"),e.length&&(s+=`libraries=${e.join("%2C")}&`),n.type===db.BMAP?a.src=`${s}ak=${n.key}&callback=${r}`:a.src=`${s}key=${n.key}&callback=${r}`,a.onerror=function(){console.error("Map load failed.")},document.body.appendChild(a)}}const ub=e=>({qq:"https://map.qq.com/api/js?v=2.exp&",google:"https://maps.googleapis.com/maps/api/js?",AMap:"https://webapi.amap.com/maps?v=2.0&",BMapGL:"https://api.map.baidu.com/api?type=webgl&v=1.0&"}[e]);var db=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.BMAP="BMapGL",e.UNKNOWN="",e))(db||{});function hb(){return __uniConfig.bMapKey?{type:"BMapGL",key:__uniConfig.bMapKey}:__uniConfig.qqMapKey?{type:"qq",key:__uniConfig.qqMapKey}:__uniConfig.googleMapKey?{type:"google",key:__uniConfig.googleMapKey}:__uniConfig.aMapKey?{type:"AMap",key:__uniConfig.aMapKey,securityJsCode:__uniConfig.aMapSecurityJsCode,serviceHost:__uniConfig.aMapServiceHost}:{type:"",key:""}}let pb=!1,fb=!1;const mb=()=>fb?pb:(fb=!0,pb="AMap"===hb().type),gb=()=>"BMapGL"===hb().type;const yb=ih("makePhoneCall",({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t())),bb="__DC_STAT_UUID",vb=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let _b;function wb(){if(_b=_b||vb[bb],!_b){_b=Date.now()+""+Math.floor(1e7*Math.random());try{vb[bb]=_b}catch(e){}}return _b}function Sb(){if(!0!==__uniConfig.darkmode)return y(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function xb(){let e,t="0",n="",o="phone";const i=navigator.language;if(Jf){e="iOS";const o=Xf.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const i=Xf.match(/\(([a-zA-Z]+);/);i&&(n=i[1])}else if(Kf){e="Android";const o=Xf.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const i=Xf.match(/\((.+?)\)/),r=i?i[1].split(";"):Xf.split(" "),a=[/\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;e<r.length;e++){const t=r[e];if(t.indexOf("Build")>0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e<a.length;e++)if(a[e].test(t)){o=!0;break}if(!o){n=t.trim();break}}}else if(nm){if(n="iPad",e="iOS",o="pad",t=g(window.BigInt)?"14.0":"13.0",14===parseInt(t)){const e=Xf.match(/Version\/(\S*)\b/);e&&(t=e[1])}}else if(Zf||em||tm){n="PC",e="PC",o="pc",t="0";let i=Xf.match(/\((.+?)\)/)[1];if(Zf){switch(e="Windows",Zf[1]){case"5.1":t="XP";break;case"6.0":t="Vista";break;case"6.1":t="7";break;case"6.2":t="8";break;case"6.3":t="8.1";break;case"10.0":t="10"}const n=i&&i.match(/[Win|WOW]([\d]+)/);n&&(t+=` x${n[1]}`)}else if(em){e="macOS";const n=i&&i.match(/Mac OS X (.+)/)||"";t&&(t=n[1].replace(/_/g,"."),-1!==t.indexOf(";")&&(t=t.split(";")[0]))}else if(tm){e="Linux";const n=i&&i.match(/Linux (.*)/)||"";n&&(t=n[1],-1!==t.indexOf(";")&&(t=t.split(";")[0]))}}else e="Other",t="0",o="unknown";const r=`${e} ${t}`,a=e.toLowerCase();let s="",l=String(function(){const e=navigator.userAgent,t=e.indexOf("compatible")>-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)s="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n<e.length;n++){const o=e[n],i=new RegExp(`(${o})/(\\S*)\\b`);i.test(Xf)&&(s=t[n],l=Xf.match(i)[2])}}let c="portrait";const u=void 0===window.screen.orientation?window.orientation:window.screen.orientation.angle;return c=90===Math.abs(u)?"landscape":"portrait",{deviceBrand:void 0,brand:void 0,deviceModel:n,deviceOrientation:c,model:n,system:r,platform:a,browserName:s.toLowerCase(),browserVersion:l,language:i,deviceType:o,ua:Xf,osname:e,osversion:t,theme:Sb()}}const Cb=oh(0,()=>{const e=window.devicePixelRatio,t=om(),n=im(t),o=rm(t,n),i=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),r=am(o);let a=window.innerHeight;const s=Jc.top,l={left:Jc.left,right:r-Jc.right,top:Jc.top,bottom:a-Jc.bottom,width:r-Jc.left-Jc.right,height:a-Jc.top-Jc.bottom},{top:c,bottom:u}=ou();return a-=c,a-=u,{windowTop:c,windowBottom:u,windowWidth:r,windowHeight:a,pixelRatio:e,screenWidth:o,screenHeight:i,statusBarHeight:s,safeArea:l,safeAreaInsets:{top:Jc.top,right:Jc.right,bottom:Jc.bottom,left:Jc.left},screenTop:i-a}});let kb,Ab=!0;function Tb(){Ab&&(kb=xb())}const Ib=oh(0,()=>{Tb();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:i,system:r,deviceOrientation:a,deviceType:s,osname:l,osversion:u}=kb;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:wb(),deviceOrientation:a,deviceType:s,model:o,platform:i,system:r,osName:l?l.toLowerCase():void 0,osVersion:u})}),Eb=oh(0,()=>{Tb();const{theme:e,language:t,browserName:n,browserVersion:o}=kb;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:cp?cp():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:"",uniPlatform:"web",isUniAppX:!1,uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion},{})}),Bb=oh(0,()=>{Ab=!0,Tb(),Ab=!1;const e=Cb(),t=Ib(),n=Eb();Ab=!0;const{ua:o,browserName:i,browserVersion:r,osname:a,osversion:s}=kb,l=c(e,t,n,{ua:o,browserName:i,browserVersion:r,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:a.toLowerCase(),osVersion:s,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return x(e)&&Object.keys(e).sort().forEach(n=>{const o=n;t[o]=e[o]}),Object.keys(t)?t:e}(l)}),Pb="onNetworkStatusChange";function Ob(){Db().then(({networkType:e})=>{V_.invokeOnCallback(Pb,{isConnected:"none"!==e,networkType:e})})}function Mb(){return navigator.connection||navigator.webkitConnection||navigator.mozConnection}const Lb=eh(Pb,()=>{const e=Mb();e?e.addEventListener("change",Ob):(window.addEventListener("offline",Ob),window.addEventListener("online",Ob))}),Db=ih("getNetworkType",(e,{resolve:t})=>{const n=Mb();let o="unknown";return n?(o=n.type,"cellular"===o&&n.effectiveType?o=n.effectiveType.replace("slow-",""):!o&&n.effectiveType?o=n.effectiveType:["none","wifi"].includes(o)||(o="unknown")):!1===navigator.onLine&&(o="none"),t({networkType:o})});const zb=ih("setClipboardData",(e,t)=>{return n=void 0,o=[e,t],i=function*({data:e},{resolve:t,reject:n}){try{yield navigator.clipboard.writeText(e),t()}catch(o){!function(e,t,n){const o=document.getElementById("#clipboard");o&&o.remove();const i=document.createElement("textarea");i.setAttribute("inputmode","none"),i.id="#clipboard",i.style.position="fixed",i.style.top="-9999px",i.style.zIndex="-9999",document.body.appendChild(i),i.value=e,i.select(),i.setSelectionRange(0,i.value.length);const r=document.execCommand("Copy",!1);i.blur(),r?t():n()}(e,t,n)}},new Promise((e,t)=>{var r=e=>{try{s(i.next(e))}catch(n){t(n)}},a=e=>{try{s(i.throw(e))}catch(n){t(n)}},s=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,a);s((i=i.apply(n,o)).next())});var n,o,i},0,hp);const Nb=oh(0,(e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)}),Rb=ih("setStorage",({key:e,data:t},{resolve:n,reject:o})=>{try{Nb(e,t),n()}catch(i){o(i.message)}});function jb(e){const t=localStorage&&localStorage.getItem(e);if(!y(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=y(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 $b=oh(0,e=>{try{return jb(e)}catch(t){return""}}),Fb=oh(0,e=>{localStorage&&localStorage.removeItem(e)}),Hb=oh(0,()=>{localStorage&&localStorage.clear()}),Vb=ih("openDocument",({filePath:e},{resolve:t})=>(window.open(e),t()),0,pp),Wb=ih("hideKeyboard",(e,{resolve:t,reject:n})=>{const o=document.activeElement;!o||"TEXTAREA"!==o.tagName&&"INPUT"!==o.tagName||(o.blur(),t())});const Ub=ih("getImageInfo",({src:e},{resolve:t,reject:n})=>{const o=new Image;o.onload=function(){t({width:o.naturalWidth,height:o.naturalHeight,path:0===e.indexOf("/")?window.location.protocol+"//"+window.location.host+e:e})},o.onerror=function(){n()},o.src=e},0,_p),qb={image:{jpg:"jpeg",jpe:"jpeg",pbm:"x-portable-bitmap",pgm:"x-portable-graymap",pnm:"x-portable-anymap",ppm:"x-portable-pixmap",psd:"vnd.adobe.photoshop",pic:"x-pict",rgb:"x-rgb",svg:"svg+xml",svgz:"svg+xml",tif:"tiff",xif:"vnd.xiff",wbmp:"vnd.wap.wbmp",wdp:"vnd.ms-photo",xbm:"x-xbitmap",ico:"x-icon"},video:{"3g2":"3gpp2","3gp":"3gpp",avi:"x-msvideo",f4v:"x-f4v",flv:"x-flv",jpgm:"jpm",jpgv:"jpeg",m1v:"mpeg",m2v:"mpeg",mpe:"mpeg",mpg:"mpeg",mpg4:"mpeg",m4v:"x-m4v",mkv:"x-matroska",mov:"quicktime",qt:"quicktime",movie:"x-sgi-movie",mp4v:"mp4",ogv:"ogg",smv:"x-smv",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx"}};function Qb({count:e,sourceType:t,type:n,extension:o}){eg();const i=document.createElement("input");return i.type="file",function(e,t){for(const n in t)e.style[n]=t[n]}(i,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),i.accept=o.map(e=>{if("all"!==n){const t=e.replace(".","");return`${n}/${qb[n][t]||t}`}return function(){const e=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!(!e||"micromessenger"!==e[0])}()?".":0===e.indexOf(".")?e:`.${e}`}).join(","),e&&e>1&&(i.multiple=!0),"all"!==n&&t instanceof Array&&1===t.length&&"camera"===t[0]&&i.setAttribute("capture","camera"),i}let Yb=null;const Gb=ih("chooseFile",({count:e,sourceType:t,type:n,extension:o},{resolve:i,reject:r})=>{_c();const{t:a}=pc();Yb&&(document.body.removeChild(Yb),Yb=null),Yb=Qb({count:e,sourceType:t,type:n,extension:o}),document.body.appendChild(Yb),Yb.addEventListener("cancel",()=>{r("chooseFile:fail cancel")}),Yb.addEventListener("change",function(t){const n=t.target,o=[];if(n&&n.files){const t=n.files.length;for(let i=0;i<t;i++){const t=n.files[i];let r;Object.defineProperty(t,"path",{get:()=>(r=r||pm(t),r)}),i<e&&o.push(t)}}i({get tempFilePaths(){return o.map(({path:e})=>e)},tempFiles:o})}),Yb.click(),tg()||console.warn(a("uni.chooseFile.notUserActivation"))},0,vp);let Xb=null;const Kb=ih("chooseImage",({count:e,sourceType:t,extension:n},{resolve:o,reject:i})=>{_c();const{t:r}=pc();Xb&&(document.body.removeChild(Xb),Xb=null),Xb=Qb({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(Xb),Xb.addEventListener("cancel",()=>{i("chooseImage:fail cancel")}),Xb.addEventListener("change",function(t){const n=t.target,i=[];if(n&&n.files){const t=n.files.length;for(let o=0;o<t;o++){const t=n.files[o];let r;Object.defineProperty(t,"path",{get:()=>(r=r||pm(t),r)}),o<e&&i.push(t)}}o({get tempFilePaths(){return i.map(({path:e})=>e)},tempFiles:i})}),Xb.click(),tg()||console.warn(r("uni.chooseFile.notUserActivation"))},0,gp),Jb={esc:["Esc","Escape"],enter:["Enter"]},Zb=Object.keys(Jb);function ev(){const e=Nn(""),t=Nn(!1),n=n=>{if(t.value)return;const o=Zb.find(e=>-1!==Jb[e].indexOf(n.key));o&&(e.value=o),ao(()=>e.value="")};return wi(()=>{document.addEventListener("keyup",n)}),Ci(()=>{document.removeEventListener("keyup",n)}),{key:e,disable:t}}const tv=jr("div",{class:"uni-mask"},null,-1);function nv(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),ds(ti({setup:()=>()=>(Tr(),Or(e,t,null,16))}))}function ov(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function iv(e,{onEsc:t,onEnter:n}){const o=Nn(e.visible),{key:i,disable:r}=ev();return No(()=>e.visible,e=>o.value=e),No(()=>o.value,e=>r.value=!e),Do(()=>{const{value:e}=i;"esc"===e?t&&t():"enter"===e&&n&&n()}),o}let rv=0,av="";function sv(e){let t=rv;rv+=e?1:-1,rv=Math.max(0,rv),rv>0?0===t&&(av=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=av,av="")}const lv=id({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=wn({direction:"none"});let n=1,o=0,i=0,r=0,a=0;function s({detail:e}){n=e.scale}function l(e){const t=e.target.getBoundingClientRect();o=t.width,i=t.height}function c(e){const t=e.target.getBoundingClientRect();r=t.width,a=t.height,d(e)}function u(e){const s=n*o>r,l=n*i>a;t.direction=s&&l?"all":s?"horizontal":l?"vertical":"none",d(e)}function d(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return jr(_g,{style:n,onTouchstart:rd(c),onTouchmove:rd(d),onTouchend:rd(u)},{default:()=>[jr(Mg,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:s},{default:()=>[jr("img",{src:e.src,style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",maxHeight:"100%",maxWidth:"100%"},onLoad:l},null,40,["src","onLoad"])]},8,["style","direction","inertia","scale","onScale"])]},8,["style","onTouchstart","onTouchmove","onTouchend"])}}});function cv(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const uv=id({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){wi(()=>sv(!0)),ki(()=>sv(!1));const n=Nn(null),o=Nn(cv(e));let i;function r(){i||ao(()=>{t("close")})}function a(e){o.value=e.detail.current}No(()=>e.current,()=>o.value=cv(e)),wi(()=>{const e=n.value;let t=0,o=0;e.addEventListener("mousedown",e=>{i=!1,t=e.clientX,o=e.clientY}),e.addEventListener("mouseup",e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-o)>20)&&(i=!0)})});const s={position:"absolute","box-sizing":"border-box",top:"0",right:"0",width:"60px",height:"44px",padding:"6px","line-height":"32px","font-size":"26px",color:"white","text-align":"center",cursor:"pointer"};return()=>{let t;return jr("div",{ref:n,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:r},[jr(sy,{navigation:"auto",current:o.value,onChange:a,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(i=t=e.urls.map(e=>jr(cy,null,{default:()=>[jr(lv,{src:e},null,8,["src"])]})),"function"==typeof i||"[object Object]"===Object.prototype.toString.call(i)&&!Mr(i)?t:{default:()=>[t],_:1}),8,["current","onChange"]),jr("div",{style:s},[fu("M17.25 16.156l7.375-7.313q0.281-0.281 0.281-0.641t-0.281-0.641q-0.25-0.25-0.625-0.25t-0.625 0.25l-7.375 7.344-7.313-7.344q-0.25-0.25-0.625-0.25t-0.625 0.25q-0.281 0.25-0.281 0.625t0.281 0.625l7.313 7.344-7.375 7.344q-0.281 0.25-0.281 0.625t0.281 0.625q0.125 0.125 0.281 0.188t0.344 0.063q0.156 0 0.328-0.063t0.297-0.188l7.375-7.344 7.375 7.406q0.125 0.156 0.297 0.219t0.328 0.063q0.188 0 0.344-0.078t0.281-0.203q0.281-0.25 0.281-0.609t-0.281-0.641l-7.375-7.406z","#ffffff",26)],4)],8,["onClick"]);var i}}});let dv,hv=null;const pv=()=>{hv=null,ao(()=>{null==dv||dv.unmount(),dv=null})},fv=ih("previewImage",(e,{resolve:t})=>{hv?c(hv,e):(hv=wn(e),ao(()=>{dv=nv(uv,hv,pv),dv.mount(ov("u-a-p"))})),t()},0,wp);let mv=null;const gv=ih("chooseVideo",({sourceType:e,extension:t},{resolve:n,reject:o})=>{_c();const{t:i}=pc();mv&&(document.body.removeChild(mv),mv=null),mv=Qb({sourceType:e,extension:t,type:"video"}),document.body.appendChild(mv),mv.addEventListener("cancel",()=>{o("chooseVideo:fail cancel")}),mv.addEventListener("change",function(e){const t=e.target.files[0];let o="";const i={tempFilePath:o,tempFile:t,size:t.size,duration:0,width:0,height:0,name:t.name};Object.defineProperty(i,"tempFilePath",{get(){return o=o||pm(this.tempFile),o}});const r=document.createElement("video");if(void 0!==r.onloadedmetadata){const e=pm(t);r.onloadedmetadata=function(){fm(e),n(c(i,{duration:r.duration||0,width:r.videoWidth||0,height:r.videoHeight||0}))},setTimeout(()=>{r.onloadedmetadata=null,fm(e),n(i)},300),r.src=e}else n(i)}),mv.click(),tg()||console.warn(i("uni.chooseFile.notUserActivation"))},0,yp),yv=nh("request",({url:e,data:t,header:n={},method:o,dataType:i,responseType:r,enableChunked:a,withCredentials:s,timeout:l=__uniConfig.networkTimeout.request},{resolve:c,reject:u})=>{let d=null;const p=function(e){const t=Object.keys(e).find(e=>"content-type"===e.toLowerCase());if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(y(t)||t instanceof ArrayBuffer)d=t;else if("json"===p)try{d=JSON.stringify(t)}catch(m){d=t.toString()}else if("urlencoded"===p){const e=[];for(const n in t)h(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));d=e.join("&")}else d=t.toString();let f;if(a){if(void 0===typeof window.fetch||void 0===typeof window.AbortController)throw new Error("fetch or AbortController is not supported in this environment");const t=new AbortController,a=t.signal;f=new vv(t);const h={method:o,headers:n,body:d,signal:a,credentials:s?"include":"same-origin"},p=setTimeout(function(){f.abort(),u("timeout",{errCode:5})},l);h.signal.addEventListener("abort",function(){clearTimeout(p),u("abort",{errCode:600003})}),window.fetch(e,h).then(e=>{const t=e.status,n=e.headers,o=e.body,a={};n.forEach((e,t)=>{a[t]=e});const s=bv(a);if(f._emitter.emit("headersReceived",{header:a,statusCode:t,cookies:s}),!o)return void c({data:"",statusCode:t,header:a,cookies:s});const l=o.getReader(),u=[],d=()=>{l.read().then(({done:e,value:n})=>{if(e){const e=function(e){const t=e.reduce((e,t)=>e+t.byteLength,0),n=new Uint8Array(t);let o=0;for(const i of e)n.set(new Uint8Array(i),o),o+=i.byteLength;return n.buffer}(u);let n="text"===r?(new TextDecoder).decode(e):e;return"text"===r&&(n=wv(n,r,i)),void c({data:n,statusCode:t,header:a,cookies:s})}const o=n;u.push(o),f._emitter.emit("chunkReceived",{data:o}),d()})};d()},e=>{u(e,{errCode:5})})}else{const t=new XMLHttpRequest;f=new vv(t),t.open(o,e);for(const e in n)h(n,e)&&t.setRequestHeader(e,n[e]);const a=setTimeout(function(){t.onload=t.onabort=t.onerror=null,f.abort(),u("timeout",{errCode:5})},l);t.responseType=r,t.onload=function(){clearTimeout(a);const e=t.status;let n="text"===r?t.responseText:t.response;"text"===r&&(n=wv(n,r,i)),c({data:n,statusCode:e,header:_v(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(a),u("abort",{errCode:600003})},t.onerror=function(){clearTimeout(a),u(void 0,{errCode:5})},t.withCredentials=s,t.send(d)}return f},0,Ap),bv=e=>{let t=e["Set-Cookie"]||e["set-cookie"],n=[];if(!t)return[];"["===t[0]&&"]"===t[t.length-1]&&(t=t.slice(1,-1));const o=t.split(";");for(let i=0;i<o.length;i++)-1!==o[i].indexOf("Expires=")||-1!==o[i].indexOf("expires=")?n.push(o[i].replace(",","")):n.push(o[i]);return n=n.join(";").split(","),n};class vv{constructor(e){this._requestOnChunkReceiveCallbackId=0,this._requestOnChunkReceiveCallbacks=new Map,this._requestOnHeadersReceiveCallbackId=0,this._requestOnHeadersReceiveCallbacks=new Map,this._emitter=new st,this._controller=e}abort(){this._controller&&(this._controller.abort(),delete this._controller)}onHeadersReceived(e){return this._emitter.on("headersReceived",e),this._requestOnHeadersReceiveCallbackId++,this._requestOnHeadersReceiveCallbacks.set(this._requestOnHeadersReceiveCallbackId,e),this._requestOnHeadersReceiveCallbackId}offHeadersReceived(e){if(null==e)return void this._emitter.off("headersReceived");if("function"==typeof e)return void this._requestOnHeadersReceiveCallbacks.forEach((t,n)=>{t===e&&(this._requestOnHeadersReceiveCallbacks.delete(n),this._emitter.off("headersReceived",e))});const t=this._requestOnHeadersReceiveCallbacks.get(e);t&&(this._requestOnHeadersReceiveCallbacks.delete(e),this._emitter.off("headersReceived",t))}onChunkReceived(e){return this._emitter.on("chunkReceived",e),this._requestOnChunkReceiveCallbackId++,this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId,e),this._requestOnChunkReceiveCallbackId}offChunkReceived(e){if(null==e)return void this._emitter.off("chunkReceived");if("function"==typeof e)return void this._requestOnChunkReceiveCallbacks.forEach((t,n)=>{t===e&&(this._requestOnChunkReceiveCallbacks.delete(n),this._emitter.off("chunkReceived",e))});const t=this._requestOnChunkReceiveCallbacks.get(e);t&&(this._requestOnChunkReceiveCallbacks.delete(e),this._emitter.off("chunkReceived",t))}}function _v(e){const t={};return e.split(ee).forEach(e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])}),t}function wv(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(i){}return o}class Sv{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){g(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}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.")}}const xv=nh("downloadFile",({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:i})=>{var r,a=new XMLHttpRequest,s=new Sv(a);return a.open("GET",e,!0),Object.keys(t).forEach(e=>{a.setRequestHeader(e,t[e])}),a.responseType="blob",a.onload=function(){clearTimeout(r);const t=a.status,n=this.response;let i;const s=a.getResponseHeader("content-disposition");if(s){const e=s.match(/filename="?(\S+)"?\b/);e&&(i=e[1])}n.name=i||function(e){const t=(e=e.split("#")[0].split("?")[0]).split("/");return t[t.length-1]}(e),o({statusCode:t,tempFilePath:pm(n)})},a.onabort=function(){clearTimeout(r),i("abort",{errCode:600003})},a.onerror=function(){clearTimeout(r),i("",{errCode:602001})},a.onprogress=function(e){s._callbacks.forEach(t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesWritten:n,totalBytesExpectedToWrite:o})})},a.send(),r=setTimeout(function(){a.onprogress=a.onload=a.onabort=a.onerror=null,s.abort(),i("timeout",{errCode:5})},n),s},0,Tp);class Cv{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){g(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const kv=nh("uploadFile",({url:e,file:t,filePath:n,name:o,files:i,header:r={},formData:a={},timeout:s=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new Cv;return p(i)&&i.length||(i=[{name:o,file:t,uri:n}]),Promise.all(i.map(({file:e,uri:t})=>e instanceof Blob?Promise.resolve(hm(e)):dm(t))).then(function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(a).forEach(e=>{d.append(e,a[e])}),Object.values(i).forEach(({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)}),o.open("POST",e),Object.keys(r).forEach(e=>{o.setRequestHeader(e,r[e])}),o.upload.onprogress=function(e){u._callbacks.forEach(t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})})},o.onerror=function(){clearTimeout(n),c("",{errCode:602001})},o.onabort=function(){clearTimeout(n),c("abort",{errCode:600003})},o.onload=function(){clearTimeout(n);const e=o.status;l({statusCode:e,data:o.responseText||o.response})},u._isAbort?c("abort",{errCode:600003}):(n=setTimeout(function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),c("timeout",{errCode:5})},s),o.send(d),u._xhr=o)}).catch(()=>{setTimeout(()=>{c("file error")},0)}),u},0,Ip),Av=ih("getLocation",({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:o},{resolve:i,reject:r})=>{const a=hb();new Promise((e,i)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(t=>e({coords:t.coords}),i,{enableHighAccuracy:o||t,timeout:n||1e5}):i(new Error("device nonsupport geolocation"))}).catch(e=>new Promise((t,n)=>{a.type===db.QQ?ab(`https://apis.map.qq.com/ws/location/v1/ip?output=jsonp&key=${a.key}`,{callback:"callback"},e=>{if("result"in e&&e.result.location){const n=e.result.location;t({coords:{latitude:n.lat,longitude:n.lng},skip:!0})}else n(new Error(e.message||JSON.stringify(e)))},()=>n(new Error("network error"))):a.type===db.GOOGLE?yv({method:"POST",url:`https://www.googleapis.com/geolocation/v1/geolocate?key=${a.key}`,success(e){const o=e.data;"location"in o?t({coords:{latitude:o.location.lat,longitude:o.location.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.error&&o.error.message||JSON.stringify(e)))},fail(){n(new Error("network error"))}}):a.type===db.AMAP?cb([],()=>{window.AMap.plugin("AMap.Geolocation",()=>{new window.AMap.Geolocation({enableHighAccuracy:!0,timeout:1e4}).getCurrentPosition((e,o)=>{"complete"===e?t({coords:{latitude:o.position.lat,longitude:o.position.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.message))})})}):n(e)})).then(({coords:t,skip:n})=>{(function(e,t,n){const o=hb();return e&&"WGS84"===e.toUpperCase()||["google"].includes(o.type)||n?Promise.resolve(t):"qq"===o.type?new Promise(e=>{ab(`https://apis.map.qq.com/ws/coord/v1/translate?type=1&locations=${t.latitude},${t.longitude}&key=${o.key}&output=jsonp`,{callback:"callback"},n=>{if("locations"in n&&n.locations.length){const{lng:o,lat:i}=n.locations[0];e({longitude:o,latitude:i,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)},()=>e(t))}):"AMap"===o.type?new Promise(e=>{cb([],()=>{window.AMap.convertFrom([t.longitude,t.latitude],"gps",(n,o)=>{if("ok"===o.info&&o.locations.length){const{lat:n,lng:i}=o.locations[0];e({longitude:i,latitude:n,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)})})}):Promise.reject(new Error("translate coordinate system faild, map provider not configured or not supported"))})(e,t,n).then(e=>{i({latitude:e.latitude,longitude:e.longitude,accuracy:e.accuracy,speed:e.altitude||0,altitude:e.altitude||0,verticalAccuracy:e.altitudeAccuracy||0,horizontalAccuracy:e.accuracy||0})}).catch(e=>{r(e.message)})}).catch(e=>{r(e.message||JSON.stringify(e))})},0,mp),Tv=ih("navigateBack",(e,{resolve:t,reject:n})=>{let o=!0;return!0===Cu(ge,{from:e.from||"navigateBack"})&&(o=!1),o?(Uy().$router.go(-e.delta),t()):n(ge)},0,jp),Iv=ih(Bp,({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:i})=>{if(kf.handledBeforeEntryPageRoutes)return df({type:Bp,url:e,events:t,isAutomatedTesting:n}).then(o).catch(i);Af.push({args:{type:Bp,url:e,events:t,isAutomatedTesting:n},resolve:o,reject:i})},0,Dp);function Ev(e){__uniConfig.darkmode&&V_.on(le,e)}function Bv(e){V_.off(le,e)}function Pv(e){let t={};return __uniConfig.darkmode&&(t=ut(e,__uniConfig.themeConfig,Sb())),__uniConfig.darkmode?t:e}function Ov(e,t){const n=kn(e),o=n?wn(Pv(e)):Pv(e);return __uniConfig.darkmode&&n&&No(e,e=>{const t=Pv(e);for(const n in t)o[n]=t[n]}),t&&Ev(t),o}const Mv={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},Lv=ti({props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},setup(e,{emit:t}){const n=Nn(""),o=()=>a.value=!1,i=()=>(o(),t("close","cancel")),r=()=>(o(),t("close","confirm",n.value)),a=iv(e,{onEsc:i,onEnter:()=>{!e.editable&&r()}}),s=function(e){const t=Nn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=Mv[e].cancelColor})(e,t)};return Do(()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Sb()&&n({theme:"dark"}),Ev(n))):Bv(n)}),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:h}=e;return n.value=o,jr(ba,{name:"uni-fade"},{default:()=>[Ho(jr("uni-modal",{onTouchmove:Zc},[tv,jr("div",{class:"uni-modal"},[t?jr("div",{class:"uni-modal__hd"},[jr("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?jr("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:h,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):jr("div",{class:"uni-modal__bd",onTouchmovePassive:eu,textContent:o},null,40,["onTouchmovePassive","textContent"]),jr("div",{class:"uni-modal__ft"},[l&&jr("div",{style:{color:s.value},class:"uni-modal__btn uni-modal__btn_default",onClick:i},[e.cancelText],12,["onClick"]),jr("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:r},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Oa,a.value]])]})}}});let Dv;const zv=Le(()=>{V_.on("onHidePopup",()=>Dv.visible=!1)});let Nv;function Rv(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&Dv.editable&&(o.content=t),Nv&&Nv(o)}const jv=ih("showModal",(e,{resolve:t})=>{zv(),Nv=t,Dv?(c(Dv,e),Dv.visible=!0):(Dv=wn(e),ao(()=>(nv(Lv,Dv,Rv).mount(ov("u-a-m")),ao(()=>Dv.visible=!0))))},0,Gp),$v={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Xp.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Fv="uni-toast__icon",Hv={light:"#fff",dark:"rgba(255,255,255,0.9)"},Vv=e=>Hv[e],Wv=ti({name:"Toast",props:$v,setup(e){yc(),bc();const{Icon:t}=function(e){const t=Nn(Vv(Sb())),n=({theme:e})=>t.value=Vv(e);Do(()=>{e.visible?Ev(n):Bv(n)});const o=ca(()=>{switch(e.icon){case"success":return jr(fu(du,t.value,38),{class:Fv});case"error":return jr(fu(hu,t.value,38),{class:Fv});case"loading":return jr("i",{class:[Fv,"uni-loading"]},null,2);default:return null}});return{Icon:o}}(e),n=iv(e,{});return()=>{const{mask:o,duration:i,title:r,image:a}=e;return jr(ba,{name:"uni-fade"},{default:()=>[Ho(jr("uni-toast",{"data-duration":i},[o?jr("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Zc},null,40,["onTouchmove"]):"",a||t.value?jr("div",{class:"uni-toast"},[a?jr("img",{src:a,class:Fv},null,10,["src"]):t.value,jr("p",{class:"uni-toast__content"},[r])]):jr("div",{class:"uni-sample-toast"},[jr("p",{class:"uni-simple-toast__text"},[r])])],8,["data-duration"]),[[Oa,n.value]])]})}}});let Uv,qv,Qv="";const Yv=ft();function Gv(e){Uv?c(Uv,e):(Uv=wn(c(e,{visible:!1})),ao(()=>{Yv.run(()=>{No([()=>Uv.visible,()=>Uv.duration],([e,t])=>{if(e){if(qv&&clearTimeout(qv),"onShowLoading"===Qv)return;qv=setTimeout(()=>{e_("onHideToast")},t)}else qv&&clearTimeout(qv)})}),V_.on("onHidePopup",()=>e_("onHidePopup")),nv(Wv,Uv,()=>{}).mount(ov("u-a-t"))})),setTimeout(()=>{Uv.visible=!0},10)}const Xv=ih("showToast",(e,{resolve:t,reject:n})=>{Gv(e),Qv="onShowToast",t()},0,Kp),Kv={icon:"loading",duration:1e8,image:""},Jv=ih("showLoading",(e,{resolve:t,reject:n})=>{c(e,Kv),Gv(e),Qv="onShowLoading",t()},0,Yp),Zv=ih("hideLoading",(e,{resolve:t,reject:n})=>{e_("onHideLoading"),t()});function e_(e){const{t:t}=pc();if(!Qv)return;let n="";if("onHideToast"===e&&"onShowToast"!==Qv?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==Qv&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);Qv="",setTimeout(()=>{Uv.visible=!1},10)}function t_(e){const t=Nn(0),n=Nn(0),o=ca(()=>t.value>=500&&n.value>=500),i=ca(()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},i=t.content,r=t.triangle,a=e.popover;function s(e){return Number(e)||0}if(o.value&&a){c(r,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});const e=s(a.left),t=s(a.width?a.width:300),o=s(a.top),l=s(a.height),u=e+t/2;i.transform="none !important";const d=Math.max(0,u-t/2);i.left=`${d}px`,a.width&&(i.width=`${t}px`);let h=Math.max(12,u-d);h=Math.min(t-12,h),r.left=`${h}px`;const p=n.value/2;o+l-p>p-o?(i.top="auto",i.bottom=n.value-o+6+"px",r.bottom="-6px",r["border-width"]="6px 6px 0 6px",r["border-color"]="#fcfcfd transparent transparent transparent"):(i.top=`${o+l+6}px`,r.top="-6px",r["border-width"]="0 6px 6px 6px",r["border-color"]="transparent transparent #fcfcfd transparent")}return t});return wi(()=>{const e=()=>{const{windowWidth:e,windowHeight:o,windowTop:i}=Bb();t.value=e,n.value=o+(i||0)};window.addEventListener("resize",e),e(),ki(()=>{window.removeEventListener("resize",e)})}),{isDesktop:o,popupStyle:i}}const n_={light:{listItemColor:"#000000",cancelItemColor:"#000000"},dark:{listItemColor:"rgba(255, 255, 255, 0.8)",cancelItemColor:"rgba(255, 255, 255)"}};const o_=ti({name:"ActionSheet",props:{title:{type:String,default:""},itemList:{type:Array,default:()=>[]},itemColor:{type:String,default:"#000000"},popover:{type:Object,default:null},visible:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){gc();const n=Nn(260),o=Nn(0),i=Nn(0),r=Nn(0),a=Nn(0),s=Nn(null),l=Nn(null),{t:c}=pc(),{_close:u}=function(e,t){function n(e){t("close",e)}const{key:o,disable:i}=ev();return No(()=>e.visible,e=>i.value=!e),Do(()=>{const{value:e}=o;"esc"===e&&n&&n(-1)}),{_close:n}}(e,t),{popupStyle:d}=t_(e);let h;function p(e){const t=r.value+e.deltaY;Math.abs(t)>10?(a.value+=t/3,a.value=a.value>=o.value?o.value:a.value<=0?0:a.value,h.scrollTo(a.value)):r.value=t,e.preventDefault()}wi(()=>{const{scroller:e,handleTouchStart:t,handleTouchMove:n,handleTouchEnd:o}=Qg(s.value,{enableY:!0,friction:new Fg(1e-4),spring:new Wg(2,90,20),onScroll:e=>{a.value=e.target.scrollTop}});h=e,kg(s.value,i=>{if(e)switch(i.detail.state){case"start":t(i);break;case"move":n(i);break;case"end":case"cancel":o(i)}},!0)}),No(()=>e.visible,()=>{ao(()=>{e.title&&(i.value=document.querySelector(".uni-actionsheet__title").offsetHeight),h.update(),s.value&&(o.value=s.value.clientHeight-n.value),document.querySelectorAll(".uni-actionsheet__cell").forEach(e=>{!function(e){const t=20;let n=0,o=0;e.addEventListener("touchstart",e=>{const t=e.changedTouches[0];n=t.clientX,o=t.clientY}),e.addEventListener("touchend",e=>{const i=e.changedTouches[0];if(Math.abs(i.clientX-n)<t&&Math.abs(i.clientY-o)<t){const t=e.target,n=e.currentTarget,o=new CustomEvent("click",{bubbles:!0,cancelable:!0,target:t,currentTarget:n});["screenX","screenY","clientX","clientY","pageX","pageY"].forEach(e=>{o[e]=i[e]}),e.target.dispatchEvent(o)}})}(e)})})});const f=function(e){const t=wn({listItemColor:"#000",cancelItemColor:"#000"}),n=({theme:e})=>{!function(e,t){["listItemColor","cancelItemColor"].forEach(n=>{t[n]=n_[e][n]})}(e,t)};return Do(()=>{e.visible?(t.listItemColor=t.cancelItemColor=e.itemColor,"#000"===e.itemColor&&(n({theme:Sb()}),Ev(n))):Bv(n)}),t}(e);return()=>jr("uni-actionsheet",{onTouchmove:Zc},[jr(ba,{name:"uni-fade"},{default:()=>[Ho(jr("div",{class:"uni-mask uni-actionsheet__mask",onClick:()=>u(-1)},null,8,["onClick"]),[[Oa,e.visible]])]}),jr("div",{class:["uni-actionsheet",{"uni-actionsheet_toggle":e.visible}],style:d.value.content},[jr("div",{ref:l,class:"uni-actionsheet__menu",onWheel:p},[e.title?jr(wr,null,[jr("div",{class:"uni-actionsheet__cell",style:{height:`${i.value}px`}},null),jr("div",{class:"uni-actionsheet__title"},[e.title])]):"",jr("div",{style:{maxHeight:`${n.value}px`,overflow:"hidden"}},[jr("div",{ref:s},[e.itemList.map((e,t)=>jr("div",{key:t,style:{color:f.listItemColor},class:"uni-actionsheet__cell",onClick:()=>u(t)},[e],12,["onClick"]))],512)])],40,["onWheel"]),jr("div",{class:"uni-actionsheet__action"},[jr("div",{style:{color:f.cancelItemColor},class:"uni-actionsheet__cell",onClick:()=>u(-1)},[c("uni.showActionSheet.cancel")],12,["onClick"])]),jr("div",{style:d.value.triangle},null,4)],6)],40,["onTouchmove"])}});let i_,r_,a_;const s_=Le(()=>{V_.on("onHidePopup",()=>a_.visible=!1)});function l_(e){-1===e?r_&&r_("cancel"):i_&&i_({tapIndex:e})}const c_=ih("showActionSheet",(e,{resolve:t,reject:n})=>{s_(),i_=t,r_=n,a_?(c(a_,e),a_.visible=!0):(a_=wn(e),ao(()=>(nv(o_,a_,l_).mount(ov("u-s-a-s")),ao(()=>a_.visible=!0))))},0,Qp),u_=ih("loadFontFace",({family:e,source:t,desc:n},{resolve:o,reject:i})=>{(function(e,t,n){const o=document.fonts;if(o){const i=new FontFace(e,t,n);return i.load().then(()=>{o.add&&o.add(i)})}return new Promise(o=>{const i=document.createElement("style"),r=[];if(n){const{style:e,weight:t,stretch:o,unicodeRange:i,variant:a,featureSettings:s}=n;e&&r.push(`font-style:${e}`),t&&r.push(`font-weight:${t}`),o&&r.push(`font-stretch:${o}`),i&&r.push(`unicode-range:${i}`),a&&r.push(`font-variant:${a}`),s&&r.push(`font-feature-settings:${s}`)}i.innerText=`@font-face{font-family:"${e}";src:${t};${r.join(";")}}`,document.head.appendChild(i),o()})})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${Gf(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${Gf(t.substring(4,t.length-1))}')`:Gf(t),n).then(()=>{o()}).catch(e=>{i(`loadFontFace:fail ${e}`)})});function d_(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,V_.emit("onNavigationBarChange",{titleText:t})}Do(t),ui(t)}const h_=ih(Up,(e,{resolve:t,reject:n})=>{!function(e,t,n,o,i){if(!e)return i("page not found");const{navigationBar:r}=e;switch(t){case"setNavigationBarColor":const{frontColor:e,backgroundColor:t,animation:o}=n,{duration:i,timingFunc:a}=o;e&&(r.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(r.backgroundColor=t),r.duration=i+"ms",r.timingFunc=a;break;case"showNavigationBarLoading":r.loading=!0;break;case"hideNavigationBarLoading":r.loading=!1;break;case Up:const{title:s}=n;r.titleText=s}o()}(bu(),Up,e,t,n)}),p_=ih("pageScrollTo",({scrollTop:e,selector:t,duration:n},{resolve:o})=>{!function(e,t){if(y(e)){const t=document.querySelector(e);if(t){const{top:n}=t.getBoundingClientRect();e=n+window.pageYOffset;const o=document.querySelector("uni-page-head");o&&(e-=o.offsetHeight)}}e<0&&(e=0);const n=document.documentElement,{clientHeight:o,scrollHeight:i}=n;if(e=Math.min(e,i-o),0===t)return void(n.scrollTop=document.body.scrollTop=e);if(window.scrollY===e)return;const r=t=>{if(t<=0)return void window.scrollTo(0,e);const n=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+n/t*10),r(t-10)})};r(t)}(t||e||0,n),o()},0,qp),f_=ih(Jp,(e,{resolve:t})=>{V_.invokeViewMethod(Jp,{},vu()),t()}),m_=id({name:"TabBar",setup(){const e=Nn([]),t=ff(),n=Ov(t,()=>{const e=Pv(t);n.backgroundColor=e.backgroundColor,n.borderStyle=e.borderStyle,n.color=e.color,n.selectedColor=e.selectedColor,n.blurEffect=e.blurEffect,n.midButton=e.midButton,e.list&&e.list.length&&e.list.forEach((e,t)=>{n.list[t].iconPath=e.iconPath,n.list[t].selectedIconPath=e.selectedIconPath})});!function(e,t){function n(){let n=[];n=e.list.filter(e=>!1!==e.visible),t.value=n}Nn(c({type:"midButton"},e.midButton)),Do(n)}(n,e),function(e){No(()=>e.shown,t=>{ru({"--window-bottom":wf(t?parseInt(e.height):0)})})}(n);const o=function(e,t,n){return Do(()=>{const o=e.meta;if(o.isTabBar){const e=o.route,i=n.value.findIndex(t=>t.pagePath===e);t.selectedIndex=i}}),(t,n)=>()=>{const{pagePath:o,text:i}=t;let r=Me(o);r===__uniRoutes[0].alias&&(r="/"),e.path!==r?af({from:"tabBar",url:r,tabBarText:i}):Cu("onTabItemTap",{index:n,text:i,pagePath:o})}}(ql(),n,e),{style:i,borderStyle:r,placeholderStyle:a}=function(e){const t=ca(()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||bf&&n&&"none"!==n&&(t=v_[n]),{backgroundColor:t||g_,backdropFilter:"none"!==n?"blur(10px)":n}}),n=ca(()=>{const{borderStyle:t,borderColor:n}=e;return n&&y(n)?{backgroundColor:n}:{backgroundColor:__[t]||__.black}}),o=ca(()=>({height:e.height}));return{style:t,borderStyle:n,placeholderStyle:o}}(n);return wi(()=>{n.iconfontSrc&&u_({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})}),()=>{const t=function(e,t,n){const{selectedIndex:o,selectedColor:i,color:r}=e;return n.value.map((n,a)=>{const s=o===a;return function(e,t,n,o,i,r,a,s){return jr("div",{key:a,class:"uni-tabbar__item",onClick:s(i,a)},[w_(e,t||"",n,o,i,r)],8,["onClick"])}(s?i:r,s&&n.selectedIconPath||n.iconPath||"",n.iconfont?s&&n.iconfont.selectedText||n.iconfont.text:void 0,n.iconfont?s&&n.iconfont.selectedColor||n.iconfont.color:void 0,n,e,a,t)})}(n,o,e);return jr("uni-tabbar",{class:"uni-tabbar-"+n.position},[jr("div",{class:"uni-tabbar",style:i.value},[jr("div",{class:"uni-tabbar-border",style:r.value},null,4),t],4),jr("div",{class:"uni-placeholder",style:a.value},null,4)],2)}}});const g_="#f7f7fa",y_="rgb(0, 0, 0, 0.8)",b_="rgb(250, 250, 250, 0.8)",v_={dark:y_,light:b_,extralight:b_},__={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function w_(e,t,n,o,i,r){const{height:a}=r;return jr("div",{class:"uni-tabbar__bd",style:{height:a}},[n?x_(n,o||y_,i,r):t&&S_(t,i,r),i.text&&C_(e,i,r),i.redDot&&k_(i.badge)],4)}function S_(e,t,n){const{type:o,text:i}=t,{iconWidth:r}=n;return jr("div",{class:"uni-tabbar__icon"+(i?" uni-tabbar__icon__diff":""),style:{width:r,height:r}},["midButton"!==o&&jr("img",{src:Gf(e)},null,8,["src"])],6)}function x_(e,t,n,o){var i;const{type:r,text:a}=n,{iconWidth:s}=o,l="uni-tabbar__icon"+(a?" uni-tabbar__icon__diff":""),c={width:s,height:s},u={fontSize:(null==(i=n.iconfont)?void 0:i.fontSize)||s,color:t};return jr("div",{class:l,style:c},["midButton"!==r&&jr("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function C_(e,t,n){const{iconPath:o,text:i}=t,{fontSize:r,spacing:a}=n;return jr("div",{class:"uni-tabbar__label",style:{color:e,fontSize:r,lineHeight:o?"normal":1.8,marginTop:o?a:"inherit"}},[i],4)}function k_(e){return jr("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const A_="0px",T_=id({name:"Layout",setup(e,{emit:t}){const n=Nn(null);iu({"--status-bar-height":A_,"--top-window-height":A_,"--window-left":A_,"--window-right":A_,"--window-margin":A_,"--tab-bar-height":A_});const o=function(){const e=ql();return{routeKey:ca(()=>Nf("/"+e.meta.route,_d())),isTabBar:ca(()=>e.meta.isTabBar),routeCache:jf}}(),{layoutState:i,windowState:r}=function(){vd();{const e=wn({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return No(()=>e.marginWidth,e=>iu({"--window-margin":e+"px"})),No(()=>e.leftWindowWidth+e.marginWidth,e=>{iu({"--window-left":e+"px"})}),No(()=>e.rightWindowWidth+e.marginWidth,e=>{iu({"--window-right":e+"px"})}),{layoutState:e,windowState:ca(()=>({}))}}}();!function(e,t){const n=vd();function o(){const o=document.body.clientWidth,i=Of();let r={};if(i.length>0){r=Cf(i[i.length-1]).meta}else{const e=Bu(n.path,!0);e&&(r=e.meta)}const a=parseInt(String((h(r,"maxWidth")?r.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let s=!1;s=o>a,s&&a?(e.marginWidth=(o-a)/2,ao(()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+a+"px;margin:0 auto;")})):(e.marginWidth=0,ao(()=>{const e=t.value;e&&e.removeAttribute("style")}))}No([()=>n.path],o),wi(()=>{o(),window.addEventListener("resize",o)})}(i,n);const a=function(){const e=vd(),t=ff(),n=ca(()=>e.meta.isTabBar&&t.shown);return iu({"--tab-bar-height":t.height}),n}(),s=function(e){const t=Nn(!1);return ca(()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value}))}(a);return()=>{const e=function(e){const t=function({routeKey:e,isTabBar:t,routeCache:n}){return jr(Wl,null,{default:So(({Component:o})=>[(Tr(),Or(li,{matchBy:"key",cache:n},[(Tr(),Or(Bo(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))]),_:1})}(e);return t}(o),t=function(e){return Ho(jr(m_,null,null,512),[[Oa,e.value]])}(a);return jr("uni-app",{ref:n,class:s.value},[e,t],2)}}});const I_=ih(Sp,rh(Sp)),E_="saveFile",B_=ih(E_,rh(E_));function P_(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!Mr(e)}function O_(e){if(e.mode===D_.TIME)return"00:00";if(e.mode===D_.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case z_.YEAR:return t.toString();case z_.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function M_(e){if(e.mode===D_.TIME)return"23:59";if(e.mode===D_.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case z_.YEAR:return t.toString();case z_.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function L_(e,t,n,o){const i=e.mode===D_.DATE?"-":":",r=e.mode===D_.DATE?t.dateArray:t.timeArray;let a;if(e.mode===D_.TIME)a=2;else switch(e.fields){case z_.YEAR:a=1;break;case z_.MONTH:a=2;break;default:a=3}const s=String(n).split(i);let l=[];for(let c=0;c<a;c++){const e=s[c];l.push(r[c].indexOf(e))}return l.indexOf(-1)>=0&&(l=o?L_(e,t,o):l.map(()=>0)),l}const D_={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},z_={YEAR:"year",MONTH:"month",DAY:"day"},N_={PICKER:"picker",SELECT:"select"},R_=od({name:"Picker",compatConfig:{MODE:3},props:{name:{type:String,default:""},range:{type:Array,default:()=>[]},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:D_.SELECTOR,validator:e=>Object.values(D_).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>O_(e)},end:{type:String,default:e=>M_(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){Sc();const{t:o}=pc(),i=Nn(null),r=Nn(null),a=Nn(null),s=Nn(null),l=Nn(!1),{state:c,rangeArray:u}=function(e){const t=wn({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=ca(()=>{let n=e.range;switch(e.mode){case D_.SELECTOR:return[n];case D_.MULTISELECTOR:return n;case D_.TIME:return t.timeArray;case D_.DATE:{const n=t.dateArray;switch(e.fields){case z_.YEAR:return[n[0]];case z_.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]});return{state:t,rangeArray:n}}(e),d=ad(i,t),{system:h,selectorTypeComputed:f,_show:m,_l10nColumn:g,_l10nItem:y,_input:b,_fixInputPosition:v,_pickerViewChange:_,_cancel:w,_change:S,_resetFormData:x,_getFormData:C,_createTime:k,_createDate:A,_setValueSync:T}=function(e,t,n,o,i,r,a){const s=function(){const e=Nn(!1);return e.value=j_(),e}(),l=function(){const e=Nn("");return e.value=$_(),e}(),c=ca(()=>{const t=e.selectorType;return Object.values(N_).includes(t)?t:s.value?N_.PICKER:N_.SELECT}),u=ca(()=>e.mode===D_.DATE&&!Object.values(z_).includes(e.fields)&&t.isDesktop?l.value:""),d=ca(()=>L_(e,t,e.start,O_(e))),h=ca(()=>L_(e,t,e.end,M_(e)));function f(n){if(e.disabled)return;t.valueChangeSource="";let o=i.value,r=n.currentTarget;o.remove(),(document.querySelector("uni-app")||document.body).appendChild(o),o.style.display="block";const a=r.getBoundingClientRect();t.popover={top:a.top,left:a.left,width:a.width,height:a.height},setTimeout(()=>{t.visible=!0},20)}function m(){return{value:t.valueSync,key:e.name}}function g(){switch(e.mode){case D_.SELECTOR:t.valueSync=0;break;case D_.MULTISELECTOR:t.valueSync=e.value.map(e=>0);break;case D_.DATE:case D_.TIME:t.valueSync=""}}function y(){let e=[],n=[];for(let t=0;t<24;t++)e.push((t<10?"0":"")+t);for(let t=0;t<60;t++)n.push((t<10?"0":"")+t);t.timeArray.push(e,n)}function b(){let t=(new Date).getFullYear(),n=t-150,o=t+150;if(e.start){const t=new Date(e.start).getFullYear();!isNaN(t)&&t<n&&(n=t)}if(e.end){const t=new Date(e.end).getFullYear();!isNaN(t)&&t>o&&(o=t)}return{start:n,end:o}}function v(){let e=[];const n=b();for(let t=n.start,r=n.end;t<=r;t++)e.push(String(t));let o=[];for(let t=1;t<=12;t++)o.push((t<10?"0":"")+t);let i=[];for(let t=1;t<=31;t++)i.push((t<10?"0":"")+t);t.dateArray.push(e,o,i)}function _(e){return 60*e[0]+e[1]}function w(e){const t=31;return e[0]*t*12+(e[1]||0)*t+(e[2]||0)}function S(e,t){for(let n=0;n<e.length&&n<t.length;n++)e[n]=t[n]}function x(){let n=e.value;switch(e.mode){case D_.MULTISELECTOR:{p(n)||(n=t.valueArray),p(t.valueSync)||(t.valueSync=[]);const o=t.valueSync.length=Math.max(n.length,e.range.length);for(let i=0;i<o;i++){const o=Number(n[i]),r=Number(t.valueSync[i]),a=isNaN(o)?isNaN(r)?0:r:o,s=e.range[i]?e.range[i].length-1:0;t.valueSync.splice(i,1,a<0||a>s?0:a)}}break;case D_.TIME:case D_.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function C(){let n,o=t.valueSync;switch(e.mode){case D_.MULTISELECTOR:n=[...o];break;case D_.TIME:n=L_(e,t,o,ze({mode:D_.TIME}));break;case D_.DATE:n=L_(e,t,o,ze({mode:D_.DATE}));break;default:n=[o]}t.oldValueArray=[...n],t.valueArray=[...n]}function k(){let n=t.valueArray;switch(e.mode){case D_.SELECTOR:return n[0];case D_.MULTISELECTOR:return n.map(e=>e);case D_.TIME:return t.valueArray.map((e,n)=>t.timeArray[n][e]).join(":");case D_.DATE:return t.valueArray.map((e,n)=>t.dateArray[n][e]).join("-")}}function A(){I(),t.valueChangeSource="click";const e=k();t.valueSync=p(e)?e.map(e=>e):e,n("change",{},{value:e})}function T(e){if("firefox"===u.value&&e){const{top:n,left:o,width:i,height:r}=t.popover,{pageX:a,pageY:s}=e;if(a>o&&a<o+i&&s>n&&s<n+r)return}I(),n("cancel",{},{})}function I(){t.visible=!1,setTimeout(()=>{let e=i.value;e.remove(),o.value.prepend(e),e.style.display="none"},260)}function E(){e.mode===D_.SELECTOR&&c.value===N_.SELECT&&(r.value.scrollTop=34*t.valueArray[0])}function B(e){const n=e.target;t.valueSync=n.value,ao(()=>{A()})}function P(e){if("chrome"===u.value){const t=o.value.getBoundingClientRect(),n=32;a.value.style.left=e.clientX-t.left-1.5*n+"px",a.value.style.top=e.clientY-t.top-.5*n+"px"}}function O(e){t.valueArray=M(e.detail.value,!0)}function M(t,n){const{getLocale:o}=pc();if(e.mode===D_.DATE){const i=o();if(!i.startsWith("zh"))switch(e.fields){case z_.YEAR:return t;case z_.MONTH:return[t[1],t[0]];default:switch(i){case"es":case"fr":return[t[2],t[1],t[0]];default:return n?[t[2],t[0],t[1]]:[t[1],t[2],t[0]]}}}return t}function L(t,n){const{getLocale:o}=pc();if(e.mode===D_.DATE){const i=o();if(i.startsWith("zh")){return t+["å¹´","æ","æ¥"][n]}if(e.fields!==z_.YEAR&&n===(e.fields===z_.MONTH||"es"!==i&&"fr"!==i?0:1)){let e;switch(i){case"es":e=["enero","febrero","marzo","abril","mayo","junio","ââjulio","agosto","septiembre","octubre","noviembre","diciembre"];break;case"fr":e=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"];break;default:e=["January","February","March","April","May","June","July","August","September","October","November","December"]}return e[Number(t)-1]}}return t}return No(()=>t.visible,e=>{e?(clearTimeout(F_),t.contentVisible=e,E()):F_=setTimeout(()=>{t.contentVisible=e},300)}),No([()=>e.mode,()=>e.value,()=>e.range],x,{deep:!0}),No(()=>t.valueSync,C,{deep:!0}),No(()=>t.valueArray,o=>{if(e.mode===D_.TIME||e.mode===D_.DATE){const n=e.mode===D_.TIME?_:w,o=t.valueArray,i=d.value,r=h.value;if(e.mode===D_.DATE){const e=t.dateArray,n=e[2].length,i=Number(e[2][o[2]])||1,r=new Date(`${e[0][o[0]]}/${e[1][o[1]]}/${i}`).getDate();r<i&&(o[2]-=r+n-i)}n(o)<n(i)?S(o,i):n(o)>n(r)&&S(o,r)}o.forEach((o,i)=>{o!==t.oldValueArray[i]&&(t.oldValueArray[i]=o,e.mode===D_.MULTISELECTOR&&n("columnchange",{},{column:i,value:o}))})}),{selectorTypeComputed:c,system:u,_show:f,_cancel:T,_change:A,_l10nColumn:M,_l10nItem:L,_input:B,_resetFormData:g,_getFormData:m,_createTime:y,_createDate:v,_setValueSync:x,_fixInputPosition:P,_pickerViewChange:O}}(e,c,d,i,r,a,s);!function(e,t,n){const{key:o,disable:i}=ev();Do(()=>{i.value=!e.visible}),No(o,e=>{"esc"===e?t():"enter"===e&&n()})}(c,w,S),function(e,t){const n=tr(ud,!1);if(n){const o={reset:e,submit:()=>{const e=["",null],{key:n,value:o}=t();return""!==n&&(e[0]=n,e[1]=o),e}};n.addField(o),Ci(()=>{n.removeField(o)})}}(x,C),k(),A(),T();const I=t_(c);return Do(()=>{c.isDesktop=I.isDesktop.value,c.popupStyle=I.popupStyle.value}),Ci(()=>{r.value&&r.value.remove()}),wi(()=>{l.value=!0}),()=>{let t;const{visible:d,contentVisible:p,valueArray:x,popupStyle:C,valueSync:k}=c,{rangeKey:A,mode:T,start:I,end:E}=e,B=cd(e,"disabled");return jr("uni-picker",qr({ref:i},B,{onClick:rd(m)}),[l.value?jr("div",{ref:r,class:["uni-picker-container",`uni-${T}-${f.value}`],onWheel:Zc,onTouchmove:Zc},[jr(ba,{name:"uni-fade"},{default:()=>[Ho(jr("div",{class:"uni-mask uni-picker-mask",onClick:rd(w),onMousemove:v},null,40,["onClick","onMousemove"]),[[Oa,d]])]}),h.value?null:jr("div",{class:[{"uni-picker-toggle":d},"uni-picker-custom"],style:C.content},[jr("div",{class:"uni-picker-header",onClick:eu},[jr("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:rd(w)},[o("uni.picker.cancel")],8,["onClick"]),jr("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:S},[o("uni.picker.done")],8,["onClick"])],8,["onClick"]),p?jr($g,{value:g(x),class:"uni-picker-content",onChange:_},P_(t=Bi(g(u.value),(e,t)=>{let n;return jr(Yg,{key:t},P_(n=Bi(e,(e,n)=>jr("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[A]||"":y(e,t)])))?n:{default:()=>[n],_:1})}))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,jr("div",{ref:a,class:"uni-picker-select",onWheel:eu,onTouchmove:eu},[Bi(u.value[0],(e,t)=>jr("div",{key:t,class:["uni-picker-item",{selected:x[0]===t}],onClick:()=>{x[0]=t,S()}},["object"==typeof e?e[A]||"":e],10,["onClick"]))],40,["onWheel","onTouchmove"]),jr("div",{style:C.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,jr("div",null,[n.default&&n.default()]),h.value?jr("div",{class:"uni-picker-system",onMousemove:rd(v)},[jr("input",{class:["uni-picker-system_input",h.value],ref:s,value:k,type:T,tabindex:"-1",min:I,max:E,onChange:e=>{b(e),eu(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});const j_=()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0;const $_=()=>{if(/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""};let F_;const H_=c(Oc,{publishHandler(e,t,n){V_.subscribeHandler(e,t,n)}}),V_=c(Wu,{publishHandler(e,t,n){H_.subscribeHandler(e,t,n)}}),W_=id({name:"PageHead",setup(){const e=Nn(null),t=yd(),n=Ov(t.navigationBar,()=>{const e=Pv(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor}),{clazz:o,style:i}=function(e){const t=ca(()=>{const{type:t,titlePenetrate:n,shadowColorType:o}=e,i={"uni-page-head":!0,"uni-page-head-transparent":"transparent"===t,"uni-page-head-titlePenetrate":"YES"===n,"uni-page-head-shadow":!!o};return o&&(i[`uni-page-head-shadow-${o}`]=!0),i}),n=ca(()=>({backgroundColor:e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc}));return{clazz:t,style:n}}(n);return()=>{const r=function(e,t){if(!t)return jr("div",{class:"uni-page-head-btn",onClick:q_},[fu(pu,"transparent"===e.type?"#fff":e.titleColor,26)],8,["onClick"])}(n,t.isQuit),a=n.type||"default",s="transparent"!==a&&"float"!==a&&jr("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return jr("uni-page-head",{"uni-page-head-type":a},[jr("div",{ref:e,class:o.value,style:i.value},[jr("div",{class:"uni-page-head-hd"},[r]),U_(n),jr("div",{class:"uni-page-head-ft"},[])],6),s],8,["uni-page-head-type"])}}});function U_(e,t){return function({type:e,loading:t,titleSize:n,titleText:o,titleImage:i}){return jr("div",{class:"uni-page-head-bd"},[jr("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?jr("i",{class:"uni-loading"},null):i?jr("img",{src:i,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}(e)}function q_(){1===Pf().length?uf({url:"/"}):Tv({from:"backbutton",success(){}})}const Q_={name:"PageRefresh",setup(){const{pullToRefresh:e}=yd();return{offset:e.offset,color:e.color}}},Y_=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n},G_={class:"uni-page-refresh-inner"},X_=["fill"],K_=[Rr("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null,-1),Rr("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1)],J_={class:"uni-page-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},Z_=["stroke"];const ew=Y_(Q_,[["render",function(e,t,n,o,i,r){return Tr(),Pr("uni-page-refresh",null,[Rr("div",{style:He({"margin-top":o.offset+"px"}),class:"uni-page-refresh"},[Rr("div",G_,[(Tr(),Pr("svg",{fill:o.color,class:"uni-page-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},K_,8,X_)),(Tr(),Pr("svg",J_,[Rr("circle",{stroke:o.color,class:"uni-page-refresh__path",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"},null,8,Z_)]))])],4)])}]]);function tw(e,t,n){const o=Array.prototype.slice.call(e.changedTouches).filter(e=>e.identifier===t)[0];return!!o&&(e.deltaY=o.pageY-n,!0)}const nw="pulling",ow="reached",iw="aborting",rw="refreshing",aw="restoring";function sw(e){const t=yd(),{id:n,pullToRefresh:o}=t,{range:i,height:r}=o;let a,s,l,c,u,d,h,p;Sy(()=>{t.enablePullDownRefresh&&(p||(p=rw,y(),setTimeout(()=>{S()},50)))},"startPullDownRefresh",!1,n),Sy(()=>{t.enablePullDownRefresh&&p===rw&&(b(),p=aw,y(),function(e){if(!s)return;l.transition="-webkit-transform 0.3s",l.transform+=" scale(0.01)";const t=function(){n&&clearTimeout(n),s.removeEventListener("webkitTransitionEnd",t),l.transition="",l.transform="translate3d(-50%, 0, 0)",e()};s.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}(()=>{b(),p=f=m=null}))},Jp,!1,n),wi(()=>{a=e.value.$el,s=a.querySelector(".uni-page-refresh"),l=s.style,c=s.querySelector(".uni-page-refresh-inner").style});let f=null,m=null;function g(e){p&&a&&a.classList[e]("uni-page-refresh--"+p)}function y(){g("add")}function b(){g("remove")}const v=rd(e=>{if(!t.enablePullDownRefresh)return;const n=e.changedTouches[0];u=n.identifier,d=n.pageY,h=!([iw,rw,aw].indexOf(p)>=0)}),_=rd(e=>{if(!t.enablePullDownRefresh)return;if(!h)return;if(!tw(e,u,d))return;let{deltaY:n}=e;if(0!==(document.documentElement.scrollTop||document.body.scrollTop))return void(u=null);if(n<0&&!p)return;e.cancelable&&e.preventDefault(),null===f&&(m=n,p=nw,y()),n-=m,n<0&&(n=0),f=n;(n>=i&&p!==ow||n<i&&p!==nw)&&(b(),p=p===ow?nw:ow,y()),function(e){if(!s)return;let t=e/i;t>1?t=1:t*=t*t;const n=Math.round(e/(i/r))||0;c.transform="rotate("+360*t+"deg)",l.clip="rect("+(45-n)+"px,45px,45px,-5px)",l.transform="translate3d(-50%, "+n+"px, 0)"}(n)}),w=rd(e=>{t.enablePullDownRefresh&&tw(e,u,d)&&null!==p&&(p===nw?(b(),p=iw,y(),function(e){if(!s)return;if(l.transform){l.transition="-webkit-transform 0.3s",l.transform="translate3d(-50%, 0, 0)";const t=function(){n&&clearTimeout(n),s.removeEventListener("webkitTransitionEnd",t),l.transition="",e()};s.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}else e()}(()=>{b(),p=f=m=null})):p===ow&&(b(),p=rw,y(),S()))});function S(){s&&(l.transition="-webkit-transform 0.2s",l.transform="translate3d(-50%, "+r+"px, 0)",Cu(n,_e))}return{onTouchstartPassive:v,onTouchmove:_,onTouchend:w,onTouchcancel:w}}const lw=id({name:"PageBody",setup(e,t){const n=yd(),o=Nn(null),i=Nn(null),r=n.enablePullDownRefresh?sw(o):null,a=Nn(null);return No(()=>n.enablePullDownRefresh,()=>{a.value=n.enablePullDownRefresh?r:null},{immediate:!0}),()=>{const e=function(e,t){if(!t.enablePullDownRefresh)return null;return jr(ew,{ref:e},null,512)}(o,n);return jr(wr,null,[e,jr("uni-page-wrapper",qr({ref:i},a.value),[jr("uni-page-body",null,[Pi(t.slots,"default")]),null],16)])}}});const cw=id({name:"Page",setup(e,t){let n=bd(_d());const o=n.navigationBar,i={};return d_(n),()=>jr("uni-page",{"data-page":n.route,style:i},"custom"!==o.style?[jr(W_),uw(t),null]:[uw(t),null])}});function uw(e){return Tr(),Or(lw,{key:0},{default:So(()=>[Pi(e.slots,"page")]),_:3})}const dw={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=fh;const hw=Object.assign({}),pw=Object.assign;window.__uniConfig=pw({preloadRule:{"pages/index/index":{network:"wifi",packages:["pagesSub/my"]},"pages/login/Login":{network:"wifi",packages:["pagesSub/my"]},"pages/my/index":{network:"wifi",packages:["pagesSub/my"]},"pagesSub/case/index":{network:"wifi",packages:[]}},globalStyle:{backgroundColor:"#F5F6FA",navigationBar:{backgroundColor:"#0f95b0",type:"default",titleColor:"#ffffff"},isNVue:!1},uniIdRouter:{},tabBar:{position:"bottom",color:"#999999",selectedColor:"#0f95b0",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",list:[{pagePath:"pages/index/index",text:"é¦é¡µ",iconPath:"/static/tabbar/home.png",selectedIconPath:"/static/tabbar/home-active.png"},{pagePath:"pages/my/index",text:"æç",iconPath:"/static/tabbar/my.png",selectedIconPath:"/static/tabbar/my-active.png"}],backgroundColor:"#FFFFFF",selectedIndex:0,shown:!0},easycom:{autoscan:!0,custom:{"^uni-(.*)":"@dcloudio/uni-ui/lib/uni-$1/uni-$1","^u--(.*)":"@/uni_modules/uview-plus/components/u-$1/u-$1.vue","^up-(.*)":"@/uni_modules/uview-plus/components/u-$1/u-$1.vue","^u-([^-].*)":"@/uni_modules/uview-plus/components/u-$1/u-$1.vue"}},compilerVersion:"4.75"},{appId:"__UNI__90996F2",appName:"éå²å¤§å¦éå±å»é¢opo",appVersion:"1.0.0",appVersionCode:"100",async:dw,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(hw).reduce((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return pw(e[n]||(e[n]={}),hw[t].default),e},{}),router:{mode:"history",base:"/",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const fw={delay:dw.delay,timeout:dw.timeout,suspensible:dw.suspensible};dw.loading&&(fw.loadingComponent={name:"SystemAsyncLoading",render:()=>jr(Io(dw.loading))}),dw.error&&(fw.errorComponent={name:"SystemAsyncError",props:["error"],render(){return jr(Io(dw.error),{error:this.error})}});const mw=()=>t(()=>import("./pages-index-index.BtVEYEtm.js"),__vite__mapDeps([0,1])).then(e=>Gy(e.default||e)),gw=oi(pw({loader:mw},fw)),yw=()=>t(()=>import("./pages-login-Login.C4YdROr6.js"),__vite__mapDeps([2,3,4,5,6,7,8,9])).then(e=>Gy(e.default||e)),bw=oi(pw({loader:yw},fw)),vw=()=>t(()=>import("./pages-login-Register.CSpbbxtQ.js"),__vite__mapDeps([10,11])).then(e=>Gy(e.default||e)),_w=oi(pw({loader:vw},fw)),ww=()=>t(()=>import("./pages-my-index.Cwyax5Wv.js"),__vite__mapDeps([12,7,13])).then(e=>Gy(e.default||e)),Sw=oi(pw({loader:ww},fw)),xw=()=>t(()=>import("./pagesSub-case-index.BkkuupV9.js"),__vite__mapDeps([14,15,16])).then(e=>Gy(e.default||e)),Cw=oi(pw({loader:xw},fw)),kw=()=>t(()=>import("./pagesSub-case-CaseDetails.CjfdsIC9.js"),__vite__mapDeps([17,18,5,6,19,20,15,21])).then(e=>Gy(e.default||e)),Aw=oi(pw({loader:kw},fw)),Tw=()=>t(()=>import("./pagesSub-case-CaseInfo.BEVbAyzt.js"),__vite__mapDeps([22,23,8,18,5,6,19,20,15,24])).then(e=>Gy(e.default||e)),Iw=oi(pw({loader:Tw},fw)),Ew=()=>t(()=>import("./pagesSub-case-transfer.CNKI7yMv.js"),__vite__mapDeps([25,15,26])).then(e=>Gy(e.default||e)),Bw=oi(pw({loader:Ew},fw)),Pw=()=>t(()=>import("./pagesSub-case-transferinfo.CltBYvDY.js"),__vite__mapDeps([27,18,5,6,19,28])).then(e=>Gy(e.default||e)),Ow=oi(pw({loader:Pw},fw)),Mw=()=>t(()=>import("./pagesSub-ethicalReview-ethicalInfo.DwZzbN64.js"),__vite__mapDeps([29,5,6,23,8,30])).then(e=>Gy(e.default||e)),Lw=oi(pw({loader:Mw},fw)),Dw=()=>t(()=>import("./pagesSub-ethicalReview-index.ygfU131y.js"),__vite__mapDeps([31,15,32])).then(e=>Gy(e.default||e)),zw=oi(pw({loader:Dw},fw)),Nw=()=>t(()=>import("./pagesSub-my-notification.Bra2eLUJ.js"),__vite__mapDeps([33,34])).then(e=>Gy(e.default||e)),Rw=oi(pw({loader:Nw},fw)),jw=()=>t(()=>import("./pagesSub-my-profile.DlEv97y9.js"),__vite__mapDeps([35,36])).then(e=>Gy(e.default||e)),$w=oi(pw({loader:jw},fw)),Fw=()=>t(()=>import("./pagesSub-my-health-records.CKC70coG.js"),__vite__mapDeps([37,38])).then(e=>Gy(e.default||e)),Hw=oi(pw({loader:Fw},fw)),Vw=()=>t(()=>import("./pagesSub-common-search-index.BdcMfTL5.js"),__vite__mapDeps([39,40])).then(e=>Gy(e.default||e)),Ww=oi(pw({loader:Vw},fw)),Uw=()=>t(()=>import("./pagesSub-common-news-list.ChxOS1xi.js"),__vite__mapDeps([41,3,4,42])).then(e=>Gy(e.default||e)),qw=oi(pw({loader:Uw},fw)),Qw=()=>t(()=>import("./pagesSub-common-news-detail.ZkRmskQi.js"),__vite__mapDeps([43,44])).then(e=>Gy(e.default||e)),Yw=oi(pw({loader:Qw},fw));function Gw(e,t){return Tr(),Or(cw,null,{page:So(()=>[jr(e,pw({},t,{ref:"page"}),null,512)]),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(gw,t)}},loader:mw,meta:{isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,enablePullDownRefresh:!0,navigationBar:{titleText:"é大éé¢OPO管çå¹³å°",type:"default"},isNVue:!1}},{path:"/pages/login/Login",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(bw,t)}},loader:yw,meta:{navigationBar:{titleText:"ç»å½",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/login/Register",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(_w,t)}},loader:vw,meta:{navigationBar:{titleText:"注å",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/my/index",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Sw,t)}},loader:ww,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{titleText:"个人ä¸å¿",type:"default"},isNVue:!1}},{path:"/pagesSub/case/index",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Cw,t)}},loader:xw,meta:{navigationBar:{titleText:"æç䏿¥",type:"default"},isNVue:!1}},{path:"/pagesSub/case/CaseDetails",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Aw,t)}},loader:kw,meta:{navigationBar:{titleText:"䏿¥æ¡ä¾",type:"default"},isNVue:!1}},{path:"/pagesSub/case/CaseInfo",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Iw,t)}},loader:Tw,meta:{navigationBar:{titleText:"æ¡ä¾è¯¦æ
",type:"default"},isNVue:!1}},{path:"/pagesSub/case/transfer",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Bw,t)}},loader:Ew,meta:{navigationBar:{titleText:"转è¿ç»è®°",type:"default"},isNVue:!1}},{path:"/pagesSub/case/transferinfo",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Ow,t)}},loader:Pw,meta:{navigationBar:{titleText:"ç»è®°å详æ
",type:"default"},isNVue:!1}},{path:"/pagesSub/ethicalReview/ethicalInfo",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Lw,t)}},loader:Mw,meta:{navigationBar:{titleText:"伦ç审æ¥",type:"default"},isNVue:!1}},{path:"/pagesSub/ethicalReview/index",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(zw,t)}},loader:Dw,meta:{navigationBar:{titleText:"审æ¥è®°å½",type:"default"},isNVue:!1}},{path:"/pagesSub/my/notification",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Rw,t)}},loader:Nw,meta:{navigationBar:{titleText:"æ¶æ¯éç¥",type:"default"},isNVue:!1}},{path:"/pagesSub/my/profile",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw($w,t)}},loader:jw,meta:{navigationBar:{titleText:"个人信æ¯",type:"default"},isNVue:!1}},{path:"/pagesSub/my/health-records",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Hw,t)}},loader:Fw,meta:{navigationBar:{titleText:"å¥åº·æ¡£æ¡",type:"default"},isNVue:!1}},{path:"/pagesSub/common/search/index",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Ww,t)}},loader:Vw,meta:{navigationBar:{titleText:"æç´¢",type:"default"},isNVue:!1}},{path:"/pagesSub/common/news/list",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(qw,t)}},loader:Uw,meta:{navigationBar:{titleText:"å»é¢èµè®¯",type:"default"},isNVue:!1}},{path:"/pagesSub/common/news/detail",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Yw,t)}},loader:Qw,meta:{navigationBar:{titleText:"èµè®¯è¯¦æ
",type:"default"},isNVue:!1}}].map(e=>(e.meta.route=(e.alias||e.path).slice(1),e)); |
| | | */(e);if(!o)return;const i=t._component;g(i)||i.render||i.template||(i.template=o.innerHTML),o.innerHTML="";const r=n(o,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},t};const hs="undefined"!=typeof document;const ps=Object.assign;function fs(e,t){const n={};for(const o in t){const i=t[o];n[o]=gs(i)?i.map(e):e(i)}return n}const ms=()=>{},gs=Array.isArray,ys=/#/g,bs=/&/g,vs=/\//g,_s=/=/g,ws=/\?/g,Ss=/\+/g,xs=/%5B/g,Cs=/%5D/g,ks=/%5E/g,As=/%60/g,Ts=/%7B/g,Is=/%7C/g,Es=/%7D/g,Bs=/%20/g;function Ps(e){return encodeURI(""+e).replace(Is,"|").replace(xs,"[").replace(Cs,"]")}function Os(e){return Ps(e).replace(Ss,"%2B").replace(Bs,"+").replace(ys,"%23").replace(bs,"%26").replace(As,"`").replace(Ts,"{").replace(Es,"}").replace(ks,"^")}function Ms(e){return Os(e).replace(_s,"%3D")}function Ls(e){return null==e?"":function(e){return Ps(e).replace(ys,"%23").replace(ws,"%3F")}(e).replace(vs,"%2F")}function Ds(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const zs=/\/$/;function Ns(e,t,n="/"){let o,i={},r="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(o=t.slice(0,l),r=t.slice(l+1,s>-1?s:t.length),i=e(r)),s>-1&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),i=o[o.length-1];".."!==i&&"."!==i||o.push("");let r,a,s=n.length-1;for(r=0;r<o.length;r++)if(a=o[r],"."!==a){if(".."!==a)break;s>1&&s--}return n.slice(0,s).join("/")+"/"+o.slice(r).join("/")}(null!=o?o:t,n),{fullPath:o+(r&&"?")+r+a,path:o,query:i,hash:Ds(a)}}function Rs(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function js(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function $s(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Fs(e[n],t[n]))return!1;return!0}function Fs(e,t){return gs(e)?Hs(e,t):gs(t)?Hs(t,e):e===t}function Hs(e,t){return gs(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):1===e.length&&e[0]===t}var Vs,Ws,Us,qs;function Qs(e){if(!e)if(hs){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(zs,"")}(Ws=Vs||(Vs={})).pop="pop",Ws.push="push",(qs=Us||(Us={})).back="back",qs.forward="forward",qs.unknown="";const Ys=/^[^#]+#/;function Gs(e,t){return e.replace(Ys,"#")+t}const Xs=()=>({left:window.scrollX,top:window.scrollY});function Ks(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),i="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.scrollX,null!=t.top?t.top:window.scrollY)}function Js(e,t){return(history.state?history.state.position-t:-1)+e}const Zs=new Map;function el(e,t){const{pathname:n,search:o,hash:i}=t,r=e.indexOf("#");if(r>-1){let t=i.includes(e.slice(r))?e.slice(r).length:1,n=i.slice(t);return"/"!==n[0]&&(n="/"+n),Rs(n,"")}return Rs(n,e)+o+i}function tl(e,t,n,o=!1,i=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:i?Xs():null}}function nl(e){const{history:t,location:n}=window,o={value:el(e,n)},i={value:t.state};function r(o,r,a){const s=e.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?e:e.slice(s))+o:location.protocol+"//"+location.host+e+o;try{t[a?"replaceState":"pushState"](r,"",l),i.value=r}catch(c){console.error(c),n[a?"replace":"assign"](l)}}return i.value||r(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:i,push:function(e,n){const a=ps({},i.value,t.state,{forward:e,scroll:Xs()});r(a.current,a,!0),r(e,ps({},tl(o.value,e,null),{position:a.position+1},n),!1),o.value=e},replace:function(e,n){r(e,ps({},t.state,tl(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),o.value=e}}}function ol(e){const t=nl(e=Qs(e)),n=function(e,t,n,o){let i=[],r=[],a=null;const s=({state:r})=>{const s=el(e,location),l=n.value,c=t.value;let u=0;if(r){if(n.value=s,t.value=r,a&&a===l)return void(a=null);u=c?r.position-c.position:0}else o(s);i.forEach(e=>{e(n.value,l,{delta:u,type:Vs.pop,direction:u?u>0?Us.forward:Us.back:Us.unknown})})};function l(){const{history:e}=window;e.state&&e.replaceState(ps({},e.state,{scroll:Xs()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){a=n.value},listen:function(e){i.push(e);const t=()=>{const t=i.indexOf(e);t>-1&&i.splice(t,1)};return r.push(t),t},destroy:function(){for(const e of r)e();r=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=ps({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Gs.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function il(e){return"string"==typeof e||"symbol"==typeof e}const rl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},al=Symbol("");var sl,ll;function cl(e,t){return ps(new Error,{type:e,[al]:!0},t)}function ul(e,t){return e instanceof Error&&al in e&&(null==t||!!(e.type&t))}(ll=sl||(sl={}))[ll.aborted=4]="aborted",ll[ll.cancelled=8]="cancelled",ll[ll.duplicated=16]="duplicated";const dl="[^/]+?",hl={sensitive:!1,strict:!1,start:!0,end:!0},pl=/[.+*?^${}()[\]/\\]/g;function fl(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?1===e.length&&80===e[0]?-1:1:e.length>t.length?1===t.length&&80===t[0]?1:-1:0}function ml(e,t){let n=0;const o=e.score,i=t.score;for(;n<o.length&&n<i.length;){const e=fl(o[n],i[n]);if(e)return e;n++}if(1===Math.abs(i.length-o.length)){if(gl(o))return 1;if(gl(i))return-1}return i.length-o.length}function gl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const yl={type:0,value:""},bl=/[a-zA-Z0-9_]/;function vl(e,t,n){const o=function(e,t){const n=ps({},hl,t),o=[];let i=n.start?"^":"";const r=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(i+="/");for(let t=0;t<l.length;t++){const o=l[t];let a=40+(n.sensitive?.25:0);if(0===o.type)t||(i+="/"),i+=o.value.replace(pl,"\\$&"),a+=40;else if(1===o.type){const{value:e,repeatable:n,optional:c,regexp:u}=o;r.push({name:e,repeatable:n,optional:c});const d=u||dl;if(d!==dl){a+=10;try{new RegExp(`(${d})`)}catch(s){throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+s.message)}}let h=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`;t||(h=c&&l.length<2?`(?:/${h})`:"/"+h),c&&(h+="?"),i+=h,a+=20,c&&(a+=-8),n&&(a+=-20),".*"===d&&(a+=-50)}e.push(a)}o.push(e)}if(n.strict&&n.end){const e=o.length-1;o[e][o[e].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const a=new RegExp(i,n.sensitive?"":"i");return{re:a,score:o,keys:r,parse:function(e){const t=e.match(a),n={};if(!t)return null;for(let o=1;o<t.length;o++){const e=t[o]||"",i=r[o-1];n[i.name]=e&&i.repeatable?e.split("/"):e}return n},stringify:function(t){let n="",o=!1;for(const i of e){o&&n.endsWith("/")||(n+="/"),o=!1;for(const e of i)if(0===e.type)n+=e.value;else if(1===e.type){const{value:r,repeatable:a,optional:s}=e,l=r in t?t[r]:"";if(gs(l)&&!a)throw new Error(`Provided param "${r}" is an array but it is not repeatable (* or + modifiers)`);const c=gs(l)?l.join("/"):l;if(!c){if(!s)throw new Error(`Missing required param "${r}"`);i.length<2&&(n.endsWith("/")?n=n.slice(0,-1):o=!0)}n+=c}}return n||"/"}}}(function(e){if(!e)return[[]];if("/"===e)return[[yl]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,o=n;const i=[];let r;function a(){r&&i.push(r),r=[]}let s,l=0,c="",u="";function d(){c&&(0===n?r.push({type:0,value:c}):1===n||2===n||3===n?(r.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function h(){c+=s}for(;l<e.length;)if(s=e[l++],"\\"!==s||2===n)switch(n){case 0:"/"===s?(c&&d(),a()):":"===s?(d(),n=1):h();break;case 4:h(),n=o;break;case 1:"("===s?n=2:bl.test(s)?h():(d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case 2:")"===s?"\\"==u[u.length-1]?u=u.slice(0,-1)+s:n=3:u+=s;break;case 3:d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,u="";break;default:t("Unknown state")}else o=n,n=4;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),d(),a(),i}(e.path),n),i=ps(o,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function _l(e,t){const n=[],o=new Map;function i(e,n,o){const s=!o,l=function(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Sl(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}(e);l.aliasOf=o&&o.record;const c=kl(t,e),u=[l];if("alias"in e){const t="string"==typeof e.alias?[e.alias]:e.alias;for(const e of t)u.push(ps({},l,{components:o?o.record.components:l.components,path:e,aliasOf:o?o.record:l}))}let d,h;for(const t of u){const{path:u}=t;if(n&&"/"!==u[0]){const e=n.record.path,o="/"===e[e.length-1]?"":"/";t.path=n.record.path+(u&&o+u)}if(d=vl(t,n,c),o?o.alias.push(d):(h=h||d,h!==d&&h.alias.push(d),s&&e.name&&!xl(d)&&r(e.name)),l.children){const e=l.children;for(let t=0;t<e.length;t++)i(e[t],d,o&&o.children[t])}o=o||d,(d.record.components&&Object.keys(d.record.components).length||d.record.name||d.record.redirect)&&a(d)}return h?()=>{r(h)}:ms}function r(e){if(il(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(r),t.alias.forEach(r))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(r),e.alias.forEach(r))}}function a(e){let t=0;for(;t<n.length&&ml(e,n[t])>=0&&(e.record.path!==n[t].record.path||!Al(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!xl(e)&&o.set(e.record.name,e)}return t=kl({strict:!1,end:!0,sensitive:!1},t),e.forEach(e=>i(e)),{addRoute:i,resolve:function(e,t){let i,r,a,s={};if("name"in e&&e.name){if(i=o.get(e.name),!i)throw cl(1,{location:e});a=i.record.name,s=ps(wl(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&wl(e.params,i.keys.map(e=>e.name))),r=i.stringify(s)}else if(null!=e.path)r=e.path,i=n.find(e=>e.re.test(r)),i&&(s=i.parse(r),a=i.record.name);else{if(i=t.name?o.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw cl(1,{location:e,currentLocation:t});a=i.record.name,s=ps({},t.params,e.params),r=i.stringify(s)}const l=[];let c=i;for(;c;)l.unshift(c.record),c=c.parent;return{name:a,path:r,params:s,matched:l,meta:Cl(l)}},removeRoute:r,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function wl(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Sl(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]="object"==typeof n?n[o]:n;return t}function xl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Cl(e){return e.reduce((e,t)=>ps(e,t.meta),{})}function kl(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Al(e,t){return t.children.some(t=>t===e||Al(e,t))}function Tl(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;o<n.length;++o){const e=n[o].replace(Ss," "),i=e.indexOf("="),r=Ds(i<0?e:e.slice(0,i)),a=i<0?null:Ds(e.slice(i+1));if(r in t){let e=t[r];gs(e)||(e=t[r]=[e]),e.push(a)}else t[r]=a}return t}function Il(e){let t="";for(let n in e){const o=e[n];if(n=Ms(n),null==o){void 0!==o&&(t+=(t.length?"&":"")+n);continue}(gs(o)?o.map(e=>e&&Os(e)):[o&&Os(o)]).forEach(e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))})}return t}function El(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=gs(o)?o.map(e=>null==e?null:""+e):null==o?o:""+o)}return t}const Bl=Symbol(""),Pl=Symbol(""),Ol=Symbol(""),Ml=Symbol(""),Ll=Symbol("");function Dl(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){e=[]}}}function zl(e,t,n,o,i,r=e=>e()){const a=o&&(o.enterCallbacks[i]=o.enterCallbacks[i]||[]);return()=>new Promise((s,l)=>{const c=e=>{var r;!1===e?l(cl(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(r=e)||r&&"object"==typeof r?l(cl(2,{from:t,to:e})):(a&&o.enterCallbacks[i]===a&&"function"==typeof e&&a.push(e),s())},u=r(()=>e.call(o&&o.instances[i],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(e=>l(e))})}function Nl(e,t,n,o,i=e=>e()){const r=[];for(const a of e)for(const e in a.components){let s=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if(Rl(s)){const l=(s.__vccOpts||s)[t];l&&r.push(zl(l,n,o,a,e,i))}else{let l=s();r.push(()=>l.then(r=>{if(!r)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${a.path}"`));const s=(l=r).__esModule||"Module"===l[Symbol.toStringTag]?r.default:r;var l;a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&zl(c,n,o,a,e,i)()}))}}return r}function Rl(e){return"object"==typeof e||"displayName"in e||"props"in e||"__vccOpts"in e}function jl(e){const t=tr(Ol),n=tr(Ml),o=ca(()=>t.resolve(Fn(e.to))),i=ca(()=>{const{matched:e}=o.value,{length:t}=e,i=e[t-1],r=n.matched;if(!i||!r.length)return-1;const a=r.findIndex(js.bind(null,i));if(a>-1)return a;const s=Fl(e[t-2]);return t>1&&Fl(i)===s&&r[r.length-1].path!==s?r.findIndex(js.bind(null,e[t-2])):a}),r=ca(()=>i.value>-1&&function(e,t){for(const n in t){const o=t[n],i=e[n];if("string"==typeof o){if(o!==i)return!1}else if(!gs(i)||i.length!==o.length||o.some((e,t)=>e!==i[t]))return!1}return!0}(n.params,o.value.params)),a=ca(()=>i.value>-1&&i.value===n.matched.length-1&&$s(n.params,o.value.params));return{route:o,href:ca(()=>o.value.href),isActive:r,isExactActive:a,navigate:function(n={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(n)?t[Fn(e.replace)?"replace":"push"](Fn(e.to)).catch(ms):Promise.resolve()}}}const $l=ti({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:jl,setup(e,{slots:t}){const n=wn(jl(e)),{options:o}=tr(Ol),i=ca(()=>({[Hl(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Hl(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:ua("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}});function Fl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Hl=(e,t,n)=>null!=e?e:null!=t?t:n;function Vl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Wl=ti({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=tr(Ll),i=ca(()=>e.route||o.value),r=tr(Pl,0),a=ca(()=>{let e=Fn(r);const{matched:t}=i.value;let n;for(;(n=t[e])&&!n.components;)e++;return e}),s=ca(()=>i.value.matched[a.value]);er(Pl,ca(()=>a.value+1)),er(Bl,s),er(Ll,i);const l=Nn();return No(()=>[l.value,s.value,e.name],([e,t,n],[o,i,r])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),!e||!t||i&&js(t,i)&&o||(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:"post"}),()=>{const o=i.value,r=e.name,a=s.value,c=a&&a.components[r];if(!c)return Vl(n.default,{Component:c,route:o});const u=a.props[r],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,h=ua(c,ps({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(a.instances[r]=null)},ref:l}));return Vl(n.default,{Component:h,route:o})||h}}});function Ul(e){const t=_l(e.routes,e),n=e.parseQuery||Tl,o=e.stringifyQuery||Il,i=e.history,r=Dl(),a=Dl(),s=Dl(),l=Rn(rl);let c=rl;hs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=fs.bind(null,e=>""+e),d=fs.bind(null,Ls),h=fs.bind(null,Ds);function p(e,r){if(r=ps({},r||l.value),"string"==typeof e){const o=Ns(n,e,r.path),a=t.resolve({path:o.path},r),s=i.createHref(o.fullPath);return ps(o,a,{params:h(a.params),hash:Ds(o.hash),redirectedFrom:void 0,href:s})}let a;if(null!=e.path)a=ps({},e,{path:Ns(n,e.path,r.path).path});else{const t=ps({},e.params);for(const e in t)null==t[e]&&delete t[e];a=ps({},e,{params:d(t)}),r.params=d(r.params)}const s=t.resolve(a,r),c=e.hash||"";s.params=u(h(s.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,ps({},e,{hash:(f=c,Ps(f).replace(Ts,"{").replace(Es,"}").replace(ks,"^")),path:s.path}));var f;const m=i.createHref(p);return ps({fullPath:p,hash:c,query:o===Il?El(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function f(e){return"string"==typeof e?Ns(n,e,l.value.path):ps({},e)}function m(e,t){if(c!==e)return cl(8,{from:t,to:e})}function g(e){return b(e)}function y(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.includes("?")||o.includes("#")?o=f(o):{path:o},o.params={}),ps({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function b(e,t){const n=c=p(e),i=l.value,r=e.state,a=e.force,s=!0===e.replace,u=y(n);if(u)return b(ps(f(u),{state:"object"==typeof u?ps({},r,u.state):r,force:a,replace:s}),t||n);const d=n;let h;return d.redirectedFrom=t,!a&&function(e,t,n){const o=t.matched.length-1,i=n.matched.length-1;return o>-1&&o===i&&js(t.matched[o],n.matched[i])&&$s(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,i,n)&&(h=cl(16,{to:d,from:i}),P(i,i,!0,!1)),(h?Promise.resolve(h):w(d,i)).catch(e=>ul(e)?ul(e,2)?e:B(e):E(e,d,i)).then(e=>{if(e){if(ul(e,2))return b(ps({replace:s},f(e.to),{state:"object"==typeof e.to?ps({},r,e.to.state):r,force:a}),t||d)}else e=x(d,i,!0,s,r);return S(d,i,e),e})}function v(e,t){const n=m(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=L.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,i,s]=function(e,t){const n=[],o=[],i=[],r=Math.max(t.matched.length,e.matched.length);for(let a=0;a<r;a++){const r=t.matched[a];r&&(e.matched.find(e=>js(e,r))?o.push(r):n.push(r));const s=e.matched[a];s&&(t.matched.find(e=>js(e,s))||i.push(s))}return[n,o,i]}(e,t);n=Nl(o.reverse(),"beforeRouteLeave",e,t);for(const r of o)r.leaveGuards.forEach(o=>{n.push(zl(o,e,t))});const l=v.bind(null,e,t);return n.push(l),z(n).then(()=>{n=[];for(const o of r.list())n.push(zl(o,e,t));return n.push(l),z(n)}).then(()=>{n=Nl(i,"beforeRouteUpdate",e,t);for(const o of i)o.updateGuards.forEach(o=>{n.push(zl(o,e,t))});return n.push(l),z(n)}).then(()=>{n=[];for(const o of s)if(o.beforeEnter)if(gs(o.beforeEnter))for(const i of o.beforeEnter)n.push(zl(i,e,t));else n.push(zl(o.beforeEnter,e,t));return n.push(l),z(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Nl(s,"beforeRouteEnter",e,t,_),n.push(l),z(n))).then(()=>{n=[];for(const o of a.list())n.push(zl(o,e,t));return n.push(l),z(n)}).catch(e=>ul(e,8)?e:Promise.reject(e))}function S(e,t,n){s.list().forEach(o=>_(()=>o(e,t,n)))}function x(e,t,n,o,r){const a=m(e,t);if(a)return a;const s=t===rl,c=hs?history.state:{};n&&(o||s?i.replace(e.fullPath,ps({scroll:s&&c&&c.scroll},r)):i.push(e.fullPath,r)),l.value=e,P(e,t,n,s),B()}let C;function k(){C||(C=i.listen((e,t,n)=>{if(!D.listening)return;const o=p(e),r=y(o);if(r)return void b(ps(r,{replace:!0}),o).catch(ms);c=o;const a=l.value;var s,u;hs&&(s=Js(a.fullPath,n.delta),u=Xs(),Zs.set(s,u)),w(o,a).catch(e=>ul(e,12)?e:ul(e,2)?(b(e.to,o).then(e=>{ul(e,20)&&!n.delta&&n.type===Vs.pop&&i.go(-1,!1)}).catch(ms),Promise.reject()):(n.delta&&i.go(-n.delta,!1),E(e,o,a))).then(e=>{(e=e||x(o,a,!1))&&(n.delta&&!ul(e,8)?i.go(-n.delta,!1):n.type===Vs.pop&&ul(e,20)&&i.go(-1,!1)),S(o,a,e)}).catch(ms)}))}let A,T=Dl(),I=Dl();function E(e,t,n){B(e);const o=I.list();return o.length?o.forEach(o=>o(e,t,n)):console.error(e),Promise.reject(e)}function B(e){return A||(A=!e,k(),T.list().forEach(([t,n])=>e?n(e):t()),T.reset()),e}function P(t,n,o,i){const{scrollBehavior:r}=e;if(!hs||!r)return Promise.resolve();const a=!o&&function(e){const t=Zs.get(e);return Zs.delete(e),t}(Js(t.fullPath,0))||(i||!o)&&history.state&&history.state.scroll||null;return ao().then(()=>r(t,n,a)).then(e=>e&&Ks(e)).catch(e=>E(e,t,n))}const O=e=>i.go(e);let M;const L=new Set,D={currentRoute:l,listening:!0,addRoute:function(e,n){let o,i;return il(e)?(o=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map(e=>e.record)},resolve:p,options:e,push:g,replace:function(e){return g(ps(f(e),{replace:!0}))},go:O,back:()=>O(-1),forward:()=>O(1),beforeEach:r.add,beforeResolve:a.add,afterEach:s.add,onError:I.add,isReady:function(){return A&&l.value!==rl?Promise.resolve():new Promise((e,t)=>{T.add([e,t])})},install(e){e.component("RouterLink",$l),e.component("RouterView",Wl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Fn(l)}),hs&&!M&&l.value===rl&&(M=!0,g(i.location).catch(e=>{}));const t={};for(const o in rl)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Ol,this),e.provide(Ml,Sn(t)),e.provide(Ll,l);const n=e.unmount;L.add(e),e.unmount=function(){L.delete(e),L.size<1&&(c=rl,C&&C(),C=null,l.value=rl,M=!1,A=!1),n()}}};function z(e){return e.reduce((e,t)=>e.then(()=>_(t)),Promise.resolve())}return D}function ql(){return tr(Ml)}const Ql=["{","}"];const Yl=/^(?:\d)+/,Gl=/^(?:\w)+/;const Xl="zh-Hans",Kl="zh-Hant",Jl="en",Zl="fr",ec="es",tc=Object.prototype.hasOwnProperty,nc=(e,t)=>tc.call(e,t),oc=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=Ql){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let i=0,r="";for(;i<e.length;){let a=e[i++];if(a===t){r&&o.push({type:"text",value:r}),r="";let t="";for(a=e[i++];void 0!==a&&a!==n;)t+=a,a=e[i++];const s=a===n,l=Yl.test(t)?"list":s&&Gl.test(t)?"named":"unknown";o.push({value:t,type:l})}else r+=a}return r&&o.push({type:"text",value:r}),o}(e,n),this._caches[e]=o),function(e,t){const n=[];let o=0;const i=Array.isArray(t)?"list":(r=t,null!==r&&"object"==typeof r?"named":"unknown");var r;if("unknown"===i)return n;for(;o<e.length;){const r=e[o];switch(r.type){case"text":n.push(r.value);break;case"list":n.push(t[parseInt(r.value,10)]);break;case"named":"named"===i&&n.push(t[r.value])}o++}return n}(o,t)}};function ic(e,t){if(!e)return;if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if("chinese"===(e=e.toLowerCase()))return Xl;if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?Xl:e.indexOf("-hant")>-1?Kl:(n=e,["-tw","-hk","-mo","-cht"].find(e=>-1!==n.indexOf(e))?Kl:Xl);var n;let o=[Jl,Zl,ec];t&&Object.keys(t).length>0&&(o=Object.keys(t));const i=function(e,t){return t.find(t=>0===e.indexOf(t))}(e,o);return i||void 0}class rc{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:i}){this.locale=Jl,this.fallbackLocale=Jl,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=i||oc,this.messages=n||{},this.setLocale(e||Jl),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=ic(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach(e=>{e(this.locale,t)})}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,n=!0){const o=this.messages[e];o?n?Object.assign(o,t):Object.keys(t).forEach(e=>{nc(o,e)||(o[e]=t[e])}):this.messages[e]=t}f(e,t,n){return this.formater.interpolate(e,t,n).join("")}t(e,t,n){let o=this.message;return"string"==typeof t?(t=ic(t,this.messages))&&(o=this.messages[t]):n=t,nc(o,e)?this.formater.interpolate(o[e],n).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}function ac(e,t={},n,o){if("string"!=typeof e){const n=[t,e];e=n[0],t=n[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&cp?cp():"undefined"!=typeof global&&global.getLocale?global.getLocale():Jl),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Jl);const i=new rc({locale:e,fallbackLocale:n,messages:t,watcher:o});let r=(e,t)=>{{let e=!1;r=function(t,n){const o=Uy().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale(e=>{t.setLocale(e)}):e.$watch(()=>e.$locale,e=>{t.setLocale(e)})}(o,i))),i.t(t,n)}}return r(e,t)};return{i18n:i,f:(e,t,n)=>i.f(e,t,n),t:(e,t)=>r(e,t),add:(e,t,n=!0)=>i.add(e,t,n),watch:e=>i.watchLocale(e),getLocale:()=>i.getLocale(),setLocale:e=>i.setLocale(e)}}function sc(e,t){return e.indexOf(t[0])>-1}const lc=Le(()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length);let cc;function uc(e){return sc(e,te)?pc().f(e,function(){const e=cp(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),te):e}function dc(e,t){if(1===t.length){if(e){const n=e=>y(e)&&sc(e,te),o=t[0];let i=[];if(p(e)&&(i=e.filter(e=>n(e[o]))).length)return i;const r=e[t[0]];if(n(r))return e}return}const n=t.shift();return dc(e&&e[n],t)}function hc(e,t){const n=dc(e,t);if(!n)return!1;const o=t[t.length-1];if(p(n))n.forEach(e=>hc(e,[o]));else{let e=n[o];Object.defineProperty(n,o,{get:()=>uc(e),set(t){e=t}})}return!0}function pc(){if(!cc){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,cc=ac(e),lc()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach(e=>cc.add(e,__uniConfig.locales[e])),cc.setLocale(e)}}return cc}function fc(e,t,n){return t.reduce((t,o,i)=>(t[e+o]=n[i],t),{})}const mc=Le(()=>{const e="uni.async.",t=["error"];pc().add(Jl,fc(e,t,["The connection timed out, click the screen to try again."]),!1),pc().add(ec,fc(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),pc().add(Zl,fc(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),pc().add(Xl,fc(e,t,["è¿æ¥æå¡å¨è¶
æ¶ï¼ç¹å»å±å¹éè¯"]),!1),pc().add(Kl,fc(e,t,["飿¥æåå¨è¶
æï¼é»æå±å¹é試"]),!1)}),gc=Le(()=>{const e="uni.showActionSheet.",t=["cancel"];pc().add(Jl,fc(e,t,["Cancel"]),!1),pc().add(ec,fc(e,t,["Cancelar"]),!1),pc().add(Zl,fc(e,t,["Annuler"]),!1),pc().add(Xl,fc(e,t,["åæ¶"]),!1),pc().add(Kl,fc(e,t,["åæ¶"]),!1)}),yc=Le(()=>{const e="uni.showToast.",t=["unpaired"];pc().add(Jl,fc(e,t,["Please note showToast must be paired with hideToast"]),!1),pc().add(ec,fc(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),pc().add(Zl,fc(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),pc().add(Xl,fc(e,t,["请注æ showToast ä¸ hideToast å¿
é¡»é
对使ç¨"]),!1),pc().add(Kl,fc(e,t,["è«æ³¨æ showToast è hideToast å¿
é é
å°ä½¿ç¨"]),!1)}),bc=Le(()=>{const e="uni.showLoading.",t=["unpaired"];pc().add(Jl,fc(e,t,["Please note showLoading must be paired with hideLoading"]),!1),pc().add(ec,fc(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),pc().add(Zl,fc(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),pc().add(Xl,fc(e,t,["请注æ showLoading ä¸ hideLoading å¿
é¡»é
对使ç¨"]),!1),pc().add(Kl,fc(e,t,["è«æ³¨æ showLoading è hideLoading å¿
é é
å°ä½¿ç¨"]),!1)}),vc=Le(()=>{const e="uni.showModal.",t=["cancel","confirm"];pc().add(Jl,fc(e,t,["Cancel","OK"]),!1),pc().add(ec,fc(e,t,["Cancelar","OK"]),!1),pc().add(Zl,fc(e,t,["Annuler","OK"]),!1),pc().add(Xl,fc(e,t,["åæ¶","ç¡®å®"]),!1),pc().add(Kl,fc(e,t,["åæ¶","確å®"]),!1)}),_c=Le(()=>{const e="uni.chooseFile.",t=["notUserActivation"];pc().add(Jl,fc(e,t,["File chooser dialog can only be shown with a user activation"]),!1),pc().add(ec,fc(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),pc().add(Zl,fc(e,t,["La boîte de dialogue du sélecteur de fichier ne peut être affichée qu'avec une activation par l'utilisateur"]),!1),pc().add(Xl,fc(e,t,["æä»¶éæ©å¨å¯¹è¯æ¡åªè½å¨ç±ç¨æ·æ¿æ´»æ¶æ¾ç¤º"]),!1),pc().add(Kl,fc(e,t,["æä»¶é¸æå¨å°è©±æ¡åªè½å¨ç±ç¨æ¶æ¿æ´»æé¡¯ç¤º"]),!1)}),wc=Le(()=>{const e="uni.setClipboardData.",t=["success","fail"];pc().add(Jl,fc(e,t,["Content copied","Copy failed, please copy manually"]),!1),pc().add(ec,fc(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),pc().add(Zl,fc(e,t,["Contenu copié","Ãchec de la copie, copiez manuellement"]),!1),pc().add(Xl,fc(e,t,["å
容已å¤å¶","å¤å¶å¤±è´¥ï¼è¯·æå¨å¤å¶"]),!1),pc().add(Kl,fc(e,t,["å
§å®¹å·²å¾©å¶","復å¶å¤±æï¼è«æå復製"]),!1)}),Sc=Le(()=>{const e="uni.picker.",t=["done","cancel"];pc().add(Jl,fc(e,t,["Done","Cancel"]),!1),pc().add(ec,fc(e,t,["OK","Cancelar"]),!1),pc().add(Zl,fc(e,t,["OK","Annuler"]),!1),pc().add(Xl,fc(e,t,["宿","åæ¶"]),!1),pc().add(Kl,fc(e,t,["宿","åæ¶"]),!1)}),xc=Le(()=>{const e="uni.video.",t=["danmu","volume"];pc().add(Jl,fc(e,t,["Danmu","Volume"]),!1),pc().add(ec,fc(e,t,["Danmu","Volumen"]),!1),pc().add(Zl,fc(e,t,["Danmu","Le Volume"]),!1),pc().add(Xl,fc(e,t,["å¼¹å¹","é³é"]),!1),pc().add(Kl,fc(e,t,["å½å¹","é³é"]),!1)});function Cc(e){const t=new st;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,i=!1){t[i?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,i){t.emit(`${e}.${n}`,o,i)}}}const kc="invokeViewApi",Ac="invokeServiceApi";let Tc=1;const Ic=Object.create(null);function Ec(e,t){return e+"."+t}function Bc(e,t,n){t=Ec(e,t),Ic[t]||(Ic[t]=n)}function Pc({id:e,name:t,args:n},o){t=Ec(o,t);const i=t=>{e&&H_.publishHandler(kc+"."+e,t)},r=Ic[t];r?r(n,i):i({})}const Oc=c(Cc("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:i}=H_,r=n?Tc++:0;n&&o(Ac+"."+r,n,!0),i(Ac,{id:r,name:e,args:t})}}),Mc=Ye(!0);let Lc;function Dc(){Lc&&(clearTimeout(Lc),Lc=null)}let zc=0,Nc=0;function Rc(e){if(Dc(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];zc=t,Nc=n,Lc=setTimeout(function(){const t=new CustomEvent("longpress",{bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget});t.touches=e.touches,t.changedTouches=e.changedTouches,e.target.dispatchEvent(t)},350)}function jc(e){if(!Lc)return;if(1!==e.touches.length)return Dc();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-zc)>10||Math.abs(n-Nc)>10?Dc():void 0}function $c(e,t){const n=Number(e);return isNaN(n)?t:n}function Fc(){const e=__uniConfig.globalStyle||{},t=$c(e.rpxCalcMaxDeviceWidth,960),n=$c(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 Hc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Vc,Wc,Uc=["top","left","right","bottom"],qc={};function Qc(){return Wc="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 Yc(){if(Wc="string"==typeof Wc?Wc:Qc()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(s){}var o=document.createElement("div");i(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Uc.forEach(function(e){a(o,e)}),document.body.appendChild(o),r(),Vc=!0}else Uc.forEach(function(e){qc[e]=0});function i(e,t){var n=e.style;Object.keys(t).forEach(function(e){var o=t[e];n[e]=o})}function r(t){t?e.push(t):e.forEach(function(e){e()})}function a(e,n){var o=document.createElement("div"),a=document.createElement("div"),s=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Wc+"(safe-area-inset-"+n+")"};i(o,c),i(a,c),i(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),i(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(s),a.appendChild(l),e.appendChild(o),e.appendChild(a),r(function(){o.scrollTop=a.scrollTop=1e4;var e=o.scrollTop,i=a.scrollTop;function r(){this.scrollTop!==(this===o?e:i)&&(o.scrollTop=a.scrollTop=1e4,e=o.scrollTop,i=a.scrollTop,function(e){Xc.length||setTimeout(function(){var e={};Xc.forEach(function(t){e[t]=qc[t]}),Xc.length=0,Kc.forEach(function(t){t(e)})},0);Xc.push(e)}(n))}o.addEventListener("scroll",r,t),a.addEventListener("scroll",r,t)});var u=getComputedStyle(o);Object.defineProperty(qc,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Gc(e){return Vc||Yc(),qc[e]}var Xc=[];var Kc=[];const Jc=Hc({get support(){return 0!=("string"==typeof Wc?Wc:Qc()).length},get top(){return Gc("top")},get left(){return Gc("left")},get right(){return Gc("right")},get bottom(){return Gc("bottom")},onChange:function(e){Qc()&&(Vc||Yc(),"function"==typeof e&&Kc.push(e))},offChange:function(e){var t=Kc.indexOf(e);t>=0&&Kc.splice(t,1)}}),Zc=ls(()=>{},["prevent"]),eu=ls(e=>{},["stop"]);function tu(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function nu(){const e=tu(document.documentElement.style,"--window-top");return e?e+Jc.top:0}function ou(){const e=document.documentElement.style,t=nu(),n=tu(e,"--window-bottom"),o=tu(e,"--window-left"),i=tu(e,"--window-right"),r=tu(e,"--top-window-height");return{top:t,bottom:n?n+Jc.bottom:0,left:o?o+Jc.left:0,right:i?i+Jc.right:0,topWindowHeight:r||0}}function iu(e){const t=document.documentElement.style;Object.keys(e).forEach(n=>{t.setProperty(n,e[n])})}function ru(e){return iu(e)}function au(e){return Symbol(e)}function su(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function lu(e,t=!1){if(t)return function(e){if(!su(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,(e,t)=>fh(parseFloat(t))+"px")}(e);if(y(e)){const t=parseInt(e)||0;return su(e)?fh(t):t}return e}function cu(e){return e.$page}function uu(e){return 0===e.tagName.indexOf("UNI-")}const du="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",hu="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",pu="M21.781 7.844l-9.063 8.594 9.063 8.594q0.25 0.25 0.25 0.609t-0.25 0.578q-0.25 0.25-0.578 0.25t-0.578-0.25l-9.625-9.125q-0.156-0.125-0.203-0.297t-0.047-0.359q0-0.156 0.047-0.328t0.203-0.297l9.625-9.125q0.25-0.25 0.578-0.25t0.578 0.25q0.25 0.219 0.25 0.578t-0.25 0.578z";function fu(e,t="#000",n=27){return jr("svg",{width:n,height:n,viewBox:"0 0 32 32"},[jr("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function mu(){{const{$pageInstance:e}=Kr();return e&&xu(e.proxy)}}function gu(e){const t=je(e);if(t.$page)return xu(t);if(!t.$)return;{const{$pageInstance:e}=t.$;if(e)return xu(e.proxy)}const n=t.$.root.proxy;return n&&n.$page?xu(n):void 0}function yu(){const e=Pf(),t=e.length;if(t)return e[t-1]}function bu(){var e;const t=null==(e=yu())?void 0:e.$page;if(t)return t.meta}function vu(){const e=bu();return e?e.id:-1}function _u(){const e=yu();if(e)return e.$vm}const wu=["navigationBar","pullToRefresh"];function Su(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);wu.forEach(t=>{o[t]=c({},n[t],e[t])});const{navigationBar:i}=o;return i.titleText&&i.titleImage&&(i.titleText=""),o}function xu(e){var t,n;return(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id)}function Cu(e,t,n){if(y(e))n=t,t=e,e=_u();else if("number"==typeof e){const t=Pf().find(t=>cu(t).id===e);e=t?t.$vm:_u()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o<e.length;o++)n=e[o](t);return n})(o,n)}function ku(e){e.preventDefault()}let Au,Tu=0;function Iu({onPageScroll:e,onReachBottom:t,onReachBottomDistance:n}){let o=!1,i=!1,r=!0;const a=()=>{function a(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,r=o>0&&e>t&&o+t+n>=e,a=Math.abs(e-Tu)>n;return!r||i&&!a?(!r&&i&&(i=!1),!1):(Tu=e,i=!0,!0)})())return t&&t(),r=!1,setTimeout(function(){r=!0},350),!0}e&&e(window.pageYOffset),t&&r&&(a()||(Au=setTimeout(a,300))),o=!1};return function(){clearTimeout(Au),o||requestAnimationFrame(a),o=!0}}function Eu(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return Eu(e,t.slice(2));const n=t.split("/"),o=n.length;let i=0;for(;i<o&&".."===n[i];i++);n.splice(0,i),t=n.join("/");const r=e.length>0?e.split("/"):[];return r.splice(r.length-i-1,i+1),Me(r.concat(n).join("/"))}function Bu(e,t=!1){return t?__uniRoutes.find(t=>t.path===e||t.alias===e):__uniRoutes.find(t=>t.path===e)}function Pu(){Fc(),Ue(uu),window.addEventListener("touchstart",Rc,Mc),window.addEventListener("touchmove",jc,Mc),window.addEventListener("touchend",Dc,Mc),window.addEventListener("touchcancel",Dc,Mc)}class Ou{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(Fe(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&&Fe(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=zu(this.$el.querySelector(e));return t?Mu(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o<n.length;o++){const e=zu(n[o]);e&&t.push(Mu(e,!1))}return t}forceUpdate(e){"class"===e?this.$bindClass?(this.$el.__wxsClassChanged=!0,this.$vm.$forceUpdate()):this.updateWxsClass():"style"===e&&(this.$bindStyle?(this.$el.__wxsStyleChanged=!0,this.$vm.$forceUpdate()):this.updateWxsStyle())}updateWxsClass(){const{__wxsAddClass:e}=this.$el;e.length&&(this.$el.className=e.join(" "))}updateWxsStyle(){const{__wxsStyle:e}=this.$el;e&&this.$el.setAttribute("style",function(e){let t="";if(!e||y(e))return t;for(const n in e){const o=e[n],i=n.startsWith("--")?n:B(n);(y(o)||"number"==typeof o)&&(t+=`${i}:${o};`)}return t}(e))}setStyle(e){return this.$el&&e?(y(e)&&(e=V(e)),x(e)&&(this.$el.__wxsStyle=e,this.forceUpdate("style")),this):this}addClass(e){if(!this.$el||!e)return this;const t=this.$el.__wxsAddClass||(this.$el.__wxsAddClass=[]);return-1===t.indexOf(e)&&(t.push(e),this.forceUpdate("class")),this}removeClass(e){if(!this.$el||!e)return this;const{__wxsAddClass:t}=this.$el;if(t){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];g(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&H_.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 Mu(e,t=!0){if(t&&e&&(e=$e(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Ou(e)),e.$el.__wxsComponentDescriptor}function Lu(e,t){return Mu(e,t)}function Du(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Lu(n.proxy,!1)}));const i=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=$e(t);if(!o)return!1;const i=o.$.type;return!(!i.$wxs&&!i.$renderjs)&&o}(t,n,o);if(i)return[e,Lu(i,!1)]}}function zu(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Nu(e,t=!1){const{type:n,timeStamp:o,target:i,currentTarget:r}=e;let a,s;a=Ge(t?i:function(e){for(;!uu(e);)e=e.parentElement;return e}(i)),s=Ge(r);const l={type:n,timeStamp:o,target:a,detail:{},currentTarget:s};return e instanceof CustomEvent&&x(e.detail)&&(l.detail=e.detail),e._stopped&&(l._stopped=!0),e.type.startsWith("touch")&&(l.touches=e.touches,l.changedTouches=e.changedTouches),function(e,t){c(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(l,e),l}function Ru(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function ju(e,t){const n=[];for(let o=0;o<e.length;o++){const{identifier:i,pageX:r,pageY:a,clientX:s,clientY:l,force:c}=e[o];n.push({identifier:i,pageX:r,pageY:a-t,clientX:s,clientY:l-t,force:c||0})}return n}const $u=Object.defineProperty({__proto__:null,$nne:function(e,t,n){const{currentTarget:o}=e;if(!(e instanceof Event&&o instanceof HTMLElement))return[e];const i=!uu(o);if(i)return Du(e,t,n,!1)||[e];const r=Nu(e,i);if("click"===e.type)!function(e,t){const{x:n,y:o}=t,i=nu();e.detail={x:n,y:o-i},e.touches=e.changedTouches=[Ru(t,i)]}(r,e);else if((e=>0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=nu();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Ru(t,n)]}(r,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=nu();r.touches=ju(e.touches,t),r.changedTouches=ju(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach(t=>{Object.defineProperty(r,t,{get:()=>e[t]})})}return Du(r,t,n)||[r]},createNativeEvent:Nu},Symbol.toStringTag,{value:"Module"});function Fu(e){!function(e){const t=e.globalProperties;c(t,$u),t.$gcd=Lu}(e._context.config)}let Hu=1;function Vu(e){return(e||vu())+"."+kc}const Wu=c(Cc("view"),{invokeOnCallback:(e,t)=>V_.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:i,publishHandler:r}=V_,a=o?Hu++:0;o&&i(kc+"."+a,o,!0),r(Vu(n),{id:a,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:i,unsubscribe:r,publishHandler:a}=V_,s=Hu++,l=kc+"."+s;return i(l,n),a(Vu(o),{id:s,name:e,args:t},o),()=>{r(l)}}});function Uu(e){Cu(yu(),me,e),V_.invokeOnCallback("onWindowResize",e)}function qu(e){const t=yu();Cu(Uy(),ie,e),Cu(t,ie)}function Qu(){Cu(Uy(),re),Cu(yu(),re)}const Yu=[ye,ve];function Gu(){Yu.forEach(e=>V_.subscribe(e,function(e){return(t,n)=>{Cu(parseInt(n),e,t)}}(e)))}function Xu(){!function(){const{on:e}=V_;e(me,Uu),e(Be,qu),e(Pe,Qu)}(),Gu()}function Ku(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new tt(this.$page.id)),e.eventChannel}}function Ju(e){e._context.config.globalProperties.getOpenerEventChannel=Ku}function Zu(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function ed(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,(e,t)=>`${fh(parseFloat(t))}px`):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function td(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,i=t.actions.length;function r(){const t=o[n],a=t.option.transition,s=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],i=["width","height","left","right","top","bottom"],r=e.animates,a=e.option,s=a.transition,l={},c=[];return r.forEach(e=>{let r=e.type,a=[...e.args];if(t.concat(n).includes(r))r.startsWith("rotate")||r.startsWith("skew")?a=a.map(e=>parseFloat(e)+"deg"):r.startsWith("translate")&&(a=a.map(ed)),n.indexOf(r)>=0&&(a.length=1),c.push(`${r}(${a.join(",")})`);else if(o.concat(i).includes(a[0])){r=a[0];const e=a[1];l[r]=i.includes(r)?ed(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)} ${s.duration}ms ${s.timingFunction} ${s.delay}ms`).join(","),l.transformOrigin=l.webkitTransformOrigin=a.transformOrigin,l}(t);Object.keys(s).forEach(t=>{e.$el.style[t]=s[t]}),n+=1,n<i&&setTimeout(r,a.duration+a.delay)}setTimeout(()=>{r()},0)}const nd={props:["animation"],watch:{animation:{deep:!0,handler(){td(this)}}},mounted(){td(this)}},od=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(nd),id(e)},id=e=>(e.__reserved=!0,e.compatConfig={MODE:3},ti(e));function rd(e){return e.__wwe=!0,e}function ad(e,t){return(n,o,i)=>{e.value&&t(n,function(e,t,n,o){let i;return i=Ge(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:i,currentTarget:i,detail:o}}(n,o,e.value,i||{}))}}const sd={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function ld(e){const t=Nn(!1);let n,o,i=!1;function r(){requestAnimationFrame(()=>{clearTimeout(o),o=setTimeout(()=>{t.value=!1},parseInt(e.hoverStayTime))})}function a(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),i=!0,n=setTimeout(()=>{t.value=!0,i||r()},parseInt(e.hoverStartTime)))}function s(){i=!1,t.value&&r()}function l(){s(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:rd(function(e){e.touches.length>1||a(e)}),onMousedown:rd(function(e){i||(a(e),window.addEventListener("mouseup",l))}),onTouchend:rd(function(){s()}),onMouseup:rd(function(){i&&l()}),onTouchcancel:rd(function(){i=!1,t.value=!1,clearTimeout(n)})}}}function cd(e,t){return y(t)&&(t=[t]),t.reduce((t,n)=>(e[n]&&(t[n]=!0),t),Object.create(null))}const ud=au("uf"),dd=au("ul");function hd(e,t){pd(e.id,t),No(()=>e.id,(e,n)=>{fd(n,t,!0),pd(e,t,!0)}),ki(()=>{fd(e.id,t)})}function pd(e,t,n){const o=mu();n&&!e||x(t)&&Object.keys(t).forEach(i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&H_.on(`uni-${i}-${o}-${e}`,t[i]):0===i.indexOf("uni-")?H_.on(i,t[i]):e&&H_.on(`uni-${i}-${o}-${e}`,t[i])})}function fd(e,t,n){const o=mu();n&&!e||x(t)&&Object.keys(t).forEach(i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&H_.off(`uni-${i}-${o}-${e}`,t[i]):0===i.indexOf("uni-")?H_.off(i,t[i]):e&&H_.off(`uni-${i}-${o}-${e}`,t[i])})}const md=od({name:"Button",props:{id:{type:String,default:""},hoverClass:{type:String,default:"button-hover"},hoverStartTime:{type:[Number,String],default:20},hoverStayTime:{type:[Number,String],default:70},hoverStopPropagation:{type:Boolean,default:!1},disabled:{type:[Boolean,String],default:!1},formType:{type:String,default:""},openType:{type:String,default:""},loading:{type:[Boolean,String],default:!1},plain:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=Nn(null),o=tr(ud,!1),{hovering:i,binding:r}=ld(e),a=rd((t,i)=>{if(e.disabled)return t.stopImmediatePropagation();i&&n.value.click();const r=e.formType;if(r){if(!o)return;"submit"===r?o.submit(t):"reset"===r&&o.reset(t)}else;}),s=tr(dd,!1);return s&&(s.addHandler(a),Ci(()=>{s.removeHandler(a)})),hd(e,{"label-click":a}),()=>{const o=e.hoverClass,s=cd(e,"disabled"),l=cd(e,"loading"),c=cd(e,"plain"),u=o&&"none"!==o;return jr("uni-button",qr({ref:n,onClick:a,id:e.id,class:u&&i.value?o:""},u&&r,s,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),gd=au("upm");function yd(){return tr(gd)}function bd(e){const t=function(e){return wn(function(e){{const{enablePullDownRefresh:t,navigationBar:n}=e;if(t){const t=function(e){return e.offset&&(e.offset=lu(e.offset)),e.height&&(e.height=lu(e.height)),e.range&&(e.range=lu(e.range)),e}(c({support:!0,color:"#2BD009",style:"circle",height:70,range:150,offset:0},e.pullToRefresh)),{type:o,style:i}=n;"custom"!==i&&"transparent"!==o&&(t.offset+=44+Jc.top),e.pullToRefresh=t}}{const{navigationBar:t}=e,{titleSize:n,titleColor:o,backgroundColor:i}=t;t.titleText=t.titleText||"",t.type=t.type||"default",t.titleSize=n||"16px",t.titleColor=o||"#000000",t.backgroundColor=i||"#F8F8F8"}if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Pf().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(Su(ql().meta,e)))))}(e);return er(gd,t),t}function vd(){return ql()}function _d(){return history.state&&history.state.__id__||1}const wd=["original","compressed"],Sd=["album","camera"],xd=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function Cd(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function kd(e,t){return!p(e)||0===e.length||e.find(e=>-1===t.indexOf(e))?t:e}function Ad(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let Td=1;const Id={};function Ed(e,t,n,o=!1){return Id[e]={name:t,keepAlive:o,callback:n},e}function Bd(e,t,n){if("number"==typeof e){const o=Id[e];if(o)return o.keepAlive||delete Id[e],o.callback(t,n)}return t}function Pd(e){for(const t in Id)if(Id[t].name===e)return!0;return!1}const Od="success",Md="fail",Ld="complete";function Dd(e,t={},{beforeAll:n,beforeSuccess:o}={}){x(t)||(t={});const{success:i,fail:r,complete:a}=function(e){const t={};for(const n in e){const o=e[n];g(o)&&(t[n]=Ad(o),delete e[n])}return t}(t),s=g(i),l=g(r),c=g(a),u=Td++;return Ed(u,e,u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),g(n)&&n(u),u.errMsg===e+":ok"?(g(o)&&o(u,t),s&&i(u)):l&&r(u),c&&a(u)}),u}const zd="success",Nd="fail",Rd="complete",jd={},$d={};function Fd(e,t){return function(n){return e(n,t)||n}}function Hd(e,t,n){let o=!1;for(let i=0;i<e.length;i++){const r=e[i];if(o)o=Promise.resolve(Fd(r,n));else{const e=r(t,n);if(_(e)&&(o=Promise.resolve(e)),!1===e)return{then(){},catch(){}}}}return o||{then:e=>e(t),catch(){}}}function Vd(e,t={}){return[zd,Nd,Rd].forEach(n=>{const o=e[n];if(!p(o))return;const i=t[n];t[n]=function(e){Hd(o,e,t).then(e=>g(i)&&i(e)||e)}}),t}function Wd(e,t){const n=[];p(jd.returnValue)&&n.push(...jd.returnValue);const o=$d[e];return o&&p(o.returnValue)&&n.push(...o.returnValue),n.forEach(e=>{t=e(t)||t}),t}function Ud(e){const t=Object.create(null);Object.keys(jd).forEach(e=>{"returnValue"!==e&&(t[e]=jd[e].slice())});const n=$d[e];return n&&Object.keys(n).forEach(e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))}),t}function qd(e,t,n,o){const i=Ud(e);if(i&&Object.keys(i).length){if(p(i.invoke)){return Hd(i.invoke,n).then(n=>t(Vd(Ud(e),n),...o))}return t(Vd(i,n),...o)}return t(n,...o)}function Qd(e,t){return(n={},...o)=>function(e){return!(!x(e)||![Od,Md,Ld].find(t=>g(e[t])))}(n)?Wd(e,qd(e,t,c({},n),o)):Wd(e,new Promise((i,r)=>{qd(e,t,c({},n,{success:i,fail:r}),o)}))}function Yd(e,t,n,o={}){const i=t+":fail";let r="";return r=n?0===n.indexOf(i)?n:i+" "+n:i,delete o.errCode,Bd(e,c({errMsg:r},o))}function Gd(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(y(e))return e}const i=function(e,t){const n=e[0];if(!t||!t.formatArgs||!x(t.formatArgs)&&x(n))return;const o=t.formatArgs,i=Object.keys(o);for(let r=0;r<i.length;r++){const t=i[r],a=o[t];if(g(a)){const o=a(e[0][t],n);if(y(o))return o}else h(n,t)||(n[t]=a)}}(t,o);if(i)return i}function Xd(e){if(!g(e))throw new Error('Invalid args: type check failed for args "callback". Expected Function')}function Kd(e,t,n){return o=>{Xd(o);const i=Gd(0,[o],0,n);if(i)throw new Error(i);const r=!Pd(e);!function(e,t){Ed(Td++,e,t,!0)}(e,o),r&&(!function(e){V_.on("api."+e,t=>{for(const n in Id){const o=Id[n];o.name===e&&o.callback(t)}})}(e),t())}}function Jd(e,t,n){return o=>{Xd(o);const i=Gd(0,[o],0,n);if(i)throw new Error(i);!function(e,t){for(const n in Id){const o=Id[n];o.callback===t&&o.name===e&&delete Id[n]}}(e=e.replace("off","on"),o);Pd(e)||(!function(e){V_.off("api."+e)}(e),t())}}function Zd(e,t,n,o){return n=>{const i=Dd(e,n,o),r=Gd(0,[n],0,o);return r?Yd(i,e,r):t(n,{resolve:t=>function(e,t,n){return Bd(e,c(n||{},{errMsg:t+":ok"}))}(i,e,t),reject:(t,n)=>Yd(i,e,function(e){return!e||y(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function eh(e,t,n){return Kd(e,t,n)}function th(e,t,n){return Jd(e,t,n)}function nh(e,t,n,o){return Qd(e,Zd(e,t,0,o))}function oh(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Gd(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function ih(e,t,n,o){return Qd(e,function(e,t,n,o){return Zd(e,t,0,o)}(e,t,0,o))}function rh(e){return(t,{reject:n})=>n(function(e){return`method 'uni.${e}' not supported`}(e))}let ah=!1,sh=0,lh=0,ch=960,uh=375,dh=750;function hh(){let e,t,n;{const{windowWidth:o,pixelRatio:i,platform:r}=function(){const e=om(),t=am(rm(e,im(e)));return{platform:Jf?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();e=o,t=i,n=r}sh=e,lh=t,ah="ios"===n}function ph(e,t){const n=Number(e);return isNaN(n)?t:n}const fh=oh(0,(e,t)=>{if(0===sh&&(hh(),function(){const e=__uniConfig.globalStyle||{};ch=ph(e.rpxCalcMaxDeviceWidth,960),uh=ph(e.rpxCalcBaseDeviceWidth,375),dh=ph(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||sh;n=e===dh||n<=ch?n:uh;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==lh&&ah?.5:1),e<0?-o:o});const mh=new class{constructor(){this.$emitter=new st}on(e,t){return this.$emitter.on(e,t)}once(e,t){return this.$emitter.once(e,t)}off(e,t){e?this.$emitter.off(e,t):this.$emitter.e={}}emit(e,...t){this.$emitter.emit(e,...t)}},gh=oh(0,(e,t)=>(mh.on(e,t),()=>mh.off(e,t))),yh=oh(0,(e,t)=>(mh.once(e,t),()=>mh.off(e,t))),bh=oh(0,(e,t)=>{p(e)||(e=e?[e]:[]),e.forEach(e=>{mh.off(e,t)})}),vh=oh(0,(e,...t)=>{mh.emit(e,...t)}),_h=[.5,.8,1,1.25,1.5,2];class wh{constructor(e,t){this.id=e,this.pageId=t}play(){sm(this.id,this.pageId,"play")}pause(){sm(this.id,this.pageId,"pause")}stop(){sm(this.id,this.pageId,"stop")}seek(e){sm(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){sm(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~_h.indexOf(e)||(e=1),sm(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){sm(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){sm(this.id,this.pageId,"exitFullScreen")}showStatusBar(){sm(this.id,this.pageId,"showStatusBar")}hideStatusBar(){sm(this.id,this.pageId,"hideStatusBar")}}const Sh=oh(0,(e,t)=>new wh(e,gu(t||_u()))),xh=(e,t,n,o)=>{!function(e,t,n,o,i){V_.invokeViewMethod("map."+e,{type:n,data:o},t,i)}(e,t,n,o,e=>{o&&((e,t)=>{const n=t.errMsg||"";new RegExp("\\:\\s*fail").test(n)?e.fail&&e.fail(t):e.success&&e.success(t),e.complete&&e.complete(t)})(o,e)})};function Ch(e,t){return function(n,o){n?o[e]=Math.round(n):void 0!==t&&(o[e]=t)}}const kh=Ch("width"),Ah=Ch("height"),Th={PNG:"png",JPG:"jpg",JPEG:"jpg"},Ih={formatArgs:{x:Ch("x",0),y:Ch("y",0),width:kh,height:Ah,destWidth:Ch("destWidth"),destHeight:Ch("destHeight"),fileType(e,t){e=(e||"").toUpperCase();let n=Th[e];n||(n=Th.PNG),t.fileType=n},quality(e,t){t.quality=e&&e>0&&e<1?e:1}}};function Eh(e,t,n,o,i){V_.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,e=>{i&&i(e)})}var Bh=["scale","rotate","translate","setTransform","transform"],Ph=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],Oh=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const Mh={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",transparent:"#00000000"};function Lh(e){let t=null;if(null!=(t=/^#([0-9|A-F|a-f]{6})$/.exec(e=e||"#000000"))){return[parseInt(t[1].slice(0,2),16),parseInt(t[1].slice(2,4),16),parseInt(t[1].slice(4),16),255]}if(null!=(t=/^#([0-9|A-F|a-f]{3})$/.exec(e))){let e=t[1].slice(0,1),n=t[1].slice(1,2),o=t[1].slice(2,3);return e=parseInt(e+e,16),n=parseInt(n+n,16),o=parseInt(o+o,16),[e,n,o,255]}if(null!=(t=/^rgb\((.+)\)$/.exec(e)))return t[1].split(",").map(function(e){return Math.min(255,parseInt(e.trim()))}).concat(255);if(null!=(t=/^rgba\((.+)\)$/.exec(e)))return t[1].split(",").map(function(e,t){return 3===t?Math.floor(255*parseFloat(e.trim())):Math.min(255,parseInt(e.trim()))});var n=e.toLowerCase();if(h(Mh,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(Mh[n]);const e=parseInt(t[1].slice(0,2),16),o=parseInt(t[1].slice(2,4),16),i=parseInt(t[1].slice(4,6),16);let r=parseInt(t[1].slice(6,8),16);return r=r>=0?r:255,[e,o,i,r]}return console.error("unsupported color:"+e),[0,0,0,255]}class Dh{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,Lh(t)])}}class zh{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class Nh{constructor(e){this.width=e}}class Rh{constructor(e,t){this.id=e,this.pageId=t,this.actions=[],this.path=[],this.subpath=[],this.drawingState=[],this.state={lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}setFillStyle(e){console.log("initCanvasContextProperty implemented.")}setStrokeStyle(e){console.log("initCanvasContextProperty implemented.")}setShadow(e,t,n,o){console.log("initCanvasContextProperty implemented.")}addColorStop(e,t){console.log("initCanvasContextProperty implemented.")}setLineWidth(e){console.log("initCanvasContextProperty implemented.")}setLineCap(e){console.log("initCanvasContextProperty implemented.")}setLineJoin(e){console.log("initCanvasContextProperty implemented.")}setLineDash(e,t){console.log("initCanvasContextProperty implemented.")}setMiterLimit(e){console.log("initCanvasContextProperty implemented.")}fillRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}strokeRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}clearRect(e,t,n,o){console.log("initCanvasContextProperty implemented.")}fill(){console.log("initCanvasContextProperty implemented.")}stroke(){console.log("initCanvasContextProperty implemented.")}scale(e,t){console.log("initCanvasContextProperty implemented.")}rotate(e){console.log("initCanvasContextProperty implemented.")}translate(e,t){console.log("initCanvasContextProperty implemented.")}setFontSize(e){console.log("initCanvasContextProperty implemented.")}fillText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTextAlign(e){console.log("initCanvasContextProperty implemented.")}setTextBaseline(e){console.log("initCanvasContextProperty implemented.")}drawImage(e,t,n,o,i,r,a,s,l){console.log("initCanvasContextProperty implemented.")}setGlobalAlpha(e){console.log("initCanvasContextProperty implemented.")}strokeText(e,t,n,o){console.log("initCanvasContextProperty implemented.")}setTransform(e,t,n,o,i,r){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],Eh(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new Dh("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new Dh("radial",[e,t,n])}createPattern(e,t){if(void 0===t)console.error("Failed to execute 'createPattern' on 'CanvasContext': 2 arguments required, but only 1 present.");else{if(!(["repeat","repeat-x","repeat-y","no-repeat"].indexOf(t)<0))return new zh(e,t);console.error("Failed to execute 'createPattern' on 'CanvasContext': The provided type ('"+t+"') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.")}}measureText(e,t){let n=0;return n=function(e,t){const n=document.createElement("canvas").getContext("2d");return n.font=t,n.measureText(e).width||0}(e,this.state.font),new Nh(n)}save(){this.actions.push({method:"save",data:[]}),this.drawingState.push(this.state)}restore(){this.actions.push({method:"restore",data:[]}),this.state=this.drawingState.pop()||{lineDash:[0,0],shadowOffsetX:0,shadowOffsetY:0,shadowBlur:0,shadowColor:[0,0,0,0],font:"10px sans-serif",fontSize:10,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"}}beginPath(){this.path=[],this.subpath=[],this.path.push({method:"beginPath",data:[]})}moveTo(e,t){this.path.push({method:"moveTo",data:[e,t]}),this.subpath=[[e,t]]}lineTo(e,t){0===this.path.length&&0===this.subpath.length?this.path.push({method:"moveTo",data:[e,t]}):this.path.push({method:"lineTo",data:[e,t]}),this.subpath.push([e,t])}quadraticCurveTo(e,t,n,o){this.path.push({method:"quadraticCurveTo",data:[e,t,n,o]}),this.subpath.push([n,o])}bezierCurveTo(e,t,n,o,i,r){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,i,r]}),this.subpath.push([i,r])}arc(e,t,n,o,i,r=!1){this.path.push({method:"arc",data:[e,t,n,o,i,r]}),this.subpath.push([e,t])}rect(e,t,n,o){this.path.push({method:"rect",data:[e,t,n,o]}),this.subpath=[[e,t]]}arcTo(e,t,n,o,i){this.path.push({method:"arcTo",data:[e,t,n,o,i]}),this.subpath.push([n,o])}clip(){this.actions.push({method:"clip",data:[...this.path]})}closePath(){this.path.push({method:"closePath",data:[]}),this.subpath.length&&(this.subpath=[this.subpath.shift()])}clearActions(){this.actions=[],this.path=[],this.subpath=[]}getActions(){var e=[...this.actions];return this.clearActions(),e}set lineDashOffset(e){this.actions.push({method:"setLineDashOffset",data:[e]})}set globalCompositeOperation(e){this.actions.push({method:"setGlobalCompositeOperation",data:[e]})}set shadowBlur(e){this.actions.push({method:"setShadowBlur",data:[e]})}set shadowColor(e){this.actions.push({method:"setShadowColor",data:[e]})}set shadowOffsetX(e){this.actions.push({method:"setShadowOffsetX",data:[e]})}set shadowOffsetY(e){this.actions.push({method:"setShadowOffsetY",data:[e]})}set font(e){var t=this;this.state.font=e;var n=e.match(/^(([\w\-]+\s)*)(\d+\.?\d*r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),i=parseFloat(n[3]),r=n[7],a=[];o.forEach(function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(a.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal","lighter","bolder"].indexOf(e)>-1||/^\d+$/.test(e)?(a.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(a.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&s()}),1===o.length&&s(),o=a.map(function(e){return e.data[0]}).join(" "),this.state.fontSize=i,this.state.fontFamily=r,this.actions.push({method:"setFont",data:[`${o} ${i}px ${r}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function s(){a.push({method:"setFontWeight",data:["normal"]}),t.state.fontWeight="normal"}}get font(){return this.state.font}set fillStyle(e){this.setFillStyle(e)}set strokeStyle(e){this.setStrokeStyle(e)}set globalAlpha(e){e=Math.floor(255*parseFloat(e)),this.actions.push({method:"setGlobalAlpha",data:[e]})}set textAlign(e){this.actions.push({method:"setTextAlign",data:[e]})}set lineCap(e){this.actions.push({method:"setLineCap",data:[e]})}set lineJoin(e){this.actions.push({method:"setLineJoin",data:[e]})}set lineWidth(e){this.actions.push({method:"setLineWidth",data:[e]})}set miterLimit(e){this.actions.push({method:"setMiterLimit",data:[e]})}set textBaseline(e){this.actions.push({method:"setTextBaseline",data:[e]})}}const jh=Le(()=>{[...Bh,...Ph].forEach(function(e){Rh.prototype[e]=function(e){switch(e){case"fill":case"stroke":return function(){this.actions.push({method:e+"Path",data:[...this.path]})};case"fillRect":return function(e,t,n,o){this.actions.push({method:"fillPath",data:[{method:"rect",data:[e,t,n,o]}]})};case"strokeRect":return function(e,t,n,o){this.actions.push({method:"strokePath",data:[{method:"rect",data:[e,t,n,o]}]})};case"fillText":case"strokeText":return function(t,n,o,i){var r=[t.toString(),n,o];"number"==typeof i&&r.push(i),this.actions.push({method:e,data:r})};case"drawImage":return function(t,n,o,i,r,a,s,l,c){var u;function d(e){return"number"==typeof e}void 0===c&&(a=n,s=o,l=i,c=r,n=void 0,o=void 0,i=void 0,r=void 0),u=d(n)&&d(o)&&d(i)&&d(r)?[t,a,s,l,c,n,o,i,r]:d(l)&&d(c)?[t,a,s,l,c]:[t,a,s],this.actions.push({method:e,data:u})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)}),Oh.forEach(function(e){Rh.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",Lh(t)]}):this.actions.push({method:e,data:[t.type,t.data,t.colorStop]})};case"setGlobalAlpha":return function(t){t=Math.floor(255*parseFloat(t)),this.actions.push({method:e,data:[t]})};case"setShadow":return function(t,n,o,i){i=Lh(i),this.actions.push({method:e,data:[t,n,o,i]}),this.state.shadowBlur=o,this.state.shadowColor=i,this.state.shadowOffsetX=t,this.state.shadowOffsetY=n};case"setLineDash":return function(t,n){t=t||[0,0],n=n||0,this.actions.push({method:e,data:[t,n]}),this.state.lineDash=t};case"setFontSize":return function(t){this.state.font=this.state.font.replace(/\d+\.?\d*px/,t+"px"),this.state.fontSize=t,this.actions.push({method:e,data:[t]})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)})}),$h=oh(0,(e,t)=>{if(jh(),t)return new Rh(e,gu(t));const n=gu(_u());if(n)return new Rh(e,n);V_.emit(se,"createCanvasContext:fail")}),Fh=ih("canvasToTempFilePath",({x:e=0,y:t=0,width:n,height:o,destWidth:i,destHeight:r,canvasId:a,fileType:s,quality:l},{resolve:c,reject:u})=>{var d=gu(_u());if(!d)return void u();Eh(a,d,"toTempFilePath",{x:e,y:t,width:n,height:o,destWidth:i,destHeight:r,fileType:s,quality:l,dirname:"/canvas"},e=>{e.errMsg&&-1!==e.errMsg.indexOf("fail")?u("",e):c(e)})},0,Ih),Hh={thresholds:[0],initialRatio:0,observeAll:!1},Vh=["top","right","bottom","left"];let Wh=1;function Uh(e={}){return Vh.map(t=>`${Number(e[t])||0}px`).join(" ")}class qh{constructor(e,t){this._pageId=gu(e),this._component=e,this._options=c({},Hh,t)}relativeTo(e,t){return this._options.relativeToSelector=e,this._options.rootMargin=Uh(t),this}relativeToViewport(e){return this._options.relativeToSelector=void 0,this._options.rootMargin=Uh(e),this}observe(e,t){g(t)&&(this._options.selector=e,this._reqId=Wh++,function({reqId:e,component:t,options:n,callback:o}){const i=Qf(t);(i.__io||(i.__io={}))[e]=function(e,t,n){Zp();const o=t.relativeToSelector?e.querySelector(t.relativeToSelector):null,i=new IntersectionObserver(e=>{e.forEach(e=>{n({intersectionRatio:tf(e),intersectionRect:ef(e.intersectionRect),boundingClientRect:ef(e.boundingClientRect),relativeRect:ef(e.rootBounds),time:Date.now(),dataset:qe(e.target),id:e.target.id})})},{root:o,rootMargin:t.rootMargin,threshold:t.thresholds});if(t.observeAll){i.USE_MUTATION_OBSERVER=!0;const n=e.querySelectorAll(t.selector);for(let e=0;e<n.length;e++)i.observe(n[e])}else{i.USE_MUTATION_OBSERVER=!1;const n=e.querySelector(t.selector);n?i.observe(n):console.warn(`Node ${t.selector} is not found. Intersection observer will not trigger.`)}return i}(i,n,o)}({reqId:this._reqId,component:this._component,options:this._options,callback:t},this._pageId))}disconnect(){this._reqId&&function({reqId:e,component:t}){const n=Qf(t),o=n.__io&&n.__io[e];o&&(o.disconnect(),delete n.__io[e])}({reqId:this._reqId,component:this._component},this._pageId)}}const Qh=oh(0,(e,t)=>((e=je(e))&&!gu(e)&&(t=e,e=null),new qh(e||_u(),t)));let Yh=0,Gh={};function Xh(e,t,n,o){const i={options:o},r=o&&("success"in o||"fail"in o||"complete"in o);if(r){const e=String(Yh++);i.callbackId=e,Gh[e]=o}V_.invokeViewMethod(`editor.${e}`,{type:n,data:i},t,({callbackId:e,data:t})=>{r&&(!function(e,t){e=e||{},y(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?g(e.success)&&e.success(t):g(e.fail)&&e.fail(t),g(e.complete)&&e.complete(t)}(Gh[e],t),delete Gh[e])})}const Kh={canvas:Rh,map:class{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){xh(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){xh(this.id,this.pageId,"moveToLocation",e)}getScale(e){xh(this.id,this.pageId,"getScale",e)}getRegion(e){xh(this.id,this.pageId,"getRegion",e)}includePoints(e){xh(this.id,this.pageId,"includePoints",e)}translateMarker(e){xh(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){xh(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){xh(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){xh(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){xh(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){xh(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){xh(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){xh(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){xh(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){xh(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){xh(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){xh(this.id,this.pageId,"openMapApp",e)}on(e,t){xh(this.id,this.pageId,"on",{name:e,callback:t})}},video:wh,editor:class{constructor(e,t){this.id=e,this.pageId=t}format(e,t){this._exec("format",{name:e,value:t})}insertDivider(){this._exec("insertDivider")}insertImage(e){this._exec("insertImage",e)}insertText(e){this._exec("insertText",e)}setContents(e){this._exec("setContents",e)}getContents(e){this._exec("getContents",e)}clear(e){this._exec("clear",e)}removeFormat(e){this._exec("removeFormat",e)}undo(e){this._exec("undo",e)}redo(e){this._exec("redo",e)}blur(e){this._exec("blur",e)}getSelectionText(e){this._exec("getSelectionText",e)}scrollIntoView(e){this._exec("scrollIntoView",e)}_exec(e,t){Xh(this.id,this.pageId,e,t)}}};function Jh(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,i=Kh[n];e.context=new i(t,o),delete e.contextInfo}}class Zh{constructor(e,t,n,o){this._selectorQuery=e,this._component=t,this._selector=n,this._single=o}boundingClientRect(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,rect:!0,size:!0},e),this._selectorQuery}fields(e,t){return this._selectorQuery._push(this._selector,this._component,this._single,e,t),this._selectorQuery}scrollOffset(e){return this._selectorQuery._push(this._selector,this._component,this._single,{id:!0,dataset:!0,scrollOffset:!0},e),this._selectorQuery}context(e){return this._selectorQuery._push(this._selector,this._component,this._single,{context:!0},e),this._selectorQuery}node(e){return this._selectorQuery._push(this._selector,this._component,this._single,{node:!0},e),this._selectorQuery}}class ep{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return function(e,t,n){const o=[];t.forEach(({component:t,selector:n,single:i,fields:r})=>{null===t?o.push(function(e){const t={};e.id&&(t.id="");e.dataset&&(t.dataset={});e.rect&&(t.left=0,t.right=0,t.top=0,t.bottom=0);e.size&&(t.width=document.documentElement.clientWidth,t.height=document.documentElement.clientHeight);if(e.scrollOffset){const e=document.documentElement,n=document.body;t.scrollLeft=e.scrollLeft||n.scrollLeft||0,t.scrollTop=e.scrollTop||n.scrollTop||0,t.scrollHeight=e.scrollHeight||n.scrollHeight||0,t.scrollWidth=e.scrollWidth||n.scrollWidth||0}return t}(r)):o.push(function(e,t,n,o,i){const r=function(e,t){if(!e)return t.$el;return e.$el}(t,e),a=r.parentElement;if(!a)return o?null:[];const{nodeType:s}=r,l=3===s||8===s;if(o){const e=l?a.querySelector(n):cm(r,n)?r:r.querySelector(n);return e?lm(e,i):null}{let e=[];const t=(l?a:r).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,t=>{e.push(lm(t,i))}),!l&&cm(r,n)&&e.unshift(lm(r,i)),e}}(e,t,n,i,r))}),n(o)}(this._page,this._queue,t=>{const n=this._queueCb;t.forEach((e,t)=>{p(e)?e.forEach(Jh):Jh(e);const o=n[t];g(o)&&o.call(this,e)}),g(e)&&e.call(this,t)}),this._nodesRef}in(e){return this._component=je(e),this}select(e){return this._nodesRef=new Zh(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new Zh(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new Zh(this,null,"",!0)}_push(e,t,n,o,i){this._queue.push({component:t,selector:e,single:n,fields:o}),this._queueCb.push(i)}}const tp=oh(0,e=>((e=je(e))&&!gu(e)&&(e=null),new ep(e||_u()))),np={formatArgs:{}},op={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};class ip{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=c({},op,e)}_getOption(e){const t={transition:c({},this.option,e),transformOrigin:""};return t.transformOrigin=t.transition.transformOrigin,delete t.transition.transformOrigin,t}_pushAnimates(e,t){this.currentStepAnimates.push({type:e,args:t})}_converType(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}_getValue(e){return"number"==typeof e?`${e}px`:e}export(){const e=this.actions;return this.actions=[],{actions:e}}step(e){return this.currentStepAnimates.forEach(e=>{"style"!==e.type?this.currentTransform[e.type]=e:this.currentTransform[`${e.type}.${e.args[0]}`]=e}),this.actions.push({animates:Object.values(this.currentTransform),option:this._getOption(e)}),this.currentStepAnimates=[],this}}const rp=Le(()=>{const e=["opacity","backgroundColor"],t=["width","height","left","right","top","bottom"];["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"].concat(e,t).forEach(n=>{ip.prototype[n]=function(...o){return e.concat(t).includes(n)?this._pushAnimates("style",[this._converType(n),t.includes(n)?this._getValue(o[0]):o[0]]):this._pushAnimates(n,o),this}})}),ap=oh(0,e=>(rp(),new ip(e)),0,np),sp=eh("onWindowResize",()=>{}),lp=th("offWindowResize",()=>{}),cp=oh(0,()=>{const e=Uy();return e&&e.$vm?e.$vm.$locale:pc().getLocale()}),up={[ue]:[],[ce]:[],[se]:[],[ie]:[],[re]:[]};const dp=oh(0,()=>c({},mm)),hp={formatArgs:{showToast:!0},beforeInvoke(){wc()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=pc(),o=n("uni.setClipboardData.success");o&&Xv({title:o,icon:"success",mask:!1})}},pp=(Boolean,{formatArgs:{filePath(e,t){t.filePath=Gf(e)}}}),fp=["wgs84","gcj02"],mp={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===fp.indexOf(e)?t.type=fp[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},gp=(Boolean,{formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=kd(e,wd)},sourceType(e,t){t.sourceType=kd(e,Sd)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}}),yp={formatArgs:{sourceType(e,t){t.sourceType=kd(e,Sd)},compressed:!0,maxDuration:60,camera:"back",extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},bp=(Boolean,["all","image","video"]),vp={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=kd(e,Sd)},type(e,t){t.type=Cd(e,bp)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||("all"!==t.type&&t.type?t.extension=["*"]:t.extension=[""])}}},_p={formatArgs:{src(e,t){t.src=Gf(e)}}},wp={formatArgs:{urls(e,t){t.urls=e.map(e=>y(e)&&e?Gf(e):"")},current(e,t){"number"==typeof e?t.current=e>0&&e<t.urls.length?e:0:y(e)&&e&&(t.current=Gf(e))}}},Sp="saveImageToPhotosAlbum",xp="json",Cp=["text","arraybuffer"],kp=encodeURIComponent;ArrayBuffer,Boolean;const Ap={formatArgs:{method(e,t){t.method=Cd((e||"").toUpperCase(),xd)},data(e,t){t.data=e||""},url(e,t){t.method===xd[0]&&x(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 i=n[1]||"";e=n[0];const r=i.split("&").filter(e=>e),a={};r.forEach(e=>{const t=e.split("=");a[t[0]]=t[1]});for(const s in t)if(h(t,s)){let e=t[s];null==e?e="":x(e)&&(e=JSON.stringify(e)),a[kp(s)]=kp(e)}return i=Object.keys(a).map(e=>`${e}=${a[e]}`).join("&"),e+(i?"?"+i:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==xd[0]&&(Object.keys(n).find(e=>"content-type"===e.toLowerCase())||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||xp).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===Cp.indexOf(t.responseType)&&(t.responseType="text")}}},Tp={formatArgs:{header(e,t){t.header=e||{}}}},Ip={formatArgs:{filePath(e,t){e&&(t.filePath=Gf(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}};const Ep={url:{type:String,required:!0}},Bp="navigateTo",Pp="redirectTo",Op="reLaunch",Mp="switchTab",Lp="preloadPage",Dp=($p(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),$p(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Vp(Bp)),zp=Vp(Pp),Np=Vp(Op),Rp=Vp(Mp),jp={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Pf().length-1,e)}}};function $p(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 Fp;function Hp(){Fp=""}function Vp(e){return{formatArgs:{url:Wp(e)},beforeAll:Hp}}function Wp(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=Pf();return n.length&&(t=cu(n[n.length-1]).route),Eu(t,e)}(t)).split("?")[0],i=Bu(o,!0);if(!i)return"page `"+t+"` is not found";if(e===Bp||e===Pp){if(i.meta.isTabBar)return`can not ${e} a tabbar page`}else if(e===Mp&&!i.meta.isTabBar)return"can not switch to no-tabBar page";if(e!==Mp&&e!==Lp||!i.meta.isTabBar||"appLaunch"===n.openType||(t=o),i.meta.isEntry&&(t=t.replace(i.alias,"/")),n.url=function(e){if(!y(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(),i=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(i))}),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if(e!==Lp){if(Fp===t&&"appLaunch"!==n.openType)return`${Fp} locked`;__uniConfig.ready&&(Fp=t)}else if(i.meta.isTabBar){const e=Pf(),t=i.path.slice(1);if(e.find(e=>e.route===t))return"tabBar page `"+t+"` already exists"}}}const Up="setNavigationBarTitle",qp={formatArgs:{duration:300}},Qp={formatArgs:{itemColor:"#000"}},Yp=(Boolean,{formatArgs:{title:"",mask:!1}}),Gp=(Boolean,{beforeInvoke(){vc()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!h(t,"cancelText")){const{t:e}=pc();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!h(t,"confirmText")){const{t:e}=pc();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),Xp=["success","loading","none","error"],Kp=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=Cd(e,Xp)},image(e,t){t.image=e?Gf(e):""},duration:1500,mask:!1}}),Jp="stopPullDownRefresh",Zp=function(){if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(){for(var e=window.document,t=i(e);t;)t=i(e=t.ownerDocument);return e}(),t=[],n=null,o=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(e,n){o=e&&n?h(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach(function(e){e._checkForIntersections()})}),n},a._resetCrossOriginUpdater=function(){n=null,o=null},a.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},a.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},a.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var o=this._checkForIntersections,r=null,a=null;this.POLL_INTERVAL?r=n.setInterval(o,this.POLL_INTERVAL):(s(n,"resize",o,!0),s(t,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(o)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var e=t.defaultView;e&&(r&&e.clearInterval(r),l(e,"resize",o,!0)),l(t,"scroll",o,!0),a&&a.disconnect()});var c=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=c){var u=i(t);u&&this._monitorIntersections(u.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var o=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some(function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=o;){var r=i(n);if((n=r&&r.ownerDocument)==t)return!0}return!1})){var r=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),r(),t!=o){var a=i(t);a&&this._unmonitorIntersections(a.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},a.prototype._checkForIntersections=function(){if(this.root||!n||o){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(o){var i=o.element,a=u(i),s=this._rootContainsTarget(i),l=o.entry,c=e&&s&&this._computeTargetAndRootIntersection(i,a,t),d=null;this._rootContainsTarget(i)?n&&!this.root||(d=t):d={top:0,bottom:0,left:0,right:0,width:0,height:0};var h=o.entry=new r({time:window.performance&&performance.now&&performance.now(),target:i,boundingClientRect:a,rootBounds:d,intersectionRect:c});l?e&&s?this._hasCrossedThreshold(l,h)&&this._queuedEntries.push(h):l&&l.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},a.prototype._computeTargetAndRootIntersection=function(t,i,r){if("none"!=window.getComputedStyle(t).display){for(var a=i,s=f(t),l=!1;!l&&s;){var d=null,p=1==s.nodeType?window.getComputedStyle(s):{};if("none"==p.display)return null;if(s==this.root||9==s.nodeType)if(l=!0,s==this.root||s==e)n&&!this.root?!o||0==o.width&&0==o.height?(s=null,d=null,a=null):d=o:d=r;else{var m=f(s),g=m&&u(m),y=m&&this._computeTargetAndRootIntersection(m,g,r);g&&y?(s=m,d=h(g,y)):(s=null,a=null)}else{var b=s.ownerDocument;s!=b.body&&s!=b.documentElement&&"visible"!=p.overflow&&(d=u(s))}if(d&&(a=c(d,a)),!a)break;s=s&&f(s)}return a}},a.prototype._getRootRect=function(){var t;if(this.root&&!m(this.root))t=u(this.root);else{var n=m(this.root)?this.root:e,o=n.documentElement,i=n.body;t={top:0,left:0,right:o.clientWidth||i.clientWidth,width:o.clientWidth||i.clientWidth,bottom:o.clientHeight||i.clientHeight,height:o.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(t)},a.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},a.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,o=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==o)for(var i=0;i<this.thresholds.length;i++){var r=this.thresholds[i];if(r==n||r==o||r<n!=r<o)return!0}},a.prototype._rootIsInDom=function(){return!this.root||p(e,this.root)},a.prototype._rootContainsTarget=function(t){var n=this.root&&(this.root.ownerDocument||this.root)||e;return p(n,t)&&(!this.root||n==t.ownerDocument)},a.prototype._registerInstance=function(){t.indexOf(this)<0&&t.push(this)},a.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=a,window.IntersectionObserverEntry=r}function i(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(t){return null}}function r(e){this.time=e.time,this.target=e.target,this.rootBounds=d(e.rootBounds),this.boundingClientRect=d(e.boundingClientRect),this.intersectionRect=d(e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,o=this.intersectionRect,i=o.width*o.height;this.intersectionRatio=n?Number((i/n).toFixed(4)):this.isIntersecting?1:0}function a(e,t){var n,o,i,r=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(r.root&&1!=r.root.nodeType&&9!=r.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),o=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout(function(){n(),i=null},o))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(r.rootMargin),this.thresholds=this._initThresholds(r.threshold),this.root=r.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(e,t,n,o){"function"==typeof e.addEventListener?e.addEventListener(t,n,o):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function l(e,t,n,o){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,o):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function c(e,t){var n=Math.max(e.top,t.top),o=Math.min(e.bottom,t.bottom),i=Math.max(e.left,t.left),r=Math.min(e.right,t.right),a=r-i,s=o-n;return a>=0&&s>=0&&{top:n,bottom:o,left:i,right:r,width:a,height:s}||null}function u(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function d(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function h(e,t){var n=t.top-e.top,o=t.left-e.left;return{top:n,left:o,height:t.height,width:t.width,bottom:n+t.height,right:o+t.width}}function p(e,t){for(var n=t;n;){if(n==e)return!0;n=f(n)}return!1}function f(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?i(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function m(e){return e&&9===e.nodeType}};function ef(e){const{bottom:t,height:n,left:o,right:i,top:r,width:a}=e||{};return{bottom:t,height:n,left:o,right:i,top:r,width:a}}function tf(e){const{intersectionRatio:t,boundingClientRect:{height:n,width:o},intersectionRect:{height:i,width:r}}=e;return 0!==t?t:i===n?r/o:i/n}function nf(){const e=_u();if(!e)return;const t=Bf(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:Mf(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,Cu(e,re))}function of(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function rf(e){const t=Bf().values();for(const n of t){const t=Cf(n);if(of(e,t))return n.$.__isActive=!0,t.id}}const af=ih(Mp,({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:i})=>{if(kf.handledBeforeEntryPageRoutes)return nf(),df({type:Mp,url:e,tabBarText:t,isAutomatedTesting:n},rf(e)).then(o).catch(i);Tf.push({args:{type:Mp,url:e,tabBarText:t,isAutomatedTesting:n},resolve:o,reject:i})},0,Rp);function sf(){const e=yu();if(!e)return;const t=Cf(e);Mf(Nf(t.path,t.id))}const lf=ih(Pp,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(kf.handledBeforeEntryPageRoutes)return sf(),df({type:Pp,url:e,isAutomatedTesting:t}).then(n).catch(o);If.push({args:{type:Pp,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,zp);function cf(){const e=Bf().keys();for(const t of e)Mf(t)}const uf=ih(Op,({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(kf.handledBeforeEntryPageRoutes)return cf(),df({type:Op,url:e,isAutomatedTesting:t}).then(n).catch(o);Ef.push({args:{type:Op,url:e,isAutomatedTesting:t},resolve:n,reject:o})},0,Np);function df({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:i},r){const a=Uy().$router,{path:s,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:Ze(n||"")}}(t);return new Promise((t,c)=>{const u=function(e,t){return{__id__:t||++Lf,__type__:e}}(e,r);a["navigateTo"===e?"push":"replace"]({path:s,query:l,state:u,force:!0}).then(r=>{if(ul(r))return c(r.message);if("switchTab"===e&&(a.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=a.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 tt(u.__id__,o),t(i?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return i?t({__id__:u.__id__}):t()})})}function hf(){if(kf.handledBeforeEntryPageRoutes)return;kf.handledBeforeEntryPageRoutes=!0;const e=[...Af];Af.length=0,e.forEach(({args:e,resolve:t,reject:n})=>df(e).then(t).catch(n));const t=[...Tf];Tf.length=0,t.forEach(({args:e,resolve:t,reject:n})=>(nf(),df(e,rf(e.url)).then(t).catch(n)));const n=[...If];If.length=0,n.forEach(({args:e,resolve:t,reject:n})=>(sf(),df(e).then(t).catch(n)));const o=[...Ef];Ef.length=0,o.forEach(({args:e,resolve:t,reject:n})=>(cf(),df(e).then(t).catch(n)))}let pf;function ff(){var e;return pf||(pf=__uniConfig.tabBar&&wn((e=__uniConfig.tabBar,lc()&&e.list&&e.list.forEach(e=>{hc(e,["text"])}),e))),pf}function mf(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const gf=mf("top:env(a)"),yf=mf("top:constant(a)"),bf=mf("backdrop-filter:blur(10px)"),vf=(()=>gf?"env":yf?"constant":"")();function _f(e){let t=0,n=0;if("custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=44),e.isTabBar){const e=ff();e.shown&&(n=parseInt(e.height))}var o;ru({"--window-top":(o=t,vf?`calc(${o}px + ${vf}(safe-area-inset-top))`:`${o}px`),"--window-bottom":wf(n)})}function wf(e){return vf?`calc(${e}px + ${vf}(safe-area-inset-bottom))`:`${e}px`}const Sf="$$",xf=new Map;function Cf(e){return e.$page}const kf={handledBeforeEntryPageRoutes:!1},Af=[],Tf=[],If=[],Ef=[];function Bf(){return xf}function Pf(){return Of()}function Of(){const e=[],t=xf.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function Mf(e,t=!0){const n=xf.get(e);n.$.__isUnload=!0,Cu(n,he),xf.delete(e),t&&function(e){const t=Rf.get(e);t&&(Rf.delete(e),jf.pruneCacheEntry(t))}(e)}let Lf=_d();function Df(e){const t=yd();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),function(e,t,n,o,i,r){const{id:a,route:s}=o,l=ut(o.navigationBar,__uniConfig.themeConfig,r).titleColor;return{id:a,path:Me(s),route:s,fullPath:t,options:n,meta:o,openType:e,eventChannel:i,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function zf(e){const t=Df(e.$route);!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),xf.set(Nf(t.path,t.id),e),1===xf.size&&setTimeout(()=>{hf()},0)}function Nf(e,t){return e+Sf+t}const Rf=new Map,jf={get:e=>Rf.get(e),set(e,t){!function(e){const t=parseInt(e.split(Sf)[1]);if(!t)return;jf.forEach((e,n)=>{const o=parseInt(n.split(Sf)[1]);if(o&&o>t){if(function(e){return"tabBar"===e.props.type}(e))return;jf.delete(n),jf.pruneCacheEntry(e),ao(()=>{xf.forEach((e,t)=>{e.$.isUnmounted&&xf.delete(t)})})}})}(e),Rf.set(e,t)},delete(e){Rf.get(e)&&Rf.delete(e)},forEach(e){Rf.forEach(e)}};function $f(e,t){!function(e){const t=Hf(e),{body:n}=document;Vf&&n.removeAttribute(Vf),t&&n.setAttribute(t,""),Vf=t}(e),_f(t),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),qf(e,t)}function Ff(e){const t=Hf(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Hf(e){return e.type.__scopeId}let Vf;const Wf=!!(()=>{let e=!1;try{const t={};Object.defineProperty(t,"passive",{get(){e=!0}}),window.addEventListener("test-passive",()=>{},t)}catch(t){}return e})()&&{passive:!1};let Uf;function qf(e,t){if(document.removeEventListener("touchmove",ku),Uf&&document.removeEventListener("scroll",Uf),t.disableScroll)return document.addEventListener("touchmove",ku,Wf);const{onPageScroll:n,onReachBottom:o}=e,i="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!i)return;const r={},a=Cf(e.proxy).id;(n||i)&&(r.onPageScroll=function(e,t,n){return o=>{t&&H_.publishHandler(ye,{scrollTop:o},e),n&&H_.emit(e+"."+ye,{scrollTop:o})}}(a,n,i)),(null==o?void 0:o.length)&&(r.onReachBottomDistance=t.onReachBottomDistance||50,r.onReachBottom=()=>H_.publishHandler(ve,{},a)),Uf=Iu(r),requestAnimationFrame(()=>document.addEventListener("scroll",Uf))}function Qf(e){return e.$el}function Yf(e){const{base:t}=__uniConfig.router;return 0===Me(e).indexOf(t)?Me(e):t+e}function Gf(e){const{base:t,assets:n}=__uniConfig.router;if("./"===t&&(0!==e.indexOf("./")||!e.includes("/static/")&&0!==e.indexOf("./"+(n||"assets")+"/")||(e=e.slice(1))),0===e.indexOf("/")){if(0!==e.indexOf("//"))return Yf(e.slice(1));e="https:"+e}if(ne.test(e)||oe.test(e)||0===e.indexOf("blob:"))return e;const o=Of();return o.length?Yf(Eu(Cf(o[o.length-1]).route,e).slice(1)):e}const Xf=navigator.userAgent,Kf=/android/i.test(Xf),Jf=/iphone|ipad|ipod/i.test(Xf),Zf=Xf.match(/Windows NT ([\d|\d.\d]*)/i),em=/Macintosh|Mac/i.test(Xf),tm=/Linux|X11/i.test(Xf),nm=em&&navigator.maxTouchPoints>0;function om(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function im(e){return e&&90===Math.abs(window.orientation)}function rm(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function am(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function sm(e,t,n,o){V_.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function lm(e,t){const n={},{top:o,topWindowHeight:i}=ou();if(t.node){const t=e.tagName.split("-")[1]||e.tagName;t&&(n.node=e.querySelector(t))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=qe(e)),t.rect||t.size){const r=e.getBoundingClientRect();t.rect&&(n.left=r.left,n.right=r.right,n.top=r.top-o-i,n.bottom=r.bottom-o-i),t.size&&(n.width=r.width,n.height=r.height)}if(p(t.properties)&&t.properties.forEach(e=>{e=e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}),t.scrollOffset)if("UNI-SCROLL-VIEW"===e.tagName){const t=e.children[0].children[0];n.scrollLeft=t.scrollLeft,n.scrollTop=t.scrollTop,n.scrollHeight=t.scrollHeight,n.scrollWidth=t.scrollWidth}else n.scrollLeft=0,n.scrollTop=0,n.scrollHeight=0,n.scrollWidth=0;if(p(t.computedStyle)){const o=getComputedStyle(e);t.computedStyle.forEach(e=>{n[e]=o[e]})}return t.context&&(n.contextInfo=function(e){return e.__uniContextInfo}(e)),n}function cm(e,t){return(e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector||function(e){const t=this.parentElement.querySelectorAll(e);let n=t.length;for(;--n>=0&&t.item(n)!==this;);return n>-1}).call(e,t)}const um={};function dm(e,t){const n=um[e];return n?Promise.resolve(n):/^data:[a-z-]+\/[a-z-]+;base64,/.test(e)?Promise.resolve(function(e){const t=e.split(","),n=t[0].match(/:(.*?);/),o=n?n[1]:"",i=atob(t[1]);let r=i.length;const a=new Uint8Array(r);for(;r--;)a[r]=i.charCodeAt(r);return hm(a,o)}(e)):t?Promise.reject(new Error("not find")):new Promise((t,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.responseType="blob",o.onload=function(){t(this.response)},o.onerror=n,o.send()})}function hm(e,t){let n;if(e instanceof File)n=e;else{t=t||e.type||"";const i=`${Date.now()}${function(e){const t=e.split("/")[1];return t?`.${t}`:""}(t)}`;try{n=new File([e],i,{type:t})}catch(o){n=e=e instanceof Blob?e:new Blob([e],{type:t}),n.name=n.name||i}}return n}function pm(e){for(const n in um)if(h(um,n)){if(um[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return um[t]=e,t}function fm(e){(window.URL||window.webkitURL).revokeObjectURL(e),delete um[e]}const mm=Zu(),gm=Zu();const ym=od({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=Nn(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),i=function(e,t,n){const o=wn({width:-1,height:-1});return No(()=>c({},o),e=>t("resize",e)),()=>{const t=e.value;t&&(o.width=t.offsetWidth,o.height=t.offsetHeight,n())}}(n,t,o);return function(e,t,n,o){ui(o),wi(()=>{t.initial&&ao(n);const i=e.value;i.offsetParent!==i.parentElement&&(i.parentElement.style.position="relative"),"AnimationEvent"in window||o()})}(n,e,i,o),()=>jr("uni-resize-sensor",{ref:n,onAnimationstartOnce:i},[jr("div",{onScroll:i},[jr("div",null,null)],40,["onScroll"]),jr("div",{onScroll:i},[jr("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const bm=function(){if(navigator.userAgent.includes("jsdom"))return 1;const e=document.createElement("canvas");e.height=e.width=0;const t=e.getContext("2d"),n=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/n}();function vm(e,t=!0){const n=t?bm:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let _m=!1;function wm(){if(_m)return;_m=!0;const e={fillRect:"all",clearRect:"all",strokeRect:"all",moveTo:"all",lineTo:"all",arc:[0,1,2],arcTo:"all",bezierCurveTo:"all",isPointinPath:"all",isPointinStroke:"all",quadraticCurveTo:"all",rect:"all",translate:"all",createRadialGradient:"all",createLinearGradient:"all",transform:[4,5],setTransform:[4,5]},t=CanvasRenderingContext2D.prototype;t.drawImageByCanvas=function(e){return function(t,n,o,i,r,a,s,l,c,u){if(!this.__hidpi__)return e.apply(this,arguments);n*=bm,o*=bm,i*=bm,r*=bm,a*=bm,s*=bm,l=u?l*bm:l,c=u?c*bm:c,e.call(this,t,n,o,i,r,a,s,l,c)}}(t.drawImage),1!==bm&&(!function(e,t){for(const n in e)h(e,n)&&t(e[n],n)}(e,function(e,n){t[n]=function(t){return function(){if(!this.__hidpi__)return t.apply(this,arguments);let n=Array.prototype.slice.call(arguments);if("all"===e)n=n.map(function(e){return e*bm});else if(Array.isArray(e))for(let t=0;t<e.length;t++)n[e[t]]*=bm;return t.apply(this,n)}}(t[n])}),t.stroke=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.lineWidth*=bm,e.apply(this,arguments),this.lineWidth/=bm}}(t.stroke),t.fillText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);const t=Array.prototype.slice.call(arguments);t[1]*=bm,t[2]*=bm,t[3]&&"number"==typeof t[3]&&(t[3]*=bm);var n=this.__font__||this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,function(e,t,n){return t*bm+n}),e.apply(this,t),this.font=n}}(t.fillText),t.strokeText=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);var t=Array.prototype.slice.call(arguments);t[1]*=bm,t[2]*=bm,t[3]&&"number"==typeof t[3]&&(t[3]*=bm);var n=this.__font__||this.font;this.font=n.replace(/(\d+\.?\d*)(px|em|rem|pt)/g,function(e,t,n){return t*bm+n}),e.apply(this,t),this.font=n}}(t.strokeText),t.drawImage=function(e){return function(){if(!this.__hidpi__)return e.apply(this,arguments);this.scale(bm,bm),e.apply(this,arguments),this.scale(1/bm,1/bm)}}(t.drawImage))}const Sm=Le(()=>wm());function xm(e){return e?Gf(e):e}function Cm(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function km(e,t){Array.from(t).forEach(t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top})}let Am;function Tm(e=0,t=0){return Am||(Am=document.createElement("canvas")),Am.width=e,Am.height=t,Am}const Im=od({inheritAttrs:!1,name:"Canvas",compatConfig:{MODE:3},props:{canvasId:{type:String,default:""},disableScroll:{type:[Boolean,String],default:!1},hidpi:{type:Boolean,default:!0}},computed:{id(){return this.canvasId}},setup(e,{emit:t,slots:n}){Sm();const o=Nn(null),i=Nn(null),r=Nn(null),a=Nn(!1),s=function(e){return(t,n)=>{e(t,Nu(n))}}(t),{$attrs:l,$excludeAttrs:u,$listeners:d}=bg({excludeListeners:!0}),{_listeners:p}=function(e,t,n){const o=ca(()=>{let o=["onTouchstart","onTouchmove","onTouchend"],i=t.value,r=c({},(()=>{let e={};for(const t in i)if(h(i,t)){const n=i[t];e[t]=n}return e})());return o.forEach(t=>{let o=[];r[t]&&o.push(rd(e=>{const o=e.currentTarget.getBoundingClientRect();km(o,e.touches),km(o,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)})),e.disableScroll&&"onTouchmove"===t&&o.push(Zc),r[t]=o}),r});return{_listeners:o}}(e,d,s),{_handleSubscribe:f,_resize:m}=function(e,t,n){let o=[],i={};const r=ca(()=>e.hidpi?bm:1);function a(n){let o=t.value;if(!n||o.width!==Math.floor(n.width*r.value)||o.height!==Math.floor(n.height*r.value))if(o.width>0&&o.height>0){let t=o.getContext("2d"),n=t.getImageData(0,0,o.width,o.height);vm(o,e.hidpi),t.putImageData(n,0,0)}else vm(o,e.hidpi)}function s({actions:e,reserve:r},a){if(!e)return;if(n.value)return void o.push([e,r]);let s=t.value,c=s.getContext("2d");r||(c.fillStyle="#000000",c.strokeStyle="#000000",c.shadowColor="#000000",c.shadowBlur=0,c.shadowOffsetX=0,c.shadowOffsetY=0,c.setTransform(1,0,0,1,0,0),c.clearRect(0,0,s.width,s.height)),l(e);for(let t=0;t<e.length;t++){const n=e[t];let o=n.method;const r=n.data,s=r[0];if(/^set/.test(o)&&"setTransform"!==o){const n=o[3].toLowerCase()+o.slice(4);let i;if("fillStyle"===n||"strokeStyle"===n){if("normal"===s)i=Cm(r[1]);else if("linear"===s){const e=c.createLinearGradient(...r[1]);r[2].forEach(function(t){const n=t[0],o=Cm(t[1]);e.addColorStop(n,o)}),i=e}else if("radial"===s){let e=r[1];const t=e[0],n=e[1],o=e[2],a=c.createRadialGradient(t,n,0,t,n,o);r[2].forEach(function(e){const t=e[0],n=Cm(e[1]);a.addColorStop(t,n)}),i=a}else if("pattern"===s){if(!u(r[1],e.slice(t+1),a,function(e){e&&(c[n]=c.createPattern(e,r[2]))}))break;continue}c[n]=i}else if("globalAlpha"===n)c[n]=Number(s)/255;else if("shadow"===n){let e=["shadowOffsetX","shadowOffsetY","shadowBlur","shadowColor"];r.forEach(function(t,n){c[e[n]]="shadowColor"===e[n]?Cm(t):t})}else if("fontSize"===n){const e=c.__font__||c.font;c.__font__=c.font=e.replace(/\d+\.?\d*px/,s+"px")}else"lineDash"===n?(c.setLineDash(s),c.lineDashOffset=r[1]||0):"textBaseline"===n?("normal"===s&&(r[0]="alphabetic"),c[n]=s):"font"===n?c.__font__=c.font=s:c[n]=s}else if("fillPath"===o||"strokePath"===o)o=o.replace(/Path/,""),c.beginPath(),r.forEach(function(e){c[e.method].apply(c,e.data)}),c[o]();else if("fillText"===o)c.fillText.apply(c,r);else if("drawImage"===o){if("break"===function(){let n=[...r],o=n[0],s=n.slice(1);if(i=i||{},!u(o,e.slice(t+1),a,function(e){e&&c.drawImage.apply(c,[e].concat([...s.slice(4,8)],[...s.slice(0,4)]))}))return"break"}())break}else"clip"===o?(r.forEach(function(e){c[e.method].apply(c,e.data)}),c.clip()):c[o].apply(c,r)}n.value||a({errMsg:"drawCanvas:ok"})}function l(e){e.forEach(function(e){let t=e.method,n=e.data,o="";function r(){const e=i[o]=new Image;e.onload=function(){e.ready=!0},function(e){const t=document.createElement("a");return t.href=e,t.origin===location.origin?Promise.resolve(e):dm(e).then(pm)}(o).then(t=>{e.src=t}).catch(()=>{e.src=o})}"drawImage"===t?(o=n[0],o=xm(o),n[0]=o):"setFillStyle"===t&&"pattern"===n[0]&&(o=n[1],o=xm(o),n[1]=o),o&&!i[o]&&r()})}function u(e,t,r,a){let l=i[e];return l.ready?(a(l),!0):(o.unshift([t,!0]),n.value=!0,l.onload=function(){l.ready=!0,a(l),n.value=!1;let e=o.slice(0);o=[];for(let t=e.shift();t;)s({actions:t[0],reserve:t[1]},r),t=e.shift()},!1)}function d({x:e=0,y:n=0,width:o,height:i,destWidth:a,destHeight:s,hidpi:l=!0,dataType:c,quality:u=1,type:d="png"},h){const p=t.value;let f;const m=p.offsetWidth-e;o=o?Math.min(o,m):m;const g=p.offsetHeight-n;i=i?Math.min(i,g):g,l?(a=o,s=i):a||s?a?s||(s=Math.round(i/o*a)):(s||(s=Math.round(i*r.value)),a=Math.round(o/i*s)):(a=Math.round(o*r.value),s=Math.round(i*r.value));const y=Tm(a,s),b=y.getContext("2d");let v;"jpeg"!==d&&"jpg"!==d||(d="jpeg",b.fillStyle="#fff",b.fillRect(0,0,a,s)),b.__hidpi__=!0,b.drawImageByCanvas(p,e,n,o,i,0,0,a,s,!1);try{let e;if("base64"===c)f=y.toDataURL(`image/${d}`,u);else{const e=b.getImageData(0,0,a,s);f=Array.prototype.slice.call(e.data)}v={data:f,compressed:e,width:a,height:s}}catch(_){v={errMsg:`canvasGetImageData:fail ${_}`}}if(y.height=y.width=0,b.__hidpi__=!1,!h)return v;h(v)}function h({data:e,x:n,y:o,width:i,height:r,compressed:a},s){try{0,r||(r=Math.round(e.length/4/i));const a=Tm(i,r);a.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e),i,r),0,0),t.value.getContext("2d").drawImage(a,n,o,i,r),a.height=a.width=0}catch(l){return void s({errMsg:"canvasPutImageData:fail"})}s({errMsg:"canvasPutImageData:ok"})}function p({x:e=0,y:t=0,width:n,height:o,destWidth:i,destHeight:r,fileType:a,quality:s,dirname:l},c){const u=d({x:e,y:t,width:n,height:o,destWidth:i,destHeight:r,hidpi:!1,dataType:"base64",type:a,quality:s});var h;u.errMsg?c({errMsg:u.errMsg.replace("canvasPutImageData","toTempFilePath")}):(h=u.data,((e,t)=>{let n="toTempFilePath:"+(e?"fail":"ok");e&&(n+=` ${e.message}`),c({errMsg:n,tempFilePath:t})})(null,h))}const f={actionsChanged:s,getImageData:d,putImageData:h,toTempFilePath:p};function m(e,t,n){let o=f[e];0!==e.indexOf("_")&&g(o)&&o(t,n)}return c(f,{_resize:a,_handleSubscribe:m})}(e,i,a);return Sy(f,Cy(e.canvasId),!0),wi(()=>{m()}),()=>{const{canvasId:t,disableScroll:a}=e;return jr("uni-canvas",qr({ref:o,"canvas-id":t,"disable-scroll":a},l.value,u.value,p.value),[jr("canvas",{ref:i,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),jr("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),jr(ym,{ref:r,onResize:m},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});const Em=au("ucg"),Bm=od({name:"Checkbox",props:{checked:{type:[Boolean,String],default:!1},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},value:{type:String,default:""},color:{type:String,default:"#007aff"},backgroundColor:{type:String,default:""},borderColor:{type:String,default:""},activeBackgroundColor:{type:String,default:""},activeBorderColor:{type:String,default:""},iconColor:{type:String,default:""},foreColor:{type:String,default:""}},setup(e,{slots:t}){const n=Nn(null),o=Nn(e.checked),i=ca(()=>"true"===o.value||!0===o.value),r=Nn(e.value);const a=ca(()=>function(t){if(e.disabled)return{backgroundColor:"#E1E1E1",borderColor:"#D1D1D1"};const n={};return t?(e.activeBorderColor&&(n.borderColor=e.activeBorderColor),e.activeBackgroundColor&&(n.backgroundColor=e.activeBackgroundColor)):(e.borderColor&&(n.borderColor=e.borderColor),e.backgroundColor&&(n.backgroundColor=e.backgroundColor)),n}(i.value));No([()=>e.checked,()=>e.value],([e,t])=>{o.value=e,r.value=t});const{uniCheckGroup:s,uniLabel:l}=function(e,t,n){const o=ca(()=>({checkboxChecked:Boolean(e.value),value:t.value})),i={reset:n},r=tr(Em,!1);r&&r.addField(o);const a=tr(ud,!1);a&&a.addField(i);const s=tr(dd,!1);return Ci(()=>{r&&r.removeField(o),a&&a.removeField(i)}),{uniCheckGroup:r,uniForm:a,uniLabel:s}}(o,r,()=>{o.value=!1}),c=t=>{e.disabled||(o.value=!o.value,s&&s.checkboxChange(t),t.stopPropagation())};return l&&(l.addHandler(c),Ci(()=>{l.removeHandler(c)})),hd(e,{"label-click":c}),()=>{const i=cd(e,"disabled");let r;return r=o.value,jr("uni-checkbox",qr(i,{id:e.id,onClick:c,ref:n}),[jr("div",{class:"uni-checkbox-wrapper",style:{"--HOVER-BD-COLOR":e.activeBorderColor}},[jr("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}],style:a.value},[r?fu(du,e.disabled?"#ADADAD":e.foreColor||e.iconColor||e.color,22):""],6),t.default&&t.default()],4)],16,["id","onClick"])}}});function Pm(){}const Om={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 Mm(e,t,n){function o(e){const t=ca(()=>0===String(navigator.vendor).indexOf("Apple"));e.addEventListener("focus",()=>{clearTimeout(void 0),document.addEventListener("click",Pm,!1)});e.addEventListener("blur",()=>{t.value&&e.blur(),document.removeEventListener("click",Pm,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)})}No(()=>t.value,e=>e&&o(e))}var Lm=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Dm=/^<\/([-A-Za-z0-9_]+)[^>]*>/,zm=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Nm=Vm("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Rm=Vm("a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video"),jm=Vm("abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"),$m=Vm("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Fm=Vm("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),Hm=Vm("script,style");function Vm(e){for(var t={},n=e.split(","),o=0;o<n.length;o++)t[n[o]]=!0;return t}const Wm={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Um={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},qm={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"]},Qm=od({name:"Image",props:Wm,setup(e,{emit:t}){const n=Nn(null),o=function(e,t){const n=Nn(""),o=ca(()=>{let e="auto",o="";const i=qm[t.mode];return i?(i[0]&&(o=i[0]),i[1]&&(e=i[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`}),i=wn({rootEl:e,src:ca(()=>t.src?Gf(t.src):""),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return wi(()=>{const t=e.value;i.origWidth=t.clientWidth||0,i.origHeight=t.clientHeight||0}),i}(n,e),i=ad(n,t),{fixSize:r}=function(e,t,n){const o=()=>{const{mode:o}=t,i=Um[o];if(!i)return;const{origWidth:r,origHeight:a}=n,s=r&&a?r/a:0;if(!s)return;const l=e.value,c=l[i[0]];c&&(l.style[i[1]]=function(e){Ym&&e>10&&(e=2*Math.round(e/2));return e}(i[2](c,s))+"px")},i=()=>{const{style:t}=e.value,{origStyle:{width:o,height:i}}=n;t.width=o,t.height=i};return No(()=>t.mode,(e,t)=>{Um[t]&&i(),Um[e]&&o()}),{fixSize:o,resetSize:i}}(n,e,o);return function(e,t,n,o,i){let r,a;const s=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void s();r=r||new Image,r.onload=e=>{const{width:u,height:d}=r;s(u,d,l),ao(()=>{o()}),r.draggable=t.draggable,a&&a.remove(),a=r,n.value.appendChild(r),c(),i("load",e,{width:u,height:d})},r.onerror=t=>{s(),c(),i("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},r.src=l},c=()=>{r&&(r.onload=null,r.onerror=null,r=null)};No(()=>e.src,e=>l(e)),No(()=>e.imgSrc,e=>{!e&&a&&(a.remove(),a=null)}),wi(()=>l(e.src)),Ci(()=>c())}(o,e,n,r,i),()=>jr("uni-image",{ref:n},[jr("div",{style:o.modeStyle},null,4),Um[e.mode]?jr(ym,{onResize:r},null,8,["onResize"]):jr("span",null,null)],512)}});const Ym="Google Inc."===navigator.vendor;const Gm=Ye(!0),Xm=[];let Km=0,Jm=!1;const Zm=e=>Xm.forEach(t=>t.userAction=e);function eg(e={userAction:!1}){if(!Jm){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach(e=>{document.addEventListener(e,function(){!Km&&Zm(!0),Km++,setTimeout(()=>{! --Km&&Zm(!1)},0)},Gm)}),Jm=!0}Xm.push(e)}const tg=()=>!!Km;function ng(){const e=wn({userAction:!1});return wi(()=>{eg(e)}),Ci(()=>{!function(e){const t=Xm.indexOf(e);t>=0&&Xm.splice(t,1)}(e)}),{state:e}}function og(){const e=wn({attrs:{}});return wi(()=>{let t=Kr();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}}),{state:e}}function ig(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)}function rg(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const ag=["none","text","decimal","numeric","tel","search","email","url"],sg=c({},{name:{type:String,default:""},modelValue:{type:[String,Number]},value:{type:[String,Number]},disabled:{type:[Boolean,String],default:!1},autoFocus:{type:[Boolean,String],default:!1},focus:{type:[Boolean,String],default:!1},cursor:{type:[Number,String],default:-1},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},type:{type:String,default:"text"},password:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},placeholderStyle:{type:String,default:""},placeholderClass:{type:String,default:""},maxlength:{type:[Number,String],default:140},confirmType:{type:String,default:"done"},confirmHold:{type:Boolean,default:!1},ignoreCompositionEvent:{type:Boolean,default:!0},step:{type:String,default:"0.000000000000000001"},inputmode:{type:String,default:void 0,validator:e=>!!~ag.indexOf(e)},cursorColor:{type:String,default:""}},Om),lg=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function cg(e,t,n,o){let i=null;i=et(n=>{t.value=rg(n,e.type)},100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),No(()=>e.modelValue,i),No(()=>e.value,i);const r=function(e,t){let n,o,i=0;const r=function(...r){const a=Date.now();clearTimeout(n),o=()=>{o=null,i=a,e.apply(this,r)},a-i<t?n=setTimeout(o,t-(a-i)):o()};return r.cancel=function(){clearTimeout(n),o=null},r.flush=function(){clearTimeout(n),o&&o()},r}((e,t)=>{i.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)},100);return _i(()=>{i.cancel(),r.cancel()}),{trigger:o,triggerInput:(e,t,n)=>{i.cancel(),r(e,t),n&&r.flush()}}}function ug(e,t){ng();const n=ca(()=>e.autoFocus||e.focus);function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}No(()=>e.focus,e=>{e?o():function(){const e=t.value;e&&e.blur()}()}),wi(()=>{n.value&&ao(o)})}function dg(e,t,n,o){Bc(vu(),"getSelectedTextRange",ig);const{fieldRef:i,state:r,trigger:a}=function(e,t,n){const o=Nn(null),i=ad(t,n),r=ca(()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t}),a=ca(()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t}),s=ca(()=>{const t=Number(e.cursor);return isNaN(t)?-1:t}),l=ca(()=>{var t=Number(e.maxlength);return isNaN(t)?140:t});let c="";c=rg(e.modelValue,e.type)||rg(e.value,e.type);const u=wn({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:r,selectionEnd:a,cursor:s});return No(()=>u.focus,e=>n("update:focus",e)),No(()=>u.maxlength,e=>u.value=u.value.slice(0,e),{immediate:!1}),{fieldRef:o,state:u,trigger:i}}(e,t,n),{triggerInput:s}=cg(e,r,n,a);ug(e,i),Mm(0,i);const{state:l}=og();!function(e,t){const n=tr(ud,!1);if(!n)return;const o=Kr(),i={submit(){const n=o.proxy;return[n[e],y(t)?n[t]:t.value]},reset(){y(t)?o.proxy[t]="":t.value=""}};n.addField(i),Ci(()=>{n.removeField(i)})}("name",r),function(e,t,n,o,i,r){function a(){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 s(){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}No([()=>t.selectionStart,()=>t.selectionEnd],a),No(()=>t.cursor,s),No(()=>e.value,function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),g(r)&&!1===r(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||i(e,{value:c.value,cursor:l(c)},o))};function d(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",e=>e.stopPropagation()),c.addEventListener("focus",function(e){t.focus=!0,o("focus",e,{value:t.value}),a(),s()}),c.addEventListener("blur",function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})}),c.addEventListener("input",u),c.addEventListener("compositionstart",e=>{e.stopPropagation(),t.composing=!0,d(e)}),c.addEventListener("compositionend",e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),d(e)}),c.addEventListener("compositionupdate",d)})}(i,r,e,a,s,o);return{fieldRef:i,state:r,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:a}}const hg=c({},sg,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),pg=Le(()=>{{const e=navigator.userAgent;let t="";const n=e.match(/OS\s([\w_]+)\slike/);if(n)t=n[1].replace(/_/g,".");else if(/Macintosh|Mac/i.test(e)&&navigator.maxTouchPoints>0){const n=e.match(/Version\/(\S*)\b/);n&&(t=n[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}});function fg(e,t,n,o,i){if(t.value)if("."===e.data){if("."===t.value.slice(-1))return n.value=o.value=t.value=t.value.slice(0,-1),!1;if(t.value&&!t.value.includes("."))return t.value+=".",i&&(i.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",i.fn)},o.addEventListener("blur",i.fn)),!1}else if("deleteContentBackward"===e.inputType&&pg()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}const mg=od({name:"Input",props:hg,emits:["confirm",...lg],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],i=["off","one-time-code"],r=ca(()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t}),a=ca(()=>{const t=i.indexOf(e.textContentType),n=i.indexOf(B(e.textContentType));return i[-1!==t?t:-1!==n?n:0]});let s=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=Nn(null!=t?t.toLocaleString():"");return No(()=>e.modelValue,e=>{n.value=null!=e?e.toLocaleString():""}),No(()=>e.value,e=>{n.value=null!=e?e.toLocaleString():""}),n}return Nn("")}(e,r),l={fn:null};const c=Nn(null),{fieldRef:u,state:d,scopedAttrsState:h,fixDisabledColor:p,trigger:f}=dg(e,c,t,(t,n)=>{const o=t.target;if("number"===r.value){if(l.fn&&(o.removeEventListener("blur",l.fn),l.fn=null),o.validity&&!o.validity.valid){if((!s.value||!o.value)&&"-"===t.data||"-"===s.value[0]&&"deleteContentBackward"===t.inputType)return s.value="-",n.value="",l.fn=()=>{s.value=o.value=""},o.addEventListener("blur",l.fn),!1;const e=fg(t,s,n,o,l);return"boolean"==typeof e?e:(s.value=n.value=o.value="-"===s.value?"":s.value,!1)}{const e=fg(t,s,n,o,l);if("boolean"==typeof e)return e;s.value=o.value}const i=n.maxlength;if(i>0&&o.value.length>i){o.value=o.value.slice(0,i),n.value=o.value;return(void 0!==e.modelValue&&null!==e.modelValue?e.modelValue.toString():"")!==o.value}}});No(()=>d.value,t=>{"number"!==e.type||"-"===s.value&&""===t||(s.value=t.toString())});const m=["number","digit"],g=ca(()=>m.includes(e.type)?e.step:"");function y(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),f("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?jr("input",{key:"disabled-input",ref:u,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:r.value,maxlength:d.maxlength,step:g.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):jr("input",{key:"input",ref:u,value:d.value,onInput:e=>{d.value=e.target.value.toString()},disabled:!!e.disabled,type:r.value,maxlength:d.maxlength,step:g.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:a.value,onKeyup:y,inputmode:e.inputmode},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return jr("uni-input",{ref:c},[jr("div",{class:"uni-input-wrapper"},[Ho(jr("div",qr(h.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Oa,!(d.value.length||"-"===s.value||s.value.includes("."))]]),"search"===e.confirmType?jr("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const gg=["class","style"],yg=/^on[A-Z]+/,bg=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=Kr(),i=Rn({}),r=Rn({}),a=Rn({}),s=n.concat(gg);return o.attrs=wn(o.attrs),Do(()=>{const e=(n=o.attrs,Object.keys(n).map(e=>[e,n[e]])).reduce((e,[n,o])=>(s.includes(n)?e.exclude[n]=o:yg.test(n)?(t||(e.attrs[n]=o),e.listeners[n]=o):e.attrs[n]=o,e),{exclude:{},attrs:{},listeners:{}});var n;i.value=e.attrs,r.value=e.listeners,a.value=e.exclude}),{$attrs:i,$listeners:r,$excludeAttrs:a}};function vg(e){const t=[];return p(e)&&e.forEach(e=>{Mr(e)?e.type===wr?t.push(...vg(e.children)):t.push(e):p(e)&&t.push(...vg(e))}),t}const _g=od({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=Nn(null),o=Nn(!1);let{setContexts:i,events:r}=function(e,t){const n=Nn(0),o=Nn(0),i=wn({x:null,y:null}),r=Nn(null);let a=null,s=[];function l(t){t&&1!==t&&(e.scaleArea?s.forEach(function(e){e._setScale(t)}):a&&a._setScale(t))}function c(e,n=s){let o=t.value;function i(e){for(let t=0;t<n.length;t++){const o=n[t];if(e===o.rootRef.value)return o}return e===o||e===document.body||e===document?null:i(e.parentNode)}return i(e)}const u=rd(t=>{let n=t.touches;if(n&&n.length>1){let t={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(r.value=wg(t),i.x=t.x,i.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);a=e&&e===t?e:null}}}),d=rd(e=>{let t=e.touches;if(t&&t.length>1){e.preventDefault();let n={x:t[1].pageX-t[0].pageX,y:t[1].pageY-t[0].pageY};if(null!==i.x&&r.value&&r.value>0){l(wg(n)/r.value)}i.x=n.x,i.y=n.y}}),h=rd(t=>{let n=t.touches;n&&n.length||t.changedTouches&&(i.x=0,i.y=0,r.value=null,e.scaleArea?s.forEach(function(e){e._endScale()}):a&&a._endScale())});function p(){f(),s.forEach(function(e,t){e.setParent()})}function f(){let e=window.getComputedStyle(t.value),i=t.value.getBoundingClientRect();n.value=i.width-["Left","Right"].reduce(function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])},0),o.value=i.height-["Top","Bottom"].reduce(function(t,n){const o="padding"+n;return t+parseFloat(e["border"+n+"Width"])+parseFloat(e[o])},0)}return er("movableAreaWidth",n),er("movableAreaHeight",o),{setContexts(e){s=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:h,_resize:p}}}(e,n);const{$listeners:a,$attrs:s,$excludeAttrs:l}=bg(),c=a.value;["onTouchstart","onTouchmove","onTouchend"].forEach(e=>{let t=c[e],n=r[`_${e}`];c[e]=t?[].concat(t,n):n}),wi(()=>{r._resize(),o.value=!0});let u=[];const d=[];function h(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n=n.el;const o=d.find(e=>n===e.rootRef.value);o&&e.push(Bn(o))}i(e)}return er("_isMounted",o),er("movableAreaRootRef",n),er("addMovableViewContext",e=>{d.push(e),h()}),er("removeMovableViewContext",e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),h())}),()=>{const e=t.default&&t.default();return u=vg(e),jr("uni-movable-area",qr({ref:n},s.value,l.value,c),[jr(ym,{onResize:r._resize},null,8,["onResize"]),u],16)}}});function wg(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const Sg=function(e,t,n,o){e.addEventListener(t,e=>{g(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())},{passive:!1})};let xg,Cg;function kg(e,t,n){Ci(()=>{document.removeEventListener("mousemove",xg),document.removeEventListener("mouseup",Cg)});let o=0,i=0,r=0,a=0;const s=function(e,n,s,l){if(!1===t({cancelable:e.cancelable,target:e.target,currentTarget:e.currentTarget,preventDefault:e.preventDefault.bind(e),stopPropagation:e.stopPropagation.bind(e),touches:e.touches,changedTouches:e.changedTouches,detail:{state:n,x:s,y:l,dx:s-o,dy:l-i,ddx:s-r,ddy:l-a,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;Sg(e,"touchstart",function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=r=e.touches[0].pageX,i=a=e.touches[0].pageY,s(e,"start",o,i)}),Sg(e,"mousedown",function(e){if(c=!0,!l&&!u)return u=e,o=r=e.pageX,i=a=e.pageY,s(e,"start",o,i)}),Sg(e,"touchmove",function(e){if(1===e.touches.length&&u){const t=s(e,"move",e.touches[0].pageX,e.touches[0].pageY);return r=e.touches[0].pageX,a=e.touches[0].pageY,t}});const d=xg=function(e){if(!l&&c&&u){const t=s(e,"move",e.pageX,e.pageY);return r=e.pageX,a=e.pageY,t}};document.addEventListener("mousemove",d),Sg(e,"touchend",function(e){if(0===e.touches.length&&u)return l=!1,u=null,s(e,"end",e.changedTouches[0].pageX,e.changedTouches[0].pageY)});const h=Cg=function(e){if(c=!1,!l&&u)return u=null,s(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",h),Sg(e,"touchcancel",function(e){if(u){l=!1;const t=u;return u=null,s(e,n?"cancel":"end",t.touches[0].pageX,t.touches[0].pageY)}})}function Ag(e,t,n){return e>t-n&&e<t+n}function Tg(e,t){return Ag(e,0,t)}function Ig(){}function Eg(e,t){this._m=e,this._f=1e3*t,this._startTime=0,this._v=0}function Bg(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}function Pg(e,t,n){this._springX=new Bg(e,t,n),this._springY=new Bg(e,t,n),this._springScale=new Bg(e,t,n),this._startTime=0}Ig.prototype.x=function(e){return Math.sqrt(e)},Eg.prototype.setV=function(e,t){const n=Math.pow(Math.pow(e,2)+Math.pow(t,2),.5);this._x_v=e,this._y_v=t,this._x_a=-this._f*this._x_v/n,this._y_a=-this._f*this._y_v/n,this._t=Math.abs(e/this._x_a)||Math.abs(t/this._y_a),this._lastDt=null,this._startTime=(new Date).getTime()},Eg.prototype.setS=function(e,t){this._x_s=e,this._y_s=t},Eg.prototype.s=function(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t,this._lastDt=e);let t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&t<this._endPositionX||this._x_a<0&&t>this._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&n<this._endPositionY||this._y_a<0&&n>this._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},Eg.prototype.ds=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),e>this._t&&(e=this._t),{dx:this._x_v+this._x_a*e,dy:this._y_v+this._y_a*e}},Eg.prototype.delta=function(){return{x:-1.5*Math.pow(this._x_v,2)/this._x_a||0,y:-1.5*Math.pow(this._y_v,2)/this._y_a||0}},Eg.prototype.dt=function(){return-this._x_v/this._x_a},Eg.prototype.done=function(){const e=Ag(this.s().x,this._endPositionX)||Ag(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},Eg.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Eg.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Bg.prototype._solve=function(e,t){const n=this._c,o=this._m,i=this._k,r=n*n-4*o*i;if(0===r){const i=-n/(2*o),r=e,a=t/(i*e);return{x:function(e){return(r+a*e)*Math.pow(Math.E,i*e)},dx:function(e){const t=Math.pow(Math.E,i*e);return i*(r+a*e)*t+a*t}}}if(r>0){const i=(-n-Math.sqrt(r))/(2*o),a=(-n+Math.sqrt(r))/(2*o),s=(t-i*e)/(a-i),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*i*t+s*a*n}}}const a=Math.sqrt(4*o*i-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+c*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(c*a*n-l*a*o)+s*t*(c*o+l*n)}}},Bg.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},Bg.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},Bg.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Tg(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(Tg(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Tg(t,.1)&&(t=0),Tg(o,.1)&&(o=0),o+=this._endPosition),this._solution&&Tg(o-e,.1)&&Tg(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},Bg.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},Bg.prototype.done=function(e){return e||(e=(new Date).getTime()),Ag(this.x(),this._endPosition,.1)&&Tg(this.dx(),.1)},Bg.prototype.reconfigure=function(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())},Bg.prototype.springConstant=function(){return this._k},Bg.prototype.damping=function(){return this._c},Bg.prototype.configuration=function(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]},Pg.prototype.setEnd=function(e,t,n,o){const i=(new Date).getTime();this._springX.setEnd(e,o,i),this._springY.setEnd(t,o,i),this._springScale.setEnd(n,o,i),this._startTime=i},Pg.prototype.x=function(){const e=((new Date).getTime()-this._startTime)/1e3;return{x:this._springX.x(e),y:this._springY.x(e),scale:this._springScale.x(e)}},Pg.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Pg.prototype.reconfigure=function(e,t,n){this._springX.reconfigure(e,t,n),this._springY.reconfigure(e,t,n),this._springScale.reconfigure(e,t,n)};function Og(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const Mg=od({name:"MovableView",props:{direction:{type:String,default:"none"},inertia:{type:[Boolean,String],default:!1},outOfBounds:{type:[Boolean,String],default:!1},x:{type:[Number,String],default:0},y:{type:[Number,String],default:0},damping:{type:[Number,String],default:20},friction:{type:[Number,String],default:2},disabled:{type:[Boolean,String],default:!1},scale:{type:[Boolean,String],default:!1},scaleMin:{type:[Number,String],default:.1},scaleMax:{type:[Number,String],default:10},scaleValue:{type:[Number,String],default:1},animation:{type:[Boolean,String],default:!0}},emits:["change","scale"],setup(e,{slots:t,emit:n}){const o=Nn(null),i=ad(o,n),{setParent:r}=function(e,t,n){const o=tr("_isMounted",Nn(!1)),i=tr("addMovableViewContext",()=>{}),r=tr("removeMovableViewContext",()=>{});let a,s,l=Nn(1),c=Nn(1),u=Nn(!1),d=Nn(0),h=Nn(0),p=null,f=null,m=!1,g=null,y=null;const b=new Ig,v=new Ig,_={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=ca(()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t}),S=new Eg(1,w.value);No(()=>e.disabled,()=>{U()});const{_updateOldScale:x,_endScale:C,_setScale:k,scaleValueSync:A,_updateBoundary:T,_updateOffset:I,_updateWH:E,_scaleOffset:B,minX:P,minY:O,maxX:M,maxY:L,FAandSFACancel:D,_getLimitXY:z,_setTransform:N,_revise:R,dampingNumber:j,xMove:$,yMove:F,xSync:H,ySync:V,_STD:W}=function(e,t,n,o,i,r,a,s,l,c){const u=ca(()=>{let t=Number(e.scaleMin);return isNaN(t)?.1:t}),d=ca(()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t}),h=Nn(Number(e.scaleValue)||1);No(h,e=>{N(e)}),No(u,()=>{z()}),No(d,()=>{z()}),No(()=>e.scaleValue,e=>{h.value=Number(e)||0});const{_updateBoundary:p,_updateOffset:f,_updateWH:m,_scaleOffset:g,minX:y,minY:b,maxX:v,maxY:_}=function(e,t,n){const o=tr("movableAreaWidth",Nn(0)),i=tr("movableAreaHeight",Nn(0)),r=tr("movableAreaRootRef"),a={x:0,y:0},s={x:0,y:0},l=Nn(0),c=Nn(0),u=Nn(0),d=Nn(0),h=Nn(0),p=Nn(0);function f(){let e=0-a.x+s.x,t=o.value-l.value-a.x-s.x;u.value=Math.min(e,t),h.value=Math.max(e,t);let n=0-a.y+s.y,r=i.value-c.value-a.y-s.y;d.value=Math.min(n,r),p.value=Math.max(n,r)}function m(){a.x=zg(e.value,r.value),a.y=Ng(e.value,r.value)}function g(o){o=o||t.value,o=n(o);let i=e.value.getBoundingClientRect();c.value=i.height/t.value,l.value=i.width/t.value;let r=c.value*o,a=l.value*o;s.x=(a-l.value)/2,s.y=(r-c.value)/2}return{_updateBoundary:f,_updateOffset:m,_updateWH:g,_scaleOffset:s,minX:u,minY:d,maxX:h,maxY:p}}(t,o,D),{FAandSFACancel:w,_getLimitXY:S,_animationTo:x,_setTransform:C,_revise:k,dampingNumber:A,xMove:T,yMove:I,xSync:E,ySync:B,_STD:P}=function(e,t,n,o,i,r,a,s,l,c,u,d,h,p){const f=ca(()=>{let e=Number(t.damping);return isNaN(e)?20:e}),m=ca(()=>"all"===t.direction||"horizontal"===t.direction),g=ca(()=>"all"===t.direction||"vertical"===t.direction),y=Nn(jg(t.x)),b=Nn(jg(t.y));No(()=>t.x,e=>{y.value=jg(e)}),No(()=>t.y,e=>{b.value=jg(e)}),No(y,e=>{k(e)}),No(b,e=>{A(e)});const v=new Pg(1,9*Math.pow(f.value,2)/40,f.value);function _(e,t){let n=!1;return e>i.value?(e=i.value,n=!0):e<a.value&&(e=a.value,n=!0),t>r.value?(t=r.value,n=!0):t<s.value&&(t=s.value,n=!0),{x:e,y:t,outOfBounds:n}}function w(){d&&d.cancel(),u&&u.cancel()}function S(e,n,i,r,a,s){w(),m.value||(e=l.value),g.value||(n=c.value),t.scale||(i=o.value);let d=_(e,n);e=d.x,n=d.y,t.animation?(v._springX._solution=null,v._springY._solution=null,v._springScale._solution=null,v._springX._endPosition=l.value,v._springY._endPosition=c.value,v._springScale._endPosition=o.value,v.setEnd(e,n,i,1),u=Rg(v,function(){let e=v.x();x(e.x,e.y,e.scale,r,a,s)},function(){u.cancel()})):x(e,n,i,r,a,s)}function x(i,r,a,s="",u,d){null!==i&&"NaN"!==i.toString()&&"number"==typeof i||(i=l.value||0),null!==r&&"NaN"!==r.toString()&&"number"==typeof r||(r=c.value||0),i=Number(i.toFixed(1)),r=Number(r.toFixed(1)),a=Number(a.toFixed(1)),l.value===i&&c.value===r||u||p("change",{},{x:Og(i,n.x),y:Og(r,n.y),source:s}),t.scale||(a=o.value),a=+(a=h(a)).toFixed(3),d&&a!==o.value&&p("scale",{},{x:i,y:r,scale:a});let f="translateX("+i+"px) translateY("+r+"px) translateZ(0px) scale("+a+")";e.value&&(e.value.style.transform=f,e.value.style.webkitTransform=f,l.value=i,c.value=r,o.value=a)}function C(e){let t=_(l.value,c.value),n=t.x,i=t.y,r=t.outOfBounds;return r&&S(n,i,o.value,e),r}function k(e){if(m.value){if(e+n.x===l.value)return l;u&&u.cancel(),S(e+n.x,b.value+n.y,o.value)}return e}function A(e){if(g.value){if(e+n.y===c.value)return c;u&&u.cancel(),S(y.value+n.x,e+n.y,o.value)}return e}return{FAandSFACancel:w,_getLimitXY:_,_animationTo:S,_setTransform:x,_revise:C,dampingNumber:f,xMove:m,yMove:g,xSync:y,ySync:b,_STD:v}}(t,e,g,o,v,_,y,b,a,s,l,c,D,n);function O(t,n){if(e.scale){t=D(t),m(t),p();const e=S(a.value,s.value),o=e.x,i=e.y;n?x(o,i,t,"",!0,!0):Dg(function(){C(o,i,t,"",!0,!0)})}}function M(){r.value=!0}function L(e){i.value=e}function D(e){return e=Math.max(.1,u.value,e),e=Math.min(10,d.value,e)}function z(){if(!e.scale)return!1;O(o.value,!0),L(o.value)}function N(t){return!!e.scale&&(O(t=D(t),!0),L(t),t)}function R(){r.value=!1,L(o.value)}function j(e){e&&(e=i.value*e,M(),O(e))}return{_updateOldScale:L,_endScale:R,_setScale:j,scaleValueSync:h,_updateBoundary:p,_updateOffset:f,_updateWH:m,_scaleOffset:g,minX:y,minY:b,maxX:v,maxY:_,FAandSFACancel:w,_getLimitXY:S,_animationTo:x,_setTransform:C,_revise:k,dampingNumber:A,xMove:T,yMove:I,xSync:E,ySync:B,_STD:P}}(e,n,t,l,c,u,d,h,p,f);function U(){u.value||e.disabled||(D(),_.historyX=[0,0],_.historyY=[0,0],_.historyT=[0,0],$.value&&(a=d.value),F.value&&(s=h.value),n.value.style.willChange="transform",g=null,y=null,m=!0)}function q(t){if(!u.value&&!e.disabled&&m){let n=d.value,o=h.value;if(null===y&&(y=Math.abs(t.detail.dx/t.detail.dy)>1?"htouchmove":"vtouchmove"),$.value&&(n=t.detail.dx+a,_.historyX.shift(),_.historyX.push(n),F.value||null!==g||(g=Math.abs(t.detail.dx/t.detail.dy)<1)),F.value&&(o=t.detail.dy+s,_.historyY.shift(),_.historyY.push(o),$.value||null!==g||(g=Math.abs(t.detail.dy/t.detail.dx)<1)),_.historyT.shift(),_.historyT.push(t.detail.timeStamp),!g){t.preventDefault();let i="touch";n<P.value?e.outOfBounds?(i="touch-out-of-bounds",n=P.value-b.x(P.value-n)):n=P.value:n>M.value&&(e.outOfBounds?(i="touch-out-of-bounds",n=M.value+b.x(n-M.value)):n=M.value),o<O.value?e.outOfBounds?(i="touch-out-of-bounds",o=O.value-v.x(O.value-o)):o=O.value:o>L.value&&(e.outOfBounds?(i="touch-out-of-bounds",o=L.value+v.x(o-L.value)):o=L.value),Dg(function(){N(n,o,l.value,i)})}}}function Q(){if(!u.value&&!e.disabled&&m&&(n.value.style.willChange="auto",m=!1,!g&&!R("out-of-bounds")&&e.inertia)){const e=1e3*(_.historyX[1]-_.historyX[0])/(_.historyT[1]-_.historyT[0]),t=1e3*(_.historyY[1]-_.historyY[0])/(_.historyT[1]-_.historyT[0]),n=d.value,o=h.value;S.setV(e,t),S.setS(n,o);const i=S.delta().x,r=S.delta().y;let a=i+n,s=r+o;a<P.value?(a=P.value,s=o+(P.value-n)*r/i):a>M.value&&(a=M.value,s=o+(M.value-n)*r/i),s<O.value?(s=O.value,a=n+(O.value-o)*i/r):s>L.value&&(s=L.value,a=n+(L.value-o)*i/r),S.setEnd(a,s),f=Rg(S,function(){let e=S.s(),t=e.x,n=e.y;N(t,n,l.value,"friction")},function(){f.cancel()})}e.outOfBounds||e.inertia||D()}function Y(){if(!o.value)return;D();let t=e.scale?A.value:1;I(),E(t),T();let n=z(H.value+B.x,V.value+B.y),i=n.x,r=n.y;N(i,r,t,"",!0),x(t)}return wi(()=>{kg(n.value,e=>{switch(e.detail.state){case"start":U();break;case"move":q(e);break;case"end":Q()}}),Y(),S.reconfigure(1,w.value),W.reconfigure(1,9*Math.pow(j.value,2)/40,j.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:Y,_endScale:C,_setScale:k};i(e),ki(()=>{r(e)})}),ki(()=>{D()}),{setParent:Y}}(e,i,o);return()=>jr("uni-movable-view",{ref:o},[jr(ym,{onResize:r},null,8,["onResize"]),t.default&&t.default()],512)}});let Lg=!1;function Dg(e){Lg||(Lg=!0,requestAnimationFrame(function(){e(),Lg=!1}))}function zg(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=zg(e.offsetParent,t):0}function Ng(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=Ng(e.offsetParent,t):0}function Rg(e,t,n){let o={id:0,cancelled:!1};return function e(t,n,o,i){if(!t||!t.cancelled){o(n);let r=n.done();r||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,i))),r&&i&&i(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}function jg(e){return/\d+[ur]px$/i.test(e)?fh(parseFloat(e)):Number(e)||0}const $g=od({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return p(e)&&e.filter(e=>"number"==typeof e).length===e.length}},indicatorStyle:{type:String,default:""},indicatorClass:{type:String,default:""},maskStyle:{type:String,default:""},maskClass:{type:String,default:""}},emits:["change","pickstart","pickend","update:value"],setup(e,{slots:t,emit:n}){const o=Nn(null),i=Nn(null),r=ad(o,n),a=function(e){const t=wn([...e.value]),n=wn({value:t,height:34});return No(()=>e.value,(e,t)=>{n.value.length=e.length,e.forEach((e,t)=>{e!==n.value[t]&&n.value.splice(t,1,e)})}),n}(e),s=Nn(null);wi(()=>{const e=s.value;e&&(a.height=e.$el.offsetHeight)});let l=Nn([]),c=Nn([]);function u(e){let t=c.value;t=t.filter(e=>e.type!==xr);let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return er("getPickerViewColumn",function(e){return ca({get(){const t=u(e.vnode);return a.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(a.value[o]!==t){a.value[o]=t;const e=a.value.map(e=>e);n("update:value",e),r("change",{},{value:e})}}})}),er("pickerViewProps",e),er("pickerViewState",a),()=>{const e=t.default&&t.default();{const t=vg(e);l.value=t,ao(()=>{c.value=t})}return jr("uni-picker-view",{ref:o},[jr(ym,{ref:s,onResize:({height:e})=>a.height=e},null,8,["onResize"]),jr("div",{ref:i,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class Fg{constructor(e){this._drag=e,this._dragLog=Math.log(e),this._x=0,this._v=0,this._startTime=0}set(e,t){this._x=e,this._v=t,this._startTime=(new Date).getTime()}setVelocityByEnd(e){this._v=(e-this._x)*this._dragLog/(Math.pow(this._drag,100)-1)}x(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._x+this._v*t/this._dragLog-this._v/this._dragLog}dx(e){void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3);const t=e===this._dt&&this._powDragDt?this._powDragDt:this._powDragDt=Math.pow(this._drag,e);return this._dt=e,this._v*t}done(){return Math.abs(this.dx())<3}reconfigure(e){const t=this.x(),n=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,n)}configuration(){const e=this;return[{label:"Friction",read:function(){return e._drag},write:function(t){e.reconfigure(t)},min:.001,max:.1,step:.001}]}}function Hg(e,t,n){return e>t-n&&e<t+n}function Vg(e,t){return Hg(e,0,t)}class Wg{constructor(e,t,n){this._m=e,this._k=t,this._c=n,this._solution=null,this._endPosition=0,this._startTime=0}_solve(e,t){const n=this._c,o=this._m,i=this._k,r=n*n-4*o*i;if(0===r){const i=-n/(2*o),r=e,a=t/(i*e);return{x:function(e){return(r+a*e)*Math.pow(Math.E,i*e)},dx:function(e){const t=Math.pow(Math.E,i*e);return i*(r+a*e)*t+a*t}}}if(r>0){const i=(-n-Math.sqrt(r))/(2*o),a=(-n+Math.sqrt(r))/(2*o),s=(t-i*e)/(a-i),l=e-s;return{x:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*t+s*n},dx:function(e){let t,n;return e===this._t&&(t=this._powER1T,n=this._powER2T),this._t=e,t||(t=this._powER1T=Math.pow(Math.E,i*e)),n||(n=this._powER2T=Math.pow(Math.E,a*e)),l*i*t+s*a*n}}}const a=Math.sqrt(4*o*i-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/a;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(a*e)+c*Math.sin(a*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(a*e),o=Math.sin(a*e);return t*(c*a*n-l*a*o)+s*t*(c*o+l*n)}}}x(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0}dx(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0}setEnd(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Vg(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(Vg(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Vg(t,.4)&&(t=0),Vg(o,.4)&&(o=0),o+=this._endPosition),this._solution&&Vg(o-e,.4)&&Vg(t,.4)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}}snap(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}}done(e){return e||(e=(new Date).getTime()),Hg(this.x(),this._endPosition,.4)&&Vg(this.dx(),.4)}reconfigure(e,t,n){this._m=e,this._k=t,this._c=n,this.done()||(this._solution=this._solve(this.x()-this._endPosition,this.dx()),this._startTime=(new Date).getTime())}springConstant(){return this._k}damping(){return this._c}configuration(){return[{label:"Spring Constant",read:this.springConstant.bind(this),write:function(e,t){e.reconfigure(1,t,e.damping())}.bind(this,this),min:100,max:1e3},{label:"Damping",read:this.damping.bind(this),write:function(e,t){e.reconfigure(1,e.springConstant(),t)}.bind(this,this),min:1,max:500}]}}class Ug{constructor(e,t,n){this._extent=e,this._friction=t||new Fg(.01),this._spring=n||new Wg(1,90,20),this._startTime=0,this._springing=!1,this._springOffset=0}snap(e,t){this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(t)}set(e,t){this._friction.set(e,t),e>0&&t>=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(0)):e<-this._extent&&t<=0?(this._springOffset=0,this._springing=!0,this._spring.snap(e),this._spring.setEnd(-this._extent)):this._springing=!1,this._startTime=(new Date).getTime()}x(e){if(!this._startTime)return 0;if(e||(e=((new Date).getTime()-this._startTime)/1e3),this._springing)return this._spring.x()+this._springOffset;let t=this._friction.x(e),n=this.dx(e);return(t>0&&n>=0||t<-this._extent&&n<=0)&&(this._springing=!0,this._spring.setEnd(0,n),t<-this._extent?this._springOffset=-this._extent:this._springOffset=0,t=this._spring.x()+this._springOffset),t}dx(e){let t;return t=this._lastTime===e?this._lastDx:this._springing?this._spring.dx(e):this._friction.dx(e),this._lastTime=e,this._lastDx=t,t}done(){return this._springing?this._spring.done():this._friction.done()}setVelocityByEnd(e){this._friction.setVelocityByEnd(e)}configuration(){const e=this._friction.configuration();return e.push.apply(e,this._spring.configuration()),e}}class qg{constructor(e,t){t=t||{},this._element=e,this._options=t,this._enableSnap=t.enableSnap||!1,this._itemSize=t.itemSize||0,this._enableX=t.enableX||!1,this._enableY=t.enableY||!1,this._shouldDispatchScrollEvent=!!t.onScroll,this._enableX?(this._extent=(t.scrollWidth||this._element.offsetWidth)-this._element.parentElement.offsetWidth,this._scrollWidth=t.scrollWidth):(this._extent=(t.scrollHeight||this._element.offsetHeight)-this._element.parentElement.offsetHeight,this._scrollHeight=t.scrollHeight),this._position=0,this._scroll=new Ug(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){let n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)<this._itemSize&&Math.abs(n.y)<300||Math.abs(n.y)<150))return void this.snap();if(this._enableX&&(Math.abs(e)<this._itemSize&&Math.abs(n.x)<300||Math.abs(n.x)<150))return void this.snap()}let o;if(this._enableX?this._scroll.set(this._position,n.x):this._enableY&&this._scroll.set(this._position,n.y),this._enableSnap){const e=this._scroll._friction.x(100),t=e%this._itemSize;o=Math.abs(t)>this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,o<=0&&o>=-this._extent&&this._scroll.setVelocityByEnd(o)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=function(e,t,n){const o={id:0,cancelled:!1};return function e(t,n,o,i){if(!t||!t.cancelled){o(n);const r=n.done();r||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,i))),r&&i&&i(n)}}(o,e,t,n),{cancel:function(e){e&&e.id&&cancelAnimationFrame(e.id),e&&(e.cancelled=!0)}.bind(null,o),model:e}}(this._scroll,()=>{const e=Date.now(),t=(e-this._scroll._startTime)/1e3,n=this._scroll.x(t);this._position=n,this.updatePosition();const o=this._scroll.dx(t);this._shouldDispatchScrollEvent&&e-this._lastTime>this._lastDelay&&(this.dispatchScroll(),this._lastDelay=Math.abs(2e3/o),this._lastTime=e)},()=>{this._enableSnap&&(o<=0&&o>=-this._extent&&(this._position=o,this.updatePosition()),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._shouldDispatchScrollEvent&&this.dispatchScroll(),this._scrolling=!1})}onTransitionEnd(){this._element.style.webkitTransition="",this._element.style.transition="",this._element.removeEventListener("transitionend",this._onTransitionEnd),this._snapping&&(this._snapping=!1),this.dispatchScroll()}snap(){const e=this._itemSize,t=this._position%e,n=Math.abs(t)>this._itemSize/2?this._position-(e-Math.abs(t)):this._position-t;this._position!==n&&(this._snapping=!0,this.scrollTo(-n),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize)))}scrollTo(e,t){this._animation&&(this._animation.cancel(),this._scrolling=!1),"number"==typeof e&&(this._position=-e),this._position<-this._extent?this._position=-this._extent:this._position>0&&(this._position=0);const n="transform "+(t||.2)+"s ease-out";this._element.style.webkitTransition="-webkit-"+n,this._element.style.transition=n,this.updatePosition(),this._element.addEventListener("transitionend",this._onTransitionEnd)}dispatchScroll(){if(g(this._options.onScroll)&&Math.round(Number(this._lastPos))!==Math.round(this._position)){this._lastPos=this._position;const e={target:{scrollLeft:this._enableX?-this._position:0,scrollTop:this._enableY?-this._position:0,scrollHeight:this._scrollHeight||this._element.offsetHeight,scrollWidth:this._scrollWidth||this._element.offsetWidth,offsetHeight:this._element.parentElement.offsetHeight,offsetWidth:this._element.parentElement.offsetWidth}};this._options.onScroll(e)}}update(e,t,n){let o=0;const i=this._position;this._enableX?(o=this._element.childNodes.length?(t||this._element.offsetWidth)-this._element.parentElement.offsetWidth:0,this._scrollWidth=t):(o=this._element.childNodes.length?(t||this._element.offsetHeight)-this._element.parentElement.offsetHeight:0,this._scrollHeight=t),"number"==typeof e&&(this._position=-e),this._position<-o?this._position=-o:this._position>0&&(this._position=0),this._itemSize=n||this._itemSize,this.updatePosition(),i!==this._position&&(this.dispatchScroll(),g(this._options.onSnap)&&this._options.onSnap(Math.floor(Math.abs(this._position)/this._itemSize))),this._extent=o,this._scroll._extent=o}updatePosition(){let e="";this._enableX?e="translateX("+this._position+"px) translateZ(0)":this._enableY&&(e="translateY("+this._position+"px) translateZ(0)"),this._element.style.webkitTransform=e,this._element.style.transform=e}isScrolling(){return this._scrolling||this._snapping}}function Qg(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new qg(e,t);function i(e){const t=e,o=e;return"move"===t.detail.state||"end"===t.detail.state?{x:t.detail.dx,y:t.detail.dy}:{x:o.screenX-n.x,y:o.screenY-n.y}}return{scroller:o,handleTouchStart:function(e){const t=e,i=e;"start"===t.detail.state?(n.trackingID="touch",n.x=t.detail.x,n.y=t.detail.y):(n.trackingID="mouse",n.x=i.screenX,n.y=i.screenY),n.maxDx=0,n.maxDy=0,n.historyX=[0],n.historyY=[0],n.historyTime=[t.detail.timeStamp||i.timeStamp],n.listener=o,o.onTouchStart&&o.onTouchStart(),("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault()},handleTouchMove:function(e){const t=e,o=e;if(-1!==n.trackingID){("boolean"!=typeof e.cancelable||e.cancelable)&&e.preventDefault();const r=i(e);if(r){for(n.maxDy=Math.max(n.maxDy,Math.abs(r.y)),n.maxDx=Math.max(n.maxDx,Math.abs(r.x)),n.historyX.push(r.x),n.historyY.push(r.y),n.historyTime.push(t.detail.timeStamp||o.timeStamp);n.historyTime.length>10;)n.historyTime.shift(),n.historyX.shift(),n.historyY.shift();n.listener&&n.listener.onTouchMove&&n.listener.onTouchMove(r.x,r.y)}}},handleTouchEnd:function(e){if(-1!==n.trackingID){e.preventDefault();const t=i(e);if(t){const e=n.listener;n.trackingID=-1,n.listener=null;const o={x:0,y:0};if(n.historyTime.length>2)for(let t=n.historyTime.length-1,i=n.historyTime[t],r=n.historyX[t],a=n.historyY[t];t>0;){t--;const e=i-n.historyTime[t];if(e>30&&e<50){o.x=(r-n.historyX[t])/(e/1e3),o.y=(a-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}const Yg=od({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=Nn(null),i=Nn(null),r=tr("getPickerViewColumn"),a=Kr(),s=r?r(a):Nn(0),l=tr("pickerViewProps"),c=tr("pickerViewState"),u=Nn(34),d=Nn(null);wi(()=>{const e=d.value;u.value=e.$el.offsetHeight});const h=ca(()=>(c.height-u.value)/2),{state:p}=og();let f;const m=wn({current:s.value,length:0});let g;function y(){f&&!g&&(g=!0,ao(()=>{g=!1;let e=Math.min(m.current,m.length-1);e=Math.max(e,0),f.update(e*u.value,void 0,u.value)}))}No(()=>s.value,e=>{e!==m.current&&(m.current=e,y())}),No(()=>m.current,e=>s.value=e),No([()=>u.value,()=>m.length,()=>c.height],y);let b=0;function v(e){const t=b+e.deltaY;if(Math.abs(t)>10){b=0;let e=Math.min(m.current+(t<0?-1:1),m.length-1);m.current=e=Math.max(e,0),f.scrollTo(e*u.value)}else b=t;e.preventDefault()}function _({clientY:e}){const t=o.value;if(!f.isScrolling()){const n=e-t.getBoundingClientRect().top-c.height/2,o=u.value/2;if(!(Math.abs(n)<=o)){const e=Math.ceil((Math.abs(n)-o)/u.value),t=n<0?-e:e;let i=Math.min(m.current+t,m.length-1);m.current=i=Math.max(i,0),f.scrollTo(i*u.value)}}}return wi(()=>{const e=o.value,t=i.value,{scroller:n,handleTouchStart:r,handleTouchMove:a,handleTouchEnd:s}=Qg(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new Fg(1e-4),spring:new Wg(2,90,20),onSnap:e=>{isNaN(e)||e===m.current||(m.current=e)}});f=n,kg(e,e=>{switch(e.detail.state){case"start":r(e);break;case"move":a(e),e.stopPropagation();break;case"end":case"cancel":s(e)}},!0),function(e){let t=0,n=0;e.addEventListener("touchstart",e=>{const o=e.changedTouches[0];t=o.clientX,n=o.clientY}),e.addEventListener("touchend",e=>{const o=e.changedTouches[0];if(Math.abs(o.clientX-t)<20&&Math.abs(o.clientY-n)<20){const t={bubbles:!0,cancelable:!0,target:e.target,currentTarget:e.currentTarget},n=new CustomEvent("click",t);["screenX","screenY","clientX","clientY","pageX","pageY"].forEach(e=>{n[e]=o[e]}),e.target.dispatchEvent(n)}})}(e),y()}),()=>{const e=t.default&&t.default();m.length=vg(e).length;const n=`${h.value}px 0`;return jr("uni-picker-view-column",{ref:o},[jr("div",{onWheel:v,onClick:_,class:"uni-picker-view-group"},[jr("div",qr(p.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${h.value}px;${l.maskStyle}`}),null,16),jr("div",qr(p.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[jr(ym,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),jr("div",{ref:i,class:["uni-picker-view-content"],style:{padding:n,"--picker-view-column-indicator-height":`${u.value}px`}},[e],4)],40,["onWheel","onClick"])],512)}}}),Gg={a:"",abbr:"",address:"",article:"",aside:"",b:"",bdi:"",bdo:["dir"],big:"",blockquote:"",br:"",caption:"",center:"",cite:"",code:"",col:["span","width"],colgroup:["span","width"],dd:"",del:"",div:"",dl:"",dt:"",em:"",fieldset:"",font:"",footer:"",h1:"",h2:"",h3:"",h4:"",h5:"",h6:"",header:"",hr:"",i:"",img:["alt","src","height","width"],ins:"",label:"",legend:"",li:"",mark:"",nav:"",ol:["start","type"],p:"",pre:"",q:"",rt:"",ruby:"",s:"",section:"",small:"",span:"",strong:"",sub:"",sup:"",table:["width"],tbody:"",td:["colspan","height","rowspan","width"],tfoot:"",th:["colspan","height","rowspan","width"],thead:"",tr:["colspan","height","rowspan","width"],tt:"",u:"",ul:""},Xg={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"â",rdquo:"â",yen:"ï¿¥",radic:"â",lceil:"â",rceil:"â",lfloor:"â",rfloor:"â",hellip:"â¦"};const Kg=(e,t,n)=>!n||p(n)&&!n.length?[]:n.map(n=>{var o;if(x(n)){if(!h(n,"type")||"node"===n.type){let i={[e]:""};const r=null==(o=n.name)?void 0:o.toLowerCase();if(!h(Gg,r))return;return function(e,t){if(x(t))for(const n in t)if(h(t,n)){const o=t[n];"img"===e&&"src"===n&&(t[n]=Gf(o))}}(r,n.attrs),i=c(i,function(e,t){if(["a","img"].includes(e.name)&&t)return{onClick:n=>{t(n,{node:e}),n.stopPropagation(),n.preventDefault(),n.returnValue=!1}}}(n,t),n.attrs),ua(n.name,i,Kg(e,t,n.children))}return"text"===n.type&&y(n.text)&&""!==n.text?Fr((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,function(e,t){return h(Xg,t)&&Xg[t]?Xg[t]:/^#[0-9]{1,4}$/.test(t)?String.fromCharCode(t.slice(1)):/^#x[0-9a-f]{1,4}$/i.test(t)?String.fromCharCode(0+t.slice(1)):e})):void 0}});function Jg(e){e=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/<!doctype.*>\n/,"").replace(/<!DOCTYPE.*>\n/,"")}(e);const t=[],n={node:"root",children:[]};return function(e,t){var n,o,i,r=[],a=e;for(r.last=function(){return this[this.length-1]};e;){if(o=!0,r.last()&&Hm[r.last()])e=e.replace(new RegExp("([\\s\\S]*?)</"+r.last()+"[^>]*>"),function(e,n){return n=n.replace(/<!--([\s\S]*?)-->|<!\[CDATA\[([\s\S]*?)]]>/g,"$1$2"),t.chars&&t.chars(n),""}),c("",r.last());else if(0==e.indexOf("\x3c!--")?(n=e.indexOf("--\x3e"))>=0&&(t.comment&&t.comment(e.substring(4,n)),e=e.substring(n+3),o=!1):0==e.indexOf("</")?(i=e.match(Dm))&&(e=e.substring(i[0].length),i[0].replace(Dm,c),o=!1):0==e.indexOf("<")&&(i=e.match(Lm))&&(e=e.substring(i[0].length),i[0].replace(Lm,l),o=!1),o){var s=(n=e.indexOf("<"))<0?e:e.substring(0,n);e=n<0?"":e.substring(n),t.chars&&t.chars(s)}if(e==a)throw"Parse Error: "+e;a=e}function l(e,n,o,i){if(n=n.toLowerCase(),Rm[n])for(;r.last()&&jm[r.last()];)c("",r.last());if($m[n]&&r.last()==n&&c("",n),(i=Nm[n]||!!i)||r.push(n),t.start){var a=[];o.replace(zm,function(e,t){var n=arguments[2]?arguments[2]:arguments[3]?arguments[3]:arguments[4]?arguments[4]:Fm[t]?t:"";a.push({name:t,value:n,escaped:n.replace(/(^|[^\\])"/g,'$1\\"')})}),t.start&&t.start(n,a,i)}}function c(e,n){if(n)for(o=r.length-1;o>=0&&r[o]!=n;o--);else var o=0;if(o>=0){for(var i=r.length-1;i>=o;i--)t.end&&t.end(r[i]);r.length=o}}c()}(e,{start:function(e,o,i){const r={name:e};if(0!==o.length&&(r.attrs=function(e){return e.reduce(function(e,t){let n=t.value;const o=t.name;return n.match(/ /)&&-1===["style","src"].indexOf(o)&&(n=n.split(" ")),e[o]?Array.isArray(e[o])?e[o].push(n):e[o]=[e[o],n]:e[o]=n,e},{})}(o)),i){const e=t[0]||n;e.children||(e.children=[]),e.children.push(r)}else t.unshift(r)},end:function(e){const o=t.shift();if(o.name!==e&&console.error("invalid state: mismatch end tag"),0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},chars:function(e){const o={type:"text",text:e};if(0===t.length)n.children.push(o);else{const e=t[0];e.children||(e.children=[]),e.children.push(o)}},comment:function(e){const n={node:"comment",text:e},o=t[0];o&&(o.children||(o.children=[]),o.children.push(n))}}),n.children}const Zg=od({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["itemclick"],setup(e,{emit:t}){const n=Kr(),o=n&&n.vnode.scopeId||"",i=Nn(null),r=Nn([]),a=ad(i,t);function s(e,t={}){a("itemclick",e,t)}return No(()=>e.nodes,function(){let t=e.nodes;y(t)&&(t=Jg(e.nodes)),r.value=Kg(o,s,t)},{immediate:!0}),()=>ua("uni-rich-text",{ref:i},ua("div",{},r.value))}}),ey=od({name:"Refresher",props:{refreshState:{type:String,default:""},refresherHeight:{type:Number,default:0},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"}},setup(e,{slots:t}){const n=Nn(null),o=ca(()=>{const t={backgroundColor:e.refresherBackground};switch(e.refreshState){case"pulling":t.height=e.refresherHeight+"px";break;case"refreshing":t.height=e.refresherThreshold+"px",t.transition="height 0.3s";break;case"":case"refresherabort":case"restore":t.height="0px",t.transition="height 0.3s"}return t}),i=ca(()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)});return()=>{const{refreshState:r,refresherDefaultStyle:a,refresherThreshold:s}=e;return jr("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==a?jr("div",{class:"uni-scroll-view-refresh"},[jr("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==r?jr("svg",{key:"refresh__icon",style:{transform:"rotate("+i.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[jr("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null),jr("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==r?jr("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[jr("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===a?jr("div",{class:"uni-scroll-view-refresher-container",style:{height:`${s}px`}},[t.default&&t.default()]):null],4)}}}),ty=Ye(!0),ny=od({name:"ScrollView",compatConfig:{MODE:3},props:{direction:{type:[String],default:"vertical"},scrollX:{type:[Boolean,String],default:!1},scrollY:{type:[Boolean,String],default:!1},showScrollbar:{type:[Boolean,String],default:!0},upperThreshold:{type:[Number,String],default:50},lowerThreshold:{type:[Number,String],default:50},scrollTop:{type:[Number,String],default:0},scrollLeft:{type:[Number,String],default:0},scrollIntoView:{type:String,default:""},scrollWithAnimation:{type:[Boolean,String],default:!1},enableBackToTop:{type:[Boolean,String],default:!1},refresherEnabled:{type:[Boolean,String],default:!1},refresherThreshold:{type:Number,default:45},refresherDefaultStyle:{type:String,default:"black"},refresherBackground:{type:String,default:"#fff"},refresherTriggered:{type:[Boolean,String],default:!1}},emits:["scroll","scrolltoupper","scrolltolower","refresherrefresh","refresherrestore","refresherpulling","refresherabort","update:refresherTriggered"],setup(e,{emit:t,slots:n,expose:o}){const i=Nn(null),r=Nn(null),a=Nn(null),s=Nn(null),l=ad(i,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=ca(()=>Number(e.scrollTop)||0),n=ca(()=>Number(e.scrollLeft)||0),o=wn({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""});return{state:o,scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:h,realScrollY:p,_scrollLeftChanged:f,_scrollTopChanged:m}=function(e,t,n,o,i,r,a,s,l){let c=!1,u=0,d=!1,h=()=>{};const p=ca(()=>e.scrollX),f=ca(()=>e.scrollY),m=ca(()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t}),g=ca(()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t});function y(e,t){const n=a.value;let o=0,i="";if(e<0?e=0:"x"===t&&e>n.scrollWidth-n.offsetWidth?e=n.scrollWidth-n.offsetWidth:"y"===t&&e>n.scrollHeight-n.offsetHeight&&(e=n.scrollHeight-n.offsetHeight),"x"===t?o=n.scrollLeft-e:"y"===t&&(o=n.scrollTop-e),0===o)return;let r=s.value;r.style.transition="transform .3s ease-out",r.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?i="translateX("+o+"px) translateZ(0)":"y"===t&&(i="translateY("+o+"px) translateZ(0)"),r.removeEventListener("transitionend",h),r.removeEventListener("webkitTransitionEnd",h),h=()=>S(e,t),r.addEventListener("transitionend",h),r.addEventListener("webkitTransitionEnd",h),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),r.style.transform=i,r.style.webkitTransform=i}function b(e){const n=e.target;i("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),f.value&&(n.scrollTop<=m.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(i("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+g.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(i("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),p.value&&(n.scrollLeft<=m.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(i("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+g.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(i("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function v(t){f.value&&(e.scrollWithAnimation?y(t,"y"):a.value.scrollTop=t)}function _(t){p.value&&(e.scrollWithAnimation?y(t,"x"):a.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=r.value.querySelector("#"+t);if(n){let t=a.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(p.value){let n=o.left-t.left,i=a.value.scrollLeft+n;e.scrollWithAnimation?y(i,"x"):a.value.scrollLeft=i}if(f.value){let n=o.top-t.top,i=a.value.scrollTop+n;e.scrollWithAnimation?y(i,"y"):a.value.scrollTop=i}}}}function S(e,t){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";let n=a.value;"x"===t?(n.style.overflowX=p.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=f.value?"auto":"hidden",n.scrollTop=e),s.value.removeEventListener("transitionend",h),s.value.removeEventListener("webkitTransitionEnd",h)}function x(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,i("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),i("refresherrefresh",{},{dy:k.y-C.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,i("refresherrestore",{},{dy:k.y-C.y})),"refresherabort"===n&&d&&(d=!1,i("refresherabort",{},{dy:k.y-C.y}))}t.refreshState=n}}let C={x:0,y:0},k={x:0,y:e.refresherThreshold};return wi(()=>{ao(()=>{v(n.value),_(o.value)}),w(e.scrollIntoView);let r=function(e){e.preventDefault(),e.stopPropagation(),b(e)},s=null,l=function(n){if(null===C)return;let o=n.touches[0].pageX,r=n.touches[0].pageY,l=a.value;if(Math.abs(o-C.x)>Math.abs(r-C.y))if(p.value){if(0===l.scrollLeft&&o>C.x)return void(s=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&o<C.x)return void(s=!1);s=!0}else s=!1;else if(f.value)if(0===l.scrollTop&&r>C.y)s=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&r<C.y)return void(s=!1);s=!0}else s=!1;if(s&&n.stopPropagation(),0===l.scrollTop&&1===n.touches.length&&x("pulling"),e.refresherEnabled&&"pulling"===t.refreshState){const o=r-C.y;0===u&&(u=r),c?(t.refresherHeight=o+e.refresherThreshold,d=!1):(t.refresherHeight=r-u,t.refresherHeight>0&&(d=!0,i("refresherpulling",n,{deltaY:o,dy:o})))}},h=function(e){1===e.touches.length&&(C={x:e.touches[0].pageX,y:e.touches[0].pageY})},m=function(n){k={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?x("refreshing"):x("refresherabort"),C={x:0,y:0},k={x:0,y:e.refresherThreshold}};a.value.addEventListener("touchstart",h,ty),a.value.addEventListener("touchmove",l,Ye(!1)),a.value.addEventListener("scroll",r,Ye(!1)),a.value.addEventListener("touchend",m,ty),Ci(()=>{a.value.removeEventListener("touchstart",h),a.value.removeEventListener("touchmove",l),a.value.removeEventListener("scroll",r),a.value.removeEventListener("touchend",m)})}),ui(()=>{f.value&&(a.value.scrollTop=t.lastScrollTop),p.value&&(a.value.scrollLeft=t.lastScrollLeft)}),No(n,e=>{v(e)}),No(o,e=>{_(e)}),No(()=>e.scrollIntoView,e=>{w(e)}),No(()=>e.refresherTriggered,e=>{!0===e?x("refreshing"):!1===e&&x("restore")}),{realScrollX:p,realScrollY:f,_scrollTopChanged:v,_scrollLeftChanged:_}}(e,c,u,d,l,i,r,s,t),g=ca(()=>{let e="";return h.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",p.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e}),y=ca(()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t});return o({$getMain:()=>r.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:h}=c;return jr("uni-scroll-view",{ref:i},[jr("div",{ref:a,class:"uni-scroll-view"},[jr("div",{ref:r,style:g.value,class:y.value},[t?jr(ey,{refreshState:h,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,jr("div",{ref:s,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});const oy=od({name:"Slider",props:{name:{type:String,default:""},min:{type:[Number,String],default:0},max:{type:[Number,String],default:100},value:{type:[Number,String],default:0},step:{type:[Number,String],default:1},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:"#e9e9e9"},backgroundColor:{type:String,default:"#e9e9e9"},activeColor:{type:String,default:"#007aff"},selectedColor:{type:String,default:"#007aff"},blockColor:{type:String,default:"#ffffff"},blockSize:{type:[Number,String],default:28},showValue:{type:[Boolean,String],default:!1}},emits:["changing","change"],setup(e,{emit:t}){const n=Nn(null),o=Nn(null),i=Nn(null),r=Nn(Number(e.value));No(()=>e.value,e=>{r.value=Number(e)});const a=ad(n,t),s=function(e,t){const n=()=>iy(t.value,e.min,e.max),o=()=>"#e9e9e9"!==e.backgroundColor?e.backgroundColor:"#007aff"!==e.color?e.color:"#007aff",i=()=>"#007aff"!==e.activeColor?e.activeColor:"#e9e9e9"!==e.selectedColor?e.selectedColor:"#e9e9e9",r={setBgColor:ca(()=>({backgroundColor:o()})),setBlockBg:ca(()=>({left:n()})),setActiveColor:ca(()=>({backgroundColor:i(),width:n()})),setBlockStyle:ca(()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:n(),backgroundColor:e.blockColor}))};return r}(e,r),{_onClick:l,_onTrack:c}=function(e,t,n,o,i){const r=n=>{e.disabled||(s(n),i("change",n,{value:t.value}))},a=t=>{const n=Number(e.max),o=Number(e.min),i=Number(e.step);return t<o?o:t>n?n:ry.mul.call(Math.round((t-o)/i),i)+o},s=i=>{const r=Number(e.max),s=Number(e.min),l=o.value,c=getComputedStyle(l,null).marginLeft;let u=l.offsetWidth;u+=parseInt(c);const d=n.value,h=d.offsetWidth-(e.showValue?u:0),p=d.getBoundingClientRect().left,f=(i.x-p)*(r-s)/h+s;t.value=a(f)},l=n=>{if(!e.disabled)return"move"===n.detail.state?(s({x:n.detail.x}),i("changing",n,{value:t.value}),!1):"end"===n.detail.state&&i("change",n,{value:t.value})},c=tr(ud,!1);if(c){const n={reset:()=>t.value=Number(e.min),submit:()=>{const n=["",null];return""!==e.name&&(n[0]=e.name,n[1]=t.value),n}};c.addField(n),Ci(()=>{c.removeField(n)})}return{_onClick:r,_onTrack:l}}(e,r,n,o,a);return wi(()=>{kg(i.value,c)}),()=>{const{setBgColor:t,setBlockBg:a,setActiveColor:c,setBlockStyle:u}=s;return jr("uni-slider",{ref:n,onClick:rd(l)},[jr("div",{class:"uni-slider-wrapper"},[jr("div",{class:"uni-slider-tap-area"},[jr("div",{style:t.value,class:"uni-slider-handle-wrapper"},[jr("div",{ref:i,style:a.value,class:"uni-slider-handle"},null,4),jr("div",{style:u.value,class:"uni-slider-thumb"},null,4),jr("div",{style:c.value,class:"uni-slider-track"},null,4)],4)]),Ho(jr("span",{ref:o,class:"uni-slider-value"},[r.value],512),[[Oa,e.showValue]])])],8,["onClick"])}}}),iy=(e,t,n)=>(n=Number(n),100*(e-(t=Number(t)))/(n-t)+"%");var ry={mul:function(e){let t=0,n=this.toString(),o=e.toString();try{t+=n.split(".")[1].length}catch(i){}try{t+=o.split(".")[1].length}catch(i){}return Number(n.replace(".",""))*Number(o.replace(".",""))/Math.pow(10,t)}};function ay(e,t,n,o,i,r){function a(){c&&(clearTimeout(c),c=null)}let s,l,c=null,u=!0,d=0,h=1,p=null,f=!1,m=0,g="";const y=ca(()=>n.value.length>t.displayMultipleItems),b=ca(()=>e.circular&&y.value);function v(i){Math.floor(2*d)===Math.floor(2*i)&&Math.ceil(2*d)===Math.ceil(2*i)||b.value&&function(o){if(!u)for(let i=n.value,r=i.length,a=o+t.displayMultipleItems,s=0;s<r;s++){const t=i[s],n=Math.floor(o/r)*r+s,l=n+r,c=n-r,u=Math.max(o-(n+1),n-a,0),d=Math.max(o-(l+1),l-a,0),h=Math.max(o-(c+1),c-a,0),p=Math.min(u,d,h),f=[n,l,c][[u,d,h].indexOf(p)];t.updatePosition(f,e.vertical)}}(i);const a="translate("+(e.vertical?"0":100*-i*h+"%")+", "+(e.vertical?100*-i*h+"%":"0")+") translateZ(0)",l=o.value;if(l&&(l.style.webkitTransform=a,l.style.transform=a),d=i,!s){if(i%1==0)return;s=i}i-=Math.floor(s);const c=n.value;i<=-(c.length-1)?i+=c.length:i>=c.length&&(i-=c.length),i=s%1>.5||s<0?i-1:i,r("transition",{},{dx:e.vertical?0:i*l.offsetWidth,dy:e.vertical?i*l.offsetHeight:0})}function _(e){const o=n.value.length;if(!o)return-1;const i=(Math.round(e)%o+o)%o;if(b.value){if(o<=t.displayMultipleItems)return 0}else if(i>o-t.displayMultipleItems)return o-t.displayMultipleItems;return i}function w(){p=null}function S(){if(!p)return void(f=!1);const e=p,o=e.toPos,i=e.acc,a=e.endTime,c=e.source,u=a-Date.now();if(u<=0){v(o),p=null,f=!1,s=null;const e=n.value[t.current];if(e){const n=e.getItemId();r("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}v(o+i*u*u/2),l=requestAnimationFrame(S)}function x(e,o,i){w();const r=t.duration,a=n.value.length;let s=d;if(b.value)if(i<0){for(;s<e;)s+=a;for(;s-a>e;)s-=a}else if(i>0){for(;s>e;)s-=a;for(;s+a<e;)s+=a;s+a-e<e-s&&(s+=a)}else{for(;s+a<e;)s+=a;for(;s-a>e;)s-=a;s+a-e<e-s&&(s+=a)}else"click"===o&&(e=e+t.displayMultipleItems-1<a?e:0);p={toPos:e,acc:2*(s-e)/(r*r),endTime:Date.now()+r,source:o},f||(f=!0,l=requestAnimationFrame(S))}function C(){a();const e=n.value,o=function(){c=null,g="autoplay",b.value?t.current=_(t.current+1):t.current=t.current+t.displayMultipleItems<e.length?t.current+1:0,x(t.current,"autoplay",b.value?1:0),c=setTimeout(o,t.interval)};u||e.length<=t.displayMultipleItems||(c=setTimeout(o,t.interval))}function k(e){e?C():a()}return No([()=>e.current,()=>e.currentItemId,()=>[...n.value]],()=>{let o=-1;if(e.currentItemId)for(let t=0,i=n.value;t<i.length;t++){if(i[t].getItemId()===e.currentItemId){o=t;break}}o<0&&(o=Math.round(e.current)||0),o=o<0?0:o,t.current!==o&&(g="",t.current=o)}),No([()=>e.vertical,()=>b.value,()=>t.displayMultipleItems,()=>[...n.value]],function(){a(),p&&(v(p.toPos),p=null);const i=n.value;for(let t=0;t<i.length;t++)i[t].updatePosition(t,e.vertical);h=1;const r=o.value;if(1===t.displayMultipleItems&&i.length){const e=i[0].getBoundingClientRect(),t=r.getBoundingClientRect();h=e.width/t.width,h>0&&h<1||(h=1)}const s=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(v(s+l-m),m=l):(v(l),e.autoplay&&C())):(u=!0,v(-t.displayMultipleItems-1))}),No(()=>t.interval,()=>{c&&(a(),C())}),No(()=>t.current,(e,o)=>{!function(e,o){const i=g;g="";const a=n.value;if(!i){const t=a.length;x(e,"",b.value&&o+(t-e)%t>t/2?1:0)}const s=a[e];if(s){const e=t.currentItemId=s.getItemId();r("change",{},{current:t.current,currentItemId:e,source:i})}}(e,o),i("update:current",e)}),No(()=>t.currentItemId,e=>{i("update:currentItemId",e)}),No(()=>e.autoplay&&!t.userTracking,k),k(e.autoplay&&!t.userTracking),wi(()=>{let i=!1,r=0,s=0;function l(e){t.userTracking=!1;const n=r/Math.abs(r);let o=0;!e&&Math.abs(r)>.2&&(o=.5*n);const i=_(d+o);e?v(m):(g="touch",t.current=i,x(i,"touch",0!==o?o:0===i&&b.value&&d>=1?1:0))}kg(o.value,c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,i=!1,a(),m=d,r=0,s=Date.now(),void w();if("end"===c.detail.state)return l(!1);if("cancel"===c.detail.state)return l(!0);if(t.userTracking){if(!i){i=!0;const n=Math.abs(c.detail.dx),o=Math.abs(c.detail.dy);if((n>=o&&e.vertical||n<=o&&!e.vertical)&&(t.userTracking=!1),!t.userTracking)return void(e.autoplay&&C())}return function(i){const a=s;s=Date.now();const l=n.value.length-t.displayMultipleItems;function c(e){return.5-.25/(e+.5)}function u(e,t){let n=m+e;r=.6*r+.4*t,b.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),r=0),v(n)}const d=s-a||1,h=o.value;e.vertical?u(-i.dy/h.offsetHeight,-i.ddy/d):u(-i.dx/h.offsetWidth,-i.ddx/d)}(c.detail),!1}}})}),ki(()=>{a(),cancelAnimationFrame(l)}),{onSwiperDotClick:function(e){x(t.current=e,g="click",b.value?1:0)},circularEnabled:b,swiperEnabled:y}}const sy=od({name:"Swiper",props:{indicatorDots:{type:[Boolean,String],default:!1},vertical:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},circular:{type:[Boolean,String],default:!1},interval:{type:[Number,String],default:5e3},duration:{type:[Number,String],default:500},current:{type:[Number,String],default:0},indicatorColor:{type:String,default:""},indicatorActiveColor:{type:String,default:""},previousMargin:{type:String,default:""},nextMargin:{type:String,default:""},currentItemId:{type:String,default:""},skipHiddenItemLayout:{type:[Boolean,String],default:!1},displayMultipleItems:{type:[Number,String],default:1},disableTouch:{type:[Boolean,String],default:!1},navigation:{type:[Boolean,String],default:!1},navigationColor:{type:String,default:"#fff"},navigationActiveColor:{type:String,default:"rgba(53, 53, 53, 0.6)"}},emits:["change","transition","animationfinish","update:current","update:currentItemId"],setup(e,{slots:t,emit:n}){const o=Nn(null),i=ad(o,n),r=Nn(null),a=Nn(null),s=function(e){return wn({interval:ca(()=>{const t=Number(e.interval);return isNaN(t)?5e3:t}),duration:ca(()=>{const t=Number(e.duration);return isNaN(t)?500:t}),displayMultipleItems:ca(()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t}),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=ca(()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:lu(e.previousMargin,!0),bottom:lu(e.nextMargin,!0)}:{top:0,bottom:0,left:lu(e.previousMargin,!0),right:lu(e.nextMargin,!0)}),t}),c=ca(()=>{const t=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}});let u=[];const d=[],h=Nn([]);function p(){const e=[];for(let t=0;t<u.length;t++){let n=u[t];n instanceof Element||(n=n.el);const o=d.find(e=>n===e.rootRef.value);o&&e.push(Bn(o))}h.value=e}er("addSwiperContext",function(e){d.push(e),p()});er("removeSwiperContext",function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())});const{onSwiperDotClick:f,circularEnabled:m,swiperEnabled:g}=ay(e,s,h,a,n,i);let y=()=>null;return y=ly(o,e,s,f,h,m,g),()=>{const n=t.default&&t.default();return u=vg(n),jr("uni-swiper",{ref:o},[jr("div",{ref:r,class:"uni-swiper-wrapper"},[jr("div",{class:"uni-swiper-slides",style:l.value},[jr("div",{ref:a,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&jr("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[h.value.map((t,n,o)=>jr("div",{onClick:()=>f(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n<s.current+s.displayMultipleItems&&n>=s.current||n<s.current+s.displayMultipleItems-o.length},style:{background:n===s.current?e.indicatorActiveColor:e.indicatorColor}},null,14,["onClick"]))],2),y()],512)],512)}}}),ly=(e,t,n,o,i,r,a)=>{let s=!1,l=!1,u=!1,d=Nn(!1);function h(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}Do(()=>{s="auto"===t.navigation,d.value=!0!==t.navigation||s,v()}),Do(()=>{const e=i.value.length,t=!r.value;l=0===n.current&&t,u=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,a.value||(l=!0,u=!0,s&&(d.value=!0))});const p={onMouseover:e=>h(e,"over"),onMouseout:e=>h(e,"out")};function f(e,t,a){if(e.stopPropagation(),a)return;const s=i.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&r.value&&(l=s-1);break;case"next":l++,l>=s&&r.value&&(l=0)}o(l)}const m=()=>fu(pu,t.navigationColor,26);let g;const y=n=>{clearTimeout(g);const{clientX:o,clientY:i}=n,{left:r,right:a,top:s,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let h=!1;if(h=t.vertical?!(i-s<u/3||l-i<u/3):!(o-r<c/3||a-o<c/3),h)return g=setTimeout(()=>{d.value=h},300);d.value=h},b=()=>{d.value=!0};function v(){e.value&&(e.value.removeEventListener("mousemove",y),e.value.removeEventListener("mouseleave",b),s&&(e.value.addEventListener("mousemove",y),e.value.addEventListener("mouseleave",b)))}return wi(v),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?jr(wr,null,[jr("div",qr({class:["uni-swiper-navigation uni-swiper-navigation-prev",c({"uni-swiper-navigation-disabled":l},e)],onClick:e=>f(e,"prev",l)},p),[m()],16,["onClick"]),jr("div",qr({class:["uni-swiper-navigation uni-swiper-navigation-next",c({"uni-swiper-navigation-disabled":u},e)],onClick:e=>f(e,"next",u)},p),[m()],16,["onClick"])]):null}},cy=od({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=Nn(null),o={rootRef:n,getItemId:()=>e.itemId,getBoundingClientRect:()=>n.value.getBoundingClientRect(),updatePosition(e,t){const o=t?"0":100*e+"%",i=t?100*e+"%":"0",r=n.value,a=`translate(${o},${i}) translateZ(0)`;r&&(r.style.webkitTransform=a,r.style.transform=a)}};return wi(()=>{const e=tr("addSwiperContext");e&&e(o)}),ki(()=>{const e=tr("removeSwiperContext");e&&e(o)}),()=>jr("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),uy=od({name:"Switch",props:{name:{type:String,default:""},checked:{type:[Boolean,String],default:!1},type:{type:String,default:"switch"},id:{type:String,default:""},disabled:{type:[Boolean,String],default:!1},color:{type:String,default:""}},emits:["change"],setup(e,{emit:t}){const n=Nn(null),o=Nn(e.checked),i=function(e,t){const n=tr(ud,!1),o=tr(dd,!1),i={submit:()=>{const n=["",null];return e.name&&(n[0]=e.name,n[1]=t.value),n},reset:()=>{t.value=!1}};n&&(n.addField(i),ki(()=>{n.removeField(i)}));return o}(e,o),r=ad(n,t);No(()=>e.checked,e=>{o.value=e});const a=t=>{e.disabled||(o.value=!o.value,r("change",t,{value:o.value}))};return i&&(i.addHandler(a),Ci(()=>{i.removeHandler(a)})),hd(e,{"label-click":a}),()=>{const{color:t,type:i}=e,r=cd(e,"disabled"),s={};let l;return t&&o.value&&(s.backgroundColor=t,s.borderColor=t),l=o.value,jr("uni-switch",qr({id:e.id,ref:n},r,{onClick:a}),[jr("div",{class:"uni-switch-wrapper"},[Ho(jr("div",{class:["uni-switch-input",[o.value?"uni-switch-input-checked":""]],style:s},null,6),[[Oa,"switch"===i]]),Ho(jr("div",{class:"uni-checkbox-input"},[l?fu(du,e.color,22):""],512),[[Oa,"checkbox"===i]])])],16,["id","onClick"])}}});const dy={ensp:"â",emsp:"â",nbsp:" "};function hy(e,t){return function(e,{space:t,decode:n}){let o="",i=!1;for(let r of e)t&&dy[t]&&" "===r&&(r=dy[t]),i?(o+="n"===r?ee:"\\"===r?"\\":"\\"+r,i=!1):"\\"===r?i=!0:o+=r;return n?o.replace(/ /g,dy.nbsp).replace(/ /g,dy.ensp).replace(/ /g,dy.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split(ee)}const py=od({name:"Text",props:{selectable:{type:[Boolean,String],default:!1},space:{type:String,default:""},decode:{type:[Boolean,String],default:!1}},setup(e,{slots:t}){const n=Nn(null);return()=>{const o=[];return t.default&&t.default().forEach(t=>{if(8&t.shapeFlag&&t.type!==xr){const n=hy(t.children,{space:e.space,decode:e.decode}),i=n.length-1;n.forEach((e,t)=>{(0!==t||e)&&o.push(Fr(e)),t!==i&&o.push(jr("br"))})}else o.push(t)}),jr("uni-text",{ref:n,selectable:!!e.selectable||null},[jr("span",null,o)],8,["selectable"])}}}),fy=c({},sg,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>gy.concat("return").includes(e)}});let my=!1;const gy=["done","go","next","search","send"];const yy=od({name:"Textarea",props:fy,emits:["confirm","linechange",...lg],setup(e,{emit:t,expose:n}){const o=Nn(null),i=Nn(null),{fieldRef:r,state:a,scopedAttrsState:s,fixDisabledColor:l,trigger:c}=dg(e,o,t),u=ca(()=>a.value.split(ee)),d=ca(()=>gy.includes(e.confirmType)),h=Nn(0),p=Nn(null);function f({height:e}){h.value=e}function m(e){"Enter"===e.key&&d.value&&e.preventDefault()}function g(t){if("Enter"===t.key&&d.value){!function(e){c("confirm",e,{value:a.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return No(()=>h.value,t=>{const n=o.value,r=p.value,a=i.value;let s=parseFloat(getComputedStyle(n).lineHeight);isNaN(s)&&(s=r.offsetHeight);var l=Math.round(t/s);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(a.style.height=t+"px")}),function(){const e="(prefers-color-scheme: dark)";my=0===String(navigator.platform).indexOf("iP")&&0===String(navigator.vendor).indexOf("Apple")&&window.matchMedia(e).media!==e}(),n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),a.value=e.value}}),()=>{let t=e.disabled&&l?jr("textarea",{key:"disabled-textarea",ref:r,value:a.value,tabindex:"-1",readonly:!!e.disabled,maxlength:a.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":my},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):jr("textarea",{key:"textarea",ref:r,value:a.value,disabled:!!e.disabled,maxlength:a.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":my},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:m,onKeyup:g},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup"]);return jr("uni-textarea",{ref:o,"auto-height":e.autoHeight},[jr("div",{ref:i,class:"uni-textarea-wrapper"},[Ho(jr("div",qr(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Oa,!a.value.length]]),jr("div",{ref:p,class:"uni-textarea-line"},[" "],512),jr("div",{class:"uni-textarea-compute"},[u.value.map(e=>jr("div",null,[e.trim()?e:"."])),jr(ym,{initial:!0,onResize:f},null,8,["initial","onResize"])]),"search"===e.confirmType?jr("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],8,["auto-height"])}}}),by=od({name:"View",props:c({},sd),setup(e,{slots:t}){const n=Nn(null),{hovering:o,binding:i}=ld(e);return()=>{const r=e.hoverClass;return r&&"none"!==r?jr("uni-view",qr({class:o.value?r:"",ref:n},i),[Pi(t,"default")],16):jr("uni-view",{ref:n},[Pi(t,"default")],512)}}});function vy(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function _y(e,t,n){e&&Bc(n||vu(),e,({type:e,data:n},o)=>{t(e,n,o)})}function wy(e,t){e&&function(e,t){t=Ec(e,t),delete Ic[t]}(t||vu(),e)}function Sy(e,t,n,o){const i=Kr().proxy;wi(()=>{_y(t||vy(i),e,o),!n&&t||No(()=>i.id,(t,n)=>{_y(vy(i,t),e,o),wy(n&&vy(i,n))})}),Ci(()=>{wy(t||vy(i),o)})}let xy=0;function Cy(e){const t=mu(),n=Kr().proxy,o=n.$options.name.toLowerCase(),i=e||n.id||"context"+xy++;return wi(()=>{n.$el.__uniContextInfo={id:i,type:o,page:t}}),`${o}.${i}`}function ky(e,t,n,o){g(t)&&bi(e,t.bind(n),o)}function Ay(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&("page"!==o||"component"!==t.renderer)&&(Object.keys(e).forEach(o=>{if(function(e,t,n=!0){return!(n&&!g(t))&&(ot.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const i=e[o];p(i)?i.forEach(e=>ky(o,e,n,t)):ky(o,i,n,t)}}),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,Cu(n,de,e),delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&Cu(n,ie)}catch(i){console.error(i.message+ee+i.stack)}}}function Ty(e,t,n){Ay(e,t,n)}function Iy(e,t,n){return e[t]=n}function Ey(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function By(e){const t=e.config.errorHandler;return function(n,o,i){t&&t(n,o,i);const r=e._instance;if(!r||!r.proxy)throw n;r[se]?Cu(r.proxy,se,n):Xn(n,0,o&&o.$.vnode,!1)}}function Py(e,t){return e?[...new Set([].concat(e,t))]:t}function Oy(e){const t=e.config;var n;t.errorHandler=rt(e,By),n=t.optionMergeStrategies,ot.forEach(e=>{n[e]=Py});const o=t.globalProperties;o.$set=Iy,o.$applyOptions=Ty,o.$callMethod=Ey,function(e){it.forEach(t=>t(e))}(e)}function My(e){const t=Ul({history:zy(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:Dy});t.beforeEach((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(Ly[n]={left:window.pageXOffset,top:window.pageYOffset}))}),e.router=t,e.use(t)}let Ly=Object.create(null);const Dy=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,Ly[o]);if(t)return t}return{left:0,top:0};var o};function zy(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=ol(e);return t.listen((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Of(),n=t.length-1,o=n-e;for(let i=n;i>o;i--){const e=Cf(t[i]);Mf(Nf(e.path,e.id),!1)}}(Math.abs(n.delta))}),t}const Ny={install(e){Oy(e),Fu(e),Ju(e),e.config.warnHandler||(e.config.warnHandler=Ry),My(e)}};function Ry(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 jy={class:"uni-async-loading"},$y=jr("i",{class:"uni-loading"},null,-1),Fy=id({name:"AsyncLoading",render:()=>(Tr(),Or("div",jy,[$y]))});function Hy(){window.location.reload()}const Vy=id({name:"AsyncError",props:["error"],setup(){mc();const{t:e}=pc();return()=>jr("div",{class:"uni-async-error",onClick:Hy},[e("uni.async.error")],8,["onClick"])}});let Wy;function Uy(){return Wy}function qy(e){Wy=e,Object.defineProperty(Wy.$.ctx,"$children",{get:()=>Of().map(e=>e.$vm)});const t=Wy.$.appContext.app;t.component(Fy.name)||t.component(Fy.name,Fy),t.component(Vy.name)||t.component(Vy.name,Vy),function(e){e.$vm=e,e.$mpType="app";const t=Nn(pc().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(Wy),function(e,t){const n=e.$options||{};n.globalData=c(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(Wy),Xu(),Pu()}function Qy(e,{clone:t,init:n,setup:o,before:i}){t&&(e=c({},e)),i&&i(e);const r=e.setup;return e.setup=(e,t)=>{const i=Kr();if(n(i.proxy),o(i),r)return r(e,t)},e}function Yy(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?Qy(e.default,t):Qy(e,t)}function Gy(e){return Yy(e,{clone:!0,init:zf,setup(e){e.$pageInstance=e;const t=vd(),n=Ke(t.query);e.attrs.__pageQuery=n,Cf(e.proxy).options=n,e.proxy.options=n;const o=yd();var i,r;return _f(o),e.onReachBottom=wn([]),e.onPageScroll=wn([]),No([e.onReachBottom,e.onPageScroll],()=>{const t=yu();e.proxy===t&&qf(e,o)},{once:!0}),_i(()=>{$f(e,o)}),wi(()=>{Ff(e);const{onReady:n}=e;n&&L(n),Zy(t)}),hi(()=>{if(!e.__isVisible){$f(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&L(n),ao(()=>{Zy(t)})}},"ba",i),function(e,t){hi(e,"bda",t)}(()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&L(t)}}}),r=o.id,H_.subscribe(Ec(r,kc),Pc),Ci(()=>{!function(e){H_.unsubscribe(Ec(e,kc)),Object.keys(Ic).forEach(t=>{0===t.indexOf(e+".")&&delete Ic[t]})}(o.id)}),n}})}function Xy(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Bb(),i=90===Math.abs(Number(window.orientation))?"landscape":"portrait";V_.emit(me,{deviceOrientation:i,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function Ky(e){x(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&V_.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function Jy(){const{emit:e}=V_;"visible"===document.visibilityState?e(Be,c({},gm)):e(Pe)}function Zy(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&Cu("onTabItemTap",{index:n,text:t,pagePath:o})}function eb(e){e=e>0&&e<1/0?e:0;const t=Math.floor(e/3600),n=Math.floor(e%3600/60),o=Math.floor(e%3600%60),i=(t<10?"0":"")+t;let r=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==i&&(r=i+":"+r),r}function tb(e,t,n){const o=wn({seeking:!1,gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0,toastThin:!1}),i={x:0,y:0};let r=null;let a;return{state:o,onTouchstart:function(e){const t=e.targetTouches[0];i.x=t.pageX,i.y=t.pageY,o.gestureType="none",o.volumeOld=0},onTouchmove:function(s){function l(){s.stopPropagation(),s.preventDefault()}n.fullscreen&&l();const c=o.gestureType;if("stop"===c)return;const u=s.targetTouches[0],d=u.pageX,h=u.pageY,p=i,f=t.value;if("progress"===c?(!function(e){const n=t.value,i=n.duration;let r=e/600*i+o.currentTimeOld;r<0?r=0:r>i&&(r=i);o.currentTimeNew=r}(d-p.x),o.seeking=!0):"volume"===c&&function(e){const n=t.value,i=o.volumeOld;let r;"number"==typeof i&&(r=i-e/200,r<0?r=0:r>1&&(r=1),clearTimeout(a),a=void 0,null==a&&(a=setTimeout(()=>{o.toastThin=!1,a=void 0},1e3)),n.volume=r,o.volumeNew=r)}(h-p.y),"none"===c)if(Math.abs(d-p.x)>Math.abs(h-p.y)){if(!e.enableProgressGesture)return void(o.gestureType="stop");o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=f.currentTime,n.fullscreen||l()}else{if(!e.pageGesture&&!e.vslideGesture)return void(o.gestureType="stop");"none"!==o.gestureType&&null!=r||(r=setTimeout(()=>{o.toastThin=!0},500)),o.gestureType="volume",o.volumeOld=f.volume,n.fullscreen||l()}},onTouchend:function(e){const n=t.value;"none"!==o.gestureType&&"stop"!==o.gestureType&&(e.stopPropagation(),e.preventDefault()),"progress"===o.gestureType&&o.currentTimeOld!==o.currentTimeNew&&(n.currentTime=o.currentTimeNew),o.gestureType="none"}}}const nb={id:{type:String,default:""},src:{type:String,default:""},duration:{type:[Number,String],default:""},controls:{type:[Boolean,String],default:!0},danmuList:{type:Array,default:()=>[]},danmuBtn:{type:[Boolean,String],default:!1},enableDanmu:{type:[Boolean,String],default:!1},autoplay:{type:[Boolean,String],default:!1},loop:{type:[Boolean,String],default:!1},muted:{type:[Boolean,String],default:!1},objectFit:{type:String,default:"contain"},poster:{type:String,default:""},direction:{type:[String,Number],default:""},showProgress:{type:Boolean,default:!0},initialTime:{type:[String,Number],default:0},showFullscreenBtn:{type:[Boolean,String],default:!0},pageGesture:{type:[Boolean,String],default:!1},vslideGesture:{type:[Boolean,String],default:!1},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},ob=od({name:"Video",props:nb,emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const i=Nn(null),r=Nn(null),a=ad(i,t),{state:s}=ng(),{$attrs:l}=bg({excludeListeners:!0});pc(),xc();const{videoRef:c,state:u,play:d,pause:h,stop:f,seek:m,playbackRate:g,toggle:y,onDurationChange:b,onLoadedMetadata:v,onProgress:_,onWaiting:w,onVideoError:S,onPlay:x,onPause:C,onEnded:k,onTimeUpdate:A}=function(e,t,n){const o=Nn(null),i=ca(()=>Gf(e.src)),r=ca(()=>"true"===e.muted||!0===e.muted),a=wn({start:!1,src:i,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:r,pauseUpdatingCurrentTime:!1});function s(e){const t=e.target,n=t.buffered;n.length&&(a.buffered=n.end(n.length-1)/t.duration*100)}function l(){o.value.pause()}function c(e){const t=o.value;"number"!=typeof(e=Number(e))||isNaN(e)||(t.currentTime=e)}return No(()=>i.value,()=>{a.playing=!1,a.currentTime=0}),No(()=>a.buffered,e=>{n("progress",{},{buffered:e})}),No(()=>r.value,e=>{o.value.muted=e}),{videoRef:o,state:a,play:function(){const e=o.value;a.start=!0,e.play()},pause:l,stop:function(){c(0),l()},seek:c,playbackRate:function(e){o.value.playbackRate=e},toggle:function(){const e=o.value;a.playing?e.pause():e.play()},onDurationChange:function({target:e}){a.duration=e.duration},onLoadedMetadata:function(t){const o=Number(e.initialTime)||0,i=t.target;o>0&&(i.currentTime=o),n("loadedmetadata",t,{width:i.videoWidth,height:i.videoHeight,duration:i.duration}),s(t)},onProgress:s,onWaiting:function(e){n("waiting",e,{})},onVideoError:function(e){a.playing=!1,n("error",e,{})},onPlay:function(e){a.start=!0,a.playing=!0,n("play",e,{})},onPause:function(e){a.playing=!1,n("pause",e,{})},onEnded:function(e){a.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target;a.pauseUpdatingCurrentTime||(a.currentTime=t.currentTime);const o=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,a),{state:T,danmuRef:I,updateDanmu:E,toggleDanmu:B,sendDanmu:P}=function(e,t){const n=Nn(null),o=wn({enable:Boolean(e.enableDanmu)});let i={time:0,index:-1};const r=p(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function a(e){const t=document.createElement("p");t.className="uni-video-danmu-item",t.innerText=e.text;let o=`bottom: ${100*Math.random()}%;color: ${e.color};`;t.setAttribute("style",o),n.value.appendChild(t),setTimeout(function(){o+="left: 0;-webkit-transform: translateX(-100%);transform: translateX(-100%);",t.setAttribute("style",o),setTimeout(function(){t.remove()},4e3)},17)}return r.sort(function(e,t){return(e.time||0)-(t.time||0)}),{state:o,danmuRef:n,updateDanmu:function(e){const n=e.target.currentTime,s=i,l={time:n,index:s.index};if(n>s.time)for(let i=s.index+1;i<r.length;i++){const e=r[i];if(!(n>=(e.time||0)))break;l.index=i,t.playing&&o.enable&&a(e)}else if(n<s.time)for(let t=s.index-1;t>-1&&n<=(r[t].time||0);t--)l.index=t-1;i=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){r.splice(i.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,u),{state:O,onFullscreenChange:M,emitFullscreenChange:L,toggleFullscreen:D,requestFullScreen:z,exitFullScreen:N}=function(e,t,n,o,i){const r=wn({fullscreen:!1}),a=/^Apple/.test(navigator.vendor);function s(t){r.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const r=i.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||a&&!o.userAction?c.webkitEnterFullScreen?c.webkitEnterFullScreen():(u=!0,l.remove(),l.classList.add("uni-video-type-fullscreen"),document.body.appendChild(l)):l[document.fullscreenEnabled?"requestFullscreen":"webkitRequestFullscreen"]():document.fullscreenEnabled||document.webkitFullscreenEnabled?document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement&&document.webkitExitFullscreen():c.webkitExitFullScreen?c.webkitExitFullScreen():(u=!0,l.remove(),l.classList.remove("uni-video-type-fullscreen"),r.appendChild(l)),u&&s(e)}function c(){l(!1)}return Ci(c),{state:r,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||s(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:s,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(a,r,c,s,i),{state:R,onTouchstart:j,onTouchend:$,onTouchmove:F}=tb(e,c,O),{state:H,progressRef:V,ballRef:W,clickProgress:U,toggleControls:q,autoHideEnd:Q,autoHideStart:Y}=function(e,t,n,o){const i=Nn(null),r=Nn(null),a=ca(()=>e.showCenterPlayBtn&&!t.start),s=Nn(!0),l=ca(()=>!a.value&&e.controls&&s.value),c=wn({seeking:!1,touching:!1,controlsTouching:!1,centerPlayBtnShow:a,controlsShow:l,controlsVisible:s});let u;function d(){u=setTimeout(()=>{c.controlsVisible=!1},3e3)}function h(){u&&(clearTimeout(u),u=null)}return Ci(()=>{u&&clearTimeout(u)}),No(()=>c.controlsShow&&t.playing&&!c.controlsTouching,e=>{e?d():h()}),wi(()=>{const e=Ye(!1);let a,s,l,u=!0;const d=r.value;function h(e){const n=e.targetTouches[0],r=n.pageX,d=n.pageY;if(u&&Math.abs(r-a)<Math.abs(d-s))return void p(e);u=!1;const h=i.value.offsetWidth;let f=l+(r-a)/h*100;f<0?f=0:f>100&&(f=100),t.progress=f,null==o||o(t.duration*f/100),c.seeking=!0,e.preventDefault(),e.stopPropagation()}function p(o){c.controlsTouching=!1,c.touching&&(d.removeEventListener("touchmove",h,e),u||(o.preventDefault(),o.stopPropagation(),n(t.duration*t.progress/100)),c.touching=!1)}d.addEventListener("touchstart",n=>{c.controlsTouching=!0;const o=n.targetTouches[0];a=o.pageX,s=o.pageY,l=t.progress,u=!0,c.touching=!0,d.addEventListener("touchmove",h,e)}),d.addEventListener("touchend",p),d.addEventListener("touchcancel",p)}),{state:c,progressRef:i,ballRef:r,clickProgress:function(e){const o=i.value;let r=e.target,a=e.offsetX;for(;r&&r!==o;)a+=r.offsetLeft,r=r.parentNode;const s=o.offsetWidth;let l=0;a>=0&&a<=s&&(l=a/s,n(t.duration*l))},toggleControls:function(){c.controlsVisible=!c.controlsVisible},autoHideStart:d,autoHideEnd:h}}(e,u,m,e=>{R.currentTimeNew=e});!function(e,t,n,o,i,r,a,s){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:i,playbackRate:r,requestFullScreen:a,exitFullScreen:s};Sy((e,t)=>{let n;switch(e){case"seek":n=t.position;break;case"sendDanmu":n=t;break;case"playbackRate":n=t.rate}e in l&&l[e](n)},Cy(),!0)}(d,h,f,m,P,g,z,N);const G=function(e,t,n){const o=ca(()=>"progress"===t.gestureType||n.touching);return No(o,o=>{e.pauseUpdatingCurrentTime=o,n.controlsTouching=o,"progress"===t.gestureType&&o&&(n.controlsVisible=o)}),No([()=>e.currentTime,()=>{nb.duration}],()=>{e.progress=e.currentTime/e.duration*100}),No(()=>t.currentTimeNew,t=>{e.currentTime=t}),o}(u,R,H);return()=>jr("uni-video",{ref:i,id:e.id,onClick:q},[jr("div",{ref:r,class:"uni-video-container",onTouchstart:j,onTouchend:$,onTouchmove:F,onFullscreenchange:ls(M,["stop"]),onWebkitfullscreenchange:ls(e=>M(e,!0),["stop"])},[jr("video",qr({ref:c,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:u.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onDurationchange:b,onLoadedmetadata:v,onProgress:_,onWaiting:w,onError:S,onPlay:x,onPause:C,onEnded:k,onTimeupdate:e=>{A(e),E(e)},onWebkitbeginfullscreen:()=>L(!0),onX5videoenterfullscreen:()=>L(!0),onWebkitendfullscreen:()=>L(!1),onX5videoexitfullscreen:()=>L(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),Ho(jr("div",{class:"uni-video-bar uni-video-bar-full",onClick:ls(()=>{},["stop"])},[jr("div",{class:"uni-video-controls"},[Ho(jr("div",{class:{"uni-video-icon":!0,"uni-video-control-button":!0,"uni-video-control-button-play":!u.playing,"uni-video-control-button-pause":u.playing},onClick:ls(y,["stop"])},null,10,["onClick"]),[[Oa,e.showPlayBtn]]),Ho(jr("div",{class:"uni-video-current-time"},[eb(u.currentTime)],512),[[Oa,e.showProgress]]),Ho(jr("div",{ref:V,class:"uni-video-progress-container",onClick:ls(U,["stop"])},[jr("div",{class:{"uni-video-progress":!0,"uni-video-progress-progressing":G.value}},[jr("div",{style:{width:u.buffered-u.progress+"%",left:u.progress+"%"},class:"uni-video-progress-buffered"},null,4),jr("div",{style:{width:u.progress+"%"},class:"uni-video-progress-played"},null,4),jr("div",{ref:W,style:{left:u.progress+"%"},class:{"uni-video-ball":!0,"uni-video-ball-progressing":G.value}},[jr("div",{class:"uni-video-inner"},null)],6)],2)],8,["onClick"]),[[Oa,e.showProgress]]),Ho(jr("div",{class:"uni-video-duration"},[eb(Number(e.duration)||u.duration)],512),[[Oa,e.showProgress]])]),Ho(jr("div",{class:{"uni-video-icon":!0,"uni-video-danmu-button":!0,"uni-video-danmu-button-active":T.enable},onClick:ls(B,["stop"])},null,10,["onClick"]),[[Oa,e.danmuBtn]]),Ho(jr("div",{class:{"uni-video-icon":!0,"uni-video-fullscreen":!0,"uni-video-type-fullscreen":O.fullscreen},onClick:ls(()=>D(!O.fullscreen),["stop"])},null,10,["onClick"]),[[Oa,e.showFullscreenBtn]])],8,["onClick"]),[[Oa,H.controlsShow]]),Ho(jr("div",{ref:I,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Oa,u.start&&T.enable]]),H.centerPlayBtnShow&&jr("div",{class:"uni-video-cover",onClick:ls(()=>{},["stop"])},[jr("div",{class:"uni-video-cover-play-button uni-video-icon",onClick:ls(d,["stop"])},null,8,["onClick"])],8,["onClick"]),jr("div",{class:"uni-video-loading"},["volume"===R.gestureType?jr("div",{class:{"uni-video-toast-container":!0,"uni-video-toast-container-thin":R.toastThin},style:{marginTop:"5px"}},[!R.toastThin&&R.volumeNew>0&&"volume"===R.gestureType?jr("text",{class:"uni-video-icon uni-video-toast-icon"},[""]):!R.toastThin&&jr("text",{class:"uni-video-icon uni-video-toast-icon"},[""]),jr("div",{class:"uni-video-toast-draw",style:{width:100*R.volumeNew+"%"}},null)],2):null]),jr("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":G.value}},[jr("div",{class:"uni-video-toast-title"},[jr("span",{class:"uni-video-toast-title-current-time"},[eb(R.currentTimeNew)])," / ",Number(e.duration)||eb(u.duration)])],2),jr("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}});let ib,rb=0;function ab(e,t,n,o){var i,r=document.createElement("script"),a=t.callback||"callback",s="__uni_jsonp_callback_"+rb++,l=t.timeout||3e4;function c(){clearTimeout(i),delete window[s],r.remove()}window[s]=e=>{g(n)&&n(e),c()},r.onerror=()=>{g(o)&&o(),c()},i=setTimeout(function(){g(o)&&o(),c()},l),r.src=e+(e.indexOf("?")>=0?"&":"?")+a+"="+s,document.body.appendChild(r)}function sb(e){function t(){const e=this.div;this.getPanes().floatPane.appendChild(e)}function n(){const e=this.div.parentNode;e&&e.removeChild(this.div)}function o(){const t=this.option;this.Text=new e.Text({text:t.content,anchor:"bottom-center",offset:new e.Pixel(0,t.offsetY-16),style:{padding:(t.padding||8)+"px","line-height":(t.fontSize||14)+"px","border-radius":(t.borderRadius||0)+"px","border-color":`${t.bgColor||"#fff"} transparent transparent`,"background-color":t.bgColor||"#fff","box-shadow":"0 2px 6px 0 rgba(114, 124, 245, .5)","text-align":"center","font-size":(t.fontSize||14)+"px",color:t.color||"#000"},position:t.position});(e.event||e.Event).addListener(this.Text,"click",()=>{this.callback()}),this.Text.setMap(t.map)}function i(){}function r(){this.Text&&this.option.map.remove(this.Text)}function a(){this.Text&&this.option.map.remove(this.Text)}class s{constructor(e={},s){this.createAMapText=o,this.removeAMapText=r,this.createBMapText=i,this.removeBMapText=a,this.onAdd=t,this.construct=t,this.onRemove=n,this.destroy=n,this.option=e||{};const l=this.visible=this.alwaysVisible="ALWAYS"===e.display;if(mb())this.callback=s,this.visible&&this.createAMapText();else if(gb())this.visible&&this.createBMapText();else{const t=e.map;this.position=e.position,this.index=1;const n=this.div=document.createElement("div"),o=n.style;o.position="absolute",o.whiteSpace="nowrap",o.transform="translateX(-50%) translateY(-100%)",o.zIndex="1",o.boxShadow=e.boxShadow||"none",o.display=l?"block":"none";const i=this.triangle=document.createElement("div");i.setAttribute("style","position: absolute;white-space: nowrap;border-width: 4px;border-style: solid;border-color: #fff transparent transparent;border-image: initial;font-size: 12px;padding: 0px;background-color: transparent;width: 0px;height: 0px;transform: translate(-50%, 100%);left: 50%;bottom: 0;"),this.setStyle(e),n.appendChild(i),t&&this.setMap(t)}}set onclick(e){this.div.onclick=e}get onclick(){return this.div.onclick}setOption(e){this.option=e,"ALWAYS"===e.display?this.alwaysVisible=this.visible=!0:this.alwaysVisible=!1,mb()?this.visible&&this.createAMapText():gb()?this.visible&&this.createBMapText():(this.setPosition(e.position),this.setStyle(e))}setStyle(e){const t=this.div,n=t.style;t.innerText=e.content||"",n.lineHeight=(e.fontSize||14)+"px",n.fontSize=(e.fontSize||14)+"px",n.padding=(e.padding||8)+"px",n.color=e.color||"#000",n.borderRadius=(e.borderRadius||0)+"px",n.backgroundColor=e.bgColor||"#fff",n.marginTop="-"+((e.top||0)+5)+"px",this.triangle.style.borderColor=`${e.bgColor||"#fff"} transparent transparent`}setPosition(e){this.position=e,this.draw()}draw(){const e=this.getProjection();if(!this.position||!this.div||!e)return;const t=e.fromLatLngToDivPixel(this.position),n=this.div.style;n.left=t.x+"px",n.top=t.y+"px"}changed(){this.div.style.display=this.visible?"block":"none"}}if(!mb()&&!gb()){const t=new(e.OverlayView||e.Overlay);s.prototype.setMap=t.setMap,s.prototype.getMap=t.getMap,s.prototype.getPanes=t.getPanes,s.prototype.getProjection=t.getProjection,s.prototype.map_changed=t.map_changed,s.prototype.set=t.set,s.prototype.get=t.get,s.prototype.setOptions=t.setValues,s.prototype.bindTo=t.bindTo,s.prototype.bindsTo=t.bindsTo,s.prototype.notify=t.notify,s.prototype.setValues=t.setValues,s.prototype.unbind=t.unbind,s.prototype.unbindAll=t.unbindAll,s.prototype.addListener=t.addListener}return s}const lb={};function cb(e,t){const n=hb();if(!n.key)return void console.error("Map key not configured.");const o=lb[n.type]=lb[n.type]||[];if(ib)t(ib);else if(window[n.type]&&window[n.type].maps)ib=mb()||gb()?window[n.type]:window[n.type].maps,ib.Callout=ib.Callout||sb(ib),t(ib);else if(o.length)o.push(t);else{o.push(t);const i=window,r="__map_callback__"+n.type;i[r]=function(){delete i[r],ib=mb()||gb()?window[n.type]:window[n.type].maps,ib.Callout=sb(ib),o.forEach(e=>e(ib)),o.length=0},mb()&&function(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}(n);const a=document.createElement("script");let s=ub(n.type);n.type===db.QQ&&e.push("geometry"),e.length&&(s+=`libraries=${e.join("%2C")}&`),n.type===db.BMAP?a.src=`${s}ak=${n.key}&callback=${r}`:a.src=`${s}key=${n.key}&callback=${r}`,a.onerror=function(){console.error("Map load failed.")},document.body.appendChild(a)}}const ub=e=>({qq:"https://map.qq.com/api/js?v=2.exp&",google:"https://maps.googleapis.com/maps/api/js?",AMap:"https://webapi.amap.com/maps?v=2.0&",BMapGL:"https://api.map.baidu.com/api?type=webgl&v=1.0&"}[e]);var db=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.BMAP="BMapGL",e.UNKNOWN="",e))(db||{});function hb(){return __uniConfig.bMapKey?{type:"BMapGL",key:__uniConfig.bMapKey}:__uniConfig.qqMapKey?{type:"qq",key:__uniConfig.qqMapKey}:__uniConfig.googleMapKey?{type:"google",key:__uniConfig.googleMapKey}:__uniConfig.aMapKey?{type:"AMap",key:__uniConfig.aMapKey,securityJsCode:__uniConfig.aMapSecurityJsCode,serviceHost:__uniConfig.aMapServiceHost}:{type:"",key:""}}let pb=!1,fb=!1;const mb=()=>fb?pb:(fb=!0,pb="AMap"===hb().type),gb=()=>"BMapGL"===hb().type;const yb=ih("makePhoneCall",({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t())),bb="__DC_STAT_UUID",vb=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let _b;function wb(){if(_b=_b||vb[bb],!_b){_b=Date.now()+""+Math.floor(1e7*Math.random());try{vb[bb]=_b}catch(e){}}return _b}function Sb(){if(!0!==__uniConfig.darkmode)return y(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function xb(){let e,t="0",n="",o="phone";const i=navigator.language;if(Jf){e="iOS";const o=Xf.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const i=Xf.match(/\(([a-zA-Z]+);/);i&&(n=i[1])}else if(Kf){e="Android";const o=Xf.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const i=Xf.match(/\((.+?)\)/),r=i?i[1].split(";"):Xf.split(" "),a=[/\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;e<r.length;e++){const t=r[e];if(t.indexOf("Build")>0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e<a.length;e++)if(a[e].test(t)){o=!0;break}if(!o){n=t.trim();break}}}else if(nm){if(n="iPad",e="iOS",o="pad",t=g(window.BigInt)?"14.0":"13.0",14===parseInt(t)){const e=Xf.match(/Version\/(\S*)\b/);e&&(t=e[1])}}else if(Zf||em||tm){n="PC",e="PC",o="pc",t="0";let i=Xf.match(/\((.+?)\)/)[1];if(Zf){switch(e="Windows",Zf[1]){case"5.1":t="XP";break;case"6.0":t="Vista";break;case"6.1":t="7";break;case"6.2":t="8";break;case"6.3":t="8.1";break;case"10.0":t="10"}const n=i&&i.match(/[Win|WOW]([\d]+)/);n&&(t+=` x${n[1]}`)}else if(em){e="macOS";const n=i&&i.match(/Mac OS X (.+)/)||"";t&&(t=n[1].replace(/_/g,"."),-1!==t.indexOf(";")&&(t=t.split(";")[0]))}else if(tm){e="Linux";const n=i&&i.match(/Linux (.*)/)||"";n&&(t=n[1],-1!==t.indexOf(";")&&(t=t.split(";")[0]))}}else e="Other",t="0",o="unknown";const r=`${e} ${t}`,a=e.toLowerCase();let s="",l=String(function(){const e=navigator.userAgent,t=e.indexOf("compatible")>-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)s="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n<e.length;n++){const o=e[n],i=new RegExp(`(${o})/(\\S*)\\b`);i.test(Xf)&&(s=t[n],l=Xf.match(i)[2])}}let c="portrait";const u=void 0===window.screen.orientation?window.orientation:window.screen.orientation.angle;return c=90===Math.abs(u)?"landscape":"portrait",{deviceBrand:void 0,brand:void 0,deviceModel:n,deviceOrientation:c,model:n,system:r,platform:a,browserName:s.toLowerCase(),browserVersion:l,language:i,deviceType:o,ua:Xf,osname:e,osversion:t,theme:Sb()}}const Cb=oh(0,()=>{const e=window.devicePixelRatio,t=om(),n=im(t),o=rm(t,n),i=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),r=am(o);let a=window.innerHeight;const s=Jc.top,l={left:Jc.left,right:r-Jc.right,top:Jc.top,bottom:a-Jc.bottom,width:r-Jc.left-Jc.right,height:a-Jc.top-Jc.bottom},{top:c,bottom:u}=ou();return a-=c,a-=u,{windowTop:c,windowBottom:u,windowWidth:r,windowHeight:a,pixelRatio:e,screenWidth:o,screenHeight:i,statusBarHeight:s,safeArea:l,safeAreaInsets:{top:Jc.top,right:Jc.right,bottom:Jc.bottom,left:Jc.left},screenTop:i-a}});let kb,Ab=!0;function Tb(){Ab&&(kb=xb())}const Ib=oh(0,()=>{Tb();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:i,system:r,deviceOrientation:a,deviceType:s,osname:l,osversion:u}=kb;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:wb(),deviceOrientation:a,deviceType:s,model:o,platform:i,system:r,osName:l?l.toLowerCase():void 0,osVersion:u})}),Eb=oh(0,()=>{Tb();const{theme:e,language:t,browserName:n,browserVersion:o}=kb;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:cp?cp():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:"",uniPlatform:"web",isUniAppX:!1,uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion},{})}),Bb=oh(0,()=>{Ab=!0,Tb(),Ab=!1;const e=Cb(),t=Ib(),n=Eb();Ab=!0;const{ua:o,browserName:i,browserVersion:r,osname:a,osversion:s}=kb,l=c(e,t,n,{ua:o,browserName:i,browserVersion:r,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:a.toLowerCase(),osVersion:s,osLanguage:void 0,osTheme:void 0});return delete l.screenTop,delete l.enableDebug,__uniConfig.darkmode||delete l.theme,function(e){let t={};return x(e)&&Object.keys(e).sort().forEach(n=>{const o=n;t[o]=e[o]}),Object.keys(t)?t:e}(l)}),Pb="onNetworkStatusChange";function Ob(){Db().then(({networkType:e})=>{V_.invokeOnCallback(Pb,{isConnected:"none"!==e,networkType:e})})}function Mb(){return navigator.connection||navigator.webkitConnection||navigator.mozConnection}const Lb=eh(Pb,()=>{const e=Mb();e?e.addEventListener("change",Ob):(window.addEventListener("offline",Ob),window.addEventListener("online",Ob))}),Db=ih("getNetworkType",(e,{resolve:t})=>{const n=Mb();let o="unknown";return n?(o=n.type,"cellular"===o&&n.effectiveType?o=n.effectiveType.replace("slow-",""):!o&&n.effectiveType?o=n.effectiveType:["none","wifi"].includes(o)||(o="unknown")):!1===navigator.onLine&&(o="none"),t({networkType:o})});const zb=ih("setClipboardData",(e,t)=>{return n=void 0,o=[e,t],i=function*({data:e},{resolve:t,reject:n}){try{yield navigator.clipboard.writeText(e),t()}catch(o){!function(e,t,n){const o=document.getElementById("#clipboard");o&&o.remove();const i=document.createElement("textarea");i.setAttribute("inputmode","none"),i.id="#clipboard",i.style.position="fixed",i.style.top="-9999px",i.style.zIndex="-9999",document.body.appendChild(i),i.value=e,i.select(),i.setSelectionRange(0,i.value.length);const r=document.execCommand("Copy",!1);i.blur(),r?t():n()}(e,t,n)}},new Promise((e,t)=>{var r=e=>{try{s(i.next(e))}catch(n){t(n)}},a=e=>{try{s(i.throw(e))}catch(n){t(n)}},s=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,a);s((i=i.apply(n,o)).next())});var n,o,i},0,hp);const Nb=oh(0,(e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)}),Rb=ih("setStorage",({key:e,data:t},{resolve:n,reject:o})=>{try{Nb(e,t),n()}catch(i){o(i.message)}});function jb(e){const t=localStorage&&localStorage.getItem(e);if(!y(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=y(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 $b=oh(0,e=>{try{return jb(e)}catch(t){return""}}),Fb=oh(0,e=>{localStorage&&localStorage.removeItem(e)}),Hb=oh(0,()=>{localStorage&&localStorage.clear()}),Vb=ih("openDocument",({filePath:e},{resolve:t})=>(window.open(e),t()),0,pp),Wb=ih("hideKeyboard",(e,{resolve:t,reject:n})=>{const o=document.activeElement;!o||"TEXTAREA"!==o.tagName&&"INPUT"!==o.tagName||(o.blur(),t())});const Ub=ih("getImageInfo",({src:e},{resolve:t,reject:n})=>{const o=new Image;o.onload=function(){t({width:o.naturalWidth,height:o.naturalHeight,path:0===e.indexOf("/")?window.location.protocol+"//"+window.location.host+e:e})},o.onerror=function(){n()},o.src=e},0,_p),qb={image:{jpg:"jpeg",jpe:"jpeg",pbm:"x-portable-bitmap",pgm:"x-portable-graymap",pnm:"x-portable-anymap",ppm:"x-portable-pixmap",psd:"vnd.adobe.photoshop",pic:"x-pict",rgb:"x-rgb",svg:"svg+xml",svgz:"svg+xml",tif:"tiff",xif:"vnd.xiff",wbmp:"vnd.wap.wbmp",wdp:"vnd.ms-photo",xbm:"x-xbitmap",ico:"x-icon"},video:{"3g2":"3gpp2","3gp":"3gpp",avi:"x-msvideo",f4v:"x-f4v",flv:"x-flv",jpgm:"jpm",jpgv:"jpeg",m1v:"mpeg",m2v:"mpeg",mpe:"mpeg",mpg:"mpeg",mpg4:"mpeg",m4v:"x-m4v",mkv:"x-matroska",mov:"quicktime",qt:"quicktime",movie:"x-sgi-movie",mp4v:"mp4",ogv:"ogg",smv:"x-smv",wm:"x-ms-wm",wmv:"x-ms-wmv",wmx:"x-ms-wmx",wvx:"x-ms-wvx"}};function Qb({count:e,sourceType:t,type:n,extension:o}){eg();const i=document.createElement("input");return i.type="file",function(e,t){for(const n in t)e.style[n]=t[n]}(i,{position:"absolute",visibility:"hidden",zIndex:"-999",width:"0",height:"0",top:"0",left:"0"}),i.accept=o.map(e=>{if("all"!==n){const t=e.replace(".","");return`${n}/${qb[n][t]||t}`}return function(){const e=window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i);return!(!e||"micromessenger"!==e[0])}()?".":0===e.indexOf(".")?e:`.${e}`}).join(","),e&&e>1&&(i.multiple=!0),"all"!==n&&t instanceof Array&&1===t.length&&"camera"===t[0]&&i.setAttribute("capture","camera"),i}let Yb=null;const Gb=ih("chooseFile",({count:e,sourceType:t,type:n,extension:o},{resolve:i,reject:r})=>{_c();const{t:a}=pc();Yb&&(document.body.removeChild(Yb),Yb=null),Yb=Qb({count:e,sourceType:t,type:n,extension:o}),document.body.appendChild(Yb),Yb.addEventListener("cancel",()=>{r("chooseFile:fail cancel")}),Yb.addEventListener("change",function(t){const n=t.target,o=[];if(n&&n.files){const t=n.files.length;for(let i=0;i<t;i++){const t=n.files[i];let r;Object.defineProperty(t,"path",{get:()=>(r=r||pm(t),r)}),i<e&&o.push(t)}}i({get tempFilePaths(){return o.map(({path:e})=>e)},tempFiles:o})}),Yb.click(),tg()||console.warn(a("uni.chooseFile.notUserActivation"))},0,vp);let Xb=null;const Kb=ih("chooseImage",({count:e,sourceType:t,extension:n},{resolve:o,reject:i})=>{_c();const{t:r}=pc();Xb&&(document.body.removeChild(Xb),Xb=null),Xb=Qb({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(Xb),Xb.addEventListener("cancel",()=>{i("chooseImage:fail cancel")}),Xb.addEventListener("change",function(t){const n=t.target,i=[];if(n&&n.files){const t=n.files.length;for(let o=0;o<t;o++){const t=n.files[o];let r;Object.defineProperty(t,"path",{get:()=>(r=r||pm(t),r)}),o<e&&i.push(t)}}o({get tempFilePaths(){return i.map(({path:e})=>e)},tempFiles:i})}),Xb.click(),tg()||console.warn(r("uni.chooseFile.notUserActivation"))},0,gp),Jb={esc:["Esc","Escape"],enter:["Enter"]},Zb=Object.keys(Jb);function ev(){const e=Nn(""),t=Nn(!1),n=n=>{if(t.value)return;const o=Zb.find(e=>-1!==Jb[e].indexOf(n.key));o&&(e.value=o),ao(()=>e.value="")};return wi(()=>{document.addEventListener("keyup",n)}),Ci(()=>{document.removeEventListener("keyup",n)}),{key:e,disable:t}}const tv=jr("div",{class:"uni-mask"},null,-1);function nv(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),ds(ti({setup:()=>()=>(Tr(),Or(e,t,null,16))}))}function ov(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function iv(e,{onEsc:t,onEnter:n}){const o=Nn(e.visible),{key:i,disable:r}=ev();return No(()=>e.visible,e=>o.value=e),No(()=>o.value,e=>r.value=!e),Do(()=>{const{value:e}=i;"esc"===e?t&&t():"enter"===e&&n&&n()}),o}let rv=0,av="";function sv(e){let t=rv;rv+=e?1:-1,rv=Math.max(0,rv),rv>0?0===t&&(av=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=av,av="")}const lv=id({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=wn({direction:"none"});let n=1,o=0,i=0,r=0,a=0;function s({detail:e}){n=e.scale}function l(e){const t=e.target.getBoundingClientRect();o=t.width,i=t.height}function c(e){const t=e.target.getBoundingClientRect();r=t.width,a=t.height,d(e)}function u(e){const s=n*o>r,l=n*i>a;t.direction=s&&l?"all":s?"horizontal":l?"vertical":"none",d(e)}function d(e){"all"!==t.direction&&"horizontal"!==t.direction||e.stopPropagation()}return()=>{const n={position:"absolute",left:"0",top:"0",width:"100%",height:"100%"};return jr(_g,{style:n,onTouchstart:rd(c),onTouchmove:rd(d),onTouchend:rd(u)},{default:()=>[jr(Mg,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:s},{default:()=>[jr("img",{src:e.src,style:{position:"absolute",left:"50%",top:"50%",transform:"translate(-50%, -50%)",maxHeight:"100%",maxWidth:"100%"},onLoad:l},null,40,["src","onLoad"])]},8,["style","direction","inertia","scale","onScale"])]},8,["style","onTouchstart","onTouchmove","onTouchend"])}}});function cv(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const uv=id({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){wi(()=>sv(!0)),ki(()=>sv(!1));const n=Nn(null),o=Nn(cv(e));let i;function r(){i||ao(()=>{t("close")})}function a(e){o.value=e.detail.current}No(()=>e.current,()=>o.value=cv(e)),wi(()=>{const e=n.value;let t=0,o=0;e.addEventListener("mousedown",e=>{i=!1,t=e.clientX,o=e.clientY}),e.addEventListener("mouseup",e=>{(Math.abs(e.clientX-t)>20||Math.abs(e.clientY-o)>20)&&(i=!0)})});const s={position:"absolute","box-sizing":"border-box",top:"0",right:"0",width:"60px",height:"44px",padding:"6px","line-height":"32px","font-size":"26px",color:"white","text-align":"center",cursor:"pointer"};return()=>{let t;return jr("div",{ref:n,style:{display:"block",position:"fixed",left:"0",top:"0",width:"100%",height:"100%",zIndex:999,background:"rgba(0,0,0,0.8)"},onClick:r},[jr(sy,{navigation:"auto",current:o.value,onChange:a,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(i=t=e.urls.map(e=>jr(cy,null,{default:()=>[jr(lv,{src:e},null,8,["src"])]})),"function"==typeof i||"[object Object]"===Object.prototype.toString.call(i)&&!Mr(i)?t:{default:()=>[t],_:1}),8,["current","onChange"]),jr("div",{style:s},[fu("M17.25 16.156l7.375-7.313q0.281-0.281 0.281-0.641t-0.281-0.641q-0.25-0.25-0.625-0.25t-0.625 0.25l-7.375 7.344-7.313-7.344q-0.25-0.25-0.625-0.25t-0.625 0.25q-0.281 0.25-0.281 0.625t0.281 0.625l7.313 7.344-7.375 7.344q-0.281 0.25-0.281 0.625t0.281 0.625q0.125 0.125 0.281 0.188t0.344 0.063q0.156 0 0.328-0.063t0.297-0.188l7.375-7.344 7.375 7.406q0.125 0.156 0.297 0.219t0.328 0.063q0.188 0 0.344-0.078t0.281-0.203q0.281-0.25 0.281-0.609t-0.281-0.641l-7.375-7.406z","#ffffff",26)],4)],8,["onClick"]);var i}}});let dv,hv=null;const pv=()=>{hv=null,ao(()=>{null==dv||dv.unmount(),dv=null})},fv=ih("previewImage",(e,{resolve:t})=>{hv?c(hv,e):(hv=wn(e),ao(()=>{dv=nv(uv,hv,pv),dv.mount(ov("u-a-p"))})),t()},0,wp);let mv=null;const gv=ih("chooseVideo",({sourceType:e,extension:t},{resolve:n,reject:o})=>{_c();const{t:i}=pc();mv&&(document.body.removeChild(mv),mv=null),mv=Qb({sourceType:e,extension:t,type:"video"}),document.body.appendChild(mv),mv.addEventListener("cancel",()=>{o("chooseVideo:fail cancel")}),mv.addEventListener("change",function(e){const t=e.target.files[0];let o="";const i={tempFilePath:o,tempFile:t,size:t.size,duration:0,width:0,height:0,name:t.name};Object.defineProperty(i,"tempFilePath",{get(){return o=o||pm(this.tempFile),o}});const r=document.createElement("video");if(void 0!==r.onloadedmetadata){const e=pm(t);r.onloadedmetadata=function(){fm(e),n(c(i,{duration:r.duration||0,width:r.videoWidth||0,height:r.videoHeight||0}))},setTimeout(()=>{r.onloadedmetadata=null,fm(e),n(i)},300),r.src=e}else n(i)}),mv.click(),tg()||console.warn(i("uni.chooseFile.notUserActivation"))},0,yp),yv=nh("request",({url:e,data:t,header:n={},method:o,dataType:i,responseType:r,enableChunked:a,withCredentials:s,timeout:l=__uniConfig.networkTimeout.request},{resolve:c,reject:u})=>{let d=null;const p=function(e){const t=Object.keys(e).find(e=>"content-type"===e.toLowerCase());if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(y(t)||t instanceof ArrayBuffer)d=t;else if("json"===p)try{d=JSON.stringify(t)}catch(m){d=t.toString()}else if("urlencoded"===p){const e=[];for(const n in t)h(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));d=e.join("&")}else d=t.toString();let f;if(a){if(void 0===typeof window.fetch||void 0===typeof window.AbortController)throw new Error("fetch or AbortController is not supported in this environment");const t=new AbortController,a=t.signal;f=new vv(t);const h={method:o,headers:n,body:d,signal:a,credentials:s?"include":"same-origin"},p=setTimeout(function(){f.abort(),u("timeout",{errCode:5})},l);h.signal.addEventListener("abort",function(){clearTimeout(p),u("abort",{errCode:600003})}),window.fetch(e,h).then(e=>{const t=e.status,n=e.headers,o=e.body,a={};n.forEach((e,t)=>{a[t]=e});const s=bv(a);if(f._emitter.emit("headersReceived",{header:a,statusCode:t,cookies:s}),!o)return void c({data:"",statusCode:t,header:a,cookies:s});const l=o.getReader(),u=[],d=()=>{l.read().then(({done:e,value:n})=>{if(e){const e=function(e){const t=e.reduce((e,t)=>e+t.byteLength,0),n=new Uint8Array(t);let o=0;for(const i of e)n.set(new Uint8Array(i),o),o+=i.byteLength;return n.buffer}(u);let n="text"===r?(new TextDecoder).decode(e):e;return"text"===r&&(n=wv(n,r,i)),void c({data:n,statusCode:t,header:a,cookies:s})}const o=n;u.push(o),f._emitter.emit("chunkReceived",{data:o}),d()})};d()},e=>{u(e,{errCode:5})})}else{const t=new XMLHttpRequest;f=new vv(t),t.open(o,e);for(const e in n)h(n,e)&&t.setRequestHeader(e,n[e]);const a=setTimeout(function(){t.onload=t.onabort=t.onerror=null,f.abort(),u("timeout",{errCode:5})},l);t.responseType=r,t.onload=function(){clearTimeout(a);const e=t.status;let n="text"===r?t.responseText:t.response;"text"===r&&(n=wv(n,r,i)),c({data:n,statusCode:e,header:_v(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(a),u("abort",{errCode:600003})},t.onerror=function(){clearTimeout(a),u(void 0,{errCode:5})},t.withCredentials=s,t.send(d)}return f},0,Ap),bv=e=>{let t=e["Set-Cookie"]||e["set-cookie"],n=[];if(!t)return[];"["===t[0]&&"]"===t[t.length-1]&&(t=t.slice(1,-1));const o=t.split(";");for(let i=0;i<o.length;i++)-1!==o[i].indexOf("Expires=")||-1!==o[i].indexOf("expires=")?n.push(o[i].replace(",","")):n.push(o[i]);return n=n.join(";").split(","),n};class vv{constructor(e){this._requestOnChunkReceiveCallbackId=0,this._requestOnChunkReceiveCallbacks=new Map,this._requestOnHeadersReceiveCallbackId=0,this._requestOnHeadersReceiveCallbacks=new Map,this._emitter=new st,this._controller=e}abort(){this._controller&&(this._controller.abort(),delete this._controller)}onHeadersReceived(e){return this._emitter.on("headersReceived",e),this._requestOnHeadersReceiveCallbackId++,this._requestOnHeadersReceiveCallbacks.set(this._requestOnHeadersReceiveCallbackId,e),this._requestOnHeadersReceiveCallbackId}offHeadersReceived(e){if(null==e)return void this._emitter.off("headersReceived");if("function"==typeof e)return void this._requestOnHeadersReceiveCallbacks.forEach((t,n)=>{t===e&&(this._requestOnHeadersReceiveCallbacks.delete(n),this._emitter.off("headersReceived",e))});const t=this._requestOnHeadersReceiveCallbacks.get(e);t&&(this._requestOnHeadersReceiveCallbacks.delete(e),this._emitter.off("headersReceived",t))}onChunkReceived(e){return this._emitter.on("chunkReceived",e),this._requestOnChunkReceiveCallbackId++,this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId,e),this._requestOnChunkReceiveCallbackId}offChunkReceived(e){if(null==e)return void this._emitter.off("chunkReceived");if("function"==typeof e)return void this._requestOnChunkReceiveCallbacks.forEach((t,n)=>{t===e&&(this._requestOnChunkReceiveCallbacks.delete(n),this._emitter.off("chunkReceived",e))});const t=this._requestOnChunkReceiveCallbacks.get(e);t&&(this._requestOnChunkReceiveCallbacks.delete(e),this._emitter.off("chunkReceived",t))}}function _v(e){const t={};return e.split(ee).forEach(e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])}),t}function wv(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(i){}return o}class Sv{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){g(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}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.")}}const xv=nh("downloadFile",({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:i})=>{var r,a=new XMLHttpRequest,s=new Sv(a);return a.open("GET",e,!0),Object.keys(t).forEach(e=>{a.setRequestHeader(e,t[e])}),a.responseType="blob",a.onload=function(){clearTimeout(r);const t=a.status,n=this.response;let i;const s=a.getResponseHeader("content-disposition");if(s){const e=s.match(/filename="?(\S+)"?\b/);e&&(i=e[1])}n.name=i||function(e){const t=(e=e.split("#")[0].split("?")[0]).split("/");return t[t.length-1]}(e),o({statusCode:t,tempFilePath:pm(n)})},a.onabort=function(){clearTimeout(r),i("abort",{errCode:600003})},a.onerror=function(){clearTimeout(r),i("",{errCode:602001})},a.onprogress=function(e){s._callbacks.forEach(t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesWritten:n,totalBytesExpectedToWrite:o})})},a.send(),r=setTimeout(function(){a.onprogress=a.onload=a.onabort=a.onerror=null,s.abort(),i("timeout",{errCode:5})},n),s},0,Tp);class Cv{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){g(e)&&this._callbacks.push(e)}offProgressUpdate(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}abort(){this._isAbort=!0,this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}const kv=nh("uploadFile",({url:e,file:t,filePath:n,name:o,files:i,header:r={},formData:a={},timeout:s=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new Cv;return p(i)&&i.length||(i=[{name:o,file:t,uri:n}]),Promise.all(i.map(({file:e,uri:t})=>e instanceof Blob?Promise.resolve(hm(e)):dm(t))).then(function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(a).forEach(e=>{d.append(e,a[e])}),Object.values(i).forEach(({name:e},n)=>{const o=t[n];d.append(e||"file",o,o.name||`file-${Date.now()}`)}),o.open("POST",e),Object.keys(r).forEach(e=>{o.setRequestHeader(e,r[e])}),o.upload.onprogress=function(e){u._callbacks.forEach(t=>{var n=e.loaded,o=e.total;t({progress:Math.round(n/o*100),totalBytesSent:n,totalBytesExpectedToSend:o})})},o.onerror=function(){clearTimeout(n),c("",{errCode:602001})},o.onabort=function(){clearTimeout(n),c("abort",{errCode:600003})},o.onload=function(){clearTimeout(n);const e=o.status;l({statusCode:e,data:o.responseText||o.response})},u._isAbort?c("abort",{errCode:600003}):(n=setTimeout(function(){o.upload.onprogress=o.onload=o.onabort=o.onerror=null,u.abort(),c("timeout",{errCode:5})},s),o.send(d),u._xhr=o)}).catch(()=>{setTimeout(()=>{c("file error")},0)}),u},0,Ip),Av=ih("getLocation",({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:o},{resolve:i,reject:r})=>{const a=hb();new Promise((e,i)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(t=>e({coords:t.coords}),i,{enableHighAccuracy:o||t,timeout:n||1e5}):i(new Error("device nonsupport geolocation"))}).catch(e=>new Promise((t,n)=>{a.type===db.QQ?ab(`https://apis.map.qq.com/ws/location/v1/ip?output=jsonp&key=${a.key}`,{callback:"callback"},e=>{if("result"in e&&e.result.location){const n=e.result.location;t({coords:{latitude:n.lat,longitude:n.lng},skip:!0})}else n(new Error(e.message||JSON.stringify(e)))},()=>n(new Error("network error"))):a.type===db.GOOGLE?yv({method:"POST",url:`https://www.googleapis.com/geolocation/v1/geolocate?key=${a.key}`,success(e){const o=e.data;"location"in o?t({coords:{latitude:o.location.lat,longitude:o.location.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.error&&o.error.message||JSON.stringify(e)))},fail(){n(new Error("network error"))}}):a.type===db.AMAP?cb([],()=>{window.AMap.plugin("AMap.Geolocation",()=>{new window.AMap.Geolocation({enableHighAccuracy:!0,timeout:1e4}).getCurrentPosition((e,o)=>{"complete"===e?t({coords:{latitude:o.position.lat,longitude:o.position.lng,accuracy:o.accuracy},skip:!0}):n(new Error(o.message))})})}):n(e)})).then(({coords:t,skip:n})=>{(function(e,t,n){const o=hb();return e&&"WGS84"===e.toUpperCase()||["google"].includes(o.type)||n?Promise.resolve(t):"qq"===o.type?new Promise(e=>{ab(`https://apis.map.qq.com/ws/coord/v1/translate?type=1&locations=${t.latitude},${t.longitude}&key=${o.key}&output=jsonp`,{callback:"callback"},n=>{if("locations"in n&&n.locations.length){const{lng:o,lat:i}=n.locations[0];e({longitude:o,latitude:i,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)},()=>e(t))}):"AMap"===o.type?new Promise(e=>{cb([],()=>{window.AMap.convertFrom([t.longitude,t.latitude],"gps",(n,o)=>{if("ok"===o.info&&o.locations.length){const{lat:n,lng:i}=o.locations[0];e({longitude:i,latitude:n,altitude:t.altitude,accuracy:t.accuracy,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,speed:t.speed})}else e(t)})})}):Promise.reject(new Error("translate coordinate system faild, map provider not configured or not supported"))})(e,t,n).then(e=>{i({latitude:e.latitude,longitude:e.longitude,accuracy:e.accuracy,speed:e.altitude||0,altitude:e.altitude||0,verticalAccuracy:e.altitudeAccuracy||0,horizontalAccuracy:e.accuracy||0})}).catch(e=>{r(e.message)})}).catch(e=>{r(e.message||JSON.stringify(e))})},0,mp),Tv=ih("navigateBack",(e,{resolve:t,reject:n})=>{let o=!0;return!0===Cu(ge,{from:e.from||"navigateBack"})&&(o=!1),o?(Uy().$router.go(-e.delta),t()):n(ge)},0,jp),Iv=ih(Bp,({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:i})=>{if(kf.handledBeforeEntryPageRoutes)return df({type:Bp,url:e,events:t,isAutomatedTesting:n}).then(o).catch(i);Af.push({args:{type:Bp,url:e,events:t,isAutomatedTesting:n},resolve:o,reject:i})},0,Dp);function Ev(e){__uniConfig.darkmode&&V_.on(le,e)}function Bv(e){V_.off(le,e)}function Pv(e){let t={};return __uniConfig.darkmode&&(t=ut(e,__uniConfig.themeConfig,Sb())),__uniConfig.darkmode?t:e}function Ov(e,t){const n=kn(e),o=n?wn(Pv(e)):Pv(e);return __uniConfig.darkmode&&n&&No(e,e=>{const t=Pv(e);for(const n in t)o[n]=t[n]}),t&&Ev(t),o}const Mv={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},Lv=ti({props:{title:{type:String,default:""},content:{type:String,default:""},showCancel:{type:Boolean,default:!0},cancelText:{type:String,default:"Cancel"},cancelColor:{type:String,default:"#000000"},confirmText:{type:String,default:"OK"},confirmColor:{type:String,default:"#007aff"},visible:{type:Boolean},editable:{type:Boolean,default:!1},placeholderText:{type:String,default:""}},setup(e,{emit:t}){const n=Nn(""),o=()=>a.value=!1,i=()=>(o(),t("close","cancel")),r=()=>(o(),t("close","confirm",n.value)),a=iv(e,{onEsc:i,onEnter:()=>{!e.editable&&r()}}),s=function(e){const t=Nn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=Mv[e].cancelColor})(e,t)};return Do(()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Sb()&&n({theme:"dark"}),Ev(n))):Bv(n)}),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:h}=e;return n.value=o,jr(ba,{name:"uni-fade"},{default:()=>[Ho(jr("uni-modal",{onTouchmove:Zc},[tv,jr("div",{class:"uni-modal"},[t?jr("div",{class:"uni-modal__hd"},[jr("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?jr("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:h,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):jr("div",{class:"uni-modal__bd",onTouchmovePassive:eu,textContent:o},null,40,["onTouchmovePassive","textContent"]),jr("div",{class:"uni-modal__ft"},[l&&jr("div",{style:{color:s.value},class:"uni-modal__btn uni-modal__btn_default",onClick:i},[e.cancelText],12,["onClick"]),jr("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:r},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Oa,a.value]])]})}}});let Dv;const zv=Le(()=>{V_.on("onHidePopup",()=>Dv.visible=!1)});let Nv;function Rv(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&Dv.editable&&(o.content=t),Nv&&Nv(o)}const jv=ih("showModal",(e,{resolve:t})=>{zv(),Nv=t,Dv?(c(Dv,e),Dv.visible=!0):(Dv=wn(e),ao(()=>(nv(Lv,Dv,Rv).mount(ov("u-a-m")),ao(()=>Dv.visible=!0))))},0,Gp),$v={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Xp.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Fv="uni-toast__icon",Hv={light:"#fff",dark:"rgba(255,255,255,0.9)"},Vv=e=>Hv[e],Wv=ti({name:"Toast",props:$v,setup(e){yc(),bc();const{Icon:t}=function(e){const t=Nn(Vv(Sb())),n=({theme:e})=>t.value=Vv(e);Do(()=>{e.visible?Ev(n):Bv(n)});const o=ca(()=>{switch(e.icon){case"success":return jr(fu(du,t.value,38),{class:Fv});case"error":return jr(fu(hu,t.value,38),{class:Fv});case"loading":return jr("i",{class:[Fv,"uni-loading"]},null,2);default:return null}});return{Icon:o}}(e),n=iv(e,{});return()=>{const{mask:o,duration:i,title:r,image:a}=e;return jr(ba,{name:"uni-fade"},{default:()=>[Ho(jr("uni-toast",{"data-duration":i},[o?jr("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Zc},null,40,["onTouchmove"]):"",a||t.value?jr("div",{class:"uni-toast"},[a?jr("img",{src:a,class:Fv},null,10,["src"]):t.value,jr("p",{class:"uni-toast__content"},[r])]):jr("div",{class:"uni-sample-toast"},[jr("p",{class:"uni-simple-toast__text"},[r])])],8,["data-duration"]),[[Oa,n.value]])]})}}});let Uv,qv,Qv="";const Yv=ft();function Gv(e){Uv?c(Uv,e):(Uv=wn(c(e,{visible:!1})),ao(()=>{Yv.run(()=>{No([()=>Uv.visible,()=>Uv.duration],([e,t])=>{if(e){if(qv&&clearTimeout(qv),"onShowLoading"===Qv)return;qv=setTimeout(()=>{e_("onHideToast")},t)}else qv&&clearTimeout(qv)})}),V_.on("onHidePopup",()=>e_("onHidePopup")),nv(Wv,Uv,()=>{}).mount(ov("u-a-t"))})),setTimeout(()=>{Uv.visible=!0},10)}const Xv=ih("showToast",(e,{resolve:t,reject:n})=>{Gv(e),Qv="onShowToast",t()},0,Kp),Kv={icon:"loading",duration:1e8,image:""},Jv=ih("showLoading",(e,{resolve:t,reject:n})=>{c(e,Kv),Gv(e),Qv="onShowLoading",t()},0,Yp),Zv=ih("hideLoading",(e,{resolve:t,reject:n})=>{e_("onHideLoading"),t()});function e_(e){const{t:t}=pc();if(!Qv)return;let n="";if("onHideToast"===e&&"onShowToast"!==Qv?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==Qv&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);Qv="",setTimeout(()=>{Uv.visible=!1},10)}function t_(e){const t=Nn(0),n=Nn(0),o=ca(()=>t.value>=500&&n.value>=500),i=ca(()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},i=t.content,r=t.triangle,a=e.popover;function s(e){return Number(e)||0}if(o.value&&a){c(r,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});const e=s(a.left),t=s(a.width?a.width:300),o=s(a.top),l=s(a.height),u=e+t/2;i.transform="none !important";const d=Math.max(0,u-t/2);i.left=`${d}px`,a.width&&(i.width=`${t}px`);let h=Math.max(12,u-d);h=Math.min(t-12,h),r.left=`${h}px`;const p=n.value/2;o+l-p>p-o?(i.top="auto",i.bottom=n.value-o+6+"px",r.bottom="-6px",r["border-width"]="6px 6px 0 6px",r["border-color"]="#fcfcfd transparent transparent transparent"):(i.top=`${o+l+6}px`,r.top="-6px",r["border-width"]="0 6px 6px 6px",r["border-color"]="transparent transparent #fcfcfd transparent")}return t});return wi(()=>{const e=()=>{const{windowWidth:e,windowHeight:o,windowTop:i}=Bb();t.value=e,n.value=o+(i||0)};window.addEventListener("resize",e),e(),ki(()=>{window.removeEventListener("resize",e)})}),{isDesktop:o,popupStyle:i}}const n_={light:{listItemColor:"#000000",cancelItemColor:"#000000"},dark:{listItemColor:"rgba(255, 255, 255, 0.8)",cancelItemColor:"rgba(255, 255, 255)"}};const o_=ti({name:"ActionSheet",props:{title:{type:String,default:""},itemList:{type:Array,default:()=>[]},itemColor:{type:String,default:"#000000"},popover:{type:Object,default:null},visible:{type:Boolean,default:!1}},emits:["close"],setup(e,{emit:t}){gc();const n=Nn(260),o=Nn(0),i=Nn(0),r=Nn(0),a=Nn(0),s=Nn(null),l=Nn(null),{t:c}=pc(),{_close:u}=function(e,t){function n(e){t("close",e)}const{key:o,disable:i}=ev();return No(()=>e.visible,e=>i.value=!e),Do(()=>{const{value:e}=o;"esc"===e&&n&&n(-1)}),{_close:n}}(e,t),{popupStyle:d}=t_(e);let h;function p(e){const t=r.value+e.deltaY;Math.abs(t)>10?(a.value+=t/3,a.value=a.value>=o.value?o.value:a.value<=0?0:a.value,h.scrollTo(a.value)):r.value=t,e.preventDefault()}wi(()=>{const{scroller:e,handleTouchStart:t,handleTouchMove:n,handleTouchEnd:o}=Qg(s.value,{enableY:!0,friction:new Fg(1e-4),spring:new Wg(2,90,20),onScroll:e=>{a.value=e.target.scrollTop}});h=e,kg(s.value,i=>{if(e)switch(i.detail.state){case"start":t(i);break;case"move":n(i);break;case"end":case"cancel":o(i)}},!0)}),No(()=>e.visible,()=>{ao(()=>{e.title&&(i.value=document.querySelector(".uni-actionsheet__title").offsetHeight),h.update(),s.value&&(o.value=s.value.clientHeight-n.value),document.querySelectorAll(".uni-actionsheet__cell").forEach(e=>{!function(e){const t=20;let n=0,o=0;e.addEventListener("touchstart",e=>{const t=e.changedTouches[0];n=t.clientX,o=t.clientY}),e.addEventListener("touchend",e=>{const i=e.changedTouches[0];if(Math.abs(i.clientX-n)<t&&Math.abs(i.clientY-o)<t){const t=e.target,n=e.currentTarget,o=new CustomEvent("click",{bubbles:!0,cancelable:!0,target:t,currentTarget:n});["screenX","screenY","clientX","clientY","pageX","pageY"].forEach(e=>{o[e]=i[e]}),e.target.dispatchEvent(o)}})}(e)})})});const f=function(e){const t=wn({listItemColor:"#000",cancelItemColor:"#000"}),n=({theme:e})=>{!function(e,t){["listItemColor","cancelItemColor"].forEach(n=>{t[n]=n_[e][n]})}(e,t)};return Do(()=>{e.visible?(t.listItemColor=t.cancelItemColor=e.itemColor,"#000"===e.itemColor&&(n({theme:Sb()}),Ev(n))):Bv(n)}),t}(e);return()=>jr("uni-actionsheet",{onTouchmove:Zc},[jr(ba,{name:"uni-fade"},{default:()=>[Ho(jr("div",{class:"uni-mask uni-actionsheet__mask",onClick:()=>u(-1)},null,8,["onClick"]),[[Oa,e.visible]])]}),jr("div",{class:["uni-actionsheet",{"uni-actionsheet_toggle":e.visible}],style:d.value.content},[jr("div",{ref:l,class:"uni-actionsheet__menu",onWheel:p},[e.title?jr(wr,null,[jr("div",{class:"uni-actionsheet__cell",style:{height:`${i.value}px`}},null),jr("div",{class:"uni-actionsheet__title"},[e.title])]):"",jr("div",{style:{maxHeight:`${n.value}px`,overflow:"hidden"}},[jr("div",{ref:s},[e.itemList.map((e,t)=>jr("div",{key:t,style:{color:f.listItemColor},class:"uni-actionsheet__cell",onClick:()=>u(t)},[e],12,["onClick"]))],512)])],40,["onWheel"]),jr("div",{class:"uni-actionsheet__action"},[jr("div",{style:{color:f.cancelItemColor},class:"uni-actionsheet__cell",onClick:()=>u(-1)},[c("uni.showActionSheet.cancel")],12,["onClick"])]),jr("div",{style:d.value.triangle},null,4)],6)],40,["onTouchmove"])}});let i_,r_,a_;const s_=Le(()=>{V_.on("onHidePopup",()=>a_.visible=!1)});function l_(e){-1===e?r_&&r_("cancel"):i_&&i_({tapIndex:e})}const c_=ih("showActionSheet",(e,{resolve:t,reject:n})=>{s_(),i_=t,r_=n,a_?(c(a_,e),a_.visible=!0):(a_=wn(e),ao(()=>(nv(o_,a_,l_).mount(ov("u-s-a-s")),ao(()=>a_.visible=!0))))},0,Qp),u_=ih("loadFontFace",({family:e,source:t,desc:n},{resolve:o,reject:i})=>{(function(e,t,n){const o=document.fonts;if(o){const i=new FontFace(e,t,n);return i.load().then(()=>{o.add&&o.add(i)})}return new Promise(o=>{const i=document.createElement("style"),r=[];if(n){const{style:e,weight:t,stretch:o,unicodeRange:i,variant:a,featureSettings:s}=n;e&&r.push(`font-style:${e}`),t&&r.push(`font-weight:${t}`),o&&r.push(`font-stretch:${o}`),i&&r.push(`unicode-range:${i}`),a&&r.push(`font-variant:${a}`),s&&r.push(`font-feature-settings:${s}`)}i.innerText=`@font-face{font-family:"${e}";src:${t};${r.join(";")}}`,document.head.appendChild(i),o()})})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${Gf(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${Gf(t.substring(4,t.length-1))}')`:Gf(t),n).then(()=>{o()}).catch(e=>{i(`loadFontFace:fail ${e}`)})});function d_(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,V_.emit("onNavigationBarChange",{titleText:t})}Do(t),ui(t)}const h_=ih(Up,(e,{resolve:t,reject:n})=>{!function(e,t,n,o,i){if(!e)return i("page not found");const{navigationBar:r}=e;switch(t){case"setNavigationBarColor":const{frontColor:e,backgroundColor:t,animation:o}=n,{duration:i,timingFunc:a}=o;e&&(r.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(r.backgroundColor=t),r.duration=i+"ms",r.timingFunc=a;break;case"showNavigationBarLoading":r.loading=!0;break;case"hideNavigationBarLoading":r.loading=!1;break;case Up:const{title:s}=n;r.titleText=s}o()}(bu(),Up,e,t,n)}),p_=ih("pageScrollTo",({scrollTop:e,selector:t,duration:n},{resolve:o})=>{!function(e,t){if(y(e)){const t=document.querySelector(e);if(t){const{top:n}=t.getBoundingClientRect();e=n+window.pageYOffset;const o=document.querySelector("uni-page-head");o&&(e-=o.offsetHeight)}}e<0&&(e=0);const n=document.documentElement,{clientHeight:o,scrollHeight:i}=n;if(e=Math.min(e,i-o),0===t)return void(n.scrollTop=document.body.scrollTop=e);if(window.scrollY===e)return;const r=t=>{if(t<=0)return void window.scrollTo(0,e);const n=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+n/t*10),r(t-10)})};r(t)}(t||e||0,n),o()},0,qp),f_=ih(Jp,(e,{resolve:t})=>{V_.invokeViewMethod(Jp,{},vu()),t()}),m_=id({name:"TabBar",setup(){const e=Nn([]),t=ff(),n=Ov(t,()=>{const e=Pv(t);n.backgroundColor=e.backgroundColor,n.borderStyle=e.borderStyle,n.color=e.color,n.selectedColor=e.selectedColor,n.blurEffect=e.blurEffect,n.midButton=e.midButton,e.list&&e.list.length&&e.list.forEach((e,t)=>{n.list[t].iconPath=e.iconPath,n.list[t].selectedIconPath=e.selectedIconPath})});!function(e,t){function n(){let n=[];n=e.list.filter(e=>!1!==e.visible),t.value=n}Nn(c({type:"midButton"},e.midButton)),Do(n)}(n,e),function(e){No(()=>e.shown,t=>{ru({"--window-bottom":wf(t?parseInt(e.height):0)})})}(n);const o=function(e,t,n){return Do(()=>{const o=e.meta;if(o.isTabBar){const e=o.route,i=n.value.findIndex(t=>t.pagePath===e);t.selectedIndex=i}}),(t,n)=>()=>{const{pagePath:o,text:i}=t;let r=Me(o);r===__uniRoutes[0].alias&&(r="/"),e.path!==r?af({from:"tabBar",url:r,tabBarText:i}):Cu("onTabItemTap",{index:n,text:i,pagePath:o})}}(ql(),n,e),{style:i,borderStyle:r,placeholderStyle:a}=function(e){const t=ca(()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||bf&&n&&"none"!==n&&(t=v_[n]),{backgroundColor:t||g_,backdropFilter:"none"!==n?"blur(10px)":n}}),n=ca(()=>{const{borderStyle:t,borderColor:n}=e;return n&&y(n)?{backgroundColor:n}:{backgroundColor:__[t]||__.black}}),o=ca(()=>({height:e.height}));return{style:t,borderStyle:n,placeholderStyle:o}}(n);return wi(()=>{n.iconfontSrc&&u_({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})}),()=>{const t=function(e,t,n){const{selectedIndex:o,selectedColor:i,color:r}=e;return n.value.map((n,a)=>{const s=o===a;return function(e,t,n,o,i,r,a,s){return jr("div",{key:a,class:"uni-tabbar__item",onClick:s(i,a)},[w_(e,t||"",n,o,i,r)],8,["onClick"])}(s?i:r,s&&n.selectedIconPath||n.iconPath||"",n.iconfont?s&&n.iconfont.selectedText||n.iconfont.text:void 0,n.iconfont?s&&n.iconfont.selectedColor||n.iconfont.color:void 0,n,e,a,t)})}(n,o,e);return jr("uni-tabbar",{class:"uni-tabbar-"+n.position},[jr("div",{class:"uni-tabbar",style:i.value},[jr("div",{class:"uni-tabbar-border",style:r.value},null,4),t],4),jr("div",{class:"uni-placeholder",style:a.value},null,4)],2)}}});const g_="#f7f7fa",y_="rgb(0, 0, 0, 0.8)",b_="rgb(250, 250, 250, 0.8)",v_={dark:y_,light:b_,extralight:b_},__={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function w_(e,t,n,o,i,r){const{height:a}=r;return jr("div",{class:"uni-tabbar__bd",style:{height:a}},[n?x_(n,o||y_,i,r):t&&S_(t,i,r),i.text&&C_(e,i,r),i.redDot&&k_(i.badge)],4)}function S_(e,t,n){const{type:o,text:i}=t,{iconWidth:r}=n;return jr("div",{class:"uni-tabbar__icon"+(i?" uni-tabbar__icon__diff":""),style:{width:r,height:r}},["midButton"!==o&&jr("img",{src:Gf(e)},null,8,["src"])],6)}function x_(e,t,n,o){var i;const{type:r,text:a}=n,{iconWidth:s}=o,l="uni-tabbar__icon"+(a?" uni-tabbar__icon__diff":""),c={width:s,height:s},u={fontSize:(null==(i=n.iconfont)?void 0:i.fontSize)||s,color:t};return jr("div",{class:l,style:c},["midButton"!==r&&jr("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function C_(e,t,n){const{iconPath:o,text:i}=t,{fontSize:r,spacing:a}=n;return jr("div",{class:"uni-tabbar__label",style:{color:e,fontSize:r,lineHeight:o?"normal":1.8,marginTop:o?a:"inherit"}},[i],4)}function k_(e){return jr("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const A_="0px",T_=id({name:"Layout",setup(e,{emit:t}){const n=Nn(null);iu({"--status-bar-height":A_,"--top-window-height":A_,"--window-left":A_,"--window-right":A_,"--window-margin":A_,"--tab-bar-height":A_});const o=function(){const e=ql();return{routeKey:ca(()=>Nf("/"+e.meta.route,_d())),isTabBar:ca(()=>e.meta.isTabBar),routeCache:jf}}(),{layoutState:i,windowState:r}=function(){vd();{const e=wn({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return No(()=>e.marginWidth,e=>iu({"--window-margin":e+"px"})),No(()=>e.leftWindowWidth+e.marginWidth,e=>{iu({"--window-left":e+"px"})}),No(()=>e.rightWindowWidth+e.marginWidth,e=>{iu({"--window-right":e+"px"})}),{layoutState:e,windowState:ca(()=>({}))}}}();!function(e,t){const n=vd();function o(){const o=document.body.clientWidth,i=Of();let r={};if(i.length>0){r=Cf(i[i.length-1]).meta}else{const e=Bu(n.path,!0);e&&(r=e.meta)}const a=parseInt(String((h(r,"maxWidth")?r.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let s=!1;s=o>a,s&&a?(e.marginWidth=(o-a)/2,ao(()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+a+"px;margin:0 auto;")})):(e.marginWidth=0,ao(()=>{const e=t.value;e&&e.removeAttribute("style")}))}No([()=>n.path],o),wi(()=>{o(),window.addEventListener("resize",o)})}(i,n);const a=function(){const e=vd(),t=ff(),n=ca(()=>e.meta.isTabBar&&t.shown);return iu({"--tab-bar-height":t.height}),n}(),s=function(e){const t=Nn(!1);return ca(()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value}))}(a);return()=>{const e=function(e){const t=function({routeKey:e,isTabBar:t,routeCache:n}){return jr(Wl,null,{default:So(({Component:o})=>[(Tr(),Or(li,{matchBy:"key",cache:n},[(Tr(),Or(Bo(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))]),_:1})}(e);return t}(o),t=function(e){return Ho(jr(m_,null,null,512),[[Oa,e.value]])}(a);return jr("uni-app",{ref:n,class:s.value},[e,t],2)}}});const I_=ih(Sp,rh(Sp)),E_="saveFile",B_=ih(E_,rh(E_));function P_(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!Mr(e)}function O_(e){if(e.mode===D_.TIME)return"00:00";if(e.mode===D_.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case z_.YEAR:return t.toString();case z_.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function M_(e){if(e.mode===D_.TIME)return"23:59";if(e.mode===D_.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case z_.YEAR:return t.toString();case z_.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function L_(e,t,n,o){const i=e.mode===D_.DATE?"-":":",r=e.mode===D_.DATE?t.dateArray:t.timeArray;let a;if(e.mode===D_.TIME)a=2;else switch(e.fields){case z_.YEAR:a=1;break;case z_.MONTH:a=2;break;default:a=3}const s=String(n).split(i);let l=[];for(let c=0;c<a;c++){const e=s[c];l.push(r[c].indexOf(e))}return l.indexOf(-1)>=0&&(l=o?L_(e,t,o):l.map(()=>0)),l}const D_={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},z_={YEAR:"year",MONTH:"month",DAY:"day"},N_={PICKER:"picker",SELECT:"select"},R_=od({name:"Picker",compatConfig:{MODE:3},props:{name:{type:String,default:""},range:{type:Array,default:()=>[]},rangeKey:{type:String,default:""},value:{type:[Number,String,Array],default:0},mode:{type:String,default:D_.SELECTOR,validator:e=>Object.values(D_).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>O_(e)},end:{type:String,default:e=>M_(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){Sc();const{t:o}=pc(),i=Nn(null),r=Nn(null),a=Nn(null),s=Nn(null),l=Nn(!1),{state:c,rangeArray:u}=function(e){const t=wn({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=ca(()=>{let n=e.range;switch(e.mode){case D_.SELECTOR:return[n];case D_.MULTISELECTOR:return n;case D_.TIME:return t.timeArray;case D_.DATE:{const n=t.dateArray;switch(e.fields){case z_.YEAR:return[n[0]];case z_.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]});return{state:t,rangeArray:n}}(e),d=ad(i,t),{system:h,selectorTypeComputed:f,_show:m,_l10nColumn:g,_l10nItem:y,_input:b,_fixInputPosition:v,_pickerViewChange:_,_cancel:w,_change:S,_resetFormData:x,_getFormData:C,_createTime:k,_createDate:A,_setValueSync:T}=function(e,t,n,o,i,r,a){const s=function(){const e=Nn(!1);return e.value=j_(),e}(),l=function(){const e=Nn("");return e.value=$_(),e}(),c=ca(()=>{const t=e.selectorType;return Object.values(N_).includes(t)?t:s.value?N_.PICKER:N_.SELECT}),u=ca(()=>e.mode===D_.DATE&&!Object.values(z_).includes(e.fields)&&t.isDesktop?l.value:""),d=ca(()=>L_(e,t,e.start,O_(e))),h=ca(()=>L_(e,t,e.end,M_(e)));function f(n){if(e.disabled)return;t.valueChangeSource="";let o=i.value,r=n.currentTarget;o.remove(),(document.querySelector("uni-app")||document.body).appendChild(o),o.style.display="block";const a=r.getBoundingClientRect();t.popover={top:a.top,left:a.left,width:a.width,height:a.height},setTimeout(()=>{t.visible=!0},20)}function m(){return{value:t.valueSync,key:e.name}}function g(){switch(e.mode){case D_.SELECTOR:t.valueSync=0;break;case D_.MULTISELECTOR:t.valueSync=e.value.map(e=>0);break;case D_.DATE:case D_.TIME:t.valueSync=""}}function y(){let e=[],n=[];for(let t=0;t<24;t++)e.push((t<10?"0":"")+t);for(let t=0;t<60;t++)n.push((t<10?"0":"")+t);t.timeArray.push(e,n)}function b(){let t=(new Date).getFullYear(),n=t-150,o=t+150;if(e.start){const t=new Date(e.start).getFullYear();!isNaN(t)&&t<n&&(n=t)}if(e.end){const t=new Date(e.end).getFullYear();!isNaN(t)&&t>o&&(o=t)}return{start:n,end:o}}function v(){let e=[];const n=b();for(let t=n.start,r=n.end;t<=r;t++)e.push(String(t));let o=[];for(let t=1;t<=12;t++)o.push((t<10?"0":"")+t);let i=[];for(let t=1;t<=31;t++)i.push((t<10?"0":"")+t);t.dateArray.push(e,o,i)}function _(e){return 60*e[0]+e[1]}function w(e){const t=31;return e[0]*t*12+(e[1]||0)*t+(e[2]||0)}function S(e,t){for(let n=0;n<e.length&&n<t.length;n++)e[n]=t[n]}function x(){let n=e.value;switch(e.mode){case D_.MULTISELECTOR:{p(n)||(n=t.valueArray),p(t.valueSync)||(t.valueSync=[]);const o=t.valueSync.length=Math.max(n.length,e.range.length);for(let i=0;i<o;i++){const o=Number(n[i]),r=Number(t.valueSync[i]),a=isNaN(o)?isNaN(r)?0:r:o,s=e.range[i]?e.range[i].length-1:0;t.valueSync.splice(i,1,a<0||a>s?0:a)}}break;case D_.TIME:case D_.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function C(){let n,o=t.valueSync;switch(e.mode){case D_.MULTISELECTOR:n=[...o];break;case D_.TIME:n=L_(e,t,o,ze({mode:D_.TIME}));break;case D_.DATE:n=L_(e,t,o,ze({mode:D_.DATE}));break;default:n=[o]}t.oldValueArray=[...n],t.valueArray=[...n]}function k(){let n=t.valueArray;switch(e.mode){case D_.SELECTOR:return n[0];case D_.MULTISELECTOR:return n.map(e=>e);case D_.TIME:return t.valueArray.map((e,n)=>t.timeArray[n][e]).join(":");case D_.DATE:return t.valueArray.map((e,n)=>t.dateArray[n][e]).join("-")}}function A(){I(),t.valueChangeSource="click";const e=k();t.valueSync=p(e)?e.map(e=>e):e,n("change",{},{value:e})}function T(e){if("firefox"===u.value&&e){const{top:n,left:o,width:i,height:r}=t.popover,{pageX:a,pageY:s}=e;if(a>o&&a<o+i&&s>n&&s<n+r)return}I(),n("cancel",{},{})}function I(){t.visible=!1,setTimeout(()=>{let e=i.value;e.remove(),o.value.prepend(e),e.style.display="none"},260)}function E(){e.mode===D_.SELECTOR&&c.value===N_.SELECT&&(r.value.scrollTop=34*t.valueArray[0])}function B(e){const n=e.target;t.valueSync=n.value,ao(()=>{A()})}function P(e){if("chrome"===u.value){const t=o.value.getBoundingClientRect(),n=32;a.value.style.left=e.clientX-t.left-1.5*n+"px",a.value.style.top=e.clientY-t.top-.5*n+"px"}}function O(e){t.valueArray=M(e.detail.value,!0)}function M(t,n){const{getLocale:o}=pc();if(e.mode===D_.DATE){const i=o();if(!i.startsWith("zh"))switch(e.fields){case z_.YEAR:return t;case z_.MONTH:return[t[1],t[0]];default:switch(i){case"es":case"fr":return[t[2],t[1],t[0]];default:return n?[t[2],t[0],t[1]]:[t[1],t[2],t[0]]}}}return t}function L(t,n){const{getLocale:o}=pc();if(e.mode===D_.DATE){const i=o();if(i.startsWith("zh")){return t+["å¹´","æ","æ¥"][n]}if(e.fields!==z_.YEAR&&n===(e.fields===z_.MONTH||"es"!==i&&"fr"!==i?0:1)){let e;switch(i){case"es":e=["enero","febrero","marzo","abril","mayo","junio","ââjulio","agosto","septiembre","octubre","noviembre","diciembre"];break;case"fr":e=["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"];break;default:e=["January","February","March","April","May","June","July","August","September","October","November","December"]}return e[Number(t)-1]}}return t}return No(()=>t.visible,e=>{e?(clearTimeout(F_),t.contentVisible=e,E()):F_=setTimeout(()=>{t.contentVisible=e},300)}),No([()=>e.mode,()=>e.value,()=>e.range],x,{deep:!0}),No(()=>t.valueSync,C,{deep:!0}),No(()=>t.valueArray,o=>{if(e.mode===D_.TIME||e.mode===D_.DATE){const n=e.mode===D_.TIME?_:w,o=t.valueArray,i=d.value,r=h.value;if(e.mode===D_.DATE){const e=t.dateArray,n=e[2].length,i=Number(e[2][o[2]])||1,r=new Date(`${e[0][o[0]]}/${e[1][o[1]]}/${i}`).getDate();r<i&&(o[2]-=r+n-i)}n(o)<n(i)?S(o,i):n(o)>n(r)&&S(o,r)}o.forEach((o,i)=>{o!==t.oldValueArray[i]&&(t.oldValueArray[i]=o,e.mode===D_.MULTISELECTOR&&n("columnchange",{},{column:i,value:o}))})}),{selectorTypeComputed:c,system:u,_show:f,_cancel:T,_change:A,_l10nColumn:M,_l10nItem:L,_input:B,_resetFormData:g,_getFormData:m,_createTime:y,_createDate:v,_setValueSync:x,_fixInputPosition:P,_pickerViewChange:O}}(e,c,d,i,r,a,s);!function(e,t,n){const{key:o,disable:i}=ev();Do(()=>{i.value=!e.visible}),No(o,e=>{"esc"===e?t():"enter"===e&&n()})}(c,w,S),function(e,t){const n=tr(ud,!1);if(n){const o={reset:e,submit:()=>{const e=["",null],{key:n,value:o}=t();return""!==n&&(e[0]=n,e[1]=o),e}};n.addField(o),Ci(()=>{n.removeField(o)})}}(x,C),k(),A(),T();const I=t_(c);return Do(()=>{c.isDesktop=I.isDesktop.value,c.popupStyle=I.popupStyle.value}),Ci(()=>{r.value&&r.value.remove()}),wi(()=>{l.value=!0}),()=>{let t;const{visible:d,contentVisible:p,valueArray:x,popupStyle:C,valueSync:k}=c,{rangeKey:A,mode:T,start:I,end:E}=e,B=cd(e,"disabled");return jr("uni-picker",qr({ref:i},B,{onClick:rd(m)}),[l.value?jr("div",{ref:r,class:["uni-picker-container",`uni-${T}-${f.value}`],onWheel:Zc,onTouchmove:Zc},[jr(ba,{name:"uni-fade"},{default:()=>[Ho(jr("div",{class:"uni-mask uni-picker-mask",onClick:rd(w),onMousemove:v},null,40,["onClick","onMousemove"]),[[Oa,d]])]}),h.value?null:jr("div",{class:[{"uni-picker-toggle":d},"uni-picker-custom"],style:C.content},[jr("div",{class:"uni-picker-header",onClick:eu},[jr("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:rd(w)},[o("uni.picker.cancel")],8,["onClick"]),jr("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:S},[o("uni.picker.done")],8,["onClick"])],8,["onClick"]),p?jr($g,{value:g(x),class:"uni-picker-content",onChange:_},P_(t=Bi(g(u.value),(e,t)=>{let n;return jr(Yg,{key:t},P_(n=Bi(e,(e,n)=>jr("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[A]||"":y(e,t)])))?n:{default:()=>[n],_:1})}))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,jr("div",{ref:a,class:"uni-picker-select",onWheel:eu,onTouchmove:eu},[Bi(u.value[0],(e,t)=>jr("div",{key:t,class:["uni-picker-item",{selected:x[0]===t}],onClick:()=>{x[0]=t,S()}},["object"==typeof e?e[A]||"":e],10,["onClick"]))],40,["onWheel","onTouchmove"]),jr("div",{style:C.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,jr("div",null,[n.default&&n.default()]),h.value?jr("div",{class:"uni-picker-system",onMousemove:rd(v)},[jr("input",{class:["uni-picker-system_input",h.value],ref:s,value:k,type:T,tabindex:"-1",min:I,max:E,onChange:e=>{b(e),eu(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});const j_=()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0;const $_=()=>{if(/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""};let F_;const H_=c(Oc,{publishHandler(e,t,n){V_.subscribeHandler(e,t,n)}}),V_=c(Wu,{publishHandler(e,t,n){H_.subscribeHandler(e,t,n)}}),W_=id({name:"PageHead",setup(){const e=Nn(null),t=yd(),n=Ov(t.navigationBar,()=>{const e=Pv(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor}),{clazz:o,style:i}=function(e){const t=ca(()=>{const{type:t,titlePenetrate:n,shadowColorType:o}=e,i={"uni-page-head":!0,"uni-page-head-transparent":"transparent"===t,"uni-page-head-titlePenetrate":"YES"===n,"uni-page-head-shadow":!!o};return o&&(i[`uni-page-head-shadow-${o}`]=!0),i}),n=ca(()=>({backgroundColor:e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc}));return{clazz:t,style:n}}(n);return()=>{const r=function(e,t){if(!t)return jr("div",{class:"uni-page-head-btn",onClick:q_},[fu(pu,"transparent"===e.type?"#fff":e.titleColor,26)],8,["onClick"])}(n,t.isQuit),a=n.type||"default",s="transparent"!==a&&"float"!==a&&jr("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return jr("uni-page-head",{"uni-page-head-type":a},[jr("div",{ref:e,class:o.value,style:i.value},[jr("div",{class:"uni-page-head-hd"},[r]),U_(n),jr("div",{class:"uni-page-head-ft"},[])],6),s],8,["uni-page-head-type"])}}});function U_(e,t){return function({type:e,loading:t,titleSize:n,titleText:o,titleImage:i}){return jr("div",{class:"uni-page-head-bd"},[jr("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?jr("i",{class:"uni-loading"},null):i?jr("img",{src:i,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}(e)}function q_(){1===Pf().length?uf({url:"/"}):Tv({from:"backbutton",success(){}})}const Q_={name:"PageRefresh",setup(){const{pullToRefresh:e}=yd();return{offset:e.offset,color:e.color}}},Y_=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n},G_={class:"uni-page-refresh-inner"},X_=["fill"],K_=[Rr("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"},null,-1),Rr("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1)],J_={class:"uni-page-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},Z_=["stroke"];const ew=Y_(Q_,[["render",function(e,t,n,o,i,r){return Tr(),Pr("uni-page-refresh",null,[Rr("div",{style:He({"margin-top":o.offset+"px"}),class:"uni-page-refresh"},[Rr("div",G_,[(Tr(),Pr("svg",{fill:o.color,class:"uni-page-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},K_,8,X_)),(Tr(),Pr("svg",J_,[Rr("circle",{stroke:o.color,class:"uni-page-refresh__path",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"},null,8,Z_)]))])],4)])}]]);function tw(e,t,n){const o=Array.prototype.slice.call(e.changedTouches).filter(e=>e.identifier===t)[0];return!!o&&(e.deltaY=o.pageY-n,!0)}const nw="pulling",ow="reached",iw="aborting",rw="refreshing",aw="restoring";function sw(e){const t=yd(),{id:n,pullToRefresh:o}=t,{range:i,height:r}=o;let a,s,l,c,u,d,h,p;Sy(()=>{t.enablePullDownRefresh&&(p||(p=rw,y(),setTimeout(()=>{S()},50)))},"startPullDownRefresh",!1,n),Sy(()=>{t.enablePullDownRefresh&&p===rw&&(b(),p=aw,y(),function(e){if(!s)return;l.transition="-webkit-transform 0.3s",l.transform+=" scale(0.01)";const t=function(){n&&clearTimeout(n),s.removeEventListener("webkitTransitionEnd",t),l.transition="",l.transform="translate3d(-50%, 0, 0)",e()};s.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}(()=>{b(),p=f=m=null}))},Jp,!1,n),wi(()=>{a=e.value.$el,s=a.querySelector(".uni-page-refresh"),l=s.style,c=s.querySelector(".uni-page-refresh-inner").style});let f=null,m=null;function g(e){p&&a&&a.classList[e]("uni-page-refresh--"+p)}function y(){g("add")}function b(){g("remove")}const v=rd(e=>{if(!t.enablePullDownRefresh)return;const n=e.changedTouches[0];u=n.identifier,d=n.pageY,h=!([iw,rw,aw].indexOf(p)>=0)}),_=rd(e=>{if(!t.enablePullDownRefresh)return;if(!h)return;if(!tw(e,u,d))return;let{deltaY:n}=e;if(0!==(document.documentElement.scrollTop||document.body.scrollTop))return void(u=null);if(n<0&&!p)return;e.cancelable&&e.preventDefault(),null===f&&(m=n,p=nw,y()),n-=m,n<0&&(n=0),f=n;(n>=i&&p!==ow||n<i&&p!==nw)&&(b(),p=p===ow?nw:ow,y()),function(e){if(!s)return;let t=e/i;t>1?t=1:t*=t*t;const n=Math.round(e/(i/r))||0;c.transform="rotate("+360*t+"deg)",l.clip="rect("+(45-n)+"px,45px,45px,-5px)",l.transform="translate3d(-50%, "+n+"px, 0)"}(n)}),w=rd(e=>{t.enablePullDownRefresh&&tw(e,u,d)&&null!==p&&(p===nw?(b(),p=iw,y(),function(e){if(!s)return;if(l.transform){l.transition="-webkit-transform 0.3s",l.transform="translate3d(-50%, 0, 0)";const t=function(){n&&clearTimeout(n),s.removeEventListener("webkitTransitionEnd",t),l.transition="",e()};s.addEventListener("webkitTransitionEnd",t);const n=setTimeout(t,350)}else e()}(()=>{b(),p=f=m=null})):p===ow&&(b(),p=rw,y(),S()))});function S(){s&&(l.transition="-webkit-transform 0.2s",l.transform="translate3d(-50%, "+r+"px, 0)",Cu(n,_e))}return{onTouchstartPassive:v,onTouchmove:_,onTouchend:w,onTouchcancel:w}}const lw=id({name:"PageBody",setup(e,t){const n=yd(),o=Nn(null),i=Nn(null),r=n.enablePullDownRefresh?sw(o):null,a=Nn(null);return No(()=>n.enablePullDownRefresh,()=>{a.value=n.enablePullDownRefresh?r:null},{immediate:!0}),()=>{const e=function(e,t){if(!t.enablePullDownRefresh)return null;return jr(ew,{ref:e},null,512)}(o,n);return jr(wr,null,[e,jr("uni-page-wrapper",qr({ref:i},a.value),[jr("uni-page-body",null,[Pi(t.slots,"default")]),null],16)])}}});const cw=id({name:"Page",setup(e,t){let n=bd(_d());const o=n.navigationBar,i={};return d_(n),()=>jr("uni-page",{"data-page":n.route,style:i},"custom"!==o.style?[jr(W_),uw(t),null]:[uw(t),null])}});function uw(e){return Tr(),Or(lw,{key:0},{default:So(()=>[Pi(e.slots,"page")]),_:3})}const dw={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=fh;const hw=Object.assign({}),pw=Object.assign;window.__uniConfig=pw({preloadRule:{"pages/index/index":{network:"wifi",packages:["pagesSub/my"]},"pages/login/Login":{network:"wifi",packages:["pagesSub/my"]},"pages/my/index":{network:"wifi",packages:["pagesSub/my"]},"pagesSub/case/index":{network:"wifi",packages:[]}},globalStyle:{backgroundColor:"#F5F6FA",navigationBar:{backgroundColor:"#0f95b0",type:"default",titleColor:"#ffffff"},isNVue:!1},uniIdRouter:{},tabBar:{position:"bottom",color:"#999999",selectedColor:"#0f95b0",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",list:[{pagePath:"pages/index/index",text:"é¦é¡µ",iconPath:"/static/tabbar/home.png",selectedIconPath:"/static/tabbar/home-active.png"},{pagePath:"pages/my/index",text:"æç",iconPath:"/static/tabbar/my.png",selectedIconPath:"/static/tabbar/my-active.png"}],backgroundColor:"#FFFFFF",selectedIndex:0,shown:!0},easycom:{autoscan:!0,custom:{"^uni-(.*)":"@dcloudio/uni-ui/lib/uni-$1/uni-$1","^u--(.*)":"@/uni_modules/uview-plus/components/u-$1/u-$1.vue","^up-(.*)":"@/uni_modules/uview-plus/components/u-$1/u-$1.vue","^u-([^-].*)":"@/uni_modules/uview-plus/components/u-$1/u-$1.vue"}},compilerVersion:"4.75"},{appId:"__UNI__90996F2",appName:"éå²å¤§å¦éå±å»é¢opo",appVersion:"1.0.0",appVersionCode:"100",async:dw,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(hw).reduce((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return pw(e[n]||(e[n]={}),hw[t].default),e},{}),router:{mode:"history",base:"/",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const fw={delay:dw.delay,timeout:dw.timeout,suspensible:dw.suspensible};dw.loading&&(fw.loadingComponent={name:"SystemAsyncLoading",render:()=>jr(Io(dw.loading))}),dw.error&&(fw.errorComponent={name:"SystemAsyncError",props:["error"],render(){return jr(Io(dw.error),{error:this.error})}});const mw=()=>t(()=>import("./pages-index-index.BRpR633j.js"),__vite__mapDeps([0,1])).then(e=>Gy(e.default||e)),gw=oi(pw({loader:mw},fw)),yw=()=>t(()=>import("./pages-login-Login.BzqvnHY1.js"),__vite__mapDeps([2,3,4,5,6,7,8,9])).then(e=>Gy(e.default||e)),bw=oi(pw({loader:yw},fw)),vw=()=>t(()=>import("./pages-login-Register.CaLhRCu3.js"),__vite__mapDeps([10,11])).then(e=>Gy(e.default||e)),_w=oi(pw({loader:vw},fw)),ww=()=>t(()=>import("./pages-my-index.CbCwItf7.js"),__vite__mapDeps([12,7,13])).then(e=>Gy(e.default||e)),Sw=oi(pw({loader:ww},fw)),xw=()=>t(()=>import("./pagesSub-case-index.DbJGtCw_.js"),__vite__mapDeps([14,15,16])).then(e=>Gy(e.default||e)),Cw=oi(pw({loader:xw},fw)),kw=()=>t(()=>import("./pagesSub-case-CaseDetails.BShAqW8R.js"),__vite__mapDeps([17,18,5,6,19,20,15,21])).then(e=>Gy(e.default||e)),Aw=oi(pw({loader:kw},fw)),Tw=()=>t(()=>import("./pagesSub-case-CaseInfo.DA0jjBoZ.js"),__vite__mapDeps([22,23,8,18,5,6,19,20,15,24])).then(e=>Gy(e.default||e)),Iw=oi(pw({loader:Tw},fw)),Ew=()=>t(()=>import("./pagesSub-case-transfer.CqyKquGF.js"),__vite__mapDeps([25,15,26])).then(e=>Gy(e.default||e)),Bw=oi(pw({loader:Ew},fw)),Pw=()=>t(()=>import("./pagesSub-case-transferinfo.6zJI7OvI.js"),__vite__mapDeps([27,18,5,6,19,28])).then(e=>Gy(e.default||e)),Ow=oi(pw({loader:Pw},fw)),Mw=()=>t(()=>import("./pagesSub-ethicalReview-ethicalInfo.BWOU4OGX.js"),__vite__mapDeps([29,5,6,23,8,30])).then(e=>Gy(e.default||e)),Lw=oi(pw({loader:Mw},fw)),Dw=()=>t(()=>import("./pagesSub-ethicalReview-index.BHEbViy2.js"),__vite__mapDeps([31,15,32])).then(e=>Gy(e.default||e)),zw=oi(pw({loader:Dw},fw)),Nw=()=>t(()=>import("./pagesSub-my-notification.Bf9Xq51D.js"),__vite__mapDeps([33,34])).then(e=>Gy(e.default||e)),Rw=oi(pw({loader:Nw},fw)),jw=()=>t(()=>import("./pagesSub-my-profile.CT8TnkXH.js"),__vite__mapDeps([35,36])).then(e=>Gy(e.default||e)),$w=oi(pw({loader:jw},fw)),Fw=()=>t(()=>import("./pagesSub-my-health-records.CPJR40t1.js"),__vite__mapDeps([37,38])).then(e=>Gy(e.default||e)),Hw=oi(pw({loader:Fw},fw)),Vw=()=>t(()=>import("./pagesSub-common-search-index.CW1CgqmW.js"),__vite__mapDeps([39,40])).then(e=>Gy(e.default||e)),Ww=oi(pw({loader:Vw},fw)),Uw=()=>t(()=>import("./pagesSub-common-news-list.CX_Eg48j.js"),__vite__mapDeps([41,3,4,42])).then(e=>Gy(e.default||e)),qw=oi(pw({loader:Uw},fw)),Qw=()=>t(()=>import("./pagesSub-common-news-detail.CN-Nejw4.js"),__vite__mapDeps([43,44])).then(e=>Gy(e.default||e)),Yw=oi(pw({loader:Qw},fw));function Gw(e,t){return Tr(),Or(cw,null,{page:So(()=>[jr(e,pw({},t,{ref:"page"}),null,512)]),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/index/index",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(gw,t)}},loader:mw,meta:{isQuit:!0,isEntry:!0,isTabBar:!0,tabBarIndex:0,enablePullDownRefresh:!0,navigationBar:{titleText:"é大éé¢OPO管çå¹³å°",type:"default"},isNVue:!1}},{path:"/pages/login/Login",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(bw,t)}},loader:yw,meta:{navigationBar:{titleText:"ç»å½",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/login/Register",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(_w,t)}},loader:vw,meta:{navigationBar:{titleText:"注å",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/my/index",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Sw,t)}},loader:ww,meta:{isQuit:!0,isTabBar:!0,tabBarIndex:1,navigationBar:{titleText:"个人ä¸å¿",type:"default"},isNVue:!1}},{path:"/pagesSub/case/index",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Cw,t)}},loader:xw,meta:{navigationBar:{titleText:"æç䏿¥",type:"default"},isNVue:!1}},{path:"/pagesSub/case/CaseDetails",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Aw,t)}},loader:kw,meta:{navigationBar:{titleText:"䏿¥æ¡ä¾",type:"default"},isNVue:!1}},{path:"/pagesSub/case/CaseInfo",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Iw,t)}},loader:Tw,meta:{navigationBar:{titleText:"æ¡ä¾è¯¦æ
",type:"default"},isNVue:!1}},{path:"/pagesSub/case/transfer",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Bw,t)}},loader:Ew,meta:{navigationBar:{titleText:"转è¿ç»è®°",type:"default"},isNVue:!1}},{path:"/pagesSub/case/transferinfo",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Ow,t)}},loader:Pw,meta:{navigationBar:{titleText:"ç»è®°å详æ
",type:"default"},isNVue:!1}},{path:"/pagesSub/ethicalReview/ethicalInfo",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Lw,t)}},loader:Mw,meta:{navigationBar:{titleText:"伦ç审æ¥",type:"default"},isNVue:!1}},{path:"/pagesSub/ethicalReview/index",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(zw,t)}},loader:Dw,meta:{navigationBar:{titleText:"审æ¥è®°å½",type:"default"},isNVue:!1}},{path:"/pagesSub/my/notification",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Rw,t)}},loader:Nw,meta:{navigationBar:{titleText:"æ¶æ¯éç¥",type:"default"},isNVue:!1}},{path:"/pagesSub/my/profile",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw($w,t)}},loader:jw,meta:{navigationBar:{titleText:"个人信æ¯",type:"default"},isNVue:!1}},{path:"/pagesSub/my/health-records",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Hw,t)}},loader:Fw,meta:{navigationBar:{titleText:"å¥åº·æ¡£æ¡",type:"default"},isNVue:!1}},{path:"/pagesSub/common/search/index",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Ww,t)}},loader:Vw,meta:{navigationBar:{titleText:"æç´¢",type:"default"},isNVue:!1}},{path:"/pagesSub/common/news/list",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(qw,t)}},loader:Uw,meta:{navigationBar:{titleText:"å»é¢èµè®¯",type:"default"},isNVue:!1}},{path:"/pagesSub/common/news/detail",component:{setup(){const e=Uy(),t=e&&e.$route&&e.$route.query||{};return()=>Gw(Yw,t)}},loader:Qw,meta:{navigationBar:{titleText:"èµè®¯è¯¦æ
",type:"default"},isNVue:!1}}].map(e=>(e.meta.route=(e.alias||e.path).slice(1),e)); |
| | | /*! |
| | | * pinia v2.1.7 |
| | | * (c) 2023 Eduardo San Martin Morote |