@gkd-kit/docs 0.0.1742907864257 → 0.0.1743349707522
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.
- package/.vitepress/dist/404.html +7 -7
- package/.vitepress/dist/api/index.html +11 -11
- package/.vitepress/dist/api/interfaces/RawApp.html +11 -11
- package/.vitepress/dist/api/interfaces/RawAppGroup.html +12 -12
- package/.vitepress/dist/api/interfaces/RawAppRule.html +12 -12
- package/.vitepress/dist/api/interfaces/RawAppRuleProps.html +11 -11
- package/.vitepress/dist/api/interfaces/RawCategory.html +11 -11
- package/.vitepress/dist/api/interfaces/RawCommonProps.html +12 -12
- package/.vitepress/dist/api/interfaces/RawGlobalApp.html +11 -11
- package/.vitepress/dist/api/interfaces/RawGlobalGroup.html +12 -12
- package/.vitepress/dist/api/interfaces/RawGlobalRule.html +12 -12
- package/.vitepress/dist/api/interfaces/RawGlobalRuleProps.html +11 -11
- package/.vitepress/dist/api/interfaces/RawGroupProps.html +12 -12
- package/.vitepress/dist/api/interfaces/RawRuleProps.html +13 -13
- package/.vitepress/dist/api/interfaces/RawSubscription.html +12 -12
- package/.vitepress/dist/api/type-aliases/IArray.html +12 -12
- package/.vitepress/dist/api/type-aliases/Integer.html +12 -12
- package/.vitepress/dist/api/type-aliases/Position.html +13 -13
- package/.vitepress/dist/assets/{api_index.md.DpXyfY1L.js → api_index.md.DB_w2cey.js} +1 -1
- package/.vitepress/dist/assets/api_index.md.DB_w2cey.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawApp.md.CTnq2WiW.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawApp.md.CTnq2WiW.lean.js +1 -0
- package/.vitepress/dist/assets/{api_interfaces_RawAppGroup.md.MzHftqTW.js → api_interfaces_RawAppGroup.md.DeOrVzkI.js} +1 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppGroup.md.DeOrVzkI.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawAppRule.md.CaSIiKJ8.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawAppRule.md.CaSIiKJ8.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawAppRuleProps.md.D5XxRSmH.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawAppRuleProps.md.D5XxRSmH.lean.js +1 -0
- package/.vitepress/dist/assets/{api_interfaces_RawCategory.md.CQlDJU2a.js → api_interfaces_RawCategory.md.Cv6VE73e.js} +1 -1
- package/.vitepress/dist/assets/api_interfaces_RawCategory.md.Cv6VE73e.lean.js +1 -0
- package/.vitepress/dist/assets/{api_interfaces_RawCommonProps.md.C7Bm8Aiw.js → api_interfaces_RawCommonProps.md.Dywu8fpX.js} +1 -1
- package/.vitepress/dist/assets/api_interfaces_RawCommonProps.md.Dywu8fpX.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalApp.md.DyPFRZ6b.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalApp.md.DyPFRZ6b.lean.js +1 -0
- package/.vitepress/dist/assets/{api_interfaces_RawGlobalGroup.md.B3F4j6MG.js → api_interfaces_RawGlobalGroup.md.BTcn1RNf.js} +1 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalGroup.md.BTcn1RNf.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRule.md.DmFbn207.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRule.md.DmFbn207.lean.js +1 -0
- package/.vitepress/dist/assets/{api_interfaces_RawGlobalRuleProps.md.CqorLHIT.js → api_interfaces_RawGlobalRuleProps.md.C2utoZwf.js} +1 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRuleProps.md.C2utoZwf.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGroupProps.md.DGdIY6jc.js +5 -0
- package/.vitepress/dist/assets/api_interfaces_RawGroupProps.md.DGdIY6jc.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawRuleProps.md.BeJmto3S.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawRuleProps.md.BeJmto3S.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawSubscription.md.ChAwg0_e.js +4 -0
- package/.vitepress/dist/assets/api_interfaces_RawSubscription.md.ChAwg0_e.lean.js +1 -0
- package/.vitepress/dist/assets/{api_type-aliases_IArray.md.BlW_x7iw.js → api_type-aliases_IArray.md.DhdFWlPl.js} +2 -2
- package/.vitepress/dist/assets/api_type-aliases_IArray.md.DhdFWlPl.lean.js +1 -0
- package/.vitepress/dist/assets/api_type-aliases_Integer.md.Bb4L6vkN.js +2 -0
- package/.vitepress/dist/assets/api_type-aliases_Integer.md.Bb4L6vkN.lean.js +1 -0
- package/.vitepress/dist/assets/{api_type-aliases_Position.md.DStZhezQ.js → api_type-aliases_Position.md.C-0Px-8F.js} +3 -3
- package/.vitepress/dist/assets/api_type-aliases_Position.md.C-0Px-8F.lean.js +1 -0
- package/.vitepress/dist/assets/app.DQDbLWIj.js +1 -0
- package/.vitepress/dist/assets/chunks/@localSearchIndexroot.DljsD5Nb.js +1 -0
- package/.vitepress/dist/assets/chunks/VPLocalSearchBox.Ckde0C_b.js +8 -0
- package/.vitepress/dist/assets/chunks/framework.DZAoeHqG.js +18 -0
- package/.vitepress/dist/assets/chunks/{index.C1Bdhwia.js → index.eafjZOuh.js} +1 -1
- package/.vitepress/dist/assets/chunks/theme.Cy5yEXlK.js +1 -0
- package/.vitepress/dist/assets/guide_example.md.D7z42snB.js +1 -0
- package/.vitepress/dist/assets/guide_example.md.D7z42snB.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_external.md.Db8R6gVI.js → guide_external.md.ChNaGKMG.js} +1 -1
- package/.vitepress/dist/assets/guide_external.md.ChNaGKMG.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_faq.md.Cg7cDVSc.js → guide_faq.md.HuDJvouE.js} +2 -2
- package/.vitepress/dist/assets/guide_faq.md.HuDJvouE.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_index.md.BNGU79RM.js → guide_index.md.DfRoKpCJ.js} +1 -1
- package/.vitepress/dist/assets/guide_index.md.DfRoKpCJ.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_node.md.BgSUlMHt.js → guide_node.md.BZMG3LA6.js} +1 -1
- package/.vitepress/dist/assets/guide_node.md.BZMG3LA6.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_optimize.md.B4GwaRbW.js → guide_optimize.md.DcRD7ywb.js} +1 -1
- package/.vitepress/dist/assets/guide_optimize.md.DcRD7ywb.lean.js +1 -0
- package/.vitepress/dist/assets/guide_selector.md.DAYBduZ7.js +12 -0
- package/.vitepress/dist/assets/guide_selector.md.DAYBduZ7.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_snapshot.md.CXF0sqIs.js → guide_snapshot.md.BIhWEFs_.js} +1 -1
- package/.vitepress/dist/assets/guide_snapshot.md.BIhWEFs_.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_subscription.md.DPjrKEeC.js → guide_subscription.md.aFQVWTnW.js} +2 -2
- package/.vitepress/dist/assets/guide_subscription.md.aFQVWTnW.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_what-is-gkd.md.CcAUfIc4.js → guide_what-is-gkd.md.CRNYSldK.js} +1 -1
- package/.vitepress/dist/assets/guide_what-is-gkd.md.CRNYSldK.lean.js +1 -0
- package/.vitepress/dist/assets/{index.md.B6gO65Ou.js → index.md.yLtrGS_X.js} +1 -1
- package/.vitepress/dist/assets/{index.md.B6gO65Ou.lean.js → index.md.yLtrGS_X.lean.js} +1 -1
- package/.vitepress/dist/assets/style.Bk5hZ1ui.css +1 -0
- package/.vitepress/dist/guide/example.html +11 -11
- package/.vitepress/dist/guide/external.html +11 -11
- package/.vitepress/dist/guide/faq.html +12 -12
- package/.vitepress/dist/guide/index.html +11 -11
- package/.vitepress/dist/guide/node.html +11 -11
- package/.vitepress/dist/guide/optimize.html +11 -11
- package/.vitepress/dist/guide/selector.html +12 -12
- package/.vitepress/dist/guide/snapshot.html +11 -11
- package/.vitepress/dist/guide/subscription.html +12 -12
- package/.vitepress/dist/guide/what-is-gkd.html +11 -11
- package/.vitepress/dist/hashmap.json +1 -1
- package/.vitepress/dist/index.html +11 -11
- package/package.json +1 -1
- package/.vitepress/dist/assets/api_index.md.DpXyfY1L.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawApp.md.BpGr9CnK.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawApp.md.BpGr9CnK.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppGroup.md.MzHftqTW.lean.js +0 -22
- package/.vitepress/dist/assets/api_interfaces_RawAppRule.md.Dv91Sm3A.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppRule.md.Dv91Sm3A.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppRuleProps.md.CmoqHafA.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppRuleProps.md.CmoqHafA.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawCategory.md.CQlDJU2a.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawCommonProps.md.C7Bm8Aiw.lean.js +0 -5
- package/.vitepress/dist/assets/api_interfaces_RawGlobalApp.md.DLvGUcr3.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalApp.md.DLvGUcr3.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalGroup.md.B3F4j6MG.lean.js +0 -5
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRule.md.d53fUqNz.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRule.md.d53fUqNz.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRuleProps.md.CqorLHIT.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGroupProps.md.BKxdlrTw.js +0 -5
- package/.vitepress/dist/assets/api_interfaces_RawGroupProps.md.BKxdlrTw.lean.js +0 -5
- package/.vitepress/dist/assets/api_interfaces_RawRuleProps.md.DRdbLe1A.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawRuleProps.md.DRdbLe1A.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawSubscription.md.D6PNqAht.js +0 -4
- package/.vitepress/dist/assets/api_interfaces_RawSubscription.md.D6PNqAht.lean.js +0 -4
- package/.vitepress/dist/assets/api_type-aliases_IArray.md.BlW_x7iw.lean.js +0 -4
- package/.vitepress/dist/assets/api_type-aliases_Integer.md.Cn7gzSLN.js +0 -2
- package/.vitepress/dist/assets/api_type-aliases_Integer.md.Cn7gzSLN.lean.js +0 -2
- package/.vitepress/dist/assets/api_type-aliases_Position.md.DStZhezQ.lean.js +0 -13
- package/.vitepress/dist/assets/app.DumRenFu.js +0 -1
- package/.vitepress/dist/assets/chunks/@localSearchIndexroot.CwPz8aZE.js +0 -1
- package/.vitepress/dist/assets/chunks/VPLocalSearchBox.BDSU0WUu.js +0 -7
- package/.vitepress/dist/assets/chunks/framework.CAQWXItu.js +0 -18
- package/.vitepress/dist/assets/chunks/theme._h8LdZas.js +0 -1
- package/.vitepress/dist/assets/guide_example.md.CpKJdj-9.js +0 -1
- package/.vitepress/dist/assets/guide_example.md.CpKJdj-9.lean.js +0 -1
- package/.vitepress/dist/assets/guide_external.md.Db8R6gVI.lean.js +0 -1
- package/.vitepress/dist/assets/guide_faq.md.Cg7cDVSc.lean.js +0 -21
- package/.vitepress/dist/assets/guide_index.md.BNGU79RM.lean.js +0 -1
- package/.vitepress/dist/assets/guide_node.md.BgSUlMHt.lean.js +0 -1
- package/.vitepress/dist/assets/guide_optimize.md.B4GwaRbW.lean.js +0 -1
- package/.vitepress/dist/assets/guide_selector.md._e5WrhBe.js +0 -12
- package/.vitepress/dist/assets/guide_selector.md._e5WrhBe.lean.js +0 -12
- package/.vitepress/dist/assets/guide_snapshot.md.CXF0sqIs.lean.js +0 -1
- package/.vitepress/dist/assets/guide_subscription.md.DPjrKEeC.lean.js +0 -50
- package/.vitepress/dist/assets/guide_what-is-gkd.md.CcAUfIc4.lean.js +0 -1
- package/.vitepress/dist/assets/style.D-L8y6Dh.css +0 -1
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
var Ft=Object.defineProperty;var Ot=(a,e,t)=>e in a?Ft(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Me=(a,e,t)=>Ot(a,typeof e!="symbol"?e+"":e,t);import{V as Rt,p as ie,h as me,ay as et,az as Ct,aA as Mt,q as $e,aB as At,d as Lt,D as xe,aC as tt,aD as Dt,aE as zt,s as Pt,aF as jt,v as Ae,P as he,O as Se,aa as Vt,a7 as $t,W as Bt,R as Wt,$ as Kt,o as H,b as Jt,j as S,a0 as Ut,k as L,a4 as qt,a5 as Gt,aG as Ht,c as Z,n as st,e as _e,C as nt,F as it,a as fe,t as pe,a9 as Qt,aH as rt,aI as Yt,af as Zt,al as Xt,aJ as es,_ as ts}from"./framework.CAQWXItu.js";import{u as ss,c as ns}from"./theme._h8LdZas.js";const is={root:()=>Rt(()=>import(((u)=>{if(u.startsWith('/')){return"https://registry.npmmirror.com/@gkd-kit/docs/0.0.1742907864257/files/.vitepress/dist"+u}return u})("./@localSearchIndexroot.CwPz8aZE.js")),[])};/*!
|
|
2
|
-
* tabbable 6.2.0
|
|
3
|
-
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
4
|
-
*/var mt=["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])"],Ne=mt.join(","),gt=typeof Element>"u",ae=gt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Fe=!gt&&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},Oe=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},rs=function(e){var t,s=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return s===""||s==="true"},bt=function(e,t,s){if(Oe(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Ne));return t&&ae.call(e,Ne)&&n.unshift(e),n=n.filter(s),n},yt=function a(e,t,s){for(var n=[],r=Array.from(e);r.length;){var i=r.shift();if(!Oe(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=ae.call(i,Ne);h&&s.filter(i)&&(t||!e.includes(i))&&n.push(i);var m=i.shadowRoot||typeof s.getShadowRoot=="function"&&s.getShadowRoot(i),f=!Oe(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},wt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},re=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||rs(e))&&!wt(e)?0:e.tabIndex},as=function(e,t){var s=re(e);return s<0&&t&&!wt(e)?0:s},os=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},xt=function(e){return e.tagName==="INPUT"},ls=function(e){return xt(e)&&e.type==="hidden"},cs=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(s){return s.tagName==="SUMMARY"});return t},us=function(e,t){for(var s=0;s<e.length;s++)if(e[s].checked&&e[s].form===t)return e[s]},ds=function(e){if(!e.name)return!0;var t=e.form||Fe(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=us(n,e.form);return!r||r===e},hs=function(e){return xt(e)&&e.type==="radio"},fs=function(e){return hs(e)&&!ds(e)},ps=function(e){var t,s=e&&Fe(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=Fe(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},at=function(e){var t=e.getBoundingClientRect(),s=t.width,n=t.height;return s===0&&n===0},vs=function(e,t){var s=t.displayCheck,n=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var r=ae.call(e,"details>summary:first-of-type"),i=r?e.parentElement:e;if(ae.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=Fe(e);if(l&&!l.shadowRoot&&n(l)===!0)return at(e);e.assignedSlot?e=e.assignedSlot:!l&&c!==e.ownerDocument?e=c.host:e=l}e=o}if(ps(e))return!e.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return at(e);return!1},ms=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 ae.call(t,"fieldset[disabled] *")?!0:!n.contains(e)}return!0}t=t.parentElement}return!1},Re=function(e,t){return!(t.disabled||Oe(t)||ls(t)||vs(t,e)||cs(t)||ms(t))},Be=function(e,t){return!(fs(t)||re(t)<0||!Re(e,t))},gs=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},bs=function a(e){var t=[],s=[];return e.forEach(function(n,r){var i=!!n.scopeParent,o=i?n.scopeParent:n,l=as(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(os).reduce(function(n,r){return r.isScope?n.push.apply(n,r.content):n.push(r.content),n},[]).concat(t)},ys=function(e,t){t=t||{};var s;return t.getShadowRoot?s=yt([e],t.includeContainer,{filter:Be.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:gs}):s=bt(e,t.includeContainer,Be.bind(null,t)),bs(s)},ws=function(e,t){t=t||{};var s;return t.getShadowRoot?s=yt([e],t.includeContainer,{filter:Re.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s=bt(e,t.includeContainer,Re.bind(null,t)),s},oe=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ae.call(e,Ne)===!1?!1:Be(t,e)},xs=mt.concat("iframe").join(","),Le=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ae.call(e,xs)===!1?!1:Re(t,e)};/*!
|
|
5
|
-
* focus-trap 7.6.0
|
|
6
|
-
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
7
|
-
*/function Ss(a,e,t){return(e=Es(e))in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}function ot(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 lt(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?ot(Object(t),!0).forEach(function(s){Ss(a,s,t[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):ot(Object(t)).forEach(function(s){Object.defineProperty(a,s,Object.getOwnPropertyDescriptor(t,s))})}return a}function _s(a,e){if(typeof a!="object"||!a)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 Es(a){var e=_s(a,"string");return typeof e=="symbol"?e:e+""}var ct={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()}},Ts=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Is=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},ge=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},ks=function(e){return ge(e)&&!e.shiftKey},Ns=function(e){return ge(e)&&e.shiftKey},ut=function(e){return setTimeout(e,0)},dt=function(e,t){var s=-1;return e.every(function(n,r){return t(n)?(s=r,!1):!0}),s},ve=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},Ee=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},Fs=[],Os=function(e,t){var s=(t==null?void 0:t.document)||document,n=(t==null?void 0:t.trapStack)||Fs,r=lt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:ks,isKeyBackward:Ns},t),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},o,l=function(d,u,g){return d&&d[u]!==void 0?d[u]:r[g||u]},c=function(d,u){var g=typeof(u==null?void 0:u.composedPath)=="function"?u.composedPath():void 0;return i.containerGroups.findIndex(function(E){var T=E.container,N=E.tabbableNodes;return T.contains(d)||(g==null?void 0:g.includes(T))||N.find(function(O){return O===d})})},h=function(d){var u=r[d];if(typeof u=="function"){for(var g=arguments.length,E=new Array(g>1?g-1:0),T=1;T<g;T++)E[T-1]=arguments[T];u=u.apply(void 0,E)}if(u===!0&&(u=void 0),!u){if(u===void 0||u===!1)return u;throw new Error("`".concat(d,"` was specified but was not a node, or did not return a node"))}var N=u;if(typeof u=="string"&&(N=s.querySelector(u),!N))throw new Error("`".concat(d,"` as selector refers to no known node"));return N},m=function(){var d=h("initialFocus");if(d===!1)return!1;if(d===void 0||!Le(d,r.tabbableOptions))if(c(s.activeElement)>=0)d=s.activeElement;else{var u=i.tabbableGroups[0],g=u&&u.firstTabbableNode;d=g||h("fallbackFocus")}if(!d)throw new Error("Your focus-trap needs to have at least one focusable element");return d},f=function(){if(i.containerGroups=i.containers.map(function(d){var u=ys(d,r.tabbableOptions),g=ws(d,r.tabbableOptions),E=u.length>0?u[0]:void 0,T=u.length>0?u[u.length-1]:void 0,N=g.find(function(v){return oe(v)}),O=g.slice().reverse().find(function(v){return oe(v)}),A=!!u.find(function(v){return re(v)>0});return{container:d,tabbableNodes:u,focusableNodes:g,posTabIndexesFound:A,firstTabbableNode:E,lastTabbableNode:T,firstDomTabbableNode:N,lastDomTabbableNode:O,nextTabbableNode:function(p){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,F=u.indexOf(p);return F<0?_?g.slice(g.indexOf(p)+1).find(function(z){return oe(z)}):g.slice(0,g.indexOf(p)).reverse().find(function(z){return oe(z)}):u[F+(_?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(d){return d.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(d){return d.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(d){var u=d.activeElement;if(u)return u.shadowRoot&&u.shadowRoot.activeElement!==null?b(u.shadowRoot):u},y=function(d){if(d!==!1&&d!==b(document)){if(!d||!d.focus){y(m());return}d.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=d,Ts(d)&&d.select()}},x=function(d){var u=h("setReturnFocus",d);return u||(u===!1?!1:d)},w=function(d){var u=d.target,g=d.event,E=d.isBackward,T=E===void 0?!1:E;u=u||Ee(g),f();var N=null;if(i.tabbableGroups.length>0){var O=c(u,g),A=O>=0?i.containerGroups[O]:void 0;if(O<0)T?N=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:N=i.tabbableGroups[0].firstTabbableNode;else if(T){var v=dt(i.tabbableGroups,function(j){var I=j.firstTabbableNode;return u===I});if(v<0&&(A.container===u||Le(u,r.tabbableOptions)&&!oe(u,r.tabbableOptions)&&!A.nextTabbableNode(u,!1))&&(v=O),v>=0){var p=v===0?i.tabbableGroups.length-1:v-1,_=i.tabbableGroups[p];N=re(u)>=0?_.lastTabbableNode:_.lastDomTabbableNode}else ge(g)||(N=A.nextTabbableNode(u,!1))}else{var F=dt(i.tabbableGroups,function(j){var I=j.lastTabbableNode;return u===I});if(F<0&&(A.container===u||Le(u,r.tabbableOptions)&&!oe(u,r.tabbableOptions)&&!A.nextTabbableNode(u))&&(F=O),F>=0){var z=F===i.tabbableGroups.length-1?0:F+1,P=i.tabbableGroups[z];N=re(u)>=0?P.firstTabbableNode:P.firstDomTabbableNode}else ge(g)||(N=A.nextTabbableNode(u))}}else N=h("fallbackFocus");return N},R=function(d){var u=Ee(d);if(!(c(u,d)>=0)){if(ve(r.clickOutsideDeactivates,d)){o.deactivate({returnFocus:r.returnFocusOnDeactivate});return}ve(r.allowOutsideClick,d)||d.preventDefault()}},C=function(d){var u=Ee(d),g=c(u,d)>=0;if(g||u instanceof Document)g&&(i.mostRecentlyFocusedNode=u);else{d.stopImmediatePropagation();var E,T=!0;if(i.mostRecentlyFocusedNode)if(re(i.mostRecentlyFocusedNode)>0){var N=c(i.mostRecentlyFocusedNode),O=i.containerGroups[N].tabbableNodes;if(O.length>0){var A=O.findIndex(function(v){return v===i.mostRecentlyFocusedNode});A>=0&&(r.isKeyForward(i.recentNavEvent)?A+1<O.length&&(E=O[A+1],T=!1):A-1>=0&&(E=O[A-1],T=!1))}}else i.containerGroups.some(function(v){return v.tabbableNodes.some(function(p){return re(p)>0})})||(T=!1);else T=!1;T&&(E=w({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),y(E||i.mostRecentlyFocusedNode||m())}i.recentNavEvent=void 0},J=function(d){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=d;var g=w({event:d,isBackward:u});g&&(ge(d)&&d.preventDefault(),y(g))},Q=function(d){(r.isKeyForward(d)||r.isKeyBackward(d))&&J(d,r.isKeyBackward(d))},W=function(d){Is(d)&&ve(r.escapeDeactivates,d)!==!1&&(d.preventDefault(),o.deactivate())},V=function(d){var u=Ee(d);c(u,d)>=0||ve(r.clickOutsideDeactivates,d)||ve(r.allowOutsideClick,d)||(d.preventDefault(),d.stopImmediatePropagation())},$=function(){if(i.active)return ct.activateTrap(n,o),i.delayInitialFocusTimer=r.delayInitialFocus?ut(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",V,{capture:!0,passive:!1}),s.addEventListener("keydown",Q,{capture:!0,passive:!1}),s.addEventListener("keydown",W),o},be=function(){if(i.active)return s.removeEventListener("focusin",C,!0),s.removeEventListener("mousedown",R,!0),s.removeEventListener("touchstart",R,!0),s.removeEventListener("click",V,!0),s.removeEventListener("keydown",Q,!0),s.removeEventListener("keydown",W),o},M=function(d){var u=d.some(function(g){var E=Array.from(g.removedNodes);return E.some(function(T){return T===i.mostRecentlyFocusedNode})});u&&y(m())},U=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(M):void 0,q=function(){U&&(U.disconnect(),i.active&&!i.paused&&i.containers.map(function(d){U.observe(d,{subtree:!0,childList:!0})}))};return o={get active(){return i.active},get paused(){return i.paused},activate:function(d){if(i.active)return this;var u=l(d,"onActivate"),g=l(d,"onPostActivate"),E=l(d,"checkCanFocusTrap");E||f(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=s.activeElement,u==null||u();var T=function(){E&&f(),$(),q(),g==null||g()};return E?(E(i.containers.concat()).then(T,T),this):(T(),this)},deactivate:function(d){if(!i.active)return this;var u=lt({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},d);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,be(),i.active=!1,i.paused=!1,q(),ct.deactivateTrap(n,o);var g=l(u,"onDeactivate"),E=l(u,"onPostDeactivate"),T=l(u,"checkCanReturnFocus"),N=l(u,"returnFocus","returnFocusOnDeactivate");g==null||g();var O=function(){ut(function(){N&&y(x(i.nodeFocusedBeforeActivation)),E==null||E()})};return N&&T?(T(x(i.nodeFocusedBeforeActivation)).then(O,O),this):(O(),this)},pause:function(d){if(i.paused||!i.active)return this;var u=l(d,"onPause"),g=l(d,"onPostPause");return i.paused=!0,u==null||u(),be(),q(),g==null||g(),this},unpause:function(d){if(!i.paused||!i.active)return this;var u=l(d,"onUnpause"),g=l(d,"onPostUnpause");return i.paused=!1,u==null||u(),f(),$(),q(),g==null||g(),this},updateContainerElements:function(d){var u=[].concat(d).filter(Boolean);return i.containers=u.map(function(g){return typeof g=="string"?s.querySelector(g):g}),i.active&&f(),q(),this}},o.updateContainerElements(e),o};function Rs(a,e={}){let t;const{immediate:s,...n}=e,r=ie(!1),i=ie(!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=me(()=>{const f=et(a);return(Array.isArray(f)?f:[f]).map(b=>{const y=et(b);return typeof y=="string"?y:Ct(y)}).filter(Mt)});return $e(m,f=>{f.length&&(t=Os(f,{...n,onActivate(){r.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){r.value=!1,e.onDeactivate&&e.onDeactivate()}}),s&&o())},{flush:"post"}),At(()=>l()),{hasFocus:r,isPaused:i,activate:o,deactivate:l,pause:c,unpause:h}}class ce{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=>{ce.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 ce(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 Cs=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 ce(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 ce.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=ce.matches(s,t),r=this.matchesExclude(s);return!n||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ms(a){const e=new Cs(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 ke(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 As="ENTRIES",St="KEYS",_t="VALUES",D="";class De{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}=le(this._path);if(le(t)===D)return{done:!1,value:this.result()};const s=e.get(le(t));return this._path.push({node:s,keys:Array.from(s.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=le(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>le(e)).filter(e=>e!==D).join("")}value(){return le(this._path).node.get(D)}result(){switch(this._type){case _t:return this.value();case St:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const le=a=>a[a.length-1],Ls=(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 Et(a,e,t,s,i,1,n,""),s},Et=(a,e,t,s,n,r,i,o)=>{const l=r*i;e:for(const c of a.keys())if(c===D){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 J=f!==e[C],Q=n[y+C]+ +J,W=n[y+C+1]+1,V=n[b+C]+1,$=n[b+C+1]=Math.min(Q,W,V);$<x&&(x=$)}if(x>t)continue e}Et(a.get(c),e,t,s,n,h,i,o+c)}};class X{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]=Ce(this._tree,e.slice(this._prefix.length));if(t===void 0){const[n,r]=Ue(s);for(const i of n.keys())if(i!==D&&i.startsWith(r)){const o=new Map;return o.set(i.slice(r.length),n.get(i)),new X(o,e)}}return new X(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,Ds(this._tree,e)}entries(){return new De(this,As)}forEach(e){for(const[t,s]of this)e(t,s,this)}fuzzyGet(e,t){return Ls(this._tree,e,t)}get(e){const t=We(this._tree,e);return t!==void 0?t.get(D):void 0}has(e){const t=We(this._tree,e);return t!==void 0&&t.has(D)}keys(){return new De(this,St)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,ze(this._tree,e).set(D,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=ze(this._tree,e);return s.set(D,t(s.get(D))),this}fetch(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=ze(this._tree,e);let n=s.get(D);return n===void 0&&s.set(D,n=t()),n}values(){return new De(this,_t)}[Symbol.iterator](){return this.entries()}static from(e){const t=new X;for(const[s,n]of e)t.set(s,n);return t}static fromObject(e){return X.from(Object.entries(e))}}const Ce=(a,e,t=[])=>{if(e.length===0||a==null)return[a,t];for(const s of a.keys())if(s!==D&&e.startsWith(s))return t.push([a,s]),Ce(a.get(s),e.slice(s.length),t);return t.push([a,e]),Ce(void 0,"",t)},We=(a,e)=>{if(e.length===0||a==null)return a;for(const t of a.keys())if(t!==D&&e.startsWith(t))return We(a.get(t),e.slice(t.length))},ze=(a,e)=>{const t=e.length;e:for(let s=0;a&&s<t;){for(const r of a.keys())if(r!==D&&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]=Ce(a,e);if(t!==void 0){if(t.delete(D),t.size===0)Tt(s);else if(t.size===1){const[n,r]=t.entries().next().value;It(s,n,r)}}},Tt=a=>{if(a.length===0)return;const[e,t]=Ue(a);if(e.delete(t),e.size===0)Tt(a.slice(0,-1));else if(e.size===1){const[s,n]=e.entries().next().value;s!==D&&It(a.slice(0,-1),s,n)}},It=(a,e,t)=>{if(a.length===0)return;const[s,n]=Ue(a);s.set(n+e,t),s.delete(n)},Ue=a=>a[a.length-1],qe="or",kt="and",zs="and_not";class ue{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?Ve:e.autoVacuum;this._options=Object.assign(Object.assign(Object.assign({},je),e),{autoVacuum:t,searchOptions:Object.assign(Object.assign({},ht),e.searchOptions||{}),autoSuggestOptions:Object.assign(Object.assign({},Bs),e.autoSuggestOptions||{})}),this._index=new X,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=Je,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 X,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=Je,this.performVacuuming(e,s)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}performVacuuming(e,t){return ke(this,void 0,void 0,function*(){const s=this._dirtCount;if(this.vacuumConditionsMet(t)){const n=e.batchSize||Ke.batchSize,r=e.batchWait||Ke.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||Ve.minDirtCount,s=s||Ve.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===ue.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||n.sort(pt),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(pt),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 ke(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(je.hasOwnProperty(e))return Pe(je,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=Te(n),l._fieldLength=Te(r),l._storedFields=Te(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),Te(b))}l._index.set(c,m)}return l}static loadJSAsync(e,t){return ke(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 Ie(n),l._fieldLength=yield Ie(r),l._storedFields=yield Ie(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 Ie(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 ue(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 X,c}executeQuery(e,t={}){if(e===ue.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($s(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]:Pe(s.boost,w)||1}),{}),{boostDocument:r,weights:i,maxFuzzy:o,bm25:l}=s,{fuzzy:c,prefix:h}=Object.assign(Object.assign({},ht.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=qe){if(e.length===0)return new Map;const s=t.toLowerCase(),n=Ps[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),J=this._fieldLength.get(w)[f],Q=Vs(C,y,this._documentCount,J,x,l),W=s*n*m*R*Q,V=c.get(w);if(V){V.score+=W,Ws(V.terms,e);const $=Pe(V.match,t);$?$.push(h):V.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,vt);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,vt),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)}}}ue.wildcard=Symbol("*");const Pe=(a,e)=>Object.prototype.hasOwnProperty.call(a,e)?a[e]:void 0,Ps={[qe]:(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),ft(s.terms,r)}}return a},[kt]:(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);ft(n.terms,i),t.set(s,{score:n.score+r,terms:n.terms,match:Object.assign(n.match,o)})}return t},[zs]:(a,e)=>{for(const t of e.keys())a.delete(t);return a}},js={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)))},$s=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}},je={idField:"id",extractField:(a,e)=>a[e],tokenize:a=>a.split(Ks),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},ht={combineWith:qe,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:js},Bs={combineWith:kt,prefix:(a,e,t)=>e===t.length-1},Ke={batchSize:1e3,batchWait:10},Je={minDirtFactor:.1,minDirtCount:20},Ve=Object.assign(Object.assign({},Ke),Je),Ws=(a,e)=>{a.includes(e)||a.push(e)},ft=(a,e)=>{for(const t of e)a.includes(t)||a.push(t)},pt=({score:a},{score:e})=>e-a,vt=()=>new Map,Te=a=>{const e=new Map;for(const t of Object.keys(a))e.set(parseInt(t,10),a[t]);return e},Ie=a=>ke(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)),Ks=/[\n\r\p{Z}\p{P}]+/u;class Js{constructor(e=10){Me(this,"max");Me(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 Us=["aria-owns"],qs={class:"shell"},Gs=["title"],Hs={class:"search-actions before"},Qs=["title"],Ys=["aria-activedescendant","aria-controls","placeholder"],Zs={class:"search-actions"},Xs=["title"],en=["disabled","title"],tn=["id","role","aria-labelledby"],sn=["id","aria-selected"],nn=["href","aria-label","onMouseenter","onFocusin","data-index"],rn={class:"titles"},an=["innerHTML"],on={class:"title main"},ln=["innerHTML"],cn={key:0,class:"excerpt-wrapper"},un={key:0,class:"excerpt",inert:""},dn=["innerHTML"],hn={key:0,class:"no-results"},fn={class:"search-keyboard-shortcuts"},pn=["aria-label"],vn=["aria-label"],mn=["aria-label"],gn=["aria-label"],bn=Lt({__name:"VPLocalSearchBox",emits:["close"],setup(a,{emit:e}){var O,A;const t=e,s=xe(),n=xe(),r=xe(is),i=ss(),{activate:o}=Rs(s,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:l,theme:c}=i,h=tt(async()=>{var v,p,_,F,z,P,j,I,K;return rt(ue.loadJSON((_=await((p=(v=r.value)[l.value])==null?void 0:p.call(v)))==null?void 0:_.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((F=c.value.search)==null?void 0:F.provider)==="local"&&((P=(z=c.value.search.options)==null?void 0:z.miniSearch)==null?void 0:P.searchOptions)},...((j=c.value.search)==null?void 0:j.provider)==="local"&&((K=(I=c.value.search.options)==null?void 0:I.miniSearch)==null?void 0:K.options)}))}),f=me(()=>{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?ie(""):Dt("vitepress:local-search-filter",""),b=zt("vitepress:local-search-detailed-list",((O=c.value.search)==null?void 0:O.provider)==="local"&&((A=c.value.search.options)==null?void 0:A.detailedView)===!0),y=me(()=>{var v,p,_;return((v=c.value.search)==null?void 0:v.provider)==="local"&&(((p=c.value.search.options)==null?void 0:p.disableDetailedView)===!0||((_=c.value.search.options)==null?void 0:_.detailedView)===!1)}),x=me(()=>{var p,_,F,z,P,j,I;const v=((p=c.value.search)==null?void 0:p.options)??c.value.algolia;return((P=(z=(F=(_=v==null?void 0:v.locales)==null?void 0:_[l.value])==null?void 0:F.translations)==null?void 0:z.button)==null?void 0:P.buttonText)||((I=(j=v==null?void 0:v.translations)==null?void 0:j.button)==null?void 0:I.buttonText)||"Search"});Pt(()=>{y.value&&(b.value=!1)});const w=xe([]),R=ie(!1);$e(f,()=>{R.value=!1});const C=tt(async()=>{if(n.value)return rt(new Ms(n.value))},null),J=new Js(16);jt(()=>[h.value,f.value,b.value],async([v,p,_],F,z)=>{var ee,ye,Ge,He;(F==null?void 0:F[0])!==v&&J.clear();let P=!1;if(z(()=>{P=!0}),!v)return;w.value=v.search(p).slice(0,16),R.value=!0;const j=_?await Promise.all(w.value.map(B=>Q(B.id))):[];if(P)return;for(const{id:B,mod:te}of j){const se=B.slice(0,B.indexOf("#"));let Y=J.get(se);if(Y)continue;Y=new Map,J.set(se,Y);const G=te.default??te;if(G!=null&&G.render||G!=null&&G.setup){const ne=Yt(G);ne.config.warnHandler=()=>{},ne.provide(Zt,i),Object.defineProperties(ne.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const Qe=document.createElement("div");ne.mount(Qe),Qe.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(de=>{var Xe;const we=(Xe=de.querySelector("a"))==null?void 0:Xe.getAttribute("href"),Ye=(we==null?void 0:we.startsWith("#"))&&we.slice(1);if(!Ye)return;let Ze="";for(;(de=de.nextElementSibling)&&!/^h[1-6]$/i.test(de.tagName);)Ze+=de.outerHTML;Y.set(Ye,Ze)}),ne.unmount()}if(P)return}const I=new Set;if(w.value=w.value.map(B=>{const[te,se]=B.id.split("#"),Y=J.get(te),G=(Y==null?void 0:Y.get(se))??"";for(const ne in B.match)I.add(ne);return{...B,text:G}}),await he(),P)return;await new Promise(B=>{var te;(te=C.value)==null||te.unmark({done:()=>{var se;(se=C.value)==null||se.markRegExp(T(I),{done:B})}})});const K=((ee=s.value)==null?void 0:ee.querySelectorAll(".result .excerpt"))??[];for(const B of K)(ye=B.querySelector('mark[data-markjs="true"]'))==null||ye.scrollIntoView({block:"center"});(He=(Ge=n.value)==null?void 0:Ge.firstElementChild)==null||He.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function Q(v){const p=Xt(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.1742907864257/files/.vitepress/dist"+u}return u})(p))}}catch(_){return console.error(_),{id:v,mod:{}}}}const W=ie(),V=me(()=>{var v;return((v=f.value)==null?void 0:v.length)<=0});function $(v=!0){var p,_;(p=W.value)==null||p.focus(),v&&((_=W.value)==null||_.select())}Ae(()=>{$()});function be(v){v.pointerType==="mouse"&&$()}const M=ie(-1),U=ie(!0);$e(w,v=>{M.value=v.length?0:-1,q()});function q(){he(()=>{const v=document.querySelector(".result.selected");v==null||v.scrollIntoView({block:"nearest"})})}Se("ArrowUp",v=>{v.preventDefault(),M.value--,M.value<0&&(M.value=w.value.length-1),U.value=!0,q()}),Se("ArrowDown",v=>{v.preventDefault(),M.value++,M.value>=w.value.length&&(M.value=0),U.value=!0,q()});const k=Vt();Se("Enter",v=>{if(v.isComposing||v.target instanceof HTMLButtonElement&&v.target.type!=="submit")return;const p=w.value[M.value];if(v.target instanceof HTMLInputElement&&!p){v.preventDefault();return}p&&(k.go(p.id),t("close"))}),Se("Escape",()=>{t("close")});const u=ns({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"}}});Ae(()=>{window.history.pushState(null,"",null)}),$t("popstate",v=>{v.preventDefault(),t("close")});const g=Bt(Wt?document.body:null);Ae(()=>{he(()=>{g.value=!0,he().then(()=>o())})}),Kt(()=>{g.value=!1});function E(){f.value="",he().then(()=>$(!1))}function T(v){return new RegExp([...v].sort((p,_)=>_.length-p.length).map(p=>`(${es(p)})`).join("|"),"gi")}function N(v){var F;if(!U.value)return;const p=(F=v.target)==null?void 0:F.closest(".result"),_=Number.parseInt(p==null?void 0:p.dataset.index);_>=0&&_!==M.value&&(M.value=_),U.value=!1}return(v,p)=>{var _,F,z,P,j;return H(),Jt(Qt,{to:"body"},[S("div",{ref_key:"el",ref:s,role:"button","aria-owns":(_=w.value)!=null&&_.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",qs,[S("form",{class:"search-bar",onPointerup:p[4]||(p[4]=I=>be(I)),onSubmit:p[5]||(p[5]=Ut(()=>{},["prevent"]))},[S("label",{title:x.value,id:"localsearch-label",for:"localsearch-input"},p[7]||(p[7]=[S("span",{"aria-hidden":"true",class:"vpi-search search-icon local-search-icon"},null,-1)]),8,Gs),S("div",Hs,[S("button",{class:"back-button",title:L(u)("modal.backButtonTitle"),onClick:p[1]||(p[1]=I=>v.$emit("close"))},p[8]||(p[8]=[S("span",{class:"vpi-arrow-left local-search-icon"},null,-1)]),8,Qs)]),qt(S("input",{ref_key:"searchInput",ref:W,"onUpdate:modelValue":p[2]||(p[2]=I=>Ht(f)?f.value=I:null),"aria-activedescendant":M.value>-1?"localsearch-item-"+M.value:void 0,"aria-autocomplete":"both","aria-controls":(F=w.value)!=null&&F.length?"localsearch-list":void 0,"aria-labelledby":"localsearch-label",autocapitalize:"off",autocomplete:"off",autocorrect:"off",class:"search-input",id:"localsearch-input",enterkeyhint:"go",maxlength:"64",placeholder:x.value,spellcheck:"false",type:"search"},null,8,Ys),[[Gt,L(f)]]),S("div",Zs,[y.value?_e("",!0):(H(),Z("button",{key:0,class:st(["toggle-layout-button",{"detailed-list":L(b)}]),type:"button",title:L(u)("modal.displayDetails"),onClick:p[3]||(p[3]=I=>M.value>-1&&(b.value=!L(b)))},p[9]||(p[9]=[S("span",{class:"vpi-layout-list local-search-icon"},null,-1)]),10,Xs)),S("button",{class:"clear-button",type:"reset",disabled:V.value,title:L(u)("modal.resetButtonTitle"),onClick:E},p[10]||(p[10]=[S("span",{class:"vpi-delete local-search-icon"},null,-1)]),8,en)])],32),S("ul",{ref_key:"resultsEl",ref:n,id:(z=w.value)!=null&&z.length?"localsearch-list":void 0,role:(P=w.value)!=null&&P.length?"listbox":void 0,"aria-labelledby":(j=w.value)!=null&&j.length?"localsearch-label":void 0,class:"results",onMousemove:N},[(H(!0),Z(it,null,nt(w.value,(I,K)=>(H(),Z("li",{key:I.id,id:"localsearch-item-"+K,"aria-selected":M.value===K?"true":"false",role:"option"},[S("a",{href:I.id,class:st(["result",{selected:M.value===K}]),"aria-label":[...I.titles,I.title].join(" > "),onMouseenter:ee=>!U.value&&(M.value=K),onFocusin:ee=>M.value=K,onClick:p[6]||(p[6]=ee=>v.$emit("close")),"data-index":K},[S("div",null,[S("div",rn,[p[12]||(p[12]=S("span",{class:"title-icon"},"#",-1)),(H(!0),Z(it,null,nt(I.titles,(ee,ye)=>(H(),Z("span",{key:ye,class:"title"},[S("span",{class:"text",innerHTML:ee},null,8,an),p[11]||(p[11]=S("span",{class:"vpi-chevron-right local-search-icon"},null,-1))]))),128)),S("span",on,[S("span",{class:"text",innerHTML:I.title},null,8,ln)])]),L(b)?(H(),Z("div",cn,[I.text?(H(),Z("div",un,[S("div",{class:"vp-doc",innerHTML:I.text},null,8,dn)])):_e("",!0),p[13]||(p[13]=S("div",{class:"excerpt-gradient-bottom"},null,-1)),p[14]||(p[14]=S("div",{class:"excerpt-gradient-top"},null,-1))])):_e("",!0)])],42,nn)],8,sn))),128)),L(f)&&!w.value.length&&R.value?(H(),Z("li",hn,[fe(pe(L(u)("modal.noResultsText"))+' "',1),S("strong",null,pe(L(f)),1),p[15]||(p[15]=fe('" '))])):_e("",!0)],40,tn),S("div",fn,[S("span",null,[S("kbd",{"aria-label":L(u)("modal.footer.navigateUpKeyAriaLabel")},p[16]||(p[16]=[S("span",{class:"vpi-arrow-up navigate-icon"},null,-1)]),8,pn),S("kbd",{"aria-label":L(u)("modal.footer.navigateDownKeyAriaLabel")},p[17]||(p[17]=[S("span",{class:"vpi-arrow-down navigate-icon"},null,-1)]),8,vn),fe(" "+pe(L(u)("modal.footer.navigateText")),1)]),S("span",null,[S("kbd",{"aria-label":L(u)("modal.footer.selectKeyAriaLabel")},p[18]||(p[18]=[S("span",{class:"vpi-corner-down-left navigate-icon"},null,-1)]),8,mn),fe(" "+pe(L(u)("modal.footer.selectText")),1)]),S("span",null,[S("kbd",{"aria-label":L(u)("modal.footer.closeKeyAriaLabel")},"esc",8,gn),fe(" "+pe(L(u)("modal.footer.closeText")),1)])])])],8,Us)])}}}),En=ts(bn,[["__scopeId","data-v-d7abc443"]]);export{En as default};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @vue/shared v3.5.12
|
|
3
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
-
* @license MIT
|
|
5
|
-
**//*! #__NO_SIDE_EFFECTS__ */function js(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ee={},Ct=[],ke=()=>{},qo=()=>!1,tn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Vs=e=>e.startsWith("onUpdate:"),ce=Object.assign,Us=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Go=Object.prototype.hasOwnProperty,Q=(e,t)=>Go.call(e,t),K=Array.isArray,At=e=>Dn(e)==="[object Map]",li=e=>Dn(e)==="[object Set]",q=e=>typeof e=="function",oe=e=>typeof e=="string",Ye=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",ci=e=>(se(e)||q(e))&&q(e.then)&&q(e.catch),ai=Object.prototype.toString,Dn=e=>ai.call(e),Yo=e=>Dn(e).slice(8,-1),fi=e=>Dn(e)==="[object Object]",Bs=e=>oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Rt=js(",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))},Xo=/-(\w)/g,Fe=$n(e=>e.replace(Xo,(t,n)=>n?n.toUpperCase():"")),zo=/\B([A-Z])/g,rt=$n(e=>e.replace(zo,"-$1").toLowerCase()),jn=$n(e=>e.charAt(0).toUpperCase()+e.slice(1)),wn=$n(e=>e?`on${jn(e)}`:""),tt=(e,t)=>!Object.is(e,t),Sn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ui=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Es=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Jo=e=>{const t=oe(e)?Number(e):NaN;return isNaN(t)?e:t};let pr;const Vn=()=>pr||(pr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ks(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=oe(s)?tl(s):ks(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(oe(e)||se(e))return e}const Qo=/;(?![^(]*\))/g,Zo=/:([^]+)/,el=/\/\*[^]*?\*\//g;function tl(e){const t={};return e.replace(el,"").split(Qo).forEach(n=>{if(n){const s=n.split(Zo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ws(e){let t="";if(oe(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const s=Ws(e[n]);s&&(t+=s+" ")}else if(se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const nl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",sl=js(nl);function di(e){return!!e||e===""}const hi=e=>!!(e&&e.__v_isRef===!0),rl=e=>oe(e)?e:e==null?"":K(e)||se(e)&&(e.toString===ai||!q(e.toString))?hi(e)?rl(e.value):JSON.stringify(e,pi,2):String(e),pi=(e,t)=>hi(t)?pi(e,t.value):At(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[ns(s,i)+" =>"]=r,n),{})}:li(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ns(n))}:Ye(t)?ns(t):se(t)&&!K(t)&&!fi(t)?String(t):t,ns=(e,t="")=>{var n;return Ye(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
|
-
* @vue/reactivity v3.5.12
|
|
7
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
-
* @license MIT
|
|
9
|
-
**/let _e;class il{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.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=_e;try{return _e=this,t()}finally{_e=n}}}on(){_e=this}off(){_e=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function gi(){return _e}function ol(e,t=!1){_e&&_e.cleanups.push(e)}let ne;const ss=new WeakSet;class mi{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,_e&&_e.active&&_e.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ss.has(this)&&(ss.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||vi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,gr(this),bi(this);const t=ne,n=De;ne=this,De=!0;try{return this.fn()}finally{_i(this),ne=t,De=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Gs(t);this.deps=this.depsTail=void 0,gr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ss.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){xs(this)&&this.run()}get dirty(){return xs(this)}}let yi=0,Vt,Ut;function vi(e,t=!1){if(e.flags|=8,t){e.next=Ut,Ut=e;return}e.next=Vt,Vt=e}function Ks(){yi++}function qs(){if(--yi>0)return;if(Ut){let t=Ut;for(Ut=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Vt;){let t=Vt;for(Vt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function bi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function _i(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Gs(s),ll(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function xs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(wi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function wi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Gt))return;e.globalVersion=Gt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!xs(e)){e.flags&=-3;return}const n=ne,s=De;ne=e,De=!0;try{bi(e);const r=e.fn(e._value);(t.version===0||tt(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ne=n,De=s,_i(e),e.flags&=-3}}function Gs(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Gs(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ll(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let De=!0;const Si=[];function it(){Si.push(De),De=!1}function ot(){const e=Si.pop();De=e===void 0?!0:e}function gr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ne;ne=void 0;try{t()}finally{ne=n}}}let Gt=0;class cl{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Un{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!ne||!De||ne===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ne)n=this.activeLink=new cl(ne,this),ne.deps?(n.prevDep=ne.depsTail,ne.depsTail.nextDep=n,ne.depsTail=n):ne.deps=ne.depsTail=n,Ei(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ne.depsTail,n.nextDep=void 0,ne.depsTail.nextDep=n,ne.depsTail=n,ne.deps===n&&(ne.deps=s)}return n}trigger(t){this.version++,Gt++,this.notify(t)}notify(t){Ks();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{qs()}}}function Ei(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Ei(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Rn=new WeakMap,ht=Symbol(""),Ts=Symbol(""),Yt=Symbol("");function me(e,t,n){if(De&&ne){let s=Rn.get(e);s||Rn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Un),r.map=s,r.key=n),r.track()}}function qe(e,t,n,s,r,i){const o=Rn.get(e);if(!o){Gt++;return}const l=c=>{c&&c.trigger()};if(Ks(),t==="clear")o.forEach(l);else{const c=K(e),f=c&&Bs(n);if(c&&n==="length"){const a=Number(s);o.forEach((d,g)=>{(g==="length"||g===Yt||!Ye(g)&&g>=a)&&l(d)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),f&&l(o.get(Yt)),t){case"add":c?f&&l(o.get("length")):(l(o.get(ht)),At(e)&&l(o.get(Ts)));break;case"delete":c||(l(o.get(ht)),At(e)&&l(o.get(Ts)));break;case"set":At(e)&&l(o.get(ht));break}}qs()}function al(e,t){const n=Rn.get(e);return n&&n.get(t)}function wt(e){const t=z(e);return t===e?t:(me(t,"iterate",Yt),Ie(e)?t:t.map(ye))}function Bn(e){return me(e=z(e),"iterate",Yt),e}const fl={__proto__:null,[Symbol.iterator](){return rs(this,Symbol.iterator,ye)},concat(...e){return wt(this).concat(...e.map(t=>K(t)?wt(t):t))},entries(){return rs(this,"entries",e=>(e[1]=ye(e[1]),e))},every(e,t){return We(this,"every",e,t,void 0,arguments)},filter(e,t){return We(this,"filter",e,t,n=>n.map(ye),arguments)},find(e,t){return We(this,"find",e,t,ye,arguments)},findIndex(e,t){return We(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return We(this,"findLast",e,t,ye,arguments)},findLastIndex(e,t){return We(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return We(this,"forEach",e,t,void 0,arguments)},includes(...e){return is(this,"includes",e)},indexOf(...e){return is(this,"indexOf",e)},join(e){return wt(this).join(e)},lastIndexOf(...e){return is(this,"lastIndexOf",e)},map(e,t){return We(this,"map",e,t,void 0,arguments)},pop(){return Ht(this,"pop")},push(...e){return Ht(this,"push",e)},reduce(e,...t){return mr(this,"reduce",e,t)},reduceRight(e,...t){return mr(this,"reduceRight",e,t)},shift(){return Ht(this,"shift")},some(e,t){return We(this,"some",e,t,void 0,arguments)},splice(...e){return Ht(this,"splice",e)},toReversed(){return wt(this).toReversed()},toSorted(e){return wt(this).toSorted(e)},toSpliced(...e){return wt(this).toSpliced(...e)},unshift(...e){return Ht(this,"unshift",e)},values(){return rs(this,"values",ye)}};function rs(e,t,n){const s=Bn(e),r=s[t]();return s!==e&&!Ie(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const ul=Array.prototype;function We(e,t,n,s,r,i){const o=Bn(e),l=o!==e&&!Ie(e),c=o[t];if(c!==ul[t]){const d=c.apply(e,i);return l?ye(d):d}let f=n;o!==e&&(l?f=function(d,g){return n.call(this,ye(d),g,e)}:n.length>2&&(f=function(d,g){return n.call(this,d,g,e)}));const a=c.call(o,f,s);return l&&r?r(a):a}function mr(e,t,n,s){const r=Bn(e);let i=n;return r!==e&&(Ie(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,ye(l),c,e)}),r[t](i,...s)}function is(e,t,n){const s=z(e);me(s,"iterate",Yt);const r=s[t](...n);return(r===-1||r===!1)&&zs(n[0])?(n[0]=z(n[0]),s[t](...n)):r}function Ht(e,t,n=[]){it(),Ks();const s=z(e)[t].apply(e,n);return qs(),ot(),s}const dl=js("__proto__,__v_isRef,__isVue"),xi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ye));function hl(e){Ye(e)||(e=String(e));const t=z(this);return me(t,"has",e),t.hasOwnProperty(e)}class Ti{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?El:Oi:i?Ri:Ai).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=K(t);if(!r){let c;if(o&&(c=fl[n]))return c;if(n==="hasOwnProperty")return hl}const l=Reflect.get(t,n,fe(t)?t:s);return(Ye(n)?xi.has(n):dl(n))||(r||me(t,"get",n),i)?l:fe(l)?o&&Bs(n)?l:l.value:se(l)?r?Wn(l):kn(l):l}}class Ci extends Ti{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=vt(i);if(!Ie(s)&&!vt(s)&&(i=z(i),s=z(s)),!K(t)&&fe(i)&&!fe(s))return c?!1:(i.value=s,!0)}const o=K(t)&&Bs(n)?Number(n)<t.length:Q(t,n),l=Reflect.set(t,n,s,fe(t)?t:r);return t===z(r)&&(o?tt(s,i)&&qe(t,"set",n,s):qe(t,"add",n,s)),l}deleteProperty(t,n){const s=Q(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&qe(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Ye(n)||!xi.has(n))&&me(t,"has",n),s}ownKeys(t){return me(t,"iterate",K(t)?"length":ht),Reflect.ownKeys(t)}}class pl extends Ti{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const gl=new Ci,ml=new pl,yl=new Ci(!0);const Cs=e=>e,fn=e=>Reflect.getPrototypeOf(e);function vl(e,t,n){return function(...s){const r=this.__v_raw,i=z(r),o=At(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=r[e](...s),a=n?Cs:t?As:ye;return!t&&me(i,"iterate",c?Ts:ht),{next(){const{value:d,done:g}=f.next();return g?{value:d,done:g}:{value:l?[a(d[0]),a(d[1])]:a(d),done:g}},[Symbol.iterator](){return this}}}}function un(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function bl(e,t){const n={get(r){const i=this.__v_raw,o=z(i),l=z(r);e||(tt(r,l)&&me(o,"get",r),me(o,"get",l));const{has:c}=fn(o),f=t?Cs:e?As:ye;if(c.call(o,r))return f(i.get(r));if(c.call(o,l))return f(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&me(z(r),"iterate",ht),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=z(i),l=z(r);return e||(tt(r,l)&&me(o,"has",r),me(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=z(l),f=t?Cs:e?As:ye;return!e&&me(c,"iterate",ht),l.forEach((a,d)=>r.call(i,f(a),f(d),o))}};return ce(n,e?{add:un("add"),set:un("set"),delete:un("delete"),clear:un("clear")}:{add(r){!t&&!Ie(r)&&!vt(r)&&(r=z(r));const i=z(this);return fn(i).has.call(i,r)||(i.add(r),qe(i,"add",r,r)),this},set(r,i){!t&&!Ie(i)&&!vt(i)&&(i=z(i));const o=z(this),{has:l,get:c}=fn(o);let f=l.call(o,r);f||(r=z(r),f=l.call(o,r));const a=c.call(o,r);return o.set(r,i),f?tt(i,a)&&qe(o,"set",r,i):qe(o,"add",r,i),this},delete(r){const i=z(this),{has:o,get:l}=fn(i);let c=o.call(i,r);c||(r=z(r),c=o.call(i,r)),l&&l.call(i,r);const f=i.delete(r);return c&&qe(i,"delete",r,void 0),f},clear(){const r=z(this),i=r.size!==0,o=r.clear();return i&&qe(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=vl(r,e,t)}),n}function Ys(e,t){const n=bl(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Q(n,r)&&r in s?n:s,r,i)}const _l={get:Ys(!1,!1)},wl={get:Ys(!1,!0)},Sl={get:Ys(!0,!1)};const Ai=new WeakMap,Ri=new WeakMap,Oi=new WeakMap,El=new WeakMap;function xl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Tl(e){return e.__v_skip||!Object.isExtensible(e)?0:xl(Yo(e))}function kn(e){return vt(e)?e:Xs(e,!1,gl,_l,Ai)}function Cl(e){return Xs(e,!1,yl,wl,Ri)}function Wn(e){return Xs(e,!0,ml,Sl,Oi)}function Xs(e,t,n,s,r){if(!se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Tl(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.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 Ie(e){return!!(e&&e.__v_isShallow)}function zs(e){return e?!!e.__v_raw:!1}function z(e){const t=e&&e.__v_raw;return t?z(t):e}function En(e){return!Q(e,"__v_skip")&&Object.isExtensible(e)&&ui(e,"__v_skip",!0),e}const ye=e=>se(e)?kn(e):e,As=e=>se(e)?Wn(e):e;function fe(e){return e?e.__v_isRef===!0:!1}function J(e){return Mi(e,!1)}function Js(e){return Mi(e,!0)}function Mi(e,t){return fe(e)?e:new Al(e,t)}class Al{constructor(t,n){this.dep=new Un,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:z(t),this._value=n?t:ye(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ie(t)||vt(t);t=s?t:z(t),tt(t,n)&&(this._rawValue=t,this._value=s?t:ye(t),this.dep.trigger())}}function Pi(e){return fe(e)?e.value:e}const Rl={get:(e,t,n)=>t==="__v_raw"?e:Pi(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return fe(r)&&!fe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Li(e){return pt(e)?e:new Proxy(e,Rl)}class Ol{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Un,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Ml(e){return new Ol(e)}class Pl{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,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 al(z(this._object),this._key)}}class Ll{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 Il(e,t,n){return fe(e)?e:q(e)?new Ll(e):se(e)&&arguments.length>1?Nl(e,t,n):J(e)}function Nl(e,t,n){const s=e[t];return fe(s)?s:new Pl(e,t,n)}class Fl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Un(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Gt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ne!==this)return vi(this,!0),!0}get value(){const t=this.dep.track();return wi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Hl(e,t,n=!1){let s,r;return q(e)?s=e:(s=e.get,r=e.set),new Fl(s,r,n)}const dn={},On=new WeakMap;let ut;function Dl(e,t=!1,n=ut){if(n){let s=On.get(n);s||On.set(n,s=[]),s.push(e)}}function $l(e,t,n=ee){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,f=m=>r?m:Ie(m)||r===!1||r===0?Ge(m,1):Ge(m);let a,d,g,v,w=!1,b=!1;if(fe(e)?(d=()=>e.value,w=Ie(e)):pt(e)?(d=()=>f(e),w=!0):K(e)?(b=!0,w=e.some(m=>pt(m)||Ie(m)),d=()=>e.map(m=>{if(fe(m))return m.value;if(pt(m))return f(m);if(q(m))return c?c(m,2):m()})):q(e)?t?d=c?()=>c(e,2):e:d=()=>{if(g){it();try{g()}finally{ot()}}const m=ut;ut=a;try{return c?c(e,3,[v]):e(v)}finally{ut=m}}:d=ke,t&&r){const m=d,M=r===!0?1/0:r;d=()=>Ge(m(),M)}const H=gi(),I=()=>{a.stop(),H&&Us(H.effects,a)};if(i&&t){const m=t;t=(...M)=>{m(...M),I()}}let F=b?new Array(e.length).fill(dn):dn;const p=m=>{if(!(!(a.flags&1)||!a.dirty&&!m))if(t){const M=a.run();if(r||w||(b?M.some((D,j)=>tt(D,F[j])):tt(M,F))){g&&g();const D=ut;ut=a;try{const j=[M,F===dn?void 0:b&&F[0]===dn?[]:F,v];c?c(t,3,j):t(...j),F=M}finally{ut=D}}}else a.run()};return l&&l(p),a=new mi(d),a.scheduler=o?()=>o(p,!1):p,v=m=>Dl(m,!1,a),g=a.onStop=()=>{const m=On.get(a);if(m){if(c)c(m,4);else for(const M of m)M();On.delete(a)}},t?s?p(!0):F=a.run():o?o(p.bind(null,!0),!0):a.run(),I.pause=a.pause.bind(a),I.resume=a.resume.bind(a),I.stop=I,I}function Ge(e,t=1/0,n){if(t<=0||!se(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,fe(e))Ge(e.value,t,n);else if(K(e))for(let s=0;s<e.length;s++)Ge(e[s],t,n);else if(li(e)||At(e))e.forEach(s=>{Ge(s,t,n)});else if(fi(e)){for(const s in e)Ge(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ge(e[s],t,n)}return e}/**
|
|
10
|
-
* @vue/runtime-core v3.5.12
|
|
11
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
-
* @license MIT
|
|
13
|
-
**/function nn(e,t,n,s){try{return s?e(...s):e()}catch(r){sn(r,t,n)}}function $e(e,t,n,s){if(q(e)){const r=nn(e,t,n,s);return r&&ci(r)&&r.catch(i=>{sn(i,t,n)}),r}if(K(e)){const r=[];for(let i=0;i<e.length;i++)r.push($e(e[i],t,n,s));return r}}function sn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ee;if(t){let l=t.parent;const c=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let d=0;d<a.length;d++)if(a[d](e,c,f)===!1)return}l=l.parent}if(i){it(),nn(i,null,10,[e,c,f]),ot();return}}jl(e,n,r,s,o)}function jl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const we=[];let Ue=-1;const Ot=[];let Qe=null,Et=0;const Ii=Promise.resolve();let Mn=null;function Kn(e){const t=Mn||Ii;return e?t.then(this?e.bind(this):e):t}function Vl(e){let t=Ue+1,n=we.length;for(;t<n;){const s=t+n>>>1,r=we[s],i=Xt(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Qs(e){if(!(e.flags&1)){const t=Xt(e),n=we[we.length-1];!n||!(e.flags&2)&&t>=Xt(n)?we.push(e):we.splice(Vl(t),0,e),e.flags|=1,Ni()}}function Ni(){Mn||(Mn=Ii.then(Fi))}function Ul(e){K(e)?Ot.push(...e):Qe&&e.id===-1?Qe.splice(Et+1,0,e):e.flags&1||(Ot.push(e),e.flags|=1),Ni()}function yr(e,t,n=Ue+1){for(;n<we.length;n++){const s=we[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;we.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Pn(e){if(Ot.length){const t=[...new Set(Ot)].sort((n,s)=>Xt(n)-Xt(s));if(Ot.length=0,Qe){Qe.push(...t);return}for(Qe=t,Et=0;Et<Qe.length;Et++){const n=Qe[Et];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Qe=null,Et=0}}const Xt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Fi(e){try{for(Ue=0;Ue<we.length;Ue++){const t=we[Ue];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),nn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ue<we.length;Ue++){const t=we[Ue];t&&(t.flags&=-2)}Ue=-1,we.length=0,Pn(),Mn=null,(we.length||Ot.length)&&Fi()}}let de=null,Hi=null;function Ln(e){const t=de;return de=e,Hi=e&&e.type.__scopeId||null,t}function Bl(e,t=de,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Pr(-1);const i=Ln(t);let o;try{o=e(...r)}finally{Ln(i),s._d&&Pr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function xf(e,t){if(de===null)return e;const n=Jn(de),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=ee]=t[r];i&&(q(i)&&(i={mounted:i,updated:i}),i.deep&&Ge(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function Be(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(it(),$e(c,n,8,[e.el,l,e,t]),ot())}}const Di=Symbol("_vte"),$i=e=>e.__isTeleport,Bt=e=>e&&(e.disabled||e.disabled===""),kl=e=>e&&(e.defer||e.defer===""),vr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,br=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Rs=(e,t)=>{const n=e&&e.to;return oe(n)?t?t(n):null:n},Wl={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,f){const{mc:a,pc:d,pbc:g,o:{insert:v,querySelector:w,createText:b,createComment:H}}=f,I=Bt(t.props);let{shapeFlag:F,children:p,dynamicChildren:m}=t;if(e==null){const M=t.el=b(""),D=t.anchor=b("");v(M,n,s),v(D,n,s);const j=(R,_)=>{F&16&&(r&&r.isCE&&(r.ce._teleportTarget=R),a(p,R,_,r,i,o,l,c))},U=()=>{const R=t.target=Rs(t.props,w),_=ji(R,t,b,v);R&&(o!=="svg"&&vr(R)?o="svg":o!=="mathml"&&br(R)&&(o="mathml"),I||(j(R,_),xn(t,!1)))};I&&(j(n,D),xn(t,!0)),kl(t.props)?xe(U,i):U()}else{t.el=e.el,t.targetStart=e.targetStart;const M=t.anchor=e.anchor,D=t.target=e.target,j=t.targetAnchor=e.targetAnchor,U=Bt(e.props),R=U?n:D,_=U?M:j;if(o==="svg"||vr(D)?o="svg":(o==="mathml"||br(D))&&(o="mathml"),m?(g(e.dynamicChildren,m,R,r,i,o,l),rr(e,t,!0)):c||d(e,t,R,_,r,i,o,l,!1),I)U?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):hn(t,n,M,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=Rs(t.props,w);N&&hn(t,N,null,f,0)}else U&&hn(t,D,j,f,1);xn(t,I)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:f,targetAnchor:a,target:d,props:g}=e;if(d&&(r(f),r(a)),i&&r(c),o&16){const v=i||!Bt(g);for(let w=0;w<l.length;w++){const b=l[w];s(b,t,n,v,!!b.dynamicChildren)}}},move:hn,hydrate:Kl};function hn(e,t,n,{o:{insert:s},m:r},i=2){i===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:c,children:f,props:a}=e,d=i===2;if(d&&s(o,t,n),(!d||Bt(a))&&c&16)for(let g=0;g<f.length;g++)r(f[g],t,n,2);d&&s(l,t,n)}function Kl(e,t,n,s,r,i,{o:{nextSibling:o,parentNode:l,querySelector:c,insert:f,createText:a}},d){const g=t.target=Rs(t.props,c);if(g){const v=Bt(t.props),w=g._lpa||g.firstChild;if(t.shapeFlag&16)if(v)t.anchor=d(o(e),t,l(e),n,s,r,i),t.targetStart=w,t.targetAnchor=w&&o(w);else{t.anchor=o(e);let b=w;for(;b;){if(b&&b.nodeType===8){if(b.data==="teleport start anchor")t.targetStart=b;else if(b.data==="teleport anchor"){t.targetAnchor=b,g._lpa=t.targetAnchor&&o(t.targetAnchor);break}}b=o(b)}t.targetAnchor||ji(g,t,a,f),d(w&&o(w),t,g,n,s,r,i)}xn(t,v)}return t.anchor&&o(t.anchor)}const Tf=Wl;function xn(e,t){const n=e.ctx;if(n&&n.ut){let s,r;for(t?(s=e.el,r=e.anchor):(s=e.targetStart,r=e.targetAnchor);s&&s!==r;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function ji(e,t,n,s){const r=t.targetStart=n(""),i=t.targetAnchor=n("");return r[Di]=i,e&&(s(r,e),s(i,e)),i}const Ze=Symbol("_leaveCb"),pn=Symbol("_enterCb");function ql(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return It(()=>{e.isMounted=!0}),qi(()=>{e.isUnmounting=!0}),e}const Me=[Function,Array],Vi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Me,onEnter:Me,onAfterEnter:Me,onEnterCancelled:Me,onBeforeLeave:Me,onLeave:Me,onAfterLeave:Me,onLeaveCancelled:Me,onBeforeAppear:Me,onAppear:Me,onAfterAppear:Me,onAppearCancelled:Me},Ui=e=>{const t=e.subTree;return t.component?Ui(t.component):t},Gl={name:"BaseTransition",props:Vi,setup(e,{slots:t}){const n=zn(),s=ql();return()=>{const r=t.default&&Wi(t.default(),!0);if(!r||!r.length)return;const i=Bi(r),o=z(e),{mode:l}=o;if(s.isLeaving)return os(i);const c=_r(i);if(!c)return os(i);let f=Os(c,o,s,n,g=>f=g);c.type!==ve&&zt(c,f);const a=n.subTree,d=a&&_r(a);if(d&&d.type!==ve&&!dt(c,d)&&Ui(n).type!==ve){const g=Os(d,o,s,n);if(zt(d,g),l==="out-in"&&c.type!==ve)return s.isLeaving=!0,g.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete g.afterLeave},os(i);l==="in-out"&&c.type!==ve&&(g.delayLeave=(v,w,b)=>{const H=ki(s,d);H[String(d.key)]=d,v[Ze]=()=>{w(),v[Ze]=void 0,delete f.delayedLeave},f.delayedLeave=b})}return i}}};function Bi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ve){t=n;break}}return t}const Yl=Gl;function ki(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Os(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:a,onEnterCancelled:d,onBeforeLeave:g,onLeave:v,onAfterLeave:w,onLeaveCancelled:b,onBeforeAppear:H,onAppear:I,onAfterAppear:F,onAppearCancelled:p}=t,m=String(e.key),M=ki(n,e),D=(R,_)=>{R&&$e(R,s,9,_)},j=(R,_)=>{const N=_[1];D(R,_),K(R)?R.every(x=>x.length<=1)&&N():R.length<=1&&N()},U={mode:o,persisted:l,beforeEnter(R){let _=c;if(!n.isMounted)if(i)_=H||c;else return;R[Ze]&&R[Ze](!0);const N=M[m];N&&dt(e,N)&&N.el[Ze]&&N.el[Ze](),D(_,[R])},enter(R){let _=f,N=a,x=d;if(!n.isMounted)if(i)_=I||f,N=F||a,x=p||d;else return;let W=!1;const re=R[pn]=ae=>{W||(W=!0,ae?D(x,[R]):D(N,[R]),U.delayedLeave&&U.delayedLeave(),R[pn]=void 0)};_?j(_,[R,re]):re()},leave(R,_){const N=String(e.key);if(R[pn]&&R[pn](!0),n.isUnmounting)return _();D(g,[R]);let x=!1;const W=R[Ze]=re=>{x||(x=!0,_(),re?D(b,[R]):D(w,[R]),R[Ze]=void 0,M[N]===e&&delete M[N])};M[N]=e,v?j(v,[R,W]):W()},clone(R){const _=Os(R,t,n,s,r);return r&&r(_),_}};return U}function os(e){if(rn(e))return e=nt(e),e.children=null,e}function _r(e){if(!rn(e))return $i(e.type)&&e.children?Bi(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 zt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,zt(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 Wi(e,t=!1,n){let s=[],r=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===Se?(o.patchFlag&128&&r++,s=s.concat(Wi(o.children,t,l))):(t||o.type!==ve)&&s.push(l!=null?nt(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function Zs(e,t){return q(e)?ce({name:e.name},t,{setup:e}):e}function er(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function In(e,t,n,s,r=!1){if(K(e)){e.forEach((w,b)=>In(w,t&&(K(t)?t[b]:t),n,s,r));return}if(gt(s)&&!r)return;const i=s.shapeFlag&4?Jn(s.component):s.el,o=r?null:i,{i:l,r:c}=e,f=t&&t.r,a=l.refs===ee?l.refs={}:l.refs,d=l.setupState,g=z(d),v=d===ee?()=>!1:w=>Q(g,w);if(f!=null&&f!==c&&(oe(f)?(a[f]=null,v(f)&&(d[f]=null)):fe(f)&&(f.value=null)),q(c))nn(c,l,12,[o,a]);else{const w=oe(c),b=fe(c);if(w||b){const H=()=>{if(e.f){const I=w?v(c)?d[c]:a[c]:c.value;r?K(I)&&Us(I,i):K(I)?I.includes(i)||I.push(i):w?(a[c]=[i],v(c)&&(d[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else w?(a[c]=o,v(c)&&(d[c]=o)):b&&(c.value=o,e.k&&(a[e.k]=o))};o?(H.id=-1,xe(H,n)):H()}}}let wr=!1;const St=()=>{wr||(console.error("Hydration completed but contains mismatches."),wr=!0)},Xl=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",zl=e=>e.namespaceURI.includes("MathML"),gn=e=>{if(e.nodeType===1){if(Xl(e))return"svg";if(zl(e))return"mathml"}},Tt=e=>e.nodeType===8;function Jl(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:f}}=e,a=(p,m)=>{if(!m.hasChildNodes()){n(null,p,m),Pn(),m._vnode=p;return}d(m.firstChild,p,null,null,null),Pn(),m._vnode=p},d=(p,m,M,D,j,U=!1)=>{U=U||!!m.dynamicChildren;const R=Tt(p)&&p.data==="[",_=()=>b(p,m,M,D,j,R),{type:N,ref:x,shapeFlag:W,patchFlag:re}=m;let ae=p.nodeType;m.el=p,re===-2&&(U=!1,m.dynamicChildren=null);let B=null;switch(N){case mt:ae!==3?m.children===""?(c(m.el=r(""),o(p),p),B=p):B=_():(p.data!==m.children&&(St(),p.data=m.children),B=i(p));break;case ve:F(p)?(B=i(p),I(m.el=p.content.firstChild,p,M)):ae!==8||R?B=_():B=i(p);break;case Wt:if(R&&(p=i(p),ae=p.nodeType),ae===1||ae===3){B=p;const Y=!m.children.length;for(let V=0;V<m.staticCount;V++)Y&&(m.children+=B.nodeType===1?B.outerHTML:B.data),V===m.staticCount-1&&(m.anchor=B),B=i(B);return R?i(B):B}else _();break;case Se:R?B=w(p,m,M,D,j,U):B=_();break;default:if(W&1)(ae!==1||m.type.toLowerCase()!==p.tagName.toLowerCase())&&!F(p)?B=_():B=g(p,m,M,D,j,U);else if(W&6){m.slotScopeIds=j;const Y=o(p);if(R?B=H(p):Tt(p)&&p.data==="teleport start"?B=H(p,p.data,"teleport end"):B=i(p),t(m,Y,null,M,D,gn(Y),U),gt(m)){let V;R?(V=le(Se),V.anchor=B?B.previousSibling:Y.lastChild):V=p.nodeType===3?vo(""):le("div"),V.el=p,m.component.subTree=V}}else W&64?ae!==8?B=_():B=m.type.hydrate(p,m,M,D,j,U,e,v):W&128&&(B=m.type.hydrate(p,m,M,D,gn(o(p)),j,U,e,d))}return x!=null&&In(x,null,D,m),B},g=(p,m,M,D,j,U)=>{U=U||!!m.dynamicChildren;const{type:R,props:_,patchFlag:N,shapeFlag:x,dirs:W,transition:re}=m,ae=R==="input"||R==="option";if(ae||N!==-1){W&&Be(m,null,M,"created");let B=!1;if(F(p)){B=co(null,re)&&M&&M.vnode.props&&M.vnode.props.appear;const V=p.content.firstChild;B&&re.beforeEnter(V),I(V,p,M),m.el=p=V}if(x&16&&!(_&&(_.innerHTML||_.textContent))){let V=v(p.firstChild,m,p,M,D,j,U);for(;V;){mn(p,1)||St();const he=V;V=V.nextSibling,l(he)}}else if(x&8){let V=m.children;V[0]===`
|
|
14
|
-
`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(V=V.slice(1)),p.textContent!==V&&(mn(p,0)||St(),p.textContent=m.children)}if(_){if(ae||!U||N&48){const V=p.tagName.includes("-");for(const he in _)(ae&&(he.endsWith("value")||he==="indeterminate")||tn(he)&&!Rt(he)||he[0]==="."||V)&&s(p,he,null,_[he],void 0,M)}else if(_.onClick)s(p,"onClick",null,_.onClick,void 0,M);else if(N&4&&pt(_.style))for(const V in _.style)_.style[V]}let Y;(Y=_&&_.onVnodeBeforeMount)&&Pe(Y,M,m),W&&Be(m,null,M,"beforeMount"),((Y=_&&_.onVnodeMounted)||W||B)&&po(()=>{Y&&Pe(Y,M,m),B&&re.enter(p),W&&Be(m,null,M,"mounted")},D)}return p.nextSibling},v=(p,m,M,D,j,U,R)=>{R=R||!!m.dynamicChildren;const _=m.children,N=_.length;for(let x=0;x<N;x++){const W=R?_[x]:_[x]=Le(_[x]),re=W.type===mt;p?(re&&!R&&x+1<N&&Le(_[x+1]).type===mt&&(c(r(p.data.slice(W.children.length)),M,i(p)),p.data=W.children),p=d(p,W,D,j,U,R)):re&&!W.children?c(W.el=r(""),M):(mn(M,1)||St(),n(null,W,M,null,D,j,gn(M),U))}return p},w=(p,m,M,D,j,U)=>{const{slotScopeIds:R}=m;R&&(j=j?j.concat(R):R);const _=o(p),N=v(i(p),m,_,M,D,j,U);return N&&Tt(N)&&N.data==="]"?i(m.anchor=N):(St(),c(m.anchor=f("]"),_,N),N)},b=(p,m,M,D,j,U)=>{if(mn(p.parentElement,1)||St(),m.el=null,U){const N=H(p);for(;;){const x=i(p);if(x&&x!==N)l(x);else break}}const R=i(p),_=o(p);return l(p),n(null,m,_,R,M,D,gn(_),j),R},H=(p,m="[",M="]")=>{let D=0;for(;p;)if(p=i(p),p&&Tt(p)&&(p.data===m&&D++,p.data===M)){if(D===0)return i(p);D--}return p},I=(p,m,M)=>{const D=m.parentNode;D&&D.replaceChild(p,m);let j=M;for(;j;)j.vnode.el===m&&(j.vnode.el=j.subTree.el=p),j=j.parent},F=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,d]}const Sr="data-allow-mismatch",Ql={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function mn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Sr);)e=e.parentElement;const n=e&&e.getAttribute(Sr);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:n.split(",").includes(Ql[t])}}Vn().requestIdleCallback;Vn().cancelIdleCallback;function Zl(e,t){if(Tt(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(Tt(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const gt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Cf(e){q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let f=null,a,d=0;const g=()=>(d++,f=null,v()),v=()=>{let w;return f||(w=f=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),c)return new Promise((H,I)=>{c(b,()=>H(g()),()=>I(b),d+1)});throw b}).then(b=>w!==f&&f?f:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),a=b,b)))};return Zs({name:"AsyncComponentWrapper",__asyncLoader:v,__asyncHydrate(w,b,H){const I=i?()=>{const F=i(H,p=>Zl(w,p));F&&(b.bum||(b.bum=[])).push(F)}:H;a?I():v().then(()=>!b.isUnmounted&&I())},get __asyncResolved(){return a},setup(){const w=ue;if(er(w),a)return()=>ls(a,w);const b=p=>{f=null,sn(p,w,13,!s)};if(l&&w.suspense||Lt)return v().then(p=>()=>ls(p,w)).catch(p=>(b(p),()=>s?le(s,{error:p}):null));const H=J(!1),I=J(),F=J(!!r);return r&&setTimeout(()=>{F.value=!1},r),o!=null&&setTimeout(()=>{if(!H.value&&!I.value){const p=new Error(`Async component timed out after ${o}ms.`);b(p),I.value=p}},o),v().then(()=>{H.value=!0,w.parent&&rn(w.parent.vnode)&&w.parent.update()}).catch(p=>{b(p),I.value=p}),()=>{if(H.value&&a)return ls(a,w);if(I.value&&s)return le(s,{error:I.value});if(n&&!F.value)return le(n)}}})}function ls(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=le(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const rn=e=>e.type.__isKeepAlive;function ec(e,t){Ki(e,"a",t)}function tc(e,t){Ki(e,"da",t)}function Ki(e,t,n=ue){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(qn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)rn(r.parent.vnode)&&nc(s,t,n,r),r=r.parent}}function nc(e,t,n,s){const r=qn(t,e,s,!0);Gn(()=>{Us(s[t],r)},n)}function qn(e,t,n=ue,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{it();const l=on(n),c=$e(t,n,e,o);return l(),ot(),c});return s?r.unshift(i):r.push(i),i}}const Xe=e=>(t,n=ue)=>{(!Lt||e==="sp")&&qn(e,(...s)=>t(...s),n)},sc=Xe("bm"),It=Xe("m"),rc=Xe("bu"),ic=Xe("u"),qi=Xe("bum"),Gn=Xe("um"),oc=Xe("sp"),lc=Xe("rtg"),cc=Xe("rtc");function ac(e,t=ue){qn("ec",e,t)}const tr="components";function Af(e,t){return Yi(tr,e,!0,t)||e}const Gi=Symbol.for("v-ndc");function Rf(e){return oe(e)?Yi(tr,e,!1)||e:e||Gi}function Yi(e,t,n=!0,s=!1){const r=de||ue;if(r){const i=r.type;if(e===tr){const l=Yc(i,!1);if(l&&(l===t||l===Fe(t)||l===jn(Fe(t))))return i}const o=Er(r[e]||i[e],t)||Er(r.appContext[e],t);return!o&&s?i:o}}function Er(e,t){return e&&(e[t]||e[Fe(t)]||e[jn(Fe(t))])}function Of(e,t,n,s){let r;const i=n,o=K(e);if(o||oe(e)){const l=o&&pt(e);let c=!1;l&&(c=!Ie(e),e=Bn(e)),r=new Array(e.length);for(let f=0,a=e.length;f<a;f++)r[f]=t(c?ye(e[f]):e[f],f,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(se(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,f=l.length;c<f;c++){const a=l[c];r[c]=t(e[a],a,c,i)}}else r=[];return r}function Mf(e,t,n={},s,r){if(de.ce||de.parent&>(de.parent)&&de.parent.ce)return t!=="default"&&(n.name=t),Ns(),Fs(Se,null,[le("slot",n,s&&s())],64);let i=e[t];i&&i._c&&(i._d=!1),Ns();const o=i&&Xi(i(n)),l=n.key||o&&o.key,c=Fs(Se,{key:(l&&!Ye(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Xi(e){return e.some(t=>Qt(t)?!(t.type===ve||t.type===Se&&!Xi(t.children)):!0)?e:null}function Pf(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:wn(s)]=e[s];return n}const Ms=e=>e?bo(e)?Jn(e):Ms(e.parent):null,kt=ce(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=>Ms(e.parent),$root:e=>Ms(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>nr(e),$forceUpdate:e=>e.f||(e.f=()=>{Qs(e.update)}),$nextTick:e=>e.n||(e.n=Kn.bind(e.proxy)),$watch:e=>Pc.bind(e)}),cs=(e,t)=>e!==ee&&!e.__isScriptSetup&&Q(e,t),fc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(cs(s,t))return o[t]=1,s[t];if(r!==ee&&Q(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&Q(f,t))return o[t]=3,i[t];if(n!==ee&&Q(n,t))return o[t]=4,n[t];Ps&&(o[t]=0)}}const a=kt[t];let d,g;if(a)return t==="$attrs"&&me(e.attrs,"get",""),a(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==ee&&Q(n,t))return o[t]=4,n[t];if(g=c.config.globalProperties,Q(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return cs(r,t)?(r[t]=n,!0):s!==ee&&Q(s,t)?(s[t]=n,!0):Q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==ee&&Q(e,o)||cs(t,o)||(l=i[0])&&Q(l,o)||Q(s,o)||Q(kt,o)||Q(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Lf(){return uc().slots}function uc(){const e=zn();return e.setupContext||(e.setupContext=wo(e))}function xr(e){return K(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ps=!0;function dc(e){const t=nr(e),n=e.proxy,s=e.ctx;Ps=!1,t.beforeCreate&&Tr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:f,created:a,beforeMount:d,mounted:g,beforeUpdate:v,updated:w,activated:b,deactivated:H,beforeDestroy:I,beforeUnmount:F,destroyed:p,unmounted:m,render:M,renderTracked:D,renderTriggered:j,errorCaptured:U,serverPrefetch:R,expose:_,inheritAttrs:N,components:x,directives:W,filters:re}=t;if(f&&hc(f,s,null),o)for(const Y in o){const V=o[Y];q(V)&&(s[Y]=V.bind(n))}if(r){const Y=r.call(n,n);se(Y)&&(e.data=kn(Y))}if(Ps=!0,i)for(const Y in i){const V=i[Y],he=q(V)?V.bind(n,n):q(V.get)?V.get.bind(n,n):ke,cn=!q(V)&&q(V.set)?V.set.bind(n):ke,lt=ie({get:he,set:cn});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>lt.value,set:je=>lt.value=je})}if(l)for(const Y in l)zi(l[Y],s,n,Y);if(c){const Y=q(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(V=>{bc(V,Y[V])})}a&&Tr(a,e,"c");function B(Y,V){K(V)?V.forEach(he=>Y(he.bind(n))):V&&Y(V.bind(n))}if(B(sc,d),B(It,g),B(rc,v),B(ic,w),B(ec,b),B(tc,H),B(ac,U),B(cc,D),B(lc,j),B(qi,F),B(Gn,m),B(oc,R),K(_))if(_.length){const Y=e.exposed||(e.exposed={});_.forEach(V=>{Object.defineProperty(Y,V,{get:()=>n[V],set:he=>n[V]=he})})}else e.exposed||(e.exposed={});M&&e.render===ke&&(e.render=M),N!=null&&(e.inheritAttrs=N),x&&(e.components=x),W&&(e.directives=W),R&&er(e)}function hc(e,t,n=ke){K(e)&&(e=Ls(e));for(const s in e){const r=e[s];let i;se(r)?"default"in r?i=Pt(r.from||s,r.default,!0):i=Pt(r.from||s):i=Pt(r),fe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Tr(e,t,n){$e(K(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function zi(e,t,n,s){let r=s.includes(".")?fo(n,s):()=>n[s];if(oe(e)){const i=t[e];q(i)&&Ee(r,i)}else if(q(e))Ee(r,e.bind(n));else if(se(e))if(K(e))e.forEach(i=>zi(i,t,n,s));else{const i=q(e.handler)?e.handler.bind(n):t[e.handler];q(i)&&Ee(r,i,e)}}function nr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Nn(c,f,o,!0)),Nn(c,t,o)),se(t)&&i.set(t,c),c}function Nn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Nn(e,i,n,!0),r&&r.forEach(o=>Nn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=pc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const pc={data:Cr,props:Ar,emits:Ar,methods:jt,computed:jt,beforeCreate:be,created:be,beforeMount:be,mounted:be,beforeUpdate:be,updated:be,beforeDestroy:be,beforeUnmount:be,destroyed:be,unmounted:be,activated:be,deactivated:be,errorCaptured:be,serverPrefetch:be,components:jt,directives:jt,watch:mc,provide:Cr,inject:gc};function Cr(e,t){return t?e?function(){return ce(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function gc(e,t){return jt(Ls(e),Ls(t))}function Ls(e){if(K(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function be(e,t){return e?[...new Set([].concat(e,t))]:t}function jt(e,t){return e?ce(Object.create(null),e,t):t}function Ar(e,t){return e?K(e)&&K(t)?[...new Set([...e,...t])]:ce(Object.create(null),xr(e),xr(t??{})):t}function mc(e,t){if(!e)return t;if(!t)return e;const n=ce(Object.create(null),e);for(const s in t)n[s]=be(e[s],t[s]);return n}function Ji(){return{app:null,config:{isNativeTag:qo,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 yc=0;function vc(e,t){return function(s,r=null){q(s)||(s=ce({},s)),r!=null&&!se(r)&&(r=null);const i=Ji(),o=new WeakSet,l=[];let c=!1;const f=i.app={_uid:yc++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:zc,get config(){return i.config},set config(a){},use(a,...d){return o.has(a)||(a&&q(a.install)?(o.add(a),a.install(f,...d)):q(a)&&(o.add(a),a(f,...d))),f},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),f},component(a,d){return d?(i.components[a]=d,f):i.components[a]},directive(a,d){return d?(i.directives[a]=d,f):i.directives[a]},mount(a,d,g){if(!c){const v=f._ceVNode||le(s,r);return v.appContext=i,g===!0?g="svg":g===!1&&(g=void 0),d&&t?t(v,a):e(v,a,g),c=!0,f._container=a,a.__vue_app__=f,Jn(v.component)}},onUnmount(a){l.push(a)},unmount(){c&&($e(l,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(a,d){return i.provides[a]=d,f},runWithContext(a){const d=Mt;Mt=f;try{return a()}finally{Mt=d}}};return f}}let Mt=null;function bc(e,t){if(ue){let n=ue.provides;const s=ue.parent&&ue.parent.provides;s===n&&(n=ue.provides=Object.create(s)),n[e]=t}}function Pt(e,t,n=!1){const s=ue||de;if(s||Mt){const r=Mt?Mt._context.provides:s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&q(t)?t.call(s&&s.proxy):t}}const Qi={},Zi=()=>Object.create(Qi),eo=e=>Object.getPrototypeOf(e)===Qi;function _c(e,t,n,s=!1){const r={},i=Zi();e.propsDefaults=Object.create(null),to(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Cl(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function wc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=z(r),[c]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let d=0;d<a.length;d++){let g=a[d];if(Xn(e.emitsOptions,g))continue;const v=t[g];if(c)if(Q(i,g))v!==i[g]&&(i[g]=v,f=!0);else{const w=Fe(g);r[w]=Is(c,l,w,v,e,!1)}else v!==i[g]&&(i[g]=v,f=!0)}}}else{to(e,t,r,i)&&(f=!0);let a;for(const d in l)(!t||!Q(t,d)&&((a=rt(d))===d||!Q(t,a)))&&(c?n&&(n[d]!==void 0||n[a]!==void 0)&&(r[d]=Is(c,l,d,void 0,e,!0)):delete r[d]);if(i!==l)for(const d in i)(!t||!Q(t,d))&&(delete i[d],f=!0)}f&&qe(e.attrs,"set","")}function to(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(Rt(c))continue;const f=t[c];let a;r&&Q(r,a=Fe(c))?!i||!i.includes(a)?n[a]=f:(l||(l={}))[a]=f:Xn(e.emitsOptions,c)||(!(c in s)||f!==s[c])&&(s[c]=f,o=!0)}if(i){const c=z(n),f=l||ee;for(let a=0;a<i.length;a++){const d=i[a];n[d]=Is(r,c,d,f[d],e,!Q(f,d))}}return o}function Is(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=Q(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&q(c)){const{propsDefaults:f}=r;if(n in f)s=f[n];else{const a=on(r);s=f[n]=c.call(null,t),a()}}else s=c;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===rt(n))&&(s=!0))}return s}const Sc=new WeakMap;function no(e,t,n=!1){const s=n?Sc:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!q(e)){const a=d=>{c=!0;const[g,v]=no(d,t,!0);ce(o,g),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return se(e)&&s.set(e,Ct),Ct;if(K(i))for(let a=0;a<i.length;a++){const d=Fe(i[a]);Rr(d)&&(o[d]=ee)}else if(i)for(const a in i){const d=Fe(a);if(Rr(d)){const g=i[a],v=o[d]=K(g)||q(g)?{type:g}:ce({},g),w=v.type;let b=!1,H=!0;if(K(w))for(let I=0;I<w.length;++I){const F=w[I],p=q(F)&&F.name;if(p==="Boolean"){b=!0;break}else p==="String"&&(H=!1)}else b=q(w)&&w.name==="Boolean";v[0]=b,v[1]=H,(b||Q(v,"default"))&&l.push(d)}}const f=[o,l];return se(e)&&s.set(e,f),f}function Rr(e){return e[0]!=="$"&&!Rt(e)}const so=e=>e[0]==="_"||e==="$stable",sr=e=>K(e)?e.map(Le):[Le(e)],Ec=(e,t,n)=>{if(t._n)return t;const s=Bl((...r)=>sr(t(...r)),n);return s._c=!1,s},ro=(e,t,n)=>{const s=e._ctx;for(const r in e){if(so(r))continue;const i=e[r];if(q(i))t[r]=Ec(r,i,s);else if(i!=null){const o=sr(i);t[r]=()=>o}}},io=(e,t)=>{const n=sr(t);e.slots.default=()=>n},oo=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},xc=(e,t,n)=>{const s=e.slots=Zi();if(e.vnode.shapeFlag&32){const r=t._;r?(oo(s,t,n),n&&ui(s,"_",r,!0)):ro(t,s)}else t&&io(e,t)},Tc=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=ee;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:oo(r,t,n):(i=!t.$stable,ro(t,r)),o=t}else t&&(io(e,t),o={default:1});if(i)for(const l in r)!so(l)&&o[l]==null&&delete r[l]},xe=po;function Cc(e){return lo(e)}function Ac(e){return lo(e,Jl)}function lo(e,t){const n=Vn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:f,setElementText:a,parentNode:d,nextSibling:g,setScopeId:v=ke,insertStaticContent:w}=e,b=(u,h,y,T=null,S=null,E=null,P=void 0,O=null,A=!!h.dynamicChildren)=>{if(u===h)return;u&&!dt(u,h)&&(T=an(u),je(u,S,E,!0),u=null),h.patchFlag===-2&&(A=!1,h.dynamicChildren=null);const{type:C,ref:k,shapeFlag:L}=h;switch(C){case mt:H(u,h,y,T);break;case ve:I(u,h,y,T);break;case Wt:u==null&&F(h,y,T,P);break;case Se:x(u,h,y,T,S,E,P,O,A);break;default:L&1?M(u,h,y,T,S,E,P,O,A):L&6?W(u,h,y,T,S,E,P,O,A):(L&64||L&128)&&C.process(u,h,y,T,S,E,P,O,A,_t)}k!=null&&S&&In(k,u&&u.ref,E,h||u,!h)},H=(u,h,y,T)=>{if(u==null)s(h.el=l(h.children),y,T);else{const S=h.el=u.el;h.children!==u.children&&f(S,h.children)}},I=(u,h,y,T)=>{u==null?s(h.el=c(h.children||""),y,T):h.el=u.el},F=(u,h,y,T)=>{[u.el,u.anchor]=w(u.children,h,y,T,u.el,u.anchor)},p=({el:u,anchor:h},y,T)=>{let S;for(;u&&u!==h;)S=g(u),s(u,y,T),u=S;s(h,y,T)},m=({el:u,anchor:h})=>{let y;for(;u&&u!==h;)y=g(u),r(u),u=y;r(h)},M=(u,h,y,T,S,E,P,O,A)=>{h.type==="svg"?P="svg":h.type==="math"&&(P="mathml"),u==null?D(h,y,T,S,E,P,O,A):R(u,h,S,E,P,O,A)},D=(u,h,y,T,S,E,P,O)=>{let A,C;const{props:k,shapeFlag:L,transition:$,dirs:G}=u;if(A=u.el=o(u.type,E,k&&k.is,k),L&8?a(A,u.children):L&16&&U(u.children,A,null,T,S,as(u,E),P,O),G&&Be(u,null,T,"created"),j(A,u,u.scopeId,P,T),k){for(const te in k)te!=="value"&&!Rt(te)&&i(A,te,null,k[te],E,T);"value"in k&&i(A,"value",null,k.value,E),(C=k.onVnodeBeforeMount)&&Pe(C,T,u)}G&&Be(u,null,T,"beforeMount");const X=co(S,$);X&&$.beforeEnter(A),s(A,h,y),((C=k&&k.onVnodeMounted)||X||G)&&xe(()=>{C&&Pe(C,T,u),X&&$.enter(A),G&&Be(u,null,T,"mounted")},S)},j=(u,h,y,T,S)=>{if(y&&v(u,y),T)for(let E=0;E<T.length;E++)v(u,T[E]);if(S){let E=S.subTree;if(h===E||ho(E.type)&&(E.ssContent===h||E.ssFallback===h)){const P=S.vnode;j(u,P,P.scopeId,P.slotScopeIds,S.parent)}}},U=(u,h,y,T,S,E,P,O,A=0)=>{for(let C=A;C<u.length;C++){const k=u[C]=O?et(u[C]):Le(u[C]);b(null,k,h,y,T,S,E,P,O)}},R=(u,h,y,T,S,E,P)=>{const O=h.el=u.el;let{patchFlag:A,dynamicChildren:C,dirs:k}=h;A|=u.patchFlag&16;const L=u.props||ee,$=h.props||ee;let G;if(y&&ct(y,!1),(G=$.onVnodeBeforeUpdate)&&Pe(G,y,h,u),k&&Be(h,u,y,"beforeUpdate"),y&&ct(y,!0),(L.innerHTML&&$.innerHTML==null||L.textContent&&$.textContent==null)&&a(O,""),C?_(u.dynamicChildren,C,O,y,T,as(h,S),E):P||V(u,h,O,null,y,T,as(h,S),E,!1),A>0){if(A&16)N(O,L,$,y,S);else if(A&2&&L.class!==$.class&&i(O,"class",null,$.class,S),A&4&&i(O,"style",L.style,$.style,S),A&8){const X=h.dynamicProps;for(let te=0;te<X.length;te++){const Z=X[te],Te=L[Z],pe=$[Z];(pe!==Te||Z==="value")&&i(O,Z,Te,pe,S,y)}}A&1&&u.children!==h.children&&a(O,h.children)}else!P&&C==null&&N(O,L,$,y,S);((G=$.onVnodeUpdated)||k)&&xe(()=>{G&&Pe(G,y,h,u),k&&Be(h,u,y,"updated")},T)},_=(u,h,y,T,S,E,P)=>{for(let O=0;O<h.length;O++){const A=u[O],C=h[O],k=A.el&&(A.type===Se||!dt(A,C)||A.shapeFlag&70)?d(A.el):y;b(A,C,k,null,T,S,E,P,!0)}},N=(u,h,y,T,S)=>{if(h!==y){if(h!==ee)for(const E in h)!Rt(E)&&!(E in y)&&i(u,E,h[E],null,S,T);for(const E in y){if(Rt(E))continue;const P=y[E],O=h[E];P!==O&&E!=="value"&&i(u,E,O,P,S,T)}"value"in y&&i(u,"value",h.value,y.value,S)}},x=(u,h,y,T,S,E,P,O,A)=>{const C=h.el=u?u.el:l(""),k=h.anchor=u?u.anchor:l("");let{patchFlag:L,dynamicChildren:$,slotScopeIds:G}=h;G&&(O=O?O.concat(G):G),u==null?(s(C,y,T),s(k,y,T),U(h.children||[],y,k,S,E,P,O,A)):L>0&&L&64&&$&&u.dynamicChildren?(_(u.dynamicChildren,$,y,S,E,P,O),(h.key!=null||S&&h===S.subTree)&&rr(u,h,!0)):V(u,h,y,k,S,E,P,O,A)},W=(u,h,y,T,S,E,P,O,A)=>{h.slotScopeIds=O,u==null?h.shapeFlag&512?S.ctx.activate(h,y,T,P,A):re(h,y,T,S,E,P,A):ae(u,h,A)},re=(u,h,y,T,S,E,P)=>{const O=u.component=Wc(u,T,S);if(rn(u)&&(O.ctx.renderer=_t),Kc(O,!1,P),O.asyncDep){if(S&&S.registerDep(O,B,P),!u.el){const A=O.subTree=le(ve);I(null,A,h,y)}}else B(O,u,h,y,S,E,P)},ae=(u,h,y)=>{const T=h.component=u.component;if(Hc(u,h,y))if(T.asyncDep&&!T.asyncResolved){Y(T,h,y);return}else T.next=h,T.update();else h.el=u.el,T.vnode=h},B=(u,h,y,T,S,E,P)=>{const O=()=>{if(u.isMounted){let{next:L,bu:$,u:G,parent:X,vnode:te}=u;{const Ce=ao(u);if(Ce){L&&(L.el=te.el,Y(u,L,P)),Ce.asyncDep.then(()=>{u.isUnmounted||O()});return}}let Z=L,Te;ct(u,!1),L?(L.el=te.el,Y(u,L,P)):L=te,$&&Sn($),(Te=L.props&&L.props.onVnodeBeforeUpdate)&&Pe(Te,X,L,te),ct(u,!0);const pe=fs(u),He=u.subTree;u.subTree=pe,b(He,pe,d(He.el),an(He),u,S,E),L.el=pe.el,Z===null&&Dc(u,pe.el),G&&xe(G,S),(Te=L.props&&L.props.onVnodeUpdated)&&xe(()=>Pe(Te,X,L,te),S)}else{let L;const{el:$,props:G}=h,{bm:X,m:te,parent:Z,root:Te,type:pe}=u,He=gt(h);if(ct(u,!1),X&&Sn(X),!He&&(L=G&&G.onVnodeBeforeMount)&&Pe(L,Z,h),ct(u,!0),$&&ts){const Ce=()=>{u.subTree=fs(u),ts($,u.subTree,u,S,null)};He&&pe.__asyncHydrate?pe.__asyncHydrate($,u,Ce):Ce()}else{Te.ce&&Te.ce._injectChildStyle(pe);const Ce=u.subTree=fs(u);b(null,Ce,y,T,u,S,E),h.el=Ce.el}if(te&&xe(te,S),!He&&(L=G&&G.onVnodeMounted)){const Ce=h;xe(()=>Pe(L,Z,Ce),S)}(h.shapeFlag&256||Z&>(Z.vnode)&&Z.vnode.shapeFlag&256)&&u.a&&xe(u.a,S),u.isMounted=!0,h=y=T=null}};u.scope.on();const A=u.effect=new mi(O);u.scope.off();const C=u.update=A.run.bind(A),k=u.job=A.runIfDirty.bind(A);k.i=u,k.id=u.uid,A.scheduler=()=>Qs(k),ct(u,!0),C()},Y=(u,h,y)=>{h.component=u;const T=u.vnode.props;u.vnode=h,u.next=null,wc(u,h.props,T,y),Tc(u,h.children,y),it(),yr(u),ot()},V=(u,h,y,T,S,E,P,O,A=!1)=>{const C=u&&u.children,k=u?u.shapeFlag:0,L=h.children,{patchFlag:$,shapeFlag:G}=h;if($>0){if($&128){cn(C,L,y,T,S,E,P,O,A);return}else if($&256){he(C,L,y,T,S,E,P,O,A);return}}G&8?(k&16&&Nt(C,S,E),L!==C&&a(y,L)):k&16?G&16?cn(C,L,y,T,S,E,P,O,A):Nt(C,S,E,!0):(k&8&&a(y,""),G&16&&U(L,y,T,S,E,P,O,A))},he=(u,h,y,T,S,E,P,O,A)=>{u=u||Ct,h=h||Ct;const C=u.length,k=h.length,L=Math.min(C,k);let $;for($=0;$<L;$++){const G=h[$]=A?et(h[$]):Le(h[$]);b(u[$],G,y,null,S,E,P,O,A)}C>k?Nt(u,S,E,!0,!1,L):U(h,y,T,S,E,P,O,A,L)},cn=(u,h,y,T,S,E,P,O,A)=>{let C=0;const k=h.length;let L=u.length-1,$=k-1;for(;C<=L&&C<=$;){const G=u[C],X=h[C]=A?et(h[C]):Le(h[C]);if(dt(G,X))b(G,X,y,null,S,E,P,O,A);else break;C++}for(;C<=L&&C<=$;){const G=u[L],X=h[$]=A?et(h[$]):Le(h[$]);if(dt(G,X))b(G,X,y,null,S,E,P,O,A);else break;L--,$--}if(C>L){if(C<=$){const G=$+1,X=G<k?h[G].el:T;for(;C<=$;)b(null,h[C]=A?et(h[C]):Le(h[C]),y,X,S,E,P,O,A),C++}}else if(C>$)for(;C<=L;)je(u[C],S,E,!0),C++;else{const G=C,X=C,te=new Map;for(C=X;C<=$;C++){const Ae=h[C]=A?et(h[C]):Le(h[C]);Ae.key!=null&&te.set(Ae.key,C)}let Z,Te=0;const pe=$-X+1;let He=!1,Ce=0;const Ft=new Array(pe);for(C=0;C<pe;C++)Ft[C]=0;for(C=G;C<=L;C++){const Ae=u[C];if(Te>=pe){je(Ae,S,E,!0);continue}let Ve;if(Ae.key!=null)Ve=te.get(Ae.key);else for(Z=X;Z<=$;Z++)if(Ft[Z-X]===0&&dt(Ae,h[Z])){Ve=Z;break}Ve===void 0?je(Ae,S,E,!0):(Ft[Ve-X]=C+1,Ve>=Ce?Ce=Ve:He=!0,b(Ae,h[Ve],y,null,S,E,P,O,A),Te++)}const dr=He?Rc(Ft):Ct;for(Z=dr.length-1,C=pe-1;C>=0;C--){const Ae=X+C,Ve=h[Ae],hr=Ae+1<k?h[Ae+1].el:T;Ft[C]===0?b(null,Ve,y,hr,S,E,P,O,A):He&&(Z<0||C!==dr[Z]?lt(Ve,y,hr,2):Z--)}}},lt=(u,h,y,T,S=null)=>{const{el:E,type:P,transition:O,children:A,shapeFlag:C}=u;if(C&6){lt(u.component.subTree,h,y,T);return}if(C&128){u.suspense.move(h,y,T);return}if(C&64){P.move(u,h,y,_t);return}if(P===Se){s(E,h,y);for(let L=0;L<A.length;L++)lt(A[L],h,y,T);s(u.anchor,h,y);return}if(P===Wt){p(u,h,y);return}if(T!==2&&C&1&&O)if(T===0)O.beforeEnter(E),s(E,h,y),xe(()=>O.enter(E),S);else{const{leave:L,delayLeave:$,afterLeave:G}=O,X=()=>s(E,h,y),te=()=>{L(E,()=>{X(),G&&G()})};$?$(E,X,te):te()}else s(E,h,y)},je=(u,h,y,T=!1,S=!1)=>{const{type:E,props:P,ref:O,children:A,dynamicChildren:C,shapeFlag:k,patchFlag:L,dirs:$,cacheIndex:G}=u;if(L===-2&&(S=!1),O!=null&&In(O,null,y,u,!0),G!=null&&(h.renderCache[G]=void 0),k&256){h.ctx.deactivate(u);return}const X=k&1&&$,te=!gt(u);let Z;if(te&&(Z=P&&P.onVnodeBeforeUnmount)&&Pe(Z,h,u),k&6)Ko(u.component,y,T);else{if(k&128){u.suspense.unmount(y,T);return}X&&Be(u,null,h,"beforeUnmount"),k&64?u.type.remove(u,h,y,_t,T):C&&!C.hasOnce&&(E!==Se||L>0&&L&64)?Nt(C,h,y,!1,!0):(E===Se&&L&384||!S&&k&16)&&Nt(A,h,y),T&&fr(u)}(te&&(Z=P&&P.onVnodeUnmounted)||X)&&xe(()=>{Z&&Pe(Z,h,u),X&&Be(u,null,h,"unmounted")},y)},fr=u=>{const{type:h,el:y,anchor:T,transition:S}=u;if(h===Se){Wo(y,T);return}if(h===Wt){m(u);return}const E=()=>{r(y),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(u.shapeFlag&1&&S&&!S.persisted){const{leave:P,delayLeave:O}=S,A=()=>P(y,E);O?O(u.el,E,A):A()}else E()},Wo=(u,h)=>{let y;for(;u!==h;)y=g(u),r(u),u=y;r(h)},Ko=(u,h,y)=>{const{bum:T,scope:S,job:E,subTree:P,um:O,m:A,a:C}=u;Or(A),Or(C),T&&Sn(T),S.stop(),E&&(E.flags|=8,je(P,u,h,y)),O&&xe(O,h),xe(()=>{u.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},Nt=(u,h,y,T=!1,S=!1,E=0)=>{for(let P=E;P<u.length;P++)je(u[P],h,y,T,S)},an=u=>{if(u.shapeFlag&6)return an(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const h=g(u.anchor||u.el),y=h&&h[Di];return y?g(y):h};let Zn=!1;const ur=(u,h,y)=>{u==null?h._vnode&&je(h._vnode,null,null,!0):b(h._vnode||null,u,h,null,null,null,y),h._vnode=u,Zn||(Zn=!0,yr(),Pn(),Zn=!1)},_t={p:b,um:je,m:lt,r:fr,mt:re,mc:U,pc:V,pbc:_,n:an,o:e};let es,ts;return t&&([es,ts]=t(_t)),{render:ur,hydrate:es,createApp:vc(ur,es)}}function as({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 ct({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function co(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function rr(e,t,n=!1){const s=e.children,r=t.children;if(K(s)&&K(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=et(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&rr(o,l)),l.type===mt&&(l.el=o.el)}}function Rc(e){const t=e.slice(),n=[0];let s,r,i,o,l;const c=e.length;for(s=0;s<c;s++){const f=e[s];if(f!==0){if(r=n[n.length-1],e[r]<f){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<f?i=l+1:o=l;f<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function ao(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ao(t)}function Or(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Oc=Symbol.for("v-scx"),Mc=()=>Pt(Oc);function ir(e,t){return Yn(e,null,t)}function If(e,t){return Yn(e,null,{flush:"post"})}function Ee(e,t,n){return Yn(e,t,n)}function Yn(e,t,n=ee){const{immediate:s,deep:r,flush:i,once:o}=n,l=ce({},n),c=t&&s||!t&&i!=="post";let f;if(Lt){if(i==="sync"){const v=Mc();f=v.__watcherHandles||(v.__watcherHandles=[])}else if(!c){const v=()=>{};return v.stop=ke,v.resume=ke,v.pause=ke,v}}const a=ue;l.call=(v,w,b)=>$e(v,a,w,b);let d=!1;i==="post"?l.scheduler=v=>{xe(v,a&&a.suspense)}:i!=="sync"&&(d=!0,l.scheduler=(v,w)=>{w?v():Qs(v)}),l.augmentJob=v=>{t&&(v.flags|=4),d&&(v.flags|=2,a&&(v.id=a.uid,v.i=a))};const g=$l(e,t,l);return Lt&&(f?f.push(g):c&&g()),g}function Pc(e,t,n){const s=this.proxy,r=oe(e)?e.includes(".")?fo(s,e):()=>s[e]:e.bind(s,s);let i;q(t)?i=t:(i=t.handler,n=t);const o=on(this),l=Yn(r,i.bind(s),n);return o(),l}function fo(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const Lc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Fe(t)}Modifiers`]||e[`${rt(t)}Modifiers`];function Ic(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ee;let r=n;const i=t.startsWith("update:"),o=i&&Lc(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>oe(a)?a.trim():a)),o.number&&(r=n.map(Es)));let l,c=s[l=wn(t)]||s[l=wn(Fe(t))];!c&&i&&(c=s[l=wn(rt(t))]),c&&$e(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,$e(f,e,6,r)}}function uo(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!q(e)){const c=f=>{const a=uo(f,t,!0);a&&(l=!0,ce(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(se(e)&&s.set(e,null),null):(K(i)?i.forEach(c=>o[c]=null):ce(o,i),se(e)&&s.set(e,o),o)}function Xn(e,t){return!e||!tn(t)?!1:(t=t.slice(2).replace(/Once$/,""),Q(e,t[0].toLowerCase()+t.slice(1))||Q(e,rt(t))||Q(e,t))}function fs(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:f,renderCache:a,props:d,data:g,setupState:v,ctx:w,inheritAttrs:b}=e,H=Ln(e);let I,F;try{if(n.shapeFlag&4){const m=r||s,M=m;I=Le(f.call(M,m,a,d,v,g,w)),F=l}else{const m=t;I=Le(m.length>1?m(d,{attrs:l,slots:o,emit:c}):m(d,null)),F=t.props?l:Nc(l)}}catch(m){Kt.length=0,sn(m,e,1),I=le(ve)}let p=I;if(F&&b!==!1){const m=Object.keys(F),{shapeFlag:M}=p;m.length&&M&7&&(i&&m.some(Vs)&&(F=Fc(F,i)),p=nt(p,F,!1,!0))}return n.dirs&&(p=nt(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&zt(p,n.transition),I=p,Ln(H),I}const Nc=e=>{let t;for(const n in e)(n==="class"||n==="style"||tn(n))&&((t||(t={}))[n]=e[n]);return t},Fc=(e,t)=>{const n={};for(const s in e)(!Vs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Hc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Mr(s,o,f):!!o;if(c&8){const a=t.dynamicProps;for(let d=0;d<a.length;d++){const g=a[d];if(o[g]!==s[g]&&!Xn(f,g))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?Mr(s,o,f):!0:!!o;return!1}function Mr(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!Xn(n,i))return!0}return!1}function Dc({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const ho=e=>e.__isSuspense;function po(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):Ul(e)}const Se=Symbol.for("v-fgt"),mt=Symbol.for("v-txt"),ve=Symbol.for("v-cmt"),Wt=Symbol.for("v-stc"),Kt=[];let Re=null;function Ns(e=!1){Kt.push(Re=e?null:[])}function $c(){Kt.pop(),Re=Kt[Kt.length-1]||null}let Jt=1;function Pr(e){Jt+=e,e<0&&Re&&(Re.hasOnce=!0)}function go(e){return e.dynamicChildren=Jt>0?Re||Ct:null,$c(),Jt>0&&Re&&Re.push(e),e}function Nf(e,t,n,s,r,i){return go(yo(e,t,n,s,r,i,!0))}function Fs(e,t,n,s,r){return go(le(e,t,n,s,r,!0))}function Qt(e){return e?e.__v_isVNode===!0:!1}function dt(e,t){return e.type===t.type&&e.key===t.key}const mo=({key:e})=>e??null,Tn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?oe(e)||fe(e)||q(e)?{i:de,r:e,k:t,f:!!n}:e:null);function yo(e,t=null,n=null,s=0,r=null,i=e===Se?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&mo(t),ref:t&&Tn(t),scopeId:Hi,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:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:de};return l?(or(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=oe(n)?8:16),Jt>0&&!o&&Re&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Re.push(c),c}const le=jc;function jc(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Gi)&&(e=ve),Qt(e)){const l=nt(e,t,!0);return n&&or(l,n),Jt>0&&!i&&Re&&(l.shapeFlag&6?Re[Re.indexOf(e)]=l:Re.push(l)),l.patchFlag=-2,l}if(Xc(e)&&(e=e.__vccOpts),t){t=Vc(t);let{class:l,style:c}=t;l&&!oe(l)&&(t.class=Ws(l)),se(c)&&(zs(c)&&!K(c)&&(c=ce({},c)),t.style=ks(c))}const o=oe(e)?1:ho(e)?128:$i(e)?64:se(e)?4:q(e)?2:0;return yo(e,t,n,s,r,o,i,!0)}function Vc(e){return e?zs(e)||eo(e)?ce({},e):e:null}function nt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,f=t?Uc(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&mo(f),ref:t&&t.ref?n&&i?K(i)?i.concat(Tn(t)):[i,Tn(t)]:Tn(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!==Se?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&&nt(e.ssContent),ssFallback:e.ssFallback&&nt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&zt(a,c.clone(a)),a}function vo(e=" ",t=0){return le(mt,null,e,t)}function Ff(e,t){const n=le(Wt,null,e);return n.staticCount=t,n}function Hf(e="",t=!1){return t?(Ns(),Fs(ve,null,e)):le(ve,null,e)}function Le(e){return e==null||typeof e=="boolean"?le(ve):K(e)?le(Se,null,e.slice()):Qt(e)?et(e):le(mt,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nt(e)}function or(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(K(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),or(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!eo(t)?t._ctx=de:r===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),s&64?(n=16,t=[vo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Uc(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Ws([t.class,s.class]));else if(r==="style")t.style=ks([t.style,s.style]);else if(tn(r)){const i=t[r],o=s[r];o&&i!==o&&!(K(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Pe(e,t,n,s=null){$e(e,t,7,[n,s])}const Bc=Ji();let kc=0;function Wc(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Bc,i={uid:kc++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new il(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:no(s,r),emitsOptions:uo(s,r),emit:null,emitted:null,propsDefaults:ee,inheritAttrs:s.inheritAttrs,ctx:ee,data:ee,props:ee,attrs:ee,slots:ee,refs:ee,setupState:ee,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=Ic.bind(null,i),e.ce&&e.ce(i),i}let ue=null;const zn=()=>ue||de;let Fn,Hs;{const e=Vn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Fn=t("__VUE_INSTANCE_SETTERS__",n=>ue=n),Hs=t("__VUE_SSR_SETTERS__",n=>Lt=n)}const on=e=>{const t=ue;return Fn(e),e.scope.on(),()=>{e.scope.off(),Fn(t)}},Lr=()=>{ue&&ue.scope.off(),Fn(null)};function bo(e){return e.vnode.shapeFlag&4}let Lt=!1;function Kc(e,t=!1,n=!1){t&&Hs(t);const{props:s,children:r}=e.vnode,i=bo(e);_c(e,s,i,t),xc(e,r,n);const o=i?qc(e,t):void 0;return t&&Hs(!1),o}function qc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,fc);const{setup:s}=n;if(s){it();const r=e.setupContext=s.length>1?wo(e):null,i=on(e),o=nn(s,e,0,[e.props,r]),l=ci(o);if(ot(),i(),(l||e.sp)&&!gt(e)&&er(e),l){if(o.then(Lr,Lr),t)return o.then(c=>{Ir(e,c,t)}).catch(c=>{sn(c,e,0)});e.asyncDep=o}else Ir(e,o,t)}else _o(e,t)}function Ir(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)&&(e.setupState=Li(t)),_o(e,n)}let Nr;function _o(e,t,n){const s=e.type;if(!e.render){if(!t&&Nr&&!s.render){const r=s.template||nr(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=ce(ce({isCustomElement:i,delimiters:l},o),c);s.render=Nr(r,f)}}e.render=s.render||ke}{const r=on(e);it();try{dc(e)}finally{ot(),r()}}}const Gc={get(e,t){return me(e,"get",""),e[t]}};function wo(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Gc),slots:e.slots,emit:e.emit,expose:t}}function Jn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Li(En(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in kt)return kt[n](e)},has(t,n){return n in t||n in kt}})):e.proxy}function Yc(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function Xc(e){return q(e)&&"__vccOpts"in e}const ie=(e,t)=>Hl(e,t,Lt);function Ds(e,t,n){const s=arguments.length;return s===2?se(t)&&!K(t)?Qt(t)?le(e,null,[t]):le(e,t):le(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Qt(n)&&(n=[n]),le(e,t,n))}const zc="3.5.12";/**
|
|
15
|
-
* @vue/runtime-dom v3.5.12
|
|
16
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
17
|
-
* @license MIT
|
|
18
|
-
**/let $s;const Fr=typeof window<"u"&&window.trustedTypes;if(Fr)try{$s=Fr.createPolicy("vue",{createHTML:e=>e})}catch{}const So=$s?e=>$s.createHTML(e):e=>e,Jc="http://www.w3.org/2000/svg",Qc="http://www.w3.org/1998/Math/MathML",Ke=typeof document<"u"?document:null,Hr=Ke&&Ke.createElement("template"),Zc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Ke.createElementNS(Jc,e):t==="mathml"?Ke.createElementNS(Qc,e):n?Ke.createElement(e,{is:n}):Ke.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Ke.createTextNode(e),createComment:e=>Ke.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ke.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Hr.innerHTML=So(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Hr.content;if(s==="svg"||s==="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]}},ze="transition",Dt="animation",Zt=Symbol("_vtc"),Eo={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},ea=ce({},Vi,Eo),ta=e=>(e.displayName="Transition",e.props=ea,e),Df=ta((e,{slots:t})=>Ds(Yl,na(e),t)),at=(e,t=[])=>{K(e)?e.forEach(n=>n(...t)):e&&e(...t)},Dr=e=>e?K(e)?e.some(t=>t.length>1):e.length>1:!1;function na(e){const t={};for(const x in e)x in Eo||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=o,appearToClass:a=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,w=sa(r),b=w&&w[0],H=w&&w[1],{onBeforeEnter:I,onEnter:F,onEnterCancelled:p,onLeave:m,onLeaveCancelled:M,onBeforeAppear:D=I,onAppear:j=F,onAppearCancelled:U=p}=t,R=(x,W,re)=>{ft(x,W?a:l),ft(x,W?f:o),re&&re()},_=(x,W)=>{x._isLeaving=!1,ft(x,d),ft(x,v),ft(x,g),W&&W()},N=x=>(W,re)=>{const ae=x?j:F,B=()=>R(W,x,re);at(ae,[W,B]),$r(()=>{ft(W,x?c:i),Je(W,x?a:l),Dr(ae)||jr(W,s,b,B)})};return ce(t,{onBeforeEnter(x){at(I,[x]),Je(x,i),Je(x,o)},onBeforeAppear(x){at(D,[x]),Je(x,c),Je(x,f)},onEnter:N(!1),onAppear:N(!0),onLeave(x,W){x._isLeaving=!0;const re=()=>_(x,W);Je(x,d),Je(x,g),oa(),$r(()=>{x._isLeaving&&(ft(x,d),Je(x,v),Dr(m)||jr(x,s,H,re))}),at(m,[x,re])},onEnterCancelled(x){R(x,!1),at(p,[x])},onAppearCancelled(x){R(x,!0),at(U,[x])},onLeaveCancelled(x){_(x),at(M,[x])}})}function sa(e){if(e==null)return null;if(se(e))return[us(e.enter),us(e.leave)];{const t=us(e);return[t,t]}}function us(e){return Jo(e)}function Je(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Zt]||(e[Zt]=new Set)).add(t)}function ft(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Zt];n&&(n.delete(t),n.size||(e[Zt]=void 0))}function $r(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ra=0;function jr(e,t,n,s){const r=e._endId=++ra,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=ia(e,t);if(!o)return s();const f=o+"end";let a=0;const d=()=>{e.removeEventListener(f,g),i()},g=v=>{v.target===e&&++a>=c&&d()};setTimeout(()=>{a<c&&d()},l+1),e.addEventListener(f,g)}function ia(e,t){const n=window.getComputedStyle(e),s=w=>(n[w]||"").split(", "),r=s(`${ze}Delay`),i=s(`${ze}Duration`),o=Vr(r,i),l=s(`${Dt}Delay`),c=s(`${Dt}Duration`),f=Vr(l,c);let a=null,d=0,g=0;t===ze?o>0&&(a=ze,d=o,g=i.length):t===Dt?f>0&&(a=Dt,d=f,g=c.length):(d=Math.max(o,f),a=d>0?o>f?ze:Dt:null,g=a?a===ze?i.length:c.length:0);const v=a===ze&&/\b(transform|all)(,|$)/.test(s(`${ze}Property`).toString());return{type:a,timeout:d,propCount:g,hasTransform:v}}function Vr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Ur(n)+Ur(e[s])))}function Ur(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function oa(){return document.body.offsetHeight}function la(e,t,n){const s=e[Zt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Hn=Symbol("_vod"),xo=Symbol("_vsh"),$f={beforeMount(e,{value:t},{transition:n}){e[Hn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):$t(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),$t(e,!0),s.enter(e)):s.leave(e,()=>{$t(e,!1)}):$t(e,t))},beforeUnmount(e,{value:t}){$t(e,t)}};function $t(e,t){e.style.display=t?e[Hn]:"none",e[xo]=!t}const ca=Symbol(""),aa=/(^|;)\s*display\s*:/;function fa(e,t,n){const s=e.style,r=oe(n);let i=!1;if(n&&!r){if(t)if(oe(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Cn(s,l,"")}else for(const o in t)n[o]==null&&Cn(s,o,"");for(const o in n)o==="display"&&(i=!0),Cn(s,o,n[o])}else if(r){if(t!==n){const o=s[ca];o&&(n+=";"+o),s.cssText=n,i=aa.test(n)}}else t&&e.removeAttribute("style");Hn in e&&(e[Hn]=i?s.display:"",e[xo]&&(s.display="none"))}const Br=/\s*!important$/;function Cn(e,t,n){if(K(n))n.forEach(s=>Cn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ua(e,t);Br.test(n)?e.setProperty(rt(s),n.replace(Br,""),"important"):e[s]=n}}const kr=["Webkit","Moz","ms"],ds={};function ua(e,t){const n=ds[t];if(n)return n;let s=Fe(t);if(s!=="filter"&&s in e)return ds[t]=s;s=jn(s);for(let r=0;r<kr.length;r++){const i=kr[r]+s;if(i in e)return ds[t]=i}return t}const Wr="http://www.w3.org/1999/xlink";function Kr(e,t,n,s,r,i=sl(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Wr,t.slice(6,t.length)):e.setAttributeNS(Wr,t,n):n==null||i&&!di(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Ye(n)?String(n):n)}function qr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?So(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=di(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function xt(e,t,n,s){e.addEventListener(t,n,s)}function da(e,t,n,s){e.removeEventListener(t,n,s)}const Gr=Symbol("_vei");function ha(e,t,n,s,r=null){const i=e[Gr]||(e[Gr]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=pa(t);if(s){const f=i[t]=ya(s,r);xt(e,l,f,c)}else o&&(da(e,l,o,c),i[t]=void 0)}}const Yr=/(?:Once|Passive|Capture)$/;function pa(e){let t;if(Yr.test(e)){t={};let s;for(;s=e.match(Yr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):rt(e.slice(2)),t]}let hs=0;const ga=Promise.resolve(),ma=()=>hs||(ga.then(()=>hs=0),hs=Date.now());function ya(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;$e(va(s,n.value),t,5,[s])};return n.value=e,n.attached=ma(),n}function va(e,t){if(K(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Xr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ba=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?la(e,s,o):t==="style"?fa(e,n,s):tn(t)?Vs(t)||ha(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):_a(e,t,s,o))?(qr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Kr(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!oe(s))?qr(e,Fe(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Kr(e,t,s,o))};function _a(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Xr(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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Xr(t)&&oe(n)?!1:t in e}const zr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return K(t)?n=>Sn(t,n):t};function wa(e){e.target.composing=!0}function Jr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ps=Symbol("_assign"),jf={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ps]=zr(r);const i=s||r.props&&r.props.type==="number";xt(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=Es(l)),e[ps](l)}),n&&xt(e,"change",()=>{e.value=e.value.trim()}),t||(xt(e,"compositionstart",wa),xt(e,"compositionend",Jr),xt(e,"change",Jr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[ps]=zr(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Es(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},Sa=["ctrl","shift","alt","meta"],Ea={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)=>Sa.some(n=>e[`${n}Key`]&&!t.includes(n))},Vf=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o<t.length;o++){const l=Ea[t[o]];if(l&&l(r,t))return}return e(r,...i)})},xa={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Uf=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=rt(r.key);if(t.some(o=>o===i||xa[o]===i))return e(r)})},To=ce({patchProp:ba},Zc);let qt,Qr=!1;function Ta(){return qt||(qt=Cc(To))}function Ca(){return qt=Qr?qt:Ac(To),Qr=!0,qt}const Bf=(...e)=>{const t=Ta().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ao(s);if(!r)return;const i=t._component;!q(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Co(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},kf=(...e)=>{const t=Ca().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ao(s);if(r)return n(r,!0,Co(r))},t};function Co(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ao(e){return oe(e)?document.querySelector(e):e}const Wf=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Aa=window.__VP_SITE_DATA__;function ln(e){return gi()?(ol(e),!0):!1}function Ne(e){return typeof e=="function"?e():Pi(e)}const Ro=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ra=e=>e!=null,Oa=Object.prototype.toString,Ma=e=>Oa.call(e)==="[object Object]",en=()=>{},Zr=Pa();function Pa(){var e,t;return Ro&&((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 Oo(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const Mo=e=>e();function Po(e,t={}){let n,s,r=en;const i=l=>{clearTimeout(l),r(),r=en};return l=>{const c=Ne(e),f=Ne(t.maxWait);return n&&i(n),c<=0||f!==void 0&&f<=0?(s&&(i(s),s=null),Promise.resolve(l())):new Promise((a,d)=>{r=t.rejectOnCancel?d:a,f&&!s&&(s=setTimeout(()=>{n&&i(n),s=null,a(l())},f)),n=setTimeout(()=>{s&&i(s),s=null,a(l())},c)})}}function La(e=Mo){const t=J(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:Wn(t),pause:n,resume:s,eventFilter:r}}function Ia(e){return zn()}function Lo(...e){if(e.length!==1)return Il(...e);const t=e[0];return typeof t=="function"?Wn(Ml(()=>({get:t,set:en}))):J(t)}function Na(e,t=200,n={}){return Oo(Po(t,n),e)}function Kf(e,t=200,n={}){const s=J(e.value),r=Na(()=>{s.value=e.value},t,n);return Ee(e,()=>r()),s}function Io(e,t,n={}){const{eventFilter:s=Mo,...r}=n;return Ee(e,Oo(s,t),r)}function Fa(e,t,n={}){const{eventFilter:s,...r}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=La(s);return{stop:Io(e,t,{...r,eventFilter:i}),pause:o,resume:l,isActive:c}}function Qn(e,t=!0,n){Ia()?It(e,n):t?e():Kn(e)}function qf(e,t,n={}){const{debounce:s=0,maxWait:r=void 0,...i}=n;return Io(e,t,{...i,eventFilter:Po(s,{maxWait:r})})}function Gf(e,t,n){let s;fe(n)?s={evaluating:n}:s={};const{lazy:r=!1,evaluating:i=void 0,shallow:o=!0,onError:l=en}=s,c=J(!r),f=o?Js(t):J(t);let a=0;return ir(async d=>{if(!c.value)return;a++;const g=a;let v=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const w=await e(b=>{d(()=>{i&&(i.value=!1),v||b()})});g===a&&(f.value=w)}catch(w){l(w)}finally{i&&g===a&&(i.value=!1),v=!0}}),r?ie(()=>(c.value=!0,f.value)):f}const Oe=Ro?window:void 0;function bt(e){var t;const n=Ne(e);return(t=n==null?void 0:n.$el)!=null?t:n}function st(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=Oe):[t,n,s,r]=e,!t)return en;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const i=[],o=()=>{i.forEach(a=>a()),i.length=0},l=(a,d,g,v)=>(a.addEventListener(d,g,v),()=>a.removeEventListener(d,g,v)),c=Ee(()=>[bt(t),Ne(r)],([a,d])=>{if(o(),!a)return;const g=Ma(d)?{...d}:d;i.push(...n.flatMap(v=>s.map(w=>l(a,v,w,g))))},{immediate:!0,flush:"post"}),f=()=>{c(),o()};return ln(f),f}function Ha(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Yf(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=Oe,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,c=Ha(t);return st(r,i,a=>{a.repeat&&Ne(l)||c(a)&&n(a)},o)}function Da(){const e=J(!1),t=zn();return t&&It(()=>{e.value=!0},t),e}function lr(e){const t=Da();return ie(()=>(t.value,!!e()))}function $a(e,t,n={}){const{window:s=Oe,...r}=n;let i;const o=lr(()=>s&&"MutationObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},c=ie(()=>{const g=Ne(e),v=(Array.isArray(g)?g:[g]).map(bt).filter(Ra);return new Set(v)}),f=Ee(()=>c.value,g=>{l(),o.value&&g.size&&(i=new MutationObserver(t),g.forEach(v=>i.observe(v,r)))},{immediate:!0,flush:"post"}),a=()=>i==null?void 0:i.takeRecords(),d=()=>{f(),l()};return ln(d),{isSupported:o,stop:d,takeRecords:a}}function No(e,t={}){const{window:n=Oe}=t,s=lr(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=J(!1),o=f=>{i.value=f.matches},l=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},c=ir(()=>{s.value&&(l(),r=n.matchMedia(Ne(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),i.value=r.matches)});return ln(()=>{c(),l(),r=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__",ja=Va();function Va(){return vn in yn||(yn[vn]=yn[vn]||{}),yn[vn]}function Fo(e,t){return ja[e]||t}function cr(e){return No("(prefers-color-scheme: dark)",e)}function Ua(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 Ba={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()}},ei="vueuse-storage";function ar(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:a,window:d=Oe,eventFilter:g,onError:v=_=>{console.error(_)},initOnMounted:w}=s,b=(a?Js:J)(typeof t=="function"?t():t);if(!n)try{n=Fo("getDefaultStorage",()=>{var _;return(_=Oe)==null?void 0:_.localStorage})()}catch(_){v(_)}if(!n)return b;const H=Ne(t),I=Ua(H),F=(r=s.serializer)!=null?r:Ba[I],{pause:p,resume:m}=Fa(b,()=>D(b.value),{flush:i,deep:o,eventFilter:g});d&&l&&Qn(()=>{n instanceof Storage?st(d,"storage",U):st(d,ei,R),w&&U()}),w||U();function M(_,N){if(d){const x={key:e,oldValue:_,newValue:N,storageArea:n};d.dispatchEvent(n instanceof Storage?new StorageEvent("storage",x):new CustomEvent(ei,{detail:x}))}}function D(_){try{const N=n.getItem(e);if(_==null)M(N,null),n.removeItem(e);else{const x=F.write(_);N!==x&&(n.setItem(e,x),M(N,x))}}catch(N){v(N)}}function j(_){const N=_?_.newValue:n.getItem(e);if(N==null)return c&&H!=null&&n.setItem(e,F.write(H)),H;if(!_&&f){const x=F.read(N);return typeof f=="function"?f(x,H):I==="object"&&!Array.isArray(x)?{...H,...x}:x}else return typeof N!="string"?N:F.read(N)}function U(_){if(!(_&&_.storageArea!==n)){if(_&&_.key==null){b.value=H;return}if(!(_&&_.key!==e)){p();try{(_==null?void 0:_.newValue)!==F.write(b.value)&&(b.value=j(_))}catch(N){v(N)}finally{_?Kn(m):m()}}}}function R(_){U(_.detail)}return b}const ka="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Wa(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=Oe,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:f,disableTransition:a=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},g=cr({window:r}),v=ie(()=>g.value?"dark":"light"),w=c||(o==null?Lo(s):ar(o,s,i,{window:r,listenToStorageChanges:l})),b=ie(()=>w.value==="auto"?v.value:w.value),H=Fo("updateHTMLAttrs",(m,M,D)=>{const j=typeof m=="string"?r==null?void 0:r.document.querySelector(m):bt(m);if(!j)return;const U=new Set,R=new Set;let _=null;if(M==="class"){const x=D.split(/\s/g);Object.values(d).flatMap(W=>(W||"").split(/\s/g)).filter(Boolean).forEach(W=>{x.includes(W)?U.add(W):R.add(W)})}else _={key:M,value:D};if(U.size===0&&R.size===0&&_===null)return;let N;a&&(N=r.document.createElement("style"),N.appendChild(document.createTextNode(ka)),r.document.head.appendChild(N));for(const x of U)j.classList.add(x);for(const x of R)j.classList.remove(x);_&&j.setAttribute(_.key,_.value),a&&(r.getComputedStyle(N).opacity,document.head.removeChild(N))});function I(m){var M;H(t,n,(M=d[m])!=null?M:m)}function F(m){e.onChanged?e.onChanged(m,I):I(m)}Ee(b,F,{flush:"post",immediate:!0}),Qn(()=>F(b.value));const p=ie({get(){return f?w.value:b.value},set(m){w.value=m}});try{return Object.assign(p,{store:w,system:v,state:b})}catch{return p}}function Ka(e={}){const{valueDark:t="dark",valueLight:n="",window:s=Oe}=e,r=Wa({...e,onChanged:(l,c)=>{var f;e.onChanged?(f=e.onChanged)==null||f.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),i=ie(()=>r.system?r.system.value:cr({window:s}).value?"dark":"light");return ie({get(){return r.value==="dark"},set(l){const c=l?"dark":"light";i.value===c?r.value="auto":r.value=c}})}function qa(e,t,n={}){const{window:s=Oe,...r}=n;let i;const o=lr(()=>s&&"ResizeObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},c=ie(()=>{const d=Ne(e);return Array.isArray(d)?d.map(g=>bt(g)):[bt(d)]}),f=Ee(c,d=>{if(l(),o.value&&s){i=new ResizeObserver(t);for(const g of d)g&&i.observe(g,r)}},{immediate:!0,flush:"post"}),a=()=>{l(),f()};return ln(a),{isSupported:o,stop:a}}function Xf(e,t={}){const{reset:n=!0,windowResize:s=!0,windowScroll:r=!0,immediate:i=!0,updateTiming:o="sync"}=t,l=J(0),c=J(0),f=J(0),a=J(0),d=J(0),g=J(0),v=J(0),w=J(0);function b(){const I=bt(e);if(!I){n&&(l.value=0,c.value=0,f.value=0,a.value=0,d.value=0,g.value=0,v.value=0,w.value=0);return}const F=I.getBoundingClientRect();l.value=F.height,c.value=F.bottom,f.value=F.left,a.value=F.right,d.value=F.top,g.value=F.width,v.value=F.x,w.value=F.y}function H(){o==="sync"?b():o==="next-frame"&&requestAnimationFrame(()=>b())}return qa(e,H),Ee(()=>bt(e),I=>!I&&H()),$a(e,H,{attributeFilter:["style","class"]}),r&&st("scroll",H,{capture:!0,passive:!0}),s&&st("resize",H,{passive:!0}),Qn(()=>{i&&H()}),{height:l,bottom:c,left:f,right:a,top:d,width:g,x:v,y:w,update:H}}function gs(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function zf(e,t,n={}){const{window:s=Oe}=n;return ar(e,t,s==null?void 0:s.localStorage,n)}function Ho(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:Ho(n)}}function Ga(e){const t=e||window.event,n=t.target;return Ho(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const ms=new WeakMap;function Jf(e,t=!1){const n=J(t);let s=null,r="";Ee(Lo(e),l=>{const c=gs(Ne(l));if(c){const f=c;if(ms.get(f)||ms.set(f,f.style.overflow),f.style.overflow!=="hidden"&&(r=f.style.overflow),f.style.overflow==="hidden")return n.value=!0;if(n.value)return f.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=gs(Ne(e));!l||n.value||(Zr&&(s=st(l,"touchmove",c=>{Ga(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=gs(Ne(e));!l||!n.value||(Zr&&(s==null||s()),l.style.overflow=r,ms.delete(l),n.value=!1)};return ln(o),ie({get(){return n.value},set(l){l?i():o()}})}function Qf(e,t,n={}){const{window:s=Oe}=n;return ar(e,t,s==null?void 0:s.sessionStorage,n)}function Zf(e={}){const{window:t=Oe,behavior:n="auto"}=e;if(!t)return{x:J(0),y:J(0)};const s=J(t.scrollX),r=J(t.scrollY),i=ie({get(){return s.value},set(l){scrollTo({left:l,behavior:n})}}),o=ie({get(){return r.value},set(l){scrollTo({top:l,behavior:n})}});return st(t,"scroll",()=>{s.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:o}}function eu(e={}){const{window:t=Oe,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:i=!0,type:o="inner"}=e,l=J(n),c=J(s),f=()=>{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(f(),Qn(f),st("resize",f,{passive:!0}),r){const a=No("(orientation: portrait)");Ee(a,()=>f())}return{width:l,height:c}}const ys={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};var vs={};const Do=/^(?:[a-z]+:|\/\/)/i,Ya="vitepress-theme-appearance",Xa=/#.*$/,za=/[?#].*$/,Ja=/(?:(^|\/)index)?\.(?:md|html)$/,ge=typeof document<"u",$o={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Qa(e,t,n=!1){if(t===void 0)return!1;if(e=ti(`/${e}`),n)return new RegExp(t).test(e);if(ti(t)!==e)return!1;const s=t.match(Xa);return s?(ge?location.hash:"")===s[0]:!0}function ti(e){return decodeURI(e).replace(za,"").replace(Ja,"$1")}function Za(e){return Do.test(e)}function ef(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!Za(n)&&Qa(t,`/${n}/`,!0))||"root"}function tf(e,t){var s,r,i,o,l,c,f;const n=ef(e,t);return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((r=e.locales[n])==null?void 0:r.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:Vo(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(f=e.locales[n])==null?void 0:f.themeConfig}})}function jo(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const r=nf(e.title,s);return n===r.slice(3)?n:`${n}${r}`}function nf(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function sf(e,t){const[n,s]=t;if(n!=="meta")return!1;const r=Object.entries(s)[0];return r==null?!1:e.some(([i,o])=>i===n&&o[r[0]]===r[1])}function Vo(e,t){return[...e.filter(n=>!sf(t,n)),...t]}const rf=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,of=/^[a-z]:/i;function ni(e){const t=of.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(rf,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const bs=new Set;function lf(e){if(bs.size===0){const n=typeof process=="object"&&(vs==null?void 0:vs.VITE_EXTRA_EXTENSIONS)||(ys==null?void 0:ys.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(s=>bs.add(s))}const t=e.split(".").pop();return t==null||!bs.has(t.toLowerCase())}function tu(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const cf=Symbol(),yt=Js(Aa);function nu(e){const t=ie(()=>tf(yt.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?J(!0):n==="force-auto"?cr():n?Ka({storageKey:Ya,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):J(!1),r=J(ge?location.hash:"");return ge&&window.addEventListener("hashchange",()=>{r.value=location.hash}),Ee(()=>e.data,()=>{r.value=ge?location.hash:""}),{site:t,theme:ie(()=>t.value.themeConfig),page:ie(()=>e.data),frontmatter:ie(()=>e.data.frontmatter),params:ie(()=>e.data.params),lang:ie(()=>t.value.lang),dir:ie(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:ie(()=>t.value.localeIndex||"root"),title:ie(()=>jo(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:s,hash:ie(()=>r.value)}}function af(){const e=Pt(cf);if(!e)throw new Error("vitepress data not properly injected in app");return e}function ff(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function si(e){return Do.test(e)||!e.startsWith("/")?e:ff(yt.value.base,e)}function uf(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),ge){const n="/";t=ni(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];if(s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),!s)return null;t=`${n}assets/${t}.${s}.js`}else t=`./${ni(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let An=[];function su(e){An.push(e),Gn(()=>{An=An.filter(t=>t!==e)})}function df(){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=ri(e,n);else if(Array.isArray(e))for(const s of e){const r=ri(s,n);if(r){t=r;break}}return t}function ri(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}const hf=Symbol(),Uo="http://a.com",pf=()=>({path:"/",component:null,data:$o});function ru(e,t){const n=kn(pf()),s={route:n,go:r};async function r(l=ge?location.href:"/"){var c,f;l=_s(l),await((c=s.onBeforeRouteChange)==null?void 0:c.call(s,l))!==!1&&(ge&&l!==_s(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await o(l),await((f=s.onAfterRouteChanged)==null?void 0:f.call(s,l)))}let i=null;async function o(l,c=0,f=!1){var g,v;if(await((g=s.onBeforePageLoad)==null?void 0:g.call(s,l))===!1)return;const a=new URL(l,Uo),d=i=a.pathname;try{let w=await e(d);if(!w)throw new Error(`Page not found: ${d}`);if(i===d){i=null;const{default:b,__pageData:H}=w;if(!b)throw new Error(`Invalid route component: ${b}`);await((v=s.onAfterPageLoad)==null?void 0:v.call(s,l)),n.path=ge?d:si(d),n.component=En(b),n.data=En(H),ge&&Kn(()=>{let I=yt.value.base+H.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!yt.value.cleanUrls&&!I.endsWith("/")&&(I+=".html"),I!==a.pathname&&(a.pathname=I,l=I+a.search+a.hash,history.replaceState({},"",l)),a.hash&&!c){let F=null;try{F=document.getElementById(decodeURIComponent(a.hash).slice(1))}catch(p){console.warn(p)}if(F){ii(F,a.hash);return}}window.scrollTo(0,c)})}}catch(w){if(!/fetch|Page not found/.test(w.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(w),!f)try{const b=await fetch(yt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await b.json(),await o(l,c,!0);return}catch{}if(i===d){i=null,n.path=ge?d:si(d),n.component=t?En(t):null;const b=ge?d.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...$o,relativePath:b}}}}return ge&&(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 f=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(f==null)return;const{href:a,origin:d,pathname:g,hash:v,search:w}=new URL(f,c.baseURI),b=new URL(location.href);d===b.origin&&lf(g)&&(l.preventDefault(),g===b.pathname&&w===b.search?(v!==b.hash&&(history.pushState({},"",a),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:b.href,newURL:a}))),v?ii(c,v,c.classList.contains("header-anchor")):window.scrollTo(0,0)):r(a))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await o(_s(location.href),l.state&&l.state.scrollPosition||0),(c=s.onAfterRouteChanged)==null||c.call(s,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function gf(){const e=Pt(hf);if(!e)throw new Error("useRouter() is called without provider.");return e}function Bo(){return gf().route}function ii(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(r){console.warn(r)}if(s){let r=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(s).paddingTop,10),o=window.scrollY+s.getBoundingClientRect().top-df()+i;requestAnimationFrame(r)}}function _s(e){const t=new URL(e,Uo);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 bn=()=>An.forEach(e=>e()),iu=Zs({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Bo(),{frontmatter:n,site:s}=af();return Ee(n,bn,{deep:!0,flush:"post"}),()=>Ds(e.as,s.value.contentProps??{style:{position:"relative"}},[t.component?Ds(t.component,{onVnodeMounted:bn,onVnodeUpdated:bn,onVnodeUnmounted:bn}):"404 Page Not Found"])}}),mf="modulepreload",yf=function(e){return"/"+e},oi={},ou=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.allSettled(n.map(c=>{if(c=yf(c),c in oi)return;oi[c]=!0;const f=c.endsWith(".css"),a=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${a}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":mf,f||(d.as="script"),d.crossOrigin="",d.href=c,l&&d.setAttribute("nonce",l),document.head.appendChild(d),f)return new Promise((g,v)=>{d.addEventListener("load",g),d.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return r.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},lu=Zs({setup(e,{slots:t}){const n=J(!1);return It(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function cu(){ge&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const s=(n=t.parentElement)==null?void 0:n.parentElement;if(!s)return;const r=Array.from(s.querySelectorAll("input")).indexOf(t);if(r<0)return;const i=s.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(f=>f.classList.contains("active"));if(!o)return;const l=i.children[r];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const c=s==null?void 0:s.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function au(){if(ge){const e=new WeakMap;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const r=n.parentElement,i=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!r||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(r.className),l=[".vp-copy-ignore",".diff.remove"],c=i.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(a=>a.remove());let f=c.textContent||"";o&&(f=f.replace(/^ *(\$|>) /gm,"").trim()),vf(f).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 vf(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 s=document.getSelection(),r=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function fu(e,t){let n=!0,s=[];const r=i=>{if(n){n=!1,i.forEach(l=>{const c=ws(l);for(const f of document.head.children)if(f.isEqualNode(c)){s.push(f);return}});return}const o=i.map(ws);s.forEach((l,c)=>{const f=o.findIndex(a=>a==null?void 0:a.isEqualNode(l??null));f!==-1?delete o[f]:(l==null||l.remove(),delete s[c])}),o.forEach(l=>l&&document.head.appendChild(l)),s=[...s,...o].filter(Boolean)};ir(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],f=jo(o,i);f!==document.title&&(document.title=f);const a=l||o.description;let d=document.querySelector("meta[name=description]");d?d.getAttribute("content")!==a&&d.setAttribute("content",a):ws(["meta",{name:"description",content:a}]),r(Vo(o.head,_f(c)))})}function ws([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),e==="script"&&t.async==null&&(s.async=!1),s}function bf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function _f(e){return e.filter(t=>!bf(t))}const Ss=new Set,ko=()=>document.createElement("link"),wf=e=>{const t=ko();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Sf=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let _n;const Ef=ge&&(_n=ko())&&_n.relList&&_n.relList.supports&&_n.relList.supports("prefetch")?wf:Sf;function uu(){if(!ge||!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 s=()=>{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(!Ss.has(c)){Ss.add(c);const f=uf(c);f&&Ef(f)}}})}),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):Ss.add(l))})})};It(s);const r=Bo();Ee(()=>r.path,s),Gn(()=>{n&&n.disconnect()})}export{qi as $,df as A,Af as B,Of as C,Js as D,su as E,Se as F,le as G,Do as H,Rf as I,Bo as J,Uc as K,Pt as L,eu as M,ks as N,Yf as O,Kn as P,Zf as Q,ge as R,Wn as S,Df as T,Cf as U,ou as V,Jf as W,bc as X,Pf as Y,Uf as Z,Wf as _,vo as a,Vf as a0,Lf as a1,Ds as a2,Kf as a3,xf as a4,jf as a5,Xf as a6,st as a7,$f as a8,Tf as a9,Ra as aA,ln as aB,Gf as aC,Qf as aD,zf as aE,qf as aF,fe as aG,En as aH,Bf as aI,tu as aJ,gf as aa,Ff as ab,fu as ac,hf as ad,nu as ae,cf as af,iu as ag,lu as ah,yt as ai,kf as aj,ru as ak,uf as al,uu as am,au as an,cu as ao,ec as ap,tc as aq,ve as ar,zn as as,Il as at,Qt as au,sc as av,nt as aw,mt as ax,Ne as ay,bt as az,Fs as b,Nf as c,Zs as d,Hf as e,lf as f,si as g,ie as h,Za as i,yo as j,Pi as k,Qa as l,No as m,Ws as n,Ns as o,J as p,Ee as q,Mf as r,ir as s,rl as t,af as u,It as v,Bl as w,Gn as x,If as y,ic as z};
|