@gkd-kit/inspect 0.0.1758081556944 → 0.0.1758639831089

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/404.html +3 -3
  2. package/dist/assets/{ActionCard.vue_vue_type_script_setup_true_lang-C6v5UzI9.js → ActionCard.vue_vue_type_script_setup_true_lang-Mnug9DWd.js} +2 -2
  3. package/dist/assets/{ActionCard.vue_vue_type_script_setup_true_lang-C6v5UzI9.js.map → ActionCard.vue_vue_type_script_setup_true_lang-Mnug9DWd.js.map} +1 -1
  4. package/dist/assets/{DevicePage-BFnJKico.js → DevicePage-U_3kdyd1.js} +2 -2
  5. package/dist/assets/{DevicePage-BFnJKico.js.map → DevicePage-U_3kdyd1.js.map} +1 -1
  6. package/dist/assets/{HomePage-DW24KLDn.js → HomePage-Bc83qKTK.js} +6 -6
  7. package/dist/assets/HomePage-Bc83qKTK.js.map +1 -0
  8. package/dist/assets/{ImportPage-6z7fBRPl.js → ImportPage-BSN51fsg.js} +2 -2
  9. package/dist/assets/{ImportPage-6z7fBRPl.js.map → ImportPage-BSN51fsg.js.map} +1 -1
  10. package/dist/assets/{Input-BiQ2YQPd.js → Input-D1JUZ06t.js} +2 -2
  11. package/dist/assets/{Input-BiQ2YQPd.js.map → Input-D1JUZ06t.js.map} +1 -1
  12. package/dist/assets/{SelectorPage-B1FVARmT.js → SelectorPage-BYz6KuKu.js} +2 -2
  13. package/dist/assets/{SelectorPage-B1FVARmT.js.map → SelectorPage-BYz6KuKu.js.map} +1 -1
  14. package/dist/assets/{SnapshotPage--iNpyIbS.js → SnapshotPage-DDESkWey.js} +4 -4
  15. package/dist/assets/{SnapshotPage--iNpyIbS.js.map → SnapshotPage-DDESkWey.js.map} +1 -1
  16. package/dist/assets/{SvgPage-Dltl_R3H.js → SvgPage-CQljgvlO.js} +2 -2
  17. package/dist/assets/{SvgPage-Dltl_R3H.js.map → SvgPage-CQljgvlO.js.map} +1 -1
  18. package/dist/assets/{TrackGraph-De07fYKN.js → TrackGraph-B34JmU2y.js} +3 -3
  19. package/dist/assets/{TrackGraph-De07fYKN.js.map → TrackGraph-B34JmU2y.js.map} +1 -1
  20. package/dist/assets/{_404Page-BjQuTr-4.js → _404Page-DUCCFNAB.js} +2 -2
  21. package/dist/assets/{_404Page-BjQuTr-4.js.map → _404Page-DUCCFNAB.js.map} +1 -1
  22. package/dist/assets/chunk-F2BCYXFp.js +3 -0
  23. package/dist/assets/{chunk-BcM-31Xg.js.map → chunk-F2BCYXFp.js.map} +1 -1
  24. package/dist/assets/{dayjs.min-CIGJGAmK.js → dayjs.min-Dv-eveXa.js} +2 -2
  25. package/dist/assets/{dayjs.min-CIGJGAmK.js.map → dayjs.min-Dv-eveXa.js.map} +1 -1
  26. package/dist/assets/{error-Dx-Q4QA4.js → error-ChBBACr4.js} +2 -2
  27. package/dist/assets/{error-Dx-Q4QA4.js.map → error-ChBBACr4.js.map} +1 -1
  28. package/dist/assets/{import-CrFFEti7.js → import-M_Af5KCc.js} +2 -2
  29. package/dist/assets/{import-CrFFEti7.js.map → import-M_Af5KCc.js.map} +1 -1
  30. package/dist/assets/{index-DxOIes5N.js → index-B9sXoeZq.js} +3 -3
  31. package/dist/assets/{index-DxOIes5N.js.map → index-B9sXoeZq.js.map} +1 -1
  32. package/dist/assets/{index-D17uyErR.js → index-B_uD-bae.js} +6 -6
  33. package/dist/assets/{index-D17uyErR.js.map → index-B_uD-bae.js.map} +1 -1
  34. package/dist/assets/{jszip.min-DP9jnM1V.js → jszip.min-C4QAILm2.js} +2 -2
  35. package/dist/assets/{jszip.min-DP9jnM1V.js.map → jszip.min-C4QAILm2.js.map} +1 -1
  36. package/dist/assets/{node-DTu3PkoD.js → node-C7vxFtQZ.js} +2 -2
  37. package/dist/assets/{node-DTu3PkoD.js.map → node-C7vxFtQZ.js.map} +1 -1
  38. package/dist/assets/{snapshot-DhE3UxkB.js → snapshot-gWG-XXTt.js} +2 -2
  39. package/dist/assets/{snapshot-DhE3UxkB.js.map → snapshot-gWG-XXTt.js.map} +1 -1
  40. package/dist/assets/{table-Gdhks37q.js → table-BrOTv4AL.js} +2 -2
  41. package/dist/assets/{table-Gdhks37q.js.map → table-BrOTv4AL.js.map} +1 -1
  42. package/dist/index.html +3 -3
  43. package/package.json +1 -1
  44. package/dist/assets/HomePage-DW24KLDn.js.map +0 -1
  45. package/dist/assets/chunk-BcM-31Xg.js +0 -3
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/HomePage-DW24KLDn.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-C6v5UzI9.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/Input-BiQ2YQPd.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/snapshot-DhE3UxkB.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/chunk-BcM-31Xg.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/dayjs.min-CIGJGAmK.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/node-DTu3PkoD.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/import-CrFFEti7.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/table-Gdhks37q.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/SnapshotPage--iNpyIbS.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/index-DxOIes5N.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/index-CdMJYWIX.css","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/_plugin-vue_export-helper-DlAUqK2U.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/error-Dx-Q4QA4.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/SnapshotPage-BrBfbf_-.css","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/ImportPage-6z7fBRPl.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/DevicePage-BFnJKico.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/SelectorPage-B1FVARmT.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/SvgPage-Dltl_R3H.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758081556944/files/dist/assets/_404Page-BjQuTr-4.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/HomePage-Bc83qKTK.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-Mnug9DWd.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/Input-D1JUZ06t.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/snapshot-gWG-XXTt.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/chunk-F2BCYXFp.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/dayjs.min-Dv-eveXa.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/node-C7vxFtQZ.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/import-M_Af5KCc.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/table-BrOTv4AL.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/SnapshotPage-DDESkWey.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/index-B9sXoeZq.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/index-CdMJYWIX.css","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/_plugin-vue_export-helper-DlAUqK2U.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/error-ChBBACr4.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/SnapshotPage-BrBfbf_-.css","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/ImportPage-BSN51fsg.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/DevicePage-U_3kdyd1.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/SelectorPage-BYz6KuKu.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/SvgPage-CQljgvlO.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1758639831089/files/dist/assets/_404Page-DUCCFNAB.js"])))=>i.map(i=>d[i]);
2
2
  (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Sp(e){let t=".",n="__",r="--",o;if(e){let h=e.blockPrefix;h&&(t=h),h=e.elementPrefix,h&&(n=h),h=e.modifierPrefix,h&&(r=h)}const i={install(h){o=h.c;const g=h.context;g.bem={},g.bem.b=null,g.bem.els=null}};function s(h){let g,y;return{before(x){g=x.bem.b,y=x.bem.els,x.bem.els=null},after(x){x.bem.b=g,x.bem.els=y},$({context:x,props:C}){return h=typeof h=="string"?h:h({context:x,props:C}),x.bem.b=h,`${(C==null?void 0:C.bPrefix)||t}${x.bem.b}`}}}function a(h){let g;return{before(y){g=y.bem.els},after(y){y.bem.els=g},$({context:y,props:x}){return h=typeof h=="string"?h:h({context:y,props:x}),y.bem.els=h.split(",").map(C=>C.trim()),y.bem.els.map(C=>`${(x==null?void 0:x.bPrefix)||t}${y.bem.b}${n}${C}`).join(", ")}}}function l(h){return{$({context:g,props:y}){h=typeof h=="string"?h:h({context:g,props:y});const x=h.split(",").map($=>$.trim());function C($){return x.map(T=>`&${(y==null?void 0:y.bPrefix)||t}${g.bem.b}${$!==void 0?`${n}${$}`:""}${r}${T}`).join(", ")}const k=g.bem.els;return k!==null?C(k[0]):C()}}}function u(h){return{$({context:g,props:y}){h=typeof h=="string"?h:h({context:g,props:y});const x=g.bem.els;return`&:not(${(y==null?void 0:y.bPrefix)||t}${g.bem.b}${x!==null&&x.length>0?`${n}${x[0]}`:""}${r}${h})`}}}return Object.assign(i,{cB:(...h)=>o(s(h[0]),h[1],h[2]),cE:(...h)=>o(a(h[0]),h[1],h[2]),cM:(...h)=>o(l(h[0]),h[1],h[2]),cNotM:(...h)=>o(u(h[0]),h[1],h[2])}),i}function Ep(e){let t=0;for(let n=0;n<e.length;++n)e[n]==="&"&&++t;return t}const qu=/\s*,(?![^(]*\))\s*/g,Tp=/\s+/g;function Rp(e,t){const n=[];return t.split(qu).forEach(r=>{let o=Ep(r);if(o){if(o===1){e.forEach(s=>{n.push(r.replace("&",s))});return}}else{e.forEach(s=>{n.push((s&&s+" ")+r)});return}let i=[r];for(;o--;){const s=[];i.forEach(a=>{e.forEach(l=>{s.push(a.replace("&",l))})}),i=s}i.forEach(s=>n.push(s))}),n}function Pp(e,t){const n=[];return t.split(qu).forEach(r=>{e.forEach(o=>{n.push((o&&o+" ")+r)})}),n}function $p(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=Rp(t,n):t=Pp(t,n))}),t.join(", ").replace(Tp," ")}function kl(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function Di(e,t){return(t??document.head).querySelector(`style[cssr-id="${e}"]`)}function Op(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function Yo(e){return e?/^\s*@(s|m)/.test(e):!1}const kp=/[A-Z]/g;function Gu(e){return e.replace(kp,t=>"-"+t.toLowerCase())}function Ap(e,t=" "){return typeof e=="object"&&e!==null?` {
3
3
  `+Object.entries(e).map(n=>t+` ${Gu(n[0])}: ${n[1]};`).join(`
4
4
  `)+`
@@ -882,10 +882,10 @@ ${t}
882
882
  transform: translate(${n}, 0);
883
883
  `),V("&.notification-transition-leave-from, &.notification-transition-enter-to",`
884
884
  transform: translate(0, 0);
885
- `)])}const Mh="n-notification-api",gw=Object.assign(Object.assign({},pt.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),mw=Te({name:"NotificationProvider",props:gw,setup(e){const{mergedClsPrefixRef:t}=jt(e),n=de([]),r={},o=new Set;function i(p){const h=Hr(),g=()=>{o.add(h),r[h]&&r[h].hide()},y=dn(Object.assign(Object.assign({},p),{key:h,destroy:g,hide:g,deactivate:g})),{max:x}=e;if(x&&n.value.length-o.size>=x){let C=!1,k=0;for(const $ of n.value){if(!o.has($.key)){r[$.key]&&($.destroy(),C=!0);break}k++}C||n.value.splice(k,1)}return n.value.push(y),y}const s=["info","success","warning","error"].map(p=>h=>i(Object.assign(Object.assign({},h),{type:p})));function a(p){o.delete(p),n.value.splice(n.value.findIndex(h=>h.key===p),1)}const l=pt("Notification","-notification",vw,lw,e,t),u={create:i,info:s[0],success:s[1],warning:s[2],error:s[3],open:f,destroyAll:d},c=de(0);et(Mh,u),et(ds,{props:e,mergedClsPrefixRef:t,mergedThemeRef:l,wipTransitionCountRef:c});function f(p){return i(p)}function d(){Object.values(n.value).forEach(p=>{p.hide()})}return Object.assign({mergedClsPrefix:t,notificationList:n,notificationRefs:r,handleAfterLeave:a},u)},render(){var e,t,n;const{placement:r}=this;return I(Ye,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?I(Ho,{to:(n=this.to)!==null&&n!==void 0?n:"body"},I(cw,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&r!=="top"&&r!=="bottom",placement:r},{default:()=>this.notificationList.map(o=>I(pw,Object.assign({ref:i=>{const s=o.key;i===null?delete this.notificationRefs[s]:this.notificationRefs[s]=i}},rs(o,["destroy","hide","deactivate"]),{internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:o.keepAliveOnHover===void 0?this.keepAliveOnHover:o.keepAliveOnHover})))})):null)}});function bw(){const e=Ie(Mh,null);return e===null&&Dr("use-notification","No outer `n-notification-provider` found."),e}const yw=Te({name:"InjectionExtractor",props:{onSetup:Function},setup(e,{slots:t}){var n;return(n=e.onSetup)===null||n===void 0||n.call(e),()=>{var r;return(r=t.default)===null||r===void 0?void 0:r.call(t)}}}),xw={message:nw,notification:bw,loadingBar:U2,dialog:w2,modal:O2};function ww({providersAndProps:e,configProviderProps:t}){let n=Td(o);const r={app:n};function o(){return I(Ch,Ve(t),{default:()=>e.map(({type:a,Provider:l,props:u})=>I(l,Ve(u),{default:()=>I(yw,{onSetup:()=>r[a]=xw[a]()})}))})}let i;return Fr&&(i=document.createElement("div"),document.body.appendChild(i),n.mount(i)),Object.assign({unmount:()=>{var a;if(n===null||i===null){Ar("discrete","unmount call no need because discrete app has been unmounted");return}n.unmount(),(a=i.parentNode)===null||a===void 0||a.removeChild(i),i=null,n=null}},r)}function Cw(e,{configProviderProps:t,messageProviderProps:n,dialogProviderProps:r,notificationProviderProps:o,loadingBarProviderProps:i,modalProviderProps:s}={}){const a=[];return e.forEach(u=>{switch(u){case"message":a.push({type:u,Provider:tw,props:n});break;case"notification":a.push({type:u,Provider:mw,props:o});break;case"dialog":a.push({type:u,Provider:H2,props:r});break;case"loadingBar":a.push({type:u,Provider:V2,props:i});break;case"modal":a.push({type:u,Provider:iw,props:s})}}),ww({providersAndProps:a,configProviderProps:t})}const xr=typeof document<"u";function Bh(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function _w(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Bh(e.default)}const De=Object.assign;function ia(e,t){const n={};for(const r in t){const o=t[r];n[r]=tn(o)?o.map(e):e(o)}return n}const go=()=>{},tn=Array.isArray,Lh=/#/g,Sw=/&/g,Ew=/\//g,Tw=/=/g,Rw=/\?/g,Hh=/\+/g,Pw=/%5B/g,$w=/%5D/g,Fh=/%5E/g,Ow=/%60/g,Dh=/%7B/g,kw=/%7C/g,jh=/%7D/g,Aw=/%20/g;function _l(e){return encodeURI(""+e).replace(kw,"|").replace(Pw,"[").replace($w,"]")}function Iw(e){return _l(e).replace(Dh,"{").replace(jh,"}").replace(Fh,"^")}function za(e){return _l(e).replace(Hh,"%2B").replace(Aw,"+").replace(Lh,"%23").replace(Sw,"%26").replace(Ow,"`").replace(Dh,"{").replace(jh,"}").replace(Fh,"^")}function zw(e){return za(e).replace(Tw,"%3D")}function Mw(e){return _l(e).replace(Lh,"%23").replace(Rw,"%3F")}function Bw(e){return e==null?"":Mw(e).replace(Ew,"%2F")}function Io(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Lw=/\/$/,Hw=e=>e.replace(Lw,"");function sa(e,t,n="/"){let r,o={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),o=e(i)),a>-1&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=Nw(r??t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:Io(s)}}function Fw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function xu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Dw(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&zr(t.matched[r],n.matched[o])&&Nh(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function zr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Nh(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!jw(e[n],t[n]))return!1;return!0}function jw(e,t){return tn(e)?wu(e,t):tn(t)?wu(t,e):e===t}function wu(e,t){return tn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Nw(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,s,a;for(s=0;s<r.length;s++)if(a=r[s],a!==".")if(a==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s).join("/")}const In={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var zo;(function(e){e.pop="pop",e.push="push"})(zo||(zo={}));var mo;(function(e){e.back="back",e.forward="forward",e.unknown=""})(mo||(mo={}));function Ww(e){if(!e)if(xr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Hw(e)}const Vw=/^[^#]+#/;function Uw(e,t){return e.replace(Vw,"#")+t}function Kw(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const hs=()=>({left:window.scrollX,top:window.scrollY});function qw(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Kw(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Cu(e,t){return(history.state?history.state.position-t:-1)+e}const Ma=new Map;function Gw(e,t){Ma.set(e,t)}function Yw(e){const t=Ma.get(e);return Ma.delete(e),t}let Xw=()=>location.protocol+"//"+location.host;function Wh(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),xu(l,"")}return xu(n,e)+r+o}function Zw(e,t,n,r){let o=[],i=[],s=null;const a=({state:d})=>{const p=Wh(e,location),h=n.value,g=t.value;let y=0;if(d){if(n.value=p,t.value=d,s&&s===h){s=null;return}y=g?d.position-g.position:0}else r(p);o.forEach(x=>{x(n.value,h,{delta:y,type:zo.pop,direction:y?y>0?mo.forward:mo.back:mo.unknown})})};function l(){s=n.value}function u(d){o.push(d);const p=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return i.push(p),p}function c(){const{history:d}=window;d.state&&d.replaceState(De({},d.state,{scroll:hs()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function _u(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?hs():null}}function Qw(e){const{history:t,location:n}=window,r={value:Wh(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:Xw()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function s(l,u){const c=De({},t.state,_u(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});i(l,c,!0),r.value=l}function a(l,u){const c=De({},o.value,t.state,{forward:l,scroll:hs()});i(c.current,c,!0);const f=De({},_u(r.value,l,null),{position:c.position+1},u);i(l,f,!1),r.value=l}return{location:r,state:o,push:a,replace:s}}function Jw(e){e=Ww(e);const t=Qw(e),n=Zw(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=De({location:"",base:e,go:r,createHref:Uw.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 eC(e){return typeof e=="string"||e&&typeof e=="object"}function Vh(e){return typeof e=="string"||typeof e=="symbol"}const Uh=Symbol("");var Su;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Su||(Su={}));function Mr(e,t){return De(new Error,{type:e,[Uh]:!0},t)}function gn(e,t){return e instanceof Error&&Uh in e&&(t==null||!!(e.type&t))}const Eu="[^/]+?",tC={sensitive:!1,strict:!1,start:!0,end:!0},nC=/[.+*?^${}()[\]/\\]/g;function rC(e,t){const n=De({},tC,t),r=[];let o=n.start?"^":"";const i=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let f=0;f<u.length;f++){const d=u[f];let p=40+(n.sensitive?.25:0);if(d.type===0)f||(o+="/"),o+=d.value.replace(nC,"\\$&"),p+=40;else if(d.type===1){const{value:h,repeatable:g,optional:y,regexp:x}=d;i.push({name:h,repeatable:g,optional:y});const C=x||Eu;if(C!==Eu){p+=10;try{new RegExp(`(${C})`)}catch($){throw new Error(`Invalid custom RegExp for param "${h}" (${C}): `+$.message)}}let k=g?`((?:${C})(?:/(?:${C}))*)`:`(${C})`;f||(k=y&&u.length<2?`(?:/${k})`:"/"+k),y&&(k+="?"),o+=k,p+=20,y&&(p+=-8),g&&(p+=-20),C===".*"&&(p+=-50)}c.push(p)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");function a(u){const c=u.match(s),f={};if(!c)return null;for(let d=1;d<c.length;d++){const p=c[d]||"",h=i[d-1];f[h.name]=p&&h.repeatable?p.split("/"):p}return f}function l(u){let c="",f=!1;for(const d of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const p of d)if(p.type===0)c+=p.value;else if(p.type===1){const{value:h,repeatable:g,optional:y}=p,x=h in u?u[h]:"";if(tn(x)&&!g)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const C=tn(x)?x.join("/"):x;if(!C)if(y)d.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);c+=C}}return c||"/"}return{re:s,score:r,keys:i,parse:a,stringify:l}}function oC(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Kh(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=oC(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(Tu(r))return 1;if(Tu(o))return-1}return o.length-r.length}function Tu(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const iC={type:0,value:""},sC=/[a-zA-Z0-9_]/;function aC(e){if(!e)return[[]];if(e==="/")return[[iC]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const o=[];let i;function s(){i&&o.push(i),i=[]}let a=0,l,u="",c="";function f(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(u&&f(),s()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:sC.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=3:c+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),s(),o}function lC(e,t,n){const r=rC(aC(e.path),n),o=De(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function cC(e,t){const n=[],r=new Map;t=Ou({strict:!1,end:!0,sensitive:!1},t);function o(f){return r.get(f)}function i(f,d,p){const h=!p,g=Pu(f);g.aliasOf=p&&p.record;const y=Ou(t,f),x=[g];if("alias"in f){const $=typeof f.alias=="string"?[f.alias]:f.alias;for(const T of $)x.push(Pu(De({},g,{components:p?p.record.components:g.components,path:T,aliasOf:p?p.record:g})))}let C,k;for(const $ of x){const{path:T}=$;if(d&&T[0]!=="/"){const _=d.record.path,m=_[_.length-1]==="/"?"":"/";$.path=d.record.path+(T&&m+T)}if(C=lC($,d,y),p?p.alias.push(C):(k=k||C,k!==C&&k.alias.push(C),h&&f.name&&!$u(C)&&s(f.name)),qh(C)&&l(C),g.children){const _=g.children;for(let m=0;m<_.length;m++)i(_[m],C,p&&p.children[m])}p=p||C}return k?()=>{s(k)}:go}function s(f){if(Vh(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(s),d.alias.forEach(s))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(s),f.alias.forEach(s))}}function a(){return n}function l(f){const d=dC(f,n);n.splice(d,0,f),f.record.name&&!$u(f)&&r.set(f.record.name,f)}function u(f,d){let p,h={},g,y;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw Mr(1,{location:f});y=p.record.name,h=De(Ru(d.params,p.keys.filter(k=>!k.optional).concat(p.parent?p.parent.keys.filter(k=>k.optional):[]).map(k=>k.name)),f.params&&Ru(f.params,p.keys.map(k=>k.name))),g=p.stringify(h)}else if(f.path!=null)g=f.path,p=n.find(k=>k.re.test(g)),p&&(h=p.parse(g),y=p.record.name);else{if(p=d.name?r.get(d.name):n.find(k=>k.re.test(d.path)),!p)throw Mr(1,{location:f,currentLocation:d});y=p.record.name,h=De({},d.params,f.params),g=p.stringify(h)}const x=[];let C=p;for(;C;)x.unshift(C.record),C=C.parent;return{name:y,path:g,params:h,matched:x,meta:fC(x)}}e.forEach(f=>i(f));function c(){n.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:s,clearRoutes:c,getRoutes:a,getRecordMatcher:o}}function Ru(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Pu(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:uC(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function uC(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function $u(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function fC(e){return e.reduce((t,n)=>De(t,n.meta),{})}function Ou(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function dC(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;Kh(e,t[i])<0?r=i:n=i+1}const o=hC(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function hC(e){let t=e;for(;t=t.parent;)if(qh(t)&&Kh(e,t)===0)return t}function qh({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function pC(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const i=r[o].replace(Hh," "),s=i.indexOf("="),a=Io(s<0?i:i.slice(0,s)),l=s<0?null:Io(i.slice(s+1));if(a in t){let u=t[a];tn(u)||(u=t[a]=[u]),u.push(l)}else t[a]=l}return t}function ku(e){let t="";for(let n in e){const r=e[n];if(n=zw(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(tn(r)?r.map(i=>i&&za(i)):[r&&za(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function vC(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=tn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const gC=Symbol(""),Au=Symbol(""),ps=Symbol(""),Sl=Symbol(""),Ba=Symbol("");function eo(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ln(e,t,n,r,o,i=s=>s()){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(Mr(4,{from:n,to:t})):d instanceof Error?l(d):eC(d)?l(Mr(2,{from:t,to:d})):(s&&r.enterCallbacks[o]===s&&typeof d=="function"&&s.push(d),a())},c=i(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function aa(e,t,n,r,o=i=>i()){const i=[];for(const s of e)for(const a in s.components){let l=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(Bh(l)){const c=(l.__vccOpts||l)[t];c&&i.push(Ln(c,n,r,s,a,o))}else{let u=l();i.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${s.path}"`);const f=_w(c)?c.default:c;s.mods[a]=c,s.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&Ln(p,n,r,s,a,o)()}))}}return i}function Iu(e){const t=Ie(ps),n=Ie(Sl),r=Z(()=>{const l=Ve(e.to);return t.resolve(l)}),o=Z(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(zr.bind(null,c));if(d>-1)return d;const p=zu(l[u-2]);return u>1&&zu(c)===p&&f[f.length-1].path!==p?f.findIndex(zr.bind(null,l[u-2])):d}),i=Z(()=>o.value>-1&&wC(n.params,r.value.params)),s=Z(()=>o.value>-1&&o.value===n.matched.length-1&&Nh(n.params,r.value.params));function a(l={}){if(xC(l)){const u=t[Ve(e.replace)?"replace":"push"](Ve(e.to)).catch(go);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:Z(()=>r.value.href),isActive:i,isExactActive:s,navigate:a}}function mC(e){return e.length===1?e[0]:e}const bC=Te({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"},viewTransition:Boolean},useLink:Iu,setup(e,{slots:t}){const n=dn(Iu(e)),{options:r}=Ie(ps),o=Z(()=>({[Mu(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Mu(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&mC(t.default(n));return e.custom?i:I("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),yC=bC;function xC(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function wC(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!tn(o)||o.length!==r.length||r.some((i,s)=>i!==o[s]))return!1}return!0}function zu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Mu=(e,t,n)=>e??t??n,CC=Te({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ie(Ba),o=Z(()=>e.route||r.value),i=Ie(Au,0),s=Z(()=>{let u=Ve(i);const{matched:c}=o.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=Z(()=>o.value.matched[s.value]);et(Au,Z(()=>s.value+1)),et(gC,a),et(Ba,o);const l=de();return tt(()=>[l.value,a.value,e.name],([u,c,f],[d,p,h])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!zr(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return Bu(n.default,{Component:d,route:u});const p=f.props[c],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,y=I(d,De({},h,t,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Bu(n.default,{Component:y,route:u})||y}}});function Bu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Gh=CC;function _C(e){const t=cC(e.routes,e),n=e.parseQuery||pC,r=e.stringifyQuery||ku,o=e.history,i=eo(),s=eo(),a=eo(),l=He(In);let u=In;xr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ia.bind(null,F=>""+F),f=ia.bind(null,Bw),d=ia.bind(null,Io);function p(F,ae){let K,he;return Vh(F)?(K=t.getRecordMatcher(F),he=ae):he=F,t.addRoute(he,K)}function h(F){const ae=t.getRecordMatcher(F);ae&&t.removeRoute(ae)}function g(){return t.getRoutes().map(F=>F.record)}function y(F){return!!t.getRecordMatcher(F)}function x(F,ae){if(ae=De({},ae||l.value),typeof F=="string"){const M=sa(n,F,ae.path),H=t.resolve({path:M.path},ae),W=o.createHref(M.fullPath);return De(M,H,{params:d(H.params),hash:Io(M.hash),redirectedFrom:void 0,href:W})}let K;if(F.path!=null)K=De({},F,{path:sa(n,F.path,ae.path).path});else{const M=De({},F.params);for(const H in M)M[H]==null&&delete M[H];K=De({},F,{params:f(M)}),ae.params=f(ae.params)}const he=t.resolve(K,ae),Ae=F.hash||"";he.params=c(d(he.params));const w=Fw(r,De({},F,{hash:Iw(Ae),path:he.path})),S=o.createHref(w);return De({fullPath:w,hash:Ae,query:r===ku?vC(F.query):F.query||{}},he,{redirectedFrom:void 0,href:S})}function C(F){return typeof F=="string"?sa(n,F,l.value.path):De({},F)}function k(F,ae){if(u!==F)return Mr(8,{from:ae,to:F})}function $(F){return m(F)}function T(F){return $(De(C(F),{replace:!0}))}function _(F){const ae=F.matched[F.matched.length-1];if(ae&&ae.redirect){const{redirect:K}=ae;let he=typeof K=="function"?K(F):K;return typeof he=="string"&&(he=he.includes("?")||he.includes("#")?he=C(he):{path:he},he.params={}),De({query:F.query,hash:F.hash,params:he.path!=null?{}:F.params},he)}}function m(F,ae){const K=u=x(F),he=l.value,Ae=F.state,w=F.force,S=F.replace===!0,M=_(K);if(M)return m(De(C(M),{state:typeof M=="object"?De({},Ae,M.state):Ae,force:w,replace:S}),ae||K);const H=K;H.redirectedFrom=ae;let W;return!w&&Dw(r,he,K)&&(W=Mr(16,{to:H,from:he}),Pe(he,he,!0,!1)),(W?Promise.resolve(W):L(H,he)).catch(D=>gn(D)?gn(D,2)?D:Oe(D):ve(D,H,he)).then(D=>{if(D){if(gn(D,2))return m(De({replace:S},C(D.to),{state:typeof D.to=="object"?De({},Ae,D.to.state):Ae,force:w}),ae||H)}else D=B(H,he,!0,S,Ae);return U(H,he,D),D})}function E(F,ae){const K=k(F,ae);return K?Promise.reject(K):Promise.resolve()}function P(F){const ae=it.values().next().value;return ae&&typeof ae.runWithContext=="function"?ae.runWithContext(F):F()}function L(F,ae){let K;const[he,Ae,w]=SC(F,ae);K=aa(he.reverse(),"beforeRouteLeave",F,ae);for(const M of he)M.leaveGuards.forEach(H=>{K.push(Ln(H,F,ae))});const S=E.bind(null,F,ae);return K.push(S),Ee(K).then(()=>{K=[];for(const M of i.list())K.push(Ln(M,F,ae));return K.push(S),Ee(K)}).then(()=>{K=aa(Ae,"beforeRouteUpdate",F,ae);for(const M of Ae)M.updateGuards.forEach(H=>{K.push(Ln(H,F,ae))});return K.push(S),Ee(K)}).then(()=>{K=[];for(const M of w)if(M.beforeEnter)if(tn(M.beforeEnter))for(const H of M.beforeEnter)K.push(Ln(H,F,ae));else K.push(Ln(M.beforeEnter,F,ae));return K.push(S),Ee(K)}).then(()=>(F.matched.forEach(M=>M.enterCallbacks={}),K=aa(w,"beforeRouteEnter",F,ae,P),K.push(S),Ee(K))).then(()=>{K=[];for(const M of s.list())K.push(Ln(M,F,ae));return K.push(S),Ee(K)}).catch(M=>gn(M,8)?M:Promise.reject(M))}function U(F,ae,K){a.list().forEach(he=>P(()=>he(F,ae,K)))}function B(F,ae,K,he,Ae){const w=k(F,ae);if(w)return w;const S=ae===In,M=xr?history.state:{};K&&(he||S?o.replace(F.fullPath,De({scroll:S&&M&&M.scroll},Ae)):o.push(F.fullPath,Ae)),l.value=F,Pe(F,ae,K,S),Oe()}let re;function G(){re||(re=o.listen((F,ae,K)=>{if(!At.listening)return;const he=x(F),Ae=_(he);if(Ae){m(De(Ae,{replace:!0,force:!0}),he).catch(go);return}u=he;const w=l.value;xr&&Gw(Cu(w.fullPath,K.delta),hs()),L(he,w).catch(S=>gn(S,12)?S:gn(S,2)?(m(De(C(S.to),{force:!0}),he).then(M=>{gn(M,20)&&!K.delta&&K.type===zo.pop&&o.go(-1,!1)}).catch(go),Promise.reject()):(K.delta&&o.go(-K.delta,!1),ve(S,he,w))).then(S=>{S=S||B(he,w,!1),S&&(K.delta&&!gn(S,8)?o.go(-K.delta,!1):K.type===zo.pop&&gn(S,20)&&o.go(-1,!1)),U(he,w,S)}).catch(go)}))}let se=eo(),oe=eo(),te;function ve(F,ae,K){Oe(F);const he=oe.list();return he.length?he.forEach(Ae=>Ae(F,ae,K)):console.error(F),Promise.reject(F)}function Re(){return te&&l.value!==In?Promise.resolve():new Promise((F,ae)=>{se.add([F,ae])})}function Oe(F){return te||(te=!F,G(),se.list().forEach(([ae,K])=>F?K(F):ae()),se.reset()),F}function Pe(F,ae,K,he){const{scrollBehavior:Ae}=e;if(!xr||!Ae)return Promise.resolve();const w=!K&&Yw(Cu(F.fullPath,0))||(he||!K)&&history.state&&history.state.scroll||null;return Bt().then(()=>Ae(F,ae,w)).then(S=>S&&qw(S)).catch(S=>ve(S,F,ae))}const Be=F=>o.go(F);let ot;const it=new Set,At={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:y,getRoutes:g,resolve:x,options:e,push:$,replace:T,go:Be,back:()=>Be(-1),forward:()=>Be(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:oe.add,isReady:Re,install(F){const ae=this;F.component("RouterLink",yC),F.component("RouterView",Gh),F.config.globalProperties.$router=ae,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>Ve(l)}),xr&&!ot&&l.value===In&&(ot=!0,$(o.location).catch(Ae=>{}));const K={};for(const Ae in In)Object.defineProperty(K,Ae,{get:()=>l.value[Ae],enumerable:!0});F.provide(ps,ae),F.provide(Sl,Mo(K)),F.provide(Ba,l);const he=F.unmount;it.add(F),F.unmount=function(){it.delete(F),it.size<1&&(u=In,re&&re(),re=null,l.value=In,ot=!1,te=!1),he()}}};function Ee(F){return F.reduce((ae,K)=>ae.then(()=>P(K)),Promise.resolve())}return At}function SC(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s<i;s++){const a=t.matched[s];a&&(e.matched.find(u=>zr(u,a))?r.push(a):n.push(a));const l=e.matched[s];l&&(t.matched.find(u=>zr(u,l))||o.push(l))}return[n,r,o]}function ZS(){return Ie(ps)}function QS(e){return Ie(Sl)}function Vo(e){return df()?(hv(e),!0):!1}function EC(e){let t=!1,n;const r=ff(!0);return(...o)=>(t||(n=r.run(()=>e(...o)),t=!0),n)}const la=new WeakMap,TC=(...e)=>{var t;const n=e[0],r=(t=Rn())==null?void 0:t.proxy;if(r==null&&!ed())throw new Error("injectLocal must be called in setup");return r&&la.has(r)&&n in la.get(r)?la.get(r)[n]:Ie(...e)};function JS(e){let t=0,n,r;const o=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...i)=>(t+=1,r||(r=ff(!0),n=r.run(()=>e(...i))),Vo(o),n)}const El=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const RC=e=>e!=null,PC=Object.prototype.toString,$C=e=>PC.call(e)==="[object Object]",cr=()=>{};function OC(...e){if(e.length!==1)return Mt(...e);const t=e[0];return typeof t=="function"?Jt(Bv(()=>({get:t,set:cr}))):de(t)}function Tl(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}const Yh=e=>e();function kC(e,t={}){let n,r,o=cr;const i=l=>{clearTimeout(l),o(),o=cr};let s;return l=>{const u=Je(e),c=Je(t.maxWait);return n&&i(n),u<=0||c!==void 0&&c<=0?(r&&(i(r),r=void 0),Promise.resolve(l())):new Promise((f,d)=>{o=t.rejectOnCancel?d:f,s=l,c&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,f(s())},c)),n=setTimeout(()=>{r&&i(r),r=void 0,f(l())},u)})}}function AC(...e){let t=0,n,r=!0,o=cr,i,s,a,l,u;!dt(e[0])&&typeof e[0]=="object"?{delay:s,trailing:a=!0,leading:l=!0,rejectOnCancel:u=!1}=e[0]:[s,a=!0,l=!0,u=!1]=e;const c=()=>{n&&(clearTimeout(n),n=void 0,o(),o=cr)};return d=>{const p=Je(s),h=Date.now()-t,g=()=>i=d();return c(),p<=0?(t=Date.now(),g()):(h>p&&(l||!r)?(t=Date.now(),g()):a&&(i=new Promise((y,x)=>{o=u?x:y,n=setTimeout(()=>{t=Date.now(),r=!0,y(g()),c()},Math.max(0,p-h))})),!l&&!n&&(n=setTimeout(()=>r=!0,p)),r=!1,i)}}function IC(e=Yh,t={}){const{initialState:n="active"}=t,r=OC(n==="active");function o(){r.value=!1}function i(){r.value=!0}const s=(...a)=>{r.value&&e(...a)};return{isActive:Jt(r),pause:o,resume:i,eventFilter:s}}function zC(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function Lu(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function bo(e){return Array.isArray(e)?e:[e]}function MC(e){return Rn()}function Xh(e,t=200,n={}){return Tl(kC(t,n),e)}function e3(e,t=200,n={}){const r=de(Je(e)),o=Xh(()=>{r.value=e.value},t,n);return tt(e,()=>o()),$f(r)}function BC(e,t=200,n=!1,r=!0,o=!1){return Tl(AC(t,n,r,o),e)}function LC(e,t,n={}){const{eventFilter:r=Yh,...o}=n;return tt(e,Tl(r,t),o)}function HC(e,t,n={}){const{eventFilter:r,initialState:o="active",...i}=n,{eventFilter:s,pause:a,resume:l,isActive:u}=IC(r,{initialState:o});return{stop:LC(e,t,{...i,eventFilter:s}),pause:a,resume:l,isActive:u}}function Uo(e,t=!0,n){MC()?Gt(e,n):t?e():Bt(e)}function FC(e,t,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n,i=He(!1);let s;function a(){s&&(clearTimeout(s),s=void 0)}function l(){i.value=!1,a()}function u(...c){o&&e(),a(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,e(...c)},Je(t))}return r&&(i.value=!0,El&&u()),Vo(l),{isPending:$f(i),start:u,stop:l}}function DC(e,t,n){return tt(e,t,{...n,immediate:!0})}const pn=El?window:void 0,Zh=El?window.navigator:void 0;function Zt(e){var t;const n=Je(e);return(t=n==null?void 0:n.$el)!=null?t:n}function xt(...e){const t=[],n=()=>{t.forEach(a=>a()),t.length=0},r=(a,l,u,c)=>(a.addEventListener(l,u,c),()=>a.removeEventListener(l,u,c)),o=Z(()=>{const a=bo(Je(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),i=DC(()=>{var a,l;return[(l=(a=o.value)==null?void 0:a.map(u=>Zt(u)))!=null?l:[pn].filter(u=>u!=null),bo(Je(o.value?e[1]:e[0])),bo(Ve(o.value?e[2]:e[1])),Je(o.value?e[3]:e[2])]},([a,l,u,c])=>{if(n(),!(a!=null&&a.length)||!(l!=null&&l.length)||!(u!=null&&u.length))return;const f=$C(c)?{...c}:c;t.push(...a.flatMap(d=>l.flatMap(p=>u.map(h=>r(d,p,h,f)))))},{flush:"post"}),s=()=>{i(),n()};return Vo(n),s}function jC(){const e=He(!1),t=Rn();return t&&Gt(()=>{e.value=!0},t),e}function Ko(e){const t=jC();return Z(()=>(t.value,!!e()))}function Qh(e,t,n={}){const{window:r=pn,...o}=n;let i;const s=Ko(()=>r&&"MutationObserver"in r),a=()=>{i&&(i.disconnect(),i=void 0)},l=Z(()=>{const d=Je(e),p=bo(d).map(Zt).filter(RC);return new Set(p)}),u=tt(l,d=>{a(),s.value&&d.size&&(i=new MutationObserver(t),d.forEach(p=>i.observe(p,o)))},{immediate:!0,flush:"post"}),c=()=>i==null?void 0:i.takeRecords(),f=()=>{u(),a()};return Vo(f),{isSupported:s,stop:f,takeRecords:c}}const NC=Symbol("vueuse-ssr-width");function WC(){const e=ed()?TC(NC,null):null;return typeof e=="number"?e:void 0}function VC(e,t={}){const{window:n=pn,ssrWidth:r=WC()}=t,o=Ko(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=He(typeof r=="number"),s=He(),a=He(!1),l=u=>{a.value=u.matches};return Do(()=>{if(i.value){i.value=!o.value;const u=Je(e).split(",");a.value=u.some(c=>{const f=c.includes("not all"),d=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),p=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let h=!!(d||p);return d&&h&&(h=r>=Lu(d[1])),p&&h&&(h=r<=Lu(p[1])),f?!h:h});return}o.value&&(s.value=n.matchMedia(Je(e)),a.value=s.value.matches)}),xt(s,"change",l,{passive:!0}),Z(()=>a.value)}function Hu(e,t={}){const{controls:n=!1,navigator:r=Zh}=t,o=Ko(()=>r&&"permissions"in r),i=He(),s=typeof e=="string"?{name:e}:e,a=He(),l=()=>{var c,f;a.value=(f=(c=i.value)==null?void 0:c.state)!=null?f:"prompt"};xt(i,"change",l,{passive:!0});const u=zC(async()=>{if(o.value){if(!i.value)try{i.value=await r.permissions.query(s)}catch{i.value=void 0}finally{l()}if(n)return ze(i.value)}});return u(),n?{state:a,isSupported:o,query:u}:a}function t3(e={}){const{navigator:t=Zh,read:n=!1,source:r,copiedDuring:o=1500,legacy:i=!1}=e,s=Ko(()=>t&&"clipboard"in t),a=Hu("clipboard-read"),l=Hu("clipboard-write"),u=Z(()=>s.value||i),c=He(""),f=He(!1),d=FC(()=>f.value=!1,o,{immediate:!1});async function p(){let C=!(s.value&&x(a.value));if(!C)try{c.value=await t.clipboard.readText()}catch{C=!0}C&&(c.value=y())}u.value&&n&&xt(["copy","cut"],p,{passive:!0});async function h(C=Je(r)){if(u.value&&C!=null){let k=!(s.value&&x(l.value));if(!k)try{await t.clipboard.writeText(C)}catch{k=!0}k&&g(C),c.value=C,f.value=!0,d.start()}}function g(C){const k=document.createElement("textarea");k.value=C??"",k.style.position="absolute",k.style.opacity="0",document.body.appendChild(k),k.select(),document.execCommand("copy"),k.remove()}function y(){var C,k,$;return($=(k=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:k.toString())!=null?$:""}function x(C){return C==="granted"||C==="prompt"}return{isSupported:u,text:c,copied:f,copy:h}}const di=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},hi="__vueuse_ssr_handlers__",UC=KC();function KC(){return hi in di||(di[hi]=di[hi]||{}),di[hi]}function qC(e,t){return UC[e]||t}function GC(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const YC={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Fu="vueuse-storage";function n3(e,t,n,r={}){var o;const{flush:i="pre",deep:s=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:c,window:f=pn,eventFilter:d,onError:p=G=>{console.error(G)},initOnMounted:h}=r,g=(c?He:de)(typeof t=="function"?t():t),y=Z(()=>Je(e));if(!n)try{n=qC("getDefaultStorage",()=>{var G;return(G=pn)==null?void 0:G.localStorage})()}catch(G){p(G)}if(!n)return g;const x=Je(t),C=GC(x),k=(o=r.serializer)!=null?o:YC[C],{pause:$,resume:T}=HC(g,G=>L(G),{flush:i,deep:s,eventFilter:d});tt(y,()=>B(),{flush:i});let _=!1;const m=G=>{h&&!_||B(G)},E=G=>{h&&!_||re(G)};f&&a&&(n instanceof Storage?xt(f,"storage",m,{passive:!0}):xt(f,Fu,E)),h?Uo(()=>{_=!0,B()}):B();function P(G,se){if(f){const oe={key:y.value,oldValue:G,newValue:se,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",oe):new CustomEvent(Fu,{detail:oe}))}}function L(G){try{const se=n.getItem(y.value);if(G==null)P(se,null),n.removeItem(y.value);else{const oe=k.write(G);se!==oe&&(n.setItem(y.value,oe),P(se,oe))}}catch(se){p(se)}}function U(G){const se=G?G.newValue:n.getItem(y.value);if(se==null)return l&&x!=null&&n.setItem(y.value,k.write(x)),x;if(!G&&u){const oe=k.read(se);return typeof u=="function"?u(oe,x):C==="object"&&!Array.isArray(oe)?{...x,...oe}:oe}else return typeof se!="string"?se:k.read(se)}function B(G){if(!(G&&G.storageArea!==n)){if(G&&G.key==null){g.value=x;return}if(!(G&&G.key!==y.value)){$();try{const se=k.write(g.value);(G===void 0||(G==null?void 0:G.newValue)!==se)&&(g.value=U(G))}catch(se){p(se)}finally{G?Bt(T):T()}}}}function re(G){B(G.detail)}return g}function Jh(e,t,n={}){const{window:r=pn,...o}=n;let i;const s=Ko(()=>r&&"ResizeObserver"in r),a=()=>{i&&(i.disconnect(),i=void 0)},l=Z(()=>{const f=Je(e);return Array.isArray(f)?f.map(d=>Zt(d)):[Zt(f)]}),u=tt(l,f=>{if(a(),s.value&&r){i=new ResizeObserver(t);for(const d of f)d&&i.observe(d,o)}},{immediate:!0,flush:"post"}),c=()=>{a(),u()};return Vo(c),{isSupported:s,stop:c}}function XC(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:o=!0,immediate:i=!0,updateTiming:s="sync"}=t,a=He(0),l=He(0),u=He(0),c=He(0),f=He(0),d=He(0),p=He(0),h=He(0);function g(){const x=Zt(e);if(!x){n&&(a.value=0,l.value=0,u.value=0,c.value=0,f.value=0,d.value=0,p.value=0,h.value=0);return}const C=x.getBoundingClientRect();a.value=C.height,l.value=C.bottom,u.value=C.left,c.value=C.right,f.value=C.top,d.value=C.width,p.value=C.x,h.value=C.y}function y(){s==="sync"?g():s==="next-frame"&&requestAnimationFrame(()=>g())}return Jh(e,y),tt(()=>Zt(e),x=>!x&&y()),Qh(e,y,{attributeFilter:["style","class"]}),o&&xt("scroll",y,{capture:!0,passive:!0}),r&&xt("resize",y,{passive:!0}),Uo(()=>{i&&y()}),{height:a,bottom:l,left:u,right:c,top:f,width:d,x:p,y:h,update:y}}function r3(e,t={width:0,height:0},n={}){const{window:r=pn,box:o="content-box"}=n,i=Z(()=>{var f,d;return(d=(f=Zt(e))==null?void 0:f.namespaceURI)==null?void 0:d.includes("svg")}),s=He(t.width),a=He(t.height),{stop:l}=Jh(e,([f])=>{const d=o==="border-box"?f.borderBoxSize:o==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&i.value){const p=Zt(e);if(p){const h=p.getBoundingClientRect();s.value=h.width,a.value=h.height}}else if(d){const p=bo(d);s.value=p.reduce((h,{inlineSize:g})=>h+g,0),a.value=p.reduce((h,{blockSize:g})=>h+g,0)}else s.value=f.contentRect.width,a.value=f.contentRect.height},n);Uo(()=>{const f=Zt(e);f&&(s.value="offsetWidth"in f?f.offsetWidth:t.width,a.value="offsetHeight"in f?f.offsetHeight:t.height)});const u=tt(()=>Zt(e),f=>{s.value=f?t.width:0,a.value=f?t.height:0});function c(){l(),u()}return{width:s,height:a,stop:c}}const Du=1;function ZC(e,t={}){const{throttle:n=0,idle:r=200,onStop:o=cr,onScroll:i=cr,offset:s={left:0,right:0,top:0,bottom:0},observe:a={mutation:!1},eventListenerOptions:l={capture:!1,passive:!0},behavior:u="auto",window:c=pn,onError:f=P=>{console.error(P)}}=t,d=typeof a=="boolean"?{mutation:a}:a,p=He(0),h=He(0),g=Z({get(){return p.value},set(P){x(P,void 0)}}),y=Z({get(){return h.value},set(P){x(void 0,P)}});function x(P,L){var U,B,re,G;if(!c)return;const se=Je(e);if(!se)return;(re=se instanceof Document?c.document.body:se)==null||re.scrollTo({top:(U=Je(L))!=null?U:y.value,left:(B=Je(P))!=null?B:g.value,behavior:Je(u)});const oe=((G=se==null?void 0:se.document)==null?void 0:G.documentElement)||(se==null?void 0:se.documentElement)||se;g!=null&&(p.value=oe.scrollLeft),y!=null&&(h.value=oe.scrollTop)}const C=He(!1),k=dn({left:!0,right:!1,top:!0,bottom:!1}),$=dn({left:!1,right:!1,top:!1,bottom:!1}),T=P=>{C.value&&(C.value=!1,$.left=!1,$.right=!1,$.top=!1,$.bottom=!1,o(P))},_=Xh(T,n+r),m=P=>{var L;if(!c)return;const U=((L=P==null?void 0:P.document)==null?void 0:L.documentElement)||(P==null?void 0:P.documentElement)||Zt(P),{display:B,flexDirection:re,direction:G}=getComputedStyle(U),se=G==="rtl"?-1:1,oe=U.scrollLeft;$.left=oe<p.value,$.right=oe>p.value;const te=Math.abs(oe*se)<=(s.left||0),ve=Math.abs(oe*se)+U.clientWidth>=U.scrollWidth-(s.right||0)-Du;B==="flex"&&re==="row-reverse"?(k.left=ve,k.right=te):(k.left=te,k.right=ve),p.value=oe;let Re=U.scrollTop;P===c.document&&!Re&&(Re=c.document.body.scrollTop),$.top=Re<h.value,$.bottom=Re>h.value;const Oe=Math.abs(Re)<=(s.top||0),Pe=Math.abs(Re)+U.clientHeight>=U.scrollHeight-(s.bottom||0)-Du;B==="flex"&&re==="column-reverse"?(k.top=Pe,k.bottom=Oe):(k.top=Oe,k.bottom=Pe),h.value=Re},E=P=>{var L;if(!c)return;const U=(L=P.target.documentElement)!=null?L:P.target;m(U),C.value=!0,_(P),i(P)};return xt(e,"scroll",n?BC(E,n,!0,!1):E,l),Uo(()=>{try{const P=Je(e);if(!P)return;m(P)}catch(P){f(P)}}),d!=null&&d.mutation&&e!=null&&e!==c&&e!==document&&Qh(e,()=>{const P=Je(e);P&&m(P)},{attributes:!0,childList:!0,subtree:!0}),xt(e,"scrollend",T,l),{x:g,y,isScrolling:C,arrivedState:k,directions:$,measure(){const P=Je(e);c&&P&&m(P)}}}function QC(e={}){const{window:t=pn,...n}=e;return ZC(t,n)}function JC(e={}){const{window:t=pn,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:i=!0,type:s="inner"}=e,a=He(n),l=He(r),u=()=>{if(t)if(s==="outer")a.value=t.outerWidth,l.value=t.outerHeight;else if(s==="visual"&&t.visualViewport){const{width:f,height:d,scale:p}=t.visualViewport;a.value=Math.round(f*p),l.value=Math.round(d*p)}else i?(a.value=t.innerWidth,l.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight)};u(),Uo(u);const c={passive:!0};if(xt("resize",u,c),t&&s==="visual"&&t.visualViewport&&xt(t.visualViewport,"resize",u,c),o){const f=VC("(orientation: portrait)");tt(f,()=>u())}return{width:a,height:l}}const e_=EC(()=>Mo({networkErrorDlgVisible:!1,githubErrorDlgVisible:!1,wasmErrorDlgVisible:!1,wasmSupported:void 0})),{message:ju,dialog:o3,loadingBar:i3}=Cw(["message","dialog","loadingBar"]),ep=document.querySelector("#app"),t_={fixed:"","z-2000":"",class:"BodyScrollbar"},n_=Te({__name:"BodyScrollbar",setup(e){const{y:t,x:n}=QC(),{height:r,width:o}=JC(),i=XC(document.body),s=Z(()=>i.height.value>r.value),a=Z(()=>{const m=i.height.value;return r.value/m*r.value}),l=Z(()=>{const _=i.height.value,m=a.value;return t.value/(_-r.value)*(r.value-m)}),u=Z(()=>s.value?{transform:`translateY(${l.value}px)`,height:`${a.value}px`}:{}),c=async _=>{const m=a.value*.9*(_.clientY<a.value+l.value?-1:1),E=i.height.value,P=E,L=r.value/P*r.value;t.value+=m/(r.value-L)*(E-r.value)},f=He(!1);let d;const p=_=>{d=_,f.value=!0};xt("pointermove",_=>{if(!d)return;const m=_.clientY-d.clientY;d=_;const E=i.height.value,P=E,L=r.value/P*r.value;t.value+=m/(r.value-L)*(E-r.value)}),xt("pointerup",()=>{d=void 0,f.value=!1});const h=Z(()=>Math.floor(i.width.value)>o.value),g=Z(()=>{const m=i.width.value;return o.value/m*o.value}),y=Z(()=>{const _=i.width.value,m=g.value;return n.value/(_-o.value)*(o.value-m)}),x=Z(()=>h.value?{transform:`translateX(${y.value}px)`,width:`${g.value}px`}:{}),C=_=>{const m=g.value*.9*(_.clientX<g.value+y.value?-1:1),E=i.width.value,P=E,L=o.value/P*o.value,U=n.value+m/(o.value-L)*(E-o.value);n.value=U},k=He(!1);let $;const T=_=>{$=_,k.value=!0};return xt("pointermove",_=>{if(!$)return;const m=_.clientX-$.clientX;$=_;const E=i.width.value,P=E,L=o.value/P*o.value;n.value+=m/(o.value-L)*(E-o.value)}),xt("pointerup",()=>{$=void 0,k.value=!1}),xt("selectstart",_=>{($||d)&&_.preventDefault()}),(_,m)=>(Nn(),Ro("div",t_,[So(ct("div",{"scrollbar-y":"",fixed:"","right-2px":"","top-0":"","bottom-0":"","w-8px":"",onPointerdown:p,onClick:c},[ct("div",{"w-full":"",bg:"#909399","opacity-30":"","hover:opacity":"50",style:Pr(Ve(u)),class:Dn({"opacity-50":Ve(f)}),onClick:m[0]||(m[0]=yc(()=>{},["stop"]))},null,6)],544),[[ki,Ve(s)]]),Ve(h)?(Nn(),Ro("div",{key:0,"scrollbar-x":"",fixed:"","bottom-2px":"","left-0":"","right-0":"","h-8px":"",onPointerdown:T,onClick:C},[ct("div",{"h-full":"",bg:"#909399","opacity-30":"","hover:opacity":"50",style:Pr(Ve(x)),class:Dn({"opacity-50":Ve(k)}),onClick:m[1]||(m[1]=yc(()=>{},["stop"]))},null,6)],32)):vd("",!0)]))}});function s3(...e){const t=new URLSearchParams;return e.forEach(n=>{for(const r in n){const o=n[r];o!==void 0&&t.append(r,String(o))}}),t}const a3=e=>{const t={};return e.forEach((n,r)=>{t[r]=n}),t},r_=async(e=0)=>new Promise(t=>{setTimeout(t,e)}),l3=(()=>{let e;return async t=>{if(t&&e!==t){e=t,r_(1e4).then(()=>{e=void 0});try{await navigator.clipboard.writeText(t),ju.success("复制成功")}catch{ju.error("复制失败")}}}})(),tp=(e,t)=>{e.classList.add(t),Gt(()=>{e.classList.add(t)}),Zi(()=>{e.classList.remove(t)})},c3=()=>{tp(ep,"app-auto-h")},u3=()=>{tp(document.body,"body-auto-w")},o_=()=>{},f3=()=>o_,d3=(e,t)=>{const n={};return t.forEach(r=>{const o=e[r];o!==void 0&&(n[r]=o)}),n},np=e=>typeof e=="number"?!0:typeof e=="string"&&Array.prototype.every.call(e,t=>"0"<=t&&t<="9"),h3=e=>{if(typeof e=="number"&&Number.isSafeInteger(e))return e;if(typeof e=="string"&&e.length>0){const t=Number(e);if(Number.isSafeInteger(t))return t}},i_=Te(()=>{const e=He(!1),t="ontouchstart"in document.documentElement;return e.value=!t,t&&(document.body.classList.add("mobile"),document.documentElement.classList.add("mobile")),()=>e.value?I(Ho,{to:document.body},I(n_)):void 0}),p3=["#ff00ff","#18821c","#00ff00","#007fff","#ff7f00","#7fbf7f","#4e01bf","#b80836","#d67ffd","#00ffff","#fafe43","#00ff7f","#215b8f","#bd667c","#84f7f8","#8dfa01","#8f6605","#f5bc95","#a631f6","#21bab7","#4b1e4a","#7578c8","#c1b629","#ff007f","#0000ff","#4cc62a","#00007f","#fd404b","#b6fc97","#f742d8","#373fea","#a31b90","#ff0000","#03ae66","#a1b6e3","#61f9a8"],v3=e=>{var n,r;const t=[];if((n=e.dataTransfer)!=null&&n.items)for(let o=0;o<e.dataTransfer.items.length;o++){const i=e.dataTransfer.items[o];if(i.kind==="file"){const s=i.getAsFile();s&&t.push(s)}}else t.push(...Array.from(((r=e.dataTransfer)==null?void 0:r.files)||[]));return t},s_=[/\.0+$/,/0+$/],g3=(e,t)=>{const n=e.toFixed(t);if(!n.includes("."))return n;for(const r of s_)if(r.test(n))return n.replace(r,"");return n},m3=e=>{try{return new URL(e)}catch{}},a_=new Set([location.origin,"https://cdn.jsdelivr.net","https://fastly.jsdelivr.net","https://raw.githubusercontent.com","https://gist.githubusercontent.com","https://raw.gitmirror.com","https://registry.npmmirror.com"]),b3=e=>(e=new URL(e),e.hostname=="127.0.0.1"||e.hostname=="localhost"||location.protocol=="http:"&&e.protocol=="http:"&&e.hostname.split(".").every(t=>Number.isSafeInteger(parseInt(t)))?!0:a_.has(e.origin)),l_=[/^https:\/\/f\.gkd\.li\/(\d+)$/,/^https:\/\/github\.com\/gkd-kit\/inspect\/files\/(\d+)\/file\.zip$/,/^https:\/\/github\.com\/user-attachments\/files\/(\d+)\/file\.zip$/,/^https:\/\/i\.gkd\.li\/i\/(\d+)$/,/^https:\/\/i\.gkd\.li\/import\/(\d+)$/],c_=["https://f.gkd.li/","https://github.com/user-attachments/files/","https://github.com/gkd-kit/inspect/files/"],y3=e=>c_.some(t=>e.startsWith(t)),rp=e=>{var t;if(typeof e=="string"){if(e.startsWith(location.origin)){const n=+new URL(e).pathname.substring(1);if(Number.isSafeInteger(n)&&n>0)return n}for(const n of l_){const r=(t=e.match(n))==null?void 0:t[1];if(r)return+r}}},u_=/^https:\/\/github\.com\/gkd-kit\/inspect\/assets\/[0-9]+\/([0-9a-z-]+)$/,f_=/^https:\/\/github\.com\/user-attachments\/assets\/([0-9a-z-]+)$/,d_=e=>{var t,n;return((t=e.match(u_))==null?void 0:t[1])||((n=e.match(f_))==null?void 0:n[1])},x3=e=>location.origin+`/i/${e}`,w3=e=>`https://e.gkd.li/${e}`,h_=e=>`https://github.com/user-attachments/files/${e}/file.zip`;var pi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function p_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function C3(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var o=!1;try{o=this instanceof r}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}function vi(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ca={exports:{}};var Nu;function v_(){return Nu||(Nu=1,function(e,t){(function(n){e.exports=n()})(function(){return function n(r,o,i){function s(u,c){if(!o[u]){if(!r[u]){var f=typeof vi=="function"&&vi;if(!c&&f)return f(u,!0);if(a)return a(u,!0);var d=new Error("Cannot find module '"+u+"'");throw d.code="MODULE_NOT_FOUND",d}var p=o[u]={exports:{}};r[u][0].call(p.exports,function(h){var g=r[u][1][h];return s(g||h)},p,p.exports,n,r,o,i)}return o[u].exports}for(var a=typeof vi=="function"&&vi,l=0;l<i.length;l++)s(i[l]);return s}({1:[function(n,r,o){(function(i){var s=i.MutationObserver||i.WebKitMutationObserver,a;if(s){var l=0,u=new s(h),c=i.document.createTextNode("");u.observe(c,{characterData:!0}),a=function(){c.data=l=++l%2}}else if(!i.setImmediate&&typeof i.MessageChannel<"u"){var f=new i.MessageChannel;f.port1.onmessage=h,a=function(){f.port2.postMessage(0)}}else"document"in i&&"onreadystatechange"in i.document.createElement("script")?a=function(){var y=i.document.createElement("script");y.onreadystatechange=function(){h(),y.onreadystatechange=null,y.parentNode.removeChild(y),y=null},i.document.documentElement.appendChild(y)}:a=function(){setTimeout(h,0)};var d,p=[];function h(){d=!0;for(var y,x,C=p.length;C;){for(x=p,p=[],y=-1;++y<C;)x[y]();C=p.length}d=!1}r.exports=g;function g(y){p.push(y)===1&&!d&&a()}}).call(this,typeof pi<"u"?pi:typeof self<"u"?self:typeof window<"u"?window:{})},{}],2:[function(n,r,o){var i=n(1);function s(){}var a={},l=["REJECTED"],u=["FULFILLED"],c=["PENDING"];r.exports=f;function f(T){if(typeof T!="function")throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,T!==s&&g(this,T)}f.prototype.catch=function(T){return this.then(null,T)},f.prototype.then=function(T,_){if(typeof T!="function"&&this.state===u||typeof _!="function"&&this.state===l)return this;var m=new this.constructor(s);if(this.state!==c){var E=this.state===u?T:_;p(m,E,this.outcome)}else this.queue.push(new d(m,T,_));return m};function d(T,_,m){this.promise=T,typeof _=="function"&&(this.onFulfilled=_,this.callFulfilled=this.otherCallFulfilled),typeof m=="function"&&(this.onRejected=m,this.callRejected=this.otherCallRejected)}d.prototype.callFulfilled=function(T){a.resolve(this.promise,T)},d.prototype.otherCallFulfilled=function(T){p(this.promise,this.onFulfilled,T)},d.prototype.callRejected=function(T){a.reject(this.promise,T)},d.prototype.otherCallRejected=function(T){p(this.promise,this.onRejected,T)};function p(T,_,m){i(function(){var E;try{E=_(m)}catch(P){return a.reject(T,P)}E===T?a.reject(T,new TypeError("Cannot resolve promise with itself")):a.resolve(T,E)})}a.resolve=function(T,_){var m=y(h,_);if(m.status==="error")return a.reject(T,m.value);var E=m.value;if(E)g(T,E);else{T.state=u,T.outcome=_;for(var P=-1,L=T.queue.length;++P<L;)T.queue[P].callFulfilled(_)}return T},a.reject=function(T,_){T.state=l,T.outcome=_;for(var m=-1,E=T.queue.length;++m<E;)T.queue[m].callRejected(_);return T};function h(T){var _=T&&T.then;if(T&&(typeof T=="object"||typeof T=="function")&&typeof _=="function")return function(){_.apply(T,arguments)}}function g(T,_){var m=!1;function E(B){m||(m=!0,a.reject(T,B))}function P(B){m||(m=!0,a.resolve(T,B))}function L(){_(P,E)}var U=y(L);U.status==="error"&&E(U.value)}function y(T,_){var m={};try{m.value=T(_),m.status="success"}catch(E){m.status="error",m.value=E}return m}f.resolve=x;function x(T){return T instanceof this?T:a.resolve(new this(s),T)}f.reject=C;function C(T){var _=new this(s);return a.reject(_,T)}f.all=k;function k(T){var _=this;if(Object.prototype.toString.call(T)!=="[object Array]")return this.reject(new TypeError("must be an array"));var m=T.length,E=!1;if(!m)return this.resolve([]);for(var P=new Array(m),L=0,U=-1,B=new this(s);++U<m;)re(T[U],U);return B;function re(G,se){_.resolve(G).then(oe,function(te){E||(E=!0,a.reject(B,te))});function oe(te){P[se]=te,++L===m&&!E&&(E=!0,a.resolve(B,P))}}}f.race=$;function $(T){var _=this;if(Object.prototype.toString.call(T)!=="[object Array]")return this.reject(new TypeError("must be an array"));var m=T.length,E=!1;if(!m)return this.resolve([]);for(var P=-1,L=new this(s);++P<m;)U(T[P]);return L;function U(B){_.resolve(B).then(function(re){E||(E=!0,a.resolve(L,re))},function(re){E||(E=!0,a.reject(L,re))})}}},{1:1}],3:[function(n,r,o){(function(i){typeof i.Promise!="function"&&(i.Promise=n(2))}).call(this,typeof pi<"u"?pi:typeof self<"u"?self:typeof window<"u"?window:{})},{2:2}],4:[function(n,r,o){var i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(v){return typeof v}:function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v};function s(v,R){if(!(v instanceof R))throw new TypeError("Cannot call a class as a function")}function a(){try{if(typeof indexedDB<"u")return indexedDB;if(typeof webkitIndexedDB<"u")return webkitIndexedDB;if(typeof mozIndexedDB<"u")return mozIndexedDB;if(typeof OIndexedDB<"u")return OIndexedDB;if(typeof msIndexedDB<"u")return msIndexedDB}catch{return}}var l=a();function u(){try{if(!l||!l.open)return!1;var v=typeof openDatabase<"u"&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),R=typeof fetch=="function"&&fetch.toString().indexOf("[native code")!==-1;return(!v||R)&&typeof indexedDB<"u"&&typeof IDBKeyRange<"u"}catch{return!1}}function c(v,R){v=v||[],R=R||{};try{return new Blob(v,R)}catch(O){if(O.name!=="TypeError")throw O;for(var b=typeof BlobBuilder<"u"?BlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:WebKitBlobBuilder,A=new b,z=0;z<v.length;z+=1)A.append(v[z]);return A.getBlob(R.type)}}typeof Promise>"u"&&n(3);var f=Promise;function d(v,R){R&&v.then(function(b){R(null,b)},function(b){R(b)})}function p(v,R,b){typeof R=="function"&&v.then(R),typeof b=="function"&&v.catch(b)}function h(v){return typeof v!="string"&&(console.warn(v+" used as a key, but it is not a string."),v=String(v)),v}function g(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var y="local-forage-detect-blob-support",x=void 0,C={},k=Object.prototype.toString,$="readonly",T="readwrite";function _(v){for(var R=v.length,b=new ArrayBuffer(R),A=new Uint8Array(b),z=0;z<R;z++)A[z]=v.charCodeAt(z);return b}function m(v){return new f(function(R){var b=v.transaction(y,T),A=c([""]);b.objectStore(y).put(A,"key"),b.onabort=function(z){z.preventDefault(),z.stopPropagation(),R(!1)},b.oncomplete=function(){var z=navigator.userAgent.match(/Chrome\/(\d+)/),O=navigator.userAgent.match(/Edge\//);R(O||!z||parseInt(z[1],10)>=43)}}).catch(function(){return!1})}function E(v){return typeof x=="boolean"?f.resolve(x):m(v).then(function(R){return x=R,x})}function P(v){var R=C[v.name],b={};b.promise=new f(function(A,z){b.resolve=A,b.reject=z}),R.deferredOperations.push(b),R.dbReady?R.dbReady=R.dbReady.then(function(){return b.promise}):R.dbReady=b.promise}function L(v){var R=C[v.name],b=R.deferredOperations.pop();if(b)return b.resolve(),b.promise}function U(v,R){var b=C[v.name],A=b.deferredOperations.pop();if(A)return A.reject(R),A.promise}function B(v,R){return new f(function(b,A){if(C[v.name]=C[v.name]||Be(),v.db)if(R)P(v),v.db.close();else return b(v.db);var z=[v.name];R&&z.push(v.version);var O=l.open.apply(l,z);R&&(O.onupgradeneeded=function(j){var X=O.result;try{X.createObjectStore(v.storeName),j.oldVersion<=1&&X.createObjectStore(y)}catch(Q){if(Q.name==="ConstraintError")console.warn('The database "'+v.name+'" has been upgraded from version '+j.oldVersion+" to version "+j.newVersion+', but the storage "'+v.storeName+'" already exists.');else throw Q}}),O.onerror=function(j){j.preventDefault(),A(O.error)},O.onsuccess=function(){var j=O.result;j.onversionchange=function(X){X.target.close()},b(j),L(v)}})}function re(v){return B(v,!1)}function G(v){return B(v,!0)}function se(v,R){if(!v.db)return!0;var b=!v.db.objectStoreNames.contains(v.storeName),A=v.version<v.db.version,z=v.version>v.db.version;if(A&&(v.version!==R&&console.warn('The database "'+v.name+`" can't be downgraded from version `+v.db.version+" to version "+v.version+"."),v.version=v.db.version),z||b){if(b){var O=v.db.version+1;O>v.version&&(v.version=O)}return!0}return!1}function oe(v){return new f(function(R,b){var A=new FileReader;A.onerror=b,A.onloadend=function(z){var O=btoa(z.target.result||"");R({__local_forage_encoded_blob:!0,data:O,type:v.type})},A.readAsBinaryString(v)})}function te(v){var R=_(atob(v.data));return c([R],{type:v.type})}function ve(v){return v&&v.__local_forage_encoded_blob}function Re(v){var R=this,b=R._initReady().then(function(){var A=C[R._dbInfo.name];if(A&&A.dbReady)return A.dbReady});return p(b,v,v),b}function Oe(v){P(v);for(var R=C[v.name],b=R.forages,A=0;A<b.length;A++){var z=b[A];z._dbInfo.db&&(z._dbInfo.db.close(),z._dbInfo.db=null)}return v.db=null,re(v).then(function(O){return v.db=O,se(v)?G(v):O}).then(function(O){v.db=R.db=O;for(var j=0;j<b.length;j++)b[j]._dbInfo.db=O}).catch(function(O){throw U(v,O),O})}function Pe(v,R,b,A){A===void 0&&(A=1);try{var z=v.db.transaction(v.storeName,R);b(null,z)}catch(O){if(A>0&&(!v.db||O.name==="InvalidStateError"||O.name==="NotFoundError"))return f.resolve().then(function(){if(!v.db||O.name==="NotFoundError"&&!v.db.objectStoreNames.contains(v.storeName)&&v.version<=v.db.version)return v.db&&(v.version=v.db.version+1),G(v)}).then(function(){return Oe(v).then(function(){Pe(v,R,b,A-1)})}).catch(b);b(O)}}function Be(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function ot(v){var R=this,b={db:null};if(v)for(var A in v)b[A]=v[A];var z=C[b.name];z||(z=Be(),C[b.name]=z),z.forages.push(R),R._initReady||(R._initReady=R.ready,R.ready=Re);var O=[];function j(){return f.resolve()}for(var X=0;X<z.forages.length;X++){var Q=z.forages[X];Q!==R&&O.push(Q._initReady().catch(j))}var J=z.forages.slice(0);return f.all(O).then(function(){return b.db=z.db,re(b)}).then(function(ne){return b.db=ne,se(b,R._defaultConfig.version)?G(b):ne}).then(function(ne){b.db=z.db=ne,R._dbInfo=b;for(var me=0;me<J.length;me++){var ke=J[me];ke!==R&&(ke._dbInfo.db=b.db,ke._dbInfo.version=b.version)}})}function it(v,R){var b=this;v=h(v);var A=new f(function(z,O){b.ready().then(function(){Pe(b._dbInfo,$,function(j,X){if(j)return O(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=Q.get(v);J.onsuccess=function(){var ne=J.result;ne===void 0&&(ne=null),ve(ne)&&(ne=te(ne)),z(ne)},J.onerror=function(){O(J.error)}}catch(ne){O(ne)}})}).catch(O)});return d(A,R),A}function At(v,R){var b=this,A=new f(function(z,O){b.ready().then(function(){Pe(b._dbInfo,$,function(j,X){if(j)return O(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=Q.openCursor(),ne=1;J.onsuccess=function(){var me=J.result;if(me){var ke=me.value;ve(ke)&&(ke=te(ke));var Fe=v(ke,me.key,ne++);Fe!==void 0?z(Fe):me.continue()}else z()},J.onerror=function(){O(J.error)}}catch(me){O(me)}})}).catch(O)});return d(A,R),A}function Ee(v,R,b){var A=this;v=h(v);var z=new f(function(O,j){var X;A.ready().then(function(){return X=A._dbInfo,k.call(R)==="[object Blob]"?E(X.db).then(function(Q){return Q?R:oe(R)}):R}).then(function(Q){Pe(A._dbInfo,T,function(J,ne){if(J)return j(J);try{var me=ne.objectStore(A._dbInfo.storeName);Q===null&&(Q=void 0);var ke=me.put(Q,v);ne.oncomplete=function(){Q===void 0&&(Q=null),O(Q)},ne.onabort=ne.onerror=function(){var Fe=ke.error?ke.error:ke.transaction.error;j(Fe)}}catch(Fe){j(Fe)}})}).catch(j)});return d(z,b),z}function F(v,R){var b=this;v=h(v);var A=new f(function(z,O){b.ready().then(function(){Pe(b._dbInfo,T,function(j,X){if(j)return O(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=Q.delete(v);X.oncomplete=function(){z()},X.onerror=function(){O(J.error)},X.onabort=function(){var ne=J.error?J.error:J.transaction.error;O(ne)}}catch(ne){O(ne)}})}).catch(O)});return d(A,R),A}function ae(v){var R=this,b=new f(function(A,z){R.ready().then(function(){Pe(R._dbInfo,T,function(O,j){if(O)return z(O);try{var X=j.objectStore(R._dbInfo.storeName),Q=X.clear();j.oncomplete=function(){A()},j.onabort=j.onerror=function(){var J=Q.error?Q.error:Q.transaction.error;z(J)}}catch(J){z(J)}})}).catch(z)});return d(b,v),b}function K(v){var R=this,b=new f(function(A,z){R.ready().then(function(){Pe(R._dbInfo,$,function(O,j){if(O)return z(O);try{var X=j.objectStore(R._dbInfo.storeName),Q=X.count();Q.onsuccess=function(){A(Q.result)},Q.onerror=function(){z(Q.error)}}catch(J){z(J)}})}).catch(z)});return d(b,v),b}function he(v,R){var b=this,A=new f(function(z,O){if(v<0){z(null);return}b.ready().then(function(){Pe(b._dbInfo,$,function(j,X){if(j)return O(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=!1,ne=Q.openKeyCursor();ne.onsuccess=function(){var me=ne.result;if(!me){z(null);return}v===0||J?z(me.key):(J=!0,me.advance(v))},ne.onerror=function(){O(ne.error)}}catch(me){O(me)}})}).catch(O)});return d(A,R),A}function Ae(v){var R=this,b=new f(function(A,z){R.ready().then(function(){Pe(R._dbInfo,$,function(O,j){if(O)return z(O);try{var X=j.objectStore(R._dbInfo.storeName),Q=X.openKeyCursor(),J=[];Q.onsuccess=function(){var ne=Q.result;if(!ne){A(J);return}J.push(ne.key),ne.continue()},Q.onerror=function(){z(Q.error)}}catch(ne){z(ne)}})}).catch(z)});return d(b,v),b}function w(v,R){R=g.apply(this,arguments);var b=this.config();v=typeof v!="function"&&v||{},v.name||(v.name=v.name||b.name,v.storeName=v.storeName||b.storeName);var A=this,z;if(!v.name)z=f.reject("Invalid arguments");else{var O=v.name===b.name&&A._dbInfo.db,j=O?f.resolve(A._dbInfo.db):re(v).then(function(X){var Q=C[v.name],J=Q.forages;Q.db=X;for(var ne=0;ne<J.length;ne++)J[ne]._dbInfo.db=X;return X});v.storeName?z=j.then(function(X){if(X.objectStoreNames.contains(v.storeName)){var Q=X.version+1;P(v);var J=C[v.name],ne=J.forages;X.close();for(var me=0;me<ne.length;me++){var ke=ne[me];ke._dbInfo.db=null,ke._dbInfo.version=Q}var Fe=new f(function(Ne,lt){var st=l.open(v.name,Q);st.onerror=function(Nt){var Ur=st.result;Ur.close(),lt(Nt)},st.onupgradeneeded=function(){var Nt=st.result;Nt.deleteObjectStore(v.storeName)},st.onsuccess=function(){var Nt=st.result;Nt.close(),Ne(Nt)}});return Fe.then(function(Ne){J.db=Ne;for(var lt=0;lt<ne.length;lt++){var st=ne[lt];st._dbInfo.db=Ne,L(st._dbInfo)}}).catch(function(Ne){throw(U(v,Ne)||f.resolve()).catch(function(){}),Ne})}}):z=j.then(function(X){P(v);var Q=C[v.name],J=Q.forages;X.close();for(var ne=0;ne<J.length;ne++){var me=J[ne];me._dbInfo.db=null}var ke=new f(function(Fe,Ne){var lt=l.deleteDatabase(v.name);lt.onerror=function(){var st=lt.result;st&&st.close(),Ne(lt.error)},lt.onblocked=function(){console.warn('dropInstance blocked for database "'+v.name+'" until all open connections are closed')},lt.onsuccess=function(){var st=lt.result;st&&st.close(),Fe(st)}});return ke.then(function(Fe){Q.db=Fe;for(var Ne=0;Ne<J.length;Ne++){var lt=J[Ne];L(lt._dbInfo)}}).catch(function(Fe){throw(U(v,Fe)||f.resolve()).catch(function(){}),Fe})})}return d(z,R),z}var S={_driver:"asyncStorage",_initStorage:ot,_support:u(),iterate:At,getItem:it,setItem:Ee,removeItem:F,clear:ae,length:K,key:he,keys:Ae,dropInstance:w};function M(){return typeof openDatabase=="function"}var H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",W="~~local_forage_type~",D=/^~~local_forage_type~([^~]+)~/,ie="__lfsc__:",ee=ie.length,q="arbf",N="blob",ge="si08",ce="ui08",be="uic8",ye="si16",$e="si32",Le="ur16",Me="ui32",at="fl32",ut="fl64",gt=ee+q.length,mt=Object.prototype.toString;function Yt(v){var R=v.length*.75,b=v.length,A,z=0,O,j,X,Q;v[v.length-1]==="="&&(R--,v[v.length-2]==="="&&R--);var J=new ArrayBuffer(R),ne=new Uint8Array(J);for(A=0;A<b;A+=4)O=H.indexOf(v[A]),j=H.indexOf(v[A+1]),X=H.indexOf(v[A+2]),Q=H.indexOf(v[A+3]),ne[z++]=O<<2|j>>4,ne[z++]=(j&15)<<4|X>>2,ne[z++]=(X&3)<<6|Q&63;return J}function Lt(v){var R=new Uint8Array(v),b="",A;for(A=0;A<R.length;A+=3)b+=H[R[A]>>2],b+=H[(R[A]&3)<<4|R[A+1]>>4],b+=H[(R[A+1]&15)<<2|R[A+2]>>6],b+=H[R[A+2]&63];return R.length%3===2?b=b.substring(0,b.length-1)+"=":R.length%3===1&&(b=b.substring(0,b.length-2)+"=="),b}function Ct(v,R){var b="";if(v&&(b=mt.call(v)),v&&(b==="[object ArrayBuffer]"||v.buffer&&mt.call(v.buffer)==="[object ArrayBuffer]")){var A,z=ie;v instanceof ArrayBuffer?(A=v,z+=q):(A=v.buffer,b==="[object Int8Array]"?z+=ge:b==="[object Uint8Array]"?z+=ce:b==="[object Uint8ClampedArray]"?z+=be:b==="[object Int16Array]"?z+=ye:b==="[object Uint16Array]"?z+=Le:b==="[object Int32Array]"?z+=$e:b==="[object Uint32Array]"?z+=Me:b==="[object Float32Array]"?z+=at:b==="[object Float64Array]"?z+=ut:R(new Error("Failed to get type for BinaryArray"))),R(z+Lt(A))}else if(b==="[object Blob]"){var O=new FileReader;O.onload=function(){var j=W+v.type+"~"+Lt(this.result);R(ie+N+j)},O.readAsArrayBuffer(v)}else try{R(JSON.stringify(v))}catch(j){console.error("Couldn't convert value into a JSON string: ",v),R(null,j)}}function Y(v){if(v.substring(0,ee)!==ie)return JSON.parse(v);var R=v.substring(gt),b=v.substring(ee,gt),A;if(b===N&&D.test(R)){var z=R.match(D);A=z[1],R=R.substring(z[0].length)}var O=Yt(R);switch(b){case q:return O;case N:return c([O],{type:A});case ge:return new Int8Array(O);case ce:return new Uint8Array(O);case be:return new Uint8ClampedArray(O);case ye:return new Int16Array(O);case Le:return new Uint16Array(O);case $e:return new Int32Array(O);case Me:return new Uint32Array(O);case at:return new Float32Array(O);case ut:return new Float64Array(O);default:throw new Error("Unkown type: "+b)}}var pe={serialize:Ct,deserialize:Y,stringToBuffer:Yt,bufferToString:Lt};function Ce(v,R,b,A){v.executeSql("CREATE TABLE IF NOT EXISTS "+R.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],b,A)}function Ue(v){var R=this,b={db:null};if(v)for(var A in v)b[A]=typeof v[A]!="string"?v[A].toString():v[A];var z=new f(function(O,j){try{b.db=openDatabase(b.name,String(b.version),b.description,b.size)}catch(X){return j(X)}b.db.transaction(function(X){Ce(X,b,function(){R._dbInfo=b,O()},function(Q,J){j(J)})},j)});return b.serializer=pe,z}function We(v,R,b,A,z,O){v.executeSql(b,A,z,function(j,X){X.code===X.SYNTAX_ERR?j.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[R.storeName],function(Q,J){J.rows.length?O(Q,X):Ce(Q,R,function(){Q.executeSql(b,A,z,O)},O)},O):O(j,X)},O)}function _t(v,R){var b=this;v=h(v);var A=new f(function(z,O){b.ready().then(function(){var j=b._dbInfo;j.db.transaction(function(X){We(X,j,"SELECT * FROM "+j.storeName+" WHERE key = ? LIMIT 1",[v],function(Q,J){var ne=J.rows.length?J.rows.item(0).value:null;ne&&(ne=j.serializer.deserialize(ne)),z(ne)},function(Q,J){O(J)})})}).catch(O)});return d(A,R),A}function Ht(v,R){var b=this,A=new f(function(z,O){b.ready().then(function(){var j=b._dbInfo;j.db.transaction(function(X){We(X,j,"SELECT * FROM "+j.storeName,[],function(Q,J){for(var ne=J.rows,me=ne.length,ke=0;ke<me;ke++){var Fe=ne.item(ke),Ne=Fe.value;if(Ne&&(Ne=j.serializer.deserialize(Ne)),Ne=v(Ne,Fe.key,ke+1),Ne!==void 0){z(Ne);return}}z()},function(Q,J){O(J)})})}).catch(O)});return d(A,R),A}function qe(v,R,b,A){var z=this;v=h(v);var O=new f(function(j,X){z.ready().then(function(){R===void 0&&(R=null);var Q=R,J=z._dbInfo;J.serializer.serialize(R,function(ne,me){me?X(me):J.db.transaction(function(ke){We(ke,J,"INSERT OR REPLACE INTO "+J.storeName+" (key, value) VALUES (?, ?)",[v,ne],function(){j(Q)},function(Fe,Ne){X(Ne)})},function(ke){if(ke.code===ke.QUOTA_ERR){if(A>0){j(qe.apply(z,[v,Q,b,A-1]));return}X(ke)}})})}).catch(X)});return d(O,b),O}function It(v,R,b){return qe.apply(this,[v,R,b,1])}function rn(v,R){var b=this;v=h(v);var A=new f(function(z,O){b.ready().then(function(){var j=b._dbInfo;j.db.transaction(function(X){We(X,j,"DELETE FROM "+j.storeName+" WHERE key = ?",[v],function(){z()},function(Q,J){O(J)})})}).catch(O)});return d(A,R),A}function gs(v){var R=this,b=new f(function(A,z){R.ready().then(function(){var O=R._dbInfo;O.db.transaction(function(j){We(j,O,"DELETE FROM "+O.storeName,[],function(){A()},function(X,Q){z(Q)})})}).catch(z)});return d(b,v),b}function ms(v){var R=this,b=new f(function(A,z){R.ready().then(function(){var O=R._dbInfo;O.db.transaction(function(j){We(j,O,"SELECT COUNT(key) as c FROM "+O.storeName,[],function(X,Q){var J=Q.rows.item(0).c;A(J)},function(X,Q){z(Q)})})}).catch(z)});return d(b,v),b}function bs(v,R){var b=this,A=new f(function(z,O){b.ready().then(function(){var j=b._dbInfo;j.db.transaction(function(X){We(X,j,"SELECT key FROM "+j.storeName+" WHERE id = ? LIMIT 1",[v+1],function(Q,J){var ne=J.rows.length?J.rows.item(0).key:null;z(ne)},function(Q,J){O(J)})})}).catch(O)});return d(A,R),A}function ys(v){var R=this,b=new f(function(A,z){R.ready().then(function(){var O=R._dbInfo;O.db.transaction(function(j){We(j,O,"SELECT key FROM "+O.storeName,[],function(X,Q){for(var J=[],ne=0;ne<Q.rows.length;ne++)J.push(Q.rows.item(ne).key);A(J)},function(X,Q){z(Q)})})}).catch(z)});return d(b,v),b}function xs(v){return new f(function(R,b){v.transaction(function(A){A.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(z,O){for(var j=[],X=0;X<O.rows.length;X++)j.push(O.rows.item(X).name);R({db:v,storeNames:j})},function(z,O){b(O)})},function(A){b(A)})})}function ws(v,R){R=g.apply(this,arguments);var b=this.config();v=typeof v!="function"&&v||{},v.name||(v.name=v.name||b.name,v.storeName=v.storeName||b.storeName);var A=this,z;return v.name?z=new f(function(O){var j;v.name===b.name?j=A._dbInfo.db:j=openDatabase(v.name,"","",0),v.storeName?O({db:j,storeNames:[v.storeName]}):O(xs(j))}).then(function(O){return new f(function(j,X){O.db.transaction(function(Q){function J(Fe){return new f(function(Ne,lt){Q.executeSql("DROP TABLE IF EXISTS "+Fe,[],function(){Ne()},function(st,Nt){lt(Nt)})})}for(var ne=[],me=0,ke=O.storeNames.length;me<ke;me++)ne.push(J(O.storeNames[me]));f.all(ne).then(function(){j()}).catch(function(Fe){X(Fe)})},function(Q){X(Q)})})}):z=f.reject("Invalid arguments"),d(z,R),z}var Cs={_driver:"webSQLStorage",_initStorage:Ue,_support:M(),iterate:Ht,getItem:_t,setItem:It,removeItem:rn,clear:gs,length:ms,key:bs,keys:ys,dropInstance:ws};function _s(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}function qo(v,R){var b=v.name+"/";return v.storeName!==R.storeName&&(b+=v.storeName+"/"),b}function Ss(){var v="_localforage_support_test";try{return localStorage.setItem(v,!0),localStorage.removeItem(v),!1}catch{return!0}}function Es(){return!Ss()||localStorage.length>0}function Ts(v){var R=this,b={};if(v)for(var A in v)b[A]=v[A];return b.keyPrefix=qo(v,R._defaultConfig),Es()?(R._dbInfo=b,b.serializer=pe,f.resolve()):f.reject()}function Rs(v){var R=this,b=R.ready().then(function(){for(var A=R._dbInfo.keyPrefix,z=localStorage.length-1;z>=0;z--){var O=localStorage.key(z);O.indexOf(A)===0&&localStorage.removeItem(O)}});return d(b,v),b}function Ps(v,R){var b=this;v=h(v);var A=b.ready().then(function(){var z=b._dbInfo,O=localStorage.getItem(z.keyPrefix+v);return O&&(O=z.serializer.deserialize(O)),O});return d(A,R),A}function $s(v,R){var b=this,A=b.ready().then(function(){for(var z=b._dbInfo,O=z.keyPrefix,j=O.length,X=localStorage.length,Q=1,J=0;J<X;J++){var ne=localStorage.key(J);if(ne.indexOf(O)===0){var me=localStorage.getItem(ne);if(me&&(me=z.serializer.deserialize(me)),me=v(me,ne.substring(j),Q++),me!==void 0)return me}}});return d(A,R),A}function Os(v,R){var b=this,A=b.ready().then(function(){var z=b._dbInfo,O;try{O=localStorage.key(v)}catch{O=null}return O&&(O=O.substring(z.keyPrefix.length)),O});return d(A,R),A}function ks(v){var R=this,b=R.ready().then(function(){for(var A=R._dbInfo,z=localStorage.length,O=[],j=0;j<z;j++){var X=localStorage.key(j);X.indexOf(A.keyPrefix)===0&&O.push(X.substring(A.keyPrefix.length))}return O});return d(b,v),b}function cp(v){var R=this,b=R.keys().then(function(A){return A.length});return d(b,v),b}function up(v,R){var b=this;v=h(v);var A=b.ready().then(function(){var z=b._dbInfo;localStorage.removeItem(z.keyPrefix+v)});return d(A,R),A}function fp(v,R,b){var A=this;v=h(v);var z=A.ready().then(function(){R===void 0&&(R=null);var O=R;return new f(function(j,X){var Q=A._dbInfo;Q.serializer.serialize(R,function(J,ne){if(ne)X(ne);else try{localStorage.setItem(Q.keyPrefix+v,J),j(O)}catch(me){(me.name==="QuotaExceededError"||me.name==="NS_ERROR_DOM_QUOTA_REACHED")&&X(me),X(me)}})})});return d(z,b),z}function dp(v,R){if(R=g.apply(this,arguments),v=typeof v!="function"&&v||{},!v.name){var b=this.config();v.name=v.name||b.name,v.storeName=v.storeName||b.storeName}var A=this,z;return v.name?z=new f(function(O){v.storeName?O(qo(v,A._defaultConfig)):O(v.name+"/")}).then(function(O){for(var j=localStorage.length-1;j>=0;j--){var X=localStorage.key(j);X.indexOf(O)===0&&localStorage.removeItem(X)}}):z=f.reject("Invalid arguments"),d(z,R),z}var hp={_driver:"localStorageWrapper",_initStorage:Ts,_support:_s(),iterate:$s,getItem:Ps,setItem:fp,removeItem:up,clear:Rs,length:cp,key:Os,keys:ks,dropInstance:dp},pp=function(R,b){return R===b||typeof R=="number"&&typeof b=="number"&&isNaN(R)&&isNaN(b)},vp=function(R,b){for(var A=R.length,z=0;z<A;){if(pp(R[z],b))return!0;z++}return!1},Pl=Array.isArray||function(v){return Object.prototype.toString.call(v)==="[object Array]"},Vr={},$l={},pr={INDEXEDDB:S,WEBSQL:Cs,LOCALSTORAGE:hp},gp=[pr.INDEXEDDB._driver,pr.WEBSQL._driver,pr.LOCALSTORAGE._driver],Go=["dropInstance"],As=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(Go),mp={description:"",driver:gp.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function bp(v,R){v[R]=function(){var b=arguments;return v.ready().then(function(){return v[R].apply(v,b)})}}function Is(){for(var v=1;v<arguments.length;v++){var R=arguments[v];if(R)for(var b in R)R.hasOwnProperty(b)&&(Pl(R[b])?arguments[0][b]=R[b].slice():arguments[0][b]=R[b])}return arguments[0]}var yp=function(){function v(R){s(this,v);for(var b in pr)if(pr.hasOwnProperty(b)){var A=pr[b],z=A._driver;this[b]=z,Vr[z]||this.defineDriver(A)}this._defaultConfig=Is({},mp),this._config=Is({},this._defaultConfig,R),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return v.prototype.config=function(b){if((typeof b>"u"?"undefined":i(b))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var A in b){if(A==="storeName"&&(b[A]=b[A].replace(/\W/g,"_")),A==="version"&&typeof b[A]!="number")return new Error("Database version must be a number.");this._config[A]=b[A]}return"driver"in b&&b.driver?this.setDriver(this._config.driver):!0}else return typeof b=="string"?this._config[b]:this._config},v.prototype.defineDriver=function(b,A,z){var O=new f(function(j,X){try{var Q=b._driver,J=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!b._driver){X(J);return}for(var ne=As.concat("_initStorage"),me=0,ke=ne.length;me<ke;me++){var Fe=ne[me],Ne=!vp(Go,Fe);if((Ne||b[Fe])&&typeof b[Fe]!="function"){X(J);return}}var lt=function(){for(var Ur=function(Cp){return function(){var _p=new Error("Method "+Cp+" is not implemented by the current driver"),Ol=f.reject(_p);return d(Ol,arguments[arguments.length-1]),Ol}},zs=0,wp=Go.length;zs<wp;zs++){var Ms=Go[zs];b[Ms]||(b[Ms]=Ur(Ms))}};lt();var st=function(Ur){Vr[Q]&&console.info("Redefining LocalForage driver: "+Q),Vr[Q]=b,$l[Q]=Ur,j()};"_support"in b?b._support&&typeof b._support=="function"?b._support().then(st,X):st(!!b._support):st(!0)}catch(Nt){X(Nt)}});return p(O,A,z),O},v.prototype.driver=function(){return this._driver||null},v.prototype.getDriver=function(b,A,z){var O=Vr[b]?f.resolve(Vr[b]):f.reject(new Error("Driver not found."));return p(O,A,z),O},v.prototype.getSerializer=function(b){var A=f.resolve(pe);return p(A,b),A},v.prototype.ready=function(b){var A=this,z=A._driverSet.then(function(){return A._ready===null&&(A._ready=A._initDriver()),A._ready});return p(z,b,b),z},v.prototype.setDriver=function(b,A,z){var O=this;Pl(b)||(b=[b]);var j=this._getSupportedDrivers(b);function X(){O._config.driver=O.driver()}function Q(me){return O._extend(me),X(),O._ready=O._initStorage(O._config),O._ready}function J(me){return function(){var ke=0;function Fe(){for(;ke<me.length;){var Ne=me[ke];return ke++,O._dbInfo=null,O._ready=null,O.getDriver(Ne).then(Q).catch(Fe)}X();var lt=new Error("No available storage method found.");return O._driverSet=f.reject(lt),O._driverSet}return Fe()}}var ne=this._driverSet!==null?this._driverSet.catch(function(){return f.resolve()}):f.resolve();return this._driverSet=ne.then(function(){var me=j[0];return O._dbInfo=null,O._ready=null,O.getDriver(me).then(function(ke){O._driver=ke._driver,X(),O._wrapLibraryMethodsWithReady(),O._initDriver=J(j)})}).catch(function(){X();var me=new Error("No available storage method found.");return O._driverSet=f.reject(me),O._driverSet}),p(this._driverSet,A,z),this._driverSet},v.prototype.supports=function(b){return!!$l[b]},v.prototype._extend=function(b){Is(this,b)},v.prototype._getSupportedDrivers=function(b){for(var A=[],z=0,O=b.length;z<O;z++){var j=b[z];this.supports(j)&&A.push(j)}return A},v.prototype._wrapLibraryMethodsWithReady=function(){for(var b=0,A=As.length;b<A;b++)bp(this,As[b])},v.prototype.createInstance=function(b){return new v(b)},v}(),xp=new yp;r.exports=xp},{3:3}]},{},[4])(4)})}(ca)),ca.exports}var g_=v_();const Wu=p_(g_),op=e=>e,m_=(e,t)=>{try{return e()}catch{return t()}},b_=(e,t,n=op)=>{const r=localStorage.getItem(e),o=r?m_(()=>n(JSON.parse(r)),t):t(),i=Mo(o);return tt(i,()=>{localStorage.setItem(e,JSON.stringify(ze(i)))}),i},vs=async(e,t,n=op)=>{const r=await Wu.getItem(e),o=Mo(r?n(r):t());return tt(o,async()=>{await Wu.setItem(e,ze(o))}),o},y_=b_("settings",()=>({autoUploadImport:!1,ignoreUploadWarn:!1,ignoreWasmWarn:!1,maxShowNodeSize:2e3})),x_=await vs("importTime",()=>({})),w_=await vs("githubJpg",()=>({}),e=>(Object.keys(e).forEach(t=>{const n=e[t];if(n.startsWith("https://")){const r=d_(n);r?e[t]=r:delete e[t]}}),e)),C_=await vs("githubZip",()=>({}),e=>(Object.keys(e).forEach(t=>{const n=e[t];if(np(n))return;const r=rp(n);r?e[t]=r:delete e[t]}),e)),__=await vs("url",()=>({}),e=>(Object.keys(e).forEach(t=>{if(np(t))return;const n=rp(t);n&&(e[n]=e[t]),delete e[t]}),e)),S_=()=>({settingsStore:y_,snapshotImportTime:x_,snapshotImageId:w_,snapshotImportId:C_,importSnapshotId:__}),E_=Te({__name:"ErrorDlg",setup(e){const t=e_(),{settingsStore:n}=S_();return(r,o)=>{const i=wl,s=b2;return Nn(),Ro(Ye,null,[Qe(i,{show:Ve(t).githubErrorDlgVisible,"onUpdate:show":o[0]||(o[0]=a=>Ve(t).githubErrorDlgVisible=a),preset:"dialog",title:"生成分享链接失败",type:"success"},{default:wr(()=>[...o[4]||(o[4]=[ct("div",null,"生成分享链接需要以下条件",-1),ct("div",null,[Xt(" 在当前浏览器登录 "),ct("a",{href:"https://github.com",target:"_blank",rel:"noopener noreferrer"}," github.com ")],-1)])]),_:1},8,["show"]),Qe(i,{show:Ve(t).networkErrorDlgVisible,"onUpdate:show":o[1]||(o[1]=a=>Ve(t).networkErrorDlgVisible=a),preset:"dialog",title:"访问其它域名资源失败",type:"success"},{default:wr(()=>[...o[5]||(o[5]=[ct("div",null,"访问其它域名资源需要以下条件",-1),ct("div",null,[Xt(" 1. 安装脚本管理器, 如 "),ct("a",{href:"https://violentmonkey.github.io/",target:"_blank",rel:"noopener noreferrer"}," Violentmonkey ")],-1),ct("div",null,[Xt(" 2. 安装油猴脚本 "),ct("a",{href:"https://github.com/gkd-kit/network-extension",target:"_blank",rel:"noopener noreferrer"}," network-extension ")],-1),ct("div",null,"3. 在当前网站启用上述油猴脚本的API注入功能",-1),ct("div",null,[Xt(" 4. 分享文件或导入快照额外需浏览器登录 "),ct("a",{href:"https://github.com",target:"_blank",rel:"noopener noreferrer"}," github.com ")],-1)])]),_:1},8,["show"]),Qe(i,{show:Ve(t).wasmErrorDlgVisible,"onUpdate:show":o[3]||(o[3]=a=>Ve(t).wasmErrorDlgVisible=a),preset:"dialog",title:"浏览器不支持或版本过低",type:"warning",positiveText:"确定"},{default:wr(()=>[o[7]||(o[7]=ct("div",null,[Xt(" 选择器的正则表达式一致性需要使用 "),ct("a",{href:"https://developer.chrome.com/blog/wasmgc?hl=zh-cn",target:"_blank",rel:"noopener noreferrer"},"WASM(GC)")],-1)),o[8]||(o[8]=ct("div",{"mt-10px":""},"请使用 Chrome119/Edge119/Firefox120 或最新版本",-1)),Qe(s,{checked:Ve(n).ignoreWasmWarn,"onUpdate:checked":o[2]||(o[2]=a=>Ve(n).ignoreWasmWarn=a),class:"mt-10px"},{default:wr(()=>[...o[6]||(o[6]=[Xt(" 不关注一致性, 不再提醒 ",-1)])]),_:1},8,["checked"])]),_:1},8,["show"])],64)}}}),T_=Te({__name:"App",setup(e){const t={common:{lineHeight:"20px"}},n=Ex(()=>{document.activeElement instanceof HTMLButtonElement&&document.activeElement.blur()},1e3);return xt("click",()=>{n()}),(r,o)=>{const i=Ch;return Nn(),Ro(Ye,null,[Qe(i,{abstract:"",locale:Ve(Pb),dateLocale:Ve(d0),themeOverrides:t},{default:wr(()=>[Qe(E_),Qe(Ve(Gh))]),_:1},8,["locale","dateLocale"]),Qe(Ve(i_))],64)}}}),R_="modulepreload",P_=function(e,t){return new URL(e,t).href},Vu={},Yn=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let u=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=u(n.map(c=>{if(c=P_(c,r),c in Vu)return;Vu[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(!!r)for(let g=s.length-1;g>=0;g--){const y=s[g];if(y.href===c&&(!f||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":R_,f||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((g,y)=>{h.addEventListener("load",g),h.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})},$_=(e,t)=>{try{return new URL(e,t)}catch{}},ip=new Set,Xn=e=>(ip.add(e),e),Uu=e=>{var n;const t=(n=String(e.params.github_asset_id).match(/^\d+/))==null?void 0:n[0];return t?{path:"/i",query:{...e.query,url:h_(t)}}:{path:"/404"}},sp=_C({history:Jw("/"),routes:[{path:"/",component:Xn(()=>Yn(()=>import("./HomePage-DW24KLDn.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url)),meta:{title:"首页"}},{path:"/snapshot/:snapshotId",name:"snapshot",component:Xn(()=>Yn(()=>import("./SnapshotPage--iNpyIbS.js"),__vite__mapDeps([9,10,6,11,12,1,2,3,4,5,13,14]),import.meta.url)),meta:{title:"快照"}},{path:"/i",component:Xn(()=>Yn(()=>import("./ImportPage-6z7fBRPl.js"),__vite__mapDeps([15,3,7,4]),import.meta.url)),meta:{title:"导入快照"}},{path:"/i/:github_asset_id",redirect:Uu},{path:"/import",redirect(e){return{path:"/i",query:e.query}}},{path:"/import/:github_asset_id",redirect:Uu},{path:"/device",component:Xn(()=>Yn(()=>import("./DevicePage-BFnJKico.js"),__vite__mapDeps([16,3,13,8,6,5,2]),import.meta.url)),beforeEnter(e,t,n){const r=$_(String(e.query.url));if(r){localStorage.setItem("device_link",r.origin);const o={...e.query};return delete o.url,n({...e,query:o})}n()},meta:{title:"连接设备"}},{path:"/selector",component:Xn(()=>Yn(()=>import("./SelectorPage-B1FVARmT.js"),__vite__mapDeps([17,10,6,11,2]),import.meta.url)),meta:{title:"选择器"}},{path:"/svg",component:Xn(()=>Yn(()=>import("./SvgPage-Dltl_R3H.js"),__vite__mapDeps([18,2]),import.meta.url)),meta:{title:"SVG"}},{path:"/:pathMatch(.*)*",component:Xn(()=>Yn(()=>import("./_404Page-BjQuTr-4.js"),__vite__mapDeps([19,12]),import.meta.url))}]});sp.beforeEach(e=>{document.title=String(e.meta.title||"GKD")});setTimeout(()=>{ip.forEach(e=>e())},3e3);const O_=`GIT commit
886
- hash: d66bd71d69dc10a7d836e155775b1becda9c6cc9
887
- date: 2025-09-17T11:54:28+08:00
888
- message: chore: update lib
885
+ `)])}const Mh="n-notification-api",gw=Object.assign(Object.assign({},pt.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),mw=Te({name:"NotificationProvider",props:gw,setup(e){const{mergedClsPrefixRef:t}=jt(e),n=de([]),r={},o=new Set;function i(p){const h=Hr(),g=()=>{o.add(h),r[h]&&r[h].hide()},y=dn(Object.assign(Object.assign({},p),{key:h,destroy:g,hide:g,deactivate:g})),{max:x}=e;if(x&&n.value.length-o.size>=x){let C=!1,k=0;for(const $ of n.value){if(!o.has($.key)){r[$.key]&&($.destroy(),C=!0);break}k++}C||n.value.splice(k,1)}return n.value.push(y),y}const s=["info","success","warning","error"].map(p=>h=>i(Object.assign(Object.assign({},h),{type:p})));function a(p){o.delete(p),n.value.splice(n.value.findIndex(h=>h.key===p),1)}const l=pt("Notification","-notification",vw,lw,e,t),u={create:i,info:s[0],success:s[1],warning:s[2],error:s[3],open:f,destroyAll:d},c=de(0);et(Mh,u),et(ds,{props:e,mergedClsPrefixRef:t,mergedThemeRef:l,wipTransitionCountRef:c});function f(p){return i(p)}function d(){Object.values(n.value).forEach(p=>{p.hide()})}return Object.assign({mergedClsPrefix:t,notificationList:n,notificationRefs:r,handleAfterLeave:a},u)},render(){var e,t,n;const{placement:r}=this;return I(Ye,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?I(Ho,{to:(n=this.to)!==null&&n!==void 0?n:"body"},I(cw,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&r!=="top"&&r!=="bottom",placement:r},{default:()=>this.notificationList.map(o=>I(pw,Object.assign({ref:i=>{const s=o.key;i===null?delete this.notificationRefs[s]:this.notificationRefs[s]=i}},rs(o,["destroy","hide","deactivate"]),{internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:o.keepAliveOnHover===void 0?this.keepAliveOnHover:o.keepAliveOnHover})))})):null)}});function bw(){const e=Ie(Mh,null);return e===null&&Dr("use-notification","No outer `n-notification-provider` found."),e}const yw=Te({name:"InjectionExtractor",props:{onSetup:Function},setup(e,{slots:t}){var n;return(n=e.onSetup)===null||n===void 0||n.call(e),()=>{var r;return(r=t.default)===null||r===void 0?void 0:r.call(t)}}}),xw={message:nw,notification:bw,loadingBar:U2,dialog:w2,modal:O2};function ww({providersAndProps:e,configProviderProps:t}){let n=Td(o);const r={app:n};function o(){return I(Ch,Ve(t),{default:()=>e.map(({type:a,Provider:l,props:u})=>I(l,Ve(u),{default:()=>I(yw,{onSetup:()=>r[a]=xw[a]()})}))})}let i;return Fr&&(i=document.createElement("div"),document.body.appendChild(i),n.mount(i)),Object.assign({unmount:()=>{var a;if(n===null||i===null){Ar("discrete","unmount call no need because discrete app has been unmounted");return}n.unmount(),(a=i.parentNode)===null||a===void 0||a.removeChild(i),i=null,n=null}},r)}function Cw(e,{configProviderProps:t,messageProviderProps:n,dialogProviderProps:r,notificationProviderProps:o,loadingBarProviderProps:i,modalProviderProps:s}={}){const a=[];return e.forEach(u=>{switch(u){case"message":a.push({type:u,Provider:tw,props:n});break;case"notification":a.push({type:u,Provider:mw,props:o});break;case"dialog":a.push({type:u,Provider:H2,props:r});break;case"loadingBar":a.push({type:u,Provider:V2,props:i});break;case"modal":a.push({type:u,Provider:iw,props:s})}}),ww({providersAndProps:a,configProviderProps:t})}const xr=typeof document<"u";function Bh(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function _w(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Bh(e.default)}const De=Object.assign;function ia(e,t){const n={};for(const r in t){const o=t[r];n[r]=tn(o)?o.map(e):e(o)}return n}const go=()=>{},tn=Array.isArray,Lh=/#/g,Sw=/&/g,Ew=/\//g,Tw=/=/g,Rw=/\?/g,Hh=/\+/g,Pw=/%5B/g,$w=/%5D/g,Fh=/%5E/g,Ow=/%60/g,Dh=/%7B/g,kw=/%7C/g,jh=/%7D/g,Aw=/%20/g;function _l(e){return encodeURI(""+e).replace(kw,"|").replace(Pw,"[").replace($w,"]")}function Iw(e){return _l(e).replace(Dh,"{").replace(jh,"}").replace(Fh,"^")}function za(e){return _l(e).replace(Hh,"%2B").replace(Aw,"+").replace(Lh,"%23").replace(Sw,"%26").replace(Ow,"`").replace(Dh,"{").replace(jh,"}").replace(Fh,"^")}function zw(e){return za(e).replace(Tw,"%3D")}function Mw(e){return _l(e).replace(Lh,"%23").replace(Rw,"%3F")}function Bw(e){return e==null?"":Mw(e).replace(Ew,"%2F")}function Io(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Lw=/\/$/,Hw=e=>e.replace(Lw,"");function sa(e,t,n="/"){let r,o={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),o=e(i)),a>-1&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=Nw(r??t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:Io(s)}}function Fw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function xu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Dw(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&zr(t.matched[r],n.matched[o])&&Nh(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function zr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Nh(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!jw(e[n],t[n]))return!1;return!0}function jw(e,t){return tn(e)?wu(e,t):tn(t)?wu(t,e):e===t}function wu(e,t){return tn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Nw(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,s,a;for(s=0;s<r.length;s++)if(a=r[s],a!==".")if(a==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s).join("/")}const In={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var zo;(function(e){e.pop="pop",e.push="push"})(zo||(zo={}));var mo;(function(e){e.back="back",e.forward="forward",e.unknown=""})(mo||(mo={}));function Ww(e){if(!e)if(xr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Hw(e)}const Vw=/^[^#]+#/;function Uw(e,t){return e.replace(Vw,"#")+t}function Kw(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const hs=()=>({left:window.scrollX,top:window.scrollY});function qw(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Kw(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Cu(e,t){return(history.state?history.state.position-t:-1)+e}const Ma=new Map;function Gw(e,t){Ma.set(e,t)}function Yw(e){const t=Ma.get(e);return Ma.delete(e),t}let Xw=()=>location.protocol+"//"+location.host;function Wh(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),xu(l,"")}return xu(n,e)+r+o}function Zw(e,t,n,r){let o=[],i=[],s=null;const a=({state:d})=>{const p=Wh(e,location),h=n.value,g=t.value;let y=0;if(d){if(n.value=p,t.value=d,s&&s===h){s=null;return}y=g?d.position-g.position:0}else r(p);o.forEach(x=>{x(n.value,h,{delta:y,type:zo.pop,direction:y?y>0?mo.forward:mo.back:mo.unknown})})};function l(){s=n.value}function u(d){o.push(d);const p=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return i.push(p),p}function c(){const{history:d}=window;d.state&&d.replaceState(De({},d.state,{scroll:hs()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function _u(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?hs():null}}function Qw(e){const{history:t,location:n}=window,r={value:Wh(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:Xw()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function s(l,u){const c=De({},t.state,_u(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});i(l,c,!0),r.value=l}function a(l,u){const c=De({},o.value,t.state,{forward:l,scroll:hs()});i(c.current,c,!0);const f=De({},_u(r.value,l,null),{position:c.position+1},u);i(l,f,!1),r.value=l}return{location:r,state:o,push:a,replace:s}}function Jw(e){e=Ww(e);const t=Qw(e),n=Zw(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=De({location:"",base:e,go:r,createHref:Uw.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 eC(e){return typeof e=="string"||e&&typeof e=="object"}function Vh(e){return typeof e=="string"||typeof e=="symbol"}const Uh=Symbol("");var Su;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Su||(Su={}));function Mr(e,t){return De(new Error,{type:e,[Uh]:!0},t)}function gn(e,t){return e instanceof Error&&Uh in e&&(t==null||!!(e.type&t))}const Eu="[^/]+?",tC={sensitive:!1,strict:!1,start:!0,end:!0},nC=/[.+*?^${}()[\]/\\]/g;function rC(e,t){const n=De({},tC,t),r=[];let o=n.start?"^":"";const i=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let f=0;f<u.length;f++){const d=u[f];let p=40+(n.sensitive?.25:0);if(d.type===0)f||(o+="/"),o+=d.value.replace(nC,"\\$&"),p+=40;else if(d.type===1){const{value:h,repeatable:g,optional:y,regexp:x}=d;i.push({name:h,repeatable:g,optional:y});const C=x||Eu;if(C!==Eu){p+=10;try{new RegExp(`(${C})`)}catch($){throw new Error(`Invalid custom RegExp for param "${h}" (${C}): `+$.message)}}let k=g?`((?:${C})(?:/(?:${C}))*)`:`(${C})`;f||(k=y&&u.length<2?`(?:/${k})`:"/"+k),y&&(k+="?"),o+=k,p+=20,y&&(p+=-8),g&&(p+=-20),C===".*"&&(p+=-50)}c.push(p)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");function a(u){const c=u.match(s),f={};if(!c)return null;for(let d=1;d<c.length;d++){const p=c[d]||"",h=i[d-1];f[h.name]=p&&h.repeatable?p.split("/"):p}return f}function l(u){let c="",f=!1;for(const d of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const p of d)if(p.type===0)c+=p.value;else if(p.type===1){const{value:h,repeatable:g,optional:y}=p,x=h in u?u[h]:"";if(tn(x)&&!g)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const C=tn(x)?x.join("/"):x;if(!C)if(y)d.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);c+=C}}return c||"/"}return{re:s,score:r,keys:i,parse:a,stringify:l}}function oC(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Kh(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=oC(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(Tu(r))return 1;if(Tu(o))return-1}return o.length-r.length}function Tu(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const iC={type:0,value:""},sC=/[a-zA-Z0-9_]/;function aC(e){if(!e)return[[]];if(e==="/")return[[iC]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const o=[];let i;function s(){i&&o.push(i),i=[]}let a=0,l,u="",c="";function f(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(u&&f(),s()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:sC.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=3:c+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),s(),o}function lC(e,t,n){const r=rC(aC(e.path),n),o=De(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function cC(e,t){const n=[],r=new Map;t=Ou({strict:!1,end:!0,sensitive:!1},t);function o(f){return r.get(f)}function i(f,d,p){const h=!p,g=Pu(f);g.aliasOf=p&&p.record;const y=Ou(t,f),x=[g];if("alias"in f){const $=typeof f.alias=="string"?[f.alias]:f.alias;for(const T of $)x.push(Pu(De({},g,{components:p?p.record.components:g.components,path:T,aliasOf:p?p.record:g})))}let C,k;for(const $ of x){const{path:T}=$;if(d&&T[0]!=="/"){const _=d.record.path,m=_[_.length-1]==="/"?"":"/";$.path=d.record.path+(T&&m+T)}if(C=lC($,d,y),p?p.alias.push(C):(k=k||C,k!==C&&k.alias.push(C),h&&f.name&&!$u(C)&&s(f.name)),qh(C)&&l(C),g.children){const _=g.children;for(let m=0;m<_.length;m++)i(_[m],C,p&&p.children[m])}p=p||C}return k?()=>{s(k)}:go}function s(f){if(Vh(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(s),d.alias.forEach(s))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(s),f.alias.forEach(s))}}function a(){return n}function l(f){const d=dC(f,n);n.splice(d,0,f),f.record.name&&!$u(f)&&r.set(f.record.name,f)}function u(f,d){let p,h={},g,y;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw Mr(1,{location:f});y=p.record.name,h=De(Ru(d.params,p.keys.filter(k=>!k.optional).concat(p.parent?p.parent.keys.filter(k=>k.optional):[]).map(k=>k.name)),f.params&&Ru(f.params,p.keys.map(k=>k.name))),g=p.stringify(h)}else if(f.path!=null)g=f.path,p=n.find(k=>k.re.test(g)),p&&(h=p.parse(g),y=p.record.name);else{if(p=d.name?r.get(d.name):n.find(k=>k.re.test(d.path)),!p)throw Mr(1,{location:f,currentLocation:d});y=p.record.name,h=De({},d.params,f.params),g=p.stringify(h)}const x=[];let C=p;for(;C;)x.unshift(C.record),C=C.parent;return{name:y,path:g,params:h,matched:x,meta:fC(x)}}e.forEach(f=>i(f));function c(){n.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:s,clearRoutes:c,getRoutes:a,getRecordMatcher:o}}function Ru(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Pu(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:uC(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function uC(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function $u(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function fC(e){return e.reduce((t,n)=>De(t,n.meta),{})}function Ou(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function dC(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;Kh(e,t[i])<0?r=i:n=i+1}const o=hC(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function hC(e){let t=e;for(;t=t.parent;)if(qh(t)&&Kh(e,t)===0)return t}function qh({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function pC(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const i=r[o].replace(Hh," "),s=i.indexOf("="),a=Io(s<0?i:i.slice(0,s)),l=s<0?null:Io(i.slice(s+1));if(a in t){let u=t[a];tn(u)||(u=t[a]=[u]),u.push(l)}else t[a]=l}return t}function ku(e){let t="";for(let n in e){const r=e[n];if(n=zw(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(tn(r)?r.map(i=>i&&za(i)):[r&&za(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function vC(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=tn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const gC=Symbol(""),Au=Symbol(""),ps=Symbol(""),Sl=Symbol(""),Ba=Symbol("");function eo(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ln(e,t,n,r,o,i=s=>s()){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(Mr(4,{from:n,to:t})):d instanceof Error?l(d):eC(d)?l(Mr(2,{from:t,to:d})):(s&&r.enterCallbacks[o]===s&&typeof d=="function"&&s.push(d),a())},c=i(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function aa(e,t,n,r,o=i=>i()){const i=[];for(const s of e)for(const a in s.components){let l=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(Bh(l)){const c=(l.__vccOpts||l)[t];c&&i.push(Ln(c,n,r,s,a,o))}else{let u=l();i.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${s.path}"`);const f=_w(c)?c.default:c;s.mods[a]=c,s.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&Ln(p,n,r,s,a,o)()}))}}return i}function Iu(e){const t=Ie(ps),n=Ie(Sl),r=Z(()=>{const l=Ve(e.to);return t.resolve(l)}),o=Z(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(zr.bind(null,c));if(d>-1)return d;const p=zu(l[u-2]);return u>1&&zu(c)===p&&f[f.length-1].path!==p?f.findIndex(zr.bind(null,l[u-2])):d}),i=Z(()=>o.value>-1&&wC(n.params,r.value.params)),s=Z(()=>o.value>-1&&o.value===n.matched.length-1&&Nh(n.params,r.value.params));function a(l={}){if(xC(l)){const u=t[Ve(e.replace)?"replace":"push"](Ve(e.to)).catch(go);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:Z(()=>r.value.href),isActive:i,isExactActive:s,navigate:a}}function mC(e){return e.length===1?e[0]:e}const bC=Te({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"},viewTransition:Boolean},useLink:Iu,setup(e,{slots:t}){const n=dn(Iu(e)),{options:r}=Ie(ps),o=Z(()=>({[Mu(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Mu(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&mC(t.default(n));return e.custom?i:I("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),yC=bC;function xC(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function wC(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!tn(o)||o.length!==r.length||r.some((i,s)=>i!==o[s]))return!1}return!0}function zu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Mu=(e,t,n)=>e??t??n,CC=Te({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ie(Ba),o=Z(()=>e.route||r.value),i=Ie(Au,0),s=Z(()=>{let u=Ve(i);const{matched:c}=o.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=Z(()=>o.value.matched[s.value]);et(Au,Z(()=>s.value+1)),et(gC,a),et(Ba,o);const l=de();return tt(()=>[l.value,a.value,e.name],([u,c,f],[d,p,h])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!zr(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return Bu(n.default,{Component:d,route:u});const p=f.props[c],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,y=I(d,De({},h,t,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Bu(n.default,{Component:y,route:u})||y}}});function Bu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Gh=CC;function _C(e){const t=cC(e.routes,e),n=e.parseQuery||pC,r=e.stringifyQuery||ku,o=e.history,i=eo(),s=eo(),a=eo(),l=He(In);let u=In;xr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ia.bind(null,F=>""+F),f=ia.bind(null,Bw),d=ia.bind(null,Io);function p(F,ae){let K,he;return Vh(F)?(K=t.getRecordMatcher(F),he=ae):he=F,t.addRoute(he,K)}function h(F){const ae=t.getRecordMatcher(F);ae&&t.removeRoute(ae)}function g(){return t.getRoutes().map(F=>F.record)}function y(F){return!!t.getRecordMatcher(F)}function x(F,ae){if(ae=De({},ae||l.value),typeof F=="string"){const M=sa(n,F,ae.path),H=t.resolve({path:M.path},ae),W=o.createHref(M.fullPath);return De(M,H,{params:d(H.params),hash:Io(M.hash),redirectedFrom:void 0,href:W})}let K;if(F.path!=null)K=De({},F,{path:sa(n,F.path,ae.path).path});else{const M=De({},F.params);for(const H in M)M[H]==null&&delete M[H];K=De({},F,{params:f(M)}),ae.params=f(ae.params)}const he=t.resolve(K,ae),Ae=F.hash||"";he.params=c(d(he.params));const w=Fw(r,De({},F,{hash:Iw(Ae),path:he.path})),S=o.createHref(w);return De({fullPath:w,hash:Ae,query:r===ku?vC(F.query):F.query||{}},he,{redirectedFrom:void 0,href:S})}function C(F){return typeof F=="string"?sa(n,F,l.value.path):De({},F)}function k(F,ae){if(u!==F)return Mr(8,{from:ae,to:F})}function $(F){return m(F)}function T(F){return $(De(C(F),{replace:!0}))}function _(F){const ae=F.matched[F.matched.length-1];if(ae&&ae.redirect){const{redirect:K}=ae;let he=typeof K=="function"?K(F):K;return typeof he=="string"&&(he=he.includes("?")||he.includes("#")?he=C(he):{path:he},he.params={}),De({query:F.query,hash:F.hash,params:he.path!=null?{}:F.params},he)}}function m(F,ae){const K=u=x(F),he=l.value,Ae=F.state,w=F.force,S=F.replace===!0,M=_(K);if(M)return m(De(C(M),{state:typeof M=="object"?De({},Ae,M.state):Ae,force:w,replace:S}),ae||K);const H=K;H.redirectedFrom=ae;let W;return!w&&Dw(r,he,K)&&(W=Mr(16,{to:H,from:he}),Pe(he,he,!0,!1)),(W?Promise.resolve(W):L(H,he)).catch(D=>gn(D)?gn(D,2)?D:Oe(D):ve(D,H,he)).then(D=>{if(D){if(gn(D,2))return m(De({replace:S},C(D.to),{state:typeof D.to=="object"?De({},Ae,D.to.state):Ae,force:w}),ae||H)}else D=B(H,he,!0,S,Ae);return U(H,he,D),D})}function E(F,ae){const K=k(F,ae);return K?Promise.reject(K):Promise.resolve()}function P(F){const ae=it.values().next().value;return ae&&typeof ae.runWithContext=="function"?ae.runWithContext(F):F()}function L(F,ae){let K;const[he,Ae,w]=SC(F,ae);K=aa(he.reverse(),"beforeRouteLeave",F,ae);for(const M of he)M.leaveGuards.forEach(H=>{K.push(Ln(H,F,ae))});const S=E.bind(null,F,ae);return K.push(S),Ee(K).then(()=>{K=[];for(const M of i.list())K.push(Ln(M,F,ae));return K.push(S),Ee(K)}).then(()=>{K=aa(Ae,"beforeRouteUpdate",F,ae);for(const M of Ae)M.updateGuards.forEach(H=>{K.push(Ln(H,F,ae))});return K.push(S),Ee(K)}).then(()=>{K=[];for(const M of w)if(M.beforeEnter)if(tn(M.beforeEnter))for(const H of M.beforeEnter)K.push(Ln(H,F,ae));else K.push(Ln(M.beforeEnter,F,ae));return K.push(S),Ee(K)}).then(()=>(F.matched.forEach(M=>M.enterCallbacks={}),K=aa(w,"beforeRouteEnter",F,ae,P),K.push(S),Ee(K))).then(()=>{K=[];for(const M of s.list())K.push(Ln(M,F,ae));return K.push(S),Ee(K)}).catch(M=>gn(M,8)?M:Promise.reject(M))}function U(F,ae,K){a.list().forEach(he=>P(()=>he(F,ae,K)))}function B(F,ae,K,he,Ae){const w=k(F,ae);if(w)return w;const S=ae===In,M=xr?history.state:{};K&&(he||S?o.replace(F.fullPath,De({scroll:S&&M&&M.scroll},Ae)):o.push(F.fullPath,Ae)),l.value=F,Pe(F,ae,K,S),Oe()}let re;function G(){re||(re=o.listen((F,ae,K)=>{if(!At.listening)return;const he=x(F),Ae=_(he);if(Ae){m(De(Ae,{replace:!0,force:!0}),he).catch(go);return}u=he;const w=l.value;xr&&Gw(Cu(w.fullPath,K.delta),hs()),L(he,w).catch(S=>gn(S,12)?S:gn(S,2)?(m(De(C(S.to),{force:!0}),he).then(M=>{gn(M,20)&&!K.delta&&K.type===zo.pop&&o.go(-1,!1)}).catch(go),Promise.reject()):(K.delta&&o.go(-K.delta,!1),ve(S,he,w))).then(S=>{S=S||B(he,w,!1),S&&(K.delta&&!gn(S,8)?o.go(-K.delta,!1):K.type===zo.pop&&gn(S,20)&&o.go(-1,!1)),U(he,w,S)}).catch(go)}))}let se=eo(),oe=eo(),te;function ve(F,ae,K){Oe(F);const he=oe.list();return he.length?he.forEach(Ae=>Ae(F,ae,K)):console.error(F),Promise.reject(F)}function Re(){return te&&l.value!==In?Promise.resolve():new Promise((F,ae)=>{se.add([F,ae])})}function Oe(F){return te||(te=!F,G(),se.list().forEach(([ae,K])=>F?K(F):ae()),se.reset()),F}function Pe(F,ae,K,he){const{scrollBehavior:Ae}=e;if(!xr||!Ae)return Promise.resolve();const w=!K&&Yw(Cu(F.fullPath,0))||(he||!K)&&history.state&&history.state.scroll||null;return Bt().then(()=>Ae(F,ae,w)).then(S=>S&&qw(S)).catch(S=>ve(S,F,ae))}const Be=F=>o.go(F);let ot;const it=new Set,At={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:y,getRoutes:g,resolve:x,options:e,push:$,replace:T,go:Be,back:()=>Be(-1),forward:()=>Be(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:oe.add,isReady:Re,install(F){const ae=this;F.component("RouterLink",yC),F.component("RouterView",Gh),F.config.globalProperties.$router=ae,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>Ve(l)}),xr&&!ot&&l.value===In&&(ot=!0,$(o.location).catch(Ae=>{}));const K={};for(const Ae in In)Object.defineProperty(K,Ae,{get:()=>l.value[Ae],enumerable:!0});F.provide(ps,ae),F.provide(Sl,Mo(K)),F.provide(Ba,l);const he=F.unmount;it.add(F),F.unmount=function(){it.delete(F),it.size<1&&(u=In,re&&re(),re=null,l.value=In,ot=!1,te=!1),he()}}};function Ee(F){return F.reduce((ae,K)=>ae.then(()=>P(K)),Promise.resolve())}return At}function SC(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s<i;s++){const a=t.matched[s];a&&(e.matched.find(u=>zr(u,a))?r.push(a):n.push(a));const l=e.matched[s];l&&(t.matched.find(u=>zr(u,l))||o.push(l))}return[n,r,o]}function ZS(){return Ie(ps)}function QS(e){return Ie(Sl)}function Vo(e){return df()?(hv(e),!0):!1}function EC(e){let t=!1,n;const r=ff(!0);return(...o)=>(t||(n=r.run(()=>e(...o)),t=!0),n)}const la=new WeakMap,TC=(...e)=>{var t;const n=e[0],r=(t=Rn())==null?void 0:t.proxy;if(r==null&&!ed())throw new Error("injectLocal must be called in setup");return r&&la.has(r)&&n in la.get(r)?la.get(r)[n]:Ie(...e)};function JS(e){let t=0,n,r;const o=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...i)=>(t+=1,r||(r=ff(!0),n=r.run(()=>e(...i))),Vo(o),n)}const El=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const RC=e=>e!=null,PC=Object.prototype.toString,$C=e=>PC.call(e)==="[object Object]",cr=()=>{};function OC(...e){if(e.length!==1)return Mt(...e);const t=e[0];return typeof t=="function"?Jt(Bv(()=>({get:t,set:cr}))):de(t)}function Tl(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}const Yh=e=>e();function kC(e,t={}){let n,r,o=cr;const i=l=>{clearTimeout(l),o(),o=cr};let s;return l=>{const u=Je(e),c=Je(t.maxWait);return n&&i(n),u<=0||c!==void 0&&c<=0?(r&&(i(r),r=void 0),Promise.resolve(l())):new Promise((f,d)=>{o=t.rejectOnCancel?d:f,s=l,c&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,f(s())},c)),n=setTimeout(()=>{r&&i(r),r=void 0,f(l())},u)})}}function AC(...e){let t=0,n,r=!0,o=cr,i,s,a,l,u;!dt(e[0])&&typeof e[0]=="object"?{delay:s,trailing:a=!0,leading:l=!0,rejectOnCancel:u=!1}=e[0]:[s,a=!0,l=!0,u=!1]=e;const c=()=>{n&&(clearTimeout(n),n=void 0,o(),o=cr)};return d=>{const p=Je(s),h=Date.now()-t,g=()=>i=d();return c(),p<=0?(t=Date.now(),g()):(h>p&&(l||!r)?(t=Date.now(),g()):a&&(i=new Promise((y,x)=>{o=u?x:y,n=setTimeout(()=>{t=Date.now(),r=!0,y(g()),c()},Math.max(0,p-h))})),!l&&!n&&(n=setTimeout(()=>r=!0,p)),r=!1,i)}}function IC(e=Yh,t={}){const{initialState:n="active"}=t,r=OC(n==="active");function o(){r.value=!1}function i(){r.value=!0}const s=(...a)=>{r.value&&e(...a)};return{isActive:Jt(r),pause:o,resume:i,eventFilter:s}}function zC(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function Lu(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function bo(e){return Array.isArray(e)?e:[e]}function MC(e){return Rn()}function Xh(e,t=200,n={}){return Tl(kC(t,n),e)}function e3(e,t=200,n={}){const r=de(Je(e)),o=Xh(()=>{r.value=e.value},t,n);return tt(e,()=>o()),$f(r)}function BC(e,t=200,n=!1,r=!0,o=!1){return Tl(AC(t,n,r,o),e)}function LC(e,t,n={}){const{eventFilter:r=Yh,...o}=n;return tt(e,Tl(r,t),o)}function HC(e,t,n={}){const{eventFilter:r,initialState:o="active",...i}=n,{eventFilter:s,pause:a,resume:l,isActive:u}=IC(r,{initialState:o});return{stop:LC(e,t,{...i,eventFilter:s}),pause:a,resume:l,isActive:u}}function Uo(e,t=!0,n){MC()?Gt(e,n):t?e():Bt(e)}function FC(e,t,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n,i=He(!1);let s;function a(){s&&(clearTimeout(s),s=void 0)}function l(){i.value=!1,a()}function u(...c){o&&e(),a(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,e(...c)},Je(t))}return r&&(i.value=!0,El&&u()),Vo(l),{isPending:$f(i),start:u,stop:l}}function DC(e,t,n){return tt(e,t,{...n,immediate:!0})}const pn=El?window:void 0,Zh=El?window.navigator:void 0;function Zt(e){var t;const n=Je(e);return(t=n==null?void 0:n.$el)!=null?t:n}function xt(...e){const t=[],n=()=>{t.forEach(a=>a()),t.length=0},r=(a,l,u,c)=>(a.addEventListener(l,u,c),()=>a.removeEventListener(l,u,c)),o=Z(()=>{const a=bo(Je(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),i=DC(()=>{var a,l;return[(l=(a=o.value)==null?void 0:a.map(u=>Zt(u)))!=null?l:[pn].filter(u=>u!=null),bo(Je(o.value?e[1]:e[0])),bo(Ve(o.value?e[2]:e[1])),Je(o.value?e[3]:e[2])]},([a,l,u,c])=>{if(n(),!(a!=null&&a.length)||!(l!=null&&l.length)||!(u!=null&&u.length))return;const f=$C(c)?{...c}:c;t.push(...a.flatMap(d=>l.flatMap(p=>u.map(h=>r(d,p,h,f)))))},{flush:"post"}),s=()=>{i(),n()};return Vo(n),s}function jC(){const e=He(!1),t=Rn();return t&&Gt(()=>{e.value=!0},t),e}function Ko(e){const t=jC();return Z(()=>(t.value,!!e()))}function Qh(e,t,n={}){const{window:r=pn,...o}=n;let i;const s=Ko(()=>r&&"MutationObserver"in r),a=()=>{i&&(i.disconnect(),i=void 0)},l=Z(()=>{const d=Je(e),p=bo(d).map(Zt).filter(RC);return new Set(p)}),u=tt(l,d=>{a(),s.value&&d.size&&(i=new MutationObserver(t),d.forEach(p=>i.observe(p,o)))},{immediate:!0,flush:"post"}),c=()=>i==null?void 0:i.takeRecords(),f=()=>{u(),a()};return Vo(f),{isSupported:s,stop:f,takeRecords:c}}const NC=Symbol("vueuse-ssr-width");function WC(){const e=ed()?TC(NC,null):null;return typeof e=="number"?e:void 0}function VC(e,t={}){const{window:n=pn,ssrWidth:r=WC()}=t,o=Ko(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=He(typeof r=="number"),s=He(),a=He(!1),l=u=>{a.value=u.matches};return Do(()=>{if(i.value){i.value=!o.value;const u=Je(e).split(",");a.value=u.some(c=>{const f=c.includes("not all"),d=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),p=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let h=!!(d||p);return d&&h&&(h=r>=Lu(d[1])),p&&h&&(h=r<=Lu(p[1])),f?!h:h});return}o.value&&(s.value=n.matchMedia(Je(e)),a.value=s.value.matches)}),xt(s,"change",l,{passive:!0}),Z(()=>a.value)}function Hu(e,t={}){const{controls:n=!1,navigator:r=Zh}=t,o=Ko(()=>r&&"permissions"in r),i=He(),s=typeof e=="string"?{name:e}:e,a=He(),l=()=>{var c,f;a.value=(f=(c=i.value)==null?void 0:c.state)!=null?f:"prompt"};xt(i,"change",l,{passive:!0});const u=zC(async()=>{if(o.value){if(!i.value)try{i.value=await r.permissions.query(s)}catch{i.value=void 0}finally{l()}if(n)return ze(i.value)}});return u(),n?{state:a,isSupported:o,query:u}:a}function t3(e={}){const{navigator:t=Zh,read:n=!1,source:r,copiedDuring:o=1500,legacy:i=!1}=e,s=Ko(()=>t&&"clipboard"in t),a=Hu("clipboard-read"),l=Hu("clipboard-write"),u=Z(()=>s.value||i),c=He(""),f=He(!1),d=FC(()=>f.value=!1,o,{immediate:!1});async function p(){let C=!(s.value&&x(a.value));if(!C)try{c.value=await t.clipboard.readText()}catch{C=!0}C&&(c.value=y())}u.value&&n&&xt(["copy","cut"],p,{passive:!0});async function h(C=Je(r)){if(u.value&&C!=null){let k=!(s.value&&x(l.value));if(!k)try{await t.clipboard.writeText(C)}catch{k=!0}k&&g(C),c.value=C,f.value=!0,d.start()}}function g(C){const k=document.createElement("textarea");k.value=C??"",k.style.position="absolute",k.style.opacity="0",document.body.appendChild(k),k.select(),document.execCommand("copy"),k.remove()}function y(){var C,k,$;return($=(k=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:k.toString())!=null?$:""}function x(C){return C==="granted"||C==="prompt"}return{isSupported:u,text:c,copied:f,copy:h}}const di=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},hi="__vueuse_ssr_handlers__",UC=KC();function KC(){return hi in di||(di[hi]=di[hi]||{}),di[hi]}function qC(e,t){return UC[e]||t}function GC(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const YC={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Fu="vueuse-storage";function n3(e,t,n,r={}){var o;const{flush:i="pre",deep:s=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:c,window:f=pn,eventFilter:d,onError:p=G=>{console.error(G)},initOnMounted:h}=r,g=(c?He:de)(typeof t=="function"?t():t),y=Z(()=>Je(e));if(!n)try{n=qC("getDefaultStorage",()=>{var G;return(G=pn)==null?void 0:G.localStorage})()}catch(G){p(G)}if(!n)return g;const x=Je(t),C=GC(x),k=(o=r.serializer)!=null?o:YC[C],{pause:$,resume:T}=HC(g,G=>L(G),{flush:i,deep:s,eventFilter:d});tt(y,()=>B(),{flush:i});let _=!1;const m=G=>{h&&!_||B(G)},E=G=>{h&&!_||re(G)};f&&a&&(n instanceof Storage?xt(f,"storage",m,{passive:!0}):xt(f,Fu,E)),h?Uo(()=>{_=!0,B()}):B();function P(G,se){if(f){const oe={key:y.value,oldValue:G,newValue:se,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",oe):new CustomEvent(Fu,{detail:oe}))}}function L(G){try{const se=n.getItem(y.value);if(G==null)P(se,null),n.removeItem(y.value);else{const oe=k.write(G);se!==oe&&(n.setItem(y.value,oe),P(se,oe))}}catch(se){p(se)}}function U(G){const se=G?G.newValue:n.getItem(y.value);if(se==null)return l&&x!=null&&n.setItem(y.value,k.write(x)),x;if(!G&&u){const oe=k.read(se);return typeof u=="function"?u(oe,x):C==="object"&&!Array.isArray(oe)?{...x,...oe}:oe}else return typeof se!="string"?se:k.read(se)}function B(G){if(!(G&&G.storageArea!==n)){if(G&&G.key==null){g.value=x;return}if(!(G&&G.key!==y.value)){$();try{const se=k.write(g.value);(G===void 0||(G==null?void 0:G.newValue)!==se)&&(g.value=U(G))}catch(se){p(se)}finally{G?Bt(T):T()}}}}function re(G){B(G.detail)}return g}function Jh(e,t,n={}){const{window:r=pn,...o}=n;let i;const s=Ko(()=>r&&"ResizeObserver"in r),a=()=>{i&&(i.disconnect(),i=void 0)},l=Z(()=>{const f=Je(e);return Array.isArray(f)?f.map(d=>Zt(d)):[Zt(f)]}),u=tt(l,f=>{if(a(),s.value&&r){i=new ResizeObserver(t);for(const d of f)d&&i.observe(d,o)}},{immediate:!0,flush:"post"}),c=()=>{a(),u()};return Vo(c),{isSupported:s,stop:c}}function XC(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:o=!0,immediate:i=!0,updateTiming:s="sync"}=t,a=He(0),l=He(0),u=He(0),c=He(0),f=He(0),d=He(0),p=He(0),h=He(0);function g(){const x=Zt(e);if(!x){n&&(a.value=0,l.value=0,u.value=0,c.value=0,f.value=0,d.value=0,p.value=0,h.value=0);return}const C=x.getBoundingClientRect();a.value=C.height,l.value=C.bottom,u.value=C.left,c.value=C.right,f.value=C.top,d.value=C.width,p.value=C.x,h.value=C.y}function y(){s==="sync"?g():s==="next-frame"&&requestAnimationFrame(()=>g())}return Jh(e,y),tt(()=>Zt(e),x=>!x&&y()),Qh(e,y,{attributeFilter:["style","class"]}),o&&xt("scroll",y,{capture:!0,passive:!0}),r&&xt("resize",y,{passive:!0}),Uo(()=>{i&&y()}),{height:a,bottom:l,left:u,right:c,top:f,width:d,x:p,y:h,update:y}}function r3(e,t={width:0,height:0},n={}){const{window:r=pn,box:o="content-box"}=n,i=Z(()=>{var f,d;return(d=(f=Zt(e))==null?void 0:f.namespaceURI)==null?void 0:d.includes("svg")}),s=He(t.width),a=He(t.height),{stop:l}=Jh(e,([f])=>{const d=o==="border-box"?f.borderBoxSize:o==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&i.value){const p=Zt(e);if(p){const h=p.getBoundingClientRect();s.value=h.width,a.value=h.height}}else if(d){const p=bo(d);s.value=p.reduce((h,{inlineSize:g})=>h+g,0),a.value=p.reduce((h,{blockSize:g})=>h+g,0)}else s.value=f.contentRect.width,a.value=f.contentRect.height},n);Uo(()=>{const f=Zt(e);f&&(s.value="offsetWidth"in f?f.offsetWidth:t.width,a.value="offsetHeight"in f?f.offsetHeight:t.height)});const u=tt(()=>Zt(e),f=>{s.value=f?t.width:0,a.value=f?t.height:0});function c(){l(),u()}return{width:s,height:a,stop:c}}const Du=1;function ZC(e,t={}){const{throttle:n=0,idle:r=200,onStop:o=cr,onScroll:i=cr,offset:s={left:0,right:0,top:0,bottom:0},observe:a={mutation:!1},eventListenerOptions:l={capture:!1,passive:!0},behavior:u="auto",window:c=pn,onError:f=P=>{console.error(P)}}=t,d=typeof a=="boolean"?{mutation:a}:a,p=He(0),h=He(0),g=Z({get(){return p.value},set(P){x(P,void 0)}}),y=Z({get(){return h.value},set(P){x(void 0,P)}});function x(P,L){var U,B,re,G;if(!c)return;const se=Je(e);if(!se)return;(re=se instanceof Document?c.document.body:se)==null||re.scrollTo({top:(U=Je(L))!=null?U:y.value,left:(B=Je(P))!=null?B:g.value,behavior:Je(u)});const oe=((G=se==null?void 0:se.document)==null?void 0:G.documentElement)||(se==null?void 0:se.documentElement)||se;g!=null&&(p.value=oe.scrollLeft),y!=null&&(h.value=oe.scrollTop)}const C=He(!1),k=dn({left:!0,right:!1,top:!0,bottom:!1}),$=dn({left:!1,right:!1,top:!1,bottom:!1}),T=P=>{C.value&&(C.value=!1,$.left=!1,$.right=!1,$.top=!1,$.bottom=!1,o(P))},_=Xh(T,n+r),m=P=>{var L;if(!c)return;const U=((L=P==null?void 0:P.document)==null?void 0:L.documentElement)||(P==null?void 0:P.documentElement)||Zt(P),{display:B,flexDirection:re,direction:G}=getComputedStyle(U),se=G==="rtl"?-1:1,oe=U.scrollLeft;$.left=oe<p.value,$.right=oe>p.value;const te=Math.abs(oe*se)<=(s.left||0),ve=Math.abs(oe*se)+U.clientWidth>=U.scrollWidth-(s.right||0)-Du;B==="flex"&&re==="row-reverse"?(k.left=ve,k.right=te):(k.left=te,k.right=ve),p.value=oe;let Re=U.scrollTop;P===c.document&&!Re&&(Re=c.document.body.scrollTop),$.top=Re<h.value,$.bottom=Re>h.value;const Oe=Math.abs(Re)<=(s.top||0),Pe=Math.abs(Re)+U.clientHeight>=U.scrollHeight-(s.bottom||0)-Du;B==="flex"&&re==="column-reverse"?(k.top=Pe,k.bottom=Oe):(k.top=Oe,k.bottom=Pe),h.value=Re},E=P=>{var L;if(!c)return;const U=(L=P.target.documentElement)!=null?L:P.target;m(U),C.value=!0,_(P),i(P)};return xt(e,"scroll",n?BC(E,n,!0,!1):E,l),Uo(()=>{try{const P=Je(e);if(!P)return;m(P)}catch(P){f(P)}}),d!=null&&d.mutation&&e!=null&&e!==c&&e!==document&&Qh(e,()=>{const P=Je(e);P&&m(P)},{attributes:!0,childList:!0,subtree:!0}),xt(e,"scrollend",T,l),{x:g,y,isScrolling:C,arrivedState:k,directions:$,measure(){const P=Je(e);c&&P&&m(P)}}}function QC(e={}){const{window:t=pn,...n}=e;return ZC(t,n)}function JC(e={}){const{window:t=pn,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:i=!0,type:s="inner"}=e,a=He(n),l=He(r),u=()=>{if(t)if(s==="outer")a.value=t.outerWidth,l.value=t.outerHeight;else if(s==="visual"&&t.visualViewport){const{width:f,height:d,scale:p}=t.visualViewport;a.value=Math.round(f*p),l.value=Math.round(d*p)}else i?(a.value=t.innerWidth,l.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight)};u(),Uo(u);const c={passive:!0};if(xt("resize",u,c),t&&s==="visual"&&t.visualViewport&&xt(t.visualViewport,"resize",u,c),o){const f=VC("(orientation: portrait)");tt(f,()=>u())}return{width:a,height:l}}const e_=EC(()=>Mo({networkErrorDlgVisible:!1,githubErrorDlgVisible:!1,wasmErrorDlgVisible:!1,wasmSupported:void 0})),{message:ju,dialog:o3,loadingBar:i3}=Cw(["message","dialog","loadingBar"]),ep=document.querySelector("#app"),t_={fixed:"","z-2000":"",class:"BodyScrollbar"},n_=Te({__name:"BodyScrollbar",setup(e){const{y:t,x:n}=QC(),{height:r,width:o}=JC(),i=XC(document.body),s=Z(()=>i.height.value>r.value),a=Z(()=>{const m=i.height.value;return r.value/m*r.value}),l=Z(()=>{const _=i.height.value,m=a.value;return t.value/(_-r.value)*(r.value-m)}),u=Z(()=>s.value?{transform:`translateY(${l.value}px)`,height:`${a.value}px`}:{}),c=async _=>{const m=a.value*.9*(_.clientY<a.value+l.value?-1:1),E=i.height.value,P=E,L=r.value/P*r.value;t.value+=m/(r.value-L)*(E-r.value)},f=He(!1);let d;const p=_=>{d=_,f.value=!0};xt("pointermove",_=>{if(!d)return;const m=_.clientY-d.clientY;d=_;const E=i.height.value,P=E,L=r.value/P*r.value;t.value+=m/(r.value-L)*(E-r.value)}),xt("pointerup",()=>{d=void 0,f.value=!1});const h=Z(()=>Math.floor(i.width.value)>o.value),g=Z(()=>{const m=i.width.value;return o.value/m*o.value}),y=Z(()=>{const _=i.width.value,m=g.value;return n.value/(_-o.value)*(o.value-m)}),x=Z(()=>h.value?{transform:`translateX(${y.value}px)`,width:`${g.value}px`}:{}),C=_=>{const m=g.value*.9*(_.clientX<g.value+y.value?-1:1),E=i.width.value,P=E,L=o.value/P*o.value,U=n.value+m/(o.value-L)*(E-o.value);n.value=U},k=He(!1);let $;const T=_=>{$=_,k.value=!0};return xt("pointermove",_=>{if(!$)return;const m=_.clientX-$.clientX;$=_;const E=i.width.value,P=E,L=o.value/P*o.value;n.value+=m/(o.value-L)*(E-o.value)}),xt("pointerup",()=>{$=void 0,k.value=!1}),xt("selectstart",_=>{($||d)&&_.preventDefault()}),(_,m)=>(Nn(),Ro("div",t_,[So(ct("div",{"scrollbar-y":"",fixed:"","right-2px":"","top-0":"","bottom-0":"","w-8px":"",onPointerdown:p,onClick:c},[ct("div",{"w-full":"",bg:"#909399","opacity-30":"","hover:opacity":"50",style:Pr(Ve(u)),class:Dn({"opacity-50":Ve(f)}),onClick:m[0]||(m[0]=yc(()=>{},["stop"]))},null,6)],544),[[ki,Ve(s)]]),Ve(h)?(Nn(),Ro("div",{key:0,"scrollbar-x":"",fixed:"","bottom-2px":"","left-0":"","right-0":"","h-8px":"",onPointerdown:T,onClick:C},[ct("div",{"h-full":"",bg:"#909399","opacity-30":"","hover:opacity":"50",style:Pr(Ve(x)),class:Dn({"opacity-50":Ve(k)}),onClick:m[1]||(m[1]=yc(()=>{},["stop"]))},null,6)],32)):vd("",!0)]))}});function s3(...e){const t=new URLSearchParams;return e.forEach(n=>{for(const r in n){const o=n[r];o!==void 0&&t.append(r,String(o))}}),t}const a3=e=>{const t={};return e.forEach((n,r)=>{t[r]=n}),t},r_=async(e=0)=>new Promise(t=>{setTimeout(t,e)}),l3=(()=>{let e;return async t=>{if(t&&e!==t){e=t,r_(1e4).then(()=>{e=void 0});try{await navigator.clipboard.writeText(t),ju.success("复制成功")}catch{ju.error("复制失败")}}}})(),tp=(e,t)=>{e.classList.add(t),Gt(()=>{e.classList.add(t)}),Zi(()=>{e.classList.remove(t)})},c3=()=>{tp(ep,"app-auto-h")},u3=()=>{tp(document.body,"body-auto-w")},o_=()=>{},f3=()=>o_,d3=(e,t)=>{const n={};return t.forEach(r=>{const o=e[r];o!==void 0&&(n[r]=o)}),n},np=e=>typeof e=="number"?!0:typeof e=="string"&&Array.prototype.every.call(e,t=>"0"<=t&&t<="9"),h3=e=>{if(typeof e=="number"&&Number.isSafeInteger(e))return e;if(typeof e=="string"&&e.length>0){const t=Number(e);if(Number.isSafeInteger(t))return t}},i_=Te(()=>{const e=He(!1),t="ontouchstart"in document.documentElement;return e.value=!t,t&&(document.body.classList.add("mobile"),document.documentElement.classList.add("mobile")),()=>e.value?I(Ho,{to:document.body},I(n_)):void 0}),p3=["#ff00ff","#18821c","#00ff00","#007fff","#ff7f00","#7fbf7f","#4e01bf","#b80836","#d67ffd","#00ffff","#fafe43","#00ff7f","#215b8f","#bd667c","#84f7f8","#8dfa01","#8f6605","#f5bc95","#a631f6","#21bab7","#4b1e4a","#7578c8","#c1b629","#ff007f","#0000ff","#4cc62a","#00007f","#fd404b","#b6fc97","#f742d8","#373fea","#a31b90","#ff0000","#03ae66","#a1b6e3","#61f9a8"],v3=e=>{var n,r;const t=[];if((n=e.dataTransfer)!=null&&n.items)for(let o=0;o<e.dataTransfer.items.length;o++){const i=e.dataTransfer.items[o];if(i.kind==="file"){const s=i.getAsFile();s&&t.push(s)}}else t.push(...Array.from(((r=e.dataTransfer)==null?void 0:r.files)||[]));return t},s_=[/\.0+$/,/0+$/],g3=(e,t)=>{const n=e.toFixed(t);if(!n.includes("."))return n;for(const r of s_)if(r.test(n))return n.replace(r,"");return n},m3=e=>{try{return new URL(e)}catch{}},a_=new Set([location.origin,"https://cdn.jsdelivr.net","https://fastly.jsdelivr.net","https://raw.githubusercontent.com","https://gist.githubusercontent.com","https://raw.gitmirror.com","https://registry.npmmirror.com"]),b3=e=>(e=new URL(e),e.hostname=="127.0.0.1"||e.hostname=="localhost"||location.protocol=="http:"&&e.protocol=="http:"&&e.hostname.split(".").every(t=>Number.isSafeInteger(parseInt(t)))?!0:a_.has(e.origin)),l_=[/^https:\/\/f\.gkd\.li\/(\d+)$/,/^https:\/\/github\.com\/gkd-kit\/inspect\/files\/(\d+)\/file\.zip$/,/^https:\/\/github\.com\/user-attachments\/files\/(\d+)\/file\.zip$/,/^https:\/\/i\.gkd\.li\/i\/(\d+)$/,/^https:\/\/i\.gkd\.li\/import\/(\d+)$/],c_=["https://f.gkd.li/","https://github.com/user-attachments/files/","https://github.com/gkd-kit/inspect/files/"],y3=e=>c_.some(t=>e.startsWith(t)),rp=e=>{var t;if(typeof e=="string"){if(e.startsWith(location.origin)){const n=+new URL(e).pathname.substring(1);if(Number.isSafeInteger(n)&&n>0)return n}for(const n of l_){const r=(t=e.match(n))==null?void 0:t[1];if(r)return+r}}},u_=/^https:\/\/github\.com\/gkd-kit\/inspect\/assets\/[0-9]+\/([0-9a-z-]+)$/,f_=/^https:\/\/github\.com\/user-attachments\/assets\/([0-9a-z-]+)$/,d_=e=>{var t,n;return((t=e.match(u_))==null?void 0:t[1])||((n=e.match(f_))==null?void 0:n[1])},x3=e=>location.origin+`/i/${e}`,w3=e=>`https://e.gkd.li/${e}`,h_=e=>`https://github.com/user-attachments/files/${e}/file.zip`;var pi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function p_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function C3(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var o=!1;try{o=this instanceof r}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}function vi(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ca={exports:{}};var Nu;function v_(){return Nu||(Nu=1,function(e,t){(function(n){e.exports=n()})(function(){return function n(r,o,i){function s(u,c){if(!o[u]){if(!r[u]){var f=typeof vi=="function"&&vi;if(!c&&f)return f(u,!0);if(a)return a(u,!0);var d=new Error("Cannot find module '"+u+"'");throw d.code="MODULE_NOT_FOUND",d}var p=o[u]={exports:{}};r[u][0].call(p.exports,function(h){var g=r[u][1][h];return s(g||h)},p,p.exports,n,r,o,i)}return o[u].exports}for(var a=typeof vi=="function"&&vi,l=0;l<i.length;l++)s(i[l]);return s}({1:[function(n,r,o){(function(i){var s=i.MutationObserver||i.WebKitMutationObserver,a;if(s){var l=0,u=new s(h),c=i.document.createTextNode("");u.observe(c,{characterData:!0}),a=function(){c.data=l=++l%2}}else if(!i.setImmediate&&typeof i.MessageChannel<"u"){var f=new i.MessageChannel;f.port1.onmessage=h,a=function(){f.port2.postMessage(0)}}else"document"in i&&"onreadystatechange"in i.document.createElement("script")?a=function(){var y=i.document.createElement("script");y.onreadystatechange=function(){h(),y.onreadystatechange=null,y.parentNode.removeChild(y),y=null},i.document.documentElement.appendChild(y)}:a=function(){setTimeout(h,0)};var d,p=[];function h(){d=!0;for(var y,x,C=p.length;C;){for(x=p,p=[],y=-1;++y<C;)x[y]();C=p.length}d=!1}r.exports=g;function g(y){p.push(y)===1&&!d&&a()}}).call(this,typeof pi<"u"?pi:typeof self<"u"?self:typeof window<"u"?window:{})},{}],2:[function(n,r,o){var i=n(1);function s(){}var a={},l=["REJECTED"],u=["FULFILLED"],c=["PENDING"];r.exports=f;function f(T){if(typeof T!="function")throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,T!==s&&g(this,T)}f.prototype.catch=function(T){return this.then(null,T)},f.prototype.then=function(T,_){if(typeof T!="function"&&this.state===u||typeof _!="function"&&this.state===l)return this;var m=new this.constructor(s);if(this.state!==c){var E=this.state===u?T:_;p(m,E,this.outcome)}else this.queue.push(new d(m,T,_));return m};function d(T,_,m){this.promise=T,typeof _=="function"&&(this.onFulfilled=_,this.callFulfilled=this.otherCallFulfilled),typeof m=="function"&&(this.onRejected=m,this.callRejected=this.otherCallRejected)}d.prototype.callFulfilled=function(T){a.resolve(this.promise,T)},d.prototype.otherCallFulfilled=function(T){p(this.promise,this.onFulfilled,T)},d.prototype.callRejected=function(T){a.reject(this.promise,T)},d.prototype.otherCallRejected=function(T){p(this.promise,this.onRejected,T)};function p(T,_,m){i(function(){var E;try{E=_(m)}catch(P){return a.reject(T,P)}E===T?a.reject(T,new TypeError("Cannot resolve promise with itself")):a.resolve(T,E)})}a.resolve=function(T,_){var m=y(h,_);if(m.status==="error")return a.reject(T,m.value);var E=m.value;if(E)g(T,E);else{T.state=u,T.outcome=_;for(var P=-1,L=T.queue.length;++P<L;)T.queue[P].callFulfilled(_)}return T},a.reject=function(T,_){T.state=l,T.outcome=_;for(var m=-1,E=T.queue.length;++m<E;)T.queue[m].callRejected(_);return T};function h(T){var _=T&&T.then;if(T&&(typeof T=="object"||typeof T=="function")&&typeof _=="function")return function(){_.apply(T,arguments)}}function g(T,_){var m=!1;function E(B){m||(m=!0,a.reject(T,B))}function P(B){m||(m=!0,a.resolve(T,B))}function L(){_(P,E)}var U=y(L);U.status==="error"&&E(U.value)}function y(T,_){var m={};try{m.value=T(_),m.status="success"}catch(E){m.status="error",m.value=E}return m}f.resolve=x;function x(T){return T instanceof this?T:a.resolve(new this(s),T)}f.reject=C;function C(T){var _=new this(s);return a.reject(_,T)}f.all=k;function k(T){var _=this;if(Object.prototype.toString.call(T)!=="[object Array]")return this.reject(new TypeError("must be an array"));var m=T.length,E=!1;if(!m)return this.resolve([]);for(var P=new Array(m),L=0,U=-1,B=new this(s);++U<m;)re(T[U],U);return B;function re(G,se){_.resolve(G).then(oe,function(te){E||(E=!0,a.reject(B,te))});function oe(te){P[se]=te,++L===m&&!E&&(E=!0,a.resolve(B,P))}}}f.race=$;function $(T){var _=this;if(Object.prototype.toString.call(T)!=="[object Array]")return this.reject(new TypeError("must be an array"));var m=T.length,E=!1;if(!m)return this.resolve([]);for(var P=-1,L=new this(s);++P<m;)U(T[P]);return L;function U(B){_.resolve(B).then(function(re){E||(E=!0,a.resolve(L,re))},function(re){E||(E=!0,a.reject(L,re))})}}},{1:1}],3:[function(n,r,o){(function(i){typeof i.Promise!="function"&&(i.Promise=n(2))}).call(this,typeof pi<"u"?pi:typeof self<"u"?self:typeof window<"u"?window:{})},{2:2}],4:[function(n,r,o){var i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(v){return typeof v}:function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v};function s(v,R){if(!(v instanceof R))throw new TypeError("Cannot call a class as a function")}function a(){try{if(typeof indexedDB<"u")return indexedDB;if(typeof webkitIndexedDB<"u")return webkitIndexedDB;if(typeof mozIndexedDB<"u")return mozIndexedDB;if(typeof OIndexedDB<"u")return OIndexedDB;if(typeof msIndexedDB<"u")return msIndexedDB}catch{return}}var l=a();function u(){try{if(!l||!l.open)return!1;var v=typeof openDatabase<"u"&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),R=typeof fetch=="function"&&fetch.toString().indexOf("[native code")!==-1;return(!v||R)&&typeof indexedDB<"u"&&typeof IDBKeyRange<"u"}catch{return!1}}function c(v,R){v=v||[],R=R||{};try{return new Blob(v,R)}catch(O){if(O.name!=="TypeError")throw O;for(var b=typeof BlobBuilder<"u"?BlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:WebKitBlobBuilder,A=new b,z=0;z<v.length;z+=1)A.append(v[z]);return A.getBlob(R.type)}}typeof Promise>"u"&&n(3);var f=Promise;function d(v,R){R&&v.then(function(b){R(null,b)},function(b){R(b)})}function p(v,R,b){typeof R=="function"&&v.then(R),typeof b=="function"&&v.catch(b)}function h(v){return typeof v!="string"&&(console.warn(v+" used as a key, but it is not a string."),v=String(v)),v}function g(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var y="local-forage-detect-blob-support",x=void 0,C={},k=Object.prototype.toString,$="readonly",T="readwrite";function _(v){for(var R=v.length,b=new ArrayBuffer(R),A=new Uint8Array(b),z=0;z<R;z++)A[z]=v.charCodeAt(z);return b}function m(v){return new f(function(R){var b=v.transaction(y,T),A=c([""]);b.objectStore(y).put(A,"key"),b.onabort=function(z){z.preventDefault(),z.stopPropagation(),R(!1)},b.oncomplete=function(){var z=navigator.userAgent.match(/Chrome\/(\d+)/),O=navigator.userAgent.match(/Edge\//);R(O||!z||parseInt(z[1],10)>=43)}}).catch(function(){return!1})}function E(v){return typeof x=="boolean"?f.resolve(x):m(v).then(function(R){return x=R,x})}function P(v){var R=C[v.name],b={};b.promise=new f(function(A,z){b.resolve=A,b.reject=z}),R.deferredOperations.push(b),R.dbReady?R.dbReady=R.dbReady.then(function(){return b.promise}):R.dbReady=b.promise}function L(v){var R=C[v.name],b=R.deferredOperations.pop();if(b)return b.resolve(),b.promise}function U(v,R){var b=C[v.name],A=b.deferredOperations.pop();if(A)return A.reject(R),A.promise}function B(v,R){return new f(function(b,A){if(C[v.name]=C[v.name]||Be(),v.db)if(R)P(v),v.db.close();else return b(v.db);var z=[v.name];R&&z.push(v.version);var O=l.open.apply(l,z);R&&(O.onupgradeneeded=function(j){var X=O.result;try{X.createObjectStore(v.storeName),j.oldVersion<=1&&X.createObjectStore(y)}catch(Q){if(Q.name==="ConstraintError")console.warn('The database "'+v.name+'" has been upgraded from version '+j.oldVersion+" to version "+j.newVersion+', but the storage "'+v.storeName+'" already exists.');else throw Q}}),O.onerror=function(j){j.preventDefault(),A(O.error)},O.onsuccess=function(){var j=O.result;j.onversionchange=function(X){X.target.close()},b(j),L(v)}})}function re(v){return B(v,!1)}function G(v){return B(v,!0)}function se(v,R){if(!v.db)return!0;var b=!v.db.objectStoreNames.contains(v.storeName),A=v.version<v.db.version,z=v.version>v.db.version;if(A&&(v.version!==R&&console.warn('The database "'+v.name+`" can't be downgraded from version `+v.db.version+" to version "+v.version+"."),v.version=v.db.version),z||b){if(b){var O=v.db.version+1;O>v.version&&(v.version=O)}return!0}return!1}function oe(v){return new f(function(R,b){var A=new FileReader;A.onerror=b,A.onloadend=function(z){var O=btoa(z.target.result||"");R({__local_forage_encoded_blob:!0,data:O,type:v.type})},A.readAsBinaryString(v)})}function te(v){var R=_(atob(v.data));return c([R],{type:v.type})}function ve(v){return v&&v.__local_forage_encoded_blob}function Re(v){var R=this,b=R._initReady().then(function(){var A=C[R._dbInfo.name];if(A&&A.dbReady)return A.dbReady});return p(b,v,v),b}function Oe(v){P(v);for(var R=C[v.name],b=R.forages,A=0;A<b.length;A++){var z=b[A];z._dbInfo.db&&(z._dbInfo.db.close(),z._dbInfo.db=null)}return v.db=null,re(v).then(function(O){return v.db=O,se(v)?G(v):O}).then(function(O){v.db=R.db=O;for(var j=0;j<b.length;j++)b[j]._dbInfo.db=O}).catch(function(O){throw U(v,O),O})}function Pe(v,R,b,A){A===void 0&&(A=1);try{var z=v.db.transaction(v.storeName,R);b(null,z)}catch(O){if(A>0&&(!v.db||O.name==="InvalidStateError"||O.name==="NotFoundError"))return f.resolve().then(function(){if(!v.db||O.name==="NotFoundError"&&!v.db.objectStoreNames.contains(v.storeName)&&v.version<=v.db.version)return v.db&&(v.version=v.db.version+1),G(v)}).then(function(){return Oe(v).then(function(){Pe(v,R,b,A-1)})}).catch(b);b(O)}}function Be(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function ot(v){var R=this,b={db:null};if(v)for(var A in v)b[A]=v[A];var z=C[b.name];z||(z=Be(),C[b.name]=z),z.forages.push(R),R._initReady||(R._initReady=R.ready,R.ready=Re);var O=[];function j(){return f.resolve()}for(var X=0;X<z.forages.length;X++){var Q=z.forages[X];Q!==R&&O.push(Q._initReady().catch(j))}var J=z.forages.slice(0);return f.all(O).then(function(){return b.db=z.db,re(b)}).then(function(ne){return b.db=ne,se(b,R._defaultConfig.version)?G(b):ne}).then(function(ne){b.db=z.db=ne,R._dbInfo=b;for(var me=0;me<J.length;me++){var ke=J[me];ke!==R&&(ke._dbInfo.db=b.db,ke._dbInfo.version=b.version)}})}function it(v,R){var b=this;v=h(v);var A=new f(function(z,O){b.ready().then(function(){Pe(b._dbInfo,$,function(j,X){if(j)return O(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=Q.get(v);J.onsuccess=function(){var ne=J.result;ne===void 0&&(ne=null),ve(ne)&&(ne=te(ne)),z(ne)},J.onerror=function(){O(J.error)}}catch(ne){O(ne)}})}).catch(O)});return d(A,R),A}function At(v,R){var b=this,A=new f(function(z,O){b.ready().then(function(){Pe(b._dbInfo,$,function(j,X){if(j)return O(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=Q.openCursor(),ne=1;J.onsuccess=function(){var me=J.result;if(me){var ke=me.value;ve(ke)&&(ke=te(ke));var Fe=v(ke,me.key,ne++);Fe!==void 0?z(Fe):me.continue()}else z()},J.onerror=function(){O(J.error)}}catch(me){O(me)}})}).catch(O)});return d(A,R),A}function Ee(v,R,b){var A=this;v=h(v);var z=new f(function(O,j){var X;A.ready().then(function(){return X=A._dbInfo,k.call(R)==="[object Blob]"?E(X.db).then(function(Q){return Q?R:oe(R)}):R}).then(function(Q){Pe(A._dbInfo,T,function(J,ne){if(J)return j(J);try{var me=ne.objectStore(A._dbInfo.storeName);Q===null&&(Q=void 0);var ke=me.put(Q,v);ne.oncomplete=function(){Q===void 0&&(Q=null),O(Q)},ne.onabort=ne.onerror=function(){var Fe=ke.error?ke.error:ke.transaction.error;j(Fe)}}catch(Fe){j(Fe)}})}).catch(j)});return d(z,b),z}function F(v,R){var b=this;v=h(v);var A=new f(function(z,O){b.ready().then(function(){Pe(b._dbInfo,T,function(j,X){if(j)return O(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=Q.delete(v);X.oncomplete=function(){z()},X.onerror=function(){O(J.error)},X.onabort=function(){var ne=J.error?J.error:J.transaction.error;O(ne)}}catch(ne){O(ne)}})}).catch(O)});return d(A,R),A}function ae(v){var R=this,b=new f(function(A,z){R.ready().then(function(){Pe(R._dbInfo,T,function(O,j){if(O)return z(O);try{var X=j.objectStore(R._dbInfo.storeName),Q=X.clear();j.oncomplete=function(){A()},j.onabort=j.onerror=function(){var J=Q.error?Q.error:Q.transaction.error;z(J)}}catch(J){z(J)}})}).catch(z)});return d(b,v),b}function K(v){var R=this,b=new f(function(A,z){R.ready().then(function(){Pe(R._dbInfo,$,function(O,j){if(O)return z(O);try{var X=j.objectStore(R._dbInfo.storeName),Q=X.count();Q.onsuccess=function(){A(Q.result)},Q.onerror=function(){z(Q.error)}}catch(J){z(J)}})}).catch(z)});return d(b,v),b}function he(v,R){var b=this,A=new f(function(z,O){if(v<0){z(null);return}b.ready().then(function(){Pe(b._dbInfo,$,function(j,X){if(j)return O(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=!1,ne=Q.openKeyCursor();ne.onsuccess=function(){var me=ne.result;if(!me){z(null);return}v===0||J?z(me.key):(J=!0,me.advance(v))},ne.onerror=function(){O(ne.error)}}catch(me){O(me)}})}).catch(O)});return d(A,R),A}function Ae(v){var R=this,b=new f(function(A,z){R.ready().then(function(){Pe(R._dbInfo,$,function(O,j){if(O)return z(O);try{var X=j.objectStore(R._dbInfo.storeName),Q=X.openKeyCursor(),J=[];Q.onsuccess=function(){var ne=Q.result;if(!ne){A(J);return}J.push(ne.key),ne.continue()},Q.onerror=function(){z(Q.error)}}catch(ne){z(ne)}})}).catch(z)});return d(b,v),b}function w(v,R){R=g.apply(this,arguments);var b=this.config();v=typeof v!="function"&&v||{},v.name||(v.name=v.name||b.name,v.storeName=v.storeName||b.storeName);var A=this,z;if(!v.name)z=f.reject("Invalid arguments");else{var O=v.name===b.name&&A._dbInfo.db,j=O?f.resolve(A._dbInfo.db):re(v).then(function(X){var Q=C[v.name],J=Q.forages;Q.db=X;for(var ne=0;ne<J.length;ne++)J[ne]._dbInfo.db=X;return X});v.storeName?z=j.then(function(X){if(X.objectStoreNames.contains(v.storeName)){var Q=X.version+1;P(v);var J=C[v.name],ne=J.forages;X.close();for(var me=0;me<ne.length;me++){var ke=ne[me];ke._dbInfo.db=null,ke._dbInfo.version=Q}var Fe=new f(function(Ne,lt){var st=l.open(v.name,Q);st.onerror=function(Nt){var Ur=st.result;Ur.close(),lt(Nt)},st.onupgradeneeded=function(){var Nt=st.result;Nt.deleteObjectStore(v.storeName)},st.onsuccess=function(){var Nt=st.result;Nt.close(),Ne(Nt)}});return Fe.then(function(Ne){J.db=Ne;for(var lt=0;lt<ne.length;lt++){var st=ne[lt];st._dbInfo.db=Ne,L(st._dbInfo)}}).catch(function(Ne){throw(U(v,Ne)||f.resolve()).catch(function(){}),Ne})}}):z=j.then(function(X){P(v);var Q=C[v.name],J=Q.forages;X.close();for(var ne=0;ne<J.length;ne++){var me=J[ne];me._dbInfo.db=null}var ke=new f(function(Fe,Ne){var lt=l.deleteDatabase(v.name);lt.onerror=function(){var st=lt.result;st&&st.close(),Ne(lt.error)},lt.onblocked=function(){console.warn('dropInstance blocked for database "'+v.name+'" until all open connections are closed')},lt.onsuccess=function(){var st=lt.result;st&&st.close(),Fe(st)}});return ke.then(function(Fe){Q.db=Fe;for(var Ne=0;Ne<J.length;Ne++){var lt=J[Ne];L(lt._dbInfo)}}).catch(function(Fe){throw(U(v,Fe)||f.resolve()).catch(function(){}),Fe})})}return d(z,R),z}var S={_driver:"asyncStorage",_initStorage:ot,_support:u(),iterate:At,getItem:it,setItem:Ee,removeItem:F,clear:ae,length:K,key:he,keys:Ae,dropInstance:w};function M(){return typeof openDatabase=="function"}var H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",W="~~local_forage_type~",D=/^~~local_forage_type~([^~]+)~/,ie="__lfsc__:",ee=ie.length,q="arbf",N="blob",ge="si08",ce="ui08",be="uic8",ye="si16",$e="si32",Le="ur16",Me="ui32",at="fl32",ut="fl64",gt=ee+q.length,mt=Object.prototype.toString;function Yt(v){var R=v.length*.75,b=v.length,A,z=0,O,j,X,Q;v[v.length-1]==="="&&(R--,v[v.length-2]==="="&&R--);var J=new ArrayBuffer(R),ne=new Uint8Array(J);for(A=0;A<b;A+=4)O=H.indexOf(v[A]),j=H.indexOf(v[A+1]),X=H.indexOf(v[A+2]),Q=H.indexOf(v[A+3]),ne[z++]=O<<2|j>>4,ne[z++]=(j&15)<<4|X>>2,ne[z++]=(X&3)<<6|Q&63;return J}function Lt(v){var R=new Uint8Array(v),b="",A;for(A=0;A<R.length;A+=3)b+=H[R[A]>>2],b+=H[(R[A]&3)<<4|R[A+1]>>4],b+=H[(R[A+1]&15)<<2|R[A+2]>>6],b+=H[R[A+2]&63];return R.length%3===2?b=b.substring(0,b.length-1)+"=":R.length%3===1&&(b=b.substring(0,b.length-2)+"=="),b}function Ct(v,R){var b="";if(v&&(b=mt.call(v)),v&&(b==="[object ArrayBuffer]"||v.buffer&&mt.call(v.buffer)==="[object ArrayBuffer]")){var A,z=ie;v instanceof ArrayBuffer?(A=v,z+=q):(A=v.buffer,b==="[object Int8Array]"?z+=ge:b==="[object Uint8Array]"?z+=ce:b==="[object Uint8ClampedArray]"?z+=be:b==="[object Int16Array]"?z+=ye:b==="[object Uint16Array]"?z+=Le:b==="[object Int32Array]"?z+=$e:b==="[object Uint32Array]"?z+=Me:b==="[object Float32Array]"?z+=at:b==="[object Float64Array]"?z+=ut:R(new Error("Failed to get type for BinaryArray"))),R(z+Lt(A))}else if(b==="[object Blob]"){var O=new FileReader;O.onload=function(){var j=W+v.type+"~"+Lt(this.result);R(ie+N+j)},O.readAsArrayBuffer(v)}else try{R(JSON.stringify(v))}catch(j){console.error("Couldn't convert value into a JSON string: ",v),R(null,j)}}function Y(v){if(v.substring(0,ee)!==ie)return JSON.parse(v);var R=v.substring(gt),b=v.substring(ee,gt),A;if(b===N&&D.test(R)){var z=R.match(D);A=z[1],R=R.substring(z[0].length)}var O=Yt(R);switch(b){case q:return O;case N:return c([O],{type:A});case ge:return new Int8Array(O);case ce:return new Uint8Array(O);case be:return new Uint8ClampedArray(O);case ye:return new Int16Array(O);case Le:return new Uint16Array(O);case $e:return new Int32Array(O);case Me:return new Uint32Array(O);case at:return new Float32Array(O);case ut:return new Float64Array(O);default:throw new Error("Unkown type: "+b)}}var pe={serialize:Ct,deserialize:Y,stringToBuffer:Yt,bufferToString:Lt};function Ce(v,R,b,A){v.executeSql("CREATE TABLE IF NOT EXISTS "+R.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],b,A)}function Ue(v){var R=this,b={db:null};if(v)for(var A in v)b[A]=typeof v[A]!="string"?v[A].toString():v[A];var z=new f(function(O,j){try{b.db=openDatabase(b.name,String(b.version),b.description,b.size)}catch(X){return j(X)}b.db.transaction(function(X){Ce(X,b,function(){R._dbInfo=b,O()},function(Q,J){j(J)})},j)});return b.serializer=pe,z}function We(v,R,b,A,z,O){v.executeSql(b,A,z,function(j,X){X.code===X.SYNTAX_ERR?j.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[R.storeName],function(Q,J){J.rows.length?O(Q,X):Ce(Q,R,function(){Q.executeSql(b,A,z,O)},O)},O):O(j,X)},O)}function _t(v,R){var b=this;v=h(v);var A=new f(function(z,O){b.ready().then(function(){var j=b._dbInfo;j.db.transaction(function(X){We(X,j,"SELECT * FROM "+j.storeName+" WHERE key = ? LIMIT 1",[v],function(Q,J){var ne=J.rows.length?J.rows.item(0).value:null;ne&&(ne=j.serializer.deserialize(ne)),z(ne)},function(Q,J){O(J)})})}).catch(O)});return d(A,R),A}function Ht(v,R){var b=this,A=new f(function(z,O){b.ready().then(function(){var j=b._dbInfo;j.db.transaction(function(X){We(X,j,"SELECT * FROM "+j.storeName,[],function(Q,J){for(var ne=J.rows,me=ne.length,ke=0;ke<me;ke++){var Fe=ne.item(ke),Ne=Fe.value;if(Ne&&(Ne=j.serializer.deserialize(Ne)),Ne=v(Ne,Fe.key,ke+1),Ne!==void 0){z(Ne);return}}z()},function(Q,J){O(J)})})}).catch(O)});return d(A,R),A}function qe(v,R,b,A){var z=this;v=h(v);var O=new f(function(j,X){z.ready().then(function(){R===void 0&&(R=null);var Q=R,J=z._dbInfo;J.serializer.serialize(R,function(ne,me){me?X(me):J.db.transaction(function(ke){We(ke,J,"INSERT OR REPLACE INTO "+J.storeName+" (key, value) VALUES (?, ?)",[v,ne],function(){j(Q)},function(Fe,Ne){X(Ne)})},function(ke){if(ke.code===ke.QUOTA_ERR){if(A>0){j(qe.apply(z,[v,Q,b,A-1]));return}X(ke)}})})}).catch(X)});return d(O,b),O}function It(v,R,b){return qe.apply(this,[v,R,b,1])}function rn(v,R){var b=this;v=h(v);var A=new f(function(z,O){b.ready().then(function(){var j=b._dbInfo;j.db.transaction(function(X){We(X,j,"DELETE FROM "+j.storeName+" WHERE key = ?",[v],function(){z()},function(Q,J){O(J)})})}).catch(O)});return d(A,R),A}function gs(v){var R=this,b=new f(function(A,z){R.ready().then(function(){var O=R._dbInfo;O.db.transaction(function(j){We(j,O,"DELETE FROM "+O.storeName,[],function(){A()},function(X,Q){z(Q)})})}).catch(z)});return d(b,v),b}function ms(v){var R=this,b=new f(function(A,z){R.ready().then(function(){var O=R._dbInfo;O.db.transaction(function(j){We(j,O,"SELECT COUNT(key) as c FROM "+O.storeName,[],function(X,Q){var J=Q.rows.item(0).c;A(J)},function(X,Q){z(Q)})})}).catch(z)});return d(b,v),b}function bs(v,R){var b=this,A=new f(function(z,O){b.ready().then(function(){var j=b._dbInfo;j.db.transaction(function(X){We(X,j,"SELECT key FROM "+j.storeName+" WHERE id = ? LIMIT 1",[v+1],function(Q,J){var ne=J.rows.length?J.rows.item(0).key:null;z(ne)},function(Q,J){O(J)})})}).catch(O)});return d(A,R),A}function ys(v){var R=this,b=new f(function(A,z){R.ready().then(function(){var O=R._dbInfo;O.db.transaction(function(j){We(j,O,"SELECT key FROM "+O.storeName,[],function(X,Q){for(var J=[],ne=0;ne<Q.rows.length;ne++)J.push(Q.rows.item(ne).key);A(J)},function(X,Q){z(Q)})})}).catch(z)});return d(b,v),b}function xs(v){return new f(function(R,b){v.transaction(function(A){A.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(z,O){for(var j=[],X=0;X<O.rows.length;X++)j.push(O.rows.item(X).name);R({db:v,storeNames:j})},function(z,O){b(O)})},function(A){b(A)})})}function ws(v,R){R=g.apply(this,arguments);var b=this.config();v=typeof v!="function"&&v||{},v.name||(v.name=v.name||b.name,v.storeName=v.storeName||b.storeName);var A=this,z;return v.name?z=new f(function(O){var j;v.name===b.name?j=A._dbInfo.db:j=openDatabase(v.name,"","",0),v.storeName?O({db:j,storeNames:[v.storeName]}):O(xs(j))}).then(function(O){return new f(function(j,X){O.db.transaction(function(Q){function J(Fe){return new f(function(Ne,lt){Q.executeSql("DROP TABLE IF EXISTS "+Fe,[],function(){Ne()},function(st,Nt){lt(Nt)})})}for(var ne=[],me=0,ke=O.storeNames.length;me<ke;me++)ne.push(J(O.storeNames[me]));f.all(ne).then(function(){j()}).catch(function(Fe){X(Fe)})},function(Q){X(Q)})})}):z=f.reject("Invalid arguments"),d(z,R),z}var Cs={_driver:"webSQLStorage",_initStorage:Ue,_support:M(),iterate:Ht,getItem:_t,setItem:It,removeItem:rn,clear:gs,length:ms,key:bs,keys:ys,dropInstance:ws};function _s(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}function qo(v,R){var b=v.name+"/";return v.storeName!==R.storeName&&(b+=v.storeName+"/"),b}function Ss(){var v="_localforage_support_test";try{return localStorage.setItem(v,!0),localStorage.removeItem(v),!1}catch{return!0}}function Es(){return!Ss()||localStorage.length>0}function Ts(v){var R=this,b={};if(v)for(var A in v)b[A]=v[A];return b.keyPrefix=qo(v,R._defaultConfig),Es()?(R._dbInfo=b,b.serializer=pe,f.resolve()):f.reject()}function Rs(v){var R=this,b=R.ready().then(function(){for(var A=R._dbInfo.keyPrefix,z=localStorage.length-1;z>=0;z--){var O=localStorage.key(z);O.indexOf(A)===0&&localStorage.removeItem(O)}});return d(b,v),b}function Ps(v,R){var b=this;v=h(v);var A=b.ready().then(function(){var z=b._dbInfo,O=localStorage.getItem(z.keyPrefix+v);return O&&(O=z.serializer.deserialize(O)),O});return d(A,R),A}function $s(v,R){var b=this,A=b.ready().then(function(){for(var z=b._dbInfo,O=z.keyPrefix,j=O.length,X=localStorage.length,Q=1,J=0;J<X;J++){var ne=localStorage.key(J);if(ne.indexOf(O)===0){var me=localStorage.getItem(ne);if(me&&(me=z.serializer.deserialize(me)),me=v(me,ne.substring(j),Q++),me!==void 0)return me}}});return d(A,R),A}function Os(v,R){var b=this,A=b.ready().then(function(){var z=b._dbInfo,O;try{O=localStorage.key(v)}catch{O=null}return O&&(O=O.substring(z.keyPrefix.length)),O});return d(A,R),A}function ks(v){var R=this,b=R.ready().then(function(){for(var A=R._dbInfo,z=localStorage.length,O=[],j=0;j<z;j++){var X=localStorage.key(j);X.indexOf(A.keyPrefix)===0&&O.push(X.substring(A.keyPrefix.length))}return O});return d(b,v),b}function cp(v){var R=this,b=R.keys().then(function(A){return A.length});return d(b,v),b}function up(v,R){var b=this;v=h(v);var A=b.ready().then(function(){var z=b._dbInfo;localStorage.removeItem(z.keyPrefix+v)});return d(A,R),A}function fp(v,R,b){var A=this;v=h(v);var z=A.ready().then(function(){R===void 0&&(R=null);var O=R;return new f(function(j,X){var Q=A._dbInfo;Q.serializer.serialize(R,function(J,ne){if(ne)X(ne);else try{localStorage.setItem(Q.keyPrefix+v,J),j(O)}catch(me){(me.name==="QuotaExceededError"||me.name==="NS_ERROR_DOM_QUOTA_REACHED")&&X(me),X(me)}})})});return d(z,b),z}function dp(v,R){if(R=g.apply(this,arguments),v=typeof v!="function"&&v||{},!v.name){var b=this.config();v.name=v.name||b.name,v.storeName=v.storeName||b.storeName}var A=this,z;return v.name?z=new f(function(O){v.storeName?O(qo(v,A._defaultConfig)):O(v.name+"/")}).then(function(O){for(var j=localStorage.length-1;j>=0;j--){var X=localStorage.key(j);X.indexOf(O)===0&&localStorage.removeItem(X)}}):z=f.reject("Invalid arguments"),d(z,R),z}var hp={_driver:"localStorageWrapper",_initStorage:Ts,_support:_s(),iterate:$s,getItem:Ps,setItem:fp,removeItem:up,clear:Rs,length:cp,key:Os,keys:ks,dropInstance:dp},pp=function(R,b){return R===b||typeof R=="number"&&typeof b=="number"&&isNaN(R)&&isNaN(b)},vp=function(R,b){for(var A=R.length,z=0;z<A;){if(pp(R[z],b))return!0;z++}return!1},Pl=Array.isArray||function(v){return Object.prototype.toString.call(v)==="[object Array]"},Vr={},$l={},pr={INDEXEDDB:S,WEBSQL:Cs,LOCALSTORAGE:hp},gp=[pr.INDEXEDDB._driver,pr.WEBSQL._driver,pr.LOCALSTORAGE._driver],Go=["dropInstance"],As=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(Go),mp={description:"",driver:gp.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function bp(v,R){v[R]=function(){var b=arguments;return v.ready().then(function(){return v[R].apply(v,b)})}}function Is(){for(var v=1;v<arguments.length;v++){var R=arguments[v];if(R)for(var b in R)R.hasOwnProperty(b)&&(Pl(R[b])?arguments[0][b]=R[b].slice():arguments[0][b]=R[b])}return arguments[0]}var yp=function(){function v(R){s(this,v);for(var b in pr)if(pr.hasOwnProperty(b)){var A=pr[b],z=A._driver;this[b]=z,Vr[z]||this.defineDriver(A)}this._defaultConfig=Is({},mp),this._config=Is({},this._defaultConfig,R),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return v.prototype.config=function(b){if((typeof b>"u"?"undefined":i(b))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var A in b){if(A==="storeName"&&(b[A]=b[A].replace(/\W/g,"_")),A==="version"&&typeof b[A]!="number")return new Error("Database version must be a number.");this._config[A]=b[A]}return"driver"in b&&b.driver?this.setDriver(this._config.driver):!0}else return typeof b=="string"?this._config[b]:this._config},v.prototype.defineDriver=function(b,A,z){var O=new f(function(j,X){try{var Q=b._driver,J=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!b._driver){X(J);return}for(var ne=As.concat("_initStorage"),me=0,ke=ne.length;me<ke;me++){var Fe=ne[me],Ne=!vp(Go,Fe);if((Ne||b[Fe])&&typeof b[Fe]!="function"){X(J);return}}var lt=function(){for(var Ur=function(Cp){return function(){var _p=new Error("Method "+Cp+" is not implemented by the current driver"),Ol=f.reject(_p);return d(Ol,arguments[arguments.length-1]),Ol}},zs=0,wp=Go.length;zs<wp;zs++){var Ms=Go[zs];b[Ms]||(b[Ms]=Ur(Ms))}};lt();var st=function(Ur){Vr[Q]&&console.info("Redefining LocalForage driver: "+Q),Vr[Q]=b,$l[Q]=Ur,j()};"_support"in b?b._support&&typeof b._support=="function"?b._support().then(st,X):st(!!b._support):st(!0)}catch(Nt){X(Nt)}});return p(O,A,z),O},v.prototype.driver=function(){return this._driver||null},v.prototype.getDriver=function(b,A,z){var O=Vr[b]?f.resolve(Vr[b]):f.reject(new Error("Driver not found."));return p(O,A,z),O},v.prototype.getSerializer=function(b){var A=f.resolve(pe);return p(A,b),A},v.prototype.ready=function(b){var A=this,z=A._driverSet.then(function(){return A._ready===null&&(A._ready=A._initDriver()),A._ready});return p(z,b,b),z},v.prototype.setDriver=function(b,A,z){var O=this;Pl(b)||(b=[b]);var j=this._getSupportedDrivers(b);function X(){O._config.driver=O.driver()}function Q(me){return O._extend(me),X(),O._ready=O._initStorage(O._config),O._ready}function J(me){return function(){var ke=0;function Fe(){for(;ke<me.length;){var Ne=me[ke];return ke++,O._dbInfo=null,O._ready=null,O.getDriver(Ne).then(Q).catch(Fe)}X();var lt=new Error("No available storage method found.");return O._driverSet=f.reject(lt),O._driverSet}return Fe()}}var ne=this._driverSet!==null?this._driverSet.catch(function(){return f.resolve()}):f.resolve();return this._driverSet=ne.then(function(){var me=j[0];return O._dbInfo=null,O._ready=null,O.getDriver(me).then(function(ke){O._driver=ke._driver,X(),O._wrapLibraryMethodsWithReady(),O._initDriver=J(j)})}).catch(function(){X();var me=new Error("No available storage method found.");return O._driverSet=f.reject(me),O._driverSet}),p(this._driverSet,A,z),this._driverSet},v.prototype.supports=function(b){return!!$l[b]},v.prototype._extend=function(b){Is(this,b)},v.prototype._getSupportedDrivers=function(b){for(var A=[],z=0,O=b.length;z<O;z++){var j=b[z];this.supports(j)&&A.push(j)}return A},v.prototype._wrapLibraryMethodsWithReady=function(){for(var b=0,A=As.length;b<A;b++)bp(this,As[b])},v.prototype.createInstance=function(b){return new v(b)},v}(),xp=new yp;r.exports=xp},{3:3}]},{},[4])(4)})}(ca)),ca.exports}var g_=v_();const Wu=p_(g_),op=e=>e,m_=(e,t)=>{try{return e()}catch{return t()}},b_=(e,t,n=op)=>{const r=localStorage.getItem(e),o=r?m_(()=>n(JSON.parse(r)),t):t(),i=Mo(o);return tt(i,()=>{localStorage.setItem(e,JSON.stringify(ze(i)))}),i},vs=async(e,t,n=op)=>{const r=await Wu.getItem(e),o=Mo(r?n(r):t());return tt(o,async()=>{await Wu.setItem(e,ze(o))}),o},y_=b_("settings",()=>({autoUploadImport:!1,ignoreUploadWarn:!1,ignoreWasmWarn:!1,maxShowNodeSize:2e3})),x_=await vs("importTime",()=>({})),w_=await vs("githubJpg",()=>({}),e=>(Object.keys(e).forEach(t=>{const n=e[t];if(n.startsWith("https://")){const r=d_(n);r?e[t]=r:delete e[t]}}),e)),C_=await vs("githubZip",()=>({}),e=>(Object.keys(e).forEach(t=>{const n=e[t];if(np(n))return;const r=rp(n);r?e[t]=r:delete e[t]}),e)),__=await vs("url",()=>({}),e=>(Object.keys(e).forEach(t=>{if(np(t))return;const n=rp(t);n&&(e[n]=e[t]),delete e[t]}),e)),S_=()=>({settingsStore:y_,snapshotImportTime:x_,snapshotImageId:w_,snapshotImportId:C_,importSnapshotId:__}),E_=Te({__name:"ErrorDlg",setup(e){const t=e_(),{settingsStore:n}=S_();return(r,o)=>{const i=wl,s=b2;return Nn(),Ro(Ye,null,[Qe(i,{show:Ve(t).githubErrorDlgVisible,"onUpdate:show":o[0]||(o[0]=a=>Ve(t).githubErrorDlgVisible=a),preset:"dialog",title:"生成分享链接失败",type:"success"},{default:wr(()=>[...o[4]||(o[4]=[ct("div",null,"生成分享链接需要以下条件",-1),ct("div",null,[Xt(" 在当前浏览器登录 "),ct("a",{href:"https://github.com",target:"_blank",rel:"noopener noreferrer"}," github.com ")],-1)])]),_:1},8,["show"]),Qe(i,{show:Ve(t).networkErrorDlgVisible,"onUpdate:show":o[1]||(o[1]=a=>Ve(t).networkErrorDlgVisible=a),preset:"dialog",title:"访问其它域名资源失败",type:"success"},{default:wr(()=>[...o[5]||(o[5]=[ct("div",null,"访问其它域名资源需要以下条件",-1),ct("div",null,[Xt(" 1. 安装脚本管理器, 如 "),ct("a",{href:"https://violentmonkey.github.io/",target:"_blank",rel:"noopener noreferrer"}," Violentmonkey ")],-1),ct("div",null,[Xt(" 2. 安装油猴脚本 "),ct("a",{href:"https://github.com/gkd-kit/network-extension",target:"_blank",rel:"noopener noreferrer"}," network-extension ")],-1),ct("div",null,"3. 在当前网站启用上述油猴脚本的API注入功能",-1),ct("div",null,[Xt(" 4. 分享文件或导入快照额外需浏览器登录 "),ct("a",{href:"https://github.com",target:"_blank",rel:"noopener noreferrer"}," github.com ")],-1)])]),_:1},8,["show"]),Qe(i,{show:Ve(t).wasmErrorDlgVisible,"onUpdate:show":o[3]||(o[3]=a=>Ve(t).wasmErrorDlgVisible=a),preset:"dialog",title:"浏览器不支持或版本过低",type:"warning",positiveText:"确定"},{default:wr(()=>[o[7]||(o[7]=ct("div",null,[Xt(" 选择器的正则表达式一致性需要使用 "),ct("a",{href:"https://developer.chrome.com/blog/wasmgc?hl=zh-cn",target:"_blank",rel:"noopener noreferrer"},"WASM(GC)")],-1)),o[8]||(o[8]=ct("div",{"mt-10px":""},"请使用 Chrome119/Edge119/Firefox120 或最新版本",-1)),Qe(s,{checked:Ve(n).ignoreWasmWarn,"onUpdate:checked":o[2]||(o[2]=a=>Ve(n).ignoreWasmWarn=a),class:"mt-10px"},{default:wr(()=>[...o[6]||(o[6]=[Xt(" 不关注一致性, 不再提醒 ",-1)])]),_:1},8,["checked"])]),_:1},8,["show"])],64)}}}),T_=Te({__name:"App",setup(e){const t={common:{lineHeight:"20px"}},n=Ex(()=>{document.activeElement instanceof HTMLButtonElement&&document.activeElement.blur()},1e3);return xt("click",()=>{n()}),(r,o)=>{const i=Ch;return Nn(),Ro(Ye,null,[Qe(i,{abstract:"",locale:Ve(Pb),dateLocale:Ve(d0),themeOverrides:t},{default:wr(()=>[Qe(E_),Qe(Ve(Gh))]),_:1},8,["locale","dateLocale"]),Qe(Ve(i_))],64)}}}),R_="modulepreload",P_=function(e,t){return new URL(e,t).href},Vu={},Yn=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let u=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=u(n.map(c=>{if(c=P_(c,r),c in Vu)return;Vu[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(!!r)for(let g=s.length-1;g>=0;g--){const y=s[g];if(y.href===c&&(!f||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":R_,f||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((g,y)=>{h.addEventListener("load",g),h.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})},$_=(e,t)=>{try{return new URL(e,t)}catch{}},ip=new Set,Xn=e=>(ip.add(e),e),Uu=e=>{var n;const t=(n=String(e.params.github_asset_id).match(/^\d+/))==null?void 0:n[0];return t?{path:"/i",query:{...e.query,url:h_(t)}}:{path:"/404"}},sp=_C({history:Jw("/"),routes:[{path:"/",component:Xn(()=>Yn(()=>import("./HomePage-Bc83qKTK.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url)),meta:{title:"首页"}},{path:"/snapshot/:snapshotId",name:"snapshot",component:Xn(()=>Yn(()=>import("./SnapshotPage-DDESkWey.js"),__vite__mapDeps([9,10,6,11,12,1,2,3,4,5,13,14]),import.meta.url)),meta:{title:"快照"}},{path:"/i",component:Xn(()=>Yn(()=>import("./ImportPage-BSN51fsg.js"),__vite__mapDeps([15,3,7,4]),import.meta.url)),meta:{title:"导入快照"}},{path:"/i/:github_asset_id",redirect:Uu},{path:"/import",redirect(e){return{path:"/i",query:e.query}}},{path:"/import/:github_asset_id",redirect:Uu},{path:"/device",component:Xn(()=>Yn(()=>import("./DevicePage-U_3kdyd1.js"),__vite__mapDeps([16,3,13,8,6,5,2]),import.meta.url)),beforeEnter(e,t,n){const r=$_(String(e.query.url));if(r){localStorage.setItem("device_link",r.origin);const o={...e.query};return delete o.url,n({...e,query:o})}n()},meta:{title:"连接设备"}},{path:"/selector",component:Xn(()=>Yn(()=>import("./SelectorPage-BYz6KuKu.js"),__vite__mapDeps([17,10,6,11,2]),import.meta.url)),meta:{title:"选择器"}},{path:"/svg",component:Xn(()=>Yn(()=>import("./SvgPage-CQljgvlO.js"),__vite__mapDeps([18,2]),import.meta.url)),meta:{title:"SVG"}},{path:"/:pathMatch(.*)*",component:Xn(()=>Yn(()=>import("./_404Page-DUCCFNAB.js"),__vite__mapDeps([19,12]),import.meta.url))}]});sp.beforeEach(e=>{document.title=String(e.meta.title||"GKD")});setTimeout(()=>{ip.forEach(e=>e())},3e3);const O_=`GIT commit
886
+ hash: 764eff89e8d4690dc013536814c064a7657fe7bb
887
+ date: 2025-09-23T23:03:17+08:00
888
+ message: fix: textImportValue
889
889
  refs: grafted, HEAD -> main, origin/main
890
890
  author_name: 二刺螈
891
891
  author_email: i@songe.li`,k_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
@@ -977,4 +977,4 @@ author_email: i@songe.li`,k_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0
977
977
  <path
978
978
  d="M1 21L12 2l11 19zm3.45-2h15.1L12 6zM12 18q.425 0 .713-.288T13 17t-.288-.712T12 16t-.712.288T11 17t.288.713T12 18m-1-3h2v-5h-2zm1-2.5" />
979
979
  </svg>`,SS=Object.freeze(Object.defineProperty({__proto__:null,default:_S},Symbol.toStringTag,{value:"Module"})),ES=["data-name","viewBox"],TS=["xlink:href"],RS=Object.assign({"/src/assets/svg/arrow.svg":A_,"/src/assets/svg/close.svg":z_,"/src/assets/svg/code.svg":B_,"/src/assets/svg/copy.svg":H_,"/src/assets/svg/delete.svg":D_,"/src/assets/svg/device.svg":N_,"/src/assets/svg/discussion.svg":V_,"/src/assets/svg/export.svg":K_,"/src/assets/svg/github.svg":G_,"/src/assets/svg/home.svg":X_,"/src/assets/svg/import.svg":Q_,"/src/assets/svg/info.svg":eS,"/src/assets/svg/minus.svg":nS,"/src/assets/svg/ok.svg":oS,"/src/assets/svg/path.svg":sS,"/src/assets/svg/prop.svg":lS,"/src/assets/svg/search-list.svg":uS,"/src/assets/svg/search.svg":dS,"/src/assets/svg/settings.svg":pS,"/src/assets/svg/share.svg":gS,"/src/assets/svg/system.svg":bS,"/src/assets/svg/terminal.svg":xS,"/src/assets/svg/test.svg":CS,"/src/assets/svg/warn.svg":SS}),Ku="__svg_icon_container__",Fi=document.body.querySelector("#"+Ku)||(()=>{const e=document.createElementNS("http://www.w3.org/2000/svg","svg");return e.setAttribute("id",Ku),e.style.position="absolute",e.style.width="0",e.style.height="0",document.body.insertBefore(e,document.body.firstChild),e})();Fi.children.length&&(Fi.innerHTML="");const ap="svg-icon-",PS=new DOMParser,$S=["viewBox"],lp=Object.fromEntries(Object.entries(RS).filter(([e,t])=>t.default.trim()).map(([e,t])=>[e.split("/").at(-1).split(".")[0],t.default]).sort((e,t)=>e[0].localeCompare(t[0])).map(([e,t])=>{t.includes('xmlns="http://www.w3.org/2000/svg"')||(t=t.trimStart().replace("<svg",'<svg xmlns="http://www.w3.org/2000/svg"'));const n=PS.parseFromString(t,"image/svg+xml").documentElement,r=document.createElementNS("http://www.w3.org/2000/svg","symbol");return r.setAttribute("id",ap+e),$S.forEach(o=>{const i=n.getAttribute(o);i&&r.setAttributeNS(null,o,i)}),Array.from(n.children).forEach(o=>{r.appendChild(o)}),[e,r]}));Object.values(lp).forEach(e=>{Fi.appendChild(e)});Fi.setAttribute("data-update-time",Date.now().toString());const OS=Te({__name:"SvgIcon",props:{name:{},h:{}},setup(e){const t=e,n=Z(()=>"#"+ap+t.name),r=Z(()=>{var o;return((o=lp[t.name])==null?void 0:o.getAttribute("viewBox"))||void 0});return(o,i)=>o.name?(Nn(),Ro("svg",{key:0,class:"svg-icon","data-name":o.name,viewBox:r.value,style:Pr({"--svg-h":t.h})},[ct("use",{"xlink:href":n.value},null,8,TS)],12,ES)):vd("",!0)}}),Rl=Td(T_);Rl.use(sp);Rl.component("SvgIcon",OS);Rl.mount(ep);console.log(O_);export{$_ as $,Gt as A,Mo as B,xt as C,v3 as D,Do as E,dn as F,Qe as G,tt as H,HS as I,Ro as J,Nn as K,ct as L,wr as M,cs as N,vd as O,Ve as P,DS as Q,yu as R,Ye as S,Xt as T,dv as U,dt as V,b2 as W,S_ as X,w3 as Y,o3 as Z,wl as _,le as a,n3 as a$,as as a0,dr as a1,et as a2,Jx as a3,Xx as a4,jS as a5,gh as a6,So as a7,ki as a8,Mm as a9,p3 as aA,Yn as aB,DC as aC,Dn as aD,nl as aE,Zi as aF,Ho as aG,sg as aH,JS as aI,QS as aJ,ZS as aK,h3 as aL,C_ as aM,w_ as aN,__ as aO,y_ as aP,l3 as aQ,c2 as aR,JC as aS,e3 as aT,XC as aU,r3 as aV,g3 as aW,yc as aX,ju as aY,x3 as aZ,r_ as a_,US as aa,KS as ab,Hr as ac,Ii as ad,Ie as ae,Dr as af,ls as ag,Fa as ah,GS as ai,ml as aj,d2 as ak,bl as al,La as am,Qu as an,Ft as ao,Fr as ap,BS as aq,Hn as ar,YS as as,Gc as at,Bt as au,f3 as av,Ca as aw,LS as ax,FS as ay,Pr as az,ue as b,fr as b$,i3 as b0,yh as b1,ns as b2,vl as b3,rs as b4,$o as b5,pi as b6,e_ as b7,d_ as b8,s3 as b9,Fm as bA,Uc as bB,Sn as bC,ko as bD,x_ as bE,Kf as bF,qf as bG,zi as bH,ft as bI,MS as bJ,Bv as bK,ze as bL,p_ as bM,a3 as bN,b3 as bO,y3 as bP,Wu as bQ,c3 as bR,u3 as bS,$d as bT,Ac as bU,Rn as bV,NS as bW,jp as bX,eb as bY,Ym as bZ,ul as b_,rp as ba,m3 as bb,h_ as bc,d3 as bd,Pd as be,ur as bf,nn as bg,Pt as bh,Jt as bi,vt as bj,ts as bk,Vc as bl,Wn as bm,Vx as bn,us as bo,Kc as bp,Yc as bq,Km as br,il as bs,Ha as bt,WS as bu,qS as bv,XS as bw,Nm as bx,Ar as by,Dm as bz,to as c,ey as c0,Xd as c1,J1 as c2,dl as c3,Bi as c4,Ud as c5,Nr as c6,$y as c7,No as c8,F0 as c9,Qx as cA,vi as cB,C3 as cC,rh as ca,Ir as cb,os as cc,pu as cd,Jd as ce,Wr as cf,th as cg,jr as ch,hn as ci,Yd as cj,Gd as ck,Pa as cl,qd as cm,wx as cn,_0 as co,IS as cp,Sb as cq,VS as cr,_n as cs,Ji as ct,t3 as cu,Zr as cv,Qr as cw,kb as cx,ea as cy,Wo as cz,On as d,V as e,fe as f,fa as g,Te as h,Ao as i,Rb as j,I as k,mh as l,pt as m,ll as n,de as o,Od as p,Z as q,Ut as r,we as s,Mt as t,jt as u,zS as v,zl as w,Pn as x,nt as y,He as z};
980
- //# sourceMappingURL=index-D17uyErR.js.map
980
+ //# sourceMappingURL=index-B_uD-bae.js.map