ivue 1.0.2 → 1.0.4

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 (114) hide show
  1. package/.idea/codeStyles/Project.xml +65 -0
  2. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  3. package/.idea/inspectionProfiles/Project_Default.xml +6 -0
  4. package/.idea/ivue.iml +8 -0
  5. package/.idea/modules.xml +8 -0
  6. package/.idea/php.xml +19 -0
  7. package/.idea/vcs.xml +6 -0
  8. package/README.md +23 -7
  9. package/coverage/clover.xml +159 -159
  10. package/coverage/coverage-final.json +1 -1
  11. package/coverage/index.html +17 -17
  12. package/coverage/index.ts.html +86 -107
  13. package/dist/index.es.js +74 -90
  14. package/dist/index.umd.js +1 -1
  15. package/dist/src/index.d.ts +1 -196
  16. package/dist/src/ivue.d.ts +218 -0
  17. package/docs/docs/.vitepress/config.ts +110 -22
  18. package/docs/docs/.vitepress/dist/404.html +4 -4
  19. package/docs/docs/.vitepress/dist/api/ivue.html +8 -8
  20. package/docs/docs/.vitepress/dist/api/propsWithDefaults.html +8 -8
  21. package/docs/docs/.vitepress/dist/assets/{api_ivue.md.BCZ4q_0D.js → api_ivue.md.MRwb9Lcb.js} +1 -1
  22. package/docs/docs/.vitepress/dist/assets/{api_ivue.md.BCZ4q_0D.lean.js → api_ivue.md.MRwb9Lcb.lean.js} +1 -1
  23. package/docs/docs/.vitepress/dist/assets/{api_propsWithDefaults.md.Cr5FwI9o.lean.js → api_propsWithDefaults.md.CeE4IC-K.js} +1 -1
  24. package/docs/docs/.vitepress/dist/assets/{api_propsWithDefaults.md.Cr5FwI9o.js → api_propsWithDefaults.md.CeE4IC-K.lean.js} +1 -1
  25. package/docs/docs/.vitepress/dist/assets/{app.DRiljpSE.js → app.ConZRsN0.js} +1 -1
  26. package/docs/docs/.vitepress/dist/assets/chunks/@localSearchIndexroot.CGLWArGd.js +1 -0
  27. package/docs/docs/.vitepress/dist/assets/chunks/Button.vue_vue_type_script_setup_true_lang.P7niV-n8.js +1 -0
  28. package/docs/docs/.vitepress/dist/assets/chunks/VPLocalSearchBox.C7VDyivS.js +7 -0
  29. package/docs/docs/.vitepress/dist/assets/chunks/framework.CNtPHGsN.js +1 -0
  30. package/docs/docs/.vitepress/dist/assets/chunks/index.es.DnWLDAUc.js +1 -0
  31. package/docs/docs/.vitepress/dist/assets/chunks/theme.B7n-r1TY.js +2 -0
  32. package/docs/docs/.vitepress/dist/assets/index.md.wPLoTLBY.js +1 -0
  33. package/docs/docs/.vitepress/dist/assets/index.md.wPLoTLBY.lean.js +1 -0
  34. package/docs/docs/.vitepress/dist/assets/pages_advanced-usage.md.BZgX-VP7.js +1 -0
  35. package/docs/docs/.vitepress/dist/assets/pages_advanced-usage.md.BZgX-VP7.lean.js +1 -0
  36. package/docs/docs/.vitepress/dist/assets/pages_api.md.C_PvCZns.js +7 -0
  37. package/docs/docs/.vitepress/dist/assets/pages_api.md.C_PvCZns.lean.js +7 -0
  38. package/docs/docs/.vitepress/dist/assets/pages_browse-code.md.CPluoaap.js +1 -0
  39. package/docs/docs/.vitepress/dist/assets/pages_browse-code.md.CPluoaap.lean.js +1 -0
  40. package/docs/docs/.vitepress/dist/assets/pages_getting-started.md.knQcOZyP.js +8 -0
  41. package/docs/docs/.vitepress/dist/assets/pages_getting-started.md.knQcOZyP.lean.js +1 -0
  42. package/docs/docs/.vitepress/dist/assets/pages_guidelines.md.DddPdPom.js +101 -0
  43. package/docs/docs/.vitepress/dist/assets/pages_guidelines.md.DddPdPom.lean.js +101 -0
  44. package/docs/docs/.vitepress/dist/assets/pages_how-it-works.md.OJGcGEXF.js +4 -0
  45. package/docs/docs/.vitepress/dist/assets/pages_how-it-works.md.OJGcGEXF.lean.js +4 -0
  46. package/docs/docs/.vitepress/dist/assets/pages_how-its-made.md.Vv9Z9TEi.js +1 -0
  47. package/docs/docs/.vitepress/dist/assets/pages_how-its-made.md.Vv9Z9TEi.lean.js +1 -0
  48. package/docs/docs/.vitepress/dist/assets/pages_introduction.md.DrDm-R8F.js +1 -0
  49. package/docs/docs/.vitepress/dist/assets/pages_introduction.md.DrDm-R8F.lean.js +1 -0
  50. package/docs/docs/.vitepress/dist/assets/pages_usage.md.zSOVjtFF.js +430 -0
  51. package/docs/docs/.vitepress/dist/assets/pages_usage.md.zSOVjtFF.lean.js +430 -0
  52. package/docs/docs/.vitepress/dist/assets/style.Fgx7OB_D.css +1 -0
  53. package/docs/docs/.vitepress/dist/hashmap.json +1 -1
  54. package/docs/docs/.vitepress/dist/index.html +9 -8
  55. package/docs/docs/.vitepress/dist/pages/advanced-usage.html +24 -0
  56. package/docs/docs/.vitepress/dist/pages/api.html +30 -0
  57. package/docs/docs/.vitepress/dist/pages/browse-code.html +24 -0
  58. package/docs/docs/.vitepress/dist/pages/getting-started.html +11 -11
  59. package/docs/docs/.vitepress/dist/pages/guidelines.html +125 -0
  60. package/docs/docs/.vitepress/dist/pages/how-it-works.html +11 -8
  61. package/docs/docs/.vitepress/dist/pages/how-its-made.html +24 -0
  62. package/docs/docs/.vitepress/dist/pages/introduction.html +9 -8
  63. package/docs/docs/.vitepress/dist/pages/usage.html +428 -14
  64. package/docs/docs/.vitepress/theme/index.js +5 -0
  65. package/docs/docs/.vitepress/theme/main.css +29 -0
  66. package/docs/docs/components/Button.vue +1 -1
  67. package/docs/docs/components/guidelines/CounterExternalRefsDetailed.vue +41 -0
  68. package/docs/docs/components/usage/CounterBasic.vue +17 -0
  69. package/docs/docs/components/usage/CounterComposables.vue +19 -0
  70. package/docs/docs/components/usage/CounterComposablesDestructuring.vue +46 -0
  71. package/docs/docs/components/usage/CounterComputeds.vue +25 -0
  72. package/docs/docs/components/usage/CounterComputedsDisabled.vue +32 -0
  73. package/docs/docs/components/usage/CounterDefineExpose.vue +12 -0
  74. package/docs/docs/components/usage/CounterDefineExposeAdvanced.vue +25 -0
  75. package/docs/docs/components/usage/CounterDefineExposeClass.ts +11 -0
  76. package/docs/docs/components/usage/CounterExternalRefs.vue +25 -0
  77. package/docs/docs/components/usage/CounterInsideComposables.vue +27 -0
  78. package/docs/docs/components/usage/CounterInternalRefs.vue +26 -0
  79. package/docs/docs/components/usage/CounterLifecycleHooks.vue +22 -0
  80. package/docs/docs/components/usage/CounterWatch.vue +25 -0
  81. package/docs/docs/components/usage/CounterWithProps.vue +29 -0
  82. package/docs/docs/components/usage/CounterWithPropsAndEmits.vue +36 -0
  83. package/docs/docs/components/usage/functions/useMouse.ts +22 -0
  84. package/docs/docs/index.md +10 -9
  85. package/docs/docs/pages/advanced-usage.md +11 -0
  86. package/docs/docs/pages/api.md +106 -0
  87. package/docs/docs/pages/browse-code.md +18 -0
  88. package/docs/docs/pages/getting-started.md +23 -5
  89. package/docs/docs/pages/guidelines.md +128 -0
  90. package/docs/docs/pages/how-it-works.md +71 -0
  91. package/docs/docs/pages/how-its-made.md +32 -0
  92. package/docs/docs/pages/introduction.md +37 -20
  93. package/docs/docs/pages/usage.md +347 -10
  94. package/docs/package.json +4 -3
  95. package/package.json +4 -2
  96. package/src/__tests__/ivue.vitest.spec.ts +228 -132
  97. package/src/index.ts +1 -463
  98. package/src/ivue.ts +495 -0
  99. package/vite.config.ts +4 -0
  100. package/docs/.env +0 -1
  101. package/docs/docs/.vitepress/dist/assets/chunks/framework.CEhE-9HF.js +0 -1
  102. package/docs/docs/.vitepress/dist/assets/chunks/theme.CldUEgAJ.js +0 -1
  103. package/docs/docs/.vitepress/dist/assets/index.md.B1vDz5mb.js +0 -1
  104. package/docs/docs/.vitepress/dist/assets/index.md.B1vDz5mb.lean.js +0 -1
  105. package/docs/docs/.vitepress/dist/assets/pages_getting-started.md.C7qtPEWU.js +0 -8
  106. package/docs/docs/.vitepress/dist/assets/pages_getting-started.md.C7qtPEWU.lean.js +0 -1
  107. package/docs/docs/.vitepress/dist/assets/pages_how-it-works.md.DKizt6Ny.js +0 -1
  108. package/docs/docs/.vitepress/dist/assets/pages_how-it-works.md.DKizt6Ny.lean.js +0 -1
  109. package/docs/docs/.vitepress/dist/assets/pages_introduction.md.Dkqu-XCz.js +0 -1
  110. package/docs/docs/.vitepress/dist/assets/pages_introduction.md.Dkqu-XCz.lean.js +0 -1
  111. package/docs/docs/.vitepress/dist/assets/pages_usage.md.qo7ICfLC.js +0 -17
  112. package/docs/docs/.vitepress/dist/assets/pages_usage.md.qo7ICfLC.lean.js +0 -17
  113. package/docs/docs/.vitepress/dist/assets/style.BSZVsGuP.css +0 -1
  114. package/docs/docs/components/examples/Counter.vue +0 -17
@@ -0,0 +1 @@
1
+ function gr(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return s=>!!n[s]}function bn(e){if(B(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=oe(r)?ii(r):bn(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(oe(e))return e;if(te(e))return e}}const ri=/;(?![^(]*\))/g,si=/:([^]+)/,oi=/\/\*.*?\*\//gs;function ii(e){const t={};return e.replace(oi,"").split(ri).forEach(n=>{if(n){const r=n.split(si);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function wn(e){let t="";if(oe(e))t=e;else if(B(e))for(let n=0;n<e.length;n++){const r=wn(e[n]);r&&(t+=r+" ")}else if(te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ia(e){if(!e)return null;let{class:t,style:n}=e;return t&&!oe(t)&&(e.class=wn(t)),n&&(e.style=bn(n)),e}const li="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ci=gr(li);function Ns(e){return!!e||e===""}const Ma=e=>oe(e)?e:e==null?"":B(e)||te(e)&&(e.toString===Ds||!V(e.toString))?JSON.stringify(e,Hs,2):String(e),Hs=(e,t)=>t&&t.__v_isRef?Hs(e,t.value):mt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:$s(t)?{[`Set(${t.size})`]:[...t.values()]}:te(t)&&!B(t)&&!ks(t)?String(t):t,Z={},gt=[],Ne=()=>{},ai=()=>!1,ui=/^on[^a-z]/,Vt=e=>ui.test(e),mr=e=>e.startsWith("onUpdate:"),ue=Object.assign,yr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},fi=Object.prototype.hasOwnProperty,Y=(e,t)=>fi.call(e,t),B=Array.isArray,mt=e=>En(e)==="[object Map]",$s=e=>En(e)==="[object Set]",V=e=>typeof e=="function",oe=e=>typeof e=="string",vr=e=>typeof e=="symbol",te=e=>e!==null&&typeof e=="object",js=e=>te(e)&&V(e.then)&&V(e.catch),Ds=Object.prototype.toString,En=e=>Ds.call(e),di=e=>En(e).slice(8,-1),ks=e=>En(e)==="[object Object]",_r=e=>oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,It=gr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Cn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},hi=/-(\w)/g,je=Cn(e=>e.replace(hi,(t,n)=>n?n.toUpperCase():"")),pi=/\B([A-Z])/g,ft=Cn(e=>e.replace(pi,"-$1").toLowerCase()),xn=Cn(e=>e.charAt(0).toUpperCase()+e.slice(1)),an=Cn(e=>e?`on${xn(e)}`:""),$t=(e,t)=>!Object.is(e,t),un=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},hn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},jt=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Vr;const gi=()=>Vr||(Vr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let _e;class mi{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.scopes=[])).push(this)-1)}run(t){if(this.active){const n=_e;try{return _e=this,t()}finally{_e=n}}}on(){_e=this}off(){_e=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this.active=!1}}}function yi(e,t=_e){t&&t.active&&t.effects.push(e)}function vi(){return _e}function _i(e){_e&&_e.cleanups.push(e)}const br=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Us=e=>(e.w&Je)>0,Bs=e=>(e.n&Je)>0,bi=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Je},wi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];Us(s)&&!Bs(s)?s.delete(e):t[n++]=s,s.w&=~Je,s.n&=~Je}t.length=n}},tr=new WeakMap;let Rt=0,Je=1;const nr=30;let Oe;const ct=Symbol(""),rr=Symbol("");class wr{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,yi(this,r)}run(){if(!this.active)return this.fn();let t=Oe,n=Ye;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Oe,Oe=this,Ye=!0,Je=1<<++Rt,Rt<=nr?bi(this):qr(this),this.fn()}finally{Rt<=nr&&wi(this),Je=1<<--Rt,Oe=this.parent,Ye=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Oe===this?this.deferStop=!0:this.active&&(qr(this),this.onStop&&this.onStop(),this.active=!1)}}function qr(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ye=!0;const Ws=[];function xt(){Ws.push(Ye),Ye=!1}function Tt(){const e=Ws.pop();Ye=e===void 0?!0:e}function we(e,t,n){if(Ye&&Oe){let r=tr.get(e);r||tr.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=br()),Ks(s)}}function Ks(e,t){let n=!1;Rt<=nr?Bs(e)||(e.n|=Je,n=!Us(e)):n=!e.has(Oe),n&&(e.add(Oe),Oe.deps.push(e))}function Ue(e,t,n,r,s,o){const i=tr.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&B(e)){const c=jt(r);i.forEach((a,f)=>{(f==="length"||f>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":B(e)?_r(n)&&l.push(i.get("length")):(l.push(i.get(ct)),mt(e)&&l.push(i.get(rr)));break;case"delete":B(e)||(l.push(i.get(ct)),mt(e)&&l.push(i.get(rr)));break;case"set":mt(e)&&l.push(i.get(ct));break}if(l.length===1)l[0]&&sr(l[0]);else{const c=[];for(const a of l)a&&c.push(...a);sr(br(c))}}function sr(e,t){const n=B(e)?e:[...e];for(const r of n)r.computed&&zr(r);for(const r of n)r.computed||zr(r)}function zr(e,t){(e!==Oe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Ei=gr("__proto__,__v_isRef,__isVue"),Vs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(vr)),Ci=Er(),xi=Er(!1,!0),Ti=Er(!0),Yr=Ai();function Ai(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=X(this);for(let o=0,i=this.length;o<i;o++)we(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(X)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){xt();const r=X(this)[t].apply(this,n);return Tt(),r}}),e}function Er(e=!1,t=!1){return function(r,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&o===(e?t?Bi:Js:t?Xs:Ys).get(r))return r;const i=B(r);if(!e&&i&&Y(Yr,s))return Reflect.get(Yr,s,o);const l=Reflect.get(r,s,o);return(vr(s)?Vs.has(s):Ei(s))||(e||we(r,"get",s),t)?l:ae(l)?i&&_r(s)?l:l.value:te(l)?e?Sn(l):An(l):l}}const Si=qs(),Oi=qs(!0);function qs(e=!1){return function(n,r,s,o){let i=n[r];if(wt(i)&&ae(i)&&!ae(s))return!1;if(!e&&(!pn(s)&&!wt(s)&&(i=X(i),s=X(s)),!B(n)&&ae(i)&&!ae(s)))return i.value=s,!0;const l=B(n)&&_r(r)?Number(r)<n.length:Y(n,r),c=Reflect.set(n,r,s,o);return n===X(o)&&(l?$t(s,i)&&Ue(n,"set",r,s):Ue(n,"add",r,s)),c}}function Ri(e,t){const n=Y(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&Ue(e,"delete",t,void 0),r}function Ii(e,t){const n=Reflect.has(e,t);return(!vr(t)||!Vs.has(t))&&we(e,"has",t),n}function Mi(e){return we(e,"iterate",B(e)?"length":ct),Reflect.ownKeys(e)}const zs={get:Ci,set:Si,deleteProperty:Ri,has:Ii,ownKeys:Mi},Pi={get:Ti,set(e,t){return!0},deleteProperty(e,t){return!0}},Fi=ue({},zs,{get:xi,set:Oi}),Cr=e=>e,Tn=e=>Reflect.getPrototypeOf(e);function Jt(e,t,n=!1,r=!1){e=e.__v_raw;const s=X(e),o=X(t);n||(t!==o&&we(s,"get",t),we(s,"get",o));const{has:i}=Tn(s),l=r?Cr:n?Ar:Dt;if(i.call(s,t))return l(e.get(t));if(i.call(s,o))return l(e.get(o));e!==s&&e.get(t)}function Qt(e,t=!1){const n=this.__v_raw,r=X(n),s=X(e);return t||(e!==s&&we(r,"has",e),we(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Zt(e,t=!1){return e=e.__v_raw,!t&&we(X(e),"iterate",ct),Reflect.get(e,"size",e)}function Xr(e){e=X(e);const t=X(this);return Tn(t).has.call(t,e)||(t.add(e),Ue(t,"add",e,e)),this}function Jr(e,t){t=X(t);const n=X(this),{has:r,get:s}=Tn(n);let o=r.call(n,e);o||(e=X(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?$t(t,i)&&Ue(n,"set",e,t):Ue(n,"add",e,t),this}function Qr(e){const t=X(this),{has:n,get:r}=Tn(t);let s=n.call(t,e);s||(e=X(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&Ue(t,"delete",e,void 0),o}function Zr(){const e=X(this),t=e.size!==0,n=e.clear();return t&&Ue(e,"clear",void 0,void 0),n}function Gt(e,t){return function(r,s){const o=this,i=o.__v_raw,l=X(i),c=t?Cr:e?Ar:Dt;return!e&&we(l,"iterate",ct),i.forEach((a,f)=>r.call(s,c(a),c(f),o))}}function en(e,t,n){return function(...r){const s=this.__v_raw,o=X(s),i=mt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=s[e](...r),f=n?Cr:t?Ar:Dt;return!t&&we(o,"iterate",c?rr:ct),{next(){const{value:h,done:p}=a.next();return p?{value:h,done:p}:{value:l?[f(h[0]),f(h[1])]:f(h),done:p}},[Symbol.iterator](){return this}}}}function We(e){return function(...t){return e==="delete"?!1:this}}function Li(){const e={get(o){return Jt(this,o)},get size(){return Zt(this)},has:Qt,add:Xr,set:Jr,delete:Qr,clear:Zr,forEach:Gt(!1,!1)},t={get(o){return Jt(this,o,!1,!0)},get size(){return Zt(this)},has:Qt,add:Xr,set:Jr,delete:Qr,clear:Zr,forEach:Gt(!1,!0)},n={get(o){return Jt(this,o,!0)},get size(){return Zt(this,!0)},has(o){return Qt.call(this,o,!0)},add:We("add"),set:We("set"),delete:We("delete"),clear:We("clear"),forEach:Gt(!0,!1)},r={get(o){return Jt(this,o,!0,!0)},get size(){return Zt(this,!0)},has(o){return Qt.call(this,o,!0)},add:We("add"),set:We("set"),delete:We("delete"),clear:We("clear"),forEach:Gt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=en(o,!1,!1),n[o]=en(o,!0,!1),t[o]=en(o,!1,!0),r[o]=en(o,!0,!0)}),[e,n,t,r]}const[Ni,Hi,$i,ji]=Li();function xr(e,t){const n=t?e?ji:$i:e?Hi:Ni;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Y(n,s)&&s in r?n:r,s,o)}const Di={get:xr(!1,!1)},ki={get:xr(!1,!0)},Ui={get:xr(!0,!1)},Ys=new WeakMap,Xs=new WeakMap,Js=new WeakMap,Bi=new WeakMap;function Wi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ki(e){return e.__v_skip||!Object.isExtensible(e)?0:Wi(di(e))}function An(e){return wt(e)?e:Tr(e,!1,zs,Di,Ys)}function Vi(e){return Tr(e,!1,Fi,ki,Xs)}function Sn(e){return Tr(e,!0,Pi,Ui,Js)}function Tr(e,t,n,r,s){if(!te(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Ki(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function yt(e){return wt(e)?yt(e.__v_raw):!!(e&&e.__v_isReactive)}function wt(e){return!!(e&&e.__v_isReadonly)}function pn(e){return!!(e&&e.__v_isShallow)}function Qs(e){return yt(e)||wt(e)}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function Mt(e){return hn(e,"__v_skip",!0),e}const Dt=e=>te(e)?An(e):e,Ar=e=>te(e)?Sn(e):e;function Sr(e){Ye&&Oe&&(e=X(e),Ks(e.dep||(e.dep=br())))}function Or(e,t){e=X(e),e.dep&&sr(e.dep)}function ae(e){return!!(e&&e.__v_isRef===!0)}function ne(e){return Zs(e,!1)}function Rr(e){return Zs(e,!0)}function Zs(e,t){return ae(e)?e:new qi(e,t)}class qi{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:X(t),this._value=n?t:Dt(t)}get value(){return Sr(this),this._value}set value(t){const n=this.__v_isShallow||pn(t)||wt(t);t=n?t:X(t),$t(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Dt(t),Or(this))}}function Gs(e){return ae(e)?e.value:e}const zi={get:(e,t,n)=>Gs(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ae(s)&&!ae(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function eo(e){return yt(e)?e:new Proxy(e,zi)}class Yi{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Sr(this),()=>Or(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Xi(e){return new Yi(e)}class Ji{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function Qi(e,t,n){const r=e[t];return ae(r)?r:new Ji(e,t,n)}var to;class Zi{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[to]=!1,this._dirty=!0,this.effect=new wr(t,()=>{this._dirty||(this._dirty=!0,Or(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=X(this);return Sr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}to="__v_isReadonly";function Gi(e,t,n=!1){let r,s;const o=V(e);return o?(r=e,s=Ne):(r=e.get,s=e.set),new Zi(r,s,o||!s,n)}function Xe(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){qt(o,t,n)}return s}function xe(e,t,n,r){if(V(e)){const o=Xe(e,t,n,r);return o&&js(o)&&o.catch(i=>{qt(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(xe(e[o],t,n,r));return s}function qt(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,l=n;for(;o;){const a=o.ec;if(a){for(let f=0;f<a.length;f++)if(a[f](e,i,l)===!1)return}o=o.parent}const c=t.appContext.config.errorHandler;if(c){Xe(c,null,10,[e,i,l]);return}}el(e,n,s,r)}function el(e,t,n,r=!0){console.error(e)}let kt=!1,or=!1;const de=[];let Fe=0;const vt=[];let ke=null,st=0;const no=Promise.resolve();let Ir=null;function On(e){const t=Ir||no;return e?t.then(this?e.bind(this):e):t}function tl(e){let t=Fe+1,n=de.length;for(;t<n;){const r=t+n>>>1;Ut(de[r])<e?t=r+1:n=r}return t}function Rn(e){(!de.length||!de.includes(e,kt&&e.allowRecurse?Fe+1:Fe))&&(e.id==null?de.push(e):de.splice(tl(e.id),0,e),ro())}function ro(){!kt&&!or&&(or=!0,Ir=no.then(so))}function nl(e){const t=de.indexOf(e);t>Fe&&de.splice(t,1)}function rl(e){B(e)?vt.push(...e):(!ke||!ke.includes(e,e.allowRecurse?st+1:st))&&vt.push(e),ro()}function Gr(e,t=kt?Fe+1:0){for(;t<de.length;t++){const n=de[t];n&&n.pre&&(de.splice(t,1),t--,n())}}function gn(e){if(vt.length){const t=[...new Set(vt)];if(vt.length=0,ke){ke.push(...t);return}for(ke=t,ke.sort((n,r)=>Ut(n)-Ut(r)),st=0;st<ke.length;st++)ke[st]();ke=null,st=0}}const Ut=e=>e.id==null?1/0:e.id,sl=(e,t)=>{const n=Ut(e)-Ut(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function so(e){or=!1,kt=!0,de.sort(sl);try{for(Fe=0;Fe<de.length;Fe++){const t=de[Fe];t&&t.active!==!1&&Xe(t,null,14)}}finally{Fe=0,de.length=0,gn(),kt=!1,Ir=null,(de.length||vt.length)&&so()}}function ol(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Z;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const f=`${i==="modelValue"?"model":i}Modifiers`,{number:h,trim:p}=r[f]||Z;p&&(s=n.map(y=>oe(y)?y.trim():y)),h&&(s=n.map(jt))}let l,c=r[l=an(t)]||r[l=an(je(t))];!c&&o&&(c=r[l=an(ft(t))]),c&&xe(c,e,6,s);const a=r[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,xe(a,e,6,s)}}function oo(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!V(e)){const c=a=>{const f=oo(a,t,!0);f&&(l=!0,ue(i,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(te(e)&&r.set(e,null),null):(B(o)?o.forEach(c=>i[c]=null):ue(i,o),te(e)&&r.set(e,i),i)}function In(e,t){return!e||!Vt(t)?!1:(t=t.slice(2).replace(/Once$/,""),Y(e,t[0].toLowerCase()+t.slice(1))||Y(e,ft(t))||Y(e,t))}let he=null,Mn=null;function mn(e){const t=he;return he=e,Mn=e&&e.type.__scopeId||null,t}function Pa(e){Mn=e}function Fa(){Mn=null}function il(e,t=he,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&us(-1);const o=mn(t);let i;try{i=e(...s)}finally{mn(o),r._d&&us(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function kn(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:l,attrs:c,emit:a,render:f,renderCache:h,data:p,setupState:y,ctx:E,inheritAttrs:x}=e;let H,m;const v=mn(e);try{if(n.shapeFlag&4){const F=s||r;H=Se(f.call(F,F,h,o,y,p,E)),m=c}else{const F=t;H=Se(F.length>1?F(o,{attrs:c,slots:l,emit:a}):F(o,null)),m=t.props?c:ll(c)}}catch(F){Nt.length=0,qt(F,e,1),H=ie(be)}let R=H;if(m&&x!==!1){const F=Object.keys(m),{shapeFlag:I}=R;F.length&&I&7&&(i&&F.some(mr)&&(m=cl(m,i)),R=Qe(R,m))}return n.dirs&&(R=Qe(R),R.dirs=R.dirs?R.dirs.concat(n.dirs):n.dirs),n.transition&&(R.transition=n.transition),H=R,mn(v),H}const ll=e=>{let t;for(const n in e)(n==="class"||n==="style"||Vt(n))&&((t||(t={}))[n]=e[n]);return t},cl=(e,t)=>{const n={};for(const r in e)(!mr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function al(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?es(r,i,a):!!i;if(c&8){const f=t.dynamicProps;for(let h=0;h<f.length;h++){const p=f[h];if(i[p]!==r[p]&&!In(a,p))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?es(r,i,a):!0:!!i;return!1}function es(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!In(n,o))return!0}return!1}function ul({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const fl=e=>e.__isSuspense;function io(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):rl(e)}function dl(e,t){if(ce){let n=ce.provides;const r=ce.parent&&ce.parent.provides;r===n&&(n=ce.provides=Object.create(r)),n[e]=t}}function _t(e,t,n=!1){const r=ce||he;if(r){const s=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&V(t)?t.call(r.proxy):t}}function Mr(e,t){return Pn(e,null,t)}function La(e,t){return Pn(e,null,{flush:"post"})}const tn={};function He(e,t,n){return Pn(e,t,n)}function Pn(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=Z){const l=ce;let c,a=!1,f=!1;if(ae(e)?(c=()=>e.value,a=pn(e)):yt(e)?(c=()=>e,r=!0):B(e)?(f=!0,a=e.some(R=>yt(R)||pn(R)),c=()=>e.map(R=>{if(ae(R))return R.value;if(yt(R))return lt(R);if(V(R))return Xe(R,l,2)})):V(e)?t?c=()=>Xe(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return h&&h(),xe(e,l,3,[p])}:c=Ne,t&&r){const R=c;c=()=>lt(R())}let h,p=R=>{h=m.onStop=()=>{Xe(R,l,4)}},y;if(Ct)if(p=Ne,t?n&&xe(t,l,3,[c(),f?[]:void 0,p]):c(),s==="sync"){const R=ic();y=R.__watcherHandles||(R.__watcherHandles=[])}else return Ne;let E=f?new Array(e.length).fill(tn):tn;const x=()=>{if(m.active)if(t){const R=m.run();(r||a||(f?R.some((F,I)=>$t(F,E[I])):$t(R,E)))&&(h&&h(),xe(t,l,3,[R,E===tn?void 0:f&&E[0]===tn?[]:E,p]),E=R)}else m.run()};x.allowRecurse=!!t;let H;s==="sync"?H=x:s==="post"?H=()=>ge(x,l&&l.suspense):(x.pre=!0,l&&(x.id=l.uid),H=()=>Rn(x));const m=new wr(c,H);t?n?x():E=m.run():s==="post"?ge(m.run.bind(m),l&&l.suspense):m.run();const v=()=>{m.stop(),l&&l.scope&&yr(l.scope.effects,m)};return y&&y.push(v),v}function hl(e,t,n){const r=this.proxy,s=oe(e)?e.includes(".")?lo(r,e):()=>r[e]:e.bind(r,r);let o;V(t)?o=t:(o=t.handler,n=t);const i=ce;Et(this);const l=Pn(s,o.bind(r),n);return i?Et(i):at(),l}function lo(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function lt(e,t){if(!te(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ae(e))lt(e.value,t);else if(B(e))for(let n=0;n<e.length;n++)lt(e[n],t);else if($s(e)||mt(e))e.forEach(n=>{lt(n,t)});else if(ks(e))for(const n in e)lt(e[n],t);return e}function pl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return At(()=>{e.isMounted=!0}),ho(()=>{e.isUnmounting=!0}),e}const Ee=[Function,Array],gl={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ee,onEnter:Ee,onAfterEnter:Ee,onEnterCancelled:Ee,onBeforeLeave:Ee,onLeave:Ee,onAfterLeave:Ee,onLeaveCancelled:Ee,onBeforeAppear:Ee,onAppear:Ee,onAfterAppear:Ee,onAppearCancelled:Ee},setup(e,{slots:t}){const n=Hn(),r=pl();let s;return()=>{const o=t.default&&uo(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const x of o)if(x.type!==be){i=x;break}}const l=X(e),{mode:c}=l;if(r.isLeaving)return Un(i);const a=ts(i);if(!a)return Un(i);const f=ir(a,l,r,n);lr(a,f);const h=n.subTree,p=h&&ts(h);let y=!1;const{getTransitionKey:E}=a.type;if(E){const x=E();s===void 0?s=x:x!==s&&(s=x,y=!0)}if(p&&p.type!==be&&(!ot(a,p)||y)){const x=ir(p,l,r,n);if(lr(p,x),c==="out-in")return r.isLeaving=!0,x.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Un(i);c==="in-out"&&a.type!==be&&(x.delayLeave=(H,m,v)=>{const R=ao(r,p);R[String(p.key)]=p,H._leaveCb=()=>{m(),H._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=v})}return i}}},co=gl;function ao(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ir(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:f,onBeforeLeave:h,onLeave:p,onAfterLeave:y,onLeaveCancelled:E,onBeforeAppear:x,onAppear:H,onAfterAppear:m,onAppearCancelled:v}=t,R=String(e.key),F=ao(n,e),I=(C,U)=>{C&&xe(C,r,9,U)},W=(C,U)=>{const S=U[1];I(C,U),B(C)?C.every($=>$.length<=1)&&S():C.length<=1&&S()},k={mode:o,persisted:i,beforeEnter(C){let U=l;if(!n.isMounted)if(s)U=x||l;else return;C._leaveCb&&C._leaveCb(!0);const S=F[R];S&&ot(e,S)&&S.el._leaveCb&&S.el._leaveCb(),I(U,[C])},enter(C){let U=c,S=a,$=f;if(!n.isMounted)if(s)U=H||c,S=m||a,$=v||f;else return;let P=!1;const q=C._enterCb=N=>{P||(P=!0,N?I($,[C]):I(S,[C]),k.delayedLeave&&k.delayedLeave(),C._enterCb=void 0)};U?W(U,[C,q]):q()},leave(C,U){const S=String(e.key);if(C._enterCb&&C._enterCb(!0),n.isUnmounting)return U();I(h,[C]);let $=!1;const P=C._leaveCb=q=>{$||($=!0,U(),q?I(E,[C]):I(y,[C]),C._leaveCb=void 0,F[S]===e&&delete F[S])};F[S]=e,p?W(p,[C,P]):P()},clone(C){return ir(C,t,n,r)}};return k}function Un(e){if(zt(e))return e=Qe(e),e.children=null,e}function ts(e){return zt(e)?e.children?e.children[0]:void 0:e}function lr(e,t){e.shapeFlag&6&&e.component?lr(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function uo(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===me?(i.patchFlag&128&&s++,r=r.concat(uo(i.children,t,l))):(t||i.type!==be)&&r.push(l!=null?Qe(i,{key:l}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function Pr(e){return V(e)?{setup:e,name:e.name}:e}const bt=e=>!!e.type.__asyncLoader;function Na(e){V(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:l}=e;let c=null,a,f=0;const h=()=>(f++,c=null,p()),p=()=>{let y;return c||(y=c=t().catch(E=>{if(E=E instanceof Error?E:new Error(String(E)),l)return new Promise((x,H)=>{l(E,()=>x(h()),()=>H(E),f+1)});throw E}).then(E=>y!==c&&c?c:(E&&(E.__esModule||E[Symbol.toStringTag]==="Module")&&(E=E.default),a=E,E)))};return Pr({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return a},setup(){const y=ce;if(a)return()=>Bn(a,y);const E=v=>{c=null,qt(v,y,13,!r)};if(i&&y.suspense||Ct)return p().then(v=>()=>Bn(v,y)).catch(v=>(E(v),()=>r?ie(r,{error:v}):null));const x=ne(!1),H=ne(),m=ne(!!s);return s&&setTimeout(()=>{m.value=!1},s),o!=null&&setTimeout(()=>{if(!x.value&&!H.value){const v=new Error(`Async component timed out after ${o}ms.`);E(v),H.value=v}},o),p().then(()=>{x.value=!0,y.parent&&zt(y.parent.vnode)&&Rn(y.parent.update)}).catch(v=>{E(v),H.value=v}),()=>{if(x.value&&a)return Bn(a,y);if(H.value&&r)return ie(r,{error:H.value});if(n&&!m.value)return ie(n)}}})}function Bn(e,{vnode:{ref:t,props:n,children:r,shapeFlag:s},parent:o}){const i=ie(e,n,r);return i.ref=t,i}const zt=e=>e.type.__isKeepAlive;function ml(e,t){fo(e,"a",t)}function yl(e,t){fo(e,"da",t)}function fo(e,t,n=ce){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Fn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)zt(s.parent.vnode)&&vl(r,t,n,s),s=s.parent}}function vl(e,t,n,r){const s=Fn(t,e,r,!0);Ln(()=>{yr(r[t],s)},n)}function Fn(e,t,n=ce,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;xt(),Et(n);const l=xe(t,n,e,i);return at(),Tt(),l});return r?s.unshift(o):s.push(o),o}}const Be=e=>(t,n=ce)=>(!Ct||e==="sp")&&Fn(e,(...r)=>t(...r),n),_l=Be("bm"),At=Be("m"),bl=Be("bu"),wl=Be("u"),ho=Be("bum"),Ln=Be("um"),El=Be("sp"),Cl=Be("rtg"),xl=Be("rtc");function Tl(e,t=ce){Fn("ec",e,t)}function Ha(e,t){const n=he;if(n===null)return e;const r=$n(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,l,c,a=Z]=t[o];i&&(V(i)&&(i={mounted:i,updated:i}),i.deep&&lt(l),s.push({dir:i,instance:r,value:l,oldValue:void 0,arg:c,modifiers:a}))}return e}function Pe(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const l=s[i];o&&(l.oldValue=o[i].value);let c=l.dir[r];c&&(xt(),xe(c,n,8,[e.el,l,e,t]),Tt())}}const po="components";function $a(e,t){return mo(po,e,!0,t)||e}const go=Symbol();function ja(e){return oe(e)?mo(po,e,!1)||e:e||go}function mo(e,t,n=!0,r=!1){const s=he||ce;if(s){const o=s.type;{const l=nc(o,!1);if(l&&(l===t||l===je(t)||l===xn(je(t))))return o}const i=ns(s[e]||o[e],t)||ns(s.appContext[e],t);return!i&&r?o:i}}function ns(e,t){return e&&(e[t]||e[je(t)]||e[xn(je(t))])}function Da(e,t,n,r){let s;const o=n;if(B(e)||oe(e)){s=new Array(e.length);for(let i=0,l=e.length;i<l;i++)s[i]=t(e[i],i,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o)}else if(te(e))if(e[Symbol.iterator])s=Array.from(e,(i,l)=>t(i,l,void 0,o));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,c=i.length;l<c;l++){const a=i[l];s[l]=t(e[a],a,l,o)}}else s=[];return s}function ka(e,t,n={},r,s){if(he.isCE||he.parent&&bt(he.parent)&&he.parent.isCE)return ie("slot",t==="default"?null:{name:t},r&&r());let o=e[t];o&&o._c&&(o._d=!1),Ao();const i=o&&yo(o(n)),l=Oo(me,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function yo(e){return e.some(t=>_n(t)?!(t.type===be||t.type===me&&!yo(t.children)):!0)?e:null}function Ua(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:an(r)]=e[r];return n}const cr=e=>e?Po(e)?$n(e)||e.proxy:cr(e.parent):null,Pt=ue(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>cr(e.parent),$root:e=>cr(e.root),$emit:e=>e.emit,$options:e=>Fr(e),$forceUpdate:e=>e.f||(e.f=()=>Rn(e.update)),$nextTick:e=>e.n||(e.n=On.bind(e.proxy)),$watch:e=>hl.bind(e)}),Al={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const y=i[t];if(y!==void 0)switch(y){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(r!==Z&&Y(r,t))return i[t]=1,r[t];if(s!==Z&&Y(s,t))return i[t]=2,s[t];if((a=e.propsOptions[0])&&Y(a,t))return i[t]=3,o[t];if(n!==Z&&Y(n,t))return i[t]=4,n[t];ar&&(i[t]=0)}}const f=Pt[t];let h,p;if(f)return t==="$attrs"&&we(e,"get",t),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==Z&&Y(n,t))return i[t]=4,n[t];if(p=c.config.globalProperties,Y(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return s!==Z&&Y(s,t)?(s[t]=n,!0):r!==Z&&Y(r,t)?(r[t]=n,!0):Y(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let l;return!!n[i]||e!==Z&&Y(e,i)||t!==Z&&Y(t,i)||(l=o[0])&&Y(l,i)||Y(r,i)||Y(Pt,i)||Y(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Y(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let ar=!0;function Sl(e){const t=Fr(e),n=e.proxy,r=e.ctx;ar=!1,t.beforeCreate&&rs(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:c,inject:a,created:f,beforeMount:h,mounted:p,beforeUpdate:y,updated:E,activated:x,deactivated:H,beforeDestroy:m,beforeUnmount:v,destroyed:R,unmounted:F,render:I,renderTracked:W,renderTriggered:k,errorCaptured:C,serverPrefetch:U,expose:S,inheritAttrs:$,components:P,directives:q,filters:N}=t;if(a&&Ol(a,r,null,e.appContext.config.unwrapInjectedRef),i)for(const re in i){const G=i[re];V(G)&&(r[re]=G.bind(n))}if(s){const re=s.call(n,n);te(re)&&(e.data=An(re))}if(ar=!0,o)for(const re in o){const G=o[re],Ze=V(G)?G.bind(n,n):V(G.get)?G.get.bind(n,n):Ne,Yt=!V(G)&&V(G.set)?G.set.bind(n):Ne,Ge=se({get:Ze,set:Yt});Object.defineProperty(r,re,{enumerable:!0,configurable:!0,get:()=>Ge.value,set:Ie=>Ge.value=Ie})}if(l)for(const re in l)vo(l[re],r,n,re);if(c){const re=V(c)?c.call(n):c;Reflect.ownKeys(re).forEach(G=>{dl(G,re[G])})}f&&rs(f,e,"c");function J(re,G){B(G)?G.forEach(Ze=>re(Ze.bind(n))):G&&re(G.bind(n))}if(J(_l,h),J(At,p),J(bl,y),J(wl,E),J(ml,x),J(yl,H),J(Tl,C),J(xl,W),J(Cl,k),J(ho,v),J(Ln,F),J(El,U),B(S))if(S.length){const re=e.exposed||(e.exposed={});S.forEach(G=>{Object.defineProperty(re,G,{get:()=>n[G],set:Ze=>n[G]=Ze})})}else e.exposed||(e.exposed={});I&&e.render===Ne&&(e.render=I),$!=null&&(e.inheritAttrs=$),P&&(e.components=P),q&&(e.directives=q)}function Ol(e,t,n=Ne,r=!1){B(e)&&(e=ur(e));for(const s in e){const o=e[s];let i;te(o)?"default"in o?i=_t(o.from||s,o.default,!0):i=_t(o.from||s):i=_t(o),ae(i)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[s]=i}}function rs(e,t,n){xe(B(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function vo(e,t,n,r){const s=r.includes(".")?lo(n,r):()=>n[r];if(oe(e)){const o=t[e];V(o)&&He(s,o)}else if(V(e))He(s,e.bind(n));else if(te(e))if(B(e))e.forEach(o=>vo(o,t,n,r));else{const o=V(e.handler)?e.handler.bind(n):t[e.handler];V(o)&&He(s,o,e)}}function Fr(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(a=>yn(c,a,i,!0)),yn(c,t,i)),te(t)&&o.set(t,c),c}function yn(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&yn(e,o,n,!0),s&&s.forEach(i=>yn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Rl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Rl={data:ss,props:rt,emits:rt,methods:rt,computed:rt,beforeCreate:pe,created:pe,beforeMount:pe,mounted:pe,beforeUpdate:pe,updated:pe,beforeDestroy:pe,beforeUnmount:pe,destroyed:pe,unmounted:pe,activated:pe,deactivated:pe,errorCaptured:pe,serverPrefetch:pe,components:rt,directives:rt,watch:Ml,provide:ss,inject:Il};function ss(e,t){return t?e?function(){return ue(V(e)?e.call(this,this):e,V(t)?t.call(this,this):t)}:t:e}function Il(e,t){return rt(ur(e),ur(t))}function ur(e){if(B(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function pe(e,t){return e?[...new Set([].concat(e,t))]:t}function rt(e,t){return e?ue(ue(Object.create(null),e),t):t}function Ml(e,t){if(!e)return t;if(!t)return e;const n=ue(Object.create(null),e);for(const r in t)n[r]=pe(e[r],t[r]);return n}function Pl(e,t,n,r=!1){const s={},o={};hn(o,Nn,1),e.propsDefaults=Object.create(null),_o(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Vi(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Fl(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=X(s),[c]=e.propsOptions;let a=!1;if((r||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let h=0;h<f.length;h++){let p=f[h];if(In(e.emitsOptions,p))continue;const y=t[p];if(c)if(Y(o,p))y!==o[p]&&(o[p]=y,a=!0);else{const E=je(p);s[E]=fr(c,l,E,y,e,!1)}else y!==o[p]&&(o[p]=y,a=!0)}}}else{_o(e,t,s,o)&&(a=!0);let f;for(const h in l)(!t||!Y(t,h)&&((f=ft(h))===h||!Y(t,f)))&&(c?n&&(n[h]!==void 0||n[f]!==void 0)&&(s[h]=fr(c,l,h,void 0,e,!0)):delete s[h]);if(o!==l)for(const h in o)(!t||!Y(t,h))&&(delete o[h],a=!0)}a&&Ue(e,"set","$attrs")}function _o(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(It(c))continue;const a=t[c];let f;s&&Y(s,f=je(c))?!o||!o.includes(f)?n[f]=a:(l||(l={}))[f]=a:In(e.emitsOptions,c)||(!(c in r)||a!==r[c])&&(r[c]=a,i=!0)}if(o){const c=X(n),a=l||Z;for(let f=0;f<o.length;f++){const h=o[f];n[h]=fr(s,c,h,a[h],e,!Y(a,h))}}return i}function fr(e,t,n,r,s,o){const i=e[n];if(i!=null){const l=Y(i,"default");if(l&&r===void 0){const c=i.default;if(i.type!==Function&&V(c)){const{propsDefaults:a}=s;n in a?r=a[n]:(Et(s),r=a[n]=c.call(null,t),at())}else r=c}i[0]&&(o&&!l?r=!1:i[1]&&(r===""||r===ft(n))&&(r=!0))}return r}function bo(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},l=[];let c=!1;if(!V(e)){const f=h=>{c=!0;const[p,y]=bo(h,t,!0);ue(i,p),y&&l.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return te(e)&&r.set(e,gt),gt;if(B(o))for(let f=0;f<o.length;f++){const h=je(o[f]);os(h)&&(i[h]=Z)}else if(o)for(const f in o){const h=je(f);if(os(h)){const p=o[f],y=i[h]=B(p)||V(p)?{type:p}:Object.assign({},p);if(y){const E=cs(Boolean,y.type),x=cs(String,y.type);y[0]=E>-1,y[1]=x<0||E<x,(E>-1||Y(y,"default"))&&l.push(h)}}}const a=[i,l];return te(e)&&r.set(e,a),a}function os(e){return e[0]!=="$"}function is(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function ls(e,t){return is(e)===is(t)}function cs(e,t){return B(t)?t.findIndex(n=>ls(n,e)):V(t)&&ls(t,e)?0:-1}const wo=e=>e[0]==="_"||e==="$stable",Lr=e=>B(e)?e.map(Se):[Se(e)],Ll=(e,t,n)=>{if(t._n)return t;const r=il((...s)=>Lr(t(...s)),n);return r._c=!1,r},Eo=(e,t,n)=>{const r=e._ctx;for(const s in e){if(wo(s))continue;const o=e[s];if(V(o))t[s]=Ll(s,o,r);else if(o!=null){const i=Lr(o);t[s]=()=>i}}},Co=(e,t)=>{const n=Lr(t);e.slots.default=()=>n},Nl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=X(t),hn(t,"_",n)):Eo(t,e.slots={})}else e.slots={},t&&Co(e,t);hn(e.slots,Nn,1)},Hl=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=Z;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(ue(s,t),!n&&l===1&&delete s._):(o=!t.$stable,Eo(t,s)),i=t}else t&&(Co(e,t),i={default:1});if(o)for(const l in s)!wo(l)&&!(l in i)&&delete s[l]};function xo(){return{app:null,config:{isNativeTag:ai,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let $l=0;function jl(e,t){return function(r,s=null){V(r)||(r=Object.assign({},r)),s!=null&&!te(s)&&(s=null);const o=xo(),i=new Set;let l=!1;const c=o.app={_uid:$l++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:lc,get config(){return o.config},set config(a){},use(a,...f){return i.has(a)||(a&&V(a.install)?(i.add(a),a.install(c,...f)):V(a)&&(i.add(a),a(c,...f))),c},mixin(a){return o.mixins.includes(a)||o.mixins.push(a),c},component(a,f){return f?(o.components[a]=f,c):o.components[a]},directive(a,f){return f?(o.directives[a]=f,c):o.directives[a]},mount(a,f,h){if(!l){const p=ie(r,s);return p.appContext=o,f&&t?t(p,a):e(p,a,h),l=!0,c._container=a,a.__vue_app__=c,$n(p.component)||p.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(a,f){return o.provides[a]=f,c}};return c}}function vn(e,t,n,r,s=!1){if(B(e)){e.forEach((p,y)=>vn(p,t&&(B(t)?t[y]:t),n,r,s));return}if(bt(r)&&!s)return;const o=r.shapeFlag&4?$n(r.component)||r.component.proxy:r.el,i=s?null:o,{i:l,r:c}=e,a=t&&t.r,f=l.refs===Z?l.refs={}:l.refs,h=l.setupState;if(a!=null&&a!==c&&(oe(a)?(f[a]=null,Y(h,a)&&(h[a]=null)):ae(a)&&(a.value=null)),V(c))Xe(c,l,12,[i,f]);else{const p=oe(c),y=ae(c);if(p||y){const E=()=>{if(e.f){const x=p?Y(h,c)?h[c]:f[c]:c.value;s?B(x)&&yr(x,o):B(x)?x.includes(o)||x.push(o):p?(f[c]=[o],Y(h,c)&&(h[c]=f[c])):(c.value=[o],e.k&&(f[e.k]=c.value))}else p?(f[c]=i,Y(h,c)&&(h[c]=i)):y&&(c.value=i,e.k&&(f[e.k]=i))};i?(E.id=-1,ge(E,n)):E()}}}let Ke=!1;const nn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",rn=e=>e.nodeType===8;function Dl(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:l,insert:c,createComment:a}}=e,f=(m,v)=>{if(!v.hasChildNodes()){n(null,m,v),gn(),v._vnode=m;return}Ke=!1,h(v.firstChild,m,null,null,null),gn(),v._vnode=m,Ke&&console.error("Hydration completed but contains mismatches.")},h=(m,v,R,F,I,W=!1)=>{const k=rn(m)&&m.data==="[",C=()=>x(m,v,R,F,I,k),{type:U,ref:S,shapeFlag:$,patchFlag:P}=v;let q=m.nodeType;v.el=m,P===-2&&(W=!1,v.dynamicChildren=null);let N=null;switch(U){case Bt:q!==3?v.children===""?(c(v.el=s(""),i(m),m),N=m):N=C():(m.data!==v.children&&(Ke=!0,m.data=v.children),N=o(m));break;case be:q!==8||k?N=C():N=o(m);break;case Lt:if(k&&(m=o(m),q=m.nodeType),q===1||q===3){N=m;const ye=!v.children.length;for(let J=0;J<v.staticCount;J++)ye&&(v.children+=N.nodeType===1?N.outerHTML:N.data),J===v.staticCount-1&&(v.anchor=N),N=o(N);return k?o(N):N}else C();break;case me:k?N=E(m,v,R,F,I,W):N=C();break;default:if($&1)q!==1||v.type.toLowerCase()!==m.tagName.toLowerCase()?N=C():N=p(m,v,R,F,I,W);else if($&6){v.slotScopeIds=I;const ye=i(m);if(t(v,ye,null,R,F,nn(ye),W),N=k?H(m):o(m),N&&rn(N)&&N.data==="teleport end"&&(N=o(N)),bt(v)){let J;k?(J=ie(me),J.anchor=N?N.previousSibling:ye.lastChild):J=m.nodeType===3?Mo(""):ie("div"),J.el=m,v.component.subTree=J}}else $&64?q!==8?N=C():N=v.type.hydrate(m,v,R,F,I,W,e,y):$&128&&(N=v.type.hydrate(m,v,R,F,nn(i(m)),I,W,e,h))}return S!=null&&vn(S,null,F,v),N},p=(m,v,R,F,I,W)=>{W=W||!!v.dynamicChildren;const{type:k,props:C,patchFlag:U,shapeFlag:S,dirs:$}=v,P=k==="input"&&$||k==="option";if(P||U!==-1){if($&&Pe(v,null,R,"created"),C)if(P||!W||U&48)for(const N in C)(P&&N.endsWith("value")||Vt(N)&&!It(N))&&r(m,N,null,C[N],!1,void 0,R);else C.onClick&&r(m,"onClick",null,C.onClick,!1,void 0,R);let q;if((q=C&&C.onVnodeBeforeMount)&&Ce(q,R,v),$&&Pe(v,null,R,"beforeMount"),((q=C&&C.onVnodeMounted)||$)&&io(()=>{q&&Ce(q,R,v),$&&Pe(v,null,R,"mounted")},F),S&16&&!(C&&(C.innerHTML||C.textContent))){let N=y(m.firstChild,v,m,R,F,I,W);for(;N;){Ke=!0;const ye=N;N=N.nextSibling,l(ye)}}else S&8&&m.textContent!==v.children&&(Ke=!0,m.textContent=v.children)}return m.nextSibling},y=(m,v,R,F,I,W,k)=>{k=k||!!v.dynamicChildren;const C=v.children,U=C.length;for(let S=0;S<U;S++){const $=k?C[S]:C[S]=Se(C[S]);if(m)m=h(m,$,F,I,W,k);else{if($.type===Bt&&!$.children)continue;Ke=!0,n(null,$,R,null,F,I,nn(R),W)}}return m},E=(m,v,R,F,I,W)=>{const{slotScopeIds:k}=v;k&&(I=I?I.concat(k):k);const C=i(m),U=y(o(m),v,C,R,F,I,W);return U&&rn(U)&&U.data==="]"?o(v.anchor=U):(Ke=!0,c(v.anchor=a("]"),C,U),U)},x=(m,v,R,F,I,W)=>{if(Ke=!0,v.el=null,W){const U=H(m);for(;;){const S=o(m);if(S&&S!==U)l(S);else break}}const k=o(m),C=i(m);return l(m),n(null,v,C,k,R,F,nn(C),I),k},H=m=>{let v=0;for(;m;)if(m=o(m),m&&rn(m)&&(m.data==="["&&v++,m.data==="]")){if(v===0)return o(m);v--}return m};return[f,h]}const ge=io;function kl(e){return To(e)}function Ul(e){return To(e,Dl)}function To(e,t){const n=gi();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:f,parentNode:h,nextSibling:p,setScopeId:y=Ne,insertStaticContent:E}=e,x=(u,d,g,b=null,_=null,A=null,M=!1,T=null,O=!!d.dynamicChildren)=>{if(u===d)return;u&&!ot(u,d)&&(b=Xt(u),Ie(u,_,A,!0),u=null),d.patchFlag===-2&&(O=!1,d.dynamicChildren=null);const{type:w,ref:j,shapeFlag:L}=d;switch(w){case Bt:H(u,d,g,b);break;case be:m(u,d,g,b);break;case Lt:u==null&&v(d,g,b,M);break;case me:P(u,d,g,b,_,A,M,T,O);break;default:L&1?I(u,d,g,b,_,A,M,T,O):L&6?q(u,d,g,b,_,A,M,T,O):(L&64||L&128)&&w.process(u,d,g,b,_,A,M,T,O,dt)}j!=null&&_&&vn(j,u&&u.ref,A,d||u,!d)},H=(u,d,g,b)=>{if(u==null)r(d.el=l(d.children),g,b);else{const _=d.el=u.el;d.children!==u.children&&a(_,d.children)}},m=(u,d,g,b)=>{u==null?r(d.el=c(d.children||""),g,b):d.el=u.el},v=(u,d,g,b)=>{[u.el,u.anchor]=E(u.children,d,g,b,u.el,u.anchor)},R=({el:u,anchor:d},g,b)=>{let _;for(;u&&u!==d;)_=p(u),r(u,g,b),u=_;r(d,g,b)},F=({el:u,anchor:d})=>{let g;for(;u&&u!==d;)g=p(u),s(u),u=g;s(d)},I=(u,d,g,b,_,A,M,T,O)=>{M=M||d.type==="svg",u==null?W(d,g,b,_,A,M,T,O):U(u,d,_,A,M,T,O)},W=(u,d,g,b,_,A,M,T)=>{let O,w;const{type:j,props:L,shapeFlag:D,transition:K,dirs:z}=u;if(O=u.el=i(u.type,A,L&&L.is,L),D&8?f(O,u.children):D&16&&C(u.children,O,null,b,_,A&&j!=="foreignObject",M,T),z&&Pe(u,null,b,"created"),L){for(const Q in L)Q!=="value"&&!It(Q)&&o(O,Q,null,L[Q],A,u.children,b,_,De);"value"in L&&o(O,"value",null,L.value),(w=L.onVnodeBeforeMount)&&Ce(w,b,u)}k(O,u,u.scopeId,M,b),z&&Pe(u,null,b,"beforeMount");const ee=(!_||_&&!_.pendingBranch)&&K&&!K.persisted;ee&&K.beforeEnter(O),r(O,d,g),((w=L&&L.onVnodeMounted)||ee||z)&&ge(()=>{w&&Ce(w,b,u),ee&&K.enter(O),z&&Pe(u,null,b,"mounted")},_)},k=(u,d,g,b,_)=>{if(g&&y(u,g),b)for(let A=0;A<b.length;A++)y(u,b[A]);if(_){let A=_.subTree;if(d===A){const M=_.vnode;k(u,M,M.scopeId,M.slotScopeIds,_.parent)}}},C=(u,d,g,b,_,A,M,T,O=0)=>{for(let w=O;w<u.length;w++){const j=u[w]=T?ze(u[w]):Se(u[w]);x(null,j,d,g,b,_,A,M,T)}},U=(u,d,g,b,_,A,M)=>{const T=d.el=u.el;let{patchFlag:O,dynamicChildren:w,dirs:j}=d;O|=u.patchFlag&16;const L=u.props||Z,D=d.props||Z;let K;g&&et(g,!1),(K=D.onVnodeBeforeUpdate)&&Ce(K,g,d,u),j&&Pe(d,u,g,"beforeUpdate"),g&&et(g,!0);const z=_&&d.type!=="foreignObject";if(w?S(u.dynamicChildren,w,T,g,b,z,A):M||G(u,d,T,null,g,b,z,A,!1),O>0){if(O&16)$(T,d,L,D,g,b,_);else if(O&2&&L.class!==D.class&&o(T,"class",null,D.class,_),O&4&&o(T,"style",L.style,D.style,_),O&8){const ee=d.dynamicProps;for(let Q=0;Q<ee.length;Q++){const le=ee[Q],Ae=L[le],ht=D[le];(ht!==Ae||le==="value")&&o(T,le,Ae,ht,_,u.children,g,b,De)}}O&1&&u.children!==d.children&&f(T,d.children)}else!M&&w==null&&$(T,d,L,D,g,b,_);((K=D.onVnodeUpdated)||j)&&ge(()=>{K&&Ce(K,g,d,u),j&&Pe(d,u,g,"updated")},b)},S=(u,d,g,b,_,A,M)=>{for(let T=0;T<d.length;T++){const O=u[T],w=d[T],j=O.el&&(O.type===me||!ot(O,w)||O.shapeFlag&70)?h(O.el):g;x(O,w,j,null,b,_,A,M,!0)}},$=(u,d,g,b,_,A,M)=>{if(g!==b){if(g!==Z)for(const T in g)!It(T)&&!(T in b)&&o(u,T,g[T],null,M,d.children,_,A,De);for(const T in b){if(It(T))continue;const O=b[T],w=g[T];O!==w&&T!=="value"&&o(u,T,w,O,M,d.children,_,A,De)}"value"in b&&o(u,"value",g.value,b.value)}},P=(u,d,g,b,_,A,M,T,O)=>{const w=d.el=u?u.el:l(""),j=d.anchor=u?u.anchor:l("");let{patchFlag:L,dynamicChildren:D,slotScopeIds:K}=d;K&&(T=T?T.concat(K):K),u==null?(r(w,g,b),r(j,g,b),C(d.children,g,j,_,A,M,T,O)):L>0&&L&64&&D&&u.dynamicChildren?(S(u.dynamicChildren,D,g,_,A,M,T),(d.key!=null||_&&d===_.subTree)&&Nr(u,d,!0)):G(u,d,g,j,_,A,M,T,O)},q=(u,d,g,b,_,A,M,T,O)=>{d.slotScopeIds=T,u==null?d.shapeFlag&512?_.ctx.activate(d,g,b,M,O):N(d,g,b,_,A,M,O):ye(u,d,O)},N=(u,d,g,b,_,A,M)=>{const T=u.component=Zl(u,b,_);if(zt(u)&&(T.ctx.renderer=dt),Gl(T),T.asyncDep){if(_&&_.registerDep(T,J),!u.el){const O=T.subTree=ie(be);m(null,O,d,g)}return}J(T,u,d,g,_,A,M)},ye=(u,d,g)=>{const b=d.component=u.component;if(al(u,d,g))if(b.asyncDep&&!b.asyncResolved){re(b,d,g);return}else b.next=d,nl(b.update),b.update();else d.el=u.el,b.vnode=d},J=(u,d,g,b,_,A,M)=>{const T=()=>{if(u.isMounted){let{next:j,bu:L,u:D,parent:K,vnode:z}=u,ee=j,Q;et(u,!1),j?(j.el=z.el,re(u,j,M)):j=z,L&&un(L),(Q=j.props&&j.props.onVnodeBeforeUpdate)&&Ce(Q,K,j,z),et(u,!0);const le=kn(u),Ae=u.subTree;u.subTree=le,x(Ae,le,h(Ae.el),Xt(Ae),u,_,A),j.el=le.el,ee===null&&ul(u,le.el),D&&ge(D,_),(Q=j.props&&j.props.onVnodeUpdated)&&ge(()=>Ce(Q,K,j,z),_)}else{let j;const{el:L,props:D}=d,{bm:K,m:z,parent:ee}=u,Q=bt(d);if(et(u,!1),K&&un(K),!Q&&(j=D&&D.onVnodeBeforeMount)&&Ce(j,ee,d),et(u,!0),L&&Dn){const le=()=>{u.subTree=kn(u),Dn(L,u.subTree,u,_,null)};Q?d.type.__asyncLoader().then(()=>!u.isUnmounted&&le()):le()}else{const le=u.subTree=kn(u);x(null,le,g,b,u,_,A),d.el=le.el}if(z&&ge(z,_),!Q&&(j=D&&D.onVnodeMounted)){const le=d;ge(()=>Ce(j,ee,le),_)}(d.shapeFlag&256||ee&&bt(ee.vnode)&&ee.vnode.shapeFlag&256)&&u.a&&ge(u.a,_),u.isMounted=!0,d=g=b=null}},O=u.effect=new wr(T,()=>Rn(w),u.scope),w=u.update=()=>O.run();w.id=u.uid,et(u,!0),w()},re=(u,d,g)=>{d.component=u;const b=u.vnode.props;u.vnode=d,u.next=null,Fl(u,d.props,b,g),Hl(u,d.children,g),xt(),Gr(),Tt()},G=(u,d,g,b,_,A,M,T,O=!1)=>{const w=u&&u.children,j=u?u.shapeFlag:0,L=d.children,{patchFlag:D,shapeFlag:K}=d;if(D>0){if(D&128){Yt(w,L,g,b,_,A,M,T,O);return}else if(D&256){Ze(w,L,g,b,_,A,M,T,O);return}}K&8?(j&16&&De(w,_,A),L!==w&&f(g,L)):j&16?K&16?Yt(w,L,g,b,_,A,M,T,O):De(w,_,A,!0):(j&8&&f(g,""),K&16&&C(L,g,b,_,A,M,T,O))},Ze=(u,d,g,b,_,A,M,T,O)=>{u=u||gt,d=d||gt;const w=u.length,j=d.length,L=Math.min(w,j);let D;for(D=0;D<L;D++){const K=d[D]=O?ze(d[D]):Se(d[D]);x(u[D],K,g,null,_,A,M,T,O)}w>j?De(u,_,A,!0,!1,L):C(d,g,b,_,A,M,T,O,L)},Yt=(u,d,g,b,_,A,M,T,O)=>{let w=0;const j=d.length;let L=u.length-1,D=j-1;for(;w<=L&&w<=D;){const K=u[w],z=d[w]=O?ze(d[w]):Se(d[w]);if(ot(K,z))x(K,z,g,null,_,A,M,T,O);else break;w++}for(;w<=L&&w<=D;){const K=u[L],z=d[D]=O?ze(d[D]):Se(d[D]);if(ot(K,z))x(K,z,g,null,_,A,M,T,O);else break;L--,D--}if(w>L){if(w<=D){const K=D+1,z=K<j?d[K].el:b;for(;w<=D;)x(null,d[w]=O?ze(d[w]):Se(d[w]),g,z,_,A,M,T,O),w++}}else if(w>D)for(;w<=L;)Ie(u[w],_,A,!0),w++;else{const K=w,z=w,ee=new Map;for(w=z;w<=D;w++){const ve=d[w]=O?ze(d[w]):Se(d[w]);ve.key!=null&&ee.set(ve.key,w)}let Q,le=0;const Ae=D-z+1;let ht=!1,Br=0;const St=new Array(Ae);for(w=0;w<Ae;w++)St[w]=0;for(w=K;w<=L;w++){const ve=u[w];if(le>=Ae){Ie(ve,_,A,!0);continue}let Me;if(ve.key!=null)Me=ee.get(ve.key);else for(Q=z;Q<=D;Q++)if(St[Q-z]===0&&ot(ve,d[Q])){Me=Q;break}Me===void 0?Ie(ve,_,A,!0):(St[Me-z]=w+1,Me>=Br?Br=Me:ht=!0,x(ve,d[Me],g,null,_,A,M,T,O),le++)}const Wr=ht?Bl(St):gt;for(Q=Wr.length-1,w=Ae-1;w>=0;w--){const ve=z+w,Me=d[ve],Kr=ve+1<j?d[ve+1].el:b;St[w]===0?x(null,Me,g,Kr,_,A,M,T,O):ht&&(Q<0||w!==Wr[Q]?Ge(Me,g,Kr,2):Q--)}}},Ge=(u,d,g,b,_=null)=>{const{el:A,type:M,transition:T,children:O,shapeFlag:w}=u;if(w&6){Ge(u.component.subTree,d,g,b);return}if(w&128){u.suspense.move(d,g,b);return}if(w&64){M.move(u,d,g,dt);return}if(M===me){r(A,d,g);for(let L=0;L<O.length;L++)Ge(O[L],d,g,b);r(u.anchor,d,g);return}if(M===Lt){R(u,d,g);return}if(b!==2&&w&1&&T)if(b===0)T.beforeEnter(A),r(A,d,g),ge(()=>T.enter(A),_);else{const{leave:L,delayLeave:D,afterLeave:K}=T,z=()=>r(A,d,g),ee=()=>{L(A,()=>{z(),K&&K()})};D?D(A,z,ee):ee()}else r(A,d,g)},Ie=(u,d,g,b=!1,_=!1)=>{const{type:A,props:M,ref:T,children:O,dynamicChildren:w,shapeFlag:j,patchFlag:L,dirs:D}=u;if(T!=null&&vn(T,null,g,u,!0),j&256){d.ctx.deactivate(u);return}const K=j&1&&D,z=!bt(u);let ee;if(z&&(ee=M&&M.onVnodeBeforeUnmount)&&Ce(ee,d,u),j&6)ni(u.component,g,b);else{if(j&128){u.suspense.unmount(g,b);return}K&&Pe(u,null,d,"beforeUnmount"),j&64?u.type.remove(u,d,g,_,dt,b):w&&(A!==me||L>0&&L&64)?De(w,d,g,!1,!0):(A===me&&L&384||!_&&j&16)&&De(O,d,g),b&&kr(u)}(z&&(ee=M&&M.onVnodeUnmounted)||K)&&ge(()=>{ee&&Ce(ee,d,u),K&&Pe(u,null,d,"unmounted")},g)},kr=u=>{const{type:d,el:g,anchor:b,transition:_}=u;if(d===me){ti(g,b);return}if(d===Lt){F(u);return}const A=()=>{s(g),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(u.shapeFlag&1&&_&&!_.persisted){const{leave:M,delayLeave:T}=_,O=()=>M(g,A);T?T(u.el,A,O):O()}else A()},ti=(u,d)=>{let g;for(;u!==d;)g=p(u),s(u),u=g;s(d)},ni=(u,d,g)=>{const{bum:b,scope:_,update:A,subTree:M,um:T}=u;b&&un(b),_.stop(),A&&(A.active=!1,Ie(M,u,d,g)),T&&ge(T,d),ge(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},De=(u,d,g,b=!1,_=!1,A=0)=>{for(let M=A;M<u.length;M++)Ie(u[M],d,g,b,_)},Xt=u=>u.shapeFlag&6?Xt(u.component.subTree):u.shapeFlag&128?u.suspense.next():p(u.anchor||u.el),Ur=(u,d,g)=>{u==null?d._vnode&&Ie(d._vnode,null,null,!0):x(d._vnode||null,u,d,null,null,null,g),Gr(),gn(),d._vnode=u},dt={p:x,um:Ie,m:Ge,r:kr,mt:N,mc:C,pc:G,pbc:S,n:Xt,o:e};let jn,Dn;return t&&([jn,Dn]=t(dt)),{render:Ur,hydrate:jn,createApp:jl(Ur,jn)}}function et({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Nr(e,t,n=!1){const r=e.children,s=t.children;if(B(r)&&B(s))for(let o=0;o<r.length;o++){const i=r[o];let l=s[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[o]=ze(s[o]),l.el=i.el),n||Nr(i,l))}}function Bl(e){const t=e.slice(),n=[0];let r,s,o,i,l;const c=e.length;for(r=0;r<c;r++){const a=e[r];if(a!==0){if(s=n[n.length-1],e[s]<a){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<a?o=l+1:i=l;a<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Wl=e=>e.__isTeleport,Ft=e=>e&&(e.disabled||e.disabled===""),as=e=>typeof SVGElement<"u"&&e instanceof SVGElement,dr=(e,t)=>{const n=e&&e.to;return oe(n)?t?t(n):null:n},Kl={__isTeleport:!0,process(e,t,n,r,s,o,i,l,c,a){const{mc:f,pc:h,pbc:p,o:{insert:y,querySelector:E,createText:x,createComment:H}}=a,m=Ft(t.props);let{shapeFlag:v,children:R,dynamicChildren:F}=t;if(e==null){const I=t.el=x(""),W=t.anchor=x("");y(I,n,r),y(W,n,r);const k=t.target=dr(t.props,E),C=t.targetAnchor=x("");k&&(y(C,k),i=i||as(k));const U=(S,$)=>{v&16&&f(R,S,$,s,o,i,l,c)};m?U(n,W):k&&U(k,C)}else{t.el=e.el;const I=t.anchor=e.anchor,W=t.target=e.target,k=t.targetAnchor=e.targetAnchor,C=Ft(e.props),U=C?n:W,S=C?I:k;if(i=i||as(W),F?(p(e.dynamicChildren,F,U,s,o,i,l),Nr(e,t,!0)):c||h(e,t,U,S,s,o,i,l,!1),m)C||sn(t,n,I,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const $=t.target=dr(t.props,E);$&&sn(t,$,null,a,0)}else C&&sn(t,W,k,a,1)}},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:l,children:c,anchor:a,targetAnchor:f,target:h,props:p}=e;if(h&&o(f),(i||!Ft(p))&&(o(a),l&16))for(let y=0;y<c.length;y++){const E=c[y];s(E,t,n,!0,!!E.dynamicChildren)}},move:sn,hydrate:Vl};function sn(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:c,children:a,props:f}=e,h=o===2;if(h&&r(i,t,n),(!h||Ft(f))&&c&16)for(let p=0;p<a.length;p++)s(a[p],t,n,2);h&&r(l,t,n)}function Vl(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:l,querySelector:c}},a){const f=t.target=dr(t.props,c);if(f){const h=f._lpa||f.firstChild;if(t.shapeFlag&16)if(Ft(t.props))t.anchor=a(i(e),t,l(e),n,r,s,o),t.targetAnchor=h;else{t.anchor=i(e);let p=h;for(;p;)if(p=i(p),p&&p.nodeType===8&&p.data==="teleport anchor"){t.targetAnchor=p,f._lpa=t.targetAnchor&&i(t.targetAnchor);break}a(h,t,f,n,r,s,o)}}return t.anchor&&i(t.anchor)}const Ba=Kl,me=Symbol(void 0),Bt=Symbol(void 0),be=Symbol(void 0),Lt=Symbol(void 0),Nt=[];let Re=null;function Ao(e=!1){Nt.push(Re=e?null:[])}function ql(){Nt.pop(),Re=Nt[Nt.length-1]||null}let Wt=1;function us(e){Wt+=e}function So(e){return e.dynamicChildren=Wt>0?Re||gt:null,ql(),Wt>0&&Re&&Re.push(e),e}function Wa(e,t,n,r,s,o){return So(Io(e,t,n,r,s,o,!0))}function Oo(e,t,n,r,s){return So(ie(e,t,n,r,s,!0))}function _n(e){return e?e.__v_isVNode===!0:!1}function ot(e,t){return e.type===t.type&&e.key===t.key}const Nn="__vInternal",Ro=({key:e})=>e??null,fn=({ref:e,ref_key:t,ref_for:n})=>e!=null?oe(e)||ae(e)||V(e)?{i:he,r:e,k:t,f:!!n}:e:null;function Io(e,t=null,n=null,r=0,s=null,o=e===me?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ro(t),ref:t&&fn(t),scopeId:Mn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null};return l?(Hr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=oe(n)?8:16),Wt>0&&!i&&Re&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Re.push(c),c}const ie=zl;function zl(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===go)&&(e=be),_n(e)){const l=Qe(e,t,!0);return n&&Hr(l,n),Wt>0&&!o&&Re&&(l.shapeFlag&6?Re[Re.indexOf(e)]=l:Re.push(l)),l.patchFlag|=-2,l}if(rc(e)&&(e=e.__vccOpts),t){t=Yl(t);let{class:l,style:c}=t;l&&!oe(l)&&(t.class=wn(l)),te(c)&&(Qs(c)&&!B(c)&&(c=ue({},c)),t.style=bn(c))}const i=oe(e)?1:fl(e)?128:Wl(e)?64:te(e)?4:V(e)?2:0;return Io(e,t,n,r,s,i,o,!0)}function Yl(e){return e?Qs(e)||Nn in e?ue({},e):e:null}function Qe(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,l=t?Xl(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ro(l),ref:t&&t.ref?n&&s?B(s)?s.concat(fn(t)):[s,fn(t)]:fn(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==me?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qe(e.ssContent),ssFallback:e.ssFallback&&Qe(e.ssFallback),el:e.el,anchor:e.anchor}}function Mo(e=" ",t=0){return ie(Bt,null,e,t)}function Ka(e,t){const n=ie(Lt,null,e);return n.staticCount=t,n}function Va(e="",t=!1){return t?(Ao(),Oo(be,null,e)):ie(be,null,e)}function Se(e){return e==null||typeof e=="boolean"?ie(be):B(e)?ie(me,null,e.slice()):typeof e=="object"?ze(e):ie(Bt,null,String(e))}function ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qe(e)}function Hr(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Hr(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Nn in t)?t._ctx=he:s===3&&he&&(he.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else V(t)?(t={default:t,_ctx:he},n=32):(t=String(t),r&64?(n=16,t=[Mo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Xl(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=wn([t.class,r.class]));else if(s==="style")t.style=bn([t.style,r.style]);else if(Vt(s)){const o=t[s],i=r[s];i&&o!==i&&!(B(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function Ce(e,t,n,r=null){xe(e,t,7,[n,r])}const Jl=xo();let Ql=0;function Zl(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Jl,o={uid:Ql++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new mi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:bo(r,s),emitsOptions:oo(r,s),emit:null,emitted:null,propsDefaults:Z,inheritAttrs:r.inheritAttrs,ctx:Z,data:Z,props:Z,attrs:Z,slots:Z,refs:Z,setupState:Z,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=ol.bind(null,o),e.ce&&e.ce(o),o}let ce=null;const Hn=()=>ce||he,Et=e=>{ce=e,e.scope.on()},at=()=>{ce&&ce.scope.off(),ce=null};function Po(e){return e.vnode.shapeFlag&4}let Ct=!1;function Gl(e,t=!1){Ct=t;const{props:n,children:r}=e.vnode,s=Po(e);Pl(e,n,s,t),Nl(e,r);const o=s?ec(e,t):void 0;return Ct=!1,o}function ec(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Mt(new Proxy(e.ctx,Al));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Lo(e):null;Et(e),xt();const o=Xe(r,e,0,[e.props,s]);if(Tt(),at(),js(o)){if(o.then(at,at),t)return o.then(i=>{fs(e,i,t)}).catch(i=>{qt(i,e,0)});e.asyncDep=o}else fs(e,o,t)}else Fo(e,t)}function fs(e,t,n){V(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:te(t)&&(e.setupState=eo(t)),Fo(e,n)}let ds;function Fo(e,t,n){const r=e.type;if(!e.render){if(!t&&ds&&!r.render){const s=r.template||Fr(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,a=ue(ue({isCustomElement:o,delimiters:l},i),c);r.render=ds(s,a)}}e.render=r.render||Ne}Et(e),xt(),Sl(e),Tt(),at()}function tc(e){return new Proxy(e.attrs,{get(t,n){return we(e,"get","$attrs"),t[n]}})}function Lo(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=tc(e))},slots:e.slots,emit:e.emit,expose:t}}function $n(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(eo(Mt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Pt)return Pt[n](e)},has(t,n){return n in t||n in Pt}}))}function nc(e,t=!0){return V(e)?e.displayName||e.name:e.name||t&&e.__name}function rc(e){return V(e)&&"__vccOpts"in e}const se=(e,t)=>Gi(e,t,Ct);function qa(){return sc().slots}function sc(){const e=Hn();return e.setupContext||(e.setupContext=Lo(e))}function hr(e,t,n){const r=arguments.length;return r===2?te(t)&&!B(t)?_n(t)?ie(e,null,[t]):ie(e,t):ie(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&_n(n)&&(n=[n]),ie(e,t,n))}const oc=Symbol(""),ic=()=>_t(oc),lc="3.2.44",cc="http://www.w3.org/2000/svg",it=typeof document<"u"?document:null,hs=it&&it.createElement("template"),ac={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?it.createElementNS(cc,e):it.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>it.createTextNode(e),createComment:e=>it.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>it.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{hs.innerHTML=r?`<svg>${e}</svg>`:e;const l=hs.content;if(r){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function uc(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function fc(e,t,n){const r=e.style,s=oe(n);if(n&&!s){for(const o in n)pr(r,o,n[o]);if(t&&!oe(t))for(const o in t)n[o]==null&&pr(r,o,"")}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const ps=/\s*!important$/;function pr(e,t,n){if(B(n))n.forEach(r=>pr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=dc(e,t);ps.test(n)?e.setProperty(ft(r),n.replace(ps,""),"important"):e[r]=n}}const gs=["Webkit","Moz","ms"],Wn={};function dc(e,t){const n=Wn[t];if(n)return n;let r=je(t);if(r!=="filter"&&r in e)return Wn[t]=r;r=xn(r);for(let s=0;s<gs.length;s++){const o=gs[s]+r;if(o in e)return Wn[t]=o}return t}const ms="http://www.w3.org/1999/xlink";function hc(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ms,t.slice(6,t.length)):e.setAttributeNS(ms,t,n);else{const o=ci(t);n==null||o&&!Ns(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function pc(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const c=n??"";(e.value!==c||e.tagName==="OPTION")&&(e.value=c),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Ns(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function pt(e,t,n,r){e.addEventListener(t,n,r)}function gc(e,t,n,r){e.removeEventListener(t,n,r)}function mc(e,t,n,r,s=null){const o=e._vei||(e._vei={}),i=o[t];if(r&&i)i.value=r;else{const[l,c]=yc(t);if(r){const a=o[t]=bc(r,s);pt(e,l,a,c)}else i&&(gc(e,l,i,c),o[t]=void 0)}}const ys=/(?:Once|Passive|Capture)$/;function yc(e){let t;if(ys.test(e)){t={};let r;for(;r=e.match(ys);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ft(e.slice(2)),t]}let Kn=0;const vc=Promise.resolve(),_c=()=>Kn||(vc.then(()=>Kn=0),Kn=Date.now());function bc(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;xe(wc(r,n.value),t,5,[r])};return n.value=e,n.attached=_c(),n}function wc(e,t){if(B(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const vs=/^on[a-z]/,Ec=(e,t,n,r,s=!1,o,i,l,c)=>{t==="class"?uc(e,r,s):t==="style"?fc(e,n,r):Vt(t)?mr(t)||mc(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Cc(e,t,r,s))?pc(e,t,r,o,i,l,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),hc(e,t,r,s))};function Cc(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&vs.test(t)&&V(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||vs.test(t)&&oe(n)?!1:t in e}const Ve="transition",Ot="animation",No=(e,{slots:t})=>hr(co,xc(e),t);No.displayName="Transition";const Ho={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};No.props=ue({},co.props,Ho);const tt=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},_s=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function xc(e){const t={};for(const P in e)P in Ho||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:a=i,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:y=`${n}-leave-to`}=e,E=Tc(s),x=E&&E[0],H=E&&E[1],{onBeforeEnter:m,onEnter:v,onEnterCancelled:R,onLeave:F,onLeaveCancelled:I,onBeforeAppear:W=m,onAppear:k=v,onAppearCancelled:C=R}=t,U=(P,q,N)=>{nt(P,q?f:l),nt(P,q?a:i),N&&N()},S=(P,q)=>{P._isLeaving=!1,nt(P,h),nt(P,y),nt(P,p),q&&q()},$=P=>(q,N)=>{const ye=P?k:v,J=()=>U(q,P,N);tt(ye,[q,J]),bs(()=>{nt(q,P?c:o),qe(q,P?f:l),_s(ye)||ws(q,r,x,J)})};return ue(t,{onBeforeEnter(P){tt(m,[P]),qe(P,o),qe(P,i)},onBeforeAppear(P){tt(W,[P]),qe(P,c),qe(P,a)},onEnter:$(!1),onAppear:$(!0),onLeave(P,q){P._isLeaving=!0;const N=()=>S(P,q);qe(P,h),Oc(),qe(P,p),bs(()=>{P._isLeaving&&(nt(P,h),qe(P,y),_s(F)||ws(P,r,H,N))}),tt(F,[P,N])},onEnterCancelled(P){U(P,!1),tt(R,[P])},onAppearCancelled(P){U(P,!0),tt(C,[P])},onLeaveCancelled(P){S(P),tt(I,[P])}})}function Tc(e){if(e==null)return null;if(te(e))return[Vn(e.enter),Vn(e.leave)];{const t=Vn(e);return[t,t]}}function Vn(e){return jt(e)}function qe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function nt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function bs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ac=0;function ws(e,t,n,r){const s=e._endId=++Ac,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=Sc(e,t);if(!i)return r();const a=i+"end";let f=0;const h=()=>{e.removeEventListener(a,p),o()},p=y=>{y.target===e&&++f>=c&&h()};setTimeout(()=>{f<c&&h()},l+1),e.addEventListener(a,p)}function Sc(e,t){const n=window.getComputedStyle(e),r=E=>(n[E]||"").split(", "),s=r(`${Ve}Delay`),o=r(`${Ve}Duration`),i=Es(s,o),l=r(`${Ot}Delay`),c=r(`${Ot}Duration`),a=Es(l,c);let f=null,h=0,p=0;t===Ve?i>0&&(f=Ve,h=i,p=o.length):t===Ot?a>0&&(f=Ot,h=a,p=c.length):(h=Math.max(i,a),f=h>0?i>a?Ve:Ot:null,p=f?f===Ve?o.length:c.length:0);const y=f===Ve&&/\b(transform|all)(,|$)/.test(r(`${Ve}Property`).toString());return{type:f,timeout:h,propCount:p,hasTransform:y}}function Es(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Cs(n)+Cs(e[r])))}function Cs(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Oc(){return document.body.offsetHeight}const xs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?n=>un(t,n):t};function Rc(e){e.target.composing=!0}function Ts(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const za={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=xs(s);const o=r||s.props&&s.props.type==="number";pt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=jt(l)),e._assign(l)}),n&&pt(e,"change",()=>{e.value=e.value.trim()}),t||(pt(e,"compositionstart",Rc),pt(e,"compositionend",Ts),pt(e,"change",Ts))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e._assign=xs(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&jt(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},Ic=["ctrl","shift","alt","meta"],Mc={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)=>Ic.some(n=>e[`${n}Key`]&&!t.includes(n))},Ya=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const o=Mc[t[s]];if(o&&o(n,t))return}return e(n,...r)},Pc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Xa=(e,t)=>n=>{if(!("key"in n))return;const r=ft(n.key);if(t.some(s=>s===r||Pc[s]===r))return e(n)},$o=ue({patchProp:Ec},ac);let Ht,As=!1;function Fc(){return Ht||(Ht=kl($o))}function Lc(){return Ht=As?Ht:Ul($o),As=!0,Ht}const Ja=(...e)=>{const t=Fc().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=jo(r);if(!s)return;const o=t._component;!V(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},Qa=(...e)=>{const t=Lc().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=jo(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function jo(e){return oe(e)?document.querySelector(e):e}const Za=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};function $r(e){return vi()?(_i(e),!0):!1}function $e(e){return typeof e=="function"?e():Gs(e)}const Do=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Nc=Object.prototype.toString,Hc=e=>Nc.call(e)==="[object Object]",Kt=()=>{},Ss=$c();function $c(){var e,t;return Do&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function jc(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const ko=e=>e();function Dc(e,t={}){let n,r,s=Kt;const o=l=>{clearTimeout(l),s(),s=Kt};return l=>{const c=$e(e),a=$e(t.maxWait);return n&&o(n),c<=0||a!==void 0&&a<=0?(r&&(o(r),r=null),Promise.resolve(l())):new Promise((f,h)=>{s=t.rejectOnCancel?h:f,a&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,f(l())},a)),n=setTimeout(()=>{r&&o(r),r=null,f(l())},c)})}}function kc(e=ko){const t=ne(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Sn(t),pause:n,resume:r,eventFilter:s}}function Uc(e){return Hn()}function Uo(...e){if(e.length!==1)return Qi(...e);const t=e[0];return typeof t=="function"?Sn(Xi(()=>({get:t,set:Kt}))):ne(t)}function Bo(e,t,n={}){const{eventFilter:r=ko,...s}=n;return He(e,jc(r,t),s)}function Bc(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:i,resume:l,isActive:c}=kc(r);return{stop:Bo(e,t,{...s,eventFilter:o}),pause:i,resume:l,isActive:c}}function jr(e,t=!0,n){Uc()?At(e,n):t?e():On(e)}function Ga(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...o}=n;return Bo(e,t,{...o,eventFilter:Dc(r,{maxWait:s})})}function eu(e,t,n){let r;ae(n)?r={evaluating:n}:r={};const{lazy:s=!1,evaluating:o=void 0,shallow:i=!0,onError:l=Kt}=r,c=ne(!s),a=i?Rr(t):ne(t);let f=0;return Mr(async h=>{if(!c.value)return;f++;const p=f;let y=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const E=await e(x=>{h(()=>{o&&(o.value=!1),y||x()})});p===f&&(a.value=E)}catch(E){l(E)}finally{o&&p===f&&(o.value=!1),y=!0}}),s?se(()=>(c.value=!0,a.value)):a}function Wo(e){var t;const n=$e(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Te=Do?window:void 0;function Le(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=Te):[t,n,r,s]=e,!t)return Kt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(f=>f()),o.length=0},l=(f,h,p,y)=>(f.addEventListener(h,p,y),()=>f.removeEventListener(h,p,y)),c=He(()=>[Wo(t),$e(s)],([f,h])=>{if(i(),!f)return;const p=Hc(h)?{...h}:h;o.push(...n.flatMap(y=>r.map(E=>l(f,y,E,p))))},{immediate:!0,flush:"post"}),a=()=>{c(),i()};return $r(a),a}function Wc(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function tu(...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]);const{target:s=Te,eventName:o="keydown",passive:i=!1,dedupe:l=!1}=r,c=Wc(t);return Le(s,o,f=>{f.repeat&&$e(l)||c(f)&&n(f)},i)}function Kc(){const e=ne(!1),t=Hn();return t&&At(()=>{e.value=!0},t),e}function Vc(e){const t=Kc();return se(()=>(t.value,!!e()))}function Ko(e,t={}){const{window:n=Te}=t,r=Vc(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=ne(!1),i=a=>{o.value=a.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",i):s.removeListener(i))},c=Mr(()=>{r.value&&(l(),s=n.matchMedia($e(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return $r(()=>{c(),l(),s=void 0}),o}const on=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ln="__vueuse_ssr_handlers__",qc=zc();function zc(){return ln in on||(on[ln]=on[ln]||{}),on[ln]}function Vo(e,t){return qc[e]||t}function Yc(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Xc={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()}},Os="vueuse-storage";function Dr(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:a=!1,shallow:f,window:h=Te,eventFilter:p,onError:y=S=>{console.error(S)},initOnMounted:E}=r,x=(f?Rr:ne)(typeof t=="function"?t():t);if(!n)try{n=Vo("getDefaultStorage",()=>{var S;return(S=Te)==null?void 0:S.localStorage})()}catch(S){y(S)}if(!n)return x;const H=$e(t),m=Yc(H),v=(s=r.serializer)!=null?s:Xc[m],{pause:R,resume:F}=Bc(x,()=>W(x.value),{flush:o,deep:i,eventFilter:p});h&&l&&jr(()=>{Le(h,"storage",C),Le(h,Os,U),E&&C()}),E||C();function I(S,$){h&&h.dispatchEvent(new CustomEvent(Os,{detail:{key:e,oldValue:S,newValue:$,storageArea:n}}))}function W(S){try{const $=n.getItem(e);if(S==null)I($,null),n.removeItem(e);else{const P=v.write(S);$!==P&&(n.setItem(e,P),I($,P))}}catch($){y($)}}function k(S){const $=S?S.newValue:n.getItem(e);if($==null)return c&&H!=null&&n.setItem(e,v.write(H)),H;if(!S&&a){const P=v.read($);return typeof a=="function"?a(P,H):m==="object"&&!Array.isArray(P)?{...H,...P}:P}else return typeof $!="string"?$:v.read($)}function C(S){if(!(S&&S.storageArea!==n)){if(S&&S.key==null){x.value=H;return}if(!(S&&S.key!==e)){R();try{(S==null?void 0:S.newValue)!==v.write(x.value)&&(x.value=k(S))}catch($){y($)}finally{S?On(F):F()}}}}function U(S){C(S.detail)}return x}function qo(e){return Ko("(prefers-color-scheme: dark)",e)}function Jc(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=Te,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:a,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},p=qo({window:s}),y=se(()=>p.value?"dark":"light"),E=c||(i==null?Uo(r):Dr(i,r,o,{window:s,listenToStorageChanges:l})),x=se(()=>E.value==="auto"?y.value:E.value),H=Vo("updateHTMLAttrs",(F,I,W)=>{const k=typeof F=="string"?s==null?void 0:s.document.querySelector(F):Wo(F);if(!k)return;let C;if(f&&(C=s.document.createElement("style"),C.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),s.document.head.appendChild(C)),I==="class"){const U=W.split(/\s/g);Object.values(h).flatMap(S=>(S||"").split(/\s/g)).filter(Boolean).forEach(S=>{U.includes(S)?k.classList.add(S):k.classList.remove(S)})}else k.setAttribute(I,W);f&&(s.getComputedStyle(C).opacity,document.head.removeChild(C))});function m(F){var I;H(t,n,(I=h[F])!=null?I:F)}function v(F){e.onChanged?e.onChanged(F,m):m(F)}He(x,v,{flush:"post",immediate:!0}),jr(()=>v(x.value));const R=se({get(){return a?E.value:x.value},set(F){E.value=F}});try{return Object.assign(R,{store:E,system:y,state:x})}catch{return R}}function Qc(e={}){const{valueDark:t="dark",valueLight:n="",window:r=Te}=e,s=Jc({...e,onChanged:(l,c)=>{var a;e.onChanged?(a=e.onChanged)==null||a.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),o=se(()=>s.system?s.system.value:qo({window:r}).value?"dark":"light");return se({get(){return s.value==="dark"},set(l){const c=l?"dark":"light";o.value===c?s.value="auto":s.value=c}})}function qn(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function nu(e,t,n={}){const{window:r=Te}=n;return Dr(e,t,r==null?void 0:r.localStorage,n)}const Zc={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function ru(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:r=!1,initialValue:s={x:0,y:0},window:o=Te,target:i=o,scroll:l=!0,eventFilter:c}=e;let a=null;const f=ne(s.x),h=ne(s.y),p=ne(null),y=typeof t=="function"?t:Zc[t],E=I=>{const W=y(I);a=I,W&&([f.value,h.value]=W,p.value="mouse")},x=I=>{if(I.touches.length>0){const W=y(I.touches[0]);W&&([f.value,h.value]=W,p.value="touch")}},H=()=>{if(!a||!o)return;const I=y(a);a instanceof MouseEvent&&I&&(f.value=I[0]+o.scrollX,h.value=I[1]+o.scrollY)},m=()=>{f.value=s.x,h.value=s.y},v=c?I=>c(()=>E(I),{}):I=>E(I),R=c?I=>c(()=>x(I),{}):I=>x(I),F=c?()=>c(()=>H(),{}):()=>H();if(i){const I={passive:!0};Le(i,["mousemove","dragover"],v,I),n&&t!=="movement"&&(Le(i,["touchstart","touchmove"],R,I),r&&Le(i,"touchend",m,I)),l&&t==="page"&&Le(o,"scroll",F,{passive:!0})}return{x:f,y:h,sourceType:p}}function zo(e){const 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;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:zo(n)}}function Gc(e){const t=e||window.event,n=t.target;return zo(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const zn=new WeakMap;function su(e,t=!1){const n=ne(t);let r=null,s="";He(Uo(e),l=>{const c=qn($e(l));if(c){const a=c;if(zn.get(a)||zn.set(a,a.style.overflow),a.style.overflow!=="hidden"&&(s=a.style.overflow),a.style.overflow==="hidden")return n.value=!0;if(n.value)return a.style.overflow="hidden"}},{immediate:!0});const o=()=>{const l=qn($e(e));!l||n.value||(Ss&&(r=Le(l,"touchmove",c=>{Gc(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},i=()=>{const l=qn($e(e));!l||!n.value||(Ss&&(r==null||r()),l.style.overflow=s,zn.delete(l),n.value=!1)};return $r(i),se({get(){return n.value},set(l){l?o():i()}})}function ou(e,t,n={}){const{window:r=Te}=n;return Dr(e,t,r==null?void 0:r.sessionStorage,n)}function iu(e={}){const{window:t=Te,behavior:n="auto"}=e;if(!t)return{x:ne(0),y:ne(0)};const r=ne(t.scrollX),s=ne(t.scrollY),o=se({get(){return r.value},set(l){scrollTo({left:l,behavior:n})}}),i=se({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return Le(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:o,y:i}}function lu(e={}){const{window:t=Te,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=ne(n),l=ne(r),c=()=>{t&&(o?(i.value=t.innerWidth,l.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),jr(c),Le("resize",c,{passive:!0}),s){const a=Ko("(orientation: portrait)");He(a,()=>c())}return{width:i,height:l}}const ea=window.__VP_SITE_DATA__,Yn={BASE_URL:"/ivue/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};var Xn={};const Yo=/^(?:[a-z]+:|\/\/)/i,ta="vitepress-theme-appearance",na=/#.*$/,ra=/[?#].*$/,sa=/(?:(^|\/)index)?\.(?:md|html)$/,fe=typeof document<"u",Xo={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function oa(e,t,n=!1){if(t===void 0)return!1;if(e=Rs(`/${e}`),n)return new RegExp(t).test(e);if(Rs(t)!==e)return!1;const r=t.match(na);return r?(fe?location.hash:"")===r[0]:!0}function Rs(e){return decodeURI(e).replace(ra,"").replace(sa,"$1")}function ia(e){return Yo.test(e)}function la(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!ia(n)&&oa(t,`/${n}/`,!0))||"root"}function ca(e,t){var r,s,o,i,l,c,a;const n=la(e,t);return Object.assign({},e,{localeIndex:n,lang:((r=e.locales[n])==null?void 0:r.lang)??e.lang,dir:((s=e.locales[n])==null?void 0:s.dir)??e.dir,title:((o=e.locales[n])==null?void 0:o.title)??e.title,titleTemplate:((i=e.locales[n])==null?void 0:i.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Qo(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(a=e.locales[n])==null?void 0:a.themeConfig}})}function Jo(e,t){const n=t.title||e.title,r=t.titleTemplate??e.titleTemplate;if(typeof r=="string"&&r.includes(":title"))return r.replace(/:title/g,n);const s=aa(e.title,r);return n===s.slice(3)?n:`${n}${s}`}function aa(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function ua(e,t){const[n,r]=t;if(n!=="meta")return!1;const s=Object.entries(r)[0];return s==null?!1:e.some(([o,i])=>o===n&&i[s[0]]===s[1])}function Qo(e,t){return[...e.filter(n=>!ua(t,n)),...t]}const fa=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,da=/^[a-z]:/i;function Is(e){const t=da.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(fa,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const Jn=new Set;function ha(e){if(Jn.size===0){const n=typeof process=="object"&&(Xn==null?void 0:Xn.VITE_EXTRA_EXTENSIONS)||(Yn==null?void 0:Yn.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(r=>Jn.add(r))}const t=e.split(".").pop();return t==null||!Jn.has(t.toLowerCase())}function cu(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const pa=Symbol(),ut=Rr(ea);function au(e){const t=se(()=>ca(ut.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?ne(!0):n?Qc({storageKey:ta,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):ne(!1),s=ne(fe?location.hash:"");return fe&&window.addEventListener("hashchange",()=>{s.value=location.hash}),He(()=>e.data,()=>{s.value=fe?location.hash:""}),{site:t,theme:se(()=>t.value.themeConfig),page:se(()=>e.data),frontmatter:se(()=>e.data.frontmatter),params:se(()=>e.data.params),lang:se(()=>t.value.lang),dir:se(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:se(()=>t.value.localeIndex||"root"),title:se(()=>Jo(t.value,e.data)),description:se(()=>e.data.description||t.value.description),isDark:r,hash:se(()=>s.value)}}function ga(){const e=_t(pa);if(!e)throw new Error("vitepress data not properly injected in app");return e}function ma(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Ms(e){return Yo.test(e)||!e.startsWith("/")?e:ma(ut.value.base,e)}function ya(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),fe){const n="/ivue/";t=Is(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let r=__VP_HASH_MAP__[t.toLowerCase()];if(r||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",r=__VP_HASH_MAP__[t.toLowerCase()]),!r)return null;t=`${n}assets/${t}.${r}.js`}else t=`./${Is(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let dn=[];function uu(e){dn.push(e),Ln(()=>{dn=dn.filter(t=>t!==e)})}function va(){let e=ut.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=Ps(e,n);else if(Array.isArray(e))for(const r of e){const s=Ps(r,n);if(s){t=s;break}}return t}function Ps(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}const _a=Symbol(),Zo="http://a.com",ba=()=>({path:"/",component:null,data:Xo});function fu(e,t){const n=An(ba()),r={route:n,go:s};async function s(l=fe?location.href:"/"){var c,a;l=Qn(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(fe&&l!==Qn(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await i(l),await((a=r.onAfterRouteChanged)==null?void 0:a.call(r,l)))}let o=null;async function i(l,c=0,a=!1){var p;if(await((p=r.onBeforePageLoad)==null?void 0:p.call(r,l))===!1)return;const f=new URL(l,Zo),h=o=f.pathname;try{let y=await e(h);if(!y)throw new Error(`Page not found: ${h}`);if(o===h){o=null;const{default:E,__pageData:x}=y;if(!E)throw new Error(`Invalid route component: ${E}`);n.path=fe?h:Ms(h),n.component=Mt(E),n.data=Mt(x),fe&&On(()=>{let H=ut.value.base+x.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!ut.value.cleanUrls&&!H.endsWith("/")&&(H+=".html"),H!==f.pathname&&(f.pathname=H,l=H+f.search+f.hash,history.replaceState({},"",l)),f.hash&&!c){let m=null;try{m=document.getElementById(decodeURIComponent(f.hash).slice(1))}catch(v){console.warn(v)}if(m){Fs(m,f.hash);return}}window.scrollTo(0,c)})}}catch(y){if(!/fetch|Page not found/.test(y.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(y),!a)try{const E=await fetch(ut.value.base+"hashmap.json");window.__VP_HASH_MAP__=await E.json(),await i(l,c,!0);return}catch{}if(o===h){o=null,n.path=fe?h:Ms(h),n.component=t?Mt(t):null;const E=fe?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...Xo,relativePath:E}}}}return fe&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const a=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(a==null)return;const{href:f,origin:h,pathname:p,hash:y,search:E}=new URL(a,c.baseURI),x=new URL(location.href);h===x.origin&&ha(p)&&(l.preventDefault(),p===x.pathname&&E===x.search?(y!==x.hash&&(history.pushState({},"",f),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:x.href,newURL:f}))),y?Fs(c,y,c.classList.contains("header-anchor")):window.scrollTo(0,0)):s(f))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await i(Qn(location.href),l.state&&l.state.scrollPosition||0),(c=r.onAfterRouteChanged)==null||c.call(r,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),r}function wa(){const e=_t(_a);if(!e)throw new Error("useRouter() is called without provider.");return e}function Go(){return wa().route}function Fs(e,t,n=!1){let r=null;try{r=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(s){console.warn(s)}if(r){let s=function(){!n||Math.abs(i-window.scrollY)>window.innerHeight?window.scrollTo(0,i):window.scrollTo({left:0,top:i,behavior:"smooth"})};const o=parseInt(window.getComputedStyle(r).paddingTop,10),i=window.scrollY+r.getBoundingClientRect().top-va()+o;requestAnimationFrame(s)}}function Qn(e){const t=new URL(e,Zo);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),ut.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const Zn=()=>dn.forEach(e=>e()),du=Pr({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Go(),{site:n}=ga();return()=>hr(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?hr(t.component,{onVnodeMounted:Zn,onVnodeUpdated:Zn,onVnodeUnmounted:Zn}):"404 Page Not Found"])}}),Ea="modulepreload",Ca=function(e){return"/ivue/"+e},Ls={},hu=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));s=Promise.all(n.map(l=>{if(l=Ca(l),l in Ls)return;Ls[l]=!0;const c=l.endsWith(".css"),a=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${a}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":Ea,c||(f.as="script",f.crossOrigin=""),f.href=l,i&&f.setAttribute("nonce",i),document.head.appendChild(f),c)return new Promise((h,p)=>{f.addEventListener("load",h),f.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}return s.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},pu=Pr({setup(e,{slots:t}){const n=ne(!1);return At(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function gu(){fe&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const r=(n=t.parentElement)==null?void 0:n.parentElement;if(!r)return;const s=Array.from(r.querySelectorAll("input")).indexOf(t);if(s<0)return;const o=r.querySelector(".blocks");if(!o)return;const i=Array.from(o.children).find(a=>a.classList.contains("active"));if(!i)return;const l=o.children[s];if(!l||i===l)return;i.classList.remove("active"),l.classList.add("active");const c=r==null?void 0:r.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function mu(){if(fe){const e=new WeakMap;window.addEventListener("click",t=>{var r;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,o=(r=n.nextElementSibling)==null?void 0:r.nextElementSibling;if(!s||!o)return;const i=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className),l=[".vp-copy-ignore",".diff.remove"],c=o.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(f=>f.remove());let a=c.textContent||"";i&&(a=a.replace(/^ *(\$|>) /gm,"").trim()),xa(a).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const f=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,f)})}})}}async function xa(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const r=document.getSelection(),s=r?r.rangeCount>0&&r.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),s&&(r.removeAllRanges(),r.addRange(s)),n&&n.focus()}}function yu(e,t){let n=!0,r=[];const s=o=>{if(n){n=!1,o.forEach(l=>{const c=Gn(l);for(const a of document.head.children)if(a.isEqualNode(c)){r.push(a);return}});return}const i=o.map(Gn);r.forEach((l,c)=>{const a=i.findIndex(f=>f==null?void 0:f.isEqualNode(l??null));a!==-1?delete i[a]:(l==null||l.remove(),delete r[c])}),i.forEach(l=>l&&document.head.appendChild(l)),r=[...r,...i].filter(Boolean)};Mr(()=>{const o=e.data,i=t.value,l=o&&o.description,c=o&&o.frontmatter.head||[],a=Jo(i,o);a!==document.title&&(document.title=a);const f=l||i.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==f&&h.setAttribute("content",f):Gn(["meta",{name:"description",content:f}]),s(Qo(i.head,Aa(c)))})}function Gn([e,t,n]){const r=document.createElement(e);for(const s in t)r.setAttribute(s,t[s]);return n&&(r.innerHTML=n),e==="script"&&!t.async&&(r.async=!1),r}function Ta(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Aa(e){return e.filter(t=>!Ta(t))}const er=new Set,ei=()=>document.createElement("link"),Sa=e=>{const t=ei();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Oa=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let cn;const Ra=fe&&(cn=ei())&&cn.relList&&cn.relList.supports&&cn.relList.supports("prefetch")?Sa:Oa;function vu(){if(!fe||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const r=()=>{n&&n.disconnect(),n=new IntersectionObserver(o=>{o.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:c}=l;if(!er.has(c)){er.add(c);const a=ya(c);a&&Ra(a)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(o=>{const{hostname:i,pathname:l}=new URL(o.href instanceof SVGAnimatedString?o.href.animVal:o.href,o.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||o.target!=="_blank"&&i===location.hostname&&(l!==location.pathname?n.observe(o):er.add(l))})})};At(r);const s=Go();He(()=>s.path,r),Ln(()=>{n&&n.disconnect()})}export{dl as $,La as A,wl as B,va as C,Da as D,$a as E,me as F,Rr as G,uu as H,ie as I,ja as J,Yo as K,Go as L,Xl as M,_t as N,lu as O,bn as P,tu as Q,On as R,iu as S,No as T,fe as U,Sn as V,Ia as W,Na as X,hu as Y,su as Z,Za as _,Mo as a,Xa as a0,Ua as a1,ho as a2,Ya as a3,qa as a4,Ka as a5,An as a6,Qi as a7,ru as a8,yu as a9,Ja as aA,cu as aB,vu as aa,mu as ab,gu as ac,hr as ad,_a as ae,au as af,pa as ag,du as ah,pu as ai,ut as aj,Qa as ak,fu as al,ya as am,Wo as an,$r as ao,eu as ap,ou as aq,nu as ar,Ga as as,wa as at,Le as au,Ha as av,za as aw,ae as ax,Ba as ay,Mt as az,Oo as b,Wa as c,Pr as d,Va as e,ha as f,Ms as g,se as h,ia as i,Io as j,Gs as k,Fa as l,oa as m,wn as n,Ao as o,Pa as p,Ko as q,ka as r,ne as s,Ma as t,ga as u,He as v,il as w,Mr as x,At as y,Ln as z};
@@ -0,0 +1 @@
1
+ import{a6 as p,h as g,a7 as b}from"./framework.CNtPHGsN.js";const f=new Map;function h(t){if(f.has(t))return f.get(t);const u=new Map;let n=t.prototype;for(;n.constructor!==Object;)Object.entries(Object.getOwnPropertyDescriptors(n)).forEach(([s,l])=>{const r=u.get(s);r!==l&&(l!=null&&l.get||l!=null&&l.set)&&(r!=null&&r.get&&(l.get=r==null?void 0:r.get),r!=null&&r.set&&(l.set=r==null?void 0:r.set),u.set(s,l))}),n=Object.getPrototypeOf(n);return f.set(t,u),u}function O(t,...u){var n,s;const l=h(t),r=l!=null&&l.size?{}:null,o=p(new t(...u));for(const[i,e]of l)((n=t==null?void 0:t.ivue)==null?void 0:n[i])!==!1&&Object.defineProperty(o,i,{get:e.get?()=>{var c,d;return i in r?r[i]:r[i]=g({get:(c=e.get)==null?void 0:c.bind(o),set:(d=e.set)==null?void 0:d.bind(o)})}:void 0,set:(s=e.set)==null?void 0:s.bind(o),enumerable:!1});return Object.defineProperty(o,"toRefs",{get:()=>w(o,l,r),enumerable:!1}),"init"in o&&o.init(),o}const a=new Map;function y(t){if(a.has(t.constructor))return a.get(t.constructor);const u=t.constructor,n=new Set;do Object.getOwnPropertyNames(t).forEach(s=>{["caller","callee","arguments","constructor"].includes(s)||n.add(s)}),t=Object.getPrototypeOf(t);while(t.constructor!==Object);return a.set(u,n),n}function w(t,u,n){return function(s){var l,r;const o={};if(Array.isArray(s)&&s.length)for(let i=0;i<s.length;i++){const e=s[i];if(u.has(e))if(e in n)o[e]=n[e];else{const c=u.get(e);o[e]=n[e]=g({get:(l=c==null?void 0:c.get)==null?void 0:l.bind(t),set:(r=c==null?void 0:c.set)==null?void 0:r.bind(t)})}else typeof t[e]=="function"?o[e]=t[e].bind(t):o[e]=b(t,e)}else{let i=new Set(y(t));u.forEach((e,c)=>{var d,v;c in n?o[c]=n[c]:o[c]=n[c]=g({get:(d=e.get)==null?void 0:d.bind(t),set:(v=e.set)==null?void 0:v.bind(t)}),i==null||i.delete(c)}),i.forEach(e=>{typeof t[e]=="function"?o[e]=t[e].bind(t):o[e]=b(t,e),i==null||i.delete(e)}),i=null}return o}}export{O as x};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.C7VDyivS.js","assets/chunks/framework.CNtPHGsN.js"])))=>i.map(i=>d[i]);
2
+ import{d as p,o as i,c,r,n as w,a as D,t as T,b as k,w as d,e as m,T as ve,_ as b,u as Ge,i as Ue,f as je,g as he,h as y,j as v,k as s,p as A,l as B,m as K,q as le,s as I,v as O,x as Q,y as q,z as fe,A as me,B as ze,C as Ke,F as N,D as C,E as W,G as Pe,H as Z,I as _,J as E,K as Ve,L as ee,M as z,N as te,O as qe,P as Le,Q as re,R as We,S as Se,U as ne,V as Re,W as Te,X as Je,Y as Xe,Z as Ie,$ as we,a0 as Ye,a1 as Qe,a2 as Ze,a3 as et,a4 as tt}from"./framework.CNtPHGsN.js";const nt=p({__name:"VPBadge",props:{text:null,type:{default:"tip"}},setup(e){return(t,n)=>(i(),c("span",{class:w(["VPBadge",e.type])},[r(t.$slots,"default",{},()=>[D(T(e.text),1)])],2))}}),at={key:0,class:"VPBackdrop"},ot=p({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(i(),k(ve,{name:"fade"},{default:d(()=>[e.show?(i(),c("div",at)):m("",!0)]),_:1}))}}),st=b(ot,[["__scopeId","data-v-c79a1216"]]),P=Ge;function it(e,t){let n,a=!1;return()=>{n&&clearTimeout(n),a?n=setTimeout(e,t):(e(),(a=!0)&&setTimeout(()=>a=!1,t))}}function ce(e){return/^\//.test(e)?e:`/${e}`}function pe(e){const{pathname:t,search:n,hash:a,protocol:o}=new URL(e,"http://a.com");if(Ue(e)||e.startsWith("#")||!o.startsWith("http")||!je(t))return e;const{site:l}=P(),u=t.endsWith("/")||t.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,l.value.cleanUrls?"":".html")}${n}${a}`);return he(u)}function J({correspondingLink:e=!1}={}){const{site:t,localeIndex:n,page:a,theme:o,hash:l}=P(),u=y(()=>{var h,$;return{label:(h=t.value.locales[n.value])==null?void 0:h.label,link:(($=t.value.locales[n.value])==null?void 0:$.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:y(()=>Object.entries(t.value.locales).flatMap(([h,$])=>u.value.label===$.label?[]:{text:$.label,link:lt($.link||(h==="root"?"/":`/${h}/`),o.value.i18nRouting!==!1&&e,a.value.relativePath.slice(u.value.link.length-1),!t.value.cleanUrls)+l.value})),currentLang:u}}function lt(e,t,n,a){return t?e.replace(/\/$/,"")+ce(n.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,a?".html":"")):e}const rt=e=>(A("data-v-d6be1790"),e=e(),B(),e),ct={class:"NotFound"},ut={class:"code"},dt={class:"title"},vt=rt(()=>v("div",{class:"divider"},null,-1)),ht={class:"quote"},ft={class:"action"},mt=["href","aria-label"],pt=p({__name:"NotFound",setup(e){const{theme:t}=P(),{currentLang:n}=J();return(a,o)=>{var l,u,f,h,$;return i(),c("div",ct,[v("p",ut,T(((l=s(t).notFound)==null?void 0:l.code)??"404"),1),v("h1",dt,T(((u=s(t).notFound)==null?void 0:u.title)??"PAGE NOT FOUND"),1),vt,v("blockquote",ht,T(((f=s(t).notFound)==null?void 0:f.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),v("div",ft,[v("a",{class:"link",href:s(he)(s(n).link),"aria-label":((h=s(t).notFound)==null?void 0:h.linkLabel)??"go to home"},T((($=s(t).notFound)==null?void 0:$.linkText)??"Take me home"),9,mt)])])}}}),_t=b(pt,[["__scopeId","data-v-d6be1790"]]);function Ne(e,t){if(Array.isArray(e))return X(e);if(e==null)return[];t=ce(t);const n=Object.keys(e).sort((o,l)=>l.split("/").length-o.split("/").length).find(o=>t.startsWith(ce(o))),a=n?e[n]:[];return Array.isArray(a)?X(a):X(a.items,a.base)}function kt(e){const t=[];let n=0;for(const a in e){const o=e[a];if(o.items){n=t.push(o);continue}t[n]||t.push({items:[]}),t[n].items.push(o)}return t}function bt(e){const t=[];function n(a){for(const o of a)o.text&&o.link&&t.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&n(o.items)}return n(e),t}function ue(e,t){return Array.isArray(t)?t.some(n=>ue(e,n)):K(e,t.link)?!0:t.items?ue(e,t.items):!1}function X(e,t){return[...e].map(n=>{const a={...n},o=a.base||t;return o&&a.link&&(a.link=o+a.link),a.items&&(a.items=X(a.items,o)),a})}function G(){const{frontmatter:e,page:t,theme:n}=P(),a=le("(min-width: 960px)"),o=I(!1),l=y(()=>{const M=n.value.sidebar,H=t.value.relativePath;return M?Ne(M,H):[]}),u=I(l.value);O(l,(M,H)=>{JSON.stringify(M)!==JSON.stringify(H)&&(u.value=l.value)});const f=y(()=>e.value.sidebar!==!1&&u.value.length>0&&e.value.layout!=="home"),h=y(()=>$?e.value.aside==null?n.value.aside==="left":e.value.aside==="left":!1),$=y(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:n.value.aside!==!1),L=y(()=>f.value&&a.value),g=y(()=>f.value?kt(u.value):[]);function V(){o.value=!0}function S(){o.value=!1}function x(){o.value?S():V()}return{isOpen:o,sidebar:u,sidebarGroups:g,hasSidebar:f,hasAside:$,leftAside:h,isSidebarEnabled:L,open:V,close:S,toggle:x}}function $t(e,t){let n;Q(()=>{n=e.value?document.activeElement:void 0}),q(()=>{window.addEventListener("keyup",a)}),fe(()=>{window.removeEventListener("keyup",a)});function a(o){o.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}function gt(e){const{page:t,hash:n}=P(),a=I(!1),o=y(()=>e.value.collapsed!=null),l=y(()=>!!e.value.link),u=I(!1),f=()=>{u.value=K(t.value.relativePath,e.value.link)};O([t,e,n],f),q(f);const h=y(()=>u.value?!0:e.value.items?ue(t.value.relativePath,e.value.items):!1),$=y(()=>!!(e.value.items&&e.value.items.length));Q(()=>{a.value=!!(o.value&&e.value.collapsed)}),me(()=>{(u.value||h.value)&&(a.value=!1)});function L(){o.value&&(a.value=!a.value)}return{collapsed:a,collapsible:o,isLink:l,isActiveLink:u,hasActiveLink:h,hasChildren:$,toggle:L}}function yt(){const{hasSidebar:e}=G(),t=le("(min-width: 960px)"),n=le("(min-width: 1280px)");return{isAsideEnabled:y(()=>!n.value&&!t.value?!1:e.value?n.value:t.value)}}const de=[];function xe(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function _e(e){const t=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(n=>n.id&&n.hasChildNodes()).map(n=>{const a=Number(n.tagName[1]);return{element:n,title:Pt(n),link:"#"+n.id,level:a}});return Vt(t,e)}function Pt(e){let t="";for(const n of e.childNodes)if(n.nodeType===1){if(n.classList.contains("VPBadge")||n.classList.contains("header-anchor")||n.classList.contains("ignore-header"))continue;t+=n.textContent}else n.nodeType===3&&(t+=n.textContent);return t.trim()}function Vt(e,t){if(t===!1)return[];const n=(typeof t=="object"&&!Array.isArray(t)?t.level:t)||2,[a,o]=typeof n=="number"?[n,n]:n==="deep"?[2,6]:n;e=e.filter(u=>u.level>=a&&u.level<=o),de.length=0;for(const{element:u,link:f}of e)de.push({element:u,link:f});const l=[];e:for(let u=0;u<e.length;u++){const f=e[u];if(u===0)l.push(f);else{for(let h=u-1;h>=0;h--){const $=e[h];if($.level<f.level){($.children||($.children=[])).push(f);continue e}}l.push(f)}}return l}function Lt(e,t){const{isAsideEnabled:n}=yt(),a=it(l,100);let o=null;q(()=>{requestAnimationFrame(l),window.addEventListener("scroll",a)}),ze(()=>{u(location.hash)}),fe(()=>{window.removeEventListener("scroll",a)});function l(){if(!n.value)return;const f=window.scrollY,h=window.innerHeight,$=document.body.offsetHeight,L=Math.abs(f+h-$)<1,g=de.map(({element:S,link:x})=>({link:x,top:St(S)})).filter(({top:S})=>!Number.isNaN(S)).sort((S,x)=>S.top-x.top);if(!g.length){u(null);return}if(f<1){u(null);return}if(L){u(g[g.length-1].link);return}let V=null;for(const{link:S,top:x}of g){if(x>f+Ke()+4)break;V=S}u(V)}function u(f){o&&o.classList.remove("active"),f==null?o=null:o=e.value.querySelector(`a[href="${decodeURIComponent(f)}"]`);const h=o;h?(h.classList.add("active"),t.value.style.top=h.offsetTop+39+"px",t.value.style.opacity="1"):(t.value.style.top="33px",t.value.style.opacity="0")}}function St(e){let t=0;for(;e!==document.body;){if(e===null)return NaN;t+=e.offsetTop,e=e.offsetParent}return t}const Tt=["href","title"],It=p({__name:"VPDocOutlineItem",props:{headers:null,root:{type:Boolean}},setup(e){function t({target:n}){const a=n.href.split("#")[1],o=document.getElementById(decodeURIComponent(a));o==null||o.focus({preventScroll:!0})}return(n,a)=>{const o=W("VPDocOutlineItem",!0);return i(),c("ul",{class:w(["VPDocOutlineItem",e.root?"root":"nested"])},[(i(!0),c(N,null,C(e.headers,({children:l,link:u,title:f})=>(i(),c("li",null,[v("a",{class:"outline-link",href:u,onClick:t,title:f},T(f),9,Tt),l!=null&&l.length?(i(),k(o,{key:0,headers:l},null,8,["headers"])):m("",!0)]))),256))],2)}}}),Me=b(It,[["__scopeId","data-v-b933a997"]]),wt={class:"content"},Nt={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},xt=p({__name:"VPDocAsideOutline",setup(e){const{frontmatter:t,theme:n}=P(),a=Pe([]);Z(()=>{a.value=_e(t.value.outline??n.value.outline)});const o=I(),l=I();return Lt(o,l),(u,f)=>(i(),c("nav",{"aria-labelledby":"doc-outline-aria-label",class:w(["VPDocAsideOutline",{"has-outline":s(a).length>0}]),ref_key:"container",ref:o},[v("div",wt,[v("div",{class:"outline-marker",ref_key:"marker",ref:l},null,512),v("div",Nt,T(s(xe)(s(n))),1),_(Me,{headers:s(a),root:!0},null,8,["headers"])])],2))}}),Mt=b(xt,[["__scopeId","data-v-a5bbad30"]]),At={class:"VPDocAsideCarbonAds"},Bt=p({__name:"VPDocAsideCarbonAds",props:{carbonAds:null},setup(e){const t=()=>null;return(n,a)=>(i(),c("div",At,[_(s(t),{"carbon-ads":e.carbonAds},null,8,["carbon-ads"])]))}}),Ct=e=>(A("data-v-3f215769"),e=e(),B(),e),Ht={class:"VPDocAside"},Et=Ct(()=>v("div",{class:"spacer"},null,-1)),Ft=p({__name:"VPDocAside",setup(e){const{theme:t}=P();return(n,a)=>(i(),c("div",Ht,[r(n.$slots,"aside-top",{},void 0,!0),r(n.$slots,"aside-outline-before",{},void 0,!0),_(Mt),r(n.$slots,"aside-outline-after",{},void 0,!0),Et,r(n.$slots,"aside-ads-before",{},void 0,!0),s(t).carbonAds?(i(),k(Bt,{key:0,"carbon-ads":s(t).carbonAds},null,8,["carbon-ads"])):m("",!0),r(n.$slots,"aside-ads-after",{},void 0,!0),r(n.$slots,"aside-bottom",{},void 0,!0)]))}}),Dt=b(Ft,[["__scopeId","data-v-3f215769"]]);function Ot(){const{theme:e,page:t}=P();return y(()=>{const{text:n="Edit this page",pattern:a=""}=e.value.editLink||{};let o;return typeof a=="function"?o=a(t.value):o=a.replace(/:path/g,t.value.filePath),{url:o,text:n}})}function Gt(){const{page:e,theme:t,frontmatter:n}=P();return y(()=>{var $,L,g,V,S,x,M,H;const a=Ne(t.value.sidebar,e.value.relativePath),o=bt(a),l=Ut(o,U=>U.link.replace(/[?#].*$/,"")),u=l.findIndex(U=>K(e.value.relativePath,U.link)),f=(($=t.value.docFooter)==null?void 0:$.prev)===!1&&!n.value.prev||n.value.prev===!1,h=((L=t.value.docFooter)==null?void 0:L.next)===!1&&!n.value.next||n.value.next===!1;return{prev:f?void 0:{text:(typeof n.value.prev=="string"?n.value.prev:typeof n.value.prev=="object"?n.value.prev.text:void 0)??((g=l[u-1])==null?void 0:g.docFooterText)??((V=l[u-1])==null?void 0:V.text),link:(typeof n.value.prev=="object"?n.value.prev.link:void 0)??((S=l[u-1])==null?void 0:S.link)},next:h?void 0:{text:(typeof n.value.next=="string"?n.value.next:typeof n.value.next=="object"?n.value.next.text:void 0)??((x=l[u+1])==null?void 0:x.docFooterText)??((M=l[u+1])==null?void 0:M.text),link:(typeof n.value.next=="object"?n.value.next.link:void 0)??((H=l[u+1])==null?void 0:H.link)}}})}function Ut(e,t){const n=new Set;return e.filter(a=>{const o=t(a);return n.has(o)?!1:n.add(o)})}const F=p({__name:"VPLink",props:{tag:null,href:null,noIcon:{type:Boolean},target:null,rel:null},setup(e){const t=e,n=y(()=>t.tag??(t.href?"a":"span")),a=y(()=>t.href&&Ve.test(t.href)||t.target==="_blank");return(o,l)=>(i(),k(E(s(n)),{class:w(["VPLink",{link:e.href,"vp-external-link-icon":s(a),"no-icon":e.noIcon}]),href:e.href?s(pe)(e.href):void 0,target:e.target??(s(a)?"_blank":void 0),rel:e.rel??(s(a)?"noreferrer":void 0)},{default:d(()=>[r(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),jt={class:"VPLastUpdated"},zt=["datetime"],Kt=p({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:n,lang:a}=P(),o=y(()=>new Date(n.value.lastUpdated)),l=y(()=>o.value.toISOString()),u=I("");return q(()=>{Q(()=>{var f,h,$;u.value=new Intl.DateTimeFormat((h=(f=t.value.lastUpdated)==null?void 0:f.formatOptions)!=null&&h.forceLocale?a.value:void 0,(($=t.value.lastUpdated)==null?void 0:$.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(o.value)})}),(f,h)=>{var $;return i(),c("p",jt,[D(T((($=s(t).lastUpdated)==null?void 0:$.text)||s(t).lastUpdatedText||"Last updated")+": ",1),v("time",{datetime:s(l)},T(u.value),9,zt)])}}}),qt=b(Kt,[["__scopeId","data-v-e98dd255"]]),Ae=e=>(A("data-v-e257564d"),e=e(),B(),e),Wt={key:0,class:"VPDocFooter"},Rt={key:0,class:"edit-info"},Jt={key:0,class:"edit-link"},Xt=Ae(()=>v("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Yt={key:1,class:"last-updated"},Qt={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Zt=Ae(()=>v("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),en={class:"pager"},tn=["innerHTML"],nn=["innerHTML"],an={class:"pager"},on=["innerHTML"],sn=["innerHTML"],ln=p({__name:"VPDocFooter",setup(e){const{theme:t,page:n,frontmatter:a}=P(),o=Ot(),l=Gt(),u=y(()=>t.value.editLink&&a.value.editLink!==!1),f=y(()=>n.value.lastUpdated),h=y(()=>u.value||f.value||l.value.prev||l.value.next);return($,L)=>{var g,V,S,x;return s(h)?(i(),c("footer",Wt,[r($.$slots,"doc-footer-before",{},void 0,!0),s(u)||s(f)?(i(),c("div",Rt,[s(u)?(i(),c("div",Jt,[_(F,{class:"edit-link-button",href:s(o).url,"no-icon":!0},{default:d(()=>[Xt,D(" "+T(s(o).text),1)]),_:1},8,["href"])])):m("",!0),s(f)?(i(),c("div",Yt,[_(qt)])):m("",!0)])):m("",!0),(g=s(l).prev)!=null&&g.link||(V=s(l).next)!=null&&V.link?(i(),c("nav",Qt,[Zt,v("div",en,[(S=s(l).prev)!=null&&S.link?(i(),k(F,{key:0,class:"pager-link prev",href:s(l).prev.link},{default:d(()=>{var M;return[v("span",{class:"desc",innerHTML:((M=s(t).docFooter)==null?void 0:M.prev)||"Previous page"},null,8,tn),v("span",{class:"title",innerHTML:s(l).prev.text},null,8,nn)]}),_:1},8,["href"])):m("",!0)]),v("div",an,[(x=s(l).next)!=null&&x.link?(i(),k(F,{key:0,class:"pager-link next",href:s(l).next.link},{default:d(()=>{var M;return[v("span",{class:"desc",innerHTML:((M=s(t).docFooter)==null?void 0:M.next)||"Next page"},null,8,on),v("span",{class:"title",innerHTML:s(l).next.text},null,8,sn)]}),_:1},8,["href"])):m("",!0)])])):m("",!0)])):m("",!0)}}}),rn=b(ln,[["__scopeId","data-v-e257564d"]]),cn=e=>(A("data-v-39a288b8"),e=e(),B(),e),un={class:"container"},dn=cn(()=>v("div",{class:"aside-curtain"},null,-1)),vn={class:"aside-container"},hn={class:"aside-content"},fn={class:"content"},mn={class:"content-container"},pn={class:"main"},_n=p({__name:"VPDoc",setup(e){const{theme:t}=P(),n=ee(),{hasSidebar:a,hasAside:o,leftAside:l}=G(),u=y(()=>n.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(f,h)=>{const $=W("Content");return i(),c("div",{class:w(["VPDoc",{"has-sidebar":s(a),"has-aside":s(o)}])},[r(f.$slots,"doc-top",{},void 0,!0),v("div",un,[s(o)?(i(),c("div",{key:0,class:w(["aside",{"left-aside":s(l)}])},[dn,v("div",vn,[v("div",hn,[_(Dt,null,{"aside-top":d(()=>[r(f.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":d(()=>[r(f.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":d(()=>[r(f.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[r(f.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[r(f.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[r(f.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):m("",!0),v("div",fn,[v("div",mn,[r(f.$slots,"doc-before",{},void 0,!0),v("main",pn,[_($,{class:w(["vp-doc",[s(u),s(t).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),_(rn,null,{"doc-footer-before":d(()=>[r(f.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),r(f.$slots,"doc-after",{},void 0,!0)])])]),r(f.$slots,"doc-bottom",{},void 0,!0)],2)}}}),kn=b(_n,[["__scopeId","data-v-39a288b8"]]),bn=p({__name:"VPButton",props:{tag:null,size:{default:"medium"},theme:{default:"brand"},text:null,href:null,target:null,rel:null},setup(e){const t=e,n=y(()=>t.href&&Ve.test(t.href)),a=y(()=>t.tag||t.href?"a":"button");return(o,l)=>(i(),k(E(s(a)),{class:w(["VPButton",[e.size,e.theme]]),href:e.href?s(pe)(e.href):void 0,target:t.target??(s(n)?"_blank":void 0),rel:t.rel??(s(n)?"noreferrer":void 0)},{default:d(()=>[D(T(e.text),1)]),_:1},8,["class","href","target","rel"]))}}),$n=b(bn,[["__scopeId","data-v-cad61b99"]]),gn=["src","alt"],yn=p({__name:"VPImage",props:{image:null,alt:null},setup(e){return defineOptions({inheritAttrs:!1}),(t,n)=>{const a=W("VPImage",!0);return e.image?(i(),c(N,{key:0},[typeof e.image=="string"||"src"in e.image?(i(),c("img",z({key:0,class:"VPImage"},typeof e.image=="string"?t.$attrs:{...e.image,...t.$attrs},{src:s(he)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,gn)):(i(),c(N,{key:1},[_(a,z({class:"dark",image:e.image.dark,alt:e.image.alt},t.$attrs),null,16,["image","alt"]),_(a,z({class:"light",image:e.image.light,alt:e.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):m("",!0)}}}),Y=b(yn,[["__scopeId","data-v-8426fc1a"]]),Pn=e=>(A("data-v-303bb580"),e=e(),B(),e),Vn={class:"container"},Ln={class:"main"},Sn={key:0,class:"name"},Tn=["innerHTML"],In=["innerHTML"],wn=["innerHTML"],Nn={key:0,class:"actions"},xn={key:0,class:"image"},Mn={class:"image-container"},An=Pn(()=>v("div",{class:"image-bg"},null,-1)),Bn=p({__name:"VPHero",props:{name:null,text:null,tagline:null,image:null,actions:null},setup(e){const t=te("hero-image-slot-exists");return(n,a)=>(i(),c("div",{class:w(["VPHero",{"has-image":e.image||s(t)}])},[v("div",Vn,[v("div",Ln,[r(n.$slots,"home-hero-info-before",{},void 0,!0),r(n.$slots,"home-hero-info",{},()=>[e.name?(i(),c("h1",Sn,[v("span",{innerHTML:e.name,class:"clip"},null,8,Tn)])):m("",!0),e.text?(i(),c("p",{key:1,innerHTML:e.text,class:"text"},null,8,In)):m("",!0),e.tagline?(i(),c("p",{key:2,innerHTML:e.tagline,class:"tagline"},null,8,wn)):m("",!0)],!0),r(n.$slots,"home-hero-info-after",{},void 0,!0),e.actions?(i(),c("div",Nn,[(i(!0),c(N,null,C(e.actions,o=>(i(),c("div",{key:o.link,class:"action"},[_($n,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link,target:o.target,rel:o.rel},null,8,["theme","text","href","target","rel"])]))),128))])):m("",!0),r(n.$slots,"home-hero-actions-after",{},void 0,!0)]),e.image||s(t)?(i(),c("div",xn,[v("div",Mn,[An,r(n.$slots,"home-hero-image",{},()=>[e.image?(i(),k(Y,{key:0,class:"image-src",image:e.image},null,8,["image"])):m("",!0)],!0)])])):m("",!0)])],2))}}),Cn=b(Bn,[["__scopeId","data-v-303bb580"]]),Hn=p({__name:"VPHomeHero",setup(e){const{frontmatter:t}=P();return(n,a)=>s(t).hero?(i(),k(Cn,{key:0,class:"VPHomeHero",name:s(t).hero.name,text:s(t).hero.text,tagline:s(t).hero.tagline,image:s(t).hero.image,actions:s(t).hero.actions},{"home-hero-info-before":d(()=>[r(n.$slots,"home-hero-info-before")]),"home-hero-info":d(()=>[r(n.$slots,"home-hero-info")]),"home-hero-info-after":d(()=>[r(n.$slots,"home-hero-info-after")]),"home-hero-actions-after":d(()=>[r(n.$slots,"home-hero-actions-after")]),"home-hero-image":d(()=>[r(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):m("",!0)}}),En=e=>(A("data-v-a3976bdc"),e=e(),B(),e),Fn={class:"box"},Dn={key:0,class:"icon"},On=["innerHTML"],Gn=["innerHTML"],Un=["innerHTML"],jn={key:4,class:"link-text"},zn={class:"link-text-value"},Kn=En(()=>v("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),qn=p({__name:"VPFeature",props:{icon:null,title:null,details:null,link:null,linkText:null,rel:null,target:null},setup(e){return(t,n)=>(i(),k(F,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:d(()=>[v("article",Fn,[typeof e.icon=="object"&&e.icon.wrap?(i(),c("div",Dn,[_(Y,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(i(),k(Y,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(i(),c("div",{key:2,class:"icon",innerHTML:e.icon},null,8,On)):m("",!0),v("h2",{class:"title",innerHTML:e.title},null,8,Gn),e.details?(i(),c("p",{key:3,class:"details",innerHTML:e.details},null,8,Un)):m("",!0),e.linkText?(i(),c("div",jn,[v("p",zn,[D(T(e.linkText)+" ",1),Kn])])):m("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Wn=b(qn,[["__scopeId","data-v-a3976bdc"]]),Rn={key:0,class:"VPFeatures"},Jn={class:"container"},Xn={class:"items"},Yn=p({__name:"VPFeatures",props:{features:null},setup(e){const t=e,n=y(()=>{const a=t.features.length;if(a){if(a===2)return"grid-2";if(a===3)return"grid-3";if(a%3===0)return"grid-6";if(a>3)return"grid-4"}else return});return(a,o)=>e.features?(i(),c("div",Rn,[v("div",Jn,[v("div",Xn,[(i(!0),c(N,null,C(e.features,l=>(i(),c("div",{key:l.title,class:w(["item",[s(n)]])},[_(Wn,{icon:l.icon,title:l.title,details:l.details,link:l.link,"link-text":l.linkText,rel:l.rel,target:l.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):m("",!0)}}),Qn=b(Yn,[["__scopeId","data-v-a6181336"]]),Zn=p({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=P();return(n,a)=>s(t).features?(i(),k(Qn,{key:0,class:"VPHomeFeatures",features:s(t).features},null,8,["features"])):m("",!0)}}),ea=p({__name:"VPHomeContent",setup(e){const{width:t}=qe({initialWidth:0,includeScrollbar:!1});return(n,a)=>(i(),c("div",{class:"vp-doc container",style:Le(s(t)?{"--vp-offset":`calc(50% - ${s(t)/2}px)`}:{})},[r(n.$slots,"default",{},void 0,!0)],4))}}),ta=b(ea,[["__scopeId","data-v-8e2d4988"]]),na={class:"VPHome"},aa=p({__name:"VPHome",setup(e){const{frontmatter:t}=P();return(n,a)=>{const o=W("Content");return i(),c("div",na,[r(n.$slots,"home-hero-before",{},void 0,!0),_(Hn,null,{"home-hero-info-before":d(()=>[r(n.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[r(n.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[r(n.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[r(n.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[r(n.$slots,"home-hero-image",{},void 0,!0)]),_:3}),r(n.$slots,"home-hero-after",{},void 0,!0),r(n.$slots,"home-features-before",{},void 0,!0),_(Zn),r(n.$slots,"home-features-after",{},void 0,!0),s(t).markdownStyles!==!1?(i(),k(ta,{key:0},{default:d(()=>[_(o)]),_:1})):(i(),k(o,{key:1}))])}}}),oa=b(aa,[["__scopeId","data-v-686f80a6"]]),sa={},ia={class:"VPPage"};function la(e,t){const n=W("Content");return i(),c("div",ia,[r(e.$slots,"page-top"),_(n),r(e.$slots,"page-bottom")])}const ra=b(sa,[["render",la]]),ca=p({__name:"VPContent",setup(e){const{page:t,frontmatter:n}=P(),{hasSidebar:a}=G();return(o,l)=>(i(),c("div",{class:w(["VPContent",{"has-sidebar":s(a),"is-home":s(n).layout==="home"}]),id:"VPContent"},[s(t).isNotFound?r(o.$slots,"not-found",{key:0},()=>[_(_t)],!0):s(n).layout==="page"?(i(),k(ra,{key:1},{"page-top":d(()=>[r(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":d(()=>[r(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):s(n).layout==="home"?(i(),k(oa,{key:2},{"home-hero-before":d(()=>[r(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":d(()=>[r(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[r(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[r(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[r(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[r(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":d(()=>[r(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":d(()=>[r(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":d(()=>[r(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):s(n).layout&&s(n).layout!=="doc"?(i(),k(E(s(n).layout),{key:3})):(i(),k(kn,{key:4},{"doc-top":d(()=>[r(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":d(()=>[r(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":d(()=>[r(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":d(()=>[r(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":d(()=>[r(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":d(()=>[r(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":d(()=>[r(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[r(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[r(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[r(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":d(()=>[r(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),ua=b(ca,[["__scopeId","data-v-1428d186"]]),da={class:"container"},va=["innerHTML"],ha=["innerHTML"],fa=p({__name:"VPFooter",setup(e){const{theme:t,frontmatter:n}=P(),{hasSidebar:a}=G();return(o,l)=>s(t).footer&&s(n).footer!==!1?(i(),c("footer",{key:0,class:w(["VPFooter",{"has-sidebar":s(a)}])},[v("div",da,[s(t).footer.message?(i(),c("p",{key:0,class:"message",innerHTML:s(t).footer.message},null,8,va)):m("",!0),s(t).footer.copyright?(i(),c("p",{key:1,class:"copyright",innerHTML:s(t).footer.copyright},null,8,ha)):m("",!0)])],2)):m("",!0)}}),ma=b(fa,[["__scopeId","data-v-e315a0ad"]]);function pa(){const{theme:e,frontmatter:t}=P(),n=Pe([]),a=y(()=>n.value.length>0);return Z(()=>{n.value=_e(t.value.outline??e.value.outline)}),{headers:n,hasLocalNav:a}}const _a=e=>(A("data-v-17a5e62e"),e=e(),B(),e),ka={class:"menu-text"},ba=_a(()=>v("span",{class:"vpi-chevron-right icon"},null,-1)),$a={class:"header"},ga={class:"outline"},ya=p({__name:"VPLocalNavOutlineDropdown",props:{headers:null,navHeight:null},setup(e){const t=e,{theme:n}=P(),a=I(!1),o=I(0),l=I(),u=I();function f(g){var V;(V=l.value)!=null&&V.contains(g.target)||(a.value=!1)}O(a,g=>{if(g){document.addEventListener("click",f);return}document.removeEventListener("click",f)}),re("Escape",()=>{a.value=!1}),Z(()=>{a.value=!1});function h(){a.value=!a.value,o.value=window.innerHeight+Math.min(window.scrollY-t.navHeight,0)}function $(g){g.target.classList.contains("outline-link")&&(u.value&&(u.value.style.transition="none"),We(()=>{a.value=!1}))}function L(){a.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(g,V)=>(i(),c("div",{class:"VPLocalNavOutlineDropdown",style:Le({"--vp-vh":o.value+"px"}),ref_key:"main",ref:l},[e.headers.length>0?(i(),c("button",{key:0,onClick:h,class:w({open:a.value})},[v("span",ka,T(s(xe)(s(n))),1),ba],2)):(i(),c("button",{key:1,onClick:L},T(s(n).returnToTopLabel||"Return to top"),1)),_(ve,{name:"flyout"},{default:d(()=>[a.value?(i(),c("div",{key:0,ref_key:"items",ref:u,class:"items",onClick:$},[v("div",$a,[v("a",{class:"top-link",href:"#",onClick:L},T(s(n).returnToTopLabel||"Return to top"),1)]),v("div",ga,[_(Me,{headers:e.headers},null,8,["headers"])])],512)):m("",!0)]),_:1})],4))}}),Pa=b(ya,[["__scopeId","data-v-17a5e62e"]]),Va=e=>(A("data-v-a6f0e41e"),e=e(),B(),e),La={class:"container"},Sa=["aria-expanded"],Ta=Va(()=>v("span",{class:"vpi-align-left menu-icon"},null,-1)),Ia={class:"menu-text"},wa=p({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:t,frontmatter:n}=P(),{hasSidebar:a}=G(),{headers:o}=pa(),{y:l}=Se(),u=I(0);q(()=>{u.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Z(()=>{o.value=_e(n.value.outline??t.value.outline)});const f=y(()=>o.value.length===0),h=y(()=>f.value&&!a.value),$=y(()=>({VPLocalNav:!0,"has-sidebar":a.value,empty:f.value,fixed:h.value}));return(L,g)=>s(n).layout!=="home"&&(!s(h)||s(l)>=u.value)?(i(),c("div",{key:0,class:w(s($))},[v("div",La,[s(a)?(i(),c("button",{key:0,class:"menu","aria-expanded":e.open,"aria-controls":"VPSidebarNav",onClick:g[0]||(g[0]=V=>L.$emit("open-menu"))},[Ta,v("span",Ia,T(s(t).sidebarMenuLabel||"Menu"),1)],8,Sa)):m("",!0),_(Pa,{headers:s(o),navHeight:u.value},null,8,["headers","navHeight"])])],2)):m("",!0)}}),Na=b(wa,[["__scopeId","data-v-a6f0e41e"]]);function xa(){const e=I(!1);function t(){e.value=!0,window.addEventListener("resize",o)}function n(){e.value=!1,window.removeEventListener("resize",o)}function a(){e.value?n():t()}function o(){window.outerWidth>=768&&n()}const l=ee();return O(()=>l.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:a}}const Ma={},Aa={class:"VPSwitch",type:"button",role:"switch"},Ba={class:"check"},Ca={key:0,class:"icon"};function Ha(e,t){return i(),c("button",Aa,[v("span",Ba,[e.$slots.default?(i(),c("span",Ca,[r(e.$slots,"default",{},void 0,!0)])):m("",!0)])])}const Ea=b(Ma,[["render",Ha],["__scopeId","data-v-1d5665e3"]]),Be=e=>(A("data-v-5337faa4"),e=e(),B(),e),Fa=Be(()=>v("span",{class:"vpi-sun sun"},null,-1)),Da=Be(()=>v("span",{class:"vpi-moon moon"},null,-1)),Oa=p({__name:"VPSwitchAppearance",setup(e){const{isDark:t,theme:n}=P(),a=te("toggle-appearance",()=>{t.value=!t.value}),o=I("");return me(()=>{o.value=t.value?n.value.lightModeSwitchTitle||"Switch to light theme":n.value.darkModeSwitchTitle||"Switch to dark theme"}),(l,u)=>(i(),k(Ea,{title:o.value,class:"VPSwitchAppearance","aria-checked":s(t),onClick:s(a)},{default:d(()=>[Fa,Da]),_:1},8,["title","aria-checked","onClick"]))}}),ke=b(Oa,[["__scopeId","data-v-5337faa4"]]),Ga={key:0,class:"VPNavBarAppearance"},Ua=p({__name:"VPNavBarAppearance",setup(e){const{site:t}=P();return(n,a)=>s(t).appearance&&s(t).appearance!=="force-dark"&&s(t).appearance!=="force-auto"?(i(),c("div",Ga,[_(ke)])):m("",!0)}}),ja=b(Ua,[["__scopeId","data-v-6c893767"]]),be=I();let Ce=!1,ie=0;function za(e){const t=I(!1);if(ne){!Ce&&Ka(),ie++;const n=O(be,a=>{var o,l,u;a===e.el.value||(o=e.el.value)!=null&&o.contains(a)?(t.value=!0,(l=e.onFocus)==null||l.call(e)):(t.value=!1,(u=e.onBlur)==null||u.call(e))});fe(()=>{n(),ie--,ie||qa()})}return Re(t)}function Ka(){document.addEventListener("focusin",He),Ce=!0,be.value=document.activeElement}function qa(){document.removeEventListener("focusin",He)}function He(){be.value=document.activeElement}const Wa={class:"VPMenuLink"},Ra=p({__name:"VPMenuLink",props:{item:null},setup(e){const{page:t}=P();return(n,a)=>(i(),c("div",Wa,[_(F,{class:w({active:s(K)(s(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,target:e.item.target,rel:e.item.rel},{default:d(()=>[D(T(e.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),ae=b(Ra,[["__scopeId","data-v-43f1e123"]]),Ja={class:"VPMenuGroup"},Xa={key:0,class:"title"},Ya=p({__name:"VPMenuGroup",props:{text:null,items:null},setup(e){return(t,n)=>(i(),c("div",Ja,[e.text?(i(),c("p",Xa,T(e.text),1)):m("",!0),(i(!0),c(N,null,C(e.items,a=>(i(),c(N,null,["link"in a?(i(),k(ae,{key:0,item:a},null,8,["item"])):m("",!0)],64))),256))]))}}),Qa=b(Ya,[["__scopeId","data-v-69e747b5"]]),Za={class:"VPMenu"},eo={key:0,class:"items"},to=p({__name:"VPMenu",props:{items:null},setup(e){return(t,n)=>(i(),c("div",Za,[e.items?(i(),c("div",eo,[(i(!0),c(N,null,C(e.items,a=>(i(),c(N,{key:JSON.stringify(a)},["link"in a?(i(),k(ae,{key:0,item:a},null,8,["item"])):"component"in a?(i(),k(E(a.component),Te(z({key:1},a.props)),null,16)):(i(),k(Qa,{key:2,text:a.text,items:a.items},null,8,["text","items"]))],64))),128))])):m("",!0),r(t.$slots,"default",{},void 0,!0)]))}}),no=b(to,[["__scopeId","data-v-b98bc113"]]),ao=e=>(A("data-v-b6c34ac9"),e=e(),B(),e),oo=["aria-expanded","aria-label"],so={key:0,class:"text"},io=["innerHTML"],lo=ao(()=>v("span",{class:"vpi-chevron-down text-icon"},null,-1)),ro={key:1,class:"vpi-more-horizontal icon"},co={class:"menu"},uo=p({__name:"VPFlyout",props:{icon:null,button:null,label:null,items:null},setup(e){const t=I(!1),n=I();za({el:n,onBlur:a});function a(){t.value=!1}return(o,l)=>(i(),c("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:l[1]||(l[1]=u=>t.value=!0),onMouseleave:l[2]||(l[2]=u=>t.value=!1)},[v("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":e.label,onClick:l[0]||(l[0]=u=>t.value=!t.value)},[e.button||e.icon?(i(),c("span",so,[e.icon?(i(),c("span",{key:0,class:w([e.icon,"option-icon"])},null,2)):m("",!0),e.button?(i(),c("span",{key:1,innerHTML:e.button},null,8,io)):m("",!0),lo])):(i(),c("span",ro))],8,oo),v("div",co,[_(no,{items:e.items},{default:d(()=>[r(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),$e=b(uo,[["__scopeId","data-v-b6c34ac9"]]),vo=["href","aria-label","innerHTML"],ho=p({__name:"VPSocialLink",props:{icon:null,link:null,ariaLabel:null},setup(e){const t=e,n=y(()=>typeof t.icon=="object"?t.icon.svg:`<span class="vpi-social-${t.icon}" />`);return(a,o)=>(i(),c("a",{class:"VPSocialLink no-icon",href:e.link,"aria-label":e.ariaLabel??(typeof e.icon=="string"?e.icon:""),target:"_blank",rel:"noopener",innerHTML:s(n)},null,8,vo))}}),fo=b(ho,[["__scopeId","data-v-eee4e7cb"]]),mo={class:"VPSocialLinks"},po=p({__name:"VPSocialLinks",props:{links:null},setup(e){return(t,n)=>(i(),c("div",mo,[(i(!0),c(N,null,C(e.links,({link:a,icon:o,ariaLabel:l})=>(i(),k(fo,{key:a,icon:o,link:a,ariaLabel:l},null,8,["icon","link","ariaLabel"]))),128))]))}}),ge=b(po,[["__scopeId","data-v-7bc22406"]]),_o={key:0,class:"group translations"},ko={class:"trans-title"},bo={key:1,class:"group"},$o={class:"item appearance"},go={class:"label"},yo={class:"appearance-action"},Po={key:2,class:"group"},Vo={class:"item social-links"},Lo=p({__name:"VPNavBarExtra",setup(e){const{site:t,theme:n}=P(),{localeLinks:a,currentLang:o}=J({correspondingLink:!0}),l=y(()=>a.value.length&&o.value.label||t.value.appearance||n.value.socialLinks);return(u,f)=>s(l)?(i(),k($e,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:d(()=>[s(a).length&&s(o).label?(i(),c("div",_o,[v("p",ko,T(s(o).label),1),(i(!0),c(N,null,C(s(a),h=>(i(),k(ae,{key:h.link,item:h},null,8,["item"]))),128))])):m("",!0),s(t).appearance&&s(t).appearance!=="force-dark"&&s(t).appearance!=="force-auto"?(i(),c("div",bo,[v("div",$o,[v("p",go,T(s(n).darkModeSwitchLabel||"Appearance"),1),v("div",yo,[_(ke)])])])):m("",!0),s(n).socialLinks?(i(),c("div",Po,[v("div",Vo,[_(ge,{class:"social-links-list",links:s(n).socialLinks},null,8,["links"])])])):m("",!0)]),_:1})):m("",!0)}}),So=b(Lo,[["__scopeId","data-v-bb2aa2f0"]]),To=e=>(A("data-v-e5dd9c1c"),e=e(),B(),e),Io=["aria-expanded"],wo=To(()=>v("span",{class:"container"},[v("span",{class:"top"}),v("span",{class:"middle"}),v("span",{class:"bottom"})],-1)),No=[wo],xo=p({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,n)=>(i(),c("button",{type:"button",class:w(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=a=>t.$emit("click"))},No,10,Io))}}),Mo=b(xo,[["__scopeId","data-v-e5dd9c1c"]]),Ao=["innerHTML"],Bo=p({__name:"VPNavBarMenuLink",props:{item:null},setup(e){const{page:t}=P();return(n,a)=>(i(),k(F,{class:w({VPNavBarMenuLink:!0,active:s(K)(s(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,noIcon:e.item.noIcon,target:e.item.target,rel:e.item.rel,tabindex:"0"},{default:d(()=>[v("span",{innerHTML:e.item.text},null,8,Ao)]),_:1},8,["class","href","noIcon","target","rel"]))}}),Co=b(Bo,[["__scopeId","data-v-9c663999"]]),Ho=p({__name:"VPNavBarMenuGroup",props:{item:null},setup(e){const t=e,{page:n}=P(),a=l=>"component"in l?!1:"link"in l?K(n.value.relativePath,l.link,!!t.item.activeMatch):l.items.some(a),o=y(()=>a(t.item));return(l,u)=>(i(),k($e,{class:w({VPNavBarMenuGroup:!0,active:s(K)(s(n).relativePath,e.item.activeMatch,!!e.item.activeMatch)||s(o)}),button:e.item.text,items:e.item.items},null,8,["class","button","items"]))}}),Eo=e=>(A("data-v-dc692963"),e=e(),B(),e),Fo={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Do=Eo(()=>v("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),Oo=p({__name:"VPNavBarMenu",setup(e){const{theme:t}=P();return(n,a)=>s(t).nav?(i(),c("nav",Fo,[Do,(i(!0),c(N,null,C(s(t).nav,o=>(i(),c(N,{key:JSON.stringify(o)},["link"in o?(i(),k(Co,{key:0,item:o},null,8,["item"])):"component"in o?(i(),k(E(o.component),Te(z({key:1},o.props)),null,16)):(i(),k(Ho,{key:2,item:o},null,8,["item"]))],64))),128))])):m("",!0)}}),Go=b(Oo,[["__scopeId","data-v-dc692963"]]);function Uo(e){const{localeIndex:t,theme:n}=P();function a(o){var x,M,H;const l=o.split("."),u=(x=n.value.search)==null?void 0:x.options,f=u&&typeof u=="object",h=f&&((H=(M=u.locales)==null?void 0:M[t.value])==null?void 0:H.translations)||null,$=f&&u.translations||null;let L=h,g=$,V=e;const S=l.pop();for(const U of l){let j=null;const R=V==null?void 0:V[U];R&&(j=V=R);const oe=g==null?void 0:g[U];oe&&(j=g=oe);const se=L==null?void 0:L[U];se&&(j=L=se),R||(V=j),oe||(g=j),se||(L=j)}return(L==null?void 0:L[S])??(g==null?void 0:g[S])??(V==null?void 0:V[S])??""}return a}const jo=["aria-label"],zo={class:"DocSearch-Button-Container"},Ko=v("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),qo={class:"DocSearch-Button-Placeholder"},Wo=v("span",{class:"DocSearch-Button-Keys"},[v("kbd",{class:"DocSearch-Button-Key"}),v("kbd",{class:"DocSearch-Button-Key"},"K")],-1),ye=p({__name:"VPNavBarSearchButton",setup(e){const n=Uo({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(a,o)=>(i(),c("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":s(n)("button.buttonAriaLabel")},[v("span",zo,[Ko,v("span",qo,T(s(n)("button.buttonText")),1)]),Wo],8,jo))}}),Ro={class:"VPNavBarSearch"},Jo={id:"local-search"},Xo={key:1,id:"docsearch"},Yo=p({__name:"VPNavBarSearch",setup(e){const t=Je(()=>Xe(()=>import("./VPLocalSearchBox.C7VDyivS.js"),__vite__mapDeps([0,1]))),n=()=>null,{theme:a}=P(),o=I(!1),l=I(!1);q(()=>{});function u(){o.value||(o.value=!0,setTimeout(f,16))}function f(){const g=new Event("keydown");g.key="k",g.metaKey=!0,window.dispatchEvent(g),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||f()},16)}function h(g){const V=g.target,S=V.tagName;return V.isContentEditable||S==="INPUT"||S==="SELECT"||S==="TEXTAREA"}const $=I(!1);re("k",g=>{(g.ctrlKey||g.metaKey)&&(g.preventDefault(),$.value=!0)}),re("/",g=>{h(g)||(g.preventDefault(),$.value=!0)});const L="local";return(g,V)=>{var S;return i(),c("div",Ro,[s(L)==="local"?(i(),c(N,{key:0},[$.value?(i(),k(s(t),{key:0,onClose:V[0]||(V[0]=x=>$.value=!1)})):m("",!0),v("div",Jo,[_(ye,{onClick:V[1]||(V[1]=x=>$.value=!0)})])],64)):s(L)==="algolia"?(i(),c(N,{key:1},[o.value?(i(),k(s(n),{key:0,algolia:((S=s(a).search)==null?void 0:S.options)??s(a).algolia,onVnodeBeforeMount:V[2]||(V[2]=x=>l.value=!0)},null,8,["algolia"])):m("",!0),l.value?m("",!0):(i(),c("div",Xo,[_(ye,{onClick:u})]))],64)):m("",!0)])}}}),Qo=p({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=P();return(n,a)=>s(t).socialLinks?(i(),k(ge,{key:0,class:"VPNavBarSocialLinks",links:s(t).socialLinks},null,8,["links"])):m("",!0)}}),Zo=b(Qo,[["__scopeId","data-v-0394ad82"]]),es=["href","rel","target"],ts={key:1},ns={key:2},as=p({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=P(),{hasSidebar:a}=G(),{currentLang:o}=J(),l=y(()=>{var h;return typeof n.value.logoLink=="string"?n.value.logoLink:(h=n.value.logoLink)==null?void 0:h.link}),u=y(()=>{var h;return typeof n.value.logoLink=="string"||(h=n.value.logoLink)==null?void 0:h.rel}),f=y(()=>{var h;return typeof n.value.logoLink=="string"||(h=n.value.logoLink)==null?void 0:h.target});return(h,$)=>(i(),c("div",{class:w(["VPNavBarTitle",{"has-sidebar":s(a)}])},[v("a",{class:"title",href:s(l)??s(pe)(s(o).link),rel:s(u),target:s(f)},[r(h.$slots,"nav-bar-title-before",{},void 0,!0),s(n).logo?(i(),k(Y,{key:0,class:"logo",image:s(n).logo},null,8,["image"])):m("",!0),s(n).siteTitle?(i(),c("span",ts,T(s(n).siteTitle),1)):s(n).siteTitle===void 0?(i(),c("span",ns,T(s(t).title),1)):m("",!0),r(h.$slots,"nav-bar-title-after",{},void 0,!0)],8,es)],2))}}),os=b(as,[["__scopeId","data-v-ab179fa1"]]),ss={class:"items"},is={class:"title"},ls=p({__name:"VPNavBarTranslations",setup(e){const{theme:t}=P(),{localeLinks:n,currentLang:a}=J({correspondingLink:!0});return(o,l)=>s(n).length&&s(a).label?(i(),k($e,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:s(t).langMenuLabel||"Change language"},{default:d(()=>[v("div",ss,[v("p",is,T(s(a).label),1),(i(!0),c(N,null,C(s(n),u=>(i(),k(ae,{key:u.link,item:u},null,8,["item"]))),128))])]),_:1},8,["label"])):m("",!0)}}),rs=b(ls,[["__scopeId","data-v-88af2de4"]]),cs=e=>(A("data-v-6aa21345"),e=e(),B(),e),us={class:"wrapper"},ds={class:"container"},vs={class:"title"},hs={class:"content"},fs={class:"content-body"},ms=cs(()=>v("div",{class:"divider"},[v("div",{class:"divider-line"})],-1)),ps=p({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const t=e,{y:n}=Se(),{hasSidebar:a}=G(),{frontmatter:o}=P(),l=I({});return me(()=>{l.value={"has-sidebar":a.value,home:o.value.layout==="home",top:n.value===0,"screen-open":t.isScreenOpen}}),(u,f)=>(i(),c("div",{class:w(["VPNavBar",l.value])},[v("div",us,[v("div",ds,[v("div",vs,[_(os,null,{"nav-bar-title-before":d(()=>[r(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[r(u.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),v("div",hs,[v("div",fs,[r(u.$slots,"nav-bar-content-before",{},void 0,!0),_(Yo,{class:"search"}),_(Go,{class:"menu"}),_(rs,{class:"translations"}),_(ja,{class:"appearance"}),_(Zo,{class:"social-links"}),_(So,{class:"extra"}),r(u.$slots,"nav-bar-content-after",{},void 0,!0),_(Mo,{class:"hamburger",active:e.isScreenOpen,onClick:f[0]||(f[0]=h=>u.$emit("toggle-screen"))},null,8,["active"])])])])]),ms],2))}}),_s=b(ps,[["__scopeId","data-v-6aa21345"]]),ks={key:0,class:"VPNavScreenAppearance"},bs={class:"text"},$s=p({__name:"VPNavScreenAppearance",setup(e){const{site:t,theme:n}=P();return(a,o)=>s(t).appearance&&s(t).appearance!=="force-dark"&&s(t).appearance!=="force-auto"?(i(),c("div",ks,[v("p",bs,T(s(n).darkModeSwitchLabel||"Appearance"),1),_(ke)])):m("",!0)}}),gs=b($s,[["__scopeId","data-v-b44890b2"]]),ys=p({__name:"VPNavScreenMenuLink",props:{item:null},setup(e){const t=te("close-screen");return(n,a)=>(i(),k(F,{class:"VPNavScreenMenuLink",href:e.item.link,target:e.item.target,rel:e.item.rel,onClick:s(t),innerHTML:e.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),Ps=b(ys,[["__scopeId","data-v-7f31e1f6"]]),Vs=p({__name:"VPNavScreenMenuGroupLink",props:{item:null},setup(e){const t=te("close-screen");return(n,a)=>(i(),k(F,{class:"VPNavScreenMenuGroupLink",href:e.item.link,target:e.item.target,rel:e.item.rel,onClick:s(t)},{default:d(()=>[D(T(e.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),Ee=b(Vs,[["__scopeId","data-v-19976ae1"]]),Ls={class:"VPNavScreenMenuGroupSection"},Ss={key:0,class:"title"},Ts=p({__name:"VPNavScreenMenuGroupSection",props:{text:null,items:null},setup(e){return(t,n)=>(i(),c("div",Ls,[e.text?(i(),c("p",Ss,T(e.text),1)):m("",!0),(i(!0),c(N,null,C(e.items,a=>(i(),k(Ee,{key:a.text,item:a},null,8,["item"]))),128))]))}}),Is=b(Ts,[["__scopeId","data-v-8133b170"]]),ws=e=>(A("data-v-b9ab8c58"),e=e(),B(),e),Ns=["aria-controls","aria-expanded"],xs=["innerHTML"],Ms=ws(()=>v("span",{class:"vpi-plus button-icon"},null,-1)),As=["id"],Bs={key:0,class:"item"},Cs={key:1,class:"item"},Hs={key:2,class:"group"},Es=p({__name:"VPNavScreenMenuGroup",props:{text:null,items:null},setup(e){const t=e,n=I(!1),a=y(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function o(){n.value=!n.value}return(l,u)=>(i(),c("div",{class:w(["VPNavScreenMenuGroup",{open:n.value}])},[v("button",{class:"button","aria-controls":s(a),"aria-expanded":n.value,onClick:o},[v("span",{class:"button-text",innerHTML:e.text},null,8,xs),Ms],8,Ns),v("div",{id:s(a),class:"items"},[(i(!0),c(N,null,C(e.items,f=>(i(),c(N,{key:JSON.stringify(f)},["link"in f?(i(),c("div",Bs,[_(Ee,{item:f},null,8,["item"])])):"component"in f?(i(),c("div",Cs,[(i(),k(E(f.component),z(f.props,{"screen-menu":""}),null,16))])):(i(),c("div",Hs,[_(Is,{text:f.text,items:f.items},null,8,["text","items"])]))],64))),128))],8,As)],2))}}),Fs=b(Es,[["__scopeId","data-v-b9ab8c58"]]),Ds={key:0,class:"VPNavScreenMenu"},Os=p({__name:"VPNavScreenMenu",setup(e){const{theme:t}=P();return(n,a)=>s(t).nav?(i(),c("nav",Ds,[(i(!0),c(N,null,C(s(t).nav,o=>(i(),c(N,{key:JSON.stringify(o)},["link"in o?(i(),k(Ps,{key:0,item:o},null,8,["item"])):"component"in o?(i(),k(E(o.component),z({key:1},o.props,{"screen-menu":""}),null,16)):(i(),k(Fs,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):m("",!0)}}),Gs=p({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=P();return(n,a)=>s(t).socialLinks?(i(),k(ge,{key:0,class:"VPNavScreenSocialLinks",links:s(t).socialLinks},null,8,["links"])):m("",!0)}}),Fe=e=>(A("data-v-858fe1a4"),e=e(),B(),e),Us=Fe(()=>v("span",{class:"vpi-languages icon lang"},null,-1)),js=Fe(()=>v("span",{class:"vpi-chevron-down icon chevron"},null,-1)),zs={class:"list"},Ks=p({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:t,currentLang:n}=J({correspondingLink:!0}),a=I(!1);function o(){a.value=!a.value}return(l,u)=>s(t).length&&s(n).label?(i(),c("div",{key:0,class:w(["VPNavScreenTranslations",{open:a.value}])},[v("button",{class:"title",onClick:o},[Us,D(" "+T(s(n).label)+" ",1),js]),v("ul",zs,[(i(!0),c(N,null,C(s(t),f=>(i(),c("li",{key:f.link,class:"item"},[_(F,{class:"link",href:f.link},{default:d(()=>[D(T(f.text),1)]),_:2},1032,["href"])]))),128))])],2)):m("",!0)}}),qs=b(Ks,[["__scopeId","data-v-858fe1a4"]]),Ws={class:"container"},Rs=p({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=I(null),n=Ie(ne?document.body:null);return(a,o)=>(i(),k(ve,{name:"fade",onEnter:o[0]||(o[0]=l=>n.value=!0),onAfterLeave:o[1]||(o[1]=l=>n.value=!1)},{default:d(()=>[e.open?(i(),c("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t,id:"VPNavScreen"},[v("div",Ws,[r(a.$slots,"nav-screen-content-before",{},void 0,!0),_(Os,{class:"menu"}),_(qs,{class:"translations"}),_(gs,{class:"appearance"}),_(Gs,{class:"social-links"}),r(a.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):m("",!0)]),_:3}))}}),Js=b(Rs,[["__scopeId","data-v-f2779853"]]),Xs={key:0,class:"VPNav"},Ys=p({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:n,toggleScreen:a}=xa(),{frontmatter:o}=P(),l=y(()=>o.value.navbar!==!1);return we("close-screen",n),Q(()=>{ne&&document.documentElement.classList.toggle("hide-nav",!l.value)}),(u,f)=>s(l)?(i(),c("header",Xs,[_(_s,{"is-screen-open":s(t),onToggleScreen:s(a)},{"nav-bar-title-before":d(()=>[r(u.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[r(u.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":d(()=>[r(u.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":d(()=>[r(u.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),_(Js,{open:s(t)},{"nav-screen-content-before":d(()=>[r(u.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":d(()=>[r(u.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):m("",!0)}}),Qs=b(Ys,[["__scopeId","data-v-ae24b3ad"]]),De=e=>(A("data-v-b7550ba0"),e=e(),B(),e),Zs=["role","tabindex"],ei=De(()=>v("div",{class:"indicator"},null,-1)),ti=["onKeydown"],ni=De(()=>v("span",{class:"vpi-chevron-right caret-icon"},null,-1)),ai=[ni],oi={key:1,class:"items"},si=p({__name:"VPSidebarItem",props:{item:null,depth:null},setup(e){const t=e,{collapsed:n,collapsible:a,isLink:o,isActiveLink:l,hasActiveLink:u,hasChildren:f,toggle:h}=gt(y(()=>t.item)),$=y(()=>f.value?"section":"div"),L=y(()=>o.value?"a":"div"),g=y(()=>f.value?t.depth+2===7?"p":`h${t.depth+2}`:"p"),V=y(()=>o.value?void 0:"button"),S=y(()=>[[`level-${t.depth}`],{collapsible:a.value},{collapsed:n.value},{"is-link":o.value},{"is-active":l.value},{"has-active":u.value}]);function x(H){"key"in H&&H.key!=="Enter"||!t.item.link&&h()}function M(){t.item.link&&h()}return(H,U)=>{const j=W("VPSidebarItem",!0);return i(),k(E(s($)),{class:w(["VPSidebarItem",s(S)])},{default:d(()=>[e.item.text?(i(),c("div",z({key:0,class:"item",role:s(V)},Qe(e.item.items?{click:x,keydown:x}:{},!0),{tabindex:e.item.items&&0}),[ei,e.item.link?(i(),k(F,{key:0,tag:s(L),class:"link",href:e.item.link,rel:e.item.rel,target:e.item.target},{default:d(()=>[(i(),k(E(s(g)),{class:"text",innerHTML:e.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(i(),k(E(s(g)),{key:1,class:"text",innerHTML:e.item.text},null,8,["innerHTML"])),e.item.collapsed!=null&&e.item.items&&e.item.items.length?(i(),c("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:M,onKeydown:Ye(M,["enter"]),tabindex:"0"},ai,40,ti)):m("",!0)],16,Zs)):m("",!0),e.item.items&&e.item.items.length?(i(),c("div",oi,[e.depth<5?(i(!0),c(N,{key:0},C(e.item.items,R=>(i(),k(j,{key:R.text,item:R,depth:e.depth+1},null,8,["item","depth"]))),128)):m("",!0)])):m("",!0)]),_:1},8,["class"])}}}),ii=b(si,[["__scopeId","data-v-b7550ba0"]]),li=p({__name:"VPSidebarGroup",props:{items:null},setup(e){const t=I(!0);let n=null;return q(()=>{n=setTimeout(()=>{n=null,t.value=!1},300)}),Ze(()=>{n!=null&&(clearTimeout(n),n=null)}),(a,o)=>(i(!0),c(N,null,C(e.items,l=>(i(),c("div",{key:l.text,class:w(["group",{"no-transition":t.value}])},[_(ii,{item:l,depth:0},null,8,["item"])],2))),128))}}),ri=b(li,[["__scopeId","data-v-c40bc020"]]),Oe=e=>(A("data-v-319d5ca6"),e=e(),B(),e),ci=Oe(()=>v("div",{class:"curtain"},null,-1)),ui={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},di=Oe(()=>v("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),vi=p({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const t=e,{sidebarGroups:n,hasSidebar:a}=G(),o=I(null),l=Ie(ne?document.body:null);O([t,o],()=>{var f;t.open?(l.value=!0,(f=o.value)==null||f.focus()):l.value=!1},{immediate:!0,flush:"post"});const u=I(0);return O(n,()=>{u.value+=1},{deep:!0}),(f,h)=>s(a)?(i(),c("aside",{key:0,class:w(["VPSidebar",{open:e.open}]),ref_key:"navEl",ref:o,onClick:h[0]||(h[0]=et(()=>{},["stop"]))},[ci,v("nav",ui,[di,r(f.$slots,"sidebar-nav-before",{},void 0,!0),(i(),k(ri,{items:s(n),key:u.value},null,8,["items"])),r(f.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):m("",!0)}}),hi=b(vi,[["__scopeId","data-v-319d5ca6"]]),fi=p({__name:"VPSkipLink",setup(e){const t=ee(),n=I();O(()=>t.path,()=>n.value.focus());function a({target:o}){const l=document.getElementById(decodeURIComponent(o.hash).slice(1));if(l){const u=()=>{l.removeAttribute("tabindex"),l.removeEventListener("blur",u)};l.setAttribute("tabindex","-1"),l.addEventListener("blur",u),l.focus(),window.scrollTo(0,0)}}return(o,l)=>(i(),c(N,null,[v("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),v("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:a}," Skip to content ")],64))}}),mi=b(fi,[["__scopeId","data-v-0f60ec36"]]),pi=p({__name:"Layout",setup(e){const{isOpen:t,open:n,close:a}=G(),o=ee();O(()=>o.path,a),$t(t,a);const{frontmatter:l}=P(),u=tt(),f=y(()=>!!u["home-hero-image"]);return we("hero-image-slot-exists",f),(h,$)=>{const L=W("Content");return s(l).layout!==!1?(i(),c("div",{key:0,class:w(["Layout",s(l).pageClass])},[r(h.$slots,"layout-top",{},void 0,!0),_(mi),_(st,{class:"backdrop",show:s(t),onClick:s(a)},null,8,["show","onClick"]),_(Qs,null,{"nav-bar-title-before":d(()=>[r(h.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":d(()=>[r(h.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":d(()=>[r(h.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":d(()=>[r(h.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":d(()=>[r(h.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":d(()=>[r(h.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),_(Na,{open:s(t),onOpenMenu:s(n)},null,8,["open","onOpenMenu"]),_(hi,{open:s(t)},{"sidebar-nav-before":d(()=>[r(h.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":d(()=>[r(h.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),_(ua,null,{"page-top":d(()=>[r(h.$slots,"page-top",{},void 0,!0)]),"page-bottom":d(()=>[r(h.$slots,"page-bottom",{},void 0,!0)]),"not-found":d(()=>[r(h.$slots,"not-found",{},void 0,!0)]),"home-hero-before":d(()=>[r(h.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":d(()=>[r(h.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":d(()=>[r(h.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":d(()=>[r(h.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":d(()=>[r(h.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":d(()=>[r(h.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":d(()=>[r(h.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":d(()=>[r(h.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":d(()=>[r(h.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":d(()=>[r(h.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":d(()=>[r(h.$slots,"doc-before",{},void 0,!0)]),"doc-after":d(()=>[r(h.$slots,"doc-after",{},void 0,!0)]),"doc-top":d(()=>[r(h.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":d(()=>[r(h.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":d(()=>[r(h.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":d(()=>[r(h.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":d(()=>[r(h.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":d(()=>[r(h.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":d(()=>[r(h.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":d(()=>[r(h.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),_(ma),r(h.$slots,"layout-bottom",{},void 0,!0)],2)):(i(),k(L,{key:1}))}}}),_i=b(pi,[["__scopeId","data-v-5d98c3a5"]]),bi={Layout:_i,enhanceApp:({app:e})=>{e.component("Badge",nt)}};export{Uo as c,bi as t,P as u};
@@ -0,0 +1 @@
1
+ import{_ as e}from"./chunks/Button.vue_vue_type_script_setup_true_lang.P7niV-n8.js";import{d as a,c as n,I as t,a as i,a5 as r,o}from"./chunks/framework.CNtPHGsN.js";const s=r('<h1 id="infinite-vue-documentation" tabindex="-1">Infinite Vue Documentation <a class="header-anchor" href="#infinite-vue-documentation" aria-label="Permalink to &quot;Infinite Vue Documentation&quot;">​</a></h1><h2 id="about" tabindex="-1">About <a class="header-anchor" href="#about" aria-label="Permalink to &quot;About&quot;">​</a></h2><p><strong>Infinite Vue – ivue</strong> is a class based composable architecture for Vue 3, that unlocks infinite scalability for Vue 3 based apps. It allows you to extend the regular Vue 3 in a simple and elegant way.</p><h2 id="features" tabindex="-1">Features <a class="header-anchor" href="#features" aria-label="Permalink to &quot;Features&quot;">​</a></h2><div style="padding-left:20px;"> – Simple &amp; Elegant Architecture<br> – Extensible Classes using JavaScript / TypeScript native Class API<br> – Extensible Props And Props Defaults<br> – Extensible Emits<br> – Extensible Slots<br> – Extensible Components<br> – Improves DX by elegantly dealing with `.value` in the background<br> – Can be used both as a Store and a ViewModel for Components<br> – Provides Full TypeScript Support<br> – Extends Vue 3 TypeScript Capability<br> – 100% Tested<br> – Zero dependencies except Vue 3<br> – Only 1kb(gzipped) in size!<br> – Production Ready<br></div><h2 id="next-step" tabindex="-1">Next Step <a class="header-anchor" href="#next-step" aria-label="Permalink to &quot;Next Step&quot;">​</a></h2>',6),h=JSON.parse('{"title":"Infinite Vue Documentation","description":"","frontmatter":{},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),l={name:"index.md"},m=a({...l,setup(d){return(u,c)=>(o(),n("div",null,[s,t(e,{href:"/pages/getting-started.html",label:"Geting Started"}),i("   or   "),t(e,{href:"/pages/introduction.html",label:"Read Introduction"})]))}});export{h as __pageData,m as default};
@@ -0,0 +1 @@
1
+ import{_ as e}from"./chunks/Button.vue_vue_type_script_setup_true_lang.P7niV-n8.js";import{d as a,c as n,I as t,a as i,a5 as r,o}from"./chunks/framework.CNtPHGsN.js";const s=r('<h1 id="infinite-vue-documentation" tabindex="-1">Infinite Vue Documentation <a class="header-anchor" href="#infinite-vue-documentation" aria-label="Permalink to &quot;Infinite Vue Documentation&quot;">​</a></h1><h2 id="about" tabindex="-1">About <a class="header-anchor" href="#about" aria-label="Permalink to &quot;About&quot;">​</a></h2><p><strong>Infinite Vue – ivue</strong> is a class based composable architecture for Vue 3, that unlocks infinite scalability for Vue 3 based apps. It allows you to extend the regular Vue 3 in a simple and elegant way.</p><h2 id="features" tabindex="-1">Features <a class="header-anchor" href="#features" aria-label="Permalink to &quot;Features&quot;">​</a></h2><div style="padding-left:20px;"> – Simple &amp; Elegant Architecture<br> – Extensible Classes using JavaScript / TypeScript native Class API<br> – Extensible Props And Props Defaults<br> – Extensible Emits<br> – Extensible Slots<br> – Extensible Components<br> – Improves DX by elegantly dealing with `.value` in the background<br> – Can be used both as a Store and a ViewModel for Components<br> – Provides Full TypeScript Support<br> – Extends Vue 3 TypeScript Capability<br> – 100% Tested<br> – Zero dependencies except Vue 3<br> – Only 1kb(gzipped) in size!<br> – Production Ready<br></div><h2 id="next-step" tabindex="-1">Next Step <a class="header-anchor" href="#next-step" aria-label="Permalink to &quot;Next Step&quot;">​</a></h2>',6),h=JSON.parse('{"title":"Infinite Vue Documentation","description":"","frontmatter":{},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),l={name:"index.md"},m=a({...l,setup(d){return(u,c)=>(o(),n("div",null,[s,t(e,{href:"/pages/getting-started.html",label:"Geting Started"}),i("   or   "),t(e,{href:"/pages/introduction.html",label:"Read Introduction"})]))}});export{h as __pageData,m as default};
@@ -0,0 +1 @@
1
+ import{_ as e,c as a,o as t,a5 as s}from"./chunks/framework.CNtPHGsN.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"pages/advanced-usage.md","filePath":"pages/advanced-usage.md"}'),o={name:"pages/advanced-usage.md"},n=s('<h2 id="extend-props" tabindex="-1">Extend Props <a class="header-anchor" href="#extend-props" aria-label="Permalink to &quot;Extend Props&quot;">​</a></h2><h3 id="typed-props" tabindex="-1">Typed Props <a class="header-anchor" href="#typed-props" aria-label="Permalink to &quot;Typed Props&quot;">​</a></h3><h3 id="runtime-props" tabindex="-1">Runtime Props <a class="header-anchor" href="#runtime-props" aria-label="Permalink to &quot;Runtime Props&quot;">​</a></h3><h2 id="extend-props-defaults" tabindex="-1">Extend Props Defaults <a class="header-anchor" href="#extend-props-defaults" aria-label="Permalink to &quot;Extend Props Defaults&quot;">​</a></h2><h3 id="runtime-props-1" tabindex="-1">Runtime Props <a class="header-anchor" href="#runtime-props-1" aria-label="Permalink to &quot;Runtime Props&quot;">​</a></h3><h2 id="extend-emits" tabindex="-1">Extend Emits <a class="header-anchor" href="#extend-emits" aria-label="Permalink to &quot;Extend Emits&quot;">​</a></h2><h2 id="extend-slots" tabindex="-1">Extend Slots <a class="header-anchor" href="#extend-slots" aria-label="Permalink to &quot;Extend Slots&quot;">​</a></h2><h2 id="extend-classes" tabindex="-1">Extend Classes <a class="header-anchor" href="#extend-classes" aria-label="Permalink to &quot;Extend Classes&quot;">​</a></h2><h2 id="extend-components" tabindex="-1">Extend Components <a class="header-anchor" href="#extend-components" aria-label="Permalink to &quot;Extend Components&quot;">​</a></h2>',9),r=[n];function d(i,l,p,h,u,c){return t(),a("div",null,r)}const f=e(o,[["render",d]]);export{m as __pageData,f as default};
@@ -0,0 +1 @@
1
+ import{_ as e,c as a,o as t,a5 as s}from"./chunks/framework.CNtPHGsN.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{},"headers":[],"relativePath":"pages/advanced-usage.md","filePath":"pages/advanced-usage.md"}'),o={name:"pages/advanced-usage.md"},n=s('<h2 id="extend-props" tabindex="-1">Extend Props <a class="header-anchor" href="#extend-props" aria-label="Permalink to &quot;Extend Props&quot;">​</a></h2><h3 id="typed-props" tabindex="-1">Typed Props <a class="header-anchor" href="#typed-props" aria-label="Permalink to &quot;Typed Props&quot;">​</a></h3><h3 id="runtime-props" tabindex="-1">Runtime Props <a class="header-anchor" href="#runtime-props" aria-label="Permalink to &quot;Runtime Props&quot;">​</a></h3><h2 id="extend-props-defaults" tabindex="-1">Extend Props Defaults <a class="header-anchor" href="#extend-props-defaults" aria-label="Permalink to &quot;Extend Props Defaults&quot;">​</a></h2><h3 id="runtime-props-1" tabindex="-1">Runtime Props <a class="header-anchor" href="#runtime-props-1" aria-label="Permalink to &quot;Runtime Props&quot;">​</a></h3><h2 id="extend-emits" tabindex="-1">Extend Emits <a class="header-anchor" href="#extend-emits" aria-label="Permalink to &quot;Extend Emits&quot;">​</a></h2><h2 id="extend-slots" tabindex="-1">Extend Slots <a class="header-anchor" href="#extend-slots" aria-label="Permalink to &quot;Extend Slots&quot;">​</a></h2><h2 id="extend-classes" tabindex="-1">Extend Classes <a class="header-anchor" href="#extend-classes" aria-label="Permalink to &quot;Extend Classes&quot;">​</a></h2><h2 id="extend-components" tabindex="-1">Extend Components <a class="header-anchor" href="#extend-components" aria-label="Permalink to &quot;Extend Components&quot;">​</a></h2>',9),r=[n];function d(i,l,p,h,u,c){return t(),a("div",null,r)}const f=e(o,[["render",d]]);export{m as __pageData,f as default};
@@ -0,0 +1,7 @@
1
+ import{_ as s,c as i,o as a,a5 as t}from"./chunks/framework.CNtPHGsN.js";const g=JSON.parse('{"title":"API","description":"","frontmatter":{},"headers":[],"relativePath":"pages/api.md","filePath":"pages/api.md"}'),e={name:"pages/api.md"},n=t(`<h1 id="api" tabindex="-1">API <a class="header-anchor" href="#api" aria-label="Permalink to &quot;API&quot;">​</a></h1><h2 id="core-functions" tabindex="-1">Core Functions <a class="header-anchor" href="#core-functions" aria-label="Permalink to &quot;Core Functions&quot;">​</a></h2><h3 id="ivue" tabindex="-1">ivue() <a class="header-anchor" href="#ivue" aria-label="Permalink to &quot;ivue()&quot;">​</a></h3><hr><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> function</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ivue</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> extends</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> AnyClass</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;(</span></span>
2
+ <span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;"> className</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
3
+ <span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> ...</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">args</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> InferredArgs</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
4
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> IVue</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;;</span></span></code></pre></div><p>Core <code>ivue(className, ...args)</code> initializer is able to infer and validate the constrcutor argument types of AnyClass and passes those arguments to the constructor of <code>AnyClass</code> internally.</p><p><code>ivue(className, arg1, arg2, arg3...)</code> allows you to pass any number of arguments into the class <code>constructor(arg1, arg2, arg3...)</code></p><p><code>ivue()</code> initializer function returns an extended Vue 3 <code>reactive()</code> object in which getters and setters are internally converted to computeds and adds <code>.toRefs()</code> method to the created object. Computeds auto-unwrap themselves when they are accessed as a reactive object property, so the <code>.value</code> properties and computeds get flattened in the resulting object and do not require <code>.value</code> to be accessed.</p><p><code>ivue()</code> replicates native JavaScript / TypeScript class implementation by extending descriptors (getters and setters) up the whole prototype chain thus supporting classical inheritance.</p><p><strong>Returns:</strong> <code>&lt;IVue&lt;T&gt;&gt;</code> or <code>ivue</code> <code>reactive()</code> object of an <code>AnyClass</code> class with flattened (de-Refed) <code>Refs</code> and <code>ComputedRefs</code> as properties.</p><h3 id="init" tabindex="-1">.init() <a class="header-anchor" href="#init" aria-label="Permalink to &quot;.init()&quot;">​</a></h3><hr><p><code>.init()</code> method is auto-run on <code>ivue()</code> initialization after <code>constructor()</code> is run. <code>init()</code> has access to the reactive state of the object via <code>this</code>.</p><div class="warning custom-block"><p class="custom-block-title">NOTICE</p><p><code>.init()</code> method shoud not have any parameters. You should never need to run this method manually.</p></div><div class="tip custom-block"><p class="custom-block-title">NEED ASYNC/AWAIT?</p><p>You can make <code>init()</code> method <code>async</code> if you need <code>await</code> functionality.</p></div><p><strong>Returns:</strong> <code>void | Promise&lt;void&gt;</code></p><h3 id="torefs" tabindex="-1">.toRefs() <a class="header-anchor" href="#torefs" aria-label="Permalink to &quot;.toRefs()&quot;">​</a></h3><hr><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">function</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> toRefs</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">props</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">keyof</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> InstanceType</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;)[])</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> IVueRefs</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">InstanceType</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;&gt;;</span></span></code></pre></div><p>Converts an <code>ivue</code> object to a Vue 3 Composable with nested refs.</p><div class="tip custom-block"><p class="custom-block-title">You can pass the name of the properties to <code>toRefs(properties)</code></p><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">width</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">height</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ivue</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(Box).</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">toRefs</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">([</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;width&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;height&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">]);</span></span></code></pre></div><p>This improves performance if <code>box</code> has many other properties that we do not need.</p></div><p><strong>Returns:</strong> <code>IVueRefs&lt;InstanceType&lt;T&gt;&gt;</code></p><h2 id="utility-functions" tabindex="-1">Utility Functions <a class="header-anchor" href="#utility-functions" aria-label="Permalink to &quot;Utility Functions&quot;">​</a></h2><h3 id="propswithdefaults" tabindex="-1">propsWithDefaults() <a class="header-anchor" href="#propswithdefaults" aria-label="Permalink to &quot;propsWithDefaults()&quot;">​</a></h3><hr><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> function</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> propsWithDefaults</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> extends</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> VuePropsObject</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;(</span></span>
5
+ <span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;"> defaults</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Record</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">any</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;,</span></span>
6
+ <span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;"> typedProps</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> T</span></span>
7
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> VuePropsWithDefaults</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;;</span></span></code></pre></div><p>Combines statically written defaults object with the runtime type definition of Vue 3 props.</p><p><strong>Returns:</strong> <code>VuePropsWithDefaults&lt;T&gt;</code></p><h2 id="utility-types" tabindex="-1">Utility Types <a class="header-anchor" href="#utility-types" aria-label="Permalink to &quot;Utility Types&quot;">​</a></h2><h3 id="extractpropdefaulttypes" tabindex="-1">ExtractPropDefaultTypes <a class="header-anchor" href="#extractpropdefaulttypes" aria-label="Permalink to &quot;ExtractPropDefaultTypes&quot;">​</a></h3><p>Extracts types of the default types definition. This type can be used to validate against the actual defaults definition to make sure both definitions are in sync.</p><hr><h3 id="extractemittypes" tabindex="-1">ExtractEmitTypes <a class="header-anchor" href="#extractemittypes" aria-label="Permalink to &quot;ExtractEmitTypes&quot;">​</a></h3><hr><p>Extracts types of a runtime emits declaration.</p><h3 id="extendslots" tabindex="-1">ExtendSlots <a class="header-anchor" href="#extendslots" aria-label="Permalink to &quot;ExtendSlots&quot;">​</a></h3><hr><p>Allows you to extend slots of a given slot interface.</p><h3 id="usecomposable" tabindex="-1">UseComposable <a class="header-anchor" href="#usecomposable" aria-label="Permalink to &quot;UseComposable&quot;">​</a></h3><hr><p>Extracts and unwraps (de-Refs) the real types of Vue 3 composable definition to make it compatible with <code>ivue</code>.</p>`,41),h=[n];function l(p,o,r,d,k,c){return a(),i("div",null,h)}const y=s(e,[["render",l]]);export{g as __pageData,y as default};
@@ -0,0 +1,7 @@
1
+ import{_ as s,c as i,o as a,a5 as t}from"./chunks/framework.CNtPHGsN.js";const g=JSON.parse('{"title":"API","description":"","frontmatter":{},"headers":[],"relativePath":"pages/api.md","filePath":"pages/api.md"}'),e={name:"pages/api.md"},n=t(`<h1 id="api" tabindex="-1">API <a class="header-anchor" href="#api" aria-label="Permalink to &quot;API&quot;">​</a></h1><h2 id="core-functions" tabindex="-1">Core Functions <a class="header-anchor" href="#core-functions" aria-label="Permalink to &quot;Core Functions&quot;">​</a></h2><h3 id="ivue" tabindex="-1">ivue() <a class="header-anchor" href="#ivue" aria-label="Permalink to &quot;ivue()&quot;">​</a></h3><hr><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> function</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ivue</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> extends</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> AnyClass</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;(</span></span>
2
+ <span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;"> className</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
3
+ <span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> ...</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">args</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> InferredArgs</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
4
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> IVue</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;;</span></span></code></pre></div><p>Core <code>ivue(className, ...args)</code> initializer is able to infer and validate the constrcutor argument types of AnyClass and passes those arguments to the constructor of <code>AnyClass</code> internally.</p><p><code>ivue(className, arg1, arg2, arg3...)</code> allows you to pass any number of arguments into the class <code>constructor(arg1, arg2, arg3...)</code></p><p><code>ivue()</code> initializer function returns an extended Vue 3 <code>reactive()</code> object in which getters and setters are internally converted to computeds and adds <code>.toRefs()</code> method to the created object. Computeds auto-unwrap themselves when they are accessed as a reactive object property, so the <code>.value</code> properties and computeds get flattened in the resulting object and do not require <code>.value</code> to be accessed.</p><p><code>ivue()</code> replicates native JavaScript / TypeScript class implementation by extending descriptors (getters and setters) up the whole prototype chain thus supporting classical inheritance.</p><p><strong>Returns:</strong> <code>&lt;IVue&lt;T&gt;&gt;</code> or <code>ivue</code> <code>reactive()</code> object of an <code>AnyClass</code> class with flattened (de-Refed) <code>Refs</code> and <code>ComputedRefs</code> as properties.</p><h3 id="init" tabindex="-1">.init() <a class="header-anchor" href="#init" aria-label="Permalink to &quot;.init()&quot;">​</a></h3><hr><p><code>.init()</code> method is auto-run on <code>ivue()</code> initialization after <code>constructor()</code> is run. <code>init()</code> has access to the reactive state of the object via <code>this</code>.</p><div class="warning custom-block"><p class="custom-block-title">NOTICE</p><p><code>.init()</code> method shoud not have any parameters. You should never need to run this method manually.</p></div><div class="tip custom-block"><p class="custom-block-title">NEED ASYNC/AWAIT?</p><p>You can make <code>init()</code> method <code>async</code> if you need <code>await</code> functionality.</p></div><p><strong>Returns:</strong> <code>void | Promise&lt;void&gt;</code></p><h3 id="torefs" tabindex="-1">.toRefs() <a class="header-anchor" href="#torefs" aria-label="Permalink to &quot;.toRefs()&quot;">​</a></h3><hr><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">function</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> toRefs</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">props</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">keyof</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> InstanceType</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;)[])</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> IVueRefs</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">InstanceType</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;&gt;;</span></span></code></pre></div><p>Converts an <code>ivue</code> object to a Vue 3 Composable with nested refs.</p><div class="tip custom-block"><p class="custom-block-title">You can pass the name of the properties to <code>toRefs(properties)</code></p><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">width</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">height</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ivue</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(Box).</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">toRefs</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">([</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;width&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;height&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">]);</span></span></code></pre></div><p>This improves performance if <code>box</code> has many other properties that we do not need.</p></div><p><strong>Returns:</strong> <code>IVueRefs&lt;InstanceType&lt;T&gt;&gt;</code></p><h2 id="utility-functions" tabindex="-1">Utility Functions <a class="header-anchor" href="#utility-functions" aria-label="Permalink to &quot;Utility Functions&quot;">​</a></h2><h3 id="propswithdefaults" tabindex="-1">propsWithDefaults() <a class="header-anchor" href="#propswithdefaults" aria-label="Permalink to &quot;propsWithDefaults()&quot;">​</a></h3><hr><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> function</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> propsWithDefaults</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> extends</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> VuePropsObject</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;(</span></span>
5
+ <span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;"> defaults</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Record</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">any</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;,</span></span>
6
+ <span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;"> typedProps</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> T</span></span>
7
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> VuePropsWithDefaults</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;;</span></span></code></pre></div><p>Combines statically written defaults object with the runtime type definition of Vue 3 props.</p><p><strong>Returns:</strong> <code>VuePropsWithDefaults&lt;T&gt;</code></p><h2 id="utility-types" tabindex="-1">Utility Types <a class="header-anchor" href="#utility-types" aria-label="Permalink to &quot;Utility Types&quot;">​</a></h2><h3 id="extractpropdefaulttypes" tabindex="-1">ExtractPropDefaultTypes <a class="header-anchor" href="#extractpropdefaulttypes" aria-label="Permalink to &quot;ExtractPropDefaultTypes&quot;">​</a></h3><p>Extracts types of the default types definition. This type can be used to validate against the actual defaults definition to make sure both definitions are in sync.</p><hr><h3 id="extractemittypes" tabindex="-1">ExtractEmitTypes <a class="header-anchor" href="#extractemittypes" aria-label="Permalink to &quot;ExtractEmitTypes&quot;">​</a></h3><hr><p>Extracts types of a runtime emits declaration.</p><h3 id="extendslots" tabindex="-1">ExtendSlots <a class="header-anchor" href="#extendslots" aria-label="Permalink to &quot;ExtendSlots&quot;">​</a></h3><hr><p>Allows you to extend slots of a given slot interface.</p><h3 id="usecomposable" tabindex="-1">UseComposable <a class="header-anchor" href="#usecomposable" aria-label="Permalink to &quot;UseComposable&quot;">​</a></h3><hr><p>Extracts and unwraps (de-Refs) the real types of Vue 3 composable definition to make it compatible with <code>ivue</code>.</p>`,41),h=[n];function l(p,o,r,d,k,c){return a(),i("div",null,h)}const y=s(e,[["render",l]]);export{g as __pageData,y as default};
@@ -0,0 +1 @@
1
+ import{_ as e,c as a,o as s,a5 as t}from"./chunks/framework.CNtPHGsN.js";const m=JSON.parse('{"title":"Source code","description":"","frontmatter":{"aside":false},"headers":[],"relativePath":"pages/browse-code.md","filePath":"pages/browse-code.md"}'),i={name:"pages/browse-code.md"},o=t('<h1 id="source-code" tabindex="-1">Source code <a class="header-anchor" href="#source-code" aria-label="Permalink to &quot;Source code&quot;">​</a></h1><p>Or <a href="https://github.com/infinite-system/ivue/blob/main/src/index.ts" target="_blank" rel="noreferrer">Browse the source code on GitHub</a></p><h2 id="install-by-copying" tabindex="-1">Install by Copying <a class="header-anchor" href="#install-by-copying" aria-label="Permalink to &quot;Install by Copying&quot;">​</a></h2><p><code>ivue</code> is designed to be easily shareable and installable so if you are running TypeScript, you can just copy the <code>ivue.ts</code> into your repo and you are done:</p><div class="tip custom-block"><p class="custom-block-title">NOTE</p><p>This installation path is recommended only if you quickly want to tinker with the internals of ivue, as you won&#39;t be getting the latest updates. Also note that this code comes from github <code>main</code> branch latest which might also be in beta and not fully published to <code>npm</code>.</p></div><div class="vp-code-group vp-adaptive-theme"><div class="tabs"><input type="radio" name="group-zrL-i" id="tab-5Liztmc" checked><label for="tab-5Liztmc">ivue.ts</label></div><div class="blocks"><div class="language-ts vp-adaptive-theme active line-numbers-mode"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> *</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;./ivue&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span></code></pre><div class="line-numbers-wrapper" aria-hidden="true"><span class="line-number">1</span><br></div></div></div></div>',6),n=[o];function c(l,r,d,p,h,u){return s(),a("div",null,n)}const g=e(i,[["render",c]]);export{m as __pageData,g as default};
@@ -0,0 +1 @@
1
+ import{_ as e,c as a,o as s,a5 as t}from"./chunks/framework.CNtPHGsN.js";const m=JSON.parse('{"title":"Source code","description":"","frontmatter":{"aside":false},"headers":[],"relativePath":"pages/browse-code.md","filePath":"pages/browse-code.md"}'),i={name:"pages/browse-code.md"},o=t("",6),n=[o];function c(l,r,d,p,h,u){return s(),a("div",null,n)}const g=e(i,[["render",c]]);export{m as __pageData,g as default};
@@ -0,0 +1,8 @@
1
+ import{_ as s,c as a,o as i,a5 as e}from"./chunks/framework.CNtPHGsN.js";const u=JSON.parse('{"title":"Getting Started","description":"","frontmatter":{},"headers":[],"relativePath":"pages/getting-started.md","filePath":"pages/getting-started.md"}'),t={name:"pages/getting-started.md"},n=e(`<h1 id="getting-started" tabindex="-1">Getting Started <a class="header-anchor" href="#getting-started" aria-label="Permalink to &quot;Getting Started&quot;">​</a></h1><h2 id="install" tabindex="-1">Install <a class="header-anchor" href="#install" aria-label="Permalink to &quot;Install&quot;">​</a></h2><p>The only dependency for <code>ivue</code> is Vue 3, so it is easy to get started.</p><p>In your terminal install <code>ivue</code> using:</p><div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># yarn</span></span>
2
+ <span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">yarn</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> add</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> ivue</span></span>
3
+ <span class="line"></span>
4
+ <span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># npm</span></span>
5
+ <span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">npm</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> i</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> ivue</span></span>
6
+ <span class="line"></span>
7
+ <span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># pnpm</span></span>
8
+ <span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">pnpm</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> i</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> ivue</span></span></code></pre></div><h2 id="install-by-copying" tabindex="-1">Install by Copying <a class="header-anchor" href="#install-by-copying" aria-label="Permalink to &quot;Install by Copying&quot;">​</a></h2><p><code>ivue</code> is designed to be easily shareable and installable so if you are running TypeScript, you can just copy the <code>ivue.ts</code> into your repo and you are done:</p><details class="details custom-block"><summary>Click to expand the latest <code>ivue</code> source code to copy</summary><div class="vp-code-group vp-adaptive-theme"><div class="tabs"><input type="radio" name="group-VQPwd" id="tab-AjTjt1h" checked><label for="tab-AjTjt1h">ivue.ts</label></div><div class="blocks"><div class="language-ts vp-adaptive-theme active line-numbers-mode"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> *</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;./ivue&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span></code></pre><div class="line-numbers-wrapper" aria-hidden="true"><span class="line-number">1</span><br></div></div></div></div></details><p>Or <a href="https://github.com/infinite-system/ivue/blob/main/src/index.ts" target="_blank" rel="noreferrer">Copy from GitHub</a></p><div class="tip custom-block"><p class="custom-block-title">NOTE</p><p>This installation path is recommended only if you quickly want to tinker with the internals of ivue, as you won&#39;t be getting the latest updates. Also note that this code comes from github <code>main</code> branch latest which might also be in beta and not fully published to <code>npm</code>.</p></div>`,10),l=[n];function p(o,d,h,r,c,k){return i(),a("div",null,l)}const y=s(t,[["render",p]]);export{u as __pageData,y as default};
@@ -0,0 +1 @@
1
+ import{_ as s,c as a,o as i,a5 as e}from"./chunks/framework.CNtPHGsN.js";const u=JSON.parse('{"title":"Getting Started","description":"","frontmatter":{},"headers":[],"relativePath":"pages/getting-started.md","filePath":"pages/getting-started.md"}'),t={name:"pages/getting-started.md"},n=e("",10),l=[n];function p(o,d,h,r,c,k){return i(),a("div",null,l)}const y=s(t,[["render",p]]);export{u as __pageData,y as default};