@gkd-kit/docs 0.0.1730895910754 → 0.0.1730897048473

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 (101) hide show
  1. package/.vitepress/dist/404.html +6 -5
  2. package/.vitepress/dist/api/index.html +10 -9
  3. package/.vitepress/dist/api/interfaces/RawApp.html +10 -9
  4. package/.vitepress/dist/api/interfaces/RawAppGroup.html +11 -10
  5. package/.vitepress/dist/api/interfaces/RawAppRule.html +11 -10
  6. package/.vitepress/dist/api/interfaces/RawAppRuleProps.html +10 -9
  7. package/.vitepress/dist/api/interfaces/RawCategory.html +10 -9
  8. package/.vitepress/dist/api/interfaces/RawCommonProps.html +11 -10
  9. package/.vitepress/dist/api/interfaces/RawGlobalApp.html +10 -9
  10. package/.vitepress/dist/api/interfaces/RawGlobalGroup.html +11 -10
  11. package/.vitepress/dist/api/interfaces/RawGlobalRule.html +11 -10
  12. package/.vitepress/dist/api/interfaces/RawGlobalRuleProps.html +10 -9
  13. package/.vitepress/dist/api/interfaces/RawGroupProps.html +11 -10
  14. package/.vitepress/dist/api/interfaces/RawRuleProps.html +11 -10
  15. package/.vitepress/dist/api/interfaces/RawSubscription.html +11 -10
  16. package/.vitepress/dist/api/type-aliases/IArray.html +11 -10
  17. package/.vitepress/dist/api/type-aliases/Integer.html +11 -10
  18. package/.vitepress/dist/api/type-aliases/Position.html +11 -10
  19. package/.vitepress/dist/assets/{api_index.md.C0dnYTbT.js → api_index.md.DS6dBvoV.js} +1 -1
  20. package/.vitepress/dist/assets/{api_index.md.C0dnYTbT.lean.js → api_index.md.DS6dBvoV.lean.js} +1 -1
  21. package/.vitepress/dist/assets/{api_interfaces_RawApp.md.MaMr82Du.js → api_interfaces_RawApp.md.CpknFkm7.js} +1 -1
  22. package/.vitepress/dist/assets/{api_interfaces_RawApp.md.MaMr82Du.lean.js → api_interfaces_RawApp.md.CpknFkm7.lean.js} +1 -1
  23. package/.vitepress/dist/assets/{api_interfaces_RawAppGroup.md.DZIwMwbH.js → api_interfaces_RawAppGroup.md.CXhqv6_u.js} +1 -1
  24. package/.vitepress/dist/assets/{api_interfaces_RawAppGroup.md.DZIwMwbH.lean.js → api_interfaces_RawAppGroup.md.CXhqv6_u.lean.js} +1 -1
  25. package/.vitepress/dist/assets/{api_interfaces_RawAppRule.md.CljODym8.js → api_interfaces_RawAppRule.md.C2hyO61N.js} +1 -1
  26. package/.vitepress/dist/assets/{api_interfaces_RawAppRule.md.CljODym8.lean.js → api_interfaces_RawAppRule.md.C2hyO61N.lean.js} +1 -1
  27. package/.vitepress/dist/assets/{api_interfaces_RawAppRuleProps.md.Dx3dRepU.js → api_interfaces_RawAppRuleProps.md.Do2vlPPZ.js} +1 -1
  28. package/.vitepress/dist/assets/{api_interfaces_RawAppRuleProps.md.Dx3dRepU.lean.js → api_interfaces_RawAppRuleProps.md.Do2vlPPZ.lean.js} +1 -1
  29. package/.vitepress/dist/assets/{api_interfaces_RawCategory.md.DJsQeHUo.js → api_interfaces_RawCategory.md.Me9mrXB7.js} +1 -1
  30. package/.vitepress/dist/assets/{api_interfaces_RawCategory.md.DJsQeHUo.lean.js → api_interfaces_RawCategory.md.Me9mrXB7.lean.js} +1 -1
  31. package/.vitepress/dist/assets/{api_interfaces_RawCommonProps.md.I8D5vrT4.js → api_interfaces_RawCommonProps.md.B9vtsapU.js} +1 -1
  32. package/.vitepress/dist/assets/{api_interfaces_RawCommonProps.md.I8D5vrT4.lean.js → api_interfaces_RawCommonProps.md.B9vtsapU.lean.js} +1 -1
  33. package/.vitepress/dist/assets/{api_interfaces_RawGlobalApp.md.xvmtsdhY.js → api_interfaces_RawGlobalApp.md.CTiCUSP8.js} +1 -1
  34. package/.vitepress/dist/assets/{api_interfaces_RawGlobalApp.md.xvmtsdhY.lean.js → api_interfaces_RawGlobalApp.md.CTiCUSP8.lean.js} +1 -1
  35. package/.vitepress/dist/assets/{api_interfaces_RawGlobalGroup.md.C5JzQskY.js → api_interfaces_RawGlobalGroup.md.Bql9GvRc.js} +1 -1
  36. package/.vitepress/dist/assets/{api_interfaces_RawGlobalGroup.md.C5JzQskY.lean.js → api_interfaces_RawGlobalGroup.md.Bql9GvRc.lean.js} +1 -1
  37. package/.vitepress/dist/assets/{api_interfaces_RawGlobalRule.md.Bv8NXgxh.js → api_interfaces_RawGlobalRule.md.CWLsP24n.js} +1 -1
  38. package/.vitepress/dist/assets/{api_interfaces_RawGlobalRule.md.Bv8NXgxh.lean.js → api_interfaces_RawGlobalRule.md.CWLsP24n.lean.js} +1 -1
  39. package/.vitepress/dist/assets/{api_interfaces_RawGlobalRuleProps.md.BWagpDC5.js → api_interfaces_RawGlobalRuleProps.md.BkKzFslW.js} +1 -1
  40. package/.vitepress/dist/assets/{api_interfaces_RawGlobalRuleProps.md.BWagpDC5.lean.js → api_interfaces_RawGlobalRuleProps.md.BkKzFslW.lean.js} +1 -1
  41. package/.vitepress/dist/assets/{api_interfaces_RawGroupProps.md.C4ysBXVt.js → api_interfaces_RawGroupProps.md.CmE75FSq.js} +1 -1
  42. package/.vitepress/dist/assets/{api_interfaces_RawGroupProps.md.C4ysBXVt.lean.js → api_interfaces_RawGroupProps.md.CmE75FSq.lean.js} +1 -1
  43. package/.vitepress/dist/assets/{api_interfaces_RawRuleProps.md.BEF9vTmP.js → api_interfaces_RawRuleProps.md.DKbfxAp-.js} +1 -1
  44. package/.vitepress/dist/assets/{api_interfaces_RawRuleProps.md.BEF9vTmP.lean.js → api_interfaces_RawRuleProps.md.DKbfxAp-.lean.js} +1 -1
  45. package/.vitepress/dist/assets/{api_interfaces_RawSubscription.md.Dj1NPd2Z.js → api_interfaces_RawSubscription.md.B0P5Q5dm.js} +1 -1
  46. package/.vitepress/dist/assets/{api_interfaces_RawSubscription.md.Dj1NPd2Z.lean.js → api_interfaces_RawSubscription.md.B0P5Q5dm.lean.js} +1 -1
  47. package/.vitepress/dist/assets/{api_type-aliases_IArray.md.DTY6r7JQ.js → api_type-aliases_IArray.md.B7KsINAB.js} +1 -1
  48. package/.vitepress/dist/assets/{api_type-aliases_IArray.md.DTY6r7JQ.lean.js → api_type-aliases_IArray.md.B7KsINAB.lean.js} +1 -1
  49. package/.vitepress/dist/assets/{api_type-aliases_Integer.md.CnRoBE6C.js → api_type-aliases_Integer.md.BCPlNIEF.js} +1 -1
  50. package/.vitepress/dist/assets/{api_type-aliases_Integer.md.CnRoBE6C.lean.js → api_type-aliases_Integer.md.BCPlNIEF.lean.js} +1 -1
  51. package/.vitepress/dist/assets/{api_type-aliases_Position.md.CAY4tq9J.js → api_type-aliases_Position.md.DM2ZCDDF.js} +1 -1
  52. package/.vitepress/dist/assets/{api_type-aliases_Position.md.CAY4tq9J.lean.js → api_type-aliases_Position.md.DM2ZCDDF.lean.js} +1 -1
  53. package/.vitepress/dist/assets/{app.DNVtiKBC.js → app.0Nh1IfB0.js} +1 -1
  54. package/.vitepress/dist/assets/chunks/@localSearchIndexroot.BEjqWFbR.js +1 -0
  55. package/.vitepress/dist/assets/chunks/VPLocalSearchBox.DMzHz6bI.js +7 -0
  56. package/.vitepress/dist/assets/chunks/framework.F1MJa8FF.js +18 -0
  57. package/.vitepress/dist/assets/chunks/index.BK928a5-.js +263 -0
  58. package/.vitepress/dist/assets/chunks/theme.D0IgFeP9.js +1 -0
  59. package/.vitepress/dist/assets/{guide_example.md.D7P8FSPh.js → guide_example.md.BAtHxrY8.js} +1 -1
  60. package/.vitepress/dist/assets/{guide_example.md.D7P8FSPh.lean.js → guide_example.md.BAtHxrY8.lean.js} +1 -1
  61. package/.vitepress/dist/assets/{guide_external.md.BOhriVcO.js → guide_external.md.Blf_3tZ-.js} +1 -1
  62. package/.vitepress/dist/assets/{guide_external.md.BOhriVcO.lean.js → guide_external.md.Blf_3tZ-.lean.js} +1 -1
  63. package/.vitepress/dist/assets/{guide_faq.md.CFjOXlRT.js → guide_faq.md.BOvp-isM.js} +2 -2
  64. package/.vitepress/dist/assets/{guide_faq.md.CFjOXlRT.lean.js → guide_faq.md.BOvp-isM.lean.js} +2 -2
  65. package/.vitepress/dist/assets/{guide_index.md.BpMngV78.js → guide_index.md.z9xnJ4bP.js} +1 -1
  66. package/.vitepress/dist/assets/{guide_index.md.BpMngV78.lean.js → guide_index.md.z9xnJ4bP.lean.js} +1 -1
  67. package/.vitepress/dist/assets/{guide_node.md.aT2macb8.js → guide_node.md.BV0VGFp7.js} +1 -1
  68. package/.vitepress/dist/assets/{guide_node.md.aT2macb8.lean.js → guide_node.md.BV0VGFp7.lean.js} +1 -1
  69. package/.vitepress/dist/assets/{guide_optimize.md.CVLAFtQT.js → guide_optimize.md.BRCJcu54.js} +1 -1
  70. package/.vitepress/dist/assets/{guide_optimize.md.CVLAFtQT.lean.js → guide_optimize.md.BRCJcu54.lean.js} +1 -1
  71. package/.vitepress/dist/assets/{guide_selector.md.BUknNaVj.js → guide_selector.md.suOINyvh.js} +1 -1
  72. package/.vitepress/dist/assets/{guide_selector.md.BUknNaVj.lean.js → guide_selector.md.suOINyvh.lean.js} +1 -1
  73. package/.vitepress/dist/assets/{guide_snapshot.md.4dBzGN9v.js → guide_snapshot.md.BaRBwY-1.js} +1 -1
  74. package/.vitepress/dist/assets/{guide_snapshot.md.4dBzGN9v.lean.js → guide_snapshot.md.BaRBwY-1.lean.js} +1 -1
  75. package/.vitepress/dist/assets/{guide_subscription.md.CJ4AP_Bi.js → guide_subscription.md.DAPn-kL6.js} +1 -1
  76. package/.vitepress/dist/assets/{guide_subscription.md.CJ4AP_Bi.lean.js → guide_subscription.md.DAPn-kL6.lean.js} +1 -1
  77. package/.vitepress/dist/assets/{guide_what-is-gkd.md.DqZmLmp9.js → guide_what-is-gkd.md.pCyddgcF.js} +1 -1
  78. package/.vitepress/dist/assets/{guide_what-is-gkd.md.DqZmLmp9.lean.js → guide_what-is-gkd.md.pCyddgcF.lean.js} +1 -1
  79. package/.vitepress/dist/assets/{index.md.D_UMLl-X.js → index.md.BN0ypr4M.js} +1 -1
  80. package/.vitepress/dist/assets/{index.md.D_UMLl-X.lean.js → index.md.BN0ypr4M.lean.js} +1 -1
  81. package/.vitepress/dist/assets/style.CzHLUY2l.css +1 -0
  82. package/.vitepress/dist/guide/example.html +10 -9
  83. package/.vitepress/dist/guide/external.html +10 -9
  84. package/.vitepress/dist/guide/faq.html +11 -10
  85. package/.vitepress/dist/guide/index.html +10 -9
  86. package/.vitepress/dist/guide/node.html +10 -9
  87. package/.vitepress/dist/guide/optimize.html +10 -9
  88. package/.vitepress/dist/guide/selector.html +11 -10
  89. package/.vitepress/dist/guide/snapshot.html +10 -9
  90. package/.vitepress/dist/guide/subscription.html +11 -10
  91. package/.vitepress/dist/guide/what-is-gkd.html +10 -9
  92. package/.vitepress/dist/hashmap.json +1 -1
  93. package/.vitepress/dist/index.html +10 -9
  94. package/.vitepress/dist/vp-icons.css +1 -0
  95. package/package.json +1 -1
  96. package/.vitepress/dist/assets/chunks/@localSearchIndexroot._GF3PaGm.js +0 -1
  97. package/.vitepress/dist/assets/chunks/VPLocalSearchBox.BUpEvX0R.js +0 -7
  98. package/.vitepress/dist/assets/chunks/framework.BvIb6WYF.js +0 -17
  99. package/.vitepress/dist/assets/chunks/index.CIgExcTQ.js +0 -257
  100. package/.vitepress/dist/assets/chunks/theme.CZEXvK7G.js +0 -1
  101. package/.vitepress/dist/assets/style.Bsl9YifO.css +0 -1
@@ -1,7 +0,0 @@
1
- var kt=Object.defineProperty;var Ft=(a,e,t)=>e in a?kt(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Re=(a,e,t)=>Ft(a,typeof e!="symbol"?e+"":e,t);import{V as Ot,p as se,h as pe,av as Xe,aw as Rt,ax as Ct,q as Ve,ay as Mt,d as At,D as be,az as et,aA as Dt,aB as Lt,s as zt,aC as Pt,v as Ce,P as ue,O as ye,aD as Vt,aE as jt,W as $t,R as Bt,$ as Wt,o as G,b as Kt,j as S,a0 as Jt,k as L,a4 as Ut,a5 as qt,aF as Gt,c as Y,n as tt,e as we,C as st,F as nt,a as de,t as he,ao as Ht,aG as it,aH as Qt,aa as Yt,ag as Zt,aI as Xt,_ as es}from"./framework.BvIb6WYF.js";import{u as ts,c as ss}from"./theme.CZEXvK7G.js";const ns={root:()=>Ot(()=>import(((u)=>{if(u.startsWith('/')){return"https://registry.npmmirror.com/@gkd-kit/docs/0.0.1730895910754/files/.vitepress/dist"+u}return u})("./@localSearchIndexroot._GF3PaGm.js")),[])};/*!
2
- * tabbable 6.2.0
3
- * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
4
- */var vt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Te=vt.join(","),mt=typeof Element>"u",ie=mt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ie=!mt&&Element.prototype.getRootNode?function(a){var e;return a==null||(e=a.getRootNode)===null||e===void 0?void 0:e.call(a)}:function(a){return a==null?void 0:a.ownerDocument},Ne=function a(e,t){var s;t===void 0&&(t=!0);var n=e==null||(s=e.getAttribute)===null||s===void 0?void 0:s.call(e,"inert"),r=n===""||n==="true",i=r||t&&e&&a(e.parentNode);return i},is=function(e){var t,s=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return s===""||s==="true"},gt=function(e,t,s){if(Ne(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Te));return t&&ie.call(e,Te)&&n.unshift(e),n=n.filter(s),n},bt=function a(e,t,s){for(var n=[],r=Array.from(e);r.length;){var i=r.shift();if(!Ne(i,!1))if(i.tagName==="SLOT"){var o=i.assignedElements(),l=o.length?o:i.children,c=a(l,!0,s);s.flatten?n.push.apply(n,c):n.push({scopeParent:i,candidates:c})}else{var h=ie.call(i,Te);h&&s.filter(i)&&(t||!e.includes(i))&&n.push(i);var m=i.shadowRoot||typeof s.getShadowRoot=="function"&&s.getShadowRoot(i),f=!Ne(m,!1)&&(!s.shadowRootFilter||s.shadowRootFilter(i));if(m&&f){var b=a(m===!0?i.children:m.children,!0,s);s.flatten?n.push.apply(n,b):n.push({scopeParent:i,candidates:b})}else r.unshift.apply(r,i.children)}}return n},yt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ne=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||is(e))&&!yt(e)?0:e.tabIndex},rs=function(e,t){var s=ne(e);return s<0&&t&&!yt(e)?0:s},as=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},wt=function(e){return e.tagName==="INPUT"},os=function(e){return wt(e)&&e.type==="hidden"},ls=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(s){return s.tagName==="SUMMARY"});return t},cs=function(e,t){for(var s=0;s<e.length;s++)if(e[s].checked&&e[s].form===t)return e[s]},us=function(e){if(!e.name)return!0;var t=e.form||Ie(e),s=function(o){return t.querySelectorAll('input[type="radio"][name="'+o+'"]')},n;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")n=s(window.CSS.escape(e.name));else try{n=s(e.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var r=cs(n,e.form);return!r||r===e},ds=function(e){return wt(e)&&e.type==="radio"},hs=function(e){return ds(e)&&!us(e)},fs=function(e){var t,s=e&&Ie(e),n=(t=s)===null||t===void 0?void 0:t.host,r=!1;if(s&&s!==e){var i,o,l;for(r=!!((i=n)!==null&&i!==void 0&&(o=i.ownerDocument)!==null&&o!==void 0&&o.contains(n)||e!=null&&(l=e.ownerDocument)!==null&&l!==void 0&&l.contains(e));!r&&n;){var c,h,m;s=Ie(n),n=(c=s)===null||c===void 0?void 0:c.host,r=!!((h=n)!==null&&h!==void 0&&(m=h.ownerDocument)!==null&&m!==void 0&&m.contains(n))}}return r},rt=function(e){var t=e.getBoundingClientRect(),s=t.width,n=t.height;return s===0&&n===0},ps=function(e,t){var s=t.displayCheck,n=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var r=ie.call(e,"details>summary:first-of-type"),i=r?e.parentElement:e;if(ie.call(i,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="legacy-full"){if(typeof n=="function"){for(var o=e;e;){var l=e.parentElement,c=Ie(e);if(l&&!l.shadowRoot&&n(l)===!0)return rt(e);e.assignedSlot?e=e.assignedSlot:!l&&c!==e.ownerDocument?e=c.host:e=l}e=o}if(fs(e))return!e.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return rt(e);return!1},vs=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var s=0;s<t.children.length;s++){var n=t.children.item(s);if(n.tagName==="LEGEND")return ie.call(t,"fieldset[disabled] *")?!0:!n.contains(e)}return!0}t=t.parentElement}return!1},ke=function(e,t){return!(t.disabled||Ne(t)||os(t)||ps(t,e)||ls(t)||vs(t))},je=function(e,t){return!(hs(t)||ne(t)<0||!ke(e,t))},ms=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},gs=function a(e){var t=[],s=[];return e.forEach(function(n,r){var i=!!n.scopeParent,o=i?n.scopeParent:n,l=rs(o,i),c=i?a(n.candidates):o;l===0?i?t.push.apply(t,c):t.push(o):s.push({documentOrder:r,tabIndex:l,item:n,isScope:i,content:c})}),s.sort(as).reduce(function(n,r){return r.isScope?n.push.apply(n,r.content):n.push(r.content),n},[]).concat(t)},bs=function(e,t){t=t||{};var s;return t.getShadowRoot?s=bt([e],t.includeContainer,{filter:je.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ms}):s=gt(e,t.includeContainer,je.bind(null,t)),gs(s)},ys=function(e,t){t=t||{};var s;return t.getShadowRoot?s=bt([e],t.includeContainer,{filter:ke.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s=gt(e,t.includeContainer,ke.bind(null,t)),s},re=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ie.call(e,Te)===!1?!1:je(t,e)},ws=vt.concat("iframe").join(","),Me=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ie.call(e,ws)===!1?!1:ke(t,e)};/*!
5
- * focus-trap 7.5.4
6
- * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
7
- */function at(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(a);e&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable})),t.push.apply(t,s)}return t}function ot(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?at(Object(t),!0).forEach(function(s){xs(a,s,t[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):at(Object(t)).forEach(function(s){Object.defineProperty(a,s,Object.getOwnPropertyDescriptor(t,s))})}return a}function xs(a,e,t){return e=_s(e),e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}function Ss(a,e){if(typeof a!="object"||a===null)return a;var t=a[Symbol.toPrimitive];if(t!==void 0){var s=t.call(a,e||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(a)}function _s(a){var e=Ss(a,"string");return typeof e=="symbol"?e:String(e)}var lt={activateTrap:function(e,t){if(e.length>0){var s=e[e.length-1];s!==t&&s.pause()}var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var s=e.indexOf(t);s!==-1&&e.splice(s,1),e.length>0&&e[e.length-1].unpause()}},Es=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ts=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},ve=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Is=function(e){return ve(e)&&!e.shiftKey},Ns=function(e){return ve(e)&&e.shiftKey},ct=function(e){return setTimeout(e,0)},ut=function(e,t){var s=-1;return e.every(function(n,r){return t(n)?(s=r,!1):!0}),s},fe=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n<t;n++)s[n-1]=arguments[n];return typeof e=="function"?e.apply(void 0,s):e},xe=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},ks=[],Fs=function(e,t){var s=(t==null?void 0:t.document)||document,n=(t==null?void 0:t.trapStack)||ks,r=ot({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Is,isKeyBackward:Ns},t),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},o,l=function(u,d,g){return u&&u[d]!==void 0?u[d]:r[g||d]},c=function(u,d){var g=typeof(d==null?void 0:d.composedPath)=="function"?d.composedPath():void 0;return i.containerGroups.findIndex(function(_){var E=_.container,k=_.tabbableNodes;return E.contains(u)||(g==null?void 0:g.includes(E))||k.find(function(F){return F===u})})},h=function(u){var d=r[u];if(typeof d=="function"){for(var g=arguments.length,_=new Array(g>1?g-1:0),E=1;E<g;E++)_[E-1]=arguments[E];d=d.apply(void 0,_)}if(d===!0&&(d=void 0),!d){if(d===void 0||d===!1)return d;throw new Error("`".concat(u,"` was specified but was not a node, or did not return a node"))}var k=d;if(typeof d=="string"&&(k=s.querySelector(d),!k))throw new Error("`".concat(u,"` as selector refers to no known node"));return k},m=function(){var u=h("initialFocus");if(u===!1)return!1;if(u===void 0||!Me(u,r.tabbableOptions))if(c(s.activeElement)>=0)u=s.activeElement;else{var d=i.tabbableGroups[0],g=d&&d.firstTabbableNode;u=g||h("fallbackFocus")}if(!u)throw new Error("Your focus-trap needs to have at least one focusable element");return u},f=function(){if(i.containerGroups=i.containers.map(function(u){var d=bs(u,r.tabbableOptions),g=ys(u,r.tabbableOptions),_=d.length>0?d[0]:void 0,E=d.length>0?d[d.length-1]:void 0,k=g.find(function(v){return re(v)}),F=g.slice().reverse().find(function(v){return re(v)}),M=!!d.find(function(v){return ne(v)>0});return{container:u,tabbableNodes:d,focusableNodes:g,posTabIndexesFound:M,firstTabbableNode:_,lastTabbableNode:E,firstDomTabbableNode:k,lastDomTabbableNode:F,nextTabbableNode:function(p){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,O=d.indexOf(p);return O<0?N?g.slice(g.indexOf(p)+1).find(function(P){return re(P)}):g.slice(0,g.indexOf(p)).reverse().find(function(P){return re(P)}):d[O+(N?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(u){return u.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!h("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(u){return u.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},b=function T(u){var d=u.activeElement;if(d)return d.shadowRoot&&d.shadowRoot.activeElement!==null?T(d.shadowRoot):d},y=function T(u){if(u!==!1&&u!==b(document)){if(!u||!u.focus){T(m());return}u.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=u,Es(u)&&u.select()}},x=function(u){var d=h("setReturnFocus",u);return d||(d===!1?!1:u)},w=function(u){var d=u.target,g=u.event,_=u.isBackward,E=_===void 0?!1:_;d=d||xe(g),f();var k=null;if(i.tabbableGroups.length>0){var F=c(d,g),M=F>=0?i.containerGroups[F]:void 0;if(F<0)E?k=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:k=i.tabbableGroups[0].firstTabbableNode;else if(E){var v=ut(i.tabbableGroups,function(I){var D=I.firstTabbableNode;return d===D});if(v<0&&(M.container===d||Me(d,r.tabbableOptions)&&!re(d,r.tabbableOptions)&&!M.nextTabbableNode(d,!1))&&(v=F),v>=0){var p=v===0?i.tabbableGroups.length-1:v-1,N=i.tabbableGroups[p];k=ne(d)>=0?N.lastTabbableNode:N.lastDomTabbableNode}else ve(g)||(k=M.nextTabbableNode(d,!1))}else{var O=ut(i.tabbableGroups,function(I){var D=I.lastTabbableNode;return d===D});if(O<0&&(M.container===d||Me(d,r.tabbableOptions)&&!re(d,r.tabbableOptions)&&!M.nextTabbableNode(d))&&(O=F),O>=0){var P=O===i.tabbableGroups.length-1?0:O+1,V=i.tabbableGroups[P];k=ne(d)>=0?V.firstTabbableNode:V.firstDomTabbableNode}else ve(g)||(k=M.nextTabbableNode(d))}}else k=h("fallbackFocus");return k},R=function(u){var d=xe(u);if(!(c(d,u)>=0)){if(fe(r.clickOutsideDeactivates,u)){o.deactivate({returnFocus:r.returnFocusOnDeactivate});return}fe(r.allowOutsideClick,u)||u.preventDefault()}},C=function(u){var d=xe(u),g=c(d,u)>=0;if(g||d instanceof Document)g&&(i.mostRecentlyFocusedNode=d);else{u.stopImmediatePropagation();var _,E=!0;if(i.mostRecentlyFocusedNode)if(ne(i.mostRecentlyFocusedNode)>0){var k=c(i.mostRecentlyFocusedNode),F=i.containerGroups[k].tabbableNodes;if(F.length>0){var M=F.findIndex(function(v){return v===i.mostRecentlyFocusedNode});M>=0&&(r.isKeyForward(i.recentNavEvent)?M+1<F.length&&(_=F[M+1],E=!1):M-1>=0&&(_=F[M-1],E=!1))}}else i.containerGroups.some(function(v){return v.tabbableNodes.some(function(p){return ne(p)>0})})||(E=!1);else E=!1;E&&(_=w({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),y(_||i.mostRecentlyFocusedNode||m())}i.recentNavEvent=void 0},K=function(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=u;var g=w({event:u,isBackward:d});g&&(ve(u)&&u.preventDefault(),y(g))},H=function(u){if(Ts(u)&&fe(r.escapeDeactivates,u)!==!1){u.preventDefault(),o.deactivate();return}(r.isKeyForward(u)||r.isKeyBackward(u))&&K(u,r.isKeyBackward(u))},W=function(u){var d=xe(u);c(d,u)>=0||fe(r.clickOutsideDeactivates,u)||fe(r.allowOutsideClick,u)||(u.preventDefault(),u.stopImmediatePropagation())},j=function(){if(i.active)return lt.activateTrap(n,o),i.delayInitialFocusTimer=r.delayInitialFocus?ct(function(){y(m())}):y(m()),s.addEventListener("focusin",C,!0),s.addEventListener("mousedown",R,{capture:!0,passive:!1}),s.addEventListener("touchstart",R,{capture:!0,passive:!1}),s.addEventListener("click",W,{capture:!0,passive:!1}),s.addEventListener("keydown",H,{capture:!0,passive:!1}),o},$=function(){if(i.active)return s.removeEventListener("focusin",C,!0),s.removeEventListener("mousedown",R,!0),s.removeEventListener("touchstart",R,!0),s.removeEventListener("click",W,!0),s.removeEventListener("keydown",H,!0),o},Oe=function(u){var d=u.some(function(g){var _=Array.from(g.removedNodes);return _.some(function(E){return E===i.mostRecentlyFocusedNode})});d&&y(m())},A=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(Oe):void 0,J=function(){A&&(A.disconnect(),i.active&&!i.paused&&i.containers.map(function(u){A.observe(u,{subtree:!0,childList:!0})}))};return o={get active(){return i.active},get paused(){return i.paused},activate:function(u){if(i.active)return this;var d=l(u,"onActivate"),g=l(u,"onPostActivate"),_=l(u,"checkCanFocusTrap");_||f(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=s.activeElement,d==null||d();var E=function(){_&&f(),j(),J(),g==null||g()};return _?(_(i.containers.concat()).then(E,E),this):(E(),this)},deactivate:function(u){if(!i.active)return this;var d=ot({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},u);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,$(),i.active=!1,i.paused=!1,J(),lt.deactivateTrap(n,o);var g=l(d,"onDeactivate"),_=l(d,"onPostDeactivate"),E=l(d,"checkCanReturnFocus"),k=l(d,"returnFocus","returnFocusOnDeactivate");g==null||g();var F=function(){ct(function(){k&&y(x(i.nodeFocusedBeforeActivation)),_==null||_()})};return k&&E?(E(x(i.nodeFocusedBeforeActivation)).then(F,F),this):(F(),this)},pause:function(u){if(i.paused||!i.active)return this;var d=l(u,"onPause"),g=l(u,"onPostPause");return i.paused=!0,d==null||d(),$(),J(),g==null||g(),this},unpause:function(u){if(!i.paused||!i.active)return this;var d=l(u,"onUnpause"),g=l(u,"onPostUnpause");return i.paused=!1,d==null||d(),f(),j(),J(),g==null||g(),this},updateContainerElements:function(u){var d=[].concat(u).filter(Boolean);return i.containers=d.map(function(g){return typeof g=="string"?s.querySelector(g):g}),i.active&&f(),J(),this}},o.updateContainerElements(e),o};function Os(a,e={}){let t;const{immediate:s,...n}=e,r=se(!1),i=se(!1),o=f=>t&&t.activate(f),l=f=>t&&t.deactivate(f),c=()=>{t&&(t.pause(),i.value=!0)},h=()=>{t&&(t.unpause(),i.value=!1)},m=pe(()=>{const f=Xe(a);return(Array.isArray(f)?f:[f]).map(b=>{const y=Xe(b);return typeof y=="string"?y:Rt(y)}).filter(Ct)});return Ve(m,f=>{f.length&&(t=Fs(f,{...n,onActivate(){r.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){r.value=!1,e.onDeactivate&&e.onDeactivate()}}),s&&o())},{flush:"post"}),Mt(()=>l()),{hasFocus:r,isPaused:i,activate:o,deactivate:l,pause:c,unpause:h}}class oe{constructor(e,t=!0,s=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=s,this.iframesTimeout=n}static matches(e,t){const s=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let r=!1;return s.every(i=>n.call(e,i)?(r=!0,!1):!0),r}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(s=>{const n=t.filter(r=>r.contains(s)).length>0;t.indexOf(s)===-1&&!n&&t.push(s)}),t}getIframeContents(e,t,s=()=>{}){let n;try{const r=e.contentWindow;if(n=r.document,!r||!n)throw new Error("iframe inaccessible")}catch{s()}n&&t(n)}isIframeBlank(e){const t="about:blank",s=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&s!==t&&s}observeIframeLoad(e,t,s){let n=!1,r=null;const i=()=>{if(!n){n=!0,clearTimeout(r);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,s))}catch{s()}}};e.addEventListener("load",i),r=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,s){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,s):this.getIframeContents(e,t,s):this.observeIframeLoad(e,t,s)}catch{s()}}waitForIframes(e,t){let s=0;this.forEachIframe(e,()=>!0,n=>{s++,this.waitForIframes(n.querySelector("html"),()=>{--s||t()})},n=>{n||t()})}forEachIframe(e,t,s,n=()=>{}){let r=e.querySelectorAll("iframe"),i=r.length,o=0;r=Array.prototype.slice.call(r);const l=()=>{--i<=0&&n(o)};i||l(),r.forEach(c=>{oe.matches(c,this.exclude)?l():this.onIframeReady(c,h=>{t(c)&&(o++,s(h)),l()},l)})}createIterator(e,t,s){return document.createNodeIterator(e,t,s,!1)}createInstanceOnIframe(e){return new oe(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,s){const n=e.compareDocumentPosition(s),r=Node.DOCUMENT_POSITION_PRECEDING;if(n&r)if(t!==null){const i=t.compareDocumentPosition(s),o=Node.DOCUMENT_POSITION_FOLLOWING;if(i&o)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let s;return t===null?s=e.nextNode():s=e.nextNode()&&e.nextNode(),{prevNode:t,node:s}}checkIframeFilter(e,t,s,n){let r=!1,i=!1;return n.forEach((o,l)=>{o.val===s&&(r=l,i=o.handled)}),this.compareNodeIframe(e,t,s)?(r===!1&&!i?n.push({val:s,handled:!0}):r!==!1&&!i&&(n[r].handled=!0),!0):(r===!1&&n.push({val:s,handled:!1}),!1)}handleOpenIframes(e,t,s,n){e.forEach(r=>{r.handled||this.getIframeContents(r.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,s,n)})})}iterateThroughNodes(e,t,s,n,r){const i=this.createIterator(t,e,n);let o=[],l=[],c,h,m=()=>({prevNode:h,node:c}=this.getIteratorNode(i),c);for(;m();)this.iframes&&this.forEachIframe(t,f=>this.checkIframeFilter(c,h,f,o),f=>{this.createInstanceOnIframe(f).forEachNode(e,b=>l.push(b),n)}),l.push(c);l.forEach(f=>{s(f)}),this.iframes&&this.handleOpenIframes(o,e,s,n),r()}forEachNode(e,t,s,n=()=>{}){const r=this.getContexts();let i=r.length;i||n(),r.forEach(o=>{const l=()=>{this.iterateThroughNodes(e,o,t,s,()=>{--i<=0&&n()})};this.iframes?this.waitForIframes(o,l):l()})}}let Rs=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new oe(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const s=this.opt.log;this.opt.debug&&typeof s=="object"&&typeof s[t]=="function"&&s[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,s=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let r in t)if(t.hasOwnProperty(r)){const i=t[r],o=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(r):this.escapeStr(r),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);o!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(o)}|${this.escapeStr(l)})`,`gm${s}`),n+`(${this.processSynomyms(o)}|${this.processSynomyms(l)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,s,n)=>{let r=n.charAt(s+1);return/[(|)\\]/.test(r)||r===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const s=this.opt.ignorePunctuation;return Array.isArray(s)&&s.length&&t.push(this.escapeStr(s.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",s=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let n=[];return e.split("").forEach(r=>{s.every(i=>{if(i.indexOf(r)!==-1){if(n.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),n.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let s=this.opt.accuracy,n=typeof s=="string"?s:s.value,r=typeof s=="string"?[]:s.limiters,i="";switch(r.forEach(o=>{i+=`|${this.escapeStr(o)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(s=>{this.opt.separateWordSearch?s.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):s.trim()&&t.indexOf(s)===-1&&t.push(s)}),{keywords:t.sort((s,n)=>n.length-s.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let s=0;return e.sort((n,r)=>n.start-r.start).forEach(n=>{let{start:r,end:i,valid:o}=this.callNoMatchOnInvalidRanges(n,s);o&&(n.start=r,n.length=i-r,t.push(n),s=i)}),t}callNoMatchOnInvalidRanges(e,t){let s,n,r=!1;return e&&typeof e.start<"u"?(s=parseInt(e.start,10),n=s+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-s>0?r=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:s,end:n,valid:r}}checkWhitespaceRanges(e,t,s){let n,r=!0,i=s.length,o=t-i,l=parseInt(e.start,10)-o;return l=l>i?i:l,n=l+parseInt(e.length,10),n>i&&(n=i,this.log(`End range automatically set to the max value of ${i}`)),l<0||n-l<0||l>i||n>i?(r=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):s.substring(l,n).replace(/\s+/g,"")===""&&(r=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:n,valid:r}}getTextNodes(e){let t="",s=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{s.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:s})})}matchesExclude(e){return oe.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,s){const n=this.opt.element?this.opt.element:"mark",r=e.splitText(t),i=r.splitText(s-t);let o=document.createElement(n);return o.setAttribute("data-markjs","true"),this.opt.className&&o.setAttribute("class",this.opt.className),o.textContent=r.textContent,r.parentNode.replaceChild(o,r),i}wrapRangeInMappedTextNode(e,t,s,n,r){e.nodes.every((i,o)=>{const l=e.nodes[o+1];if(typeof l>"u"||l.start>t){if(!n(i.node))return!1;const c=t-i.start,h=(s>i.end?i.end:s)-i.start,m=e.value.substr(0,i.start),f=e.value.substr(h+i.start);if(i.node=this.wrapRangeInTextNode(i.node,c,h),e.value=m+f,e.nodes.forEach((b,y)=>{y>=o&&(e.nodes[y].start>0&&y!==o&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),s-=h,r(i.node.previousSibling,i.start),s>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,s,n,r){const i=t===0?0:t+1;this.getTextNodes(o=>{o.nodes.forEach(l=>{l=l.node;let c;for(;(c=e.exec(l.textContent))!==null&&c[i]!=="";){if(!s(c[i],l))continue;let h=c.index;if(i!==0)for(let m=1;m<i;m++)h+=c[m].length;l=this.wrapRangeInTextNode(l,h,h+c[i].length),n(l.previousSibling),e.lastIndex=0}}),r()})}wrapMatchesAcrossElements(e,t,s,n,r){const i=t===0?0:t+1;this.getTextNodes(o=>{let l;for(;(l=e.exec(o.value))!==null&&l[i]!=="";){let c=l.index;if(i!==0)for(let m=1;m<i;m++)c+=l[m].length;const h=c+l[i].length;this.wrapRangeInMappedTextNode(o,c,h,m=>s(l[i],m),(m,f)=>{e.lastIndex=f,n(m)})}r()})}wrapRangeFromIndex(e,t,s,n){this.getTextNodes(r=>{const i=r.value.length;e.forEach((o,l)=>{let{start:c,end:h,valid:m}=this.checkWhitespaceRanges(o,i,r.value);m&&this.wrapRangeInMappedTextNode(r,c,h,f=>t(f,o,r.value.substring(c,h),l),f=>{s(f,o)})}),n()})}unwrapMatches(e){const t=e.parentNode;let s=document.createDocumentFragment();for(;e.firstChild;)s.appendChild(e.removeChild(e.firstChild));t.replaceChild(s,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let s=0,n="wrapMatches";const r=i=>{s++,this.opt.each(i)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(i,o)=>this.opt.filter(o,i,s),r,()=>{s===0&&this.opt.noMatch(e),this.opt.done(s)})}mark(e,t){this.opt=t;let s=0,n="wrapMatches";const{keywords:r,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),o=this.opt.caseSensitive?"":"i",l=c=>{let h=new RegExp(this.createRegExp(c),`gm${o}`),m=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(f,b)=>this.opt.filter(b,c,s,m),f=>{m++,s++,this.opt.each(f)},()=>{m===0&&this.opt.noMatch(c),r[i-1]===c?this.opt.done(s):l(r[r.indexOf(c)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),i===0?this.opt.done(s):l(r[0])}markRanges(e,t){this.opt=t;let s=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(r,i,o,l)=>this.opt.filter(r,i,o,l),(r,i)=>{s++,this.opt.each(r,i)},()=>{this.opt.done(s)})):this.opt.done(s)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,s=>{this.unwrapMatches(s)},s=>{const n=oe.matches(s,t),r=this.matchesExclude(s);return!n||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Cs(a){const e=new Rs(a);return this.mark=(t,s)=>(e.mark(t,s),this),this.markRegExp=(t,s)=>(e.markRegExp(t,s),this),this.markRanges=(t,s)=>(e.markRanges(t,s),this),this.unmark=t=>(e.unmark(t),this),this}function Ee(a,e,t,s){function n(r){return r instanceof t?r:new t(function(i){i(r)})}return new(t||(t=Promise))(function(r,i){function o(h){try{c(s.next(h))}catch(m){i(m)}}function l(h){try{c(s.throw(h))}catch(m){i(m)}}function c(h){h.done?r(h.value):n(h.value).then(o,l)}c((s=s.apply(a,[])).next())})}const Ms="ENTRIES",xt="KEYS",St="VALUES",z="";class Ae{constructor(e,t){const s=e._tree,n=Array.from(s.keys());this.set=e,this._type=t,this._path=n.length>0?[{node:s,keys:n}]:[]}next(){const e=this.dive();return this.backtrack(),e}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:e,keys:t}=ae(this._path);if(ae(t)===z)return{done:!1,value:this.result()};const s=e.get(ae(t));return this._path.push({node:s,keys:Array.from(s.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=ae(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>ae(e)).filter(e=>e!==z).join("")}value(){return ae(this._path).node.get(z)}result(){switch(this._type){case St:return this.value();case xt:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const ae=a=>a[a.length-1],As=(a,e,t)=>{const s=new Map;if(e===void 0)return s;const n=e.length+1,r=n+t,i=new Uint8Array(r*n).fill(t+1);for(let o=0;o<n;++o)i[o]=o;for(let o=1;o<r;++o)i[o*n]=o;return _t(a,e,t,s,i,1,n,""),s},_t=(a,e,t,s,n,r,i,o)=>{const l=r*i;e:for(const c of a.keys())if(c===z){const h=n[l-1];h<=t&&s.set(o,[a.get(c),h])}else{let h=r;for(let m=0;m<c.length;++m,++h){const f=c[m],b=i*h,y=b-i;let x=n[b];const w=Math.max(0,h-t-1),R=Math.min(i-1,h+t);for(let C=w;C<R;++C){const K=f!==e[C],H=n[y+C]+ +K,W=n[y+C+1]+1,j=n[b+C]+1,$=n[b+C+1]=Math.min(H,W,j);$<x&&(x=$)}if(x>t)continue e}_t(a.get(c),e,t,s,n,h,i,o+c)}};class Z{constructor(e=new Map,t=""){this._size=void 0,this._tree=e,this._prefix=t}atPrefix(e){if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");const[t,s]=Fe(this._tree,e.slice(this._prefix.length));if(t===void 0){const[n,r]=Ke(s);for(const i of n.keys())if(i!==z&&i.startsWith(r)){const o=new Map;return o.set(i.slice(r.length),n.get(i)),new Z(o,e)}}return new Z(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,Ds(this._tree,e)}entries(){return new Ae(this,Ms)}forEach(e){for(const[t,s]of this)e(t,s,this)}fuzzyGet(e,t){return As(this._tree,e,t)}get(e){const t=$e(this._tree,e);return t!==void 0?t.get(z):void 0}has(e){const t=$e(this._tree,e);return t!==void 0&&t.has(z)}keys(){return new Ae(this,xt)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,De(this._tree,e).set(z,t),this}get size(){if(this._size)return this._size;this._size=0;const e=this.entries();for(;!e.next().done;)this._size+=1;return this._size}update(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=De(this._tree,e);return s.set(z,t(s.get(z))),this}fetch(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=De(this._tree,e);let n=s.get(z);return n===void 0&&s.set(z,n=t()),n}values(){return new Ae(this,St)}[Symbol.iterator](){return this.entries()}static from(e){const t=new Z;for(const[s,n]of e)t.set(s,n);return t}static fromObject(e){return Z.from(Object.entries(e))}}const Fe=(a,e,t=[])=>{if(e.length===0||a==null)return[a,t];for(const s of a.keys())if(s!==z&&e.startsWith(s))return t.push([a,s]),Fe(a.get(s),e.slice(s.length),t);return t.push([a,e]),Fe(void 0,"",t)},$e=(a,e)=>{if(e.length===0||a==null)return a;for(const t of a.keys())if(t!==z&&e.startsWith(t))return $e(a.get(t),e.slice(t.length))},De=(a,e)=>{const t=e.length;e:for(let s=0;a&&s<t;){for(const r of a.keys())if(r!==z&&e[s]===r[0]){const i=Math.min(t-s,r.length);let o=1;for(;o<i&&e[s+o]===r[o];)++o;const l=a.get(r);if(o===r.length)a=l;else{const c=new Map;c.set(r.slice(o),l),a.set(e.slice(s,s+o),c),a.delete(r),a=c}s+=o;continue e}const n=new Map;return a.set(e.slice(s),n),n}return a},Ds=(a,e)=>{const[t,s]=Fe(a,e);if(t!==void 0){if(t.delete(z),t.size===0)Et(s);else if(t.size===1){const[n,r]=t.entries().next().value;Tt(s,n,r)}}},Et=a=>{if(a.length===0)return;const[e,t]=Ke(a);if(e.delete(t),e.size===0)Et(a.slice(0,-1));else if(e.size===1){const[s,n]=e.entries().next().value;s!==z&&Tt(a.slice(0,-1),s,n)}},Tt=(a,e,t)=>{if(a.length===0)return;const[s,n]=Ke(a);s.set(n+e,t),s.delete(n)},Ke=a=>a[a.length-1],Je="or",It="and",Ls="and_not";class le{constructor(e){if((e==null?void 0:e.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');const t=e.autoVacuum==null||e.autoVacuum===!0?Pe:e.autoVacuum;this._options=Object.assign(Object.assign(Object.assign({},ze),e),{autoVacuum:t,searchOptions:Object.assign(Object.assign({},dt),e.searchOptions||{}),autoSuggestOptions:Object.assign(Object.assign({},$s),e.autoSuggestOptions||{})}),this._index=new Z,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=We,this.addFields(this._options.fields)}add(e){const{extractField:t,tokenize:s,processTerm:n,fields:r,idField:i}=this._options,o=t(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);if(this._idToShortId.has(o))throw new Error(`MiniSearch: duplicate ID ${o}`);const l=this.addDocumentId(o);this.saveStoredFields(l,e);for(const c of r){const h=t(e,c);if(h==null)continue;const m=s(h.toString(),c),f=this._fieldIds[c],b=new Set(m).size;this.addFieldLength(l,f,this._documentCount-1,b);for(const y of m){const x=n(y,c);if(Array.isArray(x))for(const w of x)this.addTerm(f,l,w);else x&&this.addTerm(f,l,x)}}}addAll(e){for(const t of e)this.add(t)}addAllAsync(e,t={}){const{chunkSize:s=10}=t,n={chunk:[],promise:Promise.resolve()},{chunk:r,promise:i}=e.reduce(({chunk:o,promise:l},c,h)=>(o.push(c),(h+1)%s===0?{chunk:[],promise:l.then(()=>new Promise(m=>setTimeout(m,0))).then(()=>this.addAll(o))}:{chunk:o,promise:l}),n);return i.then(()=>this.addAll(r))}remove(e){const{tokenize:t,processTerm:s,extractField:n,fields:r,idField:i}=this._options,o=n(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);const l=this._idToShortId.get(o);if(l==null)throw new Error(`MiniSearch: cannot remove document with ID ${o}: it is not in the index`);for(const c of r){const h=n(e,c);if(h==null)continue;const m=t(h.toString(),c),f=this._fieldIds[c],b=new Set(m).size;this.removeFieldLength(l,f,this._documentCount,b);for(const y of m){const x=s(y,c);if(Array.isArray(x))for(const w of x)this.removeTerm(f,l,w);else x&&this.removeTerm(f,l,x)}}this._storedFields.delete(l),this._documentIds.delete(l),this._idToShortId.delete(o),this._fieldLength.delete(l),this._documentCount-=1}removeAll(e){if(e)for(const t of e)this.remove(t);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new Z,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(e){const t=this._idToShortId.get(e);if(t==null)throw new Error(`MiniSearch: cannot discard document with ID ${e}: it is not in the index`);this._idToShortId.delete(e),this._documentIds.delete(t),this._storedFields.delete(t),(this._fieldLength.get(t)||[]).forEach((s,n)=>{this.removeFieldLength(t,n,this._documentCount,s)}),this._fieldLength.delete(t),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:e,minDirtCount:t,batchSize:s,batchWait:n}=this._options.autoVacuum;this.conditionalVacuum({batchSize:s,batchWait:n},{minDirtCount:t,minDirtFactor:e})}discardAll(e){const t=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const s of e)this.discard(s)}finally{this._options.autoVacuum=t}this.maybeAutoVacuum()}replace(e){const{idField:t,extractField:s}=this._options,n=s(e,t);this.discard(n),this.add(e)}vacuum(e={}){return this.conditionalVacuum(e)}conditionalVacuum(e,t){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const s=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=We,this.performVacuuming(e,s)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}performVacuuming(e,t){return Ee(this,void 0,void 0,function*(){const s=this._dirtCount;if(this.vacuumConditionsMet(t)){const n=e.batchSize||Be.batchSize,r=e.batchWait||Be.batchWait;let i=1;for(const[o,l]of this._index){for(const[c,h]of l)for(const[m]of h)this._documentIds.has(m)||(h.size<=1?l.delete(c):h.delete(m));this._index.get(o).size===0&&this._index.delete(o),i%n===0&&(yield new Promise(c=>setTimeout(c,r))),i+=1}this._dirtCount-=s}yield null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null})}vacuumConditionsMet(e){if(e==null)return!0;let{minDirtCount:t,minDirtFactor:s}=e;return t=t||Pe.minDirtCount,s=s||Pe.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=s}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(e){return this._idToShortId.has(e)}getStoredFields(e){const t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)}search(e,t={}){const s=this.executeQuery(e,t),n=[];for(const[r,{score:i,terms:o,match:l}]of s){const c=o.length||1,h={id:this._documentIds.get(r),score:i*c,terms:Object.keys(l),queryTerms:o,match:l};Object.assign(h,this._storedFields.get(r)),(t.filter==null||t.filter(h))&&n.push(h)}return e===le.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||n.sort(ft),n}autoSuggest(e,t={}){t=Object.assign(Object.assign({},this._options.autoSuggestOptions),t);const s=new Map;for(const{score:r,terms:i}of this.search(e,t)){const o=i.join(" "),l=s.get(o);l!=null?(l.score+=r,l.count+=1):s.set(o,{score:r,terms:i,count:1})}const n=[];for(const[r,{score:i,terms:o,count:l}]of s)n.push({suggestion:r,terms:o,score:i/l});return n.sort(ft),n}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)}static loadJSONAsync(e,t){return Ee(this,void 0,void 0,function*(){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(e),t)})}static getDefault(e){if(ze.hasOwnProperty(e))return Le(ze,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,t){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=Se(n),l._fieldLength=Se(r),l._storedFields=Se(i);for(const[c,h]of l._documentIds)l._idToShortId.set(h,c);for(const[c,h]of s){const m=new Map;for(const f of Object.keys(h)){let b=h[f];o===1&&(b=b.ds),m.set(parseInt(f,10),Se(b))}l._index.set(c,m)}return l}static loadJSAsync(e,t){return Ee(this,void 0,void 0,function*(){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=yield _e(n),l._fieldLength=yield _e(r),l._storedFields=yield _e(i);for(const[h,m]of l._documentIds)l._idToShortId.set(m,h);let c=0;for(const[h,m]of s){const f=new Map;for(const b of Object.keys(m)){let y=m[b];o===1&&(y=y.ds),f.set(parseInt(b,10),yield _e(y))}++c%1e3===0&&(yield Nt(0)),l._index.set(h,f)}return l})}static instantiateMiniSearch(e,t){const{documentCount:s,nextId:n,fieldIds:r,averageFieldLength:i,dirtCount:o,serializationVersion:l}=e;if(l!==1&&l!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const c=new le(t);return c._documentCount=s,c._nextId=n,c._idToShortId=new Map,c._fieldIds=r,c._avgFieldLength=i,c._dirtCount=o||0,c._index=new Z,c}executeQuery(e,t={}){if(e===le.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){const f=Object.assign(Object.assign(Object.assign({},t),e),{queries:void 0}),b=e.queries.map(y=>this.executeQuery(y,f));return this.combineResults(b,f.combineWith)}const{tokenize:s,processTerm:n,searchOptions:r}=this._options,i=Object.assign(Object.assign({tokenize:s,processTerm:n},r),t),{tokenize:o,processTerm:l}=i,m=o(e).flatMap(f=>l(f)).filter(f=>!!f).map(js(i)).map(f=>this.executeQuerySpec(f,i));return this.combineResults(m,i.combineWith)}executeQuerySpec(e,t){const s=Object.assign(Object.assign({},this._options.searchOptions),t),n=(s.fields||this._options.fields).reduce((x,w)=>Object.assign(Object.assign({},x),{[w]:Le(s.boost,w)||1}),{}),{boostDocument:r,weights:i,maxFuzzy:o,bm25:l}=s,{fuzzy:c,prefix:h}=Object.assign(Object.assign({},dt.weights),i),m=this._index.get(e.term),f=this.termResults(e.term,e.term,1,e.termBoost,m,n,r,l);let b,y;if(e.prefix&&(b=this._index.atPrefix(e.term)),e.fuzzy){const x=e.fuzzy===!0?.2:e.fuzzy,w=x<1?Math.min(o,Math.round(e.term.length*x)):x;w&&(y=this._index.fuzzyGet(e.term,w))}if(b)for(const[x,w]of b){const R=x.length-e.term.length;if(!R)continue;y==null||y.delete(x);const C=h*x.length/(x.length+.3*R);this.termResults(e.term,x,C,e.termBoost,w,n,r,l,f)}if(y)for(const x of y.keys()){const[w,R]=y.get(x);if(!R)continue;const C=c*x.length/(x.length+R);this.termResults(e.term,x,C,e.termBoost,w,n,r,l,f)}return f}executeWildcardQuery(e){const t=new Map,s=Object.assign(Object.assign({},this._options.searchOptions),e);for(const[n,r]of this._documentIds){const i=s.boostDocument?s.boostDocument(r,"",this._storedFields.get(n)):1;t.set(n,{score:i,terms:[],match:{}})}return t}combineResults(e,t=Je){if(e.length===0)return new Map;const s=t.toLowerCase(),n=zs[s];if(!n)throw new Error(`Invalid combination operator: ${t}`);return e.reduce(n)||new Map}toJSON(){const e=[];for(const[t,s]of this._index){const n={};for(const[r,i]of s)n[r]=Object.fromEntries(i);e.push([t,n])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:e,serializationVersion:2}}termResults(e,t,s,n,r,i,o,l,c=new Map){if(r==null)return c;for(const h of Object.keys(i)){const m=i[h],f=this._fieldIds[h],b=r.get(f);if(b==null)continue;let y=b.size;const x=this._avgFieldLength[f];for(const w of b.keys()){if(!this._documentIds.has(w)){this.removeTerm(f,w,t),y-=1;continue}const R=o?o(this._documentIds.get(w),t,this._storedFields.get(w)):1;if(!R)continue;const C=b.get(w),K=this._fieldLength.get(w)[f],H=Vs(C,y,this._documentCount,K,x,l),W=s*n*m*R*H,j=c.get(w);if(j){j.score+=W,Bs(j.terms,e);const $=Le(j.match,t);$?$.push(h):j.match[t]=[h]}else c.set(w,{score:W,terms:[e],match:{[t]:[h]}})}}return c}addTerm(e,t,s){const n=this._index.fetch(s,pt);let r=n.get(e);if(r==null)r=new Map,r.set(t,1),n.set(e,r);else{const i=r.get(t);r.set(t,(i||0)+1)}}removeTerm(e,t,s){if(!this._index.has(s)){this.warnDocumentChanged(t,e,s);return}const n=this._index.fetch(s,pt),r=n.get(e);r==null||r.get(t)==null?this.warnDocumentChanged(t,e,s):r.get(t)<=1?r.size<=1?n.delete(e):r.delete(t):r.set(t,r.get(t)-1),this._index.get(s).size===0&&this._index.delete(s)}warnDocumentChanged(e,t,s){for(const n of Object.keys(this._fieldIds))if(this._fieldIds[n]===t){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(e)} has changed before removal: term "${s}" was not present in field "${n}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(e){const t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t}addFields(e){for(let t=0;t<e.length;t++)this._fieldIds[e[t]]=t}addFieldLength(e,t,s,n){let r=this._fieldLength.get(e);r==null&&this._fieldLength.set(e,r=[]),r[t]=n;const o=(this._avgFieldLength[t]||0)*s+n;this._avgFieldLength[t]=o/(s+1)}removeFieldLength(e,t,s,n){if(s===1){this._avgFieldLength[t]=0;return}const r=this._avgFieldLength[t]*s-n;this._avgFieldLength[t]=r/(s-1)}saveStoredFields(e,t){const{storeFields:s,extractField:n}=this._options;if(s==null||s.length===0)return;let r=this._storedFields.get(e);r==null&&this._storedFields.set(e,r={});for(const i of s){const o=n(t,i);o!==void 0&&(r[i]=o)}}}le.wildcard=Symbol("*");const Le=(a,e)=>Object.prototype.hasOwnProperty.call(a,e)?a[e]:void 0,zs={[Je]:(a,e)=>{for(const t of e.keys()){const s=a.get(t);if(s==null)a.set(t,e.get(t));else{const{score:n,terms:r,match:i}=e.get(t);s.score=s.score+n,s.match=Object.assign(s.match,i),ht(s.terms,r)}}return a},[It]:(a,e)=>{const t=new Map;for(const s of e.keys()){const n=a.get(s);if(n==null)continue;const{score:r,terms:i,match:o}=e.get(s);ht(n.terms,i),t.set(s,{score:n.score+r,terms:n.terms,match:Object.assign(n.match,o)})}return t},[Ls]:(a,e)=>{for(const t of e.keys())a.delete(t);return a}},Ps={k:1.2,b:.7,d:.5},Vs=(a,e,t,s,n,r)=>{const{k:i,b:o,d:l}=r;return Math.log(1+(t-e+.5)/(e+.5))*(l+a*(i+1)/(a+i*(1-o+o*s/n)))},js=a=>(e,t,s)=>{const n=typeof a.fuzzy=="function"?a.fuzzy(e,t,s):a.fuzzy||!1,r=typeof a.prefix=="function"?a.prefix(e,t,s):a.prefix===!0,i=typeof a.boostTerm=="function"?a.boostTerm(e,t,s):1;return{term:e,fuzzy:n,prefix:r,termBoost:i}},ze={idField:"id",extractField:(a,e)=>a[e],tokenize:a=>a.split(Ws),processTerm:a=>a.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(a,e)=>{typeof(console==null?void 0:console[a])=="function"&&console[a](e)},autoVacuum:!0},dt={combineWith:Je,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:Ps},$s={combineWith:It,prefix:(a,e,t)=>e===t.length-1},Be={batchSize:1e3,batchWait:10},We={minDirtFactor:.1,minDirtCount:20},Pe=Object.assign(Object.assign({},Be),We),Bs=(a,e)=>{a.includes(e)||a.push(e)},ht=(a,e)=>{for(const t of e)a.includes(t)||a.push(t)},ft=({score:a},{score:e})=>e-a,pt=()=>new Map,Se=a=>{const e=new Map;for(const t of Object.keys(a))e.set(parseInt(t,10),a[t]);return e},_e=a=>Ee(void 0,void 0,void 0,function*(){const e=new Map;let t=0;for(const s of Object.keys(a))e.set(parseInt(s,10),a[s]),++t%1e3===0&&(yield Nt(0));return e}),Nt=a=>new Promise(e=>setTimeout(e,a)),Ws=/[\n\r\p{Z}\p{P}]+/u;class Ks{constructor(e=10){Re(this,"max");Re(this,"cache");this.max=e,this.cache=new Map}get(e){let t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){this.cache.has(e)?this.cache.delete(e):this.cache.size===this.max&&this.cache.delete(this.first()),this.cache.set(e,t)}first(){return this.cache.keys().next().value}clear(){this.cache.clear()}}const Js=["aria-owns"],Us={class:"shell"},qs=["title"],Gs={class:"search-actions before"},Hs=["title"],Qs=["placeholder"],Ys={class:"search-actions"},Zs=["title"],Xs=["disabled","title"],en=["id","role","aria-labelledby"],tn=["aria-selected"],sn=["href","aria-label","onMouseenter","onFocusin"],nn={class:"titles"},rn=["innerHTML"],an={class:"title main"},on=["innerHTML"],ln={key:0,class:"excerpt-wrapper"},cn={key:0,class:"excerpt",inert:""},un=["innerHTML"],dn={key:0,class:"no-results"},hn={class:"search-keyboard-shortcuts"},fn=["aria-label"],pn=["aria-label"],vn=["aria-label"],mn=["aria-label"],gn=At({__name:"VPLocalSearchBox",emits:["close"],setup(a,{emit:e}){var F,M;const t=e,s=be(),n=be(),r=be(ns),i=ts(),{activate:o}=Os(s,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:l,theme:c}=i,h=et(async()=>{var v,p,N,O,P,V,I,D,U;return it(le.loadJSON((N=await((p=(v=r.value)[l.value])==null?void 0:p.call(v)))==null?void 0:N.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((O=c.value.search)==null?void 0:O.provider)==="local"&&((V=(P=c.value.search.options)==null?void 0:P.miniSearch)==null?void 0:V.searchOptions)},...((I=c.value.search)==null?void 0:I.provider)==="local"&&((U=(D=c.value.search.options)==null?void 0:D.miniSearch)==null?void 0:U.options)}))}),f=pe(()=>{var v,p;return((v=c.value.search)==null?void 0:v.provider)==="local"&&((p=c.value.search.options)==null?void 0:p.disableQueryPersistence)===!0}).value?se(""):Dt("vitepress:local-search-filter",""),b=Lt("vitepress:local-search-detailed-list",((F=c.value.search)==null?void 0:F.provider)==="local"&&((M=c.value.search.options)==null?void 0:M.detailedView)===!0),y=pe(()=>{var v,p,N;return((v=c.value.search)==null?void 0:v.provider)==="local"&&(((p=c.value.search.options)==null?void 0:p.disableDetailedView)===!0||((N=c.value.search.options)==null?void 0:N.detailedView)===!1)}),x=pe(()=>{var p,N,O,P,V,I,D;const v=((p=c.value.search)==null?void 0:p.options)??c.value.algolia;return((V=(P=(O=(N=v==null?void 0:v.locales)==null?void 0:N[l.value])==null?void 0:O.translations)==null?void 0:P.button)==null?void 0:V.buttonText)||((D=(I=v==null?void 0:v.translations)==null?void 0:I.button)==null?void 0:D.buttonText)||"Search"});zt(()=>{y.value&&(b.value=!1)});const w=be([]),R=se(!1);Ve(f,()=>{R.value=!1});const C=et(async()=>{if(n.value)return it(new Cs(n.value))},null),K=new Ks(16);Pt(()=>[h.value,f.value,b.value],async([v,p,N],O,P)=>{var me,Ue,qe,Ge;(O==null?void 0:O[0])!==v&&K.clear();let V=!1;if(P(()=>{V=!0}),!v)return;w.value=v.search(p).slice(0,16),R.value=!0;const I=N?await Promise.all(w.value.map(B=>H(B.id))):[];if(V)return;for(const{id:B,mod:X}of I){const ee=B.slice(0,B.indexOf("#"));let Q=K.get(ee);if(Q)continue;Q=new Map,K.set(ee,Q);const q=X.default??X;if(q!=null&&q.render||q!=null&&q.setup){const te=Qt(q);te.config.warnHandler=()=>{},te.provide(Yt,i),Object.defineProperties(te.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const He=document.createElement("div");te.mount(He),He.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(ce=>{var Ze;const ge=(Ze=ce.querySelector("a"))==null?void 0:Ze.getAttribute("href"),Qe=(ge==null?void 0:ge.startsWith("#"))&&ge.slice(1);if(!Qe)return;let Ye="";for(;(ce=ce.nextElementSibling)&&!/^h[1-6]$/i.test(ce.tagName);)Ye+=ce.outerHTML;Q.set(Qe,Ye)}),te.unmount()}if(V)return}const D=new Set;if(w.value=w.value.map(B=>{const[X,ee]=B.id.split("#"),Q=K.get(X),q=(Q==null?void 0:Q.get(ee))??"";for(const te in B.match)D.add(te);return{...B,text:q}}),await ue(),V)return;await new Promise(B=>{var X;(X=C.value)==null||X.unmark({done:()=>{var ee;(ee=C.value)==null||ee.markRegExp(k(D),{done:B})}})});const U=((me=s.value)==null?void 0:me.querySelectorAll(".result .excerpt"))??[];for(const B of U)(Ue=B.querySelector('mark[data-markjs="true"]'))==null||Ue.scrollIntoView({block:"center"});(Ge=(qe=n.value)==null?void 0:qe.firstElementChild)==null||Ge.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function H(v){const p=Zt(v.slice(0,v.indexOf("#")));try{if(!p)throw new Error(`Cannot find file for id: ${v}`);return{id:v,mod:await import(((u)=>{if(u.startsWith('/')){return"https://registry.npmmirror.com/@gkd-kit/docs/0.0.1730895910754/files/.vitepress/dist"+u}return u})(p))}}catch(N){return console.error(N),{id:v,mod:{}}}}const W=se(),j=pe(()=>{var v;return((v=f.value)==null?void 0:v.length)<=0});function $(v=!0){var p,N;(p=W.value)==null||p.focus(),v&&((N=W.value)==null||N.select())}Ce(()=>{$()});function Oe(v){v.pointerType==="mouse"&&$()}const A=se(-1),J=se(!1);Ve(w,v=>{A.value=v.length?0:-1,T()});function T(){ue(()=>{const v=document.querySelector(".result.selected");v==null||v.scrollIntoView({block:"nearest"})})}ye("ArrowUp",v=>{v.preventDefault(),A.value--,A.value<0&&(A.value=w.value.length-1),J.value=!0,T()}),ye("ArrowDown",v=>{v.preventDefault(),A.value++,A.value>=w.value.length&&(A.value=0),J.value=!0,T()});const u=Vt();ye("Enter",v=>{if(v.isComposing||v.target instanceof HTMLButtonElement&&v.target.type!=="submit")return;const p=w.value[A.value];if(v.target instanceof HTMLInputElement&&!p){v.preventDefault();return}p&&(u.go(p.id),t("close"))}),ye("Escape",()=>{t("close")});const g=ss({modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}});Ce(()=>{window.history.pushState(null,"",null)}),jt("popstate",v=>{v.preventDefault(),t("close")});const _=$t(Bt?document.body:null);Ce(()=>{ue(()=>{_.value=!0,ue().then(()=>o())})}),Wt(()=>{_.value=!1});function E(){f.value="",ue().then(()=>$(!1))}function k(v){return new RegExp([...v].sort((p,N)=>N.length-p.length).map(p=>`(${Xt(p)})`).join("|"),"gi")}return(v,p)=>{var N,O,P,V;return G(),Kt(Ht,{to:"body"},[S("div",{ref_key:"el",ref:s,role:"button","aria-owns":(N=w.value)!=null&&N.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[S("div",{class:"backdrop",onClick:p[0]||(p[0]=I=>v.$emit("close"))}),S("div",Us,[S("form",{class:"search-bar",onPointerup:p[4]||(p[4]=I=>Oe(I)),onSubmit:p[5]||(p[5]=Jt(()=>{},["prevent"]))},[S("label",{title:x.value,id:"localsearch-label",for:"localsearch-input"},p[8]||(p[8]=[S("span",{"aria-hidden":"true",class:"vpi-search search-icon local-search-icon"},null,-1)]),8,qs),S("div",Gs,[S("button",{class:"back-button",title:L(g)("modal.backButtonTitle"),onClick:p[1]||(p[1]=I=>v.$emit("close"))},p[9]||(p[9]=[S("span",{class:"vpi-arrow-left local-search-icon"},null,-1)]),8,Hs)]),Ut(S("input",{ref_key:"searchInput",ref:W,"onUpdate:modelValue":p[2]||(p[2]=I=>Gt(f)?f.value=I:null),placeholder:x.value,id:"localsearch-input","aria-labelledby":"localsearch-label",class:"search-input"},null,8,Qs),[[qt,L(f)]]),S("div",Ys,[y.value?we("",!0):(G(),Y("button",{key:0,class:tt(["toggle-layout-button",{"detailed-list":L(b)}]),type:"button",title:L(g)("modal.displayDetails"),onClick:p[3]||(p[3]=I=>A.value>-1&&(b.value=!L(b)))},p[10]||(p[10]=[S("span",{class:"vpi-layout-list local-search-icon"},null,-1)]),10,Zs)),S("button",{class:"clear-button",type:"reset",disabled:j.value,title:L(g)("modal.resetButtonTitle"),onClick:E},p[11]||(p[11]=[S("span",{class:"vpi-delete local-search-icon"},null,-1)]),8,Xs)])],32),S("ul",{ref_key:"resultsEl",ref:n,id:(O=w.value)!=null&&O.length?"localsearch-list":void 0,role:(P=w.value)!=null&&P.length?"listbox":void 0,"aria-labelledby":(V=w.value)!=null&&V.length?"localsearch-label":void 0,class:"results",onMousemove:p[7]||(p[7]=I=>J.value=!1)},[(G(!0),Y(nt,null,st(w.value,(I,D)=>(G(),Y("li",{key:I.id,role:"option","aria-selected":A.value===D?"true":"false"},[S("a",{href:I.id,class:tt(["result",{selected:A.value===D}]),"aria-label":[...I.titles,I.title].join(" > "),onMouseenter:U=>!J.value&&(A.value=D),onFocusin:U=>A.value=D,onClick:p[6]||(p[6]=U=>v.$emit("close"))},[S("div",null,[S("div",nn,[p[13]||(p[13]=S("span",{class:"title-icon"},"#",-1)),(G(!0),Y(nt,null,st(I.titles,(U,me)=>(G(),Y("span",{key:me,class:"title"},[S("span",{class:"text",innerHTML:U},null,8,rn),p[12]||(p[12]=S("span",{class:"vpi-chevron-right local-search-icon"},null,-1))]))),128)),S("span",an,[S("span",{class:"text",innerHTML:I.title},null,8,on)])]),L(b)?(G(),Y("div",ln,[I.text?(G(),Y("div",cn,[S("div",{class:"vp-doc",innerHTML:I.text},null,8,un)])):we("",!0),p[14]||(p[14]=S("div",{class:"excerpt-gradient-bottom"},null,-1)),p[15]||(p[15]=S("div",{class:"excerpt-gradient-top"},null,-1))])):we("",!0)])],42,sn)],8,tn))),128)),L(f)&&!w.value.length&&R.value?(G(),Y("li",dn,[de(he(L(g)("modal.noResultsText"))+' "',1),S("strong",null,he(L(f)),1),p[16]||(p[16]=de('" '))])):we("",!0)],40,en),S("div",hn,[S("span",null,[S("kbd",{"aria-label":L(g)("modal.footer.navigateUpKeyAriaLabel")},p[17]||(p[17]=[S("span",{class:"vpi-arrow-up navigate-icon"},null,-1)]),8,fn),S("kbd",{"aria-label":L(g)("modal.footer.navigateDownKeyAriaLabel")},p[18]||(p[18]=[S("span",{class:"vpi-arrow-down navigate-icon"},null,-1)]),8,pn),de(" "+he(L(g)("modal.footer.navigateText")),1)]),S("span",null,[S("kbd",{"aria-label":L(g)("modal.footer.selectKeyAriaLabel")},p[19]||(p[19]=[S("span",{class:"vpi-corner-down-left navigate-icon"},null,-1)]),8,vn),de(" "+he(L(g)("modal.footer.selectText")),1)]),S("span",null,[S("kbd",{"aria-label":L(g)("modal.footer.closeKeyAriaLabel")},"esc",8,mn),de(" "+he(L(g)("modal.footer.closeText")),1)])])])],8,Js)])}}}),_n=es(gn,[["__scopeId","data-v-f1b29b33"]]);export{_n as default};
@@ -1,17 +0,0 @@
1
- /**
2
- * @vue/shared v3.5.0
3
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
- * @license MIT
5
- **//*! #__NO_SIDE_EFFECTS__ */function jr(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const te={},Ct=[],Ue=()=>{},el=()=>!1,Qt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Vr=e=>e.startsWith("onUpdate:"),fe=Object.assign,Ur=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},tl=Object.prototype.hasOwnProperty,z=(e,t)=>tl.call(e,t),K=Array.isArray,Tt=e=>Hn(e)==="[object Map]",di=e=>Hn(e)==="[object Set]",q=e=>typeof e=="function",ie=e=>typeof e=="string",nt=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",hi=e=>(ne(e)||q(e))&&q(e.then)&&q(e.catch),pi=Object.prototype.toString,Hn=e=>pi.call(e),nl=e=>Hn(e).slice(8,-1),gi=e=>Hn(e)==="[object Object]",Br=e=>ie(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,At=jr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$n=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},rl=/-(\w)/g,Fe=$n(e=>e.replace(rl,(t,n)=>n?n.toUpperCase():"")),sl=/\B([A-Z])/g,rt=$n(e=>e.replace(sl,"-$1").toLowerCase()),jn=$n(e=>e.charAt(0).toUpperCase()+e.slice(1)),_n=$n(e=>e?`on${jn(e)}`:""),et=(e,t)=>!Object.is(e,t),wn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},mi=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},xr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},il=e=>{const t=ie(e)?Number(e):NaN;return isNaN(t)?e:t};let ms;const yi=()=>ms||(ms=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function kr(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=ie(r)?al(r):kr(r);if(s)for(const i in s)t[i]=s[i]}return t}else if(ie(e)||ne(e))return e}const ol=/;(?![^(]*\))/g,ll=/:([^]+)/,cl=/\/\*[^]*?\*\//g;function al(e){const t={};return e.replace(cl,"").split(ol).forEach(n=>{if(n){const r=n.split(ll);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Wr(e){let t="";if(ie(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const r=Wr(e[n]);r&&(t+=r+" ")}else if(ne(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const fl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ul=jr(fl);function vi(e){return!!e||e===""}const bi=e=>!!(e&&e.__v_isRef===!0),dl=e=>ie(e)?e:e==null?"":K(e)||ne(e)&&(e.toString===pi||!q(e.toString))?bi(e)?dl(e.value):JSON.stringify(e,_i,2):String(e),_i=(e,t)=>bi(t)?_i(e,t.value):Tt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[nr(r,i)+" =>"]=s,n),{})}:di(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>nr(n))}:nt(t)?nr(t):ne(t)&&!K(t)&&!gi(t)?String(t):t,nr=(e,t="")=>{var n;return nt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
6
- * @vue/reactivity v3.5.0
7
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
- * @license MIT
9
- **/let be;class hl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=be,!t&&be&&(this.index=(be.scopes||(be.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=be;try{return be=this,t()}finally{be=n}}}on(){be=this}off(){be=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 wi(){return be}function pl(e,t=!1){be&&be.cleanups.push(e)}let ee;const rr=new WeakSet;class Ei{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.nextEffect=void 0,this.cleanup=void 0,this.scheduler=void 0,be&&be.active&&be.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,rr.has(this)&&(rr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||(this.flags|=8,this.nextEffect=jt,jt=this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ys(this),xi(this);const t=ee,n=Le;ee=this,Le=!0;try{return this.fn()}finally{Ci(this),ee=t,Le=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Gr(t);this.deps=this.depsTail=void 0,ys(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?rr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Cr(this)&&this.run()}get dirty(){return Cr(this)}}let Si=0,jt;function Kr(){Si++}function qr(){if(--Si>0)return;let e;for(;jt;){let t=jt;for(jt=void 0;t;){const n=t.nextEffect;if(t.nextEffect=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function xi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ci(e){let t,n=e.depsTail;for(let r=n;r;r=r.prevDep)r.version===-1?(r===n&&(n=r.prevDep),Gr(r),gl(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0;e.deps=t,e.depsTail=n}function Cr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&Ti(t.dep.computed)===!1||t.dep.version!==t.version)return!0;return!!e._dirty}function Ti(e){if(e.flags&2)return!1;if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Kt))return;e.globalVersion=Kt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&!Cr(e)){e.flags&=-3;return}const n=ee,r=Le;ee=e,Le=!0;try{xi(e);const s=e.fn();(t.version===0||et(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ee=n,Le=r,Ci(e),e.flags&=-3}}function Gr(e){const{dep:t,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),t.subs===e&&(t.subs=n),!t.subs&&t.computed){t.computed.flags&=-5;for(let s=t.computed.deps;s;s=s.nextDep)Gr(s)}}function gl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Le=!0;const Ai=[];function st(){Ai.push(Le),Le=!1}function it(){const e=Ai.pop();Le=e===void 0?!0:e}function ys(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ee;ee=void 0;try{t()}finally{ee=n}}}let Kt=0;class Vn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0}track(t){if(!ee||!Le)return;let n=this.activeLink;if(n===void 0||n.sub!==ee)n=this.activeLink={dep:this,sub:ee,version:this.version,nextDep:void 0,prevDep:void 0,nextSub:void 0,prevSub:void 0,prevActiveLink:void 0},ee.deps?(n.prevDep=ee.depsTail,ee.depsTail.nextDep=n,ee.depsTail=n):ee.deps=ee.depsTail=n,ee.flags&4&&Ri(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=ee.depsTail,n.nextDep=void 0,ee.depsTail.nextDep=n,ee.depsTail=n,ee.deps===n&&(ee.deps=r)}return n}trigger(t){this.version++,Kt++,this.notify(t)}notify(t){Kr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()}finally{qr()}}}function Ri(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Ri(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}const An=new WeakMap,ht=Symbol(""),Tr=Symbol(""),qt=Symbol("");function me(e,t,n){if(Le&&ee){let r=An.get(e);r||An.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=new Vn),s.track()}}function qe(e,t,n,r,s,i){const o=An.get(e);if(!o){Kt++;return}let l=[];if(t==="clear")l=[...o.values()];else{const c=K(e),u=c&&Br(n);if(c&&n==="length"){const a=Number(r);o.forEach((h,g)=>{(g==="length"||g===qt||!nt(g)&&g>=a)&&l.push(h)})}else{const a=h=>h&&l.push(h);switch(n!==void 0&&a(o.get(n)),u&&a(o.get(qt)),t){case"add":c?u&&a(o.get("length")):(a(o.get(ht)),Tt(e)&&a(o.get(Tr)));break;case"delete":c||(a(o.get(ht)),Tt(e)&&a(o.get(Tr)));break;case"set":Tt(e)&&a(o.get(ht));break}}}Kr();for(const c of l)c.trigger();qr()}function ml(e,t){var n;return(n=An.get(e))==null?void 0:n.get(t)}function _t(e){const t=J(e);return t===e?t:(me(t,"iterate",qt),Pe(e)?t:t.map(ge))}function Un(e){return me(e=J(e),"iterate",qt),e}const yl={__proto__:null,[Symbol.iterator](){return sr(this,Symbol.iterator,ge)},concat(...e){return _t(this).concat(...e.map(t=>_t(t)))},entries(){return sr(this,"entries",e=>(e[1]=ge(e[1]),e))},every(e,t){return ke(this,"every",e,t,void 0,arguments)},filter(e,t){return ke(this,"filter",e,t,n=>n.map(ge),arguments)},find(e,t){return ke(this,"find",e,t,ge,arguments)},findIndex(e,t){return ke(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ke(this,"findLast",e,t,ge,arguments)},findLastIndex(e,t){return ke(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ke(this,"forEach",e,t,void 0,arguments)},includes(...e){return ir(this,"includes",e)},indexOf(...e){return ir(this,"indexOf",e)},join(e){return _t(this).join(e)},lastIndexOf(...e){return ir(this,"lastIndexOf",e)},map(e,t){return ke(this,"map",e,t,void 0,arguments)},pop(){return Ft(this,"pop")},push(...e){return Ft(this,"push",e)},reduce(e,...t){return vs(this,"reduce",e,t)},reduceRight(e,...t){return vs(this,"reduceRight",e,t)},shift(){return Ft(this,"shift")},some(e,t){return ke(this,"some",e,t,void 0,arguments)},splice(...e){return Ft(this,"splice",e)},toReversed(){return _t(this).toReversed()},toSorted(e){return _t(this).toSorted(e)},toSpliced(...e){return _t(this).toSpliced(...e)},unshift(...e){return Ft(this,"unshift",e)},values(){return sr(this,"values",ge)}};function sr(e,t,n){const r=Un(e),s=r[t]();return r!==e&&!Pe(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.value&&(i.value=n(i.value)),i}),s}const vl=Array.prototype;function ke(e,t,n,r,s,i){const o=Un(e),l=o!==e&&!Pe(e),c=o[t];if(c!==vl[t]){const h=c.apply(e,i);return l?ge(h):h}let u=n;o!==e&&(l?u=function(h,g){return n.call(this,ge(h),g,e)}:n.length>2&&(u=function(h,g){return n.call(this,h,g,e)}));const a=c.call(o,u,r);return l&&s?s(a):a}function vs(e,t,n,r){const s=Un(e);let i=n;return s!==e&&(Pe(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,ge(l),c,e)}),s[t](i,...r)}function ir(e,t,n){const r=J(e);me(r,"iterate",qt);const s=r[t](...n);return(s===-1||s===!1)&&Jr(n[0])?(n[0]=J(n[0]),r[t](...n)):s}function Ft(e,t,n=[]){st(),Kr();const r=J(e)[t].apply(e,n);return qr(),it(),r}const bl=jr("__proto__,__v_isRef,__isVue"),Oi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(nt));function _l(e){nt(e)||(e=String(e));const t=J(this);return me(t,"has",e),t.hasOwnProperty(e)}class Mi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?Pl:Ni:i?Pi:Li).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=K(t);if(!s){let c;if(o&&(c=yl[n]))return c;if(n==="hasOwnProperty")return _l}const l=Reflect.get(t,n,ae(t)?t:r);return(nt(n)?Oi.has(n):bl(n))||(s||me(t,"get",n),i)?l:ae(l)?o&&Br(n)?l:l.value:ne(l)?s?Wn(l):kn(l):l}}class Ii extends Mi{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const c=vt(i);if(!Pe(r)&&!vt(r)&&(i=J(i),r=J(r)),!K(t)&&ae(i)&&!ae(r))return c?!1:(i.value=r,!0)}const o=K(t)&&Br(n)?Number(n)<t.length:z(t,n),l=Reflect.set(t,n,r,ae(t)?t:s);return t===J(s)&&(o?et(r,i)&&qe(t,"set",n,r):qe(t,"add",n,r)),l}deleteProperty(t,n){const r=z(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&qe(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!nt(n)||!Oi.has(n))&&me(t,"has",n),r}ownKeys(t){return me(t,"iterate",K(t)?"length":ht),Reflect.ownKeys(t)}}class wl extends Mi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const El=new Ii,Sl=new wl,xl=new Ii(!0);const Yr=e=>e,Bn=e=>Reflect.getPrototypeOf(e);function ln(e,t,n=!1,r=!1){e=e.__v_raw;const s=J(e),i=J(t);n||(et(t,i)&&me(s,"get",t),me(s,"get",i));const{has:o}=Bn(s),l=r?Yr:n?Qr:ge;if(o.call(s,t))return l(e.get(t));if(o.call(s,i))return l(e.get(i));e!==s&&e.get(t)}function cn(e,t=!1){const n=this.__v_raw,r=J(n),s=J(e);return t||(et(e,s)&&me(r,"has",e),me(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function an(e,t=!1){return e=e.__v_raw,!t&&me(J(e),"iterate",ht),Reflect.get(e,"size",e)}function bs(e,t=!1){!t&&!Pe(e)&&!vt(e)&&(e=J(e));const n=J(this);return Bn(n).has.call(n,e)||(n.add(e),qe(n,"add",e,e)),this}function _s(e,t,n=!1){!n&&!Pe(t)&&!vt(t)&&(t=J(t));const r=J(this),{has:s,get:i}=Bn(r);let o=s.call(r,e);o||(e=J(e),o=s.call(r,e));const l=i.call(r,e);return r.set(e,t),o?et(t,l)&&qe(r,"set",e,t):qe(r,"add",e,t),this}function ws(e){const t=J(this),{has:n,get:r}=Bn(t);let s=n.call(t,e);s||(e=J(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&qe(t,"delete",e,void 0),i}function Es(){const e=J(this),t=e.size!==0,n=e.clear();return t&&qe(e,"clear",void 0,void 0),n}function fn(e,t){return function(r,s){const i=this,o=i.__v_raw,l=J(o),c=t?Yr:e?Qr:ge;return!e&&me(l,"iterate",ht),o.forEach((u,a)=>r.call(s,c(u),c(a),i))}}function un(e,t,n){return function(...r){const s=this.__v_raw,i=J(s),o=Tt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=s[e](...r),a=n?Yr:t?Qr:ge;return!t&&me(i,"iterate",c?Tr:ht),{next(){const{value:h,done:g}=u.next();return g?{value:h,done:g}:{value:l?[a(h[0]),a(h[1])]:a(h),done:g}},[Symbol.iterator](){return this}}}}function Ye(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Cl(){const e={get(i){return ln(this,i)},get size(){return an(this)},has:cn,add:bs,set:_s,delete:ws,clear:Es,forEach:fn(!1,!1)},t={get(i){return ln(this,i,!1,!0)},get size(){return an(this)},has:cn,add(i){return bs.call(this,i,!0)},set(i,o){return _s.call(this,i,o,!0)},delete:ws,clear:Es,forEach:fn(!1,!0)},n={get(i){return ln(this,i,!0)},get size(){return an(this,!0)},has(i){return cn.call(this,i,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:fn(!0,!1)},r={get(i){return ln(this,i,!0,!0)},get size(){return an(this,!0)},has(i){return cn.call(this,i,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:fn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=un(i,!1,!1),n[i]=un(i,!0,!1),t[i]=un(i,!1,!0),r[i]=un(i,!0,!0)}),[e,n,t,r]}const[Tl,Al,Rl,Ol]=Cl();function Xr(e,t){const n=t?e?Ol:Rl:e?Al:Tl;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(z(n,s)&&s in r?n:r,s,i)}const Ml={get:Xr(!1,!1)},Il={get:Xr(!1,!0)},Ll={get:Xr(!0,!1)};const Li=new WeakMap,Pi=new WeakMap,Ni=new WeakMap,Pl=new WeakMap;function Nl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fl(e){return e.__v_skip||!Object.isExtensible(e)?0:Nl(nl(e))}function kn(e){return vt(e)?e:zr(e,!1,El,Ml,Li)}function Dl(e){return zr(e,!1,xl,Il,Pi)}function Wn(e){return zr(e,!0,Sl,Ll,Ni)}function zr(e,t,n,r,s){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=Fl(e);if(o===0)return e;const l=new Proxy(e,o===2?r:n);return s.set(e,l),l}function pt(e){return vt(e)?pt(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function Jr(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function En(e){return Object.isExtensible(e)&&mi(e,"__v_skip",!0),e}const ge=e=>ne(e)?kn(e):e,Qr=e=>ne(e)?Wn(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function se(e){return Fi(e,!1)}function Zr(e){return Fi(e,!0)}function Fi(e,t){return ae(e)?e:new Hl(e,t)}class Hl{constructor(t,n){this.dep=new Vn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:J(t),this._value=n?t:ge(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Pe(t)||vt(t);t=r?t:J(t),et(t,n)&&(this._rawValue=t,this._value=r?t:ge(t),this.dep.trigger())}}function Di(e){return ae(e)?e.value:e}const $l={get:(e,t,n)=>Di(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 Hi(e){return pt(e)?e:new Proxy(e,$l)}class jl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Vn,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Vl(e){return new jl(e)}class Ul{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return ml(J(this._object),this._key)}}class Bl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function kl(e,t,n){return ae(e)?e:q(e)?new Bl(e):ne(e)&&arguments.length>1?Wl(e,t,n):se(e)}function Wl(e,t,n){const r=e[t];return ae(r)?r:new Ul(e,t,n)}class Kl{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Vn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Kt-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){ee!==this&&(this.flags|=16,this.dep.notify())}get value(){const t=this.dep.track();return Ti(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ql(e,t,n=!1){let r,s;return q(e)?r=e:(r=e.get,s=e.set),new Kl(r,s,n)}const dn={},Rn=new WeakMap;let ft;function Gl(e,t=!1,n=ft){if(n){let r=Rn.get(n);r||Rn.set(n,r=[]),r.push(e)}}function Yl(e,t,n=te){const{immediate:r,deep:s,once:i,scheduler:o,augmentJob:l,call:c}=n,u=m=>s?m:Pe(m)||s===!1||s===0?Ke(m,1):Ke(m);let a,h,g,b,w=!1,E=!1;if(ae(e)?(h=()=>e.value,w=Pe(e)):pt(e)?(h=()=>u(e),w=!0):K(e)?(E=!0,w=e.some(m=>pt(m)||Pe(m)),h=()=>e.map(m=>{if(ae(m))return m.value;if(pt(m))return u(m);if(q(m))return c?c(m,2):m()})):q(e)?t?h=c?()=>c(e,2):e:h=()=>{if(g){st();try{g()}finally{it()}}const m=ft;ft=a;try{return c?c(e,3,[b]):e(b)}finally{ft=m}}:h=Ue,t&&s){const m=h,M=s===!0?1/0:s;h=()=>Ke(m(),M)}const W=wi(),F=()=>{a.stop(),W&&Ur(W.effects,a)};if(i)if(t){const m=t;t=(...M)=>{m(...M),F()}}else{const m=h;h=()=>{m(),F()}}let V=E?new Array(e.length).fill(dn):dn;const p=m=>{if(!(!(a.flags&1)||!a.dirty&&!m))if(t){const M=a.run();if(s||w||(E?M.some((N,H)=>et(N,V[H])):et(M,V))){g&&g();const N=ft;ft=a;try{const H=[M,V===dn?void 0:E&&V[0]===dn?[]:V,b];c?c(t,3,H):t(...H),V=M}finally{ft=N}}}else a.run()};return l&&l(p),a=new Ei(h),a.scheduler=o?()=>o(p,!1):p,b=m=>Gl(m,!1,a),g=a.onStop=()=>{const m=Rn.get(a);if(m){if(c)c(m,4);else for(const M of m)M();Rn.delete(a)}},t?r?p(!0):V=a.run():o?o(p.bind(null,!0),!0):a.run(),F.pause=a.pause.bind(a),F.resume=a.resume.bind(a),F.stop=F,F}function Ke(e,t=1/0,n){if(t<=0||!ne(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ae(e))Ke(e.value,t,n);else if(K(e))for(let r=0;r<e.length;r++)Ke(e[r],t,n);else if(di(e)||Tt(e))e.forEach(r=>{Ke(r,t,n)});else if(gi(e)){for(const r in e)Ke(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ke(e[r],t,n)}return e}/**
10
- * @vue/runtime-core v3.5.0
11
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
- * @license MIT
13
- **/function Zt(e,t,n,r){try{return r?e(...r):e()}catch(s){en(s,t,n)}}function De(e,t,n,r){if(q(e)){const s=Zt(e,t,n,r);return s&&hi(s)&&s.catch(i=>{en(i,t,n)}),s}if(K(e)){const s=[];for(let i=0;i<e.length;i++)s.push(De(e[i],t,n,r));return s}}function en(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||te;if(t){let l=t.parent;const c=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let h=0;h<a.length;h++)if(a[h](e,c,u)===!1)return}l=l.parent}if(i){st(),Zt(i,null,10,[e,c,u]),it();return}}Xl(e,n,s,r,o)}function Xl(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}let Gt=!1,Ar=!1;const Te=[];let ut=0;const Rt=[];let Je=null,Et=0;const $i=Promise.resolve();let es=null;function Kn(e){const t=es||$i;return e?t.then(this?e.bind(this):e):t}function zl(e){let t=Gt?ut+1:0,n=Te.length;for(;t<n;){const r=t+n>>>1,s=Te[r],i=Yt(s);i<e||i===e&&s.flags&2?t=r+1:n=r}return t}function qn(e){if(!(e.flags&1)){const t=Yt(e),n=Te[Te.length-1];!n||!(e.flags&2)&&t>=Yt(n)?Te.push(e):Te.splice(zl(t),0,e),e.flags&4||(e.flags|=1),ji()}}function ji(){!Gt&&!Ar&&(Ar=!0,es=$i.then(Vi))}function Jl(e){K(e)?Rt.push(...e):Je&&e.id===-1?Je.splice(Et+1,0,e):e.flags&1||(Rt.push(e),e.flags&4||(e.flags|=1)),ji()}function Ss(e,t,n=Gt?ut+1:0){for(;n<Te.length;n++){const r=Te[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Te.splice(n,1),n--,r(),r.flags&=-2}}}function On(e){if(Rt.length){const t=[...new Set(Rt)].sort((n,r)=>Yt(n)-Yt(r));if(Rt.length=0,Je){Je.push(...t);return}for(Je=t,Et=0;Et<Je.length;Et++){const n=Je[Et];n.flags&8||n(),n.flags&=-2}Je=null,Et=0}}const Yt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Vi(e){Ar=!1,Gt=!0;try{for(ut=0;ut<Te.length;ut++){const t=Te[ut];t&&!(t.flags&8)&&(Zt(t,t.i,t.i?15:14),t.flags&=-2)}}finally{ut=0,Te.length=0,On(),Gt=!1,es=null,(Te.length||Rt.length)&&Vi()}}let de=null,Ui=null;function Mn(e){const t=de;return de=e,Ui=e&&e.type.__scopeId||null,t}function Ql(e,t=de,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Hs(-1);const i=Mn(t);let o;try{o=e(...s)}finally{Mn(i),r._d&&Hs(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function If(e,t){if(de===null)return e;const n=Qn(de),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[i,o,l,c=te]=t[s];i&&(q(i)&&(i={mounted:i,updated:i}),i.deep&&Ke(o),r.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function Ve(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;o<s.length;o++){const l=s[o];i&&(l.oldValue=i[o].value);let c=l.dir[r];c&&(st(),De(c,n,8,[e.el,l,e,t]),it())}}const Bi=Symbol("_vte"),ki=e=>e.__isTeleport,Vt=e=>e&&(e.disabled||e.disabled===""),Zl=e=>e&&(e.defer||e.defer===""),xs=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Cs=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Rr=(e,t)=>{const n=e&&e.to;return ie(n)?t?t(n):null:n},ec={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,i,o,l,c,u){const{mc:a,pc:h,pbc:g,o:{insert:b,querySelector:w,createText:E,createComment:W}}=u,F=Vt(t.props);let{shapeFlag:V,children:p,dynamicChildren:m}=t;if(e==null){const M=t.el=E(""),N=t.anchor=E("");b(M,n,r),b(N,n,r);const H=(R,v)=>{V&16&&a(p,R,v,s,i,o,l,c)},$=()=>{const R=t.target=Rr(t.props,w),v=Wi(R,t,E,b);R&&(o!=="svg"&&xs(R)?o="svg":o!=="mathml"&&Cs(R)&&(o="mathml"),F||(H(R,v),Sn(t)))};F&&(H(n,N),Sn(t)),Zl(t.props)?Ee($,i):$()}else{t.el=e.el,t.targetStart=e.targetStart;const M=t.anchor=e.anchor,N=t.target=e.target,H=t.targetAnchor=e.targetAnchor,$=Vt(e.props),R=$?n:N,v=$?M:H;if(o==="svg"||xs(N)?o="svg":(o==="mathml"||Cs(N))&&(o="mathml"),m?(g(e.dynamicChildren,m,R,s,i,o,l),os(e,t,!0)):c||h(e,t,R,v,s,i,o,l,!1),F)$?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):hn(t,n,M,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const P=t.target=Rr(t.props,w);P&&hn(t,P,null,u,0)}else $&&hn(t,N,H,u,1);Sn(t)}},remove(e,t,n,{um:r,o:{remove:s}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:u,targetAnchor:a,target:h,props:g}=e;if(h&&(s(u),s(a)),i&&s(c),o&16){const b=i||!Vt(g);for(let w=0;w<l.length;w++){const E=l[w];r(E,t,n,b,!!E.dynamicChildren)}}},move:hn,hydrate:tc};function hn(e,t,n,{o:{insert:r},m:s},i=2){i===0&&r(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:c,children:u,props:a}=e,h=i===2;if(h&&r(o,t,n),(!h||Vt(a))&&c&16)for(let g=0;g<u.length;g++)s(u[g],t,n,2);h&&r(l,t,n)}function tc(e,t,n,r,s,i,{o:{nextSibling:o,parentNode:l,querySelector:c,insert:u,createText:a}},h){const g=t.target=Rr(t.props,c);if(g){const b=g._lpa||g.firstChild;if(t.shapeFlag&16)if(Vt(t.props))t.anchor=h(o(e),t,l(e),n,r,s,i),t.targetStart=b,t.targetAnchor=b&&o(b);else{t.anchor=o(e);let w=b;for(;w;){if(w&&w.nodeType===8){if(w.data==="teleport start anchor")t.targetStart=w;else if(w.data==="teleport anchor"){t.targetAnchor=w,g._lpa=t.targetAnchor&&o(t.targetAnchor);break}}w=o(w)}t.targetAnchor||Wi(g,t,a,u),h(b&&o(b),t,g,n,r,s,i)}Sn(t)}return t.anchor&&o(t.anchor)}const Lf=ec;function Sn(e){const t=e.ctx;if(t&&t.ut){let n=e.targetStart;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}function Wi(e,t,n,r){const s=t.targetStart=n(""),i=t.targetAnchor=n("");return s[Bi]=i,e&&(r(s,e),r(i,e)),i}const Qe=Symbol("_leaveCb"),pn=Symbol("_enterCb");function nc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Lt(()=>{e.isMounted=!0}),Ji(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],Ki={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Re,onEnter:Re,onAfterEnter:Re,onEnterCancelled:Re,onBeforeLeave:Re,onLeave:Re,onAfterLeave:Re,onLeaveCancelled:Re,onBeforeAppear:Re,onAppear:Re,onAfterAppear:Re,onAppearCancelled:Re},qi=e=>{const t=e.subTree;return t.component?qi(t.component):t},rc={name:"BaseTransition",props:Ki,setup(e,{slots:t}){const n=Jn(),r=nc();return()=>{const s=t.default&&Xi(t.default(),!0);if(!s||!s.length)return;const i=Gi(s),o=J(e),{mode:l}=o;if(r.isLeaving)return or(i);const c=Ts(i);if(!c)return or(i);let u=Or(c,o,r,n,g=>u=g);In(c,u);const a=n.subTree,h=a&&Ts(a);if(h&&h.type!==we&&!dt(c,h)&&qi(n).type!==we){const g=Or(h,o,r,n);if(In(h,g),l==="out-in"&&c.type!==we)return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update()},or(i);l==="in-out"&&c.type!==we&&(g.delayLeave=(b,w,E)=>{const W=Yi(r,h);W[String(h.key)]=h,b[Qe]=()=>{w(),b[Qe]=void 0,delete u.delayedLeave},u.delayedLeave=E})}return i}}};function Gi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==we){t=n;break}}return t}const sc=rc;function Yi(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 Or(e,t,n,r,s){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:g,onLeave:b,onAfterLeave:w,onLeaveCancelled:E,onBeforeAppear:W,onAppear:F,onAfterAppear:V,onAppearCancelled:p}=t,m=String(e.key),M=Yi(n,e),N=(R,v)=>{R&&De(R,r,9,v)},H=(R,v)=>{const P=v[1];N(R,v),K(R)?R.every(x=>x.length<=1)&&P():R.length<=1&&P()},$={mode:o,persisted:l,beforeEnter(R){let v=c;if(!n.isMounted)if(i)v=W||c;else return;R[Qe]&&R[Qe](!0);const P=M[m];P&&dt(e,P)&&P.el[Qe]&&P.el[Qe](),N(v,[R])},enter(R){let v=u,P=a,x=h;if(!n.isMounted)if(i)v=F||u,P=V||a,x=p||h;else return;let k=!1;const re=R[pn]=ce=>{k||(k=!0,ce?N(x,[R]):N(P,[R]),$.delayedLeave&&$.delayedLeave(),R[pn]=void 0)};v?H(v,[R,re]):re()},leave(R,v){const P=String(e.key);if(R[pn]&&R[pn](!0),n.isUnmounting)return v();N(g,[R]);let x=!1;const k=R[Qe]=re=>{x||(x=!0,v(),re?N(E,[R]):N(w,[R]),R[Qe]=void 0,M[P]===e&&delete M[P])};M[P]=e,b?H(b,[R,k]):k()},clone(R){const v=Or(R,t,n,r,s);return s&&s(v),v}};return $}function or(e){if(tn(e))return e=tt(e),e.children=null,e}function Ts(e){if(!tn(e))return ki(e.type)&&e.children?Gi(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&q(n.default))return n.default()}}function In(e,t){e.shapeFlag&6&&e.component?In(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 Xi(e,t=!1,n){let r=[],s=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===_e?(o.patchFlag&128&&s++,r=r.concat(Xi(o.children,t,l))):(t||o.type!==we)&&r.push(l!=null?tt(o,{key:l}):o)}if(s>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function ts(e,t){return q(e)?fe({name:e.name},t,{setup:e}):e}function ns(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ln(e,t,n,r,s=!1){if(K(e)){e.forEach((g,b)=>Ln(g,t&&(K(t)?t[b]:t),n,r,s));return}if(gt(r)&&!s)return;const i=r.shapeFlag&4?Qn(r.component):r.el,o=s?null:i,{i:l,r:c}=e,u=t&&t.r,a=l.refs===te?l.refs={}:l.refs,h=l.setupState;if(u!=null&&u!==c&&(ie(u)?(a[u]=null,z(h,u)&&(h[u]=null)):ae(u)&&(u.value=null)),q(c))Zt(c,l,12,[o,a]);else{const g=ie(c),b=ae(c);if(g||b){const w=()=>{if(e.f){const E=g?z(h,c)?h[c]:a[c]:c.value;s?K(E)&&Ur(E,i):K(E)?E.includes(i)||E.push(i):g?(a[c]=[i],z(h,c)&&(h[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else g?(a[c]=o,z(h,c)&&(h[c]=o)):b&&(c.value=o,e.k&&(a[e.k]=o))};o?(w.id=-1,Ee(w,n)):w()}}}let As=!1;const wt=()=>{As||(console.error("Hydration completed but contains mismatches."),As=!0)},ic=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",oc=e=>e.namespaceURI.includes("MathML"),gn=e=>{if(e.nodeType===1){if(ic(e))return"svg";if(oc(e))return"mathml"}},xt=e=>e.nodeType===8;function lc(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:u}}=e,a=(p,m)=>{if(!m.hasChildNodes()){n(null,p,m),On(),m._vnode=p;return}h(m.firstChild,p,null,null,null),On(),m._vnode=p},h=(p,m,M,N,H,$=!1)=>{$=$||!!m.dynamicChildren;const R=xt(p)&&p.data==="[",v=()=>E(p,m,M,N,H,R),{type:P,ref:x,shapeFlag:k,patchFlag:re}=m;let ce=p.nodeType;m.el=p,re===-2&&($=!1,m.dynamicChildren=null);let j=null;switch(P){case mt:ce!==3?m.children===""?(c(m.el=s(""),o(p),p),j=p):j=v():(p.data!==m.children&&(wt(),p.data=m.children),j=i(p));break;case we:V(p)?(j=i(p),F(m.el=p.content.firstChild,p,M)):ce!==8||R?j=v():j=i(p);break;case Bt:if(R&&(p=i(p),ce=p.nodeType),ce===1||ce===3){j=p;const Y=!m.children.length;for(let U=0;U<m.staticCount;U++)Y&&(m.children+=j.nodeType===1?j.outerHTML:j.data),U===m.staticCount-1&&(m.anchor=j),j=i(j);return R?i(j):j}else v();break;case _e:R?j=w(p,m,M,N,H,$):j=v();break;default:if(k&1)(ce!==1||m.type.toLowerCase()!==p.tagName.toLowerCase())&&!V(p)?j=v():j=g(p,m,M,N,H,$);else if(k&6){m.slotScopeIds=H;const Y=o(p);if(R?j=W(p):xt(p)&&p.data==="teleport start"?j=W(p,p.data,"teleport end"):j=i(p),t(m,Y,null,M,N,gn(Y),$),gt(m)){let U;R?(U=le(_e),U.anchor=j?j.previousSibling:Y.lastChild):U=p.nodeType===3?So(""):le("div"),U.el=p,m.component.subTree=U}}else k&64?ce!==8?j=v():j=m.type.hydrate(p,m,M,N,H,$,e,b):k&128&&(j=m.type.hydrate(p,m,M,N,gn(o(p)),H,$,e,h))}return x!=null&&Ln(x,null,N,m),j},g=(p,m,M,N,H,$)=>{$=$||!!m.dynamicChildren;const{type:R,props:v,patchFlag:P,shapeFlag:x,dirs:k,transition:re}=m,ce=R==="input"||R==="option";if(ce||P!==-1){k&&Ve(m,null,M,"created");let j=!1;if(V(p)){j=po(N,re)&&M&&M.vnode.props&&M.vnode.props.appear;const U=p.content.firstChild;j&&re.beforeEnter(U),F(U,p,M),m.el=p=U}if(x&16&&!(v&&(v.innerHTML||v.textContent))){let U=b(p.firstChild,m,p,M,N,H,$);for(;U;){mn(p,1)||wt();const he=U;U=U.nextSibling,l(he)}}else x&8&&p.textContent!==m.children&&(mn(p,0)||wt(),p.textContent=m.children);if(v){if(ce||!$||P&48){const U=p.tagName.includes("-");for(const he in v)(ce&&(he.endsWith("value")||he==="indeterminate")||Qt(he)&&!At(he)||he[0]==="."||U)&&r(p,he,null,v[he],void 0,M)}else if(v.onClick)r(p,"onClick",null,v.onClick,void 0,M);else if(P&4&&pt(v.style))for(const U in v.style)v.style[U]}let Y;(Y=v&&v.onVnodeBeforeMount)&&Oe(Y,M,m),k&&Ve(m,null,M,"beforeMount"),((Y=v&&v.onVnodeMounted)||k||j)&&bo(()=>{Y&&Oe(Y,M,m),j&&re.enter(p),k&&Ve(m,null,M,"mounted")},N)}return p.nextSibling},b=(p,m,M,N,H,$,R)=>{R=R||!!m.dynamicChildren;const v=m.children,P=v.length;for(let x=0;x<P;x++){const k=R?v[x]:v[x]=Me(v[x]),re=k.type===mt;p?(re&&!R&&x+1<P&&Me(v[x+1]).type===mt&&(c(s(p.data.slice(k.children.length)),M,i(p)),p.data=k.children),p=h(p,k,N,H,$,R)):re&&!k.children?c(k.el=s(""),M):(mn(M,1)||wt(),n(null,k,M,null,N,H,gn(M),$))}return p},w=(p,m,M,N,H,$)=>{const{slotScopeIds:R}=m;R&&(H=H?H.concat(R):R);const v=o(p),P=b(i(p),m,v,M,N,H,$);return P&&xt(P)&&P.data==="]"?i(m.anchor=P):(wt(),c(m.anchor=u("]"),v,P),P)},E=(p,m,M,N,H,$)=>{if(mn(p.parentElement,1)||wt(),m.el=null,$){const P=W(p);for(;;){const x=i(p);if(x&&x!==P)l(x);else break}}const R=i(p),v=o(p);return l(p),n(null,m,v,R,M,N,gn(v),H),R},W=(p,m="[",M="]")=>{let N=0;for(;p;)if(p=i(p),p&&xt(p)&&(p.data===m&&N++,p.data===M)){if(N===0)return i(p);N--}return p},F=(p,m,M)=>{const N=m.parentNode;N&&N.replaceChild(p,m);let H=M;for(;H;)H.vnode.el===m&&(H.vnode.el=H.subTree.el=p),H=H.parent},V=p=>p.nodeType===1&&p.tagName.toLowerCase()==="template";return[a,h]}const Rs="data-allow-mismatch",cc={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function mn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Rs);)e=e.parentElement;const n=e&&e.getAttribute(Rs);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(cc[t])}}function ac(e,t){if(xt(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1)t(r);else if(xt(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const gt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Pf(e){q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let u=null,a,h=0;const g=()=>(h++,u=null,b()),b=()=>{let w;return u||(w=u=t().catch(E=>{if(E=E instanceof Error?E:new Error(String(E)),c)return new Promise((W,F)=>{c(E,()=>W(g()),()=>F(E),h+1)});throw E}).then(E=>w!==u&&u?u:(E&&(E.__esModule||E[Symbol.toStringTag]==="Module")&&(E=E.default),a=E,E)))};return ts({name:"AsyncComponentWrapper",__asyncLoader:b,__asyncHydrate(w,E,W){const F=i?()=>{const V=i(W,p=>ac(w,p));V&&(E.bum||(E.bum=[])).push(V)}:W;a?F():b().then(()=>!E.isUnmounted&&F())},get __asyncResolved(){return a},setup(){const w=ue;if(ns(w),a)return()=>lr(a,w);const E=p=>{u=null,en(p,w,13,!r)};if(l&&w.suspense||rn)return b().then(p=>()=>lr(p,w)).catch(p=>(E(p),()=>r?le(r,{error:p}):null));const W=se(!1),F=se(),V=se(!!s);return s&&setTimeout(()=>{V.value=!1},s),o!=null&&setTimeout(()=>{if(!W.value&&!F.value){const p=new Error(`Async component timed out after ${o}ms.`);E(p),F.value=p}},o),b().then(()=>{W.value=!0,w.parent&&tn(w.parent.vnode)&&qn(w.parent.update)}).catch(p=>{E(p),F.value=p}),()=>{if(W.value&&a)return lr(a,w);if(F.value&&r)return le(r,{error:F.value});if(n&&!V.value)return le(n)}}})}function lr(e,t){const{ref:n,props:r,children:s,ce:i}=t.vnode,o=le(e,r,s);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const tn=e=>e.type.__isKeepAlive;function fc(e,t){zi(e,"a",t)}function uc(e,t){zi(e,"da",t)}function zi(e,t,n=ue){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Gn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)tn(s.parent.vnode)&&dc(r,t,n,s),s=s.parent}}function dc(e,t,n,r){const s=Gn(t,e,r,!0);Yn(()=>{Ur(r[t],s)},n)}function Gn(e,t,n=ue,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{st();const l=nn(n),c=De(t,n,e,o);return l(),it(),c});return r?s.unshift(i):s.push(i),i}}const Ge=e=>(t,n=ue)=>{(!rn||e==="sp")&&Gn(e,(...r)=>t(...r),n)},hc=Ge("bm"),Lt=Ge("m"),pc=Ge("bu"),gc=Ge("u"),Ji=Ge("bum"),Yn=Ge("um"),mc=Ge("sp"),yc=Ge("rtg"),vc=Ge("rtc");function bc(e,t=ue){Gn("ec",e,t)}const rs="components";function Nf(e,t){return Zi(rs,e,!0,t)||e}const Qi=Symbol.for("v-ndc");function Ff(e){return ie(e)?Zi(rs,e,!1)||e:e||Qi}function Zi(e,t,n=!0,r=!1){const s=de||ue;if(s){const i=s.type;if(e===rs){const l=sa(i,!1);if(l&&(l===t||l===Fe(t)||l===jn(Fe(t))))return i}const o=Os(s[e]||i[e],t)||Os(s.appContext[e],t);return!o&&r?i:o}}function Os(e,t){return e&&(e[t]||e[Fe(t)]||e[jn(Fe(t))])}function Df(e,t,n,r){let s;const i=n,o=K(e);if(o||ie(e)){const l=o&&pt(e);l&&(e=Un(e)),s=new Array(e.length);for(let c=0,u=e.length;c<u;c++)s[c]=t(l?ge(e[c]):e[c],c,void 0,i)}else if(typeof e=="number"){s=new Array(e);for(let l=0;l<e;l++)s[l]=t(l+1,l,void 0,i)}else if(ne(e))if(e[Symbol.iterator])s=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);s=new Array(l.length);for(let c=0,u=l.length;c<u;c++){const a=l[c];s[c]=t(e[a],a,c,i)}}else s=[];return s}function Hf(e,t,n={},r,s){if(de.ce||de.parent&&gt(de.parent)&&de.parent.ce)return t!=="default"&&(n.name=t),Nr(),Fr(_e,null,[le("slot",n,r&&r())],64);let i=e[t];i&&i._c&&(i._d=!1),Nr();const o=i&&eo(i(n)),l=Fr(_e,{key:(n.key||o&&o.key||`_${t}`)+(!o&&r?"_fb":"")},o||(r?r():[]),o&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function eo(e){return e.some(t=>Nn(t)?!(t.type===we||t.type===_e&&!eo(t.children)):!0)?e:null}function $f(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:_n(r)]=e[r];return n}const Mr=e=>e?xo(e)?Qn(e):Mr(e.parent):null,Ut=fe(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=>Mr(e.parent),$root:e=>Mr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ss(e),$forceUpdate:e=>e.f||(e.f=()=>{qn(e.update)}),$nextTick:e=>e.n||(e.n=Kn.bind(e.proxy)),$watch:e=>Uc.bind(e)}),cr=(e,t)=>e!==te&&!e.__isScriptSetup&&z(e,t),_c={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const b=o[t];if(b!==void 0)switch(b){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(cr(r,t))return o[t]=1,r[t];if(s!==te&&z(s,t))return o[t]=2,s[t];if((u=e.propsOptions[0])&&z(u,t))return o[t]=3,i[t];if(n!==te&&z(n,t))return o[t]=4,n[t];Ir&&(o[t]=0)}}const a=Ut[t];let h,g;if(a)return t==="$attrs"&&me(e.attrs,"get",""),a(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==te&&z(n,t))return o[t]=4,n[t];if(g=c.config.globalProperties,z(g,t))return g[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return cr(s,t)?(s[t]=n,!0):r!==te&&z(r,t)?(r[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let l;return!!n[o]||e!==te&&z(e,o)||cr(t,o)||(l=i[0])&&z(l,o)||z(r,o)||z(Ut,o)||z(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function jf(){return wc().slots}function wc(){const e=Jn();return e.setupContext||(e.setupContext=To(e))}function Ms(e){return K(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ir=!0;function Ec(e){const t=ss(e),n=e.proxy,r=e.ctx;Ir=!1,t.beforeCreate&&Is(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:l,provide:c,inject:u,created:a,beforeMount:h,mounted:g,beforeUpdate:b,updated:w,activated:E,deactivated:W,beforeDestroy:F,beforeUnmount:V,destroyed:p,unmounted:m,render:M,renderTracked:N,renderTriggered:H,errorCaptured:$,serverPrefetch:R,expose:v,inheritAttrs:P,components:x,directives:k,filters:re}=t;if(u&&Sc(u,r,null),o)for(const Y in o){const U=o[Y];q(U)&&(r[Y]=U.bind(n))}if(s){const Y=s.call(n,n);ne(Y)&&(e.data=kn(Y))}if(Ir=!0,i)for(const Y in i){const U=i[Y],he=q(U)?U.bind(n,n):q(U.get)?U.get.bind(n,n):Ue,sn=!q(U)&&q(U.set)?U.set.bind(n):Ue,ot=oe({get:he,set:sn});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>ot.value,set:$e=>ot.value=$e})}if(l)for(const Y in l)to(l[Y],r,n,Y);if(c){const Y=q(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(U=>{Oc(U,Y[U])})}a&&Is(a,e,"c");function j(Y,U){K(U)?U.forEach(he=>Y(he.bind(n))):U&&Y(U.bind(n))}if(j(hc,h),j(Lt,g),j(pc,b),j(gc,w),j(fc,E),j(uc,W),j(bc,$),j(vc,N),j(yc,H),j(Ji,V),j(Yn,m),j(mc,R),K(v))if(v.length){const Y=e.exposed||(e.exposed={});v.forEach(U=>{Object.defineProperty(Y,U,{get:()=>n[U],set:he=>n[U]=he})})}else e.exposed||(e.exposed={});M&&e.render===Ue&&(e.render=M),P!=null&&(e.inheritAttrs=P),x&&(e.components=x),k&&(e.directives=k),R&&ns(e)}function Sc(e,t,n=Ue){K(e)&&(e=Lr(e));for(const r in e){const s=e[r];let i;ne(s)?"default"in s?i=Mt(s.from||r,s.default,!0):i=Mt(s.from||r):i=Mt(s),ae(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function Is(e,t,n){De(K(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function to(e,t,n,r){let s=r.includes(".")?mo(n,r):()=>n[r];if(ie(e)){const i=t[e];q(i)&&Ne(s,i)}else if(q(e))Ne(s,e.bind(n));else if(ne(e))if(K(e))e.forEach(i=>to(i,t,n,r));else{const i=q(e.handler)?e.handler.bind(n):t[e.handler];q(i)&&Ne(s,i,e)}}function ss(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(u=>Pn(c,u,o,!0)),Pn(c,t,o)),ne(t)&&i.set(t,c),c}function Pn(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&Pn(e,i,n,!0),s&&s.forEach(o=>Pn(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=xc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const xc={data:Ls,props:Ps,emits:Ps,methods:$t,computed:$t,beforeCreate:ve,created:ve,beforeMount:ve,mounted:ve,beforeUpdate:ve,updated:ve,beforeDestroy:ve,beforeUnmount:ve,destroyed:ve,unmounted:ve,activated:ve,deactivated:ve,errorCaptured:ve,serverPrefetch:ve,components:$t,directives:$t,watch:Tc,provide:Ls,inject:Cc};function Ls(e,t){return t?e?function(){return fe(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function Cc(e,t){return $t(Lr(e),Lr(t))}function Lr(e){if(K(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ve(e,t){return e?[...new Set([].concat(e,t))]:t}function $t(e,t){return e?fe(Object.create(null),e,t):t}function Ps(e,t){return e?K(e)&&K(t)?[...new Set([...e,...t])]:fe(Object.create(null),Ms(e),Ms(t??{})):t}function Tc(e,t){if(!e)return t;if(!t)return e;const n=fe(Object.create(null),e);for(const r in t)n[r]=ve(e[r],t[r]);return n}function no(){return{app:null,config:{isNativeTag:el,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 Ac=0;function Rc(e,t){return function(r,s=null){q(r)||(r=fe({},r)),s!=null&&!ne(s)&&(s=null);const i=no(),o=new WeakSet,l=[];let c=!1;const u=i.app={_uid:Ac++,_component:r,_props:s,_container:null,_context:i,_instance:null,version:oa,get config(){return i.config},set config(a){},use(a,...h){return o.has(a)||(a&&q(a.install)?(o.add(a),a.install(u,...h)):q(a)&&(o.add(a),a(u,...h))),u},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),u},component(a,h){return h?(i.components[a]=h,u):i.components[a]},directive(a,h){return h?(i.directives[a]=h,u):i.directives[a]},mount(a,h,g){if(!c){const b=u._ceVNode||le(r,s);return b.appContext=i,g===!0?g="svg":g===!1&&(g=void 0),h&&t?t(b,a):e(b,a,g),c=!0,u._container=a,a.__vue_app__=u,Qn(b.component)}},onUnmount(a){l.push(a)},unmount(){c&&(De(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(a,h){return i.provides[a]=h,u},runWithContext(a){const h=Ot;Ot=u;try{return a()}finally{Ot=h}}};return u}}let Ot=null;function Oc(e,t){if(ue){let n=ue.provides;const r=ue.parent&&ue.parent.provides;r===n&&(n=ue.provides=Object.create(r)),n[e]=t}}function Mt(e,t,n=!1){const r=ue||de;if(r||Ot){const s=Ot?Ot._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&q(t)?t.call(r&&r.proxy):t}}const ro={},so=()=>Object.create(ro),io=e=>Object.getPrototypeOf(e)===ro;function Mc(e,t,n,r=!1){const s={},i=so();e.propsDefaults=Object.create(null),oo(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:Dl(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Ic(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,l=J(s),[c]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let h=0;h<a.length;h++){let g=a[h];if(zn(e.emitsOptions,g))continue;const b=t[g];if(c)if(z(i,g))b!==i[g]&&(i[g]=b,u=!0);else{const w=Fe(g);s[w]=Pr(c,l,w,b,e,!1)}else b!==i[g]&&(i[g]=b,u=!0)}}}else{oo(e,t,s,i)&&(u=!0);let a;for(const h in l)(!t||!z(t,h)&&((a=rt(h))===h||!z(t,a)))&&(c?n&&(n[h]!==void 0||n[a]!==void 0)&&(s[h]=Pr(c,l,h,void 0,e,!0)):delete s[h]);if(i!==l)for(const h in i)(!t||!z(t,h))&&(delete i[h],u=!0)}u&&qe(e.attrs,"set","")}function oo(e,t,n,r){const[s,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(At(c))continue;const u=t[c];let a;s&&z(s,a=Fe(c))?!i||!i.includes(a)?n[a]=u:(l||(l={}))[a]=u:zn(e.emitsOptions,c)||(!(c in r)||u!==r[c])&&(r[c]=u,o=!0)}if(i){const c=J(n),u=l||te;for(let a=0;a<i.length;a++){const h=i[a];n[h]=Pr(s,c,h,u[h],e,!z(u,h))}}return o}function Pr(e,t,n,r,s,i){const o=e[n];if(o!=null){const l=z(o,"default");if(l&&r===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&q(c)){const{propsDefaults:u}=s;if(n in u)r=u[n];else{const a=nn(s);r=u[n]=c.call(null,t),a()}}else r=c;s.ce&&s.ce._setProp(n,r)}o[0]&&(i&&!l?r=!1:o[1]&&(r===""||r===rt(n))&&(r=!0))}return r}const Lc=new WeakMap;function lo(e,t,n=!1){const r=n?Lc:t.propsCache,s=r.get(e);if(s)return s;const i=e.props,o={},l=[];let c=!1;if(!q(e)){const a=h=>{c=!0;const[g,b]=lo(h,t,!0);fe(o,g),b&&l.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return ne(e)&&r.set(e,Ct),Ct;if(K(i))for(let a=0;a<i.length;a++){const h=Fe(i[a]);Ns(h)&&(o[h]=te)}else if(i)for(const a in i){const h=Fe(a);if(Ns(h)){const g=i[a],b=o[h]=K(g)||q(g)?{type:g}:fe({},g),w=b.type;let E=!1,W=!0;if(K(w))for(let F=0;F<w.length;++F){const V=w[F],p=q(V)&&V.name;if(p==="Boolean"){E=!0;break}else p==="String"&&(W=!1)}else E=q(w)&&w.name==="Boolean";b[0]=E,b[1]=W,(E||z(b,"default"))&&l.push(h)}}const u=[o,l];return ne(e)&&r.set(e,u),u}function Ns(e){return e[0]!=="$"&&!At(e)}const co=e=>e[0]==="_"||e==="$stable",is=e=>K(e)?e.map(Me):[Me(e)],Pc=(e,t,n)=>{if(t._n)return t;const r=Ql((...s)=>is(t(...s)),n);return r._c=!1,r},ao=(e,t,n)=>{const r=e._ctx;for(const s in e){if(co(s))continue;const i=e[s];if(q(i))t[s]=Pc(s,i,r);else if(i!=null){const o=is(i);t[s]=()=>o}}},fo=(e,t)=>{const n=is(t);e.slots.default=()=>n},uo=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Nc=(e,t,n)=>{const r=e.slots=so();if(e.vnode.shapeFlag&32){const s=t._;s?(uo(r,t,n),n&&mi(r,"_",s,!0)):ao(t,r)}else t&&fo(e,t)},Fc=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=te;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:uo(s,t,n):(i=!t.$stable,ao(t,s)),o=t}else t&&(fo(e,t),o={default:1});if(i)for(const l in s)!co(l)&&o[l]==null&&delete s[l]},Ee=bo;function Dc(e){return ho(e)}function Hc(e){return ho(e,lc)}function ho(e,t){const n=yi();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:a,parentNode:h,nextSibling:g,setScopeId:b=Ue,insertStaticContent:w}=e,E=(f,d,y,C=null,_=null,S=null,I=void 0,O=null,A=!!d.dynamicChildren)=>{if(f===d)return;f&&!dt(f,d)&&(C=on(f),$e(f,_,S,!0),f=null),d.patchFlag===-2&&(A=!1,d.dynamicChildren=null);const{type:T,ref:B,shapeFlag:L}=d;switch(T){case mt:W(f,d,y,C);break;case we:F(f,d,y,C);break;case Bt:f==null&&V(d,y,C,I);break;case _e:x(f,d,y,C,_,S,I,O,A);break;default:L&1?M(f,d,y,C,_,S,I,O,A):L&6?k(f,d,y,C,_,S,I,O,A):(L&64||L&128)&&T.process(f,d,y,C,_,S,I,O,A,bt)}B!=null&&_&&Ln(B,f&&f.ref,S,d||f,!d)},W=(f,d,y,C)=>{if(f==null)r(d.el=l(d.children),y,C);else{const _=d.el=f.el;d.children!==f.children&&u(_,d.children)}},F=(f,d,y,C)=>{f==null?r(d.el=c(d.children||""),y,C):d.el=f.el},V=(f,d,y,C)=>{[f.el,f.anchor]=w(f.children,d,y,C,f.el,f.anchor)},p=({el:f,anchor:d},y,C)=>{let _;for(;f&&f!==d;)_=g(f),r(f,y,C),f=_;r(d,y,C)},m=({el:f,anchor:d})=>{let y;for(;f&&f!==d;)y=g(f),s(f),f=y;s(d)},M=(f,d,y,C,_,S,I,O,A)=>{d.type==="svg"?I="svg":d.type==="math"&&(I="mathml"),f==null?N(d,y,C,_,S,I,O,A):R(f,d,_,S,I,O,A)},N=(f,d,y,C,_,S,I,O)=>{let A,T;const{props:B,shapeFlag:L,transition:D,dirs:G}=f;if(A=f.el=o(f.type,S,B&&B.is,B),L&8?a(A,f.children):L&16&&$(f.children,A,null,C,_,ar(f,S),I,O),G&&Ve(f,null,C,"created"),H(A,f,f.scopeId,I,C),B){for(const Z in B)Z!=="value"&&!At(Z)&&i(A,Z,null,B[Z],S,C);"value"in B&&i(A,"value",null,B.value,S),(T=B.onVnodeBeforeMount)&&Oe(T,C,f)}G&&Ve(f,null,C,"beforeMount");const X=po(_,D);X&&D.beforeEnter(A),r(A,d,y),((T=B&&B.onVnodeMounted)||X||G)&&Ee(()=>{T&&Oe(T,C,f),X&&D.enter(A),G&&Ve(f,null,C,"mounted")},_)},H=(f,d,y,C,_)=>{if(y&&b(f,y),C)for(let S=0;S<C.length;S++)b(f,C[S]);if(_){let S=_.subTree;if(d===S||vo(S.type)&&(S.ssContent===d||S.ssFallback===d)){const I=_.vnode;H(f,I,I.scopeId,I.slotScopeIds,_.parent)}}},$=(f,d,y,C,_,S,I,O,A=0)=>{for(let T=A;T<f.length;T++){const B=f[T]=O?Ze(f[T]):Me(f[T]);E(null,B,d,y,C,_,S,I,O)}},R=(f,d,y,C,_,S,I)=>{const O=d.el=f.el;let{patchFlag:A,dynamicChildren:T,dirs:B}=d;A|=f.patchFlag&16;const L=f.props||te,D=d.props||te;let G;if(y&&lt(y,!1),(G=D.onVnodeBeforeUpdate)&&Oe(G,y,d,f),B&&Ve(d,f,y,"beforeUpdate"),y&&lt(y,!0),(L.innerHTML&&D.innerHTML==null||L.textContent&&D.textContent==null)&&a(O,""),T?v(f.dynamicChildren,T,O,y,C,ar(d,_),S):I||U(f,d,O,null,y,C,ar(d,_),S,!1),A>0){if(A&16)P(O,L,D,y,_);else if(A&2&&L.class!==D.class&&i(O,"class",null,D.class,_),A&4&&i(O,"style",L.style,D.style,_),A&8){const X=d.dynamicProps;for(let Z=0;Z<X.length;Z++){const Q=X[Z],Se=L[Q],ye=D[Q];(ye!==Se||Q==="value")&&i(O,Q,Se,ye,_,y)}}A&1&&f.children!==d.children&&a(O,d.children)}else!I&&T==null&&P(O,L,D,y,_);((G=D.onVnodeUpdated)||B)&&Ee(()=>{G&&Oe(G,y,d,f),B&&Ve(d,f,y,"updated")},C)},v=(f,d,y,C,_,S,I)=>{for(let O=0;O<d.length;O++){const A=f[O],T=d[O],B=A.el&&(A.type===_e||!dt(A,T)||A.shapeFlag&70)?h(A.el):y;E(A,T,B,null,C,_,S,I,!0)}},P=(f,d,y,C,_)=>{if(d!==y){if(d!==te)for(const S in d)!At(S)&&!(S in y)&&i(f,S,d[S],null,_,C);for(const S in y){if(At(S))continue;const I=y[S],O=d[S];I!==O&&S!=="value"&&i(f,S,O,I,_,C)}"value"in y&&i(f,"value",d.value,y.value,_)}},x=(f,d,y,C,_,S,I,O,A)=>{const T=d.el=f?f.el:l(""),B=d.anchor=f?f.anchor:l("");let{patchFlag:L,dynamicChildren:D,slotScopeIds:G}=d;G&&(O=O?O.concat(G):G),f==null?(r(T,y,C),r(B,y,C),$(d.children||[],y,B,_,S,I,O,A)):L>0&&L&64&&D&&f.dynamicChildren?(v(f.dynamicChildren,D,y,_,S,I,O),(d.key!=null||_&&d===_.subTree)&&os(f,d,!0)):U(f,d,y,B,_,S,I,O,A)},k=(f,d,y,C,_,S,I,O,A)=>{d.slotScopeIds=O,f==null?d.shapeFlag&512?_.ctx.activate(d,y,C,I,A):re(d,y,C,_,S,I,A):ce(f,d,A)},re=(f,d,y,C,_,S,I)=>{const O=f.component=ea(f,C,_);if(tn(f)&&(O.ctx.renderer=bt),ta(O,!1,I),O.asyncDep){if(_&&_.registerDep(O,j,I),!f.el){const A=O.subTree=le(we);F(null,A,d,y)}}else j(O,f,d,y,_,S,I)},ce=(f,d,y)=>{const C=d.component=f.component;if(qc(f,d,y))if(C.asyncDep&&!C.asyncResolved){Y(C,d,y);return}else C.next=d,C.update();else d.el=f.el,C.vnode=d},j=(f,d,y,C,_,S,I)=>{const O=()=>{if(f.isMounted){let{next:L,bu:D,u:G,parent:X,vnode:Z}=f;{const xe=go(f);if(xe){L&&(L.el=Z.el,Y(f,L,I)),xe.asyncDep.then(()=>{f.isUnmounted||O()});return}}let Q=L,Se;lt(f,!1),L?(L.el=Z.el,Y(f,L,I)):L=Z,D&&wn(D),(Se=L.props&&L.props.onVnodeBeforeUpdate)&&Oe(Se,X,L,Z),lt(f,!0);const ye=fr(f),Ie=f.subTree;f.subTree=ye,E(Ie,ye,h(Ie.el),on(Ie),f,_,S),L.el=ye.el,Q===null&&Gc(f,ye.el),G&&Ee(G,_),(Se=L.props&&L.props.onVnodeUpdated)&&Ee(()=>Oe(Se,X,L,Z),_)}else{let L;const{el:D,props:G}=d,{bm:X,m:Z,parent:Q,root:Se,type:ye}=f,Ie=gt(d);if(lt(f,!1),X&&wn(X),!Ie&&(L=G&&G.onVnodeBeforeMount)&&Oe(L,Q,d),lt(f,!0),D&&tr){const xe=()=>{f.subTree=fr(f),tr(D,f.subTree,f,_,null)};Ie?ye.__asyncHydrate(D,f,xe):xe()}else{Se.ce&&Se.ce._injectChildStyle(ye);const xe=f.subTree=fr(f);E(null,xe,y,C,f,_,S),d.el=xe.el}if(Z&&Ee(Z,_),!Ie&&(L=G&&G.onVnodeMounted)){const xe=d;Ee(()=>Oe(L,Q,xe),_)}(d.shapeFlag&256||Q&&gt(Q.vnode)&&Q.vnode.shapeFlag&256)&&f.a&&Ee(f.a,_),f.isMounted=!0,d=y=C=null}};f.scope.on();const A=f.effect=new Ei(O);f.scope.off();const T=f.update=A.run.bind(A),B=f.job=A.runIfDirty.bind(A);B.i=f,B.id=f.uid,A.scheduler=()=>qn(B),lt(f,!0),T()},Y=(f,d,y)=>{d.component=f;const C=f.vnode.props;f.vnode=d,f.next=null,Ic(f,d.props,C,y),Fc(f,d.children,y),st(),Ss(f),it()},U=(f,d,y,C,_,S,I,O,A=!1)=>{const T=f&&f.children,B=f?f.shapeFlag:0,L=d.children,{patchFlag:D,shapeFlag:G}=d;if(D>0){if(D&128){sn(T,L,y,C,_,S,I,O,A);return}else if(D&256){he(T,L,y,C,_,S,I,O,A);return}}G&8?(B&16&&Pt(T,_,S),L!==T&&a(y,L)):B&16?G&16?sn(T,L,y,C,_,S,I,O,A):Pt(T,_,S,!0):(B&8&&a(y,""),G&16&&$(L,y,C,_,S,I,O,A))},he=(f,d,y,C,_,S,I,O,A)=>{f=f||Ct,d=d||Ct;const T=f.length,B=d.length,L=Math.min(T,B);let D;for(D=0;D<L;D++){const G=d[D]=A?Ze(d[D]):Me(d[D]);E(f[D],G,y,null,_,S,I,O,A)}T>B?Pt(f,_,S,!0,!1,L):$(d,y,C,_,S,I,O,A,L)},sn=(f,d,y,C,_,S,I,O,A)=>{let T=0;const B=d.length;let L=f.length-1,D=B-1;for(;T<=L&&T<=D;){const G=f[T],X=d[T]=A?Ze(d[T]):Me(d[T]);if(dt(G,X))E(G,X,y,null,_,S,I,O,A);else break;T++}for(;T<=L&&T<=D;){const G=f[L],X=d[D]=A?Ze(d[D]):Me(d[D]);if(dt(G,X))E(G,X,y,null,_,S,I,O,A);else break;L--,D--}if(T>L){if(T<=D){const G=D+1,X=G<B?d[G].el:C;for(;T<=D;)E(null,d[T]=A?Ze(d[T]):Me(d[T]),y,X,_,S,I,O,A),T++}}else if(T>D)for(;T<=L;)$e(f[T],_,S,!0),T++;else{const G=T,X=T,Z=new Map;for(T=X;T<=D;T++){const Ce=d[T]=A?Ze(d[T]):Me(d[T]);Ce.key!=null&&Z.set(Ce.key,T)}let Q,Se=0;const ye=D-X+1;let Ie=!1,xe=0;const Nt=new Array(ye);for(T=0;T<ye;T++)Nt[T]=0;for(T=G;T<=L;T++){const Ce=f[T];if(Se>=ye){$e(Ce,_,S,!0);continue}let je;if(Ce.key!=null)je=Z.get(Ce.key);else for(Q=X;Q<=D;Q++)if(Nt[Q-X]===0&&dt(Ce,d[Q])){je=Q;break}je===void 0?$e(Ce,_,S,!0):(Nt[je-X]=T+1,je>=xe?xe=je:Ie=!0,E(Ce,d[je],y,null,_,S,I,O,A),Se++)}const ps=Ie?$c(Nt):Ct;for(Q=ps.length-1,T=ye-1;T>=0;T--){const Ce=X+T,je=d[Ce],gs=Ce+1<B?d[Ce+1].el:C;Nt[T]===0?E(null,je,y,gs,_,S,I,O,A):Ie&&(Q<0||T!==ps[Q]?ot(je,y,gs,2):Q--)}}},ot=(f,d,y,C,_=null)=>{const{el:S,type:I,transition:O,children:A,shapeFlag:T}=f;if(T&6){ot(f.component.subTree,d,y,C);return}if(T&128){f.suspense.move(d,y,C);return}if(T&64){I.move(f,d,y,bt);return}if(I===_e){r(S,d,y);for(let L=0;L<A.length;L++)ot(A[L],d,y,C);r(f.anchor,d,y);return}if(I===Bt){p(f,d,y);return}if(C!==2&&T&1&&O)if(C===0)O.beforeEnter(S),r(S,d,y),Ee(()=>O.enter(S),_);else{const{leave:L,delayLeave:D,afterLeave:G}=O,X=()=>r(S,d,y),Z=()=>{L(S,()=>{X(),G&&G()})};D?D(S,X,Z):Z()}else r(S,d,y)},$e=(f,d,y,C=!1,_=!1)=>{const{type:S,props:I,ref:O,children:A,dynamicChildren:T,shapeFlag:B,patchFlag:L,dirs:D,cacheIndex:G}=f;if(L===-2&&(_=!1),O!=null&&Ln(O,null,y,f,!0),G!=null&&(d.renderCache[G]=void 0),B&256){d.ctx.deactivate(f);return}const X=B&1&&D,Z=!gt(f);let Q;if(Z&&(Q=I&&I.onVnodeBeforeUnmount)&&Oe(Q,d,f),B&6)Zo(f.component,y,C);else{if(B&128){f.suspense.unmount(y,C);return}X&&Ve(f,null,d,"beforeUnmount"),B&64?f.type.remove(f,d,y,bt,C):T&&!T.hasOnce&&(S!==_e||L>0&&L&64)?Pt(T,d,y,!1,!0):(S===_e&&L&384||!_&&B&16)&&Pt(A,d,y),C&&ds(f)}(Z&&(Q=I&&I.onVnodeUnmounted)||X)&&Ee(()=>{Q&&Oe(Q,d,f),X&&Ve(f,null,d,"unmounted")},y)},ds=f=>{const{type:d,el:y,anchor:C,transition:_}=f;if(d===_e){Qo(y,C);return}if(d===Bt){m(f);return}const S=()=>{s(y),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(f.shapeFlag&1&&_&&!_.persisted){const{leave:I,delayLeave:O}=_,A=()=>I(y,S);O?O(f.el,S,A):A()}else S()},Qo=(f,d)=>{let y;for(;f!==d;)y=g(f),s(f),f=y;s(d)},Zo=(f,d,y)=>{const{bum:C,scope:_,job:S,subTree:I,um:O,m:A,a:T}=f;Fs(A),Fs(T),C&&wn(C),_.stop(),S&&(S.flags|=8,$e(I,f,d,y)),O&&Ee(O,d),Ee(()=>{f.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Pt=(f,d,y,C=!1,_=!1,S=0)=>{for(let I=S;I<f.length;I++)$e(f[I],d,y,C,_)},on=f=>{if(f.shapeFlag&6)return on(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const d=g(f.anchor||f.el),y=d&&d[Bi];return y?g(y):d};let Zn=!1;const hs=(f,d,y)=>{f==null?d._vnode&&$e(d._vnode,null,null,!0):E(d._vnode||null,f,d,null,null,null,y),d._vnode=f,Zn||(Zn=!0,Ss(),On(),Zn=!1)},bt={p:E,um:$e,m:ot,r:ds,mt:re,mc:$,pc:U,pbc:v,n:on,o:e};let er,tr;return t&&([er,tr]=t(bt)),{render:hs,hydrate:er,createApp:Rc(hs,er)}}function ar({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function lt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function po(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function os(e,t,n=!1){const r=e.children,s=t.children;if(K(r)&&K(s))for(let i=0;i<r.length;i++){const o=r[i];let l=s[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[i]=Ze(s[i]),l.el=o.el),!n&&l.patchFlag!==-2&&os(o,l)),l.type===mt&&(l.el=o.el)}}function $c(e){const t=e.slice(),n=[0];let r,s,i,o,l;const c=e.length;for(r=0;r<c;r++){const u=e[r];if(u!==0){if(s=n[n.length-1],e[s]<u){t[r]=s,n.push(r);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<u?i=l+1:o=l;u<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function go(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:go(t)}function Fs(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const jc=Symbol.for("v-scx"),Vc=()=>Mt(jc);function ls(e,t){return Xn(e,null,t)}function Vf(e,t){return Xn(e,null,{flush:"post"})}function Ne(e,t,n){return Xn(e,t,n)}function Xn(e,t,n=te){const{immediate:r,deep:s,flush:i,once:o}=n,l=fe({},n);let c;if(rn)if(i==="sync"){const g=Vc();c=g.__watcherHandles||(g.__watcherHandles=[])}else if(!t||r)l.once=!0;else return{stop:Ue,resume:Ue,pause:Ue};const u=ue;l.call=(g,b,w)=>De(g,u,b,w);let a=!1;i==="post"?l.scheduler=g=>{Ee(g,u&&u.suspense)}:i!=="sync"&&(a=!0,l.scheduler=(g,b)=>{b?g():qn(g)}),l.augmentJob=g=>{t&&(g.flags|=4),a&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const h=Yl(e,t,l);return c&&c.push(h),h}function Uc(e,t,n){const r=this.proxy,s=ie(e)?e.includes(".")?mo(r,e):()=>r[e]:e.bind(r,r);let i;q(t)?i=t:(i=t.handler,n=t);const o=nn(this),l=Xn(s,i.bind(r),n);return o(),l}function mo(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}}const Bc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Fe(t)}Modifiers`]||e[`${rt(t)}Modifiers`];function kc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||te;let s=n;const i=t.startsWith("update:"),o=i&&Bc(r,t.slice(7));o&&(o.trim&&(s=n.map(a=>ie(a)?a.trim():a)),o.number&&(s=n.map(xr)));let l,c=r[l=_n(t)]||r[l=_n(Fe(t))];!c&&i&&(c=r[l=_n(rt(t))]),c&&De(c,e,6,s);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,De(u,e,6,s)}}function yo(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},l=!1;if(!q(e)){const c=u=>{const a=yo(u,t,!0);a&&(l=!0,fe(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ne(e)&&r.set(e,null),null):(K(i)?i.forEach(c=>o[c]=null):fe(o,i),ne(e)&&r.set(e,o),o)}function zn(e,t){return!e||!Qt(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,rt(t))||z(e,t))}function fr(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:l,emit:c,render:u,renderCache:a,props:h,data:g,setupState:b,ctx:w,inheritAttrs:E}=e,W=Mn(e);let F,V;try{if(n.shapeFlag&4){const m=s||r,M=m;F=Me(u.call(M,m,a,h,b,g,w)),V=l}else{const m=t;F=Me(m.length>1?m(h,{attrs:l,slots:o,emit:c}):m(h,null)),V=t.props?l:Wc(l)}}catch(m){kt.length=0,en(m,e,1),F=le(we)}let p=F;if(V&&E!==!1){const m=Object.keys(V),{shapeFlag:M}=p;m.length&&M&7&&(i&&m.some(Vr)&&(V=Kc(V,i)),p=tt(p,V,!1,!0))}return n.dirs&&(p=tt(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&(p.transition=n.transition),F=p,Mn(W),F}const Wc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Qt(n))&&((t||(t={}))[n]=e[n]);return t},Kc=(e,t)=>{const n={};for(const r in e)(!Vr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function qc(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Ds(r,o,u):!!o;if(c&8){const a=t.dynamicProps;for(let h=0;h<a.length;h++){const g=a[h];if(o[g]!==r[g]&&!zn(u,g))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:r===o?!1:r?o?Ds(r,o,u):!0:!!o;return!1}function Ds(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 i=r[s];if(t[i]!==e[i]&&!zn(n,i))return!0}return!1}function Gc({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const vo=e=>e.__isSuspense;function bo(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):Jl(e)}const _e=Symbol.for("v-fgt"),mt=Symbol.for("v-txt"),we=Symbol.for("v-cmt"),Bt=Symbol.for("v-stc"),kt=[];let Ae=null;function Nr(e=!1){kt.push(Ae=e?null:[])}function Yc(){kt.pop(),Ae=kt[kt.length-1]||null}let Xt=1;function Hs(e){Xt+=e,e<0&&Ae&&(Ae.hasOnce=!0)}function _o(e){return e.dynamicChildren=Xt>0?Ae||Ct:null,Yc(),Xt>0&&Ae&&Ae.push(e),e}function Uf(e,t,n,r,s,i){return _o(Eo(e,t,n,r,s,i,!0))}function Fr(e,t,n,r,s){return _o(le(e,t,n,r,s,!0))}function Nn(e){return e?e.__v_isVNode===!0:!1}function dt(e,t){return e.type===t.type&&e.key===t.key}const wo=({key:e})=>e??null,xn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ie(e)||ae(e)||q(e)?{i:de,r:e,k:t,f:!!n}:e:null);function Eo(e,t=null,n=null,r=0,s=null,i=e===_e?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wo(t),ref:t&&xn(t),scopeId:Ui,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:de};return l?(cs(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=ie(n)?8:16),Xt>0&&!o&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const le=Xc;function Xc(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===Qi)&&(e=we),Nn(e)){const l=tt(e,t,!0);return n&&cs(l,n),Xt>0&&!i&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag=-2,l}if(ia(e)&&(e=e.__vccOpts),t){t=zc(t);let{class:l,style:c}=t;l&&!ie(l)&&(t.class=Wr(l)),ne(c)&&(Jr(c)&&!K(c)&&(c=fe({},c)),t.style=kr(c))}const o=ie(e)?1:vo(e)?128:ki(e)?64:ne(e)?4:q(e)?2:0;return Eo(e,t,n,r,s,o,i,!0)}function zc(e){return e?Jr(e)||io(e)?fe({},e):e:null}function tt(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:l,transition:c}=e,u=t?Jc(s||{},t):s,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&wo(u),ref:t&&t.ref?n&&i?K(i)?i.concat(xn(t)):[i,xn(t)]:xn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&tt(e.ssContent),ssFallback:e.ssFallback&&tt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&In(a,c.clone(a)),a}function So(e=" ",t=0){return le(mt,null,e,t)}function Bf(e,t){const n=le(Bt,null,e);return n.staticCount=t,n}function kf(e="",t=!1){return t?(Nr(),Fr(we,null,e)):le(we,null,e)}function Me(e){return e==null||typeof e=="boolean"?le(we):K(e)?le(_e,null,e.slice()):typeof e=="object"?Ze(e):le(mt,null,String(e))}function Ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:tt(e)}function cs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(K(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),cs(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!io(t)?t._ctx=de:s===3&&de&&(de.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:de},n=32):(t=String(t),r&64?(n=16,t=[So(t)]):n=8);e.children=t,e.shapeFlag|=n}function Jc(...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=Wr([t.class,r.class]));else if(s==="style")t.style=kr([t.style,r.style]);else if(Qt(s)){const i=t[s],o=r[s];o&&i!==o&&!(K(i)&&i.includes(o))&&(t[s]=i?[].concat(i,o):o)}else s!==""&&(t[s]=r[s])}return t}function Oe(e,t,n,r=null){De(e,t,7,[n,r])}const Qc=no();let Zc=0;function ea(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Qc,i={uid:Zc++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new hl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:lo(r,s),emitsOptions:yo(r,s),emit:null,emitted:null,propsDefaults:te,inheritAttrs:r.inheritAttrs,ctx:te,data:te,props:te,attrs:te,slots:te,refs:te,setupState:te,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=kc.bind(null,i),e.ce&&e.ce(i),i}let ue=null;const Jn=()=>ue||de;let Fn,Dr;{const e=yi(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};Fn=t("__VUE_INSTANCE_SETTERS__",n=>ue=n),Dr=t("__VUE_SSR_SETTERS__",n=>rn=n)}const nn=e=>{const t=ue;return Fn(e),e.scope.on(),()=>{e.scope.off(),Fn(t)}},$s=()=>{ue&&ue.scope.off(),Fn(null)};function xo(e){return e.vnode.shapeFlag&4}let rn=!1;function ta(e,t=!1,n=!1){t&&Dr(t);const{props:r,children:s}=e.vnode,i=xo(e);Mc(e,r,i,t),Nc(e,s,n);const o=i?na(e,t):void 0;return t&&Dr(!1),o}function na(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,_c);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?To(e):null,i=nn(e);st();const o=Zt(r,e,0,[e.props,s]);if(it(),i(),hi(o)){if(gt(e)||ns(e),o.then($s,$s),t)return o.then(l=>{js(e,l,t)}).catch(l=>{en(l,e,0)});e.asyncDep=o}else js(e,o,t)}else Co(e,t)}function js(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=Hi(t)),Co(e,n)}let Vs;function Co(e,t,n){const r=e.type;if(!e.render){if(!t&&Vs&&!r.render){const s=r.template||ss(e).template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,u=fe(fe({isCustomElement:i,delimiters:l},o),c);r.render=Vs(s,u)}}e.render=r.render||Ue}{const s=nn(e);st();try{Ec(e)}finally{it(),s()}}}const ra={get(e,t){return me(e,"get",""),e[t]}};function To(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ra),slots:e.slots,emit:e.emit,expose:t}}function Qn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Hi(En(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ut)return Ut[n](e)},has(t,n){return n in t||n in Ut}})):e.proxy}function sa(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function ia(e){return q(e)&&"__vccOpts"in e}const oe=(e,t)=>ql(e,t,rn);function Hr(e,t,n){const r=arguments.length;return r===2?ne(t)&&!K(t)?Nn(t)?le(e,null,[t]):le(e,t):le(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Nn(n)&&(n=[n]),le(e,t,n))}const oa="3.5.0";/**
14
- * @vue/runtime-dom v3.5.0
15
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
16
- * @license MIT
17
- **/let $r;const Us=typeof window<"u"&&window.trustedTypes;if(Us)try{$r=Us.createPolicy("vue",{createHTML:e=>e})}catch{}const Ao=$r?e=>$r.createHTML(e):e=>e,la="http://www.w3.org/2000/svg",ca="http://www.w3.org/1998/Math/MathML",We=typeof document<"u"?document:null,Bs=We&&We.createElement("template"),aa={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==="svg"?We.createElementNS(la,e):t==="mathml"?We.createElementNS(ca,e):n?We.createElement(e,{is:n}):We.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>We.createTextNode(e),createComment:e=>We.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>We.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Bs.innerHTML=Ao(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const l=Bs.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Xe="transition",Dt="animation",zt=Symbol("_vtc"),Ro=(e,{slots:t})=>Hr(sc,fa(e),t);Ro.displayName="Transition";const Oo={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};Ro.props=fe({},Ki,Oo);const ct=(e,t=[])=>{K(e)?e.forEach(n=>n(...t)):e&&e(...t)},ks=e=>e?K(e)?e.some(t=>t.length>1):e.length>1:!1;function fa(e){const t={};for(const x in e)x in Oo||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:a=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:b=`${n}-leave-to`}=e,w=ua(s),E=w&&w[0],W=w&&w[1],{onBeforeEnter:F,onEnter:V,onEnterCancelled:p,onLeave:m,onLeaveCancelled:M,onBeforeAppear:N=F,onAppear:H=V,onAppearCancelled:$=p}=t,R=(x,k,re)=>{at(x,k?a:l),at(x,k?u:o),re&&re()},v=(x,k)=>{x._isLeaving=!1,at(x,h),at(x,b),at(x,g),k&&k()},P=x=>(k,re)=>{const ce=x?H:V,j=()=>R(k,x,re);ct(ce,[k,j]),Ws(()=>{at(k,x?c:i),ze(k,x?a:l),ks(ce)||Ks(k,r,E,j)})};return fe(t,{onBeforeEnter(x){ct(F,[x]),ze(x,i),ze(x,o)},onBeforeAppear(x){ct(N,[x]),ze(x,c),ze(x,u)},onEnter:P(!1),onAppear:P(!0),onLeave(x,k){x._isLeaving=!0;const re=()=>v(x,k);ze(x,h),ze(x,g),pa(),Ws(()=>{x._isLeaving&&(at(x,h),ze(x,b),ks(m)||Ks(x,r,W,re))}),ct(m,[x,re])},onEnterCancelled(x){R(x,!1),ct(p,[x])},onAppearCancelled(x){R(x,!0),ct($,[x])},onLeaveCancelled(x){v(x),ct(M,[x])}})}function ua(e){if(e==null)return null;if(ne(e))return[ur(e.enter),ur(e.leave)];{const t=ur(e);return[t,t]}}function ur(e){return il(e)}function ze(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[zt]||(e[zt]=new Set)).add(t)}function at(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[zt];n&&(n.delete(t),n.size||(e[zt]=void 0))}function Ws(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let da=0;function Ks(e,t,n,r){const s=e._endId=++da,i=()=>{s===e._endId&&r()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=ha(e,t);if(!o)return r();const u=o+"end";let a=0;const h=()=>{e.removeEventListener(u,g),i()},g=b=>{b.target===e&&++a>=c&&h()};setTimeout(()=>{a<c&&h()},l+1),e.addEventListener(u,g)}function ha(e,t){const n=window.getComputedStyle(e),r=w=>(n[w]||"").split(", "),s=r(`${Xe}Delay`),i=r(`${Xe}Duration`),o=qs(s,i),l=r(`${Dt}Delay`),c=r(`${Dt}Duration`),u=qs(l,c);let a=null,h=0,g=0;t===Xe?o>0&&(a=Xe,h=o,g=i.length):t===Dt?u>0&&(a=Dt,h=u,g=c.length):(h=Math.max(o,u),a=h>0?o>u?Xe:Dt:null,g=a?a===Xe?i.length:c.length:0);const b=a===Xe&&/\b(transform|all)(,|$)/.test(r(`${Xe}Property`).toString());return{type:a,timeout:h,propCount:g,hasTransform:b}}function qs(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Gs(n)+Gs(e[r])))}function Gs(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function pa(){return document.body.offsetHeight}function ga(e,t,n){const r=e[zt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Dn=Symbol("_vod"),Mo=Symbol("_vsh"),Wf={beforeMount(e,{value:t},{transition:n}){e[Dn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ht(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Ht(e,!0),r.enter(e)):r.leave(e,()=>{Ht(e,!1)}):Ht(e,t))},beforeUnmount(e,{value:t}){Ht(e,t)}};function Ht(e,t){e.style.display=t?e[Dn]:"none",e[Mo]=!t}const ma=Symbol(""),ya=/(^|;)\s*display\s*:/;function va(e,t,n){const r=e.style,s=ie(n);let i=!1;if(n&&!s){if(t)if(ie(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Cn(r,l,"")}else for(const o in t)n[o]==null&&Cn(r,o,"");for(const o in n)o==="display"&&(i=!0),Cn(r,o,n[o])}else if(s){if(t!==n){const o=r[ma];o&&(n+=";"+o),r.cssText=n,i=ya.test(n)}}else t&&e.removeAttribute("style");Dn in e&&(e[Dn]=i?r.display:"",e[Mo]&&(r.display="none"))}const Ys=/\s*!important$/;function Cn(e,t,n){if(K(n))n.forEach(r=>Cn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=ba(e,t);Ys.test(n)?e.setProperty(rt(r),n.replace(Ys,""),"important"):e[r]=n}}const Xs=["Webkit","Moz","ms"],dr={};function ba(e,t){const n=dr[t];if(n)return n;let r=Fe(t);if(r!=="filter"&&r in e)return dr[t]=r;r=jn(r);for(let s=0;s<Xs.length;s++){const i=Xs[s]+r;if(i in e)return dr[t]=i}return t}const zs="http://www.w3.org/1999/xlink";function Js(e,t,n,r,s,i=ul(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(zs,t.slice(6,t.length)):e.setAttributeNS(zs,t,n):n==null||i&&!vi(n)?e.removeAttribute(t):e.setAttribute(t,i?"":nt(n)?String(n):n)}function _a(e,t,n,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Ao(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const o=s==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(o!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const o=typeof e[t];o==="boolean"?n=vi(n):n==null&&o==="string"?(n="",i=!0):o==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(t)}function St(e,t,n,r){e.addEventListener(t,n,r)}function wa(e,t,n,r){e.removeEventListener(t,n,r)}const Qs=Symbol("_vei");function Ea(e,t,n,r,s=null){const i=e[Qs]||(e[Qs]={}),o=i[t];if(r&&o)o.value=r;else{const[l,c]=Sa(t);if(r){const u=i[t]=Ta(r,s);St(e,l,u,c)}else o&&(wa(e,l,o,c),i[t]=void 0)}}const Zs=/(?:Once|Passive|Capture)$/;function Sa(e){let t;if(Zs.test(e)){t={};let r;for(;r=e.match(Zs);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):rt(e.slice(2)),t]}let hr=0;const xa=Promise.resolve(),Ca=()=>hr||(xa.then(()=>hr=0),hr=Date.now());function Ta(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;De(Aa(r,n.value),t,5,[r])};return n.value=e,n.attached=Ca(),n}function Aa(e,t){if(K(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 ei=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ra=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?ga(e,r,o):t==="style"?va(e,n,r):Qt(t)?Vr(t)||Ea(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Oa(e,t,r,o))?(_a(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Js(e,t,r,o,i,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Js(e,t,r,o))};function Oa(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ei(t)&&q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return ei(t)&&ie(n)?!1:!!(t in e||e._isVueCE&&(/[A-Z]/.test(t)||!ie(n)))}const ti=e=>{const t=e.props["onUpdate:modelValue"]||!1;return K(t)?n=>wn(t,n):t};function Ma(e){e.target.composing=!0}function ni(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const pr=Symbol("_assign"),Kf={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[pr]=ti(s);const i=r||s.props&&s.props.type==="number";St(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=xr(l)),e[pr](l)}),n&&St(e,"change",()=>{e.value=e.value.trim()}),t||(St(e,"compositionstart",Ma),St(e,"compositionend",ni),St(e,"change",ni))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:i}},o){if(e[pr]=ti(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?xr(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},Ia=["ctrl","shift","alt","meta"],La={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)=>Ia.some(n=>e[`${n}Key`]&&!t.includes(n))},qf=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...i)=>{for(let o=0;o<t.length;o++){const l=La[t[o]];if(l&&l(s,t))return}return e(s,...i)})},Pa={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Gf=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const i=rt(s.key);if(t.some(o=>o===i||Pa[o]===i))return e(s)})},Io=fe({patchProp:Ra},aa);let Wt,ri=!1;function Na(){return Wt||(Wt=Dc(Io))}function Fa(){return Wt=ri?Wt:Hc(Io),ri=!0,Wt}const Yf=(...e)=>{const t=Na().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Po(r);if(!s)return;const i=t._component;!q(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,Lo(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t},Xf=(...e)=>{const t=Fa().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Po(r);if(s)return n(s,!0,Lo(s))},t};function Lo(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Po(e){return ie(e)?document.querySelector(e):e}const zf=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Da=window.__VP_SITE_DATA__;function as(e){return wi()?(pl(e),!0):!1}function Be(e){return typeof e=="function"?e():Di(e)}const No=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Jf=e=>e!=null,Ha=Object.prototype.toString,$a=e=>Ha.call(e)==="[object Object]",Jt=()=>{},si=ja();function ja(){var e,t;return No&&((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 Fo(e,t){function n(...r){return new Promise((s,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(i)})}return n}const Do=e=>e();function Ho(e,t={}){let n,r,s=Jt;const i=l=>{clearTimeout(l),s(),s=Jt};return l=>{const c=Be(e),u=Be(t.maxWait);return n&&i(n),c<=0||u!==void 0&&u<=0?(r&&(i(r),r=null),Promise.resolve(l())):new Promise((a,h)=>{s=t.rejectOnCancel?h:a,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,a(l())},u)),n=setTimeout(()=>{r&&i(r),r=null,a(l())},c)})}}function Va(e=Do){const t=se(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...i)=>{t.value&&e(...i)};return{isActive:Wn(t),pause:n,resume:r,eventFilter:s}}function Ua(e){return Jn()}function $o(...e){if(e.length!==1)return kl(...e);const t=e[0];return typeof t=="function"?Wn(Vl(()=>({get:t,set:Jt}))):se(t)}function Ba(e,t=200,n={}){return Fo(Ho(t,n),e)}function Qf(e,t=200,n={}){const r=se(e.value),s=Ba(()=>{r.value=e.value},t,n);return Ne(e,()=>s()),r}function jo(e,t,n={}){const{eventFilter:r=Do,...s}=n;return Ne(e,Fo(r,t),s)}function ka(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=Va(r);return{stop:jo(e,t,{...s,eventFilter:i}),pause:o,resume:l,isActive:c}}function fs(e,t=!0,n){Ua()?Lt(e,n):t?e():Kn(e)}function Zf(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...i}=n;return jo(e,t,{...i,eventFilter:Ho(r,{maxWait:s})})}function eu(e,t,n){let r;ae(n)?r={evaluating:n}:r={};const{lazy:s=!1,evaluating:i=void 0,shallow:o=!0,onError:l=Jt}=r,c=se(!s),u=o?Zr(t):se(t);let a=0;return ls(async h=>{if(!c.value)return;a++;const g=a;let b=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const w=await e(E=>{h(()=>{i&&(i.value=!1),b||E()})});g===a&&(u.value=w)}catch(w){l(w)}finally{i&&g===a&&(i.value=!1),b=!0}}),s?oe(()=>(c.value=!0,u.value)):u}function Vo(e){var t;const n=Be(e);return(t=n==null?void 0:n.$el)!=null?t:n}const He=No?window:void 0;function It(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=He):[t,n,r,s]=e,!t)return Jt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(a=>a()),i.length=0},l=(a,h,g,b)=>(a.addEventListener(h,g,b),()=>a.removeEventListener(h,g,b)),c=Ne(()=>[Vo(t),Be(s)],([a,h])=>{if(o(),!a)return;const g=$a(h)?{...h}:h;i.push(...n.flatMap(b=>r.map(w=>l(a,b,w,g))))},{immediate:!0,flush:"post"}),u=()=>{c(),o()};return as(u),u}function Wa(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=He,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=r,c=Wa(t);return It(s,i,a=>{a.repeat&&Be(l)||c(a)&&n(a)},o)}function Ka(){const e=se(!1),t=Jn();return t&&Lt(()=>{e.value=!0},t),e}function qa(e){const t=Ka();return oe(()=>(t.value,!!e()))}function Uo(e,t={}){const{window:n=He}=t,r=qa(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const i=se(!1),o=u=>{i.value=u.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",o):s.removeListener(o))},c=ls(()=>{r.value&&(l(),s=n.matchMedia(Be(e)),"addEventListener"in s?s.addEventListener("change",o):s.addListener(o),i.value=s.matches)});return as(()=>{c(),l(),s=void 0}),i}const yn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},vn="__vueuse_ssr_handlers__",Ga=Ya();function Ya(){return vn in yn||(yn[vn]=yn[vn]||{}),yn[vn]}function Bo(e,t){return Ga[e]||t}function Xa(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 za={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()}},ii="vueuse-storage";function us(e,t,n,r={}){var s;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:a,window:h=He,eventFilter:g,onError:b=v=>{console.error(v)},initOnMounted:w}=r,E=(a?Zr:se)(typeof t=="function"?t():t);if(!n)try{n=Bo("getDefaultStorage",()=>{var v;return(v=He)==null?void 0:v.localStorage})()}catch(v){b(v)}if(!n)return E;const W=Be(t),F=Xa(W),V=(s=r.serializer)!=null?s:za[F],{pause:p,resume:m}=ka(E,()=>N(E.value),{flush:i,deep:o,eventFilter:g});h&&l&&fs(()=>{n instanceof Storage?It(h,"storage",$):It(h,ii,R),w&&$()}),w||$();function M(v,P){if(h){const x={key:e,oldValue:v,newValue:P,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",x):new CustomEvent(ii,{detail:x}))}}function N(v){try{const P=n.getItem(e);if(v==null)M(P,null),n.removeItem(e);else{const x=V.write(v);P!==x&&(n.setItem(e,x),M(P,x))}}catch(P){b(P)}}function H(v){const P=v?v.newValue:n.getItem(e);if(P==null)return c&&W!=null&&n.setItem(e,V.write(W)),W;if(!v&&u){const x=V.read(P);return typeof u=="function"?u(x,W):F==="object"&&!Array.isArray(x)?{...W,...x}:x}else return typeof P!="string"?P:V.read(P)}function $(v){if(!(v&&v.storageArea!==n)){if(v&&v.key==null){E.value=W;return}if(!(v&&v.key!==e)){p();try{(v==null?void 0:v.newValue)!==V.write(E.value)&&(E.value=H(v))}catch(P){b(P)}finally{v?Kn(m):m()}}}}function R(v){$(v.detail)}return E}function ko(e){return Uo("(prefers-color-scheme: dark)",e)}const Ja="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Qa(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=He,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:u,disableTransition:a=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=ko({window:s}),b=oe(()=>g.value?"dark":"light"),w=c||(o==null?$o(r):us(o,r,i,{window:s,listenToStorageChanges:l})),E=oe(()=>w.value==="auto"?b.value:w.value),W=Bo("updateHTMLAttrs",(m,M,N)=>{const H=typeof m=="string"?s==null?void 0:s.document.querySelector(m):Vo(m);if(!H)return;const $=new Set,R=new Set;let v=null;if(M==="class"){const x=N.split(/\s/g);Object.values(h).flatMap(k=>(k||"").split(/\s/g)).filter(Boolean).forEach(k=>{x.includes(k)?$.add(k):R.add(k)})}else v={key:M,value:N};if($.size===0&&R.size===0&&v===null)return;let P;a&&(P=s.document.createElement("style"),P.appendChild(document.createTextNode(Ja)),s.document.head.appendChild(P));for(const x of $)H.classList.add(x);for(const x of R)H.classList.remove(x);v&&H.setAttribute(v.key,v.value),a&&(s.getComputedStyle(P).opacity,document.head.removeChild(P))});function F(m){var M;W(t,n,(M=h[m])!=null?M:m)}function V(m){e.onChanged?e.onChanged(m,F):F(m)}Ne(E,V,{flush:"post",immediate:!0}),fs(()=>V(E.value));const p=oe({get(){return u?w.value:E.value},set(m){w.value=m}});try{return Object.assign(p,{store:w,system:b,state:E})}catch{return p}}function Za(e={}){const{valueDark:t="dark",valueLight:n="",window:r=He}=e,s=Qa({...e,onChanged:(l,c)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),i=oe(()=>s.system?s.system.value:ko({window:r}).value?"dark":"light");return oe({get(){return s.value==="dark"},set(l){const c=l?"dark":"light";i.value===c?s.value="auto":s.value=c}})}function gr(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=He}=n;return us(e,t,r==null?void 0:r.localStorage,n)}function Wo(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:Wo(n)}}function ef(e){const t=e||window.event,n=t.target;return Wo(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const mr=new WeakMap;function ru(e,t=!1){const n=se(t);let r=null,s="";Ne($o(e),l=>{const c=gr(Be(l));if(c){const u=c;if(mr.get(u)||mr.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=gr(Be(e));!l||n.value||(si&&(r=It(l,"touchmove",c=>{ef(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=gr(Be(e));!l||!n.value||(si&&(r==null||r()),l.style.overflow=s,mr.delete(l),n.value=!1)};return as(o),oe({get(){return n.value},set(l){l?i():o()}})}function su(e,t,n={}){const{window:r=He}=n;return us(e,t,r==null?void 0:r.sessionStorage,n)}function iu(e={}){const{window:t=He,behavior:n="auto"}=e;if(!t)return{x:se(0),y:se(0)};const r=se(t.scrollX),s=se(t.scrollY),i=oe({get(){return r.value},set(l){scrollTo({left:l,behavior:n})}}),o=oe({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return It(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:o}}function ou(e={}){const{window:t=He,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:i=!0,type:o="inner"}=e,l=se(n),c=se(r),u=()=>{t&&(o==="outer"?(l.value=t.outerWidth,c.value=t.outerHeight):i?(l.value=t.innerWidth,c.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight))};if(u(),fs(u),It("resize",u,{passive:!0}),s){const a=Uo("(orientation: portrait)");Ne(a,()=>u())}return{width:l,height:c}}const yr={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};var vr={};const Ko=/^(?:[a-z]+:|\/\/)/i,tf="vitepress-theme-appearance",nf=/#.*$/,rf=/[?#].*$/,sf=/(?:(^|\/)index)?\.(?:md|html)$/,pe=typeof document<"u",qo={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function of(e,t,n=!1){if(t===void 0)return!1;if(e=oi(`/${e}`),n)return new RegExp(t).test(e);if(oi(t)!==e)return!1;const r=t.match(nf);return r?(pe?location.hash:"")===r[0]:!0}function oi(e){return decodeURI(e).replace(rf,"").replace(sf,"$1")}function lf(e){return Ko.test(e)}function cf(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!lf(n)&&of(t,`/${n}/`,!0))||"root"}function af(e,t){var r,s,i,o,l,c,u;const n=cf(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:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Yo(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(u=e.locales[n])==null?void 0:u.themeConfig}})}function Go(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=ff(e.title,r);return n===s.slice(3)?n:`${n}${s}`}function ff(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function uf(e,t){const[n,r]=t;if(n!=="meta")return!1;const s=Object.entries(r)[0];return s==null?!1:e.some(([i,o])=>i===n&&o[s[0]]===s[1])}function Yo(e,t){return[...e.filter(n=>!uf(t,n)),...t]}const df=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,hf=/^[a-z]:/i;function li(e){const t=hf.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(df,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const br=new Set;function pf(e){if(br.size===0){const n=typeof process=="object"&&(vr==null?void 0:vr.VITE_EXTRA_EXTENSIONS)||(yr==null?void 0:yr.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=>br.add(r))}const t=e.split(".").pop();return t==null||!br.has(t.toLowerCase())}function lu(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const gf=Symbol(),yt=Zr(Da);function cu(e){const t=oe(()=>af(yt.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?se(!0):n?Za({storageKey:tf,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):se(!1),s=se(pe?location.hash:"");return pe&&window.addEventListener("hashchange",()=>{s.value=location.hash}),Ne(()=>e.data,()=>{s.value=pe?location.hash:""}),{site:t,theme:oe(()=>t.value.themeConfig),page:oe(()=>e.data),frontmatter:oe(()=>e.data.frontmatter),params:oe(()=>e.data.params),lang:oe(()=>t.value.lang),dir:oe(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:oe(()=>t.value.localeIndex||"root"),title:oe(()=>Go(t.value,e.data)),description:oe(()=>e.data.description||t.value.description),isDark:r,hash:oe(()=>s.value)}}function mf(){const e=Mt(gf);if(!e)throw new Error("vitepress data not properly injected in app");return e}function yf(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function ci(e){return Ko.test(e)||!e.startsWith("/")?e:yf(yt.value.base,e)}function vf(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),pe){const n="/";t=li(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=`./${li(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let Tn=[];function au(e){Tn.push(e),Yn(()=>{Tn=Tn.filter(t=>t!==e)})}function bf(){let e=yt.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=ai(e,n);else if(Array.isArray(e))for(const r of e){const s=ai(r,n);if(s){t=s;break}}return t}function ai(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}const _f=Symbol(),Xo="http://a.com",wf=()=>({path:"/",component:null,data:qo});function fu(e,t){const n=kn(wf()),r={route:n,go:s};async function s(l=pe?location.href:"/"){var c,u;l=_r(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(pe&&l!==_r(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await o(l),await((u=r.onAfterRouteChanged)==null?void 0:u.call(r,l)))}let i=null;async function o(l,c=0,u=!1){var g;if(await((g=r.onBeforePageLoad)==null?void 0:g.call(r,l))===!1)return;const a=new URL(l,Xo),h=i=a.pathname;try{let b=await e(h);if(!b)throw new Error(`Page not found: ${h}`);if(i===h){i=null;const{default:w,__pageData:E}=b;if(!w)throw new Error(`Invalid route component: ${w}`);n.path=pe?h:ci(h),n.component=En(w),n.data=En(E),pe&&Kn(()=>{let W=yt.value.base+E.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!yt.value.cleanUrls&&!W.endsWith("/")&&(W+=".html"),W!==a.pathname&&(a.pathname=W,l=W+a.search+a.hash,history.replaceState({},"",l)),a.hash&&!c){let F=null;try{F=document.getElementById(decodeURIComponent(a.hash).slice(1))}catch(V){console.warn(V)}if(F){fi(F,a.hash);return}}window.scrollTo(0,c)})}}catch(b){if(!/fetch|Page not found/.test(b.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(b),!u)try{const w=await fetch(yt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await w.json(),await o(l,c,!0);return}catch{}if(i===h){i=null,n.path=pe?h:ci(h),n.component=t?En(t):null;const w=pe?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...qo,relativePath:w}}}}return pe&&(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 u=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(u==null)return;const{href:a,origin:h,pathname:g,hash:b,search:w}=new URL(u,c.baseURI),E=new URL(location.href);h===E.origin&&pf(g)&&(l.preventDefault(),g===E.pathname&&w===E.search?(b!==E.hash&&(history.pushState({},"",a),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:E.href,newURL:a}))),b?fi(c,b,c.classList.contains("header-anchor")):window.scrollTo(0,0)):s(a))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await o(_r(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 Ef(){const e=Mt(_f);if(!e)throw new Error("useRouter() is called without provider.");return e}function zo(){return Ef().route}function fi(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(o-window.scrollY)>window.innerHeight?window.scrollTo(0,o):window.scrollTo({left:0,top:o,behavior:"smooth"})};const i=parseInt(window.getComputedStyle(r).paddingTop,10),o=window.scrollY+r.getBoundingClientRect().top-bf()+i;requestAnimationFrame(s)}}function _r(e){const t=new URL(e,Xo);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),yt.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 wr=()=>Tn.forEach(e=>e()),uu=ts({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=zo(),{site:n}=mf();return()=>Hr(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?Hr(t.component,{onVnodeMounted:wr,onVnodeUpdated:wr,onVnodeUnmounted:wr}):"404 Page Not Found"])}}),Sf="modulepreload",xf=function(e){return"/"+e},ui={},du=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),o=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));s=Promise.all(n.map(l=>{if(l=xf(l),l in ui)return;ui[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const a=document.createElement("link");if(a.rel=c?"stylesheet":Sf,c||(a.as="script"),a.crossOrigin="",a.href=l,o&&a.setAttribute("nonce",o),document.head.appendChild(a),c)return new Promise((h,g)=>{a.addEventListener("load",h),a.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${l}`)))})}))}return s.then(()=>t()).catch(i=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i})},hu=ts({setup(e,{slots:t}){const n=se(!1);return Lt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function pu(){pe&&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 i=r.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(u=>u.classList.contains("active"));if(!o)return;const l=i.children[s];if(!l||o===l)return;o.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 gu(){if(pe){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,i=(r=n.nextElementSibling)==null?void 0:r.nextElementSibling;if(!s||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className),l=[".vp-copy-ignore",".diff.remove"],c=i.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(a=>a.remove());let u=c.textContent||"";o&&(u=u.replace(/^ *(\$|>) /gm,"").trim()),Cf(u).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function Cf(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 mu(e,t){let n=!0,r=[];const s=i=>{if(n){n=!1,i.forEach(l=>{const c=Er(l);for(const u of document.head.children)if(u.isEqualNode(c)){r.push(u);return}});return}const o=i.map(Er);r.forEach((l,c)=>{const u=o.findIndex(a=>a==null?void 0:a.isEqualNode(l??null));u!==-1?delete o[u]:(l==null||l.remove(),delete r[c])}),o.forEach(l=>l&&document.head.appendChild(l)),r=[...r,...o].filter(Boolean)};ls(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],u=Go(o,i);u!==document.title&&(document.title=u);const a=l||o.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==a&&h.setAttribute("content",a):Er(["meta",{name:"description",content:a}]),s(Yo(o.head,Af(c)))})}function Er([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 Tf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Af(e){return e.filter(t=>!Tf(t))}const Sr=new Set,Jo=()=>document.createElement("link"),Rf=e=>{const t=Jo();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Of=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let bn;const Mf=pe&&(bn=Jo())&&bn.relList&&bn.relList.supports&&bn.relList.supports("prefetch")?Rf:Of;function yu(){if(!pe||!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(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!Sr.has(c)){Sr.add(c);const u=vf(c);u&&Mf(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):Sr.add(l))})})};Lt(r);const s=zo();Ne(()=>s.path,r),Yn(()=>{n&&n.disconnect()})}export{Ji as $,bf as A,Nf as B,Df as C,Zr as D,au as E,_e as F,le as G,Ff as H,Ko as I,zo as J,Jc as K,Mt as L,ou as M,kr as N,tu as O,Kn as P,iu as Q,pe as R,Wn as S,Ro as T,Pf as U,du as V,ru as W,Oc as X,$f as Y,Gf as Z,zf as _,So as a,qf as a0,jf as a1,Hr as a2,Qf as a3,If as a4,Kf as a5,Bf as a6,mu as a7,_f as a8,cu as a9,su as aA,nu as aB,Zf as aC,Ef as aD,It as aE,ae as aF,En as aG,Yf as aH,lu as aI,gf as aa,uu as ab,hu as ac,yt as ad,Xf as ae,fu as af,vf as ag,yu as ah,gu as ai,pu as aj,we as ak,Nn as al,Jn as am,kl as an,Lf as ao,fc as ap,uc as aq,hc as ar,Wf as as,tt as at,mt as au,Be as av,Vo as aw,Jf as ax,as as ay,eu as az,Fr as b,Uf as c,ts as d,kf as e,pf as f,ci as g,oe as h,lf as i,Eo as j,Di as k,of as l,Uo as m,Wr as n,Nr as o,se as p,Ne as q,Hf as r,ls as s,dl as t,mf as u,Lt as v,Ql as w,Yn as x,Vf as y,gc as z};