vitepress-openapi 0.2.5 → 0.2.6

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 (161) hide show
  1. package/dist/{angular-html-Dg3-tcsc.cjs → angular-html-CGsuZc6a.cjs} +1 -1
  2. package/dist/{angular-html-DUEd47TJ.js → angular-html-DARb335O.js} +2 -2
  3. package/dist/{angular-ts-D0NAnxgV.cjs → angular-ts-Bg4b1K8o.cjs} +1 -1
  4. package/dist/{angular-ts-syduVA-F.js → angular-ts-CrrEVOLQ.js} +2 -2
  5. package/dist/{apl-Cq9hivV8.js → apl-BUNzB7iS.js} +5 -5
  6. package/dist/{apl-Dx6odmvQ.cjs → apl-D9ujzlDe.cjs} +1 -1
  7. package/dist/{astro-CIc9naVs.js → astro-CT6LVfZb.js} +5 -5
  8. package/dist/{astro-CfDpOFJP.cjs → astro-DuWrFiiv.cjs} +1 -1
  9. package/dist/{blade-C5_pOwH9.js → blade-CT3BYEkw.js} +7 -7
  10. package/dist/{blade-BxfKHaSj.cjs → blade-DEZwhTmz.cjs} +1 -1
  11. package/dist/{c-hpMPM8RV.cjs → c-DDdF0YXr.cjs} +1 -1
  12. package/dist/{c-Bx-MD8Df.js → c-Df26Rt3n.js} +1 -1
  13. package/dist/{chapel-DNuPgf4Q.js → chapel-7XVmedRB.js} +1 -1
  14. package/dist/{chapel-keWPCgW7.cjs → chapel-BGl0pLYE.cjs} +1 -1
  15. package/dist/{cobol-DS4J3FEo.js → cobol-7e4lFVpj.js} +2 -2
  16. package/dist/{cobol-DZd5ojad.cjs → cobol-BgGrvcfE.cjs} +1 -1
  17. package/dist/{coffee-w3B5krTo.cjs → coffee-CnTOT7qi.cjs} +1 -1
  18. package/dist/{coffee-CV4WwegX.js → coffee-D2EFnoK3.js} +1 -1
  19. package/dist/{cpp-Jl_TC1Nw.cjs → cpp-BdIhYOqJ.cjs} +1 -1
  20. package/dist/{cpp-ePkK8ak4.js → cpp-BrJ3qayw.js} +3 -3
  21. package/dist/{crystal-CwIeEKN9.cjs → crystal-C0oOOTvI.cjs} +1 -1
  22. package/dist/{crystal-BzagR96f.js → crystal-CijsJH2S.js} +6 -6
  23. package/dist/{css-BYV3ABNT.js → css-BDLPKt_n.js} +1 -1
  24. package/dist/{css-BGNe3YXa.cjs → css-BJ4fQgJY.cjs} +1 -1
  25. package/dist/{edge-DCZlk9GE.js → edge-CWCiEXP9.js} +3 -3
  26. package/dist/{edge-CdQqWKGq.cjs → edge-D7t7tSii.cjs} +1 -1
  27. package/dist/{elixir-_UY-lG6-.js → elixir-8Qtl7ev_.js} +1 -1
  28. package/dist/{elixir-CxPipDUR.cjs → elixir-CEVCh53I.cjs} +1 -1
  29. package/dist/{elm-Ccn6fAWV.cjs → elm-BktTaRPW.cjs} +1 -1
  30. package/dist/{elm-Bjkcqmf_.js → elm-CQNq4BKy.js} +1 -1
  31. package/dist/{erb-DfkBkh24.cjs → erb-Bas_b7PL.cjs} +1 -1
  32. package/dist/{erb-pmNxLm5n.js → erb-DCFD7vrt.js} +2 -2
  33. package/dist/{git-rebase-B1W6M8Gc.js → git-rebase-CSFTH0sQ.js} +1 -1
  34. package/dist/{git-rebase-v-Ukhgl9.cjs → git-rebase-DGo4nA7C.cjs} +1 -1
  35. package/dist/{glimmer-js-BZ-ju6iq.js → glimmer-js-Ce8bwdpO.js} +4 -4
  36. package/dist/{glimmer-js-BAbqnV3-.cjs → glimmer-js-Z7E0DaWX.cjs} +1 -1
  37. package/dist/{glimmer-ts-B12x5nAB.js → glimmer-ts-CdP0Y2rr.js} +4 -4
  38. package/dist/{glimmer-ts-B3Cx5KtA.cjs → glimmer-ts-osenBmqR.cjs} +1 -1
  39. package/dist/{glsl-BHIO0OBH.cjs → glsl-DqSyLtjd.cjs} +1 -1
  40. package/dist/{glsl-BzoNCWEn.js → glsl-gQ2PTprT.js} +2 -2
  41. package/dist/{graphql-BxIBMUHp.js → graphql-D9d0A3NW.js} +5 -5
  42. package/dist/{graphql-CQN3OclW.cjs → graphql-DTkt67qx.cjs} +1 -1
  43. package/dist/{hack-ColLjcl2.cjs → hack-BsFtI2Eg.cjs} +1 -1
  44. package/dist/{hack-BV5Clp_u.js → hack-D2t7w518.js} +2 -2
  45. package/dist/{haml-DGyVMTHl.cjs → haml-BBf8fdr9.cjs} +1 -1
  46. package/dist/{haml-BJ7DUgvS.js → haml-DtrHnXyI.js} +3 -3
  47. package/dist/{handlebars-DuylF_6e.js → handlebars-BFrhjavm.js} +4 -4
  48. package/dist/{handlebars-B5ZIr_aZ.cjs → handlebars-DPepJR-F.cjs} +1 -1
  49. package/dist/{html-iLgKH72m.js → html-CZSxUh6E.js} +3 -3
  50. package/dist/{html-derivative-D_4Aj8Gh.js → html-derivative-1D9rMziY.js} +1 -1
  51. package/dist/{html-derivative-UTkRrivP.cjs → html-derivative-CiU9WY3_.cjs} +1 -1
  52. package/dist/{html-DN9f8kSH.cjs → html-tDTTwBjP.cjs} +1 -1
  53. package/dist/{http-BlHmF7m2.cjs → http-BEeboTha.cjs} +1 -1
  54. package/dist/{http-C5ID-Qyz.js → http-_yCM4LFM.js} +4 -4
  55. package/dist/{hurl--xoG0pPf.js → hurl-CjTriWW3.js} +2 -2
  56. package/dist/{hurl-LrIzh9fX.cjs → hurl-CzW0xtQK.cjs} +1 -1
  57. package/dist/{java-Zhvn3v1V.js → java-BBWcloI5.js} +1 -1
  58. package/dist/{java-wSZjiYL-.cjs → java-DEV9nIzf.cjs} +1 -1
  59. package/dist/{javascript-Btk6dvZV.js → javascript-BtdwTU5l.js} +1 -1
  60. package/dist/{javascript-BriSQyZc.cjs → javascript-COXg7KRK.cjs} +1 -1
  61. package/dist/{jinja-CUxfPCtW.js → jinja-0Fph51Wu.js} +1 -1
  62. package/dist/{jinja-D76hx3-7.cjs → jinja-SDapQ1jF.cjs} +1 -1
  63. package/dist/{jison-C3U4f0s4.cjs → jison-C6HvDI82.cjs} +1 -1
  64. package/dist/{jison-hYIOwwCK.js → jison-DKkCHBi3.js} +1 -1
  65. package/dist/{json-DPSZpJKU.js → json-1Shnxn5T.js} +1 -1
  66. package/dist/{json-Bo-RT5A6.cjs → json-D9-BN10e.cjs} +1 -1
  67. package/dist/{jsx-CPH8GKtA.cjs → jsx-CJ8AuAld.cjs} +1 -1
  68. package/dist/{jsx-W4w_W_OV.js → jsx-DMGrwzK7.js} +1 -1
  69. package/dist/{julia-Cac7DCT1.cjs → julia-BOWoqzWb.cjs} +1 -1
  70. package/dist/{julia-BxaHlyqA.js → julia-CtGveS0F.js} +4 -4
  71. package/dist/{just--lfP6IF9.cjs → just-DJBTWvtH.cjs} +1 -1
  72. package/dist/{just-CJOpWB1x.js → just-Ocglo-Ta.js} +5 -5
  73. package/dist/{latex-C7_sFdk3.js → latex-CwRnFmhO.js} +1 -1
  74. package/dist/{latex-CUtR5DE9.cjs → latex-jmD-x2Sw.cjs} +1 -1
  75. package/dist/{liquid-Drum6HOR.cjs → liquid-B0j0Ojr6.cjs} +1 -1
  76. package/dist/{liquid-DUN9LxqY.js → liquid-BUvHlsu4.js} +4 -4
  77. package/dist/{lua-BvhsgZmU.js → lua-CCwV5A-2.js} +2 -2
  78. package/dist/{lua-CjaqZWcv.cjs → lua-Cx8wh7Cx.cjs} +1 -1
  79. package/dist/{marko-CcYz_oXC.js → marko-B7d7a75U.js} +3 -3
  80. package/dist/{marko-DZv2qjgg.cjs → marko-DgvX-ocG.cjs} +1 -1
  81. package/dist/{mdc-3sjk0StN.cjs → mdc-T8GMGcnF.cjs} +1 -1
  82. package/dist/{mdc-BkMDB3R8.js → mdc-qWBp3e-g.js} +2 -2
  83. package/dist/{nginx-Cwf0UjFL.js → nginx-BbITQOFT.js} +1 -1
  84. package/dist/{nginx-CACh9sPZ.cjs → nginx-CJ6LIx1U.cjs} +1 -1
  85. package/dist/{nim-B7jmB3EZ.cjs → nim-_u7AMou0.cjs} +1 -1
  86. package/dist/{nim-BT5yHPyY.js → nim-jrsjoy8-.js} +6 -6
  87. package/dist/{org-Bm-Fs1EQ.cjs → org-BlOpuc2_.cjs} +1 -1
  88. package/dist/{org-HmsRb9Fx.js → org-BvB9eDZB.js} +26 -26
  89. package/dist/{perl-CIYgk-FU.cjs → perl-D8XroKo0.cjs} +1 -1
  90. package/dist/{perl-Bfu0kGvH.js → perl-Db3mBsuQ.js} +5 -5
  91. package/dist/{php-DH38roRY.cjs → php-C8SG25Wa.cjs} +1 -1
  92. package/dist/{php-B6Nhf791.js → php-DXAFydNe.js} +6 -6
  93. package/dist/{pug-DoZlAXyU.cjs → pug-DGLtElT2.cjs} +1 -1
  94. package/dist/{pug-CyTLuK8P.js → pug-DUGE64tE.js} +3 -3
  95. package/dist/{qml-B5FZziLo.js → qml-BI8Qke4k.js} +1 -1
  96. package/dist/{qml-jygIc27G.cjs → qml-f8YoerFJ.cjs} +1 -1
  97. package/dist/{r-CoMuq6NS.js → r-BqUCIOdg.js} +1 -1
  98. package/dist/{r-BLUZ58Oc.cjs → r-DTie9Nyk.cjs} +1 -1
  99. package/dist/{razor-m7NZ_pEx.cjs → razor-Cznq4CrH.cjs} +1 -1
  100. package/dist/{razor-Ddj7i4qk.js → razor-DzYuKCwQ.js} +1 -1
  101. package/dist/{regexp-Cp4UOZ0d.js → regexp-CCkYPv1N.js} +1 -1
  102. package/dist/{regexp-DF2aMHu6.cjs → regexp-W6uDzT_l.cjs} +1 -1
  103. package/dist/{rst-CL0hK4OH.cjs → rst-CjRZqYHL.cjs} +1 -1
  104. package/dist/{rst-BFqthg8Z.js → rst-DkdHGABB.js} +6 -6
  105. package/dist/{ruby-CHSsp6bd.cjs → ruby-DYZIHus3.cjs} +1 -1
  106. package/dist/{ruby-5apGWg3y.js → ruby-SrIlbOFE.js} +12 -12
  107. package/dist/{sas-BbCoQvHs.js → sas-BgMaDA2M.js} +1 -1
  108. package/dist/{sas-CH-7XeYU.cjs → sas-D4DC5Y7L.cjs} +1 -1
  109. package/dist/{scss-DKCpW6E9.js → scss-Cy7mHhKR.js} +2 -2
  110. package/dist/{scss-C7dGw39f.cjs → scss-D2afYGNC.cjs} +1 -1
  111. package/dist/{shellscript-DzADwDC7.cjs → shellscript-DL7dA6YH.cjs} +1 -1
  112. package/dist/{shellscript-iRYVRA9e.js → shellscript-Dc7jtvdg.js} +1 -1
  113. package/dist/{shellsession-BipBVLfD.js → shellsession-BZTJuggn.js} +1 -1
  114. package/dist/{shellsession-D34Gt-in.cjs → shellsession-CGkCOuFx.cjs} +1 -1
  115. package/dist/{soy-Cv5kA5BX.cjs → soy-B2OqotLG.cjs} +1 -1
  116. package/dist/{soy-Ci5cHh9q.js → soy-X1cLpGrT.js} +1 -1
  117. package/dist/{sql-1x77nIrC.cjs → sql-BLxweCea.cjs} +1 -1
  118. package/dist/{sql-CJLfxqoj.js → sql-DRYM5A-g.js} +1 -1
  119. package/dist/{stata-DkbZWhWM.cjs → stata-DUfnFR7t.cjs} +1 -1
  120. package/dist/{stata-DhsCD8op.js → stata-mshAKmrC.js} +1 -1
  121. package/dist/{surrealql-DUNVEbqd.js → surrealql-DQzrI0uj.js} +1 -1
  122. package/dist/{surrealql-uXRgsy4L.cjs → surrealql-Zfoia8BY.cjs} +1 -1
  123. package/dist/{svelte-BGQHd2p8.js → svelte-D2bLGYCT.js} +3 -3
  124. package/dist/{svelte-DhYdFOnU.cjs → svelte-aFul1Jy8.cjs} +1 -1
  125. package/dist/{templ-Krzitdzq.js → templ-BT5bFFZC.js} +2 -2
  126. package/dist/{templ-B8A_nNAL.cjs → templ-Dx8bEvea.cjs} +1 -1
  127. package/dist/{tex-Br8lzWjy.js → tex-BGjRDs2m.js} +2 -2
  128. package/dist/{tex-DEhQZyOi.cjs → tex-DLVxreb-.cjs} +1 -1
  129. package/dist/{ts-tags-DI5ydRJo.cjs → ts-tags-BIebym7V.cjs} +1 -1
  130. package/dist/{ts-tags-B3-QzjQ_.js → ts-tags-Ck5aGNIn.js} +7 -7
  131. package/dist/{tsx-LB2Qf5Sb.cjs → tsx-B4QBkk0q.cjs} +1 -1
  132. package/dist/{tsx-D4QsIoAS.js → tsx-G3EWmL7D.js} +1 -1
  133. package/dist/{twig-C0fyOpEP.cjs → twig-BgwYNE2l.cjs} +1 -1
  134. package/dist/{twig-B8pX6bsJ.js → twig-CHwtVyR-.js} +5 -5
  135. package/dist/types/src/lib/playground/coercePlaygroundParameterValue.d.ts +20 -0
  136. package/dist/{typescript-wL9ijY8z.js → typescript-DAazdaCE.js} +1 -1
  137. package/dist/{typescript-CT8UeVwI.cjs → typescript-DoW3h951.cjs} +1 -1
  138. package/dist/{typst-3LVjvi1_.cjs → typst-9vf_wdP8.cjs} +1 -1
  139. package/dist/{typst-DqyPUBrE.js → typst-BLT0Jxqy.js} +29 -29
  140. package/dist/{useOpenapi-BYPXpEA6.js → useOpenapi-DyGwf6EG.js} +1560 -1524
  141. package/dist/{useOpenapi-o5WHNLy8.cjs → useOpenapi-zUwxozsv.cjs} +69 -69
  142. package/dist/vitepress-openapi.client.cjs.js +12 -12
  143. package/dist/vitepress-openapi.client.es.js +11898 -11884
  144. package/dist/vitepress-openapi.node.cjs.js +1 -1
  145. package/dist/vitepress-openapi.node.es.js +1 -1
  146. package/dist/{vue-Dd3o2hqW.cjs → vue-BRjGF9q6.cjs} +1 -1
  147. package/dist/{vue-_R2ZNdvJ.js → vue-CpqLnHVY.js} +6 -6
  148. package/dist/{vue-html-DlzvdKGY.cjs → vue-html-5pJeWJlE.cjs} +1 -1
  149. package/dist/{vue-html-p7YZPSEJ.js → vue-html-Zve9lhNA.js} +1 -1
  150. package/dist/{vue-vine-C8dYPMH7.js → vue-vine-BIyjr9Yw.js} +3 -3
  151. package/dist/{vue-vine-DJ0FTVBO.cjs → vue-vine-D8sXouna.cjs} +1 -1
  152. package/dist/{xml-s2Q8hq3H.js → xml-B4yjP0re.js} +2 -2
  153. package/dist/{xml-KS4atlJN.cjs → xml-DfteIxKp.cjs} +1 -1
  154. package/dist/{xsl-VX4kCG3h.cjs → xsl-BaF5pye5.cjs} +1 -1
  155. package/dist/{xsl-MpmIueyf.js → xsl-BfNOhnnx.js} +1 -1
  156. package/dist/{yaml-Cbx-ssDW.js → yaml-BMWpYE45.js} +1 -1
  157. package/dist/{yaml-BRDvY_60.cjs → yaml-BWP6Z5iN.cjs} +1 -1
  158. package/package.json +1 -1
  159. package/src/components/Playground/OAPlaygroundParameterInput.vue +42 -1
  160. package/src/lib/codeSamples/buildRequest.ts +29 -6
  161. package/src/lib/playground/coercePlaygroundParameterValue.ts +105 -0
@@ -1,6 +1,6 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./useOpenapi-o5WHNLy8.cjs");let t=require("vue"),n=e.et(t,1);t=e.et(t);var r=/^(\w+)\[(\d+)\]$/,i=/\{(\w+)\}/g;function a({chain:e,messages:t,params:n,initialChain:o}){let s=e[0];if(o!=null||(o=[...e]),s.includes(`[`)){let i=s.match(r);if(!i)throw Error(`Invalid array access syntax in "${o.join(`.`)}"`);let c=i[1],l=Number.parseInt(i[2],10),u=t[c];if(!Array.isArray(u)||u.length<=l)throw Error(`Message "${o.join(`.`)}" not found`);let d=u[l];return e.length===1?typeof d==`string`?d:``:a({chain:e.slice(1),messages:d,params:n,initialChain:o})}let c=t[s];if(c==null)throw Error(`Message "${o.join(`.`)}" not found`);return e.length===1?typeof c==`string`?n?c.replace(i,(e,t)=>{if(Array.isArray(n)){let e=Number(t);if(Number.isNaN(e))throw Error(`Parameter "${t}" not found`);if(e<0||e>=n.length)throw Error(`Parameter index ${e} is out of bounds (array length: ${n.length})`);return String(n[e])}if(!(t in n))throw Error(`Parameter "${t}" not found`);return String(n[t])}):c:``:a({chain:e.slice(1),messages:c,params:n,initialChain:o})}var o=`[vue-i18n]`,s=Symbol.for(`@byjohann/vue-i18n`);function c(e){var t,r;let{defaultLocale:i=`en`,logLevel:c=`warn`}=e,l={...(t=e.messages)==null?{}:t},u=(0,n.ref)(i),d=(r=e.locales)==null?Object.keys(l).length?Object.keys(l):[u.value]:r;return{defaultLocale:i,locale:(0,n.computed)(()=>u.value),locales:Object.freeze(d),messages:l,t:(e,t)=>{if(typeof e!=`string`)return c===`warn`&&console.warn(o,`Message "${e}" must be a string`),``;if(!e)return c===`warn`&&console.warn(o,`Message key is empty`),``;let n=l[u.value];if(!n)return c===`warn`&&console.warn(o,`No messages found for locale "${u.value}"`),e;try{return a({chain:e.split(`.`),messages:n,params:t})}catch(t){return c===`warn`&&console.warn(o,t.message),e}},setLocale:e=>{if(!d.includes(e)){c===`warn`&&console.warn(o,`Locale "${e}" is not defined in the locales list. Available locales: ${d.join(`, `)}`);return}u.value=e},getLocale:()=>u.value,install(e){e.provide(s,this),e.config.globalProperties.$t=this.t,e.config.globalProperties.$i18n=this}}}function l(){let e=(0,n.inject)(s);if(!e)throw Error("[vue-i18n] No i18n instance found. Did you forget to call `app.use(i18n)`?");return e}var u=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,d=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,f=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function p(e,t){if(e===`__proto__`||e===`constructor`&&t&&typeof t==`object`&&`prototype`in t){m(e);return}return t}function m(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function h(e,t={}){if(typeof e!=`string`)return e;if(e[0]===`"`&&e[e.length-1]===`"`&&e.indexOf(`\\`)===-1)return e.slice(1,-1);let n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case`true`:return!0;case`false`:return!1;case`undefined`:return;case`null`:return null;case`nan`:return NaN;case`infinity`:return 1/0;case`-infinity`:return-1/0}if(!f.test(e)){if(t.strict)throw SyntaxError(`[destr] Invalid JSON`);return e}try{if(u.test(e)||d.test(e)){if(t.strict)throw Error(`[destr] Possible prototype pollution`);return JSON.parse(e,p)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}var g={207:(e,t,n)=>{e.exports=n(452)},452:e=>{var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,i=typeof Symbol==`function`?Symbol:{},a=i.iterator||`@@iterator`,o=i.asyncIterator||`@@asyncIterator`,s=i.toStringTag||`@@toStringTag`;function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},``)}catch{c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype);return a._invoke=function(e,t,n){var r=d;return function(i,a){if(r===p)throw Error(`Generator is already running`);if(r===m){if(i===`throw`)throw a;return D()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=T(o,n);if(s){if(s===h)continue;return s}}if(n.method===`next`)n.sent=n._sent=n.arg;else if(n.method===`throw`){if(r===d)throw r=m,n.arg;n.dispatchException(n.arg)}else n.method===`return`&&n.abrupt(`return`,n.arg);r=p;var c=u(e,t,n);if(c.type===`normal`){if(r=n.done?m:f,c.arg===h)continue;return{value:c.arg,done:n.done}}c.type===`throw`&&(r=m,n.method=`throw`,n.arg=c.arg)}}}(e,n,new te(r||[])),a}function u(e,t,n){try{return{type:`normal`,arg:e.call(t,n)}}catch(e){return{type:`throw`,arg:e}}}e.wrap=l;var d=`suspendedStart`,f=`suspendedYield`,p=`executing`,m=`completed`,h={};function g(){}function _(){}function v(){}var y={};c(y,a,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(ne([])));x&&x!==n&&r.call(x,a)&&(y=x);var S=v.prototype=g.prototype=Object.create(y);function C(e){[`next`,`throw`,`return`].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function n(i,a,o,s){var c=u(e[i],e,a);if(c.type!==`throw`){var l=c.arg,d=l.value;return d&&typeof d==`object`&&r.call(d,`__await`)?t.resolve(d.__await).then((function(e){n(`next`,e,o,s)}),(function(e){n(`throw`,e,o,s)})):t.resolve(d).then((function(e){l.value=e,o(l)}),(function(e){return n(`throw`,e,o,s)}))}s(c.arg)}var i;this._invoke=function(e,r){function a(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(a,a):a()}}function T(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,n.method===`throw`){if(e.iterator.return&&(n.method=`return`,n.arg=t,T(e,n),n.method===`throw`))return h;n.method=`throw`,n.arg=TypeError(`The iterator does not provide a 'throw' method`)}return h}var i=u(r,e.iterator,n.arg);if(i.type===`throw`)return n.method=`throw`,n.arg=i.arg,n.delegate=null,h;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,n.method!==`return`&&(n.method=`next`,n.arg=t),n.delegate=null,h):a:(n.method=`throw`,n.arg=TypeError(`iterator result is not an object`),n.delegate=null,h)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function ee(e){var t=e.completion||{};t.type=`normal`,delete t.arg,e.completion=t}function te(e){this.tryEntries=[{tryLoc:`root`}],e.forEach(E,this),this.reset(!0)}function ne(e){if(e){var n=e[a];if(n)return n.call(e);if(typeof e.next==`function`)return e;if(!isNaN(e.length)){var i=-1,o=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}return{next:D}}function D(){return{value:t,done:!0}}return _.prototype=v,c(S,`constructor`,v),c(v,`constructor`,_),_.displayName=c(v,s,`GeneratorFunction`),e.isGeneratorFunction=function(e){var t=typeof e==`function`&&e.constructor;return!!t&&(t===_||(t.displayName||t.name)===`GeneratorFunction`)},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,s,`GeneratorFunction`)),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},C(w.prototype),c(w.prototype,o,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,i,a){a===void 0&&(a=Promise);var o=new w(l(t,n,r,i),a);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},C(S),c(S,s,`Generator`),c(S,a,(function(){return this})),c(S,`toString`,(function(){return`[object Generator]`})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=ne,te.prototype={constructor:te,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method=`next`,this.arg=t,this.tryEntries.forEach(ee),!e)for(var n in this)n.charAt(0)===`t`&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(e.type===`throw`)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type=`throw`,s.arg=e,n.next=r,i&&(n.method=`next`,n.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if(o.tryLoc===`root`)return i(`end`);if(o.tryLoc<=this.prev){var c=r.call(o,`catchLoc`),l=r.call(o,`finallyLoc`);if(c&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw Error(`try statement without catch or finally`);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,`finallyLoc`)&&this.prev<i.finallyLoc){var a=i;break}}a&&(e===`break`||e===`continue`)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method=`next`,this.next=a.finallyLoc,h):this.complete(o)},complete:function(e,t){if(e.type===`throw`)throw e.arg;return e.type===`break`||e.type===`continue`?this.next=e.arg:e.type===`return`?(this.rval=this.arg=e.arg,this.method=`return`,this.next=`end`):e.type===`normal`&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),ee(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if(r.type===`throw`){var i=r.arg;ee(n)}return i}}throw Error(`illegal catch attempt`)},delegateYield:function(e,n,r){return this.delegate={iterator:ne(e),resultName:n,nextLoc:r},this.method===`next`&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis==`object`?globalThis.regeneratorRuntime=t:Function(`r`,`regeneratorRuntime = r`)(t)}}},_={};function v(e){var t=_[e];if(t!==void 0)return t.exports;var n=_[e]={exports:{}};return g[e](n,n.exports,v),n.exports}v.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return v.d(t,{a:t}),t},v.d=(e,t)=>{for(var n in t)v.o(t,n)&&!v.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},v.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var y={};function b(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function x(e,t){if(e){if(typeof e==`string`)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function S(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}(e)||x(e)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./useOpenapi-zUwxozsv.cjs");let t=require("vue"),n=e.tt(t,1);t=e.tt(t);var r=/^(\w+)\[(\d+)\]$/,i=/\{(\w+)\}/g;function a({chain:e,messages:t,params:n,initialChain:o}){let s=e[0];if(o!=null||(o=[...e]),s.includes(`[`)){let i=s.match(r);if(!i)throw Error(`Invalid array access syntax in "${o.join(`.`)}"`);let c=i[1],l=Number.parseInt(i[2],10),u=t[c];if(!Array.isArray(u)||u.length<=l)throw Error(`Message "${o.join(`.`)}" not found`);let d=u[l];return e.length===1?typeof d==`string`?d:``:a({chain:e.slice(1),messages:d,params:n,initialChain:o})}let c=t[s];if(c==null)throw Error(`Message "${o.join(`.`)}" not found`);return e.length===1?typeof c==`string`?n?c.replace(i,(e,t)=>{if(Array.isArray(n)){let e=Number(t);if(Number.isNaN(e))throw Error(`Parameter "${t}" not found`);if(e<0||e>=n.length)throw Error(`Parameter index ${e} is out of bounds (array length: ${n.length})`);return String(n[e])}if(!(t in n))throw Error(`Parameter "${t}" not found`);return String(n[t])}):c:``:a({chain:e.slice(1),messages:c,params:n,initialChain:o})}var o=`[vue-i18n]`,s=Symbol.for(`@byjohann/vue-i18n`);function c(e){var t,r;let{defaultLocale:i=`en`,logLevel:c=`warn`}=e,l={...(t=e.messages)==null?{}:t},u=(0,n.ref)(i),d=(r=e.locales)==null?Object.keys(l).length?Object.keys(l):[u.value]:r;return{defaultLocale:i,locale:(0,n.computed)(()=>u.value),locales:Object.freeze(d),messages:l,t:(e,t)=>{if(typeof e!=`string`)return c===`warn`&&console.warn(o,`Message "${e}" must be a string`),``;if(!e)return c===`warn`&&console.warn(o,`Message key is empty`),``;let n=l[u.value];if(!n)return c===`warn`&&console.warn(o,`No messages found for locale "${u.value}"`),e;try{return a({chain:e.split(`.`),messages:n,params:t})}catch(t){return c===`warn`&&console.warn(o,t.message),e}},setLocale:e=>{if(!d.includes(e)){c===`warn`&&console.warn(o,`Locale "${e}" is not defined in the locales list. Available locales: ${d.join(`, `)}`);return}u.value=e},getLocale:()=>u.value,install(e){e.provide(s,this),e.config.globalProperties.$t=this.t,e.config.globalProperties.$i18n=this}}}function l(){let e=(0,n.inject)(s);if(!e)throw Error("[vue-i18n] No i18n instance found. Did you forget to call `app.use(i18n)`?");return e}var u=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,d=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,f=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function p(e,t){if(e===`__proto__`||e===`constructor`&&t&&typeof t==`object`&&`prototype`in t){m(e);return}return t}function m(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function h(e,t={}){if(typeof e!=`string`)return e;if(e[0]===`"`&&e[e.length-1]===`"`&&e.indexOf(`\\`)===-1)return e.slice(1,-1);let n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case`true`:return!0;case`false`:return!1;case`undefined`:return;case`null`:return null;case`nan`:return NaN;case`infinity`:return 1/0;case`-infinity`:return-1/0}if(!f.test(e)){if(t.strict)throw SyntaxError(`[destr] Invalid JSON`);return e}try{if(u.test(e)||d.test(e)){if(t.strict)throw Error(`[destr] Possible prototype pollution`);return JSON.parse(e,p)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}var g={207:(e,t,n)=>{e.exports=n(452)},452:e=>{var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,i=typeof Symbol==`function`?Symbol:{},a=i.iterator||`@@iterator`,o=i.asyncIterator||`@@asyncIterator`,s=i.toStringTag||`@@toStringTag`;function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},``)}catch{c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype);return a._invoke=function(e,t,n){var r=d;return function(i,a){if(r===p)throw Error(`Generator is already running`);if(r===m){if(i===`throw`)throw a;return D()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=T(o,n);if(s){if(s===h)continue;return s}}if(n.method===`next`)n.sent=n._sent=n.arg;else if(n.method===`throw`){if(r===d)throw r=m,n.arg;n.dispatchException(n.arg)}else n.method===`return`&&n.abrupt(`return`,n.arg);r=p;var c=u(e,t,n);if(c.type===`normal`){if(r=n.done?m:f,c.arg===h)continue;return{value:c.arg,done:n.done}}c.type===`throw`&&(r=m,n.method=`throw`,n.arg=c.arg)}}}(e,n,new te(r||[])),a}function u(e,t,n){try{return{type:`normal`,arg:e.call(t,n)}}catch(e){return{type:`throw`,arg:e}}}e.wrap=l;var d=`suspendedStart`,f=`suspendedYield`,p=`executing`,m=`completed`,h={};function g(){}function _(){}function v(){}var y={};c(y,a,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(ne([])));x&&x!==n&&r.call(x,a)&&(y=x);var S=v.prototype=g.prototype=Object.create(y);function C(e){[`next`,`throw`,`return`].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function n(i,a,o,s){var c=u(e[i],e,a);if(c.type!==`throw`){var l=c.arg,d=l.value;return d&&typeof d==`object`&&r.call(d,`__await`)?t.resolve(d.__await).then((function(e){n(`next`,e,o,s)}),(function(e){n(`throw`,e,o,s)})):t.resolve(d).then((function(e){l.value=e,o(l)}),(function(e){return n(`throw`,e,o,s)}))}s(c.arg)}var i;this._invoke=function(e,r){function a(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(a,a):a()}}function T(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,n.method===`throw`){if(e.iterator.return&&(n.method=`return`,n.arg=t,T(e,n),n.method===`throw`))return h;n.method=`throw`,n.arg=TypeError(`The iterator does not provide a 'throw' method`)}return h}var i=u(r,e.iterator,n.arg);if(i.type===`throw`)return n.method=`throw`,n.arg=i.arg,n.delegate=null,h;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,n.method!==`return`&&(n.method=`next`,n.arg=t),n.delegate=null,h):a:(n.method=`throw`,n.arg=TypeError(`iterator result is not an object`),n.delegate=null,h)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function ee(e){var t=e.completion||{};t.type=`normal`,delete t.arg,e.completion=t}function te(e){this.tryEntries=[{tryLoc:`root`}],e.forEach(E,this),this.reset(!0)}function ne(e){if(e){var n=e[a];if(n)return n.call(e);if(typeof e.next==`function`)return e;if(!isNaN(e.length)){var i=-1,o=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}return{next:D}}function D(){return{value:t,done:!0}}return _.prototype=v,c(S,`constructor`,v),c(v,`constructor`,_),_.displayName=c(v,s,`GeneratorFunction`),e.isGeneratorFunction=function(e){var t=typeof e==`function`&&e.constructor;return!!t&&(t===_||(t.displayName||t.name)===`GeneratorFunction`)},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,s,`GeneratorFunction`)),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},C(w.prototype),c(w.prototype,o,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,i,a){a===void 0&&(a=Promise);var o=new w(l(t,n,r,i),a);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},C(S),c(S,s,`Generator`),c(S,a,(function(){return this})),c(S,`toString`,(function(){return`[object Generator]`})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=ne,te.prototype={constructor:te,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method=`next`,this.arg=t,this.tryEntries.forEach(ee),!e)for(var n in this)n.charAt(0)===`t`&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(e.type===`throw`)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type=`throw`,s.arg=e,n.next=r,i&&(n.method=`next`,n.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if(o.tryLoc===`root`)return i(`end`);if(o.tryLoc<=this.prev){var c=r.call(o,`catchLoc`),l=r.call(o,`finallyLoc`);if(c&&l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!l)throw Error(`try statement without catch or finally`);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,`finallyLoc`)&&this.prev<i.finallyLoc){var a=i;break}}a&&(e===`break`||e===`continue`)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method=`next`,this.next=a.finallyLoc,h):this.complete(o)},complete:function(e,t){if(e.type===`throw`)throw e.arg;return e.type===`break`||e.type===`continue`?this.next=e.arg:e.type===`return`?(this.rval=this.arg=e.arg,this.method=`return`,this.next=`end`):e.type===`normal`&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),ee(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if(r.type===`throw`){var i=r.arg;ee(n)}return i}}throw Error(`illegal catch attempt`)},delegateYield:function(e,n,r){return this.delegate={iterator:ne(e),resultName:n,nextLoc:r},this.method===`next`&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis==`object`?globalThis.regeneratorRuntime=t:Function(`r`,`regeneratorRuntime = r`)(t)}}},_={};function v(e){var t=_[e];if(t!==void 0)return t.exports;var n=_[e]={exports:{}};return g[e](n,n.exports,v),n.exports}v.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return v.d(t,{a:t}),t},v.d=(e,t)=>{for(var n in t)v.o(t,n)&&!v.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},v.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var y={};function b(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function x(e,t){if(e){if(typeof e==`string`)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function S(e){return function(e){if(Array.isArray(e))return b(e)}(e)||function(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}(e)||x(e)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}v.d(y,{A:()=>me});var w=(te={Fragment:()=>t.Fragment,computed:()=>t.computed,createTextVNode:()=>t.createTextVNode,createVNode:()=>t.createVNode,defineComponent:()=>t.defineComponent,nextTick:()=>t.nextTick,reactive:()=>t.reactive,ref:()=>t.ref,watch:()=>t.watch,watchEffect:()=>t.watchEffect},ne={},v.d(ne,te),ne),T=(0,w.defineComponent)({props:{data:{required:!0,type:String},onClick:Function},render:function(){var e=this.data,t=this.onClick;return(0,w.createVNode)(`span`,{class:`vjs-tree-brackets`,onClick:t},[e])}}),E=(0,w.defineComponent)({emits:[`change`,`update:modelValue`],props:{checked:{type:Boolean,default:!1},isMultiple:Boolean,onChange:Function},setup:function(e,t){var n=t.emit;return{uiType:(0,w.computed)((function(){return e.isMultiple?`checkbox`:`radio`})),model:(0,w.computed)({get:function(){return e.checked},set:function(e){return n(`update:modelValue`,e)}})}},render:function(){var e=this.uiType,t=this.model,n=this.$emit;return(0,w.createVNode)(`label`,{class:[`vjs-check-controller`,t?`is-checked`:``],onClick:function(e){return e.stopPropagation()}},[(0,w.createVNode)(`span`,{class:`vjs-check-controller-inner is-${e}`},null),(0,w.createVNode)(`input`,{checked:t,class:`vjs-check-controller-original is-${e}`,type:e,onChange:function(){return n(`change`,t)}},null)])}}),ee=(0,w.defineComponent)({props:{nodeType:{required:!0,type:String},onClick:Function},render:function(){var e=this.nodeType,t=this.onClick,n=e===`objectStart`||e===`arrayStart`;return n||e===`objectCollapsed`||e===`arrayCollapsed`?(0,w.createVNode)(`span`,{class:`vjs-carets vjs-carets-${n?`open`:`close`}`,onClick:t},[(0,w.createVNode)(`svg`,{viewBox:`0 0 1024 1024`,focusable:`false`,"data-icon":`caret-down`,width:`1em`,height:`1em`,fill:`currentColor`,"aria-hidden":`true`},[(0,w.createVNode)(`path`,{d:`M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z`},null)])]):null}}),te,ne;function D(e){return D=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},D(e)}function re(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function ie(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`root`,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=(arguments.length>3?arguments[3]:void 0)||{},i=r.key,a=r.index,o=r.type,s=o===void 0?`content`:o,c=r.showComma,l=c!==void 0&&c,u=r.length,d=u===void 0?1:u,f=re(e);if(f===`array`){var p=O(e.map((function(e,r,i){return ie(e,`${t}[${r}]`,n+1,{index:r,showComma:r!==i.length-1,length:d,type:s})})));return[ie(`[`,t,n,{showComma:!1,key:i,length:e.length,type:`arrayStart`})[0]].concat(p,ie(`]`,t,n,{showComma:l,length:e.length,type:`arrayEnd`})[0])}if(f===`object`){var m=Object.keys(e),h=O(m.map((function(r,i,a){return ie(e[r],/^[a-zA-Z_]\w*$/.test(r)?`${t}.${r}`:`${t}["${r}"]`,n+1,{key:r,showComma:i!==a.length-1,length:d,type:s})})));return[ie(`{`,t,n,{showComma:!1,key:i,index:a,length:m.length,type:`objectStart`})[0]].concat(h,ie(`}`,t,n,{showComma:l,length:m.length,type:`objectEnd`})[0])}return[{content:e,level:n,key:i,index:a,path:t,showComma:l,length:d,type:s}]}function O(e){if(typeof Array.prototype.flat==`function`)return e.flat();for(var t=S(e),n=[];t.length;){var r=t.shift();Array.isArray(r)?t.unshift.apply(t,S(r)):n.push(r)}return n}function ae(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new WeakMap;if(e==null)return e;if(e instanceof Date)return new Date(e);if(e instanceof RegExp)return new RegExp(e);if(D(e)!==`object`)return e;if(t.get(e))return t.get(e);if(Array.isArray(e)){var n=e.map((function(e){return ae(e,t)}));return t.set(e,n),n}var r={};for(var i in e)r[i]=ae(e[i],t);return t.set(e,r),r}function oe(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,i)}var k=v(207),se=v.n(k);function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function le(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?ce(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ue={data:{type:[String,Number,Boolean,Array,Object],default:null},rootPath:{type:String,default:`root`},indent:{type:Number,default:2},showLength:{type:Boolean,default:!1},showDoubleQuotes:{type:Boolean,default:!0},renderNodeKey:Function,renderNodeValue:Function,renderNodeActions:{type:[Boolean,Function],default:void 0},selectableType:String,showSelectController:{type:Boolean,default:!1},showLine:{type:Boolean,default:!0},showLineNumber:{type:Boolean,default:!1},selectOnClickNode:{type:Boolean,default:!0},nodeSelectable:{type:Function,default:function(){return!0}},highlightSelectedNode:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!1},theme:{type:String,default:`light`},showKeyValueSpace:{type:Boolean,default:!0},editable:{type:Boolean,default:!1},editableTrigger:{type:String,default:`click`},onNodeClick:{type:Function},onNodeMouseover:{type:Function},onBracketsClick:{type:Function},onIconClick:{type:Function},onValueChange:{type:Function}},de=(0,w.defineComponent)({name:`TreeNode`,props:le(le({},ue),{},{node:{type:Object,required:!0},collapsed:Boolean,checked:Boolean,style:Object,onSelectedChange:{type:Function}}),emits:[`nodeClick`,`nodeMouseover`,`bracketsClick`,`iconClick`,`selectedChange`,`valueChange`],setup:function(e,t){var n=t.emit,r=(0,w.computed)((function(){return re(e.node.content)})),i=(0,w.computed)((function(){return`vjs-value vjs-value-${r.value}`})),a=(0,w.computed)((function(){return e.showDoubleQuotes?`"${e.node.key}"`:e.node.key})),o=(0,w.computed)((function(){return e.selectableType===`multiple`})),s=(0,w.computed)((function(){return e.selectableType===`single`})),c=(0,w.computed)((function(){return e.nodeSelectable(e.node)&&(o.value||s.value)})),l=(0,w.reactive)({editing:!1}),u=function(t){var r,i;n(`valueChange`,(i=(r=t.target)==null?void 0:r.value)===`null`?null:i===`undefined`?void 0:i===`true`||i!==`false`&&(i[0]+i[i.length-1]===`""`||i[0]+i[i.length-1]===`''`?i.slice(1,-1):typeof Number(i)==`number`&&!isNaN(Number(i))||i===`NaN`?Number(i):i),e.node.path)},d=(0,w.computed)((function(){var t,n=(t=e.node)==null?void 0:t.content;return n===null?n=`null`:n===void 0&&(n=`undefined`),r.value===`string`?`"${n}"`:n+``})),f=function(){var t=e.renderNodeValue;return t?t({node:e.node,defaultValue:d.value}):d.value},p=function(){n(`bracketsClick`,!e.collapsed,e.node)},m=function(){n(`iconClick`,!e.collapsed,e.node)},h=function(){n(`selectedChange`,e.node)},g=function(){n(`nodeClick`,e.node),c.value&&e.selectOnClickNode&&n(`selectedChange`,e.node)},_=function(){n(`nodeMouseover`,e.node)},v=function(t){if(e.editable&&!l.editing){l.editing=!0;var n=function e(n){var r;n.target!==t.target&&((r=n.target)==null?void 0:r.parentElement)!==t.target&&(l.editing=!1,document.removeEventListener(`click`,e))};document.removeEventListener(`click`,n),document.addEventListener(`click`,n)}},y=function(){var e=(0,w.ref)(!1);return{copy:function(){var t,n=(t=se().mark((function t(n){return se().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,navigator.clipboard.writeText(n);case 3:e.value=!0,setTimeout((function(){e.value=!1}),300),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.error(`[vue-json-pretty] Copy failed: `,t.t0);case 10:case`end`:return t.stop()}}),t,null,[[0,7]])})),function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function o(e){oe(a,r,i,o,s,`next`,e)}function s(e){oe(a,r,i,o,s,`throw`,e)}o(void 0)}))});return function(e){return n.apply(this,arguments)}}()}}().copy,b=function(){var t=e.node,n=t.key,r=t.path,i=e.rootPath,a=Function(`data`,`return data${r.slice(i.length)}`)(e.data);y(JSON.stringify(n?C({},n,a):a,null,2))},x=function(){var t=e.renderNodeActions;if(!t)return null;var n={copy:b};return typeof t==`function`?t({node:e.node,defaultActions:n}):(0,w.createVNode)(`span`,{onClick:b,class:`vjs-tree-node-actions-item`},[(0,w.createTextVNode)(`copy`)])};return function(){var t,n=e.node;return(0,w.createVNode)(`div`,{class:{"vjs-tree-node":!0,"has-selector":e.showSelectController,"has-carets":e.showIcon,"is-highlight":e.highlightSelectedNode&&e.checked,dark:e.theme===`dark`},onClick:g,onMouseover:_,style:e.style},[e.showLineNumber&&(0,w.createVNode)(`span`,{class:`vjs-node-index`},[n.id+1]),e.showSelectController&&c.value&&n.type!==`objectEnd`&&n.type!==`arrayEnd`&&(0,w.createVNode)(E,{isMultiple:o.value,checked:e.checked,onChange:h},null),(0,w.createVNode)(`div`,{class:`vjs-indent`},[Array.from(Array(n.level)).map((function(t,n){return(0,w.createVNode)(`div`,{key:n,class:{"vjs-indent-unit":!0,"has-line":e.showLine}},[Array.from(Array(e.indent)).map((function(){return(0,w.createVNode)(w.Fragment,null,[(0,w.createTextVNode)(`\xA0`)])}))])})),e.showIcon&&(0,w.createVNode)(ee,{nodeType:n.type,onClick:m},null)]),n.key&&(0,w.createVNode)(`span`,{class:`vjs-key`},[(t=e.renderNodeKey,t?t({node:e.node,defaultKey:a.value||``}):a.value),(0,w.createVNode)(`span`,{class:`vjs-colon`},[`:${e.showKeyValueSpace?` `:``}`])]),(0,w.createVNode)(`span`,null,[n.type!==`content`&&n.content?(0,w.createVNode)(T,{data:n.content.toString(),onClick:p},null):(0,w.createVNode)(`span`,{class:i.value,onClick:!e.editable||e.editableTrigger&&e.editableTrigger!==`click`?void 0:v,onDblclick:e.editable&&e.editableTrigger===`dblclick`?v:void 0},[e.editable&&l.editing?(0,w.createVNode)(`input`,{value:d.value,onChange:u,style:{padding:`3px 8px`,border:`1px solid #eee`,boxShadow:`none`,boxSizing:`border-box`,borderRadius:5,fontFamily:`inherit`}},null):f()]),n.showComma&&(0,w.createVNode)(`span`,null,[`,`]),e.showLength&&e.collapsed&&(0,w.createVNode)(`span`,{class:`vjs-comment`},[(0,w.createTextVNode)(` // `),n.length,(0,w.createTextVNode)(` items `)])]),e.renderNodeActions&&(0,w.createVNode)(`span`,{class:`vjs-tree-node-actions`},[x()])])}}});function fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?fe(Object(n),!0).forEach((function(t){C(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var me=(0,w.defineComponent)({name:`Tree`,props:pe(pe({},ue),{},{collapsedNodeLength:{type:Number,default:1/0},deep:{type:Number,default:1/0},pathCollapsible:{type:Function,default:function(){return!1}},virtual:{type:Boolean,default:!1},height:{type:Number,default:400},itemHeight:{type:Number,default:20},dynamicHeight:{type:Boolean,default:!0},selectedValue:{type:[String,Array],default:function(){return``}},collapsedOnClickBrackets:{type:Boolean,default:!0},style:Object,onSelectedChange:{type:Function},theme:{type:String,default:`light`}}),slots:[`renderNodeKey`,`renderNodeValue`,`renderNodeActions`],emits:[`nodeClick`,`nodeMouseover`,`bracketsClick`,`iconClick`,`selectedChange`,`update:selectedValue`,`update:data`],setup:function(e,t){var n=t.emit,r=t.slots,i=(0,w.ref)(),a=(0,w.computed)((function(){return ie(e.data,e.rootPath)})),o=function(t,n){return a.value.reduce((function(r,i){var a,o=i.level>=t||i.length>=n,s=(a=e.pathCollapsible)==null?void 0:a.call(e,i);return i.type!==`objectStart`&&i.type!==`arrayStart`||!o&&!s?r:pe(pe({},r),{},C({},i.path,1))}),{})},s=(0,w.reactive)({translateY:0,visibleData:null,hiddenPaths:o(e.deep,e.collapsedNodeLength),startIndex:0,endIndex:0}),c=[],l=[],u=0,d={},f=function(t){c=Array(t).fill(0).map((function(){return e.itemHeight||20})),(l=Array(t+1))[0]=0;for(var n=0;n<t;n++)l[n+1]=l[n]+c[n];u=l[t]||0},p=function(e){var t=c.length;e<0&&(e=0),e>t&&(e=t);for(var n=e;n<t;n++)l[n+1]=l[n]+c[n];u=l[t]||0},m=function(e,t){for(var n=0,r=e.length-1;n<r;){var i=n+r>>>1;e[i]<t?n=i+1:r=i}return n},h=(0,w.computed)((function(){for(var e=null,t=[],n=a.value.length,r=0;r<n;r++){var i=pe(pe({},a.value[r]),{},{id:r}),o=s.hiddenPaths[i.path];if(e&&e.path===i.path){var c=e.type===`objectStart`,l=pe(pe(pe({},i),e),{},{showComma:i.showComma,content:c?`{...}`:`[...]`,type:c?`objectCollapsed`:`arrayCollapsed`});e=null,t.push(l)}else{if(o&&!e){e=i;continue}if(e)continue;t.push(i)}}return t})),g=(0,w.computed)((function(){var t=e.selectedValue;return t&&e.selectableType===`multiple`&&Array.isArray(t)?t:[t]})),_=(0,w.computed)((function(){return!e.selectableType||e.selectOnClickNode||e.showSelectController?``:`When selectableType is not null, selectOnClickNode and showSelectController cannot be false at the same time, because this will cause the selection to fail.`})),v=(0,w.computed)((function(){return e.dynamicHeight?u||0:h.value.length*e.itemHeight})),y=function t(){var n=h.value;if(n){if(e.virtual){var r,a=((r=i.value)==null?void 0:r.scrollTop)||0;if(e.dynamicHeight){c.length!==n.length&&f(n.length);var o=function(e){var t=m(l,e+1e-4);return Math.max(0,Math.min(t-1,c.length-1))}(a),u=function(e,t){var n=m(l,e+t);return Math.max(0,Math.min(n+1,c.length))}(a,e.height),g=Math.max(0,o-5),_=Math.min(n.length,u+5);s.startIndex=g,s.endIndex=_,s.translateY=l[g]||0,s.visibleData=n.slice(g,_),(0,w.nextTick)().then((function(){for(var e=!1,n=s.startIndex;n<s.endIndex;n++){var r=d[n];if(r){var i=r.offsetHeight;i&&c[n]!==i&&(c[n]=i,l[n+1]=l[n]+c[n],p(n+1),e=!0)}}e&&t()}))}else{var v=e.height/e.itemHeight,y=Math.floor(a/e.itemHeight),b=y<0?0:y+v>n.length?n.length-v:y;b<0&&(b=0);var x=b+v;s.translateY=b*e.itemHeight,s.startIndex=b,s.endIndex=x,s.visibleData=n.slice(b,x)}}else s.translateY=0,s.startIndex=0,s.endIndex=n.length,s.visibleData=n}},b=null,T=function(){b&&cancelAnimationFrame(b),b=requestAnimationFrame((function(){y()}))},E=function(t){var r,i,a=t.path,o=e.selectableType;if(o===`multiple`){var s=g.value.findIndex((function(e){return e===a})),c=S(g.value);s===-1?c.push(a):c.splice(s,1),n(`update:selectedValue`,c),n(`selectedChange`,c,S(g.value))}else if(o===`single`&&g.value[0]!==a){var l=(r=g.value,i=1,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(e){s=!0,i=e}finally{try{o||n.return==null||n.return()}finally{if(s)throw i}}return a}}(r,i)||x(r,i)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
3
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0],u=a;n(`update:selectedValue`,u),n(`selectedChange`,u,l)}},ee=function(e){n(`nodeClick`,e)},te=function(e){n(`nodeMouseover`,e)},ne=function(e,t){if(e)s.hiddenPaths=pe(pe({},s.hiddenPaths),{},C({},t,1));else{var n=pe({},s.hiddenPaths);delete n[t],s.hiddenPaths=n}},D=function(t,r){e.collapsedOnClickBrackets&&ne(t,r.path),n(`bracketsClick`,t,r)},re=function(e,t){ne(e,t.path),n(`iconClick`,e,t)},O=function(t,r){var i=ae(e.data),a=e.rootPath;Function(`data`,`val`,`data${r.slice(a.length)}=val`)(i,t),n(`update:data`,i)};return(0,w.watchEffect)((function(){_.value&&function(e){throw Error(`[VueJSONPretty] ${e}`)}(_.value)})),(0,w.watchEffect)((function(){h.value&&(e.virtual&&e.dynamicHeight&&c.length!==h.value.length&&f(h.value.length),y())})),(0,w.watch)((function(){return[e.dynamicHeight,e.itemHeight,a.value.length]}),(function(){e.virtual&&e.dynamicHeight&&(f(h.value.length),(0,w.nextTick)(y))})),(0,w.watch)((function(){return e.deep}),(function(t){t&&(s.hiddenPaths=o(t,e.collapsedNodeLength))})),(0,w.watch)((function(){return e.collapsedNodeLength}),(function(t){t&&(s.hiddenPaths=o(e.deep,t))})),function(){var t,n,o,c,l,u=(t=e.renderNodeKey)==null?r.renderNodeKey:t,f=(n=e.renderNodeValue)==null?r.renderNodeValue:n,p=(o=(c=e.renderNodeActions)==null?r.renderNodeActions:c)!=null&&o,m=(l=s.visibleData)==null?void 0:l.map((function(t,n){var r=s.startIndex+n;return(0,w.createVNode)(`div`,{key:t.id,ref:function(e){return function(e,t){t?d[e]=t:delete d[e]}(r,e||null)}},[(0,w.createVNode)(de,{data:e.data,rootPath:e.rootPath,indent:e.indent,node:t,collapsed:!!s.hiddenPaths[t.path],theme:e.theme,showDoubleQuotes:e.showDoubleQuotes,showLength:e.showLength,checked:g.value.includes(t.path),selectableType:e.selectableType,showLine:e.showLine,showLineNumber:e.showLineNumber,showSelectController:e.showSelectController,selectOnClickNode:e.selectOnClickNode,nodeSelectable:e.nodeSelectable,highlightSelectedNode:e.highlightSelectedNode,editable:e.editable,editableTrigger:e.editableTrigger,showIcon:e.showIcon,showKeyValueSpace:e.showKeyValueSpace,renderNodeKey:u,renderNodeValue:f,renderNodeActions:p,onNodeClick:ee,onNodeMouseover:te,onBracketsClick:D,onIconClick:re,onSelectedChange:E,onValueChange:O,class:e.dynamicHeight?`dynamic-height`:void 0,style:e.dynamicHeight?{}:e.itemHeight&&e.itemHeight!==20?{lineHeight:`${e.itemHeight}px`}:{}},null)])}));return(0,w.createVNode)(`div`,{ref:i,class:{"vjs-tree":!0,"is-virtual":e.virtual,dark:e.theme===`dark`},onScroll:e.virtual?T:void 0,style:e.showLineNumber?pe({paddingLeft:`${12*Number(a.value.length.toString().length)}px`},e.style):e.style},[e.virtual?(0,w.createVNode)(`div`,{class:`vjs-tree-list`,style:{height:`${e.height}px`}},[(0,w.createVNode)(`div`,{class:`vjs-tree-list-holder`,style:{height:`${v.value}px`}},[(0,w.createVNode)(`div`,{class:`vjs-tree-list-holder-inner`,style:{transform:`translateY(${s.translateY}px)`}},[m])])]):m])}}}),he=y.A,ge={__name:`OAVueJsonPretty`,props:{code:{type:[String,Object,Array,Number,Boolean],required:!0},deep:{type:Number}},setup(n){let r=n,i=e.b(),a=i.isDark,o=(0,t.computed)(()=>typeof r.code==`string`?h(r.code):r.code),s=(0,t.computed)(()=>{var e,t;return(e=(t=r.deep)==null?i.getJsonViewerDeep():t)==null?3:e}),c=(0,t.computed)(()=>a.value?`dark`:`light`);return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(he),{data:o.value,theme:c.value,deep:s.value,"show-icon":``,class:`p-2`},null,8,[`data`,`theme`,`deep`]))}},A={class:`text-sm text-muted-foreground text-center`},_e={__name:`OAFooter`,setup(e){let{t:n}=l();return(e,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`span`,A,[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(n)(`Powered by`))+` `,1),r[0]||(r[0]=(0,t.createElementVNode)(`a`,{href:`https://github.com/enzonotario/vitepress-openapi`,target:`_blank`,rel:`noopener noreferrer`},` VitePress OpenAPI `,-1))]))}};function j(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=j(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function ve(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=j(e))&&(r&&(r+=` `),r+=t);return r}var ye=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,be=ve,M=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return be(e,n==null?void 0:n.class,n==null?void 0:n.className);let{variants:i,defaultVariants:a}=t,o=Object.keys(i).map(e=>{let t=n==null?void 0:n[e],r=a==null?void 0:a[e];if(t===null)return null;let o=ye(t)||ye(r);return i[e][o]}),s=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return be(e,o,t==null||(r=t.compoundVariants)==null?void 0:r.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...a,...s}[t]):{...a,...s}[t]===n})?[...e,n,r]:e},[]),n==null?void 0:n.class,n==null?void 0:n.className)},N=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},xe=(e,t)=>({classGroupId:e,validator:t}),Se=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Ce=`-`,we=[],Te=`arbitrary..`,Ee=e=>{let t=ke(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return Oe(e);let n=e.split(Ce);return De(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?N(i,t):t:i||we}return n[e]||we}}},De=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=De(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(Ce):e.slice(t).join(Ce),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},Oe=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?Te+r:void 0})(),ke=e=>{let{theme:t,classGroups:n}=e;return Ae(n,t)},Ae=(e,t)=>{let n=Se();for(let r in e){let i=e[r];je(i,n,r,t)}return n},je=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Me(i,t,n,r)}},Me=(e,t,n,r)=>{if(typeof e==`string`){Ne(e,t,n);return}if(typeof e==`function`){Pe(e,t,n,r);return}Fe(e,t,n,r)},Ne=(e,t,n)=>{let r=e===``?t:Ie(t,e);r.classGroupId=n},Pe=(e,t,n,r)=>{if(Le(e)){je(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(xe(n,e))},Fe=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];je(o,Ie(t,a),n,r)}},Ie=(e,t)=>{let n=e,r=t.split(Ce),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=Se(),n.nextPart.set(t,i)),n=i}return n},Le=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,P=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},Re=`!`,ze=`:`,Be=[],Ve=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),He=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===ze){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(Re)?(c=s.slice(0,-1),l=!0):s.startsWith(Re)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return Ve(t,l,c,u)};if(t){let e=t+ze,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Ve(Be,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},Ue=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},We=e=>({cache:P(e.cacheSize),parseClassName:He(e),sortModifiers:Ue(e),postfixLookupClassGroupIds:Ge(e),...Ee(e)}),Ge=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},Ke=/\s+/,qe=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(Ke),l=``;for(let e=c.length-1;e>=0;--e){let t=c[e],{isExternal:u,modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(u){l=t+(l.length>0?` `+l:l);continue}let h=!!m,g;if(h){g=r(p.substring(0,m));let e=g&&o[g]?r(p):void 0;e&&e!==g&&(g=e,h=!1)}else g=r(p);if(!g){if(!h){l=t+(l.length>0?` `+l:l);continue}if(g=r(p),!g){l=t+(l.length>0?` `+l:l);continue}h=!1}let _=d.length===0?``:d.length===1?d[0]:a(d).join(`:`),v=f?_+Re:_,y=v+g;if(s.indexOf(y)>-1)continue;s.push(y);let b=i(g,h);for(let e=0;e<b.length;++e){let t=b[e];s.push(v+t)}l=t+(l.length>0?` `+l:l)}return l},Je=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=Ye(n))&&(i&&(i+=` `),i+=r);return i},Ye=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=Ye(e[r]))&&(n&&(n+=` `),n+=t);return n},Xe=(e,...t)=>{let n,r,i,a,o=o=>(n=We(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=qe(e,n);return i(e,a),a};return a=o,(...e)=>a(Je(...e))},Ze=[],Qe=e=>{let t=t=>t[e]||Ze;return t.isThemeGetter=!0,t},$e=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,et=/^\((?:(\w[\w-]*):)?(.+)\)$/i,tt=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,nt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,rt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,it=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,at=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ot=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,st=e=>tt.test(e),ct=e=>!!e&&!Number.isNaN(Number(e)),lt=e=>!!e&&Number.isInteger(Number(e)),ut=e=>e.endsWith(`%`)&&ct(e.slice(0,-1)),dt=e=>nt.test(e),ft=()=>!0,pt=e=>rt.test(e)&&!it.test(e),mt=()=>!1,ht=e=>at.test(e),gt=e=>ot.test(e),_t=e=>!bt(e)&&!Ot(e),vt=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),yt=e=>It(e,Bt,mt),bt=e=>$e.test(e),xt=e=>It(e,Vt,pt),St=e=>It(e,Ht,ct),Ct=e=>It(e,Wt,ft),wt=e=>It(e,Ut,mt),Tt=e=>It(e,Rt,mt),Et=e=>It(e,zt,gt),Dt=e=>It(e,Gt,ht),Ot=e=>et.test(e),kt=e=>Lt(e,Vt),At=e=>Lt(e,Ut),jt=e=>Lt(e,Rt),Mt=e=>Lt(e,Bt),Nt=e=>Lt(e,zt),Pt=e=>Lt(e,Gt,!0),Ft=e=>Lt(e,Wt,!0),It=(e,t,n)=>{let r=$e.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Lt=(e,t,n=!1)=>{let r=et.exec(e);return r?r[1]?t(r[1]):n:!1},Rt=e=>e===`position`||e===`percentage`,zt=e=>e===`image`||e===`url`,Bt=e=>e===`length`||e===`size`||e===`bg-size`,Vt=e=>e===`length`,Ht=e=>e===`number`,Ut=e=>e===`family-name`,Wt=e=>e===`number`||e===`weight`,Gt=e=>e===`shadow`,Kt=Xe(()=>{let e=Qe(`color`),t=Qe(`font`),n=Qe(`text`),r=Qe(`font-weight`),i=Qe(`tracking`),a=Qe(`leading`),o=Qe(`breakpoint`),s=Qe(`container`),c=Qe(`spacing`),l=Qe(`radius`),u=Qe(`shadow`),d=Qe(`inset-shadow`),f=Qe(`text-shadow`),p=Qe(`drop-shadow`),m=Qe(`blur`),h=Qe(`perspective`),g=Qe(`aspect`),_=Qe(`ease`),v=Qe(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),Ot,bt],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[Ot,bt,c],T=()=>[st,`full`,`auto`,...w()],E=()=>[lt,`none`,`subgrid`,Ot,bt],ee=()=>[`auto`,{span:[`full`,lt,Ot,bt]},lt,Ot,bt],te=()=>[lt,`auto`,Ot,bt],ne=()=>[`auto`,`min`,`max`,`fr`,Ot,bt],D=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],re=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],ie=()=>[`auto`,...w()],O=()=>[st,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ae=()=>[st,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],oe=()=>[st,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],k=()=>[e,Ot,bt],se=()=>[...b(),jt,Tt,{position:[Ot,bt]}],ce=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],le=()=>[`auto`,`cover`,`contain`,Mt,yt,{size:[Ot,bt]}],ue=()=>[ut,kt,xt],de=()=>[``,`none`,`full`,l,Ot,bt],fe=()=>[``,ct,kt,xt],pe=()=>[`solid`,`dashed`,`dotted`,`double`],me=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],he=()=>[ct,ut,jt,Tt],ge=()=>[``,`none`,m,Ot,bt],A=()=>[`none`,ct,Ot,bt],_e=()=>[`none`,ct,Ot,bt],j=()=>[ct,Ot,bt],ve=()=>[st,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[dt],breakpoint:[dt],color:[ft],container:[dt],"drop-shadow":[dt],ease:[`in`,`out`,`in-out`],font:[_t],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[dt],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[dt],shadow:[dt],spacing:[`px`,ct],text:[dt],"text-shadow":[dt],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,st,bt,Ot,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,Ot,bt]}],"container-named":[vt],columns:[{columns:[ct,bt,Ot,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[lt,`auto`,Ot,bt]}],basis:[{basis:[st,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[ct,st,`auto`,`initial`,`none`,bt]}],grow:[{grow:[``,ct,Ot,bt]}],shrink:[{shrink:[``,ct,Ot,bt]}],order:[{order:[lt,`first`,`last`,`none`,Ot,bt]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:ee()}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:ee()}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":ne()}],"auto-rows":[{"auto-rows":ne()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...D(),`normal`]}],"justify-items":[{"justify-items":[...re(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...re()]}],"align-content":[{content:[`normal`,...D()]}],"align-items":[{items:[...re(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...re(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":D()}],"place-items":[{"place-items":[...re(),`baseline`]}],"place-self":[{"place-self":[`auto`,...re()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:ie()}],mx:[{mx:ie()}],my:[{my:ie()}],ms:[{ms:ie()}],me:[{me:ie()}],mbs:[{mbs:ie()}],mbe:[{mbe:ie()}],mt:[{mt:ie()}],mr:[{mr:ie()}],mb:[{mb:ie()}],ml:[{ml:ie()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:O()}],"inline-size":[{inline:[`auto`,...ae()]}],"min-inline-size":[{"min-inline":[`auto`,...ae()]}],"max-inline-size":[{"max-inline":[`none`,...ae()]}],"block-size":[{block:[`auto`,...oe()]}],"min-block-size":[{"min-block":[`auto`,...oe()]}],"max-block-size":[{"max-block":[`none`,...oe()]}],w:[{w:[s,`screen`,...O()]}],"min-w":[{"min-w":[s,`screen`,`none`,...O()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...O()]}],h:[{h:[`screen`,`lh`,...O()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...O()]}],"max-h":[{"max-h":[`screen`,`lh`,...O()]}],"font-size":[{text:[`base`,n,kt,xt]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Ft,Ct]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,ut,bt]}],"font-family":[{font:[At,wt,t]}],"font-features":[{"font-features":[bt]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,Ot,bt]}],"line-clamp":[{"line-clamp":[ct,`none`,Ot,St]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,Ot,bt]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,Ot,bt]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:k()}],"text-color":[{text:k()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...pe(),`wavy`]}],"text-decoration-thickness":[{decoration:[ct,`from-font`,`auto`,Ot,xt]}],"text-decoration-color":[{decoration:k()}],"underline-offset":[{"underline-offset":[ct,`auto`,Ot,bt]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[lt,Ot,bt]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,Ot,bt]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,Ot,bt]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:se()}],"bg-repeat":[{bg:ce()}],"bg-size":[{bg:le()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},lt,Ot,bt],radial:[``,Ot,bt],conic:[lt,Ot,bt]},Nt,Et]}],"bg-color":[{bg:k()}],"gradient-from-pos":[{from:ue()}],"gradient-via-pos":[{via:ue()}],"gradient-to-pos":[{to:ue()}],"gradient-from":[{from:k()}],"gradient-via":[{via:k()}],"gradient-to":[{to:k()}],rounded:[{rounded:de()}],"rounded-s":[{"rounded-s":de()}],"rounded-e":[{"rounded-e":de()}],"rounded-t":[{"rounded-t":de()}],"rounded-r":[{"rounded-r":de()}],"rounded-b":[{"rounded-b":de()}],"rounded-l":[{"rounded-l":de()}],"rounded-ss":[{"rounded-ss":de()}],"rounded-se":[{"rounded-se":de()}],"rounded-ee":[{"rounded-ee":de()}],"rounded-es":[{"rounded-es":de()}],"rounded-tl":[{"rounded-tl":de()}],"rounded-tr":[{"rounded-tr":de()}],"rounded-br":[{"rounded-br":de()}],"rounded-bl":[{"rounded-bl":de()}],"border-w":[{border:fe()}],"border-w-x":[{"border-x":fe()}],"border-w-y":[{"border-y":fe()}],"border-w-s":[{"border-s":fe()}],"border-w-e":[{"border-e":fe()}],"border-w-bs":[{"border-bs":fe()}],"border-w-be":[{"border-be":fe()}],"border-w-t":[{"border-t":fe()}],"border-w-r":[{"border-r":fe()}],"border-w-b":[{"border-b":fe()}],"border-w-l":[{"border-l":fe()}],"divide-x":[{"divide-x":fe()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":fe()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...pe(),`hidden`,`none`]}],"divide-style":[{divide:[...pe(),`hidden`,`none`]}],"border-color":[{border:k()}],"border-color-x":[{"border-x":k()}],"border-color-y":[{"border-y":k()}],"border-color-s":[{"border-s":k()}],"border-color-e":[{"border-e":k()}],"border-color-bs":[{"border-bs":k()}],"border-color-be":[{"border-be":k()}],"border-color-t":[{"border-t":k()}],"border-color-r":[{"border-r":k()}],"border-color-b":[{"border-b":k()}],"border-color-l":[{"border-l":k()}],"divide-color":[{divide:k()}],"outline-style":[{outline:[...pe(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[ct,Ot,bt]}],"outline-w":[{outline:[``,ct,kt,xt]}],"outline-color":[{outline:k()}],shadow:[{shadow:[``,`none`,u,Pt,Dt]}],"shadow-color":[{shadow:k()}],"inset-shadow":[{"inset-shadow":[`none`,d,Pt,Dt]}],"inset-shadow-color":[{"inset-shadow":k()}],"ring-w":[{ring:fe()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:k()}],"ring-offset-w":[{"ring-offset":[ct,xt]}],"ring-offset-color":[{"ring-offset":k()}],"inset-ring-w":[{"inset-ring":fe()}],"inset-ring-color":[{"inset-ring":k()}],"text-shadow":[{"text-shadow":[`none`,f,Pt,Dt]}],"text-shadow-color":[{"text-shadow":k()}],opacity:[{opacity:[ct,Ot,bt]}],"mix-blend":[{"mix-blend":[...me(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":me()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[ct]}],"mask-image-linear-from-pos":[{"mask-linear-from":he()}],"mask-image-linear-to-pos":[{"mask-linear-to":he()}],"mask-image-linear-from-color":[{"mask-linear-from":k()}],"mask-image-linear-to-color":[{"mask-linear-to":k()}],"mask-image-t-from-pos":[{"mask-t-from":he()}],"mask-image-t-to-pos":[{"mask-t-to":he()}],"mask-image-t-from-color":[{"mask-t-from":k()}],"mask-image-t-to-color":[{"mask-t-to":k()}],"mask-image-r-from-pos":[{"mask-r-from":he()}],"mask-image-r-to-pos":[{"mask-r-to":he()}],"mask-image-r-from-color":[{"mask-r-from":k()}],"mask-image-r-to-color":[{"mask-r-to":k()}],"mask-image-b-from-pos":[{"mask-b-from":he()}],"mask-image-b-to-pos":[{"mask-b-to":he()}],"mask-image-b-from-color":[{"mask-b-from":k()}],"mask-image-b-to-color":[{"mask-b-to":k()}],"mask-image-l-from-pos":[{"mask-l-from":he()}],"mask-image-l-to-pos":[{"mask-l-to":he()}],"mask-image-l-from-color":[{"mask-l-from":k()}],"mask-image-l-to-color":[{"mask-l-to":k()}],"mask-image-x-from-pos":[{"mask-x-from":he()}],"mask-image-x-to-pos":[{"mask-x-to":he()}],"mask-image-x-from-color":[{"mask-x-from":k()}],"mask-image-x-to-color":[{"mask-x-to":k()}],"mask-image-y-from-pos":[{"mask-y-from":he()}],"mask-image-y-to-pos":[{"mask-y-to":he()}],"mask-image-y-from-color":[{"mask-y-from":k()}],"mask-image-y-to-color":[{"mask-y-to":k()}],"mask-image-radial":[{"mask-radial":[Ot,bt]}],"mask-image-radial-from-pos":[{"mask-radial-from":he()}],"mask-image-radial-to-pos":[{"mask-radial-to":he()}],"mask-image-radial-from-color":[{"mask-radial-from":k()}],"mask-image-radial-to-color":[{"mask-radial-to":k()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[ct]}],"mask-image-conic-from-pos":[{"mask-conic-from":he()}],"mask-image-conic-to-pos":[{"mask-conic-to":he()}],"mask-image-conic-from-color":[{"mask-conic-from":k()}],"mask-image-conic-to-color":[{"mask-conic-to":k()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:se()}],"mask-repeat":[{mask:ce()}],"mask-size":[{mask:le()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,Ot,bt]}],filter:[{filter:[``,`none`,Ot,bt]}],blur:[{blur:ge()}],brightness:[{brightness:[ct,Ot,bt]}],contrast:[{contrast:[ct,Ot,bt]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Pt,Dt]}],"drop-shadow-color":[{"drop-shadow":k()}],grayscale:[{grayscale:[``,ct,Ot,bt]}],"hue-rotate":[{"hue-rotate":[ct,Ot,bt]}],invert:[{invert:[``,ct,Ot,bt]}],saturate:[{saturate:[ct,Ot,bt]}],sepia:[{sepia:[``,ct,Ot,bt]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,Ot,bt]}],"backdrop-blur":[{"backdrop-blur":ge()}],"backdrop-brightness":[{"backdrop-brightness":[ct,Ot,bt]}],"backdrop-contrast":[{"backdrop-contrast":[ct,Ot,bt]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,ct,Ot,bt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ct,Ot,bt]}],"backdrop-invert":[{"backdrop-invert":[``,ct,Ot,bt]}],"backdrop-opacity":[{"backdrop-opacity":[ct,Ot,bt]}],"backdrop-saturate":[{"backdrop-saturate":[ct,Ot,bt]}],"backdrop-sepia":[{"backdrop-sepia":[``,ct,Ot,bt]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,Ot,bt]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[ct,`initial`,Ot,bt]}],ease:[{ease:[`linear`,`initial`,_,Ot,bt]}],delay:[{delay:[ct,Ot,bt]}],animate:[{animate:[`none`,v,Ot,bt]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,Ot,bt]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:A()}],"rotate-x":[{"rotate-x":A()}],"rotate-y":[{"rotate-y":A()}],"rotate-z":[{"rotate-z":A()}],scale:[{scale:_e()}],"scale-x":[{"scale-x":_e()}],"scale-y":[{"scale-y":_e()}],"scale-z":[{"scale-z":_e()}],"scale-3d":[`scale-3d`],skew:[{skew:j()}],"skew-x":[{"skew-x":j()}],"skew-y":[{"skew-y":j()}],transform:[{transform:[Ot,bt,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:ve()}],"translate-x":[{"translate-x":ve()}],"translate-y":[{"translate-y":ve()}],"translate-z":[{"translate-z":ve()}],"translate-none":[`translate-none`],zoom:[{zoom:[lt,Ot,bt]}],accent:[{accent:k()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:k()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,Ot,bt]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":k()}],"scrollbar-track-color":[{"scrollbar-track":k()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,Ot,bt]}],fill:[{fill:[`none`,...k()]}],"stroke-w":[{stroke:[ct,kt,xt,St]}],stroke:[{stroke:[`none`,...k()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function qt(...e){return Kt(ve(e))}function Jt(){return typeof localStorage<`u`&&typeof localStorage.getItem==`function`}var Yt=/([{}])/g;function Xt({hash:e}){if(typeof window>`u`)return;let t=document.querySelector(e.replace(Yt,`\\$1`));t&&(t.scrollIntoView({behavior:`smooth`,block:`start`,inline:`nearest`}),window.location.hash=e)}var Zt=(0,n.defineComponent)({__name:`Badge`,props:{variant:{},size:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e;return(r,i)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{class:(0,n.normalizeClass)((0,n.unref)(qt)((0,n.unref)(Qt)({variant:e.variant,size:e.size}),t.class))},[(0,n.renderSlot)(r.$slots,`default`)],2))}}),Qt=M(`inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2`,{variants:{variant:{default:`border-transparent bg-primary text-primary-foreground hover:bg-primary/80`,secondary:`border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80`,destructive:`border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80`,outline:`text-foreground bg-muted`,plain:`border-transparent`},size:{default:``,xs:`rounded px-1`}},defaultVariants:{variant:`default`,size:`default`}}),$t={class:`flex flex-row gap-2`},en={__name:`OAHeaderBadges`,props:{operation:{type:Object,required:!0},deprecated:{type:Boolean,required:!1}},setup(n){let r=e.b(),{t:i}=l(),a=(0,t.computed)(()=>r.getOperationBadges().filter(e=>!(e===`deprecated`&&!n.deprecated)));return(e,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,$t,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(a.value,e=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Zt),{key:e,variant:`outline`},{default:(0,t.withCtx)(()=>[e===`deprecated`?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(i)(`Deprecated`)),1)],64)):e===`operationId`?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(i)(`operation.badgePrefix.operationId`))+(0,t.toDisplayString)(n.operation.operationId),1)],64)):(0,t.createCommentVNode)(``,!0)]),_:2},1024))),128))]))}};function tn(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}var nn=new Map([[`ß`,`ss`],[`ẞ`,`Ss`],[`ä`,`ae`],[`Ä`,`Ae`],[`ö`,`oe`],[`Ö`,`Oe`],[`ü`,`ue`],[`Ü`,`Ue`],[`À`,`A`],[`Á`,`A`],[`Â`,`A`],[`Ã`,`A`],[`Ä`,`Ae`],[`Å`,`A`],[`Æ`,`AE`],[`Ç`,`C`],[`È`,`E`],[`É`,`E`],[`Ê`,`E`],[`Ë`,`E`],[`Ə`,`A`],[`Ì`,`I`],[`Í`,`I`],[`Î`,`I`],[`Ï`,`I`],[`Ð`,`D`],[`Ñ`,`N`],[`Ò`,`O`],[`Ó`,`O`],[`Ô`,`O`],[`Õ`,`O`],[`Ö`,`Oe`],[`Ō`,`O`],[`Ő`,`O`],[`Ø`,`O`],[`Œ`,`OE`],[`Ù`,`U`],[`Ú`,`U`],[`Û`,`U`],[`Ü`,`Ue`],[`Ű`,`U`],[`Ý`,`Y`],[`Þ`,`TH`],[`ß`,`ss`],[`à`,`a`],[`á`,`a`],[`â`,`a`],[`ã`,`a`],[`ä`,`ae`],[`å`,`a`],[`æ`,`ae`],[`ç`,`c`],[`è`,`e`],[`é`,`e`],[`ê`,`e`],[`ë`,`e`],[`ə`,`a`],[`ì`,`i`],[`í`,`i`],[`î`,`i`],[`ï`,`i`],[`ð`,`d`],[`ñ`,`n`],[`ò`,`o`],[`ó`,`o`],[`ô`,`o`],[`õ`,`o`],[`ö`,`oe`],[`ō`,`o`],[`ő`,`o`],[`ø`,`o`],[`œ`,`oe`],[`ù`,`u`],[`ú`,`u`],[`û`,`u`],[`ü`,`ue`],[`ű`,`u`],[`ý`,`y`],[`þ`,`th`],[`ÿ`,`y`],[`à`,`a`],[`À`,`A`],[`á`,`a`],[`Á`,`A`],[`â`,`a`],[`Â`,`A`],[`ã`,`a`],[`Ã`,`A`],[`è`,`e`],[`È`,`E`],[`é`,`e`],[`É`,`E`],[`ê`,`e`],[`Ê`,`E`],[`ì`,`i`],[`Ì`,`I`],[`í`,`i`],[`Í`,`I`],[`ò`,`o`],[`Ò`,`O`],[`ó`,`o`],[`Ó`,`O`],[`ô`,`o`],[`Ô`,`O`],[`õ`,`o`],[`Õ`,`O`],[`ù`,`u`],[`Ù`,`U`],[`ú`,`u`],[`Ú`,`U`],[`ý`,`y`],[`Ý`,`Y`],[`ă`,`a`],[`Ă`,`A`],[`Đ`,`D`],[`đ`,`d`],[`ĩ`,`i`],[`Ĩ`,`I`],[`ũ`,`u`],[`Ũ`,`U`],[`ơ`,`o`],[`Ơ`,`O`],[`ư`,`u`],[`Ư`,`U`],[`ạ`,`a`],[`Ạ`,`A`],[`ả`,`a`],[`Ả`,`A`],[`ấ`,`a`],[`Ấ`,`A`],[`ầ`,`a`],[`Ầ`,`A`],[`ẩ`,`a`],[`Ẩ`,`A`],[`ẫ`,`a`],[`Ẫ`,`A`],[`ậ`,`a`],[`Ậ`,`A`],[`ắ`,`a`],[`Ắ`,`A`],[`ằ`,`a`],[`Ằ`,`A`],[`ẳ`,`a`],[`Ẳ`,`A`],[`ẵ`,`a`],[`Ẵ`,`A`],[`ặ`,`a`],[`Ặ`,`A`],[`ẹ`,`e`],[`Ẹ`,`E`],[`ẻ`,`e`],[`Ẻ`,`E`],[`ẽ`,`e`],[`Ẽ`,`E`],[`ế`,`e`],[`Ế`,`E`],[`ề`,`e`],[`Ề`,`E`],[`ể`,`e`],[`Ể`,`E`],[`ễ`,`e`],[`Ễ`,`E`],[`ệ`,`e`],[`Ệ`,`E`],[`ỉ`,`i`],[`Ỉ`,`I`],[`ị`,`i`],[`Ị`,`I`],[`ọ`,`o`],[`Ọ`,`O`],[`ỏ`,`o`],[`Ỏ`,`O`],[`ố`,`o`],[`Ố`,`O`],[`ồ`,`o`],[`Ồ`,`O`],[`ổ`,`o`],[`Ổ`,`O`],[`ỗ`,`o`],[`Ỗ`,`O`],[`ộ`,`o`],[`Ộ`,`O`],[`ớ`,`o`],[`Ớ`,`O`],[`ờ`,`o`],[`Ờ`,`O`],[`ở`,`o`],[`Ở`,`O`],[`ỡ`,`o`],[`Ỡ`,`O`],[`ợ`,`o`],[`Ợ`,`O`],[`ụ`,`u`],[`Ụ`,`U`],[`ủ`,`u`],[`Ủ`,`U`],[`ứ`,`u`],[`Ứ`,`U`],[`ừ`,`u`],[`Ừ`,`U`],[`ử`,`u`],[`Ử`,`U`],[`ữ`,`u`],[`Ữ`,`U`],[`ự`,`u`],[`Ự`,`U`],[`ỳ`,`y`],[`Ỳ`,`Y`],[`ỵ`,`y`],[`Ỵ`,`Y`],[`ỷ`,`y`],[`Ỷ`,`Y`],[`ỹ`,`y`],[`Ỹ`,`Y`],[`ء`,`e`],[`آ`,`a`],[`أ`,`a`],[`ؤ`,`w`],[`إ`,`a`],[`ئ`,`y`],[`ا`,`a`],[`ب`,`b`],[`ة`,`t`],[`ت`,`t`],[`ث`,`th`],[`ج`,`j`],[`ح`,`h`],[`خ`,`kh`],[`د`,`d`],[`ذ`,`dh`],[`ر`,`r`],[`ز`,`z`],[`س`,`s`],[`ش`,`sh`],[`ص`,`s`],[`ض`,`d`],[`ط`,`t`],[`ظ`,`z`],[`ع`,`e`],[`غ`,`gh`],[`ـ`,`_`],[`ف`,`f`],[`ق`,`q`],[`ك`,`k`],[`ل`,`l`],[`م`,`m`],[`ن`,`n`],[`ه`,`h`],[`و`,`w`],[`ى`,`a`],[`ي`,`y`],[`َ‎`,`a`],[`ُ`,`u`],[`ِ‎`,`i`],[`٠`,`0`],[`١`,`1`],[`٢`,`2`],[`٣`,`3`],[`٤`,`4`],[`٥`,`5`],[`٦`,`6`],[`٧`,`7`],[`٨`,`8`],[`٩`,`9`],[`چ`,`ch`],[`ک`,`k`],[`گ`,`g`],[`پ`,`p`],[`ژ`,`zh`],[`ی`,`y`],[`۰`,`0`],[`۱`,`1`],[`۲`,`2`],[`۳`,`3`],[`۴`,`4`],[`۵`,`5`],[`۶`,`6`],[`۷`,`7`],[`۸`,`8`],[`۹`,`9`],[`ټ`,`p`],[`ځ`,`z`],[`څ`,`c`],[`ډ`,`d`],[`ﺫ`,`d`],[`ﺭ`,`r`],[`ړ`,`r`],[`ﺯ`,`z`],[`ږ`,`g`],[`ښ`,`x`],[`ګ`,`g`],[`ڼ`,`n`],[`ۀ`,`e`],[`ې`,`e`],[`ۍ`,`ai`],[`ٹ`,`t`],[`ڈ`,`d`],[`ڑ`,`r`],[`ں`,`n`],[`ہ`,`h`],[`ھ`,`h`],[`ے`,`e`],[`А`,`A`],[`а`,`a`],[`Б`,`B`],[`б`,`b`],[`В`,`V`],[`в`,`v`],[`Г`,`G`],[`г`,`g`],[`Д`,`D`],[`д`,`d`],[`ъе`,`ye`],[`Ъе`,`Ye`],[`ъЕ`,`yE`],[`ЪЕ`,`YE`],[`Е`,`E`],[`е`,`e`],[`Ё`,`Yo`],[`ё`,`yo`],[`Ж`,`Zh`],[`ж`,`zh`],[`З`,`Z`],[`з`,`z`],[`И`,`I`],[`и`,`i`],[`ый`,`iy`],[`Ый`,`Iy`],[`ЫЙ`,`IY`],[`ыЙ`,`iY`],[`Й`,`Y`],[`й`,`y`],[`К`,`K`],[`к`,`k`],[`Л`,`L`],[`л`,`l`],[`М`,`M`],[`м`,`m`],[`Н`,`N`],[`н`,`n`],[`О`,`O`],[`о`,`o`],[`П`,`P`],[`п`,`p`],[`Р`,`R`],[`р`,`r`],[`С`,`S`],[`с`,`s`],[`Т`,`T`],[`т`,`t`],[`У`,`U`],[`у`,`u`],[`Ф`,`F`],[`ф`,`f`],[`Х`,`Kh`],[`х`,`kh`],[`Ц`,`Ts`],[`ц`,`ts`],[`Ч`,`Ch`],[`ч`,`ch`],[`Ш`,`Sh`],[`ш`,`sh`],[`Щ`,`Sch`],[`щ`,`sch`],[`Ъ`,``],[`ъ`,``],[`Ы`,`Y`],[`ы`,`y`],[`Ь`,``],[`ь`,``],[`Э`,`E`],[`э`,`e`],[`Ю`,`Yu`],[`ю`,`yu`],[`Я`,`Ya`],[`я`,`ya`],[`ă`,`a`],[`Ă`,`A`],[`ș`,`s`],[`Ș`,`S`],[`ț`,`t`],[`Ț`,`T`],[`ţ`,`t`],[`Ţ`,`T`],[`ş`,`s`],[`Ş`,`S`],[`ç`,`c`],[`Ç`,`C`],[`ğ`,`g`],[`Ğ`,`G`],[`ı`,`i`],[`İ`,`I`],[`ա`,`a`],[`Ա`,`A`],[`բ`,`b`],[`Բ`,`B`],[`գ`,`g`],[`Գ`,`G`],[`դ`,`d`],[`Դ`,`D`],[`ե`,`ye`],[`Ե`,`Ye`],[`զ`,`z`],[`Զ`,`Z`],[`է`,`e`],[`Է`,`E`],[`ը`,`y`],[`Ը`,`Y`],[`թ`,`t`],[`Թ`,`T`],[`ժ`,`zh`],[`Ժ`,`Zh`],[`ի`,`i`],[`Ի`,`I`],[`լ`,`l`],[`Լ`,`L`],[`խ`,`kh`],[`Խ`,`Kh`],[`ծ`,`ts`],[`Ծ`,`Ts`],[`կ`,`k`],[`Կ`,`K`],[`հ`,`h`],[`Հ`,`H`],[`ձ`,`dz`],[`Ձ`,`Dz`],[`ղ`,`gh`],[`Ղ`,`Gh`],[`ճ`,`tch`],[`Ճ`,`Tch`],[`մ`,`m`],[`Մ`,`M`],[`յ`,`y`],[`Յ`,`Y`],[`ն`,`n`],[`Ն`,`N`],[`շ`,`sh`],[`Շ`,`Sh`],[`ու`,`u`],[`ՈՒ`,`U`],[`Ու`,`U`],[`ո`,`vo`],[`Ո`,`Vo`],[`չ`,`ch`],[`Չ`,`Ch`],[`պ`,`p`],[`Պ`,`P`],[`ջ`,`j`],[`Ջ`,`J`],[`ռ`,`r`],[`Ռ`,`R`],[`ս`,`s`],[`Ս`,`S`],[`վ`,`v`],[`Վ`,`V`],[`տ`,`t`],[`Տ`,`T`],[`ր`,`r`],[`Ր`,`R`],[`ց`,`c`],[`Ց`,`C`],[`փ`,`p`],[`Փ`,`P`],[`ք`,`q`],[`Ք`,`Q`],[`օ`,`o`],[`Օ`,`O`],[`ֆ`,`f`],[`Ֆ`,`F`],[`և`,`yev`],[`ა`,`a`],[`ბ`,`b`],[`გ`,`g`],[`დ`,`d`],[`ე`,`e`],[`ვ`,`v`],[`ზ`,`z`],[`თ`,`t`],[`ი`,`i`],[`კ`,`k`],[`ლ`,`l`],[`მ`,`m`],[`ნ`,`n`],[`ო`,`o`],[`პ`,`p`],[`ჟ`,`zh`],[`რ`,`r`],[`ს`,`s`],[`ტ`,`t`],[`უ`,`u`],[`ფ`,`ph`],[`ქ`,`q`],[`ღ`,`gh`],[`ყ`,`k`],[`შ`,`sh`],[`ჩ`,`ch`],[`ც`,`ts`],[`ძ`,`dz`],[`წ`,`ts`],[`ჭ`,`tch`],[`ხ`,`kh`],[`ჯ`,`j`],[`ჰ`,`h`],[`č`,`c`],[`ď`,`d`],[`ě`,`e`],[`ň`,`n`],[`ř`,`r`],[`š`,`s`],[`ť`,`t`],[`ů`,`u`],[`ž`,`z`],[`Č`,`C`],[`Ď`,`D`],[`Ě`,`E`],[`Ň`,`N`],[`Ř`,`R`],[`Š`,`S`],[`Ť`,`T`],[`Ů`,`U`],[`Ž`,`Z`],[`ހ`,`h`],[`ށ`,`sh`],[`ނ`,`n`],[`ރ`,`r`],[`ބ`,`b`],[`ޅ`,`lh`],[`ކ`,`k`],[`އ`,`a`],[`ވ`,`v`],[`މ`,`m`],[`ފ`,`f`],[`ދ`,`dh`],[`ތ`,`th`],[`ލ`,`l`],[`ގ`,`g`],[`ޏ`,`gn`],[`ސ`,`s`],[`ޑ`,`d`],[`ޒ`,`z`],[`ޓ`,`t`],[`ޔ`,`y`],[`ޕ`,`p`],[`ޖ`,`j`],[`ޗ`,`ch`],[`ޘ`,`tt`],[`ޙ`,`hh`],[`ޚ`,`kh`],[`ޛ`,`th`],[`ޜ`,`z`],[`ޝ`,`sh`],[`ޞ`,`s`],[`ޟ`,`d`],[`ޠ`,`t`],[`ޡ`,`z`],[`ޢ`,`a`],[`ޣ`,`gh`],[`ޤ`,`q`],[`ޥ`,`w`],[`ަ`,`a`],[`ާ`,`aa`],[`ި`,`i`],[`ީ`,`ee`],[`ު`,`u`],[`ޫ`,`oo`],[`ެ`,`e`],[`ޭ`,`ey`],[`ޮ`,`o`],[`ޯ`,`oa`],[`ް`,``],[`α`,`a`],[`β`,`v`],[`γ`,`g`],[`δ`,`d`],[`ε`,`e`],[`ζ`,`z`],[`η`,`i`],[`θ`,`th`],[`ι`,`i`],[`κ`,`k`],[`λ`,`l`],[`μ`,`m`],[`ν`,`n`],[`ξ`,`ks`],[`ο`,`o`],[`π`,`p`],[`ρ`,`r`],[`σ`,`s`],[`τ`,`t`],[`υ`,`y`],[`φ`,`f`],[`χ`,`x`],[`ψ`,`ps`],[`ω`,`o`],[`ά`,`a`],[`έ`,`e`],[`ί`,`i`],[`ό`,`o`],[`ύ`,`y`],[`ή`,`i`],[`ώ`,`o`],[`ς`,`s`],[`ϊ`,`i`],[`ΰ`,`y`],[`ϋ`,`y`],[`ΐ`,`i`],[`Α`,`A`],[`Β`,`B`],[`Γ`,`G`],[`Δ`,`D`],[`Ε`,`E`],[`Ζ`,`Z`],[`Η`,`I`],[`Θ`,`TH`],[`Ι`,`I`],[`Κ`,`K`],[`Λ`,`L`],[`Μ`,`M`],[`Ν`,`N`],[`Ξ`,`KS`],[`Ο`,`O`],[`Π`,`P`],[`Ρ`,`R`],[`Σ`,`S`],[`Τ`,`T`],[`Υ`,`Y`],[`Φ`,`F`],[`Χ`,`X`],[`Ψ`,`PS`],[`Ω`,`O`],[`Ά`,`A`],[`Έ`,`E`],[`Ί`,`I`],[`Ό`,`O`],[`Ύ`,`Y`],[`Ή`,`I`],[`Ώ`,`O`],[`Ϊ`,`I`],[`Ϋ`,`Y`],[`ā`,`a`],[`ē`,`e`],[`ģ`,`g`],[`ī`,`i`],[`ķ`,`k`],[`ļ`,`l`],[`ņ`,`n`],[`ū`,`u`],[`Ā`,`A`],[`Ē`,`E`],[`Ģ`,`G`],[`Ī`,`I`],[`Ķ`,`K`],[`Ļ`,`L`],[`Ņ`,`N`],[`Ū`,`U`],[`č`,`c`],[`š`,`s`],[`ž`,`z`],[`Č`,`C`],[`Š`,`S`],[`Ž`,`Z`],[`ą`,`a`],[`č`,`c`],[`ę`,`e`],[`ė`,`e`],[`į`,`i`],[`š`,`s`],[`ų`,`u`],[`ū`,`u`],[`ž`,`z`],[`Ą`,`A`],[`Č`,`C`],[`Ę`,`E`],[`Ė`,`E`],[`Į`,`I`],[`Š`,`S`],[`Ų`,`U`],[`Ū`,`U`],[`Ќ`,`Kj`],[`ќ`,`kj`],[`Љ`,`Lj`],[`љ`,`lj`],[`Њ`,`Nj`],[`њ`,`nj`],[`Тс`,`Ts`],[`тс`,`ts`],[`ą`,`a`],[`ć`,`c`],[`ę`,`e`],[`ł`,`l`],[`ń`,`n`],[`ś`,`s`],[`ź`,`z`],[`ż`,`z`],[`Ą`,`A`],[`Ć`,`C`],[`Ę`,`E`],[`Ł`,`L`],[`Ń`,`N`],[`Ś`,`S`],[`Ź`,`Z`],[`Ż`,`Z`],[`Є`,`Ye`],[`І`,`I`],[`Ї`,`Yi`],[`Ґ`,`G`],[`є`,`ye`],[`і`,`i`],[`ї`,`yi`],[`ґ`,`g`],[`IJ`,`IJ`],[`ij`,`ij`],[`¢`,`c`],[`¥`,`Y`],[`߿`,`b`],[`৳`,`t`],[`૱`,`Bo`],[`฿`,`B`],[`₠`,`CE`],[`₡`,`C`],[`₢`,`Cr`],[`₣`,`F`],[`₥`,`m`],[`₦`,`N`],[`₧`,`Pt`],[`₨`,`Rs`],[`₩`,`W`],[`₫`,`s`],[`€`,`E`],[`₭`,`K`],[`₮`,`T`],[`₯`,`Dp`],[`₰`,`S`],[`₱`,`P`],[`₲`,`G`],[`₳`,`A`],[`₴`,`S`],[`₵`,`C`],[`₶`,`tt`],[`₷`,`S`],[`₸`,`T`],[`₹`,`R`],[`₺`,`L`],[`₽`,`P`],[`₿`,`B`],[`﹩`,`$`],[`¢`,`c`],[`¥`,`Y`],[`₩`,`W`],[`𝐀`,`A`],[`𝐁`,`B`],[`𝐂`,`C`],[`𝐃`,`D`],[`𝐄`,`E`],[`𝐅`,`F`],[`𝐆`,`G`],[`𝐇`,`H`],[`𝐈`,`I`],[`𝐉`,`J`],[`𝐊`,`K`],[`𝐋`,`L`],[`𝐌`,`M`],[`𝐍`,`N`],[`𝐎`,`O`],[`𝐏`,`P`],[`𝐐`,`Q`],[`𝐑`,`R`],[`𝐒`,`S`],[`𝐓`,`T`],[`𝐔`,`U`],[`𝐕`,`V`],[`𝐖`,`W`],[`𝐗`,`X`],[`𝐘`,`Y`],[`𝐙`,`Z`],[`𝐚`,`a`],[`𝐛`,`b`],[`𝐜`,`c`],[`𝐝`,`d`],[`𝐞`,`e`],[`𝐟`,`f`],[`𝐠`,`g`],[`𝐡`,`h`],[`𝐢`,`i`],[`𝐣`,`j`],[`𝐤`,`k`],[`𝐥`,`l`],[`𝐦`,`m`],[`𝐧`,`n`],[`𝐨`,`o`],[`𝐩`,`p`],[`𝐪`,`q`],[`𝐫`,`r`],[`𝐬`,`s`],[`𝐭`,`t`],[`𝐮`,`u`],[`𝐯`,`v`],[`𝐰`,`w`],[`𝐱`,`x`],[`𝐲`,`y`],[`𝐳`,`z`],[`𝐴`,`A`],[`𝐵`,`B`],[`𝐶`,`C`],[`𝐷`,`D`],[`𝐸`,`E`],[`𝐹`,`F`],[`𝐺`,`G`],[`𝐻`,`H`],[`𝐼`,`I`],[`𝐽`,`J`],[`𝐾`,`K`],[`𝐿`,`L`],[`𝑀`,`M`],[`𝑁`,`N`],[`𝑂`,`O`],[`𝑃`,`P`],[`𝑄`,`Q`],[`𝑅`,`R`],[`𝑆`,`S`],[`𝑇`,`T`],[`𝑈`,`U`],[`𝑉`,`V`],[`𝑊`,`W`],[`𝑋`,`X`],[`𝑌`,`Y`],[`𝑍`,`Z`],[`𝑎`,`a`],[`𝑏`,`b`],[`𝑐`,`c`],[`𝑑`,`d`],[`𝑒`,`e`],[`𝑓`,`f`],[`𝑔`,`g`],[`𝑖`,`i`],[`𝑗`,`j`],[`𝑘`,`k`],[`𝑙`,`l`],[`𝑚`,`m`],[`𝑛`,`n`],[`𝑜`,`o`],[`𝑝`,`p`],[`𝑞`,`q`],[`𝑟`,`r`],[`𝑠`,`s`],[`𝑡`,`t`],[`𝑢`,`u`],[`𝑣`,`v`],[`𝑤`,`w`],[`𝑥`,`x`],[`𝑦`,`y`],[`𝑧`,`z`],[`𝑨`,`A`],[`𝑩`,`B`],[`𝑪`,`C`],[`𝑫`,`D`],[`𝑬`,`E`],[`𝑭`,`F`],[`𝑮`,`G`],[`𝑯`,`H`],[`𝑰`,`I`],[`𝑱`,`J`],[`𝑲`,`K`],[`𝑳`,`L`],[`𝑴`,`M`],[`𝑵`,`N`],[`𝑶`,`O`],[`𝑷`,`P`],[`𝑸`,`Q`],[`𝑹`,`R`],[`𝑺`,`S`],[`𝑻`,`T`],[`𝑼`,`U`],[`𝑽`,`V`],[`𝑾`,`W`],[`𝑿`,`X`],[`𝒀`,`Y`],[`𝒁`,`Z`],[`𝒂`,`a`],[`𝒃`,`b`],[`𝒄`,`c`],[`𝒅`,`d`],[`𝒆`,`e`],[`𝒇`,`f`],[`𝒈`,`g`],[`𝒉`,`h`],[`𝒊`,`i`],[`𝒋`,`j`],[`𝒌`,`k`],[`𝒍`,`l`],[`𝒎`,`m`],[`𝒏`,`n`],[`𝒐`,`o`],[`𝒑`,`p`],[`𝒒`,`q`],[`𝒓`,`r`],[`𝒔`,`s`],[`𝒕`,`t`],[`𝒖`,`u`],[`𝒗`,`v`],[`𝒘`,`w`],[`𝒙`,`x`],[`𝒚`,`y`],[`𝒛`,`z`],[`𝒜`,`A`],[`𝒞`,`C`],[`𝒟`,`D`],[`𝒢`,`g`],[`𝒥`,`J`],[`𝒦`,`K`],[`𝒩`,`N`],[`𝒪`,`O`],[`𝒫`,`P`],[`𝒬`,`Q`],[`𝒮`,`S`],[`𝒯`,`T`],[`𝒰`,`U`],[`𝒱`,`V`],[`𝒲`,`W`],[`𝒳`,`X`],[`𝒴`,`Y`],[`𝒵`,`Z`],[`𝒶`,`a`],[`𝒷`,`b`],[`𝒸`,`c`],[`𝒹`,`d`],[`𝒻`,`f`],[`𝒽`,`h`],[`𝒾`,`i`],[`𝒿`,`j`],[`𝓀`,`k`],[`𝓁`,`l`],[`𝓂`,`m`],[`𝓃`,`n`],[`𝓅`,`p`],[`𝓆`,`q`],[`𝓇`,`r`],[`𝓈`,`s`],[`𝓉`,`t`],[`𝓊`,`u`],[`𝓋`,`v`],[`𝓌`,`w`],[`𝓍`,`x`],[`𝓎`,`y`],[`𝓏`,`z`],[`𝓐`,`A`],[`𝓑`,`B`],[`𝓒`,`C`],[`𝓓`,`D`],[`𝓔`,`E`],[`𝓕`,`F`],[`𝓖`,`G`],[`𝓗`,`H`],[`𝓘`,`I`],[`𝓙`,`J`],[`𝓚`,`K`],[`𝓛`,`L`],[`𝓜`,`M`],[`𝓝`,`N`],[`𝓞`,`O`],[`𝓟`,`P`],[`𝓠`,`Q`],[`𝓡`,`R`],[`𝓢`,`S`],[`𝓣`,`T`],[`𝓤`,`U`],[`𝓥`,`V`],[`𝓦`,`W`],[`𝓧`,`X`],[`𝓨`,`Y`],[`𝓩`,`Z`],[`𝓪`,`a`],[`𝓫`,`b`],[`𝓬`,`c`],[`𝓭`,`d`],[`𝓮`,`e`],[`𝓯`,`f`],[`𝓰`,`g`],[`𝓱`,`h`],[`𝓲`,`i`],[`𝓳`,`j`],[`𝓴`,`k`],[`𝓵`,`l`],[`𝓶`,`m`],[`𝓷`,`n`],[`𝓸`,`o`],[`𝓹`,`p`],[`𝓺`,`q`],[`𝓻`,`r`],[`𝓼`,`s`],[`𝓽`,`t`],[`𝓾`,`u`],[`𝓿`,`v`],[`𝔀`,`w`],[`𝔁`,`x`],[`𝔂`,`y`],[`𝔃`,`z`],[`𝔄`,`A`],[`𝔅`,`B`],[`𝔇`,`D`],[`𝔈`,`E`],[`𝔉`,`F`],[`𝔊`,`G`],[`𝔍`,`J`],[`𝔎`,`K`],[`𝔏`,`L`],[`𝔐`,`M`],[`𝔑`,`N`],[`𝔒`,`O`],[`𝔓`,`P`],[`𝔔`,`Q`],[`𝔖`,`S`],[`𝔗`,`T`],[`𝔘`,`U`],[`𝔙`,`V`],[`𝔚`,`W`],[`𝔛`,`X`],[`𝔜`,`Y`],[`𝔞`,`a`],[`𝔟`,`b`],[`𝔠`,`c`],[`𝔡`,`d`],[`𝔢`,`e`],[`𝔣`,`f`],[`𝔤`,`g`],[`𝔥`,`h`],[`𝔦`,`i`],[`𝔧`,`j`],[`𝔨`,`k`],[`𝔩`,`l`],[`𝔪`,`m`],[`𝔫`,`n`],[`𝔬`,`o`],[`𝔭`,`p`],[`𝔮`,`q`],[`𝔯`,`r`],[`𝔰`,`s`],[`𝔱`,`t`],[`𝔲`,`u`],[`𝔳`,`v`],[`𝔴`,`w`],[`𝔵`,`x`],[`𝔶`,`y`],[`𝔷`,`z`],[`𝔸`,`A`],[`𝔹`,`B`],[`𝔻`,`D`],[`𝔼`,`E`],[`𝔽`,`F`],[`𝔾`,`G`],[`𝕀`,`I`],[`𝕁`,`J`],[`𝕂`,`K`],[`𝕃`,`L`],[`𝕄`,`M`],[`𝕆`,`O`],[`𝕊`,`S`],[`𝕋`,`T`],[`𝕌`,`U`],[`𝕍`,`V`],[`𝕎`,`W`],[`𝕏`,`X`],[`𝕐`,`Y`],[`𝕒`,`a`],[`𝕓`,`b`],[`𝕔`,`c`],[`𝕕`,`d`],[`𝕖`,`e`],[`𝕗`,`f`],[`𝕘`,`g`],[`𝕙`,`h`],[`𝕚`,`i`],[`𝕛`,`j`],[`𝕜`,`k`],[`𝕝`,`l`],[`𝕞`,`m`],[`𝕟`,`n`],[`𝕠`,`o`],[`𝕡`,`p`],[`𝕢`,`q`],[`𝕣`,`r`],[`𝕤`,`s`],[`𝕥`,`t`],[`𝕦`,`u`],[`𝕧`,`v`],[`𝕨`,`w`],[`𝕩`,`x`],[`𝕪`,`y`],[`𝕫`,`z`],[`𝕬`,`A`],[`𝕭`,`B`],[`𝕮`,`C`],[`𝕯`,`D`],[`𝕰`,`E`],[`𝕱`,`F`],[`𝕲`,`G`],[`𝕳`,`H`],[`𝕴`,`I`],[`𝕵`,`J`],[`𝕶`,`K`],[`𝕷`,`L`],[`𝕸`,`M`],[`𝕹`,`N`],[`𝕺`,`O`],[`𝕻`,`P`],[`𝕼`,`Q`],[`𝕽`,`R`],[`𝕾`,`S`],[`𝕿`,`T`],[`𝖀`,`U`],[`𝖁`,`V`],[`𝖂`,`W`],[`𝖃`,`X`],[`𝖄`,`Y`],[`𝖅`,`Z`],[`𝖆`,`a`],[`𝖇`,`b`],[`𝖈`,`c`],[`𝖉`,`d`],[`𝖊`,`e`],[`𝖋`,`f`],[`𝖌`,`g`],[`𝖍`,`h`],[`𝖎`,`i`],[`𝖏`,`j`],[`𝖐`,`k`],[`𝖑`,`l`],[`𝖒`,`m`],[`𝖓`,`n`],[`𝖔`,`o`],[`𝖕`,`p`],[`𝖖`,`q`],[`𝖗`,`r`],[`𝖘`,`s`],[`𝖙`,`t`],[`𝖚`,`u`],[`𝖛`,`v`],[`𝖜`,`w`],[`𝖝`,`x`],[`𝖞`,`y`],[`𝖟`,`z`],[`𝖠`,`A`],[`𝖡`,`B`],[`𝖢`,`C`],[`𝖣`,`D`],[`𝖤`,`E`],[`𝖥`,`F`],[`𝖦`,`G`],[`𝖧`,`H`],[`𝖨`,`I`],[`𝖩`,`J`],[`𝖪`,`K`],[`𝖫`,`L`],[`𝖬`,`M`],[`𝖭`,`N`],[`𝖮`,`O`],[`𝖯`,`P`],[`𝖰`,`Q`],[`𝖱`,`R`],[`𝖲`,`S`],[`𝖳`,`T`],[`𝖴`,`U`],[`𝖵`,`V`],[`𝖶`,`W`],[`𝖷`,`X`],[`𝖸`,`Y`],[`𝖹`,`Z`],[`𝖺`,`a`],[`𝖻`,`b`],[`𝖼`,`c`],[`𝖽`,`d`],[`𝖾`,`e`],[`𝖿`,`f`],[`𝗀`,`g`],[`𝗁`,`h`],[`𝗂`,`i`],[`𝗃`,`j`],[`𝗄`,`k`],[`𝗅`,`l`],[`𝗆`,`m`],[`𝗇`,`n`],[`𝗈`,`o`],[`𝗉`,`p`],[`𝗊`,`q`],[`𝗋`,`r`],[`𝗌`,`s`],[`𝗍`,`t`],[`𝗎`,`u`],[`𝗏`,`v`],[`𝗐`,`w`],[`𝗑`,`x`],[`𝗒`,`y`],[`𝗓`,`z`],[`𝗔`,`A`],[`𝗕`,`B`],[`𝗖`,`C`],[`𝗗`,`D`],[`𝗘`,`E`],[`𝗙`,`F`],[`𝗚`,`G`],[`𝗛`,`H`],[`𝗜`,`I`],[`𝗝`,`J`],[`𝗞`,`K`],[`𝗟`,`L`],[`𝗠`,`M`],[`𝗡`,`N`],[`𝗢`,`O`],[`𝗣`,`P`],[`𝗤`,`Q`],[`𝗥`,`R`],[`𝗦`,`S`],[`𝗧`,`T`],[`𝗨`,`U`],[`𝗩`,`V`],[`𝗪`,`W`],[`𝗫`,`X`],[`𝗬`,`Y`],[`𝗭`,`Z`],[`𝗮`,`a`],[`𝗯`,`b`],[`𝗰`,`c`],[`𝗱`,`d`],[`𝗲`,`e`],[`𝗳`,`f`],[`𝗴`,`g`],[`𝗵`,`h`],[`𝗶`,`i`],[`𝗷`,`j`],[`𝗸`,`k`],[`𝗹`,`l`],[`𝗺`,`m`],[`𝗻`,`n`],[`𝗼`,`o`],[`𝗽`,`p`],[`𝗾`,`q`],[`𝗿`,`r`],[`𝘀`,`s`],[`𝘁`,`t`],[`𝘂`,`u`],[`𝘃`,`v`],[`𝘄`,`w`],[`𝘅`,`x`],[`𝘆`,`y`],[`𝘇`,`z`],[`𝘈`,`A`],[`𝘉`,`B`],[`𝘊`,`C`],[`𝘋`,`D`],[`𝘌`,`E`],[`𝘍`,`F`],[`𝘎`,`G`],[`𝘏`,`H`],[`𝘐`,`I`],[`𝘑`,`J`],[`𝘒`,`K`],[`𝘓`,`L`],[`𝘔`,`M`],[`𝘕`,`N`],[`𝘖`,`O`],[`𝘗`,`P`],[`𝘘`,`Q`],[`𝘙`,`R`],[`𝘚`,`S`],[`𝘛`,`T`],[`𝘜`,`U`],[`𝘝`,`V`],[`𝘞`,`W`],[`𝘟`,`X`],[`𝘠`,`Y`],[`𝘡`,`Z`],[`𝘢`,`a`],[`𝘣`,`b`],[`𝘤`,`c`],[`𝘥`,`d`],[`𝘦`,`e`],[`𝘧`,`f`],[`𝘨`,`g`],[`𝘩`,`h`],[`𝘪`,`i`],[`𝘫`,`j`],[`𝘬`,`k`],[`𝘭`,`l`],[`𝘮`,`m`],[`𝘯`,`n`],[`𝘰`,`o`],[`𝘱`,`p`],[`𝘲`,`q`],[`𝘳`,`r`],[`𝘴`,`s`],[`𝘵`,`t`],[`𝘶`,`u`],[`𝘷`,`v`],[`𝘸`,`w`],[`𝘹`,`x`],[`𝘺`,`y`],[`𝘻`,`z`],[`𝘼`,`A`],[`𝘽`,`B`],[`𝘾`,`C`],[`𝘿`,`D`],[`𝙀`,`E`],[`𝙁`,`F`],[`𝙂`,`G`],[`𝙃`,`H`],[`𝙄`,`I`],[`𝙅`,`J`],[`𝙆`,`K`],[`𝙇`,`L`],[`𝙈`,`M`],[`𝙉`,`N`],[`𝙊`,`O`],[`𝙋`,`P`],[`𝙌`,`Q`],[`𝙍`,`R`],[`𝙎`,`S`],[`𝙏`,`T`],[`𝙐`,`U`],[`𝙑`,`V`],[`𝙒`,`W`],[`𝙓`,`X`],[`𝙔`,`Y`],[`𝙕`,`Z`],[`𝙖`,`a`],[`𝙗`,`b`],[`𝙘`,`c`],[`𝙙`,`d`],[`𝙚`,`e`],[`𝙛`,`f`],[`𝙜`,`g`],[`𝙝`,`h`],[`𝙞`,`i`],[`𝙟`,`j`],[`𝙠`,`k`],[`𝙡`,`l`],[`𝙢`,`m`],[`𝙣`,`n`],[`𝙤`,`o`],[`𝙥`,`p`],[`𝙦`,`q`],[`𝙧`,`r`],[`𝙨`,`s`],[`𝙩`,`t`],[`𝙪`,`u`],[`𝙫`,`v`],[`𝙬`,`w`],[`𝙭`,`x`],[`𝙮`,`y`],[`𝙯`,`z`],[`𝙰`,`A`],[`𝙱`,`B`],[`𝙲`,`C`],[`𝙳`,`D`],[`𝙴`,`E`],[`𝙵`,`F`],[`𝙶`,`G`],[`𝙷`,`H`],[`𝙸`,`I`],[`𝙹`,`J`],[`𝙺`,`K`],[`𝙻`,`L`],[`𝙼`,`M`],[`𝙽`,`N`],[`𝙾`,`O`],[`𝙿`,`P`],[`𝚀`,`Q`],[`𝚁`,`R`],[`𝚂`,`S`],[`𝚃`,`T`],[`𝚄`,`U`],[`𝚅`,`V`],[`𝚆`,`W`],[`𝚇`,`X`],[`𝚈`,`Y`],[`𝚉`,`Z`],[`𝚊`,`a`],[`𝚋`,`b`],[`𝚌`,`c`],[`𝚍`,`d`],[`𝚎`,`e`],[`𝚏`,`f`],[`𝚐`,`g`],[`𝚑`,`h`],[`𝚒`,`i`],[`𝚓`,`j`],[`𝚔`,`k`],[`𝚕`,`l`],[`𝚖`,`m`],[`𝚗`,`n`],[`𝚘`,`o`],[`𝚙`,`p`],[`𝚚`,`q`],[`𝚛`,`r`],[`𝚜`,`s`],[`𝚝`,`t`],[`𝚞`,`u`],[`𝚟`,`v`],[`𝚠`,`w`],[`𝚡`,`x`],[`𝚢`,`y`],[`𝚣`,`z`],[`𝚤`,`l`],[`𝚥`,`j`],[`𝛢`,`A`],[`𝛣`,`B`],[`𝛤`,`G`],[`𝛥`,`D`],[`𝛦`,`E`],[`𝛧`,`Z`],[`𝛨`,`I`],[`𝛩`,`TH`],[`𝛪`,`I`],[`𝛫`,`K`],[`𝛬`,`L`],[`𝛭`,`M`],[`𝛮`,`N`],[`𝛯`,`KS`],[`𝛰`,`O`],[`𝛱`,`P`],[`𝛲`,`R`],[`𝛳`,`TH`],[`𝛴`,`S`],[`𝛵`,`T`],[`𝛶`,`Y`],[`𝛷`,`F`],[`𝛸`,`x`],[`𝛹`,`PS`],[`𝛺`,`O`],[`𝛻`,`D`],[`𝛼`,`a`],[`𝛽`,`b`],[`𝛾`,`g`],[`𝛿`,`d`],[`𝜀`,`e`],[`𝜁`,`z`],[`𝜂`,`i`],[`𝜃`,`th`],[`𝜄`,`i`],[`𝜅`,`k`],[`𝜆`,`l`],[`𝜇`,`m`],[`𝜈`,`n`],[`𝜉`,`ks`],[`𝜊`,`o`],[`𝜋`,`p`],[`𝜌`,`r`],[`𝜍`,`s`],[`𝜎`,`s`],[`𝜏`,`t`],[`𝜐`,`y`],[`𝜑`,`f`],[`𝜒`,`x`],[`𝜓`,`ps`],[`𝜔`,`o`],[`𝜕`,`d`],[`𝜖`,`E`],[`𝜗`,`TH`],[`𝜘`,`K`],[`𝜙`,`f`],[`𝜚`,`r`],[`𝜛`,`p`],[`𝜜`,`A`],[`𝜝`,`V`],[`𝜞`,`G`],[`𝜟`,`D`],[`𝜠`,`E`],[`𝜡`,`Z`],[`𝜢`,`I`],[`𝜣`,`TH`],[`𝜤`,`I`],[`𝜥`,`K`],[`𝜦`,`L`],[`𝜧`,`M`],[`𝜨`,`N`],[`𝜩`,`KS`],[`𝜪`,`O`],[`𝜫`,`P`],[`𝜬`,`S`],[`𝜭`,`TH`],[`𝜮`,`S`],[`𝜯`,`T`],[`𝜰`,`Y`],[`𝜱`,`F`],[`𝜲`,`X`],[`𝜳`,`PS`],[`𝜴`,`O`],[`𝜵`,`D`],[`𝜶`,`a`],[`𝜷`,`v`],[`𝜸`,`g`],[`𝜹`,`d`],[`𝜺`,`e`],[`𝜻`,`z`],[`𝜼`,`i`],[`𝜽`,`th`],[`𝜾`,`i`],[`𝜿`,`k`],[`𝝀`,`l`],[`𝝁`,`m`],[`𝝂`,`n`],[`𝝃`,`ks`],[`𝝄`,`o`],[`𝝅`,`p`],[`𝝆`,`r`],[`𝝇`,`s`],[`𝝈`,`s`],[`𝝉`,`t`],[`𝝊`,`y`],[`𝝋`,`f`],[`𝝌`,`x`],[`𝝍`,`ps`],[`𝝎`,`o`],[`𝝏`,`a`],[`𝝐`,`e`],[`𝝑`,`i`],[`𝝒`,`k`],[`𝝓`,`f`],[`𝝔`,`r`],[`𝝕`,`p`],[`𝝖`,`A`],[`𝝗`,`B`],[`𝝘`,`G`],[`𝝙`,`D`],[`𝝚`,`E`],[`𝝛`,`Z`],[`𝝜`,`I`],[`𝝝`,`TH`],[`𝝞`,`I`],[`𝝟`,`K`],[`𝝠`,`L`],[`𝝡`,`M`],[`𝝢`,`N`],[`𝝣`,`KS`],[`𝝤`,`O`],[`𝝥`,`P`],[`𝝦`,`R`],[`𝝧`,`TH`],[`𝝨`,`S`],[`𝝩`,`T`],[`𝝪`,`Y`],[`𝝫`,`F`],[`𝝬`,`X`],[`𝝭`,`PS`],[`𝝮`,`O`],[`𝝯`,`D`],[`𝝰`,`a`],[`𝝱`,`v`],[`𝝲`,`g`],[`𝝳`,`d`],[`𝝴`,`e`],[`𝝵`,`z`],[`𝝶`,`i`],[`𝝷`,`th`],[`𝝸`,`i`],[`𝝹`,`k`],[`𝝺`,`l`],[`𝝻`,`m`],[`𝝼`,`n`],[`𝝽`,`ks`],[`𝝾`,`o`],[`𝝿`,`p`],[`𝞀`,`r`],[`𝞁`,`s`],[`𝞂`,`s`],[`𝞃`,`t`],[`𝞄`,`y`],[`𝞅`,`f`],[`𝞆`,`x`],[`𝞇`,`ps`],[`𝞈`,`o`],[`𝞉`,`a`],[`𝞊`,`e`],[`𝞋`,`i`],[`𝞌`,`k`],[`𝞍`,`f`],[`𝞎`,`r`],[`𝞏`,`p`],[`𝞐`,`A`],[`𝞑`,`V`],[`𝞒`,`G`],[`𝞓`,`D`],[`𝞔`,`E`],[`𝞕`,`Z`],[`𝞖`,`I`],[`𝞗`,`TH`],[`𝞘`,`I`],[`𝞙`,`K`],[`𝞚`,`L`],[`𝞛`,`M`],[`𝞜`,`N`],[`𝞝`,`KS`],[`𝞞`,`O`],[`𝞟`,`P`],[`𝞠`,`S`],[`𝞡`,`TH`],[`𝞢`,`S`],[`𝞣`,`T`],[`𝞤`,`Y`],[`𝞥`,`F`],[`𝞦`,`X`],[`𝞧`,`PS`],[`𝞨`,`O`],[`𝞩`,`D`],[`𝞪`,`av`],[`𝞫`,`g`],[`𝞬`,`d`],[`𝞭`,`e`],[`𝞮`,`z`],[`𝞯`,`i`],[`𝞰`,`i`],[`𝞱`,`th`],[`𝞲`,`i`],[`𝞳`,`k`],[`𝞴`,`l`],[`𝞵`,`m`],[`𝞶`,`n`],[`𝞷`,`ks`],[`𝞸`,`o`],[`𝞹`,`p`],[`𝞺`,`r`],[`𝞻`,`s`],[`𝞼`,`s`],[`𝞽`,`t`],[`𝞾`,`y`],[`𝞿`,`f`],[`𝟀`,`x`],[`𝟁`,`ps`],[`𝟂`,`o`],[`𝟃`,`a`],[`𝟄`,`e`],[`𝟅`,`i`],[`𝟆`,`k`],[`𝟇`,`f`],[`𝟈`,`r`],[`𝟉`,`p`],[`𝟊`,`F`],[`𝟋`,`f`],[`⒜`,`(a)`],[`⒝`,`(b)`],[`⒞`,`(c)`],[`⒟`,`(d)`],[`⒠`,`(e)`],[`⒡`,`(f)`],[`⒢`,`(g)`],[`⒣`,`(h)`],[`⒤`,`(i)`],[`⒥`,`(j)`],[`⒦`,`(k)`],[`⒧`,`(l)`],[`⒨`,`(m)`],[`⒩`,`(n)`],[`⒪`,`(o)`],[`⒫`,`(p)`],[`⒬`,`(q)`],[`⒭`,`(r)`],[`⒮`,`(s)`],[`⒯`,`(t)`],[`⒰`,`(u)`],[`⒱`,`(v)`],[`⒲`,`(w)`],[`⒳`,`(x)`],[`⒴`,`(y)`],[`⒵`,`(z)`],[`Ⓐ`,`(A)`],[`Ⓑ`,`(B)`],[`Ⓒ`,`(C)`],[`Ⓓ`,`(D)`],[`Ⓔ`,`(E)`],[`Ⓕ`,`(F)`],[`Ⓖ`,`(G)`],[`Ⓗ`,`(H)`],[`Ⓘ`,`(I)`],[`Ⓙ`,`(J)`],[`Ⓚ`,`(K)`],[`Ⓛ`,`(L)`],[`Ⓝ`,`(N)`],[`Ⓞ`,`(O)`],[`Ⓟ`,`(P)`],[`Ⓠ`,`(Q)`],[`Ⓡ`,`(R)`],[`Ⓢ`,`(S)`],[`Ⓣ`,`(T)`],[`Ⓤ`,`(U)`],[`Ⓥ`,`(V)`],[`Ⓦ`,`(W)`],[`Ⓧ`,`(X)`],[`Ⓨ`,`(Y)`],[`Ⓩ`,`(Z)`],[`ⓐ`,`(a)`],[`ⓑ`,`(b)`],[`ⓒ`,`(c)`],[`ⓓ`,`(d)`],[`ⓔ`,`(e)`],[`ⓕ`,`(f)`],[`ⓖ`,`(g)`],[`ⓗ`,`(h)`],[`ⓘ`,`(i)`],[`ⓙ`,`(j)`],[`ⓚ`,`(k)`],[`ⓛ`,`(l)`],[`ⓜ`,`(m)`],[`ⓝ`,`(n)`],[`ⓞ`,`(o)`],[`ⓟ`,`(p)`],[`ⓠ`,`(q)`],[`ⓡ`,`(r)`],[`ⓢ`,`(s)`],[`ⓣ`,`(t)`],[`ⓤ`,`(u)`],[`ⓥ`,`(v)`],[`ⓦ`,`(w)`],[`ⓧ`,`(x)`],[`ⓨ`,`(y)`],[`ⓩ`,`(z)`],[`Ċ`,`C`],[`ċ`,`c`],[`Ġ`,`G`],[`ġ`,`g`],[`Ħ`,`H`],[`ħ`,`h`],[`Ż`,`Z`],[`ż`,`z`],[`𝟎`,`0`],[`𝟏`,`1`],[`𝟐`,`2`],[`𝟑`,`3`],[`𝟒`,`4`],[`𝟓`,`5`],[`𝟔`,`6`],[`𝟕`,`7`],[`𝟖`,`8`],[`𝟗`,`9`],[`𝟘`,`0`],[`𝟙`,`1`],[`𝟚`,`2`],[`𝟛`,`3`],[`𝟜`,`4`],[`𝟝`,`5`],[`𝟞`,`6`],[`𝟟`,`7`],[`𝟠`,`8`],[`𝟡`,`9`],[`𝟢`,`0`],[`𝟣`,`1`],[`𝟤`,`2`],[`𝟥`,`3`],[`𝟦`,`4`],[`𝟧`,`5`],[`𝟨`,`6`],[`𝟩`,`7`],[`𝟪`,`8`],[`𝟫`,`9`],[`𝟬`,`0`],[`𝟭`,`1`],[`𝟮`,`2`],[`𝟯`,`3`],[`𝟰`,`4`],[`𝟱`,`5`],[`𝟲`,`6`],[`𝟳`,`7`],[`𝟴`,`8`],[`𝟵`,`9`],[`𝟶`,`0`],[`𝟷`,`1`],[`𝟸`,`2`],[`𝟹`,`3`],[`𝟺`,`4`],[`𝟻`,`5`],[`𝟼`,`6`],[`𝟽`,`7`],[`𝟾`,`8`],[`𝟿`,`9`],[`①`,`1`],[`②`,`2`],[`③`,`3`],[`④`,`4`],[`⑤`,`5`],[`⑥`,`6`],[`⑦`,`7`],[`⑧`,`8`],[`⑨`,`9`],[`⑩`,`10`],[`⑪`,`11`],[`⑫`,`12`],[`⑬`,`13`],[`⑭`,`14`],[`⑮`,`15`],[`⑯`,`16`],[`⑰`,`17`],[`⑱`,`18`],[`⑲`,`19`],[`⑳`,`20`],[`⑴`,`1`],[`⑵`,`2`],[`⑶`,`3`],[`⑷`,`4`],[`⑸`,`5`],[`⑹`,`6`],[`⑺`,`7`],[`⑻`,`8`],[`⑼`,`9`],[`⑽`,`10`],[`⑾`,`11`],[`⑿`,`12`],[`⒀`,`13`],[`⒁`,`14`],[`⒂`,`15`],[`⒃`,`16`],[`⒄`,`17`],[`⒅`,`18`],[`⒆`,`19`],[`⒇`,`20`],[`⒈`,`1.`],[`⒉`,`2.`],[`⒊`,`3.`],[`⒋`,`4.`],[`⒌`,`5.`],[`⒍`,`6.`],[`⒎`,`7.`],[`⒏`,`8.`],[`⒐`,`9.`],[`⒑`,`10.`],[`⒒`,`11.`],[`⒓`,`12.`],[`⒔`,`13.`],[`⒕`,`14.`],[`⒖`,`15.`],[`⒗`,`16.`],[`⒘`,`17.`],[`⒙`,`18.`],[`⒚`,`19.`],[`⒛`,`20.`],[`⓪`,`0`],[`⓫`,`11`],[`⓬`,`12`],[`⓭`,`13`],[`⓮`,`14`],[`⓯`,`15`],[`⓰`,`16`],[`⓱`,`17`],[`⓲`,`18`],[`⓳`,`19`],[`⓴`,`20`],[`⓵`,`1`],[`⓶`,`2`],[`⓷`,`3`],[`⓸`,`4`],[`⓹`,`5`],[`⓺`,`6`],[`⓻`,`7`],[`⓼`,`8`],[`⓽`,`9`],[`⓾`,`10`],[`⓿`,`0`],[`🙰`,`&`],[`🙱`,`&`],[`🙲`,`&`],[`🙳`,`&`],[`🙴`,`&`],[`🙵`,`&`],[`🙶`,`"`],[`🙷`,`"`],[`🙸`,`"`],[`‽`,`?!`],[`🙹`,`?!`],[`🙺`,`?!`],[`🙻`,`?!`],[`🙼`,`/`],[`🙽`,`\\`],[`🜇`,`AR`],[`🜈`,`V`],[`🜉`,`V`],[`🜆`,`VR`],[`🜅`,`VF`],[`🜩`,`2`],[`🜪`,`5`],[`🝡`,`f`],[`🝢`,`W`],[`🝣`,`U`],[`🝧`,`V`],[`🝨`,`T`],[`🝪`,`V`],[`🝫`,`MB`],[`🝬`,`VB`],[`🝲`,`3B`],[`🝳`,`3B`],[`💯`,`100`],[`🔙`,`BACK`],[`🔚`,`END`],[`🔛`,`ON!`],[`🔜`,`SOON`],[`🔝`,`TOP`],[`🔞`,`18`],[`🔤`,`abc`],[`🔠`,`ABCD`],[`🔡`,`abcd`],[`🔢`,`1234`],[`🔣`,`T&@%`],[`#️⃣`,`#`],[`*️⃣`,`*`],[`0️⃣`,`0`],[`1️⃣`,`1`],[`2️⃣`,`2`],[`3️⃣`,`3`],[`4️⃣`,`4`],[`5️⃣`,`5`],[`6️⃣`,`6`],[`7️⃣`,`7`],[`8️⃣`,`8`],[`9️⃣`,`9`],[`🔟`,`10`],[`🅰️`,`A`],[`🅱️`,`B`],[`🆎`,`AB`],[`🆑`,`CL`],[`🅾️`,`O`],[`🅿`,`P`],[`🆘`,`SOS`],[`🅲`,`C`],[`🅳`,`D`],[`🅴`,`E`],[`🅵`,`F`],[`🅶`,`G`],[`🅷`,`H`],[`🅸`,`I`],[`🅹`,`J`],[`🅺`,`K`],[`🅻`,`L`],[`🅼`,`M`],[`🅽`,`N`],[`🆀`,`Q`],[`🆁`,`R`],[`🆂`,`S`],[`🆃`,`T`],[`🆄`,`U`],[`🆅`,`V`],[`🆆`,`W`],[`🆇`,`X`],[`🆈`,`Y`],[`🆉`,`Z`],[`−`,`-`],[`⁓`,`-`]]),rn=[[`æ`,`ae`],[`Æ`,`Ae`],[`ø`,`oe`],[`Ø`,`Oe`],[`å`,`aa`],[`Å`,`Aa`]],an={sv:[[`ä`,`a`],[`Ä`,`A`],[`ö`,`o`],[`Ö`,`O`],[`å`,`a`],[`Å`,`A`]],da:rn,nb:rn,de:[[`ä`,`ae`],[`Ä`,`Ae`],[`ö`,`oe`],[`Ö`,`Oe`],[`ü`,`ue`],[`Ü`,`Ue`],[`ß`,`ss`],[`ẞ`,`Ss`]],tr:[[`â`,`a`],[`Â`,`A`],[`ö`,`o`],[`Ö`,`O`],[`ü`,`u`],[`Ü`,`U`]],hu:[[`ű`,`u`],[`Ű`,`U`],[`ö`,`o`],[`Ö`,`O`],[`ü`,`u`],[`Ü`,`U`],[`á`,`a`],[`Á`,`A`],[`é`,`e`],[`É`,`E`],[`í`,`i`],[`Í`,`I`],[`ó`,`o`],[`Ó`,`O`],[`ú`,`u`],[`Ú`,`U`]],sr:[[`ђ`,`dj`],[`Ђ`,`Dj`],[`џ`,`dz`],[`Џ`,`Dz`],[`љ`,`lj`],[`Љ`,`Lj`],[`њ`,`nj`],[`Њ`,`Nj`],[`ћ`,`c`],[`Ћ`,`C`],[`ч`,`ch`],[`Ч`,`Ch`],[`ш`,`sh`],[`Ш`,`Sh`],[`ж`,`zh`],[`Ж`,`Zh`]]};for(let e of Object.keys(an))an[e]=new Map(an[e]);var on=e=>e.replaceAll(/[.*+?^${}()|[\]\\]/g,String.raw`\$&`),sn=e=>{let t=[...e.keys()].sort((e,t)=>t.length-e.length);return new RegExp(t.map(e=>on(e)).join(`|`),`gu`)},cn=sn(nn),ln=new Map;for(let[e,t]of Object.entries(an)){let n=new Map(nn);for(let[e,r]of t)n.set(e,r);ln.set(e,{replacements:n,pattern:sn(n)})}var un=e=>{if(!e)return;let t=e.toLowerCase().replace(/^no(-|$)/,`nb$1`);if(Object.hasOwn(an,t))return t;let n=t.split(`-`)[0];if(Object.hasOwn(an,n))return n};function dn(e,t){if(typeof e!=`string`)throw TypeError(`Expected a string, got \`${typeof e}\``);t={customReplacements:[],...t};let n=un(t.locale),r=[...t.customReplacements],i=nn,a=cn;if(n&&({replacements:i,pattern:a}=ln.get(n)),e=e.normalize(),r.length>0){r.sort((e,t)=>t[0].length-e[0].length);for(let[t,n]of r)e=e.replaceAll(t,n)}return e=e.replace(a,e=>{var t;return(t=i.get(e))==null?e:t}),e=e.normalize(`NFD`).replaceAll(/\p{Diacritic}/gu,``).normalize(),e=e.replaceAll(/\p{Dash_Punctuation}/gu,`-`),e}var fn=[[`&`,` and `],[`🦄`,` unicorn `],[`♥`,` love `]],pn=e=>e.replaceAll(/([A-Z]{2})(\d+)/g,`$1 $2`).replaceAll(/([a-z\d])([A-Z])/g,`$1 $2`).replaceAll(/([A-Z])([A-Z](?!s(?![a-z]))[a-z\d]+)/g,`$1 $2`),mn=(e,t)=>{let n=tn(t);return e.replaceAll(RegExp(`(?:${n}){2,}`,`g`),t).replaceAll(RegExp(`^(?:${n})|(?:${n})$`,`g`),``)},hn=e=>{let t=String.raw`a-z\d`;if(t+=e.lowercase?``:`A-Z`,e.transliterate===!1&&(t+=String.raw`\p{L}\p{N}`),e.preserveCharacters.length>0)for(let n of e.preserveCharacters){if(n===e.separator)throw Error(`The separator character \`${e.separator}\` cannot be included in preserved characters: ${e.preserveCharacters}`);t+=tn(n)}let n=e.transliterate?`g`:`gu`;return RegExp(`[^${t}]+`,n)};function gn(e,t){if(typeof e!=`string`)throw TypeError(`Expected a string, got \`${typeof e}\``);t={separator:`-`,lowercase:!0,decamelize:!0,customReplacements:[],preserveLeadingUnderscore:!1,preserveTrailingDash:!1,preserveCharacters:[],transliterate:!0,...t};let n=t.preserveLeadingUnderscore&&e.startsWith(`_`),r=t.preserveTrailingDash&&e.endsWith(`-`);if(t.transliterate){let n=new Map([...fn,...t.customReplacements]);e=dn(e,{customReplacements:n,locale:t.locale})}else if(t.customReplacements.length>0)for(let[n,r]of t.customReplacements)e=e.replaceAll(n,r);t.decamelize&&(e=pn(e));let i=hn(t);t.lowercase&&(e=t.locale?e.toLocaleLowerCase(t.locale):e.toLowerCase());let a=t.transliterate?/([a-z\d])['\u2019]([ts])(?![a-z\d])/gi:/([\p{L}\p{N}])['\u2019]([ts])(?![\p{L}\p{N}])/giu;return e=e.replaceAll(a,`$1$2`),e=e.replace(i,t.separator),e=e.replaceAll(`\\`,``),t.separator&&(e=mn(e,t.separator)),n&&(e=`_${e}`),r&&(e=`${e}-`),e}var _n=[`href`,`aria-label`],vn={__name:`OAHeading`,props:{id:{type:String,required:!1},level:{type:String,required:!0},prefix:{type:String,default:null},class:{type:String,required:!1},headerAnchorClass:{type:String,default:`header-anchor`}},setup(n){let r=n;function i(e){return e.map(e=>!e.children||typeof e.children==`string`?e.children||``:Array.isArray(e.children)?i(e.children):e.children.default?i(e.children.default()):``).join(``)}let a=(0,t.useSlots)().default,o=(0,t.computed)(()=>i(a())),s=(0,t.computed)(()=>r.id?r.id:gn(r.prefix?`${r.prefix}-${o.value}`:o.value,{decamelize:!1})),c=e.b(),l=(0,t.computed)(()=>{var e;return(e=c.getHeadingLevel(r.level))==null?r.level:e});return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(l.value),{id:s.value,tabindex:`-1`,class:(0,t.normalizeClass)((0,t.unref)(qt)(r.class))},{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`),(0,t.createElementVNode)(`a`,{class:(0,t.normalizeClass)((0,t.unref)(qt)(`header-anchor`,r.headerAnchorClass)),href:`#${s.value}`,"aria-label":`Permalink to ${o.value}`},`​`,10,_n)]),_:3},8,[`id`,`class`]))}},yn=e.Z(((e,t)=>{function n(e,t){var n,r,i=e.attrs[e.attrIndex(`href`)][1];for(n=0;n<t.length;++n){if(r=t[n],typeof r.matcher==`function`){if(r.matcher(i,r))return r;continue}return r}}function r(e,t,n){Object.keys(n).forEach(function(r){var i,a=n[r];r===`className`&&(r=`class`),i=t[e].attrIndex(r),i<0?t[e].attrPush([r,a]):t[e].attrs[i][1]=a})}function i(e,t){t=t?Array.isArray(t)?t:[t]:[],Object.freeze(t);var i=e.renderer.rules.link_open||this.defaultRender;e.renderer.rules.link_open=function(e,a,o,s,c){var l=n(e[a],t),u=l&&l.attrs;return u&&r(a,e,u),i(e,a,o,s,c)}}i.defaultRender=function(e,t,n,r,i){return i.renderToken(e,t,n)},t.exports=i}));function bn(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function xn(e,t,n){bn(e,t),t.set(e,n)}function Sn(e,t,n){if(typeof e==`function`?e===t:e.has(t))return arguments.length<3?t:n;throw TypeError(`Private element is not present on this object`)}function Cn(e,t,n){return e.set(Sn(e,t),n),n}function wn(e,t){return e.get(Sn(e,t))}var eee=e.et(yn(),1);function Tn(e,t,n,r,i){return i.renderToken(e,t,n)}function En(e,t){if(!e.startsWith(t))return null;let n=e.substring(t.length).split(`/`);return n.length>=1?n[0]:null}function Dn(e,t,n){let r=``;return t+1<e.length&&e[t+1].type===`text`&&(r=e[t+1].content),r||(n==null?void 0:n.summary)||(n==null?void 0:n.operationId)||``}function On(e,t,n){return`<a href="${e}" class="OAOperationLink group/oaOperationLink"><span class="OAOperationLink-badge OAMethodBadge--${t.toLowerCase()}">${t.toUpperCase()}</span><span class="OAOperationLink-title">${n}</span></a>`}function kn(e,t,n){e[t].type=`html_inline`,e[t].content=n,e[t].children=[],t+1<e.length&&e[t+1].type===`text`&&(e[t+1].content=``),t+2<e.length&&e[t+2].type===`link_close`?(e[t+2].type=`text`,e[t+2].content=``):t+1<e.length&&e[t+1].type===`link_close`&&(e[t+1].type=`text`,e[t+1].content=``)}var An=(t,n={})=>{let r=t.renderer.rules.link_open||Tn,i=t.renderer.rules.link_close||Tn,{linkPrefix:a=`/operations/`,transformHref:o,createOperationLinkHtml:s}=n;t.renderer.rules.link_open=function(t,n,i,c,l){var u,d;let f=e.n();if(!f)return r(t,n,i,c,l);let p=t[n].attrIndex(`href`);if(p<0)return r(t,n,i,c,l);let m=String(t[n].attrs[p][1]),h=En(m,a);if(!h)return r(t,n,i,c,l);let g=(u=f.getOperation)==null?void 0:u.call(f,h);if(!g)return r(t,n,i,c,l);let _=((d=f.getOperationMethod)==null?void 0:d.call(f,h))||`get`,v=Dn(t,n,g),y=m;o&&(y=o(m),t[n].attrs[p][1]=y);let b=s?s(y,_,v):On(y,_,v);return kn(t,n,b),b},t.renderer.rules.link_close=function(e,t,n,r,a){return e[t].type===`text`&&e[t].content===``?``:i(e,t,n,r,a)}},jn=/^https?:\/\//;function Mn(){let t=e.b(),n=t.getOperationLinkConfig(),{externalLinksNewTab:r,config:i}=t.getMarkdownConfig(),a=e.v({html:!0,breaks:!0});r&&a.use(eee.default,[{matcher(e){return jn.test(e)},attrs:{target:`_blank`,rel:`noopener`}}]),n!==!1&&a.use(An,n),i&&(a=i(a)||a);function o(e){return a.render(e||``)}return{md:a,render:o}}var Nn=[`innerHTML`],Pn={__name:`OAMarkdown`,props:{content:{type:String,required:!1,default:``},class:{type:String,required:!1}},setup(e){let n=e,{render:r}=Mn();return(e,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)((0,t.unref)(qt)(`OAMarkdown oa-doc`,n.class)),innerHTML:(0,t.unref)(r)(n.content)},null,10,Nn))}},Fn=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},In={},Ln={class:`animate-pulse flex flex-col gap-6 p-4`};function Rn(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,Ln,[...n[0]||(n[0]=[(0,t.createStaticVNode)(`<div class="flex flex-col gap-4"><div class="w-1/3 h-10 bg-muted rounded"></div><div class="w-1/4 h-4 bg-muted rounded"></div><div class="w-1/2 h-4 bg-muted rounded"></div></div><hr><div class="flex flex-col gap-4"><div class="w-1/3 h-10 bg-muted rounded"></div><div class="w-full h-20 bg-muted rounded"></div></div><hr><div class="flex flex-col gap-4"><div class="w-1/3 h-10 bg-muted rounded"></div><div class="w-1/2 h-4 bg-muted rounded"></div></div>`,5)])])}var zn=Fn(In,[[`render`,Rn]]),Bn=(0,n.defineComponent)({__name:`OAProviderAsync`,props:{spec:{type:[Object,String],required:!1,default:null},specUrl:{type:String,required:!1,default:null}},emits:[`update:spec`],async setup(t,{emit:r}){let i,a,o=t,s=r;async function c(e){var t;let n=await fetch(e);if(!n.ok)throw Error(`Failed to fetch ${e}: ${n.status} ${n.statusText}`);return(t=n.headers.get(`content-type`))!=null&&t.toLowerCase().includes(`yaml`)||e.endsWith(`.yaml`)||e.endsWith(`.yml`)?await n.text():n.json()}function l(t){return typeof t==`string`?e._(t):t}let u=o.spec||(o.specUrl?([i,a]=(0,n.withAsyncContext)(()=>c(o.specUrl)),i=await i,a(),i):null);u&&s(`update:spec`,u);let d=u?([i,a]=(0,n.withAsyncContext)(()=>e.a().parseAsync({spec:u})),i=await i,a(),i):{},f=e.h({spec:d,originalSpec:u?l(u):null});return(0,n.provide)(e.t,f),(e,t)=>(0,n.renderSlot)(e.$slots,`default`,{openapi:(0,n.unref)(f)})}}),tee={key:2},Vn=(0,n.defineComponent)({__name:`OAProvider`,props:{spec:{type:[Object,String],required:!1,default:null},specUrl:{type:String,required:!1,default:null},openapi:{type:Object,required:!1,default:null}},emits:[`update:spec`],setup(t,{emit:r}){var i,a;let o=t,s=r,c=o.spec||o.specUrl,l=(i=(a=o.openapi)==null?e.r():a)==null?e.n():i;return l&&!c&&(0,n.provide)(e.t,l),(e,t)=>(0,n.unref)(c)?((0,n.openBlock)(),(0,n.createBlock)(n.Suspense,{key:0},{fallback:(0,n.withCtx)(()=>[(0,n.createVNode)(zn)]),default:(0,n.withCtx)(()=>[(0,n.createVNode)(Bn,{spec:o.spec,"spec-url":o.specUrl,"onUpdate:spec":t[0]||(t[0]=e=>s(`update:spec`,e))},{default:(0,n.withCtx)(({openapi:t})=>[(0,n.renderSlot)(e.$slots,`default`,{openapi:t})]),_:3},8,[`spec`,`spec-url`])]),_:3})):(0,n.unref)(l)?(0,n.renderSlot)(e.$slots,`default`,{openapi:(0,n.unref)(l)},void 0,void 0,1):((0,n.openBlock)(),(0,n.createElementBlock)(`div`,tee,[...t[1]||(t[1]=[(0,n.createElementVNode)(`p`,null,`OpenAPI instance not found`,-1)])]))}}),Hn=Symbol(`NOT_RESOLVED`);function Un(e,t){var n,r,i,a,o;return{tagName:e,nodeKind:`scalar`,implicit:(n=t.implicit)!=null&&n,matchByTagPrefix:(r=t.matchByTagPrefix)!=null&&r,implicitFirstChars:(i=t.implicitFirstChars)==null?null:i,resolve:t.resolve,identify:t.identify,represent:(a=t.represent)==null?(e=>String(e)):a,representTagName:(o=t.representTagName)==null?(()=>e):o}}function Wn(e,t){var n,r,i,a;let o=t.finalize===void 0;return{tagName:e,nodeKind:`sequence`,implicit:!1,matchByTagPrefix:(n=t.matchByTagPrefix)!=null&&n,create:t.create,addItem:t.addItem,finalize:(r=t.finalize)==null?(e=>e):r,carrierIsResult:o,identify:t.identify,represent:(i=t.represent)==null?(e=>e):i,representTagName:(a=t.representTagName)==null?(()=>e):a}}function Gn(e,t){var n,r,i,a;let o=t.finalize===void 0;return{tagName:e,nodeKind:`mapping`,implicit:!1,matchByTagPrefix:(n=t.matchByTagPrefix)!=null&&n,create:t.create,addPair:t.addPair,has:t.has,keys:t.keys,get:t.get,finalize:(r=t.finalize)==null?(e=>e):r,carrierIsResult:o,identify:t.identify,represent:(i=t.represent)==null?(e=>e):i,representTagName:(a=t.representTagName)==null?(()=>e):a}}var Kn=Un(`tag:yaml.org,2002:str`,{resolve:e=>e,identify:e=>typeof e==`string`}),qn=[``,`~`,`null`,`Null`,`NULL`],Jn=Un(`tag:yaml.org,2002:null`,{implicit:!0,implicitFirstChars:[``,`~`,`n`,`N`],resolve:e=>qn.indexOf(e)===-1?Hn:null,identify:e=>e===null,represent:()=>`null`}),Yn=Un(`tag:yaml.org,2002:null`,{implicit:!0,implicitFirstChars:[`n`],resolve:(e,t)=>e===`null`||t&&e===``?null:Hn,identify:e=>e===null,represent:()=>`null`}),Xn=[``,`~`,`null`,`Null`,`NULL`],Zn=Un(`tag:yaml.org,2002:null`,{implicit:!0,implicitFirstChars:[``,`~`,`n`,`N`],resolve:e=>Xn.indexOf(e)===-1?Hn:null,identify:e=>e===null,represent:()=>`null`}),Qn=[`true`,`True`,`TRUE`],$n=[`false`,`False`,`FALSE`],er=Un(`tag:yaml.org,2002:bool`,{implicit:!0,implicitFirstChars:[`t`,`T`,`f`,`F`],resolve:e=>Qn.indexOf(e)!==-1||$n.indexOf(e)===-1&&Hn,identify:e=>Object.prototype.toString.call(e)===`[object Boolean]`,represent:e=>e?`true`:`false`}),tr=[`true`],nr=[`false`],nee=Un(`tag:yaml.org,2002:bool`,{implicit:!0,implicitFirstChars:[`t`,`f`],resolve:e=>tr.indexOf(e)!==-1||nr.indexOf(e)===-1&&Hn,identify:e=>Object.prototype.toString.call(e)===`[object Boolean]`,represent:e=>e?`true`:`false`}),ree=[`true`,`True`,`TRUE`,`y`,`Y`,`yes`,`Yes`,`YES`,`on`,`On`,`ON`],iee=[`false`,`False`,`FALSE`,`n`,`N`,`no`,`No`,`NO`,`off`,`Off`,`OFF`],aee=Un(`tag:yaml.org,2002:bool`,{implicit:!0,implicitFirstChars:[`y`,`Y`,`n`,`N`,`t`,`T`,`f`,`F`,`o`,`O`],resolve:e=>ree.indexOf(e)!==-1||iee.indexOf(e)===-1&&Hn,identify:e=>Object.prototype.toString.call(e)===`[object Boolean]`,represent:e=>e?`true`:`false`}),oee=RegExp(`^(?:0o[0-7]+|0x[0-9a-fA-F]+|[-+]?[0-9]+)$`),see=RegExp(`^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$`);function cee(e){let t=e,n=1;return(t[0]===`-`||t[0]===`+`)&&(t[0]===`-`&&(n=-1),t=t.slice(1)),t.startsWith(`0b`)?n*parseInt(t.slice(2),2):t.startsWith(`0o`)?n*parseInt(t.slice(2),8):t.startsWith(`0x`)?n*parseInt(t.slice(2),16):n*parseInt(t,10)}function lee(e,t){if(t){if(!see.test(e))return Hn}else if(!oee.test(e))return Hn;let n=cee(e);return Number.isFinite(n)?n:Hn}var rr=Un(`tag:yaml.org,2002:int`,{implicit:!0,implicitFirstChars:[`-`,`+`,...`0123456789`],resolve:lee,identify:e=>Number.isInteger(e)&&!Object.is(e,-0)&&e.toString(10).indexOf(`e`)<0,represent:e=>e.toString(10)}),uee=RegExp(`^-?(?:0|[1-9][0-9]*)$`),dee=RegExp(`^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$`);function fee(e){let t=e,n=1;return(t[0]===`-`||t[0]===`+`)&&(t[0]===`-`&&(n=-1),t=t.slice(1)),t.startsWith(`0b`)?n*parseInt(t.slice(2),2):t.startsWith(`0o`)?n*parseInt(t.slice(2),8):t.startsWith(`0x`)?n*parseInt(t.slice(2),16):n*parseInt(t,10)}function pee(e,t){if(t){if(!dee.test(e))return Hn}else if(!uee.test(e))return Hn;let n=fee(e);return Number.isFinite(n)?n:Hn}var mee=Un(`tag:yaml.org,2002:int`,{implicit:!0,implicitFirstChars:[`-`,...`0123456789`],resolve:pee,identify:e=>Number.isInteger(e)&&!Object.is(e,-0)&&e.toString(10).indexOf(`e`)<0,represent:e=>e.toString(10)}),hee=RegExp(`^(?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?0x[0-9a-fA-F_]+|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+|[-+]?(?:0|[1-9][0-9_]*))$`);function gee(e){let t=e.replace(/_/g,``),n=1;if((t[0]===`-`||t[0]===`+`)&&(t[0]===`-`&&(n=-1),t=t.slice(1)),t.startsWith(`0b`))return n*parseInt(t.slice(2),2);if(t.startsWith(`0x`))return n*parseInt(t.slice(2),16);if(t.includes(`:`)){let e=0;for(let n of t.split(`:`))e=e*60+Number(n);return n*e}return t!==`0`&&t[0]===`0`?n*parseInt(t,8):n*parseInt(t,10)}function _ee(e){if(!hee.test(e))return Hn;let t=gee(e);return Number.isFinite(t)?t:Hn}var ir=Un(`tag:yaml.org,2002:int`,{implicit:!0,implicitFirstChars:[`-`,`+`,...`0123456789`],resolve:_ee,identify:e=>Number.isInteger(e)&&!Object.is(e,-0)&&e.toString(10).indexOf(`e`)<0,represent:e=>e.toString(10)}),vee=RegExp(`^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`),yee=RegExp(`^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function bee(e){if(!vee.test(e))return Hn;let t=e.toLowerCase(),n=t[0]===`-`?-1:1;if(`+-`.includes(t[0])&&(t=t.slice(1)),t===`.inf`)return n===1?1/0:-1/0;if(t===`.nan`)return NaN;let r=n*parseFloat(t);return Number.isFinite(r)||yee.test(e)?r:Hn}function xee(e){if(isNaN(e))return`.nan`;if(e===1/0)return`.inf`;if(e===-1/0)return`-.inf`;if(Object.is(e,-0))return`-0.0`;let t=e.toString(10);return/^[-+]?[0-9]+e/.test(t)?t.replace(`e`,`.e`):t}var ar=Un(`tag:yaml.org,2002:float`,{implicit:!0,implicitFirstChars:[`-`,`+`,`.`,...`0123456789`],resolve:bee,identify:e=>typeof e==`number`&&(!Number.isInteger(e)||Object.is(e,-0)||e.toString(10).indexOf(`e`)>=0),represent:xee}),See=RegExp(`^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$`),or=RegExp(`^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function Cee(e,t){if(t){if(!or.test(e))return Hn;let t=e.toLowerCase(),n=t[0]===`-`?-1:1;if(`+-`.includes(t[0])&&(t=t.slice(1)),t===`.inf`)return n===1?1/0:-1/0;if(t===`.nan`)return NaN;let r=n*parseFloat(t);return Number.isFinite(r)?r:Hn}if(!See.test(e))return Hn;let n=Number(e);return Number.isFinite(n)?n:Hn}function sr(e){if(isNaN(e))return`.nan`;if(e===1/0)return`.inf`;if(e===-1/0)return`-.inf`;if(Object.is(e,-0))return`-0.0`;let t=e.toString(10);return/^[-+]?[0-9]+e/.test(t)?t.replace(`e`,`.e`):t}var cr=Un(`tag:yaml.org,2002:float`,{implicit:!0,implicitFirstChars:[`-`,...`0123456789`],resolve:Cee,identify:e=>typeof e==`number`&&(!Number.isInteger(e)||Object.is(e,-0)||e.toString(10).indexOf(`e`)>=0),represent:sr}),lr=RegExp(`^(?:[-+]?(?:(?:[0-9][0-9_]*)?\\.[0-9_]*)(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`),ur=RegExp(`^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function dr(e){if(!lr.test(e))return Hn;let t=e.toLowerCase().replace(/_/g,``),n=t[0]===`-`?-1:1;if(`+-`.includes(t[0])&&(t=t.slice(1)),t===`.inf`)return n===1?1/0:-1/0;if(t===`.nan`)return NaN;let r=0;if(t.includes(`:`)){for(let e of t.split(`:`))r=r*60+Number(e);r*=n}else r=n*parseFloat(t);return Number.isFinite(r)||ur.test(e)?r:Hn}function fr(e){if(isNaN(e))return`.nan`;if(e===1/0)return`.inf`;if(e===-1/0)return`-.inf`;if(Object.is(e,-0))return`-0.0`;let t=e.toString(10);return/^[-+]?[0-9]+e/.test(t)?t.replace(`e`,`.e`):t}var pr=Un(`tag:yaml.org,2002:float`,{implicit:!0,implicitFirstChars:[`-`,`+`,`.`,...`0123456789`],resolve:dr,identify:e=>typeof e==`number`&&(!Number.isInteger(e)||Object.is(e,-0)||e.toString(10).indexOf(`e`)>=0),represent:fr}),mr=Un(`tag:yaml.org,2002:merge`,{implicit:!0,implicitFirstChars:[`<`],resolve:(e,t)=>e===`<<`||t&&e===``?`<<`:Hn,identify:()=>!1}),hr=/^[A-Za-z0-9+/]*={0,2}$/;function gr(e){let t=e.replace(/\s/g,``);if(t.length%4!=0||!hr.test(t))return Hn;let n=atob(t),r=new Uint8Array(n.length);for(let e=0;e<n.length;e++)r[e]=n.charCodeAt(e);return r}function _r(e){let t=``;for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}var wee=Un(`tag:yaml.org,2002:binary`,{resolve:gr,identify:e=>Object.prototype.toString.call(e)===`[object Uint8Array]`,represent:_r}),Tee=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$`),Eee=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$`);function vr(e,t,n,r=0,i=0,a=0,o=0){let s=new Date(Date.UTC(e,t,n,r,i,a,o));return s.setUTCFullYear(e,t,n),s}function Dee(e){let t=Tee.exec(e);if(t===null&&(t=Eee.exec(e)),t===null)return Hn;let n=+t[1],r=t[2]-1,i=+t[3];if(!t[4]){let e=vr(n,r,i);return e.getUTCFullYear()!==n||e.getUTCMonth()!==r||e.getUTCDate()!==i?Hn:e}let a=+t[4],o=+t[5],s=+t[6],c=0;if(a>23||o>59||s>59)return Hn;if(t[7]){let e=t[7].slice(0,3);for(;e.length<3;)e+=`0`;c=+e}let l=vr(n,r,i,a,o,s,c);if(l.getUTCFullYear()!==n||l.getUTCMonth()!==r||l.getUTCDate()!==i)return Hn;if(t[9]){let e=+t[10],n=+(t[11]||0);if(e>23||n>59)return Hn;let r=(e*60+n)*6e4;l.setTime(l.getTime()-(t[9]===`-`?-r:r))}return l}var Oee=Un(`tag:yaml.org,2002:timestamp`,{implicit:!0,implicitFirstChars:[...`0123456789`],resolve:Dee,identify:e=>e instanceof Date,represent:e=>e.toISOString()}),kee=Wn(`tag:yaml.org,2002:seq`,{create:()=>[],addItem:(e,t)=>{e.push(t)},identify:Array.isArray});function yr(e){if(typeof e!=`object`||!e||Array.isArray(e))return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function br(e,t){let n={};for(let r of t)e[r]!==void 0&&(n[r]=e[r]);return n}var xr=Wn(`tag:yaml.org,2002:omap`,{create:()=>({list:[],seen:new Set}),addItem:(e,t)=>{let n;if(t instanceof Map){if(t.size!==1)return`cannot resolve an ordered map item`;n=t.keys().next().value}else if(yr(t)){let e=Object.keys(t);if(e.length!==1)return`cannot resolve an ordered map item`;n=e[0]}else return`cannot resolve an ordered map item`;return e.seen.has(n)?`duplicate key in ordered map`:(e.seen.add(n),e.list.push(t),``)},finalize:e=>e.list,identify:()=>!1}),Sr=Wn(`tag:yaml.org,2002:pairs`,{create:()=>[],addItem:(e,t)=>{if(t instanceof Map)return t.size===1?(e.push(t.entries().next().value),``):`cannot resolve a pairs item`;if(Object.prototype.toString.call(t)!==`[object Object]`)return`cannot resolve a pairs item`;let n=t,r=Object.keys(n);return r.length===1?(e.push([r[0],n[r[0]]]),``):`cannot resolve a pairs item`},identify:()=>!1}),Cr=Gn(`tag:yaml.org,2002:map`,{create:()=>({}),identify:yr,represent:e=>{let t=new Map;for(let n of Object.keys(e))t.set(n,e[n]);return t},addPair:(e,t,n)=>{if(typeof t==`object`&&t)return`object-based map does not support complex keys`;let r=String(t);return r===`__proto__`?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,``},has:(e,t)=>typeof t==`object`&&t?!1:Object.prototype.hasOwnProperty.call(e,String(t)),keys:e=>Object.keys(e),get:(e,t)=>{let n=String(t);return Object.prototype.hasOwnProperty.call(e,n)?e[n]:null}}),wr=Gn(`tag:yaml.org,2002:set`,{create:()=>new Set,identify:e=>e instanceof Set,represent:e=>{let t=new Map;for(let n of e)t.set(n,null);return t},addPair:(e,t,n)=>n===null?(e.add(t),``):`cannot resolve a set item`,has:(e,t)=>e.has(t),keys:e=>e.keys(),get:()=>null});function Tr(){return{scalar:Object.create(null),sequence:Object.create(null),mapping:Object.create(null)}}function Er(){return{scalar:[],sequence:[],mapping:[]}}function Dr(e){let t=[];for(let n of e){let e=t.length;for(let r=0;r<t.length;r++){let i=t[r];if(i.nodeKind===n.nodeKind&&i.tagName===n.tagName&&i.matchByTagPrefix===n.matchByTagPrefix){e=r;break}}t[e]=n}return t}var Or=class t{constructor(t){e.M(this,`tags`,void 0),e.M(this,`implicitScalarTags`,void 0),e.M(this,`implicitScalarByFirstChar`,void 0),e.M(this,`implicitScalarAnyFirstChar`,void 0),e.M(this,`defaultScalarTag`,void 0),e.M(this,`defaultSequenceTag`,void 0),e.M(this,`defaultMappingTag`,void 0),e.M(this,`exact`,void 0),e.M(this,`prefix`,void 0);let n=Dr(t),r=[],i=Tr(),a=Er();for(let e of n){if(e.nodeKind===`scalar`&&e.implicit){if(e.matchByTagPrefix)throw Error(`Implicit scalar tags cannot match by tag prefix`);r.push(e)}switch(e.nodeKind){case`scalar`:e.matchByTagPrefix?a.scalar.push(e):i.scalar[e.tagName]=e;break;case`sequence`:e.matchByTagPrefix?a.sequence.push(e):i.sequence[e.tagName]=e;break;case`mapping`:e.matchByTagPrefix?a.mapping.push(e):i.mapping[e.tagName]=e}}let o=r.filter(e=>e.implicitFirstChars===null),s=new Set;for(let e of r)if(e.implicitFirstChars!==null)for(let t of e.implicitFirstChars)s.add(t);let c=new Map;for(let e of s)c.set(e,r.filter(t=>t.implicitFirstChars===null||t.implicitFirstChars.indexOf(e)!==-1));let l=i.scalar[`tag:yaml.org,2002:str`];if(!l)throw Error(`schema does not define the default scalar tag (tag:yaml.org,2002:str)`);this.tags=n,this.implicitScalarTags=r,this.implicitScalarByFirstChar=c,this.implicitScalarAnyFirstChar=o,this.defaultScalarTag=l,this.defaultSequenceTag=i.sequence[`tag:yaml.org,2002:seq`],this.defaultMappingTag=i.mapping[`tag:yaml.org,2002:map`],this.exact=i,this.prefix=a}lookupScalarTag(e){let t=this.exact.scalar[e];if(t)return t;for(let t of this.prefix.scalar)if(e.startsWith(t.tagName))return t}lookupSequenceTag(e){let t=this.exact.sequence[e];if(t)return t;for(let t of this.prefix.sequence)if(e.startsWith(t.tagName))return t}lookupMappingTag(e){let t=this.exact.mapping[e];if(t)return t;for(let t of this.prefix.mapping)if(e.startsWith(t.tagName))return t}resolveImplicitScalarTag(e){var t;let n=(t=this.implicitScalarByFirstChar.get(e.charAt(0)))==null?this.implicitScalarAnyFirstChar:t;for(let t of n){let n=t.resolve(e,!1,t.tagName);if(n!==Hn)return{value:n,tag:t}}let r=this.defaultScalarTag;return{value:r.resolve(e,!1,r.tagName),tag:r}}withTags(...e){let n=[];for(let t of e)n=n.concat(t);return new t([...this.tags,...n])}},kr=new Or([Kn,kee,Cr]);new Or([...kr.tags,Yn,nee,mee,cr]);var Ar=new Or([...kr.tags,Jn,er,rr,ar]),jr=new Or([...kr.tags,Zn,aee,ir,pr,Oee,mr,wee,xr,Sr,wr]).withTags({...ir,resolve:(e,t,n)=>{let r=ir.resolve(e,t,n);return r===Hn?rr.resolve(e,t,n):r}},{...pr,resolve:(e,t,n)=>{let r=pr.resolve(e,t,n);return r===Hn?ar.resolve(e,t,n):r}});Gn(`tag:yaml.org,2002:map`,{create:()=>new Map,addPair:(e,t,n)=>(e.set(t,n),``),has:(e,t)=>e.has(t),keys:e=>e.keys(),get:(e,t)=>e.get(t),identify:e=>e instanceof Map||yr(e),represent:e=>{if(e instanceof Map)return e;let t=new Map,n=e;for(let e of Object.keys(n))t.set(e,n[e]);return t}});function Mr(e){if(Array.isArray(e)){let t=Array.prototype.slice.call(e);for(let e=0;e<t.length;e++){if(Array.isArray(t[e]))return null;typeof t[e]==`object`&&Object.prototype.toString.call(t[e])===`[object Object]`&&(t[e]=`[object Object]`)}return String(t)}return typeof e==`object`&&Object.prototype.toString.call(e)===`[object Object]`?`[object Object]`:String(e)}Gn(`tag:yaml.org,2002:map`,{create:()=>({}),identify:yr,represent:e=>{let t=new Map;for(let n of Object.keys(e))t.set(n,e[n]);return t},addPair:(e,t,n)=>{let r=Mr(t);return r===null?`nested arrays are not supported inside keys`:(r===`__proto__`?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,``)},has:(e,t)=>{let n=Mr(t);return n!==null&&Object.prototype.hasOwnProperty.call(e,n)},keys:e=>Object.keys(e),get:(e,t)=>{let n=String(t);return Object.prototype.hasOwnProperty.call(e,n)?e[n]:null}});var Nr={maxLength:79,indent:1,linesBefore:3,linesAfter:2};function Pr(e,t,n,r,i){let a=``,o=``,s=Math.floor(i/2)-1;return r-t>s&&(a=` ... `,t=r-s+a.length),n-r>s&&(o=` ...`,n=r+s-o.length),{str:a+e.slice(t,n).replace(/\t/g,`→`)+o,pos:r-t+a.length}}function Fr(e,t){return` `.repeat(Math.max(t-e.length,0))+e}function Ir(e,t){if(!e.buffer)return null;let n={...Nr,...t},r=/\r?\n|\r|\0/g,i=[0],a=[],o,s=-1;for(;o=r.exec(e.buffer);)a.push(o.index),i.push(o.index+o[0].length),e.position<=o.index&&s<0&&(s=i.length-2);s<0&&(s=i.length-1);let c=``,l=Math.min(e.line+n.linesAfter,a.length).toString().length,u=n.maxLength-(n.indent+l+3);for(let t=1;t<=n.linesBefore&&!(s-t<0);t++){let r=Pr(e.buffer,i[s-t],a[s-t],e.position-(i[s]-i[s-t]),u);c=`${` `.repeat(n.indent)}${Fr((e.line-t+1).toString(),l)} | ${r.str}\n${c}`}let d=Pr(e.buffer,i[s],a[s],e.position,u);c+=`${` `.repeat(n.indent)}${Fr((e.line+1).toString(),l)} | ${d.str}\n`,c+=`${`-`.repeat(n.indent+l+3+d.pos)}^\n`;for(let t=1;t<=n.linesAfter&&!(s+t>=a.length);t++){let r=Pr(e.buffer,i[s+t],a[s+t],e.position-(i[s]-i[s+t]),u);c+=`${` `.repeat(n.indent)}${Fr((e.line+t+1).toString(),l)} | ${r.str}\n`}return c.replace(/\n$/,``)}function Lr(e,t){let n=``;return e.mark?(e.mark.name&&(n+=`in "${e.mark.name}" `),n+=`(${e.mark.line+1}:${e.mark.column+1})`,!t&&e.mark.snippet&&(n+=`\n\n${e.mark.snippet}`),`${e.reason} ${n}`):e.reason}var Rr=class t extends Error{constructor(t,n){super(),e.M(this,`reason`,void 0),e.M(this,`mark`,void 0),this.name=`YAMLException`,this.reason=t,this.mark=n,this.message=Lr(this,!1),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}toString(e){return`${this.name}: ${Lr(this,e)}`}static throwAt(e,n,r,i=``){let a=0,o=0;for(let t=0;t<n;t++){let n=e.charCodeAt(t);n===10?(a++,o=t+1):n===13&&(a++,e.charCodeAt(t+1)===10&&t++,o=t+1)}let s={name:i,buffer:e,position:n,line:a,column:n-o};throw s.snippet=Ir(s),new t(r,s)}},zr={DOCUMENT:1,SEQUENCE:2,MAPPING:3,SCALAR:4,ALIAS:5,POP:6},Br={PLAIN:1,SINGLE_QUOTED:2,DOUBLE_QUOTED:3,LITERAL_BLOCK:4,FOLDED_BLOCK:5},Vr={BLOCK:1,FLOW:2},Hr={CLIP:1,STRIP:2,KEEP:3};function Ur(e){switch(e){case 48:return`\0`;case 97:return`\x07`;case 98:return`\b`;case 116:return` `;case 9:return` `;case 110:return`
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0],u=a;n(`update:selectedValue`,u),n(`selectedChange`,u,l)}},ee=function(e){n(`nodeClick`,e)},te=function(e){n(`nodeMouseover`,e)},ne=function(e,t){if(e)s.hiddenPaths=pe(pe({},s.hiddenPaths),{},C({},t,1));else{var n=pe({},s.hiddenPaths);delete n[t],s.hiddenPaths=n}},D=function(t,r){e.collapsedOnClickBrackets&&ne(t,r.path),n(`bracketsClick`,t,r)},re=function(e,t){ne(e,t.path),n(`iconClick`,e,t)},O=function(t,r){var i=ae(e.data),a=e.rootPath;Function(`data`,`val`,`data${r.slice(a.length)}=val`)(i,t),n(`update:data`,i)};return(0,w.watchEffect)((function(){_.value&&function(e){throw Error(`[VueJSONPretty] ${e}`)}(_.value)})),(0,w.watchEffect)((function(){h.value&&(e.virtual&&e.dynamicHeight&&c.length!==h.value.length&&f(h.value.length),y())})),(0,w.watch)((function(){return[e.dynamicHeight,e.itemHeight,a.value.length]}),(function(){e.virtual&&e.dynamicHeight&&(f(h.value.length),(0,w.nextTick)(y))})),(0,w.watch)((function(){return e.deep}),(function(t){t&&(s.hiddenPaths=o(t,e.collapsedNodeLength))})),(0,w.watch)((function(){return e.collapsedNodeLength}),(function(t){t&&(s.hiddenPaths=o(e.deep,t))})),function(){var t,n,o,c,l,u=(t=e.renderNodeKey)==null?r.renderNodeKey:t,f=(n=e.renderNodeValue)==null?r.renderNodeValue:n,p=(o=(c=e.renderNodeActions)==null?r.renderNodeActions:c)!=null&&o,m=(l=s.visibleData)==null?void 0:l.map((function(t,n){var r=s.startIndex+n;return(0,w.createVNode)(`div`,{key:t.id,ref:function(e){return function(e,t){t?d[e]=t:delete d[e]}(r,e||null)}},[(0,w.createVNode)(de,{data:e.data,rootPath:e.rootPath,indent:e.indent,node:t,collapsed:!!s.hiddenPaths[t.path],theme:e.theme,showDoubleQuotes:e.showDoubleQuotes,showLength:e.showLength,checked:g.value.includes(t.path),selectableType:e.selectableType,showLine:e.showLine,showLineNumber:e.showLineNumber,showSelectController:e.showSelectController,selectOnClickNode:e.selectOnClickNode,nodeSelectable:e.nodeSelectable,highlightSelectedNode:e.highlightSelectedNode,editable:e.editable,editableTrigger:e.editableTrigger,showIcon:e.showIcon,showKeyValueSpace:e.showKeyValueSpace,renderNodeKey:u,renderNodeValue:f,renderNodeActions:p,onNodeClick:ee,onNodeMouseover:te,onBracketsClick:D,onIconClick:re,onSelectedChange:E,onValueChange:O,class:e.dynamicHeight?`dynamic-height`:void 0,style:e.dynamicHeight?{}:e.itemHeight&&e.itemHeight!==20?{lineHeight:`${e.itemHeight}px`}:{}},null)])}));return(0,w.createVNode)(`div`,{ref:i,class:{"vjs-tree":!0,"is-virtual":e.virtual,dark:e.theme===`dark`},onScroll:e.virtual?T:void 0,style:e.showLineNumber?pe({paddingLeft:`${12*Number(a.value.length.toString().length)}px`},e.style):e.style},[e.virtual?(0,w.createVNode)(`div`,{class:`vjs-tree-list`,style:{height:`${e.height}px`}},[(0,w.createVNode)(`div`,{class:`vjs-tree-list-holder`,style:{height:`${v.value}px`}},[(0,w.createVNode)(`div`,{class:`vjs-tree-list-holder-inner`,style:{transform:`translateY(${s.translateY}px)`}},[m])])]):m])}}}),he=y.A,ge={__name:`OAVueJsonPretty`,props:{code:{type:[String,Object,Array,Number,Boolean],required:!0},deep:{type:Number}},setup(n){let r=n,i=e.b(),a=i.isDark,o=(0,t.computed)(()=>typeof r.code==`string`?h(r.code):r.code),s=(0,t.computed)(()=>{var e,t;return(e=(t=r.deep)==null?i.getJsonViewerDeep():t)==null?3:e}),c=(0,t.computed)(()=>a.value?`dark`:`light`);return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(he),{data:o.value,theme:c.value,deep:s.value,"show-icon":``,class:`p-2`},null,8,[`data`,`theme`,`deep`]))}},A={class:`text-sm text-muted-foreground text-center`},_e={__name:`OAFooter`,setup(e){let{t:n}=l();return(e,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`span`,A,[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(n)(`Powered by`))+` `,1),r[0]||(r[0]=(0,t.createElementVNode)(`a`,{href:`https://github.com/enzonotario/vitepress-openapi`,target:`_blank`,rel:`noopener noreferrer`},` VitePress OpenAPI `,-1))]))}};function j(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=j(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function ve(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=j(e))&&(r&&(r+=` `),r+=t);return r}var ye=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,be=ve,M=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return be(e,n==null?void 0:n.class,n==null?void 0:n.className);let{variants:i,defaultVariants:a}=t,o=Object.keys(i).map(e=>{let t=n==null?void 0:n[e],r=a==null?void 0:a[e];if(t===null)return null;let o=ye(t)||ye(r);return i[e][o]}),s=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return be(e,o,t==null||(r=t.compoundVariants)==null?void 0:r.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...a,...s}[t]):{...a,...s}[t]===n})?[...e,n,r]:e},[]),n==null?void 0:n.class,n==null?void 0:n.className)},N=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},xe=(e,t)=>({classGroupId:e,validator:t}),Se=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Ce=`-`,we=[],Te=`arbitrary..`,Ee=e=>{let t=ke(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return Oe(e);let n=e.split(Ce);return De(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?N(i,t):t:i||we}return n[e]||we}}},De=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=De(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(Ce):e.slice(t).join(Ce),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},Oe=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?Te+r:void 0})(),ke=e=>{let{theme:t,classGroups:n}=e;return Ae(n,t)},Ae=(e,t)=>{let n=Se();for(let r in e){let i=e[r];je(i,n,r,t)}return n},je=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Me(i,t,n,r)}},Me=(e,t,n,r)=>{if(typeof e==`string`){Ne(e,t,n);return}if(typeof e==`function`){Pe(e,t,n,r);return}Fe(e,t,n,r)},Ne=(e,t,n)=>{let r=e===``?t:Ie(t,e);r.classGroupId=n},Pe=(e,t,n,r)=>{if(Le(e)){je(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(xe(n,e))},Fe=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];je(o,Ie(t,a),n,r)}},Ie=(e,t)=>{let n=e,r=t.split(Ce),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=Se(),n.nextPart.set(t,i)),n=i}return n},Le=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,P=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},Re=`!`,ze=`:`,Be=[],Ve=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),He=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===ze){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(Re)?(c=s.slice(0,-1),l=!0):s.startsWith(Re)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return Ve(t,l,c,u)};if(t){let e=t+ze,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Ve(Be,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},Ue=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},We=e=>({cache:P(e.cacheSize),parseClassName:He(e),sortModifiers:Ue(e),postfixLookupClassGroupIds:Ge(e),...Ee(e)}),Ge=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},Ke=/\s+/,qe=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(Ke),l=``;for(let e=c.length-1;e>=0;--e){let t=c[e],{isExternal:u,modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(u){l=t+(l.length>0?` `+l:l);continue}let h=!!m,g;if(h){g=r(p.substring(0,m));let e=g&&o[g]?r(p):void 0;e&&e!==g&&(g=e,h=!1)}else g=r(p);if(!g){if(!h){l=t+(l.length>0?` `+l:l);continue}if(g=r(p),!g){l=t+(l.length>0?` `+l:l);continue}h=!1}let _=d.length===0?``:d.length===1?d[0]:a(d).join(`:`),v=f?_+Re:_,y=v+g;if(s.indexOf(y)>-1)continue;s.push(y);let b=i(g,h);for(let e=0;e<b.length;++e){let t=b[e];s.push(v+t)}l=t+(l.length>0?` `+l:l)}return l},Je=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=Ye(n))&&(i&&(i+=` `),i+=r);return i},Ye=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=Ye(e[r]))&&(n&&(n+=` `),n+=t);return n},Xe=(e,...t)=>{let n,r,i,a,o=o=>(n=We(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=qe(e,n);return i(e,a),a};return a=o,(...e)=>a(Je(...e))},Ze=[],Qe=e=>{let t=t=>t[e]||Ze;return t.isThemeGetter=!0,t},$e=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,et=/^\((?:(\w[\w-]*):)?(.+)\)$/i,tt=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,nt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,rt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,it=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,at=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ot=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,st=e=>tt.test(e),ct=e=>!!e&&!Number.isNaN(Number(e)),lt=e=>!!e&&Number.isInteger(Number(e)),ut=e=>e.endsWith(`%`)&&ct(e.slice(0,-1)),dt=e=>nt.test(e),ft=()=>!0,pt=e=>rt.test(e)&&!it.test(e),mt=()=>!1,ht=e=>at.test(e),gt=e=>ot.test(e),_t=e=>!bt(e)&&!Ot(e),vt=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),yt=e=>It(e,Bt,mt),bt=e=>$e.test(e),xt=e=>It(e,Vt,pt),St=e=>It(e,Ht,ct),Ct=e=>It(e,Wt,ft),wt=e=>It(e,Ut,mt),Tt=e=>It(e,Rt,mt),Et=e=>It(e,zt,gt),Dt=e=>It(e,Gt,ht),Ot=e=>et.test(e),kt=e=>Lt(e,Vt),At=e=>Lt(e,Ut),jt=e=>Lt(e,Rt),Mt=e=>Lt(e,Bt),Nt=e=>Lt(e,zt),Pt=e=>Lt(e,Gt,!0),Ft=e=>Lt(e,Wt,!0),It=(e,t,n)=>{let r=$e.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Lt=(e,t,n=!1)=>{let r=et.exec(e);return r?r[1]?t(r[1]):n:!1},Rt=e=>e===`position`||e===`percentage`,zt=e=>e===`image`||e===`url`,Bt=e=>e===`length`||e===`size`||e===`bg-size`,Vt=e=>e===`length`,Ht=e=>e===`number`,Ut=e=>e===`family-name`,Wt=e=>e===`number`||e===`weight`,Gt=e=>e===`shadow`,Kt=Xe(()=>{let e=Qe(`color`),t=Qe(`font`),n=Qe(`text`),r=Qe(`font-weight`),i=Qe(`tracking`),a=Qe(`leading`),o=Qe(`breakpoint`),s=Qe(`container`),c=Qe(`spacing`),l=Qe(`radius`),u=Qe(`shadow`),d=Qe(`inset-shadow`),f=Qe(`text-shadow`),p=Qe(`drop-shadow`),m=Qe(`blur`),h=Qe(`perspective`),g=Qe(`aspect`),_=Qe(`ease`),v=Qe(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),Ot,bt],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[Ot,bt,c],T=()=>[st,`full`,`auto`,...w()],E=()=>[lt,`none`,`subgrid`,Ot,bt],ee=()=>[`auto`,{span:[`full`,lt,Ot,bt]},lt,Ot,bt],te=()=>[lt,`auto`,Ot,bt],ne=()=>[`auto`,`min`,`max`,`fr`,Ot,bt],D=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],re=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],ie=()=>[`auto`,...w()],O=()=>[st,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ae=()=>[st,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],oe=()=>[st,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],k=()=>[e,Ot,bt],se=()=>[...b(),jt,Tt,{position:[Ot,bt]}],ce=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],le=()=>[`auto`,`cover`,`contain`,Mt,yt,{size:[Ot,bt]}],ue=()=>[ut,kt,xt],de=()=>[``,`none`,`full`,l,Ot,bt],fe=()=>[``,ct,kt,xt],pe=()=>[`solid`,`dashed`,`dotted`,`double`],me=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],he=()=>[ct,ut,jt,Tt],ge=()=>[``,`none`,m,Ot,bt],A=()=>[`none`,ct,Ot,bt],_e=()=>[`none`,ct,Ot,bt],j=()=>[ct,Ot,bt],ve=()=>[st,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[dt],breakpoint:[dt],color:[ft],container:[dt],"drop-shadow":[dt],ease:[`in`,`out`,`in-out`],font:[_t],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[dt],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[dt],shadow:[dt],spacing:[`px`,ct],text:[dt],"text-shadow":[dt],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,st,bt,Ot,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,Ot,bt]}],"container-named":[vt],columns:[{columns:[ct,bt,Ot,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[lt,`auto`,Ot,bt]}],basis:[{basis:[st,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[ct,st,`auto`,`initial`,`none`,bt]}],grow:[{grow:[``,ct,Ot,bt]}],shrink:[{shrink:[``,ct,Ot,bt]}],order:[{order:[lt,`first`,`last`,`none`,Ot,bt]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:ee()}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:ee()}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":ne()}],"auto-rows":[{"auto-rows":ne()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...D(),`normal`]}],"justify-items":[{"justify-items":[...re(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...re()]}],"align-content":[{content:[`normal`,...D()]}],"align-items":[{items:[...re(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...re(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":D()}],"place-items":[{"place-items":[...re(),`baseline`]}],"place-self":[{"place-self":[`auto`,...re()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:ie()}],mx:[{mx:ie()}],my:[{my:ie()}],ms:[{ms:ie()}],me:[{me:ie()}],mbs:[{mbs:ie()}],mbe:[{mbe:ie()}],mt:[{mt:ie()}],mr:[{mr:ie()}],mb:[{mb:ie()}],ml:[{ml:ie()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:O()}],"inline-size":[{inline:[`auto`,...ae()]}],"min-inline-size":[{"min-inline":[`auto`,...ae()]}],"max-inline-size":[{"max-inline":[`none`,...ae()]}],"block-size":[{block:[`auto`,...oe()]}],"min-block-size":[{"min-block":[`auto`,...oe()]}],"max-block-size":[{"max-block":[`none`,...oe()]}],w:[{w:[s,`screen`,...O()]}],"min-w":[{"min-w":[s,`screen`,`none`,...O()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...O()]}],h:[{h:[`screen`,`lh`,...O()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...O()]}],"max-h":[{"max-h":[`screen`,`lh`,...O()]}],"font-size":[{text:[`base`,n,kt,xt]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Ft,Ct]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,ut,bt]}],"font-family":[{font:[At,wt,t]}],"font-features":[{"font-features":[bt]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,Ot,bt]}],"line-clamp":[{"line-clamp":[ct,`none`,Ot,St]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,Ot,bt]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,Ot,bt]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:k()}],"text-color":[{text:k()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...pe(),`wavy`]}],"text-decoration-thickness":[{decoration:[ct,`from-font`,`auto`,Ot,xt]}],"text-decoration-color":[{decoration:k()}],"underline-offset":[{"underline-offset":[ct,`auto`,Ot,bt]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[lt,Ot,bt]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,Ot,bt]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,Ot,bt]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:se()}],"bg-repeat":[{bg:ce()}],"bg-size":[{bg:le()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},lt,Ot,bt],radial:[``,Ot,bt],conic:[lt,Ot,bt]},Nt,Et]}],"bg-color":[{bg:k()}],"gradient-from-pos":[{from:ue()}],"gradient-via-pos":[{via:ue()}],"gradient-to-pos":[{to:ue()}],"gradient-from":[{from:k()}],"gradient-via":[{via:k()}],"gradient-to":[{to:k()}],rounded:[{rounded:de()}],"rounded-s":[{"rounded-s":de()}],"rounded-e":[{"rounded-e":de()}],"rounded-t":[{"rounded-t":de()}],"rounded-r":[{"rounded-r":de()}],"rounded-b":[{"rounded-b":de()}],"rounded-l":[{"rounded-l":de()}],"rounded-ss":[{"rounded-ss":de()}],"rounded-se":[{"rounded-se":de()}],"rounded-ee":[{"rounded-ee":de()}],"rounded-es":[{"rounded-es":de()}],"rounded-tl":[{"rounded-tl":de()}],"rounded-tr":[{"rounded-tr":de()}],"rounded-br":[{"rounded-br":de()}],"rounded-bl":[{"rounded-bl":de()}],"border-w":[{border:fe()}],"border-w-x":[{"border-x":fe()}],"border-w-y":[{"border-y":fe()}],"border-w-s":[{"border-s":fe()}],"border-w-e":[{"border-e":fe()}],"border-w-bs":[{"border-bs":fe()}],"border-w-be":[{"border-be":fe()}],"border-w-t":[{"border-t":fe()}],"border-w-r":[{"border-r":fe()}],"border-w-b":[{"border-b":fe()}],"border-w-l":[{"border-l":fe()}],"divide-x":[{"divide-x":fe()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":fe()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...pe(),`hidden`,`none`]}],"divide-style":[{divide:[...pe(),`hidden`,`none`]}],"border-color":[{border:k()}],"border-color-x":[{"border-x":k()}],"border-color-y":[{"border-y":k()}],"border-color-s":[{"border-s":k()}],"border-color-e":[{"border-e":k()}],"border-color-bs":[{"border-bs":k()}],"border-color-be":[{"border-be":k()}],"border-color-t":[{"border-t":k()}],"border-color-r":[{"border-r":k()}],"border-color-b":[{"border-b":k()}],"border-color-l":[{"border-l":k()}],"divide-color":[{divide:k()}],"outline-style":[{outline:[...pe(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[ct,Ot,bt]}],"outline-w":[{outline:[``,ct,kt,xt]}],"outline-color":[{outline:k()}],shadow:[{shadow:[``,`none`,u,Pt,Dt]}],"shadow-color":[{shadow:k()}],"inset-shadow":[{"inset-shadow":[`none`,d,Pt,Dt]}],"inset-shadow-color":[{"inset-shadow":k()}],"ring-w":[{ring:fe()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:k()}],"ring-offset-w":[{"ring-offset":[ct,xt]}],"ring-offset-color":[{"ring-offset":k()}],"inset-ring-w":[{"inset-ring":fe()}],"inset-ring-color":[{"inset-ring":k()}],"text-shadow":[{"text-shadow":[`none`,f,Pt,Dt]}],"text-shadow-color":[{"text-shadow":k()}],opacity:[{opacity:[ct,Ot,bt]}],"mix-blend":[{"mix-blend":[...me(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":me()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[ct]}],"mask-image-linear-from-pos":[{"mask-linear-from":he()}],"mask-image-linear-to-pos":[{"mask-linear-to":he()}],"mask-image-linear-from-color":[{"mask-linear-from":k()}],"mask-image-linear-to-color":[{"mask-linear-to":k()}],"mask-image-t-from-pos":[{"mask-t-from":he()}],"mask-image-t-to-pos":[{"mask-t-to":he()}],"mask-image-t-from-color":[{"mask-t-from":k()}],"mask-image-t-to-color":[{"mask-t-to":k()}],"mask-image-r-from-pos":[{"mask-r-from":he()}],"mask-image-r-to-pos":[{"mask-r-to":he()}],"mask-image-r-from-color":[{"mask-r-from":k()}],"mask-image-r-to-color":[{"mask-r-to":k()}],"mask-image-b-from-pos":[{"mask-b-from":he()}],"mask-image-b-to-pos":[{"mask-b-to":he()}],"mask-image-b-from-color":[{"mask-b-from":k()}],"mask-image-b-to-color":[{"mask-b-to":k()}],"mask-image-l-from-pos":[{"mask-l-from":he()}],"mask-image-l-to-pos":[{"mask-l-to":he()}],"mask-image-l-from-color":[{"mask-l-from":k()}],"mask-image-l-to-color":[{"mask-l-to":k()}],"mask-image-x-from-pos":[{"mask-x-from":he()}],"mask-image-x-to-pos":[{"mask-x-to":he()}],"mask-image-x-from-color":[{"mask-x-from":k()}],"mask-image-x-to-color":[{"mask-x-to":k()}],"mask-image-y-from-pos":[{"mask-y-from":he()}],"mask-image-y-to-pos":[{"mask-y-to":he()}],"mask-image-y-from-color":[{"mask-y-from":k()}],"mask-image-y-to-color":[{"mask-y-to":k()}],"mask-image-radial":[{"mask-radial":[Ot,bt]}],"mask-image-radial-from-pos":[{"mask-radial-from":he()}],"mask-image-radial-to-pos":[{"mask-radial-to":he()}],"mask-image-radial-from-color":[{"mask-radial-from":k()}],"mask-image-radial-to-color":[{"mask-radial-to":k()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[ct]}],"mask-image-conic-from-pos":[{"mask-conic-from":he()}],"mask-image-conic-to-pos":[{"mask-conic-to":he()}],"mask-image-conic-from-color":[{"mask-conic-from":k()}],"mask-image-conic-to-color":[{"mask-conic-to":k()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:se()}],"mask-repeat":[{mask:ce()}],"mask-size":[{mask:le()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,Ot,bt]}],filter:[{filter:[``,`none`,Ot,bt]}],blur:[{blur:ge()}],brightness:[{brightness:[ct,Ot,bt]}],contrast:[{contrast:[ct,Ot,bt]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Pt,Dt]}],"drop-shadow-color":[{"drop-shadow":k()}],grayscale:[{grayscale:[``,ct,Ot,bt]}],"hue-rotate":[{"hue-rotate":[ct,Ot,bt]}],invert:[{invert:[``,ct,Ot,bt]}],saturate:[{saturate:[ct,Ot,bt]}],sepia:[{sepia:[``,ct,Ot,bt]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,Ot,bt]}],"backdrop-blur":[{"backdrop-blur":ge()}],"backdrop-brightness":[{"backdrop-brightness":[ct,Ot,bt]}],"backdrop-contrast":[{"backdrop-contrast":[ct,Ot,bt]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,ct,Ot,bt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ct,Ot,bt]}],"backdrop-invert":[{"backdrop-invert":[``,ct,Ot,bt]}],"backdrop-opacity":[{"backdrop-opacity":[ct,Ot,bt]}],"backdrop-saturate":[{"backdrop-saturate":[ct,Ot,bt]}],"backdrop-sepia":[{"backdrop-sepia":[``,ct,Ot,bt]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,Ot,bt]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[ct,`initial`,Ot,bt]}],ease:[{ease:[`linear`,`initial`,_,Ot,bt]}],delay:[{delay:[ct,Ot,bt]}],animate:[{animate:[`none`,v,Ot,bt]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,Ot,bt]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:A()}],"rotate-x":[{"rotate-x":A()}],"rotate-y":[{"rotate-y":A()}],"rotate-z":[{"rotate-z":A()}],scale:[{scale:_e()}],"scale-x":[{"scale-x":_e()}],"scale-y":[{"scale-y":_e()}],"scale-z":[{"scale-z":_e()}],"scale-3d":[`scale-3d`],skew:[{skew:j()}],"skew-x":[{"skew-x":j()}],"skew-y":[{"skew-y":j()}],transform:[{transform:[Ot,bt,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:ve()}],"translate-x":[{"translate-x":ve()}],"translate-y":[{"translate-y":ve()}],"translate-z":[{"translate-z":ve()}],"translate-none":[`translate-none`],zoom:[{zoom:[lt,Ot,bt]}],accent:[{accent:k()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:k()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,Ot,bt]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":k()}],"scrollbar-track-color":[{"scrollbar-track":k()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,Ot,bt]}],fill:[{fill:[`none`,...k()]}],"stroke-w":[{stroke:[ct,kt,xt,St]}],stroke:[{stroke:[`none`,...k()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function qt(...e){return Kt(ve(e))}function Jt(){return typeof localStorage<`u`&&typeof localStorage.getItem==`function`}var Yt=/([{}])/g;function Xt({hash:e}){if(typeof window>`u`)return;let t=document.querySelector(e.replace(Yt,`\\$1`));t&&(t.scrollIntoView({behavior:`smooth`,block:`start`,inline:`nearest`}),window.location.hash=e)}var Zt=(0,n.defineComponent)({__name:`Badge`,props:{variant:{},size:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e;return(r,i)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{class:(0,n.normalizeClass)((0,n.unref)(qt)((0,n.unref)(Qt)({variant:e.variant,size:e.size}),t.class))},[(0,n.renderSlot)(r.$slots,`default`)],2))}}),Qt=M(`inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2`,{variants:{variant:{default:`border-transparent bg-primary text-primary-foreground hover:bg-primary/80`,secondary:`border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80`,destructive:`border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80`,outline:`text-foreground bg-muted`,plain:`border-transparent`},size:{default:``,xs:`rounded px-1`}},defaultVariants:{variant:`default`,size:`default`}}),$t={class:`flex flex-row gap-2`},en={__name:`OAHeaderBadges`,props:{operation:{type:Object,required:!0},deprecated:{type:Boolean,required:!1}},setup(n){let r=e.b(),{t:i}=l(),a=(0,t.computed)(()=>r.getOperationBadges().filter(e=>!(e===`deprecated`&&!n.deprecated)));return(e,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,$t,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(a.value,e=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Zt),{key:e,variant:`outline`},{default:(0,t.withCtx)(()=>[e===`deprecated`?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(i)(`Deprecated`)),1)],64)):e===`operationId`?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(i)(`operation.badgePrefix.operationId`))+(0,t.toDisplayString)(n.operation.operationId),1)],64)):(0,t.createCommentVNode)(``,!0)]),_:2},1024))),128))]))}};function tn(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}var nn=new Map([[`ß`,`ss`],[`ẞ`,`Ss`],[`ä`,`ae`],[`Ä`,`Ae`],[`ö`,`oe`],[`Ö`,`Oe`],[`ü`,`ue`],[`Ü`,`Ue`],[`À`,`A`],[`Á`,`A`],[`Â`,`A`],[`Ã`,`A`],[`Ä`,`Ae`],[`Å`,`A`],[`Æ`,`AE`],[`Ç`,`C`],[`È`,`E`],[`É`,`E`],[`Ê`,`E`],[`Ë`,`E`],[`Ə`,`A`],[`Ì`,`I`],[`Í`,`I`],[`Î`,`I`],[`Ï`,`I`],[`Ð`,`D`],[`Ñ`,`N`],[`Ò`,`O`],[`Ó`,`O`],[`Ô`,`O`],[`Õ`,`O`],[`Ö`,`Oe`],[`Ō`,`O`],[`Ő`,`O`],[`Ø`,`O`],[`Œ`,`OE`],[`Ù`,`U`],[`Ú`,`U`],[`Û`,`U`],[`Ü`,`Ue`],[`Ű`,`U`],[`Ý`,`Y`],[`Þ`,`TH`],[`ß`,`ss`],[`à`,`a`],[`á`,`a`],[`â`,`a`],[`ã`,`a`],[`ä`,`ae`],[`å`,`a`],[`æ`,`ae`],[`ç`,`c`],[`è`,`e`],[`é`,`e`],[`ê`,`e`],[`ë`,`e`],[`ə`,`a`],[`ì`,`i`],[`í`,`i`],[`î`,`i`],[`ï`,`i`],[`ð`,`d`],[`ñ`,`n`],[`ò`,`o`],[`ó`,`o`],[`ô`,`o`],[`õ`,`o`],[`ö`,`oe`],[`ō`,`o`],[`ő`,`o`],[`ø`,`o`],[`œ`,`oe`],[`ù`,`u`],[`ú`,`u`],[`û`,`u`],[`ü`,`ue`],[`ű`,`u`],[`ý`,`y`],[`þ`,`th`],[`ÿ`,`y`],[`à`,`a`],[`À`,`A`],[`á`,`a`],[`Á`,`A`],[`â`,`a`],[`Â`,`A`],[`ã`,`a`],[`Ã`,`A`],[`è`,`e`],[`È`,`E`],[`é`,`e`],[`É`,`E`],[`ê`,`e`],[`Ê`,`E`],[`ì`,`i`],[`Ì`,`I`],[`í`,`i`],[`Í`,`I`],[`ò`,`o`],[`Ò`,`O`],[`ó`,`o`],[`Ó`,`O`],[`ô`,`o`],[`Ô`,`O`],[`õ`,`o`],[`Õ`,`O`],[`ù`,`u`],[`Ù`,`U`],[`ú`,`u`],[`Ú`,`U`],[`ý`,`y`],[`Ý`,`Y`],[`ă`,`a`],[`Ă`,`A`],[`Đ`,`D`],[`đ`,`d`],[`ĩ`,`i`],[`Ĩ`,`I`],[`ũ`,`u`],[`Ũ`,`U`],[`ơ`,`o`],[`Ơ`,`O`],[`ư`,`u`],[`Ư`,`U`],[`ạ`,`a`],[`Ạ`,`A`],[`ả`,`a`],[`Ả`,`A`],[`ấ`,`a`],[`Ấ`,`A`],[`ầ`,`a`],[`Ầ`,`A`],[`ẩ`,`a`],[`Ẩ`,`A`],[`ẫ`,`a`],[`Ẫ`,`A`],[`ậ`,`a`],[`Ậ`,`A`],[`ắ`,`a`],[`Ắ`,`A`],[`ằ`,`a`],[`Ằ`,`A`],[`ẳ`,`a`],[`Ẳ`,`A`],[`ẵ`,`a`],[`Ẵ`,`A`],[`ặ`,`a`],[`Ặ`,`A`],[`ẹ`,`e`],[`Ẹ`,`E`],[`ẻ`,`e`],[`Ẻ`,`E`],[`ẽ`,`e`],[`Ẽ`,`E`],[`ế`,`e`],[`Ế`,`E`],[`ề`,`e`],[`Ề`,`E`],[`ể`,`e`],[`Ể`,`E`],[`ễ`,`e`],[`Ễ`,`E`],[`ệ`,`e`],[`Ệ`,`E`],[`ỉ`,`i`],[`Ỉ`,`I`],[`ị`,`i`],[`Ị`,`I`],[`ọ`,`o`],[`Ọ`,`O`],[`ỏ`,`o`],[`Ỏ`,`O`],[`ố`,`o`],[`Ố`,`O`],[`ồ`,`o`],[`Ồ`,`O`],[`ổ`,`o`],[`Ổ`,`O`],[`ỗ`,`o`],[`Ỗ`,`O`],[`ộ`,`o`],[`Ộ`,`O`],[`ớ`,`o`],[`Ớ`,`O`],[`ờ`,`o`],[`Ờ`,`O`],[`ở`,`o`],[`Ở`,`O`],[`ỡ`,`o`],[`Ỡ`,`O`],[`ợ`,`o`],[`Ợ`,`O`],[`ụ`,`u`],[`Ụ`,`U`],[`ủ`,`u`],[`Ủ`,`U`],[`ứ`,`u`],[`Ứ`,`U`],[`ừ`,`u`],[`Ừ`,`U`],[`ử`,`u`],[`Ử`,`U`],[`ữ`,`u`],[`Ữ`,`U`],[`ự`,`u`],[`Ự`,`U`],[`ỳ`,`y`],[`Ỳ`,`Y`],[`ỵ`,`y`],[`Ỵ`,`Y`],[`ỷ`,`y`],[`Ỷ`,`Y`],[`ỹ`,`y`],[`Ỹ`,`Y`],[`ء`,`e`],[`آ`,`a`],[`أ`,`a`],[`ؤ`,`w`],[`إ`,`a`],[`ئ`,`y`],[`ا`,`a`],[`ب`,`b`],[`ة`,`t`],[`ت`,`t`],[`ث`,`th`],[`ج`,`j`],[`ح`,`h`],[`خ`,`kh`],[`د`,`d`],[`ذ`,`dh`],[`ر`,`r`],[`ز`,`z`],[`س`,`s`],[`ش`,`sh`],[`ص`,`s`],[`ض`,`d`],[`ط`,`t`],[`ظ`,`z`],[`ع`,`e`],[`غ`,`gh`],[`ـ`,`_`],[`ف`,`f`],[`ق`,`q`],[`ك`,`k`],[`ل`,`l`],[`م`,`m`],[`ن`,`n`],[`ه`,`h`],[`و`,`w`],[`ى`,`a`],[`ي`,`y`],[`َ‎`,`a`],[`ُ`,`u`],[`ِ‎`,`i`],[`٠`,`0`],[`١`,`1`],[`٢`,`2`],[`٣`,`3`],[`٤`,`4`],[`٥`,`5`],[`٦`,`6`],[`٧`,`7`],[`٨`,`8`],[`٩`,`9`],[`چ`,`ch`],[`ک`,`k`],[`گ`,`g`],[`پ`,`p`],[`ژ`,`zh`],[`ی`,`y`],[`۰`,`0`],[`۱`,`1`],[`۲`,`2`],[`۳`,`3`],[`۴`,`4`],[`۵`,`5`],[`۶`,`6`],[`۷`,`7`],[`۸`,`8`],[`۹`,`9`],[`ټ`,`p`],[`ځ`,`z`],[`څ`,`c`],[`ډ`,`d`],[`ﺫ`,`d`],[`ﺭ`,`r`],[`ړ`,`r`],[`ﺯ`,`z`],[`ږ`,`g`],[`ښ`,`x`],[`ګ`,`g`],[`ڼ`,`n`],[`ۀ`,`e`],[`ې`,`e`],[`ۍ`,`ai`],[`ٹ`,`t`],[`ڈ`,`d`],[`ڑ`,`r`],[`ں`,`n`],[`ہ`,`h`],[`ھ`,`h`],[`ے`,`e`],[`А`,`A`],[`а`,`a`],[`Б`,`B`],[`б`,`b`],[`В`,`V`],[`в`,`v`],[`Г`,`G`],[`г`,`g`],[`Д`,`D`],[`д`,`d`],[`ъе`,`ye`],[`Ъе`,`Ye`],[`ъЕ`,`yE`],[`ЪЕ`,`YE`],[`Е`,`E`],[`е`,`e`],[`Ё`,`Yo`],[`ё`,`yo`],[`Ж`,`Zh`],[`ж`,`zh`],[`З`,`Z`],[`з`,`z`],[`И`,`I`],[`и`,`i`],[`ый`,`iy`],[`Ый`,`Iy`],[`ЫЙ`,`IY`],[`ыЙ`,`iY`],[`Й`,`Y`],[`й`,`y`],[`К`,`K`],[`к`,`k`],[`Л`,`L`],[`л`,`l`],[`М`,`M`],[`м`,`m`],[`Н`,`N`],[`н`,`n`],[`О`,`O`],[`о`,`o`],[`П`,`P`],[`п`,`p`],[`Р`,`R`],[`р`,`r`],[`С`,`S`],[`с`,`s`],[`Т`,`T`],[`т`,`t`],[`У`,`U`],[`у`,`u`],[`Ф`,`F`],[`ф`,`f`],[`Х`,`Kh`],[`х`,`kh`],[`Ц`,`Ts`],[`ц`,`ts`],[`Ч`,`Ch`],[`ч`,`ch`],[`Ш`,`Sh`],[`ш`,`sh`],[`Щ`,`Sch`],[`щ`,`sch`],[`Ъ`,``],[`ъ`,``],[`Ы`,`Y`],[`ы`,`y`],[`Ь`,``],[`ь`,``],[`Э`,`E`],[`э`,`e`],[`Ю`,`Yu`],[`ю`,`yu`],[`Я`,`Ya`],[`я`,`ya`],[`ă`,`a`],[`Ă`,`A`],[`ș`,`s`],[`Ș`,`S`],[`ț`,`t`],[`Ț`,`T`],[`ţ`,`t`],[`Ţ`,`T`],[`ş`,`s`],[`Ş`,`S`],[`ç`,`c`],[`Ç`,`C`],[`ğ`,`g`],[`Ğ`,`G`],[`ı`,`i`],[`İ`,`I`],[`ա`,`a`],[`Ա`,`A`],[`բ`,`b`],[`Բ`,`B`],[`գ`,`g`],[`Գ`,`G`],[`դ`,`d`],[`Դ`,`D`],[`ե`,`ye`],[`Ե`,`Ye`],[`զ`,`z`],[`Զ`,`Z`],[`է`,`e`],[`Է`,`E`],[`ը`,`y`],[`Ը`,`Y`],[`թ`,`t`],[`Թ`,`T`],[`ժ`,`zh`],[`Ժ`,`Zh`],[`ի`,`i`],[`Ի`,`I`],[`լ`,`l`],[`Լ`,`L`],[`խ`,`kh`],[`Խ`,`Kh`],[`ծ`,`ts`],[`Ծ`,`Ts`],[`կ`,`k`],[`Կ`,`K`],[`հ`,`h`],[`Հ`,`H`],[`ձ`,`dz`],[`Ձ`,`Dz`],[`ղ`,`gh`],[`Ղ`,`Gh`],[`ճ`,`tch`],[`Ճ`,`Tch`],[`մ`,`m`],[`Մ`,`M`],[`յ`,`y`],[`Յ`,`Y`],[`ն`,`n`],[`Ն`,`N`],[`շ`,`sh`],[`Շ`,`Sh`],[`ու`,`u`],[`ՈՒ`,`U`],[`Ու`,`U`],[`ո`,`vo`],[`Ո`,`Vo`],[`չ`,`ch`],[`Չ`,`Ch`],[`պ`,`p`],[`Պ`,`P`],[`ջ`,`j`],[`Ջ`,`J`],[`ռ`,`r`],[`Ռ`,`R`],[`ս`,`s`],[`Ս`,`S`],[`վ`,`v`],[`Վ`,`V`],[`տ`,`t`],[`Տ`,`T`],[`ր`,`r`],[`Ր`,`R`],[`ց`,`c`],[`Ց`,`C`],[`փ`,`p`],[`Փ`,`P`],[`ք`,`q`],[`Ք`,`Q`],[`օ`,`o`],[`Օ`,`O`],[`ֆ`,`f`],[`Ֆ`,`F`],[`և`,`yev`],[`ა`,`a`],[`ბ`,`b`],[`გ`,`g`],[`დ`,`d`],[`ე`,`e`],[`ვ`,`v`],[`ზ`,`z`],[`თ`,`t`],[`ი`,`i`],[`კ`,`k`],[`ლ`,`l`],[`მ`,`m`],[`ნ`,`n`],[`ო`,`o`],[`პ`,`p`],[`ჟ`,`zh`],[`რ`,`r`],[`ს`,`s`],[`ტ`,`t`],[`უ`,`u`],[`ფ`,`ph`],[`ქ`,`q`],[`ღ`,`gh`],[`ყ`,`k`],[`შ`,`sh`],[`ჩ`,`ch`],[`ც`,`ts`],[`ძ`,`dz`],[`წ`,`ts`],[`ჭ`,`tch`],[`ხ`,`kh`],[`ჯ`,`j`],[`ჰ`,`h`],[`č`,`c`],[`ď`,`d`],[`ě`,`e`],[`ň`,`n`],[`ř`,`r`],[`š`,`s`],[`ť`,`t`],[`ů`,`u`],[`ž`,`z`],[`Č`,`C`],[`Ď`,`D`],[`Ě`,`E`],[`Ň`,`N`],[`Ř`,`R`],[`Š`,`S`],[`Ť`,`T`],[`Ů`,`U`],[`Ž`,`Z`],[`ހ`,`h`],[`ށ`,`sh`],[`ނ`,`n`],[`ރ`,`r`],[`ބ`,`b`],[`ޅ`,`lh`],[`ކ`,`k`],[`އ`,`a`],[`ވ`,`v`],[`މ`,`m`],[`ފ`,`f`],[`ދ`,`dh`],[`ތ`,`th`],[`ލ`,`l`],[`ގ`,`g`],[`ޏ`,`gn`],[`ސ`,`s`],[`ޑ`,`d`],[`ޒ`,`z`],[`ޓ`,`t`],[`ޔ`,`y`],[`ޕ`,`p`],[`ޖ`,`j`],[`ޗ`,`ch`],[`ޘ`,`tt`],[`ޙ`,`hh`],[`ޚ`,`kh`],[`ޛ`,`th`],[`ޜ`,`z`],[`ޝ`,`sh`],[`ޞ`,`s`],[`ޟ`,`d`],[`ޠ`,`t`],[`ޡ`,`z`],[`ޢ`,`a`],[`ޣ`,`gh`],[`ޤ`,`q`],[`ޥ`,`w`],[`ަ`,`a`],[`ާ`,`aa`],[`ި`,`i`],[`ީ`,`ee`],[`ު`,`u`],[`ޫ`,`oo`],[`ެ`,`e`],[`ޭ`,`ey`],[`ޮ`,`o`],[`ޯ`,`oa`],[`ް`,``],[`α`,`a`],[`β`,`v`],[`γ`,`g`],[`δ`,`d`],[`ε`,`e`],[`ζ`,`z`],[`η`,`i`],[`θ`,`th`],[`ι`,`i`],[`κ`,`k`],[`λ`,`l`],[`μ`,`m`],[`ν`,`n`],[`ξ`,`ks`],[`ο`,`o`],[`π`,`p`],[`ρ`,`r`],[`σ`,`s`],[`τ`,`t`],[`υ`,`y`],[`φ`,`f`],[`χ`,`x`],[`ψ`,`ps`],[`ω`,`o`],[`ά`,`a`],[`έ`,`e`],[`ί`,`i`],[`ό`,`o`],[`ύ`,`y`],[`ή`,`i`],[`ώ`,`o`],[`ς`,`s`],[`ϊ`,`i`],[`ΰ`,`y`],[`ϋ`,`y`],[`ΐ`,`i`],[`Α`,`A`],[`Β`,`B`],[`Γ`,`G`],[`Δ`,`D`],[`Ε`,`E`],[`Ζ`,`Z`],[`Η`,`I`],[`Θ`,`TH`],[`Ι`,`I`],[`Κ`,`K`],[`Λ`,`L`],[`Μ`,`M`],[`Ν`,`N`],[`Ξ`,`KS`],[`Ο`,`O`],[`Π`,`P`],[`Ρ`,`R`],[`Σ`,`S`],[`Τ`,`T`],[`Υ`,`Y`],[`Φ`,`F`],[`Χ`,`X`],[`Ψ`,`PS`],[`Ω`,`O`],[`Ά`,`A`],[`Έ`,`E`],[`Ί`,`I`],[`Ό`,`O`],[`Ύ`,`Y`],[`Ή`,`I`],[`Ώ`,`O`],[`Ϊ`,`I`],[`Ϋ`,`Y`],[`ā`,`a`],[`ē`,`e`],[`ģ`,`g`],[`ī`,`i`],[`ķ`,`k`],[`ļ`,`l`],[`ņ`,`n`],[`ū`,`u`],[`Ā`,`A`],[`Ē`,`E`],[`Ģ`,`G`],[`Ī`,`I`],[`Ķ`,`K`],[`Ļ`,`L`],[`Ņ`,`N`],[`Ū`,`U`],[`č`,`c`],[`š`,`s`],[`ž`,`z`],[`Č`,`C`],[`Š`,`S`],[`Ž`,`Z`],[`ą`,`a`],[`č`,`c`],[`ę`,`e`],[`ė`,`e`],[`į`,`i`],[`š`,`s`],[`ų`,`u`],[`ū`,`u`],[`ž`,`z`],[`Ą`,`A`],[`Č`,`C`],[`Ę`,`E`],[`Ė`,`E`],[`Į`,`I`],[`Š`,`S`],[`Ų`,`U`],[`Ū`,`U`],[`Ќ`,`Kj`],[`ќ`,`kj`],[`Љ`,`Lj`],[`љ`,`lj`],[`Њ`,`Nj`],[`њ`,`nj`],[`Тс`,`Ts`],[`тс`,`ts`],[`ą`,`a`],[`ć`,`c`],[`ę`,`e`],[`ł`,`l`],[`ń`,`n`],[`ś`,`s`],[`ź`,`z`],[`ż`,`z`],[`Ą`,`A`],[`Ć`,`C`],[`Ę`,`E`],[`Ł`,`L`],[`Ń`,`N`],[`Ś`,`S`],[`Ź`,`Z`],[`Ż`,`Z`],[`Є`,`Ye`],[`І`,`I`],[`Ї`,`Yi`],[`Ґ`,`G`],[`є`,`ye`],[`і`,`i`],[`ї`,`yi`],[`ґ`,`g`],[`IJ`,`IJ`],[`ij`,`ij`],[`¢`,`c`],[`¥`,`Y`],[`߿`,`b`],[`৳`,`t`],[`૱`,`Bo`],[`฿`,`B`],[`₠`,`CE`],[`₡`,`C`],[`₢`,`Cr`],[`₣`,`F`],[`₥`,`m`],[`₦`,`N`],[`₧`,`Pt`],[`₨`,`Rs`],[`₩`,`W`],[`₫`,`s`],[`€`,`E`],[`₭`,`K`],[`₮`,`T`],[`₯`,`Dp`],[`₰`,`S`],[`₱`,`P`],[`₲`,`G`],[`₳`,`A`],[`₴`,`S`],[`₵`,`C`],[`₶`,`tt`],[`₷`,`S`],[`₸`,`T`],[`₹`,`R`],[`₺`,`L`],[`₽`,`P`],[`₿`,`B`],[`﹩`,`$`],[`¢`,`c`],[`¥`,`Y`],[`₩`,`W`],[`𝐀`,`A`],[`𝐁`,`B`],[`𝐂`,`C`],[`𝐃`,`D`],[`𝐄`,`E`],[`𝐅`,`F`],[`𝐆`,`G`],[`𝐇`,`H`],[`𝐈`,`I`],[`𝐉`,`J`],[`𝐊`,`K`],[`𝐋`,`L`],[`𝐌`,`M`],[`𝐍`,`N`],[`𝐎`,`O`],[`𝐏`,`P`],[`𝐐`,`Q`],[`𝐑`,`R`],[`𝐒`,`S`],[`𝐓`,`T`],[`𝐔`,`U`],[`𝐕`,`V`],[`𝐖`,`W`],[`𝐗`,`X`],[`𝐘`,`Y`],[`𝐙`,`Z`],[`𝐚`,`a`],[`𝐛`,`b`],[`𝐜`,`c`],[`𝐝`,`d`],[`𝐞`,`e`],[`𝐟`,`f`],[`𝐠`,`g`],[`𝐡`,`h`],[`𝐢`,`i`],[`𝐣`,`j`],[`𝐤`,`k`],[`𝐥`,`l`],[`𝐦`,`m`],[`𝐧`,`n`],[`𝐨`,`o`],[`𝐩`,`p`],[`𝐪`,`q`],[`𝐫`,`r`],[`𝐬`,`s`],[`𝐭`,`t`],[`𝐮`,`u`],[`𝐯`,`v`],[`𝐰`,`w`],[`𝐱`,`x`],[`𝐲`,`y`],[`𝐳`,`z`],[`𝐴`,`A`],[`𝐵`,`B`],[`𝐶`,`C`],[`𝐷`,`D`],[`𝐸`,`E`],[`𝐹`,`F`],[`𝐺`,`G`],[`𝐻`,`H`],[`𝐼`,`I`],[`𝐽`,`J`],[`𝐾`,`K`],[`𝐿`,`L`],[`𝑀`,`M`],[`𝑁`,`N`],[`𝑂`,`O`],[`𝑃`,`P`],[`𝑄`,`Q`],[`𝑅`,`R`],[`𝑆`,`S`],[`𝑇`,`T`],[`𝑈`,`U`],[`𝑉`,`V`],[`𝑊`,`W`],[`𝑋`,`X`],[`𝑌`,`Y`],[`𝑍`,`Z`],[`𝑎`,`a`],[`𝑏`,`b`],[`𝑐`,`c`],[`𝑑`,`d`],[`𝑒`,`e`],[`𝑓`,`f`],[`𝑔`,`g`],[`𝑖`,`i`],[`𝑗`,`j`],[`𝑘`,`k`],[`𝑙`,`l`],[`𝑚`,`m`],[`𝑛`,`n`],[`𝑜`,`o`],[`𝑝`,`p`],[`𝑞`,`q`],[`𝑟`,`r`],[`𝑠`,`s`],[`𝑡`,`t`],[`𝑢`,`u`],[`𝑣`,`v`],[`𝑤`,`w`],[`𝑥`,`x`],[`𝑦`,`y`],[`𝑧`,`z`],[`𝑨`,`A`],[`𝑩`,`B`],[`𝑪`,`C`],[`𝑫`,`D`],[`𝑬`,`E`],[`𝑭`,`F`],[`𝑮`,`G`],[`𝑯`,`H`],[`𝑰`,`I`],[`𝑱`,`J`],[`𝑲`,`K`],[`𝑳`,`L`],[`𝑴`,`M`],[`𝑵`,`N`],[`𝑶`,`O`],[`𝑷`,`P`],[`𝑸`,`Q`],[`𝑹`,`R`],[`𝑺`,`S`],[`𝑻`,`T`],[`𝑼`,`U`],[`𝑽`,`V`],[`𝑾`,`W`],[`𝑿`,`X`],[`𝒀`,`Y`],[`𝒁`,`Z`],[`𝒂`,`a`],[`𝒃`,`b`],[`𝒄`,`c`],[`𝒅`,`d`],[`𝒆`,`e`],[`𝒇`,`f`],[`𝒈`,`g`],[`𝒉`,`h`],[`𝒊`,`i`],[`𝒋`,`j`],[`𝒌`,`k`],[`𝒍`,`l`],[`𝒎`,`m`],[`𝒏`,`n`],[`𝒐`,`o`],[`𝒑`,`p`],[`𝒒`,`q`],[`𝒓`,`r`],[`𝒔`,`s`],[`𝒕`,`t`],[`𝒖`,`u`],[`𝒗`,`v`],[`𝒘`,`w`],[`𝒙`,`x`],[`𝒚`,`y`],[`𝒛`,`z`],[`𝒜`,`A`],[`𝒞`,`C`],[`𝒟`,`D`],[`𝒢`,`g`],[`𝒥`,`J`],[`𝒦`,`K`],[`𝒩`,`N`],[`𝒪`,`O`],[`𝒫`,`P`],[`𝒬`,`Q`],[`𝒮`,`S`],[`𝒯`,`T`],[`𝒰`,`U`],[`𝒱`,`V`],[`𝒲`,`W`],[`𝒳`,`X`],[`𝒴`,`Y`],[`𝒵`,`Z`],[`𝒶`,`a`],[`𝒷`,`b`],[`𝒸`,`c`],[`𝒹`,`d`],[`𝒻`,`f`],[`𝒽`,`h`],[`𝒾`,`i`],[`𝒿`,`j`],[`𝓀`,`k`],[`𝓁`,`l`],[`𝓂`,`m`],[`𝓃`,`n`],[`𝓅`,`p`],[`𝓆`,`q`],[`𝓇`,`r`],[`𝓈`,`s`],[`𝓉`,`t`],[`𝓊`,`u`],[`𝓋`,`v`],[`𝓌`,`w`],[`𝓍`,`x`],[`𝓎`,`y`],[`𝓏`,`z`],[`𝓐`,`A`],[`𝓑`,`B`],[`𝓒`,`C`],[`𝓓`,`D`],[`𝓔`,`E`],[`𝓕`,`F`],[`𝓖`,`G`],[`𝓗`,`H`],[`𝓘`,`I`],[`𝓙`,`J`],[`𝓚`,`K`],[`𝓛`,`L`],[`𝓜`,`M`],[`𝓝`,`N`],[`𝓞`,`O`],[`𝓟`,`P`],[`𝓠`,`Q`],[`𝓡`,`R`],[`𝓢`,`S`],[`𝓣`,`T`],[`𝓤`,`U`],[`𝓥`,`V`],[`𝓦`,`W`],[`𝓧`,`X`],[`𝓨`,`Y`],[`𝓩`,`Z`],[`𝓪`,`a`],[`𝓫`,`b`],[`𝓬`,`c`],[`𝓭`,`d`],[`𝓮`,`e`],[`𝓯`,`f`],[`𝓰`,`g`],[`𝓱`,`h`],[`𝓲`,`i`],[`𝓳`,`j`],[`𝓴`,`k`],[`𝓵`,`l`],[`𝓶`,`m`],[`𝓷`,`n`],[`𝓸`,`o`],[`𝓹`,`p`],[`𝓺`,`q`],[`𝓻`,`r`],[`𝓼`,`s`],[`𝓽`,`t`],[`𝓾`,`u`],[`𝓿`,`v`],[`𝔀`,`w`],[`𝔁`,`x`],[`𝔂`,`y`],[`𝔃`,`z`],[`𝔄`,`A`],[`𝔅`,`B`],[`𝔇`,`D`],[`𝔈`,`E`],[`𝔉`,`F`],[`𝔊`,`G`],[`𝔍`,`J`],[`𝔎`,`K`],[`𝔏`,`L`],[`𝔐`,`M`],[`𝔑`,`N`],[`𝔒`,`O`],[`𝔓`,`P`],[`𝔔`,`Q`],[`𝔖`,`S`],[`𝔗`,`T`],[`𝔘`,`U`],[`𝔙`,`V`],[`𝔚`,`W`],[`𝔛`,`X`],[`𝔜`,`Y`],[`𝔞`,`a`],[`𝔟`,`b`],[`𝔠`,`c`],[`𝔡`,`d`],[`𝔢`,`e`],[`𝔣`,`f`],[`𝔤`,`g`],[`𝔥`,`h`],[`𝔦`,`i`],[`𝔧`,`j`],[`𝔨`,`k`],[`𝔩`,`l`],[`𝔪`,`m`],[`𝔫`,`n`],[`𝔬`,`o`],[`𝔭`,`p`],[`𝔮`,`q`],[`𝔯`,`r`],[`𝔰`,`s`],[`𝔱`,`t`],[`𝔲`,`u`],[`𝔳`,`v`],[`𝔴`,`w`],[`𝔵`,`x`],[`𝔶`,`y`],[`𝔷`,`z`],[`𝔸`,`A`],[`𝔹`,`B`],[`𝔻`,`D`],[`𝔼`,`E`],[`𝔽`,`F`],[`𝔾`,`G`],[`𝕀`,`I`],[`𝕁`,`J`],[`𝕂`,`K`],[`𝕃`,`L`],[`𝕄`,`M`],[`𝕆`,`O`],[`𝕊`,`S`],[`𝕋`,`T`],[`𝕌`,`U`],[`𝕍`,`V`],[`𝕎`,`W`],[`𝕏`,`X`],[`𝕐`,`Y`],[`𝕒`,`a`],[`𝕓`,`b`],[`𝕔`,`c`],[`𝕕`,`d`],[`𝕖`,`e`],[`𝕗`,`f`],[`𝕘`,`g`],[`𝕙`,`h`],[`𝕚`,`i`],[`𝕛`,`j`],[`𝕜`,`k`],[`𝕝`,`l`],[`𝕞`,`m`],[`𝕟`,`n`],[`𝕠`,`o`],[`𝕡`,`p`],[`𝕢`,`q`],[`𝕣`,`r`],[`𝕤`,`s`],[`𝕥`,`t`],[`𝕦`,`u`],[`𝕧`,`v`],[`𝕨`,`w`],[`𝕩`,`x`],[`𝕪`,`y`],[`𝕫`,`z`],[`𝕬`,`A`],[`𝕭`,`B`],[`𝕮`,`C`],[`𝕯`,`D`],[`𝕰`,`E`],[`𝕱`,`F`],[`𝕲`,`G`],[`𝕳`,`H`],[`𝕴`,`I`],[`𝕵`,`J`],[`𝕶`,`K`],[`𝕷`,`L`],[`𝕸`,`M`],[`𝕹`,`N`],[`𝕺`,`O`],[`𝕻`,`P`],[`𝕼`,`Q`],[`𝕽`,`R`],[`𝕾`,`S`],[`𝕿`,`T`],[`𝖀`,`U`],[`𝖁`,`V`],[`𝖂`,`W`],[`𝖃`,`X`],[`𝖄`,`Y`],[`𝖅`,`Z`],[`𝖆`,`a`],[`𝖇`,`b`],[`𝖈`,`c`],[`𝖉`,`d`],[`𝖊`,`e`],[`𝖋`,`f`],[`𝖌`,`g`],[`𝖍`,`h`],[`𝖎`,`i`],[`𝖏`,`j`],[`𝖐`,`k`],[`𝖑`,`l`],[`𝖒`,`m`],[`𝖓`,`n`],[`𝖔`,`o`],[`𝖕`,`p`],[`𝖖`,`q`],[`𝖗`,`r`],[`𝖘`,`s`],[`𝖙`,`t`],[`𝖚`,`u`],[`𝖛`,`v`],[`𝖜`,`w`],[`𝖝`,`x`],[`𝖞`,`y`],[`𝖟`,`z`],[`𝖠`,`A`],[`𝖡`,`B`],[`𝖢`,`C`],[`𝖣`,`D`],[`𝖤`,`E`],[`𝖥`,`F`],[`𝖦`,`G`],[`𝖧`,`H`],[`𝖨`,`I`],[`𝖩`,`J`],[`𝖪`,`K`],[`𝖫`,`L`],[`𝖬`,`M`],[`𝖭`,`N`],[`𝖮`,`O`],[`𝖯`,`P`],[`𝖰`,`Q`],[`𝖱`,`R`],[`𝖲`,`S`],[`𝖳`,`T`],[`𝖴`,`U`],[`𝖵`,`V`],[`𝖶`,`W`],[`𝖷`,`X`],[`𝖸`,`Y`],[`𝖹`,`Z`],[`𝖺`,`a`],[`𝖻`,`b`],[`𝖼`,`c`],[`𝖽`,`d`],[`𝖾`,`e`],[`𝖿`,`f`],[`𝗀`,`g`],[`𝗁`,`h`],[`𝗂`,`i`],[`𝗃`,`j`],[`𝗄`,`k`],[`𝗅`,`l`],[`𝗆`,`m`],[`𝗇`,`n`],[`𝗈`,`o`],[`𝗉`,`p`],[`𝗊`,`q`],[`𝗋`,`r`],[`𝗌`,`s`],[`𝗍`,`t`],[`𝗎`,`u`],[`𝗏`,`v`],[`𝗐`,`w`],[`𝗑`,`x`],[`𝗒`,`y`],[`𝗓`,`z`],[`𝗔`,`A`],[`𝗕`,`B`],[`𝗖`,`C`],[`𝗗`,`D`],[`𝗘`,`E`],[`𝗙`,`F`],[`𝗚`,`G`],[`𝗛`,`H`],[`𝗜`,`I`],[`𝗝`,`J`],[`𝗞`,`K`],[`𝗟`,`L`],[`𝗠`,`M`],[`𝗡`,`N`],[`𝗢`,`O`],[`𝗣`,`P`],[`𝗤`,`Q`],[`𝗥`,`R`],[`𝗦`,`S`],[`𝗧`,`T`],[`𝗨`,`U`],[`𝗩`,`V`],[`𝗪`,`W`],[`𝗫`,`X`],[`𝗬`,`Y`],[`𝗭`,`Z`],[`𝗮`,`a`],[`𝗯`,`b`],[`𝗰`,`c`],[`𝗱`,`d`],[`𝗲`,`e`],[`𝗳`,`f`],[`𝗴`,`g`],[`𝗵`,`h`],[`𝗶`,`i`],[`𝗷`,`j`],[`𝗸`,`k`],[`𝗹`,`l`],[`𝗺`,`m`],[`𝗻`,`n`],[`𝗼`,`o`],[`𝗽`,`p`],[`𝗾`,`q`],[`𝗿`,`r`],[`𝘀`,`s`],[`𝘁`,`t`],[`𝘂`,`u`],[`𝘃`,`v`],[`𝘄`,`w`],[`𝘅`,`x`],[`𝘆`,`y`],[`𝘇`,`z`],[`𝘈`,`A`],[`𝘉`,`B`],[`𝘊`,`C`],[`𝘋`,`D`],[`𝘌`,`E`],[`𝘍`,`F`],[`𝘎`,`G`],[`𝘏`,`H`],[`𝘐`,`I`],[`𝘑`,`J`],[`𝘒`,`K`],[`𝘓`,`L`],[`𝘔`,`M`],[`𝘕`,`N`],[`𝘖`,`O`],[`𝘗`,`P`],[`𝘘`,`Q`],[`𝘙`,`R`],[`𝘚`,`S`],[`𝘛`,`T`],[`𝘜`,`U`],[`𝘝`,`V`],[`𝘞`,`W`],[`𝘟`,`X`],[`𝘠`,`Y`],[`𝘡`,`Z`],[`𝘢`,`a`],[`𝘣`,`b`],[`𝘤`,`c`],[`𝘥`,`d`],[`𝘦`,`e`],[`𝘧`,`f`],[`𝘨`,`g`],[`𝘩`,`h`],[`𝘪`,`i`],[`𝘫`,`j`],[`𝘬`,`k`],[`𝘭`,`l`],[`𝘮`,`m`],[`𝘯`,`n`],[`𝘰`,`o`],[`𝘱`,`p`],[`𝘲`,`q`],[`𝘳`,`r`],[`𝘴`,`s`],[`𝘵`,`t`],[`𝘶`,`u`],[`𝘷`,`v`],[`𝘸`,`w`],[`𝘹`,`x`],[`𝘺`,`y`],[`𝘻`,`z`],[`𝘼`,`A`],[`𝘽`,`B`],[`𝘾`,`C`],[`𝘿`,`D`],[`𝙀`,`E`],[`𝙁`,`F`],[`𝙂`,`G`],[`𝙃`,`H`],[`𝙄`,`I`],[`𝙅`,`J`],[`𝙆`,`K`],[`𝙇`,`L`],[`𝙈`,`M`],[`𝙉`,`N`],[`𝙊`,`O`],[`𝙋`,`P`],[`𝙌`,`Q`],[`𝙍`,`R`],[`𝙎`,`S`],[`𝙏`,`T`],[`𝙐`,`U`],[`𝙑`,`V`],[`𝙒`,`W`],[`𝙓`,`X`],[`𝙔`,`Y`],[`𝙕`,`Z`],[`𝙖`,`a`],[`𝙗`,`b`],[`𝙘`,`c`],[`𝙙`,`d`],[`𝙚`,`e`],[`𝙛`,`f`],[`𝙜`,`g`],[`𝙝`,`h`],[`𝙞`,`i`],[`𝙟`,`j`],[`𝙠`,`k`],[`𝙡`,`l`],[`𝙢`,`m`],[`𝙣`,`n`],[`𝙤`,`o`],[`𝙥`,`p`],[`𝙦`,`q`],[`𝙧`,`r`],[`𝙨`,`s`],[`𝙩`,`t`],[`𝙪`,`u`],[`𝙫`,`v`],[`𝙬`,`w`],[`𝙭`,`x`],[`𝙮`,`y`],[`𝙯`,`z`],[`𝙰`,`A`],[`𝙱`,`B`],[`𝙲`,`C`],[`𝙳`,`D`],[`𝙴`,`E`],[`𝙵`,`F`],[`𝙶`,`G`],[`𝙷`,`H`],[`𝙸`,`I`],[`𝙹`,`J`],[`𝙺`,`K`],[`𝙻`,`L`],[`𝙼`,`M`],[`𝙽`,`N`],[`𝙾`,`O`],[`𝙿`,`P`],[`𝚀`,`Q`],[`𝚁`,`R`],[`𝚂`,`S`],[`𝚃`,`T`],[`𝚄`,`U`],[`𝚅`,`V`],[`𝚆`,`W`],[`𝚇`,`X`],[`𝚈`,`Y`],[`𝚉`,`Z`],[`𝚊`,`a`],[`𝚋`,`b`],[`𝚌`,`c`],[`𝚍`,`d`],[`𝚎`,`e`],[`𝚏`,`f`],[`𝚐`,`g`],[`𝚑`,`h`],[`𝚒`,`i`],[`𝚓`,`j`],[`𝚔`,`k`],[`𝚕`,`l`],[`𝚖`,`m`],[`𝚗`,`n`],[`𝚘`,`o`],[`𝚙`,`p`],[`𝚚`,`q`],[`𝚛`,`r`],[`𝚜`,`s`],[`𝚝`,`t`],[`𝚞`,`u`],[`𝚟`,`v`],[`𝚠`,`w`],[`𝚡`,`x`],[`𝚢`,`y`],[`𝚣`,`z`],[`𝚤`,`l`],[`𝚥`,`j`],[`𝛢`,`A`],[`𝛣`,`B`],[`𝛤`,`G`],[`𝛥`,`D`],[`𝛦`,`E`],[`𝛧`,`Z`],[`𝛨`,`I`],[`𝛩`,`TH`],[`𝛪`,`I`],[`𝛫`,`K`],[`𝛬`,`L`],[`𝛭`,`M`],[`𝛮`,`N`],[`𝛯`,`KS`],[`𝛰`,`O`],[`𝛱`,`P`],[`𝛲`,`R`],[`𝛳`,`TH`],[`𝛴`,`S`],[`𝛵`,`T`],[`𝛶`,`Y`],[`𝛷`,`F`],[`𝛸`,`x`],[`𝛹`,`PS`],[`𝛺`,`O`],[`𝛻`,`D`],[`𝛼`,`a`],[`𝛽`,`b`],[`𝛾`,`g`],[`𝛿`,`d`],[`𝜀`,`e`],[`𝜁`,`z`],[`𝜂`,`i`],[`𝜃`,`th`],[`𝜄`,`i`],[`𝜅`,`k`],[`𝜆`,`l`],[`𝜇`,`m`],[`𝜈`,`n`],[`𝜉`,`ks`],[`𝜊`,`o`],[`𝜋`,`p`],[`𝜌`,`r`],[`𝜍`,`s`],[`𝜎`,`s`],[`𝜏`,`t`],[`𝜐`,`y`],[`𝜑`,`f`],[`𝜒`,`x`],[`𝜓`,`ps`],[`𝜔`,`o`],[`𝜕`,`d`],[`𝜖`,`E`],[`𝜗`,`TH`],[`𝜘`,`K`],[`𝜙`,`f`],[`𝜚`,`r`],[`𝜛`,`p`],[`𝜜`,`A`],[`𝜝`,`V`],[`𝜞`,`G`],[`𝜟`,`D`],[`𝜠`,`E`],[`𝜡`,`Z`],[`𝜢`,`I`],[`𝜣`,`TH`],[`𝜤`,`I`],[`𝜥`,`K`],[`𝜦`,`L`],[`𝜧`,`M`],[`𝜨`,`N`],[`𝜩`,`KS`],[`𝜪`,`O`],[`𝜫`,`P`],[`𝜬`,`S`],[`𝜭`,`TH`],[`𝜮`,`S`],[`𝜯`,`T`],[`𝜰`,`Y`],[`𝜱`,`F`],[`𝜲`,`X`],[`𝜳`,`PS`],[`𝜴`,`O`],[`𝜵`,`D`],[`𝜶`,`a`],[`𝜷`,`v`],[`𝜸`,`g`],[`𝜹`,`d`],[`𝜺`,`e`],[`𝜻`,`z`],[`𝜼`,`i`],[`𝜽`,`th`],[`𝜾`,`i`],[`𝜿`,`k`],[`𝝀`,`l`],[`𝝁`,`m`],[`𝝂`,`n`],[`𝝃`,`ks`],[`𝝄`,`o`],[`𝝅`,`p`],[`𝝆`,`r`],[`𝝇`,`s`],[`𝝈`,`s`],[`𝝉`,`t`],[`𝝊`,`y`],[`𝝋`,`f`],[`𝝌`,`x`],[`𝝍`,`ps`],[`𝝎`,`o`],[`𝝏`,`a`],[`𝝐`,`e`],[`𝝑`,`i`],[`𝝒`,`k`],[`𝝓`,`f`],[`𝝔`,`r`],[`𝝕`,`p`],[`𝝖`,`A`],[`𝝗`,`B`],[`𝝘`,`G`],[`𝝙`,`D`],[`𝝚`,`E`],[`𝝛`,`Z`],[`𝝜`,`I`],[`𝝝`,`TH`],[`𝝞`,`I`],[`𝝟`,`K`],[`𝝠`,`L`],[`𝝡`,`M`],[`𝝢`,`N`],[`𝝣`,`KS`],[`𝝤`,`O`],[`𝝥`,`P`],[`𝝦`,`R`],[`𝝧`,`TH`],[`𝝨`,`S`],[`𝝩`,`T`],[`𝝪`,`Y`],[`𝝫`,`F`],[`𝝬`,`X`],[`𝝭`,`PS`],[`𝝮`,`O`],[`𝝯`,`D`],[`𝝰`,`a`],[`𝝱`,`v`],[`𝝲`,`g`],[`𝝳`,`d`],[`𝝴`,`e`],[`𝝵`,`z`],[`𝝶`,`i`],[`𝝷`,`th`],[`𝝸`,`i`],[`𝝹`,`k`],[`𝝺`,`l`],[`𝝻`,`m`],[`𝝼`,`n`],[`𝝽`,`ks`],[`𝝾`,`o`],[`𝝿`,`p`],[`𝞀`,`r`],[`𝞁`,`s`],[`𝞂`,`s`],[`𝞃`,`t`],[`𝞄`,`y`],[`𝞅`,`f`],[`𝞆`,`x`],[`𝞇`,`ps`],[`𝞈`,`o`],[`𝞉`,`a`],[`𝞊`,`e`],[`𝞋`,`i`],[`𝞌`,`k`],[`𝞍`,`f`],[`𝞎`,`r`],[`𝞏`,`p`],[`𝞐`,`A`],[`𝞑`,`V`],[`𝞒`,`G`],[`𝞓`,`D`],[`𝞔`,`E`],[`𝞕`,`Z`],[`𝞖`,`I`],[`𝞗`,`TH`],[`𝞘`,`I`],[`𝞙`,`K`],[`𝞚`,`L`],[`𝞛`,`M`],[`𝞜`,`N`],[`𝞝`,`KS`],[`𝞞`,`O`],[`𝞟`,`P`],[`𝞠`,`S`],[`𝞡`,`TH`],[`𝞢`,`S`],[`𝞣`,`T`],[`𝞤`,`Y`],[`𝞥`,`F`],[`𝞦`,`X`],[`𝞧`,`PS`],[`𝞨`,`O`],[`𝞩`,`D`],[`𝞪`,`av`],[`𝞫`,`g`],[`𝞬`,`d`],[`𝞭`,`e`],[`𝞮`,`z`],[`𝞯`,`i`],[`𝞰`,`i`],[`𝞱`,`th`],[`𝞲`,`i`],[`𝞳`,`k`],[`𝞴`,`l`],[`𝞵`,`m`],[`𝞶`,`n`],[`𝞷`,`ks`],[`𝞸`,`o`],[`𝞹`,`p`],[`𝞺`,`r`],[`𝞻`,`s`],[`𝞼`,`s`],[`𝞽`,`t`],[`𝞾`,`y`],[`𝞿`,`f`],[`𝟀`,`x`],[`𝟁`,`ps`],[`𝟂`,`o`],[`𝟃`,`a`],[`𝟄`,`e`],[`𝟅`,`i`],[`𝟆`,`k`],[`𝟇`,`f`],[`𝟈`,`r`],[`𝟉`,`p`],[`𝟊`,`F`],[`𝟋`,`f`],[`⒜`,`(a)`],[`⒝`,`(b)`],[`⒞`,`(c)`],[`⒟`,`(d)`],[`⒠`,`(e)`],[`⒡`,`(f)`],[`⒢`,`(g)`],[`⒣`,`(h)`],[`⒤`,`(i)`],[`⒥`,`(j)`],[`⒦`,`(k)`],[`⒧`,`(l)`],[`⒨`,`(m)`],[`⒩`,`(n)`],[`⒪`,`(o)`],[`⒫`,`(p)`],[`⒬`,`(q)`],[`⒭`,`(r)`],[`⒮`,`(s)`],[`⒯`,`(t)`],[`⒰`,`(u)`],[`⒱`,`(v)`],[`⒲`,`(w)`],[`⒳`,`(x)`],[`⒴`,`(y)`],[`⒵`,`(z)`],[`Ⓐ`,`(A)`],[`Ⓑ`,`(B)`],[`Ⓒ`,`(C)`],[`Ⓓ`,`(D)`],[`Ⓔ`,`(E)`],[`Ⓕ`,`(F)`],[`Ⓖ`,`(G)`],[`Ⓗ`,`(H)`],[`Ⓘ`,`(I)`],[`Ⓙ`,`(J)`],[`Ⓚ`,`(K)`],[`Ⓛ`,`(L)`],[`Ⓝ`,`(N)`],[`Ⓞ`,`(O)`],[`Ⓟ`,`(P)`],[`Ⓠ`,`(Q)`],[`Ⓡ`,`(R)`],[`Ⓢ`,`(S)`],[`Ⓣ`,`(T)`],[`Ⓤ`,`(U)`],[`Ⓥ`,`(V)`],[`Ⓦ`,`(W)`],[`Ⓧ`,`(X)`],[`Ⓨ`,`(Y)`],[`Ⓩ`,`(Z)`],[`ⓐ`,`(a)`],[`ⓑ`,`(b)`],[`ⓒ`,`(c)`],[`ⓓ`,`(d)`],[`ⓔ`,`(e)`],[`ⓕ`,`(f)`],[`ⓖ`,`(g)`],[`ⓗ`,`(h)`],[`ⓘ`,`(i)`],[`ⓙ`,`(j)`],[`ⓚ`,`(k)`],[`ⓛ`,`(l)`],[`ⓜ`,`(m)`],[`ⓝ`,`(n)`],[`ⓞ`,`(o)`],[`ⓟ`,`(p)`],[`ⓠ`,`(q)`],[`ⓡ`,`(r)`],[`ⓢ`,`(s)`],[`ⓣ`,`(t)`],[`ⓤ`,`(u)`],[`ⓥ`,`(v)`],[`ⓦ`,`(w)`],[`ⓧ`,`(x)`],[`ⓨ`,`(y)`],[`ⓩ`,`(z)`],[`Ċ`,`C`],[`ċ`,`c`],[`Ġ`,`G`],[`ġ`,`g`],[`Ħ`,`H`],[`ħ`,`h`],[`Ż`,`Z`],[`ż`,`z`],[`𝟎`,`0`],[`𝟏`,`1`],[`𝟐`,`2`],[`𝟑`,`3`],[`𝟒`,`4`],[`𝟓`,`5`],[`𝟔`,`6`],[`𝟕`,`7`],[`𝟖`,`8`],[`𝟗`,`9`],[`𝟘`,`0`],[`𝟙`,`1`],[`𝟚`,`2`],[`𝟛`,`3`],[`𝟜`,`4`],[`𝟝`,`5`],[`𝟞`,`6`],[`𝟟`,`7`],[`𝟠`,`8`],[`𝟡`,`9`],[`𝟢`,`0`],[`𝟣`,`1`],[`𝟤`,`2`],[`𝟥`,`3`],[`𝟦`,`4`],[`𝟧`,`5`],[`𝟨`,`6`],[`𝟩`,`7`],[`𝟪`,`8`],[`𝟫`,`9`],[`𝟬`,`0`],[`𝟭`,`1`],[`𝟮`,`2`],[`𝟯`,`3`],[`𝟰`,`4`],[`𝟱`,`5`],[`𝟲`,`6`],[`𝟳`,`7`],[`𝟴`,`8`],[`𝟵`,`9`],[`𝟶`,`0`],[`𝟷`,`1`],[`𝟸`,`2`],[`𝟹`,`3`],[`𝟺`,`4`],[`𝟻`,`5`],[`𝟼`,`6`],[`𝟽`,`7`],[`𝟾`,`8`],[`𝟿`,`9`],[`①`,`1`],[`②`,`2`],[`③`,`3`],[`④`,`4`],[`⑤`,`5`],[`⑥`,`6`],[`⑦`,`7`],[`⑧`,`8`],[`⑨`,`9`],[`⑩`,`10`],[`⑪`,`11`],[`⑫`,`12`],[`⑬`,`13`],[`⑭`,`14`],[`⑮`,`15`],[`⑯`,`16`],[`⑰`,`17`],[`⑱`,`18`],[`⑲`,`19`],[`⑳`,`20`],[`⑴`,`1`],[`⑵`,`2`],[`⑶`,`3`],[`⑷`,`4`],[`⑸`,`5`],[`⑹`,`6`],[`⑺`,`7`],[`⑻`,`8`],[`⑼`,`9`],[`⑽`,`10`],[`⑾`,`11`],[`⑿`,`12`],[`⒀`,`13`],[`⒁`,`14`],[`⒂`,`15`],[`⒃`,`16`],[`⒄`,`17`],[`⒅`,`18`],[`⒆`,`19`],[`⒇`,`20`],[`⒈`,`1.`],[`⒉`,`2.`],[`⒊`,`3.`],[`⒋`,`4.`],[`⒌`,`5.`],[`⒍`,`6.`],[`⒎`,`7.`],[`⒏`,`8.`],[`⒐`,`9.`],[`⒑`,`10.`],[`⒒`,`11.`],[`⒓`,`12.`],[`⒔`,`13.`],[`⒕`,`14.`],[`⒖`,`15.`],[`⒗`,`16.`],[`⒘`,`17.`],[`⒙`,`18.`],[`⒚`,`19.`],[`⒛`,`20.`],[`⓪`,`0`],[`⓫`,`11`],[`⓬`,`12`],[`⓭`,`13`],[`⓮`,`14`],[`⓯`,`15`],[`⓰`,`16`],[`⓱`,`17`],[`⓲`,`18`],[`⓳`,`19`],[`⓴`,`20`],[`⓵`,`1`],[`⓶`,`2`],[`⓷`,`3`],[`⓸`,`4`],[`⓹`,`5`],[`⓺`,`6`],[`⓻`,`7`],[`⓼`,`8`],[`⓽`,`9`],[`⓾`,`10`],[`⓿`,`0`],[`🙰`,`&`],[`🙱`,`&`],[`🙲`,`&`],[`🙳`,`&`],[`🙴`,`&`],[`🙵`,`&`],[`🙶`,`"`],[`🙷`,`"`],[`🙸`,`"`],[`‽`,`?!`],[`🙹`,`?!`],[`🙺`,`?!`],[`🙻`,`?!`],[`🙼`,`/`],[`🙽`,`\\`],[`🜇`,`AR`],[`🜈`,`V`],[`🜉`,`V`],[`🜆`,`VR`],[`🜅`,`VF`],[`🜩`,`2`],[`🜪`,`5`],[`🝡`,`f`],[`🝢`,`W`],[`🝣`,`U`],[`🝧`,`V`],[`🝨`,`T`],[`🝪`,`V`],[`🝫`,`MB`],[`🝬`,`VB`],[`🝲`,`3B`],[`🝳`,`3B`],[`💯`,`100`],[`🔙`,`BACK`],[`🔚`,`END`],[`🔛`,`ON!`],[`🔜`,`SOON`],[`🔝`,`TOP`],[`🔞`,`18`],[`🔤`,`abc`],[`🔠`,`ABCD`],[`🔡`,`abcd`],[`🔢`,`1234`],[`🔣`,`T&@%`],[`#️⃣`,`#`],[`*️⃣`,`*`],[`0️⃣`,`0`],[`1️⃣`,`1`],[`2️⃣`,`2`],[`3️⃣`,`3`],[`4️⃣`,`4`],[`5️⃣`,`5`],[`6️⃣`,`6`],[`7️⃣`,`7`],[`8️⃣`,`8`],[`9️⃣`,`9`],[`🔟`,`10`],[`🅰️`,`A`],[`🅱️`,`B`],[`🆎`,`AB`],[`🆑`,`CL`],[`🅾️`,`O`],[`🅿`,`P`],[`🆘`,`SOS`],[`🅲`,`C`],[`🅳`,`D`],[`🅴`,`E`],[`🅵`,`F`],[`🅶`,`G`],[`🅷`,`H`],[`🅸`,`I`],[`🅹`,`J`],[`🅺`,`K`],[`🅻`,`L`],[`🅼`,`M`],[`🅽`,`N`],[`🆀`,`Q`],[`🆁`,`R`],[`🆂`,`S`],[`🆃`,`T`],[`🆄`,`U`],[`🆅`,`V`],[`🆆`,`W`],[`🆇`,`X`],[`🆈`,`Y`],[`🆉`,`Z`],[`−`,`-`],[`⁓`,`-`]]),rn=[[`æ`,`ae`],[`Æ`,`Ae`],[`ø`,`oe`],[`Ø`,`Oe`],[`å`,`aa`],[`Å`,`Aa`]],an={sv:[[`ä`,`a`],[`Ä`,`A`],[`ö`,`o`],[`Ö`,`O`],[`å`,`a`],[`Å`,`A`]],da:rn,nb:rn,de:[[`ä`,`ae`],[`Ä`,`Ae`],[`ö`,`oe`],[`Ö`,`Oe`],[`ü`,`ue`],[`Ü`,`Ue`],[`ß`,`ss`],[`ẞ`,`Ss`]],tr:[[`â`,`a`],[`Â`,`A`],[`ö`,`o`],[`Ö`,`O`],[`ü`,`u`],[`Ü`,`U`]],hu:[[`ű`,`u`],[`Ű`,`U`],[`ö`,`o`],[`Ö`,`O`],[`ü`,`u`],[`Ü`,`U`],[`á`,`a`],[`Á`,`A`],[`é`,`e`],[`É`,`E`],[`í`,`i`],[`Í`,`I`],[`ó`,`o`],[`Ó`,`O`],[`ú`,`u`],[`Ú`,`U`]],sr:[[`ђ`,`dj`],[`Ђ`,`Dj`],[`џ`,`dz`],[`Џ`,`Dz`],[`љ`,`lj`],[`Љ`,`Lj`],[`њ`,`nj`],[`Њ`,`Nj`],[`ћ`,`c`],[`Ћ`,`C`],[`ч`,`ch`],[`Ч`,`Ch`],[`ш`,`sh`],[`Ш`,`Sh`],[`ж`,`zh`],[`Ж`,`Zh`]]};for(let e of Object.keys(an))an[e]=new Map(an[e]);var on=e=>e.replaceAll(/[.*+?^${}()|[\]\\]/g,String.raw`\$&`),sn=e=>{let t=[...e.keys()].sort((e,t)=>t.length-e.length);return new RegExp(t.map(e=>on(e)).join(`|`),`gu`)},cn=sn(nn),ln=new Map;for(let[e,t]of Object.entries(an)){let n=new Map(nn);for(let[e,r]of t)n.set(e,r);ln.set(e,{replacements:n,pattern:sn(n)})}var un=e=>{if(!e)return;let t=e.toLowerCase().replace(/^no(-|$)/,`nb$1`);if(Object.hasOwn(an,t))return t;let n=t.split(`-`)[0];if(Object.hasOwn(an,n))return n};function dn(e,t){if(typeof e!=`string`)throw TypeError(`Expected a string, got \`${typeof e}\``);t={customReplacements:[],...t};let n=un(t.locale),r=[...t.customReplacements],i=nn,a=cn;if(n&&({replacements:i,pattern:a}=ln.get(n)),e=e.normalize(),r.length>0){r.sort((e,t)=>t[0].length-e[0].length);for(let[t,n]of r)e=e.replaceAll(t,n)}return e=e.replace(a,e=>{var t;return(t=i.get(e))==null?e:t}),e=e.normalize(`NFD`).replaceAll(/\p{Diacritic}/gu,``).normalize(),e=e.replaceAll(/\p{Dash_Punctuation}/gu,`-`),e}var fn=[[`&`,` and `],[`🦄`,` unicorn `],[`♥`,` love `]],pn=e=>e.replaceAll(/([A-Z]{2})(\d+)/g,`$1 $2`).replaceAll(/([a-z\d])([A-Z])/g,`$1 $2`).replaceAll(/([A-Z])([A-Z](?!s(?![a-z]))[a-z\d]+)/g,`$1 $2`),mn=(e,t)=>{let n=tn(t);return e.replaceAll(RegExp(`(?:${n}){2,}`,`g`),t).replaceAll(RegExp(`^(?:${n})|(?:${n})$`,`g`),``)},hn=e=>{let t=String.raw`a-z\d`;if(t+=e.lowercase?``:`A-Z`,e.transliterate===!1&&(t+=String.raw`\p{L}\p{N}`),e.preserveCharacters.length>0)for(let n of e.preserveCharacters){if(n===e.separator)throw Error(`The separator character \`${e.separator}\` cannot be included in preserved characters: ${e.preserveCharacters}`);t+=tn(n)}let n=e.transliterate?`g`:`gu`;return RegExp(`[^${t}]+`,n)};function gn(e,t){if(typeof e!=`string`)throw TypeError(`Expected a string, got \`${typeof e}\``);t={separator:`-`,lowercase:!0,decamelize:!0,customReplacements:[],preserveLeadingUnderscore:!1,preserveTrailingDash:!1,preserveCharacters:[],transliterate:!0,...t};let n=t.preserveLeadingUnderscore&&e.startsWith(`_`),r=t.preserveTrailingDash&&e.endsWith(`-`);if(t.transliterate){let n=new Map([...fn,...t.customReplacements]);e=dn(e,{customReplacements:n,locale:t.locale})}else if(t.customReplacements.length>0)for(let[n,r]of t.customReplacements)e=e.replaceAll(n,r);t.decamelize&&(e=pn(e));let i=hn(t);t.lowercase&&(e=t.locale?e.toLocaleLowerCase(t.locale):e.toLowerCase());let a=t.transliterate?/([a-z\d])['\u2019]([ts])(?![a-z\d])/gi:/([\p{L}\p{N}])['\u2019]([ts])(?![\p{L}\p{N}])/giu;return e=e.replaceAll(a,`$1$2`),e=e.replace(i,t.separator),e=e.replaceAll(`\\`,``),t.separator&&(e=mn(e,t.separator)),n&&(e=`_${e}`),r&&(e=`${e}-`),e}var _n=[`href`,`aria-label`],vn={__name:`OAHeading`,props:{id:{type:String,required:!1},level:{type:String,required:!0},prefix:{type:String,default:null},class:{type:String,required:!1},headerAnchorClass:{type:String,default:`header-anchor`}},setup(n){let r=n;function i(e){return e.map(e=>!e.children||typeof e.children==`string`?e.children||``:Array.isArray(e.children)?i(e.children):e.children.default?i(e.children.default()):``).join(``)}let a=(0,t.useSlots)().default,o=(0,t.computed)(()=>i(a())),s=(0,t.computed)(()=>r.id?r.id:gn(r.prefix?`${r.prefix}-${o.value}`:o.value,{decamelize:!1})),c=e.b(),l=(0,t.computed)(()=>{var e;return(e=c.getHeadingLevel(r.level))==null?r.level:e});return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)(l.value),{id:s.value,tabindex:`-1`,class:(0,t.normalizeClass)((0,t.unref)(qt)(r.class))},{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`),(0,t.createElementVNode)(`a`,{class:(0,t.normalizeClass)((0,t.unref)(qt)(`header-anchor`,r.headerAnchorClass)),href:`#${s.value}`,"aria-label":`Permalink to ${o.value}`},`​`,10,_n)]),_:3},8,[`id`,`class`]))}},yn=e.Q(((e,t)=>{function n(e,t){var n,r,i=e.attrs[e.attrIndex(`href`)][1];for(n=0;n<t.length;++n){if(r=t[n],typeof r.matcher==`function`){if(r.matcher(i,r))return r;continue}return r}}function r(e,t,n){Object.keys(n).forEach(function(r){var i,a=n[r];r===`className`&&(r=`class`),i=t[e].attrIndex(r),i<0?t[e].attrPush([r,a]):t[e].attrs[i][1]=a})}function i(e,t){t=t?Array.isArray(t)?t:[t]:[],Object.freeze(t);var i=e.renderer.rules.link_open||this.defaultRender;e.renderer.rules.link_open=function(e,a,o,s,c){var l=n(e[a],t),u=l&&l.attrs;return u&&r(a,e,u),i(e,a,o,s,c)}}i.defaultRender=function(e,t,n,r,i){return i.renderToken(e,t,n)},t.exports=i}));function bn(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function xn(e,t,n){bn(e,t),t.set(e,n)}function Sn(e,t,n){if(typeof e==`function`?e===t:e.has(t))return arguments.length<3?t:n;throw TypeError(`Private element is not present on this object`)}function Cn(e,t,n){return e.set(Sn(e,t),n),n}function wn(e,t){return e.get(Sn(e,t))}var eee=e.tt(yn(),1);function Tn(e,t,n,r,i){return i.renderToken(e,t,n)}function En(e,t){if(!e.startsWith(t))return null;let n=e.substring(t.length).split(`/`);return n.length>=1?n[0]:null}function Dn(e,t,n){let r=``;return t+1<e.length&&e[t+1].type===`text`&&(r=e[t+1].content),r||(n==null?void 0:n.summary)||(n==null?void 0:n.operationId)||``}function On(e,t,n){return`<a href="${e}" class="OAOperationLink group/oaOperationLink"><span class="OAOperationLink-badge OAMethodBadge--${t.toLowerCase()}">${t.toUpperCase()}</span><span class="OAOperationLink-title">${n}</span></a>`}function kn(e,t,n){e[t].type=`html_inline`,e[t].content=n,e[t].children=[],t+1<e.length&&e[t+1].type===`text`&&(e[t+1].content=``),t+2<e.length&&e[t+2].type===`link_close`?(e[t+2].type=`text`,e[t+2].content=``):t+1<e.length&&e[t+1].type===`link_close`&&(e[t+1].type=`text`,e[t+1].content=``)}var An=(t,n={})=>{let r=t.renderer.rules.link_open||Tn,i=t.renderer.rules.link_close||Tn,{linkPrefix:a=`/operations/`,transformHref:o,createOperationLinkHtml:s}=n;t.renderer.rules.link_open=function(t,n,i,c,l){var u,d;let f=e.n();if(!f)return r(t,n,i,c,l);let p=t[n].attrIndex(`href`);if(p<0)return r(t,n,i,c,l);let m=String(t[n].attrs[p][1]),h=En(m,a);if(!h)return r(t,n,i,c,l);let g=(u=f.getOperation)==null?void 0:u.call(f,h);if(!g)return r(t,n,i,c,l);let _=((d=f.getOperationMethod)==null?void 0:d.call(f,h))||`get`,v=Dn(t,n,g),y=m;o&&(y=o(m),t[n].attrs[p][1]=y);let b=s?s(y,_,v):On(y,_,v);return kn(t,n,b),b},t.renderer.rules.link_close=function(e,t,n,r,a){return e[t].type===`text`&&e[t].content===``?``:i(e,t,n,r,a)}},jn=/^https?:\/\//;function Mn(){let t=e.b(),n=t.getOperationLinkConfig(),{externalLinksNewTab:r,config:i}=t.getMarkdownConfig(),a=e.v({html:!0,breaks:!0});r&&a.use(eee.default,[{matcher(e){return jn.test(e)},attrs:{target:`_blank`,rel:`noopener`}}]),n!==!1&&a.use(An,n),i&&(a=i(a)||a);function o(e){return a.render(e||``)}return{md:a,render:o}}var Nn=[`innerHTML`],Pn={__name:`OAMarkdown`,props:{content:{type:String,required:!1,default:``},class:{type:String,required:!1}},setup(e){let n=e,{render:r}=Mn();return(e,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)((0,t.unref)(qt)(`OAMarkdown oa-doc`,n.class)),innerHTML:(0,t.unref)(r)(n.content)},null,10,Nn))}},Fn=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},In={},Ln={class:`animate-pulse flex flex-col gap-6 p-4`};function Rn(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,Ln,[...n[0]||(n[0]=[(0,t.createStaticVNode)(`<div class="flex flex-col gap-4"><div class="w-1/3 h-10 bg-muted rounded"></div><div class="w-1/4 h-4 bg-muted rounded"></div><div class="w-1/2 h-4 bg-muted rounded"></div></div><hr><div class="flex flex-col gap-4"><div class="w-1/3 h-10 bg-muted rounded"></div><div class="w-full h-20 bg-muted rounded"></div></div><hr><div class="flex flex-col gap-4"><div class="w-1/3 h-10 bg-muted rounded"></div><div class="w-1/2 h-4 bg-muted rounded"></div></div>`,5)])])}var zn=Fn(In,[[`render`,Rn]]),Bn=(0,n.defineComponent)({__name:`OAProviderAsync`,props:{spec:{type:[Object,String],required:!1,default:null},specUrl:{type:String,required:!1,default:null}},emits:[`update:spec`],async setup(t,{emit:r}){let i,a,o=t,s=r;async function c(e){var t;let n=await fetch(e);if(!n.ok)throw Error(`Failed to fetch ${e}: ${n.status} ${n.statusText}`);return(t=n.headers.get(`content-type`))!=null&&t.toLowerCase().includes(`yaml`)||e.endsWith(`.yaml`)||e.endsWith(`.yml`)?await n.text():n.json()}function l(t){return typeof t==`string`?e._(t):t}let u=o.spec||(o.specUrl?([i,a]=(0,n.withAsyncContext)(()=>c(o.specUrl)),i=await i,a(),i):null);u&&s(`update:spec`,u);let d=u?([i,a]=(0,n.withAsyncContext)(()=>e.a().parseAsync({spec:u})),i=await i,a(),i):{},f=e.h({spec:d,originalSpec:u?l(u):null});return(0,n.provide)(e.t,f),(e,t)=>(0,n.renderSlot)(e.$slots,`default`,{openapi:(0,n.unref)(f)})}}),tee={key:2},Vn=(0,n.defineComponent)({__name:`OAProvider`,props:{spec:{type:[Object,String],required:!1,default:null},specUrl:{type:String,required:!1,default:null},openapi:{type:Object,required:!1,default:null}},emits:[`update:spec`],setup(t,{emit:r}){var i,a;let o=t,s=r,c=o.spec||o.specUrl,l=(i=(a=o.openapi)==null?e.r():a)==null?e.n():i;return l&&!c&&(0,n.provide)(e.t,l),(e,t)=>(0,n.unref)(c)?((0,n.openBlock)(),(0,n.createBlock)(n.Suspense,{key:0},{fallback:(0,n.withCtx)(()=>[(0,n.createVNode)(zn)]),default:(0,n.withCtx)(()=>[(0,n.createVNode)(Bn,{spec:o.spec,"spec-url":o.specUrl,"onUpdate:spec":t[0]||(t[0]=e=>s(`update:spec`,e))},{default:(0,n.withCtx)(({openapi:t})=>[(0,n.renderSlot)(e.$slots,`default`,{openapi:t})]),_:3},8,[`spec`,`spec-url`])]),_:3})):(0,n.unref)(l)?(0,n.renderSlot)(e.$slots,`default`,{openapi:(0,n.unref)(l)},void 0,void 0,1):((0,n.openBlock)(),(0,n.createElementBlock)(`div`,tee,[...t[1]||(t[1]=[(0,n.createElementVNode)(`p`,null,`OpenAPI instance not found`,-1)])]))}}),Hn=Symbol(`NOT_RESOLVED`);function Un(e,t){var n,r,i,a,o;return{tagName:e,nodeKind:`scalar`,implicit:(n=t.implicit)!=null&&n,matchByTagPrefix:(r=t.matchByTagPrefix)!=null&&r,implicitFirstChars:(i=t.implicitFirstChars)==null?null:i,resolve:t.resolve,identify:t.identify,represent:(a=t.represent)==null?(e=>String(e)):a,representTagName:(o=t.representTagName)==null?(()=>e):o}}function Wn(e,t){var n,r,i,a;let o=t.finalize===void 0;return{tagName:e,nodeKind:`sequence`,implicit:!1,matchByTagPrefix:(n=t.matchByTagPrefix)!=null&&n,create:t.create,addItem:t.addItem,finalize:(r=t.finalize)==null?(e=>e):r,carrierIsResult:o,identify:t.identify,represent:(i=t.represent)==null?(e=>e):i,representTagName:(a=t.representTagName)==null?(()=>e):a}}function Gn(e,t){var n,r,i,a;let o=t.finalize===void 0;return{tagName:e,nodeKind:`mapping`,implicit:!1,matchByTagPrefix:(n=t.matchByTagPrefix)!=null&&n,create:t.create,addPair:t.addPair,has:t.has,keys:t.keys,get:t.get,finalize:(r=t.finalize)==null?(e=>e):r,carrierIsResult:o,identify:t.identify,represent:(i=t.represent)==null?(e=>e):i,representTagName:(a=t.representTagName)==null?(()=>e):a}}var Kn=Un(`tag:yaml.org,2002:str`,{resolve:e=>e,identify:e=>typeof e==`string`}),qn=[``,`~`,`null`,`Null`,`NULL`],Jn=Un(`tag:yaml.org,2002:null`,{implicit:!0,implicitFirstChars:[``,`~`,`n`,`N`],resolve:e=>qn.indexOf(e)===-1?Hn:null,identify:e=>e===null,represent:()=>`null`}),Yn=Un(`tag:yaml.org,2002:null`,{implicit:!0,implicitFirstChars:[`n`],resolve:(e,t)=>e===`null`||t&&e===``?null:Hn,identify:e=>e===null,represent:()=>`null`}),Xn=[``,`~`,`null`,`Null`,`NULL`],Zn=Un(`tag:yaml.org,2002:null`,{implicit:!0,implicitFirstChars:[``,`~`,`n`,`N`],resolve:e=>Xn.indexOf(e)===-1?Hn:null,identify:e=>e===null,represent:()=>`null`}),Qn=[`true`,`True`,`TRUE`],$n=[`false`,`False`,`FALSE`],er=Un(`tag:yaml.org,2002:bool`,{implicit:!0,implicitFirstChars:[`t`,`T`,`f`,`F`],resolve:e=>Qn.indexOf(e)!==-1||$n.indexOf(e)===-1&&Hn,identify:e=>Object.prototype.toString.call(e)===`[object Boolean]`,represent:e=>e?`true`:`false`}),tr=[`true`],nr=[`false`],nee=Un(`tag:yaml.org,2002:bool`,{implicit:!0,implicitFirstChars:[`t`,`f`],resolve:e=>tr.indexOf(e)!==-1||nr.indexOf(e)===-1&&Hn,identify:e=>Object.prototype.toString.call(e)===`[object Boolean]`,represent:e=>e?`true`:`false`}),ree=[`true`,`True`,`TRUE`,`y`,`Y`,`yes`,`Yes`,`YES`,`on`,`On`,`ON`],iee=[`false`,`False`,`FALSE`,`n`,`N`,`no`,`No`,`NO`,`off`,`Off`,`OFF`],aee=Un(`tag:yaml.org,2002:bool`,{implicit:!0,implicitFirstChars:[`y`,`Y`,`n`,`N`,`t`,`T`,`f`,`F`,`o`,`O`],resolve:e=>ree.indexOf(e)!==-1||iee.indexOf(e)===-1&&Hn,identify:e=>Object.prototype.toString.call(e)===`[object Boolean]`,represent:e=>e?`true`:`false`}),oee=RegExp(`^(?:0o[0-7]+|0x[0-9a-fA-F]+|[-+]?[0-9]+)$`),see=RegExp(`^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$`);function cee(e){let t=e,n=1;return(t[0]===`-`||t[0]===`+`)&&(t[0]===`-`&&(n=-1),t=t.slice(1)),t.startsWith(`0b`)?n*parseInt(t.slice(2),2):t.startsWith(`0o`)?n*parseInt(t.slice(2),8):t.startsWith(`0x`)?n*parseInt(t.slice(2),16):n*parseInt(t,10)}function lee(e,t){if(t){if(!see.test(e))return Hn}else if(!oee.test(e))return Hn;let n=cee(e);return Number.isFinite(n)?n:Hn}var rr=Un(`tag:yaml.org,2002:int`,{implicit:!0,implicitFirstChars:[`-`,`+`,...`0123456789`],resolve:lee,identify:e=>Number.isInteger(e)&&!Object.is(e,-0)&&e.toString(10).indexOf(`e`)<0,represent:e=>e.toString(10)}),uee=RegExp(`^-?(?:0|[1-9][0-9]*)$`),dee=RegExp(`^(?:[-+]?0b[0-1]+|[-+]?0o[0-7]+|[-+]?0x[0-9a-fA-F]+|[-+]?[0-9]+)$`);function fee(e){let t=e,n=1;return(t[0]===`-`||t[0]===`+`)&&(t[0]===`-`&&(n=-1),t=t.slice(1)),t.startsWith(`0b`)?n*parseInt(t.slice(2),2):t.startsWith(`0o`)?n*parseInt(t.slice(2),8):t.startsWith(`0x`)?n*parseInt(t.slice(2),16):n*parseInt(t,10)}function pee(e,t){if(t){if(!dee.test(e))return Hn}else if(!uee.test(e))return Hn;let n=fee(e);return Number.isFinite(n)?n:Hn}var mee=Un(`tag:yaml.org,2002:int`,{implicit:!0,implicitFirstChars:[`-`,...`0123456789`],resolve:pee,identify:e=>Number.isInteger(e)&&!Object.is(e,-0)&&e.toString(10).indexOf(`e`)<0,represent:e=>e.toString(10)}),hee=RegExp(`^(?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?0x[0-9a-fA-F_]+|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+|[-+]?(?:0|[1-9][0-9_]*))$`);function gee(e){let t=e.replace(/_/g,``),n=1;if((t[0]===`-`||t[0]===`+`)&&(t[0]===`-`&&(n=-1),t=t.slice(1)),t.startsWith(`0b`))return n*parseInt(t.slice(2),2);if(t.startsWith(`0x`))return n*parseInt(t.slice(2),16);if(t.includes(`:`)){let e=0;for(let n of t.split(`:`))e=e*60+Number(n);return n*e}return t!==`0`&&t[0]===`0`?n*parseInt(t,8):n*parseInt(t,10)}function _ee(e){if(!hee.test(e))return Hn;let t=gee(e);return Number.isFinite(t)?t:Hn}var ir=Un(`tag:yaml.org,2002:int`,{implicit:!0,implicitFirstChars:[`-`,`+`,...`0123456789`],resolve:_ee,identify:e=>Number.isInteger(e)&&!Object.is(e,-0)&&e.toString(10).indexOf(`e`)<0,represent:e=>e.toString(10)}),vee=RegExp(`^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`),yee=RegExp(`^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function bee(e){if(!vee.test(e))return Hn;let t=e.toLowerCase(),n=t[0]===`-`?-1:1;if(`+-`.includes(t[0])&&(t=t.slice(1)),t===`.inf`)return n===1?1/0:-1/0;if(t===`.nan`)return NaN;let r=n*parseFloat(t);return Number.isFinite(r)||yee.test(e)?r:Hn}function xee(e){if(isNaN(e))return`.nan`;if(e===1/0)return`.inf`;if(e===-1/0)return`-.inf`;if(Object.is(e,-0))return`-0.0`;let t=e.toString(10);return/^[-+]?[0-9]+e/.test(t)?t.replace(`e`,`.e`):t}var ar=Un(`tag:yaml.org,2002:float`,{implicit:!0,implicitFirstChars:[`-`,`+`,`.`,...`0123456789`],resolve:bee,identify:e=>typeof e==`number`&&(!Number.isInteger(e)||Object.is(e,-0)||e.toString(10).indexOf(`e`)>=0),represent:xee}),See=RegExp(`^-?(?:0|[1-9][0-9]*)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$`),or=RegExp(`^(?:[-+]?[0-9]+(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|[-+]?\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function Cee(e,t){if(t){if(!or.test(e))return Hn;let t=e.toLowerCase(),n=t[0]===`-`?-1:1;if(`+-`.includes(t[0])&&(t=t.slice(1)),t===`.inf`)return n===1?1/0:-1/0;if(t===`.nan`)return NaN;let r=n*parseFloat(t);return Number.isFinite(r)?r:Hn}if(!See.test(e))return Hn;let n=Number(e);return Number.isFinite(n)?n:Hn}function sr(e){if(isNaN(e))return`.nan`;if(e===1/0)return`.inf`;if(e===-1/0)return`-.inf`;if(Object.is(e,-0))return`-0.0`;let t=e.toString(10);return/^[-+]?[0-9]+e/.test(t)?t.replace(`e`,`.e`):t}var cr=Un(`tag:yaml.org,2002:float`,{implicit:!0,implicitFirstChars:[`-`,...`0123456789`],resolve:Cee,identify:e=>typeof e==`number`&&(!Number.isInteger(e)||Object.is(e,-0)||e.toString(10).indexOf(`e`)>=0),represent:sr}),lr=RegExp(`^(?:[-+]?(?:(?:[0-9][0-9_]*)?\\.[0-9_]*)(?:[eE][-+][0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`),ur=RegExp(`^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$`);function dr(e){if(!lr.test(e))return Hn;let t=e.toLowerCase().replace(/_/g,``),n=t[0]===`-`?-1:1;if(`+-`.includes(t[0])&&(t=t.slice(1)),t===`.inf`)return n===1?1/0:-1/0;if(t===`.nan`)return NaN;let r=0;if(t.includes(`:`)){for(let e of t.split(`:`))r=r*60+Number(e);r*=n}else r=n*parseFloat(t);return Number.isFinite(r)||ur.test(e)?r:Hn}function fr(e){if(isNaN(e))return`.nan`;if(e===1/0)return`.inf`;if(e===-1/0)return`-.inf`;if(Object.is(e,-0))return`-0.0`;let t=e.toString(10);return/^[-+]?[0-9]+e/.test(t)?t.replace(`e`,`.e`):t}var pr=Un(`tag:yaml.org,2002:float`,{implicit:!0,implicitFirstChars:[`-`,`+`,`.`,...`0123456789`],resolve:dr,identify:e=>typeof e==`number`&&(!Number.isInteger(e)||Object.is(e,-0)||e.toString(10).indexOf(`e`)>=0),represent:fr}),mr=Un(`tag:yaml.org,2002:merge`,{implicit:!0,implicitFirstChars:[`<`],resolve:(e,t)=>e===`<<`||t&&e===``?`<<`:Hn,identify:()=>!1}),hr=/^[A-Za-z0-9+/]*={0,2}$/;function gr(e){let t=e.replace(/\s/g,``);if(t.length%4!=0||!hr.test(t))return Hn;let n=atob(t),r=new Uint8Array(n.length);for(let e=0;e<n.length;e++)r[e]=n.charCodeAt(e);return r}function _r(e){let t=``;for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}var wee=Un(`tag:yaml.org,2002:binary`,{resolve:gr,identify:e=>Object.prototype.toString.call(e)===`[object Uint8Array]`,represent:_r}),Tee=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$`),Eee=RegExp(`^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$`);function vr(e,t,n,r=0,i=0,a=0,o=0){let s=new Date(Date.UTC(e,t,n,r,i,a,o));return s.setUTCFullYear(e,t,n),s}function Dee(e){let t=Tee.exec(e);if(t===null&&(t=Eee.exec(e)),t===null)return Hn;let n=+t[1],r=t[2]-1,i=+t[3];if(!t[4]){let e=vr(n,r,i);return e.getUTCFullYear()!==n||e.getUTCMonth()!==r||e.getUTCDate()!==i?Hn:e}let a=+t[4],o=+t[5],s=+t[6],c=0;if(a>23||o>59||s>59)return Hn;if(t[7]){let e=t[7].slice(0,3);for(;e.length<3;)e+=`0`;c=+e}let l=vr(n,r,i,a,o,s,c);if(l.getUTCFullYear()!==n||l.getUTCMonth()!==r||l.getUTCDate()!==i)return Hn;if(t[9]){let e=+t[10],n=+(t[11]||0);if(e>23||n>59)return Hn;let r=(e*60+n)*6e4;l.setTime(l.getTime()-(t[9]===`-`?-r:r))}return l}var Oee=Un(`tag:yaml.org,2002:timestamp`,{implicit:!0,implicitFirstChars:[...`0123456789`],resolve:Dee,identify:e=>e instanceof Date,represent:e=>e.toISOString()}),kee=Wn(`tag:yaml.org,2002:seq`,{create:()=>[],addItem:(e,t)=>{e.push(t)},identify:Array.isArray});function yr(e){if(typeof e!=`object`||!e||Array.isArray(e))return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function br(e,t){let n={};for(let r of t)e[r]!==void 0&&(n[r]=e[r]);return n}var xr=Wn(`tag:yaml.org,2002:omap`,{create:()=>({list:[],seen:new Set}),addItem:(e,t)=>{let n;if(t instanceof Map){if(t.size!==1)return`cannot resolve an ordered map item`;n=t.keys().next().value}else if(yr(t)){let e=Object.keys(t);if(e.length!==1)return`cannot resolve an ordered map item`;n=e[0]}else return`cannot resolve an ordered map item`;return e.seen.has(n)?`duplicate key in ordered map`:(e.seen.add(n),e.list.push(t),``)},finalize:e=>e.list,identify:()=>!1}),Sr=Wn(`tag:yaml.org,2002:pairs`,{create:()=>[],addItem:(e,t)=>{if(t instanceof Map)return t.size===1?(e.push(t.entries().next().value),``):`cannot resolve a pairs item`;if(Object.prototype.toString.call(t)!==`[object Object]`)return`cannot resolve a pairs item`;let n=t,r=Object.keys(n);return r.length===1?(e.push([r[0],n[r[0]]]),``):`cannot resolve a pairs item`},identify:()=>!1}),Cr=Gn(`tag:yaml.org,2002:map`,{create:()=>({}),identify:yr,represent:e=>{let t=new Map;for(let n of Object.keys(e))t.set(n,e[n]);return t},addPair:(e,t,n)=>{if(typeof t==`object`&&t)return`object-based map does not support complex keys`;let r=String(t);return r===`__proto__`?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,``},has:(e,t)=>typeof t==`object`&&t?!1:Object.prototype.hasOwnProperty.call(e,String(t)),keys:e=>Object.keys(e),get:(e,t)=>{let n=String(t);return Object.prototype.hasOwnProperty.call(e,n)?e[n]:null}}),wr=Gn(`tag:yaml.org,2002:set`,{create:()=>new Set,identify:e=>e instanceof Set,represent:e=>{let t=new Map;for(let n of e)t.set(n,null);return t},addPair:(e,t,n)=>n===null?(e.add(t),``):`cannot resolve a set item`,has:(e,t)=>e.has(t),keys:e=>e.keys(),get:()=>null});function Tr(){return{scalar:Object.create(null),sequence:Object.create(null),mapping:Object.create(null)}}function Er(){return{scalar:[],sequence:[],mapping:[]}}function Dr(e){let t=[];for(let n of e){let e=t.length;for(let r=0;r<t.length;r++){let i=t[r];if(i.nodeKind===n.nodeKind&&i.tagName===n.tagName&&i.matchByTagPrefix===n.matchByTagPrefix){e=r;break}}t[e]=n}return t}var Or=class t{constructor(t){e.N(this,`tags`,void 0),e.N(this,`implicitScalarTags`,void 0),e.N(this,`implicitScalarByFirstChar`,void 0),e.N(this,`implicitScalarAnyFirstChar`,void 0),e.N(this,`defaultScalarTag`,void 0),e.N(this,`defaultSequenceTag`,void 0),e.N(this,`defaultMappingTag`,void 0),e.N(this,`exact`,void 0),e.N(this,`prefix`,void 0);let n=Dr(t),r=[],i=Tr(),a=Er();for(let e of n){if(e.nodeKind===`scalar`&&e.implicit){if(e.matchByTagPrefix)throw Error(`Implicit scalar tags cannot match by tag prefix`);r.push(e)}switch(e.nodeKind){case`scalar`:e.matchByTagPrefix?a.scalar.push(e):i.scalar[e.tagName]=e;break;case`sequence`:e.matchByTagPrefix?a.sequence.push(e):i.sequence[e.tagName]=e;break;case`mapping`:e.matchByTagPrefix?a.mapping.push(e):i.mapping[e.tagName]=e}}let o=r.filter(e=>e.implicitFirstChars===null),s=new Set;for(let e of r)if(e.implicitFirstChars!==null)for(let t of e.implicitFirstChars)s.add(t);let c=new Map;for(let e of s)c.set(e,r.filter(t=>t.implicitFirstChars===null||t.implicitFirstChars.indexOf(e)!==-1));let l=i.scalar[`tag:yaml.org,2002:str`];if(!l)throw Error(`schema does not define the default scalar tag (tag:yaml.org,2002:str)`);this.tags=n,this.implicitScalarTags=r,this.implicitScalarByFirstChar=c,this.implicitScalarAnyFirstChar=o,this.defaultScalarTag=l,this.defaultSequenceTag=i.sequence[`tag:yaml.org,2002:seq`],this.defaultMappingTag=i.mapping[`tag:yaml.org,2002:map`],this.exact=i,this.prefix=a}lookupScalarTag(e){let t=this.exact.scalar[e];if(t)return t;for(let t of this.prefix.scalar)if(e.startsWith(t.tagName))return t}lookupSequenceTag(e){let t=this.exact.sequence[e];if(t)return t;for(let t of this.prefix.sequence)if(e.startsWith(t.tagName))return t}lookupMappingTag(e){let t=this.exact.mapping[e];if(t)return t;for(let t of this.prefix.mapping)if(e.startsWith(t.tagName))return t}resolveImplicitScalarTag(e){var t;let n=(t=this.implicitScalarByFirstChar.get(e.charAt(0)))==null?this.implicitScalarAnyFirstChar:t;for(let t of n){let n=t.resolve(e,!1,t.tagName);if(n!==Hn)return{value:n,tag:t}}let r=this.defaultScalarTag;return{value:r.resolve(e,!1,r.tagName),tag:r}}withTags(...e){let n=[];for(let t of e)n=n.concat(t);return new t([...this.tags,...n])}},kr=new Or([Kn,kee,Cr]);new Or([...kr.tags,Yn,nee,mee,cr]);var Ar=new Or([...kr.tags,Jn,er,rr,ar]),jr=new Or([...kr.tags,Zn,aee,ir,pr,Oee,mr,wee,xr,Sr,wr]).withTags({...ir,resolve:(e,t,n)=>{let r=ir.resolve(e,t,n);return r===Hn?rr.resolve(e,t,n):r}},{...pr,resolve:(e,t,n)=>{let r=pr.resolve(e,t,n);return r===Hn?ar.resolve(e,t,n):r}});Gn(`tag:yaml.org,2002:map`,{create:()=>new Map,addPair:(e,t,n)=>(e.set(t,n),``),has:(e,t)=>e.has(t),keys:e=>e.keys(),get:(e,t)=>e.get(t),identify:e=>e instanceof Map||yr(e),represent:e=>{if(e instanceof Map)return e;let t=new Map,n=e;for(let e of Object.keys(n))t.set(e,n[e]);return t}});function Mr(e){if(Array.isArray(e)){let t=Array.prototype.slice.call(e);for(let e=0;e<t.length;e++){if(Array.isArray(t[e]))return null;typeof t[e]==`object`&&Object.prototype.toString.call(t[e])===`[object Object]`&&(t[e]=`[object Object]`)}return String(t)}return typeof e==`object`&&Object.prototype.toString.call(e)===`[object Object]`?`[object Object]`:String(e)}Gn(`tag:yaml.org,2002:map`,{create:()=>({}),identify:yr,represent:e=>{let t=new Map;for(let n of Object.keys(e))t.set(n,e[n]);return t},addPair:(e,t,n)=>{let r=Mr(t);return r===null?`nested arrays are not supported inside keys`:(r===`__proto__`?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,``)},has:(e,t)=>{let n=Mr(t);return n!==null&&Object.prototype.hasOwnProperty.call(e,n)},keys:e=>Object.keys(e),get:(e,t)=>{let n=String(t);return Object.prototype.hasOwnProperty.call(e,n)?e[n]:null}});var Nr={maxLength:79,indent:1,linesBefore:3,linesAfter:2};function Pr(e,t,n,r,i){let a=``,o=``,s=Math.floor(i/2)-1;return r-t>s&&(a=` ... `,t=r-s+a.length),n-r>s&&(o=` ...`,n=r+s-o.length),{str:a+e.slice(t,n).replace(/\t/g,`→`)+o,pos:r-t+a.length}}function Fr(e,t){return` `.repeat(Math.max(t-e.length,0))+e}function Ir(e,t){if(!e.buffer)return null;let n={...Nr,...t},r=/\r?\n|\r|\0/g,i=[0],a=[],o,s=-1;for(;o=r.exec(e.buffer);)a.push(o.index),i.push(o.index+o[0].length),e.position<=o.index&&s<0&&(s=i.length-2);s<0&&(s=i.length-1);let c=``,l=Math.min(e.line+n.linesAfter,a.length).toString().length,u=n.maxLength-(n.indent+l+3);for(let t=1;t<=n.linesBefore&&!(s-t<0);t++){let r=Pr(e.buffer,i[s-t],a[s-t],e.position-(i[s]-i[s-t]),u);c=`${` `.repeat(n.indent)}${Fr((e.line-t+1).toString(),l)} | ${r.str}\n${c}`}let d=Pr(e.buffer,i[s],a[s],e.position,u);c+=`${` `.repeat(n.indent)}${Fr((e.line+1).toString(),l)} | ${d.str}\n`,c+=`${`-`.repeat(n.indent+l+3+d.pos)}^\n`;for(let t=1;t<=n.linesAfter&&!(s+t>=a.length);t++){let r=Pr(e.buffer,i[s+t],a[s+t],e.position-(i[s]-i[s+t]),u);c+=`${` `.repeat(n.indent)}${Fr((e.line+t+1).toString(),l)} | ${r.str}\n`}return c.replace(/\n$/,``)}function Lr(e,t){let n=``;return e.mark?(e.mark.name&&(n+=`in "${e.mark.name}" `),n+=`(${e.mark.line+1}:${e.mark.column+1})`,!t&&e.mark.snippet&&(n+=`\n\n${e.mark.snippet}`),`${e.reason} ${n}`):e.reason}var Rr=class t extends Error{constructor(t,n){super(),e.N(this,`reason`,void 0),e.N(this,`mark`,void 0),this.name=`YAMLException`,this.reason=t,this.mark=n,this.message=Lr(this,!1),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}toString(e){return`${this.name}: ${Lr(this,e)}`}static throwAt(e,n,r,i=``){let a=0,o=0;for(let t=0;t<n;t++){let n=e.charCodeAt(t);n===10?(a++,o=t+1):n===13&&(a++,e.charCodeAt(t+1)===10&&t++,o=t+1)}let s={name:i,buffer:e,position:n,line:a,column:n-o};throw s.snippet=Ir(s),new t(r,s)}},zr={DOCUMENT:1,SEQUENCE:2,MAPPING:3,SCALAR:4,ALIAS:5,POP:6},Br={PLAIN:1,SINGLE_QUOTED:2,DOUBLE_QUOTED:3,LITERAL_BLOCK:4,FOLDED_BLOCK:5},Vr={BLOCK:1,FLOW:2},Hr={CLIP:1,STRIP:2,KEEP:3};function Ur(e){switch(e){case 48:return`\0`;case 97:return`\x07`;case 98:return`\b`;case 116:return` `;case 9:return` `;case 110:return`
4
4
  `;case 118:return`\v`;case 102:return`\f`;case 114:return`\r`;case 101:return`\x1B`;case 32:return` `;case 34:return`"`;case 47:return`/`;case 92:return`\\`;case 78:return`…`;case 95:return`\xA0`;case 76:return`\u2028`;case 80:return`\u2029`;default:return``}}var Aee=Array(256),Wr=Array(256);for(let e=0;e<256;e++)Aee[e]=+!!Ur(e),Wr[e]=Ur(e);Object.assign(Object.create(null),{"!":`!`,"!!":`tag:yaml.org,2002:`});function Gr(e){return encodeURI(e).replace(/!/g,`%21`)}function Kr(e){let t=e;return t.charCodeAt(0)===33?(t=t.slice(1),`!${Gr(t)}`):t.slice(0,18)===`tag:yaml.org,2002:`?`!!${Gr(t.slice(18))}`:`!<${Gr(t)}>`}var qr={filename:``,schema:Ar,json:!1,maxTotalMergeKeys:1e4,maxAliases:-1},Jr=String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]])`,Yr=String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$.~*'()_])`;RegExp(`^(?:${Jr})*$`),RegExp(`^(?:${Yr})+$`),RegExp(`^(?:!(?:${Jr})*|${Yr}(?:${Jr})*)$`),{...qr};var Xr=Symbol(`INVALID`);function Zr(e){let t=new Set([e.defaultScalarTag,e.defaultSequenceTag,e.defaultMappingTag].filter(e=>e!==void 0)),n=e.implicitScalarTags,r=e.tags.filter(e=>!(e.nodeKind===`scalar`&&e.implicit)&&!t.has(e)),i=e.tags.filter(e=>t.has(e));return[...n.map(e=>({tag:e,implicitTag:!0})),...r.map(e=>({tag:e,implicitTag:!1})),...i.map(e=>({tag:e,implicitTag:!0}))]}function Qr(e,t){for(let n=0,r=e.representTypes.length;n<r;n+=1){let{tag:r,implicitTag:i}=e.representTypes[n];if(r.identify(t)){let e;return e=r.matchByTagPrefix?r.representTagName(t):r.tagName,{tag:r,tagName:e,implicitTag:i}}}return null}function $r(e,t){if(!e.noRefs&&typeof t==`object`&&t){let n=e.refs.get(t);if(n)return n.anchor===void 0&&(n.anchor=`ref_${e.refCounter++}`),{kind:`alias`,anchor:n.anchor}}let n=Qr(e,t);if(!n){if(t===void 0||e.skipInvalid)return Xr;throw new Rr(`unacceptable kind of an object to dump ${Object.prototype.toString.call(t)}`)}let{tag:r,tagName:i,implicitTag:a}=n,o=a?i:Kr(i);if(r.nodeKind===`scalar`)return{kind:`scalar`,tag:o,tagged:!a,style:Br.PLAIN,value:r.represent(t)};if(r.nodeKind===`sequence`){let n=r.represent(t),i={kind:`sequence`,tag:o,tagged:!a,style:Vr.BLOCK,items:[]};e.noRefs||e.refs.set(t,i);for(let t=0,r=n.length;t<r;t+=1){let r=$r(e,n[t]);r===Xr&&n[t]===void 0&&(r=$r(e,null)),r!==Xr&&i.items.push(r)}return i}let s=r.represent(t),c={kind:`mapping`,tag:o,tagged:!a,style:Vr.BLOCK,items:[]};e.noRefs||e.refs.set(t,c);for(let[t,n]of s){let r=$r(e,t);if(r===Xr)continue;let i=$r(e,n);i!==Xr&&c.items.push({key:r,value:i})}return c}function ei(e,t,n={}){var r,i;let a=$r({representTypes:Zr(t),noRefs:(r=n.noRefs)!=null&&r,skipInvalid:(i=n.skipInvalid)!=null&&i,refs:new Map,refCounter:0},e);return[{contents:a===Xr?null:a,directives:[]}]}var ti=Symbol(`visit:break`),ni=Symbol(`visit:skip`);function ri(e,t,n){let r=t(e,n);if(r===ti)return!0;if(r===ni)return!1;let i=n.depth+1;switch(e.kind){case`sequence`:for(let n of e.items)if(ri(n,t,{depth:i,parent:e,isKey:!1}))return!0;break;case`mapping`:for(let{key:n,value:r}of e.items)if(ri(n,t,{depth:i,parent:e,isKey:!0})||ri(r,t,{depth:i,parent:e,isKey:!1}))return!0}return!1}function ii(e,t){for(let n of e)if(n.contents&&ri(n.contents,t,{depth:0,parent:null,isKey:!1}))return}function ai(e,t){return!!(e&1<<t)}var oi={applyQuoteFlowKeysOption:jee,doubleQuoteForInvisibles:Mee,doubleQuoteWhitespaceOnly:Nee,applyForceQuotesOption:Pee,tryLongOrMultilineAsBlock:Fee,quoteInvalidPlain:Iee,fallbackToDoubleQuoted:Lee};function si(e){return e.presenterOptions.quoteStyle===`single`&&ai(e.allowedStylesMask,Br.SINGLE_QUOTED)?Br.SINGLE_QUOTED:Br.DOUBLE_QUOTED}function jee(e){e.presenterOptions.quoteFlowKeys&&(!e.isKey||!e.flowOnly||e.style!==Br.PLAIN||(e.style=Br.DOUBLE_QUOTED))}function Mee(e){e.style===Br.PLAIN&&/[\t\x7F-\xA0\u2028\u2029\uFEFF\uFFFE\uFFFF]/.test(e.node.value)&&(e.style=Br.DOUBLE_QUOTED)}function Nee(e){e.style===Br.PLAIN&&/^\s+$/.test(e.node.value)&&(e.style=Br.DOUBLE_QUOTED)}function Pee(e){e.presenterOptions.forceQuotes&&(e.isKey||e.style!==Br.PLAIN||(e.style=e.node.value.includes(`
5
5
  `)?Br.DOUBLE_QUOTED:si(e)))}function Fee(e){if(e.style!==Br.PLAIN||e.isKey)return;let t=e.node.value,n=t.indexOf(`
6
6
  `)!==-1;if(!ai(e.allowedStylesMask,Br.LITERAL_BLOCK)){n&&(e.style=Br.DOUBLE_QUOTED);return}let r=e.presenterOptions.lineWidth;if(r===-1){n&&(e.style=Br.LITERAL_BLOCK);return}let i=Math.max(Math.min(r,40),r-e.shiftOfContent),a=0,o=!1;for(;a<=t.length;){let e=t.length,n=t.indexOf(`
@@ -27,9 +27,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
27
27
  `);else if(c){let e=ya(n,0,a.contents,null,{block:!0,compact:!0}).text,t=e===``?``:s||ba(a.contents)?`
28
28
  `:` `;r+=`---${t}${e}\n`}else r+=ya(n,0,a.contents,null,{block:!0,compact:!0}).text+`
29
29
  `;i=a.explicitEnd||n.openEnded,i&&(r+=`...
30
- `)}return r}var Ca={...la,schema:jr,skipInvalid:!1,noRefs:!1,flowLevel:-1,sortKeys:!1,transform:()=>{}};function wa(e,t){let n=String(e),r=String(t);return n<r?-1:+(n>r)}function Ta(e,t={}){let n={...Ca,...t},r=ei(e,n.schema,{noRefs:n.noRefs,skipInvalid:n.skipInvalid});if(n.flowLevel>=0&&ii(r,(e,t)=>{if(!(t.depth<n.flowLevel))return(e.kind===`sequence`||e.kind===`mapping`)&&(e.style=Vr.FLOW),ni}),n.sortKeys){let e=n.sortKeys===!0?wa:n.sortKeys;ii(r,t=>{t.kind===`mapping`&&t.items.sort((t,n)=>e(t.key.kind===`scalar`?t.key.value:``,n.key.kind===`scalar`?n.key.value:``))})}return n.transform(r),Sa(r,{...br(n,Object.keys(la)),schema:n.schema})}zr.DOCUMENT,zr.SEQUENCE,zr.MAPPING,zr.SCALAR,zr.ALIAS,zr.POP,Br.PLAIN,Br.SINGLE_QUOTED,Br.DOUBLE_QUOTED,Br.LITERAL_BLOCK,Br.FOLDED_BLOCK,Vr.BLOCK,Vr.FLOW,Hr.CLIP,Hr.STRIP,Hr.KEEP;var Ea={class:`download-container group relative`},Da={class:`underline mr-2`},Oa={class:`underline mr-2`},ka=Fn((0,n.defineComponent)({__name:`OADownloadSpec`,props:{openapi:{type:Object,required:!0}},setup(e){let t=e,r=/[^\w\-]/g,{t:i}=l();function a(e){try{var n;let i=t.openapi.getOriginalSpec();if(!i){console.warn(`No OpenAPI Document available for download.`);return}let a=e===`json`?JSON.stringify(i,null,2):Ta(i),o=new Blob([a],{type:e===`json`?`application/json`:`application/yaml`}),s=URL.createObjectURL(o),c=document.createElement(`a`);c.href=s,c.download=`${(((n=t.openapi.spec.info)==null?void 0:n.title)||`openapi`).replace(r,`_`).toLowerCase()}.${e}`,document.body.appendChild(c),c.click(),document.body.removeChild(c),URL.revokeObjectURL(s)}catch(t){console.error(`Error downloading OpenAPI spec as ${e}:`,t)}}return(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Ea,[(0,n.createElementVNode)(`a`,{href:`#`,class:`download-button relative flex items-center gap-2 no-underline!`,"aria-label":`Download OpenAPI Document as JSON`,onClick:t[0]||(t[0]=(0,n.withModifiers)(e=>a(`json`),[`prevent`]))},[(0,n.createElementVNode)(`span`,Da,(0,n.toDisplayString)((0,n.unref)(i)(`Download OpenAPI Document`)),1),(0,n.createVNode)((0,n.unref)(Zt),{variant:`outline`,class:`hidden group-hover:inline-block`},{default:(0,n.withCtx)(()=>[...t[2]||(t[2]=[(0,n.createTextVNode)(`JSON`,-1)])]),_:1})]),(0,n.createElementVNode)(`a`,{href:`#`,class:`download-button yaml-button absolute hidden group-hover:flex items-center gap-2 no-underline!`,"aria-label":`Download OpenAPI Document as YAML`,onClick:t[1]||(t[1]=(0,n.withModifiers)(e=>a(`yaml`),[`prevent`]))},[(0,n.createElementVNode)(`span`,Oa,(0,n.toDisplayString)((0,n.unref)(i)(`Download OpenAPI Document`)),1),(0,n.createVNode)((0,n.unref)(Zt),{variant:`outline`},{default:(0,n.withCtx)(()=>[...t[3]||(t[3]=[(0,n.createTextVNode)(`YAML`,-1)])]),_:1})])]))}}),[[`__scopeId`,`data-v-53cf32cb`]]),Aa={class:`flex flex-col`},ja={class:`flex flex-col items-start`},Ma={class:`flex flex-row items-center gap-2`},Na={key:0,class:`text-muted-foreground`},Pa={class:`flex flex-row items-center gap-2`},Fa=[`href`,`aria-label`],Ia={key:0,class:`text-muted-foreground`},La=[`href`,`aria-label`],Ra={class:`grid grid-cols-1 sm:grid-cols-2 gap-2`},za={key:0},Ba=[`href`,`aria-label`],Va={key:1},Ha=[`href`,`aria-label`],Ua=[`href`,`aria-label`],Wa={__name:`OAInfoContent`,props:{openapi:{type:Object,required:!0}},setup(n){var r,i;let a=n,o=e.b(),{t:s}=l(),c=(r=a.openapi.spec.info)==null?{}:r,u=(i=a.openapi.spec.externalDocs)==null?{}:i,d=s(`External Documentation`),f=s(`Contact`);return(e,r)=>{var i,a,l,p,m;return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,Aa,[(0,t.createElementVNode)(`div`,ja,[(0,t.createElementVNode)(`div`,Ma,[(0,t.unref)(c).version?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Zt),{key:0,variant:`outline`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)(` v`+(0,t.toDisplayString)((0,t.unref)(c).version),1)]),_:1})):(0,t.createCommentVNode)(``,!0)]),(0,t.createVNode)(vn,{level:`h1`},{default:(0,t.withCtx)(()=>{var e;return[(0,t.createTextVNode)((0,t.toDisplayString)((e=(0,t.unref)(c).title)==null?(0,t.unref)(s)(`API Documentation`):e),1)]}),_:1}),(0,t.unref)(o).getSpecDisableDownload()?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createBlock)(ka,{key:0,class:`mt-1`,openapi:n.openapi},null,8,[`openapi`]))]),(0,t.unref)(c).summary?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Na,(0,t.toDisplayString)((0,t.unref)(c).summary),1)):(0,t.createCommentVNode)(``,!0),(0,t.unref)(c).description?((0,t.openBlock)(),(0,t.createBlock)(Pn,{key:1,content:(0,t.unref)(c).description,class:`mt-4`},null,8,[`content`])):(0,t.createCommentVNode)(``,!0),(0,t.unref)(c).contact?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:2},[(0,t.createVNode)(vn,{level:`h2`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(f)),1)]),_:1}),(0,t.createElementVNode)(`div`,Pa,[(0,t.unref)(c).contact.url?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createElementVNode)(`a`,{href:(0,t.unref)(c).contact.url,"aria-label":(i=(0,t.unref)(c).contact.name)==null?(0,t.unref)(f):i},(0,t.toDisplayString)((a=(0,t.unref)(c).contact.name)==null?(0,t.unref)(f):a),9,Fa),(0,t.unref)(c).contact.email?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Ia,`/`)):(0,t.createCommentVNode)(``,!0)],64)):(0,t.createCommentVNode)(``,!0),(0,t.unref)(c).contact.email?((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:1,href:`mailto:${(0,t.unref)(c).contact.email}`,"aria-label":(0,t.unref)(c).contact.email},(0,t.toDisplayString)((0,t.unref)(c).contact.email),9,La)):(0,t.createCommentVNode)(``,!0)])],64)):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`div`,Ra,[(0,t.unref)(c).termsOfService?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,za,[(0,t.createVNode)(vn,{level:`h2`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(s)(`Terms of Service`)),1)]),_:1}),(0,t.createElementVNode)(`a`,{href:(0,t.unref)(c).termsOfService,"aria-label":(0,t.unref)(c).termsOfService},(0,t.toDisplayString)((0,t.unref)(c).termsOfService),9,Ba)])):(0,t.createCommentVNode)(``,!0),(0,t.unref)(c).license?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Va,[(0,t.createVNode)(vn,{level:`h2`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(s)(`License`)),1)]),_:1}),(0,t.createElementVNode)(`a`,{href:(0,t.unref)(c).license.url,"aria-label":(0,t.unref)(c).license.name},(0,t.toDisplayString)((l=(0,t.unref)(c).license.name)==null?(0,t.unref)(s)(`License`):l),9,Ha)])):(0,t.createCommentVNode)(``,!0)]),Object.keys((0,t.unref)(u)).length?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:3},[(0,t.createVNode)(vn,{level:`h2`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(d)),1)]),_:1}),(0,t.createElementVNode)(`a`,{href:(0,t.unref)(u).url,"aria-label":(p=(0,t.unref)(u).description)==null?(0,t.unref)(d):p},(0,t.toDisplayString)((m=(0,t.unref)(u).description)==null?(0,t.unref)(d):m),9,Ua)],64)):(0,t.createCommentVNode)(``,!0)])}}},Ga={__name:`OAInfo`,props:{spec:{type:[Object,String],required:!1}},setup(e){let n=e;return(e,r)=>((0,t.openBlock)(),(0,t.createBlock)(Vn,{spec:n.spec},{default:(0,t.withCtx)(({openapi:e})=>[(0,t.createVNode)(Wa,{openapi:e},null,8,[`openapi`])]),_:1},8,[`spec`]))}},Ka={class:`flex flex-col space-y-4`},qa={class:`font-semibold select-all`},Ja={key:0,class:`text-muted-foreground`},Ya={__name:`OAServersContent`,props:{openapi:{type:Object,required:!0}},setup(e){var n;let r=(n=e.openapi.spec.servers)==null?[]:n,{t:i}=l();return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,null,[(0,t.createVNode)(vn,{level:`h2`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(i)(`Servers`)),1)]),_:1}),(0,t.createElementVNode)(`div`,Ka,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(r),e=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:e.url,class:`flex flex-col p-3 gap-2 rounded bg-muted overflow-x-auto`},[(0,t.createElementVNode)(`span`,qa,(0,t.toDisplayString)(e.url),1),e.description?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Ja,(0,t.toDisplayString)(e.description),1)):(0,t.createCommentVNode)(``,!0)]))),128))])]))}},Xa={__name:`OAIntroduction`,props:{spec:{type:[Object,String],required:!1}},setup(e){let n=e;return(e,r)=>((0,t.openBlock)(),(0,t.createBlock)(Vn,{spec:n.spec},{default:(0,t.withCtx)(({openapi:e})=>[(0,t.createVNode)(Wa,{openapi:e},null,8,[`openapi`]),(0,t.createVNode)(Ya,{openapi:e},null,8,[`openapi`])]),_:1},8,[`spec`]))}};function Za(e){return typeof e==`string`?`'${e}'`:new to().serialize(e)}var Qa=` _-,;:!?.'"()[]{}@*/\\&#%\`^+<=>|~$0123456789abcdefghijklmnopqrstuvwxyz`,$a=(function(){let e=new Uint8Array(128);for(let t=0;t<69;t++)e[Qa.charCodeAt(t)]=t+1;for(let t=65;t<=90;t++)e[t]=e[t+32];return e})();function eo(e,t){if(e===t)return 0;let n=Math.min(e.length,t.length),r=0;for(let i=0;i<n;i++){let n=e.charCodeAt(i),a=t.charCodeAt(i);if(n===a)continue;let o=n<128&&$a[n]?$a[n]:n+128,s=a<128&&$a[a]?$a[a]:a+128;if(o!==s)return o<s?-1:1;r===0&&(r=n>a?-1:1)}return e.length===t.length?r:e.length<t.length?-1:1}var to=(function(){var e=new WeakMap;class t{constructor(){xn(this,e,new Map)}compare(e,t){let n=typeof e,r=typeof t;return n===`string`&&r===`string`?eo(e,t):n===`number`&&r===`number`?e-t:eo(this.serialize(e,!0),this.serialize(t,!0))}serialize(e,t){if(e===null)return`null`;switch(typeof e){case`string`:return t?e:`'${e}'`;case`bigint`:return`${e}n`;case`object`:return this.$object(e);case`function`:return this.$function(e)}return String(e)}serializeObject(e){let t=Object.prototype.toString.call(e);if(t!==`[object Object]`)return this.serializeBuiltInType(t.length<10?`unknown:${t}`:t.slice(8,-1),e);let n=e.constructor,r=n===Object||n===void 0?``:n.name;if(r!==``&&globalThis[r]===n)return this.serializeBuiltInType(r,e);if(`toJSON`in e&&typeof e.toJSON==`function`){let t=e.toJSON();return r+(typeof t==`object`&&t?this.$object(t):`(${this.serialize(t)})`)}let i=Object.keys(e).sort(eo),a=`${r}{`;for(let t=0;t<i.length;t++){let n=i[t];a+=`${n}:${this.serialize(e[n])}`,t<i.length-1&&(a+=`,`)}return a+`}`}serializeBuiltInType(e,t){let n=this[`$`+e];if(n)return n.call(this,t);if(typeof t.entries==`function`)return this.serializeObjectEntries(e,t.entries());throw Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,t){let n=Array.from(t).sort((e,t)=>this.compare(e[0],t[0])),r=`${e}{`;for(let e=0;e<n.length;e++){let[t,i]=n[e];r+=`${this.serialize(t,!0)}:${this.serialize(i)}`,e<n.length-1&&(r+=`,`)}return r+`}`}$object(t){let n=wn(e,this).get(t);return n===void 0&&(wn(e,this).set(t,`#${wn(e,this).size}`),n=this.serializeObject(t),wn(e,this).set(t,n)),n}$function(e){let t=Function.prototype.toString.call(e);return t.slice(-15)===`[native code] }`?`${e.name||``}()[native]`:`${e.name}(${e.length})${t.replace(/\s*\n\s*/g,``)}`}$Array(e){let t=`[`;for(let n=0;n<e.length;n++)t+=this.serialize(e[n]),n<e.length-1&&(t+=`,`);return t+`]`}$Date(e){try{return`Date(${e.toISOString()})`}catch{return`Date(null)`}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(`,`)}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((e,t)=>this.compare(e,t)))}`}$Map(e){return this.serializeObjectEntries(`Map`,e.entries())}}for(let e of[`Error`,`RegExp`,`URL`])t.prototype[`$`+e]=function(t){return`${e}(${t})`};for(let e of[`Int8Array`,`Uint8Array`,`Uint8ClampedArray`,`Int16Array`,`Uint16Array`,`Int32Array`,`Uint32Array`,`Float32Array`,`Float64Array`])t.prototype[`$`+e]=function(t){return`${e}[${t.join(`,`)}]`};for(let e of[`BigInt64Array`,`BigUint64Array`])t.prototype[`$`+e]=function(t){return`${e}[${t.join(`n,`)}${t.length>0?`n`:``}]`};return t})();function no(e,t){return e===t||Za(e)===Za(t)}function ro(e,t=-1/0,n=1/0){return Math.min(n,Math.max(t,e))}function io(e,t){let r=typeof e==`string`&&!t?`${e}Context`:t,i=Symbol(r);return[t=>{let r=(0,n.inject)(i,t);if(r||r===null)return r;throw Error(`Injection \`${i.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(`, `)}`:`\`${e}\``}`)},e=>((0,n.provide)(i,e),e)]}function ao(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function oo(e,t,n){let r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(i)}function so(e){return e==null}function co(e,t){return so(e)?!1:Array.isArray(e)?e.some(e=>no(e,t)):no(e,t)}function lo(e){return e?e.flatMap(e=>e.type===n.Fragment?lo(e.children):[e]):[]}var[uo,Bee]=io(`ConfigProvider`),fo=(0,n.reactive)({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set});function po(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function mo(e,t,n=`.`,r){if(!po(t))return mo(e,{},n,r);let i={...t};for(let t of Object.keys(e)){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(i[t]=Array.isArray(a)&&Array.isArray(i[t])?[...a,...i[t]]:po(a)&&po(i[t])?mo(a,i[t],(n?`${n}.`:``)+t.toString(),r):a))}return i}function Vee(e){return(...t)=>t.reduce((t,n)=>mo(t,n,``,e),{})}var ho=Vee(),Hee=e.W(()=>{let t=(0,n.ref)(new Map),r=(0,n.ref)(),i=(0,n.computed)(()=>{for(let e of t.value.values())if(e)return!0;return!1}),a=uo({scrollBody:(0,n.ref)(!0)}),o=null,s=()=>{var t;document.body.style.paddingRight=``,document.body.style.marginRight=``,fo.layersWithOutsidePointerEventsDisabled.size===0&&(document.body.style.pointerEvents=``),document.documentElement.style.removeProperty(`--scrollbar-width`),document.body.style.overflow=(t=r.value)==null?``:t,e.K&&(o==null||o()),r.value=void 0};return(0,n.watch)(i,(t,c)=>{var l;if(!e.G)return;if(!t){c&&s();return}r.value===void 0&&(r.value=document.body.style.overflow);let u=window.innerWidth-document.documentElement.clientWidth,d={padding:u,margin:0},f=(l=a.scrollBody)!=null&&l.value?typeof a.scrollBody.value==`object`?ho({padding:a.scrollBody.value.padding===!0?u:a.scrollBody.value.padding,margin:a.scrollBody.value.margin===!0?u:a.scrollBody.value.margin},d):d:{padding:0,margin:0};u>0&&(document.body.style.paddingRight=typeof f.padding==`number`?`${f.padding}px`:String(f.padding),document.body.style.marginRight=typeof f.margin==`number`?`${f.margin}px`:String(f.margin),document.documentElement.style.setProperty(`--scrollbar-width`,`${u}px`),document.body.style.overflow=`hidden`),e.K&&(o=e.L(document,`touchmove`,e=>Wee(e),{passive:!1})),(0,n.nextTick)(()=>{i.value&&(document.body.style.pointerEvents=`none`,document.body.style.overflow=`hidden`)})},{immediate:!0,flush:`sync`}),t});function Uee(t){let r=Math.random().toString(36).substring(2,7),i=Hee();i.value.set(r,t!=null&&t);let a=(0,n.computed)({get:()=>{var e;return(e=i.value.get(r))!=null&&e},set:e=>i.value.set(r,e)});return e.J(()=>{i.value.delete(r)}),a}function go(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!(t instanceof Element)||t.tagName===`BODY`?!1:go(t)}}function Wee(e){let t=e||window.event,n=t.target;return n instanceof Element&&go(n)?!1:t.touches.length>1||(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function _o(e){let t=uo({dir:(0,n.ref)(`ltr`)});return(0,n.computed)(()=>{var n;return(e==null?void 0:e.value)||((n=t.dir)==null?void 0:n.value)||`ltr`})}function Gee(e){let t=(0,n.getCurrentInstance)(),r=t==null?void 0:t.type.emits,i={};return r!=null&&r.length||console.warn(`No emitted event found. Please check component: ${t==null?void 0:t.type.__name}`),r==null||r.forEach(t=>{i[(0,n.toHandlerKey)((0,n.camelize)(t))]=(...n)=>e(t,...n)}),i}var vo=0;function Kee(){(0,n.watchEffect)(t=>{var n,r;if(!e.G)return;let i=document.querySelectorAll(`[data-reka-focus-guard]`);document.body.insertAdjacentElement(`afterbegin`,(n=i[0])==null?yo():n),document.body.insertAdjacentElement(`beforeend`,(r=i[1])==null?yo():r),vo++,t(()=>{vo===1&&document.querySelectorAll(`[data-reka-focus-guard]`).forEach(e=>e.remove()),vo--})})}function yo(){let e=document.createElement(`span`);return e.setAttribute(`data-reka-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}function bo(t){return(0,n.computed)(()=>{var r;return!(0,n.toValue)(t)||!!((r=e.F(t))!=null&&r.closest(`form`))})}function xo(){let t=(0,n.getCurrentInstance)(),r=(0,n.ref)(),i=(0,n.computed)(()=>a());(0,n.onUpdated)(()=>{i.value!==a()&&(0,n.triggerRef)(r)});function a(){return r.value&&`$el`in r.value&&[`#text`,`#comment`].includes(r.value.$el.nodeName)?r.value.$el.nextElementSibling:e.F(r)}let o=Object.assign({},t.exposed),s={};for(let e in t.props)Object.defineProperty(s,e,{enumerable:!0,configurable:!0,get:()=>t.props[e]});if(Object.keys(o).length>0)for(let e in o)Object.defineProperty(s,e,{enumerable:!0,configurable:!0,get:()=>o[e]});Object.defineProperty(s,"$el",{enumerable:!0,configurable:!0,get:()=>t.vnode.el}),t.exposed=s;function c(e){if(r.value=e,e&&(Object.defineProperty(s,"$el",{enumerable:!0,configurable:!0,get:()=>e instanceof Element?e:e.$el}),!(e instanceof Element)&&!Object.hasOwn(e,`$el`))){let n=e.$.exposed,r=Object.assign({},s);for(let e in n)Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>n[e]});t.exposed=r}}return{forwardRef:c,currentRef:r,currentElement:i}}function So(e){var t;let r=(0,n.getCurrentInstance)(),i=Object.keys((t=r==null?void 0:r.type.props)==null?{}:t).reduce((e,t)=>{let n=(r==null?void 0:r.type.props[t]).default;return n!==void 0&&(e[t]=n),e},{}),a=(0,n.toRef)(e);return(0,n.computed)(()=>{var e;let t={},o=(e=r==null?void 0:r.vnode.props)==null?{}:e;return Object.keys(o).forEach(e=>{t[(0,n.camelize)(e)]=o[e]}),Object.keys({...i,...t}).reduce((e,t)=>(a.value[t]!==void 0&&(e[t]=a.value[t]),e),{})})}function Co(e,t){let r=So(e),i=t?Gee(t):{};return(0,n.computed)(()=>({...r.value,...i}))}function qee(){var e;let t=(e=(0,n.getCurrentInstance)())==null||(e=e.vnode)==null?void 0:e.scopeId;return t?{[t]:``}:{}}function Jee(t,r){let i=e.q(!1,300);e.Y(()=>{i.value=!1});let a=(0,n.ref)(null),o=e.H();function s(){a.value=null,i.value=!1}function c(e,t){if(!t)return;let n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=Xee(r,Yee(r,n.getBoundingClientRect()),1),s=Zee(t.getBoundingClientRect()),c=$ee([...o,...s]);a.value=c,i.value=!0}return(0,n.watchEffect)(e=>{if(t.value&&r.value){let n=e=>c(e,r.value),i=e=>c(e,t.value);t.value.addEventListener(`pointerleave`,n),r.value.addEventListener(`pointerleave`,i),e(()=>{var e,a;(e=t.value)==null||e.removeEventListener(`pointerleave`,n),(a=r.value)==null||a.removeEventListener(`pointerleave`,i)})}}),(0,n.watchEffect)(e=>{if(a.value){var n;let i=e=>{var n,i;if(!a.value||!(e.target instanceof Element))return;let c=e.target,l={x:e.clientX,y:e.clientY},u=((n=t.value)==null?void 0:n.contains(c))||((i=r.value)==null?void 0:i.contains(c)),d=!Qee(l,a.value),f=!!c.closest(`[data-grace-area-trigger]`);u?s():(d||f)&&(s(),o.trigger())};(n=t.value)==null||n.ownerDocument.addEventListener(`pointermove`,i),e(()=>{var e;return(e=t.value)==null?void 0:e.ownerDocument.removeEventListener(`pointermove`,i)})}}),{isPointerInTransit:i,onPointerExit:o.on}}function Yee(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return`left`;case i:return`right`;case n:return`top`;case r:return`bottom`;default:throw Error(`unreachable`)}}function Xee(e,t,n=5){let r=[];switch(t){case`top`:r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case`bottom`:r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case`left`:r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case`right`:r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}function Zee(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function Qee(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e].x,s=t[e].y,c=t[a].x,l=t[a].y;s>r!=l>r&&n<(c-o)*(r-s)/(l-s)+o&&(i=!i)}return i}function $ee(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:+(e.y>t.y)),ete(t)}function ete(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t.at(-1),n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n.at(-1),t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var tte=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},wo=new WeakMap,To=new WeakMap,Eo={},Do=0,Oo=function(e){return e&&(e.host||Oo(e.parentNode))},nte=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Oo(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},rte=function(e,t,n,r){var i=nte(t,Array.isArray(e)?e:[e]);Eo[n]||(Eo[n]=new WeakMap);var a=Eo[n],o=[],s=new Set,c=new Set(i),l=function(e){!e||s.has(e)||(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(wo.get(e)||0)+1,l=(a.get(e)||0)+1;wo.set(e,c),a.set(e,l),o.push(e),c===1&&i&&To.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),Do++,function(){o.forEach(function(e){var t=wo.get(e)-1,i=a.get(e)-1;wo.set(e,t),a.set(e,i),t||(To.has(e)||e.removeAttribute(r),To.delete(e)),i||e.removeAttribute(n)}),Do--,Do||(wo=new WeakMap,wo=new WeakMap,To=new WeakMap,Eo={})}},ite=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||tte(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),rte(r,i,n,`aria-hidden`)):function(){return null}};function ate(t){let r;(0,n.watch)(()=>e.F(t),e=>{let t=!1;try{t=!!(e!=null&&e.closest(`[popover]:not(:popover-open)`))}catch{}e&&!t?r=ite(e):r&&r()}),(0,n.onUnmounted)(()=>{r&&r()})}var ote=0;function ko(e,t=`reka`){var r;if(e)return e;let i,a=uo({useId:void 0});return i=a.useId?a.useId():`useId`in n?(r=n.useId)==null?void 0:r.call(n):`${++ote}`,t?`${t}-${i}`:i}function ste(t){let r=(0,n.ref)(),i=(0,n.computed)(()=>{var e,t;return(e=(t=r.value)==null?void 0:t.width)==null?0:e}),a=(0,n.computed)(()=>{var e,t;return(e=(t=r.value)==null?void 0:t.height)==null?0:e}),o;return(0,n.onMounted)(()=>{let n=e.F(t);n?(r.value={width:n.offsetWidth,height:n.offsetHeight},o=new ResizeObserver(e=>{if(!Array.isArray(e)||!e.length)return;let t=e[0],i,a;if(`borderBoxSize`in t){let e=t.borderBoxSize,n=Array.isArray(e)?e[0]:e;i=n.inlineSize,a=n.blockSize}else i=n.offsetWidth,a=n.offsetHeight;r.value={width:i,height:a}}),o.observe(n,{box:`border-box`})):r.value=void 0}),(0,n.onUnmounted)(()=>{o==null||o.disconnect(),o=void 0}),{width:i,height:a}}function cte(e,t){let r=(0,n.ref)(e);function i(e){let n=t[r.value][e];return n==null?r.value:n}return{state:r,dispatch:e=>{r.value=i(e)}}}function Ao(t){let n=e.q(``,1e3);return{search:n,handleTypeaheadSearch:(e,r)=>{if(n.value+=e,t)t(e);else{let e=ao(),t=r.map(e=>{var t,n,r,i;return{...e,textValue:(t=(n=(r=e.value)==null?void 0:r.textValue)==null?(i=e.ref.textContent)==null?void 0:i.trim():n)==null?``:t}}),i=t.find(t=>t.ref===e),a=ute(t.map(e=>e.textValue),n.value,i==null?void 0:i.textValue),o=t.find(e=>e.textValue===a);return o&&o.ref.focus(),o==null?void 0:o.ref}},resetTypeahead:()=>{n.value=``}}}function lte(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function ute(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=lte(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}function dte(t,r){var i,a;let o=(0,n.ref)({}),s=(0,n.ref)(`none`),c=(0,n.ref)(t),l=t.value?`mounted`:`unmounted`,u,d=(i=(a=r.value)==null?void 0:a.ownerDocument.defaultView)==null?e.N:i,{state:f,dispatch:p}=cte(l,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}}),m=t=>{if(e.G){var n;let e=new CustomEvent(t,{bubbles:!1,cancelable:!1});(n=r.value)==null||n.dispatchEvent(e)}};(0,n.watch)(t,async(e,t)=>{let i=t!==e;if(await(0,n.nextTick)(),i){var a;let n=s.value,i=jo(r.value);e?(p(`MOUNT`),m(`enter`),i===`none`&&m(`after-enter`)):i===`none`||i===`undefined`||((a=o.value)==null?void 0:a.display)===`none`?(p(`UNMOUNT`),m(`leave`),m(`after-leave`)):t&&n!==i?(p(`ANIMATION_OUT`),m(`leave`)):(p(`UNMOUNT`),m(`after-leave`))}},{immediate:!0});let h=e=>{if(e.target!==r.value)return;let t=jo(r.value),n=t.includes(CSS.escape(e.animationName)),i=f.value===`mounted`?`enter`:`leave`;if(n&&(m(`after-${i}`),p(`ANIMATION_END`),!c.value)){let e=r.value.style.animationFillMode;r.value.style.animationFillMode=`forwards`,u=d==null?void 0:d.setTimeout(()=>{var t;((t=r.value)==null?void 0:t.style.animationFillMode)===`forwards`&&(r.value.style.animationFillMode=e)})}t===`none`&&p(`ANIMATION_END`)},g=e=>{e.target===r.value&&(s.value=jo(r.value))},_=(0,n.watch)(r,(e,t)=>{e?(o.value=getComputedStyle(e),e.addEventListener(`animationstart`,g),e.addEventListener(`animationcancel`,h),e.addEventListener(`animationend`,h)):(p(`ANIMATION_END`),u!==void 0&&(d==null||d.clearTimeout(u)),t==null||t.removeEventListener(`animationstart`,g),t==null||t.removeEventListener(`animationcancel`,h),t==null||t.removeEventListener(`animationend`,h))},{immediate:!0}),v=(0,n.watch)(f,()=>{let e=jo(r.value);s.value=f.value===`mounted`?e:`none`});return(0,n.onUnmounted)(()=>{_(),v(),r.value&&(r.value.removeEventListener(`animationstart`,g),r.value.removeEventListener(`animationcancel`,h),r.value.removeEventListener(`animationend`,h)),u!==void 0&&(d==null||d.clearTimeout(u))}),{isPresent:(0,n.computed)(()=>[`mounted`,`unmountSuspended`].includes(f.value))}}function jo(e){return e&&getComputedStyle(e).animationName||`none`}var Mo=(0,n.defineComponent)({name:`Presence`,props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(t,{slots:r,expose:i}){let{present:a,forceMount:o}=(0,n.toRefs)(t),s=(0,n.ref)(),{isPresent:c}=dte(a,s);i({present:c});let l=r.default({present:c.value});l=lo(l||[]);let u=(0,n.getCurrentInstance)();if(l&&(l==null?void 0:l.length)>1){var d;let e=u!=null&&(d=u.parent)!=null&&d.type.name?`<${u.parent.type.name} />`:`component`;throw Error([`Detected an invalid children for \`${e}\` for \`Presence\` component.`,``,"Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.",`You can apply a few solutions:`,["Provide a single child element so that `presence` directive attach correctly.",`Ensure the first child is an actual element instead of a raw text node or comment node.`].map(e=>` - ${e}`).join(`
30
+ `)}return r}var Ca={...la,schema:jr,skipInvalid:!1,noRefs:!1,flowLevel:-1,sortKeys:!1,transform:()=>{}};function wa(e,t){let n=String(e),r=String(t);return n<r?-1:+(n>r)}function Ta(e,t={}){let n={...Ca,...t},r=ei(e,n.schema,{noRefs:n.noRefs,skipInvalid:n.skipInvalid});if(n.flowLevel>=0&&ii(r,(e,t)=>{if(!(t.depth<n.flowLevel))return(e.kind===`sequence`||e.kind===`mapping`)&&(e.style=Vr.FLOW),ni}),n.sortKeys){let e=n.sortKeys===!0?wa:n.sortKeys;ii(r,t=>{t.kind===`mapping`&&t.items.sort((t,n)=>e(t.key.kind===`scalar`?t.key.value:``,n.key.kind===`scalar`?n.key.value:``))})}return n.transform(r),Sa(r,{...br(n,Object.keys(la)),schema:n.schema})}zr.DOCUMENT,zr.SEQUENCE,zr.MAPPING,zr.SCALAR,zr.ALIAS,zr.POP,Br.PLAIN,Br.SINGLE_QUOTED,Br.DOUBLE_QUOTED,Br.LITERAL_BLOCK,Br.FOLDED_BLOCK,Vr.BLOCK,Vr.FLOW,Hr.CLIP,Hr.STRIP,Hr.KEEP;var Ea={class:`download-container group relative`},Da={class:`underline mr-2`},Oa={class:`underline mr-2`},ka=Fn((0,n.defineComponent)({__name:`OADownloadSpec`,props:{openapi:{type:Object,required:!0}},setup(e){let t=e,r=/[^\w\-]/g,{t:i}=l();function a(e){try{var n;let i=t.openapi.getOriginalSpec();if(!i){console.warn(`No OpenAPI Document available for download.`);return}let a=e===`json`?JSON.stringify(i,null,2):Ta(i),o=new Blob([a],{type:e===`json`?`application/json`:`application/yaml`}),s=URL.createObjectURL(o),c=document.createElement(`a`);c.href=s,c.download=`${(((n=t.openapi.spec.info)==null?void 0:n.title)||`openapi`).replace(r,`_`).toLowerCase()}.${e}`,document.body.appendChild(c),c.click(),document.body.removeChild(c),URL.revokeObjectURL(s)}catch(t){console.error(`Error downloading OpenAPI spec as ${e}:`,t)}}return(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Ea,[(0,n.createElementVNode)(`a`,{href:`#`,class:`download-button relative flex items-center gap-2 no-underline!`,"aria-label":`Download OpenAPI Document as JSON`,onClick:t[0]||(t[0]=(0,n.withModifiers)(e=>a(`json`),[`prevent`]))},[(0,n.createElementVNode)(`span`,Da,(0,n.toDisplayString)((0,n.unref)(i)(`Download OpenAPI Document`)),1),(0,n.createVNode)((0,n.unref)(Zt),{variant:`outline`,class:`hidden group-hover:inline-block`},{default:(0,n.withCtx)(()=>[...t[2]||(t[2]=[(0,n.createTextVNode)(`JSON`,-1)])]),_:1})]),(0,n.createElementVNode)(`a`,{href:`#`,class:`download-button yaml-button absolute hidden group-hover:flex items-center gap-2 no-underline!`,"aria-label":`Download OpenAPI Document as YAML`,onClick:t[1]||(t[1]=(0,n.withModifiers)(e=>a(`yaml`),[`prevent`]))},[(0,n.createElementVNode)(`span`,Oa,(0,n.toDisplayString)((0,n.unref)(i)(`Download OpenAPI Document`)),1),(0,n.createVNode)((0,n.unref)(Zt),{variant:`outline`},{default:(0,n.withCtx)(()=>[...t[3]||(t[3]=[(0,n.createTextVNode)(`YAML`,-1)])]),_:1})])]))}}),[[`__scopeId`,`data-v-53cf32cb`]]),Aa={class:`flex flex-col`},ja={class:`flex flex-col items-start`},Ma={class:`flex flex-row items-center gap-2`},Na={key:0,class:`text-muted-foreground`},Pa={class:`flex flex-row items-center gap-2`},Fa=[`href`,`aria-label`],Ia={key:0,class:`text-muted-foreground`},La=[`href`,`aria-label`],Ra={class:`grid grid-cols-1 sm:grid-cols-2 gap-2`},za={key:0},Ba=[`href`,`aria-label`],Va={key:1},Ha=[`href`,`aria-label`],Ua=[`href`,`aria-label`],Wa={__name:`OAInfoContent`,props:{openapi:{type:Object,required:!0}},setup(n){var r,i;let a=n,o=e.b(),{t:s}=l(),c=(r=a.openapi.spec.info)==null?{}:r,u=(i=a.openapi.spec.externalDocs)==null?{}:i,d=s(`External Documentation`),f=s(`Contact`);return(e,r)=>{var i,a,l,p,m;return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,Aa,[(0,t.createElementVNode)(`div`,ja,[(0,t.createElementVNode)(`div`,Ma,[(0,t.unref)(c).version?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Zt),{key:0,variant:`outline`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)(` v`+(0,t.toDisplayString)((0,t.unref)(c).version),1)]),_:1})):(0,t.createCommentVNode)(``,!0)]),(0,t.createVNode)(vn,{level:`h1`},{default:(0,t.withCtx)(()=>{var e;return[(0,t.createTextVNode)((0,t.toDisplayString)((e=(0,t.unref)(c).title)==null?(0,t.unref)(s)(`API Documentation`):e),1)]}),_:1}),(0,t.unref)(o).getSpecDisableDownload()?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createBlock)(ka,{key:0,class:`mt-1`,openapi:n.openapi},null,8,[`openapi`]))]),(0,t.unref)(c).summary?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Na,(0,t.toDisplayString)((0,t.unref)(c).summary),1)):(0,t.createCommentVNode)(``,!0),(0,t.unref)(c).description?((0,t.openBlock)(),(0,t.createBlock)(Pn,{key:1,content:(0,t.unref)(c).description,class:`mt-4`},null,8,[`content`])):(0,t.createCommentVNode)(``,!0),(0,t.unref)(c).contact?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:2},[(0,t.createVNode)(vn,{level:`h2`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(f)),1)]),_:1}),(0,t.createElementVNode)(`div`,Pa,[(0,t.unref)(c).contact.url?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createElementVNode)(`a`,{href:(0,t.unref)(c).contact.url,"aria-label":(i=(0,t.unref)(c).contact.name)==null?(0,t.unref)(f):i},(0,t.toDisplayString)((a=(0,t.unref)(c).contact.name)==null?(0,t.unref)(f):a),9,Fa),(0,t.unref)(c).contact.email?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Ia,`/`)):(0,t.createCommentVNode)(``,!0)],64)):(0,t.createCommentVNode)(``,!0),(0,t.unref)(c).contact.email?((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:1,href:`mailto:${(0,t.unref)(c).contact.email}`,"aria-label":(0,t.unref)(c).contact.email},(0,t.toDisplayString)((0,t.unref)(c).contact.email),9,La)):(0,t.createCommentVNode)(``,!0)])],64)):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`div`,Ra,[(0,t.unref)(c).termsOfService?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,za,[(0,t.createVNode)(vn,{level:`h2`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(s)(`Terms of Service`)),1)]),_:1}),(0,t.createElementVNode)(`a`,{href:(0,t.unref)(c).termsOfService,"aria-label":(0,t.unref)(c).termsOfService},(0,t.toDisplayString)((0,t.unref)(c).termsOfService),9,Ba)])):(0,t.createCommentVNode)(``,!0),(0,t.unref)(c).license?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Va,[(0,t.createVNode)(vn,{level:`h2`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(s)(`License`)),1)]),_:1}),(0,t.createElementVNode)(`a`,{href:(0,t.unref)(c).license.url,"aria-label":(0,t.unref)(c).license.name},(0,t.toDisplayString)((l=(0,t.unref)(c).license.name)==null?(0,t.unref)(s)(`License`):l),9,Ha)])):(0,t.createCommentVNode)(``,!0)]),Object.keys((0,t.unref)(u)).length?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:3},[(0,t.createVNode)(vn,{level:`h2`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(d)),1)]),_:1}),(0,t.createElementVNode)(`a`,{href:(0,t.unref)(u).url,"aria-label":(p=(0,t.unref)(u).description)==null?(0,t.unref)(d):p},(0,t.toDisplayString)((m=(0,t.unref)(u).description)==null?(0,t.unref)(d):m),9,Ua)],64)):(0,t.createCommentVNode)(``,!0)])}}},Ga={__name:`OAInfo`,props:{spec:{type:[Object,String],required:!1}},setup(e){let n=e;return(e,r)=>((0,t.openBlock)(),(0,t.createBlock)(Vn,{spec:n.spec},{default:(0,t.withCtx)(({openapi:e})=>[(0,t.createVNode)(Wa,{openapi:e},null,8,[`openapi`])]),_:1},8,[`spec`]))}},Ka={class:`flex flex-col space-y-4`},qa={class:`font-semibold select-all`},Ja={key:0,class:`text-muted-foreground`},Ya={__name:`OAServersContent`,props:{openapi:{type:Object,required:!0}},setup(e){var n;let r=(n=e.openapi.spec.servers)==null?[]:n,{t:i}=l();return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,null,[(0,t.createVNode)(vn,{level:`h2`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(i)(`Servers`)),1)]),_:1}),(0,t.createElementVNode)(`div`,Ka,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(r),e=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:e.url,class:`flex flex-col p-3 gap-2 rounded bg-muted overflow-x-auto`},[(0,t.createElementVNode)(`span`,qa,(0,t.toDisplayString)(e.url),1),e.description?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Ja,(0,t.toDisplayString)(e.description),1)):(0,t.createCommentVNode)(``,!0)]))),128))])]))}},Xa={__name:`OAIntroduction`,props:{spec:{type:[Object,String],required:!1}},setup(e){let n=e;return(e,r)=>((0,t.openBlock)(),(0,t.createBlock)(Vn,{spec:n.spec},{default:(0,t.withCtx)(({openapi:e})=>[(0,t.createVNode)(Wa,{openapi:e},null,8,[`openapi`]),(0,t.createVNode)(Ya,{openapi:e},null,8,[`openapi`])]),_:1},8,[`spec`]))}};function Za(e){return typeof e==`string`?`'${e}'`:new to().serialize(e)}var Qa=` _-,;:!?.'"()[]{}@*/\\&#%\`^+<=>|~$0123456789abcdefghijklmnopqrstuvwxyz`,$a=(function(){let e=new Uint8Array(128);for(let t=0;t<69;t++)e[Qa.charCodeAt(t)]=t+1;for(let t=65;t<=90;t++)e[t]=e[t+32];return e})();function eo(e,t){if(e===t)return 0;let n=Math.min(e.length,t.length),r=0;for(let i=0;i<n;i++){let n=e.charCodeAt(i),a=t.charCodeAt(i);if(n===a)continue;let o=n<128&&$a[n]?$a[n]:n+128,s=a<128&&$a[a]?$a[a]:a+128;if(o!==s)return o<s?-1:1;r===0&&(r=n>a?-1:1)}return e.length===t.length?r:e.length<t.length?-1:1}var to=(function(){var e=new WeakMap;class t{constructor(){xn(this,e,new Map)}compare(e,t){let n=typeof e,r=typeof t;return n===`string`&&r===`string`?eo(e,t):n===`number`&&r===`number`?e-t:eo(this.serialize(e,!0),this.serialize(t,!0))}serialize(e,t){if(e===null)return`null`;switch(typeof e){case`string`:return t?e:`'${e}'`;case`bigint`:return`${e}n`;case`object`:return this.$object(e);case`function`:return this.$function(e)}return String(e)}serializeObject(e){let t=Object.prototype.toString.call(e);if(t!==`[object Object]`)return this.serializeBuiltInType(t.length<10?`unknown:${t}`:t.slice(8,-1),e);let n=e.constructor,r=n===Object||n===void 0?``:n.name;if(r!==``&&globalThis[r]===n)return this.serializeBuiltInType(r,e);if(`toJSON`in e&&typeof e.toJSON==`function`){let t=e.toJSON();return r+(typeof t==`object`&&t?this.$object(t):`(${this.serialize(t)})`)}let i=Object.keys(e).sort(eo),a=`${r}{`;for(let t=0;t<i.length;t++){let n=i[t];a+=`${n}:${this.serialize(e[n])}`,t<i.length-1&&(a+=`,`)}return a+`}`}serializeBuiltInType(e,t){let n=this[`$`+e];if(n)return n.call(this,t);if(typeof t.entries==`function`)return this.serializeObjectEntries(e,t.entries());throw Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,t){let n=Array.from(t).sort((e,t)=>this.compare(e[0],t[0])),r=`${e}{`;for(let e=0;e<n.length;e++){let[t,i]=n[e];r+=`${this.serialize(t,!0)}:${this.serialize(i)}`,e<n.length-1&&(r+=`,`)}return r+`}`}$object(t){let n=wn(e,this).get(t);return n===void 0&&(wn(e,this).set(t,`#${wn(e,this).size}`),n=this.serializeObject(t),wn(e,this).set(t,n)),n}$function(e){let t=Function.prototype.toString.call(e);return t.slice(-15)===`[native code] }`?`${e.name||``}()[native]`:`${e.name}(${e.length})${t.replace(/\s*\n\s*/g,``)}`}$Array(e){let t=`[`;for(let n=0;n<e.length;n++)t+=this.serialize(e[n]),n<e.length-1&&(t+=`,`);return t+`]`}$Date(e){try{return`Date(${e.toISOString()})`}catch{return`Date(null)`}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(`,`)}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((e,t)=>this.compare(e,t)))}`}$Map(e){return this.serializeObjectEntries(`Map`,e.entries())}}for(let e of[`Error`,`RegExp`,`URL`])t.prototype[`$`+e]=function(t){return`${e}(${t})`};for(let e of[`Int8Array`,`Uint8Array`,`Uint8ClampedArray`,`Int16Array`,`Uint16Array`,`Int32Array`,`Uint32Array`,`Float32Array`,`Float64Array`])t.prototype[`$`+e]=function(t){return`${e}[${t.join(`,`)}]`};for(let e of[`BigInt64Array`,`BigUint64Array`])t.prototype[`$`+e]=function(t){return`${e}[${t.join(`n,`)}${t.length>0?`n`:``}]`};return t})();function no(e,t){return e===t||Za(e)===Za(t)}function ro(e,t=-1/0,n=1/0){return Math.min(n,Math.max(t,e))}function io(e,t){let r=typeof e==`string`&&!t?`${e}Context`:t,i=Symbol(r);return[t=>{let r=(0,n.inject)(i,t);if(r||r===null)return r;throw Error(`Injection \`${i.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(`, `)}`:`\`${e}\``}`)},e=>((0,n.provide)(i,e),e)]}function ao(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function oo(e,t,n){let r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(i)}function so(e){return e==null}function co(e,t){return so(e)?!1:Array.isArray(e)?e.some(e=>no(e,t)):no(e,t)}function lo(e){return e?e.flatMap(e=>e.type===n.Fragment?lo(e.children):[e]):[]}var[uo,Bee]=io(`ConfigProvider`),fo=(0,n.reactive)({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set});function po(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)===`[object Module]`:!0}function mo(e,t,n=`.`,r){if(!po(t))return mo(e,{},n,r);let i={...t};for(let t of Object.keys(e)){if(t===`__proto__`||t===`constructor`)continue;let a=e[t];a!=null&&(r&&r(i,t,a,n)||(i[t]=Array.isArray(a)&&Array.isArray(i[t])?[...a,...i[t]]:po(a)&&po(i[t])?mo(a,i[t],(n?`${n}.`:``)+t.toString(),r):a))}return i}function Vee(e){return(...t)=>t.reduce((t,n)=>mo(t,n,``,e),{})}var ho=Vee(),Hee=e.G(()=>{let t=(0,n.ref)(new Map),r=(0,n.ref)(),i=(0,n.computed)(()=>{for(let e of t.value.values())if(e)return!0;return!1}),a=uo({scrollBody:(0,n.ref)(!0)}),o=null,s=()=>{var t;document.body.style.paddingRight=``,document.body.style.marginRight=``,fo.layersWithOutsidePointerEventsDisabled.size===0&&(document.body.style.pointerEvents=``),document.documentElement.style.removeProperty(`--scrollbar-width`),document.body.style.overflow=(t=r.value)==null?``:t,e.q&&(o==null||o()),r.value=void 0};return(0,n.watch)(i,(t,c)=>{var l;if(!e.K)return;if(!t){c&&s();return}r.value===void 0&&(r.value=document.body.style.overflow);let u=window.innerWidth-document.documentElement.clientWidth,d={padding:u,margin:0},f=(l=a.scrollBody)!=null&&l.value?typeof a.scrollBody.value==`object`?ho({padding:a.scrollBody.value.padding===!0?u:a.scrollBody.value.padding,margin:a.scrollBody.value.margin===!0?u:a.scrollBody.value.margin},d):d:{padding:0,margin:0};u>0&&(document.body.style.paddingRight=typeof f.padding==`number`?`${f.padding}px`:String(f.padding),document.body.style.marginRight=typeof f.margin==`number`?`${f.margin}px`:String(f.margin),document.documentElement.style.setProperty(`--scrollbar-width`,`${u}px`),document.body.style.overflow=`hidden`),e.q&&(o=e.R(document,`touchmove`,e=>Wee(e),{passive:!1})),(0,n.nextTick)(()=>{i.value&&(document.body.style.pointerEvents=`none`,document.body.style.overflow=`hidden`)})},{immediate:!0,flush:`sync`}),t});function Uee(t){let r=Math.random().toString(36).substring(2,7),i=Hee();i.value.set(r,t!=null&&t);let a=(0,n.computed)({get:()=>{var e;return(e=i.value.get(r))!=null&&e},set:e=>i.value.set(r,e)});return e.Y(()=>{i.value.delete(r)}),a}function go(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!(t instanceof Element)||t.tagName===`BODY`?!1:go(t)}}function Wee(e){let t=e||window.event,n=t.target;return n instanceof Element&&go(n)?!1:t.touches.length>1||(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function _o(e){let t=uo({dir:(0,n.ref)(`ltr`)});return(0,n.computed)(()=>{var n;return(e==null?void 0:e.value)||((n=t.dir)==null?void 0:n.value)||`ltr`})}function Gee(e){let t=(0,n.getCurrentInstance)(),r=t==null?void 0:t.type.emits,i={};return r!=null&&r.length||console.warn(`No emitted event found. Please check component: ${t==null?void 0:t.type.__name}`),r==null||r.forEach(t=>{i[(0,n.toHandlerKey)((0,n.camelize)(t))]=(...n)=>e(t,...n)}),i}var vo=0;function Kee(){(0,n.watchEffect)(t=>{var n,r;if(!e.K)return;let i=document.querySelectorAll(`[data-reka-focus-guard]`);document.body.insertAdjacentElement(`afterbegin`,(n=i[0])==null?yo():n),document.body.insertAdjacentElement(`beforeend`,(r=i[1])==null?yo():r),vo++,t(()=>{vo===1&&document.querySelectorAll(`[data-reka-focus-guard]`).forEach(e=>e.remove()),vo--})})}function yo(){let e=document.createElement(`span`);return e.setAttribute(`data-reka-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}function bo(t){return(0,n.computed)(()=>{var r;return!(0,n.toValue)(t)||!!((r=e.I(t))!=null&&r.closest(`form`))})}function xo(){let t=(0,n.getCurrentInstance)(),r=(0,n.ref)(),i=(0,n.computed)(()=>a());(0,n.onUpdated)(()=>{i.value!==a()&&(0,n.triggerRef)(r)});function a(){return r.value&&`$el`in r.value&&[`#text`,`#comment`].includes(r.value.$el.nodeName)?r.value.$el.nextElementSibling:e.I(r)}let o=Object.assign({},t.exposed),s={};for(let e in t.props)Object.defineProperty(s,e,{enumerable:!0,configurable:!0,get:()=>t.props[e]});if(Object.keys(o).length>0)for(let e in o)Object.defineProperty(s,e,{enumerable:!0,configurable:!0,get:()=>o[e]});Object.defineProperty(s,"$el",{enumerable:!0,configurable:!0,get:()=>t.vnode.el}),t.exposed=s;function c(e){if(r.value=e,e&&(Object.defineProperty(s,"$el",{enumerable:!0,configurable:!0,get:()=>e instanceof Element?e:e.$el}),!(e instanceof Element)&&!Object.hasOwn(e,`$el`))){let n=e.$.exposed,r=Object.assign({},s);for(let e in n)Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>n[e]});t.exposed=r}}return{forwardRef:c,currentRef:r,currentElement:i}}function So(e){var t;let r=(0,n.getCurrentInstance)(),i=Object.keys((t=r==null?void 0:r.type.props)==null?{}:t).reduce((e,t)=>{let n=(r==null?void 0:r.type.props[t]).default;return n!==void 0&&(e[t]=n),e},{}),a=(0,n.toRef)(e);return(0,n.computed)(()=>{var e;let t={},o=(e=r==null?void 0:r.vnode.props)==null?{}:e;return Object.keys(o).forEach(e=>{t[(0,n.camelize)(e)]=o[e]}),Object.keys({...i,...t}).reduce((e,t)=>(a.value[t]!==void 0&&(e[t]=a.value[t]),e),{})})}function Co(e,t){let r=So(e),i=t?Gee(t):{};return(0,n.computed)(()=>({...r.value,...i}))}function qee(){var e;let t=(e=(0,n.getCurrentInstance)())==null||(e=e.vnode)==null?void 0:e.scopeId;return t?{[t]:``}:{}}function Jee(t,r){let i=e.J(!1,300);e.X(()=>{i.value=!1});let a=(0,n.ref)(null),o=e.U();function s(){a.value=null,i.value=!1}function c(e,t){if(!t)return;let n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=Xee(r,Yee(r,n.getBoundingClientRect()),1),s=Zee(t.getBoundingClientRect()),c=$ee([...o,...s]);a.value=c,i.value=!0}return(0,n.watchEffect)(e=>{if(t.value&&r.value){let n=e=>c(e,r.value),i=e=>c(e,t.value);t.value.addEventListener(`pointerleave`,n),r.value.addEventListener(`pointerleave`,i),e(()=>{var e,a;(e=t.value)==null||e.removeEventListener(`pointerleave`,n),(a=r.value)==null||a.removeEventListener(`pointerleave`,i)})}}),(0,n.watchEffect)(e=>{if(a.value){var n;let i=e=>{var n,i;if(!a.value||!(e.target instanceof Element))return;let c=e.target,l={x:e.clientX,y:e.clientY},u=((n=t.value)==null?void 0:n.contains(c))||((i=r.value)==null?void 0:i.contains(c)),d=!Qee(l,a.value),f=!!c.closest(`[data-grace-area-trigger]`);u?s():(d||f)&&(s(),o.trigger())};(n=t.value)==null||n.ownerDocument.addEventListener(`pointermove`,i),e(()=>{var e;return(e=t.value)==null?void 0:e.ownerDocument.removeEventListener(`pointermove`,i)})}}),{isPointerInTransit:i,onPointerExit:o.on}}function Yee(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,i,a)){case a:return`left`;case i:return`right`;case n:return`top`;case r:return`bottom`;default:throw Error(`unreachable`)}}function Xee(e,t,n=5){let r=[];switch(t){case`top`:r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case`bottom`:r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case`left`:r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case`right`:r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}function Zee(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function Qee(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e].x,s=t[e].y,c=t[a].x,l=t[a].y;s>r!=l>r&&n<(c-o)*(r-s)/(l-s)+o&&(i=!i)}return i}function $ee(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:+(e.y>t.y)),ete(t)}function ete(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t.at(-1),n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n.at(-1),t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var tte=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},wo=new WeakMap,To=new WeakMap,Eo={},Do=0,Oo=function(e){return e&&(e.host||Oo(e.parentNode))},nte=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Oo(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},rte=function(e,t,n,r){var i=nte(t,Array.isArray(e)?e:[e]);Eo[n]||(Eo[n]=new WeakMap);var a=Eo[n],o=[],s=new Set,c=new Set(i),l=function(e){!e||s.has(e)||(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(wo.get(e)||0)+1,l=(a.get(e)||0)+1;wo.set(e,c),a.set(e,l),o.push(e),c===1&&i&&To.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),Do++,function(){o.forEach(function(e){var t=wo.get(e)-1,i=a.get(e)-1;wo.set(e,t),a.set(e,i),t||(To.has(e)||e.removeAttribute(r),To.delete(e)),i||e.removeAttribute(n)}),Do--,Do||(wo=new WeakMap,wo=new WeakMap,To=new WeakMap,Eo={})}},ite=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||tte(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),rte(r,i,n,`aria-hidden`)):function(){return null}};function ate(t){let r;(0,n.watch)(()=>e.I(t),e=>{let t=!1;try{t=!!(e!=null&&e.closest(`[popover]:not(:popover-open)`))}catch{}e&&!t?r=ite(e):r&&r()}),(0,n.onUnmounted)(()=>{r&&r()})}var ote=0;function ko(e,t=`reka`){var r;if(e)return e;let i,a=uo({useId:void 0});return i=a.useId?a.useId():`useId`in n?(r=n.useId)==null?void 0:r.call(n):`${++ote}`,t?`${t}-${i}`:i}function ste(t){let r=(0,n.ref)(),i=(0,n.computed)(()=>{var e,t;return(e=(t=r.value)==null?void 0:t.width)==null?0:e}),a=(0,n.computed)(()=>{var e,t;return(e=(t=r.value)==null?void 0:t.height)==null?0:e}),o;return(0,n.onMounted)(()=>{let n=e.I(t);n?(r.value={width:n.offsetWidth,height:n.offsetHeight},o=new ResizeObserver(e=>{if(!Array.isArray(e)||!e.length)return;let t=e[0],i,a;if(`borderBoxSize`in t){let e=t.borderBoxSize,n=Array.isArray(e)?e[0]:e;i=n.inlineSize,a=n.blockSize}else i=n.offsetWidth,a=n.offsetHeight;r.value={width:i,height:a}}),o.observe(n,{box:`border-box`})):r.value=void 0}),(0,n.onUnmounted)(()=>{o==null||o.disconnect(),o=void 0}),{width:i,height:a}}function cte(e,t){let r=(0,n.ref)(e);function i(e){let n=t[r.value][e];return n==null?r.value:n}return{state:r,dispatch:e=>{r.value=i(e)}}}function Ao(t){let n=e.J(``,1e3);return{search:n,handleTypeaheadSearch:(e,r)=>{if(n.value+=e,t)t(e);else{let e=ao(),t=r.map(e=>{var t,n,r,i;return{...e,textValue:(t=(n=(r=e.value)==null?void 0:r.textValue)==null?(i=e.ref.textContent)==null?void 0:i.trim():n)==null?``:t}}),i=t.find(t=>t.ref===e),a=ute(t.map(e=>e.textValue),n.value,i==null?void 0:i.textValue),o=t.find(e=>e.textValue===a);return o&&o.ref.focus(),o==null?void 0:o.ref}},resetTypeahead:()=>{n.value=``}}}function lte(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function ute(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=lte(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}function dte(t,r){var i,a;let o=(0,n.ref)({}),s=(0,n.ref)(`none`),c=(0,n.ref)(t),l=t.value?`mounted`:`unmounted`,u,d=(i=(a=r.value)==null?void 0:a.ownerDocument.defaultView)==null?e.P:i,{state:f,dispatch:p}=cte(l,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}}),m=t=>{if(e.K){var n;let e=new CustomEvent(t,{bubbles:!1,cancelable:!1});(n=r.value)==null||n.dispatchEvent(e)}};(0,n.watch)(t,async(e,t)=>{let i=t!==e;if(await(0,n.nextTick)(),i){var a;let n=s.value,i=jo(r.value);e?(p(`MOUNT`),m(`enter`),i===`none`&&m(`after-enter`)):i===`none`||i===`undefined`||((a=o.value)==null?void 0:a.display)===`none`?(p(`UNMOUNT`),m(`leave`),m(`after-leave`)):t&&n!==i?(p(`ANIMATION_OUT`),m(`leave`)):(p(`UNMOUNT`),m(`after-leave`))}},{immediate:!0});let h=e=>{if(e.target!==r.value)return;let t=jo(r.value),n=t.includes(CSS.escape(e.animationName)),i=f.value===`mounted`?`enter`:`leave`;if(n&&(m(`after-${i}`),p(`ANIMATION_END`),!c.value)){let e=r.value.style.animationFillMode;r.value.style.animationFillMode=`forwards`,u=d==null?void 0:d.setTimeout(()=>{var t;((t=r.value)==null?void 0:t.style.animationFillMode)===`forwards`&&(r.value.style.animationFillMode=e)})}t===`none`&&p(`ANIMATION_END`)},g=e=>{e.target===r.value&&(s.value=jo(r.value))},_=(0,n.watch)(r,(e,t)=>{e?(o.value=getComputedStyle(e),e.addEventListener(`animationstart`,g),e.addEventListener(`animationcancel`,h),e.addEventListener(`animationend`,h)):(p(`ANIMATION_END`),u!==void 0&&(d==null||d.clearTimeout(u)),t==null||t.removeEventListener(`animationstart`,g),t==null||t.removeEventListener(`animationcancel`,h),t==null||t.removeEventListener(`animationend`,h))},{immediate:!0}),v=(0,n.watch)(f,()=>{let e=jo(r.value);s.value=f.value===`mounted`?e:`none`});return(0,n.onUnmounted)(()=>{_(),v(),r.value&&(r.value.removeEventListener(`animationstart`,g),r.value.removeEventListener(`animationcancel`,h),r.value.removeEventListener(`animationend`,h)),u!==void 0&&(d==null||d.clearTimeout(u))}),{isPresent:(0,n.computed)(()=>[`mounted`,`unmountSuspended`].includes(f.value))}}function jo(e){return e&&getComputedStyle(e).animationName||`none`}var Mo=(0,n.defineComponent)({name:`Presence`,props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(t,{slots:r,expose:i}){let{present:a,forceMount:o}=(0,n.toRefs)(t),s=(0,n.ref)(),{isPresent:c}=dte(a,s);i({present:c});let l=r.default({present:c.value});l=lo(l||[]);let u=(0,n.getCurrentInstance)();if(l&&(l==null?void 0:l.length)>1){var d;let e=u!=null&&(d=u.parent)!=null&&d.type.name?`<${u.parent.type.name} />`:`component`;throw Error([`Detected an invalid children for \`${e}\` for \`Presence\` component.`,``,"Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.",`You can apply a few solutions:`,["Provide a single child element so that `presence` directive attach correctly.",`Ensure the first child is an actual element instead of a raw text node or comment node.`].map(e=>` - ${e}`).join(`
31
31
  `)].join(`
32
- `))}return()=>o.value||a.value||c.value?(0,n.h)(r.default({present:c.value})[0],{ref:t=>{let n=e.F(t);return(n==null?void 0:n.hasAttribute)===void 0||(n!=null&&n.hasAttribute(`data-reka-popper-content-wrapper`)?s.value=n.firstElementChild:s.value=n),n}}):null}}),No=(0,n.defineComponent)({name:`PrimitiveSlot`,inheritAttrs:!1,setup(e,{attrs:t,slots:r}){return()=>{var e;if(!r.default)return null;let i=lo(r.default()),a=i.findIndex(e=>e.type!==n.Comment);if(a===-1)return i;let o=i[a];(e=o.props)==null||delete e.ref;let s=o.props?(0,n.mergeProps)(t,o.props):t,c=(0,n.cloneVNode)({...o,props:{}},s);return i.length===1?c:(i[a]=c,i)}}}),fte=[`area`,`img`,`input`],Po=(0,n.defineComponent)({name:`Primitive`,inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:`div`}},setup(e,{attrs:t,slots:r}){let i=e.asChild?`template`:e.as;return typeof i==`string`&&fte.includes(i)?()=>(0,n.h)(i,t):i===`template`?()=>(0,n.h)(No,t,{default:r.default}):()=>(0,n.h)(e.as,t,{default:r.default})}});function Fo(){let t=(0,n.ref)();return{primitiveElement:t,currentElement:(0,n.computed)(()=>{var n,r;return[`#text`,`#comment`].includes((n=t.value)==null?void 0:n.$el.nodeName)?(r=t.value)==null?void 0:r.$el.nextElementSibling:e.F(t)})}}var[Io,pte]=io(`CollapsibleRoot`),Lo=(0,n.defineComponent)({__name:`CollapsibleRoot`,props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`update:open`],setup(t,{expose:r,emit:i}){let a=t,o=e.V(a,`open`,i,{defaultValue:a.defaultOpen,passive:a.open===void 0}),{disabled:s,unmountOnHide:c}=(0,n.toRefs)(a);return pte({contentId:``,disabled:s,open:o,unmountOnHide:c,onOpenToggle:()=>{s.value||(o.value=!o.value)}}),r({open:o}),xo(),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{as:e.as,"as-child":a.asChild,"data-state":(0,n.unref)(o)?`open`:`closed`,"data-disabled":(0,n.unref)(s)?``:void 0},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{open:(0,n.unref)(o)})]),_:3},8,[`as`,`as-child`,`data-state`,`data-disabled`]))}}),Ro=(0,n.defineComponent)({inheritAttrs:!1,__name:`CollapsibleContent`,props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`contentFound`],setup(t,{emit:r}){let i=t,a=r,o=Io();o.contentId||(o.contentId=ko(void 0,`reka-collapsible-content`));let s=(0,n.ref)(),{forwardRef:c,currentElement:l}=xo(),u=(0,n.ref)(0),d=(0,n.ref)(0),f=(0,n.computed)(()=>o.open.value),p=(0,n.ref)(f.value),m=(0,n.ref)();(0,n.watch)(()=>{var e;return[f.value,(e=s.value)==null?void 0:e.present]},async()=>{await(0,n.nextTick)();let e=l.value;if(!e)return;m.value=m.value||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration=`0s`,e.style.animationName=`none`;let t=e.getBoundingClientRect();d.value=t.height,u.value=t.width,p.value||(e.style.transitionDuration=m.value.transitionDuration,e.style.animationName=m.value.animationName)},{immediate:!0});let h=(0,n.computed)(()=>p.value&&o.open.value);return(0,n.onMounted)(()=>{requestAnimationFrame(()=>{p.value=!1})}),e.L(l,`beforematch`,e=>{requestAnimationFrame(()=>{o.onOpenToggle(),a(`contentFound`)})}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Mo),{ref_key:`presentRef`,ref:s,present:e.forceMount||(0,n.unref)(o).open.value,"force-mount":!0},{default:(0,n.withCtx)(({present:t})=>{var r;return[(0,n.createVNode)((0,n.unref)(Po),(0,n.mergeProps)(e.$attrs,{id:(0,n.unref)(o).contentId,ref:(0,n.unref)(c),"as-child":i.asChild,as:e.as,hidden:t?void 0:(0,n.unref)(o).unmountOnHide.value?``:`until-found`,"data-state":h.value?void 0:(0,n.unref)(o).open.value?`open`:`closed`,"data-disabled":(r=(0,n.unref)(o).disabled)!=null&&r.value?``:void 0,style:{"--reka-collapsible-content-height":`${d.value}px`,"--reka-collapsible-content-width":`${u.value}px`}}),{default:(0,n.withCtx)(()=>[!(0,n.unref)(o).unmountOnHide.value||t?(0,n.renderSlot)(e.$slots,`default`,{key:0}):(0,n.createCommentVNode)(`v-if`,!0)]),_:2},1040,[`id`,`as-child`,`as`,`hidden`,`data-state`,`data-disabled`,`style`])]}),_:3},8,[`present`]))}}),zo=(0,n.defineComponent)({__name:`CollapsibleTrigger`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e;xo();let r=Io();return(e,i)=>{var a,o;return(0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{type:e.as===`button`?`button`:void 0,as:e.as,"as-child":t.asChild,"aria-controls":(0,n.unref)(r).contentId,"aria-expanded":(0,n.unref)(r).open.value,"data-state":(0,n.unref)(r).open.value?`open`:`closed`,"data-disabled":(a=(0,n.unref)(r).disabled)!=null&&a.value?``:void 0,disabled:(o=(0,n.unref)(r).disabled)==null?void 0:o.value,onClick:(0,n.unref)(r).onOpenToggle},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`type`,`as`,`as-child`,`aria-controls`,`aria-expanded`,`data-state`,`data-disabled`,`disabled`,`onClick`])}}}),Bo=`dismissableLayer.pointerDownOutside`,mte=`dismissableLayer.focusOutside`;function Vo(e,t){if(!(t instanceof Element))return!1;let n=t.closest(`[data-dismissable-layer]`),r=e.dataset.dismissableLayer===``?e:e.querySelector(`[data-dismissable-layer]`),i=Array.from(e.ownerDocument.querySelectorAll(`[data-dismissable-layer]`));return!!(n&&(r===n||i.indexOf(r)<i.indexOf(n)))}function Ho(t,r,i=!0){var a,o,s;let c=(a=r==null||(o=r.value)==null?void 0:o.ownerDocument)==null?(s=globalThis)==null?void 0:s.document:a,l=(0,n.ref)(!1),u=(0,n.ref)(()=>{});return(0,n.watchEffect)(a=>{if(!e.G||!(0,n.toValue)(i))return;let o=async e=>{let n=e.target;if(!(!(r!=null&&r.value)||!n)){if(Vo(r.value,n)){l.value=!1;return}if(e.target&&!l.value){let n={originalEvent:e};function i(){oo(Bo,t,n)}e.pointerType===`touch`?(c.removeEventListener(`click`,u.value),u.value=i,c.addEventListener(`click`,u.value,{once:!0})):i()}else c.removeEventListener(`click`,u.value);l.value=!1}},s=window.setTimeout(()=>{c.addEventListener(`pointerdown`,o)},0);a(()=>{window.clearTimeout(s),c.removeEventListener(`pointerdown`,o),c.removeEventListener(`click`,u.value)})}),{onPointerDownCapture:()=>{(0,n.toValue)(i)&&(l.value=!0)}}}function Uo(t,r,i=!0){var a,o,s;let c=(a=r==null||(o=r.value)==null?void 0:o.ownerDocument)==null?(s=globalThis)==null?void 0:s.document:a,l=(0,n.ref)(!1);return(0,n.watchEffect)(a=>{if(!e.G||!(0,n.toValue)(i))return;let o=async e=>{if(!(r!=null&&r.value))return;await(0,n.nextTick)(),await(0,n.nextTick)();let i=e.target;!r.value||!i||Vo(r.value,i)||e.target&&!l.value&&oo(mte,t,{originalEvent:e})};c.addEventListener(`focusin`,o),a(()=>c.removeEventListener(`focusin`,o))}),{onFocusCapture:()=>{(0,n.toValue)(i)&&(l.value=!0)},onBlurCapture:()=>{(0,n.toValue)(i)&&(l.value=!1)}}}var Wo=(0,n.defineComponent)({__name:`DismissableLayer`,props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},present:{type:Boolean,required:!1,default:!0}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`dismiss`],setup(t,{emit:r}){let i=t,a=r,{forwardRef:o,currentElement:s}=xo(),c=(0,n.computed)(()=>{var e,t;return(e=(t=s.value)==null?void 0:t.ownerDocument)==null?globalThis.document:e}),l=(0,n.computed)(()=>fo.layersRoot),u=(0,n.computed)(()=>s.value?Array.from(l.value).indexOf(s.value):-1),d=(0,n.computed)(()=>fo.layersWithOutsidePointerEventsDisabled.size>0),f=(0,n.computed)(()=>{let e=Array.from(l.value),[t]=[...fo.layersWithOutsidePointerEventsDisabled].slice(-1),n=e.indexOf(t);return u.value>=n}),p=Ho(async e=>{let t=[...fo.branches].some(t=>t==null?void 0:t.contains(e.target));!i.present||!f.value||t||(a(`pointerDownOutside`,e),a(`interactOutside`,e),await(0,n.nextTick)(),e.defaultPrevented||a(`dismiss`))},s,()=>i.present),m=Uo(e=>{let t=[...fo.branches].some(t=>t==null?void 0:t.contains(e.target));!i.present||t||(a(`focusOutside`,e),a(`interactOutside`,e),e.defaultPrevented||a(`dismiss`))},s);return e.P(`Escape`,e=>{i.present&&u.value===l.value.size-1&&(a(`escapeKeyDown`,e),e.defaultPrevented||a(`dismiss`))}),(0,n.watch)([s,()=>i.disableOutsidePointerEvents,()=>i.present],([e,t,n],r,i)=>{!e||!n||t&&(fo.layersWithOutsidePointerEventsDisabled.size===0&&(fo.originalBodyPointerEvents=c.value.body.style.pointerEvents,c.value.body.style.pointerEvents=`none`),fo.layersWithOutsidePointerEventsDisabled.add(e),i(()=>{fo.layersWithOutsidePointerEventsDisabled.delete(e),fo.layersWithOutsidePointerEventsDisabled.size===0&&!so(fo.originalBodyPointerEvents)&&(c.value.body.style.pointerEvents=fo.originalBodyPointerEvents)}))},{immediate:!0}),(0,n.watch)([s,()=>i.present],([e,t],n,r)=>{!e||!t||(l.value.add(e),r(()=>{l.value.delete(e)}))},{immediate:!0}),(0,n.watchEffect)(e=>{e(()=>{s.value&&(l.value.delete(s.value),fo.layersWithOutsidePointerEventsDisabled.delete(s.value))})}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{ref:(0,n.unref)(o),"as-child":e.asChild,as:e.as,"data-dismissable-layer":``,style:(0,n.normalizeStyle)({pointerEvents:d.value?f.value?`auto`:`none`:void 0}),onFocusCapture:(0,n.unref)(m).onFocusCapture,onBlurCapture:(0,n.unref)(m).onBlurCapture,onPointerdownCapture:(0,n.unref)(p).onPointerDownCapture},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`as-child`,`as`,`style`,`onFocusCapture`,`onBlurCapture`,`onPointerdownCapture`]))}}),Go=e.U(()=>(0,n.ref)([]));function Ko(){let e=Go();return{add(t){let n=e.value[0];t!==n&&(n==null||n.pause()),e.value=qo(e.value,t),e.value.unshift(t)},remove(t){var n;e.value=qo(e.value,t),(n=e.value[0])==null||n.resume()}}}function qo(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}var Jo=`focusScope.autoFocusOnMount`,Yo=`focusScope.autoFocusOnUnmount`,Xo={bubbles:!1,cancelable:!0};function hte(e,{select:t=!1}={}){let n=ao();for(let r of e)if(ts(r,{select:t}),ao()!==n)return!0}function gte(e){let t=Zo(e);return[Qo(t,e),Qo(t.reverse(),e)]}function Zo(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Qo(e,t){for(let n of e)if(!$o(n,{upTo:t}))return n}function $o(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}function es(e){return e instanceof HTMLInputElement&&`select`in e}function ts(e,{select:t=!1}={}){if(e&&e.focus){let n=ao();e.focus({preventScroll:!0}),e!==n&&es(e)&&t&&e.select()}}var ns=(0,n.defineComponent)({__name:`FocusScope`,props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},present:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`mountAutoFocus`,`unmountAutoFocus`],setup(t,{emit:r}){let i=t,a=r,{currentRef:o,currentElement:s}=xo(),c=(0,n.ref)(null),l=Ko(),u=(0,n.reactive)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});(0,n.watchEffect)(t=>{if(!e.G)return;let n=s.value;if(!i.trapped)return;function r(e){if(u.paused||!n)return;let t=e.target;n.contains(t)?c.value=t:ts(c.value,{select:!0})}function a(e){if(u.paused||!n)return;let t=e.relatedTarget;t!==null&&(n.contains(t)||ts(c.value,{select:!0}))}function o(e){let t=c.value;if(t===null||!e.some(e=>e.removedNodes.length>0))return;let r=ao();r&&n.contains(r)||n.contains(t)||ts(n)}document.addEventListener(`focusin`,r),document.addEventListener(`focusout`,a);let l=new MutationObserver(o);n&&l.observe(n,{childList:!0,subtree:!0}),t(()=>{document.removeEventListener(`focusin`,r),document.removeEventListener(`focusout`,a),l.disconnect()})});function d(e,t){let n=new CustomEvent(Jo,Xo),r=e=>a(`mountAutoFocus`,e);e.addEventListener(Jo,r),e.dispatchEvent(n),e.removeEventListener(Jo,r),n.defaultPrevented||(hte(Zo(e),{select:!0}),ao()===t&&ts(e))}(0,n.watchEffect)(async e=>{let t=s.value;if(await(0,n.nextTick)(),!t)return;i.present!==!1&&l.add(u);let r=ao();!t.contains(r)&&i.present!==!1&&d(t,r),e(()=>{let e=new CustomEvent(Yo,Xo),n=e=>{a(`unmountAutoFocus`,e)};t.addEventListener(Yo,n),t.dispatchEvent(e),t.setAttribute(`data-focus-scope-unmounting`,``),setTimeout(()=>{e.defaultPrevented||ts(r==null?document.body:r,{select:!0}),t.removeEventListener(Yo,n),l.remove(u),t.removeAttribute(`data-focus-scope-unmounting`)},0)})}),(0,n.watch)(()=>i.present,async(t,r)=>{if(!e.G)return;if(t===!1&&r===!0){l.remove(u);return}if(t!==!0||r!==!1)return;l.add(u),await(0,n.nextTick)();let i=s.value;if(!i)return;let a=ao();i.contains(a)||d(i,a)});function f(e){if(!i.loop&&!i.trapped||u.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=ao();if(t&&n){let t=e.currentTarget,[r,a]=gte(t);r&&a?!e.shiftKey&&n===a?(e.preventDefault(),i.loop&&ts(r,{select:!0})):e.shiftKey&&n===r&&(e.preventDefault(),i.loop&&ts(a,{select:!0})):n===t&&e.preventDefault()}}return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{ref_key:`currentRef`,ref:o,tabindex:`-1`,"as-child":e.asChild,as:e.as,onKeydown:f},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`as-child`,`as`]))}}),rs=[`Enter`,` `],is=[`ArrowDown`,`PageUp`,`Home`],as=[`ArrowUp`,`PageDown`,`End`];[...is,...as],[...rs],[...rs];function os(e){let t=ao();for(let n of e)if(n===t||(n.focus(),ao()!==t))return}var ss=(0,n.defineComponent)({__name:`Teleport`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(t){let r=t,i=uo({}),a=(0,n.computed)(()=>{var e,t,n;return(e=(t=r.to)==null?(n=i.teleportTo)==null?void 0:n.value:t)==null?`body`:e}),o=e.R();return(e,t)=>(0,n.unref)(o)||e.forceMount?((0,n.openBlock)(),(0,n.createBlock)(n.Teleport,{key:0,to:a.value,disabled:e.disabled,defer:e.defer},[(0,n.renderSlot)(e.$slots,`default`)],8,[`to`,`disabled`,`defer`])):(0,n.createCommentVNode)(`v-if`,!0)}}),cs=`data-reka-collection-item`;function ls(e={}){let{key:t=``,isProvider:r=!1}=e,i=`${t}CollectionProvider`,a;if(r){let e=(0,n.ref)(new Map);a={collectionRef:(0,n.ref)(),itemMap:e},(0,n.provide)(i,a)}else a=(0,n.inject)(i);let o=(e=!1)=>{let t=a.collectionRef.value;if(!t)return[];let n=Array.from(t.querySelectorAll(`[${cs}]`)),r=new Map(n.map((e,t)=>[e,t])),i=Array.from(a.itemMap.value.values()).sort((e,t)=>{var n,i;return((n=r.get(e.ref))==null?-1:n)-((i=r.get(t.ref))==null?-1:i)});return e?i:i.filter(e=>e.ref.dataset.disabled!==``)},s=(0,n.defineComponent)({name:`CollectionSlot`,inheritAttrs:!1,setup(e,{slots:t,attrs:r}){let{primitiveElement:i,currentElement:o}=Fo();return(0,n.watch)(o,()=>{a.collectionRef.value=o.value}),()=>(0,n.h)(No,{ref:i,...r},t)}}),c=(0,n.defineComponent)({name:`CollectionItem`,inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(e,{slots:t,attrs:r}){let{primitiveElement:i,currentElement:o}=Fo();return(0,n.watchEffect)(t=>{if(o.value){let r=(0,n.markRaw)(o.value);a.itemMap.value.set(r,{ref:o.value,value:e.value}),t(()=>a.itemMap.value.delete(r))}}),()=>(0,n.h)(No,{...r,[cs]:``,ref:i},t)}});return{getItems:o,reactiveItems:(0,n.computed)(()=>Array.from(a.itemMap.value.values())),itemMapSize:(0,n.computed)(()=>a.itemMap.value.size),CollectionSlot:s,CollectionItem:c}}var us=(0,n.defineComponent)({__name:`VisuallyHidden`,props:{feature:{type:String,required:!1,default:`focusable`},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{as:e.as,"as-child":e.asChild,"aria-hidden":e.feature===`focusable`||e.feature===`fully-hidden`?`true`:void 0,"data-hidden":e.feature===`fully-hidden`?``:void 0,tabindex:e.feature===`fully-hidden`?`-1`:void 0,style:{position:`absolute`,border:0,width:`1px`,height:`1px`,padding:0,margin:`-1px`,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,clipPath:`inset(50%)`,whiteSpace:`nowrap`,wordWrap:`normal`,top:`-1px`,left:`-1px`}},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`aria-hidden`,`data-hidden`,`tabindex`]))}}),ds=(0,n.defineComponent)({inheritAttrs:!1,__name:`VisuallyHiddenInputBubble`,props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:`fully-hidden`}},setup(e){let t=e,{primitiveElement:r,currentElement:i}=Fo(),a=(0,n.computed)(()=>{var e;return(e=t.checked)==null?t.value:e});return(0,n.watch)(a,(e,t)=>{if(!i.value)return;let n=i.value,r=window.HTMLInputElement.prototype,a=Object.getOwnPropertyDescriptor(r,`value`).set;if(a&&e!==t){let t=new Event(`input`,{bubbles:!0}),r=new Event(`change`,{bubbles:!0});a.call(n,e),n.dispatchEvent(t),n.dispatchEvent(r)}}),(e,i)=>((0,n.openBlock)(),(0,n.createBlock)(us,(0,n.mergeProps)({ref_key:`primitiveElement`,ref:r},{...t,...e.$attrs},{as:`input`}),null,16))}}),fs=(0,n.defineComponent)({inheritAttrs:!1,__name:`VisuallyHiddenInput`,props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:`fully-hidden`}},setup(e){let t=e,r=(0,n.computed)(()=>typeof t.value==`object`&&Array.isArray(t.value)&&t.value.length===0&&t.required),i=(0,n.computed)(()=>typeof t.value==`string`||typeof t.value==`number`||typeof t.value==`boolean`||t.value===null||t.value===void 0?[{name:t.name,value:t.value}]:typeof t.value==`object`&&Array.isArray(t.value)?t.value.flatMap((e,n)=>typeof e==`object`?Object.entries(e).map(([e,r])=>({name:`${t.name}[${n}][${e}]`,value:r})):{name:`${t.name}[${n}]`,value:e}):t.value!==null&&typeof t.value==`object`&&!Array.isArray(t.value)?Object.entries(t.value).map(([e,n])=>({name:`${t.name}[${e}]`,value:n})):[]);return(e,a)=>((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[(0,n.createCommentVNode)(` We render single input if it's required `),r.value?((0,n.openBlock)(),(0,n.createBlock)(ds,(0,n.mergeProps)({key:e.name},{...t,...e.$attrs},{name:e.name,value:e.value}),null,16,[`name`,`value`])):((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,{key:1},(0,n.renderList)(i.value,r=>((0,n.openBlock)(),(0,n.createBlock)(ds,(0,n.mergeProps)({key:r.name},{ref_for:!0},{...t,...e.$attrs},{name:r.name,value:r.value}),null,16,[`name`,`value`]))),128))],2112))}}),ps=`rovingFocusGroup.onEntryFocus`,ms={bubbles:!1,cancelable:!0},hs={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function gs(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}function _s(e,t,n){let r=gs(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return hs[r]}function vs(e,t=!1){let n=ao();for(let r of e)if(r===n||(r.focus({preventScroll:t}),ao()!==n))return}function ys(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var[bs,xs]=io(`PopperRoot`),Ss=(0,n.defineComponent)({inheritAttrs:!1,__name:`PopperRoot`,setup(e){let t=(0,n.ref)();return xs({anchor:t,onAnchorChange:e=>t.value=e}),(e,t)=>(0,n.renderSlot)(e.$slots,`default`)}}),Cs=(0,n.defineComponent)({__name:`PopperAnchor`,props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,{forwardRef:r,currentElement:i}=xo(),a=bs();return(0,n.watchPostEffect)(()=>{var e;a.onAnchorChange((e=t.reference)==null?i.value:e)}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{ref:(0,n.unref)(r),as:e.as,"as-child":e.asChild},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`as`,`as-child`]))}});function ws(e){return e!==null}function Ts(e){return{name:`transformOrigin`,options:e,fn(t){var n,r,i,a,o;let{placement:s,rects:c,middlewareData:l}=t,u=((n=l.arrow)==null?void 0:n.centerOffset)!==0,d=u?0:e.arrowWidth,f=u?0:e.arrowHeight,[p,m]=Es(s),h={start:e.dir===`rtl`?`100%`:`0%`,center:`50%`,end:e.dir===`rtl`?`0%`:`100%`}[m],g={start:`0%`,center:`50%`,end:`100%`}[m],_=((r=(i=l.arrow)==null?void 0:i.x)==null?0:r)+d/2,v=((a=(o=l.arrow)==null?void 0:o.y)==null?0:a)+f/2,y=``,b=``;return p===`bottom`?(y=u?h:`${_}px`,b=`${-f}px`):p===`top`?(y=u?h:`${_}px`,b=`${c.floating.height+f}px`):p===`right`?(y=`${-f}px`,b=u?g:`${v}px`):p===`left`&&(y=`${c.floating.width+f}px`,b=u?g:`${v}px`),{data:{x:y,y:b}}}}}function Es(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var Ds=[`top`,`right`,`bottom`,`left`],Os=Math.min,ks=Math.max,As=Math.round,js=Math.floor,Ms=e=>({x:e,y:e}),Ns={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Ps(e,t,n){return ks(e,Os(t,n))}function Fs(e,t){return typeof e==`function`?e(t):e}function Is(e){return e.split(`-`)[0]}function Ls(e){return e.split(`-`)[1]}function Rs(e){return e===`x`?`y`:`x`}function zs(e){return e===`y`?`height`:`width`}function Bs(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function Vs(e){return Rs(Bs(e))}function _te(e,t,n){n===void 0&&(n=!1);let r=Ls(e),i=Vs(e),a=zs(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Gs(o)),[o,Gs(o)]}function vte(e){let t=Gs(e);return[Hs(e),t,Hs(t)]}function Hs(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Us=[`left`,`right`],Ws=[`right`,`left`],yte=[`top`,`bottom`],bte=[`bottom`,`top`];function xte(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Ws:Us:t?Us:Ws;case`left`:case`right`:return t?yte:bte;default:return[]}}function Ste(e,t,n,r){let i=Ls(e),a=xte(Is(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(Hs)))),a}function Gs(e){let t=Is(e);return Ns[t]+e.slice(t.length)}function Cte(e){var t,n,r,i;return{top:(t=e.top)==null?0:t,right:(n=e.right)==null?0:n,bottom:(r=e.bottom)==null?0:r,left:(i=e.left)==null?0:i}}function Ks(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Cte(e)}function qs(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Js(e,t,n){let{reference:r,floating:i}=e,a=Bs(t),o=Vs(t),s=zs(o),c=Is(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=Ls(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function Ys(e,t){var n;t===void 0&&(t={});let{x:r,y:i,platform:a,rects:o,elements:s,strategy:c}=e,{boundary:l=`clippingAncestors`,rootBoundary:u=`viewport`,elementContext:d=`floating`,altBoundary:f=!1,padding:p=0}=Fs(t,e),m=Ks(p),h=s[f?d===`floating`?`reference`:`floating`:d],g=qs(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(h)))==null||n?h:h.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:l,rootBoundary:u,strategy:c})),_=d===`floating`?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,v=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),y=await(a.isElement==null?void 0:a.isElement(v))&&await(a.getScale==null?void 0:a.getScale(v))||{x:1,y:1},b=qs(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:_,offsetParent:v,strategy:c}):_);return{top:(g.top-b.top+m.top)/y.y,bottom:(b.bottom-g.bottom+m.bottom)/y.y,left:(g.left-b.left+m.left)/y.x,right:(b.right-g.right+m.right)/y.x}}var Xs=50,Zs=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Ys},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Js(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v==null?u:v,d=y==null?d:y,m[g]={...m[g],...b},x&&p<Xs&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=Js(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},Qs=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=Fs(e,t)||{};if(l==null)return{};let d=Ks(u),f={x:n,y:r},p=Vs(i),m=zs(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=Os(d[_],T),ee=Os(d[v],T),te=C-h[m]-ee,ne=C/2-h[m]/2+w,D=Ps(E,ne,te),re=!c.arrow&&Ls(i)!=null&&ne!==D&&a.reference[m]/2-(ne<E?E:ee)-h[m]/2<0,ie=re?ne<E?ne-E:ne-te:0;return{[p]:f[p]+ie,data:{[p]:D,centerOffset:ne-D-ie,...re&&{alignmentOffset:ie}},reset:re}}}),$s=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n,r;let{placement:i,middlewareData:a,rects:o,initialPlacement:s,platform:c,elements:l}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p=`bestFit`,fallbackAxisSideDirection:m=`none`,flipAlignment:h=!0,...g}=Fs(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};let _=Is(i),v=Bs(s),y=Is(s)===s,b=await(c.isRTL==null?void 0:c.isRTL(l.floating)),x=f||(y||!h?[Gs(s)]:vte(s)),S=m!==`none`;!f&&S&&x.push(...Ste(s,h,m,b));let C=[s,...x],w=await c.detectOverflow(t,g),T=[],E=((r=a.flip)==null?void 0:r.overflows)||[];if(u&&T.push(w[_]),d){let e=_te(i,o,b);T.push(w[e[0]],w[e[1]])}if(E=[...E,{placement:i,overflows:T}],!T.every(e=>e<=0)){var ee,te;let e=(((ee=a.flip)==null?void 0:ee.index)||0)+1,t=C[e];if(t&&(d!==`alignment`||v===Bs(t)||E.every(e=>Bs(e.placement)!==v||e.overflows[0]>0)))return{data:{index:e,overflows:E},reset:{placement:t}};let n=(te=E.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])==null?void 0:te.placement;if(!n)switch(p){case`bestFit`:{var ne;let e=(ne=E.filter(e=>{if(S){let t=Bs(e.placement);return t===v||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])==null?void 0:ne[0];e&&(n=e);break}case`initialPlacement`:n=s}if(i!==n)return{reset:{placement:n}}}return{}}}};function ec(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function tc(e){return Ds.some(t=>e[t]>=0)}var nc=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=Fs(e,t);switch(i){case`referenceHidden`:{let e=ec(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:tc(e)}}}case`escaped`:{let e=ec(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:tc(e)}}}default:return{}}}}},rc=new Set([`left`,`top`]);async function ic(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Is(n),s=Ls(n),c=Bs(n)===`y`,l=rc.has(o)?-1:1,u=a&&c?-1:1,d=Fs(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var ac=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n,r;let{x:i,y:a,placement:o,middlewareData:s}=t,c=await ic(t,e);return o===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:i+c.x,y:a+c.y,data:{...c,placement:o}}}}},oc=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Fs(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=Bs(i),p=Rs(f),m=u[p],h=u[f],g=(e,t)=>Ps(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},sc=function(e){return e===void 0&&(e={}),{options:e,fn(t){var n,r;let{x:i,y:a,placement:o,rects:s,middlewareData:c}=t,{offset:l=0,mainAxis:u=!0,crossAxis:d=!0}=Fs(e,t),f={x:i,y:a},p=Bs(o),m=Rs(p),h=f[m],g=f[p],_=Fs(l,t),v=typeof _==`number`?{mainAxis:_,crossAxis:0}:{mainAxis:(n=_.mainAxis)==null?0:n,crossAxis:(r=_.crossAxis)==null?0:r};if(u){let e=m===`y`?`height`:`width`,t=s.reference[m]-s.floating[e]+v.mainAxis,n=s.reference[m]+s.reference[e]-v.mainAxis;h<t?h=t:h>n&&(h=n)}if(d){var y,b;let e=m===`y`?`width`:`height`,t=rc.has(Is(o)),n=s.reference[p]-s.floating[e]+(t&&((y=c.offset)==null?void 0:y[p])||0)+(t?0:v.crossAxis),r=s.reference[p]+s.reference[e]+(t?0:((b=c.offset)==null?void 0:b[p])||0)-(t?v.crossAxis:0);g<n?g=n:g>r&&(g=r)}return{[m]:h,[p]:g}}}},cc=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=Fs(e,t),c=await i.detectOverflow(t,s),l=Is(n),u=Ls(n),d=Bs(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=Os(p-c[m],g),y=Os(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*ks(c.left,c.right):S=p-2*ks(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function lc(){return typeof window<`u`}function uc(e){return pc(e)?(e.nodeName||``).toLowerCase():`#document`}function dc(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function fc(e){var t;return(t=(pc(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function pc(e){return lc()?e instanceof Node||e instanceof dc(e).Node:!1}function mc(e){return lc()?e instanceof Element||e instanceof dc(e).Element:!1}function hc(e){return lc()?e instanceof HTMLElement||e instanceof dc(e).HTMLElement:!1}function gc(e){return!lc()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof dc(e).ShadowRoot}function _c(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Oc(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function vc(e){return/^(table|td|th)$/.test(uc(e))}function yc(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var bc=/transform|translate|scale|rotate|perspective|filter/,xc=/paint|layout|strict|content/,Sc=e=>!!e&&e!==`none`,Cc;function wc(e){let t=mc(e)?Oc(e):e;return Sc(t.transform)||Sc(t.translate)||Sc(t.scale)||Sc(t.rotate)||Sc(t.perspective)||!Ec()&&(Sc(t.backdropFilter)||Sc(t.filter))||bc.test(t.willChange||``)||xc.test(t.contain||``)}function Tc(e){let t=Ac(e);for(;hc(t)&&!Dc(t);){if(wc(t))return t;if(yc(t))return null;t=Ac(t)}return null}function Ec(){return Cc==null&&(Cc=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`)),Cc}function Dc(e){return/^(html|body|#document)$/.test(uc(e))}function Oc(e){return dc(e).getComputedStyle(e)}function kc(e){return mc(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ac(e){if(uc(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||gc(e)&&e.host||fc(e);return gc(t)?t.host:t}function jc(e){let t=Ac(e);return Dc(t)?(e.ownerDocument||e).body:hc(t)&&_c(t)?t:jc(t)}function Mc(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);let i=jc(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),o=dc(i);if(a){let e=Nc(o);return t.concat(o,o.visualViewport||[],_c(i)?i:[],e&&n?Mc(e):[])}return t.concat(i,Mc(i,[],n))}function Nc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Pc(e){let t=Oc(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=hc(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=As(n)!==a||As(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Fc(e){return mc(e)?e:e.contextElement}function Ic(e){let t=Fc(e);if(!hc(t))return Ms(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Pc(t),o=(a?As(n.width):n.width)/r,s=(a?As(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var Lc=Ms(0);function Rc(e){let t=dc(e);return!Ec()||!t.visualViewport?Lc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function zc(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===dc(e)}function Bc(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Fc(e),o=Ms(1);t&&(r?mc(r)&&(o=Ic(r)):o=Ic(e));let s=zc(a,n,r)?Rc(a):Ms(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=dc(a),t=mc(r)?dc(r):r,n=e,i=Nc(n);for(;i&&t!==n;){let e=Ic(i),t=i.getBoundingClientRect(),r=Oc(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=dc(i),i=Nc(n)}}return qs({width:u,height:d,x:c,y:l})}function Vc(e,t){let n=kc(e).scrollLeft;return t?t.left+n:Bc(fc(e)).left+n}function Hc(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Vc(e,n),y:n.top+t.scrollTop}}function wte(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=fc(r),s=t?yc(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=Ms(1),u=Ms(0),d=hc(r);if((d||!a)&&((uc(r)!==`body`||_c(o))&&(c=kc(r)),d)){let e=Bc(r);l=Ic(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?Hc(o,c):Ms(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Tte(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Ete(e){let t=kc(e),n=e.ownerDocument.body,r=ks(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=ks(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+Vc(e),o=-t.scrollTop;return Oc(n).direction===`rtl`&&(a+=ks(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var Dte=25;function Ote(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=dc(e),a=fc(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!Ec()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(Vc(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=Dte&&(s-=o)}return{width:s,height:c,x:l,y:u}}function kte(e,t){let n=Bc(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Ic(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Uc(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=Ote(e,n,t);else if(t===`document`)r=Ete(fc(e));else if(mc(t))r=kte(t,n);else{let n=Rc(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return qs(r)}function Ate(e,t){let n=t.get(e);if(n)return n;let r=Mc(e,[],!1).filter(e=>mc(e)&&uc(e)!==`body`),i=null,a=Oc(e).position===`fixed`,o=a?Ac(e):e;for(;mc(o)&&!Dc(o);){let e=Oc(o),t=wc(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=Ac(o)}return t.set(e,r),r}function jte(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?yc(t)?[]:Ate(t,this._c):[].concat(n),r],o=Uc(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=Uc(t,a[e],i);s=ks(n.top,s),c=Os(n.right,c),l=Os(n.bottom,l),u=ks(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function Mte(e){let{width:t,height:n}=Pc(e);return{width:t,height:n}}function Nte(e,t,n){let r=hc(t),i=fc(t),a=n===`fixed`,o=Bc(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=Ms(0);if((r||!a)&&((uc(t)!==`body`||_c(i))&&(s=kc(t)),r)){let e=Bc(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=Vc(i));let l=i&&!r&&!a?Hc(i,s):Ms(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function Wc(e){return Oc(e).position===`static`}function Gc(e,t){if(!hc(e)||Oc(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return fc(e)===n&&(n=n.ownerDocument.body),n}function Kc(e,t){let n=dc(e);if(yc(e))return n;if(!hc(e)){let t=Ac(e);for(;t&&!Dc(t);){if(mc(t)&&!Wc(t))return t;t=Ac(t)}return n}let r=Gc(e,t);for(;r&&vc(r)&&Wc(r);)r=Gc(r,t);return r&&Dc(r)&&Wc(r)&&!wc(r)?n:r||Tc(e)||n}var Pte=async function(e){let t=this.getOffsetParent||Kc,n=this.getDimensions,r=await n(e.floating);return{reference:Nte(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Fte(e){return Oc(e).direction===`rtl`}var Ite={convertOffsetParentRelativeRectToViewportRelativeRect:wte,getDocumentElement:fc,getClippingRect:jte,getOffsetParent:Kc,getElementRects:Pte,getClientRects:Tte,getDimensions:Mte,getScale:Ic,isElement:mc,isRTL:Fte};function qc(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Lte(e,t,n){let r=null,i,a=fc(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=js(d),h=js(a.clientWidth-(u+f)),g=js(a.clientHeight-(d+p)),_=js(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:ks(0,Os(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!qc(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=dc(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function Jc(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=Fc(e),u=i||a?[...l?Mc(l):[],...t?Mc(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?Lte(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?Bc(e):null;c&&g();function g(){let t=Bc(e);h&&!qc(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d==null||d(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Yc=ac,Xc=oc,Zc=$s,Qc=cc,$c=nc,el=Qs,tl=sc,nl=(e,t,n)=>{let r=new Map,i=n==null?{}:n,a={...Ite,...i.platform,_c:r};return Zs(e,t,{...i,platform:a})},rl=e.Q({Vue:()=>n,Vue2:()=>void 0,del:()=>ol,install:()=>il,isVue2:()=>!1,isVue3:()=>!0,set:()=>al});e.$(rl,require("vue"));function il(){}function al(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function ol(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}function sl(e){return typeof e==`object`&&!!e&&`$el`in e}function cl(e){if(sl(e)){let t=e.$el;return pc(t)&&uc(t)===`#comment`?null:t}return e}function ll(e){return typeof e==`function`?e():(0,rl.unref)(e)}function ul(e){return{name:`arrow`,options:e,fn(t){let n=cl(ll(e.element));return n==null?{}:el({element:n,padding:e.padding}).fn(t)}}}function dl(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function fl(e,t){let n=dl(e);return Math.round(t*n)/n}function pl(e,t,n){n===void 0&&(n={});let r=n.whileElementsMounted,i=(0,rl.computed)(()=>{var e;return(e=ll(n.open))==null||e}),a=(0,rl.computed)(()=>ll(n.middleware)),o=(0,rl.computed)(()=>{var e;return(e=ll(n.placement))==null?`bottom`:e}),s=(0,rl.computed)(()=>{var e;return(e=ll(n.strategy))==null?`absolute`:e}),c=(0,rl.computed)(()=>{var e;return(e=ll(n.transform))==null||e}),l=(0,rl.computed)(()=>cl(e.value)),u=(0,rl.computed)(()=>cl(t.value)),d=(0,rl.ref)(0),f=(0,rl.ref)(0),p=(0,rl.ref)(s.value),m=(0,rl.ref)(o.value),h=(0,rl.shallowRef)({}),g=(0,rl.ref)(!1),_=(0,rl.computed)(()=>{let e={position:p.value,left:`0`,top:`0`};if(!u.value)return e;let t=fl(u.value,d.value),n=fl(u.value,f.value);return c.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...dl(u.value)>=1.5&&{willChange:`transform`}}:{position:p.value,left:t+`px`,top:n+`px`}}),v;function y(){if(l.value==null||u.value==null)return;let e=i.value;nl(l.value,u.value,{middleware:a.value,placement:o.value,strategy:s.value}).then(t=>{d.value=t.x,f.value=t.y,p.value=t.strategy,m.value=t.placement,h.value=t.middlewareData,g.value=e!==!1})}function b(){typeof v==`function`&&(v(),v=void 0)}function x(){if(b(),r===void 0){y();return}if(l.value!=null&&u.value!=null){v=r(l.value,u.value,y);return}}function S(){i.value||(g.value=!1)}return(0,rl.watch)([a,o,s,i],y,{flush:`sync`}),(0,rl.watch)([l,u],x,{flush:`sync`}),(0,rl.watch)(i,S,{flush:`sync`}),(0,rl.getCurrentScope)()&&(0,rl.onScopeDispose)(b),{x:(0,rl.shallowReadonly)(d),y:(0,rl.shallowReadonly)(f),strategy:(0,rl.shallowReadonly)(p),placement:(0,rl.shallowReadonly)(m),middlewareData:(0,rl.shallowReadonly)(h),isPositioned:(0,rl.shallowReadonly)(g),floatingStyles:_,update:y}}var ml=[`dir`],hl={side:`bottom`,sideOffset:0,sideFlip:!0,align:`center`,alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:`partial`,hideWhenDetached:!1,positionStrategy:`fixed`,updatePositionStrategy:`optimized`,prioritizePosition:!1},[Rte,gl]=io(`PopperContent`),_l=(0,n.defineComponent)({inheritAttrs:!1,__name:`PopperContent`,props:(0,n.mergeDefaults)({memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...hl}),emits:[`placed`],setup(e,{emit:t}){let r=e,i=t,a=bs(),{forwardRef:o,currentElement:s}=xo(),c=_o((0,n.computed)(()=>r.dir)),l=(0,n.ref)(),u=(0,n.ref)(),{width:d,height:f}=ste(u),p=(0,n.computed)(()=>r.side+(r.align===`center`?``:`-${r.align}`)),m=(0,n.computed)(()=>typeof r.collisionPadding==`number`?r.collisionPadding:{top:0,right:0,bottom:0,left:0,...r.collisionPadding}),h=(0,n.computed)(()=>Array.isArray(r.collisionBoundary)?r.collisionBoundary:[r.collisionBoundary]),g=(0,n.computed)(()=>({padding:m.value,boundary:h.value.filter(ws),altBoundary:h.value.length>0})),_=(0,n.computed)(()=>({mainAxis:r.sideFlip,crossAxis:r.alignFlip})),v=(0,n.computed)(()=>[Yc({mainAxis:r.sideOffset+f.value,alignmentAxis:r.alignOffset}),r.prioritizePosition&&r.avoidCollisions&&Zc({...g.value,..._.value}),r.avoidCollisions&&Xc({mainAxis:!0,crossAxis:!!r.prioritizePosition,limiter:r.sticky===`partial`?tl():void 0,...g.value}),!r.prioritizePosition&&r.avoidCollisions&&Zc({...g.value,..._.value}),Qc({...g.value,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--reka-popper-available-width`,`${n}px`),o.setProperty(`--reka-popper-available-height`,`${r}px`),o.setProperty(`--reka-popper-anchor-width`,`${i}px`),o.setProperty(`--reka-popper-anchor-height`,`${a}px`)}}),u.value&&ul({element:u.value,padding:r.arrowPadding}),Ts({arrowWidth:d.value,arrowHeight:f.value,dir:c.value}),r.hideWhenDetached&&$c({strategy:`referenceHidden`,...g.value})]),{floatingStyles:y,placement:b,isPositioned:x,middlewareData:S,update:C}=pl((0,n.computed)(()=>{var e;return(e=r.reference)==null?a.anchor.value:e}),l,{strategy:r.positionStrategy,placement:p,whileElementsMounted:(...e)=>Jc(...e,{layoutShift:!r.disableUpdateOnLayoutShift,animationFrame:r.updatePositionStrategy===`always`}),middleware:v}),w=(0,n.computed)(()=>Es(b.value)[0]),T=(0,n.computed)(()=>Es(b.value)[1]);(0,n.watchPostEffect)(()=>{x.value&&i(`placed`)});let E=(0,n.computed)(()=>{var e;let t=((e=S.value.arrow)==null?void 0:e.centerOffset)!==0;return r.hideShiftedArrow&&t}),ee=(0,n.ref)(``);return(0,n.watchEffect)(()=>{s.value&&(ee.value=window.getComputedStyle(s.value).zIndex)}),gl({placedSide:w,onArrowChange:e=>u.value=e,arrowX:(0,n.computed)(()=>{var e,t;return(e=(t=S.value.arrow)==null?void 0:t.x)==null?0:e}),arrowY:(0,n.computed)(()=>{var e,t;return(e=(t=S.value.arrow)==null?void 0:t.y)==null?0:e}),shouldHideArrow:E}),(e,t)=>{var i,a,s;return(0,n.openBlock)(),(0,n.createElementBlock)(`div`,{ref_key:`floatingRef`,ref:l,"data-reka-popper-content-wrapper":``,dir:(0,n.unref)(c),style:(0,n.normalizeStyle)({...(0,n.unref)(y),transform:(0,n.unref)(x)?(0,n.unref)(y).transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:ee.value,"--reka-popper-transform-origin":[(i=(0,n.unref)(S).transformOrigin)==null?void 0:i.x,(a=(0,n.unref)(S).transformOrigin)==null?void 0:a.y].join(` `),...((s=(0,n.unref)(S).hide)==null?void 0:s.referenceHidden)&&{visibility:`hidden`,pointerEvents:`none`}})},[r.memoDependencies?(0,n.withMemo)([r.asChild,r.as,w.value,T.value,(0,n.unref)(x),...Object.values(e.$attrs),...r.memoDependencies],()=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),(0,n.mergeProps)({key:0,ref:(0,n.unref)(o)},e.$attrs,{"as-child":r.asChild,as:r.as,"data-side":w.value,"data-align":T.value,style:{animation:(0,n.unref)(x)?void 0:`none`}}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`as-child`,`as`,`data-side`,`data-align`,`style`])),t,0):((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),(0,n.mergeProps)({key:1,ref:(0,n.unref)(o)},e.$attrs,{"as-child":r.asChild,as:r.as,"data-side":w.value,"data-align":T.value,dir:(0,n.unref)(c),style:{animation:(0,n.unref)(x)?void 0:`none`}}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`as-child`,`as`,`data-side`,`data-align`,`dir`,`style`]))],12,ml)}}});function vl(e){let t=uo({nonce:(0,n.ref)()});return(0,n.computed)(()=>{var n;return(e==null?void 0:e.value)||((n=t.nonce)==null?void 0:n.value)})}var[yl,bl]=io(`RovingFocusGroup`),xl=(0,n.defineComponent)({__name:`RovingFocusGroup`,props:{orientation:{type:String,required:!1,default:void 0},dir:{type:String,required:!1},loop:{type:Boolean,required:!1,default:!1},currentTabStopId:{type:[String,null],required:!1},defaultCurrentTabStopId:{type:String,required:!1},preventScrollOnEntryFocus:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`entryFocus`,`update:currentTabStopId`],setup(t,{expose:r,emit:i}){let a=t,o=i,{loop:s,orientation:c,dir:l}=(0,n.toRefs)(a),u=_o(l),d=e.V(a,`currentTabStopId`,o,{defaultValue:a.defaultCurrentTabStopId,passive:a.currentTabStopId===void 0}),f=(0,n.ref)(!1),p=(0,n.ref)(!1),m=(0,n.ref)(0),{getItems:h,CollectionSlot:g}=ls({isProvider:!0});function _(e){let t=!p.value;if(e.currentTarget&&e.target===e.currentTarget&&t&&!f.value){let t=new CustomEvent(ps,ms);if(e.currentTarget.dispatchEvent(t),o(`entryFocus`,t),!t.defaultPrevented){let e=h().map(e=>e.ref).filter(e=>e.dataset.disabled!==``);vs([e.find(e=>e.getAttribute(`data-active`)===``),e.find(e=>e.getAttribute(`data-highlighted`)===``),e.find(e=>e.id===d.value),...e].filter(Boolean),a.preventScrollOnEntryFocus)}}p.value=!1}function v(){setTimeout(()=>{p.value=!1},1)}return r({getItems:h}),bl({loop:s,dir:u,orientation:c,currentTabStopId:d,onItemFocus:e=>{d.value=e},onItemShiftTab:()=>{f.value=!0},onFocusableItemAdd:()=>{m.value++},onFocusableItemRemove:()=>{m.value--}}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(g),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Po),{tabindex:f.value||m.value===0?-1:0,"data-orientation":(0,n.unref)(c),as:e.as,"as-child":e.asChild,dir:(0,n.unref)(u),style:{outline:`none`},onMousedown:t[0]||(t[0]=e=>p.value=!0),onMouseup:v,onFocus:_,onBlur:t[1]||(t[1]=e=>f.value=!1)},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`tabindex`,`data-orientation`,`as`,`as-child`,`dir`])]),_:3}))}}),Sl=(0,n.defineComponent)({__name:`RovingFocusItem`,props:{tabStopId:{type:String,required:!1},focusable:{type:Boolean,required:!1,default:!0},active:{type:Boolean,required:!1},allowShiftKey:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let t=e,r=yl(),i=ko(),a=(0,n.computed)(()=>t.tabStopId||i),o=(0,n.computed)(()=>r.currentTabStopId.value===a.value),{getItems:s,CollectionItem:c}=ls();(0,n.onMounted)(()=>{t.focusable&&r.onFocusableItemAdd()}),(0,n.onUnmounted)(()=>{t.focusable&&r.onFocusableItemRemove()}),(0,n.watch)(()=>t.focusable,(e,t)=>{e!==t&&(e?r.onFocusableItemAdd():r.onFocusableItemRemove())});function l(e){if(e.key===`Tab`&&e.shiftKey){r.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let i=_s(e,r.orientation.value,r.dir.value);if(i!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||!t.allowShiftKey&&e.shiftKey)return;e.preventDefault();let a=[...s().map(e=>e.ref).filter(e=>e.dataset.disabled!==``)];if(i===`last`)a.reverse();else if(i===`prev`||i===`next`){i===`prev`&&a.reverse();let t=a.indexOf(e.currentTarget);a=r.loop.value?ys(a,t+1):a.slice(t+1)}(0,n.nextTick)(()=>vs(a))}}return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(c),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Po),{tabindex:o.value?0:-1,"data-orientation":(0,n.unref)(r).orientation.value,"data-active":e.active?``:void 0,"data-disabled":e.focusable?void 0:``,as:e.as,"as-child":e.asChild,onMousedown:t[0]||(t[0]=t=>{e.focusable?(0,n.unref)(r).onItemFocus(a.value):t.preventDefault()}),onFocus:t[1]||(t[1]=e=>(0,n.unref)(r).onItemFocus(a.value)),onKeydown:l},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`tabindex`,`data-orientation`,`data-active`,`data-disabled`,`as`,`as-child`])]),_:3}))}}),[Cl,zte]=io(`CheckboxGroupRoot`);function wl(e){return e===`indeterminate`}function Tl(e){return wl(e)?`indeterminate`:e?`checked`:`unchecked`}var[El,Dl]=io(`CheckboxRoot`),Ol=(0,n.defineComponent)({inheritAttrs:!1,__name:`CheckboxRoot`,props:{defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},disabled:{type:Boolean,required:!1},value:{type:null,required:!1,default:`on`},id:{type:String,required:!1},trueValue:{type:null,required:!1,default:()=>!0},falseValue:{type:null,required:!1,default:()=>!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:[`update:modelValue`],setup(t,{emit:r}){var i;let a=t,o=r,{forwardRef:s,currentElement:c}=xo(),l=Cl(null),u=e.V(a,`modelValue`,o,{defaultValue:(i=a.defaultValue)==null?a.falseValue:i,passive:a.modelValue===void 0}),d=(0,n.computed)(()=>(l==null?void 0:l.disabled.value)||a.disabled),f=(0,n.computed)(()=>no(u.value,a.trueValue)),p=(0,n.computed)(()=>so(l==null?void 0:l.modelValue.value)?u.value===`indeterminate`?`indeterminate`:f.value:co(l.modelValue.value,a.value));function m(){if(so(l==null?void 0:l.modelValue.value))u.value===`indeterminate`?u.value=a.trueValue:u.value=f.value?a.falseValue:a.trueValue;else{let e=[...l.modelValue.value||[]];if(co(e,a.value)){let t=e.findIndex(e=>no(e,a.value));e.splice(t,1)}else e.push(a.value);l.modelValue.value=e}}let h=bo(c),g=qee(),_=(0,n.useAttrs)(),v=(0,n.computed)(()=>{var e;if(!_[`aria-label`])return a.id&&c.value?(e=document.querySelector(`[for="${a.id}"]`))==null?void 0:e.innerText:void 0});return Dl({disabled:d,state:p}),(e,t)=>{var r,i;return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)((r=(0,n.unref)(l))!=null&&r.rovingFocus.value?(0,n.unref)(Sl):(0,n.unref)(Po)),(0,n.mergeProps)({...e.$attrs,...(0,n.unref)(g)},{id:e.id,ref:(0,n.unref)(s),role:`checkbox`,"as-child":e.asChild,as:e.as,type:e.as===`button`?`button`:void 0,"aria-checked":(0,n.unref)(wl)(p.value)?`mixed`:p.value,"aria-required":e.required,"aria-label":e.$attrs[`aria-label`]||v.value,"data-state":(0,n.unref)(Tl)(p.value),"data-disabled":d.value?``:void 0,disabled:d.value,focusable:(i=(0,n.unref)(l))!=null&&i.rovingFocus.value?!d.value:void 0,onKeydown:(0,n.withKeys)((0,n.withModifiers)(()=>{},[`prevent`]),[`enter`]),onClick:m}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{modelValue:(0,n.unref)(u),state:p.value})]),_:3},16,[`id`,`as-child`,`as`,`type`,`aria-checked`,`aria-required`,`aria-label`,`data-state`,`data-disabled`,`disabled`,`focusable`,`onKeydown`])),(0,n.unref)(h)&&e.name&&!(0,n.unref)(l)?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(fs),(0,n.mergeProps)({key:0,type:`checkbox`,checked:!!p.value,name:e.name,value:e.value,disabled:d.value,required:e.required},(0,n.unref)(g)),null,16,[`checked`,`name`,`value`,`disabled`,`required`])):(0,n.createCommentVNode)(`v-if`,!0)],64)}}}),kl=(0,n.defineComponent)({__name:`CheckboxIndicator`,props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let{forwardRef:t}=xo(),r=El();return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Mo),{present:e.forceMount||(0,n.unref)(wl)((0,n.unref)(r).state.value)||(0,n.unref)(r).state.value===!0},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Po),(0,n.mergeProps)({ref:(0,n.unref)(t),"data-state":(0,n.unref)(Tl)((0,n.unref)(r).state.value),"data-disabled":(0,n.unref)(r).disabled.value?``:void 0,style:{pointerEvents:`none`},"as-child":e.asChild,as:e.as},e.$attrs),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`data-state`,`data-disabled`,`as-child`,`as`])]),_:3},8,[`present`]))}}),Al=(0,n.defineComponent)({__name:`Label`,props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`label`}},setup(e){let t=e;return xo(),(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),(0,n.mergeProps)(t,{onMousedown:r[0]||(r[0]=e=>{!e.defaultPrevented&&e.detail>1&&e.preventDefault()})}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),jl=[` `,`Enter`,`ArrowUp`,`ArrowDown`],Ml=[` `,`Enter`];function Nl(e,t,n){return e===void 0?!1:Array.isArray(e)?e.some(e=>Pl(e,t,n)):Pl(e,t,n)}function Pl(e,t,n){return e===void 0||t===void 0?!1:typeof e==`string`?e===t:typeof n==`function`?n(e,t):typeof n==`string`?(e==null?void 0:e[n])===(t==null?void 0:t[n]):no(e,t)}function Fl(e){return e==null||e===``||Array.isArray(e)&&e.length===0}var Il=[`value`],[Ll,Rl]=io(`SelectRoot`),zl=(0,n.defineComponent)({inheritAttrs:!1,__name:`SelectRoot`,props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},nullableValue:{type:String,required:!1,default:``},by:{type:[String,Function],required:!1},dir:{type:String,required:!1},multiple:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:[`update:modelValue`,`update:open`],setup(t,{emit:r}){var i;let a=t,o=r,{required:s,disabled:c,multiple:l,dir:u}=(0,n.toRefs)(a),d=e.V(a,`modelValue`,o,{defaultValue:(i=a.defaultValue)==null?l.value?[]:void 0:i,passive:a.modelValue===void 0,deep:!0}),f=e.V(a,`open`,o,{defaultValue:a.defaultOpen,passive:a.open===void 0}),p=(0,n.ref)(),m=(0,n.ref)(),h=(0,n.ref)({x:0,y:0}),g=(0,n.computed)(()=>{var e;return l.value&&Array.isArray(d.value)?((e=d.value)==null?void 0:e.length)===0:so(d.value)});ls({isProvider:!0});let _=_o(u),v=bo(p),y=(0,n.ref)(new Set),b=(0,n.computed)(()=>Array.from(y.value).map(e=>e.value).join(`;`));function x(e){if(l.value){let t=Array.isArray(d.value)?[...d.value]:[],n=t.findIndex(t=>Pl(t,e,a.by));n===-1?t.push(e):t.splice(n,1),d.value=[...t]}else d.value=e}function S(e){return Array.from(y.value).find(t=>Nl(e,t.value,a.by))}return Rl({triggerElement:p,onTriggerChange:e=>{p.value=e},valueElement:m,onValueElementChange:e=>{m.value=e},contentId:``,modelValue:d,onValueChange:x,by:a.by,open:f,multiple:l,required:s,onOpenChange:e=>{f.value=e},dir:_,triggerPointerDownPosRef:h,disabled:c,isEmptyModelValue:g,optionsSet:y,onOptionAdd:e=>{let t=S(e.value);t&&y.value.delete(t),y.value.add(e)},onOptionRemove:e=>{let t=S(e.value);t&&y.value.delete(t)}}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ss),null,{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{modelValue:(0,n.unref)(d),open:(0,n.unref)(f)}),(0,n.unref)(v)&&e.name?((0,n.openBlock)(),(0,n.createBlock)(Bl,{key:b.value,"aria-hidden":`true`,tabindex:`-1`,multiple:(0,n.unref)(l),required:(0,n.unref)(s),name:e.name,autocomplete:e.autocomplete,disabled:(0,n.unref)(c),value:(0,n.unref)(d)},{default:(0,n.withCtx)(()=>[(0,n.unref)(so)((0,n.unref)(d))?((0,n.openBlock)(),(0,n.createElementBlock)(`option`,{key:0,value:e.nullableValue},null,8,Il)):(0,n.createCommentVNode)(`v-if`,!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(Array.from(y.value),e=>{var t;return(0,n.openBlock)(),(0,n.createElementBlock)(`option`,(0,n.mergeProps)({key:(t=e.value)==null?``:t},{ref_for:!0},e),null,16)}),128))]),_:1},8,[`multiple`,`required`,`name`,`autocomplete`,`disabled`,`value`])):(0,n.createCommentVNode)(`v-if`,!0)]),_:3}))}}),Bl=(0,n.defineComponent)({__name:`BubbleSelect`,props:{autocomplete:{type:String,required:!1},autofocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},form:{type:String,required:!1},multiple:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},size:{type:Number,required:!1},value:{type:null,required:!1}},setup(e){let t=e,r=(0,n.ref)(),i=Ll();(0,n.watch)(()=>t.value,(e,t)=>{let n=window.HTMLSelectElement.prototype,i=Object.getOwnPropertyDescriptor(n,`value`).set;if(e!==t&&i&&r.value){let t=new Event(`change`,{bubbles:!0});i.call(r.value,e),r.value.dispatchEvent(t)}});function a(e){i.onValueChange(e.target.value)}return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(us),{"as-child":``},{default:(0,n.withCtx)(()=>[(0,n.createElementVNode)(`select`,(0,n.mergeProps)({ref_key:`selectElement`,ref:r},t,{onInput:a}),[(0,n.renderSlot)(e.$slots,`default`)],16)]),_:3}))}}),Vl=(0,n.defineComponent)({__name:`SelectPopperPosition`,props:{memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:`start`},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1,default:10},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=So(e);return(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(_l),(0,n.mergeProps)((0,n.unref)(t),{style:{boxSizing:`border-box`,"--reka-select-content-transform-origin":`var(--reka-popper-transform-origin)`,"--reka-select-content-available-width":`var(--reka-popper-available-width)`,"--reka-select-content-available-height":`var(--reka-popper-available-height)`,"--reka-select-trigger-width":`var(--reka-popper-anchor-width)`,"--reka-select-trigger-height":`var(--reka-popper-anchor-height)`}}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),Hl={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[Ul,Wl]=io(`SelectContent`),Gl=(0,n.defineComponent)({__name:`SelectContentImpl`,props:{position:{type:String,required:!1,default:`item-aligned`},bodyLock:{type:Boolean,required:!1,default:!0},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:`start`},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:!0}},emits:[`closeAutoFocus`,`escapeKeyDown`,`pointerDownOutside`],setup(t,{emit:r}){let i=t,a=r,o=Ll();Kee(),Uee(i.bodyLock);let{CollectionSlot:s,getItems:c}=ls(),l=(0,n.ref)();ate(l);let{search:u,handleTypeaheadSearch:d}=Ao(),f=(0,n.ref)(),p=(0,n.ref)(),m=(0,n.ref)(),h=(0,n.ref)(!1),g=(0,n.ref)(!1),_=(0,n.ref)(!1);function v(){p.value&&l.value&&os([p.value,l.value])}(0,n.watch)(h,()=>{v()});let{onOpenChange:y,triggerPointerDownPosRef:b}=o;(0,n.watchEffect)(e=>{if(!l.value)return;let t={x:0,y:0},n=e=>{var n,r,i,a;t={x:Math.abs(Math.round(e.pageX)-((n=(r=b.value)==null?void 0:r.x)==null?0:n)),y:Math.abs(Math.round(e.pageY)-((i=(a=b.value)==null?void 0:a.y)==null?0:i))}},r=e=>{var r;e.pointerType!==`touch`&&(t.x<=10&&t.y<=10?e.preventDefault():(r=l.value)!=null&&r.contains(e.target)||y(!1),document.removeEventListener(`pointermove`,n),b.value=null)};b.value!==null&&(document.addEventListener(`pointermove`,n),document.addEventListener(`pointerup`,r,{capture:!0,once:!0})),e(()=>{document.removeEventListener(`pointermove`,n),document.removeEventListener(`pointerup`,r,{capture:!0})})});function x(e){let t=e.ctrlKey||e.altKey||e.metaKey;if(e.key===`Tab`&&e.preventDefault(),!t&&e.key.length===1&&d(e.key,c()),[`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(e.key)){let t=[...c().map(e=>e.ref)];if([`ArrowUp`,`End`].includes(e.key)&&(t=t.slice().reverse()),[`ArrowUp`,`ArrowDown`].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>os(t)),e.preventDefault()}}let S=So((0,n.computed)(()=>i.position===`popper`?i:{}).value);return Wl({content:l,viewport:f,onViewportChange:e=>{f.value=e},itemRefCallback:(e,t,n)=>{let r=!g.value&&!n,i=Nl(o.modelValue.value,t,o.by);if(o.multiple.value){if(_.value)return;(i||r)&&(p.value=e,i&&(_.value=!0))}else(i||r)&&(p.value=e);r&&(g.value=!0)},selectedItem:p,selectedItemText:m,onItemLeave:()=>{var e;(e=l.value)==null||e.focus()},itemTextRefCallback:(e,t,n)=>{let r=!g.value&&!n;(Nl(o.modelValue.value,t,o.by)||r)&&(m.value=e)},focusSelectedItem:v,position:i.position,isPositioned:h,searchRef:u}),(t,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(s),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(ns),{"as-child":``,onMountAutoFocus:r[6]||(r[6]=(0,n.withModifiers)(()=>{},[`prevent`])),onUnmountAutoFocus:r[7]||(r[7]=e=>{var t;a(`closeAutoFocus`,e),!e.defaultPrevented&&((t=(0,n.unref)(o).triggerElement.value)==null||t.focus({preventScroll:!0}),e.preventDefault())})},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Wo),{"as-child":``,"disable-outside-pointer-events":t.disableOutsidePointerEvents,onFocusOutside:r[2]||(r[2]=(0,n.withModifiers)(()=>{},[`prevent`])),onDismiss:r[3]||(r[3]=e=>(0,n.unref)(o).onOpenChange(!1)),onEscapeKeyDown:r[4]||(r[4]=e=>a(`escapeKeyDown`,e)),onPointerDownOutside:r[5]||(r[5]=e=>a(`pointerDownOutside`,e))},{default:(0,n.withCtx)(()=>[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(t.position===`popper`?Vl:Jl),(0,n.mergeProps)({...t.$attrs,...(0,n.unref)(S)},{id:(0,n.unref)(o).contentId,ref:t=>{if(!t)return;let r=(0,n.unref)(e.F)(t);r!=null&&r.hasAttribute(`data-reka-popper-content-wrapper`)?l.value=r.firstElementChild:l.value=r},role:`listbox`,"data-state":(0,n.unref)(o).open.value?`open`:`closed`,dir:(0,n.unref)(o).dir.value,style:{display:`flex`,flexDirection:`column`,outline:`none`},onContextmenu:r[0]||(r[0]=(0,n.withModifiers)(()=>{},[`prevent`])),onPlaced:r[1]||(r[1]=e=>h.value=!0),onKeydown:x}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(t.$slots,`default`)]),_:3},16,[`id`,`data-state`,`dir`,`onKeydown`]))]),_:3},8,[`disable-outside-pointer-events`])]),_:3})]),_:3}))}}),[Kl,ql]=io(`SelectItemAlignedPosition`),Jl=(0,n.defineComponent)({inheritAttrs:!1,__name:`SelectItemAlignedPosition`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`placed`],setup(t,{emit:r}){let i=t,a=r,{getItems:o}=ls(),s=Ll(),c=Ul(),l=(0,n.ref)(!1),u=(0,n.ref)(!0),d=(0,n.ref)(),{forwardRef:f,currentElement:p}=xo(),{viewport:m,selectedItem:h,selectedItemText:g,focusSelectedItem:_}=c;function v(){if(s.triggerElement.value&&s.valueElement.value&&d.value&&p.value&&m!=null&&m.value&&h!=null&&h.value&&g!=null&&g.value){let e=s.triggerElement.value.getBoundingClientRect(),t=p.value.getBoundingClientRect(),n=s.valueElement.value.getBoundingClientRect(),r=g.value.getBoundingClientRect();if(s.dir.value!==`rtl`){let i=r.left-t.left,a=n.left-i,o=e.left-a,s=e.width+o,c=Math.max(s,t.width),l=window.innerWidth-10,u=ro(a,10,Math.max(10,l-c));d.value.style.minWidth=`${s}px`,d.value.style.left=`${u}px`}else{let i=t.right-r.right,a=window.innerWidth-n.right-i,o=window.innerWidth-e.right-a,s=e.width+o,c=Math.max(s,t.width),l=window.innerWidth-10,u=ro(a,10,Math.max(10,l-c));d.value.style.minWidth=`${s}px`,d.value.style.right=`${u}px`}let i=o().map(e=>e.ref),c=window.innerHeight-20,u=m.value.scrollHeight,f=window.getComputedStyle(p.value),_=Number.parseInt(f.borderTopWidth,10),v=Number.parseInt(f.paddingTop,10),y=Number.parseInt(f.borderBottomWidth,10),b=Number.parseInt(f.paddingBottom,10),x=_+v+u+b+y,S=Math.min(h.value.offsetHeight*5,x),C=window.getComputedStyle(m.value),w=Number.parseInt(C.paddingTop,10),T=Number.parseInt(C.paddingBottom,10),E=e.top+e.height/2-10,ee=c-E,te=h.value.offsetHeight/2,ne=h.value.offsetTop+te,D=_+v+ne,re=x-D;if(D<=E){let e=h.value===i.at(-1);d.value.style.bottom=`0px`;let t=p.value.clientHeight-m.value.offsetTop-m.value.offsetHeight,n=D+Math.max(ee,te+(e?T:0)+t+y);d.value.style.height=`${n}px`}else{let e=h.value===i[0];d.value.style.top=`0px`;let t=Math.max(E,_+m.value.offsetTop+(e?w:0)+te)+re;d.value.style.height=`${t}px`,m.value.scrollTop=D-E+m.value.offsetTop}d.value.style.margin=`10px 0`,d.value.style.minHeight=`${S}px`,d.value.style.maxHeight=`${c}px`,a(`placed`),requestAnimationFrame(()=>l.value=!0)}}let y=(0,n.ref)(``);(0,n.onMounted)(async()=>{await(0,n.nextTick)(),v(),p.value&&(y.value=window.getComputedStyle(p.value).zIndex)});function b(e){e&&u.value===!0&&(v(),_==null||_(),u.value=!1)}return e.z(s.triggerElement,()=>{v()}),ql({contentWrapper:d,shouldExpandOnScrollRef:l,onScrollButtonChange:b}),(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{ref_key:`contentWrapperElement`,ref:d,style:(0,n.normalizeStyle)({display:`flex`,flexDirection:`column`,position:`fixed`,zIndex:y.value})},[(0,n.createVNode)((0,n.unref)(Po),(0,n.mergeProps)({ref:(0,n.unref)(f),style:{boxSizing:`border-box`,maxHeight:`100%`}},{...e.$attrs,...i}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16)],4))}}),Yl=(0,n.defineComponent)({inheritAttrs:!1,__name:`SelectProvider`,props:{context:{type:Object,required:!0}},setup(e){return Rl(e.context),Wl(Hl),(e,t)=>(0,n.renderSlot)(e.$slots,`default`)}}),Xl={key:1},Zl=(0,n.defineComponent)({inheritAttrs:!1,__name:`SelectContent`,props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:[`closeAutoFocus`,`escapeKeyDown`,`pointerDownOutside`],setup(e,{emit:t}){let r=e,i=Co(r,t),a=Ll(),o=(0,n.ref)();(0,n.onMounted)(()=>{o.value=new DocumentFragment});let s=(0,n.ref)(),c=(0,n.computed)(()=>r.forceMount||a.open.value),l=(0,n.ref)(c.value),u;function d(){u&&(clearTimeout(u),u=void 0)}return(0,n.watch)(c,(e,t,n)=>{d(),u=setTimeout(()=>{l.value=c.value,u=void 0}),n(d)}),(0,n.onUnmounted)(d),(e,t)=>{var r;return c.value||l.value||(r=s.value)!=null&&r.present?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Mo),{key:0,ref_key:`presenceRef`,ref:s,present:c.value},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(Gl,(0,n.normalizeProps)((0,n.guardReactiveProps)({...(0,n.unref)(i),...e.$attrs})),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16)]),_:3},8,[`present`])):o.value?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Xl,[((0,n.openBlock)(),(0,n.createBlock)(n.Teleport,{to:o.value},[(0,n.createVNode)(Yl,{context:(0,n.unref)(a)},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`context`])],8,[`to`]))])):(0,n.createCommentVNode)(`v-if`,!0)}}}),[Bte,Ql]=io(`SelectGroup`),$l=(0,n.defineComponent)({__name:`SelectGroup`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,r=ko(void 0,`reka-select-group`);return Ql({id:r}),(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),(0,n.mergeProps)({role:`group`},t,{"aria-labelledby":(0,n.unref)(r)}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`aria-labelledby`]))}}),eu=(0,n.defineComponent)({__name:`SelectIcon`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{"aria-hidden":`true`,as:e.as,"as-child":e.asChild},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{},()=>[t[0]||(t[0]=(0,n.createTextVNode)(`▼`))])]),_:3},8,[`as`,`as-child`]))}}),[tu,nu]=io(`SelectItem`),ru=(0,n.defineComponent)({__name:`SelectItem`,props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`],setup(e,{emit:t}){var r;let i=e,a=t,{disabled:o}=(0,n.toRefs)(i),s=Ll(),c=Ul(),{forwardRef:l,currentElement:u}=xo(),{CollectionItem:d}=ls(),f=(0,n.computed)(()=>{var e;return Nl((e=s.modelValue)==null?void 0:e.value,i.value,s.by)}),p=(0,n.ref)(!1),m=(0,n.ref)((r=i.textValue)==null?``:r),h=ko(void 0,`reka-select-item-text`);async function g(e){e.defaultPrevented||oo(`select.select`,_,{originalEvent:e,value:i.value})}async function _(e){await(0,n.nextTick)(),a(`select`,e),!e.defaultPrevented&&(o.value||(s.onValueChange(i.value),s.multiple.value||s.onOpenChange(!1)))}async function v(e){var t,r;await(0,n.nextTick)(),!e.defaultPrevented&&(o.value?(t=c.onItemLeave)==null||t.call(c):(r=e.currentTarget)==null||r.focus({preventScroll:!0}))}async function y(e){var t;await(0,n.nextTick)(),!e.defaultPrevented&&e.currentTarget===ao()&&((t=c.onItemLeave)==null||t.call(c))}async function b(e){var t;await(0,n.nextTick)(),!e.defaultPrevented&&(((t=c.searchRef)==null?void 0:t.value)===``||e.key!==` `)&&(Ml.includes(e.key)&&g(e),e.key===` `&&e.preventDefault())}if(i.value===``)throw Error(`A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.`);return(0,n.onMounted)(()=>{u.value&&c.itemRefCallback(u.value,i.value,i.disabled)}),nu({value:i.value,disabled:o,textId:h,isSelected:f,onItemTextChange:e=>{var t;m.value=((t=m.value||(e==null?void 0:e.textContent))==null?``:t).trim()}}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(d),{value:{textValue:m.value}},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Po),{ref:(0,n.unref)(l),role:`option`,"aria-labelledby":(0,n.unref)(h),"data-highlighted":p.value?``:void 0,"aria-selected":f.value,"data-state":f.value?`checked`:`unchecked`,"aria-disabled":(0,n.unref)(o)||void 0,"data-disabled":(0,n.unref)(o)?``:void 0,tabindex:(0,n.unref)(o)?void 0:-1,as:e.as,"as-child":e.asChild,onFocus:t[0]||(t[0]=e=>p.value=!0),onBlur:t[1]||(t[1]=e=>p.value=!1),onPointerup:g,onPointerdown:t[2]||(t[2]=e=>{e.currentTarget.focus({preventScroll:!0})}),onTouchend:t[3]||(t[3]=(0,n.withModifiers)(()=>{},[`prevent`,`stop`])),onPointermove:v,onPointerleave:y,onKeydown:b},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`aria-labelledby`,`data-highlighted`,`aria-selected`,`data-state`,`aria-disabled`,`data-disabled`,`tabindex`,`as`,`as-child`])]),_:3},8,[`value`]))}}),iu=(0,n.defineComponent)({__name:`SelectItemIndicator`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let t=e,r=tu();return(e,i)=>(0,n.unref)(r).isSelected.value?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),(0,n.mergeProps)({key:0,"aria-hidden":`true`},t),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16)):(0,n.createCommentVNode)(`v-if`,!0)}}),au=(0,n.defineComponent)({inheritAttrs:!1,__name:`SelectItemText`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let t=e,r=Ll(),i=Ul(),a=tu(),{forwardRef:o,currentElement:s}=xo(),c=(0,n.computed)(()=>{var e,t,n,r;return{value:a.value,disabled:a.disabled.value,textContent:(e=(t=(n=s.value)==null?void 0:n.textContent)==null?(r=a.value)==null?void 0:r.toString():t)==null?``:e}});return(0,n.onMounted)(()=>{s.value&&(a.onItemTextChange(s.value),i.itemTextRefCallback(s.value,a.value,a.disabled.value),r.onOptionAdd(c.value))}),(0,n.onUnmounted)(()=>{r.onOptionRemove(c.value)}),(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),(0,n.mergeProps)({id:(0,n.unref)(a).textId,ref:(0,n.unref)(o)},{...t,...e.$attrs}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`id`]))}}),ou=(0,n.defineComponent)({__name:`SelectPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=e;return(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(ss),(0,n.normalizeProps)((0,n.guardReactiveProps)(t)),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),su=(0,n.defineComponent)({__name:`SelectScrollButtonImpl`,emits:[`autoScroll`],setup(e,{emit:t}){let r=t,{getItems:i}=ls(),a=Ul(),o=(0,n.ref)(null);function s(){o.value!==null&&(window.clearInterval(o.value),o.value=null)}(0,n.watchEffect)(()=>{let e=i().map(e=>e.ref).find(e=>e===ao());e==null||e.scrollIntoView({block:`nearest`})});function c(){o.value===null&&(o.value=window.setInterval(()=>{r(`autoScroll`)},50))}function l(){var e;(e=a.onItemLeave)==null||e.call(a),o.value===null&&(o.value=window.setInterval(()=>{r(`autoScroll`)},50))}return(0,n.onBeforeUnmount)(()=>s()),(e,t)=>{var r;return(0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),(0,n.mergeProps)({"aria-hidden":`true`,style:{flexShrink:0}},(r=e.$parent)==null?void 0:r.$props,{onPointerdown:c,onPointermove:l,onPointerleave:t[0]||(t[0]=()=>{s()})}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16)}}}),cu=(0,n.defineComponent)({__name:`SelectScrollDownButton`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=Ul(),r=t.position===`item-aligned`?Kl():void 0,{forwardRef:i,currentElement:a}=xo(),o=(0,n.ref)(!1);return(0,n.watchEffect)(e=>{var n,r;if((n=t.viewport)!=null&&n.value&&(r=t.isPositioned)!=null&&r.value){let n=t.viewport.value;function i(){let e=n.scrollHeight-n.clientHeight;o.value=Math.ceil(n.scrollTop)<e}i(),n.addEventListener(`scroll`,i),e(()=>n.removeEventListener(`scroll`,i))}}),(0,n.watch)(a,()=>{a.value&&(r==null||r.onScrollButtonChange(a.value))}),(e,r)=>o.value?((0,n.openBlock)(),(0,n.createBlock)(su,{key:0,ref:(0,n.unref)(i),onAutoScroll:r[0]||(r[0]=()=>{let{viewport:e,selectedItem:r}=(0,n.unref)(t);e!=null&&e.value&&r!=null&&r.value&&(e.value.scrollTop=e.value.scrollTop+r.value.offsetHeight)})},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},512)):(0,n.createCommentVNode)(`v-if`,!0)}}),lu=(0,n.defineComponent)({__name:`SelectScrollUpButton`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=Ul(),r=t.position===`item-aligned`?Kl():void 0,{forwardRef:i,currentElement:a}=xo(),o=(0,n.ref)(!1);return(0,n.watchEffect)(e=>{var n,r;if((n=t.viewport)!=null&&n.value&&(r=t.isPositioned)!=null&&r.value){let n=t.viewport.value;function i(){o.value=n.scrollTop>0}i(),n.addEventListener(`scroll`,i),e(()=>n.removeEventListener(`scroll`,i))}}),(0,n.watch)(a,()=>{a.value&&(r==null||r.onScrollButtonChange(a.value))}),(e,r)=>o.value?((0,n.openBlock)(),(0,n.createBlock)(su,{key:0,ref:(0,n.unref)(i),onAutoScroll:r[0]||(r[0]=()=>{let{viewport:e,selectedItem:r}=(0,n.unref)(t);e!=null&&e.value&&r!=null&&r.value&&(e.value.scrollTop=e.value.scrollTop-r.value.offsetHeight)})},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},512)):(0,n.createCommentVNode)(`v-if`,!0)}}),uu=(0,n.defineComponent)({__name:`SelectTrigger`,props:{disabled:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e,r=Ll(),{forwardRef:i,currentElement:a}=xo(),o=(0,n.computed)(()=>{var e;return((e=r.disabled)==null?void 0:e.value)||t.disabled});r.contentId||(r.contentId=ko(void 0,`reka-select-content`)),(0,n.onMounted)(()=>{r.onTriggerChange(a.value)});let{getItems:s}=ls(),{search:c,handleTypeaheadSearch:l,resetTypeahead:u}=Ao();function d(){o.value||(r.onOpenChange(!0),u())}function f(e){d(),r.triggerPointerDownPosRef.value={x:Math.round(e.pageX),y:Math.round(e.pageY)}}function p(e){return e.button===0&&e.ctrlKey===!1}let m=!1;function h(e){if(e.pointerType===`touch`)return e.preventDefault();let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),p(e)&&(f(e),m=!0)}function g(e){p(e)&&e.preventDefault()}function _(e){var t;m||(t=e.currentTarget)==null||t.focus(),m=!1}return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Cs),{"as-child":``,reference:e.reference},{default:(0,n.withCtx)(()=>{var a,u,p,m;return[(0,n.createVNode)((0,n.unref)(Po),{ref:(0,n.unref)(i),role:`combobox`,type:e.as===`button`?`button`:void 0,"aria-controls":(0,n.unref)(r).open.value?(0,n.unref)(r).contentId:void 0,"aria-expanded":(0,n.unref)(r).open.value||!1,"aria-required":(a=(0,n.unref)(r).required)==null?void 0:a.value,"aria-autocomplete":`none`,disabled:o.value,dir:(u=(0,n.unref)(r))==null?void 0:u.dir.value,"data-state":(p=(0,n.unref)(r))!=null&&p.open.value?`open`:`closed`,"data-disabled":o.value?``:void 0,"data-placeholder":(0,n.unref)(Fl)((m=(0,n.unref)(r).modelValue)==null?void 0:m.value)?``:void 0,"as-child":e.asChild,as:e.as,onClick:_,onPointerdown:h,onMousedown:g,onPointerup:t[0]||(t[0]=(0,n.withModifiers)(e=>{e.pointerType===`touch`&&f(e)},[`prevent`])),onKeydown:t[1]||(t[1]=e=>{let t=(0,n.unref)(c)!==``;!(e.ctrlKey||e.altKey||e.metaKey)&&e.key.length===1&&t&&e.key===` `||((0,n.unref)(l)(e.key,(0,n.unref)(s)()),(0,n.unref)(jl).includes(e.key)&&(d(),e.preventDefault()))})},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`type`,`aria-controls`,`aria-expanded`,`aria-required`,`disabled`,`dir`,`data-state`,`data-disabled`,`data-placeholder`,`as-child`,`as`])]}),_:3},8,[`reference`]))}}),du=(0,n.defineComponent)({__name:`SelectValue`,props:{placeholder:{type:String,required:!1,default:``},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let t=e,{forwardRef:r,currentElement:i}=xo(),a=Ll();(0,n.onMounted)(()=>{a.valueElement=i});let o=(0,n.computed)(()=>{var e,t;let n=[],r=Array.from(a.optionsSet.value),i=e=>r.find(t=>Nl(e,t.value,a.by));return n=Array.isArray(a.modelValue.value)?a.modelValue.value.map(e=>{var t,n;return(t=(n=i(e))==null?void 0:n.textContent)==null?``:t}):[(e=(t=i(a.modelValue.value))==null?void 0:t.textContent)==null?``:e],n.filter(Boolean)}),s=(0,n.computed)(()=>o.value.length?o.value.join(`, `):t.placeholder);return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{ref:(0,n.unref)(r),as:e.as,"as-child":e.asChild,style:{pointerEvents:`none`},"data-placeholder":o.value.length?void 0:t.placeholder},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{selectedLabel:o.value,modelValue:(0,n.unref)(a).modelValue.value},()=>[(0,n.createTextVNode)((0,n.toDisplayString)(s.value),1)])]),_:3},8,[`as`,`as-child`,`data-placeholder`]))}}),fu=(0,n.defineComponent)({__name:`SelectViewport`,props:{nonce:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,{nonce:r}=(0,n.toRefs)(t),i=vl(r),a=Ul(),o=a.position===`item-aligned`?Kl():void 0,{forwardRef:s,currentElement:c}=xo();(0,n.onMounted)(()=>{a==null||a.onViewportChange(c.value)});let l=(0,n.ref)(0);function u(e){let t=e.currentTarget,{shouldExpandOnScrollRef:n,contentWrapper:r}=o==null?{}:o;if(n!=null&&n.value&&r!=null&&r.value){let e=Math.abs(l.value-t.scrollTop);if(e>0){let n=window.innerHeight-20,i=Number.parseFloat(r.value.style.minHeight),a=Number.parseFloat(r.value.style.height),o=Math.max(i,a);if(o<n){let i=o+e,a=Math.min(n,i),s=i-a;r.value.style.height=`${a}px`,r.value.style.bottom===`0px`&&(t.scrollTop=s>0?s:0,r.value.style.justifyContent=`flex-end`)}}}l.value=t.scrollTop}return(e,r)=>((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[(0,n.createVNode)((0,n.unref)(Po),(0,n.mergeProps)({ref:(0,n.unref)(s),"data-reka-select-viewport":``,role:`presentation`},{...e.$attrs,...t},{style:{position:`relative`,flex:1,overflow:`hidden auto`},onScroll:u}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16),(0,n.createVNode)((0,n.unref)(Po),{as:`style`,nonce:(0,n.unref)(i)},{default:(0,n.withCtx)(()=>r[0]||(r[0]=[(0,n.createTextVNode)(` /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-select-viewport]::-webkit-scrollbar { display: none; } `)])),_:1,__:[0]},8,[`nonce`])],64))}}),[pu,mu]=io(`TabsRoot`),hu=(0,n.defineComponent)({__name:`TabsRoot`,props:{defaultValue:{type:null,required:!1},orientation:{type:String,required:!1,default:`horizontal`},dir:{type:String,required:!1},activationMode:{type:String,required:!1,default:`automatic`},modelValue:{type:null,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`update:modelValue`],setup(t,{emit:r}){let i=t,a=r,{orientation:o,unmountOnHide:s,dir:c}=(0,n.toRefs)(i),l=_o(c);xo();let u=e.V(i,`modelValue`,a,{defaultValue:i.defaultValue,passive:i.modelValue===void 0}),d=(0,n.ref)(),f=(0,n.shallowRef)(new Set);return mu({modelValue:u,changeModelValue:e=>{u.value=e},orientation:o,dir:l,unmountOnHide:s,activationMode:i.activationMode,baseId:ko(void 0,`reka-tabs`),tabsList:d,contentIds:f,registerContent:e=>{f.value=new Set([...f.value,e])},unregisterContent:e=>{let t=new Set(f.value);t.delete(e),f.value=t}}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{dir:(0,n.unref)(l),"data-orientation":(0,n.unref)(o),"as-child":e.asChild,as:e.as},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{modelValue:(0,n.unref)(u)})]),_:3},8,[`dir`,`data-orientation`,`as-child`,`as`]))}});function gu(e,t){return`${e}-trigger-${t}`}function _u(e,t){return`${e}-content-${t}`}var vu=(0,n.defineComponent)({__name:`TabsContent`,props:{value:{type:[String,Number],required:!0},forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,{forwardRef:r}=xo(),i=pu(),a=(0,n.computed)(()=>gu(i.baseId,t.value)),o=(0,n.computed)(()=>_u(i.baseId,t.value)),s=(0,n.computed)(()=>t.value===i.modelValue.value),c=(0,n.ref)(s.value);return(0,n.onMounted)(()=>{i.registerContent(t.value),requestAnimationFrame(()=>{c.value=!1})}),(0,n.onBeforeUnmount)(()=>{i.unregisterContent(t.value)}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Mo),{present:e.forceMount||s.value,"force-mount":``},{default:(0,n.withCtx)(({present:t})=>[(0,n.createVNode)((0,n.unref)(Po),{id:o.value,ref:(0,n.unref)(r),"as-child":e.asChild,as:e.as,role:`tabpanel`,"data-state":s.value?`active`:`inactive`,"data-orientation":(0,n.unref)(i).orientation.value,"aria-labelledby":a.value,hidden:!t,tabindex:`0`,style:(0,n.normalizeStyle)({animationDuration:c.value?`0s`:void 0})},{default:(0,n.withCtx)(()=>[!(0,n.unref)(i).unmountOnHide.value||t?(0,n.renderSlot)(e.$slots,`default`,{key:0}):(0,n.createCommentVNode)(`v-if`,!0)]),_:2},1032,[`id`,`as-child`,`as`,`data-state`,`data-orientation`,`aria-labelledby`,`hidden`,`style`])]),_:3},8,[`present`]))}}),yu=(0,n.defineComponent)({__name:`TabsIndicator`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t,{expose:r}){let i=t,a=pu();r({updateIndicatorStyle:l}),xo();let o=e.R(),s=(0,n.ref)({size:null,thickness:null,position:null}),c=(0,n.ref)([]);(0,n.watch)(()=>[a.modelValue.value,a==null?void 0:a.dir.value],()=>{l()},{immediate:!0,flush:`post`}),(0,n.watchPostEffect)(()=>{var e;c.value=Array.from(((e=a.tabsList.value)==null?void 0:e.querySelectorAll(`[role="tab"]`))||[])}),e.z((0,n.computed)(()=>[a.tabsList.value,...c.value]),l);function l(){var e;let t=(e=a.tabsList.value)==null?void 0:e.querySelector(`[role="tab"][data-state="active"]`);t&&(a.orientation.value===`horizontal`?s.value={size:t.offsetWidth,thickness:t.offsetHeight,position:t.offsetLeft}:s.value={size:t.offsetHeight,thickness:t.offsetWidth,position:t.offsetTop})}return(e,t)=>(0,n.unref)(o)&&typeof s.value.size==`number`?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),(0,n.mergeProps)({key:0},i,{style:{"--reka-tabs-indicator-size":`${s.value.size}px`,"--reka-tabs-indicator-thickness":`${s.value.thickness}px`,"--reka-tabs-indicator-position":`${s.value.position}px`}}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`style`])):(0,n.createCommentVNode)(`v-if`,!0)}}),bu=(0,n.defineComponent)({__name:`TabsList`,props:{loop:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let{loop:t}=(0,n.toRefs)(e),{forwardRef:r,currentElement:i}=xo(),a=pu();return a.tabsList=i,(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(xl),{"as-child":``,orientation:(0,n.unref)(a).orientation.value,dir:(0,n.unref)(a).dir.value,loop:(0,n.unref)(t)},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Po),{ref:(0,n.unref)(r),role:`tablist`,"as-child":e.asChild,as:e.as,"aria-orientation":(0,n.unref)(a).orientation.value},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`as-child`,`as`,`aria-orientation`])]),_:3},8,[`orientation`,`dir`,`loop`]))}}),xu=(0,n.defineComponent)({__name:`TabsTrigger`,props:{value:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e,{forwardRef:r}=xo(),i=pu(),a=(0,n.computed)(()=>gu(i.baseId,t.value)),o=(0,n.computed)(()=>i.contentIds.value.has(t.value)?_u(i.baseId,t.value):void 0),s=(0,n.computed)(()=>t.value===i.modelValue.value);return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Sl),{"as-child":``,focusable:!e.disabled,active:s.value},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Po),{id:a.value,ref:(0,n.unref)(r),role:`tab`,type:e.as===`button`?`button`:void 0,as:e.as,"as-child":e.asChild,"aria-selected":s.value?`true`:`false`,"aria-controls":o.value,"data-state":s.value?`active`:`inactive`,disabled:e.disabled,"data-disabled":e.disabled?``:void 0,"data-orientation":(0,n.unref)(i).orientation.value,onMousedown:t[0]||(t[0]=(0,n.withModifiers)(t=>{!e.disabled&&t.ctrlKey===!1?(0,n.unref)(i).changeModelValue(e.value):t.preventDefault()},[`left`])),onKeydown:t[1]||(t[1]=(0,n.withKeys)(t=>(0,n.unref)(i).changeModelValue(e.value),[`enter`,`space`])),onFocus:t[2]||(t[2]=()=>{let t=(0,n.unref)(i).activationMode!==`manual`;!s.value&&!e.disabled&&t&&(0,n.unref)(i).changeModelValue(e.value)})},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`id`,`type`,`as`,`as-child`,`aria-selected`,`aria-controls`,`data-state`,`disabled`,`data-disabled`,`data-orientation`])]),_:3},8,[`focusable`,`active`]))}}),[Su,Cu]=io(`TooltipProvider`),wu=(0,n.defineComponent)({inheritAttrs:!1,__name:`TooltipProvider`,props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1},content:{type:Object,required:!1}},setup(t){let{delayDuration:r,skipDelayDuration:i,disableHoverableContent:a,disableClosingTrigger:o,ignoreNonKeyboardFocus:s,disabled:c,content:l}=(0,n.toRefs)(t);xo();let u=(0,n.ref)(!0),d=(0,n.ref)(!1),{start:f,stop:p}=e.X(()=>{u.value=!0},i,{immediate:!1});return Cu({isOpenDelayed:u,delayDuration:r,onOpen(){p(),u.value=!1},onClose(){f()},isPointerInTransitRef:d,disableHoverableContent:a,disableClosingTrigger:o,disabled:c,ignoreNonKeyboardFocus:s,content:l}),(e,t)=>(0,n.renderSlot)(e.$slots,`default`)}}),Tu=`tooltip.open`,[Eu,Du]=io(`TooltipRoot`),Ou=(0,n.defineComponent)({__name:`TooltipRoot`,props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},delayDuration:{type:Number,required:!1,default:void 0},disableHoverableContent:{type:Boolean,required:!1,default:void 0},disableClosingTrigger:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:void 0}},emits:[`update:open`],setup(t,{emit:r}){let i=t,a=r;xo();let o=Su(),s=(0,n.computed)(()=>{var e;return(e=i.disableHoverableContent)==null?o.disableHoverableContent.value:e}),c=(0,n.computed)(()=>{var e;return(e=i.disableClosingTrigger)==null?o.disableClosingTrigger.value:e}),l=(0,n.computed)(()=>{var e;return(e=i.disabled)==null?o.disabled.value:e}),u=(0,n.computed)(()=>{var e;return(e=i.delayDuration)==null?o.delayDuration.value:e}),d=(0,n.computed)(()=>{var e;return(e=i.ignoreNonKeyboardFocus)==null?o.ignoreNonKeyboardFocus.value:e}),f=e.V(i,`open`,a,{defaultValue:i.defaultOpen,passive:i.open===void 0});(0,n.watch)(f,e=>{o.onClose&&(e?(o.onOpen(),document.dispatchEvent(new CustomEvent(Tu))):o.onClose())});let p=(0,n.ref)(!1),m=(0,n.ref)(),h=(0,n.computed)(()=>f.value?p.value?`delayed-open`:`instant-open`:`closed`),{start:g,stop:_}=e.X(()=>{p.value=!0,f.value=!0},u,{immediate:!1});function v(){_(),p.value=!1,f.value=!0}function y(){_(),f.value=!1}function b(){g()}return Du({contentId:``,open:f,stateAttribute:h,trigger:m,onTriggerChange(e){m.value=e},onTriggerEnter(){o.isOpenDelayed.value?b():v()},onTriggerLeave(){s.value?y():_()},onOpen:v,onClose:y,disableHoverableContent:s,disableClosingTrigger:c,disabled:l,ignoreNonKeyboardFocus:d}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ss),null,{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{open:(0,n.unref)(f)})]),_:3}))}}),ku=(0,n.defineComponent)({__name:`TooltipContentImpl`,props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1,default:void 0},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1,default:void 0},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1,default:void 0},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`],setup(t,{emit:r}){let i=t,a=r,o=Eu(),s=Su(),{forwardRef:c,currentElement:l}=xo(),u=(0,n.computed)(()=>{var e;return i.ariaLabel||((e=l.value)==null?void 0:e.textContent)}),d=(0,n.computed)(()=>{var e;let{ariaLabel:t,...n}=i;return ho(n,(e=s.content.value)==null?{}:e,{side:`top`,sideOffset:0,align:`center`,avoidCollisions:!0,collisionBoundary:[],collisionPadding:0,arrowPadding:0,sticky:`partial`,hideWhenDetached:!1})});return(0,n.onMounted)(()=>{e.L(window,`scroll`,e=>{let t=e.target;t!=null&&t.contains(o.trigger.value)&&o.onClose()},{capture:!0}),e.L(document,Tu,o.onClose)}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Wo),{"as-child":``,"disable-outside-pointer-events":!1,onEscapeKeyDown:t[0]||(t[0]=e=>a(`escapeKeyDown`,e)),onPointerDownOutside:t[1]||(t[1]=e=>{var t;(0,n.unref)(o).disableClosingTrigger.value&&(t=(0,n.unref)(o).trigger.value)!=null&&t.contains(e.target)&&e.preventDefault(),a(`pointerDownOutside`,e)}),onFocusOutside:t[2]||(t[2]=(0,n.withModifiers)(()=>{},[`prevent`])),onDismiss:t[3]||(t[3]=e=>(0,n.unref)(o).onClose())},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(_l),(0,n.mergeProps)({ref:(0,n.unref)(c),"data-state":(0,n.unref)(o).stateAttribute.value},{...e.$attrs,...d.value},{style:{"--reka-tooltip-content-transform-origin":`var(--reka-popper-transform-origin)`,"--reka-tooltip-content-available-width":`var(--reka-popper-available-width)`,"--reka-tooltip-content-available-height":`var(--reka-popper-available-height)`,"--reka-tooltip-trigger-width":`var(--reka-popper-anchor-width)`,"--reka-tooltip-trigger-height":`var(--reka-popper-anchor-height)`}}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`),(0,n.createVNode)((0,n.unref)(us),{id:(0,n.unref)(o).contentId,role:`tooltip`},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(u.value),1)]),_:1},8,[`id`])]),_:3},16,[`data-state`])]),_:3}))}}),Au=(0,n.defineComponent)({__name:`TooltipContentHoverable`,props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},setup(e){let t=So(e),{forwardRef:r,currentElement:i}=xo(),{trigger:a,onClose:o}=Eu(),s=Su(),{isPointerInTransit:c,onPointerExit:l}=Jee(a,i);return s.isPointerInTransitRef=c,l(()=>{o()}),(e,i)=>((0,n.openBlock)(),(0,n.createBlock)(ku,(0,n.mergeProps)({ref:(0,n.unref)(r)},(0,n.unref)(t)),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),ju=(0,n.defineComponent)({__name:`TooltipContent`,props:{forceMount:{type:Boolean,required:!1},ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`],setup(e,{emit:t}){let r=e,i=t,a=Eu(),o=Co(r,i),{forwardRef:s}=xo();return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Mo),{present:e.forceMount||(0,n.unref)(a).open.value},{default:(0,n.withCtx)(()=>[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)((0,n.unref)(a).disableHoverableContent.value?ku:Au),(0,n.mergeProps)({ref:(0,n.unref)(s)},(0,n.unref)(o)),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))]),_:3},8,[`present`]))}}),Mu=(0,n.defineComponent)({__name:`TooltipPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=e;return(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(ss),(0,n.normalizeProps)((0,n.guardReactiveProps)(t)),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),Nu=(0,n.defineComponent)({__name:`TooltipTrigger`,props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e,r=Eu(),i=Su();r.contentId||(r.contentId=ko(void 0,`reka-tooltip-content`));let{forwardRef:a,currentElement:o}=xo(),s=(0,n.ref)(!1),c=(0,n.ref)(!1),l=(0,n.computed)(()=>r.disabled.value?{}:{click:g,focus:m,pointermove:f,pointerleave:p,pointerdown:d,blur:h});(0,n.onMounted)(()=>{r.onTriggerChange(o.value)});function u(){setTimeout(()=>{s.value=!1},1)}function d(){r.open&&!r.disableClosingTrigger.value&&r.onClose(),s.value=!0,document.addEventListener(`pointerup`,u,{once:!0})}function f(e){e.pointerType!==`touch`&&!c.value&&!i.isPointerInTransitRef.value&&(r.onTriggerEnter(),c.value=!0)}function p(){r.onTriggerLeave(),c.value=!1}function m(e){var t,n;s.value||r.ignoreNonKeyboardFocus.value&&!((t=(n=e.target).matches)!=null&&t.call(n,`:focus-visible`))||r.onOpen()}function h(){r.onClose()}function g(){r.disableClosingTrigger.value||r.onClose()}return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Cs),{"as-child":``,reference:e.reference},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Po),(0,n.mergeProps)({ref:(0,n.unref)(a),"aria-describedby":(0,n.unref)(r).open.value?(0,n.unref)(r).contentId:void 0,"data-state":(0,n.unref)(r).stateAttribute.value,as:e.as,"as-child":t.asChild,"data-grace-area-trigger":``},(0,n.toHandlers)(l.value)),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`aria-describedby`,`data-state`,`as`,`as-child`])]),_:3},8,[`reference`]))}}),Pu=(0,n.defineComponent)({__name:`Select`,props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},nullableValue:{},by:{type:[String,Function]},dir:{},multiple:{type:Boolean},autocomplete:{},disabled:{type:Boolean},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`update:open`],setup(e,{emit:t}){let r=Co(e,t);return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(zl),(0,n.normalizeProps)((0,n.guardReactiveProps)((0,n.unref)(r))),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),Fu=(0,n.defineComponent)({inheritAttrs:!1,__name:`SelectContent`,props:{forceMount:{type:Boolean},position:{default:`popper`},bodyLock:{type:Boolean,default:!1},memoDependencies:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},dir:{},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{type:[Boolean,null,String,Object,Array]}},emits:[`closeAutoFocus`,`escapeKeyDown`,`pointerDownOutside`],setup(e,{emit:t}){let r=e,i=t,a=Co((0,n.computed)(()=>{let{class:e,...t}=r;return t}),i);return(t,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(ou),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Zl),(0,n.mergeProps)({...(0,n.unref)(a),...t.$attrs},{class:(0,n.unref)(qt)(`relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2`,e.position===`popper`&&`data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1`,r.class)}),{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Kte)),(0,n.createVNode)((0,n.unref)(fu),{class:(0,n.normalizeClass)((0,n.unref)(qt)(`p-1`,e.position===`popper`&&`h-(--reka-select-trigger-height) w-full min-w-(--reka-select-trigger-width)`))},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(t.$slots,`default`)]),_:3},8,[`class`]),(0,n.createVNode)((0,n.unref)(Gte))]),_:3},16,[`class`])]),_:3}))}}),Iu=(0,n.defineComponent)({__name:`SelectGroup`,props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e,r=(0,n.computed)(()=>{let{class:e,...n}=t;return n});return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)($l),(0,n.mergeProps)({class:(0,n.unref)(qt)(`p-1 w-full`,t.class)},r.value),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`class`]))}}),Lu=e=>e===``,Ru=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),zu=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),Bu=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),Vu=e=>{let t=Bu(e);return t.charAt(0).toUpperCase()+t.slice(1)},Hu={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`},Uu=Symbol(`lucide-icons`);function Wu(){return(0,n.inject)(Uu,{})}var Gu=({name:e,iconNode:t,"icon-node":r,absoluteStrokeWidth:i,"absolute-stroke-width":a,strokeWidth:o,"stroke-width":s,size:c,color:l,...u},{slots:d})=>{var f,p,m,h;let{size:g,color:_,strokeWidth:v=2,absoluteStrokeWidth:y=!1,class:b=``}=Wu(),x=(0,n.computed)(()=>{let e=Lu(i)||Lu(a)||i===!0||a===!0||y===!0,t=o||s||v||Hu[`stroke-width`];if(e){var n;return Number(t)*24/Number((n=c==null?g:c)==null?Hu.width:n)}return t});return(0,n.h)(`svg`,{...Hu,...u,width:(f=c==null?g:c)==null?Hu.width:f,height:(p=c==null?g:c)==null?Hu.height:p,stroke:(m=l==null?_:l)==null?Hu.stroke:m,"stroke-width":x.value,class:Ru(`lucide`,b,...e?[`lucide-${zu(Vu(e))}-icon`,`lucide-${zu(e)}`]:[`lucide-icon`])},[...((h=t==null?r:t)==null?[]:h).map(e=>(0,n.h)(...e)),...d.default?[d.default()]:[]])},Ku=(e,t)=>(r,{slots:i,attrs:a})=>(0,n.h)(Gu,{...a,...r,iconNode:t,name:e},i.default?{default:i.default}:void 0),qu=Ku(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),Ju=Ku(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),Yu=Ku(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),Xu=Ku(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),Vte=Ku(`maximize-2`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]),Hte=Ku(`minimize-2`,[[`path`,{d:`m14 10 7-7`,key:`oa77jy`}],[`path`,{d:`M20 10h-6V4`,key:`mjg0md`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M4 14h6v6`,key:`rmj7iw`}]]),Ute=Ku(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),Wte={class:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`},Zu=(0,n.defineComponent)({__name:`SelectItem`,props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e,r=So((0,n.computed)(()=>{let{class:e,...n}=t;return n}));return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(ru),(0,n.mergeProps)((0,n.unref)(r),{class:(0,n.unref)(qt)(`relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,t.class)}),{default:(0,n.withCtx)(()=>[(0,n.createElementVNode)(`span`,Wte,[(0,n.createVNode)((0,n.unref)(iu),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(qu),{class:`h-4 w-4`})]),_:1})]),(0,n.createVNode)((0,n.unref)(au),null,{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3})]),_:3},16,[`class`]))}}),Gte=(0,n.defineComponent)({__name:`SelectScrollDownButton`,props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e,r=So((0,n.computed)(()=>{let{class:e,...n}=t;return n}));return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(cu),(0,n.mergeProps)((0,n.unref)(r),{class:(0,n.unref)(qt)(`flex cursor-default items-center justify-center py-1`,t.class)}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{},()=>[(0,n.createVNode)((0,n.unref)(Ju),{class:`h-4 w-4`})])]),_:3},16,[`class`]))}}),Kte=(0,n.defineComponent)({__name:`SelectScrollUpButton`,props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e,r=So((0,n.computed)(()=>{let{class:e,...n}=t;return n}));return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(lu),(0,n.mergeProps)((0,n.unref)(r),{class:(0,n.unref)(qt)(`flex cursor-default items-center justify-center py-1`,t.class)}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{},()=>[(0,n.createVNode)((0,n.unref)(Xu),{class:`h-4 w-4`})])]),_:3},16,[`class`]))}}),Qu=(0,n.defineComponent)({__name:`SelectTrigger`,props:{disabled:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e,r=So((0,n.computed)(()=>{let{class:e,...n}=t;return n}));return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(uu),(0,n.mergeProps)((0,n.unref)(r),{class:(0,n.unref)(qt)(`flex h-10 w-full items-center justify-between rounded-md border border-input bg-muted px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1`,t.class)}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`),(0,n.createVNode)((0,n.unref)(eu),{"as-child":``},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Ju),{class:`w-4 h-4 opacity-50`})]),_:1})]),_:3},16,[`class`]))}}),$u=(0,n.defineComponent)({__name:`SelectValue`,props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(e){let t=e;return(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(du),(0,n.normalizeProps)((0,n.guardReactiveProps)(t)),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),qte={class:`self-center`},ed={__name:`OALocaleSelect`,setup(n){let r=e.b(),i=r.getI18nConfig(),a=(0,t.computed)(()=>{var e,t;return(e=(t=i.locale)==null?void 0:t.value)==null?`en`:e});function o(e){r.setI18nConfig({locale:e})}return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,qte,[(0,t.createVNode)((0,t.unref)(Pu),{"default-value":a.value,value:(0,t.unref)(i).locale.value,"onUpdate:modelValue":o},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(Qu),{"aria-label":`Select language`},{default:(0,t.withCtx)(()=>[...n[0]||(n[0]=[(0,t.createElementVNode)(`span`,{class:`vpi-languages option-icon`},null,-1)])]),_:1}),(0,t.createVNode)((0,t.unref)(Fu),null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(Iu),null,{default:(0,t.withCtx)(()=>[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(i).availableLocales,e=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Zu),{key:e.code,value:e.code},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.label),1)]),_:2},1032,[`value`]))),128))]),_:1})]),_:1})]),_:1},8,[`default-value`,`value`])]))}},Jte={class:`flex flex-wrap gap-2`},Yte=[`href`,`aria-label`],td=(0,n.defineComponent)({__name:`OAOperationTags`,props:{tags:{}},setup(t){let r=t,i=e.b(),{t:a}=l(),o=i.getTagsLinkPrefix();return(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Jte,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(r.tags,(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(`a`,{key:t,href:`${(0,n.unref)(o)}${e}`,"aria-label":(0,n.unref)(a)(`tags.goTo`,{tag:e})},[(0,n.createVNode)((0,n.unref)(Zt),{variant:`outline`},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e),1)]),_:2},1024)],8,Yte))),128))]))}}),Xte=/\d/,Zte=[`-`,`_`,`/`,`.`];function Qte(e=``){if(!Xte.test(e))return e!==e.toLowerCase()}function $te(e,t){let n=t==null?Zte:t,r=[];if(!e||typeof e!=`string`)return r;let i=``,a,o;for(let t of e){let e=n.includes(t);if(e===!0){r.push(i),i=``,a=void 0;continue}let s=Qte(t);if(o===!1){if(a===!1&&s===!0){r.push(i),i=t,a=s;continue}if(a===!0&&s===!1&&i.length>1){let e=i.at(-1);r.push(i.slice(0,Math.max(0,i.length-1))),i=e+t,a=s;continue}}i+=t,a=s,o=e}return r.push(i),r}function ene(e){return e?e[0].toUpperCase()+e.slice(1):``}var tne=/^(a|an|and|as|at|but|by|for|if|in|is|nor|of|on|or|the|to|with)$/i;function nd(e,t){return(Array.isArray(e)?e:$te(e)).filter(Boolean).map(e=>tne.test(e)?e.toLowerCase():ene(t!=null&&t.normalize?e.toLowerCase():e)).join(` `)}var rd=Symbol(`operationData`);function nne({operation:t,request:r,selectedServer:i,defaultRequestContentType:a}){var o,s;let c=((o=t.securityUi)==null||(o=o[0])==null?void 0:o.id)||``,l=e.b(),u=l.getSecurityDefaultScheme()||c,d=l.getStoragePrefix();return{operationId:t.operationId,security:{selectedSchemeId:(0,n.ref)((s=t.securityUi)!=null&&s.some(e=>e.id===u)?u:c),securityValues:(0,n.ref)({})},playground:{request:(0,n.ref)(r||{}),selectedServer:Jt()?e.B(`${d}-operation-${t.operationId}-selectedServer`,i,localStorage,{mergeDefaults:!0}):(0,n.ref)(i),parameterValues:(0,n.ref)({})},requestBody:{selectedContentType:(0,n.ref)(a)}}}var rne=/^application\/octet-stream/i,ine=/^\s*(?:attachment|download)(?:;|$)/i;function id(e,t=``){return rne.test(e)||ine.test(t)}function ane(t,n){if(t!=null){if(t instanceof FormData||t instanceof Blob||t instanceof URLSearchParams||typeof t==`string`)return t;if(n&&e.O(n)&&typeof t==`object`){let e=new URLSearchParams;for(let[n,r]of Object.entries(t))r!=null&&(Array.isArray(r)?r.forEach(t=>e.append(n,String(t))):e.append(n,String(r)));return e.toString()}return JSON.stringify(t)}}var one=/json/i,sne=/xml/i,cne=/html/i,lne=/text\/plain/i,une=/^image\//i,dne=/^audio\//i,ad={"http-basic":`Basic Auth`,"http-bearer":`Token`,apiKey:null,openIdConnect:`OpenID Connect`,oauth2:`OAuth2 Token`};function od(){let e=(0,n.ref)(!1),t=(0,n.ref)(null),r=(0,n.ref)([]),i=(0,n.inject)(rd);function a(e){ad={...ad,...e}}function o(e){if(e.type===`http`){let t=e.scheme===`basic`?`http-basic`:`http-bearer`;return ad[t]}let t=e.type;if(Object.keys(ad).includes(t)&&ad[t]!==null){var n;return(n=ad[t])==null?``:n}return e.type===`apiKey`&&e.name?e.name:``}async function s({request:n,method:i,baseUrl:a,path:o,operationId:s}){if(!n)return null;t.value=null;let l=`${a}${o}`,u={body:null,type:``,time:null,status:null};c(s);let d=performance.now(),f=new AbortController,p=setTimeout(()=>f.abort(),3e4);try{var m,h,g,_;u.time=null,u.body=`{}`,e.value=!0;let t=new URL((m=n.url)==null?l:m);for(let[e,r]of Object.entries(n.query))Array.isArray(r)?r.forEach(n=>t.searchParams.append(e,String(n))):t.searchParams.set(e,String(r));let a=await fetch(t.toString(),{method:i.toUpperCase(),headers:n.body instanceof FormData||(h=n.headers)==null?{}:h,body:ane(n.body,(g=n.contentType)==null?(_=n.headers)==null?void 0:_[`content-type`]:g),signal:f.signal}),o=a.headers.get(`Content-Type`)||`text/plain`,s=a.headers.get(`Content-Disposition`)||``;u.type=o;try{u.headers=Object.fromEntries(a.headers.entries())}catch{let e={};o&&(e[`content-type`]=o),s&&(e[`content-disposition`]=s),u.headers=e}if(one.test(o))u.body=await a.json();else if(sne.test(o)||cne.test(o)||lne.test(o))u.body=await a.text();else if(une.test(o)){let e=await a.blob();u.body=URL.createObjectURL(e),r.value.push(u.body)}else u.body=dne.test(o)||id(o,s)?await a.blob():await a.text();u.status=a.status}catch(e){u.body=e==null?void 0:e.message,u.type=`text/plain`,u.status=500}finally{clearTimeout(p),e.value=!1,u.time=(performance.now()-d).toFixed(2),t.value=u}return u}function c(e){try{window.gtag(`event`,`try_it`,{event_category:`api`,event_label:e})}catch{}}function l(){r.value.forEach(URL.revokeObjectURL),r.value=[]}function u(e,t){if(!i||!e)return;let n=typeof t==`object`&&t?JSON.parse(JSON.stringify(t)):t;i.playground.parameterValues.value[e]=n}function d(e,t){!i||!e||(i.security.securityValues.value={...i.security.securityValues.value,[e]:t})}return{loading:e,response:t,imageUrls:r,setSecuritySchemeDefaultValues:a,getSecuritySchemeDefaultValue:o,submitRequest:s,cleanupImageUrls:l,setParameterValue:u,setSecurityValue:d,hasOperationData:!!i}}function fne(e){let t=e.trim();if(!(t.startsWith(`{`)&&t.endsWith(`}`)||t.startsWith(`[`)&&t.endsWith(`]`)))return!1;try{let e=JSON.parse(t);return typeof e==`object`&&!!e}catch{return!1}}function sd(e,t=0){try{let n=JSON.stringify(e,null,t);return n==null?String(e):n}catch{return String(e)}}function cd(e,t){return fne(e)?e:t.quoteNormalStrings?JSON.stringify(e):String(e)}function ld(e,t={space:2}){var n;if(e===void 0)return``;if(e===null)return`null`;if(typeof e==`object`){var r;return sd(e,(r=t==null?void 0:t.space)==null?0:r)}return typeof e==`string`?cd(e,{quoteNormalStrings:!0}):sd(e,(n=t==null?void 0:t.space)==null?0:n)}function ud(e,t={space:0}){if(e==null)return``;if(typeof e==`object`){var n;return sd(e,(n=t==null?void 0:t.space)==null?0:n)}return typeof e==`string`?cd(e,{quoteNormalStrings:!1}):String(e)}var pne=[`role`,`title`],mne=[`role`,`title`],dd={__name:`OACodeValue`,props:{value:{type:[String,Number,Boolean,Array,Object],required:!0},isEnum:{type:Boolean,default:!1},onSet:{type:Function,default:void 0}},setup(e){let n=e,{t:r}=l();function i(){if(!n.onSet)return;let e=n.isEnum?String(n.value):n.value;n.onSet(e)}let a=(0,t.computed)(()=>!!n.onSet);return(n,o)=>Array.isArray(e.value)?((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,{key:0},(0,t.renderList)(e.value,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`code`,{key:n,class:(0,t.normalizeClass)([`text-xs! text-wrap break-all`,{"cursor-pointer hover:opacity-80":a.value}]),role:a.value?`button`:void 0,title:a.value?(0,t.unref)(r)(`Click to set in playground`):void 0,onClick:o[0]||(o[0]=e=>a.value?i():void 0)},(0,t.toDisplayString)((0,t.unref)(ld)(e)),11,pne))),128)):((0,t.openBlock)(),(0,t.createElementBlock)(`code`,{key:1,class:(0,t.normalizeClass)([`text-xs! break-all`,{"text-wrap":!e.value||typeof e.value!=`object`,"whitespace-pre-wrap":e.value&&typeof e.value==`object`,"cursor-pointer hover:opacity-80":a.value}]),role:a.value?`button`:void 0,title:a.value?(0,t.unref)(r)(`Click to set in playground`):void 0,onClick:o[1]||(o[1]=e=>a.value?i():void 0)},(0,t.toDisplayString)((0,t.unref)(ld)(e.value)),11,mne))}},hne={class:`flex flex-row gap-2 text-sm`},gne={class:`flex justify-between items-start gap-2 flex-1`},_ne={key:1,class:`text-muted-foreground`},fd=(0,n.defineComponent)({__name:`OAParameterAttribute`,props:{name:{type:String,required:!0},boldName:{type:Boolean,default:!1},value:{type:[String,Number,Boolean,Object,Array],required:!1}},setup(e){let t=e,r=(0,n.useSlots)();function i(e){return r[e]!==void 0}return(e,r)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,hne,[(0,n.createElementVNode)(`span`,{class:(0,n.normalizeClass)({"font-bold":t.boldName})},(0,n.toDisplayString)(t.name),3),(0,n.createElementVNode)(`div`,gne,[(0,n.createElementVNode)(`div`,null,[i(`value`)?(0,n.renderSlot)(e.$slots,`value`,{},void 0,void 0,0):((0,n.openBlock)(),(0,n.createElementBlock)(`span`,_ne,(0,n.toDisplayString)(t.value),1))]),i(`end`)?(0,n.renderSlot)(e.$slots,`end`,{},void 0,void 0,0):(0,n.createCommentVNode)(``,!0)])]))}});function pd(e){let t=typeof e.value==`object`?JSON.stringify(e.value):String(e.value);return e.name!==t}function md(e){return!e||e.length===0?!1:e.some(pd)}var hd=new Set([`value`,`externalValue`,`$ref`]);function gd(e){if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=e,n=Object.keys(t);if(n.length===0)return!1;for(let e of n){let n=t[e];if(n&&typeof n==`object`&&!Array.isArray(n)&&Object.keys(n).some(e=>hd.has(e)))return!0}return!1}function _d(e){if(e==null)return null;if(Array.isArray(e))return e.map(e=>({name:typeof e==`object`?JSON.stringify(e):String(e),value:e}));if(e&&typeof e==`object`){let t=e;return gd(t)?Object.keys(t).map(e=>{let n=t[e],r=n,i;return n&&typeof n==`object`&&(i=n.summary,r=`value`in n?n.value:`$ref`in n?{$ref:n.$ref}:`externalValue`in n?n.externalValue:null),{name:e,value:r,summary:i}}):[{name:JSON.stringify(e),value:e}]}return[{name:String(e),value:e}]}var vd={key:0,class:`flex flex-row items-center gap-2`},yd={class:`text-sm`},bd={key:1,class:`flex flex-row items-center gap-2`},xd=(0,n.defineComponent)({__name:`OAParameterExamples`,props:{property:{type:Object,required:!0},securitySchemeName:{type:String,default:void 0}},setup(t){let r=t,i=(0,n.computed)(()=>_d(e.s(r.property))),a=(0,n.computed)(()=>md(i.value)),o=(0,n.ref)(`0`),s=(0,n.computed)(()=>{var e;if(!i.value)return null;let t=Number.parseInt(o.value,10);return(e=i.value[t])==null?null:e}),{setParameterValue:c,setSecurityValue:u,hasOperationData:d}=od(),f=(0,n.computed)(()=>{if(d){if(r.securitySchemeName){let e=r.securitySchemeName;return t=>u(e,t)}if(r.property.name)return e=>c(r.property.name,e)}});(0,n.watch)(o,()=>{var e;!d||!s.value||(e=f.value)==null||e.call(f,s.value.value)}),(0,n.watch)(i,()=>{o.value=`0`});function p(e){return e.summary?`${e.name} - ${e.summary}`:e.name}let m=e.b().getWrapExamples(),{t:h}=l();return(e,t)=>{var r,c,l,u,d,g;return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[((r=i.value)==null?void 0:r.length)===1?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,vd,[(0,n.createElementVNode)(`span`,yd,(0,n.toDisplayString)((0,n.unref)(h)(`Example`)),1),(0,n.createVNode)(dd,{value:(c=i.value[0])==null?void 0:c.value,"on-set":f.value},null,8,[`value`,`on-set`])])):(0,n.createCommentVNode)(``,!0),((l=(u=i.value)==null?void 0:u.length)==null?0:l)>1&&a.value?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,bd,[(0,n.createVNode)(fd,{name:(0,n.unref)(h)(`Examples`),class:`flex-1`},{value:(0,n.withCtx)(()=>[s.value?((0,n.openBlock)(),(0,n.createBlock)(dd,{key:0,value:s.value.value,"on-set":f.value},null,8,[`value`,`on-set`])):(0,n.createCommentVNode)(``,!0)]),end:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Pu),{modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e)},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Qu),{"aria-label":(0,n.unref)(h)(`Select an example`),class:`h-6 max-w-28 bg-(--vp-code-bg)`},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)($u),{placeholder:(0,n.unref)(h)(`Select an example`),class:`truncate`},{default:(0,n.withCtx)(()=>{var e;return[(0,n.createTextVNode)((0,n.toDisplayString)((e=s.value)==null?void 0:e.name),1)]}),_:1},8,[`placeholder`])]),_:1},8,[`aria-label`]),(0,n.createVNode)((0,n.unref)(Fu),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Iu),null,{default:(0,n.withCtx)(()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(i.value,(e,t)=>{var r;return(0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Zu),{key:(r=e.name)==null?t:r,value:String(t)},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(p(e)),1)]),_:2},1032,[`value`])}),128))]),_:1})]),_:1})]),_:1},8,[`modelValue`])]),_:1},8,[`name`])])):(0,n.createCommentVNode)(``,!0),((d=(g=i.value)==null?void 0:g.length)==null?0:d)>1&&!a.value?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:2,class:(0,n.normalizeClass)([`flex flex-row flex-wrap gap-2`,{"items-center":(0,n.unref)(m)}])},[(0,n.createVNode)(fd,{name:(0,n.unref)(h)(`Examples`)},{value:(0,n.withCtx)(()=>[(0,n.createElementVNode)(`div`,{class:(0,n.normalizeClass)([`flex gap-2`,{"flex-col":!(0,n.unref)(m),"flex-row flex-wrap":(0,n.unref)(m)}])},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(i.value,(e,t)=>((0,n.openBlock)(),(0,n.createBlock)(dd,{key:t,value:e.value,"on-set":f.value},null,8,[`value`,`on-set`]))),128))],2)]),_:1},8,[`name`])],2)):(0,n.createCommentVNode)(``,!0)],64)}}}),Sd={class:`flex flex-col p-3 gap-2 rounded bg-muted`},Cd={class:`flex flex-col gap-2`},wd={class:`flex flex-row items-center gap-2`},Td={class:`text-sm font-bold`},Ed={key:0,class:`text-sm text-destructive`},Dd={key:0,class:`flex flex-col gap-2`},Od={class:`flex flex-row gap-2`},kd={key:1,class:`text-sm text-destructive`},Ad={class:`flex flex-wrap gap-2`},jd={__name:`OAParameter`,props:{parameter:{type:Object,required:!0}},setup(n){let r=n,i=e.o(r.parameter.schema),{t:a}=l(),{setParameterValue:o,hasOperationData:s}=od();return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Sd,[(0,t.createElementVNode)(`div`,Cd,[(0,t.createElementVNode)(`div`,wd,[(0,t.createElementVNode)(`span`,Td,(0,t.toDisplayString)(r.parameter.name),1),r.parameter.required?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Ed,`*`)):(0,t.createCommentVNode)(``,!0)]),r.parameter.description?((0,t.openBlock)(),(0,t.createBlock)(Pn,{key:0,content:r.parameter.description,class:`text-sm`},null,8,[`content`])):(0,t.createCommentVNode)(``,!0)]),r.parameter.schema?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Dd,[(0,t.createElementVNode)(`div`,Od,[r.parameter.schema.type?((0,t.openBlock)(),(0,t.createBlock)(fd,{key:0,name:(0,t.unref)(a)(`Type`),value:r.parameter.schema.type,"bold-name":``},null,8,[`name`,`value`])):(0,t.createCommentVNode)(``,!0),r.parameter.required?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,kd,(0,t.toDisplayString)((0,t.unref)(a)(`Required`)),1)):(0,t.createCommentVNode)(``,!0)]),r.parameter.schema.enum?((0,t.openBlock)(),(0,t.createBlock)(fd,{key:0,name:(0,t.unref)(a)(`Valid values`),value:r.parameter.schema.enum.join(`, `)},{value:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,Ad,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(r.parameter.schema.enum,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(dd,{key:n,value:e,"is-enum":!0,"on-set":(0,t.unref)(s)&&r.parameter.name?e=>(0,t.unref)(o)(r.parameter.name,e):void 0},null,8,[`value`,`on-set`]))),128))])]),_:1},8,[`name`,`value`])):(0,t.createCommentVNode)(``,!0),(0,t.createVNode)(xd,{property:r.parameter},null,8,[`property`]),Object.keys((0,t.unref)(i)).length>0?((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,{key:1},(0,t.renderList)((0,t.unref)(i),(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(fd,{key:n,name:(0,t.unref)(a)((0,t.unref)(nd)(n))},{value:(0,t.withCtx)(()=>[(0,t.createVNode)(dd,{value:e},null,8,[`value`])]),_:2},1032,[`name`]))),128)):(0,t.createCommentVNode)(``,!0)])):(0,t.createCommentVNode)(``,!0)]))}},Md={class:`flex flex-col`},Nd={key:0,class:`space-y-4`},Pd={key:1,class:`space-y-4`},Fd={key:2,class:`space-y-4`},Id={__name:`OAParameters`,props:{operationId:{type:String,required:!0},parameters:{type:Array,required:!0}},setup(e){let n=e,r=n.parameters.filter(e=>e&&e.in===`header`),i=n.parameters.filter(e=>e&&e.in===`path`),a=n.parameters.filter(e=>e&&e.in===`query`),{t:o}=l();return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Md,[(0,t.unref)(r).length?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Nd,[(0,t.createElementVNode)(`h3`,null,(0,t.toDisplayString)((0,t.unref)(o)(`Header Parameters`)),1),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(r),e=>((0,t.openBlock)(),(0,t.createBlock)(jd,{key:e.name,parameter:e},null,8,[`parameter`]))),128))])):(0,t.createCommentVNode)(``,!0),(0,t.unref)(i).length?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Pd,[(0,t.createElementVNode)(`h3`,null,(0,t.toDisplayString)((0,t.unref)(o)(`Path Parameters`)),1),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(i),e=>((0,t.openBlock)(),(0,t.createBlock)(jd,{key:e.name,parameter:e},null,8,[`parameter`]))),128))])):(0,t.createCommentVNode)(``,!0),(0,t.unref)(a).length?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Fd,[(0,t.createElementVNode)(`h3`,null,(0,t.toDisplayString)((0,t.unref)(o)(`Query Parameters`)),1),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(a),e=>((0,t.openBlock)(),(0,t.createBlock)(jd,{key:e.name,parameter:e},null,8,[`parameter`]))),128))])):(0,t.createCommentVNode)(``,!0)]))}},Ld={key:0,class:`OAPath flex flex-col space-y-4`},Rd={class:`OAPathContentStart flex flex-col`},zd={class:`flex flex-col gap-4`},Bd={class:`flex flex-col`},Vd={key:1},Hd={key:2},Ud=(0,n.defineComponent)({__name:`OAPath`,props:{id:{type:String,required:!0},operation:{type:Object,required:!0},openapi:{type:Object,required:!0}},setup(t){let r=t,i=e.b(),a=(0,n.computed)(()=>{var e;return((e=i.getOperationSlots())==null?[]:e).filter(e=>{var t;return!((t=i.getOperationHiddenSlots())!=null&&t.includes(e))})}),o=(0,n.computed)(()=>i.getOperationCols()),s=(0,n.computed)(()=>[`playground`,`try-it`,`code-samples`].some(e=>a.value.includes(e)));return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Y9),{openapi:r.openapi,"operation-id":r.id,"should-build-request":s.value},{default:(0,n.withCtx)(t=>{var s;return[r.operation?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Ld,[a.value.includes(`header`)?(0,n.renderSlot)(e.$slots,`header`,{operation:r.operation,method:t.method,path:t.path,deprecated:r.operation.deprecated},void 0,void 0,0):(0,n.createCommentVNode)(``,!0),a.value.includes(`tags`)?(0,n.renderSlot)(e.$slots,`tags`,{operation:r.operation,method:t.method,path:t.path,tags:r.operation.tags},void 0,void 0,1):(0,n.createCommentVNode)(``,!0),(0,n.createElementVNode)(`div`,{class:(0,n.normalizeClass)([{"sm:grid-cols-1":o.value===1,"sm:grid-cols-2":o.value===2},`relative grid grid-cols-1`])},[(0,n.createElementVNode)(`div`,Rd,[(0,n.createElementVNode)(`div`,zd,[a.value.includes(`path`)?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:0,class:(0,n.normalizeClass)({"sm:hidden":o.value===2})},[(0,n.renderSlot)(e.$slots,`path`,{operationId:r.id,operation:r.operation,method:t.method,path:t.path,hideBaseUrl:!(0,n.unref)(i).getShowBaseURL(),deprecated:r.operation.deprecated,servers:t.servers,baseUrl:t.operationData.playground.selectedServer.value})],2)):(0,n.createCommentVNode)(``,!0),a.value.includes(`description`)?(0,n.renderSlot)(e.$slots,`description`,{operation:r.operation,method:t.method,path:t.path},void 0,void 0,1):(0,n.createCommentVNode)(``,!0)]),a.value.includes(`security`)?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:0},[t.securityUi.length?(0,n.renderSlot)(e.$slots,`security`,{operation:r.operation,method:t.method,path:t.path,securityUi:t.securityUi,selectedSchemeId:t.operationData.security.selectedSchemeId.value},void 0,void 0,0):(0,n.createCommentVNode)(``,!0)],64)):(0,n.createCommentVNode)(``,!0),a.value.includes(`parameters`)?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:1},[(s=t.parameters)!=null&&s.length?(0,n.renderSlot)(e.$slots,`parameters`,{operationId:r.id,parameters:t.parameters},void 0,void 0,0):(0,n.createCommentVNode)(``,!0)],64)):(0,n.createCommentVNode)(``,!0),a.value.includes(`request-body`)?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:2},[t.requestBody?(0,n.renderSlot)(e.$slots,`request-body`,{operationId:r.id,requestBody:t.requestBody},void 0,void 0,0):(0,n.createCommentVNode)(``,!0)],64)):(0,n.createCommentVNode)(``,!0),a.value.includes(`responses`)?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:3},[t.responses?(0,n.renderSlot)(e.$slots,`responses`,{operationId:r.id,responses:t.responses},void 0,void 0,0):(0,n.createCommentVNode)(``,!0)],64)):(0,n.createCommentVNode)(``,!0)]),(0,n.createElementVNode)(`div`,Bd,[(0,n.createElementVNode)(`div`,{class:(0,n.normalizeClass)([`OAPathContentEnd sticky top-[100px] inset-x-0 flex flex-col`,{"px-0!":o.value===1}])},[a.value.includes(`path`)&&o.value===2?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:0,class:(0,n.normalizeClass)({"hidden sm:block sm:mb-2":o.value===2})},[(0,n.renderSlot)(e.$slots,`path`,{operationId:r.id,operation:r.operation,method:t.method,path:t.path,hideBaseUrl:!(0,n.unref)(i).getShowBaseURL(),deprecated:r.operation.deprecated,servers:t.servers,baseUrl:t.operationData.playground.selectedServer.value})],2)):(0,n.createCommentVNode)(``,!0),a.value.includes(`try-it`)||a.value.includes(`playground`)?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Vd,[(0,n.renderSlot)(e.$slots,`playground`,{operationId:r.id,path:t.path,method:t.method,parameters:t.parameters,requestBody:t.requestBody,securityUi:t.securityUi,servers:t.servers})])):(0,n.createCommentVNode)(``,!0),a.value.includes(`code-samples`)?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Hd,[(0,n.renderSlot)(e.$slots,`code-samples`,{operationId:r.id,operation:r.operation,method:t.method,path:t.path,codeSamples:t.codeSamples})])):(0,n.createCommentVNode)(``,!0)],2)])],2),a.value.includes(`branding`)?(0,n.renderSlot)(e.$slots,`branding`,{operationId:r.id,operation:r.operation,method:t.method,path:t.path},void 0,void 0,2):(0,n.createCommentVNode)(``,!0),a.value.includes(`footer`)?(0,n.renderSlot)(e.$slots,`footer`,{operationId:r.id,operation:r.operation,method:t.method,path:t.path},void 0,void 0,3):(0,n.createCommentVNode)(``,!0)])):(0,n.createCommentVNode)(``,!0)]}),_:3},8,[`openapi`,`operation-id`,`should-build-request`]))}}),Wd={__name:`OAMethodBadge`,props:{method:{type:String,required:!0}},setup(e){let n=e;return(e,r)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Zt),{variant:`plain`,class:(0,t.normalizeClass)([[`OAMethodBadge--${n.method.toLowerCase()}`],`px-2 py-1 rounded`])},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(n.method.toUpperCase()),1)]),_:1},8,[`class`]))}},Gd={class:`flex flex-col gap-2 text-sm bg-muted rounded p-1.5`},Kd={class:`language-bash overflow-hidden! m-0! h-8 flex flex-row items-center gap-1.5`},qd=[`title`],Jd={class:`overflow-x-auto whitespace-nowrap`},Yd={class:`flex flex-row flex-shrink-0`},Xd={key:0,class:`text-muted-foreground hidden md:inline-block`},Zd=Fn({__name:`OAPathEndpoint`,props:{path:{type:String,required:!0},method:{type:String,required:!0},baseUrl:{type:String,required:!0},hideBaseUrl:{type:Boolean,default:!1},deprecated:{type:Boolean,default:!1},servers:{type:Array,required:!1}},setup(e){let n=e,{t:r}=l();return(e,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Gd,[(0,t.createElementVNode)(`div`,Kd,[(0,t.createElementVNode)(`button`,{title:(0,t.unref)(r)(`Copy endpoint`),class:`copy absolute top-1! z-50 OAPathEndpoint__copy`},null,8,qd),(0,t.createVNode)(Wd,{method:n.method},null,8,[`method`]),(0,t.createElementVNode)(`div`,Jd,[(0,t.createElementVNode)(`span`,Yd,[n.hideBaseUrl?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Xd,(0,t.toDisplayString)(n.baseUrl),1)),(0,t.createElementVNode)(`span`,{class:(0,t.normalizeClass)([{"line-through":n.deprecated},`font-bold select-all`])},(0,t.toDisplayString)(n.path),3)])])])]))}},[[`__scopeId`,`data-v-db45b414`]]),Qd=(0,n.defineComponent)({__name:`Button`,props:{variant:{},size:{},class:{type:[Boolean,null,String,Object,Array]},asChild:{type:Boolean},as:{default:`button`}},setup(e){let t=e;return(r,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{as:e.as,"as-child":e.asChild,class:(0,n.normalizeClass)((0,n.unref)(qt)((0,n.unref)($d)({variant:e.variant,size:e.size}),t.class))},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(r.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`]))}}),$d=M(`inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50`,{variants:{variant:{default:`bg-muted`,primary:`bg-primary text-primary-foreground hover:bg-primary/90`,destructive:`bg-destructive text-destructive-foreground hover:bg-destructive/90`,outline:`border border-input bg-background hover:bg-accent hover:text-accent-foreground`,secondary:`bg-secondary text-secondary-foreground hover:bg-secondary/80`,ghost:`hover:bg-accent hover:text-accent-foreground`,link:`text-primary underline-offset-4 hover:underline`,icon:`rounded bg-transparent hover:bg-muted`},size:{default:`h-10 px-4 py-2`,xs:`h-7 rounded px-2`,sm:`h-9 rounded-md px-3`,lg:`h-11 rounded-md px-8`,icon:`size-4 p-[2px]`}},defaultVariants:{variant:`default`,size:`default`}});function ef({parameter:e,operationId:t}){return!e.name||!e.in?``:`${t}:${e.in}:${e.name}`}function tf(e){return e!==`ignore`}function nf(e){return e===`value`}function rf(t,n,r=`value`){if(nf(r)){let n=e.E(t);if(n!==null)return n}return nf(n)?e.D(t):null}function af(t,n,r=`value`){if(tf(r)){let n=e.E(t);if(n!==null)return n}return tf(n)?e.D(t):null}function of(e){return Array.isArray(e)}function sf(e){return typeof e==`object`&&!!e&&(e.constructor===void 0||e.constructor.name===`Object`)}function cf(e){return e&&typeof e==`object`?e.op===`add`:!1}function lf(e){return e&&typeof e==`object`?e.op===`remove`:!1}function uf(e){return e&&typeof e==`object`?e.op===`replace`:!1}function df(e){return e&&typeof e==`object`?e.op===`copy`:!1}function ff(e){return e&&typeof e==`object`?e.op===`move`:!1}function pf(e,t){return JSON.stringify(e)===JSON.stringify(t)}function mf(e,t){return e===t}function hf(e){return e.slice(0,e.length-1)}function gf(e){return e[e.length-1]}function _f(e,t,n=mf){if(e.length<t.length)return!1;for(let r=0;r<t.length;r++)if(!n(e[r],t[r]))return!1;return!0}function vf(e){return typeof e==`object`&&!!e}function yf(e){if(of(e)){let t=e.slice();return Object.getOwnPropertySymbols(e).forEach(n=>{t[n]=e[n]}),t}if(sf(e)){let t={...e};return Object.getOwnPropertySymbols(e).forEach(n=>{t[n]=e[n]}),t}return e}function bf(e,t,n){if(e[t]===n)return e;let r=yf(e);return r[t]=n,r}function xf(e,t){let n=e,r=0;for(;r<t.length;)n=sf(n)?n[t[r]]:of(n)?n[Number.parseInt(t[r],10)]:void 0,r++;return n}function Sf(e,t,n,r=!1){if(t.length===0)return n;let i=t[0],a=Sf(e?e[i]:void 0,t.slice(1),n,r);if(sf(e)||of(e))return bf(e,i,a);if(r){let e=Cf.test(i)?[]:{};return e[i]=a,e}throw Error(`Path does not exist`)}var Cf=/^\d+$/;function wf(e,t,n){if(t.length===0)return n(e);if(!vf(e))throw Error(`Path doesn't exist`);let r=t[0];return bf(e,r,wf(e[r],t.slice(1),n))}function Tf(e,t){if(t.length===0)return e;if(!vf(e))throw Error(`Path does not exist`);if(t.length===1){let n=t[0];if(!(n in e))return e;let r=yf(e);return of(r)&&r.splice(Number.parseInt(n,10),1),sf(r)&&delete r[n],r}let n=t[0];return bf(e,n,Tf(e[n],t.slice(1)))}function Ef(e,t,n){let r=t.slice(0,t.length-1),i=t[t.length-1];return wf(e,r,e=>{if(!Array.isArray(e))throw TypeError(`Array expected at path ${JSON.stringify(r)}`);let t=yf(e);return t.splice(Number.parseInt(i,10),0,n),t})}function Df(e,t){return e===void 0?!1:t.length===0||e!==null&&Df(e[t[0]],t.slice(1))}function Of(e){let t=e.split(`/`);return t.shift(),t.map(e=>e.replace(/~1/g,`/`).replace(/~0/g,`~`))}function kf(e){return e.map(Af).join(``)}function Af(e){return`/${String(e).replace(/~/g,`~0`).replace(/\//g,`~1`)}`}function jf(e,t){return e+Af(t)}function Mf(e,t,n){let r=e;for(let e=0;e<t.length;e++){Vf(t[e]);let i=t[e];if(n!=null&&n.before){let e=n.before(r,i);if(e!==void 0){if(e.document!==void 0&&(r=e.document),e.json!==void 0)throw Error(`Deprecation warning: returned object property ".json" has been renamed to ".document"`);e.operation!==void 0&&(i=e.operation)}}let a=r,o=Hf(r,i.path);if(i.op===`add`)r=Ff(r,o,i.value);else if(i.op===`remove`)r=Pf(r,o);else if(i.op===`replace`)r=Nf(r,o,i.value);else if(i.op===`copy`)r=If(r,o,Uf(i.from));else if(i.op===`move`)r=Lf(r,o,Uf(i.from));else if(i.op===`test`)Rf(r,o,i.value);else throw Error(`Unknown JSONPatch operation ${JSON.stringify(i)}`);if(n!=null&&n.after){let e=n.after(r,i,a);e!==void 0&&(r=e)}}return r}function Nf(e,t,n){return Df(e,t)?Sf(e,t,n):e}function Pf(e,t){return Tf(e,t)}function Ff(e,t,n){return zf(e,t)?Ef(e,t,n):Sf(e,t,n)}function If(e,t,n){let r=xf(e,n);return zf(e,t)?Ef(e,t,r):Sf(e,t,r)}function Lf(e,t,n){let r=xf(e,n),i=Tf(e,n);return zf(i,t)?Ef(i,t,r):Sf(i,t,r)}function Rf(e,t,n){if(n===void 0)throw Error(`Test failed: no value provided (path: "${kf(t)}")`);if(!Df(e,t))throw Error(`Test failed: path not found (path: "${kf(t)}")`);if(!pf(xf(e,t),n))throw Error(`Test failed, value differs (path: "${kf(t)}")`)}function zf(e,t){if(t.length===0)return!1;let n=xf(e,hf(t));return Array.isArray(n)}function Bf(e,t){if(gf(t)!==`-`)return t;let n=hf(t),r=xf(e,n);return n.concat(r.length)}function Vf(e){if(![`add`,`remove`,`replace`,`copy`,`move`,`test`].includes(e.op))throw Error(`Unknown JSONPatch op ${JSON.stringify(e.op)}`);if(typeof e.path!=`string`)throw Error(`Required property "path" missing or not a string in operation ${JSON.stringify(e)}`);if((e.op===`copy`||e.op===`move`)&&typeof e.from!=`string`)throw Error(`Required property "from" missing or not a string in operation ${JSON.stringify(e)}`)}function Hf(e,t){return Bf(e,Of(t))}function Uf(e){return Of(e)}function Wf(e,t,n){let r=[];return Mf(e,t,{before:(e,t)=>{let i,a=Hf(e,t.path);if(t.op===`add`)i=qf(e,a);else if(t.op===`remove`)i=Kf(e,a);else if(t.op===`replace`)i=Gf(e,a);else if(t.op===`copy`)i=Jf(e,a);else if(t.op===`move`)i=Yf(e,a,Uf(t.from));else if(t.op===`test`)i=[];else throw Error(`Unknown JSONPatch operation ${JSON.stringify(t)}`);let o;if(n!=null&&n.before){let r=n.before(e,t,i);if(r!=null&&r.revertOperations&&(i=r.revertOperations),r!=null&&r.document&&(o=r.document),r!=null&&r.json)throw Error(`Deprecation warning: returned object property ".json" has been renamed to ".document"`)}return r=i.concat(r),o===void 0?{}:{document:o}}}),r}function Gf(e,t){return Df(e,t)?[{op:`replace`,path:kf(t),value:xf(e,t)}]:[]}function Kf(e,t){return[{op:`add`,path:kf(t),value:xf(e,t)}]}function qf(e,t){return zf(e,t)||!Df(e,t)?[{op:`remove`,path:kf(t)}]:Gf(e,t)}function Jf(e,t){return qf(e,t)}function Yf(e,t,n){if(t.length<n.length&&_f(n,t))return[{op:`replace`,path:kf(t),value:e}];let r={op:`move`,from:kf(t),path:kf(n)};return!zf(e,t)&&Df(e,t)?[r,...Kf(e,t)]:[r]}var Xf=e.Z((e=>{var t={b:`\b`,f:`\f`,n:`
32
+ `))}return()=>o.value||a.value||c.value?(0,n.h)(r.default({present:c.value})[0],{ref:t=>{let n=e.I(t);return(n==null?void 0:n.hasAttribute)===void 0||(n!=null&&n.hasAttribute(`data-reka-popper-content-wrapper`)?s.value=n.firstElementChild:s.value=n),n}}):null}}),No=(0,n.defineComponent)({name:`PrimitiveSlot`,inheritAttrs:!1,setup(e,{attrs:t,slots:r}){return()=>{var e;if(!r.default)return null;let i=lo(r.default()),a=i.findIndex(e=>e.type!==n.Comment);if(a===-1)return i;let o=i[a];(e=o.props)==null||delete e.ref;let s=o.props?(0,n.mergeProps)(t,o.props):t,c=(0,n.cloneVNode)({...o,props:{}},s);return i.length===1?c:(i[a]=c,i)}}}),fte=[`area`,`img`,`input`],Po=(0,n.defineComponent)({name:`Primitive`,inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:`div`}},setup(e,{attrs:t,slots:r}){let i=e.asChild?`template`:e.as;return typeof i==`string`&&fte.includes(i)?()=>(0,n.h)(i,t):i===`template`?()=>(0,n.h)(No,t,{default:r.default}):()=>(0,n.h)(e.as,t,{default:r.default})}});function Fo(){let t=(0,n.ref)();return{primitiveElement:t,currentElement:(0,n.computed)(()=>{var n,r;return[`#text`,`#comment`].includes((n=t.value)==null?void 0:n.$el.nodeName)?(r=t.value)==null?void 0:r.$el.nextElementSibling:e.I(t)})}}var[Io,pte]=io(`CollapsibleRoot`),Lo=(0,n.defineComponent)({__name:`CollapsibleRoot`,props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`update:open`],setup(t,{expose:r,emit:i}){let a=t,o=e.H(a,`open`,i,{defaultValue:a.defaultOpen,passive:a.open===void 0}),{disabled:s,unmountOnHide:c}=(0,n.toRefs)(a);return pte({contentId:``,disabled:s,open:o,unmountOnHide:c,onOpenToggle:()=>{s.value||(o.value=!o.value)}}),r({open:o}),xo(),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{as:e.as,"as-child":a.asChild,"data-state":(0,n.unref)(o)?`open`:`closed`,"data-disabled":(0,n.unref)(s)?``:void 0},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{open:(0,n.unref)(o)})]),_:3},8,[`as`,`as-child`,`data-state`,`data-disabled`]))}}),Ro=(0,n.defineComponent)({inheritAttrs:!1,__name:`CollapsibleContent`,props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`contentFound`],setup(t,{emit:r}){let i=t,a=r,o=Io();o.contentId||(o.contentId=ko(void 0,`reka-collapsible-content`));let s=(0,n.ref)(),{forwardRef:c,currentElement:l}=xo(),u=(0,n.ref)(0),d=(0,n.ref)(0),f=(0,n.computed)(()=>o.open.value),p=(0,n.ref)(f.value),m=(0,n.ref)();(0,n.watch)(()=>{var e;return[f.value,(e=s.value)==null?void 0:e.present]},async()=>{await(0,n.nextTick)();let e=l.value;if(!e)return;m.value=m.value||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration=`0s`,e.style.animationName=`none`;let t=e.getBoundingClientRect();d.value=t.height,u.value=t.width,p.value||(e.style.transitionDuration=m.value.transitionDuration,e.style.animationName=m.value.animationName)},{immediate:!0});let h=(0,n.computed)(()=>p.value&&o.open.value);return(0,n.onMounted)(()=>{requestAnimationFrame(()=>{p.value=!1})}),e.R(l,`beforematch`,e=>{requestAnimationFrame(()=>{o.onOpenToggle(),a(`contentFound`)})}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Mo),{ref_key:`presentRef`,ref:s,present:e.forceMount||(0,n.unref)(o).open.value,"force-mount":!0},{default:(0,n.withCtx)(({present:t})=>{var r;return[(0,n.createVNode)((0,n.unref)(Po),(0,n.mergeProps)(e.$attrs,{id:(0,n.unref)(o).contentId,ref:(0,n.unref)(c),"as-child":i.asChild,as:e.as,hidden:t?void 0:(0,n.unref)(o).unmountOnHide.value?``:`until-found`,"data-state":h.value?void 0:(0,n.unref)(o).open.value?`open`:`closed`,"data-disabled":(r=(0,n.unref)(o).disabled)!=null&&r.value?``:void 0,style:{"--reka-collapsible-content-height":`${d.value}px`,"--reka-collapsible-content-width":`${u.value}px`}}),{default:(0,n.withCtx)(()=>[!(0,n.unref)(o).unmountOnHide.value||t?(0,n.renderSlot)(e.$slots,`default`,{key:0}):(0,n.createCommentVNode)(`v-if`,!0)]),_:2},1040,[`id`,`as-child`,`as`,`hidden`,`data-state`,`data-disabled`,`style`])]}),_:3},8,[`present`]))}}),zo=(0,n.defineComponent)({__name:`CollapsibleTrigger`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e;xo();let r=Io();return(e,i)=>{var a,o;return(0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{type:e.as===`button`?`button`:void 0,as:e.as,"as-child":t.asChild,"aria-controls":(0,n.unref)(r).contentId,"aria-expanded":(0,n.unref)(r).open.value,"data-state":(0,n.unref)(r).open.value?`open`:`closed`,"data-disabled":(a=(0,n.unref)(r).disabled)!=null&&a.value?``:void 0,disabled:(o=(0,n.unref)(r).disabled)==null?void 0:o.value,onClick:(0,n.unref)(r).onOpenToggle},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`type`,`as`,`as-child`,`aria-controls`,`aria-expanded`,`data-state`,`data-disabled`,`disabled`,`onClick`])}}}),Bo=`dismissableLayer.pointerDownOutside`,mte=`dismissableLayer.focusOutside`;function Vo(e,t){if(!(t instanceof Element))return!1;let n=t.closest(`[data-dismissable-layer]`),r=e.dataset.dismissableLayer===``?e:e.querySelector(`[data-dismissable-layer]`),i=Array.from(e.ownerDocument.querySelectorAll(`[data-dismissable-layer]`));return!!(n&&(r===n||i.indexOf(r)<i.indexOf(n)))}function Ho(t,r,i=!0){var a,o,s;let c=(a=r==null||(o=r.value)==null?void 0:o.ownerDocument)==null?(s=globalThis)==null?void 0:s.document:a,l=(0,n.ref)(!1),u=(0,n.ref)(()=>{});return(0,n.watchEffect)(a=>{if(!e.K||!(0,n.toValue)(i))return;let o=async e=>{let n=e.target;if(!(!(r!=null&&r.value)||!n)){if(Vo(r.value,n)){l.value=!1;return}if(e.target&&!l.value){let n={originalEvent:e};function i(){oo(Bo,t,n)}e.pointerType===`touch`?(c.removeEventListener(`click`,u.value),u.value=i,c.addEventListener(`click`,u.value,{once:!0})):i()}else c.removeEventListener(`click`,u.value);l.value=!1}},s=window.setTimeout(()=>{c.addEventListener(`pointerdown`,o)},0);a(()=>{window.clearTimeout(s),c.removeEventListener(`pointerdown`,o),c.removeEventListener(`click`,u.value)})}),{onPointerDownCapture:()=>{(0,n.toValue)(i)&&(l.value=!0)}}}function Uo(t,r,i=!0){var a,o,s;let c=(a=r==null||(o=r.value)==null?void 0:o.ownerDocument)==null?(s=globalThis)==null?void 0:s.document:a,l=(0,n.ref)(!1);return(0,n.watchEffect)(a=>{if(!e.K||!(0,n.toValue)(i))return;let o=async e=>{if(!(r!=null&&r.value))return;await(0,n.nextTick)(),await(0,n.nextTick)();let i=e.target;!r.value||!i||Vo(r.value,i)||e.target&&!l.value&&oo(mte,t,{originalEvent:e})};c.addEventListener(`focusin`,o),a(()=>c.removeEventListener(`focusin`,o))}),{onFocusCapture:()=>{(0,n.toValue)(i)&&(l.value=!0)},onBlurCapture:()=>{(0,n.toValue)(i)&&(l.value=!1)}}}var Wo=(0,n.defineComponent)({__name:`DismissableLayer`,props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},present:{type:Boolean,required:!1,default:!0}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`dismiss`],setup(t,{emit:r}){let i=t,a=r,{forwardRef:o,currentElement:s}=xo(),c=(0,n.computed)(()=>{var e,t;return(e=(t=s.value)==null?void 0:t.ownerDocument)==null?globalThis.document:e}),l=(0,n.computed)(()=>fo.layersRoot),u=(0,n.computed)(()=>s.value?Array.from(l.value).indexOf(s.value):-1),d=(0,n.computed)(()=>fo.layersWithOutsidePointerEventsDisabled.size>0),f=(0,n.computed)(()=>{let e=Array.from(l.value),[t]=[...fo.layersWithOutsidePointerEventsDisabled].slice(-1),n=e.indexOf(t);return u.value>=n}),p=Ho(async e=>{let t=[...fo.branches].some(t=>t==null?void 0:t.contains(e.target));!i.present||!f.value||t||(a(`pointerDownOutside`,e),a(`interactOutside`,e),await(0,n.nextTick)(),e.defaultPrevented||a(`dismiss`))},s,()=>i.present),m=Uo(e=>{let t=[...fo.branches].some(t=>t==null?void 0:t.contains(e.target));!i.present||t||(a(`focusOutside`,e),a(`interactOutside`,e),e.defaultPrevented||a(`dismiss`))},s);return e.F(`Escape`,e=>{i.present&&u.value===l.value.size-1&&(a(`escapeKeyDown`,e),e.defaultPrevented||a(`dismiss`))}),(0,n.watch)([s,()=>i.disableOutsidePointerEvents,()=>i.present],([e,t,n],r,i)=>{!e||!n||t&&(fo.layersWithOutsidePointerEventsDisabled.size===0&&(fo.originalBodyPointerEvents=c.value.body.style.pointerEvents,c.value.body.style.pointerEvents=`none`),fo.layersWithOutsidePointerEventsDisabled.add(e),i(()=>{fo.layersWithOutsidePointerEventsDisabled.delete(e),fo.layersWithOutsidePointerEventsDisabled.size===0&&!so(fo.originalBodyPointerEvents)&&(c.value.body.style.pointerEvents=fo.originalBodyPointerEvents)}))},{immediate:!0}),(0,n.watch)([s,()=>i.present],([e,t],n,r)=>{!e||!t||(l.value.add(e),r(()=>{l.value.delete(e)}))},{immediate:!0}),(0,n.watchEffect)(e=>{e(()=>{s.value&&(l.value.delete(s.value),fo.layersWithOutsidePointerEventsDisabled.delete(s.value))})}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{ref:(0,n.unref)(o),"as-child":e.asChild,as:e.as,"data-dismissable-layer":``,style:(0,n.normalizeStyle)({pointerEvents:d.value?f.value?`auto`:`none`:void 0}),onFocusCapture:(0,n.unref)(m).onFocusCapture,onBlurCapture:(0,n.unref)(m).onBlurCapture,onPointerdownCapture:(0,n.unref)(p).onPointerDownCapture},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`as-child`,`as`,`style`,`onFocusCapture`,`onBlurCapture`,`onPointerdownCapture`]))}}),Go=e.W(()=>(0,n.ref)([]));function Ko(){let e=Go();return{add(t){let n=e.value[0];t!==n&&(n==null||n.pause()),e.value=qo(e.value,t),e.value.unshift(t)},remove(t){var n;e.value=qo(e.value,t),(n=e.value[0])==null||n.resume()}}}function qo(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}var Jo=`focusScope.autoFocusOnMount`,Yo=`focusScope.autoFocusOnUnmount`,Xo={bubbles:!1,cancelable:!0};function hte(e,{select:t=!1}={}){let n=ao();for(let r of e)if(ts(r,{select:t}),ao()!==n)return!0}function gte(e){let t=Zo(e);return[Qo(t,e),Qo(t.reverse(),e)]}function Zo(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Qo(e,t){for(let n of e)if(!$o(n,{upTo:t}))return n}function $o(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}function es(e){return e instanceof HTMLInputElement&&`select`in e}function ts(e,{select:t=!1}={}){if(e&&e.focus){let n=ao();e.focus({preventScroll:!0}),e!==n&&es(e)&&t&&e.select()}}var ns=(0,n.defineComponent)({__name:`FocusScope`,props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},present:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`mountAutoFocus`,`unmountAutoFocus`],setup(t,{emit:r}){let i=t,a=r,{currentRef:o,currentElement:s}=xo(),c=(0,n.ref)(null),l=Ko(),u=(0,n.reactive)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});(0,n.watchEffect)(t=>{if(!e.K)return;let n=s.value;if(!i.trapped)return;function r(e){if(u.paused||!n)return;let t=e.target;n.contains(t)?c.value=t:ts(c.value,{select:!0})}function a(e){if(u.paused||!n)return;let t=e.relatedTarget;t!==null&&(n.contains(t)||ts(c.value,{select:!0}))}function o(e){let t=c.value;if(t===null||!e.some(e=>e.removedNodes.length>0))return;let r=ao();r&&n.contains(r)||n.contains(t)||ts(n)}document.addEventListener(`focusin`,r),document.addEventListener(`focusout`,a);let l=new MutationObserver(o);n&&l.observe(n,{childList:!0,subtree:!0}),t(()=>{document.removeEventListener(`focusin`,r),document.removeEventListener(`focusout`,a),l.disconnect()})});function d(e,t){let n=new CustomEvent(Jo,Xo),r=e=>a(`mountAutoFocus`,e);e.addEventListener(Jo,r),e.dispatchEvent(n),e.removeEventListener(Jo,r),n.defaultPrevented||(hte(Zo(e),{select:!0}),ao()===t&&ts(e))}(0,n.watchEffect)(async e=>{let t=s.value;if(await(0,n.nextTick)(),!t)return;i.present!==!1&&l.add(u);let r=ao();!t.contains(r)&&i.present!==!1&&d(t,r),e(()=>{let e=new CustomEvent(Yo,Xo),n=e=>{a(`unmountAutoFocus`,e)};t.addEventListener(Yo,n),t.dispatchEvent(e),t.setAttribute(`data-focus-scope-unmounting`,``),setTimeout(()=>{e.defaultPrevented||ts(r==null?document.body:r,{select:!0}),t.removeEventListener(Yo,n),l.remove(u),t.removeAttribute(`data-focus-scope-unmounting`)},0)})}),(0,n.watch)(()=>i.present,async(t,r)=>{if(!e.K)return;if(t===!1&&r===!0){l.remove(u);return}if(t!==!0||r!==!1)return;l.add(u),await(0,n.nextTick)();let i=s.value;if(!i)return;let a=ao();i.contains(a)||d(i,a)});function f(e){if(!i.loop&&!i.trapped||u.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=ao();if(t&&n){let t=e.currentTarget,[r,a]=gte(t);r&&a?!e.shiftKey&&n===a?(e.preventDefault(),i.loop&&ts(r,{select:!0})):e.shiftKey&&n===r&&(e.preventDefault(),i.loop&&ts(a,{select:!0})):n===t&&e.preventDefault()}}return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{ref_key:`currentRef`,ref:o,tabindex:`-1`,"as-child":e.asChild,as:e.as,onKeydown:f},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`as-child`,`as`]))}}),rs=[`Enter`,` `],is=[`ArrowDown`,`PageUp`,`Home`],as=[`ArrowUp`,`PageDown`,`End`];[...is,...as],[...rs],[...rs];function os(e){let t=ao();for(let n of e)if(n===t||(n.focus(),ao()!==t))return}var ss=(0,n.defineComponent)({__name:`Teleport`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(t){let r=t,i=uo({}),a=(0,n.computed)(()=>{var e,t,n;return(e=(t=r.to)==null?(n=i.teleportTo)==null?void 0:n.value:t)==null?`body`:e}),o=e.z();return(e,t)=>(0,n.unref)(o)||e.forceMount?((0,n.openBlock)(),(0,n.createBlock)(n.Teleport,{key:0,to:a.value,disabled:e.disabled,defer:e.defer},[(0,n.renderSlot)(e.$slots,`default`)],8,[`to`,`disabled`,`defer`])):(0,n.createCommentVNode)(`v-if`,!0)}}),cs=`data-reka-collection-item`;function ls(e={}){let{key:t=``,isProvider:r=!1}=e,i=`${t}CollectionProvider`,a;if(r){let e=(0,n.ref)(new Map);a={collectionRef:(0,n.ref)(),itemMap:e},(0,n.provide)(i,a)}else a=(0,n.inject)(i);let o=(e=!1)=>{let t=a.collectionRef.value;if(!t)return[];let n=Array.from(t.querySelectorAll(`[${cs}]`)),r=new Map(n.map((e,t)=>[e,t])),i=Array.from(a.itemMap.value.values()).sort((e,t)=>{var n,i;return((n=r.get(e.ref))==null?-1:n)-((i=r.get(t.ref))==null?-1:i)});return e?i:i.filter(e=>e.ref.dataset.disabled!==``)},s=(0,n.defineComponent)({name:`CollectionSlot`,inheritAttrs:!1,setup(e,{slots:t,attrs:r}){let{primitiveElement:i,currentElement:o}=Fo();return(0,n.watch)(o,()=>{a.collectionRef.value=o.value}),()=>(0,n.h)(No,{ref:i,...r},t)}}),c=(0,n.defineComponent)({name:`CollectionItem`,inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(e,{slots:t,attrs:r}){let{primitiveElement:i,currentElement:o}=Fo();return(0,n.watchEffect)(t=>{if(o.value){let r=(0,n.markRaw)(o.value);a.itemMap.value.set(r,{ref:o.value,value:e.value}),t(()=>a.itemMap.value.delete(r))}}),()=>(0,n.h)(No,{...r,[cs]:``,ref:i},t)}});return{getItems:o,reactiveItems:(0,n.computed)(()=>Array.from(a.itemMap.value.values())),itemMapSize:(0,n.computed)(()=>a.itemMap.value.size),CollectionSlot:s,CollectionItem:c}}var us=(0,n.defineComponent)({__name:`VisuallyHidden`,props:{feature:{type:String,required:!1,default:`focusable`},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{as:e.as,"as-child":e.asChild,"aria-hidden":e.feature===`focusable`||e.feature===`fully-hidden`?`true`:void 0,"data-hidden":e.feature===`fully-hidden`?``:void 0,tabindex:e.feature===`fully-hidden`?`-1`:void 0,style:{position:`absolute`,border:0,width:`1px`,height:`1px`,padding:0,margin:`-1px`,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,clipPath:`inset(50%)`,whiteSpace:`nowrap`,wordWrap:`normal`,top:`-1px`,left:`-1px`}},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`aria-hidden`,`data-hidden`,`tabindex`]))}}),ds=(0,n.defineComponent)({inheritAttrs:!1,__name:`VisuallyHiddenInputBubble`,props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:`fully-hidden`}},setup(e){let t=e,{primitiveElement:r,currentElement:i}=Fo(),a=(0,n.computed)(()=>{var e;return(e=t.checked)==null?t.value:e});return(0,n.watch)(a,(e,t)=>{if(!i.value)return;let n=i.value,r=window.HTMLInputElement.prototype,a=Object.getOwnPropertyDescriptor(r,`value`).set;if(a&&e!==t){let t=new Event(`input`,{bubbles:!0}),r=new Event(`change`,{bubbles:!0});a.call(n,e),n.dispatchEvent(t),n.dispatchEvent(r)}}),(e,i)=>((0,n.openBlock)(),(0,n.createBlock)(us,(0,n.mergeProps)({ref_key:`primitiveElement`,ref:r},{...t,...e.$attrs},{as:`input`}),null,16))}}),fs=(0,n.defineComponent)({inheritAttrs:!1,__name:`VisuallyHiddenInput`,props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:`fully-hidden`}},setup(e){let t=e,r=(0,n.computed)(()=>typeof t.value==`object`&&Array.isArray(t.value)&&t.value.length===0&&t.required),i=(0,n.computed)(()=>typeof t.value==`string`||typeof t.value==`number`||typeof t.value==`boolean`||t.value===null||t.value===void 0?[{name:t.name,value:t.value}]:typeof t.value==`object`&&Array.isArray(t.value)?t.value.flatMap((e,n)=>typeof e==`object`?Object.entries(e).map(([e,r])=>({name:`${t.name}[${n}][${e}]`,value:r})):{name:`${t.name}[${n}]`,value:e}):t.value!==null&&typeof t.value==`object`&&!Array.isArray(t.value)?Object.entries(t.value).map(([e,n])=>({name:`${t.name}[${e}]`,value:n})):[]);return(e,a)=>((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[(0,n.createCommentVNode)(` We render single input if it's required `),r.value?((0,n.openBlock)(),(0,n.createBlock)(ds,(0,n.mergeProps)({key:e.name},{...t,...e.$attrs},{name:e.name,value:e.value}),null,16,[`name`,`value`])):((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,{key:1},(0,n.renderList)(i.value,r=>((0,n.openBlock)(),(0,n.createBlock)(ds,(0,n.mergeProps)({key:r.name},{ref_for:!0},{...t,...e.$attrs},{name:r.name,value:r.value}),null,16,[`name`,`value`]))),128))],2112))}}),ps=`rovingFocusGroup.onEntryFocus`,ms={bubbles:!1,cancelable:!0},hs={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function gs(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}function _s(e,t,n){let r=gs(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return hs[r]}function vs(e,t=!1){let n=ao();for(let r of e)if(r===n||(r.focus({preventScroll:t}),ao()!==n))return}function ys(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var[bs,xs]=io(`PopperRoot`),Ss=(0,n.defineComponent)({inheritAttrs:!1,__name:`PopperRoot`,setup(e){let t=(0,n.ref)();return xs({anchor:t,onAnchorChange:e=>t.value=e}),(e,t)=>(0,n.renderSlot)(e.$slots,`default`)}}),Cs=(0,n.defineComponent)({__name:`PopperAnchor`,props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,{forwardRef:r,currentElement:i}=xo(),a=bs();return(0,n.watchPostEffect)(()=>{var e;a.onAnchorChange((e=t.reference)==null?i.value:e)}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{ref:(0,n.unref)(r),as:e.as,"as-child":e.asChild},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`as`,`as-child`]))}});function ws(e){return e!==null}function Ts(e){return{name:`transformOrigin`,options:e,fn(t){var n,r,i,a,o;let{placement:s,rects:c,middlewareData:l}=t,u=((n=l.arrow)==null?void 0:n.centerOffset)!==0,d=u?0:e.arrowWidth,f=u?0:e.arrowHeight,[p,m]=Es(s),h={start:e.dir===`rtl`?`100%`:`0%`,center:`50%`,end:e.dir===`rtl`?`0%`:`100%`}[m],g={start:`0%`,center:`50%`,end:`100%`}[m],_=((r=(i=l.arrow)==null?void 0:i.x)==null?0:r)+d/2,v=((a=(o=l.arrow)==null?void 0:o.y)==null?0:a)+f/2,y=``,b=``;return p===`bottom`?(y=u?h:`${_}px`,b=`${-f}px`):p===`top`?(y=u?h:`${_}px`,b=`${c.floating.height+f}px`):p===`right`?(y=`${-f}px`,b=u?g:`${v}px`):p===`left`&&(y=`${c.floating.width+f}px`,b=u?g:`${v}px`),{data:{x:y,y:b}}}}}function Es(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var Ds=[`top`,`right`,`bottom`,`left`],Os=Math.min,ks=Math.max,As=Math.round,js=Math.floor,Ms=e=>({x:e,y:e}),Ns={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Ps(e,t,n){return ks(e,Os(t,n))}function Fs(e,t){return typeof e==`function`?e(t):e}function Is(e){return e.split(`-`)[0]}function Ls(e){return e.split(`-`)[1]}function Rs(e){return e===`x`?`y`:`x`}function zs(e){return e===`y`?`height`:`width`}function Bs(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function Vs(e){return Rs(Bs(e))}function _te(e,t,n){n===void 0&&(n=!1);let r=Ls(e),i=Vs(e),a=zs(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=Gs(o)),[o,Gs(o)]}function vte(e){let t=Gs(e);return[Hs(e),t,Hs(t)]}function Hs(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var Us=[`left`,`right`],Ws=[`right`,`left`],yte=[`top`,`bottom`],bte=[`bottom`,`top`];function xte(e,t,n){switch(e){case`top`:case`bottom`:return n?t?Ws:Us:t?Us:Ws;case`left`:case`right`:return t?yte:bte;default:return[]}}function Ste(e,t,n,r){let i=Ls(e),a=xte(Is(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(Hs)))),a}function Gs(e){let t=Is(e);return Ns[t]+e.slice(t.length)}function Cte(e){var t,n,r,i;return{top:(t=e.top)==null?0:t,right:(n=e.right)==null?0:n,bottom:(r=e.bottom)==null?0:r,left:(i=e.left)==null?0:i}}function Ks(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Cte(e)}function qs(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Js(e,t,n){let{reference:r,floating:i}=e,a=Bs(t),o=Vs(t),s=zs(o),c=Is(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=Ls(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function Ys(e,t){var n;t===void 0&&(t={});let{x:r,y:i,platform:a,rects:o,elements:s,strategy:c}=e,{boundary:l=`clippingAncestors`,rootBoundary:u=`viewport`,elementContext:d=`floating`,altBoundary:f=!1,padding:p=0}=Fs(t,e),m=Ks(p),h=s[f?d===`floating`?`reference`:`floating`:d],g=qs(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(h)))==null||n?h:h.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:l,rootBoundary:u,strategy:c})),_=d===`floating`?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,v=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),y=await(a.isElement==null?void 0:a.isElement(v))&&await(a.getScale==null?void 0:a.getScale(v))||{x:1,y:1},b=qs(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:_,offsetParent:v,strategy:c}):_);return{top:(g.top-b.top+m.top)/y.y,bottom:(b.bottom-g.bottom+m.bottom)/y.y,left:(g.left-b.left+m.left)/y.x,right:(b.right-g.right+m.right)/y.x}}var Xs=50,Zs=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Ys},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Js(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v==null?u:v,d=y==null?d:y,m[g]={...m[g],...b},x&&p<Xs&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=Js(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},Qs=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=Fs(e,t)||{};if(l==null)return{};let d=Ks(u),f={x:n,y:r},p=Vs(i),m=zs(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=Os(d[_],T),ee=Os(d[v],T),te=C-h[m]-ee,ne=C/2-h[m]/2+w,D=Ps(E,ne,te),re=!c.arrow&&Ls(i)!=null&&ne!==D&&a.reference[m]/2-(ne<E?E:ee)-h[m]/2<0,ie=re?ne<E?ne-E:ne-te:0;return{[p]:f[p]+ie,data:{[p]:D,centerOffset:ne-D-ie,...re&&{alignmentOffset:ie}},reset:re}}}),$s=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n,r;let{placement:i,middlewareData:a,rects:o,initialPlacement:s,platform:c,elements:l}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p=`bestFit`,fallbackAxisSideDirection:m=`none`,flipAlignment:h=!0,...g}=Fs(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};let _=Is(i),v=Bs(s),y=Is(s)===s,b=await(c.isRTL==null?void 0:c.isRTL(l.floating)),x=f||(y||!h?[Gs(s)]:vte(s)),S=m!==`none`;!f&&S&&x.push(...Ste(s,h,m,b));let C=[s,...x],w=await c.detectOverflow(t,g),T=[],E=((r=a.flip)==null?void 0:r.overflows)||[];if(u&&T.push(w[_]),d){let e=_te(i,o,b);T.push(w[e[0]],w[e[1]])}if(E=[...E,{placement:i,overflows:T}],!T.every(e=>e<=0)){var ee,te;let e=(((ee=a.flip)==null?void 0:ee.index)||0)+1,t=C[e];if(t&&(d!==`alignment`||v===Bs(t)||E.every(e=>Bs(e.placement)!==v||e.overflows[0]>0)))return{data:{index:e,overflows:E},reset:{placement:t}};let n=(te=E.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])==null?void 0:te.placement;if(!n)switch(p){case`bestFit`:{var ne;let e=(ne=E.filter(e=>{if(S){let t=Bs(e.placement);return t===v||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])==null?void 0:ne[0];e&&(n=e);break}case`initialPlacement`:n=s}if(i!==n)return{reset:{placement:n}}}return{}}}};function ec(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function tc(e){return Ds.some(t=>e[t]>=0)}var nc=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=Fs(e,t);switch(i){case`referenceHidden`:{let e=ec(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:tc(e)}}}case`escaped`:{let e=ec(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:tc(e)}}}default:return{}}}}},rc=new Set([`left`,`top`]);async function ic(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Is(n),s=Ls(n),c=Bs(n)===`y`,l=rc.has(o)?-1:1,u=a&&c?-1:1,d=Fs(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var ac=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n,r;let{x:i,y:a,placement:o,middlewareData:s}=t,c=await ic(t,e);return o===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:i+c.x,y:a+c.y,data:{...c,placement:o}}}}},oc=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Fs(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=Bs(i),p=Rs(f),m=u[p],h=u[f],g=(e,t)=>Ps(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},sc=function(e){return e===void 0&&(e={}),{options:e,fn(t){var n,r;let{x:i,y:a,placement:o,rects:s,middlewareData:c}=t,{offset:l=0,mainAxis:u=!0,crossAxis:d=!0}=Fs(e,t),f={x:i,y:a},p=Bs(o),m=Rs(p),h=f[m],g=f[p],_=Fs(l,t),v=typeof _==`number`?{mainAxis:_,crossAxis:0}:{mainAxis:(n=_.mainAxis)==null?0:n,crossAxis:(r=_.crossAxis)==null?0:r};if(u){let e=m===`y`?`height`:`width`,t=s.reference[m]-s.floating[e]+v.mainAxis,n=s.reference[m]+s.reference[e]-v.mainAxis;h<t?h=t:h>n&&(h=n)}if(d){var y,b;let e=m===`y`?`width`:`height`,t=rc.has(Is(o)),n=s.reference[p]-s.floating[e]+(t&&((y=c.offset)==null?void 0:y[p])||0)+(t?0:v.crossAxis),r=s.reference[p]+s.reference[e]+(t?0:((b=c.offset)==null?void 0:b[p])||0)-(t?v.crossAxis:0);g<n?g=n:g>r&&(g=r)}return{[m]:h,[p]:g}}}},cc=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=Fs(e,t),c=await i.detectOverflow(t,s),l=Is(n),u=Ls(n),d=Bs(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=Os(p-c[m],g),y=Os(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*ks(c.left,c.right):S=p-2*ks(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function lc(){return typeof window<`u`}function uc(e){return pc(e)?(e.nodeName||``).toLowerCase():`#document`}function dc(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function fc(e){var t;return(t=(pc(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function pc(e){return lc()?e instanceof Node||e instanceof dc(e).Node:!1}function mc(e){return lc()?e instanceof Element||e instanceof dc(e).Element:!1}function hc(e){return lc()?e instanceof HTMLElement||e instanceof dc(e).HTMLElement:!1}function gc(e){return!lc()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof dc(e).ShadowRoot}function _c(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=Oc(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function vc(e){return/^(table|td|th)$/.test(uc(e))}function yc(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var bc=/transform|translate|scale|rotate|perspective|filter/,xc=/paint|layout|strict|content/,Sc=e=>!!e&&e!==`none`,Cc;function wc(e){let t=mc(e)?Oc(e):e;return Sc(t.transform)||Sc(t.translate)||Sc(t.scale)||Sc(t.rotate)||Sc(t.perspective)||!Ec()&&(Sc(t.backdropFilter)||Sc(t.filter))||bc.test(t.willChange||``)||xc.test(t.contain||``)}function Tc(e){let t=Ac(e);for(;hc(t)&&!Dc(t);){if(wc(t))return t;if(yc(t))return null;t=Ac(t)}return null}function Ec(){return Cc==null&&(Cc=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`)),Cc}function Dc(e){return/^(html|body|#document)$/.test(uc(e))}function Oc(e){return dc(e).getComputedStyle(e)}function kc(e){return mc(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ac(e){if(uc(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||gc(e)&&e.host||fc(e);return gc(t)?t.host:t}function jc(e){let t=Ac(e);return Dc(t)?(e.ownerDocument||e).body:hc(t)&&_c(t)?t:jc(t)}function Mc(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);let i=jc(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),o=dc(i);if(a){let e=Nc(o);return t.concat(o,o.visualViewport||[],_c(i)?i:[],e&&n?Mc(e):[])}return t.concat(i,Mc(i,[],n))}function Nc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Pc(e){let t=Oc(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=hc(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=As(n)!==a||As(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Fc(e){return mc(e)?e:e.contextElement}function Ic(e){let t=Fc(e);if(!hc(t))return Ms(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Pc(t),o=(a?As(n.width):n.width)/r,s=(a?As(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var Lc=Ms(0);function Rc(e){let t=dc(e);return!Ec()||!t.visualViewport?Lc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function zc(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===dc(e)}function Bc(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Fc(e),o=Ms(1);t&&(r?mc(r)&&(o=Ic(r)):o=Ic(e));let s=zc(a,n,r)?Rc(a):Ms(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a&&r){let e=dc(a),t=mc(r)?dc(r):r,n=e,i=Nc(n);for(;i&&t!==n;){let e=Ic(i),t=i.getBoundingClientRect(),r=Oc(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=dc(i),i=Nc(n)}}return qs({width:u,height:d,x:c,y:l})}function Vc(e,t){let n=kc(e).scrollLeft;return t?t.left+n:Bc(fc(e)).left+n}function Hc(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Vc(e,n),y:n.top+t.scrollTop}}function wte(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=fc(r),s=t?yc(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=Ms(1),u=Ms(0),d=hc(r);if((d||!a)&&((uc(r)!==`body`||_c(o))&&(c=kc(r)),d)){let e=Bc(r);l=Ic(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?Hc(o,c):Ms(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function Tte(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Ete(e){let t=kc(e),n=e.ownerDocument.body,r=ks(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=ks(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+Vc(e),o=-t.scrollTop;return Oc(n).direction===`rtl`&&(a+=ks(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var Dte=25;function Ote(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=dc(e),a=fc(e),o=i.visualViewport,s=a.clientWidth,c=a.clientHeight,l=0,u=0;if(o){let e=!Ec()||t===`fixed`;r?e||(l=-o.offsetLeft,u=-o.offsetTop):(s=o.width,c=o.height,e&&(l=o.offsetLeft,u=o.offsetTop))}if(Vc(a)<=0){let e=a.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(a.clientWidth-t.clientWidth-r),o=getComputedStyle(a).scrollbarGutter===`stable both-edges`?i/2:i;o<=Dte&&(s-=o)}return{width:s,height:c,x:l,y:u}}function kte(e,t){let n=Bc(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Ic(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function Uc(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=Ote(e,n,t);else if(t===`document`)r=Ete(fc(e));else if(mc(t))r=kte(t,n);else{let n=Rc(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return qs(r)}function Ate(e,t){let n=t.get(e);if(n)return n;let r=Mc(e,[],!1).filter(e=>mc(e)&&uc(e)!==`body`),i=null,a=Oc(e).position===`fixed`,o=a?Ac(e):e;for(;mc(o)&&!Dc(o);){let e=Oc(o),t=wc(o),n=i?i.position:a?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==o):i=e,o=Ac(o)}return t.set(e,r),r}function jte(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?yc(t)?[]:Ate(t,this._c):[].concat(n),r],o=Uc(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=Uc(t,a[e],i);s=ks(n.top,s),c=Os(n.right,c),l=Os(n.bottom,l),u=ks(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function Mte(e){let{width:t,height:n}=Pc(e);return{width:t,height:n}}function Nte(e,t,n){let r=hc(t),i=fc(t),a=n===`fixed`,o=Bc(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=Ms(0);if((r||!a)&&((uc(t)!==`body`||_c(i))&&(s=kc(t)),r)){let e=Bc(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!r&&i&&(c.x=Vc(i));let l=i&&!r&&!a?Hc(i,s):Ms(0);return{x:o.left+s.scrollLeft-c.x-l.x,y:o.top+s.scrollTop-c.y-l.y,width:o.width,height:o.height}}function Wc(e){return Oc(e).position===`static`}function Gc(e,t){if(!hc(e)||Oc(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return fc(e)===n&&(n=n.ownerDocument.body),n}function Kc(e,t){let n=dc(e);if(yc(e))return n;if(!hc(e)){let t=Ac(e);for(;t&&!Dc(t);){if(mc(t)&&!Wc(t))return t;t=Ac(t)}return n}let r=Gc(e,t);for(;r&&vc(r)&&Wc(r);)r=Gc(r,t);return r&&Dc(r)&&Wc(r)&&!wc(r)?n:r||Tc(e)||n}var Pte=async function(e){let t=this.getOffsetParent||Kc,n=this.getDimensions,r=await n(e.floating);return{reference:Nte(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Fte(e){return Oc(e).direction===`rtl`}var Ite={convertOffsetParentRelativeRectToViewportRelativeRect:wte,getDocumentElement:fc,getClippingRect:jte,getOffsetParent:Kc,getElementRects:Pte,getClientRects:Tte,getDimensions:Mte,getScale:Ic,isElement:mc,isRTL:Fte};function qc(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Lte(e,t,n){let r=null,i,a=fc(e);function o(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function s(n,c){n===void 0&&(n=!1),c===void 0&&(c=1),o();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(n||t(),!f||!p)return;let m=js(d),h=js(a.clientWidth-(u+f)),g=js(a.clientHeight-(d+p)),_=js(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:ks(0,Os(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!qc(l,e.getBoundingClientRect()))return s();if(n!==c){if(!y)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:a.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let c=dc(e),l=()=>s(n);return c.addEventListener(`resize`,l),s(!0),()=>{c.removeEventListener(`resize`,l),o()}}function Jc(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=Fc(e),u=i||a?[...l?Mc(l):[],...t?Mc(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?Lte(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?Bc(e):null;c&&g();function g(){let t=Bc(e);h&&!qc(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d==null||d(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Yc=ac,Xc=oc,Zc=$s,Qc=cc,$c=nc,el=Qs,tl=sc,nl=(e,t,n)=>{let r=new Map,i=n==null?{}:n,a={...Ite,...i.platform,_c:r};return Zs(e,t,{...i,platform:a})},rl=e.$({Vue:()=>n,Vue2:()=>void 0,del:()=>ol,install:()=>il,isVue2:()=>!1,isVue3:()=>!0,set:()=>al});e.et(rl,require("vue"));function il(){}function al(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function ol(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}function sl(e){return typeof e==`object`&&!!e&&`$el`in e}function cl(e){if(sl(e)){let t=e.$el;return pc(t)&&uc(t)===`#comment`?null:t}return e}function ll(e){return typeof e==`function`?e():(0,rl.unref)(e)}function ul(e){return{name:`arrow`,options:e,fn(t){let n=cl(ll(e.element));return n==null?{}:el({element:n,padding:e.padding}).fn(t)}}}function dl(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function fl(e,t){let n=dl(e);return Math.round(t*n)/n}function pl(e,t,n){n===void 0&&(n={});let r=n.whileElementsMounted,i=(0,rl.computed)(()=>{var e;return(e=ll(n.open))==null||e}),a=(0,rl.computed)(()=>ll(n.middleware)),o=(0,rl.computed)(()=>{var e;return(e=ll(n.placement))==null?`bottom`:e}),s=(0,rl.computed)(()=>{var e;return(e=ll(n.strategy))==null?`absolute`:e}),c=(0,rl.computed)(()=>{var e;return(e=ll(n.transform))==null||e}),l=(0,rl.computed)(()=>cl(e.value)),u=(0,rl.computed)(()=>cl(t.value)),d=(0,rl.ref)(0),f=(0,rl.ref)(0),p=(0,rl.ref)(s.value),m=(0,rl.ref)(o.value),h=(0,rl.shallowRef)({}),g=(0,rl.ref)(!1),_=(0,rl.computed)(()=>{let e={position:p.value,left:`0`,top:`0`};if(!u.value)return e;let t=fl(u.value,d.value),n=fl(u.value,f.value);return c.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...dl(u.value)>=1.5&&{willChange:`transform`}}:{position:p.value,left:t+`px`,top:n+`px`}}),v;function y(){if(l.value==null||u.value==null)return;let e=i.value;nl(l.value,u.value,{middleware:a.value,placement:o.value,strategy:s.value}).then(t=>{d.value=t.x,f.value=t.y,p.value=t.strategy,m.value=t.placement,h.value=t.middlewareData,g.value=e!==!1})}function b(){typeof v==`function`&&(v(),v=void 0)}function x(){if(b(),r===void 0){y();return}if(l.value!=null&&u.value!=null){v=r(l.value,u.value,y);return}}function S(){i.value||(g.value=!1)}return(0,rl.watch)([a,o,s,i],y,{flush:`sync`}),(0,rl.watch)([l,u],x,{flush:`sync`}),(0,rl.watch)(i,S,{flush:`sync`}),(0,rl.getCurrentScope)()&&(0,rl.onScopeDispose)(b),{x:(0,rl.shallowReadonly)(d),y:(0,rl.shallowReadonly)(f),strategy:(0,rl.shallowReadonly)(p),placement:(0,rl.shallowReadonly)(m),middlewareData:(0,rl.shallowReadonly)(h),isPositioned:(0,rl.shallowReadonly)(g),floatingStyles:_,update:y}}var ml=[`dir`],hl={side:`bottom`,sideOffset:0,sideFlip:!0,align:`center`,alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:`partial`,hideWhenDetached:!1,positionStrategy:`fixed`,updatePositionStrategy:`optimized`,prioritizePosition:!1},[Rte,gl]=io(`PopperContent`),_l=(0,n.defineComponent)({inheritAttrs:!1,__name:`PopperContent`,props:(0,n.mergeDefaults)({memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...hl}),emits:[`placed`],setup(e,{emit:t}){let r=e,i=t,a=bs(),{forwardRef:o,currentElement:s}=xo(),c=_o((0,n.computed)(()=>r.dir)),l=(0,n.ref)(),u=(0,n.ref)(),{width:d,height:f}=ste(u),p=(0,n.computed)(()=>r.side+(r.align===`center`?``:`-${r.align}`)),m=(0,n.computed)(()=>typeof r.collisionPadding==`number`?r.collisionPadding:{top:0,right:0,bottom:0,left:0,...r.collisionPadding}),h=(0,n.computed)(()=>Array.isArray(r.collisionBoundary)?r.collisionBoundary:[r.collisionBoundary]),g=(0,n.computed)(()=>({padding:m.value,boundary:h.value.filter(ws),altBoundary:h.value.length>0})),_=(0,n.computed)(()=>({mainAxis:r.sideFlip,crossAxis:r.alignFlip})),v=(0,n.computed)(()=>[Yc({mainAxis:r.sideOffset+f.value,alignmentAxis:r.alignOffset}),r.prioritizePosition&&r.avoidCollisions&&Zc({...g.value,..._.value}),r.avoidCollisions&&Xc({mainAxis:!0,crossAxis:!!r.prioritizePosition,limiter:r.sticky===`partial`?tl():void 0,...g.value}),!r.prioritizePosition&&r.avoidCollisions&&Zc({...g.value,..._.value}),Qc({...g.value,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--reka-popper-available-width`,`${n}px`),o.setProperty(`--reka-popper-available-height`,`${r}px`),o.setProperty(`--reka-popper-anchor-width`,`${i}px`),o.setProperty(`--reka-popper-anchor-height`,`${a}px`)}}),u.value&&ul({element:u.value,padding:r.arrowPadding}),Ts({arrowWidth:d.value,arrowHeight:f.value,dir:c.value}),r.hideWhenDetached&&$c({strategy:`referenceHidden`,...g.value})]),{floatingStyles:y,placement:b,isPositioned:x,middlewareData:S,update:C}=pl((0,n.computed)(()=>{var e;return(e=r.reference)==null?a.anchor.value:e}),l,{strategy:r.positionStrategy,placement:p,whileElementsMounted:(...e)=>Jc(...e,{layoutShift:!r.disableUpdateOnLayoutShift,animationFrame:r.updatePositionStrategy===`always`}),middleware:v}),w=(0,n.computed)(()=>Es(b.value)[0]),T=(0,n.computed)(()=>Es(b.value)[1]);(0,n.watchPostEffect)(()=>{x.value&&i(`placed`)});let E=(0,n.computed)(()=>{var e;let t=((e=S.value.arrow)==null?void 0:e.centerOffset)!==0;return r.hideShiftedArrow&&t}),ee=(0,n.ref)(``);return(0,n.watchEffect)(()=>{s.value&&(ee.value=window.getComputedStyle(s.value).zIndex)}),gl({placedSide:w,onArrowChange:e=>u.value=e,arrowX:(0,n.computed)(()=>{var e,t;return(e=(t=S.value.arrow)==null?void 0:t.x)==null?0:e}),arrowY:(0,n.computed)(()=>{var e,t;return(e=(t=S.value.arrow)==null?void 0:t.y)==null?0:e}),shouldHideArrow:E}),(e,t)=>{var i,a,s;return(0,n.openBlock)(),(0,n.createElementBlock)(`div`,{ref_key:`floatingRef`,ref:l,"data-reka-popper-content-wrapper":``,dir:(0,n.unref)(c),style:(0,n.normalizeStyle)({...(0,n.unref)(y),transform:(0,n.unref)(x)?(0,n.unref)(y).transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:ee.value,"--reka-popper-transform-origin":[(i=(0,n.unref)(S).transformOrigin)==null?void 0:i.x,(a=(0,n.unref)(S).transformOrigin)==null?void 0:a.y].join(` `),...((s=(0,n.unref)(S).hide)==null?void 0:s.referenceHidden)&&{visibility:`hidden`,pointerEvents:`none`}})},[r.memoDependencies?(0,n.withMemo)([r.asChild,r.as,w.value,T.value,(0,n.unref)(x),...Object.values(e.$attrs),...r.memoDependencies],()=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),(0,n.mergeProps)({key:0,ref:(0,n.unref)(o)},e.$attrs,{"as-child":r.asChild,as:r.as,"data-side":w.value,"data-align":T.value,style:{animation:(0,n.unref)(x)?void 0:`none`}}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`as-child`,`as`,`data-side`,`data-align`,`style`])),t,0):((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),(0,n.mergeProps)({key:1,ref:(0,n.unref)(o)},e.$attrs,{"as-child":r.asChild,as:r.as,"data-side":w.value,"data-align":T.value,dir:(0,n.unref)(c),style:{animation:(0,n.unref)(x)?void 0:`none`}}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`as-child`,`as`,`data-side`,`data-align`,`dir`,`style`]))],12,ml)}}});function vl(e){let t=uo({nonce:(0,n.ref)()});return(0,n.computed)(()=>{var n;return(e==null?void 0:e.value)||((n=t.nonce)==null?void 0:n.value)})}var[yl,bl]=io(`RovingFocusGroup`),xl=(0,n.defineComponent)({__name:`RovingFocusGroup`,props:{orientation:{type:String,required:!1,default:void 0},dir:{type:String,required:!1},loop:{type:Boolean,required:!1,default:!1},currentTabStopId:{type:[String,null],required:!1},defaultCurrentTabStopId:{type:String,required:!1},preventScrollOnEntryFocus:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`entryFocus`,`update:currentTabStopId`],setup(t,{expose:r,emit:i}){let a=t,o=i,{loop:s,orientation:c,dir:l}=(0,n.toRefs)(a),u=_o(l),d=e.H(a,`currentTabStopId`,o,{defaultValue:a.defaultCurrentTabStopId,passive:a.currentTabStopId===void 0}),f=(0,n.ref)(!1),p=(0,n.ref)(!1),m=(0,n.ref)(0),{getItems:h,CollectionSlot:g}=ls({isProvider:!0});function _(e){let t=!p.value;if(e.currentTarget&&e.target===e.currentTarget&&t&&!f.value){let t=new CustomEvent(ps,ms);if(e.currentTarget.dispatchEvent(t),o(`entryFocus`,t),!t.defaultPrevented){let e=h().map(e=>e.ref).filter(e=>e.dataset.disabled!==``);vs([e.find(e=>e.getAttribute(`data-active`)===``),e.find(e=>e.getAttribute(`data-highlighted`)===``),e.find(e=>e.id===d.value),...e].filter(Boolean),a.preventScrollOnEntryFocus)}}p.value=!1}function v(){setTimeout(()=>{p.value=!1},1)}return r({getItems:h}),bl({loop:s,dir:u,orientation:c,currentTabStopId:d,onItemFocus:e=>{d.value=e},onItemShiftTab:()=>{f.value=!0},onFocusableItemAdd:()=>{m.value++},onFocusableItemRemove:()=>{m.value--}}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(g),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Po),{tabindex:f.value||m.value===0?-1:0,"data-orientation":(0,n.unref)(c),as:e.as,"as-child":e.asChild,dir:(0,n.unref)(u),style:{outline:`none`},onMousedown:t[0]||(t[0]=e=>p.value=!0),onMouseup:v,onFocus:_,onBlur:t[1]||(t[1]=e=>f.value=!1)},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`tabindex`,`data-orientation`,`as`,`as-child`,`dir`])]),_:3}))}}),Sl=(0,n.defineComponent)({__name:`RovingFocusItem`,props:{tabStopId:{type:String,required:!1},focusable:{type:Boolean,required:!1,default:!0},active:{type:Boolean,required:!1},allowShiftKey:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let t=e,r=yl(),i=ko(),a=(0,n.computed)(()=>t.tabStopId||i),o=(0,n.computed)(()=>r.currentTabStopId.value===a.value),{getItems:s,CollectionItem:c}=ls();(0,n.onMounted)(()=>{t.focusable&&r.onFocusableItemAdd()}),(0,n.onUnmounted)(()=>{t.focusable&&r.onFocusableItemRemove()}),(0,n.watch)(()=>t.focusable,(e,t)=>{e!==t&&(e?r.onFocusableItemAdd():r.onFocusableItemRemove())});function l(e){if(e.key===`Tab`&&e.shiftKey){r.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let i=_s(e,r.orientation.value,r.dir.value);if(i!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||!t.allowShiftKey&&e.shiftKey)return;e.preventDefault();let a=[...s().map(e=>e.ref).filter(e=>e.dataset.disabled!==``)];if(i===`last`)a.reverse();else if(i===`prev`||i===`next`){i===`prev`&&a.reverse();let t=a.indexOf(e.currentTarget);a=r.loop.value?ys(a,t+1):a.slice(t+1)}(0,n.nextTick)(()=>vs(a))}}return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(c),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Po),{tabindex:o.value?0:-1,"data-orientation":(0,n.unref)(r).orientation.value,"data-active":e.active?``:void 0,"data-disabled":e.focusable?void 0:``,as:e.as,"as-child":e.asChild,onMousedown:t[0]||(t[0]=t=>{e.focusable?(0,n.unref)(r).onItemFocus(a.value):t.preventDefault()}),onFocus:t[1]||(t[1]=e=>(0,n.unref)(r).onItemFocus(a.value)),onKeydown:l},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`tabindex`,`data-orientation`,`data-active`,`data-disabled`,`as`,`as-child`])]),_:3}))}}),[Cl,zte]=io(`CheckboxGroupRoot`);function wl(e){return e===`indeterminate`}function Tl(e){return wl(e)?`indeterminate`:e?`checked`:`unchecked`}var[El,Dl]=io(`CheckboxRoot`),Ol=(0,n.defineComponent)({inheritAttrs:!1,__name:`CheckboxRoot`,props:{defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},disabled:{type:Boolean,required:!1},value:{type:null,required:!1,default:`on`},id:{type:String,required:!1},trueValue:{type:null,required:!1,default:()=>!0},falseValue:{type:null,required:!1,default:()=>!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:[`update:modelValue`],setup(t,{emit:r}){var i;let a=t,o=r,{forwardRef:s,currentElement:c}=xo(),l=Cl(null),u=e.H(a,`modelValue`,o,{defaultValue:(i=a.defaultValue)==null?a.falseValue:i,passive:a.modelValue===void 0}),d=(0,n.computed)(()=>(l==null?void 0:l.disabled.value)||a.disabled),f=(0,n.computed)(()=>no(u.value,a.trueValue)),p=(0,n.computed)(()=>so(l==null?void 0:l.modelValue.value)?u.value===`indeterminate`?`indeterminate`:f.value:co(l.modelValue.value,a.value));function m(){if(so(l==null?void 0:l.modelValue.value))u.value===`indeterminate`?u.value=a.trueValue:u.value=f.value?a.falseValue:a.trueValue;else{let e=[...l.modelValue.value||[]];if(co(e,a.value)){let t=e.findIndex(e=>no(e,a.value));e.splice(t,1)}else e.push(a.value);l.modelValue.value=e}}let h=bo(c),g=qee(),_=(0,n.useAttrs)(),v=(0,n.computed)(()=>{var e;if(!_[`aria-label`])return a.id&&c.value?(e=document.querySelector(`[for="${a.id}"]`))==null?void 0:e.innerText:void 0});return Dl({disabled:d,state:p}),(e,t)=>{var r,i;return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)((r=(0,n.unref)(l))!=null&&r.rovingFocus.value?(0,n.unref)(Sl):(0,n.unref)(Po)),(0,n.mergeProps)({...e.$attrs,...(0,n.unref)(g)},{id:e.id,ref:(0,n.unref)(s),role:`checkbox`,"as-child":e.asChild,as:e.as,type:e.as===`button`?`button`:void 0,"aria-checked":(0,n.unref)(wl)(p.value)?`mixed`:p.value,"aria-required":e.required,"aria-label":e.$attrs[`aria-label`]||v.value,"data-state":(0,n.unref)(Tl)(p.value),"data-disabled":d.value?``:void 0,disabled:d.value,focusable:(i=(0,n.unref)(l))!=null&&i.rovingFocus.value?!d.value:void 0,onKeydown:(0,n.withKeys)((0,n.withModifiers)(()=>{},[`prevent`]),[`enter`]),onClick:m}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{modelValue:(0,n.unref)(u),state:p.value})]),_:3},16,[`id`,`as-child`,`as`,`type`,`aria-checked`,`aria-required`,`aria-label`,`data-state`,`data-disabled`,`disabled`,`focusable`,`onKeydown`])),(0,n.unref)(h)&&e.name&&!(0,n.unref)(l)?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(fs),(0,n.mergeProps)({key:0,type:`checkbox`,checked:!!p.value,name:e.name,value:e.value,disabled:d.value,required:e.required},(0,n.unref)(g)),null,16,[`checked`,`name`,`value`,`disabled`,`required`])):(0,n.createCommentVNode)(`v-if`,!0)],64)}}}),kl=(0,n.defineComponent)({__name:`CheckboxIndicator`,props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let{forwardRef:t}=xo(),r=El();return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Mo),{present:e.forceMount||(0,n.unref)(wl)((0,n.unref)(r).state.value)||(0,n.unref)(r).state.value===!0},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Po),(0,n.mergeProps)({ref:(0,n.unref)(t),"data-state":(0,n.unref)(Tl)((0,n.unref)(r).state.value),"data-disabled":(0,n.unref)(r).disabled.value?``:void 0,style:{pointerEvents:`none`},"as-child":e.asChild,as:e.as},e.$attrs),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`data-state`,`data-disabled`,`as-child`,`as`])]),_:3},8,[`present`]))}}),Al=(0,n.defineComponent)({__name:`Label`,props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`label`}},setup(e){let t=e;return xo(),(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),(0,n.mergeProps)(t,{onMousedown:r[0]||(r[0]=e=>{!e.defaultPrevented&&e.detail>1&&e.preventDefault()})}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),jl=[` `,`Enter`,`ArrowUp`,`ArrowDown`],Ml=[` `,`Enter`];function Nl(e,t,n){return e===void 0?!1:Array.isArray(e)?e.some(e=>Pl(e,t,n)):Pl(e,t,n)}function Pl(e,t,n){return e===void 0||t===void 0?!1:typeof e==`string`?e===t:typeof n==`function`?n(e,t):typeof n==`string`?(e==null?void 0:e[n])===(t==null?void 0:t[n]):no(e,t)}function Fl(e){return e==null||e===``||Array.isArray(e)&&e.length===0}var Il=[`value`],[Ll,Rl]=io(`SelectRoot`),zl=(0,n.defineComponent)({inheritAttrs:!1,__name:`SelectRoot`,props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},nullableValue:{type:String,required:!1,default:``},by:{type:[String,Function],required:!1},dir:{type:String,required:!1},multiple:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:[`update:modelValue`,`update:open`],setup(t,{emit:r}){var i;let a=t,o=r,{required:s,disabled:c,multiple:l,dir:u}=(0,n.toRefs)(a),d=e.H(a,`modelValue`,o,{defaultValue:(i=a.defaultValue)==null?l.value?[]:void 0:i,passive:a.modelValue===void 0,deep:!0}),f=e.H(a,`open`,o,{defaultValue:a.defaultOpen,passive:a.open===void 0}),p=(0,n.ref)(),m=(0,n.ref)(),h=(0,n.ref)({x:0,y:0}),g=(0,n.computed)(()=>{var e;return l.value&&Array.isArray(d.value)?((e=d.value)==null?void 0:e.length)===0:so(d.value)});ls({isProvider:!0});let _=_o(u),v=bo(p),y=(0,n.ref)(new Set),b=(0,n.computed)(()=>Array.from(y.value).map(e=>e.value).join(`;`));function x(e){if(l.value){let t=Array.isArray(d.value)?[...d.value]:[],n=t.findIndex(t=>Pl(t,e,a.by));n===-1?t.push(e):t.splice(n,1),d.value=[...t]}else d.value=e}function S(e){return Array.from(y.value).find(t=>Nl(e,t.value,a.by))}return Rl({triggerElement:p,onTriggerChange:e=>{p.value=e},valueElement:m,onValueElementChange:e=>{m.value=e},contentId:``,modelValue:d,onValueChange:x,by:a.by,open:f,multiple:l,required:s,onOpenChange:e=>{f.value=e},dir:_,triggerPointerDownPosRef:h,disabled:c,isEmptyModelValue:g,optionsSet:y,onOptionAdd:e=>{let t=S(e.value);t&&y.value.delete(t),y.value.add(e)},onOptionRemove:e=>{let t=S(e.value);t&&y.value.delete(t)}}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ss),null,{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{modelValue:(0,n.unref)(d),open:(0,n.unref)(f)}),(0,n.unref)(v)&&e.name?((0,n.openBlock)(),(0,n.createBlock)(Bl,{key:b.value,"aria-hidden":`true`,tabindex:`-1`,multiple:(0,n.unref)(l),required:(0,n.unref)(s),name:e.name,autocomplete:e.autocomplete,disabled:(0,n.unref)(c),value:(0,n.unref)(d)},{default:(0,n.withCtx)(()=>[(0,n.unref)(so)((0,n.unref)(d))?((0,n.openBlock)(),(0,n.createElementBlock)(`option`,{key:0,value:e.nullableValue},null,8,Il)):(0,n.createCommentVNode)(`v-if`,!0),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(Array.from(y.value),e=>{var t;return(0,n.openBlock)(),(0,n.createElementBlock)(`option`,(0,n.mergeProps)({key:(t=e.value)==null?``:t},{ref_for:!0},e),null,16)}),128))]),_:1},8,[`multiple`,`required`,`name`,`autocomplete`,`disabled`,`value`])):(0,n.createCommentVNode)(`v-if`,!0)]),_:3}))}}),Bl=(0,n.defineComponent)({__name:`BubbleSelect`,props:{autocomplete:{type:String,required:!1},autofocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},form:{type:String,required:!1},multiple:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},size:{type:Number,required:!1},value:{type:null,required:!1}},setup(e){let t=e,r=(0,n.ref)(),i=Ll();(0,n.watch)(()=>t.value,(e,t)=>{let n=window.HTMLSelectElement.prototype,i=Object.getOwnPropertyDescriptor(n,`value`).set;if(e!==t&&i&&r.value){let t=new Event(`change`,{bubbles:!0});i.call(r.value,e),r.value.dispatchEvent(t)}});function a(e){i.onValueChange(e.target.value)}return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(us),{"as-child":``},{default:(0,n.withCtx)(()=>[(0,n.createElementVNode)(`select`,(0,n.mergeProps)({ref_key:`selectElement`,ref:r},t,{onInput:a}),[(0,n.renderSlot)(e.$slots,`default`)],16)]),_:3}))}}),Vl=(0,n.defineComponent)({__name:`SelectPopperPosition`,props:{memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:`start`},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1,default:10},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=So(e);return(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(_l),(0,n.mergeProps)((0,n.unref)(t),{style:{boxSizing:`border-box`,"--reka-select-content-transform-origin":`var(--reka-popper-transform-origin)`,"--reka-select-content-available-width":`var(--reka-popper-available-width)`,"--reka-select-content-available-height":`var(--reka-popper-available-height)`,"--reka-select-trigger-width":`var(--reka-popper-anchor-width)`,"--reka-select-trigger-height":`var(--reka-popper-anchor-height)`}}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),Hl={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[Ul,Wl]=io(`SelectContent`),Gl=(0,n.defineComponent)({__name:`SelectContentImpl`,props:{position:{type:String,required:!1,default:`item-aligned`},bodyLock:{type:Boolean,required:!1,default:!0},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:`start`},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:!0}},emits:[`closeAutoFocus`,`escapeKeyDown`,`pointerDownOutside`],setup(t,{emit:r}){let i=t,a=r,o=Ll();Kee(),Uee(i.bodyLock);let{CollectionSlot:s,getItems:c}=ls(),l=(0,n.ref)();ate(l);let{search:u,handleTypeaheadSearch:d}=Ao(),f=(0,n.ref)(),p=(0,n.ref)(),m=(0,n.ref)(),h=(0,n.ref)(!1),g=(0,n.ref)(!1),_=(0,n.ref)(!1);function v(){p.value&&l.value&&os([p.value,l.value])}(0,n.watch)(h,()=>{v()});let{onOpenChange:y,triggerPointerDownPosRef:b}=o;(0,n.watchEffect)(e=>{if(!l.value)return;let t={x:0,y:0},n=e=>{var n,r,i,a;t={x:Math.abs(Math.round(e.pageX)-((n=(r=b.value)==null?void 0:r.x)==null?0:n)),y:Math.abs(Math.round(e.pageY)-((i=(a=b.value)==null?void 0:a.y)==null?0:i))}},r=e=>{var r;e.pointerType!==`touch`&&(t.x<=10&&t.y<=10?e.preventDefault():(r=l.value)!=null&&r.contains(e.target)||y(!1),document.removeEventListener(`pointermove`,n),b.value=null)};b.value!==null&&(document.addEventListener(`pointermove`,n),document.addEventListener(`pointerup`,r,{capture:!0,once:!0})),e(()=>{document.removeEventListener(`pointermove`,n),document.removeEventListener(`pointerup`,r,{capture:!0})})});function x(e){let t=e.ctrlKey||e.altKey||e.metaKey;if(e.key===`Tab`&&e.preventDefault(),!t&&e.key.length===1&&d(e.key,c()),[`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(e.key)){let t=[...c().map(e=>e.ref)];if([`ArrowUp`,`End`].includes(e.key)&&(t=t.slice().reverse()),[`ArrowUp`,`ArrowDown`].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>os(t)),e.preventDefault()}}let S=So((0,n.computed)(()=>i.position===`popper`?i:{}).value);return Wl({content:l,viewport:f,onViewportChange:e=>{f.value=e},itemRefCallback:(e,t,n)=>{let r=!g.value&&!n,i=Nl(o.modelValue.value,t,o.by);if(o.multiple.value){if(_.value)return;(i||r)&&(p.value=e,i&&(_.value=!0))}else(i||r)&&(p.value=e);r&&(g.value=!0)},selectedItem:p,selectedItemText:m,onItemLeave:()=>{var e;(e=l.value)==null||e.focus()},itemTextRefCallback:(e,t,n)=>{let r=!g.value&&!n;(Nl(o.modelValue.value,t,o.by)||r)&&(m.value=e)},focusSelectedItem:v,position:i.position,isPositioned:h,searchRef:u}),(t,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(s),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(ns),{"as-child":``,onMountAutoFocus:r[6]||(r[6]=(0,n.withModifiers)(()=>{},[`prevent`])),onUnmountAutoFocus:r[7]||(r[7]=e=>{var t;a(`closeAutoFocus`,e),!e.defaultPrevented&&((t=(0,n.unref)(o).triggerElement.value)==null||t.focus({preventScroll:!0}),e.preventDefault())})},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Wo),{"as-child":``,"disable-outside-pointer-events":t.disableOutsidePointerEvents,onFocusOutside:r[2]||(r[2]=(0,n.withModifiers)(()=>{},[`prevent`])),onDismiss:r[3]||(r[3]=e=>(0,n.unref)(o).onOpenChange(!1)),onEscapeKeyDown:r[4]||(r[4]=e=>a(`escapeKeyDown`,e)),onPointerDownOutside:r[5]||(r[5]=e=>a(`pointerDownOutside`,e))},{default:(0,n.withCtx)(()=>[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(t.position===`popper`?Vl:Jl),(0,n.mergeProps)({...t.$attrs,...(0,n.unref)(S)},{id:(0,n.unref)(o).contentId,ref:t=>{if(!t)return;let r=(0,n.unref)(e.I)(t);r!=null&&r.hasAttribute(`data-reka-popper-content-wrapper`)?l.value=r.firstElementChild:l.value=r},role:`listbox`,"data-state":(0,n.unref)(o).open.value?`open`:`closed`,dir:(0,n.unref)(o).dir.value,style:{display:`flex`,flexDirection:`column`,outline:`none`},onContextmenu:r[0]||(r[0]=(0,n.withModifiers)(()=>{},[`prevent`])),onPlaced:r[1]||(r[1]=e=>h.value=!0),onKeydown:x}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(t.$slots,`default`)]),_:3},16,[`id`,`data-state`,`dir`,`onKeydown`]))]),_:3},8,[`disable-outside-pointer-events`])]),_:3})]),_:3}))}}),[Kl,ql]=io(`SelectItemAlignedPosition`),Jl=(0,n.defineComponent)({inheritAttrs:!1,__name:`SelectItemAlignedPosition`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`placed`],setup(t,{emit:r}){let i=t,a=r,{getItems:o}=ls(),s=Ll(),c=Ul(),l=(0,n.ref)(!1),u=(0,n.ref)(!0),d=(0,n.ref)(),{forwardRef:f,currentElement:p}=xo(),{viewport:m,selectedItem:h,selectedItemText:g,focusSelectedItem:_}=c;function v(){if(s.triggerElement.value&&s.valueElement.value&&d.value&&p.value&&m!=null&&m.value&&h!=null&&h.value&&g!=null&&g.value){let e=s.triggerElement.value.getBoundingClientRect(),t=p.value.getBoundingClientRect(),n=s.valueElement.value.getBoundingClientRect(),r=g.value.getBoundingClientRect();if(s.dir.value!==`rtl`){let i=r.left-t.left,a=n.left-i,o=e.left-a,s=e.width+o,c=Math.max(s,t.width),l=window.innerWidth-10,u=ro(a,10,Math.max(10,l-c));d.value.style.minWidth=`${s}px`,d.value.style.left=`${u}px`}else{let i=t.right-r.right,a=window.innerWidth-n.right-i,o=window.innerWidth-e.right-a,s=e.width+o,c=Math.max(s,t.width),l=window.innerWidth-10,u=ro(a,10,Math.max(10,l-c));d.value.style.minWidth=`${s}px`,d.value.style.right=`${u}px`}let i=o().map(e=>e.ref),c=window.innerHeight-20,u=m.value.scrollHeight,f=window.getComputedStyle(p.value),_=Number.parseInt(f.borderTopWidth,10),v=Number.parseInt(f.paddingTop,10),y=Number.parseInt(f.borderBottomWidth,10),b=Number.parseInt(f.paddingBottom,10),x=_+v+u+b+y,S=Math.min(h.value.offsetHeight*5,x),C=window.getComputedStyle(m.value),w=Number.parseInt(C.paddingTop,10),T=Number.parseInt(C.paddingBottom,10),E=e.top+e.height/2-10,ee=c-E,te=h.value.offsetHeight/2,ne=h.value.offsetTop+te,D=_+v+ne,re=x-D;if(D<=E){let e=h.value===i.at(-1);d.value.style.bottom=`0px`;let t=p.value.clientHeight-m.value.offsetTop-m.value.offsetHeight,n=D+Math.max(ee,te+(e?T:0)+t+y);d.value.style.height=`${n}px`}else{let e=h.value===i[0];d.value.style.top=`0px`;let t=Math.max(E,_+m.value.offsetTop+(e?w:0)+te)+re;d.value.style.height=`${t}px`,m.value.scrollTop=D-E+m.value.offsetTop}d.value.style.margin=`10px 0`,d.value.style.minHeight=`${S}px`,d.value.style.maxHeight=`${c}px`,a(`placed`),requestAnimationFrame(()=>l.value=!0)}}let y=(0,n.ref)(``);(0,n.onMounted)(async()=>{await(0,n.nextTick)(),v(),p.value&&(y.value=window.getComputedStyle(p.value).zIndex)});function b(e){e&&u.value===!0&&(v(),_==null||_(),u.value=!1)}return e.B(s.triggerElement,()=>{v()}),ql({contentWrapper:d,shouldExpandOnScrollRef:l,onScrollButtonChange:b}),(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{ref_key:`contentWrapperElement`,ref:d,style:(0,n.normalizeStyle)({display:`flex`,flexDirection:`column`,position:`fixed`,zIndex:y.value})},[(0,n.createVNode)((0,n.unref)(Po),(0,n.mergeProps)({ref:(0,n.unref)(f),style:{boxSizing:`border-box`,maxHeight:`100%`}},{...e.$attrs,...i}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16)],4))}}),Yl=(0,n.defineComponent)({inheritAttrs:!1,__name:`SelectProvider`,props:{context:{type:Object,required:!0}},setup(e){return Rl(e.context),Wl(Hl),(e,t)=>(0,n.renderSlot)(e.$slots,`default`)}}),Xl={key:1},Zl=(0,n.defineComponent)({inheritAttrs:!1,__name:`SelectContent`,props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},dir:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:[`closeAutoFocus`,`escapeKeyDown`,`pointerDownOutside`],setup(e,{emit:t}){let r=e,i=Co(r,t),a=Ll(),o=(0,n.ref)();(0,n.onMounted)(()=>{o.value=new DocumentFragment});let s=(0,n.ref)(),c=(0,n.computed)(()=>r.forceMount||a.open.value),l=(0,n.ref)(c.value),u;function d(){u&&(clearTimeout(u),u=void 0)}return(0,n.watch)(c,(e,t,n)=>{d(),u=setTimeout(()=>{l.value=c.value,u=void 0}),n(d)}),(0,n.onUnmounted)(d),(e,t)=>{var r;return c.value||l.value||(r=s.value)!=null&&r.present?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Mo),{key:0,ref_key:`presenceRef`,ref:s,present:c.value},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(Gl,(0,n.normalizeProps)((0,n.guardReactiveProps)({...(0,n.unref)(i),...e.$attrs})),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16)]),_:3},8,[`present`])):o.value?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Xl,[((0,n.openBlock)(),(0,n.createBlock)(n.Teleport,{to:o.value},[(0,n.createVNode)(Yl,{context:(0,n.unref)(a)},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`context`])],8,[`to`]))])):(0,n.createCommentVNode)(`v-if`,!0)}}}),[Bte,Ql]=io(`SelectGroup`),$l=(0,n.defineComponent)({__name:`SelectGroup`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,r=ko(void 0,`reka-select-group`);return Ql({id:r}),(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),(0,n.mergeProps)({role:`group`},t,{"aria-labelledby":(0,n.unref)(r)}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`aria-labelledby`]))}}),eu=(0,n.defineComponent)({__name:`SelectIcon`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{"aria-hidden":`true`,as:e.as,"as-child":e.asChild},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{},()=>[t[0]||(t[0]=(0,n.createTextVNode)(`▼`))])]),_:3},8,[`as`,`as-child`]))}}),[tu,nu]=io(`SelectItem`),ru=(0,n.defineComponent)({__name:`SelectItem`,props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`],setup(e,{emit:t}){var r;let i=e,a=t,{disabled:o}=(0,n.toRefs)(i),s=Ll(),c=Ul(),{forwardRef:l,currentElement:u}=xo(),{CollectionItem:d}=ls(),f=(0,n.computed)(()=>{var e;return Nl((e=s.modelValue)==null?void 0:e.value,i.value,s.by)}),p=(0,n.ref)(!1),m=(0,n.ref)((r=i.textValue)==null?``:r),h=ko(void 0,`reka-select-item-text`);async function g(e){e.defaultPrevented||oo(`select.select`,_,{originalEvent:e,value:i.value})}async function _(e){await(0,n.nextTick)(),a(`select`,e),!e.defaultPrevented&&(o.value||(s.onValueChange(i.value),s.multiple.value||s.onOpenChange(!1)))}async function v(e){var t,r;await(0,n.nextTick)(),!e.defaultPrevented&&(o.value?(t=c.onItemLeave)==null||t.call(c):(r=e.currentTarget)==null||r.focus({preventScroll:!0}))}async function y(e){var t;await(0,n.nextTick)(),!e.defaultPrevented&&e.currentTarget===ao()&&((t=c.onItemLeave)==null||t.call(c))}async function b(e){var t;await(0,n.nextTick)(),!e.defaultPrevented&&(((t=c.searchRef)==null?void 0:t.value)===``||e.key!==` `)&&(Ml.includes(e.key)&&g(e),e.key===` `&&e.preventDefault())}if(i.value===``)throw Error(`A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.`);return(0,n.onMounted)(()=>{u.value&&c.itemRefCallback(u.value,i.value,i.disabled)}),nu({value:i.value,disabled:o,textId:h,isSelected:f,onItemTextChange:e=>{var t;m.value=((t=m.value||(e==null?void 0:e.textContent))==null?``:t).trim()}}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(d),{value:{textValue:m.value}},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Po),{ref:(0,n.unref)(l),role:`option`,"aria-labelledby":(0,n.unref)(h),"data-highlighted":p.value?``:void 0,"aria-selected":f.value,"data-state":f.value?`checked`:`unchecked`,"aria-disabled":(0,n.unref)(o)||void 0,"data-disabled":(0,n.unref)(o)?``:void 0,tabindex:(0,n.unref)(o)?void 0:-1,as:e.as,"as-child":e.asChild,onFocus:t[0]||(t[0]=e=>p.value=!0),onBlur:t[1]||(t[1]=e=>p.value=!1),onPointerup:g,onPointerdown:t[2]||(t[2]=e=>{e.currentTarget.focus({preventScroll:!0})}),onTouchend:t[3]||(t[3]=(0,n.withModifiers)(()=>{},[`prevent`,`stop`])),onPointermove:v,onPointerleave:y,onKeydown:b},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`aria-labelledby`,`data-highlighted`,`aria-selected`,`data-state`,`aria-disabled`,`data-disabled`,`tabindex`,`as`,`as-child`])]),_:3},8,[`value`]))}}),iu=(0,n.defineComponent)({__name:`SelectItemIndicator`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let t=e,r=tu();return(e,i)=>(0,n.unref)(r).isSelected.value?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),(0,n.mergeProps)({key:0,"aria-hidden":`true`},t),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16)):(0,n.createCommentVNode)(`v-if`,!0)}}),au=(0,n.defineComponent)({inheritAttrs:!1,__name:`SelectItemText`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let t=e,r=Ll(),i=Ul(),a=tu(),{forwardRef:o,currentElement:s}=xo(),c=(0,n.computed)(()=>{var e,t,n,r;return{value:a.value,disabled:a.disabled.value,textContent:(e=(t=(n=s.value)==null?void 0:n.textContent)==null?(r=a.value)==null?void 0:r.toString():t)==null?``:e}});return(0,n.onMounted)(()=>{s.value&&(a.onItemTextChange(s.value),i.itemTextRefCallback(s.value,a.value,a.disabled.value),r.onOptionAdd(c.value))}),(0,n.onUnmounted)(()=>{r.onOptionRemove(c.value)}),(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),(0,n.mergeProps)({id:(0,n.unref)(a).textId,ref:(0,n.unref)(o)},{...t,...e.$attrs}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`id`]))}}),ou=(0,n.defineComponent)({__name:`SelectPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=e;return(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(ss),(0,n.normalizeProps)((0,n.guardReactiveProps)(t)),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),su=(0,n.defineComponent)({__name:`SelectScrollButtonImpl`,emits:[`autoScroll`],setup(e,{emit:t}){let r=t,{getItems:i}=ls(),a=Ul(),o=(0,n.ref)(null);function s(){o.value!==null&&(window.clearInterval(o.value),o.value=null)}(0,n.watchEffect)(()=>{let e=i().map(e=>e.ref).find(e=>e===ao());e==null||e.scrollIntoView({block:`nearest`})});function c(){o.value===null&&(o.value=window.setInterval(()=>{r(`autoScroll`)},50))}function l(){var e;(e=a.onItemLeave)==null||e.call(a),o.value===null&&(o.value=window.setInterval(()=>{r(`autoScroll`)},50))}return(0,n.onBeforeUnmount)(()=>s()),(e,t)=>{var r;return(0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),(0,n.mergeProps)({"aria-hidden":`true`,style:{flexShrink:0}},(r=e.$parent)==null?void 0:r.$props,{onPointerdown:c,onPointermove:l,onPointerleave:t[0]||(t[0]=()=>{s()})}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16)}}}),cu=(0,n.defineComponent)({__name:`SelectScrollDownButton`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=Ul(),r=t.position===`item-aligned`?Kl():void 0,{forwardRef:i,currentElement:a}=xo(),o=(0,n.ref)(!1);return(0,n.watchEffect)(e=>{var n,r;if((n=t.viewport)!=null&&n.value&&(r=t.isPositioned)!=null&&r.value){let n=t.viewport.value;function i(){let e=n.scrollHeight-n.clientHeight;o.value=Math.ceil(n.scrollTop)<e}i(),n.addEventListener(`scroll`,i),e(()=>n.removeEventListener(`scroll`,i))}}),(0,n.watch)(a,()=>{a.value&&(r==null||r.onScrollButtonChange(a.value))}),(e,r)=>o.value?((0,n.openBlock)(),(0,n.createBlock)(su,{key:0,ref:(0,n.unref)(i),onAutoScroll:r[0]||(r[0]=()=>{let{viewport:e,selectedItem:r}=(0,n.unref)(t);e!=null&&e.value&&r!=null&&r.value&&(e.value.scrollTop=e.value.scrollTop+r.value.offsetHeight)})},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},512)):(0,n.createCommentVNode)(`v-if`,!0)}}),lu=(0,n.defineComponent)({__name:`SelectScrollUpButton`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=Ul(),r=t.position===`item-aligned`?Kl():void 0,{forwardRef:i,currentElement:a}=xo(),o=(0,n.ref)(!1);return(0,n.watchEffect)(e=>{var n,r;if((n=t.viewport)!=null&&n.value&&(r=t.isPositioned)!=null&&r.value){let n=t.viewport.value;function i(){o.value=n.scrollTop>0}i(),n.addEventListener(`scroll`,i),e(()=>n.removeEventListener(`scroll`,i))}}),(0,n.watch)(a,()=>{a.value&&(r==null||r.onScrollButtonChange(a.value))}),(e,r)=>o.value?((0,n.openBlock)(),(0,n.createBlock)(su,{key:0,ref:(0,n.unref)(i),onAutoScroll:r[0]||(r[0]=()=>{let{viewport:e,selectedItem:r}=(0,n.unref)(t);e!=null&&e.value&&r!=null&&r.value&&(e.value.scrollTop=e.value.scrollTop-r.value.offsetHeight)})},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},512)):(0,n.createCommentVNode)(`v-if`,!0)}}),uu=(0,n.defineComponent)({__name:`SelectTrigger`,props:{disabled:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e,r=Ll(),{forwardRef:i,currentElement:a}=xo(),o=(0,n.computed)(()=>{var e;return((e=r.disabled)==null?void 0:e.value)||t.disabled});r.contentId||(r.contentId=ko(void 0,`reka-select-content`)),(0,n.onMounted)(()=>{r.onTriggerChange(a.value)});let{getItems:s}=ls(),{search:c,handleTypeaheadSearch:l,resetTypeahead:u}=Ao();function d(){o.value||(r.onOpenChange(!0),u())}function f(e){d(),r.triggerPointerDownPosRef.value={x:Math.round(e.pageX),y:Math.round(e.pageY)}}function p(e){return e.button===0&&e.ctrlKey===!1}let m=!1;function h(e){if(e.pointerType===`touch`)return e.preventDefault();let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),p(e)&&(f(e),m=!0)}function g(e){p(e)&&e.preventDefault()}function _(e){var t;m||(t=e.currentTarget)==null||t.focus(),m=!1}return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Cs),{"as-child":``,reference:e.reference},{default:(0,n.withCtx)(()=>{var a,u,p,m;return[(0,n.createVNode)((0,n.unref)(Po),{ref:(0,n.unref)(i),role:`combobox`,type:e.as===`button`?`button`:void 0,"aria-controls":(0,n.unref)(r).open.value?(0,n.unref)(r).contentId:void 0,"aria-expanded":(0,n.unref)(r).open.value||!1,"aria-required":(a=(0,n.unref)(r).required)==null?void 0:a.value,"aria-autocomplete":`none`,disabled:o.value,dir:(u=(0,n.unref)(r))==null?void 0:u.dir.value,"data-state":(p=(0,n.unref)(r))!=null&&p.open.value?`open`:`closed`,"data-disabled":o.value?``:void 0,"data-placeholder":(0,n.unref)(Fl)((m=(0,n.unref)(r).modelValue)==null?void 0:m.value)?``:void 0,"as-child":e.asChild,as:e.as,onClick:_,onPointerdown:h,onMousedown:g,onPointerup:t[0]||(t[0]=(0,n.withModifiers)(e=>{e.pointerType===`touch`&&f(e)},[`prevent`])),onKeydown:t[1]||(t[1]=e=>{let t=(0,n.unref)(c)!==``;!(e.ctrlKey||e.altKey||e.metaKey)&&e.key.length===1&&t&&e.key===` `||((0,n.unref)(l)(e.key,(0,n.unref)(s)()),(0,n.unref)(jl).includes(e.key)&&(d(),e.preventDefault()))})},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`type`,`aria-controls`,`aria-expanded`,`aria-required`,`disabled`,`dir`,`data-state`,`data-disabled`,`data-placeholder`,`as-child`,`as`])]}),_:3},8,[`reference`]))}}),du=(0,n.defineComponent)({__name:`SelectValue`,props:{placeholder:{type:String,required:!1,default:``},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let t=e,{forwardRef:r,currentElement:i}=xo(),a=Ll();(0,n.onMounted)(()=>{a.valueElement=i});let o=(0,n.computed)(()=>{var e,t;let n=[],r=Array.from(a.optionsSet.value),i=e=>r.find(t=>Nl(e,t.value,a.by));return n=Array.isArray(a.modelValue.value)?a.modelValue.value.map(e=>{var t,n;return(t=(n=i(e))==null?void 0:n.textContent)==null?``:t}):[(e=(t=i(a.modelValue.value))==null?void 0:t.textContent)==null?``:e],n.filter(Boolean)}),s=(0,n.computed)(()=>o.value.length?o.value.join(`, `):t.placeholder);return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{ref:(0,n.unref)(r),as:e.as,"as-child":e.asChild,style:{pointerEvents:`none`},"data-placeholder":o.value.length?void 0:t.placeholder},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{selectedLabel:o.value,modelValue:(0,n.unref)(a).modelValue.value},()=>[(0,n.createTextVNode)((0,n.toDisplayString)(s.value),1)])]),_:3},8,[`as`,`as-child`,`data-placeholder`]))}}),fu=(0,n.defineComponent)({__name:`SelectViewport`,props:{nonce:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,{nonce:r}=(0,n.toRefs)(t),i=vl(r),a=Ul(),o=a.position===`item-aligned`?Kl():void 0,{forwardRef:s,currentElement:c}=xo();(0,n.onMounted)(()=>{a==null||a.onViewportChange(c.value)});let l=(0,n.ref)(0);function u(e){let t=e.currentTarget,{shouldExpandOnScrollRef:n,contentWrapper:r}=o==null?{}:o;if(n!=null&&n.value&&r!=null&&r.value){let e=Math.abs(l.value-t.scrollTop);if(e>0){let n=window.innerHeight-20,i=Number.parseFloat(r.value.style.minHeight),a=Number.parseFloat(r.value.style.height),o=Math.max(i,a);if(o<n){let i=o+e,a=Math.min(n,i),s=i-a;r.value.style.height=`${a}px`,r.value.style.bottom===`0px`&&(t.scrollTop=s>0?s:0,r.value.style.justifyContent=`flex-end`)}}}l.value=t.scrollTop}return(e,r)=>((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[(0,n.createVNode)((0,n.unref)(Po),(0,n.mergeProps)({ref:(0,n.unref)(s),"data-reka-select-viewport":``,role:`presentation`},{...e.$attrs,...t},{style:{position:`relative`,flex:1,overflow:`hidden auto`},onScroll:u}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16),(0,n.createVNode)((0,n.unref)(Po),{as:`style`,nonce:(0,n.unref)(i)},{default:(0,n.withCtx)(()=>r[0]||(r[0]=[(0,n.createTextVNode)(` /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-select-viewport]::-webkit-scrollbar { display: none; } `)])),_:1,__:[0]},8,[`nonce`])],64))}}),[pu,mu]=io(`TabsRoot`),hu=(0,n.defineComponent)({__name:`TabsRoot`,props:{defaultValue:{type:null,required:!1},orientation:{type:String,required:!1,default:`horizontal`},dir:{type:String,required:!1},activationMode:{type:String,required:!1,default:`automatic`},modelValue:{type:null,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`update:modelValue`],setup(t,{emit:r}){let i=t,a=r,{orientation:o,unmountOnHide:s,dir:c}=(0,n.toRefs)(i),l=_o(c);xo();let u=e.H(i,`modelValue`,a,{defaultValue:i.defaultValue,passive:i.modelValue===void 0}),d=(0,n.ref)(),f=(0,n.shallowRef)(new Set);return mu({modelValue:u,changeModelValue:e=>{u.value=e},orientation:o,dir:l,unmountOnHide:s,activationMode:i.activationMode,baseId:ko(void 0,`reka-tabs`),tabsList:d,contentIds:f,registerContent:e=>{f.value=new Set([...f.value,e])},unregisterContent:e=>{let t=new Set(f.value);t.delete(e),f.value=t}}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{dir:(0,n.unref)(l),"data-orientation":(0,n.unref)(o),"as-child":e.asChild,as:e.as},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{modelValue:(0,n.unref)(u)})]),_:3},8,[`dir`,`data-orientation`,`as-child`,`as`]))}});function gu(e,t){return`${e}-trigger-${t}`}function _u(e,t){return`${e}-content-${t}`}var vu=(0,n.defineComponent)({__name:`TabsContent`,props:{value:{type:[String,Number],required:!0},forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,{forwardRef:r}=xo(),i=pu(),a=(0,n.computed)(()=>gu(i.baseId,t.value)),o=(0,n.computed)(()=>_u(i.baseId,t.value)),s=(0,n.computed)(()=>t.value===i.modelValue.value),c=(0,n.ref)(s.value);return(0,n.onMounted)(()=>{i.registerContent(t.value),requestAnimationFrame(()=>{c.value=!1})}),(0,n.onBeforeUnmount)(()=>{i.unregisterContent(t.value)}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Mo),{present:e.forceMount||s.value,"force-mount":``},{default:(0,n.withCtx)(({present:t})=>[(0,n.createVNode)((0,n.unref)(Po),{id:o.value,ref:(0,n.unref)(r),"as-child":e.asChild,as:e.as,role:`tabpanel`,"data-state":s.value?`active`:`inactive`,"data-orientation":(0,n.unref)(i).orientation.value,"aria-labelledby":a.value,hidden:!t,tabindex:`0`,style:(0,n.normalizeStyle)({animationDuration:c.value?`0s`:void 0})},{default:(0,n.withCtx)(()=>[!(0,n.unref)(i).unmountOnHide.value||t?(0,n.renderSlot)(e.$slots,`default`,{key:0}):(0,n.createCommentVNode)(`v-if`,!0)]),_:2},1032,[`id`,`as-child`,`as`,`data-state`,`data-orientation`,`aria-labelledby`,`hidden`,`style`])]),_:3},8,[`present`]))}}),yu=(0,n.defineComponent)({__name:`TabsIndicator`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t,{expose:r}){let i=t,a=pu();r({updateIndicatorStyle:l}),xo();let o=e.z(),s=(0,n.ref)({size:null,thickness:null,position:null}),c=(0,n.ref)([]);(0,n.watch)(()=>[a.modelValue.value,a==null?void 0:a.dir.value],()=>{l()},{immediate:!0,flush:`post`}),(0,n.watchPostEffect)(()=>{var e;c.value=Array.from(((e=a.tabsList.value)==null?void 0:e.querySelectorAll(`[role="tab"]`))||[])}),e.B((0,n.computed)(()=>[a.tabsList.value,...c.value]),l);function l(){var e;let t=(e=a.tabsList.value)==null?void 0:e.querySelector(`[role="tab"][data-state="active"]`);t&&(a.orientation.value===`horizontal`?s.value={size:t.offsetWidth,thickness:t.offsetHeight,position:t.offsetLeft}:s.value={size:t.offsetHeight,thickness:t.offsetWidth,position:t.offsetTop})}return(e,t)=>(0,n.unref)(o)&&typeof s.value.size==`number`?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),(0,n.mergeProps)({key:0},i,{style:{"--reka-tabs-indicator-size":`${s.value.size}px`,"--reka-tabs-indicator-thickness":`${s.value.thickness}px`,"--reka-tabs-indicator-position":`${s.value.position}px`}}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`style`])):(0,n.createCommentVNode)(`v-if`,!0)}}),bu=(0,n.defineComponent)({__name:`TabsList`,props:{loop:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let{loop:t}=(0,n.toRefs)(e),{forwardRef:r,currentElement:i}=xo(),a=pu();return a.tabsList=i,(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(xl),{"as-child":``,orientation:(0,n.unref)(a).orientation.value,dir:(0,n.unref)(a).dir.value,loop:(0,n.unref)(t)},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Po),{ref:(0,n.unref)(r),role:`tablist`,"as-child":e.asChild,as:e.as,"aria-orientation":(0,n.unref)(a).orientation.value},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`as-child`,`as`,`aria-orientation`])]),_:3},8,[`orientation`,`dir`,`loop`]))}}),xu=(0,n.defineComponent)({__name:`TabsTrigger`,props:{value:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e,{forwardRef:r}=xo(),i=pu(),a=(0,n.computed)(()=>gu(i.baseId,t.value)),o=(0,n.computed)(()=>i.contentIds.value.has(t.value)?_u(i.baseId,t.value):void 0),s=(0,n.computed)(()=>t.value===i.modelValue.value);return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Sl),{"as-child":``,focusable:!e.disabled,active:s.value},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Po),{id:a.value,ref:(0,n.unref)(r),role:`tab`,type:e.as===`button`?`button`:void 0,as:e.as,"as-child":e.asChild,"aria-selected":s.value?`true`:`false`,"aria-controls":o.value,"data-state":s.value?`active`:`inactive`,disabled:e.disabled,"data-disabled":e.disabled?``:void 0,"data-orientation":(0,n.unref)(i).orientation.value,onMousedown:t[0]||(t[0]=(0,n.withModifiers)(t=>{!e.disabled&&t.ctrlKey===!1?(0,n.unref)(i).changeModelValue(e.value):t.preventDefault()},[`left`])),onKeydown:t[1]||(t[1]=(0,n.withKeys)(t=>(0,n.unref)(i).changeModelValue(e.value),[`enter`,`space`])),onFocus:t[2]||(t[2]=()=>{let t=(0,n.unref)(i).activationMode!==`manual`;!s.value&&!e.disabled&&t&&(0,n.unref)(i).changeModelValue(e.value)})},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},8,[`id`,`type`,`as`,`as-child`,`aria-selected`,`aria-controls`,`data-state`,`disabled`,`data-disabled`,`data-orientation`])]),_:3},8,[`focusable`,`active`]))}}),[Su,Cu]=io(`TooltipProvider`),wu=(0,n.defineComponent)({inheritAttrs:!1,__name:`TooltipProvider`,props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1},content:{type:Object,required:!1}},setup(t){let{delayDuration:r,skipDelayDuration:i,disableHoverableContent:a,disableClosingTrigger:o,ignoreNonKeyboardFocus:s,disabled:c,content:l}=(0,n.toRefs)(t);xo();let u=(0,n.ref)(!0),d=(0,n.ref)(!1),{start:f,stop:p}=e.Z(()=>{u.value=!0},i,{immediate:!1});return Cu({isOpenDelayed:u,delayDuration:r,onOpen(){p(),u.value=!1},onClose(){f()},isPointerInTransitRef:d,disableHoverableContent:a,disableClosingTrigger:o,disabled:c,ignoreNonKeyboardFocus:s,content:l}),(e,t)=>(0,n.renderSlot)(e.$slots,`default`)}}),Tu=`tooltip.open`,[Eu,Du]=io(`TooltipRoot`),Ou=(0,n.defineComponent)({__name:`TooltipRoot`,props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},delayDuration:{type:Number,required:!1,default:void 0},disableHoverableContent:{type:Boolean,required:!1,default:void 0},disableClosingTrigger:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:void 0}},emits:[`update:open`],setup(t,{emit:r}){let i=t,a=r;xo();let o=Su(),s=(0,n.computed)(()=>{var e;return(e=i.disableHoverableContent)==null?o.disableHoverableContent.value:e}),c=(0,n.computed)(()=>{var e;return(e=i.disableClosingTrigger)==null?o.disableClosingTrigger.value:e}),l=(0,n.computed)(()=>{var e;return(e=i.disabled)==null?o.disabled.value:e}),u=(0,n.computed)(()=>{var e;return(e=i.delayDuration)==null?o.delayDuration.value:e}),d=(0,n.computed)(()=>{var e;return(e=i.ignoreNonKeyboardFocus)==null?o.ignoreNonKeyboardFocus.value:e}),f=e.H(i,`open`,a,{defaultValue:i.defaultOpen,passive:i.open===void 0});(0,n.watch)(f,e=>{o.onClose&&(e?(o.onOpen(),document.dispatchEvent(new CustomEvent(Tu))):o.onClose())});let p=(0,n.ref)(!1),m=(0,n.ref)(),h=(0,n.computed)(()=>f.value?p.value?`delayed-open`:`instant-open`:`closed`),{start:g,stop:_}=e.Z(()=>{p.value=!0,f.value=!0},u,{immediate:!1});function v(){_(),p.value=!1,f.value=!0}function y(){_(),f.value=!1}function b(){g()}return Du({contentId:``,open:f,stateAttribute:h,trigger:m,onTriggerChange(e){m.value=e},onTriggerEnter(){o.isOpenDelayed.value?b():v()},onTriggerLeave(){s.value?y():_()},onOpen:v,onClose:y,disableHoverableContent:s,disableClosingTrigger:c,disabled:l,ignoreNonKeyboardFocus:d}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ss),null,{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{open:(0,n.unref)(f)})]),_:3}))}}),ku=(0,n.defineComponent)({__name:`TooltipContentImpl`,props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1,default:void 0},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1,default:void 0},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1,default:void 0},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`],setup(t,{emit:r}){let i=t,a=r,o=Eu(),s=Su(),{forwardRef:c,currentElement:l}=xo(),u=(0,n.computed)(()=>{var e;return i.ariaLabel||((e=l.value)==null?void 0:e.textContent)}),d=(0,n.computed)(()=>{var e;let{ariaLabel:t,...n}=i;return ho(n,(e=s.content.value)==null?{}:e,{side:`top`,sideOffset:0,align:`center`,avoidCollisions:!0,collisionBoundary:[],collisionPadding:0,arrowPadding:0,sticky:`partial`,hideWhenDetached:!1})});return(0,n.onMounted)(()=>{e.R(window,`scroll`,e=>{let t=e.target;t!=null&&t.contains(o.trigger.value)&&o.onClose()},{capture:!0}),e.R(document,Tu,o.onClose)}),(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Wo),{"as-child":``,"disable-outside-pointer-events":!1,onEscapeKeyDown:t[0]||(t[0]=e=>a(`escapeKeyDown`,e)),onPointerDownOutside:t[1]||(t[1]=e=>{var t;(0,n.unref)(o).disableClosingTrigger.value&&(t=(0,n.unref)(o).trigger.value)!=null&&t.contains(e.target)&&e.preventDefault(),a(`pointerDownOutside`,e)}),onFocusOutside:t[2]||(t[2]=(0,n.withModifiers)(()=>{},[`prevent`])),onDismiss:t[3]||(t[3]=e=>(0,n.unref)(o).onClose())},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(_l),(0,n.mergeProps)({ref:(0,n.unref)(c),"data-state":(0,n.unref)(o).stateAttribute.value},{...e.$attrs,...d.value},{style:{"--reka-tooltip-content-transform-origin":`var(--reka-popper-transform-origin)`,"--reka-tooltip-content-available-width":`var(--reka-popper-available-width)`,"--reka-tooltip-content-available-height":`var(--reka-popper-available-height)`,"--reka-tooltip-trigger-width":`var(--reka-popper-anchor-width)`,"--reka-tooltip-trigger-height":`var(--reka-popper-anchor-height)`}}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`),(0,n.createVNode)((0,n.unref)(us),{id:(0,n.unref)(o).contentId,role:`tooltip`},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(u.value),1)]),_:1},8,[`id`])]),_:3},16,[`data-state`])]),_:3}))}}),Au=(0,n.defineComponent)({__name:`TooltipContentHoverable`,props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},setup(e){let t=So(e),{forwardRef:r,currentElement:i}=xo(),{trigger:a,onClose:o}=Eu(),s=Su(),{isPointerInTransit:c,onPointerExit:l}=Jee(a,i);return s.isPointerInTransitRef=c,l(()=>{o()}),(e,i)=>((0,n.openBlock)(),(0,n.createBlock)(ku,(0,n.mergeProps)({ref:(0,n.unref)(r)},(0,n.unref)(t)),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),ju=(0,n.defineComponent)({__name:`TooltipContent`,props:{forceMount:{type:Boolean,required:!1},ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`],setup(e,{emit:t}){let r=e,i=t,a=Eu(),o=Co(r,i),{forwardRef:s}=xo();return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Mo),{present:e.forceMount||(0,n.unref)(a).open.value},{default:(0,n.withCtx)(()=>[((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)((0,n.unref)(a).disableHoverableContent.value?ku:Au),(0,n.mergeProps)({ref:(0,n.unref)(s)},(0,n.unref)(o)),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))]),_:3},8,[`present`]))}}),Mu=(0,n.defineComponent)({__name:`TooltipPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){let t=e;return(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(ss),(0,n.normalizeProps)((0,n.guardReactiveProps)(t)),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),Nu=(0,n.defineComponent)({__name:`TooltipTrigger`,props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e,r=Eu(),i=Su();r.contentId||(r.contentId=ko(void 0,`reka-tooltip-content`));let{forwardRef:a,currentElement:o}=xo(),s=(0,n.ref)(!1),c=(0,n.ref)(!1),l=(0,n.computed)(()=>r.disabled.value?{}:{click:g,focus:m,pointermove:f,pointerleave:p,pointerdown:d,blur:h});(0,n.onMounted)(()=>{r.onTriggerChange(o.value)});function u(){setTimeout(()=>{s.value=!1},1)}function d(){r.open&&!r.disableClosingTrigger.value&&r.onClose(),s.value=!0,document.addEventListener(`pointerup`,u,{once:!0})}function f(e){e.pointerType!==`touch`&&!c.value&&!i.isPointerInTransitRef.value&&(r.onTriggerEnter(),c.value=!0)}function p(){r.onTriggerLeave(),c.value=!1}function m(e){var t,n;s.value||r.ignoreNonKeyboardFocus.value&&!((t=(n=e.target).matches)!=null&&t.call(n,`:focus-visible`))||r.onOpen()}function h(){r.onClose()}function g(){r.disableClosingTrigger.value||r.onClose()}return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Cs),{"as-child":``,reference:e.reference},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Po),(0,n.mergeProps)({ref:(0,n.unref)(a),"aria-describedby":(0,n.unref)(r).open.value?(0,n.unref)(r).contentId:void 0,"data-state":(0,n.unref)(r).stateAttribute.value,as:e.as,"as-child":t.asChild,"data-grace-area-trigger":``},(0,n.toHandlers)(l.value)),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`aria-describedby`,`data-state`,`as`,`as-child`])]),_:3},8,[`reference`]))}}),Pu=(0,n.defineComponent)({__name:`Select`,props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},nullableValue:{},by:{type:[String,Function]},dir:{},multiple:{type:Boolean},autocomplete:{},disabled:{type:Boolean},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`update:open`],setup(e,{emit:t}){let r=Co(e,t);return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(zl),(0,n.normalizeProps)((0,n.guardReactiveProps)((0,n.unref)(r))),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),Fu=(0,n.defineComponent)({inheritAttrs:!1,__name:`SelectContent`,props:{forceMount:{type:Boolean},position:{default:`popper`},bodyLock:{type:Boolean,default:!1},memoDependencies:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},dir:{},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{type:[Boolean,null,String,Object,Array]}},emits:[`closeAutoFocus`,`escapeKeyDown`,`pointerDownOutside`],setup(e,{emit:t}){let r=e,i=t,a=Co((0,n.computed)(()=>{let{class:e,...t}=r;return t}),i);return(t,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(ou),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Zl),(0,n.mergeProps)({...(0,n.unref)(a),...t.$attrs},{class:(0,n.unref)(qt)(`relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2`,e.position===`popper`&&`data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1`,r.class)}),{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Kte)),(0,n.createVNode)((0,n.unref)(fu),{class:(0,n.normalizeClass)((0,n.unref)(qt)(`p-1`,e.position===`popper`&&`h-(--reka-select-trigger-height) w-full min-w-(--reka-select-trigger-width)`))},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(t.$slots,`default`)]),_:3},8,[`class`]),(0,n.createVNode)((0,n.unref)(Gte))]),_:3},16,[`class`])]),_:3}))}}),Iu=(0,n.defineComponent)({__name:`SelectGroup`,props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e,r=(0,n.computed)(()=>{let{class:e,...n}=t;return n});return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)($l),(0,n.mergeProps)({class:(0,n.unref)(qt)(`p-1 w-full`,t.class)},r.value),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`class`]))}}),Lu=e=>e===``,Ru=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),zu=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),Bu=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),Vu=e=>{let t=Bu(e);return t.charAt(0).toUpperCase()+t.slice(1)},Hu={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":2,"stroke-linecap":`round`,"stroke-linejoin":`round`},Uu=Symbol(`lucide-icons`);function Wu(){return(0,n.inject)(Uu,{})}var Gu=({name:e,iconNode:t,"icon-node":r,absoluteStrokeWidth:i,"absolute-stroke-width":a,strokeWidth:o,"stroke-width":s,size:c,color:l,...u},{slots:d})=>{var f,p,m,h;let{size:g,color:_,strokeWidth:v=2,absoluteStrokeWidth:y=!1,class:b=``}=Wu(),x=(0,n.computed)(()=>{let e=Lu(i)||Lu(a)||i===!0||a===!0||y===!0,t=o||s||v||Hu[`stroke-width`];if(e){var n;return Number(t)*24/Number((n=c==null?g:c)==null?Hu.width:n)}return t});return(0,n.h)(`svg`,{...Hu,...u,width:(f=c==null?g:c)==null?Hu.width:f,height:(p=c==null?g:c)==null?Hu.height:p,stroke:(m=l==null?_:l)==null?Hu.stroke:m,"stroke-width":x.value,class:Ru(`lucide`,b,...e?[`lucide-${zu(Vu(e))}-icon`,`lucide-${zu(e)}`]:[`lucide-icon`])},[...((h=t==null?r:t)==null?[]:h).map(e=>(0,n.h)(...e)),...d.default?[d.default()]:[]])},Ku=(e,t)=>(r,{slots:i,attrs:a})=>(0,n.h)(Gu,{...a,...r,iconNode:t,name:e},i.default?{default:i.default}:void 0),qu=Ku(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),Ju=Ku(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),Yu=Ku(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),Xu=Ku(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),Vte=Ku(`maximize-2`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`m21 3-7 7`,key:`1l2asr`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M9 21H3v-6`,key:`wtvkvv`}]]),Hte=Ku(`minimize-2`,[[`path`,{d:`m14 10 7-7`,key:`oa77jy`}],[`path`,{d:`M20 10h-6V4`,key:`mjg0md`}],[`path`,{d:`m3 21 7-7`,key:`tjx5ai`}],[`path`,{d:`M4 14h6v6`,key:`rmj7iw`}]]),Ute=Ku(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),Wte={class:`absolute left-2 flex h-3.5 w-3.5 items-center justify-center`},Zu=(0,n.defineComponent)({__name:`SelectItem`,props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e,r=So((0,n.computed)(()=>{let{class:e,...n}=t;return n}));return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(ru),(0,n.mergeProps)((0,n.unref)(r),{class:(0,n.unref)(qt)(`relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,t.class)}),{default:(0,n.withCtx)(()=>[(0,n.createElementVNode)(`span`,Wte,[(0,n.createVNode)((0,n.unref)(iu),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(qu),{class:`h-4 w-4`})]),_:1})]),(0,n.createVNode)((0,n.unref)(au),null,{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3})]),_:3},16,[`class`]))}}),Gte=(0,n.defineComponent)({__name:`SelectScrollDownButton`,props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e,r=So((0,n.computed)(()=>{let{class:e,...n}=t;return n}));return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(cu),(0,n.mergeProps)((0,n.unref)(r),{class:(0,n.unref)(qt)(`flex cursor-default items-center justify-center py-1`,t.class)}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{},()=>[(0,n.createVNode)((0,n.unref)(Ju),{class:`h-4 w-4`})])]),_:3},16,[`class`]))}}),Kte=(0,n.defineComponent)({__name:`SelectScrollUpButton`,props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e,r=So((0,n.computed)(()=>{let{class:e,...n}=t;return n}));return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(lu),(0,n.mergeProps)((0,n.unref)(r),{class:(0,n.unref)(qt)(`flex cursor-default items-center justify-center py-1`,t.class)}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{},()=>[(0,n.createVNode)((0,n.unref)(Xu),{class:`h-4 w-4`})])]),_:3},16,[`class`]))}}),Qu=(0,n.defineComponent)({__name:`SelectTrigger`,props:{disabled:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e,r=So((0,n.computed)(()=>{let{class:e,...n}=t;return n}));return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(uu),(0,n.mergeProps)((0,n.unref)(r),{class:(0,n.unref)(qt)(`flex h-10 w-full items-center justify-between rounded-md border border-input bg-muted px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1`,t.class)}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`),(0,n.createVNode)((0,n.unref)(eu),{"as-child":``},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Ju),{class:`w-4 h-4 opacity-50`})]),_:1})]),_:3},16,[`class`]))}}),$u=(0,n.defineComponent)({__name:`SelectValue`,props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(e){let t=e;return(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(du),(0,n.normalizeProps)((0,n.guardReactiveProps)(t)),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),qte={class:`self-center`},ed={__name:`OALocaleSelect`,setup(n){let r=e.b(),i=r.getI18nConfig(),a=(0,t.computed)(()=>{var e,t;return(e=(t=i.locale)==null?void 0:t.value)==null?`en`:e});function o(e){r.setI18nConfig({locale:e})}return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,qte,[(0,t.createVNode)((0,t.unref)(Pu),{"default-value":a.value,value:(0,t.unref)(i).locale.value,"onUpdate:modelValue":o},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(Qu),{"aria-label":`Select language`},{default:(0,t.withCtx)(()=>[...n[0]||(n[0]=[(0,t.createElementVNode)(`span`,{class:`vpi-languages option-icon`},null,-1)])]),_:1}),(0,t.createVNode)((0,t.unref)(Fu),null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(Iu),null,{default:(0,t.withCtx)(()=>[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(i).availableLocales,e=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Zu),{key:e.code,value:e.code},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.label),1)]),_:2},1032,[`value`]))),128))]),_:1})]),_:1})]),_:1},8,[`default-value`,`value`])]))}},Jte={class:`flex flex-wrap gap-2`},Yte=[`href`,`aria-label`],td=(0,n.defineComponent)({__name:`OAOperationTags`,props:{tags:{}},setup(t){let r=t,i=e.b(),{t:a}=l(),o=i.getTagsLinkPrefix();return(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Jte,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(r.tags,(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(`a`,{key:t,href:`${(0,n.unref)(o)}${e}`,"aria-label":(0,n.unref)(a)(`tags.goTo`,{tag:e})},[(0,n.createVNode)((0,n.unref)(Zt),{variant:`outline`},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e),1)]),_:2},1024)],8,Yte))),128))]))}}),Xte=/\d/,Zte=[`-`,`_`,`/`,`.`];function Qte(e=``){if(!Xte.test(e))return e!==e.toLowerCase()}function $te(e,t){let n=t==null?Zte:t,r=[];if(!e||typeof e!=`string`)return r;let i=``,a,o;for(let t of e){let e=n.includes(t);if(e===!0){r.push(i),i=``,a=void 0;continue}let s=Qte(t);if(o===!1){if(a===!1&&s===!0){r.push(i),i=t,a=s;continue}if(a===!0&&s===!1&&i.length>1){let e=i.at(-1);r.push(i.slice(0,Math.max(0,i.length-1))),i=e+t,a=s;continue}}i+=t,a=s,o=e}return r.push(i),r}function ene(e){return e?e[0].toUpperCase()+e.slice(1):``}var tne=/^(a|an|and|as|at|but|by|for|if|in|is|nor|of|on|or|the|to|with)$/i;function nd(e,t){return(Array.isArray(e)?e:$te(e)).filter(Boolean).map(e=>tne.test(e)?e.toLowerCase():ene(t!=null&&t.normalize?e.toLowerCase():e)).join(` `)}var rd=Symbol(`operationData`);function nne({operation:t,request:r,selectedServer:i,defaultRequestContentType:a}){var o,s;let c=((o=t.securityUi)==null||(o=o[0])==null?void 0:o.id)||``,l=e.b(),u=l.getSecurityDefaultScheme()||c,d=l.getStoragePrefix();return{operationId:t.operationId,security:{selectedSchemeId:(0,n.ref)((s=t.securityUi)!=null&&s.some(e=>e.id===u)?u:c),securityValues:(0,n.ref)({})},playground:{request:(0,n.ref)(r||{}),selectedServer:Jt()?e.V(`${d}-operation-${t.operationId}-selectedServer`,i,localStorage,{mergeDefaults:!0}):(0,n.ref)(i),parameterValues:(0,n.ref)({})},requestBody:{selectedContentType:(0,n.ref)(a)}}}var rne=/^application\/octet-stream/i,ine=/^\s*(?:attachment|download)(?:;|$)/i;function id(e,t=``){return rne.test(e)||ine.test(t)}function ane(t,n){if(t!=null){if(t instanceof FormData||t instanceof Blob||t instanceof URLSearchParams||typeof t==`string`)return t;if(n&&e.k(n)&&typeof t==`object`){let e=new URLSearchParams;for(let[n,r]of Object.entries(t))r!=null&&(Array.isArray(r)?r.forEach(t=>e.append(n,String(t))):e.append(n,String(r)));return e.toString()}return JSON.stringify(t)}}var one=/json/i,sne=/xml/i,cne=/html/i,lne=/text\/plain/i,une=/^image\//i,dne=/^audio\//i,ad={"http-basic":`Basic Auth`,"http-bearer":`Token`,apiKey:null,openIdConnect:`OpenID Connect`,oauth2:`OAuth2 Token`};function od(){let e=(0,n.ref)(!1),t=(0,n.ref)(null),r=(0,n.ref)([]),i=(0,n.inject)(rd);function a(e){ad={...ad,...e}}function o(e){if(e.type===`http`){let t=e.scheme===`basic`?`http-basic`:`http-bearer`;return ad[t]}let t=e.type;if(Object.keys(ad).includes(t)&&ad[t]!==null){var n;return(n=ad[t])==null?``:n}return e.type===`apiKey`&&e.name?e.name:``}async function s({request:n,method:i,baseUrl:a,path:o,operationId:s}){if(!n)return null;t.value=null;let l=`${a}${o}`,u={body:null,type:``,time:null,status:null};c(s);let d=performance.now(),f=new AbortController,p=setTimeout(()=>f.abort(),3e4);try{var m,h,g,_;u.time=null,u.body=`{}`,e.value=!0;let t=new URL((m=n.url)==null?l:m);for(let[e,r]of Object.entries(n.query))Array.isArray(r)?r.forEach(n=>t.searchParams.append(e,String(n))):t.searchParams.set(e,String(r));let a=await fetch(t.toString(),{method:i.toUpperCase(),headers:n.body instanceof FormData||(h=n.headers)==null?{}:h,body:ane(n.body,(g=n.contentType)==null?(_=n.headers)==null?void 0:_[`content-type`]:g),signal:f.signal}),o=a.headers.get(`Content-Type`)||`text/plain`,s=a.headers.get(`Content-Disposition`)||``;u.type=o;try{u.headers=Object.fromEntries(a.headers.entries())}catch{let e={};o&&(e[`content-type`]=o),s&&(e[`content-disposition`]=s),u.headers=e}if(one.test(o))u.body=await a.json();else if(sne.test(o)||cne.test(o)||lne.test(o))u.body=await a.text();else if(une.test(o)){let e=await a.blob();u.body=URL.createObjectURL(e),r.value.push(u.body)}else u.body=dne.test(o)||id(o,s)?await a.blob():await a.text();u.status=a.status}catch(e){u.body=e==null?void 0:e.message,u.type=`text/plain`,u.status=500}finally{clearTimeout(p),e.value=!1,u.time=(performance.now()-d).toFixed(2),t.value=u}return u}function c(e){try{window.gtag(`event`,`try_it`,{event_category:`api`,event_label:e})}catch{}}function l(){r.value.forEach(URL.revokeObjectURL),r.value=[]}function u(e,t){if(!i||!e)return;let n=typeof t==`object`&&t?JSON.parse(JSON.stringify(t)):t;i.playground.parameterValues.value[e]=n}function d(e,t){!i||!e||(i.security.securityValues.value={...i.security.securityValues.value,[e]:t})}return{loading:e,response:t,imageUrls:r,setSecuritySchemeDefaultValues:a,getSecuritySchemeDefaultValue:o,submitRequest:s,cleanupImageUrls:l,setParameterValue:u,setSecurityValue:d,hasOperationData:!!i}}function fne(e){let t=e.trim();if(!(t.startsWith(`{`)&&t.endsWith(`}`)||t.startsWith(`[`)&&t.endsWith(`]`)))return!1;try{let e=JSON.parse(t);return typeof e==`object`&&!!e}catch{return!1}}function sd(e,t=0){try{let n=JSON.stringify(e,null,t);return n==null?String(e):n}catch{return String(e)}}function cd(e,t){return fne(e)?e:t.quoteNormalStrings?JSON.stringify(e):String(e)}function ld(e,t={space:2}){var n;if(e===void 0)return``;if(e===null)return`null`;if(typeof e==`object`){var r;return sd(e,(r=t==null?void 0:t.space)==null?0:r)}return typeof e==`string`?cd(e,{quoteNormalStrings:!0}):sd(e,(n=t==null?void 0:t.space)==null?0:n)}function ud(e,t={space:0}){if(e==null)return``;if(typeof e==`object`){var n;return sd(e,(n=t==null?void 0:t.space)==null?0:n)}return typeof e==`string`?cd(e,{quoteNormalStrings:!1}):String(e)}var pne=[`role`,`title`],mne=[`role`,`title`],dd={__name:`OACodeValue`,props:{value:{type:[String,Number,Boolean,Array,Object],required:!0},isEnum:{type:Boolean,default:!1},onSet:{type:Function,default:void 0}},setup(e){let n=e,{t:r}=l();function i(){if(!n.onSet)return;let e=n.isEnum?String(n.value):n.value;n.onSet(e)}let a=(0,t.computed)(()=>!!n.onSet);return(n,o)=>Array.isArray(e.value)?((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,{key:0},(0,t.renderList)(e.value,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`code`,{key:n,class:(0,t.normalizeClass)([`text-xs! text-wrap break-all`,{"cursor-pointer hover:opacity-80":a.value}]),role:a.value?`button`:void 0,title:a.value?(0,t.unref)(r)(`Click to set in playground`):void 0,onClick:o[0]||(o[0]=e=>a.value?i():void 0)},(0,t.toDisplayString)((0,t.unref)(ld)(e)),11,pne))),128)):((0,t.openBlock)(),(0,t.createElementBlock)(`code`,{key:1,class:(0,t.normalizeClass)([`text-xs! break-all`,{"text-wrap":!e.value||typeof e.value!=`object`,"whitespace-pre-wrap":e.value&&typeof e.value==`object`,"cursor-pointer hover:opacity-80":a.value}]),role:a.value?`button`:void 0,title:a.value?(0,t.unref)(r)(`Click to set in playground`):void 0,onClick:o[1]||(o[1]=e=>a.value?i():void 0)},(0,t.toDisplayString)((0,t.unref)(ld)(e.value)),11,mne))}},hne={class:`flex flex-row gap-2 text-sm`},gne={class:`flex justify-between items-start gap-2 flex-1`},_ne={key:1,class:`text-muted-foreground`},fd=(0,n.defineComponent)({__name:`OAParameterAttribute`,props:{name:{type:String,required:!0},boldName:{type:Boolean,default:!1},value:{type:[String,Number,Boolean,Object,Array],required:!1}},setup(e){let t=e,r=(0,n.useSlots)();function i(e){return r[e]!==void 0}return(e,r)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,hne,[(0,n.createElementVNode)(`span`,{class:(0,n.normalizeClass)({"font-bold":t.boldName})},(0,n.toDisplayString)(t.name),3),(0,n.createElementVNode)(`div`,gne,[(0,n.createElementVNode)(`div`,null,[i(`value`)?(0,n.renderSlot)(e.$slots,`value`,{},void 0,void 0,0):((0,n.openBlock)(),(0,n.createElementBlock)(`span`,_ne,(0,n.toDisplayString)(t.value),1))]),i(`end`)?(0,n.renderSlot)(e.$slots,`end`,{},void 0,void 0,0):(0,n.createCommentVNode)(``,!0)])]))}});function pd(e){let t=typeof e.value==`object`?JSON.stringify(e.value):String(e.value);return e.name!==t}function md(e){return!e||e.length===0?!1:e.some(pd)}var hd=new Set([`value`,`externalValue`,`$ref`]);function gd(e){if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=e,n=Object.keys(t);if(n.length===0)return!1;for(let e of n){let n=t[e];if(n&&typeof n==`object`&&!Array.isArray(n)&&Object.keys(n).some(e=>hd.has(e)))return!0}return!1}function _d(e){if(e==null)return null;if(Array.isArray(e))return e.map(e=>({name:typeof e==`object`?JSON.stringify(e):String(e),value:e}));if(e&&typeof e==`object`){let t=e;return gd(t)?Object.keys(t).map(e=>{let n=t[e],r=n,i;return n&&typeof n==`object`&&(i=n.summary,r=`value`in n?n.value:`$ref`in n?{$ref:n.$ref}:`externalValue`in n?n.externalValue:null),{name:e,value:r,summary:i}}):[{name:JSON.stringify(e),value:e}]}return[{name:String(e),value:e}]}var vd={key:0,class:`flex flex-row items-center gap-2`},yd={class:`text-sm`},bd={key:1,class:`flex flex-row items-center gap-2`},xd=(0,n.defineComponent)({__name:`OAParameterExamples`,props:{property:{type:Object,required:!0},securitySchemeName:{type:String,default:void 0}},setup(t){let r=t,i=(0,n.computed)(()=>_d(e.s(r.property))),a=(0,n.computed)(()=>md(i.value)),o=(0,n.ref)(`0`),s=(0,n.computed)(()=>{var e;if(!i.value)return null;let t=Number.parseInt(o.value,10);return(e=i.value[t])==null?null:e}),{setParameterValue:c,setSecurityValue:u,hasOperationData:d}=od(),f=(0,n.computed)(()=>{if(d){if(r.securitySchemeName){let e=r.securitySchemeName;return t=>u(e,t)}if(r.property.name)return e=>c(r.property.name,e)}});(0,n.watch)(o,()=>{var e;!d||!s.value||(e=f.value)==null||e.call(f,s.value.value)}),(0,n.watch)(i,()=>{o.value=`0`});function p(e){return e.summary?`${e.name} - ${e.summary}`:e.name}let m=e.b().getWrapExamples(),{t:h}=l();return(e,t)=>{var r,c,l,u,d,g;return(0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,[((r=i.value)==null?void 0:r.length)===1?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,vd,[(0,n.createElementVNode)(`span`,yd,(0,n.toDisplayString)((0,n.unref)(h)(`Example`)),1),(0,n.createVNode)(dd,{value:(c=i.value[0])==null?void 0:c.value,"on-set":f.value},null,8,[`value`,`on-set`])])):(0,n.createCommentVNode)(``,!0),((l=(u=i.value)==null?void 0:u.length)==null?0:l)>1&&a.value?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,bd,[(0,n.createVNode)(fd,{name:(0,n.unref)(h)(`Examples`),class:`flex-1`},{value:(0,n.withCtx)(()=>[s.value?((0,n.openBlock)(),(0,n.createBlock)(dd,{key:0,value:s.value.value,"on-set":f.value},null,8,[`value`,`on-set`])):(0,n.createCommentVNode)(``,!0)]),end:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Pu),{modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e)},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Qu),{"aria-label":(0,n.unref)(h)(`Select an example`),class:`h-6 max-w-28 bg-(--vp-code-bg)`},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)($u),{placeholder:(0,n.unref)(h)(`Select an example`),class:`truncate`},{default:(0,n.withCtx)(()=>{var e;return[(0,n.createTextVNode)((0,n.toDisplayString)((e=s.value)==null?void 0:e.name),1)]}),_:1},8,[`placeholder`])]),_:1},8,[`aria-label`]),(0,n.createVNode)((0,n.unref)(Fu),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Iu),null,{default:(0,n.withCtx)(()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(i.value,(e,t)=>{var r;return(0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Zu),{key:(r=e.name)==null?t:r,value:String(t)},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(p(e)),1)]),_:2},1032,[`value`])}),128))]),_:1})]),_:1})]),_:1},8,[`modelValue`])]),_:1},8,[`name`])])):(0,n.createCommentVNode)(``,!0),((d=(g=i.value)==null?void 0:g.length)==null?0:d)>1&&!a.value?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:2,class:(0,n.normalizeClass)([`flex flex-row flex-wrap gap-2`,{"items-center":(0,n.unref)(m)}])},[(0,n.createVNode)(fd,{name:(0,n.unref)(h)(`Examples`)},{value:(0,n.withCtx)(()=>[(0,n.createElementVNode)(`div`,{class:(0,n.normalizeClass)([`flex gap-2`,{"flex-col":!(0,n.unref)(m),"flex-row flex-wrap":(0,n.unref)(m)}])},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(i.value,(e,t)=>((0,n.openBlock)(),(0,n.createBlock)(dd,{key:t,value:e.value,"on-set":f.value},null,8,[`value`,`on-set`]))),128))],2)]),_:1},8,[`name`])],2)):(0,n.createCommentVNode)(``,!0)],64)}}}),Sd={class:`flex flex-col p-3 gap-2 rounded bg-muted`},Cd={class:`flex flex-col gap-2`},wd={class:`flex flex-row items-center gap-2`},Td={class:`text-sm font-bold`},Ed={key:0,class:`text-sm text-destructive`},Dd={key:0,class:`flex flex-col gap-2`},Od={class:`flex flex-row gap-2`},kd={key:1,class:`text-sm text-destructive`},Ad={class:`flex flex-wrap gap-2`},jd={__name:`OAParameter`,props:{parameter:{type:Object,required:!0}},setup(n){let r=n,i=e.o(r.parameter.schema),{t:a}=l(),{setParameterValue:o,hasOperationData:s}=od();return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Sd,[(0,t.createElementVNode)(`div`,Cd,[(0,t.createElementVNode)(`div`,wd,[(0,t.createElementVNode)(`span`,Td,(0,t.toDisplayString)(r.parameter.name),1),r.parameter.required?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Ed,`*`)):(0,t.createCommentVNode)(``,!0)]),r.parameter.description?((0,t.openBlock)(),(0,t.createBlock)(Pn,{key:0,content:r.parameter.description,class:`text-sm`},null,8,[`content`])):(0,t.createCommentVNode)(``,!0)]),r.parameter.schema?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Dd,[(0,t.createElementVNode)(`div`,Od,[r.parameter.schema.type?((0,t.openBlock)(),(0,t.createBlock)(fd,{key:0,name:(0,t.unref)(a)(`Type`),value:r.parameter.schema.type,"bold-name":``},null,8,[`name`,`value`])):(0,t.createCommentVNode)(``,!0),r.parameter.required?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,kd,(0,t.toDisplayString)((0,t.unref)(a)(`Required`)),1)):(0,t.createCommentVNode)(``,!0)]),r.parameter.schema.enum?((0,t.openBlock)(),(0,t.createBlock)(fd,{key:0,name:(0,t.unref)(a)(`Valid values`),value:r.parameter.schema.enum.join(`, `)},{value:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,Ad,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(r.parameter.schema.enum,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(dd,{key:n,value:e,"is-enum":!0,"on-set":(0,t.unref)(s)&&r.parameter.name?e=>(0,t.unref)(o)(r.parameter.name,e):void 0},null,8,[`value`,`on-set`]))),128))])]),_:1},8,[`name`,`value`])):(0,t.createCommentVNode)(``,!0),(0,t.createVNode)(xd,{property:r.parameter},null,8,[`property`]),Object.keys((0,t.unref)(i)).length>0?((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,{key:1},(0,t.renderList)((0,t.unref)(i),(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(fd,{key:n,name:(0,t.unref)(a)((0,t.unref)(nd)(n))},{value:(0,t.withCtx)(()=>[(0,t.createVNode)(dd,{value:e},null,8,[`value`])]),_:2},1032,[`name`]))),128)):(0,t.createCommentVNode)(``,!0)])):(0,t.createCommentVNode)(``,!0)]))}},Md={class:`flex flex-col`},Nd={key:0,class:`space-y-4`},Pd={key:1,class:`space-y-4`},Fd={key:2,class:`space-y-4`},Id={__name:`OAParameters`,props:{operationId:{type:String,required:!0},parameters:{type:Array,required:!0}},setup(e){let n=e,r=n.parameters.filter(e=>e&&e.in===`header`),i=n.parameters.filter(e=>e&&e.in===`path`),a=n.parameters.filter(e=>e&&e.in===`query`),{t:o}=l();return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Md,[(0,t.unref)(r).length?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Nd,[(0,t.createElementVNode)(`h3`,null,(0,t.toDisplayString)((0,t.unref)(o)(`Header Parameters`)),1),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(r),e=>((0,t.openBlock)(),(0,t.createBlock)(jd,{key:e.name,parameter:e},null,8,[`parameter`]))),128))])):(0,t.createCommentVNode)(``,!0),(0,t.unref)(i).length?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Pd,[(0,t.createElementVNode)(`h3`,null,(0,t.toDisplayString)((0,t.unref)(o)(`Path Parameters`)),1),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(i),e=>((0,t.openBlock)(),(0,t.createBlock)(jd,{key:e.name,parameter:e},null,8,[`parameter`]))),128))])):(0,t.createCommentVNode)(``,!0),(0,t.unref)(a).length?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Fd,[(0,t.createElementVNode)(`h3`,null,(0,t.toDisplayString)((0,t.unref)(o)(`Query Parameters`)),1),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(a),e=>((0,t.openBlock)(),(0,t.createBlock)(jd,{key:e.name,parameter:e},null,8,[`parameter`]))),128))])):(0,t.createCommentVNode)(``,!0)]))}},Ld={key:0,class:`OAPath flex flex-col space-y-4`},Rd={class:`OAPathContentStart flex flex-col`},zd={class:`flex flex-col gap-4`},Bd={class:`flex flex-col`},Vd={key:1},Hd={key:2},Ud=(0,n.defineComponent)({__name:`OAPath`,props:{id:{type:String,required:!0},operation:{type:Object,required:!0},openapi:{type:Object,required:!0}},setup(t){let r=t,i=e.b(),a=(0,n.computed)(()=>{var e;return((e=i.getOperationSlots())==null?[]:e).filter(e=>{var t;return!((t=i.getOperationHiddenSlots())!=null&&t.includes(e))})}),o=(0,n.computed)(()=>i.getOperationCols()),s=(0,n.computed)(()=>[`playground`,`try-it`,`code-samples`].some(e=>a.value.includes(e)));return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Y9),{openapi:r.openapi,"operation-id":r.id,"should-build-request":s.value},{default:(0,n.withCtx)(t=>{var s;return[r.operation?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Ld,[a.value.includes(`header`)?(0,n.renderSlot)(e.$slots,`header`,{operation:r.operation,method:t.method,path:t.path,deprecated:r.operation.deprecated},void 0,void 0,0):(0,n.createCommentVNode)(``,!0),a.value.includes(`tags`)?(0,n.renderSlot)(e.$slots,`tags`,{operation:r.operation,method:t.method,path:t.path,tags:r.operation.tags},void 0,void 0,1):(0,n.createCommentVNode)(``,!0),(0,n.createElementVNode)(`div`,{class:(0,n.normalizeClass)([{"sm:grid-cols-1":o.value===1,"sm:grid-cols-2":o.value===2},`relative grid grid-cols-1`])},[(0,n.createElementVNode)(`div`,Rd,[(0,n.createElementVNode)(`div`,zd,[a.value.includes(`path`)?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:0,class:(0,n.normalizeClass)({"sm:hidden":o.value===2})},[(0,n.renderSlot)(e.$slots,`path`,{operationId:r.id,operation:r.operation,method:t.method,path:t.path,hideBaseUrl:!(0,n.unref)(i).getShowBaseURL(),deprecated:r.operation.deprecated,servers:t.servers,baseUrl:t.operationData.playground.selectedServer.value})],2)):(0,n.createCommentVNode)(``,!0),a.value.includes(`description`)?(0,n.renderSlot)(e.$slots,`description`,{operation:r.operation,method:t.method,path:t.path},void 0,void 0,1):(0,n.createCommentVNode)(``,!0)]),a.value.includes(`security`)?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:0},[t.securityUi.length?(0,n.renderSlot)(e.$slots,`security`,{operation:r.operation,method:t.method,path:t.path,securityUi:t.securityUi,selectedSchemeId:t.operationData.security.selectedSchemeId.value},void 0,void 0,0):(0,n.createCommentVNode)(``,!0)],64)):(0,n.createCommentVNode)(``,!0),a.value.includes(`parameters`)?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:1},[(s=t.parameters)!=null&&s.length?(0,n.renderSlot)(e.$slots,`parameters`,{operationId:r.id,parameters:t.parameters},void 0,void 0,0):(0,n.createCommentVNode)(``,!0)],64)):(0,n.createCommentVNode)(``,!0),a.value.includes(`request-body`)?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:2},[t.requestBody?(0,n.renderSlot)(e.$slots,`request-body`,{operationId:r.id,requestBody:t.requestBody},void 0,void 0,0):(0,n.createCommentVNode)(``,!0)],64)):(0,n.createCommentVNode)(``,!0),a.value.includes(`responses`)?((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:3},[t.responses?(0,n.renderSlot)(e.$slots,`responses`,{operationId:r.id,responses:t.responses},void 0,void 0,0):(0,n.createCommentVNode)(``,!0)],64)):(0,n.createCommentVNode)(``,!0)]),(0,n.createElementVNode)(`div`,Bd,[(0,n.createElementVNode)(`div`,{class:(0,n.normalizeClass)([`OAPathContentEnd sticky top-[100px] inset-x-0 flex flex-col`,{"px-0!":o.value===1}])},[a.value.includes(`path`)&&o.value===2?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:0,class:(0,n.normalizeClass)({"hidden sm:block sm:mb-2":o.value===2})},[(0,n.renderSlot)(e.$slots,`path`,{operationId:r.id,operation:r.operation,method:t.method,path:t.path,hideBaseUrl:!(0,n.unref)(i).getShowBaseURL(),deprecated:r.operation.deprecated,servers:t.servers,baseUrl:t.operationData.playground.selectedServer.value})],2)):(0,n.createCommentVNode)(``,!0),a.value.includes(`try-it`)||a.value.includes(`playground`)?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Vd,[(0,n.renderSlot)(e.$slots,`playground`,{operationId:r.id,path:t.path,method:t.method,parameters:t.parameters,requestBody:t.requestBody,securityUi:t.securityUi,servers:t.servers})])):(0,n.createCommentVNode)(``,!0),a.value.includes(`code-samples`)?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Hd,[(0,n.renderSlot)(e.$slots,`code-samples`,{operationId:r.id,operation:r.operation,method:t.method,path:t.path,codeSamples:t.codeSamples})])):(0,n.createCommentVNode)(``,!0)],2)])],2),a.value.includes(`branding`)?(0,n.renderSlot)(e.$slots,`branding`,{operationId:r.id,operation:r.operation,method:t.method,path:t.path},void 0,void 0,2):(0,n.createCommentVNode)(``,!0),a.value.includes(`footer`)?(0,n.renderSlot)(e.$slots,`footer`,{operationId:r.id,operation:r.operation,method:t.method,path:t.path},void 0,void 0,3):(0,n.createCommentVNode)(``,!0)])):(0,n.createCommentVNode)(``,!0)]}),_:3},8,[`openapi`,`operation-id`,`should-build-request`]))}}),Wd={__name:`OAMethodBadge`,props:{method:{type:String,required:!0}},setup(e){let n=e;return(e,r)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Zt),{variant:`plain`,class:(0,t.normalizeClass)([[`OAMethodBadge--${n.method.toLowerCase()}`],`px-2 py-1 rounded`])},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(n.method.toUpperCase()),1)]),_:1},8,[`class`]))}},Gd={class:`flex flex-col gap-2 text-sm bg-muted rounded p-1.5`},Kd={class:`language-bash overflow-hidden! m-0! h-8 flex flex-row items-center gap-1.5`},qd=[`title`],Jd={class:`overflow-x-auto whitespace-nowrap`},Yd={class:`flex flex-row flex-shrink-0`},Xd={key:0,class:`text-muted-foreground hidden md:inline-block`},Zd=Fn({__name:`OAPathEndpoint`,props:{path:{type:String,required:!0},method:{type:String,required:!0},baseUrl:{type:String,required:!0},hideBaseUrl:{type:Boolean,default:!1},deprecated:{type:Boolean,default:!1},servers:{type:Array,required:!1}},setup(e){let n=e,{t:r}=l();return(e,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Gd,[(0,t.createElementVNode)(`div`,Kd,[(0,t.createElementVNode)(`button`,{title:(0,t.unref)(r)(`Copy endpoint`),class:`copy absolute top-1! z-50 OAPathEndpoint__copy`},null,8,qd),(0,t.createVNode)(Wd,{method:n.method},null,8,[`method`]),(0,t.createElementVNode)(`div`,Jd,[(0,t.createElementVNode)(`span`,Yd,[n.hideBaseUrl?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Xd,(0,t.toDisplayString)(n.baseUrl),1)),(0,t.createElementVNode)(`span`,{class:(0,t.normalizeClass)([{"line-through":n.deprecated},`font-bold select-all`])},(0,t.toDisplayString)(n.path),3)])])])]))}},[[`__scopeId`,`data-v-db45b414`]]),Qd=(0,n.defineComponent)({__name:`Button`,props:{variant:{},size:{},class:{type:[Boolean,null,String,Object,Array]},asChild:{type:Boolean},as:{default:`button`}},setup(e){let t=e;return(r,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Po),{as:e.as,"as-child":e.asChild,class:(0,n.normalizeClass)((0,n.unref)(qt)((0,n.unref)($d)({variant:e.variant,size:e.size}),t.class))},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(r.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`]))}}),$d=M(`inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50`,{variants:{variant:{default:`bg-muted`,primary:`bg-primary text-primary-foreground hover:bg-primary/90`,destructive:`bg-destructive text-destructive-foreground hover:bg-destructive/90`,outline:`border border-input bg-background hover:bg-accent hover:text-accent-foreground`,secondary:`bg-secondary text-secondary-foreground hover:bg-secondary/80`,ghost:`hover:bg-accent hover:text-accent-foreground`,link:`text-primary underline-offset-4 hover:underline`,icon:`rounded bg-transparent hover:bg-muted`},size:{default:`h-10 px-4 py-2`,xs:`h-7 rounded px-2`,sm:`h-9 rounded-md px-3`,lg:`h-11 rounded-md px-8`,icon:`size-4 p-[2px]`}},defaultVariants:{variant:`default`,size:`default`}});function ef({parameter:e,operationId:t}){return!e.name||!e.in?``:`${t}:${e.in}:${e.name}`}function tf(e){return e!==`ignore`}function nf(e){return e===`value`}function rf(t,n,r=`value`){if(nf(r)){let n=e.D(t);if(n!==null)return n}return nf(n)?e.O(t):null}function af(t,n,r=`value`){if(tf(r)){let n=e.D(t);if(n!==null)return n}return tf(n)?e.O(t):null}function of(e){return Array.isArray(e)}function sf(e){return typeof e==`object`&&!!e&&(e.constructor===void 0||e.constructor.name===`Object`)}function cf(e){return e&&typeof e==`object`?e.op===`add`:!1}function lf(e){return e&&typeof e==`object`?e.op===`remove`:!1}function uf(e){return e&&typeof e==`object`?e.op===`replace`:!1}function df(e){return e&&typeof e==`object`?e.op===`copy`:!1}function ff(e){return e&&typeof e==`object`?e.op===`move`:!1}function pf(e,t){return JSON.stringify(e)===JSON.stringify(t)}function mf(e,t){return e===t}function hf(e){return e.slice(0,e.length-1)}function gf(e){return e[e.length-1]}function _f(e,t,n=mf){if(e.length<t.length)return!1;for(let r=0;r<t.length;r++)if(!n(e[r],t[r]))return!1;return!0}function vf(e){return typeof e==`object`&&!!e}function yf(e){if(of(e)){let t=e.slice();return Object.getOwnPropertySymbols(e).forEach(n=>{t[n]=e[n]}),t}if(sf(e)){let t={...e};return Object.getOwnPropertySymbols(e).forEach(n=>{t[n]=e[n]}),t}return e}function bf(e,t,n){if(e[t]===n)return e;let r=yf(e);return r[t]=n,r}function xf(e,t){let n=e,r=0;for(;r<t.length;)n=sf(n)?n[t[r]]:of(n)?n[Number.parseInt(t[r],10)]:void 0,r++;return n}function Sf(e,t,n,r=!1){if(t.length===0)return n;let i=t[0],a=Sf(e?e[i]:void 0,t.slice(1),n,r);if(sf(e)||of(e))return bf(e,i,a);if(r){let e=Cf.test(i)?[]:{};return e[i]=a,e}throw Error(`Path does not exist`)}var Cf=/^\d+$/;function wf(e,t,n){if(t.length===0)return n(e);if(!vf(e))throw Error(`Path doesn't exist`);let r=t[0];return bf(e,r,wf(e[r],t.slice(1),n))}function Tf(e,t){if(t.length===0)return e;if(!vf(e))throw Error(`Path does not exist`);if(t.length===1){let n=t[0];if(!(n in e))return e;let r=yf(e);return of(r)&&r.splice(Number.parseInt(n,10),1),sf(r)&&delete r[n],r}let n=t[0];return bf(e,n,Tf(e[n],t.slice(1)))}function Ef(e,t,n){let r=t.slice(0,t.length-1),i=t[t.length-1];return wf(e,r,e=>{if(!Array.isArray(e))throw TypeError(`Array expected at path ${JSON.stringify(r)}`);let t=yf(e);return t.splice(Number.parseInt(i,10),0,n),t})}function Df(e,t){return e===void 0?!1:t.length===0||e!==null&&Df(e[t[0]],t.slice(1))}function Of(e){let t=e.split(`/`);return t.shift(),t.map(e=>e.replace(/~1/g,`/`).replace(/~0/g,`~`))}function kf(e){return e.map(Af).join(``)}function Af(e){return`/${String(e).replace(/~/g,`~0`).replace(/\//g,`~1`)}`}function jf(e,t){return e+Af(t)}function Mf(e,t,n){let r=e;for(let e=0;e<t.length;e++){Vf(t[e]);let i=t[e];if(n!=null&&n.before){let e=n.before(r,i);if(e!==void 0){if(e.document!==void 0&&(r=e.document),e.json!==void 0)throw Error(`Deprecation warning: returned object property ".json" has been renamed to ".document"`);e.operation!==void 0&&(i=e.operation)}}let a=r,o=Hf(r,i.path);if(i.op===`add`)r=Ff(r,o,i.value);else if(i.op===`remove`)r=Pf(r,o);else if(i.op===`replace`)r=Nf(r,o,i.value);else if(i.op===`copy`)r=If(r,o,Uf(i.from));else if(i.op===`move`)r=Lf(r,o,Uf(i.from));else if(i.op===`test`)Rf(r,o,i.value);else throw Error(`Unknown JSONPatch operation ${JSON.stringify(i)}`);if(n!=null&&n.after){let e=n.after(r,i,a);e!==void 0&&(r=e)}}return r}function Nf(e,t,n){return Df(e,t)?Sf(e,t,n):e}function Pf(e,t){return Tf(e,t)}function Ff(e,t,n){return zf(e,t)?Ef(e,t,n):Sf(e,t,n)}function If(e,t,n){let r=xf(e,n);return zf(e,t)?Ef(e,t,r):Sf(e,t,r)}function Lf(e,t,n){let r=xf(e,n),i=Tf(e,n);return zf(i,t)?Ef(i,t,r):Sf(i,t,r)}function Rf(e,t,n){if(n===void 0)throw Error(`Test failed: no value provided (path: "${kf(t)}")`);if(!Df(e,t))throw Error(`Test failed: path not found (path: "${kf(t)}")`);if(!pf(xf(e,t),n))throw Error(`Test failed, value differs (path: "${kf(t)}")`)}function zf(e,t){if(t.length===0)return!1;let n=xf(e,hf(t));return Array.isArray(n)}function Bf(e,t){if(gf(t)!==`-`)return t;let n=hf(t),r=xf(e,n);return n.concat(r.length)}function Vf(e){if(![`add`,`remove`,`replace`,`copy`,`move`,`test`].includes(e.op))throw Error(`Unknown JSONPatch op ${JSON.stringify(e.op)}`);if(typeof e.path!=`string`)throw Error(`Required property "path" missing or not a string in operation ${JSON.stringify(e)}`);if((e.op===`copy`||e.op===`move`)&&typeof e.from!=`string`)throw Error(`Required property "from" missing or not a string in operation ${JSON.stringify(e)}`)}function Hf(e,t){return Bf(e,Of(t))}function Uf(e){return Of(e)}function Wf(e,t,n){let r=[];return Mf(e,t,{before:(e,t)=>{let i,a=Hf(e,t.path);if(t.op===`add`)i=qf(e,a);else if(t.op===`remove`)i=Kf(e,a);else if(t.op===`replace`)i=Gf(e,a);else if(t.op===`copy`)i=Jf(e,a);else if(t.op===`move`)i=Yf(e,a,Uf(t.from));else if(t.op===`test`)i=[];else throw Error(`Unknown JSONPatch operation ${JSON.stringify(t)}`);let o;if(n!=null&&n.before){let r=n.before(e,t,i);if(r!=null&&r.revertOperations&&(i=r.revertOperations),r!=null&&r.document&&(o=r.document),r!=null&&r.json)throw Error(`Deprecation warning: returned object property ".json" has been renamed to ".document"`)}return r=i.concat(r),o===void 0?{}:{document:o}}}),r}function Gf(e,t){return Df(e,t)?[{op:`replace`,path:kf(t),value:xf(e,t)}]:[]}function Kf(e,t){return[{op:`add`,path:kf(t),value:xf(e,t)}]}function qf(e,t){return zf(e,t)||!Df(e,t)?[{op:`remove`,path:kf(t)}]:Gf(e,t)}function Jf(e,t){return qf(e,t)}function Yf(e,t,n){if(t.length<n.length&&_f(n,t))return[{op:`replace`,path:kf(t),value:e}];let r={op:`move`,from:kf(t),path:kf(n)};return!zf(e,t)&&Df(e,t)?[r,...Kf(e,t)]:[r]}var Xf=e.Q((e=>{var t={b:`\b`,f:`\f`,n:`
33
33
  `,r:`\r`,t:` `,'"':`"`,"/":`/`,"\\":`\\`},n=97;e.parse=function(e,r,i){var o={},s=0,c=0,l=0,u=i&&i.bigint&&typeof BigInt<`u`;return{data:d(``,!0),pointers:o};function d(t,n){f();var r;S(t,`value`);var i=v();switch(i){case`t`:_(`rue`),r=!0;break;case`f`:_(`alse`),r=!1;break;case`n`:_(`ull`),r=null;break;case`"`:r=p();break;case`[`:r=h(t);break;case`{`:r=g(t);break;default:y(),`-0123456789`.indexOf(i)>=0?r=m():T()}return S(t,`valueEnd`),f(),n&&l<e.length&&T(),r}function f(){loop:for(;l<e.length;){switch(e[l]){case` `:c++;break;case` `:c+=4;break;case`\r`:c=0;break;case`
34
34
  `:c=0,s++;break;default:break loop}l++}}function p(){for(var e=``,n;n=v(),n!=`"`;)n==`\\`?(n=v(),n in t?e+=t[n]:n==`u`?e+=b():E()):e+=n;return e}function m(){var t=``,n=!0;e[l]==`-`&&(t+=v()),t+=e[l]==`0`?v():x(),e[l]==`.`&&(t+=v()+x(),n=!1),(e[l]==`e`||e[l]==`E`)&&(t+=v(),(e[l]==`+`||e[l]==`-`)&&(t+=v()),t+=x(),n=!1);var r=+t;return u&&n&&(r>2**53-1||r<-(2**53-1))?BigInt(t):r}function h(e){f();var t=[],n=0;if(v()==`]`)return t;for(y();;){var r=e+`/`+n;t.push(d(r)),f();var i=v();if(i==`]`)break;i!=`,`&&E(),f(),n++}return t}function g(e){f();var t={};if(v()==`}`)return t;for(y();;){var n=w();v()!=`"`&&E();var r=p(),i=e+`/`+a(r);C(i,`key`,n),S(i,`keyEnd`),f(),v()!=`:`&&E(),f(),t[r]=d(i),f();var o=v();if(o==`}`)break;o!=`,`&&E(),f()}return t}function _(e){for(var t=0;t<e.length;t++)v()!==e[t]&&E()}function v(){ee();var t=e[l];return l++,c++,t}function y(){l--,c--}function b(){for(var e=4,t=0;e--;){t<<=4;var r=v().toLowerCase();r>=`a`&&r<=`f`?t+=r.charCodeAt()-n+10:r>=`0`&&r<=`9`?t+=+r:E()}return String.fromCharCode(t)}function x(){for(var t=``;e[l]>=`0`&&e[l]<=`9`;)t+=v();if(t.length)return t;ee(),T()}function S(e,t){C(e,t,w())}function C(e,t,n){o[e]=o[e]||{},o[e][t]=n}function w(){return{line:s,column:c,pos:l}}function T(){throw SyntaxError(`Unexpected token `+e[l]+` in JSON at position `+l)}function E(){y(),T()}function ee(){if(l>=e.length)throw SyntaxError(`Unexpected end of JSON input`)}};var r=/~/g,i=/\//g;function a(e){return e.replace(r,`~0`).replace(i,`~1`)}})),Zf=class extends Error{constructor(e,t){super(`${e} at position ${t}`),this.position=t}},Qf=32,$f=10,ep=9,tp=13,np=160,rp=6158,ip=8192,ap=8203,op=8239,sp=8287,cp=12288,lp=65279;function up(e){return/^[0-9A-Fa-f]$/.test(e)}function dp(e){return e>=`0`&&e<=`9`}function fp(e){return e>=` `}function pp(e){return`,:[]/{}()
35
35
  +`.includes(e)}function mp(e){return e>=`a`&&e<=`z`||e>=`A`&&e<=`Z`||e===`_`||e===`$`}function hp(e){return e>=`a`&&e<=`z`||e>=`A`&&e<=`Z`||e===`_`||e===`$`||e>=`0`&&e<=`9`}var gp=/^(http|https|ftp|mailto|file|data|irc):\/\/$/,_p=/^[A-Za-z0-9-._~:/?#@!$&'()*+;=]$/;function vp(e){return`,[]/{}
@@ -37,7 +37,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
37
37
  `||e===`\r`||e===` `||e===`\b`||e===`\f`}function Sp(e,t){let n=e.charCodeAt(t);return n===Qf||n===$f||n===ep||n===tp}function Cp(e,t){let n=e.charCodeAt(t);return n===Qf||n===ep||n===tp}function wp(e,t){let n=e.charCodeAt(t);return n===np||n===rp||n>=ip&&n<=ap||n===op||n===sp||n===cp||n===lp}function Tp(e){return Ep(e)||Op(e)}function Ep(e){return e===`"`||e===`“`||e===`”`}function Dp(e){return e===`"`}function Op(e){return e===`'`||e===`‘`||e===`’`||e==="`"||e===`´`}function kp(e){return e===`'`}function Ap(e,t){let n=arguments.length>2&&arguments[2]!==void 0&&arguments[2],r=e.lastIndexOf(t);return r===-1?e:e.substring(0,r)+(n?``:e.substring(r+1))}function jp(e,t){let n=e.length;if(!Sp(e,n-1))return e+t;for(;Sp(e,n-1);)n--;return e.substring(0,n)+t+e.substring(n)}function Mp(e,t,n){return e.substring(0,t)+e.substring(t+n)}function Np(e){return/[,\n][ \t\r]*$/.test(e)}var Pp={"&quot;":`"`,"&amp;":`&`,"&lt;":`<`,"&gt;":`>`,"&apos;":`'`};function Fp(e){if(e.charAt(0)!==`&`)return null;let t=e.indexOf(`;`);if(t===-1)return null;let n=e.substring(0,t+1),r=Pp[n];if(r!==void 0)return{char:r,length:n.length};if(e.charAt(1)===`#`){let r=e.substring(2,t),i=r.charAt(0)===`x`||r.charAt(0)===`X`,a=i?r.substring(1):r;if(a.length>0){let e=Number.parseInt(a,i?16:10);if(!Number.isNaN(e)&&e>=0&&e<=1114111)return{char:String.fromCodePoint(e),length:n.length}}}return null}function Ip(e){return e!==null&&e.char===`"`}function Lp(e){return e!==null&&e.char===`'`}function Rp(e,t){let n=0;for(let r=0;r<e.length;r++)e.charAt(r)===t&&n++;return n}function zp(e,t){switch(t){case`)`:return Rp(e,`(`)>Rp(e,`)`);case`]`:return Rp(e,`[`)>Rp(e,`]`);case`}`:return Rp(e,`{`)>Rp(e,`}`);default:return!1}}var Bp={"\b":`\\b`,"\f":`\\f`,"\n":`\\n`,"\r":`\\r`," ":`\\t`},Vp={'"':`"`,"\\":`\\`,"/":`/`,b:`\b`,f:`\f`,n:`
38
38
  `,r:`\r`,t:` `};function Hp(e){let t=0,n=``;c(["```","[```","{```"]),i()||ne(),c(["```","```]","```}"]);let r=u(`,`);for(r&&a(),yp(e[t])&&Np(n)?(r||(n=jp(n,`,`)),g()):r&&(n=Ap(n,`,`));e[t]===`}`||e[t]===`]`;)t++,a();if(t>=e.length)return n;te();function i(){a();let e=m()||h()||_()||y()||b()||S(!1)||C();return a(),e}function a(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0,n=t,r=o(e);do r=s(),r&&(r=o(e));while(r);return t>n}function o(r){let i=r?Sp:Cp,a=``;for(;;)if(i(e,t))a+=e[t],t++;else if(wp(e,t))a+=` `,t++;else break;return a.length>0&&(n+=a,!0)}function s(){if(e[t]===`/`&&e[t+1]===`*`){for(;t<e.length&&!Up(e,t);)t++;return t+=2,!0}if(e[t]===`/`&&e[t+1]===`/`){for(;t<e.length&&e[t]!==`
39
39
  `;)t++;return!0}return!1}function c(n){if(l(n)){if(mp(e[t]))for(;t<e.length&&hp(e[t]);)t++;return a(),!0}return!1}function l(n){o(!0);for(let r of n){let n=t+r.length;if(e.slice(t,n)===r)return t=n,!0}return!1}function u(r){return e[t]===r&&(n+=e[t],t++,!0)}function d(n){return e[t]===n&&(t++,!0)}function f(){return d(`\\`)}function p(){return a(),e[t]===`.`&&e[t+1]===`.`&&e[t+2]===`.`&&(t+=3,a(),d(`,`),!0)}function m(){if(e[t]===`{`){n+=`{`,t++,a(),d(`,`)&&a();let r=!0;for(;t<e.length&&e[t]!==`}`;){let o;if(r?o=!0:(o=u(`,`),o||(n=jp(n,`,`)),a()),p(),!(_()||S(!0))){e[t]===`}`||e[t]===`{`||e[t]===`]`||e[t]===`[`||e[t]===void 0?r||(n=Ap(n,`,`)):D();break}a();let s=u(`:`),c=t>=e.length;s||(yp(e[t])||c?n=jp(n,`:`):re()),i()||(s||c?n+=`null`:re()),r=!1}return e[t]===`}`?(n+=`}`,t++):n=jp(n,`}`),!0}return!1}function h(){if(e[t]===`[`){n+=`[`,t++,a(),d(`,`)&&a();let r=!0;for(;t<e.length&&e[t]!==`]`;){if(r||u(`,`)||(n=jp(n,`,`)),p(),!i()){r||(n=Ap(n,`,`));break}r=!1}return e[t]===`]`?(n+=`]`,t++):n=jp(n,`]`),!0}return!1}function g(){let e=!0,t=!0;for(;t;)e?e=!1:u(`,`)||(n=jp(n,`,`)),t=i();t||(n=Ap(n,`,`)),n=`[\n${n}\n]`}function _(){let r=arguments.length>0&&arguments[0]!==void 0&&arguments[0],i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,o=e[t]===`\\`;o&&(t++,Tp(e[t])||te());let s=e[t]===`&`?Fp(e.slice(t,t+12)):null,c=Ip(s)||Lp(s);if(Tp(e[t])||c){let l=Dp(e[t])?Dp:kp(e[t])?kp:Op(e[t])?Op:Ep,u=t,d=n.length,p=`"`;for(t+=c&&s?s.length:1;;){if(t>=e.length){let i=w(t-1);return!r&&pp(e.charAt(i))?(t=u,n=n.substring(0,d),_(!0)):(p=jp(p,`"`),n+=p,!0)}if(t===i)return p=jp(p,`"`),n+=p,!0;let m=c&&e[t]===`&`?Fp(e.slice(t,t+12)):null;if(m&&s?m.char===s.char:l(e[t])){let i=t,o=p.length;if(p+=`"`,t+=m?m.length:1,n+=p,a(!1),r||t>=e.length||pp(e[t])&&!zp(p,e[t])||Tp(e[t])&&!T(t)||dp(e[t]))return v(),!0;e[t]===`\\`&&te();let s=w(i-1),c=e.charAt(s);if(c===`,`)return t=u,n=n.substring(0,d),_(!1,s);if(pp(c))return t=u,n=n.substring(0,d),_(!0);n=n.substring(0,d),t=i+(m?m.length:1),p=`${p.substring(0,o)}\\${p.substring(o)}`}else if(r&&vp(e[t])){if(e[t-1]===`:`&&gp.test(e.substring(u+1,t+2)))for(;t<e.length&&_p.test(e[t]);)p+=e[t],t++;return p=jp(p,`"`),n+=p,v(),!0}else if(m){let e=m.char;e===`"`?p+=`\\"`:xp(e)?p+=Bp[e]:p+=e,t+=m.length}else if(e[t]===`\\`){let n=e.charAt(t+1);if(Vp[n]!==void 0)p+=e.slice(t,t+2),t+=2;else if(n===`u`){let n=2;for(;n<6&&up(e[t+n]);)n++;n===6?(p+=e.slice(t,t+6),t+=6):t+n>=e.length?t=e.length:ie()}else n===`
40
- `?(p+=`\\n`,t+=2):(p+=n,t+=2)}else{let n=e.charAt(t);n===`"`&&e[t-1]!==`\\`?(p+=`\\${n}`,t++):xp(n)?(p+=Bp[n],t++):(fp(n)||ee(n),p+=n,t++)}o&&f()}}return!1}function v(){let r=!1;for(a();e[t]===`+`;){r=!0,t++,a(),n=Ap(n,`"`,!0);let e=n.length;n=_()?Mp(n,e,1):jp(n,`"`)}return r}function y(){let r=t,i=``,a=!1;for(e[t]===`-`&&(i+=e[t],t++,!dp(e[t])&&E()&&(i+=`0`)),e[t]===`0`&&dp(e[t+1])&&(a=!0);dp(e[t]);)i+=e[t],t++;if(e[t]===`.`)for((i===``||i===`-`)&&(i+=`0`),i+=e[t],t++,dp(e[t])||(i+=`0`);dp(e[t]);)i+=e[t],t++;if(t>r){if(e[t]===`e`||e[t]===`E`)for(i===`-`&&(a=!0),i+=e[t],t++,(e[t]===`-`||e[t]===`+`)&&(i+=e[t],t++),dp(e[t])||(i+=`0`);dp(e[t]);)i+=e[t],t++;return E()?(n+=a?`"${e.substring(r,t)}"`:i,!0):(t=r,!1)}return!1}function b(){return x(`true`,`true`)||x(`false`,`false`)||x(`null`,`null`)||x(`True`,`true`)||x(`False`,`false`)||x(`None`,`null`)}function x(r,i){return e.slice(t,t+r.length)===r&&!hp(e[t+r.length])&&(n+=i,t+=r.length,!0)}function S(r){let a=t;if(mp(e[t])){for(;t<e.length&&hp(e[t]);)t++;let n=t;for(;Sp(e,n);)n++;if(e[n]===`(`)return t=n+1,i(),e[t]===`)`&&(t++,e[t]===`;`&&t++),!0}for(;t<e.length&&!vp(e[t])&&!Tp(e[t])&&(!r||e[t]!==`:`);)t++;if(e[t-1]===`:`&&gp.test(e.substring(a,t+2)))for(;t<e.length&&_p.test(e[t]);)t++;if(t>a){for(;Sp(e,t-1)&&t>0;)t--;let r=e.slice(a,t);return n+=r===`undefined`?`null`:JSON.stringify(r),e[t]===`"`&&t++,!0}}function C(){if(e[t]===`/`){let r=t;for(t++;t<e.length&&(e[t]!==`/`||e[t-1]===`\\`);)t++;return t++,n+=JSON.stringify(e.substring(r,t)),!0}}function w(t){let n=t;for(;n>0&&Sp(e,n);)n--;return n}function T(t){let n=t+1;for(;n<e.length&&Sp(e,n);)n++;return n>=e.length||pp(e[n])}function E(){return t>=e.length||pp(e[t])||Sp(e,t)}function ee(e){throw new Zf(`Invalid character ${JSON.stringify(e)}`,t)}function te(){throw new Zf(`Unexpected character ${JSON.stringify(e[t])}`,t)}function ne(){throw new Zf(`Unexpected end of json string`,e.length)}function D(){throw new Zf(`Object key expected`,t)}function re(){throw new Zf(`Colon expected`,t)}function ie(){throw new Zf(`Invalid unicode character "${e.slice(t,t+6)}"`,t)}}function Up(e,t){return e[t]===`*`&&e[t+1]===`/`}var Wp=typeof global==`object`&&global&&global.Object===Object&&global,Gp=typeof self==`object`&&self&&self.Object===Object&&self,Kp=Wp||Gp||Function(`return this`)(),qp=Kp.Symbol,Jp=Object.prototype,Yp=Jp.hasOwnProperty,Xp=Jp.toString,Zp=qp?qp.toStringTag:void 0;function Qp(e){var t=Yp.call(e,Zp),n=e[Zp];try{e[Zp]=void 0;var r=!0}catch{}var i=Xp.call(e);return r&&(t?e[Zp]=n:delete e[Zp]),i}var $p=Object.prototype.toString;function em(e){return $p.call(e)}var tm=`[object Null]`,nm=`[object Undefined]`,rm=qp?qp.toStringTag:void 0;function im(e){return e==null?e===void 0?nm:tm:rm&&rm in Object(e)?Qp(e):em(e)}function am(e){return typeof e==`object`&&!!e}var om=`[object Symbol]`;function sm(e){return typeof e==`symbol`||am(e)&&im(e)==om}function cm(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var lm=Array.isArray,um=1/0,dm=qp?qp.prototype:void 0,fm=dm?dm.toString:void 0;function pm(e){if(typeof e==`string`)return e;if(lm(e))return cm(e,pm)+``;if(sm(e))return fm?fm.call(e):``;var t=e+``;return t==`0`&&1/e==-um?`-0`:t}var mm=/\s/;function hm(e){for(var t=e.length;t--&&mm.test(e.charAt(t)););return t}var gm=/^\s+/;function _m(e){return e&&e.slice(0,hm(e)+1).replace(gm,``)}function vm(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var ym=NaN,bm=/^[-+]0x[0-9a-f]+$/i,xm=/^0b[01]+$/i,Sm=/^0o[0-7]+$/i,Cm=parseInt;function wm(e){if(typeof e==`number`)return e;if(sm(e))return ym;if(vm(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=vm(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=_m(e);var n=xm.test(e);return n||Sm.test(e)?Cm(e.slice(2),n?2:8):bm.test(e)?ym:+e}var Tm=1/0,Em=17976931348623157e292;function Dm(e){return e?(e=wm(e),e===Tm||e===-Tm?(e<0?-1:1)*Em:e===e?e:0):e===0?e:0}function Om(e){var t=Dm(e),n=t%1;return t===t?n?t-n:t:0}function km(e){return e}var Am=`[object AsyncFunction]`,jm=`[object Function]`,Mm=`[object GeneratorFunction]`,Nm=`[object Proxy]`;function Pm(e){if(!vm(e))return!1;var t=im(e);return t==jm||t==Mm||t==Am||t==Nm}var Fm=Kp[`__core-js_shared__`],Im=function(){var e=/[^.]+$/.exec(Fm&&Fm.keys&&Fm.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function Lm(e){return!!Im&&Im in e}var Rm=Function.prototype.toString;function zm(e){if(e!=null){try{return Rm.call(e)}catch{}try{return e+``}catch{}}return``}var Bm=/[\\^$.*+?()[\]{}|]/g,Vm=/^\[object .+?Constructor\]$/,Hm=Function.prototype,Um=Object.prototype,Wm=Hm.toString,Gm=Um.hasOwnProperty,Km=RegExp(`^`+Wm.call(Gm).replace(Bm,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function qm(e){return!vm(e)||Lm(e)?!1:(Pm(e)?Km:Vm).test(zm(e))}function Jm(e,t){return e==null?void 0:e[t]}function Ym(e,t){var n=Jm(e,t);return qm(n)?n:void 0}var Xm=Ym(Kp,`WeakMap`),Zm=Object.create,Qm=function(){function e(){}return function(t){if(!vm(t))return{};if(Zm)return Zm(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function $m(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function eh(){}function th(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var nh=800,rh=16,ih=Date.now;function ah(e){var t=0,n=0;return function(){var r=ih(),i=rh-(r-n);if(n=r,i>0){if(++t>=nh)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function oh(e){return function(){return e}}var sh=function(){try{var e=Ym(Object,`defineProperty`);return e({},``,{}),e}catch{}}(),ch=ah(sh?function(e,t){return sh(e,`toString`,{configurable:!0,enumerable:!1,value:oh(t),writable:!0})}:km);function lh(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var uh=9007199254740991,dh=/^(?:0|[1-9]\d*)$/;function fh(e,t){var n=typeof e;return t=t==null?uh:t,!!t&&(n==`number`||n!=`symbol`&&dh.test(e))&&e>-1&&e%1==0&&e<t}function ph(e,t,n){t==`__proto__`&&sh?sh(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function mh(e,t){return e===t||e!==e&&t!==t}var hh=Object.prototype.hasOwnProperty;function gh(e,t,n){var r=e[t];(!(hh.call(e,t)&&mh(r,n))||n===void 0&&!(t in e))&&ph(e,t,n)}function _h(e,t,n,r){var i=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?ph(n,s,c):gh(n,s,c)}return n}var vh=Math.max;function yh(e,t,n){return t=vh(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=vh(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),$m(e,this,s)}}function bh(e,t){return ch(yh(e,t,km),e+``)}var xh=9007199254740991;function Sh(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=xh}function Ch(e){return e!=null&&Sh(e.length)&&!Pm(e)}function wh(e,t,n){if(!vm(n))return!1;var r=typeof t;return(r==`number`?Ch(n)&&fh(t,n.length):r==`string`&&t in n)?mh(n[t],e):!1}var Th=Object.prototype;function Eh(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||Th)}function Dh(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var Oh=`[object Arguments]`;function kh(e){return am(e)&&im(e)==Oh}var Ah=Object.prototype,jh=Ah.hasOwnProperty,Mh=Ah.propertyIsEnumerable,Nh=kh(function(){return arguments}())?kh:function(e){return am(e)&&jh.call(e,`callee`)&&!Mh.call(e,`callee`)};function Ph(){return!1}var Fh=typeof exports==`object`&&exports&&!exports.nodeType&&exports,Ih=Fh&&typeof module==`object`&&module&&!module.nodeType&&module,Lh=Ih&&Ih.exports===Fh?Kp.Buffer:void 0,Rh=(Lh?Lh.isBuffer:void 0)||Ph,zh=`[object Arguments]`,Bh=`[object Array]`,Vh=`[object Boolean]`,Hh=`[object Date]`,Uh=`[object Error]`,Wh=`[object Function]`,Gh=`[object Map]`,Kh=`[object Number]`,qh=`[object Object]`,Jh=`[object RegExp]`,Yh=`[object Set]`,Xh=`[object String]`,Zh=`[object WeakMap]`,Qh=`[object ArrayBuffer]`,$h=`[object DataView]`,eg=`[object Float32Array]`,tg=`[object Float64Array]`,ng=`[object Int8Array]`,rg=`[object Int16Array]`,ig=`[object Int32Array]`,ag=`[object Uint8Array]`,og=`[object Uint8ClampedArray]`,sg=`[object Uint16Array]`,cg=`[object Uint32Array]`,lg={};lg[eg]=lg[tg]=lg[ng]=lg[rg]=lg[ig]=lg[ag]=lg[og]=lg[sg]=lg[cg]=!0,lg[zh]=lg[Bh]=lg[Qh]=lg[Vh]=lg[$h]=lg[Hh]=lg[Uh]=lg[Wh]=lg[Gh]=lg[Kh]=lg[qh]=lg[Jh]=lg[Yh]=lg[Xh]=lg[Zh]=!1;function ug(e){return am(e)&&Sh(e.length)&&!!lg[im(e)]}function dg(e){return function(t){return e(t)}}var fg=typeof exports==`object`&&exports&&!exports.nodeType&&exports,pg=fg&&typeof module==`object`&&module&&!module.nodeType&&module,mg=pg&&pg.exports===fg&&Wp.process,hg=function(){try{return pg&&pg.require&&pg.require(`util`).types||mg&&mg.binding&&mg.binding(`util`)}catch{}}(),gg=hg&&hg.isTypedArray,_g=gg?dg(gg):ug,vg=Object.prototype.hasOwnProperty;function yg(e,t){var n=lm(e),r=!n&&Nh(e),i=!n&&!r&&Rh(e),a=!n&&!r&&!i&&_g(e),o=n||r||i||a,s=o?Dh(e.length,String):[],c=s.length;for(var l in e)(t||vg.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||fh(l,c)))&&s.push(l);return s}function bg(e,t){return function(n){return e(t(n))}}var xg=bg(Object.keys,Object),Sg=Object.prototype.hasOwnProperty;function Cg(e){if(!Eh(e))return xg(e);var t=[];for(var n in Object(e))Sg.call(e,n)&&n!=`constructor`&&t.push(n);return t}function wg(e){return Ch(e)?yg(e):Cg(e)}function Tg(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Eg=Object.prototype.hasOwnProperty;function Dg(e){if(!vm(e))return Tg(e);var t=Eh(e),n=[];for(var r in e)r==`constructor`&&(t||!Eg.call(e,r))||n.push(r);return n}function Og(e){return Ch(e)?yg(e,!0):Dg(e)}var kg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ag=/^\w*$/;function jg(e,t){if(lm(e))return!1;var n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||sm(e)?!0:Ag.test(e)||!kg.test(e)||t!=null&&e in Object(t)}var Mg=Ym(Object,`create`);function Ng(){this.__data__=Mg?Mg(null):{},this.size=0}function Pg(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}var Fg=`__lodash_hash_undefined__`,Ig=Object.prototype.hasOwnProperty;function Lg(e){var t=this.__data__;if(Mg){var n=t[e];return n===Fg?void 0:n}return Ig.call(t,e)?t[e]:void 0}var Rg=Object.prototype.hasOwnProperty;function zg(e){var t=this.__data__;return Mg?t[e]!==void 0:Rg.call(t,e)}var Bg=`__lodash_hash_undefined__`;function Vg(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=Mg&&t===void 0?Bg:t,this}function Hg(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Hg.prototype.clear=Ng,Hg.prototype.delete=Pg,Hg.prototype.get=Lg,Hg.prototype.has=zg,Hg.prototype.set=Vg;function Ug(){this.__data__=[],this.size=0}function Wg(e,t){for(var n=e.length;n--;)if(mh(e[n][0],t))return n;return-1}var Gg=Array.prototype.splice;function Kg(e){var t=this.__data__,n=Wg(t,e);return n<0?!1:(n==t.length-1?t.pop():Gg.call(t,n,1),--this.size,!0)}function qg(e){var t=this.__data__,n=Wg(t,e);return n<0?void 0:t[n][1]}function Jg(e){return Wg(this.__data__,e)>-1}function Yg(e,t){var n=this.__data__,r=Wg(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Xg(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Xg.prototype.clear=Ug,Xg.prototype.delete=Kg,Xg.prototype.get=qg,Xg.prototype.has=Jg,Xg.prototype.set=Yg;var Zg=Ym(Kp,`Map`);function Qg(){this.size=0,this.__data__={hash:new Hg,map:new(Zg||Xg),string:new Hg}}function $g(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function e_(e,t){var n=e.__data__;return $g(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function t_(e){var t=e_(this,e).delete(e);return this.size-=+!!t,t}function n_(e){return e_(this,e).get(e)}function r_(e){return e_(this,e).has(e)}function i_(e,t){var n=e_(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function a_(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a_.prototype.clear=Qg,a_.prototype.delete=t_,a_.prototype.get=n_,a_.prototype.has=r_,a_.prototype.set=i_;var o_=`Expected a function`;function s_(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(o_);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(s_.Cache||a_),n}s_.Cache=a_;var c_=500;function l_(e){var t=s_(e,function(e){return n.size===c_&&n.clear(),e}),n=t.cache;return t}var u_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d_=/\\(\\)?/g,f_=l_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(u_,function(e,n,r,i){t.push(r?i.replace(d_,`$1`):n||e)}),t});function p_(e){return e==null?``:pm(e)}function m_(e,t){return lm(e)?e:jg(e,t)?[e]:f_(p_(e))}var h_=1/0;function g_(e){if(typeof e==`string`||sm(e))return e;var t=e+``;return t==`0`&&1/e==-h_?`-0`:t}function __(e,t){t=m_(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[g_(t[n++])];return n&&n==r?e:void 0}function v_(e,t,n){var r=e==null?void 0:__(e,t);return r===void 0?n:r}function y_(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var b_=qp?qp.isConcatSpreadable:void 0;function x_(e){return lm(e)||Nh(e)||!!(b_&&e&&e[b_])}function S_(e,t,n,r,i){var a=-1,o=e.length;for(n||(n=x_),i||(i=[]);++a<o;){var s=e[a];t>0&&n(s)?t>1?S_(s,t-1,n,r,i):y_(i,s):r||(i[i.length]=s)}return i}var C_=bg(Object.getPrototypeOf,Object);function w_(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a}function T_(){this.__data__=new Xg,this.size=0}function E_(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function D_(e){return this.__data__.get(e)}function O_(e){return this.__data__.has(e)}var k_=200;function A_(e,t){var n=this.__data__;if(n instanceof Xg){var r=n.__data__;if(!Zg||r.length<k_-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new a_(r)}return n.set(e,t),this.size=n.size,this}function j_(e){var t=this.__data__=new Xg(e);this.size=t.size}j_.prototype.clear=T_,j_.prototype.delete=E_,j_.prototype.get=D_,j_.prototype.has=O_,j_.prototype.set=A_;function M_(e,t){return e&&_h(t,wg(t),e)}function N_(e,t){return e&&_h(t,Og(t),e)}var P_=typeof exports==`object`&&exports&&!exports.nodeType&&exports,F_=P_&&typeof module==`object`&&module&&!module.nodeType&&module,I_=F_&&F_.exports===P_?Kp.Buffer:void 0,L_=I_?I_.allocUnsafe:void 0;function R_(e,t){if(t)return e.slice();var n=e.length,r=L_?L_(n):new e.constructor(n);return e.copy(r),r}function z_(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function B_(){return[]}var V_=Object.prototype.propertyIsEnumerable,H_=Object.getOwnPropertySymbols,U_=H_?function(e){return e==null?[]:(e=Object(e),z_(H_(e),function(t){return V_.call(e,t)}))}:B_;function W_(e,t){return _h(e,U_(e),t)}var G_=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)y_(t,U_(e)),e=C_(e);return t}:B_;function K_(e,t){return _h(e,G_(e),t)}function q_(e,t,n){var r=t(e);return lm(e)?r:y_(r,n(e))}function J_(e){return q_(e,wg,U_)}function Y_(e){return q_(e,Og,G_)}var X_=Ym(Kp,`DataView`),Z_=Ym(Kp,`Promise`),Q_=Ym(Kp,`Set`),$_=`[object Map]`,ev=`[object Object]`,tv=`[object Promise]`,nv=`[object Set]`,rv=`[object WeakMap]`,iv=`[object DataView]`,av=zm(X_),ov=zm(Zg),sv=zm(Z_),cv=zm(Q_),lv=zm(Xm),uv=im;(X_&&uv(new X_(new ArrayBuffer(1)))!=iv||Zg&&uv(new Zg)!=$_||Z_&&uv(Z_.resolve())!=tv||Q_&&uv(new Q_)!=nv||Xm&&uv(new Xm)!=rv)&&(uv=function(e){var t=im(e),n=t==ev?e.constructor:void 0,r=n?zm(n):``;if(r)switch(r){case av:return iv;case ov:return $_;case sv:return tv;case cv:return nv;case lv:return rv}return t});var dv=uv,fv=Object.prototype.hasOwnProperty;function pv(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&fv.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}var mv=Kp.Uint8Array;function hv(e){var t=new e.constructor(e.byteLength);return new mv(t).set(new mv(e)),t}function gv(e,t){var n=t?hv(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var _v=/\w*$/;function vv(e){var t=new e.constructor(e.source,_v.exec(e));return t.lastIndex=e.lastIndex,t}var yv=qp?qp.prototype:void 0,bv=yv?yv.valueOf:void 0;function xv(e){return bv?Object(bv.call(e)):{}}function Sv(e,t){var n=t?hv(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Cv=`[object Boolean]`,wv=`[object Date]`,Tv=`[object Map]`,Ev=`[object Number]`,Dv=`[object RegExp]`,Ov=`[object Set]`,kv=`[object String]`,Av=`[object Symbol]`,jv=`[object ArrayBuffer]`,Mv=`[object DataView]`,Nv=`[object Float32Array]`,Pv=`[object Float64Array]`,Fv=`[object Int8Array]`,Iv=`[object Int16Array]`,Lv=`[object Int32Array]`,Rv=`[object Uint8Array]`,zv=`[object Uint8ClampedArray]`,Bv=`[object Uint16Array]`,Vv=`[object Uint32Array]`;function Hv(e,t,n){var r=e.constructor;switch(t){case jv:return hv(e);case Cv:case wv:return new r(+e);case Mv:return gv(e,n);case Nv:case Pv:case Fv:case Iv:case Lv:case Rv:case zv:case Bv:case Vv:return Sv(e,n);case Tv:return new r;case Ev:case kv:return new r(e);case Dv:return vv(e);case Ov:return new r;case Av:return xv(e)}}function Uv(e){return typeof e.constructor==`function`&&!Eh(e)?Qm(C_(e)):{}}var Wv=`[object Map]`;function Gv(e){return am(e)&&dv(e)==Wv}var Kv=hg&&hg.isMap,qv=Kv?dg(Kv):Gv,Jv=`[object Set]`;function Yv(e){return am(e)&&dv(e)==Jv}var Xv=hg&&hg.isSet,Zv=Xv?dg(Xv):Yv,Qv=1,$v=2,ey=4,ty=`[object Arguments]`,ny=`[object Array]`,ry=`[object Boolean]`,iy=`[object Date]`,ay=`[object Error]`,oy=`[object Function]`,sy=`[object GeneratorFunction]`,cy=`[object Map]`,ly=`[object Number]`,uy=`[object Object]`,dy=`[object RegExp]`,fy=`[object Set]`,py=`[object String]`,my=`[object Symbol]`,hy=`[object WeakMap]`,gy=`[object ArrayBuffer]`,_y=`[object DataView]`,vy=`[object Float32Array]`,yy=`[object Float64Array]`,by=`[object Int8Array]`,xy=`[object Int16Array]`,Sy=`[object Int32Array]`,Cy=`[object Uint8Array]`,wy=`[object Uint8ClampedArray]`,Ty=`[object Uint16Array]`,Ey=`[object Uint32Array]`,Dy={};Dy[ty]=Dy[ny]=Dy[gy]=Dy[_y]=Dy[ry]=Dy[iy]=Dy[vy]=Dy[yy]=Dy[by]=Dy[xy]=Dy[Sy]=Dy[cy]=Dy[ly]=Dy[uy]=Dy[dy]=Dy[fy]=Dy[py]=Dy[my]=Dy[Cy]=Dy[wy]=Dy[Ty]=Dy[Ey]=!0,Dy[ay]=Dy[oy]=Dy[hy]=!1;function Oy(e,t,n,r,i,a){var o,s=t&Qv,c=t&$v,l=t&ey;if(n&&(o=i?n(e,r,i,a):n(e)),o!==void 0)return o;if(!vm(e))return e;var u=lm(e);if(u){if(o=pv(e),!s)return th(e,o)}else{var d=dv(e),f=d==oy||d==sy;if(Rh(e))return R_(e,s);if(d==uy||d==ty||f&&!i){if(o=c||f?{}:Uv(e),!s)return c?K_(e,N_(o,e)):W_(e,M_(o,e))}else{if(!Dy[d])return i?e:{};o=Hv(e,d,s)}}a||(a=new j_);var p=a.get(e);if(p)return p;a.set(e,o),Zv(e)?e.forEach(function(r){o.add(Oy(r,t,n,r,e,a))}):qv(e)&&e.forEach(function(r,i){o.set(i,Oy(r,t,n,i,e,a))});var m=u?void 0:(l?c?Y_:J_:c?Og:wg)(e);return lh(m||e,function(r,i){m&&(i=r,r=e[i]),gh(o,i,Oy(r,t,n,i,e,a))}),o}var ky=1,Ay=4;function jy(e){return Oy(e,ky|Ay)}var My=1,Ny=4;function Py(e,t){return t=typeof t==`function`?t:void 0,Oy(e,My|Ny,t)}var Fy=`__lodash_hash_undefined__`;function Iy(e){return this.__data__.set(e,Fy),this}function Ly(e){return this.__data__.has(e)}function Ry(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new a_;++t<n;)this.add(e[t])}Ry.prototype.add=Ry.prototype.push=Iy,Ry.prototype.has=Ly;function zy(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function By(e,t){return e.has(t)}var Vy=1,Hy=2;function Uy(e,t,n,r,i,a){var o=n&Vy,s=e.length,c=t.length;if(s!=c&&!(o&&c>s))return!1;var l=a.get(e),u=a.get(t);if(l&&u)return l==t&&u==e;var d=-1,f=!0,p=n&Hy?new Ry:void 0;for(a.set(e,t),a.set(t,e);++d<s;){var m=e[d],h=t[d];if(r)var g=o?r(h,m,d,t,e,a):r(m,h,d,e,t,a);if(g!==void 0){if(g)continue;f=!1;break}if(p){if(!zy(t,function(e,t){if(!By(p,t)&&(m===e||i(m,e,n,r,a)))return p.push(t)})){f=!1;break}}else if(!(m===h||i(m,h,n,r,a))){f=!1;break}}return a.delete(e),a.delete(t),f}function Wy(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Gy(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var Ky=1,qy=2,Jy=`[object Boolean]`,Yy=`[object Date]`,Xy=`[object Error]`,Zy=`[object Map]`,Qy=`[object Number]`,$y=`[object RegExp]`,eb=`[object Set]`,tb=`[object String]`,nb=`[object Symbol]`,rb=`[object ArrayBuffer]`,ib=`[object DataView]`,ab=qp?qp.prototype:void 0,ob=ab?ab.valueOf:void 0;function sb(e,t,n,r,i,a,o){switch(n){case ib:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case rb:return!(e.byteLength!=t.byteLength||!a(new mv(e),new mv(t)));case Jy:case Yy:case Qy:return mh(+e,+t);case Xy:return e.name==t.name&&e.message==t.message;case $y:case tb:return e==t+``;case Zy:var s=Wy;case eb:var c=r&Ky;if(s||(s=Gy),e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;r|=qy,o.set(e,t);var u=Uy(s(e),s(t),r,i,a,o);return o.delete(e),u;case nb:if(ob)return ob.call(e)==ob.call(t)}return!1}var cb=1,lb=Object.prototype.hasOwnProperty;function ub(e,t,n,r,i,a){var o=n&cb,s=J_(e),c=s.length;if(c!=J_(t).length&&!o)return!1;for(var l=c;l--;){var u=s[l];if(!(o?u in t:lb.call(t,u)))return!1}var d=a.get(e),f=a.get(t);if(d&&f)return d==t&&f==e;var p=!0;a.set(e,t),a.set(t,e);for(var m=o;++l<c;){u=s[l];var h=e[u],g=t[u];if(r)var _=o?r(g,h,u,t,e,a):r(h,g,u,e,t,a);if(!(_===void 0?h===g||i(h,g,n,r,a):_)){p=!1;break}m||(m=u==`constructor`)}if(p&&!m){var v=e.constructor,y=t.constructor;v!=y&&`constructor`in e&&`constructor`in t&&!(typeof v==`function`&&v instanceof v&&typeof y==`function`&&y instanceof y)&&(p=!1)}return a.delete(e),a.delete(t),p}var db=1,fb=`[object Arguments]`,pb=`[object Array]`,mb=`[object Object]`,hb=Object.prototype.hasOwnProperty;function gb(e,t,n,r,i,a){var o=lm(e),s=lm(t),c=o?pb:dv(e),l=s?pb:dv(t);c=c==fb?mb:c,l=l==fb?mb:l;var u=c==mb,d=l==mb,f=c==l;if(f&&Rh(e)){if(!Rh(t))return!1;o=!0,u=!1}if(f&&!u)return a||(a=new j_),o||_g(e)?Uy(e,t,n,r,i,a):sb(e,t,c,n,r,i,a);if(!(n&db)){var p=u&&hb.call(e,`__wrapped__`),m=d&&hb.call(t,`__wrapped__`);if(p||m){var h=p?e.value():e,g=m?t.value():t;return a||(a=new j_),i(h,g,n,r,a)}}return f?(a||(a=new j_),ub(e,t,n,r,i,a)):!1}function _b(e,t,n,r,i){return e===t?!0:e==null||t==null||!am(e)&&!am(t)?e!==e&&t!==t:gb(e,t,n,r,_b,i)}var vb=1,yb=2;function bb(e,t,n,r){var i=n.length,a=i,o=!r;if(e==null)return!a;for(e=Object(e);i--;){var s=n[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){s=n[i];var c=s[0],l=e[c],u=s[1];if(o&&s[2]){if(l===void 0&&!(c in e))return!1}else{var d=new j_;if(r)var f=r(l,u,c,e,t,d);if(!(f===void 0?_b(u,l,vb|yb,r,d):f))return!1}}return!0}function xb(e){return e===e&&!vm(e)}function Sb(e){for(var t=wg(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,xb(i)]}return t}function Cb(e,t){return function(n){return n!=null&&n[e]===t&&(t!==void 0||e in Object(n))}}function wb(e){var t=Sb(e);return t.length==1&&t[0][2]?Cb(t[0][0],t[0][1]):function(n){return n===e||bb(n,e,t)}}function Tb(e,t){return e!=null&&t in Object(e)}function Eb(e,t,n){t=m_(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=g_(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&Sh(i)&&fh(o,i)&&(lm(e)||Nh(e)))}function Db(e,t){return e!=null&&Eb(e,t,Tb)}var vne=1,yne=2;function bne(e,t){return jg(e)&&xb(t)?Cb(g_(e),t):function(n){var r=v_(n,e);return r===void 0&&r===t?Db(n,e):_b(t,r,vne|yne)}}function xne(e){return function(t){return t==null?void 0:t[e]}}function Sne(e){return function(t){return __(t,e)}}function Cne(e){return jg(e)?xne(g_(e)):Sne(e)}function Ob(e){return typeof e==`function`?e:e==null?km:typeof e==`object`?lm(e)?bne(e[0],e[1]):wb(e):Cne(e)}function wne(e,t,n,r){for(var i=-1,a=e==null?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}function kb(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}var Tne=kb();function Ab(e,t){return e&&Tne(e,t,wg)}function jb(e,t){return function(n,r){if(n==null)return n;if(!Ch(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Object(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}var Mb=jb(Ab);function Ene(e,t,n,r){return Mb(e,function(e,i,a){t(r,e,n(e),a)}),r}function Nb(e,t){return function(n,r){var i=lm(n)?wne:Ene,a=t?t():{};return i(n,e,Ob(r,2),a)}}var Pb=function(){return Kp.Date.now()},Dne=`Expected a function`,One=Math.max,kne=Math.min;function Fb(e,t,n){var r,i,a,o,s,c,l=0,u=!1,d=!1,f=!0;if(typeof e!=`function`)throw TypeError(Dne);t=wm(t)||0,vm(n)&&(u=!!n.leading,d=`maxWait`in n,a=d?One(wm(n.maxWait)||0,t):a,f=`trailing`in n?!!n.trailing:f);function p(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n),o}function m(e){return l=e,s=setTimeout(_,t),u?p(e):o}function h(e){var n=e-c,r=e-l,i=t-n;return d?kne(i,a-r):i}function g(e){var n=e-c,r=e-l;return c===void 0||n>=t||n<0||d&&r>=a}function _(){var e=Pb();if(g(e))return v(e);s=setTimeout(_,h(e))}function v(e){return s=void 0,f&&r?p(e):(r=i=void 0,o)}function y(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function b(){return s===void 0?o:v(Pb())}function x(){var e=Pb(),n=g(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return m(c);if(d)return clearTimeout(s),s=setTimeout(_,t),p(c)}return s===void 0&&(s=setTimeout(_,t)),o}return x.cancel=y,x.flush=b,x}function Ib(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function Lb(e){return typeof e==`function`?e:km}function Ane(e,t){for(var n=e==null?0:e.length;n--&&t(e[n],n,e)!==!1;);return e}var jne=kb(!0);function Mne(e,t){return e&&jne(e,t,wg)}var Nne=jb(Mne,!0);function Pne(e,t){return(lm(e)?Ane:Nne)(e,Lb(t))}function Rb(e){return e&&e.length?e[0]:void 0}function zb(e,t){var n=-1,r=Ch(e)?Array(e.length):[];return Mb(e,function(e,i,a){r[++n]=t(e,i,a)}),r}function Fne(e,t){return(lm(e)?cm:zb)(e,Ob(t,3))}var Ine=Object.prototype.hasOwnProperty,Lne=Nb(function(e,t,n){Ine.call(e,n)?e[n].push(t):ph(e,n,[t])});function Bb(e){return e!=null&&e.length?w_(e,0,-1):[]}var Rne=`[object Map]`,zne=`[object Set]`,Bne=Object.prototype.hasOwnProperty;function Vb(e){if(e==null)return!0;if(Ch(e)&&(lm(e)||typeof e==`string`||typeof e.splice==`function`||Rh(e)||_g(e)||Nh(e)))return!e.length;var t=dv(e);if(t==Rne||t==zne)return!e.size;if(Eh(e))return!Cg(e).length;for(var n in e)if(Bne.call(e,n))return!1;return!0}function Hb(e,t){return _b(e,t)}function Vne(e,t){return e<t}function Hne(e,t){var n={};return t=Ob(t,3),Ab(e,function(e,r,i){ph(n,r,t(e,r,i))}),n}function Une(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],o=t(a);if(o!=null&&(s===void 0?o===o&&!sm(o):n(o,s)))var s=o,c=a}return c}function Ub(e,t){return e&&e.length?Une(e,Ob(t,2),Vne):void 0}function Wne(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function Gne(e,t){if(e!==t){var n=e!==void 0,r=e===null,i=e===e,a=sm(e),o=t!==void 0,s=t===null,c=t===t,l=sm(t);if(!s&&!l&&!a&&e>t||a&&o&&c&&!s&&!l||r&&o&&c||!n&&c||!i)return 1;if(!r&&!a&&!l&&e<t||l&&n&&i&&!r&&!a||s&&n&&i||!o&&i||!c)return-1}return 0}function Kne(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;++r<o;){var c=Gne(i[r],a[r]);if(c)return r>=s?c:c*(n[r]==`desc`?-1:1)}return e.index-t.index}function qne(e,t,n){t=t.length?cm(t,function(e){return lm(e)?function(t){return __(t,e.length===1?e[0]:e)}:e}):[km];var r=-1;return t=cm(t,dg(Ob)),Wne(zb(e,function(e,n,i){return{criteria:cm(t,function(t){return t(e)}),index:++r,value:e}}),function(e,t){return Kne(e,t,n)})}var Jne=Nb(function(e,t,n){e[+!n].push(t)},function(){return[[],[]]}),Yne=Math.ceil,Xne=Math.max;function Zne(e,t,n,r){for(var i=-1,a=Xne(Yne((t-e)/(n||1)),0),o=Array(a);a--;)o[r?a:++i]=e,e+=n;return o}function Qne(e){return function(t,n,r){return r&&typeof r!=`number`&&wh(t,n,r)&&(n=r=void 0),t=Dm(t),n===void 0?(n=t,t=0):n=Dm(n),r=r===void 0?t<n?1:-1:Dm(r),Zne(t,n,r,e)}}var Wb=Qne(),$ne=bh(function(e,t){if(e==null)return[];var n=t.length;return n>1&&wh(e,t[0],t[1])?t=[]:n>2&&wh(t[0],t[1],t[2])&&(t=[t[0]]),qne(e,S_(t,1),[])}),ere=9007199254740991,Gb=4294967295,tre=Math.min;function nre(e,t){if(e=Om(e),e<1||e>ere)return[];var n=Gb,r=tre(e,Gb);t=Lb(t),e-=Gb;for(var i=Dh(r,t);++n<e;)t(n);return i}var rre=0;function Kb(e){var t=++rre;return p_(e)+t}var qb=e.et(Xf(),1),Jb=e=>Array.isArray(e),ire=e=>typeof e==`object`&&!!e&&!Jb(e),are=e=>typeof e==`string`,Yb=(e,t)=>e===t||e!==null&&t!==null&&typeof e==`object`&&typeof t==`object`&&Object.keys(e).length===Object.keys(t).length&&Object.entries(e).every(([e,n])=>Yb(n,t[e])),Xb=(e,t)=>{let n=e==null?void 0:e[t];if(n!==void 0){if(!Object.hasOwn(e,t)||Array.isArray(e)&&!/^\d+$/.test(t)||typeof e!=`object`)throw TypeError(`Unsupported property "${t}"`);return n}};function Zb(e){return(...t)=>{let n=t.map(e=>lx(e)),r=n[0],i=n[1];return n.length===1?t=>e(r(t)):n.length===2?t=>e(r(t),i(t)):t=>e(...n.map(e=>e(t)))}}var Qb={boolean:0,number:1,string:2},$b=3,ex=(e,t)=>typeof e==typeof t&&typeof e in Qb&&e>t,ore=(e,t)=>Yb(e,t)||ex(e,t),tx=(e,t)=>typeof e==typeof t&&typeof e in Qb&&e<t,nx={pipe:(...e)=>{let t=e.map(e=>lx(e));return e=>t.reduce((e,t)=>t(e),e)},object:e=>{let t=Object.keys(e).map(t=>[t,lx(e[t])]);return e=>{let n={};for(let[r,i]of t)n[r]=i(e);return n}},array:(...e)=>{let t=e.map(e=>lx(e));return e=>t.map(t=>t(e))},get:(...e)=>{if(e.length===0)return e=>e==null?null:e;if(e.length===1){let t=e[0];return e=>{var n;return(n=Xb(e,t))==null?null:n}}return t=>{var n;let r=t;for(let t of e)r=Xb(r,t);return(n=r)==null?null:n}},map:e=>{let t=lx(e);return e=>e.map(t)},mapObject:e=>{let t=lx(e);return e=>{let n={};for(let r of Object.keys(e)){let i=t({key:r,value:e[r]});n[i.key]=i.value}return n}},mapKeys:e=>{let t=lx(e);return e=>{let n={};for(let r of Object.keys(e)){let i=t(r);n[i]=e[r]}return n}},mapValues:e=>{let t=lx(e);return e=>{let n={};for(let r of Object.keys(e))n[r]=t(e[r]);return n}},filter:e=>{let t=lx(e);return e=>e.filter(e=>rx(t(e)))},sort:(e=[`get`],t)=>{let n=lx(e),r=t===`desc`?-1:1;function i(e,t){let i=n(e),a=n(t);if(typeof i!=typeof a){var o,s;let e=(o=Qb[typeof i])==null?$b:o,t=(s=Qb[typeof a])==null?$b:s;return e>t?r:e<t?-r:0}return typeof i in Qb?i>a?r:i<a?-r:0:0}return e=>e.slice().sort(i)},reverse:()=>e=>e.toReversed(),pick:(...e)=>{let t=e.map(([e,...t])=>[t[t.length-1],nx.get(...t)]),n=(e,t)=>{let n={};for(let[r,i]of t)n[r]=i(e);return n};return e=>Jb(e)?e.map(e=>n(e,t)):n(e,t)},groupBy:e=>{let t=lx(e);return e=>{let n={};for(let r of e){let e=t(r);n[e]?n[e].push(r):n[e]=[r]}return n}},keyBy:e=>{let t=lx(e);return e=>{let n={};for(let r of e){let e=t(r);e in n||(n[e]=r)}return n}},flatten:()=>e=>e.flat(),join:(e=``)=>t=>t.join(e),split:Zb((e,t)=>t===void 0?e.trim().split(/\s+/):e.split(t)),substring:Zb((e,t,n)=>e.slice(Math.max(t,0),n)),uniq:()=>e=>{let t=[];for(let n of e)t.findIndex(e=>Yb(e,n))===-1&&t.push(n);return t},uniqBy:e=>t=>Object.values(nx.keyBy(e)(t)),limit:e=>t=>t.slice(0,Math.max(e,0)),size:()=>e=>e.length,keys:()=>Object.keys,values:()=>Object.values,prod:()=>e=>ix(e,(e,t)=>e*t),sum:()=>e=>Jb(e)?e.reduce((e,t)=>e+t,0):ox(),average:()=>e=>Jb(e)?e.length>0?e.reduce((e,t)=>e+t)/e.length:null:ox(),min:()=>e=>ix(e,(e,t)=>Math.min(e,t)),max:()=>e=>ix(e,(e,t)=>Math.max(e,t)),and:Zb((...e)=>ix(e,(e,t)=>!!(e&&t))),or:Zb((...e)=>ix(e,(e,t)=>!!(e||t))),not:Zb(e=>!e),exists:e=>{let t=e.slice(1),n=t.pop(),r=nx.get(...t);return e=>{let t=r(e);return!!t&&Object.hasOwnProperty.call(t,n)}},if:(e,t,n)=>{let r=lx(e),i=lx(t),a=lx(n);return e=>rx(r(e))?i(e):a(e)},in:(e,t)=>{let n=lx(e),r=lx(t);return e=>{let t=n(e);return r(e).findIndex(e=>Yb(e,t))!==-1}},"not in":(e,t)=>{let n=nx.in(e,t);return e=>!n(e)},regex:(e,t,n)=>{let r=new RegExp(t,n),i=lx(e);return e=>r.test(i(e))},match:(e,t,n)=>{let r=new RegExp(t,n),i=lx(e);return e=>{let t=i(e).match(r);return t?ax(t):null}},matchAll:(e,t,n)=>{let r=new RegExp(t,`${n==null?``:n}g`),i=lx(e);return e=>Array.from(i(e).matchAll(r)).map(ax)},eq:Zb(Yb),gt:Zb(ex),gte:Zb(ore),lt:Zb(tx),lte:Zb((e,t)=>Yb(e,t)||tx(e,t)),ne:Zb((e,t)=>!Yb(e,t)),add:Zb((e,t)=>e+t),subtract:Zb((e,t)=>e-t),multiply:Zb((e,t)=>e*t),divide:Zb((e,t)=>e/t),mod:Zb((e,t)=>e%t),pow:Zb((e,t)=>e**t),abs:Zb(Math.abs),round:Zb((e,t=0)=>+`${Math.round(+`${e}e${t}`)}e${-t}`),number:Zb(e=>{let t=Number(e);return Number.isNaN(Number(e))?null:t}),string:Zb(String)},rx=e=>e!==null&&e!==0&&e!==!1,ix=(e,t)=>(Jb(e)||ox(),e.length===0?null:e.reduce(t)),ax=e=>{let[t,...n]=e,r=e.groups;return n.length?r?{value:t,groups:n,namedGroups:r}:{value:t,groups:n}:{value:t}},ox=()=>{sx(`Array expected`)},sx=e=>{throw TypeError(e)},cx=[];function lx(e,t){cx.unshift({...nx,...cx[0],...t==null?void 0:t.functions});try{let t=Jb(e)?sre(e,cx[0]):ire(e)?sx(`Function notation ["object", {...}] expected but got ${JSON.stringify(e)}`):()=>e;return n=>{try{return t(n)}catch(t){var r;throw t.jsonquery=[{data:n,query:e},...(r=t.jsonquery)==null?[]:r],t}}}finally{cx.shift()}}function sre(e,t){let[n,...r]=e,i=t[n];return i||sx(`Unknown function '${n}'`),i(...r)}var ux=[{pow:`^`},{multiply:`*`,divide:`/`,mod:`%`},{add:`+`,subtract:`-`},{gt:`>`,gte:`>=`,lt:`<`,lte:`<=`,in:`in`,"not in":`not in`},{eq:`==`,ne:`!=`},{and:`and`},{or:`or`},{pipe:`|`}],cre=[`|`,`and`,`or`],dx=[`|`,`and`,`or`,`*`,`/`,`%`,`+`,`-`];function fx(e,t){if(!Jb(t))throw Error(`Invalid custom operators`);return t.reduce(lre,e)}function lre(e,{name:t,op:n,at:r,after:i,before:a}){if(r)return e.map(e=>Object.values(e).includes(r)?{...e,[t]:n}:e);let o=i==null?a:i,s=e.findIndex(e=>Object.values(e).includes(o));if(s!==-1)return e.toSpliced(s+ +!!i,0,{[t]:n});throw Error(`Invalid custom operator`)}var ure=/^[a-zA-Z_$][a-zA-Z\d_$]*$/,dre=/^[a-zA-Z_$][a-zA-Z\d_$]*/,fre=/^"(?:[^"\\]|\\.)*"/,pre=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,mre=/^(0|[1-9][0-9]*)/,hre=/^(true|false|null)/,gre=/^[ \n\t\r]+/;function px(e,t){var n;let r=(n=t==null?void 0:t.operators)==null?[]:n,i=fx(ux,r),a=Object.assign({},...i),o=cre.concat(r.filter(e=>e.vararg).map(e=>e.op)),s=dx.concat(r.filter(e=>e.leftAssociative).map(e=>e.op)),c=(t=i.length-1)=>{let n=i[t];if(!n)return u();let r=e[T]===`(`,f=c(t-1);for(;;){if(S(),e[T]===`.`&&`pipe`in n){let e=d();f=f[0]===`pipe`?[...f,e]:[`pipe`,f,e];continue}let i=T,u=l(n);if(!u)break;let p=c(t-1),m=u===f[0]&&!r;if(m&&!s.includes(a[u])){T=i;break}f=m&&o.includes(a[u])?[...f,p]:[u,f,p]}return f},l=t=>{let n=Object.keys(t).sort((e,t)=>t.length-e.length);for(let r of n){let n=t[r];if(e.substring(T,T+n.length)===n)return T+=n.length,S(),r}},u=()=>{if(S(),e[T]===`(`){T++;let e=c();return C(`)`),e}return d()},d=()=>{if(e[T]===`.`){var t,n,r;let i=[];for(;e[T]===`.`;)T++,i.push((t=(n=(r=h())==null?g():r)==null?v():n)==null?w(`Property expected`):t),S();return[`get`,...i]}return f()},f=()=>{let t=T,n=g();if(S(),!n||e[T]!==`(`)return T=t,p();T++,S();let r=e[T]===`)`?[]:[c()];for(;T<e.length&&e[T]!==`)`;)S(),C(`,`),r.push(c());return C(`)`),[n,...r]},p=()=>{if(e[T]===`{`){T++,S();let i={},a=!0;for(;T<e.length&&e[T]!==`}`;){var t,n,r;a?a=!1:(C(`,`),S());let e=(t=(n=(r=h())==null?g():r)==null?v():n)==null?w(`Key expected`):t;S(),C(`:`),i[e]=c()}return C(`}`),[`object`,i]}return m()},m=()=>{var t,n;if(e[T]===`[`){T++,S();let t=[],n=!0;for(;T<e.length&&e[T]!==`]`;)n?n=!1:(C(`,`),S()),t.push(c());return C(`]`),[`array`,...t]}return(t=(n=h())==null?_():n)==null?y():t},h=()=>x(fre,JSON.parse),g=()=>x(dre,e=>e),_=()=>x(pre,JSON.parse),v=()=>x(mre,JSON.parse),y=()=>{let e=x(hre,JSON.parse);if(e!==void 0)return e;w(`Value expected`)},b=()=>{S(),T<e.length&&w(`Unexpected part '${e.substring(T)}'`)},x=(t,n)=>{let r=e.substring(T).match(t);if(r)return T+=r[0].length,n(r[0])},S=()=>x(gre,e=>e),C=t=>{e[T]!==t&&w(`Character '${t}' expected`),T++},w=(e,t=T)=>{throw SyntaxError(`${e} (pos: ${t})`)},T=0,E=c();return b(),E}var _re=40,vre=` `,yre=(e,t)=>{var n,r;let i=(n=t==null?void 0:t.indentation)==null?vre:n,a=(r=t==null?void 0:t.operators)==null?[]:r,o=fx(ux,a),s=Object.assign({},...o),c=dx.concat(a.filter(e=>e.leftAssociative).map(e=>e.op)),l=(e,t,n=!1)=>Jb(e)?u(e,t,n):JSON.stringify(e),u=(e,t,n)=>{let[r,...a]=e;if(r===`get`&&a.length>0)return f(a);if(r===`object`)return d(a[0],t);if(r===`array`){let e=a.map(e=>l(e,t));return m(e,[`[`,`, `,`]`],[`[
40
+ `?(p+=`\\n`,t+=2):(p+=n,t+=2)}else{let n=e.charAt(t);n===`"`&&e[t-1]!==`\\`?(p+=`\\${n}`,t++):xp(n)?(p+=Bp[n],t++):(fp(n)||ee(n),p+=n,t++)}o&&f()}}return!1}function v(){let r=!1;for(a();e[t]===`+`;){r=!0,t++,a(),n=Ap(n,`"`,!0);let e=n.length;n=_()?Mp(n,e,1):jp(n,`"`)}return r}function y(){let r=t,i=``,a=!1;for(e[t]===`-`&&(i+=e[t],t++,!dp(e[t])&&E()&&(i+=`0`)),e[t]===`0`&&dp(e[t+1])&&(a=!0);dp(e[t]);)i+=e[t],t++;if(e[t]===`.`)for((i===``||i===`-`)&&(i+=`0`),i+=e[t],t++,dp(e[t])||(i+=`0`);dp(e[t]);)i+=e[t],t++;if(t>r){if(e[t]===`e`||e[t]===`E`)for(i===`-`&&(a=!0),i+=e[t],t++,(e[t]===`-`||e[t]===`+`)&&(i+=e[t],t++),dp(e[t])||(i+=`0`);dp(e[t]);)i+=e[t],t++;return E()?(n+=a?`"${e.substring(r,t)}"`:i,!0):(t=r,!1)}return!1}function b(){return x(`true`,`true`)||x(`false`,`false`)||x(`null`,`null`)||x(`True`,`true`)||x(`False`,`false`)||x(`None`,`null`)}function x(r,i){return e.slice(t,t+r.length)===r&&!hp(e[t+r.length])&&(n+=i,t+=r.length,!0)}function S(r){let a=t;if(mp(e[t])){for(;t<e.length&&hp(e[t]);)t++;let n=t;for(;Sp(e,n);)n++;if(e[n]===`(`)return t=n+1,i(),e[t]===`)`&&(t++,e[t]===`;`&&t++),!0}for(;t<e.length&&!vp(e[t])&&!Tp(e[t])&&(!r||e[t]!==`:`);)t++;if(e[t-1]===`:`&&gp.test(e.substring(a,t+2)))for(;t<e.length&&_p.test(e[t]);)t++;if(t>a){for(;Sp(e,t-1)&&t>0;)t--;let r=e.slice(a,t);return n+=r===`undefined`?`null`:JSON.stringify(r),e[t]===`"`&&t++,!0}}function C(){if(e[t]===`/`){let r=t;for(t++;t<e.length&&(e[t]!==`/`||e[t-1]===`\\`);)t++;return t++,n+=JSON.stringify(e.substring(r,t)),!0}}function w(t){let n=t;for(;n>0&&Sp(e,n);)n--;return n}function T(t){let n=t+1;for(;n<e.length&&Sp(e,n);)n++;return n>=e.length||pp(e[n])}function E(){return t>=e.length||pp(e[t])||Sp(e,t)}function ee(e){throw new Zf(`Invalid character ${JSON.stringify(e)}`,t)}function te(){throw new Zf(`Unexpected character ${JSON.stringify(e[t])}`,t)}function ne(){throw new Zf(`Unexpected end of json string`,e.length)}function D(){throw new Zf(`Object key expected`,t)}function re(){throw new Zf(`Colon expected`,t)}function ie(){throw new Zf(`Invalid unicode character "${e.slice(t,t+6)}"`,t)}}function Up(e,t){return e[t]===`*`&&e[t+1]===`/`}var Wp=typeof global==`object`&&global&&global.Object===Object&&global,Gp=typeof self==`object`&&self&&self.Object===Object&&self,Kp=Wp||Gp||Function(`return this`)(),qp=Kp.Symbol,Jp=Object.prototype,Yp=Jp.hasOwnProperty,Xp=Jp.toString,Zp=qp?qp.toStringTag:void 0;function Qp(e){var t=Yp.call(e,Zp),n=e[Zp];try{e[Zp]=void 0;var r=!0}catch{}var i=Xp.call(e);return r&&(t?e[Zp]=n:delete e[Zp]),i}var $p=Object.prototype.toString;function em(e){return $p.call(e)}var tm=`[object Null]`,nm=`[object Undefined]`,rm=qp?qp.toStringTag:void 0;function im(e){return e==null?e===void 0?nm:tm:rm&&rm in Object(e)?Qp(e):em(e)}function am(e){return typeof e==`object`&&!!e}var om=`[object Symbol]`;function sm(e){return typeof e==`symbol`||am(e)&&im(e)==om}function cm(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var lm=Array.isArray,um=1/0,dm=qp?qp.prototype:void 0,fm=dm?dm.toString:void 0;function pm(e){if(typeof e==`string`)return e;if(lm(e))return cm(e,pm)+``;if(sm(e))return fm?fm.call(e):``;var t=e+``;return t==`0`&&1/e==-um?`-0`:t}var mm=/\s/;function hm(e){for(var t=e.length;t--&&mm.test(e.charAt(t)););return t}var gm=/^\s+/;function _m(e){return e&&e.slice(0,hm(e)+1).replace(gm,``)}function vm(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var ym=NaN,bm=/^[-+]0x[0-9a-f]+$/i,xm=/^0b[01]+$/i,Sm=/^0o[0-7]+$/i,Cm=parseInt;function wm(e){if(typeof e==`number`)return e;if(sm(e))return ym;if(vm(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=vm(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=_m(e);var n=xm.test(e);return n||Sm.test(e)?Cm(e.slice(2),n?2:8):bm.test(e)?ym:+e}var Tm=1/0,Em=17976931348623157e292;function Dm(e){return e?(e=wm(e),e===Tm||e===-Tm?(e<0?-1:1)*Em:e===e?e:0):e===0?e:0}function Om(e){var t=Dm(e),n=t%1;return t===t?n?t-n:t:0}function km(e){return e}var Am=`[object AsyncFunction]`,jm=`[object Function]`,Mm=`[object GeneratorFunction]`,Nm=`[object Proxy]`;function Pm(e){if(!vm(e))return!1;var t=im(e);return t==jm||t==Mm||t==Am||t==Nm}var Fm=Kp[`__core-js_shared__`],Im=function(){var e=/[^.]+$/.exec(Fm&&Fm.keys&&Fm.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function Lm(e){return!!Im&&Im in e}var Rm=Function.prototype.toString;function zm(e){if(e!=null){try{return Rm.call(e)}catch{}try{return e+``}catch{}}return``}var Bm=/[\\^$.*+?()[\]{}|]/g,Vm=/^\[object .+?Constructor\]$/,Hm=Function.prototype,Um=Object.prototype,Wm=Hm.toString,Gm=Um.hasOwnProperty,Km=RegExp(`^`+Wm.call(Gm).replace(Bm,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function qm(e){return!vm(e)||Lm(e)?!1:(Pm(e)?Km:Vm).test(zm(e))}function Jm(e,t){return e==null?void 0:e[t]}function Ym(e,t){var n=Jm(e,t);return qm(n)?n:void 0}var Xm=Ym(Kp,`WeakMap`),Zm=Object.create,Qm=function(){function e(){}return function(t){if(!vm(t))return{};if(Zm)return Zm(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function $m(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function eh(){}function th(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var nh=800,rh=16,ih=Date.now;function ah(e){var t=0,n=0;return function(){var r=ih(),i=rh-(r-n);if(n=r,i>0){if(++t>=nh)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function oh(e){return function(){return e}}var sh=function(){try{var e=Ym(Object,`defineProperty`);return e({},``,{}),e}catch{}}(),ch=ah(sh?function(e,t){return sh(e,`toString`,{configurable:!0,enumerable:!1,value:oh(t),writable:!0})}:km);function lh(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var uh=9007199254740991,dh=/^(?:0|[1-9]\d*)$/;function fh(e,t){var n=typeof e;return t=t==null?uh:t,!!t&&(n==`number`||n!=`symbol`&&dh.test(e))&&e>-1&&e%1==0&&e<t}function ph(e,t,n){t==`__proto__`&&sh?sh(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function mh(e,t){return e===t||e!==e&&t!==t}var hh=Object.prototype.hasOwnProperty;function gh(e,t,n){var r=e[t];(!(hh.call(e,t)&&mh(r,n))||n===void 0&&!(t in e))&&ph(e,t,n)}function _h(e,t,n,r){var i=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?ph(n,s,c):gh(n,s,c)}return n}var vh=Math.max;function yh(e,t,n){return t=vh(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=vh(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),$m(e,this,s)}}function bh(e,t){return ch(yh(e,t,km),e+``)}var xh=9007199254740991;function Sh(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=xh}function Ch(e){return e!=null&&Sh(e.length)&&!Pm(e)}function wh(e,t,n){if(!vm(n))return!1;var r=typeof t;return(r==`number`?Ch(n)&&fh(t,n.length):r==`string`&&t in n)?mh(n[t],e):!1}var Th=Object.prototype;function Eh(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||Th)}function Dh(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var Oh=`[object Arguments]`;function kh(e){return am(e)&&im(e)==Oh}var Ah=Object.prototype,jh=Ah.hasOwnProperty,Mh=Ah.propertyIsEnumerable,Nh=kh(function(){return arguments}())?kh:function(e){return am(e)&&jh.call(e,`callee`)&&!Mh.call(e,`callee`)};function Ph(){return!1}var Fh=typeof exports==`object`&&exports&&!exports.nodeType&&exports,Ih=Fh&&typeof module==`object`&&module&&!module.nodeType&&module,Lh=Ih&&Ih.exports===Fh?Kp.Buffer:void 0,Rh=(Lh?Lh.isBuffer:void 0)||Ph,zh=`[object Arguments]`,Bh=`[object Array]`,Vh=`[object Boolean]`,Hh=`[object Date]`,Uh=`[object Error]`,Wh=`[object Function]`,Gh=`[object Map]`,Kh=`[object Number]`,qh=`[object Object]`,Jh=`[object RegExp]`,Yh=`[object Set]`,Xh=`[object String]`,Zh=`[object WeakMap]`,Qh=`[object ArrayBuffer]`,$h=`[object DataView]`,eg=`[object Float32Array]`,tg=`[object Float64Array]`,ng=`[object Int8Array]`,rg=`[object Int16Array]`,ig=`[object Int32Array]`,ag=`[object Uint8Array]`,og=`[object Uint8ClampedArray]`,sg=`[object Uint16Array]`,cg=`[object Uint32Array]`,lg={};lg[eg]=lg[tg]=lg[ng]=lg[rg]=lg[ig]=lg[ag]=lg[og]=lg[sg]=lg[cg]=!0,lg[zh]=lg[Bh]=lg[Qh]=lg[Vh]=lg[$h]=lg[Hh]=lg[Uh]=lg[Wh]=lg[Gh]=lg[Kh]=lg[qh]=lg[Jh]=lg[Yh]=lg[Xh]=lg[Zh]=!1;function ug(e){return am(e)&&Sh(e.length)&&!!lg[im(e)]}function dg(e){return function(t){return e(t)}}var fg=typeof exports==`object`&&exports&&!exports.nodeType&&exports,pg=fg&&typeof module==`object`&&module&&!module.nodeType&&module,mg=pg&&pg.exports===fg&&Wp.process,hg=function(){try{return pg&&pg.require&&pg.require(`util`).types||mg&&mg.binding&&mg.binding(`util`)}catch{}}(),gg=hg&&hg.isTypedArray,_g=gg?dg(gg):ug,vg=Object.prototype.hasOwnProperty;function yg(e,t){var n=lm(e),r=!n&&Nh(e),i=!n&&!r&&Rh(e),a=!n&&!r&&!i&&_g(e),o=n||r||i||a,s=o?Dh(e.length,String):[],c=s.length;for(var l in e)(t||vg.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||fh(l,c)))&&s.push(l);return s}function bg(e,t){return function(n){return e(t(n))}}var xg=bg(Object.keys,Object),Sg=Object.prototype.hasOwnProperty;function Cg(e){if(!Eh(e))return xg(e);var t=[];for(var n in Object(e))Sg.call(e,n)&&n!=`constructor`&&t.push(n);return t}function wg(e){return Ch(e)?yg(e):Cg(e)}function Tg(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Eg=Object.prototype.hasOwnProperty;function Dg(e){if(!vm(e))return Tg(e);var t=Eh(e),n=[];for(var r in e)r==`constructor`&&(t||!Eg.call(e,r))||n.push(r);return n}function Og(e){return Ch(e)?yg(e,!0):Dg(e)}var kg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ag=/^\w*$/;function jg(e,t){if(lm(e))return!1;var n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||sm(e)?!0:Ag.test(e)||!kg.test(e)||t!=null&&e in Object(t)}var Mg=Ym(Object,`create`);function Ng(){this.__data__=Mg?Mg(null):{},this.size=0}function Pg(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}var Fg=`__lodash_hash_undefined__`,Ig=Object.prototype.hasOwnProperty;function Lg(e){var t=this.__data__;if(Mg){var n=t[e];return n===Fg?void 0:n}return Ig.call(t,e)?t[e]:void 0}var Rg=Object.prototype.hasOwnProperty;function zg(e){var t=this.__data__;return Mg?t[e]!==void 0:Rg.call(t,e)}var Bg=`__lodash_hash_undefined__`;function Vg(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=Mg&&t===void 0?Bg:t,this}function Hg(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Hg.prototype.clear=Ng,Hg.prototype.delete=Pg,Hg.prototype.get=Lg,Hg.prototype.has=zg,Hg.prototype.set=Vg;function Ug(){this.__data__=[],this.size=0}function Wg(e,t){for(var n=e.length;n--;)if(mh(e[n][0],t))return n;return-1}var Gg=Array.prototype.splice;function Kg(e){var t=this.__data__,n=Wg(t,e);return n<0?!1:(n==t.length-1?t.pop():Gg.call(t,n,1),--this.size,!0)}function qg(e){var t=this.__data__,n=Wg(t,e);return n<0?void 0:t[n][1]}function Jg(e){return Wg(this.__data__,e)>-1}function Yg(e,t){var n=this.__data__,r=Wg(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Xg(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Xg.prototype.clear=Ug,Xg.prototype.delete=Kg,Xg.prototype.get=qg,Xg.prototype.has=Jg,Xg.prototype.set=Yg;var Zg=Ym(Kp,`Map`);function Qg(){this.size=0,this.__data__={hash:new Hg,map:new(Zg||Xg),string:new Hg}}function $g(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function e_(e,t){var n=e.__data__;return $g(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function t_(e){var t=e_(this,e).delete(e);return this.size-=+!!t,t}function n_(e){return e_(this,e).get(e)}function r_(e){return e_(this,e).has(e)}function i_(e,t){var n=e_(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function a_(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}a_.prototype.clear=Qg,a_.prototype.delete=t_,a_.prototype.get=n_,a_.prototype.has=r_,a_.prototype.set=i_;var o_=`Expected a function`;function s_(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(o_);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(s_.Cache||a_),n}s_.Cache=a_;var c_=500;function l_(e){var t=s_(e,function(e){return n.size===c_&&n.clear(),e}),n=t.cache;return t}var u_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d_=/\\(\\)?/g,f_=l_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(u_,function(e,n,r,i){t.push(r?i.replace(d_,`$1`):n||e)}),t});function p_(e){return e==null?``:pm(e)}function m_(e,t){return lm(e)?e:jg(e,t)?[e]:f_(p_(e))}var h_=1/0;function g_(e){if(typeof e==`string`||sm(e))return e;var t=e+``;return t==`0`&&1/e==-h_?`-0`:t}function __(e,t){t=m_(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[g_(t[n++])];return n&&n==r?e:void 0}function v_(e,t,n){var r=e==null?void 0:__(e,t);return r===void 0?n:r}function y_(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var b_=qp?qp.isConcatSpreadable:void 0;function x_(e){return lm(e)||Nh(e)||!!(b_&&e&&e[b_])}function S_(e,t,n,r,i){var a=-1,o=e.length;for(n||(n=x_),i||(i=[]);++a<o;){var s=e[a];t>0&&n(s)?t>1?S_(s,t-1,n,r,i):y_(i,s):r||(i[i.length]=s)}return i}var C_=bg(Object.getPrototypeOf,Object);function w_(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(i);++r<i;)a[r]=e[r+t];return a}function T_(){this.__data__=new Xg,this.size=0}function E_(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function D_(e){return this.__data__.get(e)}function O_(e){return this.__data__.has(e)}var k_=200;function A_(e,t){var n=this.__data__;if(n instanceof Xg){var r=n.__data__;if(!Zg||r.length<k_-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new a_(r)}return n.set(e,t),this.size=n.size,this}function j_(e){var t=this.__data__=new Xg(e);this.size=t.size}j_.prototype.clear=T_,j_.prototype.delete=E_,j_.prototype.get=D_,j_.prototype.has=O_,j_.prototype.set=A_;function M_(e,t){return e&&_h(t,wg(t),e)}function N_(e,t){return e&&_h(t,Og(t),e)}var P_=typeof exports==`object`&&exports&&!exports.nodeType&&exports,F_=P_&&typeof module==`object`&&module&&!module.nodeType&&module,I_=F_&&F_.exports===P_?Kp.Buffer:void 0,L_=I_?I_.allocUnsafe:void 0;function R_(e,t){if(t)return e.slice();var n=e.length,r=L_?L_(n):new e.constructor(n);return e.copy(r),r}function z_(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function B_(){return[]}var V_=Object.prototype.propertyIsEnumerable,H_=Object.getOwnPropertySymbols,U_=H_?function(e){return e==null?[]:(e=Object(e),z_(H_(e),function(t){return V_.call(e,t)}))}:B_;function W_(e,t){return _h(e,U_(e),t)}var G_=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)y_(t,U_(e)),e=C_(e);return t}:B_;function K_(e,t){return _h(e,G_(e),t)}function q_(e,t,n){var r=t(e);return lm(e)?r:y_(r,n(e))}function J_(e){return q_(e,wg,U_)}function Y_(e){return q_(e,Og,G_)}var X_=Ym(Kp,`DataView`),Z_=Ym(Kp,`Promise`),Q_=Ym(Kp,`Set`),$_=`[object Map]`,ev=`[object Object]`,tv=`[object Promise]`,nv=`[object Set]`,rv=`[object WeakMap]`,iv=`[object DataView]`,av=zm(X_),ov=zm(Zg),sv=zm(Z_),cv=zm(Q_),lv=zm(Xm),uv=im;(X_&&uv(new X_(new ArrayBuffer(1)))!=iv||Zg&&uv(new Zg)!=$_||Z_&&uv(Z_.resolve())!=tv||Q_&&uv(new Q_)!=nv||Xm&&uv(new Xm)!=rv)&&(uv=function(e){var t=im(e),n=t==ev?e.constructor:void 0,r=n?zm(n):``;if(r)switch(r){case av:return iv;case ov:return $_;case sv:return tv;case cv:return nv;case lv:return rv}return t});var dv=uv,fv=Object.prototype.hasOwnProperty;function pv(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&fv.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}var mv=Kp.Uint8Array;function hv(e){var t=new e.constructor(e.byteLength);return new mv(t).set(new mv(e)),t}function gv(e,t){var n=t?hv(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var _v=/\w*$/;function vv(e){var t=new e.constructor(e.source,_v.exec(e));return t.lastIndex=e.lastIndex,t}var yv=qp?qp.prototype:void 0,bv=yv?yv.valueOf:void 0;function xv(e){return bv?Object(bv.call(e)):{}}function Sv(e,t){var n=t?hv(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Cv=`[object Boolean]`,wv=`[object Date]`,Tv=`[object Map]`,Ev=`[object Number]`,Dv=`[object RegExp]`,Ov=`[object Set]`,kv=`[object String]`,Av=`[object Symbol]`,jv=`[object ArrayBuffer]`,Mv=`[object DataView]`,Nv=`[object Float32Array]`,Pv=`[object Float64Array]`,Fv=`[object Int8Array]`,Iv=`[object Int16Array]`,Lv=`[object Int32Array]`,Rv=`[object Uint8Array]`,zv=`[object Uint8ClampedArray]`,Bv=`[object Uint16Array]`,Vv=`[object Uint32Array]`;function Hv(e,t,n){var r=e.constructor;switch(t){case jv:return hv(e);case Cv:case wv:return new r(+e);case Mv:return gv(e,n);case Nv:case Pv:case Fv:case Iv:case Lv:case Rv:case zv:case Bv:case Vv:return Sv(e,n);case Tv:return new r;case Ev:case kv:return new r(e);case Dv:return vv(e);case Ov:return new r;case Av:return xv(e)}}function Uv(e){return typeof e.constructor==`function`&&!Eh(e)?Qm(C_(e)):{}}var Wv=`[object Map]`;function Gv(e){return am(e)&&dv(e)==Wv}var Kv=hg&&hg.isMap,qv=Kv?dg(Kv):Gv,Jv=`[object Set]`;function Yv(e){return am(e)&&dv(e)==Jv}var Xv=hg&&hg.isSet,Zv=Xv?dg(Xv):Yv,Qv=1,$v=2,ey=4,ty=`[object Arguments]`,ny=`[object Array]`,ry=`[object Boolean]`,iy=`[object Date]`,ay=`[object Error]`,oy=`[object Function]`,sy=`[object GeneratorFunction]`,cy=`[object Map]`,ly=`[object Number]`,uy=`[object Object]`,dy=`[object RegExp]`,fy=`[object Set]`,py=`[object String]`,my=`[object Symbol]`,hy=`[object WeakMap]`,gy=`[object ArrayBuffer]`,_y=`[object DataView]`,vy=`[object Float32Array]`,yy=`[object Float64Array]`,by=`[object Int8Array]`,xy=`[object Int16Array]`,Sy=`[object Int32Array]`,Cy=`[object Uint8Array]`,wy=`[object Uint8ClampedArray]`,Ty=`[object Uint16Array]`,Ey=`[object Uint32Array]`,Dy={};Dy[ty]=Dy[ny]=Dy[gy]=Dy[_y]=Dy[ry]=Dy[iy]=Dy[vy]=Dy[yy]=Dy[by]=Dy[xy]=Dy[Sy]=Dy[cy]=Dy[ly]=Dy[uy]=Dy[dy]=Dy[fy]=Dy[py]=Dy[my]=Dy[Cy]=Dy[wy]=Dy[Ty]=Dy[Ey]=!0,Dy[ay]=Dy[oy]=Dy[hy]=!1;function Oy(e,t,n,r,i,a){var o,s=t&Qv,c=t&$v,l=t&ey;if(n&&(o=i?n(e,r,i,a):n(e)),o!==void 0)return o;if(!vm(e))return e;var u=lm(e);if(u){if(o=pv(e),!s)return th(e,o)}else{var d=dv(e),f=d==oy||d==sy;if(Rh(e))return R_(e,s);if(d==uy||d==ty||f&&!i){if(o=c||f?{}:Uv(e),!s)return c?K_(e,N_(o,e)):W_(e,M_(o,e))}else{if(!Dy[d])return i?e:{};o=Hv(e,d,s)}}a||(a=new j_);var p=a.get(e);if(p)return p;a.set(e,o),Zv(e)?e.forEach(function(r){o.add(Oy(r,t,n,r,e,a))}):qv(e)&&e.forEach(function(r,i){o.set(i,Oy(r,t,n,i,e,a))});var m=u?void 0:(l?c?Y_:J_:c?Og:wg)(e);return lh(m||e,function(r,i){m&&(i=r,r=e[i]),gh(o,i,Oy(r,t,n,i,e,a))}),o}var ky=1,Ay=4;function jy(e){return Oy(e,ky|Ay)}var My=1,Ny=4;function Py(e,t){return t=typeof t==`function`?t:void 0,Oy(e,My|Ny,t)}var Fy=`__lodash_hash_undefined__`;function Iy(e){return this.__data__.set(e,Fy),this}function Ly(e){return this.__data__.has(e)}function Ry(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new a_;++t<n;)this.add(e[t])}Ry.prototype.add=Ry.prototype.push=Iy,Ry.prototype.has=Ly;function zy(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function By(e,t){return e.has(t)}var Vy=1,Hy=2;function Uy(e,t,n,r,i,a){var o=n&Vy,s=e.length,c=t.length;if(s!=c&&!(o&&c>s))return!1;var l=a.get(e),u=a.get(t);if(l&&u)return l==t&&u==e;var d=-1,f=!0,p=n&Hy?new Ry:void 0;for(a.set(e,t),a.set(t,e);++d<s;){var m=e[d],h=t[d];if(r)var g=o?r(h,m,d,t,e,a):r(m,h,d,e,t,a);if(g!==void 0){if(g)continue;f=!1;break}if(p){if(!zy(t,function(e,t){if(!By(p,t)&&(m===e||i(m,e,n,r,a)))return p.push(t)})){f=!1;break}}else if(!(m===h||i(m,h,n,r,a))){f=!1;break}}return a.delete(e),a.delete(t),f}function Wy(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function Gy(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var Ky=1,qy=2,Jy=`[object Boolean]`,Yy=`[object Date]`,Xy=`[object Error]`,Zy=`[object Map]`,Qy=`[object Number]`,$y=`[object RegExp]`,eb=`[object Set]`,tb=`[object String]`,nb=`[object Symbol]`,rb=`[object ArrayBuffer]`,ib=`[object DataView]`,ab=qp?qp.prototype:void 0,ob=ab?ab.valueOf:void 0;function sb(e,t,n,r,i,a,o){switch(n){case ib:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case rb:return!(e.byteLength!=t.byteLength||!a(new mv(e),new mv(t)));case Jy:case Yy:case Qy:return mh(+e,+t);case Xy:return e.name==t.name&&e.message==t.message;case $y:case tb:return e==t+``;case Zy:var s=Wy;case eb:var c=r&Ky;if(s||(s=Gy),e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;r|=qy,o.set(e,t);var u=Uy(s(e),s(t),r,i,a,o);return o.delete(e),u;case nb:if(ob)return ob.call(e)==ob.call(t)}return!1}var cb=1,lb=Object.prototype.hasOwnProperty;function ub(e,t,n,r,i,a){var o=n&cb,s=J_(e),c=s.length;if(c!=J_(t).length&&!o)return!1;for(var l=c;l--;){var u=s[l];if(!(o?u in t:lb.call(t,u)))return!1}var d=a.get(e),f=a.get(t);if(d&&f)return d==t&&f==e;var p=!0;a.set(e,t),a.set(t,e);for(var m=o;++l<c;){u=s[l];var h=e[u],g=t[u];if(r)var _=o?r(g,h,u,t,e,a):r(h,g,u,e,t,a);if(!(_===void 0?h===g||i(h,g,n,r,a):_)){p=!1;break}m||(m=u==`constructor`)}if(p&&!m){var v=e.constructor,y=t.constructor;v!=y&&`constructor`in e&&`constructor`in t&&!(typeof v==`function`&&v instanceof v&&typeof y==`function`&&y instanceof y)&&(p=!1)}return a.delete(e),a.delete(t),p}var db=1,fb=`[object Arguments]`,pb=`[object Array]`,mb=`[object Object]`,hb=Object.prototype.hasOwnProperty;function gb(e,t,n,r,i,a){var o=lm(e),s=lm(t),c=o?pb:dv(e),l=s?pb:dv(t);c=c==fb?mb:c,l=l==fb?mb:l;var u=c==mb,d=l==mb,f=c==l;if(f&&Rh(e)){if(!Rh(t))return!1;o=!0,u=!1}if(f&&!u)return a||(a=new j_),o||_g(e)?Uy(e,t,n,r,i,a):sb(e,t,c,n,r,i,a);if(!(n&db)){var p=u&&hb.call(e,`__wrapped__`),m=d&&hb.call(t,`__wrapped__`);if(p||m){var h=p?e.value():e,g=m?t.value():t;return a||(a=new j_),i(h,g,n,r,a)}}return f?(a||(a=new j_),ub(e,t,n,r,i,a)):!1}function _b(e,t,n,r,i){return e===t?!0:e==null||t==null||!am(e)&&!am(t)?e!==e&&t!==t:gb(e,t,n,r,_b,i)}var vb=1,yb=2;function bb(e,t,n,r){var i=n.length,a=i,o=!r;if(e==null)return!a;for(e=Object(e);i--;){var s=n[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){s=n[i];var c=s[0],l=e[c],u=s[1];if(o&&s[2]){if(l===void 0&&!(c in e))return!1}else{var d=new j_;if(r)var f=r(l,u,c,e,t,d);if(!(f===void 0?_b(u,l,vb|yb,r,d):f))return!1}}return!0}function xb(e){return e===e&&!vm(e)}function Sb(e){for(var t=wg(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,xb(i)]}return t}function Cb(e,t){return function(n){return n!=null&&n[e]===t&&(t!==void 0||e in Object(n))}}function wb(e){var t=Sb(e);return t.length==1&&t[0][2]?Cb(t[0][0],t[0][1]):function(n){return n===e||bb(n,e,t)}}function Tb(e,t){return e!=null&&t in Object(e)}function Eb(e,t,n){t=m_(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=g_(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&Sh(i)&&fh(o,i)&&(lm(e)||Nh(e)))}function Db(e,t){return e!=null&&Eb(e,t,Tb)}var vne=1,yne=2;function bne(e,t){return jg(e)&&xb(t)?Cb(g_(e),t):function(n){var r=v_(n,e);return r===void 0&&r===t?Db(n,e):_b(t,r,vne|yne)}}function xne(e){return function(t){return t==null?void 0:t[e]}}function Sne(e){return function(t){return __(t,e)}}function Cne(e){return jg(e)?xne(g_(e)):Sne(e)}function Ob(e){return typeof e==`function`?e:e==null?km:typeof e==`object`?lm(e)?bne(e[0],e[1]):wb(e):Cne(e)}function wne(e,t,n,r){for(var i=-1,a=e==null?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}function kb(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}var Tne=kb();function Ab(e,t){return e&&Tne(e,t,wg)}function jb(e,t){return function(n,r){if(n==null)return n;if(!Ch(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Object(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}var Mb=jb(Ab);function Ene(e,t,n,r){return Mb(e,function(e,i,a){t(r,e,n(e),a)}),r}function Nb(e,t){return function(n,r){var i=lm(n)?wne:Ene,a=t?t():{};return i(n,e,Ob(r,2),a)}}var Pb=function(){return Kp.Date.now()},Dne=`Expected a function`,One=Math.max,kne=Math.min;function Fb(e,t,n){var r,i,a,o,s,c,l=0,u=!1,d=!1,f=!0;if(typeof e!=`function`)throw TypeError(Dne);t=wm(t)||0,vm(n)&&(u=!!n.leading,d=`maxWait`in n,a=d?One(wm(n.maxWait)||0,t):a,f=`trailing`in n?!!n.trailing:f);function p(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n),o}function m(e){return l=e,s=setTimeout(_,t),u?p(e):o}function h(e){var n=e-c,r=e-l,i=t-n;return d?kne(i,a-r):i}function g(e){var n=e-c,r=e-l;return c===void 0||n>=t||n<0||d&&r>=a}function _(){var e=Pb();if(g(e))return v(e);s=setTimeout(_,h(e))}function v(e){return s=void 0,f&&r?p(e):(r=i=void 0,o)}function y(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function b(){return s===void 0?o:v(Pb())}function x(){var e=Pb(),n=g(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return m(c);if(d)return clearTimeout(s),s=setTimeout(_,t),p(c)}return s===void 0&&(s=setTimeout(_,t)),o}return x.cancel=y,x.flush=b,x}function Ib(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function Lb(e){return typeof e==`function`?e:km}function Ane(e,t){for(var n=e==null?0:e.length;n--&&t(e[n],n,e)!==!1;);return e}var jne=kb(!0);function Mne(e,t){return e&&jne(e,t,wg)}var Nne=jb(Mne,!0);function Pne(e,t){return(lm(e)?Ane:Nne)(e,Lb(t))}function Rb(e){return e&&e.length?e[0]:void 0}function zb(e,t){var n=-1,r=Ch(e)?Array(e.length):[];return Mb(e,function(e,i,a){r[++n]=t(e,i,a)}),r}function Fne(e,t){return(lm(e)?cm:zb)(e,Ob(t,3))}var Ine=Object.prototype.hasOwnProperty,Lne=Nb(function(e,t,n){Ine.call(e,n)?e[n].push(t):ph(e,n,[t])});function Bb(e){return e!=null&&e.length?w_(e,0,-1):[]}var Rne=`[object Map]`,zne=`[object Set]`,Bne=Object.prototype.hasOwnProperty;function Vb(e){if(e==null)return!0;if(Ch(e)&&(lm(e)||typeof e==`string`||typeof e.splice==`function`||Rh(e)||_g(e)||Nh(e)))return!e.length;var t=dv(e);if(t==Rne||t==zne)return!e.size;if(Eh(e))return!Cg(e).length;for(var n in e)if(Bne.call(e,n))return!1;return!0}function Hb(e,t){return _b(e,t)}function Vne(e,t){return e<t}function Hne(e,t){var n={};return t=Ob(t,3),Ab(e,function(e,r,i){ph(n,r,t(e,r,i))}),n}function Une(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],o=t(a);if(o!=null&&(s===void 0?o===o&&!sm(o):n(o,s)))var s=o,c=a}return c}function Ub(e,t){return e&&e.length?Une(e,Ob(t,2),Vne):void 0}function Wne(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function Gne(e,t){if(e!==t){var n=e!==void 0,r=e===null,i=e===e,a=sm(e),o=t!==void 0,s=t===null,c=t===t,l=sm(t);if(!s&&!l&&!a&&e>t||a&&o&&c&&!s&&!l||r&&o&&c||!n&&c||!i)return 1;if(!r&&!a&&!l&&e<t||l&&n&&i&&!r&&!a||s&&n&&i||!o&&i||!c)return-1}return 0}function Kne(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;++r<o;){var c=Gne(i[r],a[r]);if(c)return r>=s?c:c*(n[r]==`desc`?-1:1)}return e.index-t.index}function qne(e,t,n){t=t.length?cm(t,function(e){return lm(e)?function(t){return __(t,e.length===1?e[0]:e)}:e}):[km];var r=-1;return t=cm(t,dg(Ob)),Wne(zb(e,function(e,n,i){return{criteria:cm(t,function(t){return t(e)}),index:++r,value:e}}),function(e,t){return Kne(e,t,n)})}var Jne=Nb(function(e,t,n){e[+!n].push(t)},function(){return[[],[]]}),Yne=Math.ceil,Xne=Math.max;function Zne(e,t,n,r){for(var i=-1,a=Xne(Yne((t-e)/(n||1)),0),o=Array(a);a--;)o[r?a:++i]=e,e+=n;return o}function Qne(e){return function(t,n,r){return r&&typeof r!=`number`&&wh(t,n,r)&&(n=r=void 0),t=Dm(t),n===void 0?(n=t,t=0):n=Dm(n),r=r===void 0?t<n?1:-1:Dm(r),Zne(t,n,r,e)}}var Wb=Qne(),$ne=bh(function(e,t){if(e==null)return[];var n=t.length;return n>1&&wh(e,t[0],t[1])?t=[]:n>2&&wh(t[0],t[1],t[2])&&(t=[t[0]]),qne(e,S_(t,1),[])}),ere=9007199254740991,Gb=4294967295,tre=Math.min;function nre(e,t){if(e=Om(e),e<1||e>ere)return[];var n=Gb,r=tre(e,Gb);t=Lb(t),e-=Gb;for(var i=Dh(r,t);++n<e;)t(n);return i}var rre=0;function Kb(e){var t=++rre;return p_(e)+t}var qb=e.tt(Xf(),1),Jb=e=>Array.isArray(e),ire=e=>typeof e==`object`&&!!e&&!Jb(e),are=e=>typeof e==`string`,Yb=(e,t)=>e===t||e!==null&&t!==null&&typeof e==`object`&&typeof t==`object`&&Object.keys(e).length===Object.keys(t).length&&Object.entries(e).every(([e,n])=>Yb(n,t[e])),Xb=(e,t)=>{let n=e==null?void 0:e[t];if(n!==void 0){if(!Object.hasOwn(e,t)||Array.isArray(e)&&!/^\d+$/.test(t)||typeof e!=`object`)throw TypeError(`Unsupported property "${t}"`);return n}};function Zb(e){return(...t)=>{let n=t.map(e=>lx(e)),r=n[0],i=n[1];return n.length===1?t=>e(r(t)):n.length===2?t=>e(r(t),i(t)):t=>e(...n.map(e=>e(t)))}}var Qb={boolean:0,number:1,string:2},$b=3,ex=(e,t)=>typeof e==typeof t&&typeof e in Qb&&e>t,ore=(e,t)=>Yb(e,t)||ex(e,t),tx=(e,t)=>typeof e==typeof t&&typeof e in Qb&&e<t,nx={pipe:(...e)=>{let t=e.map(e=>lx(e));return e=>t.reduce((e,t)=>t(e),e)},object:e=>{let t=Object.keys(e).map(t=>[t,lx(e[t])]);return e=>{let n={};for(let[r,i]of t)n[r]=i(e);return n}},array:(...e)=>{let t=e.map(e=>lx(e));return e=>t.map(t=>t(e))},get:(...e)=>{if(e.length===0)return e=>e==null?null:e;if(e.length===1){let t=e[0];return e=>{var n;return(n=Xb(e,t))==null?null:n}}return t=>{var n;let r=t;for(let t of e)r=Xb(r,t);return(n=r)==null?null:n}},map:e=>{let t=lx(e);return e=>e.map(t)},mapObject:e=>{let t=lx(e);return e=>{let n={};for(let r of Object.keys(e)){let i=t({key:r,value:e[r]});n[i.key]=i.value}return n}},mapKeys:e=>{let t=lx(e);return e=>{let n={};for(let r of Object.keys(e)){let i=t(r);n[i]=e[r]}return n}},mapValues:e=>{let t=lx(e);return e=>{let n={};for(let r of Object.keys(e))n[r]=t(e[r]);return n}},filter:e=>{let t=lx(e);return e=>e.filter(e=>rx(t(e)))},sort:(e=[`get`],t)=>{let n=lx(e),r=t===`desc`?-1:1;function i(e,t){let i=n(e),a=n(t);if(typeof i!=typeof a){var o,s;let e=(o=Qb[typeof i])==null?$b:o,t=(s=Qb[typeof a])==null?$b:s;return e>t?r:e<t?-r:0}return typeof i in Qb?i>a?r:i<a?-r:0:0}return e=>e.slice().sort(i)},reverse:()=>e=>e.toReversed(),pick:(...e)=>{let t=e.map(([e,...t])=>[t[t.length-1],nx.get(...t)]),n=(e,t)=>{let n={};for(let[r,i]of t)n[r]=i(e);return n};return e=>Jb(e)?e.map(e=>n(e,t)):n(e,t)},groupBy:e=>{let t=lx(e);return e=>{let n={};for(let r of e){let e=t(r);n[e]?n[e].push(r):n[e]=[r]}return n}},keyBy:e=>{let t=lx(e);return e=>{let n={};for(let r of e){let e=t(r);e in n||(n[e]=r)}return n}},flatten:()=>e=>e.flat(),join:(e=``)=>t=>t.join(e),split:Zb((e,t)=>t===void 0?e.trim().split(/\s+/):e.split(t)),substring:Zb((e,t,n)=>e.slice(Math.max(t,0),n)),uniq:()=>e=>{let t=[];for(let n of e)t.findIndex(e=>Yb(e,n))===-1&&t.push(n);return t},uniqBy:e=>t=>Object.values(nx.keyBy(e)(t)),limit:e=>t=>t.slice(0,Math.max(e,0)),size:()=>e=>e.length,keys:()=>Object.keys,values:()=>Object.values,prod:()=>e=>ix(e,(e,t)=>e*t),sum:()=>e=>Jb(e)?e.reduce((e,t)=>e+t,0):ox(),average:()=>e=>Jb(e)?e.length>0?e.reduce((e,t)=>e+t)/e.length:null:ox(),min:()=>e=>ix(e,(e,t)=>Math.min(e,t)),max:()=>e=>ix(e,(e,t)=>Math.max(e,t)),and:Zb((...e)=>ix(e,(e,t)=>!!(e&&t))),or:Zb((...e)=>ix(e,(e,t)=>!!(e||t))),not:Zb(e=>!e),exists:e=>{let t=e.slice(1),n=t.pop(),r=nx.get(...t);return e=>{let t=r(e);return!!t&&Object.hasOwnProperty.call(t,n)}},if:(e,t,n)=>{let r=lx(e),i=lx(t),a=lx(n);return e=>rx(r(e))?i(e):a(e)},in:(e,t)=>{let n=lx(e),r=lx(t);return e=>{let t=n(e);return r(e).findIndex(e=>Yb(e,t))!==-1}},"not in":(e,t)=>{let n=nx.in(e,t);return e=>!n(e)},regex:(e,t,n)=>{let r=new RegExp(t,n),i=lx(e);return e=>r.test(i(e))},match:(e,t,n)=>{let r=new RegExp(t,n),i=lx(e);return e=>{let t=i(e).match(r);return t?ax(t):null}},matchAll:(e,t,n)=>{let r=new RegExp(t,`${n==null?``:n}g`),i=lx(e);return e=>Array.from(i(e).matchAll(r)).map(ax)},eq:Zb(Yb),gt:Zb(ex),gte:Zb(ore),lt:Zb(tx),lte:Zb((e,t)=>Yb(e,t)||tx(e,t)),ne:Zb((e,t)=>!Yb(e,t)),add:Zb((e,t)=>e+t),subtract:Zb((e,t)=>e-t),multiply:Zb((e,t)=>e*t),divide:Zb((e,t)=>e/t),mod:Zb((e,t)=>e%t),pow:Zb((e,t)=>e**t),abs:Zb(Math.abs),round:Zb((e,t=0)=>+`${Math.round(+`${e}e${t}`)}e${-t}`),number:Zb(e=>{let t=Number(e);return Number.isNaN(Number(e))?null:t}),string:Zb(String)},rx=e=>e!==null&&e!==0&&e!==!1,ix=(e,t)=>(Jb(e)||ox(),e.length===0?null:e.reduce(t)),ax=e=>{let[t,...n]=e,r=e.groups;return n.length?r?{value:t,groups:n,namedGroups:r}:{value:t,groups:n}:{value:t}},ox=()=>{sx(`Array expected`)},sx=e=>{throw TypeError(e)},cx=[];function lx(e,t){cx.unshift({...nx,...cx[0],...t==null?void 0:t.functions});try{let t=Jb(e)?sre(e,cx[0]):ire(e)?sx(`Function notation ["object", {...}] expected but got ${JSON.stringify(e)}`):()=>e;return n=>{try{return t(n)}catch(t){var r;throw t.jsonquery=[{data:n,query:e},...(r=t.jsonquery)==null?[]:r],t}}}finally{cx.shift()}}function sre(e,t){let[n,...r]=e,i=t[n];return i||sx(`Unknown function '${n}'`),i(...r)}var ux=[{pow:`^`},{multiply:`*`,divide:`/`,mod:`%`},{add:`+`,subtract:`-`},{gt:`>`,gte:`>=`,lt:`<`,lte:`<=`,in:`in`,"not in":`not in`},{eq:`==`,ne:`!=`},{and:`and`},{or:`or`},{pipe:`|`}],cre=[`|`,`and`,`or`],dx=[`|`,`and`,`or`,`*`,`/`,`%`,`+`,`-`];function fx(e,t){if(!Jb(t))throw Error(`Invalid custom operators`);return t.reduce(lre,e)}function lre(e,{name:t,op:n,at:r,after:i,before:a}){if(r)return e.map(e=>Object.values(e).includes(r)?{...e,[t]:n}:e);let o=i==null?a:i,s=e.findIndex(e=>Object.values(e).includes(o));if(s!==-1)return e.toSpliced(s+ +!!i,0,{[t]:n});throw Error(`Invalid custom operator`)}var ure=/^[a-zA-Z_$][a-zA-Z\d_$]*$/,dre=/^[a-zA-Z_$][a-zA-Z\d_$]*/,fre=/^"(?:[^"\\]|\\.)*"/,pre=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,mre=/^(0|[1-9][0-9]*)/,hre=/^(true|false|null)/,gre=/^[ \n\t\r]+/;function px(e,t){var n;let r=(n=t==null?void 0:t.operators)==null?[]:n,i=fx(ux,r),a=Object.assign({},...i),o=cre.concat(r.filter(e=>e.vararg).map(e=>e.op)),s=dx.concat(r.filter(e=>e.leftAssociative).map(e=>e.op)),c=(t=i.length-1)=>{let n=i[t];if(!n)return u();let r=e[T]===`(`,f=c(t-1);for(;;){if(S(),e[T]===`.`&&`pipe`in n){let e=d();f=f[0]===`pipe`?[...f,e]:[`pipe`,f,e];continue}let i=T,u=l(n);if(!u)break;let p=c(t-1),m=u===f[0]&&!r;if(m&&!s.includes(a[u])){T=i;break}f=m&&o.includes(a[u])?[...f,p]:[u,f,p]}return f},l=t=>{let n=Object.keys(t).sort((e,t)=>t.length-e.length);for(let r of n){let n=t[r];if(e.substring(T,T+n.length)===n)return T+=n.length,S(),r}},u=()=>{if(S(),e[T]===`(`){T++;let e=c();return C(`)`),e}return d()},d=()=>{if(e[T]===`.`){var t,n,r;let i=[];for(;e[T]===`.`;)T++,i.push((t=(n=(r=h())==null?g():r)==null?v():n)==null?w(`Property expected`):t),S();return[`get`,...i]}return f()},f=()=>{let t=T,n=g();if(S(),!n||e[T]!==`(`)return T=t,p();T++,S();let r=e[T]===`)`?[]:[c()];for(;T<e.length&&e[T]!==`)`;)S(),C(`,`),r.push(c());return C(`)`),[n,...r]},p=()=>{if(e[T]===`{`){T++,S();let i={},a=!0;for(;T<e.length&&e[T]!==`}`;){var t,n,r;a?a=!1:(C(`,`),S());let e=(t=(n=(r=h())==null?g():r)==null?v():n)==null?w(`Key expected`):t;S(),C(`:`),i[e]=c()}return C(`}`),[`object`,i]}return m()},m=()=>{var t,n;if(e[T]===`[`){T++,S();let t=[],n=!0;for(;T<e.length&&e[T]!==`]`;)n?n=!1:(C(`,`),S()),t.push(c());return C(`]`),[`array`,...t]}return(t=(n=h())==null?_():n)==null?y():t},h=()=>x(fre,JSON.parse),g=()=>x(dre,e=>e),_=()=>x(pre,JSON.parse),v=()=>x(mre,JSON.parse),y=()=>{let e=x(hre,JSON.parse);if(e!==void 0)return e;w(`Value expected`)},b=()=>{S(),T<e.length&&w(`Unexpected part '${e.substring(T)}'`)},x=(t,n)=>{let r=e.substring(T).match(t);if(r)return T+=r[0].length,n(r[0])},S=()=>x(gre,e=>e),C=t=>{e[T]!==t&&w(`Character '${t}' expected`),T++},w=(e,t=T)=>{throw SyntaxError(`${e} (pos: ${t})`)},T=0,E=c();return b(),E}var _re=40,vre=` `,yre=(e,t)=>{var n,r;let i=(n=t==null?void 0:t.indentation)==null?vre:n,a=(r=t==null?void 0:t.operators)==null?[]:r,o=fx(ux,a),s=Object.assign({},...o),c=dx.concat(a.filter(e=>e.leftAssociative).map(e=>e.op)),l=(e,t,n=!1)=>Jb(e)?u(e,t,n):JSON.stringify(e),u=(e,t,n)=>{let[r,...a]=e;if(r===`get`&&a.length>0)return f(a);if(r===`object`)return d(a[0],t);if(r===`array`){let e=a.map(e=>l(e,t));return m(e,[`[`,`, `,`]`],[`[
41
41
  ${t+i}`,`,
42
42
  ${t+i}`,`
43
43
  ${t}]`])}let u=s[r];if(u){let e=n?`(`:``,s=n?`)`:``,d=a.map((e,n)=>{let a=e==null?void 0:e[0],s=o.findIndex(e=>r in e),d=o.findIndex(e=>a in e),f=s<d||s===d&&n>0||r===a&&!c.includes(u);return l(e,t+i,f)});return m(d,[e,` ${u} `,s],[e,`
@@ -48,7 +48,7 @@ ${p}`,`
48
48
  ${t})`])},d=(e,t)=>{let n=t+i,r=Object.entries(e).map(([e,t])=>`${p(e)}: ${l(t,n)}`);return m(r,[`{ `,`, `,` }`],[`{
49
49
  ${n}`,`,
50
50
  ${n}`,`
51
- ${t}}`])},f=e=>e.map(e=>`.${p(e)}`).join(``),p=e=>ure.test(e)?e:JSON.stringify(e),m=(e,[n,r,i],[a,o,s])=>{var c;return n.length+e.reduce((e,t)=>e+t.length+r.length,0)-r.length+i.length<=((c=t==null?void 0:t.maxLineLength)==null?_re:c)?n+e.join(r)+i:a+e.join(o)+s};return l(e,``)};function bre(e,t,n){return lx(are(t)?px(t,n):t,n)(e)}var xre={prefix:`far`,iconName:`clock`,icon:[512,512,[128339,`clock-four`],`f017`,`M464 256a208 208 0 1 1 -416 0 208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0 256 256 0 1 0 -512 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z`]},mx={prefix:`far`,iconName:`square-check`,icon:[448,512,[9745,9989,61510,`check-square`],`f14a`,`M384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l320 0zM64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 80zm230.7 89.9c7.8-10.7 22.8-13.1 33.5-5.3 10.7 7.8 13.1 22.8 5.3 33.5L211.4 366.1c-4.1 5.7-10.5 9.3-17.5 9.8-7 .5-13.9-2-18.8-6.9l-55.9-55.9c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l36 36 105.6-145.2z`]},Sre={prefix:`far`,iconName:`lightbulb`,icon:[384,512,[128161],`f0eb`,`M296.5 291.1C321 265.2 336 230.4 336 192 336 112.5 271.5 48 192 48S48 112.5 48 192c0 38.4 15 73.2 39.5 99.1 21.3 22.4 44.9 54 53.3 92.9l102.4 0c8.4-39 32-70.5 53.3-92.9zm34.8 33C307.7 349 288 379.4 288 413.7l0 18.3c0 44.2-35.8 80-80 80l-32 0c-44.2 0-80-35.8-80-80l0-18.3C96 379.4 76.3 349 52.7 324.1 20 289.7 0 243.2 0 192 0 86 86 0 192 0S384 86 384 192c0 51.2-20 97.7-52.7 132.1zM144 184c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-48.6 39.4-88 88-88 13.3 0 24 10.7 24 24s-10.7 24-24 24c-22.1 0-40 17.9-40 40z`]},hx={prefix:`far`,iconName:`square`,icon:[448,512,[9632,9723,9724,61590],`f0c8`,`M384 80c8.8 0 16 7.2 16 16l0 320c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16L48 96c0-8.8 7.2-16 16-16l320 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z`]},Cre={prefix:`fas`,iconName:`rotate`,icon:[512,512,[128260,`sync-alt`],`f2f1`,`M480.1 192l7.9 0c13.3 0 24-10.7 24-24l0-144c0-9.7-5.8-18.5-14.8-22.2S477.9 .2 471 7L419.3 58.8C375 22.1 318 0 256 0 127 0 20.3 95.4 2.6 219.5 .1 237 12.2 253.2 29.7 255.7s33.7-9.7 36.2-27.1C79.2 135.5 159.3 64 256 64 300.4 64 341.2 79 373.7 104.3L327 151c-6.9 6.9-8.9 17.2-5.2 26.2S334.3 192 344 192l136.1 0zm29.4 100.5c2.5-17.5-9.7-33.7-27.1-36.2s-33.7 9.7-36.2 27.1c-13.3 93-93.4 164.5-190.1 164.5-44.4 0-85.2-15-117.7-40.3L185 361c6.9-6.9 8.9-17.2 5.2-26.2S177.7 320 168 320L24 320c-13.3 0-24 10.7-24 24L0 488c0 9.7 5.8 18.5 14.8 22.2S34.1 511.8 41 505l51.8-51.8C137 489.9 194 512 256 512 385 512 491.7 416.6 509.4 292.5z`]},gx={prefix:`fas`,iconName:`paste`,icon:[512,512,[`file-clipboard`],`f0ea`,`M64 0C28.7 0 0 28.7 0 64L0 384c0 35.3 28.7 64 64 64l112 0 0-224c0-61.9 50.1-112 112-112l64 0 0-48c0-35.3-28.7-64-64-64L64 0zM248 112l-144 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l144 0c13.3 0 24 10.7 24 24s-10.7 24-24 24zm40 48c-35.3 0-64 28.7-64 64l0 224c0 35.3 28.7 64 64 64l160 0c35.3 0 64-28.7 64-64l0-165.5c0-17-6.7-33.3-18.7-45.3l-58.5-58.5c-12-12-28.3-18.7-45.3-18.7L288 160z`]},wre={prefix:`fas`,iconName:`crop-simple`,icon:[512,512,[`crop-alt`],`f565`,`M128 32c0-17.7-14.3-32-32-32S64 14.3 64 32l0 32-32 0C14.3 64 0 78.3 0 96s14.3 32 32 32l32 0 0 256c0 35.3 28.7 64 64 64l208 0 0-64-208 0 0-352zM384 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32 32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0 0-256c0-35.3-28.7-64-64-64l-208 0 0 64 208 0 0 352z`]},_x={prefix:`fas`,iconName:`filter`,icon:[512,512,[],`f0b0`,`M32 64C19.1 64 7.4 71.8 2.4 83.8S.2 109.5 9.4 118.6L192 301.3 192 416c0 8.5 3.4 16.6 9.4 22.6l64 64c9.2 9.2 22.9 11.9 34.9 6.9S320 492.9 320 480l0-178.7 182.6-182.6c9.2-9.2 11.9-22.9 6.9-34.9S492.9 64 480 64L32 64z`]},Tre={prefix:`fas`,iconName:`square-caret-down`,icon:[448,512,[`caret-square-down`],`f150`,`M384 480c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0zM224 352c-6.7 0-13-2.8-17.6-7.7l-104-112c-6.5-7-8.2-17.2-4.4-25.9S110.5 192 120 192l208 0c9.5 0 18.2 5.7 22 14.4s2.1 18.9-4.4 25.9l-104 112c-4.5 4.9-10.9 7.7-17.6 7.7z`]},vx={prefix:`fas`,iconName:`caret-right`,icon:[256,512,[],`f0da`,`M249.3 235.8c10.2 12.6 9.5 31.1-2.2 42.8l-128 128c-9.2 9.2-22.9 11.9-34.9 6.9S64.5 396.9 64.5 384l0-256c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l128 128 2.2 2.4z`]},yx={prefix:`fas`,iconName:`magnifying-glass`,icon:[512,512,[128269,`search`],`f002`,`M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z`]},Ere={prefix:`fas`,iconName:`eye`,icon:[576,512,[128065],`f06e`,`M288 32c-80.8 0-145.5 36.8-192.6 80.6-46.8 43.5-78.1 95.4-93 131.1-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64-11.5 0-22.3-3-31.7-8.4-1 10.9-.1 22.1 2.9 33.2 13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-12.2-45.7-55.5-74.8-101.1-70.8 5.3 9.3 8.4 20.1 8.4 31.7z`]},Dre={prefix:`fas`,iconName:`caret-left`,icon:[256,512,[],`f0d9`,`M7.7 235.8c-10.3 12.6-9.5 31.1 2.2 42.8l128 128c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-256c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-128 128-2.2 2.4z`]},Ore={prefix:`fas`,iconName:`chevron-up`,icon:[448,512,[],`f077`,`M201.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 173.3 54.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z`]},kre={prefix:`fas`,iconName:`circle-notch`,icon:[512,512,[],`f1ce`,`M222.7 32.1c5 16.9-4.6 34.8-21.5 39.8-79.3 23.6-137.1 97.1-137.1 184.1 0 106 86 192 192 192s192-86 192-192c0-86.9-57.8-160.4-137.1-184.1-16.9-5-26.6-22.9-21.5-39.8s22.9-26.6 39.8-21.5C434.9 42.1 512 140 512 256 512 397.4 397.4 512 256 512S0 397.4 0 256c0-116 77.1-213.9 182.9-245.4 16.9-5 34.8 4.6 39.8 21.5z`]},bx={prefix:`fas`,iconName:`ellipsis-vertical`,icon:[128,512,[`ellipsis-v`],`f142`,`M64 144a56 56 0 1 1 0-112 56 56 0 1 1 0 112zm0 224c30.9 0 56 25.1 56 56s-25.1 56-56 56-56-25.1-56-56 25.1-56 56-56zm56-112c0 30.9-25.1 56-56 56s-56-25.1-56-56 25.1-56 56-56 56 25.1 56 56z`]},Are={prefix:`fas`,iconName:`pen-to-square`,icon:[512,512,[`edit`],`f044`,`M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L368 46.1 465.9 144 490.3 119.6c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L432 177.9 334.1 80 172.4 241.7zM96 64C43 64 0 107 0 160L0 416c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-96c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 64z`]},xx={prefix:`fas`,iconName:`clone`,icon:[512,512,[],`f24d`,`M288 448l-224 0 0-224 48 0 0-64-48 0c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l224 0c35.3 0 64-28.7 64-64l0-48-64 0 0 48zm-64-96l224 0c35.3 0 64-28.7 64-64l0-224c0-35.3-28.7-64-64-64L224 0c-35.3 0-64 28.7-64 64l0 224c0 35.3 28.7 64 64 64z`]},Sx={prefix:`fas`,iconName:`square-check`,icon:[448,512,[9745,9989,61510,`check-square`],`f14a`,`M384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l320 0zM342 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L189.1 315.2 137 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.9 7.5 18.8 7s13.4-4.1 17.5-9.8L347.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z`]},jre={prefix:`fas`,iconName:`square-caret-up`,icon:[448,512,[`caret-square-up`],`f151`,`M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM224 160c6.7 0 13 2.8 17.6 7.7l104 112c6.5 7 8.2 17.2 4.4 25.9S337.5 320 328 320l-208 0c-9.5 0-18.2-5.7-22-14.4s-2.1-18.9 4.4-25.9l104-112c4.5-4.9 10.9-7.7 17.6-7.7z`]},Cx={prefix:`fas`,iconName:`code`,icon:[576,512,[],`f121`,`M360.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm64.6 136.1c-12.5 12.5-12.5 32.8 0 45.3l73.4 73.4-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0zm-274.7 0c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 150.6 182.6c12.5-12.5 12.5-32.8 0-45.3z`]},wx={prefix:`fas`,iconName:`angle-right`,icon:[256,512,[8250],`f105`,`M247.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L179.2 256 41.9 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z`]},Mre={prefix:`fas`,iconName:`gear`,icon:[512,512,[9881,`cog`],`f013`,`M195.1 9.5C198.1-5.3 211.2-16 226.4-16l59.8 0c15.2 0 28.3 10.7 31.3 25.5L332 79.5c14.1 6 27.3 13.7 39.3 22.8l67.8-22.5c14.4-4.8 30.2 1.2 37.8 14.4l29.9 51.8c7.6 13.2 4.9 29.8-6.5 39.9L447 233.3c.9 7.4 1.3 15 1.3 22.7s-.5 15.3-1.3 22.7l53.4 47.5c11.4 10.1 14 26.8 6.5 39.9l-29.9 51.8c-7.6 13.1-23.4 19.2-37.8 14.4l-67.8-22.5c-12.1 9.1-25.3 16.7-39.3 22.8l-14.4 69.9c-3.1 14.9-16.2 25.5-31.3 25.5l-59.8 0c-15.2 0-28.3-10.7-31.3-25.5l-14.4-69.9c-14.1-6-27.2-13.7-39.3-22.8L73.5 432.3c-14.4 4.8-30.2-1.2-37.8-14.4L5.8 366.1c-7.6-13.2-4.9-29.8 6.5-39.9l53.4-47.5c-.9-7.4-1.3-15-1.3-22.7s.5-15.3 1.3-22.7L12.3 185.8c-11.4-10.1-14-26.8-6.5-39.9L35.7 94.1c7.6-13.2 23.4-19.2 37.8-14.4l67.8 22.5c12.1-9.1 25.3-16.7 39.3-22.8L195.1 9.5zM256.3 336a80 80 0 1 0 -.6-160 80 80 0 1 0 .6 160z`]},Nre={prefix:`fas`,iconName:`up-right-and-down-left-from-center`,icon:[512,512,[`expand-alt`],`f424`,`M344 0L488 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87-39-39c-6.9-6.9-8.9-17.2-5.2-26.2S334.3 0 344 0zM168 512L24 512c-13.3 0-24-10.7-24-24L0 344c0-9.7 5.8-18.5 14.8-22.2S34.1 320.2 41 327l39 39 87-87c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2S177.7 512 168 512z`]},Tx={prefix:`fas`,iconName:`wrench`,icon:[576,512,[128295],`f0ad`,`M509.4 98.6c7.6-7.6 20.3-5.7 24.1 4.3 6.8 17.7 10.5 37 10.5 57.1 0 88.4-71.6 160-160 160-17.5 0-34.4-2.8-50.2-8L146.9 498.9c-28.1 28.1-73.7 28.1-101.8 0s-28.1-73.7 0-101.8L232 210.2c-5.2-15.8-8-32.6-8-50.2 0-88.4 71.6-160 160-160 20.1 0 39.4 3.7 57.1 10.5 10 3.8 11.8 16.5 4.3 24.1l-88.7 88.7c-3 3-4.7 7.1-4.7 11.3l0 41.4c0 8.8 7.2 16 16 16l41.4 0c4.2 0 8.3-1.7 11.3-4.7l88.7-88.7z`]},Ex={prefix:`fas`,iconName:`trash-can`,icon:[448,512,[61460,`trash-alt`],`f2ed`,`M136.7 5.9C141.1-7.2 153.3-16 167.1-16l113.9 0c13.8 0 26 8.8 30.4 21.9L320 32 416 32c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l96 0 8.7-26.1zM32 144l384 0 0 304c0 35.3-28.7 64-64 64L96 512c-35.3 0-64-28.7-64-64l0-304zm88 64c-13.3 0-24 10.7-24 24l0 192c0 13.3 10.7 24 24 24s24-10.7 24-24l0-192c0-13.3-10.7-24-24-24zm104 0c-13.3 0-24 10.7-24 24l0 192c0 13.3 10.7 24 24 24s24-10.7 24-24l0-192c0-13.3-10.7-24-24-24zm104 0c-13.3 0-24 10.7-24 24l0 192c0 13.3 10.7 24 24 24s24-10.7 24-24l0-192c0-13.3-10.7-24-24-24z`]},Dx={prefix:`fas`,iconName:`check`,icon:[448,512,[10003,10004],`f00c`,`M434.8 70.1c14.3 10.4 17.5 30.4 7.1 44.7l-256 352c-5.5 7.6-14 12.3-23.4 13.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l101.5 101.5 234-321.7c10.4-14.3 30.4-17.5 44.7-7.1z`]},Ox={prefix:`fas`,iconName:`xmark`,icon:[384,512,[128473,10005,10006,10060,215,`close`,`multiply`,`remove`,`times`],`f00d`,`M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z`]},Pre=Ox,kx=Ox,Ax={prefix:`fas`,iconName:`pen`,icon:[512,512,[128394],`f304`,`M352.9 21.2L308 66.1 445.9 204 490.8 159.1C504.4 145.6 512 127.2 512 108s-7.6-37.6-21.2-51.1L455.1 21.2C441.6 7.6 423.2 0 404 0s-37.6 7.6-51.1 21.2zM274.1 100L58.9 315.1c-10.7 10.7-18.5 24.1-22.6 38.7L.9 481.6c-2.3 8.3 0 17.3 6.2 23.4s15.1 8.5 23.4 6.2l127.8-35.5c14.6-4.1 27.9-11.8 38.7-22.6L412 237.9 274.1 100z`]},Fre={prefix:`fas`,iconName:`chevron-down`,icon:[448,512,[],`f078`,`M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z`]},Ire={prefix:`fas`,iconName:`angle-down`,icon:[384,512,[8964],`f107`,`M169.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 306.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z`]},jx={prefix:`fas`,iconName:`arrow-down-short-wide`,icon:[576,512,[`sort-amount-desc`,`sort-amount-down-alt`],`f884`,`M246.6 374.6l-96 96c-12.5 12.5-32.8 12.5-45.3 0l-96-96c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L96 370.7 96 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 306.7 41.4-41.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3zM320 32l32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-160 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z`]},Mx={prefix:`fas`,iconName:`triangle-exclamation`,icon:[512,512,[9888,`exclamation-triangle`,`warning`],`f071`,`M256 0c14.7 0 28.2 8.1 35.2 21l216 400c6.7 12.4 6.4 27.4-.8 39.5S486.1 480 472 480L40 480c-14.1 0-27.2-7.4-34.4-19.5s-7.5-27.1-.8-39.5l216-400c7-12.9 20.5-21 35.2-21zm0 352a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.5 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z`]},Nx={prefix:`fas`,iconName:`scissors`,icon:[512,512,[9984,9986,9988,`cut`],`f0c4`,`M192 256l-39.5 39.5c-12.6-4.9-26.2-7.5-40.5-7.5-61.9 0-112 50.1-112 112s50.1 112 112 112 112-50.1 112-112c0-14.3-2.7-27.9-7.5-40.5L499.2 76.8c7.1-7.1 7.1-18.5 0-25.6-28.3-28.3-74.1-28.3-102.4 0L256 192 216.5 152.5c4.9-12.6 7.5-26.2 7.5-40.5 0-61.9-50.1-112-112-112S0 50.1 0 112 50.1 224 112 224c14.3 0 27.9-2.7 40.5-7.5L192 256zm97.9 97.9L396.8 460.8c28.3 28.3 74.1 28.3 102.4 0 7.1-7.1 7.1-18.5 0-25.6l-145.3-145.3-64 64zM64 112a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm48 240a48 48 0 1 1 0 96 48 48 0 1 1 0-96z`]},Px={prefix:`fas`,iconName:`arrow-right-arrow-left`,icon:[512,512,[8644,`exchange`],`f0ec`,`M502.6 150.6l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L402.7 160 32 160c-17.7 0-32-14.3-32-32S14.3 96 32 96l370.7 0-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3zm-397.3 352l-96-96c-12.5-12.5-12.5-32.8 0-45.3l96-96c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L109.3 352 480 352c17.7 0 32 14.3 32 32s-14.3 32-32 32l-370.7 0 41.4 41.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0z`]},Fx={prefix:`fas`,iconName:`caret-up`,icon:[320,512,[],`f0d8`,`M140.3 135.2c12.6-10.3 31.1-9.5 42.8 2.2l128 128c9.2 9.2 11.9 22.9 6.9 34.9S301.4 320 288.5 320l-256 0c-12.9 0-24.6-7.8-29.6-19.8S.7 274.5 9.9 265.4l128-128 2.4-2.2z`]},Lre={prefix:`fas`,iconName:`down-left-and-up-right-to-center`,icon:[512,512,[`compress-alt`],`f422`,`M439.5 7c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2S450.2 240 440.5 240l-144 0c-13.3 0-24-10.7-24-24l0-144c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39 87-87zM72.5 272l144 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87-39-39c-6.9-6.9-8.9-17.2-5.2-26.2S62.8 272 72.5 272z`]},Ix={prefix:`fas`,iconName:`plus`,icon:[448,512,[10133,61543,`add`],`2b`,`M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z`]},Lx={prefix:`fas`,iconName:`copy`,icon:[448,512,[],`f0c5`,`M192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-200.6c0-17.4-7.1-34.1-19.7-46.2L370.6 17.8C358.7 6.4 342.8 0 326.3 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-64 0 0 16-192 0 0-256 16 0 0-64-16 0z`]},Rx={prefix:`fas`,iconName:`arrow-rotate-right`,icon:[512,512,[8635,`arrow-right-rotate`,`arrow-rotate-forward`,`redo`],`f01e`,`M436.7 74.7L448 85.4 448 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 128c0 17.7-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l47.9 0-7.6-7.2c-.2-.2-.4-.4-.6-.6-75-75-196.5-75-271.5 0s-75 196.5 0 271.5 196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c99.9-99.9 261.7-100 361.7-.3z`]},zx={prefix:`fas`,iconName:`caret-down`,icon:[320,512,[],`f0d7`,`M140.3 376.8c12.6 10.2 31.1 9.5 42.8-2.2l128-128c9.2-9.2 11.9-22.9 6.9-34.9S301.4 192 288.5 192l-256 0c-12.9 0-24.6 7.8-29.6 19.8S.7 237.5 9.9 246.6l128 128 2.4 2.2z`]},Bx={prefix:`fas`,iconName:`arrow-rotate-left`,icon:[512,512,[8634,`arrow-left-rotate`,`arrow-rotate-back`,`arrow-rotate-backward`,`undo`],`f0e2`,`M256 64c-56.8 0-107.9 24.7-143.1 64l47.1 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 192c-17.7 0-32-14.3-32-32L0 32C0 14.3 14.3 0 32 0S64 14.3 64 32l0 54.7C110.9 33.6 179.5 0 256 0 397.4 0 512 114.6 512 256S397.4 512 256 512c-87 0-163.9-43.4-210.1-109.7-10.1-14.5-6.6-34.4 7.9-44.6s34.4-6.6 44.6 7.9c34.8 49.8 92.4 82.3 157.6 82.3 106 0 192-86 192-192S362 64 256 64z`]},Vx={prefix:`fas`,iconName:`square`,icon:[448,512,[9632,9723,9724,61590],`f0c8`,`M64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32z`]},Hx={prefix:`fas`,iconName:`arrow-down`,icon:[384,512,[8595],`f063`,`M169.4 502.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7 224 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 370.7-105.4-105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z`]},Rre=e.Z(((e,t)=>{var n=function(e,t){var n,r,i=1,a=0,o=0,s=String.alphabet;function c(e,t,r){if(r){for(n=t;r=c(e,n),r<76&&r>65;)++n;return+e.slice(t-1,n)}return r=s&&s.indexOf(e.charAt(t)),r>-1?r+76:(r=e.charCodeAt(t)||0,r<45||r>127?r:r<46?65:r<48?r-1:r<58?r+18:r<65?r-11:r<91?r+11:r<97?r-37:r<123?r+5:r-63)}if((e+=``)!=(t+=``)){for(;i;)if(r=c(e,a++),i=c(t,o++),r<76&&i<76&&r>66&&i>66&&(r=c(e,a,a),i=c(t,o,a=n),o=n),r!=i)return r<i?-1:1}return 0};try{t.exports=n}catch{String.naturalCompare=n}})),zre=e.et(Rre(),1),Ux=Number.isNaN||function(e){return typeof e==`number`&&e!==e};function Bre(e,t){return!!(e===t||Ux(e)&&Ux(t))}function Vre(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Bre(e[n],t[n]))return!1;return!0}function Wx(e,t){t===void 0&&(t=Vre);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var a=e.apply(this,r);return n={lastResult:a,lastArgs:r,lastThis:this},a}return r.clear=function(){n=null},r}e.Z((e=>{(function(e){"use strict";function t(e){return e!==null&&Object.prototype.toString.call(e)===`[object Array]`}function n(e){return e!==null&&Object.prototype.toString.call(e)===`[object Object]`}function r(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(t(e)===!0){if(e.length!==i.length)return!1;for(var a=0;a<e.length;a++)if(r(e[a],i[a])===!1)return!1;return!0}if(n(e)===!0){var o={};for(var s in e)if(hasOwnProperty.call(e,s)){if(r(e[s],i[s])===!1)return!1;o[s]=!0}for(var c in i)if(hasOwnProperty.call(i,c)&&o[c]!==!0)return!1;return!0}return!1}function i(e){if(e===``||e===!1||e===null||t(e)&&e.length===0)return!0;if(n(e)){for(var r in e)if(e.hasOwnProperty(r))return!1;return!0}return!1}function a(e){for(var t=Object.keys(e),n=[],r=0;r<t.length;r++)n.push(e[t[r]]);return n}var o=typeof String.prototype.trimLeft==`function`?function(e){return e.trimLeft()}:function(e){return e.match(/^\s*(.*)/)[1]},s=0,c=1,l=2,u=3,d=4,f=5,p=6,m=7,h=8,g=9,_={0:`number`,1:`any`,2:`string`,3:`array`,4:`object`,5:`boolean`,6:`expression`,7:`null`,8:`Array<number>`,9:`Array<string>`},v=`EOF`,y=`UnquotedIdentifier`,b=`QuotedIdentifier`,x=`Rbracket`,S=`Rparen`,C=`Comma`,w=`Colon`,T=`Rbrace`,E=`Number`,ee=`Current`,te=`Expref`,ne=`Pipe`,D=`Or`,re=`And`,ie=`EQ`,O=`GT`,ae=`LT`,oe=`GTE`,k=`LTE`,se=`NE`,ce=`Flatten`,le=`Star`,ue=`Filter`,de=`Dot`,fe=`Not`,pe=`Lbrace`,me=`Lbracket`,he=`Lparen`,ge=`Literal`,A={".":de,"*":le,",":C,":":w,"{":pe,"}":T,"]":x,"(":he,")":S,"@":ee},_e={"<":!0,">":!0,"=":!0,"!":!0},j={" ":!0," ":!0,"\n":!0};function ve(e){return e>=`a`&&e<=`z`||e>=`A`&&e<=`Z`||e===`_`}function ye(e){return e>=`0`&&e<=`9`||e===`-`}function be(e){return e>=`a`&&e<=`z`||e>=`A`&&e<=`Z`||e>=`0`&&e<=`9`||e===`_`}function M(){}M.prototype={tokenize:function(e){var t=[];this._current=0;for(var n,r,i;this._current<e.length;)if(ve(e[this._current]))n=this._current,r=this._consumeUnquotedIdentifier(e),t.push({type:y,value:r,start:n});else if(A[e[this._current]]!==void 0)t.push({type:A[e[this._current]],value:e[this._current],start:this._current}),this._current++;else if(ye(e[this._current]))i=this._consumeNumber(e),t.push(i);else if(e[this._current]===`[`)i=this._consumeLBracket(e),t.push(i);else if(e[this._current]===`"`)n=this._current,r=this._consumeQuotedIdentifier(e),t.push({type:b,value:r,start:n});else if(e[this._current]===`'`)n=this._current,r=this._consumeRawStringLiteral(e),t.push({type:ge,value:r,start:n});else if(e[this._current]==="`"){n=this._current;var a=this._consumeLiteral(e);t.push({type:ge,value:a,start:n})}else if(_e[e[this._current]]!==void 0)t.push(this._consumeOperator(e));else if(j[e[this._current]]!==void 0)this._current++;else if(e[this._current]===`&`)n=this._current,this._current++,e[this._current]===`&`?(this._current++,t.push({type:re,value:`&&`,start:n})):t.push({type:te,value:`&`,start:n});else if(e[this._current]===`|`)n=this._current,this._current++,e[this._current]===`|`?(this._current++,t.push({type:D,value:`||`,start:n})):t.push({type:ne,value:`|`,start:n});else{var o=Error(`Unknown character:`+e[this._current]);throw o.name=`LexerError`,o}return t},_consumeUnquotedIdentifier:function(e){var t=this._current;for(this._current++;this._current<e.length&&be(e[this._current]);)this._current++;return e.slice(t,this._current)},_consumeQuotedIdentifier:function(e){var t=this._current;this._current++;for(var n=e.length;e[this._current]!==`"`&&this._current<n;){var r=this._current;e[r]===`\\`&&(e[r+1]===`\\`||e[r+1]===`"`)?r+=2:r++,this._current=r}return this._current++,JSON.parse(e.slice(t,this._current))},_consumeRawStringLiteral:function(e){var t=this._current;this._current++;for(var n=e.length;e[this._current]!==`'`&&this._current<n;){var r=this._current;e[r]===`\\`&&(e[r+1]===`\\`||e[r+1]===`'`)?r+=2:r++,this._current=r}return this._current++,e.slice(t+1,this._current-1).replace(`\\'`,`'`)},_consumeNumber:function(e){var t=this._current;this._current++;for(var n=e.length;ye(e[this._current])&&this._current<n;)this._current++;return{type:E,value:parseInt(e.slice(t,this._current)),start:t}},_consumeLBracket:function(e){var t=this._current;return this._current++,e[this._current]===`?`?(this._current++,{type:ue,value:`[?`,start:t}):e[this._current]===`]`?(this._current++,{type:ce,value:`[]`,start:t}):{type:me,value:`[`,start:t}},_consumeOperator:function(e){var t=this._current,n=e[t];if(this._current++,n===`!`)return e[this._current]===`=`?(this._current++,{type:se,value:`!=`,start:t}):{type:fe,value:`!`,start:t};if(n===`<`)return e[this._current]===`=`?(this._current++,{type:k,value:`<=`,start:t}):{type:ae,value:`<`,start:t};if(n===`>`)return e[this._current]===`=`?(this._current++,{type:oe,value:`>=`,start:t}):{type:O,value:`>`,start:t};if(n===`=`&&e[this._current]===`=`)return this._current++,{type:ie,value:`==`,start:t}},_consumeLiteral:function(e){this._current++;for(var t=this._current,n=e.length,r;e[this._current]!=="`"&&this._current<n;){var i=this._current;e[i]===`\\`&&(e[i+1]===`\\`||e[i+1]==="`")?i+=2:i++,this._current=i}var a=o(e.slice(t,this._current));return a=a.replace("\\`","`"),r=this._looksLikeJSON(a)?JSON.parse(a):JSON.parse(`"`+a+`"`),this._current++,r},_looksLikeJSON:function(e){var t=`[{"`,n=[`true`,`false`,`null`],r=`-0123456789`;if(e===``)return!1;if(t.indexOf(e[0])>=0||n.indexOf(e)>=0)return!0;if(r.indexOf(e[0])>=0)try{return JSON.parse(e),!0}catch{return!1}return!1}};var N={};N[v]=0,N[y]=0,N[b]=0,N[x]=0,N[S]=0,N[C]=0,N[T]=0,N[E]=0,N[ee]=0,N[te]=0,N[ne]=1,N[D]=2,N[re]=3,N[ie]=5,N[O]=5,N[ae]=5,N[oe]=5,N[k]=5,N[se]=5,N[ce]=9,N[le]=20,N[ue]=21,N[de]=40,N[fe]=45,N[pe]=50,N[me]=55,N[he]=60;function xe(){}xe.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if(this._lookahead(0)!==v){var n=this._lookaheadToken(0),r=Error(`Unexpected token type: `+n.type+`, value: `+n.value);throw r.name=`ParserError`,r}return t},_loadTokens:function(e){var t=new M().tokenize(e);t.push({type:v,value:``,start:e.length}),this.tokens=t},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var n=this.nud(t),r=this._lookahead(0);e<N[r];)this._advance(),n=this.led(r,n),r=this._lookahead(0);return n},_lookahead:function(e){return this.tokens[this.index+e].type},_lookaheadToken:function(e){return this.tokens[this.index+e]},_advance:function(){this.index++},nud:function(e){var t,n,r;switch(e.type){case ge:return{type:`Literal`,value:e.value};case y:return{type:`Field`,name:e.value};case b:var i={type:`Field`,name:e.value};if(this._lookahead(0)===he)throw Error(`Quoted identifier not allowed for function names.`);return i;case fe:return n=this.expression(N.Not),{type:`NotExpression`,children:[n]};case le:return t={type:`Identity`},n=null,n=this._lookahead(0)===x?{type:`Identity`}:this._parseProjectionRHS(N.Star),{type:`ValueProjection`,children:[t,n]};case ue:return this.led(e.type,{type:`Identity`});case pe:return this._parseMultiselectHash();case ce:return t={type:ce,children:[{type:`Identity`}]},n=this._parseProjectionRHS(N.Flatten),{type:`Projection`,children:[t,n]};case me:return this._lookahead(0)===E||this._lookahead(0)===w?(n=this._parseIndexExpression(),this._projectIfSlice({type:`Identity`},n)):this._lookahead(0)===le&&this._lookahead(1)===x?(this._advance(),this._advance(),n=this._parseProjectionRHS(N.Star),{type:`Projection`,children:[{type:`Identity`},n]}):this._parseMultiselectList();case ee:return{type:ee};case te:return r=this.expression(N.Expref),{type:`ExpressionReference`,children:[r]};case he:for(var a=[];this._lookahead(0)!==S;)this._lookahead(0)===ee?(r={type:ee},this._advance()):r=this.expression(0),a.push(r);return this._match(S),a[0];default:this._errorToken(e)}},led:function(e,t){var n;switch(e){case de:var r=N.Dot;return this._lookahead(0)===le?(this._advance(),n=this._parseProjectionRHS(r),{type:`ValueProjection`,children:[t,n]}):(n=this._parseDotRHS(r),{type:`Subexpression`,children:[t,n]});case ne:return n=this.expression(N.Pipe),{type:ne,children:[t,n]};case D:return n=this.expression(N.Or),{type:`OrExpression`,children:[t,n]};case re:return n=this.expression(N.And),{type:`AndExpression`,children:[t,n]};case he:for(var i=t.name,a=[],o,s;this._lookahead(0)!==S;)this._lookahead(0)===ee?(o={type:ee},this._advance()):o=this.expression(0),this._lookahead(0)===C&&this._match(C),a.push(o);return this._match(S),s={type:`Function`,name:i,children:a},s;case ue:var c=this.expression(0);return this._match(x),n=this._lookahead(0)===ce?{type:`Identity`}:this._parseProjectionRHS(N.Filter),{type:`FilterProjection`,children:[t,n,c]};case ce:return{type:`Projection`,children:[{type:ce,children:[t]},this._parseProjectionRHS(N.Flatten)]};case ie:case se:case O:case oe:case ae:case k:return this._parseComparator(t,e);case me:var l=this._lookaheadToken(0);return l.type===E||l.type===w?(n=this._parseIndexExpression(),this._projectIfSlice(t,n)):(this._match(le),this._match(x),n=this._parseProjectionRHS(N.Star),{type:`Projection`,children:[t,n]});default:this._errorToken(this._lookaheadToken(0))}},_match:function(e){if(this._lookahead(0)===e)this._advance();else{var t=this._lookaheadToken(0),n=Error(`Expected `+e+`, got: `+t.type);throw n.name=`ParserError`,n}},_errorToken:function(e){var t=Error(`Invalid token (`+e.type+`): "`+e.value+`"`);throw t.name=`ParserError`,t},_parseIndexExpression:function(){if(this._lookahead(0)===w||this._lookahead(1)===w)return this._parseSliceExpression();var e={type:`Index`,value:this._lookaheadToken(0).value};return this._advance(),this._match(x),e},_projectIfSlice:function(e,t){var n={type:`IndexExpression`,children:[e,t]};return t.type===`Slice`?{type:`Projection`,children:[n,this._parseProjectionRHS(N.Star)]}:n},_parseSliceExpression:function(){for(var e=[null,null,null],t=0,n=this._lookahead(0);n!==x&&t<3;){if(n===w)t++,this._advance();else if(n===E)e[t]=this._lookaheadToken(0).value,this._advance();else{var r=this._lookahead(0),i=Error(`Syntax error, unexpected token: `+r.value+`(`+r.type+`)`);throw i.name=`Parsererror`,i}n=this._lookahead(0)}return this._match(x),{type:`Slice`,children:e}},_parseComparator:function(e,t){return{type:`Comparator`,name:t,children:[e,this.expression(N[t])]}},_parseDotRHS:function(e){var t=this._lookahead(0);if([y,b,le].indexOf(t)>=0)return this.expression(e);if(t===me)return this._match(me),this._parseMultiselectList();if(t===pe)return this._match(pe),this._parseMultiselectHash()},_parseProjectionRHS:function(e){var t;if(N[this._lookahead(0)]<10)t={type:`Identity`};else if(this._lookahead(0)===me)t=this.expression(e);else if(this._lookahead(0)===ue)t=this.expression(e);else if(this._lookahead(0)===de)this._match(de),t=this._parseDotRHS(e);else{var n=this._lookaheadToken(0),r=Error(`Sytanx error, unexpected token: `+n.value+`(`+n.type+`)`);throw r.name=`ParserError`,r}return t},_parseMultiselectList:function(){for(var e=[];this._lookahead(0)!==x;){var t=this.expression(0);if(e.push(t),this._lookahead(0)===C&&(this._match(C),this._lookahead(0)===x))throw Error(`Unexpected token Rbracket`)}return this._match(x),{type:`MultiSelectList`,children:e}},_parseMultiselectHash:function(){for(var e=[],t=[y,b],n,r,i,a;;){if(n=this._lookaheadToken(0),t.indexOf(n.type)<0)throw Error(`Expecting an identifier token, got: `+n.type);if(r=n.value,this._advance(),this._match(w),i=this.expression(0),a={type:`KeyValuePair`,name:r,value:i},e.push(a),this._lookahead(0)===C)this._match(C);else if(this._lookahead(0)===T){this._match(T);break}}return{type:`MultiSelectHash`,children:e}}};function Se(e){this.runtime=e}Se.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,o){var s,c,l,u,d,f,p,m,h,g;switch(e.type){case`Field`:return o!==null&&n(o)?(f=o[e.name],f===void 0?null:f):null;case`Subexpression`:for(l=this.visit(e.children[0],o),g=1;g<e.children.length;g++)if(l=this.visit(e.children[1],l),l===null)return null;return l;case`IndexExpression`:return p=this.visit(e.children[0],o),m=this.visit(e.children[1],p),m;case`Index`:if(!t(o))return null;var _=e.value;return _<0&&(_=o.length+_),l=o[_],l===void 0&&(l=null),l;case`Slice`:if(!t(o))return null;var v=e.children.slice(0),y=this.computeSliceParams(o.length,v),b=y[0],x=y[1],S=y[2];if(l=[],S>0)for(g=b;g<x;g+=S)l.push(o[g]);else for(g=b;g>x;g+=S)l.push(o[g]);return l;case`Projection`:var C=this.visit(e.children[0],o);if(!t(C))return null;for(h=[],g=0;g<C.length;g++)c=this.visit(e.children[1],C[g]),c!==null&&h.push(c);return h;case`ValueProjection`:if(C=this.visit(e.children[0],o),!n(C))return null;h=[];var w=a(C);for(g=0;g<w.length;g++)c=this.visit(e.children[1],w[g]),c!==null&&h.push(c);return h;case`FilterProjection`:if(C=this.visit(e.children[0],o),!t(C))return null;var T=[],E=[];for(g=0;g<C.length;g++)s=this.visit(e.children[2],C[g]),i(s)||T.push(C[g]);for(var D=0;D<T.length;D++)c=this.visit(e.children[1],T[D]),c!==null&&E.push(c);return E;case`Comparator`:switch(u=this.visit(e.children[0],o),d=this.visit(e.children[1],o),e.name){case ie:l=r(u,d);break;case se:l=!r(u,d);break;case O:l=u>d;break;case oe:l=u>=d;break;case ae:l=u<d;break;case k:l=u<=d;break;default:throw Error(`Unknown comparator: `+e.name)}return l;case ce:var re=this.visit(e.children[0],o);if(!t(re))return null;var le=[];for(g=0;g<re.length;g++)c=re[g],t(c)?le.push.apply(le,c):le.push(c);return le;case`Identity`:return o;case`MultiSelectList`:if(o===null)return null;for(h=[],g=0;g<e.children.length;g++)h.push(this.visit(e.children[g],o));return h;case`MultiSelectHash`:if(o===null)return null;h={};var ue;for(g=0;g<e.children.length;g++)ue=e.children[g],h[ue.name]=this.visit(ue.value,o);return h;case`OrExpression`:return s=this.visit(e.children[0],o),i(s)&&(s=this.visit(e.children[1],o)),s;case`AndExpression`:return u=this.visit(e.children[0],o),i(u)===!0?u:this.visit(e.children[1],o);case`NotExpression`:return u=this.visit(e.children[0],o),i(u);case`Literal`:return e.value;case ne:return p=this.visit(e.children[0],o),this.visit(e.children[1],p);case ee:return o;case`Function`:var de=[];for(g=0;g<e.children.length;g++)de.push(this.visit(e.children[g],o));return this.runtime.callFunction(e.name,de);case`ExpressionReference`:var fe=e.children[0];return fe.jmespathType=te,fe;default:throw Error(`Unknown node type: `+e.type)}},computeSliceParams:function(e,t){var n=t[0],r=t[1],i=t[2],a=[null,null,null];if(i===null)i=1;else if(i===0){var o=Error(`Invalid slice, step cannot be 0`);throw o.name=`RuntimeError`,o}var s=i<0;return n=n===null?s?e-1:0:this.capSliceRange(e,n,i),r=r===null?s?-1:e:this.capSliceRange(e,r,i),a[0]=n,a[1]=r,a[2]=i,a},capSliceRange:function(e,t,n){return t<0?(t+=e,t<0&&(t=n<0?-1:0)):t>=e&&(t=n<0?e-1:e),t}};function Ce(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[s]}]},avg:{_func:this._functionAvg,_signature:[{types:[h]}]},ceil:{_func:this._functionCeil,_signature:[{types:[s]}]},contains:{_func:this._functionContains,_signature:[{types:[l,u]},{types:[c]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[l]},{types:[l]}]},floor:{_func:this._functionFloor,_signature:[{types:[s]}]},length:{_func:this._functionLength,_signature:[{types:[l,u,d]}]},map:{_func:this._functionMap,_signature:[{types:[p]},{types:[u]}]},max:{_func:this._functionMax,_signature:[{types:[h,g]}]},merge:{_func:this._functionMerge,_signature:[{types:[d],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[u]},{types:[p]}]},sum:{_func:this._functionSum,_signature:[{types:[h]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[l]},{types:[l]}]},min:{_func:this._functionMin,_signature:[{types:[h,g]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[u]},{types:[p]}]},type:{_func:this._functionType,_signature:[{types:[c]}]},keys:{_func:this._functionKeys,_signature:[{types:[d]}]},values:{_func:this._functionValues,_signature:[{types:[d]}]},sort:{_func:this._functionSort,_signature:[{types:[g,h]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[u]},{types:[p]}]},join:{_func:this._functionJoin,_signature:[{types:[l]},{types:[g]}]},reverse:{_func:this._functionReverse,_signature:[{types:[l,u]}]},to_array:{_func:this._functionToArray,_signature:[{types:[c]}]},to_string:{_func:this._functionToString,_signature:[{types:[c]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[c]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[c],variadic:!0}]}}}Ce.prototype={callFunction:function(e,t){var n=this.functionTable[e];if(n===void 0)throw Error(`Unknown function: `+e+`()`);return this._validateArgs(e,t,n._signature),n._func.call(this,t)},_validateArgs:function(e,t,n){var r;if(n[n.length-1].variadic){if(t.length<n.length)throw r=n.length===1?` argument`:` arguments`,Error(`ArgumentError: `+e+`() takes at least`+n.length+r+` but received `+t.length)}else if(t.length!==n.length)throw r=n.length===1?` argument`:` arguments`,Error(`ArgumentError: `+e+`() takes `+n.length+r+` but received `+t.length);for(var i,a,o,s=0;s<n.length;s++){o=!1,i=n[s].types,a=this._getTypeName(t[s]);for(var c=0;c<i.length;c++)if(this._typeMatches(a,i[c],t[s])){o=!0;break}if(!o){var l=i.map(function(e){return _[e]}).join(`,`);throw Error(`TypeError: `+e+`() expected argument `+(s+1)+` to be type `+l+` but received type `+_[a]+` instead.`)}}},_typeMatches:function(e,t,n){if(t===c)return!0;if(t===g||t===h||t===u){if(t===u)return e===u;if(e===u){var r;t===h?r=s:t===g&&(r=l);for(var i=0;i<n.length;i++)if(!this._typeMatches(this._getTypeName(n[i]),r,n[i]))return!1;return!0}}else return e===t},_getTypeName:function(e){switch(Object.prototype.toString.call(e)){case`[object String]`:return l;case`[object Number]`:return s;case`[object Array]`:return u;case`[object Boolean]`:return f;case`[object Null]`:return m;case`[object Object]`:return e.jmespathType===te?p:d}},_functionStartsWith:function(e){return e[0].lastIndexOf(e[1])===0},_functionEndsWith:function(e){var t=e[0],n=e[1];return t.indexOf(n,t.length-n.length)!==-1},_functionReverse:function(e){if(this._getTypeName(e[0])===l){for(var t=e[0],n=``,r=t.length-1;r>=0;r--)n+=t[r];return n}var i=e[0].slice(0);return i.reverse(),i},_functionAbs:function(e){return Math.abs(e[0])},_functionCeil:function(e){return Math.ceil(e[0])},_functionAvg:function(e){for(var t=0,n=e[0],r=0;r<n.length;r++)t+=n[r];return t/n.length},_functionContains:function(e){return e[0].indexOf(e[1])>=0},_functionFloor:function(e){return Math.floor(e[0])},_functionLength:function(e){return n(e[0])?Object.keys(e[0]).length:e[0].length},_functionMap:function(e){for(var t=[],n=this._interpreter,r=e[0],i=e[1],a=0;a<i.length;a++)t.push(n.visit(r,i[a]));return t},_functionMerge:function(e){for(var t={},n=0;n<e.length;n++){var r=e[n];for(var i in r)t[i]=r[i]}return t},_functionMax:function(e){if(e[0].length>0){if(this._getTypeName(e[0][0])===s)return Math.max.apply(Math,e[0]);for(var t=e[0],n=t[0],r=1;r<t.length;r++)n.localeCompare(t[r])<0&&(n=t[r]);return n}return null},_functionMin:function(e){if(e[0].length>0){if(this._getTypeName(e[0][0])===s)return Math.min.apply(Math,e[0]);for(var t=e[0],n=t[0],r=1;r<t.length;r++)t[r].localeCompare(n)<0&&(n=t[r]);return n}return null},_functionSum:function(e){for(var t=0,n=e[0],r=0;r<n.length;r++)t+=n[r];return t},_functionType:function(e){switch(this._getTypeName(e[0])){case s:return`number`;case l:return`string`;case u:return`array`;case d:return`object`;case f:return`boolean`;case p:return`expref`;case m:return`null`}},_functionKeys:function(e){return Object.keys(e[0])},_functionValues:function(e){for(var t=e[0],n=Object.keys(t),r=[],i=0;i<n.length;i++)r.push(t[n[i]]);return r},_functionJoin:function(e){var t=e[0];return e[1].join(t)},_functionToArray:function(e){return this._getTypeName(e[0])===u?e[0]:[e[0]]},_functionToString:function(e){return this._getTypeName(e[0])===l?e[0]:JSON.stringify(e[0])},_functionToNumber:function(e){var t=this._getTypeName(e[0]),n;return t===s?e[0]:t===l&&(n=+e[0],!isNaN(n))?n:null},_functionNotNull:function(e){for(var t=0;t<e.length;t++)if(this._getTypeName(e[t])!==m)return e[t];return null},_functionSort:function(e){var t=e[0].slice(0);return t.sort(),t},_functionSortBy:function(e){var t=e[0].slice(0);if(t.length===0)return t;var n=this._interpreter,r=e[1],i=this._getTypeName(n.visit(r,t[0]));if([s,l].indexOf(i)<0)throw Error(`TypeError`);for(var a=this,o=[],c=0;c<t.length;c++)o.push([c,t[c]]);o.sort(function(e,t){var o=n.visit(r,e[1]),s=n.visit(r,t[1]);if(a._getTypeName(o)!==i)throw Error(`TypeError: expected `+i+`, received `+a._getTypeName(o));if(a._getTypeName(s)!==i)throw Error(`TypeError: expected `+i+`, received `+a._getTypeName(s));return o>s?1:o<s?-1:e[0]-t[0]});for(var u=0;u<o.length;u++)t[u]=o[u][1];return t},_functionMaxBy:function(e){for(var t=e[1],n=e[0],r=this.createKeyFunction(t,[s,l]),i=-1/0,a,o,c=0;c<n.length;c++)o=r(n[c]),o>i&&(i=o,a=n[c]);return a},_functionMinBy:function(e){for(var t=e[1],n=e[0],r=this.createKeyFunction(t,[s,l]),i=1/0,a,o,c=0;c<n.length;c++)o=r(n[c]),o<i&&(i=o,a=n[c]);return a},createKeyFunction:function(e,t){var n=this,r=this._interpreter;return function(i){var a=r.visit(e,i);if(t.indexOf(n._getTypeName(a))<0){var o=`TypeError: expected one of `+t+`, received `+n._getTypeName(a);throw Error(o)}return a}}};function we(e){return new xe().parse(e)}function Te(e){return new M().tokenize(e)}function Ee(e,t){var n=new xe,r=new Ce,i=new Se(r);r._interpreter=i;var a=n.parse(t);return i.search(a,e)}e.tokenize=Te,e.compile=we,e.search=Ee,e.strictDeepEqual=r})(e===void 0?e.jmespath={}:e)}))();var Hre=class{add(e,t,n){if(typeof arguments[0]!=`string`)for(let e in arguments[0])this.add(e,arguments[0][e],arguments[1]);else(Array.isArray(e)?e:[e]).forEach(function(e){this[e]=this[e]||[],t&&this[e][n?`unshift`:`push`](t)},this)}run(e,t){this[e]=this[e]||[],this[e].forEach(function(e){e.call(t&&t.context?t.context:t,t)})}},Ure=class{constructor(e){this.jsep=e,this.registered={}}register(){[...arguments].forEach(e=>{if(typeof e!=`object`||!e.name||!e.init)throw Error(`Invalid JSEP plugin format`);this.registered[e.name]||(e.init(this.jsep),this.registered[e.name]=e)})}},Gx=class e{static get version(){return`1.4.0`}static toString(){return`JavaScript Expression Parser (JSEP) v`+e.version}static addUnaryOp(t){return e.max_unop_len=Math.max(t.length,e.max_unop_len),e.unary_ops[t]=1,e}static addBinaryOp(t,n,r){return e.max_binop_len=Math.max(t.length,e.max_binop_len),e.binary_ops[t]=n,r?e.right_associative.add(t):e.right_associative.delete(t),e}static addIdentifierChar(t){return e.additional_identifier_chars.add(t),e}static addLiteral(t,n){return e.literals[t]=n,e}static removeUnaryOp(t){return delete e.unary_ops[t],t.length===e.max_unop_len&&(e.max_unop_len=e.getMaxKeyLen(e.unary_ops)),e}static removeAllUnaryOps(){return e.unary_ops={},e.max_unop_len=0,e}static removeIdentifierChar(t){return e.additional_identifier_chars.delete(t),e}static removeBinaryOp(t){return delete e.binary_ops[t],t.length===e.max_binop_len&&(e.max_binop_len=e.getMaxKeyLen(e.binary_ops)),e.right_associative.delete(t),e}static removeAllBinaryOps(){return e.binary_ops={},e.max_binop_len=0,e}static removeLiteral(t){return delete e.literals[t],e}static removeAllLiterals(){return e.literals={},e}get char(){return this.expr.charAt(this.index)}get code(){return this.expr.charCodeAt(this.index)}constructor(e){this.expr=e,this.index=0}static parse(t){return new e(t).parse()}static getMaxKeyLen(e){return Math.max(0,...Object.keys(e).map(e=>e.length))}static isDecimalDigit(e){return e>=48&&e<=57}static binaryPrecedence(t){return e.binary_ops[t]||0}static isIdentifierStart(t){return t>=65&&t<=90||t>=97&&t<=122||t>=128&&!e.binary_ops[String.fromCharCode(t)]||e.additional_identifier_chars.has(String.fromCharCode(t))}static isIdentifierPart(t){return e.isIdentifierStart(t)||e.isDecimalDigit(t)}throwError(e){let t=Error(e+` at character `+this.index);throw t.index=this.index,t.description=e,t}runHook(t,n){if(e.hooks[t]){let r={context:this,node:n};return e.hooks.run(t,r),r.node}return n}searchHook(t){if(e.hooks[t]){let n={context:this};return e.hooks[t].find(function(e){return e.call(n.context,n),n.node}),n.node}}gobbleSpaces(){let t=this.code;for(;t===e.SPACE_CODE||t===e.TAB_CODE||t===e.LF_CODE||t===e.CR_CODE;)t=this.expr.charCodeAt(++this.index);this.runHook(`gobble-spaces`)}parse(){this.runHook(`before-all`);let t=this.gobbleExpressions(),n=t.length===1?t[0]:{type:e.COMPOUND,body:t};return this.runHook(`after-all`,n)}gobbleExpressions(t){let n=[],r,i;for(;this.index<this.expr.length;)if(r=this.code,r===e.SEMCOL_CODE||r===e.COMMA_CODE)this.index++;else if(i=this.gobbleExpression())n.push(i);else if(this.index<this.expr.length){if(r===t)break;this.throwError(`Unexpected "`+this.char+`"`)}return n}gobbleExpression(){let e=this.searchHook(`gobble-expression`)||this.gobbleBinaryExpression();return this.gobbleSpaces(),this.runHook(`after-expression`,e)}gobbleBinaryOp(){this.gobbleSpaces();let t=this.expr.substr(this.index,e.max_binop_len),n=t.length;for(;n>0;){if(e.binary_ops.hasOwnProperty(t)&&(!e.isIdentifierStart(this.code)||this.index+t.length<this.expr.length&&!e.isIdentifierPart(this.expr.charCodeAt(this.index+t.length))))return this.index+=n,t;t=t.substr(0,--n)}return!1}gobbleBinaryExpression(){let t,n,r,i,a,o,s,c,l;if(o=this.gobbleToken(),!o||(n=this.gobbleBinaryOp(),!n))return o;for(a={value:n,prec:e.binaryPrecedence(n),right_a:e.right_associative.has(n)},s=this.gobbleToken(),s||this.throwError(`Expected expression after `+n),i=[o,a,s];n=this.gobbleBinaryOp();){if(r=e.binaryPrecedence(n),r===0){this.index-=n.length;break}a={value:n,prec:r,right_a:e.right_associative.has(n)},l=n;let c=e=>a.right_a&&e.right_a?r>e.prec:r<=e.prec;for(;i.length>2&&c(i[i.length-2]);)s=i.pop(),n=i.pop().value,o=i.pop(),t={type:e.BINARY_EXP,operator:n,left:o,right:s},i.push(t);t=this.gobbleToken(),t||this.throwError(`Expected expression after `+l),i.push(a,t)}for(c=i.length-1,t=i[c];c>1;)t={type:e.BINARY_EXP,operator:i[c-1].value,left:i[c-2],right:t},c-=2;return t}gobbleToken(){let t,n,r,i;if(this.gobbleSpaces(),i=this.searchHook(`gobble-token`),i)return this.runHook(`after-token`,i);if(t=this.code,e.isDecimalDigit(t)||t===e.PERIOD_CODE)return this.gobbleNumericLiteral();if(t===e.SQUOTE_CODE||t===e.DQUOTE_CODE)i=this.gobbleStringLiteral();else if(t===e.OBRACK_CODE)i=this.gobbleArray();else{for(n=this.expr.substr(this.index,e.max_unop_len),r=n.length;r>0;){if(e.unary_ops.hasOwnProperty(n)&&(!e.isIdentifierStart(this.code)||this.index+n.length<this.expr.length&&!e.isIdentifierPart(this.expr.charCodeAt(this.index+n.length)))){this.index+=r;let t=this.gobbleToken();return t||this.throwError(`missing unaryOp argument`),this.runHook(`after-token`,{type:e.UNARY_EXP,operator:n,argument:t,prefix:!0})}n=n.substr(0,--r)}e.isIdentifierStart(t)?(i=this.gobbleIdentifier(),e.literals.hasOwnProperty(i.name)?i={type:e.LITERAL,value:e.literals[i.name],raw:i.name}:i.name===e.this_str&&(i={type:e.THIS_EXP})):t===e.OPAREN_CODE&&(i=this.gobbleGroup())}return i?(i=this.gobbleTokenProperty(i),this.runHook(`after-token`,i)):this.runHook(`after-token`,!1)}gobbleTokenProperty(t){this.gobbleSpaces();let n=this.code;for(;n===e.PERIOD_CODE||n===e.OBRACK_CODE||n===e.OPAREN_CODE||n===e.QUMARK_CODE;){let r;if(n===e.QUMARK_CODE){if(this.expr.charCodeAt(this.index+1)!==e.PERIOD_CODE)break;r=!0,this.index+=2,this.gobbleSpaces(),n=this.code}this.index++,n===e.OBRACK_CODE?(t={type:e.MEMBER_EXP,computed:!0,object:t,property:this.gobbleExpression()},t.property||this.throwError(`Unexpected "`+this.char+`"`),this.gobbleSpaces(),n=this.code,n!==e.CBRACK_CODE&&this.throwError(`Unclosed [`),this.index++):n===e.OPAREN_CODE?t={type:e.CALL_EXP,arguments:this.gobbleArguments(e.CPAREN_CODE),callee:t}:(n===e.PERIOD_CODE||r)&&(r&&this.index--,this.gobbleSpaces(),t={type:e.MEMBER_EXP,computed:!1,object:t,property:this.gobbleIdentifier()}),r&&(t.optional=!0),this.gobbleSpaces(),n=this.code}return t}gobbleNumericLiteral(){let t=``,n,r;for(;e.isDecimalDigit(this.code);)t+=this.expr.charAt(this.index++);if(this.code===e.PERIOD_CODE)for(t+=this.expr.charAt(this.index++);e.isDecimalDigit(this.code);)t+=this.expr.charAt(this.index++);if(n=this.char,n===`e`||n===`E`){for(t+=this.expr.charAt(this.index++),n=this.char,(n===`+`||n===`-`)&&(t+=this.expr.charAt(this.index++));e.isDecimalDigit(this.code);)t+=this.expr.charAt(this.index++);e.isDecimalDigit(this.expr.charCodeAt(this.index-1))||this.throwError(`Expected exponent (`+t+this.char+`)`)}return r=this.code,e.isIdentifierStart(r)?this.throwError(`Variable names cannot start with a number (`+t+this.char+`)`):(r===e.PERIOD_CODE||t.length===1&&t.charCodeAt(0)===e.PERIOD_CODE)&&this.throwError(`Unexpected period`),{type:e.LITERAL,value:parseFloat(t),raw:t}}gobbleStringLiteral(){let t=``,n=this.index,r=this.expr.charAt(this.index++),i=!1;for(;this.index<this.expr.length;){let e=this.expr.charAt(this.index++);if(e===r){i=!0;break}if(e===`\\`)switch(e=this.expr.charAt(this.index++),e){case`n`:t+=`
51
+ ${t}}`])},f=e=>e.map(e=>`.${p(e)}`).join(``),p=e=>ure.test(e)?e:JSON.stringify(e),m=(e,[n,r,i],[a,o,s])=>{var c;return n.length+e.reduce((e,t)=>e+t.length+r.length,0)-r.length+i.length<=((c=t==null?void 0:t.maxLineLength)==null?_re:c)?n+e.join(r)+i:a+e.join(o)+s};return l(e,``)};function bre(e,t,n){return lx(are(t)?px(t,n):t,n)(e)}var xre={prefix:`far`,iconName:`clock`,icon:[512,512,[128339,`clock-four`],`f017`,`M464 256a208 208 0 1 1 -416 0 208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0 256 256 0 1 0 -512 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z`]},mx={prefix:`far`,iconName:`square-check`,icon:[448,512,[9745,9989,61510,`check-square`],`f14a`,`M384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l320 0zM64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 80zm230.7 89.9c7.8-10.7 22.8-13.1 33.5-5.3 10.7 7.8 13.1 22.8 5.3 33.5L211.4 366.1c-4.1 5.7-10.5 9.3-17.5 9.8-7 .5-13.9-2-18.8-6.9l-55.9-55.9c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l36 36 105.6-145.2z`]},Sre={prefix:`far`,iconName:`lightbulb`,icon:[384,512,[128161],`f0eb`,`M296.5 291.1C321 265.2 336 230.4 336 192 336 112.5 271.5 48 192 48S48 112.5 48 192c0 38.4 15 73.2 39.5 99.1 21.3 22.4 44.9 54 53.3 92.9l102.4 0c8.4-39 32-70.5 53.3-92.9zm34.8 33C307.7 349 288 379.4 288 413.7l0 18.3c0 44.2-35.8 80-80 80l-32 0c-44.2 0-80-35.8-80-80l0-18.3C96 379.4 76.3 349 52.7 324.1 20 289.7 0 243.2 0 192 0 86 86 0 192 0S384 86 384 192c0 51.2-20 97.7-52.7 132.1zM144 184c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-48.6 39.4-88 88-88 13.3 0 24 10.7 24 24s-10.7 24-24 24c-22.1 0-40 17.9-40 40z`]},hx={prefix:`far`,iconName:`square`,icon:[448,512,[9632,9723,9724,61590],`f0c8`,`M384 80c8.8 0 16 7.2 16 16l0 320c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16L48 96c0-8.8 7.2-16 16-16l320 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z`]},Cre={prefix:`fas`,iconName:`rotate`,icon:[512,512,[128260,`sync-alt`],`f2f1`,`M480.1 192l7.9 0c13.3 0 24-10.7 24-24l0-144c0-9.7-5.8-18.5-14.8-22.2S477.9 .2 471 7L419.3 58.8C375 22.1 318 0 256 0 127 0 20.3 95.4 2.6 219.5 .1 237 12.2 253.2 29.7 255.7s33.7-9.7 36.2-27.1C79.2 135.5 159.3 64 256 64 300.4 64 341.2 79 373.7 104.3L327 151c-6.9 6.9-8.9 17.2-5.2 26.2S334.3 192 344 192l136.1 0zm29.4 100.5c2.5-17.5-9.7-33.7-27.1-36.2s-33.7 9.7-36.2 27.1c-13.3 93-93.4 164.5-190.1 164.5-44.4 0-85.2-15-117.7-40.3L185 361c6.9-6.9 8.9-17.2 5.2-26.2S177.7 320 168 320L24 320c-13.3 0-24 10.7-24 24L0 488c0 9.7 5.8 18.5 14.8 22.2S34.1 511.8 41 505l51.8-51.8C137 489.9 194 512 256 512 385 512 491.7 416.6 509.4 292.5z`]},gx={prefix:`fas`,iconName:`paste`,icon:[512,512,[`file-clipboard`],`f0ea`,`M64 0C28.7 0 0 28.7 0 64L0 384c0 35.3 28.7 64 64 64l112 0 0-224c0-61.9 50.1-112 112-112l64 0 0-48c0-35.3-28.7-64-64-64L64 0zM248 112l-144 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l144 0c13.3 0 24 10.7 24 24s-10.7 24-24 24zm40 48c-35.3 0-64 28.7-64 64l0 224c0 35.3 28.7 64 64 64l160 0c35.3 0 64-28.7 64-64l0-165.5c0-17-6.7-33.3-18.7-45.3l-58.5-58.5c-12-12-28.3-18.7-45.3-18.7L288 160z`]},wre={prefix:`fas`,iconName:`crop-simple`,icon:[512,512,[`crop-alt`],`f565`,`M128 32c0-17.7-14.3-32-32-32S64 14.3 64 32l0 32-32 0C14.3 64 0 78.3 0 96s14.3 32 32 32l32 0 0 256c0 35.3 28.7 64 64 64l208 0 0-64-208 0 0-352zM384 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32 32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0 0-256c0-35.3-28.7-64-64-64l-208 0 0 64 208 0 0 352z`]},_x={prefix:`fas`,iconName:`filter`,icon:[512,512,[],`f0b0`,`M32 64C19.1 64 7.4 71.8 2.4 83.8S.2 109.5 9.4 118.6L192 301.3 192 416c0 8.5 3.4 16.6 9.4 22.6l64 64c9.2 9.2 22.9 11.9 34.9 6.9S320 492.9 320 480l0-178.7 182.6-182.6c9.2-9.2 11.9-22.9 6.9-34.9S492.9 64 480 64L32 64z`]},Tre={prefix:`fas`,iconName:`square-caret-down`,icon:[448,512,[`caret-square-down`],`f150`,`M384 480c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0zM224 352c-6.7 0-13-2.8-17.6-7.7l-104-112c-6.5-7-8.2-17.2-4.4-25.9S110.5 192 120 192l208 0c9.5 0 18.2 5.7 22 14.4s2.1 18.9-4.4 25.9l-104 112c-4.5 4.9-10.9 7.7-17.6 7.7z`]},vx={prefix:`fas`,iconName:`caret-right`,icon:[256,512,[],`f0da`,`M249.3 235.8c10.2 12.6 9.5 31.1-2.2 42.8l-128 128c-9.2 9.2-22.9 11.9-34.9 6.9S64.5 396.9 64.5 384l0-256c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l128 128 2.2 2.4z`]},yx={prefix:`fas`,iconName:`magnifying-glass`,icon:[512,512,[128269,`search`],`f002`,`M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376C296.3 401.1 253.9 416 208 416 93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z`]},Ere={prefix:`fas`,iconName:`eye`,icon:[576,512,[128065],`f06e`,`M288 32c-80.8 0-145.5 36.8-192.6 80.6-46.8 43.5-78.1 95.4-93 131.1-3.3 7.9-3.3 16.7 0 24.6 14.9 35.7 46.2 87.7 93 131.1 47.1 43.7 111.8 80.6 192.6 80.6s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1 3.3-7.9 3.3-16.7 0-24.6-14.9-35.7-46.2-87.7-93-131.1-47.1-43.7-111.8-80.6-192.6-80.6zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64-11.5 0-22.3-3-31.7-8.4-1 10.9-.1 22.1 2.9 33.2 13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-12.2-45.7-55.5-74.8-101.1-70.8 5.3 9.3 8.4 20.1 8.4 31.7z`]},Dre={prefix:`fas`,iconName:`caret-left`,icon:[256,512,[],`f0d9`,`M7.7 235.8c-10.3 12.6-9.5 31.1 2.2 42.8l128 128c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-256c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-128 128-2.2 2.4z`]},Ore={prefix:`fas`,iconName:`chevron-up`,icon:[448,512,[],`f077`,`M201.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 173.3 54.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z`]},kre={prefix:`fas`,iconName:`circle-notch`,icon:[512,512,[],`f1ce`,`M222.7 32.1c5 16.9-4.6 34.8-21.5 39.8-79.3 23.6-137.1 97.1-137.1 184.1 0 106 86 192 192 192s192-86 192-192c0-86.9-57.8-160.4-137.1-184.1-16.9-5-26.6-22.9-21.5-39.8s22.9-26.6 39.8-21.5C434.9 42.1 512 140 512 256 512 397.4 397.4 512 256 512S0 397.4 0 256c0-116 77.1-213.9 182.9-245.4 16.9-5 34.8 4.6 39.8 21.5z`]},bx={prefix:`fas`,iconName:`ellipsis-vertical`,icon:[128,512,[`ellipsis-v`],`f142`,`M64 144a56 56 0 1 1 0-112 56 56 0 1 1 0 112zm0 224c30.9 0 56 25.1 56 56s-25.1 56-56 56-56-25.1-56-56 25.1-56 56-56zm56-112c0 30.9-25.1 56-56 56s-56-25.1-56-56 25.1-56 56-56 56 25.1 56 56z`]},Are={prefix:`fas`,iconName:`pen-to-square`,icon:[512,512,[`edit`],`f044`,`M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L368 46.1 465.9 144 490.3 119.6c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L432 177.9 334.1 80 172.4 241.7zM96 64C43 64 0 107 0 160L0 416c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-96c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 64z`]},xx={prefix:`fas`,iconName:`clone`,icon:[512,512,[],`f24d`,`M288 448l-224 0 0-224 48 0 0-64-48 0c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l224 0c35.3 0 64-28.7 64-64l0-48-64 0 0 48zm-64-96l224 0c35.3 0 64-28.7 64-64l0-224c0-35.3-28.7-64-64-64L224 0c-35.3 0-64 28.7-64 64l0 224c0 35.3 28.7 64 64 64z`]},Sx={prefix:`fas`,iconName:`square-check`,icon:[448,512,[9745,9989,61510,`check-square`],`f14a`,`M384 32c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l320 0zM342 145.7c-10.7-7.8-25.7-5.4-33.5 5.3L189.1 315.2 137 263.1c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c5 5 11.9 7.5 18.8 7s13.4-4.1 17.5-9.8L347.3 179.2c7.8-10.7 5.4-25.7-5.3-33.5z`]},jre={prefix:`fas`,iconName:`square-caret-up`,icon:[448,512,[`caret-square-up`],`f151`,`M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM224 160c6.7 0 13 2.8 17.6 7.7l104 112c6.5 7 8.2 17.2 4.4 25.9S337.5 320 328 320l-208 0c-9.5 0-18.2-5.7-22-14.4s-2.1-18.9 4.4-25.9l104-112c4.5-4.9 10.9-7.7 17.6-7.7z`]},Cx={prefix:`fas`,iconName:`code`,icon:[576,512,[],`f121`,`M360.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm64.6 136.1c-12.5 12.5-12.5 32.8 0 45.3l73.4 73.4-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0zm-274.7 0c-12.5-12.5-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 150.6 182.6c12.5-12.5 12.5-32.8 0-45.3z`]},wx={prefix:`fas`,iconName:`angle-right`,icon:[256,512,[8250],`f105`,`M247.1 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L179.2 256 41.9 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z`]},Mre={prefix:`fas`,iconName:`gear`,icon:[512,512,[9881,`cog`],`f013`,`M195.1 9.5C198.1-5.3 211.2-16 226.4-16l59.8 0c15.2 0 28.3 10.7 31.3 25.5L332 79.5c14.1 6 27.3 13.7 39.3 22.8l67.8-22.5c14.4-4.8 30.2 1.2 37.8 14.4l29.9 51.8c7.6 13.2 4.9 29.8-6.5 39.9L447 233.3c.9 7.4 1.3 15 1.3 22.7s-.5 15.3-1.3 22.7l53.4 47.5c11.4 10.1 14 26.8 6.5 39.9l-29.9 51.8c-7.6 13.1-23.4 19.2-37.8 14.4l-67.8-22.5c-12.1 9.1-25.3 16.7-39.3 22.8l-14.4 69.9c-3.1 14.9-16.2 25.5-31.3 25.5l-59.8 0c-15.2 0-28.3-10.7-31.3-25.5l-14.4-69.9c-14.1-6-27.2-13.7-39.3-22.8L73.5 432.3c-14.4 4.8-30.2-1.2-37.8-14.4L5.8 366.1c-7.6-13.2-4.9-29.8 6.5-39.9l53.4-47.5c-.9-7.4-1.3-15-1.3-22.7s.5-15.3 1.3-22.7L12.3 185.8c-11.4-10.1-14-26.8-6.5-39.9L35.7 94.1c7.6-13.2 23.4-19.2 37.8-14.4l67.8 22.5c12.1-9.1 25.3-16.7 39.3-22.8L195.1 9.5zM256.3 336a80 80 0 1 0 -.6-160 80 80 0 1 0 .6 160z`]},Nre={prefix:`fas`,iconName:`up-right-and-down-left-from-center`,icon:[512,512,[`expand-alt`],`f424`,`M344 0L488 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87-39-39c-6.9-6.9-8.9-17.2-5.2-26.2S334.3 0 344 0zM168 512L24 512c-13.3 0-24-10.7-24-24L0 344c0-9.7 5.8-18.5 14.8-22.2S34.1 320.2 41 327l39 39 87-87c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2S177.7 512 168 512z`]},Tx={prefix:`fas`,iconName:`wrench`,icon:[576,512,[128295],`f0ad`,`M509.4 98.6c7.6-7.6 20.3-5.7 24.1 4.3 6.8 17.7 10.5 37 10.5 57.1 0 88.4-71.6 160-160 160-17.5 0-34.4-2.8-50.2-8L146.9 498.9c-28.1 28.1-73.7 28.1-101.8 0s-28.1-73.7 0-101.8L232 210.2c-5.2-15.8-8-32.6-8-50.2 0-88.4 71.6-160 160-160 20.1 0 39.4 3.7 57.1 10.5 10 3.8 11.8 16.5 4.3 24.1l-88.7 88.7c-3 3-4.7 7.1-4.7 11.3l0 41.4c0 8.8 7.2 16 16 16l41.4 0c4.2 0 8.3-1.7 11.3-4.7l88.7-88.7z`]},Ex={prefix:`fas`,iconName:`trash-can`,icon:[448,512,[61460,`trash-alt`],`f2ed`,`M136.7 5.9C141.1-7.2 153.3-16 167.1-16l113.9 0c13.8 0 26 8.8 30.4 21.9L320 32 416 32c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l96 0 8.7-26.1zM32 144l384 0 0 304c0 35.3-28.7 64-64 64L96 512c-35.3 0-64-28.7-64-64l0-304zm88 64c-13.3 0-24 10.7-24 24l0 192c0 13.3 10.7 24 24 24s24-10.7 24-24l0-192c0-13.3-10.7-24-24-24zm104 0c-13.3 0-24 10.7-24 24l0 192c0 13.3 10.7 24 24 24s24-10.7 24-24l0-192c0-13.3-10.7-24-24-24zm104 0c-13.3 0-24 10.7-24 24l0 192c0 13.3 10.7 24 24 24s24-10.7 24-24l0-192c0-13.3-10.7-24-24-24z`]},Dx={prefix:`fas`,iconName:`check`,icon:[448,512,[10003,10004],`f00c`,`M434.8 70.1c14.3 10.4 17.5 30.4 7.1 44.7l-256 352c-5.5 7.6-14 12.3-23.4 13.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l101.5 101.5 234-321.7c10.4-14.3 30.4-17.5 44.7-7.1z`]},Ox={prefix:`fas`,iconName:`xmark`,icon:[384,512,[128473,10005,10006,10060,215,`close`,`multiply`,`remove`,`times`],`f00d`,`M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z`]},Pre=Ox,kx=Ox,Ax={prefix:`fas`,iconName:`pen`,icon:[512,512,[128394],`f304`,`M352.9 21.2L308 66.1 445.9 204 490.8 159.1C504.4 145.6 512 127.2 512 108s-7.6-37.6-21.2-51.1L455.1 21.2C441.6 7.6 423.2 0 404 0s-37.6 7.6-51.1 21.2zM274.1 100L58.9 315.1c-10.7 10.7-18.5 24.1-22.6 38.7L.9 481.6c-2.3 8.3 0 17.3 6.2 23.4s15.1 8.5 23.4 6.2l127.8-35.5c14.6-4.1 27.9-11.8 38.7-22.6L412 237.9 274.1 100z`]},Fre={prefix:`fas`,iconName:`chevron-down`,icon:[448,512,[],`f078`,`M201.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 338.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z`]},Ire={prefix:`fas`,iconName:`angle-down`,icon:[384,512,[8964],`f107`,`M169.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 306.7 54.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z`]},jx={prefix:`fas`,iconName:`arrow-down-short-wide`,icon:[576,512,[`sort-amount-desc`,`sort-amount-down-alt`],`f884`,`M246.6 374.6l-96 96c-12.5 12.5-32.8 12.5-45.3 0l-96-96c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L96 370.7 96 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 306.7 41.4-41.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3zM320 32l32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-160 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z`]},Mx={prefix:`fas`,iconName:`triangle-exclamation`,icon:[512,512,[9888,`exclamation-triangle`,`warning`],`f071`,`M256 0c14.7 0 28.2 8.1 35.2 21l216 400c6.7 12.4 6.4 27.4-.8 39.5S486.1 480 472 480L40 480c-14.1 0-27.2-7.4-34.4-19.5s-7.5-27.1-.8-39.5l216-400c7-12.9 20.5-21 35.2-21zm0 352a32 32 0 1 0 0 64 32 32 0 1 0 0-64zm0-192c-18.2 0-32.7 15.5-31.4 33.7l7.4 104c.9 12.5 11.4 22.3 23.9 22.3 12.6 0 23-9.7 23.9-22.3l7.4-104c1.3-18.2-13.1-33.7-31.4-33.7z`]},Nx={prefix:`fas`,iconName:`scissors`,icon:[512,512,[9984,9986,9988,`cut`],`f0c4`,`M192 256l-39.5 39.5c-12.6-4.9-26.2-7.5-40.5-7.5-61.9 0-112 50.1-112 112s50.1 112 112 112 112-50.1 112-112c0-14.3-2.7-27.9-7.5-40.5L499.2 76.8c7.1-7.1 7.1-18.5 0-25.6-28.3-28.3-74.1-28.3-102.4 0L256 192 216.5 152.5c4.9-12.6 7.5-26.2 7.5-40.5 0-61.9-50.1-112-112-112S0 50.1 0 112 50.1 224 112 224c14.3 0 27.9-2.7 40.5-7.5L192 256zm97.9 97.9L396.8 460.8c28.3 28.3 74.1 28.3 102.4 0 7.1-7.1 7.1-18.5 0-25.6l-145.3-145.3-64 64zM64 112a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm48 240a48 48 0 1 1 0 96 48 48 0 1 1 0-96z`]},Px={prefix:`fas`,iconName:`arrow-right-arrow-left`,icon:[512,512,[8644,`exchange`],`f0ec`,`M502.6 150.6l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L402.7 160 32 160c-17.7 0-32-14.3-32-32S14.3 96 32 96l370.7 0-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3zm-397.3 352l-96-96c-12.5-12.5-12.5-32.8 0-45.3l96-96c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L109.3 352 480 352c17.7 0 32 14.3 32 32s-14.3 32-32 32l-370.7 0 41.4 41.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0z`]},Fx={prefix:`fas`,iconName:`caret-up`,icon:[320,512,[],`f0d8`,`M140.3 135.2c12.6-10.3 31.1-9.5 42.8 2.2l128 128c9.2 9.2 11.9 22.9 6.9 34.9S301.4 320 288.5 320l-256 0c-12.9 0-24.6-7.8-29.6-19.8S.7 274.5 9.9 265.4l128-128 2.4-2.2z`]},Lre={prefix:`fas`,iconName:`down-left-and-up-right-to-center`,icon:[512,512,[`compress-alt`],`f422`,`M439.5 7c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2S450.2 240 440.5 240l-144 0c-13.3 0-24-10.7-24-24l0-144c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39 87-87zM72.5 272l144 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87-39-39c-6.9-6.9-8.9-17.2-5.2-26.2S62.8 272 72.5 272z`]},Ix={prefix:`fas`,iconName:`plus`,icon:[448,512,[10133,61543,`add`],`2b`,`M256 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 160-160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0 0 160c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160 160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0 0-160z`]},Lx={prefix:`fas`,iconName:`copy`,icon:[448,512,[],`f0c5`,`M192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-200.6c0-17.4-7.1-34.1-19.7-46.2L370.6 17.8C358.7 6.4 342.8 0 326.3 0L192 0zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-16-64 0 0 16-192 0 0-256 16 0 0-64-16 0z`]},Rx={prefix:`fas`,iconName:`arrow-rotate-right`,icon:[512,512,[8635,`arrow-right-rotate`,`arrow-rotate-forward`,`redo`],`f01e`,`M436.7 74.7L448 85.4 448 32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 128c0 17.7-14.3 32-32 32l-128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l47.9 0-7.6-7.2c-.2-.2-.4-.4-.6-.6-75-75-196.5-75-271.5 0s-75 196.5 0 271.5 196.5 75 271.5 0c8.2-8.2 15.5-16.9 21.9-26.1 10.1-14.5 30.1-18 44.6-7.9s18 30.1 7.9 44.6c-8.5 12.2-18.2 23.8-29.1 34.7-100 100-262.1 100-362 0S-25 175 75 75c99.9-99.9 261.7-100 361.7-.3z`]},zx={prefix:`fas`,iconName:`caret-down`,icon:[320,512,[],`f0d7`,`M140.3 376.8c12.6 10.2 31.1 9.5 42.8-2.2l128-128c9.2-9.2 11.9-22.9 6.9-34.9S301.4 192 288.5 192l-256 0c-12.9 0-24.6 7.8-29.6 19.8S.7 237.5 9.9 246.6l128 128 2.4 2.2z`]},Bx={prefix:`fas`,iconName:`arrow-rotate-left`,icon:[512,512,[8634,`arrow-left-rotate`,`arrow-rotate-back`,`arrow-rotate-backward`,`undo`],`f0e2`,`M256 64c-56.8 0-107.9 24.7-143.1 64l47.1 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 192c-17.7 0-32-14.3-32-32L0 32C0 14.3 14.3 0 32 0S64 14.3 64 32l0 54.7C110.9 33.6 179.5 0 256 0 397.4 0 512 114.6 512 256S397.4 512 256 512c-87 0-163.9-43.4-210.1-109.7-10.1-14.5-6.6-34.4 7.9-44.6s34.4-6.6 44.6 7.9c34.8 49.8 92.4 82.3 157.6 82.3 106 0 192-86 192-192S362 64 256 64z`]},Vx={prefix:`fas`,iconName:`square`,icon:[448,512,[9632,9723,9724,61590],`f0c8`,`M64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32z`]},Hx={prefix:`fas`,iconName:`arrow-down`,icon:[384,512,[8595],`f063`,`M169.4 502.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 402.7 224 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 370.7-105.4-105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z`]},Rre=e.Q(((e,t)=>{var n=function(e,t){var n,r,i=1,a=0,o=0,s=String.alphabet;function c(e,t,r){if(r){for(n=t;r=c(e,n),r<76&&r>65;)++n;return+e.slice(t-1,n)}return r=s&&s.indexOf(e.charAt(t)),r>-1?r+76:(r=e.charCodeAt(t)||0,r<45||r>127?r:r<46?65:r<48?r-1:r<58?r+18:r<65?r-11:r<91?r+11:r<97?r-37:r<123?r+5:r-63)}if((e+=``)!=(t+=``)){for(;i;)if(r=c(e,a++),i=c(t,o++),r<76&&i<76&&r>66&&i>66&&(r=c(e,a,a),i=c(t,o,a=n),o=n),r!=i)return r<i?-1:1}return 0};try{t.exports=n}catch{String.naturalCompare=n}})),zre=e.tt(Rre(),1),Ux=Number.isNaN||function(e){return typeof e==`number`&&e!==e};function Bre(e,t){return!!(e===t||Ux(e)&&Ux(t))}function Vre(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Bre(e[n],t[n]))return!1;return!0}function Wx(e,t){t===void 0&&(t=Vre);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var a=e.apply(this,r);return n={lastResult:a,lastArgs:r,lastThis:this},a}return r.clear=function(){n=null},r}e.Q((e=>{(function(e){"use strict";function t(e){return e!==null&&Object.prototype.toString.call(e)===`[object Array]`}function n(e){return e!==null&&Object.prototype.toString.call(e)===`[object Object]`}function r(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(t(e)===!0){if(e.length!==i.length)return!1;for(var a=0;a<e.length;a++)if(r(e[a],i[a])===!1)return!1;return!0}if(n(e)===!0){var o={};for(var s in e)if(hasOwnProperty.call(e,s)){if(r(e[s],i[s])===!1)return!1;o[s]=!0}for(var c in i)if(hasOwnProperty.call(i,c)&&o[c]!==!0)return!1;return!0}return!1}function i(e){if(e===``||e===!1||e===null||t(e)&&e.length===0)return!0;if(n(e)){for(var r in e)if(e.hasOwnProperty(r))return!1;return!0}return!1}function a(e){for(var t=Object.keys(e),n=[],r=0;r<t.length;r++)n.push(e[t[r]]);return n}var o=typeof String.prototype.trimLeft==`function`?function(e){return e.trimLeft()}:function(e){return e.match(/^\s*(.*)/)[1]},s=0,c=1,l=2,u=3,d=4,f=5,p=6,m=7,h=8,g=9,_={0:`number`,1:`any`,2:`string`,3:`array`,4:`object`,5:`boolean`,6:`expression`,7:`null`,8:`Array<number>`,9:`Array<string>`},v=`EOF`,y=`UnquotedIdentifier`,b=`QuotedIdentifier`,x=`Rbracket`,S=`Rparen`,C=`Comma`,w=`Colon`,T=`Rbrace`,E=`Number`,ee=`Current`,te=`Expref`,ne=`Pipe`,D=`Or`,re=`And`,ie=`EQ`,O=`GT`,ae=`LT`,oe=`GTE`,k=`LTE`,se=`NE`,ce=`Flatten`,le=`Star`,ue=`Filter`,de=`Dot`,fe=`Not`,pe=`Lbrace`,me=`Lbracket`,he=`Lparen`,ge=`Literal`,A={".":de,"*":le,",":C,":":w,"{":pe,"}":T,"]":x,"(":he,")":S,"@":ee},_e={"<":!0,">":!0,"=":!0,"!":!0},j={" ":!0," ":!0,"\n":!0};function ve(e){return e>=`a`&&e<=`z`||e>=`A`&&e<=`Z`||e===`_`}function ye(e){return e>=`0`&&e<=`9`||e===`-`}function be(e){return e>=`a`&&e<=`z`||e>=`A`&&e<=`Z`||e>=`0`&&e<=`9`||e===`_`}function M(){}M.prototype={tokenize:function(e){var t=[];this._current=0;for(var n,r,i;this._current<e.length;)if(ve(e[this._current]))n=this._current,r=this._consumeUnquotedIdentifier(e),t.push({type:y,value:r,start:n});else if(A[e[this._current]]!==void 0)t.push({type:A[e[this._current]],value:e[this._current],start:this._current}),this._current++;else if(ye(e[this._current]))i=this._consumeNumber(e),t.push(i);else if(e[this._current]===`[`)i=this._consumeLBracket(e),t.push(i);else if(e[this._current]===`"`)n=this._current,r=this._consumeQuotedIdentifier(e),t.push({type:b,value:r,start:n});else if(e[this._current]===`'`)n=this._current,r=this._consumeRawStringLiteral(e),t.push({type:ge,value:r,start:n});else if(e[this._current]==="`"){n=this._current;var a=this._consumeLiteral(e);t.push({type:ge,value:a,start:n})}else if(_e[e[this._current]]!==void 0)t.push(this._consumeOperator(e));else if(j[e[this._current]]!==void 0)this._current++;else if(e[this._current]===`&`)n=this._current,this._current++,e[this._current]===`&`?(this._current++,t.push({type:re,value:`&&`,start:n})):t.push({type:te,value:`&`,start:n});else if(e[this._current]===`|`)n=this._current,this._current++,e[this._current]===`|`?(this._current++,t.push({type:D,value:`||`,start:n})):t.push({type:ne,value:`|`,start:n});else{var o=Error(`Unknown character:`+e[this._current]);throw o.name=`LexerError`,o}return t},_consumeUnquotedIdentifier:function(e){var t=this._current;for(this._current++;this._current<e.length&&be(e[this._current]);)this._current++;return e.slice(t,this._current)},_consumeQuotedIdentifier:function(e){var t=this._current;this._current++;for(var n=e.length;e[this._current]!==`"`&&this._current<n;){var r=this._current;e[r]===`\\`&&(e[r+1]===`\\`||e[r+1]===`"`)?r+=2:r++,this._current=r}return this._current++,JSON.parse(e.slice(t,this._current))},_consumeRawStringLiteral:function(e){var t=this._current;this._current++;for(var n=e.length;e[this._current]!==`'`&&this._current<n;){var r=this._current;e[r]===`\\`&&(e[r+1]===`\\`||e[r+1]===`'`)?r+=2:r++,this._current=r}return this._current++,e.slice(t+1,this._current-1).replace(`\\'`,`'`)},_consumeNumber:function(e){var t=this._current;this._current++;for(var n=e.length;ye(e[this._current])&&this._current<n;)this._current++;return{type:E,value:parseInt(e.slice(t,this._current)),start:t}},_consumeLBracket:function(e){var t=this._current;return this._current++,e[this._current]===`?`?(this._current++,{type:ue,value:`[?`,start:t}):e[this._current]===`]`?(this._current++,{type:ce,value:`[]`,start:t}):{type:me,value:`[`,start:t}},_consumeOperator:function(e){var t=this._current,n=e[t];if(this._current++,n===`!`)return e[this._current]===`=`?(this._current++,{type:se,value:`!=`,start:t}):{type:fe,value:`!`,start:t};if(n===`<`)return e[this._current]===`=`?(this._current++,{type:k,value:`<=`,start:t}):{type:ae,value:`<`,start:t};if(n===`>`)return e[this._current]===`=`?(this._current++,{type:oe,value:`>=`,start:t}):{type:O,value:`>`,start:t};if(n===`=`&&e[this._current]===`=`)return this._current++,{type:ie,value:`==`,start:t}},_consumeLiteral:function(e){this._current++;for(var t=this._current,n=e.length,r;e[this._current]!=="`"&&this._current<n;){var i=this._current;e[i]===`\\`&&(e[i+1]===`\\`||e[i+1]==="`")?i+=2:i++,this._current=i}var a=o(e.slice(t,this._current));return a=a.replace("\\`","`"),r=this._looksLikeJSON(a)?JSON.parse(a):JSON.parse(`"`+a+`"`),this._current++,r},_looksLikeJSON:function(e){var t=`[{"`,n=[`true`,`false`,`null`],r=`-0123456789`;if(e===``)return!1;if(t.indexOf(e[0])>=0||n.indexOf(e)>=0)return!0;if(r.indexOf(e[0])>=0)try{return JSON.parse(e),!0}catch{return!1}return!1}};var N={};N[v]=0,N[y]=0,N[b]=0,N[x]=0,N[S]=0,N[C]=0,N[T]=0,N[E]=0,N[ee]=0,N[te]=0,N[ne]=1,N[D]=2,N[re]=3,N[ie]=5,N[O]=5,N[ae]=5,N[oe]=5,N[k]=5,N[se]=5,N[ce]=9,N[le]=20,N[ue]=21,N[de]=40,N[fe]=45,N[pe]=50,N[me]=55,N[he]=60;function xe(){}xe.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if(this._lookahead(0)!==v){var n=this._lookaheadToken(0),r=Error(`Unexpected token type: `+n.type+`, value: `+n.value);throw r.name=`ParserError`,r}return t},_loadTokens:function(e){var t=new M().tokenize(e);t.push({type:v,value:``,start:e.length}),this.tokens=t},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var n=this.nud(t),r=this._lookahead(0);e<N[r];)this._advance(),n=this.led(r,n),r=this._lookahead(0);return n},_lookahead:function(e){return this.tokens[this.index+e].type},_lookaheadToken:function(e){return this.tokens[this.index+e]},_advance:function(){this.index++},nud:function(e){var t,n,r;switch(e.type){case ge:return{type:`Literal`,value:e.value};case y:return{type:`Field`,name:e.value};case b:var i={type:`Field`,name:e.value};if(this._lookahead(0)===he)throw Error(`Quoted identifier not allowed for function names.`);return i;case fe:return n=this.expression(N.Not),{type:`NotExpression`,children:[n]};case le:return t={type:`Identity`},n=null,n=this._lookahead(0)===x?{type:`Identity`}:this._parseProjectionRHS(N.Star),{type:`ValueProjection`,children:[t,n]};case ue:return this.led(e.type,{type:`Identity`});case pe:return this._parseMultiselectHash();case ce:return t={type:ce,children:[{type:`Identity`}]},n=this._parseProjectionRHS(N.Flatten),{type:`Projection`,children:[t,n]};case me:return this._lookahead(0)===E||this._lookahead(0)===w?(n=this._parseIndexExpression(),this._projectIfSlice({type:`Identity`},n)):this._lookahead(0)===le&&this._lookahead(1)===x?(this._advance(),this._advance(),n=this._parseProjectionRHS(N.Star),{type:`Projection`,children:[{type:`Identity`},n]}):this._parseMultiselectList();case ee:return{type:ee};case te:return r=this.expression(N.Expref),{type:`ExpressionReference`,children:[r]};case he:for(var a=[];this._lookahead(0)!==S;)this._lookahead(0)===ee?(r={type:ee},this._advance()):r=this.expression(0),a.push(r);return this._match(S),a[0];default:this._errorToken(e)}},led:function(e,t){var n;switch(e){case de:var r=N.Dot;return this._lookahead(0)===le?(this._advance(),n=this._parseProjectionRHS(r),{type:`ValueProjection`,children:[t,n]}):(n=this._parseDotRHS(r),{type:`Subexpression`,children:[t,n]});case ne:return n=this.expression(N.Pipe),{type:ne,children:[t,n]};case D:return n=this.expression(N.Or),{type:`OrExpression`,children:[t,n]};case re:return n=this.expression(N.And),{type:`AndExpression`,children:[t,n]};case he:for(var i=t.name,a=[],o,s;this._lookahead(0)!==S;)this._lookahead(0)===ee?(o={type:ee},this._advance()):o=this.expression(0),this._lookahead(0)===C&&this._match(C),a.push(o);return this._match(S),s={type:`Function`,name:i,children:a},s;case ue:var c=this.expression(0);return this._match(x),n=this._lookahead(0)===ce?{type:`Identity`}:this._parseProjectionRHS(N.Filter),{type:`FilterProjection`,children:[t,n,c]};case ce:return{type:`Projection`,children:[{type:ce,children:[t]},this._parseProjectionRHS(N.Flatten)]};case ie:case se:case O:case oe:case ae:case k:return this._parseComparator(t,e);case me:var l=this._lookaheadToken(0);return l.type===E||l.type===w?(n=this._parseIndexExpression(),this._projectIfSlice(t,n)):(this._match(le),this._match(x),n=this._parseProjectionRHS(N.Star),{type:`Projection`,children:[t,n]});default:this._errorToken(this._lookaheadToken(0))}},_match:function(e){if(this._lookahead(0)===e)this._advance();else{var t=this._lookaheadToken(0),n=Error(`Expected `+e+`, got: `+t.type);throw n.name=`ParserError`,n}},_errorToken:function(e){var t=Error(`Invalid token (`+e.type+`): "`+e.value+`"`);throw t.name=`ParserError`,t},_parseIndexExpression:function(){if(this._lookahead(0)===w||this._lookahead(1)===w)return this._parseSliceExpression();var e={type:`Index`,value:this._lookaheadToken(0).value};return this._advance(),this._match(x),e},_projectIfSlice:function(e,t){var n={type:`IndexExpression`,children:[e,t]};return t.type===`Slice`?{type:`Projection`,children:[n,this._parseProjectionRHS(N.Star)]}:n},_parseSliceExpression:function(){for(var e=[null,null,null],t=0,n=this._lookahead(0);n!==x&&t<3;){if(n===w)t++,this._advance();else if(n===E)e[t]=this._lookaheadToken(0).value,this._advance();else{var r=this._lookahead(0),i=Error(`Syntax error, unexpected token: `+r.value+`(`+r.type+`)`);throw i.name=`Parsererror`,i}n=this._lookahead(0)}return this._match(x),{type:`Slice`,children:e}},_parseComparator:function(e,t){return{type:`Comparator`,name:t,children:[e,this.expression(N[t])]}},_parseDotRHS:function(e){var t=this._lookahead(0);if([y,b,le].indexOf(t)>=0)return this.expression(e);if(t===me)return this._match(me),this._parseMultiselectList();if(t===pe)return this._match(pe),this._parseMultiselectHash()},_parseProjectionRHS:function(e){var t;if(N[this._lookahead(0)]<10)t={type:`Identity`};else if(this._lookahead(0)===me)t=this.expression(e);else if(this._lookahead(0)===ue)t=this.expression(e);else if(this._lookahead(0)===de)this._match(de),t=this._parseDotRHS(e);else{var n=this._lookaheadToken(0),r=Error(`Sytanx error, unexpected token: `+n.value+`(`+n.type+`)`);throw r.name=`ParserError`,r}return t},_parseMultiselectList:function(){for(var e=[];this._lookahead(0)!==x;){var t=this.expression(0);if(e.push(t),this._lookahead(0)===C&&(this._match(C),this._lookahead(0)===x))throw Error(`Unexpected token Rbracket`)}return this._match(x),{type:`MultiSelectList`,children:e}},_parseMultiselectHash:function(){for(var e=[],t=[y,b],n,r,i,a;;){if(n=this._lookaheadToken(0),t.indexOf(n.type)<0)throw Error(`Expecting an identifier token, got: `+n.type);if(r=n.value,this._advance(),this._match(w),i=this.expression(0),a={type:`KeyValuePair`,name:r,value:i},e.push(a),this._lookahead(0)===C)this._match(C);else if(this._lookahead(0)===T){this._match(T);break}}return{type:`MultiSelectHash`,children:e}}};function Se(e){this.runtime=e}Se.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,o){var s,c,l,u,d,f,p,m,h,g;switch(e.type){case`Field`:return o!==null&&n(o)?(f=o[e.name],f===void 0?null:f):null;case`Subexpression`:for(l=this.visit(e.children[0],o),g=1;g<e.children.length;g++)if(l=this.visit(e.children[1],l),l===null)return null;return l;case`IndexExpression`:return p=this.visit(e.children[0],o),m=this.visit(e.children[1],p),m;case`Index`:if(!t(o))return null;var _=e.value;return _<0&&(_=o.length+_),l=o[_],l===void 0&&(l=null),l;case`Slice`:if(!t(o))return null;var v=e.children.slice(0),y=this.computeSliceParams(o.length,v),b=y[0],x=y[1],S=y[2];if(l=[],S>0)for(g=b;g<x;g+=S)l.push(o[g]);else for(g=b;g>x;g+=S)l.push(o[g]);return l;case`Projection`:var C=this.visit(e.children[0],o);if(!t(C))return null;for(h=[],g=0;g<C.length;g++)c=this.visit(e.children[1],C[g]),c!==null&&h.push(c);return h;case`ValueProjection`:if(C=this.visit(e.children[0],o),!n(C))return null;h=[];var w=a(C);for(g=0;g<w.length;g++)c=this.visit(e.children[1],w[g]),c!==null&&h.push(c);return h;case`FilterProjection`:if(C=this.visit(e.children[0],o),!t(C))return null;var T=[],E=[];for(g=0;g<C.length;g++)s=this.visit(e.children[2],C[g]),i(s)||T.push(C[g]);for(var D=0;D<T.length;D++)c=this.visit(e.children[1],T[D]),c!==null&&E.push(c);return E;case`Comparator`:switch(u=this.visit(e.children[0],o),d=this.visit(e.children[1],o),e.name){case ie:l=r(u,d);break;case se:l=!r(u,d);break;case O:l=u>d;break;case oe:l=u>=d;break;case ae:l=u<d;break;case k:l=u<=d;break;default:throw Error(`Unknown comparator: `+e.name)}return l;case ce:var re=this.visit(e.children[0],o);if(!t(re))return null;var le=[];for(g=0;g<re.length;g++)c=re[g],t(c)?le.push.apply(le,c):le.push(c);return le;case`Identity`:return o;case`MultiSelectList`:if(o===null)return null;for(h=[],g=0;g<e.children.length;g++)h.push(this.visit(e.children[g],o));return h;case`MultiSelectHash`:if(o===null)return null;h={};var ue;for(g=0;g<e.children.length;g++)ue=e.children[g],h[ue.name]=this.visit(ue.value,o);return h;case`OrExpression`:return s=this.visit(e.children[0],o),i(s)&&(s=this.visit(e.children[1],o)),s;case`AndExpression`:return u=this.visit(e.children[0],o),i(u)===!0?u:this.visit(e.children[1],o);case`NotExpression`:return u=this.visit(e.children[0],o),i(u);case`Literal`:return e.value;case ne:return p=this.visit(e.children[0],o),this.visit(e.children[1],p);case ee:return o;case`Function`:var de=[];for(g=0;g<e.children.length;g++)de.push(this.visit(e.children[g],o));return this.runtime.callFunction(e.name,de);case`ExpressionReference`:var fe=e.children[0];return fe.jmespathType=te,fe;default:throw Error(`Unknown node type: `+e.type)}},computeSliceParams:function(e,t){var n=t[0],r=t[1],i=t[2],a=[null,null,null];if(i===null)i=1;else if(i===0){var o=Error(`Invalid slice, step cannot be 0`);throw o.name=`RuntimeError`,o}var s=i<0;return n=n===null?s?e-1:0:this.capSliceRange(e,n,i),r=r===null?s?-1:e:this.capSliceRange(e,r,i),a[0]=n,a[1]=r,a[2]=i,a},capSliceRange:function(e,t,n){return t<0?(t+=e,t<0&&(t=n<0?-1:0)):t>=e&&(t=n<0?e-1:e),t}};function Ce(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[s]}]},avg:{_func:this._functionAvg,_signature:[{types:[h]}]},ceil:{_func:this._functionCeil,_signature:[{types:[s]}]},contains:{_func:this._functionContains,_signature:[{types:[l,u]},{types:[c]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[l]},{types:[l]}]},floor:{_func:this._functionFloor,_signature:[{types:[s]}]},length:{_func:this._functionLength,_signature:[{types:[l,u,d]}]},map:{_func:this._functionMap,_signature:[{types:[p]},{types:[u]}]},max:{_func:this._functionMax,_signature:[{types:[h,g]}]},merge:{_func:this._functionMerge,_signature:[{types:[d],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[u]},{types:[p]}]},sum:{_func:this._functionSum,_signature:[{types:[h]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[l]},{types:[l]}]},min:{_func:this._functionMin,_signature:[{types:[h,g]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[u]},{types:[p]}]},type:{_func:this._functionType,_signature:[{types:[c]}]},keys:{_func:this._functionKeys,_signature:[{types:[d]}]},values:{_func:this._functionValues,_signature:[{types:[d]}]},sort:{_func:this._functionSort,_signature:[{types:[g,h]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[u]},{types:[p]}]},join:{_func:this._functionJoin,_signature:[{types:[l]},{types:[g]}]},reverse:{_func:this._functionReverse,_signature:[{types:[l,u]}]},to_array:{_func:this._functionToArray,_signature:[{types:[c]}]},to_string:{_func:this._functionToString,_signature:[{types:[c]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[c]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[c],variadic:!0}]}}}Ce.prototype={callFunction:function(e,t){var n=this.functionTable[e];if(n===void 0)throw Error(`Unknown function: `+e+`()`);return this._validateArgs(e,t,n._signature),n._func.call(this,t)},_validateArgs:function(e,t,n){var r;if(n[n.length-1].variadic){if(t.length<n.length)throw r=n.length===1?` argument`:` arguments`,Error(`ArgumentError: `+e+`() takes at least`+n.length+r+` but received `+t.length)}else if(t.length!==n.length)throw r=n.length===1?` argument`:` arguments`,Error(`ArgumentError: `+e+`() takes `+n.length+r+` but received `+t.length);for(var i,a,o,s=0;s<n.length;s++){o=!1,i=n[s].types,a=this._getTypeName(t[s]);for(var c=0;c<i.length;c++)if(this._typeMatches(a,i[c],t[s])){o=!0;break}if(!o){var l=i.map(function(e){return _[e]}).join(`,`);throw Error(`TypeError: `+e+`() expected argument `+(s+1)+` to be type `+l+` but received type `+_[a]+` instead.`)}}},_typeMatches:function(e,t,n){if(t===c)return!0;if(t===g||t===h||t===u){if(t===u)return e===u;if(e===u){var r;t===h?r=s:t===g&&(r=l);for(var i=0;i<n.length;i++)if(!this._typeMatches(this._getTypeName(n[i]),r,n[i]))return!1;return!0}}else return e===t},_getTypeName:function(e){switch(Object.prototype.toString.call(e)){case`[object String]`:return l;case`[object Number]`:return s;case`[object Array]`:return u;case`[object Boolean]`:return f;case`[object Null]`:return m;case`[object Object]`:return e.jmespathType===te?p:d}},_functionStartsWith:function(e){return e[0].lastIndexOf(e[1])===0},_functionEndsWith:function(e){var t=e[0],n=e[1];return t.indexOf(n,t.length-n.length)!==-1},_functionReverse:function(e){if(this._getTypeName(e[0])===l){for(var t=e[0],n=``,r=t.length-1;r>=0;r--)n+=t[r];return n}var i=e[0].slice(0);return i.reverse(),i},_functionAbs:function(e){return Math.abs(e[0])},_functionCeil:function(e){return Math.ceil(e[0])},_functionAvg:function(e){for(var t=0,n=e[0],r=0;r<n.length;r++)t+=n[r];return t/n.length},_functionContains:function(e){return e[0].indexOf(e[1])>=0},_functionFloor:function(e){return Math.floor(e[0])},_functionLength:function(e){return n(e[0])?Object.keys(e[0]).length:e[0].length},_functionMap:function(e){for(var t=[],n=this._interpreter,r=e[0],i=e[1],a=0;a<i.length;a++)t.push(n.visit(r,i[a]));return t},_functionMerge:function(e){for(var t={},n=0;n<e.length;n++){var r=e[n];for(var i in r)t[i]=r[i]}return t},_functionMax:function(e){if(e[0].length>0){if(this._getTypeName(e[0][0])===s)return Math.max.apply(Math,e[0]);for(var t=e[0],n=t[0],r=1;r<t.length;r++)n.localeCompare(t[r])<0&&(n=t[r]);return n}return null},_functionMin:function(e){if(e[0].length>0){if(this._getTypeName(e[0][0])===s)return Math.min.apply(Math,e[0]);for(var t=e[0],n=t[0],r=1;r<t.length;r++)t[r].localeCompare(n)<0&&(n=t[r]);return n}return null},_functionSum:function(e){for(var t=0,n=e[0],r=0;r<n.length;r++)t+=n[r];return t},_functionType:function(e){switch(this._getTypeName(e[0])){case s:return`number`;case l:return`string`;case u:return`array`;case d:return`object`;case f:return`boolean`;case p:return`expref`;case m:return`null`}},_functionKeys:function(e){return Object.keys(e[0])},_functionValues:function(e){for(var t=e[0],n=Object.keys(t),r=[],i=0;i<n.length;i++)r.push(t[n[i]]);return r},_functionJoin:function(e){var t=e[0];return e[1].join(t)},_functionToArray:function(e){return this._getTypeName(e[0])===u?e[0]:[e[0]]},_functionToString:function(e){return this._getTypeName(e[0])===l?e[0]:JSON.stringify(e[0])},_functionToNumber:function(e){var t=this._getTypeName(e[0]),n;return t===s?e[0]:t===l&&(n=+e[0],!isNaN(n))?n:null},_functionNotNull:function(e){for(var t=0;t<e.length;t++)if(this._getTypeName(e[t])!==m)return e[t];return null},_functionSort:function(e){var t=e[0].slice(0);return t.sort(),t},_functionSortBy:function(e){var t=e[0].slice(0);if(t.length===0)return t;var n=this._interpreter,r=e[1],i=this._getTypeName(n.visit(r,t[0]));if([s,l].indexOf(i)<0)throw Error(`TypeError`);for(var a=this,o=[],c=0;c<t.length;c++)o.push([c,t[c]]);o.sort(function(e,t){var o=n.visit(r,e[1]),s=n.visit(r,t[1]);if(a._getTypeName(o)!==i)throw Error(`TypeError: expected `+i+`, received `+a._getTypeName(o));if(a._getTypeName(s)!==i)throw Error(`TypeError: expected `+i+`, received `+a._getTypeName(s));return o>s?1:o<s?-1:e[0]-t[0]});for(var u=0;u<o.length;u++)t[u]=o[u][1];return t},_functionMaxBy:function(e){for(var t=e[1],n=e[0],r=this.createKeyFunction(t,[s,l]),i=-1/0,a,o,c=0;c<n.length;c++)o=r(n[c]),o>i&&(i=o,a=n[c]);return a},_functionMinBy:function(e){for(var t=e[1],n=e[0],r=this.createKeyFunction(t,[s,l]),i=1/0,a,o,c=0;c<n.length;c++)o=r(n[c]),o<i&&(i=o,a=n[c]);return a},createKeyFunction:function(e,t){var n=this,r=this._interpreter;return function(i){var a=r.visit(e,i);if(t.indexOf(n._getTypeName(a))<0){var o=`TypeError: expected one of `+t+`, received `+n._getTypeName(a);throw Error(o)}return a}}};function we(e){return new xe().parse(e)}function Te(e){return new M().tokenize(e)}function Ee(e,t){var n=new xe,r=new Ce,i=new Se(r);r._interpreter=i;var a=n.parse(t);return i.search(a,e)}e.tokenize=Te,e.compile=we,e.search=Ee,e.strictDeepEqual=r})(e===void 0?e.jmespath={}:e)}))();var Hre=class{add(e,t,n){if(typeof arguments[0]!=`string`)for(let e in arguments[0])this.add(e,arguments[0][e],arguments[1]);else(Array.isArray(e)?e:[e]).forEach(function(e){this[e]=this[e]||[],t&&this[e][n?`unshift`:`push`](t)},this)}run(e,t){this[e]=this[e]||[],this[e].forEach(function(e){e.call(t&&t.context?t.context:t,t)})}},Ure=class{constructor(e){this.jsep=e,this.registered={}}register(){[...arguments].forEach(e=>{if(typeof e!=`object`||!e.name||!e.init)throw Error(`Invalid JSEP plugin format`);this.registered[e.name]||(e.init(this.jsep),this.registered[e.name]=e)})}},Gx=class e{static get version(){return`1.4.0`}static toString(){return`JavaScript Expression Parser (JSEP) v`+e.version}static addUnaryOp(t){return e.max_unop_len=Math.max(t.length,e.max_unop_len),e.unary_ops[t]=1,e}static addBinaryOp(t,n,r){return e.max_binop_len=Math.max(t.length,e.max_binop_len),e.binary_ops[t]=n,r?e.right_associative.add(t):e.right_associative.delete(t),e}static addIdentifierChar(t){return e.additional_identifier_chars.add(t),e}static addLiteral(t,n){return e.literals[t]=n,e}static removeUnaryOp(t){return delete e.unary_ops[t],t.length===e.max_unop_len&&(e.max_unop_len=e.getMaxKeyLen(e.unary_ops)),e}static removeAllUnaryOps(){return e.unary_ops={},e.max_unop_len=0,e}static removeIdentifierChar(t){return e.additional_identifier_chars.delete(t),e}static removeBinaryOp(t){return delete e.binary_ops[t],t.length===e.max_binop_len&&(e.max_binop_len=e.getMaxKeyLen(e.binary_ops)),e.right_associative.delete(t),e}static removeAllBinaryOps(){return e.binary_ops={},e.max_binop_len=0,e}static removeLiteral(t){return delete e.literals[t],e}static removeAllLiterals(){return e.literals={},e}get char(){return this.expr.charAt(this.index)}get code(){return this.expr.charCodeAt(this.index)}constructor(e){this.expr=e,this.index=0}static parse(t){return new e(t).parse()}static getMaxKeyLen(e){return Math.max(0,...Object.keys(e).map(e=>e.length))}static isDecimalDigit(e){return e>=48&&e<=57}static binaryPrecedence(t){return e.binary_ops[t]||0}static isIdentifierStart(t){return t>=65&&t<=90||t>=97&&t<=122||t>=128&&!e.binary_ops[String.fromCharCode(t)]||e.additional_identifier_chars.has(String.fromCharCode(t))}static isIdentifierPart(t){return e.isIdentifierStart(t)||e.isDecimalDigit(t)}throwError(e){let t=Error(e+` at character `+this.index);throw t.index=this.index,t.description=e,t}runHook(t,n){if(e.hooks[t]){let r={context:this,node:n};return e.hooks.run(t,r),r.node}return n}searchHook(t){if(e.hooks[t]){let n={context:this};return e.hooks[t].find(function(e){return e.call(n.context,n),n.node}),n.node}}gobbleSpaces(){let t=this.code;for(;t===e.SPACE_CODE||t===e.TAB_CODE||t===e.LF_CODE||t===e.CR_CODE;)t=this.expr.charCodeAt(++this.index);this.runHook(`gobble-spaces`)}parse(){this.runHook(`before-all`);let t=this.gobbleExpressions(),n=t.length===1?t[0]:{type:e.COMPOUND,body:t};return this.runHook(`after-all`,n)}gobbleExpressions(t){let n=[],r,i;for(;this.index<this.expr.length;)if(r=this.code,r===e.SEMCOL_CODE||r===e.COMMA_CODE)this.index++;else if(i=this.gobbleExpression())n.push(i);else if(this.index<this.expr.length){if(r===t)break;this.throwError(`Unexpected "`+this.char+`"`)}return n}gobbleExpression(){let e=this.searchHook(`gobble-expression`)||this.gobbleBinaryExpression();return this.gobbleSpaces(),this.runHook(`after-expression`,e)}gobbleBinaryOp(){this.gobbleSpaces();let t=this.expr.substr(this.index,e.max_binop_len),n=t.length;for(;n>0;){if(e.binary_ops.hasOwnProperty(t)&&(!e.isIdentifierStart(this.code)||this.index+t.length<this.expr.length&&!e.isIdentifierPart(this.expr.charCodeAt(this.index+t.length))))return this.index+=n,t;t=t.substr(0,--n)}return!1}gobbleBinaryExpression(){let t,n,r,i,a,o,s,c,l;if(o=this.gobbleToken(),!o||(n=this.gobbleBinaryOp(),!n))return o;for(a={value:n,prec:e.binaryPrecedence(n),right_a:e.right_associative.has(n)},s=this.gobbleToken(),s||this.throwError(`Expected expression after `+n),i=[o,a,s];n=this.gobbleBinaryOp();){if(r=e.binaryPrecedence(n),r===0){this.index-=n.length;break}a={value:n,prec:r,right_a:e.right_associative.has(n)},l=n;let c=e=>a.right_a&&e.right_a?r>e.prec:r<=e.prec;for(;i.length>2&&c(i[i.length-2]);)s=i.pop(),n=i.pop().value,o=i.pop(),t={type:e.BINARY_EXP,operator:n,left:o,right:s},i.push(t);t=this.gobbleToken(),t||this.throwError(`Expected expression after `+l),i.push(a,t)}for(c=i.length-1,t=i[c];c>1;)t={type:e.BINARY_EXP,operator:i[c-1].value,left:i[c-2],right:t},c-=2;return t}gobbleToken(){let t,n,r,i;if(this.gobbleSpaces(),i=this.searchHook(`gobble-token`),i)return this.runHook(`after-token`,i);if(t=this.code,e.isDecimalDigit(t)||t===e.PERIOD_CODE)return this.gobbleNumericLiteral();if(t===e.SQUOTE_CODE||t===e.DQUOTE_CODE)i=this.gobbleStringLiteral();else if(t===e.OBRACK_CODE)i=this.gobbleArray();else{for(n=this.expr.substr(this.index,e.max_unop_len),r=n.length;r>0;){if(e.unary_ops.hasOwnProperty(n)&&(!e.isIdentifierStart(this.code)||this.index+n.length<this.expr.length&&!e.isIdentifierPart(this.expr.charCodeAt(this.index+n.length)))){this.index+=r;let t=this.gobbleToken();return t||this.throwError(`missing unaryOp argument`),this.runHook(`after-token`,{type:e.UNARY_EXP,operator:n,argument:t,prefix:!0})}n=n.substr(0,--r)}e.isIdentifierStart(t)?(i=this.gobbleIdentifier(),e.literals.hasOwnProperty(i.name)?i={type:e.LITERAL,value:e.literals[i.name],raw:i.name}:i.name===e.this_str&&(i={type:e.THIS_EXP})):t===e.OPAREN_CODE&&(i=this.gobbleGroup())}return i?(i=this.gobbleTokenProperty(i),this.runHook(`after-token`,i)):this.runHook(`after-token`,!1)}gobbleTokenProperty(t){this.gobbleSpaces();let n=this.code;for(;n===e.PERIOD_CODE||n===e.OBRACK_CODE||n===e.OPAREN_CODE||n===e.QUMARK_CODE;){let r;if(n===e.QUMARK_CODE){if(this.expr.charCodeAt(this.index+1)!==e.PERIOD_CODE)break;r=!0,this.index+=2,this.gobbleSpaces(),n=this.code}this.index++,n===e.OBRACK_CODE?(t={type:e.MEMBER_EXP,computed:!0,object:t,property:this.gobbleExpression()},t.property||this.throwError(`Unexpected "`+this.char+`"`),this.gobbleSpaces(),n=this.code,n!==e.CBRACK_CODE&&this.throwError(`Unclosed [`),this.index++):n===e.OPAREN_CODE?t={type:e.CALL_EXP,arguments:this.gobbleArguments(e.CPAREN_CODE),callee:t}:(n===e.PERIOD_CODE||r)&&(r&&this.index--,this.gobbleSpaces(),t={type:e.MEMBER_EXP,computed:!1,object:t,property:this.gobbleIdentifier()}),r&&(t.optional=!0),this.gobbleSpaces(),n=this.code}return t}gobbleNumericLiteral(){let t=``,n,r;for(;e.isDecimalDigit(this.code);)t+=this.expr.charAt(this.index++);if(this.code===e.PERIOD_CODE)for(t+=this.expr.charAt(this.index++);e.isDecimalDigit(this.code);)t+=this.expr.charAt(this.index++);if(n=this.char,n===`e`||n===`E`){for(t+=this.expr.charAt(this.index++),n=this.char,(n===`+`||n===`-`)&&(t+=this.expr.charAt(this.index++));e.isDecimalDigit(this.code);)t+=this.expr.charAt(this.index++);e.isDecimalDigit(this.expr.charCodeAt(this.index-1))||this.throwError(`Expected exponent (`+t+this.char+`)`)}return r=this.code,e.isIdentifierStart(r)?this.throwError(`Variable names cannot start with a number (`+t+this.char+`)`):(r===e.PERIOD_CODE||t.length===1&&t.charCodeAt(0)===e.PERIOD_CODE)&&this.throwError(`Unexpected period`),{type:e.LITERAL,value:parseFloat(t),raw:t}}gobbleStringLiteral(){let t=``,n=this.index,r=this.expr.charAt(this.index++),i=!1;for(;this.index<this.expr.length;){let e=this.expr.charAt(this.index++);if(e===r){i=!0;break}if(e===`\\`)switch(e=this.expr.charAt(this.index++),e){case`n`:t+=`
52
52
  `;break;case`r`:t+=`\r`;break;case`t`:t+=` `;break;case`b`:t+=`\b`;break;case`f`:t+=`\f`;break;case`v`:t+=`\v`;break;default:t+=e}else t+=e}return i||this.throwError(`Unclosed quote after "`+t+`"`),{type:e.LITERAL,value:t,raw:this.expr.substring(n,this.index)}}gobbleIdentifier(){let t=this.code,n=this.index;for(e.isIdentifierStart(t)?this.index++:this.throwError(`Unexpected `+this.char);this.index<this.expr.length&&(t=this.code,e.isIdentifierPart(t));)this.index++;return{type:e.IDENTIFIER,name:this.expr.slice(n,this.index)}}gobbleArguments(t){let n=[],r=!1,i=0;for(;this.index<this.expr.length;){this.gobbleSpaces();let a=this.code;if(a===t){r=!0,this.index++,t===e.CPAREN_CODE&&i&&i>=n.length&&this.throwError(`Unexpected token `+String.fromCharCode(t));break}if(a===e.COMMA_CODE){if(this.index++,i++,i!==n.length){if(t===e.CPAREN_CODE)this.throwError(`Unexpected token ,`);else if(t===e.CBRACK_CODE)for(let e=n.length;e<i;e++)n.push(null)}}else if(n.length!==i&&i!==0)this.throwError(`Expected comma`);else{let t=this.gobbleExpression();(!t||t.type===e.COMPOUND)&&this.throwError(`Expected comma`),n.push(t)}}return r||this.throwError(`Expected `+String.fromCharCode(t)),n}gobbleGroup(){this.index++;let t=this.gobbleExpressions(e.CPAREN_CODE);if(this.code===e.CPAREN_CODE)return this.index++,t.length===1?t[0]:t.length?{type:e.SEQUENCE_EXP,expressions:t}:!1;this.throwError(`Unclosed (`)}gobbleArray(){return this.index++,{type:e.ARRAY_EXP,elements:this.gobbleArguments(e.CBRACK_CODE)}}},Wre=new Hre;Object.assign(Gx,{hooks:Wre,plugins:new Ure(Gx),COMPOUND:`Compound`,SEQUENCE_EXP:`SequenceExpression`,IDENTIFIER:`Identifier`,MEMBER_EXP:`MemberExpression`,LITERAL:`Literal`,THIS_EXP:`ThisExpression`,CALL_EXP:`CallExpression`,UNARY_EXP:`UnaryExpression`,BINARY_EXP:`BinaryExpression`,ARRAY_EXP:`ArrayExpression`,TAB_CODE:9,LF_CODE:10,CR_CODE:13,SPACE_CODE:32,PERIOD_CODE:46,COMMA_CODE:44,SQUOTE_CODE:39,DQUOTE_CODE:34,OPAREN_CODE:40,CPAREN_CODE:41,OBRACK_CODE:91,CBRACK_CODE:93,QUMARK_CODE:63,SEMCOL_CODE:59,COLON_CODE:58,unary_ops:{"-":1,"!":1,"~":1,"+":1},binary_ops:{"||":1,"??":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":10,"/":10,"%":10,"**":11},right_associative:new Set([`**`]),additional_identifier_chars:new Set([`$`,`_`]),literals:{true:!0,false:!1,null:null},this_str:`this`}),Gx.max_unop_len=Gx.getMaxKeyLen(Gx.unary_ops),Gx.max_binop_len=Gx.getMaxKeyLen(Gx.binary_ops);var Kx=e=>new Gx(e).parse(),Gre=Object.getOwnPropertyNames(class{});Object.getOwnPropertyNames(Gx).filter(e=>!Gre.includes(e)&&Kx[e]===void 0).forEach(e=>{Kx[e]=Gx[e]}),Kx.Jsep=Gx;var Kre=`ConditionalExpression`;Kx.plugins.register({name:`ternary`,init(e){e.hooks.add(`after-expression`,function(t){if(t.node&&this.code===e.QUMARK_CODE){this.index++;let n=t.node,r=this.gobbleExpression();if(r||this.throwError(`Expected expression`),this.gobbleSpaces(),this.code===e.COLON_CODE){this.index++;let i=this.gobbleExpression();if(i||this.throwError(`Expected expression`),t.node={type:Kre,test:n,consequent:r,alternate:i},n.operator&&e.binary_ops[n.operator]<=.9){let r=n;for(;r.right.operator&&e.binary_ops[r.right.operator]<=.9;)r=r.right;t.node.test=r.right,r.right=t.node,t.node=n}}else this.throwError(`Expected :`)}})}});var qx=47,qre=92,Jre={name:`regex`,init(e){e.hooks.add(`gobble-token`,function(t){if(this.code===qx){let n=++this.index,r=!1;for(;this.index<this.expr.length;){if(this.code===qx&&!r){let r=this.expr.slice(n,this.index),i=``;for(;++this.index<this.expr.length;){let e=this.code;if(e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57)i+=this.char;else break}let a;try{a=new RegExp(r,i)}catch(e){this.throwError(e.message)}return t.node={type:e.LITERAL,value:a,raw:this.expr.slice(n-1,this.index)},t.node=this.gobbleTokenProperty(t.node),t.node}this.code===e.OBRACK_CODE?r=!0:r&&this.code===e.CBRACK_CODE&&(r=!1),this.index+=this.code===qre?2:1}this.throwError(`Unclosed Regex`)}})}},Jx=43,Yx={name:`assignment`,assignmentOperators:new Set([`=`,`*=`,`**=`,`/=`,`%=`,`+=`,`-=`,`<<=`,`>>=`,`>>>=`,`&=`,`^=`,`|=`,`||=`,`&&=`,`??=`]),updateOperators:[Jx,45],assignmentPrecedence:.9,init(e){let t=[e.IDENTIFIER,e.MEMBER_EXP];Yx.assignmentOperators.forEach(t=>e.addBinaryOp(t,Yx.assignmentPrecedence,!0)),e.hooks.add(`gobble-token`,function(e){let n=this.code;Yx.updateOperators.some(e=>e===n&&e===this.expr.charCodeAt(this.index+1))&&(this.index+=2,e.node={type:`UpdateExpression`,operator:n===Jx?`++`:`--`,argument:this.gobbleTokenProperty(this.gobbleIdentifier()),prefix:!0},(!e.node.argument||!t.includes(e.node.argument.type))&&this.throwError(`Unexpected ${e.node.operator}`))}),e.hooks.add(`after-token`,function(e){if(e.node){let n=this.code;Yx.updateOperators.some(e=>e===n&&e===this.expr.charCodeAt(this.index+1))&&(t.includes(e.node.type)||this.throwError(`Unexpected ${e.node.operator}`),this.index+=2,e.node={type:`UpdateExpression`,operator:n===Jx?`++`:`--`,argument:e.node,prefix:!1})}}),e.hooks.add(`after-expression`,function(e){e.node&&n(e.node)});function n(e){Yx.assignmentOperators.has(e.operator)?(e.type=`AssignmentExpression`,n(e.left),n(e.right)):e.operator||Object.values(e).forEach(e=>{e&&typeof e==`object`&&n(e)})}}};Kx.plugins.register(Jre,Yx),Kx.addUnaryOp(`typeof`),Kx.addUnaryOp(`void`),Kx.addLiteral(`null`,null),Kx.addLiteral(`undefined`,void 0);var Yre=new Set([`constructor`,`__proto__`,`__defineGetter__`,`__defineSetter__`,`__lookupGetter__`,`__lookupSetter__`]),Xx={evalAst(e,t){switch(e.type){case`BinaryExpression`:case`LogicalExpression`:return Xx.evalBinaryExpression(e,t);case`Compound`:return Xx.evalCompound(e,t);case`ConditionalExpression`:return Xx.evalConditionalExpression(e,t);case`Identifier`:return Xx.evalIdentifier(e,t);case`Literal`:return Xx.evalLiteral(e,t);case`MemberExpression`:return Xx.evalMemberExpression(e,t);case`UnaryExpression`:return Xx.evalUnaryExpression(e,t);case`ArrayExpression`:return Xx.evalArrayExpression(e,t);case`CallExpression`:return Xx.evalCallExpression(e,t);case`AssignmentExpression`:return Xx.evalAssignmentExpression(e,t);default:throw SyntaxError(`Unexpected expression`,e)}},evalBinaryExpression(e,t){return{"||":(e,t)=>e||t(),"&&":(e,t)=>e&&t(),"|":(e,t)=>e|t(),"^":(e,t)=>e^t(),"&":(e,t)=>e&t(),"==":(e,t)=>e==t(),"!=":(e,t)=>e!=t(),"===":(e,t)=>e===t(),"!==":(e,t)=>e!==t(),"<":(e,t)=>e<t(),">":(e,t)=>e>t(),"<=":(e,t)=>e<=t(),">=":(e,t)=>e>=t(),"<<":(e,t)=>e<<t(),">>":(e,t)=>e>>t(),">>>":(e,t)=>e>>>t(),"+":(e,t)=>e+t(),"-":(e,t)=>e-t(),"*":(e,t)=>e*t(),"/":(e,t)=>e/t(),"%":(e,t)=>e%t()}[e.operator](Xx.evalAst(e.left,t),()=>Xx.evalAst(e.right,t))},evalCompound(e,t){let n;for(let r=0;r<e.body.length;r++){e.body[r].type===`Identifier`&&[`var`,`let`,`const`].includes(e.body[r].name)&&e.body[r+1]&&e.body[r+1].type===`AssignmentExpression`&&(r+=1);let i=e.body[r];n=Xx.evalAst(i,t)}return n},evalConditionalExpression(e,t){return Xx.evalAst(e.test,t)?Xx.evalAst(e.consequent,t):Xx.evalAst(e.alternate,t)},evalIdentifier(e,t){if(Object.hasOwn(t,e.name))return t[e.name];throw ReferenceError(`${e.name} is not defined`)},evalLiteral(e){return e.value},evalMemberExpression(e,t){let n=String(e.computed?Xx.evalAst(e.property):e.property.name),r=Xx.evalAst(e.object,t);if(r==null||!Object.hasOwn(r,n)&&Yre.has(n))throw TypeError(`Cannot read properties of ${r} (reading '${n}')`);let i=r[n];return typeof i==`function`?i.bind(r):i},evalUnaryExpression(e,t){return{"-":e=>-Xx.evalAst(e,t),"!":e=>!Xx.evalAst(e,t),"~":e=>~Xx.evalAst(e,t),"+":e=>+Xx.evalAst(e,t),typeof:e=>typeof Xx.evalAst(e,t),void:e=>void Xx.evalAst(e,t)}[e.operator](e.argument)},evalArrayExpression(e,t){return e.elements.map(e=>Xx.evalAst(e,t))},evalCallExpression(e,t){let n=e.arguments.map(e=>Xx.evalAst(e,t)),r=Xx.evalAst(e.callee,t);if(r===Function)throw Error(`Function constructor is disabled`);return r(...n)},evalAssignmentExpression(e,t){if(e.left.type!==`Identifier`)throw SyntaxError(`Invalid left-hand side in assignment`);let n=e.left.name;return t[n]=Xx.evalAst(e.right,t),t[n]}},Xre=class{constructor(e){this.code=e,this.ast=Kx(this.code)}runInNewContext(e){let t=Object.assign(Object.create(null),e);return Xx.evalAst(this.ast,t)}};function Zx(e,t){return e=e.slice(),e.push(t),e}function Qx(e,t){return t=t.slice(),t.unshift(e),t}var Zre=class extends Error{constructor(e){super(`JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)`),this.avoidNew=!0,this.value=e,this.name=`NewError`}};function $x(e,t,n,r,i){if(!(this instanceof $x))try{return new $x(e,t,n,r,i)}catch(e){if(!e.avoidNew)throw e;return e.value}typeof e==`string`&&(i=r,r=n,n=t,t=e,e=null);let a=e&&typeof e==`object`;if(e=e||{},this.json=e.json||n,this.path=e.path||t,this.resultType=e.resultType||`value`,this.flatten=e.flatten||!1,this.wrap=!Object.hasOwn(e,`wrap`)||e.wrap,this.sandbox=e.sandbox||{},this.eval=e.eval===void 0?`safe`:e.eval,this.ignoreEvalErrors=e.ignoreEvalErrors!==void 0&&e.ignoreEvalErrors,this.parent=e.parent||null,this.parentProperty=e.parentProperty||null,this.callback=e.callback||r||null,this.otherTypeCallback=e.otherTypeCallback||i||function(){throw TypeError(`You must supply an otherTypeCallback callback option with the @other() operator.`)},e.autostart!==!1){let r={path:a?e.path:t};a?`json`in e&&(r.json=e.json):r.json=n;let i=this.evaluate(r);if(!i||typeof i!=`object`)throw new Zre(i);return i}}$x.prototype.evaluate=function(e,t,n,r){let i=this.parent,a=this.parentProperty,{flatten:o,wrap:s}=this;if(this.currResultType=this.resultType,this.currEval=this.eval,this.currSandbox=this.sandbox,n=n||this.callback,this.currOtherTypeCallback=r||this.otherTypeCallback,t=t||this.json,e=e||this.path,e&&typeof e==`object`&&!Array.isArray(e)){if(!e.path&&e.path!==``)throw TypeError(`You must supply a "path" property when providing an object argument to JSONPath.evaluate().`);if(!Object.hasOwn(e,`json`))throw TypeError(`You must supply a "json" property when providing an object argument to JSONPath.evaluate().`);({json:t}=e),o=Object.hasOwn(e,`flatten`)?e.flatten:o,this.currResultType=Object.hasOwn(e,`resultType`)?e.resultType:this.currResultType,this.currSandbox=Object.hasOwn(e,`sandbox`)?e.sandbox:this.currSandbox,s=Object.hasOwn(e,`wrap`)?e.wrap:s,this.currEval=Object.hasOwn(e,`eval`)?e.eval:this.currEval,n=Object.hasOwn(e,`callback`)?e.callback:n,this.currOtherTypeCallback=Object.hasOwn(e,`otherTypeCallback`)?e.otherTypeCallback:this.currOtherTypeCallback,i=Object.hasOwn(e,`parent`)?e.parent:i,a=Object.hasOwn(e,`parentProperty`)?e.parentProperty:a,e=e.path}if(i=i||null,a=a||null,Array.isArray(e)&&(e=$x.toPathString(e)),!e&&e!==``||!t)return;let c=$x.toPathArray(e);c[0]===`$`&&c.length>1&&c.shift(),this._hasParentSelector=null;let l=this._trace(c,t,[`$`],i,a,n).filter(function(e){return e&&!e.isParentSelector});return l.length?!s&&l.length===1&&!l[0].hasArrExpr?this._getPreferredOutput(l[0]):l.reduce((e,t)=>{let n=this._getPreferredOutput(t);return o&&Array.isArray(n)?e=e.concat(n):e.push(n),e},[]):s?[]:void 0},$x.prototype._getPreferredOutput=function(e){let t=this.currResultType;switch(t){case`all`:{let t=Array.isArray(e.path)?e.path:$x.toPathArray(e.path);return e.pointer=$x.toPointer(t),e.path=typeof e.path==`string`?e.path:$x.toPathString(e.path),e}case`value`:case`parent`:case`parentProperty`:return e[t];case`path`:return $x.toPathString(e[t]);case`pointer`:return $x.toPointer(e.path);default:throw TypeError(`Unknown result type`)}},$x.prototype._handleCallback=function(e,t,n){if(t){let r=this._getPreferredOutput(e);e.path=typeof e.path==`string`?e.path:$x.toPathString(e.path),t(r,n,e)}},$x.prototype._trace=function(e,t,n,r,i,a,o,s){let c;if(!e.length)return c={path:n,value:t,parent:r,parentProperty:i,hasArrExpr:o},this._handleCallback(c,a,`value`),c;let l=e[0],u=e.slice(1),d=[];function f(e){Array.isArray(e)?e.forEach(e=>{d.push(e)}):d.push(e)}if((typeof l!=`string`||s)&&t&&Object.hasOwn(t,l))f(this._trace(u,t[l],Zx(n,l),t,l,a,o));else if(l===`*`)this._walk(t,e=>{f(this._trace(u,t[e],Zx(n,e),t,e,a,!0,!0))});else if(l===`..`)f(this._trace(u,t,n,r,i,a,o)),this._walk(t,r=>{typeof t[r]==`object`&&f(this._trace(e.slice(),t[r],Zx(n,r),t,r,a,!0))});else if(l===`^`)return this._hasParentSelector=!0,{path:n.slice(0,-1),expr:u,isParentSelector:!0};else if(l===`~`)return c={path:Zx(n,l),value:i,parent:r,parentProperty:null},this._handleCallback(c,a,`property`),c;else if(l===`$`)f(this._trace(u,t,n,null,null,a,o));else if(/^(-?\d*):(-?\d*):?(\d*)$/u.test(l))f(this._slice(l,u,t,n,r,i,a));else if(l.indexOf(`?(`)===0){if(this.currEval===!1)throw Error(`Eval [?(expr)] prevented in JSONPath expression.`);let e=l.replace(/^\?\((.*?)\)$/u,`$1`),o=/@.?([^?]*)[['](\??\(.*?\))(?!.\)\])[\]']/gu.exec(e);o?this._walk(t,e=>{let s=[o[2]],c=o[1]?t[e][o[1]]:t[e];this._trace(s,c,n,r,i,a,!0).length>0&&f(this._trace(u,t[e],Zx(n,e),t,e,a,!0))}):this._walk(t,o=>{this._eval(e,t[o],o,n,r,i)&&f(this._trace(u,t[o],Zx(n,o),t,o,a,!0))})}else if(l[0]===`(`){if(this.currEval===!1)throw Error(`Eval [(expr)] prevented in JSONPath expression.`);f(this._trace(Qx(this._eval(l,t,n.at(-1),n.slice(0,-1),r,i),u),t,n,r,i,a,o))}else if(l[0]===`@`){let e=!1,o=l.slice(1,-2);switch(o){case`scalar`:(!t||![`object`,`function`].includes(typeof t))&&(e=!0);break;case`boolean`:case`string`:case`undefined`:case`function`:typeof t===o&&(e=!0);break;case`integer`:Number.isFinite(t)&&!(t%1)&&(e=!0);break;case`number`:Number.isFinite(t)&&(e=!0);break;case`nonFinite`:typeof t==`number`&&!Number.isFinite(t)&&(e=!0);break;case`object`:t&&typeof t===o&&(e=!0);break;case`array`:Array.isArray(t)&&(e=!0);break;case`other`:e=this.currOtherTypeCallback(t,n,r,i);break;case`null`:t===null&&(e=!0);break;default:throw TypeError(`Unknown value type `+o)}if(e)return c={path:n,value:t,parent:r,parentProperty:i},this._handleCallback(c,a,`value`),c}else if(l[0]==="`"&&t&&Object.hasOwn(t,l.slice(1))){let e=l.slice(1);f(this._trace(u,t[e],Zx(n,e),t,e,a,o,!0))}else if(l.includes(`,`)){let e=l.split(`,`);for(let o of e)f(this._trace(Qx(o,u),t,n,r,i,a,!0))}else!s&&t&&Object.hasOwn(t,l)&&f(this._trace(u,t[l],Zx(n,l),t,l,a,o,!0));if(this._hasParentSelector)for(let e=0;e<d.length;e++){let n=d[e];if(n&&n.isParentSelector){let s=this._trace(n.expr,t,n.path,r,i,a,o);if(Array.isArray(s)){d[e]=s[0];let t=s.length;for(let n=1;n<t;n++)e++,d.splice(e,0,s[n])}else d[e]=s}}return d},$x.prototype._walk=function(e,t){if(Array.isArray(e)){let n=e.length;for(let e=0;e<n;e++)t(e)}else e&&typeof e==`object`&&Object.keys(e).forEach(e=>{t(e)})},$x.prototype._slice=function(e,t,n,r,i,a,o){if(!Array.isArray(n))return;let s=n.length,c=e.split(`:`),l=c[2]&&Number.parseInt(c[2])||1,u=c[0]&&Number.parseInt(c[0])||0,d=c[1]&&Number.parseInt(c[1])||s;u=u<0?Math.max(0,u+s):Math.min(s,u),d=d<0?Math.max(0,d+s):Math.min(s,d);let f=[];for(let e=u;e<d;e+=l)this._trace(Qx(e,t),n,r,i,a,o,!0).forEach(e=>{f.push(e)});return f},$x.prototype._eval=function(e,t,n,r,i,a){this.currSandbox._$_parentProperty=a,this.currSandbox._$_parent=i,this.currSandbox._$_property=n,this.currSandbox._$_root=this.json,this.currSandbox._$_v=t;let o=e.includes(`@path`);o&&(this.currSandbox._$_path=$x.toPathString(r.concat([n])));let s=this.currEval+`Script:`+e;if(!$x.cache[s]){let t=e.replaceAll(`@parentProperty`,`_$_parentProperty`).replaceAll(`@parent`,`_$_parent`).replaceAll(`@property`,`_$_property`).replaceAll(`@root`,`_$_root`).replaceAll(/@([.\s)[])/gu,`_$_v$1`);if(o&&(t=t.replaceAll(`@path`,`_$_path`)),this.currEval===`safe`||this.currEval===!0||this.currEval===void 0)$x.cache[s]=new this.safeVm.Script(t);else if(this.currEval===`native`)$x.cache[s]=new this.vm.Script(t);else if(typeof this.currEval==`function`&&this.currEval.prototype&&Object.hasOwn(this.currEval.prototype,`runInNewContext`)){let e=this.currEval;$x.cache[s]=new e(t)}else if(typeof this.currEval==`function`)$x.cache[s]={runInNewContext:e=>this.currEval(t,e)};else throw TypeError(`Unknown "eval" property "${this.currEval}"`)}try{return $x.cache[s].runInNewContext(this.currSandbox)}catch(t){if(this.ignoreEvalErrors)return!1;throw Error(`jsonPath: `+t.message+`: `+e)}},$x.cache={},$x.toPathString=function(e){let t=e,n=t.length,r=`$`;for(let e=1;e<n;e++)/^(~|\^|@.*?\(\))$/u.test(t[e])||(r+=/^[0-9*]+$/u.test(t[e])?`[`+t[e]+`]`:`['`+t[e]+`']`);return r},$x.toPointer=function(e){let t=e,n=t.length,r=``;for(let e=1;e<n;e++)/^(~|\^|@.*?\(\))$/u.test(t[e])||(r+=`/`+t[e].toString().replaceAll(`~`,`~0`).replaceAll(`/`,`~1`));return r},$x.toPathArray=function(e){let{cache:t}=$x;if(t[e])return t[e].concat();let n=[];return t[e]=e.replaceAll(/@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\(\)/gu,`;$&;`).replaceAll(/[['](\??\(.*?\))[\]'](?!.\])/gu,function(e,t){return`[#`+(n.push(t)-1)+`]`}).replaceAll(/\[['"]([^'\]]*)['"]\]/gu,function(e,t){return`['`+t.replaceAll(`.`,`%@%`).replaceAll(`~`,`%%@@%%`)+`']`}).replaceAll(`~`,`;~;`).replaceAll(/['"]?\.['"]?(?![^[]*\])|\[['"]?/gu,`;`).replaceAll(`%@%`,`.`).replaceAll(`%%@@%%`,`~`).replaceAll(/(?:;)?(\^+)(?:;)?/gu,function(e,t){return`;`+t.split(``).join(`;`)+`;`}).replaceAll(/;;;|;;/gu,`;..;`).replaceAll(/;$|'?\]|'$/gu,``).split(`;`).map(function(e){let t=e.match(/#(\d+)/u);return!t||!t[1]?e:n[t[1]]}),t[e].concat()},$x.prototype.safeVm={Script:Xre};var Qre=function(e,t,n){let r=e.length;for(let i=0;i<r;i++){let r=e[i];n(r)&&t.push(e.splice(i--,1)[0])}},$re=class{constructor(e){this.code=e}runInNewContext(e){let t=this.code,n=Object.keys(e),r=[];Qre(n,r,t=>typeof e[t]==`function`);let i=n.map(t=>e[t]);t=r.reduce((t,n)=>{let r=e[n].toString();return/function/u.test(r)||(r=`function `+r),`var `+n+`=`+r+`;`+t},``)+t,!/(['"])use strict\1/u.test(t)&&!n.includes(`arguments`)&&(t=`var arguments = undefined;`+t),t=t.replace(/;\s*$/u,``);let a=t.lastIndexOf(`;`),o=a===-1?` return `+t:t.slice(0,a+1)+` return `+t.slice(a+1);return Function(...n,o)(...i)}};$x.prototype.vm={Script:$re};var eS=[],tS=[];(()=>{let e=`lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,1n,9,16,o,,x,1i,3,,i,,7,a,2,t,3,1k,,,7,2,2,2,3,9,,a,2,q,,2,3,1k,,,5,4,2,2,3,3,,u,2,3,,b,3,1k,,,8,,3,,3,k,2,m,6,,3,1k,,,7,2,2,2,3,7,3,a,2,u,,1n,5,3,3,,4,9,,14,5,1j,,,7,,3,,4,7,2,b,2,t,3,1k,,,7,,3,,4,7,2,b,2,f,,c,4,1j,2,,7,,3,,4,9,,a,2,t,3,1y,,4,6,,,,8,i,2,1p,,,8,c,8,2q,,,a,b,7,21,2,r,,,,,,4,2,1d,k,,2,5,b,,10,9,,2u,b,,6,n,4,4,3,g,4,d,,,3,6,,f,,jj,3,qa,4,s,3,t,2,u,2,1s,w,9,,19,3,,,39,2,y,,3a,c,4,c,63,5,1l,a,,,,,2,o,2,,1c,1a,2,c,k,5,1b,h,12,9,c,3,u,d,1k,e,1c,k,48,3,,l,4,,6,,2,3,5i,1s,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,n,5,4,,2b,2,1e,i,q,i,d,,12,8,p,d,18,4,1b,e,10,,1v,e,c,,8,2,1a,,1f,,,3,2,2,5,2,,,15,5,5,2,6k,8,,2,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,1t,5,8t,2,25,6,1y,b,1d,4,3e,3,1h,f,15,,2,2,a,4,19,b,7,,1p,3,10,e,g,2,18,,c,3,1c,e,8,4,,2,2k,c,6,,2,,4d,c,l,4,1j,2,,7,2,2,2,3,9,,a,2,2,7,3,5,1v,9,,,2,,,4,,5,,,e,2,2a,i,n,,29,k,6j,7,2,9,r,2,2a,h,2y,d,2t,3,2,a,74,f,6t,6,,2,2,4,,,,2,3x,7,2,7,3,,s,a,14,7,,4,8,,9,b,1a,g,5i,8,5j,8,,8,2a,m,,e,3e,6,3,,,2,,7,,,1u,5,,2,,5,9n,4,9,2,,,1c,7,3,5,n,,44l,,6,f,8ug,i,1xc,5,1n,7,t4,,,1j,7,4,29,,b,2,f57,2,3mp,1a,2,n,f2,5,3,6,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,2s,,4g,7,af,,1p,4,e4,4,72,2,6r,,2,,7,2,5,,d6,7,31,7,240,5`.split(`,`).map(e=>e?parseInt(e,36):1);for(let t=0,n=0;t<e.length;t++)(t%2?tS:eS).push(n+=e[t])})();function eie(e){if(e<768)return!1;for(let t=0,n=eS.length;;){let r=t+n>>1;if(e<eS[r])n=r;else if(e>=tS[r])t=r+1;else return!0;if(t==n)return!1}}function nS(e){return e>=127462&&e<=127487}var rS=8205;function tie(e,t,n=!0,r=!0){return(n?iS:nie)(e,t,r)}function iS(e,t,n){if(t==e.length)return t;t&&oS(e.charCodeAt(t))&&sS(e.charCodeAt(t-1))&&t--;let r=aS(e,t);for(t+=cS(r);t<e.length;){let i=aS(e,t);if(r==rS||i==rS||n&&eie(i))t+=cS(i),r=i;else if(nS(i)){let n=0,r=t-2;for(;r>=0&&nS(aS(e,r));)n++,r-=2;if(n%2==0)break;t+=2}else break}return t}function nie(e,t,n){for(;t>1;){let r=iS(e,t-2,n);if(r<t)return r;t--}return 0}function aS(e,t){let n=e.charCodeAt(t);if(!sS(n)||t+1==e.length)return n;let r=e.charCodeAt(t+1);return oS(r)?(n-55296<<10)+(r-56320)+65536:n}function oS(e){return e>=56320&&e<57344}function sS(e){return e>=55296&&e<56320}function cS(e){return e<65536?1:2}var lS=class e{lineAt(e){if(e<0||e>this.length)throw RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,n){[e,t]=_S(this,e,t);let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),dS.from(r,this.length-(t-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=_S(this,e,t);let n=[];return this.decompose(e,t,n,0),dS.from(n,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new mS(this),i=new mS(e);for(let e=t,a=t;;){if(r.next(e),i.next(e),e=0,r.lineBreak!=i.lineBreak||r.done!=i.done||r.value!=i.value)return!1;if(a+=r.value.length,r.done||a>=n)return!0}}iter(e=1){return new mS(this,e)}iterRange(e,t=this.length){return new hS(this,e,t)}iterLines(e,t){let n;if(e==null)n=this.iter();else{t==null&&(t=this.lines+1);let r=this.line(e).from;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new gS(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(t){if(t.length==0)throw RangeError(`A document must have at least one line`);return t.length==1&&!t[0]?e.empty:t.length<=32?new uS(t):dS.from(uS.split(t,[]))}},uS=class e extends lS{constructor(e,t=rie(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,n,r){for(let i=0;;i++){let a=this.text[i],o=r+a.length;if((t?n:o)>=e)return new iie(r,o,n,a);r=o+1,n++}}decompose(t,n,r,i){let a=t<=0&&n>=this.length?this:new e(pS(this.text,t,n),Math.min(n,this.length)-Math.max(0,t));if(i&1){let t=r.pop(),n=fS(a.text,t.text.slice(),0,a.length);if(n.length<=32)r.push(new e(n,t.length+a.length));else{let t=n.length>>1;r.push(new e(n.slice(0,t)),new e(n.slice(t)))}}else r.push(a)}replace(t,n,r){if(!(r instanceof e))return super.replace(t,n,r);[t,n]=_S(this,t,n);let i=fS(this.text,fS(r.text,pS(this.text,0,t)),n),a=this.length+r.length-(n-t);return i.length<=32?new e(i,a):dS.from(e.split(i,[]),a)}sliceString(e,t=this.length,n=`
53
53
  `){[e,t]=_S(this,e,t);let r=``;for(let i=0,a=0;i<=t&&a<this.text.length;a++){let o=this.text[a],s=i+o.length;i>e&&a&&(r+=n),e<s&&t>i&&(r+=o.slice(Math.max(0,e-i),t-i)),i=s+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(t,n){let r=[],i=-1;for(let a of t)r.push(a),i+=a.length+1,r.length==32&&(n.push(new e(r,i)),r=[],i=-1);return i>-1&&n.push(new e(r,i)),n}},dS=class e extends lS{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let t of e)this.lines+=t.lines}lineInner(e,t,n,r){for(let i=0;;i++){let a=this.children[i],o=r+a.length,s=n+a.lines-1;if((t?s:o)>=e)return a.lineInner(e,t,n,r);r=o+1,n=s+1}}decompose(e,t,n,r){for(let i=0,a=0;a<=t&&i<this.children.length;i++){let o=this.children[i],s=a+o.length;if(e<=s&&t>=a){let i=r&(a<=e|(s>=t?2:0));a>=e&&s<=t&&!i?n.push(o):o.decompose(e-a,t-a,n,i)}a=s+1}}replace(t,n,r){if([t,n]=_S(this,t,n),r.lines<this.lines)for(let i=0,a=0;i<this.children.length;i++){let o=this.children[i],s=a+o.length;if(t>=a&&n<=s){let c=o.replace(t-a,n-a,r),l=this.lines-o.lines+c.lines;if(c.lines<l>>4&&c.lines>l>>6){let a=this.children.slice();return a[i]=c,new e(a,this.length-(n-t)+r.length)}return super.replace(a,s,c)}a=s+1}return super.replace(t,n,r)}sliceString(e,t=this.length,n=`
54
54
  `){[e,t]=_S(this,e,t);let r=``;for(let i=0,a=0;i<this.children.length&&a<=t;i++){let o=this.children[i],s=a+o.length;a>e&&i&&(r+=n),e<s&&t>a&&(r+=o.sliceString(e-a,t-a,n)),a=s+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(t,n){if(!(t instanceof e))return 0;let r=0,[i,a,o,s]=n>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;i+=n,a+=n){if(i==o||a==s)return r;let e=this.children[i],c=t.children[a];if(e!=c)return r+e.scanIdentical(c,n);r+=e.length+1}}static from(t,n=t.reduce((e,t)=>e+t.length+1,-1)){let r=0;for(let e of t)r+=e.lines;if(r<32){let e=[];for(let n of t)n.flatten(e);return new uS(e,n)}let i=Math.max(32,r>>5),a=i<<1,o=i>>1,s=[],c=0,l=-1,u=[];function d(t){let n;if(t.lines>a&&t instanceof e)for(let e of t.children)d(e);else t.lines>o&&(c>o||!c)?(f(),s.push(t)):t instanceof uS&&c&&(n=u[u.length-1])instanceof uS&&t.lines+n.lines<=32?(c+=t.lines,l+=t.length+1,u[u.length-1]=new uS(n.text.concat(t.text),n.length+1+t.length)):(c+t.lines>i&&f(),c+=t.lines,l+=t.length+1,u.push(t))}function f(){c!=0&&(s.push(u.length==1?u[0]:e.from(u,l)),l=-1,c=u.length=0)}for(let e of t)d(e);return f(),s.length==1?s[0]:new e(s,n)}};lS.empty=new uS([``],0);function rie(e){let t=-1;for(let n of e)t+=n.length+1;return t}function fS(e,t,n=0,r=1e9){for(let i=0,a=0,o=!0;a<e.length&&i<=r;a++){let s=e[a],c=i+s.length;c>=n&&(c>r&&(s=s.slice(0,r-i)),i<n&&(s=s.slice(n-i)),o?(t[t.length-1]+=s,o=!1):t.push(s)),i=c+1}return t}function pS(e,t,n){return fS(e,[``],t,n)}var mS=class{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value=``,this.nodes=[e],this.offsets=[t>0?1:(e instanceof uS?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],i=this.offsets[n],a=i>>1,o=r instanceof uS?r.text.length:r.children.length;if(a==(t>0?o:0)){if(n==0)return this.done=!0,this.value=``,this;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((i&1)==(t>0?0:1)){if(this.offsets[n]+=t,e==0)return this.lineBreak=!0,this.value=`
@@ -3887,9 +3887,9 @@ button.jse-context-menu-button.svelte-1y5l9l1 svg {
3887
3887
  .jse-main.svelte-1l55585:not(.jse-focus) {
3888
3888
  --jse-selection-background-color: var(--jse-selection-background-inactive-color, #e8e8e8);
3889
3889
  --jse-context-menu-pointer-background: var(--jse-context-menu-pointer-hover-background, #b2b2b2);
3890
- }`);var Q1=Y(`<div role="none"><!></div> <!> <!> <!>`,1);function $1(e,t){Dz(t,!1);var n=z(void 0,!0),r=mW(`jsoneditor:JSONEditor`),i={text:``},a=void 0,o=!1,s=cG.tree,c=`JSON editor`,l=!0,u=!0,d=!0,f=!0,p=!1,m=!1,h=10485760,g=!0,_=JSON,v=void 0,y=JSON,b={parse:sY,stringify:oY},x=[QG],S=x[0].id,C=$$,w=void 0,T=void 0,E=aY,ee=$$,te=$$,ne=$$,D=$$,re=e=>{console.error(e),alert(e.toString())},ie=$$,O=$$,ae=Q(t,`content`,13,i),oe=Q(t,`selection`,13,a),k=Q(t,`readOnly`,13,o),se=Q(t,`indentation`,13,2),ce=Q(t,`tabSize`,13,4),le=Q(t,`truncateTextSize`,13,1e3),ue=Q(t,`mode`,13,s),de=Q(t,`ariaLabel`,13,c),fe=Q(t,`mainMenuBar`,13,l),pe=Q(t,`navigationBar`,13,u),me=Q(t,`statusBar`,13,d),he=Q(t,`askToFormat`,13,f),ge=Q(t,`escapeControlCharacters`,13,p),A=Q(t,`escapeUnicodeCharacters`,13,m),_e=Q(t,`maxDocumentSizeTextMode`,13,h),j=Q(t,`flattenColumns`,13,g),ve=Q(t,`parser`,13,_),ye=Q(t,`validator`,13,v),be=Q(t,`validationParser`,13,y),M=Q(t,`pathParser`,13,b),N=Q(t,`queryLanguages`,13,x),xe=Q(t,`queryLanguageId`,13,S),Se=Q(t,`onChangeQueryLanguage`,13,C),Ce=Q(t,`onChange`,13,w),we=Q(t,`onSelect`,13,T),Te=Q(t,`onRenderValue`,13,E),Ee=Q(t,`onClassName`,13,ee),De=Q(t,`onRenderMenu`,13,te),Oe=Q(t,`onRenderContextMenu`,13,ne),ke=Q(t,`onChangeMode`,13,D),Ae=Q(t,`onError`,13,re),je=Q(t,`onFocus`,13,ie),Me=Q(t,`onBlur`,13,O),Ne=z(vW(),!0),Pe=z(!1,!0),Fe=z(void 0,!0),Ie=z(void 0,!0),Le=z(void 0,!0),P=z(void 0,!0),Re=z(ve(),!0);function ze(){return ae()}function Be(e){r(`set`);var t=YW(e);if(t)throw Error(t);B(Ne,vW()),ae(e),oV()}function Ve(e){r(`update`);var t=YW(e);if(t)throw Error(t);ae(e),oV()}function He(e){var t=G(Fe).patch(e);return oV(),t}function Ue(e){oe(e),oV()}function We(e,t){G(Fe).expand(e,t),oV()}function Ge(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1];G(Fe).collapse(e,t),oV()}function Ke(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};G(Fe).transform(e),oV()}function qe(){return G(Fe).validate()}function Je(){var e=G(Fe).acceptAutoRepair();return oV(),e}function Ye(e){return Xe.apply(this,arguments)}function Xe(){return(Xe=uR(function*(e){yield G(Fe).scrollTo(e)})).apply(this,arguments)}function Ze(e){return G(Fe).findElement(e)}function Qe(){G(Fe).focus(),oV()}function $e(){return et.apply(this,arguments)}function et(){return(et=uR(function*(){yield G(Fe).refresh()})).apply(this,arguments)}function tt(e){var t,n,Ne,Pe,Fe,Ie,Le,P,Re,ze,Be,Ve,He,Ue,We,Ge,Ke,qe,Je,Ye,Xe,Ze,Qe,$e,et,tt,nt,rt,it,at,ot,st,ct;for(var lt of Object.keys(e))switch(lt){case`content`:ae((t=e[lt])==null?i:t);break;case`selection`:oe((n=e[lt])==null?a:n);break;case`readOnly`:k((Ne=e[lt])==null?o:Ne);break;case`indentation`:se((Pe=e[lt])==null?2:Pe);break;case`tabSize`:ce((Fe=e[lt])==null?4:Fe);break;case`truncateTextSize`:le((Ie=e[lt])==null?1e3:Ie);break;case`mode`:ue((Le=e[lt])==null?s:Le);break;case`ariaLabel`:de((P=e[lt])==null?c:P);break;case`mainMenuBar`:fe((Re=e[lt])==null?l:Re);break;case`navigationBar`:pe((ze=e[lt])==null?u:ze);break;case`statusBar`:me((Be=e[lt])==null?d:Be);break;case`askToFormat`:he((Ve=e[lt])==null?f:Ve);break;case`escapeControlCharacters`:ge((He=e[lt])==null?p:He);break;case`escapeUnicodeCharacters`:A((Ue=e[lt])==null?m:Ue);break;case`maxDocumentSizeTextMode`:_e((We=e[lt])==null?h:We);break;case`flattenColumns`:j((Ge=e[lt])==null?g:Ge);break;case`parser`:ve((Ke=e[lt])==null?_:Ke);break;case`validator`:ye((qe=e[lt])==null?v:qe);break;case`validationParser`:be((Je=e[lt])==null?y:Je);break;case`pathParser`:M((Ye=e[lt])==null?b:Ye);break;case`queryLanguages`:N((Xe=e[lt])==null?x:Xe);break;case`queryLanguageId`:xe((Ze=e[lt])==null?S:Ze);break;case`onChangeQueryLanguage`:Se((Qe=e[lt])==null?C:Qe);break;case`onChange`:Ce(($e=e[lt])==null?w:$e);break;case`onRenderValue`:Te((et=e[lt])==null?E:et);break;case`onClassName`:Ee((tt=e[lt])==null?ee:tt);break;case`onRenderMenu`:De((nt=e[lt])==null?te:nt);break;case`onRenderContextMenu`:Oe((rt=e[lt])==null?ne:rt);break;case`onChangeMode`:ke((it=e[lt])==null?D:it);break;case`onSelect`:we((at=e[lt])==null?T:at);break;case`onError`:Ae((ot=e[lt])==null?re:ot);break;case`onFocus`:je((st=e[lt])==null?ie:st);break;case`onBlur`:Me((ct=e[lt])==null?O:ct);break;default:ut(lt)}function ut(e){r(`Unknown property "${e}"`)}N().some(e=>e.id===xe())||xe(N()[0].id),oV()}function nt(){return rt.apply(this,arguments)}function rt(){return(rt=uR(function*(){throw Error(`class method destroy() is deprecated. It is replaced with a method destroy() in the vanilla library.`)})).apply(this,arguments)}function it(e,t,n){ae(e),Ce()&&Ce()(e,t,n)}function at(e){oe(e),we()&&we()(jy(e))}function ot(){B(Pe,!0),je()&&je()()}function st(){B(Pe,!1),Me()&&Me()()}function ct(e){return lt.apply(this,arguments)}function lt(){return(lt=uR(function*(e){ue()!==e&&(ue(e),oV(),Qe(),ke()(e))})).apply(this,arguments)}function ut(e){r(`handleChangeQueryLanguage`,e),xe(e),Se()(e)}function dt(e){var t=e.id,r=e.json,i=e.rootPath,a=e.onTransform,o=e.onClose;k()||B(P,{id:t,json:r,rootPath:i,indentation:se(),truncateTextSize:le(),escapeControlCharacters:ge(),escapeUnicodeCharacters:A(),parser:ve(),parseMemoizeOne:G(n),validationParser:be(),pathParser:M(),queryLanguages:N(),queryLanguageId:xe(),onChangeQueryLanguage:ut,onRenderValue:Te(),onRenderMenu:e=>De()(e,{mode:ue(),modal:!0,readOnly:k()}),onRenderContextMenu:e=>Oe()(e,{mode:ue(),modal:!0,readOnly:k(),selection:oe()}),onClassName:Ee(),onTransform:a,onClose:o})}function ft(e){k()||B(Le,e)}function pt(e){var t=e.content,n=e.path,i=e.onPatch,a=e.onClose;r(`onJSONEditorModal`,{content:t,path:n}),B(Ie,{content:t,path:n,onPatch:i,readOnly:k(),indentation:se(),tabSize:ce(),truncateTextSize:le(),mainMenuBar:fe(),navigationBar:pe(),statusBar:me(),askToFormat:he(),escapeControlCharacters:ge(),escapeUnicodeCharacters:A(),maxDocumentSizeTextMode:_e(),flattenColumns:j(),parser:ve(),validator:void 0,validationParser:be(),pathParser:M(),onRenderValue:Te(),onClassName:Ee(),onRenderMenu:De(),onRenderContextMenu:Oe(),onSortModal:ft,onTransformModal:dt,onClose:a})}function mt(e){e.stopPropagation()}U(()=>(q(ve()),G(Re),q(ae()),vW),()=>{if(!oG(ve(),G(Re))){if(r(`parser changed, recreate editor`),ZW(ae())){var e=G(Re).stringify(ae().json);ae({json:e===void 0?void 0:ve().parse(e)})}B(Re,ve()),B(Ne,vW())}}),U(()=>q(ae()),()=>{var e=YW(ae());e&&console.error(`Error: `+e)}),U(()=>q(oe()),()=>{oe()===null&&console.warn(`selection is invalid: it is null but should be undefined`)}),U(()=>q(ve()),()=>{B(n,Wx(ve().parse))}),U(()=>q(ue()),()=>{r(`mode changed to`,ue())}),VV();var ht={get:ze,set:Be,update:Ve,patch:He,select:Ue,expand:We,collapse:Ge,transform:Ke,validate:qe,acceptAutoRepair:Je,scrollTo:Ye,findElement:Ze,focus:Qe,refresh:$e,updateProps:tt,destroy:nt};return oW(!0),JG(e,{children:(e,t)=>{var r,i=Q1(),a=MV(i);pU(V(a),()=>G(Ne),e=>{rW(B1(e,{get externalMode(){return ue()},get content(){return ae()},get selection(){return oe()},get readOnly(){return k()},get indentation(){return se()},get tabSize(){return ce()},get truncateTextSize(){return le()},get ariaLabel(){return de()},get statusBar(){return me()},get askToFormat(){return he()},get mainMenuBar(){return fe()},get navigationBar(){return pe()},get maxDocumentSizeTextMode(){return _e()},get escapeControlCharacters(){return ge()},get escapeUnicodeCharacters(){return A()},get flattenColumns(){return j()},get parser(){return ve()},get parseMemoizeOne(){return G(n)},get validator(){return ye()},get validationParser(){return be()},get pathParser(){return M()},insideModal:!1,get onError(){return Ae()},onChange:it,onChangeMode:ct,onSelect:at,get onRenderValue(){return Te()},get onClassName(){return Ee()},onFocus:ot,onBlur:st,get onRenderMenu(){return De()},get onRenderContextMenu(){return Oe()},onSortModal:ft,onTransformModal:dt,onJSONEditorModal:pt,$$legacy:!0}),e=>B(Fe,e),()=>G(Fe))});var o=H(a,2),s=e=>{(function(e,t){var n,r;Dz(t,!1);var i=z(void 0,!0),a=z(void 0,!0),o=z(void 0,!0),s=z(void 0,!0),c=mW(`jsoneditor:SortModal`),l=Q(t,`id`,9),u=Q(t,`json`,9),d=Q(t,`rootPath`,9),f=Q(t,`onSort`,9),p=Q(t,`onClose`,9),m={value:1,label:`ascending`},h=[m,{value:-1,label:`descending`}],g=`${l()}:${kf(d())}`,_=z((n=J1()[g])==null?void 0:n.selectedProperty,!0),v=z(((r=J1()[g])==null?void 0:r.selectedDirection)||m,!0),y=z(void 0,!0);function b(){try{var e,t,n;B(y,void 0);var r=((e=G(_))==null?void 0:e.value)||((t=G(s))==null||(t=t[0])==null?void 0:t.value)||[],i=(n=G(v))==null?void 0:n.value,a=OQ(u(),d(),r,i);f()!==void 0&&d()!==void 0&&f()({operations:a,rootPath:d(),itemPath:r,direction:i}),p()()}catch(e){B(y,String(e))}}function x(e){e.focus()}U(()=>(q(u()),q(d())),()=>{B(i,xf(u(),d()))}),U(()=>G(i),()=>{B(a,Array.isArray(G(i)))}),U(()=>(G(a),G(i)),()=>{B(o,G(a)?FW(G(i)):void 0)}),U(()=>(G(o),cY),()=>{B(s,G(o)?G(o).map(cY):void 0)}),U(()=>(J1(),G(_),G(v)),()=>{J1(J1()[g]={selectedProperty:G(_),selectedDirection:G(v)}),c(`store state in memory`,g,J1()[g])}),VV(),oW(!0),kZ(e,{get onClose(){return p()},className:`jse-sort-modal`,children:(e,t)=>{var n=Z1(),r=MV(n),i=xB(()=>G(a)?`Sort array items`:`Sort object keys`);rZ(r,{get title(){return G(i)},get onClose(){return p()}});var o=V(H(r,2)),c=V(H(V(o))),l=V(H(V(c))),u=H(c),f=e=>{var t=Y1();YX(V(H(V(t))),{showChevron:!0,get items(){return G(s)},get value(){return G(_)},set value(e){B(_,e)},$$legacy:!0}),X(e,t)};Z(u,e=>{G(a),G(s),K(()=>{var e;return G(a)&&G(s)&&((e=G(s))==null?void 0:e.length)>1})&&e(f)}),YX(V(H(V(H(u)))),{showChevron:!0,clearable:!1,get items(){return h},get value(){return G(v)},set value(e){B(v,e)},$$legacy:!0});var m=H(o,2),g=V(m),S=e=>{var t=X1(),n=V(t);W(()=>JH(n,G(y))),X(e,t)};Z(g,e=>{G(y)&&e(S)});var C=V(H(m,2));BV(()=>J(`click`,C,b)),wU(C,e=>x==null?void 0:x(e)),W(e=>{GU(l,e),C.disabled=(G(a),G(s),G(_),K(()=>{var e;return!!(G(a)&&G(s)&&((e=G(s))==null?void 0:e.length)>1)&&!G(_)}))},[()=>(q(d()),q(Vb),q(oY),K(()=>d()&&!Vb(d())?oY(d()):`(document root)`))]),X(e,n)},$$slots:{default:!0}}),Oz()})(e,pW(()=>G(Le),{onClose:()=>{var e;(e=G(Le))==null||e.onClose(),B(Le,void 0)}}))};Z(o,e=>{G(Le)&&e(s)});var c=H(o,2),l=e=>{Q$(e,pW(()=>G(P),{onClose:()=>{var e;(e=G(P))==null||e.onClose(),B(P,void 0)}}))};Z(c,e=>{G(P)&&e(l)});var u=H(c,2),d=e=>{(function(e,t){Dz(t,!1);var n=z(void 0,!0),r=z(void 0,!0),i=z(void 0,!0),a=z(void 0,!0),o=mW(`jsoneditor:JSONEditorModal`),s=Q(t,`content`,9),c=Q(t,`path`,9),l=Q(t,`onPatch`,9),u=Q(t,`readOnly`,9),d=Q(t,`indentation`,9),f=Q(t,`tabSize`,9),p=Q(t,`truncateTextSize`,9),m=Q(t,`mainMenuBar`,9),h=Q(t,`navigationBar`,9),g=Q(t,`statusBar`,9),_=Q(t,`askToFormat`,9),v=Q(t,`escapeControlCharacters`,9),y=Q(t,`escapeUnicodeCharacters`,9),b=Q(t,`maxDocumentSizeTextMode`,9),x=Q(t,`flattenColumns`,9),S=Q(t,`parser`,9),C=Q(t,`validator`,9),w=Q(t,`validationParser`,9),T=Q(t,`pathParser`,9),E=Q(t,`onRenderValue`,9),ee=Q(t,`onClassName`,9),te=Q(t,`onRenderMenu`,9),ne=Q(t,`onRenderContextMenu`,9),D=Q(t,`onSortModal`,9),re=Q(t,`onTransformModal`,9),ie=Q(t,`onClose`,9),O=z(void 0,!0),ae=z(void 0,!0),oe={mode:ce(s()),content:s(),selection:void 0,relativePath:c()},k=z([oe],!0),se=z(void 0,!0);function ce(e){return ZW(e)&&of(e.json)?cG.table:cG.tree}function le(){var e,t=(e=Ib(G(k)))==null?void 0:e.selection;Rq(t)&&G(O).scrollTo(hJ(t))}function ue(){if(o(`handleApply`),!u())try{B(se,void 0);var e=G(n).relativePath,t=G(n).content,r=[{op:`replace`,path:kf(e),value:$W(t,S()).json}];if(G(k).length>1){var i=$W(G(k)[G(k).length-2].content,S()).json,a={json:Mf(i,r)},s=L(L({},G(k)[G(k).length-2]||oe),{},{content:a});B(k,[...G(k).slice(0,G(k).length-2),s]),oV(),le()}else l()(r),ie()()}catch(e){B(se,String(e))}}function de(){var e;o(`handleClose`),G(k).length>1?(B(k,Bb(G(k))),oV(),(e=G(O))==null||e.focus(),le(),B(se,void 0)):ie()()}function fe(e){o(`handleChange`,e),he(t=>L(L({},t),{},{content:e}))}function pe(e){o(`handleChangeSelection`,e),he(t=>L(L({},t),{},{selection:e}))}function me(e){o(`handleChangeMode`,e),he(t=>L(L({},t),{},{mode:e}))}function he(e){var t=e(Ib(G(k)));B(k,[...Bb(G(k)),t])}function ge(e){B(se,e.toString()),console.error(e)}function A(e){var t,n=e.content,r=e.path;o(`handleJSONEditorModal`,{content:n,path:r});var i={mode:ce(n),content:n,selection:void 0,relativePath:r};B(k,[...G(k),i]),oV(),(t=G(O))==null||t.focus()}function _e(e){e.focus()}oU(()=>{var e;(e=G(O))==null||e.focus()}),U(()=>G(k),()=>{B(n,Ib(G(k))||oe)}),U(()=>G(k),()=>{B(r,G(k).flatMap(e=>e.relativePath))}),U(()=>(G(r),oY),()=>{B(i,Vb(G(r))?`(document root)`:oY(G(r)))}),U(()=>q(S()),()=>{B(a,Wx(S().parse))}),VV(),oW(!0),kZ(e,{onClose:de,className:`jse-jsoneditor-modal`,get fullscreen(){return G(ae)},children:(e,t)=>{var r=K1();JG(V(r),{children:(e,t)=>{var r=G1(),o=MV(r),s=xB(()=>(G(k),K(()=>G(k).length>1?` (${G(k).length})`:``)));rZ(o,{get title(){var e;return`Edit nested content ${(e=G(s))==null?``:e}`},fullScreenButton:!0,onClose:de,get fullscreen(){return G(ae)},set fullscreen(e){B(ae,e)},$$legacy:!0});var c=H(V(H(o,2)),2),l=H(c,4);rW(B1(V(l),{get externalMode(){return G(n),K(()=>G(n).mode)},get content(){return G(n),K(()=>G(n).content)},get selection(){return G(n),K(()=>G(n).selection)},get readOnly(){return u()},get indentation(){return d()},get tabSize(){return f()},get truncateTextSize(){return p()},get statusBar(){return g()},get askToFormat(){return _()},get mainMenuBar(){return m()},get navigationBar(){return h()},get escapeControlCharacters(){return v()},get escapeUnicodeCharacters(){return y()},get maxDocumentSizeTextMode(){return b()},get flattenColumns(){return x()},get parser(){return S()},get parseMemoizeOne(){return G(a)},get validator(){return C()},get validationParser(){return w()},get pathParser(){return T()},insideModal:!0,onError:ge,onChange:fe,onChangeMode:me,onSelect:pe,get onRenderValue(){return E()},get onClassName(){return ee()},get onFocus(){return $$},get onBlur(){return $$},get onRenderMenu(){return te()},get onRenderContextMenu(){return ne()},get onSortModal(){return D()},get onTransformModal(){return re()},onJSONEditorModal:A,$$legacy:!0}),e=>B(O,e),()=>G(O));var ie=V(H(l,2)),oe=e=>{var t=V1(),n=V(t);W(()=>JH(n,G(se))),X(e,t)};Z(ie,e=>{G(se)&&e(oe)});var ce=H(ie,2),le=e=>{var t=H1();oK(V(t),{get data(){return Dre}}),J(`click`,t,de),X(e,t)};Z(ce,e=>{G(k),K(()=>G(k).length>1)&&e(le)});var he=H(ce,2),j=e=>{var t=U1();BV(()=>J(`click`,t,ue)),wU(t,e=>_e==null?void 0:_e(e)),X(e,t)},ve=e=>{var t=W1();J(`click`,t,de),X(e,t)};Z(he,e=>{u()?e(ve,-1):e(j)}),W(()=>GU(c,G(i))),X(e,r)},$$slots:{default:!0}}),X(e,r)},$$slots:{default:!0}}),Oz()})(e,pW(()=>G(Ie),{onClose:()=>{var e;(e=G(Ie))==null||e.onClose(),B(Ie,void 0)}}))};Z(u,e=>{G(Ie)&&e(d)}),W(()=>r=jU(a,1,`jse-main svelte-1l55585`,null,r,{"jse-focus":G(Pe)})),J(`keydown`,a,mt),X(e,i)},$$slots:{default:!0}}),tW(t,`get`,ze),tW(t,`set`,Be),tW(t,`update`,Ve),tW(t,`patch`,He),tW(t,`select`,Ue),tW(t,`expand`,We),tW(t,`collapse`,Ge),tW(t,`transform`,Ke),tW(t,`validate`,qe),tW(t,`acceptAutoRepair`,Je),tW(t,`scrollTo`,Ye),tW(t,`findElement`,Ze),tW(t,`focus`,Qe),tW(t,`refresh`,$e),tW(t,`updateProps`,tt),tW(t,`destroy`,nt),Oz(ht)}function e0(e){var t=YH($1,{target:e.target,props:e.props});return t.destroy=uR(function*(){return function(e,t){var n=ZH.get(e);return n?(ZH.delete(e),n(t)):Promise.resolve()}(t)}),oV(),t}var t0=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,n0=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,r0=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function i0(e,t){if(e===`__proto__`||e===`constructor`&&t&&typeof t==`object`&&`prototype`in t){a0(e);return}return t}function a0(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function o0(e,t={}){if(typeof e!=`string`)return e;if(e[0]===`"`&&e[e.length-1]===`"`&&e.indexOf(`\\`)===-1)return e.slice(1,-1);let n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case`true`:return!0;case`false`:return!1;case`undefined`:return;case`null`:return null;case`nan`:return NaN;case`infinity`:return 1/0;case`-infinity`:return-1/0}if(!r0.test(e)){if(t.strict)throw SyntaxError(`[destr] Invalid JSON`);return e}try{if(t0.test(e)||n0.test(e)){if(t.strict)throw Error(`[destr] Possible prototype pollution`);return JSON.parse(e,i0)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}function s0(e,t={}){return o0(e,{...t,strict:!0})}var c0=typeof global==`object`&&global&&global.Object===Object&&global,l0=typeof self==`object`&&self&&self.Object===Object&&self,u0=c0||l0||Function(`return this`)(),d0=u0.Symbol,f0=Object.prototype,p0=f0.hasOwnProperty,m0=f0.toString,h0=d0?d0.toStringTag:void 0;function g0(e){var t=p0.call(e,h0),n=e[h0];try{e[h0]=void 0;var r=!0}catch{}var i=m0.call(e);return r&&(t?e[h0]=n:delete e[h0]),i}var _0=Object.prototype.toString;function v0(e){return _0.call(e)}var y0=`[object Null]`,b0=`[object Undefined]`,x0=d0?d0.toStringTag:void 0;function S0(e){return e==null?e===void 0?b0:y0:x0&&x0 in Object(e)?g0(e):v0(e)}function C0(e){return typeof e==`object`&&!!e}var w0=`[object Symbol]`;function T0(e){return typeof e==`symbol`||C0(e)&&S0(e)==w0}var E0=/\s/;function D0(e){for(var t=e.length;t--&&E0.test(e.charAt(t)););return t}var O0=/^\s+/;function k0(e){return e&&e.slice(0,D0(e)+1).replace(O0,``)}function A0(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var j0=NaN,M0=/^[-+]0x[0-9a-f]+$/i,N0=/^0b[01]+$/i,P0=/^0o[0-7]+$/i,F0=parseInt;function I0(e){if(typeof e==`number`)return e;if(T0(e))return j0;if(A0(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=A0(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=k0(e);var n=N0.test(e);return n||P0.test(e)?F0(e.slice(2),n?2:8):M0.test(e)?j0:+e}var L0=function(){return u0.Date.now()},R0=`Expected a function`,z0=Math.max,B0=Math.min;function V0(e,t,n){var r,i,a,o,s,c,l=0,u=!1,d=!1,f=!0;if(typeof e!=`function`)throw TypeError(R0);t=I0(t)||0,A0(n)&&(u=!!n.leading,d=`maxWait`in n,a=d?z0(I0(n.maxWait)||0,t):a,f=`trailing`in n?!!n.trailing:f);function p(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n),o}function m(e){return l=e,s=setTimeout(_,t),u?p(e):o}function h(e){var n=e-c,r=e-l,i=t-n;return d?B0(i,a-r):i}function g(e){var n=e-c,r=e-l;return c===void 0||n>=t||n<0||d&&r>=a}function _(){var e=L0();if(g(e))return v(e);s=setTimeout(_,h(e))}function v(e){return s=void 0,f&&r?p(e):(r=i=void 0,o)}function y(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function b(){return s===void 0?o:v(L0())}function x(){var e=L0(),n=g(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return m(c);if(d)return clearTimeout(s),s=setTimeout(_,t),p(c)}return s===void 0&&(s=setTimeout(_,t)),o}return x.cancel=y,x.flush=b,x}var H0=typeof global==`object`&&global&&global.Object===Object&&global,U0=typeof self==`object`&&self&&self.Object===Object&&self,W0=H0||U0||Function(`return this`)(),G0=W0.Symbol,K0=Object.prototype,q0=K0.hasOwnProperty,J0=K0.toString,Y0=G0?G0.toStringTag:void 0;function X0(e){var t=q0.call(e,Y0),n=e[Y0];try{e[Y0]=void 0;var r=!0}catch{}var i=J0.call(e);return r&&(t?e[Y0]=n:delete e[Y0]),i}var Z0=Object.prototype.toString;function Q0(e){return Z0.call(e)}var $0=`[object Null]`,e2=`[object Undefined]`,t2=G0?G0.toStringTag:void 0;function n2(e){return e==null?e===void 0?e2:$0:t2&&t2 in Object(e)?X0(e):Q0(e)}function r2(e){return typeof e==`object`&&!!e}var i2=`[object Symbol]`;function a2(e){return typeof e==`symbol`||r2(e)&&n2(e)==i2}function o2(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var s2=Array.isArray,c2=1/0,l2=G0?G0.prototype:void 0,u2=l2?l2.toString:void 0;function d2(e){if(typeof e==`string`)return e;if(s2(e))return o2(e,d2)+``;if(a2(e))return u2?u2.call(e):``;var t=e+``;return t==`0`&&1/e==-c2?`-0`:t}function f2(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}function p2(e){return e}var m2=`[object AsyncFunction]`,h2=`[object Function]`,g2=`[object GeneratorFunction]`,_2=`[object Proxy]`;function v2(e){if(!f2(e))return!1;var t=n2(e);return t==h2||t==g2||t==m2||t==_2}var y2=W0[`__core-js_shared__`],b2=function(){var e=/[^.]+$/.exec(y2&&y2.keys&&y2.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function x2(e){return!!b2&&b2 in e}var S2=Function.prototype.toString;function C2(e){if(e!=null){try{return S2.call(e)}catch{}try{return e+``}catch{}}return``}var w2=/[\\^$.*+?()[\]{}|]/g,T2=/^\[object .+?Constructor\]$/,E2=Function.prototype,D2=Object.prototype,O2=E2.toString,k2=D2.hasOwnProperty,A2=RegExp(`^`+O2.call(k2).replace(w2,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function j2(e){return!f2(e)||x2(e)?!1:(v2(e)?A2:T2).test(C2(e))}function M2(e,t){return e==null?void 0:e[t]}function N2(e,t){var n=M2(e,t);return j2(n)?n:void 0}var P2=N2(W0,`WeakMap`),F2=Object.create,I2=function(){function e(){}return function(t){if(!f2(t))return{};if(F2)return F2(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function L2(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function R2(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var z2=800,B2=16,V2=Date.now;function H2(e){var t=0,n=0;return function(){var r=V2(),i=B2-(r-n);if(n=r,i>0){if(++t>=z2)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function U2(e){return function(){return e}}var W2=function(){try{var e=N2(Object,`defineProperty`);return e({},``,{}),e}catch{}}(),G2=H2(W2?function(e,t){return W2(e,`toString`,{configurable:!0,enumerable:!1,value:U2(t),writable:!0})}:p2);function K2(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var q2=9007199254740991,J2=/^(?:0|[1-9]\d*)$/;function Y2(e,t){var n=typeof e;return t!=null||(t=q2),!!t&&(n==`number`||n!=`symbol`&&J2.test(e))&&e>-1&&e%1==0&&e<t}function X2(e,t,n){t==`__proto__`&&W2?W2(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Z2(e,t){return e===t||e!==e&&t!==t}var Q2=Object.prototype.hasOwnProperty;function $2(e,t,n){var r=e[t];(!(Q2.call(e,t)&&Z2(r,n))||n===void 0&&!(t in e))&&X2(e,t,n)}function e4(e,t,n,r){var i=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?X2(n,s,c):$2(n,s,c)}return n}var t4=Math.max;function n4(e,t,n){return t=t4(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=t4(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),L2(e,this,s)}}function nse(e,t){return G2(n4(e,t,p2),e+``)}var rse=9007199254740991;function r4(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=rse}function i4(e){return e!=null&&r4(e.length)&&!v2(e)}function ise(e,t,n){if(!f2(n))return!1;var r=typeof t;return(r==`number`?i4(n)&&Y2(t,n.length):r==`string`&&t in n)?Z2(n[t],e):!1}function a4(e){return nse(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(a=e.length>3&&typeof a==`function`?(i--,a):void 0,o&&ise(n[0],n[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t})}var ase=Object.prototype;function o4(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||ase)}function ose(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var sse=`[object Arguments]`;function s4(e){return r2(e)&&n2(e)==sse}var c4=Object.prototype,cse=c4.hasOwnProperty,lse=c4.propertyIsEnumerable,l4=s4(function(){return arguments}())?s4:function(e){return r2(e)&&cse.call(e,`callee`)&&!lse.call(e,`callee`)};function use(){return!1}var u4=typeof exports==`object`&&exports&&!exports.nodeType&&exports,d4=u4&&typeof module==`object`&&module&&!module.nodeType&&module,f4=d4&&d4.exports===u4?W0.Buffer:void 0,p4=(f4?f4.isBuffer:void 0)||use,dse=`[object Arguments]`,fse=`[object Array]`,pse=`[object Boolean]`,mse=`[object Date]`,hse=`[object Error]`,gse=`[object Function]`,_se=`[object Map]`,vse=`[object Number]`,yse=`[object Object]`,bse=`[object RegExp]`,xse=`[object Set]`,Sse=`[object String]`,Cse=`[object WeakMap]`,wse=`[object ArrayBuffer]`,Tse=`[object DataView]`,Ese=`[object Float32Array]`,Dse=`[object Float64Array]`,Ose=`[object Int8Array]`,kse=`[object Int16Array]`,Ase=`[object Int32Array]`,jse=`[object Uint8Array]`,Mse=`[object Uint8ClampedArray]`,Nse=`[object Uint16Array]`,Pse=`[object Uint32Array]`,m4={};m4[Ese]=m4[Dse]=m4[Ose]=m4[kse]=m4[Ase]=m4[jse]=m4[Mse]=m4[Nse]=m4[Pse]=!0,m4[dse]=m4[fse]=m4[wse]=m4[pse]=m4[Tse]=m4[mse]=m4[hse]=m4[gse]=m4[_se]=m4[vse]=m4[yse]=m4[bse]=m4[xse]=m4[Sse]=m4[Cse]=!1;function Fse(e){return r2(e)&&r4(e.length)&&!!m4[n2(e)]}function h4(e){return function(t){return e(t)}}var g4=typeof exports==`object`&&exports&&!exports.nodeType&&exports,_4=g4&&typeof module==`object`&&module&&!module.nodeType&&module,v4=_4&&_4.exports===g4&&H0.process,y4=function(){try{return _4&&_4.require&&_4.require(`util`).types||v4&&v4.binding&&v4.binding(`util`)}catch{}}(),b4=y4&&y4.isTypedArray,x4=b4?h4(b4):Fse,Ise=Object.prototype.hasOwnProperty;function S4(e,t){var n=s2(e),r=!n&&l4(e),i=!n&&!r&&p4(e),a=!n&&!r&&!i&&x4(e),o=n||r||i||a,s=o?ose(e.length,String):[],c=s.length;for(var l in e)(t||Ise.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||Y2(l,c)))&&s.push(l);return s}function C4(e,t){return function(n){return e(t(n))}}var Lse=C4(Object.keys,Object),Rse=Object.prototype.hasOwnProperty;function zse(e){if(!o4(e))return Lse(e);var t=[];for(var n in Object(e))Rse.call(e,n)&&n!=`constructor`&&t.push(n);return t}function w4(e){return i4(e)?S4(e):zse(e)}function Bse(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Vse=Object.prototype.hasOwnProperty;function Hse(e){if(!f2(e))return Bse(e);var t=o4(e),n=[];for(var r in e)r==`constructor`&&(t||!Vse.call(e,r))||n.push(r);return n}function T4(e){return i4(e)?S4(e,!0):Hse(e)}var Use=a4(function(e,t,n,r){e4(t,T4(t),e,r)}),Wse=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Gse=/^\w*$/;function E4(e,t){if(s2(e))return!1;var n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||a2(e)?!0:Gse.test(e)||!Wse.test(e)||t!=null&&e in Object(t)}var D4=N2(Object,`create`);function Kse(){this.__data__=D4?D4(null):{},this.size=0}function qse(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}var Jse=`__lodash_hash_undefined__`,Yse=Object.prototype.hasOwnProperty;function Xse(e){var t=this.__data__;if(D4){var n=t[e];return n===Jse?void 0:n}return Yse.call(t,e)?t[e]:void 0}var Zse=Object.prototype.hasOwnProperty;function Qse(e){var t=this.__data__;return D4?t[e]!==void 0:Zse.call(t,e)}var $se=`__lodash_hash_undefined__`;function ece(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=D4&&t===void 0?$se:t,this}function O4(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}O4.prototype.clear=Kse,O4.prototype.delete=qse,O4.prototype.get=Xse,O4.prototype.has=Qse,O4.prototype.set=ece;function tce(){this.__data__=[],this.size=0}function k4(e,t){for(var n=e.length;n--;)if(Z2(e[n][0],t))return n;return-1}var nce=Array.prototype.splice;function rce(e){var t=this.__data__,n=k4(t,e);return n<0?!1:(n==t.length-1?t.pop():nce.call(t,n,1),--this.size,!0)}function ice(e){var t=this.__data__,n=k4(t,e);return n<0?void 0:t[n][1]}function ace(e){return k4(this.__data__,e)>-1}function oce(e,t){var n=this.__data__,r=k4(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function A4(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}A4.prototype.clear=tce,A4.prototype.delete=rce,A4.prototype.get=ice,A4.prototype.has=ace,A4.prototype.set=oce;var j4=N2(W0,`Map`);function sce(){this.size=0,this.__data__={hash:new O4,map:new(j4||A4),string:new O4}}function cce(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function M4(e,t){var n=e.__data__;return cce(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function lce(e){var t=M4(this,e).delete(e);return this.size-=+!!t,t}function uce(e){return M4(this,e).get(e)}function dce(e){return M4(this,e).has(e)}function fce(e,t){var n=M4(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function N4(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}N4.prototype.clear=sce,N4.prototype.delete=lce,N4.prototype.get=uce,N4.prototype.has=dce,N4.prototype.set=fce;var pce=`Expected a function`;function P4(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(pce);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(P4.Cache||N4),n}P4.Cache=N4;var mce=500;function hce(e){var t=P4(e,function(e){return n.size===mce&&n.clear(),e}),n=t.cache;return t}var gce=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,_ce=/\\(\\)?/g,vce=hce(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(gce,function(e,n,r,i){t.push(r?i.replace(_ce,`$1`):n||e)}),t});function yce(e){return e==null?``:d2(e)}function F4(e,t){return s2(e)?e:E4(e,t)?[e]:vce(yce(e))}var bce=1/0;function I4(e){if(typeof e==`string`||a2(e))return e;var t=e+``;return t==`0`&&1/e==-bce?`-0`:t}function L4(e,t){t=F4(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[I4(t[n++])];return n&&n==r?e:void 0}function xce(e,t,n){var r=e==null?void 0:L4(e,t);return r===void 0?n:r}function R4(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var z4=C4(Object.getPrototypeOf,Object),Sce=`[object Object]`,Cce=Function.prototype,wce=Object.prototype,B4=Cce.toString,Tce=wce.hasOwnProperty,Ece=B4.call(Object);function Dce(e){if(!r2(e)||n2(e)!=Sce)return!1;var t=z4(e);if(t===null)return!0;var n=Tce.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&B4.call(n)==Ece}function Oce(){this.__data__=new A4,this.size=0}function kce(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Ace(e){return this.__data__.get(e)}function jce(e){return this.__data__.has(e)}var Mce=200;function Nce(e,t){var n=this.__data__;if(n instanceof A4){var r=n.__data__;if(!j4||r.length<Mce-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new N4(r)}return n.set(e,t),this.size=n.size,this}function V4(e){var t=this.__data__=new A4(e);this.size=t.size}V4.prototype.clear=Oce,V4.prototype.delete=kce,V4.prototype.get=Ace,V4.prototype.has=jce,V4.prototype.set=Nce;function Pce(e,t){return e&&e4(t,w4(t),e)}function Fce(e,t){return e&&e4(t,T4(t),e)}var H4=typeof exports==`object`&&exports&&!exports.nodeType&&exports,U4=H4&&typeof module==`object`&&module&&!module.nodeType&&module,W4=U4&&U4.exports===H4?W0.Buffer:void 0,G4=W4?W4.allocUnsafe:void 0;function K4(e,t){if(t)return e.slice();var n=e.length,r=G4?G4(n):new e.constructor(n);return e.copy(r),r}function Ice(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function q4(){return[]}var Lce=Object.prototype.propertyIsEnumerable,J4=Object.getOwnPropertySymbols,Y4=J4?function(e){return e==null?[]:(e=Object(e),Ice(J4(e),function(t){return Lce.call(e,t)}))}:q4;function Rce(e,t){return e4(e,Y4(e),t)}var X4=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)R4(t,Y4(e)),e=z4(e);return t}:q4;function zce(e,t){return e4(e,X4(e),t)}function Z4(e,t,n){var r=t(e);return s2(e)?r:R4(r,n(e))}function Q4(e){return Z4(e,w4,Y4)}function Bce(e){return Z4(e,T4,X4)}var $4=N2(W0,`DataView`),e3=N2(W0,`Promise`),t3=N2(W0,`Set`),n3=`[object Map]`,Vce=`[object Object]`,r3=`[object Promise]`,i3=`[object Set]`,a3=`[object WeakMap]`,o3=`[object DataView]`,Hce=C2($4),Uce=C2(j4),Wce=C2(e3),Gce=C2(t3),Kce=C2(P2),s3=n2;($4&&s3(new $4(new ArrayBuffer(1)))!=o3||j4&&s3(new j4)!=n3||e3&&s3(e3.resolve())!=r3||t3&&s3(new t3)!=i3||P2&&s3(new P2)!=a3)&&(s3=function(e){var t=n2(e),n=t==Vce?e.constructor:void 0,r=n?C2(n):``;if(r)switch(r){case Hce:return o3;case Uce:return n3;case Wce:return r3;case Gce:return i3;case Kce:return a3}return t});var qce=Object.prototype.hasOwnProperty;function Jce(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&qce.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}var c3=W0.Uint8Array;function l3(e){var t=new e.constructor(e.byteLength);return new c3(t).set(new c3(e)),t}function Yce(e,t){var n=t?l3(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Xce=/\w*$/;function Zce(e){var t=new e.constructor(e.source,Xce.exec(e));return t.lastIndex=e.lastIndex,t}var u3=G0?G0.prototype:void 0,d3=u3?u3.valueOf:void 0;function Qce(e){return d3?Object(d3.call(e)):{}}function f3(e,t){var n=t?l3(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var $ce=`[object Boolean]`,ele=`[object Date]`,tle=`[object Map]`,nle=`[object Number]`,rle=`[object RegExp]`,ile=`[object Set]`,ale=`[object String]`,ole=`[object Symbol]`,sle=`[object ArrayBuffer]`,cle=`[object DataView]`,lle=`[object Float32Array]`,ule=`[object Float64Array]`,dle=`[object Int8Array]`,fle=`[object Int16Array]`,ple=`[object Int32Array]`,mle=`[object Uint8Array]`,hle=`[object Uint8ClampedArray]`,gle=`[object Uint16Array]`,_le=`[object Uint32Array]`;function vle(e,t,n){var r=e.constructor;switch(t){case sle:return l3(e);case $ce:case ele:return new r(+e);case cle:return Yce(e,n);case lle:case ule:case dle:case fle:case ple:case mle:case hle:case gle:case _le:return f3(e,n);case tle:return new r;case nle:case ale:return new r(e);case rle:return Zce(e);case ile:return new r;case ole:return Qce(e)}}function p3(e){return typeof e.constructor==`function`&&!o4(e)?I2(z4(e)):{}}var yle=`[object Map]`;function ble(e){return r2(e)&&s3(e)==yle}var m3=y4&&y4.isMap,xle=m3?h4(m3):ble,Sle=`[object Set]`;function Cle(e){return r2(e)&&s3(e)==Sle}var h3=y4&&y4.isSet,wle=h3?h4(h3):Cle,Tle=1,Ele=2,Dle=4,g3=`[object Arguments]`,Ole=`[object Array]`,kle=`[object Boolean]`,Ale=`[object Date]`,jle=`[object Error]`,_3=`[object Function]`,Mle=`[object GeneratorFunction]`,Nle=`[object Map]`,Ple=`[object Number]`,v3=`[object Object]`,Fle=`[object RegExp]`,Ile=`[object Set]`,Lle=`[object String]`,Rle=`[object Symbol]`,zle=`[object WeakMap]`,Ble=`[object ArrayBuffer]`,Vle=`[object DataView]`,Hle=`[object Float32Array]`,Ule=`[object Float64Array]`,Wle=`[object Int8Array]`,Gle=`[object Int16Array]`,Kle=`[object Int32Array]`,qle=`[object Uint8Array]`,Jle=`[object Uint8ClampedArray]`,Yle=`[object Uint16Array]`,Xle=`[object Uint32Array]`,y3={};y3[g3]=y3[Ole]=y3[Ble]=y3[Vle]=y3[kle]=y3[Ale]=y3[Hle]=y3[Ule]=y3[Wle]=y3[Gle]=y3[Kle]=y3[Nle]=y3[Ple]=y3[v3]=y3[Fle]=y3[Ile]=y3[Lle]=y3[Rle]=y3[qle]=y3[Jle]=y3[Yle]=y3[Xle]=!0,y3[jle]=y3[_3]=y3[zle]=!1;function b3(e,t,n,r,i,a){var o,s=t&Tle,c=t&Ele,l=t&Dle;if(o!==void 0)return o;if(!f2(e))return e;var u=s2(e);if(u){if(o=Jce(e),!s)return R2(e,o)}else{var d=s3(e),f=d==_3||d==Mle;if(p4(e))return K4(e,s);if(d==v3||d==g3||f&&!i){if(o=c||f?{}:p3(e),!s)return c?zce(e,Fce(o,e)):Rce(e,Pce(o,e))}else{if(!y3[d])return i?e:{};o=vle(e,d,s)}}a||(a=new V4);var p=a.get(e);if(p)return p;a.set(e,o),wle(e)?e.forEach(function(r){o.add(b3(r,t,n,r,e,a))}):xle(e)&&e.forEach(function(r,i){o.set(i,b3(r,t,n,i,e,a))});var m=u?void 0:(l?c?Bce:Q4:c?T4:w4)(e);return K2(m||e,function(r,i){m&&(i=r,r=e[i]),$2(o,i,b3(r,t,n,i,e,a))}),o}var Zle=1,Qle=4;function $le(e){return b3(e,Zle|Qle)}var eue=`__lodash_hash_undefined__`;function tue(e){return this.__data__.set(e,eue),this}function nue(e){return this.__data__.has(e)}function x3(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new N4;++t<n;)this.add(e[t])}x3.prototype.add=x3.prototype.push=tue,x3.prototype.has=nue;function rue(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function iue(e,t){return e.has(t)}var aue=1,oue=2;function S3(e,t,n,r,i,a){var o=n&aue,s=e.length,c=t.length;if(s!=c&&!(o&&c>s))return!1;var l=a.get(e),u=a.get(t);if(l&&u)return l==t&&u==e;var d=-1,f=!0,p=n&oue?new x3:void 0;for(a.set(e,t),a.set(t,e);++d<s;){var m=e[d],h=t[d];if(r)var g=o?r(h,m,d,t,e,a):r(m,h,d,e,t,a);if(g!==void 0){if(g)continue;f=!1;break}if(p){if(!rue(t,function(e,t){if(!iue(p,t)&&(m===e||i(m,e,n,r,a)))return p.push(t)})){f=!1;break}}else if(!(m===h||i(m,h,n,r,a))){f=!1;break}}return a.delete(e),a.delete(t),f}function sue(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function cue(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var lue=1,uue=2,due=`[object Boolean]`,fue=`[object Date]`,pue=`[object Error]`,mue=`[object Map]`,hue=`[object Number]`,gue=`[object RegExp]`,_ue=`[object Set]`,vue=`[object String]`,yue=`[object Symbol]`,bue=`[object ArrayBuffer]`,xue=`[object DataView]`,C3=G0?G0.prototype:void 0,w3=C3?C3.valueOf:void 0;function Sue(e,t,n,r,i,a,o){switch(n){case xue:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case bue:return!(e.byteLength!=t.byteLength||!a(new c3(e),new c3(t)));case due:case fue:case hue:return Z2(+e,+t);case pue:return e.name==t.name&&e.message==t.message;case gue:case vue:return e==t+``;case mue:var s=sue;case _ue:var c=r&lue;if(s||(s=cue),e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;r|=uue,o.set(e,t);var u=S3(s(e),s(t),r,i,a,o);return o.delete(e),u;case yue:if(w3)return w3.call(e)==w3.call(t)}return!1}var Cue=1,wue=Object.prototype.hasOwnProperty;function Tue(e,t,n,r,i,a){var o=n&Cue,s=Q4(e),c=s.length;if(c!=Q4(t).length&&!o)return!1;for(var l=c;l--;){var u=s[l];if(!(o?u in t:wue.call(t,u)))return!1}var d=a.get(e),f=a.get(t);if(d&&f)return d==t&&f==e;var p=!0;a.set(e,t),a.set(t,e);for(var m=o;++l<c;){u=s[l];var h=e[u],g=t[u];if(r)var _=o?r(g,h,u,t,e,a):r(h,g,u,e,t,a);if(!(_===void 0?h===g||i(h,g,n,r,a):_)){p=!1;break}m||(m=u==`constructor`)}if(p&&!m){var v=e.constructor,y=t.constructor;v!=y&&`constructor`in e&&`constructor`in t&&!(typeof v==`function`&&v instanceof v&&typeof y==`function`&&y instanceof y)&&(p=!1)}return a.delete(e),a.delete(t),p}var Eue=1,T3=`[object Arguments]`,E3=`[object Array]`,D3=`[object Object]`,O3=Object.prototype.hasOwnProperty;function Due(e,t,n,r,i,a){var o=s2(e),s=s2(t),c=o?E3:s3(e),l=s?E3:s3(t);c=c==T3?D3:c,l=l==T3?D3:l;var u=c==D3,d=l==D3,f=c==l;if(f&&p4(e)){if(!p4(t))return!1;o=!0,u=!1}if(f&&!u)return a||(a=new V4),o||x4(e)?S3(e,t,n,r,i,a):Sue(e,t,c,n,r,i,a);if(!(n&Eue)){var p=u&&O3.call(e,`__wrapped__`),m=d&&O3.call(t,`__wrapped__`);if(p||m){var h=p?e.value():e,g=m?t.value():t;return a||(a=new V4),i(h,g,n,r,a)}}return f?(a||(a=new V4),Tue(e,t,n,r,i,a)):!1}function k3(e,t,n,r,i){return e===t?!0:e==null||t==null||!r2(e)&&!r2(t)?e!==e&&t!==t:Due(e,t,n,r,k3,i)}var Oue=1,kue=2;function Aue(e,t,n,r){var i=n.length,a=i;if(e==null)return!a;for(e=Object(e);i--;){var o=n[i];if(o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++i<a;){o=n[i];var s=o[0],c=e[s],l=o[1];if(o[2]){if(c===void 0&&!(s in e))return!1}else{var u=new V4,d;if(!(d===void 0?k3(l,c,Oue|kue,r,u):d))return!1}}return!0}function A3(e){return e===e&&!f2(e)}function jue(e){for(var t=w4(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,A3(i)]}return t}function j3(e,t){return function(n){return n!=null&&n[e]===t&&(t!==void 0||e in Object(n))}}function Mue(e){var t=jue(e);return t.length==1&&t[0][2]?j3(t[0][0],t[0][1]):function(n){return n===e||Aue(n,e,t)}}function Nue(e,t){return e!=null&&t in Object(e)}function Pue(e,t,n){t=F4(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=I4(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&r4(i)&&Y2(o,i)&&(s2(e)||l4(e)))}function Fue(e,t){return e!=null&&Pue(e,t,Nue)}var Iue=1,Lue=2;function Rue(e,t){return E4(e)&&A3(t)?j3(I4(e),t):function(n){var r=xce(n,e);return r===void 0&&r===t?Fue(n,e):k3(t,r,Iue|Lue)}}function zue(e){return function(t){return t==null?void 0:t[e]}}function Bue(e){return function(t){return L4(t,e)}}function Vue(e){return E4(e)?zue(I4(e)):Bue(e)}function Hue(e){return typeof e==`function`?e:e==null?p2:typeof e==`object`?s2(e)?Rue(e[0],e[1]):Mue(e):Vue(e)}function Uue(e){return function(e,t,n){for(var r=-1,i=Object(e),a=n(e),o=a.length;o--;){var s=a[++r];if(t(i[s],s,i)===!1)break}return e}}var M3=Uue();function Wue(e,t){return e&&M3(e,t,w4)}function N3(e,t,n){(n!==void 0&&!Z2(e[t],n)||n===void 0&&!(t in e))&&X2(e,t,n)}function Gue(e){return r2(e)&&i4(e)}function P3(e,t){if((t!==`constructor`||typeof e[t]!=`function`)&&t!=`__proto__`)return e[t]}function Kue(e){return e4(e,T4(e))}function que(e,t,n,r,i,a,o){var s=P3(e,n),c=P3(t,n),l=o.get(c);if(l){N3(e,n,l);return}var u=a?a(s,c,n+``,e,t,o):void 0,d=u===void 0;if(d){var f=s2(c),p=!f&&p4(c),m=!f&&!p&&x4(c);u=c,f||p||m?s2(s)?u=s:Gue(s)?u=R2(s):p?(d=!1,u=K4(c,!0)):m?(d=!1,u=f3(c,!0)):u=[]:Dce(c)||l4(c)?(u=s,l4(s)?u=Kue(s):(!f2(s)||v2(s))&&(u=p3(c))):d=!1}d&&(o.set(c,u),i(u,c,r,a,o),o.delete(c)),N3(e,n,u)}function F3(e,t,n,r,i){e!==t&&M3(t,function(a,o){if(i||(i=new V4),f2(a))que(e,t,o,n,F3,r,i);else{var s=r?r(P3(e,o),a,o+``,e,t,i):void 0;s===void 0&&(s=a),N3(e,o,s)}},T4)}var Jue=a4(function(e,t,n,r){F3(e,t,n,r)});function Yue(e,t){var n={};return t=Hue(t),Wue(e,function(e,r,i){X2(n,t(e,r,i),e)}),n}var Xue=RegExp(`([\\p{Ll}\\d])(\\p{Lu})`,`gu`),Zue=RegExp(`(\\p{Lu})([\\p{Lu}][\\p{Ll}])`,`gu`),Que=RegExp(`(\\d)\\p{Ll}|(\\p{L})\\d`,`u`),$ue=/[^\p{L}\d]+/giu,I3=`$1\0$2`,L3=``;function R3(e){let t=e.trim();t=t.replace(Xue,I3).replace(Zue,I3),t=t.replace($ue,`\0`);let n=0,r=t.length;for(;t.charAt(n)===`\0`;)n++;if(n===r)return[];for(;t.charAt(r-1)===`\0`;)r--;return t.slice(n,r).split(/\0/g)}function ede(e){let t=R3(e);for(let e=0;e<t.length;e++){let r=t[e],i=Que.exec(r);if(i){var n;let a=i.index+((n=i[1])==null?i[2]:n).length;t.splice(e,1,r.slice(0,a),r.slice(a))}}return t}function tde(e,t){let[n,r,i]=ade(e,t),a=nde(t==null?void 0:t.locale),o=ide(a,rde(t==null?void 0:t.locale));return n+r.map((e,t)=>t===0?a(e):o(e,t)).join(``)+i}function nde(e){return t=>t.toLocaleLowerCase(e)}function rde(e){return t=>t.toLocaleUpperCase(e)}function ide(e,t){return(n,r)=>{let i=n[0];return(r>0&&i>=`0`&&i<=`9`?`_`+i:t(i))+e(n.slice(1))}}function ade(e,t={}){var n,r,i;let a=(n=t.split)==null?t.separateNumbers?ede:R3:n,o=(r=t.prefixCharacters)==null?L3:r,s=(i=t.suffixCharacters)==null?L3:i,c=0,l=e.length;for(;c<e.length;){let t=e.charAt(c);if(!o.includes(t))break;c++}for(;l>c;){let t=l-1,n=e.charAt(t);if(!s.includes(n))break;l=t}return[e.slice(0,c),a(e.slice(c,l)),e.slice(l)]}var z3=e=>/.+-.+/.test(e)?tde(e):e,ode=e=>Object.prototype.toString.call(e).slice(8,-1)===`Object`;function sde(e,t){let n=Object.create(null),r=e.split(`,`);for(let e=0;e<r.length;e++)n[r[e]]=!0;return e=>!!n[e]}var cde=sde(`String,Number,Boolean,Function,Symbol,BigInt`);function lde(e){let t=e==null?void 0:e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?`null`:``}function ude(e,t){let n,r=lde(t);if(cde(r)){let i=typeof e;n=i===r.toLowerCase(),!n&&i===`object`&&(n=e instanceof t)}else n=r===`Object`?f2(e):r===`Array`?Array.isArray(e):r===`null`?e===null:e instanceof t;return{valid:n,expectedType:r}}function dde({prop:e,type:t,validator:n}){if(![void 0,null].includes(e)&&t){let n=!1,r=Array.isArray(t)?t:[t],i=[];for(let t=0;t<r.length&&!n;t++){let{valid:a,expectedType:o}=ude(e,r[t]);i.push(o||``),n=a}if(!n)throw TypeError(`Invalid prop: type check failed, expecting [${i.join(`, `)}], receiving: ${e}`)}if(n&&!n(e))throw Error(`Invalid prop: validator check failed, receiving: ${e}`)}function fde(e,{mergeObject:t,mergeObjectCustomizer:n,mergeFunction:r}){let i=[];for(let t=e.length-1;t>=0;t--)i.push(e[t]);let a=n||(r?(e,t)=>typeof e==`function`&&typeof t==`function`?r==null?void 0:r(t,e):void 0:void 0);return t===`deep`?Jue(...i,a):Use(...i,a)}function pde(e,{mergeFunction:t}){return e.reduce(t,()=>{})}function B3(e,t={}){let{type:n,default:r,defaultIsDynamic:i=!1,required:a=!1,validator:o,camelizeObjectKeys:s=!1,mergeObjectApplyOnlyToDefault:c=!1,mergeFunctionApplyOnlyToDefault:l=!0}=t,{mergeObject:u=`deep`,mergeObjectCustomizer:d,mergeFunction:f=!1}=t,p=[],m,h=!1,g=!1,_=e=>{if(e!==void 0){dde({type:n,prop:e,validator:o});let t=ode(e),r=typeof e==`function`;return h=t,g=r,t?(e=$le(e),s?Yue(e,(e,t)=>z3(t)):e):e}};for(let t of e)p.push(_(t));if(!i)p.push(_(r));else if(typeof r!=`function`)throw TypeError(`Invalid option: options.default should be Function when options.defaultIsDynamic enabled, receiving: ${r}`);h||(u=!1,g||(f=!1));for(let e=0;e<p.length;e++){let t=p[e];if(t!==void 0){m=e===p.length-1?t:u?fde(c?[t,r]:p,{mergeObject:u,mergeObjectCustomizer:d,mergeFunction:f}):f?pde(l?[t,r]:p,{mergeFunction:f}):t;break}}if(a&&[void 0,null].includes(m))throw Error(`Missing required prop`);return i?B3(e,{...t,default:r(m),defaultIsDynamic:!1}):m}function V3(e){let t=Array.from(z3(e));return t[0]=t[0].toUpperCase(),t.unshift(`o`,`n`),t.join(``)}function mde(e,{props:t=[],camelizePropNames:n=!1}={}){let r={props:{},attrs:{},listeners:{},hooks:{},slots:{}},i;if(Array.isArray(t))i=n?t.map(e=>z3(e)):t;else if(n){i=[];for(let e in t)i.push(z3(e))}else i=Object.keys(t);for(let t in e)if(t.startsWith(`@`)){let n=t.substring(1);if(n.startsWith(`vue:`))r.hooks[V3(n.replace(`vue:`,`vnode-`))]=e[t];else{if(n.startsWith(`vnode`))throw Error(`@vnode-* hooks are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in Vue 3.4.`);r.listeners[V3(n)]=e[t]}}else if(t.startsWith(`#`)){let n=t.substring(1);n&&(r.slots[n]=e[t])}else{let a=n?z3(t):t;i.includes(a)?r.props[a]=e[t]:r.attrs[t]=e[t]}return r}var H3=`JsonEditorVue`,U3=[`mainMenuBar`,`navigationBar`,`statusBar`,`askToFormat`,`readOnly`,`escapeControlCharacters`,`escapeUnicodeCharacters`,`flattenColumns`],W3={},G3={},K3=`modelValue`,q3=`update:modelValue`,J3={[K3]:{},mode:{type:String},debounce:{type:Number},stringified:{type:Boolean,default:void 0},...Object.fromEntries(U3.map(e=>[e,{type:Boolean,default:void 0}]))},hde=(0,rl.defineComponent)({name:H3,install(e,t){let n=mde(t||{},{props:J3});W3={...n.props},G3={...n.attrs},e.component(H3,this)},props:J3,emits:{[q3](e){return!0},"update:mode":function(e){return!0}},setup(e,{attrs:t,emit:n,expose:r}){var i;let a=(i=(0,rl.getCurrentInstance)())==null?void 0:i.proxy,o=(0,rl.ref)(),s=(0,rl.ref)(!1),c=(0,rl.ref)();(0,rl.watchEffect)(()=>{var t;c.value=B3([e.mode,W3.mode],{type:String}),(t=o.value)==null||t.updateProps({mode:c.value||cG.tree})});let l=e=>{n(`update:mode`,e)};W3.mode!==void 0&&e.mode===void 0&&l(W3.mode);let u=(0,rl.computed)(()=>B3([e.debounce,W3.debounce,300],{type:Number})),d=(0,rl.computed)(()=>B3([e.stringified,W3.stringified,!0],{type:Boolean})),f=o0,p=e=>{if(s.value=!0,!d.value&&e.text){try{s0(e.text),e.json=f(e.text)}catch{}e.text=void 0}n(q3,e.text===void 0?e.json:e.text)},m=V0(p,u.value);(0,rl.watch)(u,e=>{m.cancel(),m=V0(p,e)});let h=e=>{c.value===`text`?m(e):p(e)},g=(e,t)=>(...n)=>{e(...n),t(...n)};return r==null||r({jsonEditor:o}),(0,rl.onUnmounted)(()=>{var e;m.cancel(),(e=o.value)==null||e.destroy()}),(0,rl.onMounted)(()=>{let n=B3([e[K3],W3[K3]]),i=B3([Object.fromEntries(Array.from(U3,t=>[t,B3([e[t],W3[t]])]).filter(([,e])=>e!==void 0)),t,G3],{camelizeObjectKeys:!0,defaultIsDynamic:!0,default:e=>{var t;return f=((t=e.parser)==null?void 0:t.parse)||o0,{onChange:h,onChangeMode:l,mode:c.value,parser:{parse:s0,stringify:JSON.stringify},...n!==void 0&&{content:{[typeof n==`string`&&c.value===`text`&&d.value?`text`:`json`]:n}}}},mergeFunction:g,mergeObject:`shallow`,type:Object});o.value=e0({target:a==null?void 0:a.$refs.jsonEditorRef,props:i}),(0,rl.watch)(()=>e[K3],e=>{if(s.value){s.value=!1;return}o.value&&o.value.set([void 0,``].includes(e)?{text:``}:{[typeof e==`string`&&c.value===`text`&&d.value?`text`:`json`]:e})},{deep:!0}),(0,rl.watch)(()=>Array.from(U3,t=>e[t]),e=>{var t;(t=o.value)==null||t.updateProps(Object.fromEntries(Array.from(e,(e,t)=>[U3[t],e]).filter(([,e])=>e!==void 0)))}),(0,rl.watch)(()=>t,e=>{var t,n;let r={};(e.onChange||e[`on-change`])&&(r.onChange=h),(e.onChangeMode||e[`on-change-mode`])&&(r.onChangeMode=l),f=((t=e.parser)==null?void 0:t.parse)||o0,(n=o.value)==null||n.updateProps(Object.getOwnPropertyNames(r).length>0?B3([e,r],{camelizeObjectKeys:!0,mergeFunction:g,mergeObject:`shallow`,type:Object}):e)},{deep:!0}),r||(r=e=>{for(let t in e)a[t]=(0,rl.unref)(e[t])},r({jsonEditor:o}))}),()=>(0,rl.h)(`div`,{ref:`jsonEditorRef`})}}),Y3={__name:`OAJSONEditor`,props:{modelValue:{type:Object,required:!0},options:{type:Object,default:()=>({})}},emits:[`update:modelValue`],setup(n,{emit:r}){let i=n,a=r,o=(0,t.computed)({get:()=>i.modelValue,set:e=>a(`update:modelValue`,e)}),s=e.b(),c=s.isDark;return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(hde),{modelValue:o.value,"onUpdate:modelValue":n[0]||(n[0]=e=>o.value=e),"main-menu-bar":(0,t.unref)(s).getPlaygroundJsonEditorMainMenuBar(),"navigation-bar":(0,t.unref)(s).getPlaygroundJsonEditorNavigationBar(),mode:(0,t.unref)(s).getPlaygroundJsonEditorMode(),"status-bar":(0,t.unref)(s).getPlaygroundJsonEditorStatusBar(),class:(0,t.normalizeClass)([`oa-jse`,{"oa-jse-theme-dark":(0,t.unref)(c),"oa-jse-theme-light":!(0,t.unref)(c)}])},null,8,[`modelValue`,`main-menu-bar`,`navigation-bar`,`mode`,`status-bar`,`class`]))}},gde=(0,n.defineComponent)({__name:`Textarea`,props:{class:{type:[Boolean,null,String,Object,Array]},defaultValue:{},modelValue:{}},emits:[`update:modelValue`],setup(t,{emit:r}){let i=t,a=e.V(i,`modelValue`,r,{passive:!0,defaultValue:i.defaultValue});return(e,t)=>(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createElementBlock)(`textarea`,{"onUpdate:modelValue":t[0]||(t[0]=e=>(0,n.isRef)(a)?a.value=e:null),class:(0,n.normalizeClass)((0,n.unref)(qt)(`flex min-h-20 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50`,i.class))},null,2)),[[n.vModelText,(0,n.unref)(a)]])}}),X3=(0,n.defineComponent)({__name:`Checkbox`,props:{variant:{},defaultValue:{},modelValue:{},disabled:{type:Boolean},value:{},id:{},trueValue:{},falseValue:{},asChild:{type:Boolean},as:{},name:{},required:{type:Boolean},class:{type:[Boolean,null,String,Object,Array]}},emits:[`update:modelValue`],setup(e,{emit:t}){let r=e,i=t,a=Co((0,n.computed)(()=>{let{class:e,...t}=r;return t}),i);return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ol),(0,n.mergeProps)((0,n.unref)(a),{class:(0,n.unref)(qt)((0,n.unref)(_de)({variant:r.variant}),r.class)}),{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(kl),{class:`flex h-full w-full items-center justify-center text-current`},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{},()=>[(0,n.createVNode)((0,n.unref)(qu),{class:`h-4 w-4`})])]),_:3})]),_:3},16,[`class`]))}}),_de=M(`peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50`,{variants:{variant:{default:`data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=unchecked]:bg-white data-[state=unchecked]:border-solid data-[state=unchecked]:dark:bg-gray-600`,toggle:`border-solid`}},defaultVariants:{variant:`default`}}),vde={key:0,class:`relative flex items-center w-full`},yde=[`type`],bde=[`type`],Z3=(0,n.defineComponent)({inheritAttrs:!1,__name:`Input`,props:{defaultValue:{},modelValue:{},class:{type:[Boolean,null,String,Object,Array]},type:{},clearable:{type:Boolean}},emits:[`update:modelValue`],setup(t,{emit:r}){let i=t,a=e.V(i,`modelValue`,r,{passive:!0,defaultValue:i.defaultValue});function o(){a.value=``}return(e,r)=>{var s,c;return t.clearable?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,vde,[(0,n.withDirectives)((0,n.createElementVNode)(`input`,(0,n.mergeProps)(e.$attrs,{"onUpdate:modelValue":r[0]||(r[0]=e=>(0,n.isRef)(a)?a.value=e:null),type:(s=i.type)==null?`text`:s,class:(0,n.unref)(qt)(`flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 pr-8`,i.class)}),null,16,yde),[[n.vModelDynamic,(0,n.unref)(a)]]),(0,n.unref)(a)!==``&&(0,n.unref)(a)!==null&&(0,n.unref)(a)!==void 0?((0,n.openBlock)(),(0,n.createElementBlock)(`button`,{key:0,type:`button`,class:`absolute right-2 text-muted-foreground hover:text-foreground focus:outline-none`,tabindex:`-1`,onClick:o},[(0,n.createVNode)((0,n.unref)(Ute),{class:`h-4 w-4`})])):(0,n.createCommentVNode)(``,!0)])):(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createElementBlock)(`input`,(0,n.mergeProps)({key:1},e.$attrs,{"onUpdate:modelValue":r[1]||(r[1]=e=>(0,n.isRef)(a)?a.value=e:null),type:(c=i.type)==null?`text`:c,class:(0,n.unref)(qt)(`flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50`,i.class)}),null,16,bde)),[[n.vModelDynamic,(0,n.unref)(a)]])}}}),Q3=(0,n.defineComponent)({__name:`Label`,props:{for:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e,r=(0,n.computed)(()=>{let{class:e,...n}=t;return n});return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Al),(0,n.mergeProps)(r.value,{class:(0,n.unref)(qt)(`text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70`,t.class)}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`class`]))}}),xde={key:0,class:`text-sm text-destructive`},Sde={key:3,class:`flex-grow flex items-center gap-1`},$3=(0,n.defineComponent)({__name:`OAPlaygroundParameterInput`,props:{parameter:{type:Object,required:!0},modelValue:{type:[String,Number,Boolean,null,Array,Object,File],required:!0},compositeKey:{type:String,required:!0},exampleBehavior:{type:String,default:`value`},xExampleBehavior:{type:String,default:`value`},enabled:{type:Boolean,default:!0},hideLabel:{type:Boolean,default:!1}},emits:[`update:modelValue`,`update:enabled`,`submit`],setup(e,{emit:t}){let r=e,i=t,{t:a}=l(),o=(0,n.computed)(()=>af(r.parameter,r.exampleBehavior,r.xExampleBehavior)),s=(0,n.computed)(()=>rf(r.parameter,r.exampleBehavior,r.xExampleBehavior)),c=(0,n.computed)(()=>{var e;return ud((e=o.value)==null?a(`Select`):e)}),u=(0,n.computed)(()=>{var e;return ud((e=o.value)==null?``:e)}),d=(0,n.computed)(()=>typeof r.modelValue==`object`&&r.modelValue!==null?JSON.stringify(r.modelValue):r.modelValue);(0,n.onMounted)(()=>{var e;if((e=r.parameter.schema)!=null&&e.enum){var t;i(`update:modelValue`,(t=s.value)==null?r.parameter.schema.enum[0]:t)}});function f(e){r.enabled||i(`update:enabled`,!0),i(`update:modelValue`,e)}function p(e){var t;return((t=e.schema)==null?void 0:t.format)===`binary`}function m(e){var t,n;return((t=e.schema)==null?void 0:t.type)===`integer`||((n=e.schema)==null?void 0:n.type)===`number`?`number`:p(e)?`file`:`text`}function h(e){var t;let n=e.target,r=n==null||(t=n.files)==null?void 0:t[0];f(r==null?null:r)}return(t,r)=>{var a,o,s,l,g,_,v;return(0,n.openBlock)(),(0,n.createElementBlock)(`div`,{class:(0,n.normalizeClass)([`grid gap-2`,{"grid-cols-2":!e.hideLabel,"grid-cols-1":e.hideLabel,"items-center":((a=e.parameter.schema)==null?void 0:a.type)!==`object`,"items-start":((o=e.parameter.schema)==null?void 0:o.type)===`object`}])},[e.hideLabel?(0,n.createCommentVNode)(``,!0):((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:0,class:(0,n.normalizeClass)([`flex items-center gap-2`,{"pt-2":((s=e.parameter.schema)==null?void 0:s.type)===`object`}])},[(0,n.createVNode)((0,n.unref)(X3),{id:`enable-${e.compositeKey}`,name:`enable-${e.compositeKey}`,"model-value":e.enabled,variant:`toggle`,"onUpdate:modelValue":r[0]||(r[0]=e=>i(`update:enabled`,e))},null,8,[`id`,`name`,`model-value`]),e.parameter.name?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Q3),{key:0,for:e.compositeKey,class:`text-sm font-bold space-x-2`},{default:(0,n.withCtx)(()=>[(0,n.createElementVNode)(`span`,null,(0,n.toDisplayString)(e.parameter.name),1),e.parameter.required?((0,n.openBlock)(),(0,n.createElementBlock)(`span`,xde,`*`)):(0,n.createCommentVNode)(``,!0)]),_:1},8,[`for`])):(0,n.createCommentVNode)(``,!0)],2)),(0,n.createElementVNode)(`div`,{class:(0,n.normalizeClass)([`flex items-center flex-grow gap-2`,{"opacity-50":!e.enabled}])},[[`boolean`].includes((l=e.parameter.schema)==null?void 0:l.type)?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(X3),{key:0,id:e.compositeKey,name:e.compositeKey,"model-value":String(e.modelValue)===``?`indeterminate`:e.modelValue,"onUpdate:modelValue":r[1]||(r[1]=e=>f(e)),onKeydown:r[2]||(r[2]=(0,n.withKeys)(e=>i(`submit`),[`enter`]))},null,8,[`id`,`name`,`model-value`])):(g=e.parameter.schema)!=null&&g.enum?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Pu),{key:1,id:e.compositeKey,name:e.compositeKey,"model-value":String((_=e.modelValue)==null?``:_),"onUpdate:modelValue":r[3]||(r[3]=e=>f(e))},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Qu),{"aria-label":c.value,class:`bg-muted`},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)($u),{placeholder:c.value},null,8,[`placeholder`])]),_:1},8,[`aria-label`]),(0,n.createVNode)((0,n.unref)(Fu),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Iu),null,{default:(0,n.withCtx)(()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.parameter.schema.enum,e=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Zu),{key:e,value:String(e)},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e),1)]),_:2},1032,[`value`]))),128))]),_:1})]),_:1})]),_:1},8,[`id`,`name`,`model-value`])):((v=e.parameter.schema)==null?void 0:v.type)===`object`?((0,n.openBlock)(),(0,n.createBlock)(Y3,{key:2,"model-value":e.modelValue,class:`w-full h-32`,"onUpdate:modelValue":r[4]||(r[4]=e=>f(e))},null,8,[`model-value`])):((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Sde,[p(e.parameter)?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Z3),{key:0,id:e.compositeKey,name:e.compositeKey,type:`file`,class:`bg-muted`,onChange:h},null,8,[`id`,`name`])):((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Z3),{key:1,id:e.compositeKey,name:e.compositeKey,"model-value":d.value,type:m(e.parameter),placeholder:u.value,clearable:``,class:`bg-muted`,"onUpdate:modelValue":r[5]||(r[5]=e=>f(e)),onKeydown:r[6]||(r[6]=(0,n.withKeys)(e=>i(`submit`),[`enter`]))},null,8,[`id`,`name`,`model-value`,`type`,`placeholder`]))]))],2)],2)}}}),Cde={key:0,class:`bg-muted p-1 rounded`},wde={key:0,class:`m-0! vp-adaptive-theme min-h-16 language-json`},Tde={key:2,class:`flex flex-col gap-1`},Ede=(0,n.defineComponent)({__name:`OAPlaygroundBodyInput`,props:{operationId:{},body:{},contentType:{},requestBody:{},enabledParameters:{},examples:{},exampleBehavior:{},xExampleBehavior:{}},emits:[`update:body`,`update:enabled`,`submit`],setup(t,{emit:r}){let i=t,a=r,o=(0,n.computed)({get:()=>i.body,set:e=>a(`update:body`,e)}),s=(0,n.computed)(()=>e.k(i.contentType)),c=(0,n.computed)(()=>e.O(i.contentType)),l=(0,n.computed)(()=>e.A(i.contentType)),u=(0,n.computed)(()=>e.j(i.contentType)),d=(0,n.computed)(()=>u.value),f=(0,n.computed)(()=>{var e;return!((e=i.requestBody)!=null&&(e=e.content)!=null&&(e=e[i.contentType])!=null&&(e=e.schema)!=null&&e.properties)}),p=(0,n.computed)(()=>{var e,t;if(f.value){var n,r,a;let e=nf((n=i.exampleBehavior)==null?`value`:n);return[{name:`body`,in:`body`,schema:(r=i.requestBody)==null||(r=r.content)==null||(r=r[i.contentType])==null?void 0:r.schema,example:e&&i.examples?(a=Object.values(i.examples)[0])==null?void 0:a.value:null}]}return Object.keys((e=(t=i.requestBody)==null||(t=t.content)==null||(t=t[i.contentType])==null||(t=t.schema)==null?void 0:t.properties)==null?{}:e).map(e=>{var t,n;return{name:e,in:`body`,required:(t=i.requestBody)==null||(t=t.content)==null||(t=t[i.contentType])==null||(t=t.schema)==null||(t=t.required)==null?void 0:t.includes(e),schema:(n=i.requestBody)==null||(n=n.content)==null||(n=n[i.contentType])==null||(n=n.schema)==null||(n=n.properties)==null?void 0:n[e]}})}),m=(0,n.computed)(()=>e=>c.value||l.value?h.value[e.name]||``:o.value),h=(0,n.ref)({}),g=(0,n.computed)(()=>Object.keys(h.value).filter(e=>{var t;let n=p.value.find(t=>t.name===e);return n&&((t=i.enabledParameters[ef({parameter:n,operationId:i.operationId})])==null?i.enabledParameters.body:t)})),_=(0,n.computed)(()=>p.value.map(e=>{var t;let n=ef({parameter:e,operationId:i.operationId});return{parameter:e,compositeKey:n,enabled:(t=i.enabledParameters[n])==null?i.enabledParameters.body:t}}));function v(e){if(c.value)return Object.fromEntries(e.map(e=>[e,h.value[e]]));if(l.value){let t=new FormData;return e.forEach(e=>{let n=h.value[e];n instanceof File?t.append(e,n,n.name):t.append(e,n||``)}),t}return{}}function y(e,t){if(h.value[e.name]=t,c.value||l.value){let e=g.value;o.value=v(e)}else o.value=t}function b(e,t){if(a(`update:enabled`,ef({parameter:e,operationId:i.operationId}),t),c.value||l.value){let e=g.value;o.value=v(e)}}return(0,n.watch)(()=>i.body,e=>{if(c.value&&typeof e==`string`){let t=new URLSearchParams(e),n={};t.forEach((e,t)=>{n[t]=e}),h.value=n}else if(l.value&&e instanceof FormData){let t={};e.forEach((e,n)=>{t[n]=e}),h.value=t}},{immediate:!0}),(0,n.watch)(()=>i.contentType,()=>{var e,t,n;let r=nf((e=i.exampleBehavior)==null?`value`:e);o.value=r?(t=Object.values((n=i.examples)==null?{}:n)[0])==null?void 0:t.value:null},{immediate:!0}),(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,null,[s.value?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Cde,[o.value===null?(0,n.createCommentVNode)(``,!0):((0,n.openBlock)(),(0,n.createElementBlock)(`div`,wde,[t[3]||(t[3]=(0,n.createElementVNode)(`button`,{title:`Copy Code`,class:`copy`},null,-1)),t[4]||(t[4]=(0,n.createElementVNode)(`span`,{class:`lang`},`JSON`,-1)),(0,n.createVNode)(Y3,{modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),class:`w-full`},null,8,[`modelValue`])]))])):d.value&&o.value!==null&&typeof o.value==`string`?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(gde),{key:1,id:`body-textarea-${i.operationId}`,"model-value":o.value,name:`body-textarea-${i.operationId}`,disabled:!i.enabledParameters.body,rows:u.value?7:1,autocorrect:!1,autocomplete:!1,autocapitalize:!1,spellcheck:!1,class:`bg-muted`,onInput:t[1]||(t[1]=e=>o.value=e.target.value)},null,8,[`id`,`model-value`,`name`,`disabled`,`rows`])):((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Tde,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(_.value,e=>{var r,o;return(0,n.openBlock)(),(0,n.createBlock)($3,{key:e.compositeKey,"model-value":m.value(e.parameter),parameter:e.parameter,"composite-key":e.compositeKey,"example-behavior":(r=i.exampleBehavior)==null?`value`:r,"x-example-behavior":(o=i.xExampleBehavior)==null?`value`:o,enabled:e.enabled,"hide-label":_.value.length===1,"onUpdate:modelValue":t=>y(e.parameter,t),"onUpdate:enabled":t=>b(e.parameter,t),onSubmit:t[2]||(t[2]=e=>a(`submit`))},null,8,[`model-value`,`parameter`,`composite-key`,`example-behavior`,`x-example-behavior`,`enabled`,`hide-label`,`onUpdate:modelValue`,`onUpdate:enabled`])}),128))]))]))}}),Dde={class:`flex flex-col space-y-2`},Ode=(0,n.defineComponent)({__name:`OAPlaygroundSecurityInput`,props:{scheme:{type:Object,required:!0},modelValue:{type:[String,Number],required:!0},name:{type:String,required:!0}},emits:[`update:modelValue`,`submit`],setup(e,{emit:t}){let r=e,i=t,a=(0,n.computed)(()=>{var e;return r.modelValue?r.modelValue:(e=r.scheme)!=null&&e.example?r.scheme.example:od().getSecuritySchemeDefaultValue(r.scheme)});return(t,r)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Dde,[(0,n.createVNode)((0,n.unref)(Z3),{id:e.name,"model-value":e.modelValue,name:e.name,type:`text`,placeholder:a.value,clearable:``,class:`bg-muted`,"onUpdate:modelValue":r[0]||(r[0]=e=>i(`update:modelValue`,e)),onKeydown:r[1]||(r[1]=(0,n.withKeys)(e=>i(`submit`),[`enter`]))},null,8,[`id`,`model-value`,`name`,`placeholder`])]))}}),kde={class:`relative w-full h-10`},Ade={key:0,class:`oa-custom-input absolute inset-0`},e6=`custom`,jde=(0,n.defineComponent)({__name:`SelectWithCustomOption`,props:{modelValue:{default:``},isCustom:{type:Boolean,default:!1},customValue:{default:void 0},options:{},placeholder:{default:`Select an option...`},defaultCustomValue:{default:``},customOptionLabel:{default:`Custom...`},customPlaceholder:{default:`Enter custom value...`},allowCustomOption:{type:Boolean,default:!0}},emits:[`update:modelValue`,`update:customValue`,`update:isCustom`,`submit`],setup(t,{emit:r}){let i=t,a=r,o=e.V(i,`modelValue`,a),s=e.V(i,`isCustom`,a),c=e.V(i,`customValue`,a),{t:u}=l();(0,n.watch)(c,e=>{e!==void 0&&(s.value&&(o.value=e),a(`update:customValue`,e))});let d=(0,n.computed)(()=>i.allowCustomOption?[...i.options,{label:i.customOptionLabel,value:e6}]:i.options),f=e=>{if(e===e6){s.value=!0;let e=document.querySelector(`.oa-custom-input input`);e&&e.focus(),o.value=i.defaultCustomValue}else s.value=!1,c.value=void 0,o.value=e};return(e,r)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,kde,[(0,n.unref)(s)?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Ade,[(0,n.createVNode)((0,n.unref)(Z3),{modelValue:(0,n.unref)(c),"onUpdate:modelValue":r[0]||(r[0]=e=>(0,n.isRef)(c)?c.value=e:null),placeholder:t.customPlaceholder,clearable:``,class:`pr-8 bg-muted`,onKeydown:r[1]||(r[1]=(0,n.withKeys)(e=>a(`submit`),[`enter`]))},null,8,[`modelValue`,`placeholder`])])):(0,n.createCommentVNode)(``,!0),(0,n.createVNode)((0,n.unref)(Pu),{"model-value":(0,n.unref)(o),class:`absolute inset-0`,"onUpdate:modelValue":r[2]||(r[2]=e=>f(String(e)))},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Qu),{"aria-label":(0,n.unref)(u)(`Select`)},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)($u),{placeholder:t.placeholder,class:`text-start`},null,8,[`placeholder`])]),_:1},8,[`aria-label`]),(0,n.createVNode)((0,n.unref)(Fu),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Iu),null,{default:(0,n.withCtx)(()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(d.value,e=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Zu),{key:typeof e==`object`?e.value:e,value:typeof e==`object`?e.value:e},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(typeof e==`object`?e.label:e),1)]),_:2},1032,[`value`]))),128))]),_:1})]),_:1})]),_:1},8,[`model-value`])]))}}),Mde={class:`OAPlaygroundParameters`},Nde={key:0,open:``},Pde={class:`flex flex-col gap-2`},Fde={key:1,open:``},Ide={key:0,class:`w-full max-w-[33%] md:max-w-[50%] ml-auto -mt-8`},Lde={class:`flex flex-col gap-2`},Rde={class:`flex flex-row items-center space-x-2`},zde={class:`flex flex-row items-center space-x-2`},Bde={key:2,open:``},Vde={class:`flex flex-col gap-2`},Hde={key:3,open:``},Ude={class:`flex flex-col gap-1`},Wde={class:`flex flex-row gap-2`},Gde={class:`flex flex-row flex-grow gap-2`},Kde={class:`w-1/2 flex justify-start`},qde={class:`text-xs text-muted-foreground uppercase`},Jde={class:`w-1/2 flex justify-start`},Yde={class:`text-xs text-muted-foreground uppercase`},Xde={key:4,open:``},Zde=Fn((0,n.defineComponent)({__name:`OAPlaygroundParameters`,props:{operationId:{type:String,required:!0},path:{type:String,required:!0},method:{type:String,required:!0},servers:{type:Array,default:()=>[]},parameters:{type:Array,required:!1,default:()=>[]},securityUi:{type:Object,required:!1,default:()=>[]},examples:{type:Object,required:!1},exampleBehavior:{type:String,default:`value`},xExampleBehavior:{type:String,default:`value`},requestBody:{type:Object,required:!1}},emits:[`submit`],setup(t,{emit:r}){let i=t,a=r,o=(0,n.inject)(rd),{t:s}=l(),c=s(`Key`),u=s(`Value`),d=(0,n.computed)({get:()=>o.playground.selectedServer.value,set:e=>{o.playground.selectedServer.value=e}}),f=(0,n.computed)({get:()=>o.security.selectedSchemeId.value,set:e=>{o.security.selectedSchemeId.value=e}}),p=(0,n.computed)({get:()=>o.requestBody.selectedContentType.value,set:e=>{o.requestBody.selectedContentType.value=e}}),m=(0,n.computed)({get:()=>o.playground.request.value,set:e=>{o.playground.request.value=e}}),h=(0,n.computed)(()=>e.b().getServerAllowCustomServer()),{getStoragePrefix:g,getStoragePersistAuth:_}=e.b(),v=g(),y=_(),b=Jt()?e.B(`${v}-use-custom-server`,h.value,localStorage):(0,n.ref)(!1),x=i.parameters.filter(e=>e&&e.in===`header`),S=i.parameters.filter(e=>e&&e.in===`path`),C=i.parameters.filter(e=>e&&e.in===`query`),w=(0,n.computed)(()=>i.servers),T=(0,n.computed)(()=>w.value.map(e=>e.url).filter((e,t,n)=>n.indexOf(e)===t).filter(e=>e!==void 0)),E=Jt()?e.B(`${v}-custom-server-url`,d.value,localStorage):(0,n.ref)(d.value);function ee(e,t,n){return e.reduce((e,r)=>{var i;return r.name&&(e[r.name]=(i=rf(r,t,n))==null?``:i),e},{})}let te=o.playground.parameterValues,ne={...ee(x,i.exampleBehavior,i.xExampleBehavior),...ee(S,i.exampleBehavior,i.xExampleBehavior),...ee(C,i.exampleBehavior,i.xExampleBehavior)};te.value=Object.keys(te.value).length===0?ne:{...ne,...te.value};let D=(0,n.ref)([...x,...S,...C].reduce((e,t)=>{if(t.name){let n=ef({parameter:t,operationId:i.operationId});e[n]=t.required===!0}return e},{body:!0})),re=(0,n.ref)([]),ie=(0,n.ref)(null);return(0,n.watch)([te,re,ie,d,D],()=>{let t=i.parameters.filter(e=>e.name&&D.value[ef({parameter:e,operationId:i.operationId})]);m.value=e.C({baseUrl:d.value,method:i.method,path:i.path,variables:te.value,authorizations:re.value,body:D.value.body?ie.value:void 0,parameters:t,contentType:p.value,headers:{...e.b().getCodeSamplesDefaultHeaders()||{}}})},{deep:!0}),(0,n.watch)(f,t=>{var n;let r=i.securityUi.find(e=>e.id===t),a=(r==null?void 0:r.schemes)||((n=i.securityUi)==null||(n=n[0])==null?void 0:n.schemes)||{};if(!a||!Object.keys(a).length){re.value=[];return}re.value=Object.keys(a).map(t=>{var n,r;let o=a[t],s=od().getSecuritySchemeDefaultValue(o),c=(n=rf(o,i.exampleBehavior,i.xExampleBehavior))==null?s:n;return{type:o.type,scheme:o.scheme,in:o.in,name:(r=o.name)==null?t:r,value:Jt()&&y?e.B(`${v}-authorization-${t}`,c,localStorage):c,label:t,example:c}})},{immediate:!0}),(0,n.watch)([o.security.securityValues,re],([e])=>{for(let[t,r]of Object.entries(e)){let e=re.value.find(e=>e.label===t);e&&((0,n.isRef)(e.value)?e.value.value=r:e.value=r)}},{deep:!0}),(e,t)=>{var r;return(0,n.openBlock)(),(0,n.createElementBlock)(`div`,Mde,[T.value.length>1||h.value?((0,n.openBlock)(),(0,n.createElementBlock)(`details`,Nde,[(0,n.createElementVNode)(`summary`,null,(0,n.toDisplayString)((0,n.unref)(s)(`Server`)),1),(0,n.createElementVNode)(`div`,Pde,[(0,n.createVNode)(jde,{modelValue:d.value,"onUpdate:modelValue":t[0]||(t[0]=e=>d.value=e),"custom-value":(0,n.unref)(E),"onUpdate:customValue":t[1]||(t[1]=e=>(0,n.isRef)(E)?E.value=e:null),"is-custom":(0,n.unref)(b),"onUpdate:isCustom":t[2]||(t[2]=e=>(0,n.isRef)(b)?b.value=e:null),"default-custom-value":(0,n.unref)(E),options:T.value,"allow-custom-option":h.value,"custom-option-label":(0,n.unref)(s)(`Custom Server`),"custom-placeholder":(0,n.unref)(s)(`Enter a custom server URL`),placeholder:(0,n.unref)(s)(`Select a server`),onSubmit:t[3]||(t[3]=e=>a(`submit`))},null,8,[`modelValue`,`custom-value`,`is-custom`,`default-custom-value`,`options`,`allow-custom-option`,`custom-option-label`,`custom-placeholder`,`placeholder`])])])):(0,n.createCommentVNode)(``,!0),(r=re.value)!=null&&r.length?((0,n.openBlock)(),(0,n.createElementBlock)(`details`,Fde,[(0,n.createElementVNode)(`summary`,null,[(0,n.createTextVNode)((0,n.toDisplayString)((0,n.unref)(s)(`Authorization`))+` `,1),i.securityUi.length>1?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Ide,[(0,n.createVNode)((0,n.unref)(Pu),{modelValue:f.value,"onUpdate:modelValue":t[4]||(t[4]=e=>f.value=e)},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Qu),{"aria-label":`Security Scheme`,class:`h-9 px-3 py-1.5 text-foreground font-normal bg-muted`},{default:(0,n.withCtx)(()=>{var e;return[(0,n.createVNode)((0,n.unref)($u),{placeholder:(e=f.value)==null?(0,n.unref)(s)(`Select`):e},null,8,[`placeholder`])]}),_:1}),(0,n.createVNode)((0,n.unref)(Fu),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Iu),null,{default:(0,n.withCtx)(()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(i.securityUi,e=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Zu),{key:e.id,value:e.id},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.id),1)]),_:2},1032,[`value`]))),128))]),_:1})]),_:1})]),_:1},8,[`modelValue`])])):(0,n.createCommentVNode)(``,!0)]),(0,n.createElementVNode)(`div`,Lde,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(re.value,e=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:e.name,class:`flex flex-col`},[(0,n.createElementVNode)(`div`,Rde,[(0,n.createVNode)((0,n.unref)(Q3),{for:e.name,class:`text-sm font-bold`},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.label),1)]),_:2},1032,[`for`])]),(0,n.createElementVNode)(`div`,zde,[(0,n.createVNode)(Ode,{modelValue:e.value,"onUpdate:modelValue":t=>e.value=t,scheme:e,name:e.name,class:`w-full`,onSubmit:t[5]||(t[5]=e=>a(`submit`))},null,8,[`modelValue`,`onUpdate:modelValue`,`scheme`,`name`])])]))),128))])])):(0,n.createCommentVNode)(``,!0),(0,n.unref)(x).length?((0,n.openBlock)(),(0,n.createElementBlock)(`details`,Bde,[(0,n.createElementVNode)(`summary`,null,(0,n.toDisplayString)((0,n.unref)(s)(`Headers`)),1),(0,n.createElementVNode)(`div`,Vde,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)((0,n.unref)(x),e=>{var r;return(0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:(0,n.unref)(ef)({parameter:e,operationId:i.operationId}),class:`flex flex-col gap-2`},[(0,n.createVNode)($3,{modelValue:(0,n.unref)(te)[(r=e.name)==null?``:r],"onUpdate:modelValue":t=>{var r;return(0,n.unref)(te)[(r=e.name)==null?``:r]=t},parameter:e,"composite-key":(0,n.unref)(ef)({parameter:e,operationId:i.operationId}),"example-behavior":i.exampleBehavior,"x-example-behavior":i.xExampleBehavior,enabled:D.value[(0,n.unref)(ef)({parameter:e,operationId:i.operationId})],"onUpdate:enabled":t=>D.value[(0,n.unref)(ef)({parameter:e,operationId:i.operationId})]=t,onSubmit:t[6]||(t[6]=e=>a(`submit`))},null,8,[`modelValue`,`onUpdate:modelValue`,`parameter`,`composite-key`,`example-behavior`,`x-example-behavior`,`enabled`,`onUpdate:enabled`])])}),128))])])):(0,n.createCommentVNode)(``,!0),Object.keys((0,n.unref)(C)).length||Object.keys((0,n.unref)(S)).length?((0,n.openBlock)(),(0,n.createElementBlock)(`details`,Hde,[(0,n.createElementVNode)(`summary`,null,(0,n.toDisplayString)((0,n.unref)(s)(`Variables`)),1),(0,n.createElementVNode)(`div`,Ude,[(0,n.createElementVNode)(`div`,Wde,[t[11]||(t[11]=(0,n.createElementVNode)(`div`,{class:`w-[16px]`},null,-1)),(0,n.createElementVNode)(`div`,Gde,[(0,n.createElementVNode)(`div`,Kde,[(0,n.createElementVNode)(`span`,qde,(0,n.toDisplayString)((0,n.unref)(c)),1)]),(0,n.createElementVNode)(`div`,Jde,[(0,n.createElementVNode)(`span`,Yde,(0,n.toDisplayString)((0,n.unref)(u)),1)])])]),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)([...(0,n.unref)(S),...(0,n.unref)(C)],e=>{var r;return(0,n.openBlock)(),(0,n.createBlock)($3,{key:(0,n.unref)(ef)({parameter:e,operationId:i.operationId}),modelValue:(0,n.unref)(te)[(r=e.name)==null?``:r],"onUpdate:modelValue":t=>{var r;return(0,n.unref)(te)[(r=e.name)==null?``:r]=t},parameter:e,"composite-key":(0,n.unref)(ef)({parameter:e,operationId:i.operationId}),"example-behavior":i.exampleBehavior,"x-example-behavior":i.xExampleBehavior,enabled:D.value[(0,n.unref)(ef)({parameter:e,operationId:i.operationId})],"onUpdate:enabled":t=>D.value[(0,n.unref)(ef)({parameter:e,operationId:i.operationId})]=t,onSubmit:t[7]||(t[7]=e=>a(`submit`))},null,8,[`modelValue`,`onUpdate:modelValue`,`parameter`,`composite-key`,`example-behavior`,`x-example-behavior`,`enabled`,`onUpdate:enabled`])}),128))])])):(0,n.createCommentVNode)(``,!0),i.requestBody&&p.value?((0,n.openBlock)(),(0,n.createElementBlock)(`details`,Xde,[(0,n.createElementVNode)(`summary`,null,(0,n.toDisplayString)((0,n.unref)(s)(`Body`)),1),(0,n.createVNode)(Ede,{"operation-id":i.operationId,body:ie.value,"content-type":p.value,"request-body":i.requestBody,"enabled-parameters":D.value,examples:i.examples,"example-behavior":i.exampleBehavior,"x-example-behavior":i.xExampleBehavior,"onUpdate:body":t[8]||(t[8]=e=>ie.value=e),"onUpdate:enabled":t[9]||(t[9]=(e,t)=>D.value[e]=t),onSubmit:t[10]||(t[10]=e=>a(`submit`))},null,8,[`operation-id`,`body`,`content-type`,`request-body`,`enabled-parameters`,`examples`,`example-behavior`,`x-example-behavior`])])):(0,n.createCommentVNode)(``,!0)])}}}),[[`__scopeId`,`data-v-3e032ab2`]]),Qde=/filename\*\s*=\s*([^;]+)/i,$de=/filename\s*=\s*([^;]+)/i;function efe(e,t=`response_file`){if(!e)return t;let n=e.match(Qde);if(n){let e=n[1].trim();e.startsWith(`"`)&&e.endsWith(`"`)&&(e=e.slice(1,-1));let t=e.split(`'`);if(t.length>=3){let e=t.slice(2).join(`'`);try{let t=decodeURIComponent(e);if(t)return t}catch{}}else try{let t=decodeURIComponent(e);if(t)return t}catch{}}let r=e.match($de);if(r){let e=r[1].trim();if(e.startsWith(`"`)&&e.endsWith(`"`)&&(e=e.slice(1,-1)),e)return e}return t}var t6=class extends Error{constructor(e){super(e),this.name=`ShikiError`}},n6,r6;function tfe(e){return i6(e)}function i6(e){return Array.isArray(e)?nfe(e):e instanceof RegExp?e:typeof e==`object`?rfe(e):e}function nfe(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=i6(e[n]);return t}function rfe(e){let t={};for(let n in e)t[n]=i6(e[n]);return t}function a6(e,...t){return t.forEach(t=>{for(let n in t)e[n]=t[n]}),e}function o6(e){let t=~e.lastIndexOf(`/`)||~e.lastIndexOf(`\\`);return t===0?e:~t===e.length-1?o6(e.substring(0,e.length-1)):e.substr(~t+1)}var s6=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,c6=class{static hasCaptures(e){return e!==null&&(s6.lastIndex=0,s6.test(e))}static replaceCaptures(e,t,n){return e.replace(s6,(e,r,i,a)=>{let o=n[parseInt(r||i,10)];if(o){let e=t.substring(o.start,o.end);for(;e[0]===`.`;)e=e.substring(1);switch(a){case`downcase`:return e.toLowerCase();case`upcase`:return e.toUpperCase();default:return e}}else return e})}};function l6(e,t){return e<t?-1:+(e>t)}function u6(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let r=0;r<n;r++){let n=l6(e[r],t[r]);if(n!==0)return n}return 0}return n-r}function d6(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function f6(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,`\\$&`)}var p6=class{constructor(t){e.M(this,`cache`,new Map),this.fn=t}get(e){if(this.cache.has(e))return this.cache.get(e);let t=this.fn(e);return this.cache.set(e,t),t}},m6=class{constructor(t,n,r){e.M(this,`_cachedMatchRoot`,new p6(e=>this._root.match(e))),this._colorMap=t,this._defaults=n,this._root=r}static createFromRawTheme(e,t){return this.createFromParsedTheme(ofe(e),t)}static createFromParsedTheme(e,t){return cfe(e,t)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;let t=e.scopeName,n=this._cachedMatchRoot.get(t).find(t=>ife(e.parent,t.parentScopes));return n?new g6(n.fontStyle,n.foreground,n.background):null}},h6=class e{constructor(e,t){this.parent=e,this.scopeName=t}static push(t,n){for(let r of n)t=new e(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new e(n,t[r]);return n}push(t){return new e(this,t)}getSegments(){let e=this,t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(` `)}extends(e){return this===e||this.parent!==null&&this.parent.extends(e)}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;)t.push(n.scopeName),n=n.parent;return n===e?t.reverse():void 0}};function ife(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],i=!1;if(r===`>`){if(n===t.length-1)return!1;r=t[++n],i=!0}for(;e&&!afe(e.scopeName,r);){if(i)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function afe(e,t){return t===e||e.startsWith(t)&&e[t.length]===`.`}var g6=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function ofe(e){if(!e||!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let e=0,i=t.length;e<i;e++){let i=t[e];if(!i.settings)continue;let a;if(typeof i.scope==`string`){let e=i.scope;e=e.replace(/^[,]+/,``),e=e.replace(/[,]+$/,``),a=e.split(`,`)}else a=Array.isArray(i.scope)?i.scope:[``];let o=-1;if(typeof i.settings.fontStyle==`string`){o=0;let e=i.settings.fontStyle.split(` `);for(let t=0,n=e.length;t<n;t++)switch(e[t]){case`italic`:o|=1;break;case`bold`:o|=2;break;case`underline`:o|=4;break;case`strikethrough`:o|=8}}let s=null;typeof i.settings.foreground==`string`&&d6(i.settings.foreground)&&(s=i.settings.foreground);let c=null;typeof i.settings.background==`string`&&d6(i.settings.background)&&(c=i.settings.background);for(let t=0,i=a.length;t<i;t++){let i=a[t].trim().split(` `),l=i[i.length-1],u=null;i.length>1&&(u=i.slice(0,i.length-1),u.reverse()),n[r++]=new sfe(l,u,e,o,s,c)}}return n}var sfe=class{constructor(e,t,n,r,i,a){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=i,this.background=a}},_6=(e=>(e[e.NotSet=-1]=`NotSet`,e[e.None=0]=`None`,e[e.Italic=1]=`Italic`,e[e.Bold=2]=`Bold`,e[e.Underline=4]=`Underline`,e[e.Strikethrough=8]=`Strikethrough`,e))(_6||{});function cfe(e,t){e.sort((e,t)=>{let n=l6(e.scope,t.scope);return n!==0||(n=u6(e.parentScopes,t.parentScopes),n!==0)?n:e.index-t.index});let n=0,r=`#000000`,i=`#ffffff`;for(;e.length>=1&&e[0].scope===``;){let t=e.shift();t.fontStyle!==-1&&(n=t.fontStyle),t.foreground!==null&&(r=t.foreground),t.background!==null&&(i=t.background)}let a=new lfe(t),o=new g6(n,a.getId(r),a.getId(i)),s=new dfe(new v6(0,null,-1,0,0),[]);for(let t=0,n=e.length;t<n;t++){let n=e[t];s.insert(0,n.scope,n.parentScopes,n.fontStyle,a.getId(n.foreground),a.getId(n.background))}return new m6(a,o,s)}var lfe=class{constructor(t){if(e.M(this,`_isFrozen`,void 0),e.M(this,`_lastColorId`,void 0),e.M(this,`_id2color`,void 0),e.M(this,`_color2id`,void 0),this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let e=0,n=t.length;e<n;e++)this._color2id[t[e]]=e,this._id2color[e]=t[e]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},ufe=Object.freeze([]),v6=class t{constructor(t,n,r,i,a){e.M(this,`scopeDepth`,void 0),e.M(this,`parentScopes`,void 0),e.M(this,`fontStyle`,void 0),e.M(this,`foreground`,void 0),e.M(this,`background`,void 0),this.scopeDepth=t,this.parentScopes=n||ufe,this.fontStyle=r,this.foreground=i,this.background=a}clone(){return new t(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=e[n].clone();return t}acceptOverwrite(e,t,n,r){this.scopeDepth>e?console.log(`how did this happen?`):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),n!==0&&(this.foreground=n),r!==0&&(this.background=r)}},dfe=class t{constructor(t,n=[],r={}){e.M(this,`_rulesWithParentScopes`,void 0),this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let n=0,r=0;for(;e.parentScopes[n]===`>`&&n++,t.parentScopes[r]===`>`&&r++,!(n>=e.parentScopes.length||r>=t.parentScopes.length);){let i=t.parentScopes[r].length-e.parentScopes[n].length;if(i!==0)return i;n++,r++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==``){let t=e.indexOf(`.`),n,r;if(t===-1?(n=e,r=``):(n=e.substring(0,t),r=e.substring(t+1)),this._children.hasOwnProperty(n))return this._children[n].match(r)}let n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(t._cmpBySpecificity),n}insert(e,n,r,i,a,o){if(n===``){this._doInsertHere(e,r,i,a,o);return}let s=n.indexOf(`.`),c,l;s===-1?(c=n,l=``):(c=n.substring(0,s),l=n.substring(s+1));let u;this._children.hasOwnProperty(c)?u=this._children[c]:(u=new t(this._mainRule.clone(),v6.cloneArr(this._rulesWithParentScopes)),this._children[c]=u),u.insert(e+1,l,r,i,a,o)}_doInsertHere(e,t,n,r,i){if(t===null){this._mainRule.acceptOverwrite(e,n,r,i);return}for(let a=0,o=this._rulesWithParentScopes.length;a<o;a++){let o=this._rulesWithParentScopes[a];if(u6(o.parentScopes,t)===0){o.acceptOverwrite(e,n,r,i);return}}n===-1&&(n=this._mainRule.fontStyle),r===0&&(r=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new v6(e,t,n,r,i))}},y6=class e{static toBinaryStr(e){return e.toString(2).padStart(32,`0`)}static print(t){let n=e.getLanguageId(t),r=e.getTokenType(t),i=e.getFontStyle(t),a=e.getForeground(t),o=e.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:i,foreground:a,background:o})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return!!(e&1024)}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(t,n,r,i,a,o,s){let c=e.getLanguageId(t),l=e.getTokenType(t),u=+!!e.containsBalancedBrackets(t),d=e.getFontStyle(t),f=e.getForeground(t),p=e.getBackground(t);return n!==0&&(c=n),r!==8&&(l=pfe(r)),i!==null&&(u=+!!i),a!==-1&&(d=a),o!==0&&(f=o),s!==0&&(p=s),(c<<0|l<<8|u<<10|d<<11|f<<15|p<<24)>>>0}};function ffe(e){return e}function pfe(e){return e}function b6(e,t){let n=[],r=mfe(e),i=r.next();for(;i!==null;){let e=0;if(i.length===2&&i.charAt(1)===`:`){switch(i.charAt(0)){case`R`:e=1;break;case`L`:e=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=r.next()}let t=o();if(n.push({matcher:t,priority:e}),i!==`,`)break;i=r.next()}return n;function a(){if(i===`-`){i=r.next();let e=a();return t=>!!e&&!e(t)}if(i===`(`){i=r.next();let e=s();return i===`)`&&(i=r.next()),e}if(x6(i)){let e=[];do e.push(i),i=r.next();while(x6(i));return n=>t(e,n)}return null}function o(){let e=[],t=a();for(;t;)e.push(t),t=a();return t=>e.every(e=>e(t))}function s(){let e=[],t=o();for(;t&&(e.push(t),i===`|`||i===`,`);){do i=r.next();while(i===`|`||i===`,`);t=o()}return t=>e.some(e=>e(t))}}function x6(e){return!!e&&!!e.match(/[\w\.:]+/)}function mfe(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;let r=n[0];return n=t.exec(e),r}}}function S6(e){typeof e.dispose==`function`&&e.dispose()}var C6=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},hfe=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},gfe=class{constructor(){e.M(this,`_references`,[]),e.M(this,`_seenReferenceKeys`,new Set),e.M(this,`visitedRule`,new Set)}get references(){return this._references}add(e){let t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},_fe=class{constructor(t,n){e.M(this,`seenFullScopeRequests`,new Set),e.M(this,`seenPartialScopeRequests`,new Set),e.M(this,`Q`,void 0),this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new C6(this.initialScopeName)]}processQueue(){let e=this.Q;this.Q=[];let t=new gfe;for(let n of e)vfe(n,this.initialScopeName,this.repo,t);for(let e of t.references)if(e instanceof C6){if(this.seenFullScopeRequests.has(e.scopeName))continue;this.seenFullScopeRequests.add(e.scopeName),this.Q.push(e)}else{if(this.seenFullScopeRequests.has(e.scopeName)||this.seenPartialScopeRequests.has(e.toKey()))continue;this.seenPartialScopeRequests.add(e.toKey()),this.Q.push(e)}}};function vfe(e,t,n,r){let i=n.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw Error(`No grammar provided for <${t}>`);return}let a=n.lookup(t);e instanceof C6?T6({baseGrammar:a,selfGrammar:i},r):w6(e.ruleName,{baseGrammar:a,selfGrammar:i,repository:i.repository},r);let o=n.injections(e.scopeName);if(o)for(let e of o)r.add(new C6(e))}function w6(e,t,n){if(t.repository&&t.repository[e]){let r=t.repository[e];E6([r],t,n)}}function T6(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&E6(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&E6(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function E6(e,t,n){for(let r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);let e=r.repository?a6({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&E6(r.patterns,{...t,repository:e},n);let i=r.include;if(!i)continue;let a=D6(i);switch(a.kind){case 0:T6({...t,selfGrammar:t.baseGrammar},n);break;case 1:T6(t,n);break;case 2:w6(a.ruleName,{...t,repository:e},n);break;case 3:case 4:let r=a.scopeName===t.selfGrammar.scopeName?t.selfGrammar:a.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(r){let i={baseGrammar:t.baseGrammar,selfGrammar:r,repository:e};a.kind===4?w6(a.ruleName,i,n):T6(i,n)}else a.kind===4?n.add(new hfe(a.scopeName,a.ruleName)):n.add(new C6(a.scopeName))}}}var yfe=class{constructor(){e.M(this,`kind`,0)}},bfe=class{constructor(){e.M(this,`kind`,1)}},xfe=class{constructor(t){e.M(this,`kind`,2),this.ruleName=t}},Sfe=class{constructor(t){e.M(this,`kind`,3),this.scopeName=t}},Cfe=class{constructor(t,n){e.M(this,`kind`,4),this.scopeName=t,this.ruleName=n}};function D6(e){if(e===`$base`)return new yfe;if(e===`$self`)return new bfe;let t=e.indexOf(`#`);return t===-1?new Sfe(e):t===0?new xfe(e.substring(1)):new Cfe(e.substring(0,t),e.substring(t+1))}var wfe=/\\(\d+)/,O6=/\\(\d+)/g,Tfe=-1,k6=-2;function A6(e){return e}function j6(e){return e}var M6=class{constructor(t,n,r,i){e.M(this,`$location`,void 0),e.M(this,`id`,void 0),e.M(this,`_nameIsCapturing`,void 0),e.M(this,`_name`,void 0),e.M(this,`_contentNameIsCapturing`,void 0),e.M(this,`_contentName`,void 0),this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=c6.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=c6.hasCaptures(this._contentName)}get debugName(){let e=this.$location?`${o6(this.$location.filename)}:${this.$location.line}`:`unknown`;return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:c6.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:c6.replaceCaptures(this._contentName,e,t)}},Efe=class extends M6{constructor(t,n,r,i,a){super(t,n,r,i),e.M(this,`retokenizeCapturedWithRuleId`,void 0),this.retokenizeCapturedWithRuleId=a}dispose(){}collectPatterns(e,t){throw Error(`Not supported!`)}compile(e,t){throw Error(`Not supported!`)}compileAG(e,t,n,r){throw Error(`Not supported!`)}},Dfe=class extends M6{constructor(t,n,r,i,a){super(t,n,r,null),e.M(this,`_match`,void 0),e.M(this,`captures`,void 0),e.M(this,`_cachedCompiledPatterns`,void 0),this._match=new L6(i,this.id),this.captures=a,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new R6,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},N6=class extends M6{constructor(t,n,r,i,a){super(t,n,r,i),e.M(this,`hasMissingPatterns`,void 0),e.M(this,`patterns`,void 0),e.M(this,`_cachedCompiledPatterns`,void 0),this.patterns=a.patterns,this.hasMissingPatterns=a.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(let n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new R6,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},P6=class extends M6{constructor(t,n,r,i,a,o,s,c,l,u){super(t,n,r,i),e.M(this,`_begin`,void 0),e.M(this,`beginCaptures`,void 0),e.M(this,`_end`,void 0),e.M(this,`endHasBackReferences`,void 0),e.M(this,`endCaptures`,void 0),e.M(this,`applyEndPatternLast`,void 0),e.M(this,`hasMissingPatterns`,void 0),e.M(this,`patterns`,void 0),e.M(this,`_cachedCompiledPatterns`,void 0),this._begin=new L6(a,this.id),this.beginCaptures=o,this._end=new L6(s||`￿`,-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=c,this.applyEndPatternLast=l||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new R6;for(let t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},F6=class extends M6{constructor(t,n,r,i,a,o,s,c,l){super(t,n,r,i),e.M(this,`_begin`,void 0),e.M(this,`beginCaptures`,void 0),e.M(this,`whileCaptures`,void 0),e.M(this,`_while`,void 0),e.M(this,`whileHasBackReferences`,void 0),e.M(this,`hasMissingPatterns`,void 0),e.M(this,`patterns`,void 0),e.M(this,`_cachedCompiledPatterns`,void 0),e.M(this,`_cachedCompiledWhilePatterns`,void 0),this._begin=new L6(a,this.id),this.beginCaptures=o,this.whileCaptures=c,this._while=new L6(s,k6),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new R6;for(let t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new R6,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||`￿`),this._cachedCompiledWhilePatterns}},I6=class e{static createCaptureRule(e,t,n,r,i){return e.registerRule(e=>new Efe(t,e,n,r,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(i=>{if(t.id=i,t.match)return new Dfe(t.$vscodeTextmateLocation,t.id,t.name,t.match,e._compileCaptures(t.captures,n,r));if(t.begin===void 0){t.repository&&(r=a6({},r,t.repository));let i=t.patterns;return i===void 0&&t.include&&(i=[{include:t.include}]),new N6(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,e._compilePatterns(i,n,r))}return t.while?new F6(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,e._compileCaptures(t.whileCaptures||t.captures,n,r),e._compilePatterns(t.patterns,n,r)):new P6(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,e._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,e._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let i=[];if(t){let a=0;for(let e in t){if(e===`$vscodeTextmateLocation`)continue;let t=parseInt(e,10);t>a&&(a=t)}for(let e=0;e<=a;e++)i[e]=null;for(let a in t){if(a===`$vscodeTextmateLocation`)continue;let o=parseInt(a,10),s=0;t[a].patterns&&(s=e.getCompiledRuleId(t[a],n,r)),i[o]=e.createCaptureRule(n,t[a].$vscodeTextmateLocation,t[a].name,t[a].contentName,s)}}return i}static _compilePatterns(t,n,r){let i=[];if(t)for(let a=0,o=t.length;a<o;a++){let o=t[a],s=-1;if(o.include){let t=D6(o.include);switch(t.kind){case 0:case 1:s=e.getCompiledRuleId(r[o.include],n,r);break;case 2:let i=r[t.ruleName];i&&(s=e.getCompiledRuleId(i,n,r));break;case 3:case 4:let a=t.scopeName,c=t.kind===4?t.ruleName:null,l=n.getExternalGrammar(a,r);if(l){if(c){let t=l.repository[c];t&&(s=e.getCompiledRuleId(t,n,l.repository))}else s=e.getCompiledRuleId(l.repository.$self,n,l.repository)}}}else s=e.getCompiledRuleId(o,n,r);if(s!==-1){let e=n.getRule(s),t=!1;if((e instanceof N6||e instanceof P6||e instanceof F6)&&e.hasMissingPatterns&&e.patterns.length===0&&(t=!0),t)continue;i.push(s)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}},L6=class t{constructor(t,n){if(e.M(this,`source`,void 0),e.M(this,`ruleId`,void 0),e.M(this,`hasAnchor`,void 0),e.M(this,`hasBackReferences`,void 0),e.M(this,`_anchorCache`,void 0),t&&typeof t==`string`){let e=t.length,n=0,r=[],i=!1;for(let a=0;a<e;a++)if(t.charAt(a)===`\\`&&a+1<e){let e=t.charAt(a+1);e===`z`?(r.push(t.substring(n,a)),r.push(`$(?!\\n)(?<!\\n)`),n=a+2):(e===`A`||e===`G`)&&(i=!0),a++}this.hasAnchor=i,n===0?this.source=t:(r.push(t.substring(n,e)),this.source=r.join(``))}else this.hasAnchor=!1,this.source=t;this._anchorCache=this.hasAnchor?this._buildAnchorCache():null,this.ruleId=n,this.hasBackReferences=typeof this.source==`string`&&wfe.test(this.source)}clone(){return new t(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){if(typeof this.source!=`string`)throw Error(`This method should only be called if the source is a string`);let n=t.map(t=>e.substring(t.start,t.end));return O6.lastIndex=0,this.source.replace(O6,(e,t)=>f6(n[parseInt(t,10)]||``))}_buildAnchorCache(){if(typeof this.source!=`string`)throw Error(`This method should only be called if the source is a string`);let e=[],t=[],n=[],r=[],i,a,o,s;for(i=0,a=this.source.length;i<a;i++)o=this.source.charAt(i),e[i]=o,t[i]=o,n[i]=o,r[i]=o,o===`\\`&&i+1<a&&(s=this.source.charAt(i+1),s===`A`?(e[i+1]=`￿`,t[i+1]=`￿`,n[i+1]=`A`,r[i+1]=`A`):s===`G`?(e[i+1]=`￿`,t[i+1]=`G`,n[i+1]=`￿`,r[i+1]=`G`):(e[i+1]=s,t[i+1]=s,n[i+1]=s,r[i+1]=s),i++);return{A0_G0:e.join(``),A0_G1:t.join(``),A1_G0:n.join(``),A1_G1:r.join(``)}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache||typeof this.source!=`string`?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},R6=class{constructor(){e.M(this,`_items`,void 0),e.M(this,`_hasAnchors`,void 0),e.M(this,`_cached`,void 0),e.M(this,`_anchorCache`,void 0),this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(e=>e.source);this._cached=new z6(e,t,this._items.map(e=>e.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){return new z6(e,this._items.map(e=>e.resolveAnchors(t,n)),this._items.map(e=>e.ruleId))}},z6=class{constructor(t,n,r){e.M(this,`scanner`,void 0),this.regExps=n,this.rules=r,this.scanner=t.createOnigScanner(n)}dispose(){typeof this.scanner.dispose==`function`&&this.scanner.dispose()}toString(){let e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(` - `+this.rules[t]+`: `+this.regExps[t]);return e.join(`
3891
- `)}findNextMatchSync(e,t,n){let r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},B6=class{constructor(e,t){this.languageId=e,this.tokenType=t}},Ofe=(n6=class t{constructor(t,n){e.M(this,`_defaultAttributes`,void 0),e.M(this,`_embeddedLanguagesMatcher`,void 0),e.M(this,`_getBasicScopeAttributes`,new p6(e=>new B6(this._scopeToLanguage(e),this._toStandardTokenType(e)))),this._defaultAttributes=new B6(t,8),this._embeddedLanguagesMatcher=new kfe(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?t._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){let n=e.match(t.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case`comment`:return 1;case`string`:return 2;case`regex`:return 3;case`meta.embedded`:return 0}throw Error(`Unexpected match for standard token type!`)}},e.M(n6,`_NULL_SCOPE_METADATA`,new B6(0,0)),e.M(n6,`STANDARD_TOKEN_TYPE_REGEXP`,/\b(comment|string|regex|meta\.embedded)\b/),n6),kfe=class{constructor(t){if(e.M(this,`values`,void 0),e.M(this,`scopesRegExp`,void 0),t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);let e=t.map(([e,t])=>f6(e));e.sort(),e.reverse(),this.scopesRegExp=RegExp(`^((${e.join(`)|(`)}))($|\\.)`,``)}}match(e){if(!this.scopesRegExp)return;let t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}};typeof process<`u`&&process.env.VSCODE_TEXTMATE_DEBUG;var V6=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function H6(e,t,n,r,i,a,o,s){let c=t.content.length,l=!1,u=-1;if(o){let o=Afe(e,t,n,r,i,a);i=o.stack,r=o.linePos,n=o.isFirstLine,u=o.anchorPosition}let d=Date.now();for(;!l;){if(s!==0&&Date.now()-d>s)return new V6(i,!0);f()}return new V6(i,!1);function f(){let o=jfe(e,t,n,r,i,u);if(!o){a.produce(i,c),l=!0;return}let s=o.captureIndices,d=o.matchedRuleId,f=s&&s.length>0?s[0].end>r:!1;if(d===Tfe){let o=i.getRule(e);a.produce(i,s[0].start),i=i.withContentNameScopesList(i.nameScopesList),W6(e,t,n,i,a,o.endCaptures,s),a.produce(i,s[0].end);let d=i;if(i=i.parent,u=d.getAnchorPos(),!f&&d.getEnterPos()===r){i=d,a.produce(i,c),l=!0;return}}else{let o=e.getRule(d);a.produce(i,s[0].start);let p=i,m=o.getName(t.content,s),h=i.contentNameScopesList.pushAttributed(m,e);if(i=i.push(d,r,u,s[0].end===c,null,h,h),o instanceof P6){let r=o;W6(e,t,n,i,a,r.beginCaptures,s),a.produce(i,s[0].end),u=s[0].end;let d=r.getContentName(t.content,s),m=h.pushAttributed(d,e);if(i=i.withContentNameScopesList(m),r.endHasBackReferences&&(i=i.withEndRule(r.getEndWithResolvedBackReferences(t.content,s))),!f&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,c),l=!0;return}}else if(o instanceof F6){let r=o;W6(e,t,n,i,a,r.beginCaptures,s),a.produce(i,s[0].end),u=s[0].end;let d=r.getContentName(t.content,s),m=h.pushAttributed(d,e);if(i=i.withContentNameScopesList(m),r.whileHasBackReferences&&(i=i.withEndRule(r.getWhileWithResolvedBackReferences(t.content,s))),!f&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,c),l=!0;return}}else if(W6(e,t,n,i,a,o.captures,s),a.produce(i,s[0].end),i=i.pop(),!f){i=i.safePop(),a.produce(i,c),l=!0;return}}s[0].end>r&&(r=s[0].end,n=!1)}}function Afe(e,t,n,r,i,a){let o=i.beginRuleCapturedEOL?0:-1,s=[];for(let t=i;t;t=t.pop()){let n=t.getRule(e);n instanceof F6&&s.push({rule:n,stack:t})}for(let c=s.pop();c;c=s.pop()){let{ruleScanner:s,findOptions:l}=Pfe(c.rule,e,c.stack.endRule,n,r===o),u=s.findNextMatchSync(t,r,l);if(u){if(u.ruleId!==k6){i=c.stack.pop();break}u.captureIndices&&u.captureIndices.length&&(a.produce(c.stack,u.captureIndices[0].start),W6(e,t,n,c.stack,a,c.rule.whileCaptures,u.captureIndices),a.produce(c.stack,u.captureIndices[0].end),o=u.captureIndices[0].end,u.captureIndices[0].end>r&&(r=u.captureIndices[0].end,n=!1))}else{i=c.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:o,isFirstLine:n}}function jfe(e,t,n,r,i,a){let o=Mfe(e,t,n,r,i,a),s=e.getInjections();if(s.length===0)return o;let c=Nfe(s,e,t,n,r,i,a);if(!c)return o;if(!o)return c;let l=o.captureIndices[0].start,u=c.captureIndices[0].start;return u<l||c.priorityMatch&&u===l?c:o}function Mfe(e,t,n,r,i,a){let{ruleScanner:o,findOptions:s}=U6(i.getRule(e),e,i.endRule,n,r===a),c=o.findNextMatchSync(t,r,s);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Nfe(e,t,n,r,i,a,o){let s=Number.MAX_VALUE,c=null,l,u=0,d=a.contentNameScopesList.getScopeNames();for(let a=0,f=e.length;a<f;a++){let f=e[a];if(!f.matcher(d))continue;let{ruleScanner:p,findOptions:m}=U6(t.getRule(f.ruleId),t,null,r,i===o),h=p.findNextMatchSync(n,i,m);if(!h)continue;let g=h.captureIndices[0].start;if(!(g>=s)&&(s=g,c=h.captureIndices,l=h.ruleId,u=f.priority,s===i))break}return c?{priorityMatch:u===-1,captureIndices:c,matchedRuleId:l}:null}function U6(e,t,n,r,i){return{ruleScanner:e.compileAG(t,n,r,i),findOptions:0}}function Pfe(e,t,n,r,i){return{ruleScanner:e.compileWhileAG(t,n,r,i),findOptions:0}}function W6(e,t,n,r,i,a,o){if(a.length===0)return;let s=t.content,c=Math.min(a.length,o.length),l=[],u=o[0].end;for(let t=0;t<c;t++){let c=a[t];if(c===null)continue;let d=o[t];if(d.length===0)continue;if(d.start>u)break;for(;l.length>0&&l[l.length-1].endPos<=d.start;)i.produceFromScopes(l[l.length-1].scopes,l[l.length-1].endPos),l.pop();if(l.length>0?i.produceFromScopes(l[l.length-1].scopes,d.start):i.produce(r,d.start),c.retokenizeCapturedWithRuleId){let t=c.getName(s,o),a=r.contentNameScopesList.pushAttributed(t,e),l=c.getContentName(s,o),u=a.pushAttributed(l,e),f=r.push(c.retokenizeCapturedWithRuleId,d.start,-1,!1,null,a,u),p=e.createOnigString(s.substring(0,d.end));H6(e,p,n&&d.start===0,d.start,f,i,!1,0),S6(p);continue}let f=c.getName(s,o);if(f!==null){let t=(l.length>0?l[l.length-1].scopes:r.contentNameScopesList).pushAttributed(f,e);l.push(new Ffe(t,d.end))}}for(;l.length>0;)i.produceFromScopes(l[l.length-1].scopes,l[l.length-1].endPos),l.pop()}var Ffe=class{constructor(t,n){e.M(this,`scopes`,void 0),e.M(this,`endPos`,void 0),this.scopes=t,this.endPos=n}};function Ife(e,t,n,r,i,a,o,s){return new Rfe(e,t,n,r,i,a,o,s)}function G6(e,t,n,r,i){let a=b6(t,K6),o=I6.getCompiledRuleId(n,r,i.repository);for(let n of a)e.push({debugSelector:t,matcher:n.matcher,ruleId:o,grammar:i,priority:n.priority})}function K6(e,t){if(t.length<e.length)return!1;let n=0;return e.every(e=>{for(let r=n;r<t.length;r++)if(Lfe(t[r],e))return n=r+1,!0;return!1})}function Lfe(e,t){if(!e)return!1;if(e===t)return!0;let n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]===`.`}var Rfe=class{constructor(t,n,r,i,a,o,s,c){if(e.M(this,`_rootId`,void 0),e.M(this,`_lastRuleId`,void 0),e.M(this,`_ruleId2desc`,void 0),e.M(this,`_includedGrammars`,void 0),e.M(this,`_grammarRepository`,void 0),e.M(this,`_grammar`,void 0),e.M(this,`_injections`,void 0),e.M(this,`_basicScopeAttributesProvider`,void 0),e.M(this,`_tokenTypeMatchers`,void 0),this._rootScopeName=t,this.balancedBracketSelectors=o,this._onigLib=c,this._basicScopeAttributesProvider=new Ofe(r,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=q6(n,null),this._injections=null,this._tokenTypeMatchers=[],a)for(let e of Object.keys(a)){let t=b6(e,K6);for(let n of t)this._tokenTypeMatchers.push({matcher:n.matcher,type:a[e]})}}get themeProvider(){return this._grammarRepository}dispose(){for(let e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){let e={lookup:e=>e===this._rootScopeName?this._grammar:this.getExternalGrammar(e),injections:e=>this._grammarRepository.injections(e)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){let e=r.injections;if(e)for(let n in e)G6(t,n,e[n],this,r);let i=this._grammarRepository.injections(n);i&&i.forEach(e=>{let n=this.getExternalGrammar(e);if(n){let e=n.injectionSelector;e&&G6(t,e,n,this,n)}})}return t.sort((e,t)=>e.priority-t.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){let t=++this._lastRuleId,n=e(A6(t));return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[j6(e)]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){let n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=q6(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){let r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){let r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=I6.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!t||t===Y6.NULL){i=!0;let e=this._basicScopeAttributesProvider.getDefaultAttributes(),n=this.themeProvider.getDefaults(),r=y6.set(0,e.languageId,e.tokenType,null,n.fontStyle,n.foregroundId,n.backgroundId),a=this.getRule(this._rootId).getName(null,null),o;o=a?J6.createRootAndLookUpScopeName(a,r,this):J6.createRoot(`unknown`,r),t=new Y6(null,this._rootId,-1,-1,!1,null,o,o)}else i=!1,t.reset();e+=`
3892
- `;let a=this.createOnigString(e),o=a.content.length,s=new Bfe(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),c=H6(this,a,i,0,t,s,!0,r);return S6(a),{lineLength:o,lineTokens:s,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}};function q6(e,t){return e=tfe(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var J6=class e{constructor(e,t,n){this.parent=e,this.scopePath=t,this.tokenAttributes=n}static fromExtension(t,n){var r;let i=t,a=(r=t==null?void 0:t.scopePath)==null?null:r;for(let t of n)a=h6.push(a,t.scopeNames),i=new e(i,a,t.encodedTokenAttributes);return i}static createRoot(t,n){return new e(null,new h6(null,t),n)}static createRootAndLookUpScopeName(t,n,r){let i=r.getMetadataForScope(t),a=new h6(null,t),o=r.themeProvider.themeMatch(a),s=e.mergeAttributes(n,i,o);return new e(null,a,s)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(` `)}equals(t){return e.equals(this,t)}static equals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}while(!0)}static mergeAttributes(e,t,n){let r=-1,i=0,a=0;return n!==null&&(r=n.fontStyle,i=n.foregroundId,a=n.backgroundId),y6.set(e,t.languageId,t.tokenType,null,r,i,a)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(` `)===-1)return e._pushAttributed(this,t,n);let r=t.split(/ /g),i=this;for(let t of r)i=e._pushAttributed(i,t,n);return i}static _pushAttributed(t,n,r){let i=r.getMetadataForScope(n),a=t.scopePath.push(n),o=r.themeProvider.themeMatch(a),s=e.mergeAttributes(t.tokenAttributes,i,o);return new e(t,a,s)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;){var r,i;t.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined((r=(i=n.parent)==null?void 0:i.scopePath)==null?null:r)}),n=n.parent}return n===e?t.reverse():void 0}},Y6=(r6=class t{constructor(t,n,r,i,a,o,s,c){e.M(this,`_stackElementBrand`,void 0),e.M(this,`_enterPos`,void 0),e.M(this,`_anchorPos`,void 0),e.M(this,`depth`,void 0),this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=a,this.endRule=o,this.nameScopesList=s,this.contentNameScopesList=c,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=i}equals(e){return e!==null&&t._equals(this,e)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?J6.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){t._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,n,r,i,a,o,s){return new t(this,e,n,r,i,a,o,s)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){let e=[];return this._writeString(e,0),`[`+e.join(`,`)+`]`}_writeString(e,t){var n,r;return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${(n=this.nameScopesList)==null?void 0:n.toString()}, ${(r=this.contentNameScopesList)==null?void 0:r.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new t(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){var e,t,n,r,i,a;return{ruleId:j6(this.ruleId),beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:(e=(t=this.nameScopesList)==null?void 0:t.getExtensionIfDefined((n=(r=this.parent)==null?void 0:r.nameScopesList)==null?null:n))==null?[]:e,contentNameScopesList:(i=(a=this.contentNameScopesList)==null?void 0:a.getExtensionIfDefined(this.nameScopesList))==null?[]:i}}static pushFrame(e,n){var r,i,a;let o=J6.fromExtension((r=e==null?void 0:e.nameScopesList)==null?null:r,n.nameScopesList);return new t(e,A6(n.ruleId),(i=n.enterPos)==null?-1:i,(a=n.anchorPos)==null?-1:a,n.beginRuleCapturedEOL,n.endRule,o,J6.fromExtension(o,n.contentNameScopesList))}},e.M(r6,`NULL`,new r6(null,0,0,0,!1,null,null,null)),r6),zfe=class{constructor(t,n){e.M(this,`balancedBracketScopes`,void 0),e.M(this,`unbalancedBracketScopes`,void 0),e.M(this,`allowAny`,!1),this.balancedBracketScopes=t.flatMap(e=>e===`*`?(this.allowAny=!0,[]):b6(e,K6).map(e=>e.matcher)),this.unbalancedBracketScopes=n.flatMap(e=>b6(e,K6).map(e=>e.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(let t of this.unbalancedBracketScopes)if(t(e))return!1;for(let t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},Bfe=class{constructor(t,n,r,i){e.M(this,`_emitBinaryTokens`,void 0),e.M(this,`_lineText`,void 0),e.M(this,`_tokens`,void 0),e.M(this,`_binaryTokens`,void 0),e.M(this,`_lastTokenEndIndex`,void 0),e.M(this,`_tokenTypeOverrides`,void 0),this.balancedBracketSelectors=i,this._emitBinaryTokens=t,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){var n;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){var r,i;let n=(r=e==null?void 0:e.tokenAttributes)==null?0:r,o=!1;if((i=this.balancedBracketSelectors)!=null&&i.matchesAlways&&(o=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){var a;let t=(a=e==null?void 0:e.getScopeNames())==null?[]:a;for(let e of this._tokenTypeOverrides)e.matcher(t)&&(n=y6.set(n,0,ffe(e.type),null,-1,0,0));this.balancedBracketSelectors&&(o=this.balancedBracketSelectors.match(t))}if(o&&(n=y6.set(n,0,8,o,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===n){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(n),this._lastTokenEndIndex=t;return}let o=(n=e==null?void 0:e.getScopeNames())==null?[]:n;this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:o}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);let n=new Uint32Array(this._binaryTokens.length);for(let e=0,t=this._binaryTokens.length;e<t;e++)n[e]=this._binaryTokens[e];return n}},Vfe=class{constructor(t,n){e.M(this,`_grammars`,new Map),e.M(this,`_rawGrammars`,new Map),e.M(this,`_injectionGrammars`,new Map),e.M(this,`_theme`,void 0),this._onigLib=n,this._theme=t}dispose(){for(let e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,i){if(!this._grammars.has(e)){let a=this._rawGrammars.get(e);if(!a)return null;this._grammars.set(e,Ife(e,a,t,n,r,i,this,this._onigLib))}return this._grammars.get(e)}},Hfe=class{constructor(t){e.M(this,`_options`,void 0),e.M(this,`_syncRegistry`,void 0),e.M(this,`_ensureGrammarCache`,void 0),this._options=t,this._syncRegistry=new Vfe(m6.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(m6.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,n){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:n})}loadGrammarWithConfiguration(e,t,n){return this._loadGrammar(e,t,n.embeddedLanguages,n.tokenTypes,new zfe(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,n,r,i){let a=new _fe(this._syncRegistry,e);for(;a.Q.length>0;)a.Q.map(e=>this._loadSingleGrammar(e.scopeName)),a.processQueue();return this._grammarForScopeName(e,t,n,r,i)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){let t=this._options.loadGrammar(e);if(t){let n=typeof this._options.getInjections==`function`?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,n)}}addGrammar(e,t=[],n=0,r=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,n,r)}_grammarForScopeName(e,t=0,n=null,r=null,i=null){return this._syncRegistry.grammarForScopeName(e,t,n,r,i)}},X6=Y6.NULL;function Z6(e,t){let n=typeof e==`string`?{}:{...e.colorReplacements},r=typeof e==`string`?e:e.name;for(let[e,i]of Object.entries((t==null?void 0:t.colorReplacements)||{}))typeof i==`string`?n[e]=i:e===r&&Object.assign(n,i);return n}function Q6(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function Ufe(e){return Array.isArray(e)?e:[e]}async function $6(e){return Promise.resolve(typeof e==`function`?e():e).then(e=>e.default||e)}function e8(e){return!e||[`plaintext`,`txt`,`text`,`plain`].includes(e)}function Wfe(e){return e===`ansi`||e8(e)}function t8(e){return e===`none`}function Gfe(e){return t8(e)}var Kfe=/(\r?\n)/g;function n8(e,t=!1){if(e.length===0)return[[``,0]];let n=e.split(Kfe),r=0,i=[];for(let e=0;e<n.length;e+=2){var a;let o=t?n[e]+(n[e+1]||``):n[e];i.push([o,r]),r+=n[e].length,r+=((a=n[e+1])==null?void 0:a.length)||0}return i}var r8={light:`#333333`,dark:`#bbbbbb`},i8={light:`#fffffe`,dark:`#1e1e1e`},a8=`__shiki_resolved`;function o8(e){if(e!=null&&e[a8])return e;let t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||(t.type=`dark`),t.colorReplacements={...t.colorReplacements},t.settings||(t.settings=[]);let{bg:n,fg:r}=t;if(!n||!r){var i,a,o,s;let e=t.settings?t.settings.find(e=>!e.name&&!e.scope):void 0;e!=null&&(i=e.settings)!=null&&i.foreground&&(r=e.settings.foreground),e!=null&&(a=e.settings)!=null&&a.background&&(n=e.settings.background),!r&&t!=null&&(o=t.colors)!=null&&o[`editor.foreground`]&&(r=t.colors[`editor.foreground`]),!n&&t!=null&&(s=t.colors)!=null&&s[`editor.background`]&&(n=t.colors[`editor.background`]),r||(r=t.type===`light`?r8.light:r8.dark),n||(n=t.type===`light`?i8.light:i8.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let c=0,l=new Map;function u(e){var n;if(l.has(e))return l.get(e);c+=1;let r=`#${c.toString(16).padStart(8,`0`).toLowerCase()}`;return(n=t.colorReplacements)!=null&&n[`#${r}`]?u(e):(l.set(e,r),r)}t.settings=t.settings.map(e=>{var n,r;let i=((n=e.settings)==null?void 0:n.foreground)&&!e.settings.foreground.startsWith(`#`),a=((r=e.settings)==null?void 0:r.background)&&!e.settings.background.startsWith(`#`);if(!i&&!a)return e;let o={...e,settings:{...e.settings}};if(i){let n=u(e.settings.foreground);t.colorReplacements[n]=e.settings.foreground,o.settings.foreground=n}if(a){let n=u(e.settings.background);t.colorReplacements[n]=e.settings.background,o.settings.background=n}return o});for(let e of Object.keys(t.colors||{}))if(e===`editor.foreground`||e===`editor.background`||e.startsWith(`terminal.ansi`)){var d;if(!((d=t.colors[e])!=null&&d.startsWith(`#`))){let n=u(t.colors[e]);t.colorReplacements[n]=t.colors[e],t.colors[e]=n}}return Object.defineProperty(t,a8,{enumerable:!1,writable:!1,value:!0}),t}async function s8(e){return[...new Set((await Promise.all(e.filter(e=>!Wfe(e)).map(async e=>await $6(e).then(e=>Array.isArray(e)?e:[e])))).flat())]}async function c8(e){return(await Promise.all(e.map(async e=>Gfe(e)?null:o8(await $6(e))))).filter(e=>!!e)}function l8(e,t){if(!t)return e;if(t[e]){let n=new Set([e]);for(;t[e];){if(e=t[e],n.has(e))throw new t6(`Circular alias \`${[...n].join(` -> `)} -> ${e}\``);n.add(e)}}return e}var qfe=class extends Hfe{constructor(t,n,r,i={}){super(t),e.M(this,`_resolver`,void 0),e.M(this,`_themes`,void 0),e.M(this,`_langs`,void 0),e.M(this,`_alias`,void 0),e.M(this,`_resolvedThemes`,new Map),e.M(this,`_resolvedGrammars`,new Map),e.M(this,`_langMap`,new Map),e.M(this,`_langGraph`,new Map),e.M(this,`_textmateThemeCache`,new WeakMap),e.M(this,`_loadedThemesCache`,null),e.M(this,`_loadedLanguagesCache`,null),this._resolver=t,this._themes=n,this._langs=r,this._alias=i,this._themes.map(e=>this.loadTheme(e)),this.loadLanguages(this._langs)}getTheme(e){return typeof e==`string`?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){let t=o8(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=m6.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=l8(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;let t=new Set([...this._langMap.values()].filter(t=>{var n;return(n=t.embeddedLangsLazy)==null?void 0:n.includes(e.name)}));this._resolver.addLanguage(e);let n={balancedBracketSelectors:e.balancedBracketSelectors||[`*`],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);let r=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(r.name=e.name,this._resolvedGrammars.set(e.name,r),e.aliases&&e.aliases.forEach(t=>{this._alias[t]=e.name}),this._loadedLanguagesCache=null,t.size)for(let e of t){var i,a;this._resolvedGrammars.delete(e.name),this._loadedLanguagesCache=null,(i=this._syncRegistry)==null||(i=i._injectionGrammars)==null||i.delete(e.scopeName),(a=this._syncRegistry)==null||(a=a._grammars)==null||a.delete(e.scopeName),this.loadLanguage(this._langMap.get(e.name))}}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(let t of e)this.resolveEmbeddedLanguages(t);let t=[...this._langGraph.entries()],n=t.filter(([e,t])=>!t);if(n.length){let e=t.filter(([e,t])=>{var r;return t?(r=t.embeddedLanguages||t.embeddedLangs)==null?void 0:r.some(e=>n.map(([e])=>e).includes(e)):!1}).filter(e=>!n.includes(e));throw new t6(`Missing languages ${n.map(([e])=>`\`${e}\``).join(`, `)}, required by ${e.map(([e])=>`\`${e}\``).join(`, `)}`)}for(let[e,n]of t)this._resolver.addLanguage(n);for(let[e,n]of t)this.loadLanguage(n)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){var t;this._langMap.set(e.name,e),this._langGraph.set(e.name,e);let n=(t=e.embeddedLanguages)==null?e.embeddedLangs:t;if(n)for(let e of n)this._langGraph.set(e,this._langMap.get(e))}},Jfe=class{constructor(t,n){e.M(this,`_langs`,new Map),e.M(this,`_scopeToLang`,new Map),e.M(this,`_injections`,new Map),e.M(this,`_onigLib`,void 0),this._onigLib={createOnigScanner:e=>t.createScanner(e),createOnigString:e=>t.createString(e)},n.forEach(e=>this.addLanguage(e))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){let t=e.split(`.`),n=[];for(let e=1;e<=t.length;e++){let r=t.slice(0,e).join(`.`);n=[...n,...this._injections.get(r)||[]]}return n}},u8=0;function Yfe(e){u8+=1,e.warnings!==!1&&u8>=10&&u8%10==0&&console.warn(`[Shiki] ${u8} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new t6("`engine` option is required for synchronous mode");let n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(o8),i=new qfe(new Jfe(e.engine,n),r,n,e.langAlias),a;function o(t){return l8(t,e.langAlias)}function s(e){g();let t=i.getGrammar(typeof e==`string`?e:e.name);if(!t)throw new t6(`Language \`${e}\` not found, you may need to load it first`);return t}function c(e){if(e===`none`)return{bg:``,fg:``,name:`none`,settings:[],type:`dark`};g();let t=i.getTheme(e);if(!t)throw new t6(`Theme \`${e}\` not found, you may need to load it first`);return t}function l(e){g();let t=c(e);return a!==e&&(i.setTheme(t),a=e),{theme:t,colorMap:i.getColorMap()}}function u(){return g(),i.getLoadedThemes()}function d(){return g(),i.getLoadedLanguages()}function f(...e){g(),i.loadLanguages(e.flat(1))}async function p(...e){return f(await s8(e))}function m(...e){g();for(let t of e.flat(1))i.loadTheme(t)}async function h(...e){return g(),m(await c8(e))}function g(){if(t)throw new t6(`Shiki instance has been disposed`)}function _(){t||(t=!0,i.dispose(),--u8)}return{setTheme:l,getTheme:c,getLanguage:s,getLoadedThemes:u,getLoadedLanguages:d,resolveLangAlias:o,loadLanguage:p,loadLanguageSync:f,loadTheme:h,loadThemeSync:m,dispose:_,[Symbol.dispose]:_}}async function Xfe(e){e.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");let[t,n,r]=await Promise.all([c8(e.themes||[]),s8(e.langs||[]),e.engine]);return Yfe({...e,themes:t,langs:n,engine:r})}var d8=new WeakMap;function f8(e,t){d8.set(e,t)}function p8(e){return d8.get(e)}var m8=class t{get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(e,n){return new t(Object.fromEntries(Ufe(n).map(e=>[e,X6])),e)}constructor(...t){if(e.M(this,`_stacks`,{}),e.M(this,`lang`,void 0),t.length===2){let[e,n]=t;this.lang=n,this._stacks=e}else{let[e,n,r]=t;this.lang=n,this._stacks={[r]:e}}}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){return Zfe(this._stacks[e])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function Zfe(e){let t=[],n=new Set;function r(e){var i;if(n.has(e))return;n.add(e);let a=e==null||(i=e.nameScopesList)==null?void 0:i.scopeName;a&&t.push(a),e.parent&&r(e.parent)}return r(e),t}function Qfe(e,t){if(!(e instanceof m8))throw new t6(`Invalid grammar state`);return e.getInternalStack(t)}var $fe=/,/,epe=/ /;function h8(e,t,n={}){let{theme:r=e.getLoadedThemes()[0]}=n;if(e8(e.resolveLangAlias(n.lang||`text`))||t8(r))return n8(t).map(e=>[{content:e[0],offset:e[1]}]);let{theme:i,colorMap:a}=e.setTheme(r),o=e.getLanguage(n.lang||`text`);if(n.grammarState){if(n.grammarState.lang!==o.name)throw new t6(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${o.name}"`);if(!n.grammarState.themes.includes(i.name))throw new t6(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${i.name}"`)}return npe(t,o,i,a,n)}function tpe(...e){if(e.length===2)return p8(e[1]);let[t,n,r={}]=e,{lang:i=`text`,theme:a=t.getLoadedThemes()[0]}=r;if(e8(i)||t8(a))throw new t6(`Plain language does not have grammar state`);if(i===`ansi`)throw new t6(`ANSI language does not have grammar state`);let{theme:o,colorMap:s}=t.setTheme(a),c=t.getLanguage(i);return new m8(g8(n,c,o,s,r).stateStack,c.name,o.name)}function npe(e,t,n,r,i){let a=g8(e,t,n,r,i),o=new m8(a.stateStack,t.name,n.name);return f8(a.tokens,o),a.tokens}function g8(e,t,n,r,i){var a;let o=Z6(n,i),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:c=500,includeExplanation:l=!1}=i,u=n8(e),d=i.grammarState?(a=Qfe(i.grammarState,n.name))==null?X6:a:i.grammarContextCode==null?X6:g8(i.grammarContextCode,t,n,r,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack,f=[],p=[];for(let e=0,i=u.length;e<i;e++){let[i,a]=u[e];if(i===``){f=[],p.push([]);continue}if(s>0&&i.length>=s){f=[],p.push([{content:i,offset:a,color:``,fontStyle:0}]);continue}let m,h,g;l&&l!==`tokenType`&&(m=t.tokenizeLine(i,d,c),h=m.tokens,g=0);let _=t.tokenizeLine2(i,d,c),v=_.tokens.length/2;for(let e=0;e<v;e++){let t=_.tokens[2*e],s=e+1<v?_.tokens[2*e+2]:i.length;if(t===s)continue;let c=_.tokens[2*e+1],u=Q6(r[y6.getForeground(c)],o),d=y6.getFontStyle(c),p={content:i.substring(t,s),offset:a+t,color:u,fontStyle:d};if(l===`tokenType`)p.type=y6.getTokenType(c);else if(l){let e=[];if(l!==`scopeName`)for(let t of n.settings){let n;switch(typeof t.scope){case`string`:n=t.scope.split($fe).map(e=>e.trim());break;case`object`:n=t.scope;break;default:continue}e.push({settings:t,selectors:n.map(e=>e.split(epe))})}p.explanation=[];let r=0;for(;t+r<s;){let t=h[g],n=i.substring(t.startIndex,t.endIndex);r+=n.length,p.explanation.push({content:n,scopes:l===`scopeName`?rpe(t.scopes):ipe(e,t.scopes)}),g+=1}}f.push(p)}p.push(f),f=[],d=_.ruleStack}return{tokens:p,stateStack:d}}function rpe(e){return e.map(e=>({scopeName:e}))}function ipe(e,t){let n=[];for(let r=0,i=t.length;r<i;r++){let i=t[r];n[r]={scopeName:i,themeMatches:ope(e,i,t.slice(0,r))}}return n}function _8(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]===`.`}function ape(e,t,n){if(!_8(e.at(-1),t))return!1;let r=e.length-2,i=n.length-1;for(;r>=0&&i>=0;)_8(e[r],n[i])&&--r,--i;return r===-1}function ope(e,t,n){let r=[];for(let{selectors:i,settings:a}of e)for(let e of i)if(ape(e,t,n)){r.push(a);break}return r}function v8(e,t,n,r=h8){let i=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})),a=i.map(i=>{let a=r(e,t,{...n,theme:i.theme});return{tokens:a,state:p8(a),theme:typeof i.theme==`string`?i.theme:i.theme.name}}),o=spe(...a.map(e=>e.tokens)),s=o[0].map((e,t)=>e.map((e,r)=>{let a={content:e.content,variants:{},offset:e.offset};return`includeExplanation`in n&&n.includeExplanation&&(a.explanation=e.explanation),o.forEach((e,n)=>{let{content:o,explanation:s,offset:c,...l}=e[t][r];a.variants[i[n].color]=l}),a})),c=a[0].state?new m8(Object.fromEntries(a.map(e=>{var t;return[e.theme,(t=e.state)==null?void 0:t.getInternalStack(e.theme)]})),a[0].state.lang):void 0;return c&&f8(s,c),s}function spe(...e){let t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){let i=e.map(e=>e[r]),a=t.map(()=>[]);t.forEach((e,t)=>e.push(a[t]));let o=i.map(()=>0),s=i.map(e=>e[0]);for(;s.every(e=>e);){let e=Math.min(...s.map(e=>e.content.length));for(let t=0;t<n;t++){let n=s[t];n.content.length===e?(a[t].push(n),o[t]+=1,s[t]=i[t][o[t]]):(a[t].push({...n,content:n.content.slice(0,e)}),s[t]={...n,content:n.content.slice(e),offset:n.offset+e})}}}return t}var cpe=[`area`,`base`,`basefont`,`bgsound`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`image`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`],y8=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};y8.prototype.normal={},y8.prototype.property={},y8.prototype.space=void 0;function b8(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new y8(n,r,t)}function x8(e){return e.toLowerCase()}var S8=class{constructor(e,t){this.attribute=t,this.property=e}};S8.prototype.attribute=``,S8.prototype.booleanish=!1,S8.prototype.boolean=!1,S8.prototype.commaOrSpaceSeparated=!1,S8.prototype.commaSeparated=!1,S8.prototype.defined=!1,S8.prototype.mustUseProperty=!1,S8.prototype.number=!1,S8.prototype.overloadedBoolean=!1,S8.prototype.property=``,S8.prototype.spaceSeparated=!1,S8.prototype.space=void 0;var C8=e.Q({boolean:()=>w8,booleanish:()=>T8,commaOrSpaceSeparated:()=>k8,commaSeparated:()=>O8,number:()=>$,overloadedBoolean:()=>E8,spaceSeparated:()=>D8}),lpe=0,w8=A8(),T8=A8(),E8=A8(),$=A8(),D8=A8(),O8=A8(),k8=A8();function A8(){return 2**++lpe}var j8=Object.keys(C8),M8=class extends S8{constructor(e,t,n,r){let i=-1;if(super(e,t),N8(this,`space`,r),typeof n==`number`)for(;++i<j8.length;){let e=j8[i];N8(this,j8[i],(n&C8[e])===C8[e])}}};M8.prototype.defined=!0;function N8(e,t,n){n&&(e[t]=n)}function P8(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new M8(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[x8(r)]=r,n[x8(a.attribute)]=r}return new y8(t,n,e.space)}var F8=P8({properties:{ariaActiveDescendant:null,ariaAtomic:T8,ariaAutoComplete:null,ariaBusy:T8,ariaChecked:T8,ariaColCount:$,ariaColIndex:$,ariaColSpan:$,ariaControls:D8,ariaCurrent:null,ariaDescribedBy:D8,ariaDetails:null,ariaDisabled:T8,ariaDropEffect:D8,ariaErrorMessage:null,ariaExpanded:T8,ariaFlowTo:D8,ariaGrabbed:T8,ariaHasPopup:null,ariaHidden:T8,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:D8,ariaLevel:$,ariaLive:null,ariaModal:T8,ariaMultiLine:T8,ariaMultiSelectable:T8,ariaOrientation:null,ariaOwns:D8,ariaPlaceholder:null,ariaPosInSet:$,ariaPressed:T8,ariaReadOnly:T8,ariaRelevant:null,ariaRequired:T8,ariaRoleDescription:D8,ariaRowCount:$,ariaRowIndex:$,ariaRowSpan:$,ariaSelected:T8,ariaSetSize:$,ariaSort:null,ariaValueMax:$,ariaValueMin:$,ariaValueNow:$,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}});function I8(e,t){return t in e?e[t]:t}function L8(e,t){return I8(e,t.toLowerCase())}var upe=P8({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:O8,acceptCharset:D8,accessKey:D8,action:null,allow:null,allowFullScreen:w8,allowPaymentRequest:w8,allowUserMedia:w8,alpha:w8,alt:null,as:null,async:w8,autoCapitalize:null,autoComplete:D8,autoFocus:w8,autoPlay:w8,blocking:D8,capture:null,charSet:null,checked:w8,cite:null,className:D8,closedBy:null,colorSpace:null,cols:$,colSpan:$,command:null,commandFor:null,content:null,contentEditable:T8,controls:w8,controlsList:D8,coords:$|O8,crossOrigin:null,data:null,dateTime:null,decoding:null,default:w8,defer:w8,dir:null,dirName:null,disabled:w8,download:E8,draggable:T8,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:w8,formTarget:null,headers:D8,height:$,hidden:E8,high:$,href:null,hrefLang:null,htmlFor:D8,httpEquiv:D8,id:null,imageSizes:null,imageSrcSet:null,inert:w8,inputMode:null,integrity:null,is:null,isMap:w8,itemId:null,itemProp:D8,itemRef:D8,itemScope:w8,itemType:D8,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:w8,low:$,manifest:null,max:null,maxLength:$,media:null,method:null,min:null,minLength:$,multiple:w8,muted:w8,name:null,nonce:null,noModule:w8,noValidate:w8,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:w8,optimum:$,pattern:null,ping:D8,placeholder:null,playsInline:w8,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:w8,referrerPolicy:null,rel:D8,required:w8,reversed:w8,rows:$,rowSpan:$,sandbox:D8,scope:null,scoped:w8,seamless:w8,selected:w8,shadowRootClonable:w8,shadowRootCustomElementRegistry:w8,shadowRootDelegatesFocus:w8,shadowRootMode:null,shadowRootSerializable:w8,shape:null,size:$,sizes:null,slot:null,span:$,spellCheck:T8,src:null,srcDoc:null,srcLang:null,srcSet:null,start:$,step:null,style:null,tabIndex:$,target:null,title:null,translate:null,type:null,typeMustMatch:w8,useMap:null,value:T8,width:$,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:D8,axis:null,background:null,bgColor:null,border:$,borderColor:null,bottomMargin:$,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:w8,declare:w8,event:null,face:null,frame:null,frameBorder:null,hSpace:$,leftMargin:$,link:null,longDesc:null,lowSrc:null,marginHeight:$,marginWidth:$,noResize:w8,noHref:w8,noShade:w8,noWrap:w8,object:null,profile:null,prompt:null,rev:null,rightMargin:$,rules:null,scheme:null,scrolling:T8,standby:null,summary:null,text:null,topMargin:$,valueType:null,version:null,vAlign:null,vLink:null,vSpace:$,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:w8,disablePictureInPicture:w8,disableRemotePlayback:w8,exportParts:O8,part:D8,prefix:null,property:null,results:$,security:null,unselectable:null},space:`html`,transform:L8}),dpe=P8({attributes:{accentHeight:`accent-height`,alignmentBaseline:`alignment-baseline`,arabicForm:`arabic-form`,baselineShift:`baseline-shift`,capHeight:`cap-height`,className:`class`,clipPath:`clip-path`,clipRule:`clip-rule`,colorInterpolation:`color-interpolation`,colorInterpolationFilters:`color-interpolation-filters`,colorProfile:`color-profile`,colorRendering:`color-rendering`,crossOrigin:`crossorigin`,dataType:`datatype`,dominantBaseline:`dominant-baseline`,enableBackground:`enable-background`,fillOpacity:`fill-opacity`,fillRule:`fill-rule`,floodColor:`flood-color`,floodOpacity:`flood-opacity`,fontFamily:`font-family`,fontSize:`font-size`,fontSizeAdjust:`font-size-adjust`,fontStretch:`font-stretch`,fontStyle:`font-style`,fontVariant:`font-variant`,fontWeight:`font-weight`,glyphName:`glyph-name`,glyphOrientationHorizontal:`glyph-orientation-horizontal`,glyphOrientationVertical:`glyph-orientation-vertical`,hrefLang:`hreflang`,horizAdvX:`horiz-adv-x`,horizOriginX:`horiz-origin-x`,horizOriginY:`horiz-origin-y`,imageRendering:`image-rendering`,letterSpacing:`letter-spacing`,lightingColor:`lighting-color`,markerEnd:`marker-end`,markerMid:`marker-mid`,markerStart:`marker-start`,maskType:`mask-type`,navDown:`nav-down`,navDownLeft:`nav-down-left`,navDownRight:`nav-down-right`,navLeft:`nav-left`,navNext:`nav-next`,navPrev:`nav-prev`,navRight:`nav-right`,navUp:`nav-up`,navUpLeft:`nav-up-left`,navUpRight:`nav-up-right`,onAbort:`onabort`,onActivate:`onactivate`,onAfterPrint:`onafterprint`,onBeforePrint:`onbeforeprint`,onBegin:`onbegin`,onCancel:`oncancel`,onCanPlay:`oncanplay`,onCanPlayThrough:`oncanplaythrough`,onChange:`onchange`,onClick:`onclick`,onClose:`onclose`,onCopy:`oncopy`,onCueChange:`oncuechange`,onCut:`oncut`,onDblClick:`ondblclick`,onDrag:`ondrag`,onDragEnd:`ondragend`,onDragEnter:`ondragenter`,onDragExit:`ondragexit`,onDragLeave:`ondragleave`,onDragOver:`ondragover`,onDragStart:`ondragstart`,onDrop:`ondrop`,onDurationChange:`ondurationchange`,onEmptied:`onemptied`,onEnd:`onend`,onEnded:`onended`,onError:`onerror`,onFocus:`onfocus`,onFocusIn:`onfocusin`,onFocusOut:`onfocusout`,onHashChange:`onhashchange`,onInput:`oninput`,onInvalid:`oninvalid`,onKeyDown:`onkeydown`,onKeyPress:`onkeypress`,onKeyUp:`onkeyup`,onLoad:`onload`,onLoadedData:`onloadeddata`,onLoadedMetadata:`onloadedmetadata`,onLoadStart:`onloadstart`,onMessage:`onmessage`,onMouseDown:`onmousedown`,onMouseEnter:`onmouseenter`,onMouseLeave:`onmouseleave`,onMouseMove:`onmousemove`,onMouseOut:`onmouseout`,onMouseOver:`onmouseover`,onMouseUp:`onmouseup`,onMouseWheel:`onmousewheel`,onOffline:`onoffline`,onOnline:`ononline`,onPageHide:`onpagehide`,onPageShow:`onpageshow`,onPaste:`onpaste`,onPause:`onpause`,onPlay:`onplay`,onPlaying:`onplaying`,onPopState:`onpopstate`,onProgress:`onprogress`,onRateChange:`onratechange`,onRepeat:`onrepeat`,onReset:`onreset`,onResize:`onresize`,onScroll:`onscroll`,onSeeked:`onseeked`,onSeeking:`onseeking`,onSelect:`onselect`,onShow:`onshow`,onStalled:`onstalled`,onStorage:`onstorage`,onSubmit:`onsubmit`,onSuspend:`onsuspend`,onTimeUpdate:`ontimeupdate`,onToggle:`ontoggle`,onUnload:`onunload`,onVolumeChange:`onvolumechange`,onWaiting:`onwaiting`,onZoom:`onzoom`,overlinePosition:`overline-position`,overlineThickness:`overline-thickness`,paintOrder:`paint-order`,panose1:`panose-1`,pointerEvents:`pointer-events`,referrerPolicy:`referrerpolicy`,renderingIntent:`rendering-intent`,shapeRendering:`shape-rendering`,stopColor:`stop-color`,stopOpacity:`stop-opacity`,strikethroughPosition:`strikethrough-position`,strikethroughThickness:`strikethrough-thickness`,strokeDashArray:`stroke-dasharray`,strokeDashOffset:`stroke-dashoffset`,strokeLineCap:`stroke-linecap`,strokeLineJoin:`stroke-linejoin`,strokeMiterLimit:`stroke-miterlimit`,strokeOpacity:`stroke-opacity`,strokeWidth:`stroke-width`,tabIndex:`tabindex`,textAnchor:`text-anchor`,textDecoration:`text-decoration`,textRendering:`text-rendering`,transformOrigin:`transform-origin`,typeOf:`typeof`,underlinePosition:`underline-position`,underlineThickness:`underline-thickness`,unicodeBidi:`unicode-bidi`,unicodeRange:`unicode-range`,unitsPerEm:`units-per-em`,vAlphabetic:`v-alphabetic`,vHanging:`v-hanging`,vIdeographic:`v-ideographic`,vMathematical:`v-mathematical`,vectorEffect:`vector-effect`,vertAdvY:`vert-adv-y`,vertOriginX:`vert-origin-x`,vertOriginY:`vert-origin-y`,wordSpacing:`word-spacing`,writingMode:`writing-mode`,xHeight:`x-height`,playbackOrder:`playbackorder`,timelineBegin:`timelinebegin`},properties:{about:k8,accentHeight:$,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:$,amplitude:$,arabicForm:null,ascent:$,attributeName:null,attributeType:null,azimuth:$,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:$,by:null,calcMode:null,capHeight:$,className:D8,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:$,diffuseConstant:$,direction:null,display:null,dur:null,divisor:$,dominantBaseline:null,download:w8,dx:null,dy:null,edgeMode:null,editable:null,elevation:$,enableBackground:null,end:null,event:null,exponent:$,externalResourcesRequired:null,fill:null,fillOpacity:$,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:O8,g2:O8,glyphName:O8,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:$,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:$,horizOriginX:$,horizOriginY:$,id:null,ideographic:$,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:$,k:$,k1:$,k2:$,k3:$,k4:$,kernelMatrix:k8,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:$,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:$,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:$,overlineThickness:$,paintOrder:null,panose1:null,path:null,pathLength:$,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:D8,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:$,pointsAtY:$,pointsAtZ:$,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:k8,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:k8,rev:k8,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:k8,requiredFeatures:k8,requiredFonts:k8,requiredFormats:k8,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:$,specularExponent:$,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:$,strikethroughThickness:$,string:null,stroke:null,strokeDashArray:k8,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:$,strokeOpacity:$,strokeWidth:null,style:null,surfaceScale:$,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:k8,tabIndex:$,tableValues:null,target:null,targetX:$,targetY:$,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:k8,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:$,underlineThickness:$,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:$,values:null,vAlphabetic:$,vMathematical:$,vectorEffect:null,vHanging:$,vIdeographic:$,version:null,vertAdvY:$,vertOriginX:$,vertOriginY:$,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:$,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:I8}),R8=P8({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}}),z8=P8({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:L8}),B8=P8({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),fpe=/[A-Z]/g,V8=/-[a-z]/g,ppe=/^data[-\w.:]+$/i;function mpe(e,t){let n=x8(t),r=t,i=S8;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&ppe.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(V8,gpe);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!V8.test(e)){let n=e.replace(fpe,hpe);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=M8}return new i(r,t)}function hpe(e){return`-`+e.toLowerCase()}function gpe(e){return e.charAt(1).toUpperCase()}var _pe=b8([F8,upe,R8,z8,B8],`html`),H8=b8([F8,dpe,R8,z8,B8],`svg`),U8={}.hasOwnProperty;function vpe(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&U8.call(t,e)){let n=String(t[e]);i=U8.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var ype=/["&'<>`]/g,bpe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xpe=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Spe=/[|\\{}()[\]^$+*?.]/g,W8=new WeakMap;function Cpe(e,t){if(e=e.replace(t.subset?wpe(t.subset):ype,r),t.subset||t.escapeOnly)return e;return e.replace(bpe,n).replace(xpe,r);function n(e,n,r){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)}function r(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}function wpe(e){let t=W8.get(e);return t||(t=Tpe(e),W8.set(e,t)),t}function Tpe(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(Spe,`\\$&`));return RegExp(`(?:`+t.join(`|`)+`)`,`g`)}var Epe=/[\dA-Fa-f]/;function Dpe(e,t,n){let r=`&#x`+e.toString(16).toUpperCase();return n&&t&&!Epe.test(String.fromCharCode(t))?r:r+`;`}var Ope=/\d/;function kpe(e,t,n){let r=`&#`+String(e);return n&&t&&!Ope.test(String.fromCharCode(t))?r:r+`;`}var Ape=`AElig.AMP.Aacute.Acirc.Agrave.Aring.Atilde.Auml.COPY.Ccedil.ETH.Eacute.Ecirc.Egrave.Euml.GT.Iacute.Icirc.Igrave.Iuml.LT.Ntilde.Oacute.Ocirc.Ograve.Oslash.Otilde.Ouml.QUOT.REG.THORN.Uacute.Ucirc.Ugrave.Uuml.Yacute.aacute.acirc.acute.aelig.agrave.amp.aring.atilde.auml.brvbar.ccedil.cedil.cent.copy.curren.deg.divide.eacute.ecirc.egrave.eth.euml.frac12.frac14.frac34.gt.iacute.icirc.iexcl.igrave.iquest.iuml.laquo.lt.macr.micro.middot.nbsp.not.ntilde.oacute.ocirc.ograve.ordf.ordm.oslash.otilde.ouml.para.plusmn.pound.quot.raquo.reg.sect.shy.sup1.sup2.sup3.szlig.thorn.times.uacute.ucirc.ugrave.uml.uuml.yacute.yen.yuml`.split(`.`),G8={nbsp:`\xA0`,iexcl:`¡`,cent:`¢`,pound:`£`,curren:`¤`,yen:`¥`,brvbar:`¦`,sect:`§`,uml:`¨`,copy:`©`,ordf:`ª`,laquo:`«`,not:`¬`,shy:`­`,reg:`®`,macr:`¯`,deg:`°`,plusmn:`±`,sup2:`²`,sup3:`³`,acute:`´`,micro:`µ`,para:`¶`,middot:`·`,cedil:`¸`,sup1:`¹`,ordm:`º`,raquo:`»`,frac14:`¼`,frac12:`½`,frac34:`¾`,iquest:`¿`,Agrave:`À`,Aacute:`Á`,Acirc:`Â`,Atilde:`Ã`,Auml:`Ä`,Aring:`Å`,AElig:`Æ`,Ccedil:`Ç`,Egrave:`È`,Eacute:`É`,Ecirc:`Ê`,Euml:`Ë`,Igrave:`Ì`,Iacute:`Í`,Icirc:`Î`,Iuml:`Ï`,ETH:`Ð`,Ntilde:`Ñ`,Ograve:`Ò`,Oacute:`Ó`,Ocirc:`Ô`,Otilde:`Õ`,Ouml:`Ö`,times:`×`,Oslash:`Ø`,Ugrave:`Ù`,Uacute:`Ú`,Ucirc:`Û`,Uuml:`Ü`,Yacute:`Ý`,THORN:`Þ`,szlig:`ß`,agrave:`à`,aacute:`á`,acirc:`â`,atilde:`ã`,auml:`ä`,aring:`å`,aelig:`æ`,ccedil:`ç`,egrave:`è`,eacute:`é`,ecirc:`ê`,euml:`ë`,igrave:`ì`,iacute:`í`,icirc:`î`,iuml:`ï`,eth:`ð`,ntilde:`ñ`,ograve:`ò`,oacute:`ó`,ocirc:`ô`,otilde:`õ`,ouml:`ö`,divide:`÷`,oslash:`ø`,ugrave:`ù`,uacute:`ú`,ucirc:`û`,uuml:`ü`,yacute:`ý`,thorn:`þ`,yuml:`ÿ`,fnof:`ƒ`,Alpha:`Α`,Beta:`Β`,Gamma:`Γ`,Delta:`Δ`,Epsilon:`Ε`,Zeta:`Ζ`,Eta:`Η`,Theta:`Θ`,Iota:`Ι`,Kappa:`Κ`,Lambda:`Λ`,Mu:`Μ`,Nu:`Ν`,Xi:`Ξ`,Omicron:`Ο`,Pi:`Π`,Rho:`Ρ`,Sigma:`Σ`,Tau:`Τ`,Upsilon:`Υ`,Phi:`Φ`,Chi:`Χ`,Psi:`Ψ`,Omega:`Ω`,alpha:`α`,beta:`β`,gamma:`γ`,delta:`δ`,epsilon:`ε`,zeta:`ζ`,eta:`η`,theta:`θ`,iota:`ι`,kappa:`κ`,lambda:`λ`,mu:`μ`,nu:`ν`,xi:`ξ`,omicron:`ο`,pi:`π`,rho:`ρ`,sigmaf:`ς`,sigma:`σ`,tau:`τ`,upsilon:`υ`,phi:`φ`,chi:`χ`,psi:`ψ`,omega:`ω`,thetasym:`ϑ`,upsih:`ϒ`,piv:`ϖ`,bull:`•`,hellip:`…`,prime:`′`,Prime:`″`,oline:`‾`,frasl:`⁄`,weierp:`℘`,image:`ℑ`,real:`ℜ`,trade:`™`,alefsym:`ℵ`,larr:`←`,uarr:`↑`,rarr:`→`,darr:`↓`,harr:`↔`,crarr:`↵`,lArr:`⇐`,uArr:`⇑`,rArr:`⇒`,dArr:`⇓`,hArr:`⇔`,forall:`∀`,part:`∂`,exist:`∃`,empty:`∅`,nabla:`∇`,isin:`∈`,notin:`∉`,ni:`∋`,prod:`∏`,sum:`∑`,minus:`−`,lowast:`∗`,radic:`√`,prop:`∝`,infin:`∞`,ang:`∠`,and:`∧`,or:`∨`,cap:`∩`,cup:`∪`,int:`∫`,there4:`∴`,sim:`∼`,cong:`≅`,asymp:`≈`,ne:`≠`,equiv:`≡`,le:`≤`,ge:`≥`,sub:`⊂`,sup:`⊃`,nsub:`⊄`,sube:`⊆`,supe:`⊇`,oplus:`⊕`,otimes:`⊗`,perp:`⊥`,sdot:`⋅`,lceil:`⌈`,rceil:`⌉`,lfloor:`⌊`,rfloor:`⌋`,lang:`〈`,rang:`〉`,loz:`◊`,spades:`♠`,clubs:`♣`,hearts:`♥`,diams:`♦`,quot:`"`,amp:`&`,lt:`<`,gt:`>`,OElig:`Œ`,oelig:`œ`,Scaron:`Š`,scaron:`š`,Yuml:`Ÿ`,circ:`ˆ`,tilde:`˜`,ensp:` `,emsp:` `,thinsp:` `,zwnj:`‌`,zwj:`‍`,lrm:`‎`,rlm:`‏`,ndash:`–`,mdash:`—`,lsquo:`‘`,rsquo:`’`,sbquo:`‚`,ldquo:`“`,rdquo:`”`,bdquo:`„`,dagger:`†`,Dagger:`‡`,permil:`‰`,lsaquo:`‹`,rsaquo:`›`,euro:`€`},jpe=[`cent`,`copy`,`divide`,`gt`,`lt`,`not`,`para`,`times`],K8={}.hasOwnProperty,q8={},J8;for(J8 in G8)K8.call(G8,J8)&&(q8[G8[J8]]=J8);var Mpe=/[^\dA-Za-z]/;function Npe(e,t,n,r){let i=String.fromCharCode(e);if(K8.call(q8,i)){let e=q8[i],a=`&`+e;return n&&Ape.includes(e)&&!jpe.includes(e)&&(!r||t&&t!==61&&Mpe.test(String.fromCharCode(t)))?a:a+`;`}return``}function Ppe(e,t,n){let r=Dpe(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=Npe(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){let i=kpe(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function Y8(e,t){return Cpe(e,Object.assign({format:Ppe},t))}var Fpe=/^>|^->|<!--|-->|--!>|<!-$/g,Ipe=[`>`],Lpe=[`<`,`>`];function Rpe(e,t,n,r){return r.settings.bogusComments?`<?`+Y8(e.value,Object.assign({},r.settings.characterReferences,{subset:Ipe}))+`>`:`<!--`+e.value.replace(Fpe,i)+`-->`;function i(e){return Y8(e,Object.assign({},r.settings.characterReferences,{subset:Lpe}))}}function zpe(e,t,n,r){return`<!`+(r.settings.upperDoctype?`DOCTYPE`:`doctype`)+(r.settings.tightDoctype?``:` `)+`html>`}function X8(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function Bpe(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}function Vpe(e){return e.join(` `).trim()}var Hpe=/[ \t\n\f\r]/g;function Z8(e){return typeof e==`object`?e.type===`text`&&Q8(e.value):Q8(e)}function Q8(e){return e.replace(Hpe,``)===``}var $8=t5(1),e5=t5(-1),Upe=[];function t5(e){return t;function t(t,n,r){let i=t?t.children:Upe,a=(n||0)+e,o=i[a];if(!r)for(;o&&Z8(o);)a+=e,o=i[a];return o}}var Wpe={}.hasOwnProperty;function n5(e){return t;function t(t,n,r){return Wpe.call(e,t.tagName)&&e[t.tagName](t,n,r)}}var r5=n5({body:Kpe,caption:i5,colgroup:i5,dd:Xpe,dt:Ype,head:i5,html:Gpe,li:Jpe,optgroup:Zpe,option:Qpe,p:qpe,rp:a5,rt:a5,tbody:eme,td:o5,tfoot:tme,th:o5,thead:$pe,tr:nme});function i5(e,t,n){let r=$8(n,t,!0);return!r||r.type!==`comment`&&!(r.type===`text`&&Z8(r.value.charAt(0)))}function Gpe(e,t,n){let r=$8(n,t);return!r||r.type!==`comment`}function Kpe(e,t,n){let r=$8(n,t);return!r||r.type!==`comment`}function qpe(e,t,n){let r=$8(n,t);return r?r.type===`element`&&(r.tagName===`address`||r.tagName===`article`||r.tagName===`aside`||r.tagName===`blockquote`||r.tagName===`details`||r.tagName===`div`||r.tagName===`dl`||r.tagName===`fieldset`||r.tagName===`figcaption`||r.tagName===`figure`||r.tagName===`footer`||r.tagName===`form`||r.tagName===`h1`||r.tagName===`h2`||r.tagName===`h3`||r.tagName===`h4`||r.tagName===`h5`||r.tagName===`h6`||r.tagName===`header`||r.tagName===`hgroup`||r.tagName===`hr`||r.tagName===`main`||r.tagName===`menu`||r.tagName===`nav`||r.tagName===`ol`||r.tagName===`p`||r.tagName===`pre`||r.tagName===`section`||r.tagName===`table`||r.tagName===`ul`):!n||n.type!==`element`||n.tagName!==`a`&&n.tagName!==`audio`&&n.tagName!==`del`&&n.tagName!==`ins`&&n.tagName!==`map`&&n.tagName!==`noscript`&&n.tagName!==`video`}function Jpe(e,t,n){let r=$8(n,t);return!r||r.type===`element`&&r.tagName===`li`}function Ype(e,t,n){let r=$8(n,t);return!!(r&&r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`))}function Xpe(e,t,n){let r=$8(n,t);return!r||r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`)}function a5(e,t,n){let r=$8(n,t);return!r||r.type===`element`&&(r.tagName===`rp`||r.tagName===`rt`)}function Zpe(e,t,n){let r=$8(n,t);return!r||r.type===`element`&&r.tagName===`optgroup`}function Qpe(e,t,n){let r=$8(n,t);return!r||r.type===`element`&&(r.tagName===`option`||r.tagName===`optgroup`)}function $pe(e,t,n){let r=$8(n,t);return!!(r&&r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`))}function eme(e,t,n){let r=$8(n,t);return!r||r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`)}function tme(e,t,n){return!$8(n,t)}function nme(e,t,n){let r=$8(n,t);return!r||r.type===`element`&&r.tagName===`tr`}function o5(e,t,n){let r=$8(n,t);return!r||r.type===`element`&&(r.tagName===`td`||r.tagName===`th`)}var rme=n5({body:ome,colgroup:sme,head:ame,html:ime,tbody:cme});function ime(e){let t=$8(e,-1);return!t||t.type!==`comment`}function ame(e){let t=new Set;for(let n of e.children)if(n.type===`element`&&(n.tagName===`base`||n.tagName===`title`)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||n.type===`element`}function ome(e){let t=$8(e,-1,!0);return!t||t.type!==`comment`&&!(t.type===`text`&&Z8(t.value.charAt(0)))&&(t.type!==`element`||t.tagName!==`meta`&&t.tagName!==`link`&&t.tagName!==`script`&&t.tagName!==`style`&&t.tagName!==`template`)}function sme(e,t,n){let r=e5(n,t),i=$8(e,-1,!0);return n&&r&&r.type===`element`&&r.tagName===`colgroup`&&r5(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`col`)}function cme(e,t,n){let r=e5(n,t),i=$8(e,-1);return n&&r&&r.type===`element`&&(r.tagName===`thead`||r.tagName===`tbody`)&&r5(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`tr`)}var s5={name:[[`
3890
+ }`);var Q1=Y(`<div role="none"><!></div> <!> <!> <!>`,1);function $1(e,t){Dz(t,!1);var n=z(void 0,!0),r=mW(`jsoneditor:JSONEditor`),i={text:``},a=void 0,o=!1,s=cG.tree,c=`JSON editor`,l=!0,u=!0,d=!0,f=!0,p=!1,m=!1,h=10485760,g=!0,_=JSON,v=void 0,y=JSON,b={parse:sY,stringify:oY},x=[QG],S=x[0].id,C=$$,w=void 0,T=void 0,E=aY,ee=$$,te=$$,ne=$$,D=$$,re=e=>{console.error(e),alert(e.toString())},ie=$$,O=$$,ae=Q(t,`content`,13,i),oe=Q(t,`selection`,13,a),k=Q(t,`readOnly`,13,o),se=Q(t,`indentation`,13,2),ce=Q(t,`tabSize`,13,4),le=Q(t,`truncateTextSize`,13,1e3),ue=Q(t,`mode`,13,s),de=Q(t,`ariaLabel`,13,c),fe=Q(t,`mainMenuBar`,13,l),pe=Q(t,`navigationBar`,13,u),me=Q(t,`statusBar`,13,d),he=Q(t,`askToFormat`,13,f),ge=Q(t,`escapeControlCharacters`,13,p),A=Q(t,`escapeUnicodeCharacters`,13,m),_e=Q(t,`maxDocumentSizeTextMode`,13,h),j=Q(t,`flattenColumns`,13,g),ve=Q(t,`parser`,13,_),ye=Q(t,`validator`,13,v),be=Q(t,`validationParser`,13,y),M=Q(t,`pathParser`,13,b),N=Q(t,`queryLanguages`,13,x),xe=Q(t,`queryLanguageId`,13,S),Se=Q(t,`onChangeQueryLanguage`,13,C),Ce=Q(t,`onChange`,13,w),we=Q(t,`onSelect`,13,T),Te=Q(t,`onRenderValue`,13,E),Ee=Q(t,`onClassName`,13,ee),De=Q(t,`onRenderMenu`,13,te),Oe=Q(t,`onRenderContextMenu`,13,ne),ke=Q(t,`onChangeMode`,13,D),Ae=Q(t,`onError`,13,re),je=Q(t,`onFocus`,13,ie),Me=Q(t,`onBlur`,13,O),Ne=z(vW(),!0),Pe=z(!1,!0),Fe=z(void 0,!0),Ie=z(void 0,!0),Le=z(void 0,!0),P=z(void 0,!0),Re=z(ve(),!0);function ze(){return ae()}function Be(e){r(`set`);var t=YW(e);if(t)throw Error(t);B(Ne,vW()),ae(e),oV()}function Ve(e){r(`update`);var t=YW(e);if(t)throw Error(t);ae(e),oV()}function He(e){var t=G(Fe).patch(e);return oV(),t}function Ue(e){oe(e),oV()}function We(e,t){G(Fe).expand(e,t),oV()}function Ge(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1];G(Fe).collapse(e,t),oV()}function Ke(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};G(Fe).transform(e),oV()}function qe(){return G(Fe).validate()}function Je(){var e=G(Fe).acceptAutoRepair();return oV(),e}function Ye(e){return Xe.apply(this,arguments)}function Xe(){return(Xe=uR(function*(e){yield G(Fe).scrollTo(e)})).apply(this,arguments)}function Ze(e){return G(Fe).findElement(e)}function Qe(){G(Fe).focus(),oV()}function $e(){return et.apply(this,arguments)}function et(){return(et=uR(function*(){yield G(Fe).refresh()})).apply(this,arguments)}function tt(e){var t,n,Ne,Pe,Fe,Ie,Le,P,Re,ze,Be,Ve,He,Ue,We,Ge,Ke,qe,Je,Ye,Xe,Ze,Qe,$e,et,tt,nt,rt,it,at,ot,st,ct;for(var lt of Object.keys(e))switch(lt){case`content`:ae((t=e[lt])==null?i:t);break;case`selection`:oe((n=e[lt])==null?a:n);break;case`readOnly`:k((Ne=e[lt])==null?o:Ne);break;case`indentation`:se((Pe=e[lt])==null?2:Pe);break;case`tabSize`:ce((Fe=e[lt])==null?4:Fe);break;case`truncateTextSize`:le((Ie=e[lt])==null?1e3:Ie);break;case`mode`:ue((Le=e[lt])==null?s:Le);break;case`ariaLabel`:de((P=e[lt])==null?c:P);break;case`mainMenuBar`:fe((Re=e[lt])==null?l:Re);break;case`navigationBar`:pe((ze=e[lt])==null?u:ze);break;case`statusBar`:me((Be=e[lt])==null?d:Be);break;case`askToFormat`:he((Ve=e[lt])==null?f:Ve);break;case`escapeControlCharacters`:ge((He=e[lt])==null?p:He);break;case`escapeUnicodeCharacters`:A((Ue=e[lt])==null?m:Ue);break;case`maxDocumentSizeTextMode`:_e((We=e[lt])==null?h:We);break;case`flattenColumns`:j((Ge=e[lt])==null?g:Ge);break;case`parser`:ve((Ke=e[lt])==null?_:Ke);break;case`validator`:ye((qe=e[lt])==null?v:qe);break;case`validationParser`:be((Je=e[lt])==null?y:Je);break;case`pathParser`:M((Ye=e[lt])==null?b:Ye);break;case`queryLanguages`:N((Xe=e[lt])==null?x:Xe);break;case`queryLanguageId`:xe((Ze=e[lt])==null?S:Ze);break;case`onChangeQueryLanguage`:Se((Qe=e[lt])==null?C:Qe);break;case`onChange`:Ce(($e=e[lt])==null?w:$e);break;case`onRenderValue`:Te((et=e[lt])==null?E:et);break;case`onClassName`:Ee((tt=e[lt])==null?ee:tt);break;case`onRenderMenu`:De((nt=e[lt])==null?te:nt);break;case`onRenderContextMenu`:Oe((rt=e[lt])==null?ne:rt);break;case`onChangeMode`:ke((it=e[lt])==null?D:it);break;case`onSelect`:we((at=e[lt])==null?T:at);break;case`onError`:Ae((ot=e[lt])==null?re:ot);break;case`onFocus`:je((st=e[lt])==null?ie:st);break;case`onBlur`:Me((ct=e[lt])==null?O:ct);break;default:ut(lt)}function ut(e){r(`Unknown property "${e}"`)}N().some(e=>e.id===xe())||xe(N()[0].id),oV()}function nt(){return rt.apply(this,arguments)}function rt(){return(rt=uR(function*(){throw Error(`class method destroy() is deprecated. It is replaced with a method destroy() in the vanilla library.`)})).apply(this,arguments)}function it(e,t,n){ae(e),Ce()&&Ce()(e,t,n)}function at(e){oe(e),we()&&we()(jy(e))}function ot(){B(Pe,!0),je()&&je()()}function st(){B(Pe,!1),Me()&&Me()()}function ct(e){return lt.apply(this,arguments)}function lt(){return(lt=uR(function*(e){ue()!==e&&(ue(e),oV(),Qe(),ke()(e))})).apply(this,arguments)}function ut(e){r(`handleChangeQueryLanguage`,e),xe(e),Se()(e)}function dt(e){var t=e.id,r=e.json,i=e.rootPath,a=e.onTransform,o=e.onClose;k()||B(P,{id:t,json:r,rootPath:i,indentation:se(),truncateTextSize:le(),escapeControlCharacters:ge(),escapeUnicodeCharacters:A(),parser:ve(),parseMemoizeOne:G(n),validationParser:be(),pathParser:M(),queryLanguages:N(),queryLanguageId:xe(),onChangeQueryLanguage:ut,onRenderValue:Te(),onRenderMenu:e=>De()(e,{mode:ue(),modal:!0,readOnly:k()}),onRenderContextMenu:e=>Oe()(e,{mode:ue(),modal:!0,readOnly:k(),selection:oe()}),onClassName:Ee(),onTransform:a,onClose:o})}function ft(e){k()||B(Le,e)}function pt(e){var t=e.content,n=e.path,i=e.onPatch,a=e.onClose;r(`onJSONEditorModal`,{content:t,path:n}),B(Ie,{content:t,path:n,onPatch:i,readOnly:k(),indentation:se(),tabSize:ce(),truncateTextSize:le(),mainMenuBar:fe(),navigationBar:pe(),statusBar:me(),askToFormat:he(),escapeControlCharacters:ge(),escapeUnicodeCharacters:A(),maxDocumentSizeTextMode:_e(),flattenColumns:j(),parser:ve(),validator:void 0,validationParser:be(),pathParser:M(),onRenderValue:Te(),onClassName:Ee(),onRenderMenu:De(),onRenderContextMenu:Oe(),onSortModal:ft,onTransformModal:dt,onClose:a})}function mt(e){e.stopPropagation()}U(()=>(q(ve()),G(Re),q(ae()),vW),()=>{if(!oG(ve(),G(Re))){if(r(`parser changed, recreate editor`),ZW(ae())){var e=G(Re).stringify(ae().json);ae({json:e===void 0?void 0:ve().parse(e)})}B(Re,ve()),B(Ne,vW())}}),U(()=>q(ae()),()=>{var e=YW(ae());e&&console.error(`Error: `+e)}),U(()=>q(oe()),()=>{oe()===null&&console.warn(`selection is invalid: it is null but should be undefined`)}),U(()=>q(ve()),()=>{B(n,Wx(ve().parse))}),U(()=>q(ue()),()=>{r(`mode changed to`,ue())}),VV();var ht={get:ze,set:Be,update:Ve,patch:He,select:Ue,expand:We,collapse:Ge,transform:Ke,validate:qe,acceptAutoRepair:Je,scrollTo:Ye,findElement:Ze,focus:Qe,refresh:$e,updateProps:tt,destroy:nt};return oW(!0),JG(e,{children:(e,t)=>{var r,i=Q1(),a=MV(i);pU(V(a),()=>G(Ne),e=>{rW(B1(e,{get externalMode(){return ue()},get content(){return ae()},get selection(){return oe()},get readOnly(){return k()},get indentation(){return se()},get tabSize(){return ce()},get truncateTextSize(){return le()},get ariaLabel(){return de()},get statusBar(){return me()},get askToFormat(){return he()},get mainMenuBar(){return fe()},get navigationBar(){return pe()},get maxDocumentSizeTextMode(){return _e()},get escapeControlCharacters(){return ge()},get escapeUnicodeCharacters(){return A()},get flattenColumns(){return j()},get parser(){return ve()},get parseMemoizeOne(){return G(n)},get validator(){return ye()},get validationParser(){return be()},get pathParser(){return M()},insideModal:!1,get onError(){return Ae()},onChange:it,onChangeMode:ct,onSelect:at,get onRenderValue(){return Te()},get onClassName(){return Ee()},onFocus:ot,onBlur:st,get onRenderMenu(){return De()},get onRenderContextMenu(){return Oe()},onSortModal:ft,onTransformModal:dt,onJSONEditorModal:pt,$$legacy:!0}),e=>B(Fe,e),()=>G(Fe))});var o=H(a,2),s=e=>{(function(e,t){var n,r;Dz(t,!1);var i=z(void 0,!0),a=z(void 0,!0),o=z(void 0,!0),s=z(void 0,!0),c=mW(`jsoneditor:SortModal`),l=Q(t,`id`,9),u=Q(t,`json`,9),d=Q(t,`rootPath`,9),f=Q(t,`onSort`,9),p=Q(t,`onClose`,9),m={value:1,label:`ascending`},h=[m,{value:-1,label:`descending`}],g=`${l()}:${kf(d())}`,_=z((n=J1()[g])==null?void 0:n.selectedProperty,!0),v=z(((r=J1()[g])==null?void 0:r.selectedDirection)||m,!0),y=z(void 0,!0);function b(){try{var e,t,n;B(y,void 0);var r=((e=G(_))==null?void 0:e.value)||((t=G(s))==null||(t=t[0])==null?void 0:t.value)||[],i=(n=G(v))==null?void 0:n.value,a=OQ(u(),d(),r,i);f()!==void 0&&d()!==void 0&&f()({operations:a,rootPath:d(),itemPath:r,direction:i}),p()()}catch(e){B(y,String(e))}}function x(e){e.focus()}U(()=>(q(u()),q(d())),()=>{B(i,xf(u(),d()))}),U(()=>G(i),()=>{B(a,Array.isArray(G(i)))}),U(()=>(G(a),G(i)),()=>{B(o,G(a)?FW(G(i)):void 0)}),U(()=>(G(o),cY),()=>{B(s,G(o)?G(o).map(cY):void 0)}),U(()=>(J1(),G(_),G(v)),()=>{J1(J1()[g]={selectedProperty:G(_),selectedDirection:G(v)}),c(`store state in memory`,g,J1()[g])}),VV(),oW(!0),kZ(e,{get onClose(){return p()},className:`jse-sort-modal`,children:(e,t)=>{var n=Z1(),r=MV(n),i=xB(()=>G(a)?`Sort array items`:`Sort object keys`);rZ(r,{get title(){return G(i)},get onClose(){return p()}});var o=V(H(r,2)),c=V(H(V(o))),l=V(H(V(c))),u=H(c),f=e=>{var t=Y1();YX(V(H(V(t))),{showChevron:!0,get items(){return G(s)},get value(){return G(_)},set value(e){B(_,e)},$$legacy:!0}),X(e,t)};Z(u,e=>{G(a),G(s),K(()=>{var e;return G(a)&&G(s)&&((e=G(s))==null?void 0:e.length)>1})&&e(f)}),YX(V(H(V(H(u)))),{showChevron:!0,clearable:!1,get items(){return h},get value(){return G(v)},set value(e){B(v,e)},$$legacy:!0});var m=H(o,2),g=V(m),S=e=>{var t=X1(),n=V(t);W(()=>JH(n,G(y))),X(e,t)};Z(g,e=>{G(y)&&e(S)});var C=V(H(m,2));BV(()=>J(`click`,C,b)),wU(C,e=>x==null?void 0:x(e)),W(e=>{GU(l,e),C.disabled=(G(a),G(s),G(_),K(()=>{var e;return!!(G(a)&&G(s)&&((e=G(s))==null?void 0:e.length)>1)&&!G(_)}))},[()=>(q(d()),q(Vb),q(oY),K(()=>d()&&!Vb(d())?oY(d()):`(document root)`))]),X(e,n)},$$slots:{default:!0}}),Oz()})(e,pW(()=>G(Le),{onClose:()=>{var e;(e=G(Le))==null||e.onClose(),B(Le,void 0)}}))};Z(o,e=>{G(Le)&&e(s)});var c=H(o,2),l=e=>{Q$(e,pW(()=>G(P),{onClose:()=>{var e;(e=G(P))==null||e.onClose(),B(P,void 0)}}))};Z(c,e=>{G(P)&&e(l)});var u=H(c,2),d=e=>{(function(e,t){Dz(t,!1);var n=z(void 0,!0),r=z(void 0,!0),i=z(void 0,!0),a=z(void 0,!0),o=mW(`jsoneditor:JSONEditorModal`),s=Q(t,`content`,9),c=Q(t,`path`,9),l=Q(t,`onPatch`,9),u=Q(t,`readOnly`,9),d=Q(t,`indentation`,9),f=Q(t,`tabSize`,9),p=Q(t,`truncateTextSize`,9),m=Q(t,`mainMenuBar`,9),h=Q(t,`navigationBar`,9),g=Q(t,`statusBar`,9),_=Q(t,`askToFormat`,9),v=Q(t,`escapeControlCharacters`,9),y=Q(t,`escapeUnicodeCharacters`,9),b=Q(t,`maxDocumentSizeTextMode`,9),x=Q(t,`flattenColumns`,9),S=Q(t,`parser`,9),C=Q(t,`validator`,9),w=Q(t,`validationParser`,9),T=Q(t,`pathParser`,9),E=Q(t,`onRenderValue`,9),ee=Q(t,`onClassName`,9),te=Q(t,`onRenderMenu`,9),ne=Q(t,`onRenderContextMenu`,9),D=Q(t,`onSortModal`,9),re=Q(t,`onTransformModal`,9),ie=Q(t,`onClose`,9),O=z(void 0,!0),ae=z(void 0,!0),oe={mode:ce(s()),content:s(),selection:void 0,relativePath:c()},k=z([oe],!0),se=z(void 0,!0);function ce(e){return ZW(e)&&of(e.json)?cG.table:cG.tree}function le(){var e,t=(e=Ib(G(k)))==null?void 0:e.selection;Rq(t)&&G(O).scrollTo(hJ(t))}function ue(){if(o(`handleApply`),!u())try{B(se,void 0);var e=G(n).relativePath,t=G(n).content,r=[{op:`replace`,path:kf(e),value:$W(t,S()).json}];if(G(k).length>1){var i=$W(G(k)[G(k).length-2].content,S()).json,a={json:Mf(i,r)},s=L(L({},G(k)[G(k).length-2]||oe),{},{content:a});B(k,[...G(k).slice(0,G(k).length-2),s]),oV(),le()}else l()(r),ie()()}catch(e){B(se,String(e))}}function de(){var e;o(`handleClose`),G(k).length>1?(B(k,Bb(G(k))),oV(),(e=G(O))==null||e.focus(),le(),B(se,void 0)):ie()()}function fe(e){o(`handleChange`,e),he(t=>L(L({},t),{},{content:e}))}function pe(e){o(`handleChangeSelection`,e),he(t=>L(L({},t),{},{selection:e}))}function me(e){o(`handleChangeMode`,e),he(t=>L(L({},t),{},{mode:e}))}function he(e){var t=e(Ib(G(k)));B(k,[...Bb(G(k)),t])}function ge(e){B(se,e.toString()),console.error(e)}function A(e){var t,n=e.content,r=e.path;o(`handleJSONEditorModal`,{content:n,path:r});var i={mode:ce(n),content:n,selection:void 0,relativePath:r};B(k,[...G(k),i]),oV(),(t=G(O))==null||t.focus()}function _e(e){e.focus()}oU(()=>{var e;(e=G(O))==null||e.focus()}),U(()=>G(k),()=>{B(n,Ib(G(k))||oe)}),U(()=>G(k),()=>{B(r,G(k).flatMap(e=>e.relativePath))}),U(()=>(G(r),oY),()=>{B(i,Vb(G(r))?`(document root)`:oY(G(r)))}),U(()=>q(S()),()=>{B(a,Wx(S().parse))}),VV(),oW(!0),kZ(e,{onClose:de,className:`jse-jsoneditor-modal`,get fullscreen(){return G(ae)},children:(e,t)=>{var r=K1();JG(V(r),{children:(e,t)=>{var r=G1(),o=MV(r),s=xB(()=>(G(k),K(()=>G(k).length>1?` (${G(k).length})`:``)));rZ(o,{get title(){var e;return`Edit nested content ${(e=G(s))==null?``:e}`},fullScreenButton:!0,onClose:de,get fullscreen(){return G(ae)},set fullscreen(e){B(ae,e)},$$legacy:!0});var c=H(V(H(o,2)),2),l=H(c,4);rW(B1(V(l),{get externalMode(){return G(n),K(()=>G(n).mode)},get content(){return G(n),K(()=>G(n).content)},get selection(){return G(n),K(()=>G(n).selection)},get readOnly(){return u()},get indentation(){return d()},get tabSize(){return f()},get truncateTextSize(){return p()},get statusBar(){return g()},get askToFormat(){return _()},get mainMenuBar(){return m()},get navigationBar(){return h()},get escapeControlCharacters(){return v()},get escapeUnicodeCharacters(){return y()},get maxDocumentSizeTextMode(){return b()},get flattenColumns(){return x()},get parser(){return S()},get parseMemoizeOne(){return G(a)},get validator(){return C()},get validationParser(){return w()},get pathParser(){return T()},insideModal:!0,onError:ge,onChange:fe,onChangeMode:me,onSelect:pe,get onRenderValue(){return E()},get onClassName(){return ee()},get onFocus(){return $$},get onBlur(){return $$},get onRenderMenu(){return te()},get onRenderContextMenu(){return ne()},get onSortModal(){return D()},get onTransformModal(){return re()},onJSONEditorModal:A,$$legacy:!0}),e=>B(O,e),()=>G(O));var ie=V(H(l,2)),oe=e=>{var t=V1(),n=V(t);W(()=>JH(n,G(se))),X(e,t)};Z(ie,e=>{G(se)&&e(oe)});var ce=H(ie,2),le=e=>{var t=H1();oK(V(t),{get data(){return Dre}}),J(`click`,t,de),X(e,t)};Z(ce,e=>{G(k),K(()=>G(k).length>1)&&e(le)});var he=H(ce,2),j=e=>{var t=U1();BV(()=>J(`click`,t,ue)),wU(t,e=>_e==null?void 0:_e(e)),X(e,t)},ve=e=>{var t=W1();J(`click`,t,de),X(e,t)};Z(he,e=>{u()?e(ve,-1):e(j)}),W(()=>GU(c,G(i))),X(e,r)},$$slots:{default:!0}}),X(e,r)},$$slots:{default:!0}}),Oz()})(e,pW(()=>G(Ie),{onClose:()=>{var e;(e=G(Ie))==null||e.onClose(),B(Ie,void 0)}}))};Z(u,e=>{G(Ie)&&e(d)}),W(()=>r=jU(a,1,`jse-main svelte-1l55585`,null,r,{"jse-focus":G(Pe)})),J(`keydown`,a,mt),X(e,i)},$$slots:{default:!0}}),tW(t,`get`,ze),tW(t,`set`,Be),tW(t,`update`,Ve),tW(t,`patch`,He),tW(t,`select`,Ue),tW(t,`expand`,We),tW(t,`collapse`,Ge),tW(t,`transform`,Ke),tW(t,`validate`,qe),tW(t,`acceptAutoRepair`,Je),tW(t,`scrollTo`,Ye),tW(t,`findElement`,Ze),tW(t,`focus`,Qe),tW(t,`refresh`,$e),tW(t,`updateProps`,tt),tW(t,`destroy`,nt),Oz(ht)}function e0(e){var t=YH($1,{target:e.target,props:e.props});return t.destroy=uR(function*(){return function(e,t){var n=ZH.get(e);return n?(ZH.delete(e),n(t)):Promise.resolve()}(t)}),oV(),t}var t0=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,n0=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,r0=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function i0(e,t){if(e===`__proto__`||e===`constructor`&&t&&typeof t==`object`&&`prototype`in t){a0(e);return}return t}function a0(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function o0(e,t={}){if(typeof e!=`string`)return e;if(e[0]===`"`&&e[e.length-1]===`"`&&e.indexOf(`\\`)===-1)return e.slice(1,-1);let n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case`true`:return!0;case`false`:return!1;case`undefined`:return;case`null`:return null;case`nan`:return NaN;case`infinity`:return 1/0;case`-infinity`:return-1/0}if(!r0.test(e)){if(t.strict)throw SyntaxError(`[destr] Invalid JSON`);return e}try{if(t0.test(e)||n0.test(e)){if(t.strict)throw Error(`[destr] Possible prototype pollution`);return JSON.parse(e,i0)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}function s0(e,t={}){return o0(e,{...t,strict:!0})}var c0=typeof global==`object`&&global&&global.Object===Object&&global,l0=typeof self==`object`&&self&&self.Object===Object&&self,u0=c0||l0||Function(`return this`)(),d0=u0.Symbol,f0=Object.prototype,p0=f0.hasOwnProperty,m0=f0.toString,h0=d0?d0.toStringTag:void 0;function g0(e){var t=p0.call(e,h0),n=e[h0];try{e[h0]=void 0;var r=!0}catch{}var i=m0.call(e);return r&&(t?e[h0]=n:delete e[h0]),i}var _0=Object.prototype.toString;function v0(e){return _0.call(e)}var y0=`[object Null]`,b0=`[object Undefined]`,x0=d0?d0.toStringTag:void 0;function S0(e){return e==null?e===void 0?b0:y0:x0&&x0 in Object(e)?g0(e):v0(e)}function C0(e){return typeof e==`object`&&!!e}var w0=`[object Symbol]`;function T0(e){return typeof e==`symbol`||C0(e)&&S0(e)==w0}var E0=/\s/;function D0(e){for(var t=e.length;t--&&E0.test(e.charAt(t)););return t}var O0=/^\s+/;function k0(e){return e&&e.slice(0,D0(e)+1).replace(O0,``)}function A0(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var j0=NaN,M0=/^[-+]0x[0-9a-f]+$/i,N0=/^0b[01]+$/i,P0=/^0o[0-7]+$/i,F0=parseInt;function I0(e){if(typeof e==`number`)return e;if(T0(e))return j0;if(A0(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=A0(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=k0(e);var n=N0.test(e);return n||P0.test(e)?F0(e.slice(2),n?2:8):M0.test(e)?j0:+e}var L0=function(){return u0.Date.now()},R0=`Expected a function`,z0=Math.max,B0=Math.min;function V0(e,t,n){var r,i,a,o,s,c,l=0,u=!1,d=!1,f=!0;if(typeof e!=`function`)throw TypeError(R0);t=I0(t)||0,A0(n)&&(u=!!n.leading,d=`maxWait`in n,a=d?z0(I0(n.maxWait)||0,t):a,f=`trailing`in n?!!n.trailing:f);function p(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n),o}function m(e){return l=e,s=setTimeout(_,t),u?p(e):o}function h(e){var n=e-c,r=e-l,i=t-n;return d?B0(i,a-r):i}function g(e){var n=e-c,r=e-l;return c===void 0||n>=t||n<0||d&&r>=a}function _(){var e=L0();if(g(e))return v(e);s=setTimeout(_,h(e))}function v(e){return s=void 0,f&&r?p(e):(r=i=void 0,o)}function y(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function b(){return s===void 0?o:v(L0())}function x(){var e=L0(),n=g(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return m(c);if(d)return clearTimeout(s),s=setTimeout(_,t),p(c)}return s===void 0&&(s=setTimeout(_,t)),o}return x.cancel=y,x.flush=b,x}var H0=typeof global==`object`&&global&&global.Object===Object&&global,U0=typeof self==`object`&&self&&self.Object===Object&&self,W0=H0||U0||Function(`return this`)(),G0=W0.Symbol,K0=Object.prototype,q0=K0.hasOwnProperty,J0=K0.toString,Y0=G0?G0.toStringTag:void 0;function X0(e){var t=q0.call(e,Y0),n=e[Y0];try{e[Y0]=void 0;var r=!0}catch{}var i=J0.call(e);return r&&(t?e[Y0]=n:delete e[Y0]),i}var Z0=Object.prototype.toString;function Q0(e){return Z0.call(e)}var $0=`[object Null]`,e2=`[object Undefined]`,t2=G0?G0.toStringTag:void 0;function n2(e){return e==null?e===void 0?e2:$0:t2&&t2 in Object(e)?X0(e):Q0(e)}function r2(e){return typeof e==`object`&&!!e}var i2=`[object Symbol]`;function a2(e){return typeof e==`symbol`||r2(e)&&n2(e)==i2}function o2(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var s2=Array.isArray,c2=1/0,l2=G0?G0.prototype:void 0,u2=l2?l2.toString:void 0;function d2(e){if(typeof e==`string`)return e;if(s2(e))return o2(e,d2)+``;if(a2(e))return u2?u2.call(e):``;var t=e+``;return t==`0`&&1/e==-c2?`-0`:t}function f2(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}function p2(e){return e}var m2=`[object AsyncFunction]`,h2=`[object Function]`,g2=`[object GeneratorFunction]`,_2=`[object Proxy]`;function v2(e){if(!f2(e))return!1;var t=n2(e);return t==h2||t==g2||t==m2||t==_2}var y2=W0[`__core-js_shared__`],b2=function(){var e=/[^.]+$/.exec(y2&&y2.keys&&y2.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function x2(e){return!!b2&&b2 in e}var S2=Function.prototype.toString;function C2(e){if(e!=null){try{return S2.call(e)}catch{}try{return e+``}catch{}}return``}var w2=/[\\^$.*+?()[\]{}|]/g,T2=/^\[object .+?Constructor\]$/,E2=Function.prototype,D2=Object.prototype,O2=E2.toString,k2=D2.hasOwnProperty,A2=RegExp(`^`+O2.call(k2).replace(w2,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function j2(e){return!f2(e)||x2(e)?!1:(v2(e)?A2:T2).test(C2(e))}function M2(e,t){return e==null?void 0:e[t]}function N2(e,t){var n=M2(e,t);return j2(n)?n:void 0}var P2=N2(W0,`WeakMap`),F2=Object.create,I2=function(){function e(){}return function(t){if(!f2(t))return{};if(F2)return F2(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function L2(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function R2(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var z2=800,B2=16,V2=Date.now;function H2(e){var t=0,n=0;return function(){var r=V2(),i=B2-(r-n);if(n=r,i>0){if(++t>=z2)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function U2(e){return function(){return e}}var W2=function(){try{var e=N2(Object,`defineProperty`);return e({},``,{}),e}catch{}}(),G2=H2(W2?function(e,t){return W2(e,`toString`,{configurable:!0,enumerable:!1,value:U2(t),writable:!0})}:p2);function K2(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var q2=9007199254740991,J2=/^(?:0|[1-9]\d*)$/;function Y2(e,t){var n=typeof e;return t!=null||(t=q2),!!t&&(n==`number`||n!=`symbol`&&J2.test(e))&&e>-1&&e%1==0&&e<t}function X2(e,t,n){t==`__proto__`&&W2?W2(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Z2(e,t){return e===t||e!==e&&t!==t}var Q2=Object.prototype.hasOwnProperty;function $2(e,t,n){var r=e[t];(!(Q2.call(e,t)&&Z2(r,n))||n===void 0&&!(t in e))&&X2(e,t,n)}function e4(e,t,n,r){var i=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?X2(n,s,c):$2(n,s,c)}return n}var t4=Math.max;function n4(e,t,n){return t=t4(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=t4(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),L2(e,this,s)}}function nse(e,t){return G2(n4(e,t,p2),e+``)}var rse=9007199254740991;function r4(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=rse}function i4(e){return e!=null&&r4(e.length)&&!v2(e)}function ise(e,t,n){if(!f2(n))return!1;var r=typeof t;return(r==`number`?i4(n)&&Y2(t,n.length):r==`string`&&t in n)?Z2(n[t],e):!1}function a4(e){return nse(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(a=e.length>3&&typeof a==`function`?(i--,a):void 0,o&&ise(n[0],n[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t})}var ase=Object.prototype;function o4(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||ase)}function ose(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var sse=`[object Arguments]`;function s4(e){return r2(e)&&n2(e)==sse}var c4=Object.prototype,cse=c4.hasOwnProperty,lse=c4.propertyIsEnumerable,l4=s4(function(){return arguments}())?s4:function(e){return r2(e)&&cse.call(e,`callee`)&&!lse.call(e,`callee`)};function use(){return!1}var u4=typeof exports==`object`&&exports&&!exports.nodeType&&exports,d4=u4&&typeof module==`object`&&module&&!module.nodeType&&module,f4=d4&&d4.exports===u4?W0.Buffer:void 0,p4=(f4?f4.isBuffer:void 0)||use,dse=`[object Arguments]`,fse=`[object Array]`,pse=`[object Boolean]`,mse=`[object Date]`,hse=`[object Error]`,gse=`[object Function]`,_se=`[object Map]`,vse=`[object Number]`,yse=`[object Object]`,bse=`[object RegExp]`,xse=`[object Set]`,Sse=`[object String]`,Cse=`[object WeakMap]`,wse=`[object ArrayBuffer]`,Tse=`[object DataView]`,Ese=`[object Float32Array]`,Dse=`[object Float64Array]`,Ose=`[object Int8Array]`,kse=`[object Int16Array]`,Ase=`[object Int32Array]`,jse=`[object Uint8Array]`,Mse=`[object Uint8ClampedArray]`,Nse=`[object Uint16Array]`,Pse=`[object Uint32Array]`,m4={};m4[Ese]=m4[Dse]=m4[Ose]=m4[kse]=m4[Ase]=m4[jse]=m4[Mse]=m4[Nse]=m4[Pse]=!0,m4[dse]=m4[fse]=m4[wse]=m4[pse]=m4[Tse]=m4[mse]=m4[hse]=m4[gse]=m4[_se]=m4[vse]=m4[yse]=m4[bse]=m4[xse]=m4[Sse]=m4[Cse]=!1;function Fse(e){return r2(e)&&r4(e.length)&&!!m4[n2(e)]}function h4(e){return function(t){return e(t)}}var g4=typeof exports==`object`&&exports&&!exports.nodeType&&exports,_4=g4&&typeof module==`object`&&module&&!module.nodeType&&module,v4=_4&&_4.exports===g4&&H0.process,y4=function(){try{return _4&&_4.require&&_4.require(`util`).types||v4&&v4.binding&&v4.binding(`util`)}catch{}}(),b4=y4&&y4.isTypedArray,x4=b4?h4(b4):Fse,Ise=Object.prototype.hasOwnProperty;function S4(e,t){var n=s2(e),r=!n&&l4(e),i=!n&&!r&&p4(e),a=!n&&!r&&!i&&x4(e),o=n||r||i||a,s=o?ose(e.length,String):[],c=s.length;for(var l in e)(t||Ise.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||Y2(l,c)))&&s.push(l);return s}function C4(e,t){return function(n){return e(t(n))}}var Lse=C4(Object.keys,Object),Rse=Object.prototype.hasOwnProperty;function zse(e){if(!o4(e))return Lse(e);var t=[];for(var n in Object(e))Rse.call(e,n)&&n!=`constructor`&&t.push(n);return t}function w4(e){return i4(e)?S4(e):zse(e)}function Bse(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Vse=Object.prototype.hasOwnProperty;function Hse(e){if(!f2(e))return Bse(e);var t=o4(e),n=[];for(var r in e)r==`constructor`&&(t||!Vse.call(e,r))||n.push(r);return n}function T4(e){return i4(e)?S4(e,!0):Hse(e)}var Use=a4(function(e,t,n,r){e4(t,T4(t),e,r)}),Wse=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Gse=/^\w*$/;function E4(e,t){if(s2(e))return!1;var n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||a2(e)?!0:Gse.test(e)||!Wse.test(e)||t!=null&&e in Object(t)}var D4=N2(Object,`create`);function Kse(){this.__data__=D4?D4(null):{},this.size=0}function qse(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}var Jse=`__lodash_hash_undefined__`,Yse=Object.prototype.hasOwnProperty;function Xse(e){var t=this.__data__;if(D4){var n=t[e];return n===Jse?void 0:n}return Yse.call(t,e)?t[e]:void 0}var Zse=Object.prototype.hasOwnProperty;function Qse(e){var t=this.__data__;return D4?t[e]!==void 0:Zse.call(t,e)}var $se=`__lodash_hash_undefined__`;function ece(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=D4&&t===void 0?$se:t,this}function O4(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}O4.prototype.clear=Kse,O4.prototype.delete=qse,O4.prototype.get=Xse,O4.prototype.has=Qse,O4.prototype.set=ece;function tce(){this.__data__=[],this.size=0}function k4(e,t){for(var n=e.length;n--;)if(Z2(e[n][0],t))return n;return-1}var nce=Array.prototype.splice;function rce(e){var t=this.__data__,n=k4(t,e);return n<0?!1:(n==t.length-1?t.pop():nce.call(t,n,1),--this.size,!0)}function ice(e){var t=this.__data__,n=k4(t,e);return n<0?void 0:t[n][1]}function ace(e){return k4(this.__data__,e)>-1}function oce(e,t){var n=this.__data__,r=k4(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function A4(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}A4.prototype.clear=tce,A4.prototype.delete=rce,A4.prototype.get=ice,A4.prototype.has=ace,A4.prototype.set=oce;var j4=N2(W0,`Map`);function sce(){this.size=0,this.__data__={hash:new O4,map:new(j4||A4),string:new O4}}function cce(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function M4(e,t){var n=e.__data__;return cce(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function lce(e){var t=M4(this,e).delete(e);return this.size-=+!!t,t}function uce(e){return M4(this,e).get(e)}function dce(e){return M4(this,e).has(e)}function fce(e,t){var n=M4(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function N4(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}N4.prototype.clear=sce,N4.prototype.delete=lce,N4.prototype.get=uce,N4.prototype.has=dce,N4.prototype.set=fce;var pce=`Expected a function`;function P4(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(pce);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(P4.Cache||N4),n}P4.Cache=N4;var mce=500;function hce(e){var t=P4(e,function(e){return n.size===mce&&n.clear(),e}),n=t.cache;return t}var gce=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,_ce=/\\(\\)?/g,vce=hce(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(gce,function(e,n,r,i){t.push(r?i.replace(_ce,`$1`):n||e)}),t});function yce(e){return e==null?``:d2(e)}function F4(e,t){return s2(e)?e:E4(e,t)?[e]:vce(yce(e))}var bce=1/0;function I4(e){if(typeof e==`string`||a2(e))return e;var t=e+``;return t==`0`&&1/e==-bce?`-0`:t}function L4(e,t){t=F4(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[I4(t[n++])];return n&&n==r?e:void 0}function xce(e,t,n){var r=e==null?void 0:L4(e,t);return r===void 0?n:r}function R4(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var z4=C4(Object.getPrototypeOf,Object),Sce=`[object Object]`,Cce=Function.prototype,wce=Object.prototype,B4=Cce.toString,Tce=wce.hasOwnProperty,Ece=B4.call(Object);function Dce(e){if(!r2(e)||n2(e)!=Sce)return!1;var t=z4(e);if(t===null)return!0;var n=Tce.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&B4.call(n)==Ece}function Oce(){this.__data__=new A4,this.size=0}function kce(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Ace(e){return this.__data__.get(e)}function jce(e){return this.__data__.has(e)}var Mce=200;function Nce(e,t){var n=this.__data__;if(n instanceof A4){var r=n.__data__;if(!j4||r.length<Mce-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new N4(r)}return n.set(e,t),this.size=n.size,this}function V4(e){var t=this.__data__=new A4(e);this.size=t.size}V4.prototype.clear=Oce,V4.prototype.delete=kce,V4.prototype.get=Ace,V4.prototype.has=jce,V4.prototype.set=Nce;function Pce(e,t){return e&&e4(t,w4(t),e)}function Fce(e,t){return e&&e4(t,T4(t),e)}var H4=typeof exports==`object`&&exports&&!exports.nodeType&&exports,U4=H4&&typeof module==`object`&&module&&!module.nodeType&&module,W4=U4&&U4.exports===H4?W0.Buffer:void 0,G4=W4?W4.allocUnsafe:void 0;function K4(e,t){if(t)return e.slice();var n=e.length,r=G4?G4(n):new e.constructor(n);return e.copy(r),r}function Ice(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function q4(){return[]}var Lce=Object.prototype.propertyIsEnumerable,J4=Object.getOwnPropertySymbols,Y4=J4?function(e){return e==null?[]:(e=Object(e),Ice(J4(e),function(t){return Lce.call(e,t)}))}:q4;function Rce(e,t){return e4(e,Y4(e),t)}var X4=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)R4(t,Y4(e)),e=z4(e);return t}:q4;function zce(e,t){return e4(e,X4(e),t)}function Z4(e,t,n){var r=t(e);return s2(e)?r:R4(r,n(e))}function Q4(e){return Z4(e,w4,Y4)}function Bce(e){return Z4(e,T4,X4)}var $4=N2(W0,`DataView`),e3=N2(W0,`Promise`),t3=N2(W0,`Set`),n3=`[object Map]`,Vce=`[object Object]`,r3=`[object Promise]`,i3=`[object Set]`,a3=`[object WeakMap]`,o3=`[object DataView]`,Hce=C2($4),Uce=C2(j4),Wce=C2(e3),Gce=C2(t3),Kce=C2(P2),s3=n2;($4&&s3(new $4(new ArrayBuffer(1)))!=o3||j4&&s3(new j4)!=n3||e3&&s3(e3.resolve())!=r3||t3&&s3(new t3)!=i3||P2&&s3(new P2)!=a3)&&(s3=function(e){var t=n2(e),n=t==Vce?e.constructor:void 0,r=n?C2(n):``;if(r)switch(r){case Hce:return o3;case Uce:return n3;case Wce:return r3;case Gce:return i3;case Kce:return a3}return t});var qce=Object.prototype.hasOwnProperty;function Jce(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&qce.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}var c3=W0.Uint8Array;function l3(e){var t=new e.constructor(e.byteLength);return new c3(t).set(new c3(e)),t}function Yce(e,t){var n=t?l3(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Xce=/\w*$/;function Zce(e){var t=new e.constructor(e.source,Xce.exec(e));return t.lastIndex=e.lastIndex,t}var u3=G0?G0.prototype:void 0,d3=u3?u3.valueOf:void 0;function Qce(e){return d3?Object(d3.call(e)):{}}function f3(e,t){var n=t?l3(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var $ce=`[object Boolean]`,ele=`[object Date]`,tle=`[object Map]`,nle=`[object Number]`,rle=`[object RegExp]`,ile=`[object Set]`,ale=`[object String]`,ole=`[object Symbol]`,sle=`[object ArrayBuffer]`,cle=`[object DataView]`,lle=`[object Float32Array]`,ule=`[object Float64Array]`,dle=`[object Int8Array]`,fle=`[object Int16Array]`,ple=`[object Int32Array]`,mle=`[object Uint8Array]`,hle=`[object Uint8ClampedArray]`,gle=`[object Uint16Array]`,_le=`[object Uint32Array]`;function vle(e,t,n){var r=e.constructor;switch(t){case sle:return l3(e);case $ce:case ele:return new r(+e);case cle:return Yce(e,n);case lle:case ule:case dle:case fle:case ple:case mle:case hle:case gle:case _le:return f3(e,n);case tle:return new r;case nle:case ale:return new r(e);case rle:return Zce(e);case ile:return new r;case ole:return Qce(e)}}function p3(e){return typeof e.constructor==`function`&&!o4(e)?I2(z4(e)):{}}var yle=`[object Map]`;function ble(e){return r2(e)&&s3(e)==yle}var m3=y4&&y4.isMap,xle=m3?h4(m3):ble,Sle=`[object Set]`;function Cle(e){return r2(e)&&s3(e)==Sle}var h3=y4&&y4.isSet,wle=h3?h4(h3):Cle,Tle=1,Ele=2,Dle=4,g3=`[object Arguments]`,Ole=`[object Array]`,kle=`[object Boolean]`,Ale=`[object Date]`,jle=`[object Error]`,_3=`[object Function]`,Mle=`[object GeneratorFunction]`,Nle=`[object Map]`,Ple=`[object Number]`,v3=`[object Object]`,Fle=`[object RegExp]`,Ile=`[object Set]`,Lle=`[object String]`,Rle=`[object Symbol]`,zle=`[object WeakMap]`,Ble=`[object ArrayBuffer]`,Vle=`[object DataView]`,Hle=`[object Float32Array]`,Ule=`[object Float64Array]`,Wle=`[object Int8Array]`,Gle=`[object Int16Array]`,Kle=`[object Int32Array]`,qle=`[object Uint8Array]`,Jle=`[object Uint8ClampedArray]`,Yle=`[object Uint16Array]`,Xle=`[object Uint32Array]`,y3={};y3[g3]=y3[Ole]=y3[Ble]=y3[Vle]=y3[kle]=y3[Ale]=y3[Hle]=y3[Ule]=y3[Wle]=y3[Gle]=y3[Kle]=y3[Nle]=y3[Ple]=y3[v3]=y3[Fle]=y3[Ile]=y3[Lle]=y3[Rle]=y3[qle]=y3[Jle]=y3[Yle]=y3[Xle]=!0,y3[jle]=y3[_3]=y3[zle]=!1;function b3(e,t,n,r,i,a){var o,s=t&Tle,c=t&Ele,l=t&Dle;if(o!==void 0)return o;if(!f2(e))return e;var u=s2(e);if(u){if(o=Jce(e),!s)return R2(e,o)}else{var d=s3(e),f=d==_3||d==Mle;if(p4(e))return K4(e,s);if(d==v3||d==g3||f&&!i){if(o=c||f?{}:p3(e),!s)return c?zce(e,Fce(o,e)):Rce(e,Pce(o,e))}else{if(!y3[d])return i?e:{};o=vle(e,d,s)}}a||(a=new V4);var p=a.get(e);if(p)return p;a.set(e,o),wle(e)?e.forEach(function(r){o.add(b3(r,t,n,r,e,a))}):xle(e)&&e.forEach(function(r,i){o.set(i,b3(r,t,n,i,e,a))});var m=u?void 0:(l?c?Bce:Q4:c?T4:w4)(e);return K2(m||e,function(r,i){m&&(i=r,r=e[i]),$2(o,i,b3(r,t,n,i,e,a))}),o}var Zle=1,Qle=4;function $le(e){return b3(e,Zle|Qle)}var eue=`__lodash_hash_undefined__`;function tue(e){return this.__data__.set(e,eue),this}function nue(e){return this.__data__.has(e)}function x3(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new N4;++t<n;)this.add(e[t])}x3.prototype.add=x3.prototype.push=tue,x3.prototype.has=nue;function rue(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function iue(e,t){return e.has(t)}var aue=1,oue=2;function S3(e,t,n,r,i,a){var o=n&aue,s=e.length,c=t.length;if(s!=c&&!(o&&c>s))return!1;var l=a.get(e),u=a.get(t);if(l&&u)return l==t&&u==e;var d=-1,f=!0,p=n&oue?new x3:void 0;for(a.set(e,t),a.set(t,e);++d<s;){var m=e[d],h=t[d];if(r)var g=o?r(h,m,d,t,e,a):r(m,h,d,e,t,a);if(g!==void 0){if(g)continue;f=!1;break}if(p){if(!rue(t,function(e,t){if(!iue(p,t)&&(m===e||i(m,e,n,r,a)))return p.push(t)})){f=!1;break}}else if(!(m===h||i(m,h,n,r,a))){f=!1;break}}return a.delete(e),a.delete(t),f}function sue(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function cue(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var lue=1,uue=2,due=`[object Boolean]`,fue=`[object Date]`,pue=`[object Error]`,mue=`[object Map]`,hue=`[object Number]`,gue=`[object RegExp]`,_ue=`[object Set]`,vue=`[object String]`,yue=`[object Symbol]`,bue=`[object ArrayBuffer]`,xue=`[object DataView]`,C3=G0?G0.prototype:void 0,w3=C3?C3.valueOf:void 0;function Sue(e,t,n,r,i,a,o){switch(n){case xue:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case bue:return!(e.byteLength!=t.byteLength||!a(new c3(e),new c3(t)));case due:case fue:case hue:return Z2(+e,+t);case pue:return e.name==t.name&&e.message==t.message;case gue:case vue:return e==t+``;case mue:var s=sue;case _ue:var c=r&lue;if(s||(s=cue),e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;r|=uue,o.set(e,t);var u=S3(s(e),s(t),r,i,a,o);return o.delete(e),u;case yue:if(w3)return w3.call(e)==w3.call(t)}return!1}var Cue=1,wue=Object.prototype.hasOwnProperty;function Tue(e,t,n,r,i,a){var o=n&Cue,s=Q4(e),c=s.length;if(c!=Q4(t).length&&!o)return!1;for(var l=c;l--;){var u=s[l];if(!(o?u in t:wue.call(t,u)))return!1}var d=a.get(e),f=a.get(t);if(d&&f)return d==t&&f==e;var p=!0;a.set(e,t),a.set(t,e);for(var m=o;++l<c;){u=s[l];var h=e[u],g=t[u];if(r)var _=o?r(g,h,u,t,e,a):r(h,g,u,e,t,a);if(!(_===void 0?h===g||i(h,g,n,r,a):_)){p=!1;break}m||(m=u==`constructor`)}if(p&&!m){var v=e.constructor,y=t.constructor;v!=y&&`constructor`in e&&`constructor`in t&&!(typeof v==`function`&&v instanceof v&&typeof y==`function`&&y instanceof y)&&(p=!1)}return a.delete(e),a.delete(t),p}var Eue=1,T3=`[object Arguments]`,E3=`[object Array]`,D3=`[object Object]`,O3=Object.prototype.hasOwnProperty;function Due(e,t,n,r,i,a){var o=s2(e),s=s2(t),c=o?E3:s3(e),l=s?E3:s3(t);c=c==T3?D3:c,l=l==T3?D3:l;var u=c==D3,d=l==D3,f=c==l;if(f&&p4(e)){if(!p4(t))return!1;o=!0,u=!1}if(f&&!u)return a||(a=new V4),o||x4(e)?S3(e,t,n,r,i,a):Sue(e,t,c,n,r,i,a);if(!(n&Eue)){var p=u&&O3.call(e,`__wrapped__`),m=d&&O3.call(t,`__wrapped__`);if(p||m){var h=p?e.value():e,g=m?t.value():t;return a||(a=new V4),i(h,g,n,r,a)}}return f?(a||(a=new V4),Tue(e,t,n,r,i,a)):!1}function k3(e,t,n,r,i){return e===t?!0:e==null||t==null||!r2(e)&&!r2(t)?e!==e&&t!==t:Due(e,t,n,r,k3,i)}var Oue=1,kue=2;function Aue(e,t,n,r){var i=n.length,a=i;if(e==null)return!a;for(e=Object(e);i--;){var o=n[i];if(o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++i<a;){o=n[i];var s=o[0],c=e[s],l=o[1];if(o[2]){if(c===void 0&&!(s in e))return!1}else{var u=new V4,d;if(!(d===void 0?k3(l,c,Oue|kue,r,u):d))return!1}}return!0}function A3(e){return e===e&&!f2(e)}function jue(e){for(var t=w4(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,A3(i)]}return t}function j3(e,t){return function(n){return n!=null&&n[e]===t&&(t!==void 0||e in Object(n))}}function Mue(e){var t=jue(e);return t.length==1&&t[0][2]?j3(t[0][0],t[0][1]):function(n){return n===e||Aue(n,e,t)}}function Nue(e,t){return e!=null&&t in Object(e)}function Pue(e,t,n){t=F4(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=I4(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&r4(i)&&Y2(o,i)&&(s2(e)||l4(e)))}function Fue(e,t){return e!=null&&Pue(e,t,Nue)}var Iue=1,Lue=2;function Rue(e,t){return E4(e)&&A3(t)?j3(I4(e),t):function(n){var r=xce(n,e);return r===void 0&&r===t?Fue(n,e):k3(t,r,Iue|Lue)}}function zue(e){return function(t){return t==null?void 0:t[e]}}function Bue(e){return function(t){return L4(t,e)}}function Vue(e){return E4(e)?zue(I4(e)):Bue(e)}function Hue(e){return typeof e==`function`?e:e==null?p2:typeof e==`object`?s2(e)?Rue(e[0],e[1]):Mue(e):Vue(e)}function Uue(e){return function(e,t,n){for(var r=-1,i=Object(e),a=n(e),o=a.length;o--;){var s=a[++r];if(t(i[s],s,i)===!1)break}return e}}var M3=Uue();function Wue(e,t){return e&&M3(e,t,w4)}function N3(e,t,n){(n!==void 0&&!Z2(e[t],n)||n===void 0&&!(t in e))&&X2(e,t,n)}function Gue(e){return r2(e)&&i4(e)}function P3(e,t){if((t!==`constructor`||typeof e[t]!=`function`)&&t!=`__proto__`)return e[t]}function Kue(e){return e4(e,T4(e))}function que(e,t,n,r,i,a,o){var s=P3(e,n),c=P3(t,n),l=o.get(c);if(l){N3(e,n,l);return}var u=a?a(s,c,n+``,e,t,o):void 0,d=u===void 0;if(d){var f=s2(c),p=!f&&p4(c),m=!f&&!p&&x4(c);u=c,f||p||m?s2(s)?u=s:Gue(s)?u=R2(s):p?(d=!1,u=K4(c,!0)):m?(d=!1,u=f3(c,!0)):u=[]:Dce(c)||l4(c)?(u=s,l4(s)?u=Kue(s):(!f2(s)||v2(s))&&(u=p3(c))):d=!1}d&&(o.set(c,u),i(u,c,r,a,o),o.delete(c)),N3(e,n,u)}function F3(e,t,n,r,i){e!==t&&M3(t,function(a,o){if(i||(i=new V4),f2(a))que(e,t,o,n,F3,r,i);else{var s=r?r(P3(e,o),a,o+``,e,t,i):void 0;s===void 0&&(s=a),N3(e,o,s)}},T4)}var Jue=a4(function(e,t,n,r){F3(e,t,n,r)});function Yue(e,t){var n={};return t=Hue(t),Wue(e,function(e,r,i){X2(n,t(e,r,i),e)}),n}var Xue=RegExp(`([\\p{Ll}\\d])(\\p{Lu})`,`gu`),Zue=RegExp(`(\\p{Lu})([\\p{Lu}][\\p{Ll}])`,`gu`),Que=RegExp(`(\\d)\\p{Ll}|(\\p{L})\\d`,`u`),$ue=/[^\p{L}\d]+/giu,I3=`$1\0$2`,L3=``;function R3(e){let t=e.trim();t=t.replace(Xue,I3).replace(Zue,I3),t=t.replace($ue,`\0`);let n=0,r=t.length;for(;t.charAt(n)===`\0`;)n++;if(n===r)return[];for(;t.charAt(r-1)===`\0`;)r--;return t.slice(n,r).split(/\0/g)}function ede(e){let t=R3(e);for(let e=0;e<t.length;e++){let r=t[e],i=Que.exec(r);if(i){var n;let a=i.index+((n=i[1])==null?i[2]:n).length;t.splice(e,1,r.slice(0,a),r.slice(a))}}return t}function tde(e,t){let[n,r,i]=ade(e,t),a=nde(t==null?void 0:t.locale),o=ide(a,rde(t==null?void 0:t.locale));return n+r.map((e,t)=>t===0?a(e):o(e,t)).join(``)+i}function nde(e){return t=>t.toLocaleLowerCase(e)}function rde(e){return t=>t.toLocaleUpperCase(e)}function ide(e,t){return(n,r)=>{let i=n[0];return(r>0&&i>=`0`&&i<=`9`?`_`+i:t(i))+e(n.slice(1))}}function ade(e,t={}){var n,r,i;let a=(n=t.split)==null?t.separateNumbers?ede:R3:n,o=(r=t.prefixCharacters)==null?L3:r,s=(i=t.suffixCharacters)==null?L3:i,c=0,l=e.length;for(;c<e.length;){let t=e.charAt(c);if(!o.includes(t))break;c++}for(;l>c;){let t=l-1,n=e.charAt(t);if(!s.includes(n))break;l=t}return[e.slice(0,c),a(e.slice(c,l)),e.slice(l)]}var z3=e=>/.+-.+/.test(e)?tde(e):e,ode=e=>Object.prototype.toString.call(e).slice(8,-1)===`Object`;function sde(e,t){let n=Object.create(null),r=e.split(`,`);for(let e=0;e<r.length;e++)n[r[e]]=!0;return e=>!!n[e]}var cde=sde(`String,Number,Boolean,Function,Symbol,BigInt`);function lde(e){let t=e==null?void 0:e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?`null`:``}function ude(e,t){let n,r=lde(t);if(cde(r)){let i=typeof e;n=i===r.toLowerCase(),!n&&i===`object`&&(n=e instanceof t)}else n=r===`Object`?f2(e):r===`Array`?Array.isArray(e):r===`null`?e===null:e instanceof t;return{valid:n,expectedType:r}}function dde({prop:e,type:t,validator:n}){if(![void 0,null].includes(e)&&t){let n=!1,r=Array.isArray(t)?t:[t],i=[];for(let t=0;t<r.length&&!n;t++){let{valid:a,expectedType:o}=ude(e,r[t]);i.push(o||``),n=a}if(!n)throw TypeError(`Invalid prop: type check failed, expecting [${i.join(`, `)}], receiving: ${e}`)}if(n&&!n(e))throw Error(`Invalid prop: validator check failed, receiving: ${e}`)}function fde(e,{mergeObject:t,mergeObjectCustomizer:n,mergeFunction:r}){let i=[];for(let t=e.length-1;t>=0;t--)i.push(e[t]);let a=n||(r?(e,t)=>typeof e==`function`&&typeof t==`function`?r==null?void 0:r(t,e):void 0:void 0);return t===`deep`?Jue(...i,a):Use(...i,a)}function pde(e,{mergeFunction:t}){return e.reduce(t,()=>{})}function B3(e,t={}){let{type:n,default:r,defaultIsDynamic:i=!1,required:a=!1,validator:o,camelizeObjectKeys:s=!1,mergeObjectApplyOnlyToDefault:c=!1,mergeFunctionApplyOnlyToDefault:l=!0}=t,{mergeObject:u=`deep`,mergeObjectCustomizer:d,mergeFunction:f=!1}=t,p=[],m,h=!1,g=!1,_=e=>{if(e!==void 0){dde({type:n,prop:e,validator:o});let t=ode(e),r=typeof e==`function`;return h=t,g=r,t?(e=$le(e),s?Yue(e,(e,t)=>z3(t)):e):e}};for(let t of e)p.push(_(t));if(!i)p.push(_(r));else if(typeof r!=`function`)throw TypeError(`Invalid option: options.default should be Function when options.defaultIsDynamic enabled, receiving: ${r}`);h||(u=!1,g||(f=!1));for(let e=0;e<p.length;e++){let t=p[e];if(t!==void 0){m=e===p.length-1?t:u?fde(c?[t,r]:p,{mergeObject:u,mergeObjectCustomizer:d,mergeFunction:f}):f?pde(l?[t,r]:p,{mergeFunction:f}):t;break}}if(a&&[void 0,null].includes(m))throw Error(`Missing required prop`);return i?B3(e,{...t,default:r(m),defaultIsDynamic:!1}):m}function V3(e){let t=Array.from(z3(e));return t[0]=t[0].toUpperCase(),t.unshift(`o`,`n`),t.join(``)}function mde(e,{props:t=[],camelizePropNames:n=!1}={}){let r={props:{},attrs:{},listeners:{},hooks:{},slots:{}},i;if(Array.isArray(t))i=n?t.map(e=>z3(e)):t;else if(n){i=[];for(let e in t)i.push(z3(e))}else i=Object.keys(t);for(let t in e)if(t.startsWith(`@`)){let n=t.substring(1);if(n.startsWith(`vue:`))r.hooks[V3(n.replace(`vue:`,`vnode-`))]=e[t];else{if(n.startsWith(`vnode`))throw Error(`@vnode-* hooks are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in Vue 3.4.`);r.listeners[V3(n)]=e[t]}}else if(t.startsWith(`#`)){let n=t.substring(1);n&&(r.slots[n]=e[t])}else{let a=n?z3(t):t;i.includes(a)?r.props[a]=e[t]:r.attrs[t]=e[t]}return r}var H3=`JsonEditorVue`,U3=[`mainMenuBar`,`navigationBar`,`statusBar`,`askToFormat`,`readOnly`,`escapeControlCharacters`,`escapeUnicodeCharacters`,`flattenColumns`],W3={},G3={},K3=`modelValue`,q3=`update:modelValue`,J3={[K3]:{},mode:{type:String},debounce:{type:Number},stringified:{type:Boolean,default:void 0},...Object.fromEntries(U3.map(e=>[e,{type:Boolean,default:void 0}]))},hde=(0,rl.defineComponent)({name:H3,install(e,t){let n=mde(t||{},{props:J3});W3={...n.props},G3={...n.attrs},e.component(H3,this)},props:J3,emits:{[q3](e){return!0},"update:mode":function(e){return!0}},setup(e,{attrs:t,emit:n,expose:r}){var i;let a=(i=(0,rl.getCurrentInstance)())==null?void 0:i.proxy,o=(0,rl.ref)(),s=(0,rl.ref)(!1),c=(0,rl.ref)();(0,rl.watchEffect)(()=>{var t;c.value=B3([e.mode,W3.mode],{type:String}),(t=o.value)==null||t.updateProps({mode:c.value||cG.tree})});let l=e=>{n(`update:mode`,e)};W3.mode!==void 0&&e.mode===void 0&&l(W3.mode);let u=(0,rl.computed)(()=>B3([e.debounce,W3.debounce,300],{type:Number})),d=(0,rl.computed)(()=>B3([e.stringified,W3.stringified,!0],{type:Boolean})),f=o0,p=e=>{if(s.value=!0,!d.value&&e.text){try{s0(e.text),e.json=f(e.text)}catch{}e.text=void 0}n(q3,e.text===void 0?e.json:e.text)},m=V0(p,u.value);(0,rl.watch)(u,e=>{m.cancel(),m=V0(p,e)});let h=e=>{c.value===`text`?m(e):p(e)},g=(e,t)=>(...n)=>{e(...n),t(...n)};return r==null||r({jsonEditor:o}),(0,rl.onUnmounted)(()=>{var e;m.cancel(),(e=o.value)==null||e.destroy()}),(0,rl.onMounted)(()=>{let n=B3([e[K3],W3[K3]]),i=B3([Object.fromEntries(Array.from(U3,t=>[t,B3([e[t],W3[t]])]).filter(([,e])=>e!==void 0)),t,G3],{camelizeObjectKeys:!0,defaultIsDynamic:!0,default:e=>{var t;return f=((t=e.parser)==null?void 0:t.parse)||o0,{onChange:h,onChangeMode:l,mode:c.value,parser:{parse:s0,stringify:JSON.stringify},...n!==void 0&&{content:{[typeof n==`string`&&c.value===`text`&&d.value?`text`:`json`]:n}}}},mergeFunction:g,mergeObject:`shallow`,type:Object});o.value=e0({target:a==null?void 0:a.$refs.jsonEditorRef,props:i}),(0,rl.watch)(()=>e[K3],e=>{if(s.value){s.value=!1;return}o.value&&o.value.set([void 0,``].includes(e)?{text:``}:{[typeof e==`string`&&c.value===`text`&&d.value?`text`:`json`]:e})},{deep:!0}),(0,rl.watch)(()=>Array.from(U3,t=>e[t]),e=>{var t;(t=o.value)==null||t.updateProps(Object.fromEntries(Array.from(e,(e,t)=>[U3[t],e]).filter(([,e])=>e!==void 0)))}),(0,rl.watch)(()=>t,e=>{var t,n;let r={};(e.onChange||e[`on-change`])&&(r.onChange=h),(e.onChangeMode||e[`on-change-mode`])&&(r.onChangeMode=l),f=((t=e.parser)==null?void 0:t.parse)||o0,(n=o.value)==null||n.updateProps(Object.getOwnPropertyNames(r).length>0?B3([e,r],{camelizeObjectKeys:!0,mergeFunction:g,mergeObject:`shallow`,type:Object}):e)},{deep:!0}),r||(r=e=>{for(let t in e)a[t]=(0,rl.unref)(e[t])},r({jsonEditor:o}))}),()=>(0,rl.h)(`div`,{ref:`jsonEditorRef`})}}),Y3={__name:`OAJSONEditor`,props:{modelValue:{type:Object,required:!0},options:{type:Object,default:()=>({})}},emits:[`update:modelValue`],setup(n,{emit:r}){let i=n,a=r,o=(0,t.computed)({get:()=>i.modelValue,set:e=>a(`update:modelValue`,e)}),s=e.b(),c=s.isDark;return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(hde),{modelValue:o.value,"onUpdate:modelValue":n[0]||(n[0]=e=>o.value=e),"main-menu-bar":(0,t.unref)(s).getPlaygroundJsonEditorMainMenuBar(),"navigation-bar":(0,t.unref)(s).getPlaygroundJsonEditorNavigationBar(),mode:(0,t.unref)(s).getPlaygroundJsonEditorMode(),"status-bar":(0,t.unref)(s).getPlaygroundJsonEditorStatusBar(),class:(0,t.normalizeClass)([`oa-jse`,{"oa-jse-theme-dark":(0,t.unref)(c),"oa-jse-theme-light":!(0,t.unref)(c)}])},null,8,[`modelValue`,`main-menu-bar`,`navigation-bar`,`mode`,`status-bar`,`class`]))}},gde=(0,n.defineComponent)({__name:`Textarea`,props:{class:{type:[Boolean,null,String,Object,Array]},defaultValue:{},modelValue:{}},emits:[`update:modelValue`],setup(t,{emit:r}){let i=t,a=e.H(i,`modelValue`,r,{passive:!0,defaultValue:i.defaultValue});return(e,t)=>(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createElementBlock)(`textarea`,{"onUpdate:modelValue":t[0]||(t[0]=e=>(0,n.isRef)(a)?a.value=e:null),class:(0,n.normalizeClass)((0,n.unref)(qt)(`flex min-h-20 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50`,i.class))},null,2)),[[n.vModelText,(0,n.unref)(a)]])}}),X3=(0,n.defineComponent)({__name:`Checkbox`,props:{variant:{},defaultValue:{},modelValue:{},disabled:{type:Boolean},value:{},id:{},trueValue:{},falseValue:{},asChild:{type:Boolean},as:{},name:{},required:{type:Boolean},class:{type:[Boolean,null,String,Object,Array]}},emits:[`update:modelValue`],setup(e,{emit:t}){let r=e,i=t,a=Co((0,n.computed)(()=>{let{class:e,...t}=r;return t}),i);return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ol),(0,n.mergeProps)((0,n.unref)(a),{class:(0,n.unref)(qt)((0,n.unref)(_de)({variant:r.variant}),r.class)}),{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(kl),{class:`flex h-full w-full items-center justify-center text-current`},{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`,{},()=>[(0,n.createVNode)((0,n.unref)(qu),{class:`h-4 w-4`})])]),_:3})]),_:3},16,[`class`]))}}),_de=M(`peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50`,{variants:{variant:{default:`data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=unchecked]:bg-white data-[state=unchecked]:border-solid data-[state=unchecked]:dark:bg-gray-600`,toggle:`border-solid`}},defaultVariants:{variant:`default`}}),vde={key:0,class:`relative flex items-center w-full`},yde=[`type`],bde=[`type`],Z3=(0,n.defineComponent)({inheritAttrs:!1,__name:`Input`,props:{defaultValue:{},modelValue:{},class:{type:[Boolean,null,String,Object,Array]},type:{},clearable:{type:Boolean}},emits:[`update:modelValue`],setup(t,{emit:r}){let i=t,a=e.H(i,`modelValue`,r,{passive:!0,defaultValue:i.defaultValue});function o(){a.value=``}return(e,r)=>{var s,c;return t.clearable?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,vde,[(0,n.withDirectives)((0,n.createElementVNode)(`input`,(0,n.mergeProps)(e.$attrs,{"onUpdate:modelValue":r[0]||(r[0]=e=>(0,n.isRef)(a)?a.value=e:null),type:(s=i.type)==null?`text`:s,class:(0,n.unref)(qt)(`flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 pr-8`,i.class)}),null,16,yde),[[n.vModelDynamic,(0,n.unref)(a)]]),(0,n.unref)(a)!==``&&(0,n.unref)(a)!==null&&(0,n.unref)(a)!==void 0?((0,n.openBlock)(),(0,n.createElementBlock)(`button`,{key:0,type:`button`,class:`absolute right-2 text-muted-foreground hover:text-foreground focus:outline-none`,tabindex:`-1`,onClick:o},[(0,n.createVNode)((0,n.unref)(Ute),{class:`h-4 w-4`})])):(0,n.createCommentVNode)(``,!0)])):(0,n.withDirectives)(((0,n.openBlock)(),(0,n.createElementBlock)(`input`,(0,n.mergeProps)({key:1},e.$attrs,{"onUpdate:modelValue":r[1]||(r[1]=e=>(0,n.isRef)(a)?a.value=e:null),type:(c=i.type)==null?`text`:c,class:(0,n.unref)(qt)(`flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50`,i.class)}),null,16,bde)),[[n.vModelDynamic,(0,n.unref)(a)]])}}}),Q3=(0,n.defineComponent)({__name:`Label`,props:{for:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e,r=(0,n.computed)(()=>{let{class:e,...n}=t;return n});return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Al),(0,n.mergeProps)(r.value,{class:(0,n.unref)(qt)(`text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70`,t.class)}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`class`]))}}),xde={key:0,class:`text-sm text-destructive`},Sde={key:3,class:`flex-grow flex items-center gap-1`},$3=(0,n.defineComponent)({__name:`OAPlaygroundParameterInput`,props:{parameter:{type:Object,required:!0},modelValue:{type:[String,Number,Boolean,null,Array,Object,File],required:!0},compositeKey:{type:String,required:!0},exampleBehavior:{type:String,default:`value`},xExampleBehavior:{type:String,default:`value`},enabled:{type:Boolean,default:!0},hideLabel:{type:Boolean,default:!1}},emits:[`update:modelValue`,`update:enabled`,`submit`],setup(t,{emit:r}){let i=t,a=r,{t:o}=l(),s=(0,n.computed)(()=>af(i.parameter,i.exampleBehavior,i.xExampleBehavior)),c=(0,n.computed)(()=>rf(i.parameter,i.exampleBehavior,i.xExampleBehavior)),u=(0,n.computed)(()=>{var e;return ud((e=s.value)==null?o(`Select`):e)}),d=(0,n.computed)(()=>{var e;return ud((e=s.value)==null?``:e)}),f=(0,n.ref)(void 0),p=(0,n.computed)(()=>f.value===void 0?typeof i.modelValue==`object`&&i.modelValue!==null?JSON.stringify(i.modelValue):i.modelValue:f.value);function m(e,t){return Object.is(e,t)?!0:typeof e==`object`&&e&&typeof t==`object`&&t?JSON.stringify(e)===JSON.stringify(t):!1}(0,n.watch)(()=>i.modelValue,t=>{f.value!==void 0&&(m(e.E(i.parameter.schema,f.value),t)||(f.value=void 0))}),(0,n.onMounted)(()=>{var e;if((e=i.parameter.schema)!=null&&e.enum){var t;a(`update:modelValue`,(t=c.value)==null?i.parameter.schema.enum[0]:t)}});function h(t){if(i.enabled||a(`update:enabled`,!0),typeof t==`string`){let n=e.E(i.parameter.schema,t);f.value=Array.isArray(n)?t:void 0,a(`update:modelValue`,n);return}f.value=void 0,a(`update:modelValue`,t)}function g(){f.value=void 0}function _(e){var t;return((t=e.schema)==null?void 0:t.format)===`binary`}function v(e){var t,n;return((t=e.schema)==null?void 0:t.type)===`integer`||((n=e.schema)==null?void 0:n.type)===`number`?`number`:_(e)?`file`:`text`}function y(e){var t;let n=e.target,r=n==null||(t=n.files)==null?void 0:t[0];h(r==null?null:r)}return(e,r)=>{var i,o,s,c,l,f,m;return(0,n.openBlock)(),(0,n.createElementBlock)(`div`,{class:(0,n.normalizeClass)([`grid gap-2`,{"grid-cols-2":!t.hideLabel,"grid-cols-1":t.hideLabel,"items-center":((i=t.parameter.schema)==null?void 0:i.type)!==`object`,"items-start":((o=t.parameter.schema)==null?void 0:o.type)===`object`}])},[t.hideLabel?(0,n.createCommentVNode)(``,!0):((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:0,class:(0,n.normalizeClass)([`flex items-center gap-2`,{"pt-2":((s=t.parameter.schema)==null?void 0:s.type)===`object`}])},[(0,n.createVNode)((0,n.unref)(X3),{id:`enable-${t.compositeKey}`,name:`enable-${t.compositeKey}`,"model-value":t.enabled,variant:`toggle`,"onUpdate:modelValue":r[0]||(r[0]=e=>a(`update:enabled`,e))},null,8,[`id`,`name`,`model-value`]),t.parameter.name?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Q3),{key:0,for:t.compositeKey,class:`text-sm font-bold space-x-2`},{default:(0,n.withCtx)(()=>[(0,n.createElementVNode)(`span`,null,(0,n.toDisplayString)(t.parameter.name),1),t.parameter.required?((0,n.openBlock)(),(0,n.createElementBlock)(`span`,xde,`*`)):(0,n.createCommentVNode)(``,!0)]),_:1},8,[`for`])):(0,n.createCommentVNode)(``,!0)],2)),(0,n.createElementVNode)(`div`,{class:(0,n.normalizeClass)([`flex items-center flex-grow gap-2`,{"opacity-50":!t.enabled}])},[[`boolean`].includes((c=t.parameter.schema)==null?void 0:c.type)?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(X3),{key:0,id:t.compositeKey,name:t.compositeKey,"model-value":String(t.modelValue)===``?`indeterminate`:t.modelValue,"onUpdate:modelValue":r[1]||(r[1]=e=>h(e)),onKeydown:r[2]||(r[2]=(0,n.withKeys)(e=>a(`submit`),[`enter`]))},null,8,[`id`,`name`,`model-value`])):(l=t.parameter.schema)!=null&&l.enum?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Pu),{key:1,id:t.compositeKey,name:t.compositeKey,"model-value":String((f=t.modelValue)==null?``:f),"onUpdate:modelValue":r[3]||(r[3]=e=>h(e))},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Qu),{"aria-label":u.value,class:`bg-muted`},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)($u),{placeholder:u.value},null,8,[`placeholder`])]),_:1},8,[`aria-label`]),(0,n.createVNode)((0,n.unref)(Fu),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Iu),null,{default:(0,n.withCtx)(()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(t.parameter.schema.enum,e=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Zu),{key:e,value:String(e)},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e),1)]),_:2},1032,[`value`]))),128))]),_:1})]),_:1})]),_:1},8,[`id`,`name`,`model-value`])):((m=t.parameter.schema)==null?void 0:m.type)===`object`?((0,n.openBlock)(),(0,n.createBlock)(Y3,{key:2,"model-value":t.modelValue,class:`w-full h-32`,"onUpdate:modelValue":r[4]||(r[4]=e=>h(e))},null,8,[`model-value`])):((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Sde,[_(t.parameter)?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Z3),{key:0,id:t.compositeKey,name:t.compositeKey,type:`file`,class:`bg-muted`,onChange:y},null,8,[`id`,`name`])):((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Z3),{key:1,id:t.compositeKey,name:t.compositeKey,"model-value":p.value,type:v(t.parameter),placeholder:d.value,clearable:``,class:`bg-muted`,"onUpdate:modelValue":r[5]||(r[5]=e=>h(e)),onBlur:g,onKeydown:r[6]||(r[6]=(0,n.withKeys)(e=>a(`submit`),[`enter`]))},null,8,[`id`,`name`,`model-value`,`type`,`placeholder`]))]))],2)],2)}}}),Cde={key:0,class:`bg-muted p-1 rounded`},wde={key:0,class:`m-0! vp-adaptive-theme min-h-16 language-json`},Tde={key:2,class:`flex flex-col gap-1`},Ede=(0,n.defineComponent)({__name:`OAPlaygroundBodyInput`,props:{operationId:{},body:{},contentType:{},requestBody:{},enabledParameters:{},examples:{},exampleBehavior:{},xExampleBehavior:{}},emits:[`update:body`,`update:enabled`,`submit`],setup(t,{emit:r}){let i=t,a=r,o=(0,n.computed)({get:()=>i.body,set:e=>a(`update:body`,e)}),s=(0,n.computed)(()=>e.A(i.contentType)),c=(0,n.computed)(()=>e.k(i.contentType)),l=(0,n.computed)(()=>e.j(i.contentType)),u=(0,n.computed)(()=>e.M(i.contentType)),d=(0,n.computed)(()=>u.value),f=(0,n.computed)(()=>{var e;return!((e=i.requestBody)!=null&&(e=e.content)!=null&&(e=e[i.contentType])!=null&&(e=e.schema)!=null&&e.properties)}),p=(0,n.computed)(()=>{var e,t;if(f.value){var n,r,a;let e=nf((n=i.exampleBehavior)==null?`value`:n);return[{name:`body`,in:`body`,schema:(r=i.requestBody)==null||(r=r.content)==null||(r=r[i.contentType])==null?void 0:r.schema,example:e&&i.examples?(a=Object.values(i.examples)[0])==null?void 0:a.value:null}]}return Object.keys((e=(t=i.requestBody)==null||(t=t.content)==null||(t=t[i.contentType])==null||(t=t.schema)==null?void 0:t.properties)==null?{}:e).map(e=>{var t,n;return{name:e,in:`body`,required:(t=i.requestBody)==null||(t=t.content)==null||(t=t[i.contentType])==null||(t=t.schema)==null||(t=t.required)==null?void 0:t.includes(e),schema:(n=i.requestBody)==null||(n=n.content)==null||(n=n[i.contentType])==null||(n=n.schema)==null||(n=n.properties)==null?void 0:n[e]}})}),m=(0,n.computed)(()=>e=>c.value||l.value?h.value[e.name]||``:o.value),h=(0,n.ref)({}),g=(0,n.computed)(()=>Object.keys(h.value).filter(e=>{var t;let n=p.value.find(t=>t.name===e);return n&&((t=i.enabledParameters[ef({parameter:n,operationId:i.operationId})])==null?i.enabledParameters.body:t)})),_=(0,n.computed)(()=>p.value.map(e=>{var t;let n=ef({parameter:e,operationId:i.operationId});return{parameter:e,compositeKey:n,enabled:(t=i.enabledParameters[n])==null?i.enabledParameters.body:t}}));function v(e){if(c.value)return Object.fromEntries(e.map(e=>[e,h.value[e]]));if(l.value){let t=new FormData;return e.forEach(e=>{let n=h.value[e];n instanceof File?t.append(e,n,n.name):t.append(e,n||``)}),t}return{}}function y(e,t){if(h.value[e.name]=t,c.value||l.value){let e=g.value;o.value=v(e)}else o.value=t}function b(e,t){if(a(`update:enabled`,ef({parameter:e,operationId:i.operationId}),t),c.value||l.value){let e=g.value;o.value=v(e)}}return(0,n.watch)(()=>i.body,e=>{if(c.value&&typeof e==`string`){let t=new URLSearchParams(e),n={};t.forEach((e,t)=>{n[t]=e}),h.value=n}else if(l.value&&e instanceof FormData){let t={};e.forEach((e,n)=>{t[n]=e}),h.value=t}},{immediate:!0}),(0,n.watch)(()=>i.contentType,()=>{var e,t,n;let r=nf((e=i.exampleBehavior)==null?`value`:e);o.value=r?(t=Object.values((n=i.examples)==null?{}:n)[0])==null?void 0:t.value:null},{immediate:!0}),(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,null,[s.value?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Cde,[o.value===null?(0,n.createCommentVNode)(``,!0):((0,n.openBlock)(),(0,n.createElementBlock)(`div`,wde,[t[3]||(t[3]=(0,n.createElementVNode)(`button`,{title:`Copy Code`,class:`copy`},null,-1)),t[4]||(t[4]=(0,n.createElementVNode)(`span`,{class:`lang`},`JSON`,-1)),(0,n.createVNode)(Y3,{modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),class:`w-full`},null,8,[`modelValue`])]))])):d.value&&o.value!==null&&typeof o.value==`string`?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(gde),{key:1,id:`body-textarea-${i.operationId}`,"model-value":o.value,name:`body-textarea-${i.operationId}`,disabled:!i.enabledParameters.body,rows:u.value?7:1,autocorrect:!1,autocomplete:!1,autocapitalize:!1,spellcheck:!1,class:`bg-muted`,onInput:t[1]||(t[1]=e=>o.value=e.target.value)},null,8,[`id`,`model-value`,`name`,`disabled`,`rows`])):((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Tde,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(_.value,e=>{var r,o;return(0,n.openBlock)(),(0,n.createBlock)($3,{key:e.compositeKey,"model-value":m.value(e.parameter),parameter:e.parameter,"composite-key":e.compositeKey,"example-behavior":(r=i.exampleBehavior)==null?`value`:r,"x-example-behavior":(o=i.xExampleBehavior)==null?`value`:o,enabled:e.enabled,"hide-label":_.value.length===1,"onUpdate:modelValue":t=>y(e.parameter,t),"onUpdate:enabled":t=>b(e.parameter,t),onSubmit:t[2]||(t[2]=e=>a(`submit`))},null,8,[`model-value`,`parameter`,`composite-key`,`example-behavior`,`x-example-behavior`,`enabled`,`hide-label`,`onUpdate:modelValue`,`onUpdate:enabled`])}),128))]))]))}}),Dde={class:`flex flex-col space-y-2`},Ode=(0,n.defineComponent)({__name:`OAPlaygroundSecurityInput`,props:{scheme:{type:Object,required:!0},modelValue:{type:[String,Number],required:!0},name:{type:String,required:!0}},emits:[`update:modelValue`,`submit`],setup(e,{emit:t}){let r=e,i=t,a=(0,n.computed)(()=>{var e;return r.modelValue?r.modelValue:(e=r.scheme)!=null&&e.example?r.scheme.example:od().getSecuritySchemeDefaultValue(r.scheme)});return(t,r)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Dde,[(0,n.createVNode)((0,n.unref)(Z3),{id:e.name,"model-value":e.modelValue,name:e.name,type:`text`,placeholder:a.value,clearable:``,class:`bg-muted`,"onUpdate:modelValue":r[0]||(r[0]=e=>i(`update:modelValue`,e)),onKeydown:r[1]||(r[1]=(0,n.withKeys)(e=>i(`submit`),[`enter`]))},null,8,[`id`,`model-value`,`name`,`placeholder`])]))}}),kde={class:`relative w-full h-10`},Ade={key:0,class:`oa-custom-input absolute inset-0`},e6=`custom`,jde=(0,n.defineComponent)({__name:`SelectWithCustomOption`,props:{modelValue:{default:``},isCustom:{type:Boolean,default:!1},customValue:{default:void 0},options:{},placeholder:{default:`Select an option...`},defaultCustomValue:{default:``},customOptionLabel:{default:`Custom...`},customPlaceholder:{default:`Enter custom value...`},allowCustomOption:{type:Boolean,default:!0}},emits:[`update:modelValue`,`update:customValue`,`update:isCustom`,`submit`],setup(t,{emit:r}){let i=t,a=r,o=e.H(i,`modelValue`,a),s=e.H(i,`isCustom`,a),c=e.H(i,`customValue`,a),{t:u}=l();(0,n.watch)(c,e=>{e!==void 0&&(s.value&&(o.value=e),a(`update:customValue`,e))});let d=(0,n.computed)(()=>i.allowCustomOption?[...i.options,{label:i.customOptionLabel,value:e6}]:i.options),f=e=>{if(e===e6){s.value=!0;let e=document.querySelector(`.oa-custom-input input`);e&&e.focus(),o.value=i.defaultCustomValue}else s.value=!1,c.value=void 0,o.value=e};return(e,r)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,kde,[(0,n.unref)(s)?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Ade,[(0,n.createVNode)((0,n.unref)(Z3),{modelValue:(0,n.unref)(c),"onUpdate:modelValue":r[0]||(r[0]=e=>(0,n.isRef)(c)?c.value=e:null),placeholder:t.customPlaceholder,clearable:``,class:`pr-8 bg-muted`,onKeydown:r[1]||(r[1]=(0,n.withKeys)(e=>a(`submit`),[`enter`]))},null,8,[`modelValue`,`placeholder`])])):(0,n.createCommentVNode)(``,!0),(0,n.createVNode)((0,n.unref)(Pu),{"model-value":(0,n.unref)(o),class:`absolute inset-0`,"onUpdate:modelValue":r[2]||(r[2]=e=>f(String(e)))},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Qu),{"aria-label":(0,n.unref)(u)(`Select`)},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)($u),{placeholder:t.placeholder,class:`text-start`},null,8,[`placeholder`])]),_:1},8,[`aria-label`]),(0,n.createVNode)((0,n.unref)(Fu),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Iu),null,{default:(0,n.withCtx)(()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(d.value,e=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Zu),{key:typeof e==`object`?e.value:e,value:typeof e==`object`?e.value:e},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(typeof e==`object`?e.label:e),1)]),_:2},1032,[`value`]))),128))]),_:1})]),_:1})]),_:1},8,[`model-value`])]))}}),Mde={class:`OAPlaygroundParameters`},Nde={key:0,open:``},Pde={class:`flex flex-col gap-2`},Fde={key:1,open:``},Ide={key:0,class:`w-full max-w-[33%] md:max-w-[50%] ml-auto -mt-8`},Lde={class:`flex flex-col gap-2`},Rde={class:`flex flex-row items-center space-x-2`},zde={class:`flex flex-row items-center space-x-2`},Bde={key:2,open:``},Vde={class:`flex flex-col gap-2`},Hde={key:3,open:``},Ude={class:`flex flex-col gap-1`},Wde={class:`flex flex-row gap-2`},Gde={class:`flex flex-row flex-grow gap-2`},Kde={class:`w-1/2 flex justify-start`},qde={class:`text-xs text-muted-foreground uppercase`},Jde={class:`w-1/2 flex justify-start`},Yde={class:`text-xs text-muted-foreground uppercase`},Xde={key:4,open:``},Zde=Fn((0,n.defineComponent)({__name:`OAPlaygroundParameters`,props:{operationId:{type:String,required:!0},path:{type:String,required:!0},method:{type:String,required:!0},servers:{type:Array,default:()=>[]},parameters:{type:Array,required:!1,default:()=>[]},securityUi:{type:Object,required:!1,default:()=>[]},examples:{type:Object,required:!1},exampleBehavior:{type:String,default:`value`},xExampleBehavior:{type:String,default:`value`},requestBody:{type:Object,required:!1}},emits:[`submit`],setup(t,{emit:r}){let i=t,a=r,o=(0,n.inject)(rd),{t:s}=l(),c=s(`Key`),u=s(`Value`),d=(0,n.computed)({get:()=>o.playground.selectedServer.value,set:e=>{o.playground.selectedServer.value=e}}),f=(0,n.computed)({get:()=>o.security.selectedSchemeId.value,set:e=>{o.security.selectedSchemeId.value=e}}),p=(0,n.computed)({get:()=>o.requestBody.selectedContentType.value,set:e=>{o.requestBody.selectedContentType.value=e}}),m=(0,n.computed)({get:()=>o.playground.request.value,set:e=>{o.playground.request.value=e}}),h=(0,n.computed)(()=>e.b().getServerAllowCustomServer()),{getStoragePrefix:g,getStoragePersistAuth:_}=e.b(),v=g(),y=_(),b=Jt()?e.V(`${v}-use-custom-server`,h.value,localStorage):(0,n.ref)(!1),x=i.parameters.filter(e=>e&&e.in===`header`),S=i.parameters.filter(e=>e&&e.in===`path`),C=i.parameters.filter(e=>e&&e.in===`query`),w=(0,n.computed)(()=>i.servers),T=(0,n.computed)(()=>w.value.map(e=>e.url).filter((e,t,n)=>n.indexOf(e)===t).filter(e=>e!==void 0)),E=Jt()?e.V(`${v}-custom-server-url`,d.value,localStorage):(0,n.ref)(d.value);function ee(e,t,n){return e.reduce((e,r)=>{var i;return r.name&&(e[r.name]=(i=rf(r,t,n))==null?``:i),e},{})}let te=o.playground.parameterValues,ne={...ee(x,i.exampleBehavior,i.xExampleBehavior),...ee(S,i.exampleBehavior,i.xExampleBehavior),...ee(C,i.exampleBehavior,i.xExampleBehavior)};te.value=Object.keys(te.value).length===0?ne:{...ne,...te.value};let D=(0,n.ref)([...x,...S,...C].reduce((e,t)=>{if(t.name){let n=ef({parameter:t,operationId:i.operationId});e[n]=t.required===!0}return e},{body:!0})),re=(0,n.ref)([]),ie=(0,n.ref)(null);return(0,n.watch)([te,re,ie,d,D],()=>{let t=i.parameters.filter(e=>e.name&&D.value[ef({parameter:e,operationId:i.operationId})]);m.value=e.C({baseUrl:d.value,method:i.method,path:i.path,variables:te.value,authorizations:re.value,body:D.value.body?ie.value:void 0,parameters:t,contentType:p.value,headers:{...e.b().getCodeSamplesDefaultHeaders()||{}}})},{deep:!0}),(0,n.watch)(f,t=>{var n;let r=i.securityUi.find(e=>e.id===t),a=(r==null?void 0:r.schemes)||((n=i.securityUi)==null||(n=n[0])==null?void 0:n.schemes)||{};if(!a||!Object.keys(a).length){re.value=[];return}re.value=Object.keys(a).map(t=>{var n,r;let o=a[t],s=od().getSecuritySchemeDefaultValue(o),c=(n=rf(o,i.exampleBehavior,i.xExampleBehavior))==null?s:n;return{type:o.type,scheme:o.scheme,in:o.in,name:(r=o.name)==null?t:r,value:Jt()&&y?e.V(`${v}-authorization-${t}`,c,localStorage):c,label:t,example:c}})},{immediate:!0}),(0,n.watch)([o.security.securityValues,re],([e])=>{for(let[t,r]of Object.entries(e)){let e=re.value.find(e=>e.label===t);e&&((0,n.isRef)(e.value)?e.value.value=r:e.value=r)}},{deep:!0}),(e,t)=>{var r;return(0,n.openBlock)(),(0,n.createElementBlock)(`div`,Mde,[T.value.length>1||h.value?((0,n.openBlock)(),(0,n.createElementBlock)(`details`,Nde,[(0,n.createElementVNode)(`summary`,null,(0,n.toDisplayString)((0,n.unref)(s)(`Server`)),1),(0,n.createElementVNode)(`div`,Pde,[(0,n.createVNode)(jde,{modelValue:d.value,"onUpdate:modelValue":t[0]||(t[0]=e=>d.value=e),"custom-value":(0,n.unref)(E),"onUpdate:customValue":t[1]||(t[1]=e=>(0,n.isRef)(E)?E.value=e:null),"is-custom":(0,n.unref)(b),"onUpdate:isCustom":t[2]||(t[2]=e=>(0,n.isRef)(b)?b.value=e:null),"default-custom-value":(0,n.unref)(E),options:T.value,"allow-custom-option":h.value,"custom-option-label":(0,n.unref)(s)(`Custom Server`),"custom-placeholder":(0,n.unref)(s)(`Enter a custom server URL`),placeholder:(0,n.unref)(s)(`Select a server`),onSubmit:t[3]||(t[3]=e=>a(`submit`))},null,8,[`modelValue`,`custom-value`,`is-custom`,`default-custom-value`,`options`,`allow-custom-option`,`custom-option-label`,`custom-placeholder`,`placeholder`])])])):(0,n.createCommentVNode)(``,!0),(r=re.value)!=null&&r.length?((0,n.openBlock)(),(0,n.createElementBlock)(`details`,Fde,[(0,n.createElementVNode)(`summary`,null,[(0,n.createTextVNode)((0,n.toDisplayString)((0,n.unref)(s)(`Authorization`))+` `,1),i.securityUi.length>1?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Ide,[(0,n.createVNode)((0,n.unref)(Pu),{modelValue:f.value,"onUpdate:modelValue":t[4]||(t[4]=e=>f.value=e)},{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Qu),{"aria-label":`Security Scheme`,class:`h-9 px-3 py-1.5 text-foreground font-normal bg-muted`},{default:(0,n.withCtx)(()=>{var e;return[(0,n.createVNode)((0,n.unref)($u),{placeholder:(e=f.value)==null?(0,n.unref)(s)(`Select`):e},null,8,[`placeholder`])]}),_:1}),(0,n.createVNode)((0,n.unref)(Fu),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Iu),null,{default:(0,n.withCtx)(()=>[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(i.securityUi,e=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Zu),{key:e.id,value:e.id},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.id),1)]),_:2},1032,[`value`]))),128))]),_:1})]),_:1})]),_:1},8,[`modelValue`])])):(0,n.createCommentVNode)(``,!0)]),(0,n.createElementVNode)(`div`,Lde,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(re.value,e=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:e.name,class:`flex flex-col`},[(0,n.createElementVNode)(`div`,Rde,[(0,n.createVNode)((0,n.unref)(Q3),{for:e.name,class:`text-sm font-bold`},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.label),1)]),_:2},1032,[`for`])]),(0,n.createElementVNode)(`div`,zde,[(0,n.createVNode)(Ode,{modelValue:e.value,"onUpdate:modelValue":t=>e.value=t,scheme:e,name:e.name,class:`w-full`,onSubmit:t[5]||(t[5]=e=>a(`submit`))},null,8,[`modelValue`,`onUpdate:modelValue`,`scheme`,`name`])])]))),128))])])):(0,n.createCommentVNode)(``,!0),(0,n.unref)(x).length?((0,n.openBlock)(),(0,n.createElementBlock)(`details`,Bde,[(0,n.createElementVNode)(`summary`,null,(0,n.toDisplayString)((0,n.unref)(s)(`Headers`)),1),(0,n.createElementVNode)(`div`,Vde,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)((0,n.unref)(x),e=>{var r;return(0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:(0,n.unref)(ef)({parameter:e,operationId:i.operationId}),class:`flex flex-col gap-2`},[(0,n.createVNode)($3,{modelValue:(0,n.unref)(te)[(r=e.name)==null?``:r],"onUpdate:modelValue":t=>{var r;return(0,n.unref)(te)[(r=e.name)==null?``:r]=t},parameter:e,"composite-key":(0,n.unref)(ef)({parameter:e,operationId:i.operationId}),"example-behavior":i.exampleBehavior,"x-example-behavior":i.xExampleBehavior,enabled:D.value[(0,n.unref)(ef)({parameter:e,operationId:i.operationId})],"onUpdate:enabled":t=>D.value[(0,n.unref)(ef)({parameter:e,operationId:i.operationId})]=t,onSubmit:t[6]||(t[6]=e=>a(`submit`))},null,8,[`modelValue`,`onUpdate:modelValue`,`parameter`,`composite-key`,`example-behavior`,`x-example-behavior`,`enabled`,`onUpdate:enabled`])])}),128))])])):(0,n.createCommentVNode)(``,!0),Object.keys((0,n.unref)(C)).length||Object.keys((0,n.unref)(S)).length?((0,n.openBlock)(),(0,n.createElementBlock)(`details`,Hde,[(0,n.createElementVNode)(`summary`,null,(0,n.toDisplayString)((0,n.unref)(s)(`Variables`)),1),(0,n.createElementVNode)(`div`,Ude,[(0,n.createElementVNode)(`div`,Wde,[t[11]||(t[11]=(0,n.createElementVNode)(`div`,{class:`w-[16px]`},null,-1)),(0,n.createElementVNode)(`div`,Gde,[(0,n.createElementVNode)(`div`,Kde,[(0,n.createElementVNode)(`span`,qde,(0,n.toDisplayString)((0,n.unref)(c)),1)]),(0,n.createElementVNode)(`div`,Jde,[(0,n.createElementVNode)(`span`,Yde,(0,n.toDisplayString)((0,n.unref)(u)),1)])])]),((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)([...(0,n.unref)(S),...(0,n.unref)(C)],e=>{var r;return(0,n.openBlock)(),(0,n.createBlock)($3,{key:(0,n.unref)(ef)({parameter:e,operationId:i.operationId}),modelValue:(0,n.unref)(te)[(r=e.name)==null?``:r],"onUpdate:modelValue":t=>{var r;return(0,n.unref)(te)[(r=e.name)==null?``:r]=t},parameter:e,"composite-key":(0,n.unref)(ef)({parameter:e,operationId:i.operationId}),"example-behavior":i.exampleBehavior,"x-example-behavior":i.xExampleBehavior,enabled:D.value[(0,n.unref)(ef)({parameter:e,operationId:i.operationId})],"onUpdate:enabled":t=>D.value[(0,n.unref)(ef)({parameter:e,operationId:i.operationId})]=t,onSubmit:t[7]||(t[7]=e=>a(`submit`))},null,8,[`modelValue`,`onUpdate:modelValue`,`parameter`,`composite-key`,`example-behavior`,`x-example-behavior`,`enabled`,`onUpdate:enabled`])}),128))])])):(0,n.createCommentVNode)(``,!0),i.requestBody&&p.value?((0,n.openBlock)(),(0,n.createElementBlock)(`details`,Xde,[(0,n.createElementVNode)(`summary`,null,(0,n.toDisplayString)((0,n.unref)(s)(`Body`)),1),(0,n.createVNode)(Ede,{"operation-id":i.operationId,body:ie.value,"content-type":p.value,"request-body":i.requestBody,"enabled-parameters":D.value,examples:i.examples,"example-behavior":i.exampleBehavior,"x-example-behavior":i.xExampleBehavior,"onUpdate:body":t[8]||(t[8]=e=>ie.value=e),"onUpdate:enabled":t[9]||(t[9]=(e,t)=>D.value[e]=t),onSubmit:t[10]||(t[10]=e=>a(`submit`))},null,8,[`operation-id`,`body`,`content-type`,`request-body`,`enabled-parameters`,`examples`,`example-behavior`,`x-example-behavior`])])):(0,n.createCommentVNode)(``,!0)])}}}),[[`__scopeId`,`data-v-3e032ab2`]]),Qde=/filename\*\s*=\s*([^;]+)/i,$de=/filename\s*=\s*([^;]+)/i;function efe(e,t=`response_file`){if(!e)return t;let n=e.match(Qde);if(n){let e=n[1].trim();e.startsWith(`"`)&&e.endsWith(`"`)&&(e=e.slice(1,-1));let t=e.split(`'`);if(t.length>=3){let e=t.slice(2).join(`'`);try{let t=decodeURIComponent(e);if(t)return t}catch{}}else try{let t=decodeURIComponent(e);if(t)return t}catch{}}let r=e.match($de);if(r){let e=r[1].trim();if(e.startsWith(`"`)&&e.endsWith(`"`)&&(e=e.slice(1,-1)),e)return e}return t}var t6=class extends Error{constructor(e){super(e),this.name=`ShikiError`}},n6,r6;function tfe(e){return i6(e)}function i6(e){return Array.isArray(e)?nfe(e):e instanceof RegExp?e:typeof e==`object`?rfe(e):e}function nfe(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=i6(e[n]);return t}function rfe(e){let t={};for(let n in e)t[n]=i6(e[n]);return t}function a6(e,...t){return t.forEach(t=>{for(let n in t)e[n]=t[n]}),e}function o6(e){let t=~e.lastIndexOf(`/`)||~e.lastIndexOf(`\\`);return t===0?e:~t===e.length-1?o6(e.substring(0,e.length-1)):e.substr(~t+1)}var s6=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,c6=class{static hasCaptures(e){return e!==null&&(s6.lastIndex=0,s6.test(e))}static replaceCaptures(e,t,n){return e.replace(s6,(e,r,i,a)=>{let o=n[parseInt(r||i,10)];if(o){let e=t.substring(o.start,o.end);for(;e[0]===`.`;)e=e.substring(1);switch(a){case`downcase`:return e.toLowerCase();case`upcase`:return e.toUpperCase();default:return e}}else return e})}};function l6(e,t){return e<t?-1:+(e>t)}function u6(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let r=0;r<n;r++){let n=l6(e[r],t[r]);if(n!==0)return n}return 0}return n-r}function d6(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function f6(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,`\\$&`)}var p6=class{constructor(t){e.N(this,`cache`,new Map),this.fn=t}get(e){if(this.cache.has(e))return this.cache.get(e);let t=this.fn(e);return this.cache.set(e,t),t}},m6=class{constructor(t,n,r){e.N(this,`_cachedMatchRoot`,new p6(e=>this._root.match(e))),this._colorMap=t,this._defaults=n,this._root=r}static createFromRawTheme(e,t){return this.createFromParsedTheme(ofe(e),t)}static createFromParsedTheme(e,t){return cfe(e,t)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;let t=e.scopeName,n=this._cachedMatchRoot.get(t).find(t=>ife(e.parent,t.parentScopes));return n?new g6(n.fontStyle,n.foreground,n.background):null}},h6=class e{constructor(e,t){this.parent=e,this.scopeName=t}static push(t,n){for(let r of n)t=new e(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new e(n,t[r]);return n}push(t){return new e(this,t)}getSegments(){let e=this,t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(` `)}extends(e){return this===e||this.parent!==null&&this.parent.extends(e)}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;)t.push(n.scopeName),n=n.parent;return n===e?t.reverse():void 0}};function ife(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],i=!1;if(r===`>`){if(n===t.length-1)return!1;r=t[++n],i=!0}for(;e&&!afe(e.scopeName,r);){if(i)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function afe(e,t){return t===e||e.startsWith(t)&&e[t.length]===`.`}var g6=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function ofe(e){if(!e||!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let e=0,i=t.length;e<i;e++){let i=t[e];if(!i.settings)continue;let a;if(typeof i.scope==`string`){let e=i.scope;e=e.replace(/^[,]+/,``),e=e.replace(/[,]+$/,``),a=e.split(`,`)}else a=Array.isArray(i.scope)?i.scope:[``];let o=-1;if(typeof i.settings.fontStyle==`string`){o=0;let e=i.settings.fontStyle.split(` `);for(let t=0,n=e.length;t<n;t++)switch(e[t]){case`italic`:o|=1;break;case`bold`:o|=2;break;case`underline`:o|=4;break;case`strikethrough`:o|=8}}let s=null;typeof i.settings.foreground==`string`&&d6(i.settings.foreground)&&(s=i.settings.foreground);let c=null;typeof i.settings.background==`string`&&d6(i.settings.background)&&(c=i.settings.background);for(let t=0,i=a.length;t<i;t++){let i=a[t].trim().split(` `),l=i[i.length-1],u=null;i.length>1&&(u=i.slice(0,i.length-1),u.reverse()),n[r++]=new sfe(l,u,e,o,s,c)}}return n}var sfe=class{constructor(e,t,n,r,i,a){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=i,this.background=a}},_6=(e=>(e[e.NotSet=-1]=`NotSet`,e[e.None=0]=`None`,e[e.Italic=1]=`Italic`,e[e.Bold=2]=`Bold`,e[e.Underline=4]=`Underline`,e[e.Strikethrough=8]=`Strikethrough`,e))(_6||{});function cfe(e,t){e.sort((e,t)=>{let n=l6(e.scope,t.scope);return n!==0||(n=u6(e.parentScopes,t.parentScopes),n!==0)?n:e.index-t.index});let n=0,r=`#000000`,i=`#ffffff`;for(;e.length>=1&&e[0].scope===``;){let t=e.shift();t.fontStyle!==-1&&(n=t.fontStyle),t.foreground!==null&&(r=t.foreground),t.background!==null&&(i=t.background)}let a=new lfe(t),o=new g6(n,a.getId(r),a.getId(i)),s=new dfe(new v6(0,null,-1,0,0),[]);for(let t=0,n=e.length;t<n;t++){let n=e[t];s.insert(0,n.scope,n.parentScopes,n.fontStyle,a.getId(n.foreground),a.getId(n.background))}return new m6(a,o,s)}var lfe=class{constructor(t){if(e.N(this,`_isFrozen`,void 0),e.N(this,`_lastColorId`,void 0),e.N(this,`_id2color`,void 0),e.N(this,`_color2id`,void 0),this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let e=0,n=t.length;e<n;e++)this._color2id[t[e]]=e,this._id2color[e]=t[e]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},ufe=Object.freeze([]),v6=class t{constructor(t,n,r,i,a){e.N(this,`scopeDepth`,void 0),e.N(this,`parentScopes`,void 0),e.N(this,`fontStyle`,void 0),e.N(this,`foreground`,void 0),e.N(this,`background`,void 0),this.scopeDepth=t,this.parentScopes=n||ufe,this.fontStyle=r,this.foreground=i,this.background=a}clone(){return new t(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=e[n].clone();return t}acceptOverwrite(e,t,n,r){this.scopeDepth>e?console.log(`how did this happen?`):this.scopeDepth=e,t!==-1&&(this.fontStyle=t),n!==0&&(this.foreground=n),r!==0&&(this.background=r)}},dfe=class t{constructor(t,n=[],r={}){e.N(this,`_rulesWithParentScopes`,void 0),this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let n=0,r=0;for(;e.parentScopes[n]===`>`&&n++,t.parentScopes[r]===`>`&&r++,!(n>=e.parentScopes.length||r>=t.parentScopes.length);){let i=t.parentScopes[r].length-e.parentScopes[n].length;if(i!==0)return i;n++,r++}return t.parentScopes.length-e.parentScopes.length}match(e){if(e!==``){let t=e.indexOf(`.`),n,r;if(t===-1?(n=e,r=``):(n=e.substring(0,t),r=e.substring(t+1)),this._children.hasOwnProperty(n))return this._children[n].match(r)}let n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(t._cmpBySpecificity),n}insert(e,n,r,i,a,o){if(n===``){this._doInsertHere(e,r,i,a,o);return}let s=n.indexOf(`.`),c,l;s===-1?(c=n,l=``):(c=n.substring(0,s),l=n.substring(s+1));let u;this._children.hasOwnProperty(c)?u=this._children[c]:(u=new t(this._mainRule.clone(),v6.cloneArr(this._rulesWithParentScopes)),this._children[c]=u),u.insert(e+1,l,r,i,a,o)}_doInsertHere(e,t,n,r,i){if(t===null){this._mainRule.acceptOverwrite(e,n,r,i);return}for(let a=0,o=this._rulesWithParentScopes.length;a<o;a++){let o=this._rulesWithParentScopes[a];if(u6(o.parentScopes,t)===0){o.acceptOverwrite(e,n,r,i);return}}n===-1&&(n=this._mainRule.fontStyle),r===0&&(r=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new v6(e,t,n,r,i))}},y6=class e{static toBinaryStr(e){return e.toString(2).padStart(32,`0`)}static print(t){let n=e.getLanguageId(t),r=e.getTokenType(t),i=e.getFontStyle(t),a=e.getForeground(t),o=e.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:i,foreground:a,background:o})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return!!(e&1024)}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(t,n,r,i,a,o,s){let c=e.getLanguageId(t),l=e.getTokenType(t),u=+!!e.containsBalancedBrackets(t),d=e.getFontStyle(t),f=e.getForeground(t),p=e.getBackground(t);return n!==0&&(c=n),r!==8&&(l=pfe(r)),i!==null&&(u=+!!i),a!==-1&&(d=a),o!==0&&(f=o),s!==0&&(p=s),(c<<0|l<<8|u<<10|d<<11|f<<15|p<<24)>>>0}};function ffe(e){return e}function pfe(e){return e}function b6(e,t){let n=[],r=mfe(e),i=r.next();for(;i!==null;){let e=0;if(i.length===2&&i.charAt(1)===`:`){switch(i.charAt(0)){case`R`:e=1;break;case`L`:e=-1;break;default:console.log(`Unknown priority ${i} in scope selector`)}i=r.next()}let t=o();if(n.push({matcher:t,priority:e}),i!==`,`)break;i=r.next()}return n;function a(){if(i===`-`){i=r.next();let e=a();return t=>!!e&&!e(t)}if(i===`(`){i=r.next();let e=s();return i===`)`&&(i=r.next()),e}if(x6(i)){let e=[];do e.push(i),i=r.next();while(x6(i));return n=>t(e,n)}return null}function o(){let e=[],t=a();for(;t;)e.push(t),t=a();return t=>e.every(e=>e(t))}function s(){let e=[],t=o();for(;t&&(e.push(t),i===`|`||i===`,`);){do i=r.next();while(i===`|`||i===`,`);t=o()}return t=>e.some(e=>e(t))}}function x6(e){return!!e&&!!e.match(/[\w\.:]+/)}function mfe(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;let r=n[0];return n=t.exec(e),r}}}function S6(e){typeof e.dispose==`function`&&e.dispose()}var C6=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},hfe=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},gfe=class{constructor(){e.N(this,`_references`,[]),e.N(this,`_seenReferenceKeys`,new Set),e.N(this,`visitedRule`,new Set)}get references(){return this._references}add(e){let t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},_fe=class{constructor(t,n){e.N(this,`seenFullScopeRequests`,new Set),e.N(this,`seenPartialScopeRequests`,new Set),e.N(this,`Q`,void 0),this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new C6(this.initialScopeName)]}processQueue(){let e=this.Q;this.Q=[];let t=new gfe;for(let n of e)vfe(n,this.initialScopeName,this.repo,t);for(let e of t.references)if(e instanceof C6){if(this.seenFullScopeRequests.has(e.scopeName))continue;this.seenFullScopeRequests.add(e.scopeName),this.Q.push(e)}else{if(this.seenFullScopeRequests.has(e.scopeName)||this.seenPartialScopeRequests.has(e.toKey()))continue;this.seenPartialScopeRequests.add(e.toKey()),this.Q.push(e)}}};function vfe(e,t,n,r){let i=n.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw Error(`No grammar provided for <${t}>`);return}let a=n.lookup(t);e instanceof C6?T6({baseGrammar:a,selfGrammar:i},r):w6(e.ruleName,{baseGrammar:a,selfGrammar:i,repository:i.repository},r);let o=n.injections(e.scopeName);if(o)for(let e of o)r.add(new C6(e))}function w6(e,t,n){if(t.repository&&t.repository[e]){let r=t.repository[e];E6([r],t,n)}}function T6(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&E6(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&E6(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function E6(e,t,n){for(let r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);let e=r.repository?a6({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&E6(r.patterns,{...t,repository:e},n);let i=r.include;if(!i)continue;let a=D6(i);switch(a.kind){case 0:T6({...t,selfGrammar:t.baseGrammar},n);break;case 1:T6(t,n);break;case 2:w6(a.ruleName,{...t,repository:e},n);break;case 3:case 4:let r=a.scopeName===t.selfGrammar.scopeName?t.selfGrammar:a.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(r){let i={baseGrammar:t.baseGrammar,selfGrammar:r,repository:e};a.kind===4?w6(a.ruleName,i,n):T6(i,n)}else a.kind===4?n.add(new hfe(a.scopeName,a.ruleName)):n.add(new C6(a.scopeName))}}}var yfe=class{constructor(){e.N(this,`kind`,0)}},bfe=class{constructor(){e.N(this,`kind`,1)}},xfe=class{constructor(t){e.N(this,`kind`,2),this.ruleName=t}},Sfe=class{constructor(t){e.N(this,`kind`,3),this.scopeName=t}},Cfe=class{constructor(t,n){e.N(this,`kind`,4),this.scopeName=t,this.ruleName=n}};function D6(e){if(e===`$base`)return new yfe;if(e===`$self`)return new bfe;let t=e.indexOf(`#`);return t===-1?new Sfe(e):t===0?new xfe(e.substring(1)):new Cfe(e.substring(0,t),e.substring(t+1))}var wfe=/\\(\d+)/,O6=/\\(\d+)/g,Tfe=-1,k6=-2;function A6(e){return e}function j6(e){return e}var M6=class{constructor(t,n,r,i){e.N(this,`$location`,void 0),e.N(this,`id`,void 0),e.N(this,`_nameIsCapturing`,void 0),e.N(this,`_name`,void 0),e.N(this,`_contentNameIsCapturing`,void 0),e.N(this,`_contentName`,void 0),this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=c6.hasCaptures(this._name),this._contentName=i||null,this._contentNameIsCapturing=c6.hasCaptures(this._contentName)}get debugName(){let e=this.$location?`${o6(this.$location.filename)}:${this.$location.line}`:`unknown`;return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:c6.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:c6.replaceCaptures(this._contentName,e,t)}},Efe=class extends M6{constructor(t,n,r,i,a){super(t,n,r,i),e.N(this,`retokenizeCapturedWithRuleId`,void 0),this.retokenizeCapturedWithRuleId=a}dispose(){}collectPatterns(e,t){throw Error(`Not supported!`)}compile(e,t){throw Error(`Not supported!`)}compileAG(e,t,n,r){throw Error(`Not supported!`)}},Dfe=class extends M6{constructor(t,n,r,i,a){super(t,n,r,null),e.N(this,`_match`,void 0),e.N(this,`captures`,void 0),e.N(this,`_cachedCompiledPatterns`,void 0),this._match=new L6(i,this.id),this.captures=a,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new R6,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},N6=class extends M6{constructor(t,n,r,i,a){super(t,n,r,i),e.N(this,`hasMissingPatterns`,void 0),e.N(this,`patterns`,void 0),e.N(this,`_cachedCompiledPatterns`,void 0),this.patterns=a.patterns,this.hasMissingPatterns=a.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(let n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new R6,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},P6=class extends M6{constructor(t,n,r,i,a,o,s,c,l,u){super(t,n,r,i),e.N(this,`_begin`,void 0),e.N(this,`beginCaptures`,void 0),e.N(this,`_end`,void 0),e.N(this,`endHasBackReferences`,void 0),e.N(this,`endCaptures`,void 0),e.N(this,`applyEndPatternLast`,void 0),e.N(this,`hasMissingPatterns`,void 0),e.N(this,`patterns`,void 0),e.N(this,`_cachedCompiledPatterns`,void 0),this._begin=new L6(a,this.id),this.beginCaptures=o,this._end=new L6(s||`￿`,-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=c,this.applyEndPatternLast=l||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new R6;for(let t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},F6=class extends M6{constructor(t,n,r,i,a,o,s,c,l){super(t,n,r,i),e.N(this,`_begin`,void 0),e.N(this,`beginCaptures`,void 0),e.N(this,`whileCaptures`,void 0),e.N(this,`_while`,void 0),e.N(this,`whileHasBackReferences`,void 0),e.N(this,`hasMissingPatterns`,void 0),e.N(this,`patterns`,void 0),e.N(this,`_cachedCompiledPatterns`,void 0),e.N(this,`_cachedCompiledWhilePatterns`,void 0),this._begin=new L6(a,this.id),this.beginCaptures=o,this.whileCaptures=c,this._while=new L6(s,k6),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new R6;for(let t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new R6,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||`￿`),this._cachedCompiledWhilePatterns}},I6=class e{static createCaptureRule(e,t,n,r,i){return e.registerRule(e=>new Efe(t,e,n,r,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(i=>{if(t.id=i,t.match)return new Dfe(t.$vscodeTextmateLocation,t.id,t.name,t.match,e._compileCaptures(t.captures,n,r));if(t.begin===void 0){t.repository&&(r=a6({},r,t.repository));let i=t.patterns;return i===void 0&&t.include&&(i=[{include:t.include}]),new N6(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,e._compilePatterns(i,n,r))}return t.while?new F6(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,e._compileCaptures(t.whileCaptures||t.captures,n,r),e._compilePatterns(t.patterns,n,r)):new P6(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,e._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,e._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let i=[];if(t){let a=0;for(let e in t){if(e===`$vscodeTextmateLocation`)continue;let t=parseInt(e,10);t>a&&(a=t)}for(let e=0;e<=a;e++)i[e]=null;for(let a in t){if(a===`$vscodeTextmateLocation`)continue;let o=parseInt(a,10),s=0;t[a].patterns&&(s=e.getCompiledRuleId(t[a],n,r)),i[o]=e.createCaptureRule(n,t[a].$vscodeTextmateLocation,t[a].name,t[a].contentName,s)}}return i}static _compilePatterns(t,n,r){let i=[];if(t)for(let a=0,o=t.length;a<o;a++){let o=t[a],s=-1;if(o.include){let t=D6(o.include);switch(t.kind){case 0:case 1:s=e.getCompiledRuleId(r[o.include],n,r);break;case 2:let i=r[t.ruleName];i&&(s=e.getCompiledRuleId(i,n,r));break;case 3:case 4:let a=t.scopeName,c=t.kind===4?t.ruleName:null,l=n.getExternalGrammar(a,r);if(l){if(c){let t=l.repository[c];t&&(s=e.getCompiledRuleId(t,n,l.repository))}else s=e.getCompiledRuleId(l.repository.$self,n,l.repository)}}}else s=e.getCompiledRuleId(o,n,r);if(s!==-1){let e=n.getRule(s),t=!1;if((e instanceof N6||e instanceof P6||e instanceof F6)&&e.hasMissingPatterns&&e.patterns.length===0&&(t=!0),t)continue;i.push(s)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}},L6=class t{constructor(t,n){if(e.N(this,`source`,void 0),e.N(this,`ruleId`,void 0),e.N(this,`hasAnchor`,void 0),e.N(this,`hasBackReferences`,void 0),e.N(this,`_anchorCache`,void 0),t&&typeof t==`string`){let e=t.length,n=0,r=[],i=!1;for(let a=0;a<e;a++)if(t.charAt(a)===`\\`&&a+1<e){let e=t.charAt(a+1);e===`z`?(r.push(t.substring(n,a)),r.push(`$(?!\\n)(?<!\\n)`),n=a+2):(e===`A`||e===`G`)&&(i=!0),a++}this.hasAnchor=i,n===0?this.source=t:(r.push(t.substring(n,e)),this.source=r.join(``))}else this.hasAnchor=!1,this.source=t;this._anchorCache=this.hasAnchor?this._buildAnchorCache():null,this.ruleId=n,this.hasBackReferences=typeof this.source==`string`&&wfe.test(this.source)}clone(){return new t(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){if(typeof this.source!=`string`)throw Error(`This method should only be called if the source is a string`);let n=t.map(t=>e.substring(t.start,t.end));return O6.lastIndex=0,this.source.replace(O6,(e,t)=>f6(n[parseInt(t,10)]||``))}_buildAnchorCache(){if(typeof this.source!=`string`)throw Error(`This method should only be called if the source is a string`);let e=[],t=[],n=[],r=[],i,a,o,s;for(i=0,a=this.source.length;i<a;i++)o=this.source.charAt(i),e[i]=o,t[i]=o,n[i]=o,r[i]=o,o===`\\`&&i+1<a&&(s=this.source.charAt(i+1),s===`A`?(e[i+1]=`￿`,t[i+1]=`￿`,n[i+1]=`A`,r[i+1]=`A`):s===`G`?(e[i+1]=`￿`,t[i+1]=`G`,n[i+1]=`￿`,r[i+1]=`G`):(e[i+1]=s,t[i+1]=s,n[i+1]=s,r[i+1]=s),i++);return{A0_G0:e.join(``),A0_G1:t.join(``),A1_G0:n.join(``),A1_G1:r.join(``)}}resolveAnchors(e,t){return!this.hasAnchor||!this._anchorCache||typeof this.source!=`string`?this.source:e?t?this._anchorCache.A1_G1:this._anchorCache.A1_G0:t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},R6=class{constructor(){e.N(this,`_items`,void 0),e.N(this,`_hasAnchors`,void 0),e.N(this,`_cached`,void 0),e.N(this,`_anchorCache`,void 0),this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(e=>e.source);this._cached=new z6(e,t,this._items.map(e=>e.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){return new z6(e,this._items.map(e=>e.resolveAnchors(t,n)),this._items.map(e=>e.ruleId))}},z6=class{constructor(t,n,r){e.N(this,`scanner`,void 0),this.regExps=n,this.rules=r,this.scanner=t.createOnigScanner(n)}dispose(){typeof this.scanner.dispose==`function`&&this.scanner.dispose()}toString(){let e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(` - `+this.rules[t]+`: `+this.regExps[t]);return e.join(`
3891
+ `)}findNextMatchSync(e,t,n){let r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},B6=class{constructor(e,t){this.languageId=e,this.tokenType=t}},Ofe=(n6=class t{constructor(t,n){e.N(this,`_defaultAttributes`,void 0),e.N(this,`_embeddedLanguagesMatcher`,void 0),e.N(this,`_getBasicScopeAttributes`,new p6(e=>new B6(this._scopeToLanguage(e),this._toStandardTokenType(e)))),this._defaultAttributes=new B6(t,8),this._embeddedLanguagesMatcher=new kfe(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?t._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){let n=e.match(t.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case`comment`:return 1;case`string`:return 2;case`regex`:return 3;case`meta.embedded`:return 0}throw Error(`Unexpected match for standard token type!`)}},e.N(n6,`_NULL_SCOPE_METADATA`,new B6(0,0)),e.N(n6,`STANDARD_TOKEN_TYPE_REGEXP`,/\b(comment|string|regex|meta\.embedded)\b/),n6),kfe=class{constructor(t){if(e.N(this,`values`,void 0),e.N(this,`scopesRegExp`,void 0),t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);let e=t.map(([e,t])=>f6(e));e.sort(),e.reverse(),this.scopesRegExp=RegExp(`^((${e.join(`)|(`)}))($|\\.)`,``)}}match(e){if(!this.scopesRegExp)return;let t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}};typeof process<`u`&&process.env.VSCODE_TEXTMATE_DEBUG;var V6=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function H6(e,t,n,r,i,a,o,s){let c=t.content.length,l=!1,u=-1;if(o){let o=Afe(e,t,n,r,i,a);i=o.stack,r=o.linePos,n=o.isFirstLine,u=o.anchorPosition}let d=Date.now();for(;!l;){if(s!==0&&Date.now()-d>s)return new V6(i,!0);f()}return new V6(i,!1);function f(){let o=jfe(e,t,n,r,i,u);if(!o){a.produce(i,c),l=!0;return}let s=o.captureIndices,d=o.matchedRuleId,f=s&&s.length>0?s[0].end>r:!1;if(d===Tfe){let o=i.getRule(e);a.produce(i,s[0].start),i=i.withContentNameScopesList(i.nameScopesList),W6(e,t,n,i,a,o.endCaptures,s),a.produce(i,s[0].end);let d=i;if(i=i.parent,u=d.getAnchorPos(),!f&&d.getEnterPos()===r){i=d,a.produce(i,c),l=!0;return}}else{let o=e.getRule(d);a.produce(i,s[0].start);let p=i,m=o.getName(t.content,s),h=i.contentNameScopesList.pushAttributed(m,e);if(i=i.push(d,r,u,s[0].end===c,null,h,h),o instanceof P6){let r=o;W6(e,t,n,i,a,r.beginCaptures,s),a.produce(i,s[0].end),u=s[0].end;let d=r.getContentName(t.content,s),m=h.pushAttributed(d,e);if(i=i.withContentNameScopesList(m),r.endHasBackReferences&&(i=i.withEndRule(r.getEndWithResolvedBackReferences(t.content,s))),!f&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,c),l=!0;return}}else if(o instanceof F6){let r=o;W6(e,t,n,i,a,r.beginCaptures,s),a.produce(i,s[0].end),u=s[0].end;let d=r.getContentName(t.content,s),m=h.pushAttributed(d,e);if(i=i.withContentNameScopesList(m),r.whileHasBackReferences&&(i=i.withEndRule(r.getWhileWithResolvedBackReferences(t.content,s))),!f&&p.hasSameRuleAs(i)){i=i.pop(),a.produce(i,c),l=!0;return}}else if(W6(e,t,n,i,a,o.captures,s),a.produce(i,s[0].end),i=i.pop(),!f){i=i.safePop(),a.produce(i,c),l=!0;return}}s[0].end>r&&(r=s[0].end,n=!1)}}function Afe(e,t,n,r,i,a){let o=i.beginRuleCapturedEOL?0:-1,s=[];for(let t=i;t;t=t.pop()){let n=t.getRule(e);n instanceof F6&&s.push({rule:n,stack:t})}for(let c=s.pop();c;c=s.pop()){let{ruleScanner:s,findOptions:l}=Pfe(c.rule,e,c.stack.endRule,n,r===o),u=s.findNextMatchSync(t,r,l);if(u){if(u.ruleId!==k6){i=c.stack.pop();break}u.captureIndices&&u.captureIndices.length&&(a.produce(c.stack,u.captureIndices[0].start),W6(e,t,n,c.stack,a,c.rule.whileCaptures,u.captureIndices),a.produce(c.stack,u.captureIndices[0].end),o=u.captureIndices[0].end,u.captureIndices[0].end>r&&(r=u.captureIndices[0].end,n=!1))}else{i=c.stack.pop();break}}return{stack:i,linePos:r,anchorPosition:o,isFirstLine:n}}function jfe(e,t,n,r,i,a){let o=Mfe(e,t,n,r,i,a),s=e.getInjections();if(s.length===0)return o;let c=Nfe(s,e,t,n,r,i,a);if(!c)return o;if(!o)return c;let l=o.captureIndices[0].start,u=c.captureIndices[0].start;return u<l||c.priorityMatch&&u===l?c:o}function Mfe(e,t,n,r,i,a){let{ruleScanner:o,findOptions:s}=U6(i.getRule(e),e,i.endRule,n,r===a),c=o.findNextMatchSync(t,r,s);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Nfe(e,t,n,r,i,a,o){let s=Number.MAX_VALUE,c=null,l,u=0,d=a.contentNameScopesList.getScopeNames();for(let a=0,f=e.length;a<f;a++){let f=e[a];if(!f.matcher(d))continue;let{ruleScanner:p,findOptions:m}=U6(t.getRule(f.ruleId),t,null,r,i===o),h=p.findNextMatchSync(n,i,m);if(!h)continue;let g=h.captureIndices[0].start;if(!(g>=s)&&(s=g,c=h.captureIndices,l=h.ruleId,u=f.priority,s===i))break}return c?{priorityMatch:u===-1,captureIndices:c,matchedRuleId:l}:null}function U6(e,t,n,r,i){return{ruleScanner:e.compileAG(t,n,r,i),findOptions:0}}function Pfe(e,t,n,r,i){return{ruleScanner:e.compileWhileAG(t,n,r,i),findOptions:0}}function W6(e,t,n,r,i,a,o){if(a.length===0)return;let s=t.content,c=Math.min(a.length,o.length),l=[],u=o[0].end;for(let t=0;t<c;t++){let c=a[t];if(c===null)continue;let d=o[t];if(d.length===0)continue;if(d.start>u)break;for(;l.length>0&&l[l.length-1].endPos<=d.start;)i.produceFromScopes(l[l.length-1].scopes,l[l.length-1].endPos),l.pop();if(l.length>0?i.produceFromScopes(l[l.length-1].scopes,d.start):i.produce(r,d.start),c.retokenizeCapturedWithRuleId){let t=c.getName(s,o),a=r.contentNameScopesList.pushAttributed(t,e),l=c.getContentName(s,o),u=a.pushAttributed(l,e),f=r.push(c.retokenizeCapturedWithRuleId,d.start,-1,!1,null,a,u),p=e.createOnigString(s.substring(0,d.end));H6(e,p,n&&d.start===0,d.start,f,i,!1,0),S6(p);continue}let f=c.getName(s,o);if(f!==null){let t=(l.length>0?l[l.length-1].scopes:r.contentNameScopesList).pushAttributed(f,e);l.push(new Ffe(t,d.end))}}for(;l.length>0;)i.produceFromScopes(l[l.length-1].scopes,l[l.length-1].endPos),l.pop()}var Ffe=class{constructor(t,n){e.N(this,`scopes`,void 0),e.N(this,`endPos`,void 0),this.scopes=t,this.endPos=n}};function Ife(e,t,n,r,i,a,o,s){return new Rfe(e,t,n,r,i,a,o,s)}function G6(e,t,n,r,i){let a=b6(t,K6),o=I6.getCompiledRuleId(n,r,i.repository);for(let n of a)e.push({debugSelector:t,matcher:n.matcher,ruleId:o,grammar:i,priority:n.priority})}function K6(e,t){if(t.length<e.length)return!1;let n=0;return e.every(e=>{for(let r=n;r<t.length;r++)if(Lfe(t[r],e))return n=r+1,!0;return!1})}function Lfe(e,t){if(!e)return!1;if(e===t)return!0;let n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]===`.`}var Rfe=class{constructor(t,n,r,i,a,o,s,c){if(e.N(this,`_rootId`,void 0),e.N(this,`_lastRuleId`,void 0),e.N(this,`_ruleId2desc`,void 0),e.N(this,`_includedGrammars`,void 0),e.N(this,`_grammarRepository`,void 0),e.N(this,`_grammar`,void 0),e.N(this,`_injections`,void 0),e.N(this,`_basicScopeAttributesProvider`,void 0),e.N(this,`_tokenTypeMatchers`,void 0),this._rootScopeName=t,this.balancedBracketSelectors=o,this._onigLib=c,this._basicScopeAttributesProvider=new Ofe(r,i),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=q6(n,null),this._injections=null,this._tokenTypeMatchers=[],a)for(let e of Object.keys(a)){let t=b6(e,K6);for(let n of t)this._tokenTypeMatchers.push({matcher:n.matcher,type:a[e]})}}get themeProvider(){return this._grammarRepository}dispose(){for(let e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){let e={lookup:e=>e===this._rootScopeName?this._grammar:this.getExternalGrammar(e),injections:e=>this._grammarRepository.injections(e)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){let e=r.injections;if(e)for(let n in e)G6(t,n,e[n],this,r);let i=this._grammarRepository.injections(n);i&&i.forEach(e=>{let n=this.getExternalGrammar(e);if(n){let e=n.injectionSelector;e&&G6(t,e,n,this,n)}})}return t.sort((e,t)=>e.priority-t.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){let t=++this._lastRuleId,n=e(A6(t));return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[j6(e)]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){let n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=q6(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){let r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){let r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=I6.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let i;if(!t||t===Y6.NULL){i=!0;let e=this._basicScopeAttributesProvider.getDefaultAttributes(),n=this.themeProvider.getDefaults(),r=y6.set(0,e.languageId,e.tokenType,null,n.fontStyle,n.foregroundId,n.backgroundId),a=this.getRule(this._rootId).getName(null,null),o;o=a?J6.createRootAndLookUpScopeName(a,r,this):J6.createRoot(`unknown`,r),t=new Y6(null,this._rootId,-1,-1,!1,null,o,o)}else i=!1,t.reset();e+=`
3892
+ `;let a=this.createOnigString(e),o=a.content.length,s=new Bfe(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),c=H6(this,a,i,0,t,s,!0,r);return S6(a),{lineLength:o,lineTokens:s,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}};function q6(e,t){return e=tfe(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var J6=class e{constructor(e,t,n){this.parent=e,this.scopePath=t,this.tokenAttributes=n}static fromExtension(t,n){var r;let i=t,a=(r=t==null?void 0:t.scopePath)==null?null:r;for(let t of n)a=h6.push(a,t.scopeNames),i=new e(i,a,t.encodedTokenAttributes);return i}static createRoot(t,n){return new e(null,new h6(null,t),n)}static createRootAndLookUpScopeName(t,n,r){let i=r.getMetadataForScope(t),a=new h6(null,t),o=r.themeProvider.themeMatch(a),s=e.mergeAttributes(n,i,o);return new e(null,a,s)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(` `)}equals(t){return e.equals(this,t)}static equals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}while(!0)}static mergeAttributes(e,t,n){let r=-1,i=0,a=0;return n!==null&&(r=n.fontStyle,i=n.foregroundId,a=n.backgroundId),y6.set(e,t.languageId,t.tokenType,null,r,i,a)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(` `)===-1)return e._pushAttributed(this,t,n);let r=t.split(/ /g),i=this;for(let t of r)i=e._pushAttributed(i,t,n);return i}static _pushAttributed(t,n,r){let i=r.getMetadataForScope(n),a=t.scopePath.push(n),o=r.themeProvider.themeMatch(a),s=e.mergeAttributes(t.tokenAttributes,i,o);return new e(t,a,s)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){let t=[],n=this;for(;n&&n!==e;){var r,i;t.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined((r=(i=n.parent)==null?void 0:i.scopePath)==null?null:r)}),n=n.parent}return n===e?t.reverse():void 0}},Y6=(r6=class t{constructor(t,n,r,i,a,o,s,c){e.N(this,`_stackElementBrand`,void 0),e.N(this,`_enterPos`,void 0),e.N(this,`_anchorPos`,void 0),e.N(this,`depth`,void 0),this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=a,this.endRule=o,this.nameScopesList=s,this.contentNameScopesList=c,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=i}equals(e){return e!==null&&t._equals(this,e)}static _equals(e,t){return e===t?!0:this._structuralEquals(e,t)?J6.equals(e.contentNameScopesList,t.contentNameScopesList):!1}static _structuralEquals(e,t){do{if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}while(!0)}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){t._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(e,n,r,i,a,o,s){return new t(this,e,n,r,i,a,o,s)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){let e=[];return this._writeString(e,0),`[`+e.join(`,`)+`]`}_writeString(e,t){var n,r;return this.parent&&(t=this.parent._writeString(e,t)),e[t++]=`(${this.ruleId}, ${(n=this.nameScopesList)==null?void 0:n.toString()}, ${(r=this.contentNameScopesList)==null?void 0:r.toString()})`,t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(e){return this.endRule===e?this:new t(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,e,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){var e,t,n,r,i,a;return{ruleId:j6(this.ruleId),beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:(e=(t=this.nameScopesList)==null?void 0:t.getExtensionIfDefined((n=(r=this.parent)==null?void 0:r.nameScopesList)==null?null:n))==null?[]:e,contentNameScopesList:(i=(a=this.contentNameScopesList)==null?void 0:a.getExtensionIfDefined(this.nameScopesList))==null?[]:i}}static pushFrame(e,n){var r,i,a;let o=J6.fromExtension((r=e==null?void 0:e.nameScopesList)==null?null:r,n.nameScopesList);return new t(e,A6(n.ruleId),(i=n.enterPos)==null?-1:i,(a=n.anchorPos)==null?-1:a,n.beginRuleCapturedEOL,n.endRule,o,J6.fromExtension(o,n.contentNameScopesList))}},e.N(r6,`NULL`,new r6(null,0,0,0,!1,null,null,null)),r6),zfe=class{constructor(t,n){e.N(this,`balancedBracketScopes`,void 0),e.N(this,`unbalancedBracketScopes`,void 0),e.N(this,`allowAny`,!1),this.balancedBracketScopes=t.flatMap(e=>e===`*`?(this.allowAny=!0,[]):b6(e,K6).map(e=>e.matcher)),this.unbalancedBracketScopes=n.flatMap(e=>b6(e,K6).map(e=>e.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(let t of this.unbalancedBracketScopes)if(t(e))return!1;for(let t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},Bfe=class{constructor(t,n,r,i){e.N(this,`_emitBinaryTokens`,void 0),e.N(this,`_lineText`,void 0),e.N(this,`_tokens`,void 0),e.N(this,`_binaryTokens`,void 0),e.N(this,`_lastTokenEndIndex`,void 0),e.N(this,`_tokenTypeOverrides`,void 0),this.balancedBracketSelectors=i,this._emitBinaryTokens=t,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){var n;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){var r,i;let n=(r=e==null?void 0:e.tokenAttributes)==null?0:r,o=!1;if((i=this.balancedBracketSelectors)!=null&&i.matchesAlways&&(o=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){var a;let t=(a=e==null?void 0:e.getScopeNames())==null?[]:a;for(let e of this._tokenTypeOverrides)e.matcher(t)&&(n=y6.set(n,0,ffe(e.type),null,-1,0,0));this.balancedBracketSelectors&&(o=this.balancedBracketSelectors.match(t))}if(o&&(n=y6.set(n,0,8,o,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===n){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(n),this._lastTokenEndIndex=t;return}let o=(n=e==null?void 0:e.getScopeNames())==null?[]:n;this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:o}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);let n=new Uint32Array(this._binaryTokens.length);for(let e=0,t=this._binaryTokens.length;e<t;e++)n[e]=this._binaryTokens[e];return n}},Vfe=class{constructor(t,n){e.N(this,`_grammars`,new Map),e.N(this,`_rawGrammars`,new Map),e.N(this,`_injectionGrammars`,new Map),e.N(this,`_theme`,void 0),this._onigLib=n,this._theme=t}dispose(){for(let e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,i){if(!this._grammars.has(e)){let a=this._rawGrammars.get(e);if(!a)return null;this._grammars.set(e,Ife(e,a,t,n,r,i,this,this._onigLib))}return this._grammars.get(e)}},Hfe=class{constructor(t){e.N(this,`_options`,void 0),e.N(this,`_syncRegistry`,void 0),e.N(this,`_ensureGrammarCache`,void 0),this._options=t,this._syncRegistry=new Vfe(m6.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(m6.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,n){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:n})}loadGrammarWithConfiguration(e,t,n){return this._loadGrammar(e,t,n.embeddedLanguages,n.tokenTypes,new zfe(n.balancedBracketSelectors||[],n.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,n,r,i){let a=new _fe(this._syncRegistry,e);for(;a.Q.length>0;)a.Q.map(e=>this._loadSingleGrammar(e.scopeName)),a.processQueue();return this._grammarForScopeName(e,t,n,r,i)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){let t=this._options.loadGrammar(e);if(t){let n=typeof this._options.getInjections==`function`?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,n)}}addGrammar(e,t=[],n=0,r=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,n,r)}_grammarForScopeName(e,t=0,n=null,r=null,i=null){return this._syncRegistry.grammarForScopeName(e,t,n,r,i)}},X6=Y6.NULL;function Z6(e,t){let n=typeof e==`string`?{}:{...e.colorReplacements},r=typeof e==`string`?e:e.name;for(let[e,i]of Object.entries((t==null?void 0:t.colorReplacements)||{}))typeof i==`string`?n[e]=i:e===r&&Object.assign(n,i);return n}function Q6(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function Ufe(e){return Array.isArray(e)?e:[e]}async function $6(e){return Promise.resolve(typeof e==`function`?e():e).then(e=>e.default||e)}function e8(e){return!e||[`plaintext`,`txt`,`text`,`plain`].includes(e)}function Wfe(e){return e===`ansi`||e8(e)}function t8(e){return e===`none`}function Gfe(e){return t8(e)}var Kfe=/(\r?\n)/g;function n8(e,t=!1){if(e.length===0)return[[``,0]];let n=e.split(Kfe),r=0,i=[];for(let e=0;e<n.length;e+=2){var a;let o=t?n[e]+(n[e+1]||``):n[e];i.push([o,r]),r+=n[e].length,r+=((a=n[e+1])==null?void 0:a.length)||0}return i}var r8={light:`#333333`,dark:`#bbbbbb`},i8={light:`#fffffe`,dark:`#1e1e1e`},a8=`__shiki_resolved`;function o8(e){if(e!=null&&e[a8])return e;let t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||(t.type=`dark`),t.colorReplacements={...t.colorReplacements},t.settings||(t.settings=[]);let{bg:n,fg:r}=t;if(!n||!r){var i,a,o,s;let e=t.settings?t.settings.find(e=>!e.name&&!e.scope):void 0;e!=null&&(i=e.settings)!=null&&i.foreground&&(r=e.settings.foreground),e!=null&&(a=e.settings)!=null&&a.background&&(n=e.settings.background),!r&&t!=null&&(o=t.colors)!=null&&o[`editor.foreground`]&&(r=t.colors[`editor.foreground`]),!n&&t!=null&&(s=t.colors)!=null&&s[`editor.background`]&&(n=t.colors[`editor.background`]),r||(r=t.type===`light`?r8.light:r8.dark),n||(n=t.type===`light`?i8.light:i8.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let c=0,l=new Map;function u(e){var n;if(l.has(e))return l.get(e);c+=1;let r=`#${c.toString(16).padStart(8,`0`).toLowerCase()}`;return(n=t.colorReplacements)!=null&&n[`#${r}`]?u(e):(l.set(e,r),r)}t.settings=t.settings.map(e=>{var n,r;let i=((n=e.settings)==null?void 0:n.foreground)&&!e.settings.foreground.startsWith(`#`),a=((r=e.settings)==null?void 0:r.background)&&!e.settings.background.startsWith(`#`);if(!i&&!a)return e;let o={...e,settings:{...e.settings}};if(i){let n=u(e.settings.foreground);t.colorReplacements[n]=e.settings.foreground,o.settings.foreground=n}if(a){let n=u(e.settings.background);t.colorReplacements[n]=e.settings.background,o.settings.background=n}return o});for(let e of Object.keys(t.colors||{}))if(e===`editor.foreground`||e===`editor.background`||e.startsWith(`terminal.ansi`)){var d;if(!((d=t.colors[e])!=null&&d.startsWith(`#`))){let n=u(t.colors[e]);t.colorReplacements[n]=t.colors[e],t.colors[e]=n}}return Object.defineProperty(t,a8,{enumerable:!1,writable:!1,value:!0}),t}async function s8(e){return[...new Set((await Promise.all(e.filter(e=>!Wfe(e)).map(async e=>await $6(e).then(e=>Array.isArray(e)?e:[e])))).flat())]}async function c8(e){return(await Promise.all(e.map(async e=>Gfe(e)?null:o8(await $6(e))))).filter(e=>!!e)}function l8(e,t){if(!t)return e;if(t[e]){let n=new Set([e]);for(;t[e];){if(e=t[e],n.has(e))throw new t6(`Circular alias \`${[...n].join(` -> `)} -> ${e}\``);n.add(e)}}return e}var qfe=class extends Hfe{constructor(t,n,r,i={}){super(t),e.N(this,`_resolver`,void 0),e.N(this,`_themes`,void 0),e.N(this,`_langs`,void 0),e.N(this,`_alias`,void 0),e.N(this,`_resolvedThemes`,new Map),e.N(this,`_resolvedGrammars`,new Map),e.N(this,`_langMap`,new Map),e.N(this,`_langGraph`,new Map),e.N(this,`_textmateThemeCache`,new WeakMap),e.N(this,`_loadedThemesCache`,null),e.N(this,`_loadedLanguagesCache`,null),this._resolver=t,this._themes=n,this._langs=r,this._alias=i,this._themes.map(e=>this.loadTheme(e)),this.loadLanguages(this._langs)}getTheme(e){return typeof e==`string`?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){let t=o8(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=m6.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=l8(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;let t=new Set([...this._langMap.values()].filter(t=>{var n;return(n=t.embeddedLangsLazy)==null?void 0:n.includes(e.name)}));this._resolver.addLanguage(e);let n={balancedBracketSelectors:e.balancedBracketSelectors||[`*`],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);let r=this.loadGrammarWithConfiguration(e.scopeName,1,n);if(r.name=e.name,this._resolvedGrammars.set(e.name,r),e.aliases&&e.aliases.forEach(t=>{this._alias[t]=e.name}),this._loadedLanguagesCache=null,t.size)for(let e of t){var i,a;this._resolvedGrammars.delete(e.name),this._loadedLanguagesCache=null,(i=this._syncRegistry)==null||(i=i._injectionGrammars)==null||i.delete(e.scopeName),(a=this._syncRegistry)==null||(a=a._grammars)==null||a.delete(e.scopeName),this.loadLanguage(this._langMap.get(e.name))}}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(let t of e)this.resolveEmbeddedLanguages(t);let t=[...this._langGraph.entries()],n=t.filter(([e,t])=>!t);if(n.length){let e=t.filter(([e,t])=>{var r;return t?(r=t.embeddedLanguages||t.embeddedLangs)==null?void 0:r.some(e=>n.map(([e])=>e).includes(e)):!1}).filter(e=>!n.includes(e));throw new t6(`Missing languages ${n.map(([e])=>`\`${e}\``).join(`, `)}, required by ${e.map(([e])=>`\`${e}\``).join(`, `)}`)}for(let[e,n]of t)this._resolver.addLanguage(n);for(let[e,n]of t)this.loadLanguage(n)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){var t;this._langMap.set(e.name,e),this._langGraph.set(e.name,e);let n=(t=e.embeddedLanguages)==null?e.embeddedLangs:t;if(n)for(let e of n)this._langGraph.set(e,this._langMap.get(e))}},Jfe=class{constructor(t,n){e.N(this,`_langs`,new Map),e.N(this,`_scopeToLang`,new Map),e.N(this,`_injections`,new Map),e.N(this,`_onigLib`,void 0),this._onigLib={createOnigScanner:e=>t.createScanner(e),createOnigString:e=>t.createString(e)},n.forEach(e=>this.addLanguage(e))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){let t=e.split(`.`),n=[];for(let e=1;e<=t.length;e++){let r=t.slice(0,e).join(`.`);n=[...n,...this._injections.get(r)||[]]}return n}},u8=0;function Yfe(e){u8+=1,e.warnings!==!1&&u8>=10&&u8%10==0&&console.warn(`[Shiki] ${u8} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new t6("`engine` option is required for synchronous mode");let n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(o8),i=new qfe(new Jfe(e.engine,n),r,n,e.langAlias),a;function o(t){return l8(t,e.langAlias)}function s(e){g();let t=i.getGrammar(typeof e==`string`?e:e.name);if(!t)throw new t6(`Language \`${e}\` not found, you may need to load it first`);return t}function c(e){if(e===`none`)return{bg:``,fg:``,name:`none`,settings:[],type:`dark`};g();let t=i.getTheme(e);if(!t)throw new t6(`Theme \`${e}\` not found, you may need to load it first`);return t}function l(e){g();let t=c(e);return a!==e&&(i.setTheme(t),a=e),{theme:t,colorMap:i.getColorMap()}}function u(){return g(),i.getLoadedThemes()}function d(){return g(),i.getLoadedLanguages()}function f(...e){g(),i.loadLanguages(e.flat(1))}async function p(...e){return f(await s8(e))}function m(...e){g();for(let t of e.flat(1))i.loadTheme(t)}async function h(...e){return g(),m(await c8(e))}function g(){if(t)throw new t6(`Shiki instance has been disposed`)}function _(){t||(t=!0,i.dispose(),--u8)}return{setTheme:l,getTheme:c,getLanguage:s,getLoadedThemes:u,getLoadedLanguages:d,resolveLangAlias:o,loadLanguage:p,loadLanguageSync:f,loadTheme:h,loadThemeSync:m,dispose:_,[Symbol.dispose]:_}}async function Xfe(e){e.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");let[t,n,r]=await Promise.all([c8(e.themes||[]),s8(e.langs||[]),e.engine]);return Yfe({...e,themes:t,langs:n,engine:r})}var d8=new WeakMap;function f8(e,t){d8.set(e,t)}function p8(e){return d8.get(e)}var m8=class t{get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(e,n){return new t(Object.fromEntries(Ufe(n).map(e=>[e,X6])),e)}constructor(...t){if(e.N(this,`_stacks`,{}),e.N(this,`lang`,void 0),t.length===2){let[e,n]=t;this.lang=n,this._stacks=e}else{let[e,n,r]=t;this.lang=n,this._stacks={[r]:e}}}getInternalStack(e=this.theme){return this._stacks[e]}getScopes(e=this.theme){return Zfe(this._stacks[e])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function Zfe(e){let t=[],n=new Set;function r(e){var i;if(n.has(e))return;n.add(e);let a=e==null||(i=e.nameScopesList)==null?void 0:i.scopeName;a&&t.push(a),e.parent&&r(e.parent)}return r(e),t}function Qfe(e,t){if(!(e instanceof m8))throw new t6(`Invalid grammar state`);return e.getInternalStack(t)}var $fe=/,/,epe=/ /;function h8(e,t,n={}){let{theme:r=e.getLoadedThemes()[0]}=n;if(e8(e.resolveLangAlias(n.lang||`text`))||t8(r))return n8(t).map(e=>[{content:e[0],offset:e[1]}]);let{theme:i,colorMap:a}=e.setTheme(r),o=e.getLanguage(n.lang||`text`);if(n.grammarState){if(n.grammarState.lang!==o.name)throw new t6(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${o.name}"`);if(!n.grammarState.themes.includes(i.name))throw new t6(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${i.name}"`)}return npe(t,o,i,a,n)}function tpe(...e){if(e.length===2)return p8(e[1]);let[t,n,r={}]=e,{lang:i=`text`,theme:a=t.getLoadedThemes()[0]}=r;if(e8(i)||t8(a))throw new t6(`Plain language does not have grammar state`);if(i===`ansi`)throw new t6(`ANSI language does not have grammar state`);let{theme:o,colorMap:s}=t.setTheme(a),c=t.getLanguage(i);return new m8(g8(n,c,o,s,r).stateStack,c.name,o.name)}function npe(e,t,n,r,i){let a=g8(e,t,n,r,i),o=new m8(a.stateStack,t.name,n.name);return f8(a.tokens,o),a.tokens}function g8(e,t,n,r,i){var a;let o=Z6(n,i),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:c=500,includeExplanation:l=!1}=i,u=n8(e),d=i.grammarState?(a=Qfe(i.grammarState,n.name))==null?X6:a:i.grammarContextCode==null?X6:g8(i.grammarContextCode,t,n,r,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack,f=[],p=[];for(let e=0,i=u.length;e<i;e++){let[i,a]=u[e];if(i===``){f=[],p.push([]);continue}if(s>0&&i.length>=s){f=[],p.push([{content:i,offset:a,color:``,fontStyle:0}]);continue}let m,h,g;l&&l!==`tokenType`&&(m=t.tokenizeLine(i,d,c),h=m.tokens,g=0);let _=t.tokenizeLine2(i,d,c),v=_.tokens.length/2;for(let e=0;e<v;e++){let t=_.tokens[2*e],s=e+1<v?_.tokens[2*e+2]:i.length;if(t===s)continue;let c=_.tokens[2*e+1],u=Q6(r[y6.getForeground(c)],o),d=y6.getFontStyle(c),p={content:i.substring(t,s),offset:a+t,color:u,fontStyle:d};if(l===`tokenType`)p.type=y6.getTokenType(c);else if(l){let e=[];if(l!==`scopeName`)for(let t of n.settings){let n;switch(typeof t.scope){case`string`:n=t.scope.split($fe).map(e=>e.trim());break;case`object`:n=t.scope;break;default:continue}e.push({settings:t,selectors:n.map(e=>e.split(epe))})}p.explanation=[];let r=0;for(;t+r<s;){let t=h[g],n=i.substring(t.startIndex,t.endIndex);r+=n.length,p.explanation.push({content:n,scopes:l===`scopeName`?rpe(t.scopes):ipe(e,t.scopes)}),g+=1}}f.push(p)}p.push(f),f=[],d=_.ruleStack}return{tokens:p,stateStack:d}}function rpe(e){return e.map(e=>({scopeName:e}))}function ipe(e,t){let n=[];for(let r=0,i=t.length;r<i;r++){let i=t[r];n[r]={scopeName:i,themeMatches:ope(e,i,t.slice(0,r))}}return n}function _8(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]===`.`}function ape(e,t,n){if(!_8(e.at(-1),t))return!1;let r=e.length-2,i=n.length-1;for(;r>=0&&i>=0;)_8(e[r],n[i])&&--r,--i;return r===-1}function ope(e,t,n){let r=[];for(let{selectors:i,settings:a}of e)for(let e of i)if(ape(e,t,n)){r.push(a);break}return r}function v8(e,t,n,r=h8){let i=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})),a=i.map(i=>{let a=r(e,t,{...n,theme:i.theme});return{tokens:a,state:p8(a),theme:typeof i.theme==`string`?i.theme:i.theme.name}}),o=spe(...a.map(e=>e.tokens)),s=o[0].map((e,t)=>e.map((e,r)=>{let a={content:e.content,variants:{},offset:e.offset};return`includeExplanation`in n&&n.includeExplanation&&(a.explanation=e.explanation),o.forEach((e,n)=>{let{content:o,explanation:s,offset:c,...l}=e[t][r];a.variants[i[n].color]=l}),a})),c=a[0].state?new m8(Object.fromEntries(a.map(e=>{var t;return[e.theme,(t=e.state)==null?void 0:t.getInternalStack(e.theme)]})),a[0].state.lang):void 0;return c&&f8(s,c),s}function spe(...e){let t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){let i=e.map(e=>e[r]),a=t.map(()=>[]);t.forEach((e,t)=>e.push(a[t]));let o=i.map(()=>0),s=i.map(e=>e[0]);for(;s.every(e=>e);){let e=Math.min(...s.map(e=>e.content.length));for(let t=0;t<n;t++){let n=s[t];n.content.length===e?(a[t].push(n),o[t]+=1,s[t]=i[t][o[t]]):(a[t].push({...n,content:n.content.slice(0,e)}),s[t]={...n,content:n.content.slice(e),offset:n.offset+e})}}}return t}var cpe=[`area`,`base`,`basefont`,`bgsound`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`image`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`],y8=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};y8.prototype.normal={},y8.prototype.property={},y8.prototype.space=void 0;function b8(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new y8(n,r,t)}function x8(e){return e.toLowerCase()}var S8=class{constructor(e,t){this.attribute=t,this.property=e}};S8.prototype.attribute=``,S8.prototype.booleanish=!1,S8.prototype.boolean=!1,S8.prototype.commaOrSpaceSeparated=!1,S8.prototype.commaSeparated=!1,S8.prototype.defined=!1,S8.prototype.mustUseProperty=!1,S8.prototype.number=!1,S8.prototype.overloadedBoolean=!1,S8.prototype.property=``,S8.prototype.spaceSeparated=!1,S8.prototype.space=void 0;var C8=e.$({boolean:()=>w8,booleanish:()=>T8,commaOrSpaceSeparated:()=>k8,commaSeparated:()=>O8,number:()=>$,overloadedBoolean:()=>E8,spaceSeparated:()=>D8}),lpe=0,w8=A8(),T8=A8(),E8=A8(),$=A8(),D8=A8(),O8=A8(),k8=A8();function A8(){return 2**++lpe}var j8=Object.keys(C8),M8=class extends S8{constructor(e,t,n,r){let i=-1;if(super(e,t),N8(this,`space`,r),typeof n==`number`)for(;++i<j8.length;){let e=j8[i];N8(this,j8[i],(n&C8[e])===C8[e])}}};M8.prototype.defined=!0;function N8(e,t,n){n&&(e[t]=n)}function P8(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new M8(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[x8(r)]=r,n[x8(a.attribute)]=r}return new y8(t,n,e.space)}var F8=P8({properties:{ariaActiveDescendant:null,ariaAtomic:T8,ariaAutoComplete:null,ariaBusy:T8,ariaChecked:T8,ariaColCount:$,ariaColIndex:$,ariaColSpan:$,ariaControls:D8,ariaCurrent:null,ariaDescribedBy:D8,ariaDetails:null,ariaDisabled:T8,ariaDropEffect:D8,ariaErrorMessage:null,ariaExpanded:T8,ariaFlowTo:D8,ariaGrabbed:T8,ariaHasPopup:null,ariaHidden:T8,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:D8,ariaLevel:$,ariaLive:null,ariaModal:T8,ariaMultiLine:T8,ariaMultiSelectable:T8,ariaOrientation:null,ariaOwns:D8,ariaPlaceholder:null,ariaPosInSet:$,ariaPressed:T8,ariaReadOnly:T8,ariaRelevant:null,ariaRequired:T8,ariaRoleDescription:D8,ariaRowCount:$,ariaRowIndex:$,ariaRowSpan:$,ariaSelected:T8,ariaSetSize:$,ariaSort:null,ariaValueMax:$,ariaValueMin:$,ariaValueNow:$,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}});function I8(e,t){return t in e?e[t]:t}function L8(e,t){return I8(e,t.toLowerCase())}var upe=P8({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:O8,acceptCharset:D8,accessKey:D8,action:null,allow:null,allowFullScreen:w8,allowPaymentRequest:w8,allowUserMedia:w8,alpha:w8,alt:null,as:null,async:w8,autoCapitalize:null,autoComplete:D8,autoFocus:w8,autoPlay:w8,blocking:D8,capture:null,charSet:null,checked:w8,cite:null,className:D8,closedBy:null,colorSpace:null,cols:$,colSpan:$,command:null,commandFor:null,content:null,contentEditable:T8,controls:w8,controlsList:D8,coords:$|O8,crossOrigin:null,data:null,dateTime:null,decoding:null,default:w8,defer:w8,dir:null,dirName:null,disabled:w8,download:E8,draggable:T8,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:w8,formTarget:null,headers:D8,height:$,hidden:E8,high:$,href:null,hrefLang:null,htmlFor:D8,httpEquiv:D8,id:null,imageSizes:null,imageSrcSet:null,inert:w8,inputMode:null,integrity:null,is:null,isMap:w8,itemId:null,itemProp:D8,itemRef:D8,itemScope:w8,itemType:D8,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:w8,low:$,manifest:null,max:null,maxLength:$,media:null,method:null,min:null,minLength:$,multiple:w8,muted:w8,name:null,nonce:null,noModule:w8,noValidate:w8,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:w8,optimum:$,pattern:null,ping:D8,placeholder:null,playsInline:w8,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:w8,referrerPolicy:null,rel:D8,required:w8,reversed:w8,rows:$,rowSpan:$,sandbox:D8,scope:null,scoped:w8,seamless:w8,selected:w8,shadowRootClonable:w8,shadowRootCustomElementRegistry:w8,shadowRootDelegatesFocus:w8,shadowRootMode:null,shadowRootSerializable:w8,shape:null,size:$,sizes:null,slot:null,span:$,spellCheck:T8,src:null,srcDoc:null,srcLang:null,srcSet:null,start:$,step:null,style:null,tabIndex:$,target:null,title:null,translate:null,type:null,typeMustMatch:w8,useMap:null,value:T8,width:$,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:D8,axis:null,background:null,bgColor:null,border:$,borderColor:null,bottomMargin:$,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:w8,declare:w8,event:null,face:null,frame:null,frameBorder:null,hSpace:$,leftMargin:$,link:null,longDesc:null,lowSrc:null,marginHeight:$,marginWidth:$,noResize:w8,noHref:w8,noShade:w8,noWrap:w8,object:null,profile:null,prompt:null,rev:null,rightMargin:$,rules:null,scheme:null,scrolling:T8,standby:null,summary:null,text:null,topMargin:$,valueType:null,version:null,vAlign:null,vLink:null,vSpace:$,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:w8,disablePictureInPicture:w8,disableRemotePlayback:w8,exportParts:O8,part:D8,prefix:null,property:null,results:$,security:null,unselectable:null},space:`html`,transform:L8}),dpe=P8({attributes:{accentHeight:`accent-height`,alignmentBaseline:`alignment-baseline`,arabicForm:`arabic-form`,baselineShift:`baseline-shift`,capHeight:`cap-height`,className:`class`,clipPath:`clip-path`,clipRule:`clip-rule`,colorInterpolation:`color-interpolation`,colorInterpolationFilters:`color-interpolation-filters`,colorProfile:`color-profile`,colorRendering:`color-rendering`,crossOrigin:`crossorigin`,dataType:`datatype`,dominantBaseline:`dominant-baseline`,enableBackground:`enable-background`,fillOpacity:`fill-opacity`,fillRule:`fill-rule`,floodColor:`flood-color`,floodOpacity:`flood-opacity`,fontFamily:`font-family`,fontSize:`font-size`,fontSizeAdjust:`font-size-adjust`,fontStretch:`font-stretch`,fontStyle:`font-style`,fontVariant:`font-variant`,fontWeight:`font-weight`,glyphName:`glyph-name`,glyphOrientationHorizontal:`glyph-orientation-horizontal`,glyphOrientationVertical:`glyph-orientation-vertical`,hrefLang:`hreflang`,horizAdvX:`horiz-adv-x`,horizOriginX:`horiz-origin-x`,horizOriginY:`horiz-origin-y`,imageRendering:`image-rendering`,letterSpacing:`letter-spacing`,lightingColor:`lighting-color`,markerEnd:`marker-end`,markerMid:`marker-mid`,markerStart:`marker-start`,maskType:`mask-type`,navDown:`nav-down`,navDownLeft:`nav-down-left`,navDownRight:`nav-down-right`,navLeft:`nav-left`,navNext:`nav-next`,navPrev:`nav-prev`,navRight:`nav-right`,navUp:`nav-up`,navUpLeft:`nav-up-left`,navUpRight:`nav-up-right`,onAbort:`onabort`,onActivate:`onactivate`,onAfterPrint:`onafterprint`,onBeforePrint:`onbeforeprint`,onBegin:`onbegin`,onCancel:`oncancel`,onCanPlay:`oncanplay`,onCanPlayThrough:`oncanplaythrough`,onChange:`onchange`,onClick:`onclick`,onClose:`onclose`,onCopy:`oncopy`,onCueChange:`oncuechange`,onCut:`oncut`,onDblClick:`ondblclick`,onDrag:`ondrag`,onDragEnd:`ondragend`,onDragEnter:`ondragenter`,onDragExit:`ondragexit`,onDragLeave:`ondragleave`,onDragOver:`ondragover`,onDragStart:`ondragstart`,onDrop:`ondrop`,onDurationChange:`ondurationchange`,onEmptied:`onemptied`,onEnd:`onend`,onEnded:`onended`,onError:`onerror`,onFocus:`onfocus`,onFocusIn:`onfocusin`,onFocusOut:`onfocusout`,onHashChange:`onhashchange`,onInput:`oninput`,onInvalid:`oninvalid`,onKeyDown:`onkeydown`,onKeyPress:`onkeypress`,onKeyUp:`onkeyup`,onLoad:`onload`,onLoadedData:`onloadeddata`,onLoadedMetadata:`onloadedmetadata`,onLoadStart:`onloadstart`,onMessage:`onmessage`,onMouseDown:`onmousedown`,onMouseEnter:`onmouseenter`,onMouseLeave:`onmouseleave`,onMouseMove:`onmousemove`,onMouseOut:`onmouseout`,onMouseOver:`onmouseover`,onMouseUp:`onmouseup`,onMouseWheel:`onmousewheel`,onOffline:`onoffline`,onOnline:`ononline`,onPageHide:`onpagehide`,onPageShow:`onpageshow`,onPaste:`onpaste`,onPause:`onpause`,onPlay:`onplay`,onPlaying:`onplaying`,onPopState:`onpopstate`,onProgress:`onprogress`,onRateChange:`onratechange`,onRepeat:`onrepeat`,onReset:`onreset`,onResize:`onresize`,onScroll:`onscroll`,onSeeked:`onseeked`,onSeeking:`onseeking`,onSelect:`onselect`,onShow:`onshow`,onStalled:`onstalled`,onStorage:`onstorage`,onSubmit:`onsubmit`,onSuspend:`onsuspend`,onTimeUpdate:`ontimeupdate`,onToggle:`ontoggle`,onUnload:`onunload`,onVolumeChange:`onvolumechange`,onWaiting:`onwaiting`,onZoom:`onzoom`,overlinePosition:`overline-position`,overlineThickness:`overline-thickness`,paintOrder:`paint-order`,panose1:`panose-1`,pointerEvents:`pointer-events`,referrerPolicy:`referrerpolicy`,renderingIntent:`rendering-intent`,shapeRendering:`shape-rendering`,stopColor:`stop-color`,stopOpacity:`stop-opacity`,strikethroughPosition:`strikethrough-position`,strikethroughThickness:`strikethrough-thickness`,strokeDashArray:`stroke-dasharray`,strokeDashOffset:`stroke-dashoffset`,strokeLineCap:`stroke-linecap`,strokeLineJoin:`stroke-linejoin`,strokeMiterLimit:`stroke-miterlimit`,strokeOpacity:`stroke-opacity`,strokeWidth:`stroke-width`,tabIndex:`tabindex`,textAnchor:`text-anchor`,textDecoration:`text-decoration`,textRendering:`text-rendering`,transformOrigin:`transform-origin`,typeOf:`typeof`,underlinePosition:`underline-position`,underlineThickness:`underline-thickness`,unicodeBidi:`unicode-bidi`,unicodeRange:`unicode-range`,unitsPerEm:`units-per-em`,vAlphabetic:`v-alphabetic`,vHanging:`v-hanging`,vIdeographic:`v-ideographic`,vMathematical:`v-mathematical`,vectorEffect:`vector-effect`,vertAdvY:`vert-adv-y`,vertOriginX:`vert-origin-x`,vertOriginY:`vert-origin-y`,wordSpacing:`word-spacing`,writingMode:`writing-mode`,xHeight:`x-height`,playbackOrder:`playbackorder`,timelineBegin:`timelinebegin`},properties:{about:k8,accentHeight:$,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:$,amplitude:$,arabicForm:null,ascent:$,attributeName:null,attributeType:null,azimuth:$,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:$,by:null,calcMode:null,capHeight:$,className:D8,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:$,diffuseConstant:$,direction:null,display:null,dur:null,divisor:$,dominantBaseline:null,download:w8,dx:null,dy:null,edgeMode:null,editable:null,elevation:$,enableBackground:null,end:null,event:null,exponent:$,externalResourcesRequired:null,fill:null,fillOpacity:$,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:O8,g2:O8,glyphName:O8,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:$,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:$,horizOriginX:$,horizOriginY:$,id:null,ideographic:$,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:$,k:$,k1:$,k2:$,k3:$,k4:$,kernelMatrix:k8,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:$,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:$,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:$,overlineThickness:$,paintOrder:null,panose1:null,path:null,pathLength:$,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:D8,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:$,pointsAtY:$,pointsAtZ:$,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:k8,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:k8,rev:k8,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:k8,requiredFeatures:k8,requiredFonts:k8,requiredFormats:k8,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:$,specularExponent:$,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:$,strikethroughThickness:$,string:null,stroke:null,strokeDashArray:k8,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:$,strokeOpacity:$,strokeWidth:null,style:null,surfaceScale:$,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:k8,tabIndex:$,tableValues:null,target:null,targetX:$,targetY:$,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:k8,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:$,underlineThickness:$,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:$,values:null,vAlphabetic:$,vMathematical:$,vectorEffect:null,vHanging:$,vIdeographic:$,version:null,vertAdvY:$,vertOriginX:$,vertOriginY:$,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:$,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:I8}),R8=P8({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}}),z8=P8({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:L8}),B8=P8({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),fpe=/[A-Z]/g,V8=/-[a-z]/g,ppe=/^data[-\w.:]+$/i;function mpe(e,t){let n=x8(t),r=t,i=S8;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&ppe.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(V8,gpe);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!V8.test(e)){let n=e.replace(fpe,hpe);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=M8}return new i(r,t)}function hpe(e){return`-`+e.toLowerCase()}function gpe(e){return e.charAt(1).toUpperCase()}var _pe=b8([F8,upe,R8,z8,B8],`html`),H8=b8([F8,dpe,R8,z8,B8],`svg`),U8={}.hasOwnProperty;function vpe(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&U8.call(t,e)){let n=String(t[e]);i=U8.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var ype=/["&'<>`]/g,bpe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xpe=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Spe=/[|\\{}()[\]^$+*?.]/g,W8=new WeakMap;function Cpe(e,t){if(e=e.replace(t.subset?wpe(t.subset):ype,r),t.subset||t.escapeOnly)return e;return e.replace(bpe,n).replace(xpe,r);function n(e,n,r){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)}function r(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}function wpe(e){let t=W8.get(e);return t||(t=Tpe(e),W8.set(e,t)),t}function Tpe(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(Spe,`\\$&`));return RegExp(`(?:`+t.join(`|`)+`)`,`g`)}var Epe=/[\dA-Fa-f]/;function Dpe(e,t,n){let r=`&#x`+e.toString(16).toUpperCase();return n&&t&&!Epe.test(String.fromCharCode(t))?r:r+`;`}var Ope=/\d/;function kpe(e,t,n){let r=`&#`+String(e);return n&&t&&!Ope.test(String.fromCharCode(t))?r:r+`;`}var Ape=`AElig.AMP.Aacute.Acirc.Agrave.Aring.Atilde.Auml.COPY.Ccedil.ETH.Eacute.Ecirc.Egrave.Euml.GT.Iacute.Icirc.Igrave.Iuml.LT.Ntilde.Oacute.Ocirc.Ograve.Oslash.Otilde.Ouml.QUOT.REG.THORN.Uacute.Ucirc.Ugrave.Uuml.Yacute.aacute.acirc.acute.aelig.agrave.amp.aring.atilde.auml.brvbar.ccedil.cedil.cent.copy.curren.deg.divide.eacute.ecirc.egrave.eth.euml.frac12.frac14.frac34.gt.iacute.icirc.iexcl.igrave.iquest.iuml.laquo.lt.macr.micro.middot.nbsp.not.ntilde.oacute.ocirc.ograve.ordf.ordm.oslash.otilde.ouml.para.plusmn.pound.quot.raquo.reg.sect.shy.sup1.sup2.sup3.szlig.thorn.times.uacute.ucirc.ugrave.uml.uuml.yacute.yen.yuml`.split(`.`),G8={nbsp:`\xA0`,iexcl:`¡`,cent:`¢`,pound:`£`,curren:`¤`,yen:`¥`,brvbar:`¦`,sect:`§`,uml:`¨`,copy:`©`,ordf:`ª`,laquo:`«`,not:`¬`,shy:`­`,reg:`®`,macr:`¯`,deg:`°`,plusmn:`±`,sup2:`²`,sup3:`³`,acute:`´`,micro:`µ`,para:`¶`,middot:`·`,cedil:`¸`,sup1:`¹`,ordm:`º`,raquo:`»`,frac14:`¼`,frac12:`½`,frac34:`¾`,iquest:`¿`,Agrave:`À`,Aacute:`Á`,Acirc:`Â`,Atilde:`Ã`,Auml:`Ä`,Aring:`Å`,AElig:`Æ`,Ccedil:`Ç`,Egrave:`È`,Eacute:`É`,Ecirc:`Ê`,Euml:`Ë`,Igrave:`Ì`,Iacute:`Í`,Icirc:`Î`,Iuml:`Ï`,ETH:`Ð`,Ntilde:`Ñ`,Ograve:`Ò`,Oacute:`Ó`,Ocirc:`Ô`,Otilde:`Õ`,Ouml:`Ö`,times:`×`,Oslash:`Ø`,Ugrave:`Ù`,Uacute:`Ú`,Ucirc:`Û`,Uuml:`Ü`,Yacute:`Ý`,THORN:`Þ`,szlig:`ß`,agrave:`à`,aacute:`á`,acirc:`â`,atilde:`ã`,auml:`ä`,aring:`å`,aelig:`æ`,ccedil:`ç`,egrave:`è`,eacute:`é`,ecirc:`ê`,euml:`ë`,igrave:`ì`,iacute:`í`,icirc:`î`,iuml:`ï`,eth:`ð`,ntilde:`ñ`,ograve:`ò`,oacute:`ó`,ocirc:`ô`,otilde:`õ`,ouml:`ö`,divide:`÷`,oslash:`ø`,ugrave:`ù`,uacute:`ú`,ucirc:`û`,uuml:`ü`,yacute:`ý`,thorn:`þ`,yuml:`ÿ`,fnof:`ƒ`,Alpha:`Α`,Beta:`Β`,Gamma:`Γ`,Delta:`Δ`,Epsilon:`Ε`,Zeta:`Ζ`,Eta:`Η`,Theta:`Θ`,Iota:`Ι`,Kappa:`Κ`,Lambda:`Λ`,Mu:`Μ`,Nu:`Ν`,Xi:`Ξ`,Omicron:`Ο`,Pi:`Π`,Rho:`Ρ`,Sigma:`Σ`,Tau:`Τ`,Upsilon:`Υ`,Phi:`Φ`,Chi:`Χ`,Psi:`Ψ`,Omega:`Ω`,alpha:`α`,beta:`β`,gamma:`γ`,delta:`δ`,epsilon:`ε`,zeta:`ζ`,eta:`η`,theta:`θ`,iota:`ι`,kappa:`κ`,lambda:`λ`,mu:`μ`,nu:`ν`,xi:`ξ`,omicron:`ο`,pi:`π`,rho:`ρ`,sigmaf:`ς`,sigma:`σ`,tau:`τ`,upsilon:`υ`,phi:`φ`,chi:`χ`,psi:`ψ`,omega:`ω`,thetasym:`ϑ`,upsih:`ϒ`,piv:`ϖ`,bull:`•`,hellip:`…`,prime:`′`,Prime:`″`,oline:`‾`,frasl:`⁄`,weierp:`℘`,image:`ℑ`,real:`ℜ`,trade:`™`,alefsym:`ℵ`,larr:`←`,uarr:`↑`,rarr:`→`,darr:`↓`,harr:`↔`,crarr:`↵`,lArr:`⇐`,uArr:`⇑`,rArr:`⇒`,dArr:`⇓`,hArr:`⇔`,forall:`∀`,part:`∂`,exist:`∃`,empty:`∅`,nabla:`∇`,isin:`∈`,notin:`∉`,ni:`∋`,prod:`∏`,sum:`∑`,minus:`−`,lowast:`∗`,radic:`√`,prop:`∝`,infin:`∞`,ang:`∠`,and:`∧`,or:`∨`,cap:`∩`,cup:`∪`,int:`∫`,there4:`∴`,sim:`∼`,cong:`≅`,asymp:`≈`,ne:`≠`,equiv:`≡`,le:`≤`,ge:`≥`,sub:`⊂`,sup:`⊃`,nsub:`⊄`,sube:`⊆`,supe:`⊇`,oplus:`⊕`,otimes:`⊗`,perp:`⊥`,sdot:`⋅`,lceil:`⌈`,rceil:`⌉`,lfloor:`⌊`,rfloor:`⌋`,lang:`〈`,rang:`〉`,loz:`◊`,spades:`♠`,clubs:`♣`,hearts:`♥`,diams:`♦`,quot:`"`,amp:`&`,lt:`<`,gt:`>`,OElig:`Œ`,oelig:`œ`,Scaron:`Š`,scaron:`š`,Yuml:`Ÿ`,circ:`ˆ`,tilde:`˜`,ensp:` `,emsp:` `,thinsp:` `,zwnj:`‌`,zwj:`‍`,lrm:`‎`,rlm:`‏`,ndash:`–`,mdash:`—`,lsquo:`‘`,rsquo:`’`,sbquo:`‚`,ldquo:`“`,rdquo:`”`,bdquo:`„`,dagger:`†`,Dagger:`‡`,permil:`‰`,lsaquo:`‹`,rsaquo:`›`,euro:`€`},jpe=[`cent`,`copy`,`divide`,`gt`,`lt`,`not`,`para`,`times`],K8={}.hasOwnProperty,q8={},J8;for(J8 in G8)K8.call(G8,J8)&&(q8[G8[J8]]=J8);var Mpe=/[^\dA-Za-z]/;function Npe(e,t,n,r){let i=String.fromCharCode(e);if(K8.call(q8,i)){let e=q8[i],a=`&`+e;return n&&Ape.includes(e)&&!jpe.includes(e)&&(!r||t&&t!==61&&Mpe.test(String.fromCharCode(t)))?a:a+`;`}return``}function Ppe(e,t,n){let r=Dpe(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=Npe(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){let i=kpe(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function Y8(e,t){return Cpe(e,Object.assign({format:Ppe},t))}var Fpe=/^>|^->|<!--|-->|--!>|<!-$/g,Ipe=[`>`],Lpe=[`<`,`>`];function Rpe(e,t,n,r){return r.settings.bogusComments?`<?`+Y8(e.value,Object.assign({},r.settings.characterReferences,{subset:Ipe}))+`>`:`<!--`+e.value.replace(Fpe,i)+`-->`;function i(e){return Y8(e,Object.assign({},r.settings.characterReferences,{subset:Lpe}))}}function zpe(e,t,n,r){return`<!`+(r.settings.upperDoctype?`DOCTYPE`:`doctype`)+(r.settings.tightDoctype?``:` `)+`html>`}function X8(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function Bpe(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}function Vpe(e){return e.join(` `).trim()}var Hpe=/[ \t\n\f\r]/g;function Z8(e){return typeof e==`object`?e.type===`text`&&Q8(e.value):Q8(e)}function Q8(e){return e.replace(Hpe,``)===``}var $8=t5(1),e5=t5(-1),Upe=[];function t5(e){return t;function t(t,n,r){let i=t?t.children:Upe,a=(n||0)+e,o=i[a];if(!r)for(;o&&Z8(o);)a+=e,o=i[a];return o}}var Wpe={}.hasOwnProperty;function n5(e){return t;function t(t,n,r){return Wpe.call(e,t.tagName)&&e[t.tagName](t,n,r)}}var r5=n5({body:Kpe,caption:i5,colgroup:i5,dd:Xpe,dt:Ype,head:i5,html:Gpe,li:Jpe,optgroup:Zpe,option:Qpe,p:qpe,rp:a5,rt:a5,tbody:eme,td:o5,tfoot:tme,th:o5,thead:$pe,tr:nme});function i5(e,t,n){let r=$8(n,t,!0);return!r||r.type!==`comment`&&!(r.type===`text`&&Z8(r.value.charAt(0)))}function Gpe(e,t,n){let r=$8(n,t);return!r||r.type!==`comment`}function Kpe(e,t,n){let r=$8(n,t);return!r||r.type!==`comment`}function qpe(e,t,n){let r=$8(n,t);return r?r.type===`element`&&(r.tagName===`address`||r.tagName===`article`||r.tagName===`aside`||r.tagName===`blockquote`||r.tagName===`details`||r.tagName===`div`||r.tagName===`dl`||r.tagName===`fieldset`||r.tagName===`figcaption`||r.tagName===`figure`||r.tagName===`footer`||r.tagName===`form`||r.tagName===`h1`||r.tagName===`h2`||r.tagName===`h3`||r.tagName===`h4`||r.tagName===`h5`||r.tagName===`h6`||r.tagName===`header`||r.tagName===`hgroup`||r.tagName===`hr`||r.tagName===`main`||r.tagName===`menu`||r.tagName===`nav`||r.tagName===`ol`||r.tagName===`p`||r.tagName===`pre`||r.tagName===`section`||r.tagName===`table`||r.tagName===`ul`):!n||n.type!==`element`||n.tagName!==`a`&&n.tagName!==`audio`&&n.tagName!==`del`&&n.tagName!==`ins`&&n.tagName!==`map`&&n.tagName!==`noscript`&&n.tagName!==`video`}function Jpe(e,t,n){let r=$8(n,t);return!r||r.type===`element`&&r.tagName===`li`}function Ype(e,t,n){let r=$8(n,t);return!!(r&&r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`))}function Xpe(e,t,n){let r=$8(n,t);return!r||r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`)}function a5(e,t,n){let r=$8(n,t);return!r||r.type===`element`&&(r.tagName===`rp`||r.tagName===`rt`)}function Zpe(e,t,n){let r=$8(n,t);return!r||r.type===`element`&&r.tagName===`optgroup`}function Qpe(e,t,n){let r=$8(n,t);return!r||r.type===`element`&&(r.tagName===`option`||r.tagName===`optgroup`)}function $pe(e,t,n){let r=$8(n,t);return!!(r&&r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`))}function eme(e,t,n){let r=$8(n,t);return!r||r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`)}function tme(e,t,n){return!$8(n,t)}function nme(e,t,n){let r=$8(n,t);return!r||r.type===`element`&&r.tagName===`tr`}function o5(e,t,n){let r=$8(n,t);return!r||r.type===`element`&&(r.tagName===`td`||r.tagName===`th`)}var rme=n5({body:ome,colgroup:sme,head:ame,html:ime,tbody:cme});function ime(e){let t=$8(e,-1);return!t||t.type!==`comment`}function ame(e){let t=new Set;for(let n of e.children)if(n.type===`element`&&(n.tagName===`base`||n.tagName===`title`)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||n.type===`element`}function ome(e){let t=$8(e,-1,!0);return!t||t.type!==`comment`&&!(t.type===`text`&&Z8(t.value.charAt(0)))&&(t.type!==`element`||t.tagName!==`meta`&&t.tagName!==`link`&&t.tagName!==`script`&&t.tagName!==`style`&&t.tagName!==`template`)}function sme(e,t,n){let r=e5(n,t),i=$8(e,-1,!0);return n&&r&&r.type===`element`&&r.tagName===`colgroup`&&r5(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`col`)}function cme(e,t,n){let r=e5(n,t),i=$8(e,-1);return n&&r&&r.type===`element`&&(r.tagName===`thead`||r.tagName===`tbody`)&&r5(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`tr`)}var s5={name:[[`
3893
3893
  \f\r &/=>`.split(``),`
3894
3894
  \f\r "&'/=>\``.split(``)],[`\0
3895
3895
  \f\r "&'/<=>`.split(``),`\0
@@ -3898,7 +3898,7 @@ button.jse-context-menu-button.svelte-1y5l9l1 svg {
3898
3898
  \f\r "&'<=>\``.split(``)],[`\0
3899
3899
  \f\r "&'<=>\``.split(``),`\0
3900
3900
  \f\r "&'<=>\``.split(``)]],single:[[`&'`.split(``),`"&'\``.split(``)],[`\0&'`.split(``),`\0"&'\``.split(``)]],double:[[`"&`.split(``),`"&'\``.split(``)],[`\0"&`.split(``),`\0"&'\``.split(``)]]};function lme(e,t,n,r){let i=r.schema,a=i.space!==`svg`&&r.settings.omitOptionalTags,o=i.space===`svg`?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),s=[],c;i.space===`html`&&e.tagName===`svg`&&(r.schema=H8);let l=ume(r,e.properties),u=r.all(i.space===`html`&&e.tagName===`template`?e.content:e);return r.schema=i,u&&(o=!1),(l||!a||!rme(e,t,n))&&(s.push(`<`,e.tagName,l?` `+l:``),o&&(i.space===`svg`||r.settings.closeSelfClosing)&&(c=l.charAt(l.length-1),(!r.settings.tightSelfClosing||c===`/`||c&&c!==`"`&&c!==`'`)&&s.push(` `),s.push(`/`)),s.push(`>`)),s.push(u),!o&&(!a||!r5(e,t,n))&&s.push(`</`+e.tagName+`>`),s.join(``)}function ume(e,t){let n=[],r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){let r=dme(e,i,t[i]);r&&n.push(r)}}for(;++r<n.length;){let t=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&t!==`"`&&t!==`'`&&(n[r]+=` `)}return n.join(``)}function dme(e,t,n){let r=mpe(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space===`html`?0:1,a=+!e.settings.allowDangerousCharacters,o=e.quote,s;if(r.overloadedBoolean&&(n===r.attribute||n===``)?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!=`string`||n===r.attribute||n===``)&&(n=!!n),n==null||n===!1||typeof n==`number`&&Number.isNaN(n))return``;let c=Y8(r.attribute,Object.assign({},e.settings.characterReferences,{subset:s5.name[i][a]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?Bpe:Vpe)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?c:(e.settings.preferUnquoted&&(s=Y8(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:s5.unquoted[i][a]}))),s!==n&&(e.settings.quoteSmart&&X8(n,o)>X8(n,e.alternative)&&(o=e.alternative),s=o+Y8(n,Object.assign({},e.settings.characterReferences,{subset:(o===`'`?s5.single:s5.double)[i][a],attribute:!0}))+o),c+(s&&`=`+s))}var fme=[`<`,`&`];function c5(e,t,n,r){return n&&n.type===`element`&&(n.tagName===`script`||n.tagName===`style`)?e.value:Y8(e.value,Object.assign({},r.settings.characterReferences,{subset:fme}))}function pme(e,t,n,r){return r.settings.allowDangerousHtml?e.value:c5(e,t,n,r)}function mme(e,t,n,r){return r.all(e)}var hme=vpe(`type`,{invalid:gme,unknown:_me,handlers:{comment:Rpe,doctype:zpe,element:lme,raw:pme,root:mme,text:c5}});function gme(e){throw Error("Expected node, not `"+e+"`")}function _me(e){throw Error("Cannot compile unknown node `"+e.type+"`")}var vme={},yme={},bme=[];function xme(e,t){let n=t||vme,r=n.quote||`"`,i=r===`"`?`'`:`"`;if(r!==`"`&&r!==`'`)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Sme,all:Cme,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||cpe,characterReferences:n.characterReferences||yme,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space===`svg`?H8:_pe,quote:r,alternative:i}.one(Array.isArray(e)?{type:`root`,children:e}:e,void 0,void 0)}function Sme(e,t,n){return hme(e,t,n,this)}function Cme(e){let t=[],n=e&&e.children||bme,r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join(``)}var l5=/\s+/g;function u5(e,t){var n;if(!t)return e;e.properties||(e.properties={}),(n=e.properties).class||(n.class=[]),typeof e.properties.class==`string`&&(e.properties.class=e.properties.class.split(l5)),Array.isArray(e.properties.class)||(e.properties.class=[]);let r=Array.isArray(t)?t:t.split(l5);for(let t of r)t&&!e.properties.class.includes(t)&&e.properties.class.push(t);return e}function wme(e){let t=n8(e,!0).map(([e])=>e);function n(n){if(n===e.length)return{line:t.length-1,character:t.at(-1).length};let r=n,i=0;for(let e of t){if(r<e.length)break;r-=e.length,i++}return{line:i,character:r}}function r(e,n){let r=0;for(let n=0;n<e;n++)r+=t[n].length;return r+=n,r}return{lines:t,indexToPos:n,posToIndex:r}}var Tme=[`color`,`background-color`];function Eme(e,t){let n=0,r=[];for(let i of t)i>n&&r.push({...e,content:e.content.slice(n,i),offset:e.offset+n}),n=i;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function Dme(e,t){let n=0,r=e.length;for(;n<r;){let i=n+(r-n>>1);e[i]<=t?n=i+1:r=i}return n}function Ome(e,t){let n=[...t instanceof Set?t:new Set(t)].sort((e,t)=>e-t);return n.length?e.map(e=>e.flatMap(e=>{let t=e.offset+e.content.length,r=Dme(n,e.offset),i=r;for(;i<n.length&&n[i]<t;)i++;if(r===i)return e;let a=n.slice(r,i);for(let t=0;t<a.length;t++)a[t]-=e.offset;return Eme(e,a)})):e}function kme(e,t,n,r,i=`css-vars`){let a={content:e.content,explanation:e.explanation,offset:e.offset},o=t.map(t=>d5(e.variants[t])),s=new Set(o.flatMap(e=>Object.keys(e))),c={},l=(e,r)=>{let i=r===`color`?``:r===`background-color`?`-bg`:`-${r}`;return n+t[e]+(r===`color`?``:i)};return o.forEach((e,n)=>{for(let a of s){let s=e[a]||`inherit`;if(n===0&&r&&Tme.includes(a)){if(r===`light-dark()`&&o.length>1){let e=t.findIndex(e=>e===`light`),r=t.findIndex(e=>e===`dark`);if(e===-1||r===-1)throw new t6('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');let u=o[e][a]||`inherit`,d=o[r][a]||`inherit`;c[a]=`light-dark(${u}, ${d})`,i===`css-vars`&&(c[l(n,a)]=s)}else c[a]=s}else i===`css-vars`&&(c[l(n,a)]=s)}}),a.htmlStyle=c,a}function d5(e){let t={};if(e.color&&(t.color=e.color),e.bgColor&&(t[`background-color`]=e.bgColor),e.fontStyle){e.fontStyle&_6.Italic&&(t[`font-style`]=`italic`),e.fontStyle&_6.Bold&&(t[`font-weight`]=`bold`);let n=[];e.fontStyle&_6.Underline&&n.push(`underline`),e.fontStyle&_6.Strikethrough&&n.push(`line-through`),n.length&&(t[`text-decoration`]=n.join(` `))}return t}function f5(e){return typeof e==`string`?e:Object.entries(e).map(([e,t])=>`${e}:${t}`).join(`;`)}function Ame(){let e=new WeakMap;function t(t){if(!e.has(t.meta)){let r=wme(t.source);function n(e){if(typeof e==`number`){if(e<0||e>t.source.length)throw new t6(`Invalid decoration offset: ${e}. Code length: ${t.source.length}`);return{...r.indexToPos(e),offset:e}}{let t=r.lines[e.line];if(t===void 0)throw new t6(`Invalid decoration position ${JSON.stringify(e)}. Lines length: ${r.lines.length}`);let n=e.character;if(n<0&&(n=t.length+n),n<0||n>t.length)throw new t6(`Invalid decoration position ${JSON.stringify(e)}. Line ${e.line} length: ${t.length}`);return{...e,character:n,offset:r.posToIndex(e.line,n)}}}let i=(t.options.decorations||[]).map(e=>({...e,start:n(e.start),end:n(e.end)}));jme(i),e.set(t.meta,{decorations:i,converter:r,source:t.source})}return e.get(t.meta)}return{name:`shiki:decorations`,tokens(e){var n;if((n=this.options.decorations)!=null&&n.length)return Ome(e,t(this).decorations.flatMap(e=>[e.start.offset,e.end.offset]))},code(e){var n;if(!((n=this.options.decorations)!=null&&n.length))return;let r=t(this),i=[...e.children].filter(e=>e.type===`element`&&e.tagName===`span`);if(i.length!==r.converter.lines.length)throw new t6(`Number of lines in code element (${i.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function a(e,t,n,r){let a=i[e],o=``,c=-1,l=-1;if(t===0&&(c=0),n===0&&(l=0),n===1/0&&(l=a.children.length),c===-1||l===-1)for(let e=0;e<a.children.length;e++)o+=p5(a.children[e]),c===-1&&o.length===t&&(c=e+1),l===-1&&o.length===n&&(l=e+1);if(c===-1)throw new t6(`Failed to find start index for decoration ${JSON.stringify(r.start)}`);if(l===-1)throw new t6(`Failed to find end index for decoration ${JSON.stringify(r.end)}`);let u=a.children.slice(c,l);if(!r.alwaysWrap&&u.length===a.children.length)s(a,r,`line`);else if(!r.alwaysWrap&&u.length===1&&u[0].type===`element`)s(u[0],r,`token`);else{let e={type:`element`,tagName:`span`,properties:{},children:u};s(e,r,`wrapper`),a.children.splice(c,u.length,e)}}function o(e,t){i[e]=s(i[e],t,`line`)}function s(e,t,n){var r;let i=t.properties||{},a=t.transform||(e=>e);return e.tagName=t.tagName||`span`,e.properties={...e.properties,...i,class:e.properties.class},(r=t.properties)!=null&&r.class&&u5(e,t.properties.class),e=a(e,n)||e,e}let c=[],l=r.decorations.sort((e,t)=>t.start.offset-e.start.offset||e.end.offset-t.end.offset);for(let e of l){let{start:t,end:n}=e;if(t.line===n.line)a(t.line,t.character,n.character,e);else if(t.line<n.line){a(t.line,t.character,1/0,e);for(let r=t.line+1;r<n.line;r++)c.unshift(()=>o(r,e));a(n.line,0,n.character,e)}}c.forEach(e=>e())}}}function jme(e){for(let t=0;t<e.length;t++){let n=e[t];if(n.start.offset>n.end.offset)throw new t6(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){let t=e[r],i=n.start.offset<=t.start.offset&&t.start.offset<n.end.offset,a=n.start.offset<t.end.offset&&t.end.offset<=n.end.offset,o=t.start.offset<=n.start.offset&&n.start.offset<t.end.offset,s=t.start.offset<n.end.offset&&n.end.offset<=t.end.offset;if(i||a||o||s){if(i&&a||o&&s||o&&n.start.offset===n.end.offset||a&&t.start.offset===t.end.offset)continue;throw new t6(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(t.start)} intersect.`)}}}}function p5(e){return e.type===`text`?e.value:e.type===`element`?e.children.map(p5).join(``):``}var Mme=[Ame()];function m5(e){let t=Nme(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...Mme]}function Nme(e){let t=[],n=[],r=[];for(let i of e)switch(i.enforce){case`pre`:t.push(i);break;case`post`:n.push(i);break;default:r.push(i)}return{pre:t,post:n,normal:r}}var h5=[`black`,`red`,`green`,`yellow`,`blue`,`magenta`,`cyan`,`white`,`brightBlack`,`brightRed`,`brightGreen`,`brightYellow`,`brightBlue`,`brightMagenta`,`brightCyan`,`brightWhite`],g5={1:`bold`,2:`dim`,3:`italic`,4:`underline`,7:`reverse`,8:`hidden`,9:`strikethrough`};function Pme(e,t){let n=e.indexOf(`\x1B`,t);if(n!==-1&&e[n+1]===`[`){let t=e.indexOf(`m`,n);if(t!==-1)return{sequence:e.substring(n+2,t).split(`;`),startPosition:n,position:t+1}}return{position:e.length}}function _5(e){let t=e.shift();if(t===`2`){let t=e.splice(0,3).map(e=>Number.parseInt(e));return t.length!==3||t.some(e=>Number.isNaN(e))?void 0:{type:`rgb`,rgb:t}}if(t===`5`){let t=e.shift();if(t)return{type:`table`,index:Number(t)}}}function Fme(e){let t=[];for(;e.length>0;){let n=e.shift();if(!n)continue;let r=Number.parseInt(n);if(!Number.isNaN(r)){if(r===0)t.push({type:`resetAll`});else if(r<=9)g5[r]&&t.push({type:`setDecoration`,value:g5[r]});else if(r<=29){let e=g5[r-20];e&&(t.push({type:`resetDecoration`,value:e}),e===`dim`&&t.push({type:`resetDecoration`,value:`bold`}))}else if(r<=37)t.push({type:`setForegroundColor`,value:{type:`named`,name:h5[r-30]}});else if(r===38){let n=_5(e);n&&t.push({type:`setForegroundColor`,value:n})}else if(r===39)t.push({type:`resetForegroundColor`});else if(r<=47)t.push({type:`setBackgroundColor`,value:{type:`named`,name:h5[r-40]}});else if(r===48){let n=_5(e);n&&t.push({type:`setBackgroundColor`,value:n})}else r===49?t.push({type:`resetBackgroundColor`}):r===53?t.push({type:`setDecoration`,value:`overline`}):r===55?t.push({type:`resetDecoration`,value:`overline`}):r>=90&&r<=97?t.push({type:`setForegroundColor`,value:{type:`named`,name:h5[r-90+8]}}):r>=100&&r<=107&&t.push({type:`setBackgroundColor`,value:{type:`named`,name:h5[r-100+8]}})}}return t}function Ime(){let e=null,t=null,n=new Set;return{parse(r){let i=[],a=0;do{let o=Pme(r,a),s=o.sequence?r.substring(a,o.startPosition):r.substring(a);if(s.length>0&&i.push({value:s,foreground:e,background:t,decorations:new Set(n)}),o.sequence){let r=Fme(o.sequence);for(let i of r)i.type===`resetAll`?(e=null,t=null,n.clear()):i.type===`resetForegroundColor`?e=null:i.type===`resetBackgroundColor`?t=null:i.type===`resetDecoration`&&n.delete(i.value);for(let i of r)i.type===`setForegroundColor`?e=i.value:i.type===`setBackgroundColor`?t=i.value:i.type===`setDecoration`&&n.add(i.value)}a=o.position}while(a<r.length);return i}}}var Lme={black:`#000000`,red:`#bb0000`,green:`#00bb00`,yellow:`#bbbb00`,blue:`#0000bb`,magenta:`#ff00ff`,cyan:`#00bbbb`,white:`#eeeeee`,brightBlack:`#555555`,brightRed:`#ff5555`,brightGreen:`#00ff00`,brightYellow:`#ffff55`,brightBlue:`#5555ff`,brightMagenta:`#ff55ff`,brightCyan:`#55ffff`,brightWhite:`#ffffff`};function Rme(e=Lme){function t(t){return e[t]}function n(e){return`#${e.map(e=>Math.max(0,Math.min(e,255)).toString(16).padStart(2,`0`)).join(``)}`}let r;function i(){if(r)return r;r=[];for(let e=0;e<h5.length;e++)r.push(t(h5[e]));let e=[0,95,135,175,215,255];for(let t=0;t<6;t++)for(let i=0;i<6;i++)for(let a=0;a<6;a++)r.push(n([e[t],e[i],e[a]]));let i=8;for(let e=0;e<24;e++,i+=10)r.push(n([i,i,i]));return r}function a(e){return i()[e]}function o(e){switch(e.type){case`named`:return t(e.name);case`rgb`:return n(e.rgb);case`table`:return a(e.index)}}return{value:o}}var zme=/#([0-9a-f]{3,8})/i,Bme=/var\((--[\w-]+-ansi-[\w-]+)\)/,Vme={black:`#000000`,red:`#cd3131`,green:`#0DBC79`,yellow:`#E5E510`,blue:`#2472C8`,magenta:`#BC3FBC`,cyan:`#11A8CD`,white:`#E5E5E5`,brightBlack:`#666666`,brightRed:`#F14C4C`,brightGreen:`#23D18B`,brightYellow:`#F5F543`,brightBlue:`#3B8EEA`,brightMagenta:`#D670D6`,brightCyan:`#29B8DB`,brightWhite:`#FFFFFF`};function Hme(e,t,n){let r=Z6(e,n),i=n8(t),a=Rme(Object.fromEntries(h5.map(t=>{var n;let r=`terminal.ansi${t[0].toUpperCase()}${t.substring(1)}`;return[t,((n=e.colors)==null?void 0:n[r])||Vme[t]]}))),o=Ime();return i.map(t=>o.parse(t[0]).map(n=>{let i,o;n.decorations.has(`reverse`)?(i=n.background?a.value(n.background):e.bg,o=n.foreground?a.value(n.foreground):e.fg):(i=n.foreground?a.value(n.foreground):e.fg,o=n.background?a.value(n.background):void 0),i=Q6(i,r),o=Q6(o,r),n.decorations.has(`dim`)&&(i=Ume(i));let s=_6.None;return n.decorations.has(`bold`)&&(s|=_6.Bold),n.decorations.has(`italic`)&&(s|=_6.Italic),n.decorations.has(`underline`)&&(s|=_6.Underline),n.decorations.has(`strikethrough`)&&(s|=_6.Strikethrough),{content:n.value,offset:t[1],color:i,bgColor:o,fontStyle:s}}))}function Ume(e){let t=e.match(zme);if(t){let e=t[1];if(e.length===8){let t=Math.round(Number.parseInt(e.slice(6,8),16)/2).toString(16).padStart(2,`0`);return`#${e.slice(0,6)}${t}`}if(e.length===6)return`#${e}80`;if(e.length===4){let t=e[0],n=e[1],r=e[2],i=e[3];return`#${t}${t}${n}${n}${r}${r}${Math.round(Number.parseInt(`${i}${i}`,16)/2).toString(16).padStart(2,`0`)}`}if(e.length===3){let t=e[0],n=e[1],r=e[2];return`#${t}${t}${n}${n}${r}${r}80`}}let n=e.match(Bme);return n?`var(${n[1]}-dim)`:e}function v5(e,t,n={}){let r=e.resolveLangAlias(n.lang||`text`),{theme:i=e.getLoadedThemes()[0]}=n;if(!e8(r)&&!t8(i)&&r===`ansi`){let{theme:r}=e.setTheme(i);return Hme(r,t,n)}return h8(e,t,n)}function y5(e,t,n){let r,i,a,o,s,c;if(`themes`in n){let{defaultColor:l=`light`,cssVariablePrefix:u=`--shiki-`,colorsRendering:d=`css-vars`}=n,f=Object.entries(n.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})).sort((e,t)=>e.color===l?-1:+(t.color===l));if(f.length===0)throw new t6("`themes` option must not be empty");let p=v8(e,t,n,v5);if(c=p8(p),l&&l!==`light-dark()`&&!f.some(e=>e.color===l))throw new t6(`\`themes\` option must contain the defaultColor key \`${l}\``);let m=f.map(t=>e.getTheme(t.theme)),h=f.map(e=>e.color);a=p.map(e=>e.map(e=>kme(e,h,u,l,d))),c&&f8(a,c);let g=f.map(e=>Z6(e.theme,n));i=b5(f,m,g,u,l,`fg`,d),r=b5(f,m,g,u,l,`bg`,d),o=`shiki-themes ${m.map(e=>e.name).join(` `)}`,s=l?void 0:[i,r].join(`;`)}else if(`theme`in n){let s=Z6(n.theme,n);a=v5(e,t,n);let l=e.getTheme(n.theme);r=Q6(l.bg,s),i=Q6(l.fg,s),o=l.name,c=p8(a)}else throw new t6("Invalid options, either `theme` or `themes` must be provided");return{tokens:a,fg:i,bg:r,themeName:o,rootStyle:s,grammarState:c}}function b5(e,t,n,r,i,a,o){return e.map((s,c)=>{let l=Q6(t[c][a],n[c])||`inherit`,u=`${r+s.color}${a===`bg`?`-bg`:``}:${l}`;if(c===0&&i){if(i===`light-dark()`&&e.length>1){let r=e.findIndex(e=>e.color===`light`),i=e.findIndex(e=>e.color===`dark`);if(r===-1||i===-1)throw new t6('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${Q6(t[r][a],n[r])||`inherit`}, ${Q6(t[i][a],n[i])||`inherit`});${u}`}return l}return o===`css-vars`?u:null}).filter(e=>!!e).join(`;`)}var x5=/^\s+$/,Wme=/^(\s*)(.*?)(\s*)$/;function S5(e,t,n,r={meta:{},options:n,codeToHast:(t,n)=>S5(e,t,n),codeToTokens:(t,n)=>y5(e,t,n)}){var i,a,o;let s=t;for(let e of m5(n))s=((i=e.preprocess)==null?void 0:i.call(r,s,n))||s;let{tokens:c,fg:l,bg:u,themeName:d,rootStyle:f,grammarState:p}=y5(e,s,n),{mergeWhitespaces:m=!0,mergeSameStyleTokens:h=!1}=n;m===!0?c=Kme(c):m===`never`&&(c=qme(c)),h&&(c=Jme(c));let g={...r,get source(){return s}};for(let e of m5(n))c=((a=e.tokens)==null?void 0:a.call(g,c))||c;return Gme(c,{...n,fg:l,bg:u,themeName:d,rootStyle:n.rootStyle===!1?!1:(o=n.rootStyle)==null?f:o},g,p)}function Gme(e,t,n,r=p8(e)){var i;let a=m5(t),o=[],s={type:`root`,children:[]},{structure:c=`classic`,tabindex:l=`0`}=t,u={class:`shiki ${t.themeName||``}`};t.rootStyle!==!1&&(u.style=t.rootStyle==null?`background-color:${t.bg};color:${t.fg}`:t.rootStyle),l!==!1&&l!=null&&(u.tabindex=l.toString());for(let[e,n]of Object.entries(t.meta||{}))e.startsWith(`_`)||(u[e]=n);let d={type:`element`,tagName:`pre`,properties:u,children:[],data:t.data},f={type:`element`,tagName:`code`,properties:{},children:o},p=[],m={...n,structure:c,addClassToHast:u5,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return s},get pre(){return d},get code(){return f},get lines(){return p}};if(e.forEach((e,t)=>{t&&(c===`inline`?s.children.push({type:`element`,tagName:`br`,properties:{},children:[]}):c===`classic`&&o.push({type:`text`,value:`
3901
- `}));let n={type:`element`,tagName:`span`,properties:{class:`line`},children:[]},r=0;for(let o of e){var i;let e={type:`element`,tagName:`span`,properties:{...o.htmlAttrs},children:[{type:`text`,value:o.content}]},l=f5(o.htmlStyle||d5(o));l&&(e.properties.style=l);for(let s of a)e=(s==null||(i=s.span)==null?void 0:i.call(m,e,t+1,r,n,o))||e;c===`inline`?s.children.push(e):c===`classic`&&n.children.push(e),r+=o.content.length}if(c===`classic`){var l;for(let e of a)n=(e==null||(l=e.line)==null?void 0:l.call(m,n,t+1))||n;p.push(n),o.push(n)}else c===`inline`&&p.push(n)}),c===`classic`){var h,g;for(let e of a)f=(e==null||(h=e.code)==null?void 0:h.call(m,f))||f;d.children.push(f);for(let e of a)d=(e==null||(g=e.pre)==null?void 0:g.call(m,d))||d;s.children.push(d)}else if(c===`inline`){var _;let e=[],t={type:`element`,tagName:`span`,properties:{class:`line`},children:[]};for(let n of s.children)n.type===`element`&&n.tagName===`br`?(e.push(t),t={type:`element`,tagName:`span`,properties:{class:`line`},children:[]}):(n.type===`element`||n.type===`text`)&&t.children.push(n);e.push(t);let n={type:`element`,tagName:`code`,properties:{},children:e};for(let e of a)n=(e==null||(_=e.code)==null?void 0:_.call(m,n))||n;s.children=[];for(let e=0;e<n.children.length;e++){e>0&&s.children.push({type:`element`,tagName:`br`,properties:{},children:[]});let t=n.children[e];t.type===`element`&&s.children.push(...t.children)}}let v=s;for(let e of a)v=(e==null||(i=e.root)==null?void 0:i.call(m,v))||v;return r&&f8(v,r),v}function Kme(e){return e.map(e=>{let t=[],n=``,r;return e.forEach((i,a)=>{let o=!(i.fontStyle&&(i.fontStyle&_6.Underline||i.fontStyle&_6.Strikethrough));o&&x5.test(i.content)&&e[a+1]?(r===void 0&&(r=i.offset),n+=i.content):n?(o?t.push({...i,offset:r,content:n+i.content}):t.push({content:n,offset:r},i),r=void 0,n=``):t.push(i)}),t})}function qme(e){return e.map(e=>e.flatMap(e=>{if(x5.test(e.content))return e;let t=e.content.match(Wme);if(!t)return e;let[,n,r,i]=t;if(!n&&!i)return e;let a=[{...e,offset:e.offset+n.length,content:r}];return n&&a.unshift({content:n,offset:e.offset}),i&&a.push({content:i,offset:e.offset+n.length+r.length}),a}))}function Jme(e){return e.map(e=>{let t=[];for(let n of e){if(t.length===0){t.push({...n});continue}let e=t.at(-1),r=f5(e.htmlStyle||d5(e)),i=f5(n.htmlStyle||d5(n)),a=e.fontStyle&&(e.fontStyle&_6.Underline||e.fontStyle&_6.Strikethrough),o=n.fontStyle&&(n.fontStyle&_6.Underline||n.fontStyle&_6.Strikethrough);!a&&!o&&r===i?e.content+=n.content:t.push({...n})}return t})}var Yme=xme;function Xme(e,t,n){var r;let i={meta:{},options:n,codeToHast:(t,n)=>S5(e,t,n),codeToTokens:(t,n)=>y5(e,t,n)},a=Yme(S5(e,t,n,i));for(let e of m5(n))a=((r=e.postprocess)==null?void 0:r.call(i,a,n))||a;return a}async function Zme(e){let t=await Xfe(e);return{getLastGrammarState:(...e)=>tpe(t,...e),codeToTokensBase:(e,n)=>v5(t,e,n),codeToTokensWithThemes:(e,n)=>v8(t,e,n),codeToTokens:(e,n)=>y5(t,e,n),codeToHast:(e,n)=>S5(t,e,n),codeToHtml:(e,n)=>Xme(t,e,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}var C5=4294967295,Qme=class{constructor(t,n={}){e.M(this,`patterns`,void 0),e.M(this,`options`,void 0),e.M(this,`regexps`,void 0),this.patterns=t,this.options=n;let{forgiving:r=!1,cache:i,regexConstructor:a}=n;if(!a)throw Error("Option `regexConstructor` is not provided");this.regexps=t.map(e=>{if(typeof e!=`string`)return e;let t=i==null?void 0:i.get(e);if(t){if(t instanceof RegExp)return t;if(r)return null;throw t}try{let t=a(e);return i==null||i.set(e,t),t}catch(t){if(i==null||i.set(e,t),r)return null;throw t}})}findNextMatchSync(e,t,n){let r=typeof e==`string`?e:e.content,i=[];function a(e,t,n=0){return{index:e,captureIndices:t.indices.map(e=>e==null?{start:C5,end:C5,length:0}:{start:e[0]+n,end:e[1]+n,length:e[1]-e[0]})}}for(let e=0;e<this.regexps.length;e++){let n=this.regexps[e];if(n)try{n.lastIndex=t;let o=n.exec(r);if(!o)continue;if(o.index===t)return a(e,o,0);i.push([e,o,0])}catch(e){if(this.options.forgiving)continue;throw e}}if(i.length){let e=Math.min(...i.map(e=>e[1].index));for(let[t,n,r]of i)if(n.index===e)return a(t,n,r)}return null}};function $me(e,t){bn(e,t),t.add(e)}function w5(e){return w5=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},w5(e)}function ehe(e,t){for(;!{}.hasOwnProperty.call(e,t)&&(e=w5(e))!==null;);return e}function T5(){return T5=typeof Reflect<`u`&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=ehe(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},T5.apply(null,arguments)}function the(e,t,n,r){var i=T5(w5(1&r?e.prototype:e),t,n);return 2&r&&typeof i==`function`?function(e){return i.apply(n,e)}:i}function E5(e){if([...e].length!==1)throw Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function nhe(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}var D5=new Set([`alnum`,`alpha`,`ascii`,`blank`,`cntrl`,`digit`,`graph`,`lower`,`print`,`punct`,`space`,`upper`,`word`,`xdigit`]),O5=String.raw;function k5(e,t){if(e==null)throw Error(t==null?`Value expected`:t);return e}var A5=O5`\[\^?`,j5=`c.? | C(?:-.?)?|${O5`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${O5`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${O5`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${O5`o\{[^\}]*\}?`}|${O5`\d{1,3}`}`,M5=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,N5=new RegExp(O5`
3901
+ `}));let n={type:`element`,tagName:`span`,properties:{class:`line`},children:[]},r=0;for(let o of e){var i;let e={type:`element`,tagName:`span`,properties:{...o.htmlAttrs},children:[{type:`text`,value:o.content}]},l=f5(o.htmlStyle||d5(o));l&&(e.properties.style=l);for(let s of a)e=(s==null||(i=s.span)==null?void 0:i.call(m,e,t+1,r,n,o))||e;c===`inline`?s.children.push(e):c===`classic`&&n.children.push(e),r+=o.content.length}if(c===`classic`){var l;for(let e of a)n=(e==null||(l=e.line)==null?void 0:l.call(m,n,t+1))||n;p.push(n),o.push(n)}else c===`inline`&&p.push(n)}),c===`classic`){var h,g;for(let e of a)f=(e==null||(h=e.code)==null?void 0:h.call(m,f))||f;d.children.push(f);for(let e of a)d=(e==null||(g=e.pre)==null?void 0:g.call(m,d))||d;s.children.push(d)}else if(c===`inline`){var _;let e=[],t={type:`element`,tagName:`span`,properties:{class:`line`},children:[]};for(let n of s.children)n.type===`element`&&n.tagName===`br`?(e.push(t),t={type:`element`,tagName:`span`,properties:{class:`line`},children:[]}):(n.type===`element`||n.type===`text`)&&t.children.push(n);e.push(t);let n={type:`element`,tagName:`code`,properties:{},children:e};for(let e of a)n=(e==null||(_=e.code)==null?void 0:_.call(m,n))||n;s.children=[];for(let e=0;e<n.children.length;e++){e>0&&s.children.push({type:`element`,tagName:`br`,properties:{},children:[]});let t=n.children[e];t.type===`element`&&s.children.push(...t.children)}}let v=s;for(let e of a)v=(e==null||(i=e.root)==null?void 0:i.call(m,v))||v;return r&&f8(v,r),v}function Kme(e){return e.map(e=>{let t=[],n=``,r;return e.forEach((i,a)=>{let o=!(i.fontStyle&&(i.fontStyle&_6.Underline||i.fontStyle&_6.Strikethrough));o&&x5.test(i.content)&&e[a+1]?(r===void 0&&(r=i.offset),n+=i.content):n?(o?t.push({...i,offset:r,content:n+i.content}):t.push({content:n,offset:r},i),r=void 0,n=``):t.push(i)}),t})}function qme(e){return e.map(e=>e.flatMap(e=>{if(x5.test(e.content))return e;let t=e.content.match(Wme);if(!t)return e;let[,n,r,i]=t;if(!n&&!i)return e;let a=[{...e,offset:e.offset+n.length,content:r}];return n&&a.unshift({content:n,offset:e.offset}),i&&a.push({content:i,offset:e.offset+n.length+r.length}),a}))}function Jme(e){return e.map(e=>{let t=[];for(let n of e){if(t.length===0){t.push({...n});continue}let e=t.at(-1),r=f5(e.htmlStyle||d5(e)),i=f5(n.htmlStyle||d5(n)),a=e.fontStyle&&(e.fontStyle&_6.Underline||e.fontStyle&_6.Strikethrough),o=n.fontStyle&&(n.fontStyle&_6.Underline||n.fontStyle&_6.Strikethrough);!a&&!o&&r===i?e.content+=n.content:t.push({...n})}return t})}var Yme=xme;function Xme(e,t,n){var r;let i={meta:{},options:n,codeToHast:(t,n)=>S5(e,t,n),codeToTokens:(t,n)=>y5(e,t,n)},a=Yme(S5(e,t,n,i));for(let e of m5(n))a=((r=e.postprocess)==null?void 0:r.call(i,a,n))||a;return a}async function Zme(e){let t=await Xfe(e);return{getLastGrammarState:(...e)=>tpe(t,...e),codeToTokensBase:(e,n)=>v5(t,e,n),codeToTokensWithThemes:(e,n)=>v8(t,e,n),codeToTokens:(e,n)=>y5(t,e,n),codeToHast:(e,n)=>S5(t,e,n),codeToHtml:(e,n)=>Xme(t,e,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}var C5=4294967295,Qme=class{constructor(t,n={}){e.N(this,`patterns`,void 0),e.N(this,`options`,void 0),e.N(this,`regexps`,void 0),this.patterns=t,this.options=n;let{forgiving:r=!1,cache:i,regexConstructor:a}=n;if(!a)throw Error("Option `regexConstructor` is not provided");this.regexps=t.map(e=>{if(typeof e!=`string`)return e;let t=i==null?void 0:i.get(e);if(t){if(t instanceof RegExp)return t;if(r)return null;throw t}try{let t=a(e);return i==null||i.set(e,t),t}catch(t){if(i==null||i.set(e,t),r)return null;throw t}})}findNextMatchSync(e,t,n){let r=typeof e==`string`?e:e.content,i=[];function a(e,t,n=0){return{index:e,captureIndices:t.indices.map(e=>e==null?{start:C5,end:C5,length:0}:{start:e[0]+n,end:e[1]+n,length:e[1]-e[0]})}}for(let e=0;e<this.regexps.length;e++){let n=this.regexps[e];if(n)try{n.lastIndex=t;let o=n.exec(r);if(!o)continue;if(o.index===t)return a(e,o,0);i.push([e,o,0])}catch(e){if(this.options.forgiving)continue;throw e}}if(i.length){let e=Math.min(...i.map(e=>e[1].index));for(let[t,n,r]of i)if(n.index===e)return a(t,n,r)}return null}};function $me(e,t){bn(e,t),t.add(e)}function w5(e){return w5=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},w5(e)}function ehe(e,t){for(;!{}.hasOwnProperty.call(e,t)&&(e=w5(e))!==null;);return e}function T5(){return T5=typeof Reflect<`u`&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=ehe(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},T5.apply(null,arguments)}function the(e,t,n,r){var i=T5(w5(1&r?e.prototype:e),t,n);return 2&r&&typeof i==`function`?function(e){return i.apply(n,e)}:i}function E5(e){if([...e].length!==1)throw Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function nhe(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}var D5=new Set([`alnum`,`alpha`,`ascii`,`blank`,`cntrl`,`digit`,`graph`,`lower`,`print`,`punct`,`space`,`upper`,`word`,`xdigit`]),O5=String.raw;function k5(e,t){if(e==null)throw Error(t==null?`Value expected`:t);return e}var A5=O5`\[\^?`,j5=`c.? | C(?:-.?)?|${O5`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${O5`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${O5`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${O5`o\{[^\}]*\}?`}|${O5`\d{1,3}`}`,M5=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,N5=new RegExp(O5`
3902
3902
  \\ (?:
3903
3903
  ${j5}
3904
3904
  | [gk]<[^>]*>?
@@ -4038,5 +4038,5 @@ XID_Continue XIDC
4038
4038
  XID_Start XIDS`.split(/\s/).map(e=>[u7(e),e])),age=new Map([[`s`,B7(383)],[B7(383),`s`]]),oge=new Map([[B7(223),B7(7838)],[B7(107),B7(8490)],[B7(229),B7(8491)],[B7(969),B7(8486)]]),sge=new Map([Q7(453),Q7(456),Q7(459),Q7(498),...$7(8072,8079),...$7(8088,8095),...$7(8104,8111),Q7(8124),Q7(8140),Q7(8188)]),cge=new Map([[`alnum`,V7`[\p{Alpha}\p{Nd}]`],[`alpha`,V7`\p{Alpha}`],[`ascii`,V7`\p{ASCII}`],[`blank`,V7`[\p{Zs}\t]`],[`cntrl`,V7`\p{Cc}`],[`digit`,V7`\p{Nd}`],[`graph`,V7`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],[`lower`,V7`\p{Lower}`],[`print`,V7`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],[`punct`,V7`[\p{P}\p{S}]`],[`space`,V7`\p{space}`],[`upper`,V7`\p{Upper}`],[`word`,V7`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],[`xdigit`,V7`\p{AHex}`]]);function lge(e,t){let n=[];for(let r=e;r<=t;r++)n.push(r);return n}function Q7(e){let t=B7(e);return[t.toLowerCase(),t]}function $7(e,t){return lge(e,t).map(e=>Q7(e))}var e9=new Set([`Lower`,`Lowercase`,`Upper`,`Uppercase`,`Ll`,`Lowercase_Letter`,`Lt`,`Titlecase_Letter`,`Lu`,`Uppercase_Letter`]);function uge(e,t){let n={accuracy:`default`,asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:`ES2025`,...t};t9(e);let r={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:K7(n.bestEffortTarget,`ES2024`),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:e.flags.digitIsAscii,spaceIsAscii:e.flags.spaceIsAscii,wordIsAscii:e.flags.wordIsAscii};p7(e,dge,r);let i={dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},a={currentFlags:i,prevFlags:null,globalFlags:i,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:r.subroutineRefMap};return p7(e,fge,a),p7(e,pge,{groupsByName:a.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:a.reffedNodesByReferencer}),e._originMap=a.groupOriginByCopy,e._strategy=r.strategy,e}var dge={AbsenceFunction({node:e,parent:t,replaceWith:n}){let{body:r,kind:i}=e;if(i===`repeater`){let e=t7();e.body[0].body.push(n7({negate:!0,body:r}),a7(`Any`));let i=t7();i.body[0].body.push(r7(`greedy`,0,1/0,e)),n(p9(i,t),{traverse:!0})}else throw Error(`Unsupported absence function "(?~|"`)},Alternative:{enter({node:e,parent:t,key:n},{flagDirectivesByAlt:r}){let i=e.body.filter(e=>e.kind===`flags`);for(let e=n+1;e<t.body.length;e++){let n=t.body[e];G7(r,n,[]).push(...i)}},exit({node:e},{flagDirectivesByAlt:t}){var n;if((n=t.get(e))!=null&&n.length){let n=a9(t.get(e));if(n){let t=t7({flags:n});t.body[0].body=e.body,e.body=[p9(t,e)]}}}},Assertion({node:e,parent:t,key:n,container:r,root:i,remove:a,replaceWith:o},s){let{kind:c,negate:l}=e,{asciiWordBoundaries:u,avoidSubclass:d,supportedGNodes:f,wordIsAscii:p}=s;if(c===`text_segment_boundary`)throw Error(`Unsupported text segment boundary "\\${l?`Y`:`y`}"`);if(c===`line_end`)o(p9(n7({body:[J5({body:[Y5(`string_end`)]}),J5({body:[Q5(10)]})]}),t));else if(c===`line_start`)o(p9(u9(V7`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}),t));else if(c===`search_start`){if(f.has(e))i.flags.sticky=!0,a();else{let e=r[n-1];if(e&&yge(e))o(p9(n7({negate:!0}),t));else if(d)throw Error(V7`Uses "\G" in a way that requires a subclass`);else o(f9(Y5(`string_start`),t)),s.strategy=`clip_search`}}else if(c!==`string_end`&&c!==`string_start`){if(c===`string_end_newline`)o(p9(u9(V7`(?=\n?\z)`),t));else if(c===`word_boundary`){if(!p&&!u){let e=`(?:(?<=${Y7})(?!${Y7})|(?<!${Y7})(?=${Y7}))`,n=`(?:(?<=${Y7})(?=${Y7})|(?<!${Y7})(?!${Y7}))`;o(p9(u9(l?n:e),t))}}else throw Error(`Unexpected assertion kind "${c}"`)}},Backreference({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n==`string`&&!l9(n)&&(n=i9(n,t),e.ref=n)},CapturingGroup({node:e},{jsGroupNameMap:t,subroutineRefMap:n}){let{name:r}=e;r&&!l9(r)&&(r=i9(r,t),e.name=r),n.set(e.number,e),r&&n.set(r,e)},CharacterClassRange({node:e,parent:t,replaceWith:n}){t.kind===`intersection`&&n(p9($5({body:[e]}),t),{traverse:!0})},CharacterSet({node:e,parent:t,replaceWith:n},{accuracy:r,minTargetEs2024:i,digitIsAscii:a,spaceIsAscii:o,wordIsAscii:s}){let{kind:c,negate:l,value:u}=e;if(a&&(c===`digit`||u===`digit`)){n(f9(e7(`digit`,{negate:l}),t));return}if(o&&(c===`space`||u===`space`)){n(p9(d9(u9(rge),l),t));return}if(s&&(c===`word`||u===`word`)){n(f9(e7(`word`,{negate:l}),t));return}if(c===`any`)n(f9(a7(`Any`),t));else if(c===`digit`)n(f9(a7(`Nd`,{negate:l}),t));else if(c!==`dot`){if(c===`text_segment`){if(r===`strict`)throw Error(V7`Use of "\X" requires non-strict accuracy`);let e=`\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?`,a=V7`\p{RI}{2}|${e}(?:\u200D${e})*`;n(p9(u9(V7`(?>\r\n|${i?V7`\p{RGI_Emoji}`:a}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),t))}else if(c===`hex`)n(f9(a7(`AHex`,{negate:l}),t));else if(c===`newline`)n(p9(u9(l?`[^
4039
4039
  ]`:`(?>\r
4040
4040
  ?|[
4041
- \v\f…\u2028\u2029])`),t));else if(c===`posix`){if(!i&&(u===`graph`||u===`print`)){if(r===`strict`)throw Error(`POSIX class "${u}" requires min target ES2024 or non-strict accuracy`);let e={graph:`!-~`,print:` -~`}[u];l&&(e=`\0-${B7(e.codePointAt(0)-1)}${B7(e.codePointAt(2)+1)}-\u{10FFFF}`),n(p9(u9(`[${e}]`),t))}else n(p9(d9(u9(cge.get(u)),l),t))}else if(c===`property`)Z7.has(u7(u))||(e.key=`sc`);else if(c===`space`)n(f9(a7(`space`,{negate:l}),t));else if(c===`word`)n(p9(d9(u9(Y7),l),t));else throw Error(`Unexpected character set kind "${c}"`)}},Directive({node:e,parent:t,root:n,remove:r,replaceWith:i,removeAllPrevSiblings:a,removeAllNextSiblings:o}){let{kind:s,flags:c}=e;if(s===`flags`){if(!c.enable&&!c.disable)r();else{let e=t7({flags:c});e.body[0].body=o(),i(p9(e,t),{traverse:!0})}}else if(s===`keep`){let e=n.body[0],r=n.body.length===1&&K5(e,{type:`Group`})&&e.body[0].body.length===1?e.body[0]:n;if(t.parent!==r||r.body.length>1)throw Error(V7`Uses "\K" in a way that's unsupported`);let o=n7({behind:!0});o.body[0].body=a(),i(p9(o,t))}else throw Error(`Unexpected directive kind "${s}"`)},Flags({node:e,parent:t}){var n;if(e.posixIsAscii)throw Error(`Unsupported flag "P"`);if(e.textSegmentMode===`word`)throw Error(`Unsupported flag "y{w}"`);[`digitIsAscii`,`extended`,`posixIsAscii`,`spaceIsAscii`,`wordIsAscii`,`textSegmentMode`].forEach(t=>delete e[t]),Object.assign(e,{global:!1,hasIndices:!1,multiline:!1,sticky:(n=e.sticky)!=null&&n}),t.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:e}){if(!e.flags)return;let{enable:t,disable:n}=e.flags;t!=null&&t.extended&&delete t.extended,n!=null&&n.extended&&delete n.extended,t!=null&&t.dotAll&&n!=null&&n.dotAll&&delete t.dotAll,t!=null&&t.ignoreCase&&n!=null&&n.ignoreCase&&delete t.ignoreCase,t&&!Object.keys(t).length&&delete e.flags.enable,n&&!Object.keys(n).length&&delete e.flags.disable,!e.flags.enable&&!e.flags.disable&&delete e.flags},LookaroundAssertion({node:e},t){let{kind:n}=e;n===`lookbehind`&&(t.passedLookbehind=!0)},NamedCallout({node:e,parent:t,replaceWith:n}){let{kind:r}=e;if(r===`fail`)n(p9(n7({negate:!0}),t));else throw Error(`Unsupported named callout "(*${r.toUpperCase()}"`)},Quantifier({node:e}){if(e.body.type===`Quantifier`){let t=t7();t.body[0].body.push(e.body),e.body=p9(t,e)}},Regex:{enter({node:e},{supportedGNodes:t}){let n=[],r=!1,i=!1;for(let t of e.body)if(t.body.length===1&&t.body[0].kind===`search_start`)t.body.pop();else{let e=s9(t.body);e?(r=!0,Array.isArray(e)?n.push(...e):n.push(e)):i=!0}r&&!i&&n.forEach(e=>t.add(e))},exit(e,{accuracy:t,passedLookbehind:n,strategy:r}){if(t===`strict`&&n&&r)throw Error(V7`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n==`string`&&!l9(n)&&(n=i9(n,t),e.ref=n)}},fge={Backreference({node:e},{multiplexCapturesToLeftByRef:t,reffedNodesByReferencer:n}){let{orphan:r,ref:i}=e;r||n.set(e,[...t.get(i).map(({node:e})=>e)])},CapturingGroup:{enter({node:e,parent:t,replaceWith:n,skip:r},{groupOriginByCopy:i,groupsByName:a,multiplexCapturesToLeftByRef:o,openRefs:s,reffedNodesByReferencer:c}){var l;let u=i.get(e);if(u&&s.has(e.number)){let r=f9(r9(e.number),t);c.set(r,s.get(e.number)),n(r);return}s.set(e.number,e),o.set(e.number,[]),e.name&&G7(o,e.name,[]);let d=o.get((l=e.name)==null?e.number:l);for(let t=0;t<d.length;t++){let n=d[t];if(u===n.node||u&&u===n.origin||e===n.origin){d.splice(t,1);break}}if(o.get(e.number).push({node:e,origin:u}),e.name&&o.get(e.name).push({node:e,origin:u}),e.name){let t=G7(a,e.name,new Map),n=!1;if(u)n=!0;else for(let e of t.values())if(!e.hasDuplicateNameToRemove){n=!0;break}a.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:n})}},exit({node:e},{openRefs:t}){t.get(e.number)===e&&t.delete(e.number)}},Group:{enter({node:e},t){t.prevFlags=t.currentFlags,e.flags&&(t.currentFlags=W7(t.currentFlags,e.flags))},exit(e,t){t.currentFlags=t.prevFlags}},Subroutine({node:e,parent:t,replaceWith:n},r){let{isRecursive:i,ref:a}=e;if(i){let n=t;for(;(n=n.parent)&&(n.type!==`CapturingGroup`||n.name!==a&&n.number!==a););r.reffedNodesByReferencer.set(e,n);return}let o=r.subroutineRefMap.get(a),s=a===0,c=s?r9(0):n9(o,r.groupOriginByCopy,null),l=c;if(!s){let e=a9(gge(o,e=>e.type===`Group`&&!!e.flags)),t=e?W7(r.globalFlags,e):r.globalFlags;mge(t,r.currentFlags)||(l=t7({flags:_ge(t)}),l.body[0].body.push(c))}n(p9(l,t),{traverse:!s})}},pge={Backreference({node:e,parent:t,replaceWith:n},r){if(e.orphan){r.highestOrphanBackref=Math.max(r.highestOrphanBackref,e.ref);return}let i=r.reffedNodesByReferencer.get(e).filter(t=>hge(t,e));i.length?i.length>1?n(p9(t7({atomic:!0,body:i.reverse().map(e=>J5({body:[X5(e.number)]}))}),t)):e.ref=i[0].number:n(p9(n7({negate:!0}),t))},CapturingGroup({node:e},t){e.number=++t.numCapturesToLeft,e.name&&t.groupsByName.get(e.name).get(e).hasDuplicateNameToRemove&&delete e.name},Regex:{exit({node:e},t){let n=Math.max(t.highestOrphanBackref-t.numCapturesToLeft,0);for(let t=0;t<n;t++){let t=Z5();e.body.at(-1).body.push(t)}}},Subroutine({node:e},t){!e.isRecursive||e.ref===0||(e.ref=t.reffedNodesByReferencer.get(e).number)}};function t9(e){p7(e,{"*"({node:e,parent:t}){e.parent=t}})}function mge(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}function hge(e,t){let n=t;do{if(n.type===`Regex`)return!1;if(n.type===`Alternative`)continue;if(n===e)return!1;let t=o9(n.parent);for(let r of t){if(r===n)break;if(r===e||c9(r,e))return!0}}while(n=n.parent);throw Error(`Unexpected path`)}function n9(e,t,n,r){let i=Array.isArray(e)?[]:{};for(let[o,s]of Object.entries(e))if(o===`parent`)i.parent=Array.isArray(n)?r:n;else if(s&&typeof s==`object`)i[o]=n9(s,t,i,n);else{if(o===`type`&&s===`CapturingGroup`){var a;t.set(i,(a=t.get(e))==null?e:a)}i[o]=s}return i}function r9(e){let t=i7(e);return t.isRecursive=!0,t}function gge(e,t){let n=[];for(;e=e.parent;)(!t||t(e))&&n.push(e);return n}function i9(e,t){if(t.has(e))return t.get(e);let n=`$${t.size}_${e.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/gu,`_`)}`;return t.set(e,n),n}function a9(e){let t=[`dotAll`,`ignoreCase`],n={enable:{},disable:{}};return e.forEach(({flags:e})=>{t.forEach(t=>{var r,i;(r=e.enable)!=null&&r[t]&&(delete n.disable[t],n.enable[t]=!0),(i=e.disable)!=null&&i[t]&&(n.disable[t]=!0)})}),Object.keys(n.enable).length||delete n.enable,Object.keys(n.disable).length||delete n.disable,n.enable||n.disable?n:null}function _ge({dotAll:e,ignoreCase:t}){let n={};return(e||t)&&(n.enable={},e&&(n.enable.dotAll=!0),t&&(n.enable.ignoreCase=!0)),(!e||!t)&&(n.disable={},!e&&(n.disable.dotAll=!0),!t&&(n.disable.ignoreCase=!0)),n}function o9(e){if(!e)throw Error(`Node expected`);let{body:t}=e;return Array.isArray(t)?t:t?[t]:null}function s9(e){let t=e.find(e=>e.kind===`search_start`||bge(e,{negate:!1})||!vge(e));if(!t)return null;if(t.kind===`search_start`)return t;if(t.type===`LookaroundAssertion`)return t.body[0].body[0];if(t.type===`CapturingGroup`||t.type===`Group`){let e=[];for(let n of t.body){let t=s9(n.body);if(!t)return null;Array.isArray(t)?e.push(...t):e.push(t)}return e}return null}function c9(e,t){var n;let r=(n=o9(e))==null?[]:n;for(let e of r)if(e===t||c9(e,t))return!0;return!1}function vge({type:e}){return e===`Assertion`||e===`Directive`||e===`LookaroundAssertion`}function yge(e){let t=[`Character`,`CharacterClass`,`CharacterSet`];return t.includes(e.type)||e.type===`Quantifier`&&e.min&&t.includes(e.body.type)}function bge(e,t){let n={negate:null,...t};return e.type===`LookaroundAssertion`&&(n.negate===null||e.negate===n.negate)&&e.body.length===1&&K5(e.body[0],{type:`Assertion`,kind:`search_start`})}function l9(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function u9(e,t){let n=q5(e,{...t,unicodePropertyMap:Z7}).body;return n.length>1||n[0].body.length>1?t7({body:n}):n[0].body[0]}function d9(e,t){return e.negate=t,e}function f9(e,t){return e.parent=t,e}function p9(e,t){return t9(e),e.parent=t,e}function xge(e,t){let n=J7(t),r=K7(n.target,`ES2024`),i=K7(n.target,`ES2025`),a=n.rules.recursionLimit;if(!Number.isInteger(a)||a<2||a>20)throw Error(`Invalid recursionLimit; use 2-20`);let o=null,s=null;if(!i){let t=[e.flags.ignoreCase];p7(e,Sge,{getCurrentModI:()=>t.at(-1),popModI(){t.pop()},pushModI(e){t.push(e)},setHasCasedChar(){t.at(-1)?o=!0:s=!0}})}let c={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||o)&&!s)},l=e,u={accuracy:n.accuracy,appliedGlobalFlags:c,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:l,originMap:e._originMap,recursionLimit:a,useAppliedIgnoreCase:!!(!i&&o&&s),useFlagMods:i,useFlagV:r,verbose:n.verbose};function d(e){return u.lastNode=l,l=e,tge(Cge[e.type],`Unexpected node type "${e.type}"`)(e,u,d)}let f={pattern:e.body.map(d).join(`|`),flags:d(e.flags),options:{...e.options}};return r||(delete f.options.force.v,f.options.disable.v=!0,f.options.unicodeSetsPlugin=null),f._captureTransfers=new Map,f._hiddenCaptures=[],u.captureMap.forEach((e,t)=>{e.hidden&&f._hiddenCaptures.push(t),e.transferTo&&G7(f._captureTransfers,e.transferTo,[]).push(t)}),f}var Sge={"*":{enter({node:e},t){if(v9(e)){let n=t.getCurrentModI();t.pushModI(e.flags?W7({ignoreCase:n},e.flags).ignoreCase:n)}},exit({node:e},t){v9(e)&&t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){h9(B7(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},n){t(),g9(e,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:e},t){e.kind===`property`&&e9.has(e.value)&&t.setHasCasedChar()}},Cge={Alternative({body:e},t,n){return e.map(n).join(``)},Assertion({kind:e,negate:t}){if(e===`string_end`)return`$`;if(e===`string_start`)return`^`;if(e===`word_boundary`)return t?V7`\B`:V7`\b`;throw Error(`Unexpected assertion kind "${e}"`)},Backreference({ref:e},t){if(typeof e!=`number`)throw Error(`Unexpected named backref in transformed AST`);if(!t.useFlagMods&&t.accuracy===`strict`&&t.currentFlags.ignoreCase&&!t.captureMap.get(e).ignoreCase)throw Error(`Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy`);return`\\`+e},CapturingGroup(e,t,n){let{body:r,name:i,number:a}=e,o={ignoreCase:t.currentFlags.ignoreCase},s=t.originMap.get(e);return s&&(o.hidden=!0,a>s.number&&(o.transferTo=s.number)),t.captureMap.set(a,o),`(${i?`?<${i}>`:``}${r.map(n).join(`|`)})`},Character({value:e},t){let n=B7(e),r=_9(e,{escDigit:t.lastNode.type===`Backreference`,inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(r!==n)return r;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&h9(n)){let e=X7(n);return t.inCharClass?e.join(``):e.length>1?`[${e.join(``)}]`:e[0]}return n},CharacterClass(e,t,n){let{kind:r,negate:i,parent:a}=e,{body:o}=e;if(r===`intersection`&&!t.useFlagV)throw Error(`Use of character class intersection requires min target ES2024`);H7.bugFlagVLiteralHyphenIsRange&&t.useFlagV&&o.some(y9)&&(o=[Q5(45),...o.filter(e=>!y9(e))]);let s=()=>`[${i?`^`:``}${o.map(n).join(r===`intersection`?`&&`:``)}]`;if(!t.inCharClass){if((!t.useFlagV||H7.bugNestedClassIgnoresNegation)&&!i){let t=o.filter(e=>e.type===`CharacterClass`&&e.kind===`union`&&e.negate);if(t.length){let r=t7(),i=r.body[0];return r.parent=a,i.parent=r,o=o.filter(e=>!t.includes(e)),e.body=o,o.length?(e.parent=i,i.body.push(e)):r.body.pop(),t.forEach(e=>{let t=J5({body:[e]});e.parent=t,t.parent=r,r.body.push(t)}),n(r)}}t.inCharClass=!0;let r=s();return t.inCharClass=!1,r}let c=o[0];if(r===`union`&&!i&&c&&((!t.useFlagV||!t.verbose)&&a.kind===`union`&&!(H7.bugFlagVLiteralHyphenIsRange&&t.useFlagV)||!t.verbose&&a.kind===`intersection`&&o.length===1&&c.type!==`CharacterClassRange`))return o.map(n).join(``);if(!t.useFlagV&&a.type===`CharacterClass`)throw Error(`Uses nested character class in a way that requires min target ES2024`);return s()},CharacterClassRange(e,t){let n=e.min.value,r=e.max.value,i={escDigit:!1,inCharClass:!0,useFlagV:t.useFlagV},a=_9(n,i),o=_9(r,i),s=new Set;return t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&Oge(g9(e)).forEach(e=>{s.add(Array.isArray(e)?`${_9(e[0],i)}-${_9(e[1],i)}`:_9(e,i))}),`${a}-${o}${[...s].join(``)}`},CharacterSet({kind:e,negate:t,value:n,key:r},i){if(e===`dot`)return i.currentFlags.dotAll?i.appliedGlobalFlags.dotAll||i.useFlagMods?`.`:`[^]`:V7`[^\n]`;if(e===`digit`)return t?V7`\D`:V7`\d`;if(e===`property`){if(i.useAppliedIgnoreCase&&i.currentFlags.ignoreCase&&e9.has(n))throw Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${t?V7`\P`:V7`\p`}{${r?`${r}=`:``}${n}}`}if(e===`word`)return t?V7`\W`:V7`\w`;throw Error(`Unexpected character set kind "${e}"`)},Flags(e,t){return(t.appliedGlobalFlags.ignoreCase?`i`:``)+(e.dotAll?`s`:``)+(e.sticky?`y`:``)},Group({atomic:e,body:t,flags:n,parent:r},i,a){let o=i.currentFlags;n&&(i.currentFlags=W7(o,n));let s=t.map(a).join(`|`),c=!i.verbose&&t.length===1&&r.type!==`Quantifier`&&!e&&(!i.useFlagMods||!n)?s:`(?${kge(e,n,i.useFlagMods)}${s})`;return i.currentFlags=o,c},LookaroundAssertion({body:e,kind:t,negate:n},r,i){return`(?${`${t===`lookahead`?``:`<`}${n?`!`:`=`}`}${e.map(i).join(`|`)})`},Quantifier(e,t,n){return n(e.body)+Age(e)},Subroutine({isRecursive:e,ref:t},n){if(!e)throw Error(`Unexpected non-recursive subroutine in transformed AST`);let r=n.recursionLimit;return t===0?`(?R=${r})`:V7`\g<${t}&R=${r}>`}},wge=new Set([`$`,`(`,`)`,`*`,`+`,`.`,`?`,`[`,`\\`,`]`,`^`,`{`,`|`,`}`]),Tge=new Set([`-`,`\\`,`]`,`^`,`[`]),Ege=new Set("()-/[\\]^{|}!#$%&*+,.:;<=>?@`~".split(``)),m9=new Map([[9,V7`\t`],[10,V7`\n`],[11,V7`\v`],[12,V7`\f`],[13,V7`\r`],[8232,V7`\u2028`],[8233,V7`\u2029`],[65279,V7`\uFEFF`]]),Dge=/^\p{Cased}$/u;function h9(e){return Dge.test(e)}function g9(e,t){let n=!!(t!=null&&t.firstOnly),r=e.min.value,i=e.max.value,a=[];if(r<65&&(i===65535||i>=131071)||r===65536&&i>=131071)return a;for(let e=r;e<=i;e++){let t=B7(e);if(!h9(t))continue;let o=X7(t).filter(e=>{let t=e.codePointAt(0);return t<r||t>i});if(o.length&&(a.push(...o),n))break}return a}function _9(e,{escDigit:t,inCharClass:n,useFlagV:r}){if(m9.has(e))return m9.get(e);if(e<32||e>126&&e<160||e>262143||t&&jge(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,`0`)}`;let i=n?r?Ege:Tge:wge,a=B7(e);return(i.has(a)?`\\`:``)+a}function Oge(e){let t=e.map(e=>e.codePointAt(0)).sort((e,t)=>e-t),n=[],r=null;for(let e=0;e<t.length;e++)t[e+1]===t[e]+1?r!=null||(r=t[e]):r===null?n.push(t[e]):(n.push([r,t[e]]),r=null);return n}function kge(e,t,n){if(e)return`>`;let r=``;if(t&&n){let{enable:e,disable:n}=t;r=(e!=null&&e.ignoreCase?`i`:``)+(e!=null&&e.dotAll?`s`:``)+(n?`-`:``)+(n!=null&&n.ignoreCase?`i`:``)+(n!=null&&n.dotAll?`s`:``)}return`${r}:`}function Age({kind:e,max:t,min:n}){let r;return r=!n&&t===1?`?`:!n&&t===1/0?`*`:n===1&&t===1/0?`+`:n===t?`{${n}}`:`{${n},${t===1/0?``:t}}`,r+{greedy:``,lazy:`?`,possessive:`+`}[e]}function v9({type:e}){return e===`CapturingGroup`||e===`Group`||e===`LookaroundAssertion`}function jge(e){return e>47&&e<58}function y9({type:e,value:t}){return e===`Character`&&t===45}var Mge=(N7=new WeakMap,P7=new WeakMap,F7=new WeakMap,I7=new WeakMap,L7=new WeakMap,R7=new WeakSet,z7=class t extends RegExp{get source(){return wn(F7,this)||`(?:)`}constructor(n,r,i){var a=(...t)=>(super(...t),$me(this,R7),xn(this,N7,new Map),xn(this,P7,null),xn(this,F7,void 0),xn(this,I7,null),xn(this,L7,null),e.M(this,`rawOptions`,{}),this);let o=!!(i!=null&&i.lazyCompile);if(n instanceof RegExp){if(i)throw Error(`Cannot provide options when copying a regexp`);let e=n;a(e,r),Cn(F7,this,e.source),e instanceof t&&(Cn(N7,this,wn(N7,e)),Cn(I7,this,wn(I7,e)),Cn(L7,this,wn(L7,e)),this.rawOptions=e.rawOptions)}else{let e={hiddenCaptures:[],strategy:null,transfers:[],...i};a(o?``:n,r),Cn(F7,this,n),Cn(N7,this,Pge(e.hiddenCaptures,e.transfers)),Cn(L7,this,e.strategy),this.rawOptions=i==null?{}:i}o||Cn(P7,this,this)}exec(e){if(!wn(P7,this)){let{lazyCompile:e,...n}=this.rawOptions;Cn(P7,this,new t(wn(F7,this),this.flags,n))}let n=this.global||this.sticky,r=this.lastIndex;if(wn(L7,this)===`clip_search`&&n&&r){this.lastIndex=0;let t=Sn(R7,this,b9).call(this,e.slice(r));return t&&(Nge(t,r,e,this.hasIndices),this.lastIndex+=r),t}return Sn(R7,this,b9).call(this,e)}},z7);function b9(e){wn(P7,this).lastIndex=this.lastIndex;let t=the(z7.prototype,`exec`,this).call(wn(P7,this),e);if(this.lastIndex=wn(P7,this).lastIndex,!t||!wn(N7,this).size)return t;let n=[...t];t.length=1;let r;this.hasIndices&&(r=[...t.indices],t.indices.length=1);let i=[0];for(let e=1;e<n.length;e++){var a;let{hidden:o,transferTo:s}=(a=wn(N7,this).get(e))==null?{}:a;if(o?i.push(null):(i.push(t.length),t.push(n[e]),this.hasIndices&&t.indices.push(r[e])),s&&n[e]!==void 0){let a=i[s];if(!a)throw Error(`Invalid capture transfer to "${a}"`);if(t[a]=n[e],this.hasIndices&&(t.indices[a]=r[e]),t.groups){wn(I7,this)||Cn(I7,this,Fge(this.source));let i=wn(I7,this).get(s);i&&(t.groups[i]=n[e],this.hasIndices&&(t.indices.groups[i]=r[e]))}}}return t}function Nge(e,t,n,r){if(e.index+=t,e.input=n,r){let n=e.indices;for(let e=0;e<n.length;e++){let r=n[e];r&&(n[e]=[r[0]+t,r[1]+t])}let r=n.groups;r&&Object.keys(r).forEach(e=>{let n=r[e];n&&(r[e]=[n[0]+t,n[1]+t])})}}function Pge(e,t){let n=new Map;for(let t of e)n.set(t,{hidden:!0});for(let[e,r]of t)for(let t of r)G7(n,t,{}).transferTo=e;return n}function Fge(e){let t=/(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu,n=new Map,r=0,i=0,a;for(;a=t.exec(e);){let{0:e,groups:{capture:t,name:o}}=a;e===`[`?r++:r?e===`]`&&r--:t&&(i++,o&&n.set(i,o))}return n}function Ige(e,t){let n=Lge(e,t);return n.options?new Mge(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function Lge(e,t){let n=J7(t),r=uge(q5(e,{flags:n.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline},skipBackrefValidation:n.rules.allowOrphanBackrefs,unicodePropertyMap:Z7}),{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),i=xge(r,n),a=$he(i.pattern,{captureTransfers:i._captureTransfers,hiddenCaptures:i._hiddenCaptures,mode:`external`}),o=Zhe(Qhe(a.pattern).pattern,{captureTransfers:a.captureTransfers,hiddenCaptures:a.hiddenCaptures}),s={pattern:o.pattern,flags:`${n.hasIndices?`d`:``}${n.global?`g`:``}${i.flags}${i.options.disable.v?`u`:`v`}`};if(n.avoidSubclass){if(n.lazyCompileLength!==1/0)throw Error(`Lazy compilation requires subclass`)}else{let e=o.hiddenCaptures.sort((e,t)=>e-t),t=Array.from(o.captureTransfers),i=r._strategy,a=s.pattern.length>=n.lazyCompileLength;(e.length||t.length||i||a)&&(s.options={...e.length&&{hiddenCaptures:e},...t.length&&{transfers:t},...i&&{strategy:i},...a&&{lazyCompile:a}})}return s}function Rge(e,t){return Ige(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function zge(e={}){let t={target:`auto`,cache:new Map,...e};return t.regexConstructor||(t.regexConstructor=e=>Rge(e,{target:t.target})),{createScanner(e){return new Qme(e,t)},createString(e){return{content:e}}}}var x9=[{id:`abap`,name:`ABAP`,import:(()=>Promise.resolve().then(()=>require("./abap-D9f7lP7R.cjs")))},{id:`actionscript-3`,name:`ActionScript`,aliases:[`actionscript`,`as3`],import:(()=>Promise.resolve().then(()=>require("./actionscript-3-1SNa1QKK.cjs")))},{id:`ada`,name:`Ada`,import:(()=>Promise.resolve().then(()=>require("./ada-DMJLzCSy.cjs")))},{id:`ahk`,name:`AutoHotkey`,aliases:[`ahk1`],import:(()=>Promise.resolve().then(()=>require("./ahk-BBbcv4ig.cjs")))},{id:`ahk2`,name:`AutoHotkey2`,import:(()=>Promise.resolve().then(()=>require("./ahk2-BkzmAxuh.cjs")))},{id:`angular-html`,name:`Angular HTML`,import:(()=>Promise.resolve().then(()=>require("./angular-html-Dg3-tcsc.cjs")).then(e=>e.n))},{id:`angular-ts`,name:`Angular TypeScript`,import:(()=>Promise.resolve().then(()=>require("./angular-ts-D0NAnxgV.cjs")))},{id:`apache`,name:`Apache Conf`,import:(()=>Promise.resolve().then(()=>require("./apache-BfVwXjTe.cjs")))},{id:`apex`,name:`Apex`,import:(()=>Promise.resolve().then(()=>require("./apex-DhTsu9L-.cjs")))},{id:`apl`,name:`APL`,import:(()=>Promise.resolve().then(()=>require("./apl-Dx6odmvQ.cjs")))},{id:`applescript`,name:`AppleScript`,import:(()=>Promise.resolve().then(()=>require("./applescript-Dp4_6DHk.cjs")))},{id:`ara`,name:`Ara`,import:(()=>Promise.resolve().then(()=>require("./ara-7B_E-tuJ.cjs")))},{id:`asciidoc`,name:`AsciiDoc`,aliases:[`adoc`],import:(()=>Promise.resolve().then(()=>require("./asciidoc-CaSyaXsH.cjs")))},{id:`asm`,name:`Assembly`,import:(()=>Promise.resolve().then(()=>require("./asm-Bukd2Wm4.cjs")))},{id:`astro`,name:`Astro`,import:(()=>Promise.resolve().then(()=>require("./astro-CfDpOFJP.cjs")))},{id:`awk`,name:`AWK`,import:(()=>Promise.resolve().then(()=>require("./awk-BKsnoTkQ.cjs")))},{id:`ballerina`,name:`Ballerina`,import:(()=>Promise.resolve().then(()=>require("./ballerina-Dx-3dhqK.cjs")))},{id:`bat`,name:`Batch File`,aliases:[`batch`,`cmd`],import:(()=>Promise.resolve().then(()=>require("./bat-CJmb6Iu-.cjs")))},{id:`beancount`,name:`Beancount`,import:(()=>Promise.resolve().then(()=>require("./beancount-Cf_TSRAB.cjs")))},{id:`berry`,name:`Berry`,aliases:[`be`],import:(()=>Promise.resolve().then(()=>require("./berry-DmOxvp7B.cjs")))},{id:`bibtex`,name:`BibTeX`,import:(()=>Promise.resolve().then(()=>require("./bibtex-DpuR8i_b.cjs")))},{id:`bicep`,name:`Bicep`,import:(()=>Promise.resolve().then(()=>require("./bicep-B3_2YXL8.cjs")))},{id:`bird2`,name:`BIRD2 Configuration`,aliases:[`bird`],import:(()=>Promise.resolve().then(()=>require("./bird2-D9BSMWyl.cjs")))},{id:`blade`,name:`Blade`,import:(()=>Promise.resolve().then(()=>require("./blade-BxfKHaSj.cjs")))},{id:`bsl`,name:`1C (Enterprise)`,aliases:[`1c`],import:(()=>Promise.resolve().then(()=>require("./bsl-DgwVAUwK.cjs")))},{id:`c`,name:`C`,import:(()=>Promise.resolve().then(()=>require("./c-hpMPM8RV.cjs")).then(e=>e.n))},{id:`c3`,name:`C3`,import:(()=>Promise.resolve().then(()=>require("./c3-CR9pzXUD.cjs")))},{id:`cadence`,name:`Cadence`,aliases:[`cdc`],import:(()=>Promise.resolve().then(()=>require("./cadence-B2s4c_al.cjs")))},{id:`cairo`,name:`Cairo`,import:(()=>Promise.resolve().then(()=>require("./cairo-Bv7QV5vw.cjs")))},{id:`chapel`,name:`Chapel`,aliases:[`chpl`],import:(()=>Promise.resolve().then(()=>require("./chapel-keWPCgW7.cjs")))},{id:`clarity`,name:`Clarity`,import:(()=>Promise.resolve().then(()=>require("./clarity-CLU21rXc.cjs")))},{id:`clojure`,name:`Clojure`,aliases:[`clj`],import:(()=>Promise.resolve().then(()=>require("./clojure-mw2zISFV.cjs")))},{id:`cmake`,name:`CMake`,import:(()=>Promise.resolve().then(()=>require("./cmake-BmTEdSo8.cjs")))},{id:`cobol`,name:`COBOL`,import:(()=>Promise.resolve().then(()=>require("./cobol-DZd5ojad.cjs")))},{id:`codeowners`,name:`CODEOWNERS`,import:(()=>Promise.resolve().then(()=>require("./codeowners-jShtr2Jw.cjs")))},{id:`codeql`,name:`CodeQL`,aliases:[`ql`],import:(()=>Promise.resolve().then(()=>require("./codeql-Die9Idyd.cjs")))},{id:`coffee`,name:`CoffeeScript`,aliases:[`coffeescript`],import:(()=>Promise.resolve().then(()=>require("./coffee-w3B5krTo.cjs")))},{id:`common-lisp`,name:`Common Lisp`,aliases:[`lisp`],import:(()=>Promise.resolve().then(()=>require("./common-lisp-DoXb_YLN.cjs")))},{id:`coq`,name:`Rocq`,import:(()=>Promise.resolve().then(()=>require("./coq-DVqIRctb.cjs")))},{id:`cpp`,name:`C++`,aliases:[`c++`],import:(()=>Promise.resolve().then(()=>require("./cpp-Jl_TC1Nw.cjs")).then(e=>e.n))},{id:`crystal`,name:`Crystal`,import:(()=>Promise.resolve().then(()=>require("./crystal-CwIeEKN9.cjs")))},{id:`csharp`,name:`C#`,aliases:[`c#`,`cs`],import:(()=>Promise.resolve().then(()=>require("./csharp-DyzKF461.cjs")))},{id:`css`,name:`CSS`,import:(()=>Promise.resolve().then(()=>require("./css-BGNe3YXa.cjs")).then(e=>e.n))},{id:`csv`,name:`CSV`,import:(()=>Promise.resolve().then(()=>require("./csv-CIv6ARZP.cjs")))},{id:`cue`,name:`CUE`,import:(()=>Promise.resolve().then(()=>require("./cue-Bl5rY13a.cjs")))},{id:`cypher`,name:`Cypher`,aliases:[`cql`],import:(()=>Promise.resolve().then(()=>require("./cypher-CE6nLqE0.cjs")))},{id:`d`,name:`D`,import:(()=>Promise.resolve().then(()=>require("./d-BlTNAVst.cjs")))},{id:`dart`,name:`Dart`,import:(()=>Promise.resolve().then(()=>require("./dart-CQNBGWB1.cjs")))},{id:`dax`,name:`DAX`,import:(()=>Promise.resolve().then(()=>require("./dax-bd5I75s9.cjs")))},{id:`desktop`,name:`Desktop`,import:(()=>Promise.resolve().then(()=>require("./desktop-D9mEtiH_.cjs")))},{id:`diff`,name:`Diff`,import:(()=>Promise.resolve().then(()=>require("./diff-Blx6Qf3I.cjs")))},{id:`docker`,name:`Dockerfile`,aliases:[`dockerfile`],import:(()=>Promise.resolve().then(()=>require("./docker-OqFhd4tF.cjs")))},{id:`dotenv`,name:`dotEnv`,import:(()=>Promise.resolve().then(()=>require("./dotenv-odMSI3oj.cjs")))},{id:`dream-maker`,name:`Dream Maker`,import:(()=>Promise.resolve().then(()=>require("./dream-maker-BrbFNsR5.cjs")))},{id:`edge`,name:`Edge`,import:(()=>Promise.resolve().then(()=>require("./edge-CdQqWKGq.cjs")))},{id:`elixir`,name:`Elixir`,import:(()=>Promise.resolve().then(()=>require("./elixir-CxPipDUR.cjs")))},{id:`elm`,name:`Elm`,import:(()=>Promise.resolve().then(()=>require("./elm-Ccn6fAWV.cjs")))},{id:`emacs-lisp`,name:`Emacs Lisp`,aliases:[`elisp`],import:(()=>Promise.resolve().then(()=>require("./emacs-lisp-Cde7nzwV.cjs")))},{id:`erb`,name:`ERB`,import:(()=>Promise.resolve().then(()=>require("./erb-DfkBkh24.cjs")))},{id:`erlang`,name:`Erlang`,aliases:[`erl`],import:(()=>Promise.resolve().then(()=>require("./erlang-D7myVpiL.cjs")))},{id:`fennel`,name:`Fennel`,import:(()=>Promise.resolve().then(()=>require("./fennel-D4LWCPaw.cjs")))},{id:`fish`,name:`Fish`,import:(()=>Promise.resolve().then(()=>require("./fish-D-VeiBPz.cjs")))},{id:`fluent`,name:`Fluent`,aliases:[`ftl`],import:(()=>Promise.resolve().then(()=>require("./fluent-LXOxASeZ.cjs")))},{id:`fortran-fixed-form`,name:`Fortran (Fixed Form)`,aliases:[`f`,`for`,`f77`],import:(()=>Promise.resolve().then(()=>require("./fortran-fixed-form-B5ZnpAJW.cjs")))},{id:`fortran-free-form`,name:`Fortran (Free Form)`,aliases:[`f90`,`f95`,`f03`,`f08`,`f18`],import:(()=>Promise.resolve().then(()=>require("./fortran-free-form-Bz0xRh3V.cjs")))},{id:`fsharp`,name:`F#`,aliases:[`f#`,`fs`],import:(()=>Promise.resolve().then(()=>require("./fsharp-DHex0DcA.cjs")))},{id:`gdresource`,name:`GDResource`,aliases:[`tscn`,`tres`],import:(()=>Promise.resolve().then(()=>require("./gdresource-DGM5XQcz.cjs")))},{id:`gdscript`,name:`GDScript`,aliases:[`gd`],import:(()=>Promise.resolve().then(()=>require("./gdscript-CFNyS12K.cjs")))},{id:`gdshader`,name:`GDShader`,import:(()=>Promise.resolve().then(()=>require("./gdshader-xrVUcdLW.cjs")))},{id:`genie`,name:`Genie`,import:(()=>Promise.resolve().then(()=>require("./genie-Bez7IjhT.cjs")))},{id:`gherkin`,name:`Gherkin`,import:(()=>Promise.resolve().then(()=>require("./gherkin-B-5y9e_N.cjs")))},{id:`git-commit`,name:`Git Commit Message`,import:(()=>Promise.resolve().then(()=>require("./git-commit-DIgLxyZc.cjs")))},{id:`git-rebase`,name:`Git Rebase Message`,import:(()=>Promise.resolve().then(()=>require("./git-rebase-v-Ukhgl9.cjs")))},{id:`gleam`,name:`Gleam`,import:(()=>Promise.resolve().then(()=>require("./gleam-DWwZZ0Vg.cjs")))},{id:`glimmer-js`,name:`Glimmer JS`,aliases:[`gjs`],import:(()=>Promise.resolve().then(()=>require("./glimmer-js-BAbqnV3-.cjs")))},{id:`glimmer-ts`,name:`Glimmer TS`,aliases:[`gts`],import:(()=>Promise.resolve().then(()=>require("./glimmer-ts-B3Cx5KtA.cjs")))},{id:`glsl`,name:`GLSL`,import:(()=>Promise.resolve().then(()=>require("./glsl-BHIO0OBH.cjs")).then(e=>e.n))},{id:`gn`,name:`GN`,import:(()=>Promise.resolve().then(()=>require("./gn-fohhjdVk.cjs")))},{id:`gnuplot`,name:`Gnuplot`,import:(()=>Promise.resolve().then(()=>require("./gnuplot-Bza953iO.cjs")))},{id:`go`,name:`Go`,import:(()=>Promise.resolve().then(()=>require("./go-DZ-Uc_xo.cjs")))},{id:`graphql`,name:`GraphQL`,aliases:[`gql`],import:(()=>Promise.resolve().then(()=>require("./graphql-CQN3OclW.cjs")).then(e=>e.n))},{id:`groovy`,name:`Groovy`,import:(()=>Promise.resolve().then(()=>require("./groovy-DVx8lqH4.cjs")))},{id:`hack`,name:`Hack`,import:(()=>Promise.resolve().then(()=>require("./hack-ColLjcl2.cjs")))},{id:`haml`,name:`Ruby Haml`,import:(()=>Promise.resolve().then(()=>require("./haml-DGyVMTHl.cjs")).then(e=>e.n))},{id:`handlebars`,name:`Handlebars`,aliases:[`hbs`],import:(()=>Promise.resolve().then(()=>require("./handlebars-B5ZIr_aZ.cjs")))},{id:`haskell`,name:`Haskell`,aliases:[`hs`],import:(()=>Promise.resolve().then(()=>require("./haskell-xZMA172k.cjs")))},{id:`haxe`,name:`Haxe`,import:(()=>Promise.resolve().then(()=>require("./haxe-CSTL0CnR.cjs")))},{id:`hcl`,name:`HashiCorp HCL`,import:(()=>Promise.resolve().then(()=>require("./hcl-ilAxk5Pa.cjs")))},{id:`hjson`,name:`Hjson`,import:(()=>Promise.resolve().then(()=>require("./hjson-sppvvtJ4.cjs")))},{id:`hlsl`,name:`HLSL`,import:(()=>Promise.resolve().then(()=>require("./hlsl-CXHjUDTp.cjs")))},{id:`html`,name:`HTML`,import:(()=>Promise.resolve().then(()=>require("./html-DN9f8kSH.cjs")).then(e=>e.n))},{id:`html-derivative`,name:`HTML (Derivative)`,import:(()=>Promise.resolve().then(()=>require("./html-derivative-UTkRrivP.cjs")))},{id:`http`,name:`HTTP`,import:(()=>Promise.resolve().then(()=>require("./http-BlHmF7m2.cjs")))},{id:`hurl`,name:`Hurl`,import:(()=>Promise.resolve().then(()=>require("./hurl-LrIzh9fX.cjs")))},{id:`hxml`,name:`HXML`,import:(()=>Promise.resolve().then(()=>require("./hxml-DL8PZQYn.cjs")))},{id:`hy`,name:`Hy`,import:(()=>Promise.resolve().then(()=>require("./hy-CSJ5X_M3.cjs")))},{id:`imba`,name:`Imba`,import:(()=>Promise.resolve().then(()=>require("./imba-BZMBXThP.cjs")))},{id:`ini`,name:`INI`,aliases:[`properties`],import:(()=>Promise.resolve().then(()=>require("./ini-CMP9Qx8U.cjs")))},{id:`java`,name:`Java`,import:(()=>Promise.resolve().then(()=>require("./java-wSZjiYL-.cjs")).then(e=>e.n))},{id:`javascript`,name:`JavaScript`,aliases:[`js`,`cjs`,`mjs`],import:(()=>Promise.resolve().then(()=>require("./javascript-BriSQyZc.cjs")).then(e=>e.n))},{id:`jinja`,name:`Jinja`,import:(()=>Promise.resolve().then(()=>require("./jinja-D76hx3-7.cjs")))},{id:`jison`,name:`Jison`,import:(()=>Promise.resolve().then(()=>require("./jison-C3U4f0s4.cjs")))},{id:`json`,name:`JSON`,import:(()=>Promise.resolve().then(()=>require("./json-Bo-RT5A6.cjs")).then(e=>e.n))},{id:`json5`,name:`JSON5`,import:(()=>Promise.resolve().then(()=>require("./json5-DyRMMeqN.cjs")))},{id:`jsonc`,name:`JSON with Comments`,import:(()=>Promise.resolve().then(()=>require("./jsonc-BQLBz3-P.cjs")))},{id:`jsonl`,name:`JSON Lines`,import:(()=>Promise.resolve().then(()=>require("./jsonl-DYFddF_r.cjs")))},{id:`jsonnet`,name:`Jsonnet`,import:(()=>Promise.resolve().then(()=>require("./jsonnet-BKLdGfOM.cjs")))},{id:`jssm`,name:`JSSM`,aliases:[`fsl`],import:(()=>Promise.resolve().then(()=>require("./jssm-BzBV_7Zv.cjs")))},{id:`jsx`,name:`JSX`,import:(()=>Promise.resolve().then(()=>require("./jsx-CPH8GKtA.cjs")).then(e=>e.n))},{id:`julia`,name:`Julia`,aliases:[`jl`],import:(()=>Promise.resolve().then(()=>require("./julia-Cac7DCT1.cjs")))},{id:`just`,name:`Just`,aliases:[`justfile`],import:(()=>Promise.resolve().then(()=>require("./just--lfP6IF9.cjs")))},{id:`kdl`,name:`KDL`,import:(()=>Promise.resolve().then(()=>require("./kdl-B_X-LdLH.cjs")))},{id:`kotlin`,name:`Kotlin`,aliases:[`kt`,`kts`],import:(()=>Promise.resolve().then(()=>require("./kotlin-DJN2lNtg.cjs")))},{id:`kusto`,name:`Kusto`,aliases:[`kql`],import:(()=>Promise.resolve().then(()=>require("./kusto-cSMBXpvf.cjs")))},{id:`latex`,name:`LaTeX`,import:(()=>Promise.resolve().then(()=>require("./latex-CUtR5DE9.cjs")))},{id:`lean`,name:`Lean 4`,aliases:[`lean4`],import:(()=>Promise.resolve().then(()=>require("./lean-DPZ17Q6r.cjs")))},{id:`less`,name:`Less`,import:(()=>Promise.resolve().then(()=>require("./less-DaiBAj3t.cjs")))},{id:`liquid`,name:`Liquid`,import:(()=>Promise.resolve().then(()=>require("./liquid-Drum6HOR.cjs")))},{id:`llvm`,name:`LLVM IR`,import:(()=>Promise.resolve().then(()=>require("./llvm-CPVKgv6O.cjs")))},{id:`log`,name:`Log file`,import:(()=>Promise.resolve().then(()=>require("./log-D5-TWMZt.cjs")))},{id:`logo`,name:`Logo`,import:(()=>Promise.resolve().then(()=>require("./logo-BJ1H7oof.cjs")))},{id:`lua`,name:`Lua`,import:(()=>Promise.resolve().then(()=>require("./lua-CjaqZWcv.cjs")).then(e=>e.n))},{id:`luau`,name:`Luau`,import:(()=>Promise.resolve().then(()=>require("./luau-C6IQOGXK.cjs")))},{id:`make`,name:`Makefile`,aliases:[`makefile`],import:(()=>Promise.resolve().then(()=>require("./make-BgHlnbZ2.cjs")))},{id:`markdown`,name:`Markdown`,aliases:[`md`],import:(()=>Promise.resolve().then(()=>require("./markdown-DJNo_Vtk.cjs")))},{id:`marko`,name:`Marko`,import:(()=>Promise.resolve().then(()=>require("./marko-DZv2qjgg.cjs")))},{id:`matlab`,name:`MATLAB`,import:(()=>Promise.resolve().then(()=>require("./matlab-m3V6oILU.cjs")))},{id:`mdc`,name:`MDC`,import:(()=>Promise.resolve().then(()=>require("./mdc-3sjk0StN.cjs")))},{id:`mdx`,name:`MDX`,import:(()=>Promise.resolve().then(()=>require("./mdx-m8yL-NMn.cjs")))},{id:`mermaid`,name:`Mermaid`,aliases:[`mmd`],import:(()=>Promise.resolve().then(()=>require("./mermaid-DfhRVtAp.cjs")))},{id:`mipsasm`,name:`MIPS Assembly`,aliases:[`mips`],import:(()=>Promise.resolve().then(()=>require("./mipsasm-B58eUf9-.cjs")))},{id:`mojo`,name:`Mojo`,import:(()=>Promise.resolve().then(()=>require("./mojo-6K5D6Dh6.cjs")))},{id:`moonbit`,name:`MoonBit`,aliases:[`mbt`,`mbti`],import:(()=>Promise.resolve().then(()=>require("./moonbit-DQWxLSoE.cjs")))},{id:`move`,name:`Move`,import:(()=>Promise.resolve().then(()=>require("./move-C_uuob8a.cjs")))},{id:`narrat`,name:`Narrat Language`,aliases:[`nar`],import:(()=>Promise.resolve().then(()=>require("./narrat-JKcvFI7d.cjs")))},{id:`nextflow`,name:`Nextflow`,aliases:[`nf`],import:(()=>Promise.resolve().then(()=>require("./nextflow-0iz6OlVX.cjs")))},{id:`nextflow-groovy`,name:`Nextflow Groovy`,import:(()=>Promise.resolve().then(()=>require("./nextflow-groovy-CqTncJO_.cjs")))},{id:`nginx`,name:`Nginx`,import:(()=>Promise.resolve().then(()=>require("./nginx-CACh9sPZ.cjs")))},{id:`nim`,name:`Nim`,import:(()=>Promise.resolve().then(()=>require("./nim-B7jmB3EZ.cjs")))},{id:`nix`,name:`Nix`,import:(()=>Promise.resolve().then(()=>require("./nix-CpfxZ_bS.cjs")))},{id:`nsis`,name:`NSIS`,import:(()=>Promise.resolve().then(()=>require("./nsis-BDB4qnDs.cjs")))},{id:`nushell`,name:`nushell`,aliases:[`nu`],import:(()=>Promise.resolve().then(()=>require("./nushell-CYKxvQln.cjs")))},{id:`objective-c`,name:`Objective-C`,aliases:[`objc`],import:(()=>Promise.resolve().then(()=>require("./objective-c-Cp5on4bZ.cjs")))},{id:`objective-cpp`,name:`Objective-C++`,import:(()=>Promise.resolve().then(()=>require("./objective-cpp-B6wmQxHk.cjs")))},{id:`ocaml`,name:`OCaml`,import:(()=>Promise.resolve().then(()=>require("./ocaml-wKr4v9_0.cjs")))},{id:`odin`,name:`Odin`,import:(()=>Promise.resolve().then(()=>require("./odin-BPRqD4Ah.cjs")))},{id:`openscad`,name:`OpenSCAD`,aliases:[`scad`],import:(()=>Promise.resolve().then(()=>require("./openscad-CJt_cGbq.cjs")))},{id:`org`,name:`Org Markup`,import:(()=>Promise.resolve().then(()=>require("./org-Bm-Fs1EQ.cjs")))},{id:`pascal`,name:`Pascal`,import:(()=>Promise.resolve().then(()=>require("./pascal-DFML2M-O.cjs")))},{id:`perl`,name:`Perl`,import:(()=>Promise.resolve().then(()=>require("./perl-CIYgk-FU.cjs")))},{id:`php`,name:`PHP`,import:(()=>Promise.resolve().then(()=>require("./php-DH38roRY.cjs")))},{id:`pkl`,name:`Pkl`,import:(()=>Promise.resolve().then(()=>require("./pkl-Bqt7riVz.cjs")))},{id:`plsql`,name:`PL/SQL`,import:(()=>Promise.resolve().then(()=>require("./plsql-B0-7Px1S.cjs")))},{id:`po`,name:`Gettext PO`,aliases:[`pot`,`potx`],import:(()=>Promise.resolve().then(()=>require("./po-CiVg_bBq.cjs")))},{id:`polar`,name:`Polar`,import:(()=>Promise.resolve().then(()=>require("./polar-BNcd9b8g.cjs")))},{id:`postcss`,name:`PostCSS`,import:(()=>Promise.resolve().then(()=>require("./postcss-fpWrX1sf.cjs")))},{id:`powerquery`,name:`PowerQuery`,import:(()=>Promise.resolve().then(()=>require("./powerquery-CwCOBJJ-.cjs")))},{id:`powershell`,name:`PowerShell`,aliases:[`ps`,`ps1`,`pwsh`],import:(()=>Promise.resolve().then(()=>require("./powershell-BEiZdh4J.cjs")))},{id:`prisma`,name:`Prisma`,import:(()=>Promise.resolve().then(()=>require("./prisma-ls1kgouZ.cjs")))},{id:`prolog`,name:`Prolog`,import:(()=>Promise.resolve().then(()=>require("./prolog-DQQlePNQ.cjs")))},{id:`proto`,name:`Protocol Buffer 3`,aliases:[`protobuf`],import:(()=>Promise.resolve().then(()=>require("./proto-Dd44YrOo.cjs")))},{id:`pug`,name:`Pug`,aliases:[`jade`],import:(()=>Promise.resolve().then(()=>require("./pug-DoZlAXyU.cjs")))},{id:`puppet`,name:`Puppet`,import:(()=>Promise.resolve().then(()=>require("./puppet-CX1S_tvU.cjs")))},{id:`purescript`,name:`PureScript`,import:(()=>Promise.resolve().then(()=>require("./purescript-BIbFQw4z.cjs")))},{id:`python`,name:`Python`,aliases:[`py`],import:(()=>Promise.resolve().then(()=>require("./python-CoEq_Gwh.cjs")))},{id:`qml`,name:`QML`,import:(()=>Promise.resolve().then(()=>require("./qml-jygIc27G.cjs")))},{id:`qmldir`,name:`QML Directory`,import:(()=>Promise.resolve().then(()=>require("./qmldir-Wb6QN41x.cjs")))},{id:`qss`,name:`Qt Style Sheets`,import:(()=>Promise.resolve().then(()=>require("./qss-DT7O27HR.cjs")))},{id:`r`,name:`R`,import:(()=>Promise.resolve().then(()=>require("./r-BLUZ58Oc.cjs")).then(e=>e.n))},{id:`racket`,name:`Racket`,import:(()=>Promise.resolve().then(()=>require("./racket-CcfP1To_.cjs")))},{id:`raku`,name:`Raku`,aliases:[`perl6`],import:(()=>Promise.resolve().then(()=>require("./raku-CR7iAzRQ.cjs")))},{id:`razor`,name:`ASP.NET Razor`,import:(()=>Promise.resolve().then(()=>require("./razor-m7NZ_pEx.cjs")))},{id:`rbs`,name:`RBS`,aliases:[`ruby-signature`],import:(()=>Promise.resolve().then(()=>require("./rbs-BBAlLRGV.cjs")))},{id:`reg`,name:`Windows Registry Script`,import:(()=>Promise.resolve().then(()=>require("./reg-Dn07to7D.cjs")))},{id:`regexp`,name:`RegExp`,aliases:[`regex`],import:(()=>Promise.resolve().then(()=>require("./regexp-DF2aMHu6.cjs")).then(e=>e.n))},{id:`rel`,name:`Rel`,import:(()=>Promise.resolve().then(()=>require("./rel-CmKpxluJ.cjs")))},{id:`riscv`,name:`RISC-V`,import:(()=>Promise.resolve().then(()=>require("./riscv-BMP4WZ0H.cjs")))},{id:`ron`,name:`RON`,import:(()=>Promise.resolve().then(()=>require("./ron-DGk0b3Qo.cjs")))},{id:`rosmsg`,name:`ROS Interface`,import:(()=>Promise.resolve().then(()=>require("./rosmsg-3Nlnhifn.cjs")))},{id:`rst`,name:`reStructuredText`,import:(()=>Promise.resolve().then(()=>require("./rst-CL0hK4OH.cjs")))},{id:`ruby`,name:`Ruby`,aliases:[`rb`],import:(()=>Promise.resolve().then(()=>require("./ruby-CHSsp6bd.cjs")))},{id:`rust`,name:`Rust`,aliases:[`rs`],import:(()=>Promise.resolve().then(()=>require("./rust-DWYDZl_E.cjs")))},{id:`sas`,name:`SAS`,import:(()=>Promise.resolve().then(()=>require("./sas-CH-7XeYU.cjs")))},{id:`sass`,name:`Sass`,import:(()=>Promise.resolve().then(()=>require("./sass-BCqyx6h0.cjs")))},{id:`scala`,name:`Scala`,import:(()=>Promise.resolve().then(()=>require("./scala-XfjhEgq1.cjs")))},{id:`scheme`,name:`Scheme`,import:(()=>Promise.resolve().then(()=>require("./scheme-DudqZzgM.cjs")))},{id:`scss`,name:`SCSS`,import:(()=>Promise.resolve().then(()=>require("./scss-C7dGw39f.cjs")).then(e=>e.n))},{id:`sdbl`,name:`1C (Query)`,aliases:[`1c-query`],import:(()=>Promise.resolve().then(()=>require("./sdbl-0au37BfD.cjs")))},{id:`shaderlab`,name:`ShaderLab`,aliases:[`shader`],import:(()=>Promise.resolve().then(()=>require("./shaderlab-DQ6XiGWr.cjs")))},{id:`shellscript`,name:`Shell`,aliases:[`bash`,`sh`,`shell`,`zsh`],import:(()=>Promise.resolve().then(()=>require("./shellscript-DzADwDC7.cjs")).then(e=>e.n))},{id:`shellsession`,name:`Shell Session`,aliases:[`console`],import:(()=>Promise.resolve().then(()=>require("./shellsession-D34Gt-in.cjs")))},{id:`smalltalk`,name:`GNU Smalltalk`,import:(()=>Promise.resolve().then(()=>require("./smalltalk-Dz8YZbKb.cjs")))},{id:`smithy`,name:`Smithy`,import:(()=>Promise.resolve().then(()=>require("./smithy-D9of8KPf.cjs")))},{id:`solidity`,name:`Solidity`,import:(()=>Promise.resolve().then(()=>require("./solidity-Biifp85I.cjs")))},{id:`soy`,name:`Closure Templates`,aliases:[`closure-templates`],import:(()=>Promise.resolve().then(()=>require("./soy-Cv5kA5BX.cjs")))},{id:`sparql`,name:`SPARQL`,import:(()=>Promise.resolve().then(()=>require("./sparql-CRcYfzel.cjs")))},{id:`splunk`,name:`Splunk Query Language`,aliases:[`spl`],import:(()=>Promise.resolve().then(()=>require("./splunk-DQzoGUt4.cjs")))},{id:`sql`,name:`SQL`,import:(()=>Promise.resolve().then(()=>require("./sql-1x77nIrC.cjs")).then(e=>e.n))},{id:`ssh-config`,name:`SSH Config`,import:(()=>Promise.resolve().then(()=>require("./ssh-config-D4Uy3sIn.cjs")))},{id:`stata`,name:`Stata`,import:(()=>Promise.resolve().then(()=>require("./stata-DkbZWhWM.cjs")))},{id:`stylus`,name:`Stylus`,aliases:[`styl`],import:(()=>Promise.resolve().then(()=>require("./stylus-Dx3PW4YO.cjs")))},{id:`surrealql`,name:`SurrealQL`,aliases:[`surql`],import:(()=>Promise.resolve().then(()=>require("./surrealql-uXRgsy4L.cjs")))},{id:`svelte`,name:`Svelte`,import:(()=>Promise.resolve().then(()=>require("./svelte-DhYdFOnU.cjs")))},{id:`swift`,name:`Swift`,import:(()=>Promise.resolve().then(()=>require("./swift-DAyvnHrT.cjs")))},{id:`system-verilog`,name:`SystemVerilog`,import:(()=>Promise.resolve().then(()=>require("./system-verilog-DaXWkmcQ.cjs")))},{id:`systemd`,name:`Systemd Units`,import:(()=>Promise.resolve().then(()=>require("./systemd-Bexg9aEv.cjs")))},{id:`talonscript`,name:`TalonScript`,aliases:[`talon`],import:(()=>Promise.resolve().then(()=>require("./talonscript-Cuh6WVtP.cjs")))},{id:`tasl`,name:`Tasl`,import:(()=>Promise.resolve().then(()=>require("./tasl-C_hZgE-5.cjs")))},{id:`tcl`,name:`Tcl`,import:(()=>Promise.resolve().then(()=>require("./tcl-eNLg5lZC.cjs")))},{id:`templ`,name:`Templ`,import:(()=>Promise.resolve().then(()=>require("./templ-B8A_nNAL.cjs")))},{id:`terraform`,name:`Terraform`,aliases:[`tf`,`tfvars`],import:(()=>Promise.resolve().then(()=>require("./terraform-CxE1rO-k.cjs")))},{id:`tex`,name:`TeX`,import:(()=>Promise.resolve().then(()=>require("./tex-DEhQZyOi.cjs")).then(e=>e.n))},{id:`toml`,name:`TOML`,import:(()=>Promise.resolve().then(()=>require("./toml-ChBe3vI_.cjs")))},{id:`ts-tags`,name:`TypeScript with Tags`,aliases:[`lit`],import:(()=>Promise.resolve().then(()=>require("./ts-tags-DI5ydRJo.cjs")))},{id:`tsv`,name:`TSV`,import:(()=>Promise.resolve().then(()=>require("./tsv-CrGD5YUm.cjs")))},{id:`tsx`,name:`TSX`,import:(()=>Promise.resolve().then(()=>require("./tsx-LB2Qf5Sb.cjs")).then(e=>e.n))},{id:`turtle`,name:`Turtle`,import:(()=>Promise.resolve().then(()=>require("./turtle-CiQ07SMw.cjs")))},{id:`twig`,name:`Twig`,import:(()=>Promise.resolve().then(()=>require("./twig-C0fyOpEP.cjs")))},{id:`typescript`,name:`TypeScript`,aliases:[`ts`,`cts`,`mts`],import:(()=>Promise.resolve().then(()=>require("./typescript-CT8UeVwI.cjs")).then(e=>e.n))},{id:`typespec`,name:`TypeSpec`,aliases:[`tsp`],import:(()=>Promise.resolve().then(()=>require("./typespec-BwnSIeJG.cjs")))},{id:`typst`,name:`Typst`,aliases:[`typ`],import:(()=>Promise.resolve().then(()=>require("./typst-3LVjvi1_.cjs")))},{id:`v`,name:`V`,import:(()=>Promise.resolve().then(()=>require("./v-Ddjw-JM2.cjs")))},{id:`vala`,name:`Vala`,import:(()=>Promise.resolve().then(()=>require("./vala-DXHncjSc.cjs")))},{id:`vb`,name:`Visual Basic`,import:(()=>Promise.resolve().then(()=>require("./vb-RiRwTUiM.cjs")))},{id:`verilog`,name:`Verilog`,import:(()=>Promise.resolve().then(()=>require("./verilog-CBllI0Ed.cjs")))},{id:`vhdl`,name:`VHDL`,import:(()=>Promise.resolve().then(()=>require("./vhdl-BqB4hRAa.cjs")))},{id:`viml`,name:`Vim Script`,aliases:[`vim`,`vimscript`],import:(()=>Promise.resolve().then(()=>require("./viml-DhJi0txc.cjs")))},{id:`vue`,name:`Vue`,import:(()=>Promise.resolve().then(()=>require("./vue-Dd3o2hqW.cjs")))},{id:`vue-html`,name:`Vue HTML`,import:(()=>Promise.resolve().then(()=>require("./vue-html-DlzvdKGY.cjs")))},{id:`vue-vine`,name:`Vue Vine`,import:(()=>Promise.resolve().then(()=>require("./vue-vine-DJ0FTVBO.cjs")))},{id:`vyper`,name:`Vyper`,aliases:[`vy`],import:(()=>Promise.resolve().then(()=>require("./vyper-B72WV0D1.cjs")))},{id:`wasm`,name:`WebAssembly`,import:(()=>Promise.resolve().then(()=>require("./wasm-Dj5U0ipn.cjs")))},{id:`wenyan`,name:`Wenyan`,aliases:[`文言`],import:(()=>Promise.resolve().then(()=>require("./wenyan-B3uonrhG.cjs")))},{id:`wgsl`,name:`WGSL`,import:(()=>Promise.resolve().then(()=>require("./wgsl-ov_TUkoE.cjs")))},{id:`wikitext`,name:`Wikitext`,aliases:[`mediawiki`,`wiki`],import:(()=>Promise.resolve().then(()=>require("./wikitext-BSqo2iW8.cjs")))},{id:`wit`,name:`WebAssembly Interface Types`,import:(()=>Promise.resolve().then(()=>require("./wit-BwT5kHXA.cjs")))},{id:`wolfram`,name:`Wolfram`,aliases:[`wl`],import:(()=>Promise.resolve().then(()=>require("./wolfram-VcvJeSw6.cjs")))},{id:`xml`,name:`XML`,import:(()=>Promise.resolve().then(()=>require("./xml-KS4atlJN.cjs")).then(e=>e.n))},{id:`xsl`,name:`XSL`,import:(()=>Promise.resolve().then(()=>require("./xsl-VX4kCG3h.cjs")))},{id:`yaml`,name:`YAML`,aliases:[`yml`],import:(()=>Promise.resolve().then(()=>require("./yaml-BRDvY_60.cjs")).then(e=>e.n))},{id:`zenscript`,name:`ZenScript`,import:(()=>Promise.resolve().then(()=>require("./zenscript-DZChKBpm.cjs")))},{id:`zig`,name:`Zig`,import:(()=>Promise.resolve().then(()=>require("./zig-DhUwT1FC.cjs")))}],Bge=Object.fromEntries(x9.map(e=>[e.id,e.import])),Vge=Object.fromEntries(x9.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(t=>[t,e.import]))||[]})),S9={...Bge,...Vge},Hge=[`json`,`xml`,`markdown`],C9=null,w9=null,T9=new Map,E9=(0,n.ref)(!0);function D9(){function t(){return w9||(w9=(async()=>{try{var t,n;if(C9){E9.value=!1;return}let r=e.b(),i=await Promise.all(Hge.map(async e=>{let t=S9[e];if(!t)return[];try{return(await t()).default}catch{return[]}}));if(C9=await Zme({themes:[(t=r.getHighlighterTheme())==null?void 0:t.light,(n=r.getHighlighterTheme())==null?void 0:n.dark],langs:i.filter(Boolean).flat(),engine:zge({target:`ES2018`})}),!C9)throw Error(`Failed to create Shiki highlighter`);E9.value=!1}catch(e){throw w9=null,e}})(),w9)}async function n(e){try{await t()}catch(e){return console.error(`Failed to initialize Shiki:`,e),!1}if(!C9)return!1;if(C9.getLoadedLanguages().includes(e))return!0;let n=T9.get(e);if(n)return n;let r=(async()=>{let t=S9[e];if(!t)return console.warn(`Shiki language "${e}" not available.`),!1;try{let e=await t();return await C9.loadLanguage(e.default),!0}catch(t){return console.error(`Failed to load Shiki language "${e}":`,t),!1}finally{T9.delete(e)}})();return T9.set(e,r),r}function r(){return C9!==null}function i(e){var t;return(t=C9==null?void 0:C9.getLoadedLanguages().includes(e))!=null&&t}function a(e,{lang:t,theme:n}){return C9&&C9.getLoadedLanguages().includes(t)?C9.codeToHtml(e,{lang:t,theme:n}):`<pre><code>${e}</code></pre>`}function o(){C9=null,w9=null,T9.clear(),E9.value=!0}return{loading:E9,renderShiki:a,init:t,ensureLanguage:n,isReady:r,isLanguageLoaded:i,reset:o,initShiki:async()=>{console.warn(`initShiki is deprecated, use init instead`),await t()}}}var Uge=[`innerHTML`],Wge={__name:`OAShiki`,props:{code:{type:[String,Object,Array,Number,Boolean],required:!0},lang:{type:String,required:!0}},setup(n){let r=n,i=/background-color:[^;]+;/g,a=e.b().isDark,o=D9(),s=(0,t.ref)(null);return(0,t.watch)([()=>r.code,()=>r.lang,()=>a.value],async()=>{let e=typeof r.code==`string`?r.code:JSON.stringify(r.code,null,2);await o.ensureLanguage(r.lang);let t=o.renderShiki(e,{lang:r.lang,theme:a.value?`vitesse-dark`:`vitesse-light`});s.value=t.replace(i,`background-color:transparent;`)},{immediate:!0}),(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{innerHTML:s.value},null,8,Uge))}},Gge={class:`lang`},Kge={key:2},O9={__name:`OACodeBlock`,props:{code:{type:[String,Object,Array,Number,Boolean],required:!0},lang:{type:String,required:!0},label:{type:String,default:``},disableHtmlTransform:{type:Boolean,default:!1},active:{type:Boolean,default:!1}},setup(n){let r=n,i=e.b(),a=(0,t.computed)(()=>i.getJsonViewerRenderer()),o=(0,t.computed)(()=>r.lang===`json`&&!r.disableHtmlTransform&&a.value===`vue-json-pretty`),s=(0,t.computed)(()=>r.disableHtmlTransform?!1:r.lang!==`json`||a.value===`shiki`);return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)([`vp-adaptive-theme min-h-16`,[`language-${r.lang}`]])},[n[0]||(n[0]=(0,t.createElementVNode)(`button`,{title:`Copy Code`,class:`copy`},null,-1)),(0,t.createElementVNode)(`span`,Gge,(0,t.toDisplayString)(r.label),1),o.value?((0,t.openBlock)(),(0,t.createBlock)(ge,{key:0,code:r.code},null,8,[`code`])):s.value?((0,t.openBlock)(),(0,t.createBlock)(Wge,{key:1,code:r.code,lang:r.lang},null,8,[`code`,`lang`])):((0,t.openBlock)(),(0,t.createElementBlock)(`pre`,Kge,[(0,t.createElementVNode)(`code`,null,(0,t.toDisplayString)(r.code),1)]))],2))}},qge=[`src`,`alt`],Jge=[`aria-label`],Yge=[`src`,`type`],Xge={key:3},Zge={key:4},Qge={class:`whitespace-pre-wrap`},$ge=(0,n.defineComponent)({__name:`OAPlaygroundResponseContent`,props:{response:{}},setup(e){let t=e,{t:r}=l(),i=e=>(0,n.computed)(()=>e.test(t.response.type)),a=i(/json/i),o=i(/xml/i),s=i(/text\/html/i),c=i(/text\/plain/i),u=i(/text\/csv/i),d=i(/^image\//i),f=i(/^audio\//i),p=e=>{if(!t.response.headers)return null;let n=Object.entries(t.response.headers).find(([t])=>t.toLowerCase()===e.toLowerCase());return n?n[1]:null},m=(0,n.computed)(()=>{var e;return(e=p(`content-disposition`))==null?``:e}),h=(0,n.computed)(()=>id(t.response.type,m.value)),g=(0,n.computed)(()=>a.value?`json`:o.value?`xml`:s.value?`html`:c.value?`plaintext`:u.value?`csv`:`plaintext`),_=(0,n.computed)(()=>a.value?`JSON`:o.value?`XML`:s.value?`HTML`:c.value?`Plain Text`:u.value?`CSV`:`Plain Text`),v=(0,n.ref)(``);(0,n.watch)(()=>t.response,()=>{f.value&&t.response.body instanceof Blob?v.value=URL.createObjectURL(t.response.body):v.value=``},{immediate:!0}),(0,n.onBeforeUnmount)(()=>{v.value&&URL.revokeObjectURL(v.value)});let y=(0,n.computed)(()=>t.response.body&&JSON.stringify(t.response.body).length>1e3),b=(0,n.computed)(()=>efe(p(`content-disposition`),`response_file`)),x=(e,t)=>{let n;n=e instanceof Blob?e:typeof e==`string`?new Blob([e],{type:`application/octet-stream`}):new Blob([JSON.stringify(e)],{type:`application/octet-stream`});let r=URL.createObjectURL(n),i=document.createElement(`a`);i.href=r,i.download=t,i.click(),URL.revokeObjectURL(r)};return(e,i)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,null,[(0,n.unref)(a)||(0,n.unref)(o)||(0,n.unref)(s)||(0,n.unref)(c)||(0,n.unref)(u)?((0,n.openBlock)(),(0,n.createBlock)(O9,{key:0,code:t.response.body,lang:g.value,label:_.value,"disable-html-transform":y.value,active:``,class:`m-0!`},null,8,[`code`,`lang`,`label`,`disable-html-transform`])):(0,n.unref)(d)?((0,n.openBlock)(),(0,n.createElementBlock)(`img`,{key:1,src:t.response.body,alt:(0,n.unref)(r)(`Response Image`),style:{"max-width":`100%`}},null,8,qge)):(0,n.unref)(f)?((0,n.openBlock)(),(0,n.createElementBlock)(`audio`,{key:2,controls:``,class:`w-full mt-2`,"aria-label":(0,n.unref)(r)(`Audio response`)},[(0,n.createElementVNode)(`source`,{src:v.value,type:t.response.type},null,8,Yge),(0,n.createTextVNode)(` `+(0,n.toDisplayString)((0,n.unref)(r)(`Your browser does not support the audio element.`)),1)],8,Jge)):h.value?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Xge,[(0,n.createElementVNode)(`button`,{type:`button`,"aria-label":`Download file`,onClick:i[0]||(i[0]=e=>x(t.response.body,b.value))},(0,n.toDisplayString)((0,n.unref)(r)(`Download file`)),1)])):((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Zge,[(0,n.createElementVNode)(`p`,null,(0,n.toDisplayString)((0,n.unref)(r)(`Unrecognized response type. Raw content:`)),1),(0,n.createElementVNode)(`pre`,Qge,(0,n.toDisplayString)(t.response.body),1)]))]))}}),e_e={key:0,open:``},t_e={class:`my-0! text-lg font-bold cursor-pointer`},n_e={class:`inline-flex items-center gap-2 w-[calc(100%-24px)]`},r_e={class:`flex flex-col gap-2`},i_e={key:0,class:`text-sm text-muted-foreground`},a_e={class:`flex flex-col max-h-96 overflow-y-auto`},o_e=(0,n.defineComponent)({__name:`OAPlaygroundResponse`,props:{response:{type:null,required:!1},loading:{type:Boolean,default:!1}},setup(e){let{t}=l();return(r,i)=>e.response||e.loading?((0,n.openBlock)(),(0,n.createElementBlock)(`details`,e_e,[(0,n.createElementVNode)(`summary`,t_e,[(0,n.createElementVNode)(`div`,n_e,[(0,n.createElementVNode)(`span`,null,(0,n.toDisplayString)(e.loading?(0,n.unref)(t)(`Loading`):(0,n.unref)(t)(`Response`)),1),i[0]||(i[0]=(0,n.createElementVNode)(`span`,{class:`flex-1`},null,-1)),e.response&&e.response.status?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Zt),{key:0,variant:`plain`,class:(0,n.normalizeClass)([`rounded py-1.5`,{"bg-green-100 text-green-800 dark:bg-green-800 dark:text-green-100":String(e.response.status).startsWith(`2`),"bg-yellow-100 text-yellow-800 dark:bg-yellow-800 dark:text-yellow-100":String(e.response.status).startsWith(`3`),"bg-red-100 text-red-800 dark:bg-red-800 dark:text-red-100":String(e.response.status).startsWith(`4`)||String(e.response.status).startsWith(`5`)}])},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.response.status),1)]),_:1},8,[`class`])):(0,n.createCommentVNode)(``,!0)])]),(0,n.createElementVNode)(`div`,r_e,[e.response?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,i_e,(0,n.toDisplayString)((0,n.unref)(t)(`Response time`))+`: `+(0,n.toDisplayString)(e.loading?(0,n.unref)(t)(`Loading`):`${e.response.time}ms`),1)):(0,n.createCommentVNode)(``,!0),(0,n.createElementVNode)(`div`,a_e,[e.response?((0,n.openBlock)(),(0,n.createBlock)($ge,{key:0,response:e.response},null,8,[`response`])):(0,n.createCommentVNode)(``,!0)])])])):(0,n.createCommentVNode)(``,!0)}}),s_e={class:`flex flex-col gap-2`},c_e={class:`flex flex-col gap-2`},k9=(0,n.defineComponent)({__name:`OAPlayground`,props:{operationId:{type:String,required:!0},path:{type:String,required:!0},method:{type:String,required:!0},hideEndpoint:{type:Boolean,default:!1},servers:{type:Array,default:()=>[]},parameters:{type:Array,required:!1},requestBody:{type:Object,required:!1},securityUi:{type:Object,required:!0},headingPrefix:{type:String,required:!1,default:``}},setup(t){let r=t,{loading:i,response:a,submitRequest:o,cleanupImageUrls:s}=od(),c=(0,n.inject)(rd),{t:u}=l(),d=(0,n.computed)(()=>!!r.requestBody),f=(0,n.computed)(()=>{var e;return Object.keys((e=r.securityUi)==null?{}:e).length>0}),p=(0,n.computed)(()=>{var e;return!!((e=r.parameters)!=null&&e.length||d.value||f.value)}),m=e.b(),h=(0,n.computed)(()=>m.getOperationCols()),g=(0,n.computed)(()=>m.getPlaygroundExamplesBehavior()),_=(0,n.computed)(()=>m.getPlaygroundXExampleBehavior()),v=(0,n.computed)(()=>{var e,t;let n=c.requestBody.selectedContentType.value;return!n||!((e=r.requestBody)!=null&&(e=e.content)!=null&&e[n])?{}:(t=r.requestBody)==null||(t=t.content)==null||(t=t[n])==null?void 0:t.examples});async function y(){c.playground.request.value&&await o({request:c.playground.request.value,method:r.method,baseUrl:c.playground.selectedServer.value,path:r.path,operationId:r.operationId})}return(0,n.onBeforeUnmount)(()=>{s()}),(e,o)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,s_e,[(0,n.createVNode)(vn,{level:`h2`,prefix:t.headingPrefix,class:(0,n.normalizeClass)([`block`,{"sm:hidden":h.value===2}])},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)((0,n.unref)(u)(`Playground`)),1)]),_:1},8,[`prefix`,`class`]),p.value?((0,n.openBlock)(),(0,n.createBlock)(Zde,{key:0,"operation-id":r.operationId,path:r.path,method:r.method,servers:r.servers,parameters:r.parameters,"security-ui":r.securityUi,examples:v.value,"example-behavior":g.value,"x-example-behavior":_.value,"request-body":r.requestBody,onSubmit:y},null,8,[`operation-id`,`path`,`method`,`servers`,`parameters`,`security-ui`,`examples`,`example-behavior`,`x-example-behavior`,`request-body`])):(0,n.createCommentVNode)(``,!0),(0,n.createElementVNode)(`div`,c_e,[(0,n.createVNode)((0,n.unref)(Qd),{variant:`primary`,onClick:y},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)((0,n.unref)(u)(`Try it out`)),1)]),_:1}),(0,n.unref)(a)||(0,n.unref)(i)?((0,n.openBlock)(),(0,n.createBlock)(o_e,{key:0,response:(0,n.unref)(a),loading:(0,n.unref)(i)},null,8,[`response`,`loading`])):(0,n.createCommentVNode)(``,!0)])]))}}),l_e={key:1,class:`ml-auto max-w-40 hover:max-w-full truncate transition-all duration-200 ease-in-out`},u_e={class:`h-6 text-xs rounded-md bg-muted px-3 py-1`},A9={__name:`OAContentTypeSelect`,props:{id:{type:String,required:!0},contentType:{type:String,required:!0},contentTypes:{type:Array,required:!0},modelValue:{type:String,default:``}},emits:[`update:modelValue`],setup(e,{emit:n}){let r=e,i=n,a=(0,t.ref)(r.modelValue||r.contentType||(r.contentTypes.length>0?r.contentTypes[0]:void 0));return(0,t.watch)(a,e=>{i(`update:modelValue`,e)}),(0,t.watch)(()=>r.modelValue,e=>{e!==a.value&&(a.value=e)}),(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,null,[e.contentTypes.length>1?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Pu),{key:0,modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=e=>a.value=e)},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(Qu),{"aria-label":`Content-Type`,class:`h-6 text-xs`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)($u),null,{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(a.value),1)]),_:1})]),_:1}),(0,t.createVNode)((0,t.unref)(Fu),null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(Iu),null,{default:(0,t.withCtx)(()=>[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.contentTypes,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Zu),{key:n,value:e},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e),1)]),_:2},1032,[`value`]))),128))]),_:1})]),_:1})]),_:1},8,[`modelValue`])):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,l_e,[(0,t.createElementVNode)(`span`,u_e,(0,t.toDisplayString)(a.value),1)]))]))}},j9=(0,n.defineComponent)({__name:`Collapsible`,props:{defaultOpen:{type:Boolean},open:{type:Boolean},disabled:{type:Boolean},unmountOnHide:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:open`],setup(e,{emit:t}){let r=Co(e,t);return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Lo),(0,n.normalizeProps)((0,n.guardReactiveProps)((0,n.unref)(r))),{default:(0,n.withCtx)(({open:t})=>[(0,n.renderSlot)(e.$slots,`default`,{open:t})]),_:3},16))}}),d_e=(0,n.defineComponent)({__name:`CollapsibleContent`,props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){let t=e;return(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ro),(0,n.mergeProps)(t,{class:`overflow-hidden transition-all data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down`}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),M9=(0,n.defineComponent)({__name:`CollapsibleTrigger`,props:{asChild:{type:Boolean},as:{}},setup(e){let t=e;return(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(zo),(0,n.normalizeProps)((0,n.guardReactiveProps)(t)),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),N9=(0,n.defineComponent)({__name:`Tooltip`,props:{defaultOpen:{type:Boolean},open:{type:Boolean},delayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},emits:[`update:open`],setup(e,{emit:t}){let r=Co(e,t);return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ou),(0,n.normalizeProps)((0,n.guardReactiveProps)((0,n.unref)(r))),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),P9=(0,n.defineComponent)({inheritAttrs:!1,__name:`TooltipContent`,props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},class:{type:[Boolean,null,String,Object,Array]}},emits:[`escapeKeyDown`,`pointerDownOutside`],setup(e,{emit:t}){let r=e,i=t,a=Co((0,n.computed)(()=>{let{class:e,...t}=r;return t}),i);return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Mu),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(ju),(0,n.mergeProps)({...(0,n.unref)(a),...e.$attrs},{class:(0,n.unref)(qt)(`z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2`,r.class)}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`class`])]),_:3}))}}),F9=(0,n.defineComponent)({__name:`TooltipProvider`,props:{delayDuration:{},skipDelayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean},content:{}},setup(e){let t=e;return(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(wu),(0,n.normalizeProps)((0,n.guardReactiveProps)(t)),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),I9=(0,n.defineComponent)({__name:`TooltipTrigger`,props:{reference:{},asChild:{type:Boolean},as:{}},setup(e){let t=e;return(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Nu),(0,n.normalizeProps)((0,n.guardReactiveProps)(t)),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),f_e={class:`text-xs text-muted-foreground`},L9={__name:`OASchemaPropertyAttributes`,props:{property:{type:Object,required:!0}},setup(e){let n=e,{t:r}=l(),i=[`name`,`types`,`description`,`properties`,`required`,`items`,`xml`,`allOf`,`anyOf`,`oneOf`,`not`],a=e=>e==null?!1:Array.isArray(e)?e.length>0:typeof e!=`object`||Object.keys(e).length>0,o=Object.keys(n.property).filter(e=>!i.includes(e)).filter(e=>a(n.property[e])||e==="default"&&n.property[e]!==void 0);return(e,i)=>((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(o),(e,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:i,class:`flex flex-row flex-wrap items-center gap-2`},[(0,t.createElementVNode)(`span`,f_e,(0,t.toDisplayString)((0,t.unref)(r)((0,t.unref)(nd)(e))),1),(0,t.createVNode)(dd,{value:n.property[e]},null,8,[`value`])]))),128))}},p_e={class:`flex flex-row flex-wrap items-center gap-2 text-sm`},m_e={key:0,class:`font-bold`},h_e={class:`flex items-center`},g_e={class:`flex flex-row items-center gap-1 text-muted-foreground`},__e={key:1},v_e={key:2},y_e={key:0,class:`select-all`},b_e={key:0},x_e={key:1,class:`flex items-center`},S_e={class:`flex-grow mx-2`},C_e={key:0,class:`h-px bg-transparent group-hover:bg-gray-200 dark:group-hover:bg-gray-800`},w_e={class:`text-red-800 dark:text-red-200 text-xs`},T_e={class:`flex size-4 cursor-pointer items-center justify-center p-[2px]`},E_e={class:`flex flex-col space-y-2`},D_e={__name:`OASchemaUI`,props:{property:{type:Object,required:!0},schema:{type:Object,required:!0},deep:{type:Number,default:1/0},level:{type:Number,default:0},open:{type:Boolean,default:void 0},expandAll:{type:Boolean,default:void 0}},setup(e){var n,r,i,a;let o=e,{t:s}=l(),c=(0,t.ref)(o.open===void 0?o.deep>0&&o.level<=o.deep:o.open),u=(0,t.ref)(void 0);(0,t.watch)(()=>o.expandAll,e=>{e!==void 0&&(c.value=e,u.value=e)},{immediate:!0});let d=e=>{u.value=e,c.value=e},f=((n=o.property.meta)==null?void 0:n.isOneOf)===!0||((r=o.property.meta)==null?void 0:r.isAnyOf)===!0,p=((i=o.property.types)==null?void 0:i.includes(`object`))||f,m=(a=o.property.types)==null?void 0:a.includes(`array`),h=p||m||o.property.type===`object`||o.property.type===`array`,g=(0,t.computed)(()=>h?!!(Array.isArray(o.property.properties)&&o.property.properties.length>0||o.property.items):!1),_=(0,t.computed)(()=>o.property.properties?o.property.properties:o.property.items?[o.property.items]:[]),v=(0,t.computed)(()=>o.property.properties&&o.property.properties.length>0&&o.property.properties.some(e=>{var t,n;return(((t=e.types)==null?void 0:t.includes(`object`))||((n=e.types)==null?void 0:n.includes(`array`))||e.type===`object`||e.type===`array`)&&e.properties})),y=(0,t.computed)(()=>o.property&&o.property.properties&&o.property.properties.length>0&&o.property.properties.some(e=>e.items)),b=(0,t.computed)(()=>h&&(v.value||y.value)),x=(0,t.computed)(()=>{var e,t;return((e=o.property.meta)==null?void 0:e.isOneOf)===!0?s(`One of`):((t=o.property.meta)==null?void 0:t.isAnyOf)===!0?s(`Any of`):``}),S=(0,t.computed)(()=>c.value?s(`Collapse`):s(`Expand`)),C=(0,t.computed)(()=>c.value?s(`Collapse all`):s(`Expand all`)),w=(0,t.computed)(()=>({"Valid values":o.property.enum})),T=(0,t.computed)(()=>o.property.name||o.property.title);return(e,n)=>{let r=(0,t.resolveComponent)(`OASchemaUI`,!0);return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,null,[(0,t.createVNode)((0,t.unref)(j9),{open:c.value,"onUpdate:open":n[1]||(n[1]=e=>c.value=e),disabled:!g.value},{default:(0,t.withCtx)(()=>{var e,i;return[(0,t.createVNode)((0,t.unref)(M9),{class:`w-full`},{default:(0,t.withCtx)(()=>{var e,r,i;return[(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)([`flex flex-col text-start space-y-1 group select-text`,{"cursor-pointer":g.value}])},[(0,t.createElementVNode)(`div`,p_e,[T.value?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,m_e,(0,t.toDisplayString)(T.value),1)):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`div`,h_e,[(0,t.createVNode)((0,t.unref)(F9),null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(N9),{"delay-duration":200},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(I9),{"as-child":``},{default:(0,t.withCtx)(()=>[g.value?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Qd),{key:0,as:`div`,size:`icon`,variant:`icon`,"aria-label":S.value,class:`flex-shrink-0 w-4 h-4 cursor-pointer`},{default:(0,t.withCtx)(()=>[c.value?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Ju),{key:0})):((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Yu),{key:1}))]),_:1},8,[`aria-label`])):(0,t.createCommentVNode)(``,!0)]),_:1}),(0,t.createVNode)((0,t.unref)(P9),null,{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`p`,null,(0,t.toDisplayString)(S.value),1)]),_:1})]),_:1})]),_:1})]),(0,t.createElementVNode)(`div`,g_e,[((e=o.property.meta)==null?void 0:e.isCircularReference)===!0?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Zt),{key:0,variant:`outline`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(s)(`Circular Reference`)),1)]),_:1})):o.property.types.length===1&&[`array`].includes(o.property.types[0])&&o.property.subtype?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,__e,(0,t.toDisplayString)(o.property.subtype)+`[]`,1)):o.property.types.length===1&&[`object`].includes(o.property.types[0])&&o.property.subtype?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,v_e,(0,t.toDisplayString)(o.property.subtype),1)):((r=o.property.meta)==null?void 0:r.isConstant)===!0?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:3},[(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)((0,t.unref)(s)(`const:`)),1),((i=o.property.examples)==null?void 0:i.length)>0?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,y_e,(0,t.toDisplayString)(o.property.examples[0]),1)):(0,t.createCommentVNode)(``,!0)],64)):((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,{key:4},(0,t.renderList)(o.property.types,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`span`,{key:e},[(0,t.createTextVNode)((0,t.toDisplayString)(e)+` `,1),n===o.property.types.length-1?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`span`,b_e,`|`))]))),128))]),b.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,x_e,[(0,t.createVNode)((0,t.unref)(F9),null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(N9),{"delay-duration":200},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(I9),{"as-child":``},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(Qd),{as:`div`,size:`icon`,variant:`icon`,"aria-label":C.value,onClick:n[0]||(n[0]=(0,t.withModifiers)(e=>d(!c.value),[`stop`,`prevent`]))},{default:(0,t.withCtx)(()=>[c.value?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Hte),{key:0})):((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Vte),{key:1}))]),_:1},8,[`aria-label`])]),_:1}),(0,t.createVNode)((0,t.unref)(P9),null,{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`p`,null,(0,t.toDisplayString)(C.value),1)]),_:1})]),_:1})]),_:1})])):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`div`,S_e,[o.property.required===!0?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,C_e)):(0,t.createCommentVNode)(``,!0)]),(0,t.createElementVNode)(`span`,w_e,(0,t.toDisplayString)(o.property.required===!0?(0,t.unref)(s)(`Required`):``),1)])],2)]}),_:1}),(e=o.property)!=null&&e.description?((0,t.openBlock)(),(0,t.createBlock)(Pn,{key:0,content:o.property.description,class:(0,t.normalizeClass)([`text-sm`,{"pl-2":(0,t.unref)(h)}])},null,8,[`content`,`class`])):(0,t.createCommentVNode)(``,!0),o.property.enum?((0,t.openBlock)(),(0,t.createBlock)(L9,{key:1,property:w.value},null,8,[`property`])):(0,t.createCommentVNode)(``,!0),o.property.constraints?((0,t.openBlock)(),(0,t.createBlock)(L9,{key:2,property:o.property.constraints},null,8,[`property`])):(0,t.createCommentVNode)(``,!0),g.value&&(i=o.property)!=null&&i.description?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(M9),{key:3},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(Qd),{as:`div`,variant:`outline`,size:`xs`,class:`flex items-center font-normal rounded-md h-auto pr-1 text-sm gap-0.5`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(S.value)+` `,1),(0,t.createElementVNode)(`div`,T_e,[c.value?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Xu),{key:0})):((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Yu),{key:1}))])]),_:1})]),_:1})):(0,t.createCommentVNode)(``,!0),(0,t.unref)(h)?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(d_e),{key:4,class:`ml-2 pl-2 border-l border-l-solid`},{default:(0,t.withCtx)(()=>[(0,t.unref)(f)?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Zt),{key:0,variant:`outline`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(x.value),1)]),_:1})):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`div`,E_e,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(_.value,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(r,{key:n,property:e,schema:o.schema,deep:o.deep-1,level:o.level+1,open:u.value===void 0?(0,t.unref)(f)?!0:void 0:u.value,"expand-all":u.value},null,8,[`property`,`schema`,`deep`,`level`,`open`,`expand-all`]))),128))])]),_:1})):(0,t.createCommentVNode)(``,!0)]}),_:1},8,[`open`,`disabled`])])}}},R9=(0,n.defineComponent)({__name:`Tabs`,props:{defaultValue:{},orientation:{},dir:{},activationMode:{},modelValue:{},unmountOnHide:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:modelValue`],setup(e,{emit:t}){let r=Co(e,t);return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(hu),(0,n.normalizeProps)((0,n.guardReactiveProps)((0,n.unref)(r))),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),z9=(0,n.defineComponent)({__name:`TabsContent`,props:{value:{},forceMount:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e,r=(0,n.computed)(()=>{let{class:e,...n}=t;return n});return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(vu),(0,n.mergeProps)({class:(0,n.unref)(qt)(`mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2`,t.class)},r.value),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`class`]))}}),B9=(0,n.defineComponent)({__name:`TabsList`,props:{loop:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e,r=(0,n.computed)(()=>{let{class:e,...n}=t;return n});return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(bu),(0,n.mergeProps)(r.value,{class:(0,n.unref)(qt)(`inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground`,t.class)}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`class`]))}}),V9=(0,n.defineComponent)({__name:`TabsTrigger`,props:{variant:{},class:{type:[Boolean,null,String,Object,Array]},value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){let t=e,r=So((0,n.computed)(()=>{let{class:e,...n}=t;return n}));return(i,a)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(xu),(0,n.mergeProps)((0,n.unref)(r),{class:(0,n.unref)(qt)((0,n.unref)(O_e)({variant:e.variant}),t.class)}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(i.$slots,`default`)]),_:3},16,[`class`]))}}),O_e=M(`inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50`,{variants:{variant:{default:`data-[state=active]:text-foreground`,select:`relative flex w-full`,schemaTabs:`data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm`}}}),k_e={class:`flex flex-col gap-2`},A_e={class:`flex flex-col gap-2`},H9={__name:`OASchemaTabs`,props:{schema:{type:Object,required:!0},examples:{type:null,required:!1},defaultView:{type:String,required:!1}},setup(n){let r=n,i=e.b().getSchemaViewerDeep(),{t:a}=l(),o=(0,t.computed)(()=>{var e,t;let n=Object.keys((e=r.examples)==null?{}:e);return(t={schema:`schema`,contentType:n!=null&&n.length?`examples.${n[0]}`:`schema`,autogenerated:(()=>{let e=n.find(e=>{var t;return(t=r.examples[e])==null?void 0:t.isAutogenerated});return e?`examples.${e}`:`schema`})()}[r.defaultView])==null?r.defaultView:t});return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(R9),{key:o.value,"default-value":o.value},{default:(0,t.withCtx)(()=>{var e;return[(0,t.createVNode)((0,t.unref)(B9),{class:`relative flex flex-row justify-start overflow-x-auto`},{default:(0,t.withCtx)(()=>{var e;return[(0,t.createVNode)((0,t.unref)(V9),{value:`schema`,variant:`schemaTabs`,class:`h-full`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(a)(`Schema`)),1)]),_:1}),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((e=r.examples)==null?{}:e,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(V9),{key:n,value:`examples.${n}`,variant:`schemaTabs`,class:`h-full`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(n),1)]),_:2},1032,[`value`]))),128))]}),_:1}),(0,t.createVNode)((0,t.unref)(z9),{value:`schema`},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,k_e,[(0,t.createVNode)(D_e,{property:r.schema,schema:r.schema,deep:(0,t.unref)(i)},null,8,[`property`,`schema`,`deep`])])]),_:1}),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((e=r.examples)==null?{}:e,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(z9),{key:n,value:`examples.${n}`},{default:(0,t.withCtx)(()=>{var n,r;return[(0,t.createElementVNode)(`div`,A_e,[e!=null&&e.description?((0,t.openBlock)(),(0,t.createBlock)(Pn,{key:0,content:e==null?void 0:e.description},null,8,[`content`])):(0,t.createCommentVNode)(``,!0),e!=null&&e.value?((0,t.openBlock)(),(0,t.createBlock)(O9,{key:1,code:e==null?void 0:e.value,lang:(n=e==null?void 0:e.lang)==null?`json`:n,label:((r=e==null?void 0:e.lang)==null?`json`:r).toUpperCase(),active:``,class:`m-0!`},null,8,[`code`,`lang`,`label`])):(0,t.createCommentVNode)(``,!0)])]}),_:2},1032,[`value`]))),128))]}),_:1},8,[`default-value`]))}},j_e={class:`mt-[48px] mb-[16px] pt-[24px] border-t-[1px] border-(--vp-c-divider) flex flex-row items-center`},M_e={class:`relative flex-1`},N_e={class:`absolute inset-x-0 top-[-14px] w-full flex justify-end`},U9=(0,n.defineComponent)({__name:`OARequestBody`,props:{operationId:{type:String,required:!0},requestBody:{type:Object,required:!0},headingPrefix:{type:String,default:null}},setup(t){let r=t,i=e.b().getRequestBodyDefaultView(),a=`request-body-content-type-${r.operationId}`,o=(0,n.inject)(rd),{t:s}=l(),c=(0,n.computed)({get:()=>o.requestBody.selectedContentType.value,set:e=>{o.requestBody.selectedContentType.value=e}}),u=(0,n.computed)(()=>{var e,t,n;return!c.value||!((e=r.requestBody)!=null&&(e=e.content)!=null&&e[c.value])||(t=(n=r.requestBody)==null||(n=n.content)==null||(n=n[c.value])==null?void 0:n.ui)==null?{}:t}),d=(0,n.computed)(()=>{var e,t,n;return!c.value||!((e=r.requestBody)!=null&&(e=e.content)!=null&&e[c.value])?{}:Object.entries((t=(n=r.requestBody)==null||(n=n.content)==null||(n=n[c.value])==null?void 0:n.examples)==null?{}:t).reduce((e,[t,n])=>(n!=null&&n.hideOnSchemaTabs||(e[t]=n),e),{})});return(e,o)=>{var l,f;return(0,n.openBlock)(),(0,n.createElementBlock)(`div`,null,[(0,n.createElementVNode)(`div`,j_e,[(0,n.createVNode)(vn,{level:`h2`,prefix:t.headingPrefix,class:`text-[color:var(--vp-c-text-1)] my-0! py-0! border-t-0! inline-block`,"header-anchor-class":`top-0!`},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)((0,n.unref)(s)(`Request Body`)),1)]),_:1},8,[`prefix`]),(0,n.createElementVNode)(`div`,M_e,[(0,n.createElementVNode)(`div`,N_e,[(0,n.createVNode)(A9,{id:a,modelValue:c.value,"onUpdate:modelValue":o[0]||(o[0]=e=>c.value=e),"content-type":c.value,"content-types":Object.keys((l=(f=r.requestBody)==null?void 0:f.content)==null?{}:l)},null,8,[`modelValue`,`content-type`,`content-types`])])])]),(0,n.createVNode)(H9,{schema:u.value,examples:d.value,"content-type":c.value,"default-view":(0,n.unref)(i)},null,8,[`schema`,`examples`,`content-type`,`default-view`])])}}}),P_e={class:`flex flex-col space-y-4`},F_e={key:1,class:`flex flex-row items-center gap-2 text-xs`},I_e={class:`flex-shrink-0`},L_e={__name:`OAResponse`,props:{operationId:{type:String,required:!0},response:{type:Object,required:!0},responseCode:{type:String,required:!0}},setup(n){var r,i;let a=n,o=Object.keys((r=a.response.content)==null?{}:r),s=(0,t.ref)((i=o[0])==null?void 0:i),c=(0,t.computed)(()=>{var e;return(e=a.response.content)==null||(e=e[s.value])==null?void 0:e.ui}),u=(0,t.computed)(()=>{var e;return(e=a.response.content)==null||(e=e[s.value])==null?void 0:e.examples}),d=`content-type-${Math.random().toString(36).substring(7)}`,f=e.b().getResponseBodyDefaultView(),{t:p}=l();return(e,n)=>{var r;return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,P_e,[a.response.description?((0,t.openBlock)(),(0,t.createBlock)(Pn,{key:0,content:a.response.description},null,8,[`content`])):(0,t.createCommentVNode)(``,!0),(r=a.response)!=null&&r.content&&(0,t.unref)(o).length?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,F_e,[(0,t.createVNode)((0,t.unref)(Q3),{for:d,class:`flex-shrink-0 text-muted-foreground`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(p)(`Content-Type`)),1)]),_:1}),(0,t.createElementVNode)(`div`,I_e,[(0,t.createVNode)(A9,{id:d,modelValue:s.value,"onUpdate:modelValue":n[0]||(n[0]=e=>s.value=e),"content-type":s.value,"content-types":(0,t.unref)(o)},null,8,[`modelValue`,`content-type`,`content-types`])])])):(0,t.createCommentVNode)(``,!0),c.value?((0,t.openBlock)(),(0,t.createBlock)(H9,{key:2,schema:c.value,examples:u.value,"content-type":s.value,"default-view":(0,t.unref)(f)},null,8,[`schema`,`examples`,`content-type`,`default-view`])):(0,t.createCommentVNode)(``,!0)])}}},R_e={class:`flex flex-col`},z_e={class:`mt-[48px] mb-[16px] pt-[24px] border-t-[1px] border-(--vp-c-divider) flex flex-wrap flex-row items-center justify-between gap-y-[16px]`},B_e={class:`w-full flex`},V_e={class:`relative flex flex-row`},W9={__name:`OAResponses`,props:{operationId:{type:String,required:!0},responses:{type:Object,required:!0},headingPrefix:{type:String,default:null}},setup(n){let r=n,i=e.b(),{t:a}=l(),o=Object.keys(r.responses),s=(0,t.ref)(o&&o.length>0?o[0]:null),c=(0,t.computed)(()=>{let e=i.getResponseCodeSelector();if(e===`tabs`){let e=i.getResponseCodeMaxTabs();return e&&o.length>e?`select`:`tabs`}return e});return(e,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,R_e,[(0,t.createVNode)((0,t.unref)(R9),{"default-value":s.value},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,z_e,[(0,t.createVNode)(vn,{level:`h2`,prefix:n.headingPrefix,class:`text-[color:var(--vp-c-text-1)] my-0! py-0! border-t-0! inline-block`,"header-anchor-class":`top-0!`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(a)(`Responses`)),1)]),_:1},8,[`prefix`]),(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)({"overflow-x-auto":(0,t.unref)(o).length>1})},[(0,t.createElementVNode)(`div`,B_e,[(0,t.createVNode)((0,t.unref)(B9),{class:`bg-transparent text-muted-foreground p-0`},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,V_e,[c.value===`tabs`?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createVNode)((0,t.unref)(yu),{class:`absolute left-0 h-full bottom-0 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position) rounded transition-[width,transform] duration-300 bg-muted`}),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(o),e=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(V9),{key:e,value:e,class:`h-full z-10`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e),1)]),_:2},1032,[`value`]))),128))],64)):(0,t.createCommentVNode)(``,!0),c.value===`select`?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Pu),{key:1,modelValue:s.value,"onUpdate:modelValue":i[0]||(i[0]=e=>s.value=e)},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(Qu),{"aria-label":`Response Code`,class:`px-3 py-1.5 text-foreground`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)($u),null,{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(s.value),1)]),_:1})]),_:1}),(0,t.createVNode)((0,t.unref)(Fu),null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(Iu),null,{default:(0,t.withCtx)(()=>[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(o),(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(V9),{key:n,value:e,variant:`select`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(Zu),{value:e},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e),1)]),_:2},1032,[`value`])]),_:2},1032,[`value`]))),128))]),_:1})]),_:1})]),_:1},8,[`modelValue`])):(0,t.createCommentVNode)(``,!0)])]),_:1})])],2)]),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(o),e=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(z9),{key:e,value:e},{default:(0,t.withCtx)(()=>[r.responses[e]?((0,t.openBlock)(),(0,t.createBlock)(L_e,{key:0,"operation-id":r.operationId,response:r.responses[e],"response-code":e},null,8,[`operation-id`,`response`,`response-code`])):(0,t.createCommentVNode)(``,!0)]),_:2},1032,[`value`]))),128))]),_:1},8,[`default-value`])]))}},H_e={key:0,class:`vp-code-group vp-adaptive-theme mt-0`},U_e={class:`tabs m-0!`},W_e=[`id`,`checked`,`onChange`],G_e=[`for`,`data-title`],K_e={class:`blocks`},G9=(0,n.defineComponent)({__name:`OACodeSamples`,props:{operationId:{type:String,required:!0}},setup(t){let r=t,i=(0,n.inject)(rd),a=e.b(),o=D9(),s=a.getCodeSamplesAvailableLanguages(),c=a.getCodeSamplesGenerator(),l=(0,n.ref)([]),u=(0,n.ref)(``),d=`group-${r.operationId}`;return(0,n.watch)(i.playground.request,async(e,t,n)=>{let i=!1;if(n(()=>{i=!0}),!s||!c)return;let d=await Promise.all(s.map(async t=>{let{lang:n,target:i,client:a,highlighter:o}=t,s=[n,i,a].filter(Boolean).join(`-`),l=`tab-${r.operationId}-${s}`;try{let n=await c(t,e);if(!n)throw Error(`Code generator returned empty result.`);return{...t,key:s,tabId:l,highlighter:o||`plain`,source:n}}catch(e){return console.error(`Failed to generate code sample for '${n}'`,{langConfig:t,error:e}),{...t,key:s,tabId:l,highlighter:`shell`,source:`// Failed to generate sample.
4042
- // Please check the console for details.`}}}));if(i)return;let f=[...new Set(d.map(e=>e.highlighter).filter(Boolean))];if(await Promise.all(f.map(e=>o.ensureLanguage(e))),!i&&(l.value=d,!u.value||!l.value.some(e=>e.key===u.value))){let e=a.getCodeSamplesDefaultLang(),t=l.value.find(t=>t.lang===e)||l.value[0];t&&(u.value=t.key)}},{deep:!0,immediate:!0}),(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,null,[l.value.length?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,H_e,[(0,n.createElementVNode)(`div`,U_e,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(l.value,e=>((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:e.key},[(0,n.createElementVNode)(`input`,{id:e.tabId,type:`radio`,name:d,checked:u.value===e.key,onChange:t=>u.value=e.key},null,40,W_e),(0,n.createElementVNode)(`label`,{for:e.tabId,"data-title":e.icon},(0,n.toDisplayString)(e.label),9,G_e)],64))),128))]),(0,n.createElementVNode)(`div`,K_e,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(l.value,e=>((0,n.openBlock)(),(0,n.createBlock)(O9,{key:e.key,code:e.source,lang:e.highlighter,label:e.label,active:u.value===e.key,class:(0,n.normalizeClass)([{active:u.value===e.key},`m-0!`])},null,8,[`code`,`lang`,`label`,`active`,`class`]))),128))])])):(0,n.createCommentVNode)(``,!0)]))}}),q_e={class:`flex flex-col p-3 gap-2 rounded bg-muted`},J_e={class:`flex flex-col gap-2`},Y_e={class:`flex flex-row items-center gap-2`},X_e={class:`text-sm font-bold`},Z_e={class:`flex flex-col gap-2`},Q_e={key:1,class:`pl-2`},$_e={class:`my-1! cursor-pointer hover:text-[color:var(--vp-c-brand-1)]`},eve={class:`pl-2 flex flex-col gap-1`},tve={key:0,class:`flex flex-wrap gap-2`},nve={class:`text-sm`},rve={key:1,class:`flex flex-wrap gap-2`},ive={class:`text-sm`},ave={key:2,class:`flex flex-wrap gap-2`},ove={class:`text-sm`},sve={key:3},cve={class:`text-sm`},lve={class:`pl-2 my-0!`},uve={class:`ml-2 text-sm`},dve=(0,n.defineComponent)({__name:`OASecurityContent`,props:{name:{type:String,required:!0},scheme:{type:Object,required:!0}},setup(e){let{t}=l(),r=(0,n.computed)(()=>e.scheme.type===`http`?`HTTP (${e.scheme.scheme})`:e.scheme.type===`apiKey`?`API Key (${e.scheme.in}: ${e.scheme.name})`:e.scheme.type===`openIdConnect`?`OpenID Connect (${e.scheme.openIdConnectUrl})`:e.scheme.type===`oauth2`?`OAuth2`:``);return(i,a)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,q_e,[(0,n.createElementVNode)(`div`,J_e,[(0,n.createElementVNode)(`div`,Y_e,[(0,n.createElementVNode)(`span`,X_e,(0,n.toDisplayString)(e.name),1)]),e.scheme.description?((0,n.openBlock)(),(0,n.createBlock)(Pn,{key:0,content:e.scheme.description,class:`text-sm`},null,8,[`content`])):(0,n.createCommentVNode)(``,!0)]),(0,n.createElementVNode)(`div`,Z_e,[e.scheme.type===`oauth2`?(0,n.createCommentVNode)(``,!0):((0,n.openBlock)(),(0,n.createBlock)(fd,{key:0,name:(0,n.unref)(t)(`Type`),"bold-name":``,value:r.value},null,8,[`name`,`value`])),e.scheme.type===`oauth2`?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Q_e,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.scheme.flows,(e,r)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:r},[(0,n.createElementVNode)(`details`,null,[(0,n.createElementVNode)(`summary`,$_e,(0,n.toDisplayString)(r)+` Flow `,1),(0,n.createElementVNode)(`div`,eve,[e.authorizationUrl?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,tve,[(0,n.createElementVNode)(`span`,nve,(0,n.toDisplayString)((0,n.unref)(t)(`Authorization URL`)),1),(0,n.createVNode)(dd,{value:e.authorizationUrl},null,8,[`value`])])):(0,n.createCommentVNode)(``,!0),e.tokenUrl?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,rve,[(0,n.createElementVNode)(`span`,ive,(0,n.toDisplayString)((0,n.unref)(t)(`Token URL`)),1),(0,n.createVNode)(dd,{value:e.tokenUrl},null,8,[`value`])])):(0,n.createCommentVNode)(``,!0),e.refreshUrl?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,ave,[(0,n.createElementVNode)(`span`,ove,(0,n.toDisplayString)((0,n.unref)(t)(`Refresh URL`)),1),(0,n.createVNode)(dd,{value:e.refreshUrl},null,8,[`value`])])):(0,n.createCommentVNode)(``,!0),e.scopes?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,sve,[(0,n.createElementVNode)(`span`,cve,(0,n.toDisplayString)((0,n.unref)(t)(`Scopes`))+`:`,1),(0,n.createElementVNode)(`ul`,lve,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.scopes,(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(`li`,{key:t},[(0,n.createVNode)(dd,{value:t},null,8,[`value`]),(0,n.createElementVNode)(`span`,uve,(0,n.toDisplayString)(e),1)]))),128))])])):(0,n.createCommentVNode)(``,!0)])])]))),128))])):(0,n.createCommentVNode)(``,!0)]),(0,n.createVNode)(xd,{property:e.scheme,"security-scheme-name":e.name},null,8,[`property`,`security-scheme-name`])]))}}),fve={class:`flex flex-col`},pve={class:`mt-[48px] mb-[16px] pt-[24px] border-t-[1px] border-(--vp-c-divider)`},mve={class:`flex flex-row items-center`},hve={class:`flex flex-col gap-3`},gve={class:`flex flex-col gap-1`},_ve={key:0,class:`-ml-4 my-1 w-4 h-4 bg-muted rounded-full flex justify-center items-center`},vve={key:0,class:`flex flex-row items-center space-x-2`},yve={class:`text-sm font-bold`},K9=(0,n.defineComponent)({__name:`OASecurity`,props:{securityUi:{type:Object,required:!0},headingPrefix:{type:String,required:!1,default:``},selectedSchemeId:{type:String,required:!1,default:``}},setup(e){let t=e,{t:r}=l();return(e,i)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,fve,[(0,n.createElementVNode)(`div`,pve,[(0,n.createElementVNode)(`div`,mve,[(0,n.createVNode)(vn,{level:`h2`,prefix:t.headingPrefix,class:`text-[color:var(--vp-c-text-1)] my-0! py-0! border-t-0!`,"header-anchor-class":`top-0!`},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)((0,n.unref)(r)(`Authorizations`)),1)]),_:1},8,[`prefix`]),i[0]||(i[0]=(0,n.createElementVNode)(`span`,{class:`flex-grow min-w-2`},null,-1))])]),(0,n.createElementVNode)(`div`,hve,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(t.securityUi,(e,a)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:a,class:`flex flex-col gap-3`},[(0,n.createElementVNode)(`div`,gve,[Object.keys(t.securityUi).length>1&&Object.keys(e.schemes).length>1?((0,n.openBlock)(),(0,n.createElementBlock)(`span`,{key:0,class:(0,n.normalizeClass)({"font-bold":t.selectedSchemeId===e.id})},(0,n.toDisplayString)(e.id),3)):(0,n.createCommentVNode)(``,!0),(0,n.createElementVNode)(`div`,{class:(0,n.normalizeClass)({"pl-2 border-l":Object.keys(e.schemes).length>1,"border-gray-600 dark:border-gray-400":Object.keys(t.securityUi).length>1&&t.selectedSchemeId===e.id})},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.schemes,(t,r)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:r},[(0,n.createVNode)(dve,{name:String(r),scheme:t},null,8,[`name`,`scheme`]),Object.keys(e.schemes).indexOf(String(r))<Object.keys(e.schemes).length-1?((0,n.openBlock)(),(0,n.createElementBlock)(`span`,_ve,` + `)):(0,n.createCommentVNode)(``,!0)]))),128))],2)]),Number(a)<Object.keys(t.securityUi).length-1?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,vve,[(0,n.createElementVNode)(`span`,yve,(0,n.toDisplayString)((0,n.unref)(r)(`or`)),1),i[1]||(i[1]=(0,n.createElementVNode)(`span`,{class:`flex-grow border-t border-(--vp-c-divider)`},null,-1))])):(0,n.createCommentVNode)(``,!0)]))),128))])]))}}),bve={class:`flex flex-col`},q9=(0,n.defineComponent)({__name:`OAOperationContent`,props:{operationId:{type:String,required:!0},openapi:{type:Object,required:!0},prefixHeadings:{type:Boolean,default:!1},hideDefaultFooter:{type:Boolean,default:void 0},hideBranding:{type:Boolean,default:e=>e.hideBranding===void 0&&e.hideDefaultFooter!==void 0&&(console.warn("`hideDefaultFooter` is deprecated. Use `hideBranding` instead."),e.hideDefaultFooter)}},setup(e){let t=e,r=(0,n.useSlots)(),{t:i}=l(),a=t.openapi.getOperation(t.operationId),o=(0,n.computed)(()=>{if(t.prefixHeadings)return t.operationId});function s(e){return e===`try-it`&&r[e]!==void 0&&console.warn("`try-it` slot is deprecated. Use `playground` slot instead."),r[e]!==void 0}return(e,r)=>t.operationId&&(0,n.unref)(a)?((0,n.openBlock)(),(0,n.createBlock)(Ud,{key:0,id:t.operationId,operation:(0,n.unref)(a),openapi:t.openapi},(0,n.createSlots)({_:2},[s(`header`)?{name:`header`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`header`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`0`}:{name:`header`,fn:(0,n.withCtx)(e=>[(0,n.createElementVNode)(`div`,bve,[(0,n.createVNode)(en,{operation:e.operation,deprecated:e.deprecated},null,8,[`operation`,`deprecated`]),(0,n.createVNode)(vn,{id:o.value,level:`h1`,class:(0,n.normalizeClass)([{"line-through":e.deprecated},`scroll-m-(--vp-nav-height)`])},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.operation.summary),1)]),_:2},1032,[`id`,`class`])])]),key:`1`},s(`tags`)?{name:`tags`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`tags`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`2`}:{name:`tags`,fn:(0,n.withCtx)(e=>[(0,n.createVNode)(td,{tags:e.operation.tags},null,8,[`tags`])]),key:`3`},s(`description`)?{name:`description`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`description`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`4`}:{name:`description`,fn:(0,n.withCtx)(e=>[e.operation.description?((0,n.openBlock)(),(0,n.createBlock)(Pn,{key:0,content:e.operation.description},null,8,[`content`])):(0,n.createCommentVNode)(``,!0)]),key:`5`},s(`security`)?{name:`security`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`security`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`6`}:{name:`security`,fn:(0,n.withCtx)(e=>[Object.keys(e.securityUi).length?((0,n.openBlock)(),(0,n.createBlock)(K9,{key:0,"security-ui":e.securityUi,"heading-prefix":o.value,"selected-scheme-id":e.selectedSchemeId},null,8,[`security-ui`,`heading-prefix`,`selected-scheme-id`])):(0,n.createCommentVNode)(``,!0)]),key:`7`},s(`parameters`)?{name:`parameters`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`parameters`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`8`}:{name:`parameters`,fn:(0,n.withCtx)(e=>[(0,n.createVNode)(vn,{level:`h2`,prefix:o.value},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)((0,n.unref)(i)(`Parameters`)),1)]),_:1},8,[`prefix`]),(0,n.createVNode)(Id,{"operation-id":t.operationId,parameters:e.parameters},null,8,[`operation-id`,`parameters`])]),key:`9`},s(`request-body`)?{name:`request-body`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`request-body`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`10`}:{name:`request-body`,fn:(0,n.withCtx)(e=>[(0,n.createVNode)(U9,{"operation-id":e.operationId,"request-body":e.requestBody,"heading-prefix":o.value},null,8,[`operation-id`,`request-body`,`heading-prefix`])]),key:`11`},s(`responses`)?{name:`responses`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`responses`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`12`}:{name:`responses`,fn:(0,n.withCtx)(e=>[(0,n.createVNode)(W9,{"operation-id":e.operationId,responses:e.responses,"response-type":e.responseType,"heading-prefix":o.value},null,8,[`operation-id`,`responses`,`response-type`,`heading-prefix`])]),key:`13`},s(`path`)?{name:`path`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`path`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`14`}:{name:`path`,fn:(0,n.withCtx)(e=>[(0,n.createVNode)(Zd,{path:e.path,method:e.method,"base-url":e.baseUrl,"hide-base-url":e.hideBaseUrl,deprecated:e.deprecated,servers:e.servers},null,8,[`path`,`method`,`base-url`,`hide-base-url`,`deprecated`,`servers`])]),key:`15`},s(`try-it`)?{name:`playground`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`try-it`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`16`}:s(`playground`)?{name:`playground`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`playground`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`17`}:{name:`playground`,fn:(0,n.withCtx)(e=>[(0,n.createVNode)(k9,{"operation-id":e.operationId,path:e.path,method:e.method,parameters:e.parameters,"request-body":e.requestBody,"security-ui":e.securityUi,servers:e.servers,"heading-prefix":o.value},null,8,[`operation-id`,`path`,`method`,`parameters`,`request-body`,`security-ui`,`servers`,`heading-prefix`])]),key:`18`},s(`code-samples`)?{name:`code-samples`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`code-samples`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`19`}:{name:`code-samples`,fn:(0,n.withCtx)(e=>[(0,n.createVNode)(vn,{level:`h2`,prefix:o.value},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)((0,n.unref)(i)(`Samples`)),1)]),_:1},8,[`prefix`]),(0,n.createVNode)(G9,{"operation-id":e.operationId},null,8,[`operation-id`])]),key:`20`},s(`branding`)?{name:`branding`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`branding`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`21`}:t.hideBranding?void 0:{name:`branding`,fn:(0,n.withCtx)(e=>[(0,n.createVNode)(_e,(0,n.normalizeProps)((0,n.guardReactiveProps)(e)),null,16)]),key:`22`},s(`footer`)?{name:`footer`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`footer`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`23`}:void 0]),1032,[`id`,`operation`,`openapi`])):(0,n.createCommentVNode)(``,!0)}}),J9=(0,n.defineComponent)({__name:`OAOperation`,props:{operationId:{type:String,required:!0},spec:{type:[Object,String],required:!1},specUrl:{type:String,required:!1,default:null},prefixHeadings:{type:Boolean,default:!1},hideDefaultFooter:{type:Boolean,default:void 0},hideBranding:{type:Boolean,default:e=>e.hideBranding===void 0&&e.hideDefaultFooter!==void 0&&(console.warn("`hideDefaultFooter` is deprecated. Use `hideBranding` instead."),e.hideDefaultFooter)}},emits:[`update:spec`],setup(e,{emit:t}){let r=e,i=t,a=(0,n.useSlots)();return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)(Vn,{spec:r.spec,"spec-url":r.specUrl,"onUpdate:spec":t[0]||(t[0]=e=>i(`update:spec`,e))},{default:(0,n.withCtx)(({openapi:t})=>[(0,n.createVNode)(q9,(0,n.normalizeProps)((0,n.guardReactiveProps)({...e.$attrs,operationId:r.operationId,openapi:t,prefixHeadings:r.prefixHeadings,hideBranding:r.hideBranding,hideDefaultFooter:r.hideDefaultFooter})),(0,n.createSlots)({_:2},[(0,n.renderList)(a,(t,r)=>({name:r,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,r,(0,n.normalizeProps)((0,n.guardReactiveProps)(t||{})))])}))]),1040)]),_:3},8,[`spec`,`spec-url`]))}}),Y9=(0,n.defineComponent)({__name:`OAOperationContext`,props:{operationId:{type:String,required:!0},openapi:{type:Object,required:!0},shouldBuildRequest:{type:Boolean,required:!1,default:!0}},setup(t){var r,i,a,o,s,c;let l=t,u=e.b(),d=(0,n.computed)(()=>l.openapi.getOperation(l.operationId)),f=(0,n.computed)(()=>l.openapi.getOperationPath(l.operationId)),p=(0,n.computed)(()=>l.openapi.getOperationMethod(l.operationId)),m=(0,n.computed)(()=>l.openapi.getOperationParameters(l.operationId)),h=(0,n.computed)(()=>{var e;return(e=d.value)==null?void 0:e.securityUi}),g=(0,n.computed)(()=>{var e;return(e=d.value)==null?void 0:e.requestBody}),_=(0,n.computed)(()=>{var e;return(e=d.value)==null?void 0:e.responses}),v=(0,n.computed)(()=>{var e;return(e=d.value)==null?void 0:e.codeSamples}),y=(0,n.computed)(()=>{let e=u.getOperationServers();return e?e({method:p.value,path:f.value,operation:d.value}):l.openapi.getOperationServers(l.operationId)}),b=(0,n.computed)(()=>{var e;return y.value.length?(e=y.value[0])==null?void 0:e.url:u.getOperationDefaultBaseUrl()}),x=u.getStoragePrefix(),S=Jt()?e.B(`${x}-custom-server-url`,null,localStorage):(0,n.ref)(b.value),C=(0,n.computed)(()=>u.getServerAllowCustomServer()&&S.value?e.T(S.value):e.T(b.value)),w=(r=g.value)!=null&&r.content?Object.keys(g.value.content)[0]:void 0,T=((i=h.value)==null||(i=i[0])==null?void 0:i.schemes)||[],E=l.shouldBuildRequest?e.C({path:f.value,method:p.value,baseUrl:C.value,parameters:(a=m.value)==null?[]:a,authorizations:Object.entries(T).map(([e,t])=>{var n;return{...t,name:(n=t.name)==null?String(e):n,label:String(e)}}),body:w?(o=((s=(c=g.value)==null||(c=c.content)==null||(c=c[w])==null?void 0:c.examples)==null?[{value:``}]:s)[0])==null?void 0:o.value:void 0,variables:{},contentType:w}):void 0,ee=nne({operation:d.value,request:E,selectedServer:C.value,defaultRequestContentType:w});return(0,n.provide)(rd,ee),(e,t)=>(0,n.renderSlot)(e.$slots,`default`,{path:f.value,method:p.value,parameters:m.value,operation:d.value,requestBody:g.value,securityUi:h.value,servers:y.value,codeSamples:v.value,responses:_.value,operationData:(0,n.unref)(ee)})}}),xve={key:1,class:`OAOperationLink-title`},X9=(0,n.defineComponent)({__name:`OAOperationLink`,props:{href:{default:void 0},method:{default:``},title:{default:``},operationId:{default:void 0}},setup(e){let t=e,r=(0,n.useSlots)();function i(e){return!!r[e]}let a=(0,n.computed)(()=>{var e;if(!i(`default`))return``;let t=(e=r.default)==null?void 0:e.call(r);return!t||!Array.isArray(t)||t.length===0?``:typeof t[0].children==`string`?t[0].children:``});return(r,o)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(t.href?`a`:`span`),{href:t.href,class:`OAOperationLink group/oaOperationLink`},{default:(0,n.withCtx)(()=>[(0,n.createElementVNode)(`span`,{class:(0,n.normalizeClass)([`OAOperationLink-badge`,[`OAMethodBadge--${e.method.toLowerCase()}`]])},(0,n.toDisplayString)(e.method.toUpperCase()),3),i(`default`)?((0,n.openBlock)(),(0,n.createBlock)(Pn,{key:0,content:a.value,class:`inline-block`},null,8,[`content`])):((0,n.openBlock)(),(0,n.createElementBlock)(`span`,xve,(0,n.toDisplayString)(t.title),1))]),_:1},8,[`href`]))}}),Z9={__name:`OAServers`,props:{spec:{type:[Object,String],required:!1}},setup(e){let n=e;return(e,r)=>((0,t.openBlock)(),(0,t.createBlock)(Vn,{spec:n.spec},{default:(0,t.withCtx)(({openapi:e})=>[(0,t.createVNode)(Ya,{openapi:e},null,8,[`openapi`])]),_:1},8,[`spec`]))}},Sve=Symbol(`lazyEventBus`),Q9=e.I(Sve),Cve=(0,n.defineComponent)({__name:`OALazy`,props:{id:{},isLazy:{type:Boolean,default:!0},lazyTimeout:{default:0}},setup(e){let t=e,r=(e=()=>{})=>{if(!(typeof window>`u`)){if(`requestIdleCallback`in window)setTimeout(()=>window.requestIdleCallback(e),t.lazyTimeout);else{var r;setTimeout(n.nextTick,(r=t.lazyTimeout)==null?300:r,e)}}},i=(0,n.ref)(!t.isLazy);return t.isLazy?r(()=>{i.value=!0,t.id&&(0,n.nextTick)(()=>Q9.emit({id:t.id}))}):t.id&&(0,n.nextTick)(()=>Q9.emit({id:t.id})),(e,t)=>i.value?(0,n.renderSlot)(e.$slots,`default`,{},void 0,void 0,0):(0,n.createCommentVNode)(``,!0)}}),wve=(0,n.defineComponent)({__name:`OAPaths`,props:{paths:{type:Object,required:!0}},setup(t){var r,i;let a=(0,n.useSlots)(),o=e.b(),s=Object.entries(t.paths).reduce((e,[t,n])=>[...e,...Object.keys(n).filter(e=>n[e].operationId).map(e=>({operationId:n[e].operationId}))],[]),c=(r=o.getSpecConfig())==null||(r=r.lazyRendering)==null?void 0:r.value,l=(i=e.r())==null?e.n():i;return(e,t)=>(0,n.unref)(l)?((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,{key:0},(0,n.renderList)((0,n.unref)(s),(r,i)=>((0,n.openBlock)(),(0,n.createBlock)(Cve,{key:r.operationId,"is-lazy":(0,n.unref)(c)&&i>0},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(q9,{openapi:(0,n.unref)(l),"operation-id":r.operationId,"prefix-headings":``,"hide-branding":``},(0,n.createSlots)({_:2},[(0,n.renderList)(a,(t,r)=>({name:r,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,r,(0,n.mergeProps)({ref_for:!0},t||{}))])}))]),1032,[`openapi`,`operation-id`]),t[0]||(t[0]=(0,n.createElementVNode)(`hr`,null,null,-1))]),_:2},1032,[`is-lazy`]))),128)):(0,n.createCommentVNode)(``,!0)}}),Tve={class:`bg-muted rounded border divide-y divide-(--vp-c-divider) overflow-hidden`},Eve={class:`px-4 py-2`},Dve={class:`py-1`},Ove=[`aria-label`,`title`,`onClick`],kve={__name:`OAPathsSummary`,props:{paths:{type:Object,required:!0}},emits:[`pathClick`],setup(e,{emit:n}){let r=e,i=n,{t:a}=l();return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Tve,[(0,t.createElementVNode)(`div`,Eve,[(0,t.createVNode)(vn,{level:`h3`,class:`mt-0! text-sm! font-semibold text-[color:var(--vp-c-text-1)]`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(a)(`Operations`)),1)]),_:1})]),(0,t.createElementVNode)(`div`,Dve,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(Object.keys(r.paths),(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:n},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(Object.keys(r.paths[e]),n=>((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:`${e}-${n}`,class:`grid min-w-0 grid-cols-[3rem_minmax(0,1fr)] items-center gap-x-3 px-4 text-foreground! no-underline! cursor-pointer`,"aria-label":`${n.toUpperCase()} ${e}`,title:`${n.toUpperCase()} ${e}`,onClick:t=>i(`pathClick`,`#${r.paths[e][n].operationId}`)},[(0,t.createElementVNode)(`span`,{class:(0,t.normalizeClass)([[`text-method-${n}`],`text-sm text-right`])},(0,t.toDisplayString)(n.toUpperCase()),3),(0,t.createElementVNode)(`span`,{class:(0,t.normalizeClass)([{"line-through":r.paths[e][n].deprecated},`truncate hover:underline`])},(0,t.toDisplayString)(e),3)],8,Ove))),128))],64))),128))])]))}},Ave={key:0},jve={key:1,class:`flex-1`},Mve={key:0,class:`flex justify-center`},Nve=(0,n.defineComponent)({__name:`OAPathsGroup`,props:{group:{},hidePathsSummary:{type:Boolean},isLazy:{type:Boolean}},setup(t){var r,i;let a=t,o=(0,n.useSlots)(),s=e.b(),{t:c}=l(),u=(r=s.getSpecConfig())==null||(r=r.lazyRendering)==null?void 0:r.value,d=(0,n.computed)(()=>{var e;return a.hidePathsSummary===void 0?(e=s.getSpecConfig())==null||(e=e.showPathsSummary)==null?void 0:e.value:!a.hidePathsSummary}),f=(0,n.computed)(()=>a.group.description&&a.group.description.trim()!==``),p=(0,n.ref)(!((i=s.getSpecConfig())!=null&&(i=i.collapsePaths)!=null&&i.value));function m(e){p.value=!0,(0,n.nextTick)(()=>{Xt({hash:e})})}return(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(j9),{open:p.value,"onUpdate:open":r[1]||(r[1]=e=>p.value=e)},{default:(0,n.withCtx)(()=>{var i;return[a.group.isGrouped?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Ave,[(0,n.createVNode)(vn,{level:`h1`},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(a.group.name),1)]),_:1}),(0,n.createElementVNode)(`div`,{class:(0,n.normalizeClass)([`grid grid-cols-1 gap-6 md:gap-10 my-[16px]`,{"md:grid-cols-2":d.value&&f.value}])},[f.value?((0,n.openBlock)(),(0,n.createBlock)(Pn,{key:0,content:t.group.description},null,8,[`content`])):(0,n.createCommentVNode)(``,!0),d.value?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,jve,[(0,n.createVNode)(kve,{paths:t.group.paths,onPathClick:r[0]||(r[0]=e=>m(e))},null,8,[`paths`])])):(0,n.createCommentVNode)(``,!0)],2),d.value||((i=(0,n.unref)(s).getSpecConfig())==null||(i=i.collapsePaths)==null?void 0:i.value)===!0?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Mve,[(0,n.createVNode)((0,n.unref)(M9),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Qd),{as:`div`},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(p.value?(0,n.unref)(c)(`Hide operations`):(0,n.unref)(c)(`Show operations`)),1)]),_:1})]),_:1})])):(0,n.createCommentVNode)(``,!0),r[2]||(r[2]=(0,n.createElementVNode)(`hr`,null,null,-1))])):(0,n.createCommentVNode)(``,!0),!(0,n.unref)(u)||p.value?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:1,class:(0,n.normalizeClass)([`flex flex-col space-y-10`,{hidden:!p.value}])},[(0,n.createVNode)(wve,{paths:t.group.paths},(0,n.createSlots)({_:2},[(0,n.renderList)(o,(t,r)=>({name:r,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,r,(0,n.normalizeProps)((0,n.guardReactiveProps)(t||{})))])}))]),1032,[`paths`])],2)):(0,n.createCommentVNode)(``,!0)]}),_:3},8,[`open`]))}}),Pve={class:`flex flex-col space-y-10`},Fve=(0,n.defineComponent)({__name:`OAPathsGroups`,props:{groups:{type:Array,required:!0},hidePathsSummary:{type:Boolean,default:void 0}},setup(t){var r;let i=t,a=(0,n.useSlots)(),o=(r=e.b().getSpecConfig())==null||(r=r.lazyRendering)==null?void 0:r.value;return(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Pve,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(i.groups,(t,r)=>((0,n.openBlock)(),(0,n.createBlock)(Nve,{key:t.name,group:t,"hide-paths-summary":i.hidePathsSummary,"is-lazy":(0,n.unref)(o)&&r>0},(0,n.createSlots)({_:2},[(0,n.renderList)(a,(t,r)=>({name:r,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,r,(0,n.mergeProps)({ref_for:!0},t||{}))])}))]),1032,[`group`,`hide-paths-summary`,`is-lazy`]))),128))]))}}),Ive={class:`flex flex-col space-y-10`},Lve={key:0},Rve={key:1},zve=(0,n.defineComponent)({__name:`OASpecContent`,props:{hideInfo:{type:Boolean,default:!1},hideServers:{type:Boolean,default:!1},groupByTags:{type:Boolean,default:null},tags:{type:Array,default:void 0},hideDefaultFooter:{type:Boolean,default:void 0},hideBranding:{type:Boolean,default:e=>e.hideBranding===void 0&&e.hideDefaultFooter!==void 0&&(console.warn("`hideDefaultFooter` is deprecated. Use `hideBranding` instead."),e.hideDefaultFooter)},hidePathsSummary:{type:Boolean,default:void 0},openapi:{type:Object,required:!0}},setup(t){let r=t,i=(0,n.useSlots)(),{t:a}=l(),o=e.b(),s=r.openapi.getServers(),c=r.openapi.getInfo(),u=!r.hideInfo&&Object.keys(c).length,d=!r.hideServers&&s.length,f=(0,n.computed)(()=>{var e,t;return(e=r.groupByTags)==null?(t=o.getSpecConfig())==null||(t=t.groupByTags)==null?void 0:t.value:e}),p=(0,n.computed)(()=>{var e;return(e=r.tags)==null?r.openapi.getOperationsTags():e}),m=r.openapi.getTags(),h=r.openapi.getPaths(),g=(0,n.computed)(()=>p.value.map(e=>({tag:e,paths:r.openapi.getPathsByTags(e)}))),_=r.openapi.getPathsWithoutTags(),v=(0,n.computed)(()=>{var t,n;if(f.value){var r,i,s;return[...Object.keys(_).length?[{name:a((r=(i=e.b().getSpecConfig())==null?void 0:i.defaultTag)==null?`Default`:r),paths:_,isOpen:!((s=o.getSpecConfig())!=null&&(s=s.collapsePaths)!=null&&s.value),isGrouped:!0}]:[],...g.value.map(e=>{var t,n;return{name:e.tag,paths:e.paths,isOpen:!((t=o.getSpecConfig())!=null&&(t=t.collapsePaths)!=null&&t.value),description:(n=m.find(t=>t.name===e.tag))==null?void 0:n.description,isGrouped:!0}})]}return[{name:a((t=(n=e.b().getSpecConfig())==null?void 0:n.defaultTag)==null?`Default`:t),paths:h,isGrouped:!1}]});return(e,a)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Ive,[(0,n.unref)(u)||(0,n.unref)(d)?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Lve,[(0,n.unref)(u)?((0,n.openBlock)(),(0,n.createBlock)(Wa,{key:0,openapi:t.openapi},null,8,[`openapi`])):(0,n.createCommentVNode)(``,!0),(0,n.unref)(d)?((0,n.openBlock)(),(0,n.createBlock)(Ya,{key:1,openapi:t.openapi},null,8,[`openapi`])):(0,n.createCommentVNode)(``,!0)])):(0,n.createCommentVNode)(``,!0),(0,n.unref)(u)||(0,n.unref)(d)?((0,n.openBlock)(),(0,n.createElementBlock)(`hr`,Rve)):(0,n.createCommentVNode)(``,!0),(0,n.createVNode)(Fve,{groups:v.value,"hide-paths-summary":r.hidePathsSummary},(0,n.createSlots)({_:2},[(0,n.renderList)(i,(t,r)=>({name:r,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,r,(0,n.normalizeProps)((0,n.guardReactiveProps)(t||{})))])}))]),1032,[`groups`,`hide-paths-summary`]),r.hideBranding?(0,n.createCommentVNode)(``,!0):((0,n.openBlock)(),(0,n.createBlock)(_e,{key:2}))]))}}),$9=(0,n.defineComponent)({__name:`OASpec`,props:{spec:{type:[Object,String],required:!1,default:null},specUrl:{type:String,required:!1,default:null},hideInfo:{type:Boolean,default:!1},hideServers:{type:Boolean,default:!1},groupByTags:{type:Boolean,default:null},tags:{type:Array,default:void 0},hideDefaultFooter:{type:Boolean,default:void 0},hideBranding:{type:Boolean,default:e=>e.hideBranding===void 0&&e.hideDefaultFooter!==void 0&&(console.warn("`hideDefaultFooter` is deprecated. Use `hideBranding` instead."),e.hideDefaultFooter)},hidePathsSummary:{type:Boolean,default:void 0}},emits:[`update:spec`],setup(e,{emit:t}){let r=e,i=t,a=(0,n.useSlots)();return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)(Vn,{spec:r.spec,"spec-url":r.specUrl,"onUpdate:spec":t[0]||(t[0]=e=>i(`update:spec`,e))},{default:(0,n.withCtx)(({openapi:t})=>[(0,n.createVNode)(zve,(0,n.normalizeProps)((0,n.guardReactiveProps)({...e.$attrs,openapi:t,hideInfo:r.hideInfo,hideServers:r.hideServers,groupByTags:r.groupByTags,tags:r.tags,hideDefaultFooter:r.hideDefaultFooter,hideBranding:r.hideBranding,hidePathsSummary:r.hidePathsSummary})),(0,n.createSlots)({_:2},[(0,n.renderList)(a,(t,r)=>({name:r,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,r,(0,n.normalizeProps)((0,n.guardReactiveProps)(t||{})))])}))]),1040)]),_:3},8,[`spec`,`spec-url`]))}}),Bve=e.Q({OACodeSamples:()=>G9,OAFooter:()=>_e,OAHeaderBadges:()=>en,OAHeading:()=>vn,OAInfo:()=>Ga,OAIntroduction:()=>Xa,OALocaleSelect:()=>ed,OAMarkdown:()=>Pn,OAOperation:()=>J9,OAOperationContext:()=>Y9,OAOperationLink:()=>X9,OAOperationTags:()=>td,OAParameter:()=>jd,OAParameters:()=>Id,OAPathEndpoint:()=>Zd,OAPlayground:()=>k9,OARequestBody:()=>U9,OAResponses:()=>W9,OASecurity:()=>K9,OAServers:()=>Z9,OASpec:()=>$9,OASpecSkeleton:()=>zn,OAVueJsonPretty:()=>ge}),Vve={enhanceApp({app:t}){var r;let i=e.b(),a=i.getI18nConfig(),o=c({defaultLocale:((r=a.locale)==null?void 0:r.value)||`en`,messages:a.messages||{}});t.use(o),(0,n.watch)(()=>i.getLocale(),()=>{o.setLocale(i.getLocale())},{immediate:!0}),Object.entries(Bve).forEach(([e,n])=>{t.component(e,n)})}};exports.DEFAULT_OPERATION_SLOTS=e.y,exports.OACodeSamples=G9,exports.OAFooter=_e,exports.OAHeaderBadges=en,exports.OAHeading=vn,exports.OAInfo=Ga,exports.OAIntroduction=Xa,exports.OALocaleSelect=ed,exports.OAMarkdown=Pn,exports.OAOperation=J9,exports.OAOperationContext=Y9,exports.OAOperationLink=X9,exports.OAOperationTags=td,exports.OAParameter=jd,exports.OAParameters=Id,exports.OAPathEndpoint=Zd,exports.OAPlayground=k9,exports.OARequest=e.w,exports.OARequestBody=U9,exports.OAResponses=W9,exports.OASecurity=K9,exports.OAServers=Z9,exports.OASpec=$9,exports.OASpecSkeleton=zn,exports.OAVueJsonPretty=ge,exports.createOpenApiSpec=e.h,exports.generateCodeSample=e.S,exports.locales=e.x,exports.minifyHtml=e.p,exports.theme=Vve,exports.useOpenapi=e.i,exports.usePlayground=od,exports.useShiki=D9,exports.useTheme=e.b;
4041
+ \v\f…\u2028\u2029])`),t));else if(c===`posix`){if(!i&&(u===`graph`||u===`print`)){if(r===`strict`)throw Error(`POSIX class "${u}" requires min target ES2024 or non-strict accuracy`);let e={graph:`!-~`,print:` -~`}[u];l&&(e=`\0-${B7(e.codePointAt(0)-1)}${B7(e.codePointAt(2)+1)}-\u{10FFFF}`),n(p9(u9(`[${e}]`),t))}else n(p9(d9(u9(cge.get(u)),l),t))}else if(c===`property`)Z7.has(u7(u))||(e.key=`sc`);else if(c===`space`)n(f9(a7(`space`,{negate:l}),t));else if(c===`word`)n(p9(d9(u9(Y7),l),t));else throw Error(`Unexpected character set kind "${c}"`)}},Directive({node:e,parent:t,root:n,remove:r,replaceWith:i,removeAllPrevSiblings:a,removeAllNextSiblings:o}){let{kind:s,flags:c}=e;if(s===`flags`){if(!c.enable&&!c.disable)r();else{let e=t7({flags:c});e.body[0].body=o(),i(p9(e,t),{traverse:!0})}}else if(s===`keep`){let e=n.body[0],r=n.body.length===1&&K5(e,{type:`Group`})&&e.body[0].body.length===1?e.body[0]:n;if(t.parent!==r||r.body.length>1)throw Error(V7`Uses "\K" in a way that's unsupported`);let o=n7({behind:!0});o.body[0].body=a(),i(p9(o,t))}else throw Error(`Unexpected directive kind "${s}"`)},Flags({node:e,parent:t}){var n;if(e.posixIsAscii)throw Error(`Unsupported flag "P"`);if(e.textSegmentMode===`word`)throw Error(`Unsupported flag "y{w}"`);[`digitIsAscii`,`extended`,`posixIsAscii`,`spaceIsAscii`,`wordIsAscii`,`textSegmentMode`].forEach(t=>delete e[t]),Object.assign(e,{global:!1,hasIndices:!1,multiline:!1,sticky:(n=e.sticky)!=null&&n}),t.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:e}){if(!e.flags)return;let{enable:t,disable:n}=e.flags;t!=null&&t.extended&&delete t.extended,n!=null&&n.extended&&delete n.extended,t!=null&&t.dotAll&&n!=null&&n.dotAll&&delete t.dotAll,t!=null&&t.ignoreCase&&n!=null&&n.ignoreCase&&delete t.ignoreCase,t&&!Object.keys(t).length&&delete e.flags.enable,n&&!Object.keys(n).length&&delete e.flags.disable,!e.flags.enable&&!e.flags.disable&&delete e.flags},LookaroundAssertion({node:e},t){let{kind:n}=e;n===`lookbehind`&&(t.passedLookbehind=!0)},NamedCallout({node:e,parent:t,replaceWith:n}){let{kind:r}=e;if(r===`fail`)n(p9(n7({negate:!0}),t));else throw Error(`Unsupported named callout "(*${r.toUpperCase()}"`)},Quantifier({node:e}){if(e.body.type===`Quantifier`){let t=t7();t.body[0].body.push(e.body),e.body=p9(t,e)}},Regex:{enter({node:e},{supportedGNodes:t}){let n=[],r=!1,i=!1;for(let t of e.body)if(t.body.length===1&&t.body[0].kind===`search_start`)t.body.pop();else{let e=s9(t.body);e?(r=!0,Array.isArray(e)?n.push(...e):n.push(e)):i=!0}r&&!i&&n.forEach(e=>t.add(e))},exit(e,{accuracy:t,passedLookbehind:n,strategy:r}){if(t===`strict`&&n&&r)throw Error(V7`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n==`string`&&!l9(n)&&(n=i9(n,t),e.ref=n)}},fge={Backreference({node:e},{multiplexCapturesToLeftByRef:t,reffedNodesByReferencer:n}){let{orphan:r,ref:i}=e;r||n.set(e,[...t.get(i).map(({node:e})=>e)])},CapturingGroup:{enter({node:e,parent:t,replaceWith:n,skip:r},{groupOriginByCopy:i,groupsByName:a,multiplexCapturesToLeftByRef:o,openRefs:s,reffedNodesByReferencer:c}){var l;let u=i.get(e);if(u&&s.has(e.number)){let r=f9(r9(e.number),t);c.set(r,s.get(e.number)),n(r);return}s.set(e.number,e),o.set(e.number,[]),e.name&&G7(o,e.name,[]);let d=o.get((l=e.name)==null?e.number:l);for(let t=0;t<d.length;t++){let n=d[t];if(u===n.node||u&&u===n.origin||e===n.origin){d.splice(t,1);break}}if(o.get(e.number).push({node:e,origin:u}),e.name&&o.get(e.name).push({node:e,origin:u}),e.name){let t=G7(a,e.name,new Map),n=!1;if(u)n=!0;else for(let e of t.values())if(!e.hasDuplicateNameToRemove){n=!0;break}a.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:n})}},exit({node:e},{openRefs:t}){t.get(e.number)===e&&t.delete(e.number)}},Group:{enter({node:e},t){t.prevFlags=t.currentFlags,e.flags&&(t.currentFlags=W7(t.currentFlags,e.flags))},exit(e,t){t.currentFlags=t.prevFlags}},Subroutine({node:e,parent:t,replaceWith:n},r){let{isRecursive:i,ref:a}=e;if(i){let n=t;for(;(n=n.parent)&&(n.type!==`CapturingGroup`||n.name!==a&&n.number!==a););r.reffedNodesByReferencer.set(e,n);return}let o=r.subroutineRefMap.get(a),s=a===0,c=s?r9(0):n9(o,r.groupOriginByCopy,null),l=c;if(!s){let e=a9(gge(o,e=>e.type===`Group`&&!!e.flags)),t=e?W7(r.globalFlags,e):r.globalFlags;mge(t,r.currentFlags)||(l=t7({flags:_ge(t)}),l.body[0].body.push(c))}n(p9(l,t),{traverse:!s})}},pge={Backreference({node:e,parent:t,replaceWith:n},r){if(e.orphan){r.highestOrphanBackref=Math.max(r.highestOrphanBackref,e.ref);return}let i=r.reffedNodesByReferencer.get(e).filter(t=>hge(t,e));i.length?i.length>1?n(p9(t7({atomic:!0,body:i.reverse().map(e=>J5({body:[X5(e.number)]}))}),t)):e.ref=i[0].number:n(p9(n7({negate:!0}),t))},CapturingGroup({node:e},t){e.number=++t.numCapturesToLeft,e.name&&t.groupsByName.get(e.name).get(e).hasDuplicateNameToRemove&&delete e.name},Regex:{exit({node:e},t){let n=Math.max(t.highestOrphanBackref-t.numCapturesToLeft,0);for(let t=0;t<n;t++){let t=Z5();e.body.at(-1).body.push(t)}}},Subroutine({node:e},t){!e.isRecursive||e.ref===0||(e.ref=t.reffedNodesByReferencer.get(e).number)}};function t9(e){p7(e,{"*"({node:e,parent:t}){e.parent=t}})}function mge(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}function hge(e,t){let n=t;do{if(n.type===`Regex`)return!1;if(n.type===`Alternative`)continue;if(n===e)return!1;let t=o9(n.parent);for(let r of t){if(r===n)break;if(r===e||c9(r,e))return!0}}while(n=n.parent);throw Error(`Unexpected path`)}function n9(e,t,n,r){let i=Array.isArray(e)?[]:{};for(let[o,s]of Object.entries(e))if(o===`parent`)i.parent=Array.isArray(n)?r:n;else if(s&&typeof s==`object`)i[o]=n9(s,t,i,n);else{if(o===`type`&&s===`CapturingGroup`){var a;t.set(i,(a=t.get(e))==null?e:a)}i[o]=s}return i}function r9(e){let t=i7(e);return t.isRecursive=!0,t}function gge(e,t){let n=[];for(;e=e.parent;)(!t||t(e))&&n.push(e);return n}function i9(e,t){if(t.has(e))return t.get(e);let n=`$${t.size}_${e.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/gu,`_`)}`;return t.set(e,n),n}function a9(e){let t=[`dotAll`,`ignoreCase`],n={enable:{},disable:{}};return e.forEach(({flags:e})=>{t.forEach(t=>{var r,i;(r=e.enable)!=null&&r[t]&&(delete n.disable[t],n.enable[t]=!0),(i=e.disable)!=null&&i[t]&&(n.disable[t]=!0)})}),Object.keys(n.enable).length||delete n.enable,Object.keys(n.disable).length||delete n.disable,n.enable||n.disable?n:null}function _ge({dotAll:e,ignoreCase:t}){let n={};return(e||t)&&(n.enable={},e&&(n.enable.dotAll=!0),t&&(n.enable.ignoreCase=!0)),(!e||!t)&&(n.disable={},!e&&(n.disable.dotAll=!0),!t&&(n.disable.ignoreCase=!0)),n}function o9(e){if(!e)throw Error(`Node expected`);let{body:t}=e;return Array.isArray(t)?t:t?[t]:null}function s9(e){let t=e.find(e=>e.kind===`search_start`||bge(e,{negate:!1})||!vge(e));if(!t)return null;if(t.kind===`search_start`)return t;if(t.type===`LookaroundAssertion`)return t.body[0].body[0];if(t.type===`CapturingGroup`||t.type===`Group`){let e=[];for(let n of t.body){let t=s9(n.body);if(!t)return null;Array.isArray(t)?e.push(...t):e.push(t)}return e}return null}function c9(e,t){var n;let r=(n=o9(e))==null?[]:n;for(let e of r)if(e===t||c9(e,t))return!0;return!1}function vge({type:e}){return e===`Assertion`||e===`Directive`||e===`LookaroundAssertion`}function yge(e){let t=[`Character`,`CharacterClass`,`CharacterSet`];return t.includes(e.type)||e.type===`Quantifier`&&e.min&&t.includes(e.body.type)}function bge(e,t){let n={negate:null,...t};return e.type===`LookaroundAssertion`&&(n.negate===null||e.negate===n.negate)&&e.body.length===1&&K5(e.body[0],{type:`Assertion`,kind:`search_start`})}function l9(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function u9(e,t){let n=q5(e,{...t,unicodePropertyMap:Z7}).body;return n.length>1||n[0].body.length>1?t7({body:n}):n[0].body[0]}function d9(e,t){return e.negate=t,e}function f9(e,t){return e.parent=t,e}function p9(e,t){return t9(e),e.parent=t,e}function xge(e,t){let n=J7(t),r=K7(n.target,`ES2024`),i=K7(n.target,`ES2025`),a=n.rules.recursionLimit;if(!Number.isInteger(a)||a<2||a>20)throw Error(`Invalid recursionLimit; use 2-20`);let o=null,s=null;if(!i){let t=[e.flags.ignoreCase];p7(e,Sge,{getCurrentModI:()=>t.at(-1),popModI(){t.pop()},pushModI(e){t.push(e)},setHasCasedChar(){t.at(-1)?o=!0:s=!0}})}let c={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||o)&&!s)},l=e,u={accuracy:n.accuracy,appliedGlobalFlags:c,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:l,originMap:e._originMap,recursionLimit:a,useAppliedIgnoreCase:!!(!i&&o&&s),useFlagMods:i,useFlagV:r,verbose:n.verbose};function d(e){return u.lastNode=l,l=e,tge(Cge[e.type],`Unexpected node type "${e.type}"`)(e,u,d)}let f={pattern:e.body.map(d).join(`|`),flags:d(e.flags),options:{...e.options}};return r||(delete f.options.force.v,f.options.disable.v=!0,f.options.unicodeSetsPlugin=null),f._captureTransfers=new Map,f._hiddenCaptures=[],u.captureMap.forEach((e,t)=>{e.hidden&&f._hiddenCaptures.push(t),e.transferTo&&G7(f._captureTransfers,e.transferTo,[]).push(t)}),f}var Sge={"*":{enter({node:e},t){if(v9(e)){let n=t.getCurrentModI();t.pushModI(e.flags?W7({ignoreCase:n},e.flags).ignoreCase:n)}},exit({node:e},t){v9(e)&&t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){h9(B7(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},n){t(),g9(e,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:e},t){e.kind===`property`&&e9.has(e.value)&&t.setHasCasedChar()}},Cge={Alternative({body:e},t,n){return e.map(n).join(``)},Assertion({kind:e,negate:t}){if(e===`string_end`)return`$`;if(e===`string_start`)return`^`;if(e===`word_boundary`)return t?V7`\B`:V7`\b`;throw Error(`Unexpected assertion kind "${e}"`)},Backreference({ref:e},t){if(typeof e!=`number`)throw Error(`Unexpected named backref in transformed AST`);if(!t.useFlagMods&&t.accuracy===`strict`&&t.currentFlags.ignoreCase&&!t.captureMap.get(e).ignoreCase)throw Error(`Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy`);return`\\`+e},CapturingGroup(e,t,n){let{body:r,name:i,number:a}=e,o={ignoreCase:t.currentFlags.ignoreCase},s=t.originMap.get(e);return s&&(o.hidden=!0,a>s.number&&(o.transferTo=s.number)),t.captureMap.set(a,o),`(${i?`?<${i}>`:``}${r.map(n).join(`|`)})`},Character({value:e},t){let n=B7(e),r=_9(e,{escDigit:t.lastNode.type===`Backreference`,inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(r!==n)return r;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&h9(n)){let e=X7(n);return t.inCharClass?e.join(``):e.length>1?`[${e.join(``)}]`:e[0]}return n},CharacterClass(e,t,n){let{kind:r,negate:i,parent:a}=e,{body:o}=e;if(r===`intersection`&&!t.useFlagV)throw Error(`Use of character class intersection requires min target ES2024`);H7.bugFlagVLiteralHyphenIsRange&&t.useFlagV&&o.some(y9)&&(o=[Q5(45),...o.filter(e=>!y9(e))]);let s=()=>`[${i?`^`:``}${o.map(n).join(r===`intersection`?`&&`:``)}]`;if(!t.inCharClass){if((!t.useFlagV||H7.bugNestedClassIgnoresNegation)&&!i){let t=o.filter(e=>e.type===`CharacterClass`&&e.kind===`union`&&e.negate);if(t.length){let r=t7(),i=r.body[0];return r.parent=a,i.parent=r,o=o.filter(e=>!t.includes(e)),e.body=o,o.length?(e.parent=i,i.body.push(e)):r.body.pop(),t.forEach(e=>{let t=J5({body:[e]});e.parent=t,t.parent=r,r.body.push(t)}),n(r)}}t.inCharClass=!0;let r=s();return t.inCharClass=!1,r}let c=o[0];if(r===`union`&&!i&&c&&((!t.useFlagV||!t.verbose)&&a.kind===`union`&&!(H7.bugFlagVLiteralHyphenIsRange&&t.useFlagV)||!t.verbose&&a.kind===`intersection`&&o.length===1&&c.type!==`CharacterClassRange`))return o.map(n).join(``);if(!t.useFlagV&&a.type===`CharacterClass`)throw Error(`Uses nested character class in a way that requires min target ES2024`);return s()},CharacterClassRange(e,t){let n=e.min.value,r=e.max.value,i={escDigit:!1,inCharClass:!0,useFlagV:t.useFlagV},a=_9(n,i),o=_9(r,i),s=new Set;return t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&Oge(g9(e)).forEach(e=>{s.add(Array.isArray(e)?`${_9(e[0],i)}-${_9(e[1],i)}`:_9(e,i))}),`${a}-${o}${[...s].join(``)}`},CharacterSet({kind:e,negate:t,value:n,key:r},i){if(e===`dot`)return i.currentFlags.dotAll?i.appliedGlobalFlags.dotAll||i.useFlagMods?`.`:`[^]`:V7`[^\n]`;if(e===`digit`)return t?V7`\D`:V7`\d`;if(e===`property`){if(i.useAppliedIgnoreCase&&i.currentFlags.ignoreCase&&e9.has(n))throw Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${t?V7`\P`:V7`\p`}{${r?`${r}=`:``}${n}}`}if(e===`word`)return t?V7`\W`:V7`\w`;throw Error(`Unexpected character set kind "${e}"`)},Flags(e,t){return(t.appliedGlobalFlags.ignoreCase?`i`:``)+(e.dotAll?`s`:``)+(e.sticky?`y`:``)},Group({atomic:e,body:t,flags:n,parent:r},i,a){let o=i.currentFlags;n&&(i.currentFlags=W7(o,n));let s=t.map(a).join(`|`),c=!i.verbose&&t.length===1&&r.type!==`Quantifier`&&!e&&(!i.useFlagMods||!n)?s:`(?${kge(e,n,i.useFlagMods)}${s})`;return i.currentFlags=o,c},LookaroundAssertion({body:e,kind:t,negate:n},r,i){return`(?${`${t===`lookahead`?``:`<`}${n?`!`:`=`}`}${e.map(i).join(`|`)})`},Quantifier(e,t,n){return n(e.body)+Age(e)},Subroutine({isRecursive:e,ref:t},n){if(!e)throw Error(`Unexpected non-recursive subroutine in transformed AST`);let r=n.recursionLimit;return t===0?`(?R=${r})`:V7`\g<${t}&R=${r}>`}},wge=new Set([`$`,`(`,`)`,`*`,`+`,`.`,`?`,`[`,`\\`,`]`,`^`,`{`,`|`,`}`]),Tge=new Set([`-`,`\\`,`]`,`^`,`[`]),Ege=new Set("()-/[\\]^{|}!#$%&*+,.:;<=>?@`~".split(``)),m9=new Map([[9,V7`\t`],[10,V7`\n`],[11,V7`\v`],[12,V7`\f`],[13,V7`\r`],[8232,V7`\u2028`],[8233,V7`\u2029`],[65279,V7`\uFEFF`]]),Dge=/^\p{Cased}$/u;function h9(e){return Dge.test(e)}function g9(e,t){let n=!!(t!=null&&t.firstOnly),r=e.min.value,i=e.max.value,a=[];if(r<65&&(i===65535||i>=131071)||r===65536&&i>=131071)return a;for(let e=r;e<=i;e++){let t=B7(e);if(!h9(t))continue;let o=X7(t).filter(e=>{let t=e.codePointAt(0);return t<r||t>i});if(o.length&&(a.push(...o),n))break}return a}function _9(e,{escDigit:t,inCharClass:n,useFlagV:r}){if(m9.has(e))return m9.get(e);if(e<32||e>126&&e<160||e>262143||t&&jge(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,`0`)}`;let i=n?r?Ege:Tge:wge,a=B7(e);return(i.has(a)?`\\`:``)+a}function Oge(e){let t=e.map(e=>e.codePointAt(0)).sort((e,t)=>e-t),n=[],r=null;for(let e=0;e<t.length;e++)t[e+1]===t[e]+1?r!=null||(r=t[e]):r===null?n.push(t[e]):(n.push([r,t[e]]),r=null);return n}function kge(e,t,n){if(e)return`>`;let r=``;if(t&&n){let{enable:e,disable:n}=t;r=(e!=null&&e.ignoreCase?`i`:``)+(e!=null&&e.dotAll?`s`:``)+(n?`-`:``)+(n!=null&&n.ignoreCase?`i`:``)+(n!=null&&n.dotAll?`s`:``)}return`${r}:`}function Age({kind:e,max:t,min:n}){let r;return r=!n&&t===1?`?`:!n&&t===1/0?`*`:n===1&&t===1/0?`+`:n===t?`{${n}}`:`{${n},${t===1/0?``:t}}`,r+{greedy:``,lazy:`?`,possessive:`+`}[e]}function v9({type:e}){return e===`CapturingGroup`||e===`Group`||e===`LookaroundAssertion`}function jge(e){return e>47&&e<58}function y9({type:e,value:t}){return e===`Character`&&t===45}var Mge=(N7=new WeakMap,P7=new WeakMap,F7=new WeakMap,I7=new WeakMap,L7=new WeakMap,R7=new WeakSet,z7=class t extends RegExp{get source(){return wn(F7,this)||`(?:)`}constructor(n,r,i){var a=(...t)=>(super(...t),$me(this,R7),xn(this,N7,new Map),xn(this,P7,null),xn(this,F7,void 0),xn(this,I7,null),xn(this,L7,null),e.N(this,`rawOptions`,{}),this);let o=!!(i!=null&&i.lazyCompile);if(n instanceof RegExp){if(i)throw Error(`Cannot provide options when copying a regexp`);let e=n;a(e,r),Cn(F7,this,e.source),e instanceof t&&(Cn(N7,this,wn(N7,e)),Cn(I7,this,wn(I7,e)),Cn(L7,this,wn(L7,e)),this.rawOptions=e.rawOptions)}else{let e={hiddenCaptures:[],strategy:null,transfers:[],...i};a(o?``:n,r),Cn(F7,this,n),Cn(N7,this,Pge(e.hiddenCaptures,e.transfers)),Cn(L7,this,e.strategy),this.rawOptions=i==null?{}:i}o||Cn(P7,this,this)}exec(e){if(!wn(P7,this)){let{lazyCompile:e,...n}=this.rawOptions;Cn(P7,this,new t(wn(F7,this),this.flags,n))}let n=this.global||this.sticky,r=this.lastIndex;if(wn(L7,this)===`clip_search`&&n&&r){this.lastIndex=0;let t=Sn(R7,this,b9).call(this,e.slice(r));return t&&(Nge(t,r,e,this.hasIndices),this.lastIndex+=r),t}return Sn(R7,this,b9).call(this,e)}},z7);function b9(e){wn(P7,this).lastIndex=this.lastIndex;let t=the(z7.prototype,`exec`,this).call(wn(P7,this),e);if(this.lastIndex=wn(P7,this).lastIndex,!t||!wn(N7,this).size)return t;let n=[...t];t.length=1;let r;this.hasIndices&&(r=[...t.indices],t.indices.length=1);let i=[0];for(let e=1;e<n.length;e++){var a;let{hidden:o,transferTo:s}=(a=wn(N7,this).get(e))==null?{}:a;if(o?i.push(null):(i.push(t.length),t.push(n[e]),this.hasIndices&&t.indices.push(r[e])),s&&n[e]!==void 0){let a=i[s];if(!a)throw Error(`Invalid capture transfer to "${a}"`);if(t[a]=n[e],this.hasIndices&&(t.indices[a]=r[e]),t.groups){wn(I7,this)||Cn(I7,this,Fge(this.source));let i=wn(I7,this).get(s);i&&(t.groups[i]=n[e],this.hasIndices&&(t.indices.groups[i]=r[e]))}}}return t}function Nge(e,t,n,r){if(e.index+=t,e.input=n,r){let n=e.indices;for(let e=0;e<n.length;e++){let r=n[e];r&&(n[e]=[r[0]+t,r[1]+t])}let r=n.groups;r&&Object.keys(r).forEach(e=>{let n=r[e];n&&(r[e]=[n[0]+t,n[1]+t])})}}function Pge(e,t){let n=new Map;for(let t of e)n.set(t,{hidden:!0});for(let[e,r]of t)for(let t of r)G7(n,t,{}).transferTo=e;return n}function Fge(e){let t=/(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu,n=new Map,r=0,i=0,a;for(;a=t.exec(e);){let{0:e,groups:{capture:t,name:o}}=a;e===`[`?r++:r?e===`]`&&r--:t&&(i++,o&&n.set(i,o))}return n}function Ige(e,t){let n=Lge(e,t);return n.options?new Mge(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function Lge(e,t){let n=J7(t),r=uge(q5(e,{flags:n.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline},skipBackrefValidation:n.rules.allowOrphanBackrefs,unicodePropertyMap:Z7}),{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),i=xge(r,n),a=$he(i.pattern,{captureTransfers:i._captureTransfers,hiddenCaptures:i._hiddenCaptures,mode:`external`}),o=Zhe(Qhe(a.pattern).pattern,{captureTransfers:a.captureTransfers,hiddenCaptures:a.hiddenCaptures}),s={pattern:o.pattern,flags:`${n.hasIndices?`d`:``}${n.global?`g`:``}${i.flags}${i.options.disable.v?`u`:`v`}`};if(n.avoidSubclass){if(n.lazyCompileLength!==1/0)throw Error(`Lazy compilation requires subclass`)}else{let e=o.hiddenCaptures.sort((e,t)=>e-t),t=Array.from(o.captureTransfers),i=r._strategy,a=s.pattern.length>=n.lazyCompileLength;(e.length||t.length||i||a)&&(s.options={...e.length&&{hiddenCaptures:e},...t.length&&{transfers:t},...i&&{strategy:i},...a&&{lazyCompile:a}})}return s}function Rge(e,t){return Ige(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function zge(e={}){let t={target:`auto`,cache:new Map,...e};return t.regexConstructor||(t.regexConstructor=e=>Rge(e,{target:t.target})),{createScanner(e){return new Qme(e,t)},createString(e){return{content:e}}}}var x9=[{id:`abap`,name:`ABAP`,import:(()=>Promise.resolve().then(()=>require("./abap-D9f7lP7R.cjs")))},{id:`actionscript-3`,name:`ActionScript`,aliases:[`actionscript`,`as3`],import:(()=>Promise.resolve().then(()=>require("./actionscript-3-1SNa1QKK.cjs")))},{id:`ada`,name:`Ada`,import:(()=>Promise.resolve().then(()=>require("./ada-DMJLzCSy.cjs")))},{id:`ahk`,name:`AutoHotkey`,aliases:[`ahk1`],import:(()=>Promise.resolve().then(()=>require("./ahk-BBbcv4ig.cjs")))},{id:`ahk2`,name:`AutoHotkey2`,import:(()=>Promise.resolve().then(()=>require("./ahk2-BkzmAxuh.cjs")))},{id:`angular-html`,name:`Angular HTML`,import:(()=>Promise.resolve().then(()=>require("./angular-html-CGsuZc6a.cjs")).then(e=>e.n))},{id:`angular-ts`,name:`Angular TypeScript`,import:(()=>Promise.resolve().then(()=>require("./angular-ts-Bg4b1K8o.cjs")))},{id:`apache`,name:`Apache Conf`,import:(()=>Promise.resolve().then(()=>require("./apache-BfVwXjTe.cjs")))},{id:`apex`,name:`Apex`,import:(()=>Promise.resolve().then(()=>require("./apex-DhTsu9L-.cjs")))},{id:`apl`,name:`APL`,import:(()=>Promise.resolve().then(()=>require("./apl-D9ujzlDe.cjs")))},{id:`applescript`,name:`AppleScript`,import:(()=>Promise.resolve().then(()=>require("./applescript-Dp4_6DHk.cjs")))},{id:`ara`,name:`Ara`,import:(()=>Promise.resolve().then(()=>require("./ara-7B_E-tuJ.cjs")))},{id:`asciidoc`,name:`AsciiDoc`,aliases:[`adoc`],import:(()=>Promise.resolve().then(()=>require("./asciidoc-CaSyaXsH.cjs")))},{id:`asm`,name:`Assembly`,import:(()=>Promise.resolve().then(()=>require("./asm-Bukd2Wm4.cjs")))},{id:`astro`,name:`Astro`,import:(()=>Promise.resolve().then(()=>require("./astro-DuWrFiiv.cjs")))},{id:`awk`,name:`AWK`,import:(()=>Promise.resolve().then(()=>require("./awk-BKsnoTkQ.cjs")))},{id:`ballerina`,name:`Ballerina`,import:(()=>Promise.resolve().then(()=>require("./ballerina-Dx-3dhqK.cjs")))},{id:`bat`,name:`Batch File`,aliases:[`batch`,`cmd`],import:(()=>Promise.resolve().then(()=>require("./bat-CJmb6Iu-.cjs")))},{id:`beancount`,name:`Beancount`,import:(()=>Promise.resolve().then(()=>require("./beancount-Cf_TSRAB.cjs")))},{id:`berry`,name:`Berry`,aliases:[`be`],import:(()=>Promise.resolve().then(()=>require("./berry-DmOxvp7B.cjs")))},{id:`bibtex`,name:`BibTeX`,import:(()=>Promise.resolve().then(()=>require("./bibtex-DpuR8i_b.cjs")))},{id:`bicep`,name:`Bicep`,import:(()=>Promise.resolve().then(()=>require("./bicep-B3_2YXL8.cjs")))},{id:`bird2`,name:`BIRD2 Configuration`,aliases:[`bird`],import:(()=>Promise.resolve().then(()=>require("./bird2-D9BSMWyl.cjs")))},{id:`blade`,name:`Blade`,import:(()=>Promise.resolve().then(()=>require("./blade-DEZwhTmz.cjs")))},{id:`bsl`,name:`1C (Enterprise)`,aliases:[`1c`],import:(()=>Promise.resolve().then(()=>require("./bsl-DgwVAUwK.cjs")))},{id:`c`,name:`C`,import:(()=>Promise.resolve().then(()=>require("./c-DDdF0YXr.cjs")).then(e=>e.n))},{id:`c3`,name:`C3`,import:(()=>Promise.resolve().then(()=>require("./c3-CR9pzXUD.cjs")))},{id:`cadence`,name:`Cadence`,aliases:[`cdc`],import:(()=>Promise.resolve().then(()=>require("./cadence-B2s4c_al.cjs")))},{id:`cairo`,name:`Cairo`,import:(()=>Promise.resolve().then(()=>require("./cairo-Bv7QV5vw.cjs")))},{id:`chapel`,name:`Chapel`,aliases:[`chpl`],import:(()=>Promise.resolve().then(()=>require("./chapel-BGl0pLYE.cjs")))},{id:`clarity`,name:`Clarity`,import:(()=>Promise.resolve().then(()=>require("./clarity-CLU21rXc.cjs")))},{id:`clojure`,name:`Clojure`,aliases:[`clj`],import:(()=>Promise.resolve().then(()=>require("./clojure-mw2zISFV.cjs")))},{id:`cmake`,name:`CMake`,import:(()=>Promise.resolve().then(()=>require("./cmake-BmTEdSo8.cjs")))},{id:`cobol`,name:`COBOL`,import:(()=>Promise.resolve().then(()=>require("./cobol-BgGrvcfE.cjs")))},{id:`codeowners`,name:`CODEOWNERS`,import:(()=>Promise.resolve().then(()=>require("./codeowners-jShtr2Jw.cjs")))},{id:`codeql`,name:`CodeQL`,aliases:[`ql`],import:(()=>Promise.resolve().then(()=>require("./codeql-Die9Idyd.cjs")))},{id:`coffee`,name:`CoffeeScript`,aliases:[`coffeescript`],import:(()=>Promise.resolve().then(()=>require("./coffee-CnTOT7qi.cjs")))},{id:`common-lisp`,name:`Common Lisp`,aliases:[`lisp`],import:(()=>Promise.resolve().then(()=>require("./common-lisp-DoXb_YLN.cjs")))},{id:`coq`,name:`Rocq`,import:(()=>Promise.resolve().then(()=>require("./coq-DVqIRctb.cjs")))},{id:`cpp`,name:`C++`,aliases:[`c++`],import:(()=>Promise.resolve().then(()=>require("./cpp-BdIhYOqJ.cjs")).then(e=>e.n))},{id:`crystal`,name:`Crystal`,import:(()=>Promise.resolve().then(()=>require("./crystal-C0oOOTvI.cjs")))},{id:`csharp`,name:`C#`,aliases:[`c#`,`cs`],import:(()=>Promise.resolve().then(()=>require("./csharp-DyzKF461.cjs")))},{id:`css`,name:`CSS`,import:(()=>Promise.resolve().then(()=>require("./css-BJ4fQgJY.cjs")).then(e=>e.n))},{id:`csv`,name:`CSV`,import:(()=>Promise.resolve().then(()=>require("./csv-CIv6ARZP.cjs")))},{id:`cue`,name:`CUE`,import:(()=>Promise.resolve().then(()=>require("./cue-Bl5rY13a.cjs")))},{id:`cypher`,name:`Cypher`,aliases:[`cql`],import:(()=>Promise.resolve().then(()=>require("./cypher-CE6nLqE0.cjs")))},{id:`d`,name:`D`,import:(()=>Promise.resolve().then(()=>require("./d-BlTNAVst.cjs")))},{id:`dart`,name:`Dart`,import:(()=>Promise.resolve().then(()=>require("./dart-CQNBGWB1.cjs")))},{id:`dax`,name:`DAX`,import:(()=>Promise.resolve().then(()=>require("./dax-bd5I75s9.cjs")))},{id:`desktop`,name:`Desktop`,import:(()=>Promise.resolve().then(()=>require("./desktop-D9mEtiH_.cjs")))},{id:`diff`,name:`Diff`,import:(()=>Promise.resolve().then(()=>require("./diff-Blx6Qf3I.cjs")))},{id:`docker`,name:`Dockerfile`,aliases:[`dockerfile`],import:(()=>Promise.resolve().then(()=>require("./docker-OqFhd4tF.cjs")))},{id:`dotenv`,name:`dotEnv`,import:(()=>Promise.resolve().then(()=>require("./dotenv-odMSI3oj.cjs")))},{id:`dream-maker`,name:`Dream Maker`,import:(()=>Promise.resolve().then(()=>require("./dream-maker-BrbFNsR5.cjs")))},{id:`edge`,name:`Edge`,import:(()=>Promise.resolve().then(()=>require("./edge-D7t7tSii.cjs")))},{id:`elixir`,name:`Elixir`,import:(()=>Promise.resolve().then(()=>require("./elixir-CEVCh53I.cjs")))},{id:`elm`,name:`Elm`,import:(()=>Promise.resolve().then(()=>require("./elm-BktTaRPW.cjs")))},{id:`emacs-lisp`,name:`Emacs Lisp`,aliases:[`elisp`],import:(()=>Promise.resolve().then(()=>require("./emacs-lisp-Cde7nzwV.cjs")))},{id:`erb`,name:`ERB`,import:(()=>Promise.resolve().then(()=>require("./erb-Bas_b7PL.cjs")))},{id:`erlang`,name:`Erlang`,aliases:[`erl`],import:(()=>Promise.resolve().then(()=>require("./erlang-D7myVpiL.cjs")))},{id:`fennel`,name:`Fennel`,import:(()=>Promise.resolve().then(()=>require("./fennel-D4LWCPaw.cjs")))},{id:`fish`,name:`Fish`,import:(()=>Promise.resolve().then(()=>require("./fish-D-VeiBPz.cjs")))},{id:`fluent`,name:`Fluent`,aliases:[`ftl`],import:(()=>Promise.resolve().then(()=>require("./fluent-LXOxASeZ.cjs")))},{id:`fortran-fixed-form`,name:`Fortran (Fixed Form)`,aliases:[`f`,`for`,`f77`],import:(()=>Promise.resolve().then(()=>require("./fortran-fixed-form-B5ZnpAJW.cjs")))},{id:`fortran-free-form`,name:`Fortran (Free Form)`,aliases:[`f90`,`f95`,`f03`,`f08`,`f18`],import:(()=>Promise.resolve().then(()=>require("./fortran-free-form-Bz0xRh3V.cjs")))},{id:`fsharp`,name:`F#`,aliases:[`f#`,`fs`],import:(()=>Promise.resolve().then(()=>require("./fsharp-DHex0DcA.cjs")))},{id:`gdresource`,name:`GDResource`,aliases:[`tscn`,`tres`],import:(()=>Promise.resolve().then(()=>require("./gdresource-DGM5XQcz.cjs")))},{id:`gdscript`,name:`GDScript`,aliases:[`gd`],import:(()=>Promise.resolve().then(()=>require("./gdscript-CFNyS12K.cjs")))},{id:`gdshader`,name:`GDShader`,import:(()=>Promise.resolve().then(()=>require("./gdshader-xrVUcdLW.cjs")))},{id:`genie`,name:`Genie`,import:(()=>Promise.resolve().then(()=>require("./genie-Bez7IjhT.cjs")))},{id:`gherkin`,name:`Gherkin`,import:(()=>Promise.resolve().then(()=>require("./gherkin-B-5y9e_N.cjs")))},{id:`git-commit`,name:`Git Commit Message`,import:(()=>Promise.resolve().then(()=>require("./git-commit-DIgLxyZc.cjs")))},{id:`git-rebase`,name:`Git Rebase Message`,import:(()=>Promise.resolve().then(()=>require("./git-rebase-DGo4nA7C.cjs")))},{id:`gleam`,name:`Gleam`,import:(()=>Promise.resolve().then(()=>require("./gleam-DWwZZ0Vg.cjs")))},{id:`glimmer-js`,name:`Glimmer JS`,aliases:[`gjs`],import:(()=>Promise.resolve().then(()=>require("./glimmer-js-Z7E0DaWX.cjs")))},{id:`glimmer-ts`,name:`Glimmer TS`,aliases:[`gts`],import:(()=>Promise.resolve().then(()=>require("./glimmer-ts-osenBmqR.cjs")))},{id:`glsl`,name:`GLSL`,import:(()=>Promise.resolve().then(()=>require("./glsl-DqSyLtjd.cjs")).then(e=>e.n))},{id:`gn`,name:`GN`,import:(()=>Promise.resolve().then(()=>require("./gn-fohhjdVk.cjs")))},{id:`gnuplot`,name:`Gnuplot`,import:(()=>Promise.resolve().then(()=>require("./gnuplot-Bza953iO.cjs")))},{id:`go`,name:`Go`,import:(()=>Promise.resolve().then(()=>require("./go-DZ-Uc_xo.cjs")))},{id:`graphql`,name:`GraphQL`,aliases:[`gql`],import:(()=>Promise.resolve().then(()=>require("./graphql-DTkt67qx.cjs")).then(e=>e.n))},{id:`groovy`,name:`Groovy`,import:(()=>Promise.resolve().then(()=>require("./groovy-DVx8lqH4.cjs")))},{id:`hack`,name:`Hack`,import:(()=>Promise.resolve().then(()=>require("./hack-BsFtI2Eg.cjs")))},{id:`haml`,name:`Ruby Haml`,import:(()=>Promise.resolve().then(()=>require("./haml-BBf8fdr9.cjs")).then(e=>e.n))},{id:`handlebars`,name:`Handlebars`,aliases:[`hbs`],import:(()=>Promise.resolve().then(()=>require("./handlebars-DPepJR-F.cjs")))},{id:`haskell`,name:`Haskell`,aliases:[`hs`],import:(()=>Promise.resolve().then(()=>require("./haskell-xZMA172k.cjs")))},{id:`haxe`,name:`Haxe`,import:(()=>Promise.resolve().then(()=>require("./haxe-CSTL0CnR.cjs")))},{id:`hcl`,name:`HashiCorp HCL`,import:(()=>Promise.resolve().then(()=>require("./hcl-ilAxk5Pa.cjs")))},{id:`hjson`,name:`Hjson`,import:(()=>Promise.resolve().then(()=>require("./hjson-sppvvtJ4.cjs")))},{id:`hlsl`,name:`HLSL`,import:(()=>Promise.resolve().then(()=>require("./hlsl-CXHjUDTp.cjs")))},{id:`html`,name:`HTML`,import:(()=>Promise.resolve().then(()=>require("./html-tDTTwBjP.cjs")).then(e=>e.n))},{id:`html-derivative`,name:`HTML (Derivative)`,import:(()=>Promise.resolve().then(()=>require("./html-derivative-CiU9WY3_.cjs")))},{id:`http`,name:`HTTP`,import:(()=>Promise.resolve().then(()=>require("./http-BEeboTha.cjs")))},{id:`hurl`,name:`Hurl`,import:(()=>Promise.resolve().then(()=>require("./hurl-CzW0xtQK.cjs")))},{id:`hxml`,name:`HXML`,import:(()=>Promise.resolve().then(()=>require("./hxml-DL8PZQYn.cjs")))},{id:`hy`,name:`Hy`,import:(()=>Promise.resolve().then(()=>require("./hy-CSJ5X_M3.cjs")))},{id:`imba`,name:`Imba`,import:(()=>Promise.resolve().then(()=>require("./imba-BZMBXThP.cjs")))},{id:`ini`,name:`INI`,aliases:[`properties`],import:(()=>Promise.resolve().then(()=>require("./ini-CMP9Qx8U.cjs")))},{id:`java`,name:`Java`,import:(()=>Promise.resolve().then(()=>require("./java-DEV9nIzf.cjs")).then(e=>e.n))},{id:`javascript`,name:`JavaScript`,aliases:[`js`,`cjs`,`mjs`],import:(()=>Promise.resolve().then(()=>require("./javascript-COXg7KRK.cjs")).then(e=>e.n))},{id:`jinja`,name:`Jinja`,import:(()=>Promise.resolve().then(()=>require("./jinja-SDapQ1jF.cjs")))},{id:`jison`,name:`Jison`,import:(()=>Promise.resolve().then(()=>require("./jison-C6HvDI82.cjs")))},{id:`json`,name:`JSON`,import:(()=>Promise.resolve().then(()=>require("./json-D9-BN10e.cjs")).then(e=>e.n))},{id:`json5`,name:`JSON5`,import:(()=>Promise.resolve().then(()=>require("./json5-DyRMMeqN.cjs")))},{id:`jsonc`,name:`JSON with Comments`,import:(()=>Promise.resolve().then(()=>require("./jsonc-BQLBz3-P.cjs")))},{id:`jsonl`,name:`JSON Lines`,import:(()=>Promise.resolve().then(()=>require("./jsonl-DYFddF_r.cjs")))},{id:`jsonnet`,name:`Jsonnet`,import:(()=>Promise.resolve().then(()=>require("./jsonnet-BKLdGfOM.cjs")))},{id:`jssm`,name:`JSSM`,aliases:[`fsl`],import:(()=>Promise.resolve().then(()=>require("./jssm-BzBV_7Zv.cjs")))},{id:`jsx`,name:`JSX`,import:(()=>Promise.resolve().then(()=>require("./jsx-CJ8AuAld.cjs")).then(e=>e.n))},{id:`julia`,name:`Julia`,aliases:[`jl`],import:(()=>Promise.resolve().then(()=>require("./julia-BOWoqzWb.cjs")))},{id:`just`,name:`Just`,aliases:[`justfile`],import:(()=>Promise.resolve().then(()=>require("./just-DJBTWvtH.cjs")))},{id:`kdl`,name:`KDL`,import:(()=>Promise.resolve().then(()=>require("./kdl-B_X-LdLH.cjs")))},{id:`kotlin`,name:`Kotlin`,aliases:[`kt`,`kts`],import:(()=>Promise.resolve().then(()=>require("./kotlin-DJN2lNtg.cjs")))},{id:`kusto`,name:`Kusto`,aliases:[`kql`],import:(()=>Promise.resolve().then(()=>require("./kusto-cSMBXpvf.cjs")))},{id:`latex`,name:`LaTeX`,import:(()=>Promise.resolve().then(()=>require("./latex-jmD-x2Sw.cjs")))},{id:`lean`,name:`Lean 4`,aliases:[`lean4`],import:(()=>Promise.resolve().then(()=>require("./lean-DPZ17Q6r.cjs")))},{id:`less`,name:`Less`,import:(()=>Promise.resolve().then(()=>require("./less-DaiBAj3t.cjs")))},{id:`liquid`,name:`Liquid`,import:(()=>Promise.resolve().then(()=>require("./liquid-B0j0Ojr6.cjs")))},{id:`llvm`,name:`LLVM IR`,import:(()=>Promise.resolve().then(()=>require("./llvm-CPVKgv6O.cjs")))},{id:`log`,name:`Log file`,import:(()=>Promise.resolve().then(()=>require("./log-D5-TWMZt.cjs")))},{id:`logo`,name:`Logo`,import:(()=>Promise.resolve().then(()=>require("./logo-BJ1H7oof.cjs")))},{id:`lua`,name:`Lua`,import:(()=>Promise.resolve().then(()=>require("./lua-Cx8wh7Cx.cjs")).then(e=>e.n))},{id:`luau`,name:`Luau`,import:(()=>Promise.resolve().then(()=>require("./luau-C6IQOGXK.cjs")))},{id:`make`,name:`Makefile`,aliases:[`makefile`],import:(()=>Promise.resolve().then(()=>require("./make-BgHlnbZ2.cjs")))},{id:`markdown`,name:`Markdown`,aliases:[`md`],import:(()=>Promise.resolve().then(()=>require("./markdown-DJNo_Vtk.cjs")))},{id:`marko`,name:`Marko`,import:(()=>Promise.resolve().then(()=>require("./marko-DgvX-ocG.cjs")))},{id:`matlab`,name:`MATLAB`,import:(()=>Promise.resolve().then(()=>require("./matlab-m3V6oILU.cjs")))},{id:`mdc`,name:`MDC`,import:(()=>Promise.resolve().then(()=>require("./mdc-T8GMGcnF.cjs")))},{id:`mdx`,name:`MDX`,import:(()=>Promise.resolve().then(()=>require("./mdx-m8yL-NMn.cjs")))},{id:`mermaid`,name:`Mermaid`,aliases:[`mmd`],import:(()=>Promise.resolve().then(()=>require("./mermaid-DfhRVtAp.cjs")))},{id:`mipsasm`,name:`MIPS Assembly`,aliases:[`mips`],import:(()=>Promise.resolve().then(()=>require("./mipsasm-B58eUf9-.cjs")))},{id:`mojo`,name:`Mojo`,import:(()=>Promise.resolve().then(()=>require("./mojo-6K5D6Dh6.cjs")))},{id:`moonbit`,name:`MoonBit`,aliases:[`mbt`,`mbti`],import:(()=>Promise.resolve().then(()=>require("./moonbit-DQWxLSoE.cjs")))},{id:`move`,name:`Move`,import:(()=>Promise.resolve().then(()=>require("./move-C_uuob8a.cjs")))},{id:`narrat`,name:`Narrat Language`,aliases:[`nar`],import:(()=>Promise.resolve().then(()=>require("./narrat-JKcvFI7d.cjs")))},{id:`nextflow`,name:`Nextflow`,aliases:[`nf`],import:(()=>Promise.resolve().then(()=>require("./nextflow-0iz6OlVX.cjs")))},{id:`nextflow-groovy`,name:`Nextflow Groovy`,import:(()=>Promise.resolve().then(()=>require("./nextflow-groovy-CqTncJO_.cjs")))},{id:`nginx`,name:`Nginx`,import:(()=>Promise.resolve().then(()=>require("./nginx-CJ6LIx1U.cjs")))},{id:`nim`,name:`Nim`,import:(()=>Promise.resolve().then(()=>require("./nim-_u7AMou0.cjs")))},{id:`nix`,name:`Nix`,import:(()=>Promise.resolve().then(()=>require("./nix-CpfxZ_bS.cjs")))},{id:`nsis`,name:`NSIS`,import:(()=>Promise.resolve().then(()=>require("./nsis-BDB4qnDs.cjs")))},{id:`nushell`,name:`nushell`,aliases:[`nu`],import:(()=>Promise.resolve().then(()=>require("./nushell-CYKxvQln.cjs")))},{id:`objective-c`,name:`Objective-C`,aliases:[`objc`],import:(()=>Promise.resolve().then(()=>require("./objective-c-Cp5on4bZ.cjs")))},{id:`objective-cpp`,name:`Objective-C++`,import:(()=>Promise.resolve().then(()=>require("./objective-cpp-B6wmQxHk.cjs")))},{id:`ocaml`,name:`OCaml`,import:(()=>Promise.resolve().then(()=>require("./ocaml-wKr4v9_0.cjs")))},{id:`odin`,name:`Odin`,import:(()=>Promise.resolve().then(()=>require("./odin-BPRqD4Ah.cjs")))},{id:`openscad`,name:`OpenSCAD`,aliases:[`scad`],import:(()=>Promise.resolve().then(()=>require("./openscad-CJt_cGbq.cjs")))},{id:`org`,name:`Org Markup`,import:(()=>Promise.resolve().then(()=>require("./org-BlOpuc2_.cjs")))},{id:`pascal`,name:`Pascal`,import:(()=>Promise.resolve().then(()=>require("./pascal-DFML2M-O.cjs")))},{id:`perl`,name:`Perl`,import:(()=>Promise.resolve().then(()=>require("./perl-D8XroKo0.cjs")))},{id:`php`,name:`PHP`,import:(()=>Promise.resolve().then(()=>require("./php-C8SG25Wa.cjs")))},{id:`pkl`,name:`Pkl`,import:(()=>Promise.resolve().then(()=>require("./pkl-Bqt7riVz.cjs")))},{id:`plsql`,name:`PL/SQL`,import:(()=>Promise.resolve().then(()=>require("./plsql-B0-7Px1S.cjs")))},{id:`po`,name:`Gettext PO`,aliases:[`pot`,`potx`],import:(()=>Promise.resolve().then(()=>require("./po-CiVg_bBq.cjs")))},{id:`polar`,name:`Polar`,import:(()=>Promise.resolve().then(()=>require("./polar-BNcd9b8g.cjs")))},{id:`postcss`,name:`PostCSS`,import:(()=>Promise.resolve().then(()=>require("./postcss-fpWrX1sf.cjs")))},{id:`powerquery`,name:`PowerQuery`,import:(()=>Promise.resolve().then(()=>require("./powerquery-CwCOBJJ-.cjs")))},{id:`powershell`,name:`PowerShell`,aliases:[`ps`,`ps1`,`pwsh`],import:(()=>Promise.resolve().then(()=>require("./powershell-BEiZdh4J.cjs")))},{id:`prisma`,name:`Prisma`,import:(()=>Promise.resolve().then(()=>require("./prisma-ls1kgouZ.cjs")))},{id:`prolog`,name:`Prolog`,import:(()=>Promise.resolve().then(()=>require("./prolog-DQQlePNQ.cjs")))},{id:`proto`,name:`Protocol Buffer 3`,aliases:[`protobuf`],import:(()=>Promise.resolve().then(()=>require("./proto-Dd44YrOo.cjs")))},{id:`pug`,name:`Pug`,aliases:[`jade`],import:(()=>Promise.resolve().then(()=>require("./pug-DGLtElT2.cjs")))},{id:`puppet`,name:`Puppet`,import:(()=>Promise.resolve().then(()=>require("./puppet-CX1S_tvU.cjs")))},{id:`purescript`,name:`PureScript`,import:(()=>Promise.resolve().then(()=>require("./purescript-BIbFQw4z.cjs")))},{id:`python`,name:`Python`,aliases:[`py`],import:(()=>Promise.resolve().then(()=>require("./python-CoEq_Gwh.cjs")))},{id:`qml`,name:`QML`,import:(()=>Promise.resolve().then(()=>require("./qml-f8YoerFJ.cjs")))},{id:`qmldir`,name:`QML Directory`,import:(()=>Promise.resolve().then(()=>require("./qmldir-Wb6QN41x.cjs")))},{id:`qss`,name:`Qt Style Sheets`,import:(()=>Promise.resolve().then(()=>require("./qss-DT7O27HR.cjs")))},{id:`r`,name:`R`,import:(()=>Promise.resolve().then(()=>require("./r-DTie9Nyk.cjs")).then(e=>e.n))},{id:`racket`,name:`Racket`,import:(()=>Promise.resolve().then(()=>require("./racket-CcfP1To_.cjs")))},{id:`raku`,name:`Raku`,aliases:[`perl6`],import:(()=>Promise.resolve().then(()=>require("./raku-CR7iAzRQ.cjs")))},{id:`razor`,name:`ASP.NET Razor`,import:(()=>Promise.resolve().then(()=>require("./razor-Cznq4CrH.cjs")))},{id:`rbs`,name:`RBS`,aliases:[`ruby-signature`],import:(()=>Promise.resolve().then(()=>require("./rbs-BBAlLRGV.cjs")))},{id:`reg`,name:`Windows Registry Script`,import:(()=>Promise.resolve().then(()=>require("./reg-Dn07to7D.cjs")))},{id:`regexp`,name:`RegExp`,aliases:[`regex`],import:(()=>Promise.resolve().then(()=>require("./regexp-W6uDzT_l.cjs")).then(e=>e.n))},{id:`rel`,name:`Rel`,import:(()=>Promise.resolve().then(()=>require("./rel-CmKpxluJ.cjs")))},{id:`riscv`,name:`RISC-V`,import:(()=>Promise.resolve().then(()=>require("./riscv-BMP4WZ0H.cjs")))},{id:`ron`,name:`RON`,import:(()=>Promise.resolve().then(()=>require("./ron-DGk0b3Qo.cjs")))},{id:`rosmsg`,name:`ROS Interface`,import:(()=>Promise.resolve().then(()=>require("./rosmsg-3Nlnhifn.cjs")))},{id:`rst`,name:`reStructuredText`,import:(()=>Promise.resolve().then(()=>require("./rst-CjRZqYHL.cjs")))},{id:`ruby`,name:`Ruby`,aliases:[`rb`],import:(()=>Promise.resolve().then(()=>require("./ruby-DYZIHus3.cjs")))},{id:`rust`,name:`Rust`,aliases:[`rs`],import:(()=>Promise.resolve().then(()=>require("./rust-DWYDZl_E.cjs")))},{id:`sas`,name:`SAS`,import:(()=>Promise.resolve().then(()=>require("./sas-D4DC5Y7L.cjs")))},{id:`sass`,name:`Sass`,import:(()=>Promise.resolve().then(()=>require("./sass-BCqyx6h0.cjs")))},{id:`scala`,name:`Scala`,import:(()=>Promise.resolve().then(()=>require("./scala-XfjhEgq1.cjs")))},{id:`scheme`,name:`Scheme`,import:(()=>Promise.resolve().then(()=>require("./scheme-DudqZzgM.cjs")))},{id:`scss`,name:`SCSS`,import:(()=>Promise.resolve().then(()=>require("./scss-D2afYGNC.cjs")).then(e=>e.n))},{id:`sdbl`,name:`1C (Query)`,aliases:[`1c-query`],import:(()=>Promise.resolve().then(()=>require("./sdbl-0au37BfD.cjs")))},{id:`shaderlab`,name:`ShaderLab`,aliases:[`shader`],import:(()=>Promise.resolve().then(()=>require("./shaderlab-DQ6XiGWr.cjs")))},{id:`shellscript`,name:`Shell`,aliases:[`bash`,`sh`,`shell`,`zsh`],import:(()=>Promise.resolve().then(()=>require("./shellscript-DL7dA6YH.cjs")).then(e=>e.n))},{id:`shellsession`,name:`Shell Session`,aliases:[`console`],import:(()=>Promise.resolve().then(()=>require("./shellsession-CGkCOuFx.cjs")))},{id:`smalltalk`,name:`GNU Smalltalk`,import:(()=>Promise.resolve().then(()=>require("./smalltalk-Dz8YZbKb.cjs")))},{id:`smithy`,name:`Smithy`,import:(()=>Promise.resolve().then(()=>require("./smithy-D9of8KPf.cjs")))},{id:`solidity`,name:`Solidity`,import:(()=>Promise.resolve().then(()=>require("./solidity-Biifp85I.cjs")))},{id:`soy`,name:`Closure Templates`,aliases:[`closure-templates`],import:(()=>Promise.resolve().then(()=>require("./soy-B2OqotLG.cjs")))},{id:`sparql`,name:`SPARQL`,import:(()=>Promise.resolve().then(()=>require("./sparql-CRcYfzel.cjs")))},{id:`splunk`,name:`Splunk Query Language`,aliases:[`spl`],import:(()=>Promise.resolve().then(()=>require("./splunk-DQzoGUt4.cjs")))},{id:`sql`,name:`SQL`,import:(()=>Promise.resolve().then(()=>require("./sql-BLxweCea.cjs")).then(e=>e.n))},{id:`ssh-config`,name:`SSH Config`,import:(()=>Promise.resolve().then(()=>require("./ssh-config-D4Uy3sIn.cjs")))},{id:`stata`,name:`Stata`,import:(()=>Promise.resolve().then(()=>require("./stata-DUfnFR7t.cjs")))},{id:`stylus`,name:`Stylus`,aliases:[`styl`],import:(()=>Promise.resolve().then(()=>require("./stylus-Dx3PW4YO.cjs")))},{id:`surrealql`,name:`SurrealQL`,aliases:[`surql`],import:(()=>Promise.resolve().then(()=>require("./surrealql-Zfoia8BY.cjs")))},{id:`svelte`,name:`Svelte`,import:(()=>Promise.resolve().then(()=>require("./svelte-aFul1Jy8.cjs")))},{id:`swift`,name:`Swift`,import:(()=>Promise.resolve().then(()=>require("./swift-DAyvnHrT.cjs")))},{id:`system-verilog`,name:`SystemVerilog`,import:(()=>Promise.resolve().then(()=>require("./system-verilog-DaXWkmcQ.cjs")))},{id:`systemd`,name:`Systemd Units`,import:(()=>Promise.resolve().then(()=>require("./systemd-Bexg9aEv.cjs")))},{id:`talonscript`,name:`TalonScript`,aliases:[`talon`],import:(()=>Promise.resolve().then(()=>require("./talonscript-Cuh6WVtP.cjs")))},{id:`tasl`,name:`Tasl`,import:(()=>Promise.resolve().then(()=>require("./tasl-C_hZgE-5.cjs")))},{id:`tcl`,name:`Tcl`,import:(()=>Promise.resolve().then(()=>require("./tcl-eNLg5lZC.cjs")))},{id:`templ`,name:`Templ`,import:(()=>Promise.resolve().then(()=>require("./templ-Dx8bEvea.cjs")))},{id:`terraform`,name:`Terraform`,aliases:[`tf`,`tfvars`],import:(()=>Promise.resolve().then(()=>require("./terraform-CxE1rO-k.cjs")))},{id:`tex`,name:`TeX`,import:(()=>Promise.resolve().then(()=>require("./tex-DLVxreb-.cjs")).then(e=>e.n))},{id:`toml`,name:`TOML`,import:(()=>Promise.resolve().then(()=>require("./toml-ChBe3vI_.cjs")))},{id:`ts-tags`,name:`TypeScript with Tags`,aliases:[`lit`],import:(()=>Promise.resolve().then(()=>require("./ts-tags-BIebym7V.cjs")))},{id:`tsv`,name:`TSV`,import:(()=>Promise.resolve().then(()=>require("./tsv-CrGD5YUm.cjs")))},{id:`tsx`,name:`TSX`,import:(()=>Promise.resolve().then(()=>require("./tsx-B4QBkk0q.cjs")).then(e=>e.n))},{id:`turtle`,name:`Turtle`,import:(()=>Promise.resolve().then(()=>require("./turtle-CiQ07SMw.cjs")))},{id:`twig`,name:`Twig`,import:(()=>Promise.resolve().then(()=>require("./twig-BgwYNE2l.cjs")))},{id:`typescript`,name:`TypeScript`,aliases:[`ts`,`cts`,`mts`],import:(()=>Promise.resolve().then(()=>require("./typescript-DoW3h951.cjs")).then(e=>e.n))},{id:`typespec`,name:`TypeSpec`,aliases:[`tsp`],import:(()=>Promise.resolve().then(()=>require("./typespec-BwnSIeJG.cjs")))},{id:`typst`,name:`Typst`,aliases:[`typ`],import:(()=>Promise.resolve().then(()=>require("./typst-9vf_wdP8.cjs")))},{id:`v`,name:`V`,import:(()=>Promise.resolve().then(()=>require("./v-Ddjw-JM2.cjs")))},{id:`vala`,name:`Vala`,import:(()=>Promise.resolve().then(()=>require("./vala-DXHncjSc.cjs")))},{id:`vb`,name:`Visual Basic`,import:(()=>Promise.resolve().then(()=>require("./vb-RiRwTUiM.cjs")))},{id:`verilog`,name:`Verilog`,import:(()=>Promise.resolve().then(()=>require("./verilog-CBllI0Ed.cjs")))},{id:`vhdl`,name:`VHDL`,import:(()=>Promise.resolve().then(()=>require("./vhdl-BqB4hRAa.cjs")))},{id:`viml`,name:`Vim Script`,aliases:[`vim`,`vimscript`],import:(()=>Promise.resolve().then(()=>require("./viml-DhJi0txc.cjs")))},{id:`vue`,name:`Vue`,import:(()=>Promise.resolve().then(()=>require("./vue-BRjGF9q6.cjs")))},{id:`vue-html`,name:`Vue HTML`,import:(()=>Promise.resolve().then(()=>require("./vue-html-5pJeWJlE.cjs")))},{id:`vue-vine`,name:`Vue Vine`,import:(()=>Promise.resolve().then(()=>require("./vue-vine-D8sXouna.cjs")))},{id:`vyper`,name:`Vyper`,aliases:[`vy`],import:(()=>Promise.resolve().then(()=>require("./vyper-B72WV0D1.cjs")))},{id:`wasm`,name:`WebAssembly`,import:(()=>Promise.resolve().then(()=>require("./wasm-Dj5U0ipn.cjs")))},{id:`wenyan`,name:`Wenyan`,aliases:[`文言`],import:(()=>Promise.resolve().then(()=>require("./wenyan-B3uonrhG.cjs")))},{id:`wgsl`,name:`WGSL`,import:(()=>Promise.resolve().then(()=>require("./wgsl-ov_TUkoE.cjs")))},{id:`wikitext`,name:`Wikitext`,aliases:[`mediawiki`,`wiki`],import:(()=>Promise.resolve().then(()=>require("./wikitext-BSqo2iW8.cjs")))},{id:`wit`,name:`WebAssembly Interface Types`,import:(()=>Promise.resolve().then(()=>require("./wit-BwT5kHXA.cjs")))},{id:`wolfram`,name:`Wolfram`,aliases:[`wl`],import:(()=>Promise.resolve().then(()=>require("./wolfram-VcvJeSw6.cjs")))},{id:`xml`,name:`XML`,import:(()=>Promise.resolve().then(()=>require("./xml-DfteIxKp.cjs")).then(e=>e.n))},{id:`xsl`,name:`XSL`,import:(()=>Promise.resolve().then(()=>require("./xsl-BaF5pye5.cjs")))},{id:`yaml`,name:`YAML`,aliases:[`yml`],import:(()=>Promise.resolve().then(()=>require("./yaml-BWP6Z5iN.cjs")).then(e=>e.n))},{id:`zenscript`,name:`ZenScript`,import:(()=>Promise.resolve().then(()=>require("./zenscript-DZChKBpm.cjs")))},{id:`zig`,name:`Zig`,import:(()=>Promise.resolve().then(()=>require("./zig-DhUwT1FC.cjs")))}],Bge=Object.fromEntries(x9.map(e=>[e.id,e.import])),Vge=Object.fromEntries(x9.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(t=>[t,e.import]))||[]})),S9={...Bge,...Vge},Hge=[`json`,`xml`,`markdown`],C9=null,w9=null,T9=new Map,E9=(0,n.ref)(!0);function D9(){function t(){return w9||(w9=(async()=>{try{var t,n;if(C9){E9.value=!1;return}let r=e.b(),i=await Promise.all(Hge.map(async e=>{let t=S9[e];if(!t)return[];try{return(await t()).default}catch{return[]}}));if(C9=await Zme({themes:[(t=r.getHighlighterTheme())==null?void 0:t.light,(n=r.getHighlighterTheme())==null?void 0:n.dark],langs:i.filter(Boolean).flat(),engine:zge({target:`ES2018`})}),!C9)throw Error(`Failed to create Shiki highlighter`);E9.value=!1}catch(e){throw w9=null,e}})(),w9)}async function n(e){try{await t()}catch(e){return console.error(`Failed to initialize Shiki:`,e),!1}if(!C9)return!1;if(C9.getLoadedLanguages().includes(e))return!0;let n=T9.get(e);if(n)return n;let r=(async()=>{let t=S9[e];if(!t)return console.warn(`Shiki language "${e}" not available.`),!1;try{let e=await t();return await C9.loadLanguage(e.default),!0}catch(t){return console.error(`Failed to load Shiki language "${e}":`,t),!1}finally{T9.delete(e)}})();return T9.set(e,r),r}function r(){return C9!==null}function i(e){var t;return(t=C9==null?void 0:C9.getLoadedLanguages().includes(e))!=null&&t}function a(e,{lang:t,theme:n}){return C9&&C9.getLoadedLanguages().includes(t)?C9.codeToHtml(e,{lang:t,theme:n}):`<pre><code>${e}</code></pre>`}function o(){C9=null,w9=null,T9.clear(),E9.value=!0}return{loading:E9,renderShiki:a,init:t,ensureLanguage:n,isReady:r,isLanguageLoaded:i,reset:o,initShiki:async()=>{console.warn(`initShiki is deprecated, use init instead`),await t()}}}var Uge=[`innerHTML`],Wge={__name:`OAShiki`,props:{code:{type:[String,Object,Array,Number,Boolean],required:!0},lang:{type:String,required:!0}},setup(n){let r=n,i=/background-color:[^;]+;/g,a=e.b().isDark,o=D9(),s=(0,t.ref)(null);return(0,t.watch)([()=>r.code,()=>r.lang,()=>a.value],async()=>{let e=typeof r.code==`string`?r.code:JSON.stringify(r.code,null,2);await o.ensureLanguage(r.lang);let t=o.renderShiki(e,{lang:r.lang,theme:a.value?`vitesse-dark`:`vitesse-light`});s.value=t.replace(i,`background-color:transparent;`)},{immediate:!0}),(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{innerHTML:s.value},null,8,Uge))}},Gge={class:`lang`},Kge={key:2},O9={__name:`OACodeBlock`,props:{code:{type:[String,Object,Array,Number,Boolean],required:!0},lang:{type:String,required:!0},label:{type:String,default:``},disableHtmlTransform:{type:Boolean,default:!1},active:{type:Boolean,default:!1}},setup(n){let r=n,i=e.b(),a=(0,t.computed)(()=>i.getJsonViewerRenderer()),o=(0,t.computed)(()=>r.lang===`json`&&!r.disableHtmlTransform&&a.value===`vue-json-pretty`),s=(0,t.computed)(()=>r.disableHtmlTransform?!1:r.lang!==`json`||a.value===`shiki`);return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{class:(0,t.normalizeClass)([`vp-adaptive-theme min-h-16`,[`language-${r.lang}`]])},[n[0]||(n[0]=(0,t.createElementVNode)(`button`,{title:`Copy Code`,class:`copy`},null,-1)),(0,t.createElementVNode)(`span`,Gge,(0,t.toDisplayString)(r.label),1),o.value?((0,t.openBlock)(),(0,t.createBlock)(ge,{key:0,code:r.code},null,8,[`code`])):s.value?((0,t.openBlock)(),(0,t.createBlock)(Wge,{key:1,code:r.code,lang:r.lang},null,8,[`code`,`lang`])):((0,t.openBlock)(),(0,t.createElementBlock)(`pre`,Kge,[(0,t.createElementVNode)(`code`,null,(0,t.toDisplayString)(r.code),1)]))],2))}},qge=[`src`,`alt`],Jge=[`aria-label`],Yge=[`src`,`type`],Xge={key:3},Zge={key:4},Qge={class:`whitespace-pre-wrap`},$ge=(0,n.defineComponent)({__name:`OAPlaygroundResponseContent`,props:{response:{}},setup(e){let t=e,{t:r}=l(),i=e=>(0,n.computed)(()=>e.test(t.response.type)),a=i(/json/i),o=i(/xml/i),s=i(/text\/html/i),c=i(/text\/plain/i),u=i(/text\/csv/i),d=i(/^image\//i),f=i(/^audio\//i),p=e=>{if(!t.response.headers)return null;let n=Object.entries(t.response.headers).find(([t])=>t.toLowerCase()===e.toLowerCase());return n?n[1]:null},m=(0,n.computed)(()=>{var e;return(e=p(`content-disposition`))==null?``:e}),h=(0,n.computed)(()=>id(t.response.type,m.value)),g=(0,n.computed)(()=>a.value?`json`:o.value?`xml`:s.value?`html`:c.value?`plaintext`:u.value?`csv`:`plaintext`),_=(0,n.computed)(()=>a.value?`JSON`:o.value?`XML`:s.value?`HTML`:c.value?`Plain Text`:u.value?`CSV`:`Plain Text`),v=(0,n.ref)(``);(0,n.watch)(()=>t.response,()=>{f.value&&t.response.body instanceof Blob?v.value=URL.createObjectURL(t.response.body):v.value=``},{immediate:!0}),(0,n.onBeforeUnmount)(()=>{v.value&&URL.revokeObjectURL(v.value)});let y=(0,n.computed)(()=>t.response.body&&JSON.stringify(t.response.body).length>1e3),b=(0,n.computed)(()=>efe(p(`content-disposition`),`response_file`)),x=(e,t)=>{let n;n=e instanceof Blob?e:typeof e==`string`?new Blob([e],{type:`application/octet-stream`}):new Blob([JSON.stringify(e)],{type:`application/octet-stream`});let r=URL.createObjectURL(n),i=document.createElement(`a`);i.href=r,i.download=t,i.click(),URL.revokeObjectURL(r)};return(e,i)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,null,[(0,n.unref)(a)||(0,n.unref)(o)||(0,n.unref)(s)||(0,n.unref)(c)||(0,n.unref)(u)?((0,n.openBlock)(),(0,n.createBlock)(O9,{key:0,code:t.response.body,lang:g.value,label:_.value,"disable-html-transform":y.value,active:``,class:`m-0!`},null,8,[`code`,`lang`,`label`,`disable-html-transform`])):(0,n.unref)(d)?((0,n.openBlock)(),(0,n.createElementBlock)(`img`,{key:1,src:t.response.body,alt:(0,n.unref)(r)(`Response Image`),style:{"max-width":`100%`}},null,8,qge)):(0,n.unref)(f)?((0,n.openBlock)(),(0,n.createElementBlock)(`audio`,{key:2,controls:``,class:`w-full mt-2`,"aria-label":(0,n.unref)(r)(`Audio response`)},[(0,n.createElementVNode)(`source`,{src:v.value,type:t.response.type},null,8,Yge),(0,n.createTextVNode)(` `+(0,n.toDisplayString)((0,n.unref)(r)(`Your browser does not support the audio element.`)),1)],8,Jge)):h.value?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Xge,[(0,n.createElementVNode)(`button`,{type:`button`,"aria-label":`Download file`,onClick:i[0]||(i[0]=e=>x(t.response.body,b.value))},(0,n.toDisplayString)((0,n.unref)(r)(`Download file`)),1)])):((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Zge,[(0,n.createElementVNode)(`p`,null,(0,n.toDisplayString)((0,n.unref)(r)(`Unrecognized response type. Raw content:`)),1),(0,n.createElementVNode)(`pre`,Qge,(0,n.toDisplayString)(t.response.body),1)]))]))}}),e_e={key:0,open:``},t_e={class:`my-0! text-lg font-bold cursor-pointer`},n_e={class:`inline-flex items-center gap-2 w-[calc(100%-24px)]`},r_e={class:`flex flex-col gap-2`},i_e={key:0,class:`text-sm text-muted-foreground`},a_e={class:`flex flex-col max-h-96 overflow-y-auto`},o_e=(0,n.defineComponent)({__name:`OAPlaygroundResponse`,props:{response:{type:null,required:!1},loading:{type:Boolean,default:!1}},setup(e){let{t}=l();return(r,i)=>e.response||e.loading?((0,n.openBlock)(),(0,n.createElementBlock)(`details`,e_e,[(0,n.createElementVNode)(`summary`,t_e,[(0,n.createElementVNode)(`div`,n_e,[(0,n.createElementVNode)(`span`,null,(0,n.toDisplayString)(e.loading?(0,n.unref)(t)(`Loading`):(0,n.unref)(t)(`Response`)),1),i[0]||(i[0]=(0,n.createElementVNode)(`span`,{class:`flex-1`},null,-1)),e.response&&e.response.status?((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Zt),{key:0,variant:`plain`,class:(0,n.normalizeClass)([`rounded py-1.5`,{"bg-green-100 text-green-800 dark:bg-green-800 dark:text-green-100":String(e.response.status).startsWith(`2`),"bg-yellow-100 text-yellow-800 dark:bg-yellow-800 dark:text-yellow-100":String(e.response.status).startsWith(`3`),"bg-red-100 text-red-800 dark:bg-red-800 dark:text-red-100":String(e.response.status).startsWith(`4`)||String(e.response.status).startsWith(`5`)}])},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.response.status),1)]),_:1},8,[`class`])):(0,n.createCommentVNode)(``,!0)])]),(0,n.createElementVNode)(`div`,r_e,[e.response?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,i_e,(0,n.toDisplayString)((0,n.unref)(t)(`Response time`))+`: `+(0,n.toDisplayString)(e.loading?(0,n.unref)(t)(`Loading`):`${e.response.time}ms`),1)):(0,n.createCommentVNode)(``,!0),(0,n.createElementVNode)(`div`,a_e,[e.response?((0,n.openBlock)(),(0,n.createBlock)($ge,{key:0,response:e.response},null,8,[`response`])):(0,n.createCommentVNode)(``,!0)])])])):(0,n.createCommentVNode)(``,!0)}}),s_e={class:`flex flex-col gap-2`},c_e={class:`flex flex-col gap-2`},k9=(0,n.defineComponent)({__name:`OAPlayground`,props:{operationId:{type:String,required:!0},path:{type:String,required:!0},method:{type:String,required:!0},hideEndpoint:{type:Boolean,default:!1},servers:{type:Array,default:()=>[]},parameters:{type:Array,required:!1},requestBody:{type:Object,required:!1},securityUi:{type:Object,required:!0},headingPrefix:{type:String,required:!1,default:``}},setup(t){let r=t,{loading:i,response:a,submitRequest:o,cleanupImageUrls:s}=od(),c=(0,n.inject)(rd),{t:u}=l(),d=(0,n.computed)(()=>!!r.requestBody),f=(0,n.computed)(()=>{var e;return Object.keys((e=r.securityUi)==null?{}:e).length>0}),p=(0,n.computed)(()=>{var e;return!!((e=r.parameters)!=null&&e.length||d.value||f.value)}),m=e.b(),h=(0,n.computed)(()=>m.getOperationCols()),g=(0,n.computed)(()=>m.getPlaygroundExamplesBehavior()),_=(0,n.computed)(()=>m.getPlaygroundXExampleBehavior()),v=(0,n.computed)(()=>{var e,t;let n=c.requestBody.selectedContentType.value;return!n||!((e=r.requestBody)!=null&&(e=e.content)!=null&&e[n])?{}:(t=r.requestBody)==null||(t=t.content)==null||(t=t[n])==null?void 0:t.examples});async function y(){c.playground.request.value&&await o({request:c.playground.request.value,method:r.method,baseUrl:c.playground.selectedServer.value,path:r.path,operationId:r.operationId})}return(0,n.onBeforeUnmount)(()=>{s()}),(e,o)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,s_e,[(0,n.createVNode)(vn,{level:`h2`,prefix:t.headingPrefix,class:(0,n.normalizeClass)([`block`,{"sm:hidden":h.value===2}])},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)((0,n.unref)(u)(`Playground`)),1)]),_:1},8,[`prefix`,`class`]),p.value?((0,n.openBlock)(),(0,n.createBlock)(Zde,{key:0,"operation-id":r.operationId,path:r.path,method:r.method,servers:r.servers,parameters:r.parameters,"security-ui":r.securityUi,examples:v.value,"example-behavior":g.value,"x-example-behavior":_.value,"request-body":r.requestBody,onSubmit:y},null,8,[`operation-id`,`path`,`method`,`servers`,`parameters`,`security-ui`,`examples`,`example-behavior`,`x-example-behavior`,`request-body`])):(0,n.createCommentVNode)(``,!0),(0,n.createElementVNode)(`div`,c_e,[(0,n.createVNode)((0,n.unref)(Qd),{variant:`primary`,onClick:y},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)((0,n.unref)(u)(`Try it out`)),1)]),_:1}),(0,n.unref)(a)||(0,n.unref)(i)?((0,n.openBlock)(),(0,n.createBlock)(o_e,{key:0,response:(0,n.unref)(a),loading:(0,n.unref)(i)},null,8,[`response`,`loading`])):(0,n.createCommentVNode)(``,!0)])]))}}),l_e={key:1,class:`ml-auto max-w-40 hover:max-w-full truncate transition-all duration-200 ease-in-out`},u_e={class:`h-6 text-xs rounded-md bg-muted px-3 py-1`},A9={__name:`OAContentTypeSelect`,props:{id:{type:String,required:!0},contentType:{type:String,required:!0},contentTypes:{type:Array,required:!0},modelValue:{type:String,default:``}},emits:[`update:modelValue`],setup(e,{emit:n}){let r=e,i=n,a=(0,t.ref)(r.modelValue||r.contentType||(r.contentTypes.length>0?r.contentTypes[0]:void 0));return(0,t.watch)(a,e=>{i(`update:modelValue`,e)}),(0,t.watch)(()=>r.modelValue,e=>{e!==a.value&&(a.value=e)}),(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,null,[e.contentTypes.length>1?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Pu),{key:0,modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=e=>a.value=e)},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(Qu),{"aria-label":`Content-Type`,class:`h-6 text-xs`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)($u),null,{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(a.value),1)]),_:1})]),_:1}),(0,t.createVNode)((0,t.unref)(Fu),null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(Iu),null,{default:(0,t.withCtx)(()=>[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.contentTypes,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Zu),{key:n,value:e},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e),1)]),_:2},1032,[`value`]))),128))]),_:1})]),_:1})]),_:1},8,[`modelValue`])):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,l_e,[(0,t.createElementVNode)(`span`,u_e,(0,t.toDisplayString)(a.value),1)]))]))}},j9=(0,n.defineComponent)({__name:`Collapsible`,props:{defaultOpen:{type:Boolean},open:{type:Boolean},disabled:{type:Boolean},unmountOnHide:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:open`],setup(e,{emit:t}){let r=Co(e,t);return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Lo),(0,n.normalizeProps)((0,n.guardReactiveProps)((0,n.unref)(r))),{default:(0,n.withCtx)(({open:t})=>[(0,n.renderSlot)(e.$slots,`default`,{open:t})]),_:3},16))}}),d_e=(0,n.defineComponent)({__name:`CollapsibleContent`,props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){let t=e;return(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ro),(0,n.mergeProps)(t,{class:`overflow-hidden transition-all data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down`}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),M9=(0,n.defineComponent)({__name:`CollapsibleTrigger`,props:{asChild:{type:Boolean},as:{}},setup(e){let t=e;return(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(zo),(0,n.normalizeProps)((0,n.guardReactiveProps)(t)),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),N9=(0,n.defineComponent)({__name:`Tooltip`,props:{defaultOpen:{type:Boolean},open:{type:Boolean},delayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},emits:[`update:open`],setup(e,{emit:t}){let r=Co(e,t);return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Ou),(0,n.normalizeProps)((0,n.guardReactiveProps)((0,n.unref)(r))),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),P9=(0,n.defineComponent)({inheritAttrs:!1,__name:`TooltipContent`,props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},class:{type:[Boolean,null,String,Object,Array]}},emits:[`escapeKeyDown`,`pointerDownOutside`],setup(e,{emit:t}){let r=e,i=t,a=Co((0,n.computed)(()=>{let{class:e,...t}=r;return t}),i);return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Mu),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(ju),(0,n.mergeProps)({...(0,n.unref)(a),...e.$attrs},{class:(0,n.unref)(qt)(`z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2`,r.class)}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`class`])]),_:3}))}}),F9=(0,n.defineComponent)({__name:`TooltipProvider`,props:{delayDuration:{},skipDelayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean},content:{}},setup(e){let t=e;return(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(wu),(0,n.normalizeProps)((0,n.guardReactiveProps)(t)),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),I9=(0,n.defineComponent)({__name:`TooltipTrigger`,props:{reference:{},asChild:{type:Boolean},as:{}},setup(e){let t=e;return(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(Nu),(0,n.normalizeProps)((0,n.guardReactiveProps)(t)),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),f_e={class:`text-xs text-muted-foreground`},L9={__name:`OASchemaPropertyAttributes`,props:{property:{type:Object,required:!0}},setup(e){let n=e,{t:r}=l(),i=[`name`,`types`,`description`,`properties`,`required`,`items`,`xml`,`allOf`,`anyOf`,`oneOf`,`not`],a=e=>e==null?!1:Array.isArray(e)?e.length>0:typeof e!=`object`||Object.keys(e).length>0,o=Object.keys(n.property).filter(e=>!i.includes(e)).filter(e=>a(n.property[e])||e==="default"&&n.property[e]!==void 0);return(e,i)=>((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(o),(e,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:i,class:`flex flex-row flex-wrap items-center gap-2`},[(0,t.createElementVNode)(`span`,f_e,(0,t.toDisplayString)((0,t.unref)(r)((0,t.unref)(nd)(e))),1),(0,t.createVNode)(dd,{value:n.property[e]},null,8,[`value`])]))),128))}},p_e={class:`flex flex-row flex-wrap items-center gap-2 text-sm`},m_e={key:0,class:`font-bold`},h_e={class:`flex items-center`},g_e={class:`flex flex-row items-center gap-1 text-muted-foreground`},__e={key:1},v_e={key:2},y_e={key:0,class:`select-all`},b_e={key:0},x_e={key:1,class:`flex items-center`},S_e={class:`flex-grow mx-2`},C_e={key:0,class:`h-px bg-transparent group-hover:bg-gray-200 dark:group-hover:bg-gray-800`},w_e={class:`text-red-800 dark:text-red-200 text-xs`},T_e={class:`flex size-4 cursor-pointer items-center justify-center p-[2px]`},E_e={class:`flex flex-col space-y-2`},D_e={__name:`OASchemaUI`,props:{property:{type:Object,required:!0},schema:{type:Object,required:!0},deep:{type:Number,default:1/0},level:{type:Number,default:0},open:{type:Boolean,default:void 0},expandAll:{type:Boolean,default:void 0}},setup(e){var n,r,i,a;let o=e,{t:s}=l(),c=(0,t.ref)(o.open===void 0?o.deep>0&&o.level<=o.deep:o.open),u=(0,t.ref)(void 0);(0,t.watch)(()=>o.expandAll,e=>{e!==void 0&&(c.value=e,u.value=e)},{immediate:!0});let d=e=>{u.value=e,c.value=e},f=((n=o.property.meta)==null?void 0:n.isOneOf)===!0||((r=o.property.meta)==null?void 0:r.isAnyOf)===!0,p=((i=o.property.types)==null?void 0:i.includes(`object`))||f,m=(a=o.property.types)==null?void 0:a.includes(`array`),h=p||m||o.property.type===`object`||o.property.type===`array`,g=(0,t.computed)(()=>h?!!(Array.isArray(o.property.properties)&&o.property.properties.length>0||o.property.items):!1),_=(0,t.computed)(()=>o.property.properties?o.property.properties:o.property.items?[o.property.items]:[]),v=(0,t.computed)(()=>o.property.properties&&o.property.properties.length>0&&o.property.properties.some(e=>{var t,n;return(((t=e.types)==null?void 0:t.includes(`object`))||((n=e.types)==null?void 0:n.includes(`array`))||e.type===`object`||e.type===`array`)&&e.properties})),y=(0,t.computed)(()=>o.property&&o.property.properties&&o.property.properties.length>0&&o.property.properties.some(e=>e.items)),b=(0,t.computed)(()=>h&&(v.value||y.value)),x=(0,t.computed)(()=>{var e,t;return((e=o.property.meta)==null?void 0:e.isOneOf)===!0?s(`One of`):((t=o.property.meta)==null?void 0:t.isAnyOf)===!0?s(`Any of`):``}),S=(0,t.computed)(()=>c.value?s(`Collapse`):s(`Expand`)),C=(0,t.computed)(()=>c.value?s(`Collapse all`):s(`Expand all`)),w=(0,t.computed)(()=>({"Valid values":o.property.enum})),T=(0,t.computed)(()=>o.property.name||o.property.title);return(e,n)=>{let r=(0,t.resolveComponent)(`OASchemaUI`,!0);return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,null,[(0,t.createVNode)((0,t.unref)(j9),{open:c.value,"onUpdate:open":n[1]||(n[1]=e=>c.value=e),disabled:!g.value},{default:(0,t.withCtx)(()=>{var e,i;return[(0,t.createVNode)((0,t.unref)(M9),{class:`w-full`},{default:(0,t.withCtx)(()=>{var e,r,i;return[(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)([`flex flex-col text-start space-y-1 group select-text`,{"cursor-pointer":g.value}])},[(0,t.createElementVNode)(`div`,p_e,[T.value?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,m_e,(0,t.toDisplayString)(T.value),1)):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`div`,h_e,[(0,t.createVNode)((0,t.unref)(F9),null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(N9),{"delay-duration":200},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(I9),{"as-child":``},{default:(0,t.withCtx)(()=>[g.value?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Qd),{key:0,as:`div`,size:`icon`,variant:`icon`,"aria-label":S.value,class:`flex-shrink-0 w-4 h-4 cursor-pointer`},{default:(0,t.withCtx)(()=>[c.value?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Ju),{key:0})):((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Yu),{key:1}))]),_:1},8,[`aria-label`])):(0,t.createCommentVNode)(``,!0)]),_:1}),(0,t.createVNode)((0,t.unref)(P9),null,{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`p`,null,(0,t.toDisplayString)(S.value),1)]),_:1})]),_:1})]),_:1})]),(0,t.createElementVNode)(`div`,g_e,[((e=o.property.meta)==null?void 0:e.isCircularReference)===!0?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Zt),{key:0,variant:`outline`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(s)(`Circular Reference`)),1)]),_:1})):o.property.types.length===1&&[`array`].includes(o.property.types[0])&&o.property.subtype?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,__e,(0,t.toDisplayString)(o.property.subtype)+`[]`,1)):o.property.types.length===1&&[`object`].includes(o.property.types[0])&&o.property.subtype?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,v_e,(0,t.toDisplayString)(o.property.subtype),1)):((r=o.property.meta)==null?void 0:r.isConstant)===!0?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:3},[(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)((0,t.unref)(s)(`const:`)),1),((i=o.property.examples)==null?void 0:i.length)>0?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,y_e,(0,t.toDisplayString)(o.property.examples[0]),1)):(0,t.createCommentVNode)(``,!0)],64)):((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,{key:4},(0,t.renderList)(o.property.types,(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`span`,{key:e},[(0,t.createTextVNode)((0,t.toDisplayString)(e)+` `,1),n===o.property.types.length-1?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`span`,b_e,`|`))]))),128))]),b.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,x_e,[(0,t.createVNode)((0,t.unref)(F9),null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(N9),{"delay-duration":200},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(I9),{"as-child":``},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(Qd),{as:`div`,size:`icon`,variant:`icon`,"aria-label":C.value,onClick:n[0]||(n[0]=(0,t.withModifiers)(e=>d(!c.value),[`stop`,`prevent`]))},{default:(0,t.withCtx)(()=>[c.value?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Hte),{key:0})):((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Vte),{key:1}))]),_:1},8,[`aria-label`])]),_:1}),(0,t.createVNode)((0,t.unref)(P9),null,{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`p`,null,(0,t.toDisplayString)(C.value),1)]),_:1})]),_:1})]),_:1})])):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`div`,S_e,[o.property.required===!0?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,C_e)):(0,t.createCommentVNode)(``,!0)]),(0,t.createElementVNode)(`span`,w_e,(0,t.toDisplayString)(o.property.required===!0?(0,t.unref)(s)(`Required`):``),1)])],2)]}),_:1}),(e=o.property)!=null&&e.description?((0,t.openBlock)(),(0,t.createBlock)(Pn,{key:0,content:o.property.description,class:(0,t.normalizeClass)([`text-sm`,{"pl-2":(0,t.unref)(h)}])},null,8,[`content`,`class`])):(0,t.createCommentVNode)(``,!0),o.property.enum?((0,t.openBlock)(),(0,t.createBlock)(L9,{key:1,property:w.value},null,8,[`property`])):(0,t.createCommentVNode)(``,!0),o.property.constraints?((0,t.openBlock)(),(0,t.createBlock)(L9,{key:2,property:o.property.constraints},null,8,[`property`])):(0,t.createCommentVNode)(``,!0),g.value&&(i=o.property)!=null&&i.description?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(M9),{key:3},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(Qd),{as:`div`,variant:`outline`,size:`xs`,class:`flex items-center font-normal rounded-md h-auto pr-1 text-sm gap-0.5`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(S.value)+` `,1),(0,t.createElementVNode)(`div`,T_e,[c.value?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Xu),{key:0})):((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Yu),{key:1}))])]),_:1})]),_:1})):(0,t.createCommentVNode)(``,!0),(0,t.unref)(h)?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(d_e),{key:4,class:`ml-2 pl-2 border-l border-l-solid`},{default:(0,t.withCtx)(()=>[(0,t.unref)(f)?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Zt),{key:0,variant:`outline`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(x.value),1)]),_:1})):(0,t.createCommentVNode)(``,!0),(0,t.createElementVNode)(`div`,E_e,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(_.value,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)(r,{key:n,property:e,schema:o.schema,deep:o.deep-1,level:o.level+1,open:u.value===void 0?(0,t.unref)(f)?!0:void 0:u.value,"expand-all":u.value},null,8,[`property`,`schema`,`deep`,`level`,`open`,`expand-all`]))),128))])]),_:1})):(0,t.createCommentVNode)(``,!0)]}),_:1},8,[`open`,`disabled`])])}}},R9=(0,n.defineComponent)({__name:`Tabs`,props:{defaultValue:{},orientation:{},dir:{},activationMode:{},modelValue:{},unmountOnHide:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`update:modelValue`],setup(e,{emit:t}){let r=Co(e,t);return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(hu),(0,n.normalizeProps)((0,n.guardReactiveProps)((0,n.unref)(r))),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16))}}),z9=(0,n.defineComponent)({__name:`TabsContent`,props:{value:{},forceMount:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e,r=(0,n.computed)(()=>{let{class:e,...n}=t;return n});return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(vu),(0,n.mergeProps)({class:(0,n.unref)(qt)(`mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2`,t.class)},r.value),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`class`]))}}),B9=(0,n.defineComponent)({__name:`TabsList`,props:{loop:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){let t=e,r=(0,n.computed)(()=>{let{class:e,...n}=t;return n});return(e,i)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(bu),(0,n.mergeProps)(r.value,{class:(0,n.unref)(qt)(`inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground`,t.class)}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(e.$slots,`default`)]),_:3},16,[`class`]))}}),V9=(0,n.defineComponent)({__name:`TabsTrigger`,props:{variant:{},class:{type:[Boolean,null,String,Object,Array]},value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){let t=e,r=So((0,n.computed)(()=>{let{class:e,...n}=t;return n}));return(i,a)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(xu),(0,n.mergeProps)((0,n.unref)(r),{class:(0,n.unref)(qt)((0,n.unref)(O_e)({variant:e.variant}),t.class)}),{default:(0,n.withCtx)(()=>[(0,n.renderSlot)(i.$slots,`default`)]),_:3},16,[`class`]))}}),O_e=M(`inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50`,{variants:{variant:{default:`data-[state=active]:text-foreground`,select:`relative flex w-full`,schemaTabs:`data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm`}}}),k_e={class:`flex flex-col gap-2`},A_e={class:`flex flex-col gap-2`},H9={__name:`OASchemaTabs`,props:{schema:{type:Object,required:!0},examples:{type:null,required:!1},defaultView:{type:String,required:!1}},setup(n){let r=n,i=e.b().getSchemaViewerDeep(),{t:a}=l(),o=(0,t.computed)(()=>{var e,t;let n=Object.keys((e=r.examples)==null?{}:e);return(t={schema:`schema`,contentType:n!=null&&n.length?`examples.${n[0]}`:`schema`,autogenerated:(()=>{let e=n.find(e=>{var t;return(t=r.examples[e])==null?void 0:t.isAutogenerated});return e?`examples.${e}`:`schema`})()}[r.defaultView])==null?r.defaultView:t});return(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(R9),{key:o.value,"default-value":o.value},{default:(0,t.withCtx)(()=>{var e;return[(0,t.createVNode)((0,t.unref)(B9),{class:`relative flex flex-row justify-start overflow-x-auto`},{default:(0,t.withCtx)(()=>{var e;return[(0,t.createVNode)((0,t.unref)(V9),{value:`schema`,variant:`schemaTabs`,class:`h-full`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(a)(`Schema`)),1)]),_:1}),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((e=r.examples)==null?{}:e,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(V9),{key:n,value:`examples.${n}`,variant:`schemaTabs`,class:`h-full`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(n),1)]),_:2},1032,[`value`]))),128))]}),_:1}),(0,t.createVNode)((0,t.unref)(z9),{value:`schema`},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,k_e,[(0,t.createVNode)(D_e,{property:r.schema,schema:r.schema,deep:(0,t.unref)(i)},null,8,[`property`,`schema`,`deep`])])]),_:1}),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((e=r.examples)==null?{}:e,(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(z9),{key:n,value:`examples.${n}`},{default:(0,t.withCtx)(()=>{var n,r;return[(0,t.createElementVNode)(`div`,A_e,[e!=null&&e.description?((0,t.openBlock)(),(0,t.createBlock)(Pn,{key:0,content:e==null?void 0:e.description},null,8,[`content`])):(0,t.createCommentVNode)(``,!0),e!=null&&e.value?((0,t.openBlock)(),(0,t.createBlock)(O9,{key:1,code:e==null?void 0:e.value,lang:(n=e==null?void 0:e.lang)==null?`json`:n,label:((r=e==null?void 0:e.lang)==null?`json`:r).toUpperCase(),active:``,class:`m-0!`},null,8,[`code`,`lang`,`label`])):(0,t.createCommentVNode)(``,!0)])]}),_:2},1032,[`value`]))),128))]}),_:1},8,[`default-value`]))}},j_e={class:`mt-[48px] mb-[16px] pt-[24px] border-t-[1px] border-(--vp-c-divider) flex flex-row items-center`},M_e={class:`relative flex-1`},N_e={class:`absolute inset-x-0 top-[-14px] w-full flex justify-end`},U9=(0,n.defineComponent)({__name:`OARequestBody`,props:{operationId:{type:String,required:!0},requestBody:{type:Object,required:!0},headingPrefix:{type:String,default:null}},setup(t){let r=t,i=e.b().getRequestBodyDefaultView(),a=`request-body-content-type-${r.operationId}`,o=(0,n.inject)(rd),{t:s}=l(),c=(0,n.computed)({get:()=>o.requestBody.selectedContentType.value,set:e=>{o.requestBody.selectedContentType.value=e}}),u=(0,n.computed)(()=>{var e,t,n;return!c.value||!((e=r.requestBody)!=null&&(e=e.content)!=null&&e[c.value])||(t=(n=r.requestBody)==null||(n=n.content)==null||(n=n[c.value])==null?void 0:n.ui)==null?{}:t}),d=(0,n.computed)(()=>{var e,t,n;return!c.value||!((e=r.requestBody)!=null&&(e=e.content)!=null&&e[c.value])?{}:Object.entries((t=(n=r.requestBody)==null||(n=n.content)==null||(n=n[c.value])==null?void 0:n.examples)==null?{}:t).reduce((e,[t,n])=>(n!=null&&n.hideOnSchemaTabs||(e[t]=n),e),{})});return(e,o)=>{var l,f;return(0,n.openBlock)(),(0,n.createElementBlock)(`div`,null,[(0,n.createElementVNode)(`div`,j_e,[(0,n.createVNode)(vn,{level:`h2`,prefix:t.headingPrefix,class:`text-[color:var(--vp-c-text-1)] my-0! py-0! border-t-0! inline-block`,"header-anchor-class":`top-0!`},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)((0,n.unref)(s)(`Request Body`)),1)]),_:1},8,[`prefix`]),(0,n.createElementVNode)(`div`,M_e,[(0,n.createElementVNode)(`div`,N_e,[(0,n.createVNode)(A9,{id:a,modelValue:c.value,"onUpdate:modelValue":o[0]||(o[0]=e=>c.value=e),"content-type":c.value,"content-types":Object.keys((l=(f=r.requestBody)==null?void 0:f.content)==null?{}:l)},null,8,[`modelValue`,`content-type`,`content-types`])])])]),(0,n.createVNode)(H9,{schema:u.value,examples:d.value,"content-type":c.value,"default-view":(0,n.unref)(i)},null,8,[`schema`,`examples`,`content-type`,`default-view`])])}}}),P_e={class:`flex flex-col space-y-4`},F_e={key:1,class:`flex flex-row items-center gap-2 text-xs`},I_e={class:`flex-shrink-0`},L_e={__name:`OAResponse`,props:{operationId:{type:String,required:!0},response:{type:Object,required:!0},responseCode:{type:String,required:!0}},setup(n){var r,i;let a=n,o=Object.keys((r=a.response.content)==null?{}:r),s=(0,t.ref)((i=o[0])==null?void 0:i),c=(0,t.computed)(()=>{var e;return(e=a.response.content)==null||(e=e[s.value])==null?void 0:e.ui}),u=(0,t.computed)(()=>{var e;return(e=a.response.content)==null||(e=e[s.value])==null?void 0:e.examples}),d=`content-type-${Math.random().toString(36).substring(7)}`,f=e.b().getResponseBodyDefaultView(),{t:p}=l();return(e,n)=>{var r;return(0,t.openBlock)(),(0,t.createElementBlock)(`div`,P_e,[a.response.description?((0,t.openBlock)(),(0,t.createBlock)(Pn,{key:0,content:a.response.description},null,8,[`content`])):(0,t.createCommentVNode)(``,!0),(r=a.response)!=null&&r.content&&(0,t.unref)(o).length?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,F_e,[(0,t.createVNode)((0,t.unref)(Q3),{for:d,class:`flex-shrink-0 text-muted-foreground`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(p)(`Content-Type`)),1)]),_:1}),(0,t.createElementVNode)(`div`,I_e,[(0,t.createVNode)(A9,{id:d,modelValue:s.value,"onUpdate:modelValue":n[0]||(n[0]=e=>s.value=e),"content-type":s.value,"content-types":(0,t.unref)(o)},null,8,[`modelValue`,`content-type`,`content-types`])])])):(0,t.createCommentVNode)(``,!0),c.value?((0,t.openBlock)(),(0,t.createBlock)(H9,{key:2,schema:c.value,examples:u.value,"content-type":s.value,"default-view":(0,t.unref)(f)},null,8,[`schema`,`examples`,`content-type`,`default-view`])):(0,t.createCommentVNode)(``,!0)])}}},R_e={class:`flex flex-col`},z_e={class:`mt-[48px] mb-[16px] pt-[24px] border-t-[1px] border-(--vp-c-divider) flex flex-wrap flex-row items-center justify-between gap-y-[16px]`},B_e={class:`w-full flex`},V_e={class:`relative flex flex-row`},W9={__name:`OAResponses`,props:{operationId:{type:String,required:!0},responses:{type:Object,required:!0},headingPrefix:{type:String,default:null}},setup(n){let r=n,i=e.b(),{t:a}=l(),o=Object.keys(r.responses),s=(0,t.ref)(o&&o.length>0?o[0]:null),c=(0,t.computed)(()=>{let e=i.getResponseCodeSelector();if(e===`tabs`){let e=i.getResponseCodeMaxTabs();return e&&o.length>e?`select`:`tabs`}return e});return(e,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,R_e,[(0,t.createVNode)((0,t.unref)(R9),{"default-value":s.value},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,z_e,[(0,t.createVNode)(vn,{level:`h2`,prefix:n.headingPrefix,class:`text-[color:var(--vp-c-text-1)] my-0! py-0! border-t-0! inline-block`,"header-anchor-class":`top-0!`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(a)(`Responses`)),1)]),_:1},8,[`prefix`]),(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)({"overflow-x-auto":(0,t.unref)(o).length>1})},[(0,t.createElementVNode)(`div`,B_e,[(0,t.createVNode)((0,t.unref)(B9),{class:`bg-transparent text-muted-foreground p-0`},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,V_e,[c.value===`tabs`?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createVNode)((0,t.unref)(yu),{class:`absolute left-0 h-full bottom-0 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position) rounded transition-[width,transform] duration-300 bg-muted`}),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(o),e=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(V9),{key:e,value:e,class:`h-full z-10`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e),1)]),_:2},1032,[`value`]))),128))],64)):(0,t.createCommentVNode)(``,!0),c.value===`select`?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Pu),{key:1,modelValue:s.value,"onUpdate:modelValue":i[0]||(i[0]=e=>s.value=e)},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(Qu),{"aria-label":`Response Code`,class:`px-3 py-1.5 text-foreground`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)($u),null,{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(s.value),1)]),_:1})]),_:1}),(0,t.createVNode)((0,t.unref)(Fu),null,{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(Iu),null,{default:(0,t.withCtx)(()=>[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(o),(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(V9),{key:n,value:e,variant:`select`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)((0,t.unref)(Zu),{value:e},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e),1)]),_:2},1032,[`value`])]),_:2},1032,[`value`]))),128))]),_:1})]),_:1})]),_:1},8,[`modelValue`])):(0,t.createCommentVNode)(``,!0)])]),_:1})])],2)]),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(o),e=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(z9),{key:e,value:e},{default:(0,t.withCtx)(()=>[r.responses[e]?((0,t.openBlock)(),(0,t.createBlock)(L_e,{key:0,"operation-id":r.operationId,response:r.responses[e],"response-code":e},null,8,[`operation-id`,`response`,`response-code`])):(0,t.createCommentVNode)(``,!0)]),_:2},1032,[`value`]))),128))]),_:1},8,[`default-value`])]))}},H_e={key:0,class:`vp-code-group vp-adaptive-theme mt-0`},U_e={class:`tabs m-0!`},W_e=[`id`,`checked`,`onChange`],G_e=[`for`,`data-title`],K_e={class:`blocks`},G9=(0,n.defineComponent)({__name:`OACodeSamples`,props:{operationId:{type:String,required:!0}},setup(t){let r=t,i=(0,n.inject)(rd),a=e.b(),o=D9(),s=a.getCodeSamplesAvailableLanguages(),c=a.getCodeSamplesGenerator(),l=(0,n.ref)([]),u=(0,n.ref)(``),d=`group-${r.operationId}`;return(0,n.watch)(i.playground.request,async(e,t,n)=>{let i=!1;if(n(()=>{i=!0}),!s||!c)return;let d=await Promise.all(s.map(async t=>{let{lang:n,target:i,client:a,highlighter:o}=t,s=[n,i,a].filter(Boolean).join(`-`),l=`tab-${r.operationId}-${s}`;try{let n=await c(t,e);if(!n)throw Error(`Code generator returned empty result.`);return{...t,key:s,tabId:l,highlighter:o||`plain`,source:n}}catch(e){return console.error(`Failed to generate code sample for '${n}'`,{langConfig:t,error:e}),{...t,key:s,tabId:l,highlighter:`shell`,source:`// Failed to generate sample.
4042
+ // Please check the console for details.`}}}));if(i)return;let f=[...new Set(d.map(e=>e.highlighter).filter(Boolean))];if(await Promise.all(f.map(e=>o.ensureLanguage(e))),!i&&(l.value=d,!u.value||!l.value.some(e=>e.key===u.value))){let e=a.getCodeSamplesDefaultLang(),t=l.value.find(t=>t.lang===e)||l.value[0];t&&(u.value=t.key)}},{deep:!0,immediate:!0}),(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,null,[l.value.length?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,H_e,[(0,n.createElementVNode)(`div`,U_e,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(l.value,e=>((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,{key:e.key},[(0,n.createElementVNode)(`input`,{id:e.tabId,type:`radio`,name:d,checked:u.value===e.key,onChange:t=>u.value=e.key},null,40,W_e),(0,n.createElementVNode)(`label`,{for:e.tabId,"data-title":e.icon},(0,n.toDisplayString)(e.label),9,G_e)],64))),128))]),(0,n.createElementVNode)(`div`,K_e,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(l.value,e=>((0,n.openBlock)(),(0,n.createBlock)(O9,{key:e.key,code:e.source,lang:e.highlighter,label:e.label,active:u.value===e.key,class:(0,n.normalizeClass)([{active:u.value===e.key},`m-0!`])},null,8,[`code`,`lang`,`label`,`active`,`class`]))),128))])])):(0,n.createCommentVNode)(``,!0)]))}}),q_e={class:`flex flex-col p-3 gap-2 rounded bg-muted`},J_e={class:`flex flex-col gap-2`},Y_e={class:`flex flex-row items-center gap-2`},X_e={class:`text-sm font-bold`},Z_e={class:`flex flex-col gap-2`},Q_e={key:1,class:`pl-2`},$_e={class:`my-1! cursor-pointer hover:text-[color:var(--vp-c-brand-1)]`},eve={class:`pl-2 flex flex-col gap-1`},tve={key:0,class:`flex flex-wrap gap-2`},nve={class:`text-sm`},rve={key:1,class:`flex flex-wrap gap-2`},ive={class:`text-sm`},ave={key:2,class:`flex flex-wrap gap-2`},ove={class:`text-sm`},sve={key:3},cve={class:`text-sm`},lve={class:`pl-2 my-0!`},uve={class:`ml-2 text-sm`},dve=(0,n.defineComponent)({__name:`OASecurityContent`,props:{name:{type:String,required:!0},scheme:{type:Object,required:!0}},setup(e){let{t}=l(),r=(0,n.computed)(()=>e.scheme.type===`http`?`HTTP (${e.scheme.scheme})`:e.scheme.type===`apiKey`?`API Key (${e.scheme.in}: ${e.scheme.name})`:e.scheme.type===`openIdConnect`?`OpenID Connect (${e.scheme.openIdConnectUrl})`:e.scheme.type===`oauth2`?`OAuth2`:``);return(i,a)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,q_e,[(0,n.createElementVNode)(`div`,J_e,[(0,n.createElementVNode)(`div`,Y_e,[(0,n.createElementVNode)(`span`,X_e,(0,n.toDisplayString)(e.name),1)]),e.scheme.description?((0,n.openBlock)(),(0,n.createBlock)(Pn,{key:0,content:e.scheme.description,class:`text-sm`},null,8,[`content`])):(0,n.createCommentVNode)(``,!0)]),(0,n.createElementVNode)(`div`,Z_e,[e.scheme.type===`oauth2`?(0,n.createCommentVNode)(``,!0):((0,n.openBlock)(),(0,n.createBlock)(fd,{key:0,name:(0,n.unref)(t)(`Type`),"bold-name":``,value:r.value},null,8,[`name`,`value`])),e.scheme.type===`oauth2`?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Q_e,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.scheme.flows,(e,r)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:r},[(0,n.createElementVNode)(`details`,null,[(0,n.createElementVNode)(`summary`,$_e,(0,n.toDisplayString)(r)+` Flow `,1),(0,n.createElementVNode)(`div`,eve,[e.authorizationUrl?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,tve,[(0,n.createElementVNode)(`span`,nve,(0,n.toDisplayString)((0,n.unref)(t)(`Authorization URL`)),1),(0,n.createVNode)(dd,{value:e.authorizationUrl},null,8,[`value`])])):(0,n.createCommentVNode)(``,!0),e.tokenUrl?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,rve,[(0,n.createElementVNode)(`span`,ive,(0,n.toDisplayString)((0,n.unref)(t)(`Token URL`)),1),(0,n.createVNode)(dd,{value:e.tokenUrl},null,8,[`value`])])):(0,n.createCommentVNode)(``,!0),e.refreshUrl?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,ave,[(0,n.createElementVNode)(`span`,ove,(0,n.toDisplayString)((0,n.unref)(t)(`Refresh URL`)),1),(0,n.createVNode)(dd,{value:e.refreshUrl},null,8,[`value`])])):(0,n.createCommentVNode)(``,!0),e.scopes?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,sve,[(0,n.createElementVNode)(`span`,cve,(0,n.toDisplayString)((0,n.unref)(t)(`Scopes`))+`:`,1),(0,n.createElementVNode)(`ul`,lve,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.scopes,(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(`li`,{key:t},[(0,n.createVNode)(dd,{value:t},null,8,[`value`]),(0,n.createElementVNode)(`span`,uve,(0,n.toDisplayString)(e),1)]))),128))])])):(0,n.createCommentVNode)(``,!0)])])]))),128))])):(0,n.createCommentVNode)(``,!0)]),(0,n.createVNode)(xd,{property:e.scheme,"security-scheme-name":e.name},null,8,[`property`,`security-scheme-name`])]))}}),fve={class:`flex flex-col`},pve={class:`mt-[48px] mb-[16px] pt-[24px] border-t-[1px] border-(--vp-c-divider)`},mve={class:`flex flex-row items-center`},hve={class:`flex flex-col gap-3`},gve={class:`flex flex-col gap-1`},_ve={key:0,class:`-ml-4 my-1 w-4 h-4 bg-muted rounded-full flex justify-center items-center`},vve={key:0,class:`flex flex-row items-center space-x-2`},yve={class:`text-sm font-bold`},K9=(0,n.defineComponent)({__name:`OASecurity`,props:{securityUi:{type:Object,required:!0},headingPrefix:{type:String,required:!1,default:``},selectedSchemeId:{type:String,required:!1,default:``}},setup(e){let t=e,{t:r}=l();return(e,i)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,fve,[(0,n.createElementVNode)(`div`,pve,[(0,n.createElementVNode)(`div`,mve,[(0,n.createVNode)(vn,{level:`h2`,prefix:t.headingPrefix,class:`text-[color:var(--vp-c-text-1)] my-0! py-0! border-t-0!`,"header-anchor-class":`top-0!`},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)((0,n.unref)(r)(`Authorizations`)),1)]),_:1},8,[`prefix`]),i[0]||(i[0]=(0,n.createElementVNode)(`span`,{class:`flex-grow min-w-2`},null,-1))])]),(0,n.createElementVNode)(`div`,hve,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(t.securityUi,(e,a)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:a,class:`flex flex-col gap-3`},[(0,n.createElementVNode)(`div`,gve,[Object.keys(t.securityUi).length>1&&Object.keys(e.schemes).length>1?((0,n.openBlock)(),(0,n.createElementBlock)(`span`,{key:0,class:(0,n.normalizeClass)({"font-bold":t.selectedSchemeId===e.id})},(0,n.toDisplayString)(e.id),3)):(0,n.createCommentVNode)(``,!0),(0,n.createElementVNode)(`div`,{class:(0,n.normalizeClass)({"pl-2 border-l":Object.keys(e.schemes).length>1,"border-gray-600 dark:border-gray-400":Object.keys(t.securityUi).length>1&&t.selectedSchemeId===e.id})},[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(e.schemes,(t,r)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:r},[(0,n.createVNode)(dve,{name:String(r),scheme:t},null,8,[`name`,`scheme`]),Object.keys(e.schemes).indexOf(String(r))<Object.keys(e.schemes).length-1?((0,n.openBlock)(),(0,n.createElementBlock)(`span`,_ve,` + `)):(0,n.createCommentVNode)(``,!0)]))),128))],2)]),Number(a)<Object.keys(t.securityUi).length-1?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,vve,[(0,n.createElementVNode)(`span`,yve,(0,n.toDisplayString)((0,n.unref)(r)(`or`)),1),i[1]||(i[1]=(0,n.createElementVNode)(`span`,{class:`flex-grow border-t border-(--vp-c-divider)`},null,-1))])):(0,n.createCommentVNode)(``,!0)]))),128))])]))}}),bve={class:`flex flex-col`},q9=(0,n.defineComponent)({__name:`OAOperationContent`,props:{operationId:{type:String,required:!0},openapi:{type:Object,required:!0},prefixHeadings:{type:Boolean,default:!1},hideDefaultFooter:{type:Boolean,default:void 0},hideBranding:{type:Boolean,default:e=>e.hideBranding===void 0&&e.hideDefaultFooter!==void 0&&(console.warn("`hideDefaultFooter` is deprecated. Use `hideBranding` instead."),e.hideDefaultFooter)}},setup(e){let t=e,r=(0,n.useSlots)(),{t:i}=l(),a=t.openapi.getOperation(t.operationId),o=(0,n.computed)(()=>{if(t.prefixHeadings)return t.operationId});function s(e){return e===`try-it`&&r[e]!==void 0&&console.warn("`try-it` slot is deprecated. Use `playground` slot instead."),r[e]!==void 0}return(e,r)=>t.operationId&&(0,n.unref)(a)?((0,n.openBlock)(),(0,n.createBlock)(Ud,{key:0,id:t.operationId,operation:(0,n.unref)(a),openapi:t.openapi},(0,n.createSlots)({_:2},[s(`header`)?{name:`header`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`header`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`0`}:{name:`header`,fn:(0,n.withCtx)(e=>[(0,n.createElementVNode)(`div`,bve,[(0,n.createVNode)(en,{operation:e.operation,deprecated:e.deprecated},null,8,[`operation`,`deprecated`]),(0,n.createVNode)(vn,{id:o.value,level:`h1`,class:(0,n.normalizeClass)([{"line-through":e.deprecated},`scroll-m-(--vp-nav-height)`])},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(e.operation.summary),1)]),_:2},1032,[`id`,`class`])])]),key:`1`},s(`tags`)?{name:`tags`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`tags`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`2`}:{name:`tags`,fn:(0,n.withCtx)(e=>[(0,n.createVNode)(td,{tags:e.operation.tags},null,8,[`tags`])]),key:`3`},s(`description`)?{name:`description`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`description`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`4`}:{name:`description`,fn:(0,n.withCtx)(e=>[e.operation.description?((0,n.openBlock)(),(0,n.createBlock)(Pn,{key:0,content:e.operation.description},null,8,[`content`])):(0,n.createCommentVNode)(``,!0)]),key:`5`},s(`security`)?{name:`security`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`security`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`6`}:{name:`security`,fn:(0,n.withCtx)(e=>[Object.keys(e.securityUi).length?((0,n.openBlock)(),(0,n.createBlock)(K9,{key:0,"security-ui":e.securityUi,"heading-prefix":o.value,"selected-scheme-id":e.selectedSchemeId},null,8,[`security-ui`,`heading-prefix`,`selected-scheme-id`])):(0,n.createCommentVNode)(``,!0)]),key:`7`},s(`parameters`)?{name:`parameters`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`parameters`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`8`}:{name:`parameters`,fn:(0,n.withCtx)(e=>[(0,n.createVNode)(vn,{level:`h2`,prefix:o.value},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)((0,n.unref)(i)(`Parameters`)),1)]),_:1},8,[`prefix`]),(0,n.createVNode)(Id,{"operation-id":t.operationId,parameters:e.parameters},null,8,[`operation-id`,`parameters`])]),key:`9`},s(`request-body`)?{name:`request-body`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`request-body`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`10`}:{name:`request-body`,fn:(0,n.withCtx)(e=>[(0,n.createVNode)(U9,{"operation-id":e.operationId,"request-body":e.requestBody,"heading-prefix":o.value},null,8,[`operation-id`,`request-body`,`heading-prefix`])]),key:`11`},s(`responses`)?{name:`responses`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`responses`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`12`}:{name:`responses`,fn:(0,n.withCtx)(e=>[(0,n.createVNode)(W9,{"operation-id":e.operationId,responses:e.responses,"response-type":e.responseType,"heading-prefix":o.value},null,8,[`operation-id`,`responses`,`response-type`,`heading-prefix`])]),key:`13`},s(`path`)?{name:`path`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`path`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`14`}:{name:`path`,fn:(0,n.withCtx)(e=>[(0,n.createVNode)(Zd,{path:e.path,method:e.method,"base-url":e.baseUrl,"hide-base-url":e.hideBaseUrl,deprecated:e.deprecated,servers:e.servers},null,8,[`path`,`method`,`base-url`,`hide-base-url`,`deprecated`,`servers`])]),key:`15`},s(`try-it`)?{name:`playground`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`try-it`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`16`}:s(`playground`)?{name:`playground`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`playground`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`17`}:{name:`playground`,fn:(0,n.withCtx)(e=>[(0,n.createVNode)(k9,{"operation-id":e.operationId,path:e.path,method:e.method,parameters:e.parameters,"request-body":e.requestBody,"security-ui":e.securityUi,servers:e.servers,"heading-prefix":o.value},null,8,[`operation-id`,`path`,`method`,`parameters`,`request-body`,`security-ui`,`servers`,`heading-prefix`])]),key:`18`},s(`code-samples`)?{name:`code-samples`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`code-samples`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`19`}:{name:`code-samples`,fn:(0,n.withCtx)(e=>[(0,n.createVNode)(vn,{level:`h2`,prefix:o.value},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)((0,n.unref)(i)(`Samples`)),1)]),_:1},8,[`prefix`]),(0,n.createVNode)(G9,{"operation-id":e.operationId},null,8,[`operation-id`])]),key:`20`},s(`branding`)?{name:`branding`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`branding`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`21`}:t.hideBranding?void 0:{name:`branding`,fn:(0,n.withCtx)(e=>[(0,n.createVNode)(_e,(0,n.normalizeProps)((0,n.guardReactiveProps)(e)),null,16)]),key:`22`},s(`footer`)?{name:`footer`,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,`footer`,(0,n.normalizeProps)((0,n.guardReactiveProps)(t)))]),key:`23`}:void 0]),1032,[`id`,`operation`,`openapi`])):(0,n.createCommentVNode)(``,!0)}}),J9=(0,n.defineComponent)({__name:`OAOperation`,props:{operationId:{type:String,required:!0},spec:{type:[Object,String],required:!1},specUrl:{type:String,required:!1,default:null},prefixHeadings:{type:Boolean,default:!1},hideDefaultFooter:{type:Boolean,default:void 0},hideBranding:{type:Boolean,default:e=>e.hideBranding===void 0&&e.hideDefaultFooter!==void 0&&(console.warn("`hideDefaultFooter` is deprecated. Use `hideBranding` instead."),e.hideDefaultFooter)}},emits:[`update:spec`],setup(e,{emit:t}){let r=e,i=t,a=(0,n.useSlots)();return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)(Vn,{spec:r.spec,"spec-url":r.specUrl,"onUpdate:spec":t[0]||(t[0]=e=>i(`update:spec`,e))},{default:(0,n.withCtx)(({openapi:t})=>[(0,n.createVNode)(q9,(0,n.normalizeProps)((0,n.guardReactiveProps)({...e.$attrs,operationId:r.operationId,openapi:t,prefixHeadings:r.prefixHeadings,hideBranding:r.hideBranding,hideDefaultFooter:r.hideDefaultFooter})),(0,n.createSlots)({_:2},[(0,n.renderList)(a,(t,r)=>({name:r,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,r,(0,n.normalizeProps)((0,n.guardReactiveProps)(t||{})))])}))]),1040)]),_:3},8,[`spec`,`spec-url`]))}}),Y9=(0,n.defineComponent)({__name:`OAOperationContext`,props:{operationId:{type:String,required:!0},openapi:{type:Object,required:!0},shouldBuildRequest:{type:Boolean,required:!1,default:!0}},setup(t){var r,i,a,o,s,c;let l=t,u=e.b(),d=(0,n.computed)(()=>l.openapi.getOperation(l.operationId)),f=(0,n.computed)(()=>l.openapi.getOperationPath(l.operationId)),p=(0,n.computed)(()=>l.openapi.getOperationMethod(l.operationId)),m=(0,n.computed)(()=>l.openapi.getOperationParameters(l.operationId)),h=(0,n.computed)(()=>{var e;return(e=d.value)==null?void 0:e.securityUi}),g=(0,n.computed)(()=>{var e;return(e=d.value)==null?void 0:e.requestBody}),_=(0,n.computed)(()=>{var e;return(e=d.value)==null?void 0:e.responses}),v=(0,n.computed)(()=>{var e;return(e=d.value)==null?void 0:e.codeSamples}),y=(0,n.computed)(()=>{let e=u.getOperationServers();return e?e({method:p.value,path:f.value,operation:d.value}):l.openapi.getOperationServers(l.operationId)}),b=(0,n.computed)(()=>{var e;return y.value.length?(e=y.value[0])==null?void 0:e.url:u.getOperationDefaultBaseUrl()}),x=u.getStoragePrefix(),S=Jt()?e.V(`${x}-custom-server-url`,null,localStorage):(0,n.ref)(b.value),C=(0,n.computed)(()=>u.getServerAllowCustomServer()&&S.value?e.T(S.value):e.T(b.value)),w=(r=g.value)!=null&&r.content?Object.keys(g.value.content)[0]:void 0,T=((i=h.value)==null||(i=i[0])==null?void 0:i.schemes)||[],E=l.shouldBuildRequest?e.C({path:f.value,method:p.value,baseUrl:C.value,parameters:(a=m.value)==null?[]:a,authorizations:Object.entries(T).map(([e,t])=>{var n;return{...t,name:(n=t.name)==null?String(e):n,label:String(e)}}),body:w?(o=((s=(c=g.value)==null||(c=c.content)==null||(c=c[w])==null?void 0:c.examples)==null?[{value:``}]:s)[0])==null?void 0:o.value:void 0,variables:{},contentType:w}):void 0,ee=nne({operation:d.value,request:E,selectedServer:C.value,defaultRequestContentType:w});return(0,n.provide)(rd,ee),(e,t)=>(0,n.renderSlot)(e.$slots,`default`,{path:f.value,method:p.value,parameters:m.value,operation:d.value,requestBody:g.value,securityUi:h.value,servers:y.value,codeSamples:v.value,responses:_.value,operationData:(0,n.unref)(ee)})}}),xve={key:1,class:`OAOperationLink-title`},X9=(0,n.defineComponent)({__name:`OAOperationLink`,props:{href:{default:void 0},method:{default:``},title:{default:``},operationId:{default:void 0}},setup(e){let t=e,r=(0,n.useSlots)();function i(e){return!!r[e]}let a=(0,n.computed)(()=>{var e;if(!i(`default`))return``;let t=(e=r.default)==null?void 0:e.call(r);return!t||!Array.isArray(t)||t.length===0?``:typeof t[0].children==`string`?t[0].children:``});return(r,o)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.resolveDynamicComponent)(t.href?`a`:`span`),{href:t.href,class:`OAOperationLink group/oaOperationLink`},{default:(0,n.withCtx)(()=>[(0,n.createElementVNode)(`span`,{class:(0,n.normalizeClass)([`OAOperationLink-badge`,[`OAMethodBadge--${e.method.toLowerCase()}`]])},(0,n.toDisplayString)(e.method.toUpperCase()),3),i(`default`)?((0,n.openBlock)(),(0,n.createBlock)(Pn,{key:0,content:a.value,class:`inline-block`},null,8,[`content`])):((0,n.openBlock)(),(0,n.createElementBlock)(`span`,xve,(0,n.toDisplayString)(t.title),1))]),_:1},8,[`href`]))}}),Z9={__name:`OAServers`,props:{spec:{type:[Object,String],required:!1}},setup(e){let n=e;return(e,r)=>((0,t.openBlock)(),(0,t.createBlock)(Vn,{spec:n.spec},{default:(0,t.withCtx)(({openapi:e})=>[(0,t.createVNode)(Ya,{openapi:e},null,8,[`openapi`])]),_:1},8,[`spec`]))}},Sve=Symbol(`lazyEventBus`),Q9=e.L(Sve),Cve=(0,n.defineComponent)({__name:`OALazy`,props:{id:{},isLazy:{type:Boolean,default:!0},lazyTimeout:{default:0}},setup(e){let t=e,r=(e=()=>{})=>{if(!(typeof window>`u`)){if(`requestIdleCallback`in window)setTimeout(()=>window.requestIdleCallback(e),t.lazyTimeout);else{var r;setTimeout(n.nextTick,(r=t.lazyTimeout)==null?300:r,e)}}},i=(0,n.ref)(!t.isLazy);return t.isLazy?r(()=>{i.value=!0,t.id&&(0,n.nextTick)(()=>Q9.emit({id:t.id}))}):t.id&&(0,n.nextTick)(()=>Q9.emit({id:t.id})),(e,t)=>i.value?(0,n.renderSlot)(e.$slots,`default`,{},void 0,void 0,0):(0,n.createCommentVNode)(``,!0)}}),wve=(0,n.defineComponent)({__name:`OAPaths`,props:{paths:{type:Object,required:!0}},setup(t){var r,i;let a=(0,n.useSlots)(),o=e.b(),s=Object.entries(t.paths).reduce((e,[t,n])=>[...e,...Object.keys(n).filter(e=>n[e].operationId).map(e=>({operationId:n[e].operationId}))],[]),c=(r=o.getSpecConfig())==null||(r=r.lazyRendering)==null?void 0:r.value,l=(i=e.r())==null?e.n():i;return(e,t)=>(0,n.unref)(l)?((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,{key:0},(0,n.renderList)((0,n.unref)(s),(r,i)=>((0,n.openBlock)(),(0,n.createBlock)(Cve,{key:r.operationId,"is-lazy":(0,n.unref)(c)&&i>0},{default:(0,n.withCtx)(()=>[(0,n.createVNode)(q9,{openapi:(0,n.unref)(l),"operation-id":r.operationId,"prefix-headings":``,"hide-branding":``},(0,n.createSlots)({_:2},[(0,n.renderList)(a,(t,r)=>({name:r,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,r,(0,n.mergeProps)({ref_for:!0},t||{}))])}))]),1032,[`openapi`,`operation-id`]),t[0]||(t[0]=(0,n.createElementVNode)(`hr`,null,null,-1))]),_:2},1032,[`is-lazy`]))),128)):(0,n.createCommentVNode)(``,!0)}}),Tve={class:`bg-muted rounded border divide-y divide-(--vp-c-divider) overflow-hidden`},Eve={class:`px-4 py-2`},Dve={class:`py-1`},Ove=[`aria-label`,`title`,`onClick`],kve={__name:`OAPathsSummary`,props:{paths:{type:Object,required:!0}},emits:[`pathClick`],setup(e,{emit:n}){let r=e,i=n,{t:a}=l();return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Tve,[(0,t.createElementVNode)(`div`,Eve,[(0,t.createVNode)(vn,{level:`h3`,class:`mt-0! text-sm! font-semibold text-[color:var(--vp-c-text-1)]`},{default:(0,t.withCtx)(()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(a)(`Operations`)),1)]),_:1})]),(0,t.createElementVNode)(`div`,Dve,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(Object.keys(r.paths),(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:n},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(Object.keys(r.paths[e]),n=>((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:`${e}-${n}`,class:`grid min-w-0 grid-cols-[3rem_minmax(0,1fr)] items-center gap-x-3 px-4 text-foreground! no-underline! cursor-pointer`,"aria-label":`${n.toUpperCase()} ${e}`,title:`${n.toUpperCase()} ${e}`,onClick:t=>i(`pathClick`,`#${r.paths[e][n].operationId}`)},[(0,t.createElementVNode)(`span`,{class:(0,t.normalizeClass)([[`text-method-${n}`],`text-sm text-right`])},(0,t.toDisplayString)(n.toUpperCase()),3),(0,t.createElementVNode)(`span`,{class:(0,t.normalizeClass)([{"line-through":r.paths[e][n].deprecated},`truncate hover:underline`])},(0,t.toDisplayString)(e),3)],8,Ove))),128))],64))),128))])]))}},Ave={key:0},jve={key:1,class:`flex-1`},Mve={key:0,class:`flex justify-center`},Nve=(0,n.defineComponent)({__name:`OAPathsGroup`,props:{group:{},hidePathsSummary:{type:Boolean},isLazy:{type:Boolean}},setup(t){var r,i;let a=t,o=(0,n.useSlots)(),s=e.b(),{t:c}=l(),u=(r=s.getSpecConfig())==null||(r=r.lazyRendering)==null?void 0:r.value,d=(0,n.computed)(()=>{var e;return a.hidePathsSummary===void 0?(e=s.getSpecConfig())==null||(e=e.showPathsSummary)==null?void 0:e.value:!a.hidePathsSummary}),f=(0,n.computed)(()=>a.group.description&&a.group.description.trim()!==``),p=(0,n.ref)(!((i=s.getSpecConfig())!=null&&(i=i.collapsePaths)!=null&&i.value));function m(e){p.value=!0,(0,n.nextTick)(()=>{Xt({hash:e})})}return(e,r)=>((0,n.openBlock)(),(0,n.createBlock)((0,n.unref)(j9),{open:p.value,"onUpdate:open":r[1]||(r[1]=e=>p.value=e)},{default:(0,n.withCtx)(()=>{var i;return[a.group.isGrouped?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Ave,[(0,n.createVNode)(vn,{level:`h1`},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(a.group.name),1)]),_:1}),(0,n.createElementVNode)(`div`,{class:(0,n.normalizeClass)([`grid grid-cols-1 gap-6 md:gap-10 my-[16px]`,{"md:grid-cols-2":d.value&&f.value}])},[f.value?((0,n.openBlock)(),(0,n.createBlock)(Pn,{key:0,content:t.group.description},null,8,[`content`])):(0,n.createCommentVNode)(``,!0),d.value?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,jve,[(0,n.createVNode)(kve,{paths:t.group.paths,onPathClick:r[0]||(r[0]=e=>m(e))},null,8,[`paths`])])):(0,n.createCommentVNode)(``,!0)],2),d.value||((i=(0,n.unref)(s).getSpecConfig())==null||(i=i.collapsePaths)==null?void 0:i.value)===!0?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Mve,[(0,n.createVNode)((0,n.unref)(M9),null,{default:(0,n.withCtx)(()=>[(0,n.createVNode)((0,n.unref)(Qd),{as:`div`},{default:(0,n.withCtx)(()=>[(0,n.createTextVNode)((0,n.toDisplayString)(p.value?(0,n.unref)(c)(`Hide operations`):(0,n.unref)(c)(`Show operations`)),1)]),_:1})]),_:1})])):(0,n.createCommentVNode)(``,!0),r[2]||(r[2]=(0,n.createElementVNode)(`hr`,null,null,-1))])):(0,n.createCommentVNode)(``,!0),!(0,n.unref)(u)||p.value?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,{key:1,class:(0,n.normalizeClass)([`flex flex-col space-y-10`,{hidden:!p.value}])},[(0,n.createVNode)(wve,{paths:t.group.paths},(0,n.createSlots)({_:2},[(0,n.renderList)(o,(t,r)=>({name:r,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,r,(0,n.normalizeProps)((0,n.guardReactiveProps)(t||{})))])}))]),1032,[`paths`])],2)):(0,n.createCommentVNode)(``,!0)]}),_:3},8,[`open`]))}}),Pve={class:`flex flex-col space-y-10`},Fve=(0,n.defineComponent)({__name:`OAPathsGroups`,props:{groups:{type:Array,required:!0},hidePathsSummary:{type:Boolean,default:void 0}},setup(t){var r;let i=t,a=(0,n.useSlots)(),o=(r=e.b().getSpecConfig())==null||(r=r.lazyRendering)==null?void 0:r.value;return(e,t)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Pve,[((0,n.openBlock)(!0),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)(i.groups,(t,r)=>((0,n.openBlock)(),(0,n.createBlock)(Nve,{key:t.name,group:t,"hide-paths-summary":i.hidePathsSummary,"is-lazy":(0,n.unref)(o)&&r>0},(0,n.createSlots)({_:2},[(0,n.renderList)(a,(t,r)=>({name:r,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,r,(0,n.mergeProps)({ref_for:!0},t||{}))])}))]),1032,[`group`,`hide-paths-summary`,`is-lazy`]))),128))]))}}),Ive={class:`flex flex-col space-y-10`},Lve={key:0},Rve={key:1},zve=(0,n.defineComponent)({__name:`OASpecContent`,props:{hideInfo:{type:Boolean,default:!1},hideServers:{type:Boolean,default:!1},groupByTags:{type:Boolean,default:null},tags:{type:Array,default:void 0},hideDefaultFooter:{type:Boolean,default:void 0},hideBranding:{type:Boolean,default:e=>e.hideBranding===void 0&&e.hideDefaultFooter!==void 0&&(console.warn("`hideDefaultFooter` is deprecated. Use `hideBranding` instead."),e.hideDefaultFooter)},hidePathsSummary:{type:Boolean,default:void 0},openapi:{type:Object,required:!0}},setup(t){let r=t,i=(0,n.useSlots)(),{t:a}=l(),o=e.b(),s=r.openapi.getServers(),c=r.openapi.getInfo(),u=!r.hideInfo&&Object.keys(c).length,d=!r.hideServers&&s.length,f=(0,n.computed)(()=>{var e,t;return(e=r.groupByTags)==null?(t=o.getSpecConfig())==null||(t=t.groupByTags)==null?void 0:t.value:e}),p=(0,n.computed)(()=>{var e;return(e=r.tags)==null?r.openapi.getOperationsTags():e}),m=r.openapi.getTags(),h=r.openapi.getPaths(),g=(0,n.computed)(()=>p.value.map(e=>({tag:e,paths:r.openapi.getPathsByTags(e)}))),_=r.openapi.getPathsWithoutTags(),v=(0,n.computed)(()=>{var t,n;if(f.value){var r,i,s;return[...Object.keys(_).length?[{name:a((r=(i=e.b().getSpecConfig())==null?void 0:i.defaultTag)==null?`Default`:r),paths:_,isOpen:!((s=o.getSpecConfig())!=null&&(s=s.collapsePaths)!=null&&s.value),isGrouped:!0}]:[],...g.value.map(e=>{var t,n;return{name:e.tag,paths:e.paths,isOpen:!((t=o.getSpecConfig())!=null&&(t=t.collapsePaths)!=null&&t.value),description:(n=m.find(t=>t.name===e.tag))==null?void 0:n.description,isGrouped:!0}})]}return[{name:a((t=(n=e.b().getSpecConfig())==null?void 0:n.defaultTag)==null?`Default`:t),paths:h,isGrouped:!1}]});return(e,a)=>((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Ive,[(0,n.unref)(u)||(0,n.unref)(d)?((0,n.openBlock)(),(0,n.createElementBlock)(`div`,Lve,[(0,n.unref)(u)?((0,n.openBlock)(),(0,n.createBlock)(Wa,{key:0,openapi:t.openapi},null,8,[`openapi`])):(0,n.createCommentVNode)(``,!0),(0,n.unref)(d)?((0,n.openBlock)(),(0,n.createBlock)(Ya,{key:1,openapi:t.openapi},null,8,[`openapi`])):(0,n.createCommentVNode)(``,!0)])):(0,n.createCommentVNode)(``,!0),(0,n.unref)(u)||(0,n.unref)(d)?((0,n.openBlock)(),(0,n.createElementBlock)(`hr`,Rve)):(0,n.createCommentVNode)(``,!0),(0,n.createVNode)(Fve,{groups:v.value,"hide-paths-summary":r.hidePathsSummary},(0,n.createSlots)({_:2},[(0,n.renderList)(i,(t,r)=>({name:r,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,r,(0,n.normalizeProps)((0,n.guardReactiveProps)(t||{})))])}))]),1032,[`groups`,`hide-paths-summary`]),r.hideBranding?(0,n.createCommentVNode)(``,!0):((0,n.openBlock)(),(0,n.createBlock)(_e,{key:2}))]))}}),$9=(0,n.defineComponent)({__name:`OASpec`,props:{spec:{type:[Object,String],required:!1,default:null},specUrl:{type:String,required:!1,default:null},hideInfo:{type:Boolean,default:!1},hideServers:{type:Boolean,default:!1},groupByTags:{type:Boolean,default:null},tags:{type:Array,default:void 0},hideDefaultFooter:{type:Boolean,default:void 0},hideBranding:{type:Boolean,default:e=>e.hideBranding===void 0&&e.hideDefaultFooter!==void 0&&(console.warn("`hideDefaultFooter` is deprecated. Use `hideBranding` instead."),e.hideDefaultFooter)},hidePathsSummary:{type:Boolean,default:void 0}},emits:[`update:spec`],setup(e,{emit:t}){let r=e,i=t,a=(0,n.useSlots)();return(e,t)=>((0,n.openBlock)(),(0,n.createBlock)(Vn,{spec:r.spec,"spec-url":r.specUrl,"onUpdate:spec":t[0]||(t[0]=e=>i(`update:spec`,e))},{default:(0,n.withCtx)(({openapi:t})=>[(0,n.createVNode)(zve,(0,n.normalizeProps)((0,n.guardReactiveProps)({...e.$attrs,openapi:t,hideInfo:r.hideInfo,hideServers:r.hideServers,groupByTags:r.groupByTags,tags:r.tags,hideDefaultFooter:r.hideDefaultFooter,hideBranding:r.hideBranding,hidePathsSummary:r.hidePathsSummary})),(0,n.createSlots)({_:2},[(0,n.renderList)(a,(t,r)=>({name:r,fn:(0,n.withCtx)(t=>[(0,n.renderSlot)(e.$slots,r,(0,n.normalizeProps)((0,n.guardReactiveProps)(t||{})))])}))]),1040)]),_:3},8,[`spec`,`spec-url`]))}}),Bve=e.$({OACodeSamples:()=>G9,OAFooter:()=>_e,OAHeaderBadges:()=>en,OAHeading:()=>vn,OAInfo:()=>Ga,OAIntroduction:()=>Xa,OALocaleSelect:()=>ed,OAMarkdown:()=>Pn,OAOperation:()=>J9,OAOperationContext:()=>Y9,OAOperationLink:()=>X9,OAOperationTags:()=>td,OAParameter:()=>jd,OAParameters:()=>Id,OAPathEndpoint:()=>Zd,OAPlayground:()=>k9,OARequestBody:()=>U9,OAResponses:()=>W9,OASecurity:()=>K9,OAServers:()=>Z9,OASpec:()=>$9,OASpecSkeleton:()=>zn,OAVueJsonPretty:()=>ge}),Vve={enhanceApp({app:t}){var r;let i=e.b(),a=i.getI18nConfig(),o=c({defaultLocale:((r=a.locale)==null?void 0:r.value)||`en`,messages:a.messages||{}});t.use(o),(0,n.watch)(()=>i.getLocale(),()=>{o.setLocale(i.getLocale())},{immediate:!0}),Object.entries(Bve).forEach(([e,n])=>{t.component(e,n)})}};exports.DEFAULT_OPERATION_SLOTS=e.y,exports.OACodeSamples=G9,exports.OAFooter=_e,exports.OAHeaderBadges=en,exports.OAHeading=vn,exports.OAInfo=Ga,exports.OAIntroduction=Xa,exports.OALocaleSelect=ed,exports.OAMarkdown=Pn,exports.OAOperation=J9,exports.OAOperationContext=Y9,exports.OAOperationLink=X9,exports.OAOperationTags=td,exports.OAParameter=jd,exports.OAParameters=Id,exports.OAPathEndpoint=Zd,exports.OAPlayground=k9,exports.OARequest=e.w,exports.OARequestBody=U9,exports.OAResponses=W9,exports.OASecurity=K9,exports.OAServers=Z9,exports.OASpec=$9,exports.OASpecSkeleton=zn,exports.OAVueJsonPretty=ge,exports.createOpenApiSpec=e.h,exports.generateCodeSample=e.S,exports.locales=e.x,exports.minifyHtml=e.p,exports.theme=Vve,exports.useOpenapi=e.i,exports.usePlayground=od,exports.useShiki=D9,exports.useTheme=e.b;