@sansenjian/qq-music-api 2.2.9 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/CHANGELOG.md +28 -1
  2. package/README.md +10 -11
  3. package/dist/api/index.js +9 -0
  4. package/dist/app.js +8 -43
  5. package/dist/index.js +13 -1
  6. package/dist/koaApp.js +49 -0
  7. package/dist/module/apis/downloadQQMusic.js +2 -1
  8. package/dist/module/apis/music/getLyric.js +220 -16
  9. package/dist/module/apis/music/getMusicPlay.js +3 -2
  10. package/dist/package.json +19 -15
  11. package/dist/routers/context/getLyric.js +12 -2
  12. package/dist/routers/context/getNewDisks.js +4 -0
  13. package/dist/routers/context/getRecommend.js +4 -0
  14. package/dist/routers/context/getTicketInfo.js +4 -0
  15. package/dist/util/cookieResolver.js +10 -4
  16. package/docs-dist/404.html +6 -6
  17. package/docs-dist/CHANGELOG-ARCHITECTURE.html +14 -14
  18. package/docs-dist/COOKIE_CONFIG_GUIDE.html +13 -13
  19. package/docs-dist/DEGRADE_EXAMPLES.html +109 -0
  20. package/docs-dist/FALLBACK_MODE_GUIDE.html +21 -21
  21. package/docs-dist/QUICK_START.html +62 -0
  22. package/docs-dist/README.html +17 -17
  23. package/docs-dist/TEST_USER_PLAYLISTS.html +14 -14
  24. package/docs-dist/USER_AVATAR_GUIDE.html +16 -16
  25. package/docs-dist/api/comments.html +12 -12
  26. package/docs-dist/api/index.html +10 -10
  27. package/docs-dist/api/music.html +15 -13
  28. package/docs-dist/api/other.html +13 -13
  29. package/docs-dist/api/playground.html +27 -0
  30. package/docs-dist/api/playlist.html +15 -15
  31. package/docs-dist/api/rank.html +12 -12
  32. package/docs-dist/api/search.html +13 -13
  33. package/docs-dist/api/singer.html +12 -12
  34. package/docs-dist/api/user.html +16 -16
  35. package/docs-dist/assets/{CHANGELOG-ARCHITECTURE.md.r40JGJZK.js → CHANGELOG-ARCHITECTURE.md.CYHmaBdY.js} +5 -5
  36. package/docs-dist/assets/CHANGELOG-ARCHITECTURE.md.CYHmaBdY.lean.js +1 -0
  37. package/docs-dist/assets/COOKIE_CONFIG_GUIDE.md.Nvywo7CW.js +13 -0
  38. package/docs-dist/assets/COOKIE_CONFIG_GUIDE.md.Nvywo7CW.lean.js +1 -0
  39. package/docs-dist/assets/DEGRADE_EXAMPLES.md.Cz2J-qwE.js +83 -0
  40. package/docs-dist/assets/DEGRADE_EXAMPLES.md.Cz2J-qwE.lean.js +1 -0
  41. package/docs-dist/assets/{FALLBACK_MODE_GUIDE.md.BBdcIdh_.js → FALLBACK_MODE_GUIDE.md.wKA9yqoI.js} +12 -12
  42. package/docs-dist/assets/FALLBACK_MODE_GUIDE.md.wKA9yqoI.lean.js +1 -0
  43. package/docs-dist/assets/QUICK_START.md.D5KfDgbs.js +36 -0
  44. package/docs-dist/assets/QUICK_START.md.D5KfDgbs.lean.js +1 -0
  45. package/docs-dist/assets/README.md.CHbArqA7.js +421 -0
  46. package/docs-dist/assets/README.md.CHbArqA7.lean.js +1 -0
  47. package/docs-dist/assets/TEST_USER_PLAYLISTS.md.BfBxYbaM.js +16 -0
  48. package/docs-dist/assets/TEST_USER_PLAYLISTS.md.BfBxYbaM.lean.js +1 -0
  49. package/docs-dist/assets/{USER_AVATAR_GUIDE.md.CVHPs2Dn.js → USER_AVATAR_GUIDE.md.D5Rti1Gg.js} +7 -7
  50. package/docs-dist/assets/USER_AVATAR_GUIDE.md.D5Rti1Gg.lean.js +1 -0
  51. package/docs-dist/assets/{api_comments.md.79Q_C8Qp.js → api_comments.md.5nDhrWa8.js} +3 -3
  52. package/docs-dist/assets/api_comments.md.5nDhrWa8.lean.js +1 -0
  53. package/docs-dist/assets/api_index.md.DdG1WHkZ.js +1 -0
  54. package/docs-dist/assets/api_index.md.DdG1WHkZ.lean.js +1 -0
  55. package/docs-dist/assets/{api_music.md.B1AzLePX.js → api_music.md.D66hq-_4.js} +6 -4
  56. package/docs-dist/assets/api_music.md.D66hq-_4.lean.js +1 -0
  57. package/docs-dist/assets/api_other.md.9KhspVEM.js +7 -0
  58. package/docs-dist/assets/api_other.md.9KhspVEM.lean.js +1 -0
  59. package/docs-dist/assets/api_playground.md.BZBvYMm2.js +11 -0
  60. package/docs-dist/assets/api_playground.md.BZBvYMm2.lean.js +11 -0
  61. package/docs-dist/assets/{api_playlist.md.8ACJ3QqD.js → api_playlist.md.BQK32ZyE.js} +6 -6
  62. package/docs-dist/assets/api_playlist.md.BQK32ZyE.lean.js +1 -0
  63. package/docs-dist/assets/{api_rank.md.B8IP2ZRy.js → api_rank.md.z7YBwVgw.js} +3 -3
  64. package/docs-dist/assets/api_rank.md.z7YBwVgw.lean.js +1 -0
  65. package/docs-dist/assets/{api_search.md.DO9J6nvp.js → api_search.md.GfzIBRfc.js} +4 -4
  66. package/docs-dist/assets/api_search.md.GfzIBRfc.lean.js +1 -0
  67. package/docs-dist/assets/api_singer.md.BDR-_qDH.js +21 -0
  68. package/docs-dist/assets/api_singer.md.BDR-_qDH.lean.js +1 -0
  69. package/docs-dist/assets/{api_user.md.Cb7Ky3Sn.js → api_user.md.Dx8BWGrb.js} +7 -7
  70. package/docs-dist/assets/api_user.md.Dx8BWGrb.lean.js +1 -0
  71. package/docs-dist/assets/app.CxuIZ1W7.js +1 -0
  72. package/docs-dist/assets/chunks/@localSearchIndexroot.ygoKgu27.js +1 -0
  73. package/docs-dist/assets/chunks/VPLocalSearchBox.BqgkAhNM.js +3 -0
  74. package/docs-dist/assets/chunks/framework.BUY3a635.js +4 -0
  75. package/docs-dist/assets/chunks/theme.C-Z3DN0r.js +2 -0
  76. package/docs-dist/assets/{guide_architecture.md.CzgqynmB.js → guide_architecture.md.SHnKkzwb.js} +20 -20
  77. package/docs-dist/assets/guide_architecture.md.SHnKkzwb.lean.js +1 -0
  78. package/docs-dist/assets/guide_authentication.md.CZCKocgR.js +4 -0
  79. package/docs-dist/assets/guide_authentication.md.CZCKocgR.lean.js +1 -0
  80. package/docs-dist/assets/guide_index.md.CkJ-jjL0.js +1 -0
  81. package/docs-dist/assets/guide_index.md.CkJ-jjL0.lean.js +1 -0
  82. package/docs-dist/assets/guide_installation.md.D2TBzILh.js +7 -0
  83. package/docs-dist/assets/guide_installation.md.D2TBzILh.lean.js +1 -0
  84. package/docs-dist/assets/guide_quickstart.md.J7Sib8wg.js +13 -0
  85. package/docs-dist/assets/guide_quickstart.md.J7Sib8wg.lean.js +1 -0
  86. package/docs-dist/assets/index.md.ClwYf6Qc.js +1 -0
  87. package/docs-dist/assets/index.md.ClwYf6Qc.lean.js +1 -0
  88. package/docs-dist/assets/inter-italic-cyrillic-ext._dlW9xFb.woff2 +0 -0
  89. package/docs-dist/assets/inter-italic-cyrillic.D7dRslh9.woff2 +0 -0
  90. package/docs-dist/assets/inter-italic-greek-ext.Ct-Tf2bq.woff2 +0 -0
  91. package/docs-dist/assets/inter-italic-greek.DNcpQ8QC.woff2 +0 -0
  92. package/docs-dist/assets/inter-italic-latin-ext.DytegdRQ.woff2 +0 -0
  93. package/docs-dist/assets/inter-italic-latin.COaG5lWR.woff2 +0 -0
  94. package/docs-dist/assets/inter-italic-vietnamese.BI5UxJD-.woff2 +0 -0
  95. package/docs-dist/assets/inter-roman-cyrillic-ext.BeNbU08G.woff2 +0 -0
  96. package/docs-dist/assets/inter-roman-cyrillic.CD0kT8R4.woff2 +0 -0
  97. package/docs-dist/assets/inter-roman-greek-ext.CFAEQ5Ow.woff2 +0 -0
  98. package/docs-dist/assets/inter-roman-greek.Dsf7YjP7.woff2 +0 -0
  99. package/docs-dist/assets/inter-roman-latin-ext.Dl_ayf4-.woff2 +0 -0
  100. package/docs-dist/assets/inter-roman-latin.Cy4MYw_J.woff2 +0 -0
  101. package/docs-dist/assets/inter-roman-vietnamese.CpqCnS2H.woff2 +0 -0
  102. package/docs-dist/assets/reference_response-format.md.BrGoGoPV.js +12 -0
  103. package/docs-dist/assets/reference_response-format.md.BrGoGoPV.lean.js +1 -0
  104. package/docs-dist/assets/style.D_YoXH3a.css +1 -0
  105. package/docs-dist/guide/architecture.html +29 -29
  106. package/docs-dist/guide/authentication.html +12 -12
  107. package/docs-dist/guide/index.html +10 -10
  108. package/docs-dist/guide/installation.html +13 -13
  109. package/docs-dist/guide/quickstart.html +15 -15
  110. package/docs-dist/hashmap.json +1 -1
  111. package/docs-dist/index.html +10 -10
  112. package/docs-dist/reference/response-format.html +13 -13
  113. package/docs-dist/version.json +3 -3
  114. package/package.json +19 -15
  115. package/public/index.html +966 -0
  116. package/public/playground-utils.js +150 -0
  117. package/dist/jest.config.js +0 -52
  118. package/dist/scripts/run-tests-with-flags.js +0 -139
  119. package/dist/types/api.js +0 -55
  120. package/docs-dist/assets/CHANGELOG-ARCHITECTURE.md.r40JGJZK.lean.js +0 -1
  121. package/docs-dist/assets/COOKIE_CONFIG_GUIDE.md.BVXl7WHu.js +0 -13
  122. package/docs-dist/assets/COOKIE_CONFIG_GUIDE.md.BVXl7WHu.lean.js +0 -1
  123. package/docs-dist/assets/FALLBACK_MODE_GUIDE.md.BBdcIdh_.lean.js +0 -1
  124. package/docs-dist/assets/README.md.D6Tw0nRd.js +0 -421
  125. package/docs-dist/assets/README.md.D6Tw0nRd.lean.js +0 -1
  126. package/docs-dist/assets/TEST_USER_PLAYLISTS.md.DSt20Igj.js +0 -16
  127. package/docs-dist/assets/TEST_USER_PLAYLISTS.md.DSt20Igj.lean.js +0 -1
  128. package/docs-dist/assets/USER_AVATAR_GUIDE.md.CVHPs2Dn.lean.js +0 -1
  129. package/docs-dist/assets/api_comments.md.79Q_C8Qp.lean.js +0 -1
  130. package/docs-dist/assets/api_index.md.CU3By8tw.js +0 -1
  131. package/docs-dist/assets/api_index.md.CU3By8tw.lean.js +0 -1
  132. package/docs-dist/assets/api_music.md.B1AzLePX.lean.js +0 -1
  133. package/docs-dist/assets/api_other.md.DCg4bzA7.js +0 -7
  134. package/docs-dist/assets/api_other.md.DCg4bzA7.lean.js +0 -1
  135. package/docs-dist/assets/api_playlist.md.8ACJ3QqD.lean.js +0 -1
  136. package/docs-dist/assets/api_rank.md.B8IP2ZRy.lean.js +0 -1
  137. package/docs-dist/assets/api_search.md.DO9J6nvp.lean.js +0 -1
  138. package/docs-dist/assets/api_singer.md.CcL32xuN.js +0 -21
  139. package/docs-dist/assets/api_singer.md.CcL32xuN.lean.js +0 -1
  140. package/docs-dist/assets/api_user.md.Cb7Ky3Sn.lean.js +0 -1
  141. package/docs-dist/assets/app.CSainqD9.js +0 -1
  142. package/docs-dist/assets/chunks/@localSearchIndexroot.BKleDIv-.js +0 -1
  143. package/docs-dist/assets/chunks/VPLocalSearchBox.BUBaq7tw.js +0 -9
  144. package/docs-dist/assets/chunks/framework.aJbMEiY9.js +0 -19
  145. package/docs-dist/assets/chunks/theme.CzMhU0Ps.js +0 -2
  146. package/docs-dist/assets/guide_architecture.md.CzgqynmB.lean.js +0 -1
  147. package/docs-dist/assets/guide_authentication.md.a8yTA8Xe.js +0 -4
  148. package/docs-dist/assets/guide_authentication.md.a8yTA8Xe.lean.js +0 -1
  149. package/docs-dist/assets/guide_index.md.BgUUL6fI.js +0 -1
  150. package/docs-dist/assets/guide_index.md.BgUUL6fI.lean.js +0 -1
  151. package/docs-dist/assets/guide_installation.md.BCZ4jBl_.js +0 -7
  152. package/docs-dist/assets/guide_installation.md.BCZ4jBl_.lean.js +0 -1
  153. package/docs-dist/assets/guide_quickstart.md.9-4dA6wS.js +0 -13
  154. package/docs-dist/assets/guide_quickstart.md.9-4dA6wS.lean.js +0 -1
  155. package/docs-dist/assets/index.md.z0hAJioN.js +0 -1
  156. package/docs-dist/assets/index.md.z0hAJioN.lean.js +0 -1
  157. package/docs-dist/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 +0 -0
  158. package/docs-dist/assets/inter-italic-cyrillic.By2_1cv3.woff2 +0 -0
  159. package/docs-dist/assets/inter-italic-greek-ext.1u6EdAuj.woff2 +0 -0
  160. package/docs-dist/assets/inter-italic-greek.DJ8dCoTZ.woff2 +0 -0
  161. package/docs-dist/assets/inter-italic-latin-ext.CN1xVJS-.woff2 +0 -0
  162. package/docs-dist/assets/inter-italic-latin.C2AdPX0b.woff2 +0 -0
  163. package/docs-dist/assets/inter-italic-vietnamese.BSbpV94h.woff2 +0 -0
  164. package/docs-dist/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 +0 -0
  165. package/docs-dist/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 +0 -0
  166. package/docs-dist/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 +0 -0
  167. package/docs-dist/assets/inter-roman-greek.BBVDIX6e.woff2 +0 -0
  168. package/docs-dist/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 +0 -0
  169. package/docs-dist/assets/inter-roman-latin.Di8DUHzh.woff2 +0 -0
  170. package/docs-dist/assets/inter-roman-vietnamese.BjW4sHH5.woff2 +0 -0
  171. package/docs-dist/assets/reference_response-format.md.VvQTLDZr.js +0 -12
  172. package/docs-dist/assets/reference_response-format.md.VvQTLDZr.lean.js +0 -1
  173. package/docs-dist/assets/style.DM4qKDd4.css +0 -1
@@ -0,0 +1,3 @@
1
+ import{_ as _t,av as Le,d as Se,a4 as Tt,a7 as qe,ab as Et,K as It,a9 as kt,a2 as ne,r as Nt,e as He,X as ue,an as Ft,ag as Rt,ax as Ot,aw as At,O as Ne,H as de,N as me,al as Ct,af as Mt,am as Lt,v as Dt,L as Pt,S as B,h as zt,g as k,aD as Vt,aa as C,aB as jt,au as $t,B as Bt,j as q,I as Ge,i as ge,Y as Qe,F as Ye,n as fe,a5 as he,T as Wt,D as Ze,f as Kt,p as Jt,U as Ut,s as qt,c as Ht}from"./framework.BUY3a635.js";import{u as lt}from"./theme.C-Z3DN0r.js";const Gt={root:()=>_t(()=>import("./@localSearchIndexroot.ygoKgu27.js"),[])};var ct=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],xe=ct.join(","),ut=typeof Element>"u",Z=ut?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,_e=!ut&&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?.ownerDocument},Te=function(e,t){var n;t===void 0&&(t=!0);var s=e==null||(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"inert"),i=s===""||s==="true",r=i||t&&e&&(typeof e.closest=="function"?e.closest("[inert]"):Te(e.parentNode));return r},Qt=function(e){var t,n=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return n===""||n==="true"},dt=function(e,t,n){if(Te(e))return[];var s=Array.prototype.slice.apply(e.querySelectorAll(xe));return t&&Z.call(e,xe)&&s.unshift(e),s=s.filter(n),s},Ee=function(e,t,n){for(var s=[],i=Array.from(e);i.length;){var r=i.shift();if(!Te(r,!1))if(r.tagName==="SLOT"){var o=r.assignedElements(),l=o.length?o:r.children,c=Ee(l,!0,n);n.flatten?s.push.apply(s,c):s.push({scopeParent:r,candidates:c})}else{var f=Z.call(r,xe);f&&n.filter(r)&&(t||!e.includes(r))&&s.push(r);var v=r.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(r),h=!Te(v,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(r));if(v&&h){var y=Ee(v===!0?r.children:v.children,!0,n);n.flatten?s.push.apply(s,y):s.push({scopeParent:r,candidates:y})}else i.unshift.apply(i,r.children)}}return s},ft=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Y=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Qt(e))&&!ft(e)?0:e.tabIndex},Yt=function(e,t){var n=Y(e);return n<0&&t&&!ft(e)?0:n},Zt=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},ht=function(e){return e.tagName==="INPUT"},Xt=function(e){return ht(e)&&e.type==="hidden"},en=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},tn=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},nn=function(e){if(!e.name)return!0;var t=e.form||_e(e),n=function(o){return t.querySelectorAll('input[type="radio"][name="'+o+'"]')},s;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")s=n(window.CSS.escape(e.name));else try{s=n(e.name)}catch(r){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",r.message),!1}var i=tn(s,e.form);return!i||i===e},rn=function(e){return ht(e)&&e.type==="radio"},sn=function(e){return rn(e)&&!nn(e)},an=function(e){var t,n=e&&_e(e),s=(t=n)===null||t===void 0?void 0:t.host,i=!1;if(n&&n!==e){var r,o,l;for(i=!!((r=s)!==null&&r!==void 0&&(o=r.ownerDocument)!==null&&o!==void 0&&o.contains(s)||e!=null&&(l=e.ownerDocument)!==null&&l!==void 0&&l.contains(e));!i&&s;){var c,f,v;n=_e(s),s=(c=n)===null||c===void 0?void 0:c.host,i=!!((f=s)!==null&&f!==void 0&&(v=f.ownerDocument)!==null&&v!==void 0&&v.contains(s))}}return i},Xe=function(e){var t=e.getBoundingClientRect(),n=t.width,s=t.height;return n===0&&s===0},on=function(e,t){var n=t.displayCheck,s=t.getShadowRoot;if(n==="full-native"&&"checkVisibility"in e){var i=e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!i}if(getComputedStyle(e).visibility==="hidden")return!0;var r=Z.call(e,"details>summary:first-of-type"),o=r?e.parentElement:e;if(Z.call(o,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="full-native"||n==="legacy-full"){if(typeof s=="function"){for(var l=e;e;){var c=e.parentElement,f=_e(e);if(c&&!c.shadowRoot&&s(c)===!0)return Xe(e);e.assignedSlot?e=e.assignedSlot:!c&&f!==e.ownerDocument?e=f.host:e=c}e=l}if(an(e))return!e.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return Xe(e);return!1},ln=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n<t.children.length;n++){var s=t.children.item(n);if(s.tagName==="LEGEND")return Z.call(t,"fieldset[disabled] *")?!0:!s.contains(e)}return!0}t=t.parentElement}return!1},Ie=function(e,t){return!(t.disabled||Xt(t)||on(t,e)||en(t)||ln(t))},De=function(e,t){return!(sn(t)||Y(t)<0||!Ie(e,t))},cn=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},pt=function(e){var t=[],n=[];return e.forEach(function(s,i){var r=!!s.scopeParent,o=r?s.scopeParent:s,l=Yt(o,r),c=r?pt(s.candidates):o;l===0?r?t.push.apply(t,c):t.push(o):n.push({documentOrder:i,tabIndex:l,item:s,isScope:r,content:c})}),n.sort(Zt).reduce(function(s,i){return i.isScope?s.push.apply(s,i.content):s.push(i.content),s},[]).concat(t)},un=function(e,t){t=t||{};var n;return t.getShadowRoot?n=Ee([e],t.includeContainer,{filter:De.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:cn}):n=dt(e,t.includeContainer,De.bind(null,t)),pt(n)},dn=function(e,t){t=t||{};var n;return t.getShadowRoot?n=Ee([e],t.includeContainer,{filter:Ie.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):n=dt(e,t.includeContainer,Ie.bind(null,t)),n},ee=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return Z.call(e,xe)===!1?!1:De(t,e)},fn=ct.concat("iframe:not([inert]):not([inert] *)").join(","),Fe=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return Z.call(e,fn)===!1?!1:Ie(t,e)};function Pe(a,e){(e==null||e>a.length)&&(e=a.length);for(var t=0,n=Array(e);t<e;t++)n[t]=a[t];return n}function hn(a){if(Array.isArray(a))return Pe(a)}function et(a,e){var t=typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(!t){if(Array.isArray(a)||(t=vt(a))||e){t&&(a=t);var n=0,s=function(){};return{s,n:function(){return n>=a.length?{done:!0}:{done:!1,value:a[n++]}},e:function(l){throw l},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i,r=!0,o=!1;return{s:function(){t=t.call(a)},n:function(){var l=t.next();return r=l.done,l},e:function(l){o=!0,i=l},f:function(){try{r||t.return==null||t.return()}finally{if(o)throw i}}}}function pn(a,e,t){return(e=yn(e))in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}function vn(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function mn(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tt(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(a,s).enumerable})),t.push.apply(t,n)}return t}function nt(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?tt(Object(t),!0).forEach(function(n){pn(a,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):tt(Object(t)).forEach(function(n){Object.defineProperty(a,n,Object.getOwnPropertyDescriptor(t,n))})}return a}function gn(a){return hn(a)||vn(a)||vt(a)||mn()}function bn(a,e){if(typeof a!="object"||!a)return a;var t=a[Symbol.toPrimitive];if(t!==void 0){var n=t.call(a,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(a)}function yn(a){var e=bn(a,"string");return typeof e=="symbol"?e:e+""}function vt(a,e){if(a){if(typeof a=="string")return Pe(a,e);var t={}.toString.call(a).slice(8,-1);return t==="Object"&&a.constructor&&(t=a.constructor.name),t==="Map"||t==="Set"?Array.from(a):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Pe(a,e):void 0}}var W={getActiveTrap:function(e){return e?.length>0?e[e.length-1]:null},activateTrap:function(e,t){var n=W.getActiveTrap(e);t!==n&&W.pauseTrap(e);var s=e.indexOf(t);s===-1||e.splice(s,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),W.unpauseTrap(e)},pauseTrap:function(e){var t=W.getActiveTrap(e);t?._setPausedState(!0)},unpauseTrap:function(e){var t=W.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},wn=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Sn=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},ve=function(e){return e?.key==="Tab"||e?.keyCode===9},xn=function(e){return ve(e)&&!e.shiftKey},_n=function(e){return ve(e)&&e.shiftKey},rt=function(e){return setTimeout(e,0)},pe=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];return typeof e=="function"?e.apply(void 0,n):e},be=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},Tn=[],En=function(e,t){var n=t?.document||document,s=t?.trapStack||Tn,i=nt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,delayReturnFocus:!0,isolateSubtrees:!1,isKeyForward:xn,isKeyBackward:_n},t),r={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},o,l=function(u,d,b){return u&&u[d]!==void 0?u[d]:i[b||d]},c=function(u,d){var b=typeof d?.composedPath=="function"?d.composedPath():void 0;return r.containerGroups.findIndex(function(I){var m=I.container,p=I.tabbableNodes;return m.contains(u)||b?.includes(m)||p.find(function(g){return g===u})})},f=function(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},b=d.hasFallback,I=b===void 0?!1:b,m=d.params,p=m===void 0?[]:m,g=i[u];if(typeof g=="function"&&(g=g.apply(void 0,gn(p))),g===!0&&(g=void 0),!g){if(g===void 0||g===!1)return g;throw new Error("`".concat(u,"` was specified but was not a node, or did not return a node"))}var _=g;if(typeof g=="string"){try{_=n.querySelector(g)}catch(x){throw new Error("`".concat(u,'` appears to be an invalid selector; error="').concat(x.message,'"'))}if(!_&&!I)throw new Error("`".concat(u,"` as selector refers to no known node"))}return _},v=function(u){var d=u.activeElement;return d?d.shadowRoot&&d.shadowRoot.activeElement!==null?v(d.shadowRoot):d:null},h=function(){var u=f("initialFocus",{hasFallback:!0});if(u===!1)return!1;if(u===void 0||u&&!Fe(u,i.tabbableOptions)){var d=v(n);if(c(d)>=0)u=d;else{var b=r.tabbableGroups[0],I=b&&b.firstTabbableNode;u=I||f("fallbackFocus")}}else u===null&&(u=f("fallbackFocus"));if(!u)throw new Error("Your focus-trap needs to have at least one focusable element");return u},y=function(){if(r.containerGroups=r.containers.map(function(u){var d=un(u,i.tabbableOptions),b=dn(u,i.tabbableOptions),I=d.length>0?d[0]:void 0,m=d.length>0?d[d.length-1]:void 0,p=b.find(function(x){return ee(x)}),g=b.slice().reverse().find(function(x){return ee(x)}),_=!!d.find(function(x){return Y(x)>0});return{container:u,tabbableNodes:d,focusableNodes:b,posTabIndexesFound:_,firstTabbableNode:I,lastTabbableNode:m,firstDomTabbableNode:p,lastDomTabbableNode:g,nextTabbableNode:function(F){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,M=d.indexOf(F);return M<0?D?b.slice(b.indexOf(F)+1).find(function(j){return ee(j)}):b.slice(0,b.indexOf(F)).reverse().find(function(j){return ee(j)}):d[M+(D?1:-1)]}}}),r.tabbableGroups=r.containerGroups.filter(function(u){return u.tabbableNodes.length>0}),r.tabbableGroups.length<=0&&!f("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(r.containerGroups.find(function(u){return u.posTabIndexesFound})&&r.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.")},S=function(u){if(u!==!1&&u!==v(document)){if(!u||!u.focus){S(h());return}u.focus({preventScroll:!!i.preventScroll}),r.mostRecentlyFocusedNode=u,wn(u)&&u.select()}},w=function(u){var d=f("setReturnFocus",{params:[u]});return d||(d===!1?!1:u)},T=function(u){var d=u.target,b=u.event,I=u.isBackward,m=I===void 0?!1:I;d=d||be(b),y();var p=null;if(r.tabbableGroups.length>0){var g=c(d,b),_=g>=0?r.containerGroups[g]:void 0;if(g<0)m?p=r.tabbableGroups[r.tabbableGroups.length-1].lastTabbableNode:p=r.tabbableGroups[0].firstTabbableNode;else if(m){var x=r.tabbableGroups.findIndex(function(J){var U=J.firstTabbableNode;return d===U});if(x<0&&(_.container===d||Fe(d,i.tabbableOptions)&&!ee(d,i.tabbableOptions)&&!_.nextTabbableNode(d,!1))&&(x=g),x>=0){var F=x===0?r.tabbableGroups.length-1:x-1,D=r.tabbableGroups[F];p=Y(d)>=0?D.lastTabbableNode:D.lastDomTabbableNode}else ve(b)||(p=_.nextTabbableNode(d,!1))}else{var M=r.tabbableGroups.findIndex(function(J){var U=J.lastTabbableNode;return d===U});if(M<0&&(_.container===d||Fe(d,i.tabbableOptions)&&!ee(d,i.tabbableOptions)&&!_.nextTabbableNode(d))&&(M=g),M>=0){var j=M===r.tabbableGroups.length-1?0:M+1,O=r.tabbableGroups[j];p=Y(d)>=0?O.firstTabbableNode:O.firstDomTabbableNode}else ve(b)||(p=_.nextTabbableNode(d))}}else p=f("fallbackFocus");return p},N=function(u){var d=be(u);if(!(c(d,u)>=0)){if(pe(i.clickOutsideDeactivates,u)){o.deactivate({returnFocus:i.returnFocusOnDeactivate});return}pe(i.allowOutsideClick,u)||u.preventDefault()}},R=function(u){var d=be(u),b=c(d,u)>=0;if(b||d instanceof Document)b&&(r.mostRecentlyFocusedNode=d);else{u.stopImmediatePropagation();var I,m=!0;if(r.mostRecentlyFocusedNode)if(Y(r.mostRecentlyFocusedNode)>0){var p=c(r.mostRecentlyFocusedNode),g=r.containerGroups[p].tabbableNodes;if(g.length>0){var _=g.findIndex(function(x){return x===r.mostRecentlyFocusedNode});_>=0&&(i.isKeyForward(r.recentNavEvent)?_+1<g.length&&(I=g[_+1],m=!1):_-1>=0&&(I=g[_-1],m=!1))}}else r.containerGroups.some(function(x){return x.tabbableNodes.some(function(F){return Y(F)>0})})||(m=!1);else m=!1;m&&(I=T({target:r.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(r.recentNavEvent)})),S(I||r.mostRecentlyFocusedNode||h())}r.recentNavEvent=void 0},G=function(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;r.recentNavEvent=u;var b=T({event:u,isBackward:d});b&&(ve(u)&&u.preventDefault(),S(b))},z=function(u){(i.isKeyForward(u)||i.isKeyBackward(u))&&G(u,i.isKeyBackward(u))},$=function(u){Sn(u)&&pe(i.escapeDeactivates,u)!==!1&&(u.preventDefault(),o.deactivate())},P=function(u){var d=be(u);c(d,u)>=0||pe(i.clickOutsideDeactivates,u)||pe(i.allowOutsideClick,u)||(u.preventDefault(),u.stopImmediatePropagation())},V=function(){if(r.active){W.activateTrap(s,o);var u;return i.delayInitialFocus?u=new Promise(function(d){r.delayInitialFocusTimer=rt(function(){S(h()),d()})}):S(h()),n.addEventListener("focusin",R,!0),n.addEventListener("mousedown",N,{capture:!0,passive:!1}),n.addEventListener("touchstart",N,{capture:!0,passive:!1}),n.addEventListener("click",P,{capture:!0,passive:!1}),n.addEventListener("keydown",z,{capture:!0,passive:!1}),n.addEventListener("keydown",$),u}},A=function(u){r.active&&!r.paused&&o._setSubtreeIsolation(!1),r.adjacentElements.clear(),r.alreadySilent.clear();var d=new Set,b=new Set,I=et(u),m;try{for(I.s();!(m=I.n()).done;){var p=m.value;d.add(p);for(var g=typeof ShadowRoot<"u"&&p.getRootNode()instanceof ShadowRoot,_=p;_;){d.add(_);var x=_.parentElement,F=[];x?F=x.children:!x&&g&&(F=_.getRootNode().children,x=_.getRootNode().host,g=typeof ShadowRoot<"u"&&x.getRootNode()instanceof ShadowRoot);var D=et(F),M;try{for(D.s();!(M=D.n()).done;){var j=M.value;b.add(j)}}catch(O){D.e(O)}finally{D.f()}_=x}}}catch(O){I.e(O)}finally{I.f()}d.forEach(function(O){b.delete(O)}),r.adjacentElements=b},K=function(){if(r.active)return n.removeEventListener("focusin",R,!0),n.removeEventListener("mousedown",N,!0),n.removeEventListener("touchstart",N,!0),n.removeEventListener("click",P,!0),n.removeEventListener("keydown",z,!0),n.removeEventListener("keydown",$),o},ie=function(u){var d=r.mostRecentlyFocusedNode;if(d){var b=u.some(function(m){var p=Array.from(m.removedNodes);return p.some(function(g){return g===d||typeof g.contains=="function"&&g.contains(d)})});if(b&&r.containers.some(function(m){return m?.isConnected})){y();var I=h();S(I)}}},ae=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(ie):void 0,X=function(){ae&&(ae.disconnect(),r.active&&!r.paused&&r.containers.map(function(u){ae.observe(u,{subtree:!0,childList:!0})}))};return o={get active(){return r.active},get paused(){return r.paused},activate:function(u){if(r.active)return this;var d=l(u,"onActivate"),b=l(u,"onPostActivate"),I=l(u,"checkCanFocusTrap"),m=W.getActiveTrap(s),p=!1;if(m&&!m.paused){var g;(g=m._setSubtreeIsolation)===null||g===void 0||g.call(m,!1),p=!0}try{I||y(),r.active=!0,r.paused=!1,r.nodeFocusedBeforeActivation=v(n),d?.({trap:o});var _=function(){I&&y();var D=function(){o._setSubtreeIsolation(!0),X(),b?.({trap:o})},M=V();M?M.then(D):D()};if(I)return I(r.containers.concat()).then(_,_),this;_()}catch(F){if(m===W.getActiveTrap(s)&&p){var x;(x=m._setSubtreeIsolation)===null||x===void 0||x.call(m,!0)}throw F}return this},deactivate:function(u){if(!r.active)return this;var d=nt({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},u);clearTimeout(r.delayInitialFocusTimer),r.delayInitialFocusTimer=void 0,r.paused||o._setSubtreeIsolation(!1),r.alreadySilent.clear(),K(),r.active=!1,r.paused=!1,X(),W.deactivateTrap(s,o);var b=l(d,"onDeactivate"),I=l(d,"onPostDeactivate"),m=l(d,"checkCanReturnFocus"),p=l(d,"delayReturnFocus"),g=l(d,"returnFocus","returnFocusOnDeactivate");b?.({trap:o});var _=function(){g&&S(w(r.nodeFocusedBeforeActivation)),I?.({trap:o})},x=function(){p&&g?rt(_):_()};return g&&m?(m(w(r.nodeFocusedBeforeActivation)).then(x,x),this):(x(),this)},pause:function(u){return r.active?(r.manuallyPaused=!0,this._setPausedState(!0,u)):this},unpause:function(u){return r.active?(r.manuallyPaused=!1,s[s.length-1]!==this?this:this._setPausedState(!1,u)):this},updateContainerElements:function(u){var d=[].concat(u).filter(Boolean);return r.containers=d.map(function(b){return typeof b=="string"?n.querySelector(b):b}),i.isolateSubtrees&&A(r.containers),r.active&&(y(),r.paused||o._setSubtreeIsolation(!0)),X(),this}},Object.defineProperties(o,{_isManuallyPaused:{value:function(){return r.manuallyPaused}},_setPausedState:{value:function(u,d){if(r.paused===u)return this;if(r.paused=u,u){var b=l(d,"onPause"),I=l(d,"onPostPause");b?.({trap:o}),K(),o._setSubtreeIsolation(!1),X(),I?.({trap:o})}else{var m=l(d,"onUnpause"),p=l(d,"onPostUnpause");m?.({trap:o});var g=function(){y();var x=function(){o._setSubtreeIsolation(!0),X(),p?.({trap:o})},F=V();F?F.then(x):x()};g()}return this}},_setSubtreeIsolation:{value:function(u){i.isolateSubtrees&&r.adjacentElements.forEach(function(d){var b;u?i.isolateSubtrees==="aria-hidden"?((d.ariaHidden==="true"||((b=d.getAttribute("aria-hidden"))===null||b===void 0?void 0:b.toLowerCase())==="true")&&r.alreadySilent.add(d),d.setAttribute("aria-hidden","true")):((d.inert||d.hasAttribute("inert"))&&r.alreadySilent.add(d),d.setAttribute("inert",!0)):r.alreadySilent.has(d)||(i.isolateSubtrees==="aria-hidden"?d.removeAttribute("aria-hidden"):d.removeAttribute("inert"))})}}}),o.updateContainerElements(e),o};function In(a,e={}){let t;const{immediate:n,...s}=e,i=ne(!1),r=ne(!1),o=v=>t&&t.activate(v),l=v=>t&&t.deactivate(v),c=()=>{t&&(t.pause(),r.value=!0)},f=()=>{t&&(t.unpause(),r.value=!1)};return Le(Se(()=>Tt(qe(a)).map(v=>{const h=qe(v);return typeof h=="string"?h:Et(h)}).filter(It)),v=>{if(v.length)if(!t)t=En(v,{...s,onActivate(h){i.value=!0,e.onActivate&&e.onActivate(h)},onDeactivate(h){i.value=!1,e.onDeactivate&&e.onDeactivate(h)}}),n&&o();else{const h=t?.active;t?.updateContainerElements(v),!h&&n&&o()}},{flush:"post"}),kt(()=>l()),{hasFocus:i,isPaused:r,activate:o,deactivate:l,pause:c,unpause:f}}class re{constructor(e,t=!0,n=[],s=5e3){this.ctx=e,this.iframes=t,this.exclude=n,this.iframesTimeout=s}static matches(e,t){const n=typeof t=="string"?[t]:t,s=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(s){let i=!1;return n.every(r=>s.call(e,r)?(i=!0,!1):!0),i}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(n=>{const s=t.filter(i=>i.contains(n)).length>0;t.indexOf(n)===-1&&!s&&t.push(n)}),t}getIframeContents(e,t,n=()=>{}){let s;try{const i=e.contentWindow;if(s=i.document,!i||!s)throw new Error("iframe inaccessible")}catch{n()}s&&t(s)}isIframeBlank(e){const t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}observeIframeLoad(e,t,n){let s=!1,i=null;const r=()=>{if(!s){s=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",r),this.getIframeContents(e,t,n))}catch{n()}}};e.addEventListener("load",r),i=setTimeout(r,this.iframesTimeout)}onIframeReady(e,t,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch{n()}}waitForIframes(e,t){let n=0;this.forEachIframe(e,()=>!0,s=>{n++,this.waitForIframes(s.querySelector("html"),()=>{--n||t()})},s=>{s||t()})}forEachIframe(e,t,n,s=()=>{}){let i=e.querySelectorAll("iframe"),r=i.length,o=0;i=Array.prototype.slice.call(i);const l=()=>{--r<=0&&s(o)};r||l(),i.forEach(c=>{re.matches(c,this.exclude)?l():this.onIframeReady(c,f=>{t(c)&&(o++,n(f)),l()},l)})}createIterator(e,t,n){return document.createNodeIterator(e,t,n,!1)}createInstanceOnIframe(e){return new re(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,n){const s=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(s&i)if(t!==null){const r=t.compareDocumentPosition(n),o=Node.DOCUMENT_POSITION_FOLLOWING;if(r&o)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let n;return t===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}checkIframeFilter(e,t,n,s){let i=!1,r=!1;return s.forEach((o,l)=>{o.val===n&&(i=l,r=o.handled)}),this.compareNodeIframe(e,t,n)?(i===!1&&!r?s.push({val:n,handled:!0}):i!==!1&&!r&&(s[i].handled=!0),!0):(i===!1&&s.push({val:n,handled:!1}),!1)}handleOpenIframes(e,t,n,s){e.forEach(i=>{i.handled||this.getIframeContents(i.val,r=>{this.createInstanceOnIframe(r).forEachNode(t,n,s)})})}iterateThroughNodes(e,t,n,s,i){const r=this.createIterator(t,e,s);let o=[],l=[],c,f,v=()=>({prevNode:f,node:c}=this.getIteratorNode(r),c);for(;v();)this.iframes&&this.forEachIframe(t,h=>this.checkIframeFilter(c,f,h,o),h=>{this.createInstanceOnIframe(h).forEachNode(e,y=>l.push(y),s)}),l.push(c);l.forEach(h=>{n(h)}),this.iframes&&this.handleOpenIframes(o,e,n,s),i()}forEachNode(e,t,n,s=()=>{}){const i=this.getContexts();let r=i.length;r||s(),i.forEach(o=>{const l=()=>{this.iterateThroughNodes(e,o,t,n,()=>{--r<=0&&s()})};this.iframes?this.waitForIframes(o,l):l()})}}let kn=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 re(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[t]=="function"&&n[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,n=this.opt.caseSensitive?"":"i",s=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in t)if(t.hasOwnProperty(i)){const r=t[i],o=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(r):this.escapeStr(r);o!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(o)}|${this.escapeStr(l)})`,`gm${n}`),s+`(${this.processSynomyms(o)}|${this.processSynomyms(l)})`+s))}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,n,s)=>{let i=s.charAt(n+1);return/[(|)\\]/.test(i)||i===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.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",n=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 s=[];return e.split("").forEach(i=>{n.every(r=>{if(r.indexOf(i)!==-1){if(s.indexOf(r)>-1)return!1;e=e.replace(new RegExp(`[${r}]`,`gm${t}`),`[${r}]`),s.push(r)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let n=this.opt.accuracy,s=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,r="";switch(i.forEach(o=>{r+=`|${this.escapeStr(o)}`}),s){case"partially":default:return`()(${e})`;case"complementary":return r="\\s"+(r||this.escapeStr(t)),`()([^${r}]*${e}[^${r}]*)`;case"exactly":return`(^|\\s${r})(${e})(?=$|\\s${r})`}}getSeparatedKeywords(e){let t=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(s=>{s.trim()&&t.indexOf(s)===-1&&t.push(s)}):n.trim()&&t.indexOf(n)===-1&&t.push(n)}),{keywords:t.sort((n,s)=>s.length-n.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 n=0;return e.sort((s,i)=>s.start-i.start).forEach(s=>{let{start:i,end:r,valid:o}=this.callNoMatchOnInvalidRanges(s,n);o&&(s.start=i,s.length=r-i,t.push(s),n=r)}),t}callNoMatchOnInvalidRanges(e,t){let n,s,i=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),s=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&s-t>0&&s-n>0?i=!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:n,end:s,valid:i}}checkWhitespaceRanges(e,t,n){let s,i=!0,r=n.length,o=t-r,l=parseInt(e.start,10)-o;return l=l>r?r:l,s=l+parseInt(e.length,10),s>r&&(s=r,this.log(`End range automatically set to the max value of ${r}`)),l<0||s-l<0||l>r||s>r?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(l,s).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:s,valid:i}}getTextNodes(e){let t="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,s=>{n.push({start:t.length,end:(t+=s.textContent).length,node:s})},s=>this.matchesExclude(s.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:n})})}matchesExclude(e){return re.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,n){const s=this.opt.element?this.opt.element:"mark",i=e.splitText(t),r=i.splitText(n-t);let o=document.createElement(s);return o.setAttribute("data-markjs","true"),this.opt.className&&o.setAttribute("class",this.opt.className),o.textContent=i.textContent,i.parentNode.replaceChild(o,i),r}wrapRangeInMappedTextNode(e,t,n,s,i){e.nodes.every((r,o)=>{const l=e.nodes[o+1];if(typeof l>"u"||l.start>t){if(!s(r.node))return!1;const c=t-r.start,f=(n>r.end?r.end:n)-r.start,v=e.value.substr(0,r.start),h=e.value.substr(f+r.start);if(r.node=this.wrapRangeInTextNode(r.node,c,f),e.value=v+h,e.nodes.forEach((y,S)=>{S>=o&&(e.nodes[S].start>0&&S!==o&&(e.nodes[S].start-=f),e.nodes[S].end-=f)}),n-=f,i(r.node.previousSibling,r.start),n>r.end)t=r.end;else return!1}return!0})}wrapMatches(e,t,n,s,i){const r=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[r]!=="";){if(!n(c[r],l))continue;let f=c.index;if(r!==0)for(let v=1;v<r;v++)f+=c[v].length;l=this.wrapRangeInTextNode(l,f,f+c[r].length),s(l.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,t,n,s,i){const r=t===0?0:t+1;this.getTextNodes(o=>{let l;for(;(l=e.exec(o.value))!==null&&l[r]!=="";){let c=l.index;if(r!==0)for(let v=1;v<r;v++)c+=l[v].length;const f=c+l[r].length;this.wrapRangeInMappedTextNode(o,c,f,v=>n(l[r],v),(v,h)=>{e.lastIndex=h,s(v)})}i()})}wrapRangeFromIndex(e,t,n,s){this.getTextNodes(i=>{const r=i.value.length;e.forEach((o,l)=>{let{start:c,end:f,valid:v}=this.checkWhitespaceRanges(o,r,i.value);v&&this.wrapRangeInMappedTextNode(i,c,f,h=>t(h,o,i.value.substring(c,f),l),h=>{n(h,o)})}),s()})}unwrapMatches(e){const t=e.parentNode;let n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,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 n=0,s="wrapMatches";const i=r=>{n++,this.opt.each(r)};this.opt.acrossElements&&(s="wrapMatchesAcrossElements"),this[s](e,this.opt.ignoreGroups,(r,o)=>this.opt.filter(o,r,n),i,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,t){this.opt=t;let n=0,s="wrapMatches";const{keywords:i,length:r}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),o=this.opt.caseSensitive?"":"i",l=c=>{let f=new RegExp(this.createRegExp(c),`gm${o}`),v=0;this.log(`Searching with expression "${f}"`),this[s](f,1,(h,y)=>this.opt.filter(y,c,n,v),h=>{v++,n++,this.opt.each(h)},()=>{v===0&&this.opt.noMatch(c),i[r-1]===c?this.opt.done(n):l(i[i.indexOf(c)+1])})};this.opt.acrossElements&&(s="wrapMatchesAcrossElements"),r===0?this.opt.done(n):l(i[0])}markRanges(e,t){this.opt=t;let n=0,s=this.checkRanges(e);s&&s.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(s)),this.wrapRangeFromIndex(s,(i,r,o,l)=>this.opt.filter(i,r,o,l),(i,r)=>{n++,this.opt.each(i,r)},()=>{this.opt.done(n)})):this.opt.done(n)}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,n=>{this.unwrapMatches(n)},n=>{const s=re.matches(n,t),i=this.matchesExclude(n);return!s||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Nn(a){const e=new kn(a);return this.mark=(t,n)=>(e.mark(t,n),this),this.markRegExp=(t,n)=>(e.markRegExp(t,n),this),this.markRanges=(t,n)=>(e.markRanges(t,n),this),this.unmark=t=>(e.unmark(t),this),this}const Fn="ENTRIES",mt="KEYS",gt="VALUES",L="";class Re{constructor(e,t){const n=e._tree,s=Array.from(n.keys());this.set=e,this._type=t,this._path=s.length>0?[{node:n,keys:s}]:[]}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}=te(this._path);if(te(t)===L)return{done:!1,value:this.result()};const n=e.get(te(t));return this._path.push({node:n,keys:Array.from(n.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=te(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>te(e)).filter(e=>e!==L).join("")}value(){return te(this._path).node.get(L)}result(){switch(this._type){case gt:return this.value();case mt:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const te=a=>a[a.length-1],Rn=(a,e,t)=>{const n=new Map;if(e===void 0)return n;const s=e.length+1,i=s+t,r=new Uint8Array(i*s).fill(t+1);for(let o=0;o<s;++o)r[o]=o;for(let o=1;o<i;++o)r[o*s]=o;return bt(a,e,t,n,r,1,s,""),n},bt=(a,e,t,n,s,i,r,o)=>{const l=i*r;e:for(const c of a.keys())if(c===L){const f=s[l-1];f<=t&&n.set(o,[a.get(c),f])}else{let f=i;for(let v=0;v<c.length;++v,++f){const h=c[v],y=r*f,S=y-r;let w=s[y];const T=Math.max(0,f-t-1),N=Math.min(r-1,f+t);for(let R=T;R<N;++R){const G=h!==e[R],z=s[S+R]+ +G,$=s[S+R+1]+1,P=s[y+R]+1,V=s[y+R+1]=Math.min(z,$,P);V<w&&(w=V)}if(w>t)continue e}bt(a.get(c),e,t,n,s,f,r,o+c)}};class H{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,n]=ke(this._tree,e.slice(this._prefix.length));if(t===void 0){const[s,i]=$e(n);for(const r of s.keys())if(r!==L&&r.startsWith(i)){const o=new Map;return o.set(r.slice(i.length),s.get(r)),new H(o,e)}}return new H(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,On(this._tree,e)}entries(){return new Re(this,Fn)}forEach(e){for(const[t,n]of this)e(t,n,this)}fuzzyGet(e,t){return Rn(this._tree,e,t)}get(e){const t=ze(this._tree,e);return t!==void 0?t.get(L):void 0}has(e){const t=ze(this._tree,e);return t!==void 0&&t.has(L)}keys(){return new Re(this,mt)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,Oe(this._tree,e).set(L,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 n=Oe(this._tree,e);return n.set(L,t(n.get(L))),this}fetch(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const n=Oe(this._tree,e);let s=n.get(L);return s===void 0&&n.set(L,s=t()),s}values(){return new Re(this,gt)}[Symbol.iterator](){return this.entries()}static from(e){const t=new H;for(const[n,s]of e)t.set(n,s);return t}static fromObject(e){return H.from(Object.entries(e))}}const ke=(a,e,t=[])=>{if(e.length===0||a==null)return[a,t];for(const n of a.keys())if(n!==L&&e.startsWith(n))return t.push([a,n]),ke(a.get(n),e.slice(n.length),t);return t.push([a,e]),ke(void 0,"",t)},ze=(a,e)=>{if(e.length===0||a==null)return a;for(const t of a.keys())if(t!==L&&e.startsWith(t))return ze(a.get(t),e.slice(t.length))},Oe=(a,e)=>{const t=e.length;e:for(let n=0;a&&n<t;){for(const i of a.keys())if(i!==L&&e[n]===i[0]){const r=Math.min(t-n,i.length);let o=1;for(;o<r&&e[n+o]===i[o];)++o;const l=a.get(i);if(o===i.length)a=l;else{const c=new Map;c.set(i.slice(o),l),a.set(e.slice(n,n+o),c),a.delete(i),a=c}n+=o;continue e}const s=new Map;return a.set(e.slice(n),s),s}return a},On=(a,e)=>{const[t,n]=ke(a,e);if(t!==void 0){if(t.delete(L),t.size===0)yt(n);else if(t.size===1){const[s,i]=t.entries().next().value;wt(n,s,i)}}},yt=a=>{if(a.length===0)return;const[e,t]=$e(a);if(e.delete(t),e.size===0)yt(a.slice(0,-1));else if(e.size===1){const[n,s]=e.entries().next().value;n!==L&&wt(a.slice(0,-1),n,s)}},wt=(a,e,t)=>{if(a.length===0)return;const[n,s]=$e(a);n.set(s+e,t),n.delete(s)},$e=a=>a[a.length-1],Be="or",St="and",An="and_not";class se{constructor(e){if(e?.fields==null)throw new Error('MiniSearch: option "fields" must be provided');const t=e.autoVacuum==null||e.autoVacuum===!0?Me:e.autoVacuum;this._options={...Ce,...e,autoVacuum:t,searchOptions:{...st,...e.searchOptions||{}},autoSuggestOptions:{...Pn,...e.autoSuggestOptions||{}}},this._index=new H,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,stringifyField:n,tokenize:s,processTerm:i,fields:r,idField:o}=this._options,l=t(e,o);if(l==null)throw new Error(`MiniSearch: document does not have ID field "${o}"`);if(this._idToShortId.has(l))throw new Error(`MiniSearch: duplicate ID ${l}`);const c=this.addDocumentId(l);this.saveStoredFields(c,e);for(const f of r){const v=t(e,f);if(v==null)continue;const h=s(n(v,f),f),y=this._fieldIds[f],S=new Set(h).size;this.addFieldLength(c,y,this._documentCount-1,S);for(const w of h){const T=i(w,f);if(Array.isArray(T))for(const N of T)this.addTerm(y,c,N);else T&&this.addTerm(y,c,T)}}}addAll(e){for(const t of e)this.add(t)}addAllAsync(e,t={}){const{chunkSize:n=10}=t,s={chunk:[],promise:Promise.resolve()},{chunk:i,promise:r}=e.reduce(({chunk:o,promise:l},c,f)=>(o.push(c),(f+1)%n===0?{chunk:[],promise:l.then(()=>new Promise(v=>setTimeout(v,0))).then(()=>this.addAll(o))}:{chunk:o,promise:l}),s);return r.then(()=>this.addAll(i))}remove(e){const{tokenize:t,processTerm:n,extractField:s,stringifyField:i,fields:r,idField:o}=this._options,l=s(e,o);if(l==null)throw new Error(`MiniSearch: document does not have ID field "${o}"`);const c=this._idToShortId.get(l);if(c==null)throw new Error(`MiniSearch: cannot remove document with ID ${l}: it is not in the index`);for(const f of r){const v=s(e,f);if(v==null)continue;const h=t(i(v,f),f),y=this._fieldIds[f],S=new Set(h).size;this.removeFieldLength(c,y,this._documentCount,S);for(const w of h){const T=n(w,f);if(Array.isArray(T))for(const N of T)this.removeTerm(y,c,N);else T&&this.removeTerm(y,c,T)}}this._storedFields.delete(c),this._documentIds.delete(c),this._idToShortId.delete(l),this._fieldLength.delete(c),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 H,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((n,s)=>{this.removeFieldLength(t,s,this._documentCount,n)}),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:n,batchWait:s}=this._options.autoVacuum;this.conditionalVacuum({batchSize:n,batchWait:s},{minDirtCount:t,minDirtFactor:e})}discardAll(e){const t=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const n of e)this.discard(n)}finally{this._options.autoVacuum=t}this.maybeAutoVacuum()}replace(e){const{idField:t,extractField:n}=this._options,s=n(e,t);this.discard(s),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 n=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=je,this.performVacuuming(e,n)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}async performVacuuming(e,t){const n=this._dirtCount;if(this.vacuumConditionsMet(t)){const s=e.batchSize||Ve.batchSize,i=e.batchWait||Ve.batchWait;let r=1;for(const[o,l]of this._index){for(const[c,f]of l)for(const[v]of f)this._documentIds.has(v)||(f.size<=1?l.delete(c):f.delete(v));this._index.get(o).size===0&&this._index.delete(o),r%s===0&&await new Promise(c=>setTimeout(c,i)),r+=1}this._dirtCount-=n}await null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null}vacuumConditionsMet(e){if(e==null)return!0;let{minDirtCount:t,minDirtFactor:n}=e;return t=t||Me.minDirtCount,n=n||Me.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=n}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{searchOptions:n}=this._options,s={...n,...t},i=this.executeQuery(e,t),r=[];for(const[o,{score:l,terms:c,match:f}]of i){const v=c.length||1,h={id:this._documentIds.get(o),score:l*v,terms:Object.keys(f),queryTerms:c,match:f};Object.assign(h,this._storedFields.get(o)),(s.filter==null||s.filter(h))&&r.push(h)}return e===se.wildcard&&s.boostDocument==null||r.sort(at),r}autoSuggest(e,t={}){t={...this._options.autoSuggestOptions,...t};const n=new Map;for(const{score:i,terms:r}of this.search(e,t)){const o=r.join(" "),l=n.get(o);l!=null?(l.score+=i,l.count+=1):n.set(o,{score:i,terms:r,count:1})}const s=[];for(const[i,{score:r,terms:o,count:l}]of n)s.push({suggestion:i,terms:o,score:r/l});return s.sort(at),s}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 async loadJSONAsync(e,t){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(Ce.hasOwnProperty(e))return Ae(Ce,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,t){const{index:n,documentIds:s,fieldLength:i,storedFields:r,serializationVersion:o}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=ye(s),l._fieldLength=ye(i),l._storedFields=ye(r);for(const[c,f]of l._documentIds)l._idToShortId.set(f,c);for(const[c,f]of n){const v=new Map;for(const h of Object.keys(f)){let y=f[h];o===1&&(y=y.ds),v.set(parseInt(h,10),ye(y))}l._index.set(c,v)}return l}static async loadJSAsync(e,t){const{index:n,documentIds:s,fieldLength:i,storedFields:r,serializationVersion:o}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=await we(s),l._fieldLength=await we(i),l._storedFields=await we(r);for(const[f,v]of l._documentIds)l._idToShortId.set(v,f);let c=0;for(const[f,v]of n){const h=new Map;for(const y of Object.keys(v)){let S=v[y];o===1&&(S=S.ds),h.set(parseInt(y,10),await we(S))}++c%1e3===0&&await xt(0),l._index.set(f,h)}return l}static instantiateMiniSearch(e,t){const{documentCount:n,nextId:s,fieldIds:i,averageFieldLength:r,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 se(t);return c._documentCount=n,c._nextId=s,c._idToShortId=new Map,c._fieldIds=i,c._avgFieldLength=r,c._dirtCount=o||0,c._index=new H,c}executeQuery(e,t={}){if(e===se.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){const h={...t,...e,queries:void 0},y=e.queries.map(S=>this.executeQuery(S,h));return this.combineResults(y,h.combineWith)}const{tokenize:n,processTerm:s,searchOptions:i}=this._options,r={tokenize:n,processTerm:s,...i,...t},{tokenize:o,processTerm:l}=r,v=o(e).flatMap(h=>l(h)).filter(h=>!!h).map(Dn(r)).map(h=>this.executeQuerySpec(h,r));return this.combineResults(v,r.combineWith)}executeQuerySpec(e,t){const n={...this._options.searchOptions,...t},s=(n.fields||this._options.fields).reduce((w,T)=>({...w,[T]:Ae(n.boost,T)||1}),{}),{boostDocument:i,weights:r,maxFuzzy:o,bm25:l}=n,{fuzzy:c,prefix:f}={...st.weights,...r},v=this._index.get(e.term),h=this.termResults(e.term,e.term,1,e.termBoost,v,s,i,l);let y,S;if(e.prefix&&(y=this._index.atPrefix(e.term)),e.fuzzy){const w=e.fuzzy===!0?.2:e.fuzzy,T=w<1?Math.min(o,Math.round(e.term.length*w)):w;T&&(S=this._index.fuzzyGet(e.term,T))}if(y)for(const[w,T]of y){const N=w.length-e.term.length;if(!N)continue;S?.delete(w);const R=f*w.length/(w.length+.3*N);this.termResults(e.term,w,R,e.termBoost,T,s,i,l,h)}if(S)for(const w of S.keys()){const[T,N]=S.get(w);if(!N)continue;const R=c*w.length/(w.length+N);this.termResults(e.term,w,R,e.termBoost,T,s,i,l,h)}return h}executeWildcardQuery(e){const t=new Map,n={...this._options.searchOptions,...e};for(const[s,i]of this._documentIds){const r=n.boostDocument?n.boostDocument(i,"",this._storedFields.get(s)):1;t.set(s,{score:r,terms:[],match:{}})}return t}combineResults(e,t=Be){if(e.length===0)return new Map;const n=t.toLowerCase(),s=Cn[n];if(!s)throw new Error(`Invalid combination operator: ${t}`);return e.reduce(s)||new Map}toJSON(){const e=[];for(const[t,n]of this._index){const s={};for(const[i,r]of n)s[i]=Object.fromEntries(r);e.push([t,s])}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,n,s,i,r,o,l,c=new Map){if(i==null)return c;for(const f of Object.keys(r)){const v=r[f],h=this._fieldIds[f],y=i.get(h);if(y==null)continue;let S=y.size;const w=this._avgFieldLength[h];for(const T of y.keys()){if(!this._documentIds.has(T)){this.removeTerm(h,T,t),S-=1;continue}const N=o?o(this._documentIds.get(T),t,this._storedFields.get(T)):1;if(!N)continue;const R=y.get(T),G=this._fieldLength.get(T)[h],z=Ln(R,S,this._documentCount,G,w,l),$=n*s*v*N*z,P=c.get(T);if(P){P.score+=$,zn(P.terms,e);const V=Ae(P.match,t);V?V.push(f):P.match[t]=[f]}else c.set(T,{score:$,terms:[e],match:{[t]:[f]}})}}return c}addTerm(e,t,n){const s=this._index.fetch(n,ot);let i=s.get(e);if(i==null)i=new Map,i.set(t,1),s.set(e,i);else{const r=i.get(t);i.set(t,(r||0)+1)}}removeTerm(e,t,n){if(!this._index.has(n)){this.warnDocumentChanged(t,e,n);return}const s=this._index.fetch(n,ot),i=s.get(e);i==null||i.get(t)==null?this.warnDocumentChanged(t,e,n):i.get(t)<=1?i.size<=1?s.delete(e):i.delete(t):i.set(t,i.get(t)-1),this._index.get(n).size===0&&this._index.delete(n)}warnDocumentChanged(e,t,n){for(const s of Object.keys(this._fieldIds))if(this._fieldIds[s]===t){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(e)} has changed before removal: term "${n}" was not present in field "${s}". 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,n,s){let i=this._fieldLength.get(e);i==null&&this._fieldLength.set(e,i=[]),i[t]=s;const o=(this._avgFieldLength[t]||0)*n+s;this._avgFieldLength[t]=o/(n+1)}removeFieldLength(e,t,n,s){if(n===1){this._avgFieldLength[t]=0;return}const i=this._avgFieldLength[t]*n-s;this._avgFieldLength[t]=i/(n-1)}saveStoredFields(e,t){const{storeFields:n,extractField:s}=this._options;if(n==null||n.length===0)return;let i=this._storedFields.get(e);i==null&&this._storedFields.set(e,i={});for(const r of n){const o=s(t,r);o!==void 0&&(i[r]=o)}}}se.wildcard=Symbol("*");const Ae=(a,e)=>Object.prototype.hasOwnProperty.call(a,e)?a[e]:void 0,Cn={[Be]:(a,e)=>{for(const t of e.keys()){const n=a.get(t);if(n==null)a.set(t,e.get(t));else{const{score:s,terms:i,match:r}=e.get(t);n.score=n.score+s,n.match=Object.assign(n.match,r),it(n.terms,i)}}return a},[St]:(a,e)=>{const t=new Map;for(const n of e.keys()){const s=a.get(n);if(s==null)continue;const{score:i,terms:r,match:o}=e.get(n);it(s.terms,r),t.set(n,{score:s.score+i,terms:s.terms,match:Object.assign(s.match,o)})}return t},[An]:(a,e)=>{for(const t of e.keys())a.delete(t);return a}},Mn={k:1.2,b:.7,d:.5},Ln=(a,e,t,n,s,i)=>{const{k:r,b:o,d:l}=i;return Math.log(1+(t-e+.5)/(e+.5))*(l+a*(r+1)/(a+r*(1-o+o*n/s)))},Dn=a=>(e,t,n)=>{const s=typeof a.fuzzy=="function"?a.fuzzy(e,t,n):a.fuzzy||!1,i=typeof a.prefix=="function"?a.prefix(e,t,n):a.prefix===!0,r=typeof a.boostTerm=="function"?a.boostTerm(e,t,n):1;return{term:e,fuzzy:s,prefix:i,termBoost:r}},Ce={idField:"id",extractField:(a,e)=>a[e],stringifyField:(a,e)=>a.toString(),tokenize:a=>a.split(Vn),processTerm:a=>a.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(a,e)=>{typeof console?.[a]=="function"&&console[a](e)},autoVacuum:!0},st={combineWith:Be,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:Mn},Pn={combineWith:St,prefix:(a,e,t)=>e===t.length-1},Ve={batchSize:1e3,batchWait:10},je={minDirtFactor:.1,minDirtCount:20},Me={...Ve,...je},zn=(a,e)=>{a.includes(e)||a.push(e)},it=(a,e)=>{for(const t of e)a.includes(t)||a.push(t)},at=({score:a},{score:e})=>e-a,ot=()=>new Map,ye=a=>{const e=new Map;for(const t of Object.keys(a))e.set(parseInt(t,10),a[t]);return e},we=async a=>{const e=new Map;let t=0;for(const n of Object.keys(a))e.set(parseInt(n,10),a[n]),++t%1e3===0&&await xt(0);return e},xt=a=>new Promise(e=>setTimeout(e,a)),Vn=/[\n\r\p{Z}\p{P}]+/u;class jn{max;cache;constructor(e=10){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()}}function $n(a){const{localeIndex:e,theme:t}=lt();function n(s){const i=s.split("."),r=t.value.search?.options,o=r&&typeof r=="object",l=o&&r.locales?.[e.value]?.translations||null,c=o&&r.translations||null;let f=l,v=c,h=a;const y=i.pop();for(const S of i){let w=null;const T=h?.[S];T&&(w=h=T);const N=v?.[S];N&&(w=v=N);const R=f?.[S];R&&(w=f=R),T||(h=w),N||(v=w),R||(f=w)}return f?.[y]??v?.[y]??h?.[y]??""}return n}const Bn=["aria-owns"],Wn={class:"shell"},Kn=["title"],Jn={class:"search-actions before"},Un=["title"],qn=["aria-activedescendant","aria-controls","placeholder"],Hn={class:"search-actions"},Gn=["title"],Qn=["disabled","title"],Yn=["id","role","aria-labelledby"],Zn=["id","aria-selected"],Xn=["href","aria-label","onMouseenter","onFocusin","data-index"],er={class:"titles"},tr=["innerHTML"],nr={class:"title main"},rr=["innerHTML"],sr={key:0,class:"excerpt-wrapper"},ir={key:0,class:"excerpt",inert:""},ar=["innerHTML"],or={key:0,class:"no-results"},lr={class:"search-keyboard-shortcuts"},cr=["aria-label"],ur=["aria-label"],dr=["aria-label"],fr=["aria-label"],hr=Nt({__name:"VPLocalSearchBox",emits:["close"],setup(a,{emit:e}){const t=e,n=ne(),s=ne(),i=ne(Gt),r=lt(),{activate:o}=In(n,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:l,theme:c}=r,f=He(async()=>Ze(se.loadJSON((await i.value[l.value]?.())?.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...c.value.search?.provider==="local"&&c.value.search.options?.miniSearch?.searchOptions},...c.value.search?.provider==="local"&&c.value.search.options?.miniSearch?.options}))),h=Se(()=>c.value.search?.provider==="local"&&c.value.search.options?.disableQueryPersistence===!0).value?ue(""):Ft("vitepress:local-search-filter",""),y=Rt("vitepress:local-search-detailed-list",c.value.search?.provider==="local"&&c.value.search.options?.detailedView===!0),S=Se(()=>c.value.search?.provider==="local"&&(c.value.search.options?.disableDetailedView===!0||c.value.search.options?.detailedView===!1));Ot(()=>{S.value&&(y.value=!1)});const w=ne([]),T=ue(!1);Le(h,()=>{T.value=!1});const N=He(async()=>{if(s.value)return Ze(new Nn(s.value))},null),R=new jn(16);At(()=>[f.value,h.value,y.value],async([m,p,g],_,x)=>{_?.[0]!==m&&R.clear();let F=!1;if(x(()=>{F=!0}),!m)return;w.value=m.search(p).slice(0,16),T.value=!0;const D=g?await Promise.all(w.value.map(O=>G(O.id))):[];if(F)return;for(const{id:O,mod:J}of D){const U=O.slice(0,O.indexOf("#"));let oe=R.get(U);if(oe)continue;oe=new Map,R.set(U,oe);const le=J.default??J;if(le?.render||le?.setup){const Q=Kt(le);Q.config.warnHandler=()=>{},Q.provide(Jt,r),Object.defineProperties(Q.config.globalProperties,{$frontmatter:{get(){return r.frontmatter.value}},$params:{get(){return r.page.value.params}}});const We=document.createElement("div");Q.mount(We),We.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(ce=>{const Ke=ce.querySelector("a")?.getAttribute("href"),Je=Ke?.startsWith("#")&&Ke.slice(1);if(!Je)return;let Ue="";for(;(ce=ce.nextElementSibling)&&!/^h[1-6]$/i.test(ce.tagName);)Ue+=ce.outerHTML;oe.set(Je,Ue)}),Q.unmount()}if(F)return}const M=new Set;if(w.value=w.value.map(O=>{const[J,U]=O.id.split("#"),le=R.get(J)?.get(U)??"";for(const Q in O.match)M.add(Q);return{...O,text:le}}),await de(),F)return;await new Promise(O=>{N.value?.unmark({done:()=>{N.value?.markRegExp(b(M),{done:O})}})});const j=n.value?.querySelectorAll(".result .excerpt")??[];for(const O of j)O.querySelector('mark[data-markjs="true"]')?.scrollIntoView({block:"center"});s.value?.firstElementChild?.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function G(m){const p=Ut(m.slice(0,m.indexOf("#")));try{if(!p)throw new Error(`Cannot find file for id: ${m}`);return{id:m,mod:await import(p)}}catch(g){return console.error(g),{id:m,mod:{}}}}const z=ue(),$=Se(()=>h.value?.length<=0);function P(m=!0){z.value?.focus(),m&&z.value?.select()}Ne(()=>{P()});function V(m){m.pointerType==="mouse"&&P()}const A=ue(-1),K=ue(!0);Le(w,m=>{A.value=m.length?0:-1,ie()});function ie(){de(()=>{document.querySelector(".result.selected")?.scrollIntoView({block:"nearest"})})}me("ArrowUp",m=>{m.preventDefault(),A.value--,A.value<0&&(A.value=w.value.length-1),K.value=!0,ie()}),me("ArrowDown",m=>{m.preventDefault(),A.value++,A.value>=w.value.length&&(A.value=0),K.value=!0,ie()});const ae=Ct();me("Enter",m=>{if(m.isComposing||m.target instanceof HTMLButtonElement&&m.target.type!=="submit")return;const p=w.value[A.value];if(m.target instanceof HTMLInputElement&&!p){m.preventDefault();return}p&&(ae.go(p.id),t("close"))}),me("Escape",()=>{t("close")});const E=$n({button:{buttonText:"Search"},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"}}});Ne(()=>{window.history.pushState(null,"",null)}),Mt("popstate",m=>{m.preventDefault(),t("close")});const u=Lt(Dt?document.body:null);Ne(()=>{de(()=>{u.value=!0,de().then(()=>o())})}),Pt(()=>{u.value=!1});function d(){h.value="",de().then(()=>P(!1))}function b(m){return new RegExp([...m].sort((p,g)=>g.length-p.length).map(p=>`(${qt(p)})`).join("|"),"gi")}function I(m){if(!K.value)return;const p=m.target?.closest(".result"),g=Number.parseInt(p?.dataset.index);g>=0&&g!==A.value&&(A.value=g),K.value=!1}return(m,p)=>(B(),zt(Wt,{to:"body"},[k("div",{ref_key:"el",ref:n,role:"button","aria-owns":w.value?.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[k("div",{class:"backdrop",onClick:p[0]||(p[0]=g=>m.$emit("close"))}),k("div",Wn,[k("form",{class:"search-bar",onPointerup:p[4]||(p[4]=g=>V(g)),onSubmit:p[5]||(p[5]=Vt(()=>{},["prevent"]))},[k("label",{title:C(E)("button.buttonText"),id:"localsearch-label",for:"localsearch-input"},[...p[7]||(p[7]=[k("span",{"aria-hidden":"true",class:"vpi-search search-icon local-search-icon"},null,-1)])],8,Kn),k("div",Jn,[k("button",{class:"back-button",title:C(E)("modal.backButtonTitle"),onClick:p[1]||(p[1]=g=>m.$emit("close"))},[...p[8]||(p[8]=[k("span",{class:"vpi-arrow-left local-search-icon"},null,-1)])],8,Un)]),jt(k("input",{ref_key:"searchInput",ref:z,"onUpdate:modelValue":p[2]||(p[2]=g=>Bt(h)?h.value=g:null),"aria-activedescendant":A.value>-1?"localsearch-item-"+A.value:void 0,"aria-autocomplete":"both","aria-controls":w.value?.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:C(E)("button.buttonText"),spellcheck:"false",type:"search"},null,8,qn),[[$t,C(h)]]),k("div",Hn,[S.value?ge("",!0):(B(),q("button",{key:0,class:Ge(["toggle-layout-button",{"detailed-list":C(y)}]),type:"button",title:C(E)("modal.displayDetails"),onClick:p[3]||(p[3]=g=>A.value>-1&&(y.value=!C(y)))},[...p[9]||(p[9]=[k("span",{class:"vpi-layout-list local-search-icon"},null,-1)])],10,Gn)),k("button",{class:"clear-button",type:"reset",disabled:$.value,title:C(E)("modal.resetButtonTitle"),onClick:d},[...p[10]||(p[10]=[k("span",{class:"vpi-delete local-search-icon"},null,-1)])],8,Qn)])],32),k("ul",{ref_key:"resultsEl",ref:s,id:w.value?.length?"localsearch-list":void 0,role:w.value?.length?"listbox":void 0,"aria-labelledby":w.value?.length?"localsearch-label":void 0,class:"results",onMousemove:I},[(B(!0),q(Ye,null,Qe(w.value,(g,_)=>(B(),q("li",{key:g.id,id:"localsearch-item-"+_,"aria-selected":A.value===_?"true":"false",role:"option"},[k("a",{href:g.id,class:Ge(["result",{selected:A.value===_}]),"aria-label":[...g.titles,g.title].join(" > "),onMouseenter:x=>!K.value&&(A.value=_),onFocusin:x=>A.value=_,onClick:p[6]||(p[6]=x=>m.$emit("close")),"data-index":_},[k("div",null,[k("div",er,[p[12]||(p[12]=k("span",{class:"title-icon"},"#",-1)),(B(!0),q(Ye,null,Qe(g.titles,(x,F)=>(B(),q("span",{key:F,class:"title"},[k("span",{class:"text",innerHTML:x},null,8,tr),p[11]||(p[11]=k("span",{class:"vpi-chevron-right local-search-icon"},null,-1))]))),128)),k("span",nr,[k("span",{class:"text",innerHTML:g.title},null,8,rr)])]),C(y)?(B(),q("div",sr,[g.text?(B(),q("div",ir,[k("div",{class:"vp-doc",innerHTML:g.text},null,8,ar)])):ge("",!0),p[13]||(p[13]=k("div",{class:"excerpt-gradient-bottom"},null,-1)),p[14]||(p[14]=k("div",{class:"excerpt-gradient-top"},null,-1))])):ge("",!0)])],42,Xn)],8,Zn))),128)),C(h)&&!w.value.length&&T.value?(B(),q("li",or,[fe(he(C(E)("modal.noResultsText"))+' "',1),k("strong",null,he(C(h)),1),p[15]||(p[15]=fe('" ',-1))])):ge("",!0)],40,Yn),k("div",lr,[k("span",null,[k("kbd",{"aria-label":C(E)("modal.footer.navigateUpKeyAriaLabel")},[...p[16]||(p[16]=[k("span",{class:"vpi-arrow-up navigate-icon"},null,-1)])],8,cr),k("kbd",{"aria-label":C(E)("modal.footer.navigateDownKeyAriaLabel")},[...p[17]||(p[17]=[k("span",{class:"vpi-arrow-down navigate-icon"},null,-1)])],8,ur),fe(" "+he(C(E)("modal.footer.navigateText")),1)]),k("span",null,[k("kbd",{"aria-label":C(E)("modal.footer.selectKeyAriaLabel")},[...p[18]||(p[18]=[k("span",{class:"vpi-corner-down-left navigate-icon"},null,-1)])],8,dr),fe(" "+he(C(E)("modal.footer.selectText")),1)]),k("span",null,[k("kbd",{"aria-label":C(E)("modal.footer.closeKeyAriaLabel")},"esc",8,fr),fe(" "+he(C(E)("modal.footer.closeText")),1)])])])],8,Bn)]))}}),br=Ht(hr,[["__scopeId","data-v-8c9d8b44"]]);export{br as default};
@@ -0,0 +1,4 @@
1
+ function er(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ne={},Ft=[],Ye=()=>{},Ti=()=>!1,hn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),zn=e=>e.startsWith("onUpdate:"),pe=Object.assign,tr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},hl=Object.prototype.hasOwnProperty,te=(e,t)=>hl.call(e,t),q=Array.isArray,Dt=e=>pn(e)==="[object Map]",Jn=e=>pn(e)==="[object Set]",Cr=e=>pn(e)==="[object Date]",X=e=>typeof e=="function",le=e=>typeof e=="string",Le=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",xi=e=>(ee(e)||X(e))&&X(e.then)&&X(e.catch),Ci=Object.prototype.toString,pn=e=>Ci.call(e),pl=e=>pn(e).slice(8,-1),Ai=e=>pn(e)==="[object Object]",Qn=e=>le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Tt=er(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Zn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},gl=/-\w/g,Ce=Zn(e=>e.replace(gl,t=>t.slice(1).toUpperCase())),ml=/\B([A-Z])/g,pt=Zn(e=>e.replace(ml,"-$1").toLowerCase()),es=Zn(e=>e.charAt(0).toUpperCase()+e.slice(1)),In=Zn(e=>e?`on${es(e)}`:""),Xe=(e,t)=>!Object.is(e,t),Nn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Mi=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ts=e=>{const t=parseFloat(e);return isNaN(t)?e:t},vl=e=>{const t=le(e)?Number(e):NaN;return isNaN(t)?e:t};let Ar;const ns=()=>Ar||(Ar=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function nr(e){if(q(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=le(s)?wl(s):nr(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(le(e)||ee(e))return e}const yl=/;(?![^(]*\))/g,_l=/:([^]+)/,bl=/\/\*[^]*?\*\//g;function wl(e){const t={};return e.replace(bl,"").split(yl).forEach(n=>{if(n){const s=n.split(_l);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function sr(e){let t="";if(le(e))t=e;else if(q(e))for(let n=0;n<e.length;n++){const s=sr(e[n]);s&&(t+=s+" ")}else if(ee(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Sl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",El=er(Sl);function Ri(e){return!!e||e===""}function Tl(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=gn(e[s],t[s]);return n}function gn(e,t){if(e===t)return!0;let n=Cr(e),s=Cr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Le(e),s=Le(t),n||s)return e===t;if(n=q(e),s=q(t),n||s)return n&&s?Tl(e,t):!1;if(n=ee(e),s=ee(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!gn(e[o],t[o]))return!1}}return String(e)===String(t)}function xl(e,t){return e.findIndex(n=>gn(n,t))}const Oi=e=>!!(e&&e.__v_isRef===!0),Cl=e=>le(e)?e:e==null?"":q(e)||ee(e)&&(e.toString===Ci||!X(e.toString))?Oi(e)?Cl(e.value):JSON.stringify(e,Pi,2):String(e),Pi=(e,t)=>Oi(t)?Pi(e,t.value):Dt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[_s(s,i)+" =>"]=r,n),{})}:Jn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>_s(n))}:Le(t)?_s(t):ee(t)&&!q(t)&&!Ai(t)?String(t):t,_s=(e,t="")=>{var n;return Le(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let he;class Al{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&he&&(he.active?(this.parent=he,this.index=(he.scopes||(he.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!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=he;try{return he=this,t()}finally{he=n}}}on(){++this._on===1&&(this.prevScope=he,he=this)}off(){if(this._on>0&&--this._on===0){if(he===this)he=this.prevScope;else{let t=he;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=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}}}function rr(){return he}function Ml(e,t=!1){he&&he.cleanups.push(e)}let ie;const bs=new WeakSet;class Li{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,he&&(he.active?he.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,bs.has(this)&&(bs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ni(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Mr(this),Fi(this);const t=ie,n=He;ie=this,He=!0;try{return this.fn()}finally{Di(this),ie=t,He=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)lr(t);this.deps=this.depsTail=void 0,Mr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?bs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ds(this)&&this.run()}get dirty(){return Ds(this)}}let Ii=0,Qt,Zt;function Ni(e,t=!1){if(e.flags|=8,t){e.next=Zt,Zt=e;return}e.next=Qt,Qt=e}function ir(){Ii++}function or(){if(--Ii>0)return;if(Zt){let t=Zt;for(Zt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Qt;){let t=Qt;for(Qt=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 Fi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Di(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),lr(s),Rl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Ds(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Hi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Hi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===rn)||(e.globalVersion=rn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ds(e))))return;e.flags|=2;const t=e.dep,n=ie,s=He;ie=e,He=!0;try{Fi(e);const r=e.fn(e._value);(t.version===0||Xe(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ie=n,He=s,Di(e),e.flags&=-3}}function lr(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)lr(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Rl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let He=!0;const $i=[];function st(){$i.push(He),He=!1}function rt(){const e=$i.pop();He=e===void 0?!0:e}function Mr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ie;ie=void 0;try{t()}finally{ie=n}}}let rn=0;class Ol{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 ss{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,this.__v_skip=!0}track(t){if(!ie||!He||ie===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ie)n=this.activeLink=new Ol(ie,this),ie.deps?(n.prevDep=ie.depsTail,ie.depsTail.nextDep=n,ie.depsTail=n):ie.deps=ie.depsTail=n,ji(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=ie.depsTail,n.nextDep=void 0,ie.depsTail.nextDep=n,ie.depsTail=n,ie.deps===n&&(ie.deps=s)}return n}trigger(t){this.version++,rn++,this.notify(t)}notify(t){ir();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{or()}}}function ji(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)ji(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const jn=new WeakMap,xt=Symbol(""),Hs=Symbol(""),on=Symbol("");function _e(e,t,n){if(He&&ie){let s=jn.get(e);s||jn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new ss),r.map=s,r.key=n),r.track()}}function tt(e,t,n,s,r,i){const o=jn.get(e);if(!o){rn++;return}const l=c=>{c&&c.trigger()};if(ir(),t==="clear")o.forEach(l);else{const c=q(e),u=c&&Qn(n);if(c&&n==="length"){const a=Number(s);o.forEach((d,m)=>{(m==="length"||m===on||!Le(m)&&m>=a)&&l(d)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),u&&l(o.get(on)),t){case"add":c?u&&l(o.get("length")):(l(o.get(xt)),Dt(e)&&l(o.get(Hs)));break;case"delete":c||(l(o.get(xt)),Dt(e)&&l(o.get(Hs)));break;case"set":Dt(e)&&l(o.get(xt));break}}or()}function Pl(e,t){const n=jn.get(e);return n&&n.get(t)}function Pt(e){const t=Z(e);return t===e?t:(_e(t,"iterate",on),Oe(e)?t:t.map(je))}function rs(e){return _e(e=Z(e),"iterate",on),e}function Ge(e,t){return it(e)?kt(ft(e)?je(t):t):je(t)}const Ll={__proto__:null,[Symbol.iterator](){return ws(this,Symbol.iterator,e=>Ge(this,e))},concat(...e){return Pt(this).concat(...e.map(t=>q(t)?Pt(t):t))},entries(){return ws(this,"entries",e=>(e[1]=Ge(this,e[1]),e))},every(e,t){return Je(this,"every",e,t,void 0,arguments)},filter(e,t){return Je(this,"filter",e,t,n=>n.map(s=>Ge(this,s)),arguments)},find(e,t){return Je(this,"find",e,t,n=>Ge(this,n),arguments)},findIndex(e,t){return Je(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Je(this,"findLast",e,t,n=>Ge(this,n),arguments)},findLastIndex(e,t){return Je(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Je(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ss(this,"includes",e)},indexOf(...e){return Ss(this,"indexOf",e)},join(e){return Pt(this).join(e)},lastIndexOf(...e){return Ss(this,"lastIndexOf",e)},map(e,t){return Je(this,"map",e,t,void 0,arguments)},pop(){return qt(this,"pop")},push(...e){return qt(this,"push",e)},reduce(e,...t){return Rr(this,"reduce",e,t)},reduceRight(e,...t){return Rr(this,"reduceRight",e,t)},shift(){return qt(this,"shift")},some(e,t){return Je(this,"some",e,t,void 0,arguments)},splice(...e){return qt(this,"splice",e)},toReversed(){return Pt(this).toReversed()},toSorted(e){return Pt(this).toSorted(e)},toSpliced(...e){return Pt(this).toSpliced(...e)},unshift(...e){return qt(this,"unshift",e)},values(){return ws(this,"values",e=>Ge(this,e))}};function ws(e,t,n){const s=rs(e),r=s[t]();return s!==e&&!Oe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const Il=Array.prototype;function Je(e,t,n,s,r,i){const o=rs(e),l=o!==e&&!Oe(e),c=o[t];if(c!==Il[t]){const d=c.apply(e,i);return l?je(d):d}let u=n;o!==e&&(l?u=function(d,m){return n.call(this,Ge(e,d),m,e)}:n.length>2&&(u=function(d,m){return n.call(this,d,m,e)}));const a=c.call(o,u,s);return l&&r?r(a):a}function Rr(e,t,n,s){const r=rs(e),i=r!==e&&!Oe(e);let o=n,l=!1;r!==e&&(i?(l=s.length===0,o=function(u,a,d){return l&&(l=!1,u=Ge(e,u)),n.call(this,u,Ge(e,a),d,e)}):n.length>3&&(o=function(u,a,d){return n.call(this,u,a,d,e)}));const c=r[t](o,...s);return l?Ge(e,c):c}function Ss(e,t,n){const s=Z(e);_e(s,"iterate",on);const r=s[t](...n);return(r===-1||r===!1)&&ls(n[0])?(n[0]=Z(n[0]),s[t](...n)):r}function qt(e,t,n=[]){st(),ir();const s=Z(e)[t].apply(e,n);return or(),rt(),s}const Nl=er("__proto__,__v_isRef,__isVue"),Vi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Le));function Fl(e){Le(e)||(e=String(e));const t=Z(this);return _e(t,"has",e),t.hasOwnProperty(e)}class ki{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;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?Gi:qi:i?Ki:Bi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=q(t);if(!r){let c;if(o&&(c=Ll[n]))return c;if(n==="hasOwnProperty")return Fl}const l=Reflect.get(t,n,ae(t)?t:s);if((Le(n)?Vi.has(n):Nl(n))||(r||_e(t,"get",n),i))return l;if(ae(l)){const c=o&&Qn(n)?l:l.value;return r&&ee(c)?ln(c):c}return ee(l)?r?ln(l):Vt(l):l}}class Ui extends ki{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];const o=q(t)&&Qn(n);if(!this._isShallow){const u=it(i);if(!Oe(s)&&!it(s)&&(i=Z(i),s=Z(s)),!o&&ae(i)&&!ae(s))return u||(i.value=s),!0}const l=o?Number(n)<t.length:te(t,n),c=Reflect.set(t,n,s,ae(t)?t:r);return t===Z(r)&&(l?Xe(s,i)&&tt(t,"set",n,s):tt(t,"add",n,s)),c}deleteProperty(t,n){const s=te(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&tt(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Le(n)||!Vi.has(n))&&_e(t,"has",n),s}ownKeys(t){return _e(t,"iterate",q(t)?"length":xt),Reflect.ownKeys(t)}}class Wi extends ki{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Dl=new Ui,Hl=new Wi,$l=new Ui(!0),jl=new Wi(!0),$s=e=>e,Sn=e=>Reflect.getPrototypeOf(e);function Vl(e,t,n){return function(...s){const r=this.__v_raw,i=Z(r),o=Dt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=r[e](...s),a=n?$s:t?kt:je;return!t&&_e(i,"iterate",c?Hs:xt),pe(Object.create(u),{next(){const{value:d,done:m}=u.next();return m?{value:d,done:m}:{value:l?[a(d[0]),a(d[1])]:a(d),done:m}}})}}function En(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function kl(e,t){const n={get(r){const i=this.__v_raw,o=Z(i),l=Z(r);e||(Xe(r,l)&&_e(o,"get",r),_e(o,"get",l));const{has:c}=Sn(o),u=t?$s:e?kt:je;if(c.call(o,r))return u(i.get(r));if(c.call(o,l))return u(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&_e(Z(r),"iterate",xt),r.size},has(r){const i=this.__v_raw,o=Z(i),l=Z(r);return e||(Xe(r,l)&&_e(o,"has",r),_e(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),u=t?$s:e?kt:je;return!e&&_e(c,"iterate",xt),l.forEach((a,d)=>r.call(i,u(a),u(d),o))}};return pe(n,e?{add:En("add"),set:En("set"),delete:En("delete"),clear:En("clear")}:{add(r){const i=Z(this),o=Sn(i),l=Z(r),c=!t&&!Oe(r)&&!it(r)?l:r;return o.has.call(i,c)||Xe(r,c)&&o.has.call(i,r)||Xe(l,c)&&o.has.call(i,l)||(i.add(c),tt(i,"add",c,c)),this},set(r,i){!t&&!Oe(i)&&!it(i)&&(i=Z(i));const o=Z(this),{has:l,get:c}=Sn(o);let u=l.call(o,r);u||(r=Z(r),u=l.call(o,r));const a=c.call(o,r);return o.set(r,i),u?Xe(i,a)&&tt(o,"set",r,i):tt(o,"add",r,i),this},delete(r){const i=Z(this),{has:o,get:l}=Sn(i);let c=o.call(i,r);c||(r=Z(r),c=o.call(i,r)),l&&l.call(i,r);const u=i.delete(r);return c&&tt(i,"delete",r,void 0),u},clear(){const r=Z(this),i=r.size!==0,o=r.clear();return i&&tt(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Vl(r,e,t)}),n}function is(e,t){const n=kl(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(te(n,r)&&r in s?n:s,r,i)}const Ul={get:is(!1,!1)},Wl={get:is(!1,!0)},Bl={get:is(!0,!1)},Kl={get:is(!0,!0)},Bi=new WeakMap,Ki=new WeakMap,qi=new WeakMap,Gi=new WeakMap;function ql(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Gl(e){return e.__v_skip||!Object.isExtensible(e)?0:ql(pl(e))}function Vt(e){return it(e)?e:os(e,!1,Dl,Ul,Bi)}function Xl(e){return os(e,!1,$l,Wl,Ki)}function ln(e){return os(e,!0,Hl,Bl,qi)}function Yl(e){return os(e,!0,jl,Kl,Gi)}function os(e,t,n,s,r){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Gl(e);if(i===0)return e;const o=r.get(e);if(o)return o;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function ft(e){return it(e)?ft(e.__v_raw):!!(e&&e.__v_isReactive)}function it(e){return!!(e&&e.__v_isReadonly)}function Oe(e){return!!(e&&e.__v_isShallow)}function ls(e){return e?!!e.__v_raw:!1}function Z(e){const t=e&&e.__v_raw;return t?Z(t):e}function Fn(e){return!te(e,"__v_skip")&&Object.isExtensible(e)&&Mi(e,"__v_skip",!0),e}const je=e=>ee(e)?Vt(e):e,kt=e=>ee(e)?ln(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function $e(e){return Xi(e,!1)}function be(e){return Xi(e,!0)}function Xi(e,t){return ae(e)?e:new zl(e,t)}class zl{constructor(t,n){this.dep=new ss,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Z(t),this._value=n?t:je(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Oe(t)||it(t);t=s?t:Z(t),Xe(t,n)&&(this._rawValue=t,this._value=s?t:je(t),this.dep.trigger())}}function cs(e){return ae(e)?e.value:e}function ce(e){return X(e)?e():cs(e)}const Jl={get:(e,t,n)=>t==="__v_raw"?e:cs(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ae(r)&&!ae(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Yi(e){return ft(e)?e:new Proxy(e,Jl)}class Ql{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new ss,{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 Zl(e){return new Ql(e)}class ec{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=Le(n)?n:String(n),this._raw=Z(t);let r=!0,i=t;if(!q(t)||Le(this._key)||!Qn(this._key))do r=!ls(i)||Oe(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=cs(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ae(this._raw[this._key])){const n=this._object[this._key];if(ae(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Pl(this._raw,this._key)}}class tc{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 nc(e,t,n){return ae(e)?e:X(e)?new tc(e):ee(e)&&arguments.length>1?sc(e,t,n):$e(e)}function sc(e,t,n){return new ec(e,t,n)}class rc{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ss(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=rn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ie!==this)return Ni(this,!0),!0}get value(){const t=this.dep.track();return Hi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ic(e,t,n=!1){let s,r;return X(e)?s=e:(s=e.get,r=e.set),new rc(s,r,n)}const Tn={},Vn=new WeakMap;let bt;function oc(e,t=!1,n=bt){if(n){let s=Vn.get(n);s||Vn.set(n,s=[]),s.push(e)}}function lc(e,t,n=ne){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,u=g=>r?g:Oe(g)||r===!1||r===0?nt(g,1):nt(g);let a,d,m,v,w=!1,b=!1;if(ae(e)?(d=()=>e.value,w=Oe(e)):ft(e)?(d=()=>u(e),w=!0):q(e)?(b=!0,w=e.some(g=>ft(g)||Oe(g)),d=()=>e.map(g=>{if(ae(g))return g.value;if(ft(g))return u(g);if(X(g))return c?c(g,2):g()})):X(e)?t?d=c?()=>c(e,2):e:d=()=>{if(m){st();try{m()}finally{rt()}}const g=bt;bt=a;try{return c?c(e,3,[v]):e(v)}finally{bt=g}}:d=Ye,t&&r){const g=d,M=r===!0?1/0:r;d=()=>nt(g(),M)}const O=rr(),H=()=>{a.stop(),O&&O.active&&tr(O.effects,a)};if(i&&t){const g=t;t=(...M)=>{g(...M),H()}}let I=b?new Array(e.length).fill(Tn):Tn;const p=g=>{if(!(!(a.flags&1)||!a.dirty&&!g))if(t){const M=a.run();if(r||w||(b?M.some((B,P)=>Xe(B,I[P])):Xe(M,I))){m&&m();const B=bt;bt=a;try{const P=[M,I===Tn?void 0:b&&I[0]===Tn?[]:I,v];I=M,c?c(t,3,P):t(...P)}finally{bt=B}}}else a.run()};return l&&l(p),a=new Li(d),a.scheduler=o?()=>o(p,!1):p,v=g=>oc(g,!1,a),m=a.onStop=()=>{const g=Vn.get(a);if(g){if(c)c(g,4);else for(const M of g)M();Vn.delete(a)}},t?s?p(!0):I=a.run():o?o(p.bind(null,!0),!0):a.run(),H.pause=a.pause.bind(a),H.resume=a.resume.bind(a),H.stop=H,H}function nt(e,t=1/0,n){if(t<=0||!ee(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ae(e))nt(e.value,t,n);else if(q(e))for(let s=0;s<e.length;s++)nt(e[s],t,n);else if(Jn(e)||Dt(e))e.forEach(s=>{nt(s,t,n)});else if(Ai(e)){for(const s in e)nt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&nt(e[s],t,n)}return e}function mn(e,t,n,s){try{return s?e(...s):e()}catch(r){vn(r,t,n)}}function Ve(e,t,n,s){if(X(e)){const r=mn(e,t,n,s);return r&&xi(r)&&r.catch(i=>{vn(i,t,n)}),r}if(q(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Ve(e[i],t,n,s));return r}}function vn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ne;if(t){let l=t.parent;const c=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let d=0;d<a.length;d++)if(a[d](e,c,u)===!1)return}l=l.parent}if(i){st(),mn(i,null,10,[e,c,u]),rt();return}}cc(e,n,r,s,o)}function cc(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Ee=[];let Be=-1;const Ht=[];let at=null,It=0;const zi=Promise.resolve();let kn=null;function yn(e){const t=kn||zi;return e?t.then(this?e.bind(this):e):t}function ac(e){let t=Be+1,n=Ee.length;for(;t<n;){const s=t+n>>>1,r=Ee[s],i=cn(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function cr(e){if(!(e.flags&1)){const t=cn(e),n=Ee[Ee.length-1];!n||!(e.flags&2)&&t>=cn(n)?Ee.push(e):Ee.splice(ac(t),0,e),e.flags|=1,Ji()}}function Ji(){kn||(kn=zi.then(Qi))}function uc(e){q(e)?Ht.push(...e):at&&e.id===-1?at.splice(It+1,0,e):e.flags&1||(Ht.push(e),e.flags|=1),Ji()}function Or(e,t,n=Be+1){for(;n<Ee.length;n++){const s=Ee[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Ee.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Un(e){if(Ht.length){const t=[...new Set(Ht)].sort((n,s)=>cn(n)-cn(s));if(Ht.length=0,at){at.push(...t);return}for(at=t,It=0;It<at.length;It++){const n=at[It];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}at=null,It=0}}const cn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Qi(e){try{for(Be=0;Be<Ee.length;Be++){const t=Ee[Be];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),mn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Be<Ee.length;Be++){const t=Ee[Be];t&&(t.flags&=-2)}Be=-1,Ee.length=0,Un(),kn=null,(Ee.length||Ht.length)&&Qi()}}let ye=null,Zi=null;function Wn(e){const t=ye;return ye=e,Zi=e&&e.type.__scopeId||null,t}function fc(e,t=ye,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&qn(-1);const i=Wn(t);let o;try{o=e(...r)}finally{Wn(i),s._d&&qn(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function uf(e,t){if(ye===null)return e;const n=hs(ye),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=ne]=t[r];i&&(X(i)&&(i={mounted:i,updated:i}),i.deep&&nt(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function Ke(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&&(st(),Ve(c,n,8,[e.el,l,e,t]),rt())}}function dc(e,t){if(ve){let n=ve.provides;const s=ve.parent&&ve.parent.provides;s===n&&(n=ve.provides=Object.create(s)),n[e]=t}}function Ct(e,t,n=!1){const s=gt();if(s||Mt){let r=Mt?Mt._context.provides:s?s.parent==null||s.ce?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&&X(t)?t.call(s&&s.proxy):t}}function eo(){return!!(gt()||Mt)}const hc=Symbol.for("v-scx"),pc=()=>Ct(hc);function ar(e,t){return as(e,null,t)}function ff(e,t){return as(e,null,{flush:"post"})}function Pe(e,t,n){return as(e,t,n)}function as(e,t,n=ne){const{immediate:s,deep:r,flush:i,once:o}=n,l=pe({},n),c=t&&s||!t&&i!=="post";let u;if(Ut){if(i==="sync"){const v=pc();u=v.__watcherHandles||(v.__watcherHandles=[])}else if(!c){const v=()=>{};return v.stop=Ye,v.resume=Ye,v.pause=Ye,v}}const a=ve;l.call=(v,w,b)=>Ve(v,a,w,b);let d=!1;i==="post"?l.scheduler=v=>{Se(v,a&&a.suspense)}:i!=="sync"&&(d=!0,l.scheduler=(v,w)=>{w?v():cr(v)}),l.augmentJob=v=>{t&&(v.flags|=4),d&&(v.flags|=2,a&&(v.id=a.uid,v.i=a))};const m=lc(e,t,l);return Ut&&(u?u.push(m):c&&m()),m}function gc(e,t,n){const s=this.proxy,r=le(e)?e.includes(".")?to(s,e):()=>s[e]:e.bind(s,s);let i;X(t)?i=t:(i=t.handler,n=t);const o=bn(this),l=as(r,i.bind(s),n);return o(),l}function to(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 ct=new WeakMap,no=Symbol("_vte"),so=e=>e.__isTeleport,wt=e=>e&&(e.disabled||e.disabled===""),mc=e=>e&&(e.defer||e.defer===""),Pr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Lr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,js=(e,t)=>{const n=e&&e.to;return le(n)?t?t(n):null:n},vc={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,u){const{mc:a,pc:d,pbc:m,o:{insert:v,querySelector:w,createText:b,createComment:O,parentNode:H}}=u,I=wt(t.props);let{dynamicChildren:p}=t;const g=(P,U,_)=>{P.shapeFlag&16&&a(P.children,U,_,r,i,o,l,c)},M=(P=t)=>{const U=wt(P.props),_=P.target=js(P.props,w),A=Vs(_,P,b,v);_&&(o!=="svg"&&Pr(_)?o="svg":o!=="mathml"&&Lr(_)&&(o="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(_),U||(g(P,_,A),Yt(P,!1)))},B=P=>{const U=()=>{if(ct.get(P)===U){if(ct.delete(P),wt(P.props)){const _=H(P.el)||n;g(P,_,P.anchor),Yt(P,!0)}M(P)}};ct.set(P,U),Se(U,i)};if(e==null){const P=t.el=b(""),U=t.anchor=b("");if(v(P,n,s),v(U,n,s),mc(t.props)||i&&i.pendingBranch){B(t);return}I&&(g(t,n,U),Yt(t,!0)),M()}else{t.el=e.el;const P=t.anchor=e.anchor,U=ct.get(e);if(U){U.flags|=8,ct.delete(e),B(t);return}t.targetStart=e.targetStart;const _=t.target=e.target,A=t.targetAnchor=e.targetAnchor,j=wt(e.props),S=j?n:_,k=j?P:A;if(o==="svg"||Pr(_)?o="svg":(o==="mathml"||Lr(_))&&(o="mathml"),p?(m(e.dynamicChildren,p,S,r,i,o,l),pr(e,t,!0)):c||d(e,t,S,k,r,i,o,l,!1),I)j?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):xn(t,n,P,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const $=t.target=js(t.props,w);$&&xn(t,$,null,u,0)}else j&&xn(t,_,A,u,1);Yt(t,I)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:u,targetAnchor:a,target:d,props:m}=e;let v=i||!wt(m);const w=ct.get(e);if(w&&(w.flags|=8,ct.delete(e),v=!1),d&&(r(u),r(a)),i&&r(c),o&16)for(let b=0;b<l.length;b++){const O=l[b];s(O,t,n,v,!!O.dynamicChildren)}},move:xn,hydrate:yc};function xn(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:u,props:a}=e,d=i===2;if(d&&s(o,t,n),!ct.has(e)&&(!d||wt(a))&&c&16)for(let m=0;m<u.length;m++)r(u[m],t,n,2);d&&s(l,t,n)}function yc(e,t,n,s,r,i,{o:{nextSibling:o,parentNode:l,querySelector:c,insert:u,createText:a}},d){function m(O,H){let I=H;for(;I;){if(I&&I.nodeType===8){if(I.data==="teleport start anchor")t.targetStart=I;else if(I.data==="teleport anchor"){t.targetAnchor=I,O._lpa=t.targetAnchor&&o(t.targetAnchor);break}}I=o(I)}}function v(O,H){H.anchor=d(o(O),H,l(O),n,s,r,i)}const w=t.target=js(t.props,c),b=wt(t.props);if(w){const O=w._lpa||w.firstChild;t.shapeFlag&16&&(b?(v(e,t),m(w,O),t.targetAnchor||Vs(w,t,a,u,l(e)===w?e:null)):(t.anchor=o(e),m(w,O),t.targetAnchor||Vs(w,t,a,u),d(O&&o(O),t,w,n,s,r,i))),Yt(t,b)}else b&&t.shapeFlag&16&&(v(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}const df=vc;function Yt(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 Vs(e,t,n,s,r=null){const i=t.targetStart=n(""),o=t.targetAnchor=n("");return i[no]=o,e&&(s(i,e,r),s(o,e,r)),o}const qe=Symbol("_leaveCb"),Gt=Symbol("_enterCb");function _c(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Wt(()=>{e.isMounted=!0}),uo(()=>{e.isUnmounting=!0}),e}const Ie=[Function,Array],ro={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ie,onEnter:Ie,onAfterEnter:Ie,onEnterCancelled:Ie,onBeforeLeave:Ie,onLeave:Ie,onAfterLeave:Ie,onLeaveCancelled:Ie,onBeforeAppear:Ie,onAppear:Ie,onAfterAppear:Ie,onAppearCancelled:Ie},io=e=>{const t=e.subTree;return t.component?io(t.component):t},bc={name:"BaseTransition",props:ro,setup(e,{slots:t}){const n=gt(),s=_c();return()=>{const r=t.default&&co(t.default(),!0),i=r&&r.length?oo(r):n.subTree?ua():void 0;if(!i)return;const o=Z(e),{mode:l}=o;if(s.isLeaving)return Es(i);const c=Ir(i);if(!c)return Es(i);let u=ks(c,o,s,n,d=>u=d);c.type!==me&&an(c,u);let a=n.subTree&&Ir(n.subTree);if(a&&a.type!==me&&!St(a,c)&&io(n).type!==me){let d=ks(a,o,s,n);if(an(a,d),l==="out-in"&&c.type!==me)return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,a=void 0},Es(i);l==="in-out"&&c.type!==me?d.delayLeave=(m,v,w)=>{const b=lo(s,a);b[String(a.key)]=a,m[qe]=()=>{v(),m[qe]=void 0,delete u.delayedLeave,a=void 0},u.delayedLeave=()=>{w(),delete u.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return i}}};function oo(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==me){t=n;break}}return t}const wc=bc;function lo(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 ks(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:d,onBeforeLeave:m,onLeave:v,onAfterLeave:w,onLeaveCancelled:b,onBeforeAppear:O,onAppear:H,onAfterAppear:I,onAppearCancelled:p}=t,g=String(e.key),M=lo(n,e),B=(_,A)=>{_&&Ve(_,s,9,A)},P=(_,A)=>{const j=A[1];B(_,A),q(_)?_.every(S=>S.length<=1)&&j():_.length<=1&&j()},U={mode:o,persisted:l,beforeEnter(_){let A=c;if(!n.isMounted)if(i)A=O||c;else return;_[qe]&&_[qe](!0);const j=M[g];j&&St(e,j)&&j.el[qe]&&j.el[qe](),B(A,[_])},enter(_){if(M[g]===e)return;let A=u,j=a,S=d;if(!n.isMounted)if(i)A=H||u,j=I||a,S=p||d;else return;let k=!1;_[Gt]=K=>{k||(k=!0,K?B(S,[_]):B(j,[_]),U.delayedLeave&&U.delayedLeave(),_[Gt]=void 0)};const $=_[Gt].bind(null,!1);A?P(A,[_,$]):$()},leave(_,A){const j=String(e.key);if(_[Gt]&&_[Gt](!0),n.isUnmounting)return A();B(m,[_]);let S=!1;_[qe]=$=>{S||(S=!0,A(),$?B(b,[_]):B(w,[_]),_[qe]=void 0,M[j]===e&&delete M[j])};const k=_[qe].bind(null,!1);M[j]=e,v?P(v,[_,k]):k()},clone(_){const A=ks(_,t,n,s,r);return r&&r(A),A}};return U}function Es(e){if(_n(e))return e=dt(e),e.children=null,e}function Ir(e){if(!_n(e))return so(e.type)&&e.children?oo(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&X(n.default))return n.default()}}function an(e,t){e.shapeFlag&6&&e.component?(e.transition=t,an(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 co(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===Te?(o.patchFlag&128&&r++,s=s.concat(co(o.children,t,l))):(t||o.type!==me)&&s.push(l!=null?dt(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function ur(e,t){return X(e)?pe({name:e.name},t,{setup:e}):e}function fr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function hf(e){const t=gt(),n=be(null);if(t){const r=t.refs===ne?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:i=>n.value=i})}return n}function Nr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Bn=new WeakMap;function $t(e,t,n,s,r=!1){if(q(e)){e.forEach((b,O)=>$t(b,t&&(q(t)?t[O]:t),n,s,r));return}if(At(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&$t(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?hs(s.component):s.el,o=r?null:i,{i:l,r:c}=e,u=t&&t.r,a=l.refs===ne?l.refs={}:l.refs,d=l.setupState,m=Z(d),v=d===ne?Ti:b=>Nr(a,b)?!1:te(m,b),w=(b,O)=>!(O&&Nr(a,O));if(u!=null&&u!==c){if(Fr(t),le(u))a[u]=null,v(u)&&(d[u]=null);else if(ae(u)){const b=t;w(u,b.k)&&(u.value=null),b.k&&(a[b.k]=null)}}if(X(c))mn(c,l,12,[o,a]);else{const b=le(c),O=ae(c);if(b||O){const H=()=>{if(e.f){const I=b?v(c)?d[c]:a[c]:w()||!e.k?c.value:a[e.k];if(r)q(I)&&tr(I,i);else if(q(I))I.includes(i)||I.push(i);else if(b)a[c]=[i],v(c)&&(d[c]=a[c]);else{const p=[i];w(c,e.k)&&(c.value=p),e.k&&(a[e.k]=p)}}else b?(a[c]=o,v(c)&&(d[c]=o)):O&&(w(c,e.k)&&(c.value=o),e.k&&(a[e.k]=o))};if(o){const I=()=>{H(),Bn.delete(e)};I.id=-1,Bn.set(e,I),Se(I,n)}else Fr(e),H()}}}function Fr(e){const t=Bn.get(e);t&&(t.flags|=8,Bn.delete(e))}let Dr=!1;const Lt=()=>{Dr||(console.error("Hydration completed but contains mismatches."),Dr=!0)},Sc=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Ec=e=>e.namespaceURI.includes("MathML"),Cn=e=>{if(e.nodeType===1){if(Sc(e))return"svg";if(Ec(e))return"mathml"}},Nt=e=>e.nodeType===8;function Tc(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:u}}=e,a=(p,g)=>{if(!g.hasChildNodes()){n(null,p,g),Un(),g._vnode=p;return}d(g.firstChild,p,null,null,null),Un(),g._vnode=p},d=(p,g,M,B,P,U=!1)=>{U=U||!!g.dynamicChildren;const _=Nt(p)&&p.data==="[",A=()=>b(p,g,M,B,P,_),{type:j,ref:S,shapeFlag:k,patchFlag:$}=g;let K=p.nodeType;g.el=p,$===-2&&(U=!1,g.dynamicChildren=null);let N=null;switch(j){case Rt:K!==3?g.children===""?(c(g.el=r(""),o(p),p),N=p):N=A():(p.data!==g.children&&(Lt(),p.data=g.children),N=i(p));break;case me:I(p)?(N=i(p),H(g.el=p.content.firstChild,p,M)):K!==8||_?N=A():N=i(p);break;case tn:if(_&&(p=i(p),K=p.nodeType),K===1||K===3){N=p;const z=!g.children.length;for(let V=0;V<g.staticCount;V++)z&&(g.children+=N.nodeType===1?N.outerHTML:N.data),V===g.staticCount-1&&(g.anchor=N),N=i(N);return _?i(N):N}else A();break;case Te:_?N=w(p,g,M,B,P,U):N=A();break;default:if(k&1)(K!==1||g.type.toLowerCase()!==p.tagName.toLowerCase())&&!I(p)?N=A():N=m(p,g,M,B,P,U);else if(k&6){g.slotScopeIds=P;const z=o(p);if(_?N=O(p):Nt(p)&&p.data==="teleport start"?N=O(p,p.data,"teleport end"):N=i(p),t(g,z,null,M,B,Cn(z),U),At(g)&&!g.type.__asyncResolved){let V;_?(V=fe(Te),V.anchor=N?N.previousSibling:z.lastChild):V=p.nodeType===3?jo(""):fe("div"),V.el=p,g.component.subTree=V}}else k&64?K!==8?N=A():N=g.type.hydrate(p,g,M,B,P,U,e,v):k&128&&(N=g.type.hydrate(p,g,M,B,Cn(o(p)),P,U,e,d))}return S!=null&&$t(S,null,B,g),N},m=(p,g,M,B,P,U)=>{U=U||!!g.dynamicChildren;const{type:_,props:A,patchFlag:j,shapeFlag:S,dirs:k,transition:$}=g,K=_==="input"||_==="option";if(K||j!==-1){k&&Ke(g,null,M,"created");let N=!1;if(I(p)){N=Po(null,$)&&M&&M.vnode.props&&M.vnode.props.appear;const V=p.content.firstChild;if(N){const J=V.getAttribute("class");J&&(V.$cls=J),$.beforeEnter(V)}H(V,p,M),g.el=p=V}if(S&16&&!(A&&(A.innerHTML||A.textContent))){let V=v(p.firstChild,g,p,M,B,P,U);for(;V;){An(p,1)||Lt();const J=V;V=V.nextSibling,l(J)}}else if(S&8){let V=g.children;V[0]===`
2
+ `&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(V=V.slice(1));const{textContent:J}=p;J!==V&&J!==V.replace(/\r\n|\r/g,`
3
+ `)&&(An(p,0)||Lt(),p.textContent=g.children)}if(A){if(K||!U||j&48){const V=p.tagName.includes("-");for(const J in A)(K&&(J.endsWith("value")||J==="indeterminate")||hn(J)&&!Tt(J)||J[0]==="."||V&&!Tt(J))&&s(p,J,null,A[J],void 0,M)}else if(A.onClick)s(p,"onClick",null,A.onClick,void 0,M);else if(j&4&&ft(A.style))for(const V in A.style)A.style[V]}let z;(z=A&&A.onVnodeBeforeMount)&&Ne(z,M,g),k&&Ke(g,null,M,"beforeMount"),((z=A&&A.onVnodeMounted)||k||N)&&Fo(()=>{z&&Ne(z,M,g),N&&$.enter(p),k&&Ke(g,null,M,"mounted")},B)}return p.nextSibling},v=(p,g,M,B,P,U,_)=>{_=_||!!g.dynamicChildren;const A=g.children,j=A.length;for(let S=0;S<j;S++){const k=_?A[S]:A[S]=Fe(A[S]),$=k.type===Rt;p?($&&!_&&S+1<j&&Fe(A[S+1]).type===Rt&&(c(r(p.data.slice(k.children.length)),M,i(p)),p.data=k.children),p=d(p,k,B,P,U,_)):$&&!k.children?c(k.el=r(""),M):(An(M,1)||Lt(),n(null,k,M,null,B,P,Cn(M),U))}return p},w=(p,g,M,B,P,U)=>{const{slotScopeIds:_}=g;_&&(P=P?P.concat(_):_);const A=o(p),j=v(i(p),g,A,M,B,P,U);return j&&Nt(j)&&j.data==="]"?i(g.anchor=j):(Lt(),c(g.anchor=u("]"),A,j),j)},b=(p,g,M,B,P,U)=>{if(An(p.parentElement,1)||Lt(),g.el=null,U){const j=O(p);for(;;){const S=i(p);if(S&&S!==j)l(S);else break}}const _=i(p),A=o(p);return l(p),n(null,g,A,_,M,B,Cn(A),P),M&&(M.vnode.el=g.el,wo(M,g.el)),_},O=(p,g="[",M="]")=>{let B=0;for(;p;)if(p=i(p),p&&Nt(p)&&(p.data===g&&B++,p.data===M)){if(B===0)return i(p);B--}return p},H=(p,g,M)=>{const B=g.parentNode;B&&B.replaceChild(p,g);let P=M;for(;P;)P.vnode.el===g&&(P.vnode.el=P.subTree.el=p),P=P.parent},I=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,d]}const Hr="data-allow-mismatch",xc={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function An(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Hr);)e=e.parentElement;const n=e&&e.getAttribute(Hr);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:s.includes(xc[t])}}ns().requestIdleCallback;ns().cancelIdleCallback;function Cc(e,t){if(Nt(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(Nt(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const At=e=>!!e.type.__asyncLoader;function pf(e){X(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 u=null,a,d=0;const m=()=>(d++,u=null,v()),v=()=>{let w;return u||(w=u=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),c)return new Promise((O,H)=>{c(b,()=>O(m()),()=>H(b),d+1)});throw b}).then(b=>w!==u&&u?u:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),a=b,b)))};return ur({name:"AsyncComponentWrapper",__asyncLoader:v,__asyncHydrate(w,b,O){let H=!1;(b.bu||(b.bu=[])).push(()=>H=!0);const I=()=>{H||O()},p=i?()=>{const g=i(I,M=>Cc(w,M));g&&(b.bum||(b.bum=[])).push(g)}:I;a?p():v().then(()=>!b.isUnmounted&&p())},get __asyncResolved(){return a},setup(){const w=ve;if(fr(w),a)return()=>Mn(a,w);const b=p=>{u=null,vn(p,w,13,!s)};if(l&&w.suspense||Ut)return v().then(p=>()=>Mn(p,w)).catch(p=>(b(p),()=>s?fe(s,{error:p}):null));const O=$e(!1),H=$e(),I=$e(!!r);return r&&setTimeout(()=>{I.value=!1},r),o!=null&&setTimeout(()=>{if(!O.value&&!H.value){const p=new Error(`Async component timed out after ${o}ms.`);b(p),H.value=p}},o),v().then(()=>{O.value=!0,w.parent&&_n(w.parent.vnode)&&w.parent.update()}).catch(p=>{b(p),H.value=p}),()=>{if(O.value&&a)return Mn(a,w);if(H.value&&s)return fe(s,{error:H.value});if(n&&!I.value)return Mn(n,w)}}})}function Mn(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=fe(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const _n=e=>e.type.__isKeepAlive;function Ac(e,t){ao(e,"a",t)}function Mc(e,t){ao(e,"da",t)}function ao(e,t,n=ve){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(us(t,s,n),n){let r=n.parent;for(;r&&r.parent;)_n(r.parent.vnode)&&Rc(s,t,n,r),r=r.parent}}function Rc(e,t,n,s){const r=us(t,e,s,!0);fs(()=>{tr(s[t],r)},n)}function us(e,t,n=ve,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{st();const l=bn(n),c=Ve(t,n,e,o);return l(),rt(),c});return s?r.unshift(i):r.push(i),i}}const ot=e=>(t,n=ve)=>{(!Ut||e==="sp")&&us(e,(...s)=>t(...s),n)},Oc=ot("bm"),Wt=ot("m"),Pc=ot("bu"),Lc=ot("u"),uo=ot("bum"),fs=ot("um"),Ic=ot("sp"),Nc=ot("rtg"),Fc=ot("rtc");function Dc(e,t=ve){us("ec",e,t)}const fo="components";function gf(e,t){return po(fo,e,!0,t)||e}const ho=Symbol.for("v-ndc");function mf(e){return le(e)?po(fo,e,!1)||e:e||ho}function po(e,t,n=!0,s=!1){const r=ye||ve;if(r){const i=r.type;{const l=ya(i,!1);if(l&&(l===t||l===Ce(t)||l===es(Ce(t))))return i}const o=$r(r[e]||i[e],t)||$r(r.appContext[e],t);return!o&&s?i:o}}function $r(e,t){return e&&(e[t]||e[Ce(t)]||e[es(Ce(t))])}function vf(e,t,n,s){let r;const i=n,o=q(e);if(o||le(e)){const l=o&&ft(e);let c=!1,u=!1;l&&(c=!Oe(e),u=it(e),e=rs(e)),r=new Array(e.length);for(let a=0,d=e.length;a<d;a++)r[a]=t(c?u?kt(je(e[a])):je(e[a]):e[a],a,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(ee(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,u=l.length;c<u;c++){const a=l[c];r[c]=t(e[a],a,c,i)}}else r=[];return r}function yf(e,t,n={},s,r){if(ye.ce||ye.parent&&At(ye.parent)&&ye.parent.ce){const u=Object.keys(n).length>0;return t!=="default"&&(n.name=t),qs(),Gs(Te,null,[fe("slot",n,s&&s())],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),qs();const o=i&&go(i(n)),l=n.key||o&&o.key,c=Gs(Te,{key:(l&&!Le(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 go(e){return e.some(t=>fn(t)?!(t.type===me||t.type===Te&&!go(t.children)):!0)?e:null}function _f(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:In(s)]=e[s];return n}const Us=e=>e?Vo(e)?hs(e):Us(e.parent):null,en=pe(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=>Us(e.parent),$root:e=>Us(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>vo(e),$forceUpdate:e=>e.f||(e.f=()=>{cr(e.update)}),$nextTick:e=>e.n||(e.n=yn.bind(e.proxy)),$watch:e=>gc.bind(e)}),Ts=(e,t)=>e!==ne&&!e.__isScriptSetup&&te(e,t),Hc={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;if(t[0]!=="$"){const m=o[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Ts(s,t))return o[t]=1,s[t];if(r!==ne&&te(r,t))return o[t]=2,r[t];if(te(i,t))return o[t]=3,i[t];if(n!==ne&&te(n,t))return o[t]=4,n[t];Ws&&(o[t]=0)}}const u=en[t];let a,d;if(u)return t==="$attrs"&&_e(e.attrs,"get",""),u(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(n!==ne&&te(n,t))return o[t]=4,n[t];if(d=c.config.globalProperties,te(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Ts(r,t)?(r[t]=n,!0):s!==ne&&te(s,t)?(s[t]=n,!0):te(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,props:i,type:o}},l){let c;return!!(n[l]||e!==ne&&l[0]!=="$"&&te(e,l)||Ts(t,l)||te(i,l)||te(s,l)||te(en,l)||te(r.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:te(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function bf(){return $c().slots}function $c(e){const t=gt();return t.setupContext||(t.setupContext=Uo(t))}function jr(e){return q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ws=!0;function jc(e){const t=vo(e),n=e.proxy,s=e.ctx;Ws=!1,t.beforeCreate&&Vr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:u,created:a,beforeMount:d,mounted:m,beforeUpdate:v,updated:w,activated:b,deactivated:O,beforeDestroy:H,beforeUnmount:I,destroyed:p,unmounted:g,render:M,renderTracked:B,renderTriggered:P,errorCaptured:U,serverPrefetch:_,expose:A,inheritAttrs:j,components:S,directives:k,filters:$}=t;if(u&&Vc(u,s,null),o)for(const z in o){const V=o[z];X(V)&&(s[z]=V.bind(n))}if(r){const z=r.call(n,n);ee(z)&&(e.data=Vt(z))}if(Ws=!0,i)for(const z in i){const V=i[z],J=X(V)?V.bind(n,n):X(V.get)?V.get.bind(n,n):Ye,mt=!X(V)&&X(V.set)?V.set.bind(n):Ye,ke=oe({get:J,set:mt});Object.defineProperty(s,z,{enumerable:!0,configurable:!0,get:()=>ke.value,set:Ue=>ke.value=Ue})}if(l)for(const z in l)mo(l[z],s,n,z);if(c){const z=X(c)?c.call(n):c;Reflect.ownKeys(z).forEach(V=>{dc(V,z[V])})}a&&Vr(a,e,"c");function N(z,V){q(V)?V.forEach(J=>z(J.bind(n))):V&&z(V.bind(n))}if(N(Oc,d),N(Wt,m),N(Pc,v),N(Lc,w),N(Ac,b),N(Mc,O),N(Dc,U),N(Fc,B),N(Nc,P),N(uo,I),N(fs,g),N(Ic,_),q(A))if(A.length){const z=e.exposed||(e.exposed={});A.forEach(V=>{Object.defineProperty(z,V,{get:()=>n[V],set:J=>n[V]=J,enumerable:!0})})}else e.exposed||(e.exposed={});M&&e.render===Ye&&(e.render=M),j!=null&&(e.inheritAttrs=j),S&&(e.components=S),k&&(e.directives=k),_&&fr(e)}function Vc(e,t,n=Ye){q(e)&&(e=Bs(e));for(const s in e){const r=e[s];let i;ee(r)?"default"in r?i=Ct(r.from||s,r.default,!0):i=Ct(r.from||s):i=Ct(r),ae(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Vr(e,t,n){Ve(q(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function mo(e,t,n,s){let r=s.includes(".")?to(n,s):()=>n[s];if(le(e)){const i=t[e];X(i)&&Pe(r,i)}else if(X(e))Pe(r,e.bind(n));else if(ee(e))if(q(e))e.forEach(i=>mo(i,t,n,s));else{const i=X(e.handler)?e.handler.bind(n):t[e.handler];X(i)&&Pe(r,i,e)}}function vo(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(u=>Kn(c,u,o,!0)),Kn(c,t,o)),ee(t)&&i.set(t,c),c}function Kn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Kn(e,i,n,!0),r&&r.forEach(o=>Kn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=kc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const kc={data:kr,props:Ur,emits:Ur,methods:zt,computed:zt,beforeCreate:we,created:we,beforeMount:we,mounted:we,beforeUpdate:we,updated:we,beforeDestroy:we,beforeUnmount:we,destroyed:we,unmounted:we,activated:we,deactivated:we,errorCaptured:we,serverPrefetch:we,components:zt,directives:zt,watch:Wc,provide:kr,inject:Uc};function kr(e,t){return t?e?function(){return pe(X(e)?e.call(this,this):e,X(t)?t.call(this,this):t)}:t:e}function Uc(e,t){return zt(Bs(e),Bs(t))}function Bs(e){if(q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function we(e,t){return e?[...new Set([].concat(e,t))]:t}function zt(e,t){return e?pe(Object.create(null),e,t):t}function Ur(e,t){return e?q(e)&&q(t)?[...new Set([...e,...t])]:pe(Object.create(null),jr(e),jr(t??{})):t}function Wc(e,t){if(!e)return t;if(!t)return e;const n=pe(Object.create(null),e);for(const s in t)n[s]=we(e[s],t[s]);return n}function yo(){return{app:null,config:{isNativeTag:Ti,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 Bc=0;function Kc(e,t){return function(s,r=null){X(s)||(s=pe({},s)),r!=null&&!ee(r)&&(r=null);const i=yo(),o=new WeakSet,l=[];let c=!1;const u=i.app={_uid:Bc++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:ba,get config(){return i.config},set config(a){},use(a,...d){return o.has(a)||(a&&X(a.install)?(o.add(a),a.install(u,...d)):X(a)&&(o.add(a),a(u,...d))),u},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),u},component(a,d){return d?(i.components[a]=d,u):i.components[a]},directive(a,d){return d?(i.directives[a]=d,u):i.directives[a]},mount(a,d,m){if(!c){const v=u._ceVNode||fe(s,r);return v.appContext=i,m===!0?m="svg":m===!1&&(m=void 0),d&&t?t(v,a):e(v,a,m),c=!0,u._container=a,a.__vue_app__=u,hs(v.component)}},onUnmount(a){l.push(a)},unmount(){c&&(Ve(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(a,d){return i.provides[a]=d,u},runWithContext(a){const d=Mt;Mt=u;try{return a()}finally{Mt=d}}};return u}}let Mt=null;const qc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ce(t)}Modifiers`]||e[`${pt(t)}Modifiers`];function Gc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ne;let r=n;const i=t.startsWith("update:"),o=i&&qc(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>le(a)?a.trim():a)),o.number&&(r=n.map(ts)));let l,c=s[l=In(t)]||s[l=In(Ce(t))];!c&&i&&(c=s[l=In(pt(t))]),c&&Ve(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ve(u,e,6,r)}}const Xc=new WeakMap;function _o(e,t,n=!1){const s=n?Xc:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!X(e)){const c=u=>{const a=_o(u,t,!0);a&&(l=!0,pe(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ee(e)&&s.set(e,null),null):(q(i)?i.forEach(c=>o[c]=null):pe(o,i),ee(e)&&s.set(e,o),o)}function ds(e,t){return!e||!hn(t)?!1:(t=t.slice(2).replace(/Once$/,""),te(e,t[0].toLowerCase()+t.slice(1))||te(e,pt(t))||te(e,t))}function xs(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:u,renderCache:a,props:d,data:m,setupState:v,ctx:w,inheritAttrs:b}=e,O=Wn(e);let H,I;try{if(n.shapeFlag&4){const g=r||s,M=g;H=Fe(u.call(M,g,a,d,v,m,w)),I=l}else{const g=t;H=Fe(g.length>1?g(d,{attrs:l,slots:o,emit:c}):g(d,null)),I=t.props?l:Yc(l)}}catch(g){nn.length=0,vn(g,e,1),H=fe(me)}let p=H;if(I&&b!==!1){const g=Object.keys(I),{shapeFlag:M}=p;g.length&&M&7&&(i&&g.some(zn)&&(I=zc(I,i)),p=dt(p,I,!1,!0))}return n.dirs&&(p=dt(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&an(p,n.transition),H=p,Wn(O),H}const Yc=e=>{let t;for(const n in e)(n==="class"||n==="style"||hn(n))&&((t||(t={}))[n]=e[n]);return t},zc=(e,t)=>{const n={};for(const s in e)(!zn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Jc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Wr(s,o,u):!!o;if(c&8){const a=t.dynamicProps;for(let d=0;d<a.length;d++){const m=a[d];if(bo(o,s,m)&&!ds(u,m))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?Wr(s,o,u):!0:!!o;return!1}function Wr(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(bo(t,e,i)&&!ds(n,i))return!0}return!1}function bo(e,t,n){const s=e[n],r=t[n];return n==="style"&&ee(s)&&ee(r)?!gn(s,r):s!==r}function wo({vnode:e,parent:t,suspense:n},s){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=s,e=r),r===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const So={},Eo=()=>Object.create(So),To=e=>Object.getPrototypeOf(e)===So;function Qc(e,t,n,s=!1){const r={},i=Eo();e.propsDefaults=Object.create(null),xo(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Xl(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Zc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=Z(r),[c]=e.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let d=0;d<a.length;d++){let m=a[d];if(ds(e.emitsOptions,m))continue;const v=t[m];if(c)if(te(i,m))v!==i[m]&&(i[m]=v,u=!0);else{const w=Ce(m);r[w]=Ks(c,l,w,v,e,!1)}else v!==i[m]&&(i[m]=v,u=!0)}}}else{xo(e,t,r,i)&&(u=!0);let a;for(const d in l)(!t||!te(t,d)&&((a=pt(d))===d||!te(t,a)))&&(c?n&&(n[d]!==void 0||n[a]!==void 0)&&(r[d]=Ks(c,l,d,void 0,e,!0)):delete r[d]);if(i!==l)for(const d in i)(!t||!te(t,d))&&(delete i[d],u=!0)}u&&tt(e.attrs,"set","")}function xo(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(Tt(c))continue;const u=t[c];let a;r&&te(r,a=Ce(c))?!i||!i.includes(a)?n[a]=u:(l||(l={}))[a]=u:ds(e.emitsOptions,c)||(!(c in s)||u!==s[c])&&(s[c]=u,o=!0)}if(i){const c=Z(n),u=l||ne;for(let a=0;a<i.length;a++){const d=i[a];n[d]=Ks(r,c,d,u[d],e,!te(u,d))}}return o}function Ks(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=te(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&X(c)){const{propsDefaults:u}=r;if(n in u)s=u[n];else{const a=bn(r);s=u[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===pt(n))&&(s=!0))}return s}const ea=new WeakMap;function Co(e,t,n=!1){const s=n?ea:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!X(e)){const a=d=>{c=!0;const[m,v]=Co(d,t,!0);pe(o,m),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 ee(e)&&s.set(e,Ft),Ft;if(q(i))for(let a=0;a<i.length;a++){const d=Ce(i[a]);Br(d)&&(o[d]=ne)}else if(i)for(const a in i){const d=Ce(a);if(Br(d)){const m=i[a],v=o[d]=q(m)||X(m)?{type:m}:pe({},m),w=v.type;let b=!1,O=!0;if(q(w))for(let H=0;H<w.length;++H){const I=w[H],p=X(I)&&I.name;if(p==="Boolean"){b=!0;break}else p==="String"&&(O=!1)}else b=X(w)&&w.name==="Boolean";v[0]=b,v[1]=O,(b||te(v,"default"))&&l.push(d)}}const u=[o,l];return ee(e)&&s.set(e,u),u}function Br(e){return e[0]!=="$"&&!Tt(e)}const dr=e=>e==="_"||e==="_ctx"||e==="$stable",hr=e=>q(e)?e.map(Fe):[Fe(e)],ta=(e,t,n)=>{if(t._n)return t;const s=fc((...r)=>hr(t(...r)),n);return s._c=!1,s},Ao=(e,t,n)=>{const s=e._ctx;for(const r in e){if(dr(r))continue;const i=e[r];if(X(i))t[r]=ta(r,i,s);else if(i!=null){const o=hr(i);t[r]=()=>o}}},Mo=(e,t)=>{const n=hr(t);e.slots.default=()=>n},Ro=(e,t,n)=>{for(const s in t)(n||!dr(s))&&(e[s]=t[s])},na=(e,t,n)=>{const s=e.slots=Eo();if(e.vnode.shapeFlag&32){const r=t._;r?(Ro(s,t,n),n&&Mi(s,"_",r,!0)):Ao(t,s)}else t&&Mo(e,t)},sa=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=ne;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Ro(r,t,n):(i=!t.$stable,Ao(t,r)),o=t}else t&&(Mo(e,t),o={default:1});if(i)for(const l in r)!dr(l)&&o[l]==null&&delete r[l]},Se=Fo;function ra(e){return Oo(e)}function ia(e){return Oo(e,Tc)}function Oo(e,t){const n=ns();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:a,parentNode:d,nextSibling:m,setScopeId:v=Ye,insertStaticContent:w}=e,b=(f,h,y,C=null,E=null,T=null,F=void 0,L=null,R=!!h.dynamicChildren)=>{if(f===h)return;f&&!St(f,h)&&(C=wn(f),Ue(f,E,T,!0),f=null),h.patchFlag===-2&&(R=!1,h.dynamicChildren=null);const{type:x,ref:G,shapeFlag:D}=h;switch(x){case Rt:O(f,h,y,C);break;case me:H(f,h,y,C);break;case tn:f==null&&I(h,y,C,F);break;case Te:S(f,h,y,C,E,T,F,L,R);break;default:D&1?M(f,h,y,C,E,T,F,L,R):D&6?k(f,h,y,C,E,T,F,L,R):(D&64||D&128)&&x.process(f,h,y,C,E,T,F,L,R,Ot)}G!=null&&E?$t(G,f&&f.ref,T,h||f,!h):G==null&&f&&f.ref!=null&&$t(f.ref,null,T,f,!0)},O=(f,h,y,C)=>{if(f==null)s(h.el=l(h.children),y,C);else{const E=h.el=f.el;h.children!==f.children&&u(E,h.children)}},H=(f,h,y,C)=>{f==null?s(h.el=c(h.children||""),y,C):h.el=f.el},I=(f,h,y,C)=>{[f.el,f.anchor]=w(f.children,h,y,C,f.el,f.anchor)},p=({el:f,anchor:h},y,C)=>{let E;for(;f&&f!==h;)E=m(f),s(f,y,C),f=E;s(h,y,C)},g=({el:f,anchor:h})=>{let y;for(;f&&f!==h;)y=m(f),r(f),f=y;r(h)},M=(f,h,y,C,E,T,F,L,R)=>{if(h.type==="svg"?F="svg":h.type==="math"&&(F="mathml"),f==null)B(h,y,C,E,T,F,L,R);else{const x=f.el&&f.el._isVueCE?f.el:null;try{x&&x._beginPatch(),_(f,h,E,T,F,L,R)}finally{x&&x._endPatch()}}},B=(f,h,y,C,E,T,F,L)=>{let R,x;const{props:G,shapeFlag:D,transition:W,dirs:Y}=f;if(R=f.el=o(f.type,T,G&&G.is,G),D&8?a(R,f.children):D&16&&U(f.children,R,null,C,E,Cs(f,T),F,L),Y&&Ke(f,null,C,"created"),P(R,f,f.scopeId,F,C),G){for(const se in G)se!=="value"&&!Tt(se)&&i(R,se,null,G[se],T,C);"value"in G&&i(R,"value",null,G.value,T),(x=G.onVnodeBeforeMount)&&Ne(x,C,f)}Y&&Ke(f,null,C,"beforeMount");const Q=Po(E,W);Q&&W.beforeEnter(R),s(R,h,y),((x=G&&G.onVnodeMounted)||Q||Y)&&Se(()=>{x&&Ne(x,C,f),Q&&W.enter(R),Y&&Ke(f,null,C,"mounted")},E)},P=(f,h,y,C,E)=>{if(y&&v(f,y),C)for(let T=0;T<C.length;T++)v(f,C[T]);if(E){let T=E.subTree;if(h===T||No(T.type)&&(T.ssContent===h||T.ssFallback===h)){const F=E.vnode;P(f,F,F.scopeId,F.slotScopeIds,E.parent)}}},U=(f,h,y,C,E,T,F,L,R=0)=>{for(let x=R;x<f.length;x++){const G=f[x]=L?et(f[x]):Fe(f[x]);b(null,G,h,y,C,E,T,F,L)}},_=(f,h,y,C,E,T,F)=>{const L=h.el=f.el;let{patchFlag:R,dynamicChildren:x,dirs:G}=h;R|=f.patchFlag&16;const D=f.props||ne,W=h.props||ne;let Y;if(y&&vt(y,!1),(Y=W.onVnodeBeforeUpdate)&&Ne(Y,y,h,f),G&&Ke(h,f,y,"beforeUpdate"),y&&vt(y,!0),(D.innerHTML&&W.innerHTML==null||D.textContent&&W.textContent==null)&&a(L,""),x?A(f.dynamicChildren,x,L,y,C,Cs(h,E),T):F||V(f,h,L,null,y,C,Cs(h,E),T,!1),R>0){if(R&16)j(L,D,W,y,E);else if(R&2&&D.class!==W.class&&i(L,"class",null,W.class,E),R&4&&i(L,"style",D.style,W.style,E),R&8){const Q=h.dynamicProps;for(let se=0;se<Q.length;se++){const re=Q[se],ue=D[re],de=W[re];(de!==ue||re==="value")&&i(L,re,ue,de,E,y)}}R&1&&f.children!==h.children&&a(L,h.children)}else!F&&x==null&&j(L,D,W,y,E);((Y=W.onVnodeUpdated)||G)&&Se(()=>{Y&&Ne(Y,y,h,f),G&&Ke(h,f,y,"updated")},C)},A=(f,h,y,C,E,T,F)=>{for(let L=0;L<h.length;L++){const R=f[L],x=h[L],G=R.el&&(R.type===Te||!St(R,x)||R.shapeFlag&198)?d(R.el):y;b(R,x,G,null,C,E,T,F,!0)}},j=(f,h,y,C,E)=>{if(h!==y){if(h!==ne)for(const T in h)!Tt(T)&&!(T in y)&&i(f,T,h[T],null,E,C);for(const T in y){if(Tt(T))continue;const F=y[T],L=h[T];F!==L&&T!=="value"&&i(f,T,L,F,E,C)}"value"in y&&i(f,"value",h.value,y.value,E)}},S=(f,h,y,C,E,T,F,L,R)=>{const x=h.el=f?f.el:l(""),G=h.anchor=f?f.anchor:l("");let{patchFlag:D,dynamicChildren:W,slotScopeIds:Y}=h;Y&&(L=L?L.concat(Y):Y),f==null?(s(x,y,C),s(G,y,C),U(h.children||[],y,G,E,T,F,L,R)):D>0&&D&64&&W&&f.dynamicChildren&&f.dynamicChildren.length===W.length?(A(f.dynamicChildren,W,y,E,T,F,L),(h.key!=null||E&&h===E.subTree)&&pr(f,h,!0)):V(f,h,y,G,E,T,F,L,R)},k=(f,h,y,C,E,T,F,L,R)=>{h.slotScopeIds=L,f==null?h.shapeFlag&512?E.ctx.activate(h,y,C,F,R):$(h,y,C,E,T,F,R):K(f,h,R)},$=(f,h,y,C,E,T,F)=>{const L=f.component=pa(f,C,E);if(_n(f)&&(L.ctx.renderer=Ot),ga(L,!1,F),L.asyncDep){if(E&&E.registerDep(L,N,F),!f.el){const R=L.subTree=fe(me);H(null,R,h,y),f.placeholder=R.el}}else N(L,f,h,y,E,T,F)},K=(f,h,y)=>{const C=h.component=f.component;if(Jc(f,h,y))if(C.asyncDep&&!C.asyncResolved){z(C,h,y);return}else C.next=h,C.update();else h.el=f.el,C.vnode=h},N=(f,h,y,C,E,T,F)=>{const L=()=>{if(f.isMounted){let{next:D,bu:W,u:Y,parent:Q,vnode:se}=f;{const Ae=Lo(f);if(Ae){D&&(D.el=se.el,z(f,D,F)),Ae.asyncDep.then(()=>{Se(()=>{f.isUnmounted||x()},E)});return}}let re=D,ue;vt(f,!1),D?(D.el=se.el,z(f,D,F)):D=se,W&&Nn(W),(ue=D.props&&D.props.onVnodeBeforeUpdate)&&Ne(ue,Q,D,se),vt(f,!0);const de=xs(f),De=f.subTree;f.subTree=de,b(De,de,d(De.el),wn(De),f,E,T),D.el=de.el,re===null&&wo(f,de.el),Y&&Se(Y,E),(ue=D.props&&D.props.onVnodeUpdated)&&Se(()=>Ne(ue,Q,D,se),E)}else{let D;const{el:W,props:Y}=h,{bm:Q,m:se,parent:re,root:ue,type:de}=f,De=At(h);if(vt(f,!1),Q&&Nn(Q),!De&&(D=Y&&Y.onVnodeBeforeMount)&&Ne(D,re,h),vt(f,!0),W&&ys){const Ae=()=>{f.subTree=xs(f),ys(W,f.subTree,f,E,null)};De&&de.__asyncHydrate?de.__asyncHydrate(W,f,Ae):Ae()}else{ue.ce&&ue.ce._hasShadowRoot()&&ue.ce._injectChildStyle(de,f.parent?f.parent.type:void 0);const Ae=f.subTree=xs(f);b(null,Ae,y,C,f,E,T),h.el=Ae.el}if(se&&Se(se,E),!De&&(D=Y&&Y.onVnodeMounted)){const Ae=h;Se(()=>Ne(D,re,Ae),E)}(h.shapeFlag&256||re&&At(re.vnode)&&re.vnode.shapeFlag&256)&&f.a&&Se(f.a,E),f.isMounted=!0,h=y=C=null}};f.scope.on();const R=f.effect=new Li(L);f.scope.off();const x=f.update=R.run.bind(R),G=f.job=R.runIfDirty.bind(R);G.i=f,G.id=f.uid,R.scheduler=()=>cr(G),vt(f,!0),x()},z=(f,h,y)=>{h.component=f;const C=f.vnode.props;f.vnode=h,f.next=null,Zc(f,h.props,C,y),sa(f,h.children,y),st(),Or(f),rt()},V=(f,h,y,C,E,T,F,L,R=!1)=>{const x=f&&f.children,G=f?f.shapeFlag:0,D=h.children,{patchFlag:W,shapeFlag:Y}=h;if(W>0){if(W&128){mt(x,D,y,C,E,T,F,L,R);return}else if(W&256){J(x,D,y,C,E,T,F,L,R);return}}Y&8?(G&16&&Bt(x,E,T),D!==x&&a(y,D)):G&16?Y&16?mt(x,D,y,C,E,T,F,L,R):Bt(x,E,T,!0):(G&8&&a(y,""),Y&16&&U(D,y,C,E,T,F,L,R))},J=(f,h,y,C,E,T,F,L,R)=>{f=f||Ft,h=h||Ft;const x=f.length,G=h.length,D=Math.min(x,G);let W;for(W=0;W<D;W++){const Y=h[W]=R?et(h[W]):Fe(h[W]);b(f[W],Y,y,null,E,T,F,L,R)}x>G?Bt(f,E,T,!0,!1,D):U(h,y,C,E,T,F,L,R,D)},mt=(f,h,y,C,E,T,F,L,R)=>{let x=0;const G=h.length;let D=f.length-1,W=G-1;for(;x<=D&&x<=W;){const Y=f[x],Q=h[x]=R?et(h[x]):Fe(h[x]);if(St(Y,Q))b(Y,Q,y,null,E,T,F,L,R);else break;x++}for(;x<=D&&x<=W;){const Y=f[D],Q=h[W]=R?et(h[W]):Fe(h[W]);if(St(Y,Q))b(Y,Q,y,null,E,T,F,L,R);else break;D--,W--}if(x>D){if(x<=W){const Y=W+1,Q=Y<G?h[Y].el:C;for(;x<=W;)b(null,h[x]=R?et(h[x]):Fe(h[x]),y,Q,E,T,F,L,R),x++}}else if(x>W)for(;x<=D;)Ue(f[x],E,T,!0),x++;else{const Y=x,Q=x,se=new Map;for(x=Q;x<=W;x++){const Me=h[x]=R?et(h[x]):Fe(h[x]);Me.key!=null&&se.set(Me.key,x)}let re,ue=0;const de=W-Q+1;let De=!1,Ae=0;const Kt=new Array(de);for(x=0;x<de;x++)Kt[x]=0;for(x=Y;x<=D;x++){const Me=f[x];if(ue>=de){Ue(Me,E,T,!0);continue}let We;if(Me.key!=null)We=se.get(Me.key);else for(re=Q;re<=W;re++)if(Kt[re-Q]===0&&St(Me,h[re])){We=re;break}We===void 0?Ue(Me,E,T,!0):(Kt[We-Q]=x+1,We>=Ae?Ae=We:De=!0,b(Me,h[We],y,null,E,T,F,L,R),ue++)}const Er=De?oa(Kt):Ft;for(re=Er.length-1,x=de-1;x>=0;x--){const Me=Q+x,We=h[Me],Tr=h[Me+1],xr=Me+1<G?Tr.el||Io(Tr):C;Kt[x]===0?b(null,We,y,xr,E,T,F,L,R):De&&(re<0||x!==Er[re]?ke(We,y,xr,2):re--)}}},ke=(f,h,y,C,E=null)=>{const{el:T,type:F,transition:L,children:R,shapeFlag:x}=f;if(x&6){ke(f.component.subTree,h,y,C);return}if(x&128){f.suspense.move(h,y,C);return}if(x&64){F.move(f,h,y,Ot);return}if(F===Te){s(T,h,y);for(let D=0;D<R.length;D++)ke(R[D],h,y,C);s(f.anchor,h,y);return}if(F===tn){p(f,h,y);return}if(C!==2&&x&1&&L)if(C===0)L.beforeEnter(T),s(T,h,y),Se(()=>L.enter(T),E);else{const{leave:D,delayLeave:W,afterLeave:Y}=L,Q=()=>{f.ctx.isUnmounted?r(T):s(T,h,y)},se=()=>{T._isLeaving&&T[qe](!0),D(T,()=>{Q(),Y&&Y()})};W?W(T,Q,se):se()}else s(T,h,y)},Ue=(f,h,y,C=!1,E=!1)=>{const{type:T,props:F,ref:L,children:R,dynamicChildren:x,shapeFlag:G,patchFlag:D,dirs:W,cacheIndex:Y,memo:Q}=f;if(D===-2&&(E=!1),L!=null&&(st(),$t(L,null,y,f,!0),rt()),Y!=null&&(h.renderCache[Y]=void 0),G&256){h.ctx.deactivate(f);return}const se=G&1&&W,re=!At(f);let ue;if(re&&(ue=F&&F.onVnodeBeforeUnmount)&&Ne(ue,h,f),G&6)dl(f.component,y,C);else{if(G&128){f.suspense.unmount(y,C);return}se&&Ke(f,null,h,"beforeUnmount"),G&64?f.type.remove(f,h,y,Ot,C):x&&!x.hasOnce&&(T!==Te||D>0&&D&64)?Bt(x,h,y,!1,!0):(T===Te&&D&384||!E&&G&16)&&Bt(R,h,y),C&&wr(f)}const de=Q!=null&&Y==null;(re&&(ue=F&&F.onVnodeUnmounted)||se||de)&&Se(()=>{ue&&Ne(ue,h,f),se&&Ke(f,null,h,"unmounted"),de&&(f.el=null)},y)},wr=f=>{const{type:h,el:y,anchor:C,transition:E}=f;if(h===Te){fl(y,C);return}if(h===tn){g(f);return}const T=()=>{r(y),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(f.shapeFlag&1&&E&&!E.persisted){const{leave:F,delayLeave:L}=E,R=()=>F(y,T);L?L(f.el,T,R):R()}else T()},fl=(f,h)=>{let y;for(;f!==h;)y=m(f),r(f),f=y;r(h)},dl=(f,h,y)=>{const{bum:C,scope:E,job:T,subTree:F,um:L,m:R,a:x}=f;Kr(R),Kr(x),C&&Nn(C),E.stop(),T&&(T.flags|=8,Ue(F,f,h,y)),L&&Se(L,h),Se(()=>{f.isUnmounted=!0},h)},Bt=(f,h,y,C=!1,E=!1,T=0)=>{for(let F=T;F<f.length;F++)Ue(f[F],h,y,C,E)},wn=f=>{if(f.shapeFlag&6)return wn(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const h=m(f.anchor||f.el),y=h&&h[no];return y?m(y):h};let ms=!1;const Sr=(f,h,y)=>{let C;f==null?h._vnode&&(Ue(h._vnode,null,null,!0),C=h._vnode.component):b(h._vnode||null,f,h,null,null,null,y),h._vnode=f,ms||(ms=!0,Or(C),Un(),ms=!1)},Ot={p:b,um:Ue,m:ke,r:wr,mt:$,mc:U,pc:V,pbc:A,n:wn,o:e};let vs,ys;return t&&([vs,ys]=t(Ot)),{render:Sr,hydrate:vs,createApp:Kc(Sr,vs)}}function Cs({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 vt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Po(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function pr(e,t,n=!1){const s=e.children,r=t.children;if(q(s)&&q(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&&pr(o,l)),l.type===Rt&&(l.patchFlag===-1&&(l=r[i]=et(l)),l.el=o.el),l.type===me&&!l.el&&(l.el=o.el)}}function oa(e){const t=e.slice(),n=[0];let s,r,i,o,l;const c=e.length;for(s=0;s<c;s++){const u=e[s];if(u!==0){if(r=n[n.length-1],e[r]<u){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<u?i=l+1:o=l;u<e[n[i]]&&(i>0&&(t[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 Lo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Lo(t)}function Kr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Io(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Io(t.subTree):null}const No=e=>e.__isSuspense;function Fo(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):uc(e)}const Te=Symbol.for("v-fgt"),Rt=Symbol.for("v-txt"),me=Symbol.for("v-cmt"),tn=Symbol.for("v-stc"),nn=[];let Re=null;function qs(e=!1){nn.push(Re=e?null:[])}function la(){nn.pop(),Re=nn[nn.length-1]||null}let un=1;function qn(e,t=!1){un+=e,e<0&&Re&&t&&(Re.hasOnce=!0)}function Do(e){return e.dynamicChildren=un>0?Re||Ft:null,la(),un>0&&Re&&Re.push(e),e}function wf(e,t,n,s,r,i){return Do($o(e,t,n,s,r,i,!0))}function Gs(e,t,n,s,r){return Do(fe(e,t,n,s,r,!0))}function fn(e){return e?e.__v_isVNode===!0:!1}function St(e,t){return e.type===t.type&&e.key===t.key}const Ho=({key:e})=>e??null,Dn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?le(e)||ae(e)||X(e)?{i:ye,r:e,k:t,f:!!n}:e:null);function $o(e,t=null,n=null,s=0,r=null,i=e===Te?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ho(t),ref:t&&Dn(t),scopeId:Zi,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:ye};return l?(gr(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=le(n)?8:16),un>0&&!o&&Re&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Re.push(c),c}const fe=ca;function ca(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===ho)&&(e=me),fn(e)){const l=dt(e,t,!0);return n&&gr(l,n),un>0&&!i&&Re&&(l.shapeFlag&6?Re[Re.indexOf(e)]=l:Re.push(l)),l.patchFlag=-2,l}if(_a(e)&&(e=e.__vccOpts),t){t=aa(t);let{class:l,style:c}=t;l&&!le(l)&&(t.class=sr(l)),ee(c)&&(ls(c)&&!q(c)&&(c=pe({},c)),t.style=nr(c))}const o=le(e)?1:No(e)?128:so(e)?64:ee(e)?4:X(e)?2:0;return $o(e,t,n,s,r,o,i,!0)}function aa(e){return e?ls(e)||To(e)?pe({},e):e:null}function dt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,u=t?fa(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Ho(u),ref:t&&t.ref?n&&i?q(i)?i.concat(Dn(t)):[i,Dn(t)]:Dn(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!==Te?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&&dt(e.ssContent),ssFallback:e.ssFallback&&dt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&an(a,c.clone(a)),a}function jo(e=" ",t=0){return fe(Rt,null,e,t)}function Sf(e,t){const n=fe(tn,null,e);return n.staticCount=t,n}function ua(e="",t=!1){return t?(qs(),Gs(me,null,e)):fe(me,null,e)}function Fe(e){return e==null||typeof e=="boolean"?fe(me):q(e)?fe(Te,null,e.slice()):fn(e)?et(e):fe(Rt,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:dt(e)}function gr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(q(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),gr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!To(t)?t._ctx=ye:r===3&&ye&&(ye.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else X(t)?(t={default:t,_ctx:ye},n=32):(t=String(t),s&64?(n=16,t=[jo(t)]):n=8);e.children=t,e.shapeFlag|=n}function fa(...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=sr([t.class,s.class]));else if(r==="style")t.style=nr([t.style,s.style]);else if(hn(r)){const i=t[r],o=s[r];o&&i!==o&&!(q(i)&&i.includes(o))?t[r]=i?[].concat(i,o):o:o==null&&i==null&&!zn(r)&&(t[r]=o)}else r!==""&&(t[r]=s[r])}return t}function Ne(e,t,n,s=null){Ve(e,t,7,[n,s])}const da=yo();let ha=0;function pa(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||da,i={uid:ha++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Al(!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:Co(s,r),emitsOptions:_o(s,r),emit:null,emitted:null,propsDefaults:ne,inheritAttrs:s.inheritAttrs,ctx:ne,data:ne,props:ne,attrs:ne,slots:ne,refs:ne,setupState:ne,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=Gc.bind(null,i),e.ce&&e.ce(i),i}let ve=null;const gt=()=>ve||ye;let Gn,Xs;{const e=ns(),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)}};Gn=t("__VUE_INSTANCE_SETTERS__",n=>ve=n),Xs=t("__VUE_SSR_SETTERS__",n=>Ut=n)}const bn=e=>{const t=ve;return Gn(e),e.scope.on(),()=>{e.scope.off(),Gn(t)}},qr=()=>{ve&&ve.scope.off(),Gn(null)};function Vo(e){return e.vnode.shapeFlag&4}let Ut=!1;function ga(e,t=!1,n=!1){t&&Xs(t);const{props:s,children:r}=e.vnode,i=Vo(e);Qc(e,s,i,t),na(e,r,n||t);const o=i?ma(e,t):void 0;return t&&Xs(!1),o}function ma(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Hc);const{setup:s}=n;if(s){st();const r=e.setupContext=s.length>1?Uo(e):null,i=bn(e),o=mn(s,e,0,[e.props,r]),l=xi(o);if(rt(),i(),(l||e.sp)&&!At(e)&&fr(e),l){if(o.then(qr,qr),t)return o.then(c=>{Gr(e,c)}).catch(c=>{vn(c,e,0)});e.asyncDep=o}else Gr(e,o)}else ko(e)}function Gr(e,t,n){X(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=Yi(t)),ko(e)}function ko(e,t,n){const s=e.type;e.render||(e.render=s.render||Ye);{const r=bn(e);st();try{jc(e)}finally{rt(),r()}}}const va={get(e,t){return _e(e,"get",""),e[t]}};function Uo(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,va),slots:e.slots,emit:e.emit,expose:t}}function hs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Yi(Fn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in en)return en[n](e)},has(t,n){return n in t||n in en}})):e.proxy}function ya(e,t=!0){return X(e)?e.displayName||e.name:e.name||t&&e.__name}function _a(e){return X(e)&&"__vccOpts"in e}const oe=(e,t)=>ic(e,t,Ut);function Ys(e,t,n){try{qn(-1);const s=arguments.length;return s===2?ee(t)&&!q(t)?fn(t)?fe(e,null,[t]):fe(e,t):fe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&fn(n)&&(n=[n]),fe(e,t,n))}finally{qn(1)}}const ba="3.5.34";let zs;const Xr=typeof window<"u"&&window.trustedTypes;if(Xr)try{zs=Xr.createPolicy("vue",{createHTML:e=>e})}catch{}const Wo=zs?e=>zs.createHTML(e):e=>e,wa="http://www.w3.org/2000/svg",Sa="http://www.w3.org/1998/Math/MathML",Ze=typeof document<"u"?document:null,Yr=Ze&&Ze.createElement("template"),Ea={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"?Ze.createElementNS(wa,e):t==="mathml"?Ze.createElementNS(Sa,e):n?Ze.createElement(e,{is:n}):Ze.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Ze.createTextNode(e),createComment:e=>Ze.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ze.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{Yr.innerHTML=Wo(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Yr.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]}},lt="transition",Xt="animation",dn=Symbol("_vtc"),Bo={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},Ta=pe({},ro,Bo),xa=e=>(e.displayName="Transition",e.props=Ta,e),Ef=xa((e,{slots:t})=>Ys(wc,Ca(e),t)),yt=(e,t=[])=>{q(e)?e.forEach(n=>n(...t)):e&&e(...t)},zr=e=>e?q(e)?e.some(t=>t.length>1):e.length>1:!1;function Ca(e){const t={};for(const S in e)S in Bo||(t[S]=e[S]);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:u=o,appearToClass:a=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,w=Aa(r),b=w&&w[0],O=w&&w[1],{onBeforeEnter:H,onEnter:I,onEnterCancelled:p,onLeave:g,onLeaveCancelled:M,onBeforeAppear:B=H,onAppear:P=I,onAppearCancelled:U=p}=t,_=(S,k,$,K)=>{S._enterCancelled=K,_t(S,k?a:l),_t(S,k?u:o),$&&$()},A=(S,k)=>{S._isLeaving=!1,_t(S,d),_t(S,v),_t(S,m),k&&k()},j=S=>(k,$)=>{const K=S?P:I,N=()=>_(k,S,$);yt(K,[k,N]),Jr(()=>{_t(k,S?c:i),Qe(k,S?a:l),zr(K)||Qr(k,s,b,N)})};return pe(t,{onBeforeEnter(S){yt(H,[S]),Qe(S,i),Qe(S,o)},onBeforeAppear(S){yt(B,[S]),Qe(S,c),Qe(S,u)},onEnter:j(!1),onAppear:j(!0),onLeave(S,k){S._isLeaving=!0;const $=()=>A(S,k);Qe(S,d),S._enterCancelled?(Qe(S,m),ti(S)):(ti(S),Qe(S,m)),Jr(()=>{S._isLeaving&&(_t(S,d),Qe(S,v),zr(g)||Qr(S,s,O,$))}),yt(g,[S,$])},onEnterCancelled(S){_(S,!1,void 0,!0),yt(p,[S])},onAppearCancelled(S){_(S,!0,void 0,!0),yt(U,[S])},onLeaveCancelled(S){A(S),yt(M,[S])}})}function Aa(e){if(e==null)return null;if(ee(e))return[As(e.enter),As(e.leave)];{const t=As(e);return[t,t]}}function As(e){return vl(e)}function Qe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[dn]||(e[dn]=new Set)).add(t)}function _t(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[dn];n&&(n.delete(t),n.size||(e[dn]=void 0))}function Jr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ma=0;function Qr(e,t,n,s){const r=e._endId=++Ma,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Ra(e,t);if(!o)return s();const u=o+"end";let a=0;const d=()=>{e.removeEventListener(u,m),i()},m=v=>{v.target===e&&++a>=c&&d()};setTimeout(()=>{a<c&&d()},l+1),e.addEventListener(u,m)}function Ra(e,t){const n=window.getComputedStyle(e),s=w=>(n[w]||"").split(", "),r=s(`${lt}Delay`),i=s(`${lt}Duration`),o=Zr(r,i),l=s(`${Xt}Delay`),c=s(`${Xt}Duration`),u=Zr(l,c);let a=null,d=0,m=0;t===lt?o>0&&(a=lt,d=o,m=i.length):t===Xt?u>0&&(a=Xt,d=u,m=c.length):(d=Math.max(o,u),a=d>0?o>u?lt:Xt:null,m=a?a===lt?i.length:c.length:0);const v=a===lt&&/\b(?:transform|all)(?:,|$)/.test(s(`${lt}Property`).toString());return{type:a,timeout:d,propCount:m,hasTransform:v}}function Zr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>ei(n)+ei(e[s])))}function ei(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ti(e){return(e?e.ownerDocument:document).body.offsetHeight}function Oa(e,t,n){const s=e[dn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ni=Symbol("_vod"),Pa=Symbol("_vsh"),La=Symbol(""),Ia=/(?:^|;)\s*display\s*:/;function Na(e,t,n){const s=e.style,r=le(n);let i=!1;if(n&&!r){if(t)if(le(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Jt(s,l,"")}else for(const o in t)n[o]==null&&Jt(s,o,"");for(const o in n){o==="display"&&(i=!0);const l=n[o];l!=null?Da(e,o,!le(t)&&t?t[o]:void 0,l)||Jt(s,o,l):Jt(s,o,"")}}else if(r){if(t!==n){const o=s[La];o&&(n+=";"+o),s.cssText=n,i=Ia.test(n)}}else t&&e.removeAttribute("style");ni in e&&(e[ni]=i?s.display:"",e[Pa]&&(s.display="none"))}const si=/\s*!important$/;function Jt(e,t,n){if(q(n))n.forEach(s=>Jt(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Fa(e,t);si.test(n)?e.setProperty(pt(s),n.replace(si,""),"important"):e[s]=n}}const ri=["Webkit","Moz","ms"],Ms={};function Fa(e,t){const n=Ms[t];if(n)return n;let s=Ce(t);if(s!=="filter"&&s in e)return Ms[t]=s;s=es(s);for(let r=0;r<ri.length;r++){const i=ri[r]+s;if(i in e)return Ms[t]=i}return t}function Da(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&le(s)&&n===s}const ii="http://www.w3.org/1999/xlink";function oi(e,t,n,s,r,i=El(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ii,t.slice(6,t.length)):e.setAttributeNS(ii,t,n):n==null||i&&!Ri(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Le(n)?String(n):n)}function li(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Wo(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=Ri(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 Et(e,t,n,s){e.addEventListener(t,n,s)}function Ha(e,t,n,s){e.removeEventListener(t,n,s)}const ci=Symbol("_vei");function $a(e,t,n,s,r=null){const i=e[ci]||(e[ci]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=ja(t);if(s){const u=i[t]=Ua(s,r);Et(e,l,u,c)}else o&&(Ha(e,l,o,c),i[t]=void 0)}}const ai=/(?:Once|Passive|Capture)$/;function ja(e){let t;if(ai.test(e)){t={};let s;for(;s=e.match(ai);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):pt(e.slice(2)),t]}let Rs=0;const Va=Promise.resolve(),ka=()=>Rs||(Va.then(()=>Rs=0),Rs=Date.now());function Ua(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ve(Wa(s,n.value),t,5,[s])};return n.value=e,n.attached=ka(),n}function Wa(e,t){if(q(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 ui=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"?Oa(e,s,o):t==="style"?Na(e,n,s):hn(t)?zn(t)||$a(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ka(e,t,s,o))?(li(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&oi(e,t,s,o,i,t!=="value")):e._isVueCE&&(qa(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!le(s)))?li(e,Ce(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),oi(e,t,s,o))};function Ka(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&ui(t)&&X(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return ui(t)&&le(n)?!1:t in e}function qa(e,t){const n=e._def.props;if(!n)return!1;const s=Ce(t);return Array.isArray(n)?n.some(r=>Ce(r)===s):Object.keys(n).some(r=>Ce(r)===s)}const Xn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return q(t)?n=>Nn(t,n):t};function Ga(e){e.target.composing=!0}function fi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const jt=Symbol("_assign");function di(e,t,n){return t&&(e=e.trim()),n&&(e=ts(e)),e}const Tf={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[jt]=Xn(r);const i=s||r.props&&r.props.type==="number";Et(e,t?"change":"input",o=>{o.target.composing||e[jt](di(e.value,n,i))}),(n||i)&&Et(e,"change",()=>{e.value=di(e.value,n,i)}),t||(Et(e,"compositionstart",Ga),Et(e,"compositionend",fi),Et(e,"change",fi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[jt]=Xn(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?ts(e.value):e.value,c=t??"";if(l===c)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c)}},xf={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=Jn(t);Et(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?ts(Yn(o)):Yn(o));e[jt](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,yn(()=>{e._assigning=!1})}),e[jt]=Xn(s)},mounted(e,{value:t}){hi(e,t)},beforeUpdate(e,t,n){e[jt]=Xn(n)},updated(e,{value:t}){e._assigning||hi(e,t)}};function hi(e,t){const n=e.multiple,s=q(t);if(!(n&&!s&&!Jn(t))){for(let r=0,i=e.options.length;r<i;r++){const o=e.options[r],l=Yn(o);if(n)if(s){const c=typeof l;c==="string"||c==="number"?o.selected=t.some(u=>String(u)===String(l)):o.selected=xl(t,l)>-1}else o.selected=t.has(l);else if(gn(Yn(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Yn(e){return"_value"in e?e._value:e.value}const Xa=["ctrl","shift","alt","meta"],Ya={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)=>Xa.some(n=>e[`${n}Key`]&&!t.includes(n))},Cf=(e,t)=>{if(!e)return e;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=Ya[t[o]];if(l&&l(r,t))return}return e(r,...i)}))},za={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Af=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(r=>{if(!("key"in r))return;const i=pt(r.key);if(t.some(o=>o===i||za[o]===i))return e(r)}))},Ko=pe({patchProp:Ba},Ea);let sn,pi=!1;function Ja(){return sn||(sn=ra(Ko))}function Qa(){return sn=pi?sn:ia(Ko),pi=!0,sn}const Mf=((...e)=>{const t=Ja().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Go(s);if(!r)return;const i=t._component;!X(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,qo(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t}),Rf=((...e)=>{const t=Qa().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Go(s);if(r)return n(r,!0,qo(r))},t});function qo(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Go(e){return le(e)?document.querySelector(e):e}const Of=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Za=window.__VP_SITE_DATA__;function Xo(e,t){return rr()?(Ml(e,t),!0):!1}const Os=new WeakMap,eu=(...e)=>{var t;const n=e[0],s=(t=gt())===null||t===void 0?void 0:t.proxy,r=s??rr();if(r==null&&!eo())throw new Error("injectLocal must be called in setup");return r&&Os.has(r)&&n in Os.get(r)?Os.get(r)[n]:Ct(...e)},Yo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const tu=e=>e!=null,nu=Object.prototype.toString,su=e=>nu.call(e)==="[object Object]",ht=()=>{},gi=ru();function ru(){var e,t,n;return Yo&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function mr(...e){if(e.length!==1)return nc(...e);const t=e[0];return typeof t=="function"?ln(Zl(()=>({get:t,set:ht}))):$e(t)}function vr(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 zo=e=>e();function Jo(e,t={}){let n,s,r=ht;const i=c=>{clearTimeout(c),r(),r=ht};let o;return c=>{const u=ce(e),a=ce(t.maxWait);return n&&i(n),u<=0||a!==void 0&&a<=0?(s&&(i(s),s=void 0),Promise.resolve(c())):new Promise((d,m)=>{r=t.rejectOnCancel?m:d,o=c,a&&!s&&(s=setTimeout(()=>{n&&i(n),s=void 0,d(o())},a)),n=setTimeout(()=>{s&&i(s),s=void 0,d(c())},u)})}}function iu(...e){let t=0,n,s=!0,r=ht,i,o,l,c,u;!ae(e[0])&&typeof e[0]=="object"?{delay:o,trailing:l=!0,leading:c=!0,rejectOnCancel:u=!1}=e[0]:[o,l=!0,c=!0,u=!1]=e;const a=()=>{n&&(clearTimeout(n),n=void 0,r(),r=ht)};return m=>{const v=ce(o),w=Date.now()-t,b=()=>i=m();return a(),v<=0?(t=Date.now(),b()):(w>v?(t=Date.now(),(c||!s)&&b()):l&&(i=new Promise((O,H)=>{r=u?H:O,n=setTimeout(()=>{t=Date.now(),s=!0,O(b()),a()},Math.max(0,v-w))})),!c&&!n&&(n=setTimeout(()=>s=!0,v)),s=!1,i)}}function ou(e=zo,t={}){const{initialState:n="active"}=t,s=mr(n==="active");function r(){s.value=!1}function i(){s.value=!0}return{isActive:Yl(s),pause:r,resume:i,eventFilter:(...l)=>{s.value&&e(...l)}}}function mi(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Hn(e){return Array.isArray(e)?e:[e]}function Qo(e){return gt()}function lu(e,t=200,n={}){return vr(Jo(t,n),e)}function cu(e,t=200,n=!1,s=!0,r=!1){return vr(iu(t,n,s,r),e)}function Zo(e,t,n={}){const{eventFilter:s=zo,...r}=n;return Pe(e,vr(s,t),r)}function au(e,t,n={}){const{eventFilter:s,initialState:r="active",...i}=n,{eventFilter:o,pause:l,resume:c,isActive:u}=ou(s,{initialState:r});return{stop:Zo(e,t,{...i,eventFilter:o}),pause:l,resume:c,isActive:u}}function ps(e,t=!0,n){Qo()?Wt(e,n):t?e():yn(e)}function uu(e,t){Qo()&&fs(e,t)}function Pf(e,t,n={}){const{debounce:s=0,maxWait:r=void 0,...i}=n;return Zo(e,t,{...i,eventFilter:Jo(s,{maxWait:r})})}function fu(e,t,n){return Pe(e,t,{...n,immediate:!0})}function Lf(e,t,n){var s;let r;ae(n)?r={evaluating:n}:r=n||{};const{lazy:i=!1,flush:o="sync",evaluating:l=void 0,shallow:c=!0,onError:u=(s=globalThis.reportError)!==null&&s!==void 0?s:ht}=r,a=be(!i),d=c?be(t):$e(t);let m=0;return ar(async v=>{if(!a.value)return;m++;const w=m;let b=!1;l&&Promise.resolve().then(()=>{l.value=!0});try{const O=await e(H=>{v(()=>{l&&(l.value=!1),b||H()})});w===m&&(d.value=O)}catch(O){u(O)}finally{l&&w===m&&(l.value=!1),b=!0}},{flush:o}),i?oe(()=>(a.value=!0,d.value)):d}const xe=Yo?window:void 0;function gs(e){var t;const n=ce(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function ze(...e){const t=(s,r,i,o)=>(s.addEventListener(r,i,o),()=>s.removeEventListener(r,i,o)),n=oe(()=>{const s=Hn(ce(e[0])).filter(r=>r!=null);return s.every(r=>typeof r!="string")?s:void 0});return fu(()=>{var s,r;return[(s=(r=n.value)===null||r===void 0?void 0:r.map(i=>gs(i)))!==null&&s!==void 0?s:[xe].filter(i=>i!=null),Hn(ce(n.value?e[1]:e[0])),Hn(cs(n.value?e[2]:e[1])),ce(n.value?e[3]:e[2])]},([s,r,i,o],l,c)=>{if(!s?.length||!r?.length||!i?.length)return;const u=su(o)?{...o}:o,a=s.flatMap(d=>r.flatMap(m=>i.map(v=>t(d,m,v,u))));c(()=>{a.forEach(d=>d())})},{flush:"post"})}function du(){const e=be(!1),t=gt();return t&&Wt(()=>{e.value=!0},t),e}function yr(e){const t=du();return oe(()=>(t.value,!!e()))}function hu(e,t,n={}){const{window:s=xe,...r}=n;let i;const o=yr(()=>s&&"MutationObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},c=Pe(oe(()=>{const d=Hn(ce(e)).map(gs).filter(tu);return new Set(d)}),d=>{l(),o.value&&d.size&&(i=new MutationObserver(t),d.forEach(m=>i.observe(m,r)))},{immediate:!0,flush:"post"}),u=()=>i?.takeRecords(),a=()=>{c(),l()};return Xo(a),{isSupported:o,stop:a,takeRecords:u}}function pu(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function If(...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=xe,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,c=pu(t);return ze(r,i,a=>{a.repeat&&ce(l)||c(a)&&n(a)},o)}const gu=Symbol("vueuse-ssr-width");function mu(){const e=eo()?eu(gu,null):null;return typeof e=="number"?e:void 0}function el(e,t={}){const{window:n=xe,ssrWidth:s=mu()}=t,r=yr(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=be(typeof s=="number"),o=be(),l=be(!1),c=u=>{l.value=u.matches};return ar(()=>{if(i.value){i.value=!r.value,l.value=ce(e).split(",").some(u=>{const a=u.includes("not all"),d=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),m=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let v=!!(d||m);return d&&v&&(v=s>=mi(d[1])),m&&v&&(v=s<=mi(m[1])),a?!v:v});return}r.value&&(o.value=n.matchMedia(ce(e)),l.value=o.value.matches)}),ze(o,"change",c,{passive:!0}),oe(()=>l.value)}const Rn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},On="__vueuse_ssr_handlers__",vu=yu();function yu(){return On in Rn||(Rn[On]=Rn[On]||{}),Rn[On]}function tl(e,t){return vu[e]||t}function nl(e){return el("(prefers-color-scheme: dark)",e)}function _u(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 bu={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()}},vi="vueuse-storage";function _r(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:a,window:d=xe,eventFilter:m,onError:v=$=>{console.error($)},initOnMounted:w}=s,b=(a?be:$e)(typeof t=="function"?t():t),O=oe(()=>ce(e));if(!n)try{n=tl("getDefaultStorage",()=>xe?.localStorage)()}catch($){v($)}if(!n)return b;const H=ce(t),I=_u(H),p=(r=s.serializer)!==null&&r!==void 0?r:bu[I],{pause:g,resume:M}=au(b,$=>A($),{flush:i,deep:o,eventFilter:m});Pe(O,()=>S(),{flush:i});let B=!1;const P=$=>{w&&!B||S($)},U=$=>{w&&!B||k($)};d&&l&&(n instanceof Storage?ze(d,"storage",P,{passive:!0}):ze(d,vi,U)),w?ps(()=>{B=!0,S()}):S();function _($,K){if(d){const N={key:O.value,oldValue:$,newValue:K,storageArea:n};d.dispatchEvent(n instanceof Storage?new StorageEvent("storage",N):new CustomEvent(vi,{detail:N}))}}function A($){try{const K=n.getItem(O.value);if($==null)_(K,null),n.removeItem(O.value);else{const N=p.write($);K!==N&&(n.setItem(O.value,N),_(K,N))}}catch(K){v(K)}}function j($){const K=$?$.newValue:n.getItem(O.value);if(K==null)return c&&H!=null&&n.setItem(O.value,p.write(H)),H;if(!$&&u){const N=p.read(K);return typeof u=="function"?u(N,H):I==="object"&&!Array.isArray(N)?{...H,...N}:N}else return typeof K!="string"?K:p.read(K)}function S($){if(!($&&$.storageArea!==n)){if($&&$.key==null){b.value=H;return}if(!($&&$.key!==O.value)){g();try{const K=p.write(b.value);($===void 0||$?.newValue!==K)&&(b.value=j($))}catch(K){v(K)}finally{$?yn(M):M()}}}}function k($){S($.detail)}return b}const wu="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Su(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=xe,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:u,disableTransition:a=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},m=nl({window:r}),v=oe(()=>m.value?"dark":"light"),w=c||(o==null?mr(s):_r(o,s,i,{window:r,listenToStorageChanges:l})),b=oe(()=>w.value==="auto"?v.value:w.value),O=tl("updateHTMLAttrs",(g,M,B)=>{const P=typeof g=="string"?r?.document.querySelector(g):gs(g);if(!P)return;const U=new Set,_=new Set;let A=null;if(M==="class"){const S=B.split(/\s/g);Object.values(d).flatMap(k=>(k||"").split(/\s/g)).filter(Boolean).forEach(k=>{S.includes(k)?U.add(k):_.add(k)})}else A={key:M,value:B};if(U.size===0&&_.size===0&&A===null)return;let j;a&&(j=r.document.createElement("style"),j.appendChild(document.createTextNode(wu)),r.document.head.appendChild(j));for(const S of U)P.classList.add(S);for(const S of _)P.classList.remove(S);A&&P.setAttribute(A.key,A.value),a&&(r.getComputedStyle(j).opacity,document.head.removeChild(j))});function H(g){var M;O(t,n,(M=d[g])!==null&&M!==void 0?M:g)}function I(g){e.onChanged?e.onChanged(g,H):H(g)}Pe(b,I,{flush:"post",immediate:!0}),ps(()=>I(b.value));const p=oe({get(){return u?w.value:b.value},set(g){w.value=g}});return Object.assign(p,{store:w,system:v,state:b})}function Eu(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=Su({...e,onChanged:(i,o)=>{var l;e.onChanged?(l=e.onChanged)===null||l===void 0||l.call(e,i==="dark",o,i):o(i)},modes:{dark:t,light:n}}),r=oe(()=>s.system.value);return oe({get(){return s.value==="dark"},set(i){const o=i?"dark":"light";r.value===o?s.value="auto":s.value=o}})}function Ps(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const yi=1;function Tu(e,t={}){const{throttle:n=0,idle:s=200,onStop:r=ht,onScroll:i=ht,offset:o={left:0,right:0,top:0,bottom:0},observe:l={mutation:!1},eventListenerOptions:c={capture:!1,passive:!0},behavior:u="auto",window:a=xe,onError:d=_=>{console.error(_)}}=t,m=typeof l=="boolean"?{mutation:l}:l,v=be(0),w=be(0),b=oe({get(){return v.value},set(_){H(_,void 0)}}),O=oe({get(){return w.value},set(_){H(void 0,_)}});function H(_,A){var j,S,k,$;if(!a)return;const K=ce(e);if(!K)return;(j=K instanceof Document?a.document.body:K)===null||j===void 0||j.scrollTo({top:(S=ce(A))!==null&&S!==void 0?S:O.value,left:(k=ce(_))!==null&&k!==void 0?k:b.value,behavior:ce(u)});const N=(K==null||($=K.document)===null||$===void 0?void 0:$.documentElement)||K?.documentElement||K;b!=null&&(v.value=N.scrollLeft),O!=null&&(w.value=N.scrollTop)}const I=be(!1),p=Vt({left:!0,right:!1,top:!0,bottom:!1}),g=Vt({left:!1,right:!1,top:!1,bottom:!1}),M=_=>{I.value&&(I.value=!1,g.left=!1,g.right=!1,g.top=!1,g.bottom=!1,r(_))},B=lu(M,n+s),P=_=>{var A;if(!a)return;const j=(_==null||(A=_.document)===null||A===void 0?void 0:A.documentElement)||_?.documentElement||gs(_),{display:S,flexDirection:k,direction:$}=a.getComputedStyle(j),K=$==="rtl"?-1:1,N=j.scrollLeft;g.left=N<v.value,g.right=N>v.value;const z=Math.abs(N*K)<=(o.left||0),V=Math.abs(N*K)+j.clientWidth>=j.scrollWidth-(o.right||0)-yi;S==="flex"&&k==="row-reverse"?(p.left=V,p.right=z):(p.left=z,p.right=V),v.value=N;let J=j.scrollTop;_===a.document&&!J&&(J=a.document.body.scrollTop),g.top=J<w.value,g.bottom=J>w.value;const mt=Math.abs(J)<=(o.top||0),ke=Math.abs(J)+j.clientHeight>=j.scrollHeight-(o.bottom||0)-yi;S==="flex"&&k==="column-reverse"?(p.top=ke,p.bottom=mt):(p.top=mt,p.bottom=ke),w.value=J},U=_=>{var A;a&&(P((A=_.target.documentElement)!==null&&A!==void 0?A:_.target),I.value=!0,B(_),i(_))};return ze(e,"scroll",n?cu(U,n,!0,!1):U,c),ps(()=>{try{const _=ce(e);if(!_)return;P(_)}catch(_){d(_)}}),m?.mutation&&e!=null&&e!==a&&e!==document&&hu(e,()=>{const _=ce(e);_&&P(_)},{attributes:!0,childList:!0,subtree:!0}),ze(e,"scrollend",M,c),{x:b,y:O,isScrolling:I,arrivedState:p,directions:g,measure(){const _=ce(e);a&&_&&P(_)}}}function Nf(e,t,n={}){const{window:s=xe}=n;return _r(e,t,s?.localStorage,n)}function Ff(e={}){const{window:t=xe}=e,n=t?.navigator,s=yr(()=>n&&"language"in n),r=be(n?.language);return ze(t,"languagechange",()=>{n&&(r.value=n.language)},{passive:!0}),{isSupported:s,language:r}}function sl(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:sl(n)}}function xu(e){const t=e||window.event,n=t.target;return sl(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const Ls=new WeakMap;function Df(e,t=!1){const n=be(t);let s=null,r="";Pe(mr(e),l=>{const c=Ps(ce(l));if(c){const u=c;if(Ls.get(u)||Ls.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(r=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=Ps(ce(e));!l||n.value||(gi&&(s=ze(l,"touchmove",c=>{xu(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=Ps(ce(e));!l||!n.value||(gi&&s?.(),l.style.overflow=r,Ls.delete(l),n.value=!1)};return Xo(o),oe({get(){return n.value},set(l){l?i():o()}})}function Hf(e,t,n={}){const{window:s=xe}=n;return _r(e,t,s?.sessionStorage,n)}function $f(e={}){const{window:t=xe,...n}=e;return Tu(t,n)}function jf(e={}){const{window:t=xe,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:i=!0,type:o="inner"}=e,l=be(n),c=be(s),u=()=>{if(t)if(o==="outer")l.value=t.outerWidth,c.value=t.outerHeight;else if(o==="visual"&&t.visualViewport){const{width:d,height:m,scale:v}=t.visualViewport;l.value=Math.round(d*v),c.value=Math.round(m*v)}else i?(l.value=t.innerWidth,c.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight)};u(),ps(u);const a={passive:!0};return ze("resize",u,a),t&&o==="visual"&&t.visualViewport&&ze(t.visualViewport,"resize",u,a),r&&Pe(el("(orientation: portrait)"),()=>u()),{width:l,height:c}}const Cu={};var Au={};const rl=/^(?:[a-z]+:|\/\/)/i,Mu="vitepress-theme-appearance",il=Symbol("stack-view:unpack"),Ru=/#.*?(?=:~:|$)/,Ou=/[?#].*$/,Pu=/(?:(^|\/)index)?\.(?:md|html)$/,ge=typeof document<"u",ol={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Lu(e,t,n=!1){if(t===void 0)return!1;if(e=_i(`/${e}`),n)return new RegExp(t).test(e);if(_i(t)!==e)return!1;const s=t.match(Ru);return s?(ge?location.hash:"")===s[0]:!0}function _i(e){return decodeURI(e).replace(Ou,"").replace(Pu,"$1")}function Iu(e){return rl.test(e)}function Nu(e,t){return Object.keys(e?.locales||{}).find(n=>n!=="root"&&!Iu(n)&&Lu(t,`^/${n}/`,!0))||"root"}function Fu(e,t){const n=Nu(e,t),{label:s,link:r,...i}=e.locales[n]??{};Object.assign(i,{localeIndex:n});const o=Vu(e,t),l={head:cl(e.head??[],i.head??[],...o.map(c=>c.head??[]).reverse())};return br(l,...o,i,e)}function ll(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=Du(e.title,s);return n===r.slice(3)?n:`${n}${r}`}function Du(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function cl(...e){const t=[],n=new Map;for(const s of e)for(const r of s){const[i,o]=r,l=Object.entries(o)[0];if(i!=="meta"||!l){t.push(r);continue}const c=`${l[0]}=${l[1]}`,u=n.get(c);u!=null?t[u]=r:(n.set(c,t.length),t.push(r))}return t}const Hu=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,$u=/^[a-z]:/i;function bi(e){const t=$u.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Hu,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const Is=new Set;function ju(e){if(Is.size===0){const n=typeof process=="object"&&Au?.VITE_EXTRA_EXTENSIONS||Cu?.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=>Is.add(s))}const t=e.split(".").pop();return t==null||!Is.has(t.toLowerCase())}function Vf(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Vu({additionalConfig:e},t){if(e===void 0)return[];if(typeof e=="function")return e(t)??[];const n=[],s=t.split("/").slice(0,-1);for(;s.length;){const r=`/${s.join("/")}/`;n.push(e[r]),s.pop()}return n.push(e["/"]),n.filter(r=>r!==void 0)}function br(...e){const t=e.filter(r=>ku(r));if(t.length<=1)return e[0];const n=new Set(t.flatMap(r=>Reflect.ownKeys(r))),s=[...n];return new Proxy({},{get(r,i){return i===il?t:br(...t.map(o=>o[i]).filter(o=>o!==void 0))},set(){throw new Error("StackView is read-only and cannot be mutated.")},has(r,i){return n.has(i)},ownKeys(){return s},getOwnPropertyDescriptor(r,i){for(const o of t){const l=Object.getOwnPropertyDescriptor(o,i);if(l)return l}}})}br.unpack=function(e){return e?.[il]};function ku(e){return Object.prototype.toString.call(e)==="[object Object]"}const Uu=["shellscript","shell","bash","sh","zsh"];function Wu(e){return Uu.includes(e)}const Bu=Symbol(),ut=be(ln(Za));function kf(e){const t=oe(()=>Fu(ut.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?$e(!0):n==="force-auto"?nl():n?Eu({storageKey:Mu,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):$e(!1),r=$e(ge?location.hash:"");return ge&&window.addEventListener("hashchange",()=>{r.value=location.hash}),Pe(()=>e.data,()=>{r.value=ge?location.hash:""}),{site:t,theme:oe(()=>t.value.themeConfig),page:oe(()=>e.data),frontmatter:oe(()=>e.data.frontmatter),params:oe(()=>e.data.params),lang:oe(()=>t.value.lang),dir:oe(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:oe(()=>t.value.localeIndex||"root"),title:oe(()=>ll(t.value,e.data)),description:oe(()=>e.data.description||t.value.description),isDark:s,hash:oe(()=>r.value)}}function Ku(){const e=Ct(Bu);if(!e)throw new Error("vitepress data not properly injected in app");return e}function qu(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function wi(e){return rl.test(e)||!e.startsWith("/")?e:qu(ut.value.base,e)}function Gu(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),ge){const n="/qq-music-api/";t=bi(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=`./${bi(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let $n=[];function Uf(e){$n.push(e),uu(()=>{$n=$n.filter(t=>t!==e)})}function Xu(){let e=ut.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=Si(e,n);else if(Array.isArray(e))for(const s of e){const r=Si(s,n);if(r){t=r;break}}return t}function Si(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}const Yu=Symbol(),Js="http://a.com",zu=()=>({path:"/",hash:"",query:"",component:null,data:ol});function Wf(e,t){const n=Vt(zu()),s={route:n,async go(l,c){const{hash:u}=new URL(l,Js),a=ge&&document.fragmentDirective&&u.includes(":~:");l=Zs(l),await s.onBeforeRouteChange?.(l)!==!1&&((!ge||await Qu(l,{...c,hasTextFragment:a}))&&await i(l,{initialLoad:!!c?.initialLoad}),a&&(location.hash=u),o(),await s.onAfterRouteChange?.(l))}};let r=null;async function i(l,{scrollPosition:c=0,isRetry:u=!1,initialLoad:a=!1}={}){if(await s.onBeforePageLoad?.(l)===!1)return;const d=new URL(l,Js),m=r=d.pathname;try{let v=await e(m);if(!v)throw new Error(`Page not found: ${m}`);if(r===m){r=null;const{default:w,__pageData:b}=v;if(!w)throw new Error(`Invalid route component: ${w}`);await s.onAfterPageLoad?.(l),n.path=ge?m:wi(m),n.component=Fn(w),n.data=Fn(b),o(d),ge&&yn(()=>{let O=ut.value.base+b.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");!ut.value.cleanUrls&&!O.endsWith("/")&&(O+=".html"),O!==d.pathname&&(d.pathname=O,l=O+d.search+d.hash,history.replaceState({},"",l)),a||Qs(d.hash,!1,c)})}}catch(v){if(!/fetch|Page not found/.test(v.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(v),!u)try{const w=await fetch(ut.value.base+"hashmap.json");window.__VP_HASH_MAP__=await w.json(),await i(l,{scrollPosition:c,isRetry:!0,initialLoad:a});return}catch{}if(r===m){r=null,n.path=ge?m:wi(m),n.component=t?Fn(t):null;const w=ge?n.path.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").slice(ut.value.base.length):"404.md";n.data={...ol,relativePath:w},o(d)}}}function o(l=ge?location:{search:"",hash:""}){n.query=l.search,n.hash=decodeURIComponent(l.hash)}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 u=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(u==null)return;const{href:a,origin:d,pathname:m}=new URL(u,c.baseURI),v=new URL(location.href);d===v.origin&&ju(m)&&(l.preventDefault(),s.go(a,{smoothScroll:c.classList.contains("header-anchor")}))},{capture:!0}),window.addEventListener("popstate",async l=>{if(l.state===null)return;const c=Zs(location.href);await i(c,{scrollPosition:l.state.scrollPosition||0}),o(),await s.onAfterRouteChange?.(c)}),window.addEventListener("hashchange",l=>{l.preventDefault(),o()})),s}function Ju(){const e=Ct(Yu);if(!e)throw new Error("useRouter() is called without provider.");return e}function al(){return Ju().route}function Qs(e,t=!1,n=0){if(!e||n){window.scrollTo(0,n);return}let s=null;try{s=document.getElementById(decodeURIComponent(e).slice(1))}catch(l){console.warn(l)}if(!s)return;const r=window.scrollY+s.getBoundingClientRect().top-Xu()+Number.parseInt(window.getComputedStyle(s).paddingTop,10)||0,i=window.matchMedia("(prefers-reduced-motion)").matches?"instant":t&&Math.abs(r-window.scrollY)<=window.innerHeight?"smooth":"auto";requestAnimationFrame(()=>{if(window.scrollTo({left:0,top:r,behavior:i}),s.focus({preventScroll:!0}),document.activeElement===s||s.hasAttribute("tabindex"))return;const l=()=>{s.removeAttribute("tabindex"),s.removeEventListener("blur",l)};s.setAttribute("tabindex","-1"),s.addEventListener("blur",l),s.focus({preventScroll:!0}),document.activeElement!==s&&l()})}function Zs(e){const t=new URL(e,Js);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),ut.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash.split(":~:")[0]}async function Qu(e,{smoothScroll:t=!1,initialLoad:n=!1,replace:s=!1,hasTextFragment:r=!1}={}){const i=Zs(location.href),o=new URL(e,location.origin),l=new URL(i,location.origin);if(e===i){if(!n)return r||Qs(o.hash,t),!1}else if(s?history.replaceState({},"",e):(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",e)),o.pathname===l.pathname)return o.hash!==l.hash&&(window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:l.href,newURL:o.href})),r||Qs(o.hash,t)),!1;return!0}const Pn=()=>$n.forEach(e=>e()),Bf=ur({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=al(),{frontmatter:n,site:s}=Ku();return Pe(n,Pn,{deep:!0,flush:"post"}),()=>Ys(e.as,s.value.contentProps??{style:{position:"relative"}},[t.component?Ys(t.component,{onVnodeMounted:Pn,onVnodeUpdated:Pn,onVnodeUnmounted:Pn}):"404 Page Not Found"])}}),Zu="modulepreload",ef=function(e){return"/qq-music-api/"+e},Ei={},Kf=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let c=function(u){return Promise.all(u.map(a=>Promise.resolve(a).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=o?.nonce||o?.getAttribute("nonce");r=c(n.map(u=>{if(u=ef(u),u in Ei)return;Ei[u]=!0;const a=u.endsWith(".css"),d=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${d}`))return;const m=document.createElement("link");if(m.rel=a?"stylesheet":Zu,a||(m.as="script"),m.crossOrigin="",m.href=u,l&&m.setAttribute("nonce",l),document.head.appendChild(m),a)return new Promise((v,w)=>{m.addEventListener("load",v),m.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${u}`)))})}))}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)})},qf=ur({setup(e,{slots:t}){const n=$e(!1);return Wt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function Gf(){ge&&window.addEventListener("click",e=>{const t=e.target;if(t.matches(".vp-code-group input")){const n=t.parentElement?.parentElement;if(!n)return;const s=Array.from(n.querySelectorAll("input")).indexOf(t);if(s<0)return;const r=n.querySelector(".blocks");if(!r)return;const i=Array.from(r.children).find(c=>c.classList.contains("active"));if(!i)return;const o=r.children[s];if(!o||i===o)return;i.classList.remove("active"),tf(o),n?.querySelector(`label[for="${t.id}"]`)?.scrollIntoView({block:"nearest"})}})}function tf(e){e.classList.add("active"),window.dispatchEvent(new CustomEvent("vitepress:codeGroupTabActivate",{detail:e}))}const nf=[".vp-copy-ignore",".diff.remove"].join(", ");function Xf(){if(ge){const e=new WeakMap;window.addEventListener("click",t=>{const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,r=n.nextElementSibling?.nextElementSibling;if(!s||!r)return;const i=r.cloneNode(!0);i.querySelectorAll(nf).forEach(c=>c.remove()),i.innerHTML=i.innerHTML.replace(/\n+/g,`
4
+ `);let o=i.textContent||"";const l=/language-(\w+)/.exec(s.className)?.[1]||"";Wu(l)&&(o=o.replace(/^ *(\$|>) /gm,"").trim()),sf(o).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const c=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,c)})}})}}async function sf(e){try{await 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 Yf(e,t){let n=!0,s=[];const r=i=>{if(n){n=!1,i.forEach(l=>{const c=Ns(l);for(const u of document.head.children)if(u.isEqualNode(c)){s.push(u);return}});return}const o=i.map(Ns);s.forEach((l,c)=>{const u=o.findIndex(a=>a?.isEqualNode(l??null));u!==-1?delete o[u]:(l?.remove(),delete s[c])}),o.forEach(l=>l&&document.head.appendChild(l)),s=[...s,...o].filter(Boolean)};ar(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],u=ll(o,i);u!==document.title&&(document.title=u);const a=l||o.description;let d=document.querySelector("meta[name=description]");d?d.getAttribute("content")!==a&&d.setAttribute("content",a):Ns(["meta",{name:"description",content:a}]),r(cl(o.head,of(c)))})}function Ns([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 rf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function of(e){return e.filter(t=>!rf(t))}const Fs=new Set,ul=()=>document.createElement("link"),lf=e=>{const t=ul();t.rel="prefetch",t.href=e,document.head.appendChild(t)},cf=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let Ln;const af=ge&&(Ln=ul())&&Ln.relList&&Ln.relList.supports&&Ln.relList.supports("prefetch")?lf:cf;function zf(){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(!Fs.has(c)){Fs.add(c);const u=Gu(c);u&&af(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):Fs.add(l))})})};Wt(s);const r=al();Pe(()=>r.path,s),fs(()=>{n&&n.disconnect()})}export{gf as $,ku as A,ae as B,qf as C,Fn as D,rl as E,Te as F,fa as G,yn as H,sr as I,nr as J,tu as K,uo as L,Uf as M,If as N,Wt as O,fs as P,Lc as Q,Yu as R,qs as S,df as T,Gu as U,dc as V,ln as W,$e as X,vf as Y,yf as Z,Kf as _,Bf as a,mf as a0,Yl as a1,be as a2,ut as a3,Hn as a4,Cl as a5,_f as a6,ce as a7,ju as a8,Xo as a9,fc as aA,uf as aB,Af as aC,Cf as aD,cs as aa,gs as ab,Gf as ac,Xf as ad,Ku as ae,ze as af,Nf as ag,el as ah,Ff as ai,zf as aj,al as ak,Ju as al,Df as am,Hf as an,bf as ao,hf as ap,Yf as aq,$f as ar,jf as as,xf as at,Tf as au,Pe as av,Pf as aw,ar as ax,ff as ay,wi as az,Ef as b,Of as c,oe as d,Lf as e,Mf as f,$o as g,Gs as h,ua as i,wf as j,Wf as k,Rf as l,Sf as m,jo as n,fe as o,Bu as p,pf as q,ur as r,Vf as s,Xu as t,Ys as u,ge as v,kf as w,Ct as x,Lu as y,Iu as z};