@gkd-kit/inspect 0.0.1756704874514 → 0.0.1756717177622

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 (49) hide show
  1. package/dist/404.html +3 -3
  2. package/dist/assets/{ActionCard.vue_vue_type_script_setup_true_lang-BpoVPdXQ.js → ActionCard.vue_vue_type_script_setup_true_lang-BY98wOL2.js} +2 -2
  3. package/dist/assets/{ActionCard.vue_vue_type_script_setup_true_lang-BpoVPdXQ.js.map → ActionCard.vue_vue_type_script_setup_true_lang-BY98wOL2.js.map} +1 -1
  4. package/dist/assets/DevicePage-2eLd65ot.js +49 -0
  5. package/dist/assets/DevicePage-2eLd65ot.js.map +1 -0
  6. package/dist/assets/{HomePage-uALQkxxX.js → HomePage-47_TAQ9h.js} +2 -2
  7. package/dist/assets/{HomePage-uALQkxxX.js.map → HomePage-47_TAQ9h.js.map} +1 -1
  8. package/dist/assets/{ImportPage-oFwqKPWx.js → ImportPage-DmYJkTpm.js} +2 -2
  9. package/dist/assets/{ImportPage-oFwqKPWx.js.map → ImportPage-DmYJkTpm.js.map} +1 -1
  10. package/dist/assets/{Input-MLbYIrBf.js → Input-Br-unvKw.js} +2 -2
  11. package/dist/assets/{Input-MLbYIrBf.js.map → Input-Br-unvKw.js.map} +1 -1
  12. package/dist/assets/{SelectorPage-DTlkLP7T.js → SelectorPage-o9LIj-I1.js} +2 -2
  13. package/dist/assets/{SelectorPage-DTlkLP7T.js.map → SelectorPage-o9LIj-I1.js.map} +1 -1
  14. package/dist/assets/{SnapshotPage-DCWlk9Cq.js → SnapshotPage-055LCAoq.js} +4 -4
  15. package/dist/assets/{SnapshotPage-DCWlk9Cq.js.map → SnapshotPage-055LCAoq.js.map} +1 -1
  16. package/dist/assets/{SvgPage-DcENeOza.js → SvgPage-BagXHNio.js} +2 -2
  17. package/dist/assets/{SvgPage-DcENeOza.js.map → SvgPage-BagXHNio.js.map} +1 -1
  18. package/dist/assets/{TrackGraph-BIzGD2Km.js → TrackGraph-30Lwxufc.js} +3 -3
  19. package/dist/assets/{TrackGraph-BIzGD2Km.js.map → TrackGraph-30Lwxufc.js.map} +1 -1
  20. package/dist/assets/{_404Page-CLdSmX_l.js → _404Page-EBmWBN0j.js} +2 -2
  21. package/dist/assets/{_404Page-CLdSmX_l.js.map → _404Page-EBmWBN0j.js.map} +1 -1
  22. package/dist/assets/chunk-FQ5_3Fvt.js +3 -0
  23. package/dist/assets/{chunk-HzS8rQ9E.js.map → chunk-FQ5_3Fvt.js.map} +1 -1
  24. package/dist/assets/{dayjs.min-CXaUKNLP.js → dayjs.min-DuZZSErs.js} +3 -3
  25. package/dist/assets/{dayjs.min-CXaUKNLP.js.map → dayjs.min-DuZZSErs.js.map} +1 -1
  26. package/dist/assets/{error-pxbRXgz7.js → error-CWzaCaGi.js} +2 -2
  27. package/dist/assets/{error-pxbRXgz7.js.map → error-CWzaCaGi.js.map} +1 -1
  28. package/dist/assets/{import-BWnimFid.js → import-D46jGS_0.js} +2 -2
  29. package/dist/assets/{import-BWnimFid.js.map → import-D46jGS_0.js.map} +1 -1
  30. package/dist/assets/{index-5LByPYNs.js → index-BDgd4jKy.js} +8 -6
  31. package/dist/assets/index-BDgd4jKy.js.map +1 -0
  32. package/dist/assets/{index-3FtFpAIz.js → index-GTBK_16Z.js} +3 -3
  33. package/dist/assets/{index-3FtFpAIz.js.map → index-GTBK_16Z.js.map} +1 -1
  34. package/dist/assets/{jszip.min-9EOOQ8XY.js → jszip.min-C6z3zxPP.js} +2 -2
  35. package/dist/assets/{jszip.min-9EOOQ8XY.js.map → jszip.min-C6z3zxPP.js.map} +1 -1
  36. package/dist/assets/{node-uOSHfhaQ.js → node-Dqax9l0e.js} +2 -2
  37. package/dist/assets/{node-uOSHfhaQ.js.map → node-Dqax9l0e.js.map} +1 -1
  38. package/dist/assets/snapshot-B7-fb-hQ.js +3 -0
  39. package/dist/assets/snapshot-B7-fb-hQ.js.map +1 -0
  40. package/dist/assets/{table-BE5Sn4LN.js → table-x678kzFG.js} +2 -2
  41. package/dist/assets/{table-BE5Sn4LN.js.map → table-x678kzFG.js.map} +1 -1
  42. package/dist/index.html +3 -3
  43. package/package.json +1 -1
  44. package/dist/assets/DevicePage-BvODR-Zv.js +0 -49
  45. package/dist/assets/DevicePage-BvODR-Zv.js.map +0 -1
  46. package/dist/assets/chunk-HzS8rQ9E.js +0 -3
  47. package/dist/assets/index-5LByPYNs.js.map +0 -1
  48. package/dist/assets/snapshot-CuHTnIhe.js +0 -3
  49. package/dist/assets/snapshot-CuHTnIhe.js.map +0 -1
@@ -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.1756704874514/files/dist/assets/HomePage-uALQkxxX.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756704874514/files/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-BpoVPdXQ.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756704874514/files/dist/assets/Input-MLbYIrBf.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756704874514/files/dist/assets/snapshot-CuHTnIhe.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756704874514/files/dist/assets/chunk-HzS8rQ9E.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756704874514/files/dist/assets/dayjs.min-CXaUKNLP.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756704874514/files/dist/assets/node-uOSHfhaQ.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756704874514/files/dist/assets/import-BWnimFid.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756704874514/files/dist/assets/table-BE5Sn4LN.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756704874514/files/dist/assets/SnapshotPage-DCWlk9Cq.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756704874514/files/dist/assets/index-3FtFpAIz.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756704874514/files/dist/assets/index-CdMJYWIX.css","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756704874514/files/dist/assets/_plugin-vue_export-helper-DlAUqK2U.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756704874514/files/dist/assets/error-pxbRXgz7.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756704874514/files/dist/assets/SnapshotPage-BrBfbf_-.css","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756704874514/files/dist/assets/ImportPage-oFwqKPWx.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756704874514/files/dist/assets/DevicePage-BvODR-Zv.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756704874514/files/dist/assets/SelectorPage-DTlkLP7T.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756704874514/files/dist/assets/SvgPage-DcENeOza.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756704874514/files/dist/assets/_404Page-CLdSmX_l.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.1756717177622/files/dist/assets/HomePage-47_TAQ9h.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756717177622/files/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-BY98wOL2.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756717177622/files/dist/assets/Input-Br-unvKw.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756717177622/files/dist/assets/snapshot-B7-fb-hQ.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756717177622/files/dist/assets/chunk-FQ5_3Fvt.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756717177622/files/dist/assets/dayjs.min-DuZZSErs.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756717177622/files/dist/assets/node-Dqax9l0e.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756717177622/files/dist/assets/import-D46jGS_0.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756717177622/files/dist/assets/table-x678kzFG.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756717177622/files/dist/assets/SnapshotPage-055LCAoq.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756717177622/files/dist/assets/index-GTBK_16Z.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756717177622/files/dist/assets/index-CdMJYWIX.css","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756717177622/files/dist/assets/_plugin-vue_export-helper-DlAUqK2U.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756717177622/files/dist/assets/error-CWzaCaGi.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756717177622/files/dist/assets/SnapshotPage-BrBfbf_-.css","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756717177622/files/dist/assets/ImportPage-DmYJkTpm.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756717177622/files/dist/assets/DevicePage-2eLd65ot.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756717177622/files/dist/assets/SelectorPage-o9LIj-I1.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756717177622/files/dist/assets/SvgPage-BagXHNio.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1756717177622/files/dist/assets/_404Page-EBmWBN0j.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 wp(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,x;return{before(y){g=y.bem.b,x=y.bem.els,y.bem.els=null},after(y){y.bem.b=g,y.bem.els=x},$({context:y,props:C}){return h=typeof h=="string"?h:h({context:y,props:C}),y.bem.b=h,`${(C==null?void 0:C.bPrefix)||t}${y.bem.b}`}}}function a(h){let g;return{before(x){g=x.bem.els},after(x){x.bem.els=g},$({context:x,props:y}){return h=typeof h=="string"?h:h({context:x,props:y}),x.bem.els=h.split(",").map(C=>C.trim()),x.bem.els.map(C=>`${(y==null?void 0:y.bPrefix)||t}${x.bem.b}${n}${C}`).join(", ")}}}function l(h){return{$({context:g,props:x}){h=typeof h=="string"?h:h({context:g,props:x});const y=h.split(",").map(O=>O.trim());function C(O){return y.map(T=>`&${(x==null?void 0:x.bPrefix)||t}${g.bem.b}${O!==void 0?`${n}${O}`:""}${r}${T}`).join(", ")}const A=g.bem.els;return A!==null?C(A[0]):C()}}}function u(h){return{$({context:g,props:x}){h=typeof h=="string"?h:h({context:g,props:x});const y=g.bem.els;return`&:not(${(x==null?void 0:x.bPrefix)||t}${g.bem.b}${y!==null&&y.length>0?`${n}${y[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 Cp(e){let t=0;for(let n=0;n<e.length;++n)e[n]==="&"&&++t;return t}const Ku=/\s*,(?![^(]*\))\s*/g,_p=/\s+/g;function Sp(e,t){const n=[];return t.split(Ku).forEach(r=>{let o=Cp(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 Ep(e,t){const n=[];return t.split(Ku).forEach(r=>{e.forEach(o=>{n.push((o&&o+" ")+r)})}),n}function Tp(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=Sp(t,n):t=Ep(t,n))}),t.join(", ").replace(_p," ")}function $l(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function Hi(e,t){return(t??document.head).querySelector(`style[cssr-id="${e}"]`)}function Rp(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 Pp=/[A-Z]/g;function qu(e){return e.replace(Pp,t=>"-"+t.toLowerCase())}function Op(e,t=" "){return typeof e=="object"&&e!==null?` {
3
3
  `+Object.entries(e).map(n=>t+` ${qu(n[0])}: ${n[1]};`).join(`
4
4
  `)+`
@@ -879,11 +879,13 @@ ${t}
879
879
  transform: translate(${n}, 0);
880
880
  `),K("&.notification-transition-leave-from, &.notification-transition-enter-to",`
881
881
  transform: translate(0, 0);
882
- `)])}const kh="n-notification-api",hw=Object.assign(Object.assign({},gt.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),pw=Te({name:"NotificationProvider",props:hw,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()},x=dn(Object.assign(Object.assign({},p),{key:h,destroy:g,hide:g,deactivate:g})),{max:y}=e;if(y&&n.value.length-o.size>=y){let C=!1,A=0;for(const O of n.value){if(!o.has(O.key)){r[O.key]&&(O.destroy(),C=!0);break}A++}C||n.value.splice(A,1)}return n.value.push(x),x}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=gt("Notification","-notification",dw,iw,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(kh,u),et(us,{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(Xe,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(sw,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&r!=="top"&&r!=="bottom",placement:r},{default:()=>this.notificationList.map(o=>I(fw,Object.assign({ref:i=>{const s=o.key;i===null?delete this.notificationRefs[s]:this.notificationRefs[s]=i}},ts(o,["destroy","hide","deactivate"]),{internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:o.keepAliveOnHover===void 0?this.keepAliveOnHover:o.keepAliveOnHover})))})):null)}});function vw(){const e=Ie(kh,null);return e===null&&Fr("use-notification","No outer `n-notification-provider` found."),e}const gw=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)}}}),mw={message:J2,notification:vw,loadingBar:N2,dialog:b2,modal:R2};function bw({providersAndProps:e,configProviderProps:t}){let n=_d(o);const r={app:n};function o(){return I(yh,Ve(t),{default:()=>e.map(({type:a,Provider:l,props:u})=>I(l,Ve(u),{default:()=>I(gw,{onSetup:()=>r[a]=mw[a]()})}))})}let i;return Dr&&(i=document.createElement("div"),document.body.appendChild(i),n.mount(i)),Object.assign({unmount:()=>{var a;if(n===null||i===null){kr("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 yw(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:Q2,props:n});break;case"notification":a.push({type:u,Provider:pw,props:o});break;case"dialog":a.push({type:u,Provider:M2,props:r});break;case"loadingBar":a.push({type:u,Provider:j2,props:i});break;case"modal":a.push({type:u,Provider:nw,props:s})}}),bw({providersAndProps:a,configProviderProps:t})}const xr=typeof document<"u";function Ih(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function xw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ih(e.default)}const Fe=Object.assign;function ra(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,zh=/#/g,ww=/&/g,Cw=/\//g,_w=/=/g,Sw=/\?/g,Mh=/\+/g,Ew=/%5B/g,Tw=/%5D/g,Bh=/%5E/g,Rw=/%60/g,Lh=/%7B/g,Pw=/%7C/g,Hh=/%7D/g,Ow=/%20/g;function Cl(e){return encodeURI(""+e).replace(Pw,"|").replace(Ew,"[").replace(Tw,"]")}function $w(e){return Cl(e).replace(Lh,"{").replace(Hh,"}").replace(Bh,"^")}function Ia(e){return Cl(e).replace(Mh,"%2B").replace(Ow,"+").replace(zh,"%23").replace(ww,"%26").replace(Rw,"`").replace(Lh,"{").replace(Hh,"}").replace(Bh,"^")}function Aw(e){return Ia(e).replace(_w,"%3D")}function kw(e){return Cl(e).replace(zh,"%23").replace(Sw,"%3F")}function Iw(e){return e==null?"":kw(e).replace(Cw,"%2F")}function Io(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const zw=/\/$/,Mw=e=>e.replace(zw,"");function oa(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=Dw(r??t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:Io(s)}}function Bw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function yu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Lw(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])&&Dh(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 Dh(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Hw(e[n],t[n]))return!1;return!0}function Hw(e,t){return tn(e)?xu(e,t):tn(t)?xu(t,e):e===t}function xu(e,t){return tn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Dw(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 An={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 Fw(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),Mw(e)}const jw=/^[^#]+#/;function Nw(e,t){return e.replace(jw,"#")+t}function Ww(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 fs=()=>({left:window.scrollX,top:window.scrollY});function Vw(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=Ww(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 wu(e,t){return(history.state?history.state.position-t:-1)+e}const za=new Map;function Uw(e,t){za.set(e,t)}function Kw(e){const t=za.get(e);return za.delete(e),t}let qw=()=>location.protocol+"//"+location.host;function Fh(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),yu(l,"")}return yu(n,e)+r+o}function Gw(e,t,n,r){let o=[],i=[],s=null;const a=({state:d})=>{const p=Fh(e,location),h=n.value,g=t.value;let x=0;if(d){if(n.value=p,t.value=d,s&&s===h){s=null;return}x=g?d.position-g.position:0}else r(p);o.forEach(y=>{y(n.value,h,{delta:x,type:zo.pop,direction:x?x>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(Fe({},d.state,{scroll:fs()}),"")}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 Cu(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?fs():null}}function Yw(e){const{history:t,location:n}=window,r={value:Fh(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:qw()+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=Fe({},t.state,Cu(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=Fe({},o.value,t.state,{forward:l,scroll:fs()});i(c.current,c,!0);const f=Fe({},Cu(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 Xw(e){e=Fw(e);const t=Yw(e),n=Gw(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=Fe({location:"",base:e,go:r,createHref:Nw.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 Zw(e){return typeof e=="string"||e&&typeof e=="object"}function jh(e){return typeof e=="string"||typeof e=="symbol"}const Nh=Symbol("");var _u;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(_u||(_u={}));function Mr(e,t){return Fe(new Error,{type:e,[Nh]:!0},t)}function gn(e,t){return e instanceof Error&&Nh in e&&(t==null||!!(e.type&t))}const Su="[^/]+?",Qw={sensitive:!1,strict:!1,start:!0,end:!0},Jw=/[.+*?^${}()[\]/\\]/g;function eC(e,t){const n=Fe({},Qw,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(Jw,"\\$&"),p+=40;else if(d.type===1){const{value:h,repeatable:g,optional:x,regexp:y}=d;i.push({name:h,repeatable:g,optional:x});const C=y||Su;if(C!==Su){p+=10;try{new RegExp(`(${C})`)}catch(O){throw new Error(`Invalid custom RegExp for param "${h}" (${C}): `+O.message)}}let A=g?`((?:${C})(?:/(?:${C}))*)`:`(${C})`;f||(A=x&&u.length<2?`(?:/${A})`:"/"+A),x&&(A+="?"),o+=A,p+=20,x&&(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:x}=p,y=h in u?u[h]:"";if(tn(y)&&!g)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const C=tn(y)?y.join("/"):y;if(!C)if(x)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 tC(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 Wh(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=tC(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(Eu(r))return 1;if(Eu(o))return-1}return o.length-r.length}function Eu(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const nC={type:0,value:""},rC=/[a-zA-Z0-9_]/;function oC(e){if(!e)return[[]];if(e==="/")return[[nC]];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:rC.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 iC(e,t,n){const r=eC(oC(e.path),n),o=Fe(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function sC(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=Ru(f);g.aliasOf=p&&p.record;const x=Ou(t,f),y=[g];if("alias"in f){const O=typeof f.alias=="string"?[f.alias]:f.alias;for(const T of O)y.push(Ru(Fe({},g,{components:p?p.record.components:g.components,path:T,aliasOf:p?p.record:g})))}let C,A;for(const O of y){const{path:T}=O;if(d&&T[0]!=="/"){const _=d.record.path,m=_[_.length-1]==="/"?"":"/";O.path=d.record.path+(T&&m+T)}if(C=iC(O,d,x),p?p.alias.push(C):(A=A||C,A!==C&&A.alias.push(C),h&&f.name&&!Pu(C)&&s(f.name)),Vh(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 A?()=>{s(A)}:go}function s(f){if(jh(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=cC(f,n);n.splice(d,0,f),f.record.name&&!Pu(f)&&r.set(f.record.name,f)}function u(f,d){let p,h={},g,x;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw Mr(1,{location:f});x=p.record.name,h=Fe(Tu(d.params,p.keys.filter(A=>!A.optional).concat(p.parent?p.parent.keys.filter(A=>A.optional):[]).map(A=>A.name)),f.params&&Tu(f.params,p.keys.map(A=>A.name))),g=p.stringify(h)}else if(f.path!=null)g=f.path,p=n.find(A=>A.re.test(g)),p&&(h=p.parse(g),x=p.record.name);else{if(p=d.name?r.get(d.name):n.find(A=>A.re.test(d.path)),!p)throw Mr(1,{location:f,currentLocation:d});x=p.record.name,h=Fe({},d.params,f.params),g=p.stringify(h)}const y=[];let C=p;for(;C;)y.unshift(C.record),C=C.parent;return{name:x,path:g,params:h,matched:y,meta:lC(y)}}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 Tu(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ru(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:aC(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 aC(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 Pu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function lC(e){return e.reduce((t,n)=>Fe(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 cC(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;Wh(e,t[i])<0?r=i:n=i+1}const o=uC(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function uC(e){let t=e;for(;t=t.parent;)if(Vh(t)&&Wh(e,t)===0)return t}function Vh({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function fC(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(Mh," "),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 $u(e){let t="";for(let n in e){const r=e[n];if(n=Aw(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(tn(r)?r.map(i=>i&&Ia(i)):[r&&Ia(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function dC(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 hC=Symbol(""),Au=Symbol(""),ds=Symbol(""),_l=Symbol(""),Ma=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 Bn(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):Zw(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 ia(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(Ih(l)){const c=(l.__vccOpts||l)[t];c&&i.push(Bn(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=xw(c)?c.default:c;s.mods[a]=c,s.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&Bn(p,n,r,s,a,o)()}))}}return i}function ku(e){const t=Ie(ds),n=Ie(_l),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=Iu(l[u-2]);return u>1&&Iu(c)===p&&f[f.length-1].path!==p?f.findIndex(zr.bind(null,l[u-2])):d}),i=Z(()=>o.value>-1&&bC(n.params,r.value.params)),s=Z(()=>o.value>-1&&o.value===n.matched.length-1&&Dh(n.params,r.value.params));function a(l={}){if(mC(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 pC(e){return e.length===1?e[0]:e}const vC=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:ku,setup(e,{slots:t}){const n=dn(ku(e)),{options:r}=Ie(ds),o=Z(()=>({[zu(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[zu(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&pC(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)}}}),gC=vC;function mC(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 bC(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 Iu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const zu=(e,t,n)=>e??t??n,yC=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(Ma),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(hC,a),et(Ma,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 Mu(n.default,{Component:d,route:u});const p=f.props[c],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,x=I(d,Fe({},h,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Mu(n.default,{Component:x,route:u})||x}}});function Mu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Uh=yC;function xC(e){const t=sC(e.routes,e),n=e.parseQuery||fC,r=e.stringifyQuery||$u,o=e.history,i=eo(),s=eo(),a=eo(),l=He(An);let u=An;xr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ra.bind(null,D=>""+D),f=ra.bind(null,Iw),d=ra.bind(null,Io);function p(D,le){let U,he;return jh(D)?(U=t.getRecordMatcher(D),he=le):he=D,t.addRoute(he,U)}function h(D){const le=t.getRecordMatcher(D);le&&t.removeRoute(le)}function g(){return t.getRoutes().map(D=>D.record)}function x(D){return!!t.getRecordMatcher(D)}function y(D,le){if(le=Fe({},le||l.value),typeof D=="string"){const M=oa(n,D,le.path),H=t.resolve({path:M.path},le),W=o.createHref(M.fullPath);return Fe(M,H,{params:d(H.params),hash:Io(M.hash),redirectedFrom:void 0,href:W})}let U;if(D.path!=null)U=Fe({},D,{path:oa(n,D.path,le.path).path});else{const M=Fe({},D.params);for(const H in M)M[H]==null&&delete M[H];U=Fe({},D,{params:f(M)}),le.params=f(le.params)}const he=t.resolve(U,le),ke=D.hash||"";he.params=c(d(he.params));const w=Bw(r,Fe({},D,{hash:$w(ke),path:he.path})),S=o.createHref(w);return Fe({fullPath:w,hash:ke,query:r===$u?dC(D.query):D.query||{}},he,{redirectedFrom:void 0,href:S})}function C(D){return typeof D=="string"?oa(n,D,l.value.path):Fe({},D)}function A(D,le){if(u!==D)return Mr(8,{from:le,to:D})}function O(D){return m(D)}function T(D){return O(Fe(C(D),{replace:!0}))}function _(D){const le=D.matched[D.matched.length-1];if(le&&le.redirect){const{redirect:U}=le;let he=typeof U=="function"?U(D):U;return typeof he=="string"&&(he=he.includes("?")||he.includes("#")?he=C(he):{path:he},he.params={}),Fe({query:D.query,hash:D.hash,params:he.path!=null?{}:D.params},he)}}function m(D,le){const U=u=y(D),he=l.value,ke=D.state,w=D.force,S=D.replace===!0,M=_(U);if(M)return m(Fe(C(M),{state:typeof M=="object"?Fe({},ke,M.state):ke,force:w,replace:S}),le||U);const H=U;H.redirectedFrom=le;let W;return!w&&Lw(r,he,U)&&(W=Mr(16,{to:H,from:he}),Pe(he,he,!0,!1)),(W?Promise.resolve(W):L(H,he)).catch(F=>gn(F)?gn(F,2)?F:Ae(F):ge(F,H,he)).then(F=>{if(F){if(gn(F,2))return m(Fe({replace:S},C(F.to),{state:typeof F.to=="object"?Fe({},ke,F.to.state):ke,force:w}),le||H)}else F=B(H,he,!0,S,ke);return V(H,he,F),F})}function E(D,le){const U=A(D,le);return U?Promise.reject(U):Promise.resolve()}function P(D){const le=it.values().next().value;return le&&typeof le.runWithContext=="function"?le.runWithContext(D):D()}function L(D,le){let U;const[he,ke,w]=wC(D,le);U=ia(he.reverse(),"beforeRouteLeave",D,le);for(const M of he)M.leaveGuards.forEach(H=>{U.push(Bn(H,D,le))});const S=E.bind(null,D,le);return U.push(S),Ee(U).then(()=>{U=[];for(const M of i.list())U.push(Bn(M,D,le));return U.push(S),Ee(U)}).then(()=>{U=ia(ke,"beforeRouteUpdate",D,le);for(const M of ke)M.updateGuards.forEach(H=>{U.push(Bn(H,D,le))});return U.push(S),Ee(U)}).then(()=>{U=[];for(const M of w)if(M.beforeEnter)if(tn(M.beforeEnter))for(const H of M.beforeEnter)U.push(Bn(H,D,le));else U.push(Bn(M.beforeEnter,D,le));return U.push(S),Ee(U)}).then(()=>(D.matched.forEach(M=>M.enterCallbacks={}),U=ia(w,"beforeRouteEnter",D,le,P),U.push(S),Ee(U))).then(()=>{U=[];for(const M of s.list())U.push(Bn(M,D,le));return U.push(S),Ee(U)}).catch(M=>gn(M,8)?M:Promise.reject(M))}function V(D,le,U){a.list().forEach(he=>P(()=>he(D,le,U)))}function B(D,le,U,he,ke){const w=A(D,le);if(w)return w;const S=le===An,M=xr?history.state:{};U&&(he||S?o.replace(D.fullPath,Fe({scroll:S&&M&&M.scroll},ke)):o.push(D.fullPath,ke)),l.value=D,Pe(D,le,U,S),Ae()}let re;function Y(){re||(re=o.listen((D,le,U)=>{if(!kt.listening)return;const he=y(D),ke=_(he);if(ke){m(Fe(ke,{replace:!0,force:!0}),he).catch(go);return}u=he;const w=l.value;xr&&Uw(wu(w.fullPath,U.delta),fs()),L(he,w).catch(S=>gn(S,12)?S:gn(S,2)?(m(Fe(C(S.to),{force:!0}),he).then(M=>{gn(M,20)&&!U.delta&&U.type===zo.pop&&o.go(-1,!1)}).catch(go),Promise.reject()):(U.delta&&o.go(-U.delta,!1),ge(S,he,w))).then(S=>{S=S||B(he,w,!1),S&&(U.delta&&!gn(S,8)?o.go(-U.delta,!1):U.type===zo.pop&&gn(S,20)&&o.go(-1,!1)),V(he,w,S)}).catch(go)}))}let se=eo(),oe=eo(),te;function ge(D,le,U){Ae(D);const he=oe.list();return he.length?he.forEach(ke=>ke(D,le,U)):console.error(D),Promise.reject(D)}function Re(){return te&&l.value!==An?Promise.resolve():new Promise((D,le)=>{se.add([D,le])})}function Ae(D){return te||(te=!D,Y(),se.list().forEach(([le,U])=>D?U(D):le()),se.reset()),D}function Pe(D,le,U,he){const{scrollBehavior:ke}=e;if(!xr||!ke)return Promise.resolve();const w=!U&&Kw(wu(D.fullPath,0))||(he||!U)&&history.state&&history.state.scroll||null;return Bt().then(()=>ke(D,le,w)).then(S=>S&&Vw(S)).catch(S=>ge(S,D,le))}const Be=D=>o.go(D);let ot;const it=new Set,kt={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:x,getRoutes:g,resolve:y,options:e,push:O,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(D){const le=this;D.component("RouterLink",gC),D.component("RouterView",Uh),D.config.globalProperties.$router=le,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>Ve(l)}),xr&&!ot&&l.value===An&&(ot=!0,O(o.location).catch(ke=>{}));const U={};for(const ke in An)Object.defineProperty(U,ke,{get:()=>l.value[ke],enumerable:!0});D.provide(ds,le),D.provide(_l,Mo(U)),D.provide(Ma,l);const he=D.unmount;it.add(D),D.unmount=function(){it.delete(D),it.size<1&&(u=An,re&&re(),re=null,l.value=An,ot=!1,te=!1),he()}}};function Ee(D){return D.reduce((le,U)=>le.then(()=>P(U)),Promise.resolve())}return kt}function wC(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 GS(){return Ie(ds)}function YS(e){return Ie(_l)}function Vo(e){return cf()?(fv(e),!0):!1}function CC(e){let t=!1,n;const r=lf(!0);return(...o)=>(t||(n=r.run(()=>e(...o)),t=!0),n)}const sa=new WeakMap,_C=(...e)=>{var t;const n=e[0],r=(t=ur())==null?void 0:t.proxy;if(r==null&&!Zf())throw new Error("injectLocal must be called in setup");return r&&sa.has(r)&&n in sa.get(r)?sa.get(r)[n]:Ie(...e)};function XS(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=lf(!0),n=r.run(()=>e(...i))),Vo(o),n)}const Sl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const SC=e=>e!=null,EC=Object.prototype.toString,TC=e=>EC.call(e)==="[object Object]",lr=()=>{};function RC(...e){if(e.length!==1)return Mt(...e);const t=e[0];return typeof t=="function"?Jt(zv(()=>({get:t,set:lr}))):de(t)}function El(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 Kh=e=>e();function PC(e,t={}){let n,r,o=lr;const i=l=>{clearTimeout(l),o(),o=lr};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 OC(...e){let t=0,n,r=!0,o=lr,i,s,a,l,u;!pt(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=lr)};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((x,y)=>{o=u?y:x,n=setTimeout(()=>{t=Date.now(),r=!0,x(g()),c()},Math.max(0,p-h))})),!l&&!n&&(n=setTimeout(()=>r=!0,p)),r=!1,i)}}function $C(e=Kh,t={}){const{initialState:n="active"}=t,r=RC(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 AC(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 Bu(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function bo(e){return Array.isArray(e)?e:[e]}function kC(e){return ur()}function qh(e,t=200,n={}){return El(PC(t,n),e)}function ZS(e,t=200,n={}){const r=de(Je(e)),o=qh(()=>{r.value=e.value},t,n);return tt(e,()=>o()),Tf(r)}function IC(e,t=200,n=!1,r=!0,o=!1){return El(OC(t,n,r,o),e)}function zC(e,t,n={}){const{eventFilter:r=Kh,...o}=n;return tt(e,El(r,t),o)}function MC(e,t,n={}){const{eventFilter:r,initialState:o="active",...i}=n,{eventFilter:s,pause:a,resume:l,isActive:u}=$C(r,{initialState:o});return{stop:zC(e,t,{...i,eventFilter:s}),pause:a,resume:l,isActive:u}}function Uo(e,t=!0,n){kC()?Gt(e,n):t?e():Bt(e)}function BC(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,Sl&&u()),Vo(l),{isPending:Tf(i),start:u,stop:l}}function LC(e,t,n){return tt(e,t,{...n,immediate:!0})}const pn=Sl?window:void 0,Gh=Sl?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 wt(...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=LC(()=>{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=TC(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 HC(){const e=He(!1),t=ur();return t&&Gt(()=>{e.value=!0},t),e}function Ko(e){const t=HC();return Z(()=>(t.value,!!e()))}function Yh(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(SC);return new Set(p)}),u=tt(()=>l.value,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 DC=Symbol("vueuse-ssr-width");function FC(){const e=Zf()?_C(DC,null):null;return typeof e=="number"?e:void 0}function jC(e,t={}){const{window:n=pn,ssrWidth:r=FC()}=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 Fo(()=>{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>=Bu(d[1])),p&&h&&(h=r<=Bu(p[1])),f?!h:h});return}o.value&&(s.value=n.matchMedia(Je(e)),a.value=s.value.matches)}),wt(s,"change",l,{passive:!0}),Z(()=>a.value)}function Lu(e,t={}){const{controls:n=!1,navigator:r=Gh}=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"};wt(i,"change",l,{passive:!0});const u=AC(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 QS(e={}){const{navigator:t=Gh,read:n=!1,source:r,copiedDuring:o=1500,legacy:i=!1}=e,s=Ko(()=>t&&"clipboard"in t),a=Lu("clipboard-read"),l=Lu("clipboard-write"),u=Z(()=>s.value||i),c=He(""),f=He(!1),d=BC(()=>f.value=!1,o,{immediate:!1});async function p(){let C=!(s.value&&y(a.value));if(!C)try{c.value=await t.clipboard.readText()}catch{C=!0}C&&(c.value=x())}u.value&&n&&wt(["copy","cut"],p,{passive:!0});async function h(C=Je(r)){if(u.value&&C!=null){let A=!(s.value&&y(l.value));if(!A)try{await t.clipboard.writeText(C)}catch{A=!0}A&&g(C),c.value=C,f.value=!0,d.start()}}function g(C){const A=document.createElement("textarea");A.value=C??"",A.style.position="absolute",A.style.opacity="0",document.body.appendChild(A),A.select(),document.execCommand("copy"),A.remove()}function x(){var C,A,O;return(O=(A=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:A.toString())!=null?O:""}function y(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__",NC=WC();function WC(){return hi in di||(di[hi]=di[hi]||{}),di[hi]}function VC(e,t){return NC[e]||t}function UC(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 KC={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()}},Hu="vueuse-storage";function JS(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=Y=>{console.error(Y)},initOnMounted:h}=r,g=(c?He:de)(typeof t=="function"?t():t),x=Z(()=>Je(e));if(!n)try{n=VC("getDefaultStorage",()=>{var Y;return(Y=pn)==null?void 0:Y.localStorage})()}catch(Y){p(Y)}if(!n)return g;const y=Je(t),C=UC(y),A=(o=r.serializer)!=null?o:KC[C],{pause:O,resume:T}=MC(g,()=>L(g.value),{flush:i,deep:s,eventFilter:d});tt(x,()=>B(),{flush:i});let _=!1;const m=Y=>{h&&!_||B(Y)},E=Y=>{h&&!_||re(Y)};f&&a&&(n instanceof Storage?wt(f,"storage",m,{passive:!0}):wt(f,Hu,E)),h?Uo(()=>{_=!0,B()}):B();function P(Y,se){if(f){const oe={key:x.value,oldValue:Y,newValue:se,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",oe):new CustomEvent(Hu,{detail:oe}))}}function L(Y){try{const se=n.getItem(x.value);if(Y==null)P(se,null),n.removeItem(x.value);else{const oe=A.write(Y);se!==oe&&(n.setItem(x.value,oe),P(se,oe))}}catch(se){p(se)}}function V(Y){const se=Y?Y.newValue:n.getItem(x.value);if(se==null)return l&&y!=null&&n.setItem(x.value,A.write(y)),y;if(!Y&&u){const oe=A.read(se);return typeof u=="function"?u(oe,y):C==="object"&&!Array.isArray(oe)?{...y,...oe}:oe}else return typeof se!="string"?se:A.read(se)}function B(Y){if(!(Y&&Y.storageArea!==n)){if(Y&&Y.key==null){g.value=y;return}if(!(Y&&Y.key!==x.value)){O();try{(Y==null?void 0:Y.newValue)!==A.write(g.value)&&(g.value=V(Y))}catch(se){p(se)}finally{Y?Bt(T):T()}}}}function re(Y){B(Y.detail)}return g}function Xh(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 qC(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 y=Zt(e);if(!y){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=y.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 x(){s==="sync"?g():s==="next-frame"&&requestAnimationFrame(()=>g())}return Xh(e,x),tt(()=>Zt(e),y=>!y&&x()),Yh(e,x,{attributeFilter:["style","class"]}),o&&wt("scroll",x,{capture:!0,passive:!0}),r&&wt("resize",x,{passive:!0}),Uo(()=>{i&&x()}),{height:a,bottom:l,left:u,right:c,top:f,width:d,x:p,y:h,update:x}}function e3(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}=Xh(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 GC(e,t={}){const{throttle:n=0,idle:r=200,onStop:o=lr,onScroll:i=lr,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){y(P,void 0)}}),x=Z({get(){return h.value},set(P){y(void 0,P)}});function y(P,L){var V,B,re,Y;if(!c)return;const se=Je(e);if(!se)return;(re=se instanceof Document?c.document.body:se)==null||re.scrollTo({top:(V=Je(L))!=null?V:x.value,left:(B=Je(P))!=null?B:g.value,behavior:Je(u)});const oe=((Y=se==null?void 0:se.document)==null?void 0:Y.documentElement)||(se==null?void 0:se.documentElement)||se;g!=null&&(p.value=oe.scrollLeft),x!=null&&(h.value=oe.scrollTop)}const C=He(!1),A=dn({left:!0,right:!1,top:!0,bottom:!1}),O=dn({left:!1,right:!1,top:!1,bottom:!1}),T=P=>{C.value&&(C.value=!1,O.left=!1,O.right=!1,O.top=!1,O.bottom=!1,o(P))},_=qh(T,n+r),m=P=>{var L;if(!c)return;const V=((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:Y}=getComputedStyle(V),se=Y==="rtl"?-1:1,oe=V.scrollLeft;O.left=oe<p.value,O.right=oe>p.value;const te=Math.abs(oe*se)<=(s.left||0),ge=Math.abs(oe*se)+V.clientWidth>=V.scrollWidth-(s.right||0)-Du;B==="flex"&&re==="row-reverse"?(A.left=ge,A.right=te):(A.left=te,A.right=ge),p.value=oe;let Re=V.scrollTop;P===c.document&&!Re&&(Re=c.document.body.scrollTop),O.top=Re<h.value,O.bottom=Re>h.value;const Ae=Math.abs(Re)<=(s.top||0),Pe=Math.abs(Re)+V.clientHeight>=V.scrollHeight-(s.bottom||0)-Du;B==="flex"&&re==="column-reverse"?(A.top=Pe,A.bottom=Ae):(A.top=Ae,A.bottom=Pe),h.value=Re},E=P=>{var L;if(!c)return;const V=(L=P.target.documentElement)!=null?L:P.target;m(V),C.value=!0,_(P),i(P)};return wt(e,"scroll",n?IC(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&&Yh(e,()=>{const P=Je(e);P&&m(P)},{attributes:!0,childList:!0,subtree:!0}),wt(e,"scrollend",T,l),{x:g,y:x,isScrolling:C,arrivedState:A,directions:O,measure(){const P=Je(e);c&&P&&m(P)}}}function YC(e={}){const{window:t=pn,...n}=e;return GC(t,n)}function XC(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(wt("resize",u,c),t&&s==="visual"&&t.visualViewport&&wt(t.visualViewport,"resize",u,c),o){const f=jC("(orientation: portrait)");tt(f,()=>u())}return{width:a,height:l}}const ZC=CC(()=>Mo({networkErrorDlgVisible:!1,githubErrorDlgVisible:!1,wasmErrorDlgVisible:!1,wasmSupported:void 0})),{message:Fu,dialog:t3,loadingBar:n3}=yw(["message","dialog","loadingBar"]),Zh=document.querySelector("#app"),QC={fixed:"","z-2000":"",class:"BodyScrollbar"},JC=Te({__name:"BodyScrollbar",setup(e){const{y:t,x:n}=YC(),{height:r,width:o}=XC(),i=qC(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};wt("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)}),wt("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}),x=Z(()=>{const _=i.width.value,m=g.value;return n.value/(_-o.value)*(o.value-m)}),y=Z(()=>h.value?{transform:`translateX(${x.value}px)`,width:`${g.value}px`}:{}),C=_=>{const m=g.value*.9*(_.clientX<g.value+x.value?-1:1),E=i.width.value,P=E,L=o.value/P*o.value,V=n.value+m/(o.value-L)*(E-o.value);n.value=V},A=He(!1);let O;const T=_=>{O=_,A.value=!0};return wt("pointermove",_=>{if(!O)return;const m=_.clientX-O.clientX;O=_;const E=i.width.value,P=E,L=o.value/P*o.value;n.value+=m/(o.value-L)*(E-o.value)}),wt("pointerup",()=>{O=void 0,A.value=!1}),wt("selectstart",_=>{(O||d)&&_.preventDefault()}),(_,m)=>(jn(),Ro("div",QC,[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]=bc(()=>{},["stop"]))},null,6)],544),[[Oi,Ve(s)]]),Ve(h)?(jn(),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(y)),class:Dn({"opacity-50":Ve(A)}),onClick:m[1]||(m[1]=bc(()=>{},["stop"]))},null,6)],32)):dd("",!0)]))}});function r3(...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 o3=e=>{const t={};return e.forEach((n,r)=>{t[r]=n}),t},e_=async(e=0)=>new Promise(t=>{setTimeout(t,e)}),i3=(()=>{let e;return async t=>{if(t&&e!==t){e=t,e_(1e4).then(()=>{e=void 0});try{await navigator.clipboard.writeText(t),Fu.success("复制成功")}catch{Fu.error("复制失败")}}}})(),Qh=(e,t)=>{e.classList.add(t),Gt(()=>{e.classList.add(t)}),Yi(()=>{e.classList.remove(t)})},s3=()=>{Qh(Zh,"app-auto-h")},a3=()=>{Qh(document.body,"body-auto-w")},t_=()=>{},l3=()=>t_,c3=(e,t)=>{const n={};return t.forEach(r=>{const o=e[r];o!==void 0&&(n[r]=o)}),n},Jh=e=>typeof e=="number"?!0:typeof e=="string"&&Array.prototype.every.call(e,t=>"0"<=t&&t<="9"),u3=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}},n_=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(JC)):void 0}),f3=["#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"],d3=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},r_=[/\.0+$/,/0+$/],h3=(e,t)=>{const n=e.toFixed(t);if(!n.includes("."))return n;for(const r of r_)if(r.test(n))return n.replace(r,"");return n},p3=e=>{try{return new URL(e)}catch{}},o_=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"]),v3=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:o_.has(e.origin)),i_=[/^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+)$/],s_=["https://f.gkd.li/","https://github.com/user-attachments/files/","https://github.com/gkd-kit/inspect/files/"],g3=e=>s_.some(t=>e.startsWith(t)),ep=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 i_){const r=(t=e.match(n))==null?void 0:t[1];if(r)return+r}}},a_=/^https:\/\/github\.com\/gkd-kit\/inspect\/assets\/[0-9]+\/([0-9a-z-]+)$/,l_=/^https:\/\/github\.com\/user-attachments\/assets\/([0-9a-z-]+)$/,c_=e=>{var t,n;return((t=e.match(a_))==null?void 0:t[1])||((n=e.match(l_))==null?void 0:n[1])},m3=e=>location.origin+`/i/${e}`,b3=e=>`https://e.gkd.li/${e}`,u_=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 f_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function y3(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 aa={exports:{}};var ju;function d_(){return ju||(ju=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 x=i.document.createElement("script");x.onreadystatechange=function(){h(),x.onreadystatechange=null,x.parentNode.removeChild(x),x=null},i.document.documentElement.appendChild(x)}:a=function(){setTimeout(h,0)};var d,p=[];function h(){d=!0;for(var x,y,C=p.length;C;){for(y=p,p=[],x=-1;++x<C;)y[x]();C=p.length}d=!1}r.exports=g;function g(x){p.push(x)===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=x(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 V=x(L);V.status==="error"&&E(V.value)}function x(T,_){var m={};try{m.value=T(_),m.status="success"}catch(E){m.status="error",m.value=E}return m}f.resolve=y;function y(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=A;function A(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,V=-1,B=new this(s);++V<m;)re(T[V],V);return B;function re(Y,se){_.resolve(Y).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=O;function O(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;)V(T[P]);return L;function V(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($){if($.name!=="TypeError")throw $;for(var b=typeof BlobBuilder<"u"?BlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:WebKitBlobBuilder,k=new b,z=0;z<v.length;z+=1)k.append(v[z]);return k.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 x="local-forage-detect-blob-support",y=void 0,C={},A=Object.prototype.toString,O="readonly",T="readwrite";function _(v){for(var R=v.length,b=new ArrayBuffer(R),k=new Uint8Array(b),z=0;z<R;z++)k[z]=v.charCodeAt(z);return b}function m(v){return new f(function(R){var b=v.transaction(x,T),k=c([""]);b.objectStore(x).put(k,"key"),b.onabort=function(z){z.preventDefault(),z.stopPropagation(),R(!1)},b.oncomplete=function(){var z=navigator.userAgent.match(/Chrome\/(\d+)/),$=navigator.userAgent.match(/Edge\//);R($||!z||parseInt(z[1],10)>=43)}}).catch(function(){return!1})}function E(v){return typeof y=="boolean"?f.resolve(y):m(v).then(function(R){return y=R,y})}function P(v){var R=C[v.name],b={};b.promise=new f(function(k,z){b.resolve=k,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 V(v,R){var b=C[v.name],k=b.deferredOperations.pop();if(k)return k.reject(R),k.promise}function B(v,R){return new f(function(b,k){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 $=l.open.apply(l,z);R&&($.onupgradeneeded=function(j){var X=$.result;try{X.createObjectStore(v.storeName),j.oldVersion<=1&&X.createObjectStore(x)}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}}),$.onerror=function(j){j.preventDefault(),k($.error)},$.onsuccess=function(){var j=$.result;j.onversionchange=function(X){X.target.close()},b(j),L(v)}})}function re(v){return B(v,!1)}function Y(v){return B(v,!0)}function se(v,R){if(!v.db)return!0;var b=!v.db.objectStoreNames.contains(v.storeName),k=v.version<v.db.version,z=v.version>v.db.version;if(k&&(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 $=v.db.version+1;$>v.version&&(v.version=$)}return!0}return!1}function oe(v){return new f(function(R,b){var k=new FileReader;k.onerror=b,k.onloadend=function(z){var $=btoa(z.target.result||"");R({__local_forage_encoded_blob:!0,data:$,type:v.type})},k.readAsBinaryString(v)})}function te(v){var R=_(atob(v.data));return c([R],{type:v.type})}function ge(v){return v&&v.__local_forage_encoded_blob}function Re(v){var R=this,b=R._initReady().then(function(){var k=C[R._dbInfo.name];if(k&&k.dbReady)return k.dbReady});return p(b,v,v),b}function Ae(v){P(v);for(var R=C[v.name],b=R.forages,k=0;k<b.length;k++){var z=b[k];z._dbInfo.db&&(z._dbInfo.db.close(),z._dbInfo.db=null)}return v.db=null,re(v).then(function($){return v.db=$,se(v)?Y(v):$}).then(function($){v.db=R.db=$;for(var j=0;j<b.length;j++)b[j]._dbInfo.db=$}).catch(function($){throw V(v,$),$})}function Pe(v,R,b,k){k===void 0&&(k=1);try{var z=v.db.transaction(v.storeName,R);b(null,z)}catch($){if(k>0&&(!v.db||$.name==="InvalidStateError"||$.name==="NotFoundError"))return f.resolve().then(function(){if(!v.db||$.name==="NotFoundError"&&!v.db.objectStoreNames.contains(v.storeName)&&v.version<=v.db.version)return v.db&&(v.version=v.db.version+1),Y(v)}).then(function(){return Ae(v).then(function(){Pe(v,R,b,k-1)})}).catch(b);b($)}}function Be(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function ot(v){var R=this,b={db:null};if(v)for(var k in v)b[k]=v[k];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 $=[];function j(){return f.resolve()}for(var X=0;X<z.forages.length;X++){var Q=z.forages[X];Q!==R&&$.push(Q._initReady().catch(j))}var J=z.forages.slice(0);return f.all($).then(function(){return b.db=z.db,re(b)}).then(function(ne){return b.db=ne,se(b,R._defaultConfig.version)?Y(b):ne}).then(function(ne){b.db=z.db=ne,R._dbInfo=b;for(var be=0;be<J.length;be++){var $e=J[be];$e!==R&&($e._dbInfo.db=b.db,$e._dbInfo.version=b.version)}})}function it(v,R){var b=this;v=h(v);var k=new f(function(z,$){b.ready().then(function(){Pe(b._dbInfo,O,function(j,X){if(j)return $(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),ge(ne)&&(ne=te(ne)),z(ne)},J.onerror=function(){$(J.error)}}catch(ne){$(ne)}})}).catch($)});return d(k,R),k}function kt(v,R){var b=this,k=new f(function(z,$){b.ready().then(function(){Pe(b._dbInfo,O,function(j,X){if(j)return $(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=Q.openCursor(),ne=1;J.onsuccess=function(){var be=J.result;if(be){var $e=be.value;ge($e)&&($e=te($e));var De=v($e,be.key,ne++);De!==void 0?z(De):be.continue()}else z()},J.onerror=function(){$(J.error)}}catch(be){$(be)}})}).catch($)});return d(k,R),k}function Ee(v,R,b){var k=this;v=h(v);var z=new f(function($,j){var X;k.ready().then(function(){return X=k._dbInfo,A.call(R)==="[object Blob]"?E(X.db).then(function(Q){return Q?R:oe(R)}):R}).then(function(Q){Pe(k._dbInfo,T,function(J,ne){if(J)return j(J);try{var be=ne.objectStore(k._dbInfo.storeName);Q===null&&(Q=void 0);var $e=be.put(Q,v);ne.oncomplete=function(){Q===void 0&&(Q=null),$(Q)},ne.onabort=ne.onerror=function(){var De=$e.error?$e.error:$e.transaction.error;j(De)}}catch(De){j(De)}})}).catch(j)});return d(z,b),z}function D(v,R){var b=this;v=h(v);var k=new f(function(z,$){b.ready().then(function(){Pe(b._dbInfo,T,function(j,X){if(j)return $(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=Q.delete(v);X.oncomplete=function(){z()},X.onerror=function(){$(J.error)},X.onabort=function(){var ne=J.error?J.error:J.transaction.error;$(ne)}}catch(ne){$(ne)}})}).catch($)});return d(k,R),k}function le(v){var R=this,b=new f(function(k,z){R.ready().then(function(){Pe(R._dbInfo,T,function($,j){if($)return z($);try{var X=j.objectStore(R._dbInfo.storeName),Q=X.clear();j.oncomplete=function(){k()},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 U(v){var R=this,b=new f(function(k,z){R.ready().then(function(){Pe(R._dbInfo,O,function($,j){if($)return z($);try{var X=j.objectStore(R._dbInfo.storeName),Q=X.count();Q.onsuccess=function(){k(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,k=new f(function(z,$){if(v<0){z(null);return}b.ready().then(function(){Pe(b._dbInfo,O,function(j,X){if(j)return $(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=!1,ne=Q.openKeyCursor();ne.onsuccess=function(){var be=ne.result;if(!be){z(null);return}v===0||J?z(be.key):(J=!0,be.advance(v))},ne.onerror=function(){$(ne.error)}}catch(be){$(be)}})}).catch($)});return d(k,R),k}function ke(v){var R=this,b=new f(function(k,z){R.ready().then(function(){Pe(R._dbInfo,O,function($,j){if($)return z($);try{var X=j.objectStore(R._dbInfo.storeName),Q=X.openKeyCursor(),J=[];Q.onsuccess=function(){var ne=Q.result;if(!ne){k(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 k=this,z;if(!v.name)z=f.reject("Invalid arguments");else{var $=v.name===b.name&&k._dbInfo.db,j=$?f.resolve(k._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 be=0;be<ne.length;be++){var $e=ne[be];$e._dbInfo.db=null,$e._dbInfo.version=Q}var De=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 De.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(V(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 be=J[ne];be._dbInfo.db=null}var $e=new f(function(De,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(),De(st)}});return $e.then(function(De){Q.db=De;for(var Ne=0;Ne<J.length;Ne++){var lt=J[Ne];L(lt._dbInfo)}}).catch(function(De){throw(V(v,De)||f.resolve()).catch(function(){}),De})})}return d(z,R),z}var S={_driver:"asyncStorage",_initStorage:ot,_support:u(),iterate:kt,getItem:it,setItem:Ee,removeItem:D,clear:le,length:U,key:he,keys:ke,dropInstance:w};function M(){return typeof openDatabase=="function"}var H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",W="~~local_forage_type~",F=/^~~local_forage_type~([^~]+)~/,ie="__lfsc__:",ee=ie.length,q="arbf",N="blob",pe="si08",ae="ui08",me="uic8",ye="si16",Oe="si32",Le="ur16",Me="ui32",at="fl32",ut="fl64",bt=ee+q.length,yt=Object.prototype.toString;function Yt(v){var R=v.length*.75,b=v.length,k,z=0,$,j,X,Q;v[v.length-1]==="="&&(R--,v[v.length-2]==="="&&R--);var J=new ArrayBuffer(R),ne=new Uint8Array(J);for(k=0;k<b;k+=4)$=H.indexOf(v[k]),j=H.indexOf(v[k+1]),X=H.indexOf(v[k+2]),Q=H.indexOf(v[k+3]),ne[z++]=$<<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="",k;for(k=0;k<R.length;k+=3)b+=H[R[k]>>2],b+=H[(R[k]&3)<<4|R[k+1]>>4],b+=H[(R[k+1]&15)<<2|R[k+2]>>6],b+=H[R[k+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=yt.call(v)),v&&(b==="[object ArrayBuffer]"||v.buffer&&yt.call(v.buffer)==="[object ArrayBuffer]")){var k,z=ie;v instanceof ArrayBuffer?(k=v,z+=q):(k=v.buffer,b==="[object Int8Array]"?z+=pe:b==="[object Uint8Array]"?z+=ae:b==="[object Uint8ClampedArray]"?z+=me:b==="[object Int16Array]"?z+=ye:b==="[object Uint16Array]"?z+=Le:b==="[object Int32Array]"?z+=Oe: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(k))}else if(b==="[object Blob]"){var $=new FileReader;$.onload=function(){var j=W+v.type+"~"+Lt(this.result);R(ie+N+j)},$.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 G(v){if(v.substring(0,ee)!==ie)return JSON.parse(v);var R=v.substring(bt),b=v.substring(ee,bt),k;if(b===N&&F.test(R)){var z=R.match(F);k=z[1],R=R.substring(z[0].length)}var $=Yt(R);switch(b){case q:return $;case N:return c([$],{type:k});case pe:return new Int8Array($);case ae:return new Uint8Array($);case me:return new Uint8ClampedArray($);case ye:return new Int16Array($);case Le:return new Uint16Array($);case Oe:return new Int32Array($);case Me:return new Uint32Array($);case at:return new Float32Array($);case ut:return new Float64Array($);default:throw new Error("Unkown type: "+b)}}var ve={serialize:Ct,deserialize:G,stringToBuffer:Yt,bufferToString:Lt};function _e(v,R,b,k){v.executeSql("CREATE TABLE IF NOT EXISTS "+R.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],b,k)}function Ue(v){var R=this,b={db:null};if(v)for(var k in v)b[k]=typeof v[k]!="string"?v[k].toString():v[k];var z=new f(function($,j){try{b.db=openDatabase(b.name,String(b.version),b.description,b.size)}catch(X){return j(X)}b.db.transaction(function(X){_e(X,b,function(){R._dbInfo=b,$()},function(Q,J){j(J)})},j)});return b.serializer=ve,z}function We(v,R,b,k,z,$){v.executeSql(b,k,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?$(Q,X):_e(Q,R,function(){Q.executeSql(b,k,z,$)},$)},$):$(j,X)},$)}function _t(v,R){var b=this;v=h(v);var k=new f(function(z,$){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){$(J)})})}).catch($)});return d(k,R),k}function Ht(v,R){var b=this,k=new f(function(z,$){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,be=ne.length,$e=0;$e<be;$e++){var De=ne.item($e),Ne=De.value;if(Ne&&(Ne=j.serializer.deserialize(Ne)),Ne=v(Ne,De.key,$e+1),Ne!==void 0){z(Ne);return}}z()},function(Q,J){$(J)})})}).catch($)});return d(k,R),k}function Ge(v,R,b,k){var z=this;v=h(v);var $=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,be){be?X(be):J.db.transaction(function($e){We($e,J,"INSERT OR REPLACE INTO "+J.storeName+" (key, value) VALUES (?, ?)",[v,ne],function(){j(Q)},function(De,Ne){X(Ne)})},function($e){if($e.code===$e.QUOTA_ERR){if(k>0){j(Ge.apply(z,[v,Q,b,k-1]));return}X($e)}})})}).catch(X)});return d($,b),$}function It(v,R,b){return Ge.apply(this,[v,R,b,1])}function rn(v,R){var b=this;v=h(v);var k=new f(function(z,$){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){$(J)})})}).catch($)});return d(k,R),k}function ps(v){var R=this,b=new f(function(k,z){R.ready().then(function(){var $=R._dbInfo;$.db.transaction(function(j){We(j,$,"DELETE FROM "+$.storeName,[],function(){k()},function(X,Q){z(Q)})})}).catch(z)});return d(b,v),b}function vs(v){var R=this,b=new f(function(k,z){R.ready().then(function(){var $=R._dbInfo;$.db.transaction(function(j){We(j,$,"SELECT COUNT(key) as c FROM "+$.storeName,[],function(X,Q){var J=Q.rows.item(0).c;k(J)},function(X,Q){z(Q)})})}).catch(z)});return d(b,v),b}function gs(v,R){var b=this,k=new f(function(z,$){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){$(J)})})}).catch($)});return d(k,R),k}function ms(v){var R=this,b=new f(function(k,z){R.ready().then(function(){var $=R._dbInfo;$.db.transaction(function(j){We(j,$,"SELECT key FROM "+$.storeName,[],function(X,Q){for(var J=[],ne=0;ne<Q.rows.length;ne++)J.push(Q.rows.item(ne).key);k(J)},function(X,Q){z(Q)})})}).catch(z)});return d(b,v),b}function bs(v){return new f(function(R,b){v.transaction(function(k){k.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(z,$){for(var j=[],X=0;X<$.rows.length;X++)j.push($.rows.item(X).name);R({db:v,storeNames:j})},function(z,$){b($)})},function(k){b(k)})})}function ys(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 k=this,z;return v.name?z=new f(function($){var j;v.name===b.name?j=k._dbInfo.db:j=openDatabase(v.name,"","",0),v.storeName?$({db:j,storeNames:[v.storeName]}):$(bs(j))}).then(function($){return new f(function(j,X){$.db.transaction(function(Q){function J(De){return new f(function(Ne,lt){Q.executeSql("DROP TABLE IF EXISTS "+De,[],function(){Ne()},function(st,Nt){lt(Nt)})})}for(var ne=[],be=0,$e=$.storeNames.length;be<$e;be++)ne.push(J($.storeNames[be]));f.all(ne).then(function(){j()}).catch(function(De){X(De)})},function(Q){X(Q)})})}):z=f.reject("Invalid arguments"),d(z,R),z}var xs={_driver:"webSQLStorage",_initStorage:Ue,_support:M(),iterate:Ht,getItem:_t,setItem:It,removeItem:rn,clear:ps,length:vs,key:gs,keys:ms,dropInstance:ys};function ws(){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 Cs(){var v="_localforage_support_test";try{return localStorage.setItem(v,!0),localStorage.removeItem(v),!1}catch{return!0}}function _s(){return!Cs()||localStorage.length>0}function Ss(v){var R=this,b={};if(v)for(var k in v)b[k]=v[k];return b.keyPrefix=qo(v,R._defaultConfig),_s()?(R._dbInfo=b,b.serializer=ve,f.resolve()):f.reject()}function Es(v){var R=this,b=R.ready().then(function(){for(var k=R._dbInfo.keyPrefix,z=localStorage.length-1;z>=0;z--){var $=localStorage.key(z);$.indexOf(k)===0&&localStorage.removeItem($)}});return d(b,v),b}function Ts(v,R){var b=this;v=h(v);var k=b.ready().then(function(){var z=b._dbInfo,$=localStorage.getItem(z.keyPrefix+v);return $&&($=z.serializer.deserialize($)),$});return d(k,R),k}function Rs(v,R){var b=this,k=b.ready().then(function(){for(var z=b._dbInfo,$=z.keyPrefix,j=$.length,X=localStorage.length,Q=1,J=0;J<X;J++){var ne=localStorage.key(J);if(ne.indexOf($)===0){var be=localStorage.getItem(ne);if(be&&(be=z.serializer.deserialize(be)),be=v(be,ne.substring(j),Q++),be!==void 0)return be}}});return d(k,R),k}function Ps(v,R){var b=this,k=b.ready().then(function(){var z=b._dbInfo,$;try{$=localStorage.key(v)}catch{$=null}return $&&($=$.substring(z.keyPrefix.length)),$});return d(k,R),k}function Os(v){var R=this,b=R.ready().then(function(){for(var k=R._dbInfo,z=localStorage.length,$=[],j=0;j<z;j++){var X=localStorage.key(j);X.indexOf(k.keyPrefix)===0&&$.push(X.substring(k.keyPrefix.length))}return $});return d(b,v),b}function sp(v){var R=this,b=R.keys().then(function(k){return k.length});return d(b,v),b}function ap(v,R){var b=this;v=h(v);var k=b.ready().then(function(){var z=b._dbInfo;localStorage.removeItem(z.keyPrefix+v)});return d(k,R),k}function lp(v,R,b){var k=this;v=h(v);var z=k.ready().then(function(){R===void 0&&(R=null);var $=R;return new f(function(j,X){var Q=k._dbInfo;Q.serializer.serialize(R,function(J,ne){if(ne)X(ne);else try{localStorage.setItem(Q.keyPrefix+v,J),j($)}catch(be){(be.name==="QuotaExceededError"||be.name==="NS_ERROR_DOM_QUOTA_REACHED")&&X(be),X(be)}})})});return d(z,b),z}function cp(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 k=this,z;return v.name?z=new f(function($){v.storeName?$(qo(v,k._defaultConfig)):$(v.name+"/")}).then(function($){for(var j=localStorage.length-1;j>=0;j--){var X=localStorage.key(j);X.indexOf($)===0&&localStorage.removeItem(X)}}):z=f.reject("Invalid arguments"),d(z,R),z}var up={_driver:"localStorageWrapper",_initStorage:Ss,_support:ws(),iterate:Rs,getItem:Ts,setItem:lp,removeItem:ap,clear:Es,length:sp,key:Ps,keys:Os,dropInstance:cp},fp=function(R,b){return R===b||typeof R=="number"&&typeof b=="number"&&isNaN(R)&&isNaN(b)},dp=function(R,b){for(var k=R.length,z=0;z<k;){if(fp(R[z],b))return!0;z++}return!1},Rl=Array.isArray||function(v){return Object.prototype.toString.call(v)==="[object Array]"},Vr={},Pl={},pr={INDEXEDDB:S,WEBSQL:xs,LOCALSTORAGE:up},hp=[pr.INDEXEDDB._driver,pr.WEBSQL._driver,pr.LOCALSTORAGE._driver],Go=["dropInstance"],$s=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(Go),pp={description:"",driver:hp.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function vp(v,R){v[R]=function(){var b=arguments;return v.ready().then(function(){return v[R].apply(v,b)})}}function As(){for(var v=1;v<arguments.length;v++){var R=arguments[v];if(R)for(var b in R)R.hasOwnProperty(b)&&(Rl(R[b])?arguments[0][b]=R[b].slice():arguments[0][b]=R[b])}return arguments[0]}var gp=function(){function v(R){s(this,v);for(var b in pr)if(pr.hasOwnProperty(b)){var k=pr[b],z=k._driver;this[b]=z,Vr[z]||this.defineDriver(k)}this._defaultConfig=As({},pp),this._config=As({},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 k in b){if(k==="storeName"&&(b[k]=b[k].replace(/\W/g,"_")),k==="version"&&typeof b[k]!="number")return new Error("Database version must be a number.");this._config[k]=b[k]}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,k,z){var $=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=$s.concat("_initStorage"),be=0,$e=ne.length;be<$e;be++){var De=ne[be],Ne=!dp(Go,De);if((Ne||b[De])&&typeof b[De]!="function"){X(J);return}}var lt=function(){for(var Ur=function(yp){return function(){var xp=new Error("Method "+yp+" is not implemented by the current driver"),Ol=f.reject(xp);return d(Ol,arguments[arguments.length-1]),Ol}},ks=0,bp=Go.length;ks<bp;ks++){var Is=Go[ks];b[Is]||(b[Is]=Ur(Is))}};lt();var st=function(Ur){Vr[Q]&&console.info("Redefining LocalForage driver: "+Q),Vr[Q]=b,Pl[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($,k,z),$},v.prototype.driver=function(){return this._driver||null},v.prototype.getDriver=function(b,k,z){var $=Vr[b]?f.resolve(Vr[b]):f.reject(new Error("Driver not found."));return p($,k,z),$},v.prototype.getSerializer=function(b){var k=f.resolve(ve);return p(k,b),k},v.prototype.ready=function(b){var k=this,z=k._driverSet.then(function(){return k._ready===null&&(k._ready=k._initDriver()),k._ready});return p(z,b,b),z},v.prototype.setDriver=function(b,k,z){var $=this;Rl(b)||(b=[b]);var j=this._getSupportedDrivers(b);function X(){$._config.driver=$.driver()}function Q(be){return $._extend(be),X(),$._ready=$._initStorage($._config),$._ready}function J(be){return function(){var $e=0;function De(){for(;$e<be.length;){var Ne=be[$e];return $e++,$._dbInfo=null,$._ready=null,$.getDriver(Ne).then(Q).catch(De)}X();var lt=new Error("No available storage method found.");return $._driverSet=f.reject(lt),$._driverSet}return De()}}var ne=this._driverSet!==null?this._driverSet.catch(function(){return f.resolve()}):f.resolve();return this._driverSet=ne.then(function(){var be=j[0];return $._dbInfo=null,$._ready=null,$.getDriver(be).then(function($e){$._driver=$e._driver,X(),$._wrapLibraryMethodsWithReady(),$._initDriver=J(j)})}).catch(function(){X();var be=new Error("No available storage method found.");return $._driverSet=f.reject(be),$._driverSet}),p(this._driverSet,k,z),this._driverSet},v.prototype.supports=function(b){return!!Pl[b]},v.prototype._extend=function(b){As(this,b)},v.prototype._getSupportedDrivers=function(b){for(var k=[],z=0,$=b.length;z<$;z++){var j=b[z];this.supports(j)&&k.push(j)}return k},v.prototype._wrapLibraryMethodsWithReady=function(){for(var b=0,k=$s.length;b<k;b++)vp(this,$s[b])},v.prototype.createInstance=function(b){return new v(b)},v}(),mp=new gp;r.exports=mp},{3:3}]},{},[4])(4)})}(aa)),aa.exports}var h_=d_();const Nu=f_(h_),tp=e=>e,p_=(e,t)=>{try{return e()}catch{return t()}},v_=(e,t,n=tp)=>{const r=localStorage.getItem(e),o=r?p_(()=>n(JSON.parse(r)),t):t(),i=Mo(o);return tt(i,()=>{localStorage.setItem(e,JSON.stringify(ze(i)))}),i},hs=async(e,t,n=tp)=>{const r=await Nu.getItem(e),o=Mo(r?n(r):t());return tt(o,async()=>{await Nu.setItem(e,ze(o))}),o},g_=v_("settings",()=>({autoUploadImport:!1,ignoreUploadWarn:!1,ignoreWasmWarn:!1,maxShowNodeSize:2e3})),m_=await hs("importTime",()=>({})),b_=await hs("githubJpg",()=>({}),e=>(Object.keys(e).forEach(t=>{const n=e[t];if(n.startsWith("https://")){const r=c_(n);r?e[t]=r:delete e[t]}}),e)),y_=await hs("githubZip",()=>({}),e=>(Object.keys(e).forEach(t=>{const n=e[t];if(Jh(n))return;const r=ep(n);r?e[t]=r:delete e[t]}),e)),x_=await hs("url",()=>({}),e=>(Object.keys(e).forEach(t=>{if(Jh(t))return;const n=ep(t);n&&(e[n]=e[t]),delete e[t]}),e)),w_=()=>({settingsStore:g_,snapshotImportTime:m_,snapshotImageId:b_,snapshotImportId:y_,importSnapshotId:x_}),C_=Te({__name:"ErrorDlg",setup(e){const t=ZC(),{settingsStore:n}=w_();return(r,o)=>{const i=xl,s=v2;return jn(),Ro(Xe,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,__:[4]},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,__:[5]},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,__:[6]},8,["checked"])]),_:1,__:[7,8]},8,["show"])],64)}}}),__=Te({__name:"App",setup(e){const t={common:{lineHeight:"20px"}},n=Cx(()=>{document.activeElement instanceof HTMLButtonElement&&document.activeElement.blur()},1e3);return wt("click",()=>{n()}),(r,o)=>{const i=yh;return jn(),Ro(Xe,null,[qe(i,{abstract:"",locale:Ve(Eb),dateLocale:Ve(c0),themeOverrides:t},{default:wr(()=>[qe(C_),qe(Ve(Uh))]),_:1},8,["locale","dateLocale"]),qe(Ve(n_))],64)}}}),S_="modulepreload",E_=function(e,t){return new URL(e,t).href},Wu={},Gn=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=E_(c,r),c in Wu)return;Wu[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(!!r)for(let g=s.length-1;g>=0;g--){const x=s[g];if(x.href===c&&(!f||x.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":S_,f||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((g,x)=>{h.addEventListener("load",g),h.addEventListener("error",()=>x(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)})},T_=(e,t)=>{try{return new URL(e,t)}catch{}},np=new Set,Yn=e=>(np.add(e),e),Vu=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:u_(t)}}:{path:"/404"}},rp=xC({history:Xw("/"),routes:[{path:"/",component:Yn(()=>Gn(()=>import("./HomePage-uALQkxxX.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url)),meta:{title:"首页"}},{path:"/snapshot/:snapshotId",name:"snapshot",component:Yn(()=>Gn(()=>import("./SnapshotPage-DCWlk9Cq.js"),__vite__mapDeps([9,10,6,11,12,1,2,3,4,5,13,14]),import.meta.url)),meta:{title:"快照"}},{path:"/i",component:Yn(()=>Gn(()=>import("./ImportPage-oFwqKPWx.js"),__vite__mapDeps([15,3,7,4]),import.meta.url)),meta:{title:"导入快照"}},{path:"/i/:github_asset_id",redirect:Vu},{path:"/import",redirect(e){return{path:"/i",query:e.query}}},{path:"/import/:github_asset_id",redirect:Vu},{path:"/device",component:Yn(()=>Gn(()=>import("./DevicePage-BvODR-Zv.js"),__vite__mapDeps([16,3,13,8,6,5,2]),import.meta.url)),beforeEnter(e,t,n){const r=T_(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:Yn(()=>Gn(()=>import("./SelectorPage-DTlkLP7T.js"),__vite__mapDeps([17,10,6,11,2]),import.meta.url)),meta:{title:"选择器"}},{path:"/svg",component:Yn(()=>Gn(()=>import("./SvgPage-DcENeOza.js"),__vite__mapDeps([18,2]),import.meta.url)),meta:{title:"SVG"}},{path:"/:pathMatch(.*)*",component:Yn(()=>Gn(()=>import("./_404Page-CLdSmX_l.js"),__vite__mapDeps([19,12]),import.meta.url))}]});rp.beforeEach(e=>{document.title=String(e.meta.title||"GKD")});setTimeout(()=>{np.forEach(e=>e())},3e3);const R_=`GIT commit
883
- hash: d6879431acc50a3e0aa1672e14a93c6d96104d42
884
- date: 2025-09-01T13:31:24+08:00
885
- message: perf: migrate api
882
+ `)])}const kh="n-notification-api",hw=Object.assign(Object.assign({},gt.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),pw=Te({name:"NotificationProvider",props:hw,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()},x=dn(Object.assign(Object.assign({},p),{key:h,destroy:g,hide:g,deactivate:g})),{max:y}=e;if(y&&n.value.length-o.size>=y){let C=!1,A=0;for(const O of n.value){if(!o.has(O.key)){r[O.key]&&(O.destroy(),C=!0);break}A++}C||n.value.splice(A,1)}return n.value.push(x),x}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=gt("Notification","-notification",dw,iw,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(kh,u),et(us,{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(Xe,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(sw,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&r!=="top"&&r!=="bottom",placement:r},{default:()=>this.notificationList.map(o=>I(fw,Object.assign({ref:i=>{const s=o.key;i===null?delete this.notificationRefs[s]:this.notificationRefs[s]=i}},ts(o,["destroy","hide","deactivate"]),{internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:o.keepAliveOnHover===void 0?this.keepAliveOnHover:o.keepAliveOnHover})))})):null)}});function vw(){const e=Ie(kh,null);return e===null&&Fr("use-notification","No outer `n-notification-provider` found."),e}const gw=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)}}}),mw={message:J2,notification:vw,loadingBar:N2,dialog:b2,modal:R2};function bw({providersAndProps:e,configProviderProps:t}){let n=_d(o);const r={app:n};function o(){return I(yh,Ve(t),{default:()=>e.map(({type:a,Provider:l,props:u})=>I(l,Ve(u),{default:()=>I(gw,{onSetup:()=>r[a]=mw[a]()})}))})}let i;return Dr&&(i=document.createElement("div"),document.body.appendChild(i),n.mount(i)),Object.assign({unmount:()=>{var a;if(n===null||i===null){kr("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 yw(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:Q2,props:n});break;case"notification":a.push({type:u,Provider:pw,props:o});break;case"dialog":a.push({type:u,Provider:M2,props:r});break;case"loadingBar":a.push({type:u,Provider:j2,props:i});break;case"modal":a.push({type:u,Provider:nw,props:s})}}),bw({providersAndProps:a,configProviderProps:t})}const xr=typeof document<"u";function Ih(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function xw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ih(e.default)}const Fe=Object.assign;function ra(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,zh=/#/g,ww=/&/g,Cw=/\//g,_w=/=/g,Sw=/\?/g,Mh=/\+/g,Ew=/%5B/g,Tw=/%5D/g,Bh=/%5E/g,Rw=/%60/g,Lh=/%7B/g,Pw=/%7C/g,Hh=/%7D/g,Ow=/%20/g;function Cl(e){return encodeURI(""+e).replace(Pw,"|").replace(Ew,"[").replace(Tw,"]")}function $w(e){return Cl(e).replace(Lh,"{").replace(Hh,"}").replace(Bh,"^")}function Ia(e){return Cl(e).replace(Mh,"%2B").replace(Ow,"+").replace(zh,"%23").replace(ww,"%26").replace(Rw,"`").replace(Lh,"{").replace(Hh,"}").replace(Bh,"^")}function Aw(e){return Ia(e).replace(_w,"%3D")}function kw(e){return Cl(e).replace(zh,"%23").replace(Sw,"%3F")}function Iw(e){return e==null?"":kw(e).replace(Cw,"%2F")}function Io(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const zw=/\/$/,Mw=e=>e.replace(zw,"");function oa(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=Dw(r??t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:Io(s)}}function Bw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function yu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Lw(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])&&Dh(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 Dh(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Hw(e[n],t[n]))return!1;return!0}function Hw(e,t){return tn(e)?xu(e,t):tn(t)?xu(t,e):e===t}function xu(e,t){return tn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Dw(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 An={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 Fw(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),Mw(e)}const jw=/^[^#]+#/;function Nw(e,t){return e.replace(jw,"#")+t}function Ww(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 fs=()=>({left:window.scrollX,top:window.scrollY});function Vw(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=Ww(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 wu(e,t){return(history.state?history.state.position-t:-1)+e}const za=new Map;function Uw(e,t){za.set(e,t)}function Kw(e){const t=za.get(e);return za.delete(e),t}let qw=()=>location.protocol+"//"+location.host;function Fh(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),yu(l,"")}return yu(n,e)+r+o}function Gw(e,t,n,r){let o=[],i=[],s=null;const a=({state:d})=>{const p=Fh(e,location),h=n.value,g=t.value;let x=0;if(d){if(n.value=p,t.value=d,s&&s===h){s=null;return}x=g?d.position-g.position:0}else r(p);o.forEach(y=>{y(n.value,h,{delta:x,type:zo.pop,direction:x?x>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(Fe({},d.state,{scroll:fs()}),"")}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 Cu(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?fs():null}}function Yw(e){const{history:t,location:n}=window,r={value:Fh(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:qw()+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=Fe({},t.state,Cu(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=Fe({},o.value,t.state,{forward:l,scroll:fs()});i(c.current,c,!0);const f=Fe({},Cu(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 Xw(e){e=Fw(e);const t=Yw(e),n=Gw(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=Fe({location:"",base:e,go:r,createHref:Nw.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 Zw(e){return typeof e=="string"||e&&typeof e=="object"}function jh(e){return typeof e=="string"||typeof e=="symbol"}const Nh=Symbol("");var _u;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(_u||(_u={}));function Mr(e,t){return Fe(new Error,{type:e,[Nh]:!0},t)}function gn(e,t){return e instanceof Error&&Nh in e&&(t==null||!!(e.type&t))}const Su="[^/]+?",Qw={sensitive:!1,strict:!1,start:!0,end:!0},Jw=/[.+*?^${}()[\]/\\]/g;function eC(e,t){const n=Fe({},Qw,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(Jw,"\\$&"),p+=40;else if(d.type===1){const{value:h,repeatable:g,optional:x,regexp:y}=d;i.push({name:h,repeatable:g,optional:x});const C=y||Su;if(C!==Su){p+=10;try{new RegExp(`(${C})`)}catch(O){throw new Error(`Invalid custom RegExp for param "${h}" (${C}): `+O.message)}}let A=g?`((?:${C})(?:/(?:${C}))*)`:`(${C})`;f||(A=x&&u.length<2?`(?:/${A})`:"/"+A),x&&(A+="?"),o+=A,p+=20,x&&(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:x}=p,y=h in u?u[h]:"";if(tn(y)&&!g)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const C=tn(y)?y.join("/"):y;if(!C)if(x)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 tC(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 Wh(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=tC(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(Eu(r))return 1;if(Eu(o))return-1}return o.length-r.length}function Eu(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const nC={type:0,value:""},rC=/[a-zA-Z0-9_]/;function oC(e){if(!e)return[[]];if(e==="/")return[[nC]];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:rC.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 iC(e,t,n){const r=eC(oC(e.path),n),o=Fe(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function sC(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=Ru(f);g.aliasOf=p&&p.record;const x=Ou(t,f),y=[g];if("alias"in f){const O=typeof f.alias=="string"?[f.alias]:f.alias;for(const T of O)y.push(Ru(Fe({},g,{components:p?p.record.components:g.components,path:T,aliasOf:p?p.record:g})))}let C,A;for(const O of y){const{path:T}=O;if(d&&T[0]!=="/"){const _=d.record.path,m=_[_.length-1]==="/"?"":"/";O.path=d.record.path+(T&&m+T)}if(C=iC(O,d,x),p?p.alias.push(C):(A=A||C,A!==C&&A.alias.push(C),h&&f.name&&!Pu(C)&&s(f.name)),Vh(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 A?()=>{s(A)}:go}function s(f){if(jh(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=cC(f,n);n.splice(d,0,f),f.record.name&&!Pu(f)&&r.set(f.record.name,f)}function u(f,d){let p,h={},g,x;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw Mr(1,{location:f});x=p.record.name,h=Fe(Tu(d.params,p.keys.filter(A=>!A.optional).concat(p.parent?p.parent.keys.filter(A=>A.optional):[]).map(A=>A.name)),f.params&&Tu(f.params,p.keys.map(A=>A.name))),g=p.stringify(h)}else if(f.path!=null)g=f.path,p=n.find(A=>A.re.test(g)),p&&(h=p.parse(g),x=p.record.name);else{if(p=d.name?r.get(d.name):n.find(A=>A.re.test(d.path)),!p)throw Mr(1,{location:f,currentLocation:d});x=p.record.name,h=Fe({},d.params,f.params),g=p.stringify(h)}const y=[];let C=p;for(;C;)y.unshift(C.record),C=C.parent;return{name:x,path:g,params:h,matched:y,meta:lC(y)}}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 Tu(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ru(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:aC(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 aC(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 Pu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function lC(e){return e.reduce((t,n)=>Fe(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 cC(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;Wh(e,t[i])<0?r=i:n=i+1}const o=uC(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function uC(e){let t=e;for(;t=t.parent;)if(Vh(t)&&Wh(e,t)===0)return t}function Vh({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function fC(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(Mh," "),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 $u(e){let t="";for(let n in e){const r=e[n];if(n=Aw(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(tn(r)?r.map(i=>i&&Ia(i)):[r&&Ia(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function dC(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 hC=Symbol(""),Au=Symbol(""),ds=Symbol(""),_l=Symbol(""),Ma=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 Bn(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):Zw(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 ia(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(Ih(l)){const c=(l.__vccOpts||l)[t];c&&i.push(Bn(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=xw(c)?c.default:c;s.mods[a]=c,s.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&Bn(p,n,r,s,a,o)()}))}}return i}function ku(e){const t=Ie(ds),n=Ie(_l),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=Iu(l[u-2]);return u>1&&Iu(c)===p&&f[f.length-1].path!==p?f.findIndex(zr.bind(null,l[u-2])):d}),i=Z(()=>o.value>-1&&bC(n.params,r.value.params)),s=Z(()=>o.value>-1&&o.value===n.matched.length-1&&Dh(n.params,r.value.params));function a(l={}){if(mC(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 pC(e){return e.length===1?e[0]:e}const vC=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:ku,setup(e,{slots:t}){const n=dn(ku(e)),{options:r}=Ie(ds),o=Z(()=>({[zu(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[zu(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&pC(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)}}}),gC=vC;function mC(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 bC(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 Iu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const zu=(e,t,n)=>e??t??n,yC=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(Ma),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(hC,a),et(Ma,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 Mu(n.default,{Component:d,route:u});const p=f.props[c],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,x=I(d,Fe({},h,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Mu(n.default,{Component:x,route:u})||x}}});function Mu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Uh=yC;function xC(e){const t=sC(e.routes,e),n=e.parseQuery||fC,r=e.stringifyQuery||$u,o=e.history,i=eo(),s=eo(),a=eo(),l=He(An);let u=An;xr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ra.bind(null,D=>""+D),f=ra.bind(null,Iw),d=ra.bind(null,Io);function p(D,le){let U,he;return jh(D)?(U=t.getRecordMatcher(D),he=le):he=D,t.addRoute(he,U)}function h(D){const le=t.getRecordMatcher(D);le&&t.removeRoute(le)}function g(){return t.getRoutes().map(D=>D.record)}function x(D){return!!t.getRecordMatcher(D)}function y(D,le){if(le=Fe({},le||l.value),typeof D=="string"){const M=oa(n,D,le.path),H=t.resolve({path:M.path},le),W=o.createHref(M.fullPath);return Fe(M,H,{params:d(H.params),hash:Io(M.hash),redirectedFrom:void 0,href:W})}let U;if(D.path!=null)U=Fe({},D,{path:oa(n,D.path,le.path).path});else{const M=Fe({},D.params);for(const H in M)M[H]==null&&delete M[H];U=Fe({},D,{params:f(M)}),le.params=f(le.params)}const he=t.resolve(U,le),ke=D.hash||"";he.params=c(d(he.params));const w=Bw(r,Fe({},D,{hash:$w(ke),path:he.path})),S=o.createHref(w);return Fe({fullPath:w,hash:ke,query:r===$u?dC(D.query):D.query||{}},he,{redirectedFrom:void 0,href:S})}function C(D){return typeof D=="string"?oa(n,D,l.value.path):Fe({},D)}function A(D,le){if(u!==D)return Mr(8,{from:le,to:D})}function O(D){return m(D)}function T(D){return O(Fe(C(D),{replace:!0}))}function _(D){const le=D.matched[D.matched.length-1];if(le&&le.redirect){const{redirect:U}=le;let he=typeof U=="function"?U(D):U;return typeof he=="string"&&(he=he.includes("?")||he.includes("#")?he=C(he):{path:he},he.params={}),Fe({query:D.query,hash:D.hash,params:he.path!=null?{}:D.params},he)}}function m(D,le){const U=u=y(D),he=l.value,ke=D.state,w=D.force,S=D.replace===!0,M=_(U);if(M)return m(Fe(C(M),{state:typeof M=="object"?Fe({},ke,M.state):ke,force:w,replace:S}),le||U);const H=U;H.redirectedFrom=le;let W;return!w&&Lw(r,he,U)&&(W=Mr(16,{to:H,from:he}),Pe(he,he,!0,!1)),(W?Promise.resolve(W):L(H,he)).catch(F=>gn(F)?gn(F,2)?F:Ae(F):ge(F,H,he)).then(F=>{if(F){if(gn(F,2))return m(Fe({replace:S},C(F.to),{state:typeof F.to=="object"?Fe({},ke,F.to.state):ke,force:w}),le||H)}else F=B(H,he,!0,S,ke);return V(H,he,F),F})}function E(D,le){const U=A(D,le);return U?Promise.reject(U):Promise.resolve()}function P(D){const le=it.values().next().value;return le&&typeof le.runWithContext=="function"?le.runWithContext(D):D()}function L(D,le){let U;const[he,ke,w]=wC(D,le);U=ia(he.reverse(),"beforeRouteLeave",D,le);for(const M of he)M.leaveGuards.forEach(H=>{U.push(Bn(H,D,le))});const S=E.bind(null,D,le);return U.push(S),Ee(U).then(()=>{U=[];for(const M of i.list())U.push(Bn(M,D,le));return U.push(S),Ee(U)}).then(()=>{U=ia(ke,"beforeRouteUpdate",D,le);for(const M of ke)M.updateGuards.forEach(H=>{U.push(Bn(H,D,le))});return U.push(S),Ee(U)}).then(()=>{U=[];for(const M of w)if(M.beforeEnter)if(tn(M.beforeEnter))for(const H of M.beforeEnter)U.push(Bn(H,D,le));else U.push(Bn(M.beforeEnter,D,le));return U.push(S),Ee(U)}).then(()=>(D.matched.forEach(M=>M.enterCallbacks={}),U=ia(w,"beforeRouteEnter",D,le,P),U.push(S),Ee(U))).then(()=>{U=[];for(const M of s.list())U.push(Bn(M,D,le));return U.push(S),Ee(U)}).catch(M=>gn(M,8)?M:Promise.reject(M))}function V(D,le,U){a.list().forEach(he=>P(()=>he(D,le,U)))}function B(D,le,U,he,ke){const w=A(D,le);if(w)return w;const S=le===An,M=xr?history.state:{};U&&(he||S?o.replace(D.fullPath,Fe({scroll:S&&M&&M.scroll},ke)):o.push(D.fullPath,ke)),l.value=D,Pe(D,le,U,S),Ae()}let re;function Y(){re||(re=o.listen((D,le,U)=>{if(!kt.listening)return;const he=y(D),ke=_(he);if(ke){m(Fe(ke,{replace:!0,force:!0}),he).catch(go);return}u=he;const w=l.value;xr&&Uw(wu(w.fullPath,U.delta),fs()),L(he,w).catch(S=>gn(S,12)?S:gn(S,2)?(m(Fe(C(S.to),{force:!0}),he).then(M=>{gn(M,20)&&!U.delta&&U.type===zo.pop&&o.go(-1,!1)}).catch(go),Promise.reject()):(U.delta&&o.go(-U.delta,!1),ge(S,he,w))).then(S=>{S=S||B(he,w,!1),S&&(U.delta&&!gn(S,8)?o.go(-U.delta,!1):U.type===zo.pop&&gn(S,20)&&o.go(-1,!1)),V(he,w,S)}).catch(go)}))}let se=eo(),oe=eo(),te;function ge(D,le,U){Ae(D);const he=oe.list();return he.length?he.forEach(ke=>ke(D,le,U)):console.error(D),Promise.reject(D)}function Re(){return te&&l.value!==An?Promise.resolve():new Promise((D,le)=>{se.add([D,le])})}function Ae(D){return te||(te=!D,Y(),se.list().forEach(([le,U])=>D?U(D):le()),se.reset()),D}function Pe(D,le,U,he){const{scrollBehavior:ke}=e;if(!xr||!ke)return Promise.resolve();const w=!U&&Kw(wu(D.fullPath,0))||(he||!U)&&history.state&&history.state.scroll||null;return Bt().then(()=>ke(D,le,w)).then(S=>S&&Vw(S)).catch(S=>ge(S,D,le))}const Be=D=>o.go(D);let ot;const it=new Set,kt={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:x,getRoutes:g,resolve:y,options:e,push:O,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(D){const le=this;D.component("RouterLink",gC),D.component("RouterView",Uh),D.config.globalProperties.$router=le,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>Ve(l)}),xr&&!ot&&l.value===An&&(ot=!0,O(o.location).catch(ke=>{}));const U={};for(const ke in An)Object.defineProperty(U,ke,{get:()=>l.value[ke],enumerable:!0});D.provide(ds,le),D.provide(_l,Mo(U)),D.provide(Ma,l);const he=D.unmount;it.add(D),D.unmount=function(){it.delete(D),it.size<1&&(u=An,re&&re(),re=null,l.value=An,ot=!1,te=!1),he()}}};function Ee(D){return D.reduce((le,U)=>le.then(()=>P(U)),Promise.resolve())}return kt}function wC(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 GS(){return Ie(ds)}function YS(e){return Ie(_l)}function Vo(e){return cf()?(fv(e),!0):!1}function CC(e){let t=!1,n;const r=lf(!0);return(...o)=>(t||(n=r.run(()=>e(...o)),t=!0),n)}const sa=new WeakMap,_C=(...e)=>{var t;const n=e[0],r=(t=ur())==null?void 0:t.proxy;if(r==null&&!Zf())throw new Error("injectLocal must be called in setup");return r&&sa.has(r)&&n in sa.get(r)?sa.get(r)[n]:Ie(...e)};function XS(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=lf(!0),n=r.run(()=>e(...i))),Vo(o),n)}const Sl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const SC=e=>e!=null,EC=Object.prototype.toString,TC=e=>EC.call(e)==="[object Object]",lr=()=>{};function RC(...e){if(e.length!==1)return Mt(...e);const t=e[0];return typeof t=="function"?Jt(zv(()=>({get:t,set:lr}))):de(t)}function El(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 Kh=e=>e();function PC(e,t={}){let n,r,o=lr;const i=l=>{clearTimeout(l),o(),o=lr};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 OC(...e){let t=0,n,r=!0,o=lr,i,s,a,l,u;!pt(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=lr)};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((x,y)=>{o=u?y:x,n=setTimeout(()=>{t=Date.now(),r=!0,x(g()),c()},Math.max(0,p-h))})),!l&&!n&&(n=setTimeout(()=>r=!0,p)),r=!1,i)}}function $C(e=Kh,t={}){const{initialState:n="active"}=t,r=RC(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 AC(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 Bu(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function bo(e){return Array.isArray(e)?e:[e]}function kC(e){return ur()}function qh(e,t=200,n={}){return El(PC(t,n),e)}function ZS(e,t=200,n={}){const r=de(Je(e)),o=qh(()=>{r.value=e.value},t,n);return tt(e,()=>o()),Tf(r)}function IC(e,t=200,n=!1,r=!0,o=!1){return El(OC(t,n,r,o),e)}function zC(e,t,n={}){const{eventFilter:r=Kh,...o}=n;return tt(e,El(r,t),o)}function MC(e,t,n={}){const{eventFilter:r,initialState:o="active",...i}=n,{eventFilter:s,pause:a,resume:l,isActive:u}=$C(r,{initialState:o});return{stop:zC(e,t,{...i,eventFilter:s}),pause:a,resume:l,isActive:u}}function Uo(e,t=!0,n){kC()?Gt(e,n):t?e():Bt(e)}function BC(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,Sl&&u()),Vo(l),{isPending:Tf(i),start:u,stop:l}}function LC(e,t,n){return tt(e,t,{...n,immediate:!0})}const pn=Sl?window:void 0,Gh=Sl?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 wt(...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=LC(()=>{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=TC(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 HC(){const e=He(!1),t=ur();return t&&Gt(()=>{e.value=!0},t),e}function Ko(e){const t=HC();return Z(()=>(t.value,!!e()))}function Yh(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(SC);return new Set(p)}),u=tt(()=>l.value,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 DC=Symbol("vueuse-ssr-width");function FC(){const e=Zf()?_C(DC,null):null;return typeof e=="number"?e:void 0}function jC(e,t={}){const{window:n=pn,ssrWidth:r=FC()}=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 Fo(()=>{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>=Bu(d[1])),p&&h&&(h=r<=Bu(p[1])),f?!h:h});return}o.value&&(s.value=n.matchMedia(Je(e)),a.value=s.value.matches)}),wt(s,"change",l,{passive:!0}),Z(()=>a.value)}function Lu(e,t={}){const{controls:n=!1,navigator:r=Gh}=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"};wt(i,"change",l,{passive:!0});const u=AC(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 QS(e={}){const{navigator:t=Gh,read:n=!1,source:r,copiedDuring:o=1500,legacy:i=!1}=e,s=Ko(()=>t&&"clipboard"in t),a=Lu("clipboard-read"),l=Lu("clipboard-write"),u=Z(()=>s.value||i),c=He(""),f=He(!1),d=BC(()=>f.value=!1,o,{immediate:!1});async function p(){let C=!(s.value&&y(a.value));if(!C)try{c.value=await t.clipboard.readText()}catch{C=!0}C&&(c.value=x())}u.value&&n&&wt(["copy","cut"],p,{passive:!0});async function h(C=Je(r)){if(u.value&&C!=null){let A=!(s.value&&y(l.value));if(!A)try{await t.clipboard.writeText(C)}catch{A=!0}A&&g(C),c.value=C,f.value=!0,d.start()}}function g(C){const A=document.createElement("textarea");A.value=C??"",A.style.position="absolute",A.style.opacity="0",document.body.appendChild(A),A.select(),document.execCommand("copy"),A.remove()}function x(){var C,A,O;return(O=(A=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:A.toString())!=null?O:""}function y(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__",NC=WC();function WC(){return hi in di||(di[hi]=di[hi]||{}),di[hi]}function VC(e,t){return NC[e]||t}function UC(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 KC={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()}},Hu="vueuse-storage";function JS(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=Y=>{console.error(Y)},initOnMounted:h}=r,g=(c?He:de)(typeof t=="function"?t():t),x=Z(()=>Je(e));if(!n)try{n=VC("getDefaultStorage",()=>{var Y;return(Y=pn)==null?void 0:Y.localStorage})()}catch(Y){p(Y)}if(!n)return g;const y=Je(t),C=UC(y),A=(o=r.serializer)!=null?o:KC[C],{pause:O,resume:T}=MC(g,()=>L(g.value),{flush:i,deep:s,eventFilter:d});tt(x,()=>B(),{flush:i});let _=!1;const m=Y=>{h&&!_||B(Y)},E=Y=>{h&&!_||re(Y)};f&&a&&(n instanceof Storage?wt(f,"storage",m,{passive:!0}):wt(f,Hu,E)),h?Uo(()=>{_=!0,B()}):B();function P(Y,se){if(f){const oe={key:x.value,oldValue:Y,newValue:se,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",oe):new CustomEvent(Hu,{detail:oe}))}}function L(Y){try{const se=n.getItem(x.value);if(Y==null)P(se,null),n.removeItem(x.value);else{const oe=A.write(Y);se!==oe&&(n.setItem(x.value,oe),P(se,oe))}}catch(se){p(se)}}function V(Y){const se=Y?Y.newValue:n.getItem(x.value);if(se==null)return l&&y!=null&&n.setItem(x.value,A.write(y)),y;if(!Y&&u){const oe=A.read(se);return typeof u=="function"?u(oe,y):C==="object"&&!Array.isArray(oe)?{...y,...oe}:oe}else return typeof se!="string"?se:A.read(se)}function B(Y){if(!(Y&&Y.storageArea!==n)){if(Y&&Y.key==null){g.value=y;return}if(!(Y&&Y.key!==x.value)){O();try{(Y==null?void 0:Y.newValue)!==A.write(g.value)&&(g.value=V(Y))}catch(se){p(se)}finally{Y?Bt(T):T()}}}}function re(Y){B(Y.detail)}return g}function Xh(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 qC(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 y=Zt(e);if(!y){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=y.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 x(){s==="sync"?g():s==="next-frame"&&requestAnimationFrame(()=>g())}return Xh(e,x),tt(()=>Zt(e),y=>!y&&x()),Yh(e,x,{attributeFilter:["style","class"]}),o&&wt("scroll",x,{capture:!0,passive:!0}),r&&wt("resize",x,{passive:!0}),Uo(()=>{i&&x()}),{height:a,bottom:l,left:u,right:c,top:f,width:d,x:p,y:h,update:x}}function e3(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}=Xh(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 GC(e,t={}){const{throttle:n=0,idle:r=200,onStop:o=lr,onScroll:i=lr,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){y(P,void 0)}}),x=Z({get(){return h.value},set(P){y(void 0,P)}});function y(P,L){var V,B,re,Y;if(!c)return;const se=Je(e);if(!se)return;(re=se instanceof Document?c.document.body:se)==null||re.scrollTo({top:(V=Je(L))!=null?V:x.value,left:(B=Je(P))!=null?B:g.value,behavior:Je(u)});const oe=((Y=se==null?void 0:se.document)==null?void 0:Y.documentElement)||(se==null?void 0:se.documentElement)||se;g!=null&&(p.value=oe.scrollLeft),x!=null&&(h.value=oe.scrollTop)}const C=He(!1),A=dn({left:!0,right:!1,top:!0,bottom:!1}),O=dn({left:!1,right:!1,top:!1,bottom:!1}),T=P=>{C.value&&(C.value=!1,O.left=!1,O.right=!1,O.top=!1,O.bottom=!1,o(P))},_=qh(T,n+r),m=P=>{var L;if(!c)return;const V=((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:Y}=getComputedStyle(V),se=Y==="rtl"?-1:1,oe=V.scrollLeft;O.left=oe<p.value,O.right=oe>p.value;const te=Math.abs(oe*se)<=(s.left||0),ge=Math.abs(oe*se)+V.clientWidth>=V.scrollWidth-(s.right||0)-Du;B==="flex"&&re==="row-reverse"?(A.left=ge,A.right=te):(A.left=te,A.right=ge),p.value=oe;let Re=V.scrollTop;P===c.document&&!Re&&(Re=c.document.body.scrollTop),O.top=Re<h.value,O.bottom=Re>h.value;const Ae=Math.abs(Re)<=(s.top||0),Pe=Math.abs(Re)+V.clientHeight>=V.scrollHeight-(s.bottom||0)-Du;B==="flex"&&re==="column-reverse"?(A.top=Pe,A.bottom=Ae):(A.top=Ae,A.bottom=Pe),h.value=Re},E=P=>{var L;if(!c)return;const V=(L=P.target.documentElement)!=null?L:P.target;m(V),C.value=!0,_(P),i(P)};return wt(e,"scroll",n?IC(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&&Yh(e,()=>{const P=Je(e);P&&m(P)},{attributes:!0,childList:!0,subtree:!0}),wt(e,"scrollend",T,l),{x:g,y:x,isScrolling:C,arrivedState:A,directions:O,measure(){const P=Je(e);c&&P&&m(P)}}}function YC(e={}){const{window:t=pn,...n}=e;return GC(t,n)}function XC(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(wt("resize",u,c),t&&s==="visual"&&t.visualViewport&&wt(t.visualViewport,"resize",u,c),o){const f=jC("(orientation: portrait)");tt(f,()=>u())}return{width:a,height:l}}const ZC=CC(()=>Mo({networkErrorDlgVisible:!1,githubErrorDlgVisible:!1,wasmErrorDlgVisible:!1,wasmSupported:void 0})),{message:Fu,dialog:t3,loadingBar:n3}=yw(["message","dialog","loadingBar"]),Zh=document.querySelector("#app"),QC={fixed:"","z-2000":"",class:"BodyScrollbar"},JC=Te({__name:"BodyScrollbar",setup(e){const{y:t,x:n}=YC(),{height:r,width:o}=XC(),i=qC(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};wt("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)}),wt("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}),x=Z(()=>{const _=i.width.value,m=g.value;return n.value/(_-o.value)*(o.value-m)}),y=Z(()=>h.value?{transform:`translateX(${x.value}px)`,width:`${g.value}px`}:{}),C=_=>{const m=g.value*.9*(_.clientX<g.value+x.value?-1:1),E=i.width.value,P=E,L=o.value/P*o.value,V=n.value+m/(o.value-L)*(E-o.value);n.value=V},A=He(!1);let O;const T=_=>{O=_,A.value=!0};return wt("pointermove",_=>{if(!O)return;const m=_.clientX-O.clientX;O=_;const E=i.width.value,P=E,L=o.value/P*o.value;n.value+=m/(o.value-L)*(E-o.value)}),wt("pointerup",()=>{O=void 0,A.value=!1}),wt("selectstart",_=>{(O||d)&&_.preventDefault()}),(_,m)=>(jn(),Ro("div",QC,[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]=bc(()=>{},["stop"]))},null,6)],544),[[Oi,Ve(s)]]),Ve(h)?(jn(),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(y)),class:Dn({"opacity-50":Ve(A)}),onClick:m[1]||(m[1]=bc(()=>{},["stop"]))},null,6)],32)):dd("",!0)]))}});function r3(...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 o3=e=>{const t={};return e.forEach((n,r)=>{t[r]=n}),t},e_=async(e=0)=>new Promise(t=>{setTimeout(t,e)}),i3=(()=>{let e;return async t=>{if(t&&e!==t){e=t,e_(1e4).then(()=>{e=void 0});try{await navigator.clipboard.writeText(t),Fu.success("复制成功")}catch{Fu.error("复制失败")}}}})(),Qh=(e,t)=>{e.classList.add(t),Gt(()=>{e.classList.add(t)}),Yi(()=>{e.classList.remove(t)})},s3=()=>{Qh(Zh,"app-auto-h")},a3=()=>{Qh(document.body,"body-auto-w")},t_=()=>{},l3=()=>t_,c3=(e,t)=>{const n={};return t.forEach(r=>{const o=e[r];o!==void 0&&(n[r]=o)}),n},Jh=e=>typeof e=="number"?!0:typeof e=="string"&&Array.prototype.every.call(e,t=>"0"<=t&&t<="9"),u3=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}},n_=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(JC)):void 0}),f3=["#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"],d3=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},r_=[/\.0+$/,/0+$/],h3=(e,t)=>{const n=e.toFixed(t);if(!n.includes("."))return n;for(const r of r_)if(r.test(n))return n.replace(r,"");return n},p3=e=>{try{return new URL(e)}catch{}},o_=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"]),v3=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:o_.has(e.origin)),i_=[/^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+)$/],s_=["https://f.gkd.li/","https://github.com/user-attachments/files/","https://github.com/gkd-kit/inspect/files/"],g3=e=>s_.some(t=>e.startsWith(t)),ep=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 i_){const r=(t=e.match(n))==null?void 0:t[1];if(r)return+r}}},a_=/^https:\/\/github\.com\/gkd-kit\/inspect\/assets\/[0-9]+\/([0-9a-z-]+)$/,l_=/^https:\/\/github\.com\/user-attachments\/assets\/([0-9a-z-]+)$/,c_=e=>{var t,n;return((t=e.match(a_))==null?void 0:t[1])||((n=e.match(l_))==null?void 0:n[1])},m3=e=>location.origin+`/i/${e}`,b3=e=>`https://e.gkd.li/${e}`,u_=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 f_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function y3(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 aa={exports:{}};var ju;function d_(){return ju||(ju=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 x=i.document.createElement("script");x.onreadystatechange=function(){h(),x.onreadystatechange=null,x.parentNode.removeChild(x),x=null},i.document.documentElement.appendChild(x)}:a=function(){setTimeout(h,0)};var d,p=[];function h(){d=!0;for(var x,y,C=p.length;C;){for(y=p,p=[],x=-1;++x<C;)y[x]();C=p.length}d=!1}r.exports=g;function g(x){p.push(x)===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=x(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 V=x(L);V.status==="error"&&E(V.value)}function x(T,_){var m={};try{m.value=T(_),m.status="success"}catch(E){m.status="error",m.value=E}return m}f.resolve=y;function y(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=A;function A(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,V=-1,B=new this(s);++V<m;)re(T[V],V);return B;function re(Y,se){_.resolve(Y).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=O;function O(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;)V(T[P]);return L;function V(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($){if($.name!=="TypeError")throw $;for(var b=typeof BlobBuilder<"u"?BlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:WebKitBlobBuilder,k=new b,z=0;z<v.length;z+=1)k.append(v[z]);return k.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 x="local-forage-detect-blob-support",y=void 0,C={},A=Object.prototype.toString,O="readonly",T="readwrite";function _(v){for(var R=v.length,b=new ArrayBuffer(R),k=new Uint8Array(b),z=0;z<R;z++)k[z]=v.charCodeAt(z);return b}function m(v){return new f(function(R){var b=v.transaction(x,T),k=c([""]);b.objectStore(x).put(k,"key"),b.onabort=function(z){z.preventDefault(),z.stopPropagation(),R(!1)},b.oncomplete=function(){var z=navigator.userAgent.match(/Chrome\/(\d+)/),$=navigator.userAgent.match(/Edge\//);R($||!z||parseInt(z[1],10)>=43)}}).catch(function(){return!1})}function E(v){return typeof y=="boolean"?f.resolve(y):m(v).then(function(R){return y=R,y})}function P(v){var R=C[v.name],b={};b.promise=new f(function(k,z){b.resolve=k,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 V(v,R){var b=C[v.name],k=b.deferredOperations.pop();if(k)return k.reject(R),k.promise}function B(v,R){return new f(function(b,k){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 $=l.open.apply(l,z);R&&($.onupgradeneeded=function(j){var X=$.result;try{X.createObjectStore(v.storeName),j.oldVersion<=1&&X.createObjectStore(x)}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}}),$.onerror=function(j){j.preventDefault(),k($.error)},$.onsuccess=function(){var j=$.result;j.onversionchange=function(X){X.target.close()},b(j),L(v)}})}function re(v){return B(v,!1)}function Y(v){return B(v,!0)}function se(v,R){if(!v.db)return!0;var b=!v.db.objectStoreNames.contains(v.storeName),k=v.version<v.db.version,z=v.version>v.db.version;if(k&&(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 $=v.db.version+1;$>v.version&&(v.version=$)}return!0}return!1}function oe(v){return new f(function(R,b){var k=new FileReader;k.onerror=b,k.onloadend=function(z){var $=btoa(z.target.result||"");R({__local_forage_encoded_blob:!0,data:$,type:v.type})},k.readAsBinaryString(v)})}function te(v){var R=_(atob(v.data));return c([R],{type:v.type})}function ge(v){return v&&v.__local_forage_encoded_blob}function Re(v){var R=this,b=R._initReady().then(function(){var k=C[R._dbInfo.name];if(k&&k.dbReady)return k.dbReady});return p(b,v,v),b}function Ae(v){P(v);for(var R=C[v.name],b=R.forages,k=0;k<b.length;k++){var z=b[k];z._dbInfo.db&&(z._dbInfo.db.close(),z._dbInfo.db=null)}return v.db=null,re(v).then(function($){return v.db=$,se(v)?Y(v):$}).then(function($){v.db=R.db=$;for(var j=0;j<b.length;j++)b[j]._dbInfo.db=$}).catch(function($){throw V(v,$),$})}function Pe(v,R,b,k){k===void 0&&(k=1);try{var z=v.db.transaction(v.storeName,R);b(null,z)}catch($){if(k>0&&(!v.db||$.name==="InvalidStateError"||$.name==="NotFoundError"))return f.resolve().then(function(){if(!v.db||$.name==="NotFoundError"&&!v.db.objectStoreNames.contains(v.storeName)&&v.version<=v.db.version)return v.db&&(v.version=v.db.version+1),Y(v)}).then(function(){return Ae(v).then(function(){Pe(v,R,b,k-1)})}).catch(b);b($)}}function Be(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function ot(v){var R=this,b={db:null};if(v)for(var k in v)b[k]=v[k];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 $=[];function j(){return f.resolve()}for(var X=0;X<z.forages.length;X++){var Q=z.forages[X];Q!==R&&$.push(Q._initReady().catch(j))}var J=z.forages.slice(0);return f.all($).then(function(){return b.db=z.db,re(b)}).then(function(ne){return b.db=ne,se(b,R._defaultConfig.version)?Y(b):ne}).then(function(ne){b.db=z.db=ne,R._dbInfo=b;for(var be=0;be<J.length;be++){var $e=J[be];$e!==R&&($e._dbInfo.db=b.db,$e._dbInfo.version=b.version)}})}function it(v,R){var b=this;v=h(v);var k=new f(function(z,$){b.ready().then(function(){Pe(b._dbInfo,O,function(j,X){if(j)return $(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),ge(ne)&&(ne=te(ne)),z(ne)},J.onerror=function(){$(J.error)}}catch(ne){$(ne)}})}).catch($)});return d(k,R),k}function kt(v,R){var b=this,k=new f(function(z,$){b.ready().then(function(){Pe(b._dbInfo,O,function(j,X){if(j)return $(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=Q.openCursor(),ne=1;J.onsuccess=function(){var be=J.result;if(be){var $e=be.value;ge($e)&&($e=te($e));var De=v($e,be.key,ne++);De!==void 0?z(De):be.continue()}else z()},J.onerror=function(){$(J.error)}}catch(be){$(be)}})}).catch($)});return d(k,R),k}function Ee(v,R,b){var k=this;v=h(v);var z=new f(function($,j){var X;k.ready().then(function(){return X=k._dbInfo,A.call(R)==="[object Blob]"?E(X.db).then(function(Q){return Q?R:oe(R)}):R}).then(function(Q){Pe(k._dbInfo,T,function(J,ne){if(J)return j(J);try{var be=ne.objectStore(k._dbInfo.storeName);Q===null&&(Q=void 0);var $e=be.put(Q,v);ne.oncomplete=function(){Q===void 0&&(Q=null),$(Q)},ne.onabort=ne.onerror=function(){var De=$e.error?$e.error:$e.transaction.error;j(De)}}catch(De){j(De)}})}).catch(j)});return d(z,b),z}function D(v,R){var b=this;v=h(v);var k=new f(function(z,$){b.ready().then(function(){Pe(b._dbInfo,T,function(j,X){if(j)return $(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=Q.delete(v);X.oncomplete=function(){z()},X.onerror=function(){$(J.error)},X.onabort=function(){var ne=J.error?J.error:J.transaction.error;$(ne)}}catch(ne){$(ne)}})}).catch($)});return d(k,R),k}function le(v){var R=this,b=new f(function(k,z){R.ready().then(function(){Pe(R._dbInfo,T,function($,j){if($)return z($);try{var X=j.objectStore(R._dbInfo.storeName),Q=X.clear();j.oncomplete=function(){k()},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 U(v){var R=this,b=new f(function(k,z){R.ready().then(function(){Pe(R._dbInfo,O,function($,j){if($)return z($);try{var X=j.objectStore(R._dbInfo.storeName),Q=X.count();Q.onsuccess=function(){k(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,k=new f(function(z,$){if(v<0){z(null);return}b.ready().then(function(){Pe(b._dbInfo,O,function(j,X){if(j)return $(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=!1,ne=Q.openKeyCursor();ne.onsuccess=function(){var be=ne.result;if(!be){z(null);return}v===0||J?z(be.key):(J=!0,be.advance(v))},ne.onerror=function(){$(ne.error)}}catch(be){$(be)}})}).catch($)});return d(k,R),k}function ke(v){var R=this,b=new f(function(k,z){R.ready().then(function(){Pe(R._dbInfo,O,function($,j){if($)return z($);try{var X=j.objectStore(R._dbInfo.storeName),Q=X.openKeyCursor(),J=[];Q.onsuccess=function(){var ne=Q.result;if(!ne){k(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 k=this,z;if(!v.name)z=f.reject("Invalid arguments");else{var $=v.name===b.name&&k._dbInfo.db,j=$?f.resolve(k._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 be=0;be<ne.length;be++){var $e=ne[be];$e._dbInfo.db=null,$e._dbInfo.version=Q}var De=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 De.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(V(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 be=J[ne];be._dbInfo.db=null}var $e=new f(function(De,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(),De(st)}});return $e.then(function(De){Q.db=De;for(var Ne=0;Ne<J.length;Ne++){var lt=J[Ne];L(lt._dbInfo)}}).catch(function(De){throw(V(v,De)||f.resolve()).catch(function(){}),De})})}return d(z,R),z}var S={_driver:"asyncStorage",_initStorage:ot,_support:u(),iterate:kt,getItem:it,setItem:Ee,removeItem:D,clear:le,length:U,key:he,keys:ke,dropInstance:w};function M(){return typeof openDatabase=="function"}var H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",W="~~local_forage_type~",F=/^~~local_forage_type~([^~]+)~/,ie="__lfsc__:",ee=ie.length,q="arbf",N="blob",pe="si08",ae="ui08",me="uic8",ye="si16",Oe="si32",Le="ur16",Me="ui32",at="fl32",ut="fl64",bt=ee+q.length,yt=Object.prototype.toString;function Yt(v){var R=v.length*.75,b=v.length,k,z=0,$,j,X,Q;v[v.length-1]==="="&&(R--,v[v.length-2]==="="&&R--);var J=new ArrayBuffer(R),ne=new Uint8Array(J);for(k=0;k<b;k+=4)$=H.indexOf(v[k]),j=H.indexOf(v[k+1]),X=H.indexOf(v[k+2]),Q=H.indexOf(v[k+3]),ne[z++]=$<<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="",k;for(k=0;k<R.length;k+=3)b+=H[R[k]>>2],b+=H[(R[k]&3)<<4|R[k+1]>>4],b+=H[(R[k+1]&15)<<2|R[k+2]>>6],b+=H[R[k+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=yt.call(v)),v&&(b==="[object ArrayBuffer]"||v.buffer&&yt.call(v.buffer)==="[object ArrayBuffer]")){var k,z=ie;v instanceof ArrayBuffer?(k=v,z+=q):(k=v.buffer,b==="[object Int8Array]"?z+=pe:b==="[object Uint8Array]"?z+=ae:b==="[object Uint8ClampedArray]"?z+=me:b==="[object Int16Array]"?z+=ye:b==="[object Uint16Array]"?z+=Le:b==="[object Int32Array]"?z+=Oe: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(k))}else if(b==="[object Blob]"){var $=new FileReader;$.onload=function(){var j=W+v.type+"~"+Lt(this.result);R(ie+N+j)},$.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 G(v){if(v.substring(0,ee)!==ie)return JSON.parse(v);var R=v.substring(bt),b=v.substring(ee,bt),k;if(b===N&&F.test(R)){var z=R.match(F);k=z[1],R=R.substring(z[0].length)}var $=Yt(R);switch(b){case q:return $;case N:return c([$],{type:k});case pe:return new Int8Array($);case ae:return new Uint8Array($);case me:return new Uint8ClampedArray($);case ye:return new Int16Array($);case Le:return new Uint16Array($);case Oe:return new Int32Array($);case Me:return new Uint32Array($);case at:return new Float32Array($);case ut:return new Float64Array($);default:throw new Error("Unkown type: "+b)}}var ve={serialize:Ct,deserialize:G,stringToBuffer:Yt,bufferToString:Lt};function _e(v,R,b,k){v.executeSql("CREATE TABLE IF NOT EXISTS "+R.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],b,k)}function Ue(v){var R=this,b={db:null};if(v)for(var k in v)b[k]=typeof v[k]!="string"?v[k].toString():v[k];var z=new f(function($,j){try{b.db=openDatabase(b.name,String(b.version),b.description,b.size)}catch(X){return j(X)}b.db.transaction(function(X){_e(X,b,function(){R._dbInfo=b,$()},function(Q,J){j(J)})},j)});return b.serializer=ve,z}function We(v,R,b,k,z,$){v.executeSql(b,k,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?$(Q,X):_e(Q,R,function(){Q.executeSql(b,k,z,$)},$)},$):$(j,X)},$)}function _t(v,R){var b=this;v=h(v);var k=new f(function(z,$){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){$(J)})})}).catch($)});return d(k,R),k}function Ht(v,R){var b=this,k=new f(function(z,$){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,be=ne.length,$e=0;$e<be;$e++){var De=ne.item($e),Ne=De.value;if(Ne&&(Ne=j.serializer.deserialize(Ne)),Ne=v(Ne,De.key,$e+1),Ne!==void 0){z(Ne);return}}z()},function(Q,J){$(J)})})}).catch($)});return d(k,R),k}function Ge(v,R,b,k){var z=this;v=h(v);var $=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,be){be?X(be):J.db.transaction(function($e){We($e,J,"INSERT OR REPLACE INTO "+J.storeName+" (key, value) VALUES (?, ?)",[v,ne],function(){j(Q)},function(De,Ne){X(Ne)})},function($e){if($e.code===$e.QUOTA_ERR){if(k>0){j(Ge.apply(z,[v,Q,b,k-1]));return}X($e)}})})}).catch(X)});return d($,b),$}function It(v,R,b){return Ge.apply(this,[v,R,b,1])}function rn(v,R){var b=this;v=h(v);var k=new f(function(z,$){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){$(J)})})}).catch($)});return d(k,R),k}function ps(v){var R=this,b=new f(function(k,z){R.ready().then(function(){var $=R._dbInfo;$.db.transaction(function(j){We(j,$,"DELETE FROM "+$.storeName,[],function(){k()},function(X,Q){z(Q)})})}).catch(z)});return d(b,v),b}function vs(v){var R=this,b=new f(function(k,z){R.ready().then(function(){var $=R._dbInfo;$.db.transaction(function(j){We(j,$,"SELECT COUNT(key) as c FROM "+$.storeName,[],function(X,Q){var J=Q.rows.item(0).c;k(J)},function(X,Q){z(Q)})})}).catch(z)});return d(b,v),b}function gs(v,R){var b=this,k=new f(function(z,$){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){$(J)})})}).catch($)});return d(k,R),k}function ms(v){var R=this,b=new f(function(k,z){R.ready().then(function(){var $=R._dbInfo;$.db.transaction(function(j){We(j,$,"SELECT key FROM "+$.storeName,[],function(X,Q){for(var J=[],ne=0;ne<Q.rows.length;ne++)J.push(Q.rows.item(ne).key);k(J)},function(X,Q){z(Q)})})}).catch(z)});return d(b,v),b}function bs(v){return new f(function(R,b){v.transaction(function(k){k.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(z,$){for(var j=[],X=0;X<$.rows.length;X++)j.push($.rows.item(X).name);R({db:v,storeNames:j})},function(z,$){b($)})},function(k){b(k)})})}function ys(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 k=this,z;return v.name?z=new f(function($){var j;v.name===b.name?j=k._dbInfo.db:j=openDatabase(v.name,"","",0),v.storeName?$({db:j,storeNames:[v.storeName]}):$(bs(j))}).then(function($){return new f(function(j,X){$.db.transaction(function(Q){function J(De){return new f(function(Ne,lt){Q.executeSql("DROP TABLE IF EXISTS "+De,[],function(){Ne()},function(st,Nt){lt(Nt)})})}for(var ne=[],be=0,$e=$.storeNames.length;be<$e;be++)ne.push(J($.storeNames[be]));f.all(ne).then(function(){j()}).catch(function(De){X(De)})},function(Q){X(Q)})})}):z=f.reject("Invalid arguments"),d(z,R),z}var xs={_driver:"webSQLStorage",_initStorage:Ue,_support:M(),iterate:Ht,getItem:_t,setItem:It,removeItem:rn,clear:ps,length:vs,key:gs,keys:ms,dropInstance:ys};function ws(){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 Cs(){var v="_localforage_support_test";try{return localStorage.setItem(v,!0),localStorage.removeItem(v),!1}catch{return!0}}function _s(){return!Cs()||localStorage.length>0}function Ss(v){var R=this,b={};if(v)for(var k in v)b[k]=v[k];return b.keyPrefix=qo(v,R._defaultConfig),_s()?(R._dbInfo=b,b.serializer=ve,f.resolve()):f.reject()}function Es(v){var R=this,b=R.ready().then(function(){for(var k=R._dbInfo.keyPrefix,z=localStorage.length-1;z>=0;z--){var $=localStorage.key(z);$.indexOf(k)===0&&localStorage.removeItem($)}});return d(b,v),b}function Ts(v,R){var b=this;v=h(v);var k=b.ready().then(function(){var z=b._dbInfo,$=localStorage.getItem(z.keyPrefix+v);return $&&($=z.serializer.deserialize($)),$});return d(k,R),k}function Rs(v,R){var b=this,k=b.ready().then(function(){for(var z=b._dbInfo,$=z.keyPrefix,j=$.length,X=localStorage.length,Q=1,J=0;J<X;J++){var ne=localStorage.key(J);if(ne.indexOf($)===0){var be=localStorage.getItem(ne);if(be&&(be=z.serializer.deserialize(be)),be=v(be,ne.substring(j),Q++),be!==void 0)return be}}});return d(k,R),k}function Ps(v,R){var b=this,k=b.ready().then(function(){var z=b._dbInfo,$;try{$=localStorage.key(v)}catch{$=null}return $&&($=$.substring(z.keyPrefix.length)),$});return d(k,R),k}function Os(v){var R=this,b=R.ready().then(function(){for(var k=R._dbInfo,z=localStorage.length,$=[],j=0;j<z;j++){var X=localStorage.key(j);X.indexOf(k.keyPrefix)===0&&$.push(X.substring(k.keyPrefix.length))}return $});return d(b,v),b}function sp(v){var R=this,b=R.keys().then(function(k){return k.length});return d(b,v),b}function ap(v,R){var b=this;v=h(v);var k=b.ready().then(function(){var z=b._dbInfo;localStorage.removeItem(z.keyPrefix+v)});return d(k,R),k}function lp(v,R,b){var k=this;v=h(v);var z=k.ready().then(function(){R===void 0&&(R=null);var $=R;return new f(function(j,X){var Q=k._dbInfo;Q.serializer.serialize(R,function(J,ne){if(ne)X(ne);else try{localStorage.setItem(Q.keyPrefix+v,J),j($)}catch(be){(be.name==="QuotaExceededError"||be.name==="NS_ERROR_DOM_QUOTA_REACHED")&&X(be),X(be)}})})});return d(z,b),z}function cp(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 k=this,z;return v.name?z=new f(function($){v.storeName?$(qo(v,k._defaultConfig)):$(v.name+"/")}).then(function($){for(var j=localStorage.length-1;j>=0;j--){var X=localStorage.key(j);X.indexOf($)===0&&localStorage.removeItem(X)}}):z=f.reject("Invalid arguments"),d(z,R),z}var up={_driver:"localStorageWrapper",_initStorage:Ss,_support:ws(),iterate:Rs,getItem:Ts,setItem:lp,removeItem:ap,clear:Es,length:sp,key:Ps,keys:Os,dropInstance:cp},fp=function(R,b){return R===b||typeof R=="number"&&typeof b=="number"&&isNaN(R)&&isNaN(b)},dp=function(R,b){for(var k=R.length,z=0;z<k;){if(fp(R[z],b))return!0;z++}return!1},Rl=Array.isArray||function(v){return Object.prototype.toString.call(v)==="[object Array]"},Vr={},Pl={},pr={INDEXEDDB:S,WEBSQL:xs,LOCALSTORAGE:up},hp=[pr.INDEXEDDB._driver,pr.WEBSQL._driver,pr.LOCALSTORAGE._driver],Go=["dropInstance"],$s=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(Go),pp={description:"",driver:hp.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function vp(v,R){v[R]=function(){var b=arguments;return v.ready().then(function(){return v[R].apply(v,b)})}}function As(){for(var v=1;v<arguments.length;v++){var R=arguments[v];if(R)for(var b in R)R.hasOwnProperty(b)&&(Rl(R[b])?arguments[0][b]=R[b].slice():arguments[0][b]=R[b])}return arguments[0]}var gp=function(){function v(R){s(this,v);for(var b in pr)if(pr.hasOwnProperty(b)){var k=pr[b],z=k._driver;this[b]=z,Vr[z]||this.defineDriver(k)}this._defaultConfig=As({},pp),this._config=As({},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 k in b){if(k==="storeName"&&(b[k]=b[k].replace(/\W/g,"_")),k==="version"&&typeof b[k]!="number")return new Error("Database version must be a number.");this._config[k]=b[k]}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,k,z){var $=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=$s.concat("_initStorage"),be=0,$e=ne.length;be<$e;be++){var De=ne[be],Ne=!dp(Go,De);if((Ne||b[De])&&typeof b[De]!="function"){X(J);return}}var lt=function(){for(var Ur=function(yp){return function(){var xp=new Error("Method "+yp+" is not implemented by the current driver"),Ol=f.reject(xp);return d(Ol,arguments[arguments.length-1]),Ol}},ks=0,bp=Go.length;ks<bp;ks++){var Is=Go[ks];b[Is]||(b[Is]=Ur(Is))}};lt();var st=function(Ur){Vr[Q]&&console.info("Redefining LocalForage driver: "+Q),Vr[Q]=b,Pl[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($,k,z),$},v.prototype.driver=function(){return this._driver||null},v.prototype.getDriver=function(b,k,z){var $=Vr[b]?f.resolve(Vr[b]):f.reject(new Error("Driver not found."));return p($,k,z),$},v.prototype.getSerializer=function(b){var k=f.resolve(ve);return p(k,b),k},v.prototype.ready=function(b){var k=this,z=k._driverSet.then(function(){return k._ready===null&&(k._ready=k._initDriver()),k._ready});return p(z,b,b),z},v.prototype.setDriver=function(b,k,z){var $=this;Rl(b)||(b=[b]);var j=this._getSupportedDrivers(b);function X(){$._config.driver=$.driver()}function Q(be){return $._extend(be),X(),$._ready=$._initStorage($._config),$._ready}function J(be){return function(){var $e=0;function De(){for(;$e<be.length;){var Ne=be[$e];return $e++,$._dbInfo=null,$._ready=null,$.getDriver(Ne).then(Q).catch(De)}X();var lt=new Error("No available storage method found.");return $._driverSet=f.reject(lt),$._driverSet}return De()}}var ne=this._driverSet!==null?this._driverSet.catch(function(){return f.resolve()}):f.resolve();return this._driverSet=ne.then(function(){var be=j[0];return $._dbInfo=null,$._ready=null,$.getDriver(be).then(function($e){$._driver=$e._driver,X(),$._wrapLibraryMethodsWithReady(),$._initDriver=J(j)})}).catch(function(){X();var be=new Error("No available storage method found.");return $._driverSet=f.reject(be),$._driverSet}),p(this._driverSet,k,z),this._driverSet},v.prototype.supports=function(b){return!!Pl[b]},v.prototype._extend=function(b){As(this,b)},v.prototype._getSupportedDrivers=function(b){for(var k=[],z=0,$=b.length;z<$;z++){var j=b[z];this.supports(j)&&k.push(j)}return k},v.prototype._wrapLibraryMethodsWithReady=function(){for(var b=0,k=$s.length;b<k;b++)vp(this,$s[b])},v.prototype.createInstance=function(b){return new v(b)},v}(),mp=new gp;r.exports=mp},{3:3}]},{},[4])(4)})}(aa)),aa.exports}var h_=d_();const Nu=f_(h_),tp=e=>e,p_=(e,t)=>{try{return e()}catch{return t()}},v_=(e,t,n=tp)=>{const r=localStorage.getItem(e),o=r?p_(()=>n(JSON.parse(r)),t):t(),i=Mo(o);return tt(i,()=>{localStorage.setItem(e,JSON.stringify(ze(i)))}),i},hs=async(e,t,n=tp)=>{const r=await Nu.getItem(e),o=Mo(r?n(r):t());return tt(o,async()=>{await Nu.setItem(e,ze(o))}),o},g_=v_("settings",()=>({autoUploadImport:!1,ignoreUploadWarn:!1,ignoreWasmWarn:!1,maxShowNodeSize:2e3})),m_=await hs("importTime",()=>({})),b_=await hs("githubJpg",()=>({}),e=>(Object.keys(e).forEach(t=>{const n=e[t];if(n.startsWith("https://")){const r=c_(n);r?e[t]=r:delete e[t]}}),e)),y_=await hs("githubZip",()=>({}),e=>(Object.keys(e).forEach(t=>{const n=e[t];if(Jh(n))return;const r=ep(n);r?e[t]=r:delete e[t]}),e)),x_=await hs("url",()=>({}),e=>(Object.keys(e).forEach(t=>{if(Jh(t))return;const n=ep(t);n&&(e[n]=e[t]),delete e[t]}),e)),w_=()=>({settingsStore:g_,snapshotImportTime:m_,snapshotImageId:b_,snapshotImportId:y_,importSnapshotId:x_}),C_=Te({__name:"ErrorDlg",setup(e){const t=ZC(),{settingsStore:n}=w_();return(r,o)=>{const i=xl,s=v2;return jn(),Ro(Xe,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,__:[4]},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,__:[5]},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,__:[6]},8,["checked"])]),_:1,__:[7,8]},8,["show"])],64)}}}),__=Te({__name:"App",setup(e){const t={common:{lineHeight:"20px"}},n=Cx(()=>{document.activeElement instanceof HTMLButtonElement&&document.activeElement.blur()},1e3);return wt("click",()=>{n()}),(r,o)=>{const i=yh;return jn(),Ro(Xe,null,[qe(i,{abstract:"",locale:Ve(Eb),dateLocale:Ve(c0),themeOverrides:t},{default:wr(()=>[qe(C_),qe(Ve(Uh))]),_:1},8,["locale","dateLocale"]),qe(Ve(n_))],64)}}}),S_="modulepreload",E_=function(e,t){return new URL(e,t).href},Wu={},Gn=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=E_(c,r),c in Wu)return;Wu[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(!!r)for(let g=s.length-1;g>=0;g--){const x=s[g];if(x.href===c&&(!f||x.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":S_,f||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((g,x)=>{h.addEventListener("load",g),h.addEventListener("error",()=>x(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)})},T_=(e,t)=>{try{return new URL(e,t)}catch{}},np=new Set,Yn=e=>(np.add(e),e),Vu=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:u_(t)}}:{path:"/404"}},rp=xC({history:Xw("/"),routes:[{path:"/",component:Yn(()=>Gn(()=>import("./HomePage-47_TAQ9h.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url)),meta:{title:"首页"}},{path:"/snapshot/:snapshotId",name:"snapshot",component:Yn(()=>Gn(()=>import("./SnapshotPage-055LCAoq.js"),__vite__mapDeps([9,10,6,11,12,1,2,3,4,5,13,14]),import.meta.url)),meta:{title:"快照"}},{path:"/i",component:Yn(()=>Gn(()=>import("./ImportPage-DmYJkTpm.js"),__vite__mapDeps([15,3,7,4]),import.meta.url)),meta:{title:"导入快照"}},{path:"/i/:github_asset_id",redirect:Vu},{path:"/import",redirect(e){return{path:"/i",query:e.query}}},{path:"/import/:github_asset_id",redirect:Vu},{path:"/device",component:Yn(()=>Gn(()=>import("./DevicePage-2eLd65ot.js"),__vite__mapDeps([16,3,13,8,6,5,2]),import.meta.url)),beforeEnter(e,t,n){const r=T_(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:Yn(()=>Gn(()=>import("./SelectorPage-o9LIj-I1.js"),__vite__mapDeps([17,10,6,11,2]),import.meta.url)),meta:{title:"选择器"}},{path:"/svg",component:Yn(()=>Gn(()=>import("./SvgPage-BagXHNio.js"),__vite__mapDeps([18,2]),import.meta.url)),meta:{title:"SVG"}},{path:"/:pathMatch(.*)*",component:Yn(()=>Gn(()=>import("./_404Page-EBmWBN0j.js"),__vite__mapDeps([19,12]),import.meta.url))}]});rp.beforeEach(e=>{document.title=String(e.meta.title||"GKD")});setTimeout(()=>{np.forEach(e=>e())},3e3);const R_=`GIT commit
883
+ hash: e78da34fd13bbddad8dd6e00dcd88b43c4f5aff0
884
+ date: 2025-09-01T16:59:06+08:00
885
+ message: fix: bfRpc (#51)
886
886
  refs: grafted, HEAD -> main, origin/main
887
+ body: close #51
888
+
887
889
  author_name: 二刺螈
888
890
  author_email: i@songe.li`,P_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
889
891
  <path d="m12 18l-6-6l1.4-1.4l3.6 3.575V6h2v8.175l3.6-3.575L18 12l-6 6Z" />
@@ -974,4 +976,4 @@ author_email: i@songe.li`,P_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0
974
976
  <path
975
977
  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" />
976
978
  </svg>`,wS=Object.freeze(Object.defineProperty({__proto__:null,default:xS},Symbol.toStringTag,{value:"Module"})),CS=["data-name","viewBox"],_S=["xlink:href"],SS=Object.assign({"/src/assets/svg/arrow.svg":O_,"/src/assets/svg/close.svg":A_,"/src/assets/svg/code.svg":I_,"/src/assets/svg/copy.svg":M_,"/src/assets/svg/delete.svg":L_,"/src/assets/svg/device.svg":D_,"/src/assets/svg/discussion.svg":j_,"/src/assets/svg/export.svg":W_,"/src/assets/svg/github.svg":U_,"/src/assets/svg/home.svg":q_,"/src/assets/svg/import.svg":Y_,"/src/assets/svg/info.svg":Z_,"/src/assets/svg/minus.svg":J_,"/src/assets/svg/ok.svg":tS,"/src/assets/svg/path.svg":rS,"/src/assets/svg/prop.svg":iS,"/src/assets/svg/search-list.svg":aS,"/src/assets/svg/search.svg":cS,"/src/assets/svg/settings.svg":fS,"/src/assets/svg/share.svg":hS,"/src/assets/svg/system.svg":vS,"/src/assets/svg/terminal.svg":mS,"/src/assets/svg/test.svg":yS,"/src/assets/svg/warn.svg":wS}),Uu="__svg_icon_container__",Li=document.body.querySelector("#"+Uu)||(()=>{const e=document.createElementNS("http://www.w3.org/2000/svg","svg");return e.setAttribute("id",Uu),e.style.position="absolute",e.style.width="0",e.style.height="0",document.body.insertBefore(e,document.body.firstChild),e})();Li.children.length&&(Li.innerHTML="");const op="svg-icon-",ES=new DOMParser,TS=["viewBox"],ip=Object.fromEntries(Object.entries(SS).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=ES.parseFromString(t,"image/svg+xml").documentElement,r=document.createElementNS("http://www.w3.org/2000/svg","symbol");return r.setAttribute("id",op+e),TS.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(ip).forEach(e=>{Li.appendChild(e)});Li.setAttribute("data-update-time",Date.now().toString());const RS=Te({__name:"SvgIcon",props:{name:{},h:{}},setup(e){const t=e,n=Z(()=>"#"+op+t.name),r=Z(()=>{var o;return((o=ip[t.name])==null?void 0:o.getAttribute("viewBox"))||void 0});return(o,i)=>o.name?(jn(),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,_S)],12,CS)):dd("",!0)}}),Tl=_d(__);Tl.use(rp);Tl.component("SvgIcon",RS);Tl.mount(Zh);console.log(R_);export{T_ as $,Gt as A,Mo as B,wt as C,d3 as D,Fo as E,dn as F,qe as G,tt as H,MS as I,Ro as J,jn as K,ct as L,wr as M,as as N,dd as O,Ve as P,LS as Q,bu as R,Xe as S,Xt as T,uv as U,pt as V,v2 as W,w_ as X,b3 as Y,t3 as Z,xl as _,ce as a,JS as a$,is as a0,dr as a1,et as a2,Xx as a3,qx as a4,HS as a5,hh as a6,So as a7,Oi as a8,km as a9,f3 as aA,Gn as aB,LC as aC,Dn as aD,tl as aE,Yi as aF,Ho as aG,og as aH,XS as aI,YS as aJ,GS as aK,u3 as aL,y_ as aM,b_ as aN,x_ as aO,g_ as aP,i3 as aQ,s2 as aR,XC as aS,ZS as aT,qC as aU,e3 as aV,h3 as aW,bc as aX,Fu as aY,m3 as aZ,e_ as a_,NS as aa,WS as ab,Hr as ac,Ai as ad,Ie as ae,Fr as af,ss as ag,Ha as ah,US as ai,gl as aj,c2 as ak,ml as al,Ba as am,Zu as an,Dt as ao,Dr as ap,IS as aq,Ln as ar,KS as as,qc as at,Bt as au,l3 as av,wa as aw,zS as ax,BS as ay,Pr as az,ue as b,fr as b$,n3 as b0,gh as b1,es as b2,pl as b3,ts as b4,Oo as b5,pi as b6,ZC as b7,c_ as b8,r3 as b9,Bm as bA,Vc as bB,_n as bC,Ao as bD,m_ as bE,Wf as bF,Vf as bG,ki as bH,ft as bI,kS as bJ,zv as bK,ze as bL,f_ as bM,o3 as bN,v3 as bO,g3 as bP,Nu as bQ,s3 as bR,a3 as bS,Td as bT,Ac as bU,ur as bV,DS as bW,Hp as bX,Zm as bY,Km as bZ,cl as b_,ep as ba,p3 as bb,u_ as bc,c3 as bd,Ed as be,cr as bf,nn as bg,Pt as bh,Jt as bi,mt as bj,Ji as bk,Wc as bl,Nn as bm,jx as bn,ls as bo,Uc as bp,Gc as bq,Wm as br,ol as bs,La as bt,FS as bu,VS as bv,qS as bw,Dm as bx,kr as by,Lm as bz,to as c,Z1 as c0,qd as c1,X1 as c2,fl as c3,zi as c4,Nd as c5,Nr as c6,Ty as c7,No as c8,B0 as c9,Yx as cA,vi as cB,y3 as cC,eh as ca,Ir as cb,ns as cc,hu as cd,Xd as ce,Wr as cf,Qd as cg,jr as ch,hn as ci,Kd as cj,Ud as ck,Ra as cl,Vd as cm,bx as cn,x0 as co,$S as cp,wb as cq,jS as cr,Cn as cs,Zi as ct,QS as cu,Zr as cv,Qr as cw,Pb as cx,Qs as cy,Wo as cz,Pn as d,K as e,fe as f,ca as g,Te as h,ko as i,Sb as j,I as k,ph as l,gt as m,al as n,de as o,Rd as p,Z as q,Ut as r,we as s,Mt as t,jt as u,AS as v,Il as w,Tn as x,nt as y,He as z};
977
- //# sourceMappingURL=index-5LByPYNs.js.map
979
+ //# sourceMappingURL=index-BDgd4jKy.js.map