@vitejs/devtools-rolldown 0.1.11 → 0.1.12

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 (84) hide show
  1. package/dist/index.mjs +11 -10
  2. package/dist/nitro.json +1 -1
  3. package/dist/public/200.html +1 -1
  4. package/dist/public/404.html +1 -1
  5. package/dist/public/_nuxt/4NH8NIP0.js +1 -0
  6. package/dist/public/_nuxt/4u6R6kmy.js +1 -0
  7. package/dist/public/_nuxt/B4F3iFfR.js +1 -0
  8. package/dist/public/_nuxt/B8a2SqNB.js +1 -0
  9. package/dist/public/_nuxt/B9VntNhm.js +1 -0
  10. package/dist/public/_nuxt/{C1LKt3HR.js → BAo-e_JU.js} +1 -1
  11. package/dist/public/_nuxt/{CZg4aoum.js → BBjyA450.js} +1 -1
  12. package/dist/public/_nuxt/BEi8EpEX.js +2 -0
  13. package/dist/public/_nuxt/BGO_avQR.js +1 -0
  14. package/dist/public/_nuxt/{Dm4CqiyV.js → BH_Y2qlu.js} +1 -1
  15. package/dist/public/_nuxt/{DHvQIQw5.js → BIN2apLJ2.js} +1 -1
  16. package/dist/public/_nuxt/BKc1pqIm2.js +1 -0
  17. package/dist/public/_nuxt/BPmpuG8C.js +1 -0
  18. package/dist/public/_nuxt/BeLy3b84.js +1 -0
  19. package/dist/public/_nuxt/{C1U2XYRv.js → BkNrnf7z.js} +1 -1
  20. package/dist/public/_nuxt/BmalnO7M2.js +1 -0
  21. package/dist/public/_nuxt/Bpyx8FA-2.js +1 -0
  22. package/dist/public/_nuxt/C-jnQn3e2.js +1 -0
  23. package/dist/public/_nuxt/{okblV2iS.js → C1yaj-Vm.js} +1 -1
  24. package/dist/public/_nuxt/CHDa2Jyn.js +1 -0
  25. package/dist/public/_nuxt/{BO4_45PC.js → CI0Dr981.js} +1 -1
  26. package/dist/public/_nuxt/CKJSqDo0.js +1 -0
  27. package/dist/public/_nuxt/{DlCwyx2g.js → COgjeEhM.js} +1 -1
  28. package/dist/public/_nuxt/{sLhNJUFM2.js → COguKaym2.js} +1 -1
  29. package/dist/public/_nuxt/{Bw1q8I0g.js → CeYpEmO6.js} +1 -1
  30. package/dist/public/_nuxt/CsnuQTMT.js +1 -0
  31. package/dist/public/_nuxt/Cz3MAfkg.js +1 -0
  32. package/dist/public/_nuxt/{COS9SmxY.js → D-q_RBTz.js} +1 -1
  33. package/dist/public/_nuxt/D4alSS1R2.js +1 -0
  34. package/dist/public/_nuxt/D5wH9XYc.js +1 -0
  35. package/dist/public/_nuxt/{OKWcjHDe.js → DHH1zTqi.js} +1 -1
  36. package/dist/public/_nuxt/DOP22jZa.js +1 -0
  37. package/dist/public/_nuxt/DVNjK2Kc.js +1 -0
  38. package/dist/public/_nuxt/Dnap40Ul.js +1 -0
  39. package/dist/public/_nuxt/DtDZGs9N2.js +12 -0
  40. package/dist/public/_nuxt/{kJJURm8F.js → Du2TAFfS.js} +1 -1
  41. package/dist/public/_nuxt/{9H-i61wf2.js → Dy-Bcz622.js} +1 -1
  42. package/dist/public/_nuxt/JI1WloZr2.js +1 -0
  43. package/dist/public/_nuxt/{DNtQ0ruM.js → MPr03GYv2.js} +1 -1
  44. package/dist/public/_nuxt/MtfbxdGf.js +1 -0
  45. package/dist/public/_nuxt/WOQUZE4V.js +3 -0
  46. package/dist/public/_nuxt/builds/latest.json +1 -1
  47. package/dist/public/_nuxt/builds/meta/22fa3e65-827c-4bf4-9626-ed9f35ca13df.json +1 -0
  48. package/dist/public/_nuxt/{entry.BkR5rDhD.css → entry.ByRjDeYo.css} +1 -1
  49. package/dist/public/_nuxt/error-404.DW3F0okm.css +1 -0
  50. package/dist/public/_nuxt/error-500.B7h4CJww.css +1 -0
  51. package/dist/public/_nuxt/hanhGz4p.js +1 -0
  52. package/dist/public/_nuxt/{KgssGmNv.js → mwlMWDmZ.js} +1 -1
  53. package/dist/public/_nuxt/{BdJ_JF0w.js → n6uS-XK5.js} +1 -1
  54. package/dist/public/index.html +1 -1
  55. package/package.json +12 -12
  56. package/dist/public/_nuxt/B5qpg37n.js +0 -1
  57. package/dist/public/_nuxt/BBP0yOsf2.js +0 -1
  58. package/dist/public/_nuxt/BgoIwvw3.js +0 -1
  59. package/dist/public/_nuxt/BhkwvCN32.js +0 -1
  60. package/dist/public/_nuxt/Bv5LSOyE2.js +0 -1
  61. package/dist/public/_nuxt/C0aRgtmJ.js +0 -1
  62. package/dist/public/_nuxt/C9r1FtUd.js +0 -1
  63. package/dist/public/_nuxt/CEtF9LWU.js +0 -3
  64. package/dist/public/_nuxt/CSK2QzqY.js +0 -1
  65. package/dist/public/_nuxt/Cb77vzCb.js +0 -1
  66. package/dist/public/_nuxt/Ccj-rFEC.js +0 -1
  67. package/dist/public/_nuxt/CfGVkjRe.js +0 -1
  68. package/dist/public/_nuxt/Cn7bMz0c2.js +0 -1
  69. package/dist/public/_nuxt/D04G8HHr.js +0 -1
  70. package/dist/public/_nuxt/DJTkDKGN.js +0 -1
  71. package/dist/public/_nuxt/DXL3SCKY.js +0 -12
  72. package/dist/public/_nuxt/DbSMFLvz.js +0 -1
  73. package/dist/public/_nuxt/DkA3R_W8.js +0 -1
  74. package/dist/public/_nuxt/XDMGgUv8.js +0 -1
  75. package/dist/public/_nuxt/builds/meta/6aa09af7-0f0c-4389-bace-b48b94ad04d5.json +0 -1
  76. package/dist/public/_nuxt/dIDzU19U.js +0 -1
  77. package/dist/public/_nuxt/enTedD0c.js +0 -2
  78. package/dist/public/_nuxt/error-404.DAZPnRlV.css +0 -1
  79. package/dist/public/_nuxt/error-500.DM9xp1Lx.css +0 -1
  80. package/dist/public/_nuxt/fdFrOGYe.js +0 -1
  81. /package/dist/public/_nuxt/{DoJ6DaKu.js → Cvg1SSG2.js} +0 -0
  82. /package/dist/public/_nuxt/{5tvbNeKa.js → D4aX0j39.js} +0 -0
  83. /package/dist/public/_nuxt/{qIAw3Eg02.js → DjsgV5Nj2.js} +0 -0
  84. /package/dist/public/_nuxt/{BUwCbG2W.js → XAUaDDss.js} +0 -0
@@ -1 +0,0 @@
1
- import{B as e,Et as t,L as n,St as r,Tt as i,Y as a,b as o,bt as s,q as c,w as l,x as u,xt as d}from"./CEtF9LWU.js";import{f,s as p,u as m}from"./DJTkDKGN.js";import{t as h}from"./BUwCbG2W.js";function g(e){var t=0,n=e.children,r=n&&n.length;if(!r)t=1;else for(;--r>=0;)t+=n[r].value;e.value=t}function _(){return this.eachAfter(g)}function v(e,t){let n=-1;for(let r of this)e.call(t,r,++n,this);return this}function y(e,t){for(var n=this,r=[n],i,a,o=-1;n=r.pop();)if(e.call(t,n,++o,this),i=n.children)for(a=i.length-1;a>=0;--a)r.push(i[a]);return this}function b(e,t){for(var n=this,r=[n],i=[],a,o,s,c=-1;n=r.pop();)if(i.push(n),a=n.children)for(o=0,s=a.length;o<s;++o)r.push(a[o]);for(;n=i.pop();)e.call(t,n,++c,this);return this}function x(e,t){let n=-1;for(let r of this)if(e.call(t,r,++n,this))return r}function S(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n})}function C(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}function w(e){for(var t=this,n=T(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r}function T(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;for(e=n.pop(),t=r.pop();e===t;)i=e,e=n.pop(),t=r.pop();return i}function ee(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}function te(){return Array.from(this)}function ne(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}function E(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t}function*re(){var e=this,t,n=[e],r,i,a;do for(t=n.reverse(),n=[];e=t.pop();)if(yield e,r=e.children)for(i=0,a=r.length;i<a;++i)n.push(r[i]);while(n.length)}function D(e,t){e instanceof Map?(e=[void 0,e],t===void 0&&(t=A)):t===void 0&&(t=k);for(var n=new N(e),r,i=[n],a,o,s,c;r=i.pop();)if((o=t(r.data))&&(c=(o=Array.from(o)).length))for(r.children=o,s=c-1;s>=0;--s)i.push(a=o[s]=new N(o[s])),a.parent=r,a.depth=r.depth+1;return n.eachBefore(M)}function O(){return D(this).eachBefore(j)}function k(e){return e.children}function A(e){return Array.isArray(e)?e[1]:null}function j(e){e.data.value!==void 0&&(e.value=e.data.value),e.data=e.data.data}function M(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function N(e){this.data=e,this.depth=this.height=0,this.parent=null}N.prototype=D.prototype={constructor:N,count:_,each:v,eachAfter:b,eachBefore:y,find:x,sum:S,sort:C,path:w,ancestors:ee,descendants:te,leaves:ne,links:E,copy:O,[Symbol.iterator]:re};function P(e,t){return e.parent===t.parent?1:2}function F(e){var t=e.children;return t?t[0]:e.t}function I(e){var t=e.children;return t?t[t.length-1]:e.t}function ie(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function ae(e){for(var t=0,n=0,r=e.children,i=r.length,a;--i>=0;)a=r[i],a.z+=t,a.m+=t,t+=a.s+(n+=a.c)}function oe(e,t,n){return e.a.parent===t.parent?e.a:n}function L(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}L.prototype=Object.create(N.prototype);function R(e){for(var t=new L(e,0),n,r=[t],i,a,o,s;n=r.pop();)if(a=n._.children)for(n.children=Array(s=a.length),o=s-1;o>=0;--o)r.push(i=n.children[o]=new L(a[o],o)),i.parent=n;return(t.parent=new L(null,0)).children=[t],t}function z(){var e=P,t=1,n=1,r=null;function i(i){var s=R(i);if(s.eachAfter(a),s.parent.m=-s.z,s.eachBefore(o),r)i.eachBefore(c);else{var l=i,u=i,d=i;i.eachBefore(function(e){e.x<l.x&&(l=e),e.x>u.x&&(u=e),e.depth>d.depth&&(d=e)});var f=l===u?1:e(l,u)/2,p=f-l.x,m=t/(u.x+f+p),h=n/(d.depth||1);i.eachBefore(function(e){e.x=(e.x+p)*m,e.y=e.depth*h})}return i}function a(t){var n=t.children,r=t.parent.children,i=t.i?r[t.i-1]:null;if(n){ae(t);var a=(n[0].z+n[n.length-1].z)/2;i?(t.z=i.z+e(t._,i._),t.m=t.z-a):t.z=a}else i&&(t.z=i.z+e(t._,i._));t.parent.A=s(t,i,t.parent.A||r[0])}function o(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function s(t,n,r){if(n){for(var i=t,a=t,o=n,s=i.parent.children[0],c=i.m,l=a.m,u=o.m,d=s.m,f;o=I(o),i=F(i),o&&i;)s=F(s),a=I(a),a.a=t,f=o.z+u-i.z-c+e(o._,i._),f>0&&(ie(oe(o,t,r),t,f),c+=f,l+=f),u+=o.m,c+=i.m,d+=s.m,l+=a.m;o&&!I(a)&&(a.t=o,a.m+=u-l),i&&!F(s)&&(s.t=i,s.m+=c-d,r=t)}return r}function c(e){e.x*=t,e.y=e.depth*n}return i.separation=function(t){return arguments.length?(e=t,i):e},i.size=function(e){return arguments.length?(r=!1,t=+e[0],n=+e[1],i):r?null:[t,n]},i.nodeSize=function(e){return arguments.length?(r=!0,t=+e[0],n=+e[1],i):r?[t,n]:null},i}function B(e){return function(){return e}}var V=Math.PI,H=2*V,U=1e-6,W=H-U;function G(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function K(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return G;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}var q=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._=``,this._append=e==null?G:K(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,i=+i,i<0)throw Error(`negative radius: ${i}`);let a=this._x1,o=this._y1,s=n-e,c=r-t,l=a-e,u=o-t,d=l*l+u*u;if(this._x1===null)this._append`M${this._x1=e},${this._y1=t}`;else if(d>U)if(!(Math.abs(u*s-c*l)>U)||!i)this._append`L${this._x1=e},${this._y1=t}`;else{let f=n-a,p=r-o,m=s*s+c*c,h=f*f+p*p,g=Math.sqrt(m),_=Math.sqrt(d),v=i*Math.tan((V-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>U&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>l*p)},${this._x1=e+b*s},${this._y1=t+b*c}`}}arc(e,t,n,r,i,a){if(e=+e,t=+t,n=+n,a=!!a,n<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,d=a?r-i:i-r;this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>U||Math.abs(this._y1-l)>U)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%H+H),d>W?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:d>U&&this._append`A${n},${n},0,${+(d>=V)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};function se(){return new q}se.prototype=q.prototype;function ce(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new q(t)}var le=Array.prototype.slice;function ue(e){return e[0]}function de(e){return e[1]}var J=class{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t);break}this._x0=e,this._y0=t}};function fe(e){return new J(e,!0)}function pe(e){return new J(e,!1)}function me(e){return e.source}function he(e){return e.target}function Y(e){let t=me,n=he,r=ue,i=de,a=null,o=null,s=ce(c);function c(){let c,l=le.call(arguments),u=t.apply(this,l),d=n.apply(this,l);if(a??(o=e(c=s())),o.lineStart(),l[0]=u,o.point(+r.apply(this,l),+i.apply(this,l)),l[0]=d,o.point(+r.apply(this,l),+i.apply(this,l)),o.lineEnd(),c)return o=null,c+``||null}return c.source=function(e){return arguments.length?(t=e,c):t},c.target=function(e){return arguments.length?(n=e,c):n},c.x=function(e){return arguments.length?(r=typeof e==`function`?e:B(+e),c):r},c.y=function(e){return arguments.length?(i=typeof e==`function`?e:B(+e),c):i},c.context=function(t){return arguments.length?(t==null?a=o=null:o=e(a=t),c):a},c}function ge(){return Y(fe)}function _e(){return Y(pe)}function ve(e,{wheel:t=!0,minScale:n=.5,maxScale:r=2}={}){let a=s(1);function o(t,o,s){let c=i(e);if(!c)return;let{left:l,top:u,width:d,height:f}=c.getBoundingClientRect(),p=o??l+d/2,m=s??u+f/2,h=p-l,g=m-u,_=a.value;a.value=Math.max(n,Math.min(r,_+t));let v=a.value/_;c.scrollLeft=(c.scrollLeft+h)*v-h,c.scrollTop=(c.scrollTop+g)*v-g}function c(e){if(i(t)){e.preventDefault();let t=.2;o(e.deltaY<0?t:t*-1,e.clientX,e.clientY)}else e.ctrlKey&&(e.preventDefault(),o(e.deltaY*.004*-1,e.clientX,e.clientY))}function l(e=.2){o(e)}function u(e=.2){o(e*-1)}return m(e,`wheel`,c),{scale:a,zoom:o,zoomIn:l,zoomOut:u}}var X=Symbol.for(`ViteDevToolsModuleGraphState`),Z=ge().x(e=>e[0]).y(e=>e[1]),Q=_e().x(e=>e[0]).y(e=>e[1]);function ye(e,n){return!e.target||!e.source?null:n?e.target.x<=e.source.x?Q({source:[e.source.x+t(n.width)/2-t(n.linkOffset),e.source.y],target:[e.target.x-t(n.width)/2+t(n.linkOffset),e.target.y]}):Z({source:[e.source.x+t(n.width)/2-t(n.linkOffset),e.source.y],target:[e.target.x-t(n.width)/2+t(n.linkOffset),e.target.y]}):e.target.x<=e.source.x?Q({source:[e.source.x,e.source.y],target:[e.target.x,e.target.y]}):Z({source:[e.source.x,e.source.y],target:[e.target.x,e.target.y]})}function be(e){return`stroke-#8885`}function xe(e){let t=.4,n=s(),i=s(window.innerWidth),c=s(window.innerHeight),l=d(new Map),u=d(new Set),p=s(!0),m=d(new Map),h=r([]),g=r([]),_=d(new Map),v=d(new Map),y=o(()=>{let t=new Map;for(let n of e.modules.value)t.set(n.id,n);return t}),{control:b}=f(),{scale:x,zoomIn:S,zoomOut:C}=ve(n,{wheel:b,minScale:t,maxScale:2});function w(e,t=!0){l.get(e)?.scrollIntoView({block:`center`,inline:`center`,behavior:t?`smooth`:`instant`})}let T=e.generateGraph({isFirstCalculateGraph:p,hierarchy:D,tree:z,nodesRefMap:l,container:n,modulesMap:y,nodes:h,links:g,scale:x,nodesMap:_,linksMap:v,width:i,height:c,childToParentMap:m,focusOn:w,collapsedNodes:u,spacing:e.spacing});a(X,{spacing:e.spacing,calculateGraph:T,isFirstCalculateGraph:p,container:n,width:i,height:c,scale:x,nodes:h,links:g,nodesRefMap:l,collapsedNodes:u,childToParentMap:m,ZOOM_MIN:t,ZOOM_MAX:2,zoomIn:S,zoomOut:C})}function $(){return n(X)}function Se(r){let{nodesRefMap:i,container:a,calculateGraph:o,collapsedNodes:c}=n(X),l=s(!1);function u(t,n){e(()=>{e(()=>{let e=i.get(t);if(e&&n&&a.value){let t=a.value.getBoundingClientRect(),r=e.getBoundingClientRect(),i=r.left-t.left-n.x,o=r.top-t.top-n.y;a.value.scrollLeft+=i,a.value.scrollTop+=o}})})}function d(e){if(l.value)return;l.value=!0;let t=i.get(e),n=null;if(t&&a.value){let e=a.value.getBoundingClientRect(),r=t.getBoundingClientRect();n={x:r.left-e.left,y:r.top-e.top}}c.has(e)?c.delete(e):c.add(e),o(),n&&u(e,n),l.value=!1}function f(){l.value||(l.value=!0,c.clear(),o(),setTimeout(()=>{l.value=!1},300))}function p(){l.value||(l.value=!0,t(r.modules).forEach(e=>{e.imports.length>0&&c.add(e.id)}),o(),setTimeout(()=>{l.value=!1},300))}return{isGraphNodeToggling:l,toggleNode:d,expandAll:f,collapseAll:p}}function Ce(){let{scale:e,zoomIn:t,zoomOut:r,ZOOM_MIN:i,ZOOM_MAX:a}=n(X);return p([`-`,`_`],e=>{e.ctrlKey&&r()}),p([`=`,`+`],e=>{e.ctrlKey&&t()}),{ZOOM_MIN:i,ZOOM_MAX:a,scale:e,zoomIn:t,zoomOut:r}}function we(){let{container:e}=n(X),t=s(!1),r=0,i=0;function a(){m(e,`mousedown`,n=>{let a=e.value.getBoundingClientRect(),o=a.right-n.clientX,s=a.bottom-n.clientY;o<=20||s<=20||(t.value=!0,r=e.value.scrollLeft+n.pageX,i=e.value.scrollTop+n.pageY)}),m(e,`contextmenu`,e=>e.preventDefault()),m(`mouseleave`,()=>t.value=!1),m(`mouseup`,()=>t.value=!1),m(`mousemove`,n=>{t.value&&(n.preventDefault(),e.value.scrollLeft=r-n.pageX,e.value.scrollTop=i-n.pageY)})}return{init:a,isGrabbing:t}}var Te={},Ee={type:`button`,"w-8":``,"h-8":``,"rounded-full":``,flex:``,"items-center":``,"justify-center":``,hover:`bg-active op100`,op50:``,title:`Close`,"aria-label":`Close`};function De(e,t){return c(),l(`button`,Ee,[...t[0]||=[u(`div`,{"i-ph-x":``},null,-1)]])}var Oe=h(Te,[[`render`,De]]);export{we as a,Se as c,be as i,xe as n,Ce as o,ye as r,$ as s,Oe as t};
@@ -1 +0,0 @@
1
- import{At as e,B as t,Bt as n,Ct as r,Dt as i,E as a,Et as o,F as s,Ft as c,I as l,It as u,Kt as d,L as f,Lt as p,M as m,Mt as ee,Nt as h,Ot as te,Pt as g,Rt as _,St as ne,T as v,Vt as re,Y as y,b,bt as x,i as S,jt as ie,kt as C,m as ae,ot as oe,p as se,vt as w,xt as ce,y as le,zt as T}from"./CEtF9LWU.js";var E=void 0,D=typeof window<`u`&&window.trustedTypes;if(D)try{E=D.createPolicy(`vue`,{createHTML:e=>e})}catch{}var ue=E?e=>E.createHTML(e):e=>e,de=`http://www.w3.org/2000/svg`,fe=`http://www.w3.org/1998/Math/MathML`,O=typeof document<`u`?document:null,pe=O&&O.createElement(`template`),me={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?O.createElementNS(de,e):t===`mathml`?O.createElementNS(fe,e):n?O.createElement(e,{is:n}):O.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>O.createTextNode(e),createComment:e=>O.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>O.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{pe.innerHTML=ue(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=pe.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},k=`transition`,A=`animation`,j=Symbol(`_vtc`),he={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ge=C({},ae,he),_e=(e=>(e.displayName=`Transition`,e.props=ge,e))((e,{slots:t})=>s(se,ye(e),t)),M=(e,t=[])=>{h(e)?e.forEach(e=>e(...t)):e&&e(...t)},ve=e=>e?h(e)?e.some(e=>e.length>1):e.length>1:!1;function ye(e){let t={};for(let n in e)n in he||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:l=o,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=be(i),ee=m&&m[0],h=m&&m[1],{onBeforeEnter:te,onEnter:g,onEnterCancelled:_,onLeave:ne,onLeaveCancelled:v,onBeforeAppear:re=te,onAppear:y=g,onAppearCancelled:b=_}=t,x=(e,t,n,r)=>{e._enterCancelled=r,P(e,t?u:s),P(e,t?l:o),n&&n()},S=(e,t)=>{e._isLeaving=!1,P(e,d),P(e,p),P(e,f),t&&t()},ie=e=>(t,n)=>{let i=e?y:g,o=()=>x(t,e,n);M(i,[t,o]),Se(()=>{P(t,e?c:a),N(t,e?u:s),ve(i)||we(t,r,ee,o)})};return C(t,{onBeforeEnter(e){M(te,[e]),N(e,a),N(e,o)},onBeforeAppear(e){M(re,[e]),N(e,c),N(e,l)},onEnter:ie(!1),onAppear:ie(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>S(e,t);N(e,d),e._enterCancelled?(N(e,f),Oe(e)):(Oe(e),N(e,f)),Se(()=>{e._isLeaving&&(P(e,d),N(e,p),ve(ne)||we(e,r,h,n))}),M(ne,[e,n])},onEnterCancelled(e){x(e,!1,void 0,!0),M(_,[e])},onAppearCancelled(e){x(e,!0,void 0,!0),M(b,[e])},onLeaveCancelled(e){S(e),M(v,[e])}})}function be(e){if(e==null)return null;if(u(e))return[xe(e.enter),xe(e.leave)];{let t=xe(e);return[t,t]}}function xe(e){return d(e)}function N(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[j]||(e[j]=new Set)).add(t)}function P(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[j];n&&(n.delete(t),n.size||(e[j]=void 0))}function Se(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var Ce=0;function we(e,t,n,r){let i=e._endId=++Ce,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=Te(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function Te(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${k}Delay`),a=r(`${k}Duration`),o=Ee(i,a),s=r(`${A}Delay`),c=r(`${A}Duration`),l=Ee(s,c),u=null,d=0,f=0;t===k?o>0&&(u=k,d=o,f=a.length):t===A?l>0&&(u=A,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?k:A:null,f=u?u===k?a.length:c.length:0);let p=u===k&&/\b(?:transform|all)(?:,|$)/.test(r(`${k}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function Ee(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>De(t)+De(e[n])))}function De(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function Oe(e){return(e?e.ownerDocument:document).body.offsetHeight}function ke(e,t,n){let r=e[j];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var Ae=Symbol(`_vod`),je=Symbol(`_vsh`),Me={name:`show`,beforeMount(e,{value:t},{transition:n}){e[Ae]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):F(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),F(e,!0),r.enter(e)):r.leave(e,()=>{F(e,!1)}):F(e,t))},beforeUnmount(e,{value:t}){F(e,t)}};function F(e,t){e.style.display=t?e[Ae]:`none`,e[je]=!t}var Ne=Symbol(``),Pe=/(?:^|;)\s*display\s*:/;function Fe(e,t,n){let r=e.style,i=T(n),a=!1;if(n&&!i){if(t)if(T(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??Le(r,t,``)}else for(let e in t)n[e]??Le(r,e,``);for(let e in n)e===`display`&&(a=!0),Le(r,e,n[e])}else if(i){if(t!==n){let e=r[Ne];e&&(n+=`;`+e),r.cssText=n,a=Pe.test(n)}}else t&&e.removeAttribute(`style`);Ae in e&&(e[Ae]=a?r.display:``,e[je]&&(r.display=`none`))}var Ie=/\s*!important$/;function Le(t,n,r){if(h(r))r.forEach(e=>Le(t,n,e));else if(r??=``,n.startsWith(`--`))t.setProperty(n,r);else{let i=Be(t,n);Ie.test(r)?t.setProperty(e(i),r.replace(Ie,``),`important`):t[i]=r}}var Re=[`Webkit`,`Moz`,`ms`],ze={};function Be(e,t){let n=ze[t];if(n)return n;let r=i(t);if(r!==`filter`&&r in e)return ze[t]=r;r=te(r);for(let n=0;n<Re.length;n++){let i=Re[n]+r;if(i in e)return ze[t]=i}return t}var Ve=`http://www.w3.org/1999/xlink`;function He(e,t,r,i,a,o=_(t)){i&&t.startsWith(`xlink:`)?r==null?e.removeAttributeNS(Ve,t.slice(6,t.length)):e.setAttributeNS(Ve,t,r):r==null||o&&!ie(r)?e.removeAttribute(t):e.setAttribute(t,o?``:n(r)?String(r):r)}function Ue(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?ue(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=ie(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function I(e,t,n,r){e.addEventListener(t,n,r)}function We(e,t,n,r){e.removeEventListener(t,n,r)}var Ge=Symbol(`_vei`);function Ke(e,t,n,r,i=null){let a=e[Ge]||(e[Ge]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=Je(t);r?I(e,n,a[t]=Qe(r,i),s):o&&(We(e,n,o,s),a[t]=void 0)}}var qe=/(?:Once|Passive|Capture)$/;function Je(t){let n;if(qe.test(t)){n={};let e;for(;e=t.match(qe);)t=t.slice(0,t.length-e[0].length),n[e[0].toLowerCase()]=!0}return[t[2]===`:`?t.slice(3):e(t.slice(2)),n]}var Ye=0,Xe=Promise.resolve(),Ze=()=>Ye||=(Xe.then(()=>Ye=0),Date.now());function Qe(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;le($e(e,n.value),t,5,[e])};return n.value=e,n.attached=Ze(),n}function $e(e,t){if(h(t)){let n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}else return t}var et=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,tt=(e,t,n,r,a,o)=>{let s=a===`svg`;t===`class`?ke(e,r,s):t===`style`?Fe(e,n,r):p(t)?c(t)||Ke(e,t,n,r,o):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):nt(e,t,r,s))?(Ue(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&He(e,t,r,s,o,t!==`value`)):e._isVueCE&&(rt(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!T(r)))?Ue(e,i(t),r,o,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),He(e,t,r,s))};function nt(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&et(t)&&g(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return et(t)&&T(n)?!1:t in e}function rt(e,t){let n=e._def.props;if(!n)return!1;let r=i(t);return Array.isArray(n)?n.some(e=>i(e)===r):Object.keys(n).some(e=>i(e)===r)}var it=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return h(t)?e=>ee(t,e):t};function at(e){e.target.composing=!0}function ot(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var st=Symbol(`_assign`);function ct(e,t,n){return t&&(e=e.trim()),n&&(e=re(e)),e}var lt={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[st]=it(i);let a=r||i.props&&i.props.type===`number`;I(e,t?`change`:`input`,t=>{t.target.composing||e[st](ct(e.value,n,a))}),(n||a)&&I(e,`change`,()=>{e.value=ct(e.value,n,a)}),t||(I(e,`compositionstart`,at),I(e,`compositionend`,ot),I(e,`change`,ot))},mounted(e,{value:t}){e.value=t??``},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[st]=it(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?re(e.value):e.value,c=t??``;s!==c&&(document.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c))}},ut=[`ctrl`,`shift`,`alt`,`meta`],dt={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>ut.some(n=>e[`${n}Key`]&&!t.includes(n))},ft=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=dt[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},pt={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},mt=(t,n)=>{let r=t._withKeys||={},i=n.join(`.`);return r[i]||(r[i]=(r=>{if(!(`key`in r))return;let i=e(r.key);if(n.some(e=>e===i||pt[e]===i))return t(r)}))},ht=C({patchProp:tt},me),gt,_t=!1;function vt(){return gt||=a(ht)}function yt(){return gt=_t?gt:v(ht),_t=!0,gt}var bt=((...e)=>{let t=vt().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=Ct(e);if(!r)return;let i=t._component;!g(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,St(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),xt=((...e)=>{let t=yt().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=Ct(e);if(t)return n(t,!0,St(t))},t});function St(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function Ct(e){return T(e)?document.querySelector(e):e}var wt=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Tt=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Et=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Dt(e,t){if(e===`__proto__`||e===`constructor`&&t&&typeof t==`object`&&`prototype`in t){Ot(e);return}return t}function Ot(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function kt(e,t={}){if(typeof e!=`string`)return e;if(e[0]===`"`&&e[e.length-1]===`"`&&e.indexOf(`\\`)===-1)return e.slice(1,-1);let n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case`true`:return!0;case`false`:return!1;case`undefined`:return;case`null`:return null;case`nan`:return NaN;case`infinity`:return 1/0;case`-infinity`:return-1/0}if(!Et.test(e)){if(t.strict)throw SyntaxError(`[destr] Invalid JSON`);return e}try{if(wt.test(e)||Tt.test(e)){if(t.strict)throw Error(`[destr] Possible prototype pollution`);return JSON.parse(e,Dt)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}String.fromCharCode;var At=/#/g,jt=/&/g,Mt=/\//g,Nt=/=/g,Pt=/\?/g,Ft=/\+/g,It=/%5e/gi,Lt=/%60/gi,Rt=/%7c/gi,zt=/%20/gi,Bt=/%2f/gi,Vt=/%252f/gi;function Ht(e){return encodeURI(``+e).replace(Rt,`|`)}function Ut(e){return Ht(typeof e==`string`?e:JSON.stringify(e)).replace(Ft,`%2B`).replace(zt,`+`).replace(At,`%23`).replace(jt,`%26`).replace(Lt,"`").replace(It,`^`).replace(Mt,`%2F`)}function Wt(e){return Ut(e).replace(Nt,`%3D`)}function Gt(e){return Ht(e).replace(At,`%23`).replace(Pt,`%3F`).replace(Vt,`%2F`).replace(jt,`%26`).replace(Ft,`%2B`)}function L(e=``){try{return decodeURIComponent(``+e)}catch{return``+e}}function Kt(e){return L(e.replace(Bt,`%252F`))}function qt(e){return L(e.replace(Ft,` `))}function Jt(e){return L(e.replace(Ft,` `))}function Yt(e=``){let t=Object.create(null);e[0]===`?`&&(e=e.slice(1));for(let n of e.split(`&`)){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let r=qt(e[1]);if(r===`__proto__`||r===`constructor`)continue;let i=Jt(e[2]||``);t[r]===void 0?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}return t}function Xt(e,t){return(typeof t==`number`||typeof t==`boolean`)&&(t=String(t)),t?Array.isArray(t)?t.map(t=>`${Wt(e)}=${Ut(t)}`).join(`&`):`${Wt(e)}=${Ut(t)}`:Wt(e)}function Zt(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Xt(t,e[t])).filter(Boolean).join(`&`)}var Qt=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,$t=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,en=/^([/\\]\s*){2,}[^/\\]/,tn=/^[\s\0]*(blob|data|javascript|vbscript):$/i,nn=/\/$|\/\?|\/#/,rn=/^\.?\//;function R(e,t={}){return typeof t==`boolean`&&(t={acceptRelative:t}),t.strict?Qt.test(e):$t.test(e)||(t.acceptRelative?en.test(e):!1)}function an(e){return!!e&&tn.test(e)}function on(e=``,t){return t?nn.test(e):e.endsWith(`/`)}function z(e=``,t){if(!t)return(on(e)?e.slice(0,-1):e)||`/`;if(!on(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);i!==-1&&(n=e.slice(0,i),r=e.slice(i));let[a,...o]=n.split(`?`);return((a.endsWith(`/`)?a.slice(0,-1):a)||`/`)+(o.length>0?`?${o.join(`?`)}`:``)+r}function sn(e=``,t){if(!t)return e.endsWith(`/`)?e:e+`/`;if(on(e,!0))return e||`/`;let n=e,r=``,i=e.indexOf(`#`);if(i!==-1&&(n=e.slice(0,i),r=e.slice(i),!n))return r;let[a,...o]=n.split(`?`);return a+`/`+(o.length>0?`?${o.join(`?`)}`:``)+r}function cn(e,t){if(dn(t)||R(e))return e;let n=z(t);if(e.startsWith(n)){let t=e[n.length];if(!t||t===`/`||t===`?`)return e}return pn(n,e)}function ln(e,t){if(dn(t))return e;let n=z(t);if(!e.startsWith(n))return e;let r=e[n.length];if(r&&r!==`/`&&r!==`?`)return e;let i=e.slice(n.length);return i[0]===`/`?i:`/`+i}function un(e,t){let n=_n(e);return n.search=Zt({...Yt(n.search),...t}),yn(n)}function dn(e){return!e||e===`/`}function fn(e){return e&&e!==`/`}function pn(e,...t){let n=e||``;for(let e of t.filter(e=>fn(e)))if(n){let t=e.replace(rn,``);n=sn(n)+t}else n=e;return n}function mn(...e){let t=/\/(?!\/)/,n=e.filter(Boolean),r=[],i=0;for(let e of n)if(!(!e||e===`/`)){for(let[n,a]of e.split(t).entries())if(!(!a||a===`.`)){if(a===`..`){if(r.length===1&&R(r[0]))continue;r.pop(),i--;continue}if(n===1&&r[r.length-1]?.endsWith(`:/`)){r[r.length-1]+=`/`+a;continue}r.push(a),i++}}let a=r.join(`/`);return i>=0?n[0]?.startsWith(`/`)&&!a.startsWith(`/`)?a=`/`+a:n[0]?.startsWith(`./`)&&!a.startsWith(`./`)&&(a=`./`+a):a=`../`.repeat(-1*i)+a,n[n.length-1]?.endsWith(`/`)&&!a.endsWith(`/`)&&(a+=`/`),a}function hn(e,t){return L(z(e))===L(z(t))}var gn=Symbol.for(`ufo:protocolRelative`);function _n(e=``,t){let n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){let[,e,t=``]=n;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:``,host:``,search:``,hash:``}}if(!R(e,{acceptRelative:!0}))return t?_n(t+e):vn(e);let[,r=``,i,a=``]=e.replace(/\\/g,`/`).match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o=``,s=``]=a.match(/([^#/?]*)(.*)?/)||[];r===`file:`&&(s=s.replace(/\/(?=[A-Za-z]:)/,``));let{pathname:c,search:l,hash:u}=vn(s);return{protocol:r.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):``,host:o,pathname:c,search:l,hash:u,[gn]:!r}}function vn(e=``){let[t=``,n=``,r=``]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function yn(e){let t=e.pathname||``,n=e.search?(e.search.startsWith(`?`)?``:`?`)+e.search:``,r=e.hash||``,i=e.auth?e.auth+`@`:``,a=e.host||``;return(e.protocol||e[gn]?(e.protocol||``)+`//`:``)+i+a+t+n+r}function bn(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function xn(e,t,n=`.`,r){if(!bn(t))return xn(e,{},n,r);let i=Object.assign({},t);for(let t in e){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(Array.isArray(a)&&Array.isArray(i[t])?i[t]=[...a,...i[t]]:bn(a)&&bn(i[t])?i[t]=xn(a,i[t],(n?`${n}.`:``)+t.toString(),r):i[t]=a))}return i}function Sn(e){return(...t)=>t.reduce((t,n)=>xn(t,n,``,e),{})}var Cn=Sn();function wn(e,t){try{return t in e}catch{return!1}}var Tn=class extends Error{static __h3_error__=!0;statusCode=500;fatal=!1;unhandled=!1;statusMessage;data;cause;constructor(e,t={}){super(e,t),t.cause&&!this.cause&&(this.cause=t.cause)}toJSON(){let e={message:this.message,statusCode:An(this.statusCode,500)};return this.statusMessage&&(e.statusMessage=kn(this.statusMessage)),this.data!==void 0&&(e.data=this.data),e}};function En(e){if(typeof e==`string`)return new Tn(e);if(Dn(e))return e;let t=new Tn(e.message??e.statusMessage??``,{cause:e.cause||e});if(wn(e,`stack`))try{Object.defineProperty(t,`stack`,{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=An(e.statusCode,t.statusCode):e.status&&(t.statusCode=An(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){let e=t.statusMessage;kn(t.statusMessage)!==e&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Dn(e){return e?.constructor?.__h3_error__===!0}var On=/[^\u0009\u0020-\u007E]/g;function kn(e=``){return e.replace(On,``)}function An(e,t=200){return!e||(typeof e==`string`&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}globalThis.Headers,globalThis.Response;var jn=Symbol(`layout-meta`),Mn=Symbol(`route`);import.meta.url.replace(/\/app\/.*$/,`/`);var B=()=>S()?.$router,Nn=()=>l()?f(Mn,S()._route):S()._route;function Pn(e){return e}var Fn=()=>{try{if(S()._processingMiddleware)return!0}catch{return!1}return!1},In=(e,t)=>{e||=`/`;let n=typeof e==`string`?e:`path`in e?Ln(e):B().resolve(e).href;if(t?.open){let{target:e=`_blank`,windowFeatures:r={}}=t.open,i=[];for(let[e,t]of Object.entries(r))t!==void 0&&i.push(`${e.toLowerCase()}=${t}`);return open(n,e,i.join(`, `)),Promise.resolve()}let r=R(n,{acceptRelative:!0}),i=t?.external||r;if(i){if(!t?.external)throw Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");let{protocol:e}=new URL(n,window.location.href);if(e&&an(e))throw Error(`Cannot navigate to a URL with '${e}' protocol.`)}let a=Fn();if(!i&&a){if(t?.replace){if(typeof e==`string`){let{pathname:t,search:n,hash:r}=_n(e);return{path:t,...n&&{query:Yt(n)},...r&&{hash:r},replace:!0}}return{...e,replace:!0}}return e}let o=B(),s=S();if(i)return s._scope.stop(),t?.replace?location.replace(n):location.href=n,a?s.isHydrating?new Promise(()=>{}):!1:Promise.resolve();let c=typeof e==`string`?Rn(e):e;return t?.replace?o.replace(c):o.push(c)};function Ln(e){return un(e.path||``,e.query||{})+(e.hash||``)}function Rn(e){let t=_n(e);return Gt(Kt(t.pathname))+t.search+t.hash}var zn=`__nuxt_error`,Bn=()=>r(S().payload,`error`),Vn=e=>{let t=Wn(e);try{let e=Bn();S().hooks.callHook(`app:error`,t),e.value||=t}catch{throw t}return t},Hn=async(e={})=>{let t=S(),n=Bn();t.callHook(`app:error:cleared`,e),e.redirect&&await B().replace(e.redirect),n.value=void 0},Un=e=>!!e&&typeof e==`object`&&`__nuxt_error`in e,Wn=e=>{typeof e!=`string`&&e.statusText&&(e.message??=e.statusText);let t=En(e);return Object.defineProperty(t,zn,{value:!0,configurable:!1,writable:!1}),Object.defineProperty(t,`status`,{get:()=>t.statusCode,configurable:!0}),Object.defineProperty(t,`statusText`,{get:()=>t.statusMessage,configurable:!0}),t},V=typeof document<`u`;function Gn(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function Kn(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&Gn(e.default)}var H=Object.assign;function qn(e,t){let n={};for(let r in t){let i=t[r];n[r]=U(i)?i.map(e):e(i)}return n}var Jn=()=>{},U=Array.isArray;function Yn(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var W=function(e){return e[e.MATCHER_NOT_FOUND=1]=`MATCHER_NOT_FOUND`,e[e.NAVIGATION_GUARD_REDIRECT=2]=`NAVIGATION_GUARD_REDIRECT`,e[e.NAVIGATION_ABORTED=4]=`NAVIGATION_ABORTED`,e[e.NAVIGATION_CANCELLED=8]=`NAVIGATION_CANCELLED`,e[e.NAVIGATION_DUPLICATED=16]=`NAVIGATION_DUPLICATED`,e}({}),Xn=Symbol(``);W.MATCHER_NOT_FOUND,W.NAVIGATION_GUARD_REDIRECT,W.NAVIGATION_ABORTED,W.NAVIGATION_CANCELLED,W.NAVIGATION_DUPLICATED;function G(e,t){return H(Error(),{type:e,[Xn]:!0},t)}function K(e,t){return e instanceof Error&&Xn in e&&(t==null||!!(e.type&t))}var Zn=Symbol(``),Qn=Symbol(``),$n=Symbol(``),er=Symbol(``),tr=Symbol(``),nr=/#/g,rr=/&/g,ir=/\//g,ar=/=/g,or=/\?/g,sr=/\+/g,cr=/%5B/g,lr=/%5D/g,ur=/%5E/g,dr=/%60/g,fr=/%7B/g,pr=/%7C/g,mr=/%7D/g,hr=/%20/g;function gr(e){return e==null?``:encodeURI(``+e).replace(pr,`|`).replace(cr,`[`).replace(lr,`]`)}function _r(e){return gr(e).replace(fr,`{`).replace(mr,`}`).replace(ur,`^`)}function vr(e){return gr(e).replace(sr,`%2B`).replace(hr,`+`).replace(nr,`%23`).replace(rr,`%26`).replace(dr,"`").replace(fr,`{`).replace(mr,`}`).replace(ur,`^`)}function yr(e){return vr(e).replace(ar,`%3D`)}function br(e){return gr(e).replace(nr,`%23`).replace(or,`%3F`)}function xr(e){return br(e).replace(ir,`%2F`)}function Sr(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var Cr=/\/$/,wr=e=>e.replace(Cr,``);function Tr(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=Mr(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:Sr(o)}}function Er(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function Dr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function Or(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&q(t.matched[r],n.matched[i])&&kr(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function q(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function kr(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Ar(e[n],t[n]))return!1;return!0}function Ar(e,t){return U(e)?jr(e,t):U(t)?jr(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function jr(e,t){return U(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function Mr(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`)if(s===`..`)a>1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var J={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0},Nr=function(e){return e.pop=`pop`,e.push=`push`,e}({}),Pr=function(e){return e.back=`back`,e.forward=`forward`,e.unknown=``,e}({});function Fr(e){if(!e)if(V){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^\/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),wr(e)}var Ir=/^[^#]+#/;function Lr(e,t){return e.replace(Ir,`#`)+t}function Rr(e,t){let 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)}}var zr=()=>({left:window.scrollX,top:window.scrollY});function Br(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Rr(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function Vr(e,t){return(history.state?history.state.position-t:-1)+e}var Hr=new Map;function Ur(e,t){Hr.set(e,t)}function Wr(e){let t=Hr.get(e);return Hr.delete(e),t}function Gr(e){return typeof e==`string`||e&&typeof e==`object`}function Kr(e){return typeof e==`string`||typeof e==`symbol`}function qr(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(sr,` `),i=r.indexOf(`=`),a=Sr(i<0?r:r.slice(0,i)),o=i<0?null:Sr(r.slice(i+1));if(a in t){let e=t[a];U(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function Jr(e){let t=``;for(let n in e){let r=e[n];if(n=yr(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(U(r)?r.map(e=>e&&vr(e)):[r&&vr(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function Yr(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=U(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function Y(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function X(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(G(W.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?c(e):Gr(e)?c(G(W.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function Xr(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(Gn(s)){let c=(s.__vccOpts||s)[t];c&&a.push(X(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=Kn(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&X(c,n,r,o,e,i)()}))}}return a}function Zr(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>q(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>q(e,s))||i.push(s))}return[n,r,i]}var Qr=()=>location.protocol+`//`+location.host;function $r(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),Dr(n,``)}return Dr(n,e)+r+i}function ei(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=$r(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:Nr.pop,direction:u?u>0?Pr.forward:Pr.back:Pr.unknown})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState(H({},e.state,{scroll:zr()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function ti(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?zr():null}}function ni(e){let{history:t,location:n}=window,r={value:$r(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:Qr()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,H({},t.state,ti(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=H({},i.value,t.state,{forward:e,scroll:zr()});a(o.current,o,!0),a(e,H({},ti(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function ri(e){e=Fr(e);let t=ni(e),n=ei(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=H({location:``,base:e,go:r,createHref:Lr.bind(null,e)},t,n);return Object.defineProperty(i,`location`,{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,`state`,{enumerable:!0,get:()=>t.state.value}),i}function ii(e){return e=location.host?e||location.pathname+location.search:``,e.includes(`#`)||(e+=`#`),ri(e)}var Z=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.Group=2]=`Group`,e}({}),Q=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.ParamRegExp=2]=`ParamRegExp`,e[e.ParamRegExpEnd=3]=`ParamRegExpEnd`,e[e.EscapeNext=4]=`EscapeNext`,e}(Q||{}),ai={type:Z.Static,value:``},oi=/[a-zA-Z0-9_]/;function si(e){if(!e)return[[]];if(e===`/`)return[[ai]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=Q.Static,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===Q.Static?a.push({type:Z.Static,value:l}):n===Q.Param||n===Q.ParamRegExp||n===Q.ParamRegExpEnd?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:Z.Param,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;){if(c=e[s++],c===`\\`&&n!==Q.ParamRegExp){r=n,n=Q.EscapeNext;continue}switch(n){case Q.Static:c===`/`?(l&&d(),o()):c===`:`?(d(),n=Q.Param):f();break;case Q.EscapeNext:f(),n=r;break;case Q.Param:c===`(`?n=Q.ParamRegExp:oi.test(c)?f():(d(),n=Q.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case Q.ParamRegExp:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=Q.ParamRegExpEnd:u+=c;break;case Q.ParamRegExpEnd:d(),n=Q.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`);break}}return n===Q.ParamRegExp&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var ci=`[^/]+?`,li={sensitive:!1,strict:!1,start:!0,end:!0},$=function(e){return e[e._multiplier=10]=`_multiplier`,e[e.Root=90]=`Root`,e[e.Segment=40]=`Segment`,e[e.SubSegment=30]=`SubSegment`,e[e.Static=40]=`Static`,e[e.Dynamic=20]=`Dynamic`,e[e.BonusCustomRegExp=10]=`BonusCustomRegExp`,e[e.BonusWildcard=-50]=`BonusWildcard`,e[e.BonusRepeatable=-20]=`BonusRepeatable`,e[e.BonusOptional=-8]=`BonusOptional`,e[e.BonusStrict=.7000000000000001]=`BonusStrict`,e[e.BonusCaseSensitive=.25]=`BonusCaseSensitive`,e}($||{}),ui=/[.+*?^${}()[\]/\\]/g;function di(e,t){let n=H({},li,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[$.Root];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=$.Segment+(n.sensitive?$.BonusCaseSensitive:0);if(o.type===Z.Static)r||(i+=`/`),i+=o.value.replace(ui,`\\$&`),s+=$.Static;else if(o.type===Z.Param){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||ci;if(u!==ci){s+=$.BonusCustomRegExp;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=$.Dynamic,c&&(s+=$.BonusOptional),n&&(s+=$.BonusRepeatable),u===`.*`&&(s+=$.BonusWildcard)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=$.BonusStrict}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===Z.Static)n+=e.value;else if(e.type===Z.Param){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(U(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=U(c)?c.join(`/`):c;if(!l)if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`);n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function fi(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===$.Static+$.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===$.Static+$.Segment?1:-1:0}function pi(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=fi(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(mi(r))return 1;if(mi(i))return-1}return i.length-r.length}function mi(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var hi={strict:!1,end:!0,sensitive:!1};function gi(e,t,n){let r=H(di(si(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function _i(e,t){let n=[],r=new Map;t=Yn(hi,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=yi(e);s.aliasOf=r&&r.record;let l=Yn(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(yi(H({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=gi(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!xi(d)&&o(e.name)),Ti(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:Jn}function o(e){if(Kr(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=Ci(e,n);n.splice(t,0,e),e.record.name&&!xi(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw G(W.MATCHER_NOT_FOUND,{location:e});s=i.record.name,a=H(vi(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&vi(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name);else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw G(W.MATCHER_NOT_FOUND,{location:e,currentLocation:t});s=i.record.name,a=H({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:Si(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function vi(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function yi(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:bi(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 bi(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function xi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Si(e){return e.reduce((e,t)=>H(e,t.meta),{})}function Ci(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;pi(e,t[i])<0?r=i:n=i+1}let i=wi(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function wi(e){let t=e;for(;t=t.parent;)if(Ti(t)&&pi(e,t)===0)return t}function Ti({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ei(e){let t=f($n),n=f(er),r=b(()=>{let n=o(e.to);return t.resolve(n)}),i=b(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(q.bind(null,i));if(o>-1)return o;let s=ji(e[t-2]);return t>1&&ji(i)===s&&a[a.length-1].path!==s?a.findIndex(q.bind(null,e[t-2])):o}),a=b(()=>i.value>-1&&Ai(n.params,r.value.params)),s=b(()=>i.value>-1&&i.value===n.matched.length-1&&kr(n.params,r.value.params));function c(n={}){if(ki(n)){let n=t[o(e.replace)?`replace`:`push`](o(e.to)).catch(Jn);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:b(()=>r.value.href),isActive:a,isExactActive:s,navigate:c}}function Di(e){return e.length===1?e[0]:e}var Oi=m({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:Ei,setup(e,{slots:t}){let n=w(Ei(e)),{options:r}=f($n),i=b(()=>({[Mi(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[Mi(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&Di(t.default(n));return e.custom?r:s(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function ki(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){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ai(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!U(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function ji(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var Mi=(e,t,n)=>e??t??n,Ni=m({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=f(tr),i=b(()=>e.route||r.value),a=f(Qn,0),c=b(()=>{let e=o(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),l=b(()=>i.value.matched[c.value]);y(Qn,b(()=>c.value+1)),y(Zn,l),y(tr,i);let u=x();return oe(()=>[u.value,l.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!q(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=l.value,c=o&&o.components[a];if(!c)return Pi(n.default,{Component:c,route:r});let d=o.props[a],f=s(c,H({},d?d===!0?r.params:typeof d==`function`?d(r):d:null,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:u}));return Pi(n.default,{Component:f,route:r})||f}}});function Pi(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var Fi=Ni;function Ii(e){let n=_i(e.routes,e),r=e.parseQuery||qr,i=e.stringifyQuery||Jr,a=e.history,s=Y(),c=Y(),l=Y(),u=ne(J),d=J;V&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let f=qn.bind(null,e=>``+e),p=qn.bind(null,xr),m=qn.bind(null,Sr);function ee(e,t){let r,i;return Kr(e)?(r=n.getRecordMatcher(e),i=t):i=e,n.addRoute(i,r)}function h(e){let t=n.getRecordMatcher(e);t&&n.removeRoute(t)}function te(){return n.getRoutes().map(e=>e.record)}function g(e){return!!n.getRecordMatcher(e)}function _(e,t){if(t=H({},t||u.value),typeof e==`string`){let i=Tr(r,e,t.path),o=n.resolve({path:i.path},t),s=a.createHref(i.fullPath);return H(i,o,{params:m(o.params),hash:Sr(i.hash),redirectedFrom:void 0,href:s})}let o;if(e.path!=null)o=H({},e,{path:Tr(r,e.path,t.path).path});else{let n=H({},e.params);for(let e in n)n[e]??delete n[e];o=H({},e,{params:p(n)}),t.params=p(t.params)}let s=n.resolve(o,t),c=e.hash||``;s.params=f(m(s.params));let l=Er(i,H({},e,{hash:_r(c),path:s.path})),d=a.createHref(l);return H({fullPath:l,hash:c,query:i===Jr?Yr(e.query):e.query||{}},s,{redirectedFrom:void 0,href:d})}function v(e){return typeof e==`string`?Tr(r,e,u.value.path):H({},e)}function re(e,t){if(d!==e)return G(W.NAVIGATION_CANCELLED,{from:t,to:e})}function y(e){return S(e)}function b(e){return y(H(v(e),{replace:!0}))}function x(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=v(i):{path:i},i.params={}),H({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function S(e,t){let n=d=_(e),r=u.value,a=e.state,o=e.force,s=e.replace===!0,c=x(n,r);if(c)return S(H(v(c),{state:typeof c==`object`?H({},a,c.state):a,force:o,replace:s}),t||n);let l=n;l.redirectedFrom=t;let f;return!o&&Or(i,r,n)&&(f=G(W.NAVIGATION_DUPLICATED,{to:l,from:r}),O(r,r,!0,!1)),(f?Promise.resolve(f):ae(l,r)).catch(e=>K(e)?K(e,W.NAVIGATION_GUARD_REDIRECT)?e:fe(e):ue(e,l,r)).then(e=>{if(e){if(K(e,W.NAVIGATION_GUARD_REDIRECT))return S(H({replace:s},v(e.to),{state:typeof e.to==`object`?H({},a,e.to.state):a,force:o}),t||l)}else e=se(l,r,!0,s,a);return oe(l,r,e),e})}function ie(e,t){let n=re(e,t);return n?Promise.reject(n):Promise.resolve()}function C(e){let t=k.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function ae(e,t){let n,[r,i,a]=Zr(e,t);n=Xr(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(X(r,e,t))});let o=ie.bind(null,e,t);return n.push(o),j(n).then(()=>{n=[];for(let r of s.list())n.push(X(r,e,t));return n.push(o),j(n)}).then(()=>{n=Xr(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(X(r,e,t))});return n.push(o),j(n)}).then(()=>{n=[];for(let r of a)if(r.beforeEnter)if(U(r.beforeEnter))for(let i of r.beforeEnter)n.push(X(i,e,t));else n.push(X(r.beforeEnter,e,t));return n.push(o),j(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Xr(a,`beforeRouteEnter`,e,t,C),n.push(o),j(n))).then(()=>{n=[];for(let r of c.list())n.push(X(r,e,t));return n.push(o),j(n)}).catch(e=>K(e,W.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function oe(e,t,n){l.list().forEach(r=>C(()=>r(e,t,n)))}function se(e,t,n,r,i){let o=re(e,t);if(o)return o;let s=t===J,c=V?history.state:{};n&&(r||s?a.replace(e.fullPath,H({scroll:s&&c&&c.scroll},i)):a.push(e.fullPath,i)),u.value=e,O(e,t,n,s),fe()}let w;function le(){w||=a.listen((e,t,n)=>{if(!A.listening)return;let r=_(e),i=x(r,A.currentRoute.value);if(i){S(H(i,{replace:!0,force:!0}),r).catch(Jn);return}d=r;let o=u.value;V&&Ur(Vr(o.fullPath,n.delta),zr()),ae(r,o).catch(e=>K(e,W.NAVIGATION_ABORTED|W.NAVIGATION_CANCELLED)?e:K(e,W.NAVIGATION_GUARD_REDIRECT)?(S(H(v(e.to),{force:!0}),r).then(e=>{K(e,W.NAVIGATION_ABORTED|W.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===Nr.pop&&a.go(-1,!1)}).catch(Jn),Promise.reject()):(n.delta&&a.go(-n.delta,!1),ue(e,r,o))).then(e=>{e||=se(r,o,!1),e&&(n.delta&&!K(e,W.NAVIGATION_CANCELLED)?a.go(-n.delta,!1):n.type===Nr.pop&&K(e,W.NAVIGATION_ABORTED|W.NAVIGATION_DUPLICATED)&&a.go(-1,!1)),oe(r,o,e)}).catch(Jn)})}let T=Y(),E=Y(),D;function ue(e,t,n){fe(e);let r=E.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function de(){return D&&u.value!==J?Promise.resolve():new Promise((e,t)=>{T.add([e,t])})}function fe(e){return D||(D=!e,le(),T.list().forEach(([t,n])=>e?n(e):t()),T.reset()),e}function O(n,r,i,a){let{scrollBehavior:o}=e;if(!V||!o)return Promise.resolve();let s=!i&&Wr(Vr(n.fullPath,0))||(a||!i)&&history.state&&history.state.scroll||null;return t().then(()=>o(n,r,s)).then(e=>e&&Br(e)).catch(e=>ue(e,n,r))}let pe=e=>a.go(e),me,k=new Set,A={currentRoute:u,listening:!0,addRoute:ee,removeRoute:h,clearRoutes:n.clearRoutes,hasRoute:g,getRoutes:te,resolve:_,options:e,push:y,replace:b,go:pe,back:()=>pe(-1),forward:()=>pe(1),beforeEach:s.add,beforeResolve:c.add,afterEach:l.add,onError:E.add,isReady:de,install(e){e.component(`RouterLink`,Oi),e.component(`RouterView`,Fi),e.config.globalProperties.$router=A,Object.defineProperty(e.config.globalProperties,`$route`,{enumerable:!0,get:()=>o(u)}),V&&!me&&u.value===J&&(me=!0,y(a.location).catch(e=>{}));let t={};for(let e in J)Object.defineProperty(t,e,{get:()=>u.value[e],enumerable:!0});e.provide($n,A),e.provide(er,ce(t)),e.provide(tr,u);let n=e.unmount;k.add(e),e.unmount=function(){k.delete(e),k.size<1&&(d=J,w&&w(),w=null,u.value=J,me=!1,D=!1),n()}}};function j(e){return e.reduce((e,t)=>e.then(()=>C(t)),Promise.resolve())}return A}var Li=(e,t)=>({default:()=>e?s(_e,e===!0?{}:e,t):t.default?.()}),Ri=/(:\w+)\([^)]+\)/g,zi=/(:\w+)[?+*]/g,Bi=/:\w+/g;function Vi(e){let t=e?.meta.key??e.path.replace(Ri,`$1`).replace(zi,`$1`).replace(Bi,t=>e.params[t.slice(1)]?.toString()||``);return typeof t==`function`?t(e):t}function Hi(e,t){return e===t||t===J?!1:Vi(e)===Vi(t)?!e.matched.every((e,n)=>e.components&&e.components.default===t.matched[n]?.components?.default):!0}function Ui(e){return Array.isArray(e)?e:[e]}function Wi(e){let t=[];for(let n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Ui(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Ui(n.onBeforeLeave):void 0});return Cn(...t)}var Gi={scrollBehavior(e,t,n){let r=S(),i=B().options?.scrollBehaviorType??`auto`;return e.path.replace(/\/$/,``)===t.path.replace(/\/$/,``)?t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Ki(e.hash),behavior:i}:!1:(typeof e.meta.scrollToTop==`function`?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===J?qi(e,t,n,i):new Promise(a=>{let o=()=>{requestAnimationFrame(()=>a(qi(e,t,n,i)))};r.hooks.hookOnce(`page:loading:end`,()=>{let e=r[`~transitionPromise`];e?e.then(o):o()})})}};function Ki(e){try{let t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function qi(e,t,n,r){if(n)return n;let i=Hi(e,t);return e.hash?{el:e.hash,top:Ki(e.hash),behavior:i?r:`instant`}:{left:0,top:0}}var Ji={hashMode:!1,scrollBehaviorType:`auto`,...Gi},Yi=globalThis.requestIdleCallback||(e=>{let t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Xi=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Zi=e=>{let t=S();t.isHydrating?t.hooks.hookOnce(`app:suspense:resolve`,()=>{Yi(()=>e())}):Yi(()=>e())};function Qi(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}async function $i(e,t=B()){let{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||=new Set,t._routePreloaded.has(n)))return;let i=t._preloadPromises||=[];if(i.length>4)return Promise.all(i).then(()=>$i(e,t));t._routePreloaded.add(n);for(let e of r){let t=e.components?.default;if(typeof t!=`function`)continue;let n=Promise.resolve(t()).catch(()=>{}).finally(()=>i.splice(i.indexOf(n),1));i.push(n)}await Promise.all(i)}export{mn as A,bt as B,Nn as C,Cn as D,Mn as E,sn as F,ft as G,lt as H,ln as I,z as L,Yt as M,cn as N,R as O,un as P,kt as R,Ln as S,jn as T,Me as U,xt as V,mt as W,Vn as _,Yi as a,Rn as b,Li as c,ii as d,ri as f,Un as g,Wn as h,Xi as i,pn as j,hn as k,Fi as l,Hn as m,$i as n,Ji as o,J as p,Zi as r,Wi as s,Qi as t,Ii as u,Bn as v,B as w,In as x,Pn as y,_e as z};
@@ -1 +0,0 @@
1
- import{Gt as e,q as t,w as n,x as r}from"./CEtF9LWU.js";import{c as i}from"#entry";import{t as a}from"./BUwCbG2W.js";var o={class:`antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide`},s={class:`max-w-520px text-center`},c=[`textContent`],l=[`textContent`],u=[`textContent`],d=a({__name:`error-500`,props:{appName:{type:String,default:`Nuxt`},status:{type:Number,default:500},statusText:{type:String,default:`Internal server error`},description:{type:String,default:`This page is temporarily unavailable.`},refresh:{type:String,default:`Refresh this page`}},setup(a){let d=a;return i({title:`${d.status} - ${d.statusText} | ${d.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:`*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }`}]}),(i,d)=>(t(),n(`div`,o,[r(`div`,s,[r(`h1`,{class:`font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]`,textContent:e(a.status)},null,8,c),r(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:e(a.statusText)},null,8,l),r(`p`,{class:`mb-4 px-2 text-[#64748B] text-md`,textContent:e(a.description)},null,8,u)])]))}},[[`__scopeId`,`data-v-dd5fedac`]]);export{d as default};
@@ -1 +0,0 @@
1
- import{A as e,C as t,Et as n,Gt as r,Ht as i,M as a,Q as o,S as s,Wt as c,b as l,lt as u,q as d,tt as f,w as p,x as m}from"./CEtF9LWU.js";import{C as h}from"./Cb77vzCb.js";import{a as g}from"#entry";import{t as _}from"./BdJ_JF0w.js";import{n as v,r as y}from"./kJJURm8F.js";import{n as b,t as x}from"./C1U2XYRv.js";var S=[`textContent`],C=a({__name:`DisplayBadge`,props:{text:{},color:{type:[Boolean,Number],default:!0},as:{},size:{}},setup(e){let t=e,n=l(()=>!t.text||t.color===!1?{}:{color:typeof t.color==`number`?y(t.color):v(t.text),background:typeof t.color==`number`?y(t.color,.1):v(t.text,.1)}),a=l(()=>{switch(t.size||`sm`){case`sm`:return`px-1.5 text-11px leading-1.6em`}return``});return(l,p)=>(d(),s(f(e.as||`span`),{"ws-nowrap":``,rounded:``,class:i(a.value),style:c(n.value)},{default:u(()=>[o(l.$slots,`default`,{},()=>[m(`span`,{textContent:r(t.text)},null,8,S)])]),_:3},8,[`class`,`style`]))}}),w=/^[A-Za-z]:\//;function T(e=``){return e&&e.replace(/\\/g,`/`).replace(w,e=>e.toUpperCase())}var E=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,D=/^\/([A-Za-z]:)?$/;function O(){return typeof process<`u`&&typeof process.cwd==`function`?process.cwd().replace(/\\/g,`/`):`/`}var k=function(...e){e=e.map(e=>T(e));let t=``,n=!1;for(let r=e.length-1;r>=-1&&!n;r--){let i=r>=0?e[r]:O();!i||i.length===0||(t=`${i}/${t}`,n=j(i))}return t=A(t,!n),n&&!j(t)?`/${t}`:t.length>0?t:`.`};function A(e,t){let n=``,r=0,i=-1,a=0,o=null;for(let s=0;s<=e.length;++s){if(s<e.length)o=e[s];else if(o===`/`)break;else o=`/`;if(o===`/`){if(!(i===s-1||a===1))if(a===2){if(n.length<2||r!==2||n[n.length-1]!==`.`||n[n.length-2]!==`.`){if(n.length>2){let e=n.lastIndexOf(`/`);e===-1?(n=``,r=0):(n=n.slice(0,e),r=n.length-1-n.lastIndexOf(`/`)),i=s,a=0;continue}else if(n.length>0){n=``,r=0,i=s,a=0;continue}}t&&(n+=n.length>0?`/..`:`..`,r=2)}else n.length>0?n+=`/${e.slice(i+1,s)}`:n=e.slice(i+1,s),r=s-i-1;i=s,a=0}else o===`.`&&a!==-1?++a:a=-1}return n}var j=function(e){return E.test(e)},M=function(e,t){let n=k(e).replace(D,`$1`).split(`/`),r=k(t).replace(D,`$1`).split(`/`);if(r[0][1]===`:`&&n[0][1]===`:`&&n[0]!==r[0])return r.join(`/`);let i=[...n];for(let e of i){if(r[0]!==e)break;n.shift(),r.shift()}return[...n.map(()=>`..`),...r].join(`/`)},N={"overflow-hidden":``,"text-ellipsis":``,"break-all":``,"line-clamp-2":``},P={"font-mono":``,"text-sm":``},F=Object.assign(a({__name:`ModuleId`,props:{id:{},badges:{type:Boolean},icon:{type:Boolean,default:!0},link:{type:[Boolean,String]},minimal:{type:Boolean},kind:{},session:{},cwd:{},disableTooltip:{type:Boolean,default:!1}},setup(a){let c=a,v=h(),y=window.location,S=l(()=>{if(!c.id)return``;let e=c.id.replace(/%2F/g,`/`),t=c.cwd||c.session.meta.cwd,n=t?M(t,e):e;return n.startsWith(`.`)||(n=`./${n}`),n.startsWith(`./`)||/^(?:\.\.\/){1,3}[^.]/.test(n)?n:e}),w=l(()=>`flex items-center`);return(l,h)=>{let T=b,E=x;return d(),s(f(a.link?n(_):`div`),{to:a.link?typeof a.link==`string`?a.link:{path:n(v).path,query:{...n(v).query,module:a.id,chunk:void 0},hash:n(y).hash}:void 0},{default:u(()=>[e(n(g),{"my-auto":``,"text-sm":``,"font-mono":``,block:``,"w-full":``,triggers:[`hover`],delay:1200,disabled:a.disableTooltip||(c.id?.length||0)<30,placement:`bottom-start`},{popper:u(()=>[m(`span`,P,r(c.id),1)]),default:u(()=>[a.id?(d(),p(`div`,{key:0,class:i(w.value)},[a.icon?(d(),s(T,{key:0,filename:a.id,"mr1.5":``},null,8,[`filename`])):t(``,!0),m(`span`,N,[e(E,{path:S.value,minimal:a.minimal},null,8,[`path`,`minimal`])]),o(l.$slots,`default`),a.kind?(d(),s(C,{key:1,class:`ml1`,text:a.kind},null,8,[`text`])):t(``,!0)],2)):t(``,!0),m(`div`,null,[o(l.$slots,`detail`)])]),_:3},8,[`disabled`])]),_:3},8,[`to`])}}}),{__name:`DisplayModuleId`});export{M as n,C as r,F as t};
@@ -1 +0,0 @@
1
- import{r as e}from"./fdFrOGYe.js";import{A as t,B as n,C as r,D as i,Et as a,Gt as o,Ht as s,M as c,S as l,Wt as u,Z as d,at as f,b as p,bt as m,et as h,h as g,k as _,lt as v,ot as y,q as b,st as x,ut as S,vt as C,w,x as T}from"./CEtF9LWU.js";import{C as E}from"./Cb77vzCb.js";import{c as D,g as O,p as k}from"./DJTkDKGN.js";import{n as ee}from"#entry";import{t as A}from"./BdJ_JF0w.js";import{r as j}from"./CfGVkjRe.js";import{r as M,t as N}from"./DbSMFLvz.js";import{i as P,t as te}from"./C0aRgtmJ.js";import{n as F}from"./CSK2QzqY.js";import{n as I,r as ne,t as L}from"./BgoIwvw3.js";import{a as re,c as ie,i as ae,n as R,o as z,r as oe,t as se}from"./okblV2iS.js";import{t as ce}from"./DHvQIQw5.js";import{n as le,r as ue,t as B}from"./dIDzU19U.js";var V=[`onClick`],de=Object.assign(c({__name:`FlatList`,props:{chunks:{},session:{},link:{type:Boolean,default:!0},basic:{type:Boolean,default:!1}},emits:[`select`],setup(e,{emit:n}){let i=n;return(n,a)=>{let o=P;return b(),l(L,{items:e.chunks,"key-prop":`chunk_id`},{default:v(({item:n})=>[T(`div`,{flex:``,pb2:``,onClick:e=>i(`select`,n)},[t(o,{chunk:n,basic:e.basic,link:e.link,"w-full":``,"font-mono":``,border:`~ rounded base`,px2:``,py1:``,"text-sm":``,hover:`bg-active`,flex:`~ gap-4 items-center`},{"left-after":v(()=>[n.is_initial?(b(),l(j,{key:0,text:`initial`})):r(``,!0)]),_:2},1032,[`chunk`,`basic`,`link`])],8,V)]),_:1},8,[`items`])}}}),{__name:`ChunksFlatList`}),H={op50:``,"font-mono":``,w12:``},U=[`title`],W={flex:`~ gap-1 items-center`},fe=Object.assign(c({__name:`Graph`,props:{session:{},chunks:{},entryId:{default:``}},setup(e){let i=e,s=p(()=>i.chunks),c=E();return F({modules:s,spacing:{width:450,height:55,linkOffset:15,margin:120,gap:150},generateGraph:e=>{let{isFirstCalculateGraph:t,scale:r,spacing:o,tree:c,hierarchy:l,collapsedNodes:u,container:d,modulesMap:f,nodes:p,links:m,nodesMap:h,linksMap:g,width:_,height:v,childToParentMap:y}=e;return()=>{_.value=window.innerWidth,v.value=window.innerHeight;let e=s.value.filter(e=>i.entryId?e.id===i.entryId:e.reason===`entry`),b=new Set,x=l({module:{id:`~root`}},n=>`${n.module?.id}`==`~root`?(e.forEach(e=>{b.add(e),t.value&&y.set(e.id,`~root`)}),e.map(e=>({module:e,expanded:!u.has(e.id),hasChildren:!1}))):u.has(`${n.module?.id}`)?[]:n.module.imports?.map(e=>{let r=f.value.get(`${e.chunk_id}`);if(!(!r||b.has(r)))return t.value&&y.set(r.id,n.module.id),b.add(r),{module:r,expanded:!u.has(r.id),hasChildren:!1}}).filter(e=>e!==void 0));t.value&&=!1,c().nodeSize([a(o.height),a(o.width)+a(o.gap)])(x);let S=x.descendants();for(let e of S)[e.x,e.y]=[e.y-a(o.width),e.x];let C=Math.min(...S.map(e=>e.x)),w=Math.min(...S.map(e=>e.y));if(C<a(o.margin))for(let e of S)e.x+=Math.abs(C)+a(o.margin);if(w<a(o.margin))for(let e of S)e.y+=Math.abs(w)+a(o.margin);p.value=S,h.clear();for(let e of S)h.set(`${e.data.module.id}`,e);let T=x.links().filter(e=>`${e.source.data.module.id}`!=`~root`).map(e=>({...e,id:`${e.source.data.module.id}|${e.target.data.module.id}`})),E=s.value.flatMap(e=>e.imports.filter(t=>!T.some(n=>n.id===`${e.chunk_id}|${t.chunk_id}`)).map(t=>({source:h.get(`${e.chunk_id}`),target:h.get(`${t.chunk_id}`),id:`${e.chunk_id}|${t.chunk_id}`}))),D=[...T,...E];g.clear();for(let e of D)g.set(e.id,e);m.value=D,n(()=>{_.value=d.value.scrollWidth/r.value+a(o.margin),v.value=d.value.scrollHeight/r.value+a(o.margin)})}}}),(n,i)=>{let u=A,d=B;return b(),l(d,{session:e.session,modules:s.value,"expand-controls":!1},{default:v(({node:e})=>[t(u,{class:`flex items-center`,to:{path:a(c).path,query:{chunk:e.data.module.chunk_id}}},{default:v(()=>[T(`span`,H,`#`+o(e.data.module.id),1),T(`div`,{flex:`~ gap-2 items-center`,title:`Chunk #${e.data.module.id}`},[T(`div`,null,o(e.data.module.name||`[unnamed]`),1),t(j,{text:e.data.module.reason},null,8,[`text`]),e.data.module.is_initial?(b(),l(j,{key:0,text:`initial`})):r(``,!0)],8,U),i[1]||=T(`div`,{"flex-auto":``},null,-1),T(`div`,W,[i[0]||=T(`div`,{"i-ph-package-duotone":``},null,-1),_(` `+o(e.data.module.modules.length),1)])]),_:2},1032,[`to`])]),_:1},8,[`session`,`modules`])}}}),{__name:`ChunksGraph`}),G={grid:`~ cols-[max-content_1fr] gap-2`,p4:``},K={flex:`~ col gap-4`},q={key:0,grid:`~ cols-[250px_1fr] gap-1`},J=[`onClick`],Y={key:0,"text-primary":``},X={key:1},Z=[`onClick`],Q=[`title`],pe=Object.assign(c({__name:`Sunburst`,props:{graph:{},selected:{}},emits:[`select`],setup(e,{emit:n}){let i=e,s=n,c=f(`el`);return x(()=>c.value?.append(i.graph.el)),(n,i)=>{let l=R,f=M,p=h(`tooltip`);return b(),w(`div`,G,[T(`div`,{ref_key:`el`,ref:c,"w-500px":``},null,512),T(`div`,K,[t(l,{border:`b base`,py2:``,selected:e.selected,options:e.graph.options,onSelect:i[0]||=e=>s(`select`,e)},null,8,[`selected`,`options`]),e.selected?(b(),w(`div`,q,[(b(!0),w(g,null,d(e.selected.children,n=>(b(),w(g,{key:n.id},[T(`button`,{"ws-nowrap":``,"text-nowrap":``,"text-left":``,"overflow-hidden":``,"text-ellipsis":``,"text-sm":``,hover:`bg-active`,rounded:``,px2:``,onClick:e=>s(`select`,n)},[n.meta&&n.meta===e.selected?.meta?(b(),w(`span`,Y,`(self)`)):(b(),w(`span`,X,o(n.meta?.name||n.id),1))],8,J),T(`button`,{relative:``,flex:`~ gap-1 items-center`,hover:`bg-active`,rounded:``,onClick:e=>s(`select`,n)},[T(`div`,{"h-5":``,rounded:``,shadow:``,border:`~ base`,style:u({background:a(z)(e.graph.options.getColor?.(n)||`#000`),width:`${n.size/e.selected.size*100}%`})},null,4),t(f,{"text-xs":``,bytes:n.size,total:e.selected.size,"percent-ratio":3},null,8,[`bytes`,`total`]),n.children.length>0?S((b(),w(`div`,{key:0,title:`${n.children.length} modules`,"text-xs":``,"op-fade":``},[_(` (`+o(n.children.length)+`) `,1)],8,Q)),[[p,`${n.children.length} modules`]]):r(``,!0)],8,Z)],64))),128))])):r(``,!0)])])}}}),{__name:`ChunksSunburst`}),me=Object.assign(c({__name:`Flamegraph`,props:{graph:{}},setup(e){let t=e,n=f(`el`);return x(()=>n.value?.append(t.graph.el)),(e,t)=>(b(),w(`div`,{ref_key:`el`,ref:n},null,512))}}),{__name:`ChunksFlamegraph`}),he={sticky:``,"left-4":``,"right-4":``,"top-4":``,"z-panel-nav":``,"p-4":``},ge={key:0,h10:``,mr2:``,flex:`~ items-center`},_e={flex:`~ wrap gap-2 items-center`,p2:``,border:`t base`},ve=[`onClick`],ye={key:0,class:`px5 pt-4`,flex:`~ col gap-4`},be={key:1,class:`px5 pt-4`,flex:`~ col gap-4`},xe={key:3,flex:`~ col gap-2`},Se={key:4,flex:`~ col gap-2`,"pt-4":``},Ce={key:5,flex:`~ col gap-2`,"pt-4":``},we={key:0,border:`~ base rounded-lg`,"bg-base":``,p2:``,flex:`~ col gap-2`,"min-w-50":``,"shadow-lg":``},Te={flex:`~ gap-2 items-center`},Ee={truncate:``},De={flex:`~ gap-2 items-center`},Oe={key:0,flex:`~ gap-2 items-center`},ke={"text-xs":``},Ae={key:1,flex:`~ gap-2 items-center`},$=c({__name:`chunks`,props:{session:{}},setup(n){let c=n,u=C(k()),f=[{label:`List`,value:`list`,icon:`i-ph-list-bullets-duotone`},{label:`Detailed List`,value:`detailed-list`,icon:`i-ph-list-magnifying-glass-duotone`},{label:`Graph`,value:`graph`,icon:`i-ph-graph-duotone`},{label:`Treemap`,value:`treemap`,icon:`i-ph-checkerboard-duotone`},{label:`Sunburst`,value:`sunburst`,icon:`i-ph-chart-donut-duotone`},{label:`Flamegraph`,value:`flamegraph`,icon:`i-ph-chart-bar-horizontal-duotone`}],h=m({search:``}),x=e(),{state:S,isLoading:E}=D(async()=>await x.value.call(`vite:rolldown:get-chunks-graph`,{session:c.session.id}),null),A=p(()=>{let e=new Map;return S.value?.forEach(t=>{e.set(`${t.chunk_id}`,t)}),e}),P=p(()=>S.value?.map(e=>({...e,id:`${e.chunk_id}`}))??[]),F=O(()=>P.value,()=>new ne(P.value,{includeScore:!0,keys:[`name`],ignoreLocation:!0,threshold:.4})),L=p(()=>h.value.search?F.value.search(h.value.search).map(e=>e.item):P.value),{pathSelectorVisible:z,pathNodes:B,selectPathNodes:V,togglePathSelector:H,normalizedGraph:U}=ue({onToggle:e=>{h.value.search=e?!1:``},dataMap:p(()=>A.value),list:p(()=>L.value),importIdKey:`chunk_id`});function W(e){N.value.chunkViewType=e}let G=p(()=>{let e=new Map;for(let t of c.session.modulesList)e.set(t.id,t);return e});function K(e){return e.asset?.size?e.asset.size:e.modules.reduce((e,t)=>{let n=G.value.get(t);return!n||!n.buildMetrics?.transforms?.length?e:e+n.buildMetrics.transforms.at(-1).transformed_code_size},0)}let{tree:q,chartOptions:J,graph:Y,nodeHover:X,nodeSelected:Z,selectedNode:Q,selectNode:$,buildGraph:je}=se({data:p(()=>L.value.map(e=>({...e,filename:e.name||`chunk-${e.chunk_id}`,size:K(e)}))),nameKey:`filename`,sizeKey:`size`,rootText:`Chunks`,nodeType:`chunk`,graphOptions:{onClick(e){e&&(X.value=e)},onHover(e){e&&(X.value=e),e===null&&(X.value=void 0)},onLeave(){X.value=void 0},onSelect(e){Z.value=e||q.value.root,Q.value=e?.meta}},onUpdate(){switch(N.value.chunkViewType){case`sunburst`:Y.value=new ae(q.value.root,J.value);break;case`treemap`:Y.value=new re(q.value.root,{...J.value,selectedPaddingRatio:0});break;case`flamegraph`:Y.value=new oe(q.value.root,J.value);break}}});return y(()=>N.value.chunkViewType,()=>{[`treemap`,`sunburst`,`flamegraph`].includes(N.value.chunkViewType)&&je()}),(e,c)=>{let p=ee,m=de,y=le,x=I,S=te,C=fe,D=R,O=pe,k=me,P=M,F=ie;return a(E)?(b(),l(p,{key:0})):(b(),w(`div`,{key:1,relative:``,class:s({"max-h-screen of-hidden":a(N).chunkViewType===`graph`})},[T(`div`,he,[t(x,{modelValue:h.value,"onUpdate:modelValue":c[2]||=e=>h.value=e,rules:[]},i({"search-end":v(()=>[a(N).chunkViewType===`graph`?(b(),w(`div`,ge,[T(`button`,{"w-8":``,"h-8":``,"rounded-full":``,flex:``,"items-center":``,"justify-center":``,hover:`bg-active op100`,op50:``,title:`Graph Path Selector`,onClick:c[1]||=e=>a(H)(!0)},[...c[5]||=[T(`i`,{"i-ri:route-line":``,flex:``},null,-1)]])])):r(``,!0)]),default:v(()=>[T(`div`,_e,[c[6]||=T(`span`,{op50:``,pl2:``,"text-sm":``},`View as`,-1),(b(),w(g,null,d(f,e=>T(`button`,{key:e.value,"btn-action":``,class:s(a(N).chunkViewType===e.value?`bg-active`:`grayscale op50`),onClick:t=>W(e.value)},[T(`div`,{class:s(e.icon)},null,2),_(` `+o(e.label),1)],10,ve)),64))])]),_:2},[a(z)?{name:`search`,fn:v(()=>[t(y,{session:n.session,data:L.value,"import-id-key":`chunk_id`,"search-keys":[`name`],onSelect:a(V),onClose:c[0]||=e=>a(H)(!1)},{list:v(({select:e,data:r})=>[t(m,{session:n.session,chunks:r,link:!1,basic:!0,onSelect:e},null,8,[`session`,`chunks`,`onSelect`])]),item:v(({id:e})=>[_(o(A.value.get(e)?.name||`[unnamed]`),1)]),_:1},8,[`session`,`data`,`onSelect`])]),key:`0`}:void 0]),1032,[`modelValue`])]),a(N).chunkViewType===`list`?(b(),w(`div`,ye,[t(m,{session:n.session,chunks:L.value},null,8,[`session`,`chunks`])])):r(``,!0),a(N).chunkViewType===`detailed-list`?(b(),w(`div`,be,[(b(!0),w(g,null,d(L.value,e=>(b(),l(S,{key:e.id,border:`~ base rounded-lg`,p3:``,chunk:e,chunks:L.value,session:n.session},null,8,[`chunk`,`chunks`,`session`]))),128))])):a(N).chunkViewType===`graph`?(b(),l(C,{key:2,class:`pt32`,session:n.session,chunks:a(U),"entry-id":a(B).start},null,8,[`session`,`chunks`,`entry-id`])):a(N).chunkViewType===`treemap`?(b(),w(`div`,xe,[a(Y)?(b(),l(ce,{key:0,graph:a(Y),selected:a(Z),onSelect:c[3]||=e=>a($)(e)},{default:v(({selected:e,options:n,onSelect:r})=>[t(D,{border:`b base`,py2:``,"min-h-10":``,selected:e,options:n,onSelect:r},null,8,[`selected`,`options`,`onSelect`])]),_:1},8,[`graph`,`selected`])):r(``,!0)])):a(N).chunkViewType===`sunburst`?(b(),w(`div`,Se,[a(Y)?(b(),l(O,{key:0,graph:a(Y),selected:a(Z),onSelect:c[4]||=e=>a($)(e)},null,8,[`graph`,`selected`])):r(``,!0)])):a(N).chunkViewType===`flamegraph`?(b(),w(`div`,Ce,[a(Y)?(b(),l(k,{key:0,graph:a(Y)},null,8,[`graph`])):r(``,!0)])):r(``,!0),t(F,{"hover-x":u.x,"hover-y":u.y},{default:v(()=>[a(X)?.meta?(b(),w(`div`,we,[T(`div`,Te,[c[7]||=T(`i`,{"i-ph-shapes-duotone":``,"flex-none":``},null,-1),T(`span`,Ee,o(a(X).meta.name||`[unnamed]`),1)]),T(`div`,De,[c[8]||=T(`span`,{op50:``,"text-xs":``},`Size:`,-1),t(P,{bytes:a(X).meta.size,"text-xs":``},null,8,[`bytes`])]),a(X).meta.modules?.length?(b(),w(`div`,Oe,[c[9]||=T(`span`,{op50:``,"text-xs":``},`Modules:`,-1),T(`span`,ke,o(a(X).meta.modules?.length),1)])):r(``,!0),a(X).meta.is_initial?(b(),w(`div`,Ae,[t(j,{text:`initial`})])):r(``,!0)])):r(``,!0)]),_:1},8,[`hover-x`,`hover-y`])],2))}}});export{$ as default};
@@ -1 +0,0 @@
1
- function e(e,t=2){let n=[`Bytes`,`KB`,`MB`,`GB`,`TB`],r=Math.floor(Math.log(e)/Math.log(1024));return r===0?[e,`B`]:[(+(e/1024**r).toFixed(t)).toLocaleString(),n[r]]}function t(e,t){let n={name:t,children:{},items:[]};function r(e,t,i=n){if(!e)return;if(t.length<=1){i.items.push(e);return}let a=t.shift();i.children[a]||(i.children[a]={name:a,children:{},items:[]}),r(e,t,i.children[a])}e.forEach(e=>{r(e,e.path.split(/\//g).filter(Boolean))});function i(e){if(!e)return;let t=Object.values(e.children);if(t.length===1&&!e.items.length){let n=t[0];e.name=e.name?`${e.name}/${n.name}`:n.name,e.items=n.items,e.children=n.children,i(e)}else t.forEach(i)}return Object.values(n.children).forEach(i),n}function n(e){return new Date(e).toLocaleString(void 0,{hour12:!1,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,fractionalSecondDigits:3})}export{n,t as r,e as t};
@@ -1 +0,0 @@
1
- import{B as e,Ct as t,Et as n,G as r,I as i,L as a,N as o,St as s,Tt as c,_t as l,b as u,bt as d,ft as f,ht as p,ot as m,pt as h,st as g,vt as _,yt as v}from"./CEtF9LWU.js";function y(e,t,n={}){let r,i,a,o=!0,s=()=>{o=!0,a()};m(e,s,{flush:`sync`,...n});let c=typeof t==`function`?t:t.get,l=typeof t==`function`?void 0:t.set,u=f((e,t)=>(i=e,a=t,{get(){return o&&=(r=c(r),!1),i(),r},set(e){l?.(e)}}));return u.trigger=s,u}function b(e,t){return h()?(l(e,t),!0):!1}var x=new WeakMap,S=(...e)=>{let t=e[0],n=o()?.proxy??h();if(n==null&&!i())throw Error(`injectLocal must be called in setup`);return n&&x.has(n)&&t in x.get(n)?x.get(n)[t]:a(...e)},C=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var w=e=>e!==void 0,T=Object.prototype.toString,E=e=>T.call(e)===`[object Object]`,D=()=>{},O=k();function k(){var e,t;return C&&!!(!((e=window)==null||(e=e.navigator)==null)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function A(...e){if(e.length!==1)return t(...e);let n=e[0];return typeof n==`function`?v(f(()=>({get:n,set:D}))):d(n)}function j(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var M=e=>e();function ee(e,t={}){let n,r,i=D,a=e=>{clearTimeout(e),i(),i=D},o;return s=>{let l=c(e),u=c(t.maxWait);return n&&a(n),l<=0||u!==void 0&&u<=0?(r&&=(a(r),void 0),Promise.resolve(s())):new Promise((e,c)=>{i=t.rejectOnCancel?c:e,o=s,u&&!r&&(r=setTimeout(()=>{n&&a(n),r=void 0,e(o())},u)),n=setTimeout(()=>{r&&a(r),r=void 0,e(s())},l)})}}function te(e=M,t={}){let{initialState:n=`active`}=t,r=A(n===`active`);function i(){r.value=!1}function a(){r.value=!0}return{isActive:v(r),pause:i,resume:a,eventFilter:(...t)=>{r.value&&e(...t)}}}function N(e,t=!1,n=`Timeout`){return new Promise((r,i)=>{setTimeout(t?()=>i(n):r,e)})}function P(e){return e.endsWith(`rem`)?Number.parseFloat(e)*16:Number.parseFloat(e)}function F(e){return Array.isArray(e)?e:[e]}function ne(e){return e||o()}function I(e,t,n={}){let{eventFilter:r=M,...i}=n;return m(e,j(r,t),i)}function re(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=te(r,{initialState:i});return{stop:I(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function L(t,n=!0,i){ne(i)?r(t,i):n?t():e(t)}function R(t,n=!1){function r(r,{flush:i=`sync`,deep:a=!1,timeout:o,throwOnTimeout:s}={}){let l=null,u=[new Promise(o=>{l=m(t,t=>{r(t)!==n&&(l?l():e(()=>l?.()),o(t))},{flush:i,deep:a,immediate:!0})})];return o!=null&&u.push(N(o,s).then(()=>c(t)).finally(()=>l?.())),Promise.race(u)}function i(i,a){if(!p(i))return r(e=>e===i,a);let{flush:o=`sync`,deep:s=!1,timeout:l,throwOnTimeout:u}=a??{},d=null,f=[new Promise(r=>{d=m([t,i],([t,i])=>{n!==(t===i)&&(d?d():e(()=>d?.()),r(t))},{flush:o,deep:s,immediate:!0})})];return l!=null&&f.push(N(l,u).then(()=>c(t)).finally(()=>(d?.(),c(t)))),Promise.race(f)}function a(e){return r(e=>!!e,e)}function o(e){return i(null,e)}function s(e){return i(void 0,e)}function l(e){return r(Number.isNaN,e)}function u(e,t){return r(t=>{let n=Array.from(t);return n.includes(e)||n.includes(c(e))},t)}function d(e){return f(1,e)}function f(e=1,t){let n=-1;return r(()=>(n+=1,n>=e),t)}return Array.isArray(c(t))?{toMatch:r,toContains:u,changed:d,changedTimes:f,get not(){return R(t,!n)}}:{toMatch:r,toBe:i,toBeTruthy:a,toBeNull:o,toBeNaN:l,toBeUndefined:s,changed:d,changedTimes:f,get not(){return R(t,!n)}}}function ie(e){return R(e)}function ae(e=!1,t={}){let{truthyValue:n=!0,falsyValue:r=!1}=t,i=p(e),a=s(e);function o(e){if(arguments.length)return a.value=e,a.value;{let e=c(n);return a.value=a.value===e?c(r):e,a.value}}return i?o:[a,o]}function oe(e,t,n={}){let{debounce:r=0,maxWait:i=void 0,...a}=n;return I(e,t,{...a,eventFilter:ee(r,{maxWait:i})})}function se(e,t,n){return m(e,t,{...n,immediate:!0})}function ce(e,t,n){let r;r=p(n)?{evaluating:n}:n||{};let{lazy:i=!1,flush:a=`sync`,evaluating:o=void 0,shallow:c=!0,onError:l=globalThis.reportError??D}=r,f=s(!i),m=c?s(t):d(t),h=0;return g(async t=>{if(!f.value)return;h++;let n=h,r=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{let i=await e(e=>{t(()=>{o&&(o.value=!1),r||e()})});n===h&&(m.value=i)}catch(e){l(e)}finally{o&&n===h&&(o.value=!1),r=!0}},{flush:a}),i?u(()=>(f.value=!0,m.value)):m}var z=C?window:void 0;C&&window.document,C&&window.navigator,C&&window.location;function B(e){let t=c(e);return t?.$el??t}function V(...e){let t=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),r=u(()=>{let t=F(c(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0});return se(()=>[r.value?.map(e=>B(e))??[z].filter(e=>e!=null),F(c(r.value?e[1]:e[0])),F(n(r.value?e[2]:e[1])),c(r.value?e[3]:e[2])],([e,n,r,i],a,o)=>{if(!e?.length||!n?.length||!r?.length)return;let s=E(i)?{...i}:i,c=e.flatMap(e=>n.flatMap(n=>r.map(r=>t(e,n,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}var H=!1;function le(e,t,n={}){let{window:r=z,ignore:i=[],capture:a=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:D,cancel:D,trigger:D}:D;if(O&&!H){H=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener(`click`,D,e)),r.document.documentElement.addEventListener(`click`,D,e)}let l=!0,u=e=>c(i).some(t=>{if(typeof t==`string`)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=B(t);return n&&(e.target===n||e.composedPath().includes(n))}});function d(e){let t=c(e);return t&&t.$.subTree.shapeFlag===16}function f(e,t){let n=c(e),r=n.$.subTree&&n.$.subTree.children;return r==null||!Array.isArray(r)?!1:r.some(e=>e.el===t.target||t.composedPath().includes(e.el))}let p=n=>{let r=B(e);if(n.target!=null&&!(!(r instanceof Element)&&d(e)&&f(e,n))&&!(!r||r===n.target||n.composedPath().includes(r))){if(`detail`in n&&n.detail===0&&(l=!u(n)),!l){l=!0;return}t(n)}},m=!1,h=[V(r,`click`,e=>{m||(m=!0,setTimeout(()=>{m=!1},0),p(e))},{passive:!0,capture:a}),V(r,`pointerdown`,t=>{let n=B(e);l=!u(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),o&&V(r,`blur`,n=>{setTimeout(()=>{let i=B(e);r.document.activeElement?.tagName===`IFRAME`&&!i?.contains(r.document.activeElement)&&t(n)},0)},{passive:!0})].filter(Boolean),g=()=>h.forEach(e=>e());return s?{stop:g,cancel:()=>{l=!1},trigger:e=>{l=!0,p(e),l=!1}}:g}function ue(){let e=s(!1),t=o();return t&&r(()=>{e.value=!0},t),e}function de(e){let t=ue();return u(()=>(t.value,!!e()))}function fe(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function U(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);let{target:i=z,eventName:a=`keydown`,passive:o=!1,dedupe:s=!1}=r,l=fe(t);return V(i,a,e=>{e.repeat&&c(s)||l(e)&&n(e)},o)}function pe(e,t,n={}){return U(e,t,{...n,eventName:`keydown`})}function me(e,t,n={}){return U(e,t,{...n,eventName:`keypress`})}function he(e,t,n){let{immediate:r=!0,delay:i=0,onError:a=globalThis.reportError??D,onSuccess:o=D,resetOnExecute:l=!0,shallow:u=!0,throwError:f}=n??{},p=u?s(t):d(t),m=s(!1),h=s(!1),g=s(void 0),_=0;async function v(n=0,...r){let i=_+=1;l&&(p.value=c(t)),g.value=void 0,m.value=!1,h.value=!0,n>0&&await N(n);let s=typeof e==`function`?e(...r):e;try{let e=await s;return i===_&&(p.value=e,m.value=!0),o(e),e}catch(e){if(i===_&&(g.value=e),a(e),f)throw e}finally{i===_&&(h.value=!1)}}r&&v(i);let y={state:p,isReady:m,isLoading:h,error:g,execute:v,executeImmediate:(...e)=>v(0,...e)};function b(){return new Promise((e,t)=>{ie(h).toBe(!1).then(()=>e(y)).catch(t)})}return{...y,then(e,t){return b().then(e,t)}}}var ge=Symbol(`vueuse-ssr-width`);function _e(){let e=i()?S(ge,null):null;return typeof e==`number`?e:void 0}function ve(e,t={}){let{window:n=z,ssrWidth:r=_e()}=t,i=de(()=>n&&`matchMedia`in n&&typeof n.matchMedia==`function`),a=s(typeof r==`number`),o=s(),l=s(!1);return g(()=>{if(a.value){a.value=!i.value,l.value=c(e).split(`,`).some(e=>{let t=e.includes(`not all`),n=e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),i=e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),a=!!(n||i);return n&&a&&(a=r>=P(n[1])),i&&a&&(a=r<=P(i[1])),t?!a:a});return}i.value&&(o.value=n.matchMedia(c(e)),l.value=o.value.matches)}),V(o,`change`,e=>{l.value=e.matches},{passive:!0}),u(()=>l.value)}function ye(e){return JSON.parse(JSON.stringify(e))}var W=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},G=`__vueuse_ssr_handlers__`,be=K();function K(){return G in W||(W[G]=W[G]||{}),W[G]}function q(e,t){return be[e]||t}function xe(e){return ve(`(prefers-color-scheme: dark)`,e)}function Se(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`}var Ce={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()}},J=`vueuse-storage`;function Y(t,n,r,i={}){let{flush:a=`pre`,deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:f=!0,mergeDefaults:p=!1,shallow:h,window:g=z,eventFilter:_,onError:v=e=>{console.error(e)},initOnMounted:y}=i,b=(h?s:d)(typeof n==`function`?n():n),x=u(()=>c(t));if(!r)try{r=q(`getDefaultStorage`,()=>z?.localStorage)()}catch(e){v(e)}if(!r)return b;let S=c(n),C=Se(S),w=i.serializer??Ce[C],{pause:T,resume:E}=re(b,e=>k(e),{flush:a,deep:o,eventFilter:_});m(x,()=>j(),{flush:a});let D=!1;g&&l&&(r instanceof Storage?V(g,`storage`,e=>{y&&!D||j(e)},{passive:!0}):V(g,J,e=>{y&&!D||M(e)})),y?L(()=>{D=!0,j()}):j();function O(e,t){if(g){let n={key:x.value,oldValue:e,newValue:t,storageArea:r};g.dispatchEvent(r instanceof Storage?new StorageEvent(`storage`,n):new CustomEvent(J,{detail:n}))}}function k(e){try{let t=r.getItem(x.value);if(e==null)O(t,null),r.removeItem(x.value);else{let n=w.write(e);t!==n&&(r.setItem(x.value,n),O(t,n))}}catch(e){v(e)}}function A(e){let t=e?e.newValue:r.getItem(x.value);if(t==null)return f&&S!=null&&r.setItem(x.value,w.write(S)),S;if(!e&&p){let e=w.read(t);return typeof p==`function`?p(e,S):C===`object`&&!Array.isArray(e)?{...S,...e}:e}else if(typeof t!=`string`)return t;else return w.read(t)}function j(t){if(!(t&&t.storageArea!==r)){if(t&&t.key==null){b.value=S;return}if(!(t&&t.key!==x.value)){T();try{let e=w.write(b.value);(t===void 0||t?.newValue!==e)&&(b.value=A(t))}catch(e){v(e)}finally{t?e(E):E()}}}}function M(e){j(e.detail)}return b}var we=`*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}`;function Te(e={}){let{selector:t=`html`,attribute:n=`class`,initialValue:r=`auto`,window:i=z,storage:a,storageKey:o=`vueuse-color-scheme`,listenToStorageChanges:s=!0,storageRef:c,emitAuto:l,disableTransition:d=!0}=e,f={auto:``,light:`light`,dark:`dark`,...e.modes||{}},p=xe({window:i}),h=u(()=>p.value?`dark`:`light`),g=c||(o==null?A(r):Y(o,r,a,{window:i,listenToStorageChanges:s})),_=u(()=>g.value===`auto`?h.value:g.value),v=q(`updateHTMLAttrs`,(e,t,n)=>{let r=typeof e==`string`?i?.document.querySelector(e):B(e);if(!r)return;let a=new Set,o=new Set,s=null;if(t===`class`){let e=n.split(/\s/g);Object.values(f).flatMap(e=>(e||``).split(/\s/g)).filter(Boolean).forEach(t=>{e.includes(t)?a.add(t):o.add(t)})}else s={key:t,value:n};if(a.size===0&&o.size===0&&s===null)return;let c;d&&(c=i.document.createElement(`style`),c.appendChild(document.createTextNode(we)),i.document.head.appendChild(c));for(let e of a)r.classList.add(e);for(let e of o)r.classList.remove(e);s&&r.setAttribute(s.key,s.value),d&&(i.getComputedStyle(c).opacity,document.head.removeChild(c))});function y(e){v(t,n,f[e]??e)}function b(t){e.onChanged?e.onChanged(t,y):y(t)}m(_,b,{flush:`post`,immediate:!0}),L(()=>b(_.value));let x=u({get(){return l?g.value:_.value},set(e){g.value=e}});return Object.assign(x,{store:g,system:h,state:_})}function Ee(e,t){let n=s(f()),r=A(e),i=u({get(){let e=r.value,i=t?.getIndexOf?t.getIndexOf(n.value,e):e.indexOf(n.value);return i<0&&(i=t?.fallbackIndex??0),i},set(e){a(e)}});function a(e){let t=r.value,i=t.length,a=t[(e%i+i)%i];return n.value=a,a}function o(e=1){return a(i.value+e)}function l(e=1){return o(e)}function d(e=1){return o(-e)}function f(){return c(t?.initialValue??c(e)[0])??void 0}return m(r,()=>a(i.value)),{state:n,index:i,next:l,prev:d,go:a}}function De(e={}){let{valueDark:t=`dark`,valueLight:n=``}=e,r=Te({...e,onChanged:(t,n)=>{var r;e.onChanged?(r=e.onChanged)==null||r.call(e,t===`dark`,n,t):n(t)},modes:{dark:t,light:n}}),i=u(()=>r.system.value);return u({get(){return r.value===`dark`},set(e){let t=e?`dark`:`light`;i.value===t?r.value=`auto`:r.value=t}})}function X(e){return typeof Window<`u`&&e instanceof Window?e.document.documentElement:typeof Document<`u`&&e instanceof Document?e.documentElement:e}function Oe(e,t,n={}){let{window:r=z}=n;return Y(e,t,r?.localStorage,n)}var ke={ctrl:`control`,command:`meta`,cmd:`meta`,option:`alt`,up:`arrowup`,down:`arrowdown`,left:`arrowleft`,right:`arrowright`};function Ae(e={}){let{reactive:t=!1,target:n=z,aliasMap:r=ke,passive:i=!0,onEventFired:a=D}=e,o=_(new Set),l={toJSON(){return{}},current:o},d=t?_(l):l,f=new Set,p=new Map([[`Meta`,f],[`Shift`,new Set],[`Alt`,new Set]]),m=new Set;function h(e,n){e in d&&(t?d[e]=n:d[e].value=n)}function g(){o.clear();for(let e of m)h(e,!1)}function v(e,t,n){if(!(!e||typeof t.getModifierState!=`function`)){for(let[e,r]of p)if(t.getModifierState(e)){n.forEach(e=>r.add(e));break}}}function y(e,t){if(e)return;let n=`${t[0].toUpperCase()}${t.slice(1)}`,r=p.get(n);if(![`shift`,`alt`].includes(t)||!r)return;let i=Array.from(r),a=i.indexOf(t);i.forEach((e,t)=>{t>=a&&(o.delete(e),h(e,!1))}),r.clear()}function b(e,t){let n=e.key?.toLowerCase(),r=[e.code?.toLowerCase(),n].filter(Boolean);if(n){n&&(t?o.add(n):o.delete(n));for(let e of r)m.add(e),h(e,t);v(t,e,[...o,...r]),y(t,n),n===`meta`&&!t&&(f.forEach(e=>{o.delete(e),h(e,!1)}),f.clear())}}V(n,`keydown`,e=>(b(e,!0),a(e)),{passive:i}),V(n,`keyup`,e=>(b(e,!1),a(e)),{passive:i}),V(`blur`,g,{passive:i}),V(`focus`,g,{passive:i});let x=new Proxy(d,{get(e,n,i){if(typeof n!=`string`)return Reflect.get(e,n,i);if(n=n.toLowerCase(),n in r&&(n=r[n]),!(n in d))if(/[+_-]/.test(n)){let e=n.split(/[+_-]/g).map(e=>e.trim());d[n]=u(()=>e.map(e=>c(x[e])).every(Boolean))}else d[n]=s(!1);let a=Reflect.get(e,n,i);return t?c(a):a}});return x}var je={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof MouseEvent?[e.movementX,e.movementY]:null};function Me(e={}){let{type:t=`page`,touch:n=!0,resetOnTouchEnds:r=!1,initialValue:i={x:0,y:0},window:a=z,target:o=a,scroll:c=!0,eventFilter:l}=e,u=null,d=0,f=0,p=s(i.x),m=s(i.y),h=s(null),g=typeof t==`function`?t:je[t],_=e=>{let t=g(e);u=e,t&&([p.value,m.value]=t,h.value=`mouse`),a&&(d=a.scrollX,f=a.scrollY)},v=e=>{if(e.touches.length>0){let t=g(e.touches[0]);t&&([p.value,m.value]=t,h.value=`touch`)}},y=()=>{if(!u||!a)return;let e=g(u);u instanceof MouseEvent&&e&&(p.value=e[0]+a.scrollX-d,m.value=e[1]+a.scrollY-f)},b=()=>{p.value=i.x,m.value=i.y},x=l?e=>l(()=>_(e),{}):e=>_(e),S=l?e=>l(()=>v(e),{}):e=>v(e),C=l?()=>l(()=>y(),{}):()=>y();if(o){let e={passive:!0};V(o,[`mousemove`,`dragover`],x,e),n&&t!==`movement`&&(V(o,[`touchstart`,`touchmove`],S,e),r&&V(o,`touchend`,b,e)),c&&t===`page`&&V(a,`scroll`,C,e)}return{x:p,y:m,sourceType:h}}function Z(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!t||t.tagName===`BODY`?!1:Z(t)}}function Ne(e){let t=e||window.event,n=t.target;return Z(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}var Q=new WeakMap;function Pe(e,t=!1){let n=s(t),r=null,i=``;m(A(e),e=>{let t=X(c(e));if(t){let e=t;if(Q.get(e)||Q.set(e,e.style.overflow),e.style.overflow!==`hidden`&&(i=e.style.overflow),e.style.overflow===`hidden`)return n.value=!0;if(n.value)return e.style.overflow=`hidden`}},{immediate:!0});let a=()=>{let t=X(c(e));!t||n.value||(O&&(r=V(t,`touchmove`,e=>{Ne(e)},{passive:!1})),t.style.overflow=`hidden`,n.value=!0)},o=()=>{let t=X(c(e));!t||!n.value||(O&&r?.(),t.style.overflow=i,Q.delete(t),n.value=!1)};return b(o),u({get(){return n.value},set(e){e?a():o()}})}var Fe=[{max:6e4,value:1e3,name:`second`},{max:276e4,value:6e4,name:`minute`},{max:72e6,value:36e5,name:`hour`},{max:5184e5,value:864e5,name:`day`},{max:24192e5,value:6048e5,name:`week`},{max:28512e6,value:2592e6,name:`month`},{max:1/0,value:31536e6,name:`year`}],Ie={justNow:`just now`,past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?`last month`:`next month`:`${e} month${e>1?`s`:``}`,year:(e,t)=>e===1?t?`last year`:`next year`:`${e} year${e>1?`s`:``}`,day:(e,t)=>e===1?t?`yesterday`:`tomorrow`:`${e} day${e>1?`s`:``}`,week:(e,t)=>e===1?t?`last week`:`next week`:`${e} week${e>1?`s`:``}`,hour:e=>`${e} hour${e>1?`s`:``}`,minute:e=>`${e} minute${e>1?`s`:``}`,second:e=>`${e} second${e>1?`s`:``}`,invalid:``};function Le(e){return e.toISOString().slice(0,10)}function Re(e,t={},n=Date.now()){let{max:r,messages:i=Ie,fullDateFormatter:a=Le,units:o=Fe,showSecond:s=!1,rounding:c=`round`}=t,l=typeof c==`number`?e=>+e.toFixed(c):Math[c],u=n-+e,d=Math.abs(u);function f(e,t){return l(Math.abs(e)/t.value)}function p(e,t){let n=f(e,t),r=e>0,i=m(t.name,n,r);return m(r?`past`:`future`,i,r)}function m(e,t,n){let r=i[e];return typeof r==`function`?r(t,n):r.replace(`{0}`,t.toString())}if(d<6e4&&!s)return i.justNow;if(typeof r==`number`&&d>r)return a(new Date(e));if(typeof r==`string`){let t=o.find(e=>e.name===r)?.max;if(t&&d>t)return a(new Date(e))}for(let[e,t]of o.entries()){if(f(u,t)<=0&&o[e-1])return p(u,o[e-1]);if(d<t.max)return p(u,t)}return i.invalid}function ze(t,n,r,i={}){var a,s;let{clone:c=!1,passive:l=!1,eventName:f,deep:p=!1,defaultValue:h,shouldEmit:g}=i,_=o(),v=r||_?.emit||(_==null||(a=_.$emit)==null?void 0:a.bind(_))||(_==null||(s=_.proxy)==null||(s=s.$emit)==null?void 0:s.bind(_?.proxy)),y=f;n||=`modelValue`,y||=`update:${n.toString()}`;let b=e=>c?typeof c==`function`?c(e):ye(e):e,x=()=>w(t[n])?b(t[n]):h,S=e=>{g?g(e)&&v(y,e):v(y,e)};if(l){let r=d(x()),i=!1;return m(()=>t[n],t=>{i||(i=!0,r.value=b(t),e(()=>i=!1))}),m(r,e=>{!i&&(e!==t[n]||p)&&S(e)},{deep:p}),r}else return u({get(){return x()},set(e){S(e)}})}var $=De({valueLight:`light`});function Be(){$.value=!$.value}export{ae as _,le as a,he as c,Oe as d,Ae as f,y as g,ze as h,Re as i,Ee as l,Pe as m,Be as n,pe as o,Me as p,ce as r,me as s,$ as t,V as u,oe as v};