function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = ["assets/pages-component-view-view.BBBwrkqR.js","assets/uni-grid.DpCkTXPK.js","assets/uni-grid-BSw3Lk2h.css","assets/uni-tooltip.BooQ_fry.js","assets/uni-tooltip-CmaWPwy_.css","assets/send.BLyP2Of5.js","assets/view-B5JDtsKO.css","assets/pages-component-scroll-view-scroll-view.CqqKWnEd.js","assets/scroll-view-CJ1GSEcy.css","assets/pages-component-swiper-swiper.BCLmFfUF.js","assets/swiper-BDppfJDe.css","assets/pages-component-cover-view-cover-view.BveZVrNK.js","assets/uni.BZyQ2YDL.js","assets/cover-view-BeeP3PP1.css","assets/pages-component-movable-view-movable-view.Chy3Ugxi.js","assets/movable-view-_DCsZzVj.css","assets/pages-component-text-text.C_dd72T5.js","assets/text-4Y7HswE3.css","assets/pages-component-progress-progress.C7ZH6S-J.js","assets/progress-D722TyNl.css","assets/pages-component-button-button.CI4Bkxl2.js","assets/button-CYq0aEmY.css","assets/pages-component-checkbox-checkbox.CGWvJiFt.js","assets/checkbox-C0q4Etxq.css","assets/pages-component-form-form.B1yqmLlU.js","assets/form-CF5DJsUK.css","assets/pages-component-input-input.BhyYeX_2.js","assets/input-BollgG27.css","assets/pages-component-label-label.DNhzXGzB.js","assets/label-DL_LHr6x.css","assets/pages-component-picker-picker.D12pfQ4E.js","assets/picker-D7L4dpeG.css","assets/pages-component-picker-view-picker-view.yvTPhkGB.js","assets/picker-view-Bg2yp9av.css","assets/pages-component-radio-radio._tGwdVlH.js","assets/radio-5mJ_DVgO.css","assets/pages-component-editor-editor.rIRRD6kQ.js","assets/editor-DnxgrS4p.css","assets/pages-component-image-image.CAlniqA1.js","assets/image-BeV8roik.css","assets/pages-component-video-video.FbG3Md2H.js","assets/video-D9A-TzHT.css","assets/pages-component-map-map.DTX0kfGZ.js","assets/map-BNrxgVf9.css","assets/pages-component-canvas-canvas.BD_7jUod.js","assets/canvas-vsfSm3tA.css","assets/pages-about-about.BKiCBfmK.js","assets/uni-table.CIAD74_n.js","assets/uni-datetime-picker.D-cXsysU.js","assets/uni-datetime-picker-VbNxwHaf.css","assets/uni-table-D_oX91zz.css","assets/uni-segmented-control.C5vm5CRB.js","assets/uni-segmented-control-DX-yLMtZ.css","assets/about-BhLhpRx0.css","assets/uni_modules-uni-upgrade-center-app-pages-upgrade-popup.B5S9vP_8.js","assets/upgrade-popup-CYmDS9ac.css","assets/pages-API-login-login.DIczik7D.js","assets/login-Bllsu0hX.css","assets/pages-API-get-user-info-get-user-info.CIZZlsUi.js","assets/get-user-info-Csat9Xp1.css","assets/pages-API-request-payment-request-payment.FUDV8pp9.js","assets/request-payment-Dv7uCVTw.css","assets/pages-API-navigator-new-page-new-vue-page-1.GAofbeXW.js","assets/new-vue-page-1-BciF2tok.css","assets/pages-API-navigator-new-page-new-vue-page-2.DVSa9dKc.js","assets/new-vue-page-2-CB2Ei_1M.css","assets/pages-API-pull-down-refresh-pull-down-refresh.CWCtFK0U.js","assets/pull-down-refresh-d2nmpzU2.css","assets/pages-API-animation-animation.mgzZWcLo.js","assets/animation-hIKFYLhP.css","assets/pages-API-get-node-info-get-node-info.y5DKCoYB.js","assets/get-node-info-ByeerL_u.css","assets/pages-API-intersection-observer-intersection-observer.zFyl9yDV.js","assets/intersection-observer-C1s7q1IM.css","assets/pages-API-canvas-canvas.B3jSS2V9.js","assets/canvas-COdcxpDi.css","assets/pages-API-get-system-info-get-system-info.CUw_695X.js","assets/get-system-info-CBx6siJ7.css","assets/pages-API-on-accelerometer-change-on-accelerometer-change.BCXzVjJ0.js","assets/on-accelerometer-change-C0aOCt7f.css","assets/pages-API-on-compass-change-on-compass-change.BxvdKnnr.js","assets/on-compass-change-D_SRAUeS.css","assets/pages-API-make-phone-call-make-phone-call.gMhaSAhZ.js","assets/make-phone-call-Dcdyxehv.css","assets/pages-API-scan-code-scan-code.CSB0tPK0.js","assets/permission.D706xXoU.js","assets/scan-code-C9WhcEnd.css","assets/pages-API-upload-file-upload-file.NtJVEDZN.js","assets/upload-file-CVfrwR_b.css","assets/pages-API-download-file-download-file.DEZctN9N.js","assets/download-file-DqKBKTxe.css","assets/pages-API-image-image.CfB0isb9.js","assets/image-Jwn920UR.css","assets/pages-API-voice-voice.sOGEgGUn.js","assets/util.BQsFLuvY.js","assets/stop.Bbaqifkj.js","assets/voice-BGh5cN9-.css","assets/pages-API-inner-audio-inner-audio.fICVs0hy.js","assets/inner-audio-CeEpaKVR.css","assets/pages-API-background-audio-background-audio.DPVpGIDd.js","assets/background-audio--3cSpQfd.css","assets/pages-API-video-video.DCp2LODY.js","assets/video-h8iASEcF.css","assets/pages-API-file-file.qlIgtYUb.js","assets/file-C2oWexI7.css","assets/pages-API-map-map.CMlN-WR3.js","assets/map-C4K4HHxf.css","assets/pages-API-get-location-get-location.Cg4p6P2k.js","assets/get-location-0jtp8apX.css","assets/pages-API-open-location-open-location.DylP0Kzw.js","assets/open-location-Be3rWSsV.css","assets/pages-API-choose-location-choose-location.BHmsre85.js","assets/choose-location-DPmOVnrt.css","assets/pages-API-storage-storage.DHsSOIJd.js","assets/storage-Cfp_BqrX.css","assets/pages-API-sqlite-sqlite.BUoqCpY_.js","assets/sqlite-DkGjvK9e.css","assets/pages-API-vibrate-vibrate.BJfZ3Fg1.js","assets/vibrate-CP3ilYKa.css","assets/pages-API-websocket-socketTask-websocket-socketTask.DlhPjl9E.js","assets/websocket-socketTask-CX_JDLnq.css","assets/pages-API-websocket-global-websocket-global.BV_nuech.js","assets/websocket-global-C_gDddHL.css","assets/pages-extUI-forms-forms.DRV-Ltfa.js","assets/uni-card.CpdfOoXJ.js","assets/uni-card-Bb-hV3Ne.css","assets/uni-easyinput.Bli_yCXp.js","assets/uni-easyinput-Dw4kDkwD.css","assets/uni-data-checkbox.CJSNfC7D.js","assets/uni-load-more.BMea_02e.js","assets/uni-load-more-CqgqDBT9.css","assets/uni-data-checkbox-Dh1AgNou.css","assets/uni-data-picker.kaSeVw8a.js","assets/uni-data-picker-CApznxEk.css","assets/uni-data-select.DxKbGgsN.js","assets/uni-data-select-1zeybHrW.css","assets/uni-section.BISPxi99.js","assets/uni-section-CIyu8iyG.css","assets/forms-DNrekiUB.css","assets/pages-extUI-group-group.BQd4Qa0X.js","assets/group-9X-mdTBX.css","assets/pages-extUI-badge-badge.BVC8egqt.js","assets/uni-badge.BFkMAjEp.js","assets/uni-badge-DoMBgR8P.css","assets/badge-BEZs0v9U.css","assets/pages-extUI-breadcrumb-breadcrumb.BKRWEjHc.js","assets/breadcrumb-CnWzf3AV.css","assets/pages-extUI-countdown-countdown.CzWleMy6.js","assets/countdown-DzUfexSO.css","assets/pages-extUI-drawer-drawer.CLx-CWPo.js","assets/drawer-C0RBxcCr.css","assets/pages-extUI-icons-icons.DERcsldZ.js","assets/icons-C3xxDYf9.css","assets/pages-extUI-load-more-load-more.BvxrGNE8.js","assets/load-more-Bx3Jh709.css","assets/pages-extUI-nav-bar-nav-bar.CzZTzE8k.js","assets/uni-nav-bar.Cm2pcZXB.js","assets/uni-nav-bar-BN_ba6Pm.css","assets/nav-bar-TnmDW2ZB.css","assets/pages-extUI-number-box-number-box.D0WJOK4a.js","assets/number-box-BDh_uJ4G.css","assets/pages-extUI-popup-popup.t8rOcT0L.js","assets/popup-BzUBKvN3.css","assets/pages-extUI-segmented-control-segmented-control.D8QK1Za9.js","assets/segmented-control-DPrfz_QA.css","assets/pages-extUI-tag-tag.CC7tawBj.js","assets/tag-BwDDu6Ej.css","assets/pages-extUI-list-list.CU3O69Dp.js","assets/uni-list-item.BlW01pkd.js","assets/uni-list-item-IcrX6ww9.css","assets/uni-list.WXd8u5z3.js","assets/uni-list-BqUnhWWG.css","assets/list-BnvL0MWh.css","assets/pages-extUI-card-card.D7n8DwCd.js","assets/card-B10Nicj_.css","assets/pages-extUI-collapse-collapse.Dir8FBuB.js","assets/collapse-BpJW-jRw.css","assets/pages-extUI-pagination-pagination.DUj1XuTB.js","assets/uni-pagination.XJcG9eQ1.js","assets/uni-pagination-ZisDBo22.css","assets/pagination-CXA1uZ1a.css","assets/pages-extUI-swiper-dot-swiper-dot.CMh-cQI4.js","assets/swiper-dot-MC3K-mG5.css","assets/pages-extUI-grid-grid.8lS_5xMk.js","assets/grid-BBQ_6E1_.css","assets/pages-extUI-rate-rate.B3emprKm.js","assets/rate-CnNFokIl.css","assets/pages-extUI-steps-steps.CUSQLXxo.js","assets/steps-mzaAUf4X.css","assets/pages-extUI-notice-bar-notice-bar.4g4GmD3a.js","assets/notice-bar-DpsL4dZh.css","assets/pages-extUI-swipe-action-swipe-action.BVxZvqb1.js","assets/swipe-action-DuAd4eYs.css","assets/pages-extUI-search-bar-search-bar.DSUZee4m.js","assets/search-bar-Bdix62wV.css","assets/pages-extUI-calendar-calendar.Csv3OXZL.js","assets/calendar-DNY59BAV.css","assets/pages-extUI-indexed-list-indexed-list.C7FcVtIb.js","assets/indexed-list-xUcB56La.css","assets/pages-extUI-fab-fab.DxTQK0hp.js","assets/fab-Dh2WxHPw.css","assets/pages-extUI-fav-fav.BmiNXcG7.js","assets/fav-B1KqPFjR.css","assets/pages-extUI-goods-nav-goods-nav.BAy8z42-.js","assets/goods-nav-WWFZ3Svw.css","assets/pages-extUI-section-section.DjFGYNHt.js","assets/section-qfMTxAFD.css","assets/pages-extUI-transition-transition.CK0j4wqM.js","assets/transition-Dx7qZ4Rm.css","assets/pages-extUI-title-title.DQeG4DPK.js","assets/title-Dpo3EYfB.css","assets/pages-extUI-tooltip-tooltip.CVqyYZSa.js","assets/tooltip-kHy1hmPk.css","assets/pages-extUI-link-link.xm3D5g8B.js","assets/link-_7H1_bJt.css","assets/pages-extUI-combox-combox.CDbKK__Z.js","assets/combox-BGHegbvx.css","assets/pages-extUI-list-chat.C8FijOf7.js","assets/chat-iSoDNSp7.css","assets/pages-extUI-table-table.5pPnqgMM.js","assets/table-Dx3kmMGQ.css","assets/pages-extUI-dateformat-dateformat.BYYvD3cQ.js","assets/dateformat-CZH4CiPo.css","assets/pages-extUI-data-checkbox-data-checkbox.Dru3rG70.js","assets/data-checkbox-BHMlmrge.css","assets/pages-extUI-easyinput-easyinput.CpxhOsgT.js","assets/easyinput-Bj0WB5cS.css","assets/pages-extUI-data-picker-data-picker.DHU5uW8E.js","assets/data-picker-C0_nEJfe.css","assets/pages-extUI-data-select-data-select.DM1G09Tb.js","assets/data-select-DRw33kyO.css","assets/pages-extUI-datetime-picker-datetime-picker.CVvrQz2C.js","assets/datetime-picker-IU4lIpDe.css","assets/pages-extUI-row-row.DX-dLXSk.js","assets/row-D5fQfbCq.css","assets/pages-extUI-file-picker-file-picker.CX5wZ3Bm.js","assets/file-picker-D1uUIRBM.css","assets/pages-extUI-space-space.xhYoJnYG.js","assets/space-BlXbPAnq.css","assets/pages-extUI-font-font.DGQqODCe.js","assets/pages-extUI-color-color.BMl_2DH3.js","assets/color-D9MbmKnH.css","assets/pages-extUI-radius-radius.SNNxaNzU.js","assets/radius-CHy2Myty.css","assets/pages-extUI-button-button.CVg96RgG.js","assets/button-BhXVgVpP.css","assets/pages-template-component-communication-component-communication.ETjPdC9p.js","assets/component-communication-CGGGPh7r.css","assets/pages-template-nav-transparent-nav-transparent.QrROMWrx.js","assets/nav-transparent-CiIDQ9cA.css","assets/pages-template-nav-city-dropdown-nav-city-dropdown.CTUTSDh1.js","assets/nav-city-dropdown-BmvD6WSj.css","assets/pages-template-nav-search-input-nav-search-input.hGU-2rb8.js","assets/nav-search-input-Cm03ttUi.css","assets/pages-template-nav-search-input-detail-detail.DkKdo6bS.js","assets/detail-Ce2xFfEn.css","assets/pages-template-list2detail-list-list2detail-list.B8F6mUDy.js","assets/list2detail-list-CfomUlfa.css","assets/pages-template-list2detail-detail-list2detail-detail.hIyg-722.js","assets/list2detail-detail-CpQrdseM.css","assets/pages-template-tabbar-tabbar.DkZVjaRW.js","assets/tabbar-ged5zqzM.css","assets/pages-template-swiper-vertical-swiper-vertical.mk2RdZBR.js","assets/swiper-vertical-K3yjUyjg.css","assets/pages-template-swiper-list-swiper-list.yd_9yL3b.js","assets/swiper-list-BxNjvqQC.css","assets/pages-template-scheme-scheme.-80YW9ke.js","assets/scheme-BqDaL_Rp.css","assets/pages-template-global-global.DjDuz8iy.js","assets/global-BNDezfs4.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } !function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();const e={},t=function(t,n,o){let i=Promise.resolve();if(n&&n.length>0){const t=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),r=(null==a?void 0:a.nonce)||(null==a?void 0:a.getAttribute("nonce"));i=Promise.all(n.map((n=>{if((n=function(e){return"/"+e}(n))in e)return;e[n]=!0;const i=n.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!o)for(let e=t.length-1;e>=0;e--){const o=t[e];if(o.href===n&&(!i||"stylesheet"===o.rel))return}else if(document.querySelector(`link[href="${n}"]${a}`))return;const s=document.createElement("link");return s.rel=i?"stylesheet":"modulepreload",i||(s.as="script",s.crossOrigin=""),s.href=n,r&&s.setAttribute("nonce",r),document.head.appendChild(s),i?new Promise(((e,t)=>{s.addEventListener("load",e),s.addEventListener("error",(()=>t(new Error(`Unable to preload CSS for ${n}`))))})):void 0})))}return i.then((()=>t())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))}; /** * @vue/shared v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ function n(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const o={},i=[],a=()=>{},r=()=>!1,s=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,u=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},d=Object.prototype.hasOwnProperty,p=(e,t)=>d.call(e,t),h=Array.isArray,f=e=>"[object Map]"===x(e),g=e=>"[object Set]"===x(e),m=e=>"function"==typeof e,v=e=>"string"==typeof e,y=e=>"symbol"==typeof e,_=e=>null!==e&&"object"==typeof e,b=e=>(_(e)||m(e))&&m(e.then)&&m(e.catch),w=Object.prototype.toString,x=e=>w.call(e),A=e=>"[object Object]"===x(e),T=e=>v(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,k=n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),S=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},C=/-(\w)/g,E=S((e=>e.replace(C,((e,t)=>t?t.toUpperCase():"")))),I=/\B([A-Z])/g,B=S((e=>e.replace(I,"-$1").toLowerCase())),P=S((e=>e.charAt(0).toUpperCase()+e.slice(1))),R=S((e=>e?`on${P(e)}`:"")),L=(e,t)=>!Object.is(e,t),O=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},D=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let N;const $=()=>N||(N="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function q(e){if(h(e)){const t={};for(let n=0;n{if(e){const n=e.split(j);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function z(e){let t="";if(v(e))t=e;else if(h(e))for(let n=0;nv(e)?e:null==e?"":h(e)||_(e)&&(e.toString===w||!m(e.toString))?JSON.stringify(e,K,2):String(e),K=(e,t)=>t&&t.__v_isRef?K(e,t.value):f(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[Y(t,o)+" =>"]=n,e)),{})}:g(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>Y(e)))}:y(t)?Y(t):!_(t)||h(t)||A(t)?t:String(t),Y=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},G=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view"].map((e=>"uni-"+e)),Q=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map((e=>"uni-"+e)),J=["list-item"].map((e=>"uni-"+e));function Z(e){if(-1!==J.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==G.indexOf(t)||-1!==Q.indexOf(t)}const ee=["%","%"],te=/^([a-z-]+:)?\/\//i,ne=/^data:.*,.*/;function oe(e){return e&&(e.appContext?e.proxy:e)}function ie(e){if(!e)return;let t=e.type.name;for(;t&&Z(B(t));)t=(e=e.parent).type.name;return e.proxy}function ae(e){return 1===e.nodeType}function re(e,t=!1){const{vnode:n}=e;if(ae(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&&ae(e.el)));if(e.length>0)return t?e.map((e=>e.el)):e[0].el}return t?n.el?[n.el]:[]:n.el}function se(e){if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),q(t)}if(v(e))return V(e);if(h(e)){const t={};for(let n=0;n{e&&(t+=n+" ")}));else if(h(e))for(let n=0;n(e&&(n=e.apply(t,o),e=null),n)}const fe=e=>e>9?e:"0"+e;function ge({date:e=new Date,mode:t="date"}){return"time"===t?fe(e.getHours())+":"+fe(e.getMinutes()):e.getFullYear()+"-"+fe(e.getMonth()+1)+"-"+fe(e.getDate())}function me(e,t){e=e||{},v(t)&&(t={errMsg:t}),/:ok$/.test(t.errMsg)?m(e.success)&&e.success(t):m(e.fail)&&e.fail(t),m(e.complete)&&e.complete(t)}function ve(e){return E(e.substring(5))}const ye=he((()=>{const e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(e,n){if(e.startsWith("data-")&&this.tagName.startsWith("UNI-")){(this.__uniDataset||(this.__uniDataset={}))[ve(e)]=n}t.call(this,e,n)};const n=e.removeAttribute;e.removeAttribute=function(e){this.__uniDataset&&e.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[ve(e)],n.call(this,e)}}));function _e(e){return c({},e.dataset,e.__uniDataset)}const be=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function we(e){return{passive:e}}function xe(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:_e(e),offsetTop:n,offsetLeft:o}}function Ae(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Te(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=Ae(e[n])}catch(gB){t[n]=e[n]}})),t}const ke=/\+/g;function Se(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe.apply(this,arguments);i=o(a,t)};return a.cancel=function(){n(i)},a}class Ee{constructor(e,t){this.id=e,this.listener={},this.emitCache=[],t&&Object.keys(t).forEach((e=>{this.on(e,t[e])}))}emit(e,...t){const n=this.listener[e];if(!n)return this.emitCache.push({eventName:e,args:t});n.forEach((e=>{e.fn.apply(e.fn,t)})),this.listener[e]=n.filter((e=>"once"!==e.type))}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let o=0;o{if(m(e._component.onError))return t(e)})),Oe=function(){};Oe.prototype={on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var o=this;function i(){o.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,i=n.length;o=0;a--)if(o[a].fn===t||o[a].fn._===t){o.splice(a,1);break}i=o}return i.length?n[e]=i:delete n[e],this}};var Me=Oe;const De={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function Ne(e,t,n){if(v(t)&&t.startsWith("@")){let i=e[t.replace("@","")]||t;switch(n){case"titleColor":i="black"===i?"#000000":"#ffffff";break;case"borderStyle":i=(o=i)&&o in De?De[o]:o}return i}var o;return t}function $e(e,t={},n="light"){const o=t[n],i={};return void 0===o?e:(Object.keys(e).forEach((a=>{const r=e[a];i[a]=A(r)?$e(r,t,n):h(r)?r.map((e=>"object"==typeof e?$e(e,t,n):Ne(o,e))):Ne(o,r,a)})),i)} /** * @dcloudio/uni-h5-vue v3.4.21 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let qe,Ue;class je{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=qe,!e&&qe&&(this.index=(qe.scopes||(qe.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=qe;try{return qe=this,e()}finally{qe=t}}}on(){qe=this}off(){qe=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Qe()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Xe,t=Ue;try{return Xe=!0,Ue=this,this._runnings++,ze(this),this.fn()}finally{We(this),this._runnings--,Ue=t,Xe=e}}stop(){var e;this.active&&(ze(this),We(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function ze(e){e._trackId++,e._depsLength=0}function We(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},it=new WeakMap,at=Symbol(""),rt=Symbol("");function st(e,t,n){if(Xe&&Ue){let t=it.get(e);t||it.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=ot((()=>t.delete(n)))),et(Ue,o)}}function lt(e,t,n,o,i,a){const r=it.get(e);if(!r)return;let s=[];if("clear"===t)s=[...r.values()];else if("length"===n&&h(e)){const e=Number(o);r.forEach(((t,n)=>{("length"===n||!y(n)&&n>=e)&&s.push(t)}))}else switch(void 0!==n&&s.push(r.get(n)),t){case"add":h(e)?T(n)&&s.push(r.get("length")):(s.push(r.get(at)),f(e)&&s.push(r.get(rt)));break;case"delete":h(e)||(s.push(r.get(at)),f(e)&&s.push(r.get(rt)));break;case"set":f(e)&&s.push(r.get(at))}Je();for(const l of s)l&&nt(l,4);Ze()}const ct=n("__proto__,__v_isRef,__isVue"),ut=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(y)),dt=pt();function pt(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=en(this);for(let t=0,i=this.length;t{e[t]=function(...e){Ge(),Je();const n=en(this)[t].apply(this,e);return Ze(),Qe(),n}})),e}function ht(e){const t=en(this);return st(t,0,e),t.hasOwnProperty(e)}class ft{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,i=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return i;if("__v_raw"===t)return n===(o?i?zt:Vt:i?Ft:jt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const a=h(e);if(!o){if(a&&p(dt,t))return Reflect.get(dt,t,n);if("hasOwnProperty"===t)return ht}const r=Reflect.get(e,t,n);return(y(t)?ut.has(t):ct(t))?r:(o||st(e,0,t),i?r:ln(r)?a&&T(t)?r:r.value:_(r)?o?Kt(r):Ht(r):r)}}class gt extends ft{constructor(e=!1){super(!1,e)}set(e,t,n,o){let i=e[t];if(!this._isShallow){const t=Qt(i);if(Jt(n)||Qt(n)||(i=en(i),n=en(n)),!h(e)&&ln(i)&&!ln(n))return!t&&(i.value=n,!0)}const a=h(e)&&T(t)?Number(t)e,wt=e=>Reflect.getPrototypeOf(e);function xt(e,t,n=!1,o=!1){const i=en(e=e.__v_raw),a=en(t);n||(L(t,a)&&st(i,0,t),st(i,0,a));const{has:r}=wt(i),s=o?bt:n?on:nn;return r.call(i,t)?s(e.get(t)):r.call(i,a)?s(e.get(a)):void(e!==i&&e.get(t))}function At(e,t=!1){const n=this.__v_raw,o=en(n),i=en(e);return t||(L(e,i)&&st(o,0,e),st(o,0,i)),e===i?n.has(e):n.has(e)||n.has(i)}function Tt(e,t=!1){return e=e.__v_raw,!t&&st(en(e),0,at),Reflect.get(e,"size",e)}function kt(e){e=en(e);const t=en(this);return wt(t).has.call(t,e)||(t.add(e),lt(t,"add",e,e)),this}function St(e,t){t=en(t);const n=en(this),{has:o,get:i}=wt(n);let a=o.call(n,e);a||(e=en(e),a=o.call(n,e));const r=i.call(n,e);return n.set(e,t),a?L(t,r)&<(n,"set",e,t):lt(n,"add",e,t),this}function Ct(e){const t=en(this),{has:n,get:o}=wt(t);let i=n.call(t,e);i||(e=en(e),i=n.call(t,e)),o&&o.call(t,e);const a=t.delete(e);return i&<(t,"delete",e,void 0),a}function Et(){const e=en(this),t=0!==e.size,n=e.clear();return t&<(e,"clear",void 0,void 0),n}function It(e,t){return function(n,o){const i=this,a=i.__v_raw,r=en(a),s=t?bt:e?on:nn;return!e&&st(r,0,at),a.forEach(((e,t)=>n.call(o,s(e),s(t),i)))}}function Bt(e,t,n){return function(...o){const i=this.__v_raw,a=en(i),r=f(a),s="entries"===e||e===Symbol.iterator&&r,l="keys"===e&&r,c=i[e](...o),u=n?bt:t?on:nn;return!t&&st(a,0,l?rt:at),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Pt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Rt(){const e={get(e){return xt(this,e)},get size(){return Tt(this)},has:At,add:kt,set:St,delete:Ct,clear:Et,forEach:It(!1,!1)},t={get(e){return xt(this,e,!1,!0)},get size(){return Tt(this)},has:At,add:kt,set:St,delete:Ct,clear:Et,forEach:It(!1,!0)},n={get(e){return xt(this,e,!0)},get size(){return Tt(this,!0)},has(e){return At.call(this,e,!0)},add:Pt("add"),set:Pt("set"),delete:Pt("delete"),clear:Pt("clear"),forEach:It(!0,!1)},o={get(e){return xt(this,e,!0,!0)},get size(){return Tt(this,!0)},has(e){return At.call(this,e,!0)},add:Pt("add"),set:Pt("set"),delete:Pt("delete"),clear:Pt("clear"),forEach:It(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((i=>{e[i]=Bt(i,!1,!1),n[i]=Bt(i,!0,!1),t[i]=Bt(i,!1,!0),o[i]=Bt(i,!0,!0)})),[e,n,t,o]}const[Lt,Ot,Mt,Dt]=Rt();function Nt(e,t){const n=t?e?Dt:Mt:e?Ot:Lt;return(t,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(p(n,o)&&o in t?n:t,o,i)}const $t={get:Nt(!1,!1)},qt={get:Nt(!1,!0)},Ut={get:Nt(!0,!1)},jt=new WeakMap,Ft=new WeakMap,Vt=new WeakMap,zt=new WeakMap;function Wt(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>x(e).slice(8,-1))(e))}function Ht(e){return Qt(e)?e:Yt(e,!1,vt,$t,jt)}function Xt(e){return Yt(e,!1,_t,qt,Ft)}function Kt(e){return Yt(e,!0,yt,Ut,Vt)}function Yt(e,t,n,o,i){if(!_(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const a=i.get(e);if(a)return a;const r=Wt(e);if(0===r)return e;const s=new Proxy(e,2===r?o:n);return i.set(e,s),s}function Gt(e){return Qt(e)?Gt(e.__v_raw):!(!e||!e.__v_isReactive)}function Qt(e){return!(!e||!e.__v_isReadonly)}function Jt(e){return!(!e||!e.__v_isShallow)}function Zt(e){return Gt(e)||Qt(e)}function en(e){const t=e&&e.__v_raw;return t?en(t):e}function tn(e){return Object.isExtensible(e)&&M(e,"__v_skip",!0),e}const nn=e=>_(e)?Ht(e):e,on=e=>_(e)?Kt(e):e;class an{constructor(e,t,n,o){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ve((()=>e(this._value)),(()=>sn(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=en(this);return e._cacheable&&!e.effect.dirty||!L(e._value,e._value=e.effect.run())||sn(e,4),rn(e),e.effect._dirtyLevel>=2&&sn(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function rn(e){var t;Xe&&Ue&&(e=en(e),et(Ue,null!=(t=e.dep)?t:e.dep=ot((()=>e.dep=void 0),e instanceof an?e:void 0)))}function sn(e,t=4,n){const o=(e=en(e)).dep;o&&nt(o,t)}function ln(e){return!(!e||!0!==e.__v_isRef)}function cn(e){return dn(e,!1)}function un(e){return dn(e,!0)}function dn(e,t){return ln(e)?e:new pn(e,t)}class pn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:en(e),this._value=t?e:nn(e)}get value(){return rn(this),this._value}set value(e){const t=this.__v_isShallow||Jt(e)||Qt(e);e=t?e:en(e),L(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:nn(e),sn(this,4))}}function hn(e){return ln(e)?e.value:e}const fn={get:(e,t,n)=>hn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const i=e[t];return ln(i)&&!ln(n)?(i.value=n,!0):Reflect.set(e,t,n,o)}};function gn(e){return Gt(e)?e:new Proxy(e,fn)}function mn(e,t,n,o){try{return o?e(...o):e()}catch(i){yn(i,t,n)}}function vn(e,t,n,o){if(m(e)){const i=mn(e,t,n,o);return i&&b(i)&&i.catch((e=>{yn(e,t,n)})),i}const i=[];for(let a=0;a>>1,i=wn[o],a=Ln(i);aLn(e)-Ln(t)));if(An.length=0,Tn)return void Tn.push(...e);for(Tn=e,kn=0;knnull==e.id?1/0:e.id,On=(e,t)=>{const n=Ln(e)-Ln(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Mn(e){bn=!1,_n=!0,wn.sort(On);try{for(xn=0;xnv(e)?e.trim():e))),t&&(a=n.map(D))}let l,c=i[l=R(t)]||i[l=R(E(t))];!c&&r&&(c=i[l=R(B(t))]),c&&vn(c,e,6,Nn(e,c,a));const u=i[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,vn(u,e,6,Nn(e,u,a))}}function Nn(e,t,n){if(1!==n.length)return n;if(m(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&p(o,"type")&&p(o,"timeStamp")&&p(o,"target")&&p(o,"currentTarget")&&p(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function $n(e,t,n=!1){const o=t.emitsCache,i=o.get(e);if(void 0!==i)return i;const a=e.emits;let r={},s=!1;if(!m(e)){const o=e=>{const n=$n(e,t,!0);n&&(s=!0,c(r,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return a||s?(h(a)?a.forEach((e=>r[e]=null)):c(r,a),_(e)&&o.set(e,r),r):(_(e)&&o.set(e,null),null)}function qn(e,t){return!(!e||!s(t))&&(t=t.slice(2).replace(/Once$/,""),p(e,t[0].toLowerCase()+t.slice(1))||p(e,B(t))||p(e,t))}let Un=null,jn=null;function Fn(e){const t=Un;return Un=e,jn=e&&e.type.__scopeId||null,t}function Vn(e,t=Un,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Qi(-1);const i=Fn(t);let a;try{a=e(...n)}finally{Fn(i),o._d&&Qi(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function zn(e){const{type:t,vnode:n,proxy:o,withProxy:i,props:a,propsOptions:[r],slots:s,attrs:c,emit:u,render:d,renderCache:p,data:h,setupState:f,ctx:g,inheritAttrs:m}=e;let v,y;const _=Fn(e);try{if(4&n.shapeFlag){const e=i||o,t=e;v=da(d.call(t,e,p,a,f,h,g)),y=c}else{const e=t;0,v=da(e.length>1?e(a,{attrs:c,slots:s,emit:u}):e(a,null)),y=t.props?c:Wn(c)}}catch(w){Xi.length=0,yn(w,e,1),v=sa(Wi)}let b=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=b;e.length&&7&t&&(r&&e.some(l)&&(y=Hn(y,r)),b=la(b,y))}return n.dirs&&(b=la(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),v=b,Fn(_),v}const Wn=e=>{let t;for(const n in e)("class"===n||"style"===n||s(n))&&((t||(t={}))[n]=e[n]);return t},Hn=(e,t)=>{const n={};for(const o in e)l(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Xn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let i=0;ie.__isSuspense;const eo=Symbol.for("v-scx");function to(e,t){return io(e,null,t)}const no={};function oo(e,t,n){return io(e,t,n)}function io(e,t,{immediate:n,deep:i,flush:r,once:s,onTrack:l,onTrigger:c}=o){if(t&&s){const e=t;t=(...t)=>{e(...t),S()}}const d=ya,p=e=>!0===i?e:so(e,!1===i?1:void 0);let f,g,v=!1,y=!1;if(ln(e)?(f=()=>e.value,v=Jt(e)):Gt(e)?(f=()=>p(e),v=!0):h(e)?(y=!0,v=e.some((e=>Gt(e)||Jt(e))),f=()=>e.map((e=>ln(e)?e.value:Gt(e)?p(e):m(e)?mn(e,d,2):void 0))):f=m(e)?t?()=>mn(e,d,2):()=>(g&&g(),vn(e,d,3,[b])):a,t&&i){const e=f;f=()=>so(e())}let _,b=e=>{g=T.onStop=()=>{mn(e,d,4),g=T.onStop=void 0}};if(ka){if(b=a,t?n&&vn(t,d,3,[f(),y?[]:void 0,b]):f(),"sync"!==r)return a;{const e=Ai(eo);_=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(no):no;const x=()=>{if(T.active&&T.dirty)if(t){const e=T.run();(i||v||(y?e.some(((e,t)=>L(e,w[t]))):L(e,w)))&&(g&&g(),vn(t,d,3,[e,w===no?void 0:y&&w[0]===no?[]:w,b]),w=e)}else T.run()};let A;x.allowRecurse=!!t,"sync"===r?A=x:"post"===r?A=()=>Ni(x,d&&d.suspense):(x.pre=!0,d&&(x.id=d.uid),A=()=>In(x));const T=new Ve(f,a,A),k=qe,S=()=>{T.stop(),k&&u(k.effects,T)};return t?n?x():w=T.run():"post"===r?Ni(T.run.bind(T),d&&d.suspense):T.run(),_&&_.push(S),S}function ao(e,t,n){const o=this.proxy,i=v(e)?e.includes(".")?ro(o,e):()=>o[e]:e.bind(o,o);let a;m(t)?a=t:(a=t.handler,n=t);const r=xa(this),s=io(i,a.bind(o),n);return r(),s}function ro(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),ln(e))so(e.value,t,n,o);else if(h(e))for(let i=0;i{so(e,t,n,o)}));else if(A(e))for(const i in e)so(e[i],t,n,o);return e}function lo(e,t){if(null===Un)return e;const n=Ea(Un)||Un.proxy,i=e.dirs||(e.dirs=[]);for(let a=0;a{e.isMounted=!0})),Wo((()=>{e.isUnmounting=!0})),e}();return()=>{const i=t.default&&wo(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1)for(const e of i)if(e.type!==Wi){a=e;break}const r=en(e),{mode:s}=r;if(o.isLeaving)return yo(a);const l=_o(a);if(!l)return yo(a);const c=vo(l,r,o,n);bo(l,c);const u=n.subTree,d=u&&_o(u);if(d&&d.type!==Wi&&!na(l,d)){const e=vo(d,r,o,n);if(bo(d,e),"out-in"===s)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},yo(a);"in-out"===s&&l.type!==Wi&&(e.delayLeave=(e,t,n)=>{mo(o,d)[String(d.key)]=d,e[uo]=()=>{t(),e[uo]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return a}}};function mo(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function vo(e,t,n,o){const{appear:i,mode:a,persisted:r=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:_}=t,b=String(e.key),w=mo(n,e),x=(e,t)=>{e&&vn(e,o,9,t)},A=(e,t)=>{const n=t[1];x(e,t),h(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},T={mode:a,persisted:r,beforeEnter(t){let o=s;if(!n.isMounted){if(!i)return;o=m||s}t[uo]&&t[uo](!0);const a=w[b];a&&na(e,a)&&a.el[uo]&&a.el[uo](),x(o,[t])},enter(e){let t=l,o=c,a=u;if(!n.isMounted){if(!i)return;t=v||l,o=y||c,a=_||u}let r=!1;const s=e[po]=t=>{r||(r=!0,x(t?a:o,[e]),T.delayedLeave&&T.delayedLeave(),e[po]=void 0)};t?A(t,[e,s]):s()},leave(t,o){const i=String(e.key);if(t[po]&&t[po](!0),n.isUnmounting)return o();x(d,[t]);let a=!1;const r=t[uo]=n=>{a||(a=!0,o(),x(n?g:f,[t]),t[uo]=void 0,w[i]===e&&delete w[i])};w[i]=e,p?A(p,[t,r]):r()},clone:e=>vo(e,t,n,o)};return T}function yo(e){if(So(e))return(e=la(e)).children=null,e}function _o(e){return So(e)?e.children?e.children[0]:void 0:e}function bo(e,t){6&e.shapeFlag&&e.component?bo(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function wo(e,t=!1,n){let o=[],i=0;for(let a=0;a1)for(let a=0;ac({name:e.name},t,{setup:e}))():e}const Ao=e=>!!e.type.__asyncLoader /*! #__NO_SIDE_EFFECTS__ */;function To(e){m(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:i=200,timeout:a,suspensible:r=!0,onError:s}=e;let l,c=null,u=0;const d=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),s)return new Promise(((t,n)=>{s(e,(()=>t((u++,c=null,d()))),(()=>n(e)),u+1)}));throw e})).then((t=>e!==c&&c?c:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),l=t,t))))};return xo({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return l},setup(){const e=ya;if(l)return()=>ko(l,e);const t=t=>{c=null,yn(t,e,13,!o)};if(r&&e.suspense||ka)return d().then((t=>()=>ko(t,e))).catch((e=>(t(e),()=>o?sa(o,{error:e}):null)));const s=cn(!1),u=cn(),p=cn(!!i);return i&&setTimeout((()=>{p.value=!1}),i),null!=a&&setTimeout((()=>{if(!s.value&&!u.value){const e=new Error(`Async component timed out after ${a}ms.`);t(e),u.value=e}}),a),d().then((()=>{s.value=!0,e.parent&&So(e.parent.vnode)&&(e.parent.effect.dirty=!0,In(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>s.value&&l?ko(l,e):u.value&&o?sa(o,{error:u.value}):n&&!p.value?sa(n):void 0}})}function ko(e,t){const{ref:n,props:o,children:i,ce:a}=t.vnode,r=sa(e,o,i);return r.ref=n,r.ce=a,delete t.vnode.ce,r}const So=e=>e.type.__isKeepAlive;class Co{constructor(e){this.max=e,this._cache=new Map,this._keys=new Set,this._max=parseInt(e,10)}get(e){const{_cache:t,_keys:n,_max:o}=this,i=t.get(e);if(i)n.delete(e),n.add(e);else if(n.add(e),o&&n.size>o){const e=n.values().next().value;this.pruneCacheEntry(t.get(e)),this.delete(e)}return i}set(e,t){this._cache.set(e,t)}delete(e){this._cache.delete(e),this._keys.delete(e)}forEach(e,t){this._cache.forEach(e.bind(t))}}const Eo={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number],matchBy:{type:String,default:"name"},cache:Object},setup(e,{slots:t}){const n=_a(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const i=e.cache||new Co(e.max);i.pruneCacheEntry=r;let a=null;function r(t){var o;!a||!na(t,a)||"key"===e.matchBy&&t.key!==a.key?(Mo(o=t),u(o,n,s,!0)):a&&Mo(a)}const s=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=o,p=d("div");function h(t){i.forEach(((n,o)=>{const a=No(n,e.matchBy);!a||t&&t(a)||(i.delete(o),r(n))}))}o.activate=(e,t,n,o,i)=>{const a=e.component;if(a.ba){const e=a.isDeactivated;a.isDeactivated=!1,O(a.ba),a.isDeactivated=e}c(e,t,n,0,s),l(a.vnode,e,t,n,a,s,o,e.slotScopeIds,i),Ni((()=>{a.isDeactivated=!1,a.a&&O(a.a);const t=e.props&&e.props.onVnodeMounted;t&&ga(t,a.parent,e)}),s)},o.deactivate=e=>{const t=e.component;t.bda&&$o(t.bda),c(e,p,null,1,s),Ni((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&O(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&ga(n,t.parent,e),t.isDeactivated=!0}),s)},oo((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&h((t=>Bo(e,t))),t&&h((e=>!Bo(t,e)))}),{flush:"post",deep:!0});let f=null;const g=()=>{null!=f&&i.set(f,Do(n.subTree))};return Fo(g),zo(g),Wo((()=>{i.forEach(((t,o)=>{i.delete(o),r(t);const{subTree:a,suspense:s}=n,l=Do(a);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&O(l.component.bda),Mo(l);const e=l.component.da;e&&Ni(e,s)}}))})),()=>{if(f=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return a=null,n;if(!ta(o)||!(4&o.shapeFlag)&&!Zn(o.type))return a=null,o;let r=Do(o);const s=r.type,l=No(r,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!Bo(c,l))||u&&l&&Bo(u,l))return a=r,o;const d=null==r.key?s:r.key,p=i.get(d);return r.el&&(r=la(r),Zn(o.type)&&(o.ssContent=r)),f=d,p&&(r.el=p.el,r.component=p.component,r.transition&&bo(r,r.transition),r.shapeFlag|=512),r.shapeFlag|=256,a=r,Zn(o.type)?o:r}}},Io=Eo;function Bo(e,t){return h(e)?e.some((e=>Bo(e,t))):v(e)?e.split(",").includes(t):"[object RegExp]"===x(e)&&e.test(t)}function Po(e,t){Lo(e,"a",t)}function Ro(e,t){Lo(e,"da",t)}function Lo(e,t,n=ya){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,qo(t,o,n),n){let e=n.parent;for(;e&&e.parent;)So(e.parent.vnode)&&Oo(o,t,n,e),e=e.parent}}function Oo(e,t,n,o){const i=qo(t,e,o,!0);Ho((()=>{u(o[t],i)}),n)}function Mo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Do(e){return Zn(e.type)?e.ssContent:e}function No(e,t){if("name"===t){const t=e.type;return Ia(Ao(e)?t.__asyncResolved||{}:t)}return String(e.key)}function $o(e){for(let t=0;t-1&&n.$pageInstance){if(n.type.__reserved)return;if(n!==n.$pageInstance&&(n=n.$pageInstance,function(e){return["onLoad","onShow"].indexOf(e)>-1}(e))){const o=n.proxy;vn(t.bind(o),n,e,"onLoad"===e?[o.$page.options]:[])}}const a=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Ge();const i=xa(n),a=vn(t,n,e,o);return i(),Qe(),a});return o?a.unshift(r):a.push(r),r}var i}const Uo=e=>(t,n=ya)=>(!ka||"sp"===e)&&qo(e,((...e)=>t(...e)),n),jo=Uo("bm"),Fo=Uo("m"),Vo=Uo("bu"),zo=Uo("u"),Wo=Uo("bum"),Ho=Uo("um"),Xo=Uo("sp"),Ko=Uo("rtg"),Yo=Uo("rtc");function Go(e,t=ya){qo("ec",e,t)}function Qo(e,t,n,o){let i;const a=n&&n[o];if(h(e)||v(e)){i=new Array(e.length);for(let n=0,o=e.length;nt(e,n,void 0,a&&a[n])));else{const n=Object.keys(e);i=new Array(n.length);for(let o=0,r=n.length;o{const t=o.fn(...e);return t&&(t.key=o.key),t}:o.fn)}return e}function Zo(e,t,n={},o,i){if(Un.isCE||Un.parent&&Ao(Un.parent)&&Un.parent.isCE)return"default"!==t&&(n.name=t),sa("slot",n,o&&o());let a=e[t];a&&a._c&&(a._d=!1),Yi();const r=a&&ei(a(n)),s=ea(Vi,{key:n.key||r&&r.key||`_${t}`},r||(o?o():[]),r&&1===e._?64:-2);return!i&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),a&&a._c&&(a._d=!0),s}function ei(e){return e.some((e=>!ta(e)||e.type!==Wi&&!(e.type===Vi&&!ei(e.children))))?e:null}const ti=e=>{if(!e)return null;if(Ta(e)){return Ea(e)||e.proxy}return ti(e.parent)},ni=c(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ti(e.parent),$root:e=>ti(e.root),$emit:e=>e.emit,$options:e=>ui(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,In(e.update)})(e)),$nextTick:e=>e.n||(e.n=En.bind(e.proxy)),$watch:e=>ao.bind(e)}),oi=(e,t)=>e!==o&&!e.__isScriptSetup&&p(e,t),ii={get({_:e},t){const{ctx:n,setupState:i,data:a,props:r,accessCache:s,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=s[t];if(void 0!==l)switch(l){case 1:return i[t];case 2:return a[t];case 4:return n[t];case 3:return r[t]}else{if(oi(i,t))return s[t]=1,i[t];if(a!==o&&p(a,t))return s[t]=2,a[t];if((u=e.propsOptions[0])&&p(u,t))return s[t]=3,r[t];if(n!==o&&p(n,t))return s[t]=4,n[t];ri&&(s[t]=0)}}const d=ni[t];let h,f;return d?("$attrs"===t&&st(e,0,t),d(e)):(h=l.__cssModules)&&(h=h[t])?h:n!==o&&p(n,t)?(s[t]=4,n[t]):(f=c.config.globalProperties,p(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:i,setupState:a,ctx:r}=e;return oi(a,t)?(a[t]=n,!0):i!==o&&p(i,t)?(i[t]=n,!0):!p(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(r[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:a,propsOptions:r}},s){let l;return!!n[s]||e!==o&&p(e,s)||oi(t,s)||(l=r[0])&&p(l,s)||p(i,s)||p(ni,s)||p(a.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:p(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ai(e){return h(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let ri=!0;function si(e){const t=ui(e),n=e.proxy,o=e.ctx;ri=!1,t.beforeCreate&&li(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:s,watch:l,provide:c,inject:u,created:d,beforeMount:p,mounted:f,beforeUpdate:g,updated:v,activated:y,deactivated:b,beforeDestroy:w,beforeUnmount:x,destroyed:A,unmounted:T,render:k,renderTracked:S,renderTriggered:C,errorCaptured:E,serverPrefetch:I,expose:B,inheritAttrs:P,components:R,directives:L,filters:O}=t;if(u&&function(e,t,n=a){h(e)&&(e=fi(e));for(const o in e){const n=e[o];let i;i=_(n)?"default"in n?Ai(n.from||o,n.default,!0):Ai(n.from||o):Ai(n),ln(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[o]=i}}(u,o,null),s)for(const a in s){const e=s[a];m(e)&&(o[a]=e.bind(n))}if(i){const t=i.call(n,n);_(t)&&(e.data=Ht(t))}if(ri=!0,r)for(const h in r){const e=r[h],t=m(e)?e.bind(n,n):m(e.get)?e.get.bind(n,n):a,i=!m(e)&&m(e.set)?e.set.bind(n):a,s=Ba({get:t,set:i});Object.defineProperty(o,h,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(l)for(const a in l)ci(l[a],o,n,a);if(c){const e=m(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{xi(t,e[t])}))}function M(e,t){h(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&li(d,e,"c"),M(jo,p),M(Fo,f),M(Vo,g),M(zo,v),M(Po,y),M(Ro,b),M(Go,E),M(Yo,S),M(Ko,C),M(Wo,x),M(Ho,T),M(Xo,I),h(B))if(B.length){const t=e.exposed||(e.exposed={});B.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});k&&e.render===a&&(e.render=k),null!=P&&(e.inheritAttrs=P),R&&(e.components=R),L&&(e.directives=L);const D=e.appContext.config.globalProperties.$applyOptions;D&&D(t,e,n)}function li(e,t,n){vn(h(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function ci(e,t,n,o){const i=o.includes(".")?ro(n,o):()=>n[o];if(v(e)){const n=t[e];m(n)&&oo(i,n)}else if(m(e))oo(i,e.bind(n));else if(_(e))if(h(e))e.forEach((e=>ci(e,t,n,o)));else{const o=m(e.handler)?e.handler.bind(n):t[e.handler];m(o)&&oo(i,o,e)}}function ui(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:r}}=e.appContext,s=a.get(t);let l;return s?l=s:i.length||n||o?(l={},i.length&&i.forEach((e=>di(l,e,r,!0))),di(l,t,r)):l=t,_(t)&&a.set(t,l),l}function di(e,t,n,o=!1){const{mixins:i,extends:a}=t;a&&di(e,a,n,!0),i&&i.forEach((t=>di(e,t,n,!0)));for(const r in t)if(o&&"expose"===r);else{const o=pi[r]||n&&n[r];e[r]=o?o(e[r],t[r]):t[r]}return e}const pi={data:hi,props:vi,emits:vi,methods:mi,computed:mi,beforeCreate:gi,created:gi,beforeMount:gi,mounted:gi,beforeUpdate:gi,updated:gi,beforeDestroy:gi,beforeUnmount:gi,destroyed:gi,unmounted:gi,activated:gi,deactivated:gi,errorCaptured:gi,serverPrefetch:gi,components:mi,directives:mi,watch:function(e,t){if(!e)return t;if(!t)return e;const n=c(Object.create(null),e);for(const o in t)n[o]=gi(e[o],t[o]);return n},provide:hi,inject:function(e,t){return mi(fi(e),fi(t))}};function hi(e,t){return t?e?function(){return c(m(e)?e.call(this,this):e,m(t)?t.call(this,this):t)}:t:e}function fi(e){if(h(e)){const t={};for(let n=0;n(a.has(e)||(e&&m(e.install)?(a.add(e),e.install(s,...t)):m(e)&&(a.add(e),e(s,...t))),s),mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),s),component:(e,t)=>t?(i.components[e]=t,s):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,s):i.directives[e],mount(a,l,c){if(!r){const u=sa(n,o);return u.appContext=i,!0===c?c="svg":!1===c&&(c=void 0),l&&t?t(u,a):e(u,a,c),r=!0,s._container=a,a.__vue_app__=s,s._instance=u.component,Ea(u.component)||u.component.proxy}},unmount(){r&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,s),runWithContext(e){const t=wi;wi=s;try{return e()}finally{wi=t}}};return s}}let wi=null;function xi(e,t){if(ya){let n=ya.provides;const o=ya.parent&&ya.parent.provides;o===n&&(n=ya.provides=Object.create(o)),n[e]=t,"app"===ya.type.mpType&&ya.appContext.app.provide(e,t)}else;}function Ai(e,t,n=!1){const o=ya||Un;if(o||wi){const i=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:wi._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&m(t)?t.call(o&&o.proxy):t}}function Ti(e,t,n,i){const[a,r]=e.propsOptions;let s,l=!1;if(t)for(let o in t){if(k(o))continue;const c=t[o];let u;a&&p(a,u=E(o))?r&&r.includes(u)?(s||(s={}))[u]=c:n[u]=c:qn(e.emitsOptions,o)||o in i&&c===i[o]||(i[o]=c,l=!0)}if(r){const t=en(n),i=s||o;for(let o=0;o{d=!0;const[n,o]=Si(e,t,!0);c(l,n),o&&u.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!s&&!d)return _(e)&&a.set(e,i),i;if(h(s))for(let i=0;i-1,n[1]=o<0||t-1||p(n,"default"))&&u.push(e)}}}const f=[l,u];return _(e)&&a.set(e,f),f}function Ci(e){return"$"!==e[0]&&!k(e)}function Ei(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function Ii(e,t){return Ei(e)===Ei(t)}function Bi(e,t){return h(t)?t.findIndex((t=>Ii(t,e))):m(t)&&Ii(t,e)?0:-1}const Pi=e=>"_"===e[0]||"$stable"===e,Ri=e=>h(e)?e.map(da):[da(e)],Li=(e,t,n)=>{if(t._n)return t;const o=Vn(((...e)=>Ri(t(...e))),n);return o._c=!1,o},Oi=(e,t,n)=>{const o=e._ctx;for(const i in e){if(Pi(i))continue;const n=e[i];if(m(n))t[i]=Li(0,n,o);else if(null!=n){const e=Ri(n);t[i]=()=>e}}},Mi=(e,t)=>{const n=Ri(t);e.slots.default=()=>n};function Di(e,t,n,i,a=!1){if(h(e))return void e.forEach(((e,o)=>Di(e,t&&(h(t)?t[o]:t),n,i,a)));if(Ao(i)&&!a)return;const r=4&i.shapeFlag?Ea(i.component)||i.component.proxy:i.el,s=a?null:r,{i:l,r:c}=e,d=t&&t.r,f=l.refs===o?l.refs={}:l.refs,g=l.setupState;if(null!=d&&d!==c&&(v(d)?(f[d]=null,p(g,d)&&(g[d]=null)):ln(d)&&(d.value=null)),m(c))mn(c,l,12,[s,f]);else{const t=v(c),o=ln(c);if(t||o){const i=()=>{if(e.f){const n=t?p(g,c)?g[c]:f[c]:c.value;a?h(n)&&u(n,r):h(n)?n.includes(r)||n.push(r):t?(f[c]=[r],p(g,c)&&(g[c]=f[c])):(c.value=[r],e.k&&(f[e.k]=c.value))}else t?(f[c]=s,p(g,c)&&(g[c]=s)):o&&(c.value=s,e.k&&(f[e.k]=s))};s?(i.id=-1,Ni(i,n)):i()}}}const Ni=function(e,t){var n;t&&t.pendingBranch?h(e)?t.effects.push(...e):t.effects.push(e):(h(n=e)?An.push(...n):Tn&&Tn.includes(n,n.allowRecurse?kn+1:kn)||An.push(n),Bn())};function $i(e){return function(e,t){$().__VUE__=!0;const{insert:n,remove:r,patchProp:s,forcePatchProp:l,createElement:u,createText:d,createComment:h,setText:f,setElementText:g,parentNode:m,nextSibling:v,setScopeId:y=a,insertStaticContent:_}=e,w=(e,t,n,o=null,i=null,a=null,r,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!na(e,t)&&(o=te(e),G(e,i,a,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case zi:x(e,t,n,o);break;case Wi:A(e,t,n,o);break;case Hi:null==e&&T(t,n,o,r);break;case Vi:U(e,t,n,o,i,a,r,s,l);break;default:1&d?I(e,t,n,o,i,a,r,s,l):6&d?j(e,t,n,o,i,a,r,s,l):(64&d||128&d)&&c.process(e,t,n,o,i,a,r,s,l,ie)}null!=u&&i&&Di(u,e&&e.ref,a,t||e,!t)},x=(e,t,o,i)=>{if(null==e)n(t.el=d(t.children),o,i);else{const n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},A=(e,t,o,i)=>{null==e?n(t.el=h(t.children||""),o,i):t.el=e.el},T=(e,t,n,o)=>{[e.el,e.anchor]=_(e.children,t,n,o,e.el,e.anchor)},S=({el:e,anchor:t},o,i)=>{let a;for(;e&&e!==t;)a=v(e),n(e,o,i),e=a;n(t,o,i)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=v(e),r(e),e=n;r(t)},I=(e,t,n,o,i,a,r,s,l)=>{"svg"===t.type?r="svg":"math"===t.type&&(r="mathml"),null==e?P(t,n,o,i,a,r,s,l):D(e,t,i,a,r,s,l)},P=(e,t,o,i,a,r,l,c)=>{let d,p;const{props:h,shapeFlag:f,transition:m,dirs:v}=e;if(d=e.el=u(e.type,r,h&&h.is,h),8&f?g(d,e.children):16&f&&L(e.children,d,null,i,a,qi(e,r),l,c),v&&co(e,null,i,"created"),R(d,e,e.scopeId,l,i),h){for(const t in h)"value"===t||k(t)||s(d,t,null,h[t],r,e.children,i,a,ee);"value"in h&&s(d,"value",null,h.value,r),(p=h.onVnodeBeforeMount)&&ga(p,i,e)}Object.defineProperty(d,"__vueParentComponent",{value:i,enumerable:!1}),v&&co(e,null,i,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(a,m);y&&m.beforeEnter(d),n(d,t,o),((p=h&&h.onVnodeMounted)||y||v)&&Ni((()=>{p&&ga(p,i,e),y&&m.enter(d),v&&co(e,null,i,"mounted")}),a)},R=(e,t,n,o,i)=>{if(n&&y(e,n),o)for(let a=0;a{for(let c=l;c{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:p,dirs:h}=t;d|=16&e.patchFlag;const f=e.props||o,m=t.props||o;let v;if(n&&Ui(n,!1),(v=m.onVnodeBeforeUpdate)&&ga(v,n,t,e),h&&co(t,e,n,"beforeUpdate"),n&&Ui(n,!0),p?N(e.dynamicChildren,p,u,n,i,qi(t,a),r):c||H(e,t,u,null,n,i,qi(t,a),r,!1),d>0){if(16&d)q(u,t,f,m,n,i,a);else if(2&d&&f.class!==m.class&&s(u,"class",null,m.class,a),4&d&&s(u,"style",f.style,m.style,a),8&d){const o=t.dynamicProps;for(let t=0;t{v&&ga(v,n,t,e),h&&co(t,e,n,"updated")}),i)},N=(e,t,n,o,i,a,r)=>{for(let s=0;s{if(n!==i){if(n!==o)for(const o in n)k(o)||o in i||s(e,o,n[o],null,c,t.children,a,r,ee);for(const o in i){if(k(o))continue;const u=i[o],d=n[o];(u!==d&&"value"!==o||l&&l(e,o))&&s(e,o,d,u,c,t.children,a,r,ee)}"value"in i&&s(e,"value",n.value,i.value,c)}},U=(e,t,o,i,a,r,s,l,c)=>{const u=t.el=e?e.el:d(""),p=t.anchor=e?e.anchor:d("");let{patchFlag:h,dynamicChildren:f,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(n(u,o,i),n(p,o,i),L(t.children||[],o,p,a,r,s,l,c)):h>0&&64&h&&f&&e.dynamicChildren?(N(e.dynamicChildren,f,o,a,r,s,l),(null!=t.key||a&&t===a.subTree)&&ji(e,t,!0)):H(e,t,o,p,a,r,s,l,c)},j=(e,t,n,o,i,a,r,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?i.ctx.activate(t,n,o,r,l):F(t,n,o,i,a,r,l):V(e,t,l)},F=(e,t,n,i,a,r,s)=>{const l=e.component=function(e,t,n){const i=e.type,a=(t?t.appContext:e.appContext)||ma,r={uid:va++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new je(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Si(i,a),emitsOptions:$n(i,a),emit:null,emitted:null,propsDefaults:o,inheritAttrs:i.inheritAttrs,ctx:o,data:o,props:o,attrs:o,slots:o,refs:o,setupState:o,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};r.ctx={_:r},r.root=t?t.root:r,r.emit=Dn.bind(null,r),r.$pageInstance=t&&t.$pageInstance,e.ce&&e.ce(r);return r}(e,i,a);if(So(e)&&(l.ctx.renderer=ie),function(e,t=!1){t&&wa(t);const{props:n,children:o}=e.vnode,i=Ta(e);(function(e,t,n,o=!1){const i={},a={};M(a,oa,1),e.propsDefaults=Object.create(null),Ti(e,t,i,a);for(const r in e.propsOptions[0])r in i||(i[r]=void 0);n?e.props=o?i:Xt(i):e.type.props?e.props=i:e.props=a,e.attrs=a})(e,n,i,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=en(t),M(t,"_",n)):Oi(t,e.slots={})}else e.slots={},t&&Mi(e,t);M(e.slots,oa,1)})(e,o);const a=i?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=tn(new Proxy(e.ctx,ii));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed=t||{}};return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(st(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,i=xa(e);Ge();const a=mn(o,e,0,[e.props,n]);if(Qe(),i(),b(a)){if(a.then(Aa,Aa),t)return a.then((n=>{Sa(e,n,t)})).catch((t=>{yn(t,e,0)}));e.asyncDep=a}else Sa(e,a,t)}else Ca(e,t)}(e,t):void 0;t&&wa(!1)}(l),l.asyncDep){if(a&&a.registerDep(l,z),!e.el){const e=l.subTree=sa(Wi);A(null,e,t,n)}}else z(l,e,t,n,a,r,s)},V=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:i,component:a}=e,{props:r,children:s,patchFlag:l}=t,c=a.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!i&&!s||s&&s.$stable)||o!==r&&(o?!r||Xn(o,r,c):!!r);if(1024&l)return!0;if(16&l)return o?Xn(o,r,c):!!r;if(8&l){const e=t.dynamicProps;for(let t=0;txn&&wn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},z=(e,t,n,o,i,r,s)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:a,vnode:c}=e;{const n=Fi(e);if(n)return t&&(t.el=c.el,W(e,t,s)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,d=t;Ui(e,!1),t?(t.el=c.el,W(e,t,s)):t=c,n&&O(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&ga(u,a,t,c),Ui(e,!0);const p=zn(e),h=e.subTree;e.subTree=p,w(h,p,m(h.el),te(h),e,i,r),t.el=p.el,null===d&&function({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,p.el),o&&Ni(o,i),(u=t.props&&t.props.onVnodeUpdated)&&Ni((()=>ga(u,a,t,c)),i)}else{let a;const{el:s,props:l}=t,{bm:c,m:u,parent:d}=e,p=Ao(t);if(Ui(e,!1),c&&O(c),!p&&(a=l&&l.onVnodeBeforeMount)&&ga(a,d,t),Ui(e,!0),s&&re){const n=()=>{e.subTree=zn(e),re(s,e.subTree,e,i,null)};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const a=e.subTree=zn(e);w(null,a,n,o,e,i,r),t.el=a.el}if(u&&Ni(u,i),!p&&(a=l&&l.onVnodeMounted)){const e=t;Ni((()=>ga(a,d,e)),i)}(256&t.shapeFlag||d&&Ao(d.vnode)&&256&d.vnode.shapeFlag)&&(e.ba&&$o(e.ba),e.a&&Ni(e.a,i)),e.isMounted=!0,t=n=o=null}},c=e.effect=new Ve(l,a,(()=>In(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,Ui(e,!0),u()},W=(e,t,n)=>{t.component=e;const i=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:i,attrs:a,vnode:{patchFlag:r}}=e,s=en(i),[l]=e.propsOptions;let c=!1;if(!(o||r>0)||16&r){let o;Ti(e,t,i,a)&&(c=!0);for(const a in s)t&&(p(t,a)||(o=B(a))!==a&&p(t,o))||(l?!n||void 0===n[a]&&void 0===n[o]||(i[a]=ki(l,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(const e in a)t&&p(t,e)||(delete a[e],c=!0)}else if(8&r){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:i,slots:a}=e;let r=!0,s=o;if(32&i.shapeFlag){const e=t._;e?n&&1===e?r=!1:(c(a,t),n||1!==e||delete a._):(r=!t.$stable,Oi(t,a)),s=t}else t&&(Mi(e,t),s={default:1});if(r)for(const o in a)Pi(o)||null!=s[o]||delete a[o]})(e,t.children,n),Ge(),Pn(e),Qe()},H=(e,t,n,o,i,a,r,s,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void K(c,d,n,o,i,a,r,s,l);if(256&p)return void X(c,d,n,o,i,a,r,s,l)}8&h?(16&u&&ee(c,i,a),d!==c&&g(n,d)):16&u?16&h?K(c,d,n,o,i,a,r,s,l):ee(c,i,a,!0):(8&u&&g(n,""),16&h&&L(d,n,o,i,a,r,s,l))},X=(e,t,n,o,a,r,s,l,c)=>{t=t||i;const u=(e=e||i).length,d=t.length,p=Math.min(u,d);let h;for(h=0;hd?ee(e,a,r,!0,!1,p):L(t,n,o,a,r,s,l,c,p)},K=(e,t,n,o,a,r,s,l,c)=>{let u=0;const d=t.length;let p=e.length-1,h=d-1;for(;u<=p&&u<=h;){const o=e[u],i=t[u]=c?pa(t[u]):da(t[u]);if(!na(o,i))break;w(o,i,n,null,a,r,s,l,c),u++}for(;u<=p&&u<=h;){const o=e[p],i=t[h]=c?pa(t[h]):da(t[h]);if(!na(o,i))break;w(o,i,n,null,a,r,s,l,c),p--,h--}if(u>p){if(u<=h){const e=h+1,i=eh)for(;u<=p;)G(e[u],a,r,!0),u++;else{const f=u,g=u,m=new Map;for(u=g;u<=h;u++){const e=t[u]=c?pa(t[u]):da(t[u]);null!=e.key&&m.set(e.key,u)}let v,y=0;const _=h-g+1;let b=!1,x=0;const A=new Array(_);for(u=0;u<_;u++)A[u]=0;for(u=f;u<=p;u++){const o=e[u];if(y>=_){G(o,a,r,!0);continue}let i;if(null!=o.key)i=m.get(o.key);else for(v=g;v<=h;v++)if(0===A[v-g]&&na(o,t[v])){i=v;break}void 0===i?G(o,a,r,!0):(A[i-g]=u+1,i>=x?x=i:b=!0,w(o,t[i],n,null,a,r,s,l,c),y++)}const T=b?function(e){const t=e.slice(),n=[0];let o,i,a,r,s;const l=e.length;for(o=0;o>1,e[n[s]]0&&(t[o]=n[a-1]),n[a]=o)}}a=n.length,r=n[a-1];for(;a-- >0;)n[a]=r,r=t[r];return n}(A):i;for(v=T.length-1,u=_-1;u>=0;u--){const e=g+u,i=t[e],p=e+1{const{el:r,type:s,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void Y(e.component.subTree,t,o,i);if(128&u)return void e.suspense.move(t,o,i);if(64&u)return void s.move(e,t,o,ie);if(s===Vi){n(r,t,o);for(let e=0;el.enter(r)),a);else{const{leave:e,delayLeave:i,afterLeave:a}=l,s=()=>n(r,t,o),c=()=>{e(r,(()=>{s(),a&&a()}))};i?i(r,s,c):c()}else n(r,t,o)},G=(e,t,n,o=!1,i=!1)=>{const{type:a,props:r,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p}=e;if(null!=s&&Di(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const h=1&u&&p,f=!Ao(e);let g;if(f&&(g=r&&r.onVnodeBeforeUnmount)&&ga(g,t,e),6&u)Z(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);h&&co(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,i,ie,o):c&&(a!==Vi||d>0&&64&d)?ee(c,t,n,!1,!0):(a===Vi&&384&d||!i&&16&u)&&ee(l,t,n),o&&Q(e)}(f&&(g=r&&r.onVnodeUnmounted)||h)&&Ni((()=>{g&&ga(g,t,e),h&&co(e,null,t,"unmounted")}),n)},Q=e=>{const{type:t,el:n,anchor:o,transition:i}=e;if(t===Vi)return void J(n,o);if(t===Hi)return void C(e);const a=()=>{r(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:o}=i,r=()=>t(n,a);o?o(e.el,a,r):r()}else a()},J=(e,t)=>{let n;for(;e!==t;)n=v(e),r(e),e=n;r(t)},Z=(e,t,n)=>{const{bum:o,scope:i,update:a,subTree:r,um:s}=e;o&&O(o),i.stop(),a&&(a.active=!1,G(r,e,t,n)),s&&Ni(s,t),Ni((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},ee=(e,t,n,o=!1,i=!1,a=0)=>{for(let r=a;r6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():v(e.anchor||e.el);let ne=!1;const oe=(e,t,n)=>{null==e?t._vnode&&G(t._vnode,null,null,!0):w(t._vnode||null,e,t,null,null,null,n),ne||(ne=!0,Pn(),Rn(),ne=!1),t._vnode=e},ie={p:w,um:G,m:Y,r:Q,mt:F,mc:L,pc:H,pbc:N,n:te,o:e};let ae,re;t&&([ae,re]=t(ie));return{render:oe,hydrate:ae,createApp:bi(oe,ae)}}(e)}function qi({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ui({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ji(e,t,n=!1){const o=e.children,i=t.children;if(h(o)&&h(i))for(let a=0;a0?Ki||i:null,Xi.pop(),Ki=Xi[Xi.length-1]||null,Gi>0&&Ki&&Ki.push(e),e}function Zi(e,t,n,o,i,a){return Ji(ra(e,t,n,o,i,a,!0))}function ea(e,t,n,o,i){return Ji(sa(e,t,n,o,i,!0))}function ta(e){return!!e&&!0===e.__v_isVNode}function na(e,t){return e.type===t.type&&e.key===t.key}const oa="__vInternal",ia=({key:e})=>null!=e?e:null,aa=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?v(e)||ln(e)||m(e)?{i:Un,r:e,k:t,f:!!n}:e:null);function ra(e,t=null,n=null,o=0,i=null,a=(e===Vi?0:1),r=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ia(t),ref:t&&aa(t),scopeId:jn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:o,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Un};return s?(ha(l,n),128&a&&e.normalize(l)):n&&(l.shapeFlag|=v(n)?8:16),Gi>0&&!r&&Ki&&(l.patchFlag>0||6&a)&&32!==l.patchFlag&&Ki.push(l),l}const sa=function(e,t=null,n=null,o=0,i=null,a=!1){e&&e!==Yn||(e=Wi);if(ta(e)){const o=la(e,t,!0);return n&&ha(o,n),Gi>0&&!a&&Ki&&(6&o.shapeFlag?Ki[Ki.indexOf(e)]=o:Ki.push(o)),o.patchFlag|=-2,o}r=e,m(r)&&"__vccOpts"in r&&(e=e.__vccOpts);var r;if(t){t=function(e){return e?Zt(e)||oa in e?c({},e):e:null}(t);let{class:e,style:n}=t;e&&!v(e)&&(t.class=le(e)),_(n)&&(Zt(n)&&!h(n)&&(n=c({},n)),t.style=se(n))}const s=v(e)?1:Zn(e)?128:(e=>e.__isTeleport)(e)?64:_(e)?4:m(e)?2:0;return ra(e,t,n,o,i,s,a,!0)};function la(e,t,n=!1){const{props:o,ref:i,patchFlag:a,children:r}=e,s=t?fa(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&ia(s),ref:t&&t.ref?n&&i?h(i)?i.concat(aa(t)):[i,aa(t)]:aa(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Vi?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&la(e.ssContent),ssFallback:e.ssFallback&&la(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ca(e=" ",t=0){return sa(zi,null,e,t)}function ua(e="",t=!1){return t?(Yi(),ea(Wi,null,e)):sa(Wi,null,e)}function da(e){return null==e||"boolean"==typeof e?sa(Wi):h(e)?sa(Vi,null,e.slice()):"object"==typeof e?pa(e):sa(zi,null,String(e))}function pa(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:la(e)}function ha(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(h(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),ha(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||oa in t?3===o&&Un&&(1===Un.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Un}}else m(t)?(t={default:t,_ctx:Un},n=32):(t=String(t),64&o?(n=16,t=[ca(t)]):n=8);e.children=t,e.shapeFlag|=n}function fa(...e){const t={};for(let n=0;nya||Un;let ba,wa;{const e=$(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach((t=>t(e))):o[0](e)}};ba=t("__VUE_INSTANCE_SETTERS__",(e=>ya=e)),wa=t("__VUE_SSR_SETTERS__",(e=>ka=e))}const xa=e=>{const t=ya;return ba(e),e.scope.on(),()=>{e.scope.off(),ba(t)}},Aa=()=>{ya&&ya.scope.off(),ba(null)};function Ta(e){return 4&e.vnode.shapeFlag}let ka=!1;function Sa(e,t,n){m(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_(t)&&(e.setupState=gn(t)),Ca(e,n)}function Ca(e,t,n){const o=e.type;e.render||(e.render=o.render||a);{const t=xa(e);Ge();try{si(e)}finally{Qe(),t()}}}function Ea(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(gn(tn(e.exposed)),{get:(t,n)=>n in t?t[n]:n in ni?ni[n](e):void 0,has:(e,t)=>t in e||t in ni}))}function Ia(e,t=!0){return m(e)?e.displayName||e.name:e.name||t&&e.__name}const Ba=(e,t)=>{const n=function(e,t,n=!1){let o,i;const r=m(e);return r?(o=e,i=a):(o=e.get,i=e.set),new an(o,i,r||!i,n)}(e,0,ka);return n};function Pa(e,t,n){const o=arguments.length;return 2===o?_(t)&&!h(t)?ta(t)?sa(e,null,[t]):sa(e,t):sa(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&ta(n)&&(n=[n]),sa(e,t,n))}const Ra="3.4.21",La="undefined"!=typeof document?document:null,Oa=La&&La.createElement("template"),Ma={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const i="svg"===t?La.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?La.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?La.createElement(e,{is:n}):La.createElement(e);return"select"===e&&o&&null!=o.multiple&&i.setAttribute("multiple",o.multiple),i},createText:e=>La.createTextNode(e),createComment:e=>La.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>La.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,i,a){const r=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),i!==a&&(i=i.nextSibling););else{Oa.innerHTML="svg"===o?`${e}`:"mathml"===o?`${e}`:e;const i=Oa.content;if("svg"===o||"mathml"===o){const e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Da="transition",Na=Symbol("_vtc"),$a=(e,{slots:t})=>Pa(go,function(e){const t={};for(const c in e)c in qa||(t[c]=e[c]);if(!1===e.css)return t;const{name:n="v",type:o,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=a,appearActiveClass:u=r,appearToClass:d=s,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(_(e))return[Fa(e.enter),Fa(e.leave)];{const t=Fa(e);return[t,t]}}(i),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:w,onLeave:x,onLeaveCancelled:A,onBeforeAppear:T=y,onAppear:k=b,onAppearCancelled:S=w}=t,C=(e,t,n)=>{za(e,t?d:s),za(e,t?u:r),n&&n()},E=(e,t)=>{e._isLeaving=!1,za(e,p),za(e,f),za(e,h),t&&t()},I=e=>(t,n)=>{const i=e?k:b,r=()=>C(t,e,n);Ua(i,[t,r]),Wa((()=>{za(t,e?l:a),Va(t,e?d:s),ja(i)||Xa(t,o,m,r)}))};return c(t,{onBeforeEnter(e){Ua(y,[e]),Va(e,a),Va(e,r)},onBeforeAppear(e){Ua(T,[e]),Va(e,l),Va(e,u)},onEnter:I(!1),onAppear:I(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>E(e,t);Va(e,p),document.body.offsetHeight,Va(e,h),Wa((()=>{e._isLeaving&&(za(e,p),Va(e,f),ja(x)||Xa(e,o,v,n))})),Ua(x,[e,n])},onEnterCancelled(e){C(e,!1),Ua(w,[e])},onAppearCancelled(e){C(e,!0),Ua(S,[e])},onLeaveCancelled(e){E(e),Ua(A,[e])}})}(e),t);$a.displayName="Transition";const qa={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};$a.props=c({},fo,qa);const Ua=(e,t=[])=>{h(e)?e.forEach((e=>e(...t))):e&&e(...t)},ja=e=>!!e&&(h(e)?e.some((e=>e.length>1)):e.length>1);function Fa(e){const t=(e=>{const t=v(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Va(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Na]||(e[Na]=new Set)).add(t)}function za(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Na];n&&(n.delete(t),n.size||(e[Na]=void 0))}function Wa(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Ha=0;function Xa(e,t,n,o){const i=e._endId=++Ha,a=()=>{i===e._endId&&o()};if(n)return setTimeout(a,n);const{type:r,timeout:s,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),i=o("transitionDelay"),a=o("transitionDuration"),r=Ka(i,a),s=o("animationDelay"),l=o("animationDuration"),c=Ka(s,l);let u=null,d=0,p=0;t===Da?r>0&&(u=Da,d=r,p=a.length):"animation"===t?c>0&&(u="animation",d=c,p=l.length):(d=Math.max(r,c),u=d>0?r>c?Da:"animation":null,p=u?u===Da?a.length:l.length:0);const h=u===Da&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:d,propCount:p,hasTransform:h}}(e,t);if(!r)return o();const c=r+"end";let u=0;const d=()=>{e.removeEventListener(c,p),a()},p=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{uYa(t)+Ya(e[n]))))}function Ya(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Ga=Symbol("_vod"),Qa=Symbol("_vsh"),Ja={beforeMount(e,{value:t},{transition:n}){e[Ga]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Za(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Za(e,!0),o.enter(e)):o.leave(e,(()=>{Za(e,!1)})):Za(e,t))},beforeUnmount(e,{value:t}){Za(e,t)}};function Za(e,t){e.style.display=t?e[Ga]:"none",e[Qa]=!t}const er=Symbol(""),tr=/(^|;)\s*display\s*:/;const nr=/\s*!important$/;function or(e,t,n){if(h(n))n.forEach((n=>or(e,t,n)));else if(null==n&&(n=""),n=hr(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=ar[t];if(n)return n;let o=E(t);if("filter"!==o&&o in e)return ar[t]=o;o=P(o);for(let i=0;ie.replace(be,((e,t)=>{if(!t)return e;if(1===dr)return`${t}${ur}`;const n=function(e,t){const n=Math.pow(10,t+1),o=Math.floor(e*n);return 10*Math.round(o/10)/n}(parseFloat(t)*dr,pr);return 0===n?"0":`${n}${ur}`})));var ur,dr,pr;const hr=e=>v(e)?cr(e):e,fr="http://www.w3.org/1999/xlink";const gr=Symbol("_vei");function mr(e,t,n,o,i=null){const a=e[gr]||(e[gr]={}),r=a[t];if(o&&r)r.value=o;else{const[n,s]=function(e){let t;if(vr.test(e)){let n;for(t={};n=e.match(vr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):B(e.slice(2)),t]}(t);if(o){const r=a[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const o=t&&t.proxy,i=o&&o.$nne,{value:a}=n;if(i&&h(a)){const n=br(e,a);for(let o=0;oyr||(_r.then((()=>yr=0)),yr=Date.now()))(),n}(o,i);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,r,s)}else r&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,r,s),a[t]=void 0)}}const vr=/(?:Once|Passive|Capture)$/;let yr=0;const _r=Promise.resolve();function br(e,t){if(h(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t}))}return t}const wr=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const xr=["ctrl","shift","alt","meta"],Ar={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>xr.some((n=>e[`${n}Key`]&&!t.includes(n)))},Tr=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(n,...o)=>{for(let e=0;e{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=n=>{if(!("key"in n))return;const o=B(n.key);return t.some((e=>e===o||kr[e]===o))?e(n):void 0})},Cr=c({patchProp:(e,t,n,o,i,a,r,c,u)=>{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const i=t.replace("change:",""),{attrs:a}=o,r=a[i],s=(e.__wxsProps||(e.__wxsProps={}))[i];if(s===r)return;e.__wxsProps[i]=r;const l=o.proxy;En((()=>{n(r,s,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,o,r);const d="svg"===i;"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:i}=e;i&&i.length&&(t=(t||"").split(/\s+/).filter((e=>-1===i.indexOf(e))).join(" "),i.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const a=e[Na];a&&(t=(t?[t,...a]:[...a]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,d):"style"===t?function(e,t,n){const o=e.style,i=v(n);let a=!1;if(n&&!i){if(t)if(v(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&or(o,t,"")}else for(const e in t)null==n[e]&&or(o,e,"");for(const e in n)"display"===e&&(a=!0),or(o,e,n[e])}else if(i){if(t!==n){const e=o[er];e&&(n+=";"+e),o.cssText=n,a=tr.test(n)}}else t&&e.removeAttribute("style");Ga in e&&(e[Ga]=a?o.display:"",e[Qa]&&(o.display="none"));const{__wxsStyle:r}=e;if(r)for(const s in r)or(o,s,r[s])}(e,n,o):s(t)?l(t)||mr(e,t,0,o,r):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&wr(t)&&m(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(wr(t)&&v(n))return!1;return t in e}(e,t,o,d))?function(e,t,n,o,i,a,r){if("innerHTML"===t||"textContent"===t)return o&&r(o,i,a),void(e[t]=null==n?"":n);const s=e.tagName;if("value"===t&&"PROGRESS"!==s&&!s.includes("-")){const o=null==n?"":n;return("OPTION"===s?e.getAttribute("value")||"":e.value)===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=H(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(gB){}l&&e.removeAttribute(t)}(e,t,o,a,r,c,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,i){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(fr,t.slice(6,t.length)):e.setAttributeNS(fr,t,n);else{const o=W(t);null==n||o&&!H(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,d))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},Ma);let Er;const Ir=(...e)=>{const t=(Er||(Er=$i(Cr))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(v(e)){return document.querySelector(e)}return e} /*! * vue-router v4.3.0 * (c) 2024 Eduardo San Martin Morote * @license MIT */(e);if(!o)return;const i=t._component;m(i)||i.render||i.template||(i.template=o.innerHTML),o.innerHTML="";const a=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","")),a},t};const Br="undefined"!=typeof document;const Pr=Object.assign;function Rr(e,t){const n={};for(const o in t){const i=t[o];n[o]=Or(i)?i.map(e):e(i)}return n}const Lr=()=>{},Or=Array.isArray,Mr=/#/g,Dr=/&/g,Nr=/\//g,$r=/=/g,qr=/\?/g,Ur=/\+/g,jr=/%5B/g,Fr=/%5D/g,Vr=/%5E/g,zr=/%60/g,Wr=/%7B/g,Hr=/%7C/g,Xr=/%7D/g,Kr=/%20/g;function Yr(e){return encodeURI(""+e).replace(Hr,"|").replace(jr,"[").replace(Fr,"]")}function Gr(e){return Yr(e).replace(Ur,"%2B").replace(Kr,"+").replace(Mr,"%23").replace(Dr,"%26").replace(zr,"`").replace(Wr,"{").replace(Xr,"}").replace(Vr,"^")}function Qr(e){return null==e?"":function(e){return Yr(e).replace(Mr,"%23").replace(qr,"%3F")}(e).replace(Nr,"%2F")}function Jr(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Zr=/\/$/;function es(e,t,n="/"){let o,i={},a="",r="";const s=t.indexOf("#");let l=t.indexOf("?");return s=0&&(l=-1),l>-1&&(o=t.slice(0,l),a=t.slice(l+1,s>-1?s:t.length),i=e(a)),s>-1&&(o=o||t.slice(0,s),r=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 a,r,s=n.length-1;for(a=0;a1&&s--}return n.slice(0,s).join("/")+"/"+o.slice(a).join("/")}(null!=o?o:t,n),{fullPath:o+(a&&"?")+a+r,path:o,query:i,hash:Jr(r)}}function ts(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function ns(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function os(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!is(e[n],t[n]))return!1;return!0}function is(e,t){return Or(e)?as(e,t):Or(t)?as(t,e):e===t}function as(e,t){return Or(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var rs,ss,ls,cs;function us(e){if(!e)if(Br){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Zr,"")}(ss=rs||(rs={})).pop="pop",ss.push="push",(cs=ls||(ls={})).back="back",cs.forward="forward",cs.unknown="";const ds=/^[^#]+#/;function ps(e,t){return e.replace(ds,"#")+t}const hs=()=>({left:window.scrollX,top:window.scrollY});function fs(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 gs(e,t){return(history.state?history.state.position-t:-1)+e}const ms=new Map;function vs(e,t){const{pathname:n,search:o,hash:i}=t,a=e.indexOf("#");if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return"/"!==n[0]&&(n="/"+n),ts(n,"")}return ts(n,e)+o+i}function ys(e,t,n,o=!1,i=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:i?hs():null}}function _s(e){const{history:t,location:n}=window,o={value:vs(e,n)},i={value:t.state};function a(o,a,r){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[r?"replaceState":"pushState"](a,"",l),i.value=a}catch(c){console.error(c),n[r?"replace":"assign"](l)}}return i.value||a(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 r=Pr({},i.value,t.state,{forward:e,scroll:hs()});a(r.current,r,!0),a(e,Pr({},ys(o.value,e,null),{position:r.position+1},n),!1),o.value=e},replace:function(e,n){a(e,Pr({},t.state,ys(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),o.value=e}}}function bs(e){const t=_s(e=us(e)),n=function(e,t,n,o){let i=[],a=[],r=null;const s=({state:a})=>{const s=vs(e,location),l=n.value,c=t.value;let u=0;if(a){if(n.value=s,t.value=a,r&&r===l)return void(r=null);u=c?a.position-c.position:0}else o(s);i.forEach((e=>{e(n.value,l,{delta:u,type:rs.pop,direction:u?u>0?ls.forward:ls.back:ls.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(Pr({},e.state,{scroll:hs()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){r=n.value},listen:function(e){i.push(e);const t=()=>{const t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t},destroy:function(){for(const e of a)e();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=Pr({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:ps.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 ws(e){return"string"==typeof e||"symbol"==typeof e}const xs={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},As=Symbol("");var Ts,ks;function Ss(e,t){return Pr(new Error,{type:e,[As]:!0},t)}function Cs(e,t){return e instanceof Error&&As in e&&(null==t||!!(e.type&t))}(ks=Ts||(Ts={}))[ks.aborted=4]="aborted",ks[ks.cancelled=8]="cancelled",ks[ks.duplicated=16]="duplicated";const Es={sensitive:!1,strict:!1,start:!0,end:!0},Is=/[.+*?^${}()[\]/\\]/g;function Bs(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function Ps(e,t){let n=0;const o=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const Ls={type:0,value:""},Os=/[a-zA-Z0-9_]/;function Ms(e,t,n){const o=function(e,t){const n=Pr({},Es,t),o=[];let i=n.start?"^":"";const a=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(i+="/");for(let t=0;t1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:u,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):t("Invalid state to consume buffer"),c="")}function p(){c+=s}for(;l{a(p)}:Lr}function a(e){if(ws(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(a),t.alias.forEach(a))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(a),e.alias.forEach(a))}}function r(e){let t=0;for(;t=0&&(e.record.path!==n[t].record.path||!Fs(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!qs(e)&&o.set(e.record.name,e)}return t=js({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>i(e))),{addRoute:i,resolve:function(e,t){let i,a,r,s={};if("name"in e&&e.name){if(i=o.get(e.name),!i)throw Ss(1,{location:e});r=i.record.name,s=Pr(Ns(t.params,i.keys.filter((e=>!e.optional)).concat(i.parent?i.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&Ns(e.params,i.keys.map((e=>e.name)))),a=i.stringify(s)}else if(null!=e.path)a=e.path,i=n.find((e=>e.re.test(a))),i&&(s=i.parse(a),r=i.record.name);else{if(i=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!i)throw Ss(1,{location:e,currentLocation:t});r=i.record.name,s=Pr({},t.params,e.params),a=i.stringify(s)}const l=[];let c=i;for(;c;)l.unshift(c.record),c=c.parent;return{name:r,path:a,params:s,matched:l,meta:Us(l)}},removeRoute:a,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function Ns(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function $s(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 qs(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Us(e){return e.reduce(((e,t)=>Pr(e,t.meta)),{})}function js(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Fs(e,t){return t.children.some((t=>t===e||Fs(e,t)))}function Vs(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&Gr(e))):[o&&Gr(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function Ws(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=Or(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Hs=Symbol(""),Xs=Symbol(""),Ks=Symbol(""),Ys=Symbol(""),Gs=Symbol("");function Qs(){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 Js(e,t,n,o,i,a=(e=>e())){const r=o&&(o.enterCallbacks[i]=o.enterCallbacks[i]||[]);return()=>new Promise(((s,l)=>{const c=e=>{var a;!1===e?l(Ss(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(a=e)||a&&"object"==typeof a?l(Ss(2,{from:t,to:e})):(r&&o.enterCallbacks[i]===r&&"function"==typeof e&&r.push(e),s())},u=a((()=>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 Zs(e,t,n,o,i=(e=>e())){const a=[];for(const s of e)for(const e in s.components){let l=s.components[e];if("beforeRouteEnter"===t||s.instances[e])if("object"==typeof(r=l)||"displayName"in r||"props"in r||"__vccOpts"in r){const r=(l.__vccOpts||l)[t];r&&a.push(Js(r,n,o,s,e,i))}else{let r=l();a.push((()=>r.then((a=>{if(!a)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${s.path}"`));const r=(l=a).__esModule||"Module"===l[Symbol.toStringTag]?a.default:a;var l;s.components[e]=r;const c=(r.__vccOpts||r)[t];return c&&Js(c,n,o,s,e,i)()}))))}}var r;return a}function el(e){const t=Ai(Ks),n=Ai(Ys),o=Ba((()=>t.resolve(hn(e.to)))),i=Ba((()=>{const{matched:e}=o.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;const r=a.findIndex(ns.bind(null,i));if(r>-1)return r;const s=ol(e[t-2]);return t>1&&ol(i)===s&&a[a.length-1].path!==s?a.findIndex(ns.bind(null,e[t-2])):r})),a=Ba((()=>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(!Or(i)||i.length!==o.length||o.some(((e,t)=>e!==i[t])))return!1}return!0}(n.params,o.value.params))),r=Ba((()=>i.value>-1&&i.value===n.matched.length-1&&os(n.params,o.value.params)));return{route:o,href:Ba((()=>o.value.href)),isActive:a,isExactActive:r,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[hn(e.replace)?"replace":"push"](hn(e.to)).catch(Lr):Promise.resolve()}}}const tl=xo({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:el,setup(e,{slots:t}){const n=Ht(el(e)),{options:o}=Ai(Ks),i=Ba((()=>({[il(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[il(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:Pa("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),nl=tl;function ol(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const il=(e,t,n)=>null!=e?e:null!=t?t:n,al=xo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Ai(Gs),i=Ba((()=>e.route||o.value)),a=Ai(Xs,0),r=Ba((()=>{let e=hn(a);const{matched:t}=i.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),s=Ba((()=>i.value.matched[r.value]));xi(Xs,Ba((()=>r.value+1))),xi(Hs,s),xi(Gs,i);const l=cn();return oo((()=>[l.value,s.value,e.name]),(([e,t,n],[o,i,a])=>{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&&ns(t,i)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=i.value,a=e.name,r=s.value,c=r&&r.components[a];if(!c)return rl(n.default,{Component:c,route:o});const u=r.props[a],d=u?!0===u?o.params:"function"==typeof u?u(o):u:null,p=Pa(c,Pr({},d,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(r.instances[a]=null)},ref:l}));return rl(n.default,{Component:p,route:o})||p}}});function rl(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const sl=al;function ll(e){const t=Ds(e.routes,e),n=e.parseQuery||Vs,o=e.stringifyQuery||zs,i=e.history,a=Qs(),r=Qs(),s=Qs(),l=un(xs);let c=xs;Br&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Rr.bind(null,(e=>""+e)),d=Rr.bind(null,Qr),p=Rr.bind(null,Jr);function h(e,a){if(a=Pr({},a||l.value),"string"==typeof e){const o=es(n,e,a.path),r=t.resolve({path:o.path},a),s=i.createHref(o.fullPath);return Pr(o,r,{params:p(r.params),hash:Jr(o.hash),redirectedFrom:void 0,href:s})}let r;if(null!=e.path)r=Pr({},e,{path:es(n,e.path,a.path).path});else{const t=Pr({},e.params);for(const e in t)null==t[e]&&delete t[e];r=Pr({},e,{params:d(t)}),a.params=d(a.params)}const s=t.resolve(r,a),c=e.hash||"";s.params=u(p(s.params));const h=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,Pr({},e,{hash:(f=c,Yr(f).replace(Wr,"{").replace(Xr,"}").replace(Vr,"^")),path:s.path}));var f;const g=i.createHref(h);return Pr({fullPath:h,hash:c,query:o===zs?Ws(e.query):e.query||{}},s,{redirectedFrom:void 0,href:g})}function f(e){return"string"==typeof e?es(n,e,l.value.path):Pr({},e)}function g(e,t){if(c!==e)return Ss(8,{from:t,to:e})}function m(e){return y(e)}function v(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={}),Pr({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=h(e),i=l.value,a=e.state,r=e.force,s=!0===e.replace,u=v(n);if(u)return y(Pr(f(u),{state:"object"==typeof u?Pr({},a,u.state):a,force:r,replace:s}),t||n);const d=n;let p;return d.redirectedFrom=t,!r&&function(e,t,n){const o=t.matched.length-1,i=n.matched.length-1;return o>-1&&o===i&&ns(t.matched[o],n.matched[i])&&os(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,i,n)&&(p=Ss(16,{to:d,from:i}),P(i,i,!0,!1)),(p?Promise.resolve(p):w(d,i)).catch((e=>Cs(e)?Cs(e,2)?e:B(e):I(e,d,i))).then((e=>{if(e){if(Cs(e,2))return y(Pr({replace:s},f(e.to),{state:"object"==typeof e.to?Pr({},a,e.to.state):a,force:r}),t||d)}else e=A(d,i,!0,s,a);return x(d,i,e),e}))}function _(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function b(e){const t=O.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=[],a=Math.max(t.matched.length,e.matched.length);for(let r=0;rns(e,a)))?o.push(a):n.push(a));const s=e.matched[r];s&&(t.matched.find((e=>ns(e,s)))||i.push(s))}return[n,o,i]}(e,t);n=Zs(o.reverse(),"beforeRouteLeave",e,t);for(const a of o)a.leaveGuards.forEach((o=>{n.push(Js(o,e,t))}));const l=_.bind(null,e,t);return n.push(l),D(n).then((()=>{n=[];for(const o of a.list())n.push(Js(o,e,t));return n.push(l),D(n)})).then((()=>{n=Zs(i,"beforeRouteUpdate",e,t);for(const o of i)o.updateGuards.forEach((o=>{n.push(Js(o,e,t))}));return n.push(l),D(n)})).then((()=>{n=[];for(const o of s)if(o.beforeEnter)if(Or(o.beforeEnter))for(const i of o.beforeEnter)n.push(Js(i,e,t));else n.push(Js(o.beforeEnter,e,t));return n.push(l),D(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Zs(s,"beforeRouteEnter",e,t,b),n.push(l),D(n)))).then((()=>{n=[];for(const o of r.list())n.push(Js(o,e,t));return n.push(l),D(n)})).catch((e=>Cs(e,8)?e:Promise.reject(e)))}function x(e,t,n){s.list().forEach((o=>b((()=>o(e,t,n)))))}function A(e,t,n,o,a){const r=g(e,t);if(r)return r;const s=t===xs,c=Br?history.state:{};n&&(o||s?i.replace(e.fullPath,Pr({scroll:s&&c&&c.scroll},a)):i.push(e.fullPath,a)),l.value=e,P(e,t,n,s),B()}let T;function k(){T||(T=i.listen(((e,t,n)=>{if(!M.listening)return;const o=h(e),a=v(o);if(a)return void y(Pr(a,{replace:!0}),o).catch(Lr);c=o;const r=l.value;var s,u;Br&&(s=gs(r.fullPath,n.delta),u=hs(),ms.set(s,u)),w(o,r).catch((e=>Cs(e,12)?e:Cs(e,2)?(y(e.to,o).then((e=>{Cs(e,20)&&!n.delta&&n.type===rs.pop&&i.go(-1,!1)})).catch(Lr),Promise.reject()):(n.delta&&i.go(-n.delta,!1),I(e,o,r)))).then((e=>{(e=e||A(o,r,!1))&&(n.delta&&!Cs(e,8)?i.go(-n.delta,!1):n.type===rs.pop&&Cs(e,20)&&i.go(-1,!1)),x(o,r,e)})).catch(Lr)})))}let S,C=Qs(),E=Qs();function I(e,t,n){B(e);const o=E.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function B(e){return S||(S=!e,k(),C.list().forEach((([t,n])=>e?n(e):t())),C.reset()),e}function P(t,n,o,i){const{scrollBehavior:a}=e;if(!Br||!a)return Promise.resolve();const r=!o&&function(e){const t=ms.get(e);return ms.delete(e),t}(gs(t.fullPath,0))||(i||!o)&&history.state&&history.state.scroll||null;return En().then((()=>a(t,n,r))).then((e=>e&&fs(e))).catch((e=>I(e,t,n)))}const R=e=>i.go(e);let L;const O=new Set,M={currentRoute:l,listening:!0,addRoute:function(e,n){let o,i;return ws(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:h,options:e,push:m,replace:function(e){return m(Pr(f(e),{replace:!0}))},go:R,back:()=>R(-1),forward:()=>R(1),beforeEach:a.add,beforeResolve:r.add,afterEach:s.add,onError:E.add,isReady:function(){return S&&l.value!==xs?Promise.resolve():new Promise(((e,t)=>{C.add([e,t])}))},install(e){e.component("RouterLink",nl),e.component("RouterView",sl),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>hn(l)}),Br&&!L&&l.value===xs&&(L=!0,m(i.location).catch((e=>{})));const t={};for(const o in xs)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Ks,this),e.provide(Ys,Xt(t)),e.provide(Gs,l);const n=e.unmount;O.add(e),e.unmount=function(){O.delete(e),O.size<1&&(c=xs,T&&T(),T=null,l.value=xs,L=!1,S=!1),n()}}};function D(e){return e.reduce(((e,t)=>e.then((()=>b(t)))),Promise.resolve())}return M}function cl(){return Ai(Ys)}const ul=["{","}"];const dl=/^(?:\d)+/,pl=/^(?:\w)+/;const hl=Object.prototype.hasOwnProperty,fl=(e,t)=>hl.call(e,t),gl=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=ul){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let i=0,a="";for(;i-1?"zh-Hans":e.indexOf("-hant")>-1?"zh-Hant":(n=e,["-tw","-hk","-mo","-cht"].find((e=>-1!==n.indexOf(e)))?"zh-Hant":"zh-Hans");var n;let o=["en","fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));const i=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return i||void 0}class vl{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:i}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=i||gl,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=ml(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=>{fl(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=ml(t,this.messages))&&(o=this.messages[t]):n=t,fl(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 yl(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&&Wp?Wp():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const i=new vl({locale:e,fallbackLocale:n,messages:t,watcher:o});let a=(e,t)=>{{let e=!1;a=function(t,n){const o=qv().$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 a(e,t)};return{i18n:i,f:(e,t,n)=>i.f(e,t,n),t:(e,t)=>a(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 _l(e,t){return e.indexOf(t[0])>-1}const bl=he((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let wl;function xl(e){return _l(e,ee)?kl().f(e,function(){const e=Wp(),t=__uniConfig.locales;return t[e]||t[__uniConfig.fallbackLocale]||t.en||{}}(),ee):e}function Al(e,t){if(1===t.length){if(e){const n=e=>v(e)&&_l(e,ee),o=t[0];let i=[];if(h(e)&&(i=e.filter((e=>n(e[o])))).length)return i;const a=e[t[0]];if(n(a))return e}return}const n=t.shift();return Al(e&&e[n],t)}function Tl(e,t){const n=Al(e,t);if(!n)return!1;const o=t[t.length-1];if(h(n))n.forEach((e=>Tl(e,[o])));else{let e=n[o];Object.defineProperty(n,o,{get:()=>xl(e),set(t){e=t}})}return!0}function kl(){if(!wl){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,wl=yl(e),bl()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>wl.add(e,__uniConfig.locales[e]))),wl.setLocale(e)}}return wl}function Sl(e,t,n){return t.reduce(((t,o,i)=>(t[e+o]=n[i],t)),{})}const Cl=he((()=>{const e="uni.async.",t=["error"];kl().add("en",Sl(e,t,["The connection timed out, click the screen to try again."]),!1),kl().add("es",Sl(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),kl().add("fr",Sl(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),kl().add("zh-Hans",Sl(e,t,["连接服务器超时,点击屏幕重试"]),!1),kl().add("zh-Hant",Sl(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),El=he((()=>{const e="uni.showActionSheet.",t=["cancel"];kl().add("en",Sl(e,t,["Cancel"]),!1),kl().add("es",Sl(e,t,["Cancelar"]),!1),kl().add("fr",Sl(e,t,["Annuler"]),!1),kl().add("zh-Hans",Sl(e,t,["取消"]),!1),kl().add("zh-Hant",Sl(e,t,["取消"]),!1)})),Il=he((()=>{const e="uni.showToast.",t=["unpaired"];kl().add("en",Sl(e,t,["Please note showToast must be paired with hideToast"]),!1),kl().add("es",Sl(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),kl().add("fr",Sl(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),kl().add("zh-Hans",Sl(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),kl().add("zh-Hant",Sl(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),Bl=he((()=>{const e="uni.showLoading.",t=["unpaired"];kl().add("en",Sl(e,t,["Please note showLoading must be paired with hideLoading"]),!1),kl().add("es",Sl(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),kl().add("fr",Sl(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),kl().add("zh-Hans",Sl(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),kl().add("zh-Hant",Sl(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),Pl=he((()=>{const e="uni.showModal.",t=["cancel","confirm"];kl().add("en",Sl(e,t,["Cancel","OK"]),!1),kl().add("es",Sl(e,t,["Cancelar","OK"]),!1),kl().add("fr",Sl(e,t,["Annuler","OK"]),!1),kl().add("zh-Hans",Sl(e,t,["取消","确定"]),!1),kl().add("zh-Hant",Sl(e,t,["取消","確定"]),!1)})),Rl=he((()=>{const e="uni.chooseFile.",t=["notUserActivation"];kl().add("en",Sl(e,t,["File chooser dialog can only be shown with a user activation"]),!1),kl().add("es",Sl(e,t,["El cuadro de diálogo del selector de archivos solo se puede mostrar con la activación del usuario"]),!1),kl().add("fr",Sl(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),kl().add("zh-Hans",Sl(e,t,["文件选择器对话框只能在由用户激活时显示"]),!1),kl().add("zh-Hant",Sl(e,t,["文件選擇器對話框只能在由用戶激活時顯示"]),!1)})),Ll=he((()=>{const e="uni.setClipboardData.",t=["success","fail"];kl().add("en",Sl(e,t,["Content copied","Copy failed, please copy manually"]),!1),kl().add("es",Sl(e,t,["Contenido copiado","Error al copiar, copie manualmente"]),!1),kl().add("fr",Sl(e,t,["Contenu copié","Échec de la copie, copiez manuellement"]),!1),kl().add("zh-Hans",Sl(e,t,["内容已复制","复制失败,请手动复制"]),!1),kl().add("zh-Hant",Sl(e,t,["內容已復制","復制失敗,請手動復製"]),!1)})),Ol=he((()=>{const e="uni.getClipboardData.",t=["fail"];kl().add("en",Sl(e,t,["Reading failed, please paste manually"]),!1),kl().add("es",Sl(e,t,["Error de lectura, pegue manualmente"]),!1),kl().add("fr",Sl(e,t,["Échec de la lecture, veuillez coller manuellement"]),!1),kl().add("zh-Hans",Sl(e,t,["读取失败,请手动粘贴"]),!1),kl().add("zh-Hant",Sl(e,t,["讀取失敗,請手動粘貼"]),!1)})),Ml=he((()=>{const e="uni.picker.",t=["done","cancel"];kl().add("en",Sl(e,t,["Done","Cancel"]),!1),kl().add("es",Sl(e,t,["OK","Cancelar"]),!1),kl().add("fr",Sl(e,t,["OK","Annuler"]),!1),kl().add("zh-Hans",Sl(e,t,["完成","取消"]),!1),kl().add("zh-Hant",Sl(e,t,["完成","取消"]),!1)})),Dl=he((()=>{const e="uni.video.",t=["danmu","volume"];kl().add("en",Sl(e,t,["Danmu","Volume"]),!1),kl().add("es",Sl(e,t,["Danmu","Volumen"]),!1),kl().add("fr",Sl(e,t,["Danmu","Le Volume"]),!1),kl().add("zh-Hans",Sl(e,t,["弹幕","音量"]),!1),kl().add("zh-Hant",Sl(e,t,["彈幕","音量"]),!1)})),Nl=he((()=>{const e="uni.chooseLocation.",t=["search","cancel"];kl().add("en",Sl(e,t,["Find Place","Cancel"]),!1),kl().add("es",Sl(e,t,["Encontrar","Cancelar"]),!1),kl().add("fr",Sl(e,t,["Trouve","Annuler"]),!1),kl().add("zh-Hans",Sl(e,t,["搜索地点","取消"]),!1),kl().add("zh-Hant",Sl(e,t,["搜索地點","取消"]),!1)}));function $l(e){const t=new Me;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,i=!1){t[i?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,i){t.emit(`${e}.${n}`,o,i)}}}let ql=1;const Ul=Object.create(null);function jl(e,t){return e+"."+t}function Fl(e,t,n){t=jl(e,t),Ul[t]||(Ul[t]=n)}function Vl({id:e,name:t,args:n},o){t=jl(o,t);const i=t=>{e&&ox.publishHandler("invokeViewApi."+e,t)},a=Ul[t];a?a(n,i):i({})}const zl=c($l("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:i}=ox,a=n?ql++:0;n&&o("invokeServiceApi."+a,n,!0),i("invokeServiceApi",{id:a,name:e,args:t})}}),Wl=we(!0);let Hl;function Xl(){Hl&&(clearTimeout(Hl),Hl=null)}let Kl=0,Yl=0;function Gl(e){if(Xl(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Kl=t,Yl=n,Hl=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 Ql(e){if(!Hl)return;if(1!==e.touches.length)return Xl();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Kl)>10||Math.abs(n-Yl)>10?Xl():void 0}function Jl(e,t){const n=Number(e);return isNaN(n)?t:n}function Zl(){const e=__uniConfig.globalStyle||{},t=Jl(e.rpxCalcMaxDeviceWidth,960),n=Jl(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 ec(){Zl(),ye(),window.addEventListener("touchstart",Gl,Wl),window.addEventListener("touchmove",Ql,Wl),window.addEventListener("touchend",Xl,Wl),window.addEventListener("touchcancel",Xl,Wl)}function tc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nc,oc,ic=["top","left","right","bottom"],ac={};function rc(){return oc="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 sc(){if(oc="string"==typeof oc?oc:rc()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(gB){}var o=document.createElement("div");i(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),ic.forEach((function(e){r(o,e)})),document.body.appendChild(o),a(),nc=!0}else ic.forEach((function(e){ac[e]=0}));function i(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function a(t){t?e.push(t):e.forEach((function(e){e()}))}function r(e,n){var o=document.createElement("div"),r=document.createElement("div"),s=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:oc+"(safe-area-inset-"+n+")"};i(o,c),i(r,c),i(s,{transition:"0s",animation:"none",width:"400px",height:"400px"}),i(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(s),r.appendChild(l),e.appendChild(o),e.appendChild(r),a((function(){o.scrollTop=r.scrollTop=1e4;var e=o.scrollTop,i=r.scrollTop;function a(){this.scrollTop!==(this===o?e:i)&&(o.scrollTop=r.scrollTop=1e4,e=o.scrollTop,i=r.scrollTop,function(e){cc.length||setTimeout((function(){var e={};cc.forEach((function(t){e[t]=ac[t]})),cc.length=0,uc.forEach((function(t){t(e)}))}),0);cc.push(e)}(n))}o.addEventListener("scroll",a,t),r.addEventListener("scroll",a,t)}));var u=getComputedStyle(o);Object.defineProperty(ac,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function lc(e){return nc||sc(),ac[e]}var cc=[];var uc=[];const dc=tc({get support(){return 0!=("string"==typeof oc?oc:rc()).length},get top(){return lc("top")},get left(){return lc("left")},get right(){return lc("right")},get bottom(){return lc("bottom")},onChange:function(e){rc()&&(nc||sc(),"function"==typeof e&&uc.push(e))},offChange:function(e){var t=uc.indexOf(e);t>=0&&uc.splice(t,1)}}),pc=Tr((()=>{}),["prevent"]),hc=Tr((e=>{}),["stop"]);function fc(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function gc(){const e=fc(document.documentElement.style,"--window-top");return e?e+dc.top:0}function mc(){const e=document.documentElement.style,t=gc(),n=fc(e,"--window-bottom"),o=fc(e,"--window-left"),i=fc(e,"--window-right"),a=fc(e,"--top-window-height");return{top:t,bottom:n?n+dc.bottom:0,left:o?o+dc.left:0,right:i?i+dc.right:0,topWindowHeight:a||0}}function vc(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function yc(e){return vc(e)}const _c=new Map;function bc(e,t){let n=_c.get(e);!n||n instanceof HTMLStyleElement||(!function(e){let t=_c.get(e);t&&(t instanceof CSSStyleSheet?document.adoptedStyleSheets=document.adoptedStyleSheets.filter((e=>e!==t)):document.head.removeChild(t),_c.delete(e))}(e),n=void 0),n?n.innerHTML=t:(n=document.createElement("style"),n.setAttribute("type","text/css"),n.innerHTML=t,document.head.appendChild(n)),_c.set(e,n)}function wc(e){return Symbol(e)}function xc(e){return-1!==(e+="").indexOf("rpx")||-1!==e.indexOf("upx")}function Ac(e,t=!1){if(t)return function(e){if(!xc(e))return e;return e.replace(/(\d+(\.\d+)?)[ru]px/g,((e,t)=>Wd(parseFloat(t))+"px"))}(e);if(v(e)){const t=parseInt(e)||0;return xc(e)?Wd(t):t}return e}const Tc="M20.928 22.688q-1.696 1.376-3.744 2.112-2.112 0.768-4.384 0.768-3.488 0-6.464-1.728-2.88-1.696-4.576-4.608-1.76-2.976-1.76-6.464t1.76-6.464q1.696-2.88 4.576-4.576 2.976-1.76 6.464-1.76t6.464 1.76q2.912 1.696 4.608 4.576 1.728 2.976 1.728 6.464 0 2.272-0.768 4.384-0.736 2.048-2.112 3.744l9.312 9.28-1.824 1.824-9.28-9.312zM12.8 23.008q2.784 0 5.184-1.376 2.304-1.376 3.68-3.68 1.376-2.4 1.376-5.184t-1.376-5.152q-1.376-2.336-3.68-3.68-2.4-1.408-5.184-1.408t-5.152 1.408q-2.336 1.344-3.68 3.68-1.408 2.368-1.408 5.152t1.408 5.184q1.344 2.304 3.68 3.68 2.368 1.376 5.152 1.376zM12.8 23.008v0z",kc="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",Sc="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",Cc="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",Ec="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",Ic="M31.562 4.9966666659375q0.435 0.399 0.435 0.87 0.036 0.58-0.399 0.98l-18.61 19.917q-0.145 0.145-0.327 0.217-0.073 0.037-0.145 0.11-0.254 0.035-0.472 0.035-0.29 0-0.544-0.036l-0.145-0.072q-0.109-0.073-0.217-0.182l-0.11-0.072L0.363 16.2786666659375q-0.327-0.399-0.363-0.907 0-0.544 0.363-1.016 0.435-0.326 0.961-0.362 0.527-0.036 0.962 0.362l9.722 9.542L29.712 5.0326666659375q0.399-0.363 0.943-0.363 0.544-0.036 0.907 0.327z";function Bc(e,t="#000",n=27){return sa("svg",{width:n,height:n,viewBox:"0 0 32 32"},[sa("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Pc(){{const{$pageInstance:e}=_a();return e&&e.proxy.$page.id}}function Rc(e){const t=oe(e);if(t.$page)return t.$page.id;if(t.$){const{$pageInstance:e}=t.$;return e&&e.proxy.$page.id}}function Lc(){const e=fv(),t=e.length;if(t)return e[t-1]}function Oc(){const e=Lc();if(e)return e.$page.meta}function Mc(){const e=Oc();return e?e.id:-1}function Dc(){const e=Lc();if(e)return e.$vm}const Nc=["navigationBar","pullToRefresh"];function $c(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=c({id:t},n,e);Nc.forEach((t=>{o[t]=c({},n[t],e[t])}));const{navigationBar:i}=o;return i.titleText&&i.titleImage&&(i.titleText=""),o}function qc(e,t,n){if(v(e))n=t,t=e,e=Dc();else if("number"==typeof e){const t=fv().find((t=>t.$page.id===e));e=t?t.$vm:Dc()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o{function r(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,a=o>0&&e>t&&o+t+n>=e,r=Math.abs(e-Fc)>n;return!a||i&&!r?(!a&&i&&(i=!1),!1):(Fc=e,i=!0,!0)})())return t&&t(),a=!1,setTimeout((function(){a=!0}),350),!0}e&&e(window.pageYOffset),t&&a&&(r()||(jc=setTimeout(r,300))),o=!1};return function(){clearTimeout(jc),o||requestAnimationFrame(r),o=!0}}function zc(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return zc(e,t.slice(2));const n=t.split("/"),o=n.length;let i=0;for(;i0?e.split("/"):[];return a.splice(a.length-i-1,i+1),ue(a.concat(n).join("/"))}function Wc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}class Hc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=re(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=Gc(this.$el.querySelector(e));return t?Xc(t,!1):void 0}selectAllComponents(e){if(!this.$el||!e)return[];const t=[],n=this.$el.querySelectorAll(e);for(let o=0;o-1&&t.splice(n,1)}const n=this.$el.__wxsRemoveClass||(this.$el.__wxsRemoveClass=[]);return-1===n.indexOf(e)&&(n.push(e),this.forceUpdate("class")),this}hasClass(e){return this.$el&&this.$el.classList.contains(e)}getDataset(){return this.$el&&this.$el.dataset}callMethod(e,t={}){const n=this.$vm[e];m(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&ox.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 Xc(e,t=!0){if(t&&e&&(e=ie(e.$)),e&&e.$el)return e.$el.__wxsComponentDescriptor||(e.$el.__wxsComponentDescriptor=new Hc(e)),e.$el.__wxsComponentDescriptor}function Kc(e,t){return Xc(e,t)}function Yc(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>Kc(n.proxy,!1)}));const i=function(e,t,n=!0){if(!t)return!1;if(n&&e.length<2)return!1;const o=ie(t);if(!o)return!1;const i=o.$.type;return!(!i.$wxs&&!i.$renderjs)&&o}(t,n,o);if(i)return[e,Kc(i,!1)]}}function Gc(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function Qc(e,t=!1){const{type:n,timeStamp:o,target:i,currentTarget:a}=e;let r,s;r=xe(t?i:function(e){for(;e&&0!==e.tagName.indexOf("UNI-");)e=e.parentElement;return e}(i)),s=xe(a);const l={type:n,timeStamp:o,target:r,detail:{},currentTarget:s};return 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 Jc(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function Zc(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=gc();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[Jc(t,n)]}(a,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=gc();a.touches=Zc(e.touches,t),a.changedTouches=Zc(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach((t=>{Object.defineProperty(a,t,{get:()=>e[t]})}))}return Yc(a,t,n)||[a]},createNativeEvent:Qc},Symbol.toStringTag,{value:"Module"});function tu(e){!function(e){const t=e.globalProperties;c(t,eu),t.$gcd=Kc}(e._context.config)}let nu=1;function ou(e){return(e||Mc())+".invokeViewApi"}const iu=c($l("view"),{invokeOnCallback:(e,t)=>ix.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:i,publishHandler:a}=ix,r=o?nu++:0;o&&i("invokeViewApi."+r,o,!0),a(ou(n),{id:r,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:i,unsubscribe:a,publishHandler:r}=ix,s=nu++,l="invokeViewApi."+s;return i(l,n),r(ou(o),{id:s,name:e,args:t},o),()=>{a(l)}}});function au(e){qc(Lc(),"onResize",e),ix.invokeOnCallback("onWindowResize",e)}function ru(e){const t=Lc();qc(qv(),"onShow",e),qc(t,"onShow")}function su(){qc(qv(),"onHide"),qc(Lc(),"onHide")}const lu=["onPageScroll","onReachBottom"];function cu(){lu.forEach((e=>ix.subscribe(e,function(e){return(t,n)=>{qc(parseInt(n),e,t)}}(e))))}function uu(){!function(){const{on:e}=ix;e("onResize",au),e("onAppEnterForeground",ru),e("onAppEnterBackground",su)}(),cu()}function du(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new Ee(this.$page.id)),e.eventChannel}}function pu(e){e._context.config.globalProperties.getOpenerEventChannel=du}function hu(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function fu(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Wd(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function gu(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 a(){const t=o[n],r=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"],a=e.animates,r=e.option,s=r.transition,l={},c=[];return a.forEach((e=>{let a=e.type,r=[...e.args];if(t.concat(n).includes(a))a.startsWith("rotate")||a.startsWith("skew")?r=r.map((e=>parseFloat(e)+"deg")):a.startsWith("translate")&&(r=r.map(fu)),n.indexOf(a)>=0&&(r.length=1),c.push(`${a}(${r.join(",")})`);else if(o.concat(i).includes(r[0])){a=r[0];const e=r[1];l[a]=i.includes(a)?fu(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=r.transformOrigin,l}(t);Object.keys(s).forEach((t=>{e.$el.style[t]=s[t]})),n+=1,n{a()}),0)}const mu={props:["animation"],watch:{animation:{deep:!0,handler(){gu(this)}}},mounted(){gu(this)}},vu=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(mu),yu(e)},yu=e=>(e.__reserved=!0,e.compatConfig={MODE:3},xo(e));function _u(e){return e.__wwe=!0,e}function bu(e,t){return(n,o,i)=>{e.value&&t(n,function(e,t,n,o){let i;return i=xe(n),{type:o.type||e,timeStamp:t.timeStamp||0,target:i,currentTarget:i,detail:o}}(n,o,e.value,i||{}))}}const wu={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function xu(e){const t=cn(!1);let n,o,i=!1;function a(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function r(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),i=!0,n=setTimeout((()=>{t.value=!0,i||a()}),parseInt(e.hoverStartTime)))}function s(){i=!1,t.value&&a()}function l(){s(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:_u((function(e){e.touches.length>1||r(e)})),onMousedown:_u((function(e){i||(r(e),window.addEventListener("mouseup",l))})),onTouchend:_u((function(){s()})),onMouseup:_u((function(){i&&l()})),onTouchcancel:_u((function(){i=!1,t.value=!1,clearTimeout(n)}))}}}function Au(e,t){return v(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const Tu=wc("uf"),ku=vu({name:"Form",emits:["submit","reset"],setup(e,{slots:t,emit:n}){const o=cn(null);return function(e){const t=[];xi(Tu,{addField(e){t.push(e)},removeField(e){t.splice(t.indexOf(e),1)},submit(n){e("submit",n,{value:t.reduce(((e,t)=>{if(t.submit){const[n,o]=t.submit();n&&(e[n]=o)}return e}),Object.create(null))})},reset(n){t.forEach((e=>e.reset&&e.reset())),e("reset",n)}})}(bu(o,n)),()=>sa("uni-form",{ref:o},[sa("span",null,[t.default&&t.default()])],512)}});const Su={for:{type:String,default:""}},Cu=wc("ul");const Eu=vu({name:"Label",props:Su,setup(e,{slots:t}){const n=cn(null),o=Pc(),i=function(){const e=[];return xi(Cu,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}(),a=Ba((()=>e.for||t.default&&t.default.length)),r=_u((t=>{const n=t.target;let a=/^uni-(checkbox|radio|switch)-/.test(n.className);a||(a=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(n.tagName)),a||(e.for?ox.emit("uni-label-click-"+o+"-"+e.for,t,!0):i.length&&i[0](t,!0))}));return()=>sa("uni-label",{ref:n,class:{"uni-label-pointer":a},onClick:r},[t.default&&t.default()],10,["onClick"])}});function Iu(e,t){Bu(e.id,t),oo((()=>e.id),((e,n)=>{Pu(n,t,!0),Bu(e,t,!0)})),Ho((()=>{Pu(e.id,t)}))}function Bu(e,t,n){const o=Pc();n&&!e||A(t)&&Object.keys(t).forEach((i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&ox.on(`uni-${i}-${o}-${e}`,t[i]):0===i.indexOf("uni-")?ox.on(i,t[i]):e&&ox.on(`uni-${i}-${o}-${e}`,t[i])}))}function Pu(e,t,n){const o=Pc();n&&!e||A(t)&&Object.keys(t).forEach((i=>{n?0!==i.indexOf("@")&&0!==i.indexOf("uni-")&&ox.off(`uni-${i}-${o}-${e}`,t[i]):0===i.indexOf("uni-")?ox.off(i,t[i]):e&&ox.off(`uni-${i}-${o}-${e}`,t[i])}))}const Ru=vu({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=cn(null),o=Ai(Tu,!1),{hovering:i,binding:a}=xu(e),r=_u(((t,i)=>{if(e.disabled)return t.stopImmediatePropagation();i&&n.value.click();const a=e.formType;if(a){if(!o)return;"submit"===a?o.submit(t):"reset"===a&&o.reset(t)}else;})),s=Ai(Cu,!1);return s&&(s.addHandler(r),Wo((()=>{s.removeHandler(r)}))),Iu(e,{"label-click":r}),()=>{const o=e.hoverClass,s=Au(e,"disabled"),l=Au(e,"loading"),c=Au(e,"plain"),u=o&&"none"!==o;return sa("uni-button",fa({ref:n,onClick:r,id:e.id,class:u&&i.value?o:""},u&&a,s,l,c),[t.default&&t.default()],16,["onClick","id"])}}});function Lu(e){return e.$el}function Ou(e){const{base:t}=__uniConfig.router;return 0===ue(e).indexOf(t)?ue(e):t+e}function Mu(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 Ou(e.slice(1));e="https:"+e}if(te.test(e)||ne.test(e)||0===e.indexOf("blob:"))return e;const o=fv();return o.length?Ou(zc(o[o.length-1].$page.route,e).slice(1)):e}const Du=navigator.userAgent,Nu=/android/i.test(Du),$u=/iphone|ipad|ipod/i.test(Du),qu=Du.match(/Windows NT ([\d|\d.\d]*)/i),Uu=/Macintosh|Mac/i.test(Du),ju=/Linux|X11/i.test(Du),Fu=Uu&&navigator.maxTouchPoints>0;function Vu(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function zu(e){return e&&90===Math.abs(window.orientation)}function Wu(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function Hu(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}function Xu(){const e=Vu(),t=Hu(Wu(e,zu(e)));return{platform:$u?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}function Ku(e,t,n,o){ix.invokeViewMethod("video."+e,{videoId:e,type:n,data:o},t)}function Yu(e,t){const n={},{top:o,topWindowHeight:i}=mc();if(t.node){const t=e.tagName.split("-")[1];t&&(n.node=e.querySelector(t))}if(t.id&&(n.id=e.id),t.dataset&&(n.dataset=_e(e)),t.rect||t.size){const a=e.getBoundingClientRect();t.rect&&(n.left=a.left,n.right=a.right,n.top=a.top-o-i,n.bottom=a.bottom-o-i),t.size&&(n.width=a.width,n.height=a.height)}if(h(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(h(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 Gu(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)}function Qu(e,t,n){const o=[];t.forEach((({component:t,selector:n,single:i,fields:a})=>{null===t?o.push(function(e){const t={};if(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),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}(a)):o.push(function(e,t,n,o,i){const a=function(e,t){return e?e.$el:t.$el}(t,e),r=a.parentElement;if(!r)return o?null:[];const{nodeType:s}=a,l=3===s||8===s;if(o){const e=l?r.querySelector(n):Gu(a,n)?a:a.querySelector(n);return e?Yu(e,i):null}{let e=[];const t=(l?r:a).querySelectorAll(n);return t&&t.length&&[].forEach.call(t,(t=>{e.push(Yu(t,i))})),!l&&Gu(a,n)&&e.unshift(Yu(a,i)),e}}(e,t,n,i,a))})),n(o)}const Ju=["original","compressed"],Zu=["album","camera"],ed=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function td(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function nd(e,t){return!h(e)||0===e.length||e.find((e=>-1===t.indexOf(e)))?t:e}function od(e){return function(){try{return e.apply(e,arguments)}catch(gB){console.error(gB)}}}let id=1;const ad={};function rd(e,t,n,o=!1){return ad[e]={name:t,keepAlive:o,callback:n},e}function sd(e,t,n){if("number"==typeof e){const o=ad[e];if(o)return o.keepAlive||delete ad[e],o.callback(t,n)}return t}function ld(e){for(const t in ad)if(ad[t].name===e)return!0;return!1}const cd="success",ud="fail",dd="complete";function pd(e,t={},{beforeAll:n,beforeSuccess:o}={}){A(t)||(t={});const{success:i,fail:a,complete:r}=function(e){const t={};for(const n in e){const o=e[n];m(o)&&(t[n]=od(o),delete e[n])}return t}(t),s=m(i),l=m(a),c=m(r),u=id++;return rd(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),m(n)&&n(u),u.errMsg===e+":ok"?(m(o)&&o(u,t),s&&i(u)):l&&a(u),c&&r(u)})),u}const hd="success",fd="fail",gd="complete",md={},vd={};function yd(e,t){return function(n){return e(n,t)||n}}function _d(e,t,n){let o=!1;for(let i=0;ie(t),catch(){}}}function bd(e,t={}){return[hd,fd,gd].forEach((n=>{const o=e[n];if(!h(o))return;const i=t[n];t[n]=function(e){_d(o,e,t).then((e=>m(i)&&i(e)||e))}})),t}function wd(e,t){const n=[];h(md.returnValue)&&n.push(...md.returnValue);const o=vd[e];return o&&h(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function xd(e){const t=Object.create(null);Object.keys(md).forEach((e=>{"returnValue"!==e&&(t[e]=md[e].slice())}));const n=vd[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function Ad(e,t,n,o){const i=xd(e);if(i&&Object.keys(i).length){if(h(i.invoke)){return _d(i.invoke,n).then((n=>t(bd(xd(e),n),...o)))}return t(bd(i,n),...o)}return t(n,...o)}function Td(e,t){return(n={},...o)=>function(e){return!(!A(e)||![cd,ud,dd].find((t=>m(e[t]))))}(n)?wd(e,Ad(e,t,n,o)):wd(e,new Promise(((i,a)=>{Ad(e,t,c(n,{success:i,fail:a}),o)})))}function kd(e,t,n,o={}){const i=t+":fail"+(n?" "+n:"");return delete o.errCode,sd(e,c({errMsg:i},o))}function Sd(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(v(e))return e}const i=function(e,t){const n=e[0];if(!t||!t.formatArgs||!A(t.formatArgs)&&A(n))return;const o=t.formatArgs,i=Object.keys(o);for(let a=0;a{Cd(o);const i=Sd(0,[o],0,n);if(i)throw new Error(i);const a=!ld(e);!function(e,t){rd(id++,e,t,!0)}(e,o),a&&(!function(e){ix.on("api."+e,(t=>{for(const n in ad){const o=ad[n];o.name===e&&o.callback(t)}}))}(e),t())}}function Id(e,t,n){return o=>{Cd(o);const i=Sd(0,[o],0,n);if(i)throw new Error(i);!function(e,t){for(const n in ad){const o=ad[n];o.callback===t&&o.name===e&&delete ad[n]}}(e=e.replace("off","on"),o);ld(e)||(!function(e){ix.off("api."+e)}(e),t())}}function Bd(e,t,n,o){return n=>{const i=pd(e,n,o),a=Sd(0,[n],0,o);return a?kd(i,e,a):t(n,{resolve:t=>function(e,t,n){return sd(e,c(n||{},{errMsg:t+":ok"}))}(i,e,t),reject:(t,n)=>kd(i,e,function(e){return!e||v(e)?e:e.stack?(console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Pd(e,t,n){return Ed(e,t,n)}function Rd(e,t,n){return Id(e,t,n)}function Ld(e,t,n,o){return Td(e,Bd(e,t,0,o))}function Od(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Sd(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Md(e,t,n,o){return Td(e,function(e,t,n,o){return Bd(e,t,0,o)}(e,t,0,o))}function Dd(e){return`method 'uni.${e}' not supported`}function Nd(e){return(t,{reject:n})=>n(Dd(e))}let $d=!1,qd=0,Ud=0,jd=960,Fd=375,Vd=750;function zd(e,t){const n=Number(e);return isNaN(n)?t:n}const Wd=Od(0,((e,t)=>{if(0===qd&&(function(){const{platform:e,pixelRatio:t,windowWidth:n}=Xu();qd=n,Ud=t,$d="ios"===e}(),function(){const e=__uniConfig.globalStyle||{};jd=zd(e.rpxCalcMaxDeviceWidth,960),Fd=zd(e.rpxCalcBaseDeviceWidth,375),Vd=zd(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||qd;n=e===Vd||n<=jd?n:Fd;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Ud&&$d?.5:1),e<0?-o:o}));function Hd(e,t){Object.keys(t).forEach((n=>{m(t[n])&&(e[n]=function(e,t){const n=t?e?e.concat(t):h(t)?t:[t]:e;return n?function(e){const t=[];for(let n=0;n{v(e)&&A(t)?Hd(vd[e]||(vd[e]={}),t):A(e)&&Hd(md,e)})),Kd=new Me,Yd=Od(0,((e,t)=>(Kd.on(e,t),()=>Kd.off(e,t)))),Gd=Od(0,((e,t)=>{e?(h(e)||(e=[e]),e.forEach((e=>Kd.off(e,t)))):Kd.e={}})),Qd=Od(0,((e,...t)=>{Kd.emit(e,...t)})),Jd=[.5,.8,1,1.25,1.5,2];class Zd{constructor(e,t){this.id=e,this.pageId=t}play(){Ku(this.id,this.pageId,"play")}pause(){Ku(this.id,this.pageId,"pause")}stop(){Ku(this.id,this.pageId,"stop")}seek(e){Ku(this.id,this.pageId,"seek",{position:e})}sendDanmu(e){Ku(this.id,this.pageId,"sendDanmu",e)}playbackRate(e){~Jd.indexOf(e)||(e=1),Ku(this.id,this.pageId,"playbackRate",{rate:e})}requestFullScreen(e={}){Ku(this.id,this.pageId,"requestFullScreen",e)}exitFullScreen(){Ku(this.id,this.pageId,"exitFullScreen")}showStatusBar(){Ku(this.id,this.pageId,"showStatusBar")}hideStatusBar(){Ku(this.id,this.pageId,"hideStatusBar")}}const ep=Od(0,((e,t)=>new Zd(e,Rc(t||Dc())))),tp=(e,t,n,o)=>{!function(e,t,n,o,i){ix.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)}))};class np{constructor(e,t){this.id=e,this.pageId=t}getCenterLocation(e){tp(this.id,this.pageId,"getCenterLocation",e)}moveToLocation(e){tp(this.id,this.pageId,"moveToLocation",e)}getScale(e){tp(this.id,this.pageId,"getScale",e)}getRegion(e){tp(this.id,this.pageId,"getRegion",e)}includePoints(e){tp(this.id,this.pageId,"includePoints",e)}translateMarker(e){tp(this.id,this.pageId,"translateMarker",e)}$getAppMap(){}addCustomLayer(e){tp(this.id,this.pageId,"addCustomLayer",e)}removeCustomLayer(e){tp(this.id,this.pageId,"removeCustomLayer",e)}addGroundOverlay(e){tp(this.id,this.pageId,"addGroundOverlay",e)}removeGroundOverlay(e){tp(this.id,this.pageId,"removeGroundOverlay",e)}updateGroundOverlay(e){tp(this.id,this.pageId,"updateGroundOverlay",e)}initMarkerCluster(e){tp(this.id,this.pageId,"initMarkerCluster",e)}addMarkers(e){tp(this.id,this.pageId,"addMarkers",e)}removeMarkers(e){tp(this.id,this.pageId,"removeMarkers",e)}moveAlong(e){tp(this.id,this.pageId,"moveAlong",e)}setLocMarkerIcon(e){tp(this.id,this.pageId,"setLocMarkerIcon",e)}openMapApp(e){tp(this.id,this.pageId,"openMapApp",e)}on(e,t){tp(this.id,this.pageId,"on",{name:e,callback:t})}}const op=Od(0,((e,t)=>new np(e,Rc(t||Dc()))));function ip(e,t){return function(n,o){n?o[e]=Math.round(n):void 0!==t&&(o[e]=t)}}const ap=ip("width"),rp=ip("height"),sp={PNG:"png",JPG:"jpg",JPEG:"jpg"},lp={formatArgs:{x:ip("x",0),y:ip("y",0),width:ap,height:rp,destWidth:ip("destWidth"),destHeight:ip("destHeight"),fileType(e,t){e=(e||"").toUpperCase();let n=sp[e];n||(n=sp.PNG),t.fileType=n},quality(e,t){t.quality=e&&e>0&&e<1?e:1}}};function cp(e,t,n,o,i){ix.invokeViewMethod(`canvas.${e}`,{type:n,data:o},t,(e=>{i&&i(e)}))}var up=["scale","rotate","translate","setTransform","transform"],dp=["drawImage","fillText","fill","stroke","fillRect","strokeRect","clearRect","strokeText"],pp=["setFillStyle","setTextAlign","setStrokeStyle","setGlobalAlpha","setShadow","setFontSize","setLineCap","setLineJoin","setLineWidth","setMiterLimit","setTextBaseline","setLineDash"];const hp={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 fp(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(p(hp,n)){t=/^#([0-9|A-F|a-f]{6,8})$/.exec(hp[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 a=parseInt(t[1].slice(6,8),16);return a=a>=0?a:255,[e,o,i,a]}return console.error("unsupported color:"+e),[0,0,0,255]}class gp{constructor(e,t){this.type=e,this.data=t,this.colorStop=[]}addColorStop(e,t){this.colorStop.push([e,fp(t)])}}class mp{constructor(e,t){this.type="pattern",this.data=e,this.colorStop=t}}class vp{constructor(e){this.width=e}}class yp{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,a,r,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,a){console.log("initCanvasContextProperty implemented.")}draw(e=!1,t){var n=[...this.actions];this.actions=[],this.path=[],cp(this.id,this.pageId,"actionsChanged",{actions:n,reserve:e},t)}createLinearGradient(e,t,n,o){return new gp("linear",[e,t,n,o])}createCircularGradient(e,t,n){return new gp("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 mp(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 vp(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,a){this.path.push({method:"bezierCurveTo",data:[e,t,n,o,i,a]}),this.subpath.push([i,a])}arc(e,t,n,o,i,a=!1){this.path.push({method:"arc",data:[e,t,n,o,i,a]}),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+r?px)(\/(\d+\.?\d*(r?px)?))?\s+(.*)/);if(n){var o=n[1].trim().split(/\s/),i=parseFloat(n[3]),a=n[7],r=[];o.forEach((function(e,n){["italic","oblique","normal"].indexOf(e)>-1?(r.push({method:"setFontStyle",data:[e]}),t.state.fontStyle=e):["bold","normal"].indexOf(e)>-1?(r.push({method:"setFontWeight",data:[e]}),t.state.fontWeight=e):0===n?(r.push({method:"setFontStyle",data:["normal"]}),t.state.fontStyle="normal"):1===n&&s()})),1===o.length&&s(),o=r.map((function(e){return e.data[0]})).join(" "),this.state.fontSize=i,this.state.fontFamily=a,this.actions.push({method:"setFont",data:[`${o} ${i}px ${a}`]})}else console.warn("Failed to set 'font' on 'CanvasContext': invalid format.");function s(){r.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 _p=he((()=>{[...up,...dp].forEach((function(e){yp.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 a=[t.toString(),n,o];"number"==typeof i&&a.push(i),this.actions.push({method:e,data:a})};case"drawImage":return function(t,n,o,i,a,r,s,l,c){var u;function d(e){return"number"==typeof e}void 0===c&&(r=n,s=o,l=i,c=a,n=void 0,o=void 0,i=void 0,a=void 0),u=d(n)&&d(o)&&d(i)&&d(a)?[t,r,s,l,c,n,o,i,a]:d(l)&&d(c)?[t,r,s,l,c]:[t,r,s],this.actions.push({method:e,data:u})};default:return function(...t){this.actions.push({method:e,data:t})}}}(e)})),pp.forEach((function(e){yp.prototype[e]=function(e){switch(e){case"setFillStyle":case"setStrokeStyle":return function(t){"object"!=typeof t?this.actions.push({method:e,data:["normal",fp(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=fp(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)}))})),bp=Od(0,((e,t)=>{if(_p(),t)return new yp(e,Rc(t));const n=Rc(Dc());if(n)return new yp(e,n);ix.emit("onError","createCanvasContext:fail")})),wp=Md("canvasToTempFilePath",(({x:e=0,y:t=0,width:n,height:o,destWidth:i,destHeight:a,canvasId:r,fileType:s,quality:l},{resolve:c,reject:u})=>{var d=Rc(Dc());if(!d)return void u();cp(r,d,"toTempFilePath",{x:e,y:t,width:n,height:o,destWidth:i,destHeight:a,fileType:s,quality:l,dirname:"/canvas"},(e=>{e.errMsg&&-1!==e.errMsg.indexOf("fail")?u("",e):c(e)}))}),0,lp),xp=["onCanplay","onPlay","onPause","onStop","onEnded","onTimeUpdate","onError","onWaiting","onSeeking","onSeeked"],Ap=["offCanplay","offPlay","offPause","offStop","offEnded","offTimeUpdate","offError","offWaiting","offSeeking","offSeeked"],Tp={thresholds:[0],initialRatio:0,observeAll:!1},kp=["top","right","bottom","left"];let Sp=1;function Cp(e={}){return kp.map((t=>`${Number(e[t])||0}px`)).join(" ")}class Ep{constructor(e,t){this._pageId=Rc(e),this._component=e,this._options=c({},Tp,t)}relativeTo(e,t){return this._options.relativeToSelector=e,this._options.rootMargin=Cp(t),this}relativeToViewport(e){return this._options.relativeToSelector=void 0,this._options.rootMargin=Cp(e),this}observe(e,t){m(t)&&(this._options.selector=e,this._reqId=Sp++,function({reqId:e,component:t,options:n,callback:o},i){const a=Lu(t);(a.__io||(a.__io={}))[e]=function(e,t,n){!function(){if("object"!=typeof window)return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)return void("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}}));function e(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(gB){return null}}var t=function(t){for(var n=window.document,o=e(n);o;)o=e(n=o.ownerDocument);return n}(),n=[],o=null,i=null;function a(e){this.time=e.time,this.target=e.target,this.rootBounds=f(e.rootBounds),this.boundingClientRect=f(e.boundingClientRect),this.intersectionRect=f(e.intersectionRect||h()),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 r(e,t){var n=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(n.root&&1!=n.root.nodeType&&9!=n.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map((function(e){return e.value+e.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(){return window.performance&&performance.now&&performance.now()}function l(e,t){var n=null;return function(){n||(n=setTimeout((function(){e(),n=null}),t))}}function c(e,t,n,o){"function"==typeof e.addEventListener?e.addEventListener(t,n,o||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function u(e,t,n,o){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,o||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function d(e,t){var n=Math.max(e.top,t.top),o=Math.min(e.bottom,t.bottom),i=Math.max(e.left,t.left),a=Math.min(e.right,t.right),r=a-i,s=o-n;return r>=0&&s>=0&&{top:n,bottom:o,left:i,right:a,width:r,height:s}||null}function p(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):h()}function h(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function f(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 g(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 m(e,t){for(var n=t;n;){if(n==e)return!0;n=v(n)}return!1}function v(n){var o=n.parentNode;return 9==n.nodeType&&n!=t?e(n):(o&&o.assignedSlot&&(o=o.assignedSlot.parentNode),o&&11==o.nodeType&&o.host?o.host:o)}function y(e){return e&&9===e.nodeType}r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r._setupCrossOriginUpdater=function(){return o||(o=function(e,t){i=e&&t?g(e,t):h(),n.forEach((function(e){e._checkForIntersections()}))}),o},r._resetCrossOriginUpdater=function(){o=null,i=null},r.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()}},r.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()},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},r.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]}))},r.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},r.prototype._monitorIntersections=function(n){var o=n.defaultView;if(o&&-1==this._monitoringDocuments.indexOf(n)){var i=this._checkForIntersections,a=null,r=null;this.POLL_INTERVAL?a=o.setInterval(i,this.POLL_INTERVAL):(c(o,"resize",i,!0),c(n,"scroll",i,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in o&&(r=new o.MutationObserver(i)).observe(n,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(n),this._monitoringUnsubscribes.push((function(){var e=n.defaultView;e&&(a&&e.clearInterval(a),u(e,"resize",i,!0)),u(n,"scroll",i,!0),r&&r.disconnect()}));var s=this.root&&(this.root.ownerDocument||this.root)||t;if(n!=s){var l=e(n);l&&this._monitorIntersections(l.ownerDocument)}}},r.prototype._unmonitorIntersections=function(n){var o=this._monitoringDocuments.indexOf(n);if(-1!=o){var i=this.root&&(this.root.ownerDocument||this.root)||t;if(!this._observationTargets.some((function(t){var o=t.element.ownerDocument;if(o==n)return!0;for(;o&&o!=i;){var a=e(o);if((o=a&&a.ownerDocument)==n)return!0}return!1}))){var a=this._monitoringUnsubscribes[o];if(this._monitoringDocuments.splice(o,1),this._monitoringUnsubscribes.splice(o,1),a(),n!=i){var r=e(n);r&&this._unmonitorIntersections(r.ownerDocument)}}}},r.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t{e.forEach((e=>{n({intersectionRatio:Hh(e),intersectionRect:Wh(e.intersectionRect),boundingClientRect:Wh(e.boundingClientRect),relativeRect:Wh(e.rootBounds),time:Date.now(),dataset:_e(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((e=oe(e))&&!Rc(e)&&(t=e,e=null),new Ep(e||Dc(),t))));let Bp=1;class Pp{constructor(e){this._pageId=e.$page&&e.$page.id,this._component=e}observe(e,t){m(t)&&(this._reqId=Bp++,function({reqId:e,component:t,options:n,callback:o},i){const a=Xh[e]=window.matchMedia(function(e){const t=[],n=["width","minWidth","maxWidth","height","minHeight","maxHeight","orientation"];for(const o of n)"orientation"!==o&&e[o]&&Number(e[o]>=0)&&t.push(`(${Yh(o)}: ${Number(e[o])}px)`),"orientation"===o&&e[o]&&t.push(`(${Yh(o)}: ${e[o]})`);return t.join(" and ")}(n)),r=Kh[e]=e=>o(e.matches);r(a),a.addListener(r)}({reqId:this._reqId,component:this._component,options:e,callback:t},this._pageId))}disconnect(){this._reqId&&function({reqId:e,component:t},n){const o=Kh[e],i=Xh[e];i&&(i.removeListener(o),delete Kh[e],delete Xh[e])}({reqId:this._reqId,component:this._component},this._pageId)}}const Rp=Od(0,(e=>((e=oe(e))&&!Rc(e)&&(e=null),new Pp(e||Dc()))));let Lp=0,Op={};const Mp={canvas:yp,map:np,video:Zd,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){!function(e,t,n,o){const i={options:o},a=o&&("success"in o||"fail"in o||"complete"in o);if(a){const e=String(Lp++);i.callbackId=e,Op[e]=o}ix.invokeViewMethod(`editor.${e}`,{type:n,data:i},t,(({callbackId:e,data:t})=>{a&&(me(Op[e],t),delete Op[e])}))}(this.id,this.pageId,e,t)}}};function Dp(e){if(e&&e.contextInfo){const{id:t,type:n,page:o}=e.contextInfo,i=Mp[n];e.context=new i(t,o),delete e.contextInfo}}class Np{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 $p{constructor(e){this._component=void 0,this._page=e,this._queue=[],this._queueCb=[]}exec(e){return Qu(this._page,this._queue,(t=>{const n=this._queueCb;t.forEach(((e,t)=>{h(e)?e.forEach(Dp):Dp(e);const o=n[t];m(o)&&o.call(this,e)})),m(e)&&e.call(this,t)})),this._nodesRef}in(e){return this._component=oe(e),this}select(e){return this._nodesRef=new Np(this,this._component,e,!0)}selectAll(e){return this._nodesRef=new Np(this,this._component,e,!1)}selectViewport(){return this._nodesRef=new Np(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 qp=Od(0,(e=>((e=oe(e))&&!Rc(e)&&(e=null),new $p(e||Dc())))),Up={formatArgs:{}},jp={duration:400,timingFunction:"linear",delay:0,transformOrigin:"50% 50% 0"};let Fp=class{constructor(e){this.actions=[],this.currentTransform={},this.currentStepAnimates=[],this.option=c({},jp,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 Vp=he((()=>{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=>{Fp.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}}))})),zp=Od(0,(e=>(Vp(),new Fp(e))),0,Up),Wp=Od(0,(()=>{const e=qv();return e&&e.$vm?e.$vm.$locale:kl().getLocale()})),Hp={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};function Xp(e,t){const n=qv();if(n&&n.$vm)return qo(e,t,n.$vm.$);Hp[e].push(t)}const Kp=Od(0,(()=>c({},tf)));let Yp,Gp,Qp;const Jp=[];const Zp=Md("getPushClientId",((e,{resolve:t,reject:n})=>{Promise.resolve().then((()=>{var e,o;void 0===Qp&&(Qp=!1,Yp="",Gp="uniPush is not enabled"),Jp.push(((e,o)=>{e?t({cid:e}):n(o)})),void 0!==Yp&&(e=Yp,o=Gp,Jp.forEach((t=>{t(e,o)})),Jp.length=0)}))})),eh={formatArgs:{showToast:!0},beforeInvoke(){Ll()},beforeSuccess(e,t){if(!t.showToast)return;const{t:n}=kl(),o=n("uni.setClipboardData.success");o&&Ub({title:o,icon:"success",mask:!1})}},th=(Boolean,{formatArgs:{filePath(e,t){t.filePath=Mu(e)}}}),nh=["wgs84","gcj02"],oh={formatArgs:{type(e,t){e=(e||"").toLowerCase(),-1===nh.indexOf(e)?t.type=nh[0]:t.type=e},altitude(e,t){t.altitude=e||!1}}},ih=(Boolean,(e,t)=>{if(void 0===t)return`${e} should not be empty.`;if("number"!=typeof t){let e=typeof t;return e=e[0].toUpperCase()+e.substring(1),`Expected Number, got ${e} with value ${JSON.stringify(t)}.`}}),ah={formatArgs:{latitude(e,t){const n=ih("latitude",e);if(n)return n;t.latitude=e},longitude(e,t){const n=ih("longitude",e);if(n)return n;t.longitude=e},scale(e,t){e=Math.floor(e),t.scale=e>=5&&e<=18?e:18}}},rh={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=9)},sizeType(e,t){t.sizeType=nd(e,Ju)},sourceType(e,t){t.sourceType=nd(e,Zu)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=["*"])}}},sh={formatArgs:{sourceType(e,t){t.sourceType=nd(e,Zu)},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=["*"])}}},lh=(Boolean,["all","image","video"]),ch={formatArgs:{count(e,t){(!e||e<=0)&&(t.count=100)},sourceType(e,t){t.sourceType=nd(e,Zu)},type(e,t){t.type=td(e,lh)},extension(e,t){if(e instanceof Array&&0===e.length)return"param extension should not be empty.";e||(t.extension=[""])}}},uh={formatArgs:{src(e,t){t.src=Mu(e)}}},dh={formatArgs:{urls(e,t){t.urls=e.map((e=>v(e)&&e?Mu(e):""))},current(e,t){"number"==typeof e?t.current=e>0&&ee)),r={};a.forEach((e=>{const t=e.split("=");r[t[0]]=t[1]}));for(const s in t)if(p(t,s)){let e=t[s];null==e?e="":A(e)&&(e=JSON.stringify(e)),r[fh(s)]=fh(e)}return i=Object.keys(r).map((e=>`${e}=${r[e]}`)).join("&"),e+(i?"?"+i:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==ed[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||ph).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===hh.indexOf(t.responseType)&&(t.responseType="text")}}},mh={formatArgs:{header(e,t){t.header=e||{}}}},vh={formatArgs:{filePath(e,t){e&&(t.filePath=Mu(e))},header(e,t){t.header=e||{}},formData(e,t){t.formData=e||{}}}},yh={formatArgs:{header(e,t){t.header=e||{}},method(e,t){t.method=td((e||"").toUpperCase(),ed)},protocols(e,t){v(e)&&(t.protocols=[e])}}};const _h={url:{type:String,required:!0}},bh=(kh(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),kh(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),Eh("navigateTo")),wh=Eh("redirectTo"),xh=Eh("reLaunch"),Ah=Eh("switchTab"),Th={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(fv().length-1,e)}}};function kh(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 Sh;function Ch(){Sh=""}function Eh(e){return{formatArgs:{url:Ih(e)},beforeAll:Ch}}function Ih(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/"))return e;let t="";const n=fv();return n.length&&(t=n[n.length-1].$page.route),zc(t,e)}(t)).split("?")[0],i=Wc(o,!0);if(!i)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(i.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!i.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!i.meta.isTabBar||"appLaunch"===n.openType||(t=o),i.meta.isEntry&&(t=t.replace(i.alias,"/")),n.url=function(e){if(!v(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("preloadPage"!==e){if(Sh===t&&"appLaunch"!==n.openType)return`${Sh} locked`;__uniConfig.ready&&(Sh=t)}else if(i.meta.isTabBar){const e=fv(),t=i.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}const Bh={formatArgs:{animation(e,t){e||(e={duration:0,timingFunc:"linear"}),t.animation={duration:e.duration||0,timingFunc:e.timingFunc||"linear"}}}},Ph={formatArgs:{duration:300}},Rh={formatArgs:{itemColor:"#000"}},Lh=(Boolean,{formatArgs:{title:"",mask:!1}}),Oh=(Boolean,{beforeInvoke(){Pl()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!p(t,"cancelText")){const{t:e}=kl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!p(t,"confirmText")){const{t:e}=kl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),Mh=["success","loading","none","error"],Dh=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=td(e,Mh)},image(e,t){t.image=e?Mu(e):""},duration:1500,mask:!1}}),Nh={beforeInvoke(){const e=Oc();if(e&&!e.isTabBar)return"not TabBar page"},formatArgs:{index(e){if(!__uniConfig.tabBar.list[e])return"tabbar item not found"}}},$h={beforeInvoke:Nh.beforeInvoke,formatArgs:c({pagePath(e,t){e&&(t.pagePath=de(e))}},Nh.formatArgs)},qh=/^(linear|radial)-gradient\(.+?\);?$/,Uh={beforeInvoke:Nh.beforeInvoke,formatArgs:{backgroundImage(e,t){e&&!qh.test(e)&&(t.backgroundImage=Mu(e))},borderStyle(e,t){e&&(t.borderStyle="white"===e?"white":"black")}}},jh=Nh,Fh=Nh,Vh=Nh,zh={beforeInvoke:Nh.beforeInvoke,formatArgs:c({text(e,t){(function(e=""){return(""+e).replace(/[^\x00-\xff]/g,"**").length})(e)>=4&&(t.text="...")}},Nh.formatArgs)};function Wh(e){const{bottom:t,height:n,left:o,right:i,top:a,width:r}=e||{};return{bottom:t,height:n,left:o,right:i,top:a,width:r}}function Hh(e){const{intersectionRatio:t,boundingClientRect:{height:n,width:o},intersectionRect:{height:i,width:a}}=e;return 0!==t?t:i===n?a/o:i/n}let Xh={},Kh={};function Yh(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}const Gh={};function Qh(e,t){const n=Gh[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 a=i.length;const r=new Uint8Array(a);for(;a--;)r[a]=i.charCodeAt(a);return Jh(r,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 Jh(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 Zh(e){for(const n in Gh)if(p(Gh,n)){if(Gh[n]===e)return n}var t=(window.URL||window.webkitURL).createObjectURL(e);return Gh[t]=e,t}function ef(e){(window.URL||window.webkitURL).revokeObjectURL(e),delete Gh[e]}const tf=hu(),nf=hu();const of=vu({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=cn(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=Ht({width:-1,height:-1});return oo((()=>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){Po(o),Fo((()=>{t.initial&&En(n);const i=e.value;i.offsetParent!==i.parentElement&&(i.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,i,o),()=>sa("uni-resize-sensor",{ref:n,onAnimationstartOnce:i},[sa("div",{onScroll:i},[sa("div",null,null)],40,["onScroll"]),sa("div",{onScroll:i},[sa("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});const af=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 rf(e,t=!0){const n=t?af:1;e.width=e.offsetWidth*n,e.height=e.offsetHeight*n,e.getContext("2d").__hidpi__=t}let sf=!1;function lf(){if(sf)return;sf=!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,a,r,s,l,c,u){if(!this.__hidpi__)return e.apply(this,arguments);n*=af,o*=af,i*=af,a*=af,r*=af,s*=af,l=u?l*af:l,c=u?c*af:c,e.call(this,t,n,o,i,a,r,s,l,c)}}(t.drawImage),1!==af&&(!function(e,t){for(const n in e)p(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*af}));else if(Array.isArray(e))for(let t=0;tlf()));function uf(e){return e?Mu(e):e}function df(e){return(e=e.slice(0))[3]=e[3]/255,"rgba("+e.join(",")+")"}function pf(e,t){Array.from(t).forEach((t=>{t.x=t.clientX-e.left,t.y=t.clientY-e.top}))}let hf;function ff(e=0,t=0){return hf||(hf=document.createElement("canvas")),hf.width=e,hf.height=t,hf}const gf=vu({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}){cf();const o=cn(null),i=cn(null),a=cn(null),r=cn(!1),s=function(e){return(t,n)=>{e(t,Qc(n))}}(t),{$attrs:l,$excludeAttrs:u,$listeners:d}=wg({excludeListeners:!0}),{_listeners:h}=function(e,t,n){const o=Ba((()=>{let o=["onTouchstart","onTouchmove","onTouchend"],i=t.value,a=c({},(()=>{let e={};for(const t in i)if(p(i,t)){const n=i[t];e[t]=n}return e})());return o.forEach((t=>{let o=[];a[t]&&o.push(_u((e=>{const o=e.currentTarget.getBoundingClientRect();pf(o,e.touches),pf(o,e.changedTouches),n(t.replace("on","").toLocaleLowerCase(),e)}))),e.disableScroll&&"onTouchmove"===t&&o.push(pc),a[t]=o})),a}));return{_listeners:o}}(e,d,s),{_handleSubscribe:f,_resize:g}=function(e,t,n){let o=[],i={};const a=Ba((()=>e.hidpi?af:1));function r(n){let o=t.value;if(!n||o.width!==Math.floor(n.width*a.value)||o.height!==Math.floor(n.height*a.value))if(o.width>0&&o.height>0){let t=o.getContext("2d"),n=t.getImageData(0,0,o.width,o.height);rf(o,e.hidpi),t.putImageData(n,0,0)}else rf(o,e.hidpi)}function s({actions:e,reserve:a},r){if(!e)return;if(n.value)return void o.push([e,a]);let s=t.value,c=s.getContext("2d");a||(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.src=t})).catch((()=>{e.src=o}))}"drawImage"===t?(o=n[0],o=uf(o),n[0]=o):"setFillStyle"===t&&"pattern"===n[0]&&(o=n[1],o=uf(o),n[1]=o),o&&!i[o]&&a()}))}function u(e,t,a,r){let l=i[e];return l.ready?(r(l),!0):(o.unshift([t,!0]),n.value=!0,l.onload=function(){l.ready=!0,r(l),n.value=!1;let e=o.slice(0);o=[];for(let t=e.shift();t;)s({actions:t[0],reserve:t[1]},a),t=e.shift()},!1)}function d({x:e=0,y:n=0,width:o,height:i,destWidth:r,destHeight:s,hidpi:l=!0,dataType:c,quality:u=1,type:d="png"},p){const h=t.value;let f;const g=h.offsetWidth-e;o=o?Math.min(o,g):g;const m=h.offsetHeight-n;i=i?Math.min(i,m):m,l?(r=o,s=i):r||s?r?s||(s=Math.round(i/o*r)):r=Math.round(o/i*s):(r=Math.round(o*a.value),s=Math.round(i*a.value));const v=ff(r,s),y=v.getContext("2d");let _;"jpeg"!==d&&"jpg"!==d||(d="jpeg",y.fillStyle="#fff",y.fillRect(0,0,r,s)),y.__hidpi__=!0,y.drawImageByCanvas(h,e,n,o,i,0,0,r,s,!1);try{let e;if("base64"===c)f=v.toDataURL(`image/${d}`,u);else{const e=y.getImageData(0,0,r,s);f=Array.prototype.slice.call(e.data)}_={data:f,compressed:e,width:r,height:s}}catch(b){_={errMsg:`canvasGetImageData:fail ${b}`}}if(v.height=v.width=0,y.__hidpi__=!1,!p)return _;p(_)}function p({data:e,x:n,y:o,width:i,height:a,compressed:r},s){try{0,a||(a=Math.round(e.length/4/i));const r=ff(i,a);r.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(e),i,a),0,0),t.value.getContext("2d").drawImage(r,n,o,i,a),r.height=r.width=0}catch(l){return void s({errMsg:"canvasPutImageData:fail"})}s({errMsg:"canvasPutImageData:ok"})}function h({x:e=0,y:t=0,width:n,height:o,destWidth:i,destHeight:a,fileType:r,quality:s,dirname:l},c){const u=d({x:e,y:t,width:n,height:o,destWidth:i,destHeight:a,hidpi:!1,dataType:"base64",type:r,quality:s});var p;u.data&&u.data.length?(p=u.data,((e,t)=>{let n="toTempFilePath:"+(e?"fail":"ok");e&&(n+=` ${e.message}`),c({errMsg:n,tempFilePath:t})})(null,p)):c({errMsg:u.errMsg.replace("canvasPutImageData","toTempFilePath")})}const f={actionsChanged:s,getImageData:d,putImageData:p,toTempFilePath:h};function g(e,t,n){let o=f[e];0!==e.indexOf("_")&&m(o)&&o(t,n)}return c(f,{_resize:r,_handleSubscribe:g})}(e,i,r);return Dm(f,$m(e.canvasId),!0),Fo((()=>{g()})),()=>{const{canvasId:t,disableScroll:r}=e;return sa("uni-canvas",fa({ref:o,"canvas-id":t,"disable-scroll":r},l.value,u.value,h.value),[sa("canvas",{ref:i,class:"uni-canvas-canvas",width:"300",height:"150"},null,512),sa("div",{style:"position: absolute;top: 0;left: 0;width: 100%;height: 100%;overflow: hidden;"},[n.default&&n.default()]),sa(of,{ref:a,onResize:g},null,8,["onResize"])],16,["canvas-id","disable-scroll"])}}});const mf=wc("ucg"),vf=vu({name:"CheckboxGroup",props:{name:{type:String,default:""}},emits:["change"],setup(e,{emit:t,slots:n}){const o=cn(null);return function(e,t){const n=[],o=()=>n.reduce(((e,t)=>(t.value.checkboxChecked&&e.push(t.value.value),e)),new Array);xi(mf,{addField(e){n.push(e)},removeField(e){n.splice(n.indexOf(e),1)},checkboxChange(e){t("change",e,{value:o()})}});const i=Ai(Tu,!1);i&&i.addField({submit:()=>{let t=["",null];return""!==e.name&&(t[0]=e.name,t[1]=o()),t}})}(e,bu(o,t)),()=>sa("uni-checkbox-group",{ref:o},[n.default&&n.default()],512)}});const yf=vu({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=cn(null),o=cn(e.checked),i=Ba((()=>"true"===o.value||!0===o.value)),a=cn(e.value);const r=Ba((()=>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)));oo([()=>e.checked,()=>e.value],(([e,t])=>{o.value=e,a.value=t}));const{uniCheckGroup:s,uniLabel:l}=function(e,t,n){const o=Ba((()=>({checkboxChecked:Boolean(e.value),value:t.value}))),i={reset:n},a=Ai(mf,!1);a&&a.addField(o);const r=Ai(Tu,!1);r&&r.addField(i);const s=Ai(Cu,!1);return Wo((()=>{a&&a.removeField(o),r&&r.removeField(i)})),{uniCheckGroup:a,uniForm:r,uniLabel:s}}(o,a,(()=>{o.value=!1})),c=t=>{e.disabled||(o.value=!o.value,s&&s.checkboxChange(t),t.stopPropagation())};return l&&(l.addHandler(c),Wo((()=>{l.removeHandler(c)}))),Iu(e,{"label-click":c}),()=>{const i=Au(e,"disabled");let a;return a=o.value,sa("uni-checkbox",fa(i,{id:e.id,onClick:c,ref:n}),[sa("div",{class:"uni-checkbox-wrapper",style:{"--HOVER-BD-COLOR":e.activeBorderColor}},[sa("div",{class:["uni-checkbox-input",{"uni-checkbox-input-disabled":e.disabled}],style:r.value},[a?Bc(kc,e.disabled?"#ADADAD":e.foreColor||e.iconColor||e.color,22):""],6),t.default&&t.default()],4)],16,["id","onClick"])}}});function _f(){}const bf={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}},wf=["keyboardheightchange"];function xf(e,t,n){function o(e){const t=Ba((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",_f,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",_f,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}oo((()=>t.value),(e=>e&&o(e)))}var Af=/^<([-A-Za-z0-9_]+)((?:\s+[a-zA-Z_:][-a-zA-Z0-9_:.]*(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,Tf=/^<\/([-A-Za-z0-9_]+)[^>]*>/,kf=/([a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g,Sf=Lf("area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr"),Cf=Lf("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"),Ef=Lf("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"),If=Lf("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"),Bf=Lf("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"),Pf=Lf("script,style");function Rf(e,t){var n,o,i,a=[],r=e;for(a.last=function(){return this[this.length-1]};e;){if(o=!0,a.last()&&Pf[a.last()])e=e.replace(new RegExp("([\\s\\S]*?)]*>"),(function(e,n){return n=n.replace(/|/g,"$1$2"),t.chars&&t.chars(n),""})),c("",a.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("=0&&a[o]!=n;o--);else var o=0;if(o>=0){for(var i=a.length-1;i>=o;i--)t.end&&t.end(a[i]);a.length=o}}c()}function Lf(e){for(var t={},n=e.split(","),o=0;oe())),delete Of[t]}}o.push(n)}function Df(e){const t=e.import("blots/block/embed");class n extends t{}return n.blotName="divider",n.tagName="HR",{"formats/divider":n}}function Nf(e){const t=e.import("blots/inline");class n extends t{}return n.blotName="ins",n.tagName="INS",{"formats/ins":n}}function $f(e){const{Scope:t,Attributor:n}=e.import("parchment"),o={scope:t.BLOCK,whitelist:["left","right","center","justify"]};return{"formats/align":new n.Style("align","text-align",o)}}function qf(e){const{Scope:t,Attributor:n}=e.import("parchment"),o={scope:t.BLOCK,whitelist:["rtl"]};return{"formats/direction":new n.Style("direction","direction",o)}}function Uf(e){const t=e.import("parchment"),n=e.import("blots/container"),o=e.import("formats/list/item");class i extends n{static create(e){const t="ordered"===e?"OL":"UL",n=super.create(t);return"checked"!==e&&"unchecked"!==e||n.setAttribute("data-checked","checked"===e),n}static formats(e){return"OL"===e.tagName?"ordered":"UL"===e.tagName?e.hasAttribute("data-checked")?"true"===e.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}constructor(e){super(e);e.addEventListener("click",(n=>{if(n.target.parentNode!==e)return;const o=this.statics.formats(e),i=t.find(n.target);"checked"===o?i.format("list","unchecked"):"unchecked"===o&&i.format("list","checked")}))}format(e,t){this.children.length>0&&this.children.tail.format(e,t)}formats(){return{[this.statics.blotName]:this.statics.formats(this.domNode)}}insertBefore(e,t){if(e instanceof o)super.insertBefore(e,t);else{const n=null==t?this.length():t.offset(this),o=this.split(n);o.parent.insertBefore(e,o)}}optimize(e){super.optimize(e);const t=this.next;null!=t&&t.prev===this&&t.statics.blotName===this.statics.blotName&&t.domNode.tagName===this.domNode.tagName&&t.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(t.moveChildren(this),t.remove())}replace(e){if(e.statics.blotName!==this.statics.blotName){const n=t.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}super.replace(e)}}return i.blotName="list",i.scope=t.Scope.BLOCK_BLOT,i.tagName=["OL","UL"],i.defaultChild="list-item",i.allowedChildren=[o],{"formats/list":i}}function jf(e){const{Scope:t}=e.import("parchment");return{"formats/backgroundColor":new(e.import("formats/background").constructor)("backgroundColor","background-color",{scope:t.INLINE})}}function Ff(e){const{Scope:t,Attributor:n}=e.import("parchment"),o={scope:t.BLOCK},i={};return["margin","marginTop","marginBottom","marginLeft","marginRight"].concat(["padding","paddingTop","paddingBottom","paddingLeft","paddingRight"]).forEach((e=>{i[`formats/${e}`]=new n.Style(e,B(e),o)})),i}function Vf(e){const{Scope:t,Attributor:n}=e.import("parchment"),o={scope:t.INLINE},i={};return["font","fontSize","fontStyle","fontVariant","fontWeight","fontFamily"].forEach((e=>{i[`formats/${e}`]=new n.Style(e,B(e),o)})),i}function zf(e){const{Scope:t,Attributor:n}=e.import("parchment"),o=[{name:"lineHeight",scope:t.BLOCK},{name:"letterSpacing",scope:t.INLINE},{name:"textDecoration",scope:t.INLINE},{name:"textIndent",scope:t.BLOCK}],i={};return o.forEach((({name:e,scope:t})=>{i[`formats/${e}`]=new n.Style(e,B(e),{scope:t})})),i}function Wf(e){const t=e.import("formats/image"),n=["alt","height","width","data-custom","class","data-local"];t.sanitize=e=>e?Mu(e):e,t.formats=function(e){return n.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})};const o=t.prototype.format;t.prototype.format=function(e,t){n.indexOf(e)>-1?t?this.domNode.setAttribute(e,t):this.domNode.removeAttribute(e):o.call(this,e,t)}}function Hf(e){const t=e.import("formats/link");t.sanitize=e=>{const n=document.createElement("a");n.href=e;const o=n.href.slice(0,n.href.indexOf(":"));return t.PROTOCOL_WHITELIST.concat("file").indexOf(o)>-1?e:t.SANITIZED_URL}}function Xf(e,t,n){let o,i,a;function r(){return{html:a.root.innerHTML,text:a.getText(),delta:a.getContents()}}function s(e){const t="data-placeholder",n=a.root;n.getAttribute(t)!==e&&n.setAttribute(t,e)}oo((()=>e.readOnly),(e=>{o&&(a.enable(!e),e||a.blur())})),oo((()=>e.placeholder),(e=>{o&&s(e)}));let l={};function u(e){const t=e?a.getFormat(e):{},o=Object.keys(t);(o.length!==Object.keys(l).length||o.find((e=>t[e]!==l[e])))&&(l=t,n("statuschange",{},t))}function d(){n("input",{},r())}function p(l){const p=window.Quill;!function(e){const t={divider:Df,ins:Nf,align:$f,direction:qf,list:Uf,background:jf,box:Ff,font:Vf,text:zf,image:Wf,link:Hf},n={};Object.values(t).forEach((t=>c(n,t(e)))),e.register(n,!0)}(p);const h={toolbar:!1,readOnly:e.readOnly,placeholder:e.placeholder};l.length&&(p.register("modules/ImageResize",window.ImageResize.default),h.modules={ImageResize:{modules:l}});const f=t.value;a=new p(f,h);const g=a.root;["focus","blur","input"].forEach((t=>{g.addEventListener(t,(o=>{const i=r();if("input"===t){if("ios"===Xu().platform){const t=(i.html.match(/([\s\S]*)<\/span>/)||[])[1];s(t&&t.replace(/\s/g,"")?"":e.placeholder)}o.stopPropagation()}else n(t,o,i)}))})),a.on("text-change",d),a.on("selection-change",u),a.on("scroll-optimize",(()=>{u(a.selection.getRange()[0])})),a.clipboard.addMatcher(Node.ELEMENT_NODE,((e,t)=>(i||t.ops&&(t.ops=t.ops.filter((({insert:e})=>v(e))).map((({insert:e})=>({insert:e})))),t))),o=!0,n("ready",{},{})}Dm(((e,t,n)=>{const{options:s,callbackId:l}=t;let p,h,f;if(o){const t=window.Quill;switch(e){case"format":{let{name:e="",value:t=!1}=s;h=a.getSelection(!0);let n=a.getFormat(h)[e]||!1;if(["bold","italic","underline","strike","ins"].includes(e))t=!n;else if("direction"===e){t=("rtl"!==t||!n)&&t;const e=a.getFormat(h).align;"rtl"!==t||e?t||"right"!==e||a.format("align",!1,"user"):a.format("align","right","user")}else if("indent"===e){const e="rtl"===a.getFormat(h).direction;t="+1"===t,e&&(t=!t),t=t?"+1":"-1"}else"list"===e&&(t="check"===t?"unchecked":t,n="checked"===n?"unchecked":n),t=n&&n!==(t||!1)||!n&&t?t:!n;a.format(e,t,"user")}break;case"insertDivider":h=a.getSelection(!0),a.insertText(h.index,"\n","user"),a.insertEmbed(h.index+1,"divider",!0,"user"),a.setSelection(h.index+2,0,"silent");break;case"insertImage":{h=a.getSelection(!0);const{src:e="",alt:t="",width:n="",height:o="",extClass:i="",data:r={}}=s,l=Mu(e);a.insertEmbed(h.index,"image",l,"silent");const c=!!/^(file|blob):/.test(l)&&l;a.formatText(h.index,1,"data-local",c,"silent"),a.formatText(h.index,1,"alt",t,"silent"),a.formatText(h.index,1,"width",n,"silent"),a.formatText(h.index,1,"height",o,"silent"),a.formatText(h.index,1,"class",i,"silent"),a.formatText(h.index,1,"data-custom",Object.keys(r).map((e=>`${e}=${r[e]}`)).join("&"),"silent"),a.setSelection(h.index+1,0,"silent"),a.scrollIntoView(),setTimeout((()=>{d()}),1e3)}break;case"insertText":{h=a.getSelection(!0);const{text:e=""}=s;a.insertText(h.index,e,"user"),a.setSelection(h.index+e.length,0,"silent")}break;case"setContents":{const{delta:e,html:t}=s;"object"==typeof e?a.setContents(e,"silent"):v(t)?a.setContents(function(e){const t=["span","strong","b","ins","em","i","u","a","del","s","sub","sup","img","div","p","h1","h2","h3","h4","h5","h6","hr","ol","ul","li","br"];let n,o="";Rf(e,{start:function(e,i,a){if(!t.includes(e))return void(n=!a);n=!1;const r=i.map((({name:e,value:t})=>`${e}="${t}"`)).join(" ");o+=`<${e} ${r} ${a?"/":""}>`},end:function(e){n||(o+=``)},chars:function(e){n||(o+=e)}}),i=!0;const r=a.clipboard.convert(o);return i=!1,r}(t),"silent"):f="contents is missing"}break;case"getContents":p=r();break;case"clear":a.setText("");break;case"removeFormat":{h=a.getSelection(!0);const e=t.import("parchment");h.length?a.removeFormat(h.index,h.length,"user"):Object.keys(a.getFormat(h)).forEach((t=>{e.query(t,e.Scope.INLINE)&&a.format(t,!1)}))}break;case"undo":a.history.undo();break;case"redo":a.history.redo();break;case"blur":a.blur();break;case"getSelectionText":h=a.selection.savedRange,p={text:""},h&&0!==h.length&&(p.text=a.getText(h.index,h.length));break;case"scrollIntoView":a.scrollIntoView()}u(h)}else f="not ready";l&&n({callbackId:l,data:c({},p,{errMsg:`${e}:${f?"fail "+f:"ok"}`})})}),$m(),!0),Fo((()=>{const t=[];e.showImgSize&&t.push("DisplaySize"),e.showImgToolbar&&t.push("Toolbar"),e.showImgResize&&t.push("Resize");Mf(window.Quill,"https://unpkg.com/quill@1.3.7/dist/quill.min.js",(()=>{if(t.length){const e="https://unpkg.com/quill-image-resize-mp@3.0.1/image-resize.min.js";Mf(window.ImageResize,e,(()=>{p(t)}))}else p(t)}))}))}const Kf=vu({name:"Editor",props:c({},bf,{id:{type:String,default:""},readOnly:{type:[Boolean,String],default:!1},placeholder:{type:String,default:""},showImgSize:{type:[Boolean,String],default:!1},showImgToolbar:{type:[Boolean,String],default:!1},showImgResize:{type:[Boolean,String],default:!1}}),emit:["ready","focus","blur","input","statuschange",...wf],setup(e,{emit:t}){const n=cn(null),o=bu(n,t);return Xf(e,n,o),xf(0,n),()=>sa("uni-editor",{ref:n,id:e.id,class:"ql-container"},null,8,["id"])}}),Yf={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},Gf={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},Qf={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"]},Jf=vu({name:"Image",props:Yf,setup(e,{emit:t}){const n=cn(null),o=function(e,t){const n=cn(""),o=Ba((()=>{let e="auto",o="";const i=Qf[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=Ht({rootEl:e,src:Ba((()=>t.src?Mu(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Fo((()=>{const t=e.value.style;i.origWidth=Number(t.width)||0,i.origHeight=Number(t.height)||0})),i}(n,e),i=bu(n,t),{fixSize:a}=function(e,t,n){const o=()=>{const{mode:o}=t,i=Gf[o];if(!i)return;const{origWidth:a,origHeight:r}=n,s=a&&r?a/r:0;if(!s)return;const l=e.value,c=l[i[0]];c&&(l.style[i[1]]=function(e){Zf&&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 oo((()=>t.mode),((e,t)=>{Gf[t]&&i(),Gf[e]&&o()})),{fixSize:o,resetSize:i}}(n,e,o);return function(e,t,n,o,i){let a,r;const s=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void s();a=a||new Image,a.onload=e=>{const{width:u,height:d}=a;s(u,d,l),o(),a.draggable=t.draggable,r&&r.remove(),r=a,n.value.appendChild(a),c(),i("load",e,{width:u,height:d})},a.onerror=t=>{s(),c(),i("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},a.src=l},c=()=>{a&&(a.onload=null,a.onerror=null,a=null)};oo((()=>e.src),(e=>l(e))),oo((()=>e.imgSrc),(e=>{!e&&r&&(r.remove(),r=null)})),Fo((()=>l(e.src))),Wo((()=>c()))}(o,e,n,a,i),()=>sa("uni-image",{ref:n},[sa("div",{style:o.modeStyle},null,4),Gf[e.mode]?sa(of,{onResize:a},null,8,["onResize"]):sa("span",null,null)],512)}});const Zf="Google Inc."===navigator.vendor;const eg=we(!0),tg=[];let ng=0,og=!1;const ig=e=>tg.forEach((t=>t.userAction=e));function ag(e={userAction:!1}){if(!og){["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!ng&&ig(!0),ng++,setTimeout((()=>{!--ng&&ig(!1)}),0)}),eg)})),og=!0}tg.push(e)}const rg=()=>!!ng;function sg(){const e=Ht({userAction:!1});return Fo((()=>{ag(e)})),Wo((()=>{!function(e){const t=tg.indexOf(e);t>=0&&tg.splice(t,1)}(e)})),{state:e}}function lg(){const e=Ht({attrs:{}});return Fo((()=>{let t=_a();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}function cg(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 ug(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");const o=null==e?"":String(e);return null==n?o:o.slice(0,n)}const dg=["none","text","decimal","numeric","tel","search","email","url"],pg=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=>!!~dg.indexOf(e)},cursorColor:{type:String,default:""}},bf),hg=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend",...wf];function fg(e,t,n,o){let i=null;i=Ce((n=>{t.value=ug(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),oo((()=>e.modelValue),i),oo((()=>e.value),i);const a=function(e,t){let n,o,i=0;const a=function(...a){const r=Date.now();clearTimeout(n),o=()=>{o=null,i=r,e.apply(this,a)},r-i{i.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return jo((()=>{i.cancel(),a.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{i.cancel(),a(e,t),n&&a.flush()}}}function gg(e,t){sg();const n=Ba((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}oo((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),Fo((()=>{n.value&&En(o)}))}function mg(e,t,n,o){Fl(Mc(),"getSelectedTextRange",cg);const{fieldRef:i,state:a,trigger:r}=function(e,t,n){const o=cn(null),i=bu(t,n),a=Ba((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),r=Ba((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),s=Ba((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=Ba((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=ug(e.modelValue,e.type)||ug(e.value,e.type);const u=Ht({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:a,selectionEnd:r,cursor:s});return oo((()=>u.focus),(e=>n("update:focus",e))),oo((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:i}}(e,t,n),{triggerInput:s}=fg(e,a,n,r);gg(e,i),xf(0,i);const{state:l}=lg();!function(e,t){const n=Ai(Tu,!1);if(!n)return;const o=_a(),i={submit(){const n=o.proxy;return[n[e],v(t)?n[t]:t.value]},reset(){v(t)?o.proxy[t]="":t.value=""}};n.addField(i),Wo((()=>{n.removeField(i)}))}("name",a),function(e,t,n,o,i,a){function r(){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}oo([()=>t.selectionStart,()=>t.selectionEnd],r),oo((()=>t.cursor),s),oo((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),m(a)&&!1===a(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}),r(),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,a,e,r,s,o);return{fieldRef:i,state:a,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:r}}function vg(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&&navigator.userAgent.includes("iPhone OS 16")&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}const yg=vu({name:"Input",props:c({},pg,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),emits:["confirm",...hg],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],i=["off","one-time-code"],a=Ba((()=>{let t="";switch(e.type){case"text":"search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=~o.includes(e.type)?e.type:"text"}return e.password?"password":t})),r=Ba((()=>{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=cn(void 0!==t?t.toLocaleString():"");return oo((()=>e.modelValue),(e=>{n.value=void 0!==e?e.toLocaleString():""})),oo((()=>e.value),(e=>{n.value=void 0!==e?e.toLocaleString():""})),n}return cn("")}(e,a),l={fn:null};const c=cn(null),{fieldRef:u,state:d,scopedAttrsState:p,fixDisabledColor:h,trigger:f}=mg(e,c,t,((e,t)=>{const n=e.target;if("number"===a.value){if(l.fn&&(n.removeEventListener("blur",l.fn),l.fn=null),n.validity&&!n.validity.valid){if((!s.value||!n.value)&&"-"===e.data||"-"===s.value[0]&&"deleteContentBackward"===e.inputType)return s.value="-",t.value="",l.fn=()=>{s.value=n.value=""},n.addEventListener("blur",l.fn),!1;const o=vg(e,s,t,n,l);return"boolean"==typeof o?o:(s.value=t.value=n.value="-"===s.value?"":s.value,!1)}{const o=vg(e,s,t,n,l);if("boolean"==typeof o)return o;s.value=n.value}const o=t.maxlength;if(o>0&&n.value.length>o)return n.value=n.value.slice(0,o),t.value=n.value,!1}}));oo((()=>d.value),(t=>{"number"!==e.type||"-"===s.value&&""===t||(s.value=t.toString())}));const g=["number","digit"],m=Ba((()=>g.includes(e.type)?e.step:""));function v(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&&h?sa("input",{key:"disabled-input",ref:u,value:d.value,tabindex:"-1",readonly:!!e.disabled,type:a.value,maxlength:d.maxlength,step:m.value,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},onFocus:e=>e.target.blur()},null,44,["value","readonly","type","maxlength","step","onFocus"]):sa("input",{key:"input",ref:u,value:d.value,onInput:e=>{d.value=e.target.value.toString()},disabled:!!e.disabled,type:a.value,maxlength:d.maxlength,step:m.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:r.value,onKeyup:v,inputmode:e.inputmode},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return sa("uni-input",{ref:c},[sa("div",{class:"uni-input-wrapper"},[lo(sa("div",fa(p.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ja,!(d.value.length||"-"===s.value||s.value.includes("."))]]),"search"===e.confirmType?sa("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}});const _g=["class","style"],bg=/^on[A-Z]+/,wg=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,o=_a(),i=un({}),a=un({}),r=un({}),s=n.concat(_g);return o.attrs=Ht(o.attrs),to((()=>{const e=(n=o.attrs,Object.keys(n).map((e=>[e,n[e]]))).reduce(((e,[n,o])=>(s.includes(n)?e.exclude[n]=o:bg.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,a.value=e.listeners,r.value=e.exclude})),{$attrs:i,$listeners:a,$excludeAttrs:r}};function xg(e){const t=[];return h(e)&&e.forEach((e=>{ta(e)?e.type===Vi?t.push(...xg(e.children)):t.push(e):h(e)&&t.push(...xg(e))})),t}const Ag=vu({inheritAttrs:!1,name:"MovableArea",props:{scaleArea:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=cn(null),o=cn(!1);let{setContexts:i,events:a}=function(e,t){const n=cn(0),o=cn(0),i=Ht({x:null,y:null}),a=cn(null);let r=null,s=[];function l(t){t&&1!==t&&(e.scaleArea?s.forEach((function(e){e._setScale(t)})):r&&r._setScale(t))}function c(e,n=s){let o=t.value;function i(e){for(let t=0;t{let n=t.touches;if(n&&n.length>1){let t={x:n[1].pageX-n[0].pageX,y:n[1].pageY-n[0].pageY};if(a.value=Tg(t),i.x=t.x,i.y=t.y,!e.scaleArea){let e=c(n[0].target),t=c(n[1].target);r=e&&e===t?e:null}}})),d=_u((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&&a.value&&a.value>0){l(Tg(n)/a.value)}i.x=n.x,i.y=n.y}})),p=_u((t=>{let n=t.touches;n&&n.length||t.changedTouches&&(i.x=0,i.y=0,a.value=null,e.scaleArea?s.forEach((function(e){e._endScale()})):r&&r._endScale())}));function h(){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 xi("movableAreaWidth",n),xi("movableAreaHeight",o),{setContexts(e){s=e},events:{_onTouchstart:u,_onTouchmove:d,_onTouchend:p,_resize:h}}}(e,n);const{$listeners:r,$attrs:s,$excludeAttrs:l}=wg(),c=r.value;["onTouchstart","onTouchmove","onTouchend"].forEach((e=>{let t=c[e],n=a[`_${e}`];c[e]=t?[].concat(t,n):n})),Fo((()=>{a._resize(),o.value=!0}));let u=[];const d=[];function p(){const e=[];for(let t=0;tn===e.rootRef.value));o&&e.push(tn(o))}i(e)}return xi("_isMounted",o),xi("movableAreaRootRef",n),xi("addMovableViewContext",(e=>{d.push(e),p()})),xi("removeMovableViewContext",(e=>{const t=d.indexOf(e);t>=0&&(d.splice(t,1),p())})),()=>{const e=t.default&&t.default();return u=xg(e),sa("uni-movable-area",fa({ref:n},s.value,l.value,c),[sa(of,{onResize:a._resize},null,8,["onResize"]),u],16)}}});function Tg(e){return Math.sqrt(e.x*e.x+e.y*e.y)}const kg=function(e,t,n,o){e.addEventListener(t,(e=>{m(n)&&!1===n(e)&&((void 0===e.cancelable||e.cancelable)&&e.preventDefault(),e.stopPropagation())}),{passive:!1})};let Sg,Cg;function Eg(e,t,n){Wo((()=>{document.removeEventListener("mousemove",Sg),document.removeEventListener("mouseup",Cg)}));let o=0,i=0,a=0,r=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-a,ddy:l-r,timeStamp:e.timeStamp}}))return!1};let l,c,u=null;kg(e,"touchstart",(function(e){if(l=!0,1===e.touches.length&&!u)return u=e,o=a=e.touches[0].pageX,i=r=e.touches[0].pageY,s(e,"start",o,i)})),kg(e,"mousedown",(function(e){if(c=!0,!l&&!u)return u=e,o=a=e.pageX,i=r=e.pageY,s(e,"start",o,i)})),kg(e,"touchmove",(function(e){if(1===e.touches.length&&u){const t=s(e,"move",e.touches[0].pageX,e.touches[0].pageY);return a=e.touches[0].pageX,r=e.touches[0].pageY,t}}));const d=Sg=function(e){if(!l&&c&&u){const t=s(e,"move",e.pageX,e.pageY);return a=e.pageX,r=e.pageY,t}};document.addEventListener("mousemove",d),kg(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 p=Cg=function(e){if(c=!1,!l&&u)return u=null,s(e,"end",e.pageX,e.pageY)};document.addEventListener("mouseup",p),kg(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 Ig(e,t,n){return e>t-n&&ethis._t&&(e=this._t,this._lastDt=e);let t=this._x_v*e+.5*this._x_a*Math.pow(e,2)+this._x_s,n=this._y_v*e+.5*this._y_a*Math.pow(e,2)+this._y_s;return(this._x_a>0&&tthis._endPositionX)&&(t=this._endPositionX),(this._y_a>0&&nthis._endPositionY)&&(n=this._endPositionY),{x:t,y:n}},Rg.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}},Rg.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}},Rg.prototype.dt=function(){return-this._x_v/this._x_a},Rg.prototype.done=function(){const e=Ig(this.s().x,this._endPositionX)||Ig(this.s().y,this._endPositionY)||this._lastDt===this._t;return this._lastDt=null,e},Rg.prototype.setEnd=function(e,t){this._endPositionX=e,this._endPositionY=t},Rg.prototype.reconfigure=function(e,t){this._m=e,this._f=1e3*t},Lg.prototype._solve=function(e,t){const n=this._c,o=this._m,i=this._k,a=n*n-4*o*i;if(0===a){const i=-n/(2*o),a=e,r=t/(i*e);return{x:function(e){return(a+r*e)*Math.pow(Math.E,i*e)},dx:function(e){const t=Math.pow(Math.E,i*e);return i*(a+r*e)*t+r*t}}}if(a>0){const i=(-n-Math.sqrt(a))/(2*o),r=(-n+Math.sqrt(a))/(2*o),s=(t-i*e)/(r-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,r*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,r*e)),l*i*t+s*r*n}}}const r=Math.sqrt(4*o*i-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/r;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(r*e)+c*Math.sin(r*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(r*e),o=Math.sin(r*e);return t*(c*r*n-l*r*o)+s*t*(c*o+l*n)}}},Lg.prototype.x=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._endPosition+this._solution.x(e):0},Lg.prototype.dx=function(e){return void 0===e&&(e=((new Date).getTime()-this._startTime)/1e3),this._solution?this._solution.dx(e):0},Lg.prototype.setEnd=function(e,t,n){if(n||(n=(new Date).getTime()),e!==this._endPosition||!Bg(t,.1)){t=t||0;let o=this._endPosition;this._solution&&(Bg(t,.1)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Bg(t,.1)&&(t=0),Bg(o,.1)&&(o=0),o+=this._endPosition),this._solution&&Bg(o-e,.1)&&Bg(t,.1)||(this._endPosition=e,this._solution=this._solve(o-this._endPosition,t),this._startTime=n)}},Lg.prototype.snap=function(e){this._startTime=(new Date).getTime(),this._endPosition=e,this._solution={x:function(){return 0},dx:function(){return 0}}},Lg.prototype.done=function(e){return e||(e=(new Date).getTime()),Ig(this.x(),this._endPosition,.1)&&Bg(this.dx(),.1)},Lg.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())},Lg.prototype.springConstant=function(){return this._k},Lg.prototype.damping=function(){return this._c},Lg.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}]},Og.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},Og.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)}},Og.prototype.done=function(){const e=(new Date).getTime();return this._springX.done(e)&&this._springY.done(e)&&this._springScale.done(e)},Og.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 Mg(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)}const Dg=vu({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:.5},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=cn(null),i=bu(o,n),{setParent:a}=function(e,t,n){const o=Ai("_isMounted",cn(!1)),i=Ai("addMovableViewContext",(()=>{})),a=Ai("removeMovableViewContext",(()=>{}));let r,s,l=cn(1),c=cn(1),u=cn(!1),d=cn(0),p=cn(0),h=null,f=null,g=!1,m=null,v=null;const y=new Pg,_=new Pg,b={historyX:[0,0],historyY:[0,0],historyT:[0,0]},w=Ba((()=>{let t=Number(e.friction);return isNaN(t)||t<=0?2:t})),x=new Rg(1,w.value);oo((()=>e.disabled),(()=>{W()}));const{_updateOldScale:A,_endScale:T,_setScale:k,scaleValueSync:S,_updateBoundary:C,_updateOffset:E,_updateWH:I,_scaleOffset:B,minX:P,minY:R,maxX:L,maxY:O,FAandSFACancel:M,_getLimitXY:D,_setTransform:N,_revise:$,dampingNumber:q,xMove:U,yMove:j,xSync:F,ySync:V,_STD:z}=function(e,t,n,o,i,a,r,s,l,c){const u=Ba((()=>{let t=Number(e.scaleMin);return isNaN(t)?.5:t})),d=Ba((()=>{let t=Number(e.scaleMax);return isNaN(t)?10:t})),p=cn(Number(e.scaleValue)||1);oo(p,(e=>{N(e)})),oo(u,(()=>{D()})),oo(d,(()=>{D()})),oo((()=>e.scaleValue),(e=>{p.value=Number(e)||0}));const{_updateBoundary:h,_updateOffset:f,_updateWH:g,_scaleOffset:m,minX:v,minY:y,maxX:_,maxY:b}=function(e,t,n){const o=Ai("movableAreaWidth",cn(0)),i=Ai("movableAreaHeight",cn(0)),a=Ai("movableAreaRootRef"),r={x:0,y:0},s={x:0,y:0},l=cn(0),c=cn(0),u=cn(0),d=cn(0),p=cn(0),h=cn(0);function f(){let e=0-r.x+s.x,t=o.value-l.value-r.x-s.x;u.value=Math.min(e,t),p.value=Math.max(e,t);let n=0-r.y+s.y,a=i.value-c.value-r.y-s.y;d.value=Math.min(n,a),h.value=Math.max(n,a)}function g(){r.x=qg(e.value,a.value),r.y=Ug(e.value,a.value)}function m(o){o=o||t.value,o=n(o);let i=e.value.getBoundingClientRect();c.value=i.height/t.value,l.value=i.width/t.value;let a=c.value*o,r=l.value*o;s.x=(r-l.value)/2,s.y=(a-c.value)/2}return{_updateBoundary:f,_updateOffset:g,_updateWH:m,_scaleOffset:s,minX:u,minY:d,maxX:p,maxY:h}}(t,o,M),{FAandSFACancel:w,_getLimitXY:x,_animationTo:A,_setTransform:T,_revise:k,dampingNumber:S,xMove:C,yMove:E,xSync:I,ySync:B,_STD:P}=function(e,t,n,o,i,a,r,s,l,c,u,d,p,h){const f=Ba((()=>{let e=Number(t.damping);return isNaN(e)?20:e})),g=Ba((()=>"all"===t.direction||"horizontal"===t.direction)),m=Ba((()=>"all"===t.direction||"vertical"===t.direction)),v=cn(Fg(t.x)),y=cn(Fg(t.y));oo((()=>t.x),(e=>{v.value=Fg(e)})),oo((()=>t.y),(e=>{y.value=Fg(e)})),oo(v,(e=>{k(e)})),oo(y,(e=>{S(e)}));const _=new Og(1,9*Math.pow(f.value,2)/40,f.value);function b(e,t){let n=!1;return e>i.value?(e=i.value,n=!0):ea.value?(t=a.value,n=!0):t1?"htouchmove":"vtouchmove"),U.value&&(n=t.detail.dx+r,b.historyX.shift(),b.historyX.push(n),j.value||null!==m||(m=Math.abs(t.detail.dx/t.detail.dy)<1)),j.value&&(o=t.detail.dy+s,b.historyY.shift(),b.historyY.push(o),U.value||null!==m||(m=Math.abs(t.detail.dy/t.detail.dx)<1)),b.historyT.shift(),b.historyT.push(t.detail.timeStamp),!m){t.preventDefault();let i="touch";nL.value&&(e.outOfBounds?(i="touch-out-of-bounds",n=L.value+y.x(n-L.value)):n=L.value),oO.value&&(e.outOfBounds?(i="touch-out-of-bounds",o=O.value+_.x(o-O.value)):o=O.value),$g((function(){N(n,o,l.value,i)}))}}}function X(){if(!u.value&&!e.disabled&&g&&(n.value.style.willChange="auto",g=!1,!m&&!$("out-of-bounds")&&e.inertia)){const e=1e3*(b.historyX[1]-b.historyX[0])/(b.historyT[1]-b.historyT[0]),t=1e3*(b.historyY[1]-b.historyY[0])/(b.historyT[1]-b.historyT[0]),n=d.value,o=p.value;x.setV(e,t),x.setS(n,o);const i=x.delta().x,a=x.delta().y;let r=i+n,s=a+o;rL.value&&(r=L.value,s=o+(L.value-n)*a/i),sO.value&&(s=O.value,r=n+(O.value-o)*i/a),x.setEnd(r,s),f=jg(x,(function(){let e=x.s(),t=e.x,n=e.y;N(t,n,l.value,"friction")}),(function(){f.cancel()}))}e.outOfBounds||e.inertia||M()}function K(){if(!o.value)return;M();let t=e.scale?S.value:1;E(),I(t),C();let n=D(F.value+B.x,V.value+B.y),i=n.x,a=n.y;N(i,a,t,"",!0),A(t)}return Fo((()=>{Eg(n.value,(e=>{switch(e.detail.state){case"start":W();break;case"move":H(e);break;case"end":X()}})),K(),x.reconfigure(1,w.value),z.reconfigure(1,9*Math.pow(q.value,2)/40,q.value),n.value.style.transformOrigin="center";const e={rootRef:n,setParent:K,_endScale:T,_setScale:k};i(e),Ho((()=>{a(e)}))})),Ho((()=>{M()})),{setParent:K}}(e,i,o);return()=>sa("uni-movable-view",{ref:o},[sa(of,{onResize:a},null,8,["onResize"]),t.default&&t.default()],512)}});let Ng=!1;function $g(e){Ng||(Ng=!0,requestAnimationFrame((function(){e(),Ng=!1})))}function qg(e,t){if(e===t)return 0;let n=e.offsetLeft;return e.offsetParent?n+=qg(e.offsetParent,t):0}function Ug(e,t){if(e===t)return 0;let n=e.offsetTop;return e.offsetParent?n+=Ug(e.offsetParent,t):0}function jg(e,t,n){let o={id:0,cancelled:!1};return function e(t,n,o,i){if(!t||!t.cancelled){o(n);let a=n.done();a||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,i))),a&&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 Fg(e){return/\d+[ur]px$/i.test(e)?Wd(parseFloat(e)):Number(e)||0}const Vg=["navigate","redirect","switchTab","reLaunch","navigateBack"],zg=["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"],Wg=["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"],Hg={hoverClass:{type:String,default:"navigator-hover"},url:{type:String,default:""},openType:{type:String,default:"navigate",validator:e=>Boolean(~Vg.indexOf(e))},delta:{type:Number,default:1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:600},exists:{type:String,default:""},hoverStopPropagation:{type:Boolean,default:!1},animationType:{type:String,default:"",validator:e=>!e||zg.concat(Wg).includes(e)},animationDuration:{type:[String,Number],default:300}};const Xg=vu({name:"Navigator",inheritAttrs:!1,compatConfig:{MODE:3},props:c({},Hg,{renderLink:{type:Boolean,default:!0}}),setup(e,{slots:t}){const n=cn(null),o=_a(),i=o&&o.vnode.scopeId||"",{hovering:a,binding:r}=xu(e),s=function(e){return()=>{if("navigateBack"!==e.openType&&!e.url)return void console.error(" should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab");const t=parseInt(e.animationDuration);switch(e.openType){case"navigate":fb({url:e.url,animationType:e.animationType||"pop-in",animationDuration:t});break;case"redirect":gb({url:e.url,exists:e.exists});break;case"switchTab":yb({url:e.url});break;case"reLaunch":mb({url:e.url});break;case"navigateBack":pb({delta:e.delta,animationType:e.animationType||"pop-out",animationDuration:t})}}}(e);return()=>{const{hoverClass:l,url:c}=e,u=e.hoverClass&&"none"!==e.hoverClass,d=e.renderLink?sa("a",{class:"navigator-wrap",href:c,onClick:pc,onMousedown:pc},[t.default&&t.default()],40,["href","onClick","onMousedown"]):t.default&&t.default();return sa("uni-navigator",fa({class:u&&a.value?l:"",ref:n},u&&r,o?o.attrs:{},{[i]:""},{onClick:s}),[d],16,["onClick"])}}});const Kg=vu({name:"PickerView",props:{value:{type:Array,default:()=>[],validator:function(e){return h(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=cn(null),i=cn(null),a=bu(o,n),r=function(e){const t=Ht([...e.value]),n=Ht({value:t,height:34});return oo((()=>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=cn(null);Fo((()=>{const e=s.value;e&&(r.height=e.$el.offsetHeight)}));let l=cn([]),c=cn([]);function u(e){let t=c.value;t=t.filter((e=>e.type!==Wi));let n=t.indexOf(e);return-1!==n?n:l.value.indexOf(e)}return xi("getPickerViewColumn",(function(e){return Ba({get(){const t=u(e.vnode);return r.value[t]||0},set(t){const o=u(e.vnode);if(o<0)return;if(r.value[o]!==t){r.value[o]=t;const e=r.value.map((e=>e));n("update:value",e),a("change",{},{value:e})}}})})),xi("pickerViewProps",e),xi("pickerViewState",r),()=>{const e=t.default&&t.default();{const t=xg(e);l.value=t,En((()=>{c.value=t}))}return sa("uni-picker-view",{ref:o},[sa(of,{ref:s,onResize:({height:e})=>r.height=e},null,8,["onResize"]),sa("div",{ref:i,class:"uni-picker-view-wrapper"},[e],512)],512)}}});class Yg{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 Gg(e,t,n){return e>t-n&&e0){const i=(-n-Math.sqrt(a))/(2*o),r=(-n+Math.sqrt(a))/(2*o),s=(t-i*e)/(r-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,r*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,r*e)),l*i*t+s*r*n}}}const r=Math.sqrt(4*o*i-n*n)/(2*o),s=-n/2*o,l=e,c=(t-s*e)/r;return{x:function(e){return Math.pow(Math.E,s*e)*(l*Math.cos(r*e)+c*Math.sin(r*e))},dx:function(e){const t=Math.pow(Math.E,s*e),n=Math.cos(r*e),o=Math.sin(r*e);return t*(c*r*n-l*r*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||!Qg(t,.4)){t=t||0;let o=this._endPosition;this._solution&&(Qg(t,.4)&&(t=this._solution.dx((n-this._startTime)/1e3)),o=this._solution.x((n-this._startTime)/1e3),Qg(t,.4)&&(t=0),Qg(o,.4)&&(o=0),o+=this._endPosition),this._solution&&Qg(o-e,.4)&&Qg(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()),Gg(this.x(),this._endPosition,.4)&&Qg(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 Zg{constructor(e,t,n){this._extent=e,this._friction=t||new Yg(.01),this._spring=n||new Jg(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 em{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 Zg(this._extent,t.friction,t.spring),this._onTransitionEnd=this.onTransitionEnd.bind(this),this.updatePosition()}onTouchStart(){this._startPosition=this._position,this._lastChangePos=this._startPosition,this._startPosition>0?this._startPosition/=.5:this._startPosition<-this._extent&&(this._startPosition=(this._startPosition+this._extent)/.5-this._extent),this._animation&&(this._animation.cancel(),this._scrolling=!1),this.updatePosition()}onTouchMove(e,t){let n=this._startPosition;this._enableX?n+=e:this._enableY&&(n+=t),n>0?n*=.5:n<-this._extent&&(n=.5*(n+this._extent)-this._extent),this._position=n,this.updatePosition(),this.dispatchScroll()}onTouchEnd(e,t,n){if(this._enableSnap&&this._position>-this._extent&&this._position<0){if(this._enableY&&(Math.abs(t)this._itemSize/2?e-(this._itemSize-Math.abs(t)):e-t,o<=0&&o>=-this._extent&&this._scroll.setVelocityByEnd(o)}this._lastTime=Date.now(),this._lastDelay=0,this._scrolling=!0,this._lastChangePos=this._position,this._lastIdx=Math.floor(Math.abs(this._position/this._itemSize)),this._animation=function(e,t,n){const o={id:0,cancelled:!1};return function e(t,n,o,i){if(!t||!t.cancelled){o(n);const a=n.done();a||t.cancelled||(t.id=requestAnimationFrame(e.bind(null,t,n,o,i))),a&&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()),m(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),m(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(m(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(),m(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 tm(e,t){const n={trackingID:-1,maxDy:0,maxDx:0},o=new em(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 a=i(e);if(a){for(n.maxDy=Math.max(n.maxDy,Math.abs(a.y)),n.maxDx=Math.max(n.maxDx,Math.abs(a.x)),n.historyX.push(a.x),n.historyY.push(a.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(a.x,a.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],a=n.historyX[t],r=n.historyY[t];t>0;){t--;const e=i-n.historyTime[t];if(e>30&&e<50){o.x=(a-n.historyX[t])/(e/1e3),o.y=(r-n.historyY[t])/(e/1e3);break}}n.historyTime=[],n.historyX=[],n.historyY=[],e&&e.onTouchEnd&&e.onTouchEnd(t.x,t.y,o)}}}}}const nm=vu({name:"PickerViewColumn",setup(e,{slots:t,emit:n}){const o=cn(null),i=cn(null),a=Ai("getPickerViewColumn"),r=_a(),s=a?a(r):cn(0),l=Ai("pickerViewProps"),c=Ai("pickerViewState"),u=cn(34),d=cn(null);Fo((()=>{const e=d.value;u.value=e.$el.offsetHeight}));const p=Ba((()=>(c.height-u.value)/2)),{state:h}=lg();let f;const g=Ht({current:s.value,length:0});let m;function v(){f&&!m&&(m=!0,En((()=>{m=!1;let e=Math.min(g.current,g.length-1);e=Math.max(e,0),f.update(e*u.value,void 0,u.value)})))}oo((()=>s.value),(e=>{e!==g.current&&(g.current=e,v())})),oo((()=>g.current),(e=>s.value=e)),oo([()=>u.value,()=>g.length,()=>c.height],v);let y=0;function _(e){const t=y+e.deltaY;if(Math.abs(t)>10){y=0;let e=Math.min(g.current+(t<0?-1:1),g.length-1);g.current=e=Math.max(e,0),f.scrollTo(e*u.value)}else y=t;e.preventDefault()}function b({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(g.current+t,g.length-1);g.current=i=Math.max(i,0),f.scrollTo(i*u.value)}}}return Fo((()=>{const e=o.value,t=i.value,{scroller:n,handleTouchStart:a,handleTouchMove:r,handleTouchEnd:s}=tm(t,{enableY:!0,enableX:!1,enableSnap:!0,itemSize:u.value,friction:new Yg(1e-4),spring:new Jg(2,90,20),onSnap:e=>{isNaN(e)||e===g.current||(g.current=e)}});f=n,Eg(e,(e=>{switch(e.detail.state){case"start":a(e);break;case"move":r(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),v()})),()=>{const e=t.default&&t.default();g.length=xg(e).length;const n=`${p.value}px 0`;return sa("uni-picker-view-column",{ref:o},[sa("div",{onWheel:_,onClick:b,class:"uni-picker-view-group"},[sa("div",fa(h.attrs,{class:["uni-picker-view-mask",l.maskClass],style:`background-size: 100% ${p.value}px;${l.maskStyle}`}),null,16),sa("div",fa(h.attrs,{class:["uni-picker-view-indicator",l.indicatorClass],style:l.indicatorStyle}),[sa(of,{ref:d,onResize:({height:e})=>u.value=e},null,8,["onResize"])],16),sa("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)}}}),om="#007aff",im="backwards",am=vu({name:"Progress",props:{percent:{type:[Number,String],default:0,validator:e=>!isNaN(parseFloat(e))},fontSize:{type:[String,Number],default:16},showInfo:{type:[Boolean,String],default:!1},strokeWidth:{type:[Number,String],default:6,validator:e=>!isNaN(parseFloat(e))},color:{type:String,default:om},activeColor:{type:String,default:om},backgroundColor:{type:String,default:"#EBEBEB"},active:{type:[Boolean,String],default:!1},activeMode:{type:String,default:im},duration:{type:[Number,String],default:30,validator:e=>!isNaN(parseFloat(e))},borderRadius:{type:[Number,String],default:0}},setup(e){const t=cn(null),n=function(e){const t=cn(0),n=Ba((()=>`background-color: ${e.backgroundColor}; height: ${e.strokeWidth}px;`)),o=Ba((()=>{const n=e.color!==om&&e.activeColor===om?e.color:e.activeColor;return`width: ${t.value}%;background-color: ${n}`})),i=Ba((()=>{if("string"==typeof e.percent&&!/^-?\d*\.?\d*$/.test(e.percent))return 0;let t=parseFloat(e.percent);return Number.isNaN(t)||t<0?t=0:t>100&&(t=100),t}));return Ht({outerBarStyle:n,innerBarStyle:o,realPercent:i,currentPercent:t,strokeTimer:0,lastPercent:0})}(e);return rm(n,e),oo((()=>n.realPercent),((t,o)=>{n.strokeTimer&&clearInterval(n.strokeTimer),n.lastPercent=o||0,rm(n,e)})),()=>{const{showInfo:o}=e,{outerBarStyle:i,innerBarStyle:a,currentPercent:r}=n;return sa("uni-progress",{class:"uni-progress",ref:t},[sa("div",{style:i,class:"uni-progress-bar"},[sa("div",{style:a,class:"uni-progress-inner-bar"},null,4)],4),o?sa("p",{class:"uni-progress-info"},[r+"%"]):""],512)}}});function rm(e,t){t.active?(e.currentPercent=t.activeMode===im?0:e.lastPercent,e.strokeTimer=setInterval((()=>{e.currentPercent+1>e.realPercent?(e.currentPercent=e.realPercent,e.strokeTimer&&clearInterval(e.strokeTimer)):e.currentPercent+=1}),parseFloat(t.duration))):e.currentPercent=e.realPercent}const sm=wc("ucg"),lm=vu({name:"RadioGroup",props:{name:{type:String,default:""}},setup(e,{emit:t,slots:n}){const o=cn(null);return function(e,t){const n=[];Fo((()=>{s(n.length-1)}));const o=()=>{var e;return null==(e=n.find((e=>e.value.radioChecked)))?void 0:e.value.value};xi(sm,{addField(e){n.push(e)},removeField(e){n.splice(n.indexOf(e),1)},radioChange(e,i){s(n.indexOf(i),!0),t("change",e,{value:o()})}});const i=Ai(Tu,!1),a={submit:()=>{let t=["",null];return""!==e.name&&(t[0]=e.name,t[1]=o()),t}};i&&(i.addField(a),Wo((()=>{i.removeField(a)})));function r(e,t){e.value={radioChecked:t,value:e.value.value}}function s(e,t){n.forEach(((o,i)=>{i!==e&&(t?r(n[i],!1):n.forEach(((e,t)=>{i>=t||n[t].value.radioChecked&&r(n[i],!1)})))}))}}(e,bu(o,t)),()=>sa("uni-radio-group",{ref:o},[n.default&&n.default()],512)}});const cm=vu({name:"Radio",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:"#ffffff"}},setup(e,{slots:t}){const n=cn(null),o=cn(e.checked),i=cn(e.value);const a=Ba((()=>function(t){if(e.disabled)return{backgroundColor:"#E1E1E1",borderColor:"#D1D1D1"};const n={};return o.value?(n.backgroundColor=e.activeBackgroundColor||e.color,n.borderColor=e.activeBorderColor||n.backgroundColor):(e.borderColor&&(n.borderColor=e.borderColor),e.backgroundColor&&(n.backgroundColor=e.backgroundColor)),n}(o.value)));oo([()=>e.checked,()=>e.value],(([e,t])=>{o.value=e,i.value=t}));const{uniCheckGroup:r,uniLabel:s,field:l}=function(e,t,n){const o=Ba({get:()=>({radioChecked:Boolean(e.value),value:t.value}),set:({radioChecked:t})=>{e.value=t}}),i={reset:n},a=Ai(sm,!1);a&&a.addField(o);const r=Ai(Tu,!1);r&&r.addField(i);const s=Ai(Cu,!1);return Wo((()=>{a&&a.removeField(o),r&&r.removeField(i)})),{uniCheckGroup:a,uniForm:r,uniLabel:s,field:o}}(o,i,(()=>{o.value=!1})),c=t=>{e.disabled||o.value||(o.value=!0,r&&r.radioChange(t,l),t.stopPropagation())};return s&&(s.addHandler(c),Wo((()=>{s.removeHandler(c)}))),Iu(e,{"label-click":c}),()=>{const i=Au(e,"disabled");let r;return r=o.value,sa("uni-radio",fa(i,{id:e.id,onClick:c,ref:n}),[sa("div",{class:"uni-radio-wrapper",style:{"--HOVER-BD-COLOR":o.value?a.value.borderColor:e.activeBorderColor}},[sa("div",{class:["uni-radio-input",{"uni-radio-input-disabled":e.disabled}],style:a.value},[r?Bc(kc,e.disabled?"#ADADAD":e.iconColor,18):""],6),t.default&&t.default()],4)],16,["id","onClick"])}}});const um={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:""},dm={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"',apos:"'",ldquo:"“",rdquo:"”",yen:"¥",radic:"√",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",hellip:"…"};const pm=(e,t,n)=>!n||h(n)&&!n.length?[]:n.map((n=>{var o;if(A(n)){if(!p(n,"type")||"node"===n.type){let i={[e]:""};const a=null==(o=n.name)?void 0:o.toLowerCase();if(!p(um,a))return;return function(e,t){if(A(t))for(const n in t)if(p(t,n)){const o=t[n];"img"===e&&"src"===n&&(t[n]=Mu(o))}}(a,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),Pa(n.name,i,pm(e,t,n.children))}return"text"===n.type&&v(n.text)&&""!==n.text?ca((n.text||"").replace(/&(([a-zA-Z]+)|(#x{0,1}[\da-zA-Z]+));/gi,(function(e,t){return p(dm,t)&&dm[t]?dm[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 hm(e){e=function(e){return e.replace(/<\?xml.*\?>\n/,"").replace(/\n/,"").replace(/\n/,"")}(e);const t=[],n={node:"root",children:[]};return Rf(e,{start:function(e,o,i){const a={name:e};if(0!==o.length&&(a.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(a)}else t.unshift(a)},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 fm=vu({name:"RichText",compatConfig:{MODE:3},props:{nodes:{type:[Array,String],default:function(){return[]}}},emits:["click","touchstart","touchmove","touchcancel","touchend","longpress","itemclick"],setup(e,{emit:t}){const n=_a(),o=n&&n.vnode.scopeId||"",i=cn(null),a=cn([]),r=bu(i,t);function s(e,t={}){r("itemclick",e,t)}return oo((()=>e.nodes),(function(){let t=e.nodes;v(t)&&(t=hm(e.nodes)),a.value=pm(o,s,t)}),{immediate:!0}),()=>Pa("uni-rich-text",{ref:i},Pa("div",{},a.value))}}),gm=vu({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=cn(null),o=Ba((()=>{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=Ba((()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)}));return()=>{const{refreshState:a,refresherDefaultStyle:r,refresherThreshold:s}=e;return sa("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==r?sa("div",{class:"uni-scroll-view-refresh"},[sa("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==a?sa("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"},[sa("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),sa("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==a?sa("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[sa("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===r?sa("div",{class:"uni-scroll-view-refresher-container",style:{height:`${s}px`}},[t.default&&t.default()]):null],4)}}}),mm=we(!0),vm=vu({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=cn(null),a=cn(null),r=cn(null),s=cn(null),l=bu(i,t),{state:c,scrollTopNumber:u,scrollLeftNumber:d}=function(e){const t=Ba((()=>Number(e.scrollTop)||0)),n=Ba((()=>Number(e.scrollLeft)||0));return{state:Ht({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:p,realScrollY:h,_scrollLeftChanged:f,_scrollTopChanged:g}=function(e,t,n,o,i,a,r,s,l){let c=!1,u=0,d=!1,p=()=>{};const h=Ba((()=>e.scrollX)),f=Ba((()=>e.scrollY)),g=Ba((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),m=Ba((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function v(e,t){const n=r.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 a=s.value;a.style.transition="transform .3s ease-out",a.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?i="translateX("+o+"px) translateZ(0)":"y"===t&&(i="translateY("+o+"px) translateZ(0)"),a.removeEventListener("transitionend",p),a.removeEventListener("webkitTransitionEnd",p),p=()=>x(e,t),a.addEventListener("transitionend",p),a.addEventListener("webkitTransitionEnd",p),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),a.style.transform=i,a.style.webkitTransform=i}function y(e){const n=e.target;i("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),f.value&&(n.scrollTop<=g.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(i("scrolltoupper",e,{direction:"top"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollTop+n.offsetHeight+m.value>=n.scrollHeight&&t.lastScrollTop-n.scrollTop<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(i("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),h.value&&(n.scrollLeft<=g.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(i("scrolltoupper",e,{direction:"left"}),t.lastScrollToUpperTime=e.timeStamp),n.scrollLeft+n.offsetWidth+m.value>=n.scrollWidth&&t.lastScrollLeft-n.scrollLeft<0&&e.timeStamp-t.lastScrollToLowerTime>200&&(i("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function _(t){f.value&&(e.scrollWithAnimation?v(t,"y"):r.value.scrollTop=t)}function b(t){h.value&&(e.scrollWithAnimation?v(t,"x"):r.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=a.value.querySelector("#"+t);if(n){let t=r.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(h.value){let n=o.left-t.left,i=r.value.scrollLeft+n;e.scrollWithAnimation?v(i,"x"):r.value.scrollLeft=i}if(f.value){let n=o.top-t.top,i=r.value.scrollTop+n;e.scrollWithAnimation?v(i,"y"):r.value.scrollTop=i}}}}function x(e,t){s.value.style.transition="",s.value.style.webkitTransition="",s.value.style.transform="",s.value.style.webkitTransform="";let n=r.value;"x"===t?(n.style.overflowX=h.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=f.value?"auto":"hidden",n.scrollTop=e),s.value.removeEventListener("transitionend",p),s.value.removeEventListener("webkitTransitionEnd",p)}function A(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,i("refresherrefresh",{},{dy:k.y-T.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(d=!1,i("refresherrestore",{},{dy:k.y-T.y})),"refresherabort"===n&&d&&(d=!1,i("refresherabort",{},{dy:k.y-T.y}))}t.refreshState=n}}let T={x:0,y:0},k={x:0,y:e.refresherThreshold};return Fo((()=>{En((()=>{_(n.value),b(o.value)})),w(e.scrollIntoView);let a=function(e){e.preventDefault(),e.stopPropagation(),y(e)},s=null,l=function(n){if(null===T)return;let o=n.touches[0].pageX,a=n.touches[0].pageY,l=r.value;if(Math.abs(o-T.x)>Math.abs(a-T.y))if(h.value){if(0===l.scrollLeft&&o>T.x)return void(s=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&oT.y)s=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&a0&&(d=!0,i("refresherpulling",n,{deltaY:o,dy:o})))}},p=function(e){1===e.touches.length&&(T={x:e.touches[0].pageX,y:e.touches[0].pageY})},g=function(n){k={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?A("refreshing"):A("refresherabort"),T={x:0,y:0},k={x:0,y:e.refresherThreshold}};r.value.addEventListener("touchstart",p,mm),r.value.addEventListener("touchmove",l,we(!1)),r.value.addEventListener("scroll",a,we(!1)),r.value.addEventListener("touchend",g,mm),Wo((()=>{r.value.removeEventListener("touchstart",p),r.value.removeEventListener("touchmove",l),r.value.removeEventListener("scroll",a),r.value.removeEventListener("touchend",g)}))})),Po((()=>{f.value&&(r.value.scrollTop=t.lastScrollTop),h.value&&(r.value.scrollLeft=t.lastScrollLeft)})),oo(n,(e=>{_(e)})),oo(o,(e=>{b(e)})),oo((()=>e.scrollIntoView),(e=>{w(e)})),oo((()=>e.refresherTriggered),(e=>{!0===e?A("refreshing"):!1===e&&A("restore")})),{realScrollX:h,realScrollY:f,_scrollTopChanged:_,_scrollLeftChanged:b}}(e,c,u,d,l,i,a,s,t),m=Ba((()=>{let e="";return p.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",h.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),v=Ba((()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t}));return o({$getMain:()=>a.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:d,refreshState:p}=c;return sa("uni-scroll-view",{ref:i},[sa("div",{ref:r,class:"uni-scroll-view"},[sa("div",{ref:a,style:m.value,class:v.value},[t?sa(gm,{refreshState:p,refresherHeight:d,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,sa("div",{ref:s,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});const ym=vu({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=cn(null),o=cn(null),i=cn(null),a=cn(Number(e.value));oo((()=>e.value),(e=>{a.value=Number(e)}));const r=bu(n,t),s=function(e,t){const n=()=>{return n=t.value,o=e.min,i=e.max,i=Number(i),o=Number(o),100*(n-o)/(i-o)+"%";var n,o,i},o=()=>"#e9e9e9"!==e.backgroundColor?e.backgroundColor:"#007aff"!==e.color?e.color:"#007aff",i=()=>"#007aff"!==e.activeColor?e.activeColor:"#e9e9e9"!==e.selectedColor?e.selectedColor:"#e9e9e9";return{setBgColor:Ba((()=>({backgroundColor:o()}))),setBlockBg:Ba((()=>({left:n()}))),setActiveColor:Ba((()=>({backgroundColor:i(),width:n()}))),setBlockStyle:Ba((()=>({width:e.blockSize+"px",height:e.blockSize+"px",marginLeft:-e.blockSize/2+"px",marginTop:-e.blockSize/2+"px",left:n(),backgroundColor:e.blockColor})))}}(e,a),{_onClick:l,_onTrack:c}=function(e,t,n,o,i){const a=n=>{e.disabled||(s(n),i("change",n,{value:t.value}))},r=t=>{const n=Number(e.max),o=Number(e.min),i=Number(e.step);return tn?n:_m.mul.call(Math.round((t-o)/i),i)+o},s=i=>{const a=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,p=d.offsetWidth-(e.showValue?u:0),h=d.getBoundingClientRect().left,f=(i.x-h)*(a-s)/p+s;t.value=r(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=Ai(Tu,!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),Wo((()=>{c.removeField(n)}))}return{_onClick:a,_onTrack:l}}(e,a,n,o,r);return Fo((()=>{Eg(i.value,c)})),()=>{const{setBgColor:t,setBlockBg:r,setActiveColor:c,setBlockStyle:u}=s;return sa("uni-slider",{ref:n,onClick:_u(l)},[sa("div",{class:"uni-slider-wrapper"},[sa("div",{class:"uni-slider-tap-area"},[sa("div",{style:t.value,class:"uni-slider-handle-wrapper"},[sa("div",{ref:i,style:r.value,class:"uni-slider-handle"},null,4),sa("div",{style:u.value,class:"uni-slider-thumb"},null,4),sa("div",{style:c.value,class:"uni-slider-track"},null,4)],4)]),lo(sa("span",{ref:o,class:"uni-slider-value"},[a.value],512),[[Ja,e.showValue]])]),sa("slot",null,null)],8,["onClick"])}}});var _m={mul:function(e){let t=0,n=this.toString(),o=e.toString();try{t+=n.split(".")[1].length}catch(gB){}try{t+=o.split(".")[1].length}catch(gB){}return Number(n.replace(".",""))*Number(o.replace(".",""))/Math.pow(10,t)}};function bm(e,t,n,o,i,a){function r(){c&&(clearTimeout(c),c=null)}let s,l,c=null,u=!0,d=0,p=1,h=null,f=!1,g=0,m="";const v=Ba((()=>n.value.length>t.displayMultipleItems)),y=Ba((()=>e.circular&&v.value));function _(i){Math.floor(2*d)===Math.floor(2*i)&&Math.ceil(2*d)===Math.ceil(2*i)||y.value&&function(o){if(!u)for(let i=n.value,a=i.length,r=o+t.displayMultipleItems,s=0;s=c.length&&(i-=c.length),i=s%1>.5||s<0?i-1:i,a("transition",{},{dx:e.vertical?0:i*l.offsetWidth,dy:e.vertical?i*l.offsetHeight:0})}function b(e){const o=n.value.length;if(!o)return-1;const i=(Math.round(e)%o+o)%o;if(y.value){if(o<=t.displayMultipleItems)return 0}else if(i>o-t.displayMultipleItems)return o-t.displayMultipleItems;return i}function w(){h=null}function x(){if(!h)return void(f=!1);const e=h,o=e.toPos,i=e.acc,r=e.endTime,c=e.source,u=r-Date.now();if(u<=0){_(o),h=null,f=!1,s=null;const e=n.value[t.current];if(e){const n=e.getItemId();a("animationfinish",{},{current:t.current,currentItemId:n,source:c})}return}_(o+i*u*u/2),l=requestAnimationFrame(x)}function A(e,o,i){w();const a=t.duration,r=n.value.length;let s=d;if(y.value)if(i<0){for(;se;)s-=r}else if(i>0){for(;s>e;)s-=r;for(;s+re;)s-=r;s+r-ee.current,()=>e.currentItemId,()=>[...n.value]],(()=>{let o=-1;if(e.currentItemId)for(let t=0,i=n.value;te.vertical,()=>y.value,()=>t.displayMultipleItems,()=>[...n.value]],(function(){r(),h&&(_(h.toPos),h=null);const i=n.value;for(let t=0;t0&&p<1||(p=1)}const s=d;d=-2;const l=t.current;l>=0?(u=!1,t.userTracking?(_(s+l-g),g=l):(_(l),e.autoplay&&T())):(u=!0,_(-t.displayMultipleItems-1))})),oo((()=>t.interval),(()=>{c&&(r(),T())})),oo((()=>t.current),((e,o)=>{!function(e,o){const i=m;m="";const r=n.value;if(!i){const t=r.length;A(e,"",y.value&&o+(t-e)%t>t/2?1:0)}const s=r[e];if(s){const e=t.currentItemId=s.getItemId();a("change",{},{current:t.current,currentItemId:e,source:i})}}(e,o),i("update:current",e)})),oo((()=>t.currentItemId),(e=>{i("update:currentItemId",e)})),oo((()=>e.autoplay&&!t.userTracking),k),k(e.autoplay&&!t.userTracking),Fo((()=>{let i=!1,a=0,s=0;function l(e){t.userTracking=!1;const n=a/Math.abs(a);let o=0;!e&&Math.abs(a)>.2&&(o=.5*n);const i=b(d+o);e?_(g):(m="touch",t.current=i,A(i,"touch",0!==o?o:0===i&&y.value&&d>=1?1:0))}Eg(o.value,(c=>{if(!e.disableTouch&&!u){if("start"===c.detail.state)return t.userTracking=!0,i=!1,r(),g=d,a=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&&T())}return function(i){const r=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=g+e;a=.6*a+.4*t,y.value||(n<0||n>l)&&(n<0?n=-c(-n):n>l&&(n=l+c(n-l)),a=0),_(n)}const d=s-r||1,p=o.value;e.vertical?u(-i.dy/p.offsetHeight,-i.ddy/d):u(-i.dx/p.offsetWidth,-i.ddx/d)}(c.detail),!1}}}))})),Ho((()=>{r(),cancelAnimationFrame(l)})),{onSwiperDotClick:function(e){A(t.current=e,m="click",y.value?1:0)},circularEnabled:y,swiperEnabled:v}}const wm=vu({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=cn(null),i=bu(o,n),a=cn(null),r=cn(null),s=function(e){return Ht({interval:Ba((()=>{const t=Number(e.interval);return isNaN(t)?5e3:t})),duration:Ba((()=>{const t=Number(e.duration);return isNaN(t)?500:t})),displayMultipleItems:Ba((()=>{const t=Math.round(e.displayMultipleItems);return isNaN(t)?1:t})),current:Math.round(e.current)||0,currentItemId:e.currentItemId,userTracking:!1})}(e),l=Ba((()=>{let t={};return(e.nextMargin||e.previousMargin)&&(t=e.vertical?{left:0,right:0,top:Ac(e.previousMargin,!0),bottom:Ac(e.nextMargin,!0)}:{top:0,bottom:0,left:Ac(e.previousMargin,!0),right:Ac(e.nextMargin,!0)}),t})),c=Ba((()=>{const t=Math.abs(100/s.displayMultipleItems)+"%";return{width:e.vertical?"100%":t,height:e.vertical?t:"100%"}}));let u=[];const d=[],p=cn([]);function h(){const e=[];for(let t=0;tn===e.rootRef.value));o&&e.push(tn(o))}p.value=e}xi("addSwiperContext",(function(e){d.push(e),h()}));xi("removeSwiperContext",(function(e){const t=d.indexOf(e);t>=0&&(d.splice(t,1),h())}));const{onSwiperDotClick:f,circularEnabled:g,swiperEnabled:m}=bm(e,s,p,r,n,i);let v=()=>null;return v=xm(o,e,s,f,p,g,m),()=>{const n=t.default&&t.default();return u=xg(n),sa("uni-swiper",{ref:o},[sa("div",{ref:a,class:"uni-swiper-wrapper"},[sa("div",{class:"uni-swiper-slides",style:l.value},[sa("div",{ref:r,class:"uni-swiper-slide-frame",style:c.value},[n],4)],4),e.indicatorDots&&sa("div",{class:["uni-swiper-dots",e.vertical?"uni-swiper-dots-vertical":"uni-swiper-dots-horizontal"]},[p.value.map(((t,n,o)=>sa("div",{onClick:()=>f(n),class:{"uni-swiper-dot":!0,"uni-swiper-dot-active":n=s.current||n{let s=!1,l=!1,u=!1,d=cn(!1);function p(e,n){const o=e.currentTarget;o&&(o.style.backgroundColor="over"===n?t.navigationActiveColor:"")}to((()=>{s="auto"===t.navigation,d.value=!0!==t.navigation||s,_()})),to((()=>{const e=i.value.length,t=!a.value;l=0===n.current&&t,u=n.current===e-1&&t||t&&n.current+n.displayMultipleItems>=e,r.value||(l=!0,u=!0,s&&(d.value=!0))}));const h={onMouseover:e=>p(e,"over"),onMouseout:e=>p(e,"out")};function f(e,t,r){if(e.stopPropagation(),r)return;const s=i.value.length;let l=n.current;switch(t){case"prev":l--,l<0&&a.value&&(l=s-1);break;case"next":l++,l>=s&&a.value&&(l=0)}o(l)}const g=()=>Bc(Cc,t.navigationColor,26);let m;const v=n=>{clearTimeout(m);const{clientX:o,clientY:i}=n,{left:a,right:r,top:s,bottom:l,width:c,height:u}=e.value.getBoundingClientRect();let p=!1;if(p=t.vertical?!(i-s{d.value=p}),300);d.value=p},y=()=>{d.value=!0};function _(){e.value&&(e.value.removeEventListener("mousemove",v),e.value.removeEventListener("mouseleave",y),s&&(e.value.addEventListener("mousemove",v),e.value.addEventListener("mouseleave",y)))}return Fo(_),function(){const e={"uni-swiper-navigation-hide":d.value,"uni-swiper-navigation-vertical":t.vertical};return t.navigation?sa(Vi,null,[sa("div",fa({class:["uni-swiper-navigation uni-swiper-navigation-prev",c({"uni-swiper-navigation-disabled":l},e)],onClick:e=>f(e,"prev",l)},h),[g()],16,["onClick"]),sa("div",fa({class:["uni-swiper-navigation uni-swiper-navigation-next",c({"uni-swiper-navigation-disabled":u},e)],onClick:e=>f(e,"next",u)},h),[g()],16,["onClick"])]):null}},Am=vu({name:"SwiperItem",props:{itemId:{type:String,default:""}},setup(e,{slots:t}){const n=cn(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",a=n.value,r=`translate(${o},${i}) translateZ(0)`;a&&(a.style.webkitTransform=r,a.style.transform=r)}};return Fo((()=>{const e=Ai("addSwiperContext");e&&e(o)})),Ho((()=>{const e=Ai("removeSwiperContext");e&&e(o)})),()=>sa("uni-swiper-item",{ref:n,style:{position:"absolute",width:"100%",height:"100%"}},[t.default&&t.default()],512)}}),Tm=vu({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=cn(null),o=cn(e.checked),i=function(e,t){const n=Ai(Tu,!1),o=Ai(Cu,!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),Ho((()=>{n.removeField(i)})));return o}(e,o),a=bu(n,t);oo((()=>e.checked),(e=>{o.value=e}));const r=t=>{e.disabled||(o.value=!o.value,a("change",t,{value:o.value}))};return i&&(i.addHandler(r),Wo((()=>{i.removeHandler(r)}))),Iu(e,{"label-click":r}),()=>{const{color:t,type:i}=e,a=Au(e,"disabled"),s={};let l;return t&&o.value&&(s.backgroundColor=t,s.borderColor=t),l=o.value,sa("uni-switch",fa({id:e.id,ref:n},a,{onClick:r}),[sa("div",{class:"uni-switch-wrapper"},[lo(sa("div",{class:["uni-switch-input",[o.value?"uni-switch-input-checked":""]],style:s},null,6),[[Ja,"switch"===i]]),lo(sa("div",{class:"uni-checkbox-input"},[l?Bc(kc,e.color,22):""],512),[[Ja,"checkbox"===i]])])],16,["id","onClick"])}}});const km={ensp:" ",emsp:" ",nbsp:" "};function Sm(e,t){return function(e,{space:t,decode:n}){let o="",i=!1;for(let a of e)t&&km[t]&&" "===a&&(a=km[t]),i?(o+="n"===a?"\n":"\\"===a?"\\":"\\"+a,i=!1):"\\"===a?i=!0:o+=a;return n?o.replace(/ /g,km.nbsp).replace(/ /g,km.ensp).replace(/ /g,km.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split("\n")}const Cm=vu({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=cn(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==Wi){const n=Sm(t.children,{space:e.space,decode:e.decode}),i=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(ca(e)),t!==i&&o.push(sa("br"))}))}else o.push(t)})),sa("uni-text",{ref:n,selectable:!!e.selectable||null},[sa("span",null,o)],8,["selectable"])}}}),Em=c({},pg,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>Bm.concat("return").includes(e)}});let Im=!1;const Bm=["done","go","next","search","send"];const Pm=vu({name:"Textarea",props:Em,emits:["confirm","linechange",...hg],setup(e,{emit:t,expose:n}){const o=cn(null),i=cn(null),{fieldRef:a,state:r,scopedAttrsState:s,fixDisabledColor:l,trigger:c}=mg(e,o,t),u=Ba((()=>r.value.split("\n"))),d=Ba((()=>Bm.includes(e.confirmType))),p=cn(0),h=cn(null);function f({height:e}){p.value=e}function g(e){"Enter"===e.key&&d.value&&e.preventDefault()}function m(t){if("Enter"===t.key&&d.value){!function(e){c("confirm",e,{value:r.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return oo((()=>p.value),(t=>{const n=o.value,a=h.value,r=i.value;let s=parseFloat(getComputedStyle(n).lineHeight);isNaN(s)&&(s=a.offsetHeight);var l=Math.round(t/s);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(n.style.height="auto",r.style.height=t+"px")})),function(){const e="(prefers-color-scheme: dark)";Im=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),r.value=e.value}}),()=>{let t=e.disabled&&l?sa("textarea",{key:"disabled-textarea",ref:a,value:r.value,tabindex:"-1",readonly:!!e.disabled,maxlength:r.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Im},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):sa("textarea",{key:"textarea",ref:a,value:r.value,disabled:!!e.disabled,maxlength:r.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Im},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onKeydown:g,onKeyup:m},null,46,["value","disabled","maxlength","enterkeyhint","inputmode","onKeydown","onKeyup"]);return sa("uni-textarea",{ref:o},[sa("div",{ref:i,class:"uni-textarea-wrapper"},[lo(sa("div",fa(s.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Ja,!r.value.length]]),sa("div",{ref:h,class:"uni-textarea-line"},[" "],512),sa("div",{class:"uni-textarea-compute"},[u.value.map((e=>sa("div",null,[e.trim()?e:"."]))),sa(of,{initial:!0,onResize:f},null,8,["initial","onResize"])]),"search"===e.confirmType?sa("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],512)}}}),Rm=vu({name:"View",props:c({},wu),setup(e,{slots:t}){const n=cn(null),{hovering:o,binding:i}=xu(e);return()=>{const a=e.hoverClass;return a&&"none"!==a?sa("uni-view",fa({class:o.value?a:"",ref:n},i),[t.default&&t.default()],16):sa("uni-view",{ref:n},[t.default&&t.default()],512)}}});function Lm(e,t){if(t||(t=e.id),t)return e.$options.name.toLowerCase()+"."+t}function Om(e,t,n){e&&Fl(n||Mc(),e,(({type:e,data:n},o)=>{t(e,n,o)}))}function Mm(e,t){e&&function(e,t){t=jl(e,t),delete Ul[t]}(t||Mc(),e)}function Dm(e,t,n,o){const i=_a().proxy;Fo((()=>{Om(t||Lm(i),e,o),!n&&t||oo((()=>i.id),((t,n)=>{Om(Lm(i,t),e,o),Mm(n&&Lm(i,n))}))})),Wo((()=>{Mm(t||Lm(i),o)}))}let Nm=0;function $m(e){const t=Pc(),n=_a().proxy,o=n.$options.name.toLowerCase(),i=e||n.id||"context"+Nm++;return Fo((()=>{n.$el.__uniContextInfo={id:i,type:o,page:t}})),`${o}.${i}`}function qm(e,t,n,o){m(t)&&qo(e,t.bind(n),o)}function Um(e,t,n){var o;const i=e.mpType||n.$mpType;if(i&&"component"!==i&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!m(t))&&(Be.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const i=e[o];h(i)?i.forEach((e=>qm(o,e,n,t))):qm(o,i,n,t)}})),"page"===i)){t.__isVisible=!0;try{const e=t.attrs.__pageQuery;0,qc(n,"onLoad",e),delete t.attrs.__pageQuery,"preloadPage"!==(null==(o=n.$page)?void 0:o.openType)&&qc(n,"onShow")}catch(gB){console.error(gB.message+"\n"+gB.stack)}}}function jm(e,t,n){Um(e,t,n)}function Fm(e,t,n){return e[t]=n}function Vm(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function zm(e){return function(t,n,o){if(!n)throw t;const i=e._instance;if(!i||!i.proxy)throw t;qc(i.proxy,"onError",t)}}function Wm(e,t){return e?[...new Set([].concat(e,t))]:t}function Hm(e){const t=e._context.config;var n;t.errorHandler=Le(e,zm),n=t.optionMergeStrategies,Be.forEach((e=>{n[e]=Wm}));const o=t.globalProperties;o.$set=Fm,o.$applyOptions=jm,o.$callMethod=Vm,function(e){Pe=e,Re.forEach((t=>t(e)))}(e)}const Xm=wc("upm");function Km(){return Ai(Xm)}function Ym(e){const t=function(e){return Ht(function(e){{const{enablePullDownRefresh:t,navigationBar:n}=e;if(t){const t=function(e){return e.offset&&(e.offset=Ac(e.offset)),e.height&&(e.height=Ac(e.height)),e.range&&(e.range=Ac(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+dc.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!==fv().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify($c(cl().meta,e)))))}(e);return xi(Xm,t),t}function Gm(){return cl()}const Qm=window.screen,Jm=document.documentElement;function Zm(){return history.state&&history.state.__id__||1}let ev;function tv(){var e;return ev||(ev=__uniConfig.tabBar&&Ht((e=__uniConfig.tabBar,bl()&&e.list&&e.list.forEach((e=>{Tl(e,["text"])})),e))),ev}const nv=window.CSS&&window.CSS.supports;function ov(e){return nv&&(nv(e)||nv.apply(window.CSS,e.split(":")))}const iv=ov("--a:0"),av=ov("top:env(a)"),rv=ov("top:constant(a)"),sv=ov("backdrop-filter:blur(10px)"),lv={"css.var":iv,"css.env":av,"css.constant":rv,"css.backdrop-filter":sv},cv=Od(0,(e=>!p(lv,e)||lv[e])),uv=(()=>av?"env":rv?"constant":"")();function dv(e){return uv?`calc(${e}px + ${uv}(safe-area-inset-bottom))`:`${e}px`}const pv=new Map;function hv(){return pv}function fv(){const e=[],t=pv.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function gv(e,t=!0){const n=pv.get(e);n.$.__isUnload=!0,qc(n,"onUnload"),pv.delete(e),t&&function(e){const t=bv.get(e);t&&(bv.delete(e),wv.pruneCacheEntry(t))}(e)}let mv=Zm();function vv(e){const t=Km();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,a){const{id:r,route:s}=o,l=$e(o.navigationBar,__uniConfig.themeConfig,a).titleColor;return{id:r,path:ue(s),route:s,fullPath:t,options:n,meta:o,openType:e,eventChannel:i,statusBarStyle:"#ffffff"===l?"light":"dark"}}("navigateTo",n,{},t)}function yv(e){const t=vv(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),pv.set(_v(t.path,t.id),e)}function _v(e,t){return e+"$$"+t}const bv=new Map,wv={get:e=>bv.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;wv.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);if(o&&o>t){if(function(e){return"tabBar"===e.props.type}(e))return;wv.delete(n),wv.pruneCacheEntry(e),En((()=>{pv.forEach(((e,t)=>{e.$.isUnmounted&&pv.delete(t)}))}))}}))}(e),bv.set(e,t)},delete(e){bv.get(e)&&bv.delete(e)},forEach(e){bv.forEach(e)}};function xv(e,t){!function(e){const t=Tv(e),{body:n}=document;kv&&n.removeAttribute(kv),t&&n.setAttribute(t,""),kv=t}(e),function(e){let t=0,n=0;if("custom"!==e.navigationBar.style&&["default","float"].indexOf(e.navigationBar.type)>-1&&(t=44),e.isTabBar){const e=tv();e.shown&&(n=parseInt(e.height))}var o;yc({"--window-top":(o=t,uv?`calc(${o}px + ${uv}(safe-area-inset-top))`:`${o}px`),"--window-bottom":dv(n)})}(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),function(e,t){document.removeEventListener("touchmove",Uc),Sv&&document.removeEventListener("scroll",Sv);if(t.disableScroll)return document.addEventListener("touchmove",Uc);const{onPageScroll:n,onReachBottom:o}=e,i="transparent"===t.navigationBar.type;if(!n&&!o&&!i)return;const a={},r=e.proxy.$page.id;(n||i)&&(a.onPageScroll=function(e,t,n){return o=>{t&&ox.publishHandler("onPageScroll",{scrollTop:o},e),n&&ox.emit(e+".onPageScroll",{scrollTop:o})}}(r,n,i));o&&(a.onReachBottomDistance=t.onReachBottomDistance||50,a.onReachBottom=()=>ox.publishHandler("onReachBottom",{},r));Sv=Vc(a),requestAnimationFrame((()=>document.addEventListener("scroll",Sv)))}(e,t)}function Av(e){const t=Tv(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Tv(e){return e.type.__scopeId}let kv,Sv;function Cv(e){const t=ll({history:Bv(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:Iv});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(Ev[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let Ev=Object.create(null);const Iv=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,Ev[o]);if(t)return t}return{left:0,top:0};var o};function Bv(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=bs(e);return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=fv(),n=t.length-1,o=n-e;for(let i=n;i>o;i--){const e=t[i].$page;gv(_v(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const Pv={install(e){Hm(e),tu(e),pu(e),e.config.warnHandler||(e.config.warnHandler=Rv),Cv(e)}};function Rv(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 Lv={class:"uni-async-loading"},Ov=sa("i",{class:"uni-loading"},null,-1),Mv=yu({name:"AsyncLoading",render:()=>(Yi(),ea("div",Lv,[Ov]))});function Dv(){window.location.reload()}const Nv=yu({name:"AsyncError",setup(){Cl();const{t:e}=kl();return()=>sa("div",{class:"uni-async-error",onClick:Dv},[e("uni.async.error")],8,["onClick"])}});let $v;function qv(){return $v}function Uv(e){$v=e,Object.defineProperty($v.$.ctx,"$children",{get:()=>fv().map((e=>e.$vm))});const t=$v.$.appContext.app;t.component(Mv.name)||t.component(Mv.name,Mv),t.component(Nv.name)||t.component(Nv.name,Nv),function(e){e.$vm=e,e.$mpType="app";const t=cn(kl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}($v),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}})}($v),uu(),ec()}function jv(e,{clone:t,init:n,setup:o,before:i}){t&&(e=c({},e)),i&&i(e);const a=e.setup;return e.setup=(e,t)=>{const i=_a();n(i.proxy);const r=o(i);if(a)return a(r||e,t)},e}function Fv(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?jv(e.default,t):jv(e,t)}function Vv(e){return Fv(e,{clone:!0,init:yv,setup(e){e.$pageInstance=e;const t=Gm(),n=Te(t.query);e.attrs.__pageQuery=n,e.proxy.$page.options=n,e.proxy.options=n;const o=Km();var i,a,r;return jo((()=>{xv(e,o)})),Fo((()=>{Av(e);const{onReady:n}=e;n&&O(n),Xv(t)})),Lo((()=>{if(!e.__isVisible){xv(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&O(n),En((()=>{Xv(t)}))}}),"ba",i),function(e,t){Lo(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;const{onHide:t}=e;t&&O(t)}})),a=o.id,ox.subscribe(jl(a,"invokeViewApi"),r?r(Vl):Vl),Wo((()=>{!function(e){ox.unsubscribe(jl(e,"invokeViewApi")),Object.keys(Ul).forEach((t=>{0===t.indexOf(e+".")&&delete Ul[t]}))}(o.id)})),n}})}function zv(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=qy(),i=90===Math.abs(Number(window.orientation))?"landscape":"portrait";ix.emit("onResize",{deviceOrientation:i,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function Wv(e){A(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&ix.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function Hv(){const{emit:e}=ix;"visible"===document.visibilityState?e("onAppEnterForeground",c({},nf)):e("onAppEnterBackground")}function Xv(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&qc("onTabItemTap",{index:n,text:t,pagePath:o})}function Kv(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 a=(n<10?"0":"")+n+":"+((o<10?"0":"")+o);return"00"!==i&&(a=i+":"+a),a}function Yv(e,t,n){const o=Ht({gestureType:"none",volumeOld:0,volumeNew:0,currentTimeOld:0,currentTimeNew:0}),i={x:0,y:0};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,o.currentTimeOld=o.currentTimeNew=0},onTouchmove:function(a){function r(){a.stopPropagation(),a.preventDefault()}n.fullscreen&&r();const s=o.gestureType;if("stop"===s)return;const l=a.targetTouches[0],c=l.pageX,u=l.pageY,d=i,p=t.value;if("progress"===s?function(e){const n=t.value.duration;let i=e/600*n+o.currentTimeOld;i<0?i=0:i>n&&(i=n);o.currentTimeNew=i}(c-d.x):"volume"===s&&function(e){const n=t.value,i=o.volumeOld;let a;"number"==typeof i&&(a=i-e/200,a<0?a=0:a>1&&(a=1),n.volume=a,o.volumeNew=a)}(u-d.y),"none"===s)if(Math.abs(c-d.x)>Math.abs(u-d.y)){if(!e.enableProgressGesture)return void(o.gestureType="stop");o.gestureType="progress",o.currentTimeOld=o.currentTimeNew=p.currentTime,n.fullscreen||r()}else{if(!e.pageGesture)return void(o.gestureType="stop");o.gestureType="volume",o.volumeOld=p.volume,n.fullscreen||r()}},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 Gv=vu({name:"Video",props:{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},enableProgressGesture:{type:[Boolean,String],default:!0},showPlayBtn:{type:[Boolean,String],default:!0},showCenterPlayBtn:{type:[Boolean,String],default:!0}},emits:["fullscreenchange","progress","loadedmetadata","waiting","error","play","pause","ended","timeupdate"],setup(e,{emit:t,attrs:n,slots:o}){const i=cn(null),a=cn(null),r=bu(i,t),{state:s}=sg(),{$attrs:l}=wg({excludeListeners:!0}),{t:c}=kl();Dl();const{videoRef:u,state:d,play:p,pause:f,stop:g,seek:m,playbackRate:v,toggle:y,onDurationChange:_,onLoadedMetadata:b,onProgress:w,onWaiting:x,onVideoError:A,onPlay:T,onPause:k,onEnded:S,onTimeUpdate:C}=function(e,t,n){const o=cn(null),i=Ba((()=>Mu(e.src))),a=Ba((()=>"true"===e.muted||!0===e.muted)),r=Ht({start:!1,src:i,playing:!1,currentTime:0,duration:0,progress:0,buffered:0,muted:a});function s(e){const t=e.target,n=t.buffered;n.length&&(r.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 oo((()=>i.value),(()=>{r.playing=!1,r.currentTime=0})),oo((()=>r.buffered),(e=>{n("progress",{},{buffered:e})})),oo((()=>a.value),(e=>{o.value.muted=e})),{videoRef:o,state:r,play:function(){const e=o.value;r.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;r.playing?e.pause():e.play()},onDurationChange:function({target:e}){r.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){r.playing=!1,n("error",e,{})},onPlay:function(e){r.start=!0,r.playing=!0,n("play",e,{})},onPause:function(e){r.playing=!1,n("pause",e,{})},onEnded:function(e){r.playing=!1,n("ended",e,{})},onTimeUpdate:function(e){const t=e.target,o=r.currentTime=t.currentTime;n("timeupdate",e,{currentTime:o,duration:t.duration})}}}(e,0,r),{state:E,danmuRef:I,updateDanmu:B,toggleDanmu:P,sendDanmu:R}=function(e,t){const n=cn(null),o=Ht({enable:Boolean(e.enableDanmu)});let i={time:0,index:-1};const a=h(e.danmuList)?JSON.parse(JSON.stringify(e.danmuList)):[];function r(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 a.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=(e.time||0)))break;l.index=i,t.playing&&o.enable&&r(e)}else if(n-1&&n<=(a[t].time||0);t--)l.index=t-1;i=l},toggleDanmu:function(){o.enable=!o.enable},sendDanmu:function(e){a.splice(i.index+1,0,{text:String(e.text),color:e.color,time:t.currentTime||0})}}}(e,d),{state:L,onFullscreenChange:O,emitFullscreenChange:M,toggleFullscreen:D,requestFullScreen:N,exitFullScreen:$}=function(e,t,n,o,i){const a=Ht({fullscreen:!1}),r=/^Apple/.test(navigator.vendor);function s(t){a.fullscreen=t,e("fullscreenchange",{},{fullScreen:t,direction:"vertical"})}function l(e){const a=i.value,l=t.value,c=n.value;let u;e?!document.fullscreenEnabled&&!document.webkitFullscreenEnabled||r&&!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"),a.appendChild(l)),u&&s(e)}function c(){l(!1)}return Wo(c),{state:a,onFullscreenChange:function(e,t){t&&document.fullscreenEnabled||s(!(!document.fullscreenElement&&!document.webkitFullscreenElement))},emitFullscreenChange:s,toggleFullscreen:l,requestFullScreen:function(){l(!0)},exitFullScreen:c}}(r,a,u,s,i),{state:q,onTouchstart:U,onTouchend:j,onTouchmove:F}=Yv(e,u,L),{state:V,progressRef:z,ballRef:W,clickProgress:H,toggleControls:X}=function(e,t,n){const o=cn(null),i=cn(null),a=Ba((()=>e.showCenterPlayBtn&&!t.start)),r=cn(!0),s=Ba((()=>!a.value&&e.controls&&r.value)),l=Ht({touching:!1,controlsTouching:!1,centerPlayBtnShow:a,controlsShow:s,controlsVisible:r});let c;function u(){c=setTimeout((()=>{l.controlsVisible=!1}),3e3)}function d(){c&&(clearTimeout(c),c=null)}return Wo((()=>{c&&clearTimeout(c)})),oo((()=>l.controlsShow&&t.playing&&!l.controlsTouching),(e=>{e?u():d()})),oo([()=>t.currentTime,()=>{e.duration}],(function(){l.touching||(t.progress=t.currentTime/t.duration*100)})),Fo((()=>{const e=we(!1);let a,r,s,c=!0;const u=i.value;function d(e){const n=e.targetTouches[0],i=n.pageX,l=n.pageY;if(c&&Math.abs(i-a)100&&(d=100),t.progress=d,e.preventDefault(),e.stopPropagation()}function p(o){l.controlsTouching=!1,l.touching&&(u.removeEventListener("touchmove",d,e),c||(o.preventDefault(),o.stopPropagation(),n(t.duration*t.progress/100)),l.touching=!1)}u.addEventListener("touchstart",(n=>{l.controlsTouching=!0;const o=n.targetTouches[0];a=o.pageX,r=o.pageY,s=t.progress,c=!0,l.touching=!0,u.addEventListener("touchmove",d,e)})),u.addEventListener("touchend",p),u.addEventListener("touchcancel",p)})),{state:l,progressRef:o,ballRef:i,clickProgress:function(e){const i=o.value;let a=e.target,r=e.offsetX;for(;a&&a!==i;)r+=a.offsetLeft,a=a.parentNode;const s=i.offsetWidth;let l=0;r>=0&&r<=s&&(l=r/s,n(t.duration*l))},toggleControls:function(){l.controlsVisible=!l.controlsVisible},autoHideStart:u,autoHideEnd:d}}(e,d,m);return function(e,t,n,o,i,a,r,s){const l={play:e,stop:n,pause:t,seek:o,sendDanmu:i,playbackRate:a,requestFullScreen:r,exitFullScreen:s};Dm(((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)}),$m(),!0)}(p,f,g,m,R,v,N,$),()=>sa("uni-video",{ref:i,id:e.id,onClick:X},[sa("div",{ref:a,class:"uni-video-container",onTouchstart:U,onTouchend:j,onTouchmove:F,onFullscreenchange:Tr(O,["stop"]),onWebkitfullscreenchange:Tr((e=>O(e,!0)),["stop"])},[sa("video",fa({ref:u,style:{"object-fit":e.objectFit},muted:!!e.muted,loop:!!e.loop,src:d.src,poster:e.poster,autoplay:!!e.autoplay},l.value,{class:"uni-video-video","webkit-playsinline":!0,playsinline:!0,onDurationchange:_,onLoadedmetadata:b,onProgress:w,onWaiting:x,onError:A,onPlay:T,onPause:k,onEnded:S,onTimeupdate:e=>{C(e),B(e)},onWebkitbeginfullscreen:()=>M(!0),onX5videoenterfullscreen:()=>M(!0),onWebkitendfullscreen:()=>M(!1),onX5videoexitfullscreen:()=>M(!1)}),null,16,["muted","loop","src","poster","autoplay","webkit-playsinline","playsinline","onDurationchange","onLoadedmetadata","onProgress","onWaiting","onError","onPlay","onPause","onEnded","onTimeupdate","onWebkitbeginfullscreen","onX5videoenterfullscreen","onWebkitendfullscreen","onX5videoexitfullscreen"]),lo(sa("div",{class:"uni-video-bar uni-video-bar-full",onClick:Tr((()=>{}),["stop"])},[sa("div",{class:"uni-video-controls"},[lo(sa("div",{class:{"uni-video-control-button":!0,"uni-video-control-button-play":!d.playing,"uni-video-control-button-pause":d.playing},onClick:Tr(y,["stop"])},null,10,["onClick"]),[[Ja,e.showPlayBtn]]),lo(sa("div",{class:"uni-video-current-time"},[Kv(d.currentTime)],512),[[Ja,e.showProgress]]),lo(sa("div",{ref:z,class:"uni-video-progress-container",onClick:Tr(H,["stop"])},[sa("div",{class:"uni-video-progress"},[sa("div",{style:{width:d.buffered+"%"},class:"uni-video-progress-buffered"},null,4),sa("div",{ref:W,style:{left:d.progress+"%"},class:"uni-video-ball"},[sa("div",{class:"uni-video-inner"},null)],4)])],8,["onClick"]),[[Ja,e.showProgress]]),lo(sa("div",{class:"uni-video-duration"},[Kv(Number(e.duration)||d.duration)],512),[[Ja,e.showProgress]])]),lo(sa("div",{class:{"uni-video-danmu-button":!0,"uni-video-danmu-button-active":E.enable},onClick:Tr(P,["stop"])},[c("uni.video.danmu")],10,["onClick"]),[[Ja,e.danmuBtn]]),lo(sa("div",{class:{"uni-video-fullscreen":!0,"uni-video-type-fullscreen":L.fullscreen},onClick:Tr((()=>D(!L.fullscreen)),["stop"])},null,10,["onClick"]),[[Ja,e.showFullscreenBtn]])],8,["onClick"]),[[Ja,V.controlsShow]]),lo(sa("div",{ref:I,style:"z-index: 0;",class:"uni-video-danmu"},null,512),[[Ja,d.start&&E.enable]]),V.centerPlayBtnShow&&sa("div",{class:"uni-video-cover",onClick:Tr((()=>{}),["stop"])},[sa("div",{class:"uni-video-cover-play-button",onClick:Tr(p,["stop"])},null,8,["onClick"]),sa("p",{class:"uni-video-cover-duration"},[Kv(Number(e.duration)||d.duration)])],8,["onClick"]),sa("div",{class:{"uni-video-toast":!0,"uni-video-toast-volume":"volume"===q.gestureType}},[sa("div",{class:"uni-video-toast-title"},[c("uni.video.volume")]),sa("svg",{class:"uni-video-toast-icon",width:"200px",height:"200px",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[sa("path",{d:"M475.400704 201.19552l0 621.674496q0 14.856192-10.856448 25.71264t-25.71264 10.856448-25.71264-10.856448l-190.273536-190.273536-149.704704 0q-14.856192 0-25.71264-10.856448t-10.856448-25.71264l0-219.414528q0-14.856192 10.856448-25.71264t25.71264-10.856448l149.704704 0 190.273536-190.273536q10.856448-10.856448 25.71264-10.856448t25.71264 10.856448 10.856448 25.71264zm219.414528 310.837248q0 43.425792-24.28416 80.851968t-64.2816 53.425152q-5.71392 2.85696-14.2848 2.85696-14.856192 0-25.71264-10.570752t-10.856448-25.998336q0-11.999232 6.856704-20.284416t16.570368-14.2848 19.427328-13.142016 16.570368-20.284416 6.856704-32.569344-6.856704-32.569344-16.570368-20.284416-19.427328-13.142016-16.570368-14.2848-6.856704-20.284416q0-15.427584 10.856448-25.998336t25.71264-10.570752q8.57088 0 14.2848 2.85696 39.99744 15.427584 64.2816 53.139456t24.28416 81.137664zm146.276352 0q0 87.422976-48.56832 161.41824t-128.5632 107.707392q-7.428096 2.85696-14.2848 2.85696-15.427584 0-26.284032-10.856448t-10.856448-25.71264q0-22.284288 22.284288-33.712128 31.997952-16.570368 43.425792-25.141248 42.283008-30.855168 65.995776-77.423616t23.712768-99.136512-23.712768-99.136512-65.995776-77.423616q-11.42784-8.57088-43.425792-25.141248-22.284288-11.42784-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 79.99488 33.712128 128.5632 107.707392t48.56832 161.41824zm146.276352 0q0 131.42016-72.566784 241.41312t-193.130496 161.989632q-7.428096 2.85696-14.856192 2.85696-14.856192 0-25.71264-10.856448t-10.856448-25.71264q0-20.570112 22.284288-33.712128 3.999744-2.285568 12.85632-5.999616t12.85632-5.999616q26.284032-14.2848 46.854144-29.140992 70.281216-51.996672 109.707264-129.705984t39.426048-165.132288-39.426048-165.132288-109.707264-129.705984q-20.570112-14.856192-46.854144-29.140992-3.999744-2.285568-12.85632-5.999616t-12.85632-5.999616q-22.284288-13.142016-22.284288-33.712128 0-14.856192 10.856448-25.71264t25.71264-10.856448q7.428096 0 14.856192 2.85696 120.563712 51.996672 193.130496 161.989632t72.566784 241.41312z"},null)]),sa("div",{class:"uni-video-toast-value"},[sa("div",{style:{width:100*q.volumeNew+"%"},class:"uni-video-toast-value-content"},[sa("div",{class:"uni-video-toast-volume-grids"},[Qo(10,(()=>sa("div",{class:"uni-video-toast-volume-grids-item"},null)))])],4)])],2),sa("div",{class:{"uni-video-toast":!0,"uni-video-toast-progress":"progress"===q.gestureType}},[sa("div",{class:"uni-video-toast-title"},[Kv(q.currentTimeNew)," / ",Kv(d.duration)])],2),sa("div",{class:"uni-video-slots"},[o.default&&o.default()])],40,["onTouchstart","onTouchend","onTouchmove","onFullscreenchange","onWebkitfullscreenchange"])],8,["id","onClick"])}}),Qv=({name:e,arg:t})=>{"postMessage"===e||uni[e](t)},Jv=he((()=>ix.on("onWebInvokeAppService",Qv))),Zv=vu({inheritAttrs:!1,name:"WebView",props:{src:{type:String,default:""},fullscreen:{type:Boolean,default:!0}},setup(e){Jv();const t=cn(null),n=cn(null),{$attrs:o,$excludeAttrs:i,$listeners:a}=wg({excludeListeners:!0});let r;return(()=>{const i=document.createElement("iframe");to((()=>{for(const e in o.value)if(p(o.value,e)){const t=o.value[e];i[e]=t}})),to((()=>{i.src=Mu(e.src)})),n.value=i,r=function(e,t,n){return()=>{var o,i;if(n){const{top:n,left:o,width:i,height:a}=e.value.getBoundingClientRect();pe(t.value,{position:"absolute",display:"block",border:"0",top:n+"px",left:o+"px",width:i+"px",height:a+"px"})}else pe(t.value,{width:(null==(o=e.value)?void 0:o.style.width)||"300px",height:(null==(i=e.value)?void 0:i.style.height)||"150px"})}}(t,n,e.fullscreen),e.fullscreen&&document.body.appendChild(i)})(),Fo((()=>{var o;r(),!e.fullscreen&&(null==(o=t.value)||o.appendChild(n.value))})),Po((()=>{e.fullscreen&&(n.value.style.display="block")})),Ro((()=>{e.fullscreen&&(n.value.style.display="none")})),Wo((()=>{e.fullscreen&&document.body.removeChild(n.value)})),()=>sa(Vi,null,[sa("uni-web-view",fa({class:e.fullscreen?"uni-webview--fullscreen":""},a.value,i.value,{ref:t}),[sa(of,{onResize:r},null,8,["onResize"])],16)])}});let ey,ty=0;function ny(e,t,n,o){var i,a=document.createElement("script"),r=t.callback||"callback",s="__uni_jsonp_callback_"+ty++,l=t.timeout||3e4;function c(){clearTimeout(i),delete window[s],a.remove()}window[s]=e=>{m(n)&&n(e),c()},a.onerror=()=>{m(o)&&o(),c()},i=setTimeout((function(){m(o)&&o(),c()}),l),a.src=e+(e.indexOf("?")>=0?"&":"?")+r+"="+s,document.body.appendChild(a)}function oy(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 a(){this.Text&&this.option.map.remove(this.Text)}function r(){this.Text&&this.option.map.remove(this.Text)}class s{constructor(e={},s){this.createAMapText=o,this.removeAMapText=a,this.createBMapText=i,this.removeBMapText=r,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(fy())this.callback=s,this.visible&&this.createAMapText();else if(gy())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,fy()?this.visible&&this.createAMapText():gy()?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(!fy()&&!gy()){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 iy={};function ay(e,t){const n=dy();if(!n.key)return void console.error("Map key not configured.");const o=iy[n.type]=iy[n.type]||[];if(ey)t(ey);else if(window[n.type]&&window[n.type].maps)ey=fy()||gy()?window[n.type]:window[n.type].maps,ey.Callout=ey.Callout||oy(ey),t(ey);else if(o.length)o.push(t);else{o.push(t);const i=window,a="__map_callback__"+n.type;i[a]=function(){delete i[a],ey=fy()||gy()?window[n.type]:window[n.type].maps,ey.Callout=oy(ey),o.forEach((e=>e(ey))),o.length=0},fy()&&function(e){window._AMapSecurityConfig={securityJsCode:e.securityJsCode||"",serviceHost:e.serviceHost||""}}(n);const r=document.createElement("script");let s=ry(n.type);n.type===uy.QQ&&e.push("geometry"),e.length&&(s+=`libraries=${e.join("%2C")}&`),n.type===uy.BMAP?r.src=`${s}ak=${n.key}&callback=${a}`:r.src=`${s}key=${n.key}&callback=${a}`,r.onerror=function(){console.error("Map load failed.")},document.body.appendChild(r)}}const ry=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]);const sy="M13.3334375 16 q0.033125 1.1334375 0.783125 1.8834375 q0.75 0.75 1.8834375 0.75 q1.1334375 0 1.8834375 -0.75 q0.75 -0.75 0.75 -1.8834375 q0 -1.1334375 -0.75 -1.8834375 q-0.75 -0.75 -1.8834375 -0.75 q-1.1334375 0 -1.8834375 0.75 q-0.75 0.75 -0.783125 1.8834375 ZM30.9334375 14.9334375 l-1.1334375 0 q-0.5 -5.2 -4.0165625 -8.716875 q-3.516875 -3.5165625 -8.716875 -4.0165625 l0 -1.1334375 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 l0 1.1334375 q-5.2 0.5 -8.716875 4.0165625 q-3.5165625 3.516875 -4.0165625 8.716875 l-1.1334375 0 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 l1.1334375 0 q0.5 5.2 4.0165625 8.716875 q3.516875 3.5165625 8.716875 4.0165625 l0 1.1334375 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 l0 -1.1334375 q5.2 -0.5 8.716875 -4.0165625 q3.5165625 -3.516875 4.0165625 -8.716875 l1.1334375 0 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 ZM17.0665625 27.6665625 l0 -2.0665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 l0 2.0665625 q-4.3 -0.4665625 -7.216875 -3.383125 q-2.916875 -2.916875 -3.3834375 -7.216875 l2.0665625 0 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 q0 -0.4665625 -0.3 -0.7665625 q-0.3 -0.3 -0.7665625 -0.3 l-2.0665625 0 q0.4665625 -4.3 3.3834375 -7.216875 q2.9165625 -2.916875 7.216875 -3.3834375 l0 2.0665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 q0.4665625 0 0.7665625 -0.3 q0.3 -0.3 0.3 -0.7665625 l0 -2.0665625 q4.3 0.4665625 7.216875 3.3834375 q2.9165625 2.9165625 3.383125 7.216875 l-2.0665625 0 q-0.4665625 0 -0.7665625 0.3 q-0.3 0.3 -0.3 0.7665625 q0 0.4665625 0.3 0.7665625 q0.3 0.3 0.7665625 0.3 l2.0665625 0 q-0.4665625 4.3 -3.383125 7.216875 q-2.916875 2.9165625 -7.216875 3.383125 Z",ly="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACECAMAAABmmnOVAAAC01BMVEUAAAAAef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef8Aef96quGStdqStdpbnujMzMzCyM7Gyc7Ky83MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMwAef8GfP0yjfNWnOp0qOKKsdyYt9mju9aZt9mMstx1qeJYnekyjvIIfP0qivVmouaWttnMzMyat9lppOUujPQKffxhoOfNzc3Y2Njh4eHp6enu7u7y8vL19fXv7+/i4uLZ2dnOzs6auNgOf/sKff15quHR0dHx8fH9/f3////j4+N6quFdn+iywdPb29vw8PD+/v7c3NyywtLa2tr29vbS0tLd3d38/Pzf39/o6Ojc7f+q0v+HwP9rsf9dqv9Hnv9Vpv/q6urj8P+Vx/9Am/8Pgf8Iff/z8/OAvP95uf/n5+c5l//V6f+52v+y1//7+/vt7e0rkP/09PTQ0NDq9P8Whf+cy//W1tbe3t7A3v/m5ubs7OxOov/r6+vk5OQiaPjKAAAAknRSTlMACBZ9oB71/jiqywJBZATT6hBukRXv+zDCAVrkDIf4JbQsTb7eVeJLbwfa8Rh4G/OlPS/6/kxQ9/xdmZudoJxNVhng7B6wtWdzAtQOipcF1329wS44doK/BAkyP1pvgZOsrbnGXArAg34G2IsD1eMRe7bi7k5YnqFT9V0csyPedQyYD3p/Fje+hDpskq/MwpRBC6yKp2MAAAQdSURBVHja7Zn1exMxGIAPHbrhDsPdneHuNtzd3d3dIbjLh93o2o4i7TpgG1Jk0g0mMNwd/gTa5rq129reHnK5e/bk/TFNk/dJ7r5894XjGAwGg8GgTZasCpDIll1+hxw5vXLJLpEboTx5ZXbIhyzkl9fB28cqUaCgrBKFkI3CcjoUKYolihWXUSI7EihRUjaHXF52CVRKLoe8eZIdUOkyMknkRw6UlcehYAFHiXK+skgURk6Ul8OhQjFnCVRRBolKqRxQ5SzUHaqgNGSj7VCmalqJnDkoS5RF6ZCbroNvufQkUD6qEuXTdUA+3hQdqiEXVKfnUKOmK4latalJ1EEuoZZ6162HJ9x/4OChw0eOHj12/MTJU6dxG7XUu751tjNnz4ET5y9ctLZTSr0beKFLl89bpuUDrqgC1RqNWqsKuqqzNFw7e51S6u3tc+OmZUJ9kCHY6ECwOkRvab51iUrqXej2HYDQsHBjWgx3Ae7dppB6N2wEcF9jdMGDUIDGTaR2aNoM9FqjG7QmaN5CWgc/gIePjG559BigpZQOrYB/4jBfRGRUtDkmJjY6KjLCofkpD62lc2gDfMpWPIuLdwyV8XEpHgaddBZ+wBuSFcwJqSN2ovmZ/dfnOvCTxqGtwzq8SEjv4EhISn48eWgnhUP7DvDSvgzxrs6vV6+FLiro2EkCic4QKkzwJsH1KYreCp0eQhfyDl1B/w4P/xa5JVJ4U03QjbRD9x7wXlgH5IE3wmMBHXoSlugFAcI6f/AkkSi8q6HQm6xDn77wEQ8djTwSj3tqAMguRTe4ikeOQyJ4YV+KfkQl+oNW5GbY4gWOWgbwJ+kwAD6Fi90MK2ZsrIeBBCUGwRXbqJ+/iJMQliIEBhOU6AJhtlG/IpHE2bqrYQg5h6HA4yQiRqwEfkGCdTCMmMRw+IbPDCQaHCsCYAQxiZHw3TbmD/ESOHgHwShiEqPhp/gggYkSztIxxCRawy/bmEniJaJtfwiEscQkxkFgRqJESqQwwHhiEuMBp3Vm8RK/cZoHEzKXhCK2QxEPpiJe0YlKCFaKCNv/cYBNUsBRPlkJSc0U+dM7E9H0ThGJbgZT/iR7yj+VqMS06Qr4+OFm2JdCxIa8lugzkJs5K6MfxAaYPUcBpYG5khZJEkUUSb7DPCnKRfPBXj6M8FwuegoLpCgXcQszVjhbJFUJUee2hBhLoYTIcYtB57KY+opSMdVqwatSlZVj05aV//CwJLMX2DluaUcwhXm4ali2XOoLjxUrPV26zFtF4f5p0Gp310+z13BUWNvbehEXona6iAtX/zVZmtfN4WixfsNky4S6gCCVVq3RPLdfSfpv3MRRZfPoLc6Xs/5bt3EyMGzE9h07/Xft2t15z6i9+zgGg8FgMBgMBoPBYDAYDAYj8/APG67Rie8pUDsAAAAASUVORK5CYII=",cy="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAACcCAMAAAC3Fl5oAAAB3VBMVEVMaXH/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/EhL/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/Dw//AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/GRn/NTX/Dw//Fhb/AAD/AAD/AAD/GRn/GRn/Y2P/AAD/AAD/ExP/Ghr/AAD/AAD/MzP/GRn/AAD/Hh7/AAD/RUX/AAD/AAD/AAD/AAD/AAD/AAD/Dg7/AAD/HR3/Dw//FRX/SUn/AAD/////kJD/DQ3/Zmb/+/v/wMD/mJj/6en/vb3/1NT//Pz/ODj/+fn/3Nz/nJz/j4//9/f/7e3/9vb/7Oz/2Nj/x8f/Ozv/+Pj/3d3/nZ3/2dn//f3/6Oj/2tr/v7//09P/vr7/mZn/l5cdSvP3AAAAe3RSTlMAAhLiZgTb/vztB/JMRhlp6lQW86g8mQ4KFPs3UCH5U8huwlesWtTYGI7RsdVeJGfTW5rxnutLsvXWF8vQNdo6qQbuz7D4hgVIx2xtw8GC1TtZaIw0i84P98tU0/fsj7PKaAgiZZxeVfo8Z52eg1P0nESrENnjXVPUgw/uuSmDAAADsUlEQVR42u3aZ3cTRxgF4GtbYleSLdnGcsENG2ODjbExEHrvhAQCIb1Bem+QdkeuuFMNBBJIfmuOckzZI8/srHYmH3Lm+QNXK632LTvQ03Tu/IWeU/tTGTKT2n+q58L5c00wpXJd47DHEt5w47pKxLbhdLdPKb/7dBYxVLxw1GcI/2h1BcpzKNFHLX2JQ4gumaiitqpEEhEdOMJI9h5AFC3feYzI+7IF2tpSLEOqDXpObPRYFm/jCWho/4Ble7MdoT7fzhhq9yHEz28wltU1UPrJZ0wd66HwicfYvEFIfePTAP8tSLTupBHvtGJFH9bSkNrNWEHzERrT34xSH9Ogr1CijkbVAUH1KRqVqkdQAw07iIAaGlcTqI+/0LjeJJ5J0IIEnkpXMdzs4sTtW9dnZq7fuj2xOMtwVWk88RHDjBYejYvnjD8qjOpfQsUqhvj7oSjxcJIhVj3pyKqpNjYvVjQ/RrXq5YABKi3MCYm5BSrtWO5v11DlmlC4RpU1WRS9SJU7QukOVbpQ9JLu549+Dd0AUOlTbkGEuk85vxLAK5QbuytC3R2j3HoAjZSbFxrmKTcCoJdSk0LLJKV6gSaPMqNTQsvUKGW8JrxKqUWhaZFSeWyh1LTQNE2pHF6mzOy40DQ+S5mLimJcENoKlOnBWsr8KbRNUGYt5LXgd6HtD3lNQIoyN4S2G5RJIUOZm0LbTcqsBqVmhLYZSlkPsP4VWf+Rrd+m1v9o9h8Vv5p42C1R5qL1x7WRglOgVN52yfwNOBu76P+lLPoYidu23KPciIHGa07ZeIW1jvcNtI7q5vexCPGYCmf+m/Y9a3sAwQ5bI9T7ukPgPcn9GToEao+xk1OixJT+GIsvNAbx6eAgPq0xiF+KtkpYKhRXCQ8eFFcJhSWGu3rZ8jJkCM8kz9K4TUnrC6mAgzTsB9tLwQ2W15qfosQ2GrQNpZr7aczbzVjBZsvLcaC1g0bsbIVEnU8DOr6H1KDH2LwtUBi0/JII6Dxm9zUXkH+XMWzfh1Dte1i2Pe3QkC77Zel7aehpO8wyHG6Dtt0NjKxhN6I4uSli/TqJiJJDUQ4NDCURXTrXRy1XcumyD24M+AzhD1RXIIZsl/LoyZmurJHDM7s8lvB2FQ/PmPJ6PseAXP5HGMYAAC7ABbgAF+ACXIALcAEuwAW4ABfgAlyAC3ABLsAFuID/d8Cx4NEt8/byOf0wLnis8zjMq9/Kp7bWw4JOj8u8TlhRl+G/Mp2wpOX48GffvvZ1CyL4B53LAS6zb08EAAAAAElFTkSuQmCC";var uy=(e=>(e.QQ="qq",e.GOOGLE="google",e.AMAP="AMap",e.BMAP="BMapGL",e.UNKNOWN="",e))(uy||{});function dy(){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 py=!1,hy=!1;const fy=()=>hy?py:(hy=!0,py="AMap"===dy().type),gy=()=>"BMapGL"===dy().type;const vy=yu({name:"MapMarker",props:{id:{type:[Number,String],default:""},latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},title:{type:String,default:""},iconPath:{type:String,require:!0},rotate:{type:[Number,String],default:0},alpha:{type:[Number,String],default:1},width:{type:[Number,String],default:""},height:{type:[Number,String],default:""},callout:{type:Object,default:null},label:{type:Object,default:null},anchor:{type:Object,default:null},clusterId:{type:[Number,String],default:""},customCallout:{type:Object,default:null},ariaLabel:{type:String,default:""}},setup(e){const t=String(isNaN(Number(e.id))?"":e.id),n=Ai("onMapReady"),o=function(e){const t="uni-map-marker-label-"+e,n=document.createElement("style");return n.id=t,document.head.appendChild(n),Ho((()=>{n.remove()})),function(e){const o=Object.assign({},e,{position:"absolute",top:"70px",borderStyle:"solid"}),i=document.createElement("div");return Object.keys(o).forEach((e=>{i.style[e]=o[e]||""})),n.innerText=`.${t}{${i.getAttribute("style")}}`,t}}(t);let i;function a(e){fy()?e.removeAMapText():e.setMap(null)}if(n(((n,r,s)=>{function l(e){const l=e.title;let c;c=fy()?new r.LngLat(e.longitude,e.latitude):gy()?new r.Point(e.longitude,e.latitude):new r.LatLng(e.latitude,e.longitude);const u=new Image;let d=0;u.onload=()=>{const p=e.anchor||{};let h,f,g,m,v="number"==typeof p.x?p.x:.5,y="number"==typeof p.y?p.y:1;e.iconPath&&(e.width||e.height)?(f=e.width||u.width/u.height*e.height,g=e.height||u.height/u.width*e.width):(f=u.width/2,g=u.height/2),d=g,m=g-(g-y*g),h="MarkerImage"in r?new r.MarkerImage(u.src,null,null,new r.Point(v*f,y*g),new r.Size(f,g)):"Icon"in r?new r.Icon({image:u.src,size:new r.Size(f,g),imageSize:new r.Size(f,g),imageOffset:new r.Pixel(v*f,y*g)}):{url:u.src,anchor:new r.Point(v,y),size:new r.Size(f,g)},gy()?(i=new r.Marker(new r.Point(c.lng,c.lat)),n.addOverlay(i)):(i.setPosition(c),i.setIcon(h)),"setRotation"in i&&i.setRotation(e.rotate||0);const _=e.label||{};let b;if("label"in i&&(i.label.setMap(null),delete i.label),_.content){const e={borderColor:_.borderColor,borderWidth:(Number(_.borderWidth)||0)+"px",padding:(Number(_.padding)||0)+"px",borderRadius:(Number(_.borderRadius)||0)+"px",backgroundColor:_.bgColor,color:_.color,fontSize:(_.fontSize||14)+"px",lineHeight:(_.fontSize||14)+"px",marginLeft:(Number(_.anchorX||_.x)||0)+"px",marginTop:(Number(_.anchorY||_.y)||0)+"px"};if("Label"in r)b=new r.Label({position:c,map:n,clickable:!1,content:_.content,style:e}),i.label=b;else if("setLabel"in i)if(fy()){const t=`
\n ${_.content}\n
`;i.setLabel({content:t,direction:"bottom-right"})}else{const t=o(e);i.setLabel({text:_.content,color:e.color,fontSize:e.fontSize,className:t})}}const w=e.callout||{};let x,A=i.callout;if(w.content||l){fy()&&w.content&&(w.content=w.content.replaceAll("\n","
"));const o="0px 0px 3px 1px rgba(0,0,0,0.5)";let a=-d/2;if((e.width||e.height)&&(a+=14-d/2),x=w.content?{position:c,map:n,top:m,offsetY:a,content:w.content,color:w.color,fontSize:w.fontSize,borderRadius:w.borderRadius,bgColor:w.bgColor,padding:w.padding,boxShadow:w.boxShadow||o,display:w.display}:{position:c,map:n,top:m,offsetY:a,content:l,boxShadow:o},A)A.setOption(x);else if(fy()){const e=e=>{""!==e&&s("callouttap",{},{markerId:Number(e)})};A=i.callout=new r.Callout(x,e)}else A=i.callout=new r.Callout(x),A.div.onclick=function(e){""!==t&&s("callouttap",e,{markerId:Number(t)}),e.stopPropagation(),e.preventDefault()},dy().type===uy.GOOGLE&&(A.div.ontouchstart=function(e){e.stopPropagation()},A.div.onpointerdown=function(e){e.stopPropagation()})}else A&&(a(A),delete i.callout)},e.iconPath?u.src=Mu(e.iconPath):console.error("Marker.iconPath is required.")}!function(e){gy()||(i=new r.Marker({map:n,flat:!0,autoRotation:!1})),l(e);const o=r.event||r.Event;gy()||o.addListener(i,"click",(()=>{const n=i.callout;if(n&&!n.alwaysVisible)if(fy())n.visible=!n.visible,n.visible?i.callout.createAMapText():i.callout.removeAMapText();else if(n.set("visible",!n.visible),n.visible){const e=n.div,t=e.parentNode;t.removeChild(e),t.appendChild(e)}t&&s("markertap",{},{markerId:Number(t),latitude:e.latitude,longitude:e.longitude})}))}(e),oo(e,l)})),t){const e=Ai("addMapChidlContext"),o=Ai("removeMapChidlContext"),a={id:t,translate(e){n(((t,n,o)=>{const a=e.destination,r=e.duration,s=!!e.autoRotate;let l=Number(e.rotate)||0,c=0;"getRotation"in i&&(c=i.getRotation());const u=i.getPosition(),d=new n.LatLng(a.latitude,a.longitude),p=n.geometry.spherical.computeDistanceBetween(u,d)/1e3/(("number"==typeof r?r:1e3)/36e5),h=n.event||n.Event,f=h.addListener(i,"moving",(e=>{const t=e.latLng,n=i.label;n&&n.setPosition(t);const o=i.callout;o&&o.setPosition(t)})),g=h.addListener(i,"moveend",(()=>{g.remove(),f.remove(),i.lastPosition=u,i.setPosition(d);const t=i.label;t&&t.setPosition(d);const n=i.callout;n&&n.setPosition(d);const o=e.animationEnd;m(o)&&o()}));let v=0;s&&(i.lastPosition&&(v=n.geometry.spherical.computeHeading(i.lastPosition,u)),l=n.geometry.spherical.computeHeading(u,d)-v),"setRotation"in i&&i.setRotation(c+l),"moveTo"in i?i.moveTo(d,p):(i.setPosition(d),h.trigger(i,"moveend",{}))}))}};e(a),Ho((()=>o(a)))}return Ho((function(){i&&(i.label&&"setMap"in i.label&&i.label.setMap(null),i.callout&&a(i.callout),i.setMap(null))})),()=>null}});function yy(e){if(!e)return{r:0,g:0,b:0,a:0};let t=e.slice(1);const n=t.length;if(![3,4,6,8].includes(n))return{r:0,g:0,b:0,a:0};3!==n&&4!==n||(t=t.replace(/(\w{1})/g,"$1$1"));let[o,i,a,r]=t.match(/(\w{2})/g);const s=parseInt(o,16),l=parseInt(i,16),c=parseInt(a,16);return r?{r:s,g:l,b:c,a:(`0x100${r}`-65536)/255}:{r:s,g:l,b:c,a:1}}const _y={points:{type:Array,require:!0},color:{type:String,default:"#000000"},width:{type:[Number,String],default:""},dottedLine:{type:[Boolean,String],default:!1},arrowLine:{type:[Boolean,String],default:!1},arrowIconPath:{type:String,default:""},borderColor:{type:String,default:"#000000"},borderWidth:{type:[Number,String],default:""},colorList:{type:Array,default:()=>[]},level:{type:String,default:""}},by=yu({name:"MapPolyline",props:_y,setup(e){let t,n;function o(){t&&t.setMap(null),n&&n.setMap(null)}return Ai("onMapReady")(((i,a)=>{function r(e){const o=[];e.points.forEach((e=>{let t;t=fy()?[e.longitude,e.latitude]:gy()?new a.Point(e.longitude,e.latitude):new a.LatLng(e.latitude,e.longitude),o.push(t)}));const r=Number(e.width)||1,{r:s,g:l,b:c,a:u}=yy(e.color),{r:d,g:p,b:h,a:f}=yy(e.borderColor),g={map:i,clickable:!1,path:o,strokeWeight:r,strokeColor:e.color||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"},m=Number(e.borderWidth)||0,v={map:i,clickable:!1,path:o,strokeWeight:r+2*m,strokeColor:e.borderColor||void 0,strokeDashStyle:e.dottedLine?"dash":"solid"};"Color"in a?(g.strokeColor=new a.Color(s,l,c,u),v.strokeColor=new a.Color(d,p,h,f)):(g.strokeColor=`rgb(${s}, ${l}, ${c})`,g.strokeOpacity=u,v.strokeColor=`rgb(${d}, ${p}, ${h})`,v.strokeOpacity=f),m&&(n=new a.Polyline(v)),gy()?(t=new a.Polyline(g.path,g),i.addOverlay(t)):t=new a.Polyline(g)}r(e),oo(e,(function(e){o(),r(e)}))})),Ho(o),()=>null}}),wy=yu({name:"MapCircle",props:{latitude:{type:[Number,String],require:!0},longitude:{type:[Number,String],require:!0},color:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},radius:{type:[Number,String],require:!0},strokeWidth:{type:[Number,String],default:""},level:{type:String,default:""}},setup(e){let t;function n(){t&&t.setMap(null)}return Ai("onMapReady")(((o,i)=>{function a(e){const n=fy()||gy()?[e.longitude,e.latitude]:new i.LatLng(e.latitude,e.longitude),a={map:o,center:n,clickable:!1,radius:e.radius,strokeWeight:Number(e.strokeWidth)||1,strokeDashStyle:"solid"};if(gy())a.strokeColor=e.color,a.fillColor=e.fillColor||"#000",a.fillOpacity=1;else{const{r:t,g:n,b:o,a:r}=yy(e.fillColor),{r:s,g:l,b:c,a:u}=yy(e.color);"Color"in i?(a.fillColor=new i.Color(t,n,o,r),a.strokeColor=new i.Color(s,l,c,u)):(a.fillColor=`rgb(${t}, ${n}, ${o})`,a.fillOpacity=r,a.strokeColor=`rgb(${s}, ${l}, ${c})`,a.strokeOpacity=u)}if(gy()){let e=new i.Point(a.center[0],a.center[1]);t=new i.Circle(e,a.radius,a),o.addOverlay(t)}else t=new i.Circle(a),fy()&&o.add(t)}a(e),oo(e,(function(e){n(),a(e)}))})),Ho(n),()=>null}}),xy={id:{type:[Number,String],default:""},position:{type:Object,required:!0},iconPath:{type:String,required:!0},clickable:{type:[Boolean,String],default:""},trigger:{type:Function,required:!0}},Ay=yu({name:"MapControl",props:xy,setup(e){const t=Ba((()=>Mu(e.iconPath))),n=Ba((()=>{let t=`top:${e.position.top||0}px;left:${e.position.left||0}px;`;return e.position.width&&(t+=`width:${e.position.width}px;`),e.position.height&&(t+=`height:${e.position.height}px;`),t})),o=t=>{e.clickable&&e.trigger("controltap",t,{controlId:e.id})};return()=>sa("div",{class:"uni-map-control"},[sa("img",{src:t.value,style:n.value,class:"uni-map-control-icon",onClick:o},null,12,["src","onClick"])])}}),Ty=he((()=>{xp.forEach((e=>{ky.prototype[e]=function(t){m(t)&&this._events[e].push(t)}})),Ap.forEach((e=>{ky.prototype[e]=function(t){var n=this._events[e.replace("off","on")],o=n.indexOf(t);o>=0&&n.splice(o,1)}}))}));class ky{constructor(){this._src="";var e=this._audio=new Audio;this._stoping=!1;["src","autoplay","loop","duration","currentTime","paused","volume"].forEach((t=>{Object.defineProperty(this,t,{set:"src"===t?t=>(e.src=Mu(t),this._src=t,t):n=>(e[t]=n,n),get:"src"===t?()=>this._src:()=>e[t]})})),this.startTime=0,Object.defineProperty(this,"obeyMuteSwitch",{set:()=>!1,get:()=>!1}),Object.defineProperty(this,"buffered",{get(){var t=e.buffered;return t.length?t.end(t.length-1):0}}),this._events={},xp.forEach((e=>{this._events[e]=[]})),e.addEventListener("loadedmetadata",(()=>{var t=Number(this.startTime)||0;t>0&&(e.currentTime=t)}));var t=["canplay","pause","seeking","seeked","timeUpdate"];t.concat(["play","ended","error","waiting"]).forEach((n=>{e.addEventListener(n.toLowerCase(),(()=>{if(this._stoping&&t.indexOf(n)>=0)return;const e=`on${n.slice(0,1).toUpperCase()}${n.slice(1)}`;this._events[e].forEach((e=>{e()}))}),!1)})),Ty()}play(){this._stoping=!1,this._audio.play()}pause(){this._audio.pause()}stop(){this._stoping=!0,this._audio.pause(),this._audio.currentTime=0,this._events.onStop.forEach((e=>{e()}))}seek(e){this._stoping=!1,"number"!=typeof(e=Number(e))||isNaN(e)||(this._audio.currentTime=e)}destroy(){this.stop()}}const Sy=Od(0,(()=>new ky)),Cy=Md("makePhoneCall",(({phoneNumber:e},{resolve:t})=>(window.location.href=`tel:${e}`,t()))),Ey=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let Iy;function By(){if(Iy=Iy||Ey.__DC_STAT_UUID,!Iy){Iy=Date.now()+""+Math.floor(1e7*Math.random());try{Ey.__DC_STAT_UUID=Iy}catch(e){}}return Iy}function Py(){if(!0!==__uniConfig.darkmode)return v(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function Ry(){let e,t="0",n="",o="phone";const i=navigator.language;if($u){e="iOS";const o=Du.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const i=Du.match(/\(([a-zA-Z]+);/);i&&(n=i[1])}else if(Nu){e="Android";const o=Du.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const i=Du.match(/\((.+?)\)/),a=i?i[1].split(";"):Du.split(" "),r=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)s="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n{const e=window.devicePixelRatio,t=Vu(),n=zu(t),o=Wu(t,n),i=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),a=Hu(o);let r=window.innerHeight;const s=dc.top,l={left:dc.left,right:a-dc.right,top:dc.top,bottom:r-dc.bottom,width:a-dc.left-dc.right,height:r-dc.top-dc.bottom},{top:c,bottom:u}=mc();return r-=c,r-=u,{windowTop:c,windowBottom:u,windowWidth:a,windowHeight:r,pixelRatio:e,screenWidth:o,screenHeight:i,statusBarHeight:s,safeArea:l,safeAreaInsets:{top:dc.top,right:dc.right,bottom:dc.bottom,left:dc.left},screenTop:i-r}}));let Oy,My=!0;function Dy(){My&&(Oy=Ry())}const Ny=Od(0,(()=>{Dy();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:i,system:a,deviceOrientation:r,deviceType:s,osname:l,osversion:u}=Oy;return c({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:By(),deviceOrientation:r,deviceType:s,model:o,platform:i,system:a},{})})),$y=Od(0,(()=>{Dy();const{theme:e,language:t,browserName:n,browserVersion:o}=Oy;return c({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Wp?Wp():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:""},{})})),qy=Od(0,(()=>{My=!0,Dy(),My=!1;const e=Ly(),t=Ny(),n=$y();My=!0;const{ua:o,browserName:i,browserVersion:a,osname:r,osversion:s}=Oy,l=c(e,t,n,{ua:o,browserName:i,browserVersion:a,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:r.toLocaleLowerCase(),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 A(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(l)})),Uy=Md("getSystemInfo",((e,{resolve:t})=>t(qy())));const jy=Md("getNetworkType",((e,{resolve:t})=>{const n=navigator.connection||navigator.webkitConnection||navigator.mozConnection;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})}));let Fy=null;const Vy=Pd("onAccelerometer",(()=>{zy()})),zy=Md("startAccelerometer",((e,{resolve:t,reject:n})=>{if(window.DeviceMotionEvent){if(!Fy){if(DeviceMotionEvent.requestPermission)return void DeviceMotionEvent.requestPermission().then((e=>{"granted"===e?(o(),t()):n(`${e}`)})).catch((e=>{n(`${e}`)}));o()}t()}else n();function o(){Fy=function(e){const t=e.acceleration||e.accelerationIncludingGravity;ix.invokeOnCallback("onAccelerometer",{x:t&&t.x||0,y:t&&t.y||0,z:t&&t.z||0})},window.addEventListener("devicemotion",Fy,!1)}})),Wy=Md("stopAccelerometer",((e,{resolve:t})=>{Fy&&(window.removeEventListener("devicemotion",Fy,!1),Fy=null),t()}));let Hy=null;const Xy=Pd("onCompass",(()=>{Yy()})),Ky=Rd("offCompass",(()=>{Gy()})),Yy=Md("startCompass",((e,{resolve:t,reject:n})=>{if(window.DeviceOrientationEvent){if(!Hy){if(DeviceOrientationEvent.requestPermission)return void DeviceOrientationEvent.requestPermission().then((e=>{"granted"===e?(o(),t()):n(`${e}`)})).catch((e=>{n(`${e}`)}));o()}t()}else n();function o(){Hy=function(e){const t=360-(null!==e.alpha?e.alpha:360);ix.invokeOnCallback("onCompass",{direction:t})},window.addEventListener("deviceorientation",Hy,!1)}})),Gy=Md("stopCompass",((e,{resolve:t})=>{Hy&&(window.removeEventListener("deviceorientation",Hy,!1),Hy=null),t()})),Qy=!!window.navigator.vibrate,Jy=Md("vibrateShort",((e,{resolve:t,reject:n})=>{Qy&&window.navigator.vibrate(15)?t():n("vibrateLong:fail")})),Zy=Md("vibrateLong",((e,{resolve:t,reject:n})=>{Qy&&window.navigator.vibrate(400)?t():n("vibrateLong:fail")}));var e_=(e,t,n)=>new Promise(((o,i)=>{var a=e=>{try{s(n.next(e))}catch(gB){i(gB)}},r=e=>{try{s(n.throw(e))}catch(gB){i(gB)}},s=e=>e.done?o(e.value):Promise.resolve(e.value).then(a,r);s((n=n.apply(e,t)).next())}));const t_=Md("getClipboardData",((e,t)=>e_(void 0,[e,t],(function*(e,{resolve:t,reject:n}){Ol();const{t:o}=kl();try{t({data:yield navigator.clipboard.readText()})}catch(i){!function(e,t){const n=document.getElementById("#clipboard"),o=n?n.value:void 0;o?e({data:o}):t()}(t,(()=>{n(`${i} ${o("uni.getClipboardData.fail")}`)}))}})))),n_=Md("setClipboardData",((e,t)=>e_(void 0,[e,t],(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.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 a=document.execCommand("Copy",!1);i.blur(),a?t():n()}(e,t,n)}}))),0,eh);const o_=Od(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)})),i_=Md("setStorage",(({key:e,data:t},{resolve:n,reject:o})=>{try{o_(e,t),n()}catch(i){o(i.message)}}));function a_(e){const t=localStorage&&localStorage.getItem(e);if(!v(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=v(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 r_=Od(0,(e=>{try{return a_(e)}catch(t){return""}})),s_=Md("getStorage",(({key:e},{resolve:t,reject:n})=>{try{t({data:a_(e)})}catch(o){n(o.message)}})),l_=Od(0,(e=>{localStorage&&localStorage.removeItem(e)})),c_=Md("removeStorage",(({key:e},{resolve:t})=>{l_(e),t()})),u_=Od(0,(()=>{localStorage&&localStorage.clear()})),d_=Md("openDocument",(({filePath:e},{resolve:t})=>(window.open(e),t())),0,th),p_=Md("hideKeyboard",((e,{resolve:t,reject:n})=>{const o=document.activeElement;!o||"TEXTAREA"!==o.tagName&&"INPUT"!==o.tagName||(o.blur(),t())}));const h_=Md("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,uh),f_={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 g_({count:e,sourceType:t,type:n,extension:o}){ag();const i=document.createElement("input");return i.type="file",pe(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}/${f_[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 m_=null;const v_=Md("chooseFile",(({count:e,sourceType:t,type:n,extension:o},{resolve:i,reject:a})=>{Rl();const{t:r}=kl();m_&&(document.body.removeChild(m_),m_=null),m_=g_({count:e,sourceType:t,type:n,extension:o}),document.body.appendChild(m_),m_.addEventListener("change",(function(t){const n=t.target,o=[];if(n&&n.files){const t=n.files.length;for(let i=0;i(a=a||Zh(t),a)}),ie))},tempFiles:o})})),m_.click(),rg()||console.warn(r("uni.chooseFile.notUserActivation"))}),0,ch);let y_=null;const __=Md("chooseImage",(({count:e,sourceType:t,extension:n},{resolve:o,reject:i})=>{Rl();const{t:a}=kl();y_&&(document.body.removeChild(y_),y_=null),y_=g_({count:e,sourceType:t,extension:n,type:"image"}),document.body.appendChild(y_),y_.addEventListener("change",(function(t){const n=t.target,i=[];if(n&&n.files){const t=n.files.length;for(let o=0;o(a=a||Zh(t),a)}),oe))},tempFiles:i})})),y_.click(),rg()||console.warn(a("uni.chooseFile.notUserActivation"))}),0,rh),b_={esc:["Esc","Escape"],enter:["Enter"]},w_=Object.keys(b_);function x_(){const e=cn(""),t=cn(!1),n=n=>{if(t.value)return;const o=w_.find((e=>-1!==b_[e].indexOf(n.key)));o&&(e.value=o),En((()=>e.value=""))};return Fo((()=>{document.addEventListener("keyup",n)})),Wo((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}const A_=sa("div",{class:"uni-mask"},null,-1);function T_(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),Ir(xo({setup:()=>()=>(Yi(),ea(e,t,null,16))}))}function k_(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function S_(e,{onEsc:t,onEnter:n}){const o=cn(e.visible),{key:i,disable:a}=x_();return oo((()=>e.visible),(e=>o.value=e)),oo((()=>o.value),(e=>a.value=!e)),to((()=>{const{value:e}=i;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}let C_=0,E_="";function I_(e){let t=C_;C_+=e?1:-1,C_=Math.max(0,C_),C_>0?0===t&&(E_=document.body.style.overflow,document.body.style.overflow="hidden"):(document.body.style.overflow=E_,E_="")}function B_(){Fo((()=>I_(!0))),Ho((()=>I_(!1)))}const P_=yu({name:"ImageView",props:{src:{type:String,default:""}},setup(e){const t=Ht({direction:"none"});let n=1,o=0,i=0,a=0,r=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();a=t.width,r=t.height,d(e)}function u(e){const s=n*o>a,l=n*i>r;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 sa(Ag,{style:n,onTouchstart:_u(c),onTouchmove:_u(d),onTouchend:_u(u)},{default:()=>[sa(Dg,{style:n,direction:t.direction,inertia:!0,scale:!0,"scale-min":"1","scale-max":"4",onScale:s},{default:()=>[sa("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 R_(e){let t="number"==typeof e.current?e.current:e.urls.indexOf(e.current);return t=t<0?0:t,t}const L_=yu({name:"ImagePreview",props:{urls:{type:Array,default:()=>[]},current:{type:[Number,String],default:0}},emits:["close"],setup(e,{emit:t}){B_();const n=cn(null),o=cn(R_(e));let i;function a(){i||En((()=>{t("close")}))}function r(e){o.value=e.detail.current}oo((()=>e.current),(()=>o.value=R_(e))),Fo((()=>{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 sa("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:a},[sa(wm,{navigation:"auto",current:o.value,onChange:r,"indicator-dots":!1,autoplay:!1,style:{position:"absolute",left:"0",top:"0",width:"100%",height:"100%"}},(i=t=e.urls.map((e=>sa(Am,null,{default:()=>[sa(P_,{src:e},null,8,["src"])]}))),"function"==typeof i||"[object Object]"===Object.prototype.toString.call(i)&&!ta(i)?t:{default:()=>[t],_:1}),8,["current","onChange"]),sa("div",{style:s},[Bc(Ec,"#ffffff",26)],4)],8,["onClick"]);var i}}});let O_,M_=null;const D_=()=>{M_=null,En((()=>{null==O_||O_.unmount(),O_=null}))},N_=Md("previewImage",((e,{resolve:t})=>{M_?c(M_,e):(M_=Ht(e),En((()=>{O_=T_(L_,M_,D_),O_.mount(k_("u-a-p"))}))),t()}),0,dh);let $_=null;const q_=Md("chooseVideo",(({sourceType:e,extension:t},{resolve:n,reject:o})=>{Rl();const{t:i}=kl();$_&&(document.body.removeChild($_),$_=null),$_=g_({sourceType:e,extension:t,type:"video"}),document.body.appendChild($_),$_.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||Zh(this.tempFile),o}});const a=document.createElement("video");if(void 0!==a.onloadedmetadata){const e=Zh(t);a.onloadedmetadata=function(){ef(e),n(c(i,{duration:a.duration||0,width:a.videoWidth||0,height:a.videoHeight||0}))},setTimeout((()=>{a.onloadedmetadata=null,ef(e),n(i)}),300),a.src=e}else n(i)})),$_.click(),rg()||console.warn(i("uni.chooseFile.notUserActivation"))}),0,sh),U_=Ld("request",(({url:e,data:t,header:n={},method:o,dataType:i,responseType:a,withCredentials:r,timeout:s=__uniConfig.networkTimeout.request},{resolve:l,reject:c})=>{let u=null;const d=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(v(t)||t instanceof ArrayBuffer)u=t;else if("json"===d)try{u=JSON.stringify(t)}catch(m){u=t.toString()}else if("urlencoded"===d){const e=[];for(const n in t)p(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));u=e.join("&")}else u=t.toString();const h=new XMLHttpRequest,f=new j_(h);h.open(o,e);for(const v in n)p(n,v)&&h.setRequestHeader(v,n[v]);const g=setTimeout((function(){h.onload=h.onabort=h.onerror=null,f.abort(),c("timeout",{errCode:5})}),s);return h.responseType=a,h.onload=function(){clearTimeout(g);const e=h.status;let t="text"===a?h.responseText:h.response;if("text"===a&&"json"===i)try{t=JSON.parse(t)}catch(m){}l({data:t,statusCode:e,header:F_(h.getAllResponseHeaders()),cookies:[]})},h.onabort=function(){clearTimeout(g),c("abort",{errCode:600003})},h.onerror=function(){clearTimeout(g),c(void 0,{errCode:5})},h.withCredentials=r,h.send(u),f}),0,gh);class j_{constructor(e){this._xhr=e}abort(){this._xhr&&(this._xhr.abort(),delete this._xhr)}onHeadersReceived(e){throw new Error("Method not implemented.")}offHeadersReceived(e){throw new Error("Method not implemented.")}}function F_(e){const t={};return e.split("\n").forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}class V_{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){m(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 z_=Ld("downloadFile",(({url:e,header:t={},timeout:n=__uniConfig.networkTimeout.downloadFile},{resolve:o,reject:i})=>{var a,r=new XMLHttpRequest,s=new V_(r);return r.open("GET",e,!0),Object.keys(t).forEach((e=>{r.setRequestHeader(e,t[e])})),r.responseType="blob",r.onload=function(){clearTimeout(a);const t=r.status,n=this.response;let i;const s=r.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:Zh(n)})},r.onabort=function(){clearTimeout(a),i("abort",{errCode:600003})},r.onerror=function(){clearTimeout(a),i("",{errCode:602001})},r.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})}))},r.send(),a=setTimeout((function(){r.onprogress=r.onload=r.onabort=r.onerror=null,s.abort(),i("timeout",{errCode:5})}),n),s}),0,mh);class W_{constructor(e){this._callbacks=[],this._xhr=e}onProgressUpdate(e){m(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 H_=Ld("uploadFile",(({url:e,file:t,filePath:n,name:o,files:i,header:a={},formData:r={},timeout:s=__uniConfig.networkTimeout.uploadFile},{resolve:l,reject:c})=>{var u=new W_;return h(i)&&i.length||(i=[{name:o,file:t,uri:n}]),Promise.all(i.map((({file:e,uri:t})=>e instanceof Blob?Promise.resolve(Jh(e)):Qh(t)))).then((function(t){var n,o=new XMLHttpRequest,d=new FormData;Object.keys(r).forEach((e=>{d.append(e,r[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(a).forEach((e=>{o.setRequestHeader(e,a[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,vh),X_=[],K_={open:"",close:"",error:"",message:""};class Y_{constructor(e,t,n){let o;this._callbacks={open:[],close:[],error:[],message:[]};try{const n=this._webSocket=new WebSocket(e,t);n.binaryType="arraybuffer";["open","close","error","message"].forEach((e=>{this._callbacks[e]=[],n.addEventListener(e,(t=>{const{data:n,code:o,reason:i}=t,a="message"===e?{data:n}:"close"===e?{code:o,reason:i}:{};if(this._callbacks[e].forEach((t=>{try{t(a)}catch(gB){console.error(`thirdScriptError\n${gB};at socketTask.on${P(e)} callback function\n`,gB)}})),this===X_[0]&&K_[e]&&ix.invokeOnCallback(K_[e],a),"error"===e||"close"===e){const e=X_.indexOf(this);e>=0&&X_.splice(e,1)}}))}));["CLOSED","CLOSING","CONNECTING","OPEN","readyState"].forEach((e=>{Object.defineProperty(this,e,{get:()=>n[e]})}))}catch(gB){o=gB}n&&n(o,this)}send(e){const t=(e||{}).data,n=this._webSocket;try{if(n.readyState!==n.OPEN)throw me(e,{errMsg:"sendSocketMessage:fail SocketTask.readyState is not OPEN",errCode:10002}),new Error("SocketTask.readyState is not OPEN");n.send(t),me(e,"sendSocketMessage:ok")}catch(o){me(e,{errMsg:`sendSocketMessage:fail ${o}`,errCode:602001})}}close(e={}){const t=this._webSocket;try{const n=e.code||1e3,o=e.reason;v(o)?t.close(n,o):t.close(n),me(e,"closeSocket:ok")}catch(n){me(e,`closeSocket:fail ${n}`)}}onOpen(e){this._callbacks.open.push(e)}onMessage(e){this._callbacks.message.push(e)}onError(e){this._callbacks.error.push(e)}onClose(e){this._callbacks.close.push(e)}}const G_=Ld("connectSocket",(({url:e,protocols:t},{resolve:n,reject:o})=>new Y_(e,t,((e,t)=>{e?o(e.toString(),{errCode:600009}):(X_.push(t),n())}))),0,yh);function Q_(e,t,n,o,i){const a=e[t];m(a)&&a.call(e,c({},n,{success(){o()},fail({errMsg:e}){i(e.replace("sendSocketMessage:fail ",""))},complete:void 0}))}const J_=Md("sendSocketMessage",((e,{resolve:t,reject:n})=>{const o=X_[0];o&&o.readyState===o.OPEN?Q_(o,"send",e,t,n):n("WebSocket is not connected")})),Z_=Md("closeSocket",((e,{resolve:t,reject:n})=>{const o=X_[0];o?Q_(o,"close",e,t,n):n("WebSocket is not connected")}));function eb(e){const t=`onSocket${P(e)}`;return Pd(t,(()=>{K_[e]=t}))}const tb=eb("open"),nb=eb("error"),ob=eb("message"),ib=eb("close"),ab=Md("getLocation",(({type:e,altitude:t,highAccuracyExpireTime:n,isHighAccuracy:o},{resolve:i,reject:a})=>{const r=dy();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)=>{r.type===uy.QQ?ny(`https://apis.map.qq.com/ws/location/v1/ip?output=jsonp&key=${r.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")))):r.type===uy.GOOGLE?U_({method:"POST",url:`https://www.googleapis.com/geolocation/v1/geolocate?key=${r.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"))}}):r.type===uy.AMAP?ay([],(()=>{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=dy();return e&&"WGS84"===e.toUpperCase()||["google"].includes(o.type)||n?Promise.resolve(t):"qq"===o.type?new Promise((e=>{ny(`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=>{ay([],(()=>{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"))})(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=>{a(e.message)}))})).catch((e=>{a(e.message||JSON.stringify(e))}))}),0,oh);const rb=yu({name:"LocationView",props:{latitude:{type:Number},longitude:{type:Number},scale:{type:Number,default:18},name:{type:String,default:""},address:{type:String,default:""}},emits:["close"],setup(e,{emit:t}){const n=function(e){const t=Ht({center:{latitude:0,longitude:0},marker:{id:1,latitude:0,longitude:0,iconPath:cy,width:32,height:52},location:{id:2,latitude:0,longitude:0,iconPath:ly,width:44,height:44}});function n(){e.latitude&&e.longitude&&(t.center.latitude=e.latitude,t.center.longitude=e.longitude,t.marker.latitude=e.latitude,t.marker.longitude=e.longitude)}return oo([()=>e.latitude,()=>e.longitude],n),n(),t}(e);function o(e){const t=e.detail.centerLocation;t&&(n.center.latitude=t.latitude,n.center.longitude=t.longitude)}function i(){const t=dy();let o="";if(t.type===uy.GOOGLE){o=`https://www.google.com/maps/dir/?api=1${n.location.latitude?`&origin=${n.location.latitude}%2C${n.location.longitude}`:""}&destination=${e.latitude}%2C${e.longitude}`}else if(t.type===uy.QQ){o=`https://apis.map.qq.com/uri/v1/routeplan?type=drive${n.location.latitude?`&fromcoord=${n.location.latitude}%2C${n.location.longitude}&from=${encodeURIComponent("我的位置")}`:""}&tocoord=${e.latitude}%2C${e.longitude}&to=${encodeURIComponent(e.name||"目的地")}&ref=${t.key}`}else if(t.type===uy.AMAP){o=`https://uri.amap.com/navigation?${n.location.latitude?`from=${n.location.longitude},${n.location.latitude},${encodeURIComponent("我的位置")}&`:""}to=${e.longitude},${e.latitude},${encodeURIComponent(e.name||"目的地")}`}window.open(o)}function a(){t("close")}function r({latitude:e,longitude:t}){n.center.latitude=e,n.center.longitude=t}return B_(),ab({type:"gcj02",success:({latitude:e,longitude:t})=>{n.location.latitude=e,n.location.longitude=t}}),()=>sa("div",{class:"uni-system-open-location"},[sa(Ww,{latitude:n.center.latitude,longitude:n.center.longitude,class:"map",markers:[n.marker,n.location],onRegionchange:o},{default:()=>[sa("div",{class:"map-move",onClick:()=>r(n.location)},[Bc(sy,"#000000",24)],8,["onClick"])]},8,["latitude","longitude","markers","onRegionchange"]),sa("div",{class:"info"},[sa("div",{class:"name",onClick:()=>r(n.marker)},[e.name],8,["onClick"]),sa("div",{class:"address",onClick:()=>r(n.marker)},[e.address],8,["onClick"]),sa("div",{class:"nav",onClick:i},[Bc("M28 17c-6.49396875 0-12.13721875 2.57040625-15 6.34840625V5.4105l6.29859375 6.29859375c0.387875 0.387875 1.02259375 0.387875 1.4105 0 0.387875-0.387875 0.387875-1.02259375 0-1.4105L12.77853125 2.36803125a0.9978125 0.9978125 0 0 0-0.0694375-0.077125c-0.1944375-0.1944375-0.45090625-0.291375-0.70721875-0.290875l-0.00184375-0.0000625-0.00184375 0.0000625c-0.2563125-0.0005-0.51278125 0.09640625-0.70721875 0.290875a0.9978125 0.9978125 0 0 0-0.0694375 0.077125l-7.930625 7.9305625c-0.387875 0.387875-0.387875 1.02259375 0 1.4105 0.387875 0.387875 1.02259375 0.387875 1.4105 0L11 5.4105V29c0 0.55 0.45 1 1 1s1-0.45 1-1c0-5.52284375 6.71571875-10 15-10 0.55228125 0 1-0.44771875 1-1 0-0.55228125-0.44771875-1-1-1z","#ffffff",26)],8,["onClick"])]),sa("div",{class:"nav-btn-back",onClick:a},[Bc(Cc,"#ffffff",26)],8,["onClick"])])}});let sb=null;const lb=Md("openLocation",((e,{resolve:t})=>{sb?c(sb,e):(sb=Ht(e),En((()=>{const e=T_(rb,sb,(()=>{sb=null,En((()=>{e.unmount()}))}));e.mount(k_("u-a-o"))}))),t()}),0,ah);const cb=yu({name:"LoctaionPicker",props:{latitude:{type:Number},longitude:{type:Number}},emits:["close"],setup(e,{emit:t}){B_(),Nl();const{t:n}=kl(),o=function(e){const t=Ht({latitude:0,longitude:0,keyword:"",searching:!1});function n(){e.latitude&&e.longitude&&(t.latitude=e.latitude,t.longitude=e.longitude)}return oo([()=>e.latitude,()=>e.longitude],n),n(),t}(e),{list:i,listState:a,loadMore:r,reset:s,getList:l}=function(e){const t=__uniConfig.qqMapKey,n=Ht([]),o=cn(-1),i=Ba((()=>n[o.value])),a=Ht({loading:!0,pageSize:20,pageIndex:1,hasNextPage:!0,nextPage:null,selectedIndex:o,selected:i}),r=cn(""),s=Ba((()=>r.value?`region(${r.value},1,${e.latitude},${e.longitude})`:`nearby(${e.latitude},${e.longitude},5000)`));function l(e){e.forEach((e=>{n.push({name:e.title||e.name,address:e.address,distance:e._distance||e.distance,latitude:e.location.lat,longitude:e.location.lng})}))}function c(){a.loading=!0;const o=dy();if(o.type===uy.GOOGLE){if(a.pageIndex>1&&a.nextPage)return void a.nextPage();new google.maps.places.PlacesService(document.createElement("div"))[e.searching?"textSearch":"nearbySearch"]({location:{lat:e.latitude,lng:e.longitude},query:e.keyword,radius:5e3},((e,t,o)=>{a.loading=!1,e&&e.length&&e.forEach((e=>{n.push({name:e.name||"",address:e.vicinity||e.formatted_address||"",distance:0,latitude:e.geometry.location.lat(),longitude:e.geometry.location.lng()})})),o&&(o.hasNextPage?a.nextPage=()=>{o.nextPage()}:a.hasNextPage=!1)}))}else o.type===uy.QQ?ny(e.searching?`https://apis.map.qq.com/ws/place/v1/search?output=jsonp&key=${t}&boundary=${s.value}&keyword=${e.keyword}&page_size=${a.pageSize}&page_index=${a.pageIndex}`:`https://apis.map.qq.com/ws/geocoder/v1/?output=jsonp&key=${t}&location=${e.latitude},${e.longitude}&get_poi=1&poi_options=page_size=${a.pageSize};page_index=${a.pageIndex}`,{callback:"callback"},(t=>{if(a.loading=!1,e.searching&&"data"in t&&t.data.length)l(t.data);else if("result"in t){const e=t.result;r.value=e.ad_info?e.ad_info.adcode:"",e.pois&&l(e.pois)}n.length===a.pageSize*a.pageIndex&&(a.hasNextPage=!1)}),(()=>{a.loading=!1})):o.type===uy.AMAP&&window.AMap.plugin("AMap.PlaceSearch",(function(){const t=new window.AMap.PlaceSearch({city:"全国",pageSize:10,pageIndex:a.pageIndex}),n=e.searching?e.keyword:"",o=e.searching?5e4:5e3;t.searchNearBy(n,[e.longitude,e.latitude],o,(function(e,t){"error"===e?console.error(t):"no_data"===e?a.hasNextPage=!1:l(t.poiList.pois)})),a.loading=!1}))}return{listState:a,list:n,loadMore:function(){!a.loading&&a.hasNextPage&&(a.pageIndex++,c())},reset:function(){a.selectedIndex=-1,a.pageIndex=1,a.hasNextPage=!0,a.nextPage=null,n.splice(0,n.length)},getList:c}}(o),u=Ce((()=>{s(),o.keyword&&l()}),1e3,{setTimeout:setTimeout,clearTimeout:clearTimeout});function d(e){o.keyword=e.detail.value,u()}function p(){t("close",c({},a.selected))}function h(){t("close")}function f(e){const t=e.detail.centerLocation;t&&m(t)}function g(){ab({type:"gcj02",success:m,fail:()=>{}})}function m({latitude:e,longitude:t}){o.latitude=e,o.longitude=t,o.searching||(s(),l())}return oo((()=>o.searching),(e=>{s(),e||l()})),o.latitude&&o.longitude||g(),()=>{const e=i.map(((e,t)=>{return sa("div",{key:t,class:{"list-item":!0,selected:a.selectedIndex===t},onClick:()=>{a.selectedIndex=t,o.latitude=e.latitude,o.longitude=e.longitude}},[Bc(Ic,"#007aff",24),sa("div",{class:"list-item-title"},[e.name]),sa("div",{class:"list-item-detail"},[(n=e.distance,n>100?`${n>1e3?(n/1e3).toFixed(1)+"k":n.toFixed(0)}m | `:n>0?"<100m | ":""),e.address])],10,["onClick"]);var n}));return a.loading&&e.unshift(sa("div",{class:"list-loading"},[sa("i",{class:"uni-loading"},null)])),sa("div",{class:"uni-system-choose-location"},[sa(Ww,{latitude:o.latitude,longitude:o.longitude,class:"map","show-location":!0,libraries:["places"],onUpdated:l,onRegionchange:f},{default:()=>[sa("div",{class:"map-location",style:`background-image: url("${cy}")`},null),sa("div",{class:"map-move",onClick:g},[Bc(sy,"#000000",24)],8,["onClick"])],_:1},8,["latitude","longitude","show-location","onUpdated","onRegionchange"]),sa("div",{class:"nav"},[sa("div",{class:"nav-btn back",onClick:h},[Bc(Ec,"#ffffff",26)],8,["onClick"]),sa("div",{class:{"nav-btn":!0,confirm:!0,disable:!a.selected},onClick:p},[Bc(Ic,"#ffffff",26)],10,["onClick"])]),sa("div",{class:"menu"},[sa("div",{class:"search"},[sa(yg,{value:o.keyword,class:"search-input",placeholder:n("uni.chooseLocation.search"),onFocus:()=>o.searching=!0,onInput:d},null,8,["value","placeholder","onFocus","onInput"]),o.searching&&sa("div",{class:"search-btn",onClick:()=>{o.searching=!1,o.keyword=""}},[n("uni.chooseLocation.cancel")],8,["onClick"])]),sa(vm,{"scroll-y":!0,class:"list",onScrolltolower:r},(t=e,"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!ta(t)?e:{default:()=>[e],_:2}),8,["scroll-y","onScrolltolower"])])]);var t}}});let ub=null;const db=Md("chooseLocation",((e,{resolve:t,reject:n})=>{ub?n("cancel"):(ub=Ht(e),En((()=>{const e=T_(cb,ub,(o=>{ub=null,En((()=>{e.unmount()})),o?t(o):n("cancel")}));e.mount(k_("u-a-c"))})))})),pb=Md("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===qc("onBackPress",{from:e.from||"navigateBack"})&&(o=!1),o?(qv().$router.go(-e.delta),t()):n("onBackPress")}),0,Th);function hb({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:i},a){const r=qv().$router,{path:s,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:Se(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++mv,__type__:e}}(e,a);r["navigateTo"===e?"push":"replace"]({path:s,query:l,state:u,force:!0}).then((a=>{if(Cs(a))return c(a.message);if("switchTab"===e&&(r.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=r.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 Ee(u.__id__,o),t(i?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return i?t({__id__:u.__id__}):t()}))}))}const fb=Md("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:i})=>hb({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(o).catch(i)),0,bh);const gb=Md("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>(function(){const e=Lc();if(!e)return;const t=e.$page;gv(_v(t.path,t.id))}(),hb({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(o))),0,wh);const mb=Md("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>(function(){const e=hv().keys();for(const t of e)gv(t)}(),hb({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(o))),0,xh);function vb(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}const yb=Md("switchTab",(({url:e,tabBarText:t,isAutomatedTesting:n},{resolve:o,reject:i})=>(function(){const e=Dc();if(!e)return;const t=hv(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:gv(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,qc(e,"onHide"))}(),hb({type:"switchTab",url:e,tabBarText:t,isAutomatedTesting:n},function(e){const t=hv().values();for(const n of t){const t=n.$page;if(vb(e,t))return n.$.__isActive=!0,t.id}}(e)).then(o).catch(i))),0,Ah),_b=Md("preloadPage",(({url:e},{resolve:t,reject:n})=>{const o=Wc(e.split("?")[0]);o?o.loader&&o.loader().then((()=>{t({url:e,errMsg:"preloadPage:ok"})})).catch((t=>{n(`${e} ${String(t)}`)})):n(`${e}}`)}));function bb(e){__uniConfig.darkmode&&ix.on("onThemeChange",e)}function wb(e){ix.off("onThemeChange",e)}function xb(e){let t={};return __uniConfig.darkmode&&(t=$e(e,__uniConfig.themeConfig,Py())),__uniConfig.darkmode?t:e}function Ab(e,t){const n=Gt(e),o=n?Ht(xb(e)):xb(e);return __uniConfig.darkmode&&n&&oo(e,(e=>{const t=xb(e);for(const n in t)o[n]=t[n]})),t&&bb(t),o}const Tb={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},kb=xo({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=cn(""),o=()=>r.value=!1,i=()=>(o(),t("close","cancel")),a=()=>(o(),t("close","confirm",n.value)),r=S_(e,{onEsc:i,onEnter:()=>{!e.editable&&a()}}),s=function(e){const t=cn(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=Tb[e].cancelColor})(e,t)};return to((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===Py()&&n({theme:"dark"}),bb(n))):wb(n)})),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:d,placeholderText:p}=e;return n.value=o,sa($a,{name:"uni-fade"},{default:()=>[lo(sa("uni-modal",{onTouchmove:pc},[A_,sa("div",{class:"uni-modal"},[t?sa("div",{class:"uni-modal__hd"},[sa("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,d?sa("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:p,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):sa("div",{class:"uni-modal__bd",onTouchmovePassive:hc,textContent:o},null,40,["onTouchmovePassive","textContent"]),sa("div",{class:"uni-modal__ft"},[l&&sa("div",{style:{color:s.value},class:"uni-modal__btn uni-modal__btn_default",onClick:i},[e.cancelText],12,["onClick"]),sa("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:a},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Ja,r.value]])]})}}});let Sb;const Cb=he((()=>{ix.on("onHidePopup",(()=>Sb.visible=!1))}));let Eb;function Ib(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&Sb.editable&&(o.content=t),Eb&&Eb(o)}const Bb=Md("showModal",((e,{resolve:t})=>{Cb(),Eb=t,Sb?(c(Sb,e),Sb.visible=!0):(Sb=Ht(e),En((()=>(T_(kb,Sb,Ib).mount(k_("u-a-m")),En((()=>Sb.visible=!0))))))}),0,Oh),Pb={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==Mh.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},Rb={light:"#fff",dark:"rgba(255,255,255,0.9)"},Lb=e=>Rb[e],Ob=xo({name:"Toast",props:Pb,setup(e){Il(),Bl();const{Icon:t}=function(e){const t=cn(Lb(Py())),n=({theme:e})=>t.value=Lb(e);to((()=>{e.visible?bb(n):wb(n)}));return{Icon:Ba((()=>{switch(e.icon){case"success":return sa(Bc(kc,t.value,38),{class:"uni-toast__icon"});case"error":return sa(Bc(Sc,t.value,38),{class:"uni-toast__icon"});case"loading":return sa("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=S_(e,{});return()=>{const{mask:o,duration:i,title:a,image:r}=e;return sa($a,{name:"uni-fade"},{default:()=>[lo(sa("uni-toast",{"data-duration":i},[o?sa("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:pc},null,40,["onTouchmove"]):"",r||t.value?sa("div",{class:"uni-toast"},[r?sa("img",{src:r,class:"uni-toast__icon"},null,10,["src"]):t.value,sa("p",{class:"uni-toast__content"},[a])]):sa("div",{class:"uni-sample-toast"},[sa("p",{class:"uni-simple-toast__text"},[a])])],8,["data-duration"]),[[Ja,n.value]])]})}}});let Mb,Db,Nb="";const $b=Fe();function qb(e){Mb?c(Mb,e):(Mb=Ht(c(e,{visible:!1})),En((()=>{$b.run((()=>{oo([()=>Mb.visible,()=>Mb.duration],(([e,t])=>{if(e){if(Db&&clearTimeout(Db),"onShowLoading"===Nb)return;Db=setTimeout((()=>{Wb("onHideToast")}),t)}else Db&&clearTimeout(Db)}))})),ix.on("onHidePopup",(()=>Wb("onHidePopup"))),T_(Ob,Mb,(()=>{})).mount(k_("u-a-t"))}))),setTimeout((()=>{Mb.visible=!0}),10)}const Ub=Md("showToast",((e,{resolve:t,reject:n})=>{qb(e),Nb="onShowToast",t()}),0,Dh),jb={icon:"loading",duration:1e8,image:""},Fb=Md("showLoading",((e,{resolve:t,reject:n})=>{c(e,jb),qb(e),Nb="onShowLoading",t()}),0,Lh),Vb=Md("hideToast",((e,{resolve:t,reject:n})=>{Wb("onHideToast"),t()})),zb=Md("hideLoading",((e,{resolve:t,reject:n})=>{Wb("onHideLoading"),t()}));function Wb(e){const{t:t}=kl();if(!Nb)return;let n="";if("onHideToast"===e&&"onShowToast"!==Nb?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==Nb&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);Nb="",setTimeout((()=>{Mb.visible=!1}),10)}function Hb(e){const t=cn(0),n=cn(0),o=Ba((()=>t.value>=500&&n.value>=500)),i=Ba((()=>{const t={content:{transform:"",left:"",top:"",bottom:""},triangle:{left:"",top:"",bottom:"","border-width":"","border-color":""}},i=t.content,a=t.triangle,r=e.popover;function s(e){return Number(e)||0}if(o.value&&r){c(a,{position:"absolute",width:"0",height:"0","margin-left":"-6px","border-style":"solid"});const e=s(r.left),t=s(r.width),o=s(r.top),l=s(r.height),u=e+t/2;i.transform="none !important";const d=Math.max(0,u-150);i.left=`${d}px`;let p=Math.max(12,u-d);p=Math.min(288,p),a.left=`${p}px`;const h=n.value/2;o+l-h>h-o?(i.top="auto",i.bottom=n.value-o+6+"px",a.bottom="-6px",a["border-width"]="6px 6px 0 6px",a["border-color"]="#fcfcfd transparent transparent transparent"):(i.top=`${o+l+6}px`,a.top="-6px",a["border-width"]="0 6px 6px 6px",a["border-color"]="transparent transparent #fcfcfd transparent")}return t}));return Fo((()=>{const e=()=>{const{windowWidth:e,windowHeight:o,windowTop:i}=qy();t.value=e,n.value=o+(i||0)};window.addEventListener("resize",e),e(),Ho((()=>{window.removeEventListener("resize",e)}))})),{isDesktop:o,popupStyle:i}}const Xb={light:{listItemColor:"#000000",cancelItemColor:"#000000"},dark:{listItemColor:"rgba(255, 255, 255, 0.8)",cancelItemColor:"rgba(255, 255, 255)"}};const Kb=xo({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}){El();const n=cn(260),o=cn(0),i=cn(0),a=cn(0),r=cn(0),s=cn(null),l=cn(null),{t:c}=kl(),{_close:u}=function(e,t){function n(e){t("close",e)}const{key:o,disable:i}=x_();return oo((()=>e.visible),(e=>i.value=!e)),to((()=>{const{value:e}=o;"esc"===e&&n&&n(-1)})),{_close:n}}(e,t),{popupStyle:d}=Hb(e);let p;function h(e){const t=a.value+e.deltaY;Math.abs(t)>10?(r.value+=t/3,r.value=r.value>=o.value?o.value:r.value<=0?0:r.value,p.scrollTo(r.value)):a.value=t,e.preventDefault()}Fo((()=>{const{scroller:e,handleTouchStart:t,handleTouchMove:n,handleTouchEnd:o}=tm(s.value,{enableY:!0,friction:new Yg(1e-4),spring:new Jg(2,90,20),onScroll:e=>{r.value=e.target.scrollTop}});p=e,Eg(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)})),oo((()=>e.visible),(()=>{En((()=>{e.title&&(i.value=document.querySelector(".uni-actionsheet__title").offsetHeight),p.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){o[e]=i[e]})),e.target.dispatchEvent(o)}}))}(e)}))}))}));const f=function(e){const t=Ht({listItemColor:"#000",cancelItemColor:"#000"}),n=({theme:e})=>{!function(e,t){["listItemColor","cancelItemColor"].forEach((n=>{t[n]=Xb[e][n]}))}(e,t)};return to((()=>{e.visible?(t.listItemColor=t.cancelItemColor=e.itemColor,"#000"===e.itemColor&&(n({theme:Py()}),bb(n))):wb(n)})),t}(e);return()=>sa("uni-actionsheet",{onTouchmove:pc},[sa($a,{name:"uni-fade"},{default:()=>[lo(sa("div",{class:"uni-mask uni-actionsheet__mask",onClick:()=>u(-1)},null,8,["onClick"]),[[Ja,e.visible]])]}),sa("div",{class:["uni-actionsheet",{"uni-actionsheet_toggle":e.visible}],style:d.value.content},[sa("div",{ref:l,class:"uni-actionsheet__menu",onWheel:h},[e.title?sa(Vi,null,[sa("div",{class:"uni-actionsheet__cell",style:{height:`${i.value}px`}},null),sa("div",{class:"uni-actionsheet__title"},[e.title])]):"",sa("div",{style:{maxHeight:`${n.value}px`,overflow:"hidden"}},[sa("div",{ref:s},[e.itemList.map(((e,t)=>sa("div",{key:t,style:{color:f.listItemColor},class:"uni-actionsheet__cell",onClick:()=>u(t)},[e],12,["onClick"])))],512)])],40,["onWheel"]),sa("div",{class:"uni-actionsheet__action"},[sa("div",{style:{color:f.cancelItemColor},class:"uni-actionsheet__cell",onClick:()=>u(-1)},[c("uni.showActionSheet.cancel")],12,["onClick"])]),sa("div",{style:d.value.triangle},null,4)],6)],40,["onTouchmove"])}});let Yb,Gb,Qb;const Jb=he((()=>{ix.on("onHidePopup",(()=>Qb.visible=!1))}));function Zb(e){-1===e?Gb&&Gb("cancel"):Yb&&Yb({tapIndex:e})}const ew=Md("showActionSheet",((e,{resolve:t,reject:n})=>{Jb(),Yb=t,Gb=n,Qb?(c(Qb,e),Qb.visible=!0):(Qb=Ht(e),En((()=>(T_(Kb,Qb,Zb).mount(k_("u-s-a-s")),En((()=>Qb.visible=!0))))))}),0,Rh),tw=Md("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"),a=[];if(n){const{style:e,weight:t,stretch:o,unicodeRange:i,variant:r,featureSettings:s}=n;e&&a.push(`font-style:${e}`),t&&a.push(`font-weight:${t}`),o&&a.push(`font-stretch:${o}`),i&&a.push(`unicode-range:${i}`),r&&a.push(`font-variant:${r}`),s&&a.push(`font-feature-settings:${s}`)}i.innerText=`@font-face{font-family:"${e}";src:${t};${a.join(";")}}`,document.head.appendChild(i),o()}))})(e,t=t.startsWith('url("')||t.startsWith("url('")?`url('${Mu(t.substring(5,t.length-2))}')`:t.startsWith("url(")?`url('${Mu(t.substring(4,t.length-1))}')`:Mu(t),n).then((()=>{o()})).catch((e=>{i(`loadFontFace:fail ${e}`)}))}));function nw(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,ix.emit("onNavigationBarChange",{titleText:t})}to(t),Po(t)}function ow(e,t,n,o,i){if(!e)return i("page not found");const{navigationBar:a}=e;switch(t){case"setNavigationBarColor":const{frontColor:e,backgroundColor:t,animation:o}=n,{duration:i,timingFunc:r}=o;e&&(a.titleColor="#000000"===e?"#000000":"#ffffff"),t&&(a.backgroundColor=t),a.duration=i+"ms",a.timingFunc=r;break;case"showNavigationBarLoading":a.loading=!0;break;case"hideNavigationBarLoading":a.loading=!1;break;case"setNavigationBarTitle":const{title:s}=n;a.titleText=s}o()}const iw=Md("setNavigationBarColor",((e,{resolve:t,reject:n})=>{ow(Oc(),"setNavigationBarColor",e,t,n)}),0,Bh),aw=Md("setNavigationBarTitle",((e,{resolve:t,reject:n})=>{ow(Oc(),"setNavigationBarTitle",e,t,n)})),rw=Md("pageScrollTo",(({scrollTop:e,selector:t,duration:n},{resolve:o})=>{!function(e,t,n){if(v(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 o=document.documentElement,{clientHeight:i,scrollHeight:a}=o;if(e=Math.min(e,a-i),0===t)return void(o.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,Ph),sw=Md("stopPullDownRefresh",((e,{resolve:t})=>{ix.invokeViewMethod("stopPullDownRefresh",{},Mc()),t()})),lw=["text","iconPath","iconfont","selectedIconPath","visible"],cw=["color","selectedColor","backgroundColor","borderStyle","borderColor","midButton"],uw=["badge","redDot"];function dw(e,t,n){t.forEach((function(t){p(n,t)&&(e[t]=n[t])}))}function pw(e,t,n,o){var i;let a=!1;const r=fv();if(r.length&&r[r.length-1].$page.meta.isTabBar&&(a=!0),!a)return o("not TabBar page");const{index:s}=t;if("number"==typeof s){const e=null==(i=null==__uniConfig?void 0:__uniConfig.tabBar)?void 0:i.list.length;if(!e||s>=e)return o("tabbar item not found")}const l=tv();switch(e){case"showTabBar":l.shown=!0;break;case"hideTabBar":l.shown=!1;break;case"setTabBarItem":const e=l.list[s],n=e.pagePath;dw(e,lw,t);const{pagePath:o}=t;if(o){const e=ue(o);e!==n&&function(e,t,n){const o=Wc(ue(t));if(o){const{meta:e}=o;delete e.tabBarIndex,e.isQuit=e.isTabBar=!1}const i=Wc(ue(n));if(i){const{meta:t}=i;t.tabBarIndex=e,t.isQuit=t.isTabBar=!0;const o=__uniConfig.tabBar;o&&o.list&&o.list[e]&&(o.list[e].pagePath=de(n))}}(s,n,e)}break;case"setTabBarStyle":dw(l,cw,t);break;case"showTabBarRedDot":dw(l.list[s],uw,{badge:"",redDot:!0});break;case"setTabBarBadge":dw(l.list[s],uw,{badge:t.text,redDot:!0});break;case"hideTabBarRedDot":case"removeTabBarBadge":dw(l.list[s],uw,{badge:"",redDot:!1})}n()}const hw=Md("setTabBarItem",((e,{resolve:t,reject:n})=>{pw("setTabBarItem",e,t,n)}),0,$h),fw=Md("setTabBarStyle",((e,{resolve:t,reject:n})=>{pw("setTabBarStyle",e,t,n)}),0,Uh),gw=Md("hideTabBar",((e,{resolve:t,reject:n})=>{pw("hideTabBar",e||{},t,n)})),mw=Md("showTabBar",((e,{resolve:t,reject:n})=>{pw("showTabBar",e||{},t,n)})),vw=Md("hideTabBarRedDot",((e,{resolve:t,reject:n})=>{pw("hideTabBarRedDot",e,t,n)}),0,jh),yw=Md("showTabBarRedDot",((e,{resolve:t,reject:n})=>{pw("showTabBarRedDot",e,t,n)}),0,Fh),_w=Md("removeTabBarBadge",((e,{resolve:t,reject:n})=>{pw("removeTabBarBadge",e,t,n)}),0,Vh),bw=Md("setTabBarBadge",((e,{resolve:t,reject:n})=>{pw("setTabBarBadge",e,t,n)}),0,zh),ww=yu({name:"TabBar",setup(){const e=cn([]),t=tv(),n=Ab(t,(()=>{const e=xb(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}cn(c({type:"midButton"},e.midButton)),to(n)}(n,e),function(e){oo((()=>e.shown),(t=>{yc({"--window-bottom":dv(t?parseInt(e.height):0)})}))}(n);const o=function(e,t,n){return to((()=>{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 a=ue(o);a===__uniRoutes[0].alias&&(a="/"),e.path!==a?yb({from:"tabBar",url:a,tabBarText:i}):qc("onTabItemTap",{index:n,text:i,pagePath:o})}}(cl(),n,e),{style:i,borderStyle:a,placeholderStyle:r}=function(e){const t=Ba((()=>{let t=e.backgroundColor;const n=e.blurEffect;return t||sv&&n&&"none"!==n&&(t=xw[n]),{backgroundColor:t||"#f7f7fa",backdropFilter:"none"!==n?"blur(10px)":n}})),n=Ba((()=>{const{borderStyle:t,borderColor:n}=e;return n&&v(n)?{backgroundColor:n}:{backgroundColor:Aw[t]||t}})),o=Ba((()=>({height:e.height})));return{style:t,borderStyle:n,placeholderStyle:o}}(n);return Fo((()=>{n.iconfontSrc&&tw({family:"UniTabbarIconFont",source:`url("${n.iconfontSrc}")`})})),()=>{const t=function(e,t,n){const{selectedIndex:o,selectedColor:i,color:a}=e;return n.value.map(((n,r)=>{const s=o===r;return function(e,t,n,o,i,a,r,s){return sa("div",{key:r,class:"uni-tabbar__item",onClick:s(i,r)},[Tw(e,t||"",n,o,i,a)],8,["onClick"])}(s?i:a,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,r,t)}))}(n,o,e);return sa("uni-tabbar",{class:"uni-tabbar-"+n.position},[sa("div",{class:"uni-tabbar",style:i.value},[sa("div",{class:"uni-tabbar-border",style:a.value},null,4),t],4),sa("div",{class:"uni-placeholder",style:r.value},null,4)],2)}}});const xw={dark:"rgb(0, 0, 0, 0.8)",light:"rgb(250, 250, 250, 0.8)",extralight:"rgb(250, 250, 250, 0.8)"},Aw={white:"rgba(255, 255, 255, 0.33)",black:"rgba(0, 0, 0, 0.33)"};function Tw(e,t,n,o,i,a){const{height:r}=a;return sa("div",{class:"uni-tabbar__bd",style:{height:r}},[n?Sw(n,o||"rgb(0, 0, 0, 0.8)",i,a):t&&kw(t,i,a),i.text&&Cw(e,i,a),i.redDot&&Ew(i.badge)],4)}function kw(e,t,n){const{type:o,text:i}=t,{iconWidth:a}=n;return sa("div",{class:"uni-tabbar__icon"+(i?" uni-tabbar__icon__diff":""),style:{width:a,height:a}},["midButton"!==o&&sa("img",{src:Mu(e)},null,8,["src"])],6)}function Sw(e,t,n,o){var i;const{type:a,text:r}=n,{iconWidth:s}=o,l="uni-tabbar__icon"+(r?" uni-tabbar__icon__diff":""),c={width:s,height:s},u={fontSize:(null==(i=n.iconfont)?void 0:i.fontSize)||s,color:t};return sa("div",{class:l,style:c},["midButton"!==a&&sa("div",{class:"uni-tabbar__iconfont",style:u},[e],4)],6)}function Cw(e,t,n){const{iconPath:o,text:i}=t,{fontSize:a,spacing:r}=n;return sa("div",{class:"uni-tabbar__label",style:{color:e,fontSize:a,lineHeight:o?"normal":1.8,marginTop:o?r:"inherit"}},[i],4)}function Ew(e){return sa("div",{class:"uni-tabbar__reddot"+(e?" uni-tabbar__badge":"")},[e],2)}const Iw=yu({name:"Layout",setup(e,{emit:t}){const n=cn(null);vc({"--status-bar-height":"0px","--top-window-height":"0px","--window-left":"0px","--window-right":"0px","--window-margin":"0px","--tab-bar-height":"0px"});const o=function(){const e=cl();return{routeKey:Ba((()=>_v("/"+e.meta.route,Zm()))),isTabBar:Ba((()=>e.meta.isTabBar)),routeCache:wv}}(),{layoutState:i,windowState:a}=function(){const e=Gm(),t=cn(!1),n=cn(!1),o=cn(!1),i=Ba((()=>!1)),a=Ba((()=>!1!==e.meta.leftWindow&&n.value)),r=Ba((()=>!1)),s=Ht({topWindowMediaQuery:t,showTopWindow:i,apiShowTopWindow:!1,leftWindowMediaQuery:n,showLeftWindow:a,apiShowLeftWindow:!1,rightWindowMediaQuery:o,showRightWindow:r,apiShowRightWindow:!1,topWindowHeight:0,marginWidth:0,leftWindowWidth:0,rightWindowWidth:0,navigationBarTitleText:"",topWindowStyle:{},leftWindowStyle:{},rightWindowStyle:{}});["topWindow","leftWindow","rightWindow"].forEach((e=>{var t;const n=null==(t=__uniConfig[e])?void 0:t.matchMedia;let o=768;if(n&&p(n,"minWidth")){const e=n.minWidth;o=function(e){const t=[window.outerWidth,window.outerHeight,Qm.width,Qm.height,Jm.clientWidth,Jm.clientHeight];return Math.max.apply(null,t)>e}(e)?e:o}const i=function(e,t){const n=window.matchMedia("(min-width: "+e+"px)");n.addEventListener?n.addEventListener("change",t):n.addListener(t);return n.matches}(o,(t=>{s[`${e}MediaQuery`]=t.matches}));s[`${e}MediaQuery`]=i})),oo((()=>s.topWindowHeight),(e=>vc({"--top-window-height":e+"px"}))),oo((()=>s.marginWidth),(e=>vc({"--window-margin":e+"px"}))),oo((()=>s.leftWindowWidth+s.marginWidth),(e=>{vc({"--window-left":e+"px"})})),oo((()=>s.rightWindowWidth+s.marginWidth),(e=>{vc({"--window-right":e+"px"})})),ix.on("onNavigationBarChange",(e=>{s.navigationBarTitleText=e.titleText}));const l=Ba((()=>({matchTopWindow:s.topWindowMediaQuery,showTopWindow:s.showTopWindow||s.apiShowTopWindow,matchLeftWindow:s.leftWindowMediaQuery,showLeftWindow:s.showLeftWindow||s.apiShowLeftWindow,matchRightWindow:s.rightWindowMediaQuery,showRightWindow:s.showRightWindow||s.apiShowRightWindow})));return{layoutState:s,windowState:l}}();!function(e,t){const n=Gm();function o(){const o=document.body.clientWidth,i=fv();let a={};if(i.length>0){a=i[i.length-1].$page.meta}else{const e=Wc(n.path,!0);e&&(a=e.meta)}const r=parseInt(String((p(a,"maxWidth")?a.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let s=!1;s=o>r,s&&r?(e.marginWidth=(o-r)/2,En((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+r+"px;margin:0 auto;")}))):(e.marginWidth=0,En((()=>{const e=t.value;e&&e.removeAttribute("style")})))}oo([()=>n.path],o),Fo((()=>{o(),window.addEventListener("resize",o)}))}(i,n);const r=function(e){const{component:t,style:n}=__uniConfig.leftWindow,o=cn(null);function i(){const t=re(o.value.$).getBoundingClientRect().width;e.leftWindowWidth=t}return Fo(i),oo((()=>e.showLeftWindow||e.apiShowLeftWindow),(()=>En(i))),e.leftWindowStyle=n,{component:t,windowRef:o}}(i),s=function(e){const t=Gm(),n=tv(),o=Ba((()=>t.meta.isTabBar&&n.shown));return vc({"--tab-bar-height":n.height}),o}(),l=function(e){const t=cn(!1);return Ba((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(s);return()=>{const e=function(e,t,n,o,i,a){const r=function({routeKey:e,isTabBar:t,routeCache:n}){return sa(sl,null,{default:Vn((({Component:o})=>[(Yi(),ea(Io,{matchBy:"key",cache:n},[(Yi(),ea(Gn(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e),s=null,l=function(e,t,n){if(e){const{component:o,windowRef:i}=e;return lo(sa("uni-left-window",{"data-show":t.apiShowLeftWindow||void 0,style:t.leftWindowStyle},[t.apiShowLeftWindow?sa("div",{class:"uni-mask",onClick:()=>t.apiShowLeftWindow=!1},null,8,["onClick"]):null,sa("div",{class:"uni-left-window"},[sa(o,fa({ref:i},n),null,16)])],12,["data-show"]),[[Ja,t.showLeftWindow||t.apiShowLeftWindow]])}}(i,t,n.value),c=null;return sa("uni-layout",{class:{"uni-app--showtopwindow":!1,"uni-app--showleftwindow":t.showLeftWindow,"uni-app--showrightwindow":!1}},[s,sa("uni-content",null,[sa("uni-main",null,[r]),l,c])],2)}(o,i,a,0,r),t=function(e){return lo(sa(ww,null,null,512),[[Ja,e.value]])}(s);return sa("uni-app",{ref:n,class:l.value},[e,t],2)}}});const Bw=Od(0,(Pw="getRecorderManager",()=>{console.error(Dd(Pw))}));var Pw;const Rw=Md("saveFile",Nd("saveFile")),Lw=Md("removeSavedFile",Nd("removeSavedFile")),Ow=Md("scanCode",Nd("scanCode")),Mw=Md("addPhoneContact",Nd("addPhoneContact")),Dw=Md("login",Nd("login")),Nw=Md("getProvider",Nd("getProvider")),$w=yu({name:"MapLocation",setup(){const e=Ht({latitude:0,longitude:0,rotate:0});{let t=function(t){e.rotate=t.direction},n=function(){ab({type:"gcj02",success:t=>{e.latitude=t.latitude,e.longitude=t.longitude},complete:()=>{a=setTimeout(n,3e4)}})},o=function(){a&&clearTimeout(a),Ky(t)};const i=Ai("onMapReady");let a;Xy(t),i(n),Ho(o);const r=Ai("addMapChidlContext"),s=Ai("removeMapChidlContext"),l={id:"MAP_LOCATION",state:e};r(l),Ho((()=>s(l)))}return()=>e.latitude?sa(vy,fa({anchor:{x:.5,y:.5},width:"44",height:"44",iconPath:ly},e),null,16,["iconPath"]):null}}),qw=yu({name:"MapPolygon",props:{dashArray:{type:Array,default:()=>[0,0]},points:{type:Array,required:!0},strokeWidth:{type:Number,default:1},strokeColor:{type:String,default:"#000000"},fillColor:{type:String,default:"#00000000"},zIndex:{type:Number,default:0}},setup(e){let t;return Ai("onMapReady")(((n,o,i)=>{function a(){const{points:i,strokeWidth:a,strokeColor:r,dashArray:s,fillColor:l,zIndex:c}=e,u=i.map((e=>{const{latitude:t,longitude:n}=e;return fy()?[n,t]:gy()?new o.Point(n,t):new o.LatLng(t,n)})),{r:d,g:p,b:h,a:f}=yy(l),{r:g,g:m,b:v,a:y}=yy(r),_={clickable:!0,cursor:"crosshair",editable:!1,map:n,fillColor:"",path:u,strokeColor:"",strokeDashStyle:s.some((e=>e>0))?"dash":"solid",strokeWeight:a,visible:!0,zIndex:c};o.Color?(_.fillColor=new o.Color(d,p,h,f),_.strokeColor=new o.Color(g,m,v,y)):(_.fillColor=`rgb(${d}, ${p}, ${h})`,_.fillOpacity=f,_.strokeColor=`rgb(${g}, ${m}, ${v})`,_.strokeOpacity=y),t?t.setOptions(_):gy()?(t=new o.Polygon(_.path,_),n.addOverlay(t)):t=new o.Polygon(_)}a(),oo(e,a)})),Ho((()=>{t.setMap(null)})),()=>null}});function Uw(e){const t=[];return h(e)&&e.forEach((e=>{e&&e.latitude&&e.longitude&&t.push({latitude:e.latitude,longitude:e.longitude})})),t}function jw(e,t,n){return gy()?function(e,t,n){return new e.Point(n,t)}(e,t,n):fy()?function(e,t,n){return new e.LngLat(n,t)}(e,t,n):function(e,t,n){return new e.LatLng(t,n)}(e,t,n)}function Fw(e){return"getLat"in e?e.getLat():gy()?e.lat:e.lat()}function Vw(e){return"getLng"in e?e.getLng():gy()?e.lng:e.lng()}function zw(e,t,n){const o=bu(t,n),i=cn(null);let a,r;const s=Ht({latitude:Number(e.latitude),longitude:Number(e.longitude),includePoints:Uw(e.includePoints)}),l=[];let u,d;function p(e){u?e(r,a,o):l.push(e)}const h=[];function f(e){d?e():l.push(e)}const g={};function m(){const e=r.getCenter();return{scale:r.getZoom(),centerLocation:{latitude:Fw(e),longitude:Vw(e)}}}function v(){if(fy()){const e=[];s.includePoints.forEach((t=>{e.push([t.longitude,t.latitude])}));const t=new a.Bounds(...e);r.setBounds(t)}else if(gy());else{const e=new a.LatLngBounds;s.includePoints.forEach((({latitude:t,longitude:n})=>{const o=new a.LatLng(t,n);e.extend(o)})),r.fitBounds(e)}}function y(){const t=i.value,l=jw(a,s.latitude,s.longitude),u=a.event||a.Event,p=new a.Map(t,{center:l,zoom:Number(e.scale),disableDoubleClickZoom:!0,mapTypeControl:!1,zoomControl:!1,scaleControl:!1,panControl:!1,fullscreenControl:!1,streetViewControl:!1,keyboardShortcuts:!1,minZoom:5,maxZoom:18,draggable:!0});if(gy()&&(p.centerAndZoom(l,Number(e.scale)),p.enableScrollWheelZoom(),p._printLog&&p._printLog("uniapp")),oo((()=>e.scale),(e=>{p.setZoom(Number(e)||16)})),f((()=>{s.includePoints.length&&(v(),function(){const e=jw(a,s.latitude,s.longitude);r.setCenter(e)}())})),gy())p.addEventListener("click",(()=>{o("tap",{},{}),o("click",{},{})})),p.addEventListener("dragstart",(()=>{o("regionchange",{},{type:"begin",causedBy:"gesture"})})),p.addEventListener("dragend",(()=>{o("regionchange",{},c({type:"end",causedBy:"drag"},m()))}));else{const e=u.addListener(p,"bounds_changed",(()=>{e.remove(),d=!0,h.forEach((e=>e())),h.length=0}));u.addListener(p,"click",(()=>{o("tap",{},{}),o("click",{},{})})),u.addListener(p,"dragstart",(()=>{o("regionchange",{},{type:"begin",causedBy:"gesture"})})),u.addListener(p,"dragend",(()=>{o("regionchange",{},c({type:"end",causedBy:"drag"},m()))}));const t=()=>{n("update:scale",p.getZoom()),o("regionchange",{},c({type:"end",causedBy:"scale"},m()))};u.addListener(p,"zoom_changed",t),u.addListener(p,"zoomend",t),u.addListener(p,"center_changed",(()=>{const e=p.getCenter(),t=Fw(e),o=Vw(e);n("update:latitude",t),n("update:longitude",o)}))}return p}oo([()=>e.latitude,()=>e.longitude],(([e,t])=>{const n=Number(e),o=Number(t);if((n!==s.latitude||o!==s.longitude)&&(s.latitude=n,s.longitude=o,r)){const e=jw(a,s.latitude,s.longitude);r.setCenter(e)}})),oo((()=>e.includePoints),(e=>{s.includePoints=Uw(e),d&&v()}),{deep:!0});try{Dm(((e,t={})=>{switch(e){case"getCenterLocation":p((()=>{const n=r.getCenter();me(t,{latitude:Fw(n),longitude:Vw(n),errMsg:`${e}:ok`})}));break;case"moveToLocation":{let n=Number(t.latitude),o=Number(t.longitude);if(!n||!o){const e=g.MAP_LOCATION;e&&(n=e.state.latitude,o=e.state.longitude)}if(n&&o){if(s.latitude=n,s.longitude=o,r){const e=jw(a,n,o);r.setCenter(e)}p((()=>{me(t,`${e}:ok`)}))}else me(t,`${e}:fail`)}break;case"translateMarker":p((()=>{const n=g[t.markerId];if(n){try{n.translate(t)}catch(o){me(t,`${e}:fail ${o.message}`)}me(t,`${e}:ok`)}else me(t,`${e}:fail not found`)}));break;case"includePoints":s.includePoints=Uw(t.includePoints),(d||fy())&&v(),f((()=>{me(t,`${e}:ok`)}));break;case"getRegion":f((()=>{const n=r.getBounds(),o=n.getSouthWest(),i=n.getNorthEast();me(t,{southwest:{latitude:Fw(o),longitude:Vw(o)},northeast:{latitude:Fw(i),longitude:Vw(i)},errMsg:`${e}:ok`})}));break;case"getScale":p((()=>{me(t,{scale:r.getZoom(),errMsg:`${e}:ok`})}))}}),$m(),!0)}catch(_){}return Fo((()=>{ay(e.libraries,(e=>{a=e,r=y(),u=!0,l.forEach((e=>e(r,a,o))),l.length=0,o("updated",{},{})}))})),xi("onMapReady",p),xi("addMapChidlContext",(function(e){g[e.id]=e})),xi("removeMapChidlContext",(function(e){delete g[e.id]})),{state:s,mapRef:i,trigger:o}}const Ww=vu({name:"Map",props:{id:{type:String,default:""},latitude:{type:[String,Number],default:0},longitude:{type:[String,Number],default:0},scale:{type:[String,Number],default:16},markers:{type:Array,default:()=>[]},includePoints:{type:Array,default:()=>[]},polyline:{type:Array,default:()=>[]},circles:{type:Array,default:()=>[]},controls:{type:Array,default:()=>[]},showLocation:{type:[Boolean,String],default:!1},libraries:{type:Array,default:()=>[]},polygons:{type:Array,default:()=>[]}},emits:["markertap","labeltap","callouttap","controltap","regionchange","tap","click","updated","update:scale","update:latitude","update:longitude"],setup(e,{emit:t,slots:n}){const o=cn(null),{mapRef:i,trigger:a}=zw(e,o,t);return()=>sa("uni-map",{ref:o,id:e.id},[sa("div",{ref:i,style:"width: 100%; height: 100%; position: relative; overflow: hidden"},null,512),e.markers.map((e=>sa(vy,fa({key:e.id},e),null,16))),e.polyline.map((e=>sa(by,e,null,16))),e.circles.map((e=>sa(wy,e,null,16))),e.controls.map((e=>sa(Ay,fa(e,{trigger:a}),null,16,["trigger"]))),e.showLocation&&sa($w,null,null),e.polygons.map((e=>sa(qw,e,null,16))),sa("div",{style:"position: absolute;top: 0;width: 100%;height: 100%;overflow: hidden;pointer-events: none;"},[n.default&&n.default()])],8,["id"])}}),Hw=vu({name:"CoverView",compatConfig:{MODE:3},props:{scrollTop:{type:[String,Number],default:0}},setup(e,{slots:t}){const n=cn(null),o=cn(null);function i(e){let t=o.value;"scroll"===getComputedStyle(t).overflowY&&(t.scrollTop=function(e){let t=String(e);/\d+[ur]px$/i.test(t)&&t.replace(/\d+[ur]px$/i,(e=>String(Wd(parseFloat(e)))));return parseFloat(t)||0}(e))}return oo((()=>e.scrollTop),(e=>{i(e)})),Fo((()=>{i(e.scrollTop)})),()=>sa("uni-cover-view",{"scroll-top":e.scrollTop,ref:n},[sa("div",{ref:o,class:"uni-cover-view"},[t.default&&t.default()],512)],8,["scroll-top"])}}),Xw=vu({name:"CoverImage",compatConfig:{MODE:3},props:{src:{type:String,default:""}},emits:["load","error"],setup(e,{emit:t}){const n=cn(null),o=bu(n,t);function i(e){o("load",e)}function a(e){o("error",e)}return()=>{const{src:t}=e;return sa("uni-cover-image",{ref:n,src:t},[sa("div",{class:"uni-cover-image"},[t?sa("img",{src:Mu(t),onLoad:i,onError:a},null,40,["src","onLoad","onError"]):null])],8,["src"])}}});function Kw(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!ta(e)}function Yw(e){if(e.mode===Jw.TIME)return"00:00";if(e.mode===Jw.DATE){const t=(new Date).getFullYear()-150;switch(e.fields){case Zw.YEAR:return t.toString();case Zw.MONTH:return t+"-01";default:return t+"-01-01"}}return""}function Gw(e){if(e.mode===Jw.TIME)return"23:59";if(e.mode===Jw.DATE){const t=(new Date).getFullYear()+150;switch(e.fields){case Zw.YEAR:return t.toString();case Zw.MONTH:return t+"-12";default:return t+"-12-31"}}return""}function Qw(e,t,n,o){const i=e.mode===Jw.DATE?"-":":",a=e.mode===Jw.DATE?t.dateArray:t.timeArray;let r;if(e.mode===Jw.TIME)r=2;else switch(e.fields){case Zw.YEAR:r=1;break;case Zw.MONTH:r=2;break;default:r=3}const s=String(n).split(i);let l=[];for(let c=0;c=0&&(l=o?Qw(e,t,o):l.map((()=>0))),l}const Jw={SELECTOR:"selector",MULTISELECTOR:"multiSelector",TIME:"time",DATE:"date"},Zw={YEAR:"year",MONTH:"month",DAY:"day"},ex={PICKER:"picker",SELECT:"select"},tx=vu({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:Jw.SELECTOR,validator:e=>Object.values(Jw).includes(e)},fields:{type:String,default:""},start:{type:String,default:e=>Yw(e)},end:{type:String,default:e=>Gw(e)},disabled:{type:[Boolean,String],default:!1},selectorType:{type:String,default:""}},emits:["change","cancel","columnchange"],setup(e,{emit:t,slots:n}){Ml();const{t:o}=kl(),i=cn(null),a=cn(null),r=cn(null),s=cn(null),l=cn(!1),{state:c,rangeArray:u}=function(e){const t=Ht({valueSync:void 0,visible:!1,contentVisible:!1,popover:null,valueChangeSource:"",timeArray:[],dateArray:[],valueArray:[],oldValueArray:[],isDesktop:!1,popupStyle:{content:{},triangle:{}}}),n=Ba((()=>{let n=e.range;switch(e.mode){case Jw.SELECTOR:return[n];case Jw.MULTISELECTOR:return n;case Jw.TIME:return t.timeArray;case Jw.DATE:{const n=t.dateArray;switch(e.fields){case Zw.YEAR:return[n[0]];case Zw.MONTH:return[n[0],n[1]];default:return[n[0],n[1],n[2]]}}}return[]}));return{state:t,rangeArray:n}}(e),d=bu(i,t),{system:p,selectorTypeComputed:f,_show:g,_l10nColumn:m,_l10nItem:v,_input:y,_fixInputPosition:_,_pickerViewChange:b,_cancel:w,_change:x,_resetFormData:A,_getFormData:T,_createTime:k,_createDate:S,_setValueSync:C}=function(e,t,n,o,i,a,r){const s=function(){const e=cn(!1);return e.value=(()=>0===String(navigator.vendor).indexOf("Apple")&&navigator.maxTouchPoints>0)(),e}(),l=function(){const e=cn("");return e.value=(()=>{if(/win|mac/i.test(navigator.platform)){if("Google Inc."===navigator.vendor)return"chrome";if(/Firefox/.test(navigator.userAgent))return"firefox"}return""})(),e}(),c=Ba((()=>{const t=e.selectorType;return Object.values(ex).includes(t)?t:s.value?ex.PICKER:ex.SELECT})),u=Ba((()=>e.mode===Jw.DATE&&!Object.values(Zw).includes(e.fields)&&t.isDesktop?l.value:"")),d=Ba((()=>Qw(e,t,e.start,Yw(e)))),p=Ba((()=>Qw(e,t,e.end,Gw(e))));function f(n){if(e.disabled)return;t.valueChangeSource="";let o=i.value,a=n.currentTarget;o.remove(),(document.querySelector("uni-app")||document.body).appendChild(o),o.style.display="block";const r=a.getBoundingClientRect();t.popover={top:r.top,left:r.left,width:r.width,height:r.height},setTimeout((()=>{t.visible=!0}),20)}function g(){return{value:t.valueSync,key:e.name}}function m(){switch(e.mode){case Jw.SELECTOR:t.valueSync=0;break;case Jw.MULTISELECTOR:t.valueSync=e.value.map((e=>0));break;case Jw.DATE:case Jw.TIME:t.valueSync=""}}function v(){let e=[],n=[];for(let t=0;t<24;t++)e.push((t<10?"0":"")+t);for(let t=0;t<60;t++)n.push((t<10?"0":"")+t);t.timeArray.push(e,n)}function y(){let t=(new Date).getFullYear(),n=t-150,o=t+150;if(e.start){const t=new Date(e.start).getFullYear();!isNaN(t)&&to&&(o=t)}return{start:n,end:o}}function _(){let e=[];const n=y();for(let t=n.start,a=n.end;t<=a;t++)e.push(String(t));let o=[];for(let t=1;t<=12;t++)o.push((t<10?"0":"")+t);let i=[];for(let t=1;t<=31;t++)i.push((t<10?"0":"")+t);t.dateArray.push(e,o,i)}function b(e){return 60*e[0]+e[1]}function w(e){const t=31;return e[0]*t*12+(e[1]||0)*t+(e[2]||0)}function x(e,t){for(let n=0;ns?0:r)}}break;case Jw.TIME:case Jw.DATE:t.valueSync=String(n);break;default:{const e=Number(n);t.valueSync=e<0?0:e;break}}}function T(){let n,o=t.valueSync;switch(e.mode){case Jw.MULTISELECTOR:n=[...o];break;case Jw.TIME:n=Qw(e,t,o,ge({mode:Jw.TIME}));break;case Jw.DATE:n=Qw(e,t,o,ge({mode:Jw.DATE}));break;default:n=[o]}t.oldValueArray=[...n],t.valueArray=[...n]}function k(){let n=t.valueArray;switch(e.mode){case Jw.SELECTOR:return n[0];case Jw.MULTISELECTOR:return n.map((e=>e));case Jw.TIME:return t.valueArray.map(((e,n)=>t.timeArray[n][e])).join(":");case Jw.DATE:return t.valueArray.map(((e,n)=>t.dateArray[n][e])).join("-")}}function S(){E(),t.valueChangeSource="click";const e=k();t.valueSync=h(e)?e.map((e=>e)):e,n("change",{},{value:e})}function C(e){if("firefox"===u.value&&e){const{top:n,left:o,width:i,height:a}=t.popover,{pageX:r,pageY:s}=e;if(r>o&&rn&&s{let e=i.value;e.remove(),o.value.prepend(e),e.style.display="none"}),260)}function I(){e.mode===Jw.SELECTOR&&c.value===ex.SELECT&&(a.value.scrollTop=34*t.valueArray[0])}function B(e){const n=e.target;t.valueSync=n.value,En((()=>{S()}))}function P(e){if("chrome"===u.value){const t=o.value.getBoundingClientRect(),n=32;r.value.style.left=e.clientX-t.left-1.5*n+"px",r.value.style.top=e.clientY-t.top-.5*n+"px"}}function R(e){t.valueArray=L(e.detail.value,!0)}function L(t,n){const{getLocale:o}=kl();if(e.mode===Jw.DATE){const i=o();if(!i.startsWith("zh"))switch(e.fields){case Zw.YEAR:return t;case Zw.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 O(t,n){const{getLocale:o}=kl();if(e.mode===Jw.DATE){const i=o();if(i.startsWith("zh")){return t+["年","月","日"][n]}if(e.fields!==Zw.YEAR&&n===(e.fields===Zw.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 oo((()=>t.visible),(e=>{e?(clearTimeout(nx),t.contentVisible=e,I()):nx=setTimeout((()=>{t.contentVisible=e}),300)})),oo([()=>e.mode,()=>e.value,()=>e.range],A,{deep:!0}),oo((()=>t.valueSync),T,{deep:!0}),oo((()=>t.valueArray),(o=>{if(e.mode===Jw.TIME||e.mode===Jw.DATE){const n=e.mode===Jw.TIME?b:w,o=t.valueArray,i=d.value,a=p.value;if(e.mode===Jw.DATE){const e=t.dateArray,n=e[2].length,i=Number(e[2][o[2]])||1,a=new Date(`${e[0][o[0]]}/${e[1][o[1]]}/${i}`).getDate();an(a)&&x(o,a)}o.forEach(((o,i)=>{o!==t.oldValueArray[i]&&(t.oldValueArray[i]=o,e.mode===Jw.MULTISELECTOR&&n("columnchange",{},{column:i,value:o}))}))})),{selectorTypeComputed:c,system:u,_show:f,_cancel:C,_change:S,_l10nColumn:L,_l10nItem:O,_input:B,_resetFormData:m,_getFormData:g,_createTime:v,_createDate:_,_setValueSync:A,_fixInputPosition:P,_pickerViewChange:R}}(e,c,d,i,a,r,s);!function(e,t,n){const{key:o,disable:i}=x_();to((()=>{i.value=!e.visible})),oo(o,(e=>{"esc"===e?t():"enter"===e&&n()}))}(c,w,x),function(e,t){const n=Ai(Tu,!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),Wo((()=>{n.removeField(o)}))}}(A,T),k(),S(),C();const E=Hb(c);return to((()=>{c.isDesktop=E.isDesktop.value,c.popupStyle=E.popupStyle.value})),Wo((()=>{a.value&&a.value.remove()})),Fo((()=>{l.value=!0})),()=>{let t;const{visible:d,contentVisible:h,valueArray:A,popupStyle:T,valueSync:k}=c,{rangeKey:S,mode:C,start:E,end:I}=e,B=Au(e,"disabled");return sa("uni-picker",fa({ref:i},B,{onClick:_u(g)}),[l.value?sa("div",{ref:a,class:["uni-picker-container",`uni-${C}-${f.value}`],onWheel:pc,onTouchmove:pc},[sa($a,{name:"uni-fade"},{default:()=>[lo(sa("div",{class:"uni-mask uni-picker-mask",onClick:_u(w),onMousemove:_},null,40,["onClick","onMousemove"]),[[Ja,d]])]}),p.value?null:sa("div",{class:[{"uni-picker-toggle":d},"uni-picker-custom"],style:T.content},[sa("div",{class:"uni-picker-header",onClick:hc},[sa("div",{class:"uni-picker-action uni-picker-action-cancel",onClick:_u(w)},[o("uni.picker.cancel")],8,["onClick"]),sa("div",{class:"uni-picker-action uni-picker-action-confirm",onClick:x},[o("uni.picker.done")],8,["onClick"])],8,["onClick"]),h?sa(Kg,{value:m(A),class:"uni-picker-content",onChange:b},Kw(t=Qo(m(u.value),((e,t)=>{let n;return sa(nm,{key:t},Kw(n=Qo(e,((e,n)=>sa("div",{key:n,class:"uni-picker-item"},["object"==typeof e?e[S]||"":v(e,t)]))))?n:{default:()=>[n],_:1})})))?t:{default:()=>[t],_:1},8,["value","onChange"]):null,sa("div",{ref:r,class:"uni-picker-select",onWheel:hc,onTouchmove:hc},[Qo(u.value[0],((e,t)=>sa("div",{key:t,class:["uni-picker-item",{selected:A[0]===t}],onClick:()=>{A[0]=t,x()}},["object"==typeof e?e[S]||"":e],10,["onClick"])))],40,["onWheel","onTouchmove"]),sa("div",{style:T.triangle},null,4)],6)],40,["onWheel","onTouchmove"]):null,sa("div",null,[n.default&&n.default()]),p.value?sa("div",{class:"uni-picker-system",onMousemove:_u(_)},[sa("input",{class:["uni-picker-system_input",p.value],ref:s,value:k,type:C,tabindex:"-1",min:E,max:I,onChange:e=>{y(e),hc(e)}},null,42,["value","type","min","max","onChange"])],40,["onMousemove"]):null],16,["onClick"])}}});let nx;const ox=c(zl,{publishHandler(e,t,n){ix.subscribeHandler(e,t,n)}}),ix=c(iu,{publishHandler(e,t,n){ox.subscribeHandler(e,t,n)}});function ax(e,{id:t,navigationBar:{titleColor:n,coverage:o,backgroundColor:i}}){let a=0;const r=Ba((()=>yy(i))),s=parseInt(o);let l,c;const u=[],d=[],p=[];Fo((()=>{const t=e.value;c=t.style,l=t.querySelector(".uni-page-head__title");const n=t.querySelectorAll(".uni-page-head-btn"),o=t.querySelectorAll("svg path");for(let e=0;eox.on(e,t))),Wo((()=>ox.off(e)))}(t+".onPageScroll",(({scrollTop:e})=>{const t=Math.min(e/s,1);if(1===t&&1===a)return;t>.5&&a<=.5?u.forEach((function(e){e.setAttribute("fill",n)})):t<=.5&&a>.5&&u.forEach((function(e){e.setAttribute("fill","#fff")})),a=t,l&&(l.style.opacity=t);const o=r.value;c.backgroundColor=`rgba(${o.r},${o.g},${o.b},${t})`,d.forEach((function(e,n){const o=p[n].match(/[\d+\.]+/g);o[3]=(1-t)*(4===o.length?o[3]:1),e.backgroundColor=`rgba(${o})`}))}))}const rx={none:"",forward:"M11 7.844q-0.25-0.219-0.25-0.578t0.25-0.578q0.219-0.25 0.563-0.25t0.563 0.25l9.656 9.125q0.125 0.125 0.188 0.297t0.063 0.328q0 0.188-0.063 0.359t-0.188 0.297l-9.656 9.125q-0.219 0.25-0.563 0.25t-0.563-0.25q-0.25-0.219-0.25-0.578t0.25-0.609l9.063-8.594-9.063-8.594z",back:Cc,select:Cc,share:"M26.563 24.844q0 0.125-0.109 0.234t-0.234 0.109h-17.938q-0.125 0-0.219-0.109t-0.094-0.234v-13.25q0-0.156 0.094-0.25t0.219-0.094h5.5v-1.531h-6q-0.531 0-0.906 0.391t-0.375 0.922v14.375q0 0.531 0.375 0.922t0.906 0.391h18.969q0.531 0 0.891-0.391t0.359-0.953v-5.156h-1.438v4.625zM29.813 10.969l-5.125-5.375-1.031 1.094 3.438 3.594-3.719 0.031q-2.313 0.188-4.344 1.125t-3.578 2.422-2.5 3.453-1.109 4.188l-0.031 0.25h1.469v-0.219q0.156-1.875 1-3.594t2.25-3.063 3.234-2.125 3.828-0.906l0.188-0.031 3.313-0.031-3.438 3.625 1.031 1.063 5.125-5.375-0.031-0.063 0.031-0.063z",favorite:"M27.594 13.375q-0.063-0.188-0.219-0.313t-0.344-0.156l-7.094-0.969-3.219-6.406q-0.094-0.188-0.25-0.281t-0.375-0.094q-0.188 0-0.344 0.094t-0.25 0.281l-3.125 6.438-7.094 1.094q-0.188 0.031-0.344 0.156t-0.219 0.313q-0.031 0.188 0.016 0.375t0.172 0.313l5.156 4.969-1.156 7.063q-0.031 0.188 0.047 0.375t0.234 0.313q0.094 0.063 0.188 0.094t0.219 0.031q0.063 0 0.141-0.031t0.172-0.063l6.313-3.375 6.375 3.313q0.063 0.031 0.141 0.047t0.172 0.016q0.188 0 0.344-0.094t0.25-0.281q0.063-0.094 0.078-0.234t-0.016-0.234q0-0.031 0-0.063l-1.25-6.938 5.094-5.031q0.156-0.156 0.203-0.344t-0.016-0.375zM11.469 19.063q0.031-0.188-0.016-0.344t-0.172-0.281l-4.406-4.25 6.063-0.906q0.156-0.031 0.297-0.125t0.203-0.25l2.688-5.531 2.75 5.5q0.063 0.156 0.203 0.25t0.297 0.125l6.094 0.844-4.375 4.281q-0.125 0.125-0.172 0.297t-0.016 0.328l1.063 6.031-5.438-2.813q-0.156-0.094-0.328-0.078t-0.297 0.078l-5.438 2.875 1-6.031z",home:"M23.719 16.5q-0.313 0-0.531 0.219t-0.219 0.5v7.063q0 0.219-0.172 0.391t-0.391 0.172h-12.344q-0.25 0-0.422-0.172t-0.172-0.391v-7.063q0-0.281-0.219-0.5t-0.531-0.219q-0.281 0-0.516 0.219t-0.234 0.5v7.063q0.031 0.844 0.625 1.453t1.438 0.609h12.375q0.844 0 1.453-0.609t0.609-1.453v-7.063q0-0.125-0.063-0.266t-0.156-0.234q-0.094-0.125-0.234-0.172t-0.297-0.047zM26.5 14.875l-8.813-8.813q-0.313-0.313-0.688-0.453t-0.781-0.141-0.781 0.141-0.656 0.422l-8.813 8.844q-0.188 0.219-0.188 0.516t0.219 0.484q0.094 0.125 0.234 0.172t0.297 0.047q0.125 0 0.25-0.047t0.25-0.141l8.781-8.781q0.156-0.156 0.406-0.156t0.406 0.156l8.813 8.781q0.219 0.188 0.516 0.188t0.516-0.219q0.188-0.188 0.203-0.484t-0.172-0.516z",menu:"M8.938 18.313q0.875 0 1.484-0.609t0.609-1.453-0.609-1.453-1.484-0.609q-0.844 0-1.453 0.609t-0.609 1.453 0.609 1.453 1.453 0.609zM16.188 18.313q0.875 0 1.484-0.609t0.609-1.453-0.609-1.453-1.484-0.609q-0.844 0-1.453 0.609t-0.609 1.453 0.609 1.453 1.453 0.609zM23.469 18.313q0.844 0 1.453-0.609t0.609-1.453-0.609-1.453-1.453-0.609q-0.875 0-1.484 0.609t-0.609 1.453 0.609 1.453 1.484 0.609z",close:Ec},sx=yu({name:"PageHead",setup(){const e=cn(null),t=Km(),n=Ab(t.navigationBar,(()=>{const e=xb(t.navigationBar);n.backgroundColor=e.backgroundColor,n.titleColor=e.titleColor})),{clazz:o,style:i}=function(e){const t=Ba((()=>{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=Ba((()=>({backgroundColor:"transparent"===e.type?function(e){const{r:t,g:n,b:o}=yy(e);return`rgba(${t},${n},${o},0)`}(e.backgroundColor):e.backgroundColor,color:e.titleColor,transitionDuration:e.duration,transitionTimingFunction:e.timingFunc})));return{clazz:t,style:n}}(n),a=function({id:e,navigationBar:t}){const n=[],o=[],{buttons:i}=t;if(h(i)){const{type:a}=t,r="transparent"===a,s=Object.create(null);i.forEach(((t,i)=>{if(t.fontSrc&&!t.fontFamily){const e=Mu(t.fontSrc);let n=s[e];n||(n=`font${Date.now()}`,s[e]=n,jo((()=>bc("uni-btn-"+n,`@font-face{font-family: "${n}";src: url("${e}") format("truetype")}`)))),t.fontFamily=n}const a=function(e,t,n,o){const i={color:n.color,fontSize:n.fontSize,fontWeight:n.fontWeight};n.fontFamily&&(i.fontFamily=n.fontFamily);return new Proxy({btnClass:{"uni-page-head-btn":!0,"uni-page-head-btn-red-dot":!(!n.redDot&&!n.badgeText),"uni-page-head-btn-select":!!n.select},btnStyle:{backgroundColor:o?n.background:"transparent",width:n.width},btnText:"",btnIconPath:rx[n.type],badgeText:n.badgeText,iconStyle:i,onClick(){qc(e,"onNavigationBarButtonTap",c({index:t},n))},btnSelect:n.select},{get:(e,t,o)=>["btnText"].includes(t)?n.fontSrc&&n.fontFamily?n.text.replace("\\u","&#x"):n.text:Reflect.get(e,t,o)})}(e,i,t,r);"left"===t.float?n.push(a):o.push(a)}))}return{left:n,right:o}}(t),r=n.searchInput&&function({id:e,navigationBar:{searchInput:t}}){const n=cn(!1),o=cn(""),i=cn(!1),{disabled:a}=t;if(a){return{focus:n,text:o,composing:i,onClick:()=>{qc(e,"onNavigationBarSearchInputClicked")}}}const r=()=>{n.value=!0,qc(e,"onNavigationBarSearchInputFocusChanged",{focus:!0})},s=()=>{n.value=!1,qc(e,"onNavigationBarSearchInputFocusChanged",{focus:!1})},l=t=>{o.value=t.detail.value,qc(e,"onNavigationBarSearchInputChanged",{text:o.value})};return{focus:n,text:o,composing:i,onFocus:r,onBlur:s,onInput:l,onConfirm:t=>{qc(e,"onNavigationBarSearchInputConfirmed",{text:o.value})}}}(t);return"transparent"===n.type&&ax(e,t),()=>{const s=function(e,t){if(!t)return sa("div",{class:"uni-page-head-btn",onClick:ux},[Bc(Cc,"transparent"===e.type?"#fff":e.titleColor,26)],8,["onClick"])}(n,t.isQuit),l=lx(a.left),c=lx(a.right),u=n.type||"default",d="transparent"!==u&&"float"!==u&&sa("div",{class:{"uni-placeholder":!0,"uni-placeholder-titlePenetrate":n.titlePenetrate}},null,2);return sa("uni-page-head",{"uni-page-head-type":u},[sa("div",{ref:e,class:o.value,style:i.value},[sa("div",{class:"uni-page-head-hd"},[s,...l]),cx(n,r),sa("div",{class:"uni-page-head-ft"},[...c])],6),d],8,["uni-page-head-type"])}}});function lx(e){return e.map((({onClick:e,btnClass:t,btnStyle:n,btnText:o,btnIconPath:i,badgeText:a,iconStyle:r,btnSelect:s},l)=>sa("div",{key:l,class:t,style:n,onClick:e,"badge-text":a},[i?Bc(i,r.color,r.fontSize):s?sa("span",{style:r},[sa("i",{class:"uni-btn-icon",innerHTML:o},null,8,["innerHTML"]),Bc(rx.select,"#000",14)],4):sa("i",{class:"uni-btn-icon",style:r,innerHTML:o},null,12,["innerHTML"])],14,["onClick","badge-text"])))}function cx(e,t){return e.searchInput?function(e,{text:t,focus:n,composing:o,onBlur:i,onFocus:a,onInput:r,onConfirm:s,onClick:l}){const{color:c,align:u,autoFocus:d,disabled:p,borderRadius:h,backgroundColor:f,placeholder:g,placeholderColor:m}=e.searchInput,v={borderRadius:h,backgroundColor:f},y=["uni-page-head-search-placeholder",`uni-page-head-search-placeholder-${n.value||t.value?"left":u}`];return sa("div",{class:"uni-page-head-search",style:v},[sa("div",{style:{color:m},class:y},[sa("div",{class:"uni-page-head-search-icon"},[Bc(Tc,m,20)]),t.value||o.value?"":g],6),p?sa(yg,{disabled:!0,style:{color:c},"placeholder-style":"color: "+m,class:"uni-page-head-search-input","confirm-type":"search",onClick:l},null,8,["style","placeholder-style","onClick"]):sa(yg,{focus:d,style:{color:c},"placeholder-style":"color: "+m,class:"uni-page-head-search-input","confirm-type":"search",onFocus:a,onBlur:i,onInput:r,onConfirm:s},null,8,["focus","style","placeholder-style","onFocus","onBlur","onInput","onConfirm"])],4)}(e,t):function({type:e,loading:t,titleSize:n,titleText:o,titleImage:i}){return sa("div",{class:"uni-page-head-bd"},[sa("div",{style:{fontSize:n,opacity:"transparent"===e?0:1},class:"uni-page-head__title"},[t?sa("i",{class:"uni-loading"},null):i?sa("img",{src:i,class:"uni-page-head__title_image"},null,8,["src"]):o],4)])}(e)}function ux(){1===fv().length?mb({url:"/"}):pb({from:"backbutton",success(){}})}const dx={name:"PageRefresh",setup(){const{pullToRefresh:e}=Km();return{offset:e.offset,color:e.color}}},px=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n},hx={class:"uni-page-refresh-inner"},fx=["fill"],gx=[ra("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),ra("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1)],mx={class:"uni-page-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},vx=["stroke"];const yx=px(dx,[["render",function(e,t,n,o,i,a){return Yi(),Zi("uni-page-refresh",null,[ra("div",{style:se({"margin-top":o.offset+"px"}),class:"uni-page-refresh"},[ra("div",hx,[(Yi(),Zi("svg",{fill:o.color,class:"uni-page-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},gx,8,fx)),(Yi(),Zi("svg",mx,[ra("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,vx)]))])],4)])}]]);function _x(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 bx="aborting",xx="refreshing",Ax="restoring";function Tx(e){const t=Km(),{id:n,pullToRefresh:o}=t,{range:i,height:a}=o;let r,s,l,c,u,d,p,h;Dm((()=>{t.enablePullDownRefresh&&(h||(h=xx,v(),setTimeout((()=>{x()}),50)))}),"startPullDownRefresh",!1,n),Dm((()=>{t.enablePullDownRefresh&&h===xx&&(y(),h=Ax,v(),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)}((()=>{y(),h=f=g=null})))}),"stopPullDownRefresh",!1,n),Fo((()=>{r=e.value.$el,s=r.querySelector(".uni-page-refresh"),l=s.style,c=s.querySelector(".uni-page-refresh-inner").style}));let f=null,g=null;function m(e){h&&r&&r.classList[e]("uni-page-refresh--"+h)}function v(){m("add")}function y(){m("remove")}const _=_u((e=>{if(!t.enablePullDownRefresh)return;const n=e.changedTouches[0];u=n.identifier,d=n.pageY,p=!([bx,xx,Ax].indexOf(h)>=0)})),b=_u((e=>{if(!t.enablePullDownRefresh)return;if(!p)return;if(!_x(e,u,d))return;let{deltaY:n}=e;if(0!==(document.documentElement.scrollTop||document.body.scrollTop))return void(u=null);if(n<0&&!h)return;e.preventDefault(),null===f&&(g=n,h="pulling",v()),n-=g,n<0&&(n=0),f=n;(n>=i&&"reached"!==h||n1?t=1:t*=t*t;const n=Math.round(e/(i/a))||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=_u((e=>{t.enablePullDownRefresh&&_x(e,u,d)&&null!==h&&("pulling"===h?(y(),h=bx,v(),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()}((()=>{y(),h=f=g=null}))):"reached"===h&&(y(),h=xx,v(),x()))}));function x(){s&&(l.transition="-webkit-transform 0.2s",l.transform="translate3d(-50%, "+a+"px, 0)",qc(n,"onPullDownRefresh"))}return{onTouchstartPassive:_,onTouchmove:b,onTouchend:w,onTouchcancel:w}}const kx=yu({name:"PageBody",setup(e,t){const n=Km(),o=cn(null),i=n.enablePullDownRefresh?Tx(o):null,a=cn(null);return oo((()=>n.enablePullDownRefresh),(()=>{a.value=n.enablePullDownRefresh?i:null}),{immediate:!0}),()=>{const e=function(e,t){if(!t.enablePullDownRefresh)return null;return sa(yx,{ref:e},null,512)}(o,n);return sa(Vi,null,[e,sa("uni-page-wrapper",a.value,[sa("uni-page-body",null,[Zo(t.slots,"default")])],16)])}}});const Sx=yu({name:"Page",setup(e,t){const n=Ym(Zm()),o=n.navigationBar,i={};return nw(n),()=>sa("uni-page",{"data-page":n.route,style:i},"custom"!==o.style?[sa(sx),Cx(t)]:[Cx(t)])}});function Cx(e){return Yi(),ea(kx,{key:0},{default:Vn((()=>[Zo(e.slots,"page")])),_:3})}const Ex={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:2e4,suspensible:!0},Ix={id:"2852637",name:"uniui图标库",font_family:"uniicons",css_prefix_text:"uniui-",description:"",glyphs:[{icon_id:"25027049",name:"yanse",font_class:"color",unicode:"e6cf",unicode_decimal:59087},{icon_id:"25027048",name:"wallet",font_class:"wallet",unicode:"e6b1",unicode_decimal:59057},{icon_id:"25015720",name:"settings-filled",font_class:"settings-filled",unicode:"e6ce",unicode_decimal:59086},{icon_id:"25015434",name:"shimingrenzheng-filled",font_class:"auth-filled",unicode:"e6cc",unicode_decimal:59084},{icon_id:"24934246",name:"shop-filled",font_class:"shop-filled",unicode:"e6cd",unicode_decimal:59085},{icon_id:"24934159",name:"staff-filled-01",font_class:"staff-filled",unicode:"e6cb",unicode_decimal:59083},{icon_id:"24932461",name:"VIP-filled",font_class:"vip-filled",unicode:"e6c6",unicode_decimal:59078},{icon_id:"24932462",name:"plus_circle_fill",font_class:"plus-filled",unicode:"e6c7",unicode_decimal:59079},{icon_id:"24932463",name:"folder_add-filled",font_class:"folder-add-filled",unicode:"e6c8",unicode_decimal:59080},{icon_id:"24932464",name:"yanse-filled",font_class:"color-filled",unicode:"e6c9",unicode_decimal:59081},{icon_id:"24932465",name:"tune-filled",font_class:"tune-filled",unicode:"e6ca",unicode_decimal:59082},{icon_id:"24932455",name:"a-rilidaka-filled",font_class:"calendar-filled",unicode:"e6c0",unicode_decimal:59072},{icon_id:"24932456",name:"notification-filled",font_class:"notification-filled",unicode:"e6c1",unicode_decimal:59073},{icon_id:"24932457",name:"wallet-filled",font_class:"wallet-filled",unicode:"e6c2",unicode_decimal:59074},{icon_id:"24932458",name:"paihangbang-filled",font_class:"medal-filled",unicode:"e6c3",unicode_decimal:59075},{icon_id:"24932459",name:"gift-filled",font_class:"gift-filled",unicode:"e6c4",unicode_decimal:59076},{icon_id:"24932460",name:"fire-filled",font_class:"fire-filled",unicode:"e6c5",unicode_decimal:59077},{icon_id:"24928001",name:"refreshempty",font_class:"refreshempty",unicode:"e6bf",unicode_decimal:59071},{icon_id:"24926853",name:"location-ellipse",font_class:"location-filled",unicode:"e6af",unicode_decimal:59055},{icon_id:"24926735",name:"person-filled",font_class:"person-filled",unicode:"e69d",unicode_decimal:59037},{icon_id:"24926703",name:"personadd-filled",font_class:"personadd-filled",unicode:"e698",unicode_decimal:59032},{icon_id:"24923351",name:"back",font_class:"back",unicode:"e6b9",unicode_decimal:59065},{icon_id:"24923352",name:"forward",font_class:"forward",unicode:"e6ba",unicode_decimal:59066},{icon_id:"24923353",name:"arrowthinright",font_class:"arrow-right",unicode:"e6bb",unicode_decimal:59067},{icon_id:"24923353",name:"arrowthinright",font_class:"arrowthinright",unicode:"e6bb",unicode_decimal:59067},{icon_id:"24923354",name:"arrowthinleft",font_class:"arrow-left",unicode:"e6bc",unicode_decimal:59068},{icon_id:"24923354",name:"arrowthinleft",font_class:"arrowthinleft",unicode:"e6bc",unicode_decimal:59068},{icon_id:"24923355",name:"arrowthinup",font_class:"arrow-up",unicode:"e6bd",unicode_decimal:59069},{icon_id:"24923355",name:"arrowthinup",font_class:"arrowthinup",unicode:"e6bd",unicode_decimal:59069},{icon_id:"24923356",name:"arrowthindown",font_class:"arrow-down",unicode:"e6be",unicode_decimal:59070},{icon_id:"24923356",name:"arrowthindown",font_class:"arrowthindown",unicode:"e6be",unicode_decimal:59070},{icon_id:"24923349",name:"arrowdown",font_class:"bottom",unicode:"e6b8",unicode_decimal:59064},{icon_id:"24923349",name:"arrowdown",font_class:"arrowdown",unicode:"e6b8",unicode_decimal:59064},{icon_id:"24923346",name:"arrowright",font_class:"right",unicode:"e6b5",unicode_decimal:59061},{icon_id:"24923346",name:"arrowright",font_class:"arrowright",unicode:"e6b5",unicode_decimal:59061},{icon_id:"24923347",name:"arrowup",font_class:"top",unicode:"e6b6",unicode_decimal:59062},{icon_id:"24923347",name:"arrowup",font_class:"arrowup",unicode:"e6b6",unicode_decimal:59062},{icon_id:"24923348",name:"arrowleft",font_class:"left",unicode:"e6b7",unicode_decimal:59063},{icon_id:"24923348",name:"arrowleft",font_class:"arrowleft",unicode:"e6b7",unicode_decimal:59063},{icon_id:"24923334",name:"eye",font_class:"eye",unicode:"e651",unicode_decimal:58961},{icon_id:"24923335",name:"eye-filled",font_class:"eye-filled",unicode:"e66a",unicode_decimal:58986},{icon_id:"24923336",name:"eye-slash",font_class:"eye-slash",unicode:"e6b3",unicode_decimal:59059},{icon_id:"24923337",name:"eye-slash-filled",font_class:"eye-slash-filled",unicode:"e6b4",unicode_decimal:59060},{icon_id:"24923305",name:"info-filled",font_class:"info-filled",unicode:"e649",unicode_decimal:58953},{icon_id:"24923299",name:"reload-01",font_class:"reload",unicode:"e6b2",unicode_decimal:59058},{icon_id:"24923195",name:"mic_slash_fill",font_class:"micoff-filled",unicode:"e6b0",unicode_decimal:59056},{icon_id:"24923165",name:"map-pin-ellipse",font_class:"map-pin-ellipse",unicode:"e6ac",unicode_decimal:59052},{icon_id:"24923166",name:"map-pin",font_class:"map-pin",unicode:"e6ad",unicode_decimal:59053},{icon_id:"24923167",name:"location",font_class:"location",unicode:"e6ae",unicode_decimal:59054},{icon_id:"24923064",name:"starhalf",font_class:"starhalf",unicode:"e683",unicode_decimal:59011},{icon_id:"24923065",name:"star",font_class:"star",unicode:"e688",unicode_decimal:59016},{icon_id:"24923066",name:"star-filled",font_class:"star-filled",unicode:"e68f",unicode_decimal:59023},{icon_id:"24899646",name:"a-rilidaka",font_class:"calendar",unicode:"e6a0",unicode_decimal:59040},{icon_id:"24899647",name:"fire",font_class:"fire",unicode:"e6a1",unicode_decimal:59041},{icon_id:"24899648",name:"paihangbang",font_class:"medal",unicode:"e6a2",unicode_decimal:59042},{icon_id:"24899649",name:"font",font_class:"font",unicode:"e6a3",unicode_decimal:59043},{icon_id:"24899650",name:"gift",font_class:"gift",unicode:"e6a4",unicode_decimal:59044},{icon_id:"24899651",name:"link",font_class:"link",unicode:"e6a5",unicode_decimal:59045},{icon_id:"24899652",name:"notification",font_class:"notification",unicode:"e6a6",unicode_decimal:59046},{icon_id:"24899653",name:"staff",font_class:"staff",unicode:"e6a7",unicode_decimal:59047},{icon_id:"24899654",name:"VIP",font_class:"vip",unicode:"e6a8",unicode_decimal:59048},{icon_id:"24899655",name:"folder_add",font_class:"folder-add",unicode:"e6a9",unicode_decimal:59049},{icon_id:"24899656",name:"tune",font_class:"tune",unicode:"e6aa",unicode_decimal:59050},{icon_id:"24899657",name:"shimingrenzheng",font_class:"auth",unicode:"e6ab",unicode_decimal:59051},{icon_id:"24899565",name:"person",font_class:"person",unicode:"e699",unicode_decimal:59033},{icon_id:"24899566",name:"email-filled",font_class:"email-filled",unicode:"e69a",unicode_decimal:59034},{icon_id:"24899567",name:"phone-filled",font_class:"phone-filled",unicode:"e69b",unicode_decimal:59035},{icon_id:"24899568",name:"phone",font_class:"phone",unicode:"e69c",unicode_decimal:59036},{icon_id:"24899570",name:"email",font_class:"email",unicode:"e69e",unicode_decimal:59038},{icon_id:"24899571",name:"personadd",font_class:"personadd",unicode:"e69f",unicode_decimal:59039},{icon_id:"24899558",name:"chatboxes-filled",font_class:"chatboxes-filled",unicode:"e692",unicode_decimal:59026},{icon_id:"24899559",name:"contact",font_class:"contact",unicode:"e693",unicode_decimal:59027},{icon_id:"24899560",name:"chatbubble-filled",font_class:"chatbubble-filled",unicode:"e694",unicode_decimal:59028},{icon_id:"24899561",name:"contact-filled",font_class:"contact-filled",unicode:"e695",unicode_decimal:59029},{icon_id:"24899562",name:"chatboxes",font_class:"chatboxes",unicode:"e696",unicode_decimal:59030},{icon_id:"24899563",name:"chatbubble",font_class:"chatbubble",unicode:"e697",unicode_decimal:59031},{icon_id:"24881290",name:"upload-filled",font_class:"upload-filled",unicode:"e68e",unicode_decimal:59022},{icon_id:"24881292",name:"upload",font_class:"upload",unicode:"e690",unicode_decimal:59024},{icon_id:"24881293",name:"weixin",font_class:"weixin",unicode:"e691",unicode_decimal:59025},{icon_id:"24881274",name:"compose",font_class:"compose",unicode:"e67f",unicode_decimal:59007},{icon_id:"24881275",name:"qq",font_class:"qq",unicode:"e680",unicode_decimal:59008},{icon_id:"24881276",name:"download-filled",font_class:"download-filled",unicode:"e681",unicode_decimal:59009},{icon_id:"24881277",name:"pengyouquan",font_class:"pyq",unicode:"e682",unicode_decimal:59010},{icon_id:"24881279",name:"sound",font_class:"sound",unicode:"e684",unicode_decimal:59012},{icon_id:"24881280",name:"trash-filled",font_class:"trash-filled",unicode:"e685",unicode_decimal:59013},{icon_id:"24881281",name:"sound-filled",font_class:"sound-filled",unicode:"e686",unicode_decimal:59014},{icon_id:"24881282",name:"trash",font_class:"trash",unicode:"e687",unicode_decimal:59015},{icon_id:"24881284",name:"videocam-filled",font_class:"videocam-filled",unicode:"e689",unicode_decimal:59017},{icon_id:"24881285",name:"spinner-cycle",font_class:"spinner-cycle",unicode:"e68a",unicode_decimal:59018},{icon_id:"24881286",name:"weibo",font_class:"weibo",unicode:"e68b",unicode_decimal:59019},{icon_id:"24881288",name:"videocam",font_class:"videocam",unicode:"e68c",unicode_decimal:59020},{icon_id:"24881289",name:"download",font_class:"download",unicode:"e68d",unicode_decimal:59021},{icon_id:"24879601",name:"help",font_class:"help",unicode:"e679",unicode_decimal:59001},{icon_id:"24879602",name:"navigate-filled",font_class:"navigate-filled",unicode:"e67a",unicode_decimal:59002},{icon_id:"24879603",name:"plusempty",font_class:"plusempty",unicode:"e67b",unicode_decimal:59003},{icon_id:"24879604",name:"smallcircle",font_class:"smallcircle",unicode:"e67c",unicode_decimal:59004},{icon_id:"24879605",name:"minus-filled",font_class:"minus-filled",unicode:"e67d",unicode_decimal:59005},{icon_id:"24879606",name:"micoff",font_class:"micoff",unicode:"e67e",unicode_decimal:59006},{icon_id:"24879588",name:"closeempty",font_class:"closeempty",unicode:"e66c",unicode_decimal:58988},{icon_id:"24879589",name:"clear",font_class:"clear",unicode:"e66d",unicode_decimal:58989},{icon_id:"24879590",name:"navigate",font_class:"navigate",unicode:"e66e",unicode_decimal:58990},{icon_id:"24879591",name:"minus",font_class:"minus",unicode:"e66f",unicode_decimal:58991},{icon_id:"24879592",name:"image",font_class:"image",unicode:"e670",unicode_decimal:58992},{icon_id:"24879593",name:"mic",font_class:"mic",unicode:"e671",unicode_decimal:58993},{icon_id:"24879594",name:"paperplane",font_class:"paperplane",unicode:"e672",unicode_decimal:58994},{icon_id:"24879595",name:"close",font_class:"close",unicode:"e673",unicode_decimal:58995},{icon_id:"24879596",name:"help-filled",font_class:"help-filled",unicode:"e674",unicode_decimal:58996},{icon_id:"24879597",name:"plus-filled",font_class:"paperplane-filled",unicode:"e675",unicode_decimal:58997},{icon_id:"24879598",name:"plus",font_class:"plus",unicode:"e676",unicode_decimal:58998},{icon_id:"24879599",name:"mic-filled",font_class:"mic-filled",unicode:"e677",unicode_decimal:58999},{icon_id:"24879600",name:"image-filled",font_class:"image-filled",unicode:"e678",unicode_decimal:59e3},{icon_id:"24855900",name:"locked-filled",font_class:"locked-filled",unicode:"e668",unicode_decimal:58984},{icon_id:"24855901",name:"info",font_class:"info",unicode:"e669",unicode_decimal:58985},{icon_id:"24855903",name:"locked",font_class:"locked",unicode:"e66b",unicode_decimal:58987},{icon_id:"24855884",name:"camera-filled",font_class:"camera-filled",unicode:"e658",unicode_decimal:58968},{icon_id:"24855885",name:"chat-filled",font_class:"chat-filled",unicode:"e659",unicode_decimal:58969},{icon_id:"24855886",name:"camera",font_class:"camera",unicode:"e65a",unicode_decimal:58970},{icon_id:"24855887",name:"circle",font_class:"circle",unicode:"e65b",unicode_decimal:58971},{icon_id:"24855888",name:"checkmarkempty",font_class:"checkmarkempty",unicode:"e65c",unicode_decimal:58972},{icon_id:"24855889",name:"chat",font_class:"chat",unicode:"e65d",unicode_decimal:58973},{icon_id:"24855890",name:"circle-filled",font_class:"circle-filled",unicode:"e65e",unicode_decimal:58974},{icon_id:"24855891",name:"flag",font_class:"flag",unicode:"e65f",unicode_decimal:58975},{icon_id:"24855892",name:"flag-filled",font_class:"flag-filled",unicode:"e660",unicode_decimal:58976},{icon_id:"24855893",name:"gear-filled",font_class:"gear-filled",unicode:"e661",unicode_decimal:58977},{icon_id:"24855894",name:"home",font_class:"home",unicode:"e662",unicode_decimal:58978},{icon_id:"24855895",name:"home-filled",font_class:"home-filled",unicode:"e663",unicode_decimal:58979},{icon_id:"24855896",name:"gear",font_class:"gear",unicode:"e664",unicode_decimal:58980},{icon_id:"24855897",name:"smallcircle-filled",font_class:"smallcircle-filled",unicode:"e665",unicode_decimal:58981},{icon_id:"24855898",name:"map-filled",font_class:"map-filled",unicode:"e666",unicode_decimal:58982},{icon_id:"24855899",name:"map",font_class:"map",unicode:"e667",unicode_decimal:58983},{icon_id:"24855825",name:"refresh-filled",font_class:"refresh-filled",unicode:"e656",unicode_decimal:58966},{icon_id:"24855826",name:"refresh",font_class:"refresh",unicode:"e657",unicode_decimal:58967},{icon_id:"24855808",name:"cloud-upload",font_class:"cloud-upload",unicode:"e645",unicode_decimal:58949},{icon_id:"24855809",name:"cloud-download-filled",font_class:"cloud-download-filled",unicode:"e646",unicode_decimal:58950},{icon_id:"24855810",name:"cloud-download",font_class:"cloud-download",unicode:"e647",unicode_decimal:58951},{icon_id:"24855811",name:"cloud-upload-filled",font_class:"cloud-upload-filled",unicode:"e648",unicode_decimal:58952},{icon_id:"24855813",name:"redo",font_class:"redo",unicode:"e64a",unicode_decimal:58954},{icon_id:"24855814",name:"images-filled",font_class:"images-filled",unicode:"e64b",unicode_decimal:58955},{icon_id:"24855815",name:"undo-filled",font_class:"undo-filled",unicode:"e64c",unicode_decimal:58956},{icon_id:"24855816",name:"more",font_class:"more",unicode:"e64d",unicode_decimal:58957},{icon_id:"24855817",name:"more-filled",font_class:"more-filled",unicode:"e64e",unicode_decimal:58958},{icon_id:"24855818",name:"undo",font_class:"undo",unicode:"e64f",unicode_decimal:58959},{icon_id:"24855819",name:"images",font_class:"images",unicode:"e650",unicode_decimal:58960},{icon_id:"24855821",name:"paperclip",font_class:"paperclip",unicode:"e652",unicode_decimal:58962},{icon_id:"24855822",name:"settings",font_class:"settings",unicode:"e653",unicode_decimal:58963},{icon_id:"24855823",name:"search",font_class:"search",unicode:"e654",unicode_decimal:58964},{icon_id:"24855824",name:"redo-filled",font_class:"redo-filled",unicode:"e655",unicode_decimal:58965},{icon_id:"24841702",name:"list",font_class:"list",unicode:"e644",unicode_decimal:58948},{icon_id:"24841489",name:"mail-open-filled",font_class:"mail-open-filled",unicode:"e63a",unicode_decimal:58938},{icon_id:"24841491",name:"hand-thumbsdown-filled",font_class:"hand-down-filled",unicode:"e63c",unicode_decimal:58940},{icon_id:"24841492",name:"hand-thumbsdown",font_class:"hand-down",unicode:"e63d",unicode_decimal:58941},{icon_id:"24841493",name:"hand-thumbsup-filled",font_class:"hand-up-filled",unicode:"e63e",unicode_decimal:58942},{icon_id:"24841494",name:"hand-thumbsup",font_class:"hand-up",unicode:"e63f",unicode_decimal:58943},{icon_id:"24841496",name:"heart-filled",font_class:"heart-filled",unicode:"e641",unicode_decimal:58945},{icon_id:"24841498",name:"mail-open",font_class:"mail-open",unicode:"e643",unicode_decimal:58947},{icon_id:"24841488",name:"heart",font_class:"heart",unicode:"e639",unicode_decimal:58937},{icon_id:"24839963",name:"loop",font_class:"loop",unicode:"e633",unicode_decimal:58931},{icon_id:"24839866",name:"pulldown",font_class:"pulldown",unicode:"e632",unicode_decimal:58930},{icon_id:"24813798",name:"scan",font_class:"scan",unicode:"e62a",unicode_decimal:58922},{icon_id:"24813786",name:"bars",font_class:"bars",unicode:"e627",unicode_decimal:58919},{icon_id:"24813788",name:"cart-filled",font_class:"cart-filled",unicode:"e629",unicode_decimal:58921},{icon_id:"24813790",name:"checkbox",font_class:"checkbox",unicode:"e62b",unicode_decimal:58923},{icon_id:"24813791",name:"checkbox-filled",font_class:"checkbox-filled",unicode:"e62c",unicode_decimal:58924},{icon_id:"24813794",name:"shop",font_class:"shop",unicode:"e62f",unicode_decimal:58927},{icon_id:"24813795",name:"headphones",font_class:"headphones",unicode:"e630",unicode_decimal:58928},{icon_id:"24813796",name:"cart",font_class:"cart",unicode:"e631",unicode_decimal:58929}]},Bx=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n};const Px=Bx({name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},customPrefix:{type:String,default:""}},data:()=>({icons:Ix.glyphs}),computed:{unicode(){let e=this.icons.find((e=>e.font_class===this.type));return e?unescape(`%u${e.unicode}`):""},iconSize(){return"number"==typeof(e=this.size)||/^[0-9]*$/g.test(e)?e+"px":e;var e}},methods:{_onClick(){this.$emit("click")}}},[["render",function(e,t,n,o,i,a){const r=Cm;return Yi(),ea(r,{style:se({color:n.color,"font-size":a.iconSize}),class:le(["uni-icons",["uniui-"+n.type,n.customPrefix,n.customPrefix?n.type:""]]),onClick:a._onClick},null,8,["style","class","onClick"])}],["__scopeId","data-v-f20e89ab"]]);function Rx(e,t){return"string"==typeof e?t:e}const Lx={props:{hasLeftWin:{type:Boolean},leftWinActive:{type:String}},data:()=>({list:[{id:"view",name:"视图容器",open:!1,pages:["view","scroll-view","swiper","movable-view","cover-view"]},{id:"content",name:"基础内容",open:!1,pages:["text","rich-text","progress"]},{id:"form",name:"表单组件",open:!1,pages:["button","checkbox","form","input","label","picker","picker-view","radio","slider","switch","textarea","editor"]},{id:"nav",name:"导航",open:!1,pages:["navigator"]},{id:"media",name:"媒体组件",open:!1,pages:["image","video"]},{id:"map",name:"地图",open:!1,pages:["map"]},{id:"canvas",name:"画布",open:!1,pages:["canvas"]},{id:"web-view",name:"网页",open:!1,pages:[{name:"网络网页",url:"/pages/component/web-view/web-view"},{name:"本地网页",url:"/pages/component/web-view-local/web-view-local"}]}]}),onShareAppMessage:()=>({title:"欢迎体验uni-app",path:"/pages/tabBar/component/component"}),onNavigationBarButtonTap(e){fb({url:"/pages/about/about"})},watch:{$route:{immediate:!0,handler(e){if(e.matched.length){let t=e.path.split("/")[3];for(const n of this.list)if(Array.isArray(n.pages))for(const o of n.pages)(o===t||o.url&&o.url===e.path)&&(n.open=!0)}}}},methods:{triggerCollapse(e,t){if(this.list[e].pages)for(var n=0;n[ca(X(n.text),1)])),_:1},8,["href","onClick","inWhiteList"])}]]);class Dx{constructor(e,t){this.options=e,this.animation=zp(e),this.currentStepAnimates={},this.next=0,this.$=t}_nvuePushAnimates(e,t){let n=this.currentStepAnimates[this.next],o={};if(o=n||{styles:{},config:{}},Nx.includes(e)){o.styles.transform||(o.styles.transform="");let n="";"rotate"===e&&(n="deg"),o.styles.transform+=`${e}(${t+n}) `}else o.styles[e]=`${t}`;this.currentStepAnimates[this.next]=o}_animateRun(e={},t={}){let n=this.$.$refs.ani.ref;if(n)return new Promise(((o,i)=>{nvueAnimation.transition(n,{styles:e,...t},(e=>{o()}))}))}_nvueNextAnimate(e,t=0,n){let o=e[t];if(o){let{styles:i,config:a}=o;this._animateRun(i,a).then((()=>{t+=1,this._nvueNextAnimate(e,t,n)}))}else this.currentStepAnimates={},"function"==typeof n&&n(),this.isEnd=!0}step(e={}){return this.animation.step(e),this}run(e){this.$.animationData=this.animation.export(),this.$.timer=setTimeout((()=>{"function"==typeof e&&e()}),this.$.durationTime)}}const Nx=["matrix","matrix3d","rotate","rotate3d","rotateX","rotateY","rotateZ","scale","scale3d","scaleX","scaleY","scaleZ","skew","skewX","skewY","translate","translate3d","translateX","translateY","translateZ"];function $x(e,t){if(t)return clearTimeout(t.timer),new Dx(e,t)}Nx.concat(["opacity","backgroundColor"],["width","height","left","right","top","bottom"]).forEach((e=>{Dx.prototype[e]=function(...t){return this.animation[e](...t),this}}));const qx={name:"uniTransition",emits:["click","change"],props:{show:{type:Boolean,default:!1},modeClass:{type:[Array,String],default:()=>"fade"},duration:{type:Number,default:300},styles:{type:Object,default:()=>({})},customClass:{type:String,default:""}},data:()=>({isShow:!1,transform:"",opacity:1,animationData:{},durationTime:300,config:{}}),watch:{show:{handler(e){e?this.open():this.isShow&&this.close()},immediate:!0}},computed:{stylesObject(){let e={...this.styles,"transition-duration":this.duration/1e3+"s"},t="";for(let n in e){t+=this.toLine(n)+":"+e[n]+";"}return t},transformStyles(){return"transform:"+this.transform+";opacity:"+this.opacity+";"+this.stylesObject}},created(){this.config={duration:this.duration,timingFunction:"ease",transformOrigin:"50% 50%",delay:0},this.durationTime=this.duration},methods:{init(e={}){e.duration&&(this.durationTime=e.duration),this.animation=$x(Object.assign(this.config,e),this)},onClick(){this.$emit("click",{detail:this.isShow})},step(e,t={}){if(this.animation){for(let t in e)try{"object"==typeof e[t]?this.animation[t](...e[t]):this.animation[t](e[t])}catch(gB){console.error(`方法 ${t} 不存在`)}return this.animation.step(t),this}},run(e){this.animation&&this.animation.run(e)},open(){clearTimeout(this.timer),this.transform="",this.isShow=!0;let{opacity:e,transform:t}=this.styleInit(!1);void 0!==e&&(this.opacity=e),this.transform=t,this.$nextTick((()=>{this.timer=setTimeout((()=>{this.animation=$x(this.config,this),this.tranfromInit(!1).step(),this.animation.run(),this.$emit("change",{detail:this.isShow})}),20)}))},close(e){this.animation&&this.tranfromInit(!0).step().run((()=>{this.isShow=!1,this.animationData=null,this.animation=null;let{opacity:e,transform:t}=this.styleInit(!1);this.opacity=e||1,this.transform=t,this.$emit("change",{detail:this.isShow})}))},styleInit(e){let t={transform:""},n=(e,n)=>{"fade"===n?t.opacity=this.animationType(e)[n]:t.transform+=this.animationType(e)[n]+" "};return"string"==typeof this.modeClass?n(e,this.modeClass):this.modeClass.forEach((t=>{n(e,t)})),t},tranfromInit(e){let t=(e,t)=>{let n=null;"fade"===t?n=e?0:1:(n=e?"-100%":"0","zoom-in"===t&&(n=e?.8:1),"zoom-out"===t&&(n=e?1.2:1),"slide-right"===t&&(n=e?"100%":"0"),"slide-bottom"===t&&(n=e?"100%":"0")),this.animation[this.animationMode()[t]](n)};return"string"==typeof this.modeClass?t(e,this.modeClass):this.modeClass.forEach((n=>{t(e,n)})),this.animation},animationType:e=>({fade:e?1:0,"slide-top":`translateY(${e?"0":"-100%"})`,"slide-right":`translateX(${e?"0":"100%"})`,"slide-bottom":`translateY(${e?"0":"100%"})`,"slide-left":`translateX(${e?"0":"-100%"})`,"zoom-in":`scaleX(${e?1:.8}) scaleY(${e?1:.8})`,"zoom-out":`scaleX(${e?1:1.2}) scaleY(${e?1:1.2})`}),animationMode:()=>({fade:"opacity","slide-top":"translateY","slide-right":"translateX","slide-bottom":"translateY","slide-left":"translateX","zoom-in":"scale","zoom-out":"scale"}),toLine:e=>e.replace(/([A-Z])/g,"-$1").toLowerCase()}};const Ux=Bx(qx,[["render",function(e,t,n,o,i,a){const r=Rm;return i.isShow?(Yi(),ea(r,{key:0,ref:"ani",animation:i.animationData,class:le(n.customClass),style:se(a.transformStyles),onClick:a.onClick},{default:Vn((()=>[Zo(e.$slots,"default")])),_:3},8,["animation","class","style","onClick"])):ua("",!0)}]]),jx={name:"uniPopup",components:{keypress:{name:"Keypress",props:{disable:{type:Boolean,default:!1}},mounted(){const e={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]};document.addEventListener("keyup",(t=>{if(this.disable)return;const n=Object.keys(e).find((n=>{const o=t.key,i=e[n];return i===o||Array.isArray(i)&&i.includes(o)}));n&&setTimeout((()=>{this.$emit(n,{})}),0)}))},render:()=>{}}},emits:["change","maskClick"],props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},isMaskClick:{type:Boolean,default:null},maskClick:{type:Boolean,default:null},backgroundColor:{type:String,default:"none"},safeArea:{type:Boolean,default:!0},maskBackgroundColor:{type:String,default:"rgba(0, 0, 0, 0.4)"}},watch:{type:{handler:function(e){this.config[e]&&this[this.config[e]](!0)},immediate:!0},isDesktop:{handler:function(e){this.config[e]&&this[this.config[this.type]](!0)},immediate:!0},maskClick:{handler:function(e){this.mkclick=e},immediate:!0},isMaskClick:{handler:function(e){this.mkclick=e},immediate:!0},showPopup(e){document.getElementsByTagName("body")[0].style.overflow=e?"hidden":"visible"}},data(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,popupWidth:0,popupHeight:0,config:{top:"top",bottom:"bottom",center:"center",left:"left",right:"right",message:"top",dialog:"center",share:"bottom"},maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{position:"fixed",left:0,right:0},maskShow:!0,mkclick:!0,popupstyle:this.isDesktop?"fixforpc-top":"top"}},computed:{isDesktop(){return this.popupWidth>=500&&this.popupHeight>=500},bg(){return""===this.backgroundColor||"none"===this.backgroundColor?"transparent":this.backgroundColor}},mounted(){(()=>{const{windowWidth:e,windowHeight:t,windowTop:n,safeArea:o,screenHeight:i,safeAreaInsets:a}=qy();this.popupWidth=e,this.popupHeight=t+(n||0),o&&this.safeArea?this.safeAreaInsets=a.bottom:this.safeAreaInsets=0})()},unmounted(){this.setH5Visible()},created(){null===this.isMaskClick&&null===this.maskClick?this.mkclick=!0:this.mkclick=null!==this.isMaskClick?this.isMaskClick:this.maskClick,this.animation?this.duration=300:this.duration=0,this.messageChild=null,this.clearPropagation=!1,this.maskClass.backgroundColor=this.maskBackgroundColor},methods:{setH5Visible(){document.getElementsByTagName("body")[0].style.overflow="visible"},closeMask(){this.maskShow=!1},disableMask(){this.mkclick=!1},clear(e){e.stopPropagation(),this.clearPropagation=!0},open(e){this.showPopup&&(clearTimeout(this.timer),this.showPopup=!1);e&&-1!==["top","center","bottom","left","right","message","dialog","share"].indexOf(e)||(e=this.type),this.config[e]?(this[this.config[e]](),this.$emit("change",{show:!0,type:e})):console.error("缺少类型:",e)},close(e){this.showTrans=!1,this.$emit("change",{show:!1,type:this.type}),clearTimeout(this.timer),this.timer=setTimeout((()=>{this.showPopup=!1}),300)},touchstart(){this.clearPropagation=!1},onTap(){this.clearPropagation?this.clearPropagation=!1:(this.$emit("maskClick"),this.mkclick&&this.close())},top(e){this.popupstyle=this.isDesktop?"fixforpc-top":"top",this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0,backgroundColor:this.bg},e||(this.showPopup=!0,this.showTrans=!0,this.$nextTick((()=>{this.messageChild&&"message"===this.type&&this.messageChild.timerClose()})))},bottom(e){this.popupstyle="bottom",this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0,paddingBottom:this.safeAreaInsets+"px",backgroundColor:this.bg},e||(this.showPopup=!0,this.showTrans=!0)},center(e){this.popupstyle="center",this.ani=["zoom-out","fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center"},e||(this.showPopup=!0,this.showTrans=!0)},left(e){this.popupstyle="left",this.ani=["slide-left"],this.transClass={position:"fixed",left:0,bottom:0,top:0,backgroundColor:this.bg,display:"flex",flexDirection:"column"},e||(this.showPopup=!0,this.showTrans=!0)},right(e){this.popupstyle="right",this.ani=["slide-right"],this.transClass={position:"fixed",bottom:0,right:0,top:0,backgroundColor:this.bg,display:"flex",flexDirection:"column"},e||(this.showPopup=!0,this.showTrans=!0)}}};const Fx=Bx(jx,[["render",function(e,t,n,o,i,a){const r=Rx(Gn("uni-transition"),Ux),s=Rm,l=Kn("keypress");return i.showPopup?(Yi(),ea(s,{key:0,class:le(["uni-popup",[i.popupstyle,a.isDesktop?"fixforpc-z-index":""]])},{default:Vn((()=>[sa(s,{onTouchstart:a.touchstart},{default:Vn((()=>[i.maskShow?(Yi(),ea(r,{key:"1",name:"mask","mode-class":"fade",styles:i.maskClass,duration:i.duration,show:i.showTrans,onClick:a.onTap},null,8,["styles","duration","show","onClick"])):ua("",!0),sa(r,{key:"2","mode-class":i.ani,name:"content",styles:i.transClass,duration:i.duration,show:i.showTrans,onClick:a.onTap},{default:Vn((()=>[sa(s,{class:le(["uni-popup__wrapper",[i.popupstyle]]),style:se({backgroundColor:a.bg}),onClick:a.clear},{default:Vn((()=>[Zo(e.$slots,"default",{},void 0,!0)])),_:3},8,["style","class","onClick"])])),_:3},8,["mode-class","styles","duration","show","onClick"])])),_:3},8,["onTouchstart"]),i.maskShow?(Yi(),ea(l,{key:0,onEsc:a.onTap},null,8,["onEsc"])):ua("",!0)])),_:3},8,["class"])):ua("",!0)}],["__scopeId","data-v-44e94237"]]),Vx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAAXNSR0IArs4c6QAAAEVQTFRFAAAAABAgABAwACAwEBAwBRkuBRkrBxkuBBgsBRotBBksBBktBhktBBgsBRktBRksBRkuBRouBRkuBBotBRktBRotBRktgaFjXAAAABZ0Uk5TABAQEBBvcHCAn6+vr7+/z8/P3+/v70fzixQAAACMSURBVDjLzZNJEoAgDARx30FF8/+nWm5RQ8Yqb3IL3YcwNRjzk5P5KpZ3kR0LHoioF0bkiCaebGCsnGoek0EYG3epQUbAhaHwh6HymwE4G5CfBuaH8cJPA/N9vyB1ybGx7z9A43hfggx+PzBu+ajGIz/FEPl+7odp9X5YHme9H1dpS9+F/Wh8/pdvuQDDDRDkSYdnAQAAAABJRU5ErkJggg==",zx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAAGZQTFRFAAAAABAgABAwACAwEBAwABgoCBgoCBgwABsqBBgsAxotBhotBRkuBhouBBgsBhgsBRkuBRksBRgrBRgtBBksBBgsBRktBBksBRksBRkuBRouBRgtBRktBRkuBBotBRktBRotBRktx/N7PwAAACF0Uk5TABAQEBAgICAwQFBQb3+AgI+Qn5+vv7/Pz8/P39/f7+/v3mJskgAAALxJREFUSMftlcsOgjAQRQeL1KqtiooFa6X//5PKQkmm74REop71nFDmXgrAn1lR8Jvx0vKFNS9NkBYbexNhhwQVE+5IMFEmEnSNOamQoEp736QPCI0roS50JCksmmlfeoaCnUOdn4P63RxUpqA3icJ5u2YD1r4952Dea8k9T4cLqBookoTn/OoVA08QjgBLnbNW9q5FolAByQsOgH5S6GMC7pKICQf8IXaufo6CtMpExAXVjo4Pvorym37PD+NNg5uogIJNAAAAAElFTkSuQmCC",Wx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAAAAXNSR0IArs4c6QAAAMZQTFRFAAAA7+/vGHiAWL/HVb/KHXN87+/vG3V97+/v8fHx8fHxHXd/Op+ouNDTHHV9h7O48vLy8fHxG3Z+MZGZVcHMVcHL8fHx8vLyFl9lF2BnF2JpF2NqGGJoGGNqGGZsGGZtGGduGm92G3J6G3R8HHZ+JoSNMZKaOJukVcHLXZqgbKSqcZibdKGldqaqf6aqhKuuha2whrK2h7S4iairs7OzwsLCysrKy8vLzMzM2tra4uLi5OTk5ubm6Ojo6urq7u7u8PDw8vLyoqLy7QAAABh0Uk5TABAgIDBQUGBgcICfr6+/v7/P39/f7+/vJbNsBQAAAPJJREFUOMu11WtXwiAAxvFZmS7NzMobokRUVsv7Bdec7ft/qZSVg8EAT/p//Ts8HN7gOCfrvFwROsty969EqJTl+lZw66zgztlA5izgxUPfDt69sJ559vZ+U0y6zDFYI1LeVyRUzYAeTcFIDT2qgb3Wvg+qg5AQhP/Os4IDqocdCJttCOGUGiDEuPuI8ec67ts0PYnUSdNDIxRPDPykjQZu5lx+ahqAJgDg0GlbGK64UnfsINTqITSK4YIrFOETZo2N079p71iRYLjkSqadfGHfdfyOvvLB+a500/+AwYzlH+/EY0JX7RoSzN2qXN09xWfwA/TX0KBd7AMqAAAAAElFTkSuQmCC",Hx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAAXNSR0IArs4c6QAAAFdQTFRFAAAAABAwACAwEBAwABgoCBgwBRUqBRsqAxotBRsuBRkuBRkuBxkuBBouBhouBBgsBRotBRgtBRotBhktBhktBBgsBRktBRksBRouBRktBRktBRotBRktuZPooQAAABx0Uk5TABAQECAgMDBQX29wcH9/gJ+goK+wv7/Pz9/v7wdkuLsAAABWSURBVDjL3dA5FoAwDENBQwiEHcJq8P3PyQ2kgpcmav9UEsls7VlgMJtWf0V4tcai0Sdg4dUGKiYsypsJibaQQzbb8aOmPmXvSB9pv1zafsAu/SrZ7gNq3QUDo/VtuQAAAABJRU5ErkJggg==";const Xx=Bx({name:"page-head",props:{title:{type:String,default:""}},methods:{openDialg(){this.title,this.$refs.popup.open("center")}}},[["render",function(e,t,n,o,i,a){const r=Cm,s=Jf,l=Rm,c=Rx(Gn("uni-icons"),Px),u=Rx(Gn("uni-popup"),Fx);return Yi(),ea(u,{ref:"popup","border-radius":"8px"},{default:Vn((()=>[sa(l,{style:{width:"698px",height:"518px","border-radius":"8px","background-color":"white",display:"flex","flex-direction":"column",padding:"24px"}},{default:Vn((()=>[sa(l,{style:{display:"flex","flex-direction":"row","justify-content":"space-between","align-items":"center","margin-bottom":"24px"}},{default:Vn((()=>[sa(r,{style:{color:"#05192D","font-size":"20px","font-weight":"bold"}},{default:Vn((()=>[ca("上传附件")])),_:1}),sa(s,{src:Vx,style:{width:"16px",height:"16px"}})])),_:1}),sa(l,{style:{display:"flex","flex-direction":"row","align-items":"center","margin-bottom":"8px"}},{default:Vn((()=>[sa(s,{src:zx,style:{width:"24px",height:"24px","margin-right":"4px"}}),sa(r,{style:{color:"#05192D","font-size":"18px","font-weight":"bold"}},{default:Vn((()=>[ca("文件")])),_:1})])),_:1}),sa(r,{style:{color:"#5D6A77","font-size":"14px","margin-bottom":"24px"}},{default:Vn((()=>[ca("选择要分析的文件")])),_:1}),sa(l,{style:{height:"72px",border:"1px dashed #E0E2E9","border-radius":"8px",display:"flex","flex-direction":"column","align-items":"center","justify-content":"center","margin-bottom":"12px"}},{default:Vn((()=>[sa(l,{style:{display:"flex","flex-direction":"row","margin-bottom":"8px"}},{default:Vn((()=>[sa(r,{style:{color:"#5D6A77","font-size":"14px"}},{default:Vn((()=>[ca("将文件拖曳到此处或")])),_:1}),sa(r,{style:{color:"#B19083","font-size":"14px","font-weight":"bold"}},{default:Vn((()=>[ca("点击上传")])),_:1})])),_:1}),sa(l,{style:{display:"flex","flex-direction":"row"}},{default:Vn((()=>[sa(r,{style:{color:"#5D6A77","font-size":"12px","background-color":"#C5CDD4",width:"37px",height:"18px","text-align":"center","border-radius":"6px","margin-right":"8px"}},{default:Vn((()=>[ca(".csv")])),_:1}),sa(r,{style:{color:"#5D6A77","font-size":"12px","background-color":"#C5CDD4",width:"40px",height:"18px","text-align":"center","border-radius":"6px"}},{default:Vn((()=>[ca(".xlsx")])),_:1})])),_:1})])),_:1}),sa(l,{style:{display:"flex","flex-direction":"row","align-items":"center",height:"52px",width:"319px",border:"1px solid #E0E2E9","border-radius":"8px","justify-content":"space-between",padding:"0 24px","margin-bottom":"24px"}},{default:Vn((()=>[sa(l,{style:{display:"flex","flex-direction":"row"}},{default:Vn((()=>[sa(s,{src:Wx,style:{width:"20px",height:"20px","margin-right":"4px"}}),sa(r,{style:{color:"#05192D","font-size":"14px"}},{default:Vn((()=>[ca("对账情况.xlsx")])),_:1})])),_:1}),sa(s,{src:Hx,style:{width:"16px",height:"16px"}})])),_:1}),sa(l,{style:{display:"flex","flex-direction":"row","align-items":"center","margin-bottom":"8px"}},{default:Vn((()=>[sa(s,{src:zx,style:{width:"24px",height:"24px","margin-right":"4px"}}),sa(r,{style:{color:"#05192D","font-size":"18px","font-weight":"bold"}},{default:Vn((()=>[ca("数据库")])),_:1})])),_:1}),sa(r,{style:{color:"#5D6A77","font-size":"14px","margin-bottom":"24px"}},{default:Vn((()=>[ca("选择要分析的数据库")])),_:1}),sa(l,{onClick:e.openDataBase,style:{display:"flex","flex-direction":"row",height:"48px",border:"1px dashed #E0E2E9","border-radius":"8px","align-items":"center","justify-content":"center"}},{default:Vn((()=>[sa(c,{type:"plusempty",size:"18px",style:{"margin-right":"4px"},color:"#B19083"}),sa(r,{style:{color:"#B19083","font-size":"14px","font-weight":"bold"}},{default:Vn((()=>[ca("连接数据库")])),_:1})])),_:1},8,["onClick"])])),_:1})])),_:1},512)}]]);const Kx={components:{setTabBar:Bx({data:()=>({title:"tababr",hasSetTabBarBadge:!1,hasShownTabBarRedDot:!1,hasCustomedStyle:!1,hasCustomedItem:!1,hasHiddenTabBar:!1}),destroyed(){if(this.hasSetTabBarBadge&&_w({index:1}),this.hasShownTabBarRedDot&&vw({index:1}),this.hasHiddenTabBar&&mw(),this.hasCustomedStyle&&fw({color:"#7A7E83",selectedColor:"#007AFF",backgroundColor:"#F8F8F8",borderStyle:"black"}),this.hasCustomedItem){hw({index:1,text:"接口",iconPath:"/static/api.png",selectedIconPath:"/static/apiHL.png"})}},methods:{navigateBack(){this.$emit("unmount")},setTabBarBadge(){this.hasShownTabBarRedDot&&(vw({index:1}),this.hasShownTabBarRedDot=!this.hasShownTabBarRedDot),this.hasSetTabBarBadge?_w({index:1}):bw({index:1,text:"1"}),this.hasSetTabBarBadge=!this.hasSetTabBarBadge},showTabBarRedDot(){this.hasSetTabBarBadge&&(_w({index:1}),this.hasSetTabBarBadge=!this.hasSetTabBarBadge),this.hasShownTabBarRedDot?vw({index:1}):yw({index:1}),this.hasShownTabBarRedDot=!this.hasShownTabBarRedDot},hideTabBar(){this.hasHiddenTabBar?mw():gw(),this.hasHiddenTabBar=!this.hasHiddenTabBar},customStyle(){this.hasCustomedStyle?fw({color:"#7A7E83",selectedColor:"#007AFF",backgroundColor:"#F8F8F8",borderStyle:"black"}):fw({color:"#FFF",selectedColor:"#007AFF",backgroundColor:"#000000",borderStyle:"black"}),this.hasCustomedStyle=!this.hasCustomedStyle},customItem(){let e={index:1,text:"接口",iconPath:"/static/api.png",selectedIconPath:"/static/apiHL.png"};this.hasCustomedItem||(e.text="API"),hw(e),this.hasCustomedItem=!this.hasCustomedItem}}},[["render",function(e,t,n,o,i,a){const r=Rx(Gn("page-head"),Xx),s=Ru,l=Rm;return Yi(),ea(l,{class:"uni-padding-wrap"},{default:Vn((()=>[sa(r,{title:i.title},null,8,["title"]),sa(s,{class:"button",onClick:a.setTabBarBadge},{default:Vn((()=>[ca(X(i.hasSetTabBarBadge?"移除tab徽标":"设置tab徽标"),1)])),_:1},8,["onClick"]),sa(s,{class:"button",onClick:a.showTabBarRedDot},{default:Vn((()=>[ca(X(i.hasShownTabBarRedDot?"移除红点":"显示红点"),1)])),_:1},8,["onClick"]),sa(s,{class:"button",onClick:a.customStyle},{default:Vn((()=>[ca(X(i.hasCustomedStyle?"移除自定义样式":"自定义Tab样式"),1)])),_:1},8,["onClick"]),sa(s,{class:"button",onClick:a.customItem},{default:Vn((()=>[ca(X(i.hasCustomedItem?"移除自定义信息":"自定义Tab信息"),1)])),_:1},8,["onClick"]),sa(s,{class:"button",onClick:a.hideTabBar},{default:Vn((()=>[ca(X(i.hasHiddenTabBar?"显示TabBar":"隐藏TabBar"),1)])),_:1},8,["onClick"]),sa(l,{class:"btn-area"},{default:Vn((()=>[sa(s,{class:"button",type:"primary",onClick:a.navigateBack},{default:Vn((()=>[ca("返回上一级")])),_:1},8,["onClick"])])),_:1})])),_:1})}],["__scopeId","data-v-76855428"]])},props:{hasLeftWin:{type:Boolean},leftWinActive:{type:String}},data:()=>({showSetTabBarPage:!1,list:[{id:"page",name:"界面",open:!1,pages:[{name:"设置导航条",url:"set-navigation-bar-title"},{name:"页面跳转",url:"navigator"},{name:"设置TabBar",url:"set-tabbar"},{name:"下拉刷新",url:"pull-down-refresh"},{name:"创建动画",url:"animation"},{name:"创建绘画",url:"canvas"},{name:"节点信息",url:"get-node-info"},{name:"节点布局交互状态",url:"intersection-observer"},{name:"显示操作菜单",url:"action-sheet"},{name:"显示模态弹窗",url:"modal"},{name:"显示加载提示框",url:"show-loading"},{name:"显示消息提示框",url:"toast"}]},{id:"device",name:"设备",open:!1,pages:[{name:"获取设备网络状态",url:"get-network-type"},{name:"获取设备系统信息",url:"get-system-info"},{name:"打电话",url:"make-phone-call"}]},{id:"network",name:"网络",open:!1,pages:[{name:"发起一个请求",url:"request"},{name:"上传文件",url:"upload-file"},{name:"下载文件",url:"download-file"}]},{id:"websocket",name:"websocket",open:!1,pages:[{name:"socketTask",url:"websocket-socketTask"},{name:"全局websocket",url:"websocket-global"}]},{id:"media",name:"媒体",open:!1,pages:[{name:"图片",url:"image"},{name:"音频",url:"inner-audio"},{name:"视频",url:"video"}]},{id:"location",name:"位置",open:!1,pages:[{name:"获取当前位置",url:"get-location"},{name:"使用地图查看位置",url:"open-location"},{name:"使用地图选择位置",url:"choose-location"},{name:"地图控制",url:"map"}]},{id:"storage",name:"数据",open:!1,pages:[{name:"数据存储(key-value)",url:"storage"}]}],notForPc:[{name:"设置TabBar",url:"set-tabbar"}]}),onShareAppMessage:()=>({title:"欢迎体验uni-app",path:"/pages/tabBar/API/API"}),onNavigationBarButtonTap(e){fb({url:"/pages/about/about"})},onLoad(){},onReady(){},onShow(){this.navigateFlag=!1,this.leaveSetTabBarPage()},onHide(){this.leaveSetTabBarPage()},watch:{$route:{immediate:!0,handler(e){if(e.matched.length){let t=e.path.split("/")[3];for(const e of this.list)if(Array.isArray(e.pages))for(const n of e.pages)(n===t||n.url&&n.url===t)&&(e.open=!0)}}}},methods:{triggerCollapse(e,t){if(this.list[e].pages)for(var n=0;n[i.showSetTabBarPage?(Yi(),ea(r,{key:0,onUnmount:a.leaveSetTabBarPage},null,8,["onUnmount"])):(Yi(),Zi(Vi,{key:1},[n.hasLeftWin?ua("",!0):(Yi(),ea(l,{key:0,class:"uni-header-logo"},{default:Vn((()=>[sa(s,{class:"uni-header-image",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHkAAAB5CAYAAAAd+o5JAAAHTklEQVR4nO2cP24bRxSHPwc5AHmC0L6AFSh9GECpYxd2a6qRStuVjEgIRUQCpEp2KTWWW7uwXMdA5D6GmQtIzAnIGyTFzHrerih6uTNLcePfBxAaUbMzq/3tmz9v3gwIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghRDluxVz862+/z5N9FVjz6ffAx5i6G0gb2PDpC+DN/mCn1IW3bkXJxLdRV5dnFfgD94+e8PUJDDD2n2P/+ybuWdTONwuooyjw5gLqXFbs/3+83d/bmJU5FXWLbAX+CDyrub4mcAIc+vRChK5T5Dbw2v8cAz/7n8K97O99+ni7v7c2K3MsdYr8Grjj0w+RwEXsM3m93d+7MytzDHWJvEUYSR8S3loRGOOEBtfaHc/IG0UdIq8CBz59Qeh/RIH9wc57wgh7bbu/t1VHPXWIfGDSmyymme4AXf9pRZa1AvSAPvAS+NN/jvx393x9qXhGeEZbdTTbqUXeIO/wWFQz/YggxkqF61dwgo6BTz69ixO76z9P/HdvgUv/6RP5Uu0PdsaE1q6N6+qSklpke4NNmC61cIJ+wgk6j2AdnOiXuBegMvuDnUNc1wawkdqaU3q8Ngij6Tcsv1erxfWWfwYMgb+Bicl/l2DZtpwj/7f1iPs5JAy+tkjoNEppydaKF+Kui6Qo8ARnmW3gPjDAiX3uP2f+u598nt1CeT1cq1CVN4S+Oak1pxJ5jWDFFyz/lKlPXuAhcBsn4mTqFXkmPu/3hfw93MBsbnzfbI0jmScslcgPTLoJVmz70BHOOsuIW2Q45dqXVB+MNUbkN4nKrIt75EVYp5rAGUOcVWe0qG7NF4SxTHu7v/dgVv6ypBD5Aa6PAneDFzPyLgN3TXqE629jeU7+RXkUUZY1ktWIcj6TQmTrXF92K4Z8X3yWsNxTk+5GlGNnJUtjyVbkZZ82Qb6pjmmmi7wzZZ5S0SvmXZ0Zd1KMsmNFbhNG1bD8o+o6GeJG221cPz+KKMs+x+hlyFiRbZ/RBCuGfB/cS1juBCd0CuyzbF+bqyQpRW7KevE7k+7g5szLhn2WN27J9i1rSlM9JG/Nuzi35DJhLfnG++QkQ/wboDg3foJbaOjdyN1cxVryjYtsLXnZ58eWEc5TZfvQDmG58YiKDo0U7A92ko5vvsY+OSNzST4vfN/CWfZb4F/yAQNd4oMSFs6iguuXlQnwFHgBPGb6mnKXq86NEa5ff0dah0otLCK4vgmMcGK3cda9y2x3Zwf3QmRRItERInUika9yTlg3voVbgsyEP+Oql6xDiBC5sX58Fl97c12GEVcXMlZwixA2qK+Fs+x18n7sG0eWXI0hrnm/7X8W15N7N3BP1xIrclNcmXXyHOezttOxI9KG7UYRK7KdNkX7WBvMiHyESIu4NeWkxIpsHSC17eVpCBPyc+7Kg7DCBrho/0NKkZtgyR3cdOeSuIX963hl0lWC/KcR3SXGjq7tDcT4sW305P2Icr7EpUmvkCb0xzJKVE7SJdyUlhwj8i5xe4zKXmcHRz9WrCvFfXwJ2/VFrwmkEDm7iWKUSBWqNnGdkvnOTboYtZmCYrB+VZbKkiFNqMq5SXcqXF9WrBeF3x9XqGsWv5j0eZUCtvt7bYLIFylWpFKInKJfts1od85rW+Qt6HxG3lHh709I18R2yDtB3k3P9kWsoSQJxEghsg3DrRpC+sGk551f9ky6TIzVU5POXJEpmm27D2pC9dWppRR5TBC6TbUm+4wwMu1Sfo7ZIh+j9eq6jIYh+c1qK7g146pCZ9tfu+a7snuqppEZynh/sJMkjj2V7zqFNdutJsWHNo1s62kmThbvXLYum3eFavuM7xH2NmeccjUQoRT+uKfM35Bso0JKkT9voqaaY+SU0MRlAr7k6tSqS3Bo2L543j1NxdWibJ/xmLDI0CW8RC3/e8/nu8Q19fbeTonbo2wNJNlZKymXGk8I54VsUO0m1wkPE9wD7ZW8rkofuI4bINkFhdYc9WaMfFnnFe4B+OzK/HwUh9/8loSUS40nmANOqGbNE5yjv+wOhDPcCtBphbpsGbeZ/0UZ+Xrv++vPI+4B8ltVk56YlNKSx7hzQo4JJ8JWvdlT/1nxn+8Kf/+AG0Cl3MuU1Ymvs8VVr9g/OHGT1u2tOGuq3xf2Q0WTOjLkBCfuKs6abV9dhSHptp7MWy+k921fhz2KI/kBs3VEhmSn/rTJn+klpuAPaMv64mcp++KMug413yIIvLBznRvIHeAv/CnC+4OdH6Zlij3UvK4Yr0OCu/MABRRchz1F+OEX8lamzkC+7OhjeySyCBwQfP2bdTTTGXWKbM+4toeqCjc4zQZbm6ncl9dRd0juR4LQG9R43G+DeEB4Dof7g53axyuLiLsuCl3Lcb8NYZW8wAs5f3RROygyobOpQjbY+NpYww1KL2jGSUlCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIf5v/AepX54BLh1/bgAAAABJRU5ErkJggg=="})])),_:1})),n.hasLeftWin?ua("",!0):(Yi(),ea(l,{key:1,class:"uni-hello-text"},{default:Vn((()=>[sa(c,{class:"hello-text"},{default:Vn((()=>[ca("以下将演示uni-app接口能力,详细文档见:")])),_:1}),sa(u,{class:"hello-link",href:"https://uniapp.dcloud.io/api/",text:"https://uniapp.dcloud.io/api/",inWhiteList:!0},null,8,["href","text"])])),_:1})),(Yi(!0),Zi(Vi,null,Qo(i.list,((e,t)=>(Yi(),ea(l,{class:"uni-panel",key:e.id},{default:Vn((()=>[sa(l,{class:le(["uni-panel-h",e.open?"uni-panel-h-on":""]),onClick:n=>a.triggerCollapse(t,e.id)},{default:Vn((()=>[sa(c,{class:"uni-panel-text"},{default:Vn((()=>[ca(X(e.name),1)])),_:2},1024),sa(c,{class:le(["uni-panel-icon uni-icon",e.open?"uni-panel-icon-on":""])},{default:Vn((()=>[ca(X(e.pages?"":""),1)])),_:2},1032,["class"])])),_:2},1032,["class","onClick"]),e.open?(Yi(),ea(l,{key:0,class:"uni-panel-c"},{default:Vn((()=>[(Yi(!0),Zi(Vi,null,Qo(e.pages,((t,o)=>(Yi(),ea(l,{class:le([{"left-win-active":n.leftWinActive===t.url&&n.hasLeftWin,"pc-hide":"设置TabBar"===t.name&&n.hasLeftWin},"uni-navigate-item"]),key:o,url:e.url,onClick:n=>a.goDetailPage(e.id,t.url)},{default:Vn((()=>[sa(c,{class:"uni-navigate-text"},{default:Vn((()=>[ca(X(t.name?t.name:t),1)])),_:2},1024),sa(c,{class:"uni-navigate-icon uni-icon"},{default:Vn((()=>[ca("")])),_:1})])),_:2},1032,["class","url","onClick"])))),128))])),_:2},1024)):ua("",!0)])),_:2},1024)))),128))],64))])),_:1})}],["__scopeId","data-v-33bf7752"]]);const Gx=Bx({props:{hasLeftWin:{type:Boolean},leftWinActive:{type:String}},data:()=>({hideList:["load-more"],lists:[{name:"uni-badge 数字角标",url:"badge"},{name:"uni-breadcrumb 面包屑",url:"breadcrumb"},{name:"uni-calendar 日历",url:"calendar"},{name:"uni-card 卡片",url:"card"},{name:"uni-collapse 折叠面板",url:"collapse"},{name:"uni-combox 组合框",url:"combox"},{name:"uni-countdown 倒计时",url:"countdown"},{name:"uni-data-checkbox 数据选择器",url:"data-checkbox"},{name:"uni-data-picker 数据驱动的picker选择器",url:"data-picker"},{name:"uni-data-select 数据驱动的下拉框",url:"data-select"},{name:"uni-dateformat 日期格式化",url:"dateformat"},{name:"uni-datetime-picker 日期选择器",url:"datetime-picker"},{name:"uni-drawer 抽屉",url:"drawer"},{name:"uni-easyinput 增强输入框",url:"easyinput"},{name:"uni-fab 悬浮按钮",url:"fab"},{name:"uni-fav 收藏按钮",url:"fav"},{name:"uni-file-picker 文件选择上传",url:"file-picker"},{name:"uni-forms 表单",url:"forms"},{name:"uni-goods-nav 商品导航",url:"goods-nav"},{name:"uni-grid 宫格",url:"grid"},{name:"uni-group 分组",url:"group"},{name:"uni-icons 图标",url:"icons"},{name:"uni-indexed-list 索引列表",url:"indexed-list"},{name:"uni-link 超链接",url:"link"},{name:"uni-list 列表",url:"list"},{name:"uni-load-more 加载更多",url:"load-more"},{name:"uni-nav-bar 自定义导航栏",url:"nav-bar"},{name:"uni-notice-bar 通告栏",url:"notice-bar"},{name:"uni-number-box 数字输入框",url:"number-box"},{name:"uni-pagination 分页器",url:"pagination"},{name:"uni-popup 弹出层",url:"popup"},{name:"uni-rate 评分",url:"rate"},{name:"uni-row 布局-行",url:"row"},{name:"uni-search-bar 搜索栏",url:"search-bar"},{name:"uni-section 标题栏",url:"section"},{name:"uni-segmented-control 分段器",url:"segmented-control"},{name:"uni-steps 步骤条",url:"steps"},{name:"uni-swipe-action 滑动操作",url:"swipe-action"},{name:"uni-swiper-dot 轮播图指示点",url:"swiper-dot"},{name:"uni-table 表格",url:"table"},{name:"uni-tag 标签",url:"tag"},{name:"uni-title 章节标题",url:"title"},{name:"uni-tooltip 文字提示",url:"tooltip"},{name:"uni-transition 过渡动画",url:"transition"}]}),onLoad(){},onReady(){},onShareAppMessage:()=>({title:"欢迎体验uni-app",path:"/pages/tabBar/extUI/extUI"}),onNavigationBarButtonTap(e){fb({url:"/pages/about/about"})},methods:{goDetailPage(e){const t="/pages/extUI/"+e+"/"+e;this.hasLeftWin?mb({url:t}):fb({url:t})}}},[["render",function(e,t,n,o,i,a){const r=Jf,s=Rm,l=Cm,c=Rx(Gn("u-link"),Mx);return Yi(),ea(s,{class:"uni-container"},{default:Vn((()=>[n.hasLeftWin?ua("",!0):(Yi(),ea(s,{key:0,class:"uni-header-logo"},{default:Vn((()=>[sa(r,{class:"uni-header-image",src:"/assets/extuiIndex-BGOzdR88.png"})])),_:1})),n.hasLeftWin?ua("",!0):(Yi(),ea(s,{key:1,class:"uni-hello-text"},{default:Vn((()=>[sa(l,{class:"hello-text"},{default:Vn((()=>[ca("以下是uni-app扩展组件示例,更多组件见插件市场:")])),_:1}),sa(c,{class:"hello-link",href:"https://ext.dcloud.net.cn/",text:"https://ext.dcloud.net.cn",inWhiteList:!0},null,8,["href","text"])])),_:1})),(Yi(!0),Zi(Vi,null,Qo(i.lists,(e=>(Yi(),ea(s,{class:le([{"pc-hide":-1!==i.hideList.indexOf(e.url)&&n.hasLeftWin},"uni-panel"]),key:e.url},{default:Vn((()=>[sa(s,{class:le([{"left-win-active":n.leftWinActive===e.url&&n.hasLeftWin},"uni-panel-h"]),onClick:t=>a.goDetailPage(e.url)},{default:Vn((()=>[sa(l,{class:"uni-panel-text"},{default:Vn((()=>[ca(X(e.name),1)])),_:2},1024),sa(l,{class:"uni-panel-icon uni-icon"},{default:Vn((()=>[ca("")])),_:1})])),_:2},1032,["class","onClick"])])),_:2},1032,["class"])))),128))])),_:1})}],["__scopeId","data-v-0570f354"]]),Qx={props:{hasLeftWin:{type:Boolean},leftWinActive:{type:String}},data:()=>({hideList:["ucharts","nav-city-dropdown"],list:[{id:"navbar",name:"顶部原生导航标题栏",open:!1,pages:[{name:"导航栏带自定义按钮",url:"nav-button"},{name:"导航栏带红点和角标",url:"nav-dot"},{name:"导航栏带城市选择",url:"nav-city-dropdown"},{name:"导航栏带搜索框",url:"nav-search-input"},{name:"透明渐变样式",url:"nav-transparent"},{name:"导航栏带图片",url:"nav-image"}]},{name:"顶部选项卡",url:"tabbar"},{name:"组件通讯",url:"component-communication"},{name:"列表到详情示例",url:"list2detail-list"},{name:"GlobalData和vuex",url:"global"}]}),onShareAppMessage:()=>({title:"欢迎体验uni-app",path:"/pages/tabBar/template/template"}),onNavigationBarButtonTap(e){fb({url:"/pages/about/about"})},watch:{$route:{immediate:!0,handler(e){if(e.matched.length){let t=e.path.split("/")[3];for(const e of this.list)if(Array.isArray(e.pages))for(const n of e.pages)(n===t||n.url&&n.url===t)&&(e.open=!0)}}}},methods:{triggerCollapse(e,t){if(this.list[e].pages)for(var n=0;n[n.hasLeftWin?ua("",!0):(Yi(),ea(s,{key:0,class:"uni-header-logo"},{default:Vn((()=>[sa(r,{class:"uni-header-image",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHkAAAB5CAYAAAAd+o5JAAACJUlEQVR4nO3dL4sVcRSH8cdFiwqCwaKIL0BEzEaDwRew6BsQsfsHNCiKgt2NFrvlFqsIZpPFoFnEIBZBDbNpuOgK58zM3e/zgduWMz94mHMZhsuCJEmSJEmSJEmSJEmSJEmSJOlvDlQNunv/4e+qWUVWwJU9/u0b4GLjWf7b4wf3ytpsVQ3Schk5wMHG2a+Ad43zx7aB80WzvgM/i2btxRZwrGt4Z+TXwPPG+WPnqIu8zfCdPpXTwKeu4a7rAEYOYOQARg5g5ABGDmDkAEYOYOQARg5g5ABGDmDkAJ1voTbZZeDkhNc73jncyOvdnPsAlVzXAYwcwHU9eAm8nfsQXYw82Jn7AJ1c1wGMHMDIAYwcwMgBjBzAyAF8Th5cA07NfYiRp1WDjDy4zsJ+n0xhZNd1AO/k9b4BXye83lHgRNdwI6+3A9yZ8HpXGV6StHBdB+i8k58Bjxrnjx2Z8FobpTPy4d2PZua6DlB5J98unFXh49wHWIrKyGUP76rlug5g5ABGDmDkAEYOYOQARg5Q+Zz8pHBWhQ/Ai7kPsQSVkW8VzqqwwsiA6zqCkQN0vmq8AXxpnD92geW9JFmEzsgr4HPj/LEfE15ro7iuAxg5gJEDGDmAkQMYOYCRAxg5gJEDGDmAkQMYOYCRA3S+hXoP/GqcP3aocNYZ4FLhvH852zm8M3Lbf/aewPbuZ19wXQcwsiRJkiRJkiRJkiRJkiRJkiRJ2v/+AG4QJh60f4YRAAAAAElFTkSuQmCC"})])),_:1})),n.hasLeftWin?ua("",!0):(Yi(),ea(s,{key:1,class:"uni-hello-text"},{default:Vn((()=>[sa(l,{class:"hello-text"},{default:Vn((()=>[ca("以下是部分模板示例,更多模板见插件市场:")])),_:1}),sa(c,{class:"hello-link",href:"https://ext.dcloud.net.cn",text:"https://ext.dcloud.net.cn",inWhiteList:!0},null,8,["text"])])),_:1})),(Yi(!0),Zi(Vi,null,Qo(i.list,((e,t)=>(Yi(),ea(s,{class:le([{"pc-hide":-1!==i.hideList.indexOf(e.url)&&n.hasLeftWin},"uni-panel"]),key:e.id},{default:Vn((()=>[sa(s,{class:le([{"left-win-active":n.leftWinActive===e.url&&n.hasLeftWin,"uni-panel-h-on":e.open},"uni-panel-h"]),onClick:n=>a.triggerCollapse(t,e.id)},{default:Vn((()=>[sa(l,{class:"uni-panel-text"},{default:Vn((()=>[ca(X(e.name),1)])),_:2},1024),sa(l,{class:le(["uni-panel-icon uni-icon",e.open?"uni-panel-icon-on":""])},{default:Vn((()=>[ca(X(e.pages?"":""),1)])),_:2},1032,["class"])])),_:2},1032,["class","onClick"]),e.open?(Yi(),ea(s,{key:0,class:"uni-panel-c"},{default:Vn((()=>[(Yi(!0),Zi(Vi,null,Qo(e.pages,((e,t)=>(Yi(),ea(s,{class:le([{"left-win-active":n.leftWinActive===e.url&&n.hasLeftWin,"pc-hide":-1!==i.hideList.indexOf(e.url)&&n.hasLeftWin},"uni-navigate-item"]),key:t,onClick:t=>a.goDetailPage(e)},{default:Vn((()=>[sa(l,{class:"uni-navigate-text"},{default:Vn((()=>[ca(X(e.name?e.name:e),1)])),_:2},1024),sa(l,{class:"uni-navigate-icon uni-icon"},{default:Vn((()=>[ca("")])),_:1})])),_:2},1032,["class","onClick"])))),128))])),_:2},1024)):ua("",!0)])),_:2},1032,["class"])))),128))])),_:1})}],["__scopeId","data-v-786be08e"]]);function Zx(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}}const eA="function"==typeof Proxy;class tA{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;const n={};if(e.settings)for(const a in e.settings){const t=e.settings[a];n[a]=t.defaultValue}const o=`__vue-devtools-plugin-settings__${e.id}`;let i={...n};try{const e=localStorage.getItem(o),t=JSON.parse(e);Object.assign(i,t)}catch(gB){}this.fallbacks={getSettings:()=>i,setSettings(e){try{localStorage.setItem(o,JSON.stringify(e))}catch(gB){}i=e}},t.on("plugin:settings:set",((e,t)=>{e===this.plugin.id&&this.fallbacks.setSettings(t)})),this.proxiedOn=new Proxy({},{get:(e,t)=>this.target?this.target.on[t]:(...e)=>{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=>this.target?this.target[t]:"on"===t?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=>(this.targetQueue.push({method:t,args:e,resolve:()=>{}}),this.fallbacks[t](...e)):(...e)=>new Promise((n=>{this.targetQueue.push({method:t,args:e,resolve:n})}))})}async setRealTarget(e){this.target=e;for(const t of this.onQueue)this.target.on[t.method](...t.args);for(const t of this.targetQueue)t.resolve(await this.target[t.method](...t.args))}}function nA(e,t){const n=Zx(),o=Zx().__VUE_DEVTOOLS_GLOBAL_HOOK__,i=eA&&e.enableEarlyProxy;if(!o||!n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&i){const a=i?new tA(e,o):null;(n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:e,setupFn:t,proxy:a}),a&&t(a.proxiedTarget)}else o.emit("devtools-plugin:setup",e,t)} /*! * vuex v4.1.0 * (c) 2022 Evan You * @license MIT */function oA(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function iA(e){return null!==e&&"object"==typeof e}function aA(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function rA(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;lA(e,n,[],e._modules.root,!0),sA(e,n,t)}function sA(e,t,n){var o=e._state,i=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var a=e._wrappedGetters,r={},s={},l=Fe(!0);l.run((function(){oA(a,(function(t,n){r[n]=function(e,t){return function(){return e(t)}}(t,e),s[n]=Ba((function(){return r[n]()})),Object.defineProperty(e.getters,n,{get:function(){return s[n].value},enumerable:!0})}))})),e._state=Ht({data:t}),e._scope=l,e.strict&&function(e){oo((function(){return e._state.data}),(function(){}),{deep:!0,flush:"sync"})}(e),o&&n&&e._withCommit((function(){o.data=null})),i&&i.stop()}function lA(e,t,n,o,i){var a=!n.length,r=e._modules.getNamespace(n);if(o.namespaced&&(e._modulesNamespaceMap[r],e._modulesNamespaceMap[r]=o),!a&&!i){var s=uA(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){s[l]=o.state}))}var c=o.context=function(e,t,n){var o=""===t,i={dispatch:o?e.dispatch:function(n,o,i){var a=dA(n,o,i),r=a.payload,s=a.options,l=a.type;return s&&s.root||(l=t+l),e.dispatch(l,r)},commit:o?e.commit:function(n,o,i){var a=dA(n,o,i),r=a.payload,s=a.options,l=a.type;s&&s.root||(l=t+l),e.commit(l,r,s)}};return Object.defineProperties(i,{getters:{get:o?function(){return e.getters}:function(){return cA(e,t)}},state:{get:function(){return uA(e.state,n)}}}),i}(e,r,n);o.forEachMutation((function(t,n){!function(e,t,n,o){(e._mutations[t]||(e._mutations[t]=[])).push((function(t){n.call(e,o.state,t)}))}(e,r+n,t,c)})),o.forEachAction((function(t,n){var o=t.root?n:r+n,i=t.handler||t;!function(e,t,n,o){(e._actions[t]||(e._actions[t]=[])).push((function(t){var i,a=n.call(e,{dispatch:o.dispatch,commit:o.commit,getters:o.getters,state:o.state,rootGetters:e.getters,rootState:e.state},t);return(i=a)&&"function"==typeof i.then||(a=Promise.resolve(a)),e._devtoolHook?a.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):a}))}(e,o,i,c)})),o.forEachGetter((function(t,n){!function(e,t,n,o){if(e._wrappedGetters[t])return;e._wrappedGetters[t]=function(e){return n(o.state,o.getters,e.state,e.getters)}}(e,r+n,t,c)})),o.forEachChild((function(o,a){lA(e,t,n.concat(a),o,i)}))}function cA(e,t){if(!e._makeLocalGettersCache[t]){var n={},o=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,o)===t){var a=i.slice(o);Object.defineProperty(n,a,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function uA(e,t){return t.reduce((function(e,t){return e[t]}),e)}function dA(e,t,n){return iA(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var pA=0;function hA(e,t){nA({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:["vuex bindings"]},(function(n){n.addTimelineLayer({id:"vuex:mutations",label:"Vuex Mutations",color:fA}),n.addTimelineLayer({id:"vuex:actions",label:"Vuex Actions",color:fA}),n.addInspector({id:"vuex",label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree((function(n){if(n.app===e&&"vuex"===n.inspectorId)if(n.filter){var o=[];yA(o,t._modules.root,n.filter,""),n.rootNodes=o}else n.rootNodes=[vA(t._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===e&&"vuex"===n.inspectorId){var o=n.nodeId;cA(t,o),n.state=function(e,t,n){t="root"===n?t:t[n];var o=Object.keys(t),i={state:Object.keys(e.state).map((function(t){return{key:t,editable:!0,value:e.state[t]}}))};if(o.length){var a=function(e){var t={};return Object.keys(e).forEach((function(n){var o=n.split("/");if(o.length>1){var i=t,a=o.pop();o.forEach((function(e){i[e]||(i[e]={_custom:{value:{},display:e,tooltip:"Module",abstract:!0}}),i=i[e]._custom.value})),i[a]=_A((function(){return e[n]}))}else t[n]=_A((function(){return e[n]}))})),t}(t);i.getters=Object.keys(a).map((function(e){return{key:e.endsWith("/")?mA(e):e,editable:!1,value:_A((function(){return a[e]}))}}))}return i}((i=t._modules,(r=(a=o).split("/").filter((function(e){return e}))).reduce((function(e,t,n){var o=e[t];if(!o)throw new Error('Missing module "'+t+'" for path "'+a+'".');return n===r.length-1?o:o._children}),"root"===a?i:i.root._children)),"root"===o?t.getters:t._makeLocalGettersCache,o)}var i,a,r})),n.on.editInspectorState((function(n){if(n.app===e&&"vuex"===n.inspectorId){var o=n.nodeId,i=n.path;"root"!==o&&(i=o.split("/").filter(Boolean).concat(i)),t._withCommit((function(){n.set(t._state.data,i,n.state.value)}))}})),t.subscribe((function(e,t){var o={};e.payload&&(o.payload=e.payload),o.state=t,n.notifyComponentUpdate(),n.sendInspectorTree("vuex"),n.sendInspectorState("vuex"),n.addTimelineEvent({layerId:"vuex:mutations",event:{time:Date.now(),title:e.type,data:o}})})),t.subscribeAction({before:function(e,t){var o={};e.payload&&(o.payload=e.payload),e._id=pA++,e._time=Date.now(),o.state=t,n.addTimelineEvent({layerId:"vuex:actions",event:{time:e._time,title:e.type,groupId:e._id,subtitle:"start",data:o}})},after:function(e,t){var o={},i=Date.now()-e._time;o.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},e.payload&&(o.payload=e.payload),o.state=t,n.addTimelineEvent({layerId:"vuex:actions",event:{time:Date.now(),title:e.type,groupId:e._id,subtitle:"end",data:o}})}})}))}var fA=8702998,gA={label:"namespaced",textColor:16777215,backgroundColor:6710886};function mA(e){return e&&"root"!==e?e.split("/").slice(-2,-1)[0]:"Root"}function vA(e,t){return{id:t||"root",label:mA(t),tags:e.namespaced?[gA]:[],children:Object.keys(e._children).map((function(n){return vA(e._children[n],t+n+"/")}))}}function yA(e,t,n,o){o.includes(n)&&e.push({id:o||"root",label:o.endsWith("/")?o.slice(0,o.length-1):o||"Root",tags:t.namespaced?[gA]:[]}),Object.keys(t._children).forEach((function(i){yA(e,t._children[i],n,o+i+"/")}))}function _A(e){try{return e()}catch(gB){return gB}}var bA=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},wA={namespaced:{configurable:!0}};wA.namespaced.get=function(){return!!this._rawModule.namespaced},bA.prototype.addChild=function(e,t){this._children[e]=t},bA.prototype.removeChild=function(e){delete this._children[e]},bA.prototype.getChild=function(e){return this._children[e]},bA.prototype.hasChild=function(e){return e in this._children},bA.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},bA.prototype.forEachChild=function(e){oA(this._children,e)},bA.prototype.forEachGetter=function(e){this._rawModule.getters&&oA(this._rawModule.getters,e)},bA.prototype.forEachAction=function(e){this._rawModule.actions&&oA(this._rawModule.actions,e)},bA.prototype.forEachMutation=function(e){this._rawModule.mutations&&oA(this._rawModule.mutations,e)},Object.defineProperties(bA.prototype,wA);var xA=function(e){this.register([],e,!1)};function AA(e,t,n){if(t.update(n),n.modules)for(var o in n.modules){if(!t.getChild(o))return;AA(e.concat(o),t.getChild(o),n.modules[o])}}xA.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},xA.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")}),"")},xA.prototype.update=function(e){AA([],this.root,e)},xA.prototype.register=function(e,t,n){var o=this;void 0===n&&(n=!0);var i=new bA(t,n);0===e.length?this.root=i:this.get(e.slice(0,-1)).addChild(e[e.length-1],i);t.modules&&oA(t.modules,(function(t,i){o.register(e.concat(i),t,n)}))},xA.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],o=t.getChild(n);o&&o.runtime&&t.removeChild(n)},xA.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var TA=function(e){var t=this;void 0===e&&(e={});var n=e.plugins;void 0===n&&(n=[]);var o=e.strict;void 0===o&&(o=!1);var i=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new xA(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=i;var a=this,r=this.dispatch,s=this.commit;this.dispatch=function(e,t){return r.call(a,e,t)},this.commit=function(e,t,n){return s.call(a,e,t,n)},this.strict=o;var l=this._modules.root.state;lA(this,l,[],this._modules.root),sA(this,l),n.forEach((function(e){return e(t)}))},kA={state:{configurable:!0}};TA.prototype.install=function(e,t){e.provide(t||"store",this),e.config.globalProperties.$store=this,void 0!==this._devtools&&this._devtools&&hA(e,this)},kA.state.get=function(){return this._state.data},kA.state.set=function(e){},TA.prototype.commit=function(e,t,n){var o=this,i=dA(e,t,n),a=i.type,r=i.payload,s={type:a,payload:r},l=this._mutations[a];l&&(this._withCommit((function(){l.forEach((function(e){e(r)}))})),this._subscribers.slice().forEach((function(e){return e(s,o.state)})))},TA.prototype.dispatch=function(e,t){var n=this,o=dA(e,t),i=o.type,a=o.payload,r={type:i,payload:a},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(r,n.state)}))}catch(gB){}var l=s.length>1?Promise.all(s.map((function(e){return e(a)}))):s[0](a);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(r,n.state)}))}catch(gB){}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(r,n.state,e)}))}catch(gB){}t(e)}))}))}},TA.prototype.subscribe=function(e,t){return aA(e,this._subscribers,t)},TA.prototype.subscribeAction=function(e,t){return aA("function"==typeof e?{before:e}:e,this._actionSubscribers,t)},TA.prototype.watch=function(e,t,n){var o=this;return oo((function(){return e(o.state,o.getters)}),t,Object.assign({},n))},TA.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._state.data=e}))},TA.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),lA(this,this.state,e,this._modules.get(e),n.preserveState),sA(this,this.state)},TA.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){delete uA(t.state,e.slice(0,-1))[e[e.length-1]]})),rA(this)},TA.prototype.hasModule=function(e){return"string"==typeof e&&(e=[e]),this._modules.isRegistered(e)},TA.prototype.hotUpdate=function(e){this._modules.update(e),rA(this,!0)},TA.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(TA.prototype,kA);var SA=PA((function(e,t){var n={};return BA(t).forEach((function(t){var o=t.key,i=t.val;n[o]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var o=RA(this.$store,"mapState",e);if(!o)return;t=o.context.state,n=o.context.getters}return"function"==typeof i?i.call(this,t,n):t[i]},n[o].vuex=!0})),n})),CA=PA((function(e,t){var n={};return BA(t).forEach((function(t){var o=t.key,i=t.val;n[o]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var o=this.$store.commit;if(e){var a=RA(this.$store,"mapMutations",e);if(!a)return;o=a.context.commit}return"function"==typeof i?i.apply(this,[o].concat(t)):o.apply(this.$store,[i].concat(t))}})),n})),EA=PA((function(e,t){var n={};return BA(t).forEach((function(t){var o=t.key,i=t.val;i=e+i,n[o]=function(){if(!e||RA(this.$store,"mapGetters",e))return this.$store.getters[i]},n[o].vuex=!0})),n})),IA=PA((function(e,t){var n={};return BA(t).forEach((function(t){var o=t.key,i=t.val;n[o]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var o=this.$store.dispatch;if(e){var a=RA(this.$store,"mapActions",e);if(!a)return;o=a.context.dispatch}return"function"==typeof i?i.apply(this,[o].concat(t)):o.apply(this.$store,[i].concat(t))}})),n}));function BA(e){return function(e){return Array.isArray(e)||iA(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function PA(e){return function(t,n){return"string"!=typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function RA(e,t,n){return e._modulesNamespaceMap[n]}const LA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKoAAAAkCAYAAAAZzKEqAAAAAXNSR0IArs4c6QAADS9JREFUeNrtXAuUVGUdX9R8paaUWZaFVIim5QtfdY6Yj9TU8LGllaKeAjM2dvd+3zezgHZ37r0zoAidDYQVcAV25z5cIAONztEQ0sSj5psUBU1QwQchoYLy6Pe/Myzz+O6de2fuzCmde853GODe7/n7/u//v6Eh5HNfR9M+ji5OMTX+G0vj0y2dLcXvlabON1g637qr2Tp/39TZm/j9DNr9aJ09Govh3y/vTbWe4MRin2uo4Nm5c2c/S20dZCb49ZYu7sT4j2KMdeh/S2YObAvmtR5/fwTzuKNHFz93NHak09i4Z7ljTlVvPKBrcvPBlbYFaJ0jRnwmt+9JLY37LfD5hvarkrnTc88EcaDfvGbh/3c2NPQrp+8lqrpXqXXPEuLAhmo/jsq/ZBvsd5bBnwUo3gcYduY1je1A+zd+v2Jr4hmA+BkA5WW8uw6/P971HoCzA39+aOvst+XOxUrEvot+0gAjjbe9aC5ezaDLxOY4qfg3yxi2X1pni7GmdRU32hNdnJa3JkOY9O8+363owhmUu2cL1RH7Yw9eLjGvLkdV9y6nfzrPEvOn9pAzqaV/VQBq6q1nAICmbfBNhcDEwM+lNXYLJnkx3juiA9S2iPKp6h5davPBpi5OxuHciG8dgGVtWhNtYecyR2s+2tH5fCsDdncemMMGWxeLANwJjsHGmroyDn+fbGVAtcaUAVnjH1lGbHZabRscBqj47nHJBfgwwzXYs2Gak4gd17dH1DcuH/q/CPv8oOySmRp7txKgdqnqvr16y8lpg//SNPgrHpe5txygEnebp8YHpg1xLvp+yIdYbLcTsV9ECtCeePwQbNoUAGCT5KCX2Rq/8D5VPSj0onAoc1T2RUcTRwWm5mB5GHM0Dmt938Hp/B2A7RpzgjhcHTp0r8JvVFwQR23pbyXYlVnxo/jwdfa2o7NLKwEq5rSMqFXYRofrybl0vjZqoOY+6QT7CQjNtqiAmkfYtPhQ9PMx9up1XMh3JXs+Pzo2b/DjAdInJYOsB/scTfJIQ42e+zo69jE1ZQoWvi1LQXfamnKPk2oJzL5JHrQNoYD6F106rHMLQD8mgPznRVGXRLleV/bWuVVNoC6cqHyBLmk1gJrW+VWuGKjzm0kvkYhfG7uamw+ueBG2xs6xNPEvySJWpA32HaJUtQJpd0fTQbiVTv5l4dMIvGWtLcm/l2G9BWAFBTA1cZMXlaslUN15GnxSNYFKCjHEsFVRA9VxGvckiol+NoMzHI/9Oi9XTNvNkcVlFS2gNxU/ASxdBtK3rER8SEMNH7oQoJ4FBybuJ3m3QrZ3OoC5Xia3wpox6n8BqOgzVVWgNhFQ2UtRA3Wernwdusg76OeRDozhJJsOhQK+ppgzK12N5Vow0irYgcH/Lpn8ezArndNQ4ycNoZsoXQ6LXtOTUE6KhGJBvjZJoSpYK9jWJuIadaCWeWYGb8r0w1p3WzPY9OK18PVpY8xh5W5OXKqpJXh7rUHqaKOPyt7MXGraHCl71WOG3ITFFpO9tA7UsLK1ugfOaCn6/Q/26Rt9a0nyi6SKbKL12vAbY/AT8fHbEtlttamKw2sK0kZXzrmrYC7riK1ESrGN0Yeh39VSe7DBr6kDNbwCjn3bDM53T65i2qmqZL9dK1HM/xbauYDOp8vNN1yrNTW1VH4iaeIFc7EayvSY+I6V5L+WrRt22BfUYstGHag+lgpYVdpc+zQoqERBT0jG2mqq8QHBb0Ky7VBLYgDGYb1fawUqe0jtRXNJKDdURQ4eM/owyKubZFSVHB11oAZ75ifbPg+2/xQI28qZarHniVzuufpG35ra2a+CbwqZEDJ2r4JJsyXlmoHK1/Qb9ihix7Cfwk9/StUuhsZny70o4rY6UAPPtxF7swNUdaLs/+fcyj6Ld56UrOkBmTfTw5MA/73c3XVzrakpAVIyj42O3vKVao1pGuJs2mQJUB8jE0sdqKXZPn2Hvdk6b0J+/EIpTlmoeJU4KNd3XmhT3GEmlStqDVTIMm0SU8YaR61SIEMf25K5LPnbc43mL5cEqsaXdydajgvarFtKH8z/E1ApxoPc2WDtT/h9C6X8ZPIqSjxVIwKyPvaU1PidaD691kDFYTgShW5VpSGBpawMGOdemZzaOz727QAUNVRDBNbznySgQv682iVsCX/F2w28gXdTcr5PB/J2yhQpN4zPGHNsZWwcXgrErPo1uNKOzrc+kB2uiD281pOKH1JVSo7IKzmoYt8vCVRDvIW1zE1rvDtIw97e+kkCKjx9i11FyeATS543YpdlEVUmPKIBSLfUfrqJgpIrPPyr0NdCiBZrPCmMxkYWHNATkkuzgWyeVbU0aOw6KVC1lvPrMqqP2ARCY0m0+dDNEHpJmyo2QAakzemkMrjSDSFbpJWKD5E5E0IAdevcECGBZQGjXblANr+7NTa0DlQ/+ztLZl3PM9BEqWa7TTxbfMbiHx7ewFyg8pWSCW+xEsqQCDe+PQhQyVshe68n2XphVWVjN6i7CBjbYGM+pg5UD9EO4phFAUwaW70gRKBQOhkbKVFct5kI6i4loy6Xaf1pTRkWnTYvhgUBKrR+28P/Pra6rN9lYUURYwWBE3Wg5uEmdkEme0LMDKV8jY99DWvZXqwPKDeXMgnZHu7TMZFp1khRCALUtMQ8lTVhLCsRK1oZMDKxDoXjPlZgjK4DNZ8L3SVROIOu768SLDzly/5tD4M/JrKI8mxqCVQZC95l9DdTzQOqavQvjvyfUvdMyZ+Fner+maxjsaKzMz+bNhAekFYkEzd7EH7pfUhJcYkt19w2zg2R7hEFUMmeJrO1UeYqxAelWlTVSrIiuclOFcXg1oG621L006yIOLq8/Uaau8beKw7949M8baoUhY0B13lkPt5US6Bm5UVdTlXZi90TxFer5Gi4o8Bc8lJHcZxDHah0lpNa9rNJ6YXnzhnHjixnfDJFQXFeJBHxXidPod/G/NEjMOM5KkpQS6B2J5VjsIkbaxV/QAeTZxbLxKM2SV6tA5W0fWRZkEMIXO7PlSR5QkG+UmrhMZQfen7UDQ0um59eHJtpsFgtgZqVVafJ3+dvWsm2QVGCwjZaz8pfu3iE0pnrQPV05Gj0rpNgP6tkDkumqgdYmeo6+es0+CzPj6jUip0UaQ/t/53eRJ7Pu+pApcANsIZ/euTiL4owXbtfnlsPtlNJHGodqLtYNnQE7P9reO8DCt2LwCxoSpT4Vd1+9SLSybbBli6XVUFlnqgk1C4sUOm5ezxRefaBNFVEZ39orLAOU0Y+F5fsLsTAkFXAJvsobJ96oJp67Ixs7HJ3JNws42bfURR/7Kf9u2DVxXCPChok6C4nxau8mxM/LyxQXYEbypw0qBvRXaD0syiPvGwFanJ8ANXJyslomNYpZ/mfHqAmfIEK7iNmYN8/7IUZMYp53NnWRNklayW4uNfX7JUpncPGWnpRzlJfKR8nwc8MayYyIc+EBSo9He6Guof2sbRoBMA6b2L4pD+q+0SpEzl9zQ9QnihyoFL5GzvFL682UClBE2x2bGmKyhZ72c6tca449iIu9KNR2deza+2VBsvDg+X7oWvL1MR1UrabzfOnNA0KmA2u4Ymp5QDVBZVD8aJslOflMfirZM8LEgo4qYVMK8pwzH9dH2XWRJIyJQPJsxEBlXzjWFOzeyBG7EdBgRo2F/55UEfq3yZQ5qSJeAEVF/YFr8sAr+HIbMXGSN3ZJuYn1f4T0kxgCUBS8ZMw8Qfk+VSukrUZBchuMxNtp1L1ElV1C5X1yxW8SShOt7OLs+UhywJq30aBkiNI91GfcLEN8CZNtGHe6Em1DKSkRbeoBoqoAcQnEZgB6lW75Vz+MhTIMPEMXkBdTRcJSsDVblXDdnG2k2Snd6eUITDBHNvX9NbTenT242y5njezF2VFGnWgggCVCAcsMDfBKH6tlVQucwzlXCpR1Jtkp+aOMxfuYDLxUBEIrPf57Pcf9ObEfPrIqGjKjXJigyp9GvuoJ+K0dTfCzhCS6oJsaUfQnD0HvlcUKLsCHz2MCJft8tRiqtvEX0V7kMpT4t9m4P2Z2LR5+P2C1OvlZnnypxFIfH44m2dLf5uCcHVQUZ/4Rjtj51ufAYTrAdmWQ5neIDboa1gOB1TPEotu+nC22ZIaTPC2jQ8qo/q2nHGk9WIN/rijNu4dDKhiA0xEcy09Ft9VPsnUxx6RKVInHq6KZ1BTfi9ZkzsegunHz8OFDOZJoPqXqfjAjPzK/pSlTJuDbSKZfMQbAMhyfNdB8iq0um81VJCn36Veu69lKBS9k0a/K7xswFlg0uGtxNizUQVw2CxxfdkODIBtHBVpi6JhX25HtZAT5No1uzSqcagV2jzJvId9SfrOzxBjd5kBqe4p5judrDdVASpxA/Qvmwe41FQHuWahO6USjlRiPJ3kZyI0azgK68aJMgAItzvZht90Q9oB0BsQgHC+pbYN+ksEdjeZPE2sPZNJykZi81UE6KYwL1CkGGJgxShHi/8g63qtWvRV/an+81+j6y3fDH4qoQAAAABJRU5ErkJggg==",OA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAAXNSR0IArs4c6QAAAIRQTFRFAAAAABAgABAwACAwEBAwABgoCBgoCBgwBRUqBRsqBBgsAxotBRguAxgtBRgtBRkuBRkrBRkuBxkuBhouBBgsBhgsBRktBRkuBBksBRksBRgrBRotBhotBRgtBBksBBktBhktBBgsBRktBBksBRksBRkuBRgtBRktBRkuBBotBRotBRktSPgVxgAAACt0Uk5TABAQEBAgICAwMEBQX2Bgb3BwcH+AgI+PkJCfn5+gr6+vv7/Pz8/f39/v794c/2UAAADtSURBVBgZzcHrVoJAGAXQYw2XJnEqKJsUZDRunfd/v3Cx6huQ+e/euG9xZuu+56hvznab4kaUD1zoDhFm9lyVw7NnwAcEgyDODKggHkuucgo+XXJpcBq+BwBKF+7CydBWVisAEcQB/+KRwp8TBDuNFfqbECQ7q+Hb6LwnCcFJU9vCZFlW2GPPCQSDIH4YAlEw4B2e144rhhfMJDvHBWcUfG8YKW2sc+3IVV9GK4wMBHOsMoQgu22EhTgfSAheNbXRaQxgE6fP5tjzCoJBEAyC+GSAhafgKouZpOy4MBQJbjztrLu0HLVtZbMYd+0XzTxU7QONSAcAAAAASUVORK5CYII=",MA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAMAAABF0y+mAAAAAXNSR0IArs4c6QAAAJlQTFRFAAAA39/vABgo5+fvBRUq5OTqBBgs4+Pr5OfsBxkuBBgs4+XrBRksBRgt5eftBhktQ1Ji5ebsBBgsBRkt5ObsBRkt5ebtBBot5ebtBRktFSc6ITNFJDZHJTZHQ1JhQ1NhWWZ1Ym97Y297cn6Icn6JdYCNgoyWg42ZkZmloamwsLe9wMXKyczV0NPY19nh4OLl5ebt7/Hy////rUgyHAAAABl0Uk5TABAgIDAwQEBgcICAkJ+fr6+vv7+/39/v7+TXZxIAAAClSURBVCjPxdLZEoIgFIBh24uyPfWQabRQ2iKe93+4DjROYxk3TeN/AcN8DBeA49RQc+HDZ6uBwQlU19X4xWBkQ/d3jPJsBxBeUNIiwZTTtFVex+ANMQOQiLiBmMaDQRUYTBBTAEFbOPAcMXqiMsjFXp8kZEhjKLW9sKo/4cmC62uBc8amx1Lnu9LIfLdNF9VXFRVv3ggs6PRmy1IlfK819MZ1fNsHtw05g72KPUcAAAAASUVORK5CYII=";let DA,NA;const $A=Bx({data:()=>({nav:["component","API","extUI","template"],isPC:!1,array:[{name:"中国"},{name:"美国"},{name:"巴西"},{name:"日本"}],index:0,isShowMore:!1,showy:"",gd:[]}),components:{componentPage:Ox,API:Yx,extUI:Gx,templatePage:Jx},computed:{...SA({active:e=>e.active,hasLeftWin:e=>!e.noMatchLeftWindow,leftWinActive:e=>e.leftWinActive.split("/")[3]})},created(e){Yd("updateDetail",(e=>{console.log("监听自定义事件"),this.gd=[],this.gd=qv().globalData.test,console.log(JSON.stringify(qv().globalData.test))})),Yd("newChat",(e=>{this.newDialogue()}))},onReady(){qp().select(".left-window-style").boundingClientRect((e=>{console.log("信息",e),this.clientHeight=e.height})).exec()},mounted(){DA=Rp(this),NA=Rp(this),DA.observe({minWidth:768},(e=>{this.isPC=e;const t=this.$route.path;if(!t)return;const n=this.$route.path.split("/")[4];"/"===t||this.nav.includes(n)||mb({url:t})})),NA.observe({maxWidth:767},(e=>{this.isPC=!e,e&&(this.$route.path,this.$route.path.split("/")[2])}))},unmounted(){DA.disconnect(),NA.disconnect()},watch:{isPC:{immediate:!0,handler(e){this.setMatchLeftWindow(e)}},$route(e){this.handlerRoute(e)}},methods:{...CA(["setMatchLeftWindow","setActive","setLeftWinActive"]),someMethod(){console.log("Method called from Page A")},onmouse(){console.log("鼠标点击")},getElementYCoordinate:e=>document.querySelector("."+e).getBoundingClientRect().top+window.scrollY,newDialogue(){mb({url:"/pages/component/view/view"})},mao(e){var t=this.getElementYCoordinate("test");this.showy=t+28+"px",console.log("元素的y坐标:",t+"px"),this.isShowMore=!this.isShowMore},handlerRoute(e){if(this.isPC)if("/"===e.path);else if(e.matched.length){this.setLeftWinActive(e.path);let t=e.path.split("/")[2];this.nav.includes(t)&&("component"===t&&(t="componentPage"),"template"===t&&(t="templatePage"),this.setActive(t))}else gb({url:"/pages/error/404"})},switchTab(){}}},[["render",function(e,t,n,o,i,a){const r=Jf,s=Cm,l=Rm,c=Rx(Gn("uni-icons"),Px);return Yi(),Zi(Vi,null,[i.isShowMore?(Yi(),ea(l,{key:0,style:se([{top:i.showy},{color:"white","font-size":"14px",position:"fixed",left:"218px",width:"198px",height:"124px",background:"#FFFFFF","box-shadow":"0px 4px 8px 0px rgba(0,0,0,0.1)","border-radius":"8px",border:"1px solid #E0E1E9",display:"flex","flex-direction":"column",padding:"8px 12px","box-sizing":"border-box"}])},{default:Vn((()=>[sa(l,{style:{display:"flex","flex-direction":"row",flex:"1","align-items":"center"}},{default:Vn((()=>[sa(r,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAAXNSR0IArs4c6QAAAGZQTFRFAAAAABAwACAwEBAwABgoCBgoCBgwBRUqBRswBBgsAxotBhotBRguBRgtBRkuBRkrBRkuBxkuBBgsBRkuBRksBRgtBRotBRgtBRotBBktBBgsBRktBRksBRouBRktBBotBRotBRktvQU2TAAAACF0Uk5TABAQECAgIDAwQFBQX2BvcHBwgI+Qn5+goK+/v8/P3+/vh0X9hgAAAMVJREFUOMu9lNsOgjAQREetBRREUS4CFub/f9IHwBKELSbqvu5JT2eSFvjRnBoTKhdDksxkzJAkaTYCE7GfWIDuA5S4bTKEqOygQM6nc5Jmeb81VwVARyaVs2UeAOyWoYokWYXSbdQQzQQrmpSyVa+TVtiYrrF537LdPrKpgheHTRVvamuLLTKFrE1bhKU/b6tHyLT5dmR7zCPDorO18wiQWxvO8wgQ91AIAPuFLg/OtgFo55vs4zVH13fyoPGdf05Sa/xhnjFFJSNCbJubAAAAAElFTkSuQmCC",style:{width:"18px",height:"18px","margin-right":"4px"}}),sa(s,{style:{color:"#05192D","font-size":"14px"}},{default:Vn((()=>[ca("重命名")])),_:1})])),_:1}),sa(l,{style:{display:"flex","flex-direction":"row",flex:"1","align-items":"center"}},{default:Vn((()=>[sa(r,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAAXNSR0IArs4c6QAAAI1QTFRFAAAAABAgABAwACAwEBAwABgoCBgoCBgwABsqBRUqBRsqBRswBBgsAxotBhotBRguBRgtBRkuBRkrBRkuBxkuBBouBhouBBgsBhgsBRktBRkuBBksBRksBRgrBRgtBRotBRovBhotBRgtBBksBBktBBgsBRgsBRktBBksBRksBRkuBRktBBotBRotBRktCl7VzgAAAC50Uk5TABAQEBAgICAwMDAwQFBQX2BvcHBwf3+AgI+PkJCfn5+fn6Cvr7+/v8/Pz9/v7y1niJwAAADTSURBVBgZ3cFrV4JAFAXQg0GTRcHQgx6aYukQdzz//+cVOAasxeV77Y3/JXWeTYZZj+w0C+gSBs/QvTEQ6HYMBLqCwQGqxDHIMBLZqrIJWtaTnq0CI6/svCwQOVJSk6/X1mBky6C58+RnjAk5B3yBSY69vcE0DiyhOLKXQuHYM1Ck/HWAquSZbBJoSmGr5g+XoRPZyq0SDMS3ZWkvYfKapGyWwJWw9YQp1zsh2WTCkwdMy/fsCTRmJTyDrmAg0F0cefKOGffsfMWYc/PhfV3G+Mu+AQWZMmHrEY6aAAAAAElFTkSuQmCC",style:{width:"18px",height:"18px","margin-right":"4px"}}),sa(s,{style:{color:"#05192D","font-size":"14px"}},{default:Vn((()=>[ca("分享")])),_:1})])),_:1}),sa(l,{style:{display:"flex","flex-direction":"row",flex:"1","align-items":"center"}},{default:Vn((()=>[sa(r,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAAXNSR0IArs4c6QAAAFpQTFRFAAAABBgsAxctAxotBhotBRguAxgqAxgtBRgtBRkuBRkrBBgsBhgsBBktBRktBRgtBhotBRgtBBksBhktBBgsBRktBRksBRouBRktBRkuBBotBRktBRotBRktOHAvuAAAAB10Uk5TAEBPUFBfYGBgb3CAgI+Pn5+gr6+/v8/P39/v7+9kR53/AAAAiklEQVQ4y+WUSQ6AIAxFi7M4KyoO3P+aSjQGtLAwcaG+zU/o23QIAB/AG8UBdw0SFwrTpRyXK43QaOSbr0jCiCIlzAB9pvt2QGnN3SvTui2N9bwFt0gOUBkUXItEIJQRAPmtlEO2RWxby7BPHl1Lj++u06QKlwpNIrhE9KtLMCc932bEzgrzXv/dLASiNdfNxGx1AAAAAElFTkSuQmCC",style:{width:"18px",height:"18px","margin-right":"4px"}}),sa(s,{style:{color:"#05192D","font-size":"14px"}},{default:Vn((()=>[ca("删除")])),_:1})])),_:1})])),_:1},8,["style"])):ua("",!0),sa(l,{class:"left-window-style"},{default:Vn((()=>[sa(l,{class:"logo-row"},{default:Vn((()=>[sa(r,{class:"logo-image",src:LA}),sa(r,{class:"expand-image",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAAXNSR0IArs4c6QAAADlQTFRFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAvHZQPQAAABJ0Uk5TABAgQFBfYG9wgJCfoK+/z9/vGekEvwAAAKhJREFUGBntwdsSgiAUBdDNkdDjLdj//7FJ2g2UiaeaqbXw95PawGOzIGVZNCPVsQwpCSzpkZF+ONbiE2yLGmaiooINpOJtZuJC8S4bGCmuTOMyVvBgJq4UkXju6XBjAzeKqOeugBvnuVFEyl0edzJypYiM5x6HJ84zUqwalzN4ISMXigrOk4oaMlJRxzl8G+mHYydkJLBkQKpjGVINi87IqOexWfD3Qy6HHSAsSttaJAAAAABJRU5ErkJggg=="})])),_:1}),sa(l,{onClick:a.newDialogue,style:{display:"flex","flex-direction":"row","background-color":"#000000","align-items":"center","justify-content":"center",height:"32px","border-radius":"8px","margin-bottom":"12px"}},{default:Vn((()=>[sa(c,{type:"plusempty",size:"14px",style:{"margin-right":"4px"},color:"white"}),sa(s,{style:{color:"white","font-size":"14px"}},{default:Vn((()=>[ca("新对话")])),_:1})])),_:1},8,["onClick"]),sa(l,{style:{display:"flex","flex-direction":"row","background-color":"white","align-items":"center",height:"34px","border-radius":"8px",border:"1px solid #E0E2E9",padding:"0 12px","margin-bottom":"12px"}},{default:Vn((()=>[sa(r,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAAXNSR0IArs4c6QAAAIdQTFRFAAAAABAgABAwACAwEBAwABgoCBgoCBgwBRUqBRsqBBgsAxotBRguAxgqAxgtBRgtBRkuBRkrBxkuBBouBhouBBgsBBksBRksBRgtBRotBhotBRgtBRotBBksBBktBhktBhktBBgsBRgsBRktBRksBRkuBRouBRgtBRktBBotBRktBRotBRktVJgp8wAAACx0Uk5TABAQEBAgICAwMEBQX2BgYG9wcH9/gJCQn5+foKCvr6+wv7+/z8/P39/v7++MUPmQAAABAklEQVQYGc3B3VaCQABG0a90REcSM0yMsmgyBzjv/3zR6geYsdWte+vS2d2xhuNzavSXzPNrb3SOcXTqU1XVdPxSMeOBJztVZ1F6IFfIePBWP5ISSBV4AzfVwBYao5EM/FQjW3Aa8ZAo4MBqYAmFQhYKDTxCooij0cA7XrF7mKnX8qLYCqx6UChm4UY9KBSzYNXzOMVuYa5eSXOtyAE0sAKrkGl51cCkxSl0B6mGtrDRmKnxGpl4mGvIeEg1tmhpUvWMB6fQooW90ZervKaTK7TwgFtba1cPNXAAcoWSkl5llQG5Ism64tNpZ9XJgFznzOxsqm8ZsNF/Mmj0r6ze6UJ9AHEPI3UsnqzOAAAAAElFTkSuQmCC",style:{width:"18px",height:"18px","margin-right":"2px"}}),sa(s,{style:{color:"#5D6A77","font-size":"14px"}},{default:Vn((()=>[ca("搜索")])),_:1})])),_:1}),sa(l,{style:{display:"flex","flex-direction":"row","align-items":"center",height:"28px",padding:"0 12px","margin-bottom":"12px"}},{default:Vn((()=>[sa(r,{src:OA,style:{width:"18px",height:"18px","margin-right":"4px"}}),sa(s,{style:{color:"#05192D","font-size":"14px"}},{default:Vn((()=>[ca("数据库")])),_:1})])),_:1}),sa(l,{style:{height:"1px","background-color":"#E0E1E9","margin-bottom":"12px"}}),sa(l,{style:{display:"flex","flex-direction":"row","align-items":"center",height:"28px",padding:"0 12px","margin-bottom":"8px","justify-content":"space-between"}},{default:Vn((()=>[sa(l,{style:{display:"flex","flex-direction":"row","align-items":"center"}},{default:Vn((()=>[sa(r,{src:MA,style:{width:"14px",height:"14px","margin-right":"4px"}}),sa(s,{style:{color:"#05192D","font-size":"10px"}},{default:Vn((()=>[ca("对话记录")])),_:1})])),_:1}),sa(c,{type:"plusempty",size:"14px",color:"#000000"})])),_:1}),(Yi(!0),Zi(Vi,null,Qo(i.gd,((e,t)=>(Yi(),ea(l,{key:t},{default:Vn((()=>[sa(l,{style:{display:"flex","flex-direction":"row","align-items":"center",height:"28px",padding:"0 12px","justify-content":"space-between","border-radius":"8px"}},{default:Vn((()=>[sa(s,{style:{color:"#05192D","font-size":"14px"}},{default:Vn((()=>[ca("无标题对话")])),_:1}),sa(c,{type:"more-filled",size:"14px",color:"#5D6A77",class:"test"})])),_:1})])),_:2},1024)))),128)),sa(l,{style:{flex:"1"}}),sa(l,{class:"feeback-row"},{default:Vn((()=>[sa(r,{class:"feeback-image",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAAXNSR0IArs4c6QAAAFdQTFRFAAAAYHBwWGh4YGh4WmV1YGV1XGh4XGl2Xmt5XWh1Xmp3Xmp2XGp2XGp4XWt3XGp3XWp3X2p3XGl4XWl3XWh3XGl3XWl3XGp3XWl3XWp3Xml3XWp3XWp3HwFHkwAAABx0Uk5TABAgIDAwQFBfYG9/gICPkJ+foK+wv7/P39/f74aWW1UAAADBSURBVDjLzdTJEsIgEATQRiIuGEUjRDP9/9/pRSNkwJtVmfOrYesBWGu5JCzrBpMmXxhSm5FkrlLDFKpughSqanp0QkoDvdcKwJkMdTTvJ3hyNFU0G7IwOeoX5lpBylAjbTQatNHIYVgahQSW7DvJjUJ3HChAJ5lRaI9EevjcKGQNSRZ9FHp+chUzozoZ8yDjcYPMKHSC3RkALg+huicPGHcp466fRablQLAZ3z+j1Dbxx3DOJ7Hf/Np6L4nb1f5ML8ssSGKmZXebAAAAAElFTkSuQmCC"}),sa(s,{class:"feeback-text"},{default:Vn((()=>[ca("问题反馈")])),_:1})])),_:1})])),_:1})],64)}],["__scopeId","data-v-10507cd0"]]);window.uni={},window.wx={},window.rpx2px=Wd;const qA=Object.assign({}),UA=Object.assign;var jA;window.__uniConfig=UA({backgroundColorContent:"#007AFF",leftWindow:{path:"windows/left-window.vue",style:{width:"262px"}},globalStyle:{pageOrientation:"portrait",backgroundColor:"#007AFF",backgroundColorTop:"#F4F5F6",backgroundColorBottom:"#F4F5F6",maxWidth:1920,navigationBar:{backgroundColor:"#F1F1F1",titleText:"歌莉娅AI数据分析",type:"default",titleColor:"#000000"},isNVue:!1},tabBar:{position:"bottom",color:"#7A7E83",selectedColor:"#007AFF",borderStyle:"black",blurEffect:"none",fontSize:"10px",iconWidth:"24px",spacing:"3px",height:"50px",backgroundColor:"#F8F8F8",list:[{pagePath:"pages/tabBar/component/component",iconPath:"/static/component.png",selectedIconPath:"/static/componentHL.png",text:"内置组件"},{pagePath:"pages/tabBar/API/API",iconPath:"/static/api.png",selectedIconPath:"/static/apiHL.png",text:"接口"},{pagePath:"pages/tabBar/extUI/extUI",iconPath:"/static/extui.png",selectedIconPath:"/static/extuiHL.png",text:"扩展组件"},{pagePath:"pages/tabBar/template/template",iconPath:"/static/template.png",selectedIconPath:"/static/templateHL.png",text:"模板"}],selectedIndex:0,shown:!0},compilerVersion:"4.24"},{appId:"__UNI__A1CADD0",appName:"AIDataAnalysis",appVersion:"1.0.0",appVersionCode:"100",async:Ex,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{maps:{qqmap:{key:"TKUBZ-D24AF-GJ4JY-JDVM2-IBYKK-KEBCU"}}},qqMapKey:"TKUBZ-D24AF-GJ4JY-JDVM2-IBYKK-KEBCU",bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys(qA).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return UA(e[n]||(e[n]={}),qA[t].default),e}),{}),router:{mode:"history",base:"/",assets:"assets",routerBase:"/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{},window.__uniConfig.leftWindow.component=(jA=-2,Fv($A,{init:e=>{e.$page={id:jA}},setup(e){e.$pageInstance=e}}));const FA={delay:Ex.delay,timeout:Ex.timeout,suspensible:Ex.suspensible};Ex.loading&&(FA.loadingComponent={name:"SystemAsyncLoading",render:()=>sa(Kn(Ex.loading))}),Ex.error&&(FA.errorComponent={name:"SystemAsyncError",render:()=>sa(Kn(Ex.error))});const VA=()=>t((()=>import("./pages-component-view-view.BBBwrkqR.js")),__vite__mapDeps([0,1,2,3,4,5,6])).then((e=>Vv(e.default||e))),zA=To(UA({loader:VA},FA)),WA=()=>t((()=>import("./pages-component-scroll-view-scroll-view.CqqKWnEd.js")),__vite__mapDeps([7,8])).then((e=>Vv(e.default||e))),HA=To(UA({loader:WA},FA)),XA=()=>t((()=>import("./pages-component-swiper-swiper.BCLmFfUF.js")),__vite__mapDeps([9,10])).then((e=>Vv(e.default||e))),KA=To(UA({loader:XA},FA)),YA=()=>t((()=>import("./pages-component-cover-view-cover-view.BveZVrNK.js")),__vite__mapDeps([11,12,13])).then((e=>Vv(e.default||e))),GA=To(UA({loader:YA},FA)),QA=()=>t((()=>import("./pages-component-movable-view-movable-view.Chy3Ugxi.js")),__vite__mapDeps([14,15])).then((e=>Vv(e.default||e))),JA=To(UA({loader:QA},FA)),ZA=()=>t((()=>import("./pages-component-text-text.C_dd72T5.js")),__vite__mapDeps([16,17])).then((e=>Vv(e.default||e))),eT=To(UA({loader:ZA},FA)),tT=()=>t((()=>import("./pages-component-rich-text-rich-text.Cm0EG9WJ.js")),[]).then((e=>Vv(e.default||e))),nT=To(UA({loader:tT},FA)),oT=()=>t((()=>import("./pages-component-progress-progress.C7ZH6S-J.js")),__vite__mapDeps([18,19])).then((e=>Vv(e.default||e))),iT=To(UA({loader:oT},FA)),aT=()=>t((()=>import("./pages-component-button-button.CI4Bkxl2.js")),__vite__mapDeps([20,21])).then((e=>Vv(e.default||e))),rT=To(UA({loader:aT},FA)),sT=()=>t((()=>import("./pages-component-checkbox-checkbox.CGWvJiFt.js")),__vite__mapDeps([22,23])).then((e=>Vv(e.default||e))),lT=To(UA({loader:sT},FA)),cT=()=>t((()=>import("./pages-component-form-form.B1yqmLlU.js")),__vite__mapDeps([24,25])).then((e=>Vv(e.default||e))),uT=To(UA({loader:cT},FA)),dT=()=>t((()=>import("./pages-component-input-input.BhyYeX_2.js")),__vite__mapDeps([26,27])).then((e=>Vv(e.default||e))),pT=To(UA({loader:dT},FA)),hT=()=>t((()=>import("./pages-component-label-label.DNhzXGzB.js")),__vite__mapDeps([28,29])).then((e=>Vv(e.default||e))),fT=To(UA({loader:hT},FA)),gT=()=>t((()=>import("./pages-component-picker-picker.D12pfQ4E.js")),__vite__mapDeps([30,31])).then((e=>Vv(e.default||e))),mT=To(UA({loader:gT},FA)),vT=()=>t((()=>import("./pages-component-picker-view-picker-view.yvTPhkGB.js")),__vite__mapDeps([32,33])).then((e=>Vv(e.default||e))),yT=To(UA({loader:vT},FA)),_T=()=>t((()=>import("./pages-component-radio-radio._tGwdVlH.js")),__vite__mapDeps([34,35])).then((e=>Vv(e.default||e))),bT=To(UA({loader:_T},FA)),wT=()=>t((()=>import("./pages-component-slider-slider.BoDGHd69.js")),[]).then((e=>Vv(e.default||e))),xT=To(UA({loader:wT},FA)),AT=()=>t((()=>import("./pages-component-switch-switch.CY0tfnfy.js")),[]).then((e=>Vv(e.default||e))),TT=To(UA({loader:AT},FA)),kT=()=>t((()=>import("./pages-component-textarea-textarea.CXHhKGIZ.js")),[]).then((e=>Vv(e.default||e))),ST=To(UA({loader:kT},FA)),CT=()=>t((()=>import("./pages-component-editor-editor.rIRRD6kQ.js")),__vite__mapDeps([36,37])).then((e=>Vv(e.default||e))),ET=To(UA({loader:CT},FA)),IT=()=>t((()=>import("./pages-component-navigator-navigator.Co2o15eH.js")),[]).then((e=>Vv(e.default||e))),BT=To(UA({loader:IT},FA)),PT=()=>t((()=>import("./pages-component-navigator-navigate-navigate.to9WOZie.js")),[]).then((e=>Vv(e.default||e))),RT=To(UA({loader:PT},FA)),LT=()=>t((()=>import("./pages-component-navigator-redirect-redirect.BRAFcIu8.js")),[]).then((e=>Vv(e.default||e))),OT=To(UA({loader:LT},FA)),MT=()=>t((()=>import("./pages-component-image-image.CAlniqA1.js")),__vite__mapDeps([38,12,39])).then((e=>Vv(e.default||e))),DT=To(UA({loader:MT},FA)),NT=()=>t((()=>import("./pages-component-video-video.FbG3Md2H.js")),__vite__mapDeps([40,41])).then((e=>Vv(e.default||e))),$T=To(UA({loader:NT},FA)),qT=()=>t((()=>import("./pages-component-map-map.DTX0kfGZ.js")),__vite__mapDeps([42,43])).then((e=>Vv(e.default||e))),UT=To(UA({loader:qT},FA)),jT=()=>t((()=>import("./pages-component-canvas-canvas.BD_7jUod.js")),__vite__mapDeps([44,45])).then((e=>Vv(e.default||e))),FT=To(UA({loader:jT},FA)),VT=()=>t((()=>import("./pages-component-web-view-web-view.nlr-BK5C.js")),[]).then((e=>Vv(e.default||e))),zT=To(UA({loader:VT},FA)),WT=()=>t((()=>import("./pages-component-web-view-local-web-view-local.CrGLwB7O.js")),[]).then((e=>Vv(e.default||e))),HT=To(UA({loader:WT},FA)),XT=()=>t((()=>import("./pages-about-about.BKiCBfmK.js")),__vite__mapDeps([46,1,2,47,48,49,50,51,52,3,4,5,53])).then((e=>Vv(e.default||e))),KT=To(UA({loader:XT},FA)),YT=()=>t((()=>import("./pages-error-404.DwQwRPwD.js")),[]).then((e=>Vv(e.default||e))),GT=To(UA({loader:YT},FA)),QT=()=>t((()=>import("./uni_modules-uni-upgrade-center-app-pages-upgrade-popup.B5S9vP_8.js")),__vite__mapDeps([54,55])).then((e=>Vv(e.default||e))),JT=To(UA({loader:QT},FA)),ZT=()=>t((()=>import("./pages-API-login-login.DIczik7D.js")),__vite__mapDeps([56,57])).then((e=>Vv(e.default||e))),ek=To(UA({loader:ZT},FA)),tk=()=>t((()=>import("./pages-API-get-user-info-get-user-info.CIZZlsUi.js")),__vite__mapDeps([58,59])).then((e=>Vv(e.default||e))),nk=To(UA({loader:tk},FA)),ok=()=>t((()=>import("./pages-API-request-payment-request-payment.FUDV8pp9.js")),__vite__mapDeps([60,61])).then((e=>Vv(e.default||e))),ik=To(UA({loader:ok},FA)),ak=()=>t((()=>import("./pages-API-share-share.By6i5uKw.js")),[]).then((e=>Vv(e.default||e))),rk=To(UA({loader:ak},FA)),sk=()=>t((()=>import("./pages-API-set-navigation-bar-title-set-navigation-bar-title.wgdO5a-F.js")),[]).then((e=>Vv(e.default||e))),lk=To(UA({loader:sk},FA)),ck=()=>t((()=>import("./pages-API-show-loading-show-loading.CVA13J27.js")),[]).then((e=>Vv(e.default||e))),uk=To(UA({loader:ck},FA)),dk=()=>t((()=>import("./pages-API-navigator-navigator.DrJUind9.js")),[]).then((e=>Vv(e.default||e))),pk=To(UA({loader:dk},FA)),hk=()=>t((()=>import("./pages-API-navigator-new-page-new-vue-page-1.GAofbeXW.js")),__vite__mapDeps([62,63])).then((e=>Vv(e.default||e))),fk=To(UA({loader:hk},FA)),gk=()=>t((()=>import("./pages-API-navigator-new-page-new-vue-page-2.DVSa9dKc.js")),__vite__mapDeps([64,65])).then((e=>Vv(e.default||e))),mk=To(UA({loader:gk},FA)),vk=()=>t((()=>import("./pages-API-pull-down-refresh-pull-down-refresh.CWCtFK0U.js")),__vite__mapDeps([66,67])).then((e=>Vv(e.default||e))),yk=To(UA({loader:vk},FA)),_k=()=>t((()=>import("./pages-API-animation-animation.mgzZWcLo.js")),__vite__mapDeps([68,69])).then((e=>Vv(e.default||e))),bk=To(UA({loader:_k},FA)),wk=()=>t((()=>import("./pages-API-get-node-info-get-node-info.y5DKCoYB.js")),__vite__mapDeps([70,71])).then((e=>Vv(e.default||e))),xk=To(UA({loader:wk},FA)),Ak=()=>t((()=>import("./pages-API-intersection-observer-intersection-observer.zFyl9yDV.js")),__vite__mapDeps([72,73])).then((e=>Vv(e.default||e))),Tk=To(UA({loader:Ak},FA)),kk=()=>t((()=>import("./pages-API-canvas-canvas.B3jSS2V9.js")),__vite__mapDeps([74,75])).then((e=>Vv(e.default||e))),Sk=To(UA({loader:kk},FA)),Ck=()=>t((()=>import("./pages-API-action-sheet-action-sheet.CPGBt-Jx.js")),[]).then((e=>Vv(e.default||e))),Ek=To(UA({loader:Ck},FA)),Ik=()=>t((()=>import("./pages-API-modal-modal.BBUQtyXd.js")),[]).then((e=>Vv(e.default||e))),Bk=To(UA({loader:Ik},FA)),Pk=()=>t((()=>import("./pages-API-toast-toast.HCFe5Kzh.js")),[]).then((e=>Vv(e.default||e))),Rk=To(UA({loader:Pk},FA)),Lk=()=>t((()=>import("./pages-API-get-network-type-get-network-type.Bo-TDEje.js")),[]).then((e=>Vv(e.default||e))),Ok=To(UA({loader:Lk},FA)),Mk=()=>t((()=>import("./pages-API-get-system-info-get-system-info.CUw_695X.js")),__vite__mapDeps([76,77])).then((e=>Vv(e.default||e))),Dk=To(UA({loader:Mk},FA)),Nk=()=>t((()=>import("./pages-API-add-phone-contact-add-phone-contact.B8yxpv5p.js")),[]).then((e=>Vv(e.default||e))),$k=To(UA({loader:Nk},FA)),qk=()=>t((()=>import("./pages-API-on-accelerometer-change-on-accelerometer-change.BCXzVjJ0.js")),__vite__mapDeps([78,79])).then((e=>Vv(e.default||e))),Uk=To(UA({loader:qk},FA)),jk=()=>t((()=>import("./pages-API-on-compass-change-on-compass-change.BxvdKnnr.js")),__vite__mapDeps([80,81])).then((e=>Vv(e.default||e))),Fk=To(UA({loader:jk},FA)),Vk=()=>t((()=>import("./pages-API-make-phone-call-make-phone-call.gMhaSAhZ.js")),__vite__mapDeps([82,83])).then((e=>Vv(e.default||e))),zk=To(UA({loader:Vk},FA)),Wk=()=>t((()=>import("./pages-API-scan-code-scan-code.CSB0tPK0.js")),__vite__mapDeps([84,85,86])).then((e=>Vv(e.default||e))),Hk=To(UA({loader:Wk},FA)),Xk=()=>t((()=>import("./pages-API-clipboard-clipboard.TbHyDgTK.js")),[]).then((e=>Vv(e.default||e))),Kk=To(UA({loader:Xk},FA)),Yk=()=>t((()=>import("./pages-API-request-request.BPjnUbj5.js")),[]).then((e=>Vv(e.default||e))),Gk=To(UA({loader:Yk},FA)),Qk=()=>t((()=>import("./pages-API-upload-file-upload-file.NtJVEDZN.js")),__vite__mapDeps([87,88])).then((e=>Vv(e.default||e))),Jk=To(UA({loader:Qk},FA)),Zk=()=>t((()=>import("./pages-API-download-file-download-file.DEZctN9N.js")),__vite__mapDeps([89,90])).then((e=>Vv(e.default||e))),eS=To(UA({loader:Zk},FA)),tS=()=>t((()=>import("./pages-API-image-image.CfB0isb9.js")),__vite__mapDeps([91,85,92])).then((e=>Vv(e.default||e))),nS=To(UA({loader:tS},FA)),oS=()=>t((()=>import("./pages-API-voice-voice.sOGEgGUn.js")),__vite__mapDeps([93,94,95,96])).then((e=>Vv(e.default||e))),iS=To(UA({loader:oS},FA)),aS=()=>t((()=>import("./pages-API-inner-audio-inner-audio.fICVs0hy.js")),__vite__mapDeps([97,98])).then((e=>Vv(e.default||e))),rS=To(UA({loader:aS},FA)),sS=()=>t((()=>import("./pages-API-background-audio-background-audio.DPVpGIDd.js")),__vite__mapDeps([99,94,95,100])).then((e=>Vv(e.default||e))),lS=To(UA({loader:sS},FA)),cS=()=>t((()=>import("./pages-API-video-video.DCp2LODY.js")),__vite__mapDeps([101,102])).then((e=>Vv(e.default||e))),uS=To(UA({loader:cS},FA)),dS=()=>t((()=>import("./pages-API-file-file.qlIgtYUb.js")),__vite__mapDeps([103,104])).then((e=>Vv(e.default||e))),pS=To(UA({loader:dS},FA)),hS=()=>t((()=>import("./pages-API-map-map.CMlN-WR3.js")),__vite__mapDeps([105,106])).then((e=>Vv(e.default||e))),fS=To(UA({loader:hS},FA)),gS=()=>t((()=>import("./pages-API-get-location-get-location.Cg4p6P2k.js")),__vite__mapDeps([107,94,108])).then((e=>Vv(e.default||e))),mS=To(UA({loader:gS},FA)),vS=()=>t((()=>import("./pages-API-open-location-open-location.DylP0Kzw.js")),__vite__mapDeps([109,110])).then((e=>Vv(e.default||e))),yS=To(UA({loader:vS},FA)),_S=()=>t((()=>import("./pages-API-choose-location-choose-location.BHmsre85.js")),__vite__mapDeps([111,94,112])).then((e=>Vv(e.default||e))),bS=To(UA({loader:_S},FA)),wS=()=>t((()=>import("./pages-API-storage-storage.DHsSOIJd.js")),__vite__mapDeps([113,114])).then((e=>Vv(e.default||e))),xS=To(UA({loader:wS},FA)),AS=()=>t((()=>import("./pages-API-sqlite-sqlite.BUoqCpY_.js")),__vite__mapDeps([115,116])).then((e=>Vv(e.default||e))),TS=To(UA({loader:AS},FA)),kS=()=>t((()=>import("./pages-API-vibrate-vibrate.BJfZ3Fg1.js")),__vite__mapDeps([117,118])).then((e=>Vv(e.default||e))),SS=To(UA({loader:kS},FA)),CS=()=>t((()=>import("./pages-API-websocket-socketTask-websocket-socketTask.DlhPjl9E.js")),__vite__mapDeps([119,120])).then((e=>Vv(e.default||e))),ES=To(UA({loader:CS},FA)),IS=()=>t((()=>import("./pages-API-websocket-global-websocket-global.BV_nuech.js")),__vite__mapDeps([121,122])).then((e=>Vv(e.default||e))),BS=To(UA({loader:IS},FA)),PS=()=>t((()=>import("./pages-extUI-forms-forms.DRV-Ltfa.js")),__vite__mapDeps([123,124,125,126,127,128,129,130,131,48,49,132,133,134,135,136,137,51,52,138])).then((e=>Vv(e.default||e))),RS=To(UA({loader:PS},FA)),LS=()=>t((()=>import("./pages-extUI-group-group.BQd4Qa0X.js")),__vite__mapDeps([139,124,125,136,137,140])).then((e=>Vv(e.default||e))),OS=To(UA({loader:LS},FA)),MS=()=>t((()=>import("./pages-extUI-badge-badge.BVC8egqt.js")),__vite__mapDeps([141,124,125,142,143,136,137,144])).then((e=>Vv(e.default||e))),DS=To(UA({loader:MS},FA)),NS=()=>t((()=>import("./pages-extUI-breadcrumb-breadcrumb.BKRWEjHc.js")),__vite__mapDeps([145,124,125,136,137,146])).then((e=>Vv(e.default||e))),$S=To(UA({loader:NS},FA)),qS=()=>t((()=>import("./pages-extUI-countdown-countdown.CzWleMy6.js")),__vite__mapDeps([147,124,125,136,137,148])).then((e=>Vv(e.default||e))),US=To(UA({loader:qS},FA)),jS=()=>t((()=>import("./pages-extUI-drawer-drawer.CLx-CWPo.js")),__vite__mapDeps([149,124,125,136,137,150])).then((e=>Vv(e.default||e))),FS=To(UA({loader:jS},FA)),VS=()=>t((()=>import("./pages-extUI-icons-icons.DERcsldZ.js")),__vite__mapDeps([151,124,125,136,137,152])).then((e=>Vv(e.default||e))),zS=To(UA({loader:VS},FA)),WS=()=>t((()=>import("./pages-extUI-load-more-load-more.BvxrGNE8.js")),__vite__mapDeps([153,124,125,129,130,136,137,154])).then((e=>Vv(e.default||e))),HS=To(UA({loader:WS},FA)),XS=()=>t((()=>import("./pages-extUI-nav-bar-nav-bar.CzZTzE8k.js")),__vite__mapDeps([155,156,157,124,125,136,137,158])).then((e=>Vv(e.default||e))),KS=To(UA({loader:XS},FA)),YS=()=>t((()=>import("./pages-extUI-number-box-number-box.D0WJOK4a.js")),__vite__mapDeps([159,124,125,136,137,160])).then((e=>Vv(e.default||e))),GS=To(UA({loader:YS},FA)),QS=()=>t((()=>import("./pages-extUI-popup-popup.t8rOcT0L.js")),__vite__mapDeps([161,124,125,136,137,162])).then((e=>Vv(e.default||e))),JS=To(UA({loader:QS},FA)),ZS=()=>t((()=>import("./pages-extUI-segmented-control-segmented-control.D8QK1Za9.js")),__vite__mapDeps([163,124,125,51,52,136,137,164])).then((e=>Vv(e.default||e))),eC=To(UA({loader:ZS},FA)),tC=()=>t((()=>import("./pages-extUI-tag-tag.CC7tawBj.js")),__vite__mapDeps([165,166])).then((e=>Vv(e.default||e))),nC=To(UA({loader:tC},FA)),oC=()=>t((()=>import("./pages-extUI-list-list.CU3O69Dp.js")),__vite__mapDeps([167,124,125,168,142,143,169,170,171,136,137,172])).then((e=>Vv(e.default||e))),iC=To(UA({loader:oC},FA)),aC=()=>t((()=>import("./pages-extUI-card-card.D7n8DwCd.js")),__vite__mapDeps([173,124,125,136,137,168,142,143,169,170,171,174])).then((e=>Vv(e.default||e))),rC=To(UA({loader:aC},FA)),sC=()=>t((()=>import("./pages-extUI-collapse-collapse.Dir8FBuB.js")),__vite__mapDeps([175,124,125,136,137,168,142,143,169,170,171,176])).then((e=>Vv(e.default||e))),lC=To(UA({loader:sC},FA)),cC=()=>t((()=>import("./pages-extUI-pagination-pagination.DUj1XuTB.js")),__vite__mapDeps([177,124,125,178,179,136,137,180])).then((e=>Vv(e.default||e))),uC=To(UA({loader:cC},FA)),dC=()=>t((()=>import("./pages-extUI-swiper-dot-swiper-dot.CMh-cQI4.js")),__vite__mapDeps([181,136,137,182])).then((e=>Vv(e.default||e))),pC=To(UA({loader:dC},FA)),hC=()=>t((()=>import("./pages-extUI-grid-grid.8lS_5xMk.js")),__vite__mapDeps([183,124,125,1,2,136,137,142,143,184])).then((e=>Vv(e.default||e))),fC=To(UA({loader:hC},FA)),gC=()=>t((()=>import("./pages-extUI-rate-rate.B3emprKm.js")),__vite__mapDeps([185,124,125,136,137,186])).then((e=>Vv(e.default||e))),mC=To(UA({loader:gC},FA)),vC=()=>t((()=>import("./pages-extUI-steps-steps.CUSQLXxo.js")),__vite__mapDeps([187,136,137,188])).then((e=>Vv(e.default||e))),yC=To(UA({loader:vC},FA)),_C=()=>t((()=>import("./pages-extUI-notice-bar-notice-bar.4g4GmD3a.js")),__vite__mapDeps([189,124,125,136,137,190])).then((e=>Vv(e.default||e))),bC=To(UA({loader:_C},FA)),wC=()=>t((()=>import("./pages-extUI-swipe-action-swipe-action.BVxZvqb1.js")),__vite__mapDeps([191,124,125,136,137,192])).then((e=>Vv(e.default||e))),xC=To(UA({loader:wC},FA)),AC=()=>t((()=>import("./pages-extUI-search-bar-search-bar.DSUZee4m.js")),__vite__mapDeps([193,124,125,136,137,194])).then((e=>Vv(e.default||e))),TC=To(UA({loader:AC},FA)),kC=()=>t((()=>import("./pages-extUI-calendar-calendar.Csv3OXZL.js")),__vite__mapDeps([195,124,125,136,137,196])).then((e=>Vv(e.default||e))),SC=To(UA({loader:kC},FA)),CC=()=>t((()=>import("./pages-extUI-indexed-list-indexed-list.C7FcVtIb.js")),__vite__mapDeps([197,198])).then((e=>Vv(e.default||e))),EC=To(UA({loader:CC},FA)),IC=()=>t((()=>import("./pages-extUI-fab-fab.DxTQK0hp.js")),__vite__mapDeps([199,124,125,136,137,200])).then((e=>Vv(e.default||e))),BC=To(UA({loader:IC},FA)),PC=()=>t((()=>import("./pages-extUI-fav-fav.BmiNXcG7.js")),__vite__mapDeps([201,124,125,136,137,156,157,202])).then((e=>Vv(e.default||e))),RC=To(UA({loader:PC},FA)),LC=()=>t((()=>import("./pages-extUI-goods-nav-goods-nav.BAy8z42-.js")),__vite__mapDeps([203,124,125,136,137,204])).then((e=>Vv(e.default||e))),OC=To(UA({loader:LC},FA)),MC=()=>t((()=>import("./pages-extUI-section-section.DjFGYNHt.js")),__vite__mapDeps([205,124,125,136,137,206])).then((e=>Vv(e.default||e))),DC=To(UA({loader:MC},FA)),NC=()=>t((()=>import("./pages-extUI-transition-transition.CK0j4wqM.js")),__vite__mapDeps([207,124,125,136,137,208])).then((e=>Vv(e.default||e))),$C=To(UA({loader:NC},FA)),qC=()=>t((()=>import("./pages-extUI-title-title.DQeG4DPK.js")),__vite__mapDeps([209,124,125,136,137,210])).then((e=>Vv(e.default||e))),UC=To(UA({loader:qC},FA)),jC=()=>t((()=>import("./pages-extUI-tooltip-tooltip.CVqyYZSa.js")),__vite__mapDeps([211,124,125,3,4,136,137,212])).then((e=>Vv(e.default||e))),FC=To(UA({loader:jC},FA)),VC=()=>t((()=>import("./pages-extUI-link-link.xm3D5g8B.js")),__vite__mapDeps([213,124,125,136,137,214])).then((e=>Vv(e.default||e))),zC=To(UA({loader:VC},FA)),WC=()=>t((()=>import("./pages-extUI-combox-combox.CDbKK__Z.js")),__vite__mapDeps([215,124,125,136,137,216])).then((e=>Vv(e.default||e))),HC=To(UA({loader:WC},FA)),XC=()=>t((()=>import("./pages-extUI-list-chat.C8FijOf7.js")),__vite__mapDeps([217,124,125,170,171,136,137,218])).then((e=>Vv(e.default||e))),KC=To(UA({loader:XC},FA)),YC=()=>t((()=>import("./pages-extUI-table-table.5pPnqgMM.js")),__vite__mapDeps([219,47,48,49,50,178,179,220])).then((e=>Vv(e.default||e))),GC=To(UA({loader:YC},FA)),QC=()=>t((()=>import("./pages-extUI-dateformat-dateformat.BYYvD3cQ.js")),__vite__mapDeps([221,124,125,136,137,222])).then((e=>Vv(e.default||e))),JC=To(UA({loader:QC},FA)),ZC=()=>t((()=>import("./pages-extUI-data-checkbox-data-checkbox.Dru3rG70.js")),__vite__mapDeps([223,124,125,128,129,130,131,136,137,224])).then((e=>Vv(e.default||e))),eE=To(UA({loader:ZC},FA)),tE=()=>t((()=>import("./pages-extUI-easyinput-easyinput.CpxhOsgT.js")),__vite__mapDeps([225,124,125,126,127,136,137,226])).then((e=>Vv(e.default||e))),nE=To(UA({loader:tE},FA)),oE=()=>t((()=>import("./pages-extUI-data-picker-data-picker.DHU5uW8E.js")),__vite__mapDeps([227,124,125,132,129,130,133,136,137,228])).then((e=>Vv(e.default||e))),iE=To(UA({loader:oE},FA)),aE=()=>t((()=>import("./pages-extUI-data-select-data-select.DM1G09Tb.js")),__vite__mapDeps([229,124,125,134,135,136,137,230])).then((e=>Vv(e.default||e))),rE=To(UA({loader:aE},FA)),sE=()=>t((()=>import("./pages-extUI-datetime-picker-datetime-picker.CVvrQz2C.js")),__vite__mapDeps([231,124,125,136,137,48,49,232])).then((e=>Vv(e.default||e))),lE=To(UA({loader:sE},FA)),cE=()=>t((()=>import("./pages-extUI-row-row.DX-dLXSk.js")),__vite__mapDeps([233,124,125,136,137,234])).then((e=>Vv(e.default||e))),uE=To(UA({loader:cE},FA)),dE=()=>t((()=>import("./pages-extUI-file-picker-file-picker.CX5wZ3Bm.js")),__vite__mapDeps([235,124,125,136,137,236])).then((e=>Vv(e.default||e))),pE=To(UA({loader:dE},FA)),hE=()=>t((()=>import("./pages-extUI-space-space.xhYoJnYG.js")),__vite__mapDeps([237,124,125,128,129,130,131,136,137,238])).then((e=>Vv(e.default||e))),fE=To(UA({loader:hE},FA)),gE=()=>t((()=>import("./pages-extUI-font-font.DGQqODCe.js")),__vite__mapDeps([239,124,125,136,137])).then((e=>Vv(e.default||e))),mE=To(UA({loader:gE},FA)),vE=()=>t((()=>import("./pages-extUI-color-color.BMl_2DH3.js")),__vite__mapDeps([240,124,125,136,137,241])).then((e=>Vv(e.default||e))),yE=To(UA({loader:vE},FA)),_E=()=>t((()=>import("./pages-extUI-radius-radius.SNNxaNzU.js")),__vite__mapDeps([242,124,125,128,129,130,131,136,137,243])).then((e=>Vv(e.default||e))),bE=To(UA({loader:_E},FA)),wE=()=>t((()=>import("./pages-extUI-button-button.CVg96RgG.js")),__vite__mapDeps([244,124,125,136,137,245])).then((e=>Vv(e.default||e))),xE=To(UA({loader:wE},FA)),AE=()=>t((()=>import("./pages-template-nav-default-nav-default.DEO1i7le.js")),[]).then((e=>Vv(e.default||e))),TE=To(UA({loader:AE},FA)),kE=()=>t((()=>import("./pages-template-component-communication-component-communication.ETjPdC9p.js")),__vite__mapDeps([246,247])).then((e=>Vv(e.default||e))),SE=To(UA({loader:kE},FA)),CE=()=>t((()=>import("./pages-template-nav-transparent-nav-transparent.QrROMWrx.js")),__vite__mapDeps([248,249])).then((e=>Vv(e.default||e))),EE=To(UA({loader:CE},FA)),IE=()=>t((()=>import("./pages-template-nav-button-nav-button.aIHVypls.js")),[]).then((e=>Vv(e.default||e))),BE=To(UA({loader:IE},FA)),PE=()=>t((()=>import("./pages-template-nav-image-nav-image.CvIpHuRW.js")),[]).then((e=>Vv(e.default||e))),RE=To(UA({loader:PE},FA)),LE=()=>t((()=>import("./pages-template-nav-city-dropdown-nav-city-dropdown.CTUTSDh1.js")),__vite__mapDeps([250,251])).then((e=>Vv(e.default||e))),OE=To(UA({loader:LE},FA)),ME=()=>t((()=>import("./pages-template-nav-dot-nav-dot.CAXoahgA.js")),[]).then((e=>Vv(e.default||e))),DE=To(UA({loader:ME},FA)),NE=()=>t((()=>import("./pages-template-nav-search-input-nav-search-input.hGU-2rb8.js")),__vite__mapDeps([252,253])).then((e=>Vv(e.default||e))),$E=To(UA({loader:NE},FA)),qE=()=>t((()=>import("./pages-template-nav-search-input-detail-detail.DkKdo6bS.js")),__vite__mapDeps([254,255])).then((e=>Vv(e.default||e))),UE=To(UA({loader:qE},FA)),jE=()=>t((()=>import("./pages-template-list2detail-list-list2detail-list.B8F6mUDy.js")),__vite__mapDeps([256,129,130,94,257])).then((e=>Vv(e.default||e))),FE=To(UA({loader:jE},FA)),VE=()=>t((()=>import("./pages-template-list2detail-detail-list2detail-detail.hIyg-722.js")),__vite__mapDeps([258,259])).then((e=>Vv(e.default||e))),zE=To(UA({loader:VE},FA)),WE=()=>t((()=>import("./pages-template-tabbar-tabbar.DkZVjaRW.js")),__vite__mapDeps([260,261])).then((e=>Vv(e.default||e))),HE=To(UA({loader:WE},FA)),XE=()=>t((()=>import("./pages-template-tabbar-detail-detail.C6C93Kny.js")),[]).then((e=>Vv(e.default||e))),KE=To(UA({loader:XE},FA)),YE=()=>t((()=>import("./pages-template-swiper-vertical-swiper-vertical.mk2RdZBR.js")),__vite__mapDeps([262,263])).then((e=>Vv(e.default||e))),GE=To(UA({loader:YE},FA)),QE=()=>t((()=>import("./pages-template-swiper-list-swiper-list.yd_9yL3b.js")),__vite__mapDeps([264,265])).then((e=>Vv(e.default||e))),JE=To(UA({loader:QE},FA)),ZE=()=>t((()=>import("./pages-template-scheme-scheme.-80YW9ke.js")),__vite__mapDeps([266,267])).then((e=>Vv(e.default||e))),eI=To(UA({loader:ZE},FA)),tI=()=>t((()=>import("./pages-template-global-global.DjDuz8iy.js")),__vite__mapDeps([268,269])).then((e=>Vv(e.default||e))),nI=To(UA({loader:tI},FA));function oI(e,t){return Yi(),ea(Sx,null,{page:Vn((()=>[sa(e,UA({},t,{ref:"page"}),null,512)])),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/component/view/view",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(zA,t)}},loader:VA,meta:{isQuit:!0,isEntry:!0,backgroundColor:"white",navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/component/scroll-view/scroll-view",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(HA,t)}},loader:WA,meta:{navigationBar:{titleText:"scroll-view",type:"default"},isNVue:!1}},{path:"/pages/component/swiper/swiper",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(KA,t)}},loader:XA,meta:{navigationBar:{titleText:"swiper",type:"default"},isNVue:!1}},{path:"/pages/component/cover-view/cover-view",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(GA,t)}},loader:YA,meta:{navigationBar:{titleText:"cover-view",type:"default"},isNVue:!1}},{path:"/pages/component/movable-view/movable-view",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(JA,t)}},loader:QA,meta:{navigationBar:{titleText:"movable-view",type:"default"},isNVue:!1}},{path:"/pages/component/text/text",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(eT,t)}},loader:ZA,meta:{navigationBar:{titleText:"text",type:"default"},isNVue:!1}},{path:"/pages/component/rich-text/rich-text",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(nT,t)}},loader:tT,meta:{navigationBar:{titleText:"rich-text",type:"default"},isNVue:!1}},{path:"/pages/component/progress/progress",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(iT,t)}},loader:oT,meta:{navigationBar:{titleText:"progress",type:"default"},isNVue:!1}},{path:"/pages/component/button/button",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(rT,t)}},loader:aT,meta:{navigationBar:{titleText:"button",type:"default"},isNVue:!1}},{path:"/pages/component/checkbox/checkbox",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(lT,t)}},loader:sT,meta:{navigationBar:{titleText:"checkbox",type:"default"},isNVue:!1}},{path:"/pages/component/form/form",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(uT,t)}},loader:cT,meta:{navigationBar:{titleText:"form",type:"default"},isNVue:!1}},{path:"/pages/component/input/input",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(pT,t)}},loader:dT,meta:{softinputNavBar:"none",navigationBar:{titleText:"input",type:"default"},isNVue:!0}},{path:"/pages/component/label/label",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(fT,t)}},loader:hT,meta:{navigationBar:{titleText:"label",type:"default"},isNVue:!1}},{path:"/pages/component/picker/picker",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(mT,t)}},loader:gT,meta:{navigationBar:{titleText:"picker",type:"default"},isNVue:!1}},{path:"/pages/component/picker-view/picker-view",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(yT,t)}},loader:vT,meta:{navigationBar:{titleText:"picker-view",type:"default"},isNVue:!1}},{path:"/pages/component/radio/radio",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(bT,t)}},loader:_T,meta:{navigationBar:{titleText:"radio",type:"default"},isNVue:!1}},{path:"/pages/component/slider/slider",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(xT,t)}},loader:wT,meta:{navigationBar:{titleText:"slider",type:"default"},isNVue:!1}},{path:"/pages/component/switch/switch",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(TT,t)}},loader:AT,meta:{navigationBar:{titleText:"switch",type:"default"},isNVue:!1}},{path:"/pages/component/textarea/textarea",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(ST,t)}},loader:kT,meta:{navigationBar:{titleText:"textarea",type:"default"},isNVue:!1}},{path:"/pages/component/editor/editor",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(ET,t)}},loader:CT,meta:{softinputMode:"adjustResize",navigationBar:{titleText:"editor",type:"default"},isNVue:!1}},{path:"/pages/component/navigator/navigator",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(BT,t)}},loader:IT,meta:{navigationBar:{titleText:"navigator",type:"default"},isNVue:!1}},{path:"/pages/component/navigator/navigate/navigate",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(RT,t)}},loader:PT,meta:{navigationBar:{titleText:"navigatePage",type:"default"},isNVue:!1}},{path:"/pages/component/navigator/redirect/redirect",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(OT,t)}},loader:LT,meta:{navigationBar:{titleText:"redirectPage",type:"default"},isNVue:!1}},{path:"/pages/component/image/image",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(DT,t)}},loader:MT,meta:{navigationBar:{titleText:"image",type:"default"},isNVue:!1}},{path:"/pages/component/video/video",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI($T,t)}},loader:NT,meta:{navigationBar:{titleText:"video",type:"default"},isNVue:!1}},{path:"/pages/component/map/map",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(UT,t)}},loader:qT,meta:{navigationBar:{titleText:"map",type:"default"},isNVue:!1}},{path:"/pages/component/canvas/canvas",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(FT,t)}},loader:jT,meta:{navigationBar:{titleText:"canvas",type:"default"},isNVue:!1}},{path:"/pages/component/web-view/web-view",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(zT,t)}},loader:VT,meta:{navigationBar:{titleText:"web-view",type:"default"},isNVue:!1}},{path:"/pages/component/web-view-local/web-view-local",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(HT,t)}},loader:WT,meta:{navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/about/about",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(KT,t)}},loader:XT,meta:{backgroundColor:"white",bounce:"none",navigationBar:{style:"custom",type:"default"},isNVue:!1}},{path:"/pages/error/404",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(GT,t)}},loader:YT,meta:{navigationBar:{titleText:"Not Found",type:"default"},isNVue:!1}},{path:"/uni_modules/uni-upgrade-center-app/pages/upgrade-popup",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(JT,t)}},loader:QT,meta:{disableScroll:!0,animationDuration:200,animationType:"fade-in",background:"transparent",backgroundColorTop:"transparent",popGesture:"none",scrollIndicator:!1,titleNView:!1,navigationBar:{type:"default",style:"custom"},isNVue:!1}},{path:"/pages/API/login/login",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(ek,t)}},loader:ZT,meta:{navigationBar:{titleText:"授权登录",type:"default"},isNVue:!1}},{path:"/pages/API/get-user-info/get-user-info",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(nk,t)}},loader:tk,meta:{navigationBar:{titleText:"获取用户信息",type:"default"},isNVue:!1}},{path:"/pages/API/request-payment/request-payment",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(ik,t)}},loader:ok,meta:{navigationBar:{titleText:"发起支付",type:"default"},isNVue:!1}},{path:"/pages/API/share/share",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(rk,t)}},loader:ak,meta:{navigationBar:{titleText:"分享",type:"default"},isNVue:!1}},{path:"/pages/API/set-navigation-bar-title/set-navigation-bar-title",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(lk,t)}},loader:sk,meta:{navigationBar:{titleText:"设置界面标题",type:"default"},isNVue:!1}},{path:"/pages/API/show-loading/show-loading",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(uk,t)}},loader:ck,meta:{navigationBar:{titleText:"加载提示框",type:"default"},isNVue:!1}},{path:"/pages/API/navigator/navigator",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(pk,t)}},loader:dk,meta:{navigationBar:{titleText:"页面跳转",type:"default"},isNVue:!1}},{path:"/pages/API/navigator/new-page/new-vue-page-1",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(fk,t)}},loader:hk,meta:{navigationBar:{titleText:"新VUE页面1",type:"default"},isNVue:!1}},{path:"/pages/API/navigator/new-page/new-vue-page-2",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(mk,t)}},loader:gk,meta:{navigationBar:{titleText:"新VUE页面2",type:"default"},isNVue:!1}},{path:"/pages/API/pull-down-refresh/pull-down-refresh",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(yk,t)}},loader:vk,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"下拉刷新",type:"default"},isNVue:!1}},{path:"/pages/API/animation/animation",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(bk,t)}},loader:_k,meta:{navigationBar:{titleText:"创建动画",type:"default"},isNVue:!1}},{path:"/pages/API/get-node-info/get-node-info",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(xk,t)}},loader:wk,meta:{navigationBar:{titleText:"节点信息",type:"default"},isNVue:!1}},{path:"/pages/API/intersection-observer/intersection-observer",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(Tk,t)}},loader:Ak,meta:{navigationBar:{titleText:"节点布局相交状态",type:"default"},isNVue:!1}},{path:"/pages/API/canvas/canvas",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(Sk,t)}},loader:kk,meta:{navigationBar:{titleText:"创建绘画",type:"default"},isNVue:!1}},{path:"/pages/API/action-sheet/action-sheet",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(Ek,t)}},loader:Ck,meta:{navigationBar:{titleText:"操作菜单",type:"default"},isNVue:!1}},{path:"/pages/API/modal/modal",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(Bk,t)}},loader:Ik,meta:{navigationBar:{titleText:"模态弹窗",type:"default"},isNVue:!1}},{path:"/pages/API/toast/toast",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(Rk,t)}},loader:Pk,meta:{navigationBar:{titleText:"消息提示框",type:"default"},isNVue:!1}},{path:"/pages/API/get-network-type/get-network-type",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(Ok,t)}},loader:Lk,meta:{navigationBar:{titleText:"获取设备网络状态",type:"default"},isNVue:!1}},{path:"/pages/API/get-system-info/get-system-info",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(Dk,t)}},loader:Mk,meta:{navigationBar:{titleText:"获取设备系统信息",type:"default"},isNVue:!1}},{path:"/pages/API/add-phone-contact/add-phone-contact",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI($k,t)}},loader:Nk,meta:{navigationBar:{titleText:"添加手机联系人",type:"default"},isNVue:!1}},{path:"/pages/API/on-accelerometer-change/on-accelerometer-change",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(Uk,t)}},loader:qk,meta:{navigationBar:{titleText:"监听加速度计数据",type:"default"},isNVue:!1}},{path:"/pages/API/on-compass-change/on-compass-change",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(Fk,t)}},loader:jk,meta:{navigationBar:{titleText:"监听罗盘数据",type:"default"},isNVue:!1}},{path:"/pages/API/make-phone-call/make-phone-call",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(zk,t)}},loader:Vk,meta:{navigationBar:{titleText:"打电话",type:"default"},isNVue:!1}},{path:"/pages/API/scan-code/scan-code",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(Hk,t)}},loader:Wk,meta:{navigationBar:{titleText:"扫码",type:"default"},isNVue:!1}},{path:"/pages/API/clipboard/clipboard",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(Kk,t)}},loader:Xk,meta:{navigationBar:{titleText:"剪贴板",type:"default"},isNVue:!1}},{path:"/pages/API/request/request",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(Gk,t)}},loader:Yk,meta:{navigationBar:{titleText:"网络请求",type:"default"},isNVue:!1}},{path:"/pages/API/upload-file/upload-file",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(Jk,t)}},loader:Qk,meta:{navigationBar:{titleText:"上传文件",type:"default"},isNVue:!1}},{path:"/pages/API/download-file/download-file",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(eS,t)}},loader:Zk,meta:{navigationBar:{titleText:"下载文件",type:"default"},isNVue:!1}},{path:"/pages/API/image/image",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(nS,t)}},loader:tS,meta:{navigationBar:{titleText:"图片",type:"default"},isNVue:!1}},{path:"/pages/API/voice/voice",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(iS,t)}},loader:oS,meta:{navigationBar:{titleText:"录音",type:"default"},isNVue:!1}},{path:"/pages/API/inner-audio/inner-audio",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(rS,t)}},loader:aS,meta:{navigationBar:{titleText:"音频",type:"default"},isNVue:!1}},{path:"/pages/API/background-audio/background-audio",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(lS,t)}},loader:sS,meta:{navigationBar:{titleText:"背景音频",type:"default"},isNVue:!1}},{path:"/pages/API/video/video",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(uS,t)}},loader:cS,meta:{navigationBar:{titleText:"视频",type:"default"},isNVue:!1}},{path:"/pages/API/file/file",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(pS,t)}},loader:dS,meta:{navigationBar:{titleText:"文件",type:"default"},isNVue:!1}},{path:"/pages/API/map/map",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(fS,t)}},loader:hS,meta:{navigationBar:{titleText:"map",type:"default"},isNVue:!0}},{path:"/pages/API/get-location/get-location",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(mS,t)}},loader:gS,meta:{navigationBar:{titleText:"获取位置",type:"default"},isNVue:!1}},{path:"/pages/API/open-location/open-location",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(yS,t)}},loader:vS,meta:{navigationBar:{titleText:"查看位置",type:"default"},isNVue:!1}},{path:"/pages/API/choose-location/choose-location",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(bS,t)}},loader:_S,meta:{navigationBar:{titleText:"使用地图选择位置",type:"default"},isNVue:!1}},{path:"/pages/API/storage/storage",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(xS,t)}},loader:wS,meta:{navigationBar:{titleText:"数据存储",type:"default"},isNVue:!1}},{path:"/pages/API/sqlite/sqlite",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(TS,t)}},loader:AS,meta:{navigationBar:{titleText:"SQLite",type:"default"},isNVue:!1}},{path:"/pages/API/vibrate/vibrate",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(SS,t)}},loader:kS,meta:{navigationBar:{titleText:"震动",type:"default"},isNVue:!1}},{path:"/pages/API/websocket-socketTask/websocket-socketTask",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(ES,t)}},loader:CS,meta:{navigationBar:{titleText:"websocket-socketTask",type:"default"},isNVue:!1}},{path:"/pages/API/websocket-global/websocket-global",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(BS,t)}},loader:IS,meta:{navigationBar:{titleText:"websocket-global",type:"default"},isNVue:!1}},{path:"/pages/extUI/forms/forms",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(RS,t)}},loader:PS,meta:{navigationBar:{titleText:"Form 表单",type:"default"},isNVue:!1}},{path:"/pages/extUI/group/group",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(OS,t)}},loader:LS,meta:{navigationBar:{titleText:"Group 分组",type:"default"},isNVue:!1}},{path:"/pages/extUI/badge/badge",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(DS,t)}},loader:MS,meta:{navigationBar:{titleText:"Badge 数字角标",type:"default"},isNVue:!1}},{path:"/pages/extUI/breadcrumb/breadcrumb",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI($S,t)}},loader:NS,meta:{navigationBar:{titleText:"Breadcrumb 面包屑",type:"default"},isNVue:!1}},{path:"/pages/extUI/countdown/countdown",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(US,t)}},loader:qS,meta:{navigationBar:{titleText:"Countdown 倒计时",type:"default"},isNVue:!0}},{path:"/pages/extUI/drawer/drawer",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(FS,t)}},loader:jS,meta:{navigationBar:{titleText:"Drawer 抽屉",type:"default"},isNVue:!1}},{path:"/pages/extUI/icons/icons",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(zS,t)}},loader:VS,meta:{navigationBar:{titleText:"Icons 图标",type:"default"},isNVue:!0}},{path:"/pages/extUI/load-more/load-more",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(HS,t)}},loader:WS,meta:{navigationBar:{titleText:"LoadMore 加载更多",type:"default"},isNVue:!0}},{path:"/pages/extUI/nav-bar/nav-bar",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(KS,t)}},loader:XS,meta:{enablePullDownRefresh:!0,titleNView:!1,bounce:"none",pullToRefresh:{style:"circle",offset:"70px"},navigationBar:{titleText:"NavBar 导航栏",style:"custom",type:"default"},isNVue:!0}},{path:"/pages/extUI/number-box/number-box",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(GS,t)}},loader:YS,meta:{navigationBar:{titleText:"NumberBox 数字输入框",type:"default"},isNVue:!0}},{path:"/pages/extUI/popup/popup",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(JS,t)}},loader:QS,meta:{softinputMode:"adjustResize",navigationBar:{titleText:"Popup 弹出层",type:"default"},isNVue:!1}},{path:"/pages/extUI/segmented-control/segmented-control",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(eC,t)}},loader:ZS,meta:{navigationBar:{titleText:"SegmentedControl 分段器",type:"default"},isNVue:!1}},{path:"/pages/extUI/tag/tag",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(nC,t)}},loader:tC,meta:{navigationBar:{titleText:"Tag 标签",type:"default"},isNVue:!0}},{path:"/pages/extUI/list/list",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(iC,t)}},loader:oC,meta:{navigationBar:{titleText:"List 列表",type:"default"},isNVue:!0}},{path:"/pages/extUI/card/card",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(rC,t)}},loader:aC,meta:{navigationBar:{titleText:"Card 卡片",type:"default"},isNVue:!0}},{path:"/pages/extUI/collapse/collapse",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(lC,t)}},loader:sC,meta:{navigationBar:{titleText:"Collapse 折叠面板",type:"default"},isNVue:!1}},{path:"/pages/extUI/pagination/pagination",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(uC,t)}},loader:cC,meta:{navigationBar:{titleText:"Pagination 分页器",type:"default"},isNVue:!1}},{path:"/pages/extUI/swiper-dot/swiper-dot",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(pC,t)}},loader:dC,meta:{navigationBar:{titleText:"SwiperDot 轮播图指示点",type:"default"},isNVue:!0}},{path:"/pages/extUI/grid/grid",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(fC,t)}},loader:hC,meta:{navigationBar:{titleText:"Grid 宫格",type:"default"},isNVue:!0}},{path:"/pages/extUI/rate/rate",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(mC,t)}},loader:gC,meta:{navigationBar:{titleText:"Rate 评分",type:"default"},isNVue:!0}},{path:"/pages/extUI/steps/steps",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(yC,t)}},loader:vC,meta:{navigationBar:{titleText:"Steps 步骤条",type:"default"},isNVue:!1}},{path:"/pages/extUI/notice-bar/notice-bar",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(bC,t)}},loader:_C,meta:{navigationBar:{titleText:"NoticeBar 通告栏",type:"default"},isNVue:!1}},{path:"/pages/extUI/swipe-action/swipe-action",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(xC,t)}},loader:wC,meta:{bounce:"none",navigationBar:{titleText:"SwipeAction 滑动操作",type:"default"},isNVue:!1}},{path:"/pages/extUI/search-bar/search-bar",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(TC,t)}},loader:AC,meta:{navigationBar:{titleText:"SearchBar 搜索栏",type:"default"},isNVue:!1}},{path:"/pages/extUI/calendar/calendar",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(SC,t)}},loader:kC,meta:{navigationBar:{titleText:"Calendar 日历",type:"default"},isNVue:!1}},{path:"/pages/extUI/indexed-list/indexed-list",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(EC,t)}},loader:CC,meta:{bounce:"none",navigationBar:{titleText:"IndexedList 索引列表",type:"default"},isNVue:!0}},{path:"/pages/extUI/fab/fab",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(BC,t)}},loader:IC,meta:{navigationBar:{titleText:"Fab 悬浮按钮",type:"default"},isNVue:!1}},{path:"/pages/extUI/fav/fav",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(RC,t)}},loader:PC,meta:{navigationBar:{titleText:"Fav 收藏按钮",type:"default"},isNVue:!1}},{path:"/pages/extUI/goods-nav/goods-nav",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(OC,t)}},loader:LC,meta:{navigationBar:{titleText:"GoodsNav 商品导航",type:"default"},isNVue:!0}},{path:"/pages/extUI/section/section",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(DC,t)}},loader:MC,meta:{navigationBar:{titleText:"Section 标题栏",type:"default"},isNVue:!1}},{path:"/pages/extUI/transition/transition",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI($C,t)}},loader:NC,meta:{navigationBar:{titleText:"Transition 过渡动画",type:"default"},isNVue:!1}},{path:"/pages/extUI/title/title",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(UC,t)}},loader:qC,meta:{navigationBar:{titleText:"Title 章节标题",type:"default"},isNVue:!1}},{path:"/pages/extUI/tooltip/tooltip",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(FC,t)}},loader:jC,meta:{navigationBar:{titleText:"Tooltip 文字提示",type:"default"},isNVue:!1}},{path:"/pages/extUI/link/link",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(zC,t)}},loader:VC,meta:{navigationBar:{titleText:"Link 链接",type:"default"},isNVue:!1}},{path:"/pages/extUI/combox/combox",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(HC,t)}},loader:WC,meta:{navigationBar:{titleText:"Combox 组合框",type:"default"},isNVue:!1}},{path:"/pages/extUI/list/chat",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(KC,t)}},loader:XC,meta:{navigationBar:{type:"default"},isNVue:!1}},{path:"/pages/extUI/table/table",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(GC,t)}},loader:YC,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/extUI/dateformat/dateformat",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(JC,t)}},loader:QC,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"Dateformat 日期格式化",type:"default"},isNVue:!1}},{path:"/pages/extUI/data-checkbox/data-checkbox",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(eE,t)}},loader:ZC,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"DataCheckbox 单选复选框",type:"default"},isNVue:!1}},{path:"/pages/extUI/easyinput/easyinput",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(nE,t)}},loader:tE,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"Easyinput 增强输入框",type:"default"},isNVue:!1}},{path:"/pages/extUI/data-picker/data-picker",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(iE,t)}},loader:oE,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"DataPicker 级联选择",type:"default"},isNVue:!0}},{path:"/pages/extUI/data-select/data-select",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(rE,t)}},loader:aE,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"DataSelect 下拉框",type:"default"},isNVue:!1}},{path:"/pages/extUI/datetime-picker/datetime-picker",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(lE,t)}},loader:sE,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"DatetimePicker 日期时间",type:"default"},isNVue:!1}},{path:"/pages/extUI/row/row",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(uE,t)}},loader:cE,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"Layout 布局",type:"default"},isNVue:!1}},{path:"/pages/extUI/file-picker/file-picker",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(pE,t)}},loader:dE,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"FilePicker 文件选择上传",type:"default"},isNVue:!1}},{path:"/pages/extUI/space/space",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(fE,t)}},loader:hE,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"间距",type:"default"},isNVue:!0}},{path:"/pages/extUI/font/font",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(mE,t)}},loader:gE,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"字体",type:"default"},isNVue:!0}},{path:"/pages/extUI/color/color",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(yE,t)}},loader:vE,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"颜色",type:"default"},isNVue:!0}},{path:"/pages/extUI/radius/radius",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(bE,t)}},loader:_E,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"圆角",type:"default"},isNVue:!0}},{path:"/pages/extUI/button/button",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(xE,t)}},loader:wE,meta:{enablePullDownRefresh:!1,navigationBar:{titleText:"",type:"default"},isNVue:!1}},{path:"/pages/template/nav-default/nav-default",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(TE,t)}},loader:AE,meta:{navigationBar:{titleText:"默认导航栏",type:"default"},isNVue:!1}},{path:"/pages/template/component-communication/component-communication",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(SE,t)}},loader:kE,meta:{navigationBar:{titleText:"组件通讯",type:"default"},isNVue:!1}},{path:"/pages/template/nav-transparent/nav-transparent",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(EE,t)}},loader:CE,meta:{navigationBar:{titleText:"透明渐变导航栏",type:"transparent",coverage:"132px"},isNVue:!1}},{path:"/pages/template/nav-button/nav-button",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(BE,t)}},loader:IE,meta:{navigationBar:{titleText:"导航栏带自定义按钮",type:"default",buttons:[{type:"share",fontSize:"27px",text:""},{type:"favorite",fontSize:"27px",text:""}]},isNVue:!1}},{path:"/pages/template/nav-image/nav-image",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(RE,t)}},loader:PE,meta:{navigationBar:{backgroundColor:"#FFFFFF",titleImage:"https://web-assets.dcloud.net.cn/unidoc/zh/logo1@2x.png",type:"default",titleColor:"#000000"},isNVue:!1}},{path:"/pages/template/nav-city-dropdown/nav-city-dropdown",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(OE,t)}},loader:LE,meta:{navigationBar:{titleText:"导航栏带城市选择",type:"default",buttons:[{text:"北京市",fontSize:"14px",select:!0,width:"auto"}]},isNVue:!1}},{path:"/pages/template/nav-dot/nav-dot",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(DE,t)}},loader:ME,meta:{navigationBar:{titleText:"导航栏带红点和角标",type:"default",buttons:[{text:"消息",fontSize:"14px",redDot:!0},{text:"关注",fontSize:"14px",badgeText:"12"}]},isNVue:!1}},{path:"/pages/template/nav-search-input/nav-search-input",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI($E,t)}},loader:NE,meta:{navigationBar:{titleText:"导航栏带搜索框",type:"transparent",titleColor:"#fff",backgroundColor:"#007AFF",buttons:[{fontSrc:"/static/uni.ttf",text:"",width:"40px",fontSize:"28px",color:"#fff",background:"rgba(0,0,0,0)"}],searchInput:{autoFocus:!1,align:"center",color:"#000",backgroundColor:"#fff",borderRadius:"6px",placeholder:"请输入地址 如:大钟寺",placeholderColor:"#CCCCCC",disabled:!0},coverage:"132px"},isNVue:!1}},{path:"/pages/template/nav-search-input/detail/detail",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(UE,t)}},loader:qE,meta:{navigationBar:{titleText:"搜索",type:"default",titleColor:"#fff",backgroundColor:"#007AFF",buttons:[{fontSrc:"/static/uni.ttf",text:"",width:"auto",fontSize:"28px",color:"#fff"}],searchInput:{autoFocus:!0,align:"center",color:"#000",backgroundColor:"#fff",borderRadius:"6px",placeholder:"请输入地址 如:大钟寺",placeholderColor:"#CCCCCC",disabled:!1}},isNVue:!1}},{path:"/pages/template/list2detail-list/list2detail-list",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(FE,t)}},loader:jE,meta:{enablePullDownRefresh:!0,navigationBar:{titleText:"列表到详情示例",type:"default"},isNVue:!1}},{path:"/pages/template/list2detail-detail/list2detail-detail",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(zE,t)}},loader:VE,meta:{navigationBar:{titleText:"详情",type:"transparent",buttons:[],coverage:"132px"},isNVue:!1}},{path:"/pages/template/tabbar/tabbar",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(HE,t)}},loader:WE,meta:{navigationBar:{titleText:"可拖动顶部选项卡",type:"default"},isNVue:!0}},{path:"/pages/template/tabbar/detail/detail",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(KE,t)}},loader:XE,meta:{navigationBar:{titleText:"详情页面",type:"default"},isNVue:!1}},{path:"/pages/template/swiper-vertical/swiper-vertical",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(GE,t)}},loader:YE,meta:{titleNView:!1,navigationBar:{titleText:"上下滑动切换视频",type:"default",style:"custom"},isNVue:!0}},{path:"/pages/template/swiper-list/swiper-list",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(JE,t)}},loader:QE,meta:{navigationBar:{titleText:"swiper-list",type:"default"},isNVue:!0}},{path:"/pages/template/scheme/scheme",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(eI,t)}},loader:ZE,meta:{navigationBar:{titleText:"打开外部应用",type:"default"},isNVue:!1}},{path:"/pages/template/global/global",component:{setup(){const e=qv(),t=e&&e.$route&&e.$route.query||{};return()=>oI(nI,t)}},loader:tI,meta:{navigationBar:{titleText:"GlobalData和vuex",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const iI={onLaunch:function(){Qd("newChat",{detail:"8"}),console.log("%c hello uniapp %c v3.4.5 ","background:#35495e ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff","background:#007aff ;padding: 1px; border-radius: 0 3px 3px 0; color: #fff; font-weight: bold;"),console.log("App Launch")},onShow:function(){},onLoad(){},onHide:function(){console.log("App Hide")},globalData:{test:[],selectIndex:0,connected:!1,client_id:""},methods:{...CA(["setUniverifyErrorMsg","setUniverifyLogin"]),beforeRefresh(e){console.log("页面即将刷新:",e)}}};!function(e){Fv(e,{init:Uv,setup(e){const t=Gm(),n=()=>{var n;n=e,Object.keys(Hp).forEach((e=>{Hp[e].forEach((t=>{qo(e,t,n)}))}));const{onLaunch:o,onShow:i,onPageNotFound:a,onError:r}=e,s=function({path:e,query:t}){return c(tf,{path:e,query:t}),c(nf,tf),c({},tf)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:Te(t.query)});if(o&&O(o,s),i&&O(i,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};a&&O(a,e)}r&&(e.appContext.config.errorHandler=e=>{O(r,e)})};return Ai(Ks).isReady().then(n),Fo((()=>{window.addEventListener("resize",Ce(zv,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",Wv),document.addEventListener("visibilitychange",Hv),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{ix.emit("onThemeChange",{theme:e.matches?"dark":"light"})};e.addEventListener?e.addEventListener("change",t):e.addListener(t)}}()})),t.query},before(e){e.mpType="app";const{setup:t}=e,n=()=>(Yi(),ea(Iw));e.setup=(e,o)=>{const i=t&&t(e,o);return m(i)?n:i},e.render=n}})}(iI);const aI=new TA({state:{hasLogin:!1,isUniverifyLogin:!1,loginProvider:"",openid:null,testvuex:!1,colorIndex:0,colorList:["#FF0000","#00FF00","#0000FF"],noMatchLeftWindow:!0,active:"componentPage",leftWinActive:"/pages/component/view/view",activeOpen:"",menu:[],univerifyErrorMsg:""},mutations:{login(e,t){e.hasLogin=!0,e.loginProvider=t},logout(e){e.hasLogin=!1,e.openid=null},setOpenid(e,t){e.openid=t},setTestTrue(e){e.testvuex=!0},setTestFalse(e){e.testvuex=!1},setColorIndex(e,t){e.colorIndex=t},setMatchLeftWindow(e,t){e.noMatchLeftWindow=!t},setActive(e,t){e.active=t},setLeftWinActive(e,t){e.leftWinActive=t},setActiveOpen(e,t){e.activeOpen=t},setMenu(e,t){e.menu=t},setUniverifyLogin(e,t){"boolean"!=typeof t&&(t=!!t),e.isUniverifyLogin=t},setUniverifyErrorMsg(e,t=""){e.univerifyErrorMsg=t}},getters:{currentColor:e=>e.colorList[e.colorIndex]},actions:{getUserOpenId:async function({commit:e,state:t}){return await new Promise(((n,o)=>{t.openid?n(t.openid):Dw({success:t=>{e("login"),setTimeout((function(){const t="123456789";console.log("uni.request mock openid[123456789]"),e("setOpenid",t),n(t)}),1e3)},fail:e=>{console.log("uni.login 接口调用失败,将无法正常使用开放接口等服务",e),o(e)}})}))},getPhoneNumber:function({commit:e},t){return new Promise(((e,n)=>{U_({url:"https://97fca9f2-41f6-449f-a35e-3f135d4c3875.bspapp.com/http/univerify-login",method:"POST",data:t,success:t=>{const o=t.data;o.success?e(o.phoneNumber):n(t)},fail:e=>{n(res)}})}))}}});const rI={backgroundColorContent:"#007AFF",leftWindow:{path:"windows/left-window.vue",style:{width:"262px"}},pages:[{path:"pages/component/view/view",style:{navigationStyle:"custom",backgroundColor:"white"}},{path:"pages/component/scroll-view/scroll-view",style:{navigationBarTitleText:"scroll-view"}},{path:"pages/component/swiper/swiper",style:{navigationBarTitleText:"swiper"}},{path:"pages/component/cover-view/cover-view",style:{navigationBarTitleText:"cover-view"}},{path:"pages/component/movable-view/movable-view",style:{navigationBarTitleText:"movable-view"}},{path:"pages/component/text/text",style:{navigationBarTitleText:"text"}},{path:"pages/component/rich-text/rich-text",style:{navigationBarTitleText:"rich-text"}},{path:"pages/component/progress/progress",style:{navigationBarTitleText:"progress"}},{path:"pages/component/button/button",style:{navigationBarTitleText:"button"}},{path:"pages/component/checkbox/checkbox",style:{navigationBarTitleText:"checkbox"}},{path:"pages/component/form/form",style:{navigationBarTitleText:"form"}},{path:"pages/component/input/input",style:{navigationBarTitleText:"input","app-plus":{softinputNavBar:"none"}}},{path:"pages/component/label/label",style:{navigationBarTitleText:"label"}},{path:"pages/component/picker/picker",style:{navigationBarTitleText:"picker"}},{path:"pages/component/picker-view/picker-view",style:{navigationBarTitleText:"picker-view"}},{path:"pages/component/radio/radio",style:{navigationBarTitleText:"radio"}},{path:"pages/component/slider/slider",style:{navigationBarTitleText:"slider"}},{path:"pages/component/switch/switch",style:{navigationBarTitleText:"switch"}},{path:"pages/component/textarea/textarea",style:{navigationBarTitleText:"textarea"}},{path:"pages/component/editor/editor",style:{navigationBarTitleText:"editor","app-plus":{softinputMode:"adjustResize"}}},{path:"pages/component/navigator/navigator",style:{navigationBarTitleText:"navigator"}},{path:"pages/component/navigator/navigate/navigate",style:{navigationBarTitleText:"navigatePage"}},{path:"pages/component/navigator/redirect/redirect",style:{navigationBarTitleText:"redirectPage"}},{path:"pages/component/image/image",style:{navigationBarTitleText:"image"}},{path:"pages/component/video/video",style:{navigationBarTitleText:"video"}},{path:"pages/component/map/map",style:{navigationBarTitleText:"map"}},{path:"pages/component/canvas/canvas",style:{navigationBarTitleText:"canvas"}},{path:"pages/component/web-view/web-view",style:{navigationBarTitleText:"web-view"}},{path:"pages/component/web-view-local/web-view-local",style:{}},{path:"platforms/app-plus/speech/speech",style:{navigationBarTitleText:"语音识别"}},{path:"platforms/app-plus/orientation/orientation",style:{navigationBarTitleText:"方向传感器"}},{path:"platforms/app-plus/proximity/proximity",style:{navigationBarTitleText:"距离传感器"}},{path:"platforms/app-plus/push/push",style:{navigationBarTitleText:"推送"}},{path:"platforms/app-plus/shake/shake",style:{navigationBarTitleText:"摇一摇"}},{path:"pages/about/about",style:{navigationStyle:"custom",backgroundColor:"white","app-plus":{bounce:"none"}}},{path:"platforms/app-plus/feedback/feedback",style:{navigationBarTitleText:"问题反馈"}},{path:"pages/error/404",style:{navigationBarTitleText:"Not Found"}},{path:"uni_modules/uni-upgrade-center-app/pages/upgrade-popup",style:{"app-plus":{animationDuration:200,animationType:"fade-in",background:"transparent",backgroundColorTop:"transparent",popGesture:"none",scrollIndicator:!1,titleNView:!1},disableScroll:!0}}],subPackages:[{root:"pages/API",pages:[{path:"login/login",style:{navigationBarTitleText:"授权登录"}},{path:"get-user-info/get-user-info",style:{navigationBarTitleText:"获取用户信息"}},{path:"request-payment/request-payment",style:{navigationBarTitleText:"发起支付"}},{path:"share/share",style:{navigationBarTitleText:"分享"}},{path:"set-navigation-bar-title/set-navigation-bar-title",style:{navigationBarTitleText:"设置界面标题"}},{path:"show-loading/show-loading",style:{navigationBarTitleText:"加载提示框"}},{path:"navigator/navigator",style:{navigationBarTitleText:"页面跳转"}},{path:"navigator/new-page/new-vue-page-1",style:{navigationBarTitleText:"新VUE页面1"}},{path:"navigator/new-page/new-vue-page-2",style:{navigationBarTitleText:"新VUE页面2"}},{path:"pull-down-refresh/pull-down-refresh",style:{navigationBarTitleText:"下拉刷新",enablePullDownRefresh:!0}},{path:"animation/animation",style:{navigationBarTitleText:"创建动画"}},{path:"get-node-info/get-node-info",style:{navigationBarTitleText:"节点信息"}},{path:"intersection-observer/intersection-observer",style:{navigationBarTitleText:"节点布局相交状态"}},{path:"canvas/canvas",style:{navigationBarTitleText:"创建绘画"}},{path:"action-sheet/action-sheet",style:{navigationBarTitleText:"操作菜单"}},{path:"modal/modal",style:{navigationBarTitleText:"模态弹窗"}},{path:"toast/toast",style:{navigationBarTitleText:"消息提示框"}},{path:"get-network-type/get-network-type",style:{navigationBarTitleText:"获取设备网络状态"}},{path:"get-system-info/get-system-info",style:{navigationBarTitleText:"获取设备系统信息"}},{path:"add-phone-contact/add-phone-contact",style:{navigationBarTitleText:"添加手机联系人"}},{path:"on-accelerometer-change/on-accelerometer-change",style:{navigationBarTitleText:"监听加速度计数据"}},{path:"on-compass-change/on-compass-change",style:{navigationBarTitleText:"监听罗盘数据"}},{path:"make-phone-call/make-phone-call",style:{navigationBarTitleText:"打电话"}},{path:"scan-code/scan-code",style:{navigationBarTitleText:"扫码"}},{path:"clipboard/clipboard",style:{navigationBarTitleText:"剪贴板"}},{path:"request/request",style:{navigationBarTitleText:"网络请求"}},{path:"upload-file/upload-file",style:{navigationBarTitleText:"上传文件"}},{path:"download-file/download-file",style:{navigationBarTitleText:"下载文件"}},{path:"image/image",style:{navigationBarTitleText:"图片"}},{path:"voice/voice",style:{navigationBarTitleText:"录音"}},{path:"inner-audio/inner-audio",style:{navigationBarTitleText:"音频"}},{path:"background-audio/background-audio",style:{navigationBarTitleText:"背景音频"}},{path:"video/video",style:{navigationBarTitleText:"视频"}},{path:"file/file",style:{navigationBarTitleText:"文件"}},{path:"map/map",style:{navigationBarTitleText:"map"}},{path:"get-location/get-location",style:{navigationBarTitleText:"获取位置"}},{path:"open-location/open-location",style:{navigationBarTitleText:"查看位置"}},{path:"choose-location/choose-location",style:{navigationBarTitleText:"使用地图选择位置"}},{path:"storage/storage",style:{navigationBarTitleText:"数据存储"}},{path:"sqlite/sqlite",style:{navigationBarTitleText:"SQLite"}},{path:"vibrate/vibrate",style:{navigationBarTitleText:"震动"}},{path:"websocket-socketTask/websocket-socketTask",style:{navigationBarTitleText:"websocket-socketTask"}},{path:"websocket-global/websocket-global",style:{navigationBarTitleText:"websocket-global"}}]},{root:"pages/extUI",pages:[{path:"forms/forms",style:{navigationBarTitleText:"Form 表单"}},{path:"group/group",style:{navigationBarTitleText:"Group 分组"}},{path:"badge/badge",style:{navigationBarTitleText:"Badge 数字角标"}},{path:"breadcrumb/breadcrumb",style:{navigationBarTitleText:"Breadcrumb 面包屑"}},{path:"countdown/countdown",style:{navigationBarTitleText:"Countdown 倒计时"}},{path:"drawer/drawer",style:{navigationBarTitleText:"Drawer 抽屉"}},{path:"icons/icons",style:{navigationBarTitleText:"Icons 图标"}},{path:"load-more/load-more",style:{navigationBarTitleText:"LoadMore 加载更多"}},{path:"nav-bar/nav-bar",style:{navigationBarTitleText:"NavBar 导航栏",navigationStyle:"custom",enablePullDownRefresh:!0,"app-plus":{titleNView:!1,bounce:"none",pullToRefresh:{style:"circle",offset:"70px"}}}},{path:"number-box/number-box",style:{navigationBarTitleText:"NumberBox 数字输入框"}},{path:"popup/popup",style:{navigationBarTitleText:"Popup 弹出层","app-plus":{softinputMode:"adjustResize"}}},{path:"segmented-control/segmented-control",style:{navigationBarTitleText:"SegmentedControl 分段器"}},{path:"tag/tag",style:{navigationBarTitleText:"Tag 标签"}},{path:"list/list",style:{navigationBarTitleText:"List 列表"}},{path:"card/card",style:{navigationBarTitleText:"Card 卡片"}},{path:"collapse/collapse",style:{navigationBarTitleText:"Collapse 折叠面板"}},{path:"pagination/pagination",style:{navigationBarTitleText:"Pagination 分页器"}},{path:"swiper-dot/swiper-dot",style:{navigationBarTitleText:"SwiperDot 轮播图指示点","mp-baidu":{disableSwipeBack:!0}}},{path:"grid/grid",style:{navigationBarTitleText:"Grid 宫格"}},{path:"rate/rate",style:{navigationBarTitleText:"Rate 评分"}},{path:"steps/steps",style:{navigationBarTitleText:"Steps 步骤条"}},{path:"notice-bar/notice-bar",style:{navigationBarTitleText:"NoticeBar 通告栏"}},{path:"swipe-action/swipe-action",style:{navigationBarTitleText:"SwipeAction 滑动操作","app-plus":{bounce:"none"}}},{path:"search-bar/search-bar",style:{navigationBarTitleText:"SearchBar 搜索栏"}},{path:"calendar/calendar",style:{navigationBarTitleText:"Calendar 日历"}},{path:"indexed-list/indexed-list",style:{navigationBarTitleText:"IndexedList 索引列表","mp-weixin":{disableScroll:!0},"app-plus":{bounce:"none"},"mp-alipay":{allowsBounceVertical:"NO"},"mp-baidu":{disableScroll:!0}}},{path:"fab/fab",style:{navigationBarTitleText:"Fab 悬浮按钮"}},{path:"fav/fav",style:{navigationBarTitleText:"Fav 收藏按钮"}},{path:"goods-nav/goods-nav",style:{navigationBarTitleText:"GoodsNav 商品导航"}},{path:"section/section",style:{navigationBarTitleText:"Section 标题栏"}},{path:"transition/transition",style:{navigationBarTitleText:"Transition 过渡动画"}},{path:"title/title",style:{navigationBarTitleText:"Title 章节标题"}},{path:"tooltip/tooltip",style:{navigationBarTitleText:"Tooltip 文字提示"}},{path:"link/link",style:{navigationBarTitleText:"Link 链接"}},{path:"combox/combox",style:{navigationBarTitleText:"Combox 组合框"}},{path:"list/chat",style:{}},{path:"table/table",style:{navigationBarTitleText:"",enablePullDownRefresh:!1}},{path:"dateformat/dateformat",style:{navigationBarTitleText:"Dateformat 日期格式化",enablePullDownRefresh:!1}},{path:"data-checkbox/data-checkbox",style:{navigationBarTitleText:"DataCheckbox 单选复选框",enablePullDownRefresh:!1}},{path:"easyinput/easyinput",style:{navigationBarTitleText:"Easyinput 增强输入框",enablePullDownRefresh:!1}},{path:"data-picker/data-picker",style:{navigationBarTitleText:"DataPicker 级联选择",enablePullDownRefresh:!1}},{path:"data-select/data-select",style:{navigationBarTitleText:"DataSelect 下拉框",enablePullDownRefresh:!1}},{path:"datetime-picker/datetime-picker",style:{navigationBarTitleText:"DatetimePicker 日期时间",enablePullDownRefresh:!1}},{path:"row/row",style:{navigationBarTitleText:"Layout 布局",enablePullDownRefresh:!1}},{path:"file-picker/file-picker",style:{navigationBarTitleText:"FilePicker 文件选择上传",enablePullDownRefresh:!1}},{path:"space/space",style:{navigationBarTitleText:"间距",enablePullDownRefresh:!1}},{path:"font/font",style:{navigationBarTitleText:"字体",enablePullDownRefresh:!1}},{path:"color/color",style:{navigationBarTitleText:"颜色",enablePullDownRefresh:!1}},{path:"radius/radius",style:{navigationBarTitleText:"圆角",enablePullDownRefresh:!1}},{path:"button/button",style:{navigationBarTitleText:"",enablePullDownRefresh:!1}}]},{root:"pages/template",pages:[{path:"nav-default/nav-default",style:{navigationBarTitleText:"默认导航栏"}},{path:"component-communication/component-communication",style:{navigationBarTitleText:"组件通讯"}},{path:"nav-transparent/nav-transparent",style:{navigationBarTitleText:"透明渐变导航栏",transparentTitle:"auto"}},{path:"nav-button/nav-button",style:{navigationBarTitleText:"导航栏带自定义按钮","app-plus":{titleNView:{buttons:[{type:"share"},{type:"favorite"}]}}}},{path:"nav-image/nav-image",style:{navigationBarBackgroundColor:"#FFFFFF",navigationBarTextStyle:"black",titleImage:"https://web-assets.dcloud.net.cn/unidoc/zh/logo1@2x.png"}},{path:"nav-city-dropdown/nav-city-dropdown",style:{navigationBarTitleText:"导航栏带城市选择","app-plus":{titleNView:{buttons:[{text:"北京市",fontSize:"14",select:!0,width:"auto"}]}}}},{path:"nav-dot/nav-dot",style:{navigationBarTitleText:"导航栏带红点和角标","app-plus":{titleNView:{buttons:[{text:"消息",fontSize:"14",redDot:!0},{text:"关注",fontSize:"14",badgeText:"12"}]}}}},{path:"nav-search-input/nav-search-input",style:{navigationBarTitleText:"导航栏带搜索框","app-plus":{titleNView:{type:"transparent",titleColor:"#fff",backgroundColor:"#007AFF",buttons:[{fontSrc:"/static/uni.ttf",text:"",width:"40px",fontSize:"28px",color:"#fff",background:"rgba(0,0,0,0)"}],searchInput:{backgroundColor:"#fff",borderRadius:"6px",placeholder:"请输入地址 如:大钟寺",disabled:!0}}}}},{path:"nav-search-input/detail/detail",style:{navigationBarTitleText:"搜索","app-plus":{titleNView:{titleColor:"#fff",backgroundColor:"#007AFF",buttons:[{fontSrc:"/static/uni.ttf",text:"",width:"auto",fontSize:"28px",color:"#fff"}],searchInput:{backgroundColor:"#fff",borderRadius:"6px",placeholder:"请输入地址 如:大钟寺",autoFocus:!0}}}}},{path:"list2detail-list/list2detail-list",style:{navigationBarTitleText:"列表到详情示例",enablePullDownRefresh:!0}},{path:"list2detail-detail/list2detail-detail",style:{navigationBarTitleText:"详情","app-plus":{titleNView:{type:"transparent",buttons:[{type:"share"}]}},h5:{titleNView:{type:"transparent",buttons:[]}}}},{path:"tabbar/tabbar",style:{navigationBarTitleText:"可拖动顶部选项卡"}},{path:"tabbar/detail/detail",style:{navigationBarTitleText:"详情页面"}},{path:"swiper-vertical/swiper-vertical",style:{navigationBarTitleText:"上下滑动切换视频","app-plus":{titleNView:!1}}},{path:"swiper-list/swiper-list",style:{navigationBarTitleText:"swiper-list"}},{path:"scheme/scheme",style:{navigationBarTitleText:"打开外部应用"}},{path:"global/global",style:{navigationBarTitleText:"GlobalData和vuex"}}]}],globalStyle:{pageOrientation:"portrait",navigationBarTitleText:"歌莉娅AI数据分析",navigationBarTextStyle:"white",navigationBarBackgroundColor:"#007AFF",backgroundColor:"#007AFF",backgroundColorTop:"#F4F5F6",backgroundColorBottom:"#F4F5F6","mp-360":{navigationStyle:"custom"},h5:{maxWidth:1920,navigationBarTextStyle:"black",navigationBarBackgroundColor:"#F1F1F1",backgroundColor:"#007AFF"}},tabBar:{color:"#7A7E83",selectedColor:"#007AFF",borderStyle:"black",backgroundColor:"#F8F8F8",list:[{pagePath:"pages/tabBar/component/component",iconPath:"static/component.png",selectedIconPath:"static/componentHL.png",text:"内置组件"},{pagePath:"pages/tabBar/API/API",iconPath:"static/api.png",selectedIconPath:"static/apiHL.png",text:"接口"},{pagePath:"pages/tabBar/extUI/extUI",iconPath:"static/extui.png",selectedIconPath:"static/extuiHL.png",text:"扩展组件"},{pagePath:"pages/tabBar/template/template",iconPath:"static/template.png",selectedIconPath:"static/templateHL.png",text:"模板"}]}};function sI(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var lI=sI((function(e,t){var n;e.exports=(n=n||function(e,t){var n=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),o={},i=o.lib={},a=i.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},r=i.WordArray=a.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||l).stringify(this)},concat:function(e){var t=this.words,n=e.words,o=this.sigBytes,i=e.sigBytes;if(this.clamp(),o%4)for(var a=0;a>>2]>>>24-a%4*8&255;t[o+a>>>2]|=r<<24-(o+a)%4*8}else for(a=0;a>>2]=n[a>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=a.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,o=[],i=function(t){var n=987654321,o=4294967295;return function(){var i=((n=36969*(65535&n)+(n>>16)&o)<<16)+(t=18e3*(65535&t)+(t>>16)&o)&o;return i/=4294967296,(i+=.5)*(e.random()>.5?1:-1)}},a=0;a>>2]>>>24-i%4*8&255;o.push((a>>>4).toString(16)),o.push((15&a).toString(16))}return o.join("")},parse:function(e){for(var t=e.length,n=[],o=0;o>>3]|=parseInt(e.substr(o,2),16)<<24-o%8*4;return new r.init(n,t/2)}},c=s.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,o=[],i=0;i>>2]>>>24-i%4*8&255;o.push(String.fromCharCode(a))}return o.join("")},parse:function(e){for(var t=e.length,n=[],o=0;o>>2]|=(255&e.charCodeAt(o))<<24-o%4*8;return new r.init(n,t)}},u=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},d=i.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new r.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=u.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,o=n.words,i=n.sigBytes,a=this.blockSize,s=i/(4*a),l=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,c=e.min(4*l,i);if(l){for(var u=0;u>>24)|4278255360&(i<<24|i>>>8)}var a=this._hash.words,r=e[t+0],l=e[t+1],h=e[t+2],f=e[t+3],g=e[t+4],m=e[t+5],v=e[t+6],y=e[t+7],_=e[t+8],b=e[t+9],w=e[t+10],x=e[t+11],A=e[t+12],T=e[t+13],k=e[t+14],S=e[t+15],C=a[0],E=a[1],I=a[2],B=a[3];C=c(C,E,I,B,r,7,s[0]),B=c(B,C,E,I,l,12,s[1]),I=c(I,B,C,E,h,17,s[2]),E=c(E,I,B,C,f,22,s[3]),C=c(C,E,I,B,g,7,s[4]),B=c(B,C,E,I,m,12,s[5]),I=c(I,B,C,E,v,17,s[6]),E=c(E,I,B,C,y,22,s[7]),C=c(C,E,I,B,_,7,s[8]),B=c(B,C,E,I,b,12,s[9]),I=c(I,B,C,E,w,17,s[10]),E=c(E,I,B,C,x,22,s[11]),C=c(C,E,I,B,A,7,s[12]),B=c(B,C,E,I,T,12,s[13]),I=c(I,B,C,E,k,17,s[14]),C=u(C,E=c(E,I,B,C,S,22,s[15]),I,B,l,5,s[16]),B=u(B,C,E,I,v,9,s[17]),I=u(I,B,C,E,x,14,s[18]),E=u(E,I,B,C,r,20,s[19]),C=u(C,E,I,B,m,5,s[20]),B=u(B,C,E,I,w,9,s[21]),I=u(I,B,C,E,S,14,s[22]),E=u(E,I,B,C,g,20,s[23]),C=u(C,E,I,B,b,5,s[24]),B=u(B,C,E,I,k,9,s[25]),I=u(I,B,C,E,f,14,s[26]),E=u(E,I,B,C,_,20,s[27]),C=u(C,E,I,B,T,5,s[28]),B=u(B,C,E,I,h,9,s[29]),I=u(I,B,C,E,y,14,s[30]),C=d(C,E=u(E,I,B,C,A,20,s[31]),I,B,m,4,s[32]),B=d(B,C,E,I,_,11,s[33]),I=d(I,B,C,E,x,16,s[34]),E=d(E,I,B,C,k,23,s[35]),C=d(C,E,I,B,l,4,s[36]),B=d(B,C,E,I,g,11,s[37]),I=d(I,B,C,E,y,16,s[38]),E=d(E,I,B,C,w,23,s[39]),C=d(C,E,I,B,T,4,s[40]),B=d(B,C,E,I,r,11,s[41]),I=d(I,B,C,E,f,16,s[42]),E=d(E,I,B,C,v,23,s[43]),C=d(C,E,I,B,b,4,s[44]),B=d(B,C,E,I,A,11,s[45]),I=d(I,B,C,E,S,16,s[46]),C=p(C,E=d(E,I,B,C,h,23,s[47]),I,B,r,6,s[48]),B=p(B,C,E,I,y,10,s[49]),I=p(I,B,C,E,k,15,s[50]),E=p(E,I,B,C,m,21,s[51]),C=p(C,E,I,B,A,6,s[52]),B=p(B,C,E,I,f,10,s[53]),I=p(I,B,C,E,w,15,s[54]),E=p(E,I,B,C,l,21,s[55]),C=p(C,E,I,B,_,6,s[56]),B=p(B,C,E,I,S,10,s[57]),I=p(I,B,C,E,v,15,s[58]),E=p(E,I,B,C,T,21,s[59]),C=p(C,E,I,B,g,6,s[60]),B=p(B,C,E,I,x,10,s[61]),I=p(I,B,C,E,h,15,s[62]),E=p(E,I,B,C,b,21,s[63]),a[0]=a[0]+C|0,a[1]=a[1]+E|0,a[2]=a[2]+I|0,a[3]=a[3]+B|0},_doFinalize:function(){var t=this._data,n=t.words,o=8*this._nDataBytes,i=8*t.sigBytes;n[i>>>5]|=128<<24-i%32;var a=e.floor(o/4294967296),r=o;n[15+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),n[14+(i+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,l=s.words,c=0;c<4;c++){var u=l[c];l[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,n,o,i,a,r){var s=e+(t&n|~t&o)+i+r;return(s<>>32-a)+t}function u(e,t,n,o,i,a,r){var s=e+(t&o|n&~o)+i+r;return(s<>>32-a)+t}function d(e,t,n,o,i,a,r){var s=e+(t^n^o)+i+r;return(s<>>32-a)+t}function p(e,t,n,o,i,a,r){var s=e+(n^(t|~o))+i+r;return(s<>>32-a)+t}t.MD5=a._createHelper(l),t.HmacMD5=a._createHmacHelper(l)}(Math),n.MD5)})),sI((function(e,t){var n,o,i;e.exports=(o=(n=cI).lib.Base,i=n.enc.Utf8,void(n.algo.HMAC=o.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=i.parse(t));var n=e.blockSize,o=4*n;t.sigBytes>o&&(t=e.finalize(t)),t.clamp();for(var a=this._oKey=t.clone(),r=this._iKey=t.clone(),s=a.words,l=r.words,c=0;c>>2]>>>24-a%4*8&255)<<16|(t[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|t[a+2>>>2]>>>24-(a+2)%4*8&255,s=0;s<4&&a+.75*s>>6*(3-s)&63));var l=o.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(e){var t=e.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var a=0;a>>6-r%4*2;o[a>>>2]|=(s|l)<<24-a%4*8,a++}return i.create(o,a)}(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},n.enc.Base64)}));const hI="FUNCTION",fI="pending",gI="rejected";function mI(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function vI(e){return"object"===mI(e)}function yI(e){return"function"==typeof e}function _I(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}const bI="REJECTED",wI="NOT_PENDING";class xI{constructor({createPromise:e,retryRule:t=bI}={}){this.createPromise=e,this.status=null,this.promise=null,this.retryRule=t}get needRetry(){if(!this.status)return!0;switch(this.retryRule){case bI:return this.status===gI;case wI:return this.status!==fI}}exec(){return this.needRetry?(this.status=fI,this.promise=this.createPromise().then((e=>(this.status="fulfilled",Promise.resolve(e))),(e=>(this.status=gI,Promise.reject(e)))),this.promise):this.promise}}function AI(e){return e&&"string"==typeof e?JSON.parse(e):e}const TI=AI([]);AI("");const kI=AI("[]")||[];let SI="";try{SI="__UNI__A1CADD0"}catch(gB){}let CI={};function EI(e,t={}){var n,o;return n=CI,o=e,Object.prototype.hasOwnProperty.call(n,o)||(CI[e]=t),CI[e]}const II=["invoke","success","fail","complete"],BI=EI("_globalUniCloudInterceptor");function PI(e,t){BI[e]||(BI[e]={}),vI(t)&&Object.keys(t).forEach((n=>{II.indexOf(n)>-1&&function(e,t,n){let o=BI[e][t];o||(o=BI[e][t]=[]),-1===o.indexOf(n)&&yI(n)&&o.push(n)}(e,n,t[n])}))}function RI(e,t){BI[e]||(BI[e]={}),vI(t)?Object.keys(t).forEach((n=>{II.indexOf(n)>-1&&function(e,t,n){const o=BI[e][t];if(!o)return;const i=o.indexOf(n);i>-1&&o.splice(i,1)}(e,n,t[n])})):delete BI[e]}function LI(e,t){return e&&0!==e.length?e.reduce(((e,n)=>e.then((()=>n(t)))),Promise.resolve()):Promise.resolve()}function OI(e,t){return BI[e]&&BI[e][t]||[]}function MI(e){PI("callObject",e)}const DI=EI("_globalUniCloudListener"),NI="response",$I="needLogin",qI="refreshToken",UI="clientdb",jI="cloudfunction",FI="cloudobject";function VI(e){return DI[e]||(DI[e]=[]),DI[e]}function zI(e,t){const n=VI(e);n.includes(t)||n.push(t)}function WI(e,t){const n=VI(e),o=n.indexOf(t);-1!==o&&n.splice(o,1)}function HI(e,t){const n=VI(e);for(let o=0;o{KI&&e(),function t(){{const t=fv();t&&t[0]&&(KI=!0,e())}KI||setTimeout((()=>{t()}),30)}()})),XI)}function GI(e){const t={};for(const n in e){const o=e[n];yI(o)&&(t[n]=_I(o))}return t}class QI extends Error{constructor(e){super(e.message),this.errMsg=e.message||e.errMsg||"unknown system error",this.code=this.errCode=e.code||e.errCode||"SYSTEM_ERROR",this.errSubject=this.subject=e.subject||e.errSubject,this.cause=e.cause,this.requestId=e.requestId}toJson(e=0){if(!(e>=10))return e++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(e):this.cause}}}var JI={request:e=>U_(e),uploadFile:e=>H_(e),setStorageSync:(e,t)=>o_(e,t),getStorageSync:e=>r_(e),removeStorageSync:e=>l_(e),clearStorageSync:()=>u_(),connectSocket:e=>G_(e)};function ZI(e){return e&&ZI(e.__v_raw)||e}function eB(){return{token:JI.getStorageSync("uni_id_token")||JI.getStorageSync("uniIdToken"),tokenExpired:JI.getStorageSync("uni_id_token_expired")}}function tB({token:e,tokenExpired:t}={}){e&&JI.setStorageSync("uni_id_token",e),t&&JI.setStorageSync("uni_id_token_expired",t)}let nB,oB;function iB(){return nB||(nB=qy()),nB}function aB(){let e,t;try{if(Kp){if(Kp.toString().indexOf("not yet implemented")>-1)return;const{scene:n,channel:o}=Kp();e=o,t=n}}catch(n){}return{channel:e,scene:t}}let rB={};function sB(){const e=Wp&&Wp()||"en";if(oB)return{...rB,...oB,locale:e,LOCALE:e};const t=iB(),{deviceId:n,osName:o,uniPlatform:i,appId:a}=t,r=["appId","appLanguage","appName","appVersion","appVersionCode","appWgtVersion","browserName","browserVersion","deviceBrand","deviceId","deviceModel","deviceType","osName","osVersion","romName","romVersion","ua","hostName","hostVersion","uniPlatform","uniRuntimeVersion","uniRuntimeVersionCode","uniCompilerVersion","uniCompilerVersionCode"];for(const s in t)Object.hasOwnProperty.call(t,s)&&-1===r.indexOf(s)&&delete t[s];return oB={PLATFORM:i,OS:o,APPID:a,DEVICEID:n,...aB(),...t},{...rB,...oB,locale:e,LOCALE:e}}var lB=function(e,t){let n="";return Object.keys(e).sort().forEach((function(t){e[t]&&(n=n+"&"+t+"="+e[t])})),n=n.slice(1),uI(n,t).toString()},cB=function(e,t){return new Promise(((n,o)=>{t(Object.assign(e,{complete(e){e||(e={});const t=e.data&&e.data.header&&e.data.header["x-serverless-request-id"]||e.header&&e.header["request-id"];if(!e.statusCode||e.statusCode>=400){const n=e.data&&e.data.error&&e.data.error.code||"SYS_ERR",i=e.data&&e.data.error&&e.data.error.message||e.errMsg||"request:fail";return o(new QI({code:n,message:i,requestId:t}))}const i=e.data;if(i.error)return o(new QI({code:i.error.code,message:i.error.message,requestId:t}));i.result=i.data,i.requestId=t,delete i.data,n(i)}}))}))},uB=function(e){return pI.stringify(dI.parse(e))},dB=class{constructor(e){["spaceId","clientSecret"].forEach((t=>{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error(`${t} required`)})),this.config=Object.assign({},{endpoint:0===e.spaceId.indexOf("mp-")?"https://api.next.bspapp.com":"https://api.bspapp.com"},e),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=JI,this._getAccessTokenPromiseHub=new xI({createPromise:()=>this.requestAuth(this.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then((e=>{if(!e.result||!e.result.accessToken)throw new QI({code:"AUTH_FAILED",message:"获取accessToken失败"});this.setAccessToken(e.result.accessToken)})),retryRule:wI})}get hasAccessToken(){return!!this.accessToken}setAccessToken(e){this.accessToken=e}requestWrapped(e){return cB(e,this.adapter.request)}requestAuth(e){return this.requestWrapped(e)}request(e,t){return Promise.resolve().then((()=>this.hasAccessToken?t?this.requestWrapped(e):this.requestWrapped(e).catch((t=>new Promise(((e,n)=>{!t||"GATEWAY_INVALID_TOKEN"!==t.code&&"InvalidParameter.InvalidToken"!==t.code?n(t):e()})).then((()=>this.getAccessToken())).then((()=>{const t=this.rebuildRequest(e);return this.request(t,!0)})))):this.getAccessToken().then((()=>{const t=this.rebuildRequest(e);return this.request(t,!0)}))))}rebuildRequest(e){const t=Object.assign({},e);return t.data.token=this.accessToken,t.header["x-basement-token"]=this.accessToken,t.header["x-serverless-sign"]=lB(t.data,this.config.clientSecret),t}setupRequest(e,t){const n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),o={"Content-Type":"application/json"};return"auth"!==t&&(n.token=this.accessToken,o["x-basement-token"]=this.accessToken),o["x-serverless-sign"]=lB(n,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:o}}getAccessToken(){return this._getAccessTokenPromiseHub.exec()}async authorize(){await this.getAccessToken()}callFunction(e){const t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(this.setupRequest(t))}getOSSUploadOptionsFromPath(e){const t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}uploadFileToOSS({url:e,formData:t,name:n,filePath:o,fileType:i,onUploadProgress:a}){return new Promise(((r,s)=>{const l=this.adapter.uploadFile({url:e,formData:t,name:n,filePath:o,fileType:i,header:{"X-OSS-server-side-encrpytion":"AES256"},success(e){e&&e.statusCode<400?r(e):s(new QI({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){s(new QI({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof a&&l&&"function"==typeof l.onProgressUpdate&&l.onProgressUpdate((e=>{a({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}reportOSSUpload(e){const t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}async uploadFile({filePath:e,cloudPath:t,fileType:n="image",cloudPathAsRealPath:o=!1,onUploadProgress:i,config:a}){if("string"!==mI(t))throw new QI({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});if(!(t=t.trim()))throw new QI({code:"INVALID_PARAM",message:"cloudPath不可为空"});if(/:\/\//.test(t))throw new QI({code:"INVALID_PARAM",message:"cloudPath不合法"});const r=a&&a.envType||this.config.envType;if(o&&("/"!==t[0]&&(t="/"+t),t.indexOf("\\")>-1))throw new QI({code:"INVALID_PARAM",message:"使用cloudPath作为路径时,cloudPath不可包含“\\”"});const s=(await this.getOSSUploadOptionsFromPath({env:r,filename:o?t.split("/").pop():t,fileId:o?t:void 0})).result,l="https://"+s.cdnDomain+"/"+s.ossPath,{securityToken:c,accessKeyId:u,signature:d,host:p,ossPath:h,id:f,policy:g,ossCallbackUrl:m}=s,v={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:u,Signature:d,host:p,id:f,key:h,policy:g,success_action_status:200};if(c&&(v["x-oss-security-token"]=c),m){const e=JSON.stringify({callbackUrl:m,callbackBody:JSON.stringify({fileId:f,spaceId:this.config.spaceId}),callbackBodyType:"application/json"});v.callback=uB(e)}const y={url:"https://"+s.host,formData:v,fileName:"file",name:"file",filePath:e,fileType:n};if(await this.uploadFileToOSS(Object.assign({},y,{onUploadProgress:i})),m)return{success:!0,filePath:e,fileID:l};if((await this.reportOSSUpload({id:f})).success)return{success:!0,filePath:e,fileID:l};throw new QI({code:"UPLOAD_FAILED",message:"文件上传失败"})}getTempFileURL({fileList:e}={}){return new Promise(((t,n)=>{Array.isArray(e)&&0!==e.length||n(new QI({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"})),t({fileList:e.map((e=>({fileID:e,tempFileURL:e})))})}))}async getFileInfo({fileList:e}={}){if(!Array.isArray(e)||0===e.length)throw new QI({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const t={method:"serverless.file.resource.info",params:JSON.stringify({id:e.map((e=>e.split("?")[0])).join(",")})};return{fileList:(await this.request(this.setupRequest(t))).result}}},pB={init(e){const t=new dB(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}};const hB="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";var fB,gB;(gB=fB||(fB={})).local="local",gB.none="none",gB.session="session";var mB=function(){},vB=sI((function(e,t){var n;e.exports=(n=cI,function(e){var t=n,o=t.lib,i=o.WordArray,a=o.Hasher,r=t.algo,s=[],l=[];!function(){function t(t){for(var n=e.sqrt(t),o=2;o<=n;o++)if(!(t%o))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var o=2,i=0;i<64;)t(o)&&(i<8&&(s[i]=n(e.pow(o,.5))),l[i]=n(e.pow(o,1/3)),i++),o++}();var c=[],u=r.SHA256=a.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,o=n[0],i=n[1],a=n[2],r=n[3],s=n[4],u=n[5],d=n[6],p=n[7],h=0;h<64;h++){if(h<16)c[h]=0|e[t+h];else{var f=c[h-15],g=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,m=c[h-2],v=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;c[h]=g+c[h-7]+v+c[h-16]}var y=o&i^o&a^i&a,_=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),b=p+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&u^~s&d)+l[h]+c[h];p=d,d=u,u=s,s=r+b|0,r=a,a=i,i=o,o=b+(_+y)|0}n[0]=n[0]+o|0,n[1]=n[1]+i|0,n[2]=n[2]+a|0,n[3]=n[3]+r|0,n[4]=n[4]+s|0,n[5]=n[5]+u|0,n[6]=n[6]+d|0,n[7]=n[7]+p|0},_doFinalize:function(){var t=this._data,n=t.words,o=8*this._nDataBytes,i=8*t.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=e.floor(o/4294967296),n[15+(i+64>>>9<<4)]=o,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=a._createHelper(u),t.HmacSHA256=a._createHmacHelper(u)}(Math),n.SHA256)})),yB=vB,_B=sI((function(e,t){e.exports=cI.HmacSHA256}));const bB=()=>{let e;if(!Promise){e=()=>{},e.promise={};const t=()=>{throw new QI({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(e.promise,"then",{get:t}),Object.defineProperty(e.promise,"catch",{get:t}),e}const t=new Promise(((t,n)=>{e=(e,o)=>e?n(e):t(o)}));return e.promise=t,e};function wB(e){return void 0===e}function xB(e){return"[object Null]"===Object.prototype.toString.call(e)}var AB;!function(e){e.WEB="web",e.WX_MP="wx_mp"}(AB||(AB={}));const TB={adapter:null,runtime:void 0},kB=["anonymousUuidKey"];class SB extends mB{constructor(){super(),TB.adapter.root.tcbObject||(TB.adapter.root.tcbObject={})}setItem(e,t){TB.adapter.root.tcbObject[e]=t}getItem(e){return TB.adapter.root.tcbObject[e]}removeItem(e){delete TB.adapter.root.tcbObject[e]}clear(){delete TB.adapter.root.tcbObject}}function CB(e,t){switch(e){case"local":return t.localStorage||new SB;case"none":return new SB;default:return t.sessionStorage||new SB}}class EB{constructor(e){if(!this._storage){this._persistence=TB.adapter.primaryStorage||e.persistence,this._storage=CB(this._persistence,TB.adapter);const t=`access_token_${e.env}`,n=`access_token_expire_${e.env}`,o=`refresh_token_${e.env}`,i=`anonymous_uuid_${e.env}`,a=`login_type_${e.env}`,r=`user_info_${e.env}`;this.keys={accessTokenKey:t,accessTokenExpireKey:n,refreshTokenKey:o,anonymousUuidKey:i,loginTypeKey:a,userInfoKey:r}}}updatePersistence(e){if(e===this._persistence)return;const t="local"===this._persistence;this._persistence=e;const n=CB(e,TB.adapter);for(const o in this.keys){const e=this.keys[o];if(t&&kB.includes(o))continue;const i=this._storage.getItem(e);wB(i)||xB(i)||(n.setItem(e,i),this._storage.removeItem(e))}this._storage=n}setStore(e,t,n){if(!this._storage)return;const o={version:n||"localCachev1",content:t},i=JSON.stringify(o);try{this._storage.setItem(e,i)}catch(a){throw a}}getStore(e,t){try{if(!this._storage)return}catch(o){return""}t=t||"localCachev1";const n=this._storage.getItem(e);return n&&n.indexOf(t)>=0?JSON.parse(n).content:""}removeStore(e){this._storage.removeItem(e)}}const IB={},BB={};function PB(e){return IB[e]}class RB{constructor(e,t){this.data=t||null,this.name=e}}class LB extends RB{constructor(e,t){super("error",{error:e,data:t}),this.error=e}}const OB=new class{constructor(){this._listeners={}}on(e,t){return n=e,o=t,(i=this._listeners)[n]=i[n]||[],i[n].push(o),this;var n,o,i}off(e,t){return function(e,t,n){if(n&&n[e]){const o=n[e].indexOf(t);-1!==o&&n[e].splice(o,1)}}(e,t,this._listeners),this}fire(e,t){if(e instanceof LB)return console.error(e.error),this;const n="string"==typeof e?new RB(e,t||{}):e,o=n.name;if(this._listens(o)){n.target=this;const e=this._listeners[o]?[...this._listeners[o]]:[];for(const t of e)t.call(this,n)}return this}_listens(e){return this._listeners[e]&&this._listeners[e].length>0}};function MB(e,t){OB.on(e,t)}function DB(e,t={}){OB.fire(e,t)}function NB(e,t){OB.off(e,t)}const $B="loginStateChanged",qB="loginStateExpire",UB="loginTypeChanged",jB="anonymousConverted",FB="refreshAccessToken";var VB;!function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.NULL="NULL"}(VB||(VB={}));const zB=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],WB={"X-SDK-Version":"1.3.5"};function HB(e,t,n){const o=e[t];e[t]=function(t){const i={},a={};n.forEach((n=>{const{data:o,headers:r}=n.call(e,t);Object.assign(i,o),Object.assign(a,r)}));const r=t.data;return r&&(()=>{var e;if(e=r,"[object FormData]"!==Object.prototype.toString.call(e))t.data={...r,...i};else for(const t in i)r.append(t,i[t])})(),t.headers={...t.headers||{},...a},o.call(e,t)}}function XB(){const e=Math.random().toString(16).slice(2);return{data:{seqId:e},headers:{...WB,"x-seqid":e}}}class KB{constructor(e={}){var t;this.config=e,this._reqClass=new TB.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:`请求在${this.config.timeout/1e3}s内未完成,已中断`,restrictedMethods:["post"]}),this._cache=PB(this.config.env),this._localCache=(t=this.config.env,BB[t]),HB(this._reqClass,"post",[XB]),HB(this._reqClass,"upload",[XB]),HB(this._reqClass,"download",[XB])}async post(e){return await this._reqClass.post(e)}async upload(e){return await this._reqClass.upload(e)}async download(e){return await this._reqClass.download(e)}async refreshAccessToken(){let e,t;this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken());try{e=await this._refreshAccessTokenPromise}catch(n){t=n}if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,t)throw t;return e}async _refreshAccessToken(){const{accessTokenKey:e,accessTokenExpireKey:t,refreshTokenKey:n,loginTypeKey:o,anonymousUuidKey:i}=this._cache.keys;this._cache.removeStore(e),this._cache.removeStore(t);let a=this._cache.getStore(n);if(!a)throw new QI({message:"未登录CloudBase"});const r={refresh_token:a},s=await this.request("auth.fetchAccessTokenWithRefreshToken",r);if(s.data.code){const{code:e}=s.data;if("SIGN_PARAM_INVALID"===e||"REFRESH_TOKEN_EXPIRED"===e||"INVALID_REFRESH_TOKEN"===e){if(this._cache.getStore(o)===VB.ANONYMOUS&&"INVALID_REFRESH_TOKEN"===e){const e=this._cache.getStore(i),t=this._cache.getStore(n),o=await this.send("auth.signInAnonymously",{anonymous_uuid:e,refresh_token:t});return this.setRefreshToken(o.refresh_token),this._refreshAccessToken()}DB(qB),this._cache.removeStore(n)}throw new QI({code:s.data.code,message:`刷新access token失败:${s.data.code}`})}if(s.data.access_token)return DB(FB),this._cache.setStore(e,s.data.access_token),this._cache.setStore(t,s.data.access_token_expire+Date.now()),{accessToken:s.data.access_token,accessTokenExpire:s.data.access_token_expire};s.data.refresh_token&&(this._cache.removeStore(n),this._cache.setStore(n,s.data.refresh_token),this._refreshAccessToken())}async getAccessToken(){const{accessTokenKey:e,accessTokenExpireKey:t,refreshTokenKey:n}=this._cache.keys;if(!this._cache.getStore(n))throw new QI({message:"refresh token不存在,登录状态异常"});let o=this._cache.getStore(e),i=this._cache.getStore(t),a=!0;return this._shouldRefreshAccessTokenHook&&!(await this._shouldRefreshAccessTokenHook(o,i))&&(a=!1),(!o||!i||i{e.wxOpenId&&e.wxPublicId&&(t=!0)})),{users:n,hasPrimaryUid:t}}setPrimaryUid(e){return this._request.send("auth.setPrimaryUid",{uid:e})}unlink(e){return this._request.send("auth.unlink",{platform:e})}async update(e){const{nickName:t,gender:n,avatarUrl:o,province:i,country:a,city:r}=e,{data:s}=await this._request.send("auth.updateUserInfo",{nickName:t,gender:n,avatarUrl:o,province:i,country:a,city:r});this.setLocalUserInfo(s)}async refresh(){const{data:e}=await this._request.send("auth.getUserInfo",{});return this.setLocalUserInfo(e),e}setUserInfo(){const{userInfoKey:e}=this._cache.keys,t=this._cache.getStore(e);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach((e=>{this[e]=t[e]})),this.location={country:t.country,province:t.province,city:t.city}}setLocalUserInfo(e){const{userInfoKey:t}=this._cache.keys;this._cache.setStore(t,e),this.setUserInfo()}}class ZB{constructor(e){if(!e)throw new QI({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=PB(e);const{refreshTokenKey:t,accessTokenKey:n,accessTokenExpireKey:o}=this._cache.keys,i=this._cache.getStore(t),a=this._cache.getStore(n),r=this._cache.getStore(o);this.credential={refreshToken:i,accessToken:a,accessTokenExpire:r},this.user=new JB(e)}get isAnonymousAuth(){return this.loginType===VB.ANONYMOUS}get isCustomAuth(){return this.loginType===VB.CUSTOM}get isWeixinAuth(){return this.loginType===VB.WECHAT||this.loginType===VB.WECHAT_OPEN||this.loginType===VB.WECHAT_PUBLIC}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}class eP extends QB{async signIn(){this._cache.updatePersistence("local");const{anonymousUuidKey:e,refreshTokenKey:t}=this._cache.keys,n=this._cache.getStore(e)||void 0,o=this._cache.getStore(t)||void 0,i=await this._request.send("auth.signInAnonymously",{anonymous_uuid:n,refresh_token:o});if(i.uuid&&i.refresh_token){this._setAnonymousUUID(i.uuid),this.setRefreshToken(i.refresh_token),await this._request.refreshAccessToken(),DB($B),DB(UB,{env:this.config.env,loginType:VB.ANONYMOUS,persistence:"local"});const e=new ZB(this.config.env);return await e.user.refresh(),e}throw new QI({message:"匿名登录失败"})}async linkAndRetrieveDataWithTicket(e){const{anonymousUuidKey:t,refreshTokenKey:n}=this._cache.keys,o=this._cache.getStore(t),i=this._cache.getStore(n),a=await this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:o,refresh_token:i,ticket:e});if(a.refresh_token)return this._clearAnonymousUUID(),this.setRefreshToken(a.refresh_token),await this._request.refreshAccessToken(),DB(jB,{env:this.config.env}),DB(UB,{loginType:VB.CUSTOM,persistence:"local"}),{credential:{refreshToken:a.refresh_token}};throw new QI({message:"匿名转化失败"})}_setAnonymousUUID(e){const{anonymousUuidKey:t,loginTypeKey:n}=this._cache.keys;this._cache.removeStore(t),this._cache.setStore(t,e),this._cache.setStore(n,VB.ANONYMOUS)}_clearAnonymousUUID(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}class tP extends QB{async signIn(e){if("string"!=typeof e)throw new QI({code:"PARAM_ERROR",message:"ticket must be a string"});const{refreshTokenKey:t}=this._cache.keys,n=await this._request.send("auth.signInWithTicket",{ticket:e,refresh_token:this._cache.getStore(t)||""});if(n.refresh_token)return this.setRefreshToken(n.refresh_token),await this._request.refreshAccessToken(),DB($B),DB(UB,{env:this.config.env,loginType:VB.CUSTOM,persistence:this.config.persistence}),await this.refreshUserInfo(),new ZB(this.config.env);throw new QI({message:"自定义登录失败"})}}class nP extends QB{async signIn(e,t){if("string"!=typeof e)throw new QI({code:"PARAM_ERROR",message:"email must be a string"});const{refreshTokenKey:n}=this._cache.keys,o=await this._request.send("auth.signIn",{loginType:"EMAIL",email:e,password:t,refresh_token:this._cache.getStore(n)||""}),{refresh_token:i,access_token:a,access_token_expire:r}=o;if(i)return this.setRefreshToken(i),a&&r?this.setAccessToken(a,r):await this._request.refreshAccessToken(),await this.refreshUserInfo(),DB($B),DB(UB,{env:this.config.env,loginType:VB.EMAIL,persistence:this.config.persistence}),new ZB(this.config.env);throw o.code?new QI({code:o.code,message:`邮箱登录失败: ${o.message}`}):new QI({message:"邮箱登录失败"})}async activate(e){return this._request.send("auth.activateEndUserMail",{token:e})}async resetPasswordWithToken(e,t){return this._request.send("auth.resetPasswordWithToken",{token:e,newPassword:t})}}class oP extends QB{async signIn(e,t){if("string"!=typeof e)throw new QI({code:"PARAM_ERROR",message:"username must be a string"});"string"!=typeof t&&(t="",console.warn("password is empty"));const{refreshTokenKey:n}=this._cache.keys,o=await this._request.send("auth.signIn",{loginType:VB.USERNAME,username:e,password:t,refresh_token:this._cache.getStore(n)||""}),{refresh_token:i,access_token_expire:a,access_token:r}=o;if(i)return this.setRefreshToken(i),r&&a?this.setAccessToken(r,a):await this._request.refreshAccessToken(),await this.refreshUserInfo(),DB($B),DB(UB,{env:this.config.env,loginType:VB.USERNAME,persistence:this.config.persistence}),new ZB(this.config.env);throw o.code?new QI({code:o.code,message:`用户名密码登录失败: ${o.message}`}):new QI({message:"用户名密码登录失败"})}}class iP{constructor(e){this.config=e,this._cache=PB(e.env),this._request=GB(e.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),MB(UB,this._onLoginTypeChanged)}get currentUser(){const e=this.hasLoginState();return e&&e.user||null}get loginType(){return this._cache.getStore(this._cache.keys.loginTypeKey)}anonymousAuthProvider(){return new eP(this.config)}customAuthProvider(){return new tP(this.config)}emailAuthProvider(){return new nP(this.config)}usernameAuthProvider(){return new oP(this.config)}async signInAnonymously(){return new eP(this.config).signIn()}async signInWithEmailAndPassword(e,t){return new nP(this.config).signIn(e,t)}signInWithUsernameAndPassword(e,t){return new oP(this.config).signIn(e,t)}async linkAndRetrieveDataWithTicket(e){return this._anonymousAuthProvider||(this._anonymousAuthProvider=new eP(this.config)),MB(jB,this._onAnonymousConverted),await this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(e)}async signOut(){if(this.loginType===VB.ANONYMOUS)throw new QI({message:"匿名用户不支持登出操作"});const{refreshTokenKey:e,accessTokenKey:t,accessTokenExpireKey:n}=this._cache.keys,o=this._cache.getStore(e);if(!o)return;const i=await this._request.send("auth.logout",{refresh_token:o});return this._cache.removeStore(e),this._cache.removeStore(t),this._cache.removeStore(n),DB($B),DB(UB,{env:this.config.env,loginType:VB.NULL,persistence:this.config.persistence}),i}async signUpWithEmailAndPassword(e,t){return this._request.send("auth.signUpWithEmailAndPassword",{email:e,password:t})}async sendPasswordResetEmail(e){return this._request.send("auth.sendPasswordResetEmail",{email:e})}onLoginStateChanged(e){MB($B,(()=>{const t=this.hasLoginState();e.call(this,t)}));const t=this.hasLoginState();e.call(this,t)}onLoginStateExpired(e){MB(qB,e.bind(this))}onAccessTokenRefreshed(e){MB(FB,e.bind(this))}onAnonymousConverted(e){MB(jB,e.bind(this))}onLoginTypeChanged(e){MB(UB,(()=>{const t=this.hasLoginState();e.call(this,t)}))}async getAccessToken(){return{accessToken:(await this._request.getAccessToken()).accessToken,env:this.config.env}}hasLoginState(){const{refreshTokenKey:e}=this._cache.keys;return this._cache.getStore(e)?new ZB(this.config.env):null}async isUsernameRegistered(e){if("string"!=typeof e)throw new QI({code:"PARAM_ERROR",message:"username must be a string"});const{data:t}=await this._request.send("auth.isUsernameRegistered",{username:e});return t&&t.isRegistered}getLoginState(){return Promise.resolve(this.hasLoginState())}async signInWithTicket(e){return new tP(this.config).signIn(e)}shouldRefreshAccessToken(e){this._request._shouldRefreshAccessTokenHook=e.bind(this)}getUserInfo(){return this._request.send("auth.getUserInfo",{}).then((e=>e.code?e:{...e.data,requestId:e.seqId}))}getAuthHeader(){const{refreshTokenKey:e,accessTokenKey:t}=this._cache.keys,n=this._cache.getStore(e);return{"x-cloudbase-credentials":this._cache.getStore(t)+"/@@/"+n}}_onAnonymousConverted(e){const{env:t}=e.data;t===this.config.env&&this._cache.updatePersistence(this.config.persistence)}_onLoginTypeChanged(e){const{loginType:t,persistence:n,env:o}=e.data;o===this.config.env&&(this._cache.updatePersistence(n),this._cache.setStore(this._cache.keys.loginTypeKey,t))}}const aP=function(e,t){t=t||bB();const n=GB(this.config.env),{cloudPath:o,filePath:i,onUploadProgress:a,fileType:r="image"}=e;return n.send("storage.getUploadMetadata",{path:o}).then((e=>{const{data:{url:s,authorization:l,token:c,fileId:u,cosFileId:d},requestId:p}=e,h={key:o,signature:l,"x-cos-meta-fileid":d,success_action_status:"201","x-cos-security-token":c};n.upload({url:s,data:h,file:i,name:o,fileType:r,onUploadProgress:a}).then((e=>{201===e.statusCode?t(null,{fileID:u,requestId:p}):t(new QI({code:"STORAGE_REQUEST_FAIL",message:`STORAGE_REQUEST_FAIL: ${e.data}`}))})).catch((e=>{t(e)}))})).catch((e=>{t(e)})),t.promise},rP=function(e,t){t=t||bB();const n=GB(this.config.env),{cloudPath:o}=e;return n.send("storage.getUploadMetadata",{path:o}).then((e=>{t(null,e)})).catch((e=>{t(e)})),t.promise},sP=function({fileList:e},t){if(t=t||bB(),!e||!Array.isArray(e))return{code:"INVALID_PARAM",message:"fileList必须是非空的数组"};for(let o of e)if(!o||"string"!=typeof o)return{code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"};const n={fileid_list:e};return GB(this.config.env).send("storage.batchDeleteFile",n).then((e=>{e.code?t(null,e):t(null,{fileList:e.data.delete_list,requestId:e.requestId})})).catch((e=>{t(e)})),t.promise},lP=function({fileList:e},t){t=t||bB(),e&&Array.isArray(e)||t(null,{code:"INVALID_PARAM",message:"fileList必须是非空的数组"});let n=[];for(let i of e)"object"==typeof i?(i.hasOwnProperty("fileID")&&i.hasOwnProperty("maxAge")||t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是包含fileID和maxAge的对象"}),n.push({fileid:i.fileID,max_age:i.maxAge})):"string"==typeof i?n.push({fileid:i}):t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是字符串"});const o={file_list:n};return GB(this.config.env).send("storage.batchGetDownloadUrl",o).then((e=>{e.code?t(null,e):t(null,{fileList:e.data.download_list,requestId:e.requestId})})).catch((e=>{t(e)})),t.promise},cP=async function({fileID:e},t){const n=(await lP.call(this,{fileList:[{fileID:e,maxAge:600}]})).fileList[0];if("SUCCESS"!==n.code)return t?t(n):new Promise((e=>{e(n)}));const o=GB(this.config.env);let i=n.download_url;if(i=encodeURI(i),!t)return o.download({url:i});t(await o.download({url:i}))},uP=function({name:e,data:t,query:n,parse:o,search:i},a){const r=a||bB();let s;try{s=t?JSON.stringify(t):""}catch(c){return Promise.reject(c)}if(!e)return Promise.reject(new QI({code:"PARAM_ERROR",message:"函数名不能为空"}));const l={inQuery:n,parse:o,search:i,function_name:e,request_data:s};return GB(this.config.env).send("functions.invokeFunction",l).then((e=>{if(e.code)r(null,e);else{let n=e.data.response_data;if(o)r(null,{result:n,requestId:e.requestId});else try{n=JSON.parse(e.data.response_data),r(null,{result:n,requestId:e.requestId})}catch(t){r(new QI({message:"response data must be json"}))}}return r.promise})).catch((e=>{r(e)})),r.promise},dP={timeout:15e3,persistence:"session"},pP={};class hP{constructor(e){this.config=e||this.config,this.authObj=void 0}init(e){switch(TB.adapter||(this.requestClient=new TB.adapter.reqClass({timeout:e.timeout||5e3,timeoutMsg:`请求在${(e.timeout||5e3)/1e3}s内未完成,已中断`})),this.config={...dP,...e},!0){case this.config.timeout>6e5:console.warn("timeout大于可配置上限[10分钟],已重置为上限数值"),this.config.timeout=6e5;break;case this.config.timeout<100:console.warn("timeout小于可配置下限[100ms],已重置为下限数值"),this.config.timeout=100}return new hP(this.config)}auth({persistence:e}={}){if(this.authObj)return this.authObj;const t=e||TB.adapter.primaryStorage||dP.persistence;var n;return t!==this.config.persistence&&(this.config.persistence=t),function(e){const{env:t}=e;IB[t]=new EB(e),BB[t]=new EB({...e,persistence:"local"})}(this.config),n=this.config,YB[n.env]=new KB(n),this.authObj=new iP(this.config),this.authObj}on(e,t){return MB.apply(this,[e,t])}off(e,t){return NB.apply(this,[e,t])}callFunction(e,t){return uP.apply(this,[e,t])}deleteFile(e,t){return sP.apply(this,[e,t])}getTempFileURL(e,t){return lP.apply(this,[e,t])}downloadFile(e,t){return cP.apply(this,[e,t])}uploadFile(e,t){return aP.apply(this,[e,t])}getUploadMetadata(e,t){return rP.apply(this,[e,t])}registerExtension(e){pP[e.name]=e}async invokeExtension(e,t){const n=pP[e];if(!n)throw new QI({message:`扩展${e} 必须先注册`});return await n.invoke(t,this)}useAdapters(e){const{adapter:t,runtime:n}=function(e){const t=(n=e,"[object Array]"===Object.prototype.toString.call(n)?e:[e]);var n;for(const o of t){const{isMatch:e,genAdapter:t,runtime:n}=o;if(e())return{adapter:t(),runtime:n}}}(e)||{};t&&(TB.adapter=t),n&&(TB.runtime=n)}}var fP=new hP;function gP(e,t,n){void 0===n&&(n={});var o=/\?/.test(t),i="";for(var a in n)""===i?!o&&(t+="?"):i+="&",i+=a+"="+encodeURIComponent(n[a]);return/^http(s)?:\/\//.test(t+=i)?t:""+e+t}class mP{post(e){const{url:t,data:n,headers:o}=e;return new Promise(((e,i)=>{JI.request({url:gP("https:",t),data:n,method:"POST",header:o,success(t){e(t)},fail(e){i(e)}})}))}upload(e){return new Promise(((t,n)=>{const{url:o,file:i,data:a,headers:r,fileType:s}=e,l=JI.uploadFile({url:gP("https:",o),name:"file",formData:Object.assign({},a),filePath:i,fileType:s,header:r,success(e){const n={statusCode:e.statusCode,data:e.data||{}};200===e.statusCode&&a.success_action_status&&(n.statusCode=parseInt(a.success_action_status,10)),t(n)},fail(e){n(new Error(e.errMsg||"uploadFile:fail"))}});"function"==typeof e.onUploadProgress&&l&&"function"==typeof l.onProgressUpdate&&l.onProgressUpdate((t=>{e.onUploadProgress({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}}const vP={setItem(e,t){JI.setStorageSync(e,t)},getItem:e=>JI.getStorageSync(e),removeItem(e){JI.removeStorageSync(e)},clear(){JI.clearStorageSync()}};var yP={genAdapter:function(){return{root:{},reqClass:mP,localStorage:vP,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};fP.useAdapters(yP);const _P=fP,bP=_P.init;_P.init=function(e){e.env=e.spaceId;const t=bP.call(this,e);t.config.provider="tencent",t.config.spaceId=e.spaceId;const n=t.auth;return t.auth=function(e){const t=n.call(this,e);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach((e=>{var n;t[e]=(n=t[e],function(e){e=e||{};const{success:t,fail:o,complete:i}=GI(e);if(!(t||o||i))return n.call(this,e);n.call(this,e).then((e=>{t&&t(e),i&&i(e)}),(e=>{o&&o(e),i&&i(e)}))}).bind(t)})),t},t.customAuth=t.auth,t};var wP=_P,xP=class extends dB{getAccessToken(){return new Promise(((e,t)=>{const n="Anonymous_Access_token";this.setAccessToken(n),e(n)}))}setupRequest(e,t){const n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),o={"Content-Type":"application/json"};"auth"!==t&&(n.token=this.accessToken,o["x-basement-token"]=this.accessToken),o["x-serverless-sign"]=lB(n,this.config.clientSecret);const i=sB();o["x-client-info"]=encodeURIComponent(JSON.stringify(i));const{token:a}=eB();return o["x-client-token"]=a,{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:JSON.parse(JSON.stringify(o))}}uploadFileToOSS({url:e,formData:t,name:n,filePath:o,fileType:i,onUploadProgress:a}){return new Promise(((r,s)=>{const l=this.adapter.uploadFile({url:e,formData:t,name:n,filePath:o,fileType:i,success(e){e&&e.statusCode<400?r(e):s(new QI({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){s(new QI({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof a&&l&&"function"==typeof l.onProgressUpdate&&l.onProgressUpdate((e=>{a({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}uploadFile({filePath:e,cloudPath:t,fileType:n="image",onUploadProgress:o}){if(!t)throw new QI({code:"CLOUDPATH_REQUIRED",message:"cloudPath不可为空"});let i;return this.getOSSUploadOptionsFromPath({cloudPath:t}).then((t=>{const{url:a,formData:r,name:s}=t.result;i=t.result.fileUrl;const l={url:a,formData:r,name:s,filePath:e,fileType:n};return this.uploadFileToOSS(Object.assign({},l,{onUploadProgress:o}))})).then((()=>this.reportOSSUpload({cloudPath:t}))).then((t=>new Promise(((n,o)=>{t.success?n({success:!0,filePath:e,fileID:i}):o(new QI({code:"UPLOAD_FAILED",message:"文件上传失败"}))}))))}deleteFile({fileList:e}){const t={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:e})};return this.request(this.setupRequest(t)).then((e=>{if(e.success)return e.result;throw new QI({code:"DELETE_FILE_FAILED",message:"删除文件失败"})}))}getTempFileURL({fileList:e,maxAge:t}={}){if(!Array.isArray(e)||0===e.length)throw new QI({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});const n={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:e,maxAge:t})};return this.request(this.setupRequest(n)).then((e=>{if(e.success)return{fileList:e.result.fileList.map((e=>({fileID:e.fileID,tempFileURL:e.tempFileURL})))};throw new QI({code:"GET_TEMP_FILE_URL_FAILED",message:"获取临时文件链接失败"})}))}},AP={init(e){const t=new xP(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}},TP=sI((function(e,t){e.exports=cI.enc.Hex}));function kP(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function SP(e="",t={}){const{data:n,functionName:o,method:i,headers:a,signHeaderKeys:r=[],config:s}=t,l=Date.now(),c=kP(),u=Object.assign({},a,{"x-from-app-id":s.spaceAppId,"x-from-env-id":s.spaceId,"x-to-env-id":s.spaceId,"x-from-instance-id":l,"x-from-function-name":o,"x-client-timestamp":l,"x-alipay-source":"client","x-request-id":c,"x-alipay-callid":c,"x-trace-id":c}),d=["x-from-app-id","x-from-env-id","x-to-env-id","x-from-instance-id","x-from-function-name","x-client-timestamp"].concat(r),[p="",h=""]=e.split("?")||[],f=function(e){const t=e.signedHeaders.join(";"),n=e.signedHeaders.map((t=>`${t.toLowerCase()}:${e.headers[t]}\n`)).join(""),o=yB(e.body).toString(TP),i=`${e.method.toUpperCase()}\n${e.path}\n${e.query}\n${n}\n${t}\n${o}\n`,a=yB(i).toString(TP),r=`HMAC-SHA256\n${e.timestamp}\n${a}\n`,s=_B(r,e.secretKey).toString(TP);return`HMAC-SHA256 Credential=${e.secretId}, SignedHeaders=${t}, Signature=${s}`}({path:p,query:h,method:i,headers:u,timestamp:l,body:JSON.stringify(n),secretId:s.accessKey,secretKey:s.secretKey,signedHeaders:d.sort()});return{url:`${s.endpoint}${e}`,headers:Object.assign({},u,{Authorization:f})}}function CP({url:e,data:t,method:n="POST",headers:o={}}){return new Promise(((i,a)=>{JI.request({url:e,method:n,data:"object"==typeof t?JSON.stringify(t):t,header:o,dataType:"json",complete:(e={})=>{const t=o["x-trace-id"]||"";if(!e.statusCode||e.statusCode>=400){const{message:n,errMsg:o,trace_id:i}=e.data||{};return a(new QI({code:"SYS_ERR",message:n||o||"request:fail",requestId:i||t}))}i({status:e.statusCode,data:e.data,headers:e.header,requestId:t})}})}))}function EP(e,t){const{path:n,data:o,method:i="GET"}=e,{url:a,headers:r}=SP(n,{functionName:"",data:o,method:i,headers:{"x-alipay-cloud-mode":"oss","x-data-api-type":"oss","x-expire-timestamp":Date.now()+6e4},signHeaderKeys:["x-data-api-type","x-expire-timestamp"],config:t});return CP({url:a,data:o,method:i,headers:r}).then((e=>{const t=e.data||{};if(!t.success)throw new QI({code:e.errCode,message:e.errMsg,requestId:e.requestId});return t.data||{}})).catch((e=>{throw new QI({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}function IP(e=""){const t=e.trim().replace(/^cloud:\/\//,""),n=t.indexOf("/");if(n<=0)throw new QI({code:"INVALID_PARAM",message:"fileID不合法"});const o=t.substring(0,n),i=t.substring(n+1);return o!==this.config.spaceId&&console.warn("file ".concat(e," does not belong to env ").concat(this.config.spaceId)),i}function BP(e=""){return"cloud://".concat(this.config.spaceId,"/").concat(e.replace(/^\/+/,""))}class PP{constructor(e){this.config=e}signedURL(e,t={}){const n=`/ws/function/${e}`,o=this.config.wsEndpoint.replace(/^ws(s)?:\/\//,""),i=Object.assign({},t,{accessKeyId:this.config.accessKey,signatureNonce:kP(),timestamp:""+Date.now()}),a=[n,["accessKeyId","authorization","signatureNonce","timestamp"].sort().map((function(e){return i[e]?"".concat(e,"=").concat(i[e]):null})).filter(Boolean).join("&"),`host:${o}`].join("\n"),r=["HMAC-SHA256",yB(a).toString(TP)].join("\n"),s=_B(r,this.config.secretKey).toString(TP),l=Object.keys(i).map((e=>`${e}=${encodeURIComponent(i[e])}`)).join("&");return`${this.config.wsEndpoint}${n}?${l}&signature=${s}`}}var RP={init:e=>{e.provider="alipay";const t=new class{constructor(e){if(["spaceId","spaceAppId","accessKey","secretKey"].forEach((t=>{if(!Object.prototype.hasOwnProperty.call(e,t))throw new Error(`${t} required`)})),e.endpoint){if("string"!=typeof e.endpoint)throw new Error("endpoint must be string");if(!/^https:\/\//.test(e.endpoint))throw new Error("endpoint must start with https://");e.endpoint=e.endpoint.replace(/\/$/,"")}this.config=Object.assign({},e,{endpoint:e.endpoint||`https://${e.spaceId}.api-hz.cloudbasefunction.cn`,wsEndpoint:e.wsEndpoint||`wss://${e.spaceId}.api-hz.cloudbasefunction.cn`}),this._websocket=new PP(this.config)}callFunction(e){return function(e,t){const{name:n,data:o,async:i=!1}=e,a="POST",r={"x-to-function-name":n};i&&(r["x-function-invoke-type"]="async");const{url:s,headers:l}=SP("/functions/invokeFunction",{functionName:n,data:o,method:a,headers:r,signHeaderKeys:["x-to-function-name"],config:t});return CP({url:s,data:o,method:a,headers:l}).then((e=>{let t=0;if(i){const n=e.data||{};t="200"===n.errCode?0:n.errCode,e.data=n.data||{},e.errMsg=n.errMsg}if(0!==t)throw new QI({code:t,message:e.errMsg,requestId:e.requestId});return{errCode:t,success:0===t,requestId:e.requestId,result:e.data}})).catch((e=>{throw new QI({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}(e,this.config)}uploadFileToOSS({url:e,filePath:t,fileType:n,formData:o,onUploadProgress:i}){return new Promise(((a,r)=>{const s=JI.uploadFile({url:e,filePath:t,fileType:n,formData:o,name:"file",success(e){e&&e.statusCode<400?a(e):r(new QI({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail(e){r(new QI({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof i&&s&&"function"==typeof s.onProgressUpdate&&s.onProgressUpdate((e=>{i({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}async uploadFile({filePath:e,cloudPath:t="",fileType:n="image",onUploadProgress:o}){if("string"!==mI(t))throw new QI({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});if(!(t=t.trim()))throw new QI({code:"INVALID_PARAM",message:"cloudPath不可为空"});if(/:\/\//.test(t))throw new QI({code:"INVALID_PARAM",message:"cloudPath不合法"});const i=await EP({path:"/".concat(t.replace(/^\//,""),"?post_url")},this.config),{file_id:a,upload_url:r,form_data:s}=i,l=s&&s.reduce(((e,t)=>(e[t.key]=t.value,e)),{});return this.uploadFileToOSS({url:r,filePath:e,fileType:n,formData:l,onUploadProgress:o}).then((()=>({fileID:a})))}async getTempFileURL({fileList:e}){return new Promise(((t,n)=>{(!e||e.length<0)&&n(new QI({errCode:"INVALID_PARAM",errMsg:"fileList不能为空数组"})),e.length>50&&n(new QI({errCode:"INVALID_PARAM",errMsg:"fileList数组长度不能超过50"}));const o=[];for(const i of e){"string"!==mI(i)&&n(new QI({errCode:"INVALID_PARAM",errMsg:"fileList的元素必须是非空的字符串"}));const e=IP.call(this,i);o.push({file_id:e,expire:600})}EP({path:"/?download_url",data:{file_list:o},method:"POST"},this.config).then((e=>{const{file_list:n=[]}=e;t({fileList:n.map((e=>({fileID:BP.call(this,e.file_id),tempFileURL:e.download_url})))})})).catch((e=>n(e)))}))}async connectWebSocket(e){const{name:t,query:n}=e;return JI.connectSocket({url:this._websocket.signedURL(t,n),complete:()=>{}})}}(e);return t.auth=function(){return{signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!0)}}},t}};function LP({data:e}){let t;t=sB();const n=JSON.parse(JSON.stringify(e||{}));if(Object.assign(n,{clientInfo:t}),!n.uniIdToken){const{token:e}=eB();e&&(n.uniIdToken=e)}return n}const OP=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",mode:"append"}];var MP=/[\\^$.*+?()[\]{}|]/g,DP=RegExp(MP.source);function NP(e,t,n){return e.replace(new RegExp((o=t)&&DP.test(o)?o.replace(MP,"\\$&"):o,"g"),n);var o}const $P=2e4,qP={code:20101,message:"Invalid client"};function UP(e){const{errSubject:t,subject:n,errCode:o,errMsg:i,code:a,message:r,cause:s}=e||{};return new QI({subject:t||n||"uni-secure-network",code:o||a||$P,message:i||r,cause:s})}let jP;function FP({secretType:e}={}){return"request"===e||"response"===e||"both"===e}function VP({functionName:e,result:t,logPvd:n}){}function zP(e){const t=e.callFunction,n=function(n){const o=n.name;n.data=LP.call(e,{data:n.data});const i={aliyun:"aliyun",tencent:"tcb",tcb:"tcb",alipay:"alipay"}[this.config.provider],a=FP(n)||false;return t.call(this,n).then((e=>(e.errCode=0,!a&&VP.call(this,{functionName:o,result:e,logPvd:i}),Promise.resolve(e))),(e=>(!a&&VP.call(this,{functionName:o,result:e,logPvd:i}),e&&e.message&&(e.message=function({message:e="",extraInfo:t={},formatter:n=[]}={}){for(let o=0;on.provider===e&&n.spaceId===t));return o&&o.config}({provider:e,spaceId:t});if(!s||!s.accessControl||!s.accessControl.enable)return!1;const l=s.accessControl.function||{},c=Object.keys(l);if(0===c.length)return!0;const u=function(e,t){let n,o,i;for(let a=0;ae.trim())).indexOf(t)>-1&&(o=r):i=r:n=r}return n||o||i}(c,n);if(!u)return!1;if((l[u]||[]).find(((e={})=>e.appId===o&&(e.platform||"").toLowerCase()===r.toLowerCase())))return!0;throw console.error(`此应用[appId: ${o}, platform: ${r}]不在云端配置的允许访问的应用列表内,参考:https://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client`),UP(qP)}({provider:o,spaceId:i,functionName:a})?new jP({secretType:t.secretType,uniCloudIns:e}).wrapVerifyClientCallFunction(n.bind(e))(t):r(t),Object.defineProperty(s,"result",{get:()=>(console.warn("当前返回结果为Promise类型,不可直接访问其result属性,详情请参考:https://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"),{})}),s.then((e=>("undefined"!=typeof UTSJSONObject&&(e.result=new UTSJSONObject(e.result)),e)))}}jP=class{constructor(){throw UP({message:"Platform web is not supported by secure network"})}};const WP=Symbol("CLIENT_DB_INTERNAL");function HP(e,t){return e.then="DoNotReturnProxyWithAFunctionNamedThen",e._internalType=WP,e.inspect=null,e.__v_raw=void 0,new Proxy(e,{get(e,n,o){if("_uniClient"===n)return null;if("symbol"==typeof n)return e[n];if(n in e||"string"!=typeof n){const t=e[n];return"function"==typeof t?t.bind(e):t}return t.get(e,n,o)}})}function XP(e){return{on:(t,n)=>{e[t]=e[t]||[],e[t].indexOf(n)>-1||e[t].push(n)},off:(t,n)=>{e[t]=e[t]||[];const o=e[t].indexOf(n);-1!==o&&e[t].splice(o,1)}}}const KP=["db.Geo","db.command","command.aggregate"];function YP(e,t){return KP.indexOf(`${e}.${t}`)>-1}function GP(e){switch(mI(e=ZI(e))){case"array":return e.map((e=>GP(e)));case"object":return e._internalType===WP||Object.keys(e).forEach((t=>{e[t]=GP(e[t])})),e;case"regexp":return{$regexp:{source:e.source,flags:e.flags}};case"date":return{$date:e.toISOString()};default:return e}}function QP(e){return e&&e.content&&e.content.$method}class JP{constructor(e,t,n){this.content=e,this.prevStage=t||null,this.udb=null,this._database=n}toJSON(){let e=this;const t=[e.content];for(;e.prevStage;)e=e.prevStage,t.push(e.content);return{$db:t.reverse().map((e=>({$method:e.$method,$param:GP(e.$param)})))}}toString(){return JSON.stringify(this.toJSON())}getAction(){const e=this.toJSON().$db.find((e=>"action"===e.$method));return e&&e.$param&&e.$param[0]}getCommand(){return{$db:this.toJSON().$db.filter((e=>"action"!==e.$method))}}get isAggregate(){let e=this;for(;e;){const t=QP(e),n=QP(e.prevStage);if("aggregate"===t&&"collection"===n||"pipeline"===t)return!0;e=e.prevStage}return!1}get isCommand(){let e=this;for(;e;){if("command"===QP(e))return!0;e=e.prevStage}return!1}get isAggregateCommand(){let e=this;for(;e;){const t=QP(e),n=QP(e.prevStage);if("aggregate"===t&&"command"===n)return!0;e=e.prevStage}return!1}getNextStageFn(e){const t=this;return function(){return ZP({$method:e,$param:GP(Array.from(arguments))},t,t._database)}}get count(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}get remove(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}get(){return this._send("get",Array.from(arguments))}get add(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}update(){return this._send("update",Array.from(arguments))}end(){return this._send("end",Array.from(arguments))}get set(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL禁止使用set方法")}}_send(e,t){const n=this.getAction(),o=this.getCommand();return o.$db.push({$method:e,$param:GP(t)}),this._database._callCloudFunction({action:n,command:o})}}function ZP(e,t,n){return HP(new JP(e,t,n),{get(e,t){let o="db";return e&&e.content&&(o=e.content.$method),YP(o,t)?ZP({$method:t},e,n):function(){return ZP({$method:t,$param:GP(Array.from(arguments))},e,n)}}})}function eR({path:e,method:t}){return class{constructor(){this.param=Array.from(arguments)}toJSON(){return{$newDb:[...e.map((e=>({$method:e}))),{$method:t,$param:this.param}]}}toString(){return JSON.stringify(this.toJSON())}}}function tR(e,t={}){return HP(new e(t),{get:(e,t)=>YP("db",t)?ZP({$method:t},null,e):function(){return ZP({$method:t,$param:GP(Array.from(arguments))},null,e)}})}class nR extends class{constructor({uniClient:e={},isJQL:t=!1}={}){this._uniClient=e,this._authCallBacks={},this._dbCallBacks={},e._isDefault&&(this._dbCallBacks=EI("_globalUniCloudDatabaseCallback")),t||(this.auth=XP(this._authCallBacks)),this._isJQL=t,Object.assign(this,XP(this._dbCallBacks)),this.env=HP({},{get:(e,t)=>({$env:t})}),this.Geo=HP({},{get:(e,t)=>eR({path:["Geo"],method:t})}),this.serverDate=eR({path:[],method:"serverDate"}),this.RegExp=eR({path:[],method:"RegExp"})}getCloudEnv(e){if("string"!=typeof e||!e.trim())throw new Error("getCloudEnv参数错误");return{$env:e.replace("$cloudEnv_","")}}_callback(e,t){const n=this._dbCallBacks;n[e]&&n[e].forEach((e=>{e(...t)}))}_callbackAuth(e,t){const n=this._authCallBacks;n[e]&&n[e].forEach((e=>{e(...t)}))}multiSend(){const e=Array.from(arguments),t=e.map((e=>{const t=e.getAction(),n=e.getCommand();if("getTemp"!==n.$db[n.$db.length-1].$method)throw new Error("multiSend只支持子命令内使用getTemp");return{action:t,command:n}}));return this._callCloudFunction({multiCommand:t,queryList:e})}}{_parseResult(e){return this._isJQL?e.result:e}_callCloudFunction({action:e,command:t,multiCommand:n,queryList:o}){function i(e,t){if(n&&o)for(let n=0;nLI(OI(r,"complete"),e))).then((()=>(i(null,e),HI(NI,{type:UI,content:e}),Promise.reject(e))))}const l=LI(OI(r,"invoke")),c=this._uniClient;return l.then((()=>c.callFunction({name:"DCloud-clientDB",type:"CLIENT_DB",data:{action:e,command:t,multiCommand:n}}))).then((e=>{const{code:t,message:n,token:o,tokenExpired:l,systemInfo:c=[]}=e.result;if(c)for(let i=0;i(console.warn(n),o)})}}return d=e,LI(OI(r,"success"),d).then((()=>LI(OI(r,"complete"),d))).then((()=>{i(d,null);const e=a._parseResult(d);return HI(NI,{type:UI,content:e}),Promise.resolve(e)}));var d}),(e=>(/fc_function_not_found|FUNCTION_NOT_FOUND/g.test(e.message)&&console.warn("clientDB未初始化,请在web控制台保存一次schema以开启clientDB"),s(new QI({code:e.code||"SYSTEM_ERROR",message:e.message,requestId:e.requestId})))))}}const oR="token无效,跳转登录页面",iR="token过期,跳转登录页面",aR={TOKEN_INVALID_TOKEN_EXPIRED:iR,TOKEN_INVALID_INVALID_CLIENTID:oR,TOKEN_INVALID:oR,TOKEN_INVALID_WRONG_TOKEN:oR,TOKEN_INVALID_ANONYMOUS_USER:oR},rR={"uni-id-token-expired":iR,"uni-id-check-token-failed":oR,"uni-id-token-not-exist":oR,"uni-id-check-device-feature-failed":oR};function sR(e,t){let n="";return n=e?`${e}/${t}`:t,n.replace(/^\//,"")}function lR(e=[],t=""){const n=[],o=[];return e.forEach((e=>{!0===e.needLogin?n.push(sR(t,e.path)):!1===e.needLogin&&o.push(sR(t,e.path))})),{needLoginPage:n,notNeedLoginPage:o}}function cR(e){return e.split("?")[0].replace(/^\//,"")}function uR(){return function(e){let t=e&&e.$page&&e.$page.fullPath||"";return t?("/"!==t.charAt(0)&&(t="/"+t),t):t}(function(){const e=fv();return e[e.length-1]}())}function dR(){return cR(uR())}function pR(e="",t={}){if(!e)return!1;if(!(t&&t.list&&t.list.length))return!1;const n=t.list,o=cR(e);return n.some((e=>e.pagePath===o))}const hR=!!rI.uniIdRouter,{loginPage:fR,routerNeedLogin:gR,resToLogin:mR,needLoginPage:vR,notNeedLoginPage:yR,loginPageInTabBar:_R}=function({pages:e=[],subPackages:t=[],uniIdRouter:n={},tabBar:o={}}=rI){const{loginPage:i,needLogin:a=[],resToLogin:r=!0}=n,{needLoginPage:s,notNeedLoginPage:l}=lR(e),{needLoginPage:c,notNeedLoginPage:u}=function(e=[]){const t=[],n=[];return e.forEach((e=>{const{root:o,pages:i=[]}=e,{needLoginPage:a,notNeedLoginPage:r}=lR(i,o);t.push(...a),n.push(...r)})),{needLoginPage:t,notNeedLoginPage:n}}(t);return{loginPage:i,routerNeedLogin:a,resToLogin:r,needLoginPage:[...s,...c],notNeedLoginPage:[...l,...u],loginPageInTabBar:pR(i,o)}}();if(vR.indexOf(fR)>-1)throw new Error(`Login page [${fR}] should not be "needLogin", please check your pages.json`);function bR(e){const t=dR();if("/"===e.charAt(0))return e;const[n,o]=e.split("?"),i=n.replace(/^\//,"").split("/"),a=t.split("/");a.pop();for(let r=0;r-1?o+`&uniIdRedirectUrl=${encodeURIComponent(i)}`:o+`?uniIdRedirectUrl=${encodeURIComponent(i)}`:o);var o,i;_R?"navigateTo"!==e&&"redirectTo"!==e||(e="switchTab"):"switchTab"===e&&(e="navigateTo");const a={navigateTo:fb,redirectTo:gb,switchTab:yb,reLaunch:mb};setTimeout((()=>{a[e]({url:n})}),0)}function AR({url:e}={}){const t={abortLoginPageJump:!1,autoToLoginPage:!1},n=function(){const{token:e,tokenExpired:t}=eB();let n;if(e){if(t-1)&&(vR.indexOf(t)>-1||gR.some((t=>{return n=e,new RegExp(t).test(n);var n})))}(e)&&n){if(n.uniIdRedirectUrl=e,VI($I).length>0)return setTimeout((()=>{HI($I,n)}),0),t.abortLoginPageJump=!0,t;t.autoToLoginPage=!0}return t}function TR(){!function(){const e=uR(),{abortLoginPageJump:t,autoToLoginPage:n}=AR({url:e});t||n&&xR({api:"redirectTo",redirect:e})}();const e=["navigateTo","redirectTo","reLaunch","switchTab"];for(let t=0;t{const{type:t,content:n}=e;let o=!1;switch(t){case"cloudobject":o=function(e){if("object"!=typeof e)return!1;const{errCode:t}=e||{};return t in rR}(n);break;case"clientdb":o=function(e){if("object"!=typeof e)return!1;const{errCode:t}=e||{};return t in aR}(n)}o&&function(e={}){const t=VI($I);YI().then((()=>{const n=uR();if(n&&wR({redirect:n}))return t.length>0?HI($I,Object.assign({uniIdRedirectUrl:n},e)):void(fR&&xR({api:"navigateTo",redirect:n}))}))}(n)}))}function SR(e){var t;(t=e).onResponse=function(e){zI(NI,e)},t.offResponse=function(e){WI(NI,e)},function(e){e.onNeedLogin=function(e){zI($I,e)},e.offNeedLogin=function(e){WI($I,e)},hR&&(EI("_globalUniCloudStatus").needLoginInit||(EI("_globalUniCloudStatus").needLoginInit=!0,YI().then((()=>{TR.call(e)})),mR&&kR.call(e)))}(e),function(e){e.onRefreshToken=function(e){zI(qI,e)},e.offRefreshToken=function(e){WI(qI,e)}}(e)}let CR;const ER="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",IR=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function BR(){const e=eB().token||"",t=e.split(".");if(!e||3!==t.length)return{uid:null,role:[],permission:[],tokenExpired:0};let n;try{n=JSON.parse((o=t[1],decodeURIComponent(CR(o).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(i){throw new Error("获取当前用户信息出错,详细错误信息为:"+i.message)}var o;return n.tokenExpired=1e3*n.exp,delete n.exp,delete n.iat,n}CR="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!IR.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var n,o,i="",a=0;a>16&255):64===o?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return i}:atob;var PR=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(sI((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const n="chooseAndUploadFile:ok",o="chooseAndUploadFile:fail";function i(e,t){return e.tempFiles.forEach(((e,n)=>{e.name||(e.name=e.path.substring(e.path.lastIndexOf("/")+1)),t&&(e.fileType=t),e.cloudPath=Date.now()+"_"+n+e.name.substring(e.name.lastIndexOf("."))})),e.tempFilePaths||(e.tempFilePaths=e.tempFiles.map((e=>e.path))),e}function a(e,t,{onChooseFile:o,onUploadProgress:i}){return t.then((e=>{if(o){const t=o(e);if(void 0!==t)return Promise.resolve(t).then((t=>void 0===t?e:t))}return e})).then((t=>!1===t?{errMsg:n,tempFilePaths:[],tempFiles:[]}:function(e,t,o=5,i){(t=Object.assign({},t)).errMsg=n;const a=t.tempFiles,r=a.length;let s=0;return new Promise((n=>{for(;s=r)return void(!a.find((e=>!e.url&&!e.errMsg))&&n(t));const c=a[o];e.uploadFile({provider:c.provider,filePath:c.path,cloudPath:c.cloudPath,fileType:c.fileType,cloudPathAsRealPath:c.cloudPathAsRealPath,onUploadProgress(e){e.index=o,e.tempFile=c,e.tempFilePath=c.path,i&&i(e)}}).then((e=>{c.url=e.fileID,o{c.errMsg=e.errMsg||e.message,o{__({count:t,sizeType:n,sourceType:a,extension:r,success(t){e(i(t,"image"))},fail(e){s({errMsg:e.errMsg.replace("chooseImage:fail",o)})}})}))}(t),t):"video"===t.type?a(e,function(e){const{camera:t,compressed:n,maxDuration:a,sourceType:r=["album","camera"],extension:s}=e;return new Promise(((e,l)=>{q_({camera:t,compressed:n,maxDuration:a,sourceType:r,extension:s,success(t){const{tempFilePath:n,duration:o,size:a,height:r,width:s}=t;e(i({errMsg:"chooseVideo:ok",tempFilePaths:[n],tempFiles:[{name:t.tempFile&&t.tempFile.name||"",path:n,size:a,type:t.tempFile&&t.tempFile.type||"",width:s,height:r,duration:o,fileType:"video",cloudPath:""}]},"video"))},fail(e){l({errMsg:e.errMsg.replace("chooseVideo:fail",o)})}})}))}(t),t):a(e,function(e){const{count:t,extension:n}=e;return new Promise(((e,a)=>{let r=v_;if("undefined"!=typeof wx&&"function"==typeof wx.chooseMessageFile&&(r=wx.chooseMessageFile),"function"!=typeof r)return a({errMsg:o+" 请指定 type 类型,该平台仅支持选择 image 或 video。"});r({type:"all",count:t,extension:n,success(t){e(i(t))},fail(e){a({errMsg:e.errMsg.replace("chooseFile:fail",o)})}})}))}(t),t)}}})));function RR(e){return{props:{localdata:{type:Array,default:()=>[]},options:{type:[Object,Array],default:()=>({})},spaceInfo:{type:Object,default:()=>({})},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:()=>({mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{},mixinDatacomError:null}),created(){this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch((()=>{var e=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach((t=>{e.push(this[t])})),e}),((e,t)=>{if("manual"===this.loadtime)return;let n=!1;const o=[];for(let i=2;i{this.mixinDatacomLoading=!1;const{data:o,count:i}=n.result;this.getcount&&(this.mixinDatacomPage.count=i),this.mixinDatacomHasMore=o.length{this.mixinDatacomLoading=!1,this.mixinDatacomErrorMessage=e,this.mixinDatacomError=e,n&&n(e)})))},mixinDatacomGet(t={}){let n;t=t||{},n="undefined"!=typeof __uniX&&__uniX?e.databaseForJQL(this.spaceInfo):e.database(this.spaceInfo);const o=t.action||this.action;o&&(n=n.action(o));const i=t.collection||this.collection;n=Array.isArray(i)?n.collection(...i):n.collection(i);const a=t.where||this.where;a&&Object.keys(a).length&&(n=n.where(a));const r=t.field||this.field;r&&(n=n.field(r));const s=t.foreignKey||this.foreignKey;s&&(n=n.foreignKey(s));const l=t.groupby||this.groupby;l&&(n=n.groupBy(l));const c=t.groupField||this.groupField;c&&(n=n.groupField(c)),!0===(void 0!==t.distinct?t.distinct:this.distinct)&&(n=n.distinct());const u=t.orderby||this.orderby;u&&(n=n.orderBy(u));const d=void 0!==t.pageCurrent?t.pageCurrent:this.mixinDatacomPage.current,p=void 0!==t.pageSize?t.pageSize:this.mixinDatacomPage.size,h=void 0!==t.getcount?t.getcount:this.getcount,f=void 0!==t.gettree?t.gettree:this.gettree,g=void 0!==t.gettreepath?t.gettreepath:this.gettreepath,m={getCount:h},v={limitLevel:void 0!==t.limitlevel?t.limitlevel:this.limitlevel,startWith:void 0!==t.startwith?t.startwith:this.startwith};return f&&(m.getTree=v),g&&(m.getTreePath=v),n=n.skip(p*(d-1)).limit(p).get(m),n}}}}function LR(e){return EI("_globalUniCloudSecureNetworkCache__{spaceId}".replace("{spaceId}",e.config.spaceId))}async function OR({openid:e,callLoginByWeixin:t=!1}={}){throw LR(this),new Error("[SecureNetwork] API `initSecureNetworkByWeixin` is not supported on platform `web`")}async function MR(e){const t=LR(this);return t.initPromise||(t.initPromise=OR.call(this,e).then((e=>e)).catch((e=>{throw delete t.initPromise,e}))),t.initPromise}function DR(e){rB=e}function NR(e){const t={getSystemInfo:Uy,getPushClientId:Zp};return function(n){return new Promise(((o,i)=>{t[e]({...n,success(e){o(e)},fail(e){i(e)}})}))}}class $R extends class{constructor(){this._callback={}}addListener(e,t){this._callback[e]||(this._callback[e]=[]),this._callback[e].push(t)}on(e,t){return this.addListener(e,t)}removeListener(e,t){if(!t)throw new Error('The "listener" argument must be of type function. Received undefined');const n=this._callback[e];if(!n)return;const o=function(e,t){for(let n=e.length-1;n>=0;n--)if(e[n]===t)return n;return-1}(n,t);n.splice(o,1)}off(e,t){return this.removeListener(e,t)}removeAllListener(e){delete this._callback[e]}emit(e,...t){const n=this._callback[e];if(n)for(let o=0;o{if(!e)throw new Error("Invalid appId, please check the manifest.json file");if(!t)throw new Error("Invalid push client id");this._appId=e,this._pushClientId=t,this._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),this.emit("open"),this._initMessageListener()}),(e=>{throw this.emit("error",e),this.close(),e}))}async open(){return this.init()}_isUniCloudSSE(e){if("receive"!==e.type)return!1;const t=e&&e.data&&e.data.payload;return!(!t||"UNI_CLOUD_SSE"!==t.channel||t.seqId!==this._seqId)}_receivePushMessage(e){if(!this._isUniCloudSSE(e))return;const t=e&&e.data&&e.data.payload,{action:n,messageId:o,message:i}=t;this._payloadQueue.push({action:n,messageId:o,message:i}),this._consumMessage()}_consumMessage(){for(;;){const e=this._payloadQueue.find((e=>e.messageId===this._currentMessageId+1));if(!e)break;this._currentMessageId++,this._parseMessagePayload(e)}}_parseMessagePayload(e){const{action:t,messageId:n,message:o}=e;"end"===t?this._end({messageId:n,message:o}):"message"===t&&this._appendMessage({messageId:n,message:o})}_appendMessage({messageId:e,message:t}={}){this.emit("message",t)}_end({messageId:e,message:t}={}){this.emit("end",t),this.close()}_initMessageListener(){this._uniPushMessageCallback}_destroy(){this._uniPushMessageCallback}toJSON(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}close(){this._destroy(),this.emit("close")}}const qR={tcb:wP,tencent:wP,aliyun:pB,private:AP,alipay:RP};let UR=new class{init(e){let t={};const n=qR[e.provider];if(!n)throw new Error("未提供正确的provider参数");var o;return t=n.init(e),function(e){e._initPromiseHub||(e._initPromiseHub=new xI({createPromise:function(){let t=Promise.resolve();t=new Promise((e=>{setTimeout((()=>{e()}),1)}));const n=e.auth();return t.then((()=>n.getLoginState())).then((e=>e?Promise.resolve():n.signInAnonymously()))}}))}(t),zP(t),function(e){const t=e.uploadFile;e.uploadFile=function(e){return t.call(this,e)}}(t),(o=t).database=function(e){if(e&&Object.keys(e).length>0)return o.init(e).database();if(this._database)return this._database;const t=tR(nR,{uniClient:o});return this._database=t,t},o.databaseForJQL=function(e){if(e&&Object.keys(e).length>0)return o.init(e).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;const t=tR(nR,{uniClient:o,isJQL:!0});return this._databaseForJQL=t,t},function(e){e.getCurrentUserInfo=BR,e.chooseAndUploadFile=PR.initChooseAndUploadFile(e),Object.assign(e,{get mixinDatacom(){return RR(e)}}),e.SSEChannel=$R,e.initSecureNetworkByWeixin=function(e){return function({openid:t,callLoginByWeixin:n=!1}={}){return MR.call(e,{openid:t,callLoginByWeixin:n})}}(e),e.setCustomClientInfo=DR,e.importObject=function(t){return function(n,o={}){o=function(e,t={}){return e.customUI=t.customUI||e.customUI,e.parseSystemError=t.parseSystemError||e.parseSystemError,Object.assign(e.loadingOptions,t.loadingOptions),Object.assign(e.errorOptions,t.errorOptions),"object"==typeof t.secretMethods&&(e.secretMethods=t.secretMethods),e}({customUI:!1,loadingOptions:{title:"加载中...",mask:!0},errorOptions:{type:"modal",retry:!1}},o);const{customUI:i,loadingOptions:a,errorOptions:r,parseSystemError:s}=o,l=!i;return new Proxy({},{get(i,c){switch(c){case"toString":return"[object UniCloudObject]";case"toJSON":return{}}return function({fn:e,interceptorName:t,getCallbackArgs:n}={}){return async function(...o){const i=n?n({params:o}):{};let a,r;try{return await LI(OI(t,"invoke"),{...i}),a=await e(...o),await LI(OI(t,"success"),{...i,result:a}),a}catch(s){throw r=s,await LI(OI(t,"fail"),{...i,error:r}),r}finally{await LI(OI(t,"complete"),r?{...i,error:r}:{...i,result:a})}}}({fn:async function i(...u){let d;l&&Fb({title:a.title,mask:a.mask});const p={name:n,type:"OBJECT",data:{method:c,params:u}};"object"==typeof o.secretMethods&&function(e,t){const n=t.data.method,o=e.secretMethods||{},i=o[n]||o["*"];i&&(t.secretType=i)}(o,p);let h=!1;try{d=await t.callFunction(p)}catch(e){h=!0,d={result:new QI(e)}}const{errSubject:f,errCode:g,errMsg:m,newToken:v}=d.result||{};if(l&&zb(),v&&v.token&&v.tokenExpired&&(tB(v),HI(qI,{...v})),g){let e=m;if(h&&s&&(e=(await s({objectName:n,methodName:c,params:u,errSubject:f,errCode:g,errMsg:m})).errMsg||m),l)if("toast"===r.type)Ub({title:e,icon:"none"});else{if("modal"!==r.type)throw new Error(`Invalid errorOptions.type: ${r.type}`);{const{confirm:t}=await async function({title:e,content:t,showCancel:n,cancelText:o,confirmText:i}={}){return new Promise(((a,r)=>{Bb({title:e,content:t,showCancel:n,cancelText:o,confirmText:i,success(e){a(e)},fail(){a({confirm:!1,cancel:!0})}})}))}({title:"提示",content:e,showCancel:r.retry,cancelText:"取消",confirmText:r.retry?"重试":"确定"});if(r.retry&&t)return i(...u)}}const t=new QI({subject:f,code:g,message:m,requestId:d.requestId});throw t.detail=d.result,HI(NI,{type:FI,content:t}),t}return HI(NI,{type:FI,content:d.result}),d.result},interceptorName:"callObject",getCallbackArgs:function({params:e}={}){return{objectName:n,methodName:c,params:e}}})}})}}(e)}(t),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach((e=>{if(!t[e])return;const n=t[e];t[e]=function(){return n.apply(t,Array.from(arguments))},t[e]=function(e,t){return function(n){let o=!1;if("callFunction"===t){const e=n&&n.type||hI;o=e!==hI}const i="callFunction"===t&&!o,a=this._initPromiseHub.exec();n=n||{};const{success:r,fail:s,complete:l}=GI(n),c=a.then((()=>o?Promise.resolve():LI(OI(t,"invoke"),n))).then((()=>e.call(this,n))).then((e=>o?Promise.resolve(e):LI(OI(t,"success"),e).then((()=>LI(OI(t,"complete"),e))).then((()=>(i&&HI(NI,{type:jI,content:e}),Promise.resolve(e))))),(e=>o?Promise.reject(e):LI(OI(t,"fail"),e).then((()=>LI(OI(t,"complete"),e))).then((()=>(HI(NI,{type:jI,content:e}),Promise.reject(e))))));if(!(r||s||l))return c;c.then((e=>{r&&r(e),l&&l(e),i&&HI(NI,{type:jI,content:e})}),(e=>{s&&s(e),l&&l(e),i&&HI(NI,{type:jI,content:e})}))}}(t[e],e).bind(t)})),t.init=this.init,t}};(()=>{const e=kI;let t={};if(e&&1===e.length)t=e[0],UR=UR.init(t),UR._isDefault=!0;else{const t=["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","database","getCurrentUSerInfo","importObject"];let n;n=e&&e.length>0?"应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间":"应用未关联服务空间,请在uniCloud目录右键关联服务空间",t.forEach((e=>{UR[e]=function(){return console.error(n),Promise.reject(new QI({code:"SYS_ERR",message:n}))}}))}Object.assign(UR,{get mixinDatacom(){return RR(UR)}}),SR(UR),UR.addInterceptor=PI,UR.removeInterceptor=RI,UR.interceptObject=MI})();var jR=UR,FR={};const VR=qy(),zR="__UNI__A1CADD0",WR=(e,t)=>{let n=r_("$$STAT__DBDATA:"+zR)||{};n||(n={}),n[e]=t,o_("$$STAT__DBDATA:"+zR,n)},HR=e=>{let t=r_("$$STAT__DBDATA:"+zR)||{};if(!t[e]){let n=r_("$$STAT__DBDATA:"+zR);if(n||(n={}),!n[e])return;t[e]=n[e]}return t[e]},XR=e=>{let t=r_("$$STAT__DBDATA:"+zR)||{};t[e]?(delete t[e],o_("$$STAT__DBDATA:"+zR,t)):(t=r_("$$STAT__DBDATA:"+zR),t[e]&&(delete t[e],o_("$$STAT__DBDATA:"+zR,t)))},KR={version:"2",enable:!0};let YR={};YR={"pages/component/scroll-view/scroll-view":"scroll-view","pages/component/swiper/swiper":"swiper","pages/component/cover-view/cover-view":"cover-view","pages/component/movable-view/movable-view":"movable-view","pages/component/text/text":"text","pages/component/rich-text/rich-text":"rich-text","pages/component/progress/progress":"progress","pages/component/button/button":"button","pages/component/checkbox/checkbox":"checkbox","pages/component/form/form":"form","pages/component/input/input":"input","pages/component/label/label":"label","pages/component/picker/picker":"picker","pages/component/picker-view/picker-view":"picker-view","pages/component/radio/radio":"radio","pages/component/slider/slider":"slider","pages/component/switch/switch":"switch","pages/component/textarea/textarea":"textarea","pages/component/editor/editor":"editor","pages/component/navigator/navigator":"navigator","pages/component/navigator/navigate/navigate":"navigatePage","pages/component/navigator/redirect/redirect":"redirectPage","pages/component/image/image":"image","pages/component/video/video":"video","pages/component/map/map":"map","pages/component/canvas/canvas":"canvas","pages/component/web-view/web-view":"web-view","pages/error/404":"Not Found","pages/API/login/login":"授权登录","pages/API/get-user-info/get-user-info":"获取用户信息","pages/API/request-payment/request-payment":"发起支付","pages/API/share/share":"分享","pages/API/set-navigation-bar-title/set-navigation-bar-title":"设置界面标题","pages/API/show-loading/show-loading":"加载提示框","pages/API/navigator/navigator":"页面跳转","pages/API/navigator/new-page/new-vue-page-1":"新VUE页面1","pages/API/navigator/new-page/new-vue-page-2":"新VUE页面2","pages/API/pull-down-refresh/pull-down-refresh":"下拉刷新","pages/API/animation/animation":"创建动画","pages/API/get-node-info/get-node-info":"节点信息","pages/API/intersection-observer/intersection-observer":"节点布局相交状态","pages/API/canvas/canvas":"创建绘画","pages/API/action-sheet/action-sheet":"操作菜单","pages/API/modal/modal":"模态弹窗","pages/API/toast/toast":"消息提示框","pages/API/get-network-type/get-network-type":"获取设备网络状态","pages/API/get-system-info/get-system-info":"获取设备系统信息","pages/API/add-phone-contact/add-phone-contact":"添加手机联系人","pages/API/on-accelerometer-change/on-accelerometer-change":"监听加速度计数据","pages/API/on-compass-change/on-compass-change":"监听罗盘数据","pages/API/make-phone-call/make-phone-call":"打电话","pages/API/scan-code/scan-code":"扫码","pages/API/clipboard/clipboard":"剪贴板","pages/API/request/request":"网络请求","pages/API/upload-file/upload-file":"上传文件","pages/API/download-file/download-file":"下载文件","pages/API/image/image":"图片","pages/API/voice/voice":"录音","pages/API/inner-audio/inner-audio":"音频","pages/API/background-audio/background-audio":"背景音频","pages/API/video/video":"视频","pages/API/file/file":"文件","pages/API/map/map":"map","pages/API/get-location/get-location":"获取位置","pages/API/open-location/open-location":"查看位置","pages/API/choose-location/choose-location":"使用地图选择位置","pages/API/storage/storage":"数据存储","pages/API/sqlite/sqlite":"SQLite","pages/API/vibrate/vibrate":"震动","pages/API/websocket-socketTask/websocket-socketTask":"websocket-socketTask","pages/API/websocket-global/websocket-global":"websocket-global","pages/extUI/forms/forms":"Form 表单","pages/extUI/group/group":"Group 分组","pages/extUI/badge/badge":"Badge 数字角标","pages/extUI/breadcrumb/breadcrumb":"Breadcrumb 面包屑","pages/extUI/countdown/countdown":"Countdown 倒计时","pages/extUI/drawer/drawer":"Drawer 抽屉","pages/extUI/icons/icons":"Icons 图标","pages/extUI/load-more/load-more":"LoadMore 加载更多","pages/extUI/nav-bar/nav-bar":"NavBar 导航栏","pages/extUI/number-box/number-box":"NumberBox 数字输入框","pages/extUI/popup/popup":"Popup 弹出层","pages/extUI/segmented-control/segmented-control":"SegmentedControl 分段器","pages/extUI/tag/tag":"Tag 标签","pages/extUI/list/list":"List 列表","pages/extUI/card/card":"Card 卡片","pages/extUI/collapse/collapse":"Collapse 折叠面板","pages/extUI/pagination/pagination":"Pagination 分页器","pages/extUI/swiper-dot/swiper-dot":"SwiperDot 轮播图指示点","pages/extUI/grid/grid":"Grid 宫格","pages/extUI/rate/rate":"Rate 评分","pages/extUI/steps/steps":"Steps 步骤条","pages/extUI/notice-bar/notice-bar":"NoticeBar 通告栏","pages/extUI/swipe-action/swipe-action":"SwipeAction 滑动操作","pages/extUI/search-bar/search-bar":"SearchBar 搜索栏","pages/extUI/calendar/calendar":"Calendar 日历","pages/extUI/indexed-list/indexed-list":"IndexedList 索引列表","pages/extUI/fab/fab":"Fab 悬浮按钮","pages/extUI/fav/fav":"Fav 收藏按钮","pages/extUI/goods-nav/goods-nav":"GoodsNav 商品导航","pages/extUI/section/section":"Section 标题栏","pages/extUI/transition/transition":"Transition 过渡动画","pages/extUI/title/title":"Title 章节标题","pages/extUI/tooltip/tooltip":"Tooltip 文字提示","pages/extUI/link/link":"Link 链接","pages/extUI/combox/combox":"Combox 组合框","pages/extUI/dateformat/dateformat":"Dateformat 日期格式化","pages/extUI/data-checkbox/data-checkbox":"DataCheckbox 单选复选框","pages/extUI/easyinput/easyinput":"Easyinput 增强输入框","pages/extUI/data-picker/data-picker":"DataPicker 级联选择","pages/extUI/data-select/data-select":"DataSelect 下拉框","pages/extUI/datetime-picker/datetime-picker":"DatetimePicker 日期时间","pages/extUI/row/row":"Layout 布局","pages/extUI/file-picker/file-picker":"FilePicker 文件选择上传","pages/extUI/space/space":"间距","pages/extUI/font/font":"字体","pages/extUI/color/color":"颜色","pages/extUI/radius/radius":"圆角","pages/template/nav-default/nav-default":"默认导航栏","pages/template/component-communication/component-communication":"组件通讯","pages/template/nav-transparent/nav-transparent":"透明渐变导航栏","pages/template/nav-button/nav-button":"导航栏带自定义按钮","pages/template/nav-city-dropdown/nav-city-dropdown":"导航栏带城市选择","pages/template/nav-dot/nav-dot":"导航栏带红点和角标","pages/template/nav-search-input/nav-search-input":"导航栏带搜索框","pages/template/nav-search-input/detail/detail":"搜索","pages/template/list2detail-list/list2detail-list":"列表到详情示例","pages/template/list2detail-detail/list2detail-detail":"详情","pages/template/tabbar/tabbar":"可拖动顶部选项卡","pages/template/tabbar/detail/detail":"详情页面","pages/template/swiper-vertical/swiper-vertical":"上下滑动切换视频","pages/template/swiper-list/swiper-list":"swiper-list","pages/template/scheme/scheme":"打开外部应用","pages/template/global/global":"GlobalData和vuex"};function GR(){let e="";if("n"===JR()){try{e=plus.runtime.getDCloudId()}catch(gB){e=""}return e}try{e=r_("__DC_STAT_UUID")}catch(gB){e="__DC_UUID_VALUE"}if(!e){e=Date.now()+""+Math.floor(1e7*Math.random());try{o_("__DC_STAT_UUID",e)}catch(gB){o_("__DC_STAT_UUID","__DC_UUID_VALUE")}}return e}const QR={appid:"__UNI__A1CADD0"},JR=()=>{const e={app:"n","app-plus":"n",h5:"h5","mp-weixin":"wx",[["y","a","p","mp-ali"].reverse().join("")]:"ali","mp-baidu":"bd","mp-toutiao":"tt","mp-qq":"qq","quickapp-native":"qn","mp-kuaishou":"ks","mp-lark":"lark","quickapp-webview":"qw"};if("ali"===e.h5&&my&&my.env){const e=my.env.clientName;if("ap"===e)return"ali";if("dingtalk"===e)return"dt"}return e.h5},ZR=e=>{const t=JR();let n="";return e||("wx"===t&&(n=Kp().scene),n)},eL=e=>{let t=e||nL();if("bd"===JR()){let e=t.$mp&&t.$mp.page&&t.$mp.page.is,n=t.$scope&&t.$scope.is;return e||n||""}return t.route||t.$scope&&t.$scope.route||t.$mp&&t.$mp.page.route},tL=e=>{let t=e&&(e.$page||e.$scope&&e.$scope.$page),n=r_("_STAT_LAST_PAGE_ROUTE");return t?"/"===t.fullPath?t.route:t.fullPath||t.route:n||""},nL=()=>{let e=fv(),t=e[e.length-1];return t?t.$vm:null},oL=e=>"page"===e.mpType||"page"===e.$mpType||e.$mp&&"page"===e.$mp.mpType||"page"===e.$options.mpType?"page":"app"===e.mpType||"app"===e.$mpType||e.$mp&&"app"===e.$mp.mpType||"app"===e.$options.mpType?"app":null,iL=e=>{let t=[],n=[],o=[];for(let i in e){e[i].forEach((e=>{let a="";a=e,0===i?t.push(a):3===i?o.push(a):n.push(a)}))}return t.push(...n,...o),JSON.stringify(t)},aL=e=>YR&&YR[e]||"",rL=e=>{let t={usv:"4.24",conf:JSON.stringify({ak:"__UNI__A1CADD0"})};U_({url:"https://tongji.dcloud.io/uni/stat",method:"GET",data:t,success:t=>{const{data:n}=t;0===n.ret&&"function"==typeof e&&e({enable:n.enable})},fail:t=>{let n=1;try{n=r_("Report_Status")}catch(o){n=1}""===n&&(n=1),"function"==typeof e&&e({enable:n})}})},sL=e=>{const t=FR||{},{spaceId:n,provider:o,clientSecret:i,secretKey:a,secretId:r}=t;return-1!==["tcb","tencent","aliyun","alipay"].indexOf(o)&&("aliyun"===o&&n&&i||("tcb"===o||"tencent"===o)&&n||"alipay"===o&&n&&a&&r)?t:e&&e.spaceId?e:null},lL=()=>{if(KR.collectItems){const e=KR.collectItems.uniStatPageLog;return void 0===e||("boolean"!=typeof e||e)}return!0},cL=()=>parseInt((new Date).getTime()/1e3),uL=()=>{const e=HR("__first__visit__time");let t=0;return e?t=e:(t=cL(),WR("__first__visit__time",t),XR("__last__visit__time")),t};let dL=0,pL=0;const hL=()=>(dL=cL(),WR("__page__residence__time",dL),dL),fL=()=>{const e=HR("__total__visit__count");let t=1;return e&&(t=e,t++),WR("__total__visit__count",t),t},gL=()=>{let e=cL();return WR("__first_time",e)},mL=e=>{let t=0;const n=HR("__first_time"),o=cL();if(0!==n&&(t=o-n),t=t<1?1:t,"app"===e){return{residenceTime:t,overtime:t>300}}if("page"===e){return{residenceTime:t,overtime:t>1800}}return{residenceTime:t}},vL=(e=>{let t=KR.reportInterval;if(0===Number(t))return 0;t=t||e;return/(^[1-9]\d*$)/.test(t)?Number(t):e})(10);let yL={uuid:VR.deviceId||GR(),ak:QR.appid,p:"android"===VR.platform?"a":"i",ut:JR(),mpn:(()=>{let e="";return"wx"!==JR()&&"qq"!==JR()||cv("getAccountInfoSync")&&(e=uni.getAccountInfoSync().miniProgram.appId||""),JR(),e})(),usv:"4.24",v:"n"===JR()?plus.runtime.version:"",ch:(()=>{let e="";return"n"===JR()&&(e=plus.runtime.channel),e})(),cn:"",pn:"",ct:"",t:cL(),tt:"",brand:VR.brand||"",md:VR.model,sv:VR.system.replace(/(Android|iOS)\s/,""),mpsdk:VR.SDKVersion||"",mpv:VR.version||"",lang:VR.language,pr:VR.pixelRatio,ww:VR.windowWidth,wh:VR.windowHeight,sw:VR.screenWidth,sh:VR.screenHeight};class _L extends class{constructor(){this.self="",this.__licationShow=!1,this.__licationHide=!1,this.statData=yL,this._navigationBarTitle={config:"",page:"",report:"",lt:""},this._query={},"function"==typeof Xd&&(this.addInterceptorInit(),this.interceptLogin(),this.interceptShare(!0),this.interceptRequestPayment())}addInterceptorInit(){let e=this;Xd("setNavigationBarTitle",{invoke(t){e._navigationBarTitle.page=t.title}})}interceptLogin(){let e=this;Xd("login",{complete(){e._login()}})}interceptShare(e){let t=this;e?Xd("share",{success(){t._share()},fail(){t._share()}}):t._share()}interceptRequestPayment(){let e=this;Xd("requestPayment",{success(){e._payment("pay_success")},fail(){e._payment("pay_fail")}})}_login(){this.sendEventRequest({key:"login"},0)}_share(){this.sendEventRequest({key:"share"},0)}_payment(e){this.sendEventRequest({key:e},0)}applicationShow(){if(this.__licationHide){if(mL("app").overtime){let e={path:r_("_STAT_LAST_PAGE_ROUTE"),scene:this.statData.sc,cst:2};this.sendReportRequest(e)}this.__licationHide=!1}}applicationHide(e,t){e||(e=nL()),this.__licationHide=!0;const n=mL(),o=tL(e);o_("_STAT_LAST_PAGE_ROUTE",o),this.sendHideRequest({urlref:o,urlref_ts:n.residenceTime},t),gL()}pageShow(e){this._navigationBarTitle={config:"",page:"",report:"",lt:""};const t=tL(e),n=eL(e);if(this._navigationBarTitle.config=aL(n),this.__licationShow)return gL(),o_("_STAT_LAST_PAGE_ROUTE",t),void(this.__licationShow=!1);if(mL("page").overtime){let e={path:t,scene:this.statData.sc,cst:3};this.sendReportRequest(e)}gL()}pageHide(e){if(!this.__licationHide){const t=mL("page");let n=tL(e),o=r_("_STAT_LAST_PAGE_ROUTE");return o||(o=n),o_("_STAT_LAST_PAGE_ROUTE",n),void this.sendPageRequest({url:n,urlref:o,urlref_ts:t.residenceTime})}}sendReportRequest(e,t){this._navigationBarTitle.lt="1",this._navigationBarTitle.config=aL(e.path);let n=e.query&&"{}"!==JSON.stringify(e.query)?"?"+JSON.stringify(e.query):"";const o=(()=>{const e=HR("__last__visit__time");let t=0;return e&&(t=e),WR("__last__visit__time",cL()),t})();if(0!==o||!o){const e=(e=>{let t="";if("n"===JR()){try{t=plus.device.uuid}catch(gB){t=""}return t}return VR.deviceId||GR()})();(()=>{let e=HR("is_handle_device_id")||"";return WR("is_handle_device_id","1"),"1"===e})()||(this.statData.odid=e)}Object.assign(this.statData,{lt:"1",url:e.path+n||"",t:cL(),sc:ZR(e.scene),fvts:uL(),lvts:o,tvc:fL(),cst:e.cst||1}),"n"===JR()?this.getProperty(t):this.getNetworkInfo(t)}sendPageRequest(e){let{url:t,urlref:n,urlref_ts:o}=e;this._navigationBarTitle.lt="11";let i={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"11",ut:this.statData.ut,url:t,tt:this.statData.tt,urlref:n,urlref_ts:o,ch:this.statData.ch,usv:this.statData.usv,t:cL()};this.request(i)}sendHideRequest(e,t){let{urlref:n,urlref_ts:o}=e,i={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"3",ut:this.statData.ut,urlref:n,urlref_ts:o,ch:this.statData.ch,usv:this.statData.usv,t:cL()};this.request(i,t)}sendEventRequest({key:e="",value:t=""}={}){let n="";try{n=eL()}catch(i){n=HR("__launch_options").path}this._navigationBarTitle.config=aL(n),this._navigationBarTitle.lt="21";let o={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"21",ut:this.statData.ut,url:n,ch:this.statData.ch,e_n:e,e_v:"object"==typeof t?JSON.stringify(t):t.toString(),usv:this.statData.usv,t:cL()};this.request(o)}sendPushRequest(e,t){let n=cL();const o={lt:"101",cid:t,t:n,ut:this.statData.ut};let i={usv:"4.24",t:n,requests:iL({101:[o]})};"n"!==JR()||"a"!==this.statData.p?this.sendRequest(i):setTimeout((()=>{this.sendRequest(i)}),200)}getProperty(e){plus.runtime.getProperty(plus.runtime.appid,(t=>{this.statData.v=t.version||"",this.getNetworkInfo(e)}))}getNetworkInfo(e){jy({success:t=>{this.statData.net=t.networkType,this.getLocation(e)}})}getLocation(e){QR.getLocation?ab({type:"wgs84",geocode:!0,success:t=>{t.address&&(this.statData.cn=t.address.country,this.statData.pn=t.address.province,this.statData.ct=t.address.city),this.statData.lat=t.latitude,this.statData.lng=t.longitude,this.request(this.statData,e)}}):(this.statData.lat=0,this.statData.lng=0,this.request(this.statData,e))}request(e,t){let n=cL();const o=this._navigationBarTitle;Object.assign(e,{ttn:o.page,ttpj:o.config,ttc:o.report});let i=HR("__UNI__STAT__DATA")||{};if(i[e.lt]||(i[e.lt]=[]),i[e.lt].push(e),WR("__UNI__STAT__DATA",i),(pL=cL(),dL=HR("__page__residence__time"),pL-dL){this.sendRequest(a)}),200)}getIsReportData(){return new Promise(((e,t)=>{let n="",o=(new Date).getTime(),i=1;try{n=r_("Report_Data_Time"),i=r_("Report_Status")}catch(gB){n="",i=1}""!==i?(1===i&&e(),n||(o_("Report_Data_Time",o),n=o),o-n>864e5&&rL((({enable:e})=>{o_("Report_Data_Time",o),o_("Report_Status",e)}))):rL((({enable:t})=>{o_("Report_Data_Time",o),o_("Report_Status",t),1===t&&e()}))}))}sendRequest(e){if(!uni.__stat_uniCloud_space)return void console.error("应用未关联服务空间,统计上报失败,请在uniCloud目录右键关联服务空间.");uni.__stat_uniCloud_space.importObject("uni-stat-receiver",{customUI:!0}).report(e).then((()=>{})).catch((e=>{}))}imageRequest(e){this.getIsReportData().then((()=>{let t=new Image,n=(e=>{let t=Object.keys(e).sort(),n={},o="";for(var i in t)n[t[i]]=e[t[i]],o+=t[i]+"="+e[t[i]]+"&";return{sign:"",options:o.substr(0,o.length-1)}})((e=>{let t={};for(let n in e)t[n]=encodeURIComponent(e[n]);return t})(e)).options;t.src="https://tongji.dcloud.io/uni/stat.gif?"+n}))}sendEvent(e,t){((e,t)=>e?"string"!=typeof e?(console.error("uni.report [eventName] Parameter type error, it can only be of type String"),!0):e.length>255?(console.error("uni.report [eventName] Parameter length cannot be greater than 255"),!0):"string"!=typeof t&&"object"!=typeof t?(console.error("uni.report [options] Parameter type error, Only supports String or Object type"),!0):"string"==typeof t&&t.length>255?(console.error("uni.report [options] Parameter length cannot be greater than 255"),!0):"title"===e&&"string"!=typeof t?(console.error("uni.report [eventName] When the parameter is title, the [options] parameter can only be of type String"),!0):void 0:(console.error("uni.report Missing [eventName] parameter"),!0))(e,t)||("title"!==e?this.sendEventRequest({key:e,value:"object"==typeof t?JSON.stringify(t):t},1):this._navigationBarTitle.report=t)}}{static getInstance(){uni.__stat_instance||(uni.__stat_instance=new _L);{let e=sL(jR.config);if(!uni.__stat_uniCloud_space)if(e&&0!==Object.keys(e).length){let t={provider:e.provider,spaceId:e.spaceId,clientSecret:e.clientSecret};e.endpoint&&(t.endpoint=e.endpoint),"alipay"===e.provider&&(t.secretKey=e.secretKey,t.accessKey=e.accessKey||e.secretId,t.spaceAppId=e.spaceAppId||e.appId),uni.__stat_uniCloud_space=jR.init(t)}else console.error("应用未关联服务空间,请在uniCloud目录右键关联服务空间")}return uni.__stat_instance}constructor(){super()}pushEvent(e){const t=(()=>{if(KR.collectItems){const e=KR.collectItems.uniPushClientID;return"boolean"==typeof e&&e}return!1})();Zp&&t&&Zp({success:t=>{const n=t.cid||!1;n&&this.sendPushRequest(e,n)}})}launch(e,t){hL(),this.__licationShow=!0,WR("__launch_options",e),e.cst=1,this.sendReportRequest(e,!0)}load(e,t){this.self=t,this._query=e}appHide(e){this.applicationHide(e,!0)}appShow(e){this.applicationShow(e)}show(e){if(this.self=e,"page"===oL(e)){lL()&&this.pageShow(e)}"h5"!==JR()&&"n"!==JR()||"app"===oL(e)&&this.appShow()}hide(e){if(this.self=e,"page"===oL(e)){lL()&&this.pageHide(e)}"h5"!==JR()&&"n"!==JR()||"app"===oL(e)&&this.appHide()}error(e){let t="";t=e.message?e.stack:JSON.stringify(e);let n="";try{n=get_route()}catch(gB){n=""}let o={ak:this.statData.ak,uuid:this.statData.uuid,p:this.statData.p,lt:"31",url:n,ut:this.statData.ut,ch:this.statData.ch,mpsdk:this.statData.mpsdk,mpv:this.statData.mpv,v:this.statData.v,em:t,usv:this.statData.usv,t:parseInt((new Date).getTime()/1e3)};this.request(o)}}const bL=_L.getInstance();let wL=!1;const xL={onLaunch(e){bL.launch(e,this),bL.pushEvent(e)},onLoad(e){if(bL.load(e,this),this.$scope&&this.$scope.onShareAppMessage){let e=this.$scope.onShareAppMessage;this.$scope.onShareAppMessage=function(t){return bL.interceptShare(!1),e.call(this,t)}}},onShow(){wL=!1,bL.show(this)},onHide(){wL=!0,bL.hide(this)},onUnload(){wL?wL=!1:bL.hide(this)},onError(e){bL.error(e)}};function AL(){!function(e){if(Pe)return e(Pe);Re.push(e)}((e=>{e.mixin(xL),uni.report=function(e,t){bL.sendEvent(e,t)}})),"h5"!==JR()&&"n"!==JR()&&(Xp("onHide",(()=>{bL.appHide(nL())})),function(e){Xp("onShow",e)}((()=>{bL.appShow(nL())})))}AL(),function(){const e=Ir(iI);return e.use(aI),e.config.globalProperties.$adpid="1111111111",e.config.globalProperties.$backgroundAudioData={playing:!1,playTime:0,formatedPlayTime:"00:00:00"},{app:e}}().app.use(Pv).mount("#app");export{Qd as $,Jo as A,se as B,Cm as C,Jf as D,Pm as E,Vi as F,Ub as G,Xx as H,Am as I,wm as J,Tm as K,ym as L,Ww as M,Hw as N,Xw as O,Dg as P,Ag as Q,Ru as R,vm as S,fm as T,am as U,yf as V,Eu as W,vf as X,yg as Y,cm as Z,Bx as _,Uy as a,Xy as a$,lm as a0,ku as a1,p_ as a2,qy as a3,le as a4,tx as a5,nm as a6,Kg as a7,tw as a8,qp as a9,z_ as aA,Rw as aB,o_ as aC,l_ as aD,Lw as aE,Nw as aF,CA as aG,IA as aH,Dw as aI,iw as aJ,gb as aK,mb as aL,_b as aM,EA as aN,Yd as aO,Gd as aP,sw as aQ,zp as aR,Wd as aS,bp as aT,wp as aU,ew as aV,Vb as aW,jy as aX,Mw as aY,Wy as aZ,Vy as a_,Bb as aa,__ as ab,Kf as ac,SA as ad,Xg as ae,ep as af,Gv as ag,gf as ah,Zv as ai,Ip as aj,N_ as ak,yb as al,Kn as am,Tr as an,aw as ao,rw as ap,Zo as aq,zb as ar,Fb as as,G_ as at,ra as au,yl as av,lo as aw,Ja as ax,pb as ay,r_ as az,Rx as b,Gy as b0,Cy as b1,Ow as b2,t_ as b3,n_ as b4,Sy as b5,Bw as b6,MA as b7,q_ as b8,d_ as b9,op as ba,ab as bb,lb as bc,db as bd,s_ as be,i_ as bf,u_ as bg,Zy as bh,Jy as bi,Z_ as bj,tb as bk,nb as bl,ob as bm,ib as bn,J_ as bo,jR as bp,fv as bq,LA as br,Ux as bs,h_ as bt,c_ as bu,v_ as c,Gn as d,Zi as e,sa as f,qv as g,Px as h,Rm as i,Fx as j,ca as k,Vx as l,zx as m,fb as n,Yi as o,ea as p,Wx as q,U_ as r,Hx as s,X as t,H_ as u,ua as v,Vn as w,OA as x,Qo as y,Sr as z};