vitepress-openapi 0.2.2 → 0.2.3

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 (328) hide show
  1. package/dist/{abap-D28ScVUo.cjs → abap-DbHWwawO.cjs} +1 -1
  2. package/dist/{actionscript-3-DRjA8xTS.cjs → actionscript-3-DvJ6s3Xk.cjs} +1 -1
  3. package/dist/{ada-wojPqWRa.cjs → ada-si97mVBC.cjs} +1 -1
  4. package/dist/{angular-html-BFgRl7Hz.cjs → angular-html-BwP_flrZ.cjs} +1 -1
  5. package/dist/{angular-html-b_Kr9Y_F.js → angular-html-DqH9HPRc.js} +2 -2
  6. package/dist/{angular-ts-Bd-caoFX.cjs → angular-ts-IWORjK1v.cjs} +1 -1
  7. package/dist/{angular-ts-SparJo3y.js → angular-ts-vkSfseKp.js} +2 -2
  8. package/dist/{apache-DsWDnP4J.cjs → apache-CgvClDy_.cjs} +1 -1
  9. package/dist/{apex-D9eQVK_S.cjs → apex-Cjo_G0v4.cjs} +1 -1
  10. package/dist/{apl-D-FtMD_H.cjs → apl-BeHmYinr.cjs} +1 -1
  11. package/dist/{apl-AfBE-FQz.js → apl-CzfTzB1Y.js} +5 -5
  12. package/dist/{applescript-0PsOIJsa.cjs → applescript-DWpSBc1l.cjs} +1 -1
  13. package/dist/{ara-BxD9oadJ.cjs → ara-CZ5OAXBq.cjs} +1 -1
  14. package/dist/{asciidoc-BZZLWnKq.cjs → asciidoc-DlSEtHdT.cjs} +1 -1
  15. package/dist/{asm-BWZlr0p-.cjs → asm-yYHnwERP.cjs} +1 -1
  16. package/dist/{astro-DB_49LD6.cjs → astro-DklHKccU.cjs} +1 -1
  17. package/dist/{astro-Bt1uVtGV.js → astro-wLWX5tRM.js} +5 -5
  18. package/dist/{awk-BrY31wh1.cjs → awk-BumDLtf8.cjs} +1 -1
  19. package/dist/{ballerina-DeBw13Bw.cjs → ballerina--kZ8WrOQ.cjs} +1 -1
  20. package/dist/{bat-F7qpB0pm.cjs → bat-DVCueGRT.cjs} +1 -1
  21. package/dist/{beancount-E94Uq0so.cjs → beancount-BezpuDHh.cjs} +1 -1
  22. package/dist/{berry-D2Mxg7wU.cjs → berry-Pd0rH5v2.cjs} +1 -1
  23. package/dist/{bibtex-w9T2EjJw.cjs → bibtex-N3VAxl39.cjs} +1 -1
  24. package/dist/{bicep-vIFZMN7-.cjs → bicep-BgKVh2d8.cjs} +1 -1
  25. package/dist/{bird2-D_Xs0-5E.cjs → bird2-DsbIjSt_.cjs} +1 -1
  26. package/dist/{blade-BJOE6nPP.js → blade-B9EfFy_T.js} +7 -7
  27. package/dist/{blade-CZueZQHV.cjs → blade-Cdj-kod2.cjs} +1 -1
  28. package/dist/{bsl-C5DJX6I_.cjs → bsl-DHjwtoE7.cjs} +1 -1
  29. package/dist/{c-Cw8gtctD.js → c-3NQlKYZB.js} +1 -1
  30. package/dist/{c-B4sDtbj5.cjs → c-D6IxN_7c.cjs} +1 -1
  31. package/dist/{c3-BP-n6dLH.cjs → c3-BlhTmAKp.cjs} +1 -1
  32. package/dist/{cadence-DJj0enKi.cjs → cadence-BqS8MGCS.cjs} +1 -1
  33. package/dist/{cairo-BScwM1FH.cjs → cairo-B5-Js4Hh.cjs} +1 -1
  34. package/dist/{clarity-DlYj9yel.cjs → clarity-4xDnosBm.cjs} +1 -1
  35. package/dist/{clojure-s9rdvXYV.cjs → clojure-CmfWX5nf.cjs} +1 -1
  36. package/dist/{cmake-ChK9W3Qt.cjs → cmake-DZWiNy3A.cjs} +1 -1
  37. package/dist/{cobol-JF09HZzg.js → cobol-B80qrf9L.js} +2 -2
  38. package/dist/{cobol-DlZ9N-bN.cjs → cobol-at2ZKE8v.cjs} +1 -1
  39. package/dist/{codeowners-DIkdZZvs.cjs → codeowners-M2FP9vlM.cjs} +1 -1
  40. package/dist/{codeql-lW9Heq6u.cjs → codeql-Bel0KAl4.cjs} +1 -1
  41. package/dist/{coffee-DEb5KNNm.cjs → coffee-B-gLvu9V.cjs} +1 -1
  42. package/dist/{coffee-CwgZSgAb.js → coffee-fIg8UwrH.js} +1 -1
  43. package/dist/{common-lisp-lVUaGpBS.cjs → common-lisp-Cd22qpyN.cjs} +1 -1
  44. package/dist/{coq-BRr34ukw.cjs → coq-onOjCMJ4.cjs} +1 -1
  45. package/dist/{cpp-BYRDGaa3.cjs → cpp--jndXkOc.cjs} +1 -1
  46. package/dist/{cpp-pY5onPCj.js → cpp-B-BpTWiR.js} +4 -4
  47. package/dist/{crystal-Div6Q3is.js → crystal-CNMWE7_C.js} +6 -6
  48. package/dist/{crystal-CIsuRItB.cjs → crystal-tKa_0c2f.cjs} +1 -1
  49. package/dist/{csharp-DO2XDgi3.cjs → csharp-BDmR0FwZ.cjs} +1 -1
  50. package/dist/{css-Cwzfkb_j.cjs → css-DKQAnaFy.cjs} +1 -1
  51. package/dist/{css-BFDctGMM.js → css-KoChkNJU.js} +1 -1
  52. package/dist/{csv-DFUhZxCL.cjs → csv-luw8AnHC.cjs} +1 -1
  53. package/dist/{cue-DWl0kDUL.cjs → cue-CNO5M32H.cjs} +1 -1
  54. package/dist/{cypher-DpVeiRhH.cjs → cypher-Dtcju9Wy.cjs} +1 -1
  55. package/dist/{d-CIuGgS4k.cjs → d-KjZ7XzMr.cjs} +1 -1
  56. package/dist/{dart-DGmHsXgB.cjs → dart-DHjUIcoq.cjs} +1 -1
  57. package/dist/{dax-ClEQ02PQ.cjs → dax-7wSOgHmi.cjs} +1 -1
  58. package/dist/{desktop-D4Hp4h8X.cjs → desktop-ReqB3FpT.cjs} +1 -1
  59. package/dist/{diff-CXOLcXNz.cjs → diff-Cnvyiuat.cjs} +1 -1
  60. package/dist/{docker-Cbg0zk_t.cjs → docker-C-dF1DIq.cjs} +1 -1
  61. package/dist/{dotenv-QQeWcdv6.cjs → dotenv-CyVrOoUa.cjs} +1 -1
  62. package/dist/{dream-maker-DMqhzicS.cjs → dream-maker-THYFz5ND.cjs} +1 -1
  63. package/dist/{edge-COPTRly5.cjs → edge-Cr8N1te6.cjs} +1 -1
  64. package/dist/{edge-DI23xIGa.js → edge-h9yauCb1.js} +3 -3
  65. package/dist/{elixir-CSCQZ0bf.js → elixir-Ce_CLwru.js} +1 -1
  66. package/dist/{elixir-Cctb77UT.cjs → elixir-usmW7h8p.cjs} +1 -1
  67. package/dist/{elm-BHnZ3nhb.cjs → elm-CBvY4P9-.cjs} +1 -1
  68. package/dist/{elm-CmXEGpfV.js → elm-DQkGgnSj.js} +1 -1
  69. package/dist/{emacs-lisp-Bp4GZBPJ.cjs → emacs-lisp-BCqGkg4V.cjs} +1 -1
  70. package/dist/{erb-BAY7Xk_y.js → erb-BtWAWkcV.js} +2 -2
  71. package/dist/{erb-wH9pKCGL.cjs → erb-TWg-3Hzi.cjs} +1 -1
  72. package/dist/{erlang-DyeVHmvS.cjs → erlang-vKlHgQfw.cjs} +1 -1
  73. package/dist/{fennel-CjtRO8pi.cjs → fennel-BU7h53ry.cjs} +1 -1
  74. package/dist/{fish-C8i6pf_U.cjs → fish-B7uKUZTV.cjs} +1 -1
  75. package/dist/{fluent-DNHX8T8U.cjs → fluent-DQjqp5Kq.cjs} +1 -1
  76. package/dist/{fortran-fixed-form-DzoZaHNU.cjs → fortran-fixed-form-w48obcNa.cjs} +1 -1
  77. package/dist/{fortran-free-form-CV-P32CU.cjs → fortran-free-form-Cteg9mzo.cjs} +1 -1
  78. package/dist/{fsharp-Drwc_M2F.cjs → fsharp-B0hvSHR2.cjs} +1 -1
  79. package/dist/{gdresource-CmYAh69p.cjs → gdresource-DTZI-d5F.cjs} +1 -1
  80. package/dist/{gdscript-D3_8kYew.cjs → gdscript-CASj5HDz.cjs} +1 -1
  81. package/dist/{gdshader-DfRux6V6.cjs → gdshader-BwTVmSkq.cjs} +1 -1
  82. package/dist/{genie-BZIfw8re.cjs → genie-DLewQa60.cjs} +1 -1
  83. package/dist/{gherkin-C8NaDAeY.cjs → gherkin-DiVdVFLk.cjs} +1 -1
  84. package/dist/{git-commit-B6UU37mh.cjs → git-commit-CcUTxQvG.cjs} +1 -1
  85. package/dist/{git-rebase-DdP3gz6a.cjs → git-rebase-OwecUFpu.cjs} +1 -1
  86. package/dist/{git-rebase-Duj0-hKj.js → git-rebase-qY5hMXWk.js} +1 -1
  87. package/dist/{gleam-Bt3dlaUk.cjs → gleam-krClY_LC.cjs} +1 -1
  88. package/dist/{glimmer-js-C7x_yjay.js → glimmer-js-C_oSJlWM.js} +4 -4
  89. package/dist/{glimmer-js-C-Yt8FJn.cjs → glimmer-js-kFUMRn9C.cjs} +1 -1
  90. package/dist/{glimmer-ts-PJ-te84g.js → glimmer-ts-BhhfbZCD.js} +4 -4
  91. package/dist/{glimmer-ts-DVJVCREv.cjs → glimmer-ts-CLCu271J.cjs} +1 -1
  92. package/dist/{glsl-JKoYK0nM.cjs → glsl-BXJDn_gt.cjs} +1 -1
  93. package/dist/{glsl-D-F7wQGx.js → glsl-CguBkz1-.js} +2 -2
  94. package/dist/{gn-SoTgT8zH.cjs → gn-CEKU77Wh.cjs} +1 -1
  95. package/dist/{gnuplot-hBTdoZ-Q.cjs → gnuplot-MCXi5E7f.cjs} +1 -1
  96. package/dist/{go-CbZFzvf7.cjs → go-DbvHLADy.cjs} +1 -1
  97. package/dist/{graphql-DFsH3RXm.js → graphql-DLnA4CsN.js} +5 -5
  98. package/dist/{graphql-D5B-uoL1.cjs → graphql-DP3FsAjY.cjs} +1 -1
  99. package/dist/{groovy-Od4wxw3_.cjs → groovy-BpSzuPXi.cjs} +1 -1
  100. package/dist/{hack-B_ooiWdD.cjs → hack-B2VZuORb.cjs} +1 -1
  101. package/dist/{hack-dlu0cu_9.js → hack-Dba0TfVv.js} +2 -2
  102. package/dist/{haml-Cx3YIYBx.cjs → haml-BXoCkqYS.cjs} +1 -1
  103. package/dist/{haml-wQMb_Fh_.js → haml-DgqVRo4j.js} +3 -3
  104. package/dist/{handlebars-BWLLBbjH.cjs → handlebars-CRcoR0yH.cjs} +1 -1
  105. package/dist/{handlebars-BWau9Prc.js → handlebars-CwbAnbrr.js} +4 -4
  106. package/dist/{haskell-wniTNzml.cjs → haskell-DW9g_LRP.cjs} +1 -1
  107. package/dist/{haxe-CdWABsS_.cjs → haxe-BMR3B8k6.cjs} +1 -1
  108. package/dist/{hcl-CDYqoSSu.cjs → hcl-CCdW7KI9.cjs} +1 -1
  109. package/dist/{hjson-DeAB-ifU.cjs → hjson-Cr5fY33B.cjs} +1 -1
  110. package/dist/{hlsl-c6un4DKD.cjs → hlsl-gT3id72v.cjs} +1 -1
  111. package/dist/{html-CoAf-dq1.js → html-CidnULLW.js} +3 -3
  112. package/dist/{html-IeAwA1-y.cjs → html-D6F0mo1U.cjs} +1 -1
  113. package/dist/{html-derivative-DpNckOvv.cjs → html-derivative-Cpu5jrKk.cjs} +1 -1
  114. package/dist/{html-derivative-DxuDSpn1.js → html-derivative-Dz9dK7DP.js} +1 -1
  115. package/dist/{http-DVn6ar_c.js → http-9zvgXjlb.js} +4 -4
  116. package/dist/{http-B5YiPEr0.cjs → http-CFyli_G1.cjs} +1 -1
  117. package/dist/{hurl--YONgxHZ.js → hurl-D9KfM_tD.js} +2 -2
  118. package/dist/{hurl-CPs1Yni9.cjs → hurl-DIUy5FdL.cjs} +1 -1
  119. package/dist/{hxml-Buh_tIz7.cjs → hxml-1eTHkFXe.cjs} +1 -1
  120. package/dist/{hy-DGSd1X5L.cjs → hy-CbdcKacc.cjs} +1 -1
  121. package/dist/{imba-DyB3OUGg.cjs → imba-DJOgYGUs.cjs} +1 -1
  122. package/dist/{ini-B0MNogTd.cjs → ini-C66S0Msi.cjs} +1 -1
  123. package/dist/{java-thzdpigr.cjs → java-BL0Gk2ag.cjs} +1 -1
  124. package/dist/{java-Bm59L-Wt.js → java-DMx8WeVU.js} +1 -1
  125. package/dist/{javascript-BwfEWj44.cjs → javascript-DTPMZo80.cjs} +1 -1
  126. package/dist/{javascript-iUcBs8BD.js → javascript-sD_FYRHW.js} +1 -1
  127. package/dist/{jinja-C1QCLirz.js → jinja-CJ-ezkUb.js} +1 -1
  128. package/dist/{jinja-5RwDfL_n.cjs → jinja-CSm9zBJy.cjs} +1 -1
  129. package/dist/{jison-DWA63_tp.cjs → jison-Ca2iVp_J.cjs} +1 -1
  130. package/dist/{jison-sTUpzaPj.js → jison-DYGVoMBL.js} +1 -1
  131. package/dist/{json-szsk-XVa.cjs → json-BjtJbZk-.cjs} +1 -1
  132. package/dist/{json-BuMXC6kk.js → json-Dauarzjn.js} +1 -1
  133. package/dist/{json5-4PEMHywG.cjs → json5-D3TlYpPa.cjs} +1 -1
  134. package/dist/{jsonc-92BnaUG4.cjs → jsonc-Ctmi4CmS.cjs} +1 -1
  135. package/dist/{jsonl-D8ItysLA.cjs → jsonl-Wc2sGv_p.cjs} +1 -1
  136. package/dist/{jsonnet-4fzCY174.cjs → jsonnet-BbkfLaza.cjs} +1 -1
  137. package/dist/{jssm-Dvb5A-tQ.cjs → jssm-DiKrbkK9.cjs} +1 -1
  138. package/dist/{jsx-u8YKy7Jo.js → jsx-CZixdOEN.js} +1 -1
  139. package/dist/{jsx-Pkj-N4nJ.cjs → jsx-DN-A2cLN.cjs} +1 -1
  140. package/dist/{julia-DJ909a5U.cjs → julia-AE8tz8ZQ.cjs} +1 -1
  141. package/dist/{julia-CQW06Oww.js → julia-DqXbbXPC.js} +4 -4
  142. package/dist/{just-CpI8y_N8.js → just-DKYEJAs4.js} +5 -5
  143. package/dist/{just-DK0Dx8mf.cjs → just-DvUnHc6H.cjs} +1 -1
  144. package/dist/{kdl-pLZRWKyM.cjs → kdl-CNxMQg1n.cjs} +1 -1
  145. package/dist/{kotlin-QIBHbR-j.cjs → kotlin-CvVgiNdU.cjs} +1 -1
  146. package/dist/{kusto-QPw5fW4N.cjs → kusto-Cn_DBfI2.cjs} +1 -1
  147. package/dist/{latex-Cpl5xqxF.cjs → latex-CJQ7HyR1.cjs} +1 -1
  148. package/dist/{latex-DXWgmyV9.js → latex-CuBNc32D.js} +1 -1
  149. package/dist/{lean-DeXGeAUT.cjs → lean-BInmd3WR.cjs} +1 -1
  150. package/dist/{less-B71B-11Y.cjs → less-J5S7iuB0.cjs} +1 -1
  151. package/dist/{liquid-C3H6aT9E.js → liquid-Cyh55h2R.js} +4 -4
  152. package/dist/{liquid-_0m-lrpC.cjs → liquid-DgCOLPZR.cjs} +1 -1
  153. package/dist/{llvm-DM-OxH_q.cjs → llvm-DHgB4Wwz.cjs} +1 -1
  154. package/dist/{log-yuCvz5qY.cjs → log-BKlLl1pC.cjs} +1 -1
  155. package/dist/{logo-x4rTvmXt.cjs → logo-C22O6Ci4.cjs} +1 -1
  156. package/dist/{lua-CzvZsEpD.cjs → lua-BDbzx1vQ.cjs} +1 -1
  157. package/dist/{lua-BB53RCsx.js → lua-BJM_fkp1.js} +2 -2
  158. package/dist/{luau-BCD0PpaL.cjs → luau-C27KbJ-Z.cjs} +1 -1
  159. package/dist/{make-B060j9Qu.cjs → make-CsSCaz0V.cjs} +1 -1
  160. package/dist/{markdown-J8hTKije.cjs → markdown-Dw-c4Sds.cjs} +1 -1
  161. package/dist/{marko-CdivHD7u.cjs → marko-CBmWJ4Di.cjs} +1 -1
  162. package/dist/{marko-79sEhBlD.js → marko-DpdJMyha.js} +3 -3
  163. package/dist/{matlab-D0uaIijf.cjs → matlab-DR1Z0hVs.cjs} +1 -1
  164. package/dist/{mdc-B_TwQQZp.cjs → mdc-3F82T1AN.cjs} +1 -1
  165. package/dist/{mdc-UefFW1Bq.js → mdc-IL5p_Qsl.js} +2 -2
  166. package/dist/{mdx-BL_JAm-M.cjs → mdx-D1joTGP2.cjs} +1 -1
  167. package/dist/{mermaid-CumJXpIT.cjs → mermaid-6crWI2cO.cjs} +1 -1
  168. package/dist/{mipsasm-ZJAD8F7J.cjs → mipsasm-CStB8sIi.cjs} +1 -1
  169. package/dist/{mojo-CyGvEn8x.cjs → mojo-BjUg8u9p.cjs} +1 -1
  170. package/dist/{moonbit-NtuA3cRr.cjs → moonbit-DdhIaSxl.cjs} +1 -1
  171. package/dist/{move-B6Fn0jOe.cjs → move-D7MpTOmo.cjs} +1 -1
  172. package/dist/{narrat-D0lcD2US.cjs → narrat-XQbB7ubd.cjs} +1 -1
  173. package/dist/{nextflow-CrJMR1bD.cjs → nextflow-CaDQ1Lyl.cjs} +1 -1
  174. package/dist/{nextflow-groovy-CQt-sIL4.cjs → nextflow-groovy-Dadd2SI7.cjs} +1 -1
  175. package/dist/{nginx-C3AqZ6i9.cjs → nginx-DXav0-Bu.cjs} +1 -1
  176. package/dist/{nginx-CpcNh4kP.js → nginx-H6eEPHXF.js} +1 -1
  177. package/dist/{nim-BduaVvA2.js → nim-CPqyPLIC.js} +6 -6
  178. package/dist/{nim-D9ngXdKI.cjs → nim-Dgw7AGHl.cjs} +1 -1
  179. package/dist/{nix-Bc7PBZlz.cjs → nix-BvEPjaxv.cjs} +1 -1
  180. package/dist/{nushell-DlDYimKm.cjs → nushell-CoZGuwy2.cjs} +1 -1
  181. package/dist/{objective-c-CgZDfntI.cjs → objective-c-HVMLr8fc.cjs} +1 -1
  182. package/dist/{objective-cpp-7N1Ozhs6.cjs → objective-cpp-ZEPIVzq-.cjs} +1 -1
  183. package/dist/{ocaml-DRWMry-L.cjs → ocaml-Dl8vgPr8.cjs} +1 -1
  184. package/dist/{odin-B0HMulmA.cjs → odin-DBo6tjWZ.cjs} +1 -1
  185. package/dist/{openscad-BhYA8FY7.cjs → openscad-BmUbF9J5.cjs} +1 -1
  186. package/dist/{pascal-pvaWfNzW.cjs → pascal-DSZYep31.cjs} +1 -1
  187. package/dist/{perl-BvBjxyyC.cjs → perl-COwXwvwA.cjs} +1 -1
  188. package/dist/{perl-CKalKgZj.js → perl-CsnjxulG.js} +5 -5
  189. package/dist/{php-WMd0D8KJ.js → php-DQlN1tvT.js} +6 -6
  190. package/dist/{php-BvrWCtKX.cjs → php-De1eQM_5.cjs} +1 -1
  191. package/dist/{pkl-CfBP9mrx.cjs → pkl-BzqBfyIv.cjs} +1 -1
  192. package/dist/{plsql-BeFc6y84.cjs → plsql-BQMLvDNs.cjs} +1 -1
  193. package/dist/{po-CdbCgjhh.cjs → po-DRNiVlyb.cjs} +1 -1
  194. package/dist/{polar-B7EN4lU8.cjs → polar-D8ZvV9Ao.cjs} +1 -1
  195. package/dist/{postcss-CuDqgUgm.cjs → postcss-Br1oWOgJ.cjs} +1 -1
  196. package/dist/{powerquery-Bp9xn3PI.cjs → powerquery-CHLmK3ZB.cjs} +1 -1
  197. package/dist/{powershell-B1p18puU.cjs → powershell-BEIoAPrq.cjs} +1 -1
  198. package/dist/{prisma-D0rWKZ6n.cjs → prisma-B2qN3zyQ.cjs} +1 -1
  199. package/dist/{prolog-wQYRW3_v.cjs → prolog-CeRXDKUo.cjs} +1 -1
  200. package/dist/{proto-j76Hr_yD.cjs → proto-sU-gGcJA.cjs} +1 -1
  201. package/dist/{pug-CPjHoFyZ.cjs → pug-C0t4REA5.cjs} +1 -1
  202. package/dist/{pug-DmBYve-0.js → pug-D1Xhump3.js} +3 -3
  203. package/dist/{puppet-DeEDHqB8.cjs → puppet-DjbfY2_p.cjs} +1 -1
  204. package/dist/{purescript-BrkfhSfu.cjs → purescript-BCAsxt5Q.cjs} +1 -1
  205. package/dist/{python-BEv55fu8.cjs → python-pGYVJln6.cjs} +1 -1
  206. package/dist/{qml-CeyW6Wo6.cjs → qml-CZ9q94e5.cjs} +1 -1
  207. package/dist/{qml-mQHvctbz.js → qml-Dqyx27y2.js} +1 -1
  208. package/dist/{qmldir-hhrWKC3C.cjs → qmldir-B_W9xTyM.cjs} +1 -1
  209. package/dist/{qss-Bt_eX1eN.cjs → qss-ZGn--W95.cjs} +1 -1
  210. package/dist/{r-C3y-QvOg.js → r-082e3vV9.js} +1 -1
  211. package/dist/{r-BgBxFSSH.cjs → r-CaFyC1OZ.cjs} +1 -1
  212. package/dist/{racket-D5_e3WhY.cjs → racket-C2wekwIJ.cjs} +1 -1
  213. package/dist/{raku-k8429iA5.cjs → raku-3W7UOO0w.cjs} +1 -1
  214. package/dist/{razor-DD1sokCs.cjs → razor-CkNSoP-_.cjs} +1 -1
  215. package/dist/{razor-Bkh685gU.js → razor-P21ccBkV.js} +1 -1
  216. package/dist/{reg-BOhnE2SH.cjs → reg-DpRCNjp9.cjs} +1 -1
  217. package/dist/{regexp-B87uQGjs.js → regexp-Cfw6es-g.js} +1 -1
  218. package/dist/{regexp-B5vuKOWL.cjs → regexp-D1_bkcZU.cjs} +1 -1
  219. package/dist/{rel-DE1uaI3o.cjs → rel-Cadk7Tr2.cjs} +1 -1
  220. package/dist/{riscv-CHZGw5Ks.cjs → riscv-CQzr7vXJ.cjs} +1 -1
  221. package/dist/{ron-B4fbyAqQ.cjs → ron-C_kRshk-.cjs} +1 -1
  222. package/dist/{rosmsg-3fXAgx-5.cjs → rosmsg-BowUpaus.cjs} +1 -1
  223. package/dist/{rst-CvUGJ-_u.js → rst-BFYtVSkV.js} +6 -6
  224. package/dist/{rst-SFPof7jR.cjs → rst-CTgJKvvX.cjs} +1 -1
  225. package/dist/{ruby-BrDimDNI.js → ruby-CyeP-MPO.js} +12 -12
  226. package/dist/{ruby-B4vnobAb.cjs → ruby-D6LW9gMw.cjs} +1 -1
  227. package/dist/{rust-jT4_GuLb.cjs → rust-D4usNHL3.cjs} +1 -1
  228. package/dist/{sas-BEGRO3-X.js → sas-DXag2JSS.js} +1 -1
  229. package/dist/{sas-liYT0WVV.cjs → sas-nuatZ_PR.cjs} +1 -1
  230. package/dist/{sass-Cfsi6upF.cjs → sass-Cwk7hATW.cjs} +1 -1
  231. package/dist/{scala-BNXxINTh.cjs → scala-edMr9Jb-.cjs} +1 -1
  232. package/dist/{scheme-ubICIvtH.cjs → scheme-JUPrscpt.cjs} +1 -1
  233. package/dist/{scss-sLcpIzf_.cjs → scss-Ct0dpIzL.cjs} +1 -1
  234. package/dist/{scss-b-KpzZHB.js → scss-ygw8ke4Q.js} +2 -2
  235. package/dist/{sdbl-O2P1CHbK.cjs → sdbl-CG164qbw.cjs} +1 -1
  236. package/dist/{shaderlab-CLk7cuaP.cjs → shaderlab-DT5lirIv.cjs} +1 -1
  237. package/dist/{shellscript-CYz_Tmt1.js → shellscript-7JFel78y.js} +1 -1
  238. package/dist/{shellscript-CTlKLDBT.cjs → shellscript-CEQio2Sg.cjs} +1 -1
  239. package/dist/{shellsession-CF0qD-1c.js → shellsession-Da4FukI3.js} +1 -1
  240. package/dist/{shellsession-Cj85yxWL.cjs → shellsession-DzvsIcAY.cjs} +1 -1
  241. package/dist/{smalltalk-C6z2ifJ2.cjs → smalltalk-PiCvZujk.cjs} +1 -1
  242. package/dist/{solidity-DR9rQe8a.cjs → solidity-6BijnP97.cjs} +1 -1
  243. package/dist/{soy-CiHnwqQj.cjs → soy-DxDClqRe.cjs} +1 -1
  244. package/dist/{soy-C4Ptczpj.js → soy-zHrCNZ3F.js} +1 -1
  245. package/dist/{sparql-BpamGeC0.cjs → sparql-fu9gbzZp.cjs} +1 -1
  246. package/dist/{splunk-BZRPTTU0.cjs → splunk-Dix_rr0B.cjs} +1 -1
  247. package/dist/{sql-D_6aR_6-.js → sql-CeQXMTxg.js} +1 -1
  248. package/dist/{sql-BIsHK-g6.cjs → sql-DXjt_On2.cjs} +1 -1
  249. package/dist/{ssh-config-CGXkCpMz.cjs → ssh-config-B9flN-_s.cjs} +1 -1
  250. package/dist/{stata-ClA8oHdF.cjs → stata-BcGTO80Q.cjs} +1 -1
  251. package/dist/{stata-DIgeD8Aj.js → stata-Clhd602K.js} +1 -1
  252. package/dist/{stylus-DODbffVn.cjs → stylus-Dhy5WCFY.cjs} +1 -1
  253. package/dist/{surrealql-CQx6qRdx.cjs → surrealql-DCAX20pA.cjs} +1 -1
  254. package/dist/{surrealql-CG8JAS5j.js → surrealql-DisIdBhf.js} +1 -1
  255. package/dist/{svelte-4YK9lt5u.cjs → svelte-C0nrTPp5.cjs} +1 -1
  256. package/dist/{svelte-wFDCV7t-.js → svelte-CHNbYgu8.js} +3 -3
  257. package/dist/{swift-CAL1AGQj.cjs → swift-DLUN2SMC.cjs} +1 -1
  258. package/dist/{system-verilog-DQPf3LRV.cjs → system-verilog-C__V1KzA.cjs} +1 -1
  259. package/dist/{systemd-DHuUR4V1.cjs → systemd-B8luzGDc.cjs} +1 -1
  260. package/dist/{talonscript-0s8qEXDg.cjs → talonscript-DFDQNfKP.cjs} +1 -1
  261. package/dist/{tasl-B3fLIkev.cjs → tasl-Co3vRXH0.cjs} +1 -1
  262. package/dist/{tcl-CebAe7g3.cjs → tcl-Bd3dmQVX.cjs} +1 -1
  263. package/dist/{templ-CCKpzZPC.js → templ-49sV9rxq.js} +2 -2
  264. package/dist/{templ-DaGDUMG-.cjs → templ-BV6nyF4V.cjs} +1 -1
  265. package/dist/{terraform-DYJMN2Q8.cjs → terraform-DeG8rLP1.cjs} +1 -1
  266. package/dist/{tex-DkmwrsrJ.js → tex-CsVKFcob.js} +1 -1
  267. package/dist/{tex-D3zZpB4c.cjs → tex-DArippWh.cjs} +1 -1
  268. package/dist/{toml-C3H3uWIY.cjs → toml-B5ko73XE.cjs} +1 -1
  269. package/dist/{ts-tags-BvlIhn06.js → ts-tags-C-GwggQm.js} +7 -7
  270. package/dist/{ts-tags-DKbUD43o.cjs → ts-tags-TcDDwZeG.cjs} +1 -1
  271. package/dist/{tsv-Kd6B3XvV.cjs → tsv-CAw4wfFA.cjs} +1 -1
  272. package/dist/{tsx-H2ZqiMp6.js → tsx-CZDzPmPx.js} +1 -1
  273. package/dist/{tsx-vKpRd_XP.cjs → tsx-DpouOaZs.cjs} +1 -1
  274. package/dist/{turtle-CSr7HzGP.cjs → turtle-DaLXZxWC.cjs} +1 -1
  275. package/dist/{twig-DHd7UR83.cjs → twig-BvDXscKn.cjs} +1 -1
  276. package/dist/{twig-CxJK-9AK.js → twig-WxoQ0DN0.js} +5 -5
  277. package/dist/types/src/components/Common/Highlight/OAShiki.vue.d.ts +2 -2
  278. package/dist/types/src/components/Common/Highlight/OAVueJsonPretty.vue.d.ts +2 -2
  279. package/dist/types/src/components/Common/OACodeBlock.vue.d.ts +2 -2
  280. package/dist/types/src/components/Common/OACodeValue.vue.d.ts +2 -2
  281. package/dist/types/src/components/Parameter/OAParameterAttribute.vue.d.ts +2 -2
  282. package/dist/types/src/components/Playground/OAPlaygroundParameterInput.vue.d.ts +2 -2
  283. package/dist/types/src/lib/playground/serializeRequestBody.d.ts +5 -0
  284. package/dist/{typescript-Br-pkYgD.cjs → typescript-5G2O15Wa.cjs} +1 -1
  285. package/dist/{typescript-BjEGJdhz.js → typescript-C5dCVbxg.js} +1 -1
  286. package/dist/{typespec-BntPJvY-.cjs → typespec-B_HrHZWF.cjs} +1 -1
  287. package/dist/{typst-9s5mPFUS.cjs → typst-B3otpKAH.cjs} +1 -1
  288. package/dist/{useOpenapi-8u7VzCVz.cjs → useOpenapi-CMzcXyrQ.cjs} +22 -22
  289. package/dist/{useOpenapi-C6P_64nL.js → useOpenapi-RlMuxzyx.js} +832 -805
  290. package/dist/{v-C2BcEypp.cjs → v-BWHL-VKB.cjs} +1 -1
  291. package/dist/{vala-C4FyTa6K.cjs → vala-DzCELqF-.cjs} +1 -1
  292. package/dist/{vanilla-picker-a2ReA_-X.cjs → vanilla-picker-sKylzrEN.cjs} +1 -1
  293. package/dist/{vb-DuCHowvU.cjs → vb-By00ZlDn.cjs} +1 -1
  294. package/dist/{verilog-DtNzInVN.cjs → verilog-DRTx65yC.cjs} +1 -1
  295. package/dist/{vhdl-BUrcqYoR.cjs → vhdl-B18Ikfxu.cjs} +1 -1
  296. package/dist/{viml-nfFnU2tS.cjs → viml-BAyWb34Q.cjs} +1 -1
  297. package/dist/vitepress-openapi.client.cjs.js +103 -103
  298. package/dist/vitepress-openapi.client.es.js +8637 -8621
  299. package/dist/vitepress-openapi.node.cjs.js +1 -1
  300. package/dist/vitepress-openapi.node.es.js +1 -1
  301. package/dist/vitepress-openapi.theme.cjs.js +1 -1
  302. package/dist/{vue-brPAdECk.js → vue-DEjb8M9i.js} +6 -6
  303. package/dist/{vue-DzZS5O5C.cjs → vue-DhUuc9Qt.cjs} +1 -1
  304. package/dist/{vue-html-BmMO_EF7.cjs → vue-html-BykR6tzO.cjs} +1 -1
  305. package/dist/{vue-html-DfwjEM3J.js → vue-html-Ci5-bJ9d.js} +1 -1
  306. package/dist/{vue-vine-CFUeyxj-.js → vue-vine-C2rldFLn.js} +3 -3
  307. package/dist/{vue-vine-FHqHcVQh.cjs → vue-vine-CNrpYfQF.cjs} +1 -1
  308. package/dist/{vyper-BKqXK-Ai.cjs → vyper-CAfFTpJP.cjs} +1 -1
  309. package/dist/{wasm-DS6r4Z5j.cjs → wasm-Cgw-CTkQ.cjs} +1 -1
  310. package/dist/{wenyan-Delbo1z6.cjs → wenyan-lu2udEjT.cjs} +1 -1
  311. package/dist/{wgsl-Dlc58aX4.cjs → wgsl-BvcDni-4.cjs} +1 -1
  312. package/dist/{wikitext-C0JNX_lU.cjs → wikitext-o-VDH8MA.cjs} +1 -1
  313. package/dist/{wit-BSuZmA5m.cjs → wit-DVqjvUSy.cjs} +1 -1
  314. package/dist/{wolfram-JOOPlYsT.cjs → wolfram-CqNHMJRc.cjs} +1 -1
  315. package/dist/{xml-CssPYSg3.js → xml-Dwp2DxuW.js} +2 -2
  316. package/dist/{xml-D5mQedRJ.cjs → xml-sswSi7DB.cjs} +1 -1
  317. package/dist/{xsl-C9t0-_Xf.js → xsl-CAM1xxWg.js} +1 -1
  318. package/dist/{xsl-qdHiQoAu.cjs → xsl-cphgDQRL.cjs} +1 -1
  319. package/dist/{yaml-BHjs03Zq.js → yaml-B7XAwUPr.js} +1 -1
  320. package/dist/{yaml-DudJN263.cjs → yaml-BbNr1NXB.cjs} +1 -1
  321. package/dist/{zenscript-CszAlSJS.cjs → zenscript-CsMi2ImE.cjs} +1 -1
  322. package/dist/{zig-DQbB_jnj.cjs → zig-B4wHzX2r.cjs} +1 -1
  323. package/package.json +1 -1
  324. package/src/components/Feature/OAOperationContext.vue +1 -1
  325. package/src/composables/usePlayground.ts +2 -3
  326. package/src/lib/codeSamples/buildHarRequest.ts +83 -8
  327. package/src/lib/parser/generateCodeSamples.ts +1 -1
  328. package/src/lib/playground/serializeRequestBody.ts +43 -0
@@ -3177,15 +3177,42 @@ function zi(e) {
3177
3177
  //#endregion
3178
3178
  //#region src/lib/codeSamples/buildHarRequest.ts
3179
3179
  var Bi = /\b\w/g;
3180
- function Vi(e) {
3181
- let t = {
3180
+ function Vi(e, t) {
3181
+ let n = [];
3182
+ for (let t = 0; t < e.length; t++) e[t].name.toLowerCase() === "cookie" && n.push(t);
3183
+ if (n.length === 0 && t.length === 0) return;
3184
+ let r = /* @__PURE__ */ new Map();
3185
+ for (let t of n) for (let n of e[t].value.split(";")) {
3186
+ let e = n.trim();
3187
+ if (!e) continue;
3188
+ let t = e.indexOf("="), i = t === -1 ? e : e.slice(0, t).trim(), a = t === -1 ? "" : e.slice(t + 1).trim();
3189
+ r.has(i) || r.set(i, a);
3190
+ }
3191
+ for (let e of t) r.has(e.name) || r.set(e.name, e.value);
3192
+ let i = Array.from(r.entries()).map(([e, t]) => `${e}=${t}`).join("; ");
3193
+ for (let t = n.length - 1; t >= 1; t--) e.splice(n[t], 1);
3194
+ n.length > 0 ? e[n[0]] = {
3195
+ name: "Cookie",
3196
+ value: i
3197
+ } : r.size > 0 && e.push({
3198
+ name: "Cookie",
3199
+ value: i
3200
+ });
3201
+ }
3202
+ function Hi(e) {
3203
+ let t = Object.entries(e.headers).map(([e, t]) => ({
3204
+ name: e.replace(Bi, (e) => e.toUpperCase()),
3205
+ value: t
3206
+ }));
3207
+ Vi(t, Object.entries(e.cookies).map(([e, t]) => ({
3208
+ name: e,
3209
+ value: t
3210
+ })));
3211
+ let n = {
3182
3212
  method: e.method.toUpperCase(),
3183
3213
  url: decodeURI(e.url.toString()),
3184
3214
  httpVersion: "HTTP/1.1",
3185
- headers: Object.entries(e.headers).map(([e, t]) => ({
3186
- name: e.replace(Bi, (e) => e.toUpperCase()),
3187
- value: t
3188
- })),
3215
+ headers: t,
3189
3216
  queryString: [...Object.entries(e.query).flatMap(([e, t]) => Array.isArray(t) ? t.map((t) => ({
3190
3217
  name: e,
3191
3218
  value: String(t)
@@ -3193,34 +3220,31 @@ function Vi(e) {
3193
3220
  name: e,
3194
3221
  value: typeof t == "object" ? JSON.stringify(t) : String(t)
3195
3222
  }])],
3196
- cookies: Object.entries(e.cookies).map(([e, t]) => ({
3197
- name: e,
3198
- value: t
3199
- })),
3223
+ cookies: [],
3200
3224
  headersSize: -1,
3201
3225
  bodySize: -1
3202
3226
  };
3203
- if (e.body !== void 0) if (typeof e.body == "string") t.postData = {
3227
+ if (e.body !== void 0) if (typeof e.body == "string") n.postData = {
3204
3228
  mimeType: e.contentType || "application/json",
3205
3229
  text: e.body
3206
3230
  };
3207
3231
  else if (e.body instanceof FormData) {
3208
- let n = {};
3209
- e.body.forEach((t, r) => {
3210
- if (t instanceof File) n[r] = {
3232
+ let t = {};
3233
+ e.body.forEach((n, r) => {
3234
+ if (n instanceof File) t[r] = {
3211
3235
  type: "file",
3212
3236
  text: "BINARY",
3213
- name: t.name,
3214
- size: t.size,
3215
- mimeType: t.type || "application/octet-stream"
3237
+ name: n.name,
3238
+ size: n.size,
3239
+ mimeType: n.type || "application/octet-stream"
3216
3240
  };
3217
3241
  else {
3218
- let t = e.body.getAll(r);
3219
- t.length > 1 ? n[r] = t : n[r] = t[0];
3242
+ let n = e.body.getAll(r);
3243
+ n.length > 1 ? t[r] = n : t[r] = n[0];
3220
3244
  }
3221
- }), t.postData = {
3245
+ }), n.postData = {
3222
3246
  mimeType: e.contentType || "multipart/form-data",
3223
- params: Object.entries(n).map(([e, t]) => typeof t == "object" && t && "text" in t ? {
3247
+ params: Object.entries(t).map(([e, t]) => typeof t == "object" && t && "text" in t ? {
3224
3248
  name: e,
3225
3249
  value: t.text,
3226
3250
  fileName: t.name,
@@ -3230,21 +3254,21 @@ function Vi(e) {
3230
3254
  value: String(t)
3231
3255
  })
3232
3256
  };
3233
- } else typeof e.body == "object" && (e.contentType && (Ii(e.contentType) || Li(e.contentType)) ? t.postData = {
3257
+ } else typeof e.body == "object" && (e.contentType && (Ii(e.contentType) || Li(e.contentType)) ? n.postData = {
3234
3258
  mimeType: e.contentType,
3235
3259
  params: Object.entries(e.body).map(([e, t]) => ({
3236
3260
  name: e,
3237
3261
  value: String(t)
3238
3262
  }))
3239
- } : t.postData = {
3263
+ } : n.postData = {
3240
3264
  mimeType: e.contentType || "application/json",
3241
3265
  text: JSON.stringify(e.body)
3242
3266
  });
3243
- return t;
3267
+ return n;
3244
3268
  }
3245
3269
  //#endregion
3246
3270
  //#region src/lib/examples/getPropertyExample.ts
3247
- function Hi(e, t) {
3271
+ function Ui(e, t) {
3248
3272
  if (Array.isArray(e)) {
3249
3273
  if (e.length === 0) return {
3250
3274
  matched: !1,
@@ -3282,36 +3306,36 @@ function Hi(e, t) {
3282
3306
  value: void 0
3283
3307
  };
3284
3308
  }
3285
- function Ui(e) {
3309
+ function Wi(e) {
3286
3310
  var t;
3287
3311
  return (e == null ? void 0 : e["x-playground-example"]) === void 0 ? (e == null || (t = e.schema) == null ? void 0 : t["x-playground-example"]) === void 0 ? null : e.schema["x-playground-example"] : e["x-playground-example"];
3288
3312
  }
3289
- function Wi(e) {
3313
+ function Gi(e) {
3290
3314
  var t, n, r;
3291
3315
  if ((e == null ? void 0 : e.example) !== void 0) return e.example;
3292
3316
  if ((e == null ? void 0 : e.examples) !== void 0) {
3293
- let t = Hi(e.examples, !1);
3317
+ let t = Ui(e.examples, !1);
3294
3318
  if (t.matched) return t.value;
3295
3319
  }
3296
3320
  if ((e == null || (t = e.schema) == null ? void 0 : t.example) !== void 0) return e.schema.example;
3297
3321
  if ((e == null || (n = e.schema) == null ? void 0 : n.examples) !== void 0) {
3298
- let t = Hi(e.schema.examples, !0);
3322
+ let t = Ui(e.schema.examples, !0);
3299
3323
  if (t.matched) return t.value;
3300
3324
  }
3301
3325
  return (e == null ? void 0 : e.subexample) === void 0 ? e != null && e.subexamples && (e == null || (r = e.subexamples) == null ? void 0 : r.length) > 0 ? e.subexamples[0] : null : e.subexample;
3302
3326
  }
3303
- function Gi(e) {
3327
+ function Ki(e) {
3304
3328
  var t;
3305
- return (t = Ui(e)) == null ? Wi(e) : t;
3329
+ return (t = Wi(e)) == null ? Gi(e) : t;
3306
3330
  }
3307
3331
  //#endregion
3308
3332
  //#region src/lib/utils/resolveBaseUrl.ts
3309
- function Ki(e, t = "http://localhost") {
3333
+ function qi(e, t = "http://localhost") {
3310
3334
  return URL.canParse(e) ? e : (console.error("Failed to resolve base URL:", e), t);
3311
3335
  }
3312
3336
  //#endregion
3313
3337
  //#region src/lib/codeSamples/request.ts
3314
- var qi = class {
3338
+ var Ji = class {
3315
3339
  constructor({ baseUrl: e, path: t, url: n, method: r, parameters: i, authorizations: a, body: o, variables: s, headers: c, query: l, contentType: u, cookies: d }) {
3316
3340
  O(this, "baseUrl", void 0), O(this, "path", void 0), O(this, "url", void 0), O(this, "method", void 0), O(this, "parameters", void 0), O(this, "authorizations", void 0), O(this, "body", void 0), O(this, "variables", void 0), O(this, "headers", void 0), O(this, "query", void 0), O(this, "contentType", void 0), O(this, "cookies", void 0);
3317
3341
  let f = n || (e && t ? new URL(`${e}${t}`) : new URL("http://localhost"));
@@ -3320,27 +3344,27 @@ var qi = class {
3320
3344
  };
3321
3345
  //#endregion
3322
3346
  //#region src/lib/codeSamples/buildRequest.ts
3323
- function Ji(e, t, n) {
3347
+ function Yi(e, t, n) {
3324
3348
  let r = new Set(t.map((e) => e.name));
3325
3349
  for (let [t, i] of Object.entries(e)) r.has(t) && (i === void 0 || i === "" || n(t, String(i)));
3326
3350
  }
3327
- function Yi(e, t, n = "") {
3351
+ function Xi(e, t, n = "") {
3328
3352
  let r = n;
3329
- return Ji(e, t, (e, t) => {
3353
+ return Yi(e, t, (e, t) => {
3330
3354
  r = r.replace(`{${e}}`, t);
3331
3355
  }), r;
3332
3356
  }
3333
- function Xi(e, t, n, r) {
3357
+ function Zi(e, t, n, r) {
3334
3358
  let i = new Headers();
3335
3359
  if (e) if (e instanceof Headers) for (let [t, n] of e.entries()) i.set(t.toLowerCase(), n);
3336
3360
  else for (let [t, n] of Object.entries(e)) i.set(t.toLowerCase(), n);
3337
- return Ji(t, n, (e, t) => {
3361
+ return Yi(t, n, (e, t) => {
3338
3362
  i.set(e.toLowerCase(), t);
3339
- }), Zi(r).forEach((e, t) => {
3363
+ }), Qi(r).forEach((e, t) => {
3340
3364
  i.set(t.toLowerCase(), e);
3341
3365
  }), Object.fromEntries(i);
3342
3366
  }
3343
- function Zi(e) {
3367
+ function Qi(e) {
3344
3368
  let t = new Headers();
3345
3369
  if (!e) return t;
3346
3370
  let n = Array.isArray(e) ? e : [e];
@@ -3372,16 +3396,16 @@ function Zi(e) {
3372
3396
  }
3373
3397
  return t;
3374
3398
  }
3375
- function Qi(e, t) {
3399
+ function $i(e, t) {
3376
3400
  let n = {};
3377
3401
  return Object.entries(t).forEach(([t, r]) => {
3378
3402
  if (typeof r == "object" && r && !Array.isArray(r)) {
3379
- let i = Qi(`${e}[${t}]`, r);
3403
+ let i = $i(`${e}[${t}]`, r);
3380
3404
  Object.assign(n, i);
3381
3405
  } else Array.isArray(r) ? r.some((e) => typeof e == "object" && !!e) ? n[`${e}[${t}]`] = JSON.stringify(r) : n[`${e}[${t}]`] = r.join(",") : typeof r == "object" && r ? n[`${e}[${t}]`] = JSON.stringify(r) : n[`${e}[${t}]`] = String(r);
3382
3406
  }), n;
3383
3407
  }
3384
- function $i(e, t, n = "form", r = !0) {
3408
+ function ea(e, t, n = "form", r = !0) {
3385
3409
  if (t == null || t === "") return {};
3386
3410
  if (Array.isArray(t)) {
3387
3411
  let i = t.map((e) => Array.isArray(e) || typeof e == "object" && e ? JSON.stringify(e) : String(e));
@@ -3389,7 +3413,7 @@ function $i(e, t, n = "form", r = !0) {
3389
3413
  }
3390
3414
  if (typeof t == "object") {
3391
3415
  if (n === "deepObject") {
3392
- if (r) return Qi(e, t);
3416
+ if (r) return $i(e, t);
3393
3417
  {
3394
3418
  let n = Object.entries(t).map(([e, t]) => `${e},${t}`).join(",");
3395
3419
  return { [e]: n };
@@ -3409,27 +3433,27 @@ function $i(e, t, n = "form", r = !0) {
3409
3433
  }
3410
3434
  return { [e]: String(t) };
3411
3435
  }
3412
- function ea(e, t) {
3436
+ function ta(e, t) {
3413
3437
  let n = {};
3414
3438
  return t.forEach((t) => {
3415
3439
  var r;
3416
3440
  if (!t.name) return;
3417
3441
  let i = e[t.name];
3418
3442
  if (i === void 0 || i === "") return;
3419
- let a = t.style || "form", o = (r = t.explode) == null ? !0 : r, s = $i(t.name, i, a, o);
3443
+ let a = t.style || "form", o = (r = t.explode) == null ? !0 : r, s = ea(t.name, i, a, o);
3420
3444
  n = {
3421
3445
  ...n,
3422
3446
  ...s
3423
3447
  };
3424
3448
  }), n;
3425
3449
  }
3426
- function ta(e, t) {
3450
+ function na(e, t) {
3427
3451
  let n = {};
3428
- return Ji(e, t, (e, t) => {
3452
+ return Yi(e, t, (e, t) => {
3429
3453
  n[e] = t;
3430
3454
  }), n;
3431
3455
  }
3432
- function na(e) {
3456
+ function ra(e) {
3433
3457
  let t = {};
3434
3458
  if (!e) return t;
3435
3459
  let n = Array.isArray(e) ? e : [e];
@@ -3443,7 +3467,7 @@ function na(e) {
3443
3467
  }
3444
3468
  return t;
3445
3469
  }
3446
- function ra(e) {
3470
+ function ia(e) {
3447
3471
  let t = {};
3448
3472
  if (!e) return t;
3449
3473
  let n = Array.isArray(e) ? e : [e];
@@ -3457,25 +3481,25 @@ function ra(e) {
3457
3481
  }
3458
3482
  return t;
3459
3483
  }
3460
- function ia(e, t) {
3484
+ function aa(e, t) {
3461
3485
  return e.forEach((e) => {
3462
3486
  if (!e.name || t[e.name] !== void 0) return;
3463
- let n = Gi(e);
3487
+ let n = Ki(e);
3464
3488
  n != null && (typeof n == "object" && n ? t[e.name] = JSON.stringify(n) : t[e.name] = String(n));
3465
3489
  }), t;
3466
3490
  }
3467
- function aa({ url: e = void 0, path: t, method: n = "GET", baseUrl: r, parameters: i = [], authorizations: a = [], body: o = void 0, headers: s = void 0, variables: c = {}, cookies: l = {}, contentType: u = void 0 }) {
3468
- let d = ia(i, c), f = i.filter((e) => e.in === "path"), p = i.filter((e) => e.in === "query"), m = i.filter((e) => e.in === "header"), h = i.filter((e) => e.in === "cookie"), g = Yi(d, f, t), _ = (n == null ? void 0 : n.toUpperCase()) || "GET", v = {
3469
- ...ea(d, p),
3470
- ...na(a)
3471
- }, y = Xi(s, d, m, a), b = {
3472
- ...l || {},
3473
- ...ta(d, h),
3491
+ function oa({ url: e = void 0, path: t, method: n = "GET", baseUrl: r, parameters: i = [], authorizations: a = [], body: o = void 0, headers: s = void 0, variables: c = {}, cookies: l = {}, contentType: u = void 0 }) {
3492
+ let d = aa(i, c), f = i.filter((e) => e.in === "path"), p = i.filter((e) => e.in === "query"), m = i.filter((e) => e.in === "header"), h = i.filter((e) => e.in === "cookie"), g = Xi(d, f, t), _ = (n == null ? void 0 : n.toUpperCase()) || "GET", v = {
3493
+ ...ta(d, p),
3474
3494
  ...ra(a)
3495
+ }, y = Zi(s, d, m, a), b = {
3496
+ ...l || {},
3497
+ ...na(d, h),
3498
+ ...ia(a)
3475
3499
  };
3476
- r = r ? Ki(r) : ya;
3500
+ r = r ? qi(r) : ba;
3477
3501
  let x = e ? new URL(e) : r ? new URL(`${r}${g}`) : new URL(g, "http://localhost");
3478
- return u && !(o instanceof FormData) ? y["content-type"] = u : o && !y["content-type"] && !(o instanceof FormData) && (y["content-type"] = "application/json"), new qi({
3502
+ return u && !(o instanceof FormData) ? y["content-type"] = u : o && !y["content-type"] && !(o instanceof FormData) && (y["content-type"] = "application/json"), new Ji({
3479
3503
  path: g,
3480
3504
  url: x,
3481
3505
  method: _,
@@ -3498,8 +3522,8 @@ function aa({ url: e = void 0, path: t, method: n = "GET", baseUrl: r, parameter
3498
3522
  }
3499
3523
  //#endregion
3500
3524
  //#region src/lib/codeSamples/generateCodeSample.ts
3501
- async function oa(e, t) {
3502
- let n = Vi(t instanceof qi ? t : aa(t)), { lang: r, target: i, client: a } = e;
3525
+ async function sa(e, t) {
3526
+ let n = Hi(t instanceof Ji ? t : oa(t)), { lang: r, target: i, client: a } = e;
3503
3527
  if (!i) return console.error(`Language "${r}" has missing property "target" in availableLanguages`), "";
3504
3528
  if (!a) return console.error(`Language "${r}" has missing property "client" in availableLanguages`), "";
3505
3529
  try {
@@ -3511,27 +3535,27 @@ async function oa(e, t) {
3511
3535
  }
3512
3536
  //#endregion
3513
3537
  //#region src/lib/utils/deepUnref.ts
3514
- var sa = (e) => typeof e == "object" && !!e, ca = Array.isArray;
3515
- function la(e) {
3516
- let t = s(e) ? v(e) : e;
3517
- return sa(t) ? ca(t) ? da(t) : fa(t) : t;
3518
- }
3538
+ var ca = (e) => typeof e == "object" && !!e, la = Array.isArray;
3519
3539
  function ua(e) {
3520
- return e !== null && !s(e) && typeof e == "object" ? la(e) : v(e);
3540
+ let t = s(e) ? v(e) : e;
3541
+ return ca(t) ? la(t) ? fa(t) : pa(t) : t;
3521
3542
  }
3522
3543
  function da(e) {
3523
- return e.map((e) => ua(e));
3544
+ return e !== null && !s(e) && typeof e == "object" ? ua(e) : v(e);
3524
3545
  }
3525
3546
  function fa(e) {
3547
+ return e.map((e) => da(e));
3548
+ }
3549
+ function pa(e) {
3526
3550
  let t = {};
3527
3551
  return Object.keys(e).forEach((n) => {
3528
3552
  let r = n;
3529
- t[r] = ua(e[r]);
3553
+ t[r] = da(e[r]);
3530
3554
  }), t;
3531
3555
  }
3532
3556
  //#endregion
3533
3557
  //#region src/locales/index.ts
3534
- var pa = {
3558
+ var ma = {
3535
3559
  en: {
3536
3560
  Response: "Response",
3537
3561
  Responses: "Responses",
@@ -3947,7 +3971,7 @@ var pa = {
3947
3971
  "Add Field": "添加字段",
3948
3972
  "Click to set in playground": "点击在 Playground 中设置"
3949
3973
  }
3950
- }, ma, ha, ga, _a;
3974
+ }, ha, ga, _a, va;
3951
3975
  function R(e, t) {
3952
3976
  return e[t] || (e[t] = {}), e[t];
3953
3977
  }
@@ -3960,7 +3984,7 @@ function B(e, t, n, r) {
3960
3984
  for (let e of t) i = R(i, e);
3961
3985
  return i[n] ? r !== void 0 && (i[n].value = r) : i[n] = p(r), i[n];
3962
3986
  }
3963
- var va = [
3987
+ var ya = [
3964
3988
  "header",
3965
3989
  "path",
3966
3990
  "description",
@@ -3972,7 +3996,7 @@ var va = [
3972
3996
  "code-samples",
3973
3997
  "branding",
3974
3998
  "footer"
3975
- ], ya = "http://localhost", ba = "--oa", xa = [
3999
+ ], ba = "http://localhost", xa = "--oa", Sa = [
3976
4000
  {
3977
4001
  lang: "curl",
3978
4002
  label: "cURL",
@@ -4005,7 +4029,7 @@ var va = [
4005
4029
  highlighter: "python",
4006
4030
  icon: ".py"
4007
4031
  }
4008
- ], Sa = "/operations/", V = {
4032
+ ], Ca = "/operations/", V = {
4009
4033
  theme: { highlighterTheme: {
4010
4034
  light: ce,
4011
4035
  dark: se
@@ -4045,16 +4069,16 @@ var va = [
4045
4069
  security: { defaultScheme: null },
4046
4070
  operation: {
4047
4071
  badges: ["deprecated"],
4048
- slots: va,
4072
+ slots: ya,
4049
4073
  hiddenSlots: [],
4050
4074
  cols: 2,
4051
- defaultBaseUrl: ya,
4075
+ defaultBaseUrl: ba,
4052
4076
  getServers: null
4053
4077
  },
4054
4078
  i18n: {
4055
4079
  locale: "en",
4056
4080
  fallbackLocale: "en",
4057
- messages: pa,
4081
+ messages: ma,
4058
4082
  availableLocales: [
4059
4083
  {
4060
4084
  code: "en",
@@ -4091,24 +4115,24 @@ var va = [
4091
4115
  },
4092
4116
  codeSamples: {
4093
4117
  defaultLang: "curl",
4094
- availableLanguages: xa,
4095
- generator: (e, t) => oa(e, t),
4118
+ availableLanguages: Sa,
4119
+ generator: (e, t) => sa(e, t),
4096
4120
  defaultHeaders: {}
4097
4121
  },
4098
4122
  linksPrefixes: {
4099
4123
  tags: "/tags/",
4100
- operations: Sa
4124
+ operations: Ca
4101
4125
  },
4102
4126
  server: {
4103
4127
  allowCustomServer: !1,
4104
4128
  getServers: null
4105
4129
  },
4106
4130
  storage: {
4107
- prefix: ba,
4131
+ prefix: xa,
4108
4132
  persistAuth: !0
4109
4133
  },
4110
4134
  markdown: {
4111
- operationLink: { linkPrefix: Sa },
4135
+ operationLink: { linkPrefix: Ca },
4112
4136
  externalLinksNewTab: !1,
4113
4137
  config: void 0
4114
4138
  }
@@ -4138,8 +4162,8 @@ var va = [
4138
4162
  statusBar: p(V.playground.jsonEditor.statusBar)
4139
4163
  },
4140
4164
  examples: {
4141
- behavior: p((ma = (ha = V.playground.examples) == null ? void 0 : ha.behavior) == null ? "value" : ma),
4142
- playgroundExampleBehavior: p((ga = (_a = V.playground.examples) == null ? void 0 : _a.playgroundExampleBehavior) == null ? "value" : ga)
4165
+ behavior: p((ha = (ga = V.playground.examples) == null ? void 0 : ga.behavior) == null ? "value" : ha),
4166
+ playgroundExampleBehavior: p((_a = (va = V.playground.examples) == null ? void 0 : va.playgroundExampleBehavior) == null ? "value" : _a)
4143
4167
  }
4144
4168
  },
4145
4169
  security: { defaultScheme: p(V.security.defaultScheme) },
@@ -4191,8 +4215,8 @@ var va = [
4191
4215
  externalLinksNewTab: V.markdown.externalLinksNewTab,
4192
4216
  config: V.markdown.config
4193
4217
  }
4194
- }, Ca = at({ storageKey: "vitepress-theme-appearance" });
4195
- function wa(e = {}) {
4218
+ }, wa = at({ storageKey: "vitepress-theme-appearance" });
4219
+ function Ta(e = {}) {
4196
4220
  t(e);
4197
4221
  function t(e) {
4198
4222
  var t, n, r, i, a, o, c, l, u, d, f, p, m, h, g, _, v, y, x, S, C, w;
@@ -4202,7 +4226,7 @@ function wa(e = {}) {
4202
4226
  t(V);
4203
4227
  }
4204
4228
  function r() {
4205
- return la(H);
4229
+ return ua(H);
4206
4230
  }
4207
4231
  function i() {
4208
4232
  var e;
@@ -4486,7 +4510,7 @@ function wa(e = {}) {
4486
4510
  }
4487
4511
  function Je() {
4488
4512
  var e, t;
4489
- return (e = H == null || (t = H.storage) == null ? void 0 : t.prefix) == null ? ba : e;
4513
+ return (e = H == null || (t = H.storage) == null ? void 0 : t.prefix) == null ? xa : e;
4490
4514
  }
4491
4515
  function Ye(e) {
4492
4516
  let t = R(H, "storage");
@@ -4497,7 +4521,7 @@ function wa(e = {}) {
4497
4521
  return (e = H == null || (t = H.storage) == null ? void 0 : t.persistAuth) == null ? !0 : e;
4498
4522
  }
4499
4523
  return {
4500
- isDark: Ca,
4524
+ isDark: wa,
4501
4525
  schemaConfig: H.requestBody,
4502
4526
  reset: n,
4503
4527
  getState: r,
@@ -4578,23 +4602,23 @@ function wa(e = {}) {
4578
4602
  }
4579
4603
  //#endregion
4580
4604
  //#region node_modules/.pnpm/@tszen+trycatch@0.1.0/node_modules/@tszen/trycatch/dist/trycatch.js
4581
- function Ta(e) {
4582
- if (e instanceof Promise) return e.then(Ea).catch(Da);
4605
+ function Ea(e) {
4606
+ if (e instanceof Promise) return e.then(Da).catch(Oa);
4583
4607
  try {
4584
4608
  let t = e();
4585
- return t instanceof Promise ? t.then(Ea).catch(Da) : Ea(t);
4609
+ return t instanceof Promise ? t.then(Da).catch(Oa) : Da(t);
4586
4610
  } catch (e) {
4587
- return Da(e);
4611
+ return Oa(e);
4588
4612
  }
4589
4613
  }
4590
- var Ea = (e) => [e, null], Da = (e) => [null, new Oa(e)], Oa = class e extends Error {
4614
+ var Da = (e) => [e, null], Oa = (e) => [null, new ka(e)], ka = class e extends Error {
4591
4615
  constructor(t) {
4592
4616
  super("thrown error", { cause: t }), this.cause = t, Error.captureStackTrace && Error.captureStackTrace(this, e);
4593
4617
  }
4594
4618
  };
4595
4619
  //#endregion
4596
4620
  //#region node_modules/.pnpm/allof-merge@0.6.8/node_modules/allof-merge/dist/index.mjs
4597
- function ka(e, t) {
4621
+ function Aa(e, t) {
4598
4622
  var n = {};
4599
4623
  for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4600
4624
  if (e != null && typeof Object.getOwnPropertySymbols == "function") {
@@ -4603,7 +4627,7 @@ function ka(e, t) {
4603
4627
  }
4604
4628
  return n;
4605
4629
  }
4606
- function Aa(e, t) {
4630
+ function ja(e, t) {
4607
4631
  var n = {};
4608
4632
  for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4609
4633
  if (e != null && typeof Object.getOwnPropertySymbols == "function") {
@@ -4612,7 +4636,7 @@ function Aa(e, t) {
4612
4636
  }
4613
4637
  return n;
4614
4638
  }
4615
- var ja = (e = {}, t, n, r) => {
4639
+ var Ma = (e = {}, t, n, r) => {
4616
4640
  let i = `/${t}`, a = typeof e["/**"] == "function" ? e["/**"]({
4617
4641
  key: t,
4618
4642
  path: n,
@@ -4629,20 +4653,20 @@ var ja = (e = {}, t, n, r) => {
4629
4653
  path: n,
4630
4654
  value: r
4631
4655
  }) : s, o && (s = Object.assign(Object.assign({}, o), s)), a ? Object.assign(Object.assign({ "/**": e["/**"] }, a), s) : s;
4632
- }, Ma = (e) => {
4656
+ }, Na = (e) => {
4633
4657
  let t = {}, n = e.reduce(((e, t) => (Object.keys(t).forEach(((t) => e.add(t))), e)), /* @__PURE__ */ new Set());
4634
4658
  for (let r of n.keys()) {
4635
4659
  let n = e.filter(((e) => r in e));
4636
4660
  if (n.length !== 1) {
4637
4661
  if (r.charAt(0) !== "/") throw Error(`Cannot merge rules. Duplicate key: ${r}. Rules should not have same Rule key`);
4638
- t[r] = (e, t) => Ma(n.map(((n) => typeof n[r] == "function" ? n[r](e, t) : n[r])));
4662
+ t[r] = (e, t) => Na(n.map(((n) => typeof n[r] == "function" ? n[r](e, t) : n[r])));
4639
4663
  } else t[r] = n[0][r];
4640
4664
  }
4641
4665
  return t;
4642
- }, Na = (e) => typeof e == "object" && !!e, Pa = (e) => Array.isArray(e), Fa = (e, t, n = {}) => {
4666
+ }, Pa = (e) => typeof e == "object" && !!e, Fa = (e) => Array.isArray(e), Ia = (e, t, n = {}) => {
4643
4667
  var r, i;
4644
- t = Pa(t) ? t : [t];
4645
- let a = Pa(n.rules) ? Ma(n.rules) : n.rules, o = [{
4668
+ t = Fa(t) ? t : [t];
4669
+ let a = Fa(n.rules) ? Na(n.rules) : n.rules, o = [{
4646
4670
  data: e,
4647
4671
  state: n.state,
4648
4672
  path: [],
@@ -4660,7 +4684,7 @@ var ja = (e = {}, t, n, r) => {
4660
4684
  let n = e.keys[e.keyIndex++], [s, c, l] = o.length > 1 ? [
4661
4685
  e.data[n],
4662
4686
  [...e.path, n],
4663
- ja(e.rules, n, [...e.path, n], e.data[n])
4687
+ Ma(e.rules, n, [...e.path, n], e.data[n])
4664
4688
  ] : [
4665
4689
  e.data,
4666
4690
  e.path,
@@ -4674,7 +4698,7 @@ var ja = (e = {}, t, n, r) => {
4674
4698
  }, d = [];
4675
4699
  for (let e of t) {
4676
4700
  if (!e || typeof e != "function") continue;
4677
- let t = (i = e(u)) == null ? {} : i, { terminate: n, done: r, exitHook: a } = t, o = Aa(t, [
4701
+ let t = (i = e(u)) == null ? {} : i, { terminate: n, done: r, exitHook: a } = t, o = ja(t, [
4678
4702
  "terminate",
4679
4703
  "done",
4680
4704
  "exitHook"
@@ -4685,8 +4709,8 @@ var ja = (e = {}, t, n, r) => {
4685
4709
  break;
4686
4710
  }
4687
4711
  }
4688
- if (u && Na(u.value)) {
4689
- let e = Pa(u.value) ? [...u.value.keys()] : Object.keys(u.value);
4712
+ if (u && Pa(u.value)) {
4713
+ let e = Fa(u.value) ? [...u.value.keys()] : Object.keys(u.value);
4690
4714
  o.push({
4691
4715
  hooks: d,
4692
4716
  state: u.state,
@@ -4698,12 +4722,12 @@ var ja = (e = {}, t, n, r) => {
4698
4722
  });
4699
4723
  } else for (; d.length;) d.pop()();
4700
4724
  }
4701
- }, Ia = () => {
4725
+ }, La = () => {
4702
4726
  let e = /* @__PURE__ */ new WeakMap(), t;
4703
4727
  return [({ value: e }) => {
4704
4728
  t = e;
4705
4729
  }, ({ value: n, path: r, key: i, state: a }) => {
4706
- if (i = r.length ? i : "#", Na(t) && Na(n)) {
4730
+ if (i = r.length ? i : "#", Pa(t) && Pa(n)) {
4707
4731
  if (e.has(t)) return a.node[i] = e.get(t), { done: !0 };
4708
4732
  let r = Array.isArray(n) ? [] : {};
4709
4733
  a.node[i] = r, e.set(t, r);
@@ -4713,71 +4737,71 @@ var ja = (e = {}, t, n, r) => {
4713
4737
  state: Object.assign(Object.assign({}, a), { node: a.node[i] })
4714
4738
  };
4715
4739
  }];
4716
- }, La = class extends Map {
4740
+ }, Ra = class extends Map {
4717
4741
  add(e, t) {
4718
4742
  let n = this.get(e);
4719
4743
  return n ? n.push(t) : this.set(e, [t]), this;
4720
4744
  }
4721
- }, Ra = (e, t) => {
4745
+ }, za = (e, t) => {
4722
4746
  let n = {};
4723
4747
  for (let r of t) r in e && (n[r] = e[r], delete e[r]);
4724
4748
  return n;
4725
- }, za = (e, t) => {
4749
+ }, Ba = (e, t) => {
4726
4750
  if (Array.isArray(e) && Array.isArray(t)) return [...e, ...t];
4727
- if (Na(e) && Na(t)) {
4751
+ if (Pa(e) && Pa(t)) {
4728
4752
  let n = Object.assign({}, e);
4729
- for (let e of Object.keys(t)) n[e] = za(n[e], t[e]);
4753
+ for (let e of Object.keys(t)) n[e] = Ba(n[e], t[e]);
4730
4754
  return n;
4731
4755
  }
4732
4756
  return t;
4733
- }, Ba = (e) => e && e.$ref && typeof e.$ref == "string", Va = (e) => e && e.anyOf && Array.isArray(e.anyOf), Ha = (e) => e && e.oneOf && Array.isArray(e.oneOf), Ua = (e, t = "") => {
4757
+ }, Va = (e) => e && e.$ref && typeof e.$ref == "string", Ha = (e) => e && e.anyOf && Array.isArray(e.anyOf), Ua = (e) => e && e.oneOf && Array.isArray(e.oneOf), Wa = (e, t = "") => {
4734
4758
  let [n = t, r] = e.split("#"), i = r && r !== "/" ? r : "";
4735
4759
  return {
4736
4760
  filePath: n,
4737
4761
  pointer: i,
4738
- normalized: Wa(n, i),
4739
- jsonPath: qa(i)
4762
+ normalized: Ga(n, i),
4763
+ jsonPath: Ja(i)
4740
4764
  };
4741
- }, Wa = (e, t) => e ? `${e}${t ? "#" + t : ""}` : t ? `#${t}` : "#", Ga = (e, t, n = [t]) => {
4742
- if (!Na(e)) return;
4743
- let r = e, i = qa(t);
4765
+ }, Ga = (e, t) => e ? `${e}${t ? "#" + t : ""}` : t ? `#${t}` : "#", Ka = (e, t, n = [t]) => {
4766
+ if (!Pa(e)) return;
4767
+ let r = e, i = Ja(t);
4744
4768
  for (let t of i) if (Array.isArray(r) && r.length > +t) r = r[+t];
4745
- else if (Na(r) && t in r) r = r[t];
4769
+ else if (Pa(r) && t in r) r = r[t];
4746
4770
  else {
4747
- if (!Ba(r)) return;
4771
+ if (!Va(r)) return;
4748
4772
  {
4749
- let t = Ua(r.$ref);
4750
- r = t.filePath || n.includes(t.pointer) ? void 0 : Ga(e, t.pointer, [...n, t.pointer]);
4773
+ let t = Wa(r.$ref);
4774
+ r = t.filePath || n.includes(t.pointer) ? void 0 : Ka(e, t.pointer, [...n, t.pointer]);
4751
4775
  }
4752
4776
  }
4753
4777
  return r;
4754
- }, Ka = {
4778
+ }, qa = {
4755
4779
  slash: /\//g,
4756
4780
  tilde: /~/g,
4757
4781
  escapedSlash: /~1/g,
4758
4782
  escapedTilde: /~0/g
4759
- }, qa = (e) => e.split("/").map(((e) => decodeURIComponent(e.replace(Ka.escapedSlash, "/").replace(Ka.escapedTilde, "~")))).slice(1), Ja = (e) => e.length ? "/" + e.map(((e) => encodeURIComponent(String(e).replace(Ka.tilde, "~0").replace(Ka.slash, "~1")))).join("/") : "", Ya = (e, t) => JSON.stringify(e) == JSON.stringify(t), Xa = (e) => {
4783
+ }, Ja = (e) => e.split("/").map(((e) => decodeURIComponent(e.replace(qa.escapedSlash, "/").replace(qa.escapedTilde, "~")))).slice(1), Ya = (e) => e.length ? "/" + e.map(((e) => encodeURIComponent(String(e).replace(qa.tilde, "~0").replace(qa.slash, "~1")))).join("/") : "", Xa = (e, t) => JSON.stringify(e) == JSON.stringify(t), Za = (e) => {
4760
4784
  let t = 1;
4761
4785
  for (; e * t % 1 != 0;) t *= 10;
4762
4786
  return t;
4763
4787
  };
4764
- function Za(e) {
4765
- let t = e.reduce(((e, t) => Math.max(e, Xa(t))), 0);
4766
- return e.reduce(((e, n) => Math.round(e * t * n * t / Qa(e * t, n * t)) / t));
4788
+ function Qa(e) {
4789
+ let t = e.reduce(((e, t) => Math.max(e, Za(t))), 0);
4790
+ return e.reduce(((e, n) => Math.round(e * t * n * t / $a(e * t, n * t)) / t));
4767
4791
  }
4768
- function Qa(e, t) {
4769
- return t === 0 ? e : Qa(t, e % t);
4792
+ function $a(e, t) {
4793
+ return t === 0 ? e : $a(t, e % t);
4770
4794
  }
4771
- var $a = (e) => {
4795
+ var eo = (e) => {
4772
4796
  if (e.length === 0) return [[]];
4773
- let t = e[0], n = $a(e.slice(1)), r = [];
4797
+ let t = e[0], n = eo(e.slice(1)), r = [];
4774
4798
  for (let e of t) for (let t of n) r.push([e, ...t]);
4775
4799
  return r;
4776
- }, eo = (e) => {
4800
+ }, to = (e) => {
4777
4801
  let t = [];
4778
4802
  for (let n of e) {
4779
4803
  if (!("properties" in n)) continue;
4780
- let r = new Set(Object.keys(n.properties)), i = new La();
4804
+ let r = new Set(Object.keys(n.properties)), i = new Ra();
4781
4805
  for (let t of r.values()) for (let a of e) if (!(a == n || a.properties && t in a.properties)) if ("patternProperties" in a && a.patternProperties) for (let e of Object.keys(a.patternProperties)) new RegExp(e).test(t) || r.delete(t);
4782
4806
  else "additionalProperties" in a && (!1 === a.additionalProperties ? r.delete(t) : typeof a.additionalProperties == "object" && i.add(t, a.additionalProperties));
4783
4807
  if (!r.size) continue;
@@ -4786,7 +4810,7 @@ var $a = (e) => {
4786
4810
  t.push(a);
4787
4811
  }
4788
4812
  return t;
4789
- }, to = (e) => {
4813
+ }, no = (e) => {
4790
4814
  let t = [];
4791
4815
  for (let n of e) {
4792
4816
  if (!("patternProperties" in n)) continue;
@@ -4798,49 +4822,49 @@ var $a = (e) => {
4798
4822
  t.push(i);
4799
4823
  }
4800
4824
  return t;
4801
- }, no = (e) => {
4802
- let t = {}, n = oo(e);
4825
+ }, ro = (e) => {
4826
+ let t = {}, n = so(e);
4803
4827
  for (let [e, r] of Object.entries(n)) r.includes(!1) ? t[e] = !1 : t[e] = r.length > 1 ? { allOf: r } : r[0];
4804
4828
  return t;
4805
- }, ro = (e, t) => !!e.reduce(((e, t) => e && !0 === t), !0) || so(e, t), io = () => "Could not merge values, they are probably incompatible", ao = (e) => `Merge rule not found for key: ${e}`, oo = (e) => {
4829
+ }, io = (e, t) => !!e.reduce(((e, t) => e && !0 === t), !0) || co(e, t), ao = () => "Could not merge values, they are probably incompatible", oo = (e) => `Merge rule not found for key: ${e}`, so = (e) => {
4806
4830
  let t = {};
4807
4831
  for (let n of e) for (let e of Object.keys(n)) Array.isArray(t[e]) ? t[e].push(n[e]) : t[e] = [n[e]];
4808
4832
  return t;
4809
- }, so = (e, t) => {
4833
+ }, co = (e, t) => {
4810
4834
  if (e.includes(!1)) return !1;
4811
- let n = {}, r = oo(e);
4812
- "properties" in r && (r.properties = eo(e)), "patternProperties" in r && (r.patternProperties = to(e));
4835
+ let n = {}, r = so(e);
4836
+ "properties" in r && (r.properties = to(e)), "patternProperties" in r && (r.patternProperties = no(e));
4813
4837
  for (let [i, a] of Object.entries(r)) {
4814
4838
  if (!a.length) continue;
4815
4839
  let r = t.mergeRules, o = `/${i}` in r ? r[`/${i}`] : r["/?"];
4816
4840
  o = o && !("$" in o) && "/" in o ? o["/"] : o, o = typeof o == "function" ? o() : o;
4817
4841
  let s = o && "$" in o ? o.$ : void 0;
4818
- if (!s) throw Error(ao(i));
4842
+ if (!s) throw Error(oo(i));
4819
4843
  let c = a.length > 1 ? s(a, Object.assign(Object.assign({}, t), { allOfItems: e })) : a[0];
4820
4844
  c === void 0 ? t.mergeError(a) : n[i] = c;
4821
4845
  }
4822
4846
  return Object.keys(n).length ? n : void 0;
4823
- }, U = (e) => e[e.length - 1], co = (e) => e.reduce(((e, t) => e || t), !1), lo = (e) => Math.min(...e), uo = (e) => Math.max(...e), fo = (e) => e.length > 1 ? e.reduce(((e, t) => `${e}(?=${t})`), "") : e[0], po = ([e, ...t]) => t.reduce(((e, t) => e.filter(((e) => t.includes(e)))), e), mo = ([e, ...t]) => t.find(((t) => !Ya(t, e))) ? void 0 : e, W = ([e, ...t]) => t.reduce(((e, t) => za(e, t)), e), ho = (e) => $a(e).map(((e) => ({ allOf: e }))), go = (e) => ({ anyOf: e }), _o = (e) => Za(e), vo = (e, t) => {
4824
- let n = po(e.map(((e) => e.map(((e) => JSON.stringify(e)))))).map(((e) => JSON.parse(e))).sort();
4847
+ }, U = (e) => e[e.length - 1], lo = (e) => e.reduce(((e, t) => e || t), !1), uo = (e) => Math.min(...e), fo = (e) => Math.max(...e), po = (e) => e.length > 1 ? e.reduce(((e, t) => `${e}(?=${t})`), "") : e[0], mo = ([e, ...t]) => t.reduce(((e, t) => e.filter(((e) => t.includes(e)))), e), ho = ([e, ...t]) => t.find(((t) => !Xa(t, e))) ? void 0 : e, W = ([e, ...t]) => t.reduce(((e, t) => Ba(e, t)), e), go = (e) => eo(e).map(((e) => ({ allOf: e }))), _o = (e) => ({ anyOf: e }), vo = (e) => Qa(e), yo = (e, t) => {
4848
+ let n = mo(e.map(((e) => e.map(((e) => JSON.stringify(e)))))).map(((e) => JSON.parse(e))).sort();
4825
4849
  return n.length || t.mergeError(e), n;
4826
- }, yo = (e, t) => {
4827
- let n = po(e.map(((e) => Array.isArray(e) ? e : [e])));
4850
+ }, bo = (e, t) => {
4851
+ let n = mo(e.map(((e) => Array.isArray(e) ? e : [e])));
4828
4852
  return n.length === 1 ? n[0] : n.length ? n : void 0;
4829
- }, bo = (e) => {
4853
+ }, xo = (e) => {
4830
4854
  let t = /* @__PURE__ */ new Set();
4831
4855
  for (let n of e) for (let e of n) t.add(e);
4832
4856
  return Array.from(t).sort();
4833
- }, xo = (e, t) => {
4834
- let n = {}, r = oo(e);
4835
- for (let [e, t] of Object.entries(r)) if (t.reduce(((e, t) => e && Array.isArray(t)), !0)) n[e] = bo(t);
4857
+ }, So = (e, t) => {
4858
+ let n = {}, r = so(e);
4859
+ for (let [e, t] of Object.entries(r)) if (t.reduce(((e, t) => e && Array.isArray(t)), !0)) n[e] = xo(t);
4836
4860
  else {
4837
4861
  let r = t.map(((e) => Array.isArray(e) ? { required: e } : e));
4838
4862
  n[e] = r.length > 1 ? { allOf: r } : r[0];
4839
4863
  }
4840
4864
  return n;
4841
- }, So = (e, t) => {
4842
- if (!e.reduce(((e, t) => Array.isArray(t) || e), !1)) return so(e, t);
4843
- let n = [], r = Infinity, i = 0, a = new La();
4865
+ }, Co = (e, t) => {
4866
+ if (!e.reduce(((e, t) => Array.isArray(t) || e), !1)) return co(e, t);
4867
+ let n = [], r = Infinity, i = 0, a = new Ra();
4844
4868
  for (let e of t.allOfItems) "additionalItems" in e && e.additionalItems && "items" in e && Array.isArray(e.items) && a.add(e.items.length, e.additionalItems), "items" in e && (n.push(e.items), Array.isArray(e.items) && (i = Math.max(i, e.items.length), "additionalItems" in e && !1 === e.additionalItems && (r = Math.min(r, e.items.length))));
4845
4869
  let o = Math.min(i, r), s = [...Array(o)].map((() => ({ allOf: [] })));
4846
4870
  for (let e of n) if (Array.isArray(e)) for (let t = 0; t < o; t++) {
@@ -4850,34 +4874,34 @@ var $a = (e) => {
4850
4874
  }
4851
4875
  else s.forEach((({ allOf: t }) => t.push(e)));
4852
4876
  return s;
4853
- }, Co = (e, t) => {
4877
+ }, wo = (e, t) => {
4854
4878
  let n = [], r = [];
4855
4879
  for (let e of t.allOfItems) "items" in e && !Array.isArray(e.items) && r.push(e.items), "additionalItems" in e && "items" in e && Array.isArray(e.items) && n.push(e.additionalItems);
4856
- return r.length && n.forEach(((e) => e.allOf = r)), so(n, t);
4880
+ return r.length && n.forEach(((e) => e.allOf = r)), co(n, t);
4857
4881
  }, G = (e = "draft-06", t = {}) => Object.assign(Object.assign(Object.assign(Object.assign({
4858
- "/maximum": { $: lo },
4859
- "/exclusiveMaximum": { $: co },
4860
- "/minimum": { $: uo },
4861
- "/exclusiveMinimum": { $: co },
4862
- "/maxLength": { $: lo },
4863
- "/minLength": { $: uo },
4864
- "/maxItems": { $: lo },
4865
- "/minItems": { $: uo },
4866
- "/uniqueItems": { $: co },
4867
- "/maxProperties": { $: lo },
4868
- "/minProperties": { $: uo },
4869
- "/required": { $: bo },
4870
- "/multipleOf": { $: _o },
4871
- "/enum": { $: vo },
4872
- "/type": { $: yo },
4882
+ "/maximum": { $: uo },
4883
+ "/exclusiveMaximum": { $: lo },
4884
+ "/minimum": { $: fo },
4885
+ "/exclusiveMinimum": { $: lo },
4886
+ "/maxLength": { $: uo },
4887
+ "/minLength": { $: fo },
4888
+ "/maxItems": { $: uo },
4889
+ "/minItems": { $: fo },
4890
+ "/uniqueItems": { $: lo },
4891
+ "/maxProperties": { $: uo },
4892
+ "/minProperties": { $: fo },
4893
+ "/required": { $: xo },
4894
+ "/multipleOf": { $: vo },
4895
+ "/enum": { $: yo },
4896
+ "/type": { $: bo },
4873
4897
  "/allOf": {
4874
4898
  "/*": () => G(e, t),
4875
- $: ho
4899
+ $: go
4876
4900
  },
4877
- "/not": { $: go },
4901
+ "/not": { $: _o },
4878
4902
  "/oneOf": {
4879
4903
  "/*": () => G(e, t),
4880
- $: ho,
4904
+ $: go,
4881
4905
  sibling: [
4882
4906
  "definitions",
4883
4907
  "$defs",
@@ -4887,7 +4911,7 @@ var $a = (e) => {
4887
4911
  },
4888
4912
  "/anyOf": {
4889
4913
  "/*": () => G(e, t),
4890
- $: ho,
4914
+ $: go,
4891
4915
  sibling: [
4892
4916
  "definitions",
4893
4917
  "$defs",
@@ -4897,34 +4921,34 @@ var $a = (e) => {
4897
4921
  },
4898
4922
  "/properties": {
4899
4923
  "/*": () => G(e, t),
4900
- $: no
4924
+ $: ro
4901
4925
  },
4902
4926
  "/items": () => Object.assign(Object.assign({}, G(e, t)), {
4903
- $: So,
4927
+ $: Co,
4904
4928
  "/*": ({ key: n }) => typeof n == "number" ? G(e, t) : {}
4905
4929
  }),
4906
- "/additionalProperties": () => Object.assign(Object.assign({}, G(e, t)), { $: ro }),
4907
- "/additionalItems": () => Object.assign(Object.assign({}, G(e, t)), { $: Co }),
4930
+ "/additionalProperties": () => Object.assign(Object.assign({}, G(e, t)), { $: io }),
4931
+ "/additionalItems": () => Object.assign(Object.assign({}, G(e, t)), { $: wo }),
4908
4932
  "/patternProperties": {
4909
4933
  "/*": () => G(e, t),
4910
- $: no
4934
+ $: ro
4911
4935
  },
4912
- "/pattern": { $: fo },
4913
- "/readOnly": { $: co },
4914
- "/writeOnly": { $: co },
4936
+ "/pattern": { $: po },
4937
+ "/readOnly": { $: lo },
4938
+ "/writeOnly": { $: lo },
4915
4939
  "/example": { $: W },
4916
4940
  "/examples": { $: W },
4917
- "/deprecated": { $: co }
4941
+ "/deprecated": { $: lo }
4918
4942
  }, e === "draft-04" ? {} : {
4919
4943
  "/propertyNames": () => G(e, t),
4920
4944
  "/contains": () => G(e, t),
4921
4945
  "/dependencies": {
4922
4946
  "/*": () => G(e, t),
4923
- $: xo
4947
+ $: So
4924
4948
  },
4925
- "/const": { $: mo },
4926
- "/exclusiveMaximum": { $: lo },
4927
- "/exclusiveMinimum": { $: uo },
4949
+ "/const": { $: ho },
4950
+ "/exclusiveMaximum": { $: uo },
4951
+ "/exclusiveMinimum": { $: fo },
4928
4952
  "/$defs": {
4929
4953
  "/*": () => G(e, t),
4930
4954
  $: W
@@ -4941,46 +4965,46 @@ var $a = (e) => {
4941
4965
  "/format": { $: U },
4942
4966
  "/default": { $: U },
4943
4967
  "/?": { $: U }
4944
- }), t), { $: so }), wo = (e) => G(e, {
4968
+ }), t), { $: co }), To = (e) => G(e, {
4945
4969
  "/discriminator": { $: W },
4946
4970
  "/oneOf": {
4947
- "/*": () => wo(e),
4948
- $: ho,
4971
+ "/*": () => To(e),
4972
+ $: go,
4949
4973
  sibling: ["discriminator"]
4950
4974
  },
4951
4975
  "/anyOf": {
4952
- "/*": () => wo(e),
4953
- $: ho,
4976
+ "/*": () => To(e),
4977
+ $: go,
4954
4978
  sibling: ["discriminator"]
4955
4979
  }
4956
- }), To = (e) => e === "3.0.x" ? Object.assign(Object.assign({}, wo("draft-04")), { "/items": ({ key: e }) => Object.assign(Object.assign({}, wo("draft-04")), { $: So }) }) : wo("draft-06"), Eo = (e) => ({ "/*": { "/schema": To(e) } }), Do = (e) => ({ "/content": { "/*": {
4957
- "/schema": To(e),
4958
- "/encoding": { "/headers": Eo(e) }
4959
- } } }), Oo = (e) => ({ "/*": {
4960
- "/headers": Eo(e),
4980
+ }), Eo = (e) => e === "3.0.x" ? Object.assign(Object.assign({}, To("draft-04")), { "/items": ({ key: e }) => Object.assign(Object.assign({}, To("draft-04")), { $: Co }) }) : To("draft-06"), Do = (e) => ({ "/*": { "/schema": Eo(e) } }), Oo = (e) => ({ "/content": { "/*": {
4981
+ "/schema": Eo(e),
4982
+ "/encoding": { "/headers": Do(e) }
4983
+ } } }), ko = (e) => ({ "/*": {
4984
+ "/headers": Do(e),
4961
4985
  "/content": { "/*": {
4962
- "/schema": To(e),
4963
- "/encoding": { "/headers": Eo(e) }
4986
+ "/schema": Eo(e),
4987
+ "/encoding": { "/headers": Do(e) }
4964
4988
  } }
4965
- } }), ko = (e = "3.0.x") => ({
4989
+ } }), Ao = (e = "3.0.x") => ({
4966
4990
  "/paths": { "/*": {
4967
4991
  "/*": {
4968
- "/parameters": Eo(e),
4969
- "/requestBody": Do(e),
4970
- "/responses": Oo(e)
4992
+ "/parameters": Do(e),
4993
+ "/requestBody": Oo(e),
4994
+ "/responses": ko(e)
4971
4995
  },
4972
- "/parameters": Eo(e)
4996
+ "/parameters": Do(e)
4973
4997
  } },
4974
4998
  "/components": {
4975
- "/schemas": { "/*": To(e) },
4976
- "/responses": Oo(e),
4977
- "/parameters": Eo(e),
4978
- "/requestBodies": { "/*": Do(e) },
4979
- "/headers": Eo(e)
4980
- }
4981
- }), Ao = G("draft-06", {
4982
- "/args": () => Ao,
4983
- "/nullable": { $: co },
4999
+ "/schemas": { "/*": Eo(e) },
5000
+ "/responses": ko(e),
5001
+ "/parameters": Do(e),
5002
+ "/requestBodies": { "/*": Oo(e) },
5003
+ "/headers": Do(e)
5004
+ }
5005
+ }), jo = G("draft-06", {
5006
+ "/args": () => jo,
5007
+ "/nullable": { $: lo },
4984
5008
  "/specifiedByURL": { $: U },
4985
5009
  "/values": {
4986
5010
  $: W,
@@ -4999,28 +5023,28 @@ var $a = (e) => {
4999
5023
  },
5000
5024
  "/directives": {
5001
5025
  $: W,
5002
- "/*": () => Object.assign(Object.assign({}, Ao), { "/meta": { $: W } })
5026
+ "/*": () => Object.assign(Object.assign({}, jo), { "/meta": { $: W } })
5003
5027
  }
5004
- }), jo = {
5005
- "/queries": { "/*": () => Ao },
5006
- "/mutations": { "/*": () => Ao },
5007
- "/subscriptions": { "/*": () => Ao },
5028
+ }), Mo = {
5029
+ "/queries": { "/*": () => jo },
5030
+ "/mutations": { "/*": () => jo },
5031
+ "/subscriptions": { "/*": () => jo },
5008
5032
  "/components": {
5009
- "/*": { "/*": Ao },
5010
- "/directives": { "/*": { "/args": () => Ao } }
5033
+ "/*": { "/*": jo },
5034
+ "/directives": { "/*": { "/args": () => jo } }
5011
5035
  }
5012
- }, Mo = (e, t, n) => {
5013
- let r = n.sibling || [], i = e, a = t, o = i[a], s = ka(i, [typeof a == "symbol" ? a : a + ""]), c = Ra(s, r);
5036
+ }, No = (e, t, n) => {
5037
+ let r = n.sibling || [], i = e, a = t, o = i[a], s = Aa(i, [typeof a == "symbol" ? a : a + ""]), c = za(s, r);
5014
5038
  return Object.keys(s).length ? Object.assign({ [t]: o.map(((e) => ({ allOf: [s, e] }))) }, c) : e;
5015
- }, No = (e, t, n, r) => {
5016
- let i = [], a = Ja(t), o = [], s = {
5039
+ }, Po = (e, t, n, r) => {
5040
+ let i = [], a = Ya(t), o = [], s = {
5017
5041
  pointer: a,
5018
5042
  data: "",
5019
5043
  refs: []
5020
5044
  };
5021
- for (let t of e) if (Ba(t) && !o.includes(t.$ref)) {
5045
+ for (let t of e) if (Va(t) && !o.includes(t.$ref)) {
5022
5046
  s.data === "" && (s.data = JSON.stringify(e));
5023
- let { $ref: c } = t, l = ka(t, ["$ref"]), { filePath: u, normalized: d, pointer: f } = Ua(c);
5047
+ let { $ref: c } = t, l = Aa(t, ["$ref"]), { filePath: u, normalized: d, pointer: f } = Wa(c);
5024
5048
  if (a === f) continue;
5025
5049
  let p = r.find(((e) => e.refs.includes(t.$ref) && e.data === s.data && f !== e.pointer));
5026
5050
  if (p) return {
@@ -5029,69 +5053,69 @@ var $a = (e) => {
5029
5053
  };
5030
5054
  if (!s.refs.includes(d)) {
5031
5055
  s.refs.push(d);
5032
- let e = u ? void 0 : Ga(n, f);
5056
+ let e = u ? void 0 : Ka(n, f);
5033
5057
  e === void 0 ? (o.push(d), i.push(t)) : i.push(e);
5034
5058
  }
5035
5059
  Object.keys(l).length && i.push(l);
5036
5060
  } else i.push(t);
5037
5061
  s.refs.length && r.push(s);
5038
- let c = Po(i);
5039
- return c.find(((e) => Ba(e) && !o.includes(e.$ref))) ? No(c, t, n, r) : {
5062
+ let c = Fo(i);
5063
+ return c.find(((e) => Va(e) && !o.includes(e.$ref))) ? Po(c, t, n, r) : {
5040
5064
  allOfItems: c,
5041
5065
  brokenRefs: o
5042
5066
  };
5043
- }, Po = (e) => {
5067
+ }, Fo = (e) => {
5044
5068
  let t = [];
5045
- for (let n of e) if (Na(n)) if (n.allOf && Array.isArray(n.allOf)) {
5046
- let { allOf: e } = n, r = ka(n, ["allOf"]), i = Object.keys(r).length ? [...e, r] : e;
5047
- t.push(...Po(i));
5069
+ for (let n of e) if (Pa(n)) if (n.allOf && Array.isArray(n.allOf)) {
5070
+ let { allOf: e } = n, r = Aa(n, ["allOf"]), i = Object.keys(r).length ? [...e, r] : e;
5071
+ t.push(...Fo(i));
5048
5072
  } else t.push(n);
5049
5073
  return t;
5050
- }, Fo = (e) => typeof e != "object" || !e ? G() : "openapi" in e && typeof e.openapi == "string" && /3.+/.test(e.openapi) ? ko(e.openapi.startsWith("3.1") ? "3.1.x" : "3.0.x") : "graphapi" in e && typeof e.graphapi == "string" ? jo : G(), Io = (e, t) => {
5074
+ }, Io = (e) => typeof e != "object" || !e ? G() : "openapi" in e && typeof e.openapi == "string" && /3.+/.test(e.openapi) ? Ao(e.openapi.startsWith("3.1") ? "3.1.x" : "3.0.x") : "graphapi" in e && typeof e.graphapi == "string" ? Mo : G(), Lo = (e, t) => {
5051
5075
  var n;
5052
- let r = (n = t == null ? void 0 : t.rules) == null ? Fo(e) : n;
5076
+ let r = (n = t == null ? void 0 : t.rules) == null ? Io(e) : n;
5053
5077
  return ((e, t = [], n = {}) => {
5054
5078
  var r;
5055
5079
  t = Array.isArray(t) ? t : [t];
5056
5080
  let i = { "#": void 0 }, a = Object.assign({ state: Object.assign(Object.assign({}, (r = n.state) == null ? {} : r), {
5057
5081
  root: i,
5058
5082
  node: i
5059
- }) }, n.rules ? { rules: n.rules } : {}), [o, s] = Ia();
5060
- return Fa(e, [
5083
+ }) }, n.rules ? { rules: n.rules } : {}), [o, s] = La();
5084
+ return Ia(e, [
5061
5085
  o,
5062
5086
  ...t,
5063
5087
  s
5064
5088
  ], a), i["#"];
5065
- })(e, Lo(t), { rules: r });
5066
- }, Lo = (e) => {
5089
+ })(e, Ro(t), { rules: r });
5090
+ }, Ro = (e) => {
5067
5091
  let t = /* @__PURE__ */ new Map(), n = e == null ? void 0 : e.source, r = [];
5068
5092
  return ({ value: i, key: a, path: o, rules: s, state: c }) => {
5069
5093
  var l;
5070
5094
  o.length || e != null && e.source || (n = i);
5071
5095
  let u = (n) => {
5072
5096
  var r;
5073
- let i = Ro(o);
5074
- i ? t.set(...i) : (r = e == null ? void 0 : e.onMergeError) == null || r.call(e, io(), o, n);
5097
+ let i = zo(o);
5098
+ i ? t.set(...i) : (r = e == null ? void 0 : e.onMergeError) == null || r.call(e, ao(), o, n);
5075
5099
  }, d = () => {
5076
- let { node: e } = c, n = Ja(o);
5100
+ let { node: e } = c, n = Ya(o);
5077
5101
  if (t.has(n)) {
5078
5102
  let r = t.get(n), o = e[a];
5079
5103
  Array.isArray(o) && (o.length < 2 && u((i == null ? void 0 : i.allOf) || []), o.splice(r, 1));
5080
5104
  }
5081
5105
  };
5082
- if (!Na(i) || Array.isArray(i) || !((e) => !!e && e["/allOf"] && "$" in e["/allOf"])(s)) return { exitHook: d };
5083
- let { allOf: f } = i, p = ka(i, ["allOf"]), m = [];
5106
+ if (!Pa(i) || Array.isArray(i) || !((e) => !!e && e["/allOf"] && "$" in e["/allOf"])(s)) return { exitHook: d };
5107
+ let { allOf: f } = i, p = Aa(i, ["allOf"]), m = [];
5084
5108
  if (Array.isArray(f) && m.push(...f), m.length) Object.keys(p).length && m.push(p);
5085
5109
  else {
5086
- let { $ref: t } = p, n = ka(p, ["$ref"]);
5110
+ let { $ref: t } = p, n = Aa(p, ["$ref"]);
5087
5111
  if (e != null && e.mergeRefSibling && t && Object.keys(n).length > 0) m.push({ $ref: t }, n);
5088
5112
  else if (e != null && e.mergeCombinarySibling) {
5089
- if (Va(p) && s["/anyOf"]) return {
5090
- value: Mo(p, "anyOf", s["/anyOf"]),
5113
+ if (Ha(p) && s["/anyOf"]) return {
5114
+ value: No(p, "anyOf", s["/anyOf"]),
5091
5115
  exitHook: d
5092
5116
  };
5093
- if (Ha(p) && s["/oneOf"]) return {
5094
- value: Mo(p, "oneOf", s["/oneOf"]),
5117
+ if (Ua(p) && s["/oneOf"]) return {
5118
+ value: No(p, "oneOf", s["/oneOf"]),
5095
5119
  exitHook: d
5096
5120
  };
5097
5121
  }
@@ -5100,7 +5124,7 @@ var $a = (e) => {
5100
5124
  value: p,
5101
5125
  exitHook: d
5102
5126
  };
5103
- let { allOfItems: h, brokenRefs: g } = No(m, o, n, r);
5127
+ let { allOfItems: h, brokenRefs: g } = Po(m, o, n, r);
5104
5128
  if (g.length) {
5105
5129
  for (let t of g) (l = e == null ? void 0 : e.onRefResolveError) == null || l.call(e, "Cannot resolve $ref", o, t);
5106
5130
  return {
@@ -5112,108 +5136,108 @@ var $a = (e) => {
5112
5136
  value: h.length ? h[0] : {},
5113
5137
  exitHook: d
5114
5138
  };
5115
- let _ = so(h, {
5139
+ let _ = co(h, {
5116
5140
  allOfItems: h,
5117
5141
  mergeRules: s,
5118
5142
  mergeError: u
5119
5143
  });
5120
- return e != null && e.mergeCombinarySibling && Va(_) ? {
5121
- value: Mo(_, "anyOf", s["/anyOf"]),
5144
+ return e != null && e.mergeCombinarySibling && Ha(_) ? {
5145
+ value: No(_, "anyOf", s["/anyOf"]),
5122
5146
  exitHook: d
5123
- } : e != null && e.mergeCombinarySibling && Ha(_) ? {
5124
- value: Mo(_, "oneOf", s["/oneOf"]),
5147
+ } : e != null && e.mergeCombinarySibling && Ua(_) ? {
5148
+ value: No(_, "oneOf", s["/oneOf"]),
5125
5149
  exitHook: d
5126
5150
  } : {
5127
5151
  value: _,
5128
5152
  exitHook: d
5129
5153
  };
5130
5154
  };
5131
- }, Ro = (e) => {
5132
- for (let t = e.length - 2; t >= 0; t--) if (e[t] === "anyOf" || e[t] === "oneOf") return [Ja(e.slice(0, t + 1)), e[t + 1]];
5133
- }, zo = Symbol.for("__confbox_fmt__"), Bo = /^(\s+)/, Vo = /(\s+)$/;
5134
- function Ho(e, t = {}) {
5155
+ }, zo = (e) => {
5156
+ for (let t = e.length - 2; t >= 0; t--) if (e[t] === "anyOf" || e[t] === "oneOf") return [Ya(e.slice(0, t + 1)), e[t + 1]];
5157
+ }, Bo = Symbol.for("__confbox_fmt__"), Vo = /^(\s+)/, Ho = /(\s+)$/;
5158
+ function Uo(e, t = {}) {
5135
5159
  var n, r;
5136
5160
  return {
5137
5161
  sample: t.indent === void 0 && t.preserveIndentation !== !1 && e.slice(0, (t == null ? void 0 : t.sampleSize) || 1024),
5138
5162
  whiteSpace: t.preserveWhitespace === !1 ? void 0 : {
5139
- start: ((n = Bo.exec(e)) == null ? void 0 : n[0]) || "",
5140
- end: ((r = Vo.exec(e)) == null ? void 0 : r[0]) || ""
5163
+ start: ((n = Vo.exec(e)) == null ? void 0 : n[0]) || "",
5164
+ end: ((r = Ho.exec(e)) == null ? void 0 : r[0]) || ""
5141
5165
  }
5142
5166
  };
5143
5167
  }
5144
- function Uo(e, t, n) {
5145
- !t || typeof t != "object" || Object.defineProperty(t, zo, {
5168
+ function Wo(e, t, n) {
5169
+ !t || typeof t != "object" || Object.defineProperty(t, Bo, {
5146
5170
  enumerable: !1,
5147
5171
  configurable: !0,
5148
5172
  writable: !0,
5149
- value: Ho(e, n)
5173
+ value: Uo(e, n)
5150
5174
  });
5151
5175
  }
5152
5176
  //#endregion
5153
5177
  //#region node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs
5154
- function Wo(e) {
5178
+ function Go(e) {
5155
5179
  return e == null;
5156
5180
  }
5157
- function Go(e) {
5181
+ function Ko(e) {
5158
5182
  return typeof e == "object" && !!e;
5159
5183
  }
5160
- function Ko(e) {
5161
- return Array.isArray(e) ? e : Wo(e) ? [] : [e];
5184
+ function qo(e) {
5185
+ return Array.isArray(e) ? e : Go(e) ? [] : [e];
5162
5186
  }
5163
- function qo(e, t) {
5187
+ function Jo(e, t) {
5164
5188
  var n, r, i, a;
5165
5189
  if (t) for (a = Object.keys(t), n = 0, r = a.length; n < r; n += 1) i = a[n], e[i] = t[i];
5166
5190
  return e;
5167
5191
  }
5168
- function Jo(e, t) {
5192
+ function Yo(e, t) {
5169
5193
  var n = "", r;
5170
5194
  for (r = 0; r < t; r += 1) n += e;
5171
5195
  return n;
5172
5196
  }
5173
- function Yo(e) {
5197
+ function Xo(e) {
5174
5198
  return e === 0 && 1 / e == -Infinity;
5175
5199
  }
5176
5200
  var K = {
5177
- isNothing: Wo,
5178
- isObject: Go,
5179
- toArray: Ko,
5180
- repeat: Jo,
5181
- isNegativeZero: Yo,
5182
- extend: qo
5201
+ isNothing: Go,
5202
+ isObject: Ko,
5203
+ toArray: qo,
5204
+ repeat: Yo,
5205
+ isNegativeZero: Xo,
5206
+ extend: Jo
5183
5207
  };
5184
- function Xo(e, t) {
5208
+ function Zo(e, t) {
5185
5209
  var n = "", r = e.reason || "(unknown reason)";
5186
5210
  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), r + " " + n) : r;
5187
5211
  }
5188
- function Zo(e, t) {
5189
- Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = Xo(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = Error().stack || "";
5212
+ function Qo(e, t) {
5213
+ Error.call(this), this.name = "YAMLException", this.reason = e, this.mark = t, this.message = Zo(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = Error().stack || "";
5190
5214
  }
5191
- Zo.prototype = Object.create(Error.prototype), Zo.prototype.constructor = Zo, Zo.prototype.toString = function(e) {
5192
- return this.name + ": " + Xo(this, e);
5215
+ Qo.prototype = Object.create(Error.prototype), Qo.prototype.constructor = Qo, Qo.prototype.toString = function(e) {
5216
+ return this.name + ": " + Zo(this, e);
5193
5217
  };
5194
- var q = Zo;
5195
- function Qo(e, t, n, r, i) {
5218
+ var q = Qo;
5219
+ function $o(e, t, n, r, i) {
5196
5220
  var a = "", o = "", s = Math.floor(i / 2) - 1;
5197
5221
  return r - t > s && (a = " ... ", t = r - s + a.length), n - r > s && (o = " ...", n = r + s - o.length), {
5198
5222
  str: a + e.slice(t, n).replace(/\t/g, "→") + o,
5199
5223
  pos: r - t + a.length
5200
5224
  };
5201
5225
  }
5202
- function $o(e, t) {
5226
+ function es(e, t) {
5203
5227
  return K.repeat(" ", t - e.length) + e;
5204
5228
  }
5205
- function es(e, t) {
5229
+ function ts(e, t) {
5206
5230
  var n;
5207
5231
  if (t = Object.create(t || null), !e.buffer) return null;
5208
5232
  (n = t).maxLength || (n.maxLength = 79), typeof t.indent != "number" && (t.indent = 1), typeof t.linesBefore != "number" && (t.linesBefore = 3), typeof t.linesAfter != "number" && (t.linesAfter = 2);
5209
5233
  for (var r = /\r?\n|\r|\0/g, i = [0], a = [], o, s = -1; 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);
5210
5234
  s < 0 && (s = i.length - 1);
5211
5235
  var c = "", l, u, d = Math.min(e.line + t.linesAfter, a.length).toString().length, f = t.maxLength - (t.indent + d + 3);
5212
- for (l = 1; l <= t.linesBefore && !(s - l < 0); l++) u = Qo(e.buffer, i[s - l], a[s - l], e.position - (i[s] - i[s - l]), f), c = K.repeat(" ", t.indent) + $o((e.line - l + 1).toString(), d) + " | " + u.str + "\n" + c;
5213
- for (u = Qo(e.buffer, i[s], a[s], e.position, f), c += K.repeat(" ", t.indent) + $o((e.line + 1).toString(), d) + " | " + u.str + "\n", c += K.repeat("-", t.indent + d + 3 + u.pos) + "^\n", l = 1; l <= t.linesAfter && !(s + l >= a.length); l++) u = Qo(e.buffer, i[s + l], a[s + l], e.position - (i[s] - i[s + l]), f), c += K.repeat(" ", t.indent) + $o((e.line + l + 1).toString(), d) + " | " + u.str + "\n";
5236
+ for (l = 1; l <= t.linesBefore && !(s - l < 0); l++) u = $o(e.buffer, i[s - l], a[s - l], e.position - (i[s] - i[s - l]), f), c = K.repeat(" ", t.indent) + es((e.line - l + 1).toString(), d) + " | " + u.str + "\n" + c;
5237
+ for (u = $o(e.buffer, i[s], a[s], e.position, f), c += K.repeat(" ", t.indent) + es((e.line + 1).toString(), d) + " | " + u.str + "\n", c += K.repeat("-", t.indent + d + 3 + u.pos) + "^\n", l = 1; l <= t.linesAfter && !(s + l >= a.length); l++) u = $o(e.buffer, i[s + l], a[s + l], e.position - (i[s] - i[s + l]), f), c += K.repeat(" ", t.indent) + es((e.line + l + 1).toString(), d) + " | " + u.str + "\n";
5214
5238
  return c.replace(/\n$/, "");
5215
5239
  }
5216
- var ts = es, ns = [
5240
+ var ns = ts, rs = [
5217
5241
  "kind",
5218
5242
  "multi",
5219
5243
  "resolve",
@@ -5224,12 +5248,12 @@ var ts = es, ns = [
5224
5248
  "representName",
5225
5249
  "defaultStyle",
5226
5250
  "styleAliases"
5227
- ], rs = [
5251
+ ], is = [
5228
5252
  "scalar",
5229
5253
  "sequence",
5230
5254
  "mapping"
5231
5255
  ];
5232
- function is(e) {
5256
+ function as(e) {
5233
5257
  var t = {};
5234
5258
  return e !== null && Object.keys(e).forEach(function(n) {
5235
5259
  e[n].forEach(function(e) {
@@ -5237,17 +5261,17 @@ function is(e) {
5237
5261
  });
5238
5262
  }), t;
5239
5263
  }
5240
- function as(e, t) {
5264
+ function os(e, t) {
5241
5265
  if (t || (t = {}), Object.keys(t).forEach(function(t) {
5242
- if (ns.indexOf(t) === -1) throw new q("Unknown option \"" + t + "\" is met in definition of \"" + e + "\" YAML type.");
5266
+ if (rs.indexOf(t) === -1) throw new q("Unknown option \"" + t + "\" is met in definition of \"" + e + "\" YAML type.");
5243
5267
  }), this.options = t, this.tag = e, this.kind = t.kind || null, this.resolve = t.resolve || function() {
5244
5268
  return !0;
5245
5269
  }, this.construct = t.construct || function(e) {
5246
5270
  return e;
5247
- }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = is(t.styleAliases || null), rs.indexOf(this.kind) === -1) throw new q("Unknown kind \"" + this.kind + "\" is specified for \"" + e + "\" YAML type.");
5271
+ }, this.instanceOf = t.instanceOf || null, this.predicate = t.predicate || null, this.represent = t.represent || null, this.representName = t.representName || null, this.defaultStyle = t.defaultStyle || null, this.multi = t.multi || !1, this.styleAliases = as(t.styleAliases || null), is.indexOf(this.kind) === -1) throw new q("Unknown kind \"" + this.kind + "\" is specified for \"" + e + "\" YAML type.");
5248
5272
  }
5249
- var J = as;
5250
- function os(e, t) {
5273
+ var J = os;
5274
+ function ss(e, t) {
5251
5275
  var n = [];
5252
5276
  return e[t].forEach(function(e) {
5253
5277
  var t = n.length;
@@ -5256,7 +5280,7 @@ function os(e, t) {
5256
5280
  }), n[t] = e;
5257
5281
  }), n;
5258
5282
  }
5259
- function ss() {
5283
+ function cs() {
5260
5284
  var e = {
5261
5285
  scalar: {},
5262
5286
  sequence: {},
@@ -5275,10 +5299,10 @@ function ss() {
5275
5299
  for (t = 0, n = arguments.length; t < n; t += 1) arguments[t].forEach(r);
5276
5300
  return e;
5277
5301
  }
5278
- function cs(e) {
5302
+ function ls(e) {
5279
5303
  return this.extend(e);
5280
5304
  }
5281
- cs.prototype.extend = function(e) {
5305
+ ls.prototype.extend = function(e) {
5282
5306
  var t = [], n = [];
5283
5307
  if (e instanceof J) n.push(e);
5284
5308
  else if (Array.isArray(e)) n = n.concat(e);
@@ -5291,10 +5315,10 @@ cs.prototype.extend = function(e) {
5291
5315
  }), n.forEach(function(e) {
5292
5316
  if (!(e instanceof J)) throw new q("Specified list of YAML types (or a single Type object) contains a non-Type object.");
5293
5317
  });
5294
- var r = Object.create(cs.prototype);
5295
- return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = os(r, "implicit"), r.compiledExplicit = os(r, "explicit"), r.compiledTypeMap = ss(r.compiledImplicit, r.compiledExplicit), r;
5318
+ var r = Object.create(ls.prototype);
5319
+ return r.implicit = (this.implicit || []).concat(t), r.explicit = (this.explicit || []).concat(n), r.compiledImplicit = ss(r, "implicit"), r.compiledExplicit = ss(r, "explicit"), r.compiledTypeMap = cs(r.compiledImplicit, r.compiledExplicit), r;
5296
5320
  };
5297
- var ls = new cs({ explicit: [
5321
+ var us = new ls({ explicit: [
5298
5322
  new J("tag:yaml.org,2002:str", {
5299
5323
  kind: "scalar",
5300
5324
  construct: function(e) {
@@ -5314,22 +5338,22 @@ var ls = new cs({ explicit: [
5314
5338
  }
5315
5339
  })
5316
5340
  ] });
5317
- function us(e) {
5341
+ function ds(e) {
5318
5342
  if (e === null) return !0;
5319
5343
  var t = e.length;
5320
5344
  return t === 1 && e === "~" || t === 4 && (e === "null" || e === "Null" || e === "NULL");
5321
5345
  }
5322
- function ds() {
5346
+ function fs() {
5323
5347
  return null;
5324
5348
  }
5325
- function fs(e) {
5349
+ function ps(e) {
5326
5350
  return e === null;
5327
5351
  }
5328
- var ps = new J("tag:yaml.org,2002:null", {
5352
+ var ms = new J("tag:yaml.org,2002:null", {
5329
5353
  kind: "scalar",
5330
- resolve: us,
5331
- construct: ds,
5332
- predicate: fs,
5354
+ resolve: ds,
5355
+ construct: fs,
5356
+ predicate: ps,
5333
5357
  represent: {
5334
5358
  canonical: function() {
5335
5359
  return "~";
@@ -5349,22 +5373,22 @@ var ps = new J("tag:yaml.org,2002:null", {
5349
5373
  },
5350
5374
  defaultStyle: "lowercase"
5351
5375
  });
5352
- function ms(e) {
5376
+ function hs(e) {
5353
5377
  if (e === null) return !1;
5354
5378
  var t = e.length;
5355
5379
  return t === 4 && (e === "true" || e === "True" || e === "TRUE") || t === 5 && (e === "false" || e === "False" || e === "FALSE");
5356
5380
  }
5357
- function hs(e) {
5381
+ function gs(e) {
5358
5382
  return e === "true" || e === "True" || e === "TRUE";
5359
5383
  }
5360
- function gs(e) {
5384
+ function _s(e) {
5361
5385
  return Object.prototype.toString.call(e) === "[object Boolean]";
5362
5386
  }
5363
- var _s = new J("tag:yaml.org,2002:bool", {
5387
+ var vs = new J("tag:yaml.org,2002:bool", {
5364
5388
  kind: "scalar",
5365
- resolve: ms,
5366
- construct: hs,
5367
- predicate: gs,
5389
+ resolve: hs,
5390
+ construct: gs,
5391
+ predicate: _s,
5368
5392
  represent: {
5369
5393
  lowercase: function(e) {
5370
5394
  return e ? "true" : "false";
@@ -5378,16 +5402,16 @@ var _s = new J("tag:yaml.org,2002:bool", {
5378
5402
  },
5379
5403
  defaultStyle: "lowercase"
5380
5404
  });
5381
- function vs(e) {
5405
+ function ys(e) {
5382
5406
  return 48 <= e && e <= 57 || 65 <= e && e <= 70 || 97 <= e && e <= 102;
5383
5407
  }
5384
- function ys(e) {
5408
+ function bs(e) {
5385
5409
  return 48 <= e && e <= 55;
5386
5410
  }
5387
- function bs(e) {
5411
+ function xs(e) {
5388
5412
  return 48 <= e && e <= 57;
5389
5413
  }
5390
- function xs(e) {
5414
+ function Ss(e) {
5391
5415
  if (e === null) return !1;
5392
5416
  var t = e.length, n = 0, r = !1, i;
5393
5417
  if (!t) return !1;
@@ -5402,14 +5426,14 @@ function xs(e) {
5402
5426
  }
5403
5427
  if (i === "x") {
5404
5428
  for (n++; n < t; n++) if (i = e[n], i !== "_") {
5405
- if (!vs(e.charCodeAt(n))) return !1;
5429
+ if (!ys(e.charCodeAt(n))) return !1;
5406
5430
  r = !0;
5407
5431
  }
5408
5432
  return r && i !== "_";
5409
5433
  }
5410
5434
  if (i === "o") {
5411
5435
  for (n++; n < t; n++) if (i = e[n], i !== "_") {
5412
- if (!ys(e.charCodeAt(n))) return !1;
5436
+ if (!bs(e.charCodeAt(n))) return !1;
5413
5437
  r = !0;
5414
5438
  }
5415
5439
  return r && i !== "_";
@@ -5417,12 +5441,12 @@ function xs(e) {
5417
5441
  }
5418
5442
  if (i === "_") return !1;
5419
5443
  for (; n < t; n++) if (i = e[n], i !== "_") {
5420
- if (!bs(e.charCodeAt(n))) return !1;
5444
+ if (!xs(e.charCodeAt(n))) return !1;
5421
5445
  r = !0;
5422
5446
  }
5423
5447
  return !(!r || i === "_");
5424
5448
  }
5425
- function Ss(e) {
5449
+ function Cs(e) {
5426
5450
  var t = e, n = 1, r;
5427
5451
  if (t.indexOf("_") !== -1 && (t = t.replace(/_/g, "")), r = t[0], (r === "-" || r === "+") && (r === "-" && (n = -1), t = t.slice(1), r = t[0]), t === "0") return 0;
5428
5452
  if (r === "0") {
@@ -5432,14 +5456,14 @@ function Ss(e) {
5432
5456
  }
5433
5457
  return n * parseInt(t, 10);
5434
5458
  }
5435
- function Cs(e) {
5459
+ function ws(e) {
5436
5460
  return Object.prototype.toString.call(e) === "[object Number]" && e % 1 == 0 && !K.isNegativeZero(e);
5437
5461
  }
5438
- var ws = new J("tag:yaml.org,2002:int", {
5462
+ var Ts = new J("tag:yaml.org,2002:int", {
5439
5463
  kind: "scalar",
5440
- resolve: xs,
5441
- construct: Ss,
5442
- predicate: Cs,
5464
+ resolve: Ss,
5465
+ construct: Cs,
5466
+ predicate: ws,
5443
5467
  represent: {
5444
5468
  binary: function(e) {
5445
5469
  return e >= 0 ? "0b" + e.toString(2) : "-0b" + e.toString(2).slice(1);
@@ -5461,16 +5485,16 @@ var ws = new J("tag:yaml.org,2002:int", {
5461
5485
  decimal: [10, "dec"],
5462
5486
  hexadecimal: [16, "hex"]
5463
5487
  }
5464
- }), Ts = RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
5465
- function Es(e) {
5466
- return !(e === null || !Ts.test(e) || e[e.length - 1] === "_");
5467
- }
5488
+ }), Es = RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");
5468
5489
  function Ds(e) {
5490
+ return !(e === null || !Es.test(e) || e[e.length - 1] === "_");
5491
+ }
5492
+ function Os(e) {
5469
5493
  var t = e.replace(/_/g, "").toLowerCase(), n = t[0] === "-" ? -1 : 1;
5470
5494
  return "+-".indexOf(t[0]) >= 0 && (t = t.slice(1)), t === ".inf" ? n === 1 ? Infinity : -Infinity : t === ".nan" ? NaN : n * parseFloat(t, 10);
5471
5495
  }
5472
- var Os = /^[-+]?[0-9]+e/;
5473
- function ks(e, t) {
5496
+ var ks = /^[-+]?[0-9]+e/;
5497
+ function As(e, t) {
5474
5498
  var n;
5475
5499
  if (isNaN(e)) switch (t) {
5476
5500
  case "lowercase": return ".nan";
@@ -5488,30 +5512,30 @@ function ks(e, t) {
5488
5512
  case "camelcase": return "-.Inf";
5489
5513
  }
5490
5514
  else if (K.isNegativeZero(e)) return "-0.0";
5491
- return n = e.toString(10), Os.test(n) ? n.replace("e", ".e") : n;
5515
+ return n = e.toString(10), ks.test(n) ? n.replace("e", ".e") : n;
5492
5516
  }
5493
- function As(e) {
5517
+ function js(e) {
5494
5518
  return Object.prototype.toString.call(e) === "[object Number]" && (e % 1 != 0 || K.isNegativeZero(e));
5495
5519
  }
5496
- var js = new J("tag:yaml.org,2002:float", {
5520
+ var Ms = new J("tag:yaml.org,2002:float", {
5497
5521
  kind: "scalar",
5498
- resolve: Es,
5499
- construct: Ds,
5500
- predicate: As,
5501
- represent: ks,
5522
+ resolve: Ds,
5523
+ construct: Os,
5524
+ predicate: js,
5525
+ represent: As,
5502
5526
  defaultStyle: "lowercase"
5503
- }), Ms = ls.extend({ implicit: [
5504
- ps,
5505
- _s,
5506
- ws,
5507
- js
5508
- ] }), Ns = RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), Ps = 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]))?))?$");
5509
- function Fs(e) {
5510
- return e === null ? !1 : Ns.exec(e) !== null || Ps.exec(e) !== null;
5511
- }
5527
+ }), Ns = us.extend({ implicit: [
5528
+ ms,
5529
+ vs,
5530
+ Ts,
5531
+ Ms
5532
+ ] }), Ps = RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"), Fs = 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]))?))?$");
5512
5533
  function Is(e) {
5534
+ return e === null ? !1 : Ps.exec(e) !== null || Fs.exec(e) !== null;
5535
+ }
5536
+ function Ls(e) {
5513
5537
  var t, n, r, i, a, o, s, c = 0, l = null, u, d, f;
5514
- if (t = Ns.exec(e), t === null && (t = Ps.exec(e)), t === null) throw Error("Date resolve error");
5538
+ if (t = Ps.exec(e), t === null && (t = Fs.exec(e)), t === null) throw Error("Date resolve error");
5515
5539
  if (n = +t[1], r = t[2] - 1, i = +t[3], !t[4]) return new Date(Date.UTC(n, r, i));
5516
5540
  if (a = +t[4], o = +t[5], s = +t[6], t[7]) {
5517
5541
  for (c = t[7].slice(0, 3); c.length < 3;) c += "0";
@@ -5519,58 +5543,58 @@ function Is(e) {
5519
5543
  }
5520
5544
  return t[9] && (u = +t[10], d = +(t[11] || 0), l = (u * 60 + d) * 6e4, t[9] === "-" && (l = -l)), f = new Date(Date.UTC(n, r, i, a, o, s, c)), l && f.setTime(f.getTime() - l), f;
5521
5545
  }
5522
- function Ls(e) {
5546
+ function Rs(e) {
5523
5547
  return e.toISOString();
5524
5548
  }
5525
- var Rs = new J("tag:yaml.org,2002:timestamp", {
5549
+ var zs = new J("tag:yaml.org,2002:timestamp", {
5526
5550
  kind: "scalar",
5527
- resolve: Fs,
5528
- construct: Is,
5551
+ resolve: Is,
5552
+ construct: Ls,
5529
5553
  instanceOf: Date,
5530
- represent: Ls
5554
+ represent: Rs
5531
5555
  });
5532
- function zs(e) {
5556
+ function Bs(e) {
5533
5557
  return e === "<<" || e === null;
5534
5558
  }
5535
- var Bs = new J("tag:yaml.org,2002:merge", {
5559
+ var Vs = new J("tag:yaml.org,2002:merge", {
5536
5560
  kind: "scalar",
5537
- resolve: zs
5538
- }), Vs = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
5539
- function Hs(e) {
5561
+ resolve: Bs
5562
+ }), Hs = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";
5563
+ function Us(e) {
5540
5564
  if (e === null) return !1;
5541
- var t, n, r = 0, i = e.length, a = Vs;
5565
+ var t, n, r = 0, i = e.length, a = Hs;
5542
5566
  for (n = 0; n < i; n++) if (t = a.indexOf(e.charAt(n)), !(t > 64)) {
5543
5567
  if (t < 0) return !1;
5544
5568
  r += 6;
5545
5569
  }
5546
5570
  return r % 8 == 0;
5547
5571
  }
5548
- function Us(e) {
5549
- var t, n, r = e.replace(/[\r\n=]/g, ""), i = r.length, a = Vs, o = 0, s = [];
5572
+ function Ws(e) {
5573
+ var t, n, r = e.replace(/[\r\n=]/g, ""), i = r.length, a = Hs, o = 0, s = [];
5550
5574
  for (t = 0; t < i; t++) t % 4 == 0 && t && (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)), o = o << 6 | a.indexOf(r.charAt(t));
5551
5575
  return n = i % 4 * 6, n === 0 ? (s.push(o >> 16 & 255), s.push(o >> 8 & 255), s.push(o & 255)) : n === 18 ? (s.push(o >> 10 & 255), s.push(o >> 2 & 255)) : n === 12 && s.push(o >> 4 & 255), new Uint8Array(s);
5552
5576
  }
5553
- function Ws(e) {
5554
- var t = "", n = 0, r, i, a = e.length, o = Vs;
5577
+ function Gs(e) {
5578
+ var t = "", n = 0, r, i, a = e.length, o = Hs;
5555
5579
  for (r = 0; r < a; r++) r % 3 == 0 && r && (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]), n = (n << 8) + e[r];
5556
5580
  return i = a % 3, i === 0 ? (t += o[n >> 18 & 63], t += o[n >> 12 & 63], t += o[n >> 6 & 63], t += o[n & 63]) : i === 2 ? (t += o[n >> 10 & 63], t += o[n >> 4 & 63], t += o[n << 2 & 63], t += o[64]) : i === 1 && (t += o[n >> 2 & 63], t += o[n << 4 & 63], t += o[64], t += o[64]), t;
5557
5581
  }
5558
- function Gs(e) {
5582
+ function Ks(e) {
5559
5583
  return Object.prototype.toString.call(e) === "[object Uint8Array]";
5560
5584
  }
5561
- var Ks = new J("tag:yaml.org,2002:binary", {
5585
+ var qs = new J("tag:yaml.org,2002:binary", {
5562
5586
  kind: "scalar",
5563
- resolve: Hs,
5564
- construct: Us,
5565
- predicate: Gs,
5566
- represent: Ws
5567
- }), qs = Object.prototype.hasOwnProperty, Js = Object.prototype.toString;
5568
- function Ys(e) {
5587
+ resolve: Us,
5588
+ construct: Ws,
5589
+ predicate: Ks,
5590
+ represent: Gs
5591
+ }), Js = Object.prototype.hasOwnProperty, Ys = Object.prototype.toString;
5592
+ function Xs(e) {
5569
5593
  if (e === null) return !0;
5570
5594
  var t = [], n, r, i, a, o, s = e;
5571
5595
  for (n = 0, r = s.length; n < r; n += 1) {
5572
- if (i = s[n], o = !1, Js.call(i) !== "[object Object]") return !1;
5573
- for (a in i) if (qs.call(i, a)) if (!o) o = !0;
5596
+ if (i = s[n], o = !1, Ys.call(i) !== "[object Object]") return !1;
5597
+ for (a in i) if (Js.call(i, a)) if (!o) o = !0;
5574
5598
  else return !1;
5575
5599
  if (!o) return !1;
5576
5600
  if (t.indexOf(a) === -1) t.push(a);
@@ -5578,88 +5602,88 @@ function Ys(e) {
5578
5602
  }
5579
5603
  return !0;
5580
5604
  }
5581
- function Xs(e) {
5605
+ function Zs(e) {
5582
5606
  return e === null ? [] : e;
5583
5607
  }
5584
- var Zs = new J("tag:yaml.org,2002:omap", {
5608
+ var Qs = new J("tag:yaml.org,2002:omap", {
5585
5609
  kind: "sequence",
5586
- resolve: Ys,
5587
- construct: Xs
5588
- }), Qs = Object.prototype.toString;
5589
- function $s(e) {
5610
+ resolve: Xs,
5611
+ construct: Zs
5612
+ }), $s = Object.prototype.toString;
5613
+ function ec(e) {
5590
5614
  if (e === null) return !0;
5591
5615
  var t, n, r, i, a, o = e;
5592
5616
  for (a = Array(o.length), t = 0, n = o.length; t < n; t += 1) {
5593
- if (r = o[t], Qs.call(r) !== "[object Object]" || (i = Object.keys(r), i.length !== 1)) return !1;
5617
+ if (r = o[t], $s.call(r) !== "[object Object]" || (i = Object.keys(r), i.length !== 1)) return !1;
5594
5618
  a[t] = [i[0], r[i[0]]];
5595
5619
  }
5596
5620
  return !0;
5597
5621
  }
5598
- function ec(e) {
5622
+ function tc(e) {
5599
5623
  if (e === null) return [];
5600
5624
  var t, n, r, i, a, o = e;
5601
5625
  for (a = Array(o.length), t = 0, n = o.length; t < n; t += 1) r = o[t], i = Object.keys(r), a[t] = [i[0], r[i[0]]];
5602
5626
  return a;
5603
5627
  }
5604
- var tc = new J("tag:yaml.org,2002:pairs", {
5628
+ var nc = new J("tag:yaml.org,2002:pairs", {
5605
5629
  kind: "sequence",
5606
- resolve: $s,
5607
- construct: ec
5608
- }), nc = Object.prototype.hasOwnProperty;
5609
- function rc(e) {
5630
+ resolve: ec,
5631
+ construct: tc
5632
+ }), rc = Object.prototype.hasOwnProperty;
5633
+ function ic(e) {
5610
5634
  if (e === null) return !0;
5611
5635
  var t, n = e;
5612
- for (t in n) if (nc.call(n, t) && n[t] !== null) return !1;
5636
+ for (t in n) if (rc.call(n, t) && n[t] !== null) return !1;
5613
5637
  return !0;
5614
5638
  }
5615
- function ic(e) {
5639
+ function ac(e) {
5616
5640
  return e === null ? {} : e;
5617
5641
  }
5618
- var ac = new J("tag:yaml.org,2002:set", {
5642
+ var oc = new J("tag:yaml.org,2002:set", {
5619
5643
  kind: "mapping",
5620
- resolve: rc,
5621
- construct: ic
5622
- }), oc = Ms.extend({
5623
- implicit: [Rs, Bs],
5644
+ resolve: ic,
5645
+ construct: ac
5646
+ }), sc = Ns.extend({
5647
+ implicit: [zs, Vs],
5624
5648
  explicit: [
5625
- Ks,
5626
- Zs,
5627
- tc,
5628
- ac
5649
+ qs,
5650
+ Qs,
5651
+ nc,
5652
+ oc
5629
5653
  ]
5630
- }), sc = Object.prototype.hasOwnProperty, cc = 1, lc = 2, uc = 3, dc = 4, fc = 1, pc = 2, mc = 3, hc = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, gc = /[\x85\u2028\u2029]/, _c = /[,\[\]\{\}]/, vc = /^(?:!|!!|![a-z\-]+!)$/i, yc = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
5631
- function bc(e) {
5654
+ }), cc = Object.prototype.hasOwnProperty, lc = 1, uc = 2, dc = 3, fc = 4, pc = 1, mc = 2, hc = 3, gc = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, _c = /[\x85\u2028\u2029]/, vc = /[,\[\]\{\}]/, yc = /^(?:!|!!|![a-z\-]+!)$/i, bc = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
5655
+ function xc(e) {
5632
5656
  return Object.prototype.toString.call(e);
5633
5657
  }
5634
- function xc(e) {
5658
+ function Sc(e) {
5635
5659
  return e === 10 || e === 13;
5636
5660
  }
5637
- function Sc(e) {
5661
+ function Cc(e) {
5638
5662
  return e === 9 || e === 32;
5639
5663
  }
5640
5664
  function Y(e) {
5641
5665
  return e === 9 || e === 32 || e === 10 || e === 13;
5642
5666
  }
5643
- function Cc(e) {
5667
+ function wc(e) {
5644
5668
  return e === 44 || e === 91 || e === 93 || e === 123 || e === 125;
5645
5669
  }
5646
- function wc(e) {
5670
+ function Tc(e) {
5647
5671
  var t;
5648
5672
  return 48 <= e && e <= 57 ? e - 48 : (t = e | 32, 97 <= t && t <= 102 ? t - 97 + 10 : -1);
5649
5673
  }
5650
- function Tc(e) {
5674
+ function Ec(e) {
5651
5675
  return e === 120 ? 2 : e === 117 ? 4 : e === 85 ? 8 : 0;
5652
5676
  }
5653
- function Ec(e) {
5677
+ function Dc(e) {
5654
5678
  return 48 <= e && e <= 57 ? e - 48 : -1;
5655
5679
  }
5656
- function Dc(e) {
5680
+ function Oc(e) {
5657
5681
  return e === 48 ? "\0" : e === 97 ? "\x07" : e === 98 ? "\b" : e === 116 || e === 9 ? " " : e === 110 ? "\n" : e === 118 ? "\v" : e === 102 ? "\f" : e === 114 ? "\r" : e === 101 ? "\x1B" : e === 32 ? " " : e === 34 ? "\"" : e === 47 ? "/" : e === 92 ? "\\" : e === 78 ? "…" : e === 95 ? "\xA0" : e === 76 ? "\u2028" : e === 80 ? "\u2029" : "";
5658
5682
  }
5659
- function Oc(e) {
5683
+ function kc(e) {
5660
5684
  return e <= 65535 ? String.fromCharCode(e) : String.fromCharCode((e - 65536 >> 10) + 55296, (e - 65536 & 1023) + 56320);
5661
5685
  }
5662
- function kc(e, t, n) {
5686
+ function Ac(e, t, n) {
5663
5687
  t === "__proto__" ? Object.defineProperty(e, t, {
5664
5688
  configurable: !0,
5665
5689
  enumerable: !0,
@@ -5667,11 +5691,11 @@ function kc(e, t, n) {
5667
5691
  value: n
5668
5692
  }) : e[t] = n;
5669
5693
  }
5670
- for (var Ac = Array(256), jc = Array(256), Mc = 0; Mc < 256; Mc++) Ac[Mc] = +!!Dc(Mc), jc[Mc] = Dc(Mc);
5671
- function Nc(e, t) {
5672
- this.input = e, this.filename = t.filename || null, this.schema = t.schema || oc, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
5673
- }
5694
+ for (var jc = Array(256), Mc = Array(256), Nc = 0; Nc < 256; Nc++) jc[Nc] = +!!Oc(Nc), Mc[Nc] = Oc(Nc);
5674
5695
  function Pc(e, t) {
5696
+ this.input = e, this.filename = t.filename || null, this.schema = t.schema || sc, this.onWarning = t.onWarning || null, this.legacy = t.legacy || !1, this.json = t.json || !1, this.listener = t.listener || null, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = e.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.firstTabInLine = -1, this.documents = [];
5697
+ }
5698
+ function Fc(e, t) {
5675
5699
  var n = {
5676
5700
  name: e.filename,
5677
5701
  buffer: e.input.slice(0, -1),
@@ -5679,22 +5703,22 @@ function Pc(e, t) {
5679
5703
  line: e.line,
5680
5704
  column: e.position - e.lineStart
5681
5705
  };
5682
- return n.snippet = ts(n), new q(t, n);
5706
+ return n.snippet = ns(n), new q(t, n);
5683
5707
  }
5684
5708
  function X(e, t) {
5685
- throw Pc(e, t);
5709
+ throw Fc(e, t);
5686
5710
  }
5687
- function Fc(e, t) {
5688
- e.onWarning && e.onWarning.call(null, Pc(e, t));
5711
+ function Ic(e, t) {
5712
+ e.onWarning && e.onWarning.call(null, Fc(e, t));
5689
5713
  }
5690
- var Ic = {
5714
+ var Lc = {
5691
5715
  YAML: function(e, t, n) {
5692
5716
  var r, i, a;
5693
- e.version !== null && X(e, "duplication of %YAML directive"), n.length !== 1 && X(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && X(e, "ill-formed argument of the YAML directive"), i = parseInt(r[1], 10), a = parseInt(r[2], 10), i !== 1 && X(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = a < 2, a !== 1 && a !== 2 && Fc(e, "unsupported YAML version of the document");
5717
+ e.version !== null && X(e, "duplication of %YAML directive"), n.length !== 1 && X(e, "YAML directive accepts exactly one argument"), r = /^([0-9]+)\.([0-9]+)$/.exec(n[0]), r === null && X(e, "ill-formed argument of the YAML directive"), i = parseInt(r[1], 10), a = parseInt(r[2], 10), i !== 1 && X(e, "unacceptable YAML version of the document"), e.version = n[0], e.checkLineBreaks = a < 2, a !== 1 && a !== 2 && Ic(e, "unsupported YAML version of the document");
5694
5718
  },
5695
5719
  TAG: function(e, t, n) {
5696
5720
  var r, i;
5697
- n.length !== 2 && X(e, "TAG directive accepts exactly two arguments"), r = n[0], i = n[1], vc.test(r) || X(e, "ill-formed tag handle (first argument) of the TAG directive"), sc.call(e.tagMap, r) && X(e, "there is a previously declared suffix for \"" + r + "\" tag handle"), yc.test(i) || X(e, "ill-formed tag prefix (second argument) of the TAG directive");
5721
+ n.length !== 2 && X(e, "TAG directive accepts exactly two arguments"), r = n[0], i = n[1], yc.test(r) || X(e, "ill-formed tag handle (first argument) of the TAG directive"), cc.call(e.tagMap, r) && X(e, "there is a previously declared suffix for \"" + r + "\" tag handle"), bc.test(i) || X(e, "ill-formed tag prefix (second argument) of the TAG directive");
5698
5722
  try {
5699
5723
  i = decodeURIComponent(i);
5700
5724
  } catch {
@@ -5703,134 +5727,134 @@ var Ic = {
5703
5727
  e.tagMap[r] = i;
5704
5728
  }
5705
5729
  };
5706
- function Lc(e, t, n, r) {
5730
+ function Rc(e, t, n, r) {
5707
5731
  var i, a, o, s;
5708
5732
  if (t < n) {
5709
5733
  if (s = e.input.slice(t, n), r) for (i = 0, a = s.length; i < a; i += 1) o = s.charCodeAt(i), o === 9 || 32 <= o && o <= 1114111 || X(e, "expected valid JSON character");
5710
- else hc.test(s) && X(e, "the stream contains non-printable characters");
5734
+ else gc.test(s) && X(e, "the stream contains non-printable characters");
5711
5735
  e.result += s;
5712
5736
  }
5713
5737
  }
5714
- function Rc(e, t, n, r) {
5738
+ function zc(e, t, n, r) {
5715
5739
  var i, a, o, s;
5716
- for (K.isObject(n) || X(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(n), o = 0, s = i.length; o < s; o += 1) a = i[o], sc.call(t, a) || (kc(t, a, n[a]), r[a] = !0);
5740
+ for (K.isObject(n) || X(e, "cannot merge mappings; the provided source object is unacceptable"), i = Object.keys(n), o = 0, s = i.length; o < s; o += 1) a = i[o], cc.call(t, a) || (Ac(t, a, n[a]), r[a] = !0);
5717
5741
  }
5718
- function zc(e, t, n, r, i, a, o, s, c) {
5742
+ function Bc(e, t, n, r, i, a, o, s, c) {
5719
5743
  var l, u;
5720
- if (Array.isArray(i)) for (i = Array.prototype.slice.call(i), l = 0, u = i.length; l < u; l += 1) Array.isArray(i[l]) && X(e, "nested arrays are not supported inside keys"), typeof i == "object" && bc(i[l]) === "[object Object]" && (i[l] = "[object Object]");
5721
- if (typeof i == "object" && bc(i) === "[object Object]" && (i = "[object Object]"), i = String(i), t === null && (t = {}), r === "tag:yaml.org,2002:merge") if (Array.isArray(a)) for (l = 0, u = a.length; l < u; l += 1) Rc(e, t, a[l], n);
5722
- else Rc(e, t, a, n);
5723
- else !e.json && !sc.call(n, i) && sc.call(t, i) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = c || e.position, X(e, "duplicated mapping key")), kc(t, i, a), delete n[i];
5744
+ if (Array.isArray(i)) for (i = Array.prototype.slice.call(i), l = 0, u = i.length; l < u; l += 1) Array.isArray(i[l]) && X(e, "nested arrays are not supported inside keys"), typeof i == "object" && xc(i[l]) === "[object Object]" && (i[l] = "[object Object]");
5745
+ if (typeof i == "object" && xc(i) === "[object Object]" && (i = "[object Object]"), i = String(i), t === null && (t = {}), r === "tag:yaml.org,2002:merge") if (Array.isArray(a)) for (l = 0, u = a.length; l < u; l += 1) zc(e, t, a[l], n);
5746
+ else zc(e, t, a, n);
5747
+ else !e.json && !cc.call(n, i) && cc.call(t, i) && (e.line = o || e.line, e.lineStart = s || e.lineStart, e.position = c || e.position, X(e, "duplicated mapping key")), Ac(t, i, a), delete n[i];
5724
5748
  return t;
5725
5749
  }
5726
- function Bc(e) {
5750
+ function Vc(e) {
5727
5751
  var t = e.input.charCodeAt(e.position);
5728
5752
  t === 10 ? e.position++ : t === 13 ? (e.position++, e.input.charCodeAt(e.position) === 10 && e.position++) : X(e, "a line break is expected"), e.line += 1, e.lineStart = e.position, e.firstTabInLine = -1;
5729
5753
  }
5730
5754
  function Z(e, t, n) {
5731
5755
  for (var r = 0, i = e.input.charCodeAt(e.position); i !== 0;) {
5732
- for (; Sc(i);) i === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), i = e.input.charCodeAt(++e.position);
5756
+ for (; Cc(i);) i === 9 && e.firstTabInLine === -1 && (e.firstTabInLine = e.position), i = e.input.charCodeAt(++e.position);
5733
5757
  if (t && i === 35) do
5734
5758
  i = e.input.charCodeAt(++e.position);
5735
5759
  while (i !== 10 && i !== 13 && i !== 0);
5736
- if (xc(i)) for (Bc(e), i = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; i === 32;) e.lineIndent++, i = e.input.charCodeAt(++e.position);
5760
+ if (Sc(i)) for (Vc(e), i = e.input.charCodeAt(e.position), r++, e.lineIndent = 0; i === 32;) e.lineIndent++, i = e.input.charCodeAt(++e.position);
5737
5761
  else break;
5738
5762
  }
5739
- return n !== -1 && r !== 0 && e.lineIndent < n && Fc(e, "deficient indentation"), r;
5763
+ return n !== -1 && r !== 0 && e.lineIndent < n && Ic(e, "deficient indentation"), r;
5740
5764
  }
5741
- function Vc(e) {
5765
+ function Hc(e) {
5742
5766
  var t = e.position, n = e.input.charCodeAt(t);
5743
5767
  return !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || Y(n)));
5744
5768
  }
5745
- function Hc(e, t) {
5769
+ function Uc(e, t) {
5746
5770
  t === 1 ? e.result += " " : t > 1 && (e.result += K.repeat("\n", t - 1));
5747
5771
  }
5748
- function Uc(e, t, n) {
5772
+ function Wc(e, t, n) {
5749
5773
  var r, i, a, o, s, c, l, u, d = e.kind, f = e.result, p = e.input.charCodeAt(e.position);
5750
- if (Y(p) || Cc(p) || p === 35 || p === 38 || p === 42 || p === 33 || p === 124 || p === 62 || p === 39 || p === 34 || p === 37 || p === 64 || p === 96 || (p === 63 || p === 45) && (i = e.input.charCodeAt(e.position + 1), Y(i) || n && Cc(i))) return !1;
5774
+ if (Y(p) || wc(p) || p === 35 || p === 38 || p === 42 || p === 33 || p === 124 || p === 62 || p === 39 || p === 34 || p === 37 || p === 64 || p === 96 || (p === 63 || p === 45) && (i = e.input.charCodeAt(e.position + 1), Y(i) || n && wc(i))) return !1;
5751
5775
  for (e.kind = "scalar", e.result = "", a = o = e.position, s = !1; p !== 0;) {
5752
5776
  if (p === 58) {
5753
- if (i = e.input.charCodeAt(e.position + 1), Y(i) || n && Cc(i)) break;
5777
+ if (i = e.input.charCodeAt(e.position + 1), Y(i) || n && wc(i)) break;
5754
5778
  } else if (p === 35) {
5755
5779
  if (r = e.input.charCodeAt(e.position - 1), Y(r)) break;
5756
- } else if (e.position === e.lineStart && Vc(e) || n && Cc(p)) break;
5757
- else if (xc(p)) if (c = e.line, l = e.lineStart, u = e.lineIndent, Z(e, !1, -1), e.lineIndent >= t) {
5780
+ } else if (e.position === e.lineStart && Hc(e) || n && wc(p)) break;
5781
+ else if (Sc(p)) if (c = e.line, l = e.lineStart, u = e.lineIndent, Z(e, !1, -1), e.lineIndent >= t) {
5758
5782
  s = !0, p = e.input.charCodeAt(e.position);
5759
5783
  continue;
5760
5784
  } else {
5761
5785
  e.position = o, e.line = c, e.lineStart = l, e.lineIndent = u;
5762
5786
  break;
5763
5787
  }
5764
- s && (s = (Lc(e, a, o, !1), Hc(e, e.line - c), a = o = e.position, !1)), Sc(p) || (o = e.position + 1), p = e.input.charCodeAt(++e.position);
5788
+ s && (s = (Rc(e, a, o, !1), Uc(e, e.line - c), a = o = e.position, !1)), Cc(p) || (o = e.position + 1), p = e.input.charCodeAt(++e.position);
5765
5789
  }
5766
- return Lc(e, a, o, !1), e.result ? !0 : (e.kind = d, e.result = f, !1);
5790
+ return Rc(e, a, o, !1), e.result ? !0 : (e.kind = d, e.result = f, !1);
5767
5791
  }
5768
- function Wc(e, t) {
5792
+ function Gc(e, t) {
5769
5793
  var n = e.input.charCodeAt(e.position), r, i;
5770
5794
  if (n !== 39) return !1;
5771
- for (e.kind = "scalar", e.result = "", e.position++, r = i = e.position; (n = e.input.charCodeAt(e.position)) !== 0;) if (n === 39) if (Lc(e, r, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39) r = e.position, e.position++, i = e.position;
5795
+ for (e.kind = "scalar", e.result = "", e.position++, r = i = e.position; (n = e.input.charCodeAt(e.position)) !== 0;) if (n === 39) if (Rc(e, r, e.position, !0), n = e.input.charCodeAt(++e.position), n === 39) r = e.position, e.position++, i = e.position;
5772
5796
  else return !0;
5773
- else xc(n) ? (Lc(e, r, i, !0), Hc(e, Z(e, !1, t)), r = i = e.position) : e.position === e.lineStart && Vc(e) ? X(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
5797
+ else Sc(n) ? (Rc(e, r, i, !0), Uc(e, Z(e, !1, t)), r = i = e.position) : e.position === e.lineStart && Hc(e) ? X(e, "unexpected end of the document within a single quoted scalar") : (e.position++, i = e.position);
5774
5798
  X(e, "unexpected end of the stream within a single quoted scalar");
5775
5799
  }
5776
- function Gc(e, t) {
5800
+ function Kc(e, t) {
5777
5801
  var n, r, i, a, o, s = e.input.charCodeAt(e.position);
5778
5802
  if (s !== 34) return !1;
5779
- for (e.kind = "scalar", e.result = "", e.position++, n = r = e.position; (s = e.input.charCodeAt(e.position)) !== 0;) if (s === 34) return Lc(e, n, e.position, !0), e.position++, !0;
5803
+ for (e.kind = "scalar", e.result = "", e.position++, n = r = e.position; (s = e.input.charCodeAt(e.position)) !== 0;) if (s === 34) return Rc(e, n, e.position, !0), e.position++, !0;
5780
5804
  else if (s === 92) {
5781
- if (Lc(e, n, e.position, !0), s = e.input.charCodeAt(++e.position), xc(s)) Z(e, !1, t);
5782
- else if (s < 256 && Ac[s]) e.result += jc[s], e.position++;
5783
- else if ((o = Tc(s)) > 0) {
5784
- for (i = o, a = 0; i > 0; i--) s = e.input.charCodeAt(++e.position), (o = wc(s)) >= 0 ? a = (a << 4) + o : X(e, "expected hexadecimal character");
5785
- e.result += Oc(a), e.position++;
5805
+ if (Rc(e, n, e.position, !0), s = e.input.charCodeAt(++e.position), Sc(s)) Z(e, !1, t);
5806
+ else if (s < 256 && jc[s]) e.result += Mc[s], e.position++;
5807
+ else if ((o = Ec(s)) > 0) {
5808
+ for (i = o, a = 0; i > 0; i--) s = e.input.charCodeAt(++e.position), (o = Tc(s)) >= 0 ? a = (a << 4) + o : X(e, "expected hexadecimal character");
5809
+ e.result += kc(a), e.position++;
5786
5810
  } else X(e, "unknown escape sequence");
5787
5811
  n = r = e.position;
5788
- } else xc(s) ? (Lc(e, n, r, !0), Hc(e, Z(e, !1, t)), n = r = e.position) : e.position === e.lineStart && Vc(e) ? X(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
5812
+ } else Sc(s) ? (Rc(e, n, r, !0), Uc(e, Z(e, !1, t)), n = r = e.position) : e.position === e.lineStart && Hc(e) ? X(e, "unexpected end of the document within a double quoted scalar") : (e.position++, r = e.position);
5789
5813
  X(e, "unexpected end of the stream within a double quoted scalar");
5790
5814
  }
5791
- function Kc(e, t) {
5815
+ function qc(e, t) {
5792
5816
  var n = !0, r, i, a, o = e.tag, s, c = e.anchor, l, u, d, f, p, m = Object.create(null), h, g, _, v = e.input.charCodeAt(e.position);
5793
5817
  if (v === 91) u = 93, p = !1, s = [];
5794
5818
  else if (v === 123) u = 125, p = !0, s = {};
5795
5819
  else return !1;
5796
5820
  for (e.anchor !== null && (e.anchorMap[e.anchor] = s), v = e.input.charCodeAt(++e.position); v !== 0;) {
5797
5821
  if (Z(e, !0, t), v = e.input.charCodeAt(e.position), v === u) return e.position++, e.tag = o, e.anchor = c, e.kind = p ? "mapping" : "sequence", e.result = s, !0;
5798
- n ? v === 44 && X(e, "expected the node content, but found ','") : X(e, "missed comma between flow collection entries"), g = h = _ = null, d = f = !1, v === 63 && (l = e.input.charCodeAt(e.position + 1), Y(l) && (d = f = !0, e.position++, Z(e, !0, t))), r = e.line, i = e.lineStart, a = e.position, $c(e, t, cc, !1, !0), g = e.tag, h = e.result, Z(e, !0, t), v = e.input.charCodeAt(e.position), (f || e.line === r) && v === 58 && (d = !0, v = e.input.charCodeAt(++e.position), Z(e, !0, t), $c(e, t, cc, !1, !0), _ = e.result), p ? zc(e, s, m, g, h, _, r, i, a) : d ? s.push(zc(e, null, m, g, h, _, r, i, a)) : s.push(h), Z(e, !0, t), v = e.input.charCodeAt(e.position), v === 44 ? (n = !0, v = e.input.charCodeAt(++e.position)) : n = !1;
5822
+ n ? v === 44 && X(e, "expected the node content, but found ','") : X(e, "missed comma between flow collection entries"), g = h = _ = null, d = f = !1, v === 63 && (l = e.input.charCodeAt(e.position + 1), Y(l) && (d = f = !0, e.position++, Z(e, !0, t))), r = e.line, i = e.lineStart, a = e.position, el(e, t, lc, !1, !0), g = e.tag, h = e.result, Z(e, !0, t), v = e.input.charCodeAt(e.position), (f || e.line === r) && v === 58 && (d = !0, v = e.input.charCodeAt(++e.position), Z(e, !0, t), el(e, t, lc, !1, !0), _ = e.result), p ? Bc(e, s, m, g, h, _, r, i, a) : d ? s.push(Bc(e, null, m, g, h, _, r, i, a)) : s.push(h), Z(e, !0, t), v = e.input.charCodeAt(e.position), v === 44 ? (n = !0, v = e.input.charCodeAt(++e.position)) : n = !1;
5799
5823
  }
5800
5824
  X(e, "unexpected end of the stream within a flow collection");
5801
5825
  }
5802
- function qc(e, t) {
5803
- var n, r, i = fc, a = !1, o = !1, s = t, c = 0, l = !1, u, d = e.input.charCodeAt(e.position);
5826
+ function Jc(e, t) {
5827
+ var n, r, i = pc, a = !1, o = !1, s = t, c = 0, l = !1, u, d = e.input.charCodeAt(e.position);
5804
5828
  if (d === 124) r = !1;
5805
5829
  else if (d === 62) r = !0;
5806
5830
  else return !1;
5807
- for (e.kind = "scalar", e.result = ""; d !== 0;) if (d = e.input.charCodeAt(++e.position), d === 43 || d === 45) fc === i ? i = d === 43 ? mc : pc : X(e, "repeat of a chomping mode identifier");
5808
- else if ((u = Ec(d)) >= 0) u === 0 ? X(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? X(e, "repeat of an indentation width identifier") : (s = t + u - 1, o = !0);
5831
+ for (e.kind = "scalar", e.result = ""; d !== 0;) if (d = e.input.charCodeAt(++e.position), d === 43 || d === 45) pc === i ? i = d === 43 ? hc : mc : X(e, "repeat of a chomping mode identifier");
5832
+ else if ((u = Dc(d)) >= 0) u === 0 ? X(e, "bad explicit indentation width of a block scalar; it cannot be less than one") : o ? X(e, "repeat of an indentation width identifier") : (s = t + u - 1, o = !0);
5809
5833
  else break;
5810
- if (Sc(d)) {
5834
+ if (Cc(d)) {
5811
5835
  do
5812
5836
  d = e.input.charCodeAt(++e.position);
5813
- while (Sc(d));
5837
+ while (Cc(d));
5814
5838
  if (d === 35) do
5815
5839
  d = e.input.charCodeAt(++e.position);
5816
- while (!xc(d) && d !== 0);
5840
+ while (!Sc(d) && d !== 0);
5817
5841
  }
5818
5842
  for (; d !== 0;) {
5819
- for (Bc(e), e.lineIndent = 0, d = e.input.charCodeAt(e.position); (!o || e.lineIndent < s) && d === 32;) e.lineIndent++, d = e.input.charCodeAt(++e.position);
5820
- if (!o && e.lineIndent > s && (s = e.lineIndent), xc(d)) {
5843
+ for (Vc(e), e.lineIndent = 0, d = e.input.charCodeAt(e.position); (!o || e.lineIndent < s) && d === 32;) e.lineIndent++, d = e.input.charCodeAt(++e.position);
5844
+ if (!o && e.lineIndent > s && (s = e.lineIndent), Sc(d)) {
5821
5845
  c++;
5822
5846
  continue;
5823
5847
  }
5824
5848
  if (e.lineIndent < s) {
5825
- i === mc ? e.result += K.repeat("\n", a ? 1 + c : c) : i === fc && a && (e.result += "\n");
5849
+ i === hc ? e.result += K.repeat("\n", a ? 1 + c : c) : i === pc && a && (e.result += "\n");
5826
5850
  break;
5827
5851
  }
5828
- for (r ? Sc(d) ? (l = !0, e.result += K.repeat("\n", a ? 1 + c : c)) : l ? (l = !1, e.result += K.repeat("\n", c + 1)) : c === 0 ? a && (e.result += " ") : e.result += K.repeat("\n", c) : e.result += K.repeat("\n", a ? 1 + c : c), a = !0, o = !0, c = 0, n = e.position; !xc(d) && d !== 0;) d = e.input.charCodeAt(++e.position);
5829
- Lc(e, n, e.position, !1);
5852
+ for (r ? Cc(d) ? (l = !0, e.result += K.repeat("\n", a ? 1 + c : c)) : l ? (l = !1, e.result += K.repeat("\n", c + 1)) : c === 0 ? a && (e.result += " ") : e.result += K.repeat("\n", c) : e.result += K.repeat("\n", a ? 1 + c : c), a = !0, o = !0, c = 0, n = e.position; !Sc(d) && d !== 0;) d = e.input.charCodeAt(++e.position);
5853
+ Rc(e, n, e.position, !1);
5830
5854
  }
5831
5855
  return !0;
5832
5856
  }
5833
- function Jc(e, t) {
5857
+ function Yc(e, t) {
5834
5858
  var n, r = e.tag, i = e.anchor, a = [], o, s = !1, c;
5835
5859
  if (e.firstTabInLine !== -1) return !1;
5836
5860
  for (e.anchor !== null && (e.anchorMap[e.anchor] = a), c = e.input.charCodeAt(e.position); c !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, X(e, "tab characters must not be used in indentation")), !(c !== 45 || (o = e.input.charCodeAt(e.position + 1), !Y(o))));) {
@@ -5838,32 +5862,32 @@ function Jc(e, t) {
5838
5862
  a.push(null), c = e.input.charCodeAt(e.position);
5839
5863
  continue;
5840
5864
  }
5841
- if (n = e.line, $c(e, t, uc, !1, !0), a.push(e.result), Z(e, !0, -1), c = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && c !== 0) X(e, "bad indentation of a sequence entry");
5865
+ if (n = e.line, el(e, t, dc, !1, !0), a.push(e.result), Z(e, !0, -1), c = e.input.charCodeAt(e.position), (e.line === n || e.lineIndent > t) && c !== 0) X(e, "bad indentation of a sequence entry");
5842
5866
  else if (e.lineIndent < t) break;
5843
5867
  }
5844
5868
  return s ? (e.tag = r, e.anchor = i, e.kind = "sequence", e.result = a, !0) : !1;
5845
5869
  }
5846
- function Yc(e, t, n) {
5870
+ function Xc(e, t, n) {
5847
5871
  var r, i, a, o, s, c, l = e.tag, u = e.anchor, d = {}, f = Object.create(null), p = null, m = null, h = null, g = !1, _ = !1, v;
5848
5872
  if (e.firstTabInLine !== -1) return !1;
5849
5873
  for (e.anchor !== null && (e.anchorMap[e.anchor] = d), v = e.input.charCodeAt(e.position); v !== 0;) {
5850
- if (!g && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, X(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (v === 63 || v === 58) && Y(r)) v === 63 ? (g && (zc(e, d, f, p, m, null, o, s, c), p = m = h = null), _ = !0, g = !0, i = !0) : g ? (g = !1, i = !0) : X(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, v = r;
5874
+ if (!g && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, X(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (v === 63 || v === 58) && Y(r)) v === 63 ? (g && (Bc(e, d, f, p, m, null, o, s, c), p = m = h = null), _ = !0, g = !0, i = !0) : g ? (g = !1, i = !0) : X(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, v = r;
5851
5875
  else {
5852
- if (o = e.line, s = e.lineStart, c = e.position, !$c(e, n, lc, !1, !0)) break;
5876
+ if (o = e.line, s = e.lineStart, c = e.position, !el(e, n, uc, !1, !0)) break;
5853
5877
  if (e.line === a) {
5854
- for (v = e.input.charCodeAt(e.position); Sc(v);) v = e.input.charCodeAt(++e.position);
5855
- if (v === 58) v = e.input.charCodeAt(++e.position), Y(v) || X(e, "a whitespace character is expected after the key-value separator within a block mapping"), g && (zc(e, d, f, p, m, null, o, s, c), p = m = h = null), _ = !0, g = !1, i = !1, p = e.tag, m = e.result;
5878
+ for (v = e.input.charCodeAt(e.position); Cc(v);) v = e.input.charCodeAt(++e.position);
5879
+ if (v === 58) v = e.input.charCodeAt(++e.position), Y(v) || X(e, "a whitespace character is expected after the key-value separator within a block mapping"), g && (Bc(e, d, f, p, m, null, o, s, c), p = m = h = null), _ = !0, g = !1, i = !1, p = e.tag, m = e.result;
5856
5880
  else if (_) X(e, "can not read an implicit mapping pair; a colon is missed");
5857
5881
  else return e.tag = l, e.anchor = u, !0;
5858
5882
  } else if (_) X(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
5859
5883
  else return e.tag = l, e.anchor = u, !0;
5860
5884
  }
5861
- if ((e.line === a || e.lineIndent > t) && (g && (o = e.line, s = e.lineStart, c = e.position), $c(e, t, dc, !0, i) && (g ? m = e.result : h = e.result), g || (zc(e, d, f, p, m, h, o, s, c), p = m = h = null), Z(e, !0, -1), v = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > t) && v !== 0) X(e, "bad indentation of a mapping entry");
5885
+ if ((e.line === a || e.lineIndent > t) && (g && (o = e.line, s = e.lineStart, c = e.position), el(e, t, fc, !0, i) && (g ? m = e.result : h = e.result), g || (Bc(e, d, f, p, m, h, o, s, c), p = m = h = null), Z(e, !0, -1), v = e.input.charCodeAt(e.position)), (e.line === a || e.lineIndent > t) && v !== 0) X(e, "bad indentation of a mapping entry");
5862
5886
  else if (e.lineIndent < t) break;
5863
5887
  }
5864
- return g && zc(e, d, f, p, m, null, o, s, c), _ && (e.tag = l, e.anchor = u, e.kind = "mapping", e.result = d), _;
5888
+ return g && Bc(e, d, f, p, m, null, o, s, c), _ && (e.tag = l, e.anchor = u, e.kind = "mapping", e.result = d), _;
5865
5889
  }
5866
- function Xc(e) {
5890
+ function Zc(e) {
5867
5891
  var t, n = !1, r = !1, i, a, o = e.input.charCodeAt(e.position);
5868
5892
  if (o !== 33) return !1;
5869
5893
  if (e.tag !== null && X(e, "duplication of a tag property"), o = e.input.charCodeAt(++e.position), o === 60 ? (n = !0, o = e.input.charCodeAt(++e.position)) : o === 33 ? (r = !0, i = "!!", o = e.input.charCodeAt(++e.position)) : i = "!", t = e.position, n) {
@@ -5872,40 +5896,40 @@ function Xc(e) {
5872
5896
  while (o !== 0 && o !== 62);
5873
5897
  e.position < e.length ? (a = e.input.slice(t, e.position), o = e.input.charCodeAt(++e.position)) : X(e, "unexpected end of the stream within a verbatim tag");
5874
5898
  } else {
5875
- for (; o !== 0 && !Y(o);) o === 33 && (r ? X(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), vc.test(i) || X(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
5876
- a = e.input.slice(t, e.position), _c.test(a) && X(e, "tag suffix cannot contain flow indicator characters");
5899
+ for (; o !== 0 && !Y(o);) o === 33 && (r ? X(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), yc.test(i) || X(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), o = e.input.charCodeAt(++e.position);
5900
+ a = e.input.slice(t, e.position), vc.test(a) && X(e, "tag suffix cannot contain flow indicator characters");
5877
5901
  }
5878
- a && !yc.test(a) && X(e, "tag name cannot contain such characters: " + a);
5902
+ a && !bc.test(a) && X(e, "tag name cannot contain such characters: " + a);
5879
5903
  try {
5880
5904
  a = decodeURIComponent(a);
5881
5905
  } catch {
5882
5906
  X(e, "tag name is malformed: " + a);
5883
5907
  }
5884
- return n ? e.tag = a : sc.call(e.tagMap, i) ? e.tag = e.tagMap[i] + a : i === "!" ? e.tag = "!" + a : i === "!!" ? e.tag = "tag:yaml.org,2002:" + a : X(e, "undeclared tag handle \"" + i + "\""), !0;
5908
+ return n ? e.tag = a : cc.call(e.tagMap, i) ? e.tag = e.tagMap[i] + a : i === "!" ? e.tag = "!" + a : i === "!!" ? e.tag = "tag:yaml.org,2002:" + a : X(e, "undeclared tag handle \"" + i + "\""), !0;
5885
5909
  }
5886
- function Zc(e) {
5910
+ function Qc(e) {
5887
5911
  var t, n = e.input.charCodeAt(e.position);
5888
5912
  if (n !== 38) return !1;
5889
- for (e.anchor !== null && X(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !Y(n) && !Cc(n);) n = e.input.charCodeAt(++e.position);
5913
+ for (e.anchor !== null && X(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !Y(n) && !wc(n);) n = e.input.charCodeAt(++e.position);
5890
5914
  return e.position === t && X(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
5891
5915
  }
5892
- function Qc(e) {
5916
+ function $c(e) {
5893
5917
  var t, n, r = e.input.charCodeAt(e.position);
5894
5918
  if (r !== 42) return !1;
5895
- for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !Y(r) && !Cc(r);) r = e.input.charCodeAt(++e.position);
5896
- return e.position === t && X(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), sc.call(e.anchorMap, n) || X(e, "unidentified alias \"" + n + "\""), e.result = e.anchorMap[n], Z(e, !0, -1), !0;
5919
+ for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !Y(r) && !wc(r);) r = e.input.charCodeAt(++e.position);
5920
+ return e.position === t && X(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), cc.call(e.anchorMap, n) || X(e, "unidentified alias \"" + n + "\""), e.result = e.anchorMap[n], Z(e, !0, -1), !0;
5897
5921
  }
5898
- function $c(e, t, n, r, i) {
5922
+ function el(e, t, n, r, i) {
5899
5923
  var a, o, s, c = 1, l = !1, u = !1, d, f, p, m, h, g;
5900
- if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = o = s = dc === n || uc === n, r && Z(e, !0, -1) && (l = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1) for (; Xc(e) || Zc(e);) Z(e, !0, -1) ? (l = !0, s = a, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)) : s = !1;
5901
- if (s && (s = l || i), (c === 1 || dc === n) && (h = cc === n || lc === n ? t : t + 1, g = e.position - e.lineStart, c === 1 ? s && (Jc(e, g) || Yc(e, g, h)) || Kc(e, h) ? u = !0 : (o && qc(e, h) || Wc(e, h) || Gc(e, h) ? u = !0 : Qc(e) ? (u = !0, (e.tag !== null || e.anchor !== null) && X(e, "alias node should not have any properties")) : Uc(e, h, cc === n) && (u = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (u = s && Jc(e, g))), e.tag === null) e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
5924
+ if (e.listener !== null && e.listener("open", e), e.tag = null, e.anchor = null, e.kind = null, e.result = null, a = o = s = fc === n || dc === n, r && Z(e, !0, -1) && (l = !0, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)), c === 1) for (; Zc(e) || Qc(e);) Z(e, !0, -1) ? (l = !0, s = a, e.lineIndent > t ? c = 1 : e.lineIndent === t ? c = 0 : e.lineIndent < t && (c = -1)) : s = !1;
5925
+ if (s && (s = l || i), (c === 1 || fc === n) && (h = lc === n || uc === n ? t : t + 1, g = e.position - e.lineStart, c === 1 ? s && (Yc(e, g) || Xc(e, g, h)) || qc(e, h) ? u = !0 : (o && Jc(e, h) || Gc(e, h) || Kc(e, h) ? u = !0 : $c(e) ? (u = !0, (e.tag !== null || e.anchor !== null) && X(e, "alias node should not have any properties")) : Wc(e, h, lc === n) && (u = !0, e.tag === null && (e.tag = "?")), e.anchor !== null && (e.anchorMap[e.anchor] = e.result)) : c === 0 && (u = s && Yc(e, g))), e.tag === null) e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
5902
5926
  else if (e.tag === "?") {
5903
5927
  for (e.result !== null && e.kind !== "scalar" && X(e, "unacceptable node kind for !<?> tag; it should be \"scalar\", not \"" + e.kind + "\""), d = 0, f = e.implicitTypes.length; d < f; d += 1) if (m = e.implicitTypes[d], m.resolve(e.result)) {
5904
5928
  e.result = m.construct(e.result), e.tag = m.tag, e.anchor !== null && (e.anchorMap[e.anchor] = e.result);
5905
5929
  break;
5906
5930
  }
5907
5931
  } else if (e.tag !== "!") {
5908
- if (sc.call(e.typeMap[e.kind || "fallback"], e.tag)) m = e.typeMap[e.kind || "fallback"][e.tag];
5932
+ if (cc.call(e.typeMap[e.kind || "fallback"], e.tag)) m = e.typeMap[e.kind || "fallback"][e.tag];
5909
5933
  else for (m = null, p = e.typeMap.multi[e.kind || "fallback"], d = 0, f = p.length; d < f; d += 1) if (e.tag.slice(0, p[d].tag.length) === p[d].tag) {
5910
5934
  m = p[d];
5911
5935
  break;
@@ -5914,57 +5938,57 @@ function $c(e, t, n, r, i) {
5914
5938
  }
5915
5939
  return e.listener !== null && e.listener("close", e), e.tag !== null || e.anchor !== null || u;
5916
5940
  }
5917
- function el(e) {
5941
+ function tl(e) {
5918
5942
  var t = e.position, n, r, i, a = !1, o;
5919
5943
  for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = Object.create(null), e.anchorMap = Object.create(null); (o = e.input.charCodeAt(e.position)) !== 0 && (Z(e, !0, -1), o = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || o !== 37));) {
5920
5944
  for (a = !0, o = e.input.charCodeAt(++e.position), n = e.position; o !== 0 && !Y(o);) o = e.input.charCodeAt(++e.position);
5921
5945
  for (r = e.input.slice(n, e.position), i = [], r.length < 1 && X(e, "directive name must not be less than one character in length"); o !== 0;) {
5922
- for (; Sc(o);) o = e.input.charCodeAt(++e.position);
5946
+ for (; Cc(o);) o = e.input.charCodeAt(++e.position);
5923
5947
  if (o === 35) {
5924
5948
  do
5925
5949
  o = e.input.charCodeAt(++e.position);
5926
- while (o !== 0 && !xc(o));
5950
+ while (o !== 0 && !Sc(o));
5927
5951
  break;
5928
5952
  }
5929
- if (xc(o)) break;
5953
+ if (Sc(o)) break;
5930
5954
  for (n = e.position; o !== 0 && !Y(o);) o = e.input.charCodeAt(++e.position);
5931
5955
  i.push(e.input.slice(n, e.position));
5932
5956
  }
5933
- o !== 0 && Bc(e), sc.call(Ic, r) ? Ic[r](e, r, i) : Fc(e, "unknown document directive \"" + r + "\"");
5957
+ o !== 0 && Vc(e), cc.call(Lc, r) ? Lc[r](e, r, i) : Ic(e, "unknown document directive \"" + r + "\"");
5934
5958
  }
5935
- if (Z(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, Z(e, !0, -1)) : a && X(e, "directives end mark is expected"), $c(e, e.lineIndent - 1, dc, !1, !0), Z(e, !0, -1), e.checkLineBreaks && gc.test(e.input.slice(t, e.position)) && Fc(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Vc(e)) {
5959
+ if (Z(e, !0, -1), e.lineIndent === 0 && e.input.charCodeAt(e.position) === 45 && e.input.charCodeAt(e.position + 1) === 45 && e.input.charCodeAt(e.position + 2) === 45 ? (e.position += 3, Z(e, !0, -1)) : a && X(e, "directives end mark is expected"), el(e, e.lineIndent - 1, fc, !1, !0), Z(e, !0, -1), e.checkLineBreaks && _c.test(e.input.slice(t, e.position)) && Ic(e, "non-ASCII line breaks are interpreted as content"), e.documents.push(e.result), e.position === e.lineStart && Hc(e)) {
5936
5960
  e.input.charCodeAt(e.position) === 46 && (e.position += 3, Z(e, !0, -1));
5937
5961
  return;
5938
5962
  }
5939
5963
  if (e.position < e.length - 1) X(e, "end of the stream or a document separator is expected");
5940
5964
  else return;
5941
5965
  }
5942
- function tl(e, t) {
5966
+ function nl(e, t) {
5943
5967
  e = String(e), t || (t = {}), e.length !== 0 && (e.charCodeAt(e.length - 1) !== 10 && e.charCodeAt(e.length - 1) !== 13 && (e += "\n"), e.charCodeAt(0) === 65279 && (e = e.slice(1)));
5944
- var n = new Nc(e, t), r = e.indexOf("\0");
5968
+ var n = new Pc(e, t), r = e.indexOf("\0");
5945
5969
  for (r !== -1 && (n.position = r, X(n, "null byte is not allowed in input")), n.input += "\0"; n.input.charCodeAt(n.position) === 32;) n.lineIndent += 1, n.position += 1;
5946
- for (; n.position < n.length - 1;) el(n);
5970
+ for (; n.position < n.length - 1;) tl(n);
5947
5971
  return n.documents;
5948
5972
  }
5949
- function nl(e, t, n) {
5973
+ function rl(e, t, n) {
5950
5974
  typeof t == "object" && t && n === void 0 && (n = t, t = null);
5951
- var r = tl(e, n);
5975
+ var r = nl(e, n);
5952
5976
  if (typeof t != "function") return r;
5953
5977
  for (var i = 0, a = r.length; i < a; i += 1) t(r[i]);
5954
5978
  }
5955
- function rl(e, t) {
5956
- var n = tl(e, t);
5979
+ function il(e, t) {
5980
+ var n = nl(e, t);
5957
5981
  if (n.length !== 0) {
5958
5982
  if (n.length === 1) return n[0];
5959
5983
  throw new q("expected a single document in the stream, but found more");
5960
5984
  }
5961
5985
  }
5962
- var il = {
5963
- loadAll: nl,
5964
- load: rl
5965
- }, al = Object.prototype.toString, ol = Object.prototype.hasOwnProperty, sl = 65279, cl = 9, ll = 10, ul = 13, dl = 32, fl = 33, pl = 34, ml = 35, hl = 37, gl = 38, _l = 39, vl = 42, yl = 44, bl = 45, xl = 58, Sl = 61, Cl = 62, wl = 63, Tl = 64, El = 91, Dl = 93, Ol = 96, kl = 123, Al = 124, jl = 125, Q = {};
5986
+ var al = {
5987
+ loadAll: rl,
5988
+ load: il
5989
+ }, ol = Object.prototype.toString, sl = Object.prototype.hasOwnProperty, cl = 65279, ll = 9, ul = 10, dl = 13, fl = 32, pl = 33, ml = 34, hl = 35, gl = 37, _l = 38, vl = 39, yl = 42, bl = 44, xl = 45, Sl = 58, Cl = 61, wl = 62, Tl = 63, El = 64, Dl = 91, Ol = 93, kl = 96, Al = 123, jl = 124, Ml = 125, Q = {};
5966
5990
  Q[0] = "\\0", Q[7] = "\\a", Q[8] = "\\b", Q[9] = "\\t", Q[10] = "\\n", Q[11] = "\\v", Q[12] = "\\f", Q[13] = "\\r", Q[27] = "\\e", Q[34] = "\\\"", Q[92] = "\\\\", Q[133] = "\\N", Q[160] = "\\_", Q[8232] = "\\L", Q[8233] = "\\P";
5967
- var Ml = [
5991
+ var Nl = [
5968
5992
  "y",
5969
5993
  "Y",
5970
5994
  "yes",
@@ -5981,14 +6005,14 @@ var Ml = [
5981
6005
  "off",
5982
6006
  "Off",
5983
6007
  "OFF"
5984
- ], Nl = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
5985
- function Pl(e, t) {
6008
+ ], Pl = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
6009
+ function Fl(e, t) {
5986
6010
  var n, r, i, a, o, s, c;
5987
6011
  if (t === null) return {};
5988
- for (n = {}, r = Object.keys(t), i = 0, a = r.length; i < a; i += 1) o = r[i], s = String(t[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), c = e.compiledTypeMap.fallback[o], c && ol.call(c.styleAliases, s) && (s = c.styleAliases[s]), n[o] = s;
6012
+ for (n = {}, r = Object.keys(t), i = 0, a = r.length; i < a; i += 1) o = r[i], s = String(t[o]), o.slice(0, 2) === "!!" && (o = "tag:yaml.org,2002:" + o.slice(2)), c = e.compiledTypeMap.fallback[o], c && sl.call(c.styleAliases, s) && (s = c.styleAliases[s]), n[o] = s;
5989
6013
  return n;
5990
6014
  }
5991
- function Fl(e) {
6015
+ function Il(e) {
5992
6016
  var t = e.toString(16).toUpperCase(), n, r;
5993
6017
  if (e <= 255) n = "x", r = 2;
5994
6018
  else if (e <= 65535) n = "u", r = 4;
@@ -5996,138 +6020,138 @@ function Fl(e) {
5996
6020
  else throw new q("code point within a string may not be greater than 0xFFFFFFFF");
5997
6021
  return "\\" + n + K.repeat("0", r - t.length) + t;
5998
6022
  }
5999
- var Il = 1, Ll = 2;
6000
- function Rl(e) {
6001
- this.schema = e.schema || oc, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = K.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Pl(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === "\"" ? Ll : Il, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
6023
+ var Ll = 1, Rl = 2;
6024
+ function zl(e) {
6025
+ this.schema = e.schema || sc, this.indent = Math.max(1, e.indent || 2), this.noArrayIndent = e.noArrayIndent || !1, this.skipInvalid = e.skipInvalid || !1, this.flowLevel = K.isNothing(e.flowLevel) ? -1 : e.flowLevel, this.styleMap = Fl(this.schema, e.styles || null), this.sortKeys = e.sortKeys || !1, this.lineWidth = e.lineWidth || 80, this.noRefs = e.noRefs || !1, this.noCompatMode = e.noCompatMode || !1, this.condenseFlow = e.condenseFlow || !1, this.quotingType = e.quotingType === "\"" ? Rl : Ll, this.forceQuotes = e.forceQuotes || !1, this.replacer = typeof e.replacer == "function" ? e.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
6002
6026
  }
6003
- function zl(e, t) {
6027
+ function Bl(e, t) {
6004
6028
  for (var n = K.repeat(" ", t), r = 0, i = -1, a = "", o, s = e.length; r < s;) i = e.indexOf("\n", r), i === -1 ? (o = e.slice(r), r = s) : (o = e.slice(r, i + 1), r = i + 1), o.length && o !== "\n" && (a += n), a += o;
6005
6029
  return a;
6006
6030
  }
6007
- function Bl(e, t) {
6031
+ function Vl(e, t) {
6008
6032
  return "\n" + K.repeat(" ", e.indent * t);
6009
6033
  }
6010
- function Vl(e, t) {
6034
+ function Hl(e, t) {
6011
6035
  var n, r, i;
6012
6036
  for (n = 0, r = e.implicitTypes.length; n < r; n += 1) if (i = e.implicitTypes[n], i.resolve(t)) return !0;
6013
6037
  return !1;
6014
6038
  }
6015
- function Hl(e) {
6016
- return e === dl || e === cl;
6017
- }
6018
6039
  function Ul(e) {
6019
- return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== sl || 65536 <= e && e <= 1114111;
6040
+ return e === fl || e === ll;
6020
6041
  }
6021
6042
  function Wl(e) {
6022
- return Ul(e) && e !== sl && e !== ul && e !== ll;
6043
+ return 32 <= e && e <= 126 || 161 <= e && e <= 55295 && e !== 8232 && e !== 8233 || 57344 <= e && e <= 65533 && e !== cl || 65536 <= e && e <= 1114111;
6023
6044
  }
6024
- function Gl(e, t, n) {
6025
- var r = Wl(e), i = r && !Hl(e);
6026
- return (n ? r : r && e !== yl && e !== El && e !== Dl && e !== kl && e !== jl) && e !== ml && !(t === xl && !i) || Wl(t) && !Hl(t) && e === ml || t === xl && i;
6045
+ function Gl(e) {
6046
+ return Wl(e) && e !== cl && e !== dl && e !== ul;
6027
6047
  }
6028
- function Kl(e) {
6029
- return Ul(e) && e !== sl && !Hl(e) && e !== bl && e !== wl && e !== xl && e !== yl && e !== El && e !== Dl && e !== kl && e !== jl && e !== ml && e !== gl && e !== vl && e !== fl && e !== Al && e !== Sl && e !== Cl && e !== _l && e !== pl && e !== hl && e !== Tl && e !== Ol;
6048
+ function Kl(e, t, n) {
6049
+ var r = Gl(e), i = r && !Ul(e);
6050
+ return (n ? r : r && e !== bl && e !== Dl && e !== Ol && e !== Al && e !== Ml) && e !== hl && !(t === Sl && !i) || Gl(t) && !Ul(t) && e === hl || t === Sl && i;
6030
6051
  }
6031
6052
  function ql(e) {
6032
- return !Hl(e) && e !== xl;
6053
+ return Wl(e) && e !== cl && !Ul(e) && e !== xl && e !== Tl && e !== Sl && e !== bl && e !== Dl && e !== Ol && e !== Al && e !== Ml && e !== hl && e !== _l && e !== yl && e !== pl && e !== jl && e !== Cl && e !== wl && e !== vl && e !== ml && e !== gl && e !== El && e !== kl;
6054
+ }
6055
+ function Jl(e) {
6056
+ return !Ul(e) && e !== Sl;
6033
6057
  }
6034
- function Jl(e, t) {
6058
+ function Yl(e, t) {
6035
6059
  var n = e.charCodeAt(t), r;
6036
6060
  return n >= 55296 && n <= 56319 && t + 1 < e.length && (r = e.charCodeAt(t + 1), r >= 56320 && r <= 57343) ? (n - 55296) * 1024 + r - 56320 + 65536 : n;
6037
6061
  }
6038
- function Yl(e) {
6062
+ function Xl(e) {
6039
6063
  return /^\n* /.test(e);
6040
6064
  }
6041
- var Xl = 1, Zl = 2, Ql = 3, $l = 4, eu = 5;
6042
- function tu(e, t, n, r, i, a, o, s) {
6043
- var c, l = 0, u = null, d = !1, f = !1, p = r !== -1, m = -1, h = Kl(Jl(e, 0)) && ql(Jl(e, e.length - 1));
6065
+ var Zl = 1, Ql = 2, $l = 3, eu = 4, tu = 5;
6066
+ function nu(e, t, n, r, i, a, o, s) {
6067
+ var c, l = 0, u = null, d = !1, f = !1, p = r !== -1, m = -1, h = ql(Yl(e, 0)) && Jl(Yl(e, e.length - 1));
6044
6068
  if (t || o) for (c = 0; c < e.length; l >= 65536 ? c += 2 : c++) {
6045
- if (l = Jl(e, c), !Ul(l)) return eu;
6046
- h && (h = Gl(l, u, s)), u = l;
6069
+ if (l = Yl(e, c), !Wl(l)) return tu;
6070
+ h && (h = Kl(l, u, s)), u = l;
6047
6071
  }
6048
6072
  else {
6049
6073
  for (c = 0; c < e.length; l >= 65536 ? c += 2 : c++) {
6050
- if (l = Jl(e, c), l === ll) d = !0, p && (f || (f = c - m - 1 > r && e[m + 1] !== " "), m = c);
6051
- else if (!Ul(l)) return eu;
6052
- h && (h = Gl(l, u, s)), u = l;
6074
+ if (l = Yl(e, c), l === ul) d = !0, p && (f || (f = c - m - 1 > r && e[m + 1] !== " "), m = c);
6075
+ else if (!Wl(l)) return tu;
6076
+ h && (h = Kl(l, u, s)), u = l;
6053
6077
  }
6054
6078
  f || (f = p && c - m - 1 > r && e[m + 1] !== " ");
6055
6079
  }
6056
- return !d && !f ? h && !o && !i(e) ? Xl : a === Ll ? eu : Zl : n > 9 && Yl(e) ? eu : o ? a === Ll ? eu : Zl : f ? $l : Ql;
6080
+ return !d && !f ? h && !o && !i(e) ? Zl : a === Rl ? tu : Ql : n > 9 && Xl(e) ? tu : o ? a === Rl ? tu : Ql : f ? eu : $l;
6057
6081
  }
6058
- function nu(e, t, n, r, i) {
6082
+ function ru(e, t, n, r, i) {
6059
6083
  e.dump = function() {
6060
- if (t.length === 0) return e.quotingType === Ll ? "\"\"" : "''";
6061
- if (!e.noCompatMode && (Ml.indexOf(t) !== -1 || Nl.test(t))) return e.quotingType === Ll ? "\"" + t + "\"" : "'" + t + "'";
6084
+ if (t.length === 0) return e.quotingType === Rl ? "\"\"" : "''";
6085
+ if (!e.noCompatMode && (Nl.indexOf(t) !== -1 || Pl.test(t))) return e.quotingType === Rl ? "\"" + t + "\"" : "'" + t + "'";
6062
6086
  var a = e.indent * Math.max(1, n), o = e.lineWidth === -1 ? -1 : Math.max(Math.min(e.lineWidth, 40), e.lineWidth - a), s = r || e.flowLevel > -1 && n >= e.flowLevel;
6063
6087
  function c(t) {
6064
- return Vl(e, t);
6088
+ return Hl(e, t);
6065
6089
  }
6066
- switch (tu(t, s, e.indent, o, c, e.quotingType, e.forceQuotes && !r, i)) {
6067
- case Xl: return t;
6068
- case Zl: return "'" + t.replace(/'/g, "''") + "'";
6069
- case Ql: return "|" + ru(t, e.indent) + iu(zl(t, a));
6070
- case $l: return ">" + ru(t, e.indent) + iu(zl(au(t, o), a));
6071
- case eu: return "\"" + su(t) + "\"";
6090
+ switch (nu(t, s, e.indent, o, c, e.quotingType, e.forceQuotes && !r, i)) {
6091
+ case Zl: return t;
6092
+ case Ql: return "'" + t.replace(/'/g, "''") + "'";
6093
+ case $l: return "|" + iu(t, e.indent) + au(Bl(t, a));
6094
+ case eu: return ">" + iu(t, e.indent) + au(Bl(ou(t, o), a));
6095
+ case tu: return "\"" + cu(t) + "\"";
6072
6096
  default: throw new q("impossible error: invalid scalar style");
6073
6097
  }
6074
6098
  }();
6075
6099
  }
6076
- function ru(e, t) {
6077
- var n = Yl(e) ? String(t) : "", r = e[e.length - 1] === "\n";
6100
+ function iu(e, t) {
6101
+ var n = Xl(e) ? String(t) : "", r = e[e.length - 1] === "\n";
6078
6102
  return n + (r && (e[e.length - 2] === "\n" || e === "\n") ? "+" : r ? "" : "-") + "\n";
6079
6103
  }
6080
- function iu(e) {
6104
+ function au(e) {
6081
6105
  return e[e.length - 1] === "\n" ? e.slice(0, -1) : e;
6082
6106
  }
6083
- function au(e, t) {
6107
+ function ou(e, t) {
6084
6108
  for (var n = /(\n+)([^\n]*)/g, r = function() {
6085
6109
  var r = e.indexOf("\n");
6086
- return r = r === -1 ? e.length : r, n.lastIndex = r, ou(e.slice(0, r), t);
6110
+ return r = r === -1 ? e.length : r, n.lastIndex = r, su(e.slice(0, r), t);
6087
6111
  }(), i = e[0] === "\n" || e[0] === " ", a, o; o = n.exec(e);) {
6088
6112
  var s = o[1], c = o[2];
6089
- a = c[0] === " ", r += s + (!i && !a && c !== "" ? "\n" : "") + ou(c, t), i = a;
6113
+ a = c[0] === " ", r += s + (!i && !a && c !== "" ? "\n" : "") + su(c, t), i = a;
6090
6114
  }
6091
6115
  return r;
6092
6116
  }
6093
- function ou(e, t) {
6117
+ function su(e, t) {
6094
6118
  if (e === "" || e[0] === " ") return e;
6095
6119
  for (var n = / [^ ]/g, r, i = 0, a, o = 0, s = 0, c = ""; r = n.exec(e);) s = r.index, s - i > t && (a = o > i ? o : s, c += "\n" + e.slice(i, a), i = a + 1), o = s;
6096
6120
  return c += "\n", e.length - i > t && o > i ? c += e.slice(i, o) + "\n" + e.slice(o + 1) : c += e.slice(i), c.slice(1);
6097
6121
  }
6098
- function su(e) {
6099
- for (var t = "", n = 0, r, i = 0; i < e.length; n >= 65536 ? i += 2 : i++) n = Jl(e, i), r = Q[n], !r && Ul(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || Fl(n);
6122
+ function cu(e) {
6123
+ for (var t = "", n = 0, r, i = 0; i < e.length; n >= 65536 ? i += 2 : i++) n = Yl(e, i), r = Q[n], !r && Wl(n) ? (t += e[i], n >= 65536 && (t += e[i + 1])) : t += r || Il(n);
6100
6124
  return t;
6101
6125
  }
6102
- function cu(e, t, n) {
6126
+ function lu(e, t, n) {
6103
6127
  var r = "", i = e.tag, a, o, s;
6104
- for (a = 0, o = n.length; a < o; a += 1) s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (pu(e, t, s, !1, !1) || s === void 0 && pu(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
6128
+ for (a = 0, o = n.length; a < o; a += 1) s = n[a], e.replacer && (s = e.replacer.call(n, String(a), s)), (mu(e, t, s, !1, !1) || s === void 0 && mu(e, t, null, !1, !1)) && (r !== "" && (r += "," + (e.condenseFlow ? "" : " ")), r += e.dump);
6105
6129
  e.tag = i, e.dump = "[" + r + "]";
6106
6130
  }
6107
- function lu(e, t, n, r) {
6131
+ function uu(e, t, n, r) {
6108
6132
  var i = "", a = e.tag, o, s, c;
6109
- for (o = 0, s = n.length; o < s; o += 1) c = n[o], e.replacer && (c = e.replacer.call(n, String(o), c)), (pu(e, t + 1, c, !0, !0, !1, !0) || c === void 0 && pu(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += Bl(e, t)), e.dump && ll === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
6133
+ for (o = 0, s = n.length; o < s; o += 1) c = n[o], e.replacer && (c = e.replacer.call(n, String(o), c)), (mu(e, t + 1, c, !0, !0, !1, !0) || c === void 0 && mu(e, t + 1, null, !0, !0, !1, !0)) && ((!r || i !== "") && (i += Vl(e, t)), e.dump && ul === e.dump.charCodeAt(0) ? i += "-" : i += "- ", i += e.dump);
6110
6134
  e.tag = a, e.dump = i || "[]";
6111
6135
  }
6112
- function uu(e, t, n) {
6136
+ function du(e, t, n) {
6113
6137
  var r = "", i = e.tag, a = Object.keys(n), o, s, c, l, u;
6114
- for (o = 0, s = a.length; o < s; o += 1) u = "", r !== "" && (u += ", "), e.condenseFlow && (u += "\""), c = a[o], l = n[c], e.replacer && (l = e.replacer.call(n, c, l)), pu(e, t, c, !1, !1) && (e.dump.length > 1024 && (u += "? "), u += e.dump + (e.condenseFlow ? "\"" : "") + ":" + (e.condenseFlow ? "" : " "), pu(e, t, l, !1, !1) && (u += e.dump, r += u));
6138
+ for (o = 0, s = a.length; o < s; o += 1) u = "", r !== "" && (u += ", "), e.condenseFlow && (u += "\""), c = a[o], l = n[c], e.replacer && (l = e.replacer.call(n, c, l)), mu(e, t, c, !1, !1) && (e.dump.length > 1024 && (u += "? "), u += e.dump + (e.condenseFlow ? "\"" : "") + ":" + (e.condenseFlow ? "" : " "), mu(e, t, l, !1, !1) && (u += e.dump, r += u));
6115
6139
  e.tag = i, e.dump = "{" + r + "}";
6116
6140
  }
6117
- function du(e, t, n, r) {
6141
+ function fu(e, t, n, r) {
6118
6142
  var i = "", a = e.tag, o = Object.keys(n), s, c, l, u, d, f;
6119
6143
  if (e.sortKeys === !0) o.sort();
6120
6144
  else if (typeof e.sortKeys == "function") o.sort(e.sortKeys);
6121
6145
  else if (e.sortKeys) throw new q("sortKeys must be a boolean or a function");
6122
- for (s = 0, c = o.length; s < c; s += 1) f = "", (!r || i !== "") && (f += Bl(e, t)), l = o[s], u = n[l], e.replacer && (u = e.replacer.call(n, l, u)), pu(e, t + 1, l, !0, !0, !0) && (d = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, d && (e.dump && ll === e.dump.charCodeAt(0) ? f += "?" : f += "? "), f += e.dump, d && (f += Bl(e, t)), pu(e, t + 1, u, !0, d) && (e.dump && ll === e.dump.charCodeAt(0) ? f += ":" : f += ": ", f += e.dump, i += f));
6146
+ for (s = 0, c = o.length; s < c; s += 1) f = "", (!r || i !== "") && (f += Vl(e, t)), l = o[s], u = n[l], e.replacer && (u = e.replacer.call(n, l, u)), mu(e, t + 1, l, !0, !0, !0) && (d = e.tag !== null && e.tag !== "?" || e.dump && e.dump.length > 1024, d && (e.dump && ul === e.dump.charCodeAt(0) ? f += "?" : f += "? "), f += e.dump, d && (f += Vl(e, t)), mu(e, t + 1, u, !0, d) && (e.dump && ul === e.dump.charCodeAt(0) ? f += ":" : f += ": ", f += e.dump, i += f));
6123
6147
  e.tag = a, e.dump = i || "{}";
6124
6148
  }
6125
- function fu(e, t, n) {
6149
+ function pu(e, t, n) {
6126
6150
  var r, i = n ? e.explicitTypes : e.implicitTypes, a, o, s, c;
6127
6151
  for (a = 0, o = i.length; a < o; a += 1) if (s = i[a], (s.instanceOf || s.predicate) && (!s.instanceOf || typeof t == "object" && t instanceof s.instanceOf) && (!s.predicate || s.predicate(t))) {
6128
6152
  if (n ? s.multi && s.representName ? e.tag = s.representName(t) : e.tag = s.tag : e.tag = "?", s.represent) {
6129
- if (c = e.styleMap[s.tag] || s.defaultStyle, al.call(s.represent) === "[object Function]") r = s.represent(t, c);
6130
- else if (ol.call(s.represent, c)) r = s.represent[c](t, c);
6153
+ if (c = e.styleMap[s.tag] || s.defaultStyle, ol.call(s.represent) === "[object Function]") r = s.represent(t, c);
6154
+ else if (sl.call(s.represent, c)) r = s.represent[c](t, c);
6131
6155
  else throw new q("!<" + s.tag + "> tag resolver accepts not \"" + c + "\" style");
6132
6156
  e.dump = r;
6133
6157
  }
@@ -6135,16 +6159,16 @@ function fu(e, t, n) {
6135
6159
  }
6136
6160
  return !1;
6137
6161
  }
6138
- function pu(e, t, n, r, i, a, o) {
6139
- e.tag = null, e.dump = n, fu(e, n, !1) || fu(e, n, !0);
6140
- var s = al.call(e.dump), c = r, l;
6162
+ function mu(e, t, n, r, i, a, o) {
6163
+ e.tag = null, e.dump = n, pu(e, n, !1) || pu(e, n, !0);
6164
+ var s = ol.call(e.dump), c = r, l;
6141
6165
  r && (r = e.flowLevel < 0 || e.flowLevel > t);
6142
6166
  var u = s === "[object Object]" || s === "[object Array]", d, f;
6143
6167
  if (u && (d = e.duplicates.indexOf(n), f = d !== -1), (e.tag !== null && e.tag !== "?" || f || e.indent !== 2 && t > 0) && (i = !1), f && e.usedDuplicates[d]) e.dump = "*ref_" + d;
6144
6168
  else {
6145
- if (u && f && !e.usedDuplicates[d] && (e.usedDuplicates[d] = !0), s === "[object Object]") r && Object.keys(e.dump).length !== 0 ? (du(e, t, e.dump, i), f && (e.dump = "&ref_" + d + e.dump)) : (uu(e, t, e.dump), f && (e.dump = "&ref_" + d + " " + e.dump));
6146
- else if (s === "[object Array]") r && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? lu(e, t - 1, e.dump, i) : lu(e, t, e.dump, i), f && (e.dump = "&ref_" + d + e.dump)) : (cu(e, t, e.dump), f && (e.dump = "&ref_" + d + " " + e.dump));
6147
- else if (s === "[object String]") e.tag !== "?" && nu(e, e.dump, t, a, c);
6169
+ if (u && f && !e.usedDuplicates[d] && (e.usedDuplicates[d] = !0), s === "[object Object]") r && Object.keys(e.dump).length !== 0 ? (fu(e, t, e.dump, i), f && (e.dump = "&ref_" + d + e.dump)) : (du(e, t, e.dump), f && (e.dump = "&ref_" + d + " " + e.dump));
6170
+ else if (s === "[object Array]") r && e.dump.length !== 0 ? (e.noArrayIndent && !o && t > 0 ? uu(e, t - 1, e.dump, i) : uu(e, t, e.dump, i), f && (e.dump = "&ref_" + d + e.dump)) : (lu(e, t, e.dump), f && (e.dump = "&ref_" + d + " " + e.dump));
6171
+ else if (s === "[object String]") e.tag !== "?" && ru(e, e.dump, t, a, c);
6148
6172
  else if (s === "[object Undefined]") return !1;
6149
6173
  else {
6150
6174
  if (e.skipInvalid) return !1;
@@ -6154,37 +6178,37 @@ function pu(e, t, n, r, i, a, o) {
6154
6178
  }
6155
6179
  return !0;
6156
6180
  }
6157
- function mu(e, t) {
6181
+ function hu(e, t) {
6158
6182
  var n = [], r = [], i, a;
6159
- for (hu(e, n, r), i = 0, a = r.length; i < a; i += 1) t.duplicates.push(n[r[i]]);
6183
+ for (gu(e, n, r), i = 0, a = r.length; i < a; i += 1) t.duplicates.push(n[r[i]]);
6160
6184
  t.usedDuplicates = Array(a);
6161
6185
  }
6162
- function hu(e, t, n) {
6186
+ function gu(e, t, n) {
6163
6187
  var r, i, a;
6164
6188
  if (typeof e == "object" && e) if (i = t.indexOf(e), i !== -1) n.indexOf(i) === -1 && n.push(i);
6165
- else if (t.push(e), Array.isArray(e)) for (i = 0, a = e.length; i < a; i += 1) hu(e[i], t, n);
6166
- else for (r = Object.keys(e), i = 0, a = r.length; i < a; i += 1) hu(e[r[i]], t, n);
6189
+ else if (t.push(e), Array.isArray(e)) for (i = 0, a = e.length; i < a; i += 1) gu(e[i], t, n);
6190
+ else for (r = Object.keys(e), i = 0, a = r.length; i < a; i += 1) gu(e[r[i]], t, n);
6167
6191
  }
6168
- function gu(e, t) {
6192
+ function _u(e, t) {
6169
6193
  t || (t = {});
6170
- var n = new Rl(t);
6171
- n.noRefs || mu(e, n);
6194
+ var n = new zl(t);
6195
+ n.noRefs || hu(e, n);
6172
6196
  var r = e;
6173
- return n.replacer && (r = n.replacer.call({ "": r }, "", r)), pu(n, 0, r, !0, !0) ? n.dump + "\n" : "";
6197
+ return n.replacer && (r = n.replacer.call({ "": r }, "", r)), mu(n, 0, r, !0, !0) ? n.dump + "\n" : "";
6174
6198
  }
6175
- var _u = { dump: gu }, vu = il.load;
6176
- il.loadAll, _u.dump;
6199
+ var vu = { dump: _u }, yu = al.load;
6200
+ al.loadAll, vu.dump;
6177
6201
  //#endregion
6178
6202
  //#region node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs
6179
- function yu(e, t) {
6180
- let n = vu(e, t);
6181
- return Uo(e, n, t), n;
6203
+ function bu(e, t) {
6204
+ let n = yu(e, t);
6205
+ return Wo(e, n, t), n;
6182
6206
  }
6183
6207
  //#endregion
6184
6208
  //#region src/lib/utils/parseSpec.ts
6185
- function bu(e) {
6209
+ function xu(e) {
6186
6210
  if (typeof e == "string") try {
6187
- let t = yu(e);
6211
+ let t = bu(e);
6188
6212
  return t == null ? {} : t;
6189
6213
  } catch (e) {
6190
6214
  return console.error("Error parsing spec", e), {};
@@ -6193,10 +6217,10 @@ function bu(e) {
6193
6217
  }
6194
6218
  //#endregion
6195
6219
  //#region src/lib/parser/dereferenceWithAnnotations.ts
6196
- var xu = Symbol("origin"), Su = /* @__PURE__ */ new Map();
6197
- function Cu(e, t) {
6198
- Su.has(e) || Su.set(e, /* @__PURE__ */ new Map());
6199
- let n = Su.get(e);
6220
+ var Su = Symbol("origin"), Cu = /* @__PURE__ */ new Map();
6221
+ function wu(e, t) {
6222
+ Cu.has(e) || Cu.set(e, /* @__PURE__ */ new Map());
6223
+ let n = Cu.get(e);
6200
6224
  if (n.has(t)) return n.get(t);
6201
6225
  let r = t.split("/").slice(1), i = e;
6202
6226
  for (let e of r) {
@@ -6209,46 +6233,46 @@ function Cu(e, t) {
6209
6233
  }
6210
6234
  return n.set(t, i), i;
6211
6235
  }
6212
- function wu(e) {
6236
+ function Tu(e) {
6213
6237
  if (Array.isArray(e)) {
6214
6238
  let t = Array.from({ length: e.length });
6215
- for (let n = 0; n < e.length; n++) t[n] = e[n] && typeof e[n] == "object" ? wu(e[n]) : e[n];
6239
+ for (let n = 0; n < e.length; n++) t[n] = e[n] && typeof e[n] == "object" ? Tu(e[n]) : e[n];
6216
6240
  return t;
6217
6241
  }
6218
6242
  if (Object.prototype.toString.call(e) === "[object Object]") {
6219
6243
  let t = {};
6220
6244
  for (let n in e) if (n === "__proto__") Object.defineProperty(t, n, {
6221
- value: wu(e[n]),
6245
+ value: Tu(e[n]),
6222
6246
  configurable: !0,
6223
6247
  enumerable: !0,
6224
6248
  writable: !0
6225
6249
  });
6226
6250
  else {
6227
6251
  let r = e[n];
6228
- t[n] = r && typeof r == "object" ? wu(r) : r;
6252
+ t[n] = r && typeof r == "object" ? Tu(r) : r;
6229
6253
  }
6230
6254
  return t;
6231
6255
  }
6232
6256
  return e;
6233
6257
  }
6234
- function Tu(e, t = /* @__PURE__ */ new WeakSet()) {
6258
+ function Eu(e, t = /* @__PURE__ */ new WeakSet()) {
6235
6259
  if (e && typeof e == "object" && !t.has(e)) {
6236
- t.add(e), Object.defineProperty(e, xu, {
6260
+ t.add(e), Object.defineProperty(e, Su, {
6237
6261
  value: e,
6238
6262
  enumerable: !1
6239
6263
  });
6240
6264
  let n = Array.isArray(e) ? e : Object.values(e);
6241
- for (let e of n) Tu(e, t);
6265
+ for (let e of n) Eu(e, t);
6242
6266
  }
6243
6267
  }
6244
- function Eu(e) {
6268
+ function Du(e) {
6245
6269
  let t = Array.isArray(e) ? [...e] : { ...e };
6246
- return Object.defineProperty(t, xu, {
6247
- value: e[xu] || e,
6270
+ return Object.defineProperty(t, Su, {
6271
+ value: e[Su] || e,
6248
6272
  enumerable: !1
6249
6273
  }), t;
6250
6274
  }
6251
- var Du = new Set([
6275
+ var Ou = new Set([
6252
6276
  "title",
6253
6277
  "description",
6254
6278
  "summary",
@@ -6258,11 +6282,11 @@ var Du = new Set([
6258
6282
  "writeOnly",
6259
6283
  "examples",
6260
6284
  "example"
6261
- ]), Ou = /* @__PURE__ */ new Map();
6262
- function ku(e) {
6263
- if (Ou.has(e)) return Ou.get(e);
6264
- let t = /* @__PURE__ */ new Set(), n = wu(e);
6265
- Tu(n);
6285
+ ]), ku = /* @__PURE__ */ new Map();
6286
+ function Au(e) {
6287
+ if (ku.has(e)) return ku.get(e);
6288
+ let t = /* @__PURE__ */ new Set(), n = Tu(e);
6289
+ Eu(n);
6266
6290
  let r = (e) => {
6267
6291
  if (typeof e == "object" && e) {
6268
6292
  if (t.has(e)) return e;
@@ -6271,10 +6295,10 @@ function ku(e) {
6271
6295
  if ("$ref" in e && typeof e.$ref == "string") {
6272
6296
  let t = e;
6273
6297
  do
6274
- t = Cu(n, t.$ref);
6298
+ t = wu(n, t.$ref);
6275
6299
  while (t != null && t.$ref);
6276
- t = Eu(t), t = r(t);
6277
- for (let n in e) n !== "$ref" && Du.has(n) && (t[n] = e[n]);
6300
+ t = Du(t), t = r(t);
6301
+ for (let n in e) n !== "$ref" && Ou.has(n) && (t[n] = e[n]);
6278
6302
  return t;
6279
6303
  }
6280
6304
  for (let t in e) e[t] = r(e[t]);
@@ -6282,11 +6306,11 @@ function ku(e) {
6282
6306
  }
6283
6307
  return e;
6284
6308
  }, i = r(n);
6285
- return Ou.set(e, i), i;
6309
+ return ku.set(e, i), i;
6286
6310
  }
6287
6311
  //#endregion
6288
6312
  //#region src/lib/spec/createOpenApiSpec.ts
6289
- function Au(e = {}) {
6313
+ function ju(e = {}) {
6290
6314
  var t;
6291
6315
  let n = null, r = (t = e.originalSpec) == null ? null : t;
6292
6316
  function i(e) {
@@ -6454,8 +6478,8 @@ function Au(e = {}) {
6454
6478
  }
6455
6479
  //#endregion
6456
6480
  //#region src/composables/usePaths.ts
6457
- function ju({ spec: e, defaultTag: t = void 0, defaultTagDescription: n = void 0 }) {
6458
- let r = Au({ spec: Wd().transformSync({
6481
+ function Mu({ spec: e, defaultTag: t = void 0, defaultTagDescription: n = void 0 }) {
6482
+ let r = ju({ spec: Gd().transformSync({
6459
6483
  spec: e,
6460
6484
  defaultTag: t,
6461
6485
  defaultTagDescription: n
@@ -6470,31 +6494,31 @@ function ju({ spec: e, defaultTag: t = void 0, defaultTagDescription: n = void 0
6470
6494
  }
6471
6495
  //#endregion
6472
6496
  //#region src/lib/sidebar/cleanSidebarItems.ts
6473
- function Mu(e) {
6474
- return Array.isArray(e) ? e.map(Mu) : typeof e == "object" ? {
6497
+ function Nu(e) {
6498
+ return Array.isArray(e) ? e.map(Nu) : typeof e == "object" ? {
6475
6499
  text: e.text,
6476
6500
  ...e.collapsed === void 0 ? {} : { collapsed: e.collapsed },
6477
6501
  ...e.link ? { link: e.link } : {},
6478
- ...e.items ? { items: Mu(e.items) } : {}
6502
+ ...e.items ? { items: Nu(e.items) } : {}
6479
6503
  } : e;
6480
6504
  }
6481
6505
  //#endregion
6482
6506
  //#region src/lib/sidebar/ensureGroupTextSlashPrefix.ts
6483
- function Nu(e) {
6507
+ function Pu(e) {
6484
6508
  return e.map((e) => {
6485
6509
  if (e.items) {
6486
6510
  var t;
6487
- e.items = Nu(e.items), e.text = (t = e.text) != null && t.startsWith("/") ? e.text : `/${e.text}`;
6511
+ e.items = Pu(e.items), e.text = (t = e.text) != null && t.startsWith("/") ? e.text : `/${e.text}`;
6488
6512
  } else e.text && !e.isOperation && !e.text.startsWith("/") && !e.text.includes("<") && (e.text = `/${e.text}`);
6489
6513
  return e;
6490
6514
  });
6491
6515
  }
6492
6516
  //#endregion
6493
6517
  //#region src/lib/sidebar/flatSidebarItems.ts
6494
- function Pu(e, t, n, r = 1, i = "") {
6495
- return Iu(Fu(e, t, n, r, i));
6518
+ function Fu(e, t, n, r = 1, i = "") {
6519
+ return Lu(Iu(e, t, n, r, i));
6496
6520
  }
6497
- function Fu(e, t, n, r, i = "") {
6521
+ function Iu(e, t, n, r, i = "") {
6498
6522
  return e.map((e) => {
6499
6523
  if (e.items) {
6500
6524
  let a = i + e.text;
@@ -6505,12 +6529,12 @@ function Fu(e, t, n, r, i = "") {
6505
6529
  ...r,
6506
6530
  items: (n = r.items) == null ? void 0 : n.filter((e) => e.isOperation)
6507
6531
  };
6508
- }) : e.items = Fu(e.items, t, n, r + 1, a);
6532
+ }) : e.items = Iu(e.items, t, n, r + 1, a);
6509
6533
  }
6510
6534
  return e;
6511
6535
  });
6512
6536
  }
6513
- function Iu(e, t = "") {
6537
+ function Lu(e, t = "") {
6514
6538
  let n = [];
6515
6539
  return e.forEach((e) => {
6516
6540
  e.flattenedItems ? n.push(...e.flattenedItems.map((n) => {
@@ -6520,38 +6544,38 @@ function Iu(e, t = "") {
6520
6544
  n.text = (e.text || "") + a;
6521
6545
  }
6522
6546
  return n;
6523
- })) : n.push(e), e.items && (e.items = Iu(e.items, t + e.text));
6547
+ })) : n.push(e), e.items && (e.items = Lu(e.items, t + e.text));
6524
6548
  }), n;
6525
6549
  }
6526
6550
  //#endregion
6527
6551
  //#region src/lib/sidebar/mergeAdjacentGroups.ts
6528
- function Lu(e) {
6552
+ function Ru(e) {
6529
6553
  return Array.isArray(e) ? e.reduce((e, t) => {
6530
6554
  var n;
6531
6555
  if (!((n = t.items) != null && n.length)) return e.push(t), e;
6532
6556
  if (t.items.length === 1 && !t.items.some((e) => "link" in e)) {
6533
- let n = t.items[0], r = Lu([n])[0];
6534
- return r.text = Ru(t.text, r.text), r.path = r.path || t.path, e.push(r), e;
6557
+ let n = t.items[0], r = Ru([n])[0];
6558
+ return r.text = zu(t.text, r.text), r.path = r.path || t.path, e.push(r), e;
6535
6559
  }
6536
- return t.items = Lu(t.items), e.push(t), e;
6560
+ return t.items = Ru(t.items), e.push(t), e;
6537
6561
  }, []) : e;
6538
6562
  }
6539
- function Ru(e, t) {
6563
+ function zu(e, t) {
6540
6564
  return e + (t.startsWith("/") ? t : `/${t}`);
6541
6565
  }
6542
6566
  //#endregion
6543
6567
  //#region src/lib/sidebar/setItemCollapsedState.ts
6544
- function zu(e) {
6545
- return e.map((e) => (e.items && (e.collapsed = !e.items.length, e.items.some((e) => "items" in e) && (e.items = zu(e.items))), e));
6568
+ function Bu(e) {
6569
+ return e.map((e) => (e.items && (e.collapsed = !e.items.length, e.items.some((e) => "items" in e) && (e.items = Bu(e.items))), e));
6546
6570
  }
6547
6571
  //#endregion
6548
6572
  //#region src/lib/sidebar/generateSidebarItemsByPaths.ts
6549
- function Bu({ paths: e, startsWith: t = "", collapsible: n = !0, itemLinkPrefix: r = "", depth: i = 6, sidebarItemTemplate: a, sidebarGroupTemplate: o } = { paths: {} }) {
6573
+ function Vu({ paths: e, startsWith: t = "", collapsible: n = !0, itemLinkPrefix: r = "", depth: i = 6, sidebarItemTemplate: a, sidebarGroupTemplate: o } = { paths: {} }) {
6550
6574
  let s = [], c = {};
6551
6575
  return Object.keys(e).filter((e) => e.startsWith(t)).forEach((t) => {
6552
6576
  let n = t.split("/").filter(Boolean), i = s;
6553
6577
  n.forEach((o, s) => {
6554
- let l = s === n.length - 1, u = `/${n.slice(0, s + 1).join("/")}`, d = Vu(i, o, u);
6578
+ let l = s === n.length - 1, u = `/${n.slice(0, s + 1).join("/")}`, d = Hu(i, o, u);
6555
6579
  if (l) {
6556
6580
  let n = $.map((n) => {
6557
6581
  let i = e[t] ? e[t][n] : null;
@@ -6572,9 +6596,9 @@ function Bu({ paths: e, startsWith: t = "", collapsible: n = !0, itemLinkPrefix:
6572
6596
  }
6573
6597
  i = d.items;
6574
6598
  });
6575
- }), s = Lu(s), s = Nu(s), n && (s = zu(s)), s = Pu(s, c, i), o && (s = Hu(s, o)), s;
6599
+ }), s = Ru(s), s = Pu(s), n && (s = Bu(s)), s = Fu(s, c, i), o && (s = Uu(s, o)), s;
6576
6600
  }
6577
- function Vu(e, t, n) {
6601
+ function Hu(e, t, n) {
6578
6602
  let r = e.find((e) => e.text === t && e.path === n);
6579
6603
  return r || (r = {
6580
6604
  text: t,
@@ -6582,46 +6606,46 @@ function Vu(e, t, n) {
6582
6606
  items: []
6583
6607
  }, e.push(r)), r;
6584
6608
  }
6585
- function Hu(e, t, n = 1) {
6609
+ function Uu(e, t, n = 1) {
6586
6610
  return e.map((e) => (e.text && e.path && e.items && e.items.length && (e.text = t({
6587
6611
  path: e.path,
6588
6612
  depth: n
6589
- })), e.items && (e.items = Hu(e.items, t, n + 1)), e));
6613
+ })), e.items && (e.items = Uu(e.items, t, n + 1)), e));
6590
6614
  }
6591
6615
  //#endregion
6592
6616
  //#region src/lib/utils/minifyHtml.ts
6593
- var Uu = /\s+/g;
6594
- function Wu(e) {
6595
- return e.replace(Uu, " ").trim();
6617
+ var Wu = /\s+/g;
6618
+ function Gu(e) {
6619
+ return e.replace(Wu, " ").trim();
6596
6620
  }
6597
6621
  //#endregion
6598
6622
  //#region src/composables/useSidebar.ts
6599
- var Gu = {
6623
+ var Ku = {
6600
6624
  linkPrefix: "/operations/",
6601
6625
  tagLinkPrefix: "/tags/",
6602
6626
  defaultTag: "Default"
6603
6627
  };
6604
- function Ku({ path: e }) {
6628
+ function qu({ path: e }) {
6605
6629
  return e;
6606
6630
  }
6607
- function qu({ spec: e, linkPrefix: t = Gu.linkPrefix, tagLinkPrefix: n = Gu.tagLinkPrefix, defaultTag: r = Gu.defaultTag, methodAliases: i = {}, sidebarItemTemplate: a, sidebarGroupTemplate: o } = {}) {
6631
+ function Ju({ spec: e, linkPrefix: t = Ku.linkPrefix, tagLinkPrefix: n = Ku.tagLinkPrefix, defaultTag: r = Ku.defaultTag, methodAliases: i = {}, sidebarItemTemplate: a, sidebarGroupTemplate: o } = {}) {
6608
6632
  let s = null;
6609
6633
  function c() {
6610
6634
  if (!e) throw Error("OpenAPI spec is not provided.");
6611
- return s || (s = Au({ spec: Wd().transformSync({
6635
+ return s || (s = ju({ spec: Gd().transformSync({
6612
6636
  spec: e,
6613
6637
  defaultTag: r
6614
6638
  }) })), s;
6615
6639
  }
6616
6640
  let l = a || (({ method: e, path: t, title: n }) => {
6617
6641
  let r = i[e] || e.toUpperCase(), a = n || t;
6618
- return Wu(`
6642
+ return Gu(`
6619
6643
  <span class="OASidebarItem group/oaOperationLink">
6620
6644
  <span class="OASidebarItem-badge OAMethodBadge--${e.toLowerCase()}">${r}</span>
6621
6645
  <span class="OASidebarItem-text text">${a}</span>
6622
6646
  </span>
6623
6647
  `);
6624
- }), u = o || Ku;
6648
+ }), u = o || qu;
6625
6649
  function d({ method: e, path: t, sidebarItemTemplate: n }) {
6626
6650
  var r;
6627
6651
  let i = (r = c().getPaths()) == null || (r = r[t]) == null ? void 0 : r[e];
@@ -6697,7 +6721,7 @@ function qu({ spec: e, linkPrefix: t = Gu.linkPrefix, tagLinkPrefix: n = Gu.tagL
6697
6721
  }));
6698
6722
  }
6699
6723
  function g({ startsWith: e = "", collapsible: n = !0, depth: r = 6, linkPrefix: i = t, sidebarItemTemplate: a, sidebarGroupTemplate: o } = {}) {
6700
- return Mu(Bu({
6724
+ return Nu(Vu({
6701
6725
  paths: c().getPaths(),
6702
6726
  startsWith: e,
6703
6727
  collapsible: n,
@@ -6732,19 +6756,19 @@ var $ = [
6732
6756
  "head",
6733
6757
  "patch",
6734
6758
  "trace"
6735
- ], Ju = [
6759
+ ], Yu = [
6736
6760
  "string",
6737
6761
  "number",
6738
6762
  "integer",
6739
6763
  "boolean",
6740
6764
  "null"
6741
- ], Yu = Au;
6765
+ ], Xu = ju;
6742
6766
  //#endregion
6743
6767
  //#region src/lib/parser/generateCodeSamples.ts
6744
- async function Xu(e) {
6768
+ async function Zu(e) {
6745
6769
  var t;
6746
6770
  if (!(e != null && e.paths)) return e;
6747
- let n = Ki(((t = e.servers) == null || (t = t[0]) == null ? void 0 : t.url) || "");
6771
+ let n = qi(((t = e.servers) == null || (t = t[0]) == null ? void 0 : t.url) || "");
6748
6772
  for (let [t, a] of Object.entries(e.paths)) for (let e of $) {
6749
6773
  var r, i;
6750
6774
  let o = a[e];
@@ -6752,45 +6776,48 @@ async function Xu(e) {
6752
6776
  let s = ((r = o.securityUi) == null || (r = r[0]) == null ? void 0 : r.schemes) || [], c = Object.keys(((i = o.requestBody) == null ? void 0 : i.content) || {}), l = c.map((e) => {
6753
6777
  var t;
6754
6778
  return Object.values(((t = o.requestBody) == null || (t = t.content) == null || (t = t[e]) == null ? void 0 : t.examples) || {});
6755
- }).flat().find((e) => e == null ? void 0 : e.isAutogenerated), u = aa({
6779
+ }).flat().find((e) => e == null ? void 0 : e.isAutogenerated), u = oa({
6756
6780
  path: t,
6757
6781
  method: e,
6758
6782
  baseUrl: n,
6759
6783
  parameters: (o.parameters || []).filter((e) => !("$ref" in e)),
6760
- authorizations: Object.entries(s).map(([e, t]) => ({
6761
- ...t,
6762
- name: String(e),
6763
- label: String(e)
6764
- })),
6784
+ authorizations: Object.entries(s).map(([e, t]) => {
6785
+ var n;
6786
+ return {
6787
+ ...t,
6788
+ name: (n = t.name) == null ? String(e) : n,
6789
+ label: String(e)
6790
+ };
6791
+ }),
6765
6792
  body: (l == null ? void 0 : l.value) || void 0,
6766
- headers: { ...wa().getCodeSamplesDefaultHeaders() || {} },
6793
+ headers: { ...Ta().getCodeSamplesDefaultHeaders() || {} },
6767
6794
  variables: {},
6768
6795
  contentType: c.length > 0 ? c[0] : void 0
6769
6796
  });
6770
- o.codeSamples = await Promise.all(xa.map(async (e) => ({
6797
+ o.codeSamples = await Promise.all(Sa.map(async (e) => ({
6771
6798
  ...e,
6772
- source: await oa(e, u)
6799
+ source: await sa(e, u)
6773
6800
  })));
6774
6801
  }
6775
6802
  return e;
6776
6803
  }
6777
6804
  //#endregion
6778
6805
  //#region src/lib/parser/generateMissingOperationIds.ts
6779
- var Zu = /\//g;
6780
- function Qu(e) {
6806
+ var Qu = /\//g;
6807
+ function $u(e) {
6781
6808
  e.paths = e.paths || {};
6782
6809
  for (let t of Object.keys(e.paths)) {
6783
6810
  let n = e.paths[t];
6784
6811
  for (let e of $) {
6785
6812
  let r = n[e];
6786
- r && (r.operationId || (r.operationId = `${e}${t.replace(Zu, "-")}`));
6813
+ r && (r.operationId || (r.operationId = `${e}${t.replace(Qu, "-")}`));
6787
6814
  }
6788
6815
  }
6789
6816
  return e;
6790
6817
  }
6791
6818
  //#endregion
6792
6819
  //#region src/lib/parser/generateMissingSummary.ts
6793
- function $u(e) {
6820
+ function ed(e) {
6794
6821
  e.paths = e.paths || {};
6795
6822
  for (let t of Object.keys(e.paths)) {
6796
6823
  let n = e.paths[t];
@@ -6803,7 +6830,7 @@ function $u(e) {
6803
6830
  }
6804
6831
  //#endregion
6805
6832
  //#region src/lib/parser/generateMissingTags.ts
6806
- function ed({ spec: e, defaultTag: t = "Default", defaultTagDescription: n = "" }) {
6833
+ function td({ spec: e, defaultTag: t = "Default", defaultTagDescription: n = "" }) {
6807
6834
  let r = /* @__PURE__ */ new Set();
6808
6835
  e.paths = e.paths || {};
6809
6836
  for (let [, n] of Object.entries(e.paths)) for (let e of $) {
@@ -6818,55 +6845,55 @@ function ed({ spec: e, defaultTag: t = "Default", defaultTagDescription: n = ""
6818
6845
  }
6819
6846
  //#endregion
6820
6847
  //#region src/lib/examples/getSchemaUiJson.ts
6821
- function td(e, t = !1) {
6822
- return nd(e, t);
6823
- }
6824
- function nd(e, t) {
6825
- return Array.isArray(e) ? e.map((e) => rd(e, t)) : rd(e, t);
6848
+ function nd(e, t = !1) {
6849
+ return rd(e, t);
6826
6850
  }
6827
6851
  function rd(e, t) {
6852
+ return Array.isArray(e) ? e.map((e) => id(e, t)) : id(e, t);
6853
+ }
6854
+ function id(e, t) {
6828
6855
  var n, r, i;
6829
6856
  if ((n = e.meta) != null && n.isCircularReference) return "[Circular Reference]";
6830
- if ((r = e.meta) != null && r.isConstant) return sd(e);
6831
- if (ld(e, "array")) return id(e, t);
6832
- if (ud(e)) return od(e, t);
6833
- if (dd(e)) {
6857
+ if ((r = e.meta) != null && r.isConstant) return cd(e);
6858
+ if (ud(e, "array")) return ad(e, t);
6859
+ if (dd(e)) return sd(e, t);
6860
+ if (fd(e)) {
6834
6861
  var a;
6835
- return od({
6862
+ return sd({
6836
6863
  ...e,
6837
6864
  types: [(a = e.types.find((e) => e !== "null")) == null ? "null" : a]
6838
6865
  }, t);
6839
6866
  }
6840
- return hd(e) ? gd(e, t) : fd(e, "object") ? ad(e.properties || [], t) : cd((i = e.types[0]) == null ? "string" : i, e.defaultValue);
6867
+ return gd(e) ? _d(e, t) : pd(e, "object") ? od(e.properties || [], t) : ld((i = e.types[0]) == null ? "string" : i, e.defaultValue);
6841
6868
  }
6842
- function id(e, t) {
6869
+ function ad(e, t) {
6843
6870
  var n;
6844
- if (hd(e)) return [gd(e, t)];
6845
- if ((n = e.meta) != null && n.hasPrefixItems && e.properties && Array.isArray(e.properties)) return e.properties.map((e) => rd(e, t));
6846
- if (e.properties && Array.isArray(e.properties)) return [ad(e.properties, t)];
6871
+ if (gd(e)) return [_d(e, t)];
6872
+ if ((n = e.meta) != null && n.hasPrefixItems && e.properties && Array.isArray(e.properties)) return e.properties.map((e) => id(e, t));
6873
+ if (e.properties && Array.isArray(e.properties)) return [od(e.properties, t)];
6847
6874
  if (e.subtype) {
6848
6875
  var r;
6849
- return e.subtype === "object" && e.properties ? [ad(e.properties, t)] : t ? [(r = Gi(e)) == null ? cd(e.subtype, e.defaultValue) : r] : [cd(e.subtype, e.defaultValue)];
6876
+ return e.subtype === "object" && e.properties ? [od(e.properties, t)] : t ? [(r = Ki(e)) == null ? ld(e.subtype, e.defaultValue) : r] : [ld(e.subtype, e.defaultValue)];
6850
6877
  }
6851
6878
  return [];
6852
6879
  }
6853
- function ad(e, t) {
6854
- return e.reduce((e, n) => (ld(n, "array") ? e[n.name] = id(n, t) : e[n.name] = rd(n, t), e), {});
6855
- }
6856
6880
  function od(e, t) {
6881
+ return e.reduce((e, n) => (ud(n, "array") ? e[n.name] = ad(n, t) : e[n.name] = id(n, t), e), {});
6882
+ }
6883
+ function sd(e, t) {
6857
6884
  var n, r;
6858
6885
  if (t) {
6859
- let t = Gi(e);
6886
+ let t = Ki(e);
6860
6887
  if (t != null) return t;
6861
6888
  }
6862
- return ((n = e.constraints) == null ? void 0 : n.format) === "binary" ? "" : cd((r = e.types[0]) == null ? "string" : r, e.defaultValue);
6889
+ return ((n = e.constraints) == null ? void 0 : n.format) === "binary" ? "" : ld((r = e.types[0]) == null ? "string" : r, e.defaultValue);
6863
6890
  }
6864
- function sd(e) {
6891
+ function cd(e) {
6865
6892
  var t;
6866
- let n = Gi(e);
6867
- return n == null ? cd((t = e.types[0]) == null ? "string" : t, e.defaultValue) : n;
6893
+ let n = Ki(e);
6894
+ return n == null ? ld((t = e.types[0]) == null ? "string" : t, e.defaultValue) : n;
6868
6895
  }
6869
- function cd(e, t) {
6896
+ function ld(e, t) {
6870
6897
  if (t !== void 0) return t;
6871
6898
  switch (e) {
6872
6899
  case "string": return "string";
@@ -6880,41 +6907,41 @@ function cd(e, t) {
6880
6907
  default: return;
6881
6908
  }
6882
6909
  }
6883
- function ld(e, t) {
6910
+ function ud(e, t) {
6884
6911
  var n;
6885
6912
  return ((n = e.types) == null ? void 0 : n.length) === 1 && e.types[0] === t;
6886
6913
  }
6887
- function ud(e) {
6914
+ function dd(e) {
6888
6915
  var t;
6889
- return ((t = e.types) == null ? void 0 : t.length) === 1 && e.types[0] != null && Ju.includes(e.types[0]);
6916
+ return ((t = e.types) == null ? void 0 : t.length) === 1 && e.types[0] != null && Yu.includes(e.types[0]);
6890
6917
  }
6891
- function dd(e) {
6918
+ function fd(e) {
6892
6919
  var t;
6893
- return (t = e.types) == null ? void 0 : t.every((e) => e && Ju.includes(e));
6920
+ return (t = e.types) == null ? void 0 : t.every((e) => e && Yu.includes(e));
6894
6921
  }
6895
- function fd(e, t) {
6922
+ function pd(e, t) {
6896
6923
  var n, r;
6897
6924
  return (n = (r = e.types) == null ? void 0 : r.includes(t)) == null ? !1 : n;
6898
6925
  }
6899
- function pd(e) {
6926
+ function md(e) {
6900
6927
  var t;
6901
6928
  return !!((t = e.meta) != null && t.isOneOf) && Array.isArray(e.properties);
6902
6929
  }
6903
- function md(e) {
6930
+ function hd(e) {
6904
6931
  var t;
6905
6932
  return !!((t = e.meta) != null && t.isAnyOf) && Array.isArray(e.properties);
6906
6933
  }
6907
- function hd(e) {
6908
- return pd(e) || md(e);
6934
+ function gd(e) {
6935
+ return md(e) || hd(e);
6909
6936
  }
6910
- function gd(e, t) {
6911
- if (e.properties && e.properties.length > 0) return rd(e.properties[0], t);
6937
+ function _d(e, t) {
6938
+ if (e.properties && e.properties.length > 0) return id(e.properties[0], t);
6912
6939
  var n;
6913
- return t ? Gi(e) : cd((n = e.types[0]) == null ? "string" : n, e.defaultValue);
6940
+ return t ? Ki(e) : ld((n = e.types[0]) == null ? "string" : n, e.defaultValue);
6914
6941
  }
6915
6942
  //#endregion
6916
6943
  //#region node_modules/.pnpm/json-xml-parse@1.3.0/node_modules/json-xml-parse/lib/constants.js
6917
- var _d = /* @__PURE__ */ E(((e) => {
6944
+ var vd = /* @__PURE__ */ E(((e) => {
6918
6945
  Object.defineProperty(e, "__esModule", { value: !0 }), e.DEFAULTS = e.TAGS = void 0, e.TAGS = {
6919
6946
  OPENING: "OPENING",
6920
6947
  CLOSING: "CLOSING",
@@ -6958,13 +6985,13 @@ var _d = /* @__PURE__ */ E(((e) => {
6958
6985
  return [];
6959
6986
  }
6960
6987
  };
6961
- })), vd = /* @__PURE__ */ E(((e) => {
6988
+ })), yd = /* @__PURE__ */ E(((e) => {
6962
6989
  Object.defineProperty(e, "__esModule", { value: !0 }), e.objIsEmpty = e.keyExists = e.isUndef = e.isArr = e.isStr = e.isFunc = e.isObj = void 0;
6963
6990
  var t = "{}", n = "[]";
6964
6991
  e.isObj = (e) => !!e && typeof e == "object", e.isFunc = (e) => typeof e == "function", e.isStr = (e) => typeof e == "string", e.isArr = (e) => Array.isArray(e), e.isUndef = (e) => e === void 0, e.keyExists = (t, n) => (0, e.isObj)(t) && n in t, e.objIsEmpty = (r) => (0, e.isObj)(r) && [t, n].includes(JSON.stringify(r));
6965
- })), yd = /* @__PURE__ */ E(((e) => {
6992
+ })), bd = /* @__PURE__ */ E(((e) => {
6966
6993
  Object.defineProperty(e, "__esModule", { value: !0 }), e.setDeclaration = e.setAttributes = e.setStringVal = e.createTag = e.checkChildTags = e.createEntityHandler = e.beautify = void 0;
6967
- var t = _d(), n = vd();
6994
+ var t = vd(), n = yd();
6968
6995
  e.beautify = (e, n = t.DEFAULTS.LEVEL.INIT, r = t.DEFAULTS.BEAUTIFY.ENABLE) => {
6969
6996
  let i = e;
6970
6997
  if (!r) return t.DEFAULTS.EMPTY_STR;
@@ -6997,9 +7024,9 @@ var _d = /* @__PURE__ */ E(((e) => {
6997
7024
  let o = Object.assign({}, (0, n.isObj)(r) ? r : t.DEFAULTS.DECLARATION);
6998
7025
  return `<?xml${(0, e.setAttributes)(o, i)}?>${(0, e.beautify)(t.DEFAULTS.NEW_LINE, t.DEFAULTS.LEVEL.INIT, a)}`;
6999
7026
  };
7000
- })), bd = /* @__PURE__ */ E(((e) => {
7027
+ })), xd = /* @__PURE__ */ E(((e) => {
7001
7028
  Object.defineProperty(e, "__esModule", { value: !0 });
7002
- var t = yd(), n = vd(), r = _d();
7029
+ var t = bd(), n = yd(), r = vd();
7003
7030
  e.default = (e = r.DEFAULTS.EMPTY_OBJ, i = r.DEFAULTS.EMPTY_OBJ) => {
7004
7031
  let a = (i == null ? void 0 : i.attrKey) || r.DEFAULTS.ATTR_KEY, o = (i == null ? void 0 : i.contentKey) || r.DEFAULTS.CONTENT_KEY, s = (0, t.createEntityHandler)(Object.assign({}, (0, n.isObj)(i == null ? void 0 : i.entityMap) ? i == null ? void 0 : i.entityMap : r.DEFAULTS.ENTITY_MAP)), c = (0, t.setDeclaration)(i == null ? void 0 : i.declaration, s, i == null ? void 0 : i.beautify), l = (e, u, d) => {
7005
7032
  var f;
@@ -7035,12 +7062,12 @@ var _d = /* @__PURE__ */ E(((e) => {
7035
7062
  l(t, e[t], r.DEFAULTS.LEVEL.INIT);
7036
7063
  }), c))(e);
7037
7064
  };
7038
- })), xd = /* @__PURE__ */ E(((e) => {
7065
+ })), Sd = /* @__PURE__ */ E(((e) => {
7039
7066
  var t = e && e.__importDefault || function(e) {
7040
7067
  return e && e.__esModule ? e : { default: e };
7041
7068
  };
7042
- Object.defineProperty(e, "__esModule", { value: !0 }), e.toXmlString = void 0, e.toXmlString = t(bd()).default;
7043
- })), Sd = (/* @__PURE__ */ E(((e) => {
7069
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.toXmlString = void 0, e.toXmlString = t(xd()).default;
7070
+ })), Cd = (/* @__PURE__ */ E(((e) => {
7044
7071
  var t = e && e.__createBinding || (Object.create ? (function(e, t, n, r) {
7045
7072
  r === void 0 && (r = n);
7046
7073
  var i = Object.getOwnPropertyDescriptor(t, n);
@@ -7065,33 +7092,33 @@ var _d = /* @__PURE__ */ E(((e) => {
7065
7092
  if (e != null) for (var i in e) i !== "default" && Object.prototype.hasOwnProperty.call(e, i) && t(r, e, i);
7066
7093
  return n(r, e), r;
7067
7094
  };
7068
- Object.defineProperty(e, "__esModule", { value: !0 }), e.jsXml = void 0, e.jsXml = r(xd());
7095
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.jsXml = void 0, e.jsXml = r(Sd());
7069
7096
  })))();
7070
- function Cd(e, t = !1) {
7071
- let n = td(e, t);
7072
- return Sd.jsXml.toXmlString(n);
7097
+ function wd(e, t = !1) {
7098
+ let n = nd(e, t);
7099
+ return Cd.jsXml.toXmlString(n);
7073
7100
  }
7074
7101
  //#endregion
7075
7102
  //#region src/lib/examples/getSchemaExample.ts
7076
- function wd(e) {
7103
+ function Td(e) {
7077
7104
  return Fi(e) ? {
7078
7105
  key: "XML",
7079
7106
  summary: "XML",
7080
- valueGenerator: Cd,
7107
+ valueGenerator: wd,
7081
7108
  lang: "xml"
7082
7109
  } : {
7083
7110
  key: "JSON",
7084
7111
  summary: "JSON",
7085
- valueGenerator: td,
7112
+ valueGenerator: nd,
7086
7113
  lang: "json",
7087
7114
  hideOnSchemaTabs: Ii(e) || Li(e) || zi(e)
7088
7115
  };
7089
7116
  }
7090
- function Td(e, t, n = !1) {
7091
- let r = wd(e);
7092
- return { [r.key]: Ed(r, t, n) };
7093
- }
7094
7117
  function Ed(e, t, n = !1) {
7118
+ let r = Td(e);
7119
+ return { [r.key]: Dd(r, t, n) };
7120
+ }
7121
+ function Dd(e, t, n = !1) {
7095
7122
  var r, i;
7096
7123
  return {
7097
7124
  summary: e.summary,
@@ -7104,13 +7131,13 @@ function Ed(e, t, n = !1) {
7104
7131
  }
7105
7132
  //#endregion
7106
7133
  //#region src/lib/examples/getPropertyExamples.ts
7107
- function Dd(e) {
7134
+ function Od(e) {
7108
7135
  var t, n;
7109
7136
  return (e == null ? void 0 : e.examples) === void 0 ? (e == null || (t = e.schema) == null ? void 0 : t.examples) === void 0 ? (e == null ? void 0 : e.example) === void 0 ? (e == null ? void 0 : e.subexamples) === void 0 ? (e == null || (n = e.schema) == null ? void 0 : n.example) === void 0 ? (e == null ? void 0 : e.subexample) === void 0 ? null : [e.subexample] : [e.schema.example] : e.subexamples : [e.example] : e.schema.examples : e.examples;
7110
7137
  }
7111
7138
  //#endregion
7112
7139
  //#region src/lib/parser/constraintsParser.ts
7113
- var Od = [
7140
+ var kd = [
7114
7141
  "exclusiveMaximum",
7115
7142
  "exclusiveMinimum",
7116
7143
  "format",
@@ -7127,52 +7154,52 @@ var Od = [
7127
7154
  "uniqueItems",
7128
7155
  "default"
7129
7156
  ];
7130
- function kd(e) {
7131
- return Object.keys(e).some((e) => Od.includes(e));
7132
- }
7133
7157
  function Ad(e) {
7134
- return Object.entries(e).filter(([e]) => Od.includes(e)).reduce((e, [t, n]) => (e[t] = n, e), {});
7158
+ return Object.keys(e).some((e) => kd.includes(e));
7159
+ }
7160
+ function jd(e) {
7161
+ return Object.entries(e).filter(([e]) => kd.includes(e)).reduce((e, [t, n]) => (e[t] = n, e), {});
7135
7162
  }
7136
7163
  //#endregion
7137
7164
  //#region src/lib/parser/resolveCircularRef.ts
7138
- function jd(e) {
7139
- return Md({
7165
+ function Md(e) {
7166
+ return Nd({
7140
7167
  key: "root",
7141
7168
  value: e,
7142
7169
  parent: null
7143
7170
  }), e;
7144
7171
  }
7145
- function Md(e) {
7172
+ function Nd(e) {
7146
7173
  let { value: t } = e;
7147
7174
  if (typeof t != "object" || !t) return;
7148
- let n = Nd(e.parent, t);
7175
+ let n = Pd(e.parent, t);
7149
7176
  if (n) e.parent.value[e.key] = {
7150
7177
  type: "object",
7151
7178
  circularReference: n
7152
7179
  };
7153
- else for (let [n, r] of Object.entries(t)) Md({
7180
+ else for (let [n, r] of Object.entries(t)) Nd({
7154
7181
  key: n,
7155
7182
  value: r,
7156
7183
  parent: e
7157
7184
  });
7158
7185
  }
7159
- function Nd(e, t) {
7160
- let n = t && t[xu] ? t[xu] : t;
7186
+ function Pd(e, t) {
7187
+ let n = t && t[Su] ? t[Su] : t;
7161
7188
  for (; e;) {
7162
7189
  let t = e.value;
7163
- if ((t && t[xu] ? t[xu] : t) === n) return Pd(e);
7190
+ if ((t && t[Su] ? t[Su] : t) === n) return Fd(e);
7164
7191
  e = e.parent;
7165
7192
  }
7166
7193
  return null;
7167
7194
  }
7168
- function Pd(e) {
7169
- return e ? `${Pd(e.parent)}/${e.key}` : "";
7195
+ function Fd(e) {
7196
+ return e ? `${Fd(e.parent)}/${e.key}` : "";
7170
7197
  }
7171
7198
  //#endregion
7172
7199
  //#region src/lib/parser/getSchemaUi.ts
7173
- var Fd = class e {
7200
+ var Id = class e {
7174
7201
  static createBaseProperty(e, t = {}, n = !1) {
7175
- let r = Array.isArray(t.type) ? t.type : [t.type || "string"], i = Dd(t), a = {
7202
+ let r = Array.isArray(t.type) ? t.type : [t.type || "string"], i = Od(t), a = {
7176
7203
  name: e,
7177
7204
  types: r,
7178
7205
  required: n,
@@ -7186,7 +7213,7 @@ var Fd = class e {
7186
7213
  return t.const !== void 0 && (a.meta = {
7187
7214
  ...a.meta || {},
7188
7215
  isConstant: !0
7189
- }), kd(t) && (a.constraints = Ad(t)), Object.keys(t).forEach((e) => {
7216
+ }), Ad(t) && (a.constraints = jd(t)), Object.keys(t).forEach((e) => {
7190
7217
  e.startsWith("x-") && (a.meta = a.meta || {}, a.meta.extra = a.meta.extra || {}, a.meta.extra[e] = t[e]);
7191
7218
  }), a;
7192
7219
  }
@@ -7200,7 +7227,7 @@ var Fd = class e {
7200
7227
  };
7201
7228
  }
7202
7229
  static createUnionProperty(t, n, r = "", i = {}, a = !1) {
7203
- let o = e.createBaseProperty(r, i, a), s = [...new Set(t.map((e) => Rd(e)).filter(Boolean))];
7230
+ let o = e.createBaseProperty(r, i, a), s = [...new Set(t.map((e) => zd(e)).filter(Boolean))];
7204
7231
  s.length > 0 && (o.types = s);
7205
7232
  let c = n === "oneOf", l = c ? "isOneOfItem" : "isAnyOfItem", u = c ? "isOneOf" : "isAnyOf";
7206
7233
  return o.properties = t.map((t) => {
@@ -7230,9 +7257,9 @@ var Fd = class e {
7230
7257
  if (n.oneOf) return e.createOneOfProperty(n.oneOf, t, n, r);
7231
7258
  if (n.anyOf) return e.createAnyOfProperty(n.anyOf, t, n, r);
7232
7259
  if (n.const !== void 0) {
7233
- let i = e.createBaseProperty(t, n, r), a = Rd(n);
7260
+ let i = e.createBaseProperty(t, n, r), a = zd(n);
7234
7261
  a && (i.types = [a]);
7235
- let o = Dd(n) || n.const;
7262
+ let o = Od(n) || n.const;
7236
7263
  return o !== void 0 && (i.examples = Array.isArray(o) ? o : [o]), i.meta = {
7237
7264
  ...i.meta || {},
7238
7265
  isConstant: !0
@@ -7240,16 +7267,16 @@ var Fd = class e {
7240
7267
  }
7241
7268
  if (n.enum) {
7242
7269
  let i = [];
7243
- i = n.type ? Array.isArray(n.type) ? n.type : [n.type] : Ld(n.enum), i.length === 0 && (i = ["string"]);
7270
+ i = n.type ? Array.isArray(n.type) ? n.type : [n.type] : Rd(n.enum), i.length === 0 && (i = ["string"]);
7244
7271
  let a = e.createBaseProperty(t, n, r);
7245
7272
  return a.enum = n.enum, a.types = i, a;
7246
7273
  }
7247
7274
  let i = e.createBaseProperty(t, n, r);
7248
7275
  if (Array.isArray(n.type) ? n.type.includes("array") : n.type === "array") {
7249
7276
  if (n.items) {
7250
- let t = Rd(n.items);
7277
+ let t = zd(n.items);
7251
7278
  i.properties = t === "object" ? e.extractProperties(n.items.properties, n.items.required || [], n.items.additionalProperties, n.items["x-additionalPropertiesName"]) : void 0, t !== void 0 && (i.subtype = t);
7252
- let r = Dd(n.items);
7279
+ let r = Od(n.items);
7253
7280
  if (r && (i.subexamples = r), n.items.const !== void 0 && (i.meta = {
7254
7281
  ...i.meta || {},
7255
7282
  isConstant: !0
@@ -7312,31 +7339,31 @@ var Fd = class e {
7312
7339
  return a;
7313
7340
  }
7314
7341
  };
7315
- function Id(e) {
7342
+ function Ld(e) {
7316
7343
  if (!e || Object.keys(e).length === 0) return [];
7317
- let t = jd(e);
7318
- return Fd.schemaToUiProperty("", t);
7344
+ let t = Md(e);
7345
+ return Id.schemaToUiProperty("", t);
7319
7346
  }
7320
- function Ld(e) {
7347
+ function Rd(e) {
7321
7348
  let t = /* @__PURE__ */ new Set();
7322
7349
  return e.forEach((e) => {
7323
7350
  e === null ? t.add("null") : Array.isArray(e) ? t.add("array") : typeof e == "object" ? t.add("object") : typeof e == "string" ? t.add("string") : typeof e == "boolean" ? t.add("boolean") : typeof e == "number" && t.add(Number.isInteger(e) ? "integer" : "number");
7324
7351
  }), t.has("number") && t.delete("integer"), [...t];
7325
7352
  }
7326
- function Rd(e) {
7353
+ function zd(e) {
7327
7354
  return !e.type && e.properties ? "object" : !e.type && e.items ? "array" : !e.type && e.const !== void 0 ? Array.isArray(e.const) ? "array" : typeof e.const == "object" && e.const !== null ? "object" : typeof e.const == "string" ? "string" : typeof e.const == "number" ? "number" : typeof e.const == "boolean" ? "boolean" : "null" : e.type;
7328
7355
  }
7329
7356
  //#endregion
7330
7357
  //#region src/lib/parser/generateRequestBodyUi.ts
7331
- function zd(e) {
7358
+ function Bd(e) {
7332
7359
  if (!e.paths) return e;
7333
7360
  for (let t of Object.values(e.paths)) for (let e of $) {
7334
7361
  let n = t[e];
7335
7362
  if (n && n.requestBody) for (let [e, t] of Object.entries(n.requestBody.content || {})) {
7336
7363
  let n = t;
7337
- n.schema && (n.ui = Id(n.schema), n.examples = {
7364
+ n.schema && (n.ui = Ld(n.schema), n.examples = {
7338
7365
  ...n.examples || {},
7339
- ...Td(e, n.ui, !0)
7366
+ ...Ed(e, n.ui, !0)
7340
7367
  });
7341
7368
  }
7342
7369
  }
@@ -7344,15 +7371,15 @@ function zd(e) {
7344
7371
  }
7345
7372
  //#endregion
7346
7373
  //#region src/lib/parser/generateResponseUi.ts
7347
- function Bd(e) {
7374
+ function Vd(e) {
7348
7375
  if (!e.paths) return e;
7349
7376
  for (let t of Object.values(e.paths)) for (let e of $) {
7350
7377
  let n = t[e];
7351
7378
  if (n && n.responses) for (let e of Object.values(n.responses)) for (let [t, n] of Object.entries(e.content || {})) {
7352
7379
  let e = n;
7353
- e.schema && (e.ui = Id(e.schema), e.examples = {
7380
+ e.schema && (e.ui = Ld(e.schema), e.examples = {
7354
7381
  ...e.examples || {},
7355
- ...Td(t, e.ui, !0)
7382
+ ...Ed(t, e.ui, !0)
7356
7383
  });
7357
7384
  }
7358
7385
  }
@@ -7360,59 +7387,59 @@ function Bd(e) {
7360
7387
  }
7361
7388
  //#endregion
7362
7389
  //#region src/lib/parser/getSecurityUi.ts
7363
- var Vd = "None";
7364
- function Hd(e, t) {
7390
+ var Hd = "None";
7391
+ function Ud(e, t) {
7365
7392
  let n = [];
7366
7393
  return e ? (e.forEach((e) => {
7367
7394
  let r = {
7368
- id: Object.keys(e).length ? Object.keys(e).join("|") : Vd,
7395
+ id: Object.keys(e).length ? Object.keys(e).join("|") : Hd,
7369
7396
  schemes: {}
7370
7397
  };
7371
7398
  Object.keys(e).forEach((e) => {
7372
7399
  t && t[e] && (r.schemes[e] = t[e]);
7373
7400
  }), n.push(r);
7374
- }), n.length === 1 && n[0].id === Vd && Object.keys(n[0].schemes).length === 0 ? [] : n) : n;
7401
+ }), n.length === 1 && n[0].id === Hd && Object.keys(n[0].schemes).length === 0 ? [] : n) : n;
7375
7402
  }
7376
7403
  //#endregion
7377
7404
  //#region src/lib/parser/generateSecurityUi.ts
7378
- function Ud(e) {
7405
+ function Wd(e) {
7379
7406
  if (!(e != null && e.paths)) return e;
7380
7407
  for (let i of Object.values(e.paths)) for (let a of $) {
7381
7408
  var t, n, r;
7382
7409
  let o = i[a];
7383
- o && (o.securityUi = Hd((t = (n = o.security) == null ? e.security : n) == null ? [] : t, ((r = e.components) == null ? void 0 : r.securitySchemes) || {}));
7410
+ o && (o.securityUi = Ud((t = (n = o.security) == null ? e.security : n) == null ? [] : t, ((r = e.components) == null ? void 0 : r.securitySchemes) || {}));
7384
7411
  }
7385
7412
  return e;
7386
7413
  }
7387
7414
  //#endregion
7388
7415
  //#region src/lib/parser/parseOpenapi.ts
7389
- function Wd() {
7416
+ function Gd() {
7390
7417
  function e({ spec: e, defaultTag: t = void 0, defaultTagDescription: n = void 0 }) {
7391
- let r = bu(e);
7392
- return r ? !r.openapi || !String(r.openapi).startsWith("3.") ? (console.warn("Only OpenAPI 3.x is supported"), {}) : (r != null && r.paths && (r = Qu(r), r = $u(r), r = ed({
7418
+ let r = xu(e);
7419
+ return r ? !r.openapi || !String(r.openapi).startsWith("3.") ? (console.warn("Only OpenAPI 3.x is supported"), {}) : (r != null && r.paths && (r = $u(r), r = ed(r), r = td({
7393
7420
  spec: r,
7394
7421
  defaultTag: t,
7395
7422
  defaultTagDescription: n
7396
7423
  })), r.externalDocs = r.externalDocs || {}, r.info = r.info || {}, r.servers = r.servers || [], r.tags = r.tags || [], { ...r }) : {};
7397
7424
  }
7398
7425
  async function t({ spec: e }) {
7399
- let t = bu(e), [n, r] = await Ta(() => Xu(t));
7426
+ let t = xu(e), [n, r] = await Ea(() => Zu(t));
7400
7427
  return t = r ? t : n, t;
7401
7428
  }
7402
7429
  function n({ spec: t, defaultTag: n = void 0, defaultTagDescription: r = void 0 }) {
7403
- let i = { ...bu(t) }, [a, o] = Ta(() => Io(e({
7430
+ let i = { ...xu(t) }, [a, o] = Ea(() => Lo(e({
7404
7431
  spec: t,
7405
7432
  defaultTag: n,
7406
7433
  defaultTagDescription: r
7407
7434
  })));
7408
7435
  i = o ? i : a;
7409
- let [s, c] = Ta(() => ku(i));
7436
+ let [s, c] = Ea(() => Au(i));
7410
7437
  i = c ? i : s;
7411
- let [l, u] = Ta(() => Ud(i));
7438
+ let [l, u] = Ea(() => Wd(i));
7412
7439
  i = u ? i : l;
7413
- let [d, f] = Ta(() => zd(i));
7440
+ let [d, f] = Ea(() => Bd(i));
7414
7441
  i = f ? i : d;
7415
- let [p, m] = Ta(() => Bd(i));
7442
+ let [p, m] = Ea(() => Vd(i));
7416
7443
  return i = m ? i : p, i.externalDocs = i.externalDocs || i.externalDocs || {}, i.info = i.info || i.info || {}, i.servers = i.servers || i.servers || [], i.tags = i.tags || i.tags || [], { ...i };
7417
7444
  }
7418
7445
  async function r({ spec: e, defaultTag: r = void 0, defaultTagDescription: i = void 0 }) {
@@ -7432,55 +7459,55 @@ function Wd() {
7432
7459
  }
7433
7460
  //#endregion
7434
7461
  //#region src/composables/useOpenapi.ts
7435
- var Gd = Symbol("openapiLocal"), Kd = null;
7436
- function qd(e, t) {
7437
- return Au({
7462
+ var Kd = Symbol("openapiLocal"), qd = null;
7463
+ function Jd(e, t) {
7464
+ return ju({
7438
7465
  spec: e,
7439
7466
  originalSpec: t
7440
7467
  });
7441
7468
  }
7442
- function Jd(e) {
7443
- let t = bu(e.spec);
7444
- return qd(Wd().parseSync({
7469
+ function Yd(e) {
7470
+ let t = xu(e.spec);
7471
+ return Jd(Gd().parseSync({
7445
7472
  spec: e.spec,
7446
7473
  defaultTag: e.defaultTag,
7447
7474
  defaultTagDescription: e.defaultTagDescription
7448
7475
  }), t);
7449
7476
  }
7450
- async function Yd(e) {
7451
- let t = bu(e.spec);
7452
- return qd(await Wd().parseAsync({
7477
+ async function Xd(e) {
7478
+ let t = xu(e.spec);
7479
+ return Jd(await Gd().parseAsync({
7453
7480
  spec: e.spec,
7454
7481
  defaultTag: e.defaultTag,
7455
7482
  defaultTagDescription: e.defaultTagDescription
7456
7483
  }), t);
7457
7484
  }
7458
- function Xd() {
7459
- return o(Gd, null);
7460
- }
7461
7485
  function Zd() {
7462
- return Kd;
7486
+ return o(Kd, null);
7487
+ }
7488
+ function Qd() {
7489
+ return qd;
7463
7490
  }
7464
- function Qd(e = {}) {
7491
+ function $d(e = {}) {
7465
7492
  var t, n;
7466
- if (e.config && wa(e.config), e.spec) {
7493
+ if (e.config && Ta(e.config), e.spec) {
7467
7494
  var r, i;
7468
- Kd = Jd({
7495
+ qd = Yd({
7469
7496
  spec: e.spec,
7470
7497
  defaultTag: (r = e.config) == null || (r = r.spec) == null ? void 0 : r.defaultTag,
7471
7498
  defaultTagDescription: (i = e.config) == null || (i = i.spec) == null ? void 0 : i.defaultTagDescription
7472
7499
  });
7473
7500
  }
7474
- let a = (t = (n = Xd()) == null ? Kd : n) == null ? Au({}) : t;
7501
+ let a = (t = (n = Zd()) == null ? qd : n) == null ? ju({}) : t;
7475
7502
  async function o(t = {}) {
7476
7503
  var n, r, i;
7477
7504
  let a = (n = t.spec) == null ? e.spec : n;
7478
7505
  if (!a) throw Error("No spec provided");
7479
- return Kd = await Yd({
7506
+ return qd = await Xd({
7480
7507
  spec: a,
7481
7508
  defaultTag: (r = e.config) == null || (r = r.spec) == null ? void 0 : r.defaultTag,
7482
7509
  defaultTagDescription: (i = e.config) == null || (i = i.spec) == null ? void 0 : i.defaultTagDescription
7483
- }), Kd;
7510
+ }), qd;
7484
7511
  }
7485
7512
  return {
7486
7513
  ...a,
@@ -7488,4 +7515,4 @@ function Qd(e = {}) {
7488
7515
  };
7489
7516
  }
7490
7517
  //#endregion
7491
- export { ie as $, O as A, le as B, Ki as C, Pi as D, Ii as E, Re as F, be as G, fe as H, ze as I, ue as J, Ae as K, ot as L, He as M, Le as N, Li as O, ct as P, ne as Q, nt as R, qi as S, Wi as T, ke as U, de as V, he as W, E as X, Fe as Y, te as Z, va as _, Wd as a, oa as b, Yu as c, qu as d, oe as et, Wu as f, yu as g, bu as h, Qd as i, D as j, Fi as k, $ as l, Au as m, Zd as n, Ad as o, ju as p, Ne as q, Xd as r, Dd as s, Gd as t, ae as tt, Ju as u, wa as v, Ui as w, aa as x, pa as y, lt as z };
7518
+ export { ie as $, O as A, le as B, qi as C, Pi as D, Ii as E, Re as F, be as G, fe as H, ze as I, ue as J, Ae as K, ot as L, He as M, Le as N, Li as O, ct as P, ne as Q, nt as R, Ji as S, Gi as T, ke as U, de as V, he as W, E as X, Fe as Y, te as Z, ya as _, Gd as a, sa as b, Xu as c, Ju as d, oe as et, Gu as f, bu as g, xu as h, $d as i, D as j, Fi as k, $ as l, ju as m, Qd as n, jd as o, Mu as p, Ne as q, Zd as r, Od as s, Kd as t, ae as tt, Yu as u, Ta as v, Wi as w, oa as x, ma as y, lt as z };