diff --git a/.gitignore b/.gitignore index 9b0e17c2f3244dbec477a20c62b10e34f09f1cc3..c1543b153d90125be722ada2630346c6c0b71635 100644 --- a/.gitignore +++ b/.gitignore @@ -29,7 +29,6 @@ appsettings.Production.json # 前端 (Node.js) node_modules/ -build/ .next/ .nuxt/ .cache/ diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/_plugin-vue_export-helper.BCo6x5W8.js b/frontend/uni-apps/unpackage/dist/build/web/assets/_plugin-vue_export-helper.BCo6x5W8.js new file mode 100644 index 0000000000000000000000000000000000000000..40b18401279e74009b62b8d22bc3c2c9c0eb24ba --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/_plugin-vue_export-helper.BCo6x5W8.js @@ -0,0 +1 @@ +const o=(o,t)=>{const c=o.__vccOpts||o;for(const[s,n]of t)c[s]=n;return c};export{o as _}; diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/ai-DXupkF7U.png b/frontend/uni-apps/unpackage/dist/build/web/assets/ai-DXupkF7U.png new file mode 100644 index 0000000000000000000000000000000000000000..ccaf21134ac540d49cc09a4fb70dc4c50e751095 Binary files /dev/null and b/frontend/uni-apps/unpackage/dist/build/web/assets/ai-DXupkF7U.png differ diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/ai.BELn2y0e.js b/frontend/uni-apps/unpackage/dist/build/web/assets/ai.BELn2y0e.js new file mode 100644 index 0000000000000000000000000000000000000000..c0565cbdb64e09cb033f369b4aea55b2440d4b46 --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/ai.BELn2y0e.js @@ -0,0 +1 @@ +const s="/m/assets/ai-DXupkF7U.png";export{s as _}; diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/chat-BXPJhuwf.css b/frontend/uni-apps/unpackage/dist/build/web/assets/chat-BXPJhuwf.css new file mode 100644 index 0000000000000000000000000000000000000000..6878f77a947614b4f48a10643244ee58f2a52ba1 --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/chat-BXPJhuwf.css @@ -0,0 +1 @@ +.sidebar-overlay[data-v-1785dc9e]{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:1000;animation:fadeIn-1785dc9e .3s ease}.sidebar[data-v-1785dc9e]{position:fixed;top:0;left:0;width:280px;height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);z-index:1001;display:flex;flex-direction:column;animation:slideIn-1785dc9e .3s ease}.sidebar-header[data-v-1785dc9e]{display:flex;align-items:center;justify-content:space-between;padding:20px 16px;border-bottom:1px solid rgba(255,255,255,.2)}.sidebar-title[data-v-1785dc9e]{color:#fff;font-size:18px;font-weight:700}.close-btn[data-v-1785dc9e]{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.2)}.close-icon[data-v-1785dc9e]{color:#fff;font-size:20px;font-weight:700}.chat-history[data-v-1785dc9e]{flex:1;padding:16px}.history-item[data-v-1785dc9e]{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;margin-bottom:8px;background:rgba(255,255,255,.1);border-radius:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2);transition:all .3s ease}.history-item[data-v-1785dc9e]:active{background:rgba(255,255,255,.2);transform:scale(.98)}.history-content[data-v-1785dc9e]{flex:1;margin-right:12px}.history-question[data-v-1785dc9e]{color:#fff;font-size:14px;font-weight:500;display:block;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-time[data-v-1785dc9e]{color:rgba(255,255,255,.7);font-size:12px;display:block}.history-arrow[data-v-1785dc9e]{color:rgba(255,255,255,.7);font-size:16px;font-weight:700}.empty-state[data-v-1785dc9e]{display:flex;align-items:center;justify-content:center;height:200px}.empty-text[data-v-1785dc9e]{color:rgba(255,255,255,.6);font-size:14px}.user-info[data-v-1785dc9e]{display:flex;align-items:center;padding:16px;border-top:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.1);cursor:pointer;transition:all .3s ease}.user-info[data-v-1785dc9e]:active{background:rgba(255,255,255,.2);transform:scale(.98)}.user-avatar[data-v-1785dc9e]{width:48px;height:48px;border-radius:50%;margin-right:12px;border:2px solid rgba(255,255,255,.3)}.user-details[data-v-1785dc9e]{flex:1}.username[data-v-1785dc9e]{color:#fff;font-size:16px;font-weight:700;display:block;margin-bottom:2px}.user-status[data-v-1785dc9e]{color:rgba(255,255,255,.7);font-size:12px;display:block}.user-arrow[data-v-1785dc9e]{color:rgba(255,255,255,.7);font-size:16px;font-weight:700}@keyframes fadeIn-1785dc9e{0%{opacity:0}to{opacity:1}}@keyframes slideIn-1785dc9e{0%{transform:translate(-100%)}to{transform:translate(0)}}.ai-container[data-v-7df7cc7f]{display:flex;flex-direction:column;height:100vh;max-width:800px;margin:0 auto;background-color:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;padding-top:120px}.header[data-v-7df7cc7f]{padding:16px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.1);text-align:center;position:-webkit-sticky;position:sticky;top:0;z-index:10}.title[data-v-7df7cc7f]{font-size:18px;font-weight:600;color:#333;margin:0}.chat-container[data-v-7df7cc7f]{flex:1;padding:16px;overflow-y:auto;background-color:#f9f9f9;scroll-behavior:smooth}.message[data-v-7df7cc7f]{display:flex;margin-bottom:16px;animation:fadeIn-7df7cc7f .3s ease}.message.user[data-v-7df7cc7f]{flex-direction:row-reverse}.avatar[data-v-7df7cc7f]{width:40px;height:40px;border-radius:50%;overflow:hidden;margin-right:12px;flex-shrink:0;background-color:#e0e0e0;display:flex;align-items:center;justify-content:center}.message.user .avatar[data-v-7df7cc7f]{margin-right:0;margin-left:12px}.avatar-image[data-v-7df7cc7f]{width:100%;height:100%;object-fit:cover;display:block}.content[data-v-7df7cc7f]{max-width:75%}.message.user .content[data-v-7df7cc7f]{display:flex;justify-content:flex-end}.text[data-v-7df7cc7f]{background-color:#fff;padding:12px 16px;border-radius:18px;font-size:15px;line-height:1.5;box-shadow:0 1px 2px rgba(0,0,0,.1);word-break:break-word}.message.user .text[data-v-7df7cc7f]{background-color:#1890ff;color:#fff;border-radius:18px 18px 0}.input-area[data-v-7df7cc7f]{display:flex;padding:12px;background-color:#fff;border-top:1px solid #eee;align-items:flex-end;position:-webkit-sticky;position:sticky;bottom:0}.input-box[data-v-7df7cc7f]{flex:1;min-height:48px;max-height:120px;padding:12px 16px;background-color:#f5f5f5;border-radius:24px;font-size:15px;margin-right:12px;border:none;outline:none;resize:none;line-height:1.5;transition:height .2s}.input-box[data-v-7df7cc7f]:focus{background-color:#eaeaea}.send-btn[data-v-7df7cc7f]{width:64px;height:48px;background-color:#1890ff;color:#fff;border-radius:24px;font-size:15px;font-weight:500;border:none;cursor:pointer;transition:background-color .2s;display:flex;align-items:center;justify-content:center}.send-btn[data-v-7df7cc7f]:hover{background-color:#1478d8}.send-btn[data-v-7df7cc7f]:disabled{background-color:#ccc;cursor:not-allowed}.loading-icon[data-v-7df7cc7f]{animation:rotate-7df7cc7f 1s linear infinite}.typing-indicator[data-v-7df7cc7f]{display:flex;padding:12px 0;margin-left:8px}.dot[data-v-7df7cc7f]{width:8px;height:8px;background-color:#999;border-radius:50%;margin-right:6px;animation:bounce-7df7cc7f 1.4s infinite ease-in-out}.dot[data-v-7df7cc7f]:nth-child(1){animation-delay:0s}.dot[data-v-7df7cc7f]:nth-child(2){animation-delay:.2s}.dot[data-v-7df7cc7f]:nth-child(3){animation-delay:.4s}@keyframes bounce-7df7cc7f{0%,60%,to{transform:translateY(0)}30%{transform:translateY(-5px)}}@keyframes rotate-7df7cc7f{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes fadeIn-7df7cc7f{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.dialogue-limit-tip[data-v-7df7cc7f]{background:rgba(255,193,7,.1);border:1px solid rgba(255,193,7,.3);border-radius:8px;padding:8px 12px;margin:10px 0;text-align:center}.tip-text[data-v-7df7cc7f]{color:#ffc107;font-size:12px;font-weight:500} diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/image-display-test-C80RMvyX.css b/frontend/uni-apps/unpackage/dist/build/web/assets/image-display-test-C80RMvyX.css new file mode 100644 index 0000000000000000000000000000000000000000..6289622272fef28effc470a0dceb9384fa884cd2 --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/image-display-test-C80RMvyX.css @@ -0,0 +1 @@ +.display-test[data-v-00c410a9]{padding:20px;height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}.header[data-v-00c410a9]{text-align:center;margin-bottom:20px}.title[data-v-00c410a9]{color:#fff;font-size:20px;font-weight:700}.test-section[data-v-00c410a9]{background:rgba(255,255,255,.1);border-radius:10px;padding:15px;margin-bottom:15px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.section-title[data-v-00c410a9]{color:#fff;font-size:16px;font-weight:700;margin-bottom:15px;display:block}.image-grid[data-v-00c410a9]{display:flex;justify-content:space-around;margin-bottom:10px}.image-item[data-v-00c410a9]{display:flex;flex-direction:column;align-items:center;gap:8px}.label[data-v-00c410a9]{color:rgba(255,255,255,.9);font-size:12px;text-align:center}.avatar-container[data-v-00c410a9]{width:40px;height:40px;border-radius:50%;overflow:hidden;background-color:#e0e0e0;display:flex;align-items:center;justify-content:center}.avatar[data-v-00c410a9]{width:100%;height:100%;object-fit:cover;display:block}.status[data-v-00c410a9]{font-size:10px;padding:2px 6px;border-radius:4px;background:rgba(255,255,255,.2);color:rgba(255,255,255,.8)}.size-grid[data-v-00c410a9]{display:flex;justify-content:space-around;flex-wrap:wrap;gap:10px}.size-item[data-v-00c410a9]{display:flex;flex-direction:column;align-items:center;gap:5px}.size-label[data-v-00c410a9]{color:rgba(255,255,255,.8);font-size:10px}.size-image[data-v-00c410a9]{border-radius:50%;background-color:#e0e0e0}.size-image[data-v-00c410a9]:nth-child(1){width:20px;height:20px}.size-image[data-v-00c410a9]:nth-child(2){width:30px;height:30px}.size-image[data-v-00c410a9]:nth-child(3){width:40px;height:40px}.size-image[data-v-00c410a9]:nth-child(4){width:50px;height:50px}.style-grid[data-v-00c410a9]{display:flex;justify-content:space-around;flex-wrap:wrap;gap:15px}.style-item[data-v-00c410a9]{display:flex;flex-direction:column;align-items:center;gap:8px}.style-label[data-v-00c410a9]{color:rgba(255,255,255,.8);font-size:10px;text-align:center}.circle-avatar[data-v-00c410a9]{width:40px;height:40px;border-radius:50%;background-color:#e0e0e0}.square-avatar[data-v-00c410a9]{width:40px;height:40px;border-radius:4px;background-color:#e0e0e0}.bordered-avatar[data-v-00c410a9]{width:40px;height:40px;border-radius:50%;border:2px solid rgba(255,255,255,.5);background-color:#e0e0e0}.log-section[data-v-00c410a9]{flex:1;background:rgba(255,255,255,.1);border-radius:10px;padding:15px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.log-content[data-v-00c410a9]{height:120px}.log-item[data-v-00c410a9]{color:rgba(255,255,255,.8);font-size:10px;display:block;margin-bottom:2px;line-height:1.3} diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/image-test-RV4ae0OI.css b/frontend/uni-apps/unpackage/dist/build/web/assets/image-test-RV4ae0OI.css new file mode 100644 index 0000000000000000000000000000000000000000..39422026fb357edd7cb730296ab345a130a7e805 --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/image-test-RV4ae0OI.css @@ -0,0 +1 @@ +.image-test-container[data-v-551f48e6]{padding:20px;height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}.header[data-v-551f48e6]{text-align:center;margin-bottom:30px}.title[data-v-551f48e6]{color:#fff;font-size:24px;font-weight:700}.test-section[data-v-551f48e6]{margin-bottom:30px;background:rgba(255,255,255,.1);border-radius:10px;padding:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.section-title[data-v-551f48e6]{color:#fff;font-size:18px;font-weight:700;margin-bottom:15px;display:block}.image-grid[data-v-551f48e6]{display:flex;gap:20px;justify-content:center}.image-item[data-v-551f48e6]{display:flex;flex-direction:column;align-items:center;gap:10px}.image-label[data-v-551f48e6]{color:rgba(255,255,255,.9);font-size:14px}.test-image[data-v-551f48e6]{width:60px;height:60px;border-radius:50%;border:2px solid rgba(255,255,255,.3)}.status[data-v-551f48e6]{font-size:12px;padding:4px 8px;border-radius:4px;background:rgba(255,255,255,.2);color:rgba(255,255,255,.8)}.status.success[data-v-551f48e6]{background:rgba(76,175,80,.3);color:#4caf50}.status.error[data-v-551f48e6]{background:rgba(244,67,54,.3);color:#f44336}.button-group[data-v-551f48e6]{display:flex;flex-direction:column;gap:10px}.test-btn[data-v-551f48e6]{width:100%;height:40px;background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);border-radius:8px;color:#fff;font-size:14px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.test-btn[data-v-551f48e6]:active{background:rgba(255,255,255,.3)}.log-container[data-v-551f48e6]{flex:1;background:rgba(255,255,255,.1);border-radius:10px;padding:15px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.log-title[data-v-551f48e6]{color:#fff;font-size:16px;font-weight:700;margin-bottom:10px;display:block}.log-content[data-v-551f48e6]{height:200px}.log-item[data-v-551f48e6]{color:rgba(255,255,255,.8);font-size:12px;display:block;margin-bottom:5px;line-height:1.4} diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/image.Brjk8Evt.js b/frontend/uni-apps/unpackage/dist/build/web/assets/image.Brjk8Evt.js new file mode 100644 index 0000000000000000000000000000000000000000..2e06fcf354766a26d77c28dc1c28c8e3c36e72ed --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/image.Brjk8Evt.js @@ -0,0 +1 @@ +const I=I=>{return`/static/${(i={ai:"ai.png",user:"user.png"}[I]||"user.png").startsWith("/")?i.slice(1):i}`;var i},i=I=>new Promise(((i,M)=>{const g=new Image;g.onload=()=>i(I),g.onerror=I=>M(I),g.src=I})),M=I=>{const i={ai:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMjAiIGN5PSIyMCIgcj0iMjAiIGZpbGw9IiMxODkwZmYiLz4KPHN2ZyB4PSIxMCIgeT0iMTAiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiBmaWxsPSJ3aGl0ZSI+CjxwYXRoIGQ9Ik0xMCA1aDJ2MTBoLTJ6TTUgMTBoMTB2Mkg1eiIvPgo8L3N2Zz4KPC9zdmc+",user:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMjAiIGN5PSIyMCIgcj0iMjAiIGZpbGw9IiM2NjY2NjYiLz4KPGNpcmNsZSBjeD0iMjAiIGN5PSIxNSIgcj0iNiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTggMzJjMC0zLjMgMi43LTYgNi02czYgMi43IDYgNnYyaC0xMnYtMnoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPg=="};return i[I]||i.user};export{I as a,M as g,i as p}; diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/index-CvzBWeDg.js b/frontend/uni-apps/unpackage/dist/build/web/assets/index-CvzBWeDg.js new file mode 100644 index 0000000000000000000000000000000000000000..4a5a8713ba1eb2dcc3919267d1f02ef1b9345b47 --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/index-CvzBWeDg.js @@ -0,0 +1,24 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/pages-ai-chat-chat.BREi36KV.js","assets/user-data.BG7eDKNm.js","assets/_plugin-vue_export-helper.BCo6x5W8.js","assets/user-data-BbzcG9Nb.css","assets/image.Brjk8Evt.js","assets/user-info.BK-CocDp.js","assets/user.bNr49zIr.js","assets/chat-BXPJhuwf.css","assets/pages-history-history.BqZ2rU3T.js","assets/pages-login-login.CWF07iLr.js","assets/navigation.CQk3XfYa.js","assets/login-rRa25Sbg.css","assets/pages-privacy-privacy.Cbv33Bed.js","assets/privacy-CsVGXWxm.css","assets/pages-test-test.uvlRSvzq.js","assets/test-Dmybfidb.css","assets/pages-test-image-test.BgrXUrA7.js","assets/ai.BELn2y0e.js","assets/image-test-RV4ae0OI.css","assets/pages-test-simple-image-test.5McAG3Hd.js","assets/simple-image-test-Ahhj6fUt.css","assets/pages-test-image-display-test.CGNXyDEF.js","assets/image-display-test-C80RMvyX.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +/** +* @vue/shared v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/ +function e(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}!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 t={},n=[],o=()=>{},r=()=>!1,i=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),s=e=>e.startsWith("onUpdate:"),a=Object.assign,l=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},c=Object.prototype.hasOwnProperty,u=(e,t)=>c.call(e,t),f=Array.isArray,d=e=>"[object Map]"===_(e),p=e=>"[object Set]"===_(e),h=e=>"function"==typeof e,g=e=>"string"==typeof e,m=e=>"symbol"==typeof e,v=e=>null!==e&&"object"==typeof e,y=e=>(v(e)||h(e))&&h(e.then)&&h(e.catch),b=Object.prototype.toString,_=e=>b.call(e),w=e=>"[object Object]"===_(e),x=e=>g(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,S=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),C=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},T=/-(\w)/g,k=C((e=>e.replace(T,((e,t)=>t?t.toUpperCase():"")))),E=/\B([A-Z])/g,O=C((e=>e.replace(E,"-$1").toLowerCase())),L=C((e=>e.charAt(0).toUpperCase()+e.slice(1))),$=C((e=>e?`on${L(e)}`:"")),A=(e,t)=>!Object.is(e,t),P=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},B=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let j;const N=()=>j||(j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function I(e){if(f(e)){const t={};for(let n=0;n{if(e){const n=e.split(H);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function W(e){let t="";if(g(e))t=e;else if(f(e))for(let n=0;ng(e)?e:null==e?"":f(e)||v(e)&&(e.toString===b||!h(e.toString))?JSON.stringify(e,z,2):String(e),z=(e,t)=>t&&t.__v_isRef?z(e,t.value):d(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],o)=>(e[K(t,o)+" =>"]=n,e)),{})}:p(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>K(e)))}:m(t)?K(t):!v(t)||f(t)||w(t)?t:String(t),K=(e,t="")=>{var n;return m(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},X=["ad","ad-content-page","ad-draw","audio","button","camera","canvas","checkbox","checkbox-group","cover-image","cover-view","editor","form","functional-page-navigator","icon","image","input","label","live-player","live-pusher","map","movable-area","movable-view","navigator","official-account","open-data","picker","picker-view","picker-view-column","progress","radio","radio-group","rich-text","scroll-view","slider","swiper","swiper-item","switch","text","textarea","video","view","web-view","location-picker","location-view"].map((e=>"uni-"+e)),Y=["list-view","list-item","sticky-section","sticky-header","cloud-db-element"].map((e=>"uni-"+e)),J=["list-item"].map((e=>"uni-"+e));function G(e){if(-1!==J.indexOf(e))return!1;const t="uni-"+e.replace("v-uni-","");return-1!==X.indexOf(t)||-1!==Y.indexOf(t)}const Z=/^([a-z-]+:)?\/\//i,Q=/^data:.*,.*/;function ee(e){return 0===e.indexOf("/")}function te(e){return ee(e)?e:"/"+e}function ne(e,t=null){let n;return(...o)=>(e&&(n=e.apply(t,o),e=null),n)}let oe;function re(){return oe||(oe=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;function e(){return this}return void 0!==e()?e():new Function("return this")()}(),oe)}function ie(e){if(!e)return;let t=e.type.name;for(;t&&G(O(t));)t=(e=e.parent).type.name;return e.proxy}function se(e){return 1===e.nodeType}function ae(e){const t=re();if(t&&t.UTSJSONObject&&e instanceof t.UTSJSONObject){const n={};return t.UTSJSONObject.keys(e).forEach((t=>{n[t]=e[t]})),I(n)}if(e instanceof Map){const t={};return e.forEach(((e,n)=>{t[n]=e})),I(t)}if(g(e))return F(e);if(f(e)){const t={};for(let n=0;n{e[n]&&(t+=n+" ")}));else if(e instanceof Map)e.forEach(((e,n)=>{e&&(t+=n+" ")}));else if(f(e))for(let o=0;o{e=e||(e=>e.tagName.startsWith("UNI-"));const t=HTMLElement.prototype,n=t.setAttribute;t.setAttribute=function(t,o){if(t.startsWith("data-")&&e(this)){(this.__uniDataset||(this.__uniDataset={}))[ce(t)]=o}n.call(this,t,o)};const o=t.removeAttribute;t.removeAttribute=function(t){this.__uniDataset&&t.startsWith("data-")&&e(this)&&delete this.__uniDataset[ce(t)],o.call(this,t)}}));function fe(e){return a({},e.dataset,e.__uniDataset)}const de=new RegExp("\"[^\"]+\"|'[^']+'|url\\([^)]+\\)|(\\d*\\.?\\d+)[r|u]px","g");function pe(e){return{passive:e}}function he(e){const{id:t,offsetTop:n,offsetLeft:o}=e;return{id:t,dataset:fe(e),offsetTop:n,offsetLeft:o}}function ge(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function me(e={}){const t={};return Object.keys(e).forEach((n=>{try{t[n]=ge(e[n])}catch(o){t[n]=e[n]}})),t}const ve=/\+/g;function ye(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);r=o(i,t)};return i.cancel=function(){n(r)},i}class _e{constructor(e,t){this.id=e,this.listener={},this.emitCache=[],t&&Object.keys(t).forEach((e=>{this.on(e,t[e])}))}emit(e,...t){const n=this.listener[e];if(!n)return this.emitCache.push({eventName:e,args:t});n.forEach((e=>{e.fn.apply(e.fn,t)})),this.listener[e]=n.filter((e=>"once"!==e.type))}on(e,t){this._addListener(e,"on",t),this._clearCache(e)}once(e,t){this._addListener(e,"once",t),this._clearCache(e)}off(e,t){const n=this.listener[e];if(n)if(t)for(let o=0;ot(e))),Te=function(){};Te.prototype={_id:1,on:function(e,t,n){var o=this.e||(this.e={});return(o[e]||(o[e]=[])).push({fn:t,ctx:n,_id:this._id}),this._id++},once:function(e,t,n){var o=this;function r(){o.off(e,r),t.apply(n,arguments)}return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),o=0,r=n.length;o=0;i--)if(o[i].fn===t||o[i].fn._===t||o[i]._id===t){o.splice(i,1);break}r=o}return r.length?n[e]=r:delete n[e],this}};var ke=Te;const Ee={black:"rgba(0,0,0,0.4)",white:"rgba(255,255,255,0.4)"};function Oe(e,t,n){if(g(t)&&t.startsWith("@")){let r=e[t.replace("@","")]||t;switch(n){case"titleColor":r="black"===r?"#000000":"#ffffff";break;case"borderStyle":r=(o=r)&&o in Ee?Ee[o]:o}return r}var o;return t}function Le(e,t={},n="light"){const o=t[n],r={};return void 0!==o&&e?(Object.keys(e).forEach((i=>{const s=e[i];r[i]=w(s)?Le(s,t,n):f(s)?s.map((e=>w(e)?Le(e,t,n):Oe(o,e))):Oe(o,s,i)})),r):e} +/** +* @dcloudio/uni-h5-vue v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let $e,Ae;class Pe{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=$e,!e&&$e&&(this.index=($e.scopes||($e.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=$e;try{return $e=this,e()}finally{$e=t}}}on(){$e=this}off(){$e=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),We()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Me,t=Ae;try{return Me=!0,Ae=this,this._runnings++,je(this),this.fn()}finally{Ne(this),this._runnings--,Ae=t,Me=e}}stop(){var e;this.active&&(je(this),Ne(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function je(e){e._trackId++,e._depsLength=0}function Ne(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},Ye=new WeakMap,Je=Symbol(""),Ge=Symbol("");function Ze(e,t,n){if(Me&&Ae){let t=Ye.get(e);t||Ye.set(e,t=new Map);let o=t.get(n);o||t.set(n,o=Xe((()=>t.delete(n)))),Ue(Ae,o)}}function Qe(e,t,n,o,r,i){const s=Ye.get(e);if(!s)return;let a=[];if("clear"===t)a=[...s.values()];else if("length"===n&&f(e)){const e=Number(o);s.forEach(((t,n)=>{("length"===n||!m(n)&&n>=e)&&a.push(t)}))}else switch(void 0!==n&&a.push(s.get(n)),t){case"add":f(e)?x(n)&&a.push(s.get("length")):(a.push(s.get(Je)),d(e)&&a.push(s.get(Ge)));break;case"delete":f(e)||(a.push(s.get(Je)),d(e)&&a.push(s.get(Ge)));break;case"set":d(e)&&a.push(s.get(Je))}De();for(const l of a)l&&Ke(l,4);qe()}const et=e("__proto__,__v_isRef,__isVue"),tt=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(m)),nt=ot();function ot(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Ut(this);for(let t=0,r=this.length;t{e[t]=function(...e){Fe(),De();const n=Ut(this)[t].apply(this,e);return qe(),We(),n}})),e}function rt(e){const t=Ut(this);return Ze(t,0,e),t.hasOwnProperty(e)}class it{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?jt:Bt:r?Rt:Pt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=f(e);if(!o){if(i&&u(nt,t))return Reflect.get(nt,t,n);if("hasOwnProperty"===t)return rt}const s=Reflect.get(e,t,n);return(m(t)?tt.has(t):et(t))?s:(o||Ze(e,0,t),r?s:Zt(s)?i&&x(t)?s:s.value:v(s)?o?Ht(s):It(s):s)}}class st extends it{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];if(!this._isShallow){const t=Wt(r);if(Dt(n)||Wt(n)||(r=Ut(r),n=Ut(n)),!f(e)&&Zt(r)&&!Zt(n))return!t&&(r.value=n,!0)}const i=f(e)&&x(t)?Number(t)e,dt=e=>Reflect.getPrototypeOf(e);function pt(e,t,n=!1,o=!1){const r=Ut(e=e.__v_raw),i=Ut(t);n||(A(t,i)&&Ze(r,0,t),Ze(r,0,i));const{has:s}=dt(r),a=o?ft:n?Xt:Kt;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function ht(e,t=!1){const n=this.__v_raw,o=Ut(n),r=Ut(e);return t||(A(e,r)&&Ze(o,0,e),Ze(o,0,r)),e===r?n.has(e):n.has(e)||n.has(r)}function gt(e,t=!1){return e=e.__v_raw,!t&&Ze(Ut(e),0,Je),Reflect.get(e,"size",e)}function mt(e){e=Ut(e);const t=Ut(this);return dt(t).has.call(t,e)||(t.add(e),Qe(t,"add",e,e)),this}function vt(e,t){t=Ut(t);const n=Ut(this),{has:o,get:r}=dt(n);let i=o.call(n,e);i||(e=Ut(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?A(t,s)&&Qe(n,"set",e,t):Qe(n,"add",e,t),this}function yt(e){const t=Ut(this),{has:n,get:o}=dt(t);let r=n.call(t,e);r||(e=Ut(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&Qe(t,"delete",e,void 0),i}function bt(){const e=Ut(this),t=0!==e.size,n=e.clear();return t&&Qe(e,"clear",void 0,void 0),n}function _t(e,t){return function(n,o){const r=this,i=r.__v_raw,s=Ut(i),a=t?ft:e?Xt:Kt;return!e&&Ze(s,0,Je),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function wt(e,t,n){return function(...o){const r=this.__v_raw,i=Ut(r),s=d(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=r[e](...o),u=n?ft:t?Xt:Kt;return!t&&Ze(i,0,l?Ge:Je),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function xt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function St(){const e={get(e){return pt(this,e)},get size(){return gt(this)},has:ht,add:mt,set:vt,delete:yt,clear:bt,forEach:_t(!1,!1)},t={get(e){return pt(this,e,!1,!0)},get size(){return gt(this)},has:ht,add:mt,set:vt,delete:yt,clear:bt,forEach:_t(!1,!0)},n={get(e){return pt(this,e,!0)},get size(){return gt(this,!0)},has(e){return ht.call(this,e,!0)},add:xt("add"),set:xt("set"),delete:xt("delete"),clear:xt("clear"),forEach:_t(!0,!1)},o={get(e){return pt(this,e,!0,!0)},get size(){return gt(this,!0)},has(e){return ht.call(this,e,!0)},add:xt("add"),set:xt("set"),delete:xt("delete"),clear:xt("clear"),forEach:_t(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((r=>{e[r]=wt(r,!1,!1),n[r]=wt(r,!0,!1),t[r]=wt(r,!1,!0),o[r]=wt(r,!0,!0)})),[e,n,t,o]}const[Ct,Tt,kt,Et]=St();function Ot(e,t){const n=t?e?Et:kt:e?Tt:Ct;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(u(n,o)&&o in t?n:t,o,r)}const Lt={get:Ot(!1,!1)},$t={get:Ot(!1,!0)},At={get:Ot(!0,!1)},Pt=new WeakMap,Rt=new WeakMap,Bt=new WeakMap,jt=new WeakMap;function Nt(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=>_(e).slice(8,-1))(e))}function It(e){return Wt(e)?e:Vt(e,!1,lt,Lt,Pt)}function Mt(e){return Vt(e,!1,ut,$t,Rt)}function Ht(e){return Vt(e,!0,ct,At,Bt)}function Vt(e,t,n,o,r){if(!v(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const s=Nt(e);if(0===s)return e;const a=new Proxy(e,2===s?o:n);return r.set(e,a),a}function Ft(e){return Wt(e)?Ft(e.__v_raw):!(!e||!e.__v_isReactive)}function Wt(e){return!(!e||!e.__v_isReadonly)}function Dt(e){return!(!e||!e.__v_isShallow)}function qt(e){return Ft(e)||Wt(e)}function Ut(e){const t=e&&e.__v_raw;return t?Ut(t):e}function zt(e){return Object.isExtensible(e)&&R(e,"__v_skip",!0),e}const Kt=e=>v(e)?It(e):e,Xt=e=>v(e)?Ht(e):e;class Yt{constructor(e,t,n,o){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Be((()=>e(this._value)),(()=>Gt(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const e=Ut(this);return e._cacheable&&!e.effect.dirty||!A(e._value,e._value=e.effect.run())||Gt(e,4),Jt(e),e.effect._dirtyLevel>=2&&Gt(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Jt(e){var t;Me&&Ae&&(e=Ut(e),Ue(Ae,null!=(t=e.dep)?t:e.dep=Xe((()=>e.dep=void 0),e instanceof Yt?e:void 0)))}function Gt(e,t=4,n){const o=(e=Ut(e)).dep;o&&Ke(o,t)}function Zt(e){return!(!e||!0!==e.__v_isRef)}function Qt(e){return en(e,!1)}function en(e,t){return Zt(e)?e:new tn(e,t)}class tn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Ut(e),this._value=t?e:Kt(e)}get value(){return Jt(this),this._value}set value(e){const t=this.__v_isShallow||Dt(e)||Wt(e);e=t?e:Ut(e),A(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Kt(e),Gt(this,4))}}function nn(e){return Zt(e)?e.value:e}const on={get:(e,t,n)=>nn(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return Zt(r)&&!Zt(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function rn(e){return Ft(e)?e:new Proxy(e,on)}function sn(e,t,n,o){try{return o?e(...o):e()}catch(r){ln(r,t,n)}}function an(e,t,n,o){if(h(e)){const r=sn(e,t,n,o);return r&&y(r)&&r.catch((e=>{ln(e,t,n)})),r}const r=[];for(let i=0;i>>1,r=dn[o],i=Cn(r);iCn(e)-Cn(t)));if(hn.length=0,gn)return void gn.push(...e);for(gn=e,mn=0;mnnull==e.id?1/0:e.id,Tn=(e,t)=>{const n=Cn(e)-Cn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function kn(e){fn=!1,un=!0,dn.sort(Tn);try{for(pn=0;png(e)?e.trim():e))),n&&(i=o.map(B))}let l,c=r[l=$(n)]||r[l=$(k(n))];!c&&s&&(c=r[l=$(O(n))]),c&&an(c,e,6,On(e,c,i));const u=r[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,an(u,e,6,On(e,u,i))}}function On(e,t,n){if(1!==n.length)return n;if(h(t)){if(t.length<2)return n}else if(!t.find((e=>e.length>=2)))return n;const o=n[0];if(o&&u(o,"type")&&u(o,"timeStamp")&&u(o,"target")&&u(o,"currentTarget")&&u(o,"detail")){const t=e.proxy,o=t.$gcd(t,!0);o&&n.push(o)}return n}function Ln(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(void 0!==r)return r;const i=e.emits;let s={},l=!1;if(!h(e)){const o=e=>{const n=Ln(e,t,!0);n&&(l=!0,a(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return i||l?(f(i)?i.forEach((e=>s[e]=null)):a(s,i),v(e)&&o.set(e,s),s):(v(e)&&o.set(e,null),null)}function $n(e,t){return!(!e||!i(t))&&(t=t.slice(2).replace(/Once$/,""),u(e,t[0].toLowerCase()+t.slice(1))||u(e,O(t))||u(e,t))}let An=null,Pn=null;function Rn(e){const t=An;return An=e,Pn=e&&e.type.__scopeId||null,t}function Bn(e,t=An,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Fr(-1);const r=Rn(t);let i;try{i=e(...n)}finally{Rn(r),o._d&&Fr(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function jn(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[a],slots:l,attrs:c,emit:u,render:f,renderCache:d,data:p,setupState:h,ctx:g,inheritAttrs:m}=e;let v,y;const b=Rn(e);try{if(4&n.shapeFlag){const e=r||o,t=e;v=ti(f.call(t,e,d,i,h,p,g)),y=c}else{const e=t;0,v=ti(e.length>1?e(i,{attrs:c,slots:l,emit:u}):e(i,null)),y=t.props?c:Nn(c)}}catch(w){Ir.length=0,ln(w,e,1),v=Gr(jr)}let _=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=_;e.length&&7&t&&(a&&e.some(s)&&(y=In(y,a)),_=Zr(_,y))}return n.dirs&&(_=Zr(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,Rn(b),v}const Nn=e=>{let t;for(const n in e)("class"===n||"style"===n||i(n))&&((t||(t={}))[n]=e[n]);return t},In=(e,t)=>{const n={};for(const o in e)s(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Mn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;re.__isSuspense;const Un=Symbol.for("v-scx");function zn(e,t){return Yn(e,null,t)}const Kn={};function Xn(e,t,n){return Yn(e,t,n)}function Yn(e,n,{immediate:r,deep:i,flush:s,once:a,onTrack:c,onTrigger:u}=t){if(n&&a){const e=n;n=(...t)=>{e(...t),k()}}const d=li,p=e=>!0===i?e:Zn(e,!1===i?1:void 0);let g,m,v=!1,y=!1;if(Zt(e)?(g=()=>e.value,v=Dt(e)):Ft(e)?(g=()=>p(e),v=!0):f(e)?(y=!0,v=e.some((e=>Ft(e)||Dt(e))),g=()=>e.map((e=>Zt(e)?e.value:Ft(e)?p(e):h(e)?sn(e,d,2):void 0))):g=h(e)?n?()=>sn(e,d,2):()=>(m&&m(),an(e,d,3,[_])):o,n&&i){const e=g;g=()=>Zn(e())}let b,_=e=>{m=C.onStop=()=>{sn(e,d,4),m=C.onStop=void 0}};if(gi){if(_=o,n?r&&an(n,d,3,[g(),y?[]:void 0,_]):g(),"sync"!==s)return o;{const e=pr(Un);b=e.__watcherHandles||(e.__watcherHandles=[])}}let w=y?new Array(e.length).fill(Kn):Kn;const x=()=>{if(C.active&&C.dirty)if(n){const e=C.run();(i||v||(y?e.some(((e,t)=>A(e,w[t]))):A(e,w)))&&(m&&m(),an(n,d,3,[e,w===Kn?void 0:y&&w[0]===Kn?[]:w,_]),w=e)}else C.run()};let S;x.allowRecurse=!!n,"sync"===s?S=x:"post"===s?S=()=>Er(x,d&&d.suspense):(x.pre=!0,d&&(x.id=d.uid),S=()=>_n(x));const C=new Be(g,o,S),T=$e,k=()=>{C.stop(),T&&l(T.effects,C)};return n?r?x():w=C.run():"post"===s?Er(C.run.bind(C),d&&d.suspense):C.run(),b&&b.push(k),k}function Jn(e,t,n){const o=this.proxy,r=g(e)?e.includes(".")?Gn(o,e):()=>o[e]:e.bind(o,o);let i;h(t)?i=t:(i=t.handler,n=t);const s=di(this),a=Yn(r,i.bind(o),n);return s(),a}function Gn(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),Zt(e))Zn(e.value,t,n,o);else if(f(e))for(let r=0;r{Zn(e,t,n,o)}));else if(w(e))for(const r in e)Zn(e[r],t,n,o);return e}function Qn(e,n){if(null===An)return e;const o=yi(An)||An.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0})),No((()=>{e.isUnmounting=!0})),e}();return()=>{const r=t.default&&fo(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1)for(const e of r)if(e.type!==jr){i=e;break}const s=Ut(e),{mode:a}=s;if(o.isLeaving)return lo(i);const l=co(i);if(!l)return lo(i);const c=ao(l,s,o,n);uo(l,c);const u=n.subTree,f=u&&co(u);if(f&&f.type!==jr&&!zr(l,f)){const e=ao(f,s,o,n);if(uo(f,e),"out-in"===a)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},lo(i);"in-out"===a&&l.type!==jr&&(e.delayLeave=(e,t,n)=>{so(o,f)[String(f.key)]=f,e[to]=()=>{t(),e[to]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return i}}};function so(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 ao(e,t,n,o){const{appear:r,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),w=so(n,e),x=(e,t)=>{e&&an(e,o,9,t)},S=(e,t)=>{const n=t[1];x(e,t),f(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},C={mode:i,persisted:s,beforeEnter(t){let o=a;if(!n.isMounted){if(!r)return;o=m||a}t[to]&&t[to](!0);const i=w[_];i&&zr(e,i)&&i.el[to]&&i.el[to](),x(o,[t])},enter(e){let t=l,o=c,i=u;if(!n.isMounted){if(!r)return;t=v||l,o=y||c,i=b||u}let s=!1;const a=e[no]=t=>{s||(s=!0,x(t?i:o,[e]),C.delayedLeave&&C.delayedLeave(),e[no]=void 0)};t?S(t,[e,a]):a()},leave(t,o){const r=String(e.key);if(t[no]&&t[no](!0),n.isUnmounting)return o();x(d,[t]);let i=!1;const s=t[to]=n=>{i||(i=!0,o(),x(n?g:h,[t]),t[to]=void 0,w[r]===e&&delete w[r])};w[r]=e,p?S(p,[t,s]):s()},clone:e=>ao(e,t,n,o)};return C}function lo(e){if(vo(e))return(e=Zr(e)).children=null,e}function co(e){return vo(e)?e.children?e.children[0]:void 0:e}function uo(e,t){6&e.shapeFlag&&e.component?uo(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 fo(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;ia({name:e.name},t,{setup:e}))():e}const ho=e=>!!e.type.__asyncLoader +/*! #__NO_SIDE_EFFECTS__ */;function go(e){h(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:r=200,timeout:i,suspensible:s=!0,onError:a}=e;let l,c=null,u=0;const f=()=>{let e;return c||(e=c=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),a)return new Promise(((t,n)=>{a(e,(()=>t((u++,c=null,f()))),(()=>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 po({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return l},setup(){const e=li;if(l)return()=>mo(l,e);const t=t=>{c=null,ln(t,e,13,!o)};if(s&&e.suspense||gi)return f().then((t=>()=>mo(t,e))).catch((e=>(t(e),()=>o?Gr(o,{error:e}):null)));const a=Qt(!1),u=Qt(),d=Qt(!!r);return r&&setTimeout((()=>{d.value=!1}),r),null!=i&&setTimeout((()=>{if(!a.value&&!u.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),u.value=e}}),i),f().then((()=>{a.value=!0,e.parent&&vo(e.parent.vnode)&&(e.parent.effect.dirty=!0,_n(e.parent.update))})).catch((e=>{t(e),u.value=e})),()=>a.value&&l?mo(l,e):u.value&&o?Gr(o,{error:u.value}):n&&!d.value?Gr(n):void 0}})}function mo(e,t){const{ref:n,props:o,children:r,ce:i}=t.vnode,s=Gr(e,o,r);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const vo=e=>e.type.__isKeepAlive;class yo{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,r=t.get(e);if(r)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 r}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 bo={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=ci(),o=n.ctx;if(!o.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const r=e.cache||new yo(e.max);r.pruneCacheEntry=s;let i=null;function s(t){var o;!i||!zr(t,i)||"key"===e.matchBy&&t.key!==i.key?(ko(o=t),u(o,n,a,!0)):i&&ko(i)}const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=o,d=f("div");function p(t){r.forEach(((n,o)=>{const i=Oo(n,e.matchBy);!i||t&&t(i)||(r.delete(o),s(n))}))}o.activate=(e,t,n,o,r)=>{const i=e.component;if(i.ba){const e=i.isDeactivated;i.isDeactivated=!1,P(i.ba),i.isDeactivated=e}c(e,t,n,0,a),l(i.vnode,e,t,n,i,a,o,e.slotScopeIds,r),Er((()=>{i.isDeactivated=!1,i.a&&P(i.a);const t=e.props&&e.props.onVnodeMounted;t&&ii(t,i.parent,e)}),a)},o.deactivate=e=>{const t=e.component;t.bda&&Lo(t.bda),c(e,d,null,1,a),Er((()=>{t.bda&&t.bda.forEach((e=>e.__called=!1)),t.da&&P(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&ii(n,t.parent,e),t.isDeactivated=!0}),a)},Xn((()=>[e.include,e.exclude,e.matchBy]),(([e,t])=>{e&&p((t=>wo(e,t))),t&&p((e=>!wo(t,e)))}),{flush:"post",deep:!0});let h=null;const g=()=>{null!=h&&r.set(h,Eo(n.subTree))};return Ro(g),jo(g),No((()=>{r.forEach(((t,o)=>{r.delete(o),s(t);const{subTree:i,suspense:a}=n,l=Eo(i);if(t.type!==l.type||"key"===e.matchBy&&t.key!==l.key);else{l.component.bda&&P(l.component.bda),ko(l);const e=l.component.da;e&&Er(e,a)}}))})),()=>{if(h=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return i=null,n;if(!Ur(o)||!(4&o.shapeFlag)&&!qn(o.type))return i=null,o;let s=Eo(o);const a=s.type,l=Oo(s,e.matchBy),{include:c,exclude:u}=e;if(c&&(!l||!wo(c,l))||u&&l&&wo(u,l))return i=s,o;const f=null==s.key?a:s.key,d=r.get(f);return s.el&&(s=Zr(s),qn(o.type)&&(o.ssContent=s)),h=f,d&&(s.el=d.el,s.component=d.component,s.transition&&uo(s,s.transition),s.shapeFlag|=512),s.shapeFlag|=256,i=s,qn(o.type)?o:s}}},_o=bo;function wo(e,t){return f(e)?e.some((e=>wo(e,t))):g(e)?e.split(",").includes(t):"[object RegExp]"===_(e)&&e.test(t)}function xo(e,t){Co(e,"a",t)}function So(e,t){Co(e,"da",t)}function Co(e,t,n=li){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(o.__called=!1,$o(t,o,n),n){let e=n.parent;for(;e&&e.parent;)vo(e.parent.vnode)&&To(o,t,n,e),e=e.parent}}function To(e,t,n,o){const r=$o(t,e,o,!0);Io((()=>{l(o[t],r)}),n)}function ko(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Eo(e){return qn(e.type)?e.ssContent:e}function Oo(e,t){if("name"===t){const t=e.type;return bi(ho(e)?t.__asyncResolved||{}:t)}return String(e.key)}function Lo(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;an(t.bind(o),n,e,"onLoad"===e?[o.$page.options]:[])}}const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Fe();const r=di(n),i=an(t,n,e,o);return r(),We(),i});return o?i.unshift(s):i.push(s),s}var r}const Ao=e=>(t,n=li)=>(!gi||"sp"===e)&&$o(e,((...e)=>t(...e)),n),Po=Ao("bm"),Ro=Ao("m"),Bo=Ao("bu"),jo=Ao("u"),No=Ao("bum"),Io=Ao("um"),Mo=Ao("sp"),Ho=Ao("rtg"),Vo=Ao("rtc");function Fo(e,t=li){$o("ec",e,t)}function Wo(e,t,n,o){let r;const i=n&&n[o];if(f(e)||g(e)){r=new Array(e.length);for(let n=0,o=e.length;nt(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);r=new Array(n.length);for(let o=0,s=n.length;o!Ur(e)||e.type!==jr&&!(e.type===Rr&&!qo(e.children))))?e:null}const Uo=e=>{if(!e)return null;if(hi(e)){return yi(e)||e.proxy}return Uo(e.parent)},zo=a(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=>Uo(e.parent),$root:e=>Uo(e.root),$emit:e=>e.emit,$options:e=>er(e),$forceUpdate:e=>e.f||(e.f=(e=>function(){e.effect.dirty=!0,_n(e.update)})(e)),$nextTick:e=>e.n||(e.n=bn.bind(e.proxy)),$watch:e=>Jn.bind(e)}),Ko=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),Xo={get({_:e},n){const{ctx:o,setupState:r,data:i,props:s,accessCache:a,type:l,appContext:c}=e;let f;if("$"!==n[0]){const l=a[n];if(void 0!==l)switch(l){case 1:return r[n];case 2:return i[n];case 4:return o[n];case 3:return s[n]}else{if(Ko(r,n))return a[n]=1,r[n];if(i!==t&&u(i,n))return a[n]=2,i[n];if((f=e.propsOptions[0])&&u(f,n))return a[n]=3,s[n];if(o!==t&&u(o,n))return a[n]=4,o[n];Jo&&(a[n]=0)}}const d=zo[n];let p,h;return d?("$attrs"===n&&Ze(e,0,n),d(e)):(p=l.__cssModules)&&(p=p[n])?p:o!==t&&u(o,n)?(a[n]=4,o[n]):(h=c.config.globalProperties,u(h,n)?h[n]:void 0)},set({_:e},n,o){const{data:r,setupState:i,ctx:s}=e;return Ko(i,n)?(i[n]=o,!0):r!==t&&u(r,n)?(r[n]=o,!0):!u(e.props,n)&&(("$"!==n[0]||!(n.slice(1)in e))&&(s[n]=o,!0))},has({_:{data:e,setupState:n,accessCache:o,ctx:r,appContext:i,propsOptions:s}},a){let l;return!!o[a]||e!==t&&u(e,a)||Ko(n,a)||(l=s[0])&&u(l,a)||u(r,a)||u(zo,a)||u(i.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:u(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Yo(e){return f(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let Jo=!0;function Go(e){const t=er(e),n=e.proxy,r=e.ctx;Jo=!1,t.beforeCreate&&Zo(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:a,watch:l,provide:c,inject:u,created:d,beforeMount:p,mounted:g,beforeUpdate:m,updated:y,activated:b,deactivated:_,beforeDestroy:w,beforeUnmount:x,destroyed:S,unmounted:C,render:T,renderTracked:k,renderTriggered:E,errorCaptured:O,serverPrefetch:L,expose:$,inheritAttrs:A,components:P,directives:R,filters:B}=t;if(u&&function(e,t,n=o){f(e)&&(e=rr(e));for(const o in e){const n=e[o];let r;r=v(n)?"default"in n?pr(n.from||o,n.default,!0):pr(n.from||o):pr(n),Zt(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[o]=r}}(u,r,null),a)for(const o in a){const e=a[o];h(e)&&(r[o]=e.bind(n))}if(i){const t=i.call(n,n);v(t)&&(e.data=It(t))}if(Jo=!0,s)for(const f in s){const e=s[f],t=h(e)?e.bind(n,n):h(e.get)?e.get.bind(n,n):o,i=!h(e)&&h(e.set)?e.set.bind(n):o,a=_i({get:t,set:i});Object.defineProperty(r,f,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(l)for(const o in l)Qo(l[o],r,n,o);if(c){const e=h(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{dr(t,e[t])}))}function j(e,t){f(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&Zo(d,e,"c"),j(Po,p),j(Ro,g),j(Bo,m),j(jo,y),j(xo,b),j(So,_),j(Fo,O),j(Vo,k),j(Ho,E),j(No,x),j(Io,C),j(Mo,L),f($))if($.length){const t=e.exposed||(e.exposed={});$.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});T&&e.render===o&&(e.render=T),null!=A&&(e.inheritAttrs=A),P&&(e.components=P),R&&(e.directives=R);const N=e.appContext.config.globalProperties.$applyOptions;N&&N(t,e,n)}function Zo(e,t,n){an(f(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Qo(e,t,n,o){const r=o.includes(".")?Gn(n,o):()=>n[o];if(g(e)){const n=t[e];h(n)&&Xn(r,n)}else if(h(e))Xn(r,e.bind(n));else if(v(e))if(f(e))e.forEach((e=>Qo(e,t,n,o)));else{const o=h(e.handler)?e.handler.bind(n):t[e.handler];h(o)&&Xn(r,o,e)}}function er(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:r.length||n||o?(l={},r.length&&r.forEach((e=>tr(l,e,s,!0))),tr(l,t,s)):l=t,v(t)&&i.set(t,l),l}function tr(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&tr(e,i,n,!0),r&&r.forEach((t=>tr(e,t,n,!0)));for(const s in t)if(o&&"expose"===s);else{const o=nr[s]||n&&n[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const nr={data:or,props:ar,emits:ar,methods:sr,computed:sr,beforeCreate:ir,created:ir,beforeMount:ir,mounted:ir,beforeUpdate:ir,updated:ir,beforeDestroy:ir,beforeUnmount:ir,destroyed:ir,unmounted:ir,activated:ir,deactivated:ir,errorCaptured:ir,serverPrefetch:ir,components:sr,directives:sr,watch:function(e,t){if(!e)return t;if(!t)return e;const n=a(Object.create(null),e);for(const o in t)n[o]=ir(e[o],t[o]);return n},provide:or,inject:function(e,t){return sr(rr(e),rr(t))}};function or(e,t){return t?e?function(){return a(h(e)?e.call(this,this):e,h(t)?t.call(this,this):t)}:t:e}function rr(e){if(f(e)){const t={};for(let n=0;n(i.has(e)||(e&&h(e.install)?(i.add(e),e.install(l,...t)):h(e)&&(i.add(e),e(l,...t))),l),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),l),component:(e,t)=>t?(r.components[e]=t,l):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,l):r.directives[e],mount(i,a,c){if(!s){const u=Gr(n,o);return u.appContext=r,!0===c?c="svg":!1===c&&(c=void 0),a&&t?t(u,i):e(u,i,c),s=!0,l._container=i,i.__vue_app__=l,l._instance=u.component,yi(u.component)||u.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,l),runWithContext(e){const t=fr;fr=l;try{return e()}finally{fr=t}}};return l}}let fr=null;function dr(e,t){if(li){let n=li.provides;const o=li.parent&&li.parent.provides;o===n&&(n=li.provides=Object.create(o)),n[e]=t,"app"===li.type.mpType&&li.appContext.app.provide(e,t)}else;}function pr(e,t,n=!1){const o=li||An;if(o||fr){const r=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:fr._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&h(t)?t.call(o&&o.proxy):t}}function hr(e,n,o,r){const[i,s]=e.propsOptions;let a,l=!1;if(n)for(let t in n){if(S(t))continue;const c=n[t];let f;i&&u(i,f=k(t))?s&&s.includes(f)?(a||(a={}))[f]=c:o[f]=c:$n(e.emitsOptions,t)||t in r&&c===r[t]||(r[t]=c,l=!0)}if(s){const n=Ut(o),r=a||t;for(let t=0;t{p=!0;const[t,n]=mr(e,o,!0);a(c,t),n&&d.push(...n)};!r&&o.mixins.length&&o.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!l&&!p)return v(e)&&i.set(e,n),n;if(f(l))for(let n=0;n-1,o[1]=n<0||t-1||u(o,"default"))&&d.push(e)}}}const g=[c,d];return v(e)&&i.set(e,g),g}function vr(e){return"$"!==e[0]&&!S(e)}function yr(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 br(e,t){return yr(e)===yr(t)}function _r(e,t){return f(t)?t.findIndex((t=>br(t,e))):h(t)&&br(t,e)?0:-1}const wr=e=>"_"===e[0]||"$stable"===e,xr=e=>f(e)?e.map(ti):[ti(e)],Sr=(e,t,n)=>{if(t._n)return t;const o=Bn(((...e)=>xr(t(...e))),n);return o._c=!1,o},Cr=(e,t,n)=>{const o=e._ctx;for(const r in e){if(wr(r))continue;const n=e[r];if(h(n))t[r]=Sr(0,n,o);else if(null!=n){const e=xr(n);t[r]=()=>e}}},Tr=(e,t)=>{const n=xr(t);e.slots.default=()=>n};function kr(e,n,o,r,i=!1){if(f(e))return void e.forEach(((e,t)=>kr(e,n&&(f(n)?n[t]:n),o,r,i)));if(ho(r)&&!i)return;const s=4&r.shapeFlag?yi(r.component)||r.component.proxy:r.el,a=i?null:s,{i:c,r:d}=e,p=n&&n.r,m=c.refs===t?c.refs={}:c.refs,v=c.setupState;if(null!=p&&p!==d&&(g(p)?(m[p]=null,u(v,p)&&(v[p]=null)):Zt(p)&&(p.value=null)),h(d))sn(d,c,12,[a,m]);else{const t=g(d),n=Zt(d);if(t||n){const r=()=>{if(e.f){const n=t?u(v,d)?v[d]:m[d]:d.value;i?f(n)&&l(n,s):f(n)?n.includes(s)||n.push(s):t?(m[d]=[s],u(v,d)&&(v[d]=m[d])):(d.value=[s],e.k&&(m[e.k]=d.value))}else t?(m[d]=a,u(v,d)&&(v[d]=a)):n&&(d.value=a,e.k&&(m[e.k]=a))};a?(r.id=-1,Er(r,o)):r()}}}const Er=function(e,t){var n;t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):(f(n=e)?hn.push(...n):gn&&gn.includes(n,n.allowRecurse?mn+1:mn)||hn.push(n),wn())};function Or(e){return function(e,r){N().__VUE__=!0;const{insert:i,remove:s,patchProp:l,forcePatchProp:c,createElement:f,createText:d,createComment:p,setText:h,setElementText:g,parentNode:m,nextSibling:v,setScopeId:b=o,insertStaticContent:_}=e,w=(e,t,n,o=null,r=null,i=null,s,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!zr(e,t)&&(o=te(e),J(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:f}=t;switch(c){case Br:x(e,t,n,o);break;case jr:C(e,t,n,o);break;case Nr:null==e&&T(t,n,o,s);break;case Rr:V(e,t,n,o,r,i,s,a,l);break;default:1&f?$(e,t,n,o,r,i,s,a,l):6&f?F(e,t,n,o,r,i,s,a,l):(64&f||128&f)&&c.process(e,t,n,o,r,i,s,a,l,re)}null!=u&&r&&kr(u,e&&e.ref,i,t||e,!t)},x=(e,t,n,o)=>{if(null==e)i(t.el=d(t.children),n,o);else{const n=t.el=e.el;t.children!==e.children&&h(n,t.children)}},C=(e,t,n,o)=>{null==e?i(t.el=p(t.children||""),n,o):t.el=e.el},T=(e,t,n,o)=>{[e.el,e.anchor]=_(e.children,t,n,o,e.el,e.anchor)},E=({el:e,anchor:t},n,o)=>{let r;for(;e&&e!==t;)r=v(e),i(e,n,o),e=r;i(t,n,o)},L=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=v(e),s(e),e=n;s(t)},$=(e,t,n,o,r,i,s,a,l)=>{"svg"===t.type?s="svg":"math"===t.type&&(s="mathml"),null==e?A(t,n,o,r,i,s,a,l):I(e,t,r,i,s,a,l)},A=(e,t,n,o,r,s,a,c)=>{let u,d;const{props:p,shapeFlag:h,transition:m,dirs:v}=e;if(u=e.el=f(e.type,s,p&&p.is,p),8&h?g(u,e.children):16&h&&j(e.children,u,null,o,r,Lr(e,s),a,c),v&&eo(e,null,o,"created"),B(u,e,e.scopeId,a,o),p){for(const t in p)"value"===t||S(t)||l(u,t,null,p[t],s,e.children,o,r,ee);"value"in p&&l(u,"value",null,p.value,s),(d=p.onVnodeBeforeMount)&&ii(d,o,e)}Object.defineProperty(u,"__vueParentComponent",{value:o,enumerable:!1}),v&&eo(e,null,o,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(r,m);y&&m.beforeEnter(u),i(u,t,n),((d=p&&p.onVnodeMounted)||y||v)&&Er((()=>{d&&ii(d,o,e),y&&m.enter(u),v&&eo(e,null,o,"mounted")}),r)},B=(e,t,n,o,r)=>{if(n&&b(e,n),o)for(let i=0;i{for(let c=l;c{const u=n.el=e.el;let{patchFlag:f,dynamicChildren:d,dirs:p}=n;f|=16&e.patchFlag;const h=e.props||t,m=n.props||t;let v;if(o&&$r(o,!1),(v=m.onVnodeBeforeUpdate)&&ii(v,o,n,e),p&&eo(n,e,o,"beforeUpdate"),o&&$r(o,!0),d?M(e.dynamicChildren,d,u,o,r,Lr(n,i),s):a||z(e,n,u,null,o,r,Lr(n,i),s,!1),f>0){if(16&f)H(u,n,h,m,o,r,i);else if(2&f&&h.class!==m.class&&l(u,"class",null,m.class,i),4&f&&l(u,"style",h.style,m.style,i),8&f){const t=n.dynamicProps;for(let n=0;n{v&&ii(v,o,n,e),p&&eo(n,e,o,"updated")}),r)},M=(e,t,n,o,r,i,s)=>{for(let a=0;a{if(o!==r){if(o!==t)for(const t in o)S(t)||t in r||l(e,t,o[t],null,a,n.children,i,s,ee);for(const t in r){if(S(t))continue;const u=r[t],f=o[t];(u!==f&&"value"!==t||c&&c(e,t))&&l(e,t,f,u,a,n.children,i,s,ee)}"value"in r&&l(e,"value",o.value,r.value,a)}},V=(e,t,n,o,r,s,a,l,c)=>{const u=t.el=e?e.el:d(""),f=t.anchor=e?e.anchor:d("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:g}=t;g&&(l=l?l.concat(g):g),null==e?(i(u,n,o),i(f,n,o),j(t.children||[],n,f,r,s,a,l,c)):p>0&&64&p&&h&&e.dynamicChildren?(M(e.dynamicChildren,h,n,r,s,a,l),(null!=t.key||r&&t===r.subTree)&&Ar(e,t,!0)):z(e,t,n,f,r,s,a,l,c)},F=(e,t,n,o,r,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,l):W(t,n,o,r,i,s,l):D(e,t,l)},W=(e,n,o,r,i,s,a)=>{const l=e.component=function(e,n,o){const r=e.type,i=(n?n.appContext:e.appContext)||si,s={uid:ai++,vnode:e,type:r,parent:n,appContext:i,get renderer(){return"app"===r.mpType?"app":this.$pageInstance&&this.$pageInstance==s?"page":"component"},root:null,next:null,subTree:null,effect:null,update:null,scope:new Pe(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:mr(r,i),emitsOptions:Ln(r,i),emit:null,emitted:null,propsDefaults:t,inheritAttrs:r.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:o,suspenseId:o?o.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,bda:null,da:null,ba:null,a:null,rtg:null,rtc:null,ec:null,sp:null};s.ctx={_:s},s.root=n?n.root:s,s.emit=En.bind(null,s),s.$pageInstance=n&&n.$pageInstance,e.ce&&e.ce(s);return s}(e,r,i);if(vo(e)&&(l.ctx.renderer=re),function(e,t=!1){t&&fi(t);const{props:n,children:o}=e.vnode,r=hi(e);(function(e,t,n,o=!1){const r={},i={};R(i,Kr,1),e.propsDefaults=Object.create(null),hr(e,t,r,i);for(const s in e.propsOptions[0])s in r||(r[s]=void 0);n?e.props=o?r:Mt(r):e.type.props?e.props=r:e.props=i,e.attrs=i})(e,n,r,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Ut(t),R(t,"_",n)):Cr(t,e.slots={})}else e.slots={},t&&Tr(e,t);R(e.slots,Kr,1)})(e,o);const i=r?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=zt(new Proxy(e.ctx,Xo));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)=>(Ze(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}(e):null,r=di(e);Fe();const i=sn(o,e,0,[e.props,n]);if(We(),r(),y(i)){if(i.then(pi,pi),t)return i.then((n=>{mi(e,n,t)})).catch((t=>{ln(t,e,0)}));e.asyncDep=i}else mi(e,i,t)}else vi(e,t)}(e,t):void 0;t&&fi(!1)}(l),l.asyncDep){if(i&&i.registerDep(l,q),!e.el){const e=l.subTree=Gr(jr);C(null,e,n,o)}}else q(l,e,n,o,i,s,a)},D=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||Mn(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?Mn(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;tpn&&dn.splice(t,1)}(o.update),o.effect.dirty=!0,o.update()}else t.el=e.el,o.vnode=t},q=(e,t,n,r,i,s,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:o,parent:r,vnode:c}=e;{const n=Pr(e);if(n)return t&&(t.el=c.el,U(e,t,a)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let u,f=t;$r(e,!1),t?(t.el=c.el,U(e,t,a)):t=c,n&&P(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&ii(u,r,t,c),$r(e,!0);const d=jn(e),p=e.subTree;e.subTree=d,w(p,d,m(p.el),te(p),e,i,s),t.el=d.el,null===f&&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,d.el),o&&Er(o,i),(u=t.props&&t.props.onVnodeUpdated)&&Er((()=>ii(u,r,t,c)),i)}else{let o;const{el:a,props:l}=t,{bm:c,m:u,parent:f}=e,d=ho(t);if($r(e,!1),c&&P(c),!d&&(o=l&&l.onVnodeBeforeMount)&&ii(o,f,t),$r(e,!0),a&&se){const n=()=>{e.subTree=jn(e),se(a,e.subTree,e,i,null)};d?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const o=e.subTree=jn(e);w(null,o,n,r,e,i,s),t.el=o.el}if(u&&Er(u,i),!d&&(o=l&&l.onVnodeMounted)){const e=t;Er((()=>ii(o,f,e)),i)}(256&t.shapeFlag||f&&ho(f.vnode)&&256&f.vnode.shapeFlag)&&(e.ba&&Lo(e.ba),e.a&&Er(e.a,i)),e.isMounted=!0,t=n=r=null}},c=e.effect=new Be(l,o,(()=>_n(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,$r(e,!0),u()},U=(e,n,o)=>{n.component=e;const r=e.vnode.props;e.vnode=n,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=Ut(r),[l]=e.propsOptions;let c=!1;if(!(o||s>0)||16&s){let o;hr(e,t,r,i)&&(c=!0);for(const i in a)t&&(u(t,i)||(o=O(i))!==i&&u(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=gr(l,a,i,void 0,e,!0)):delete r[i]);if(i!==a)for(const e in i)t&&u(t,e)||(delete i[e],c=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o{const{vnode:r,slots:i}=e;let s=!0,l=t;if(32&r.shapeFlag){const e=n._;e?o&&1===e?s=!1:(a(i,n),o||1!==e||delete i._):(s=!n.$stable,Cr(n,i)),l=n}else n&&(Tr(e,n),l={default:1});if(s)for(const t in i)wr(t)||null!=l[t]||delete i[t]})(e,n.children,o),Fe(),xn(e),We()},z=(e,t,n,o,r,i,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,f=t.children,{patchFlag:d,shapeFlag:p}=t;if(d>0){if(128&d)return void X(c,f,n,o,r,i,s,a,l);if(256&d)return void K(c,f,n,o,r,i,s,a,l)}8&p?(16&u&&ee(c,r,i),f!==c&&g(n,f)):16&u?16&p?X(c,f,n,o,r,i,s,a,l):ee(c,r,i,!0):(8&u&&g(n,""),16&p&&j(f,n,o,r,i,s,a,l))},K=(e,t,o,r,i,s,a,l,c)=>{t=t||n;const u=(e=e||n).length,f=t.length,d=Math.min(u,f);let p;for(p=0;pf?ee(e,i,s,!0,!1,d):j(t,o,r,i,s,a,l,c,d)},X=(e,t,o,r,i,s,a,l,c)=>{let u=0;const f=t.length;let d=e.length-1,p=f-1;for(;u<=d&&u<=p;){const n=e[u],r=t[u]=c?ni(t[u]):ti(t[u]);if(!zr(n,r))break;w(n,r,o,null,i,s,a,l,c),u++}for(;u<=d&&u<=p;){const n=e[d],r=t[p]=c?ni(t[p]):ti(t[p]);if(!zr(n,r))break;w(n,r,o,null,i,s,a,l,c),d--,p--}if(u>d){if(u<=p){const e=p+1,n=ep)for(;u<=d;)J(e[u],i,s,!0),u++;else{const h=u,g=u,m=new Map;for(u=g;u<=p;u++){const e=t[u]=c?ni(t[u]):ti(t[u]);null!=e.key&&m.set(e.key,u)}let v,y=0;const b=p-g+1;let _=!1,x=0;const S=new Array(b);for(u=0;u=b){J(n,i,s,!0);continue}let r;if(null!=n.key)r=m.get(n.key);else for(v=g;v<=p;v++)if(0===S[v-g]&&zr(n,t[v])){r=v;break}void 0===r?J(n,i,s,!0):(S[r-g]=u+1,r>=x?x=r:_=!0,w(n,t[r],o,null,i,s,a,l,c),y++)}const C=_?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o>1,e[n[a]]0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(S):n;for(v=C.length-1,u=b-1;u>=0;u--){const e=g+u,n=t[e],d=e+1{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void Y(e.component.subTree,t,n,o);if(128&u)return void e.suspense.move(t,n,o);if(64&u)return void a.move(e,t,n,re);if(a===Rr){i(s,t,n);for(let e=0;el.enter(s)),r);else{const{leave:e,delayLeave:o,afterLeave:r}=l,a=()=>i(s,t,n),c=()=>{e(s,(()=>{a(),r&&r()}))};o?o(s,a,c):c()}else i(s,t,n)},J=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:f,dirs:d}=e;if(null!=a&&kr(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const p=1&u&&d,h=!ho(e);let g;if(h&&(g=s&&s.onVnodeBeforeUnmount)&&ii(g,t,e),6&u)Q(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&eo(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,re,o):c&&(i!==Rr||f>0&&64&f)?ee(c,t,n,!1,!0):(i===Rr&&384&f||!r&&16&u)&&ee(l,t,n),o&&G(e)}(h&&(g=s&&s.onVnodeUnmounted)||p)&&Er((()=>{g&&ii(g,t,e),p&&eo(e,null,t,"unmounted")}),n)},G=e=>{const{type:t,el:n,anchor:o,transition:r}=e;if(t===Rr)return void Z(n,o);if(t===Nr)return void L(e);const i=()=>{s(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:o}=r,s=()=>t(n,i);o?o(e.el,i,s):s()}else i()},Z=(e,t)=>{let n;for(;e!==t;)n=v(e),s(e),e=n;s(t)},Q=(e,t,n)=>{const{bum:o,scope:r,update:i,subTree:s,um:a}=e;o&&P(o),r.stop(),i&&(i.active=!1,J(s,e,t,n)),a&&Er(a,t),Er((()=>{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,r=!1,i=0)=>{for(let s=i;s6&e.shapeFlag?te(e.component.subTree):128&e.shapeFlag?e.suspense.next():v(e.anchor||e.el);let ne=!1;const oe=(e,t,n)=>{null==e?t._vnode&&J(t._vnode,null,null,!0):w(t._vnode||null,e,t,null,null,null,n),ne||(ne=!0,xn(),Sn(),ne=!1),t._vnode=e},re={p:w,um:J,m:Y,r:G,mt:W,mc:j,pc:z,pbc:M,n:te,o:e};let ie,se;r&&([ie,se]=r(re));return{render:oe,hydrate:ie,createApp:ur(oe,ie)}}(e)}function Lr({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 $r({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ar(e,t,n=!1){const o=e.children,r=t.children;if(f(o)&&f(r))for(let i=0;i0?Mr||n:null,Ir.pop(),Mr=Ir[Ir.length-1]||null,Vr>0&&Mr&&Mr.push(e),e}function Dr(e,t,n,o,r,i){return Wr(Jr(e,t,n,o,r,i,!0))}function qr(e,t,n,o,r){return Wr(Gr(e,t,n,o,r,!0))}function Ur(e){return!!e&&!0===e.__v_isVNode}function zr(e,t){return e.type===t.type&&e.key===t.key}const Kr="__vInternal",Xr=({key:e})=>null!=e?e:null,Yr=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?g(e)||Zt(e)||h(e)?{i:An,r:e,k:t,f:!!n}:e:null);function Jr(e,t=null,n=null,o=0,r=null,i=(e===Rr?0:1),s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Xr(t),ref:t&&Yr(t),scopeId:Pn,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:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:An};return a?(oi(l,n),128&i&&e.normalize(l)):n&&(l.shapeFlag|=g(n)?8:16),Vr>0&&!s&&Mr&&(l.patchFlag>0||6&i)&&32!==l.patchFlag&&Mr.push(l),l}const Gr=function(e,t=null,n=null,o=0,r=null,i=!1){e&&e!==Vn||(e=jr);if(Ur(e)){const o=Zr(e,t,!0);return n&&oi(o,n),Vr>0&&!i&&Mr&&(6&o.shapeFlag?Mr[Mr.indexOf(e)]=o:Mr.push(o)),o.patchFlag|=-2,o}s=e,h(s)&&"__vccOpts"in s&&(e=e.__vccOpts);var s;if(t){t=function(e){return e?qt(e)||Kr in e?a({},e):e:null}(t);let{class:e,style:n}=t;e&&!g(e)&&(t.class=le(e)),v(n)&&(qt(n)&&!f(n)&&(n=a({},n)),t.style=ae(n))}const l=g(e)?1:qn(e)?128:(e=>e.__isTeleport)(e)?64:v(e)?4:h(e)?2:0;return Jr(e,t,n,o,r,l,i,!0)};function Zr(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:s}=e,a=t?ri(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Xr(a),ref:t&&t.ref?n&&r?f(r)?r.concat(Yr(t)):[r,Yr(t)]:Yr(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Rr?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Zr(e.ssContent),ssFallback:e.ssFallback&&Zr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Qr(e=" ",t=0){return Gr(Br,null,e,t)}function ei(e="",t=!1){return t?(Hr(),qr(jr,null,e)):Gr(jr,null,e)}function ti(e){return null==e||"boolean"==typeof e?Gr(jr):f(e)?Gr(Rr,null,e.slice()):"object"==typeof e?ni(e):Gr(Br,null,String(e))}function ni(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Zr(e)}function oi(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(f(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),oi(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Kr in t?3===o&&An&&(1===An.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=An}}else h(t)?(t={default:t,_ctx:An},n=32):(t=String(t),64&o?(n=16,t=[Qr(t)]):n=8);e.children=t,e.shapeFlag|=n}function ri(...e){const t={};for(let n=0;nli||An;let ui,fi;{const e=N(),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)}};ui=t("__VUE_INSTANCE_SETTERS__",(e=>li=e)),fi=t("__VUE_SSR_SETTERS__",(e=>gi=e))}const di=e=>{const t=li;return ui(e),e.scope.on(),()=>{e.scope.off(),ui(t)}},pi=()=>{li&&li.scope.off(),ui(null)};function hi(e){return 4&e.vnode.shapeFlag}let gi=!1;function mi(e,t,n){h(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:v(t)&&(e.setupState=rn(t)),vi(e,n)}function vi(e,t,n){const r=e.type;e.render||(e.render=r.render||o);{const t=di(e);Fe();try{Go(e)}finally{We(),t()}}}function yi(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(rn(zt(e.exposed)),{get:(t,n)=>n in t?t[n]:n in zo?zo[n](e):void 0,has:(e,t)=>t in e||t in zo}))}function bi(e,t=!0){return h(e)?e.displayName||e.name:e.name||t&&e.__name}const _i=(e,t)=>{const n=function(e,t,n=!1){let r,i;const s=h(e);return s?(r=e,i=o):(r=e.get,i=e.set),new Yt(r,i,s||!i,n)}(e,0,gi);return n};function wi(e,t,n){const o=arguments.length;return 2===o?v(t)&&!f(t)?Ur(t)?Gr(e,null,[t]):Gr(e,t):Gr(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Ur(n)&&(n=[n]),Gr(e,t,n))}const xi="3.4.21",Si="undefined"!=typeof document?document:null,Ci=Si&&Si.createElement("template"),Ti={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 r="svg"===t?Si.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Si.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Si.createElement(e,{is:n}):Si.createElement(e);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Si.createTextNode(e),createComment:e=>Si.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Si.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const s=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==i&&(r=r.nextSibling););else{Ci.innerHTML="svg"===o?`${e}`:"mathml"===o?`${e}`:e;const r=Ci.content;if("svg"===o||"mathml"===o){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ki="transition",Ei=Symbol("_vtc"),Oi=(e,{slots:t})=>wi(io,function(e){const t={};for(const a in e)a in Li||(t[a]=e[a]);if(!1===e.css)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=s,appearToClass:f=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=function(e){if(null==e)return null;if(v(e))return[Pi(e.enter),Pi(e.leave)];{const t=Pi(e);return[t,t]}}(r),m=g&&g[0],y=g&&g[1],{onBeforeEnter:b,onEnter:_,onEnterCancelled:w,onLeave:x,onLeaveCancelled:S,onBeforeAppear:C=b,onAppear:T=_,onAppearCancelled:k=w}=t,E=(e,t,n)=>{Bi(e,t?f:l),Bi(e,t?u:s),n&&n()},O=(e,t)=>{e._isLeaving=!1,Bi(e,d),Bi(e,h),Bi(e,p),t&&t()},L=e=>(t,n)=>{const r=e?T:_,s=()=>E(t,e,n);$i(r,[t,s]),ji((()=>{Bi(t,e?c:i),Ri(t,e?f:l),Ai(r)||Ii(t,o,m,s)}))};return a(t,{onBeforeEnter(e){$i(b,[e]),Ri(e,i),Ri(e,s)},onBeforeAppear(e){$i(C,[e]),Ri(e,c),Ri(e,u)},onEnter:L(!1),onAppear:L(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>O(e,t);Ri(e,d),document.body.offsetHeight,Ri(e,p),ji((()=>{e._isLeaving&&(Bi(e,d),Ri(e,h),Ai(x)||Ii(e,o,y,n))})),$i(x,[e,n])},onEnterCancelled(e){E(e,!1),$i(w,[e])},onAppearCancelled(e){E(e,!0),$i(k,[e])},onLeaveCancelled(e){O(e),$i(S,[e])}})}(e),t);Oi.displayName="Transition";const Li={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};Oi.props=a({},ro,Li);const $i=(e,t=[])=>{f(e)?e.forEach((e=>e(...t))):e&&e(...t)},Ai=e=>!!e&&(f(e)?e.some((e=>e.length>1)):e.length>1);function Pi(e){const t=(e=>{const t=g(e)?Number(e):NaN;return isNaN(t)?e:t})(e);return t}function Ri(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Ei]||(e[Ei]=new Set)).add(t)}function Bi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Ei];n&&(n.delete(t),n.size||(e[Ei]=void 0))}function ji(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Ni=0;function Ii(e,t,n,o){const r=e._endId=++Ni,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=function(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),i=o("transitionDuration"),s=Mi(r,i),a=o("animationDelay"),l=o("animationDuration"),c=Mi(a,l);let u=null,f=0,d=0;t===ki?s>0&&(u=ki,f=s,d=i.length):"animation"===t?c>0&&(u="animation",f=c,d=l.length):(f=Math.max(s,c),u=f>0?s>c?ki:"animation":null,d=u?u===ki?i.length:l.length:0);const p=u===ki&&/\b(transform|all)(,|$)/.test(o("transitionProperty").toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}(e,t);if(!s)return o();const c=s+"end";let u=0;const f=()=>{e.removeEventListener(c,d),i()},d=t=>{t.target===e&&++u>=l&&f()};setTimeout((()=>{uHi(t)+Hi(e[n]))))}function Hi(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Vi=Symbol("_vod"),Fi=Symbol("_vsh"),Wi={beforeMount(e,{value:t},{transition:n}){e[Vi]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Di(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),Di(e,!0),o.enter(e)):o.leave(e,(()=>{Di(e,!1)})):Di(e,t))},beforeUnmount(e,{value:t}){Di(e,t)}};function Di(e,t){e.style.display=t?e[Vi]:"none",e[Fi]=!t}const qi=Symbol(""),Ui=/(^|;)\s*display\s*:/;const zi=/\s*!important$/;function Ki(e,t,n){if(f(n))n.forEach((n=>Ki(e,t,n)));else if(null==n&&(n=""),n=os(n),t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Yi[t];if(n)return n;let o=k(t);if("filter"!==o&&o in e)return Yi[t]=o;o=L(o);for(let r=0;re.replace(de,((e,t)=>{if(!t)return e;if(1===ts)return`${t}${es}`;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)*ts,ns);return 0===n?"0":`${n}${es}`})));var es,ts,ns;const os=e=>g(e)?Qi(e):e,rs="http://www.w3.org/1999/xlink";const is=Symbol("_vei");function ss(e,t,n,o,r=null){const i=e[is]||(e[is]={}),s=i[t];if(o&&s)s.value=o;else{const[n,a]=function(e){let t;if(as.test(e)){let n;for(t={};n=e.match(as);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):O(e.slice(2)),t]}(t);if(o){const s=i[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,r=o&&o.$nne,{value:i}=n;if(r&&f(i)){const n=us(e,i);for(let o=0;ols||(cs.then((()=>ls=0)),ls=Date.now()))(),n}(o,r);!function(e,t,n,o){e.addEventListener(t,n,o)}(e,n,s,a)}else s&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,a),i[t]=void 0)}}const as=/(?:Once|Passive|Capture)$/;let ls=0;const cs=Promise.resolve();function us(e,t){if(f(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>{const t=t=>!t._stopped&&e&&e(t);return t.__wwe=e.__wwe,t}))}return t}const fs=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const ds=["ctrl","shift","alt","meta"],ps={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)=>ds.some((n=>e[`${n}Key`]&&!t.includes(n)))},hs=(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=O(n.key);return t.some((e=>e===o||gs[e]===o))?e(n):void 0})},vs=a({patchProp:(e,t,n,o,r,a,l,c,u)=>{if(0===t.indexOf("change:"))return function(e,t,n,o=null){if(!n||!o)return;const r=t.replace("change:",""),{attrs:i}=o,s=i[r],a=(e.__wxsProps||(e.__wxsProps={}))[r];if(a===s)return;e.__wxsProps[r]=s;const l=o.proxy;bn((()=>{n(s,a,l.$gcd(l,!0),l.$gcd(l,!1))}))}(e,t,o,l);const f="svg"===r;"class"===t?function(e,t,n){const{__wxsAddClass:o,__wxsRemoveClass:r}=e;r&&r.length&&(t=(t||"").split(/\s+/).filter((e=>-1===r.indexOf(e))).join(" "),r.length=0),o&&o.length&&(t=(t||"")+" "+o.join(" "));const i=e[Ei];i&&(t=(t?[t,...i]:[...i]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,o,f):"style"===t?function(e,t,n){const o=e.style,r=g(n);let i=!1;if(n&&!r){if(t)if(g(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Ki(o,t,"")}else for(const e in t)null==n[e]&&Ki(o,e,"");for(const e in n)"display"===e&&(i=!0),Ki(o,e,n[e])}else if(r){if(t!==n){const e=o[qi];e&&(n+=";"+e),o.cssText=n,i=Ui.test(n)}}else t&&e.removeAttribute("style");Vi in e&&(e[Vi]=i?o.display:"",e[Fi]&&(o.display="none"));const{__wxsStyle:s}=e;if(s)for(const a in s)Ki(o,a,s[a])}(e,n,o):i(t)?s(t)||ss(e,t,0,o,l):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,o){if(o)return"innerHTML"===t||"textContent"===t||!!(t in e&&fs(t)&&h(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(fs(t)&&g(n))return!1;return t in e}(e,t,o,f))?function(e,t,n,o,r,i,s){if("innerHTML"===t||"textContent"===t)return o&&s(o,r,i),void(e[t]=null==n?"":n);const a=e.tagName;if("value"===t&&"PROGRESS"!==a&&!a.includes("-")){const o=null==n?"":n;return("OPTION"===a?e.getAttribute("value")||"":e.value)===o&&"_value"in e||(e.value=o),null==n&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(""===n||null==n){const o=typeof e[t];"boolean"===o?n=q(n):null==n&&"string"===o?(n="",l=!0):"number"===o&&(n=0,l=!0)}try{e[t]=n}catch(c){}l&&e.removeAttribute(t)}(e,t,o,a,l,c,u):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,r){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(rs,t.slice(6,t.length)):e.setAttributeNS(rs,t,n);else{const o=D(t);null==n||o&&!q(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,f))},forcePatchProp:(e,t)=>0===t.indexOf("change:")||("class"===t&&e.__wxsClassChanged?(e.__wxsClassChanged=!1,!0):!("style"!==t||!e.__wxsStyleChanged)&&(e.__wxsStyleChanged=!1,!0))},Ti);let ys;const bs=(...e)=>{const t=(ys||(ys=Or(vs))).createApp(...e),{mount:n}=t;return t.mount=e=>{const o=function(e){if(g(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 r=t._component;h(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=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","")),i},t};const _s="undefined"!=typeof document;const ws=Object.assign;function xs(e,t){const n={};for(const o in t){const r=t[o];n[o]=Cs(r)?r.map(e):e(r)}return n}const Ss=()=>{},Cs=Array.isArray,Ts=/#/g,ks=/&/g,Es=/\//g,Os=/=/g,Ls=/\?/g,$s=/\+/g,As=/%5B/g,Ps=/%5D/g,Rs=/%5E/g,Bs=/%60/g,js=/%7B/g,Ns=/%7C/g,Is=/%7D/g,Ms=/%20/g;function Hs(e){return encodeURI(""+e).replace(Ns,"|").replace(As,"[").replace(Ps,"]")}function Vs(e){return Hs(e).replace($s,"%2B").replace(Ms,"+").replace(Ts,"%23").replace(ks,"%26").replace(Bs,"`").replace(js,"{").replace(Is,"}").replace(Rs,"^")}function Fs(e){return null==e?"":function(e){return Hs(e).replace(Ts,"%23").replace(Ls,"%3F")}(e).replace(Es,"%2F")}function Ws(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}const Ds=/\/$/;function qs(e,t,n="/"){let o,r={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),r=e(i)),a>-1&&(o=o||t.slice(0,a),s=t.slice(a,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];".."!==r&&"."!==r||o.push("");let i,s,a=n.length-1;for(i=0;i1&&a--}return n.slice(0,a).join("/")+"/"+o.slice(i).join("/")}(null!=o?o:t,n),{fullPath:o+(i&&"?")+i+s,path:o,query:r,hash:Ws(s)}}function Us(e,t){return t&&e.toLowerCase().startsWith(t.toLowerCase())?e.slice(t.length)||"/":e}function zs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ks(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Xs(e[n],t[n]))return!1;return!0}function Xs(e,t){return Cs(e)?Ys(e,t):Cs(t)?Ys(t,e):e===t}function Ys(e,t){return Cs(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t}var Js,Gs,Zs,Qs;function ea(e){if(!e)if(_s){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(Ds,"")}(Gs=Js||(Js={})).pop="pop",Gs.push="push",(Qs=Zs||(Zs={})).back="back",Qs.forward="forward",Qs.unknown="";const ta=/^[^#]+#/;function na(e,t){return e.replace(ta,"#")+t}const oa=()=>({left:window.scrollX,top:window.scrollY});function ra(e){let t;if("el"in e){const n=e.el,o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)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)}}(r,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 ia(e,t){return(history.state?history.state.position-t:-1)+e}const sa=new Map;function aa(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let t=r.includes(e.slice(i))?e.slice(i).length:1,n=r.slice(t);return"/"!==n[0]&&(n="/"+n),Us(n,"")}return Us(n,e)+o+r}function la(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?oa():null}}function ca(e){const{history:t,location:n}=window,o={value:aa(e,n)},r={value:t.state};function i(o,i,s){const a=e.indexOf("#"),l=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+o:location.protocol+"//"+location.host+e+o;try{t[s?"replaceState":"pushState"](i,"",l),r.value=i}catch(c){console.error(c),n[s?"replace":"assign"](l)}}return r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const s=ws({},r.value,t.state,{forward:e,scroll:oa()});i(s.current,s,!0),i(e,ws({},la(o.value,e,null),{position:s.position+1},n),!1),o.value=e},replace:function(e,n){i(e,ws({},t.state,la(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function ua(e){const t=ca(e=ea(e)),n=function(e,t,n,o){let r=[],i=[],s=null;const a=({state:i})=>{const a=aa(e,location),l=n.value,c=t.value;let u=0;if(i){if(n.value=a,t.value=i,s&&s===l)return void(s=null);u=c?i.position-c.position:0}else o(a);r.forEach((e=>{e(n.value,l,{delta:u,type:Js.pop,direction:u?u>0?Zs.forward:Zs.back:Zs.unknown})}))};function l(){const{history:e}=window;e.state&&e.replaceState(ws({},e.state,{scroll:oa()}),"")}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",l,{passive:!0}),{pauseListeners:function(){s=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return i.push(t),t},destroy:function(){for(const e of i)e();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",l)}}}(e,t.state,t.location,t.replace);const o=ws({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:na.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 fa(e){return"string"==typeof e||"symbol"==typeof e}const da={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},pa=Symbol("");var ha,ga;function ma(e,t){return ws(new Error,{type:e,[pa]:!0},t)}function va(e,t){return e instanceof Error&&pa in e&&(null==t||!!(e.type&t))}(ga=ha||(ha={}))[ga.aborted=4]="aborted",ga[ga.cancelled=8]="cancelled",ga[ga.duplicated=16]="duplicated";const ya={sensitive:!1,strict:!1,start:!0,end:!0},ba=/[.+*?^${}()[\]/\\]/g;function _a(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function wa(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const Sa={type:0,value:""},Ca=/[a-zA-Z0-9_]/;function Ta(e,t,n){const o=function(e,t){const n=ws({},ya,t),o=[];let r=n.start?"^":"";const i=[];for(const l of e){const e=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let t=0;t1&&("*"===a||"+"===a)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:"*"===a||"+"===a,optional:"*"===a||"?"===a})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l{i(d)}:Ss}function i(e){if(fa(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(i),t.alias.forEach(i))}else{const t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(i),e.alias.forEach(i))}}function s(e){let t=0;for(;t=0&&(e.record.path!==n[t].record.path||!Pa(e,n[t]));)t++;n.splice(t,0,e),e.record.name&&!La(e)&&o.set(e.record.name,e)}return t=Aa({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,i,s,a={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw ma(1,{location:e});s=r.record.name,a=ws(Ea(t.params,r.keys.filter((e=>!e.optional)).concat(r.parent?r.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&Ea(e.params,r.keys.map((e=>e.name)))),i=r.stringify(a)}else if(null!=e.path)i=e.path,r=n.find((e=>e.re.test(i))),r&&(a=r.parse(i),s=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw ma(1,{location:e,currentLocation:t});s=r.record.name,a=ws({},t.params,e.params),i=r.stringify(a)}const l=[];let c=r;for(;c;)l.unshift(c.record),c=c.parent;return{name:s,path:i,params:a,matched:l,meta:$a(l)}},removeRoute:i,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function Ea(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Oa(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 La(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function $a(e){return e.reduce(((e,t)=>ws(e,t.meta)),{})}function Aa(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Pa(e,t){return t.children.some((t=>t===e||Pa(e,t)))}function Ra(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&Vs(e))):[o&&Vs(o)]).forEach((e=>{void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}function ja(e){const t={};for(const n in e){const o=e[n];void 0!==o&&(t[n]=Cs(o)?o.map((e=>null==e?null:""+e)):null==o?o:""+o)}return t}const Na=Symbol(""),Ia=Symbol(""),Ma=Symbol(""),Ha=Symbol(""),Va=Symbol("");function Fa(){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 Wa(e,t,n,o,r,i=(e=>e())){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((a,l)=>{const c=e=>{var i;!1===e?l(ma(4,{from:n,to:t})):e instanceof Error?l(e):"string"==typeof(i=e)||i&&"object"==typeof i?l(ma(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),a())},u=i((()=>e.call(o&&o.instances[r],t,n,c)));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch((e=>l(e)))}))}function Da(e,t,n,o,r=(e=>e())){const i=[];for(const a of e)for(const e in a.components){let l=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if("object"==typeof(s=l)||"displayName"in s||"props"in s||"__vccOpts"in s){const s=(l.__vccOpts||l)[t];s&&i.push(Wa(s,n,o,a,e,r))}else{let s=l();i.push((()=>s.then((i=>{if(!i)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${a.path}"`));const s=(l=i).__esModule||"Module"===l[Symbol.toStringTag]?i.default:i;var l;a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&Wa(c,n,o,a,e,r)()}))))}}var s;return i}function qa(e){const t=pr(Ma),n=pr(Ha),o=_i((()=>t.resolve(nn(e.to)))),r=_i((()=>{const{matched:e}=o.value,{length:t}=e,r=e[t-1],i=n.matched;if(!r||!i.length)return-1;const s=i.findIndex(zs.bind(null,r));if(s>-1)return s;const a=za(e[t-2]);return t>1&&za(r)===a&&i[i.length-1].path!==a?i.findIndex(zs.bind(null,e[t-2])):s})),i=_i((()=>r.value>-1&&function(e,t){for(const n in t){const o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!Cs(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(n.params,o.value.params))),s=_i((()=>r.value>-1&&r.value===n.matched.length-1&&Ks(n.params,o.value.params)));return{route:o,href:_i((()=>o.value.href)),isActive:i,isExactActive:s,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[nn(e.replace)?"replace":"push"](nn(e.to)).catch(Ss):Promise.resolve()}}}const Ua=po({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:qa,setup(e,{slots:t}){const n=It(qa(e)),{options:o}=pr(Ma),r=_i((()=>({[Ka(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Ka(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=t.default&&t.default(n);return e.custom?o:wi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}});function za(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ka=(e,t,n)=>null!=e?e:null!=t?t:n;function Xa(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Ya=po({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=pr(Va),r=_i((()=>e.route||o.value)),i=pr(Ia,0),s=_i((()=>{let e=nn(i);const{matched:t}=r.value;let n;for(;(n=t[e])&&!n.components;)e++;return e})),a=_i((()=>r.value.matched[s.value]));dr(Ia,_i((()=>s.value+1))),dr(Na,a),dr(Va,r);const l=Qt();return Xn((()=>[l.value,a.value,e.name]),(([e,t,n],[o,r,i])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards.size||(t.leaveGuards=r.leaveGuards),t.updateGuards.size||(t.updateGuards=r.updateGuards))),!e||!t||r&&zs(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const o=r.value,i=e.name,s=a.value,c=s&&s.components[i];if(!c)return Xa(n.default,{Component:c,route:o});const u=s.props[i],f=u?!0===u?o.params:"function"==typeof u?u(o):u:null,d=wi(c,ws({},f,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(s.instances[i]=null)},ref:l}));return Xa(n.default,{Component:d,route:o})||d}}});function Ja(e){const t=ka(e.routes,e),n=e.parseQuery||Ra,o=e.stringifyQuery||Ba,r=e.history,i=Fa(),s=Fa(),a=Fa(),l=en(da,!0);let c=da;_s&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=xs.bind(null,(e=>""+e)),f=xs.bind(null,Fs),d=xs.bind(null,Ws);function p(e,i){if(i=ws({},i||l.value),"string"==typeof e){const o=qs(n,e,i.path),s=t.resolve({path:o.path},i),a=r.createHref(o.fullPath);return ws(o,s,{params:d(s.params),hash:Ws(o.hash),redirectedFrom:void 0,href:a})}let s;if(null!=e.path)s=ws({},e,{path:qs(n,e.path,i.path).path});else{const t=ws({},e.params);for(const e in t)null==t[e]&&delete t[e];s=ws({},e,{params:f(t)}),i.params=f(i.params)}const a=t.resolve(s,i),c=e.hash||"";a.params=u(d(a.params));const p=function(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(o,ws({},e,{hash:(h=c,Hs(h).replace(js,"{").replace(Is,"}").replace(Rs,"^")),path:a.path}));var h;const g=r.createHref(p);return ws({fullPath:p,hash:c,query:o===Ba?ja(e.query):e.query||{}},a,{redirectedFrom:void 0,href:g})}function h(e){return"string"==typeof e?qs(n,e,l.value.path):ws({},e)}function g(e,t){if(c!==e)return ma(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=h(o):{path:o},o.params={}),ws({query:e.query,hash:e.hash,params:null!=o.path?{}:e.params},o)}}function y(e,t){const n=c=p(e),r=l.value,i=e.state,s=e.force,a=!0===e.replace,u=v(n);if(u)return y(ws(h(u),{state:"object"==typeof u?ws({},i,u.state):i,force:s,replace:a}),t||n);const f=n;let d;return f.redirectedFrom=t,!s&&function(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&zs(t.matched[o],n.matched[r])&&Ks(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(o,r,n)&&(d=ma(16,{to:f,from:r}),A(r,r,!0,!1)),(d?Promise.resolve(d):w(f,r)).catch((e=>va(e)?va(e,2)?e:$(e):L(e,f,r))).then((e=>{if(e){if(va(e,2))return y(ws({replace:a},h(e.to),{state:"object"==typeof e.to?ws({},i,e.to.state):i,force:s}),t||f)}else e=S(f,r,!0,a,i);return x(f,r,e),e}))}function b(e,t){const n=g(e,t);return n?Promise.reject(n):Promise.resolve()}function _(e){const t=B.values().next().value;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}function w(e,t){let n;const[o,r,a]=function(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;szs(e,i)))?o.push(i):n.push(i));const a=e.matched[s];a&&(t.matched.find((e=>zs(e,a)))||r.push(a))}return[n,o,r]}(e,t);n=Da(o.reverse(),"beforeRouteLeave",e,t);for(const i of o)i.leaveGuards.forEach((o=>{n.push(Wa(o,e,t))}));const l=b.bind(null,e,t);return n.push(l),N(n).then((()=>{n=[];for(const o of i.list())n.push(Wa(o,e,t));return n.push(l),N(n)})).then((()=>{n=Da(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Wa(o,e,t))}));return n.push(l),N(n)})).then((()=>{n=[];for(const o of a)if(o.beforeEnter)if(Cs(o.beforeEnter))for(const r of o.beforeEnter)n.push(Wa(r,e,t));else n.push(Wa(o.beforeEnter,e,t));return n.push(l),N(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Da(a,"beforeRouteEnter",e,t,_),n.push(l),N(n)))).then((()=>{n=[];for(const o of s.list())n.push(Wa(o,e,t));return n.push(l),N(n)})).catch((e=>va(e,8)?e:Promise.reject(e)))}function x(e,t,n){a.list().forEach((o=>_((()=>o(e,t,n)))))}function S(e,t,n,o,i){const s=g(e,t);if(s)return s;const a=t===da,c=_s?history.state:{};n&&(o||a?r.replace(e.fullPath,ws({scroll:a&&c&&c.scroll},i)):r.push(e.fullPath,i)),l.value=e,A(e,t,n,a),$()}let C;function T(){C||(C=r.listen(((e,t,n)=>{if(!j.listening)return;const o=p(e),i=v(o);if(i)return void y(ws(i,{replace:!0}),o).catch(Ss);c=o;const s=l.value;var a,u;_s&&(a=ia(s.fullPath,n.delta),u=oa(),sa.set(a,u)),w(o,s).catch((e=>va(e,12)?e:va(e,2)?(y(e.to,o).then((e=>{va(e,20)&&!n.delta&&n.type===Js.pop&&r.go(-1,!1)})).catch(Ss),Promise.reject()):(n.delta&&r.go(-n.delta,!1),L(e,o,s)))).then((e=>{(e=e||S(o,s,!1))&&(n.delta&&!va(e,8)?r.go(-n.delta,!1):n.type===Js.pop&&va(e,20)&&r.go(-1,!1)),x(o,s,e)})).catch(Ss)})))}let k,E=Fa(),O=Fa();function L(e,t,n){$(e);const o=O.list();return o.length?o.forEach((o=>o(e,t,n))):console.error(e),Promise.reject(e)}function $(e){return k||(k=!e,T(),E.list().forEach((([t,n])=>e?n(e):t())),E.reset()),e}function A(t,n,o,r){const{scrollBehavior:i}=e;if(!_s||!i)return Promise.resolve();const s=!o&&function(e){const t=sa.get(e);return sa.delete(e),t}(ia(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return bn().then((()=>i(t,n,s))).then((e=>e&&ra(e))).catch((e=>L(e,t,n)))}const P=e=>r.go(e);let R;const B=new Set,j={currentRoute:l,listening:!0,addRoute:function(e,n){let o,r;return fa(e)?(o=t.getRecordMatcher(e),r=n):r=e,t.addRoute(r,o)},removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},hasRoute:function(e){return!!t.getRecordMatcher(e)},getRoutes:function(){return t.getRoutes().map((e=>e.record))},resolve:p,options:e,push:m,replace:function(e){return m(ws(h(e),{replace:!0}))},go:P,back:()=>P(-1),forward:()=>P(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:O.add,isReady:function(){return k&&l.value!==da?Promise.resolve():new Promise(((e,t)=>{E.add([e,t])}))},install(e){e.component("RouterLink",Ua),e.component("RouterView",Ya),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>nn(l)}),_s&&!R&&l.value===da&&(R=!0,m(r.location).catch((e=>{})));const t={};for(const o in da)Object.defineProperty(t,o,{get:()=>l.value[o],enumerable:!0});e.provide(Ma,this),e.provide(Ha,Mt(t)),e.provide(Va,l);const n=e.unmount;B.add(e),e.unmount=function(){B.delete(e),B.size<1&&(c=da,C&&C(),C=null,l.value=da,R=!1,k=!1),n()}}};function N(e){return e.reduce(((e,t)=>e.then((()=>_(t)))),Promise.resolve())}return j}function Ga(){return pr(Ha)}const Za=["{","}"];const Qa=/^(?:\d)+/,el=/^(?:\w)+/;const tl=Object.prototype.hasOwnProperty,nl=(e,t)=>tl.call(e,t),ol=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,n=Za){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,n]){const o=[];let r=0,i="";for(;r-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 r=function(e,t){return t.find((t=>0===e.indexOf(t)))}(e,o);return r||void 0}class il{constructor({locale:e,fallbackLocale:t,messages:n,watcher:o,formater:r}){this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=r||ol,this.messages=n||{},this.setLocale(e||"en"),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=rl(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=>{nl(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=rl(t,this.messages))&&(o=this.messages[t]):n=t,nl(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 sl(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&&Fu?Fu():"undefined"!=typeof global&&global.getLocale?global.getLocale():"en"),"string"!=typeof n&&(n="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||"en");const r=new il({locale:e,fallbackLocale:n,messages:t,watcher:o});let i=(e,t)=>{{let e=!1;i=function(t,n){const o=cp().$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,r))),r.t(t,n)}}return i(e,t)};return{i18n:r,f:(e,t,n)=>r.f(e,t,n),t:(e,t)=>i(e,t),add:(e,t,n=!0)=>r.add(e,t,n),watch:e=>r.watchLocale(e),getLocale:()=>r.getLocale(),setLocale:e=>r.setLocale(e)}}const al=ne((()=>"undefined"!=typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length));let ll;function cl(){if(!ll){let e;if(e=navigator.cookieEnabled&&window.localStorage&&localStorage.UNI_LOCALE||__uniConfig.locale||navigator.language,ll=sl(e),al()){const t=Object.keys(__uniConfig.locales||{});t.length&&t.forEach((e=>ll.add(e,__uniConfig.locales[e]))),ll.setLocale(e)}}return ll}function ul(e,t,n){return t.reduce(((t,o,r)=>(t[e+o]=n[r],t)),{})}const fl=ne((()=>{const e="uni.async.",t=["error"];cl().add("en",ul(e,t,["The connection timed out, click the screen to try again."]),!1),cl().add("es",ul(e,t,["Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo."]),!1),cl().add("fr",ul(e,t,["La connexion a expiré, cliquez sur l'écran pour réessayer."]),!1),cl().add("zh-Hans",ul(e,t,["连接服务器超时,点击屏幕重试"]),!1),cl().add("zh-Hant",ul(e,t,["連接服務器超時,點擊屏幕重試"]),!1)})),dl=ne((()=>{const e="uni.showToast.",t=["unpaired"];cl().add("en",ul(e,t,["Please note showToast must be paired with hideToast"]),!1),cl().add("es",ul(e,t,["Tenga en cuenta que showToast debe estar emparejado con hideToast"]),!1),cl().add("fr",ul(e,t,["Veuillez noter que showToast doit être associé à hideToast"]),!1),cl().add("zh-Hans",ul(e,t,["请注意 showToast 与 hideToast 必须配对使用"]),!1),cl().add("zh-Hant",ul(e,t,["請注意 showToast 與 hideToast 必須配對使用"]),!1)})),pl=ne((()=>{const e="uni.showLoading.",t=["unpaired"];cl().add("en",ul(e,t,["Please note showLoading must be paired with hideLoading"]),!1),cl().add("es",ul(e,t,["Tenga en cuenta que showLoading debe estar emparejado con hideLoading"]),!1),cl().add("fr",ul(e,t,["Veuillez noter que showLoading doit être associé à hideLoading"]),!1),cl().add("zh-Hans",ul(e,t,["请注意 showLoading 与 hideLoading 必须配对使用"]),!1),cl().add("zh-Hant",ul(e,t,["請注意 showLoading 與 hideLoading 必須配對使用"]),!1)})),hl=ne((()=>{const e="uni.showModal.",t=["cancel","confirm"];cl().add("en",ul(e,t,["Cancel","OK"]),!1),cl().add("es",ul(e,t,["Cancelar","OK"]),!1),cl().add("fr",ul(e,t,["Annuler","OK"]),!1),cl().add("zh-Hans",ul(e,t,["取消","确定"]),!1),cl().add("zh-Hant",ul(e,t,["取消","確定"]),!1)}));function gl(e){const t=new ke;return{on:(e,n)=>t.on(e,n),once:(e,n)=>t.once(e,n),off:(e,n)=>t.off(e,n),emit:(e,...n)=>t.emit(e,...n),subscribe(n,o,r=!1){t[r?"once":"on"](`${e}.${n}`,o)},unsubscribe(n,o){t.off(`${e}.${n}`,o)},subscribeHandler(n,o,r){t.emit(`${e}.${n}`,o,r)}}}let ml=1;const vl=Object.create(null);function yl(e,t){return e+"."+t}function bl({id:e,name:t,args:n},o){t=yl(o,t);const r=t=>{e&&yh.publishHandler("invokeViewApi."+e,t)},i=vl[t];i?i(n,r):r({})}const _l=a(gl("service"),{invokeServiceMethod:(e,t,n)=>{const{subscribe:o,publishHandler:r}=yh,i=n?ml++:0;n&&o("invokeServiceApi."+i,n,!0),r("invokeServiceApi",{id:i,name:e,args:t})}}),wl=pe(!0);let xl;function Sl(){xl&&(clearTimeout(xl),xl=null)}let Cl=0,Tl=0;function kl(e){if(Sl(),1!==e.touches.length)return;const{pageX:t,pageY:n}=e.touches[0];Cl=t,Tl=n,xl=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 El(e){if(!xl)return;if(1!==e.touches.length)return Sl();const{pageX:t,pageY:n}=e.touches[0];return Math.abs(t-Cl)>10||Math.abs(n-Tl)>10?Sl():void 0}function Ol(e,t){const n=Number(e);return isNaN(n)?t:n}function Ll(){const e=__uniConfig.globalStyle||{},t=Ol(e.rpxCalcMaxDeviceWidth,960),n=Ol(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 $l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Al,Pl,Rl=["top","left","right","bottom"],Bl={};function jl(){return Pl="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 Nl(){if(Pl="string"==typeof Pl?Pl:jl()){var e=[],t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t={passive:!0}}});window.addEventListener("test",null,n)}catch(a){}var o=document.createElement("div");r(o,{position:"absolute",left:"0",top:"0",width:"0",height:"0",zIndex:"-1",overflow:"hidden",visibility:"hidden"}),Rl.forEach((function(e){s(o,e)})),document.body.appendChild(o),i(),Al=!0}else Rl.forEach((function(e){Bl[e]=0}));function r(e,t){var n=e.style;Object.keys(t).forEach((function(e){var o=t[e];n[e]=o}))}function i(t){t?e.push(t):e.forEach((function(e){e()}))}function s(e,n){var o=document.createElement("div"),s=document.createElement("div"),a=document.createElement("div"),l=document.createElement("div"),c={position:"absolute",width:"100px",height:"200px",boxSizing:"border-box",overflow:"hidden",paddingBottom:Pl+"(safe-area-inset-"+n+")"};r(o,c),r(s,c),r(a,{transition:"0s",animation:"none",width:"400px",height:"400px"}),r(l,{transition:"0s",animation:"none",width:"250%",height:"250%"}),o.appendChild(a),s.appendChild(l),e.appendChild(o),e.appendChild(s),i((function(){o.scrollTop=s.scrollTop=1e4;var e=o.scrollTop,r=s.scrollTop;function i(){this.scrollTop!==(this===o?e:r)&&(o.scrollTop=s.scrollTop=1e4,e=o.scrollTop,r=s.scrollTop,function(e){Ml.length||setTimeout((function(){var e={};Ml.forEach((function(t){e[t]=Bl[t]})),Ml.length=0,Hl.forEach((function(t){t(e)}))}),0);Ml.push(e)}(n))}o.addEventListener("scroll",i,t),s.addEventListener("scroll",i,t)}));var u=getComputedStyle(o);Object.defineProperty(Bl,n,{configurable:!0,get:function(){return parseFloat(u.paddingBottom)}})}}function Il(e){return Al||Nl(),Bl[e]}var Ml=[];var Hl=[];const Vl=$l({get support(){return 0!=("string"==typeof Pl?Pl:jl()).length},get top(){return Il("top")},get left(){return Il("left")},get right(){return Il("right")},get bottom(){return Il("bottom")},onChange:function(e){jl()&&(Al||Nl(),"function"==typeof e&&Hl.push(e))},offChange:function(e){var t=Hl.indexOf(e);t>=0&&Hl.splice(t,1)}}),Fl=hs((()=>{}),["prevent"]),Wl=hs((e=>{}),["stop"]);function Dl(e,t){return parseInt((e.getPropertyValue(t).match(/\d+/)||["0"])[0])}function ql(){const e=Dl(document.documentElement.style,"--window-top");return e?e+Vl.top:0}function Ul(e){const t=document.documentElement.style;Object.keys(e).forEach((n=>{t.setProperty(n,e[n])}))}function zl(e){return Symbol(e)}function Kl(e){return e.$page}function Xl(e){return 0===e.tagName.indexOf("UNI-")}const Yl="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",Jl="M15.808 0.16q-4.224 0-7.872 2.176-3.552 2.112-5.632 5.728-2.144 3.744-2.144 8.128 0 4.192 2.144 7.872 2.112 3.52 5.632 5.632 3.68 2.144 7.872 2.144 4.384 0 8.128-2.144 3.616-2.080 5.728-5.632 2.176-3.648 2.176-7.872 0-4.384-2.176-8.128-2.112-3.616-5.728-5.728-3.744-2.176-8.128-2.176zM15.136 8.672h1.728q0.128 0 0.224 0.096t0.096 0.256l-0.384 10.24q0 0.064-0.048 0.112t-0.112 0.048h-1.248q-0.096 0-0.144-0.048t-0.048-0.112l-0.384-10.24q0-0.16 0.096-0.256t0.224-0.096zM16 23.328q-0.48 0-0.832-0.352t-0.352-0.848 0.352-0.848 0.832-0.352 0.832 0.352 0.352 0.848-0.352 0.848-0.832 0.352z";function Gl(e,t="#000",n=27){return Gr("svg",{width:n,height:n,viewBox:"0 0 32 32"},[Gr("path",{d:e,fill:t},null,8,["d","fill"])],8,["width","height"])}function Zl(){{const{$pageInstance:o}=ci();return o&&(e=o.proxy,(null==(t=e.$page)?void 0:t.id)||(null==(n=e.$basePage)?void 0:n.id))}var e,t,n}function Ql(){const e=Of(),t=e.length;if(t)return e[t-1]}function ec(){var e;const t=null==(e=Ql())?void 0:e.$page;if(t)return t.meta}function tc(){const e=ec();return e?e.id:-1}function nc(){const e=Ql();if(e)return e.$vm}const oc=["navigationBar","pullToRefresh"];function rc(e,t){const n=JSON.parse(JSON.stringify(__uniConfig.globalStyle||{})),o=a({id:t},n,e);oc.forEach((t=>{o[t]=a({},n[t],e[t])}));const{navigationBar:r}=o;return r.titleText&&r.titleImage&&(r.titleText=""),o}function ic(e,t,n,o,r,i){const{id:s,route:a}=o,l=Le(o.navigationBar,__uniConfig.themeConfig,i).titleColor;return{id:s,path:te(a),route:a,fullPath:t,options:n,meta:o,openType:e,eventChannel:r,statusBarStyle:"#ffffff"===l?"light":"dark"}}function sc(e,t,n){if(g(e))n=t,t=e,e=nc();else if("number"==typeof e){const t=Of().find((t=>Kl(t).id===e));e=t?t.$vm:nc()}if(!e)return;const o=e.$[t];return o&&((e,t)=>{let n;for(let o=0;o{function s(){if((()=>{const{scrollHeight:e}=document.documentElement,t=window.innerHeight,o=window.scrollY,i=o>0&&e>t&&o+t+n>=e,s=Math.abs(e-cc)>n;return!i||r&&!s?(!i&&r&&(r=!1),!1):(cc=e,r=!0,!0)})())return t&&t(),i=!1,setTimeout((function(){i=!0}),350),!0}e&&e(window.pageYOffset),t&&i&&(s()||(lc=setTimeout(s,300))),o=!1};return function(){clearTimeout(lc),o||requestAnimationFrame(s),o=!0}}function fc(e,t){if(0===t.indexOf("/"))return t;if(0===t.indexOf("./"))return fc(e,t.slice(2));const n=t.split("/"),o=n.length;let r=0;for(;r0?e.split("/"):[];return i.splice(i.length-r-1,r+1),te(i.concat(n).join("/"))}function dc(e,t=!1){return t?__uniRoutes.find((t=>t.path===e||t.alias===e)):__uniRoutes.find((t=>t.path===e))}function pc(){Ll(),ue(Xl),window.addEventListener("touchstart",kl,wl),window.addEventListener("touchmove",El,wl),window.addEventListener("touchend",Sl,wl),window.addEventListener("touchcancel",Sl,wl)}class hc{constructor(e){this.$bindClass=!1,this.$bindStyle=!1,this.$vm=e,this.$el=function(e,t=!1){const{vnode:n}=e;if(se(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&&se(e.el)));if(e.length>0)return t?e.map((e=>e.el)):e[0].el}return t?n.el?[n.el]:[]:n.el}(e.$),this.$el.getAttribute&&(this.$bindClass=!!this.$el.getAttribute("class"),this.$bindStyle=!!this.$el.getAttribute("style"))}selectComponent(e){if(!this.$el||!e)return;const t=yc(this.$el.querySelector(e));return t?gc(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];h(n)?n(JSON.parse(JSON.stringify(t))):this.$vm.ownerId&&yh.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 gc(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 mc(e,t){return gc(e,t)}function vc(e,t,n,o=!0){if(t){e.__instance||(e.__instance=!0,Object.defineProperty(e,"instance",{get:()=>mc(n.proxy,!1)}));const r=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 r=o.$.type;return!(!r.$wxs&&!r.$renderjs)&&o}(t,n,o);if(r)return[e,mc(r,!1)]}}function yc(e){if(e)return e.__vueParentComponent&&e.__vueParentComponent.proxy}function bc(e,t=!1){const{type:n,timeStamp:o,target:r,currentTarget:i}=e;let s,l;s=he(t?r:function(e){for(;!Xl(e);)e=e.parentElement;return e}(r)),l=he(i);const c={type:n,timeStamp:o,target:s,detail:{},currentTarget:l};return e instanceof CustomEvent&&w(e.detail)&&(c.detail=e.detail),e._stopped&&(c._stopped=!0),e.type.startsWith("touch")&&(c.touches=e.touches,c.changedTouches=e.changedTouches),function(e,t){a(e,{preventDefault:()=>t.preventDefault(),stopPropagation:()=>t.stopPropagation()})}(c,e),c}function _c(e,t){return{force:1,identifier:0,clientX:e.clientX,clientY:e.clientY-t,pageX:e.pageX,pageY:e.pageY-t}}function wc(e,t){const n=[];for(let o=0;o0===e.type.indexOf("mouse")||["contextmenu"].includes(e.type))(e))!function(e,t){const n=ql();e.pageX=t.pageX,e.pageY=t.pageY-n,e.clientX=t.clientX,e.clientY=t.clientY-n,e.touches=e.changedTouches=[_c(t,n)]}(i,e);else if((e=>"undefined"!=typeof TouchEvent&&e instanceof TouchEvent||0===e.type.indexOf("touch")||["longpress"].indexOf(e.type)>=0)(e)){const t=ql();i.touches=wc(e.touches,t),i.changedTouches=wc(e.changedTouches,t)}else if((e=>!e.type.indexOf("key")&&e instanceof KeyboardEvent)(e)){["key","code"].forEach((t=>{Object.defineProperty(i,t,{get:()=>e[t]})}))}return vc(i,t,n)||[i]},createNativeEvent:bc},Symbol.toStringTag,{value:"Module"});function Sc(e){!function(e){const t=e.globalProperties;a(t,xc),t.$gcd=mc}(e._context.config)}let Cc=1;function Tc(e){return(e||tc())+".invokeViewApi"}const kc=a(gl("view"),{invokeOnCallback:(e,t)=>bh.emit("api."+e,t),invokeViewMethod:(e,t,n,o)=>{const{subscribe:r,publishHandler:i}=bh,s=o?Cc++:0;o&&r("invokeViewApi."+s,o,!0),i(Tc(n),{id:s,name:e,args:t},n)},invokeViewMethodKeepAlive:(e,t,n,o)=>{const{subscribe:r,unsubscribe:i,publishHandler:s}=bh,a=Cc++,l="invokeViewApi."+a;return r(l,n),s(Tc(o),{id:a,name:e,args:t},o),()=>{i(l)}}});function Ec(e){sc(Ql(),"onResize",e),bh.invokeOnCallback("onWindowResize",e)}function Oc(e){const t=Ql();sc(cp(),"onShow",e),sc(t,"onShow")}function Lc(){sc(cp(),"onHide"),sc(Ql(),"onHide")}const $c=["onPageScroll","onReachBottom"];function Ac(){$c.forEach((e=>bh.subscribe(e,function(e){return(t,n)=>{sc(parseInt(n),e,t)}}(e))))}function Pc(){!function(){const{on:e}=bh;e("onResize",Ec),e("onAppEnterForeground",Oc),e("onAppEnterBackground",Lc)}(),Ac()}function Rc(){if(this.$route){const e=this.$route.meta;return e.eventChannel||(e.eventChannel=new _e(this.$page.id)),e.eventChannel}}function Bc(e){e._context.config.globalProperties.getOpenerEventChannel=Rc}function jc(){return{path:"",query:{},scene:1001,referrerInfo:{appId:"",extraData:{}}}}function Nc(e){return/^-?\d+[ur]px$/i.test(e)?e.replace(/(^-?\d+)[ur]px$/i,((e,t)=>`${Vu(parseFloat(t))}px`)):/^-?[\d\.]+$/.test(e)?`${e}px`:e||""}function Ic(e){const t=e.animation;if(!t||!t.actions||!t.actions.length)return;let n=0;const o=t.actions,r=t.actions.length;function i(){const t=o[n],s=t.option.transition,a=function(e){const t=["matrix","matrix3d","scale","scale3d","rotate3d","skew","translate","translate3d"],n=["scaleX","scaleY","scaleZ","rotate","rotateX","rotateY","rotateZ","skewX","skewY","translateX","translateY","translateZ"],o=["opacity","background-color"],r=["width","height","left","right","top","bottom"],i=e.animates,s=e.option,a=s.transition,l={},c=[];return i.forEach((e=>{let i=e.type,s=[...e.args];if(t.concat(n).includes(i))i.startsWith("rotate")||i.startsWith("skew")?s=s.map((e=>parseFloat(e)+"deg")):i.startsWith("translate")&&(s=s.map(Nc)),n.indexOf(i)>=0&&(s.length=1),c.push(`${i}(${s.join(",")})`);else if(o.concat(r).includes(s[0])){i=s[0];const e=s[1];l[i]=r.includes(i)?Nc(e):e}})),l.transform=l.webkitTransform=c.join(" "),l.transition=l.webkitTransition=Object.keys(l).map((e=>`${function(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`)).replace("webkit","-webkit")}(e)} ${a.duration}ms ${a.timingFunction} ${a.delay}ms`)).join(","),l.transformOrigin=l.webkitTransformOrigin=s.transformOrigin,l}(t);Object.keys(a).forEach((t=>{e.$el.style[t]=a[t]})),n+=1,n{i()}),0)}const Mc={props:["animation"],watch:{animation:{deep:!0,handler(){Ic(this)}}},mounted(){Ic(this)}},Hc=e=>{e.__reserved=!0;const{props:t,mixins:n}=e;return t&&t.animation||(n||(e.mixins=[])).push(Mc),Vc(e)},Vc=e=>(e.__reserved=!0,e.compatConfig={MODE:3},po(e));function Fc(e){return e.__wwe=!0,e}function Wc(e,t){return(n,o,r)=>{e.value&&t(n,function(e,t,n,o){let r;return r=he(n),{type:t.__evName||o.type||e,timeStamp:t.timeStamp||0,target:r,currentTarget:r,detail:o}}(n,o,e.value,r||{}))}}const Dc={hoverClass:{type:String,default:"none"},hoverStopPropagation:{type:Boolean,default:!1},hoverStartTime:{type:[Number,String],default:50},hoverStayTime:{type:[Number,String],default:400}};function qc(e){const t=Qt(!1);let n,o,r=!1;function i(){requestAnimationFrame((()=>{clearTimeout(o),o=setTimeout((()=>{t.value=!1}),parseInt(e.hoverStayTime))}))}function s(o){o._hoverPropagationStopped||e.hoverClass&&"none"!==e.hoverClass&&!e.disabled&&(e.hoverStopPropagation&&(o._hoverPropagationStopped=!0),r=!0,n=setTimeout((()=>{t.value=!0,r||i()}),parseInt(e.hoverStartTime)))}function a(){r=!1,t.value&&i()}function l(){a(),window.removeEventListener("mouseup",l)}return{hovering:t,binding:{onTouchstartPassive:Fc((function(e){e.touches.length>1||s(e)})),onMousedown:Fc((function(e){r||(s(e),window.addEventListener("mouseup",l))})),onTouchend:Fc((function(){a()})),onMouseup:Fc((function(){r&&l()})),onTouchcancel:Fc((function(){r=!1,t.value=!1,clearTimeout(n)}))}}}function Uc(e,t){return g(t)&&(t=[t]),t.reduce(((t,n)=>(e[n]&&(t[n]=!0),t)),Object.create(null))}const zc=zl("uf"),Kc={for:{type:String,default:""}},Xc=zl("ul");const Yc=Hc({name:"Label",props:Kc,setup(e,{slots:t}){const n=Qt(null),o=Zl(),r=function(){const e=[];return dr(Xc,{addHandler(t){e.push(t)},removeHandler(t){e.splice(e.indexOf(t),1)}}),e}(),i=_i((()=>e.for||t.default&&t.default.length)),s=Fc((t=>{const n=t.target;let i=/^uni-(checkbox|radio|switch)-/.test(n.className);i||(i=/^uni-(checkbox|radio|switch|button)$|^(svg|path)$/i.test(n.tagName)),i||(e.for?yh.emit("uni-label-click-"+o+"-"+e.for,t,!0):r.length&&r[0](t,!0))}));return()=>Gr("uni-label",{ref:n,class:{"uni-label-pointer":i},onClick:s},[t.default&&t.default()],10,["onClick"])}});function Jc(e,t,n){const o=Zl();n&&!e||w(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&yh.on(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?yh.on(r,t[r]):e&&yh.on(`uni-${r}-${o}-${e}`,t[r])}))}function Gc(e,t,n){const o=Zl();n&&!e||w(t)&&Object.keys(t).forEach((r=>{n?0!==r.indexOf("@")&&0!==r.indexOf("uni-")&&yh.off(`uni-${r}-${o}-${e}`,t[r]):0===r.indexOf("uni-")?yh.off(r,t[r]):e&&yh.off(`uni-${r}-${o}-${e}`,t[r])}))}const Zc=Hc({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=Qt(null),o=pr(zc,!1),{hovering:r,binding:i}=qc(e),s=Fc(((t,r)=>{if(e.disabled)return t.stopImmediatePropagation();r&&n.value.click();const i=e.formType;if(i){if(!o)return;"submit"===i?o.submit(t):"reset"===i&&o.reset(t)}else;})),a=pr(Xc,!1);return a&&(a.addHandler(s),No((()=>{a.removeHandler(s)}))),function(e,t){Jc(e.id,t),Xn((()=>e.id),((e,n)=>{Gc(n,t,!0),Jc(e,t,!0)})),Io((()=>{Gc(e.id,t)}))}(e,{"label-click":s}),()=>{const o=e.hoverClass,a=Uc(e,"disabled"),l=Uc(e,"loading"),c=Uc(e,"plain"),u=o&&"none"!==o;return Gr("uni-button",ri({ref:n,onClick:s,id:e.id,class:u&&r.value?o:""},u&&i,a,l,c),[t.default&&t.default()],16,["onClick","id"])}}}),Qc=zl("upm");function eu(){return pr(Qc)}function tu(e){const t=function(e){return It(function(e){if(history.state){const t=history.state.__type__;"redirectTo"!==t&&"reLaunch"!==t||0!==Of().length||(e.isEntry=!0,e.isQuit=!0)}return e}(JSON.parse(JSON.stringify(rc(Ga().meta,e)))))}(e);return dr(Qc,t),t}function nu(){return Ga()}function ou(){return history.state&&history.state.__id__||1}const ru=["GET","OPTIONS","HEAD","POST","PUT","DELETE","TRACE","CONNECT","PATCH"];function iu(e,t){return e&&-1!==t.indexOf(e)?e:t[0]}function su(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}let au=1;const lu={};function cu(e,t,n){if("number"==typeof e){const o=lu[e];if(o)return o.keepAlive||delete lu[e],o.callback(t,n)}return t}const uu="success",fu="fail",du="complete";function pu(e,t={},{beforeAll:n,beforeSuccess:o}={}){w(t)||(t={});const{success:r,fail:i,complete:s}=function(e){const t={};for(const n in e){const o=e[n];h(o)&&(t[n]=su(o),delete e[n])}return t}(t),a=h(r),l=h(i),c=h(s),u=au++;return function(e,t,n,o=!1){lu[e]={name:t,keepAlive:o,callback:n}}(u,e,(u=>{(u=u||{}).errMsg=function(e,t){return e&&-1!==e.indexOf(":fail")?t+e.substring(e.indexOf(":fail")):t+":ok"}(u.errMsg,e),h(n)&&n(u),u.errMsg===e+":ok"?(h(o)&&o(u,t),a&&r(u)):l&&i(u),c&&s(u)})),u}const hu="success",gu="fail",mu="complete",vu={},yu={};function bu(e,t){return function(n){return e(n,t)||n}}function _u(e,t,n){let o=!1;for(let r=0;re(t),catch(){}}}function wu(e,t={}){return[hu,gu,mu].forEach((n=>{const o=e[n];if(!f(o))return;const r=t[n];t[n]=function(e){_u(o,e,t).then((e=>h(r)&&r(e)||e))}})),t}function xu(e,t){const n=[];f(vu.returnValue)&&n.push(...vu.returnValue);const o=yu[e];return o&&f(o.returnValue)&&n.push(...o.returnValue),n.forEach((e=>{t=e(t)||t})),t}function Su(e){const t=Object.create(null);Object.keys(vu).forEach((e=>{"returnValue"!==e&&(t[e]=vu[e].slice())}));const n=yu[e];return n&&Object.keys(n).forEach((e=>{"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function Cu(e,t,n,o){const r=Su(e);if(r&&Object.keys(r).length){if(f(r.invoke)){return _u(r.invoke,n).then((n=>t(wu(Su(e),n),...o)))}return t(wu(r,n),...o)}return t(n,...o)}function Tu(e,t){return(n={},...o)=>function(e){return!(!w(e)||![uu,fu,du].find((t=>h(e[t]))))}(n)?xu(e,Cu(e,t,a({},n),o)):xu(e,new Promise(((r,i)=>{Cu(e,t,a({},n,{success:r,fail:i}),o)})))}function ku(e,t,n,o={}){const r=t+":fail";let i="";return i=n?0===n.indexOf(r)?n:r+" "+n:r,delete o.errCode,cu(e,a({errMsg:i},o))}function Eu(e,t,n,o){if(o&&o.beforeInvoke){const e=o.beforeInvoke(t);if(g(e))return e}const r=function(e,t){const n=e[0];if(!t||!t.formatArgs||!w(t.formatArgs)&&w(n))return;const o=t.formatArgs,r=Object.keys(o);for(let i=0;i{const r=pu(e,n,o),i=Eu(0,[n],0,o);return i?ku(r,e,i):t(n,{resolve:t=>function(e,t,n){return cu(e,a(n||{},{errMsg:t+":ok"}))}(r,e,t),reject:(t,n)=>ku(r,e,function(e){return!e||g(e)?e:e.stack?("undefined"!=typeof globalThis&&globalThis.harmonyChannel||console.error(e.message+"\n"+e.stack),e.message):e}(t),n)})}}function Lu(e,t,n,o){return Tu(e,Ou(e,t,0,o))}function $u(e,t,n,o){return function(e,t,n,o){return(...e)=>{const n=Eu(0,e,0,o);if(n)throw new Error(n);return t.apply(null,e)}}(0,t,0,o)}function Au(e,t,n,o){return Tu(e,function(e,t,n,o){return Ou(e,t,0,o)}(e,t,0,o))}let Pu=!1,Ru=0,Bu=0,ju=960,Nu=375,Iu=750;function Mu(){let e,t,n;{const{windowWidth:o,pixelRatio:r,platform:i}=function(){const e=Zf(),t=td(ed(e,Qf(e)));return{platform:Kf?"ios":"other",pixelRatio:window.devicePixelRatio,windowWidth:t}}();e=o,t=r,n=i}Ru=e,Bu=t,Pu="ios"===n}function Hu(e,t){const n=Number(e);return isNaN(n)?t:n}const Vu=$u(0,((e,t)=>{if(0===Ru&&(Mu(),function(){const e=__uniConfig.globalStyle||{};ju=Hu(e.rpxCalcMaxDeviceWidth,960),Nu=Hu(e.rpxCalcBaseDeviceWidth,375),Iu=Hu(e.rpxCalcBaseDeviceWidth,750)}()),0===(e=Number(e)))return 0;let n=t||Ru;n=e===Iu||n<=ju?n:Nu;let o=e/750*n;return o<0&&(o=-o),o=Math.floor(o+1e-4),0===o&&(o=1!==Bu&&Pu?.5:1),e<0?-o:o})),Fu=$u(0,(()=>{const e=cp();return e&&e.$vm?e.$vm.$locale:cl().getLocale()})),Wu={onUnhandledRejection:[],onPageNotFound:[],onError:[],onShow:[],onHide:[]};const Du="json",qu=["text","arraybuffer"],Uu=encodeURIComponent;ArrayBuffer,Boolean;const zu={formatArgs:{method(e,t){t.method=iu((e||"").toUpperCase(),ru)},data(e,t){t.data=e||""},url(e,t){t.method===ru[0]&&w(t.data)&&Object.keys(t.data).length&&(t.url=function(e,t){let n=e.split("#");const o=n[1]||"";n=n[0].split("?");let r=n[1]||"";e=n[0];const i=r.split("&").filter((e=>e)),s={};i.forEach((e=>{const t=e.split("=");s[t[0]]=t[1]}));for(const a in t)if(u(t,a)){let e=t[a];null==e?e="":w(e)&&(e=JSON.stringify(e)),s[Uu(a)]=Uu(e)}return r=Object.keys(s).map((e=>`${e}=${s[e]}`)).join("&"),e+(r?"?"+r:"")+(o?"#"+o:"")}(e,t.data))},header(e,t){const n=t.header=e||{};t.method!==ru[0]&&(Object.keys(n).find((e=>"content-type"===e.toLowerCase()))||(n["Content-Type"]="application/json"))},dataType(e,t){t.dataType=(e||Du).toLowerCase()},responseType(e,t){t.responseType=(e||"").toLowerCase(),-1===qu.indexOf(t.responseType)&&(t.responseType="text")}}};const Ku={url:{type:String,required:!0}},Xu=(Zu(["slide-in-right","slide-in-left","slide-in-top","slide-in-bottom","fade-in","zoom-out","zoom-fade-out","pop-in","none"]),Zu(["slide-out-right","slide-out-left","slide-out-top","slide-out-bottom","fade-out","zoom-in","zoom-fade-in","pop-out","none"]),tf("navigateTo")),Yu=tf("redirectTo"),Ju=tf("reLaunch"),Gu={formatArgs:{delta(e,t){e=parseInt(e+"")||1,t.delta=Math.min(Of().length-1,e)}}};function Zu(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 Qu;function ef(){Qu=""}function tf(e){return{formatArgs:{url:nf(e)},beforeAll:ef}}function nf(e){return function(t,n){if(!t)return'Missing required args: "url"';const o=(t=function(e){if(0===e.indexOf("/")||0===e.indexOf("uni:"))return e;let t="";const n=Of();return n.length&&(t=Kl(n[n.length-1]).route),fc(t,e)}(t)).split("?")[0],r=dc(o,!0);if(!r)return"page `"+t+"` is not found";if("navigateTo"===e||"redirectTo"===e){if(r.meta.isTabBar)return`can not ${e} a tabbar page`}else if("switchTab"===e&&!r.meta.isTabBar)return"can not switch to no-tabBar page";if("switchTab"!==e&&"preloadPage"!==e||!r.meta.isTabBar||"appLaunch"===n.openType||(t=o),r.meta.isEntry&&(t=t.replace(r.alias,"/")),n.url=function(e){if(!g(e))return e;const t=e.indexOf("?");if(-1===t)return e;const n=e.slice(t+1).trim().replace(/^(\?|#|&)/,"");if(!n)return e;e=e.slice(0,t);const o=[];return n.split("&").forEach((e=>{const t=e.replace(/\+/g," ").split("="),n=t.shift(),r=t.length>0?t.join("="):"";o.push(n+"="+encodeURIComponent(r))})),o.length?e+"?"+o.join("&"):e}(t),"unPreloadPage"!==e)if("preloadPage"!==e){if(Qu===t&&"appLaunch"!==n.openType)return`${Qu} locked`;__uniConfig.ready&&(Qu=t)}else if(r.meta.isTabBar){const e=Of(),t=r.path.slice(1);if(e.find((e=>e.route===t)))return"tabBar page `"+t+"` already exists"}}}Boolean;const of={formatArgs:{title:"",mask:!1}},rf=(Boolean,{beforeInvoke(){hl()},formatArgs:{title:"",content:"",placeholderText:"",showCancel:!0,editable:!1,cancelText(e,t){if(!u(t,"cancelText")){const{t:e}=cl();t.cancelText=e("uni.showModal.cancel")}},cancelColor:"#000",confirmText(e,t){if(!u(t,"confirmText")){const{t:e}=cl();t.confirmText=e("uni.showModal.confirm")}},confirmColor:"#007aff"}}),sf=["success","loading","none","error"],af=(Boolean,{formatArgs:{title:"",icon(e,t){t.icon=iu(e,sf)},image(e,t){t.image=e?qf(e):""},duration:1500,mask:!1}});function lf(e,t){return e===t.fullPath||"/"===e&&t.meta.isEntry}function cf(){const e=Ql();if(!e)return;const t=wf(e);$f(Rf(t.path,t.id))}const uf=Au("redirectTo",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(xf.handledBeforeEntryPageRoutes)return cf(),pf({type:"redirectTo",url:e,isAutomatedTesting:t}).then(n).catch(o);Tf.push({args:{type:"redirectTo",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,Yu);function ff(){const e=Ef().keys();for(const t of e)$f(t)}const df=Au("reLaunch",(({url:e,isAutomatedTesting:t},{resolve:n,reject:o})=>{if(xf.handledBeforeEntryPageRoutes)return ff(),pf({type:"reLaunch",url:e,isAutomatedTesting:t}).then(n).catch(o);kf.push({args:{type:"reLaunch",url:e,isAutomatedTesting:t},resolve:n,reject:o})}),0,Ju);function pf({type:e,url:t,tabBarText:n,events:o,isAutomatedTesting:r},i){const s=cp().$router,{path:a,query:l}=function(e){const[t,n]=e.split("?",2);return{path:t,query:ye(n||"")}}(t);return new Promise(((t,c)=>{const u=function(e,t){return{__id__:t||++Af,__type__:e}}(e,i);s["navigateTo"===e?"push":"replace"]({path:a,query:l,state:u,force:!0}).then((i=>{if(va(i))return c(i.message);if("switchTab"===e&&(s.currentRoute.value.meta.tabBarText=n),"navigateTo"===e){const e=s.currentRoute.value.meta;return e.eventChannel?o&&(Object.keys(o).forEach((t=>{e.eventChannel._addListener(t,"on",o[t])})),e.eventChannel._clearCache()):e.eventChannel=new _e(u.__id__,o),t(r?{__id__:u.__id__}:{eventChannel:e.eventChannel})}return r?t({__id__:u.__id__}):t()}))}))}function hf(){if(xf.handledBeforeEntryPageRoutes)return;xf.handledBeforeEntryPageRoutes=!0;const e=[...Sf];Sf.length=0,e.forEach((({args:e,resolve:t,reject:n})=>pf(e).then(t).catch(n)));const t=[...Cf];Cf.length=0,t.forEach((({args:e,resolve:t,reject:n})=>(function(){const e=nc();if(!e)return;const t=Ef(),n=t.keys();for(const o of n){const e=t.get(o);e.$.__isTabBar?e.$.__isActive=!1:$f(o)}e.$.__isTabBar&&(e.$.__isVisible=!1,sc(e,"onHide"))}(),pf(e,function(e){const t=Ef().values();for(const n of t){const t=wf(n);if(lf(e,t))return n.$.__isActive=!0,t.id}}(e.url)).then(t).catch(n))));const n=[...Tf];Tf.length=0,n.forEach((({args:e,resolve:t,reject:n})=>(cf(),pf(e).then(t).catch(n))));const o=[...kf];kf.length=0,o.forEach((({args:e,resolve:t,reject:n})=>(ff(),pf(e).then(t).catch(n))))}function gf(e){const t=window.CSS&&window.CSS.supports;return t&&(t(e)||t.apply(window.CSS,e.split(":")))}const mf=gf("top:env(a)"),vf=gf("top:constant(a)"),yf=(()=>mf?"env":vf?"constant":"")();function bf(e){var t,n;Ul({"--window-top":(n=0,yf?`calc(${n}px + ${yf}(safe-area-inset-top))`:`${n}px`),"--window-bottom":(t=0,yf?`calc(${t}px + ${yf}(safe-area-inset-bottom))`:`${t}px`)})}const _f=new Map;function wf(e){return e.$page}const xf={handledBeforeEntryPageRoutes:!1},Sf=[],Cf=[],Tf=[],kf=[];function Ef(){return _f}function Of(){return Lf()}function Lf(){const e=[],t=_f.values();for(const n of t)n.$.__isTabBar?n.$.__isActive&&e.push(n):e.push(n);return e}function $f(e,t=!0){const n=_f.get(e);n.$.__isUnload=!0,sc(n,"onUnload"),_f.delete(e),t&&function(e){const t=Bf.get(e);t&&(Bf.delete(e),jf.pruneCacheEntry(t))}(e)}let Af=ou();function Pf(e){const t=function(e){const t=eu();let n=e.fullPath;return e.meta.isEntry&&-1===n.indexOf(e.meta.route)&&(n="/"+e.meta.route+n.replace("/","")),ic("navigateTo",n,{},t)}(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),_f.set(Rf(t.path,t.id),e),1===_f.size&&setTimeout((()=>{hf()}),0)}function Rf(e,t){return e+"$$"+t}const Bf=new Map,jf={get:e=>Bf.get(e),set(e,t){!function(e){const t=parseInt(e.split("$$")[1]);if(!t)return;jf.forEach(((e,n)=>{const o=parseInt(n.split("$$")[1]);o&&o>t&&(jf.delete(n),jf.pruneCacheEntry(e),bn((()=>{_f.forEach(((e,t)=>{e.$.isUnmounted&&_f.delete(t)}))})))}))}(e),Bf.set(e,t)},delete(e){Bf.get(e)&&Bf.delete(e)},forEach(e){Bf.forEach(e)}};function Nf(e,t){!function(e){const t=Mf(e),{body:n}=document;Hf&&n.removeAttribute(Hf),t&&n.setAttribute(t,""),Hf=t}(e),bf(),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),Wf(e,t)}function If(e){const t=Mf(e);t&&function(e){const t=document.querySelector("uni-page-body");t&&t.setAttribute(e,"")}(t)}function Mf(e){return e.type.__scopeId}let Hf;const Vf=!!(()=>{let e=!1;try{const t={};Object.defineProperty(t,"passive",{get(){e=!0}}),window.addEventListener("test-passive",(()=>{}),t)}catch(t){}return e})()&&{passive:!1};let Ff;function Wf(e,t){if(document.removeEventListener("touchmove",ac),Ff&&document.removeEventListener("scroll",Ff),t.disableScroll)return document.addEventListener("touchmove",ac,Vf);const{onPageScroll:n,onReachBottom:o}=e,r="transparent"===t.navigationBar.type;if(!(null==n?void 0:n.length)&&!(null==o?void 0:o.length)&&!r)return;const i={},s=wf(e.proxy).id;(n||r)&&(i.onPageScroll=function(e,t,n){return o=>{t&&yh.publishHandler("onPageScroll",{scrollTop:o},e),n&&yh.emit(e+".onPageScroll",{scrollTop:o})}}(s,n,r)),(null==o?void 0:o.length)&&(i.onReachBottomDistance=t.onReachBottomDistance||50,i.onReachBottom=()=>yh.publishHandler("onReachBottom",{},s)),Ff=uc(i),requestAnimationFrame((()=>document.addEventListener("scroll",Ff)))}function Df(e){const{base:t}=__uniConfig.router;return 0===te(e).indexOf(t)?te(e):t+e}function qf(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 Df(e.slice(1));e="https:"+e}if(Z.test(e)||Q.test(e)||0===e.indexOf("blob:"))return e;const o=Lf();return o.length?Df(fc(wf(o[o.length-1]).route,e).slice(1)):e}const Uf=navigator.userAgent,zf=/android/i.test(Uf),Kf=/iphone|ipad|ipod/i.test(Uf),Xf=Uf.match(/Windows NT ([\d|\d.\d]*)/i),Yf=/Macintosh|Mac/i.test(Uf),Jf=/Linux|X11/i.test(Uf),Gf=Yf&&navigator.maxTouchPoints>0;function Zf(){return/^Apple/.test(navigator.vendor)&&"number"==typeof window.orientation}function Qf(e){return e&&90===Math.abs(window.orientation)}function ed(e,t){return e?Math[t?"max":"min"](screen.width,screen.height):screen.width}function td(e){return Math.min(window.innerWidth,document.documentElement.clientWidth,e)||e}const nd=jc(),od=jc();const rd=Hc({name:"ResizeSensor",props:{initial:{type:Boolean,default:!1}},emits:["resize"],setup(e,{emit:t}){const n=Qt(null),o=function(e){return()=>{const{firstElementChild:t,lastElementChild:n}=e.value;t.scrollLeft=1e5,t.scrollTop=1e5,n.scrollLeft=1e5,n.scrollTop=1e5}}(n),r=function(e,t,n){const o=It({width:-1,height:-1});return Xn((()=>a({},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){xo(o),Ro((()=>{t.initial&&bn(n);const r=e.value;r.offsetParent!==r.parentElement&&(r.parentElement.style.position="relative"),"AnimationEvent"in window||o()}))}(n,e,r,o),()=>Gr("uni-resize-sensor",{ref:n,onAnimationstartOnce:r},[Gr("div",{onScroll:r},[Gr("div",null,null)],40,["onScroll"]),Gr("div",{onScroll:r},[Gr("div",null,null)],40,["onScroll"])],40,["onAnimationstartOnce"])}});function id(){}const sd={cursorSpacing:{type:[Number,String],default:0},showConfirmBar:{type:[Boolean,String],default:"auto"},adjustPosition:{type:[Boolean,String],default:!0},autoBlur:{type:[Boolean,String],default:!1}};function ad(e,t,n){function o(e){const t=_i((()=>0===String(navigator.vendor).indexOf("Apple")));e.addEventListener("focus",(()=>{clearTimeout(undefined),document.addEventListener("click",id,!1)}));e.addEventListener("blur",(()=>{t.value&&e.blur(),document.removeEventListener("click",id,!1),t.value&&document.documentElement.scrollTo(document.documentElement.scrollLeft,document.documentElement.scrollTop)}))}Xn((()=>t.value),(e=>e&&o(e)))}const ld={src:{type:String,default:""},mode:{type:String,default:"scaleToFill"},lazyLoad:{type:[Boolean,String],default:!1},draggable:{type:Boolean,default:!1}},cd={widthFix:["offsetWidth","height",(e,t)=>e/t],heightFix:["offsetHeight","width",(e,t)=>e*t]},ud={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"]},fd=Hc({name:"Image",props:ld,setup(e,{emit:t}){const n=Qt(null),o=function(e,t){const n=Qt(""),o=_i((()=>{let e="auto",o="";const r=ud[t.mode];return r?(r[0]&&(o=r[0]),r[1]&&(e=r[1])):(o="0% 0%",e="100% 100%"),`background-image:${n.value?'url("'+n.value+'")':"none"};background-position:${o};background-size:${e};`})),r=It({rootEl:e,src:_i((()=>t.src?qf(t.src):"")),origWidth:0,origHeight:0,origStyle:{width:"",height:""},modeStyle:o,imgSrc:n});return Ro((()=>{const t=e.value;r.origWidth=t.clientWidth||0,r.origHeight=t.clientHeight||0})),r}(n,e),r=Wc(n,t),{fixSize:i}=function(e,t,n){const o=()=>{const{mode:o}=t,r=cd[o];if(!r)return;const{origWidth:i,origHeight:s}=n,a=i&&s?i/s:0;if(!a)return;const l=e.value,c=l[r[0]];c&&(l.style[r[1]]=function(e){dd&&e>10&&(e=2*Math.round(e/2));return e}(r[2](c,a))+"px")},r=()=>{const{style:t}=e.value,{origStyle:{width:o,height:r}}=n;t.width=o,t.height=r};return Xn((()=>t.mode),((e,t)=>{cd[t]&&r(),cd[e]&&o()})),{fixSize:o,resetSize:r}}(n,e,o);return function(e,t,n,o,r){let i,s;const a=(t=0,n=0,o="")=>{e.origWidth=t,e.origHeight=n,e.imgSrc=o},l=l=>{if(!l)return c(),void a();i=i||new Image,i.onload=e=>{const{width:u,height:f}=i;a(u,f,l),bn((()=>{o()})),i.draggable=t.draggable,s&&s.remove(),s=i,n.value.appendChild(i),c(),r("load",e,{width:u,height:f})},i.onerror=t=>{a(),c(),r("error",t,{errMsg:`GET ${e.src} 404 (Not Found)`})},i.src=l},c=()=>{i&&(i.onload=null,i.onerror=null,i=null)};Xn((()=>e.src),(e=>l(e))),Xn((()=>e.imgSrc),(e=>{!e&&s&&(s.remove(),s=null)})),Ro((()=>l(e.src))),No((()=>c()))}(o,e,n,i,r),()=>Gr("uni-image",{ref:n},[Gr("div",{style:o.modeStyle},null,4),cd[e.mode]?Gr(rd,{onResize:i},null,8,["onResize"]):Gr("span",null,null)],512)}});const dd="Google Inc."===navigator.vendor;const pd=pe(!0),hd=[];let gd=0,md=!1;const vd=e=>hd.forEach((t=>t.userAction=e));function yd(){const e=It({userAction:!1});return Ro((()=>{!function(e={userAction:!1}){md||(["touchstart","touchmove","touchend","mousedown","mouseup"].forEach((e=>{document.addEventListener(e,(function(){!gd&&vd(!0),gd++,setTimeout((()=>{!--gd&&vd(!1)}),0)}),pd)})),md=!0);hd.push(e)}(e)})),No((()=>{!function(e){const t=hd.indexOf(e);t>=0&&hd.splice(t,1)}(e)})),{state:e}}function bd(e,t){const n=document.activeElement;if(!n)return t({});const o={};["input","textarea"].includes(n.tagName.toLowerCase())&&(o.start=n.selectionStart,o.end=n.selectionEnd),t(o)}const _d=function(){var e,t,n;e=tc(),n=bd,t=yl(e,t="getSelectedTextRange"),vl[t]||(vl[t]=n)};function wd(e,t,n){"number"===t&&isNaN(Number(e))&&(e="");return null==e?"":String(e)}const xd=["none","text","decimal","numeric","tel","search","email","url"],Sd=a({},{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=>!!~xd.indexOf(e)},cursorColor:{type:String,default:""}},sd),Cd=["input","focus","blur","update:value","update:modelValue","update:focus","compositionstart","compositionupdate","compositionend","keyboardheightchange"];function Td(e,t,n,o){let r=null;r=be((n=>{t.value=wd(n,e.type)}),100,{setTimeout:setTimeout,clearTimeout:clearTimeout}),Xn((()=>e.modelValue),r),Xn((()=>e.value),r);const i=function(e,t){let n,o,r=0;const i=function(...i){const s=Date.now();clearTimeout(n),o=()=>{o=null,r=s,e.apply(this,i)},s-r{r.cancel(),n("update:modelValue",t.value),n("update:value",t.value),o("input",e,t)}),100);return Po((()=>{r.cancel(),i.cancel()})),{trigger:o,triggerInput:(e,t,n)=>{r.cancel(),i(e,t),n&&i.flush()}}}function kd(e,t){yd();const n=_i((()=>e.autoFocus||e.focus));function o(){if(!n.value)return;const e=t.value;e?e.focus():setTimeout(o,100)}Xn((()=>e.focus),(e=>{e?o():function(){const e=t.value;e&&e.blur()}()})),Ro((()=>{n.value&&bn(o)}))}function Ed(e,t,n,o){_d();const{fieldRef:r,state:i,trigger:s}=function(e,t,n){const o=Qt(null),r=Wc(t,n),i=_i((()=>{const t=Number(e.selectionStart);return isNaN(t)?-1:t})),s=_i((()=>{const t=Number(e.selectionEnd);return isNaN(t)?-1:t})),a=_i((()=>{const t=Number(e.cursor);return isNaN(t)?-1:t})),l=_i((()=>{var t=Number(e.maxlength);return isNaN(t)?140:t}));let c="";c=wd(e.modelValue,e.type)||wd(e.value,e.type);const u=It({value:c,valueOrigin:c,maxlength:l,focus:e.focus,composing:!1,selectionStart:i,selectionEnd:s,cursor:a});return Xn((()=>u.focus),(e=>n("update:focus",e))),Xn((()=>u.maxlength),(e=>u.value=u.value.slice(0,e)),{immediate:!1}),{fieldRef:o,state:u,trigger:r}}(e,t,n),{triggerInput:a}=Td(e,i,n,s);kd(e,r),ad(0,r);const{state:l}=function(){const e=It({attrs:{}});return Ro((()=>{let t=ci();for(;t;){const n=t.type.__scopeId;n&&(e.attrs[n]=""),t=t.proxy&&"page"===t.proxy.$mpType?null:t.parent}})),{state:e}}();!function(e,t){const n=pr(zc,!1);if(!n)return;const o=ci(),r={submit(){const n=o.proxy;return[n[e],g(t)?n[t]:t.value]},reset(){g(t)?o.proxy[t]="":t.value=""}};n.addField(r),No((()=>{n.removeField(r)}))}("name",i),function(e,t,n,o,r,i){function s(){const n=e.value;n&&t.focus&&t.selectionStart>-1&&t.selectionEnd>-1&&"number"!==n.type&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd)}function a(){const n=e.value;n&&t.focus&&t.selectionStart<0&&t.selectionEnd<0&&t.cursor>-1&&"number"!==n.type&&(n.selectionEnd=n.selectionStart=t.cursor)}function l(e){return"number"===e.type?null:e.selectionEnd}Xn([()=>t.selectionStart,()=>t.selectionEnd],s),Xn((()=>t.cursor),a),Xn((()=>e.value),(function(){const c=e.value;if(!c)return;const u=function(e,o){e.stopPropagation(),h(i)&&!1===i(e,t)||(t.value=c.value,t.composing&&n.ignoreCompositionEvent||r(e,{value:c.value,cursor:l(c)},o))};function f(e){n.ignoreCompositionEvent||o(e.type,e,{value:e.data})}c.addEventListener("change",(e=>e.stopPropagation())),c.addEventListener("focus",(function(e){t.focus=!0,o("focus",e,{value:t.value}),s(),a()})),c.addEventListener("blur",(function(e){t.composing&&(t.composing=!1,u(e,!0)),t.focus=!1,o("blur",e,{value:t.value,cursor:l(e.target)})})),c.addEventListener("input",u),c.addEventListener("compositionstart",(e=>{e.stopPropagation(),t.composing=!0,f(e)})),c.addEventListener("compositionend",(e=>{e.stopPropagation(),t.composing&&(t.composing=!1,u(e)),f(e)})),c.addEventListener("compositionupdate",f)}))}(r,i,e,s,a,o);return{fieldRef:r,state:i,scopedAttrsState:l,fixDisabledColor:0===String(navigator.vendor).indexOf("Apple")&&CSS.supports("image-orientation:from-image"),trigger:s}}const Od=a({},Sd,{placeholderClass:{type:String,default:"input-placeholder"},textContentType:{type:String,default:""}}),Ld=ne((()=>{{const e=navigator.userAgent;let t="";const n=e.match(/OS\s([\w_]+)\slike/);if(n)t=n[1].replace(/_/g,".");else if(/Macintosh|Mac/i.test(e)&&navigator.maxTouchPoints>0){const n=e.match(/Version\/(\S*)\b/);n&&(t=n[1])}return!!t&&parseInt(t)>=16&&parseFloat(t)<17.2}}));function $d(e,t,n,o,r){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+=".",r&&(r.fn=()=>{n.value=o.value=t.value=t.value.slice(0,-1),o.removeEventListener("blur",r.fn)},o.addEventListener("blur",r.fn)),!1}else if("deleteContentBackward"===e.inputType&&Ld()&&"."===t.value.slice(-2,-1))return t.value=n.value=o.value=t.value.slice(0,-2),!0}const Ad=Hc({name:"Input",props:Od,emits:["confirm",...Cd],setup(e,{emit:t,expose:n}){const o=["text","number","idcard","digit","password","tel"],r=["off","one-time-code"],i=_i((()=>{let t="";switch(e.type){case"text":t="text","search"===e.confirmType&&(t="search");break;case"idcard":t="text";break;case"digit":t="number";break;default:t=o.includes(e.type)?e.type:"text"}return e.password?"password":t})),s=_i((()=>{const t=r.indexOf(e.textContentType),n=r.indexOf(O(e.textContentType));return r[-1!==t?t:-1!==n?n:0]}));let a=function(e,t){if("number"===t.value){const t=void 0===e.modelValue?e.value:e.modelValue,n=Qt(null!=t?t.toLocaleString():"");return Xn((()=>e.modelValue),(e=>{n.value=null!=e?e.toLocaleString():""})),Xn((()=>e.value),(e=>{n.value=null!=e?e.toLocaleString():""})),n}return Qt("")}(e,i),l={fn:null};const c=Qt(null),{fieldRef:u,state:f,scopedAttrsState:d,fixDisabledColor:p,trigger:h}=Ed(e,c,t,((t,n)=>{const o=t.target;if("number"===i.value){if(l.fn&&(o.removeEventListener("blur",l.fn),l.fn=null),o.validity&&!o.validity.valid){if((!a.value||!o.value)&&"-"===t.data||"-"===a.value[0]&&"deleteContentBackward"===t.inputType)return a.value="-",n.value="",l.fn=()=>{a.value=o.value=""},o.addEventListener("blur",l.fn),!1;const e=$d(t,a,n,o,l);return"boolean"==typeof e?e:(a.value=n.value=o.value="-"===a.value?"":a.value,!1)}{const e=$d(t,a,n,o,l);if("boolean"==typeof e)return e;a.value=o.value}const r=n.maxlength;if(r>0&&o.value.length>r){o.value=o.value.slice(0,r),n.value=o.value;return(void 0!==e.modelValue&&null!==e.modelValue?e.modelValue.toString():"")!==o.value}}}));Xn((()=>f.value),(t=>{"number"!==e.type||"-"===a.value&&""===t||(a.value=t.toString())}));const g=["number","digit"],m=_i((()=>g.includes(e.type)?e.step:""));function v(t){if("Enter"!==t.key)return;const n=t.target;t.stopPropagation(),h("confirm",t,{value:n.value}),!e.confirmHold&&n.blur()}return n({$triggerInput:e=>{t("update:modelValue",e.value),t("update:value",e.value),f.value=e.value}}),()=>{let t=e.disabled&&p?Gr("input",{key:"disabled-input",ref:u,value:f.value,tabindex:"-1",readonly:!!e.disabled,type:i.value,maxlength:f.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"]):Gr("input",{key:"input",ref:u,value:f.value,onInput:e=>{f.value=e.target.value.toString()},disabled:!!e.disabled,type:i.value,maxlength:f.maxlength,step:m.value,enterkeyhint:e.confirmType,pattern:"number"===e.type?"[0-9]*":void 0,class:"uni-input-input",style:e.cursorColor?{caretColor:e.cursorColor}:{},autocomplete:s.value,onKeyup:v,inputmode:e.inputmode},null,44,["value","onInput","disabled","type","maxlength","step","enterkeyhint","pattern","autocomplete","onKeyup","inputmode"]);return Gr("uni-input",{ref:c},[Gr("div",{class:"uni-input-wrapper"},[Qn(Gr("div",ri(d.attrs,{style:e.placeholderStyle,class:["uni-input-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Wi,!(f.value.length||"-"===a.value||a.value.includes("."))]]),"search"===e.confirmType?Gr("form",{action:"",onSubmit:e=>e.preventDefault(),class:"uni-input-form"},[t],40,["onSubmit"]):t])],512)}}}),Pd=Hc({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=Qt(null),o=_i((()=>{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})),r=_i((()=>{const t=e.refresherHeight/e.refresherThreshold;return 360*(t>1?1:t)}));return()=>{const{refreshState:i,refresherDefaultStyle:s,refresherThreshold:a}=e;return Gr("div",{ref:n,style:o.value,class:"uni-scroll-view-refresher"},["none"!==s?Gr("div",{class:"uni-scroll-view-refresh"},[Gr("div",{class:"uni-scroll-view-refresh-inner"},["pulling"==i?Gr("svg",{key:"refresh__icon",style:{transform:"rotate("+r.value+"deg)"},fill:"#2BD009",class:"uni-scroll-view-refresh__icon",width:"24",height:"24",viewBox:"0 0 24 24"},[Gr("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),Gr("path",{d:"M0 0h24v24H0z",fill:"none"},null)],4):null,"refreshing"==i?Gr("svg",{key:"refresh__spinner",class:"uni-scroll-view-refresh__spinner",width:"24",height:"24",viewBox:"25 25 50 50"},[Gr("circle",{cx:"50",cy:"50",r:"20",fill:"none",style:"color: #2bd009","stroke-width":"3"},null)]):null])]):null,"none"===s?Gr("div",{class:"uni-scroll-view-refresher-container",style:{height:`${a}px`}},[t.default&&t.default()]):null],4)}}}),Rd=pe(!0),Bd=Hc({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 r=Qt(null),i=Qt(null),s=Qt(null),a=Qt(null),l=Wc(r,t),{state:c,scrollTopNumber:u,scrollLeftNumber:f}=function(e){const t=_i((()=>Number(e.scrollTop)||0)),n=_i((()=>Number(e.scrollLeft)||0));return{state:It({lastScrollTop:t.value,lastScrollLeft:n.value,lastScrollToUpperTime:0,lastScrollToLowerTime:0,refresherHeight:0,refreshState:""}),scrollTopNumber:t,scrollLeftNumber:n}}(e),{realScrollX:d,realScrollY:p,_scrollLeftChanged:h,_scrollTopChanged:g}=function(e,t,n,o,r,i,s,a,l){let c=!1,u=0,f=!1,d=()=>{};const p=_i((()=>e.scrollX)),h=_i((()=>e.scrollY)),g=_i((()=>{let t=Number(e.upperThreshold);return isNaN(t)?50:t})),m=_i((()=>{let t=Number(e.lowerThreshold);return isNaN(t)?50:t}));function v(e,t){const n=s.value;let o=0,r="";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 i=a.value;i.style.transition="transform .3s ease-out",i.style.webkitTransition="-webkit-transform .3s ease-out","x"===t?r="translateX("+o+"px) translateZ(0)":"y"===t&&(r="translateY("+o+"px) translateZ(0)"),i.removeEventListener("transitionend",d),i.removeEventListener("webkitTransitionEnd",d),d=()=>x(e,t),i.addEventListener("transitionend",d),i.addEventListener("webkitTransitionEnd",d),"x"===t?n.style.overflowX="hidden":"y"===t&&(n.style.overflowY="hidden"),i.style.transform=r,i.style.webkitTransform=r}function y(e){const n=e.target;r("scroll",e,{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollHeight:n.scrollHeight,scrollWidth:n.scrollWidth,deltaX:t.lastScrollLeft-n.scrollLeft,deltaY:t.lastScrollTop-n.scrollTop}),h.value&&(n.scrollTop<=g.value&&t.lastScrollTop-n.scrollTop>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("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&&(r("scrolltolower",e,{direction:"bottom"}),t.lastScrollToLowerTime=e.timeStamp)),p.value&&(n.scrollLeft<=g.value&&t.lastScrollLeft-n.scrollLeft>0&&e.timeStamp-t.lastScrollToUpperTime>200&&(r("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&&(r("scrolltolower",e,{direction:"right"}),t.lastScrollToLowerTime=e.timeStamp)),t.lastScrollTop=n.scrollTop,t.lastScrollLeft=n.scrollLeft}function b(t){h.value&&(e.scrollWithAnimation?v(t,"y"):s.value.scrollTop=t)}function _(t){p.value&&(e.scrollWithAnimation?v(t,"x"):s.value.scrollLeft=t)}function w(t){if(t){if(!/^[_a-zA-Z][-_a-zA-Z0-9:]*$/.test(t))return void console.error(`id error: scroll-into-view=${t}`);let n=i.value.querySelector("#"+t);if(n){let t=s.value.getBoundingClientRect(),o=n.getBoundingClientRect();if(p.value){let n=o.left-t.left,r=s.value.scrollLeft+n;e.scrollWithAnimation?v(r,"x"):s.value.scrollLeft=r}if(h.value){let n=o.top-t.top,r=s.value.scrollTop+n;e.scrollWithAnimation?v(r,"y"):s.value.scrollTop=r}}}}function x(e,t){a.value.style.transition="",a.value.style.webkitTransition="",a.value.style.transform="",a.value.style.webkitTransform="";let n=s.value;"x"===t?(n.style.overflowX=p.value?"auto":"hidden",n.scrollLeft=e):"y"===t&&(n.style.overflowY=h.value?"auto":"hidden",n.scrollTop=e),a.value.removeEventListener("transitionend",d),a.value.removeEventListener("webkitTransitionEnd",d)}function S(n){if(e.refresherEnabled){switch(n){case"refreshing":t.refresherHeight=e.refresherThreshold,c||(c=!0,r("refresherpulling",{},{deltaY:t.refresherHeight,dy:t.refresherHeight}),r("refresherrefresh",{},{dy:T.y-C.y}),l("update:refresherTriggered",!0));break;case"restore":case"refresherabort":c=!1,t.refresherHeight=u=0,"restore"===n&&(f=!1,r("refresherrestore",{},{dy:T.y-C.y})),"refresherabort"===n&&f&&(f=!1,r("refresherabort",{},{dy:T.y-C.y}))}t.refreshState=n}}let C={x:0,y:0},T={x:0,y:e.refresherThreshold};return Ro((()=>{bn((()=>{b(n.value),_(o.value)})),w(e.scrollIntoView);let i=function(e){e.preventDefault(),e.stopPropagation(),y(e)},a=null,l=function(n){if(null===C)return;let o=n.touches[0].pageX,i=n.touches[0].pageY,l=s.value;if(Math.abs(o-C.x)>Math.abs(i-C.y))if(p.value){if(0===l.scrollLeft&&o>C.x)return void(a=!1);if(l.scrollWidth===l.offsetWidth+l.scrollLeft&&oC.y)a=!1,e.refresherEnabled&&!1!==n.cancelable&&n.preventDefault();else{if(l.scrollHeight===l.offsetHeight+l.scrollTop&&i0&&(f=!0,r("refresherpulling",n,{deltaY:o,dy:o})))}},d=function(e){1===e.touches.length&&(C={x:e.touches[0].pageX,y:e.touches[0].pageY})},g=function(n){T={x:n.changedTouches[0].pageX,y:n.changedTouches[0].pageY},t.refresherHeight>=e.refresherThreshold?S("refreshing"):S("refresherabort"),C={x:0,y:0},T={x:0,y:e.refresherThreshold}};s.value.addEventListener("touchstart",d,Rd),s.value.addEventListener("touchmove",l,pe(!1)),s.value.addEventListener("scroll",i,pe(!1)),s.value.addEventListener("touchend",g,Rd),No((()=>{s.value.removeEventListener("touchstart",d),s.value.removeEventListener("touchmove",l),s.value.removeEventListener("scroll",i),s.value.removeEventListener("touchend",g)}))})),xo((()=>{h.value&&(s.value.scrollTop=t.lastScrollTop),p.value&&(s.value.scrollLeft=t.lastScrollLeft)})),Xn(n,(e=>{b(e)})),Xn(o,(e=>{_(e)})),Xn((()=>e.scrollIntoView),(e=>{w(e)})),Xn((()=>e.refresherTriggered),(e=>{!0===e?S("refreshing"):!1===e&&S("restore")})),{realScrollX:p,realScrollY:h,_scrollTopChanged:b,_scrollLeftChanged:_}}(e,c,u,f,l,r,i,a,t),m=_i((()=>{let e="";return d.value?e+="overflow-x:auto;":e+="overflow-x:hidden;",p.value?e+="overflow-y:auto;":e+="overflow-y:hidden;",e})),v=_i((()=>{let t="uni-scroll-view";return!1===e.showScrollbar&&(t+=" uni-scroll-view-scrollbar-hidden"),t}));return o({$getMain:()=>i.value}),()=>{const{refresherEnabled:t,refresherBackground:o,refresherDefaultStyle:l,refresherThreshold:u}=e,{refresherHeight:f,refreshState:d}=c;return Gr("uni-scroll-view",{ref:r},[Gr("div",{ref:s,class:"uni-scroll-view"},[Gr("div",{ref:i,style:m.value,class:v.value},[t?Gr(Pd,{refreshState:d,refresherHeight:f,refresherThreshold:u,refresherDefaultStyle:l,refresherBackground:o},{default:()=>["none"==l?n.refresher&&n.refresher():null]},8,["refreshState","refresherHeight","refresherThreshold","refresherDefaultStyle","refresherBackground"]):null,Gr("div",{ref:a,class:"uni-scroll-view-content"},[n.default&&n.default()],512)],6)],512)],512)}}});const jd={ensp:" ",emsp:" ",nbsp:" "};function Nd(e,t){return function(e,{space:t,decode:n}){let o="",r=!1;for(let i of e)t&&jd[t]&&" "===i&&(i=jd[t]),r?(o+="n"===i?"\n":"\\"===i?"\\":"\\"+i,r=!1):"\\"===i?r=!0:o+=i;return n?o.replace(/ /g,jd.nbsp).replace(/ /g,jd.ensp).replace(/ /g,jd.emsp).replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'"):o}(e,t).split("\n")}const Id=Hc({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=Qt(null);return()=>{const o=[];return t.default&&t.default().forEach((t=>{if(8&t.shapeFlag&&t.type!==jr){const n=Nd(t.children,{space:e.space,decode:e.decode}),r=n.length-1;n.forEach(((e,t)=>{(0!==t||e)&&o.push(Qr(e)),t!==r&&o.push(Gr("br"))}))}else o.push(t)})),Gr("uni-text",{ref:n,selectable:!!e.selectable||null},[Gr("span",null,o)],8,["selectable"])}}}),Md=a({},Sd,{placeholderClass:{type:String,default:"input-placeholder"},autoHeight:{type:[Boolean,String],default:!1},confirmType:{type:String,default:"return",validator:e=>Vd.concat("return").includes(e)}});let Hd=!1;const Vd=["done","go","next","search","send"];const Fd=Hc({name:"Textarea",props:Md,emits:["confirm","linechange",...Cd],setup(e,{emit:t,expose:n}){const o=Qt(null),r=Qt(null),{fieldRef:i,state:s,scopedAttrsState:a,fixDisabledColor:l,trigger:c}=Ed(e,o,t),u=_i((()=>s.value.split("\n"))),f=_i((()=>Vd.includes(e.confirmType))),d=Qt(0),p=Qt(null);function h({height:e}){d.value=e}function g(e){"Enter"===e.key&&f.value&&e.preventDefault()}function m(t){if("Enter"===t.key&&f.value){!function(e){c("confirm",e,{value:s.value})}(t);const n=t.target;!e.confirmHold&&n.blur()}}return Xn((()=>d.value),(t=>{const n=o.value,i=p.value,s=r.value;let a=parseFloat(getComputedStyle(n).lineHeight);isNaN(a)&&(a=i.offsetHeight);var l=Math.round(t/a);c("linechange",{},{height:t,heightRpx:750/window.innerWidth*t,lineCount:l}),e.autoHeight&&(s.style.height=t+"px")})),function(){const e="(prefers-color-scheme: dark)";Hd=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),s.value=e.value}}),()=>{let t=e.disabled&&l?Gr("textarea",{key:"disabled-textarea",ref:i,value:s.value,tabindex:"-1",readonly:!!e.disabled,maxlength:s.maxlength,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Hd},style:{overflowY:e.autoHeight?"hidden":"auto",...e.cursorColor&&{caretColor:e.cursorColor}},onFocus:e=>e.target.blur()},null,46,["value","readonly","maxlength","onFocus"]):Gr("textarea",{key:"textarea",ref:i,value:s.value,disabled:!!e.disabled,maxlength:s.maxlength,enterkeyhint:e.confirmType,inputmode:e.inputmode,class:{"uni-textarea-textarea":!0,"uni-textarea-textarea-fix-margin":Hd},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 Gr("uni-textarea",{ref:o,"auto-height":e.autoHeight},[Gr("div",{ref:r,class:"uni-textarea-wrapper"},[Qn(Gr("div",ri(a.attrs,{style:e.placeholderStyle,class:["uni-textarea-placeholder",e.placeholderClass]}),[e.placeholder],16),[[Wi,!s.value.length]]),Gr("div",{ref:p,class:"uni-textarea-line"},[" "],512),Gr("div",{class:"uni-textarea-compute"},[u.value.map((e=>Gr("div",null,[e.trim()?e:"."]))),Gr(rd,{initial:!0,onResize:h},null,8,["initial","onResize"])]),"search"===e.confirmType?Gr("form",{action:"",onSubmit:()=>!1,class:"uni-input-form"},[t],40,["onSubmit"]):t],512)],8,["auto-height"])}}}),Wd=Hc({name:"View",props:a({},Dc),setup(e,{slots:t}){const n=Qt(null),{hovering:o,binding:r}=qc(e);return()=>{const i=e.hoverClass;return i&&"none"!==i?Gr("uni-view",ri({class:o.value?i:"",ref:n},r),[Do(t,"default")],16):Gr("uni-view",{ref:n},[Do(t,"default")],512)}}});function Dd(e,t,n,o){h(t)&&$o(e,t.bind(n),o)}function qd(e,t,n){const o=e.mpType||n.$mpType;if(o&&"component"!==o&&("page"!==o||"component"!==t.renderer)&&(Object.keys(e).forEach((o=>{if(function(e,t,n=!0){return!(n&&!h(t))&&(xe.indexOf(e)>-1||0===e.indexOf("on"))}(o,e[o],!1)){const r=e[o];f(r)?r.forEach((e=>Dd(o,e,n,t))):Dd(o,r,n,t)}})),"page"===o)){t.__isVisible=!0;try{let e=t.attrs.__pageQuery;0,sc(n,"onLoad",e),delete t.attrs.__pageQuery;const o=n.$page;"preloadPage"!==(null==o?void 0:o.openType)&&sc(n,"onShow")}catch(r){console.error(r.message+"\n"+r.stack)}}}function Ud(e,t,n){qd(e,t,n)}function zd(e,t,n){return e[t]=n}function Kd(e,...t){const n=this[e];return n?n(...t):(console.error(`method ${e} not found`),null)}function Xd(e){const t=e.config.errorHandler;return function(n,o,r){t&&t(n,o,r);const i=e._instance;if(!i||!i.proxy)throw n;i.onError?sc(i.proxy,"onError",n):cn(n,0,o&&o.$.vnode,!1)}}function Yd(e,t){return e?[...new Set([].concat(e,t))]:t}function Jd(e){const t=e.config;var n;t.errorHandler=Ce(e,Xd),n=t.optionMergeStrategies,xe.forEach((e=>{n[e]=Yd}));const o=t.globalProperties;o.$set=zd,o.$applyOptions=Ud,o.$callMethod=Kd,function(e){Se.forEach((t=>t(e)))}(e)}function Gd(e){const t=Ja({history:ep(),strict:!!__uniConfig.router.strict,routes:__uniRoutes,scrollBehavior:Qd});t.beforeEach(((e,t)=>{var n;e&&t&&e.meta.isTabBar&&t.meta.isTabBar&&(n=t.meta.tabBarIndex,"undefined"!=typeof window&&(Zd[n]={left:window.pageXOffset,top:window.pageYOffset}))})),e.router=t,e.use(t)}let Zd=Object.create(null);const Qd=(e,t,n)=>{if(n)return n;if(e&&t&&e.meta.isTabBar&&t.meta.isTabBar){const t=(o=e.meta.tabBarIndex,Zd[o]);if(t)return t}return{left:0,top:0};var o};function ep(){let{routerBase:e}=__uniConfig.router;"/"===e&&(e="");const t=ua(e);return t.listen(((e,t,n)=>{"back"===n.direction&&function(e=1){const t=Lf(),n=t.length-1,o=n-e;for(let r=n;r>o;r--){const e=wf(t[r]);$f(Rf(e.path,e.id),!1)}}(Math.abs(n.delta))})),t}const tp={install(e){Jd(e),Sc(e),Bc(e),e.config.warnHandler||(e.config.warnHandler=np),Gd(e)}};function np(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 op={class:"uni-async-loading"},rp=Gr("i",{class:"uni-loading"},null,-1),ip=Vc({name:"AsyncLoading",render:()=>(Hr(),qr("div",op,[rp]))});function sp(){window.location.reload()}const ap=Vc({name:"AsyncError",props:["error"],setup(){fl();const{t:e}=cl();return()=>Gr("div",{class:"uni-async-error",onClick:sp},[e("uni.async.error")],8,["onClick"])}});let lp;function cp(){return lp}function up(e){lp=e,Object.defineProperty(lp.$.ctx,"$children",{get:()=>Lf().map((e=>e.$vm))});const t=lp.$.appContext.app;t.component(ip.name)||t.component(ip.name,ip),t.component(ap.name)||t.component(ap.name,ap),function(e){e.$vm=e,e.$mpType="app";const t=Qt(cl().getLocale());Object.defineProperty(e,"$locale",{get:()=>t.value,set(e){t.value=e}})}(lp),function(e,t){const n=e.$options||{};n.globalData=a(n.globalData||{},t),Object.defineProperty(e,"globalData",{get:()=>n.globalData,set(e){n.globalData=e}})}(lp),Pc(),pc()}function fp(e,{clone:t,init:n,setup:o,before:r}){t&&(e=a({},e)),r&&r(e);const i=e.setup;return e.setup=(e,t)=>{const r=ci();if(n(r.proxy),o(r),i)return i(e,t)},e}function dp(e,t){return e&&(e.__esModule||"Module"===e[Symbol.toStringTag])?fp(e.default,t):fp(e,t)}function pp(e){return dp(e,{clone:!0,init:Pf,setup(e){e.$pageInstance=e;const t=nu(),n=me(t.query);e.attrs.__pageQuery=n,wf(e.proxy).options=n,e.proxy.options=n;const o=eu();var r,i;return bf(),e.onReachBottom=It([]),e.onPageScroll=It([]),Xn([e.onReachBottom,e.onPageScroll],(()=>{const t=Ql();e.proxy===t&&Wf(e,o)}),{once:!0}),Po((()=>{Nf(e,o)})),Ro((()=>{If(e);const{onReady:n}=e;n&&P(n),vp(t)})),Co((()=>{if(!e.__isVisible){Nf(e,o),e.__isVisible=!0;const{onShow:n}=e;n&&P(n),bn((()=>{vp(t)}))}}),"ba",r),function(e,t){Co(e,"bda",t)}((()=>{if(e.__isVisible&&!e.__isUnload){e.__isVisible=!1;{const{onHide:t}=e;t&&P(t)}}})),i=o.id,yh.subscribe(yl(i,"invokeViewApi"),bl),No((()=>{!function(e){yh.unsubscribe(yl(e,"invokeViewApi")),Object.keys(vl).forEach((t=>{0===t.indexOf(e+".")&&delete vl[t]}))}(o.id)})),n}})}function hp(){const{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}=Lp(),r=90===Math.abs(Number(window.orientation))?"landscape":"portrait";bh.emit("onResize",{deviceOrientation:r,size:{windowWidth:e,windowHeight:t,screenWidth:n,screenHeight:o}})}function gp(e){w(e.data)&&"WEB_INVOKE_APPSERVICE"===e.data.type&&bh.emit("onWebInvokeAppService",e.data.data,e.data.pageId)}function mp(){const{emit:e}=bh;"visible"===document.visibilityState?e("onAppEnterForeground",a({},od)):e("onAppEnterBackground")}function vp(e){const{tabBarText:t,tabBarIndex:n,route:o}=e.meta;t&&sc("onTabItemTap",{index:n,text:t,pagePath:o})}const yp=navigator.cookieEnabled&&(window.localStorage||window.sessionStorage)||{};let bp;function _p(){if(bp=bp||yp.__DC_STAT_UUID,!bp){bp=Date.now()+""+Math.floor(1e7*Math.random());try{yp.__DC_STAT_UUID=bp}catch(e){}}return bp}function wp(){if(!0!==__uniConfig.darkmode)return g(__uniConfig.darkmode)?__uniConfig.darkmode:"light";try{return window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}catch(e){return"light"}}function xp(){let e,t="0",n="",o="phone";const r=navigator.language;if(Kf){e="iOS";const o=Uf.match(/OS\s([\w_]+)\slike/);o&&(t=o[1].replace(/_/g,"."));const r=Uf.match(/\(([a-zA-Z]+);/);r&&(n=r[1])}else if(zf){e="Android";const o=Uf.match(/Android[\s/]([\w\.]+)[;\s]/);o&&(t=o[1]);const r=Uf.match(/\((.+?)\)/),i=r?r[1].split(";"):Uf.split(" "),s=[/\bAndroid\b/i,/\bLinux\b/i,/\bU\b/i,/^\s?[a-z][a-z]$/i,/^\s?[a-z][a-z]-[a-z][a-z]$/i,/\bwv\b/i,/\/[\d\.,]+$/,/^\s?[\d\.,]+$/,/\bBrowser\b/i,/\bMobile\b/i];for(let e=0;e0){n=t.split("Build")[0].trim();break}let o;for(let e=0;e-1&&e.indexOf("MSIE")>-1,n=e.indexOf("Edge")>-1&&!t,o=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);const t=parseFloat(RegExp.$1);return t>6?t:6}return n?-1:o?11:-1}());if("-1"!==l)a="IE";else{const e=["Version","Firefox","Chrome","Edge{0,1}"],t=["Safari","Firefox","Chrome","Edge"];for(let n=0;n{const e=window.devicePixelRatio,t=Zf(),n=Qf(t),o=ed(t,n),r=function(e,t){return e?Math[t?"min":"max"](screen.height,screen.width):screen.height}(t,n),i=td(o);let s=window.innerHeight;const a=Vl.top,l={left:Vl.left,right:i-Vl.right,top:Vl.top,bottom:s-Vl.bottom,width:i-Vl.left-Vl.right,height:s-Vl.top-Vl.bottom},{top:c,bottom:u}=function(){const e=document.documentElement.style,t=ql(),n=Dl(e,"--window-bottom"),o=Dl(e,"--window-left"),r=Dl(e,"--window-right"),i=Dl(e,"--top-window-height");return{top:t,bottom:n?n+Vl.bottom:0,left:o?o+Vl.left:0,right:r?r+Vl.right:0,topWindowHeight:i||0}}();return s-=c,s-=u,{windowTop:c,windowBottom:u,windowWidth:i,windowHeight:s,pixelRatio:e,screenWidth:o,screenHeight:r,statusBarHeight:a,safeArea:l,safeAreaInsets:{top:Vl.top,right:Vl.right,bottom:Vl.bottom,left:Vl.left},screenTop:r-s}}));let Cp,Tp=!0;function kp(){Tp&&(Cp=xp())}const Ep=$u(0,(()=>{kp();const{deviceBrand:e,deviceModel:t,brand:n,model:o,platform:r,system:i,deviceOrientation:s,deviceType:l,osname:c,osversion:u}=Cp;return a({brand:n,deviceBrand:e,deviceModel:t,devicePixelRatio:window.devicePixelRatio,deviceId:_p(),deviceOrientation:s,deviceType:l,model:o,platform:r,system:i,osName:c?c.toLowerCase():void 0,osVersion:u})})),Op=$u(0,(()=>{kp();const{theme:e,language:t,browserName:n,browserVersion:o}=Cp;return a({appId:__uniConfig.appId,appName:__uniConfig.appName,appVersion:__uniConfig.appVersion,appVersionCode:__uniConfig.appVersionCode,appLanguage:Fu?Fu():t,enableDebug:!1,hostSDKVersion:void 0,hostPackageName:void 0,hostFontSizeSetting:void 0,hostName:n,hostVersion:o,hostTheme:e,hostLanguage:t,language:t,SDKVersion:"",theme:e,version:"",uniPlatform:"web",isUniAppX:!1,uniCompileVersion:__uniConfig.compilerVersion,uniCompilerVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion},{})})),Lp=$u(0,(()=>{Tp=!0,kp(),Tp=!1;const e=Sp(),t=Ep(),n=Op();Tp=!0;const{ua:o,browserName:r,browserVersion:i,osname:s,osversion:l}=Cp,c=a(e,t,n,{ua:o,browserName:r,browserVersion:i,uniPlatform:"web",uniCompileVersion:__uniConfig.compilerVersion,uniRuntimeVersion:__uniConfig.compilerVersion,fontSizeSetting:void 0,osName:s.toLowerCase(),osVersion:l,osLanguage:void 0,osTheme:void 0});return delete c.screenTop,delete c.enableDebug,__uniConfig.darkmode||delete c.theme,function(e){let t={};return w(e)&&Object.keys(e).sort().forEach((n=>{const o=n;t[o]=e[o]})),Object.keys(t)?t:e}(c)}));const $p=$u(0,((e,t)=>{const n=typeof t,o="string"===n?t:JSON.stringify({type:n,data:t});localStorage.setItem(e,o)}));function Ap(e){const t=localStorage&&localStorage.getItem(e);if(!g(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=g(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 Pp=$u(0,(e=>{try{return Ap(e)}catch(t){return""}})),Rp=$u(0,(e=>{localStorage&&localStorage.removeItem(e)})),Bp={esc:["Esc","Escape"],enter:["Enter"]},jp=Object.keys(Bp);const Np=Gr("div",{class:"uni-mask"},null,-1);function Ip(e,t,n){return t.onClose=(...e)=>(t.visible=!1,n.apply(null,e)),bs(po({setup:()=>()=>(Hr(),qr(e,t,null,16))}))}function Mp(e){let t=document.getElementById(e);return t||(t=document.createElement("div"),t.id=e,document.body.append(t)),t}function Hp(e,{onEsc:t,onEnter:n}){const o=Qt(e.visible),{key:r,disable:i}=function(){const e=Qt(""),t=Qt(!1),n=n=>{if(t.value)return;const o=jp.find((e=>-1!==Bp[e].indexOf(n.key)));o&&(e.value=o),bn((()=>e.value=""))};return Ro((()=>{document.addEventListener("keyup",n)})),No((()=>{document.removeEventListener("keyup",n)})),{key:e,disable:t}}();return Xn((()=>e.visible),(e=>o.value=e)),Xn((()=>o.value),(e=>i.value=!e)),zn((()=>{const{value:e}=r;"esc"===e?t&&t():"enter"===e&&n&&n()})),o}const Vp=Lu("request",(({url:e,data:t,header:n={},method:o,dataType:r,responseType:i,enableChunked:s,withCredentials:a,timeout:l=__uniConfig.networkTimeout.request},{resolve:c,reject:f})=>{let d=null;const p=function(e){const t=Object.keys(e).find((e=>"content-type"===e.toLowerCase()));if(!t)return;const n=e[t];if(0===n.indexOf("application/json"))return"json";if(0===n.indexOf("application/x-www-form-urlencoded"))return"urlencoded";return"string"}(n);if("GET"!==o)if(g(t)||t instanceof ArrayBuffer)d=t;else if("json"===p)try{d=JSON.stringify(t)}catch(m){d=t.toString()}else if("urlencoded"===p){const e=[];for(const n in t)u(t,n)&&e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));d=e.join("&")}else d=t.toString();let h;if(s){if(void 0===typeof window.fetch||void 0===typeof window.AbortController)throw new Error("fetch or AbortController is not supported in this environment");const t=new AbortController,s=t.signal;h=new Wp(t);const u={method:o,headers:n,body:d,signal:s,credentials:a?"include":"same-origin"},p=setTimeout((function(){h.abort(),f("timeout",{errCode:5})}),l);u.signal.addEventListener("abort",(function(){clearTimeout(p),f("abort",{errCode:600003})})),window.fetch(e,u).then((e=>{const t=e.status,n=e.headers,o=e.body,s={};n.forEach(((e,t)=>{s[t]=e}));const a=Fp(s);if(h._emitter.emit("headersReceived",{header:s,statusCode:t,cookies:a}),!o)return void c({data:"",statusCode:t,header:s,cookies:a});const l=o.getReader(),u=[],f=()=>{l.read().then((({done:e,value:n})=>{if(e){const e=function(e){const t=e.reduce(((e,t)=>e+t.byteLength),0),n=new Uint8Array(t);let o=0;for(const r of e)n.set(new Uint8Array(r),o),o+=r.byteLength;return n.buffer}(u);let n="text"===i?(new TextDecoder).decode(e):e;return"text"===i&&(n=qp(n,i,r)),void c({data:n,statusCode:t,header:s,cookies:a})}const o=n;u.push(o),h._emitter.emit("chunkReceived",{data:o}),f()}))};f()}),(e=>{f(e,{errCode:5})}))}else{const t=new XMLHttpRequest;h=new Wp(t),t.open(o,e);for(const e in n)u(n,e)&&t.setRequestHeader(e,n[e]);const s=setTimeout((function(){t.onload=t.onabort=t.onerror=null,h.abort(),f("timeout",{errCode:5})}),l);t.responseType=i,t.onload=function(){clearTimeout(s);const e=t.status;let n="text"===i?t.responseText:t.response;"text"===i&&(n=qp(n,i,r)),c({data:n,statusCode:e,header:Dp(t.getAllResponseHeaders()),cookies:[]})},t.onabort=function(){clearTimeout(s),f("abort",{errCode:600003})},t.onerror=function(){clearTimeout(s),f(void 0,{errCode:5})},t.withCredentials=a,t.send(d)}return h}),0,zu),Fp=e=>{let t=e["Set-Cookie"]||e["set-cookie"],n=[];if(!t)return[];"["===t[0]&&"]"===t[t.length-1]&&(t=t.slice(1,-1));const o=t.split(";");for(let r=0;r{t===e&&(this._requestOnHeadersReceiveCallbacks.delete(n),this._emitter.off("headersReceived",e))}));const t=this._requestOnHeadersReceiveCallbacks.get(e);t&&(this._requestOnHeadersReceiveCallbacks.delete(e),this._emitter.off("headersReceived",t))}onChunkReceived(e){return this._emitter.on("chunkReceived",e),this._requestOnChunkReceiveCallbackId++,this._requestOnChunkReceiveCallbacks.set(this._requestOnChunkReceiveCallbackId,e),this._requestOnChunkReceiveCallbackId}offChunkReceived(e){if(null==e)return void this._emitter.off("chunkReceived");if("function"==typeof e)return void this._requestOnChunkReceiveCallbacks.forEach(((t,n)=>{t===e&&(this._requestOnChunkReceiveCallbacks.delete(n),this._emitter.off("chunkReceived",e))}));const t=this._requestOnChunkReceiveCallbacks.get(e);t&&(this._requestOnChunkReceiveCallbacks.delete(e),this._emitter.off("chunkReceived",t))}}function Dp(e){const t={};return e.split("\n").forEach((e=>{const n=e.match(/(\S+\s*):\s*(.*)/);n&&3===n.length&&(t[n[1]]=n[2])})),t}function qp(e,t,n){let o=e;if("text"===t&&"json"===n)try{o=JSON.parse(o)}catch(r){}return o}const Up=Au("navigateBack",((e,{resolve:t,reject:n})=>{let o=!0;return!0===sc("onBackPress",{from:e.from||"navigateBack"})&&(o=!1),o?(cp().$router.go(-e.delta),t()):n("onBackPress")}),0,Gu),zp=Au("navigateTo",(({url:e,events:t,isAutomatedTesting:n},{resolve:o,reject:r})=>{if(xf.handledBeforeEntryPageRoutes)return pf({type:"navigateTo",url:e,events:t,isAutomatedTesting:n}).then(o).catch(r);Sf.push({args:{type:"navigateTo",url:e,events:t,isAutomatedTesting:n},resolve:o,reject:r})}),0,Xu);function Kp(e){__uniConfig.darkmode&&bh.on("onThemeChange",e)}function Xp(e){bh.off("onThemeChange",e)}const Yp={light:{cancelColor:"#000000"},dark:{cancelColor:"rgb(170, 170, 170)"}},Jp=po({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=Qt(""),o=()=>s.value=!1,r=()=>(o(),t("close","cancel")),i=()=>(o(),t("close","confirm",n.value)),s=Hp(e,{onEsc:r,onEnter:()=>{!e.editable&&i()}}),a=function(e){const t=Qt(e.cancelColor),n=({theme:e})=>{((e,t)=>{t.value=Yp[e].cancelColor})(e,t)};return zn((()=>{e.visible?(t.value=e.cancelColor,"#000"===e.cancelColor&&("dark"===wp()&&n({theme:"dark"}),Kp(n))):Xp(n)})),t}(e);return()=>{const{title:t,content:o,showCancel:l,confirmText:c,confirmColor:u,editable:f,placeholderText:d}=e;return n.value=o,Gr(Oi,{name:"uni-fade"},{default:()=>[Qn(Gr("uni-modal",{onTouchmove:Fl},[Np,Gr("div",{class:"uni-modal"},[t?Gr("div",{class:"uni-modal__hd"},[Gr("strong",{class:"uni-modal__title",textContent:t||""},null,8,["textContent"])]):null,f?Gr("textarea",{class:"uni-modal__textarea",rows:"1",placeholder:d,value:o,onInput:e=>n.value=e.target.value},null,40,["placeholder","value","onInput"]):Gr("div",{class:"uni-modal__bd",onTouchmovePassive:Wl,textContent:o},null,40,["onTouchmovePassive","textContent"]),Gr("div",{class:"uni-modal__ft"},[l&&Gr("div",{style:{color:a.value},class:"uni-modal__btn uni-modal__btn_default",onClick:r},[e.cancelText],12,["onClick"]),Gr("div",{style:{color:u},class:"uni-modal__btn uni-modal__btn_primary",onClick:i},[c],12,["onClick"])])])],40,["onTouchmove"]),[[Wi,s.value]])]})}}});let Gp;const Zp=ne((()=>{bh.on("onHidePopup",(()=>Gp.visible=!1))}));let Qp;function eh(e,t){const n="confirm"===e,o={confirm:n,cancel:"cancel"===e};n&&Gp.editable&&(o.content=t),Qp&&Qp(o)}const th=Au("showModal",((e,{resolve:t})=>{Zp(),Qp=t,Gp?(a(Gp,e),Gp.visible=!0):(Gp=It(e),bn((()=>(Ip(Jp,Gp,eh).mount(Mp("u-a-m")),bn((()=>Gp.visible=!0))))))}),0,rf),nh={title:{type:String,default:""},icon:{default:"success",validator:e=>-1!==sf.indexOf(e)},image:{type:String,default:""},duration:{type:Number,default:1500},mask:{type:Boolean,default:!1},visible:{type:Boolean}},oh={light:"#fff",dark:"rgba(255,255,255,0.9)"},rh=e=>oh[e],ih=po({name:"Toast",props:nh,setup(e){dl(),pl();const{Icon:t}=function(e){const t=Qt(rh(wp())),n=({theme:e})=>t.value=rh(e);zn((()=>{e.visible?Kp(n):Xp(n)}));return{Icon:_i((()=>{switch(e.icon){case"success":return Gr(Gl(Yl,t.value,38),{class:"uni-toast__icon"});case"error":return Gr(Gl(Jl,t.value,38),{class:"uni-toast__icon"});case"loading":return Gr("i",{class:["uni-toast__icon","uni-loading"]},null,2);default:return null}}))}}(e),n=Hp(e,{});return()=>{const{mask:o,duration:r,title:i,image:s}=e;return Gr(Oi,{name:"uni-fade"},{default:()=>[Qn(Gr("uni-toast",{"data-duration":r},[o?Gr("div",{class:"uni-mask",style:"background: transparent;",onTouchmove:Fl},null,40,["onTouchmove"]):"",s||t.value?Gr("div",{class:"uni-toast"},[s?Gr("img",{src:s,class:"uni-toast__icon"},null,10,["src"]):t.value,Gr("p",{class:"uni-toast__content"},[i])]):Gr("div",{class:"uni-sample-toast"},[Gr("p",{class:"uni-simple-toast__text"},[i])])],8,["data-duration"]),[[Wi,n.value]])]})}}});let sh,ah,lh="";const ch=Re();function uh(e){sh?a(sh,e):(sh=It(a(e,{visible:!1})),bn((()=>{ch.run((()=>{Xn([()=>sh.visible,()=>sh.duration],(([e,t])=>{if(e){if(ah&&clearTimeout(ah),"onShowLoading"===lh)return;ah=setTimeout((()=>{gh("onHideToast")}),t)}else ah&&clearTimeout(ah)}))})),bh.on("onHidePopup",(()=>gh("onHidePopup"))),Ip(ih,sh,(()=>{})).mount(Mp("u-a-t"))}))),setTimeout((()=>{sh.visible=!0}),10)}const fh=Au("showToast",((e,{resolve:t,reject:n})=>{uh(e),lh="onShowToast",t()}),0,af),dh={icon:"loading",duration:1e8,image:""},ph=Au("showLoading",((e,{resolve:t,reject:n})=>{a(e,dh),uh(e),lh="onShowLoading",t()}),0,of),hh=Au("hideLoading",((e,{resolve:t,reject:n})=>{gh("onHideLoading"),t()}));function gh(e){const{t:t}=cl();if(!lh)return;let n="";if("onHideToast"===e&&"onShowToast"!==lh?n=t("uni.showToast.unpaired"):"onHideLoading"===e&&"onShowLoading"!==lh&&(n=t("uni.showLoading.unpaired")),n)return console.warn(n);lh="",setTimeout((()=>{sh.visible=!1}),10)}function mh(e){function t(){var t;t=e.navigationBar.titleText,document.title=t,bh.emit("onNavigationBarChange",{titleText:t})}zn(t),xo(t)}const vh=Vc({name:"Layout",setup(e,{emit:t}){const n=Qt(null);Ul({"--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=Ga();return{routeKey:_i((()=>Rf("/"+e.meta.route,ou()))),isTabBar:_i((()=>e.meta.isTabBar)),routeCache:jf}}(),{layoutState:r,windowState:i}=function(){nu();{const e=It({marginWidth:0,leftWindowWidth:0,rightWindowWidth:0});return Xn((()=>e.marginWidth),(e=>Ul({"--window-margin":e+"px"}))),Xn((()=>e.leftWindowWidth+e.marginWidth),(e=>{Ul({"--window-left":e+"px"})})),Xn((()=>e.rightWindowWidth+e.marginWidth),(e=>{Ul({"--window-right":e+"px"})})),{layoutState:e,windowState:_i((()=>({})))}}}();!function(e,t){const n=nu();function o(){const o=document.body.clientWidth,r=Lf();let i={};if(r.length>0){i=wf(r[r.length-1]).meta}else{const e=dc(n.path,!0);e&&(i=e.meta)}const s=parseInt(String((u(i,"maxWidth")?i.maxWidth:__uniConfig.globalStyle.maxWidth)||Number.MAX_SAFE_INTEGER));let a=!1;a=o>s,a&&s?(e.marginWidth=(o-s)/2,bn((()=>{const e=t.value;e&&e.setAttribute("style","max-width:"+s+"px;margin:0 auto;")}))):(e.marginWidth=0,bn((()=>{const e=t.value;e&&e.removeAttribute("style")})))}Xn([()=>n.path],o),Ro((()=>{o(),window.addEventListener("resize",o)}))}(r,n);const s=function(e){const t=Qt(!1);return _i((()=>({"uni-app--showtabbar":e&&e.value,"uni-app--maxwidth":t.value})))}(!1);return()=>{const e=function(e,t,n,o,r,i){return function({routeKey:e,isTabBar:t,routeCache:n}){return Gr(Ya,null,{default:Bn((({Component:o})=>[(Hr(),qr(_o,{matchBy:"key",cache:n},[(Hr(),qr(Fn(o),{type:t.value?"tabBar":"",key:e.value}))],1032,["cache"]))])),_:1})}(e)}(o);return Gr("uni-app",{ref:n,class:s.value},[e,!1],2)}}});const yh=a(_l,{publishHandler(e,t,n){bh.subscribeHandler(e,t,n)}}),bh=a(kc,{publishHandler(e,t,n){yh.subscribeHandler(e,t,n)}}),_h=Vc({name:"PageBody",setup(e,t){const n=Qt(null),o=Qt(null);return Xn((()=>false.enablePullDownRefresh),(()=>{o.value=null}),{immediate:!0}),()=>Gr(Rr,null,[!1,Gr("uni-page-wrapper",ri({ref:n},o.value),[Gr("uni-page-body",null,[Do(t.slots,"default")]),null],16)])}}),wh=Vc({name:"Page",setup(e,t){let n=tu(ou());n.navigationBar;const o={};return mh(n),()=>Gr("uni-page",{"data-page":n.route,style:o},[xh(t),null])}});function xh(e){return Hr(),qr(_h,{key:0},{default:Bn((()=>[Do(e.slots,"page")])),_:3})}const Sh={},Ch=function(e,t,n){let o=Promise.resolve();if(t&&t.length>0){const e=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),i=(null==r?void 0:r.nonce)||(null==r?void 0:r.getAttribute("nonce"));o=Promise.all(t.map((t=>{if((t=function(e){return"/m/"+e}(t))in Sh)return;Sh[t]=!0;const o=t.endsWith(".css"),r=o?'[rel="stylesheet"]':"";if(!!n)for(let n=e.length-1;n>=0;n--){const r=e[n];if(r.href===t&&(!o||"stylesheet"===r.rel))return}else if(document.querySelector(`link[href="${t}"]${r}`))return;const s=document.createElement("link");return s.rel=o?"stylesheet":"modulepreload",o||(s.as="script",s.crossOrigin=""),s.href=t,i&&s.setAttribute("nonce",i),document.head.appendChild(s),o?new Promise(((e,n)=>{s.addEventListener("load",e),s.addEventListener("error",(()=>n(new Error(`Unable to preload CSS for ${t}`))))})):void 0})))}return o.then((()=>e())).catch((e=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}))},Th={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4,suspensible:!0};window.uni={},window.wx={},window.rpx2px=Vu;const kh=Object.assign({}),Eh=Object.assign;window.__uniConfig=Eh({globalStyle:{backgroundColor:"#F8F8F8",navigationBar:{backgroundColor:"#F8F8F8",titleText:"AI会话系统",type:"default",titleColor:"#000000"},isNVue:!1},uniIdRouter:{},compilerVersion:"4.75"},{appId:"__UNI__1FB9607",appName:"uni-apps",appVersion:"1.0.0",appVersionCode:"100",async:Th,debug:!1,networkTimeout:{request:6e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},sdkConfigs:{},qqMapKey:void 0,bMapKey:void 0,googleMapKey:void 0,aMapKey:void 0,aMapSecurityJsCode:void 0,aMapServiceHost:void 0,nvue:{"flex-direction":"column"},locale:"",fallbackLocale:"",locales:Object.keys(kh).reduce(((e,t)=>{const n=t.replace(/\.\/locale\/(uni-app.)?(.*).json/,"$2");return Eh(e[n]||(e[n]={}),kh[t].default),e}),{}),router:{mode:"history",base:"/m/",assets:"assets",routerBase:"/m/"},darkmode:!1,themeConfig:{}}),window.__uniLayout=window.__uniLayout||{};const Oh={delay:Th.delay,timeout:Th.timeout,suspensible:Th.suspensible};Th.loading&&(Oh.loadingComponent={name:"SystemAsyncLoading",render:()=>Gr(Hn(Th.loading))}),Th.error&&(Oh.errorComponent={name:"SystemAsyncError",props:["error"],render(){return Gr(Hn(Th.error),{error:this.error})}});const Lh=()=>Ch((()=>import("./pages-ai-chat-chat.BREi36KV.js")),__vite__mapDeps([0,1,2,3,4,5,6,7])).then((e=>pp(e.default||e))),$h=go(Eh({loader:Lh},Oh)),Ah=()=>Ch((()=>import("./pages-history-history.BqZ2rU3T.js")),__vite__mapDeps([8,2])).then((e=>pp(e.default||e))),Ph=go(Eh({loader:Ah},Oh)),Rh=()=>Ch((()=>import("./pages-login-login.CWF07iLr.js")),__vite__mapDeps([9,10,1,2,3,11])).then((e=>pp(e.default||e))),Bh=go(Eh({loader:Rh},Oh)),jh=()=>Ch((()=>import("./pages-privacy-privacy.Cbv33Bed.js")),__vite__mapDeps([12,1,2,3,5,13])).then((e=>pp(e.default||e))),Nh=go(Eh({loader:jh},Oh)),Ih=()=>Ch((()=>import("./pages-test-test.uvlRSvzq.js")),__vite__mapDeps([14,10,2,15])).then((e=>pp(e.default||e))),Mh=go(Eh({loader:Ih},Oh)),Hh=()=>Ch((()=>import("./pages-test-image-test.BgrXUrA7.js")),__vite__mapDeps([16,17,6,4,2,18])).then((e=>pp(e.default||e))),Vh=go(Eh({loader:Hh},Oh)),Fh=()=>Ch((()=>import("./pages-test-simple-image-test.5McAG3Hd.js")),__vite__mapDeps([19,17,6,2,20])).then((e=>pp(e.default||e))),Wh=go(Eh({loader:Fh},Oh)),Dh=()=>Ch((()=>import("./pages-test-image-display-test.CGNXyDEF.js")),__vite__mapDeps([21,17,6,2,22])).then((e=>pp(e.default||e))),qh=go(Eh({loader:Dh},Oh));function Uh(e,t){return Hr(),qr(wh,null,{page:Bn((()=>[Gr(e,Eh({},t,{ref:"page"}),null,512)])),_:1})}window.__uniRoutes=[{path:"/",alias:"/pages/ai-chat/chat",component:{setup(){const e=cp(),t=e&&e.$route&&e.$route.query||{};return()=>Uh($h,t)}},loader:Lh,meta:{isQuit:!0,isEntry:!0,navigationBar:{titleText:"Smartis AI",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/history/history",component:{setup(){const e=cp(),t=e&&e.$route&&e.$route.query||{};return()=>Uh(Ph,t)}},loader:Ah,meta:{navigationBar:{titleText:"历史会话",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/login/login",component:{setup(){const e=cp(),t=e&&e.$route&&e.$route.query||{};return()=>Uh(Bh,t)}},loader:Rh,meta:{navigationBar:{titleText:"Smartis AI",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/privacy/privacy",component:{setup(){const e=cp(),t=e&&e.$route&&e.$route.query||{};return()=>Uh(Nh,t)}},loader:jh,meta:{navigationBar:{titleText:"账户信息",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/test/test",component:{setup(){const e=cp(),t=e&&e.$route&&e.$route.query||{};return()=>Uh(Mh,t)}},loader:Ih,meta:{navigationBar:{titleText:"页面跳转测试",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/test/image-test",component:{setup(){const e=cp(),t=e&&e.$route&&e.$route.query||{};return()=>Uh(Vh,t)}},loader:Hh,meta:{navigationBar:{titleText:"图片加载测试",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/test/simple-image-test",component:{setup(){const e=cp(),t=e&&e.$route&&e.$route.query||{};return()=>Uh(Wh,t)}},loader:Fh,meta:{navigationBar:{titleText:"简单图片测试",style:"custom",type:"default"},isNVue:!1}},{path:"/pages/test/image-display-test",component:{setup(){const e=cp(),t=e&&e.$route&&e.$route.query||{};return()=>Uh(qh,t)}},loader:Dh,meta:{navigationBar:{titleText:"图片显示测试",style:"custom",type:"default"},isNVue:!1}}].map((e=>(e.meta.route=(e.alias||e.path).slice(1),e)));const zh={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};dp(zh,{init:up,setup(e){const t=nu(),n=()=>{var n;n=e,Object.keys(Wu).forEach((e=>{Wu[e].forEach((t=>{$o(e,t,n)}))}));const{onLaunch:o,onShow:r,onPageNotFound:i}=e,s=function({path:e,query:t}){return a(nd,{path:e,query:t}),a(od,nd),a({},nd)}({path:t.path.slice(1)||__uniRoutes[0].meta.route,query:me(t.query)});if(o&&P(o,s),r&&P(r,s),!t.matched.length){const e={notFound:!0,openType:"appLaunch",path:t.path,query:{},scene:1001};hf(),i&&P(i,e)}};return pr(Ma).isReady().then(n),Ro((()=>{window.addEventListener("resize",be(hp,50,{setTimeout:setTimeout,clearTimeout:clearTimeout})),window.addEventListener("message",gp),document.addEventListener("visibilitychange",mp),function(){let e=null;try{e=window.matchMedia("(prefers-color-scheme: dark)")}catch(t){}if(e){let t=e=>{bh.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=()=>(Hr(),qr(vh));e.setup=(e,o)=>{const r=t&&t(e,o);return h(r)?n:r},e.render=n}}),function(){const e=bs(zh);return e.config.errorHandler=(e,t,n)=>{var o;console.error("全局错误:",{error:e,info:n,component:(null==(o=null==t?void 0:t.$options)?void 0:o.name)||"Unknown",stack:null==e?void 0:e.stack}),fh({title:"应用出现错误,请重试",icon:"none",duration:3e3})},{app:e}}().app.use(tp).mount("#app");export{fh as A,Hn as B,Yc as C,df as D,Pp as E,Rr as F,_i as G,ae as H,Ad as I,$p as J,Rp as K,Vp as L,ph as M,hh as N,uf as O,Bd as S,Ch as _,Gr as a,Qr as b,qr as c,Dr as d,ei as e,hs as f,Wd as g,fd as h,Id as i,Qt as j,Xn as k,Ro as l,Jr as m,zp as n,Hr as o,ms as p,Up as q,Wo as r,th as s,U as t,nn as u,bn as v,Bn as w,Fd as x,Zc as y,le as z}; diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/index-yksqsBZR.css b/frontend/uni-apps/unpackage/dist/build/web/assets/index-yksqsBZR.css new file mode 100644 index 0000000000000000000000000000000000000000..dc68c3940fcf8a3eadcfc113f8731b81800a399b --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/index-yksqsBZR.css @@ -0,0 +1 @@ +*{margin:0;-webkit-tap-highlight-color:transparent}html,body{-webkit-user-select:none;user-select:none;width:100%;height:100%}body{overflow-x:hidden;font-size:16px}uni-app,uni-page,uni-page-wrapper,uni-page-body{display:block;box-sizing:border-box;width:100%}uni-page-wrapper{position:relative}#app,uni-app,uni-page,uni-page-wrapper{height:100%}.uni-mask{position:fixed;z-index:999;top:0;right:0;left:0;bottom:0;background:rgba(0,0,0,.5)}.uni-fade-enter-active,.uni-fade-leave-active{transition-duration:.25s;transition-property:opacity;transition-timing-function:ease}.uni-fade-enter-from,.uni-fade-leave-active{opacity:0}.uni-loading,uni-button[loading]:before{background-color:transparent;background-image:url(data:image/svg+xml;base64,\ PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=);background-repeat:no-repeat}.uni-loading{width:20px;height:20px;display:inline-block;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}@keyframes uni-loading{0%{transform:rotate3d(0,0,1,0)}to{transform:rotate3d(0,0,1,360deg)}}html{--primary-color: #007aff;--UI-BG: #fff;--UI-BG-1: #f7f7f7;--UI-BG-2: #fff;--UI-BG-3: #f7f7f7;--UI-BG-4: #4c4c4c;--UI-BG-5: #fff;--UI-FG: #000;--UI-FG-0: rgba(0, 0, 0, .9);--UI-FG-HALF: rgba(0, 0, 0, .9);--UI-FG-1: rgba(0, 0, 0, .5);--UI-FG-2: rgba(0, 0, 0, .3);--UI-FG-3: rgba(0, 0, 0, .1)}uni-page[data-type] uni-page-body{background-color:transparent}body:after{position:fixed;content:"";left:-1000px;top:-1000px;animation:shadow-preload .1s;animation-delay:3s}@keyframes shadow-preload{0%{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}to{background-image:url(https://cdn.dcloud.net.cn/img/shadow-grey.png)}}.uni-async-error{position:absolute;left:0;right:0;top:0;bottom:0;color:#999;padding:100px 10px;text-align:center}.uni-async-loading{box-sizing:border-box;width:100%;padding:50px;text-align:center}.uni-async-loading .uni-loading{width:30px;height:30px} diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/login-rRa25Sbg.css b/frontend/uni-apps/unpackage/dist/build/web/assets/login-rRa25Sbg.css new file mode 100644 index 0000000000000000000000000000000000000000..d8054ea1389e08bd1162b905228aa48357451ce5 --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/login-rRa25Sbg.css @@ -0,0 +1 @@ +.login-container[data-v-2e81e2cf]{height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;flex-direction:column;padding:120px 24px 20px;position:relative;box-sizing:border-box}.bg-gradient[data-v-2e81e2cf]{position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,#667eea,#764ba2);z-index:-1}.header[data-v-2e81e2cf]{text-align:center;margin-bottom:15px;margin-top:10px;flex-shrink:0}.header-content[data-v-2e81e2cf]{display:flex;align-items:center;justify-content:center;gap:15px}.logo[data-v-2e81e2cf]{width:60px;height:60px;background:rgba(255,255,255,.2);border-radius:16px;display:flex;align-items:center;justify-content:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.3);flex-shrink:0}.logo-icon[data-v-2e81e2cf]{width:32px;height:32px;background:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:16px;color:#667eea}.app-info[data-v-2e81e2cf]{display:flex;flex-direction:column;align-items:flex-start}.app-name[data-v-2e81e2cf]{color:#fff;font-size:24px;font-weight:700;margin-bottom:6px;display:block}.app-subtitle[data-v-2e81e2cf]{color:rgba(255,255,255,.8);font-size:14px;font-weight:400;display:block}.form-container[data-v-2e81e2cf]{flex:1;display:flex;flex-direction:column;justify-content:center;min-height:0;overflow:hidden}.form-card[data-v-2e81e2cf]{background:rgba(255,255,255,.1);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:20px;padding:25px 24px;border:1px solid rgba(255,255,255,.2);box-shadow:0 8px 32px rgba(0,0,0,.1);margin:0 10px;overflow:hidden}.auth-form[data-v-2e81e2cf]{transition:all .3s ease;overflow:hidden}.input-group[data-v-2e81e2cf]{margin-bottom:10px;position:relative}.input-label[data-v-2e81e2cf]{color:rgba(255,255,255,.9);font-size:13px;font-weight:500;margin-bottom:6px;display:block}.input-wrapper[data-v-2e81e2cf]{position:relative;width:100%}.custom-placeholder[data-v-2e81e2cf]{position:absolute;left:16px;top:12px;color:rgba(255,255,255,.6);font-size:15px;pointer-events:none;z-index:1;line-height:20px}.input-field[data-v-2e81e2cf]{width:100%;height:44px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.2);border-radius:12px;color:#fff;font-size:15px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .3s ease;box-sizing:border-box;padding:12px 16px;text-align:left;line-height:20px}.input-field[data-v-2e81e2cf]::-webkit-input-placeholder{color:rgba(255,255,255,.6);font-size:15px;opacity:1}.input-field[data-v-2e81e2cf]::placeholder{color:rgba(255,255,255,.6);font-size:15px;opacity:1}.input-field[data-v-2e81e2cf]:-webkit-autofill,.input-field[data-v-2e81e2cf]:-webkit-autofill:hover,.input-field[data-v-2e81e2cf]:-webkit-autofill:focus,.input-field[data-v-2e81e2cf]:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px rgba(255,255,255,.15) inset!important;-webkit-text-fill-color:#fff!important;background:rgba(255,255,255,.15)!important;border:1px solid rgba(255,255,255,.2)!important;-webkit-transition:background-color 5000s ease-in-out 0s;transition:background-color 5000s ease-in-out 0s}.input-field[data-v-2e81e2cf]:-webkit-autofill{background:rgba(255,255,255,.15)!important}.password-toggle[data-v-2e81e2cf]{position:absolute;right:16px;top:50%;transform:translateY(-50%);color:rgba(255,255,255,.7);font-size:18px;cursor:pointer;z-index:10;width:24px;height:24px;display:flex;align-items:center;justify-content:center;transition:all .3s ease}.password-toggle[data-v-2e81e2cf]:hover{color:rgba(255,255,255,.9)}.password-error[data-v-2e81e2cf]{margin-bottom:6px}.password-error-placeholder[data-v-2e81e2cf]{margin-bottom:6px;height:10px}.error-text[data-v-2e81e2cf]{color:#ff6b6b;font-size:12px;display:block;text-align:center}.remember-password[data-v-2e81e2cf]{margin-bottom:8px}.checkbox-label[data-v-2e81e2cf]{display:flex;align-items:center;color:rgba(255,255,255,.8);font-size:13px;cursor:pointer;position:relative}.checkmark[data-v-2e81e2cf]{width:16px;height:16px;background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);border-radius:4px;margin-right:8px;position:relative;transition:all .3s ease}.checkmark.checked[data-v-2e81e2cf]{background:rgba(255,255,255,.3);border-color:rgba(255,255,255,.5)}.checkmark.checked[data-v-2e81e2cf]:after{content:"✓";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;font-size:10px;font-weight:700}.login-btn[data-v-2e81e2cf]{width:100%;height:44px;background:#fff;color:#667eea;border:none;border-radius:12px;font-size:15px;font-weight:600;cursor:pointer;transition:all .3s ease;margin-bottom:8px;display:flex;align-items:center;justify-content:center}.login-btn[data-v-2e81e2cf]:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.2)}.login-btn[data-v-2e81e2cf]:disabled{background:#ccc;cursor:not-allowed;transform:none;box-shadow:none}.register-link[data-v-2e81e2cf]{text-align:center;margin-bottom:4px;color:rgba(255,255,255,.7);font-size:13px}.link-text[data-v-2e81e2cf]{color:rgba(255,255,255,.9);text-decoration:none;font-weight:500;margin-left:4px}.footer[data-v-2e81e2cf]{text-align:center;margin-top:auto;padding-top:10px;flex-shrink:0}.footer-text[data-v-2e81e2cf]{color:rgba(255,255,255,.6);font-size:10px;line-height:1.4}uni-input[data-v-2e81e2cf],uni-textarea[data-v-2e81e2cf]{padding:12px 16px!important;box-sizing:border-box!important}@media screen and (min-width: 768px){.login-container[data-v-2e81e2cf]{padding:40px;align-items:center;justify-content:center;min-height:100vh;height:auto}.form-container[data-v-2e81e2cf]{max-width:400px;width:100%;margin:0 auto}.form-card[data-v-2e81e2cf]{margin:0;padding:25px 28px;border-radius:24px;box-shadow:0 12px 40px rgba(0,0,0,.15)}.header[data-v-2e81e2cf]{margin-bottom:30px;margin-top:0}.header-content[data-v-2e81e2cf]{gap:20px}.logo[data-v-2e81e2cf]{width:80px;height:80px}.logo-icon[data-v-2e81e2cf]{width:40px;height:40px;font-size:20px}.app-name[data-v-2e81e2cf]{font-size:32px;margin-bottom:8px}.app-subtitle[data-v-2e81e2cf]{font-size:16px}.input-group[data-v-2e81e2cf]{margin-bottom:14px}.input-label[data-v-2e81e2cf]{font-size:14px;margin-bottom:8px}.input-field[data-v-2e81e2cf]{height:48px;font-size:16px;padding:14px 18px;line-height:20px}.input-field[data-v-2e81e2cf]::-webkit-input-placeholder{font-size:16px;color:#333}.input-field[data-v-2e81e2cf]::placeholder{font-size:16px;color:#333}.custom-placeholder[data-v-2e81e2cf]{top:14px;line-height:20px;font-size:16px;left:18px}.password-toggle[data-v-2e81e2cf]{font-size:20px;width:28px;height:28px;right:18px}.remember-password[data-v-2e81e2cf]{margin-bottom:12px}.checkbox-label[data-v-2e81e2cf]{font-size:14px}.checkmark[data-v-2e81e2cf]{width:18px;height:18px;margin-right:10px}.checkmark.checked[data-v-2e81e2cf]:after{font-size:11px}.login-btn[data-v-2e81e2cf]{height:48px;font-size:16px;margin-bottom:12px}.register-link[data-v-2e81e2cf]{margin-bottom:8px;font-size:14px}.footer[data-v-2e81e2cf]{padding-top:20px;margin-top:20px}.footer-text[data-v-2e81e2cf]{font-size:12px}}@media screen and (min-width: 1200px){.form-container[data-v-2e81e2cf]{max-width:450px}.form-card[data-v-2e81e2cf]{padding:30px 32px}.logo[data-v-2e81e2cf]{width:90px;height:90px}.logo-icon[data-v-2e81e2cf]{width:45px;height:45px;font-size:22px}.app-name[data-v-2e81e2cf]{font-size:36px}.app-subtitle[data-v-2e81e2cf]{font-size:18px}}@media screen and (max-width: 375px){.login-container[data-v-2e81e2cf]{padding:15px 20px}.form-card[data-v-2e81e2cf]{padding:20px;margin:0 5px}.header-content[data-v-2e81e2cf]{gap:12px}.logo[data-v-2e81e2cf]{width:50px;height:50px}.logo-icon[data-v-2e81e2cf]{width:28px;height:28px;font-size:14px}.app-name[data-v-2e81e2cf]{font-size:20px}.app-subtitle[data-v-2e81e2cf]{font-size:12px}.input-field[data-v-2e81e2cf]{height:40px;font-size:14px;padding:10px 14px;line-height:20px}.input-field[data-v-2e81e2cf]::-webkit-input-placeholder{font-size:14px;color:#333}.input-field[data-v-2e81e2cf]::placeholder{font-size:14px;color:#333}.custom-placeholder[data-v-2e81e2cf]{top:10px;line-height:20px;font-size:14px;left:14px}.login-btn[data-v-2e81e2cf]{height:40px;font-size:14px;margin-bottom:6px}.register-link[data-v-2e81e2cf]{margin-bottom:2px}}.input-error[data-v-2e81e2cf]{color:#ff6b6b;font-size:12px;margin-top:4px;display:block;text-align:left;padding-left:16px;line-height:1.4;word-break:break-all;white-space:normal}.input-field.error[data-v-2e81e2cf]{border-color:#ff6b6b;background:rgba(255,107,107,.1)} diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/navigation.CQk3XfYa.js b/frontend/uni-apps/unpackage/dist/build/web/assets/navigation.CQk3XfYa.js new file mode 100644 index 0000000000000000000000000000000000000000..96974890b56c98e000f5fa38b21330813d7bd9fd --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/navigation.CQk3XfYa.js @@ -0,0 +1 @@ +import{M as s,n as o,N as e,O as a,D as c,s as l}from"./index-CvzBWeDg.js";const n=(n,r={})=>new Promise(((i,t)=>{s({title:"跳转中...",mask:!0}),o({url:n,...r,success:s=>{console.log("navigateTo跳转成功:",n),e(),i(s)},fail:s=>{console.log("navigateTo跳转失败,尝试redirectTo:",s),a({url:n,...r,success:s=>{console.log("redirectTo跳转成功:",n),e(),i(s)},fail:s=>{console.log("redirectTo跳转失败,尝试reLaunch:",s),c({url:n,...r,success:s=>{console.log("reLaunch跳转成功:",n),e(),i(s)},fail:s=>{console.error("所有导航方式都失败了:",s),e(),l({title:"跳转失败",content:"页面跳转失败,请重试",showCancel:!1}),t(s)}})}})}})})),r=()=>n("/pages/login/login"),i=()=>n("/pages/ai-chat/chat"),t=()=>n("/pages/history/history");export{r as a,t as b,i as n,n as s}; diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/pages-ai-chat-chat.BREi36KV.js b/frontend/uni-apps/unpackage/dist/build/web/assets/pages-ai-chat-chat.BREi36KV.js new file mode 100644 index 0000000000000000000000000000000000000000..1019e53997ef7e3b10004661cd5b90ff5b240c04 --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/pages-ai-chat-chat.BREi36KV.js @@ -0,0 +1 @@ +import{o as e,c as a,w as t,a as s,b as l,d as o,r as i,t as n,F as r,e as c,f as u,n as d,s as v,i as h,g as m,S as g,h as p,j as y,k as f,l as _,u as k,m as w,p as C,q as b,v as x,x as T,y as S,z as D}from"./index-CvzBWeDg.js";import{g as H,C as j,a as z,r as B,c as L,i as M,b as q,s as I,d as A,e as N}from"./user-data.BG7eDKNm.js";import{g as V}from"./image.Brjk8Evt.js";import{g as W}from"./user-info.BK-CocDp.js";import{_ as $}from"./user.bNr49zIr.js";import{_ as E}from"./_plugin-vue_export-helper.BCo6x5W8.js";const K=E({__name:"sidebar",props:{visible:{type:Boolean,default:!1},chatHistory:{type:Array,default:()=>[]},username:{type:String,default:"用户"}},emits:["close","select-history"],setup(y,{emit:f}){const _=f,k=()=>{_("close")},w=()=>{k(),console.log("尝试跳转到隐私页面..."),d({url:"/pages/privacy/privacy",success:()=>{console.log("跳转成功!")},fail:e=>{console.error("跳转失败:",e),v({title:"页面跳转失败",content:"隐私页面可能还在编译中,请稍后再试",showCancel:!1,confirmText:"确定"})}})},C=e=>{const a=new Date(e),t=new Date-a;return t<864e5?a.toLocaleTimeString("zh-CN",{hour:"2-digit",minute:"2-digit"}):t<1728e5?"昨天 "+a.toLocaleTimeString("zh-CN",{hour:"2-digit",minute:"2-digit"}):a.toLocaleDateString("zh-CN",{month:"2-digit",day:"2-digit"})};return(d,v)=>{const f=h,b=m,x=g,T=p;return y.visible?(e(),a(b,{key:0,class:"sidebar-overlay",onClick:k},{default:t((()=>[s(b,{class:"sidebar",onClick:v[0]||(v[0]=u((()=>{}),["stop"]))},{default:t((()=>[s(b,{class:"sidebar-header"},{default:t((()=>[s(f,{class:"sidebar-title"},{default:t((()=>[l("会话记录")])),_:1}),s(b,{class:"close-btn",onClick:k},{default:t((()=>[s(f,{class:"close-icon"},{default:t((()=>[l("×")])),_:1})])),_:1})])),_:1}),s(x,{class:"chat-history","scroll-y":""},{default:t((()=>[(e(!0),o(r,null,i(y.chatHistory,((o,i)=>(e(),a(b,{key:i,class:"history-item",onClick:e=>(e=>{_("select-history",e)})(o)},{default:t((()=>[s(b,{class:"history-content"},{default:t((()=>[s(f,{class:"history-question"},{default:t((()=>[l(n(o.question),1)])),_:2},1024),s(f,{class:"history-time"},{default:t((()=>[l(n(C(o.timestamp)),1)])),_:2},1024)])),_:2},1024),s(b,{class:"history-arrow"},{default:t((()=>[l("›")])),_:1})])),_:2},1032,["onClick"])))),128)),0===y.chatHistory.length?(e(),a(b,{key:0,class:"empty-state"},{default:t((()=>[s(f,{class:"empty-text"},{default:t((()=>[l("暂无会话记录")])),_:1})])),_:1})):c("",!0)])),_:1}),s(b,{class:"user-info",onClick:w},{default:t((()=>[s(T,{class:"user-avatar",src:$}),s(b,{class:"user-details"},{default:t((()=>[s(f,{class:"username"},{default:t((()=>[l(n(y.username),1)])),_:1}),s(f,{class:"user-status"},{default:t((()=>[l("在线")])),_:1})])),_:1}),s(b,{class:"user-arrow"},{default:t((()=>[l("›")])),_:1})])),_:1})])),_:1})])),_:1})):c("",!0)}}},[["__scopeId","data-v-1785dc9e"]]),F=E({__name:"chat",setup(m){const g=y([]),$=y(""),E=y(!1),F=y(null),R=y(null),U=y(null),G=y(3),J=y(!1),O=y(!1),P=y([]),Q=y("用户"),X=H("chat"),Y=y("/static/ai.png"),Z=y("/static/user.png"),ee=e=>{console.log(`${e}头像加载成功`)},ae=e=>{console.error(`头像加载失败: ${e}`),"ai"===e?Y.value=V("ai"):Z.value=V("user")},te=()=>{b({delta:1})},se=()=>{O.value=!0},le=()=>{O.value=!1},oe=e=>{console.log("加载历史记录:",e),le()},ie=async()=>{U.value=q(),G.value=await N(),J.value=await L(),U.value&&(Q.value=U.value.username)},ne=async()=>{if(!$.value.trim()||E.value)return;if(await L())return void v({title:"需要登录",content:"您已用完免费对话次数,请登录后继续使用",showCancel:!0,cancelText:"取消",confirmText:"去登录",success:e=>{e.confirm&&d({url:"/pages/login/login"})}});const e=$.value.trim(),a={role:"user",content:e,timestamp:(new Date).getTime()};g.value.push(a),$.value="",(e=>{const a=[{question:e,timestamp:(new Date).getTime(),id:Date.now().toString()},...z("chat_history_records",[])];a.length>50&&a.splice(50),A("chat_history_records",a),P.value=a})(e),await M(),ie();const t={role:"assistant",content:"",loading:!0,timestamp:(new Date).getTime()};g.value.push(t),E.value=!0,re();try{const a=q(),t=(null==a?void 0:a.id)||null,s=await I(e,t),l=g.value[g.value.length-1];l.content=s.reply||"抱歉,我暂时无法回答您的问题。",l.loading=!1}catch(s){console.error("AI接口请求错误:",s);const e=g.value[g.value.length-1];e.content="抱歉,我遇到了一些问题,请稍后再试。",e.loading=!1}finally{E.value=!1,re(),ce()}},re=()=>{x((()=>{F.value&&(F.value.scrollTop=F.value.scrollHeight)}))},ce=()=>{x((()=>{var e;null==(e=R.value)||e.focus()}))};return f($,(()=>{x((()=>{R.value&&(R.value.style.height="auto",R.value.style.height=`${Math.min(R.value.scrollHeight,120)}px`)}))})),_((async()=>{ce(),(()=>{const e=z("chat_history_records",[]);P.value=e})(),await(async()=>{await ie(),U.value&&(B(),await ie())})(),(()=>{const e=W();U.value||(Q.value=e.username,Z.value=e.avatar)})(),0===g.value.length&&(g.value=[{role:"assistant",content:"你好!我是AI助手,有什么可以帮助你的吗?",timestamp:(new Date).getTime()}])})),f(g,(e=>{A("ai_chat_history",e)}),{deep:!0}),(d,v)=>{const m=h,y=p,f=T,_=S;return e(),o("div",{class:"ai-container"},[s(j,{title:k(X).title,titleSize:k(X).titleSize,titleColor:k(X).titleColor,titleWeight:k(X).titleWeight,backgroundColor:k(X).backgroundColor,showBack:k(X).showBack,showMenu:k(X).showMenu,rightText:k(X).rightText,onBack:te,onMenuClick:se},null,8,["title","titleSize","titleColor","titleWeight","backgroundColor","showBack","showMenu","rightText"]),s(K,{visible:O.value,chatHistory:P.value,username:Q.value,onClose:le,onSelectHistory:oe},null,8,["visible","chatHistory","username"]),w("div",{ref_key:"chatContainer",ref:F,class:"chat-container"},[!U.value&&G.value<3?(e(),o("div",{key:0,class:"dialogue-limit-tip"},[s(m,{class:"tip-text"},{default:t((()=>[l("剩余免费对话次数:"+n(G.value)+"次",1)])),_:1})])):c("",!0),(e(!0),o(r,null,i(g.value,((t,s)=>(e(),o("div",{key:s,class:D(["message",t.role])},[w("div",{class:"avatar"},["assistant"===t.role?(e(),a(y,{key:0,src:Y.value,onError:v[0]||(v[0]=e=>ae("ai")),onLoad:v[1]||(v[1]=e=>ee("ai")),class:"avatar-image"},null,8,["src"])):(e(),a(y,{key:1,src:Z.value,onError:v[2]||(v[2]=e=>ae("user")),onLoad:v[3]||(v[3]=e=>ee("user")),class:"avatar-image"},null,8,["src"]))]),w("div",{class:"content"},[w("div",{class:"text"},n(t.content),1),"assistant"===t.role&&t.loading?(e(),o("div",{key:0,class:"typing-indicator"},[w("span",{class:"dot"}),w("span",{class:"dot"}),w("span",{class:"dot"})])):c("",!0)])],2)))),128))],512),w("div",{class:"input-area"},[s(f,{modelValue:$.value,"onUpdate:modelValue":v[4]||(v[4]=e=>$.value=e),class:"input-box",placeholder:"请输入您的问题...",onKeydown:C(u(ne,["exact","prevent"]),["enter"]),ref_key:"textareaRef",ref:R},null,8,["modelValue","onKeydown"]),s(_,{class:"send-btn",disabled:E.value||!$.value.trim(),onClick:ne},{default:t((()=>[E.value?(e(),o("span",{key:1,class:"loading-icon"},"⏳")):(e(),o("span",{key:0},"发送"))])),_:1},8,["disabled"])])])}}},[["__scopeId","data-v-7df7cc7f"]]);export{F as default}; diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/pages-history-history.BqZ2rU3T.js b/frontend/uni-apps/unpackage/dist/build/web/assets/pages-history-history.BqZ2rU3T.js new file mode 100644 index 0000000000000000000000000000000000000000..e126cc15860d7bdb5c460fb80f127532e9732954 --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/pages-history-history.BqZ2rU3T.js @@ -0,0 +1 @@ +import{_ as e}from"./_plugin-vue_export-helper.BCo6x5W8.js";const r=e({},[["render",function(e,r){return null}]]);export{r as default}; diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/pages-login-login.CWF07iLr.js b/frontend/uni-apps/unpackage/dist/build/web/assets/pages-login-login.CWF07iLr.js new file mode 100644 index 0000000000000000000000000000000000000000..30890a289fb0f47592142c172aa63cc33bf2ac4d --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/pages-login-login.CWF07iLr.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/user-data.BG7eDKNm.js","assets/index-CvzBWeDg.js","assets/index-yksqsBZR.css","assets/_plugin-vue_export-helper.BCo6x5W8.js","assets/user-data-BbzcG9Nb.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{A as s,_ as e,B as r,c as a,w as o,g as t,o as i,a as l,b as n,e as d,t as u,z as c,i as m,I as h,C as g,y as p}from"./index-CvzBWeDg.js";import{n as w}from"./navigation.CQk3XfYa.js";import{C as f,g as P}from"./user-data.BG7eDKNm.js";import{_ as v}from"./_plugin-vue_export-helper.BCo6x5W8.js";const _=(s,e)=>{try{return!(!s||!s.style)&&(Object.entries(e).forEach((([e,r])=>{s.style[e]=r})),!0)}catch(r){return console.error("设置样式失败:",r),!1}};const F=v({components:{CustomNavbar:f},data:()=>({showRegister:!1,isLoading:!1,showPassword:!1,showRegisterPassword:!1,showConfirmPassword:!1,validationErrors:{username:"",password:"",confirmPassword:""},loginForm:{username:"",password:"",remember:!1},registerForm:{username:"",password:"",confirmPassword:""},navbarConfig:P("login")}),onLoad(){this.clearFormData()},onShow(){this.clearFormData()},methods:{validateUsername(s){const e=[];return s?(s.length<3&&e.push("用户名至少3个字符"),s.length>20&&e.push("用户名不能超过20个字符"),/^[a-zA-Z0-9_\u4e00-\u9fa5]+$/.test(s)||e.push("用户名只能包含字母、数字、下划线和中文")):e.push("用户名不能为空"),e.join(",")},validatePassword(s){const e=[];return s?(s.length<6&&e.push("密码至少6个字符"),s.length>20&&e.push("密码不能超过20个字符"),/^(?=.*[a-zA-Z])(?=.*\d)/.test(s)||e.push("密码必须包含字母和数字")):e.push("密码不能为空"),e.join(",")},validateConfirmPassword(s,e){const r=[];return e?s!==e&&r.push("两次输入的密码不一致"):r.push("请确认密码"),r.join(",")},validateUsernameRealTime(s,e="login"){const r=this.validateUsername(s);return this.validationErrors.username=r,r},validatePasswordRealTime(s,e="login"){const r=this.validatePassword(s);return this.validationErrors.password=r,r},validateConfirmPasswordRealTime(s){const e=this.validateConfirmPassword(this.registerForm.password,s);return this.validationErrors.confirmPassword=e,e},clearValidationErrors(){this.validationErrors={username:"",password:"",confirmPassword:""}},validateLoginForm(){const s=this.validateUsername(this.loginForm.username),e=this.validatePassword(this.loginForm.password);return this.validationErrors.username=s,this.validationErrors.password=e,!s&&!e},validateRegisterForm(){const s=this.validateUsername(this.registerForm.username),e=this.validatePassword(this.registerForm.password),r=this.validateConfirmPassword(this.registerForm.password,this.registerForm.confirmPassword);return this.validationErrors.username=s,this.validationErrors.password=e,this.validationErrors.confirmPassword=r,!s&&!e&&!r},switchToRegister(){this.showRegister=!0,this.registerForm={username:"",password:"",confirmPassword:""},this.showRegisterPassword=!1,this.showConfirmPassword=!1,this.clearValidationErrors(),this.$nextTick((()=>{this.$refs.registerUsername&&(this.$refs.registerUsername.value=""),this.$refs.registerPassword&&(this.$refs.registerPassword.value=""),this.$refs.registerConfirmPassword&&(this.$refs.registerConfirmPassword.value="")}))},switchToLogin(){this.showRegister=!1,this.loginForm={username:"",password:"",remember:!1},this.showPassword=!1,this.clearValidationErrors(),this.$nextTick((()=>{this.$refs.loginUsername&&(this.$refs.loginUsername.value=""),this.$refs.loginPassword&&(this.$refs.loginPassword.value="")}))},async handleLogin(){if(this.validateLoginForm()){this.isLoading=!0;try{const{login:r}=await e((()=>import("./user-data.BG7eDKNm.js").then((s=>s.f))),__vite__mapDeps([0,1,2,3,4])),a=await r(this.loginForm.username,this.loginForm.password);a.success?(s({title:"登录成功!欢迎使用AI助手",icon:"success"}),setTimeout((()=>{w().catch((s=>{console.error("跳转到聊天页面失败:",s)}))}),1500)):s({title:a.msg||"用户名或密码错误",icon:"none"})}catch(r){console.error("登录失败:",r),s({title:r.message||"登录失败,请稍后重试",icon:"none"})}finally{this.isLoading=!1}}else s({title:"请检查输入信息",icon:"none"})},async handleRegister(){if(this.validateRegisterForm()){this.isLoading=!0;try{const r={username:this.registerForm.username,password:this.registerForm.password,email:this.registerForm.email||"",avatar:"/static/user.png"},{register:a}=await e((()=>import("./user-data.BG7eDKNm.js").then((s=>s.f))),__vite__mapDeps([0,1,2,3,4]));await a(r.username,r.password,r.username),s({title:"注册成功!请登录",icon:"success"}),setTimeout((()=>{this.switchToLogin()}),1500)}catch(r){console.error("注册失败:",r),s({title:r.message||"注册失败,请稍后重试",icon:"none"})}finally{this.isLoading=!1}}else s({title:"请检查输入信息",icon:"none"})},togglePassword(){this.showPassword=!this.showPassword},toggleRegisterPassword(){this.showRegisterPassword=!this.showRegisterPassword},toggleConfirmPassword(){this.showConfirmPassword=!this.showConfirmPassword},toggleRemember(){this.loginForm.remember=!this.loginForm.remember},handleInputFocus(s){const e=s.target;e&&_(e,{transform:"translateY(-2px)",borderColor:"rgba(255,255,255,0.5)"})},handleInputBlur(s){const e=s.target;e&&_(e,{transform:"",borderColor:""})},handleUsernameInput(s,e="login"){this.validateUsernameRealTime(s,e)},handlePasswordInput(s,e="login"){this.validatePasswordRealTime(s,e)},handleConfirmPasswordInput(s){this.validateConfirmPasswordRealTime(s)},clearFormData(){this.loginForm={username:"",password:"",remember:!1},this.registerForm={username:"",password:"",confirmPassword:""},this.showPassword=!1,this.showRegisterPassword=!1,this.showConfirmPassword=!1,this.clearValidationErrors(),this.$nextTick((()=>{this.$refs.loginUsername&&(this.$refs.loginUsername.value=""),this.$refs.loginPassword&&(this.$refs.loginPassword.value=""),this.$refs.registerUsername&&(this.$refs.registerUsername.value=""),this.$refs.registerPassword&&(this.$refs.registerPassword.value=""),this.$refs.registerConfirmPassword&&(this.$refs.registerConfirmPassword.value="")}))}}},[["render",function(s,e,w,f,P,v){const _=r("custom-navbar"),F=t,C=m,k=h,b=g,y=p;return i(),a(F,{class:"login-container"},{default:o((()=>[l(_,{title:P.navbarConfig.title,titleSize:P.navbarConfig.titleSize,titleColor:P.navbarConfig.titleColor,titleWeight:P.navbarConfig.titleWeight,backgroundColor:P.navbarConfig.backgroundColor,showBack:P.navbarConfig.showBack,rightText:P.navbarConfig.rightText},null,8,["title","titleSize","titleColor","titleWeight","backgroundColor","showBack","rightText"]),l(F,{class:"bg-gradient"}),l(F,{class:"header"},{default:o((()=>[l(F,{class:"header-content"},{default:o((()=>[l(F,{class:"logo"},{default:o((()=>[l(F,{class:"logo-icon"})])),_:1}),l(F,{class:"app-info"},{default:o((()=>[l(C,{class:"app-name"},{default:o((()=>[n("知识问答APP")])),_:1}),l(C,{class:"app-subtitle"},{default:o((()=>[n("智能对话,无限可能")])),_:1})])),_:1})])),_:1})])),_:1}),l(F,{class:"form-container"},{default:o((()=>[l(F,{class:"form-card"},{default:o((()=>[P.showRegister?(i(),a(F,{key:1,class:"auth-form"},{default:o((()=>[l(F,{class:"input-group"},{default:o((()=>[l(C,{class:"input-label"},{default:o((()=>[n("用户名")])),_:1}),l(F,{class:"input-wrapper"},{default:o((()=>[l(k,{type:"text",class:"input-field",placeholder:"",modelValue:P.registerForm.username,"onUpdate:modelValue":e[4]||(e[4]=s=>P.registerForm.username=s),onFocus:v.handleInputFocus,onBlur:v.handleInputBlur,onInput:e[5]||(e[5]=s=>v.handleUsernameInput(s.detail.value,"register")),autocomplete:"off",ref:"registerUsername"},null,8,["modelValue","onFocus","onBlur"]),P.registerForm.username?d("",!0):(i(),a(C,{key:0,class:"custom-placeholder"},{default:o((()=>[n("请输入用户名")])),_:1})),P.validationErrors.username?(i(),a(C,{key:1,class:"input-error"},{default:o((()=>[n(u(P.validationErrors.username),1)])),_:1})):d("",!0)])),_:1})])),_:1}),l(F,{class:"input-group"},{default:o((()=>[l(C,{class:"input-label"},{default:o((()=>[n("密码")])),_:1}),l(F,{class:"input-wrapper"},{default:o((()=>[l(k,{type:P.showRegisterPassword?"text":"password",class:"input-field",placeholder:"",modelValue:P.registerForm.password,"onUpdate:modelValue":e[6]||(e[6]=s=>P.registerForm.password=s),onFocus:v.handleInputFocus,onBlur:v.handleInputBlur,onInput:e[7]||(e[7]=s=>v.handlePasswordInput(s.detail.value,"register")),autocomplete:"new-password",ref:"registerPassword"},null,8,["type","modelValue","onFocus","onBlur"]),P.registerForm.password?d("",!0):(i(),a(C,{key:0,class:"custom-placeholder"},{default:o((()=>[n("请输入密码")])),_:1})),P.validationErrors.password?(i(),a(C,{key:1,class:"input-error"},{default:o((()=>[n(u(P.validationErrors.password),1)])),_:1})):d("",!0)])),_:1}),l(C,{class:"password-toggle",onClick:v.toggleRegisterPassword},{default:o((()=>[n(u((P.showRegisterPassword,"")),1)])),_:1},8,["onClick"])])),_:1}),l(F,{class:"input-group"},{default:o((()=>[l(C,{class:"input-label"},{default:o((()=>[n("确认密码")])),_:1}),l(F,{class:"input-wrapper"},{default:o((()=>[l(k,{type:P.showConfirmPassword?"text":"password",class:"input-field",placeholder:"",modelValue:P.registerForm.confirmPassword,"onUpdate:modelValue":e[8]||(e[8]=s=>P.registerForm.confirmPassword=s),onFocus:v.handleInputFocus,onBlur:v.handleInputBlur,onInput:e[9]||(e[9]=s=>v.handleConfirmPasswordInput(s.detail.value)),autocomplete:"new-password",ref:"registerConfirmPassword"},null,8,["type","modelValue","onFocus","onBlur"]),P.registerForm.confirmPassword?d("",!0):(i(),a(C,{key:0,class:"custom-placeholder"},{default:o((()=>[n("请再次输入密码")])),_:1})),P.validationErrors.confirmPassword?(i(),a(C,{key:1,class:"input-error"},{default:o((()=>[n(u(P.validationErrors.confirmPassword),1)])),_:1})):d("",!0)])),_:1}),l(C,{class:"password-toggle",onClick:v.toggleConfirmPassword},{default:o((()=>[n(u((P.showConfirmPassword,"")),1)])),_:1},8,["onClick"])])),_:1}),l(y,{class:"login-btn",onClick:v.handleRegister,disabled:P.isLoading},{default:o((()=>[n(u(P.isLoading?"注册中...":"注册"),1)])),_:1},8,["onClick","disabled"]),l(F,{class:"register-link"},{default:o((()=>[l(C,null,{default:o((()=>[n("已有账号?")])),_:1}),l(C,{class:"link-text",onClick:v.switchToLogin},{default:o((()=>[n("返回登录")])),_:1},8,["onClick"])])),_:1})])),_:1})):(i(),a(F,{key:0,class:"auth-form"},{default:o((()=>[l(F,{class:"input-group"},{default:o((()=>[l(C,{class:"input-label"},{default:o((()=>[n("用户名")])),_:1}),l(F,{class:"input-wrapper"},{default:o((()=>[l(k,{type:"text",class:"input-field",placeholder:"",modelValue:P.loginForm.username,"onUpdate:modelValue":e[0]||(e[0]=s=>P.loginForm.username=s),onFocus:v.handleInputFocus,onBlur:v.handleInputBlur,onInput:e[1]||(e[1]=s=>v.handleUsernameInput(s.detail.value,"login")),autocomplete:"off",ref:"loginUsername"},null,8,["modelValue","onFocus","onBlur"]),P.loginForm.username?d("",!0):(i(),a(C,{key:0,class:"custom-placeholder"},{default:o((()=>[n("请输入用户名")])),_:1})),P.validationErrors.username?(i(),a(C,{key:1,class:"input-error"},{default:o((()=>[n(u(P.validationErrors.username),1)])),_:1})):d("",!0)])),_:1})])),_:1}),l(F,{class:"input-group"},{default:o((()=>[l(C,{class:"input-label"},{default:o((()=>[n("密码")])),_:1}),l(F,{class:"input-wrapper"},{default:o((()=>[l(k,{type:P.showPassword?"text":"password",class:"input-field",placeholder:"",modelValue:P.loginForm.password,"onUpdate:modelValue":e[2]||(e[2]=s=>P.loginForm.password=s),onFocus:v.handleInputFocus,onBlur:v.handleInputBlur,onInput:e[3]||(e[3]=s=>v.handlePasswordInput(s.detail.value,"login")),autocomplete:"new-password",ref:"loginPassword"},null,8,["type","modelValue","onFocus","onBlur"]),P.loginForm.password?d("",!0):(i(),a(C,{key:0,class:"custom-placeholder"},{default:o((()=>[n("请输入密码")])),_:1})),P.validationErrors.password?(i(),a(C,{key:1,class:"input-error"},{default:o((()=>[n(u(P.validationErrors.password),1)])),_:1})):d("",!0)])),_:1}),l(C,{class:"password-toggle",onClick:v.togglePassword},{default:o((()=>[n(u((P.showPassword,"")),1)])),_:1},8,["onClick"])])),_:1}),l(F,{class:"remember-password"},{default:o((()=>[l(b,{class:"checkbox-label",onClick:v.toggleRemember},{default:o((()=>[l(F,{class:c(["checkmark",{checked:P.loginForm.remember}])},null,8,["class"]),l(C,null,{default:o((()=>[n("记住密码")])),_:1})])),_:1},8,["onClick"])])),_:1}),l(y,{class:"login-btn",onClick:v.handleLogin,disabled:P.isLoading},{default:o((()=>[n(u(P.isLoading?"登录中...":"登录"),1)])),_:1},8,["onClick","disabled"]),l(F,{class:"register-link"},{default:o((()=>[l(C,null,{default:o((()=>[n("还没有账号?")])),_:1}),l(C,{class:"link-text",onClick:v.switchToRegister},{default:o((()=>[n("立即注册")])),_:1},8,["onClick"])])),_:1})])),_:1}))])),_:1})])),_:1}),l(F,{class:"footer"},{default:o((()=>[l(C,{class:"footer-text"},{default:o((()=>[n("登录即表示同意《用户协议》和《隐私政策》")])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-2e81e2cf"]]);export{F as default}; diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/pages-privacy-privacy.Cbv33Bed.js b/frontend/uni-apps/unpackage/dist/build/web/assets/pages-privacy-privacy.Cbv33Bed.js new file mode 100644 index 0000000000000000000000000000000000000000..fad2a46937075a91885804600223184f6f22aa67 --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/pages-privacy-privacy.Cbv33Bed.js @@ -0,0 +1 @@ +import{j as t,l as e,c as a,w as s,g as l,o as c,a as o,u as i,b as n,t as r,q as u,D as f,s as d,A as _,i as m,y as h}from"./index-CvzBWeDg.js";import{g,C as p,l as b}from"./user-data.BG7eDKNm.js";import{g as x}from"./user-info.BK-CocDp.js";import{_ as C}from"./_plugin-vue_export-helper.BCo6x5W8.js";const k=C({__name:"privacy",setup(C){const k=g("privacy"),w=t({phone:"138****8888",username:"用户"}),v=()=>{try{u({delta:1})}catch(t){f({url:"/pages/ai-chat/chat"})}},T=t=>{switch(t){case"agreement":d({title:"用户协议",content:"这里是用户协议内容...",showCancel:!1,confirmText:"我知道了"});break;case"privacy":d({title:"隐私政策",content:"这里是隐私政策内容...",showCancel:!1,confirmText:"我知道了"});break;case"contact":d({title:"联系我们",content:"客服电话:400-123-4567\n邮箱:support@example.com",showCancel:!1,confirmText:"我知道了"});break;case"delete":d({title:"删除账户",content:"删除账户后,所有数据将无法恢复,确定要删除吗?",showCancel:!0,cancelText:"取消",confirmText:"删除",success:t=>{t.confirm&&y()}})}},y=()=>{_({title:"账户删除功能开发中",icon:"none"})},j=()=>{d({title:"确认退出",content:"确定要退出登录吗?",showCancel:!0,cancelText:"取消",confirmText:"退出",success:async t=>{if(t.confirm)try{await b(),_({title:"退出成功",icon:"success"}),setTimeout((()=>{f({url:"/pages/login/login"})}),1500)}catch(e){console.error("退出登录失败:",e),_({title:"退出失败,请重试",icon:"none"})}}})};return e((()=>{try{const t=x();t&&(w.value={...w.value,...t})}catch(t){console.log("获取用户信息失败:",t)}})),(t,e)=>{const u=l,f=m,d=h;return c(),a(u,{class:"privacy-container"},{default:s((()=>[o(p,{title:i(k).title,titleSize:i(k).titleSize,titleColor:i(k).titleColor,titleWeight:i(k).titleWeight,backgroundColor:i(k).backgroundColor,showBack:i(k).showBack,rightText:i(k).rightText,onBack:v},null,8,["title","titleSize","titleColor","titleWeight","backgroundColor","showBack","rightText"]),o(u,{class:"content"},{default:s((()=>[o(u,{class:"section"},{default:s((()=>[o(u,{class:"section-title"},{default:s((()=>[n("账户信息")])),_:1}),o(u,{class:"info-item"},{default:s((()=>[o(f,{class:"label"},{default:s((()=>[n("账户:")])),_:1}),o(f,{class:"value"},{default:s((()=>[n(r(w.value.phone||"手机号 (虚拟数据)"),1)])),_:1})])),_:1})])),_:1}),o(u,{class:"section"},{default:s((()=>[o(u,{class:"section-title"},{default:s((()=>[n("关于")])),_:1}),o(u,{class:"about-list"},{default:s((()=>[o(u,{class:"about-item",onClick:e[0]||(e[0]=t=>T("agreement"))},{default:s((()=>[o(f,{class:"about-text"},{default:s((()=>[n("用户协议")])),_:1}),o(f,{class:"arrow"},{default:s((()=>[n(">")])),_:1})])),_:1}),o(u,{class:"about-item",onClick:e[1]||(e[1]=t=>T("privacy"))},{default:s((()=>[o(f,{class:"about-text"},{default:s((()=>[n("隐私政策")])),_:1}),o(f,{class:"arrow"},{default:s((()=>[n(">")])),_:1})])),_:1}),o(u,{class:"about-item",onClick:e[2]||(e[2]=t=>T("contact"))},{default:s((()=>[o(f,{class:"about-text"},{default:s((()=>[n("联系我们")])),_:1}),o(f,{class:"arrow"},{default:s((()=>[n(">")])),_:1})])),_:1}),o(u,{class:"about-item",onClick:e[3]||(e[3]=t=>T("delete"))},{default:s((()=>[o(f,{class:"about-text"},{default:s((()=>[n("删除账户")])),_:1}),o(f,{class:"arrow"},{default:s((()=>[n(">")])),_:1})])),_:1})])),_:1})])),_:1}),o(u,{class:"logout-section"},{default:s((()=>[o(d,{class:"logout-btn",onClick:j},{default:s((()=>[n("退出登录")])),_:1})])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-7b6c2bd4"]]);export{k as default}; diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/pages-test-image-display-test.CGNXyDEF.js b/frontend/uni-apps/unpackage/dist/build/web/assets/pages-test-image-display-test.CGNXyDEF.js new file mode 100644 index 0000000000000000000000000000000000000000..bb6148cf547f13ba990fd30669e1d5d89c3a3626 --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/pages-test-image-display-test.CGNXyDEF.js @@ -0,0 +1 @@ +import{j as s,l as a,c as e,w as l,g as t,o as c,a as i,b as u,t as r,d,r as _,F as f,i as o,h as n,S as m}from"./index-CvzBWeDg.js";import{_ as g}from"./ai.BELn2y0e.js";import{_ as v}from"./user.bNr49zIr.js";import{_ as p}from"./_plugin-vue_export-helper.BCo6x5W8.js";const z=p({__name:"image-display-test",setup(p){const z=s({ai:"",user:""}),b=s([]),y=s=>{const a=(new Date).toLocaleTimeString();b.value.push(`[${a}] ${s}`)},x=s=>{z.value[s]="加载成功",y(`${s}头像加载成功`)},j=s=>{z.value[s]="加载失败",y(`${s}头像加载失败`)};return a((()=>{y("图片显示测试页面加载完成"),y("开始测试图片显示...")})),(s,a)=>{const p=o,y=t,h=n,$=m;return c(),e(y,{class:"display-test"},{default:l((()=>[i(y,{class:"header"},{default:l((()=>[i(p,{class:"title"},{default:l((()=>[u("图片显示测试")])),_:1})])),_:1}),i(y,{class:"test-section"},{default:l((()=>[i(p,{class:"section-title"},{default:l((()=>[u("基础图片显示测试")])),_:1}),i(y,{class:"image-grid"},{default:l((()=>[i(y,{class:"image-item"},{default:l((()=>[i(p,{class:"label"},{default:l((()=>[u("AI头像 (40x40)")])),_:1}),i(y,{class:"avatar-container"},{default:l((()=>[i(h,{class:"avatar",src:g,onError:a[0]||(a[0]=s=>j("ai")),onLoad:a[1]||(a[1]=s=>x("ai"))})])),_:1}),i(p,{class:"status"},{default:l((()=>[u(r(z.value.ai||"加载中..."),1)])),_:1})])),_:1}),i(y,{class:"image-item"},{default:l((()=>[i(p,{class:"label"},{default:l((()=>[u("用户头像 (40x40)")])),_:1}),i(y,{class:"avatar-container"},{default:l((()=>[i(h,{class:"avatar",src:v,onError:a[2]||(a[2]=s=>j("user")),onLoad:a[3]||(a[3]=s=>x("user"))})])),_:1}),i(p,{class:"status"},{default:l((()=>[u(r(z.value.user||"加载中..."),1)])),_:1})])),_:1})])),_:1})])),_:1}),i(y,{class:"test-section"},{default:l((()=>[i(p,{class:"section-title"},{default:l((()=>[u("不同尺寸测试")])),_:1}),i(y,{class:"size-grid"},{default:l((()=>[i(y,{class:"size-item"},{default:l((()=>[i(p,{class:"size-label"},{default:l((()=>[u("20x20")])),_:1}),i(h,{class:"size-image",src:g})])),_:1}),i(y,{class:"size-item"},{default:l((()=>[i(p,{class:"size-label"},{default:l((()=>[u("30x30")])),_:1}),i(h,{class:"size-image",src:g})])),_:1}),i(y,{class:"size-item"},{default:l((()=>[i(p,{class:"size-label"},{default:l((()=>[u("40x40")])),_:1}),i(h,{class:"size-image",src:g})])),_:1}),i(y,{class:"size-item"},{default:l((()=>[i(p,{class:"size-label"},{default:l((()=>[u("50x50")])),_:1}),i(h,{class:"size-image",src:g})])),_:1})])),_:1})])),_:1}),i(y,{class:"test-section"},{default:l((()=>[i(p,{class:"section-title"},{default:l((()=>[u("样式测试")])),_:1}),i(y,{class:"style-grid"},{default:l((()=>[i(y,{class:"style-item"},{default:l((()=>[i(p,{class:"style-label"},{default:l((()=>[u("圆形头像")])),_:1}),i(h,{class:"circle-avatar",src:v})])),_:1}),i(y,{class:"style-item"},{default:l((()=>[i(p,{class:"style-label"},{default:l((()=>[u("方形头像")])),_:1}),i(h,{class:"square-avatar",src:v})])),_:1}),i(y,{class:"style-item"},{default:l((()=>[i(p,{class:"style-label"},{default:l((()=>[u("带边框")])),_:1}),i(h,{class:"bordered-avatar",src:v})])),_:1})])),_:1})])),_:1}),i(y,{class:"log-section"},{default:l((()=>[i(p,{class:"section-title"},{default:l((()=>[u("加载日志")])),_:1}),i($,{class:"log-content","scroll-y":""},{default:l((()=>[(c(!0),d(f,null,_(b.value,((s,a)=>(c(),e(p,{key:a,class:"log-item"},{default:l((()=>[u(r(s),1)])),_:2},1024)))),128))])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-00c410a9"]]);export{z as default}; diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/pages-test-image-test.BgrXUrA7.js b/frontend/uni-apps/unpackage/dist/build/web/assets/pages-test-image-test.BgrXUrA7.js new file mode 100644 index 0000000000000000000000000000000000000000..78ab36e076ba60768e69ad981e38c6ad849f77df --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/pages-test-image-test.BgrXUrA7.js @@ -0,0 +1 @@ +import{j as a,c as s,w as e,g as t,o as l,a as r,b as u,z as c,t as o,d as i,r as d,F as n,i as _,h as f,y as m,S as g}from"./index-CvzBWeDg.js";import{_ as v}from"./ai.BELn2y0e.js";import{_ as p}from"./user.bNr49zIr.js";import{a as b,p as $}from"./image.Brjk8Evt.js";import{_ as j}from"./_plugin-vue_export-helper.BCo6x5W8.js";const h=j({__name:"image-test",setup(j){const h=a([]),y=a({ai:"",user:""}),k=a=>{const s=(new Date).toLocaleTimeString();h.value.push(`[${s}] ${a}`)},w=a=>{y.value[a]="loaded",k(`${a}头像加载成功`)},I=a=>{y.value[a]="error",k(`${a}头像加载失败`)},x=async()=>{k("开始测试图片工具函数...");try{const a=b("ai"),s=b("user");k(`AI头像路径: ${a}`),k(`用户头像路径: ${s}`),await $(a),k("AI头像预加载成功"),await $(s),k("用户头像预加载成功"),k("所有图片工具测试通过")}catch(a){k(`图片工具测试失败: ${a.message}`)}},A=()=>{k("测试头像路径生成...");const a={ai:b("ai"),user:b("user"),invalid:b("invalid")};Object.entries(a).forEach((([a,s])=>{k(`${a}: ${s}`)}))},C=()=>{y.value={ai:"",user:""},h.value=[],k("状态已清除")};return(a,b)=>{const $=_,j=t,k=f,E=m,L=g;return l(),s(j,{class:"image-test-container"},{default:e((()=>[r(j,{class:"header"},{default:e((()=>[r($,{class:"title"},{default:e((()=>[u("图片加载测试")])),_:1})])),_:1}),r(j,{class:"test-section"},{default:e((()=>[r($,{class:"section-title"},{default:e((()=>[u("静态图片测试")])),_:1}),r(j,{class:"image-grid"},{default:e((()=>[r(j,{class:"image-item"},{default:e((()=>[r($,{class:"image-label"},{default:e((()=>[u("AI头像")])),_:1}),r(k,{class:"test-image",src:v,onError:b[0]||(b[0]=a=>I("ai")),onLoad:b[1]||(b[1]=a=>w("ai"))}),r($,{class:c(["status",{success:"loaded"===y.value.ai,error:"error"===y.value.ai}])},{default:e((()=>[u(o(y.value.ai||"加载中..."),1)])),_:1},8,["class"])])),_:1}),r(j,{class:"image-item"},{default:e((()=>[r($,{class:"image-label"},{default:e((()=>[u("用户头像")])),_:1}),r(k,{class:"test-image",src:p,onError:b[2]||(b[2]=a=>I("user")),onLoad:b[3]||(b[3]=a=>w("user"))}),r($,{class:c(["status",{success:"loaded"===y.value.user,error:"error"===y.value.user}])},{default:e((()=>[u(o(y.value.user||"加载中..."),1)])),_:1},8,["class"])])),_:1})])),_:1})])),_:1}),r(j,{class:"test-section"},{default:e((()=>[r($,{class:"section-title"},{default:e((()=>[u("工具函数测试")])),_:1}),r(j,{class:"button-group"},{default:e((()=>[r(E,{class:"test-btn",onClick:x},{default:e((()=>[u("测试图片工具")])),_:1}),r(E,{class:"test-btn",onClick:A},{default:e((()=>[u("测试头像路径")])),_:1}),r(E,{class:"test-btn",onClick:C},{default:e((()=>[u("清除状态")])),_:1})])),_:1})])),_:1}),r(j,{class:"log-container"},{default:e((()=>[r($,{class:"log-title"},{default:e((()=>[u("测试日志:")])),_:1}),r(L,{class:"log-content","scroll-y":""},{default:e((()=>[(l(!0),i(n,null,d(h.value,((a,t)=>(l(),s($,{key:t,class:"log-item"},{default:e((()=>[u(o(a),1)])),_:2},1024)))),128))])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-551f48e6"]]);export{h as default}; diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/pages-test-simple-image-test.5McAG3Hd.js b/frontend/uni-apps/unpackage/dist/build/web/assets/pages-test-simple-image-test.5McAG3Hd.js new file mode 100644 index 0000000000000000000000000000000000000000..8c75ece0b7a3dbb39e316937982a610f17f162c9 --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/pages-test-simple-image-test.5McAG3Hd.js @@ -0,0 +1 @@ +import{j as s,l as a,c as t,w as e,g as l,o as c,a as o,b as i,t as u,u as n,d as r,r as d,F as f,i as g,h as _,y as m,S as p}from"./index-CvzBWeDg.js";import{_ as $}from"./ai.BELn2y0e.js";import{_ as b}from"./user.bNr49zIr.js";import{_ as v}from"./_plugin-vue_export-helper.BCo6x5W8.js";const h=s=>new Promise((a=>{const t=new Image;t.onload=()=>{console.log(`图片存在: ${s}`),a(!0)},t.onerror=()=>{console.error(`图片不存在: ${s}`),a(!1)},t.src=s})),w=async s=>{const a=(s=>[`/static/${s}`,`@/static/${s}`,`../static/${s}`,`./static/${s}`,`static/${s}`,`/${s}`,s])(s);for(const t of a){console.log(`测试路径: ${t}`);if(await h(t))return{exists:!0,path:t}}return{exists:!1,path:null}},y=async s=>{console.log(`开始诊断图片: ${s}`);const a={imageName:s,timestamp:(new Date).toISOString(),tests:[]},t=await w(s);return a.tests.push({type:"path_test",success:t.exists,path:t.path,message:t.exists?"找到有效路径":"所有路径都无效"}),a},x=v({__name:"simple-image-test",setup(v){const h=s({ai:"",user:""}),x=s([]),S=s(""),I=s=>{const a=(new Date).toLocaleTimeString();x.value.push(`[${a}] ${s}`)},j=s=>{h.value[s]="加载成功",I(`${s}头像加载成功`)},k=s=>{h.value[s]="加载失败",I(`${s}头像加载失败`)},L=async()=>{I("开始诊断图片问题...");try{const s=await y("ai.png");I(`AI头像诊断结果: ${JSON.stringify(s.tests)}`);const a=await y("user.png");I(`用户头像诊断结果: ${JSON.stringify(a.tests)}`),I("诊断完成")}catch(s){I(`诊断失败: ${s.message}`)}};return a((()=>{S.value=(new Date).toLocaleString(),I("页面加载完成"),I("开始测试图片加载...")})),(s,a)=>{const v=g,y=l,I=_,A=m,C=p;return c(),t(y,{class:"simple-test"},{default:e((()=>[o(y,{class:"header"},{default:e((()=>[o(v,{class:"title"},{default:e((()=>[i("简单图片测试")])),_:1})])),_:1}),o(y,{class:"image-section"},{default:e((()=>[o(v,{class:"section-title"},{default:e((()=>[i("直接路径测试")])),_:1}),o(y,{class:"image-row"},{default:e((()=>[o(y,{class:"image-item"},{default:e((()=>[o(v,{class:"label"},{default:e((()=>[i("AI头像")])),_:1}),o(I,{class:"avatar",src:$,onError:a[0]||(a[0]=s=>k("ai")),onLoad:a[1]||(a[1]=s=>j("ai"))}),o(v,{class:"status"},{default:e((()=>[i(u(h.value.ai||"加载中..."),1)])),_:1})])),_:1}),o(y,{class:"image-item"},{default:e((()=>[o(v,{class:"label"},{default:e((()=>[i("用户头像")])),_:1}),o(I,{class:"avatar",src:b,onError:a[2]||(a[2]=s=>k("user")),onLoad:a[3]||(a[3]=s=>j("user"))}),o(v,{class:"status"},{default:e((()=>[i(u(h.value.user||"加载中..."),1)])),_:1})])),_:1})])),_:1})])),_:1}),o(y,{class:"debug-section"},{default:e((()=>[o(v,{class:"section-title"},{default:e((()=>[i("调试信息")])),_:1}),o(y,{class:"debug-info"},{default:e((()=>[o(v,{class:"debug-item"},{default:e((()=>[i("AI头像路径: /static/ai.png")])),_:1}),o(v,{class:"debug-item"},{default:e((()=>[i("用户头像路径: /static/user.png")])),_:1}),o(v,{class:"debug-item"},{default:e((()=>[i("当前时间: "+u(S.value),1)])),_:1})])),_:1}),o(y,{class:"button-group"},{default:e((()=>[o(A,{class:"debug-btn",onClick:L},{default:e((()=>[i("诊断图片问题")])),_:1}),o(A,{class:"debug-btn",onClick:n(w)},{default:e((()=>[i("测试所有路径")])),_:1},8,["onClick"])])),_:1})])),_:1}),o(y,{class:"log-section"},{default:e((()=>[o(v,{class:"section-title"},{default:e((()=>[i("加载日志")])),_:1}),o(C,{class:"log-content","scroll-y":""},{default:e((()=>[(c(!0),r(f,null,d(x.value,((s,a)=>(c(),t(v,{key:a,class:"log-item"},{default:e((()=>[i(u(s),1)])),_:2},1024)))),128))])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-3ad49dab"]]);export{x as default}; diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/pages-test-test.uvlRSvzq.js b/frontend/uni-apps/unpackage/dist/build/web/assets/pages-test-test.uvlRSvzq.js new file mode 100644 index 0000000000000000000000000000000000000000..80040c5933d87cc8a205d585be7b975c8b3593a1 --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/pages-test-test.uvlRSvzq.js @@ -0,0 +1 @@ +import{j as s,c as t,w as a,g as e,o as l,a as c,b as n,d as o,r as i,t as u,F as d,i as g,y as _,S as r}from"./index-CvzBWeDg.js";import{a as f,n as m,b as p,s as h}from"./navigation.CQk3XfYa.js";import{_ as b}from"./_plugin-vue_export-helper.BCo6x5W8.js";const $=b({__name:"test",setup(b){const $=s([]),k=s=>{const t=(new Date).toLocaleTimeString();$.value.push(`[${t}] ${s}`)},C=()=>{k("开始测试跳转到登录页面..."),f().then((()=>{k("跳转到登录页面成功")})).catch((s=>{k(`跳转到登录页面失败: ${s.message}`)}))},v=()=>{k("开始测试跳转到聊天页面..."),m().then((()=>{k("跳转到聊天页面成功")})).catch((s=>{k(`跳转到聊天页面失败: ${s.message}`)}))},j=()=>{k("开始测试跳转到历史页面..."),p().then((()=>{k("跳转到历史页面成功")})).catch((s=>{k(`跳转到历史页面失败: ${s.message}`)}))},y=()=>{k("开始测试跳转到图片测试页面..."),h("/pages/test/image-test").then((()=>{k("跳转到图片测试页面成功")})).catch((s=>{k(`跳转到图片测试页面失败: ${s.message}`)}))},x=()=>{k("开始测试跳转到简单图片测试页面..."),h("/pages/test/simple-image-test").then((()=>{k("跳转到简单图片测试页面成功")})).catch((s=>{k(`跳转到简单图片测试页面失败: ${s.message}`)}))},w=()=>{k("开始测试跳转到图片显示测试页面..."),h("/pages/test/image-display-test").then((()=>{k("跳转到图片显示测试页面成功")})).catch((s=>{k(`跳转到图片显示测试页面失败: ${s.message}`)}))};return(s,f)=>{const m=g,p=e,h=_,b=r;return l(),t(p,{class:"test-container"},{default:a((()=>[c(p,{class:"header"},{default:a((()=>[c(m,{class:"title"},{default:a((()=>[n("页面跳转测试")])),_:1})])),_:1}),c(p,{class:"button-group"},{default:a((()=>[c(h,{class:"test-btn",onClick:C},{default:a((()=>[n("测试跳转到登录页面")])),_:1}),c(h,{class:"test-btn",onClick:v},{default:a((()=>[n("测试跳转到聊天页面")])),_:1}),c(h,{class:"test-btn",onClick:j},{default:a((()=>[n("测试跳转到历史页面")])),_:1}),c(h,{class:"test-btn",onClick:y},{default:a((()=>[n("测试跳转到图片测试页面")])),_:1}),c(h,{class:"test-btn",onClick:x},{default:a((()=>[n("测试跳转到简单图片测试")])),_:1}),c(h,{class:"test-btn",onClick:w},{default:a((()=>[n("测试跳转到图片显示测试")])),_:1})])),_:1}),c(p,{class:"log-container"},{default:a((()=>[c(m,{class:"log-title"},{default:a((()=>[n("测试日志:")])),_:1}),c(b,{class:"log-content","scroll-y":""},{default:a((()=>[(l(!0),o(d,null,i($.value,((s,e)=>(l(),t(m,{key:e,class:"log-item"},{default:a((()=>[n(u(s),1)])),_:2},1024)))),128))])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-48648d82"]]);export{$ as default}; diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/privacy-CsVGXWxm.css b/frontend/uni-apps/unpackage/dist/build/web/assets/privacy-CsVGXWxm.css new file mode 100644 index 0000000000000000000000000000000000000000..85e527457aad9f057fa410f1cf65134cd0c556a3 --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/privacy-CsVGXWxm.css @@ -0,0 +1 @@ +.privacy-container[data-v-7b6c2bd4]{min-height:100vh;background-color:#f5f5f5;padding-top:120px}.content[data-v-7b6c2bd4]{padding:20px}.section[data-v-7b6c2bd4]{background:#fff;border-radius:12px;margin-bottom:16px;overflow:hidden}.section-title[data-v-7b6c2bd4]{padding:16px 20px;font-size:16px;font-weight:600;color:#333;background:#f8f9fa;border-bottom:1px solid #e9ecef}.info-item[data-v-7b6c2bd4]{display:flex;align-items:center;padding:16px 20px}.label[data-v-7b6c2bd4]{font-size:15px;color:#666;margin-right:12px;min-width:60px}.value[data-v-7b6c2bd4]{font-size:15px;color:#333;font-weight:500}.about-list[data-v-7b6c2bd4]{padding:0}.about-item[data-v-7b6c2bd4]{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #f0f0f0;cursor:pointer;transition:background-color .2s}.about-item[data-v-7b6c2bd4]:last-child{border-bottom:none}.about-item[data-v-7b6c2bd4]:active{background-color:#f5f5f5}.about-text[data-v-7b6c2bd4]{font-size:15px;color:#333}.arrow[data-v-7b6c2bd4]{font-size:16px;color:#999;font-weight:300}.logout-section[data-v-7b6c2bd4]{margin-top:32px;padding:0 20px}.logout-btn[data-v-7b6c2bd4]{width:100%;height:48px;background:#ff4757;color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:500;transition:background-color .2s}.logout-btn[data-v-7b6c2bd4]:active{background:#e74c3c}@media screen and (min-width: 768px){.content[data-v-7b6c2bd4]{max-width:600px;margin:0 auto;padding:40px 20px}.section[data-v-7b6c2bd4]{margin-bottom:24px}.section-title[data-v-7b6c2bd4]{padding:20px 24px;font-size:18px}.info-item[data-v-7b6c2bd4],.about-item[data-v-7b6c2bd4]{padding:20px 24px}.label[data-v-7b6c2bd4]{font-size:16px;min-width:80px}.value[data-v-7b6c2bd4],.about-text[data-v-7b6c2bd4]{font-size:16px}.logout-section[data-v-7b6c2bd4]{margin-top:40px}.logout-btn[data-v-7b6c2bd4]{height:52px;font-size:17px}} diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/simple-image-test-Ahhj6fUt.css b/frontend/uni-apps/unpackage/dist/build/web/assets/simple-image-test-Ahhj6fUt.css new file mode 100644 index 0000000000000000000000000000000000000000..c4fb0614fc2bbb38878beb4cb4b84fff5e0641d8 --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/simple-image-test-Ahhj6fUt.css @@ -0,0 +1 @@ +.simple-test[data-v-3ad49dab]{padding:20px;height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}.header[data-v-3ad49dab]{text-align:center;margin-bottom:20px}.title[data-v-3ad49dab]{color:#fff;font-size:20px;font-weight:700}.image-section[data-v-3ad49dab],.debug-section[data-v-3ad49dab],.log-section[data-v-3ad49dab]{background:rgba(255,255,255,.1);border-radius:10px;padding:15px;margin-bottom:15px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.section-title[data-v-3ad49dab]{color:#fff;font-size:16px;font-weight:700;margin-bottom:10px;display:block}.image-row[data-v-3ad49dab]{display:flex;justify-content:space-around}.image-item[data-v-3ad49dab]{display:flex;flex-direction:column;align-items:center;gap:8px}.label[data-v-3ad49dab]{color:rgba(255,255,255,.9);font-size:14px}.avatar[data-v-3ad49dab]{width:50px;height:50px;border-radius:50%;border:2px solid rgba(255,255,255,.3)}.status[data-v-3ad49dab]{font-size:12px;padding:4px 8px;border-radius:4px;background:rgba(255,255,255,.2);color:rgba(255,255,255,.8)}.debug-info[data-v-3ad49dab]{display:flex;flex-direction:column;gap:5px}.debug-item[data-v-3ad49dab]{color:rgba(255,255,255,.8);font-size:12px}.log-content[data-v-3ad49dab]{height:150px}.log-item[data-v-3ad49dab]{color:rgba(255,255,255,.8);font-size:11px;display:block;margin-bottom:3px;line-height:1.3}.button-group[data-v-3ad49dab]{display:flex;flex-direction:column;gap:8px;margin-top:10px}.debug-btn[data-v-3ad49dab]{width:100%;height:36px;background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);border-radius:6px;color:#fff;font-size:12px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.debug-btn[data-v-3ad49dab]:active{background:rgba(255,255,255,.3)} diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/test-Dmybfidb.css b/frontend/uni-apps/unpackage/dist/build/web/assets/test-Dmybfidb.css new file mode 100644 index 0000000000000000000000000000000000000000..1e536683da7ab9ae08e4c5709020b83e497ebaa7 --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/test-Dmybfidb.css @@ -0,0 +1 @@ +.test-container[data-v-48648d82]{padding:20px;height:100vh;background:linear-gradient(135deg,#667eea,#764ba2)}.header[data-v-48648d82]{text-align:center;margin-bottom:30px}.title[data-v-48648d82]{color:#fff;font-size:24px;font-weight:700}.button-group[data-v-48648d82]{margin-bottom:30px}.test-btn[data-v-48648d82]{width:100%;height:50px;margin-bottom:15px;background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);border-radius:10px;color:#fff;font-size:16px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.test-btn[data-v-48648d82]:active{background:rgba(255,255,255,.3)}.log-container[data-v-48648d82]{flex:1;background:rgba(255,255,255,.1);border-radius:10px;padding:15px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.log-title[data-v-48648d82]{color:#fff;font-size:16px;font-weight:700;margin-bottom:10px;display:block}.log-content[data-v-48648d82]{height:200px}.log-item[data-v-48648d82]{color:rgba(255,255,255,.8);font-size:12px;display:block;margin-bottom:5px;line-height:1.4} diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/uni.808dfcdf.css b/frontend/uni-apps/unpackage/dist/build/web/assets/uni.808dfcdf.css new file mode 100644 index 0000000000000000000000000000000000000000..252059830a995b891ace3bf1117d4308aedb31b8 --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/uni.808dfcdf.css @@ -0,0 +1 @@ +uni-button{position:relative;display:block;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;box-sizing:border-box;font-size:18px;text-align:center;text-decoration:none;line-height:2.55555556;border-radius:5px;-webkit-tap-highlight-color:transparent;overflow:hidden;color:#000;background-color:#f8f8f8;cursor:pointer}uni-button[hidden]{display:none!important}uni-button:after{content:" ";width:200%;height:200%;position:absolute;top:0;left:0;border:1px solid rgba(0,0,0,.2);transform:scale(.5);transform-origin:0 0;box-sizing:border-box;border-radius:10px}uni-button[native]{padding-left:0;padding-right:0}uni-button[native] .uni-button-cover-view-wrapper{border:inherit;border-color:inherit;border-radius:inherit;background-color:inherit}uni-button[native] .uni-button-cover-view-inner{padding-left:14px;padding-right:14px}uni-button uni-cover-view{line-height:inherit;white-space:inherit}uni-button[type=default]{color:#000;background-color:#f8f8f8}uni-button[type=primary]{color:#fff;background-color:#007aff}uni-button[type=warn]{color:#fff;background-color:#e64340}uni-button[disabled]{color:rgba(255,255,255,.6);cursor:not-allowed}uni-button[disabled][type=default],uni-button[disabled]:not([type]){color:rgba(0,0,0,.3);background-color:#f7f7f7}uni-button[disabled][type=primary]{background-color:rgba(0,122,255,.6)}uni-button[disabled][type=warn]{background-color:#ec8b89}uni-button[type=primary][plain]{color:#007aff;border:1px solid #007aff;background-color:transparent}uni-button[type=primary][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=primary][plain]:after{border-width:0}uni-button[type=default][plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[type=default][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=default][plain]:after{border-width:0}uni-button[plain]{color:#353535;border:1px solid #353535;background-color:transparent}uni-button[plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[plain]:after{border-width:0}uni-button[plain][native] .uni-button-cover-view-inner{padding:0}uni-button[type=warn][plain]{color:#e64340;border:1px solid #e64340;background-color:transparent}uni-button[type=warn][plain][disabled]{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2)}uni-button[type=warn][plain]:after{border-width:0}uni-button[size=mini]{display:inline-block;line-height:2.3;font-size:13px;padding:0 1.34em}uni-button[size=mini][native]{padding:0}uni-button[size=mini][native] .uni-button-cover-view-inner{padding:0 1.34em}uni-button[loading]:not([disabled]){cursor:progress}uni-button[loading]:before{content:" ";display:inline-block;width:18px;height:18px;vertical-align:middle;animation:uni-loading 1s steps(12,end) infinite;background-size:100%}uni-button[loading][type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}uni-button[loading][type=primary][plain]{color:#007aff;background-color:transparent}uni-button[loading][type=default]{color:rgba(0,0,0,.6);background-color:#dedede}uni-button[loading][type=default][plain]{color:#353535;background-color:transparent}uni-button[loading][type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}uni-button[loading][type=warn][plain]{color:#e64340;background-color:transparent}uni-button[loading][native]:before{content:none}.button-hover{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=primary]{color:rgba(255,255,255,.6);background-color:#0062cc}.button-hover[type=primary][plain]{color:rgba(0,122,255,.6);border-color:rgba(0,122,255,.6);background-color:transparent}.button-hover[type=default]{color:rgba(0,0,0,.6);background-color:#dedede}.button-hover[type=default][plain]{color:rgba(53,53,53,.6);border-color:rgba(53,53,53,.6);background-color:transparent}.button-hover[type=warn]{color:rgba(255,255,255,.6);background-color:#ce3c39}.button-hover[type=warn][plain]{color:rgba(230,67,64,.6);border-color:rgba(230,67,64,.6);background-color:transparent}uni-image{width:320px;height:240px;display:inline-block;overflow:hidden;position:relative}uni-image[hidden]{display:none}uni-image>div{width:100%;height:100%;background-repeat:no-repeat}uni-image>img{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;display:block;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0}uni-image>.uni-image-will-change{will-change:transform}uni-input{display:block;font-size:16px;line-height:1.4em;height:1.4em;min-height:1.4em;overflow:hidden}uni-input[hidden]{display:none}.uni-input-wrapper,.uni-input-placeholder,.uni-input-form,.uni-input-input{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-input-wrapper,.uni-input-form{display:flex;position:relative;width:100%;height:100%;flex-direction:column;justify-content:center}.uni-input-placeholder,.uni-input-input{width:100%}.uni-input-placeholder{position:absolute;top:auto!important;left:0;color:gray;overflow:hidden;text-overflow:clip;white-space:pre;word-break:keep-all;pointer-events:none;line-height:inherit}.uni-input-input{position:relative;display:block;height:100%;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-input-input[type=search]::-webkit-search-cancel-button,.uni-input-input[type=search]::-webkit-search-decoration{display:none}.uni-input-input::-webkit-outer-spin-button,.uni-input-input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.uni-input-input[type=number]{-moz-appearance:textfield}.uni-input-input:disabled{-webkit-text-fill-color:currentcolor}.uni-label-pointer{cursor:pointer}.uni-scroll-view-refresher{position:relative;overflow:hidden;flex-shrink:0}.uni-scroll-view-refresher-container{position:absolute;width:100%;bottom:0;display:flex;flex-direction:column-reverse}.uni-scroll-view-refresh{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:row;justify-content:center;align-items:center}.uni-scroll-view-refresh-inner{display:flex;align-items:center;justify-content:center;line-height:0;width:40px;height:40px;border-radius:50%;background-color:#fff;box-shadow:0 1px 6px rgba(0,0,0,.118),0 1px 4px rgba(0,0,0,.118)}.uni-scroll-view-refresh__spinner{transform-origin:center center;animation:uni-scroll-view-refresh-rotate 2s linear infinite}.uni-scroll-view-refresh__spinner>circle{stroke:currentColor;stroke-linecap:round;animation:uni-scroll-view-refresh-dash 2s linear infinite}@keyframes uni-scroll-view-refresh-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes uni-scroll-view-refresh-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}@keyframes once-show{0%{top:0}}uni-resize-sensor,uni-resize-sensor>div{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden}uni-resize-sensor{display:block;z-index:-1;visibility:hidden;animation:once-show 1ms}uni-resize-sensor>div>div{position:absolute;left:0;top:0}uni-resize-sensor>div:first-child>div{width:100000px;height:100000px}uni-resize-sensor>div:last-child>div{width:200%;height:200%}uni-scroll-view{display:block;width:100%}uni-scroll-view[hidden]{display:none}.uni-scroll-view{position:relative;-webkit-overflow-scrolling:touch;width:100%;height:100%;max-height:inherit}.uni-scroll-view-scrollbar-hidden::-webkit-scrollbar{display:none}.uni-scroll-view-scrollbar-hidden{-moz-scrollbars:none;scrollbar-width:none}.uni-scroll-view-content{width:100%;height:100%}uni-text[selectable]{cursor:auto;-webkit-user-select:text;user-select:text}uni-text{white-space:pre-line}uni-textarea{width:300px;height:150px;display:block;position:relative;font-size:16px;line-height:normal;white-space:pre-wrap;word-break:break-all}uni-textarea[hidden]{display:none}uni-textarea[auto-height=true]{height:fit-content!important}.uni-textarea-wrapper,.uni-textarea-placeholder,.uni-textarea-line,.uni-textarea-compute,.uni-textarea-textarea{outline:none;border:none;padding:0;margin:0;text-decoration:inherit}.uni-textarea-wrapper{display:block;position:relative;width:100%;height:100%;min-height:inherit;overflow-y:hidden}.uni-textarea-placeholder,.uni-textarea-line,.uni-textarea-compute,.uni-textarea-textarea{position:absolute;width:100%;height:100%;left:0;top:0;white-space:inherit;word-break:inherit}.uni-textarea-placeholder{color:gray;overflow:hidden}.uni-textarea-line,.uni-textarea-compute{visibility:hidden;height:auto}.uni-textarea-line{width:1em}.uni-textarea-textarea{resize:none;background:none;color:inherit;opacity:1;font:inherit;line-height:inherit;letter-spacing:inherit;text-align:inherit;text-indent:inherit;text-transform:inherit;text-shadow:inherit}.uni-textarea-textarea-fix-margin{width:auto;right:0;margin:0 -3px}.uni-textarea-textarea:disabled{-webkit-text-fill-color:currentcolor}uni-view{display:block}uni-view[hidden]{display:none}uni-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;display:block;box-sizing:border-box}.uni-modal{position:fixed;z-index:999;width:80%;max-width:300px;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#fff;text-align:center;border-radius:3px;overflow:hidden}.uni-modal *{box-sizing:border-box}.uni-modal__hd{padding:1em 1.6em .3em}.uni-modal__title{font-weight:400;font-size:18px;word-wrap:break-word;word-break:break-all;white-space:pre-wrap;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.uni-modal__bd{padding:1.3em 1.6em;min-height:40px;font-size:15px;line-height:1.4;word-wrap:break-word;word-break:break-all;white-space:pre-wrap;color:#999;max-height:400px;overflow-x:hidden;overflow-y:auto}.uni-modal__textarea{resize:none;border:0;margin:0;width:90%;padding:10px;font-size:20px;outline:none;border:none;background-color:#eee;text-decoration:inherit}.uni-modal__ft{position:relative;line-height:48px;font-size:18px;display:flex}.uni-modal__ft:after{content:" ";position:absolute;left:0;top:0;right:0;height:1px;border-top:1px solid #d5d5d6;color:#d5d5d6;transform-origin:0 0;transform:scaleY(.5)}.uni-modal__btn{display:block;flex:1;color:#3cc51f;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative;cursor:pointer}.uni-modal__btn:active{background-color:#eee}.uni-modal__btn:after{content:" ";position:absolute;left:0;top:0;width:1px;bottom:0;border-left:1px solid #d5d5d6;color:#d5d5d6;transform-origin:0 0;transform:scaleX(.5)}.uni-modal__btn:first-child:after{display:none}.uni-modal__btn_default{color:#353535}.uni-modal__btn_primary{color:#007aff}uni-toast{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999;display:block;box-sizing:border-box;pointer-events:none;font-size:16px}.uni-sample-toast{position:fixed;z-index:999;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;max-width:80%}.uni-simple-toast__text{display:inline-block;vertical-align:middle;color:#fff;background-color:rgba(17,17,17,.7);padding:10px 20px;border-radius:5px;font-size:13px;text-align:center;max-width:100%;word-break:break-word;white-space:normal}uni-toast .uni-mask{pointer-events:auto}.uni-toast{position:fixed;z-index:999;width:8em;top:50%;left:50%;transform:translate(-50%,-50%);background:rgba(17,17,17,.7);text-align:center;border-radius:5px;color:#fff}.uni-toast *{box-sizing:border-box}.uni-toast__icon{margin:20px 0 0;width:38px!important;height:38px!important;vertical-align:baseline!important}.uni-icon_toast{margin:15px 0 0}.uni-icon_toast.uni-icon-success-no-circle:before{color:#fff;font-size:55px}.uni-icon_toast.uni-loading{margin:20px 0 0;width:38px;height:38px;vertical-align:baseline}.uni-toast__content{margin:0 0 15px} diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/user--lFJDfea.png b/frontend/uni-apps/unpackage/dist/build/web/assets/user--lFJDfea.png new file mode 100644 index 0000000000000000000000000000000000000000..3cce93c63089885cbb994aa2b2464eb867888a81 Binary files /dev/null and b/frontend/uni-apps/unpackage/dist/build/web/assets/user--lFJDfea.png differ diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/user-data-BbzcG9Nb.css b/frontend/uni-apps/unpackage/dist/build/web/assets/user-data-BbzcG9Nb.css new file mode 100644 index 0000000000000000000000000000000000000000..cf49b2e193ae4b1499f54865a2f7523a55ed19cc --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/user-data-BbzcG9Nb.css @@ -0,0 +1 @@ +.custom-navbar[data-v-8768e817]{position:fixed;top:0;left:0;right:0;z-index:999;background:linear-gradient(135deg,#667eea,#764ba2)}.status-bar[data-v-8768e817]{width:100%}.navbar-content[data-v-8768e817]{display:flex;align-items:center;justify-content:space-between;padding:0 16px;position:relative}.left-buttons[data-v-8768e817]{display:flex;align-items:center;z-index:10}.back-btn[data-v-8768e817],.menu-btn[data-v-8768e817]{width:44px;height:44px;display:flex;align-items:center;justify-content:center;color:#fff;border-radius:4px;z-index:10}.back-icon[data-v-8768e817]{font-size:24px;font-weight:700;color:#fff}.menu-icon[data-v-8768e817]{width:24px;height:24px}.menu-text[data-v-8768e817]{font-size:20px;color:#fff;font-weight:700}.title-container[data-v-8768e817]{flex:1;display:flex;align-items:center;justify-content:center}.title-text[data-v-8768e817]{font-size:18px;font-weight:700;color:#fff;text-align:center;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.right-btn[data-v-8768e817]{width:44px;height:44px;display:flex;align-items:center;justify-content:center;z-index:10}.right-text[data-v-8768e817]{font-size:14px;color:#fff} diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/user-data.BG7eDKNm.js b/frontend/uni-apps/unpackage/dist/build/web/assets/user-data.BG7eDKNm.js new file mode 100644 index 0000000000000000000000000000000000000000..85ba5952493df7f9b177e1d0b1f1a95f8c0173c4 --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/user-data.BG7eDKNm.js @@ -0,0 +1 @@ +import{j as e,G as t,l as s,o,c as a,w as n,a as r,H as i,b as l,e as c,t as g,q as u,g as d,i as h,h as f,E as m,J as S,K as C,L as y}from"./index-CvzBWeDg.js";import{_ as A}from"./_plugin-vue_export-helper.BCo6x5W8.js";const p=(e,t)=>{try{return"undefined"!=typeof localStorage&&(localStorage.setItem(e,JSON.stringify(t)),!0)}catch(s){return console.error("设置存储失败:",s),!1}},I=(e,t=null)=>{try{if("undefined"!=typeof localStorage){const s=localStorage.getItem(e);return s?JSON.parse(s):t}return t}catch(s){return console.error("获取存储失败:",s),t}},w=A({__name:"custom-navbar",props:{title:{type:String,default:"Smartis AI"},titleColor:{type:String,default:"#ffffff"},titleSize:{type:Number,default:18},titleWeight:{type:String,default:"bold"},backgroundColor:{type:String,default:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)"},showBack:{type:Boolean,default:!1},showMenu:{type:Boolean,default:!1},rightText:{type:String,default:""}},emits:["back","right-click","menu-click"],setup(m,{emit:S}){const C=m,y=S,A=e(0),p=e(44),I=t((()=>({background:C.backgroundColor}))),w=t((()=>({color:C.titleColor,fontSize:C.titleSize+"px",fontWeight:C.titleWeight}))),k=()=>{y("back"),u({delta:1})},B=()=>{y("menu-click")},E=()=>{y("right-click")};return s((()=>{A.value=20})),(e,t)=>{const s=d,u=h,S=f;return o(),a(s,{class:"custom-navbar",style:i(I.value)},{default:n((()=>[r(s,{class:"status-bar",style:i({height:A.value+"px"})},null,8,["style"]),r(s,{class:"navbar-content",style:i({height:p.value+"px"})},{default:n((()=>[r(s,{class:"left-buttons"},{default:n((()=>[m.showBack?(o(),a(s,{key:0,class:"back-btn",onClick:k},{default:n((()=>[r(u,{class:"back-icon"},{default:n((()=>[l("‹")])),_:1})])),_:1})):c("",!0),m.showMenu?(o(),a(s,{key:1,class:"menu-btn",onClick:B},{default:n((()=>[r(S,{class:"menu-icon",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAC3ZJREFUeF7tnUuoXdUZgD/BWXVSagXR1NJEMypIA4qKxkkRO5FWUdH6wJpIHfhE0HaQlPoY+AhCtL4wFZ+oOFUKJkXQQUbWgfhozUCrDgot6rDY/cs5l2uae89Z65y1knP+b8Mlyl3/v/b//fvLfu8chYsEJLAmgaNkIwEJrE1AQdw6JLAOAQVx85CAgrgNSKCOgHuQOm5GJSGgIEkabZl1BBSkjptRSQgoSJJGW2YdAQWp42ZUEgIKkqTRlllHQEHquBmVhICCJGm0ZdYRUJA6bkYlIaAgSRptmXUEFKSOm1FJCChIkkZbZh0BBanjZlQSAgqSpNGWWUdAQeq4GZWEgIIkabRl1hEoEeRE4HRgE3AccDTwNfAJ8C7wZt0qGCWBI5fANIJsB64EzpxQRsjyEvA48NaRW7JrJoHpCawnyEXAXcAp06dbGfk0cDvwRUWsIRI4YgisJch9wK0zruVnwDXA6zPmMVwCh43AoQR5Brh8jmt0KfDiHPOVpNoBnAtsLQlybGoCB4D4ib/cDxwsyGPAdQ3wnH8Y9iRPDQVe3aAWU+Yg8K0kqwW5CXiwUe1xuHVa53OSbxrVYto8BPaNBdk4HFZ92LjuOHG/qvEc4/Sx54g9iIsEZiGwcoj1BHDtLJmmjD2r0yVgBZmyIQ5bn0DsQY4HPu8Eas/o5Kf1dArSmnCS/CHI9YMkj3SqN24mHtNhLgXpADnDFCHIC8AlHYs9p8NjKQrSsaHLPFUI8t4gyeaORd4APNx4PgVpDDhL+hDky06HPWOm9wB3NgasII0BZ0kfgvS+X/AQcGNjwArSGHCW9IdDkAfm8JzXpP4oyCRC/n4qAiHIp8AJU42ez6A7gHvnk2rNLArSGHCW9CHIG8B5HQuOx+hfaTyfgjQGnCV9CHI3EH+r91pOGr2F2HI+BWlJN1HuEOTsDvclxkjjTcN43KT1oiCtCSfJP35YcT+wpUPNcdf+0Q7zKEgHyBmmGAty2fBq7XONC/4AOLXxHOP08YLU3k5zOc0SE1j9PsirwIUNa70YeLlh/tWpFaQT6CWfZuV9kKgzLvW+DWxoUPT9wG0N8q6V8uTR+yC+atsR+hJO9Z03CqO++LTPa8Cxcyz2WeCKOeabNlVIEodZ8aeLBEoJ7BwCdhzqow0hyfNz2pPEN7K2la7ZHMeHHOOfOaY11RITGH+0If5krc/+xOHW7hnPSW4Gdi0xSEtLQGDSlxXj6tYthZeAnxw9SvJRAn6WuOQEJgkyLj9uJl4wnJ+cMbpUO35266vRXfF3hm9P7QPiSphfU1zyjSZTedMKkomJtUpghYCCuDFIYB0CCuLmIQEFcRuQQB0B9yB13IxKQkBBkjTaMusIKEgdN6OSEFCQJI22zDoCClLHzagkBBQkSaMts46AgtRxMyoJAQVJ0mjLrCOgIHXcjEpCQEGSNNoy6wgoSB03o5IQUJAkjbbMOgIKUsfNqCQEFCRJoy2zjoCC1HEzKgkBBUnSaMusI6AgddyMSkJAQZI02jLrCChIHTejkhBQkCSNtsw6AgpSx82oJAQUJEmjLbOOgILUcTMqCQEFSdJoy6wjoCB13IxKQkBBkjTaMusIKEgdN6OSEFCQJI22zDoCClLHzagkBBQkSaMts46AgtRxMyoJgVJBvgdsAn4AHA18DXwK/CMJL8tMRmAaQTYCvwZ+AfxsDT7/BvYCrwwCPZuMoeUuMYH1BDke+AOwrbD+2JvcDcQ/B+0igYUmsJYgvwL+NDqUqi3w5eGfiP4N8J/aBMZJ4HATOJQgNwK75rRifwN+ORyi/X1O+UrTnAxcDfwIiP92kcAkAgeAvw7by54YeLAgvwV2T8pQ+Pv3ga3A54Vxsw6POeO8yEUCNQRClB+vFuTnwOs1maaI+QsQ+Xsu3/SczLmWksCe1YK8B2xuWObvgbsa5l+dOg6rnuo0l9MsL4EDY0F+N9zX+GPjOv8LbBiuiv2z8TyRXkE6QE4wxYogXwA/7FBw7EFiT9J6UZDWhJPkjz1IXNKNS7I9lrhH8pMOEylIB8gZpghB4n7H9o7F/nSQ8t3G8ylIY8BZ0ocg+4EtHQuOjffPjedTkMaAs6QPQf4FfL9jwTuHuXY0nk9BGgPOkj4E6X2/IO7S39wYsII0BpwlvYJk6bR1VhHwEKsKm0FZCHiSnqXT1llFwMu8VdgMykLAG4VZOm2dVQTGz2L5qEkVPoOWnYAPKy57h61vJgLL+ri7L0vNtFkYPCKw8jRv/P8yvTAVr9d+bJslMCOB77wwFbmW6ZVb76bPuHUkD/+/V27HPPxoQ/ItI3n58cGGWL59XtDP/iTfGix/fQJ+OM4tRALrEPDTo24eEphRkNXhfrzazSkVgWn2IKmAWKwEVhNQELcHCczxEEuYEkhFwD1IqnZbbCkBBSkl5vhUBBQkVbsttpSAgpQSc3wqAgqSqt0WW0pAQUqJOT4VAQVJ1W6LLSWgIKXEHJ+KgIKkarfFlhJQkFJijk9FQEFStdtiSwkoSCkxx6cioCCp2m2xpQQUpJSY41MRUJBU7bbYUgIKUkrM8akIKEiqdltsKQEFKSXm+FQEFCRVuy22lICClBJzfCoCCpKq3RZbSkBBSok5PhUBBUnVbostJaAgpcQcn4qAgqRqt8WWElCQUmKOT0VAQVK122JLCShIKTHHpyKgIKnabbGlBBSklJjjUxFQkFTttthSAgpSSszxqQhMK8jZwAXAGcCpwAkjSl8BnwDvAPuAV4EvUhG02KUmMEmQy4BbgC0FFJ4E7gU+KohxqASOSAJrCRJ7iN3AhTOs9c3ArhniDZXAYSdwKEHOHA6jngc2zGHtHge2zSHPLClOHg7/ts6SwNh0BA6MThk4WJCQ4zXg2DkieXY43LpijvmmTRVSPAWEIC4SKCWwcwjYsVqQOKx6e057joNX5n7gttI1nHH8XvccMxI0fOdqQeIK1CznHJNwXgy8PGnQnH4fe48QxEUCsxDYNxYkrlY9N0umKWI/GF0inmLozEOuHh1ezZzIBKkJHBgLsr/wUm4tteuBR2uDC+IUpACWQ9cmEILETcA3O0F6Czirw1wK0gFyhilCkLuBOzoWe9Lo7nvLKRWkJd1EuUOQN4DzOtZ8EfBK4/kUpDHgLOlDkE9XPVvVo+7YW8WjKC0XBWlJN1HuEOSbzvU+ANzaeE4FaQw4S/rDIchDwI2NAStIY8BZ0ocgXwLHdCz4HuDOxvMpSGPAWdKHIO8BmzsWfAPwcOP5FKQx4CzpQ5AXBkku6VjwOR3uuyhIx4Yu81QhSNzdfqRTkV93OpxTkE4NXfZpQpDjB0k+71ToHuCaDnMpSAfIGaYYP4v1BHBth4LjMZN43KT1oiCtCSfJPxZkI/Bh45qfBq5qPMc4vY+7dwK97NOsfh/kJuDBRgV/BpzW8Ysn8Rbhx41qMW0eAnsOfuX2seHRk+sa1H8+8HqDvOuljNdt41DLRQK1BM471EcbnhkOty6vzXiIuEuBF+eYb9pUsRcJQc711dtpkTlu2Gbigw3xExeTVl6YOpjMfXN4XioOq2KS3nsOuyyBuRFY78Nx8Vj6XcOruKdUzBYn5Ld3POeoWEVDJDCZwKQvK0aG7cCVQHwSaL0lbgK+BMS3sHpcyp1cnSMkMCOBaQQZT3EicDqwafjq4nHA0UBIEd/mfbfD4yMzlmq4BMoJlAhSnt0ICSw4AQVZ8Aa6+m0JKEhbvmZfcAIKsuANdPXbElCQtnzNvuAEFGTBG+jqtyWgIG35mn3BCSjIgjfQ1W9LQEHa8jX7ghNQkAVvoKvfloCCtOVr9gUnoCAL3kBXvy0BBWnL1+wLTkBBFryBrn5bAgrSlq/ZF5yAgix4A139tgQUpC1fsy84AQVZ8Aa6+m0JKEhbvmZfcAIKsuANdPXbElCQtnzNvuAE/gdEOzWEGpafDAAAAABJRU5ErkJggg=="})])),_:1})):c("",!0)])),_:1}),r(s,{class:"title-container"},{default:n((()=>[r(u,{class:"title-text",style:i(w.value)},{default:n((()=>[l(g(m.title),1)])),_:1},8,["style"])])),_:1}),m.rightText?(o(),a(s,{key:0,class:"right-btn",onClick:E},{default:n((()=>[r(u,{class:"right-text"},{default:n((()=>[l(g(m.rightText),1)])),_:1})])),_:1})):c("",!0)])),_:1},8,["style"])])),_:1},8,["style"])}}},[["__scopeId","data-v-8768e817"]]),k={default:{title:"Smartis AI",titleSize:18,titleColor:"#ffffff",titleWeight:"bold",backgroundColor:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)",showBack:!1,showMenu:!1,rightText:""},login:{title:"Smartis AI",titleSize:22,titleColor:"#ffffff",titleWeight:"bold",backgroundColor:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)",showBack:!1,showMenu:!1,rightText:""},chat:{title:"Smartis AI",titleSize:20,titleColor:"#ffffff",titleWeight:"bold",backgroundColor:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)",showBack:!1,showMenu:!0,rightText:""},history:{title:"历史会话",titleSize:18,titleColor:"#ffffff",titleWeight:"bold",backgroundColor:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)",showBack:!0,showMenu:!1,rightText:"清空"},privacy:{title:"账户信息",titleSize:18,titleColor:"#ffffff",titleWeight:"bold",backgroundColor:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)",showBack:!0,showMenu:!1,rightText:""},test:{title:"页面跳转测试",titleSize:16,titleColor:"#ffffff",titleWeight:"normal",backgroundColor:"linear-gradient(135deg, #667eea 0%, #764ba2 100%)",showBack:!0,showMenu:!1,rightText:""}},B=(e="default")=>k[e]||k.default;class E{constructor(){if(this.config={protocol:"https:",hostname:"localhost",port:"5256",baseUrl:""},"undefined"!=typeof window&&window.location&&(this.config={protocol:window.location.protocol||"https:",hostname:window.location.hostname||"localhost",port:window.location.port||"5256",baseUrl:""}),"undefined"!=typeof uni&&(this.config={protocol:"http:",hostname:"localhost",port:"5256",baseUrl:""}),this.buildBaseUrl(),this.headers={"Content-Type":"application/json",Session:""},"undefined"!=typeof uni)try{this.headers.Session=m("session")||""}catch(e){console.log("获取session失败:",e),this.headers.Session=""}else"undefined"!=typeof localStorage&&(this.headers.Session=localStorage.getItem("session")||"");this.timeout=1e4}setStorageItem(e,t){if("undefined"!=typeof uni)try{S(e,t)}catch(s){console.log("设置存储失败:",s)}else"undefined"!=typeof localStorage&&localStorage.setItem(e,t)}getStorageItem(e,t=""){if("undefined"!=typeof uni)try{return m(e)||t}catch(s){return console.log("获取存储失败:",s),t}else if("undefined"!=typeof localStorage)return localStorage.getItem(e)||t;return t}removeStorageItem(e){if("undefined"!=typeof uni)try{C(e)}catch(t){console.log("删除存储失败:",t)}else"undefined"!=typeof localStorage&&localStorage.removeItem(e)}buildBaseUrl(){const{protocol:e,hostname:t,port:s}=this.config;this.config.baseUrl=`${e}//${t}:${s}`,console.log("API服务器配置:",this.config)}async commonRequest(e,t,s=null){var o;try{const o=this.config.baseUrl+t,a={headers:this.headers,timeout:this.timeout};let n;return console.log("发送请求:",{method:e,url:o,data:s,headers:this.headers}),"GET"===e?n=await this.makeRequest("GET",o,a):"POST"===e?n=await this.makeRequest("POST",o,s,a):"PUT"===e?n=await this.makeRequest("PUT",o,s,a):"DELETE"===e&&(n=await this.makeRequest("DELETE",o,s,a)),console.log("请求成功:",n),n}catch(a){return console.error("请求失败:",a),a.response&&401===a.response.status?{msg:"未登录或权限不足"}:(null==(o=a.response)?void 0:o.data)||{msg:"网络请求失败"}}}async makeRequest(e,t,s,o){if("undefined"!=typeof uni)return new Promise(((a,n)=>{y({url:t,method:e,data:"GET"===e?void 0:s,header:o.headers,timeout:o.timeout,success:e=>{var t;e.statusCode>=200&&e.statusCode<300?a(e.data):n(new Error((null==(t=e.data)?void 0:t.msg)||`请求失败: ${e.statusCode}`))},fail:e=>{n(new Error(e.errMsg||"网络请求失败"))}})}));{const a={method:e,headers:o.headers,body:"GET"!==e?JSON.stringify(s):void 0},n=await fetch(t,a);if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);return await n.json()}}async login(e,t){try{const s=await this.commonRequest("POST","/api/auth/login",{Account:e,Password:t});return s.success&&s.data&&"session"in s.data?(this.headers.Session=s.data.session,this.setStorageItem("session",s.data.session),console.log("登录成功,session已保存"),{success:!0,msg:"登录成功",data:s.data}):{success:!1,msg:s.msg||"登录失败"}}catch(s){return console.error("登录请求失败:",s),{success:!1,msg:s.message||"登录失败"}}}async register(e,t,s){try{const o=await this.commonRequest("POST","/api/auth/reg",{Account:e,Password:t,Name:s});return o.success&&o.data&&"session"in o.data?(this.headers.Session=o.data.session,this.setStorageItem("session",o.data.session),console.log("注册成功,session已保存"),{success:!0,msg:"注册成功",data:o.data}):{success:!1,msg:o.msg||"注册失败"}}catch(o){return console.error("注册请求失败:",o),{success:!1,msg:o.message||"注册失败"}}}async getCurrentUser(){return await this.commonRequest("GET","/api/auth/current")}async changePassword(e){return await this.commonRequest("PUT","/api/auth/change-password",{NewPassword:e})}async sendAIMessage(e,t=null){console.log("发送AI消息:",{message:e,userId:t});try{const s=await this.commonRequest("POST","/api/chat/send",{message:e,userId:t});return console.log("AI回复:",s),s}catch(s){throw console.error("AI对话失败:",s),s}}async getChatHistory(e,t=1,s=20){try{let o=[];if("undefined"!=typeof uni){const t=m("chat_history")||[];o=t.filter((t=>t.userId===e))}else{const t=JSON.parse(this.getStorageItem("chat_history")||"[]");o=t.filter((t=>t.userId===e))}const a=(t-1)*s,n=a+s,r=o.slice(a,n);return console.log("获取对话历史(前端):",{userId:e,page:t,limit:s,total:o.length,current:r.length}),{success:!0,data:r,total:o.length,page:t,limit:s}}catch(o){return console.error("获取对话历史失败(前端):",o),{success:!1,data:[],total:0}}}async saveChatMessage(e,t){try{const s={id:Date.now().toString(),userId:e,...t,timestamp:(new Date).toISOString()};let o=[];return o="undefined"!=typeof uni?m("chat_history")||[]:JSON.parse(this.getStorageItem("chat_history")||"[]"),o.push(s),"undefined"!=typeof uni?S("chat_history",o):this.setStorageItem("chat_history",JSON.stringify(o)),console.log("对话记录保存成功(前端):",s),{success:!0,data:s}}catch(s){return console.error("保存对话记录失败(前端):",s),{success:!1,msg:"保存失败"}}}async clearChatHistory(e){try{let t=[];t="undefined"!=typeof uni?m("chat_history")||[]:JSON.parse(this.getStorageItem("chat_history")||"[]");const s=t.filter((t=>t.userId!==e));return"undefined"!=typeof uni?S("chat_history",s):this.setStorageItem("chat_history",JSON.stringify(s)),console.log("对话历史清除成功(前端):",{userId:e,removed:t.length-s.length}),{success:!0,removed:t.length-s.length}}catch(t){return console.error("清除对话历史失败(前端):",t),{success:!1,msg:"清除失败"}}}async updateUserDialogueCount(e,t){console.log("更新对话次数(前端):",{userId:e,count:t});try{return"undefined"!=typeof uni?(S("dialogue_count",t),S("dialogue_user_id",e)):(this.setStorageItem("dialogue_count",t.toString()),this.setStorageItem("dialogue_user_id",e)),console.log("对话次数更新成功(前端):",t),{success:!0,count:t}}catch(s){throw console.error("更新对话次数失败(前端):",s),s}}async getUserDialogueCount(e){try{let t=0;if("undefined"!=typeof uni){m("dialogue_user_id")===e&&(t=m("dialogue_count")||0)}else{this.getStorageItem("dialogue_user_id")===e&&(t=parseInt(this.getStorageItem("dialogue_count")||"0"))}return console.log("获取对话次数(前端):",{userId:e,count:t}),{success:!0,count:t}}catch(t){return console.error("获取对话次数失败(前端):",t),{success:!1,count:0}}}async resetUserDialogueCount(e){console.log("重置对话次数(前端):",{userId:e});try{return"undefined"!=typeof uni?(S("dialogue_count",0),S("dialogue_user_id",e)):(this.setStorageItem("dialogue_count","0"),this.setStorageItem("dialogue_user_id",e)),console.log("对话次数重置成功(前端)"),{success:!0,count:0}}catch(t){throw console.error("重置对话次数失败(前端):",t),t}}isLoggedIn(){return!!this.headers.Session}clearSession(){this.headers.Session="",this.removeStorageItem("session"),console.log("登录状态已清除")}setTimeout(e){this.timeout=e}addHeader(e,t){this.headers[e]=t}setBackendUrl(e,t,s="http:"){this.config.hostname=e,this.config.port=t,this.config.protocol=s,this.buildBaseUrl(),console.log("后端地址已更新:",this.config)}getBackendConfig(){return{...this.config}}}const Q=new E,O=(e,t)=>Q.sendAIMessage(e,t),b=(e,t)=>Q.updateUserDialogueCount(e,t),H=()=>Q.isLoggedIn(),J=()=>Q.clearSession(),U=Object.freeze(Object.defineProperty({__proto__:null,ApiServer:E,addHeader:(e,t)=>Q.addHeader(e,t),apiServer:Q,changePassword:e=>Q.changePassword(e),clearChatHistory:e=>Q.clearChatHistory(e),clearSession:J,getBackendConfig:()=>Q.getBackendConfig(),getChatHistory:(e,t,s)=>Q.getChatHistory(e,t,s),getCurrentUser:()=>Q.getCurrentUser(),getUserDialogueCount:e=>Q.getUserDialogueCount(e),isLoggedIn:H,login:(e,t)=>Q.login(e,t),register:(e,t,s)=>Q.register(e,t,s),resetUserDialogueCount:e=>Q.resetUserDialogueCount(e),saveChatMessage:(e,t)=>Q.saveChatMessage(e,t),sendAIMessage:O,setBackendUrl:(e,t,s)=>Q.setBackendUrl(e,t,s),setTimeout:e=>Q.setTimeout(e),updateUserDialogueCount:b},Symbol.toStringTag,{value:"Module"})),v=[{id:"admin_001",username:"admin",password:"admin123",avatar:"/static/user.png",isLoggedIn:!1},{id:"user_001",username:"user1",password:"user123",avatar:"/static/user.png",isLoggedIn:!1},{id:"test_001",username:"test",password:"test123",avatar:"/static/user.png",isLoggedIn:!1}],T=()=>{const e=I("local_users",v);return console.log("获取所有用户:",e.length,"个用户"),e},N=()=>{if(!H())return console.log("用户未登录"),null;const e=I("user_login_status",{});if(e.username){const t=T().find((t=>t.username===e.username));if(t)return console.log("获取当前用户:",t),t}return console.log("无法获取用户信息"),null},K=async()=>{console.log("用户登出");try{J(),((e,t)=>{console.log("设置用户登录状态:",{username:e,isLoggedIn:t});const s=T().map((s=>s.username===e?{...s,isLoggedIn:t}:s));p("local_users",s),p("user_login_status",{username:e,isLoggedIn:t})})("",!1),console.log("登出成功")}catch(e){console.error("登出失败:",e)}},L=async()=>{const e=I("dialogue_count",0);return console.log("获取对话次数:",e),e},P=async()=>{console.log("增加对话次数");const e=await L()+1;p("dialogue_count",e),console.log("对话次数更新为:",e);const t=N();if(t&&t.id)try{console.log("同步对话次数到后端:",{userId:t.id,count:e}),await b(t.id,e),console.log("对话次数同步成功")}catch(s){console.error("同步对话次数到后端失败:",s)}else console.log("用户未登录,跳过后端同步");return e},D=()=>{console.log("重置对话次数"),p("dialogue_count",0)},x=async()=>{console.log("检查是否需要登录");if(N())return console.log("用户已登录,不需要再次登录"),!1;const e=await L(),t=e>=3;return console.log("对话次数检查:",{dialogueCount:e,requiresLogin:t}),t},W=async()=>{const e=await L(),t=Math.max(0,3-e);return console.log("剩余免费对话次数:",t),t};(()=>{console.log("初始化本地用户数据");const e=I("local_users",[]);0===e.length?(p("local_users",v),console.log("设置默认用户:",v)):console.log("已有用户数据:",e.length,"个用户")})();export{w as C,I as a,N as b,x as c,p as d,W as e,U as f,B as g,P as i,K as l,D as r,O as s}; diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/user-info.BK-CocDp.js b/frontend/uni-apps/unpackage/dist/build/web/assets/user-info.BK-CocDp.js new file mode 100644 index 0000000000000000000000000000000000000000..d8b59650aa0864339f6dac52fa4206974be7a0c8 --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/user-info.BK-CocDp.js @@ -0,0 +1 @@ +import{E as r}from"./index-CvzBWeDg.js";const t=()=>{try{return r("user_info")||{username:"用户",avatar:"/static/user.png",status:"online"}}catch(t){return console.error("获取用户信息失败:",t),{username:"用户",avatar:"/static/user.png",status:"online"}}};export{t as g}; diff --git a/frontend/uni-apps/unpackage/dist/build/web/assets/user.bNr49zIr.js b/frontend/uni-apps/unpackage/dist/build/web/assets/user.bNr49zIr.js new file mode 100644 index 0000000000000000000000000000000000000000..f09e536adaafba31f33dfa92ab5213e57c32f17d --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/assets/user.bNr49zIr.js @@ -0,0 +1 @@ +const s="/m/assets/user--lFJDfea.png";export{s as _}; diff --git a/frontend/uni-apps/unpackage/dist/build/web/index.html b/frontend/uni-apps/unpackage/dist/build/web/index.html new file mode 100644 index 0000000000000000000000000000000000000000..fb0f0082fc47465e5bec965816d504aad417307e --- /dev/null +++ b/frontend/uni-apps/unpackage/dist/build/web/index.html @@ -0,0 +1,23 @@ + + + + + + + + uni-apps + + + + + + +
+ + diff --git a/frontend/uni-apps/unpackage/dist/build/web/static/ai.png b/frontend/uni-apps/unpackage/dist/build/web/static/ai.png new file mode 100644 index 0000000000000000000000000000000000000000..ccaf21134ac540d49cc09a4fb70dc4c50e751095 Binary files /dev/null and b/frontend/uni-apps/unpackage/dist/build/web/static/ai.png differ diff --git a/frontend/uni-apps/unpackage/dist/build/web/static/background.webp b/frontend/uni-apps/unpackage/dist/build/web/static/background.webp new file mode 100644 index 0000000000000000000000000000000000000000..43631836f6a4bdbdcfb57e7fb0035f0c4d80e225 Binary files /dev/null and b/frontend/uni-apps/unpackage/dist/build/web/static/background.webp differ diff --git a/frontend/uni-apps/unpackage/dist/build/web/static/homePicture.jpg b/frontend/uni-apps/unpackage/dist/build/web/static/homePicture.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c25bbbaa55fa4ef006a4d6a33055fe3bf192e4ff Binary files /dev/null and b/frontend/uni-apps/unpackage/dist/build/web/static/homePicture.jpg differ diff --git a/frontend/uni-apps/unpackage/dist/build/web/static/menu.png b/frontend/uni-apps/unpackage/dist/build/web/static/menu.png new file mode 100644 index 0000000000000000000000000000000000000000..5067cdecb356d7eb0a46424e16eeb2fb3e00a31e Binary files /dev/null and b/frontend/uni-apps/unpackage/dist/build/web/static/menu.png differ diff --git a/frontend/uni-apps/unpackage/dist/build/web/static/user.png b/frontend/uni-apps/unpackage/dist/build/web/static/user.png new file mode 100644 index 0000000000000000000000000000000000000000..3cce93c63089885cbb994aa2b2464eb867888a81 Binary files /dev/null and b/frontend/uni-apps/unpackage/dist/build/web/static/user.png differ