@xpert-ai/chatkit-ui 0.5.11 → 0.5.12

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 (334) hide show
  1. package/dist/app/assets/{_baseUniq-D2IgWDBu.js → _baseUniq-DwflpihX.js} +1 -1
  2. package/dist/app/assets/{abap-DKQsRD7P.js → abap-D25-GbQj.js} +1 -1
  3. package/dist/app/assets/{abnf-CakdgbfU.js → abnf-C1WBnvMx.js} +1 -1
  4. package/dist/app/assets/{actionscript-3FXzXQwC.js → actionscript-mX97GP9l.js} +1 -1
  5. package/dist/app/assets/{ada-CuBckY_v.js → ada-W4yfDkSN.js} +1 -1
  6. package/dist/app/assets/{agda-CnA4hf2k.js → agda-BdJGx6cT.js} +1 -1
  7. package/dist/app/assets/{al-Dr9yufze.js → al-C-bPOkrx.js} +1 -1
  8. package/dist/app/assets/{antlr4-CFBfIi_k.js → antlr4-Bthu8OE7.js} +1 -1
  9. package/dist/app/assets/{apacheconf-BLh4uw9F.js → apacheconf-Cu6l0HSA.js} +1 -1
  10. package/dist/app/assets/{apex-CGB146ZB.js → apex-76ZYiHyp.js} +1 -1
  11. package/dist/app/assets/{apl-BtxcLf1U.js → apl-9Z21vRxM.js} +1 -1
  12. package/dist/app/assets/{applescript-D66cJ8Zt.js → applescript-g4g_yKhu.js} +1 -1
  13. package/dist/app/assets/{aql-ZzZfKTYl.js → aql-Bfp0S0vI.js} +1 -1
  14. package/dist/app/assets/{arc-DSmA74t9.js → arc-7LWZotcl.js} +1 -1
  15. package/dist/app/assets/{architectureDiagram-Q4EWVU46-DGDj7CiR.js → architectureDiagram-Q4EWVU46-CWLLJvNf.js} +1 -1
  16. package/dist/app/assets/{arduino-B8otSxwK.js → arduino-DwpX7-x7.js} +1 -1
  17. package/dist/app/assets/{arff-It4tXSji.js → arff-TMIspuUh.js} +1 -1
  18. package/dist/app/assets/{asciidoc-CoVKUtvA.js → asciidoc-BQawqIvc.js} +1 -1
  19. package/dist/app/assets/{asm6502-Cc5IYXwp.js → asm6502-DnihPBTm.js} +1 -1
  20. package/dist/app/assets/{asmatmel-nwknX6Ax.js → asmatmel-DRZ96u7W.js} +1 -1
  21. package/dist/app/assets/{aspnet-D2vXH52u.js → aspnet-BJRGMw5L.js} +1 -1
  22. package/dist/app/assets/{autohotkey-ClW4PB5b.js → autohotkey-CLiAKVi3.js} +1 -1
  23. package/dist/app/assets/{autoit-Dbvw9dgZ.js → autoit-DsYhQzvt.js} +1 -1
  24. package/dist/app/assets/{avisynth-oLVaCUHU.js → avisynth-C16FJf9l.js} +1 -1
  25. package/dist/app/assets/{avro-idl-CbQ-4JLu.js → avro-idl-BBhWmTOY.js} +1 -1
  26. package/dist/app/assets/{bash-Bv948m2A.js → bash-CQG8Dp9t.js} +1 -1
  27. package/dist/app/assets/{basic-VBc5WgjX.js → basic-BJfX4qmD.js} +1 -1
  28. package/dist/app/assets/{batch-CMFv4W8s.js → batch-DjRIskwK.js} +1 -1
  29. package/dist/app/assets/{bbcode-Qh4ZvzxB.js → bbcode-B6bQ9aNz.js} +1 -1
  30. package/dist/app/assets/{bicep-Cgkhnd97.js → bicep-B4pzuwxH.js} +1 -1
  31. package/dist/app/assets/{birb-DeLlvx-X.js → birb-DtmwIW3Y.js} +1 -1
  32. package/dist/app/assets/{bison-CGen_SSr.js → bison-DT0VivRq.js} +1 -1
  33. package/dist/app/assets/{blockDiagram-DXYQGD6D-B5-rR5rG.js → blockDiagram-DXYQGD6D-CF0-ys7W.js} +1 -1
  34. package/dist/app/assets/{bnf-U9dFTeu-.js → bnf-B4-p6TLR.js} +1 -1
  35. package/dist/app/assets/{brainfuck-BCCbpUkW.js → brainfuck-BN4mVAhx.js} +1 -1
  36. package/dist/app/assets/{brightscript-C-DXt555.js → brightscript-BvZP2R5M.js} +1 -1
  37. package/dist/app/assets/{bro-DfMBFbKl.js → bro-DZOICh4-.js} +1 -1
  38. package/dist/app/assets/{bsl-C4lGlqLv.js → bsl-KfApPClk.js} +1 -1
  39. package/dist/app/assets/{c-CEpyTi9M.js → c-1JwkyMAB.js} +1 -1
  40. package/dist/app/assets/{c4Diagram-AHTNJAMY-DZFR4LX5.js → c4Diagram-AHTNJAMY-DW4uPgwu.js} +1 -1
  41. package/dist/app/assets/{cfscript-C1mgQcJX.js → cfscript-BStmzNN3.js} +1 -1
  42. package/dist/app/assets/{chaiscript-GY864__g.js → chaiscript-LnB1WP7I.js} +1 -1
  43. package/dist/app/assets/channel-CsyIKbuP.js +1 -0
  44. package/dist/app/assets/{chunk-4BX2VUAB-DiaddUUX.js → chunk-4BX2VUAB-BwkhfvlY.js} +1 -1
  45. package/dist/app/assets/{chunk-4TB4RGXK-DrUvOYr-.js → chunk-4TB4RGXK-DncUr1Lj.js} +1 -1
  46. package/dist/app/assets/{chunk-55IACEB6-CUhGHrcY.js → chunk-55IACEB6-Cvk1QWdn.js} +1 -1
  47. package/dist/app/assets/{chunk-EDXVE4YY-BKjxVlPZ.js → chunk-EDXVE4YY-saBmWQ7X.js} +1 -1
  48. package/dist/app/assets/{chunk-FMBD7UC4-B_mrLSZS.js → chunk-FMBD7UC4-Dt_eBUE0.js} +1 -1
  49. package/dist/app/assets/{chunk-OYMX7WX6-CnRJKMn5.js → chunk-OYMX7WX6-CaD0OEyB.js} +1 -1
  50. package/dist/app/assets/{chunk-QZHKN3VN-DOzIfAuc.js → chunk-QZHKN3VN-CaS8tys9.js} +1 -1
  51. package/dist/app/assets/{chunk-YZCP3GAM-CF4CA5J_.js → chunk-YZCP3GAM-C7vtriCx.js} +1 -1
  52. package/dist/app/assets/{cil-DWowjYol.js → cil-Co5847KU.js} +1 -1
  53. package/dist/app/assets/classDiagram-6PBFFD2Q-CsgtdI5C.js +1 -0
  54. package/dist/app/assets/classDiagram-v2-HSJHXN6E-CsgtdI5C.js +1 -0
  55. package/dist/app/assets/{clike-BEIk774o.js → clike-C48ghCgR.js} +1 -1
  56. package/dist/app/assets/{clojure-BqYu8Hwb.js → clojure-mGw9edBE.js} +1 -1
  57. package/dist/app/assets/clone-D4bvEwcj.js +1 -0
  58. package/dist/app/assets/{cmake-DHPsr83P.js → cmake-BfvCCoPb.js} +1 -1
  59. package/dist/app/assets/{cobol-CapXB_EH.js → cobol-3nLX4h7a.js} +1 -1
  60. package/dist/app/assets/{coffeescript-BdfidV1s.js → coffeescript-BVwDdKSy.js} +1 -1
  61. package/dist/app/assets/{concurnas-CCu18Ufm.js → concurnas-BjUGEWzQ.js} +1 -1
  62. package/dist/app/assets/{coq-DUNJO9aB.js → coq-C6ReNqAg.js} +1 -1
  63. package/dist/app/assets/{core-B01CD3we.js → core-Cq51nvpN.js} +1 -1
  64. package/dist/app/assets/{cose-bilkent-S5V4N54A-CQckuOjI.js → cose-bilkent-S5V4N54A-WdIDwdT2.js} +1 -1
  65. package/dist/app/assets/{cpp-B0ecrLNz.js → cpp-0xAJOet1.js} +1 -1
  66. package/dist/app/assets/{crystal-DmkOtBqh.js → crystal-D7yKWR9Y.js} +1 -1
  67. package/dist/app/assets/{csharp-vJJWDRM_.js → csharp-BHypmt2T.js} +1 -1
  68. package/dist/app/assets/{cshtml-uk9lpGeI.js → cshtml-6B_JNkUD.js} +1 -1
  69. package/dist/app/assets/{csp-CSKaxlzW.js → csp-Df00L3E4.js} +1 -1
  70. package/dist/app/assets/{css-KUP-u3ce.js → css-D_Ay4PNz.js} +1 -1
  71. package/dist/app/assets/{css-extras-ChFO6rAa.js → css-extras-CjMMZtxY.js} +1 -1
  72. package/dist/app/assets/{csv-13C91ywp.js → csv-Di138dcF.js} +1 -1
  73. package/dist/app/assets/{cypher-CDv7U88j.js → cypher-Dx5tGn_l.js} +1 -1
  74. package/dist/app/assets/{d-R3GD5sst.js → d-Brsx99Ht.js} +1 -1
  75. package/dist/app/assets/{dagre-KV5264BT-DlJMTF3p.js → dagre-KV5264BT-CFFq0caA.js} +1 -1
  76. package/dist/app/assets/{dart-fv3MR8Hg.js → dart-SwQx6ql_.js} +1 -1
  77. package/dist/app/assets/{dataweave-mTqsBuam.js → dataweave-BYkC9uQW.js} +1 -1
  78. package/dist/app/assets/{dax-DkcjI-jT.js → dax-CkAsPdqr.js} +1 -1
  79. package/dist/app/assets/{dhall-BefzxTmu.js → dhall-DCS3DZVv.js} +1 -1
  80. package/dist/app/assets/{diagram-5BDNPKRD-Bab3u4VF.js → diagram-5BDNPKRD-DVjJ-cjN.js} +1 -1
  81. package/dist/app/assets/{diagram-G4DWMVQ6-BQXBct1X.js → diagram-G4DWMVQ6-JlIDQKLk.js} +1 -1
  82. package/dist/app/assets/{diagram-MMDJMWI5-CD0uh5Ye.js → diagram-MMDJMWI5-gARloYvd.js} +1 -1
  83. package/dist/app/assets/{diagram-TYMM5635-BM4_XVz0.js → diagram-TYMM5635-DQ9Z75om.js} +1 -1
  84. package/dist/app/assets/{diff-BJTtN3z2.js → diff-DJYecTe9.js} +1 -1
  85. package/dist/app/assets/{django-V8o6VdtL.js → django-DNppKQ9g.js} +1 -1
  86. package/dist/app/assets/{dns-zone-file-DGmhWmbZ.js → dns-zone-file-d288Xos2.js} +1 -1
  87. package/dist/app/assets/{docker-Cxh8gjCE.js → docker-C_Adaodb.js} +1 -1
  88. package/dist/app/assets/{dot-BqUlz0Yh.js → dot-DNBLEL2F.js} +1 -1
  89. package/dist/app/assets/{ebnf-CflZCOtn.js → ebnf-lU8ia25H.js} +1 -1
  90. package/dist/app/assets/{editorconfig-mlabAduJ.js → editorconfig-BlXI5_uE.js} +1 -1
  91. package/dist/app/assets/{eiffel-D-ZftpAV.js → eiffel-AOHcJTBy.js} +1 -1
  92. package/dist/app/assets/{ejs-BpupKyky.js → ejs-kUoPOJJu.js} +1 -1
  93. package/dist/app/assets/{elixir-DDXBoeTT.js → elixir-BlRCgHet.js} +1 -1
  94. package/dist/app/assets/{elm-B3Zk26Rv.js → elm-BsS5ttmn.js} +1 -1
  95. package/dist/app/assets/{erDiagram-SMLLAGMA--xo95hAu.js → erDiagram-SMLLAGMA-BMm9yLIW.js} +1 -1
  96. package/dist/app/assets/{erb-B4HRGpX_.js → erb-CZivXA88.js} +1 -1
  97. package/dist/app/assets/{erlang-DWUEsa_Z.js → erlang-CBMk4BHl.js} +1 -1
  98. package/dist/app/assets/{etlua-DNYtr6oM.js → etlua-D4E-UXgA.js} +1 -1
  99. package/dist/app/assets/{excel-formula-CSN7OAl9.js → excel-formula-CVIDdWWf.js} +1 -1
  100. package/dist/app/assets/{factor-BJmYTOs4.js → factor-bBdfgx5c.js} +1 -1
  101. package/dist/app/assets/{false-B8XKor7S.js → false-CtRTzVqy.js} +1 -1
  102. package/dist/app/assets/{firestore-security-rules-DpOBaWEX.js → firestore-security-rules-BEQOI5uv.js} +1 -1
  103. package/dist/app/assets/{flow-BPVkPCFp.js → flow-Cf28XhMF.js} +1 -1
  104. package/dist/app/assets/{flowDiagram-DWJPFMVM-Cku5HglU.js → flowDiagram-DWJPFMVM-DQ4n6Zof.js} +1 -1
  105. package/dist/app/assets/{fortran-CifNmxB7.js → fortran-CS3OuQSi.js} +1 -1
  106. package/dist/app/assets/{fsharp-BlAKmRE2.js → fsharp-CmWupSdO.js} +1 -1
  107. package/dist/app/assets/{ftl-Dw-6EXX_.js → ftl-DbdebG2G.js} +1 -1
  108. package/dist/app/assets/{ganttDiagram-T4ZO3ILL-8zwkLWJJ.js → ganttDiagram-T4ZO3ILL-Bs0PVgZY.js} +1 -1
  109. package/dist/app/assets/{gap-DfZYaqN5.js → gap-Be9Y1cPC.js} +1 -1
  110. package/dist/app/assets/{gcode-BcsKjycL.js → gcode-CoHv1IZR.js} +1 -1
  111. package/dist/app/assets/{gdscript-D0yJLAbl.js → gdscript-DfJWU6cW.js} +1 -1
  112. package/dist/app/assets/{gedcom-DOTC-Rbm.js → gedcom-DWk1-e-z.js} +1 -1
  113. package/dist/app/assets/{gherkin-COFqb4jr.js → gherkin-CjB2RSj2.js} +1 -1
  114. package/dist/app/assets/{git-CJki4Ldf.js → git-CHtEsZlr.js} +1 -1
  115. package/dist/app/assets/{gitGraphDiagram-UUTBAWPF-CTgTar7o.js → gitGraphDiagram-UUTBAWPF-4GABGH-P.js} +1 -1
  116. package/dist/app/assets/{glsl-XdY2jSgC.js → glsl-C9JADbEW.js} +1 -1
  117. package/dist/app/assets/{gml-BJndVAI_.js → gml-0g2_wiE7.js} +1 -1
  118. package/dist/app/assets/{gn-CRDj_suq.js → gn-BuRAxOWg.js} +1 -1
  119. package/dist/app/assets/{go-DtgLD33c.js → go-BenBn-cT.js} +1 -1
  120. package/dist/app/assets/{go-module-XcABENI5.js → go-module-BDGOGhik.js} +1 -1
  121. package/dist/app/assets/{graph-D42NbYvZ.js → graph-NiSljtN_.js} +1 -1
  122. package/dist/app/assets/{graphql-U9RNf196.js → graphql-BwY3dR6N.js} +1 -1
  123. package/dist/app/assets/{groovy-DYv_DcRO.js → groovy-DQSRfQ_A.js} +1 -1
  124. package/dist/app/assets/{haml-CS7AG81a.js → haml-CRjdbE3B.js} +1 -1
  125. package/dist/app/assets/{handlebars-BQsIa7Yr.js → handlebars-BEMk92iT.js} +1 -1
  126. package/dist/app/assets/{haskell-cZHjtICv.js → haskell-Cg94xQJj.js} +1 -1
  127. package/dist/app/assets/{haxe-9NO5IDEY.js → haxe-DWia1Hf0.js} +1 -1
  128. package/dist/app/assets/{hcl-DqYubIgC.js → hcl-J-mNDTuD.js} +1 -1
  129. package/dist/app/assets/{hlsl-DXP88JTf.js → hlsl-BGzTT4vE.js} +1 -1
  130. package/dist/app/assets/{hoon-xEqjx25t.js → hoon-DnDPxKoD.js} +1 -1
  131. package/dist/app/assets/{hpkp-D3qO_isK.js → hpkp-ZJ-r-VoS.js} +1 -1
  132. package/dist/app/assets/{hsts-p9_ZAj_s.js → hsts-CoKphAkr.js} +1 -1
  133. package/dist/app/assets/{http-D_1e7uZw.js → http-PK9gSz28.js} +1 -1
  134. package/dist/app/assets/{ichigojam-CJIbCoZL.js → ichigojam-CK3lzhp7.js} +1 -1
  135. package/dist/app/assets/{icon-BLbuV0eW.js → icon-BSoCWWOE.js} +1 -1
  136. package/dist/app/assets/{icu-message-format-DlSBVpMt.js → icu-message-format-B5GPI2ro.js} +1 -1
  137. package/dist/app/assets/{idris-CBILCmxl.js → idris-BfRJ1bEo.js} +1 -1
  138. package/dist/app/assets/{iecst-DXWop1Zf.js → iecst-CFuDS-QS.js} +1 -1
  139. package/dist/app/assets/{ignore-C4KHRM09.js → ignore-C3Bvpuvg.js} +1 -1
  140. package/dist/app/assets/{index-DL7IzKZE.js → index-DvBOSnUs.js} +7 -7
  141. package/dist/app/assets/{infoDiagram-42DDH7IO-BW7T1qQI.js → infoDiagram-42DDH7IO-D0lLRvTe.js} +1 -1
  142. package/dist/app/assets/{inform7-D10IYW8x.js → inform7-DkBP5Ccu.js} +1 -1
  143. package/dist/app/assets/{ini-BiWopMvy.js → ini-DAvA3OVn.js} +1 -1
  144. package/dist/app/assets/{io-DpgtsV68.js → io-DuxHFHAO.js} +1 -1
  145. package/dist/app/assets/{ishikawaDiagram-UXIWVN3A-BQozHXop.js → ishikawaDiagram-UXIWVN3A-BzZNIzbc.js} +1 -1
  146. package/dist/app/assets/{j-BWcDL_us.js → j-6n-21dqc.js} +1 -1
  147. package/dist/app/assets/{java-DB-NooXn.js → java-DLhNk6co.js} +1 -1
  148. package/dist/app/assets/{javadoc-ldLhLMvj.js → javadoc-Dky5sIO-.js} +1 -1
  149. package/dist/app/assets/{javadoclike-Bmyr9i8Z.js → javadoclike-BCtCxIFO.js} +1 -1
  150. package/dist/app/assets/{javascript-DCGTWx76.js → javascript-DRi3hhqX.js} +1 -1
  151. package/dist/app/assets/{javastacktrace-UOTBekVt.js → javastacktrace-BWE5AoEX.js} +1 -1
  152. package/dist/app/assets/{jexl-BU7SpMMt.js → jexl-B3nUvKIU.js} +1 -1
  153. package/dist/app/assets/{jolie-BJxyHhnJ.js → jolie-aub7DUxz.js} +1 -1
  154. package/dist/app/assets/{journeyDiagram-VCZTEJTY-CRYhm-tV.js → journeyDiagram-VCZTEJTY-BL63HHa-.js} +1 -1
  155. package/dist/app/assets/{jq-DmaOhZ5k.js → jq-Df0V0OTF.js} +1 -1
  156. package/dist/app/assets/{js-extras-BvOzNSZ4.js → js-extras-CXCsba_-.js} +1 -1
  157. package/dist/app/assets/{js-templates-CQYpiryc.js → js-templates-3SV1rHWe.js} +1 -1
  158. package/dist/app/assets/{jsdoc-CiNlXmsX.js → jsdoc-D3ECEK19.js} +1 -1
  159. package/dist/app/assets/{json-CVmcFi3A.js → json-fgCrXDVE.js} +1 -1
  160. package/dist/app/assets/{json5-CWSKQL2a.js → json5-DzARKP3A.js} +1 -1
  161. package/dist/app/assets/{jsonp-WiiijTf_.js → jsonp-Dkxbv-a1.js} +1 -1
  162. package/dist/app/assets/{jsstacktrace-Bnvsk6Ui.js → jsstacktrace-SWcEdOPO.js} +1 -1
  163. package/dist/app/assets/{jsx-Ca4_694E.js → jsx-kAB_jtET.js} +1 -1
  164. package/dist/app/assets/{julia-BMjo4YZg.js → julia-BfOOoOWD.js} +1 -1
  165. package/dist/app/assets/{kanban-definition-6JOO6SKY-CfwQlQvz.js → kanban-definition-6JOO6SKY-DQZDs3YS.js} +1 -1
  166. package/dist/app/assets/{keepalived-BTxVPl_d.js → keepalived-D-k9V9H0.js} +1 -1
  167. package/dist/app/assets/{keyman-B5tt0Vgc.js → keyman-uL8XxZYo.js} +1 -1
  168. package/dist/app/assets/{kotlin-O6hS1AV0.js → kotlin-DF0Hh0nS.js} +1 -1
  169. package/dist/app/assets/{kumir-DEqNUPw1.js → kumir-a6Lqh3Z3.js} +1 -1
  170. package/dist/app/assets/{kusto-DcY6M7fT.js → kusto-BNA0Aprg.js} +1 -1
  171. package/dist/app/assets/{latex-Bca_WVtH.js → latex-CwQVU5yo.js} +1 -1
  172. package/dist/app/assets/{latte-DocB5NP7.js → latte-NVtDmYJZ.js} +1 -1
  173. package/dist/app/assets/{layout-DLTiCZIC.js → layout-CyEQ8BlF.js} +1 -1
  174. package/dist/app/assets/{less-BDIPtABN.js → less-ClNNePWE.js} +1 -1
  175. package/dist/app/assets/{lilypond-DNKpFRP6.js → lilypond-CXuhOmDX.js} +1 -1
  176. package/dist/app/assets/{linear-BICCBRGJ.js → linear-CtKW9Gt3.js} +1 -1
  177. package/dist/app/assets/{liquid-DHvis4ej.js → liquid-lvqpFBcZ.js} +1 -1
  178. package/dist/app/assets/{lisp-BYhfTD5g.js → lisp-DmGTgd2L.js} +1 -1
  179. package/dist/app/assets/{livescript-CoBSdkri.js → livescript-DdiHAwES.js} +1 -1
  180. package/dist/app/assets/{llvm-BfT7zy4f.js → llvm-ob__Sdf6.js} +1 -1
  181. package/dist/app/assets/{log-CIXx7stU.js → log-COPxusfo.js} +1 -1
  182. package/dist/app/assets/{lolcode-DFtQmoeI.js → lolcode-CpWwWgHS.js} +1 -1
  183. package/dist/app/assets/{lua-CG8Tqm-m.js → lua-DyjxuWUM.js} +1 -1
  184. package/dist/app/assets/{magma-BXLm0PIg.js → magma-DAnHVgOU.js} +1 -1
  185. package/dist/app/assets/{makefile-CoBY9bAE.js → makefile-CQRUldZ0.js} +1 -1
  186. package/dist/app/assets/{markdown-CG4FHI4y.js → markdown-C5Hu7zXi.js} +1 -1
  187. package/dist/app/assets/{markup-hEUfFQLW.js → markup-DgtjuaaS.js} +1 -1
  188. package/dist/app/assets/{markup-templating-C7leQ_ll.js → markup-templating-C2wmGC7L.js} +1 -1
  189. package/dist/app/assets/{matlab-Co4EhBs0.js → matlab-BF8NJETg.js} +1 -1
  190. package/dist/app/assets/{maxscript-xS-wBTSY.js → maxscript-CWk_ftex.js} +1 -1
  191. package/dist/app/assets/{mel-C4vcGlDE.js → mel-D7MyyFgG.js} +1 -1
  192. package/dist/app/assets/{mermaid-BCYt2FtJ.js → mermaid-BXJZHbce.js} +1 -1
  193. package/dist/app/assets/{min-BIFp-Zzt.js → min-Cl5dnnjk.js} +1 -1
  194. package/dist/app/assets/{mindmap-definition-QFDTVHPH-D15Yo8P8.js → mindmap-definition-QFDTVHPH-CLmYdRzT.js} +1 -1
  195. package/dist/app/assets/{mizar-CtxASDJ8.js → mizar-BM4Khjoe.js} +1 -1
  196. package/dist/app/assets/{mongodb-DAPiQzR1.js → mongodb-teboTw-V.js} +1 -1
  197. package/dist/app/assets/{monkey-Cv6o6ODG.js → monkey-BkYz1u1i.js} +1 -1
  198. package/dist/app/assets/{moonscript-yg8tl7gD.js → moonscript-CmbDT0_1.js} +1 -1
  199. package/dist/app/assets/{n1ql-nZAriQql.js → n1ql-C0e4wUZv.js} +1 -1
  200. package/dist/app/assets/{n4js-BvUGuNwP.js → n4js-CnE5R0hF.js} +1 -1
  201. package/dist/app/assets/{nand2tetris-hdl-oaib87Jl.js → nand2tetris-hdl-yUiaqSh4.js} +1 -1
  202. package/dist/app/assets/{naniscript-C3uipmpo.js → naniscript-D_T9ODdu.js} +1 -1
  203. package/dist/app/assets/{nasm-BTTpC0Y-.js → nasm-_pPlBl5E.js} +1 -1
  204. package/dist/app/assets/{neon-CRwuwdfL.js → neon-DkdsT9M0.js} +1 -1
  205. package/dist/app/assets/{nevod-D12XFova.js → nevod-3AZb9IaQ.js} +1 -1
  206. package/dist/app/assets/{nginx-CVNrLcUk.js → nginx-CnxejqYx.js} +1 -1
  207. package/dist/app/assets/{nim-CSs8ZnzG.js → nim-DIdYp-FD.js} +1 -1
  208. package/dist/app/assets/{nix-CQIWJ2mC.js → nix-zYxZH6sz.js} +1 -1
  209. package/dist/app/assets/{nsis-C6EHbEzC.js → nsis-CfwKuwpj.js} +1 -1
  210. package/dist/app/assets/{objectivec-C47nBh0B.js → objectivec-DOIQq_eu.js} +1 -1
  211. package/dist/app/assets/{ocaml-C2CHzOTW.js → ocaml-NBLeRcLx.js} +1 -1
  212. package/dist/app/assets/{opencl-DZtwCKMS.js → opencl-Dqt4uw4u.js} +1 -1
  213. package/dist/app/assets/{openqasm-3qzNMNem.js → openqasm-DTfd1ph4.js} +1 -1
  214. package/dist/app/assets/{oz-B9NhgVuR.js → oz-CZ81LbAa.js} +1 -1
  215. package/dist/app/assets/{parigp-BAjwmqKA.js → parigp-BUVIe-Gg.js} +1 -1
  216. package/dist/app/assets/{parser-C2bSATZf.js → parser-CgcrM9ap.js} +1 -1
  217. package/dist/app/assets/{pascal-DUg6Pj8m.js → pascal-VHhiUgMQ.js} +1 -1
  218. package/dist/app/assets/{pascaligo-DQwf2r6T.js → pascaligo-CmH5AiIR.js} +1 -1
  219. package/dist/app/assets/{pcaxis-Bneftqn3.js → pcaxis-BOzr958Q.js} +1 -1
  220. package/dist/app/assets/{peoplecode-D_I9ioJ2.js → peoplecode-DDVEYN9j.js} +1 -1
  221. package/dist/app/assets/{perl-BoI40emm.js → perl-C3E0T_lT.js} +1 -1
  222. package/dist/app/assets/{php-Ckc4YVDo.js → php-BIbBj9Qk.js} +1 -1
  223. package/dist/app/assets/{php-extras-Djzck7Am.js → php-extras-fFmaZf6o.js} +1 -1
  224. package/dist/app/assets/{phpdoc-CMJ1S9wI.js → phpdoc-BDSDOjyt.js} +1 -1
  225. package/dist/app/assets/{pieDiagram-DEJITSTG-gLePwLOg.js → pieDiagram-DEJITSTG-BYYrV1SO.js} +1 -1
  226. package/dist/app/assets/{plsql-BatH1vdO.js → plsql-Bsvw1YIz.js} +1 -1
  227. package/dist/app/assets/{powerquery-GO-yaDqw.js → powerquery-BygDD7NJ.js} +1 -1
  228. package/dist/app/assets/{powershell-C-8FBdYU.js → powershell-FRJ7CGjs.js} +1 -1
  229. package/dist/app/assets/{processing-V90606l_.js → processing-HTLlAI3J.js} +1 -1
  230. package/dist/app/assets/{prolog-Drs76NuO.js → prolog-BnqAQREe.js} +1 -1
  231. package/dist/app/assets/{promql-SJxB2Onu.js → promql-CCPokKan.js} +1 -1
  232. package/dist/app/assets/{properties-CFU7bsCx.js → properties-BKmwdA-a.js} +1 -1
  233. package/dist/app/assets/{protobuf-TAE1VG1c.js → protobuf-Bs2VLF0E.js} +1 -1
  234. package/dist/app/assets/{psl-DX1gaLlH.js → psl-DFUO55cX.js} +1 -1
  235. package/dist/app/assets/{pug-SVNfK3WX.js → pug-jPJvvvLn.js} +1 -1
  236. package/dist/app/assets/{puppet-C3VEK9xy.js → puppet-Db3vXmgO.js} +1 -1
  237. package/dist/app/assets/{pure-DOW9flm0.js → pure-B27AMEb-.js} +1 -1
  238. package/dist/app/assets/{purebasic-gMFZF0zO.js → purebasic-Cz3sFfw5.js} +1 -1
  239. package/dist/app/assets/{purescript-Dyi4Uo_r.js → purescript-LTybbCQu.js} +1 -1
  240. package/dist/app/assets/{q-CgQpf4g7.js → q-Czs2rLDB.js} +1 -1
  241. package/dist/app/assets/{qml-DyWljaHh.js → qml-C0qHtJp9.js} +1 -1
  242. package/dist/app/assets/{qore-CC_OKt7I.js → qore-CPr8-OE1.js} +1 -1
  243. package/dist/app/assets/{qsharp-BxAVXLL-.js → qsharp-QmjaQvUD.js} +1 -1
  244. package/dist/app/assets/{quadrantDiagram-34T5L4WZ-D5RCEJLY.js → quadrantDiagram-34T5L4WZ-BCaVafVg.js} +1 -1
  245. package/dist/app/assets/{r-LMFH_6S-.js → r-Ct6yol8C.js} +1 -1
  246. package/dist/app/assets/{racket-B5ieNa-n.js → racket-B1IA2v56.js} +1 -1
  247. package/dist/app/assets/{reason-CmzoycMk.js → reason-UFbtktxv.js} +1 -1
  248. package/dist/app/assets/{regex-Cj9kl_9-.js → regex-Brfwf6n6.js} +1 -1
  249. package/dist/app/assets/{rego-DL6PBDi-.js → rego-Bbjl67ve.js} +1 -1
  250. package/dist/app/assets/{renpy-Ded4q7JV.js → renpy-BfCX8ihz.js} +1 -1
  251. package/dist/app/assets/{requirementDiagram-MS252O5E-BEDR4uCm.js → requirementDiagram-MS252O5E-DzC0ax5x.js} +1 -1
  252. package/dist/app/assets/{rest-DUsMjto8.js → rest-Bk65iHdZ.js} +1 -1
  253. package/dist/app/assets/{rip-r4YeUU_w.js → rip-C5XY3wjo.js} +1 -1
  254. package/dist/app/assets/{roboconf-COWIkT4K.js → roboconf-BGj1McZh.js} +1 -1
  255. package/dist/app/assets/{robotframework-BF0iBnMx.js → robotframework-BwIJp7n_.js} +1 -1
  256. package/dist/app/assets/{ruby-Ba0RjeE3.js → ruby-DoHb_gvy.js} +1 -1
  257. package/dist/app/assets/{rust-CYfVjTQs.js → rust-CRAZe1a5.js} +1 -1
  258. package/dist/app/assets/{sankeyDiagram-XADWPNL6-Bpw04zKX.js → sankeyDiagram-XADWPNL6-DoC8lkgz.js} +1 -1
  259. package/dist/app/assets/{sas-CKeiCMEw.js → sas-Cn9Lzyt0.js} +1 -1
  260. package/dist/app/assets/{sass-B-MrWZ_Z.js → sass-8zbo2B4S.js} +1 -1
  261. package/dist/app/assets/{scala-IxNzB4Gx.js → scala-CUGzcFUV.js} +1 -1
  262. package/dist/app/assets/{scheme-B6YidWdS.js → scheme-DE0NV3Vn.js} +1 -1
  263. package/dist/app/assets/{scss-D8ZfZlWB.js → scss-Brlo3k0P.js} +1 -1
  264. package/dist/app/assets/{sequenceDiagram-FGHM5R23-CR3PT2M9.js → sequenceDiagram-FGHM5R23-BIdnaT5l.js} +1 -1
  265. package/dist/app/assets/{shell-session-CjX7cdQF.js → shell-session-BOUG-RGw.js} +1 -1
  266. package/dist/app/assets/{smali-BuTsBw7B.js → smali-DIqSe9aQ.js} +1 -1
  267. package/dist/app/assets/{smalltalk-CRauZrmD.js → smalltalk-BRapGjAQ.js} +1 -1
  268. package/dist/app/assets/{smarty-W-NhEl1G.js → smarty-BnrDPId8.js} +1 -1
  269. package/dist/app/assets/{sml-JcB2sh8O.js → sml-Ci0sIMpq.js} +1 -1
  270. package/dist/app/assets/{solidity-A0X_REkw.js → solidity-DNz6r4li.js} +1 -1
  271. package/dist/app/assets/{solution-file-Dn58IXR1.js → solution-file-BxICRf58.js} +1 -1
  272. package/dist/app/assets/{soy-BmrmCTts.js → soy-Cp-J7csL.js} +1 -1
  273. package/dist/app/assets/{sparql-By7yQYO_.js → sparql-8iT7cyBF.js} +1 -1
  274. package/dist/app/assets/{splunk-spl-RBvpet2v.js → splunk-spl-BEZ44Era.js} +1 -1
  275. package/dist/app/assets/{sqf-BOBjY1ie.js → sqf-DTRqV0oz.js} +1 -1
  276. package/dist/app/assets/{sql-CIJLTEB_.js → sql-CqF5L1NH.js} +1 -1
  277. package/dist/app/assets/{squirrel-P_qDyvNR.js → squirrel-2Zo11hpP.js} +1 -1
  278. package/dist/app/assets/{stan-DfolqpQm.js → stan-DNwJq5yK.js} +1 -1
  279. package/dist/app/assets/{stateDiagram-FHFEXIEX-Be1VOY7u.js → stateDiagram-FHFEXIEX-BJTK38Uk.js} +1 -1
  280. package/dist/app/assets/stateDiagram-v2-QKLJ7IA2-DrgXBNT9.js +1 -0
  281. package/dist/app/assets/{stylus-RLaU-5mi.js → stylus-C6X6SZT1.js} +1 -1
  282. package/dist/app/assets/{swift-DWbusDXZ.js → swift-Buz0ZFwY.js} +1 -1
  283. package/dist/app/assets/{systemd-BW6SjPXj.js → systemd-BnlelAsB.js} +1 -1
  284. package/dist/app/assets/{t4-cs-CSIaeOoL.js → t4-cs-BfP1wG-q.js} +1 -1
  285. package/dist/app/assets/{t4-templating-D-xW__LI.js → t4-templating-BdgjECqQ.js} +1 -1
  286. package/dist/app/assets/{t4-vb-CZJRbC4E.js → t4-vb-Ck8Z5ORw.js} +1 -1
  287. package/dist/app/assets/{tap-DdzfI0sl.js → tap-NthvdtDh.js} +1 -1
  288. package/dist/app/assets/{tcl-D1sWO5wM.js → tcl-NazuNkmH.js} +1 -1
  289. package/dist/app/assets/{textile-BdNIUgfD.js → textile-BR86oT9L.js} +1 -1
  290. package/dist/app/assets/{timeline-definition-GMOUNBTQ-DQbm2zyn.js → timeline-definition-GMOUNBTQ-8PSQuubQ.js} +1 -1
  291. package/dist/app/assets/{toml-DBOUYp3d.js → toml-B0_J_ITa.js} +1 -1
  292. package/dist/app/assets/{tremor-BkeNnxUV.js → tremor-3ptfJpiB.js} +1 -1
  293. package/dist/app/assets/{tt2-1Co1YYMZ.js → tt2-6HfwDkBh.js} +1 -1
  294. package/dist/app/assets/{turtle-BKE870Gl.js → turtle-S_FRvyvD.js} +1 -1
  295. package/dist/app/assets/{twig-B7bxb9gS.js → twig-7WR2Xwem.js} +1 -1
  296. package/dist/app/assets/{typescript-C8ySnIZx.js → typescript-ByN0taVM.js} +1 -1
  297. package/dist/app/assets/{typoscript-BAEnu72Y.js → typoscript-Y7OHQ4Fw.js} +1 -1
  298. package/dist/app/assets/{unrealscript-Drlja5bL.js → unrealscript-5P_xjzZl.js} +1 -1
  299. package/dist/app/assets/{uorazor-C_bLkY4E.js → uorazor-DXbL7m21.js} +1 -1
  300. package/dist/app/assets/{uri-ZLQjjfD6.js → uri-BI59puv2.js} +1 -1
  301. package/dist/app/assets/{v-BlIU_M9K.js → v-ClTvsz5b.js} +1 -1
  302. package/dist/app/assets/{vala-c80sATdZ.js → vala-DtBp0iIi.js} +1 -1
  303. package/dist/app/assets/{vbnet-wgmjanEH.js → vbnet-2muQXgSL.js} +1 -1
  304. package/dist/app/assets/{velocity-CcyO8B-L.js → velocity-CeMpMU0m.js} +1 -1
  305. package/dist/app/assets/{vennDiagram-DHZGUBPP-Cn-A6_UP.js → vennDiagram-DHZGUBPP-DdCrm-uj.js} +1 -1
  306. package/dist/app/assets/{verilog-ZZAdWzv5.js → verilog-BN_uK7q4.js} +1 -1
  307. package/dist/app/assets/{vhdl-DiEUz_8J.js → vhdl-DbBkP-tV.js} +1 -1
  308. package/dist/app/assets/{vim-CPduAUTW.js → vim-Ci6Pnfgg.js} +1 -1
  309. package/dist/app/assets/{visual-basic-D3f9wJBq.js → visual-basic-CA4e0Tz-.js} +1 -1
  310. package/dist/app/assets/{wardley-RL74JXVD-Ac1K5zkk.js → wardley-RL74JXVD-Q9Atahlu.js} +1 -1
  311. package/dist/app/assets/{wardleyDiagram-NUSXRM2D-BmUdT2lv.js → wardleyDiagram-NUSXRM2D-Cdq7I643.js} +1 -1
  312. package/dist/app/assets/{warpscript-BwS1dvut.js → warpscript-4pOfyh3K.js} +1 -1
  313. package/dist/app/assets/{wasm-CzMZ_iIf.js → wasm-WJg8uKL1.js} +1 -1
  314. package/dist/app/assets/{web-idl-Di3yKTMk.js → web-idl-C6pY-oBN.js} +1 -1
  315. package/dist/app/assets/{wiki-fL798PJt.js → wiki-HDrfrqtv.js} +1 -1
  316. package/dist/app/assets/{wolfram-DbSh4dXu.js → wolfram-DV-DqrgI.js} +1 -1
  317. package/dist/app/assets/{wren-CZ2hZsKA.js → wren-B8I52PsA.js} +1 -1
  318. package/dist/app/assets/{xeora-jrOKeaLe.js → xeora-BP6jLOFG.js} +1 -1
  319. package/dist/app/assets/{xml-doc-Cjfng7b5.js → xml-doc-Bu4P5ogT.js} +1 -1
  320. package/dist/app/assets/{xojo-BmwJ2ZYb.js → xojo-CcjAOEY2.js} +1 -1
  321. package/dist/app/assets/{xquery-P7OvQLzZ.js → xquery-jbCyRlgw.js} +1 -1
  322. package/dist/app/assets/{xychartDiagram-5P7HB3ND-Bk3ni12B.js → xychartDiagram-5P7HB3ND-CbpQ9wJM.js} +1 -1
  323. package/dist/app/assets/{yaml-6z4s_ND7.js → yaml-DJRFCzP-.js} +1 -1
  324. package/dist/app/assets/{yang-DgTVGWPT.js → yang-DHkqWKUW.js} +1 -1
  325. package/dist/app/assets/{zig-Dq-PN1UV.js → zig-ZDwDFE6H.js} +1 -1
  326. package/dist/app/index.html +1 -1
  327. package/dist/index.cjs +7 -6
  328. package/dist/index.js +7 -6
  329. package/package.json +4 -4
  330. package/dist/app/assets/channel-DO2dFFeD.js +0 -1
  331. package/dist/app/assets/classDiagram-6PBFFD2Q-BRGe5HhN.js +0 -1
  332. package/dist/app/assets/classDiagram-v2-HSJHXN6E-BRGe5HhN.js +0 -1
  333. package/dist/app/assets/clone-CWn4bKYm.js +0 -1
  334. package/dist/app/assets/stateDiagram-v2-QKLJ7IA2-DDG5P4Fr.js +0 -1
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/apex-CGB146ZB.js","assets/sql-CJATM1Qp.js","assets/arduino-B8otSxwK.js","assets/cpp-BdJVwJpi.js","assets/c-kgVuzdLE.js","assets/aspnet-D2vXH52u.js","assets/csharp-Cd5Udg29.js","assets/bash-Bv948m2A.js","assets/bash-CefCgV5_.js","assets/basic-VBc5WgjX.js","assets/basic-DBS9NaGG.js","assets/bison-CGen_SSr.js","assets/c-CEpyTi9M.js","assets/chaiscript-GY864__g.js","assets/clike-BEIk774o.js","assets/clike-B5tY_8Hg.js","assets/cpp-B0ecrLNz.js","assets/crystal-DmkOtBqh.js","assets/ruby-DYsn9XfW.js","assets/csharp-vJJWDRM_.js","assets/cshtml-uk9lpGeI.js","assets/css-KUP-u3ce.js","assets/css-CF9HHZb0.js","assets/django-V8o6VdtL.js","assets/markup-templating-BxAVv-bL.js","assets/ejs-BpupKyky.js","assets/erb-B4HRGpX_.js","assets/etlua-DNYtr6oM.js","assets/lua-DER4jxlW.js","assets/ftl-Dw-6EXX_.js","assets/glsl-XdY2jSgC.js","assets/haml-CS7AG81a.js","assets/handlebars-BQsIa7Yr.js","assets/haskell-cZHjtICv.js","assets/haskell-Ds42Eazu.js","assets/hlsl-DXP88JTf.js","assets/idris-CBILCmxl.js","assets/java-DB-NooXn.js","assets/java-BxMbkJZ_.js","assets/javadoc-ldLhLMvj.js","assets/javadoclike-myFApC35.js","assets/javadoclike-Bmyr9i8Z.js","assets/javascript-DCGTWx76.js","assets/javascript-D8vYUPHd.js","assets/jsdoc-CiNlXmsX.js","assets/json-CVmcFi3A.js","assets/json-BESjz4hO.js","assets/json5-CWSKQL2a.js","assets/jsonp-WiiijTf_.js","assets/latte-DocB5NP7.js","assets/php-iTdQntIy.js","assets/lilypond-DNKpFRP6.js","assets/scheme-Cscf027c.js","assets/liquid-DHvis4ej.js","assets/lua-CG8Tqm-m.js","assets/markup-templating-C7leQ_ll.js","assets/markup-hEUfFQLW.js","assets/markup-BONeskWm.js","assets/objectivec-C47nBh0B.js","assets/opencl-DZtwCKMS.js","assets/php-extras-Djzck7Am.js","assets/php-Ckc4YVDo.js","assets/phpdoc-CMJ1S9wI.js","assets/plsql-BatH1vdO.js","assets/purescript-Dyi4Uo_r.js","assets/racket-B5ieNa-n.js","assets/ruby-Ba0RjeE3.js","assets/scala-IxNzB4Gx.js","assets/scheme-B6YidWdS.js","assets/shell-session-CjX7cdQF.js","assets/smarty-W-NhEl1G.js","assets/soy-BmrmCTts.js","assets/sparql-By7yQYO_.js","assets/turtle-Ro1R6Je7.js","assets/sql-CIJLTEB_.js","assets/t4-cs-CSIaeOoL.js","assets/t4-templating-B5EzSFYT.js","assets/t4-templating-D-xW__LI.js","assets/t4-vb-CZJRbC4E.js","assets/vbnet-BhrUc4aD.js","assets/tap-DdzfI0sl.js","assets/yaml-pHjxJgpq.js","assets/tt2-1Co1YYMZ.js","assets/turtle-BKE870Gl.js","assets/twig-B7bxb9gS.js","assets/vbnet-wgmjanEH.js","assets/yaml-6z4s_ND7.js","assets/core-B01CD3we.js","assets/dagre-KV5264BT-DlJMTF3p.js","assets/graph-D42NbYvZ.js","assets/_baseUniq-D2IgWDBu.js","assets/layout-DLTiCZIC.js","assets/min-BIFp-Zzt.js","assets/clone-CWn4bKYm.js","assets/cose-bilkent-S5V4N54A-CQckuOjI.js","assets/cytoscape.esm-DkOyvmE4.js","assets/c4Diagram-AHTNJAMY-DZFR4LX5.js","assets/chunk-YZCP3GAM-CF4CA5J_.js","assets/flowDiagram-DWJPFMVM-Cku5HglU.js","assets/chunk-FMBD7UC4-B_mrLSZS.js","assets/chunk-55IACEB6-CUhGHrcY.js","assets/chunk-EDXVE4YY-BKjxVlPZ.js","assets/channel-DO2dFFeD.js","assets/erDiagram-SMLLAGMA--xo95hAu.js","assets/gitGraphDiagram-UUTBAWPF-CTgTar7o.js","assets/chunk-4BX2VUAB-DiaddUUX.js","assets/chunk-QZHKN3VN-DOzIfAuc.js","assets/wardley-RL74JXVD-Ac1K5zkk.js","assets/ganttDiagram-T4ZO3ILL-8zwkLWJJ.js","assets/linear-BICCBRGJ.js","assets/init-Gi6I4Gst.js","assets/defaultLocale-DX6XiGOO.js","assets/infoDiagram-42DDH7IO-BW7T1qQI.js","assets/pieDiagram-DEJITSTG-gLePwLOg.js","assets/arc-DSmA74t9.js","assets/ordinal-Cboi1Yqb.js","assets/quadrantDiagram-34T5L4WZ-D5RCEJLY.js","assets/xychartDiagram-5P7HB3ND-Bk3ni12B.js","assets/requirementDiagram-MS252O5E-BEDR4uCm.js","assets/sequenceDiagram-FGHM5R23-CR3PT2M9.js","assets/classDiagram-6PBFFD2Q-BRGe5HhN.js","assets/chunk-4TB4RGXK-DrUvOYr-.js","assets/classDiagram-v2-HSJHXN6E-BRGe5HhN.js","assets/stateDiagram-FHFEXIEX-Be1VOY7u.js","assets/chunk-OYMX7WX6-CnRJKMn5.js","assets/stateDiagram-v2-QKLJ7IA2-DDG5P4Fr.js","assets/journeyDiagram-VCZTEJTY-CRYhm-tV.js","assets/timeline-definition-GMOUNBTQ-DQbm2zyn.js","assets/mindmap-definition-QFDTVHPH-D15Yo8P8.js","assets/kanban-definition-6JOO6SKY-CfwQlQvz.js","assets/sankeyDiagram-XADWPNL6-Bpw04zKX.js","assets/diagram-TYMM5635-BM4_XVz0.js","assets/diagram-MMDJMWI5-CD0uh5Ye.js","assets/blockDiagram-DXYQGD6D-B5-rR5rG.js","assets/diagram-5BDNPKRD-Bab3u4VF.js","assets/architectureDiagram-Q4EWVU46-DGDj7CiR.js","assets/diagram-G4DWMVQ6-BQXBct1X.js","assets/wardleyDiagram-NUSXRM2D-BmUdT2lv.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/apex-76ZYiHyp.js","assets/sql-CJATM1Qp.js","assets/arduino-DwpX7-x7.js","assets/cpp-BdJVwJpi.js","assets/c-kgVuzdLE.js","assets/aspnet-BJRGMw5L.js","assets/csharp-Cd5Udg29.js","assets/bash-CQG8Dp9t.js","assets/bash-CefCgV5_.js","assets/basic-BJfX4qmD.js","assets/basic-DBS9NaGG.js","assets/bison-DT0VivRq.js","assets/c-1JwkyMAB.js","assets/chaiscript-LnB1WP7I.js","assets/clike-C48ghCgR.js","assets/clike-B5tY_8Hg.js","assets/cpp-0xAJOet1.js","assets/crystal-D7yKWR9Y.js","assets/ruby-DYsn9XfW.js","assets/csharp-BHypmt2T.js","assets/cshtml-6B_JNkUD.js","assets/css-D_Ay4PNz.js","assets/css-CF9HHZb0.js","assets/django-DNppKQ9g.js","assets/markup-templating-BxAVv-bL.js","assets/ejs-kUoPOJJu.js","assets/erb-CZivXA88.js","assets/etlua-D4E-UXgA.js","assets/lua-DER4jxlW.js","assets/ftl-DbdebG2G.js","assets/glsl-C9JADbEW.js","assets/haml-CRjdbE3B.js","assets/handlebars-BEMk92iT.js","assets/haskell-Cg94xQJj.js","assets/haskell-Ds42Eazu.js","assets/hlsl-BGzTT4vE.js","assets/idris-BfRJ1bEo.js","assets/java-DLhNk6co.js","assets/java-BxMbkJZ_.js","assets/javadoc-Dky5sIO-.js","assets/javadoclike-myFApC35.js","assets/javadoclike-BCtCxIFO.js","assets/javascript-DRi3hhqX.js","assets/javascript-D8vYUPHd.js","assets/jsdoc-D3ECEK19.js","assets/json-fgCrXDVE.js","assets/json-BESjz4hO.js","assets/json5-DzARKP3A.js","assets/jsonp-Dkxbv-a1.js","assets/latte-NVtDmYJZ.js","assets/php-iTdQntIy.js","assets/lilypond-CXuhOmDX.js","assets/scheme-Cscf027c.js","assets/liquid-lvqpFBcZ.js","assets/lua-DyjxuWUM.js","assets/markup-templating-C2wmGC7L.js","assets/markup-DgtjuaaS.js","assets/markup-BONeskWm.js","assets/objectivec-DOIQq_eu.js","assets/opencl-Dqt4uw4u.js","assets/php-extras-fFmaZf6o.js","assets/php-BIbBj9Qk.js","assets/phpdoc-BDSDOjyt.js","assets/plsql-Bsvw1YIz.js","assets/purescript-LTybbCQu.js","assets/racket-B1IA2v56.js","assets/ruby-DoHb_gvy.js","assets/scala-CUGzcFUV.js","assets/scheme-DE0NV3Vn.js","assets/shell-session-BOUG-RGw.js","assets/smarty-BnrDPId8.js","assets/soy-Cp-J7csL.js","assets/sparql-8iT7cyBF.js","assets/turtle-Ro1R6Je7.js","assets/sql-CqF5L1NH.js","assets/t4-cs-BfP1wG-q.js","assets/t4-templating-B5EzSFYT.js","assets/t4-templating-BdgjECqQ.js","assets/t4-vb-Ck8Z5ORw.js","assets/vbnet-BhrUc4aD.js","assets/tap-NthvdtDh.js","assets/yaml-pHjxJgpq.js","assets/tt2-6HfwDkBh.js","assets/turtle-S_FRvyvD.js","assets/twig-7WR2Xwem.js","assets/vbnet-2muQXgSL.js","assets/yaml-DJRFCzP-.js","assets/core-Cq51nvpN.js","assets/dagre-KV5264BT-CFFq0caA.js","assets/graph-NiSljtN_.js","assets/_baseUniq-DwflpihX.js","assets/layout-CyEQ8BlF.js","assets/min-Cl5dnnjk.js","assets/clone-D4bvEwcj.js","assets/cose-bilkent-S5V4N54A-WdIDwdT2.js","assets/cytoscape.esm-DkOyvmE4.js","assets/c4Diagram-AHTNJAMY-DW4uPgwu.js","assets/chunk-YZCP3GAM-C7vtriCx.js","assets/flowDiagram-DWJPFMVM-DQ4n6Zof.js","assets/chunk-FMBD7UC4-Dt_eBUE0.js","assets/chunk-55IACEB6-Cvk1QWdn.js","assets/chunk-EDXVE4YY-saBmWQ7X.js","assets/channel-CsyIKbuP.js","assets/erDiagram-SMLLAGMA-BMm9yLIW.js","assets/gitGraphDiagram-UUTBAWPF-4GABGH-P.js","assets/chunk-4BX2VUAB-BwkhfvlY.js","assets/chunk-QZHKN3VN-CaS8tys9.js","assets/wardley-RL74JXVD-Q9Atahlu.js","assets/ganttDiagram-T4ZO3ILL-Bs0PVgZY.js","assets/linear-CtKW9Gt3.js","assets/init-Gi6I4Gst.js","assets/defaultLocale-DX6XiGOO.js","assets/infoDiagram-42DDH7IO-D0lLRvTe.js","assets/pieDiagram-DEJITSTG-BYYrV1SO.js","assets/arc-7LWZotcl.js","assets/ordinal-Cboi1Yqb.js","assets/quadrantDiagram-34T5L4WZ-BCaVafVg.js","assets/xychartDiagram-5P7HB3ND-CbpQ9wJM.js","assets/requirementDiagram-MS252O5E-DzC0ax5x.js","assets/sequenceDiagram-FGHM5R23-BIdnaT5l.js","assets/classDiagram-6PBFFD2Q-CsgtdI5C.js","assets/chunk-4TB4RGXK-DncUr1Lj.js","assets/classDiagram-v2-HSJHXN6E-CsgtdI5C.js","assets/stateDiagram-FHFEXIEX-BJTK38Uk.js","assets/chunk-OYMX7WX6-CaD0OEyB.js","assets/stateDiagram-v2-QKLJ7IA2-DrgXBNT9.js","assets/journeyDiagram-VCZTEJTY-BL63HHa-.js","assets/timeline-definition-GMOUNBTQ-8PSQuubQ.js","assets/mindmap-definition-QFDTVHPH-CLmYdRzT.js","assets/kanban-definition-6JOO6SKY-DQZDs3YS.js","assets/sankeyDiagram-XADWPNL6-DoC8lkgz.js","assets/diagram-TYMM5635-DQ9Z75om.js","assets/diagram-MMDJMWI5-gARloYvd.js","assets/blockDiagram-DXYQGD6D-CF0-ys7W.js","assets/diagram-5BDNPKRD-DVjJ-cjN.js","assets/architectureDiagram-Q4EWVU46-CWLLJvNf.js","assets/diagram-G4DWMVQ6-JlIDQKLk.js","assets/wardleyDiagram-NUSXRM2D-Cdq7I643.js"])))=>i.map(i=>d[i]);
2
2
  var ase=e=>{throw TypeError(e)};var YG=(e,t,r)=>t.has(e)||ase("Cannot "+r);var hr=(e,t,r)=>(YG(e,t,"read from private field"),r?r.call(e):t.get(e)),Eh=(e,t,r)=>t.has(e)?ase("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),U2=(e,t,r,n)=>(YG(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),Rr=(e,t,r)=>(YG(e,t,"access private method"),r);function Mee(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const o in n)if(o!=="default"&&!(o in e)){const a=Object.getOwnPropertyDescriptor(n,o);a&&Object.defineProperty(e,o,a.get?a:{enumerable:!0,get:()=>n[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();var HMt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function dl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function $Mt(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){var o=!1;try{o=this instanceof n}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var XG={exports:{}},cb={};var ise;function e_e(){if(ise)return cb;ise=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,o,a){var i=null;if(a!==void 0&&(i=""+a),o.key!==void 0&&(i=""+o.key),"key"in o){a={};for(var s in o)s!=="key"&&(a[s]=o[s])}else a=o;return o=a.ref,{$$typeof:e,type:n,key:i,ref:o!==void 0?o:null,props:a}}return cb.Fragment=t,cb.jsx=r,cb.jsxs=r,cb}var sse;function t_e(){return sse||(sse=1,XG.exports=e_e()),XG.exports}var y=t_e(),QG={exports:{}},Qt={};var lse;function r_e(){if(lse)return Qt;lse=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.activity"),p=Symbol.iterator;function g(U){return U===null||typeof U!="object"?null:(U=p&&U[p]||U["@@iterator"],typeof U=="function"?U:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,C={};function S(U,oe,W){this.props=U,this.context=oe,this.refs=C,this.updater=W||b}S.prototype.isReactComponent={},S.prototype.setState=function(U,oe){if(typeof U!="object"&&typeof U!="function"&&U!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,U,oe,"setState")},S.prototype.forceUpdate=function(U){this.updater.enqueueForceUpdate(this,U,"forceUpdate")};function M(){}M.prototype=S.prototype;function T(U,oe,W){this.props=U,this.context=oe,this.refs=C,this.updater=W||b}var A=T.prototype=new M;A.constructor=T,v(A,S.prototype),A.isPureReactComponent=!0;var R=Array.isArray;function I(){}var L={H:null,A:null,T:null,S:null},N=Object.prototype.hasOwnProperty;function V(U,oe,W){var he=W.ref;return{$$typeof:e,type:U,key:oe,ref:he!==void 0?he:null,props:W}}function P(U,oe){return V(U.type,oe,U.props)}function G(U){return typeof U=="object"&&U!==null&&U.$$typeof===e}function Q(U){var oe={"=":"=0",":":"=2"};return"$"+U.replace(/[=:]/g,function(W){return oe[W]})}var re=/\/+/g;function K(U,oe){return typeof U=="object"&&U!==null&&U.key!=null?Q(""+U.key):oe.toString(36)}function Z(U){switch(U.status){case"fulfilled":return U.value;case"rejected":throw U.reason;default:switch(typeof U.status=="string"?U.then(I,I):(U.status="pending",U.then(function(oe){U.status==="pending"&&(U.status="fulfilled",U.value=oe)},function(oe){U.status==="pending"&&(U.status="rejected",U.reason=oe)})),U.status){case"fulfilled":return U.value;case"rejected":throw U.reason}}throw U}function z(U,oe,W,he,we){var ve=typeof U;(ve==="undefined"||ve==="boolean")&&(U=null);var fe=!1;if(U===null)fe=!0;else switch(ve){case"bigint":case"string":case"number":fe=!0;break;case"object":switch(U.$$typeof){case e:case t:fe=!0;break;case d:return fe=U._init,z(fe(U._payload),oe,W,he,we)}}if(fe)return we=we(U),fe=he===""?"."+K(U,0):he,R(we)?(W="",fe!=null&&(W=fe.replace(re,"$&/")+"/"),z(we,oe,W,"",function(Te){return Te})):we!=null&&(G(we)&&(we=P(we,W+(we.key==null||U&&U.key===we.key?"":(""+we.key).replace(re,"$&/")+"/")+fe)),oe.push(we)),1;fe=0;var Le=he===""?".":he+":";if(R(U))for(var Oe=0;Oe<U.length;Oe++)he=U[Oe],ve=Le+K(he,Oe),fe+=z(he,oe,W,ve,we);else if(Oe=g(U),typeof Oe=="function")for(U=Oe.call(U),Oe=0;!(he=U.next()).done;)he=he.value,ve=Le+K(he,Oe++),fe+=z(he,oe,W,ve,we);else if(ve==="object"){if(typeof U.then=="function")return z(Z(U),oe,W,he,we);throw oe=String(U),Error("Objects are not valid as a React child (found: "+(oe==="[object Object]"?"object with keys {"+Object.keys(U).join(", ")+"}":oe)+"). If you meant to render a collection of children, use an array instead.")}return fe}function O(U,oe,W){if(U==null)return U;var he=[],we=0;return z(U,he,"","",function(ve){return oe.call(W,ve,we++)}),he}function D(U){if(U._status===-1){var oe=U._result;oe=oe(),oe.then(function(W){(U._status===0||U._status===-1)&&(U._status=1,U._result=W)},function(W){(U._status===0||U._status===-1)&&(U._status=2,U._result=W)}),U._status===-1&&(U._status=0,U._result=oe)}if(U._status===1)return U._result.default;throw U._result}var $=typeof reportError=="function"?reportError:function(U){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var oe=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof U=="object"&&U!==null&&typeof U.message=="string"?String(U.message):String(U),error:U});if(!window.dispatchEvent(oe))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",U);return}console.error(U)},q={map:O,forEach:function(U,oe,W){O(U,function(){oe.apply(this,arguments)},W)},count:function(U){var oe=0;return O(U,function(){oe++}),oe},toArray:function(U){return O(U,function(oe){return oe})||[]},only:function(U){if(!G(U))throw Error("React.Children.only expected to receive a single React element child.");return U}};return Qt.Activity=f,Qt.Children=q,Qt.Component=S,Qt.Fragment=r,Qt.Profiler=o,Qt.PureComponent=T,Qt.StrictMode=n,Qt.Suspense=l,Qt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=L,Qt.__COMPILER_RUNTIME={__proto__:null,c:function(U){return L.H.useMemoCache(U)}},Qt.cache=function(U){return function(){return U.apply(null,arguments)}},Qt.cacheSignal=function(){return null},Qt.cloneElement=function(U,oe,W){if(U==null)throw Error("The argument must be a React element, but you passed "+U+".");var he=v({},U.props),we=U.key;if(oe!=null)for(ve in oe.key!==void 0&&(we=""+oe.key),oe)!N.call(oe,ve)||ve==="key"||ve==="__self"||ve==="__source"||ve==="ref"&&oe.ref===void 0||(he[ve]=oe[ve]);var ve=arguments.length-2;if(ve===1)he.children=W;else if(1<ve){for(var fe=Array(ve),Le=0;Le<ve;Le++)fe[Le]=arguments[Le+2];he.children=fe}return V(U.type,we,he)},Qt.createContext=function(U){return U={$$typeof:i,_currentValue:U,_currentValue2:U,_threadCount:0,Provider:null,Consumer:null},U.Provider=U,U.Consumer={$$typeof:a,_context:U},U},Qt.createElement=function(U,oe,W){var he,we={},ve=null;if(oe!=null)for(he in oe.key!==void 0&&(ve=""+oe.key),oe)N.call(oe,he)&&he!=="key"&&he!=="__self"&&he!=="__source"&&(we[he]=oe[he]);var fe=arguments.length-2;if(fe===1)we.children=W;else if(1<fe){for(var Le=Array(fe),Oe=0;Oe<fe;Oe++)Le[Oe]=arguments[Oe+2];we.children=Le}if(U&&U.defaultProps)for(he in fe=U.defaultProps,fe)we[he]===void 0&&(we[he]=fe[he]);return V(U,ve,we)},Qt.createRef=function(){return{current:null}},Qt.forwardRef=function(U){return{$$typeof:s,render:U}},Qt.isValidElement=G,Qt.lazy=function(U){return{$$typeof:d,_payload:{_status:-1,_result:U},_init:D}},Qt.memo=function(U,oe){return{$$typeof:u,type:U,compare:oe===void 0?null:oe}},Qt.startTransition=function(U){var oe=L.T,W={};L.T=W;try{var he=U(),we=L.S;we!==null&&we(W,he),typeof he=="object"&&he!==null&&typeof he.then=="function"&&he.then(I,$)}catch(ve){$(ve)}finally{oe!==null&&W.types!==null&&(oe.types=W.types),L.T=oe}},Qt.unstable_useCacheRefresh=function(){return L.H.useCacheRefresh()},Qt.use=function(U){return L.H.use(U)},Qt.useActionState=function(U,oe,W){return L.H.useActionState(U,oe,W)},Qt.useCallback=function(U,oe){return L.H.useCallback(U,oe)},Qt.useContext=function(U){return L.H.useContext(U)},Qt.useDebugValue=function(){},Qt.useDeferredValue=function(U,oe){return L.H.useDeferredValue(U,oe)},Qt.useEffect=function(U,oe){return L.H.useEffect(U,oe)},Qt.useEffectEvent=function(U){return L.H.useEffectEvent(U)},Qt.useId=function(){return L.H.useId()},Qt.useImperativeHandle=function(U,oe,W){return L.H.useImperativeHandle(U,oe,W)},Qt.useInsertionEffect=function(U,oe){return L.H.useInsertionEffect(U,oe)},Qt.useLayoutEffect=function(U,oe){return L.H.useLayoutEffect(U,oe)},Qt.useMemo=function(U,oe){return L.H.useMemo(U,oe)},Qt.useOptimistic=function(U,oe){return L.H.useOptimistic(U,oe)},Qt.useReducer=function(U,oe,W){return L.H.useReducer(U,oe,W)},Qt.useRef=function(U){return L.H.useRef(U)},Qt.useState=function(U){return L.H.useState(U)},Qt.useSyncExternalStore=function(U,oe,W){return L.H.useSyncExternalStore(U,oe,W)},Qt.useTransition=function(){return L.H.useTransition()},Qt.version="19.2.3",Qt}var cse;function aV(){return cse||(cse=1,QG.exports=r_e()),QG.exports}var w=aV();const rr=dl(w),_ee=Mee({__proto__:null,default:rr},[w]);var JG={exports:{}},ub={},eZ={exports:{}},tZ={};var use;function n_e(){return use||(use=1,(function(e){function t(z,O){var D=z.length;z.push(O);e:for(;0<D;){var $=D-1>>>1,q=z[$];if(0<o(q,O))z[$]=O,z[D]=q,D=$;else break e}}function r(z){return z.length===0?null:z[0]}function n(z){if(z.length===0)return null;var O=z[0],D=z.pop();if(D!==O){z[0]=D;e:for(var $=0,q=z.length,U=q>>>1;$<U;){var oe=2*($+1)-1,W=z[oe],he=oe+1,we=z[he];if(0>o(W,D))he<q&&0>o(we,W)?(z[$]=we,z[he]=D,$=he):(z[$]=W,z[oe]=D,$=oe);else if(he<q&&0>o(we,D))z[$]=we,z[he]=D,$=he;else break e}}return O}function o(z,O){var D=z.sortIndex-O.sortIndex;return D!==0?D:z.id-O.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var l=[],u=[],d=1,f=null,p=3,g=!1,b=!1,v=!1,C=!1,S=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;function A(z){for(var O=r(u);O!==null;){if(O.callback===null)n(u);else if(O.startTime<=z)n(u),O.sortIndex=O.expirationTime,t(l,O);else break;O=r(u)}}function R(z){if(v=!1,A(z),!b)if(r(l)!==null)b=!0,I||(I=!0,Q());else{var O=r(u);O!==null&&Z(R,O.startTime-z)}}var I=!1,L=-1,N=5,V=-1;function P(){return C?!0:!(e.unstable_now()-V<N)}function G(){if(C=!1,I){var z=e.unstable_now();V=z;var O=!0;try{e:{b=!1,v&&(v=!1,M(L),L=-1),g=!0;var D=p;try{t:{for(A(z),f=r(l);f!==null&&!(f.expirationTime>z&&P());){var $=f.callback;if(typeof $=="function"){f.callback=null,p=f.priorityLevel;var q=$(f.expirationTime<=z);if(z=e.unstable_now(),typeof q=="function"){f.callback=q,A(z),O=!0;break t}f===r(l)&&n(l),A(z)}else n(l);f=r(l)}if(f!==null)O=!0;else{var U=r(u);U!==null&&Z(R,U.startTime-z),O=!1}}break e}finally{f=null,p=D,g=!1}O=void 0}}finally{O?Q():I=!1}}}var Q;if(typeof T=="function")Q=function(){T(G)};else if(typeof MessageChannel<"u"){var re=new MessageChannel,K=re.port2;re.port1.onmessage=G,Q=function(){K.postMessage(null)}}else Q=function(){S(G,0)};function Z(z,O){L=S(function(){z(e.unstable_now())},O)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(z){z.callback=null},e.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<z?Math.floor(1e3/z):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_next=function(z){switch(p){case 1:case 2:case 3:var O=3;break;default:O=p}var D=p;p=O;try{return z()}finally{p=D}},e.unstable_requestPaint=function(){C=!0},e.unstable_runWithPriority=function(z,O){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var D=p;p=z;try{return O()}finally{p=D}},e.unstable_scheduleCallback=function(z,O,D){var $=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?$+D:$):D=$,z){case 1:var q=-1;break;case 2:q=250;break;case 5:q=1073741823;break;case 4:q=1e4;break;default:q=5e3}return q=D+q,z={id:d++,callback:O,priorityLevel:z,startTime:D,expirationTime:q,sortIndex:-1},D>$?(z.sortIndex=D,t(u,z),r(l)===null&&z===r(u)&&(v?(M(L),L=-1):v=!0,Z(R,D-$))):(z.sortIndex=q,t(l,z),b||g||(b=!0,I||(I=!0,Q()))),z},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(z){var O=p;return function(){var D=p;p=O;try{return z.apply(this,arguments)}finally{p=D}}}})(tZ)),tZ}var dse;function o_e(){return dse||(dse=1,eZ.exports=n_e()),eZ.exports}var rZ={exports:{}},Ra={};var hse;function a_e(){if(hse)return Ra;hse=1;var e=aV();function t(l){var u="https://react.dev/errors/"+l;if(1<arguments.length){u+="?args[]="+encodeURIComponent(arguments[1]);for(var d=2;d<arguments.length;d++)u+="&args[]="+encodeURIComponent(arguments[d])}return"Minified React error #"+l+"; visit "+u+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var n={d:{f:r,r:function(){throw Error(t(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},o=Symbol.for("react.portal");function a(l,u,d){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:f==null?null:""+f,children:l,containerInfo:u,implementation:d}}var i=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function s(l,u){if(l==="font")return"";if(typeof u=="string")return u==="use-credentials"?u:""}return Ra.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,Ra.createPortal=function(l,u){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)throw Error(t(299));return a(l,u,null,d)},Ra.flushSync=function(l){var u=i.T,d=n.p;try{if(i.T=null,n.p=2,l)return l()}finally{i.T=u,n.p=d,n.d.f()}},Ra.preconnect=function(l,u){typeof l=="string"&&(u?(u=u.crossOrigin,u=typeof u=="string"?u==="use-credentials"?u:"":void 0):u=null,n.d.C(l,u))},Ra.prefetchDNS=function(l){typeof l=="string"&&n.d.D(l)},Ra.preinit=function(l,u){if(typeof l=="string"&&u&&typeof u.as=="string"){var d=u.as,f=s(d,u.crossOrigin),p=typeof u.integrity=="string"?u.integrity:void 0,g=typeof u.fetchPriority=="string"?u.fetchPriority:void 0;d==="style"?n.d.S(l,typeof u.precedence=="string"?u.precedence:void 0,{crossOrigin:f,integrity:p,fetchPriority:g}):d==="script"&&n.d.X(l,{crossOrigin:f,integrity:p,fetchPriority:g,nonce:typeof u.nonce=="string"?u.nonce:void 0})}},Ra.preinitModule=function(l,u){if(typeof l=="string")if(typeof u=="object"&&u!==null){if(u.as==null||u.as==="script"){var d=s(u.as,u.crossOrigin);n.d.M(l,{crossOrigin:d,integrity:typeof u.integrity=="string"?u.integrity:void 0,nonce:typeof u.nonce=="string"?u.nonce:void 0})}}else u==null&&n.d.M(l)},Ra.preload=function(l,u){if(typeof l=="string"&&typeof u=="object"&&u!==null&&typeof u.as=="string"){var d=u.as,f=s(d,u.crossOrigin);n.d.L(l,d,{crossOrigin:f,integrity:typeof u.integrity=="string"?u.integrity:void 0,nonce:typeof u.nonce=="string"?u.nonce:void 0,type:typeof u.type=="string"?u.type:void 0,fetchPriority:typeof u.fetchPriority=="string"?u.fetchPriority:void 0,referrerPolicy:typeof u.referrerPolicy=="string"?u.referrerPolicy:void 0,imageSrcSet:typeof u.imageSrcSet=="string"?u.imageSrcSet:void 0,imageSizes:typeof u.imageSizes=="string"?u.imageSizes:void 0,media:typeof u.media=="string"?u.media:void 0})}},Ra.preloadModule=function(l,u){if(typeof l=="string")if(u){var d=s(u.as,u.crossOrigin);n.d.m(l,{as:typeof u.as=="string"&&u.as!=="script"?u.as:void 0,crossOrigin:d,integrity:typeof u.integrity=="string"?u.integrity:void 0})}else n.d.m(l)},Ra.requestFormReset=function(l){n.d.r(l)},Ra.unstable_batchedUpdates=function(l,u){return l(u)},Ra.useFormState=function(l,u,d){return i.H.useFormState(l,u,d)},Ra.useFormStatus=function(){return i.H.useHostTransitionStatus()},Ra.version="19.2.3",Ra}var fse;function Ope(){if(fse)return rZ.exports;fse=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),rZ.exports=a_e(),rZ.exports}var pse;function i_e(){if(pse)return ub;pse=1;var e=o_e(),t=aV(),r=Ope();function n(c){var h="https://react.dev/errors/"+c;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)h+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+c+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(c){return!(!c||c.nodeType!==1&&c.nodeType!==9&&c.nodeType!==11)}function a(c){var h=c,m=c;if(c.alternate)for(;h.return;)h=h.return;else{c=h;do h=c,(h.flags&4098)!==0&&(m=h.return),c=h.return;while(c)}return h.tag===3?m:null}function i(c){if(c.tag===13){var h=c.memoizedState;if(h===null&&(c=c.alternate,c!==null&&(h=c.memoizedState)),h!==null)return h.dehydrated}return null}function s(c){if(c.tag===31){var h=c.memoizedState;if(h===null&&(c=c.alternate,c!==null&&(h=c.memoizedState)),h!==null)return h.dehydrated}return null}function l(c){if(a(c)!==c)throw Error(n(188))}function u(c){var h=c.alternate;if(!h){if(h=a(c),h===null)throw Error(n(188));return h!==c?null:c}for(var m=c,x=h;;){var _=m.return;if(_===null)break;var E=_.alternate;if(E===null){if(x=_.return,x!==null){m=x;continue}break}if(_.child===E.child){for(E=_.child;E;){if(E===m)return l(_),c;if(E===x)return l(_),h;E=E.sibling}throw Error(n(188))}if(m.return!==x.return)m=_,x=E;else{for(var H=!1,ee=_.child;ee;){if(ee===m){H=!0,m=_,x=E;break}if(ee===x){H=!0,x=_,m=E;break}ee=ee.sibling}if(!H){for(ee=E.child;ee;){if(ee===m){H=!0,m=E,x=_;break}if(ee===x){H=!0,x=E,m=_;break}ee=ee.sibling}if(!H)throw Error(n(189))}}if(m.alternate!==x)throw Error(n(190))}if(m.tag!==3)throw Error(n(188));return m.stateNode.current===m?c:h}function d(c){var h=c.tag;if(h===5||h===26||h===27||h===6)return c;for(c=c.child;c!==null;){if(h=d(c),h!==null)return h;c=c.sibling}return null}var f=Object.assign,p=Symbol.for("react.element"),g=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),M=Symbol.for("react.consumer"),T=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),V=Symbol.for("react.activity"),P=Symbol.for("react.memo_cache_sentinel"),G=Symbol.iterator;function Q(c){return c===null||typeof c!="object"?null:(c=G&&c[G]||c["@@iterator"],typeof c=="function"?c:null)}var re=Symbol.for("react.client.reference");function K(c){if(c==null)return null;if(typeof c=="function")return c.$$typeof===re?null:c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case v:return"Fragment";case S:return"Profiler";case C:return"StrictMode";case R:return"Suspense";case I:return"SuspenseList";case V:return"Activity"}if(typeof c=="object")switch(c.$$typeof){case b:return"Portal";case T:return c.displayName||"Context";case M:return(c._context.displayName||"Context")+".Consumer";case A:var h=c.render;return c=c.displayName,c||(c=h.displayName||h.name||"",c=c!==""?"ForwardRef("+c+")":"ForwardRef"),c;case L:return h=c.displayName||null,h!==null?h:K(c.type)||"Memo";case N:h=c._payload,c=c._init;try{return K(c(h))}catch{}}return null}var Z=Array.isArray,z=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,O=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D={pending:!1,data:null,method:null,action:null},$=[],q=-1;function U(c){return{current:c}}function oe(c){0>q||(c.current=$[q],$[q]=null,q--)}function W(c,h){q++,$[q]=c.current,c.current=h}var he=U(null),we=U(null),ve=U(null),fe=U(null);function Le(c,h){switch(W(ve,h),W(we,c),W(he,null),h.nodeType){case 9:case 11:c=(c=h.documentElement)&&(c=c.namespaceURI)?Aie(c):0;break;default:if(c=h.tagName,h=h.namespaceURI)h=Aie(h),c=Lie(h,c);else switch(c){case"svg":c=1;break;case"math":c=2;break;default:c=0}}oe(he),W(he,c)}function Oe(){oe(he),oe(we),oe(ve)}function Te(c){c.memoizedState!==null&&W(fe,c);var h=he.current,m=Lie(h,c.type);h!==m&&(W(we,c),W(he,m))}function rt(c){we.current===c&&(oe(he),oe(we)),fe.current===c&&(oe(fe),ab._currentValue=D)}var dt,Wt;function zt(c){if(dt===void 0)try{throw Error()}catch(m){var h=m.stack.trim().match(/\n( *(at )?)/);dt=h&&h[1]||"",Wt=-1<m.stack.indexOf(`
3
3
  at`)?" (<anonymous>)":-1<m.stack.indexOf("@")?"@unknown:0:0":""}return`
4
4
  `+dt+c+Wt}var Pt=!1;function zr(c,h){if(!c||Pt)return"";Pt=!0;var m=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var x={DetermineComponentFrameRoot:function(){try{if(h){var Pe=function(){throw Error()};if(Object.defineProperty(Pe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Pe,[])}catch(Ie){var Ae=Ie}Reflect.construct(c,[],Pe)}else{try{Pe.call()}catch(Ie){Ae=Ie}c.call(Pe.prototype)}}else{try{throw Error()}catch(Ie){Ae=Ie}(Pe=c())&&typeof Pe.catch=="function"&&Pe.catch(function(){})}}catch(Ie){if(Ie&&Ae&&typeof Ie.stack=="string")return[Ie.stack,Ae.stack]}return[null,null]}};x.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var _=Object.getOwnPropertyDescriptor(x.DetermineComponentFrameRoot,"name");_&&_.configurable&&Object.defineProperty(x.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var E=x.DetermineComponentFrameRoot(),H=E[0],ee=E[1];if(H&&ee){var de=H.split(`
@@ -92,7 +92,7 @@ Error generating stack: `+x.message+`
92
92
  Left ${typeof e}
93
93
  Right ${typeof t}`);if(typeof e=="string"&&typeof t=="string")return e+t;if(Array.isArray(e)&&Array.isArray(t))return Wee(e,t);if(typeof e=="object"&&typeof t=="object")return q4(e,t);if(e===t)return e;throw new Error(`Can not merge objects of different types.
94
94
  Left ${e}
95
- Right ${t}`)}}var nDe=class kme extends xme{static isInstance(t){if(!super.isInstance(t))return!1;let r=Object.getPrototypeOf(t);for(;r!==null;){if(r===kme.prototype)return!0;r=Object.getPrototypeOf(r)}return!1}},oDe={};mme(oDe,{ToolMessage:()=>iDe,ToolMessageChunk:()=>sDe,defaultToolCallParser:()=>lDe,isDirectToolOutput:()=>aDe,isToolMessage:()=>cDe,isToolMessageChunk:()=>uDe});function aDe(e){return e!=null&&typeof e=="object"&&"lc_direct_tool_output"in e&&e.lc_direct_tool_output===!0}var iDe=class extends xme{static lc_name(){return"ToolMessage"}get lc_aliases(){return{tool_call_id:"tool_call_id"}}lc_direct_tool_output=!0;type="tool";status;tool_call_id;metadata;artifact;constructor(e,t,r){const n=typeof e=="string"||Array.isArray(e)?{content:e,name:r,tool_call_id:t}:e;super(n),this.tool_call_id=n.tool_call_id,this.artifact=n.artifact,this.status=n.status,this.metadata=n.metadata}static isInstance(e){return super.isInstance(e)&&e.type==="tool"}get _printableFields(){return{...super._printableFields,tool_call_id:this.tool_call_id,artifact:this.artifact}}},sDe=class extends nDe{type="tool";tool_call_id;status;artifact;constructor(e){super(e),this.tool_call_id=e.tool_call_id,this.artifact=e.artifact,this.status=e.status}static lc_name(){return"ToolMessageChunk"}concat(e){const t=this.constructor;return new t({content:Jze(this.content,e.content),additional_kwargs:q4(this.additional_kwargs,e.additional_kwargs),response_metadata:q4(this.response_metadata,e.response_metadata),artifact:rDe(this.artifact,e.artifact),tool_call_id:this.tool_call_id,id:this.id??e.id,status:eDe(this.status,e.status)})}get _printableFields(){return{...super._printableFields,tool_call_id:this.tool_call_id,artifact:this.artifact}}};function lDe(e){const t=[],r=[];for(const n of e)if(n.function){const o=n.function.name;try{const a=JSON.parse(n.function.arguments);t.push({name:o||"",args:a||{},id:n.id})}catch{r.push({name:o,args:n.function.arguments,id:n.id,error:"Malformed args."})}}else continue;return[t,r]}function cDe(e){return typeof e=="object"&&e!==null&&"getType"in e&&typeof e.getType=="function"&&e.getType()==="tool"}function uDe(e){return e._getType()==="tool"}const Gee="request_user_input",vme="request_user_input_result",dDe="plan_clarification",hDe="implementation_confirmation",fDe=["approve","edit","reject","respond"];function Eu(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function Zee(e,...t){for(const r of t){const n=e[r];if(Eu(n))return n}return null}function GX(e,...t){for(const r of t){const n=e[r];if(Array.isArray(n))return n}return null}function h4(e,...t){for(const r of t){const n=e[r];if(typeof n=="string"&&n.trim())return n}return null}function pDe(e){return typeof e=="string"&&fDe.includes(e)}function mDe(e){if(!Eu(e))return null;const t=h4(e,"name"),r=Zee(e,"args","arguments");if(!t||!r)return null;const n=typeof e.description=="string"?e.description:void 0;return{name:t,args:r,...n!==void 0?{description:n}:{}}}function gDe(e){if(!Eu(e))return null;const t=h4(e,"actionName","action_name"),r=GX(e,"allowedDecisions","allowed_decisions");if(!t||!r)return null;const n=r.filter(pDe);if(n.length!==r.length)return null;const o=Zee(e,"argsSchema","args_schema");return{actionName:t,allowedDecisions:n,...o?{argsSchema:o}:{}}}function yDe(e){if(!Eu(e)||e.kind!=="mcp_elicitation")return null;const t=h4(e,"actionName"),r=Zee(e,"field");if(!t||!r)return null;const n=h4(r,"name");if(!n||r.type!=="boolean"||r.required!==!0||r.title!==void 0&&typeof r.title!="string")return null;const o=h4(r,"title");return{kind:"mcp_elicitation",actionName:t,field:{name:n,type:"boolean",required:!0,...o?{title:o}:{}}}}function bDe(e){if(!Eu(e))return null;const t=GX(e,"actionRequests","action_requests"),r=GX(e,"reviewConfigs","review_configs");if(!t||!r||t.length===0||r.length===0)return null;const n=t.map(mDe),o=r.map(gDe);if(n.some(u=>u===null)||o.some(u=>u===null))return null;const a={actionRequests:n,reviewConfigs:o},i=yDe(e.elicitation);if(!i||a.actionRequests.length!==1)return a;const s=a.actionRequests[0],l=a.reviewConfigs.find(u=>u.actionName===i.actionName);return!s||s.name!==i.actionName||!l||typeof s.args[i.field.name]!="boolean"||!l.allowedDecisions.includes("approve")||!l.allowedDecisions.includes("reject")?a:{...a,elicitation:i}}function wme(e){return Eu(e)&&Array.isArray(e.clientToolCalls)}function xDe(e){return Eu(e)&&typeof e.id=="string"&&Object.prototype.hasOwnProperty.call(e,"value")}function kDe(e){return!Eu(e)||typeof e.id!="string"||typeof e.name!="string"||!Array.isArray(e.path)||!Array.isArray(e.interrupts)?!1:e.path.every(t=>typeof t=="string"||typeof t=="number")&&e.interrupts.every(xDe)}function vDe(e){return Eu(e)&&Array.isArray(e.tasks)&&e.tasks.every(kDe)}function vo(e,t="en-US"){if(typeof e=="string")return e.trim()||null;if(!e||typeof e!="object")return null;const r=e,n=t.trim(),o=n.replace(/-/g,"_"),a=n.split(/[-_]/)[0],i=n.toLowerCase().startsWith("zh")?[n,o,"zh_Hans","zh-Hans","zh_CN","zh-CN","zh","en_US","en-US","en"]:[n,o,"en_US","en-US","en",a,"zh_Hans","zh-Hans","zh_CN","zh-CN","zh"];for(const s of i){const l=r[s];if(typeof l=="string"&&l.trim())return l.trim()}for(const s of Object.values(r))if(typeof s=="string"&&s.trim())return s.trim();return null}function wDe(e){const t=e?.trim();if(!t)return;const r=t.toLowerCase();return r==="zh-hant"||r==="zh-tw"||r==="zh-hk"?"zh-Hant":r==="zh"||r==="zh-cn"||r==="zh-hans"?"zh-Hans":r==="en"||r==="en-us"?"en":t}const CDe=["idle","running-right","running-left","waving","jumping","failed","waiting","running","review"],uu={columns:8,rows:9,cellWidth:192,cellHeight:208,animations:{idle:{row:0,frames:6,frameDurations:[280,110,110,140,140,320]},"running-right":{row:1,frames:8,frameDurations:[120,120,120,120,120,120,120,220]},"running-left":{row:2,frames:8,frameDurations:[120,120,120,120,120,120,120,220]},waving:{row:3,frames:4,frameDurations:[140,140,140,280]},jumping:{row:4,frames:5,frameDurations:[140,140,140,140,280]},failed:{row:5,frames:8,frameDurations:[140,140,140,140,140,140,140,240]},waiting:{row:6,frames:6,frameDurations:[150,150,150,150,150,260]},running:{row:7,frames:6,frameDurations:[120,120,120,120,120,220]},review:{row:8,frames:6,frameDurations:[150,150,150,150,150,280]}}},SDe="/pets/boba/spritesheet.webp",ZX={type:"sprite-atlas",src:SDe},Qse={pin:"bottom-right",draggable:!0,scale:.25,persist:!0,zIndex:40};function MDe(e,t){return{row:t?.row??e.row,frames:t?.frames??e.frames,frameDurations:t?.frameDurations&&t.frameDurations.length>0?t.frameDurations:e.frameDurations}}function _De(e){const t={};for(const r of CDe)t[r]=MDe(uu.animations[r],e?.animations?.[r]);return{columns:e?.columns??uu.columns,rows:e?.rows??uu.rows,cellWidth:e?.cellWidth??uu.cellWidth,cellHeight:e?.cellHeight??uu.cellHeight,animations:t}}function TDe(e){return e&&e.src?e:ZX}function gV(e){return e?e===!0?{character:ZX,position:Qse,behavior:"auto",ariaLabel:"Animated pet",imageRendering:"auto"}:e.enabled===!1?null:{character:TDe(e.character),position:{...Qse,...e.position},behavior:e.behavior??"auto",ariaLabel:e.ariaLabel??"Animated pet",imageRendering:e.imageRendering??"auto"}:null}function ADe(e){return e.src?{kind:"atlas",src:e.src,atlas:_De(e.atlas)}:null}const LDe="task_summary.open_resource",EDe="xpert.tool-output",IDe=1,RDe=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},zDe=(e,t)=>({classGroupId:e,validator:t}),Cme=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),TH="-",Jse=[],DDe="arbitrary..",ODe=e=>{const t=NDe(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return BDe(i);const s=i.split(TH),l=s[0]===""&&s.length>1?1:0;return Sme(s,l,t)},getConflictingClassGroupIds:(i,s)=>{if(s){const l=n[i],u=r[i];return l?u?RDe(u,l):l:u||Jse}return r[i]||Jse}}},Sme=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const o=e[t],a=r.nextPart.get(o);if(a){const u=Sme(e,t+1,a);if(u)return u}const i=r.validators;if(i===null)return;const s=t===0?e.join(TH):e.slice(t).join(TH),l=i.length;for(let u=0;u<l;u++){const d=i[u];if(d.validator(s))return d.classGroupId}},BDe=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?DDe+n:void 0})(),NDe=e=>{const{theme:t,classGroups:r}=e;return jDe(r,t)},jDe=(e,t)=>{const r=Cme();for(const n in e){const o=e[n];Kee(o,r,n,t)}return r},Kee=(e,t,r,n)=>{const o=e.length;for(let a=0;a<o;a++){const i=e[a];PDe(i,t,r,n)}},PDe=(e,t,r,n)=>{if(typeof e=="string"){FDe(e,t,r);return}if(typeof e=="function"){qDe(e,t,r,n);return}HDe(e,t,r,n)},FDe=(e,t,r)=>{const n=e===""?t:Mme(t,e);n.classGroupId=r},qDe=(e,t,r,n)=>{if($De(e)){Kee(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(zDe(r,e))},HDe=(e,t,r,n)=>{const o=Object.entries(e),a=o.length;for(let i=0;i<a;i++){const[s,l]=o[i];Kee(l,Mme(t,s),r,n)}},Mme=(e,t)=>{let r=e;const n=t.split(TH),o=n.length;for(let a=0;a<o;a++){const i=n[a];let s=r.nextPart.get(i);s||(s=Cme(),r.nextPart.set(i,s)),r=s}return r},$De=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,VDe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const o=(a,i)=>{r[a]=i,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(a){let i=r[a];if(i!==void 0)return i;if((i=n[a])!==void 0)return o(a,i),i},set(a,i){a in r?r[a]=i:o(a,i)}}},KX="!",ele=":",UDe=[],tle=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),WDe=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=o=>{const a=[];let i=0,s=0,l=0,u;const d=o.length;for(let v=0;v<d;v++){const C=o[v];if(i===0&&s===0){if(C===ele){a.push(o.slice(l,v)),l=v+1;continue}if(C==="/"){u=v;continue}}C==="["?i++:C==="]"?i--:C==="("?s++:C===")"&&s--}const f=a.length===0?o:o.slice(l);let p=f,g=!1;f.endsWith(KX)?(p=f.slice(0,-1),g=!0):f.startsWith(KX)&&(p=f.slice(1),g=!0);const b=u&&u>l?u-l:void 0;return tle(a,g,p,b)};if(t){const o=t+ele,a=n;n=i=>i.startsWith(o)?a(i.slice(o.length)):tle(UDe,!1,i,void 0,!0)}if(r){const o=n;n=a=>r({className:a,parseClassName:o})}return n},GDe=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let o=[];for(let a=0;a<r.length;a++){const i=r[a],s=i[0]==="[",l=t.has(i);s||l?(o.length>0&&(o.sort(),n.push(...o),o=[]),n.push(i)):o.push(i)}return o.length>0&&(o.sort(),n.push(...o)),n}},ZDe=e=>({cache:VDe(e.cacheSize),parseClassName:WDe(e),sortModifiers:GDe(e),...ODe(e)}),KDe=/\s+/,YDe=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:a}=t,i=[],s=e.trim().split(KDe);let l="";for(let u=s.length-1;u>=0;u-=1){const d=s[u],{isExternal:f,modifiers:p,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:v}=r(d);if(f){l=d+(l.length>0?" "+l:l);continue}let C=!!v,S=n(C?b.substring(0,v):b);if(!S){if(!C){l=d+(l.length>0?" "+l:l);continue}if(S=n(b),!S){l=d+(l.length>0?" "+l:l);continue}C=!1}const M=p.length===0?"":p.length===1?p[0]:a(p).join(":"),T=g?M+KX:M,A=T+S;if(i.indexOf(A)>-1)continue;i.push(A);const R=o(S,C);for(let I=0;I<R.length;++I){const L=R[I];i.push(T+L)}l=d+(l.length>0?" "+l:l)}return l},XDe=(...e)=>{let t=0,r,n,o="";for(;t<e.length;)(r=e[t++])&&(n=_me(r))&&(o&&(o+=" "),o+=n);return o},_me=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=_me(e[n]))&&(r&&(r+=" "),r+=t);return r},QDe=(e,...t)=>{let r,n,o,a;const i=l=>{const u=t.reduce((d,f)=>f(d),e());return r=ZDe(u),n=r.cache.get,o=r.cache.set,a=s,s(l)},s=l=>{const u=n(l);if(u)return u;const d=YDe(l,r);return o(l,d),d};return a=i,(...l)=>a(XDe(...l))},JDe=[],Go=e=>{const t=r=>r[e]||JDe;return t.isThemeGetter=!0,t},Tme=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ame=/^\((?:(\w[\w-]*):)?(.+)\)$/i,eOe=/^\d+\/\d+$/,tOe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,rOe=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,nOe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,oOe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,aOe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,K2=e=>eOe.test(e),fr=e=>!!e&&!Number.isNaN(Number(e)),bd=e=>!!e&&Number.isInteger(Number(e)),kZ=e=>e.endsWith("%")&&fr(e.slice(0,-1)),Xc=e=>tOe.test(e),iOe=()=>!0,sOe=e=>rOe.test(e)&&!nOe.test(e),Lme=()=>!1,lOe=e=>oOe.test(e),cOe=e=>aOe.test(e),uOe=e=>!bt(e)&&!xt(e),dOe=e=>Ug(e,Rme,Lme),bt=e=>Tme.test(e),Ih=e=>Ug(e,zme,sOe),vZ=e=>Ug(e,gOe,fr),rle=e=>Ug(e,Eme,Lme),hOe=e=>Ug(e,Ime,cOe),j3=e=>Ug(e,Dme,lOe),xt=e=>Ame.test(e),fb=e=>Wg(e,zme),fOe=e=>Wg(e,yOe),nle=e=>Wg(e,Eme),pOe=e=>Wg(e,Rme),mOe=e=>Wg(e,Ime),P3=e=>Wg(e,Dme,!0),Ug=(e,t,r)=>{const n=Tme.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},Wg=(e,t,r=!1)=>{const n=Ame.exec(e);return n?n[1]?t(n[1]):r:!1},Eme=e=>e==="position"||e==="percentage",Ime=e=>e==="image"||e==="url",Rme=e=>e==="length"||e==="size"||e==="bg-size",zme=e=>e==="length",gOe=e=>e==="number",yOe=e=>e==="family-name",Dme=e=>e==="shadow",bOe=()=>{const e=Go("color"),t=Go("font"),r=Go("text"),n=Go("font-weight"),o=Go("tracking"),a=Go("leading"),i=Go("breakpoint"),s=Go("container"),l=Go("spacing"),u=Go("radius"),d=Go("shadow"),f=Go("inset-shadow"),p=Go("text-shadow"),g=Go("drop-shadow"),b=Go("blur"),v=Go("perspective"),C=Go("aspect"),S=Go("ease"),M=Go("animate"),T=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],R=()=>[...A(),xt,bt],I=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto","contain","none"],N=()=>[xt,bt,l],V=()=>[K2,"full","auto",...N()],P=()=>[bd,"none","subgrid",xt,bt],G=()=>["auto",{span:["full",bd,xt,bt]},bd,xt,bt],Q=()=>[bd,"auto",xt,bt],re=()=>["auto","min","max","fr",xt,bt],K=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Z=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...N()],O=()=>[K2,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...N()],D=()=>[e,xt,bt],$=()=>[...A(),nle,rle,{position:[xt,bt]}],q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],U=()=>["auto","cover","contain",pOe,dOe,{size:[xt,bt]}],oe=()=>[kZ,fb,Ih],W=()=>["","none","full",u,xt,bt],he=()=>["",fr,fb,Ih],we=()=>["solid","dashed","dotted","double"],ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],fe=()=>[fr,kZ,nle,rle],Le=()=>["","none",b,xt,bt],Oe=()=>["none",fr,xt,bt],Te=()=>["none",fr,xt,bt],rt=()=>[fr,xt,bt],dt=()=>[K2,"full",...N()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Xc],breakpoint:[Xc],color:[iOe],container:[Xc],"drop-shadow":[Xc],ease:["in","out","in-out"],font:[uOe],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Xc],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Xc],shadow:[Xc],spacing:["px",fr],text:[Xc],"text-shadow":[Xc],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",K2,bt,xt,C]}],container:["container"],columns:[{columns:[fr,bt,xt,s]}],"break-after":[{"break-after":T()}],"break-before":[{"break-before":T()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:R()}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:L()}],"overscroll-x":[{"overscroll-x":L()}],"overscroll-y":[{"overscroll-y":L()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:V()}],"inset-x":[{"inset-x":V()}],"inset-y":[{"inset-y":V()}],start:[{start:V()}],end:[{end:V()}],top:[{top:V()}],right:[{right:V()}],bottom:[{bottom:V()}],left:[{left:V()}],visibility:["visible","invisible","collapse"],z:[{z:[bd,"auto",xt,bt]}],basis:[{basis:[K2,"full","auto",s,...N()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[fr,K2,"auto","initial","none",bt]}],grow:[{grow:["",fr,xt,bt]}],shrink:[{shrink:["",fr,xt,bt]}],order:[{order:[bd,"first","last","none",xt,bt]}],"grid-cols":[{"grid-cols":P()}],"col-start-end":[{col:G()}],"col-start":[{"col-start":Q()}],"col-end":[{"col-end":Q()}],"grid-rows":[{"grid-rows":P()}],"row-start-end":[{row:G()}],"row-start":[{"row-start":Q()}],"row-end":[{"row-end":Q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":re()}],"auto-rows":[{"auto-rows":re()}],gap:[{gap:N()}],"gap-x":[{"gap-x":N()}],"gap-y":[{"gap-y":N()}],"justify-content":[{justify:[...K(),"normal"]}],"justify-items":[{"justify-items":[...Z(),"normal"]}],"justify-self":[{"justify-self":["auto",...Z()]}],"align-content":[{content:["normal",...K()]}],"align-items":[{items:[...Z(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Z(),{baseline:["","last"]}]}],"place-content":[{"place-content":K()}],"place-items":[{"place-items":[...Z(),"baseline"]}],"place-self":[{"place-self":["auto",...Z()]}],p:[{p:N()}],px:[{px:N()}],py:[{py:N()}],ps:[{ps:N()}],pe:[{pe:N()}],pt:[{pt:N()}],pr:[{pr:N()}],pb:[{pb:N()}],pl:[{pl:N()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":N()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":N()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],w:[{w:[s,"screen",...O()]}],"min-w":[{"min-w":[s,"screen","none",...O()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",r,fb,Ih]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,xt,vZ]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",kZ,bt]}],"font-family":[{font:[fOe,bt,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,xt,bt]}],"line-clamp":[{"line-clamp":[fr,"none",xt,vZ]}],leading:[{leading:[a,...N()]}],"list-image":[{"list-image":["none",xt,bt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",xt,bt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:D()}],"text-color":[{text:D()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...we(),"wavy"]}],"text-decoration-thickness":[{decoration:[fr,"from-font","auto",xt,Ih]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[fr,"auto",xt,bt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",xt,bt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",xt,bt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:$()}],"bg-repeat":[{bg:q()}],"bg-size":[{bg:U()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},bd,xt,bt],radial:["",xt,bt],conic:[bd,xt,bt]},mOe,hOe]}],"bg-color":[{bg:D()}],"gradient-from-pos":[{from:oe()}],"gradient-via-pos":[{via:oe()}],"gradient-to-pos":[{to:oe()}],"gradient-from":[{from:D()}],"gradient-via":[{via:D()}],"gradient-to":[{to:D()}],rounded:[{rounded:W()}],"rounded-s":[{"rounded-s":W()}],"rounded-e":[{"rounded-e":W()}],"rounded-t":[{"rounded-t":W()}],"rounded-r":[{"rounded-r":W()}],"rounded-b":[{"rounded-b":W()}],"rounded-l":[{"rounded-l":W()}],"rounded-ss":[{"rounded-ss":W()}],"rounded-se":[{"rounded-se":W()}],"rounded-ee":[{"rounded-ee":W()}],"rounded-es":[{"rounded-es":W()}],"rounded-tl":[{"rounded-tl":W()}],"rounded-tr":[{"rounded-tr":W()}],"rounded-br":[{"rounded-br":W()}],"rounded-bl":[{"rounded-bl":W()}],"border-w":[{border:he()}],"border-w-x":[{"border-x":he()}],"border-w-y":[{"border-y":he()}],"border-w-s":[{"border-s":he()}],"border-w-e":[{"border-e":he()}],"border-w-t":[{"border-t":he()}],"border-w-r":[{"border-r":he()}],"border-w-b":[{"border-b":he()}],"border-w-l":[{"border-l":he()}],"divide-x":[{"divide-x":he()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":he()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...we(),"hidden","none"]}],"divide-style":[{divide:[...we(),"hidden","none"]}],"border-color":[{border:D()}],"border-color-x":[{"border-x":D()}],"border-color-y":[{"border-y":D()}],"border-color-s":[{"border-s":D()}],"border-color-e":[{"border-e":D()}],"border-color-t":[{"border-t":D()}],"border-color-r":[{"border-r":D()}],"border-color-b":[{"border-b":D()}],"border-color-l":[{"border-l":D()}],"divide-color":[{divide:D()}],"outline-style":[{outline:[...we(),"none","hidden"]}],"outline-offset":[{"outline-offset":[fr,xt,bt]}],"outline-w":[{outline:["",fr,fb,Ih]}],"outline-color":[{outline:D()}],shadow:[{shadow:["","none",d,P3,j3]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":["none",f,P3,j3]}],"inset-shadow-color":[{"inset-shadow":D()}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:D()}],"ring-offset-w":[{"ring-offset":[fr,Ih]}],"ring-offset-color":[{"ring-offset":D()}],"inset-ring-w":[{"inset-ring":he()}],"inset-ring-color":[{"inset-ring":D()}],"text-shadow":[{"text-shadow":["none",p,P3,j3]}],"text-shadow-color":[{"text-shadow":D()}],opacity:[{opacity:[fr,xt,bt]}],"mix-blend":[{"mix-blend":[...ve(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ve()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[fr]}],"mask-image-linear-from-pos":[{"mask-linear-from":fe()}],"mask-image-linear-to-pos":[{"mask-linear-to":fe()}],"mask-image-linear-from-color":[{"mask-linear-from":D()}],"mask-image-linear-to-color":[{"mask-linear-to":D()}],"mask-image-t-from-pos":[{"mask-t-from":fe()}],"mask-image-t-to-pos":[{"mask-t-to":fe()}],"mask-image-t-from-color":[{"mask-t-from":D()}],"mask-image-t-to-color":[{"mask-t-to":D()}],"mask-image-r-from-pos":[{"mask-r-from":fe()}],"mask-image-r-to-pos":[{"mask-r-to":fe()}],"mask-image-r-from-color":[{"mask-r-from":D()}],"mask-image-r-to-color":[{"mask-r-to":D()}],"mask-image-b-from-pos":[{"mask-b-from":fe()}],"mask-image-b-to-pos":[{"mask-b-to":fe()}],"mask-image-b-from-color":[{"mask-b-from":D()}],"mask-image-b-to-color":[{"mask-b-to":D()}],"mask-image-l-from-pos":[{"mask-l-from":fe()}],"mask-image-l-to-pos":[{"mask-l-to":fe()}],"mask-image-l-from-color":[{"mask-l-from":D()}],"mask-image-l-to-color":[{"mask-l-to":D()}],"mask-image-x-from-pos":[{"mask-x-from":fe()}],"mask-image-x-to-pos":[{"mask-x-to":fe()}],"mask-image-x-from-color":[{"mask-x-from":D()}],"mask-image-x-to-color":[{"mask-x-to":D()}],"mask-image-y-from-pos":[{"mask-y-from":fe()}],"mask-image-y-to-pos":[{"mask-y-to":fe()}],"mask-image-y-from-color":[{"mask-y-from":D()}],"mask-image-y-to-color":[{"mask-y-to":D()}],"mask-image-radial":[{"mask-radial":[xt,bt]}],"mask-image-radial-from-pos":[{"mask-radial-from":fe()}],"mask-image-radial-to-pos":[{"mask-radial-to":fe()}],"mask-image-radial-from-color":[{"mask-radial-from":D()}],"mask-image-radial-to-color":[{"mask-radial-to":D()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":A()}],"mask-image-conic-pos":[{"mask-conic":[fr]}],"mask-image-conic-from-pos":[{"mask-conic-from":fe()}],"mask-image-conic-to-pos":[{"mask-conic-to":fe()}],"mask-image-conic-from-color":[{"mask-conic-from":D()}],"mask-image-conic-to-color":[{"mask-conic-to":D()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:$()}],"mask-repeat":[{mask:q()}],"mask-size":[{mask:U()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",xt,bt]}],filter:[{filter:["","none",xt,bt]}],blur:[{blur:Le()}],brightness:[{brightness:[fr,xt,bt]}],contrast:[{contrast:[fr,xt,bt]}],"drop-shadow":[{"drop-shadow":["","none",g,P3,j3]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:["",fr,xt,bt]}],"hue-rotate":[{"hue-rotate":[fr,xt,bt]}],invert:[{invert:["",fr,xt,bt]}],saturate:[{saturate:[fr,xt,bt]}],sepia:[{sepia:["",fr,xt,bt]}],"backdrop-filter":[{"backdrop-filter":["","none",xt,bt]}],"backdrop-blur":[{"backdrop-blur":Le()}],"backdrop-brightness":[{"backdrop-brightness":[fr,xt,bt]}],"backdrop-contrast":[{"backdrop-contrast":[fr,xt,bt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",fr,xt,bt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[fr,xt,bt]}],"backdrop-invert":[{"backdrop-invert":["",fr,xt,bt]}],"backdrop-opacity":[{"backdrop-opacity":[fr,xt,bt]}],"backdrop-saturate":[{"backdrop-saturate":[fr,xt,bt]}],"backdrop-sepia":[{"backdrop-sepia":["",fr,xt,bt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":N()}],"border-spacing-x":[{"border-spacing-x":N()}],"border-spacing-y":[{"border-spacing-y":N()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",xt,bt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[fr,"initial",xt,bt]}],ease:[{ease:["linear","initial",S,xt,bt]}],delay:[{delay:[fr,xt,bt]}],animate:[{animate:["none",M,xt,bt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,xt,bt]}],"perspective-origin":[{"perspective-origin":R()}],rotate:[{rotate:Oe()}],"rotate-x":[{"rotate-x":Oe()}],"rotate-y":[{"rotate-y":Oe()}],"rotate-z":[{"rotate-z":Oe()}],scale:[{scale:Te()}],"scale-x":[{"scale-x":Te()}],"scale-y":[{"scale-y":Te()}],"scale-z":[{"scale-z":Te()}],"scale-3d":["scale-3d"],skew:[{skew:rt()}],"skew-x":[{"skew-x":rt()}],"skew-y":[{"skew-y":rt()}],transform:[{transform:[xt,bt,"","none","gpu","cpu"]}],"transform-origin":[{origin:R()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:dt()}],"translate-x":[{"translate-x":dt()}],"translate-y":[{"translate-y":dt()}],"translate-z":[{"translate-z":dt()}],"translate-none":["translate-none"],accent:[{accent:D()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:D()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",xt,bt]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",xt,bt]}],fill:[{fill:["none",...D()]}],"stroke-w":[{stroke:[fr,fb,Ih,vZ]}],stroke:[{stroke:["none",...D()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},xOe=QDe(bOe);function ie(...e){return xOe(Ree(e))}const kOe={pill:"rounded-full",round:"rounded-xl",soft:"rounded-lg",sharp:"rounded-none"},vOe={pill:"rounded-3xl",round:"rounded-xl",soft:"rounded-lg",sharp:"rounded-none"},wOe={pill:"rounded-xl",round:"rounded-lg",soft:"rounded-md",sharp:"rounded-none"};function ac(e,t="rounded-full"){return e?kOe[e]:t}function Yee(e,t="soft"){return vOe[e??t]}function Xee(e,t="soft"){return wOe[e??t]}function Bo(){return globalThis.crypto?.randomUUID?.()??`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}var Ome=typeof global=="object"&&global&&global.Object===Object&&global,COe=typeof self=="object"&&self&&self.Object===Object&&self,gc=Ome||COe||Function("return this")(),Zd=gc.Symbol,Bme=Object.prototype,SOe=Bme.hasOwnProperty,MOe=Bme.toString,pb=Zd?Zd.toStringTag:void 0;function _Oe(e){var t=SOe.call(e,pb),r=e[pb];try{e[pb]=void 0;var n=!0}catch{}var o=MOe.call(e);return n&&(t?e[pb]=r:delete e[pb]),o}var TOe=Object.prototype,AOe=TOe.toString;function LOe(e){return AOe.call(e)}var EOe="[object Null]",IOe="[object Undefined]",ole=Zd?Zd.toStringTag:void 0;function Wp(e){return e==null?e===void 0?IOe:EOe:ole&&ole in Object(e)?_Oe(e):LOe(e)}function Kd(e){return e!=null&&typeof e=="object"}var ROe="[object Symbol]";function Qee(e){return typeof e=="symbol"||Kd(e)&&Wp(e)==ROe}function Nme(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}var Es=Array.isArray,ale=Zd?Zd.prototype:void 0,ile=ale?ale.toString:void 0;function jme(e){if(typeof e=="string")return e;if(Es(e))return Nme(e,jme)+"";if(Qee(e))return ile?ile.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function ic(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function Jee(e){return e}var zOe="[object AsyncFunction]",DOe="[object Function]",OOe="[object GeneratorFunction]",BOe="[object Proxy]";function ete(e){if(!ic(e))return!1;var t=Wp(e);return t==DOe||t==OOe||t==zOe||t==BOe}var wZ=gc["__core-js_shared__"],sle=(function(){var e=/[^.]+$/.exec(wZ&&wZ.keys&&wZ.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function NOe(e){return!!sle&&sle in e}var jOe=Function.prototype,POe=jOe.toString;function Gp(e){if(e!=null){try{return POe.call(e)}catch{}try{return e+""}catch{}}return""}var FOe=/[\\^$.*+?()[\]{}|]/g,qOe=/^\[object .+?Constructor\]$/,HOe=Function.prototype,$Oe=Object.prototype,VOe=HOe.toString,UOe=$Oe.hasOwnProperty,WOe=RegExp("^"+VOe.call(UOe).replace(FOe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function GOe(e){if(!ic(e)||NOe(e))return!1;var t=ete(e)?WOe:qOe;return t.test(Gp(e))}function ZOe(e,t){return e?.[t]}function Zp(e,t){var r=ZOe(e,t);return GOe(r)?r:void 0}var YX=Zp(gc,"WeakMap"),lle=Object.create,KOe=(function(){function e(){}return function(t){if(!ic(t))return{};if(lle)return lle(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})();function YOe(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function XOe(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var QOe=800,JOe=16,eBe=Date.now;function tBe(e){var t=0,r=0;return function(){var n=eBe(),o=JOe-(n-r);if(r=n,o>0){if(++t>=QOe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function rBe(e){return function(){return e}}var AH=(function(){try{var e=Zp(Object,"defineProperty");return e({},"",{}),e}catch{}})(),nBe=AH?function(e,t){return AH(e,"toString",{configurable:!0,enumerable:!1,value:rBe(t),writable:!0})}:Jee,oBe=tBe(nBe),aBe=9007199254740991,iBe=/^(?:0|[1-9]\d*)$/;function yV(e,t){var r=typeof e;return t=t??aBe,!!t&&(r=="number"||r!="symbol"&&iBe.test(e))&&e>-1&&e%1==0&&e<t}function tte(e,t,r){t=="__proto__"&&AH?AH(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function zx(e,t){return e===t||e!==e&&t!==t}var sBe=Object.prototype,lBe=sBe.hasOwnProperty;function Pme(e,t,r){var n=e[t];(!(lBe.call(e,t)&&zx(n,r))||r===void 0&&!(t in e))&&tte(e,t,r)}function cBe(e,t,r,n){var o=!r;r||(r={});for(var a=-1,i=t.length;++a<i;){var s=t[a],l=void 0;l===void 0&&(l=e[s]),o?tte(r,s,l):Pme(r,s,l)}return r}var cle=Math.max;function uBe(e,t,r){return t=cle(t===void 0?e.length-1:t,0),function(){for(var n=arguments,o=-1,a=cle(n.length-t,0),i=Array(a);++o<a;)i[o]=n[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=n[o];return s[t]=r(i),YOe(e,this,s)}}function dBe(e,t){return oBe(uBe(e,t,Jee),e+"")}var hBe=9007199254740991;function rte(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=hBe}function Dx(e){return e!=null&&rte(e.length)&&!ete(e)}function fBe(e,t,r){if(!ic(r))return!1;var n=typeof t;return(n=="number"?Dx(r)&&yV(t,r.length):n=="string"&&t in r)?zx(r[t],e):!1}function pBe(e){return dBe(function(t,r){var n=-1,o=r.length,a=o>1?r[o-1]:void 0,i=o>2?r[2]:void 0;for(a=e.length>3&&typeof a=="function"?(o--,a):void 0,i&&fBe(r[0],r[1],i)&&(a=o<3?void 0:a,o=1),t=Object(t);++n<o;){var s=r[n];s&&e(t,s,n,a)}return t})}var mBe=Object.prototype;function bV(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||mBe;return e===r}function gBe(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var yBe="[object Arguments]";function ule(e){return Kd(e)&&Wp(e)==yBe}var Fme=Object.prototype,bBe=Fme.hasOwnProperty,xBe=Fme.propertyIsEnumerable,H4=ule((function(){return arguments})())?ule:function(e){return Kd(e)&&bBe.call(e,"callee")&&!xBe.call(e,"callee")};function kBe(){return!1}var qme=typeof exports=="object"&&exports&&!exports.nodeType&&exports,dle=qme&&typeof module=="object"&&module&&!module.nodeType&&module,vBe=dle&&dle.exports===qme,hle=vBe?gc.Buffer:void 0,wBe=hle?hle.isBuffer:void 0,$4=wBe||kBe,CBe="[object Arguments]",SBe="[object Array]",MBe="[object Boolean]",_Be="[object Date]",TBe="[object Error]",ABe="[object Function]",LBe="[object Map]",EBe="[object Number]",IBe="[object Object]",RBe="[object RegExp]",zBe="[object Set]",DBe="[object String]",OBe="[object WeakMap]",BBe="[object ArrayBuffer]",NBe="[object DataView]",jBe="[object Float32Array]",PBe="[object Float64Array]",FBe="[object Int8Array]",qBe="[object Int16Array]",HBe="[object Int32Array]",$Be="[object Uint8Array]",VBe="[object Uint8ClampedArray]",UBe="[object Uint16Array]",WBe="[object Uint32Array]",zn={};zn[jBe]=zn[PBe]=zn[FBe]=zn[qBe]=zn[HBe]=zn[$Be]=zn[VBe]=zn[UBe]=zn[WBe]=!0;zn[CBe]=zn[SBe]=zn[BBe]=zn[MBe]=zn[NBe]=zn[_Be]=zn[TBe]=zn[ABe]=zn[LBe]=zn[EBe]=zn[IBe]=zn[RBe]=zn[zBe]=zn[DBe]=zn[OBe]=!1;function GBe(e){return Kd(e)&&rte(e.length)&&!!zn[Wp(e)]}function ZBe(e){return function(t){return e(t)}}var Hme=typeof exports=="object"&&exports&&!exports.nodeType&&exports,f4=Hme&&typeof module=="object"&&module&&!module.nodeType&&module,KBe=f4&&f4.exports===Hme,CZ=KBe&&Ome.process,fle=(function(){try{var e=f4&&f4.require&&f4.require("util").types;return e||CZ&&CZ.binding&&CZ.binding("util")}catch{}})(),ple=fle&&fle.isTypedArray,xV=ple?ZBe(ple):GBe,YBe=Object.prototype,XBe=YBe.hasOwnProperty;function $me(e,t){var r=Es(e),n=!r&&H4(e),o=!r&&!n&&$4(e),a=!r&&!n&&!o&&xV(e),i=r||n||o||a,s=i?gBe(e.length,String):[],l=s.length;for(var u in e)(t||XBe.call(e,u))&&!(i&&(u=="length"||o&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||yV(u,l)))&&s.push(u);return s}function Vme(e,t){return function(r){return e(t(r))}}var QBe=Vme(Object.keys,Object),JBe=Object.prototype,eNe=JBe.hasOwnProperty;function Ume(e){if(!bV(e))return QBe(e);var t=[];for(var r in Object(e))eNe.call(e,r)&&r!="constructor"&&t.push(r);return t}function Wme(e){return Dx(e)?$me(e):Ume(e)}function tNe(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var rNe=Object.prototype,nNe=rNe.hasOwnProperty;function oNe(e){if(!ic(e))return tNe(e);var t=bV(e),r=[];for(var n in e)n=="constructor"&&(t||!nNe.call(e,n))||r.push(n);return r}function nte(e){return Dx(e)?$me(e,!0):oNe(e)}var aNe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,iNe=/^\w*$/;function ote(e,t){if(Es(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Qee(e)?!0:iNe.test(e)||!aNe.test(e)||t!=null&&e in Object(t)}var V4=Zp(Object,"create");function sNe(){this.__data__=V4?V4(null):{},this.size=0}function lNe(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var cNe="__lodash_hash_undefined__",uNe=Object.prototype,dNe=uNe.hasOwnProperty;function hNe(e){var t=this.__data__;if(V4){var r=t[e];return r===cNe?void 0:r}return dNe.call(t,e)?t[e]:void 0}var fNe=Object.prototype,pNe=fNe.hasOwnProperty;function mNe(e){var t=this.__data__;return V4?t[e]!==void 0:pNe.call(t,e)}var gNe="__lodash_hash_undefined__";function yNe(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=V4&&t===void 0?gNe:t,this}function Tp(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Tp.prototype.clear=sNe;Tp.prototype.delete=lNe;Tp.prototype.get=hNe;Tp.prototype.has=mNe;Tp.prototype.set=yNe;function bNe(){this.__data__=[],this.size=0}function kV(e,t){for(var r=e.length;r--;)if(zx(e[r][0],t))return r;return-1}var xNe=Array.prototype,kNe=xNe.splice;function vNe(e){var t=this.__data__,r=kV(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():kNe.call(t,r,1),--this.size,!0}function wNe(e){var t=this.__data__,r=kV(t,e);return r<0?void 0:t[r][1]}function CNe(e){return kV(this.__data__,e)>-1}function SNe(e,t){var r=this.__data__,n=kV(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Iu(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Iu.prototype.clear=bNe;Iu.prototype.delete=vNe;Iu.prototype.get=wNe;Iu.prototype.has=CNe;Iu.prototype.set=SNe;var U4=Zp(gc,"Map");function MNe(){this.size=0,this.__data__={hash:new Tp,map:new(U4||Iu),string:new Tp}}function _Ne(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function vV(e,t){var r=e.__data__;return _Ne(t)?r[typeof t=="string"?"string":"hash"]:r.map}function TNe(e){var t=vV(this,e).delete(e);return this.size-=t?1:0,t}function ANe(e){return vV(this,e).get(e)}function LNe(e){return vV(this,e).has(e)}function ENe(e,t){var r=vV(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function Ru(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ru.prototype.clear=MNe;Ru.prototype.delete=TNe;Ru.prototype.get=ANe;Ru.prototype.has=LNe;Ru.prototype.set=ENe;var INe="Expected a function";function Gg(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(INe);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(Gg.Cache||Ru),r}Gg.Cache=Ru;var RNe=500;function zNe(e){var t=Gg(e,function(n){return r.size===RNe&&r.clear(),n}),r=t.cache;return t}var DNe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ONe=/\\(\\)?/g,BNe=zNe(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(DNe,function(r,n,o,a){t.push(o?a.replace(ONe,"$1"):n||r)}),t});function NNe(e){return e==null?"":jme(e)}function wV(e,t){return Es(e)?e:ote(e,t)?[e]:BNe(NNe(e))}function Ox(e){if(typeof e=="string"||Qee(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function ate(e,t){t=wV(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[Ox(t[r++])];return r&&r==n?e:void 0}function jNe(e,t,r){var n=e==null?void 0:ate(e,t);return n===void 0?r:n}function Gme(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var ite=Vme(Object.getPrototypeOf,Object),PNe="[object Object]",FNe=Function.prototype,qNe=Object.prototype,Zme=FNe.toString,HNe=qNe.hasOwnProperty,$Ne=Zme.call(Object);function VNe(e){if(!Kd(e)||Wp(e)!=PNe)return!1;var t=ite(e);if(t===null)return!0;var r=HNe.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Zme.call(r)==$Ne}function UNe(){this.__data__=new Iu,this.size=0}function WNe(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function GNe(e){return this.__data__.get(e)}function ZNe(e){return this.__data__.has(e)}var KNe=200;function YNe(e,t){var r=this.__data__;if(r instanceof Iu){var n=r.__data__;if(!U4||n.length<KNe-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Ru(n)}return r.set(e,t),this.size=r.size,this}function tc(e){var t=this.__data__=new Iu(e);this.size=t.size}tc.prototype.clear=UNe;tc.prototype.delete=WNe;tc.prototype.get=GNe;tc.prototype.has=ZNe;tc.prototype.set=YNe;var Kme=typeof exports=="object"&&exports&&!exports.nodeType&&exports,mle=Kme&&typeof module=="object"&&module&&!module.nodeType&&module,XNe=mle&&mle.exports===Kme,gle=XNe?gc.Buffer:void 0,yle=gle?gle.allocUnsafe:void 0;function QNe(e,t){if(t)return e.slice();var r=e.length,n=yle?yle(r):new e.constructor(r);return e.copy(n),n}function JNe(e,t){for(var r=-1,n=e==null?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a}function Yme(){return[]}var eje=Object.prototype,tje=eje.propertyIsEnumerable,ble=Object.getOwnPropertySymbols,Xme=ble?function(e){return e==null?[]:(e=Object(e),JNe(ble(e),function(t){return tje.call(e,t)}))}:Yme,rje=Object.getOwnPropertySymbols,nje=rje?function(e){for(var t=[];e;)Gme(t,Xme(e)),e=ite(e);return t}:Yme;function Qme(e,t,r){var n=t(e);return Es(e)?n:Gme(n,r(e))}function xle(e){return Qme(e,Wme,Xme)}function oje(e){return Qme(e,nte,nje)}var XX=Zp(gc,"DataView"),QX=Zp(gc,"Promise"),JX=Zp(gc,"Set"),kle="[object Map]",aje="[object Object]",vle="[object Promise]",wle="[object Set]",Cle="[object WeakMap]",Sle="[object DataView]",ije=Gp(XX),sje=Gp(U4),lje=Gp(QX),cje=Gp(JX),uje=Gp(YX),au=Wp;(XX&&au(new XX(new ArrayBuffer(1)))!=Sle||U4&&au(new U4)!=kle||QX&&au(QX.resolve())!=vle||JX&&au(new JX)!=wle||YX&&au(new YX)!=Cle)&&(au=function(e){var t=Wp(e),r=t==aje?e.constructor:void 0,n=r?Gp(r):"";if(n)switch(n){case ije:return Sle;case sje:return kle;case lje:return vle;case cje:return wle;case uje:return Cle}return t});var LH=gc.Uint8Array;function dje(e){var t=new e.constructor(e.byteLength);return new LH(t).set(new LH(e)),t}function hje(e,t){var r=t?dje(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function fje(e){return typeof e.constructor=="function"&&!bV(e)?KOe(ite(e)):{}}var pje="__lodash_hash_undefined__";function mje(e){return this.__data__.set(e,pje),this}function gje(e){return this.__data__.has(e)}function EH(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new Ru;++t<r;)this.add(e[t])}EH.prototype.add=EH.prototype.push=mje;EH.prototype.has=gje;function yje(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function bje(e,t){return e.has(t)}var xje=1,kje=2;function Jme(e,t,r,n,o,a){var i=r&xje,s=e.length,l=t.length;if(s!=l&&!(i&&l>s))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var f=-1,p=!0,g=r&kje?new EH:void 0;for(a.set(e,t),a.set(t,e);++f<s;){var b=e[f],v=t[f];if(n)var C=i?n(v,b,f,t,e,a):n(b,v,f,e,t,a);if(C!==void 0){if(C)continue;p=!1;break}if(g){if(!yje(t,function(S,M){if(!bje(g,M)&&(b===S||o(b,S,r,n,a)))return g.push(M)})){p=!1;break}}else if(!(b===v||o(b,v,r,n,a))){p=!1;break}}return a.delete(e),a.delete(t),p}function vje(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}function wje(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Cje=1,Sje=2,Mje="[object Boolean]",_je="[object Date]",Tje="[object Error]",Aje="[object Map]",Lje="[object Number]",Eje="[object RegExp]",Ije="[object Set]",Rje="[object String]",zje="[object Symbol]",Dje="[object ArrayBuffer]",Oje="[object DataView]",Mle=Zd?Zd.prototype:void 0,SZ=Mle?Mle.valueOf:void 0;function Bje(e,t,r,n,o,a,i){switch(r){case Oje:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Dje:return!(e.byteLength!=t.byteLength||!a(new LH(e),new LH(t)));case Mje:case _je:case Lje:return zx(+e,+t);case Tje:return e.name==t.name&&e.message==t.message;case Eje:case Rje:return e==t+"";case Aje:var s=vje;case Ije:var l=n&Cje;if(s||(s=wje),e.size!=t.size&&!l)return!1;var u=i.get(e);if(u)return u==t;n|=Sje,i.set(e,t);var d=Jme(s(e),s(t),n,o,a,i);return i.delete(e),d;case zje:if(SZ)return SZ.call(e)==SZ.call(t)}return!1}var Nje=1,jje=Object.prototype,Pje=jje.hasOwnProperty;function Fje(e,t,r,n,o,a){var i=r&Nje,s=xle(e),l=s.length,u=xle(t),d=u.length;if(l!=d&&!i)return!1;for(var f=l;f--;){var p=s[f];if(!(i?p in t:Pje.call(t,p)))return!1}var g=a.get(e),b=a.get(t);if(g&&b)return g==t&&b==e;var v=!0;a.set(e,t),a.set(t,e);for(var C=i;++f<l;){p=s[f];var S=e[p],M=t[p];if(n)var T=i?n(M,S,p,t,e,a):n(S,M,p,e,t,a);if(!(T===void 0?S===M||o(S,M,r,n,a):T)){v=!1;break}C||(C=p=="constructor")}if(v&&!C){var A=e.constructor,R=t.constructor;A!=R&&"constructor"in e&&"constructor"in t&&!(typeof A=="function"&&A instanceof A&&typeof R=="function"&&R instanceof R)&&(v=!1)}return a.delete(e),a.delete(t),v}var qje=1,_le="[object Arguments]",Tle="[object Array]",F3="[object Object]",Hje=Object.prototype,Ale=Hje.hasOwnProperty;function $je(e,t,r,n,o,a){var i=Es(e),s=Es(t),l=i?Tle:au(e),u=s?Tle:au(t);l=l==_le?F3:l,u=u==_le?F3:u;var d=l==F3,f=u==F3,p=l==u;if(p&&$4(e)){if(!$4(t))return!1;i=!0,d=!1}if(p&&!d)return a||(a=new tc),i||xV(e)?Jme(e,t,r,n,o,a):Bje(e,t,l,r,n,o,a);if(!(r&qje)){var g=d&&Ale.call(e,"__wrapped__"),b=f&&Ale.call(t,"__wrapped__");if(g||b){var v=g?e.value():e,C=b?t.value():t;return a||(a=new tc),o(v,C,r,n,a)}}return p?(a||(a=new tc),Fje(e,t,r,n,o,a)):!1}function ste(e,t,r,n,o){return e===t?!0:e==null||t==null||!Kd(e)&&!Kd(t)?e!==e&&t!==t:$je(e,t,r,n,ste,o)}var Vje=1,Uje=2;function Wje(e,t,r,n){var o=r.length,a=o;if(e==null)return!a;for(e=Object(e);o--;){var i=r[o];if(i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++o<a;){i=r[o];var s=i[0],l=e[s],u=i[1];if(i[2]){if(l===void 0&&!(s in e))return!1}else{var d=new tc,f;if(!(f===void 0?ste(u,l,Vje|Uje,n,d):f))return!1}}return!0}function ege(e){return e===e&&!ic(e)}function Gje(e){for(var t=Wme(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,ege(o)]}return t}function tge(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function Zje(e){var t=Gje(e);return t.length==1&&t[0][2]?tge(t[0][0],t[0][1]):function(r){return r===e||Wje(r,e,t)}}function Kje(e,t){return e!=null&&t in Object(e)}function Yje(e,t,r){t=wV(t,e);for(var n=-1,o=t.length,a=!1;++n<o;){var i=Ox(t[n]);if(!(a=e!=null&&r(e,i)))break;e=e[i]}return a||++n!=o?a:(o=e==null?0:e.length,!!o&&rte(o)&&yV(i,o)&&(Es(e)||H4(e)))}function Xje(e,t){return e!=null&&Yje(e,t,Kje)}var Qje=1,Jje=2;function ePe(e,t){return ote(e)&&ege(t)?tge(Ox(e),t):function(r){var n=jNe(r,e);return n===void 0&&n===t?Xje(r,e):ste(t,n,Qje|Jje)}}function tPe(e){return function(t){return t?.[e]}}function rPe(e){return function(t){return ate(t,e)}}function nPe(e){return ote(e)?tPe(Ox(e)):rPe(e)}function rge(e){return typeof e=="function"?e:e==null?Jee:typeof e=="object"?Es(e)?ePe(e[0],e[1]):Zje(e):nPe(e)}function oPe(e){return function(t,r,n){for(var o=-1,a=Object(t),i=n(t),s=i.length;s--;){var l=i[++o];if(r(a[l],l,a)===!1)break}return t}}var aPe=oPe();function eQ(e,t,r){(r!==void 0&&!zx(e[t],r)||r===void 0&&!(t in e))&&tte(e,t,r)}function iPe(e){return Kd(e)&&Dx(e)}function tQ(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function sPe(e){return cBe(e,nte(e))}function lPe(e,t,r,n,o,a,i){var s=tQ(e,r),l=tQ(t,r),u=i.get(l);if(u){eQ(e,r,u);return}var d=a?a(s,l,r+"",e,t,i):void 0,f=d===void 0;if(f){var p=Es(l),g=!p&&$4(l),b=!p&&!g&&xV(l);d=l,p||g||b?Es(s)?d=s:iPe(s)?d=XOe(s):g?(f=!1,d=QNe(l,!0)):b?(f=!1,d=hje(l,!0)):d=[]:VNe(l)||H4(l)?(d=s,H4(s)?d=sPe(s):(!ic(s)||ete(s))&&(d=fje(l))):f=!1}f&&(i.set(l,d),o(d,l,n,a,i),i.delete(l)),eQ(e,r,d)}function nge(e,t,r,n,o){e!==t&&aPe(t,function(a,i){if(o||(o=new tc),ic(a))lPe(e,t,i,r,nge,n,o);else{var s=n?n(tQ(e,i),a,i+"",e,t,o):void 0;s===void 0&&(s=a),eQ(e,i,s)}},nte)}var cPe="[object Map]",uPe="[object Set]",dPe=Object.prototype,hPe=dPe.hasOwnProperty;function Lle(e){if(e==null)return!0;if(Dx(e)&&(Es(e)||typeof e=="string"||typeof e.splice=="function"||$4(e)||xV(e)||H4(e)))return!e.length;var t=au(e);if(t==cPe||t==uPe)return!e.size;if(bV(e))return!Ume(e).length;for(var r in e)if(hPe.call(e,r))return!1;return!0}function fPe(e){return e==null}var pPe=pBe(function(e,t,r){nge(e,t,r)}),mPe="Expected a function";function gPe(e){if(typeof e!="function")throw new TypeError(mPe);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function yPe(e,t,r,n){if(!ic(e))return e;t=wV(t,e);for(var o=-1,a=t.length,i=a-1,s=e;s!=null&&++o<a;){var l=Ox(t[o]),u=r;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(o!=i){var d=s[l];u=void 0,u===void 0&&(u=ic(d)?d:yV(t[o+1])?[]:{})}Pme(s,l,u),s=s[l]}return e}function bPe(e,t,r){for(var n=-1,o=t.length,a={};++n<o;){var i=t[n],s=ate(e,i);r(s,i)&&yPe(a,wV(i,e),s)}return a}function xPe(e,t){if(e==null)return{};var r=Nme(oje(e),function(n){return[n]});return t=rge(t),bPe(e,r,function(n,o){return t(n,o[0])})}function kPe(e,t){return xPe(e,gPe(rge(t)))}const rQ="thread_context_usage";function IH(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function Gq(e){if(typeof e!="string")return null;const t=e.trim();return t||null}function vPe(e){return e==null?null:Gq(e)}function Ap(e){if(typeof e=="number"&&Number.isFinite(e)&&e>=0)return Math.floor(e);if(typeof e=="string"){const t=Number.parseFloat(e);if(Number.isFinite(t)&&t>=0)return Math.floor(t)}return null}function q3(e){const t=Ap(e);return t??0}function wPe(e){if(typeof e=="number"&&Number.isFinite(e)&&e>=0)return e;if(typeof e=="string"){const t=Number.parseFloat(e);if(Number.isFinite(t)&&t>=0)return t}return 0}function Ele(e){if(!IH(e))return null;const t=e;if(t.type!==rQ)return null;const r=Gq(t.threadId),n=Gq(t.agentKey),o=t.usage;if(!r||!n||!o||typeof o!="object")return null;const a=o,i=Ap(a.totalTokens);return i==null?null:{type:rQ,threadId:r,agentKey:n,runId:vPe(t.runId),updatedAt:Gq(t.updatedAt)??"",usage:{totalTokens:i,contextTokens:q3(a.contextTokens),inputTokens:q3(a.inputTokens),outputTokens:q3(a.outputTokens),embedTokens:q3(a.embedTokens),totalPrice:wPe(a.totalPrice),currency:t.usage&&typeof a.currency=="string"?a.currency:a.currency==null?null:void 0}}}function CPe(e){const t=Ele(e);return t||(IH(e)?Ele(e.data):null)}function H3(e){return typeof e=="string"&&e.trim()===rQ}function yc(e){if(!IH(e))return!1;if(H3(e.type)||H3(e.event))return!0;const t=e.data;return IH(t)?H3(t.type)||H3(t.event):!1}function SPe(e,t){return{...e??{},[t.agentKey]:t}}function MPe(e,t,r){return!r||t.threadId!==r?e??{}:SPe(e,t)}function _Pe(e,t){return t?e[t]??null:null}function oge(e){return Ap(e?.usage?.totalTokens)}function TPe(e){const t=oge(e.realtimeUsage);return t??Ap(e.fallbackUsedTokens)??0}const APe=2e3;function lte(e){return Array.isArray(e)&&e.some(t=>t.text?.trim())}function age(e){return e===void 0?!1:typeof e=="string"?!0:!yc(e)}function p4(e){if(!Array.isArray(e))return e;const t=e.filter(r=>age(r));return t.length===e.length?e:t}function ige(e){return typeof e=="string"?e.trim().length>0:!Array.isArray(e)||e.length===0?!1:e.some(r=>age(r)?typeof r=="string"?r.trim().length>0:typeof r!="object"?!1:r.type==="text"||r.type==="reasoning"?!!r.text?.trim():!0:!1)}function LPe(e){return ige(e.content)||lte(e.reasoning)}function m4(e,t,r){if(!t)return null;const n=r?.now??Date.now(),o=typeof e.lastStreamOutputAt=="number"?e.lastStreamOutputAt:null,a=o!==null&&n-o>=APe;return e.status==="reasoning"?"thinking":e.status==="answering"?a?"thinking":"answering":lte(e.reasoning)||a?"thinking":"loading"}function EPe(e,t){if(typeof t!="string"&&yc(t))return;e.status="answering";const r=e.content;if(typeof t=="string")if(typeof r=="string")e.content=r+t;else if(Array.isArray(r)){const n=r[r.length-1];n.type==="text"?n.text=n.text+t:r.push({type:"text",text:t})}else e.content=t;else if(t.type==="reasoning"){const n=t;e.reasoning??=[],e.reasoning[e.reasoning.length-1]?.id===n.id?e.reasoning[e.reasoning.length-1].text+=n.text:e.reasoning.push(n),e.reasoning=Array.from(e.reasoning),e.status="reasoning"}else if(Array.isArray(r))if(t.type==="text"&&t.id){const n=r.findIndex(o=>o.type==="text"&&o.id===t.id);if(n>-1){const o=r[n];r[n]={...r[n],...t,id:o.id??t.id,created_date:o.created_date??t.created_date,agentKey:o.agentKey??t.agentKey,xpertName:o.xpertName??t.xpertName,executionId:o.executionId??t.executionId,parentExecutionId:o.parentExecutionId??t.parentExecutionId,runId:o.runId??t.runId,text:o.text+t.text}}else r.push(t)}else if(t.type==="agent_event"&&t.id){const n=r.findIndex(o=>o.type==="agent_event"&&o.id===t.id);n>-1?r[n]=OPe(r[n],t):r.push(t)}else{const n=r.findIndex(o=>o.type==="component"&&o.id===t.id);n>-1?r[n]=DPe(r[n],t):r.push(t)}else r?e.content=[{type:"text",text:r},t]:e.content=[t]}function Ile(e){return typeof e!="string"?null:e.trim().toLowerCase().replace(/[\s-]+/g,"_")||null}function IPe(e,t,r){const n=Ile(e);return n?[r.tool,r.title,r.type,t.tool,t.title,t.type].some(o=>Ile(o)===n):!1}function RPe(e,t){return t.message===void 0||e.message!==void 0&&IPe(t.message,e,t)?e.message:t.message}function zPe(e,t){const r=e??{},n=kPe(t??{},fPe);return{...r,...n,type:n.type??r.type,category:n.category??r.category,toolset:n.toolset??r.toolset,toolset_id:n.toolset_id??r.toolset_id,tool:n.tool??r.tool,title:n.title??r.title,message:RPe(r,n),created_date:n.created_date??r.created_date}}function DPe(e,t){return{...e,...t,id:e.id??t.id,type:e.type??t.type,agentKey:e.agentKey??t.agentKey,xpertName:e.xpertName??t.xpertName,executionId:e.executionId??t.executionId,parentExecutionId:e.parentExecutionId??t.parentExecutionId,runId:e.runId??t.runId,data:zPe(e.data,t.data)}}function Rle(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function OPe(e,t){return{...e,...t,id:e.id??t.id,type:"agent_event",created_date:e.created_date??t.created_date,data:Rle(e.data)&&Rle(t.data)?{...e.data,...t.data}:t.data??e.data}}const BPe=48;function NPe(e){return Math.max(0,e.scrollHeight-e.clientHeight-e.scrollTop)}function sge(e,t=BPe){return NPe(e)<=t}function lge(e,t,r){try{return e(t)}catch(n){return u_e("[nuqs] Error while parsing value `%s`: %O"+(r?" (for key `%s`)":""),t,n,r),null}}function zu(e){function t(r){if(typeof r>"u")return null;let n="";if(Array.isArray(r)){if(r[0]===void 0)return null;n=r[0]}return typeof r=="string"&&(n=r),lge(e.parse,n)}return{type:"single",eq:(r,n)=>r===n,...e,parseServerSide:t,withDefault(r){return{...this,defaultValue:r,parseServerSide(n){return t(n)??r}}},withOptions(r){return{...this,...r}}}}zu({parse:e=>e,serialize:String});zu({parse:e=>{const t=parseInt(e);return t==t?t:null},serialize:e=>""+Math.round(e)});zu({parse:e=>{const t=parseInt(e);return t==t?t-1:null},serialize:e=>""+Math.round(e+1)});zu({parse:e=>{const t=parseInt(e,16);return t==t?t:null},serialize:e=>{const t=Math.round(e).toString(16);return(t.length&1?"0":"")+t}});zu({parse:e=>{const t=parseFloat(e);return t==t?t:null},serialize:String});zu({parse:e=>e.toLowerCase()==="true",serialize:String});function cte(e,t){return e.valueOf()===t.valueOf()}zu({parse:e=>{const t=parseInt(e);return t==t?new Date(t):null},serialize:e=>""+e.valueOf(),eq:cte});zu({parse:e=>{const t=new Date(e);return t.valueOf()==t.valueOf()?t:null},serialize:e=>e.toISOString(),eq:cte});zu({parse:e=>{const t=new Date(e.slice(0,10));return t.valueOf()==t.valueOf()?t:null},serialize:e=>e.toISOString().slice(0,10),eq:cte});const MZ=Aee(),jPe={};function PPe(e,t={}){const r=w.useId(),n=b_e(),o=x_e(),{history:a="replace",scroll:i=n?.scroll??!1,shallow:s=n?.shallow??!0,throttleMs:l=s4.timeMs,limitUrlUpdates:u=n?.limitUrlUpdates,clearOnDefault:d=n?.clearOnDefault??!0,startTransition:f,urlKeys:p=jPe}=t,g=Object.keys(e).join(","),b=w.useMemo(()=>Object.fromEntries(Object.keys(e).map(N=>[N,p[N]??N])),[g,JSON.stringify(p)]),v=y_e(Object.values(b)),C=v.searchParams,S=w.useRef({}),M=w.useMemo(()=>Object.fromEntries(Object.keys(e).map(N=>[N,e[N].defaultValue??null])),[Object.values(e).map(({defaultValue:N})=>N).join(",")]),T=nZ.useQueuedQueries(Object.values(b)),[A,R]=w.useState(()=>_Z(e,p,C??new URLSearchParams,T).state),I=w.useRef(A);if(Hn("[nuq+ %s `%s`] render - state: %O, iSP: %s",r,g,A,C),Object.keys(S.current).join("&")!==Object.values(b).join("&")){const{state:N,hasChanged:V}=_Z(e,p,C,T,S.current,I.current);V&&(Hn("[nuq+ %s `%s`] State changed: %O",r,g,{state:N,initialSearchParams:C,queuedQueries:T,queryRef:S.current,stateRef:I.current}),I.current=N,R(N)),S.current=Object.fromEntries(Object.entries(b).map(([P,G])=>[G,e[P]?.type==="multi"?C?.getAll(G):C?.get(G)??null]))}w.useEffect(()=>{const{state:N,hasChanged:V}=_Z(e,p,C,T,S.current,I.current);V&&(Hn("[nuq+ %s `%s`] State changed: %O",r,g,{state:N,initialSearchParams:C,queuedQueries:T,queryRef:S.current,stateRef:I.current}),I.current=N,R(N))},[Object.values(b).map(N=>`${N}=${C?.getAll(N)}`).join("&"),JSON.stringify(T)]),w.useEffect(()=>{const N=Object.keys(e).reduce((V,P)=>(V[P]=({state:G,query:Q})=>{R(re=>{const{defaultValue:K}=e[P],Z=b[P],z=G??K??null,O=re[P]??K??null;return Object.is(O,z)?(Hn("[nuq+ %s `%s`] Cross-hook key sync %s: %O (default: %O). no change, skipping, resolved: %O",r,g,Z,G,K,I.current),re):(I.current={...I.current,[P]:z},S.current[Z]=Q,Hn("[nuq+ %s `%s`] Cross-hook key sync %s: %O (default: %O). updateInternalState, resolved: %O",r,g,Z,G,K,I.current),I.current)})},V),{});for(const V of Object.keys(e)){const P=b[V];Hn("[nuq+ %s `%s`] Subscribing to sync for `%s`",r,P,g),MZ.on(P,N[V])}return()=>{for(const V of Object.keys(e)){const P=b[V];Hn("[nuq+ %s `%s`] Unsubscribing to sync for `%s`",r,P,g),MZ.off(P,N[V])}}},[g,b]);const L=w.useCallback((N,V={})=>{const P=Object.fromEntries(Object.keys(e).map(O=>[O,null])),G=typeof N=="function"?N(zle(I.current,M))??P:N??P;Hn("[nuq+ %s `%s`] setState: %O",r,g,G);let Q,re=0,K=!1;const Z=[];for(let[O,D]of Object.entries(G)){const $=e[O],q=b[O];if(!$||D===void 0)continue;(V.clearOnDefault??$.clearOnDefault??d)&&D!==null&&$.defaultValue!==void 0&&($.eq??((W,he)=>W===he))(D,$.defaultValue)&&(D=null);const U=D===null?null:($.serialize??String)(D);MZ.emit(q,{state:D,query:U});const oe={key:q,query:U,options:{history:V.history??$.history??a,shallow:V.shallow??$.shallow??s,scroll:V.scroll??$.scroll??i,startTransition:V.startTransition??$.startTransition??f}};if(V?.limitUrlUpdates?.method==="debounce"||u?.method==="debounce"||$.limitUrlUpdates?.method==="debounce"){oe.options.shallow===!0&&console.warn(Tx(422));const W=V?.limitUrlUpdates?.timeMs??u?.timeMs??$.limitUrlUpdates?.timeMs??s4.timeMs,he=nZ.push(oe,W,v,o);re<W&&(Q=he,re=W)}else{const W=V?.limitUrlUpdates?.timeMs??$?.limitUrlUpdates?.timeMs??u?.timeMs??V.throttleMs??$.throttleMs??l;Z.push(nZ.abort(q)),W5.push(oe,W),K=!0}}const z=Z.reduce((O,D)=>D(O),K?W5.flush(v,o):W5.getPendingPromise(v));return Q??z},[g,a,s,i,l,u?.method,u?.timeMs,f,b,v.updateUrl,v.getSearchParamsSnapshot,v.rateLimitFactor,o,M]);return[w.useMemo(()=>zle(A,M),[A,M]),L]}function _Z(e,t,r,n,o,a){let i=!1;const s=Object.entries(e).reduce((l,[u,d])=>{const f=t?.[u]??u,p=n[f],g=d.type==="multi"?[]:null,b=p===void 0?(d.type==="multi"?r?.getAll(f):r?.get(f))??g:p;return o&&a&&Npe(o[f]??g,b)?(l[u]=a[u]??null,l):(i=!0,l[u]=(w_e(b)?null:lge(d.parse,b,f))??null,o&&(o[f]=b),l)},{});if(!i){const l=Object.keys(e),u=Object.keys(a??{});i=l.length!==u.length||l.some(d=>!u.includes(d))}return{state:s,hasChanged:i}}function zle(e,t){return Object.fromEntries(Object.keys(e).map(r=>[r,e[r]??t[r]??null]))}function FPe(e,t={}){const{parse:r,type:n,serialize:o,eq:a,defaultValue:i,...s}=t,[{[e]:l},u]=PPe({[e]:{parse:r??(d=>d),type:n,serialize:o,eq:a,defaultValue:i}},s);return[l,w.useCallback((d,f={})=>u(p=>({[e]:typeof d=="function"?d(p[e]):d}),f),[e,u])]}var mb={exports:{}},TZ={},AZ,Dle;function qPe(){if(Dle)return AZ;Dle=1;function e(t,r){typeof r=="boolean"&&(r={forever:r}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=r||{},this._maxRetryTime=r&&r.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}return AZ=e,e.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)},e.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null},e.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var r=new Date().getTime();if(t&&r-this._operationStart>=this._maxRetryTime)return this._errors.push(t),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var n=this._timeouts.shift();if(n===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),n=this._cachedTimeouts.slice(-1);else return!1;var o=this;return this._timer=setTimeout(function(){o._attempts++,o._operationTimeoutCb&&(o._timeout=setTimeout(function(){o._operationTimeoutCb(o._attempts)},o._operationTimeout),o._options.unref&&o._timeout.unref()),o._fn(o._attempts)},n),this._options.unref&&this._timer.unref(),!0},e.prototype.attempt=function(t,r){this._fn=t,r&&(r.timeout&&(this._operationTimeout=r.timeout),r.cb&&(this._operationTimeoutCb=r.cb));var n=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){n._operationTimeoutCb()},n._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)},e.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)},e.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)},e.prototype.start=e.prototype.try,e.prototype.errors=function(){return this._errors},e.prototype.attempts=function(){return this._attempts},e.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},r=null,n=0,o=0;o<this._errors.length;o++){var a=this._errors[o],i=a.message,s=(t[i]||0)+1;t[i]=s,s>=n&&(r=a,n=s)}return r},AZ}var Ole;function HPe(){return Ole||(Ole=1,(function(e){var t=qPe();e.operation=function(r){var n=e.timeouts(r);return new t(n,{forever:r&&(r.forever||r.retries===1/0),unref:r&&r.unref,maxRetryTime:r&&r.maxRetryTime})},e.timeouts=function(r){if(r instanceof Array)return[].concat(r);var n={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var o in r)n[o]=r[o];if(n.minTimeout>n.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var a=[],i=0;i<n.retries;i++)a.push(this.createTimeout(i,n));return r&&r.forever&&!a.length&&a.push(this.createTimeout(i,n)),a.sort(function(s,l){return s-l}),a},e.createTimeout=function(r,n){var o=n.randomize?Math.random()+1:1,a=Math.round(o*Math.max(n.minTimeout,1)*Math.pow(n.factor,r));return a=Math.min(a,n.maxTimeout),a},e.wrap=function(r,n,o){if(n instanceof Array&&(o=n,n=null),!o){o=[];for(var a in r)typeof r[a]=="function"&&o.push(a)}for(var i=0;i<o.length;i++){var s=o[i],l=r[s];r[s]=(function(d){var f=e.operation(n),p=Array.prototype.slice.call(arguments,1),g=p.pop();p.push(function(b){f.retry(b)||(b&&(arguments[0]=f.mainError()),g.apply(this,arguments))}),f.attempt(function(){d.apply(r,p)})}).bind(r,l),r[s].options=n}}})(TZ)),TZ}var LZ,Ble;function $Pe(){return Ble||(Ble=1,LZ=HPe()),LZ}var Nle;function VPe(){if(Nle)return mb.exports;Nle=1;const e=$Pe(),t=["Failed to fetch","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed"];class r extends Error{constructor(s){super(),s instanceof Error?(this.originalError=s,{message:s}=s):(this.originalError=new Error(s),this.originalError.stack=this.stack),this.name="AbortError",this.message=s}}const n=(i,s,l)=>{const u=l.retries-(s-1);return i.attemptNumber=s,i.retriesLeft=u,i},o=i=>t.includes(i),a=(i,s)=>new Promise((l,u)=>{s={onFailedAttempt:()=>{},retries:10,...s};const d=e.operation(s);d.attempt(async f=>{try{l(await i(f))}catch(p){if(!(p instanceof Error)){u(new TypeError(`Non-error was thrown: "${p}". You should only throw errors.`));return}if(p instanceof r)d.stop(),u(p.originalError);else if(p instanceof TypeError&&!o(p.message))d.stop(),u(p);else{n(p,f,s);try{await s.onFailedAttempt(p)}catch(g){u(g);return}d.retry(p)||u(d.mainError())}}})});return mb.exports=a,mb.exports.default=a,mb.exports.AbortError=r,mb.exports}var UPe=VPe();const WPe=dl(UPe);var $3={},EZ={exports:{}},jle;function GPe(){return jle||(jle=1,(function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function o(l,u,d){this.fn=l,this.context=u,this.once=d||!1}function a(l,u,d,f,p){if(typeof d!="function")throw new TypeError("The listener must be a function");var g=new o(d,f||l,p),b=r?r+u:u;return l._events[b]?l._events[b].fn?l._events[b]=[l._events[b],g]:l._events[b].push(g):(l._events[b]=g,l._eventsCount++),l}function i(l,u){--l._eventsCount===0?l._events=new n:delete l._events[u]}function s(){this._events=new n,this._eventsCount=0}s.prototype.eventNames=function(){var u=[],d,f;if(this._eventsCount===0)return u;for(f in d=this._events)t.call(d,f)&&u.push(r?f.slice(1):f);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(d)):u},s.prototype.listeners=function(u){var d=r?r+u:u,f=this._events[d];if(!f)return[];if(f.fn)return[f.fn];for(var p=0,g=f.length,b=new Array(g);p<g;p++)b[p]=f[p].fn;return b},s.prototype.listenerCount=function(u){var d=r?r+u:u,f=this._events[d];return f?f.fn?1:f.length:0},s.prototype.emit=function(u,d,f,p,g,b){var v=r?r+u:u;if(!this._events[v])return!1;var C=this._events[v],S=arguments.length,M,T;if(C.fn){switch(C.once&&this.removeListener(u,C.fn,void 0,!0),S){case 1:return C.fn.call(C.context),!0;case 2:return C.fn.call(C.context,d),!0;case 3:return C.fn.call(C.context,d,f),!0;case 4:return C.fn.call(C.context,d,f,p),!0;case 5:return C.fn.call(C.context,d,f,p,g),!0;case 6:return C.fn.call(C.context,d,f,p,g,b),!0}for(T=1,M=new Array(S-1);T<S;T++)M[T-1]=arguments[T];C.fn.apply(C.context,M)}else{var A=C.length,R;for(T=0;T<A;T++)switch(C[T].once&&this.removeListener(u,C[T].fn,void 0,!0),S){case 1:C[T].fn.call(C[T].context);break;case 2:C[T].fn.call(C[T].context,d);break;case 3:C[T].fn.call(C[T].context,d,f);break;case 4:C[T].fn.call(C[T].context,d,f,p);break;default:if(!M)for(R=1,M=new Array(S-1);R<S;R++)M[R-1]=arguments[R];C[T].fn.apply(C[T].context,M)}}return!0},s.prototype.on=function(u,d,f){return a(this,u,d,f,!1)},s.prototype.once=function(u,d,f){return a(this,u,d,f,!0)},s.prototype.removeListener=function(u,d,f,p){var g=r?r+u:u;if(!this._events[g])return this;if(!d)return i(this,g),this;var b=this._events[g];if(b.fn)b.fn===d&&(!p||b.once)&&(!f||b.context===f)&&i(this,g);else{for(var v=0,C=[],S=b.length;v<S;v++)(b[v].fn!==d||p&&!b[v].once||f&&b[v].context!==f)&&C.push(b[v]);C.length?this._events[g]=C.length===1?C[0]:C:i(this,g)}return this},s.prototype.removeAllListeners=function(u){var d;return u?(d=r?r+u:u,this._events[d]&&i(this,d)):(this._events=new n,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=r,s.EventEmitter=s,e.exports=s})(EZ)),EZ.exports}var gb={exports:{}},IZ,Ple;function ZPe(){return Ple||(Ple=1,IZ=(e,t)=>(t=t||(()=>{}),e.then(r=>new Promise(n=>{n(t())}).then(()=>r),r=>new Promise(n=>{n(t())}).then(()=>{throw r})))),IZ}var Fle;function KPe(){if(Fle)return gb.exports;Fle=1;const e=ZPe();class t extends Error{constructor(o){super(o),this.name="TimeoutError"}}const r=(n,o,a)=>new Promise((i,s)=>{if(typeof o!="number"||o<0)throw new TypeError("Expected `milliseconds` to be a positive number");if(o===1/0){i(n);return}const l=setTimeout(()=>{if(typeof a=="function"){try{i(a())}catch(f){s(f)}return}const u=typeof a=="string"?a:`Promise timed out after ${o} milliseconds`,d=a instanceof Error?a:new t(u);typeof n.cancel=="function"&&n.cancel(),s(d)},o);e(n.then(i,s),()=>{clearTimeout(l)})});return gb.exports=r,gb.exports.default=r,gb.exports.TimeoutError=t,gb.exports}var V3={},U3={},qle;function YPe(){if(qle)return U3;qle=1,Object.defineProperty(U3,"__esModule",{value:!0});function e(t,r,n){let o=0,a=t.length;for(;a>0;){const i=a/2|0;let s=o+i;n(t[s],r)<=0?(o=++s,a-=i+1):a=i}return o}return U3.default=e,U3}var Hle;function XPe(){if(Hle)return V3;Hle=1,Object.defineProperty(V3,"__esModule",{value:!0});const e=YPe();class t{constructor(){this._queue=[]}enqueue(n,o){o=Object.assign({priority:0},o);const a={priority:o.priority,run:n};if(this.size&&this._queue[this.size-1].priority>=o.priority){this._queue.push(a);return}const i=e.default(this._queue,a,(s,l)=>l.priority-s.priority);this._queue.splice(i,0,a)}dequeue(){const n=this._queue.shift();return n?.run}filter(n){return this._queue.filter(o=>o.priority===n.priority).map(o=>o.run)}get size(){return this._queue.length}}return V3.default=t,V3}var $le;function QPe(){if($le)return $3;$le=1,Object.defineProperty($3,"__esModule",{value:!0});const e=GPe(),t=KPe(),r=XPe(),n=()=>{},o=new t.TimeoutError;class a extends e{constructor(s){var l,u,d,f;if(super(),this._intervalCount=0,this._intervalEnd=0,this._pendingCount=0,this._resolveEmpty=n,this._resolveIdle=n,s=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:r.default},s),!(typeof s.intervalCap=="number"&&s.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${(u=(l=s.intervalCap)===null||l===void 0?void 0:l.toString())!==null&&u!==void 0?u:""}\` (${typeof s.intervalCap})`);if(s.interval===void 0||!(Number.isFinite(s.interval)&&s.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${(f=(d=s.interval)===null||d===void 0?void 0:d.toString())!==null&&f!==void 0?f:""}\` (${typeof s.interval})`);this._carryoverConcurrencyCount=s.carryoverConcurrencyCount,this._isIntervalIgnored=s.intervalCap===1/0||s.interval===0,this._intervalCap=s.intervalCap,this._interval=s.interval,this._queue=new s.queueClass,this._queueClass=s.queueClass,this.concurrency=s.concurrency,this._timeout=s.timeout,this._throwOnTimeout=s.throwOnTimeout===!0,this._isPaused=s.autoStart===!1}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount<this._intervalCap}get _doesConcurrentAllowAnother(){return this._pendingCount<this._concurrency}_next(){this._pendingCount--,this._tryToStartAnother(),this.emit("next")}_resolvePromises(){this._resolveEmpty(),this._resolveEmpty=n,this._pendingCount===0&&(this._resolveIdle(),this._resolveIdle=n,this.emit("idle"))}_onResumeInterval(){this._onInterval(),this._initializeIntervalIfNeeded(),this._timeoutId=void 0}_isIntervalPaused(){const s=Date.now();if(this._intervalId===void 0){const l=this._intervalEnd-s;if(l<0)this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0;else return this._timeoutId===void 0&&(this._timeoutId=setTimeout(()=>{this._onResumeInterval()},l)),!0}return!1}_tryToStartAnother(){if(this._queue.size===0)return this._intervalId&&clearInterval(this._intervalId),this._intervalId=void 0,this._resolvePromises(),!1;if(!this._isPaused){const s=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){const l=this._queue.dequeue();return l?(this.emit("active"),l(),s&&this._initializeIntervalIfNeeded(),!0):!1}}return!1}_initializeIntervalIfNeeded(){this._isIntervalIgnored||this._intervalId!==void 0||(this._intervalId=setInterval(()=>{this._onInterval()},this._interval),this._intervalEnd=Date.now()+this._interval)}_onInterval(){this._intervalCount===0&&this._pendingCount===0&&this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0,this._processQueue()}_processQueue(){for(;this._tryToStartAnother(););}get concurrency(){return this._concurrency}set concurrency(s){if(!(typeof s=="number"&&s>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${s}\` (${typeof s})`);this._concurrency=s,this._processQueue()}async add(s,l={}){return new Promise((u,d)=>{const f=async()=>{this._pendingCount++,this._intervalCount++;try{const p=this._timeout===void 0&&l.timeout===void 0?s():t.default(Promise.resolve(s()),l.timeout===void 0?this._timeout:l.timeout,()=>{(l.throwOnTimeout===void 0?this._throwOnTimeout:l.throwOnTimeout)&&d(o)});u(await p)}catch(p){d(p)}this._next()};this._queue.enqueue(f,l),this._tryToStartAnother(),this.emit("add")})}async addAll(s,l){return Promise.all(s.map(async u=>this.add(u,l)))}start(){return this._isPaused?(this._isPaused=!1,this._processQueue(),this):this}pause(){this._isPaused=!0}clear(){this._queue=new this._queueClass}async onEmpty(){if(this._queue.size!==0)return new Promise(s=>{const l=this._resolveEmpty;this._resolveEmpty=()=>{l(),s()}})}async onIdle(){if(!(this._pendingCount===0&&this._queue.size===0))return new Promise(s=>{const l=this._resolveIdle;this._resolveIdle=()=>{l(),s()}})}get size(){return this._queue.size}sizeBy(s){return this._queue.filter(s).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(s){this._timeout=s}}return $3.default=a,$3}var JPe=QPe();const RZ=dl(JPe),eFe=(...e)=>fetch(...e),tFe=Symbol.for("lg:fetch_implementation"),rFe=()=>globalThis[tFe]??eFe,nFe=[400,401,402,403,404,405,406,407,408,409,422];function oFe(e){return e==null||typeof e!="object"?!1:"status"in e&&"statusText"in e&&"text"in e}class W4 extends Error{status;text;response;constructor(t,r,n){super(`HTTP ${t}: ${r}`),this.status=t,this.text=r,this.response=n}static async fromResponse(t,r){try{return new W4(t.status,await t.text(),r?.includeResponse?t:void 0)}catch{return new W4(t.status,t.statusText,r?.includeResponse?t:void 0)}}}class aFe{maxConcurrency;maxRetries;queue;onFailedResponseHook;customFetch;constructor(t){this.maxConcurrency=t.maxConcurrency??1/0,this.maxRetries=t.maxRetries??4,"default"in RZ?this.queue=new RZ.default({concurrency:this.maxConcurrency}):this.queue=new RZ({concurrency:this.maxConcurrency}),this.onFailedResponseHook=t?.onFailedResponseHook,this.customFetch=t.fetch}call(t,...r){const{onFailedResponseHook:n}=this;return this.queue.add(()=>WPe(()=>t(...r).catch(async o=>{throw o instanceof Error?o:oFe(o)?await W4.fromResponse(o,{includeResponse:!!n}):new Error(o)}),{async onFailedAttempt(o){if(o.message.startsWith("Cancel")||o.message.startsWith("TimeoutError")||o.message.startsWith("AbortError")||o?.code==="ECONNABORTED")throw o;if(o instanceof W4){if(nFe.includes(o.status))throw o;n&&o.response&&await n(o.response)}},retries:this.maxRetries,randomize:!0}),{throwOnTimeout:!0})}callWithOptions(t,r,...n){return t.signal?Promise.race([this.call(r,...n),new Promise((o,a)=>{t.signal?.addEventListener("abort",()=>{a(new Error("AbortError"))})})]):this.call(r,...n)}fetch(...t){const r=this.customFetch??rFe();return this.call(()=>r(...t).then(n=>n.ok?n:Promise.reject(n)))}}var iFe={};function sFe(e){try{return typeof process<"u"?iFe?.[e]:void 0}catch{return}}function lFe(...e){const t=e.filter(n=>n!=null);if(t.length===0)return;if(t.length===1)return t[0];const r=new AbortController;for(const n of e){if(n?.aborted)return r.abort(n.reason),r.signal;n?.addEventListener("abort",()=>r.abort(n.reason),{once:!0})}return r.signal}const Hb=13,nQ=10,cFe=0,Vle=58,uFe=32,dFe=[Hb,nQ];function oQ(){let e=[],t=!1;return new TransformStream({start(){e=[],t=!1},transform(r,n){let o=r;if(t&&(o=Zq([[Hb],o]),t=!1),o.length>0&&o.at(-1)===Hb&&(t=!0,o=o.subarray(0,-1)),!o.length)return;const a=dFe.includes(o.at(-1)),i=o.length-1,{lines:s}=o.reduce((l,u,d)=>(l.from>d||((u===Hb||u===nQ)&&(l.lines.push(o.subarray(l.from,d)),u===Hb&&o[d+1]===nQ?l.from=d+2:l.from=d+1),d===i&&l.from<=i&&l.lines.push(o.subarray(l.from))),l),{lines:[],from:0});if(s.length===1&&!a){e.push(s[0]);return}e.length&&(e.push(s[0]),s[0]=Zq(e),e=[]),a||s.length&&(e=[s.pop()]);for(const l of s)n.enqueue(l)},flush(r){e.length&&r.enqueue(Zq(e))}})}function aQ(){let e="",t=[],r="",n=null;const o=new TextDecoder;return new TransformStream({transform(a,i){if(!a.length){if(!e&&!t.length&&!r&&n==null)return;const d={id:r||void 0,event:e,data:t.length?Ule(o,t):null};e="",t=[],n=null,i.enqueue(d);return}if(a[0]===Vle)return;const s=a.indexOf(Vle);if(s===-1)return;const l=o.decode(a.subarray(0,s));let u=a.subarray(s+1);if(u[0]===uFe&&(u=u.subarray(1)),l==="event")e=o.decode(u);else if(l==="data")t.push(u);else if(l==="id")u.indexOf(cFe)===-1&&(r=o.decode(u));else if(l==="retry"){const d=Number.parseInt(o.decode(u),10);Number.isNaN(d)||(n=d)}},flush(a){e&&a.enqueue({id:r||void 0,event:e,data:t.length?Ule(o,t):null})}})}function Zq(e){const t=e.reduce((o,a)=>o+a.length,0),r=new Uint8Array(t);let n=0;for(const o of e)r.set(o,n),n+=o.length;return r}function Ule(e,t){const r=e.decode(Zq(t));try{return JSON.parse(r)}catch{return r}}class mg extends ReadableStream{reader=null;ensureReader(){return this.reader||(this.reader=this.getReader()),this.reader}async next(){const t=this.ensureReader();try{const r=await t.read();return r.done?(t.releaseLock(),this.reader=null,{done:!0,value:void 0}):{done:!1,value:r.value}}catch(r){throw t.releaseLock(),this.reader=null,r}}async return(){const t=this.ensureReader();if(this.locked){const r=t.cancel();t.releaseLock(),await r}return this.reader=null,{done:!0,value:void 0}}async throw(t){const r=this.ensureReader();if(this.locked){const n=r.cancel();r.releaseLock(),await n}throw this.reader=null,t}async[Symbol.asyncDispose](){await this.return()}[Symbol.asyncIterator](){return this}static fromReadableStream(t){const r=t.getReader();return new mg({start(n){return o();function o(){return r.read().then(({done:a,value:i})=>{if(a){n.close();return}return n.enqueue(i),o()})}},cancel(){r.releaseLock()}})}static fromAsyncGenerator(t){return new mg({async pull(r){const{value:n,done:o}=await t.next();o&&r.close(),r.enqueue(n)},async cancel(r){await t.return(r)}})}}function Rh(e){return encodeURIComponent(e)}function yb(e){if(e)return{toolsetId:e.toolsetId,serverName:e.serverName,toolName:e.toolName,toolCallId:e.toolCallId,resourceUri:e.resourceUri,title:e.title,token:e.token,messageId:e.messageId}}class hFe{transport;constructor(t){this.transport=t}getResource(t,r,n){return this.transport.request(`/xpert-toolset/mcp-apps/${Rh(t)}/resource`,{params:yb(r),signal:n?.signal})}rpc(t,r,n,o){return this.transport.request(`/xpert-toolset/mcp-apps/${Rh(t)}/rpc`,{method:"POST",json:r,params:yb(n),signal:o?.signal})}approve(t,r,n,o){return this.transport.request(`/xpert-toolset/mcp-apps/${Rh(t)}/approvals/${Rh(r)}/approve`,{method:"POST",params:yb(n),signal:o?.signal})}reject(t,r,n,o){return this.transport.request(`/xpert-toolset/mcp-apps/${Rh(t)}/approvals/${Rh(r)}/reject`,{method:"POST",params:yb(n),signal:o?.signal})}async teardown(t,r,n){await this.transport.request(`/xpert-toolset/mcp-apps/${Rh(t)}`,{method:"DELETE",params:yb(r),emptyResponse:void 0,signal:n?.signal})}}function Eo(e){return encodeURIComponent(e)}class fFe{transport;constructor(t){this.transport=t}create(t,r){return this.transport.request("/mcp-publications",{method:"POST",json:t,signal:r?.signal})}list(t){return this.transport.request("/mcp-publications",{signal:t?.signal})}get(t,r){return this.transport.request(`/mcp-publications/${Eo(t)}`,{signal:r?.signal})}update(t,r,n){return this.transport.request(`/mcp-publications/${Eo(t)}`,{method:"PATCH",json:r,signal:n?.signal})}async remove(t,r){await this.transport.request(`/mcp-publications/${Eo(t)}`,{method:"DELETE",emptyResponse:void 0,signal:r?.signal})}enable(t,r){return this.transport.request(`/mcp-publications/${Eo(t)}/enable`,{method:"POST",signal:r?.signal})}disable(t,r){return this.transport.request(`/mcp-publications/${Eo(t)}/disable`,{method:"POST",signal:r?.signal})}availableCapabilities(t,r){return this.transport.request(`/mcp-publications/${Eo(t)}/available-capabilities`,{signal:r?.signal})}discoverToolsetCapabilities(t,r){return this.transport.request(`/mcp-capability-catalog/toolsets/${Eo(t)}/discover`,{method:"POST",signal:r?.signal})}replaceCapabilities(t,r,n){return this.transport.request(`/mcp-publications/${Eo(t)}/capabilities`,{method:"PUT",json:r,signal:n?.signal})}patchCapability(t,r,n,o){return this.transport.request(`/mcp-publications/${Eo(t)}/capabilities/${Eo(r)}`,{method:"PATCH",json:n,signal:o?.signal})}createApiKey(t,r,n){return this.transport.request(`/mcp-publications/${Eo(t)}/api-keys`,{method:"POST",json:r,signal:n?.signal})}listApiKeys(t,r){return this.transport.request(`/mcp-publications/${Eo(t)}/api-keys`,{signal:r?.signal})}revokeApiKey(t,r){return this.transport.request(`/mcp-api-keys/${Eo(t)}/revoke`,{method:"POST",signal:r?.signal})}rotateApiKey(t,r){return this.transport.request(`/mcp-api-keys/${Eo(t)}/rotate`,{method:"POST",signal:r?.signal})}getOAuthPolicy(t,r){return this.transport.request(`/mcp-publications/${Eo(t)}/oauth-policy`,{signal:r?.signal})}upsertOAuthPolicy(t,r,n){return this.transport.request(`/mcp-publications/${Eo(t)}/oauth-policy`,{method:"PUT",json:r,signal:n?.signal})}testOAuthPolicy(t,r){return this.transport.request(`/mcp-publications/${Eo(t)}/oauth-policy/test`,{method:"POST",signal:r?.signal})}audit(t,r={}){const{skip:n=0,take:o=10}=r;return this.transport.request(`/mcp-publications/${Eo(t)}/audit`,{params:{skip:n,take:o},signal:r.signal})}test(t,r){return this.transport.request(`/mcp-publications/${Eo(t)}/test`,{method:"POST",signal:r?.signal})}connectionInfo(t,r){return this.transport.request(`/mcp-publications/${Eo(t)}/connection-info`,{signal:r?.signal})}}class pFe{publications;apps;constructor(t){this.publications=new fFe(t),this.apps=new hFe(t)}}function*mFe(e){let t,r=!1;if(e instanceof Headers){const n=[];e.forEach((o,a)=>{n.push([a,o])}),t=n}else Array.isArray(e)?t=e:(r=!0,t=Object.entries(e??{}));for(const n of t){const o=n[0];if(typeof o!="string")throw new TypeError(`Expected header name to be a string, got ${typeof o}`);const a=Array.isArray(n[1])?n[1]:[n[1]];let i=!1;for(const s of a)s!==void 0&&(r&&!i&&(i=!0,yield[o,null]),yield[o,s])}}function Wle(...e){const t=new Headers;for(const n of e)if(n)for(const[o,a]of mFe(n))a===null?t.delete(o):t.append(o,a);const r=[];return t.forEach((n,o)=>{r.push([o,n])}),Object.fromEntries(r)}function gFe(e){if(e)return e;const t=["LANGGRAPH","LANGSMITH","LANGCHAIN"];for(const r of t){const n=sFe(`${r}_API_KEY`);if(n)return n.trim().replace(/^["']|["']$/g,"")}}const yFe=/(\/threads\/(?<thread_id>.+))?\/runs\/(?<run_id>.+)/;function zZ(e){const t=e.headers.get("Content-Location");if(!t)return;const r=yFe.exec(t);if(r?.groups?.run_id)return{run_id:r.groups.run_id,thread_id:r.groups.thread_id||void 0}}function bFe(e){if(!e)return;const t=e.replace(/\/+$/,"");return t.endsWith("/api/ai")?`${t.slice(0,-7)}/api/sandbox`:t}function Zg(e,t){if(!e)return;const r=e.replace(/\/+$/,"");return r.endsWith("/api/ai")?`${r.slice(0,-7)}/api/${t}`:r}function xFe(e){if(!e)return;const t=e.replace(/\/+$/,"");return t.endsWith("/api/ai")?t.slice(0,-3):t}class _a{asyncCaller;timeoutMs;apiUrl;defaultHeaders;onRequest;constructor(t){const r={maxRetries:4,maxConcurrency:4,...t?.callerOptions};let n="http://localhost:8123";if(!t?.apiUrl&&typeof globalThis=="object"&&globalThis!=null){const a=Symbol.for("langgraph_api:fetch"),i=Symbol.for("langgraph_api:url"),s=globalThis;s[a]&&(r.fetch??=s[a]),s[i]&&(n=s[i])}this.asyncCaller=new aFe(r),this.timeoutMs=t?.timeoutMs,this.apiUrl=t?.apiUrl?.replace(/\/$/,"")||n,this.defaultHeaders=t?.defaultHeaders||{},this.onRequest=t?.onRequest;const o=gFe(t?.apiKey);o&&(this.defaultHeaders["x-api-key"]=o)}prepareFetchOptions(t,r){const n={...r,headers:Wle(this.defaultHeaders,r?.headers)};n.json&&(n.body=JSON.stringify(n.json),n.headers=Wle(n.headers,{"content-type":"application/json"}),delete n.json),n.withResponse&&delete n.withResponse,"emptyResponse"in n&&delete n.emptyResponse;let o=null;typeof r?.timeoutMs<"u"?r.timeoutMs!=null&&(o=AbortSignal.timeout(r.timeoutMs)):this.timeoutMs!=null&&(o=AbortSignal.timeout(this.timeoutMs)),n.signal=lFe(o,n.signal);const a=new URL(`${this.apiUrl}${t}`);if(n.params){for(const[i,s]of Object.entries(n.params)){if(s==null)continue;const l=typeof s=="string"||typeof s=="number"?s.toString():JSON.stringify(s);a.searchParams.append(i,l)}delete n.params}return[a,n]}async fetch(t,r){const[n,o]=this.prepareFetchOptions(t,r);let a=o;this.onRequest&&(a=await this.onRequest(n,o));const i=await this.asyncCaller.fetch(n,a),s=(async()=>{if(i.status===202||i.status===204)return r?.emptyResponse;const l=await i.text();return l?JSON.parse(l):r?.emptyResponse})();return r?.withResponse?[await s,i]:s}async fetchText(t,r){const[n,o]=this.prepareFetchOptions(t,r),a=this.onRequest?await this.onRequest(n,o):o;return(await this.asyncCaller.fetch(n,a)).text()}}class kFe extends _a{async createForThread(t,r,n){const o={schedule:n?.schedule,input:n?.input,config:n?.config,context:n?.context,metadata:n?.metadata,assistant_id:r,interrupt_before:n?.interruptBefore,interrupt_after:n?.interruptAfter,webhook:n?.webhook,multitask_strategy:n?.multitaskStrategy,if_not_exists:n?.ifNotExists,checkpoint_during:n?.checkpointDuring,durability:n?.durability};return this.fetch(`/threads/${t}/runs/crons`,{method:"POST",json:o})}async create(t,r){const n={schedule:r?.schedule,input:r?.input,config:r?.config,context:r?.context,metadata:r?.metadata,assistant_id:t,interrupt_before:r?.interruptBefore,interrupt_after:r?.interruptAfter,webhook:r?.webhook,multitask_strategy:r?.multitaskStrategy,if_not_exists:r?.ifNotExists,checkpoint_during:r?.checkpointDuring,durability:r?.durability};return this.fetch("/runs/crons",{method:"POST",json:n})}async delete(t){await this.fetch(`/runs/crons/${t}`,{method:"DELETE"})}async search(t){return this.fetch("/runs/crons/search",{method:"POST",json:{assistant_id:t?.assistantId??void 0,thread_id:t?.threadId??void 0,limit:t?.limit??10,offset:t?.offset??0,sort_by:t?.sortBy??void 0,sort_order:t?.sortOrder??void 0,select:t?.select??void 0}})}async count(t){return this.fetch("/runs/crons/count",{method:"POST",json:{assistant_id:t?.assistantId??void 0,thread_id:t?.threadId??void 0}})}}class vFe extends _a{async get(t){return this.fetch(`/assistants/${t}`)}async getGraph(t,r){return this.fetch(`/assistants/${t}/graph`,{params:{xray:r?.xray}})}async getSchemas(t){return this.fetch(`/assistants/${t}/schemas`)}async getRuntimeCapabilities(t,r){return this.fetch(`/assistants/${t}/runtime-capabilities`,{params:r?.projectId?{projectId:r.projectId}:void 0,signal:r?.signal})}async getModels(t,r){return this.fetch(`/assistants/${t}/models`,{signal:r?.signal})}async setModelPreference(t,r,n){return this.fetch(`/assistants/${t}/model-preference`,{method:"PUT",json:{model_id:r},signal:n?.signal})}async getSubgraphs(t,r){return r?.namespace?this.fetch(`/assistants/${t}/subgraphs/${r.namespace}`,{params:{recurse:r?.recurse}}):this.fetch(`/assistants/${t}/subgraphs`,{params:{recurse:r?.recurse}})}async create(t){return this.fetch("/assistants",{method:"POST",json:{graph_id:t.graphId,config:t.config,context:t.context,metadata:t.metadata,assistant_id:t.assistantId,if_exists:t.ifExists,name:t.name,description:t.description}})}async update(t,r){return this.fetch(`/assistants/${t}`,{method:"PATCH",json:{graph_id:r.graphId,config:r.config,context:r.context,metadata:r.metadata,name:r.name,description:r.description}})}async delete(t){return this.fetch(`/assistants/${t}`,{method:"DELETE"})}async search(t){return this.fetch("/assistants/search",{method:"POST",json:{graph_id:t?.graphId??void 0,metadata:t?.metadata??void 0,limit:t?.limit??10,offset:t?.offset??0,sort_by:t?.sortBy??void 0,sort_order:t?.sortOrder??void 0,select:t?.select??void 0}})}async count(t){return this.fetch("/assistants/count",{method:"POST",json:{metadata:t?.metadata??void 0,graph_id:t?.graphId??void 0}})}async getVersions(t,r){return this.fetch(`/assistants/${t}/versions`,{method:"POST",json:{metadata:r?.metadata??void 0,limit:r?.limit??10,offset:r?.offset??0}})}async setLatest(t,r){return this.fetch(`/assistants/${t}/latest`,{method:"POST",json:{version:r}})}}class wFe extends _a{async get(t){return this.fetch(`/threads/${t}`)}async getContextUsage(t,r){return this.fetch(`/threads/${t}/context-usage`,{params:{agentKey:r?.agentKey}})}async create(t){const r=typeof t?.ttl=="number"?{ttl:t.ttl,strategy:"delete"}:t?.ttl;return this.fetch("/threads",{method:"POST",json:{assistant_id:t?.assistantId,metadata:{...t?.metadata,graph_id:t?.graphId},thread_id:t?.threadId,if_exists:t?.ifExists,supersteps:t?.supersteps?.map(n=>({updates:n.updates.map(o=>({values:o.values,command:o.command,as_node:o.asNode}))})),ttl:r}})}async copy(t){return this.fetch(`/threads/${t}/copy`,{method:"POST"})}async update(t,r){const n=typeof r?.ttl=="number"?{ttl:r.ttl,strategy:"delete"}:r?.ttl;return this.fetch(`/threads/${t}`,{method:"PATCH",json:{metadata:r?.metadata,ttl:n}})}async delete(t){return this.fetch(`/threads/${t}`,{method:"DELETE"})}async search(t){return this.fetch("/threads/search",{method:"POST",json:{metadata:t?.metadata??void 0,ids:t?.ids??void 0,limit:t?.limit??10,offset:t?.offset??0,status:t?.status,sort_by:t?.sortBy,sort_order:t?.sortOrder,select:t?.select??void 0}})}async count(t){return this.fetch("/threads/count",{method:"POST",json:{metadata:t?.metadata??void 0,values:t?.values??void 0,status:t?.status??void 0}})}async getState(t,r,n){return r!=null?typeof r!="string"?this.fetch(`/threads/${t}/state/checkpoint`,{method:"POST",json:{checkpoint:r,subgraphs:n?.subgraphs}}):this.fetch(`/threads/${t}/state/${r}`,{params:{subgraphs:n?.subgraphs}}):this.fetch(`/threads/${t}/state`,{params:{subgraphs:n?.subgraphs}})}async updateState(t,r){return this.fetch(`/threads/${t}/state`,{method:"POST",json:{values:r.values,checkpoint_id:r.checkpointId,checkpoint:r.checkpoint,as_node:r?.asNode}})}async patchState(t,r){let n;if(typeof t!="string"){if(typeof t.configurable?.thread_id!="string")throw new Error("Thread ID is required when updating state with a config.");n=t.configurable.thread_id}else n=t;return this.fetch(`/threads/${n}/state`,{method:"PATCH",json:{metadata:r}})}async getHistory(t,r){return this.fetch(`/threads/${t}/history`,{method:"POST",json:{limit:r?.limit??10,before:r?.before,metadata:r?.metadata,checkpoint:r?.checkpoint}})}async*joinStream(t,r){const[n,o]=this.prepareFetchOptions(`/threads/${t}/stream`,{method:"GET",headers:r?.lastEventId?{"Last-Event-ID":r.lastEventId}:void 0,params:r?.streamMode?{stream_mode:r.streamMode}:void 0}),a=this.onRequest!=null?await this.onRequest(n,o):o,s=((await this.asyncCaller.fetch(n,a)).body||new ReadableStream({start:l=>l.close()})).pipeThrough(oQ()).pipeThrough(aQ());yield*mg.fromReadableStream(s)}}class CFe extends _a{async*stream(t,r,n){const o={input:n?.input,command:n?.command,config:n?.config,context:n?.context,metadata:n?.metadata,stream_mode:n?.streamMode,stream_subgraphs:n?.streamSubgraphs,stream_resumable:n?.streamResumable,feedback_keys:n?.feedbackKeys,assistant_id:r,interrupt_before:n?.interruptBefore,interrupt_after:n?.interruptAfter,checkpoint:n?.checkpoint,checkpoint_id:n?.checkpointId,webhook:n?.webhook,multitask_strategy:n?.multitaskStrategy,on_completion:n?.onCompletion,on_disconnect:n?.onDisconnect,after_seconds:n?.afterSeconds,if_not_exists:n?.ifNotExists,checkpoint_during:n?.checkpointDuring,durability:n?.durability},a=t==null?"/runs/stream":`/threads/${t}/runs/stream`,[i,s]=this.prepareFetchOptions(a,{method:"POST",json:o,timeoutMs:null,signal:n?.signal}),l=this.onRequest!=null?await this.onRequest(i,s):s,u=await this.asyncCaller.fetch(i,l),d=zZ(u);d&&n?.onRunCreated?.(d);const f=(u.body||new ReadableStream({start:p=>p.close()})).pipeThrough(oQ()).pipeThrough(aQ());yield*mg.fromReadableStream(f)}async create(t,r,n){const o={input:n?.input,command:n?.command,config:n?.config,context:n?.context,metadata:n?.metadata,stream_mode:n?.streamMode,stream_subgraphs:n?.streamSubgraphs,stream_resumable:n?.streamResumable,assistant_id:r,interrupt_before:n?.interruptBefore,interrupt_after:n?.interruptAfter,webhook:n?.webhook,checkpoint:n?.checkpoint,checkpoint_id:n?.checkpointId,multitask_strategy:n?.multitaskStrategy,after_seconds:n?.afterSeconds,if_not_exists:n?.ifNotExists,checkpoint_during:n?.checkpointDuring,durability:n?.durability,langsmith_tracer:n?._langsmithTracer?{project_name:n?._langsmithTracer?.projectName,example_id:n?._langsmithTracer?.exampleId}:void 0},a=t===null?"/runs":`/threads/${t}/runs`,[i,s]=await this.fetch(a,{method:"POST",json:o,signal:n?.signal,withResponse:!0}),l=zZ(s);return l&&n?.onRunCreated?.(l),i}async createBatch(t){const r=t.map(n=>({...n,assistant_id:n.assistantId})).map(n=>Object.fromEntries(Object.entries(n).filter(([o,a])=>a!==void 0)));return this.fetch("/runs/batch",{method:"POST",json:r})}async wait(t,r,n){const o={input:n?.input,command:n?.command,config:n?.config,context:n?.context,metadata:n?.metadata,assistant_id:r,interrupt_before:n?.interruptBefore,interrupt_after:n?.interruptAfter,checkpoint:n?.checkpoint,checkpoint_id:n?.checkpointId,webhook:n?.webhook,multitask_strategy:n?.multitaskStrategy,on_completion:n?.onCompletion,on_disconnect:n?.onDisconnect,after_seconds:n?.afterSeconds,if_not_exists:n?.ifNotExists,checkpoint_during:n?.checkpointDuring,durability:n?.durability,langsmith_tracer:n?._langsmithTracer?{project_name:n?._langsmithTracer?.projectName,example_id:n?._langsmithTracer?.exampleId}:void 0},a=t==null?"/runs/wait":`/threads/${t}/runs/wait`,[i,s]=await this.fetch(a,{method:"POST",json:o,timeoutMs:null,signal:n?.signal,withResponse:!0}),l=zZ(s);if(l&&n?.onRunCreated?.(l),(n?.raiseError!==void 0?n.raiseError:!0)&&"__error__"in i&&typeof i.__error__=="object"&&i.__error__&&"error"in i.__error__&&"message"in i.__error__)throw new Error(`${i.__error__?.error}: ${i.__error__?.message}`);return i}async list(t,r){return this.fetch(`/threads/${t}/runs`,{params:{limit:r?.limit??10,offset:r?.offset??0,status:r?.status??void 0,select:r?.select??void 0}})}async get(t,r){return this.fetch(`/threads/${t}/runs/${r}`)}async cancel(t,r,n=!1,o="interrupt"){return this.fetch(`/threads/${t}/runs/${r}/cancel`,{method:"POST",params:{wait:n?"1":"0",action:o}})}async join(t,r,n){return this.fetch(`/threads/${t}/runs/${r}/join`,{timeoutMs:null,signal:n?.signal})}async*joinStream(t,r,n){const o=typeof n=="object"&&n!=null&&n instanceof AbortSignal?{signal:n}:n,[a,i]=this.prepareFetchOptions(t!=null?`/threads/${t}/runs/${r}/stream`:`/runs/${r}/stream`,{method:"GET",timeoutMs:null,signal:o?.signal,headers:o?.lastEventId?{"Last-Event-ID":o.lastEventId}:void 0,params:{cancel_on_disconnect:o?.cancelOnDisconnect?"1":"0",stream_mode:o?.streamMode}}),s=this.onRequest!=null?await this.onRequest(a,i):i,u=((await this.asyncCaller.fetch(a,s)).body||new ReadableStream({start:d=>d.close()})).pipeThrough(oQ()).pipeThrough(aQ());yield*mg.fromReadableStream(u)}async delete(t,r){return this.fetch(`/threads/${t}/runs/${r}`,{method:"DELETE"})}}class SFe extends _a{async putItem(t,r,n,o){t.forEach(i=>{if(i.includes("."))throw new Error(`Invalid namespace label '${i}'. Namespace labels cannot contain periods ('.')`)});const a={namespace:t,key:r,value:n,index:o?.index,ttl:o?.ttl};return this.fetch("/store/items",{method:"PUT",json:a})}async getItem(t,r,n){t.forEach(i=>{if(i.includes("."))throw new Error(`Invalid namespace label '${i}'. Namespace labels cannot contain periods ('.')`)});const o={namespace:t.join("."),key:r};n?.refreshTtl!==void 0&&(o.refresh_ttl=n.refreshTtl);const a=await this.fetch("/store/items",{params:o});return a?{...a,createdAt:a.created_at,updatedAt:a.updated_at}:null}async deleteItem(t,r){return t.forEach(n=>{if(n.includes("."))throw new Error(`Invalid namespace label '${n}'. Namespace labels cannot contain periods ('.')`)}),this.fetch("/store/items",{method:"DELETE",json:{namespace:t,key:r}})}async searchItems(t,r){const n={namespace_prefix:t,filter:r?.filter,limit:r?.limit??10,offset:r?.offset??0,query:r?.query,refresh_ttl:r?.refreshTtl};return{items:(await this.fetch("/store/items/search",{method:"POST",json:n})).items.map(a=>({...a,createdAt:a.created_at,updatedAt:a.updated_at}))}}async listNamespaces(t){const r={prefix:t?.prefix,suffix:t?.suffix,max_depth:t?.maxDepth,limit:t?.limit??100,offset:t?.offset??0};return this.fetch("/store/namespaces",{method:"POST",json:r})}}class Tm extends _a{static promiseCache={};static getOrCached(t,r){if(Tm.promiseCache[t]!=null)return Tm.promiseCache[t];const n=r();return Tm.promiseCache[t]=n,n}async getComponent(t,r){return Tm.getOrCached(`${this.apiUrl}-${t}-${r}`,()=>this.fetchText(`/ui/${t}`,{headers:{Accept:"text/html","Content-Type":"application/json"},method:"POST",json:{name:r}}))}}class MFe{assistants;threads;runs;crons;store;contexts;knowledges;conversations;sandbox;viewHosts;projects;xperts;workspaces;connectors;mcp;"~ui";"~configHash";constructor(t){this["~configHash"]=JSON.stringify({apiUrl:t?.apiUrl,apiKey:t?.apiKey,timeoutMs:t?.timeoutMs,defaultHeaders:t?.defaultHeaders,maxConcurrency:t?.callerOptions?.maxConcurrency,maxRetries:t?.callerOptions?.maxRetries,callbacks:{onFailedResponseHook:t?.callerOptions?.onFailedResponseHook!=null,onRequest:t?.onRequest!=null,fetch:t?.callerOptions?.fetch!=null}}),this.assistants=new vFe(t),this.threads=new wFe(t),this.runs=new CFe(t),this.crons=new kFe(t),this.store=new SFe(t),this.contexts=new IFe(t),this.knowledges=new RFe(t),this.conversations=new FFe(t),this.sandbox=new DFe(t),this.viewHosts=new PFe(t),this.projects=new TFe(t),this.xperts=new AFe(t),this.workspaces=new LFe(t),this.connectors=new EFe(t),this.mcp=new pFe(new _Fe(t)),this["~ui"]=new Tm(t)}}class _Fe extends _a{constructor(t){super({...t,apiUrl:xFe(t?.apiUrl)})}request(t,r){return this.fetch(t,r)}}function ute(e){return{path:e.path,deepth:e.depth}}class TFe extends _a{constructor(t){super({...t,apiUrl:Zg(t?.apiUrl,"xpert-project")})}async list(t){return this.fetch("/available",{params:{xpertId:t.xpertId,status:t.status??"active",skip:t.skip??0,take:t.take??100},signal:t.signal})}async get(t,r){return this.fetch(`/${encodeURIComponent(t)}`,{signal:r?.signal})}async listFiles(t,r={}){return this.fetch(`/${encodeURIComponent(t)}/files`,{params:ute(r),signal:r.signal})}}class AFe extends _a{constructor(t){super({...t,apiUrl:Zg(t?.apiUrl,"xpert")})}async listWorkspaceFiles(t,r={}){return this.fetch(`/${encodeURIComponent(t)}/workspace/files`,{params:ute(r),signal:r.signal})}}class LFe extends _a{constructor(t){super({...t,apiUrl:Zg(t?.apiUrl,"xpert-workspace")})}async getDefault(t={}){return this.fetch("/my/default",{params:t.purpose?{purpose:t.purpose}:void 0,signal:t.signal})}}class EFe extends _a{constructor(t){super({...t,apiUrl:Zg(t?.apiUrl,"connector")})}async runtimeOptions(t,r){return this.fetch("/runtime-options",{params:{xpertId:t,projectId:r?.projectId},signal:r?.signal})}async listBindings(t,r){return this.fetch("/bindings",{params:Gle(t),signal:r?.signal})}async definitions(t,r){return this.fetch("/definitions",{params:Gle(t),signal:r?.signal})}async createBinding(t,r){return this.fetch("/bindings",{method:"POST",json:t,signal:r?.signal})}async deleteBinding(t,r){await this.fetch(`/bindings/${encodeURIComponent(t)}`,{method:"DELETE",signal:r?.signal})}async connect(t,r,n){return this.fetch(`/bindings/${encodeURIComponent(t)}/connect`,{method:"POST",json:r,signal:n?.signal})}async authorizationStatus(t,r){return this.fetch(`/bindings/${encodeURIComponent(t)}/authorization-status`,{params:r?.xpertId?{xpertId:r.xpertId}:void 0,signal:r?.signal})}async consent(t,r={},n){return this.fetch(`/bindings/${encodeURIComponent(t)}/consent`,{method:"POST",json:r,signal:n?.signal})}async disconnectPersonalAccount(t,r){await this.fetch(`/personal-accounts/${encodeURIComponent(t)}`,{method:"DELETE",signal:r?.signal})}async listPersonalAccounts(t){return this.fetch("/personal-accounts",{signal:t?.signal})}}function Gle(e){return e.type==="project"?{scopeType:e.type,scopeId:e.projectId}:{scopeType:e.type,scopeId:e.workspaceId}}class IFe extends _a{async uploadFile(t,r){if(typeof FormData>"u"||typeof Blob>"u")throw new Error("File uploads require FormData and Blob support in the current environment.");const n=t instanceof Blob,o=n?t:new Blob([t]);let a=r?.filename;a==null&&typeof File<"u"&&n&&t instanceof File&&(a=t.name),(a==null||a.trim()==="")&&(a="upload");const i=new FormData;return i.append("file",o,a),this.fetch("/contexts/file",{method:"POST",body:i})}async deleteFile(t){await this.fetch(`/contexts/file/${t}`,{method:"DELETE"})}}class RFe extends _a{async create(t){return this.fetch("/knowledges",{method:"POST",json:t})}}function wn(e){return encodeURIComponent(e)}function zFe(e){return!e||e==="/"?"/":e.startsWith("/")?e:`/${e}`}class DFe extends _a{constructor(t){super({...t,apiUrl:bFe(t?.apiUrl)})}async listConversationServices(t,r){return this.fetch(`/conversations/${wn(t)}/services`,{params:{organizationId:r?.organizationId},signal:r?.signal})}async listThreadServices(t,r){return this.fetch(`/threads/${wn(t)}/services`,{params:{organizationId:r?.organizationId},signal:r?.signal})}async getConversationService(t,r,n){return this.fetch(`/conversations/${wn(t)}/services/${wn(r)}`,{params:{organizationId:n?.organizationId},signal:n?.signal})}async getThreadService(t,r,n){return this.fetch(`/threads/${wn(t)}/services/${wn(r)}`,{params:{organizationId:n?.organizationId},signal:n?.signal})}async startConversationService(t,r,n){return this.fetch(`/conversations/${wn(t)}/services/start`,{method:"POST",json:r,params:{organizationId:n?.organizationId},signal:n?.signal})}async startThreadService(t,r,n){return this.fetch(`/threads/${wn(t)}/services/start`,{method:"POST",json:r,params:{organizationId:n?.organizationId},signal:n?.signal})}async getConversationServiceLogs(t,r,n){return this.fetch(`/conversations/${wn(t)}/services/${wn(r)}/logs`,{params:{organizationId:n?.organizationId,tail:n?.tail},signal:n?.signal})}async getThreadServiceLogs(t,r,n){return this.fetch(`/threads/${wn(t)}/services/${wn(r)}/logs`,{params:{organizationId:n?.organizationId,tail:n?.tail},signal:n?.signal})}async stopConversationService(t,r,n){return this.fetch(`/conversations/${wn(t)}/services/${wn(r)}/stop`,{method:"POST",params:{organizationId:n?.organizationId},signal:n?.signal})}async stopThreadService(t,r,n){return this.fetch(`/threads/${wn(t)}/services/${wn(r)}/stop`,{method:"POST",params:{organizationId:n?.organizationId},signal:n?.signal})}async restartConversationService(t,r,n){return this.fetch(`/conversations/${wn(t)}/services/${wn(r)}/restart`,{method:"POST",params:{organizationId:n?.organizationId},signal:n?.signal})}async restartThreadService(t,r,n){return this.fetch(`/threads/${wn(t)}/services/${wn(r)}/restart`,{method:"POST",params:{organizationId:n?.organizationId},signal:n?.signal})}async createConversationServicePreviewSession(t,r,n){return this.fetch(`/conversations/${wn(t)}/services/${wn(r)}/preview-session`,{method:"POST",params:{organizationId:n?.organizationId},signal:n?.signal})}async createThreadServicePreviewSession(t,r,n){return this.fetch(`/threads/${wn(t)}/services/${wn(r)}/preview-session`,{method:"POST",params:{organizationId:n?.organizationId},signal:n?.signal})}getConversationServiceProxyUrl(t,r,n){const o=zFe(n);return`${this.apiUrl}/conversations/${wn(t)}/services/${wn(r)}/proxy${o}`}}function Cn(e){return encodeURIComponent(e)}function OFe(e){return{page:e.page,pageSize:e.pageSize,cursor:e.cursor,search:e.search,sortBy:e.sortBy,sortDirection:e.sortDirection,selectionId:e.selectionId,filters:e.filters?.length?JSON.stringify(e.filters):void 0,parameters:e.parameters&&Object.keys(e.parameters).length>0?JSON.stringify(e.parameters):void 0}}function BFe(e){return{search:e.search,parameters:e.parameters&&Object.keys(e.parameters).length>0?JSON.stringify(e.parameters):void 0}}function NFe(e){if(typeof Blob>"u")throw new Error("View file actions require Blob and FormData support in the current environment.");const t=e.file,r=t instanceof Blob?t:ArrayBuffer.isView(t)?new Blob([new Uint8Array(t.buffer,t.byteOffset,t.byteLength).slice().buffer]):new Blob([t]),n=e.fileName?.trim()||(typeof File<"u"&&t instanceof File?t.name:"upload.bin");return{blob:r,fileName:n}}class jFe extends _a{constructor(t){super({...t,apiUrl:Zg(t?.apiUrl,"workspace-files")})}createSession(t,r,n,o){return this.fetch("/view-sessions",{method:"POST",credentials:"include",json:{hostType:t,hostId:r,viewKey:n,runtimeScope:o?.runtimeScope},headers:_d(o?.runtimeScope),signal:o?.signal})}createGrant(t,r,n){return this.fetch(`/view-sessions/${Cn(t)}/grants`,{method:"POST",json:r,signal:n?.signal})}async revokeSession(t,r){await this.fetch(`/view-sessions/${Cn(t)}`,{method:"DELETE",credentials:"include",signal:r?.signal})}}class PFe extends _a{workspaceFiles;constructor(t){super({...t,apiUrl:Zg(t?.apiUrl,"view-hosts")}),this.workspaceFiles=new jFe(t)}listSlotViews(t,r,n,o){return this.fetch(`/${Cn(t)}/${Cn(r)}/slots/${Cn(n)}/views`,{signal:o?.signal,headers:_d(o?.runtimeScope)})}getManifest(t,r,n,o){return this.fetch(`/${Cn(t)}/${Cn(r)}/views/${Cn(n)}/manifest`,{signal:o?.signal,headers:_d(o?.runtimeScope)})}getData(t,r,n,o={},a){return this.fetch(`/${Cn(t)}/${Cn(r)}/views/${Cn(n)}/data`,{params:OFe(o),headers:_d(a?.runtimeScope),signal:a?.signal})}getRemoteComponentEntry(t,r,n,o){return this.fetchText(`/${Cn(t)}/${Cn(r)}/views/${Cn(n)}/remote-component/entry`,{headers:{Accept:"text/html",..._d(o?.runtimeScope)},signal:o?.signal})}getParameterOptions(t,r,n,o,a={},i){return this.fetch(`/${Cn(t)}/${Cn(r)}/views/${Cn(n)}/parameters/${Cn(o)}/options`,{params:BFe(a),headers:_d(i?.runtimeScope),signal:i?.signal})}executeAction(t,r,n,o,a={},i){return this.fetch(`/${Cn(t)}/${Cn(r)}/views/${Cn(n)}/actions/${Cn(o)}`,{method:"POST",json:a,headers:_d(i?.runtimeScope),signal:i?.signal})}executeFileAction(t,r,n,o,a,i){if(typeof FormData>"u")throw new Error("View file actions require Blob and FormData support in the current environment.");const{blob:s,fileName:l}=NFe(a),u=new FormData;return u.append("file",s,l),a.targetId&&u.append("targetId",a.targetId),a.input&&u.append("input",JSON.stringify(a.input)),a.parameters&&Object.keys(a.parameters).length>0&&u.append("parameters",JSON.stringify(a.parameters)),this.fetch(`/${Cn(t)}/${Cn(r)}/views/${Cn(n)}/actions/${Cn(o)}/file`,{method:"POST",body:u,headers:_d(i?.runtimeScope),signal:i?.signal})}createFileAccessSession(t,r,n,o){return this.workspaceFiles.createSession(t,r,n,o)}createFileAccessGrant(t,r,n){return this.workspaceFiles.createGrant(t,r,n)}revokeFileAccessSession(t,r){return this.workspaceFiles.revokeSession(t,r)}}function _d(e){return{...e?.projectId?{"x-xpert-view-project-id":e.projectId}:{},...e?.conversationId?{"x-xpert-view-conversation-id":e.conversationId}:{}}}class FFe extends _a{async create(t){return this.fetch("/conversations",{method:"POST",json:t})}async get(t){return this.fetch(`/conversations/${t}`)}async listWorkspaceFiles(t,r={}){return this.fetch(`/conversations/${encodeURIComponent(t)}/files`,{params:ute(r),signal:r.signal})}async update(t,r){return this.fetch(`/conversations/${t}`,{method:"PATCH",json:r})}async delete(t){await this.fetch(`/conversations/${t}`,{method:"DELETE"})}async search(t){return this.fetch("/conversations/search",{method:"POST",json:{where:t?.where,order:t?.order,limit:t?.limit,offset:t?.offset,search:t?.search}})}async getGoal(t,r){return this.fetch(`/conversations/${t}/goal`,{signal:r?.signal,emptyResponse:null})}async getTaskSummary(t,r){return this.fetch(`/conversations/${t}/task-summary`,{signal:r?.signal})}async listTaskSummaryItems(t,r,n){return this.fetch(`/conversations/${t}/task-summary/${r}`,{params:{offset:n?.offset,limit:n?.limit},signal:n?.signal})}async setGoal(t,r,n){const o=await this.fetch(`/conversations/${t}/goal`,{method:"PUT",json:r,signal:n?.signal,emptyResponse:null});return this.requireGoalWriteResult(t,o,n)}async updateGoal(t,r,n){const o=await this.fetch(`/conversations/${t}/goal`,{method:"PATCH",json:r,signal:n?.signal,emptyResponse:null});return this.requireGoalWriteResult(t,o,n)}async requireGoalWriteResult(t,r,n){if(r)return r;const o=await this.getGoal(t,n);if(o)return o;throw new Error(`Conversation goal API returned an empty response for "${t}".`)}async clearGoal(t,r){return this.fetch(`/conversations/${t}/goal`,{method:"DELETE",signal:r?.signal,emptyResponse:null})}async listMessages(t,r){return this.fetch(`/conversations/${t}/messages`,{params:{limit:r?.limit,offset:r?.offset}})}async searchMessages(t,r){return this.fetch(`/conversations/${t}/messages/search`,{method:"POST",json:{where:r?.where,order:r?.order,limit:r?.limit,offset:r?.offset}})}async createMessage(t,r){return this.fetch(`/conversations/${t}/messages`,{method:"POST",json:r})}async getMessage(t,r){return this.fetch(`/conversations/${t}/messages/${r}`)}async updateMessage(t,r,n){return this.fetch(`/conversations/${t}/messages/${r}`,{method:"PATCH",json:n})}async deleteMessage(t,r){await this.fetch(`/conversations/${t}/messages/${r}`,{method:"DELETE"})}async listFeedbacks(t,r,n){return this.fetch(`/conversations/${t}/messages/${r}/feedbacks`,{params:{limit:n?.limit,offset:n?.offset}})}async searchFeedbacks(t,r,n){return this.fetch(`/conversations/${t}/messages/${r}/feedbacks/search`,{method:"POST",json:{where:n?.where,order:n?.order,limit:n?.limit,offset:n?.offset}})}async createFeedback(t,r,n){return this.fetch(`/conversations/${t}/messages/${r}/feedbacks`,{method:"POST",json:n})}async getFeedback(t,r,n){return this.fetch(`/conversations/${t}/messages/${r}/feedbacks/${n}`)}async updateFeedback(t,r,n,o){return this.fetch(`/conversations/${t}/messages/${r}/feedbacks/${n}`,{method:"PATCH",json:o})}async deleteFeedback(t,r,n){await this.fetch(`/conversations/${t}/messages/${r}/feedbacks/${n}`,{method:"DELETE"})}}const qFe="assistant.chat.send_message",HFe="assistant.context.set",Zle="assistant.citation.open",$Fe="knowledgebase.open_citation";function dte(e){return e.type==="agent_event"}function VFe(e){if(!(!e||typeof e=="string"))return typeof e.executionId=="string"&&e.executionId.trim()?e.executionId.trim():void 0}function UFe(e){if(!(!e||typeof e=="string"))return typeof e.parentExecutionId=="string"&&e.parentExecutionId.trim()?e.parentExecutionId.trim():void 0}function iQ(e){if(!(!e||typeof e=="string"))return typeof e.agentKey=="string"&&e.agentKey.trim()?e.agentKey.trim():void 0}function CV(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function Cr(e){if(typeof e!="string")return null;const t=e.trim();return t||null}function WFe(e){if(typeof e=="number")return Number.isFinite(e)?e:void 0;if(typeof e!="string")return;const t=e.trim();if(!t)return;const r=Number(t);return Number.isFinite(r)?r:void 0}function Kle(e){if(CV(e))return Cr(e.title)??Cr(e.name)??void 0}function Yle(e){if(!CV(e))return;const t=e.attempt;return typeof t=="number"&&Number.isFinite(t)?String(t):Cr(t)??void 0}function GFe(e,t){if(Cr(e.type)!=="middleware_event")return null;const r=Cr(e.middlewareKey)??Cr(e.middlewareName)??"middleware",n=Cr(e.phase)??"event",o=n.split("_")[0]||n,a=Yle(e.data)??Yle(e)??"default";return`middleware:${t}:${r}:${o}:${a}`}function cge(e,t){if(!CV(e))return null;const r=Cr(e.id);if(!r)return null;const n=Cr(e.parentId)??Cr(e.parentExecutionId)??void 0,o=Cr(e.xpertName)??Kle(e.agent)??Kle(e.xpert),a=t===wr.ON_AGENT_START?"running":Cr(e.status)??void 0,i=Cr(e.type),s=Cr(e.category),l=Cr(e.agentKey),u=Cr(e.title),d=WFe(e.elapsedTime),f=Cr(e.runId),p=Cr(e.createdAt),g=Cr(e.updatedAt),b=Cr(e.startedAt),v=Cr(e.endedAt);return{id:r,...n?{parentId:n,parentExecutionId:n}:{},...i?{nodeType:i}:{},...s?{category:s}:{},...l?{agentKey:l}:{},...o?{xpertName:o}:{},...u?{title:u}:{},...a?{status:a}:{},...d!==void 0?{elapsedTime:d}:{},...e.error!==void 0?{error:e.error}:{},...e.inputs!==void 0?{inputs:e.inputs}:{},...f?{runId:f}:{},...p?{createdAt:p}:{},...g?{updatedAt:g}:{},...b?{startedAt:b}:{},...v?{endedAt:v}:{}}}function ZFe(e,t){return e?{...e,...t,id:e.id||t.id,parentId:t.parentId??e.parentId,parentExecutionId:t.parentExecutionId??e.parentExecutionId,nodeType:t.nodeType??e.nodeType,category:t.category??e.category,agentKey:t.agentKey??e.agentKey,xpertName:t.xpertName??e.xpertName,title:t.title??e.title,status:t.status??e.status,elapsedTime:t.elapsedTime??e.elapsedTime,error:t.error??e.error,inputs:t.inputs??e.inputs}:t}function uge(e){return e?.nodeType?.trim().toLowerCase()==="middleware"}function KFe(e,t){const r=e?[...e]:[],n=r.findIndex(o=>o.id===t.id);return n>=0?(r[n]=ZFe(r[n],t),r):(r.push(t),r)}function YFe(e){if(!CV(e))return null;const t=Cr(e.executionId);if(!t)return null;const r=Cr(e.parentExecutionId)??Cr(e.parentId)??void 0,n=Cr(e.eventId)??Cr(e.id)??GFe(e,t)??Bo(),o=Cr(e.agentKey)??void 0,a=Cr(e.xpertName)??void 0,i=Cr(e.runId)??void 0,s=Cr(e.created_date)??Cr(e.createdAt)??new Date().toISOString();return{id:n,type:"agent_event",event:Cr(e.type)??Cr(e.event)??Cr(e.name)??void 0,title:Cr(e.title)??void 0,message:Cr(e.message)??void 0,status:Cr(e.status)??void 0,...e.error!==void 0?{error:e.error}:{},data:e,executionId:t,...r?{parentExecutionId:r}:{},...o?{agentKey:o}:{},...a?{xpertName:a}:{},...i?{runId:i}:{},created_date:s}}function XFe(e,t=Date.now()){if(!e)return;const r=new Date(t).toISOString();return e.map(n=>{if(n.status?.trim().toLowerCase()!=="running")return n;const o=Date.parse(n.startedAt??n.createdAt??""),a=typeof n.elapsedTime=="number"&&Number.isFinite(n.elapsedTime)?n.elapsedTime:Number.isNaN(o)?void 0:Math.max(0,t-o);return{...n,status:"interrupted",endedAt:r,updatedAt:r,...a!==void 0?{elapsedTime:a}:{}}})}function QFe(e,{activeRunId:t,hasActiveRun:r,interruptedAt:n=Date.now()}){if(!r)return e;const o=t?.trim();let a=-1;for(let l=e.length-1;l>=0;l-=1){const u=e[l],d=u.type?.trim().toLowerCase();if(d!=="ai"&&d!=="assistant")continue;const f=u.agentRuns?.some(g=>g.status?.trim().toLowerCase()==="running"),p=!!o&&u.executionId?.trim()===o;if(f||p){a=l;break}}if(a<0)return e;const i=[...e],s=i[a];return i[a]={...s,status:"aborted",agentRuns:XFe(s.agentRuns,n)},i}function JFe(e,t,r,n){e(o=>{const a=o.messages??[],i=r(a);if(i<0)return{...o,messages:[...a,n(t)]};const s=[...a],l=s[i];return s[i]={...l,agentRuns:KFe(l.agentRuns,t)},{...o,messages:s}})}function $b(e){if(typeof e!="string")return;const t=e.trim();return t||void 0}function Xle(e){const t=$b(e);if(!t)throw new Error("[chatkit-ui] Parent returned an invalid client secret.");return t}function dge(e,t){if(typeof e=="string"){const r=Xle(e),n=$b(t);return n?{secret:r,organizationId:n}:{secret:r}}if(e&&typeof e=="object"&&!Array.isArray(e)){const r=Xle(e.secret),n=$b(e.organizationId),o=$b(e.xpertId),a=$b(e.assistantId);return{secret:r,...n?{organizationId:n}:{},...o?{xpertId:o}:{},...a?{assistantId:a}:{}}}throw new Error("[chatkit-ui] Parent returned an invalid client secret.")}function Qle(e){return typeof e=="string"&&e.trim().length>0}function hge({apiUrl:e,clientSecret:t}){const r=Qle(e),n=Qle(t);return r&&n?null:!r&&!n?"apiUrlAndClientSecret":r?"clientSecret":"apiUrl"}function W3({apiUrl:e,clientSecret:t}){const r=hge({apiUrl:e,clientSecret:t});if(!r)return null;switch(r){case"apiUrl":return new Error("Missing ChatKit API URL");case"clientSecret":return new Error("Missing ChatKit client secret");case"apiUrlAndClientSecret":return new Error("Missing ChatKit API URL and client secret");default:return new Error("Missing ChatKit configuration")}}function G4(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function Jle(e){const t=e?.[Cs];return G4(t)?t:{}}function ece(e){if(!G4(e))return{value:{},env:{}};const{env:t,...r}=e;return{value:r,env:G4(t)?t:{}}}function fge(e){const t=ece(e.defaults?.context),r=ece(e.context),n=G4(e.defaults?.config)?e.defaults?.config:{},o=G4(e.config)?e.config:{},a={...t.env,...r.env},i={...t.value,...r.value},s={...n,...o},l=Object.keys(a).length>0,u=l?{...i,env:a}:i,d=Object.keys(i).length>0||l,f=Object.keys(s).length>0;return{...d?{context:u}:{},...f?{config:s}:{}}}function tce(e){return fge(e)}function RH(e){const t=e.defaults?.state,r=e.state,n=fge({defaults:{context:e.defaults?.context,config:e.defaults?.config},context:e.context,config:e.config}),o={...t??{},...r??{}},a={...Jle(t),...Jle(r),...e.humanInput??{}};return Object.keys(a).length>0&&(o[Cs]=a),{...Object.keys(o).length>0?{state:o}:{},...n.context?{context:n.context}:{},...n.config?{config:n.config}:{}}}const eqe=new Set(["pending","running"]);function rce(e){const t=Date.parse(e.updated_at||e.created_at);return Number.isFinite(t)?t:0}function tqe(e){return e.filter(r=>eqe.has(r.status)&&!!r.run_id?.trim()).sort((r,n)=>rce(n)-rce(r))[0]?.run_id.trim()||null}async function rqe(e,t={}){const r=Math.max(1,t.attempts??20),n=Math.max(0,t.intervalMs??250);for(let o=0;o<r;o+=1){if(t.shouldContinue&&!t.shouldContinue())return null;const a=tqe(await e());if(a)return a;if(o===r-1)break;await new Promise(i=>setTimeout(i,n))}return null}const DZ={current:null};function pge(){return{streamRef:DZ,stream:DZ.current,setStream:e=>{DZ.current=e}}}function Kp(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function ca(e){return typeof e=="string"&&e.trim().length>0}function Kn(e){return e===void 0||typeof e=="string"}function qr(e){return ca(e)?e.trim():void 0}function Kg(e){return typeof e=="string"&&e.trim().length>0?e:null}function zH(e){return typeof e=="number"&&Number.isInteger(e)&&e>0?e:null}function g4(e){return e===void 0||Number.isFinite(e)}function nqe(e){return Kp(e)?"name"in e&&"value"in e&&typeof e.name=="string"&&typeof e.value=="string":!1}function mge(e){return Array.isArray(e)&&e.every(nqe)}function Id(e,t){const r=t?.allowZero??!1;if(!Number.isFinite(e))return;const n=e;if(n>0||r&&n===0)return n}function oqe(e){return ca(e.fileId)||ca(e.url)||ca(e.name)||ca(e.label)||ca(e.text)}function aqe(e){if(!Kp(e))return!1;const t=e;return ca(t.path)&&zH(t.startLine)!==null&&zH(t.endLine)!==null&&Kg(t.text)!==null&&Kn(t.id)&&Kn(t.label)&&Kn(t.language)&&Kn(t.taskId)}function iqe(e){if(!Kp(e))return!1;const t=e;return t.type==="quote"&&Kg(t.text)!==null&&Kn(t.id)&&Kn(t.label)&&Kn(t.messageId)&&Kn(t.source)}function sqe(e){if(!Kp(e))return!1;const t=e;return t.type==="image"&&Kn(t.id)&&Kn(t.label)&&Kn(t.text)&&Kn(t.fileId)&&Kn(t.url)&&Kn(t.mimeType)&&Kn(t.name)&&g4(t.size)&&g4(t.width)&&g4(t.height)&&oqe(t)}function lqe(e){if(!Kp(e))return!1;const t=e;return t.type==="element"&&mge(t.attributes)&&ca(t.outerHtml)&&ca(t.pageUrl)&&ca(t.selector)&&ca(t.serviceId)&&ca(t.tagName)&&Kg(t.text)!==null&&Kn(t.id)&&Kn(t.label)&&Kn(t.pageTitle)&&Kn(t.role)}function cqe(e){if(!Kp(e))return!1;const t=e;return t.type==="file_element"&&mge(t.attributes)&&ca(t.domPath)&&ca(t.filePath)&&ca(t.outerHtml)&&ca(t.selector)&&ca(t.tagName)&&Kg(t.text)!==null&&Kn(t.id)&&Kn(t.label)&&Kn(t.documentTitle)&&Kn(t.role)&&g4(t.sourceStartLine)&&g4(t.sourceEndLine)}function nce(e){return{type:"code",...qr(e.id)?{id:qr(e.id)}:{},...qr(e.label)?{label:qr(e.label)}:{},path:e.path.trim(),startLine:e.startLine,endLine:e.endLine,text:e.text,...qr(e.language)?{language:qr(e.language)}:{},...qr(e.taskId)?{taskId:qr(e.taskId)}:{}}}function uqe(e){return{type:"quote",...qr(e.id)?{id:qr(e.id)}:{},...qr(e.label)?{label:qr(e.label)}:{},text:e.text,...qr(e.messageId)?{messageId:qr(e.messageId)}:{},...qr(e.source)?{source:qr(e.source)}:{}}}function dqe(e){const t=qr(e.fileId),r=qr(e.url),n=qr(e.name),o=qr(e.label),i=Kg(e.text)??n??o??"Pasted image";return{type:"image",...qr(e.id)?{id:qr(e.id)}:{},...o?{label:o}:{},text:i,...t?{fileId:t}:{},...r?{url:r}:{},...qr(e.mimeType)?{mimeType:qr(e.mimeType)}:{},...n?{name:n}:{},...Id(e.size,{allowZero:!0})!==void 0?{size:Id(e.size,{allowZero:!0})}:{},...Id(e.width)!==void 0?{width:Id(e.width)}:{},...Id(e.height)!==void 0?{height:Id(e.height)}:{}}}function hqe(e){const t=qr(e.id),r=qr(e.label),n=qr(e.pageTitle),o=qr(e.role);return{type:"element",...t?{id:t}:{},...r?{label:r}:{},attributes:e.attributes,outerHtml:e.outerHtml,...n?{pageTitle:n}:{},pageUrl:e.pageUrl.trim(),...o?{role:o}:{},selector:e.selector,serviceId:e.serviceId,tagName:e.tagName,text:e.text}}function fqe(e){const t=qr(e.id),r=qr(e.label),n=qr(e.documentTitle),o=qr(e.role);return{type:"file_element",...t?{id:t}:{},...r?{label:r}:{},attributes:e.attributes,...n?{documentTitle:n}:{},domPath:e.domPath,filePath:e.filePath,outerHtml:e.outerHtml,...o?{role:o}:{},selector:e.selector,...Id(e.sourceStartLine)!==void 0?{sourceStartLine:e.sourceStartLine}:{},...Id(e.sourceEndLine)!==void 0?{sourceEndLine:e.sourceEndLine}:{},tagName:e.tagName,text:e.text}}function pqe(e){return e.type===void 0&&ca(e.path)&&zH(e.startLine)!==null&&zH(e.endLine)!==null&&Kg(e.text)!==null}function mqe(e){if(!Kp(e))return null;const t=e,r=qr(t.type);return r==="code"&&aqe(t)?nce(t):iqe(t)?uqe(t):sqe(t)?dqe(t):lqe(t)?hqe(t):cqe(t)?fqe(t):r===void 0&&pqe(t)?nce(t):null}function il(e){return Array.isArray(e)?e.map(t=>mqe(t)).filter(t=>t!==null):[]}function gge(e){return e.startLine===e.endLine?`${e.startLine}`:`${e.startLine}-${e.endLine}`}function yge(e){const t=e.text.replace(/\s+/g," ").trim();return t.length<=32?t:`${t.slice(0,29)}...`}function bge(e){return`${e.path}:${gge(e)}`}function gqe(e){return e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(e<10*1024?1:0)} KB`:`${(e/(1024*1024)).toFixed(e<10*1024*1024?1:0)} MB`}function yqe(e){return!e.width||!e.height?null:`${e.width}x${e.height}`}function bqe(e){return[e.mimeType?.trim()||null,yqe(e),typeof e.size=="number"?gqe(e.size):null].filter(t=>!!t)}function Am(e){return e.type==="image"&&e.fileId?.trim()?`image:${e.fileId.trim()}`:e.id&&e.id.trim()?e.id.trim():e.type==="code"?[e.type,e.path,e.startLine,e.endLine,e.text].join(":"):e.type==="image"?[e.type,e.url??"",e.name??"",e.mimeType??"",e.size??"",e.width??"",e.height??"",e.text].join(":"):e.type==="element"?[e.type,e.serviceId,e.pageUrl,e.selector].join(":"):e.type==="file_element"?[e.type,e.filePath,e.domPath,e.selector].join(":"):[e.type,e.messageId??"",e.source??"",e.text].join(":")}function Y2(e,t){const r=[...e],n=new Set(e.map(Am));return t.forEach(o=>{const a=Am(o);n.has(a)||(n.add(a),r.push(o))}),r}function Nm(e){if(e.label&&e.label.trim())return e.label.trim();if(e.type==="code"){const t=e.path.split("/");return`${t[t.length-1]||e.path} ${gge(e)}`}return e.type==="image"?e.name?.trim()||"Pasted image":e.type==="element"?e.pageTitle?.trim()||e.tagName:e.type==="file_element"?e.documentTitle?.trim()||e.filePath:e.type==="quote"&&e.source?.trim()?e.source.trim():yge(e)}function sQ(e){if(e.type==="code")return bge(e);if(e.type==="image"){const t=bqe(e);return t.length?t.join(" • "):null}if(e.type==="element")return e.pageUrl;if(e.type==="file_element"){const t=e.sourceStartLine,r=e.sourceEndLine??t;return t?`${e.filePath}:${t}${r===t?"":`-${r}`}`:e.filePath}return e.type==="quote"&&e.source?.trim()?yge(e):e.type==="quote"&&e.messageId?.trim()?`Message ${e.messageId.trim()}`:null}function xqe(e){if(e.type==="code")return`${bge(e)}
95
+ Right ${t}`)}}var nDe=class kme extends xme{static isInstance(t){if(!super.isInstance(t))return!1;let r=Object.getPrototypeOf(t);for(;r!==null;){if(r===kme.prototype)return!0;r=Object.getPrototypeOf(r)}return!1}},oDe={};mme(oDe,{ToolMessage:()=>iDe,ToolMessageChunk:()=>sDe,defaultToolCallParser:()=>lDe,isDirectToolOutput:()=>aDe,isToolMessage:()=>cDe,isToolMessageChunk:()=>uDe});function aDe(e){return e!=null&&typeof e=="object"&&"lc_direct_tool_output"in e&&e.lc_direct_tool_output===!0}var iDe=class extends xme{static lc_name(){return"ToolMessage"}get lc_aliases(){return{tool_call_id:"tool_call_id"}}lc_direct_tool_output=!0;type="tool";status;tool_call_id;metadata;artifact;constructor(e,t,r){const n=typeof e=="string"||Array.isArray(e)?{content:e,name:r,tool_call_id:t}:e;super(n),this.tool_call_id=n.tool_call_id,this.artifact=n.artifact,this.status=n.status,this.metadata=n.metadata}static isInstance(e){return super.isInstance(e)&&e.type==="tool"}get _printableFields(){return{...super._printableFields,tool_call_id:this.tool_call_id,artifact:this.artifact}}},sDe=class extends nDe{type="tool";tool_call_id;status;artifact;constructor(e){super(e),this.tool_call_id=e.tool_call_id,this.artifact=e.artifact,this.status=e.status}static lc_name(){return"ToolMessageChunk"}concat(e){const t=this.constructor;return new t({content:Jze(this.content,e.content),additional_kwargs:q4(this.additional_kwargs,e.additional_kwargs),response_metadata:q4(this.response_metadata,e.response_metadata),artifact:rDe(this.artifact,e.artifact),tool_call_id:this.tool_call_id,id:this.id??e.id,status:eDe(this.status,e.status)})}get _printableFields(){return{...super._printableFields,tool_call_id:this.tool_call_id,artifact:this.artifact}}};function lDe(e){const t=[],r=[];for(const n of e)if(n.function){const o=n.function.name;try{const a=JSON.parse(n.function.arguments);t.push({name:o||"",args:a||{},id:n.id})}catch{r.push({name:o,args:n.function.arguments,id:n.id,error:"Malformed args."})}}else continue;return[t,r]}function cDe(e){return typeof e=="object"&&e!==null&&"getType"in e&&typeof e.getType=="function"&&e.getType()==="tool"}function uDe(e){return e._getType()==="tool"}const Gee="request_user_input",vme="request_user_input_result",dDe="plan_clarification",hDe="implementation_confirmation",fDe=["approve","edit","reject","respond"];function Eu(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function Zee(e,...t){for(const r of t){const n=e[r];if(Eu(n))return n}return null}function GX(e,...t){for(const r of t){const n=e[r];if(Array.isArray(n))return n}return null}function h4(e,...t){for(const r of t){const n=e[r];if(typeof n=="string"&&n.trim())return n}return null}function pDe(e){return typeof e=="string"&&fDe.includes(e)}function mDe(e){if(!Eu(e))return null;const t=h4(e,"name"),r=Zee(e,"args","arguments");if(!t||!r)return null;const n=typeof e.description=="string"?e.description:void 0;return{name:t,args:r,...n!==void 0?{description:n}:{}}}function gDe(e){if(!Eu(e))return null;const t=h4(e,"actionName","action_name"),r=GX(e,"allowedDecisions","allowed_decisions");if(!t||!r)return null;const n=r.filter(pDe);if(n.length!==r.length)return null;const o=Zee(e,"argsSchema","args_schema");return{actionName:t,allowedDecisions:n,...o?{argsSchema:o}:{}}}function yDe(e){if(!Eu(e)||e.kind!=="mcp_elicitation")return null;const t=h4(e,"actionName"),r=Zee(e,"field");if(!t||!r)return null;const n=h4(r,"name");if(!n||r.type!=="boolean"||r.required!==!0||r.title!==void 0&&typeof r.title!="string")return null;const o=h4(r,"title");return{kind:"mcp_elicitation",actionName:t,field:{name:n,type:"boolean",required:!0,...o?{title:o}:{}}}}function bDe(e){if(!Eu(e))return null;const t=GX(e,"actionRequests","action_requests"),r=GX(e,"reviewConfigs","review_configs");if(!t||!r||t.length===0||r.length===0)return null;const n=t.map(mDe),o=r.map(gDe);if(n.some(u=>u===null)||o.some(u=>u===null))return null;const a={actionRequests:n,reviewConfigs:o},i=yDe(e.elicitation);if(!i||a.actionRequests.length!==1)return a;const s=a.actionRequests[0],l=a.reviewConfigs.find(u=>u.actionName===i.actionName);return!s||s.name!==i.actionName||!l||typeof s.args[i.field.name]!="boolean"||!l.allowedDecisions.includes("approve")||!l.allowedDecisions.includes("reject")?a:{...a,elicitation:i}}function wme(e){return Eu(e)&&Array.isArray(e.clientToolCalls)}function xDe(e){return Eu(e)&&typeof e.id=="string"&&Object.prototype.hasOwnProperty.call(e,"value")}function kDe(e){return!Eu(e)||typeof e.id!="string"||typeof e.name!="string"||!Array.isArray(e.path)||!Array.isArray(e.interrupts)?!1:e.path.every(t=>typeof t=="string"||typeof t=="number")&&e.interrupts.every(xDe)}function vDe(e){return Eu(e)&&Array.isArray(e.tasks)&&e.tasks.every(kDe)}function vo(e,t="en-US"){if(typeof e=="string")return e.trim()||null;if(!e||typeof e!="object")return null;const r=e,n=t.trim(),o=n.replace(/-/g,"_"),a=n.split(/[-_]/)[0],i=n.toLowerCase().startsWith("zh")?[n,o,"zh_Hans","zh-Hans","zh_CN","zh-CN","zh","en_US","en-US","en"]:[n,o,"en_US","en-US","en",a,"zh_Hans","zh-Hans","zh_CN","zh-CN","zh"];for(const s of i){const l=r[s];if(typeof l=="string"&&l.trim())return l.trim()}for(const s of Object.values(r))if(typeof s=="string"&&s.trim())return s.trim();return null}function wDe(e){const t=e?.trim();if(!t)return;const r=t.toLowerCase();return r==="zh-hant"||r==="zh-tw"||r==="zh-hk"?"zh-Hant":r==="zh"||r==="zh-cn"||r==="zh-hans"?"zh-Hans":r==="en"||r==="en-us"?"en":t}const CDe=["idle","running-right","running-left","waving","jumping","failed","waiting","running","review"],uu={columns:8,rows:9,cellWidth:192,cellHeight:208,animations:{idle:{row:0,frames:6,frameDurations:[280,110,110,140,140,320]},"running-right":{row:1,frames:8,frameDurations:[120,120,120,120,120,120,120,220]},"running-left":{row:2,frames:8,frameDurations:[120,120,120,120,120,120,120,220]},waving:{row:3,frames:4,frameDurations:[140,140,140,280]},jumping:{row:4,frames:5,frameDurations:[140,140,140,140,280]},failed:{row:5,frames:8,frameDurations:[140,140,140,140,140,140,140,240]},waiting:{row:6,frames:6,frameDurations:[150,150,150,150,150,260]},running:{row:7,frames:6,frameDurations:[120,120,120,120,120,220]},review:{row:8,frames:6,frameDurations:[150,150,150,150,150,280]}}},SDe="/pets/boba/spritesheet.webp",ZX={type:"sprite-atlas",src:SDe},Qse={pin:"bottom-right",draggable:!0,scale:.25,persist:!0,zIndex:40};function MDe(e,t){return{row:t?.row??e.row,frames:t?.frames??e.frames,frameDurations:t?.frameDurations&&t.frameDurations.length>0?t.frameDurations:e.frameDurations}}function _De(e){const t={};for(const r of CDe)t[r]=MDe(uu.animations[r],e?.animations?.[r]);return{columns:e?.columns??uu.columns,rows:e?.rows??uu.rows,cellWidth:e?.cellWidth??uu.cellWidth,cellHeight:e?.cellHeight??uu.cellHeight,animations:t}}function TDe(e){return e&&e.src?e:ZX}function gV(e){return e?e===!0?{character:ZX,position:Qse,behavior:"auto",ariaLabel:"Animated pet",imageRendering:"auto"}:e.enabled===!1?null:{character:TDe(e.character),position:{...Qse,...e.position},behavior:e.behavior??"auto",ariaLabel:e.ariaLabel??"Animated pet",imageRendering:e.imageRendering??"auto"}:null}function ADe(e){return e.src?{kind:"atlas",src:e.src,atlas:_De(e.atlas)}:null}const LDe="task_summary.open_resource",EDe="xpert.tool-output",IDe=1,RDe=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},zDe=(e,t)=>({classGroupId:e,validator:t}),Cme=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),TH="-",Jse=[],DDe="arbitrary..",ODe=e=>{const t=NDe(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return BDe(i);const s=i.split(TH),l=s[0]===""&&s.length>1?1:0;return Sme(s,l,t)},getConflictingClassGroupIds:(i,s)=>{if(s){const l=n[i],u=r[i];return l?u?RDe(u,l):l:u||Jse}return r[i]||Jse}}},Sme=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const o=e[t],a=r.nextPart.get(o);if(a){const u=Sme(e,t+1,a);if(u)return u}const i=r.validators;if(i===null)return;const s=t===0?e.join(TH):e.slice(t).join(TH),l=i.length;for(let u=0;u<l;u++){const d=i[u];if(d.validator(s))return d.classGroupId}},BDe=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?DDe+n:void 0})(),NDe=e=>{const{theme:t,classGroups:r}=e;return jDe(r,t)},jDe=(e,t)=>{const r=Cme();for(const n in e){const o=e[n];Kee(o,r,n,t)}return r},Kee=(e,t,r,n)=>{const o=e.length;for(let a=0;a<o;a++){const i=e[a];PDe(i,t,r,n)}},PDe=(e,t,r,n)=>{if(typeof e=="string"){FDe(e,t,r);return}if(typeof e=="function"){qDe(e,t,r,n);return}HDe(e,t,r,n)},FDe=(e,t,r)=>{const n=e===""?t:Mme(t,e);n.classGroupId=r},qDe=(e,t,r,n)=>{if($De(e)){Kee(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(zDe(r,e))},HDe=(e,t,r,n)=>{const o=Object.entries(e),a=o.length;for(let i=0;i<a;i++){const[s,l]=o[i];Kee(l,Mme(t,s),r,n)}},Mme=(e,t)=>{let r=e;const n=t.split(TH),o=n.length;for(let a=0;a<o;a++){const i=n[a];let s=r.nextPart.get(i);s||(s=Cme(),r.nextPart.set(i,s)),r=s}return r},$De=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,VDe=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const o=(a,i)=>{r[a]=i,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(a){let i=r[a];if(i!==void 0)return i;if((i=n[a])!==void 0)return o(a,i),i},set(a,i){a in r?r[a]=i:o(a,i)}}},KX="!",ele=":",UDe=[],tle=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),WDe=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=o=>{const a=[];let i=0,s=0,l=0,u;const d=o.length;for(let v=0;v<d;v++){const C=o[v];if(i===0&&s===0){if(C===ele){a.push(o.slice(l,v)),l=v+1;continue}if(C==="/"){u=v;continue}}C==="["?i++:C==="]"?i--:C==="("?s++:C===")"&&s--}const f=a.length===0?o:o.slice(l);let p=f,g=!1;f.endsWith(KX)?(p=f.slice(0,-1),g=!0):f.startsWith(KX)&&(p=f.slice(1),g=!0);const b=u&&u>l?u-l:void 0;return tle(a,g,p,b)};if(t){const o=t+ele,a=n;n=i=>i.startsWith(o)?a(i.slice(o.length)):tle(UDe,!1,i,void 0,!0)}if(r){const o=n;n=a=>r({className:a,parseClassName:o})}return n},GDe=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let o=[];for(let a=0;a<r.length;a++){const i=r[a],s=i[0]==="[",l=t.has(i);s||l?(o.length>0&&(o.sort(),n.push(...o),o=[]),n.push(i)):o.push(i)}return o.length>0&&(o.sort(),n.push(...o)),n}},ZDe=e=>({cache:VDe(e.cacheSize),parseClassName:WDe(e),sortModifiers:GDe(e),...ODe(e)}),KDe=/\s+/,YDe=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:a}=t,i=[],s=e.trim().split(KDe);let l="";for(let u=s.length-1;u>=0;u-=1){const d=s[u],{isExternal:f,modifiers:p,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:v}=r(d);if(f){l=d+(l.length>0?" "+l:l);continue}let C=!!v,S=n(C?b.substring(0,v):b);if(!S){if(!C){l=d+(l.length>0?" "+l:l);continue}if(S=n(b),!S){l=d+(l.length>0?" "+l:l);continue}C=!1}const M=p.length===0?"":p.length===1?p[0]:a(p).join(":"),T=g?M+KX:M,A=T+S;if(i.indexOf(A)>-1)continue;i.push(A);const R=o(S,C);for(let I=0;I<R.length;++I){const L=R[I];i.push(T+L)}l=d+(l.length>0?" "+l:l)}return l},XDe=(...e)=>{let t=0,r,n,o="";for(;t<e.length;)(r=e[t++])&&(n=_me(r))&&(o&&(o+=" "),o+=n);return o},_me=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=_me(e[n]))&&(r&&(r+=" "),r+=t);return r},QDe=(e,...t)=>{let r,n,o,a;const i=l=>{const u=t.reduce((d,f)=>f(d),e());return r=ZDe(u),n=r.cache.get,o=r.cache.set,a=s,s(l)},s=l=>{const u=n(l);if(u)return u;const d=YDe(l,r);return o(l,d),d};return a=i,(...l)=>a(XDe(...l))},JDe=[],Go=e=>{const t=r=>r[e]||JDe;return t.isThemeGetter=!0,t},Tme=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ame=/^\((?:(\w[\w-]*):)?(.+)\)$/i,eOe=/^\d+\/\d+$/,tOe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,rOe=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,nOe=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,oOe=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,aOe=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,K2=e=>eOe.test(e),fr=e=>!!e&&!Number.isNaN(Number(e)),bd=e=>!!e&&Number.isInteger(Number(e)),kZ=e=>e.endsWith("%")&&fr(e.slice(0,-1)),Xc=e=>tOe.test(e),iOe=()=>!0,sOe=e=>rOe.test(e)&&!nOe.test(e),Lme=()=>!1,lOe=e=>oOe.test(e),cOe=e=>aOe.test(e),uOe=e=>!bt(e)&&!xt(e),dOe=e=>Ug(e,Rme,Lme),bt=e=>Tme.test(e),Ih=e=>Ug(e,zme,sOe),vZ=e=>Ug(e,gOe,fr),rle=e=>Ug(e,Eme,Lme),hOe=e=>Ug(e,Ime,cOe),j3=e=>Ug(e,Dme,lOe),xt=e=>Ame.test(e),fb=e=>Wg(e,zme),fOe=e=>Wg(e,yOe),nle=e=>Wg(e,Eme),pOe=e=>Wg(e,Rme),mOe=e=>Wg(e,Ime),P3=e=>Wg(e,Dme,!0),Ug=(e,t,r)=>{const n=Tme.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},Wg=(e,t,r=!1)=>{const n=Ame.exec(e);return n?n[1]?t(n[1]):r:!1},Eme=e=>e==="position"||e==="percentage",Ime=e=>e==="image"||e==="url",Rme=e=>e==="length"||e==="size"||e==="bg-size",zme=e=>e==="length",gOe=e=>e==="number",yOe=e=>e==="family-name",Dme=e=>e==="shadow",bOe=()=>{const e=Go("color"),t=Go("font"),r=Go("text"),n=Go("font-weight"),o=Go("tracking"),a=Go("leading"),i=Go("breakpoint"),s=Go("container"),l=Go("spacing"),u=Go("radius"),d=Go("shadow"),f=Go("inset-shadow"),p=Go("text-shadow"),g=Go("drop-shadow"),b=Go("blur"),v=Go("perspective"),C=Go("aspect"),S=Go("ease"),M=Go("animate"),T=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],R=()=>[...A(),xt,bt],I=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto","contain","none"],N=()=>[xt,bt,l],V=()=>[K2,"full","auto",...N()],P=()=>[bd,"none","subgrid",xt,bt],G=()=>["auto",{span:["full",bd,xt,bt]},bd,xt,bt],Q=()=>[bd,"auto",xt,bt],re=()=>["auto","min","max","fr",xt,bt],K=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Z=()=>["start","end","center","stretch","center-safe","end-safe"],z=()=>["auto",...N()],O=()=>[K2,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...N()],D=()=>[e,xt,bt],$=()=>[...A(),nle,rle,{position:[xt,bt]}],q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],U=()=>["auto","cover","contain",pOe,dOe,{size:[xt,bt]}],oe=()=>[kZ,fb,Ih],W=()=>["","none","full",u,xt,bt],he=()=>["",fr,fb,Ih],we=()=>["solid","dashed","dotted","double"],ve=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],fe=()=>[fr,kZ,nle,rle],Le=()=>["","none",b,xt,bt],Oe=()=>["none",fr,xt,bt],Te=()=>["none",fr,xt,bt],rt=()=>[fr,xt,bt],dt=()=>[K2,"full",...N()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Xc],breakpoint:[Xc],color:[iOe],container:[Xc],"drop-shadow":[Xc],ease:["in","out","in-out"],font:[uOe],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Xc],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Xc],shadow:[Xc],spacing:["px",fr],text:[Xc],"text-shadow":[Xc],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",K2,bt,xt,C]}],container:["container"],columns:[{columns:[fr,bt,xt,s]}],"break-after":[{"break-after":T()}],"break-before":[{"break-before":T()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:R()}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:L()}],"overscroll-x":[{"overscroll-x":L()}],"overscroll-y":[{"overscroll-y":L()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:V()}],"inset-x":[{"inset-x":V()}],"inset-y":[{"inset-y":V()}],start:[{start:V()}],end:[{end:V()}],top:[{top:V()}],right:[{right:V()}],bottom:[{bottom:V()}],left:[{left:V()}],visibility:["visible","invisible","collapse"],z:[{z:[bd,"auto",xt,bt]}],basis:[{basis:[K2,"full","auto",s,...N()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[fr,K2,"auto","initial","none",bt]}],grow:[{grow:["",fr,xt,bt]}],shrink:[{shrink:["",fr,xt,bt]}],order:[{order:[bd,"first","last","none",xt,bt]}],"grid-cols":[{"grid-cols":P()}],"col-start-end":[{col:G()}],"col-start":[{"col-start":Q()}],"col-end":[{"col-end":Q()}],"grid-rows":[{"grid-rows":P()}],"row-start-end":[{row:G()}],"row-start":[{"row-start":Q()}],"row-end":[{"row-end":Q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":re()}],"auto-rows":[{"auto-rows":re()}],gap:[{gap:N()}],"gap-x":[{"gap-x":N()}],"gap-y":[{"gap-y":N()}],"justify-content":[{justify:[...K(),"normal"]}],"justify-items":[{"justify-items":[...Z(),"normal"]}],"justify-self":[{"justify-self":["auto",...Z()]}],"align-content":[{content:["normal",...K()]}],"align-items":[{items:[...Z(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Z(),{baseline:["","last"]}]}],"place-content":[{"place-content":K()}],"place-items":[{"place-items":[...Z(),"baseline"]}],"place-self":[{"place-self":["auto",...Z()]}],p:[{p:N()}],px:[{px:N()}],py:[{py:N()}],ps:[{ps:N()}],pe:[{pe:N()}],pt:[{pt:N()}],pr:[{pr:N()}],pb:[{pb:N()}],pl:[{pl:N()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":N()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":N()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],w:[{w:[s,"screen",...O()]}],"min-w":[{"min-w":[s,"screen","none",...O()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",r,fb,Ih]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,xt,vZ]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",kZ,bt]}],"font-family":[{font:[fOe,bt,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,xt,bt]}],"line-clamp":[{"line-clamp":[fr,"none",xt,vZ]}],leading:[{leading:[a,...N()]}],"list-image":[{"list-image":["none",xt,bt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",xt,bt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:D()}],"text-color":[{text:D()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...we(),"wavy"]}],"text-decoration-thickness":[{decoration:[fr,"from-font","auto",xt,Ih]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[fr,"auto",xt,bt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:N()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",xt,bt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",xt,bt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:$()}],"bg-repeat":[{bg:q()}],"bg-size":[{bg:U()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},bd,xt,bt],radial:["",xt,bt],conic:[bd,xt,bt]},mOe,hOe]}],"bg-color":[{bg:D()}],"gradient-from-pos":[{from:oe()}],"gradient-via-pos":[{via:oe()}],"gradient-to-pos":[{to:oe()}],"gradient-from":[{from:D()}],"gradient-via":[{via:D()}],"gradient-to":[{to:D()}],rounded:[{rounded:W()}],"rounded-s":[{"rounded-s":W()}],"rounded-e":[{"rounded-e":W()}],"rounded-t":[{"rounded-t":W()}],"rounded-r":[{"rounded-r":W()}],"rounded-b":[{"rounded-b":W()}],"rounded-l":[{"rounded-l":W()}],"rounded-ss":[{"rounded-ss":W()}],"rounded-se":[{"rounded-se":W()}],"rounded-ee":[{"rounded-ee":W()}],"rounded-es":[{"rounded-es":W()}],"rounded-tl":[{"rounded-tl":W()}],"rounded-tr":[{"rounded-tr":W()}],"rounded-br":[{"rounded-br":W()}],"rounded-bl":[{"rounded-bl":W()}],"border-w":[{border:he()}],"border-w-x":[{"border-x":he()}],"border-w-y":[{"border-y":he()}],"border-w-s":[{"border-s":he()}],"border-w-e":[{"border-e":he()}],"border-w-t":[{"border-t":he()}],"border-w-r":[{"border-r":he()}],"border-w-b":[{"border-b":he()}],"border-w-l":[{"border-l":he()}],"divide-x":[{"divide-x":he()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":he()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...we(),"hidden","none"]}],"divide-style":[{divide:[...we(),"hidden","none"]}],"border-color":[{border:D()}],"border-color-x":[{"border-x":D()}],"border-color-y":[{"border-y":D()}],"border-color-s":[{"border-s":D()}],"border-color-e":[{"border-e":D()}],"border-color-t":[{"border-t":D()}],"border-color-r":[{"border-r":D()}],"border-color-b":[{"border-b":D()}],"border-color-l":[{"border-l":D()}],"divide-color":[{divide:D()}],"outline-style":[{outline:[...we(),"none","hidden"]}],"outline-offset":[{"outline-offset":[fr,xt,bt]}],"outline-w":[{outline:["",fr,fb,Ih]}],"outline-color":[{outline:D()}],shadow:[{shadow:["","none",d,P3,j3]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":["none",f,P3,j3]}],"inset-shadow-color":[{"inset-shadow":D()}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:D()}],"ring-offset-w":[{"ring-offset":[fr,Ih]}],"ring-offset-color":[{"ring-offset":D()}],"inset-ring-w":[{"inset-ring":he()}],"inset-ring-color":[{"inset-ring":D()}],"text-shadow":[{"text-shadow":["none",p,P3,j3]}],"text-shadow-color":[{"text-shadow":D()}],opacity:[{opacity:[fr,xt,bt]}],"mix-blend":[{"mix-blend":[...ve(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ve()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[fr]}],"mask-image-linear-from-pos":[{"mask-linear-from":fe()}],"mask-image-linear-to-pos":[{"mask-linear-to":fe()}],"mask-image-linear-from-color":[{"mask-linear-from":D()}],"mask-image-linear-to-color":[{"mask-linear-to":D()}],"mask-image-t-from-pos":[{"mask-t-from":fe()}],"mask-image-t-to-pos":[{"mask-t-to":fe()}],"mask-image-t-from-color":[{"mask-t-from":D()}],"mask-image-t-to-color":[{"mask-t-to":D()}],"mask-image-r-from-pos":[{"mask-r-from":fe()}],"mask-image-r-to-pos":[{"mask-r-to":fe()}],"mask-image-r-from-color":[{"mask-r-from":D()}],"mask-image-r-to-color":[{"mask-r-to":D()}],"mask-image-b-from-pos":[{"mask-b-from":fe()}],"mask-image-b-to-pos":[{"mask-b-to":fe()}],"mask-image-b-from-color":[{"mask-b-from":D()}],"mask-image-b-to-color":[{"mask-b-to":D()}],"mask-image-l-from-pos":[{"mask-l-from":fe()}],"mask-image-l-to-pos":[{"mask-l-to":fe()}],"mask-image-l-from-color":[{"mask-l-from":D()}],"mask-image-l-to-color":[{"mask-l-to":D()}],"mask-image-x-from-pos":[{"mask-x-from":fe()}],"mask-image-x-to-pos":[{"mask-x-to":fe()}],"mask-image-x-from-color":[{"mask-x-from":D()}],"mask-image-x-to-color":[{"mask-x-to":D()}],"mask-image-y-from-pos":[{"mask-y-from":fe()}],"mask-image-y-to-pos":[{"mask-y-to":fe()}],"mask-image-y-from-color":[{"mask-y-from":D()}],"mask-image-y-to-color":[{"mask-y-to":D()}],"mask-image-radial":[{"mask-radial":[xt,bt]}],"mask-image-radial-from-pos":[{"mask-radial-from":fe()}],"mask-image-radial-to-pos":[{"mask-radial-to":fe()}],"mask-image-radial-from-color":[{"mask-radial-from":D()}],"mask-image-radial-to-color":[{"mask-radial-to":D()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":A()}],"mask-image-conic-pos":[{"mask-conic":[fr]}],"mask-image-conic-from-pos":[{"mask-conic-from":fe()}],"mask-image-conic-to-pos":[{"mask-conic-to":fe()}],"mask-image-conic-from-color":[{"mask-conic-from":D()}],"mask-image-conic-to-color":[{"mask-conic-to":D()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:$()}],"mask-repeat":[{mask:q()}],"mask-size":[{mask:U()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",xt,bt]}],filter:[{filter:["","none",xt,bt]}],blur:[{blur:Le()}],brightness:[{brightness:[fr,xt,bt]}],contrast:[{contrast:[fr,xt,bt]}],"drop-shadow":[{"drop-shadow":["","none",g,P3,j3]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:["",fr,xt,bt]}],"hue-rotate":[{"hue-rotate":[fr,xt,bt]}],invert:[{invert:["",fr,xt,bt]}],saturate:[{saturate:[fr,xt,bt]}],sepia:[{sepia:["",fr,xt,bt]}],"backdrop-filter":[{"backdrop-filter":["","none",xt,bt]}],"backdrop-blur":[{"backdrop-blur":Le()}],"backdrop-brightness":[{"backdrop-brightness":[fr,xt,bt]}],"backdrop-contrast":[{"backdrop-contrast":[fr,xt,bt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",fr,xt,bt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[fr,xt,bt]}],"backdrop-invert":[{"backdrop-invert":["",fr,xt,bt]}],"backdrop-opacity":[{"backdrop-opacity":[fr,xt,bt]}],"backdrop-saturate":[{"backdrop-saturate":[fr,xt,bt]}],"backdrop-sepia":[{"backdrop-sepia":["",fr,xt,bt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":N()}],"border-spacing-x":[{"border-spacing-x":N()}],"border-spacing-y":[{"border-spacing-y":N()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",xt,bt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[fr,"initial",xt,bt]}],ease:[{ease:["linear","initial",S,xt,bt]}],delay:[{delay:[fr,xt,bt]}],animate:[{animate:["none",M,xt,bt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,xt,bt]}],"perspective-origin":[{"perspective-origin":R()}],rotate:[{rotate:Oe()}],"rotate-x":[{"rotate-x":Oe()}],"rotate-y":[{"rotate-y":Oe()}],"rotate-z":[{"rotate-z":Oe()}],scale:[{scale:Te()}],"scale-x":[{"scale-x":Te()}],"scale-y":[{"scale-y":Te()}],"scale-z":[{"scale-z":Te()}],"scale-3d":["scale-3d"],skew:[{skew:rt()}],"skew-x":[{"skew-x":rt()}],"skew-y":[{"skew-y":rt()}],transform:[{transform:[xt,bt,"","none","gpu","cpu"]}],"transform-origin":[{origin:R()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:dt()}],"translate-x":[{"translate-x":dt()}],"translate-y":[{"translate-y":dt()}],"translate-z":[{"translate-z":dt()}],"translate-none":["translate-none"],accent:[{accent:D()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:D()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",xt,bt]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":N()}],"scroll-mx":[{"scroll-mx":N()}],"scroll-my":[{"scroll-my":N()}],"scroll-ms":[{"scroll-ms":N()}],"scroll-me":[{"scroll-me":N()}],"scroll-mt":[{"scroll-mt":N()}],"scroll-mr":[{"scroll-mr":N()}],"scroll-mb":[{"scroll-mb":N()}],"scroll-ml":[{"scroll-ml":N()}],"scroll-p":[{"scroll-p":N()}],"scroll-px":[{"scroll-px":N()}],"scroll-py":[{"scroll-py":N()}],"scroll-ps":[{"scroll-ps":N()}],"scroll-pe":[{"scroll-pe":N()}],"scroll-pt":[{"scroll-pt":N()}],"scroll-pr":[{"scroll-pr":N()}],"scroll-pb":[{"scroll-pb":N()}],"scroll-pl":[{"scroll-pl":N()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",xt,bt]}],fill:[{fill:["none",...D()]}],"stroke-w":[{stroke:[fr,fb,Ih,vZ]}],stroke:[{stroke:["none",...D()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},xOe=QDe(bOe);function ie(...e){return xOe(Ree(e))}const kOe={pill:"rounded-full",round:"rounded-xl",soft:"rounded-lg",sharp:"rounded-none"},vOe={pill:"rounded-3xl",round:"rounded-xl",soft:"rounded-lg",sharp:"rounded-none"},wOe={pill:"rounded-xl",round:"rounded-lg",soft:"rounded-md",sharp:"rounded-none"};function ac(e,t="rounded-full"){return e?kOe[e]:t}function Yee(e,t="soft"){return vOe[e??t]}function Xee(e,t="soft"){return wOe[e??t]}function Bo(){return globalThis.crypto?.randomUUID?.()??`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}var Ome=typeof global=="object"&&global&&global.Object===Object&&global,COe=typeof self=="object"&&self&&self.Object===Object&&self,gc=Ome||COe||Function("return this")(),Zd=gc.Symbol,Bme=Object.prototype,SOe=Bme.hasOwnProperty,MOe=Bme.toString,pb=Zd?Zd.toStringTag:void 0;function _Oe(e){var t=SOe.call(e,pb),r=e[pb];try{e[pb]=void 0;var n=!0}catch{}var o=MOe.call(e);return n&&(t?e[pb]=r:delete e[pb]),o}var TOe=Object.prototype,AOe=TOe.toString;function LOe(e){return AOe.call(e)}var EOe="[object Null]",IOe="[object Undefined]",ole=Zd?Zd.toStringTag:void 0;function Wp(e){return e==null?e===void 0?IOe:EOe:ole&&ole in Object(e)?_Oe(e):LOe(e)}function Kd(e){return e!=null&&typeof e=="object"}var ROe="[object Symbol]";function Qee(e){return typeof e=="symbol"||Kd(e)&&Wp(e)==ROe}function Nme(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}var Es=Array.isArray,ale=Zd?Zd.prototype:void 0,ile=ale?ale.toString:void 0;function jme(e){if(typeof e=="string")return e;if(Es(e))return Nme(e,jme)+"";if(Qee(e))return ile?ile.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function ic(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function Jee(e){return e}var zOe="[object AsyncFunction]",DOe="[object Function]",OOe="[object GeneratorFunction]",BOe="[object Proxy]";function ete(e){if(!ic(e))return!1;var t=Wp(e);return t==DOe||t==OOe||t==zOe||t==BOe}var wZ=gc["__core-js_shared__"],sle=(function(){var e=/[^.]+$/.exec(wZ&&wZ.keys&&wZ.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function NOe(e){return!!sle&&sle in e}var jOe=Function.prototype,POe=jOe.toString;function Gp(e){if(e!=null){try{return POe.call(e)}catch{}try{return e+""}catch{}}return""}var FOe=/[\\^$.*+?()[\]{}|]/g,qOe=/^\[object .+?Constructor\]$/,HOe=Function.prototype,$Oe=Object.prototype,VOe=HOe.toString,UOe=$Oe.hasOwnProperty,WOe=RegExp("^"+VOe.call(UOe).replace(FOe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function GOe(e){if(!ic(e)||NOe(e))return!1;var t=ete(e)?WOe:qOe;return t.test(Gp(e))}function ZOe(e,t){return e?.[t]}function Zp(e,t){var r=ZOe(e,t);return GOe(r)?r:void 0}var YX=Zp(gc,"WeakMap"),lle=Object.create,KOe=(function(){function e(){}return function(t){if(!ic(t))return{};if(lle)return lle(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})();function YOe(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function XOe(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var QOe=800,JOe=16,eBe=Date.now;function tBe(e){var t=0,r=0;return function(){var n=eBe(),o=JOe-(n-r);if(r=n,o>0){if(++t>=QOe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function rBe(e){return function(){return e}}var AH=(function(){try{var e=Zp(Object,"defineProperty");return e({},"",{}),e}catch{}})(),nBe=AH?function(e,t){return AH(e,"toString",{configurable:!0,enumerable:!1,value:rBe(t),writable:!0})}:Jee,oBe=tBe(nBe),aBe=9007199254740991,iBe=/^(?:0|[1-9]\d*)$/;function yV(e,t){var r=typeof e;return t=t??aBe,!!t&&(r=="number"||r!="symbol"&&iBe.test(e))&&e>-1&&e%1==0&&e<t}function tte(e,t,r){t=="__proto__"&&AH?AH(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function zx(e,t){return e===t||e!==e&&t!==t}var sBe=Object.prototype,lBe=sBe.hasOwnProperty;function Pme(e,t,r){var n=e[t];(!(lBe.call(e,t)&&zx(n,r))||r===void 0&&!(t in e))&&tte(e,t,r)}function cBe(e,t,r,n){var o=!r;r||(r={});for(var a=-1,i=t.length;++a<i;){var s=t[a],l=void 0;l===void 0&&(l=e[s]),o?tte(r,s,l):Pme(r,s,l)}return r}var cle=Math.max;function uBe(e,t,r){return t=cle(t===void 0?e.length-1:t,0),function(){for(var n=arguments,o=-1,a=cle(n.length-t,0),i=Array(a);++o<a;)i[o]=n[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=n[o];return s[t]=r(i),YOe(e,this,s)}}function dBe(e,t){return oBe(uBe(e,t,Jee),e+"")}var hBe=9007199254740991;function rte(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=hBe}function Dx(e){return e!=null&&rte(e.length)&&!ete(e)}function fBe(e,t,r){if(!ic(r))return!1;var n=typeof t;return(n=="number"?Dx(r)&&yV(t,r.length):n=="string"&&t in r)?zx(r[t],e):!1}function pBe(e){return dBe(function(t,r){var n=-1,o=r.length,a=o>1?r[o-1]:void 0,i=o>2?r[2]:void 0;for(a=e.length>3&&typeof a=="function"?(o--,a):void 0,i&&fBe(r[0],r[1],i)&&(a=o<3?void 0:a,o=1),t=Object(t);++n<o;){var s=r[n];s&&e(t,s,n,a)}return t})}var mBe=Object.prototype;function bV(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||mBe;return e===r}function gBe(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var yBe="[object Arguments]";function ule(e){return Kd(e)&&Wp(e)==yBe}var Fme=Object.prototype,bBe=Fme.hasOwnProperty,xBe=Fme.propertyIsEnumerable,H4=ule((function(){return arguments})())?ule:function(e){return Kd(e)&&bBe.call(e,"callee")&&!xBe.call(e,"callee")};function kBe(){return!1}var qme=typeof exports=="object"&&exports&&!exports.nodeType&&exports,dle=qme&&typeof module=="object"&&module&&!module.nodeType&&module,vBe=dle&&dle.exports===qme,hle=vBe?gc.Buffer:void 0,wBe=hle?hle.isBuffer:void 0,$4=wBe||kBe,CBe="[object Arguments]",SBe="[object Array]",MBe="[object Boolean]",_Be="[object Date]",TBe="[object Error]",ABe="[object Function]",LBe="[object Map]",EBe="[object Number]",IBe="[object Object]",RBe="[object RegExp]",zBe="[object Set]",DBe="[object String]",OBe="[object WeakMap]",BBe="[object ArrayBuffer]",NBe="[object DataView]",jBe="[object Float32Array]",PBe="[object Float64Array]",FBe="[object Int8Array]",qBe="[object Int16Array]",HBe="[object Int32Array]",$Be="[object Uint8Array]",VBe="[object Uint8ClampedArray]",UBe="[object Uint16Array]",WBe="[object Uint32Array]",zn={};zn[jBe]=zn[PBe]=zn[FBe]=zn[qBe]=zn[HBe]=zn[$Be]=zn[VBe]=zn[UBe]=zn[WBe]=!0;zn[CBe]=zn[SBe]=zn[BBe]=zn[MBe]=zn[NBe]=zn[_Be]=zn[TBe]=zn[ABe]=zn[LBe]=zn[EBe]=zn[IBe]=zn[RBe]=zn[zBe]=zn[DBe]=zn[OBe]=!1;function GBe(e){return Kd(e)&&rte(e.length)&&!!zn[Wp(e)]}function ZBe(e){return function(t){return e(t)}}var Hme=typeof exports=="object"&&exports&&!exports.nodeType&&exports,f4=Hme&&typeof module=="object"&&module&&!module.nodeType&&module,KBe=f4&&f4.exports===Hme,CZ=KBe&&Ome.process,fle=(function(){try{var e=f4&&f4.require&&f4.require("util").types;return e||CZ&&CZ.binding&&CZ.binding("util")}catch{}})(),ple=fle&&fle.isTypedArray,xV=ple?ZBe(ple):GBe,YBe=Object.prototype,XBe=YBe.hasOwnProperty;function $me(e,t){var r=Es(e),n=!r&&H4(e),o=!r&&!n&&$4(e),a=!r&&!n&&!o&&xV(e),i=r||n||o||a,s=i?gBe(e.length,String):[],l=s.length;for(var u in e)(t||XBe.call(e,u))&&!(i&&(u=="length"||o&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||yV(u,l)))&&s.push(u);return s}function Vme(e,t){return function(r){return e(t(r))}}var QBe=Vme(Object.keys,Object),JBe=Object.prototype,eNe=JBe.hasOwnProperty;function Ume(e){if(!bV(e))return QBe(e);var t=[];for(var r in Object(e))eNe.call(e,r)&&r!="constructor"&&t.push(r);return t}function Wme(e){return Dx(e)?$me(e):Ume(e)}function tNe(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var rNe=Object.prototype,nNe=rNe.hasOwnProperty;function oNe(e){if(!ic(e))return tNe(e);var t=bV(e),r=[];for(var n in e)n=="constructor"&&(t||!nNe.call(e,n))||r.push(n);return r}function nte(e){return Dx(e)?$me(e,!0):oNe(e)}var aNe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,iNe=/^\w*$/;function ote(e,t){if(Es(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Qee(e)?!0:iNe.test(e)||!aNe.test(e)||t!=null&&e in Object(t)}var V4=Zp(Object,"create");function sNe(){this.__data__=V4?V4(null):{},this.size=0}function lNe(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var cNe="__lodash_hash_undefined__",uNe=Object.prototype,dNe=uNe.hasOwnProperty;function hNe(e){var t=this.__data__;if(V4){var r=t[e];return r===cNe?void 0:r}return dNe.call(t,e)?t[e]:void 0}var fNe=Object.prototype,pNe=fNe.hasOwnProperty;function mNe(e){var t=this.__data__;return V4?t[e]!==void 0:pNe.call(t,e)}var gNe="__lodash_hash_undefined__";function yNe(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=V4&&t===void 0?gNe:t,this}function Tp(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Tp.prototype.clear=sNe;Tp.prototype.delete=lNe;Tp.prototype.get=hNe;Tp.prototype.has=mNe;Tp.prototype.set=yNe;function bNe(){this.__data__=[],this.size=0}function kV(e,t){for(var r=e.length;r--;)if(zx(e[r][0],t))return r;return-1}var xNe=Array.prototype,kNe=xNe.splice;function vNe(e){var t=this.__data__,r=kV(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():kNe.call(t,r,1),--this.size,!0}function wNe(e){var t=this.__data__,r=kV(t,e);return r<0?void 0:t[r][1]}function CNe(e){return kV(this.__data__,e)>-1}function SNe(e,t){var r=this.__data__,n=kV(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Iu(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Iu.prototype.clear=bNe;Iu.prototype.delete=vNe;Iu.prototype.get=wNe;Iu.prototype.has=CNe;Iu.prototype.set=SNe;var U4=Zp(gc,"Map");function MNe(){this.size=0,this.__data__={hash:new Tp,map:new(U4||Iu),string:new Tp}}function _Ne(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function vV(e,t){var r=e.__data__;return _Ne(t)?r[typeof t=="string"?"string":"hash"]:r.map}function TNe(e){var t=vV(this,e).delete(e);return this.size-=t?1:0,t}function ANe(e){return vV(this,e).get(e)}function LNe(e){return vV(this,e).has(e)}function ENe(e,t){var r=vV(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function Ru(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ru.prototype.clear=MNe;Ru.prototype.delete=TNe;Ru.prototype.get=ANe;Ru.prototype.has=LNe;Ru.prototype.set=ENe;var INe="Expected a function";function Gg(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(INe);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(Gg.Cache||Ru),r}Gg.Cache=Ru;var RNe=500;function zNe(e){var t=Gg(e,function(n){return r.size===RNe&&r.clear(),n}),r=t.cache;return t}var DNe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ONe=/\\(\\)?/g,BNe=zNe(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(DNe,function(r,n,o,a){t.push(o?a.replace(ONe,"$1"):n||r)}),t});function NNe(e){return e==null?"":jme(e)}function wV(e,t){return Es(e)?e:ote(e,t)?[e]:BNe(NNe(e))}function Ox(e){if(typeof e=="string"||Qee(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function ate(e,t){t=wV(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[Ox(t[r++])];return r&&r==n?e:void 0}function jNe(e,t,r){var n=e==null?void 0:ate(e,t);return n===void 0?r:n}function Gme(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}var ite=Vme(Object.getPrototypeOf,Object),PNe="[object Object]",FNe=Function.prototype,qNe=Object.prototype,Zme=FNe.toString,HNe=qNe.hasOwnProperty,$Ne=Zme.call(Object);function VNe(e){if(!Kd(e)||Wp(e)!=PNe)return!1;var t=ite(e);if(t===null)return!0;var r=HNe.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Zme.call(r)==$Ne}function UNe(){this.__data__=new Iu,this.size=0}function WNe(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function GNe(e){return this.__data__.get(e)}function ZNe(e){return this.__data__.has(e)}var KNe=200;function YNe(e,t){var r=this.__data__;if(r instanceof Iu){var n=r.__data__;if(!U4||n.length<KNe-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Ru(n)}return r.set(e,t),this.size=r.size,this}function tc(e){var t=this.__data__=new Iu(e);this.size=t.size}tc.prototype.clear=UNe;tc.prototype.delete=WNe;tc.prototype.get=GNe;tc.prototype.has=ZNe;tc.prototype.set=YNe;var Kme=typeof exports=="object"&&exports&&!exports.nodeType&&exports,mle=Kme&&typeof module=="object"&&module&&!module.nodeType&&module,XNe=mle&&mle.exports===Kme,gle=XNe?gc.Buffer:void 0,yle=gle?gle.allocUnsafe:void 0;function QNe(e,t){if(t)return e.slice();var r=e.length,n=yle?yle(r):new e.constructor(r);return e.copy(n),n}function JNe(e,t){for(var r=-1,n=e==null?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a}function Yme(){return[]}var eje=Object.prototype,tje=eje.propertyIsEnumerable,ble=Object.getOwnPropertySymbols,Xme=ble?function(e){return e==null?[]:(e=Object(e),JNe(ble(e),function(t){return tje.call(e,t)}))}:Yme,rje=Object.getOwnPropertySymbols,nje=rje?function(e){for(var t=[];e;)Gme(t,Xme(e)),e=ite(e);return t}:Yme;function Qme(e,t,r){var n=t(e);return Es(e)?n:Gme(n,r(e))}function xle(e){return Qme(e,Wme,Xme)}function oje(e){return Qme(e,nte,nje)}var XX=Zp(gc,"DataView"),QX=Zp(gc,"Promise"),JX=Zp(gc,"Set"),kle="[object Map]",aje="[object Object]",vle="[object Promise]",wle="[object Set]",Cle="[object WeakMap]",Sle="[object DataView]",ije=Gp(XX),sje=Gp(U4),lje=Gp(QX),cje=Gp(JX),uje=Gp(YX),au=Wp;(XX&&au(new XX(new ArrayBuffer(1)))!=Sle||U4&&au(new U4)!=kle||QX&&au(QX.resolve())!=vle||JX&&au(new JX)!=wle||YX&&au(new YX)!=Cle)&&(au=function(e){var t=Wp(e),r=t==aje?e.constructor:void 0,n=r?Gp(r):"";if(n)switch(n){case ije:return Sle;case sje:return kle;case lje:return vle;case cje:return wle;case uje:return Cle}return t});var LH=gc.Uint8Array;function dje(e){var t=new e.constructor(e.byteLength);return new LH(t).set(new LH(e)),t}function hje(e,t){var r=t?dje(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function fje(e){return typeof e.constructor=="function"&&!bV(e)?KOe(ite(e)):{}}var pje="__lodash_hash_undefined__";function mje(e){return this.__data__.set(e,pje),this}function gje(e){return this.__data__.has(e)}function EH(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new Ru;++t<r;)this.add(e[t])}EH.prototype.add=EH.prototype.push=mje;EH.prototype.has=gje;function yje(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function bje(e,t){return e.has(t)}var xje=1,kje=2;function Jme(e,t,r,n,o,a){var i=r&xje,s=e.length,l=t.length;if(s!=l&&!(i&&l>s))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var f=-1,p=!0,g=r&kje?new EH:void 0;for(a.set(e,t),a.set(t,e);++f<s;){var b=e[f],v=t[f];if(n)var C=i?n(v,b,f,t,e,a):n(b,v,f,e,t,a);if(C!==void 0){if(C)continue;p=!1;break}if(g){if(!yje(t,function(S,M){if(!bje(g,M)&&(b===S||o(b,S,r,n,a)))return g.push(M)})){p=!1;break}}else if(!(b===v||o(b,v,r,n,a))){p=!1;break}}return a.delete(e),a.delete(t),p}function vje(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}function wje(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var Cje=1,Sje=2,Mje="[object Boolean]",_je="[object Date]",Tje="[object Error]",Aje="[object Map]",Lje="[object Number]",Eje="[object RegExp]",Ije="[object Set]",Rje="[object String]",zje="[object Symbol]",Dje="[object ArrayBuffer]",Oje="[object DataView]",Mle=Zd?Zd.prototype:void 0,SZ=Mle?Mle.valueOf:void 0;function Bje(e,t,r,n,o,a,i){switch(r){case Oje:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Dje:return!(e.byteLength!=t.byteLength||!a(new LH(e),new LH(t)));case Mje:case _je:case Lje:return zx(+e,+t);case Tje:return e.name==t.name&&e.message==t.message;case Eje:case Rje:return e==t+"";case Aje:var s=vje;case Ije:var l=n&Cje;if(s||(s=wje),e.size!=t.size&&!l)return!1;var u=i.get(e);if(u)return u==t;n|=Sje,i.set(e,t);var d=Jme(s(e),s(t),n,o,a,i);return i.delete(e),d;case zje:if(SZ)return SZ.call(e)==SZ.call(t)}return!1}var Nje=1,jje=Object.prototype,Pje=jje.hasOwnProperty;function Fje(e,t,r,n,o,a){var i=r&Nje,s=xle(e),l=s.length,u=xle(t),d=u.length;if(l!=d&&!i)return!1;for(var f=l;f--;){var p=s[f];if(!(i?p in t:Pje.call(t,p)))return!1}var g=a.get(e),b=a.get(t);if(g&&b)return g==t&&b==e;var v=!0;a.set(e,t),a.set(t,e);for(var C=i;++f<l;){p=s[f];var S=e[p],M=t[p];if(n)var T=i?n(M,S,p,t,e,a):n(S,M,p,e,t,a);if(!(T===void 0?S===M||o(S,M,r,n,a):T)){v=!1;break}C||(C=p=="constructor")}if(v&&!C){var A=e.constructor,R=t.constructor;A!=R&&"constructor"in e&&"constructor"in t&&!(typeof A=="function"&&A instanceof A&&typeof R=="function"&&R instanceof R)&&(v=!1)}return a.delete(e),a.delete(t),v}var qje=1,_le="[object Arguments]",Tle="[object Array]",F3="[object Object]",Hje=Object.prototype,Ale=Hje.hasOwnProperty;function $je(e,t,r,n,o,a){var i=Es(e),s=Es(t),l=i?Tle:au(e),u=s?Tle:au(t);l=l==_le?F3:l,u=u==_le?F3:u;var d=l==F3,f=u==F3,p=l==u;if(p&&$4(e)){if(!$4(t))return!1;i=!0,d=!1}if(p&&!d)return a||(a=new tc),i||xV(e)?Jme(e,t,r,n,o,a):Bje(e,t,l,r,n,o,a);if(!(r&qje)){var g=d&&Ale.call(e,"__wrapped__"),b=f&&Ale.call(t,"__wrapped__");if(g||b){var v=g?e.value():e,C=b?t.value():t;return a||(a=new tc),o(v,C,r,n,a)}}return p?(a||(a=new tc),Fje(e,t,r,n,o,a)):!1}function ste(e,t,r,n,o){return e===t?!0:e==null||t==null||!Kd(e)&&!Kd(t)?e!==e&&t!==t:$je(e,t,r,n,ste,o)}var Vje=1,Uje=2;function Wje(e,t,r,n){var o=r.length,a=o;if(e==null)return!a;for(e=Object(e);o--;){var i=r[o];if(i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++o<a;){i=r[o];var s=i[0],l=e[s],u=i[1];if(i[2]){if(l===void 0&&!(s in e))return!1}else{var d=new tc,f;if(!(f===void 0?ste(u,l,Vje|Uje,n,d):f))return!1}}return!0}function ege(e){return e===e&&!ic(e)}function Gje(e){for(var t=Wme(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,ege(o)]}return t}function tge(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function Zje(e){var t=Gje(e);return t.length==1&&t[0][2]?tge(t[0][0],t[0][1]):function(r){return r===e||Wje(r,e,t)}}function Kje(e,t){return e!=null&&t in Object(e)}function Yje(e,t,r){t=wV(t,e);for(var n=-1,o=t.length,a=!1;++n<o;){var i=Ox(t[n]);if(!(a=e!=null&&r(e,i)))break;e=e[i]}return a||++n!=o?a:(o=e==null?0:e.length,!!o&&rte(o)&&yV(i,o)&&(Es(e)||H4(e)))}function Xje(e,t){return e!=null&&Yje(e,t,Kje)}var Qje=1,Jje=2;function ePe(e,t){return ote(e)&&ege(t)?tge(Ox(e),t):function(r){var n=jNe(r,e);return n===void 0&&n===t?Xje(r,e):ste(t,n,Qje|Jje)}}function tPe(e){return function(t){return t?.[e]}}function rPe(e){return function(t){return ate(t,e)}}function nPe(e){return ote(e)?tPe(Ox(e)):rPe(e)}function rge(e){return typeof e=="function"?e:e==null?Jee:typeof e=="object"?Es(e)?ePe(e[0],e[1]):Zje(e):nPe(e)}function oPe(e){return function(t,r,n){for(var o=-1,a=Object(t),i=n(t),s=i.length;s--;){var l=i[++o];if(r(a[l],l,a)===!1)break}return t}}var aPe=oPe();function eQ(e,t,r){(r!==void 0&&!zx(e[t],r)||r===void 0&&!(t in e))&&tte(e,t,r)}function iPe(e){return Kd(e)&&Dx(e)}function tQ(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function sPe(e){return cBe(e,nte(e))}function lPe(e,t,r,n,o,a,i){var s=tQ(e,r),l=tQ(t,r),u=i.get(l);if(u){eQ(e,r,u);return}var d=a?a(s,l,r+"",e,t,i):void 0,f=d===void 0;if(f){var p=Es(l),g=!p&&$4(l),b=!p&&!g&&xV(l);d=l,p||g||b?Es(s)?d=s:iPe(s)?d=XOe(s):g?(f=!1,d=QNe(l,!0)):b?(f=!1,d=hje(l,!0)):d=[]:VNe(l)||H4(l)?(d=s,H4(s)?d=sPe(s):(!ic(s)||ete(s))&&(d=fje(l))):f=!1}f&&(i.set(l,d),o(d,l,n,a,i),i.delete(l)),eQ(e,r,d)}function nge(e,t,r,n,o){e!==t&&aPe(t,function(a,i){if(o||(o=new tc),ic(a))lPe(e,t,i,r,nge,n,o);else{var s=n?n(tQ(e,i),a,i+"",e,t,o):void 0;s===void 0&&(s=a),eQ(e,i,s)}},nte)}var cPe="[object Map]",uPe="[object Set]",dPe=Object.prototype,hPe=dPe.hasOwnProperty;function Lle(e){if(e==null)return!0;if(Dx(e)&&(Es(e)||typeof e=="string"||typeof e.splice=="function"||$4(e)||xV(e)||H4(e)))return!e.length;var t=au(e);if(t==cPe||t==uPe)return!e.size;if(bV(e))return!Ume(e).length;for(var r in e)if(hPe.call(e,r))return!1;return!0}function fPe(e){return e==null}var pPe=pBe(function(e,t,r){nge(e,t,r)}),mPe="Expected a function";function gPe(e){if(typeof e!="function")throw new TypeError(mPe);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function yPe(e,t,r,n){if(!ic(e))return e;t=wV(t,e);for(var o=-1,a=t.length,i=a-1,s=e;s!=null&&++o<a;){var l=Ox(t[o]),u=r;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(o!=i){var d=s[l];u=void 0,u===void 0&&(u=ic(d)?d:yV(t[o+1])?[]:{})}Pme(s,l,u),s=s[l]}return e}function bPe(e,t,r){for(var n=-1,o=t.length,a={};++n<o;){var i=t[n],s=ate(e,i);r(s,i)&&yPe(a,wV(i,e),s)}return a}function xPe(e,t){if(e==null)return{};var r=Nme(oje(e),function(n){return[n]});return t=rge(t),bPe(e,r,function(n,o){return t(n,o[0])})}function kPe(e,t){return xPe(e,gPe(rge(t)))}const rQ="thread_context_usage";function IH(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function Gq(e){if(typeof e!="string")return null;const t=e.trim();return t||null}function vPe(e){return e==null?null:Gq(e)}function Ap(e){if(typeof e=="number"&&Number.isFinite(e)&&e>=0)return Math.floor(e);if(typeof e=="string"){const t=Number.parseFloat(e);if(Number.isFinite(t)&&t>=0)return Math.floor(t)}return null}function q3(e){const t=Ap(e);return t??0}function wPe(e){if(typeof e=="number"&&Number.isFinite(e)&&e>=0)return e;if(typeof e=="string"){const t=Number.parseFloat(e);if(Number.isFinite(t)&&t>=0)return t}return 0}function Ele(e){if(!IH(e))return null;const t=e;if(t.type!==rQ)return null;const r=Gq(t.threadId),n=Gq(t.agentKey),o=t.usage;if(!r||!n||!o||typeof o!="object")return null;const a=o,i=Ap(a.totalTokens);if(i==null)return null;let s;const l=t.effectiveModel;if(l!==void 0){if(!l||typeof l!="object"||!("contextWindow"in l)||typeof l.contextWindow!="number"||!Number.isFinite(l.contextWindow)||l.contextWindow<=0||"model"in l&&l.model!==void 0&&typeof l.model!="string")return null;s={contextWindow:l.contextWindow,..."model"in l&&typeof l.model=="string"?{model:l.model}:{}}}return{...s?{effectiveModel:s}:{},type:rQ,threadId:r,agentKey:n,runId:vPe(t.runId),updatedAt:Gq(t.updatedAt)??"",usage:{totalTokens:i,contextTokens:q3(a.contextTokens),inputTokens:q3(a.inputTokens),outputTokens:q3(a.outputTokens),embedTokens:q3(a.embedTokens),totalPrice:wPe(a.totalPrice),currency:t.usage&&typeof a.currency=="string"?a.currency:a.currency==null?null:void 0}}}function CPe(e){const t=Ele(e);return t||(IH(e)?Ele(e.data):null)}function H3(e){return typeof e=="string"&&e.trim()===rQ}function yc(e){if(!IH(e))return!1;if(H3(e.type)||H3(e.event))return!0;const t=e.data;return IH(t)?H3(t.type)||H3(t.event):!1}function SPe(e,t){return{...e??{},[t.agentKey]:t}}function MPe(e,t,r){return!r||t.threadId!==r?e??{}:SPe(e,t)}function _Pe(e,t){return t?e[t]??null:null}function oge(e){return Ap(e?.usage?.totalTokens)}function TPe(e){const t=oge(e.realtimeUsage);return t??Ap(e.fallbackUsedTokens)??0}const APe=2e3;function lte(e){return Array.isArray(e)&&e.some(t=>t.text?.trim())}function age(e){return e===void 0?!1:typeof e=="string"?!0:!yc(e)}function p4(e){if(!Array.isArray(e))return e;const t=e.filter(r=>age(r));return t.length===e.length?e:t}function ige(e){return typeof e=="string"?e.trim().length>0:!Array.isArray(e)||e.length===0?!1:e.some(r=>age(r)?typeof r=="string"?r.trim().length>0:typeof r!="object"?!1:r.type==="text"||r.type==="reasoning"?!!r.text?.trim():!0:!1)}function LPe(e){return ige(e.content)||lte(e.reasoning)}function m4(e,t,r){if(!t)return null;const n=r?.now??Date.now(),o=typeof e.lastStreamOutputAt=="number"?e.lastStreamOutputAt:null,a=o!==null&&n-o>=APe;return e.status==="reasoning"?"thinking":e.status==="answering"?a?"thinking":"answering":lte(e.reasoning)||a?"thinking":"loading"}function EPe(e,t){if(typeof t!="string"&&yc(t))return;e.status="answering";const r=e.content;if(typeof t=="string")if(typeof r=="string")e.content=r+t;else if(Array.isArray(r)){const n=r[r.length-1];n.type==="text"?n.text=n.text+t:r.push({type:"text",text:t})}else e.content=t;else if(t.type==="reasoning"){const n=t;e.reasoning??=[],e.reasoning[e.reasoning.length-1]?.id===n.id?e.reasoning[e.reasoning.length-1].text+=n.text:e.reasoning.push(n),e.reasoning=Array.from(e.reasoning),e.status="reasoning"}else if(Array.isArray(r))if(t.type==="text"&&t.id){const n=r.findIndex(o=>o.type==="text"&&o.id===t.id);if(n>-1){const o=r[n];r[n]={...r[n],...t,id:o.id??t.id,created_date:o.created_date??t.created_date,agentKey:o.agentKey??t.agentKey,xpertName:o.xpertName??t.xpertName,executionId:o.executionId??t.executionId,parentExecutionId:o.parentExecutionId??t.parentExecutionId,runId:o.runId??t.runId,text:o.text+t.text}}else r.push(t)}else if(t.type==="agent_event"&&t.id){const n=r.findIndex(o=>o.type==="agent_event"&&o.id===t.id);n>-1?r[n]=OPe(r[n],t):r.push(t)}else{const n=r.findIndex(o=>o.type==="component"&&o.id===t.id);n>-1?r[n]=DPe(r[n],t):r.push(t)}else r?e.content=[{type:"text",text:r},t]:e.content=[t]}function Ile(e){return typeof e!="string"?null:e.trim().toLowerCase().replace(/[\s-]+/g,"_")||null}function IPe(e,t,r){const n=Ile(e);return n?[r.tool,r.title,r.type,t.tool,t.title,t.type].some(o=>Ile(o)===n):!1}function RPe(e,t){return t.message===void 0||e.message!==void 0&&IPe(t.message,e,t)?e.message:t.message}function zPe(e,t){const r=e??{},n=kPe(t??{},fPe);return{...r,...n,type:n.type??r.type,category:n.category??r.category,toolset:n.toolset??r.toolset,toolset_id:n.toolset_id??r.toolset_id,tool:n.tool??r.tool,title:n.title??r.title,message:RPe(r,n),created_date:n.created_date??r.created_date}}function DPe(e,t){return{...e,...t,id:e.id??t.id,type:e.type??t.type,agentKey:e.agentKey??t.agentKey,xpertName:e.xpertName??t.xpertName,executionId:e.executionId??t.executionId,parentExecutionId:e.parentExecutionId??t.parentExecutionId,runId:e.runId??t.runId,data:zPe(e.data,t.data)}}function Rle(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function OPe(e,t){return{...e,...t,id:e.id??t.id,type:"agent_event",created_date:e.created_date??t.created_date,data:Rle(e.data)&&Rle(t.data)?{...e.data,...t.data}:t.data??e.data}}const BPe=48;function NPe(e){return Math.max(0,e.scrollHeight-e.clientHeight-e.scrollTop)}function sge(e,t=BPe){return NPe(e)<=t}function lge(e,t,r){try{return e(t)}catch(n){return u_e("[nuqs] Error while parsing value `%s`: %O"+(r?" (for key `%s`)":""),t,n,r),null}}function zu(e){function t(r){if(typeof r>"u")return null;let n="";if(Array.isArray(r)){if(r[0]===void 0)return null;n=r[0]}return typeof r=="string"&&(n=r),lge(e.parse,n)}return{type:"single",eq:(r,n)=>r===n,...e,parseServerSide:t,withDefault(r){return{...this,defaultValue:r,parseServerSide(n){return t(n)??r}}},withOptions(r){return{...this,...r}}}}zu({parse:e=>e,serialize:String});zu({parse:e=>{const t=parseInt(e);return t==t?t:null},serialize:e=>""+Math.round(e)});zu({parse:e=>{const t=parseInt(e);return t==t?t-1:null},serialize:e=>""+Math.round(e+1)});zu({parse:e=>{const t=parseInt(e,16);return t==t?t:null},serialize:e=>{const t=Math.round(e).toString(16);return(t.length&1?"0":"")+t}});zu({parse:e=>{const t=parseFloat(e);return t==t?t:null},serialize:String});zu({parse:e=>e.toLowerCase()==="true",serialize:String});function cte(e,t){return e.valueOf()===t.valueOf()}zu({parse:e=>{const t=parseInt(e);return t==t?new Date(t):null},serialize:e=>""+e.valueOf(),eq:cte});zu({parse:e=>{const t=new Date(e);return t.valueOf()==t.valueOf()?t:null},serialize:e=>e.toISOString(),eq:cte});zu({parse:e=>{const t=new Date(e.slice(0,10));return t.valueOf()==t.valueOf()?t:null},serialize:e=>e.toISOString().slice(0,10),eq:cte});const MZ=Aee(),jPe={};function PPe(e,t={}){const r=w.useId(),n=b_e(),o=x_e(),{history:a="replace",scroll:i=n?.scroll??!1,shallow:s=n?.shallow??!0,throttleMs:l=s4.timeMs,limitUrlUpdates:u=n?.limitUrlUpdates,clearOnDefault:d=n?.clearOnDefault??!0,startTransition:f,urlKeys:p=jPe}=t,g=Object.keys(e).join(","),b=w.useMemo(()=>Object.fromEntries(Object.keys(e).map(N=>[N,p[N]??N])),[g,JSON.stringify(p)]),v=y_e(Object.values(b)),C=v.searchParams,S=w.useRef({}),M=w.useMemo(()=>Object.fromEntries(Object.keys(e).map(N=>[N,e[N].defaultValue??null])),[Object.values(e).map(({defaultValue:N})=>N).join(",")]),T=nZ.useQueuedQueries(Object.values(b)),[A,R]=w.useState(()=>_Z(e,p,C??new URLSearchParams,T).state),I=w.useRef(A);if(Hn("[nuq+ %s `%s`] render - state: %O, iSP: %s",r,g,A,C),Object.keys(S.current).join("&")!==Object.values(b).join("&")){const{state:N,hasChanged:V}=_Z(e,p,C,T,S.current,I.current);V&&(Hn("[nuq+ %s `%s`] State changed: %O",r,g,{state:N,initialSearchParams:C,queuedQueries:T,queryRef:S.current,stateRef:I.current}),I.current=N,R(N)),S.current=Object.fromEntries(Object.entries(b).map(([P,G])=>[G,e[P]?.type==="multi"?C?.getAll(G):C?.get(G)??null]))}w.useEffect(()=>{const{state:N,hasChanged:V}=_Z(e,p,C,T,S.current,I.current);V&&(Hn("[nuq+ %s `%s`] State changed: %O",r,g,{state:N,initialSearchParams:C,queuedQueries:T,queryRef:S.current,stateRef:I.current}),I.current=N,R(N))},[Object.values(b).map(N=>`${N}=${C?.getAll(N)}`).join("&"),JSON.stringify(T)]),w.useEffect(()=>{const N=Object.keys(e).reduce((V,P)=>(V[P]=({state:G,query:Q})=>{R(re=>{const{defaultValue:K}=e[P],Z=b[P],z=G??K??null,O=re[P]??K??null;return Object.is(O,z)?(Hn("[nuq+ %s `%s`] Cross-hook key sync %s: %O (default: %O). no change, skipping, resolved: %O",r,g,Z,G,K,I.current),re):(I.current={...I.current,[P]:z},S.current[Z]=Q,Hn("[nuq+ %s `%s`] Cross-hook key sync %s: %O (default: %O). updateInternalState, resolved: %O",r,g,Z,G,K,I.current),I.current)})},V),{});for(const V of Object.keys(e)){const P=b[V];Hn("[nuq+ %s `%s`] Subscribing to sync for `%s`",r,P,g),MZ.on(P,N[V])}return()=>{for(const V of Object.keys(e)){const P=b[V];Hn("[nuq+ %s `%s`] Unsubscribing to sync for `%s`",r,P,g),MZ.off(P,N[V])}}},[g,b]);const L=w.useCallback((N,V={})=>{const P=Object.fromEntries(Object.keys(e).map(O=>[O,null])),G=typeof N=="function"?N(zle(I.current,M))??P:N??P;Hn("[nuq+ %s `%s`] setState: %O",r,g,G);let Q,re=0,K=!1;const Z=[];for(let[O,D]of Object.entries(G)){const $=e[O],q=b[O];if(!$||D===void 0)continue;(V.clearOnDefault??$.clearOnDefault??d)&&D!==null&&$.defaultValue!==void 0&&($.eq??((W,he)=>W===he))(D,$.defaultValue)&&(D=null);const U=D===null?null:($.serialize??String)(D);MZ.emit(q,{state:D,query:U});const oe={key:q,query:U,options:{history:V.history??$.history??a,shallow:V.shallow??$.shallow??s,scroll:V.scroll??$.scroll??i,startTransition:V.startTransition??$.startTransition??f}};if(V?.limitUrlUpdates?.method==="debounce"||u?.method==="debounce"||$.limitUrlUpdates?.method==="debounce"){oe.options.shallow===!0&&console.warn(Tx(422));const W=V?.limitUrlUpdates?.timeMs??u?.timeMs??$.limitUrlUpdates?.timeMs??s4.timeMs,he=nZ.push(oe,W,v,o);re<W&&(Q=he,re=W)}else{const W=V?.limitUrlUpdates?.timeMs??$?.limitUrlUpdates?.timeMs??u?.timeMs??V.throttleMs??$.throttleMs??l;Z.push(nZ.abort(q)),W5.push(oe,W),K=!0}}const z=Z.reduce((O,D)=>D(O),K?W5.flush(v,o):W5.getPendingPromise(v));return Q??z},[g,a,s,i,l,u?.method,u?.timeMs,f,b,v.updateUrl,v.getSearchParamsSnapshot,v.rateLimitFactor,o,M]);return[w.useMemo(()=>zle(A,M),[A,M]),L]}function _Z(e,t,r,n,o,a){let i=!1;const s=Object.entries(e).reduce((l,[u,d])=>{const f=t?.[u]??u,p=n[f],g=d.type==="multi"?[]:null,b=p===void 0?(d.type==="multi"?r?.getAll(f):r?.get(f))??g:p;return o&&a&&Npe(o[f]??g,b)?(l[u]=a[u]??null,l):(i=!0,l[u]=(w_e(b)?null:lge(d.parse,b,f))??null,o&&(o[f]=b),l)},{});if(!i){const l=Object.keys(e),u=Object.keys(a??{});i=l.length!==u.length||l.some(d=>!u.includes(d))}return{state:s,hasChanged:i}}function zle(e,t){return Object.fromEntries(Object.keys(e).map(r=>[r,e[r]??t[r]??null]))}function FPe(e,t={}){const{parse:r,type:n,serialize:o,eq:a,defaultValue:i,...s}=t,[{[e]:l},u]=PPe({[e]:{parse:r??(d=>d),type:n,serialize:o,eq:a,defaultValue:i}},s);return[l,w.useCallback((d,f={})=>u(p=>({[e]:typeof d=="function"?d(p[e]):d}),f),[e,u])]}var mb={exports:{}},TZ={},AZ,Dle;function qPe(){if(Dle)return AZ;Dle=1;function e(t,r){typeof r=="boolean"&&(r={forever:r}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=r||{},this._maxRetryTime=r&&r.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}return AZ=e,e.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)},e.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null},e.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var r=new Date().getTime();if(t&&r-this._operationStart>=this._maxRetryTime)return this._errors.push(t),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var n=this._timeouts.shift();if(n===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),n=this._cachedTimeouts.slice(-1);else return!1;var o=this;return this._timer=setTimeout(function(){o._attempts++,o._operationTimeoutCb&&(o._timeout=setTimeout(function(){o._operationTimeoutCb(o._attempts)},o._operationTimeout),o._options.unref&&o._timeout.unref()),o._fn(o._attempts)},n),this._options.unref&&this._timer.unref(),!0},e.prototype.attempt=function(t,r){this._fn=t,r&&(r.timeout&&(this._operationTimeout=r.timeout),r.cb&&(this._operationTimeoutCb=r.cb));var n=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){n._operationTimeoutCb()},n._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)},e.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)},e.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)},e.prototype.start=e.prototype.try,e.prototype.errors=function(){return this._errors},e.prototype.attempts=function(){return this._attempts},e.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},r=null,n=0,o=0;o<this._errors.length;o++){var a=this._errors[o],i=a.message,s=(t[i]||0)+1;t[i]=s,s>=n&&(r=a,n=s)}return r},AZ}var Ole;function HPe(){return Ole||(Ole=1,(function(e){var t=qPe();e.operation=function(r){var n=e.timeouts(r);return new t(n,{forever:r&&(r.forever||r.retries===1/0),unref:r&&r.unref,maxRetryTime:r&&r.maxRetryTime})},e.timeouts=function(r){if(r instanceof Array)return[].concat(r);var n={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var o in r)n[o]=r[o];if(n.minTimeout>n.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var a=[],i=0;i<n.retries;i++)a.push(this.createTimeout(i,n));return r&&r.forever&&!a.length&&a.push(this.createTimeout(i,n)),a.sort(function(s,l){return s-l}),a},e.createTimeout=function(r,n){var o=n.randomize?Math.random()+1:1,a=Math.round(o*Math.max(n.minTimeout,1)*Math.pow(n.factor,r));return a=Math.min(a,n.maxTimeout),a},e.wrap=function(r,n,o){if(n instanceof Array&&(o=n,n=null),!o){o=[];for(var a in r)typeof r[a]=="function"&&o.push(a)}for(var i=0;i<o.length;i++){var s=o[i],l=r[s];r[s]=(function(d){var f=e.operation(n),p=Array.prototype.slice.call(arguments,1),g=p.pop();p.push(function(b){f.retry(b)||(b&&(arguments[0]=f.mainError()),g.apply(this,arguments))}),f.attempt(function(){d.apply(r,p)})}).bind(r,l),r[s].options=n}}})(TZ)),TZ}var LZ,Ble;function $Pe(){return Ble||(Ble=1,LZ=HPe()),LZ}var Nle;function VPe(){if(Nle)return mb.exports;Nle=1;const e=$Pe(),t=["Failed to fetch","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed"];class r extends Error{constructor(s){super(),s instanceof Error?(this.originalError=s,{message:s}=s):(this.originalError=new Error(s),this.originalError.stack=this.stack),this.name="AbortError",this.message=s}}const n=(i,s,l)=>{const u=l.retries-(s-1);return i.attemptNumber=s,i.retriesLeft=u,i},o=i=>t.includes(i),a=(i,s)=>new Promise((l,u)=>{s={onFailedAttempt:()=>{},retries:10,...s};const d=e.operation(s);d.attempt(async f=>{try{l(await i(f))}catch(p){if(!(p instanceof Error)){u(new TypeError(`Non-error was thrown: "${p}". You should only throw errors.`));return}if(p instanceof r)d.stop(),u(p.originalError);else if(p instanceof TypeError&&!o(p.message))d.stop(),u(p);else{n(p,f,s);try{await s.onFailedAttempt(p)}catch(g){u(g);return}d.retry(p)||u(d.mainError())}}})});return mb.exports=a,mb.exports.default=a,mb.exports.AbortError=r,mb.exports}var UPe=VPe();const WPe=dl(UPe);var $3={},EZ={exports:{}},jle;function GPe(){return jle||(jle=1,(function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function o(l,u,d){this.fn=l,this.context=u,this.once=d||!1}function a(l,u,d,f,p){if(typeof d!="function")throw new TypeError("The listener must be a function");var g=new o(d,f||l,p),b=r?r+u:u;return l._events[b]?l._events[b].fn?l._events[b]=[l._events[b],g]:l._events[b].push(g):(l._events[b]=g,l._eventsCount++),l}function i(l,u){--l._eventsCount===0?l._events=new n:delete l._events[u]}function s(){this._events=new n,this._eventsCount=0}s.prototype.eventNames=function(){var u=[],d,f;if(this._eventsCount===0)return u;for(f in d=this._events)t.call(d,f)&&u.push(r?f.slice(1):f);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(d)):u},s.prototype.listeners=function(u){var d=r?r+u:u,f=this._events[d];if(!f)return[];if(f.fn)return[f.fn];for(var p=0,g=f.length,b=new Array(g);p<g;p++)b[p]=f[p].fn;return b},s.prototype.listenerCount=function(u){var d=r?r+u:u,f=this._events[d];return f?f.fn?1:f.length:0},s.prototype.emit=function(u,d,f,p,g,b){var v=r?r+u:u;if(!this._events[v])return!1;var C=this._events[v],S=arguments.length,M,T;if(C.fn){switch(C.once&&this.removeListener(u,C.fn,void 0,!0),S){case 1:return C.fn.call(C.context),!0;case 2:return C.fn.call(C.context,d),!0;case 3:return C.fn.call(C.context,d,f),!0;case 4:return C.fn.call(C.context,d,f,p),!0;case 5:return C.fn.call(C.context,d,f,p,g),!0;case 6:return C.fn.call(C.context,d,f,p,g,b),!0}for(T=1,M=new Array(S-1);T<S;T++)M[T-1]=arguments[T];C.fn.apply(C.context,M)}else{var A=C.length,R;for(T=0;T<A;T++)switch(C[T].once&&this.removeListener(u,C[T].fn,void 0,!0),S){case 1:C[T].fn.call(C[T].context);break;case 2:C[T].fn.call(C[T].context,d);break;case 3:C[T].fn.call(C[T].context,d,f);break;case 4:C[T].fn.call(C[T].context,d,f,p);break;default:if(!M)for(R=1,M=new Array(S-1);R<S;R++)M[R-1]=arguments[R];C[T].fn.apply(C[T].context,M)}}return!0},s.prototype.on=function(u,d,f){return a(this,u,d,f,!1)},s.prototype.once=function(u,d,f){return a(this,u,d,f,!0)},s.prototype.removeListener=function(u,d,f,p){var g=r?r+u:u;if(!this._events[g])return this;if(!d)return i(this,g),this;var b=this._events[g];if(b.fn)b.fn===d&&(!p||b.once)&&(!f||b.context===f)&&i(this,g);else{for(var v=0,C=[],S=b.length;v<S;v++)(b[v].fn!==d||p&&!b[v].once||f&&b[v].context!==f)&&C.push(b[v]);C.length?this._events[g]=C.length===1?C[0]:C:i(this,g)}return this},s.prototype.removeAllListeners=function(u){var d;return u?(d=r?r+u:u,this._events[d]&&i(this,d)):(this._events=new n,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=r,s.EventEmitter=s,e.exports=s})(EZ)),EZ.exports}var gb={exports:{}},IZ,Ple;function ZPe(){return Ple||(Ple=1,IZ=(e,t)=>(t=t||(()=>{}),e.then(r=>new Promise(n=>{n(t())}).then(()=>r),r=>new Promise(n=>{n(t())}).then(()=>{throw r})))),IZ}var Fle;function KPe(){if(Fle)return gb.exports;Fle=1;const e=ZPe();class t extends Error{constructor(o){super(o),this.name="TimeoutError"}}const r=(n,o,a)=>new Promise((i,s)=>{if(typeof o!="number"||o<0)throw new TypeError("Expected `milliseconds` to be a positive number");if(o===1/0){i(n);return}const l=setTimeout(()=>{if(typeof a=="function"){try{i(a())}catch(f){s(f)}return}const u=typeof a=="string"?a:`Promise timed out after ${o} milliseconds`,d=a instanceof Error?a:new t(u);typeof n.cancel=="function"&&n.cancel(),s(d)},o);e(n.then(i,s),()=>{clearTimeout(l)})});return gb.exports=r,gb.exports.default=r,gb.exports.TimeoutError=t,gb.exports}var V3={},U3={},qle;function YPe(){if(qle)return U3;qle=1,Object.defineProperty(U3,"__esModule",{value:!0});function e(t,r,n){let o=0,a=t.length;for(;a>0;){const i=a/2|0;let s=o+i;n(t[s],r)<=0?(o=++s,a-=i+1):a=i}return o}return U3.default=e,U3}var Hle;function XPe(){if(Hle)return V3;Hle=1,Object.defineProperty(V3,"__esModule",{value:!0});const e=YPe();class t{constructor(){this._queue=[]}enqueue(n,o){o=Object.assign({priority:0},o);const a={priority:o.priority,run:n};if(this.size&&this._queue[this.size-1].priority>=o.priority){this._queue.push(a);return}const i=e.default(this._queue,a,(s,l)=>l.priority-s.priority);this._queue.splice(i,0,a)}dequeue(){const n=this._queue.shift();return n?.run}filter(n){return this._queue.filter(o=>o.priority===n.priority).map(o=>o.run)}get size(){return this._queue.length}}return V3.default=t,V3}var $le;function QPe(){if($le)return $3;$le=1,Object.defineProperty($3,"__esModule",{value:!0});const e=GPe(),t=KPe(),r=XPe(),n=()=>{},o=new t.TimeoutError;class a extends e{constructor(s){var l,u,d,f;if(super(),this._intervalCount=0,this._intervalEnd=0,this._pendingCount=0,this._resolveEmpty=n,this._resolveIdle=n,s=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:r.default},s),!(typeof s.intervalCap=="number"&&s.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${(u=(l=s.intervalCap)===null||l===void 0?void 0:l.toString())!==null&&u!==void 0?u:""}\` (${typeof s.intervalCap})`);if(s.interval===void 0||!(Number.isFinite(s.interval)&&s.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${(f=(d=s.interval)===null||d===void 0?void 0:d.toString())!==null&&f!==void 0?f:""}\` (${typeof s.interval})`);this._carryoverConcurrencyCount=s.carryoverConcurrencyCount,this._isIntervalIgnored=s.intervalCap===1/0||s.interval===0,this._intervalCap=s.intervalCap,this._interval=s.interval,this._queue=new s.queueClass,this._queueClass=s.queueClass,this.concurrency=s.concurrency,this._timeout=s.timeout,this._throwOnTimeout=s.throwOnTimeout===!0,this._isPaused=s.autoStart===!1}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount<this._intervalCap}get _doesConcurrentAllowAnother(){return this._pendingCount<this._concurrency}_next(){this._pendingCount--,this._tryToStartAnother(),this.emit("next")}_resolvePromises(){this._resolveEmpty(),this._resolveEmpty=n,this._pendingCount===0&&(this._resolveIdle(),this._resolveIdle=n,this.emit("idle"))}_onResumeInterval(){this._onInterval(),this._initializeIntervalIfNeeded(),this._timeoutId=void 0}_isIntervalPaused(){const s=Date.now();if(this._intervalId===void 0){const l=this._intervalEnd-s;if(l<0)this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0;else return this._timeoutId===void 0&&(this._timeoutId=setTimeout(()=>{this._onResumeInterval()},l)),!0}return!1}_tryToStartAnother(){if(this._queue.size===0)return this._intervalId&&clearInterval(this._intervalId),this._intervalId=void 0,this._resolvePromises(),!1;if(!this._isPaused){const s=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){const l=this._queue.dequeue();return l?(this.emit("active"),l(),s&&this._initializeIntervalIfNeeded(),!0):!1}}return!1}_initializeIntervalIfNeeded(){this._isIntervalIgnored||this._intervalId!==void 0||(this._intervalId=setInterval(()=>{this._onInterval()},this._interval),this._intervalEnd=Date.now()+this._interval)}_onInterval(){this._intervalCount===0&&this._pendingCount===0&&this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0,this._processQueue()}_processQueue(){for(;this._tryToStartAnother(););}get concurrency(){return this._concurrency}set concurrency(s){if(!(typeof s=="number"&&s>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${s}\` (${typeof s})`);this._concurrency=s,this._processQueue()}async add(s,l={}){return new Promise((u,d)=>{const f=async()=>{this._pendingCount++,this._intervalCount++;try{const p=this._timeout===void 0&&l.timeout===void 0?s():t.default(Promise.resolve(s()),l.timeout===void 0?this._timeout:l.timeout,()=>{(l.throwOnTimeout===void 0?this._throwOnTimeout:l.throwOnTimeout)&&d(o)});u(await p)}catch(p){d(p)}this._next()};this._queue.enqueue(f,l),this._tryToStartAnother(),this.emit("add")})}async addAll(s,l){return Promise.all(s.map(async u=>this.add(u,l)))}start(){return this._isPaused?(this._isPaused=!1,this._processQueue(),this):this}pause(){this._isPaused=!0}clear(){this._queue=new this._queueClass}async onEmpty(){if(this._queue.size!==0)return new Promise(s=>{const l=this._resolveEmpty;this._resolveEmpty=()=>{l(),s()}})}async onIdle(){if(!(this._pendingCount===0&&this._queue.size===0))return new Promise(s=>{const l=this._resolveIdle;this._resolveIdle=()=>{l(),s()}})}get size(){return this._queue.size}sizeBy(s){return this._queue.filter(s).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(s){this._timeout=s}}return $3.default=a,$3}var JPe=QPe();const RZ=dl(JPe),eFe=(...e)=>fetch(...e),tFe=Symbol.for("lg:fetch_implementation"),rFe=()=>globalThis[tFe]??eFe,nFe=[400,401,402,403,404,405,406,407,408,409,422];function oFe(e){return e==null||typeof e!="object"?!1:"status"in e&&"statusText"in e&&"text"in e}class W4 extends Error{status;text;response;constructor(t,r,n){super(`HTTP ${t}: ${r}`),this.status=t,this.text=r,this.response=n}static async fromResponse(t,r){try{return new W4(t.status,await t.text(),r?.includeResponse?t:void 0)}catch{return new W4(t.status,t.statusText,r?.includeResponse?t:void 0)}}}class aFe{maxConcurrency;maxRetries;queue;onFailedResponseHook;customFetch;constructor(t){this.maxConcurrency=t.maxConcurrency??1/0,this.maxRetries=t.maxRetries??4,"default"in RZ?this.queue=new RZ.default({concurrency:this.maxConcurrency}):this.queue=new RZ({concurrency:this.maxConcurrency}),this.onFailedResponseHook=t?.onFailedResponseHook,this.customFetch=t.fetch}call(t,...r){const{onFailedResponseHook:n}=this;return this.queue.add(()=>WPe(()=>t(...r).catch(async o=>{throw o instanceof Error?o:oFe(o)?await W4.fromResponse(o,{includeResponse:!!n}):new Error(o)}),{async onFailedAttempt(o){if(o.message.startsWith("Cancel")||o.message.startsWith("TimeoutError")||o.message.startsWith("AbortError")||o?.code==="ECONNABORTED")throw o;if(o instanceof W4){if(nFe.includes(o.status))throw o;n&&o.response&&await n(o.response)}},retries:this.maxRetries,randomize:!0}),{throwOnTimeout:!0})}callWithOptions(t,r,...n){return t.signal?Promise.race([this.call(r,...n),new Promise((o,a)=>{t.signal?.addEventListener("abort",()=>{a(new Error("AbortError"))})})]):this.call(r,...n)}fetch(...t){const r=this.customFetch??rFe();return this.call(()=>r(...t).then(n=>n.ok?n:Promise.reject(n)))}}var iFe={};function sFe(e){try{return typeof process<"u"?iFe?.[e]:void 0}catch{return}}function lFe(...e){const t=e.filter(n=>n!=null);if(t.length===0)return;if(t.length===1)return t[0];const r=new AbortController;for(const n of e){if(n?.aborted)return r.abort(n.reason),r.signal;n?.addEventListener("abort",()=>r.abort(n.reason),{once:!0})}return r.signal}const Hb=13,nQ=10,cFe=0,Vle=58,uFe=32,dFe=[Hb,nQ];function oQ(){let e=[],t=!1;return new TransformStream({start(){e=[],t=!1},transform(r,n){let o=r;if(t&&(o=Zq([[Hb],o]),t=!1),o.length>0&&o.at(-1)===Hb&&(t=!0,o=o.subarray(0,-1)),!o.length)return;const a=dFe.includes(o.at(-1)),i=o.length-1,{lines:s}=o.reduce((l,u,d)=>(l.from>d||((u===Hb||u===nQ)&&(l.lines.push(o.subarray(l.from,d)),u===Hb&&o[d+1]===nQ?l.from=d+2:l.from=d+1),d===i&&l.from<=i&&l.lines.push(o.subarray(l.from))),l),{lines:[],from:0});if(s.length===1&&!a){e.push(s[0]);return}e.length&&(e.push(s[0]),s[0]=Zq(e),e=[]),a||s.length&&(e=[s.pop()]);for(const l of s)n.enqueue(l)},flush(r){e.length&&r.enqueue(Zq(e))}})}function aQ(){let e="",t=[],r="",n=null;const o=new TextDecoder;return new TransformStream({transform(a,i){if(!a.length){if(!e&&!t.length&&!r&&n==null)return;const d={id:r||void 0,event:e,data:t.length?Ule(o,t):null};e="",t=[],n=null,i.enqueue(d);return}if(a[0]===Vle)return;const s=a.indexOf(Vle);if(s===-1)return;const l=o.decode(a.subarray(0,s));let u=a.subarray(s+1);if(u[0]===uFe&&(u=u.subarray(1)),l==="event")e=o.decode(u);else if(l==="data")t.push(u);else if(l==="id")u.indexOf(cFe)===-1&&(r=o.decode(u));else if(l==="retry"){const d=Number.parseInt(o.decode(u),10);Number.isNaN(d)||(n=d)}},flush(a){e&&a.enqueue({id:r||void 0,event:e,data:t.length?Ule(o,t):null})}})}function Zq(e){const t=e.reduce((o,a)=>o+a.length,0),r=new Uint8Array(t);let n=0;for(const o of e)r.set(o,n),n+=o.length;return r}function Ule(e,t){const r=e.decode(Zq(t));try{return JSON.parse(r)}catch{return r}}class mg extends ReadableStream{reader=null;ensureReader(){return this.reader||(this.reader=this.getReader()),this.reader}async next(){const t=this.ensureReader();try{const r=await t.read();return r.done?(t.releaseLock(),this.reader=null,{done:!0,value:void 0}):{done:!1,value:r.value}}catch(r){throw t.releaseLock(),this.reader=null,r}}async return(){const t=this.ensureReader();if(this.locked){const r=t.cancel();t.releaseLock(),await r}return this.reader=null,{done:!0,value:void 0}}async throw(t){const r=this.ensureReader();if(this.locked){const n=r.cancel();r.releaseLock(),await n}throw this.reader=null,t}async[Symbol.asyncDispose](){await this.return()}[Symbol.asyncIterator](){return this}static fromReadableStream(t){const r=t.getReader();return new mg({start(n){return o();function o(){return r.read().then(({done:a,value:i})=>{if(a){n.close();return}return n.enqueue(i),o()})}},cancel(){r.releaseLock()}})}static fromAsyncGenerator(t){return new mg({async pull(r){const{value:n,done:o}=await t.next();o&&r.close(),r.enqueue(n)},async cancel(r){await t.return(r)}})}}function Rh(e){return encodeURIComponent(e)}function yb(e){if(e)return{toolsetId:e.toolsetId,serverName:e.serverName,toolName:e.toolName,toolCallId:e.toolCallId,resourceUri:e.resourceUri,title:e.title,token:e.token,messageId:e.messageId}}class hFe{transport;constructor(t){this.transport=t}getResource(t,r,n){return this.transport.request(`/xpert-toolset/mcp-apps/${Rh(t)}/resource`,{params:yb(r),signal:n?.signal})}rpc(t,r,n,o){return this.transport.request(`/xpert-toolset/mcp-apps/${Rh(t)}/rpc`,{method:"POST",json:r,params:yb(n),signal:o?.signal})}approve(t,r,n,o){return this.transport.request(`/xpert-toolset/mcp-apps/${Rh(t)}/approvals/${Rh(r)}/approve`,{method:"POST",params:yb(n),signal:o?.signal})}reject(t,r,n,o){return this.transport.request(`/xpert-toolset/mcp-apps/${Rh(t)}/approvals/${Rh(r)}/reject`,{method:"POST",params:yb(n),signal:o?.signal})}async teardown(t,r,n){await this.transport.request(`/xpert-toolset/mcp-apps/${Rh(t)}`,{method:"DELETE",params:yb(r),emptyResponse:void 0,signal:n?.signal})}}function Eo(e){return encodeURIComponent(e)}class fFe{transport;constructor(t){this.transport=t}create(t,r){return this.transport.request("/mcp-publications",{method:"POST",json:t,signal:r?.signal})}list(t){return this.transport.request("/mcp-publications",{signal:t?.signal})}get(t,r){return this.transport.request(`/mcp-publications/${Eo(t)}`,{signal:r?.signal})}update(t,r,n){return this.transport.request(`/mcp-publications/${Eo(t)}`,{method:"PATCH",json:r,signal:n?.signal})}async remove(t,r){await this.transport.request(`/mcp-publications/${Eo(t)}`,{method:"DELETE",emptyResponse:void 0,signal:r?.signal})}enable(t,r){return this.transport.request(`/mcp-publications/${Eo(t)}/enable`,{method:"POST",signal:r?.signal})}disable(t,r){return this.transport.request(`/mcp-publications/${Eo(t)}/disable`,{method:"POST",signal:r?.signal})}availableCapabilities(t,r){return this.transport.request(`/mcp-publications/${Eo(t)}/available-capabilities`,{signal:r?.signal})}discoverToolsetCapabilities(t,r){return this.transport.request(`/mcp-capability-catalog/toolsets/${Eo(t)}/discover`,{method:"POST",signal:r?.signal})}replaceCapabilities(t,r,n){return this.transport.request(`/mcp-publications/${Eo(t)}/capabilities`,{method:"PUT",json:r,signal:n?.signal})}patchCapability(t,r,n,o){return this.transport.request(`/mcp-publications/${Eo(t)}/capabilities/${Eo(r)}`,{method:"PATCH",json:n,signal:o?.signal})}createApiKey(t,r,n){return this.transport.request(`/mcp-publications/${Eo(t)}/api-keys`,{method:"POST",json:r,signal:n?.signal})}listApiKeys(t,r){return this.transport.request(`/mcp-publications/${Eo(t)}/api-keys`,{signal:r?.signal})}revokeApiKey(t,r){return this.transport.request(`/mcp-api-keys/${Eo(t)}/revoke`,{method:"POST",signal:r?.signal})}rotateApiKey(t,r){return this.transport.request(`/mcp-api-keys/${Eo(t)}/rotate`,{method:"POST",signal:r?.signal})}getOAuthPolicy(t,r){return this.transport.request(`/mcp-publications/${Eo(t)}/oauth-policy`,{signal:r?.signal})}upsertOAuthPolicy(t,r,n){return this.transport.request(`/mcp-publications/${Eo(t)}/oauth-policy`,{method:"PUT",json:r,signal:n?.signal})}testOAuthPolicy(t,r){return this.transport.request(`/mcp-publications/${Eo(t)}/oauth-policy/test`,{method:"POST",signal:r?.signal})}audit(t,r={}){const{skip:n=0,take:o=10}=r;return this.transport.request(`/mcp-publications/${Eo(t)}/audit`,{params:{skip:n,take:o},signal:r.signal})}test(t,r){return this.transport.request(`/mcp-publications/${Eo(t)}/test`,{method:"POST",signal:r?.signal})}connectionInfo(t,r){return this.transport.request(`/mcp-publications/${Eo(t)}/connection-info`,{signal:r?.signal})}}class pFe{publications;apps;constructor(t){this.publications=new fFe(t),this.apps=new hFe(t)}}function*mFe(e){let t,r=!1;if(e instanceof Headers){const n=[];e.forEach((o,a)=>{n.push([a,o])}),t=n}else Array.isArray(e)?t=e:(r=!0,t=Object.entries(e??{}));for(const n of t){const o=n[0];if(typeof o!="string")throw new TypeError(`Expected header name to be a string, got ${typeof o}`);const a=Array.isArray(n[1])?n[1]:[n[1]];let i=!1;for(const s of a)s!==void 0&&(r&&!i&&(i=!0,yield[o,null]),yield[o,s])}}function Wle(...e){const t=new Headers;for(const n of e)if(n)for(const[o,a]of mFe(n))a===null?t.delete(o):t.append(o,a);const r=[];return t.forEach((n,o)=>{r.push([o,n])}),Object.fromEntries(r)}function gFe(e){if(e)return e;const t=["LANGGRAPH","LANGSMITH","LANGCHAIN"];for(const r of t){const n=sFe(`${r}_API_KEY`);if(n)return n.trim().replace(/^["']|["']$/g,"")}}const yFe=/(\/threads\/(?<thread_id>.+))?\/runs\/(?<run_id>.+)/;function zZ(e){const t=e.headers.get("Content-Location");if(!t)return;const r=yFe.exec(t);if(r?.groups?.run_id)return{run_id:r.groups.run_id,thread_id:r.groups.thread_id||void 0}}function bFe(e){if(!e)return;const t=e.replace(/\/+$/,"");return t.endsWith("/api/ai")?`${t.slice(0,-7)}/api/sandbox`:t}function Zg(e,t){if(!e)return;const r=e.replace(/\/+$/,"");return r.endsWith("/api/ai")?`${r.slice(0,-7)}/api/${t}`:r}function xFe(e){if(!e)return;const t=e.replace(/\/+$/,"");return t.endsWith("/api/ai")?t.slice(0,-3):t}class _a{asyncCaller;timeoutMs;apiUrl;defaultHeaders;onRequest;constructor(t){const r={maxRetries:4,maxConcurrency:4,...t?.callerOptions};let n="http://localhost:8123";if(!t?.apiUrl&&typeof globalThis=="object"&&globalThis!=null){const a=Symbol.for("langgraph_api:fetch"),i=Symbol.for("langgraph_api:url"),s=globalThis;s[a]&&(r.fetch??=s[a]),s[i]&&(n=s[i])}this.asyncCaller=new aFe(r),this.timeoutMs=t?.timeoutMs,this.apiUrl=t?.apiUrl?.replace(/\/$/,"")||n,this.defaultHeaders=t?.defaultHeaders||{},this.onRequest=t?.onRequest;const o=gFe(t?.apiKey);o&&(this.defaultHeaders["x-api-key"]=o)}prepareFetchOptions(t,r){const n={...r,headers:Wle(this.defaultHeaders,r?.headers)};n.json&&(n.body=JSON.stringify(n.json),n.headers=Wle(n.headers,{"content-type":"application/json"}),delete n.json),n.withResponse&&delete n.withResponse,"emptyResponse"in n&&delete n.emptyResponse;let o=null;typeof r?.timeoutMs<"u"?r.timeoutMs!=null&&(o=AbortSignal.timeout(r.timeoutMs)):this.timeoutMs!=null&&(o=AbortSignal.timeout(this.timeoutMs)),n.signal=lFe(o,n.signal);const a=new URL(`${this.apiUrl}${t}`);if(n.params){for(const[i,s]of Object.entries(n.params)){if(s==null)continue;const l=typeof s=="string"||typeof s=="number"?s.toString():JSON.stringify(s);a.searchParams.append(i,l)}delete n.params}return[a,n]}async fetch(t,r){const[n,o]=this.prepareFetchOptions(t,r);let a=o;this.onRequest&&(a=await this.onRequest(n,o));const i=await this.asyncCaller.fetch(n,a),s=(async()=>{if(i.status===202||i.status===204)return r?.emptyResponse;const l=await i.text();return l?JSON.parse(l):r?.emptyResponse})();return r?.withResponse?[await s,i]:s}async fetchText(t,r){const[n,o]=this.prepareFetchOptions(t,r),a=this.onRequest?await this.onRequest(n,o):o;return(await this.asyncCaller.fetch(n,a)).text()}}class kFe extends _a{async createForThread(t,r,n){const o={schedule:n?.schedule,input:n?.input,config:n?.config,context:n?.context,metadata:n?.metadata,assistant_id:r,interrupt_before:n?.interruptBefore,interrupt_after:n?.interruptAfter,webhook:n?.webhook,multitask_strategy:n?.multitaskStrategy,if_not_exists:n?.ifNotExists,checkpoint_during:n?.checkpointDuring,durability:n?.durability};return this.fetch(`/threads/${t}/runs/crons`,{method:"POST",json:o})}async create(t,r){const n={schedule:r?.schedule,input:r?.input,config:r?.config,context:r?.context,metadata:r?.metadata,assistant_id:t,interrupt_before:r?.interruptBefore,interrupt_after:r?.interruptAfter,webhook:r?.webhook,multitask_strategy:r?.multitaskStrategy,if_not_exists:r?.ifNotExists,checkpoint_during:r?.checkpointDuring,durability:r?.durability};return this.fetch("/runs/crons",{method:"POST",json:n})}async delete(t){await this.fetch(`/runs/crons/${t}`,{method:"DELETE"})}async search(t){return this.fetch("/runs/crons/search",{method:"POST",json:{assistant_id:t?.assistantId??void 0,thread_id:t?.threadId??void 0,limit:t?.limit??10,offset:t?.offset??0,sort_by:t?.sortBy??void 0,sort_order:t?.sortOrder??void 0,select:t?.select??void 0}})}async count(t){return this.fetch("/runs/crons/count",{method:"POST",json:{assistant_id:t?.assistantId??void 0,thread_id:t?.threadId??void 0}})}}class vFe extends _a{async get(t){return this.fetch(`/assistants/${t}`)}async getGraph(t,r){return this.fetch(`/assistants/${t}/graph`,{params:{xray:r?.xray}})}async getSchemas(t){return this.fetch(`/assistants/${t}/schemas`)}async getRuntimeCapabilities(t,r){return this.fetch(`/assistants/${t}/runtime-capabilities`,{params:r?.projectId?{projectId:r.projectId}:void 0,signal:r?.signal})}async getModels(t,r){return this.fetch(`/assistants/${t}/models`,{signal:r?.signal})}async setModelPreference(t,r,n){return this.fetch(`/assistants/${t}/model-preference`,{method:"PUT",json:{model_id:r},signal:n?.signal})}async getSubgraphs(t,r){return r?.namespace?this.fetch(`/assistants/${t}/subgraphs/${r.namespace}`,{params:{recurse:r?.recurse}}):this.fetch(`/assistants/${t}/subgraphs`,{params:{recurse:r?.recurse}})}async create(t){return this.fetch("/assistants",{method:"POST",json:{graph_id:t.graphId,config:t.config,context:t.context,metadata:t.metadata,assistant_id:t.assistantId,if_exists:t.ifExists,name:t.name,description:t.description}})}async update(t,r){return this.fetch(`/assistants/${t}`,{method:"PATCH",json:{graph_id:r.graphId,config:r.config,context:r.context,metadata:r.metadata,name:r.name,description:r.description}})}async delete(t){return this.fetch(`/assistants/${t}`,{method:"DELETE"})}async search(t){return this.fetch("/assistants/search",{method:"POST",json:{graph_id:t?.graphId??void 0,metadata:t?.metadata??void 0,limit:t?.limit??10,offset:t?.offset??0,sort_by:t?.sortBy??void 0,sort_order:t?.sortOrder??void 0,select:t?.select??void 0}})}async count(t){return this.fetch("/assistants/count",{method:"POST",json:{metadata:t?.metadata??void 0,graph_id:t?.graphId??void 0}})}async getVersions(t,r){return this.fetch(`/assistants/${t}/versions`,{method:"POST",json:{metadata:r?.metadata??void 0,limit:r?.limit??10,offset:r?.offset??0}})}async setLatest(t,r){return this.fetch(`/assistants/${t}/latest`,{method:"POST",json:{version:r}})}}class wFe extends _a{async get(t){return this.fetch(`/threads/${t}`)}async getContextUsage(t,r){return this.fetch(`/threads/${t}/context-usage`,{params:{agentKey:r?.agentKey}})}async create(t){const r=typeof t?.ttl=="number"?{ttl:t.ttl,strategy:"delete"}:t?.ttl;return this.fetch("/threads",{method:"POST",json:{assistant_id:t?.assistantId,metadata:{...t?.metadata,graph_id:t?.graphId},thread_id:t?.threadId,if_exists:t?.ifExists,supersteps:t?.supersteps?.map(n=>({updates:n.updates.map(o=>({values:o.values,command:o.command,as_node:o.asNode}))})),ttl:r}})}async copy(t){return this.fetch(`/threads/${t}/copy`,{method:"POST"})}async update(t,r){const n=typeof r?.ttl=="number"?{ttl:r.ttl,strategy:"delete"}:r?.ttl;return this.fetch(`/threads/${t}`,{method:"PATCH",json:{metadata:r?.metadata,ttl:n}})}async delete(t){return this.fetch(`/threads/${t}`,{method:"DELETE"})}async search(t){return this.fetch("/threads/search",{method:"POST",json:{metadata:t?.metadata??void 0,ids:t?.ids??void 0,limit:t?.limit??10,offset:t?.offset??0,status:t?.status,sort_by:t?.sortBy,sort_order:t?.sortOrder,select:t?.select??void 0}})}async count(t){return this.fetch("/threads/count",{method:"POST",json:{metadata:t?.metadata??void 0,values:t?.values??void 0,status:t?.status??void 0}})}async getState(t,r,n){return r!=null?typeof r!="string"?this.fetch(`/threads/${t}/state/checkpoint`,{method:"POST",json:{checkpoint:r,subgraphs:n?.subgraphs}}):this.fetch(`/threads/${t}/state/${r}`,{params:{subgraphs:n?.subgraphs}}):this.fetch(`/threads/${t}/state`,{params:{subgraphs:n?.subgraphs}})}async updateState(t,r){return this.fetch(`/threads/${t}/state`,{method:"POST",json:{values:r.values,checkpoint_id:r.checkpointId,checkpoint:r.checkpoint,as_node:r?.asNode}})}async patchState(t,r){let n;if(typeof t!="string"){if(typeof t.configurable?.thread_id!="string")throw new Error("Thread ID is required when updating state with a config.");n=t.configurable.thread_id}else n=t;return this.fetch(`/threads/${n}/state`,{method:"PATCH",json:{metadata:r}})}async getHistory(t,r){return this.fetch(`/threads/${t}/history`,{method:"POST",json:{limit:r?.limit??10,before:r?.before,metadata:r?.metadata,checkpoint:r?.checkpoint}})}async*joinStream(t,r){const[n,o]=this.prepareFetchOptions(`/threads/${t}/stream`,{method:"GET",headers:r?.lastEventId?{"Last-Event-ID":r.lastEventId}:void 0,params:r?.streamMode?{stream_mode:r.streamMode}:void 0}),a=this.onRequest!=null?await this.onRequest(n,o):o,s=((await this.asyncCaller.fetch(n,a)).body||new ReadableStream({start:l=>l.close()})).pipeThrough(oQ()).pipeThrough(aQ());yield*mg.fromReadableStream(s)}}class CFe extends _a{async*stream(t,r,n){const o={input:n?.input,command:n?.command,config:n?.config,context:n?.context,metadata:n?.metadata,stream_mode:n?.streamMode,stream_subgraphs:n?.streamSubgraphs,stream_resumable:n?.streamResumable,feedback_keys:n?.feedbackKeys,assistant_id:r,interrupt_before:n?.interruptBefore,interrupt_after:n?.interruptAfter,checkpoint:n?.checkpoint,checkpoint_id:n?.checkpointId,webhook:n?.webhook,multitask_strategy:n?.multitaskStrategy,on_completion:n?.onCompletion,on_disconnect:n?.onDisconnect,after_seconds:n?.afterSeconds,if_not_exists:n?.ifNotExists,checkpoint_during:n?.checkpointDuring,durability:n?.durability},a=t==null?"/runs/stream":`/threads/${t}/runs/stream`,[i,s]=this.prepareFetchOptions(a,{method:"POST",json:o,timeoutMs:null,signal:n?.signal}),l=this.onRequest!=null?await this.onRequest(i,s):s,u=await this.asyncCaller.fetch(i,l),d=zZ(u);d&&n?.onRunCreated?.(d);const f=(u.body||new ReadableStream({start:p=>p.close()})).pipeThrough(oQ()).pipeThrough(aQ());yield*mg.fromReadableStream(f)}async create(t,r,n){const o={input:n?.input,command:n?.command,config:n?.config,context:n?.context,metadata:n?.metadata,stream_mode:n?.streamMode,stream_subgraphs:n?.streamSubgraphs,stream_resumable:n?.streamResumable,assistant_id:r,interrupt_before:n?.interruptBefore,interrupt_after:n?.interruptAfter,webhook:n?.webhook,checkpoint:n?.checkpoint,checkpoint_id:n?.checkpointId,multitask_strategy:n?.multitaskStrategy,after_seconds:n?.afterSeconds,if_not_exists:n?.ifNotExists,checkpoint_during:n?.checkpointDuring,durability:n?.durability,langsmith_tracer:n?._langsmithTracer?{project_name:n?._langsmithTracer?.projectName,example_id:n?._langsmithTracer?.exampleId}:void 0},a=t===null?"/runs":`/threads/${t}/runs`,[i,s]=await this.fetch(a,{method:"POST",json:o,signal:n?.signal,withResponse:!0}),l=zZ(s);return l&&n?.onRunCreated?.(l),i}async createBatch(t){const r=t.map(n=>({...n,assistant_id:n.assistantId})).map(n=>Object.fromEntries(Object.entries(n).filter(([o,a])=>a!==void 0)));return this.fetch("/runs/batch",{method:"POST",json:r})}async wait(t,r,n){const o={input:n?.input,command:n?.command,config:n?.config,context:n?.context,metadata:n?.metadata,assistant_id:r,interrupt_before:n?.interruptBefore,interrupt_after:n?.interruptAfter,checkpoint:n?.checkpoint,checkpoint_id:n?.checkpointId,webhook:n?.webhook,multitask_strategy:n?.multitaskStrategy,on_completion:n?.onCompletion,on_disconnect:n?.onDisconnect,after_seconds:n?.afterSeconds,if_not_exists:n?.ifNotExists,checkpoint_during:n?.checkpointDuring,durability:n?.durability,langsmith_tracer:n?._langsmithTracer?{project_name:n?._langsmithTracer?.projectName,example_id:n?._langsmithTracer?.exampleId}:void 0},a=t==null?"/runs/wait":`/threads/${t}/runs/wait`,[i,s]=await this.fetch(a,{method:"POST",json:o,timeoutMs:null,signal:n?.signal,withResponse:!0}),l=zZ(s);if(l&&n?.onRunCreated?.(l),(n?.raiseError!==void 0?n.raiseError:!0)&&"__error__"in i&&typeof i.__error__=="object"&&i.__error__&&"error"in i.__error__&&"message"in i.__error__)throw new Error(`${i.__error__?.error}: ${i.__error__?.message}`);return i}async list(t,r){return this.fetch(`/threads/${t}/runs`,{params:{limit:r?.limit??10,offset:r?.offset??0,status:r?.status??void 0,select:r?.select??void 0}})}async get(t,r){return this.fetch(`/threads/${t}/runs/${r}`)}async cancel(t,r,n=!1,o="interrupt"){return this.fetch(`/threads/${t}/runs/${r}/cancel`,{method:"POST",params:{wait:n?"1":"0",action:o}})}async join(t,r,n){return this.fetch(`/threads/${t}/runs/${r}/join`,{timeoutMs:null,signal:n?.signal})}async*joinStream(t,r,n){const o=typeof n=="object"&&n!=null&&n instanceof AbortSignal?{signal:n}:n,[a,i]=this.prepareFetchOptions(t!=null?`/threads/${t}/runs/${r}/stream`:`/runs/${r}/stream`,{method:"GET",timeoutMs:null,signal:o?.signal,headers:o?.lastEventId?{"Last-Event-ID":o.lastEventId}:void 0,params:{cancel_on_disconnect:o?.cancelOnDisconnect?"1":"0",stream_mode:o?.streamMode}}),s=this.onRequest!=null?await this.onRequest(a,i):i,u=((await this.asyncCaller.fetch(a,s)).body||new ReadableStream({start:d=>d.close()})).pipeThrough(oQ()).pipeThrough(aQ());yield*mg.fromReadableStream(u)}async delete(t,r){return this.fetch(`/threads/${t}/runs/${r}`,{method:"DELETE"})}}class SFe extends _a{async putItem(t,r,n,o){t.forEach(i=>{if(i.includes("."))throw new Error(`Invalid namespace label '${i}'. Namespace labels cannot contain periods ('.')`)});const a={namespace:t,key:r,value:n,index:o?.index,ttl:o?.ttl};return this.fetch("/store/items",{method:"PUT",json:a})}async getItem(t,r,n){t.forEach(i=>{if(i.includes("."))throw new Error(`Invalid namespace label '${i}'. Namespace labels cannot contain periods ('.')`)});const o={namespace:t.join("."),key:r};n?.refreshTtl!==void 0&&(o.refresh_ttl=n.refreshTtl);const a=await this.fetch("/store/items",{params:o});return a?{...a,createdAt:a.created_at,updatedAt:a.updated_at}:null}async deleteItem(t,r){return t.forEach(n=>{if(n.includes("."))throw new Error(`Invalid namespace label '${n}'. Namespace labels cannot contain periods ('.')`)}),this.fetch("/store/items",{method:"DELETE",json:{namespace:t,key:r}})}async searchItems(t,r){const n={namespace_prefix:t,filter:r?.filter,limit:r?.limit??10,offset:r?.offset??0,query:r?.query,refresh_ttl:r?.refreshTtl};return{items:(await this.fetch("/store/items/search",{method:"POST",json:n})).items.map(a=>({...a,createdAt:a.created_at,updatedAt:a.updated_at}))}}async listNamespaces(t){const r={prefix:t?.prefix,suffix:t?.suffix,max_depth:t?.maxDepth,limit:t?.limit??100,offset:t?.offset??0};return this.fetch("/store/namespaces",{method:"POST",json:r})}}class Tm extends _a{static promiseCache={};static getOrCached(t,r){if(Tm.promiseCache[t]!=null)return Tm.promiseCache[t];const n=r();return Tm.promiseCache[t]=n,n}async getComponent(t,r){return Tm.getOrCached(`${this.apiUrl}-${t}-${r}`,()=>this.fetchText(`/ui/${t}`,{headers:{Accept:"text/html","Content-Type":"application/json"},method:"POST",json:{name:r}}))}}class MFe{assistants;threads;runs;crons;store;contexts;knowledges;conversations;sandbox;viewHosts;projects;xperts;workspaces;connectors;mcp;"~ui";"~configHash";constructor(t){this["~configHash"]=JSON.stringify({apiUrl:t?.apiUrl,apiKey:t?.apiKey,timeoutMs:t?.timeoutMs,defaultHeaders:t?.defaultHeaders,maxConcurrency:t?.callerOptions?.maxConcurrency,maxRetries:t?.callerOptions?.maxRetries,callbacks:{onFailedResponseHook:t?.callerOptions?.onFailedResponseHook!=null,onRequest:t?.onRequest!=null,fetch:t?.callerOptions?.fetch!=null}}),this.assistants=new vFe(t),this.threads=new wFe(t),this.runs=new CFe(t),this.crons=new kFe(t),this.store=new SFe(t),this.contexts=new IFe(t),this.knowledges=new RFe(t),this.conversations=new FFe(t),this.sandbox=new DFe(t),this.viewHosts=new PFe(t),this.projects=new TFe(t),this.xperts=new AFe(t),this.workspaces=new LFe(t),this.connectors=new EFe(t),this.mcp=new pFe(new _Fe(t)),this["~ui"]=new Tm(t)}}class _Fe extends _a{constructor(t){super({...t,apiUrl:xFe(t?.apiUrl)})}request(t,r){return this.fetch(t,r)}}function ute(e){return{path:e.path,deepth:e.depth}}class TFe extends _a{constructor(t){super({...t,apiUrl:Zg(t?.apiUrl,"xpert-project")})}async list(t){return this.fetch("/available",{params:{xpertId:t.xpertId,status:t.status??"active",skip:t.skip??0,take:t.take??100},signal:t.signal})}async get(t,r){return this.fetch(`/${encodeURIComponent(t)}`,{signal:r?.signal})}async listFiles(t,r={}){return this.fetch(`/${encodeURIComponent(t)}/files`,{params:ute(r),signal:r.signal})}}class AFe extends _a{constructor(t){super({...t,apiUrl:Zg(t?.apiUrl,"xpert")})}async listWorkspaceFiles(t,r={}){return this.fetch(`/${encodeURIComponent(t)}/workspace/files`,{params:ute(r),signal:r.signal})}}class LFe extends _a{constructor(t){super({...t,apiUrl:Zg(t?.apiUrl,"xpert-workspace")})}async getDefault(t={}){return this.fetch("/my/default",{params:t.purpose?{purpose:t.purpose}:void 0,signal:t.signal})}}class EFe extends _a{constructor(t){super({...t,apiUrl:Zg(t?.apiUrl,"connector")})}async runtimeOptions(t,r){return this.fetch("/runtime-options",{params:{xpertId:t,projectId:r?.projectId},signal:r?.signal})}async listBindings(t,r){return this.fetch("/bindings",{params:Gle(t),signal:r?.signal})}async definitions(t,r){return this.fetch("/definitions",{params:Gle(t),signal:r?.signal})}async createBinding(t,r){return this.fetch("/bindings",{method:"POST",json:t,signal:r?.signal})}async deleteBinding(t,r){await this.fetch(`/bindings/${encodeURIComponent(t)}`,{method:"DELETE",signal:r?.signal})}async connect(t,r,n){return this.fetch(`/bindings/${encodeURIComponent(t)}/connect`,{method:"POST",json:r,signal:n?.signal})}async authorizationStatus(t,r){return this.fetch(`/bindings/${encodeURIComponent(t)}/authorization-status`,{params:r?.xpertId?{xpertId:r.xpertId}:void 0,signal:r?.signal})}async consent(t,r={},n){return this.fetch(`/bindings/${encodeURIComponent(t)}/consent`,{method:"POST",json:r,signal:n?.signal})}async disconnectPersonalAccount(t,r){await this.fetch(`/personal-accounts/${encodeURIComponent(t)}`,{method:"DELETE",signal:r?.signal})}async listPersonalAccounts(t){return this.fetch("/personal-accounts",{signal:t?.signal})}}function Gle(e){return e.type==="project"?{scopeType:e.type,scopeId:e.projectId}:{scopeType:e.type,scopeId:e.workspaceId}}class IFe extends _a{async uploadFile(t,r){if(typeof FormData>"u"||typeof Blob>"u")throw new Error("File uploads require FormData and Blob support in the current environment.");const n=t instanceof Blob,o=n?t:new Blob([t]);let a=r?.filename;a==null&&typeof File<"u"&&n&&t instanceof File&&(a=t.name),(a==null||a.trim()==="")&&(a="upload");const i=new FormData;return i.append("file",o,a),this.fetch("/contexts/file",{method:"POST",body:i})}async deleteFile(t){await this.fetch(`/contexts/file/${t}`,{method:"DELETE"})}}class RFe extends _a{async create(t){return this.fetch("/knowledges",{method:"POST",json:t})}}function wn(e){return encodeURIComponent(e)}function zFe(e){return!e||e==="/"?"/":e.startsWith("/")?e:`/${e}`}class DFe extends _a{constructor(t){super({...t,apiUrl:bFe(t?.apiUrl)})}async listConversationServices(t,r){return this.fetch(`/conversations/${wn(t)}/services`,{params:{organizationId:r?.organizationId},signal:r?.signal})}async listThreadServices(t,r){return this.fetch(`/threads/${wn(t)}/services`,{params:{organizationId:r?.organizationId},signal:r?.signal})}async getConversationService(t,r,n){return this.fetch(`/conversations/${wn(t)}/services/${wn(r)}`,{params:{organizationId:n?.organizationId},signal:n?.signal})}async getThreadService(t,r,n){return this.fetch(`/threads/${wn(t)}/services/${wn(r)}`,{params:{organizationId:n?.organizationId},signal:n?.signal})}async startConversationService(t,r,n){return this.fetch(`/conversations/${wn(t)}/services/start`,{method:"POST",json:r,params:{organizationId:n?.organizationId},signal:n?.signal})}async startThreadService(t,r,n){return this.fetch(`/threads/${wn(t)}/services/start`,{method:"POST",json:r,params:{organizationId:n?.organizationId},signal:n?.signal})}async getConversationServiceLogs(t,r,n){return this.fetch(`/conversations/${wn(t)}/services/${wn(r)}/logs`,{params:{organizationId:n?.organizationId,tail:n?.tail},signal:n?.signal})}async getThreadServiceLogs(t,r,n){return this.fetch(`/threads/${wn(t)}/services/${wn(r)}/logs`,{params:{organizationId:n?.organizationId,tail:n?.tail},signal:n?.signal})}async stopConversationService(t,r,n){return this.fetch(`/conversations/${wn(t)}/services/${wn(r)}/stop`,{method:"POST",params:{organizationId:n?.organizationId},signal:n?.signal})}async stopThreadService(t,r,n){return this.fetch(`/threads/${wn(t)}/services/${wn(r)}/stop`,{method:"POST",params:{organizationId:n?.organizationId},signal:n?.signal})}async restartConversationService(t,r,n){return this.fetch(`/conversations/${wn(t)}/services/${wn(r)}/restart`,{method:"POST",params:{organizationId:n?.organizationId},signal:n?.signal})}async restartThreadService(t,r,n){return this.fetch(`/threads/${wn(t)}/services/${wn(r)}/restart`,{method:"POST",params:{organizationId:n?.organizationId},signal:n?.signal})}async createConversationServicePreviewSession(t,r,n){return this.fetch(`/conversations/${wn(t)}/services/${wn(r)}/preview-session`,{method:"POST",params:{organizationId:n?.organizationId},signal:n?.signal})}async createThreadServicePreviewSession(t,r,n){return this.fetch(`/threads/${wn(t)}/services/${wn(r)}/preview-session`,{method:"POST",params:{organizationId:n?.organizationId},signal:n?.signal})}getConversationServiceProxyUrl(t,r,n){const o=zFe(n);return`${this.apiUrl}/conversations/${wn(t)}/services/${wn(r)}/proxy${o}`}}function Cn(e){return encodeURIComponent(e)}function OFe(e){return{page:e.page,pageSize:e.pageSize,cursor:e.cursor,search:e.search,sortBy:e.sortBy,sortDirection:e.sortDirection,selectionId:e.selectionId,filters:e.filters?.length?JSON.stringify(e.filters):void 0,parameters:e.parameters&&Object.keys(e.parameters).length>0?JSON.stringify(e.parameters):void 0}}function BFe(e){return{search:e.search,parameters:e.parameters&&Object.keys(e.parameters).length>0?JSON.stringify(e.parameters):void 0}}function NFe(e){if(typeof Blob>"u")throw new Error("View file actions require Blob and FormData support in the current environment.");const t=e.file,r=t instanceof Blob?t:ArrayBuffer.isView(t)?new Blob([new Uint8Array(t.buffer,t.byteOffset,t.byteLength).slice().buffer]):new Blob([t]),n=e.fileName?.trim()||(typeof File<"u"&&t instanceof File?t.name:"upload.bin");return{blob:r,fileName:n}}class jFe extends _a{constructor(t){super({...t,apiUrl:Zg(t?.apiUrl,"workspace-files")})}createSession(t,r,n,o){return this.fetch("/view-sessions",{method:"POST",credentials:"include",json:{hostType:t,hostId:r,viewKey:n,runtimeScope:o?.runtimeScope},headers:_d(o?.runtimeScope),signal:o?.signal})}createGrant(t,r,n){return this.fetch(`/view-sessions/${Cn(t)}/grants`,{method:"POST",json:r,signal:n?.signal})}async revokeSession(t,r){await this.fetch(`/view-sessions/${Cn(t)}`,{method:"DELETE",credentials:"include",signal:r?.signal})}}class PFe extends _a{workspaceFiles;constructor(t){super({...t,apiUrl:Zg(t?.apiUrl,"view-hosts")}),this.workspaceFiles=new jFe(t)}listSlotViews(t,r,n,o){return this.fetch(`/${Cn(t)}/${Cn(r)}/slots/${Cn(n)}/views`,{signal:o?.signal,headers:_d(o?.runtimeScope)})}getManifest(t,r,n,o){return this.fetch(`/${Cn(t)}/${Cn(r)}/views/${Cn(n)}/manifest`,{signal:o?.signal,headers:_d(o?.runtimeScope)})}getData(t,r,n,o={},a){return this.fetch(`/${Cn(t)}/${Cn(r)}/views/${Cn(n)}/data`,{params:OFe(o),headers:_d(a?.runtimeScope),signal:a?.signal})}getRemoteComponentEntry(t,r,n,o){return this.fetchText(`/${Cn(t)}/${Cn(r)}/views/${Cn(n)}/remote-component/entry`,{headers:{Accept:"text/html",..._d(o?.runtimeScope)},signal:o?.signal})}getParameterOptions(t,r,n,o,a={},i){return this.fetch(`/${Cn(t)}/${Cn(r)}/views/${Cn(n)}/parameters/${Cn(o)}/options`,{params:BFe(a),headers:_d(i?.runtimeScope),signal:i?.signal})}executeAction(t,r,n,o,a={},i){return this.fetch(`/${Cn(t)}/${Cn(r)}/views/${Cn(n)}/actions/${Cn(o)}`,{method:"POST",json:a,headers:_d(i?.runtimeScope),signal:i?.signal})}executeFileAction(t,r,n,o,a,i){if(typeof FormData>"u")throw new Error("View file actions require Blob and FormData support in the current environment.");const{blob:s,fileName:l}=NFe(a),u=new FormData;return u.append("file",s,l),a.targetId&&u.append("targetId",a.targetId),a.input&&u.append("input",JSON.stringify(a.input)),a.parameters&&Object.keys(a.parameters).length>0&&u.append("parameters",JSON.stringify(a.parameters)),this.fetch(`/${Cn(t)}/${Cn(r)}/views/${Cn(n)}/actions/${Cn(o)}/file`,{method:"POST",body:u,headers:_d(i?.runtimeScope),signal:i?.signal})}createFileAccessSession(t,r,n,o){return this.workspaceFiles.createSession(t,r,n,o)}createFileAccessGrant(t,r,n){return this.workspaceFiles.createGrant(t,r,n)}revokeFileAccessSession(t,r){return this.workspaceFiles.revokeSession(t,r)}}function _d(e){return{...e?.projectId?{"x-xpert-view-project-id":e.projectId}:{},...e?.conversationId?{"x-xpert-view-conversation-id":e.conversationId}:{}}}class FFe extends _a{async create(t){return this.fetch("/conversations",{method:"POST",json:t})}async get(t){return this.fetch(`/conversations/${t}`)}async listWorkspaceFiles(t,r={}){return this.fetch(`/conversations/${encodeURIComponent(t)}/files`,{params:ute(r),signal:r.signal})}async update(t,r){return this.fetch(`/conversations/${t}`,{method:"PATCH",json:r})}async delete(t){await this.fetch(`/conversations/${t}`,{method:"DELETE"})}async search(t){return this.fetch("/conversations/search",{method:"POST",json:{where:t?.where,order:t?.order,limit:t?.limit,offset:t?.offset,search:t?.search}})}async getGoal(t,r){return this.fetch(`/conversations/${t}/goal`,{signal:r?.signal,emptyResponse:null})}async getTaskSummary(t,r){return this.fetch(`/conversations/${t}/task-summary`,{signal:r?.signal})}async listTaskSummaryItems(t,r,n){return this.fetch(`/conversations/${t}/task-summary/${r}`,{params:{offset:n?.offset,limit:n?.limit},signal:n?.signal})}async setGoal(t,r,n){const o=await this.fetch(`/conversations/${t}/goal`,{method:"PUT",json:r,signal:n?.signal,emptyResponse:null});return this.requireGoalWriteResult(t,o,n)}async updateGoal(t,r,n){const o=await this.fetch(`/conversations/${t}/goal`,{method:"PATCH",json:r,signal:n?.signal,emptyResponse:null});return this.requireGoalWriteResult(t,o,n)}async requireGoalWriteResult(t,r,n){if(r)return r;const o=await this.getGoal(t,n);if(o)return o;throw new Error(`Conversation goal API returned an empty response for "${t}".`)}async clearGoal(t,r){return this.fetch(`/conversations/${t}/goal`,{method:"DELETE",signal:r?.signal,emptyResponse:null})}async listMessages(t,r){return this.fetch(`/conversations/${t}/messages`,{params:{limit:r?.limit,offset:r?.offset}})}async searchMessages(t,r){return this.fetch(`/conversations/${t}/messages/search`,{method:"POST",json:{where:r?.where,order:r?.order,limit:r?.limit,offset:r?.offset}})}async createMessage(t,r){return this.fetch(`/conversations/${t}/messages`,{method:"POST",json:r})}async getMessage(t,r){return this.fetch(`/conversations/${t}/messages/${r}`)}async updateMessage(t,r,n){return this.fetch(`/conversations/${t}/messages/${r}`,{method:"PATCH",json:n})}async deleteMessage(t,r){await this.fetch(`/conversations/${t}/messages/${r}`,{method:"DELETE"})}async listFeedbacks(t,r,n){return this.fetch(`/conversations/${t}/messages/${r}/feedbacks`,{params:{limit:n?.limit,offset:n?.offset}})}async searchFeedbacks(t,r,n){return this.fetch(`/conversations/${t}/messages/${r}/feedbacks/search`,{method:"POST",json:{where:n?.where,order:n?.order,limit:n?.limit,offset:n?.offset}})}async createFeedback(t,r,n){return this.fetch(`/conversations/${t}/messages/${r}/feedbacks`,{method:"POST",json:n})}async getFeedback(t,r,n){return this.fetch(`/conversations/${t}/messages/${r}/feedbacks/${n}`)}async updateFeedback(t,r,n,o){return this.fetch(`/conversations/${t}/messages/${r}/feedbacks/${n}`,{method:"PATCH",json:o})}async deleteFeedback(t,r,n){await this.fetch(`/conversations/${t}/messages/${r}/feedbacks/${n}`,{method:"DELETE"})}}const qFe="assistant.chat.send_message",HFe="assistant.context.set",Zle="assistant.citation.open",$Fe="knowledgebase.open_citation";function dte(e){return e.type==="agent_event"}function VFe(e){if(!(!e||typeof e=="string"))return typeof e.executionId=="string"&&e.executionId.trim()?e.executionId.trim():void 0}function UFe(e){if(!(!e||typeof e=="string"))return typeof e.parentExecutionId=="string"&&e.parentExecutionId.trim()?e.parentExecutionId.trim():void 0}function iQ(e){if(!(!e||typeof e=="string"))return typeof e.agentKey=="string"&&e.agentKey.trim()?e.agentKey.trim():void 0}function CV(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function Cr(e){if(typeof e!="string")return null;const t=e.trim();return t||null}function WFe(e){if(typeof e=="number")return Number.isFinite(e)?e:void 0;if(typeof e!="string")return;const t=e.trim();if(!t)return;const r=Number(t);return Number.isFinite(r)?r:void 0}function Kle(e){if(CV(e))return Cr(e.title)??Cr(e.name)??void 0}function Yle(e){if(!CV(e))return;const t=e.attempt;return typeof t=="number"&&Number.isFinite(t)?String(t):Cr(t)??void 0}function GFe(e,t){if(Cr(e.type)!=="middleware_event")return null;const r=Cr(e.middlewareKey)??Cr(e.middlewareName)??"middleware",n=Cr(e.phase)??"event",o=n.split("_")[0]||n,a=Yle(e.data)??Yle(e)??"default";return`middleware:${t}:${r}:${o}:${a}`}function cge(e,t){if(!CV(e))return null;const r=Cr(e.id);if(!r)return null;const n=Cr(e.parentId)??Cr(e.parentExecutionId)??void 0,o=Cr(e.xpertName)??Kle(e.agent)??Kle(e.xpert),a=t===wr.ON_AGENT_START?"running":Cr(e.status)??void 0,i=Cr(e.type),s=Cr(e.category),l=Cr(e.agentKey),u=Cr(e.title),d=WFe(e.elapsedTime),f=Cr(e.runId),p=Cr(e.createdAt),g=Cr(e.updatedAt),b=Cr(e.startedAt),v=Cr(e.endedAt);return{id:r,...n?{parentId:n,parentExecutionId:n}:{},...i?{nodeType:i}:{},...s?{category:s}:{},...l?{agentKey:l}:{},...o?{xpertName:o}:{},...u?{title:u}:{},...a?{status:a}:{},...d!==void 0?{elapsedTime:d}:{},...e.error!==void 0?{error:e.error}:{},...e.inputs!==void 0?{inputs:e.inputs}:{},...f?{runId:f}:{},...p?{createdAt:p}:{},...g?{updatedAt:g}:{},...b?{startedAt:b}:{},...v?{endedAt:v}:{}}}function ZFe(e,t){return e?{...e,...t,id:e.id||t.id,parentId:t.parentId??e.parentId,parentExecutionId:t.parentExecutionId??e.parentExecutionId,nodeType:t.nodeType??e.nodeType,category:t.category??e.category,agentKey:t.agentKey??e.agentKey,xpertName:t.xpertName??e.xpertName,title:t.title??e.title,status:t.status??e.status,elapsedTime:t.elapsedTime??e.elapsedTime,error:t.error??e.error,inputs:t.inputs??e.inputs}:t}function uge(e){return e?.nodeType?.trim().toLowerCase()==="middleware"}function KFe(e,t){const r=e?[...e]:[],n=r.findIndex(o=>o.id===t.id);return n>=0?(r[n]=ZFe(r[n],t),r):(r.push(t),r)}function YFe(e){if(!CV(e))return null;const t=Cr(e.executionId);if(!t)return null;const r=Cr(e.parentExecutionId)??Cr(e.parentId)??void 0,n=Cr(e.eventId)??Cr(e.id)??GFe(e,t)??Bo(),o=Cr(e.agentKey)??void 0,a=Cr(e.xpertName)??void 0,i=Cr(e.runId)??void 0,s=Cr(e.created_date)??Cr(e.createdAt)??new Date().toISOString();return{id:n,type:"agent_event",event:Cr(e.type)??Cr(e.event)??Cr(e.name)??void 0,title:Cr(e.title)??void 0,message:Cr(e.message)??void 0,status:Cr(e.status)??void 0,...e.error!==void 0?{error:e.error}:{},data:e,executionId:t,...r?{parentExecutionId:r}:{},...o?{agentKey:o}:{},...a?{xpertName:a}:{},...i?{runId:i}:{},created_date:s}}function XFe(e,t=Date.now()){if(!e)return;const r=new Date(t).toISOString();return e.map(n=>{if(n.status?.trim().toLowerCase()!=="running")return n;const o=Date.parse(n.startedAt??n.createdAt??""),a=typeof n.elapsedTime=="number"&&Number.isFinite(n.elapsedTime)?n.elapsedTime:Number.isNaN(o)?void 0:Math.max(0,t-o);return{...n,status:"interrupted",endedAt:r,updatedAt:r,...a!==void 0?{elapsedTime:a}:{}}})}function QFe(e,{activeRunId:t,hasActiveRun:r,interruptedAt:n=Date.now()}){if(!r)return e;const o=t?.trim();let a=-1;for(let l=e.length-1;l>=0;l-=1){const u=e[l],d=u.type?.trim().toLowerCase();if(d!=="ai"&&d!=="assistant")continue;const f=u.agentRuns?.some(g=>g.status?.trim().toLowerCase()==="running"),p=!!o&&u.executionId?.trim()===o;if(f||p){a=l;break}}if(a<0)return e;const i=[...e],s=i[a];return i[a]={...s,status:"aborted",agentRuns:XFe(s.agentRuns,n)},i}function JFe(e,t,r,n){e(o=>{const a=o.messages??[],i=r(a);if(i<0)return{...o,messages:[...a,n(t)]};const s=[...a],l=s[i];return s[i]={...l,agentRuns:KFe(l.agentRuns,t)},{...o,messages:s}})}function $b(e){if(typeof e!="string")return;const t=e.trim();return t||void 0}function Xle(e){const t=$b(e);if(!t)throw new Error("[chatkit-ui] Parent returned an invalid client secret.");return t}function dge(e,t){if(typeof e=="string"){const r=Xle(e),n=$b(t);return n?{secret:r,organizationId:n}:{secret:r}}if(e&&typeof e=="object"&&!Array.isArray(e)){const r=Xle(e.secret),n=$b(e.organizationId),o=$b(e.xpertId),a=$b(e.assistantId);return{secret:r,...n?{organizationId:n}:{},...o?{xpertId:o}:{},...a?{assistantId:a}:{}}}throw new Error("[chatkit-ui] Parent returned an invalid client secret.")}function Qle(e){return typeof e=="string"&&e.trim().length>0}function hge({apiUrl:e,clientSecret:t}){const r=Qle(e),n=Qle(t);return r&&n?null:!r&&!n?"apiUrlAndClientSecret":r?"clientSecret":"apiUrl"}function W3({apiUrl:e,clientSecret:t}){const r=hge({apiUrl:e,clientSecret:t});if(!r)return null;switch(r){case"apiUrl":return new Error("Missing ChatKit API URL");case"clientSecret":return new Error("Missing ChatKit client secret");case"apiUrlAndClientSecret":return new Error("Missing ChatKit API URL and client secret");default:return new Error("Missing ChatKit configuration")}}function G4(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function Jle(e){const t=e?.[Cs];return G4(t)?t:{}}function ece(e){if(!G4(e))return{value:{},env:{}};const{env:t,...r}=e;return{value:r,env:G4(t)?t:{}}}function fge(e){const t=ece(e.defaults?.context),r=ece(e.context),n=G4(e.defaults?.config)?e.defaults?.config:{},o=G4(e.config)?e.config:{},a={...t.env,...r.env},i={...t.value,...r.value},s={...n,...o},l=Object.keys(a).length>0,u=l?{...i,env:a}:i,d=Object.keys(i).length>0||l,f=Object.keys(s).length>0;return{...d?{context:u}:{},...f?{config:s}:{}}}function tce(e){return fge(e)}function RH(e){const t=e.defaults?.state,r=e.state,n=fge({defaults:{context:e.defaults?.context,config:e.defaults?.config},context:e.context,config:e.config}),o={...t??{},...r??{}},a={...Jle(t),...Jle(r),...e.humanInput??{}};return Object.keys(a).length>0&&(o[Cs]=a),{...Object.keys(o).length>0?{state:o}:{},...n.context?{context:n.context}:{},...n.config?{config:n.config}:{}}}const eqe=new Set(["pending","running"]);function rce(e){const t=Date.parse(e.updated_at||e.created_at);return Number.isFinite(t)?t:0}function tqe(e){return e.filter(r=>eqe.has(r.status)&&!!r.run_id?.trim()).sort((r,n)=>rce(n)-rce(r))[0]?.run_id.trim()||null}async function rqe(e,t={}){const r=Math.max(1,t.attempts??20),n=Math.max(0,t.intervalMs??250);for(let o=0;o<r;o+=1){if(t.shouldContinue&&!t.shouldContinue())return null;const a=tqe(await e());if(a)return a;if(o===r-1)break;await new Promise(i=>setTimeout(i,n))}return null}const DZ={current:null};function pge(){return{streamRef:DZ,stream:DZ.current,setStream:e=>{DZ.current=e}}}function Kp(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function ca(e){return typeof e=="string"&&e.trim().length>0}function Kn(e){return e===void 0||typeof e=="string"}function qr(e){return ca(e)?e.trim():void 0}function Kg(e){return typeof e=="string"&&e.trim().length>0?e:null}function zH(e){return typeof e=="number"&&Number.isInteger(e)&&e>0?e:null}function g4(e){return e===void 0||Number.isFinite(e)}function nqe(e){return Kp(e)?"name"in e&&"value"in e&&typeof e.name=="string"&&typeof e.value=="string":!1}function mge(e){return Array.isArray(e)&&e.every(nqe)}function Id(e,t){const r=t?.allowZero??!1;if(!Number.isFinite(e))return;const n=e;if(n>0||r&&n===0)return n}function oqe(e){return ca(e.fileId)||ca(e.url)||ca(e.name)||ca(e.label)||ca(e.text)}function aqe(e){if(!Kp(e))return!1;const t=e;return ca(t.path)&&zH(t.startLine)!==null&&zH(t.endLine)!==null&&Kg(t.text)!==null&&Kn(t.id)&&Kn(t.label)&&Kn(t.language)&&Kn(t.taskId)}function iqe(e){if(!Kp(e))return!1;const t=e;return t.type==="quote"&&Kg(t.text)!==null&&Kn(t.id)&&Kn(t.label)&&Kn(t.messageId)&&Kn(t.source)}function sqe(e){if(!Kp(e))return!1;const t=e;return t.type==="image"&&Kn(t.id)&&Kn(t.label)&&Kn(t.text)&&Kn(t.fileId)&&Kn(t.url)&&Kn(t.mimeType)&&Kn(t.name)&&g4(t.size)&&g4(t.width)&&g4(t.height)&&oqe(t)}function lqe(e){if(!Kp(e))return!1;const t=e;return t.type==="element"&&mge(t.attributes)&&ca(t.outerHtml)&&ca(t.pageUrl)&&ca(t.selector)&&ca(t.serviceId)&&ca(t.tagName)&&Kg(t.text)!==null&&Kn(t.id)&&Kn(t.label)&&Kn(t.pageTitle)&&Kn(t.role)}function cqe(e){if(!Kp(e))return!1;const t=e;return t.type==="file_element"&&mge(t.attributes)&&ca(t.domPath)&&ca(t.filePath)&&ca(t.outerHtml)&&ca(t.selector)&&ca(t.tagName)&&Kg(t.text)!==null&&Kn(t.id)&&Kn(t.label)&&Kn(t.documentTitle)&&Kn(t.role)&&g4(t.sourceStartLine)&&g4(t.sourceEndLine)}function nce(e){return{type:"code",...qr(e.id)?{id:qr(e.id)}:{},...qr(e.label)?{label:qr(e.label)}:{},path:e.path.trim(),startLine:e.startLine,endLine:e.endLine,text:e.text,...qr(e.language)?{language:qr(e.language)}:{},...qr(e.taskId)?{taskId:qr(e.taskId)}:{}}}function uqe(e){return{type:"quote",...qr(e.id)?{id:qr(e.id)}:{},...qr(e.label)?{label:qr(e.label)}:{},text:e.text,...qr(e.messageId)?{messageId:qr(e.messageId)}:{},...qr(e.source)?{source:qr(e.source)}:{}}}function dqe(e){const t=qr(e.fileId),r=qr(e.url),n=qr(e.name),o=qr(e.label),i=Kg(e.text)??n??o??"Pasted image";return{type:"image",...qr(e.id)?{id:qr(e.id)}:{},...o?{label:o}:{},text:i,...t?{fileId:t}:{},...r?{url:r}:{},...qr(e.mimeType)?{mimeType:qr(e.mimeType)}:{},...n?{name:n}:{},...Id(e.size,{allowZero:!0})!==void 0?{size:Id(e.size,{allowZero:!0})}:{},...Id(e.width)!==void 0?{width:Id(e.width)}:{},...Id(e.height)!==void 0?{height:Id(e.height)}:{}}}function hqe(e){const t=qr(e.id),r=qr(e.label),n=qr(e.pageTitle),o=qr(e.role);return{type:"element",...t?{id:t}:{},...r?{label:r}:{},attributes:e.attributes,outerHtml:e.outerHtml,...n?{pageTitle:n}:{},pageUrl:e.pageUrl.trim(),...o?{role:o}:{},selector:e.selector,serviceId:e.serviceId,tagName:e.tagName,text:e.text}}function fqe(e){const t=qr(e.id),r=qr(e.label),n=qr(e.documentTitle),o=qr(e.role);return{type:"file_element",...t?{id:t}:{},...r?{label:r}:{},attributes:e.attributes,...n?{documentTitle:n}:{},domPath:e.domPath,filePath:e.filePath,outerHtml:e.outerHtml,...o?{role:o}:{},selector:e.selector,...Id(e.sourceStartLine)!==void 0?{sourceStartLine:e.sourceStartLine}:{},...Id(e.sourceEndLine)!==void 0?{sourceEndLine:e.sourceEndLine}:{},tagName:e.tagName,text:e.text}}function pqe(e){return e.type===void 0&&ca(e.path)&&zH(e.startLine)!==null&&zH(e.endLine)!==null&&Kg(e.text)!==null}function mqe(e){if(!Kp(e))return null;const t=e,r=qr(t.type);return r==="code"&&aqe(t)?nce(t):iqe(t)?uqe(t):sqe(t)?dqe(t):lqe(t)?hqe(t):cqe(t)?fqe(t):r===void 0&&pqe(t)?nce(t):null}function il(e){return Array.isArray(e)?e.map(t=>mqe(t)).filter(t=>t!==null):[]}function gge(e){return e.startLine===e.endLine?`${e.startLine}`:`${e.startLine}-${e.endLine}`}function yge(e){const t=e.text.replace(/\s+/g," ").trim();return t.length<=32?t:`${t.slice(0,29)}...`}function bge(e){return`${e.path}:${gge(e)}`}function gqe(e){return e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(e<10*1024?1:0)} KB`:`${(e/(1024*1024)).toFixed(e<10*1024*1024?1:0)} MB`}function yqe(e){return!e.width||!e.height?null:`${e.width}x${e.height}`}function bqe(e){return[e.mimeType?.trim()||null,yqe(e),typeof e.size=="number"?gqe(e.size):null].filter(t=>!!t)}function Am(e){return e.type==="image"&&e.fileId?.trim()?`image:${e.fileId.trim()}`:e.id&&e.id.trim()?e.id.trim():e.type==="code"?[e.type,e.path,e.startLine,e.endLine,e.text].join(":"):e.type==="image"?[e.type,e.url??"",e.name??"",e.mimeType??"",e.size??"",e.width??"",e.height??"",e.text].join(":"):e.type==="element"?[e.type,e.serviceId,e.pageUrl,e.selector].join(":"):e.type==="file_element"?[e.type,e.filePath,e.domPath,e.selector].join(":"):[e.type,e.messageId??"",e.source??"",e.text].join(":")}function Y2(e,t){const r=[...e],n=new Set(e.map(Am));return t.forEach(o=>{const a=Am(o);n.has(a)||(n.add(a),r.push(o))}),r}function Nm(e){if(e.label&&e.label.trim())return e.label.trim();if(e.type==="code"){const t=e.path.split("/");return`${t[t.length-1]||e.path} ${gge(e)}`}return e.type==="image"?e.name?.trim()||"Pasted image":e.type==="element"?e.pageTitle?.trim()||e.tagName:e.type==="file_element"?e.documentTitle?.trim()||e.filePath:e.type==="quote"&&e.source?.trim()?e.source.trim():yge(e)}function sQ(e){if(e.type==="code")return bge(e);if(e.type==="image"){const t=bqe(e);return t.length?t.join(" • "):null}if(e.type==="element")return e.pageUrl;if(e.type==="file_element"){const t=e.sourceStartLine,r=e.sourceEndLine??t;return t?`${e.filePath}:${t}${r===t?"":`-${r}`}`:e.filePath}return e.type==="quote"&&e.source?.trim()?yge(e):e.type==="quote"&&e.messageId?.trim()?`Message ${e.messageId.trim()}`:null}function xqe(e){if(e.type==="code")return`${bge(e)}
96
96
 
97
97
  ${e.text}`;if(e.type==="image"){const r=[Nm(e)],n=sQ(e),o=e.url?.trim()&&!e.url.trim().startsWith("data:")?e.url.trim():null;return n&&r.push(n),o&&r.push(o),e.text.trim()&&e.text.trim()!==Nm(e)&&r.push("",e.text.trim()),r.join(`
98
98
  `)}return e.type==="element"?`${Nm(e)}
@@ -454,7 +454,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
454
454
  `))})}function but(e){var t=e.codeString,r=e.codeStyle,n=e.containerStyle,o=n===void 0?{float:"left",paddingRight:"10px"}:n,a=e.numberStyle,i=a===void 0?{}:a,s=e.startingLineNumber;return rr.createElement("code",{style:Object.assign({},r,o)},yut({lines:t.replace(/\n$/,"").split(`
455
455
  `),style:i,startingLineNumber:s}))}function xut(e){return"".concat(e.toString().length,".25em")}function K5e(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function Y5e(e,t,r){var n={display:"inline-block",minWidth:xut(r),paddingRight:"1em",textAlign:"right",userSelect:"none"},o=typeof e=="function"?e(t):e,a=jd(jd({},n),o);return a}function aH(e){var t=e.children,r=e.lineNumber,n=e.lineNumberStyle,o=e.largestLineNumber,a=e.showInlineLineNumbers,i=e.lineProps,s=i===void 0?{}:i,l=e.className,u=l===void 0?[]:l,d=e.showLineNumbers,f=e.wrapLongLines,p=e.wrapLines,g=p===void 0?!1:p,b=g?jd({},typeof s=="function"?s(r):s):{};if(b.className=b.className?[].concat(sJ(b.className.trim().split(/\s+/)),sJ(u)):u,r&&a){var v=Y5e(n,r,o);t.unshift(K5e(r,v))}return f&d&&(b.style=jd({display:"flex"},b.style)),{type:"element",tagName:"span",properties:b,children:t}}function X5e(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n<e.length;n++){var o=e[n];if(o.type==="text")r.push(aH({children:[o],className:sJ(new Set(t))}));else if(o.children){var a=t.concat(o.properties.className);X5e(o.children,a).forEach(function(i){return r.push(i)})}}return r}function kut(e,t,r,n,o,a,i,s,l){var u,d=X5e(e.value),f=[],p=-1,g=0;function b(R,I){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return aH({children:R,lineNumber:I,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:o,lineProps:r,className:L,showLineNumbers:n,wrapLongLines:l,wrapLines:t})}function v(R,I){if(n&&I&&o){var L=Y5e(s,I,i);R.unshift(K5e(I,L))}return R}function C(R,I){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||L.length>0?b(R,I,L):v(R,I)}for(var S=function(){var I=d[g],L=I.children[0].value,N=gut(L);if(N){var V=L.split(`
456
456
  `);V.forEach(function(P,G){var Q=n&&f.length+a,re={type:"text",value:"".concat(P,`
457
- `)};if(G===0){var K=d.slice(p+1,g).concat(aH({children:[re],className:I.properties.className})),Z=C(K,Q);f.push(Z)}else if(G===V.length-1){var z=d[g+1]&&d[g+1].children&&d[g+1].children[0],O={type:"text",value:"".concat(P)};if(z){var D=aH({children:[O],className:I.properties.className});d.splice(g+1,0,D)}else{var $=[O],q=C($,Q,I.properties.className);f.push(q)}}else{var U=[re],oe=C(U,Q,I.properties.className);f.push(oe)}}),p=g}g++};g<d.length;)S();if(p!==d.length-1){var M=d.slice(p+1,d.length);if(M&&M.length){var T=n&&f.length+a,A=C(M,T);f.push(A)}}return t?f:(u=[]).concat.apply(u,f)}function vut(e){var t=e.rows,r=e.stylesheet,n=e.useInlineStyles;return t.map(function(o,a){return Z5e({node:o,stylesheet:r,useInlineStyles:n,key:"code-segment-".concat(a)})})}function Q5e(e){return e&&typeof e.highlightAuto<"u"}function wut(e){var t=e.astGenerator,r=e.language,n=e.code,o=e.defaultCodeValue;if(Q5e(t)){var a=fut(t,r);return r==="text"?{value:o,language:"text"}:a?t.highlight(r,n):t.highlightAuto(n)}try{return r&&r!=="text"?{value:t.highlight(n,r)}:{value:o}}catch{return{value:o}}}function Cut(e,t){return function(n){var o,a,i=n.language,s=n.children,l=n.style,u=l===void 0?t:l,d=n.customStyle,f=d===void 0?{}:d,p=n.codeTagProps,g=p===void 0?{className:i?"language-".concat(i):void 0,style:jd(jd({},u['code[class*="language-"]']),u['code[class*="language-'.concat(i,'"]')])}:p,b=n.useInlineStyles,v=b===void 0?!0:b,C=n.showLineNumbers,S=C===void 0?!1:C,M=n.showInlineLineNumbers,T=M===void 0?!0:M,A=n.startingLineNumber,R=A===void 0?1:A,I=n.lineNumberContainerStyle,L=n.lineNumberStyle,N=L===void 0?{}:L,V=n.wrapLines,P=n.wrapLongLines,G=P===void 0?!1:P,Q=n.lineProps,re=Q===void 0?{}:Q,K=n.renderer,Z=n.PreTag,z=Z===void 0?"pre":Z,O=n.CodeTag,D=O===void 0?"code":O,$=n.code,q=$===void 0?(Array.isArray(s)?s[0]:s)||"":$,U=n.astGenerator,oe=nut(n,put);U=U||e;var W=S?rr.createElement(but,{containerStyle:I,codeStyle:g.style||{},numberStyle:N,startingLineNumber:R,codeString:q}):null,he=u.hljs||u['pre[class*="language-"]']||{backgroundColor:"#fff"},we=Q5e(U)?"hljs":"prismjs",ve=v?Object.assign({},oe,{style:Object.assign({},he,f)}):Object.assign({},oe,{className:oe.className?"".concat(we," ").concat(oe.className):we,style:Object.assign({},f)});if(G?g.style=jd({whiteSpace:"pre-wrap"},g.style):g.style=jd({whiteSpace:"pre"},g.style),!U)return rr.createElement(z,ve,W,rr.createElement(D,g,q));(V===void 0&&K||G)&&(V=!0),K=K||vut;var fe=[{type:"text",value:q}],Le=wut({astGenerator:U,language:i,code:q,defaultCodeValue:fe});Le.language===null&&(Le.value=fe);var Oe=(o=(a=q.match(/\n/g))===null||a===void 0?void 0:a.length)!==null&&o!==void 0?o:0,Te=R+Oe,rt=kut(Le,V,re,S,T,R,Te,N,G);return rr.createElement(z,ve,rr.createElement(D,g,!T&&W,K({rows:rt,stylesheet:u,useInlineStyles:v})))}}const Sut="modulepreload",Mut=function(e){return"/"+e},Nhe={},ne=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let l=function(u){return Promise.all(u.map(d=>Promise.resolve(d).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),s=i?.nonce||i?.getAttribute("nonce");o=l(r.map(u=>{if(u=Mut(u),u in Nhe)return;Nhe[u]=!0;const d=u.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${f}`))return;const p=document.createElement("link");if(p.rel=d?"stylesheet":Sut,d||(p.as="script"),p.crossOrigin="",p.href=u,s&&p.setAttribute("nonce",s),document.head.appendChild(p),d)return new Promise((g,b)=>{p.addEventListener("load",g),p.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${u}`)))})}))}function a(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return o.then(i=>{for(const s of i||[])s.status==="rejected"&&a(s.reason);return t().catch(a)})};function jhe(e,t,r,n,o,a,i){try{var s=e[a](i),l=s.value}catch(u){return void r(u)}s.done?t(l):Promise.resolve(l).then(n,o)}function J5e(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var a=e.apply(t,r);function i(l){jhe(a,n,o,i,s,"next",l)}function s(l){jhe(a,n,o,i,s,"throw",l)}i(void 0)})}}function _ut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Phe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,G5e(n.key),n)}}function Tut(e,t,r){return t&&Phe(e.prototype,t),r&&Phe(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Aut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lut(e,t){if(t&&(lc(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Aut(e)}function m$(e){return m$=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},m$(e)}function lJ(e,t){return lJ=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},lJ(e,t)}function Eut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&lJ(e,t)}function cJ(){cJ=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(z,O,D){z[O]=D.value},a=typeof Symbol=="function"?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(z,O,D){return Object.defineProperty(z,O,{value:D,enumerable:!0,configurable:!0,writable:!0}),z[O]}try{u({},"")}catch{u=function(D,$,q){return D[$]=q}}function d(z,O,D,$){var q=O&&O.prototype instanceof S?O:S,U=Object.create(q.prototype),oe=new K($||[]);return o(U,"_invoke",{value:P(z,D,oe)}),U}function f(z,O,D){try{return{type:"normal",arg:z.call(O,D)}}catch($){return{type:"throw",arg:$}}}t.wrap=d;var p="suspendedStart",g="suspendedYield",b="executing",v="completed",C={};function S(){}function M(){}function T(){}var A={};u(A,i,function(){return this});var R=Object.getPrototypeOf,I=R&&R(R(Z([])));I&&I!==r&&n.call(I,i)&&(A=I);var L=T.prototype=S.prototype=Object.create(A);function N(z){["next","throw","return"].forEach(function(O){u(z,O,function(D){return this._invoke(O,D)})})}function V(z,O){function D(q,U,oe,W){var he=f(z[q],z,U);if(he.type!=="throw"){var we=he.arg,ve=we.value;return ve&&lc(ve)=="object"&&n.call(ve,"__await")?O.resolve(ve.__await).then(function(fe){D("next",fe,oe,W)},function(fe){D("throw",fe,oe,W)}):O.resolve(ve).then(function(fe){we.value=fe,oe(we)},function(fe){return D("throw",fe,oe,W)})}W(he.arg)}var $;o(this,"_invoke",{value:function(U,oe){function W(){return new O(function(he,we){D(U,oe,he,we)})}return $=$?$.then(W,W):W()}})}function P(z,O,D){var $=p;return function(q,U){if($===b)throw Error("Generator is already running");if($===v){if(q==="throw")throw U;return{value:e,done:!0}}for(D.method=q,D.arg=U;;){var oe=D.delegate;if(oe){var W=G(oe,D);if(W){if(W===C)continue;return W}}if(D.method==="next")D.sent=D._sent=D.arg;else if(D.method==="throw"){if($===p)throw $=v,D.arg;D.dispatchException(D.arg)}else D.method==="return"&&D.abrupt("return",D.arg);$=b;var he=f(z,O,D);if(he.type==="normal"){if($=D.done?v:g,he.arg===C)continue;return{value:he.arg,done:D.done}}he.type==="throw"&&($=v,D.method="throw",D.arg=he.arg)}}}function G(z,O){var D=O.method,$=z.iterator[D];if($===e)return O.delegate=null,D==="throw"&&z.iterator.return&&(O.method="return",O.arg=e,G(z,O),O.method==="throw")||D!=="return"&&(O.method="throw",O.arg=new TypeError("The iterator does not provide a '"+D+"' method")),C;var q=f($,z.iterator,O.arg);if(q.type==="throw")return O.method="throw",O.arg=q.arg,O.delegate=null,C;var U=q.arg;return U?U.done?(O[z.resultName]=U.value,O.next=z.nextLoc,O.method!=="return"&&(O.method="next",O.arg=e),O.delegate=null,C):U:(O.method="throw",O.arg=new TypeError("iterator result is not an object"),O.delegate=null,C)}function Q(z){var O={tryLoc:z[0]};1 in z&&(O.catchLoc=z[1]),2 in z&&(O.finallyLoc=z[2],O.afterLoc=z[3]),this.tryEntries.push(O)}function re(z){var O=z.completion||{};O.type="normal",delete O.arg,z.completion=O}function K(z){this.tryEntries=[{tryLoc:"root"}],z.forEach(Q,this),this.reset(!0)}function Z(z){if(z||z===""){var O=z[i];if(O)return O.call(z);if(typeof z.next=="function")return z;if(!isNaN(z.length)){var D=-1,$=function q(){for(;++D<z.length;)if(n.call(z,D))return q.value=z[D],q.done=!1,q;return q.value=e,q.done=!0,q};return $.next=$}}throw new TypeError(lc(z)+" is not iterable")}return M.prototype=T,o(L,"constructor",{value:T,configurable:!0}),o(T,"constructor",{value:M,configurable:!0}),M.displayName=u(T,l,"GeneratorFunction"),t.isGeneratorFunction=function(z){var O=typeof z=="function"&&z.constructor;return!!O&&(O===M||(O.displayName||O.name)==="GeneratorFunction")},t.mark=function(z){return Object.setPrototypeOf?Object.setPrototypeOf(z,T):(z.__proto__=T,u(z,l,"GeneratorFunction")),z.prototype=Object.create(L),z},t.awrap=function(z){return{__await:z}},N(V.prototype),u(V.prototype,s,function(){return this}),t.AsyncIterator=V,t.async=function(z,O,D,$,q){q===void 0&&(q=Promise);var U=new V(d(z,O,D,$),q);return t.isGeneratorFunction(O)?U:U.next().then(function(oe){return oe.done?oe.value:U.next()})},N(L),u(L,l,"Generator"),u(L,i,function(){return this}),u(L,"toString",function(){return"[object Generator]"}),t.keys=function(z){var O=Object(z),D=[];for(var $ in O)D.push($);return D.reverse(),function q(){for(;D.length;){var U=D.pop();if(U in O)return q.value=U,q.done=!1,q}return q.done=!0,q}},t.values=Z,K.prototype={constructor:K,reset:function(O){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(re),!O)for(var D in this)D.charAt(0)==="t"&&n.call(this,D)&&!isNaN(+D.slice(1))&&(this[D]=e)},stop:function(){this.done=!0;var O=this.tryEntries[0].completion;if(O.type==="throw")throw O.arg;return this.rval},dispatchException:function(O){if(this.done)throw O;var D=this;function $(we,ve){return oe.type="throw",oe.arg=O,D.next=we,ve&&(D.method="next",D.arg=e),!!ve}for(var q=this.tryEntries.length-1;q>=0;--q){var U=this.tryEntries[q],oe=U.completion;if(U.tryLoc==="root")return $("end");if(U.tryLoc<=this.prev){var W=n.call(U,"catchLoc"),he=n.call(U,"finallyLoc");if(W&&he){if(this.prev<U.catchLoc)return $(U.catchLoc,!0);if(this.prev<U.finallyLoc)return $(U.finallyLoc)}else if(W){if(this.prev<U.catchLoc)return $(U.catchLoc,!0)}else{if(!he)throw Error("try statement without catch or finally");if(this.prev<U.finallyLoc)return $(U.finallyLoc)}}}},abrupt:function(O,D){for(var $=this.tryEntries.length-1;$>=0;--$){var q=this.tryEntries[$];if(q.tryLoc<=this.prev&&n.call(q,"finallyLoc")&&this.prev<q.finallyLoc){var U=q;break}}U&&(O==="break"||O==="continue")&&U.tryLoc<=D&&D<=U.finallyLoc&&(U=null);var oe=U?U.completion:{};return oe.type=O,oe.arg=D,U?(this.method="next",this.next=U.finallyLoc,C):this.complete(oe)},complete:function(O,D){if(O.type==="throw")throw O.arg;return O.type==="break"||O.type==="continue"?this.next=O.arg:O.type==="return"?(this.rval=this.arg=O.arg,this.method="return",this.next="end"):O.type==="normal"&&D&&(this.next=D),C},finish:function(O){for(var D=this.tryEntries.length-1;D>=0;--D){var $=this.tryEntries[D];if($.finallyLoc===O)return this.complete($.completion,$.afterLoc),re($),C}},catch:function(O){for(var D=this.tryEntries.length-1;D>=0;--D){var $=this.tryEntries[D];if($.tryLoc===O){var q=$.completion;if(q.type==="throw"){var U=q.arg;re($)}return U}}throw Error("illegal catch attempt")},delegateYield:function(O,D,$){return this.delegate={iterator:Z(O),resultName:D,nextLoc:$},this.method==="next"&&(this.arg=e),C}},t}function Iut(e,t,r){return t=m$(t),Lut(e,eve()?Reflect.construct(t,r||[],m$(e).constructor):t.apply(e,r))}function eve(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(eve=function(){return!!e})()}const Rut=(function(e){var t,r=e.loader,n=e.isLanguageRegistered,o=e.registerLanguage,a=e.languageLoaders,i=e.noAsyncLoadingLanguages,s=(function(l){function u(){return _ut(this,u),Iut(this,u,arguments)}return Eut(u,l),Tut(u,[{key:"componentDidUpdate",value:function(){!u.isRegistered(this.props.language)&&a&&this.loadLanguage()}},{key:"componentDidMount",value:function(){var f=this;u.astGeneratorPromise||u.loadAstGenerator(),u.astGenerator||u.astGeneratorPromise.then(function(){f.forceUpdate()}),!u.isRegistered(this.props.language)&&a&&this.loadLanguage()}},{key:"loadLanguage",value:function(){var f=this,p=this.props.language;p!=="text"&&u.loadLanguage(p).then(function(){return f.forceUpdate()}).catch(function(){})}},{key:"normalizeLanguage",value:function(f){return u.isSupportedLanguage(f)?f:"text"}},{key:"render",value:function(){return rr.createElement(u.highlightInstance,p$({},this.props,{language:this.normalizeLanguage(this.props.language),astGenerator:u.astGenerator}))}}],[{key:"preload",value:function(){return u.loadAstGenerator()}},{key:"loadLanguage",value:(function(){var d=J5e(cJ().mark(function p(g){var b;return cJ().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(b=a[g],typeof b!="function"){C.next=5;break}return C.abrupt("return",b(u.registerLanguage));case 5:throw new Error("Language ".concat(g," not supported"));case 6:case"end":return C.stop()}},p)}));function f(p){return d.apply(this,arguments)}return f})()},{key:"isSupportedLanguage",value:function(f){return u.isRegistered(f)||typeof a[f]=="function"}},{key:"loadAstGenerator",value:function(){return u.astGeneratorPromise=r().then(function(f){u.astGenerator=f,o&&u.languages.forEach(function(p,g){return o(f,g,p)})}),u.astGeneratorPromise}}])})(rr.PureComponent);return t=s,ou(s,"astGenerator",null),ou(s,"highlightInstance",Cut(null,{})),ou(s,"astGeneratorPromise",null),ou(s,"languages",new Map),ou(s,"supportedLanguages",e.supportedLanguages||Object.keys(a||{})),ou(s,"isRegistered",function(l){if(i)return!0;if(!o)throw new Error("Current syntax highlighter doesn't support registration of languages");return t.astGenerator?n(t.astGenerator,l):t.languages.has(l)}),ou(s,"registerLanguage",function(l,u){if(!o)throw new Error("Current syntax highlighter doesn't support registration of languages");if(t.astGenerator)return o(t.astGenerator,l,u);t.languages.set(l,u)}),s});function uJ(){uJ=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(z,O,D){z[O]=D.value},a=typeof Symbol=="function"?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(z,O,D){return Object.defineProperty(z,O,{value:D,enumerable:!0,configurable:!0,writable:!0}),z[O]}try{u({},"")}catch{u=function(D,$,q){return D[$]=q}}function d(z,O,D,$){var q=O&&O.prototype instanceof S?O:S,U=Object.create(q.prototype),oe=new K($||[]);return o(U,"_invoke",{value:P(z,D,oe)}),U}function f(z,O,D){try{return{type:"normal",arg:z.call(O,D)}}catch($){return{type:"throw",arg:$}}}t.wrap=d;var p="suspendedStart",g="suspendedYield",b="executing",v="completed",C={};function S(){}function M(){}function T(){}var A={};u(A,i,function(){return this});var R=Object.getPrototypeOf,I=R&&R(R(Z([])));I&&I!==r&&n.call(I,i)&&(A=I);var L=T.prototype=S.prototype=Object.create(A);function N(z){["next","throw","return"].forEach(function(O){u(z,O,function(D){return this._invoke(O,D)})})}function V(z,O){function D(q,U,oe,W){var he=f(z[q],z,U);if(he.type!=="throw"){var we=he.arg,ve=we.value;return ve&&lc(ve)=="object"&&n.call(ve,"__await")?O.resolve(ve.__await).then(function(fe){D("next",fe,oe,W)},function(fe){D("throw",fe,oe,W)}):O.resolve(ve).then(function(fe){we.value=fe,oe(we)},function(fe){return D("throw",fe,oe,W)})}W(he.arg)}var $;o(this,"_invoke",{value:function(U,oe){function W(){return new O(function(he,we){D(U,oe,he,we)})}return $=$?$.then(W,W):W()}})}function P(z,O,D){var $=p;return function(q,U){if($===b)throw Error("Generator is already running");if($===v){if(q==="throw")throw U;return{value:e,done:!0}}for(D.method=q,D.arg=U;;){var oe=D.delegate;if(oe){var W=G(oe,D);if(W){if(W===C)continue;return W}}if(D.method==="next")D.sent=D._sent=D.arg;else if(D.method==="throw"){if($===p)throw $=v,D.arg;D.dispatchException(D.arg)}else D.method==="return"&&D.abrupt("return",D.arg);$=b;var he=f(z,O,D);if(he.type==="normal"){if($=D.done?v:g,he.arg===C)continue;return{value:he.arg,done:D.done}}he.type==="throw"&&($=v,D.method="throw",D.arg=he.arg)}}}function G(z,O){var D=O.method,$=z.iterator[D];if($===e)return O.delegate=null,D==="throw"&&z.iterator.return&&(O.method="return",O.arg=e,G(z,O),O.method==="throw")||D!=="return"&&(O.method="throw",O.arg=new TypeError("The iterator does not provide a '"+D+"' method")),C;var q=f($,z.iterator,O.arg);if(q.type==="throw")return O.method="throw",O.arg=q.arg,O.delegate=null,C;var U=q.arg;return U?U.done?(O[z.resultName]=U.value,O.next=z.nextLoc,O.method!=="return"&&(O.method="next",O.arg=e),O.delegate=null,C):U:(O.method="throw",O.arg=new TypeError("iterator result is not an object"),O.delegate=null,C)}function Q(z){var O={tryLoc:z[0]};1 in z&&(O.catchLoc=z[1]),2 in z&&(O.finallyLoc=z[2],O.afterLoc=z[3]),this.tryEntries.push(O)}function re(z){var O=z.completion||{};O.type="normal",delete O.arg,z.completion=O}function K(z){this.tryEntries=[{tryLoc:"root"}],z.forEach(Q,this),this.reset(!0)}function Z(z){if(z||z===""){var O=z[i];if(O)return O.call(z);if(typeof z.next=="function")return z;if(!isNaN(z.length)){var D=-1,$=function q(){for(;++D<z.length;)if(n.call(z,D))return q.value=z[D],q.done=!1,q;return q.value=e,q.done=!0,q};return $.next=$}}throw new TypeError(lc(z)+" is not iterable")}return M.prototype=T,o(L,"constructor",{value:T,configurable:!0}),o(T,"constructor",{value:M,configurable:!0}),M.displayName=u(T,l,"GeneratorFunction"),t.isGeneratorFunction=function(z){var O=typeof z=="function"&&z.constructor;return!!O&&(O===M||(O.displayName||O.name)==="GeneratorFunction")},t.mark=function(z){return Object.setPrototypeOf?Object.setPrototypeOf(z,T):(z.__proto__=T,u(z,l,"GeneratorFunction")),z.prototype=Object.create(L),z},t.awrap=function(z){return{__await:z}},N(V.prototype),u(V.prototype,s,function(){return this}),t.AsyncIterator=V,t.async=function(z,O,D,$,q){q===void 0&&(q=Promise);var U=new V(d(z,O,D,$),q);return t.isGeneratorFunction(O)?U:U.next().then(function(oe){return oe.done?oe.value:U.next()})},N(L),u(L,l,"Generator"),u(L,i,function(){return this}),u(L,"toString",function(){return"[object Generator]"}),t.keys=function(z){var O=Object(z),D=[];for(var $ in O)D.push($);return D.reverse(),function q(){for(;D.length;){var U=D.pop();if(U in O)return q.value=U,q.done=!1,q}return q.done=!0,q}},t.values=Z,K.prototype={constructor:K,reset:function(O){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(re),!O)for(var D in this)D.charAt(0)==="t"&&n.call(this,D)&&!isNaN(+D.slice(1))&&(this[D]=e)},stop:function(){this.done=!0;var O=this.tryEntries[0].completion;if(O.type==="throw")throw O.arg;return this.rval},dispatchException:function(O){if(this.done)throw O;var D=this;function $(we,ve){return oe.type="throw",oe.arg=O,D.next=we,ve&&(D.method="next",D.arg=e),!!ve}for(var q=this.tryEntries.length-1;q>=0;--q){var U=this.tryEntries[q],oe=U.completion;if(U.tryLoc==="root")return $("end");if(U.tryLoc<=this.prev){var W=n.call(U,"catchLoc"),he=n.call(U,"finallyLoc");if(W&&he){if(this.prev<U.catchLoc)return $(U.catchLoc,!0);if(this.prev<U.finallyLoc)return $(U.finallyLoc)}else if(W){if(this.prev<U.catchLoc)return $(U.catchLoc,!0)}else{if(!he)throw Error("try statement without catch or finally");if(this.prev<U.finallyLoc)return $(U.finallyLoc)}}}},abrupt:function(O,D){for(var $=this.tryEntries.length-1;$>=0;--$){var q=this.tryEntries[$];if(q.tryLoc<=this.prev&&n.call(q,"finallyLoc")&&this.prev<q.finallyLoc){var U=q;break}}U&&(O==="break"||O==="continue")&&U.tryLoc<=D&&D<=U.finallyLoc&&(U=null);var oe=U?U.completion:{};return oe.type=O,oe.arg=D,U?(this.method="next",this.next=U.finallyLoc,C):this.complete(oe)},complete:function(O,D){if(O.type==="throw")throw O.arg;return O.type==="break"||O.type==="continue"?this.next=O.arg:O.type==="return"?(this.rval=this.arg=O.arg,this.method="return",this.next="end"):O.type==="normal"&&D&&(this.next=D),C},finish:function(O){for(var D=this.tryEntries.length-1;D>=0;--D){var $=this.tryEntries[D];if($.finallyLoc===O)return this.complete($.completion,$.afterLoc),re($),C}},catch:function(O){for(var D=this.tryEntries.length-1;D>=0;--D){var $=this.tryEntries[D];if($.tryLoc===O){var q=$.completion;if(q.type==="throw"){var U=q.arg;re($)}return U}}throw Error("illegal catch attempt")},delegateYield:function(O,D,$){return this.delegate={iterator:Z(O),resultName:D,nextLoc:$},this.method==="next"&&(this.arg=e),C}},t}const ae=(function(e,t){return(function(){var r=J5e(uJ().mark(function n(o){var a;return uJ().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,t();case 2:a=s.sent,o(e,a.default||a);case 4:case"end":return s.stop()}},n)}));return function(n){return r.apply(this,arguments)}})()}),zut={abap:ae("abap",function(){return ne(()=>import("./abap-DKQsRD7P.js").then(e=>e.a),[])}),abnf:ae("abnf",function(){return ne(()=>import("./abnf-CakdgbfU.js").then(e=>e.a),[])}),actionscript:ae("actionscript",function(){return ne(()=>import("./actionscript-3FXzXQwC.js").then(e=>e.a),[])}),ada:ae("ada",function(){return ne(()=>import("./ada-CuBckY_v.js").then(e=>e.a),[])}),agda:ae("agda",function(){return ne(()=>import("./agda-CnA4hf2k.js").then(e=>e.a),[])}),al:ae("al",function(){return ne(()=>import("./al-Dr9yufze.js").then(e=>e.a),[])}),antlr4:ae("antlr4",function(){return ne(()=>import("./antlr4-CFBfIi_k.js").then(e=>e.a),[])}),apacheconf:ae("apacheconf",function(){return ne(()=>import("./apacheconf-BLh4uw9F.js").then(e=>e.a),[])}),apex:ae("apex",function(){return ne(()=>import("./apex-CGB146ZB.js").then(e=>e.a),__vite__mapDeps([0,1]))}),apl:ae("apl",function(){return ne(()=>import("./apl-BtxcLf1U.js").then(e=>e.a),[])}),applescript:ae("applescript",function(){return ne(()=>import("./applescript-D66cJ8Zt.js").then(e=>e.a),[])}),aql:ae("aql",function(){return ne(()=>import("./aql-ZzZfKTYl.js").then(e=>e.a),[])}),arduino:ae("arduino",function(){return ne(()=>import("./arduino-B8otSxwK.js").then(e=>e.a),__vite__mapDeps([2,3,4]))}),arff:ae("arff",function(){return ne(()=>import("./arff-It4tXSji.js").then(e=>e.a),[])}),asciidoc:ae("asciidoc",function(){return ne(()=>import("./asciidoc-CoVKUtvA.js").then(e=>e.a),[])}),asm6502:ae("asm6502",function(){return ne(()=>import("./asm6502-Cc5IYXwp.js").then(e=>e.a),[])}),asmatmel:ae("asmatmel",function(){return ne(()=>import("./asmatmel-nwknX6Ax.js").then(e=>e.a),[])}),aspnet:ae("aspnet",function(){return ne(()=>import("./aspnet-D2vXH52u.js").then(e=>e.a),__vite__mapDeps([5,6]))}),autohotkey:ae("autohotkey",function(){return ne(()=>import("./autohotkey-ClW4PB5b.js").then(e=>e.a),[])}),autoit:ae("autoit",function(){return ne(()=>import("./autoit-Dbvw9dgZ.js").then(e=>e.a),[])}),avisynth:ae("avisynth",function(){return ne(()=>import("./avisynth-oLVaCUHU.js").then(e=>e.a),[])}),avroIdl:ae("avroIdl",function(){return ne(()=>import("./avro-idl-CbQ-4JLu.js").then(e=>e.a),[])}),bash:ae("bash",function(){return ne(()=>import("./bash-Bv948m2A.js").then(e=>e.b),__vite__mapDeps([7,8]))}),basic:ae("basic",function(){return ne(()=>import("./basic-VBc5WgjX.js").then(e=>e.b),__vite__mapDeps([9,10]))}),batch:ae("batch",function(){return ne(()=>import("./batch-CMFv4W8s.js").then(e=>e.b),[])}),bbcode:ae("bbcode",function(){return ne(()=>import("./bbcode-Qh4ZvzxB.js").then(e=>e.b),[])}),bicep:ae("bicep",function(){return ne(()=>import("./bicep-Cgkhnd97.js").then(e=>e.b),[])}),birb:ae("birb",function(){return ne(()=>import("./birb-DeLlvx-X.js").then(e=>e.b),[])}),bison:ae("bison",function(){return ne(()=>import("./bison-CGen_SSr.js").then(e=>e.b),__vite__mapDeps([11,4]))}),bnf:ae("bnf",function(){return ne(()=>import("./bnf-U9dFTeu-.js").then(e=>e.b),[])}),brainfuck:ae("brainfuck",function(){return ne(()=>import("./brainfuck-BCCbpUkW.js").then(e=>e.b),[])}),brightscript:ae("brightscript",function(){return ne(()=>import("./brightscript-C-DXt555.js").then(e=>e.b),[])}),bro:ae("bro",function(){return ne(()=>import("./bro-DfMBFbKl.js").then(e=>e.b),[])}),bsl:ae("bsl",function(){return ne(()=>import("./bsl-C4lGlqLv.js").then(e=>e.b),[])}),c:ae("c",function(){return ne(()=>import("./c-CEpyTi9M.js").then(e=>e.c),__vite__mapDeps([12,4]))}),cfscript:ae("cfscript",function(){return ne(()=>import("./cfscript-C1mgQcJX.js").then(e=>e.c),[])}),chaiscript:ae("chaiscript",function(){return ne(()=>import("./chaiscript-GY864__g.js").then(e=>e.c),__vite__mapDeps([13,3,4]))}),cil:ae("cil",function(){return ne(()=>import("./cil-DWowjYol.js").then(e=>e.c),[])}),clike:ae("clike",function(){return ne(()=>import("./clike-BEIk774o.js").then(e=>e.c),__vite__mapDeps([14,15]))}),clojure:ae("clojure",function(){return ne(()=>import("./clojure-BqYu8Hwb.js").then(e=>e.c),[])}),cmake:ae("cmake",function(){return ne(()=>import("./cmake-DHPsr83P.js").then(e=>e.c),[])}),cobol:ae("cobol",function(){return ne(()=>import("./cobol-CapXB_EH.js").then(e=>e.c),[])}),coffeescript:ae("coffeescript",function(){return ne(()=>import("./coffeescript-BdfidV1s.js").then(e=>e.c),[])}),concurnas:ae("concurnas",function(){return ne(()=>import("./concurnas-CCu18Ufm.js").then(e=>e.c),[])}),coq:ae("coq",function(){return ne(()=>import("./coq-DUNJO9aB.js").then(e=>e.c),[])}),cpp:ae("cpp",function(){return ne(()=>import("./cpp-B0ecrLNz.js").then(e=>e.c),__vite__mapDeps([16,3,4]))}),crystal:ae("crystal",function(){return ne(()=>import("./crystal-DmkOtBqh.js").then(e=>e.c),__vite__mapDeps([17,18]))}),csharp:ae("csharp",function(){return ne(()=>import("./csharp-vJJWDRM_.js").then(e=>e.c),__vite__mapDeps([19,6]))}),cshtml:ae("cshtml",function(){return ne(()=>import("./cshtml-uk9lpGeI.js").then(e=>e.c),__vite__mapDeps([20,6]))}),csp:ae("csp",function(){return ne(()=>import("./csp-CSKaxlzW.js").then(e=>e.c),[])}),cssExtras:ae("cssExtras",function(){return ne(()=>import("./css-extras-ChFO6rAa.js").then(e=>e.c),[])}),css:ae("css",function(){return ne(()=>import("./css-KUP-u3ce.js").then(e=>e.c),__vite__mapDeps([21,22]))}),csv:ae("csv",function(){return ne(()=>import("./csv-13C91ywp.js").then(e=>e.c),[])}),cypher:ae("cypher",function(){return ne(()=>import("./cypher-CDv7U88j.js").then(e=>e.c),[])}),d:ae("d",function(){return ne(()=>import("./d-R3GD5sst.js").then(e=>e.d),[])}),dart:ae("dart",function(){return ne(()=>import("./dart-fv3MR8Hg.js").then(e=>e.d),[])}),dataweave:ae("dataweave",function(){return ne(()=>import("./dataweave-mTqsBuam.js").then(e=>e.d),[])}),dax:ae("dax",function(){return ne(()=>import("./dax-DkcjI-jT.js").then(e=>e.d),[])}),dhall:ae("dhall",function(){return ne(()=>import("./dhall-BefzxTmu.js").then(e=>e.d),[])}),diff:ae("diff",function(){return ne(()=>import("./diff-BJTtN3z2.js").then(e=>e.d),[])}),django:ae("django",function(){return ne(()=>import("./django-V8o6VdtL.js").then(e=>e.d),__vite__mapDeps([23,24]))}),dnsZoneFile:ae("dnsZoneFile",function(){return ne(()=>import("./dns-zone-file-DGmhWmbZ.js").then(e=>e.d),[])}),docker:ae("docker",function(){return ne(()=>import("./docker-Cxh8gjCE.js").then(e=>e.d),[])}),dot:ae("dot",function(){return ne(()=>import("./dot-BqUlz0Yh.js").then(e=>e.d),[])}),ebnf:ae("ebnf",function(){return ne(()=>import("./ebnf-CflZCOtn.js").then(e=>e.e),[])}),editorconfig:ae("editorconfig",function(){return ne(()=>import("./editorconfig-mlabAduJ.js").then(e=>e.e),[])}),eiffel:ae("eiffel",function(){return ne(()=>import("./eiffel-D-ZftpAV.js").then(e=>e.e),[])}),ejs:ae("ejs",function(){return ne(()=>import("./ejs-BpupKyky.js").then(e=>e.e),__vite__mapDeps([25,24]))}),elixir:ae("elixir",function(){return ne(()=>import("./elixir-DDXBoeTT.js").then(e=>e.e),[])}),elm:ae("elm",function(){return ne(()=>import("./elm-B3Zk26Rv.js").then(e=>e.e),[])}),erb:ae("erb",function(){return ne(()=>import("./erb-B4HRGpX_.js").then(e=>e.e),__vite__mapDeps([26,18,24]))}),erlang:ae("erlang",function(){return ne(()=>import("./erlang-DWUEsa_Z.js").then(e=>e.e),[])}),etlua:ae("etlua",function(){return ne(()=>import("./etlua-DNYtr6oM.js").then(e=>e.e),__vite__mapDeps([27,28,24]))}),excelFormula:ae("excelFormula",function(){return ne(()=>import("./excel-formula-CSN7OAl9.js").then(e=>e.e),[])}),factor:ae("factor",function(){return ne(()=>import("./factor-BJmYTOs4.js").then(e=>e.f),[])}),falselang:ae("falselang",function(){return ne(()=>import("./false-B8XKor7S.js").then(e=>e._),[])}),firestoreSecurityRules:ae("firestoreSecurityRules",function(){return ne(()=>import("./firestore-security-rules-DpOBaWEX.js").then(e=>e.f),[])}),flow:ae("flow",function(){return ne(()=>import("./flow-BPVkPCFp.js").then(e=>e.f),[])}),fortran:ae("fortran",function(){return ne(()=>import("./fortran-CifNmxB7.js").then(e=>e.f),[])}),fsharp:ae("fsharp",function(){return ne(()=>import("./fsharp-BlAKmRE2.js").then(e=>e.f),[])}),ftl:ae("ftl",function(){return ne(()=>import("./ftl-Dw-6EXX_.js").then(e=>e.f),__vite__mapDeps([29,24]))}),gap:ae("gap",function(){return ne(()=>import("./gap-DfZYaqN5.js").then(e=>e.g),[])}),gcode:ae("gcode",function(){return ne(()=>import("./gcode-BcsKjycL.js").then(e=>e.g),[])}),gdscript:ae("gdscript",function(){return ne(()=>import("./gdscript-D0yJLAbl.js").then(e=>e.g),[])}),gedcom:ae("gedcom",function(){return ne(()=>import("./gedcom-DOTC-Rbm.js").then(e=>e.g),[])}),gherkin:ae("gherkin",function(){return ne(()=>import("./gherkin-COFqb4jr.js").then(e=>e.g),[])}),git:ae("git",function(){return ne(()=>import("./git-CJki4Ldf.js").then(e=>e.g),[])}),glsl:ae("glsl",function(){return ne(()=>import("./glsl-XdY2jSgC.js").then(e=>e.g),__vite__mapDeps([30,4]))}),gml:ae("gml",function(){return ne(()=>import("./gml-BJndVAI_.js").then(e=>e.g),[])}),gn:ae("gn",function(){return ne(()=>import("./gn-CRDj_suq.js").then(e=>e.g),[])}),goModule:ae("goModule",function(){return ne(()=>import("./go-module-XcABENI5.js").then(e=>e.g),[])}),go:ae("go",function(){return ne(()=>import("./go-DtgLD33c.js").then(e=>e.g),[])}),graphql:ae("graphql",function(){return ne(()=>import("./graphql-U9RNf196.js").then(e=>e.g),[])}),groovy:ae("groovy",function(){return ne(()=>import("./groovy-DYv_DcRO.js").then(e=>e.g),[])}),haml:ae("haml",function(){return ne(()=>import("./haml-CS7AG81a.js").then(e=>e.h),__vite__mapDeps([31,18]))}),handlebars:ae("handlebars",function(){return ne(()=>import("./handlebars-BQsIa7Yr.js").then(e=>e.h),__vite__mapDeps([32,24]))}),haskell:ae("haskell",function(){return ne(()=>import("./haskell-cZHjtICv.js").then(e=>e.h),__vite__mapDeps([33,34]))}),haxe:ae("haxe",function(){return ne(()=>import("./haxe-9NO5IDEY.js").then(e=>e.h),[])}),hcl:ae("hcl",function(){return ne(()=>import("./hcl-DqYubIgC.js").then(e=>e.h),[])}),hlsl:ae("hlsl",function(){return ne(()=>import("./hlsl-DXP88JTf.js").then(e=>e.h),__vite__mapDeps([35,4]))}),hoon:ae("hoon",function(){return ne(()=>import("./hoon-xEqjx25t.js").then(e=>e.h),[])}),hpkp:ae("hpkp",function(){return ne(()=>import("./hpkp-D3qO_isK.js").then(e=>e.h),[])}),hsts:ae("hsts",function(){return ne(()=>import("./hsts-p9_ZAj_s.js").then(e=>e.h),[])}),http:ae("http",function(){return ne(()=>import("./http-D_1e7uZw.js").then(e=>e.h),[])}),ichigojam:ae("ichigojam",function(){return ne(()=>import("./ichigojam-CJIbCoZL.js").then(e=>e.i),[])}),icon:ae("icon",function(){return ne(()=>import("./icon-BLbuV0eW.js").then(e=>e.i),[])}),icuMessageFormat:ae("icuMessageFormat",function(){return ne(()=>import("./icu-message-format-DlSBVpMt.js").then(e=>e.i),[])}),idris:ae("idris",function(){return ne(()=>import("./idris-CBILCmxl.js").then(e=>e.i),__vite__mapDeps([36,34]))}),iecst:ae("iecst",function(){return ne(()=>import("./iecst-DXWop1Zf.js").then(e=>e.i),[])}),ignore:ae("ignore",function(){return ne(()=>import("./ignore-C4KHRM09.js").then(e=>e.i),[])}),inform7:ae("inform7",function(){return ne(()=>import("./inform7-D10IYW8x.js").then(e=>e.i),[])}),ini:ae("ini",function(){return ne(()=>import("./ini-BiWopMvy.js").then(e=>e.i),[])}),io:ae("io",function(){return ne(()=>import("./io-DpgtsV68.js").then(e=>e.i),[])}),j:ae("j",function(){return ne(()=>import("./j-BWcDL_us.js").then(e=>e.j),[])}),java:ae("java",function(){return ne(()=>import("./java-DB-NooXn.js").then(e=>e.j),__vite__mapDeps([37,38]))}),javadoc:ae("javadoc",function(){return ne(()=>import("./javadoc-ldLhLMvj.js").then(e=>e.j),__vite__mapDeps([39,38,40]))}),javadoclike:ae("javadoclike",function(){return ne(()=>import("./javadoclike-Bmyr9i8Z.js").then(e=>e.j),__vite__mapDeps([41,40]))}),javascript:ae("javascript",function(){return ne(()=>import("./javascript-DCGTWx76.js").then(e=>e.j),__vite__mapDeps([42,43]))}),javastacktrace:ae("javastacktrace",function(){return ne(()=>import("./javastacktrace-UOTBekVt.js").then(e=>e.j),[])}),jexl:ae("jexl",function(){return ne(()=>import("./jexl-BU7SpMMt.js").then(e=>e.j),[])}),jolie:ae("jolie",function(){return ne(()=>import("./jolie-BJxyHhnJ.js").then(e=>e.j),[])}),jq:ae("jq",function(){return ne(()=>import("./jq-DmaOhZ5k.js").then(e=>e.j),[])}),jsExtras:ae("jsExtras",function(){return ne(()=>import("./js-extras-BvOzNSZ4.js").then(e=>e.j),[])}),jsTemplates:ae("jsTemplates",function(){return ne(()=>import("./js-templates-CQYpiryc.js").then(e=>e.j),[])}),jsdoc:ae("jsdoc",function(){return ne(()=>import("./jsdoc-CiNlXmsX.js").then(e=>e.j),__vite__mapDeps([44,40]))}),json:ae("json",function(){return ne(()=>import("./json-CVmcFi3A.js").then(e=>e.j),__vite__mapDeps([45,46]))}),json5:ae("json5",function(){return ne(()=>import("./json5-CWSKQL2a.js").then(e=>e.j),__vite__mapDeps([47,46]))}),jsonp:ae("jsonp",function(){return ne(()=>import("./jsonp-WiiijTf_.js").then(e=>e.j),__vite__mapDeps([48,46]))}),jsstacktrace:ae("jsstacktrace",function(){return ne(()=>import("./jsstacktrace-Bnvsk6Ui.js").then(e=>e.j),[])}),jsx:ae("jsx",function(){return ne(()=>import("./jsx-Ca4_694E.js").then(e=>e.j),[])}),julia:ae("julia",function(){return ne(()=>import("./julia-BMjo4YZg.js").then(e=>e.j),[])}),keepalived:ae("keepalived",function(){return ne(()=>import("./keepalived-BTxVPl_d.js").then(e=>e.k),[])}),keyman:ae("keyman",function(){return ne(()=>import("./keyman-B5tt0Vgc.js").then(e=>e.k),[])}),kotlin:ae("kotlin",function(){return ne(()=>import("./kotlin-O6hS1AV0.js").then(e=>e.k),[])}),kumir:ae("kumir",function(){return ne(()=>import("./kumir-DEqNUPw1.js").then(e=>e.k),[])}),kusto:ae("kusto",function(){return ne(()=>import("./kusto-DcY6M7fT.js").then(e=>e.k),[])}),latex:ae("latex",function(){return ne(()=>import("./latex-Bca_WVtH.js").then(e=>e.l),[])}),latte:ae("latte",function(){return ne(()=>import("./latte-DocB5NP7.js").then(e=>e.l),__vite__mapDeps([49,24,50]))}),less:ae("less",function(){return ne(()=>import("./less-BDIPtABN.js").then(e=>e.l),[])}),lilypond:ae("lilypond",function(){return ne(()=>import("./lilypond-DNKpFRP6.js").then(e=>e.l),__vite__mapDeps([51,52]))}),liquid:ae("liquid",function(){return ne(()=>import("./liquid-DHvis4ej.js").then(e=>e.l),__vite__mapDeps([53,24]))}),lisp:ae("lisp",function(){return ne(()=>import("./lisp-BYhfTD5g.js").then(e=>e.l),[])}),livescript:ae("livescript",function(){return ne(()=>import("./livescript-CoBSdkri.js").then(e=>e.l),[])}),llvm:ae("llvm",function(){return ne(()=>import("./llvm-BfT7zy4f.js").then(e=>e.l),[])}),log:ae("log",function(){return ne(()=>import("./log-CIXx7stU.js").then(e=>e.l),[])}),lolcode:ae("lolcode",function(){return ne(()=>import("./lolcode-DFtQmoeI.js").then(e=>e.l),[])}),lua:ae("lua",function(){return ne(()=>import("./lua-CG8Tqm-m.js").then(e=>e.l),__vite__mapDeps([54,28]))}),magma:ae("magma",function(){return ne(()=>import("./magma-BXLm0PIg.js").then(e=>e.m),[])}),makefile:ae("makefile",function(){return ne(()=>import("./makefile-CoBY9bAE.js").then(e=>e.m),[])}),markdown:ae("markdown",function(){return ne(()=>import("./markdown-CG4FHI4y.js").then(e=>e.m),[])}),markupTemplating:ae("markupTemplating",function(){return ne(()=>import("./markup-templating-C7leQ_ll.js").then(e=>e.m),__vite__mapDeps([55,24]))}),markup:ae("markup",function(){return ne(()=>import("./markup-hEUfFQLW.js").then(e=>e.m),__vite__mapDeps([56,57]))}),matlab:ae("matlab",function(){return ne(()=>import("./matlab-Co4EhBs0.js").then(e=>e.m),[])}),maxscript:ae("maxscript",function(){return ne(()=>import("./maxscript-xS-wBTSY.js").then(e=>e.m),[])}),mel:ae("mel",function(){return ne(()=>import("./mel-C4vcGlDE.js").then(e=>e.m),[])}),mermaid:ae("mermaid",function(){return ne(()=>import("./mermaid-BCYt2FtJ.js").then(e=>e.m),[])}),mizar:ae("mizar",function(){return ne(()=>import("./mizar-CtxASDJ8.js").then(e=>e.m),[])}),mongodb:ae("mongodb",function(){return ne(()=>import("./mongodb-DAPiQzR1.js").then(e=>e.m),[])}),monkey:ae("monkey",function(){return ne(()=>import("./monkey-Cv6o6ODG.js").then(e=>e.m),[])}),moonscript:ae("moonscript",function(){return ne(()=>import("./moonscript-yg8tl7gD.js").then(e=>e.m),[])}),n1ql:ae("n1ql",function(){return ne(()=>import("./n1ql-nZAriQql.js").then(e=>e.n),[])}),n4js:ae("n4js",function(){return ne(()=>import("./n4js-BvUGuNwP.js").then(e=>e.n),[])}),nand2tetrisHdl:ae("nand2tetrisHdl",function(){return ne(()=>import("./nand2tetris-hdl-oaib87Jl.js").then(e=>e.n),[])}),naniscript:ae("naniscript",function(){return ne(()=>import("./naniscript-C3uipmpo.js").then(e=>e.n),[])}),nasm:ae("nasm",function(){return ne(()=>import("./nasm-BTTpC0Y-.js").then(e=>e.n),[])}),neon:ae("neon",function(){return ne(()=>import("./neon-CRwuwdfL.js").then(e=>e.n),[])}),nevod:ae("nevod",function(){return ne(()=>import("./nevod-D12XFova.js").then(e=>e.n),[])}),nginx:ae("nginx",function(){return ne(()=>import("./nginx-CVNrLcUk.js").then(e=>e.n),[])}),nim:ae("nim",function(){return ne(()=>import("./nim-CSs8ZnzG.js").then(e=>e.n),[])}),nix:ae("nix",function(){return ne(()=>import("./nix-CQIWJ2mC.js").then(e=>e.n),[])}),nsis:ae("nsis",function(){return ne(()=>import("./nsis-C6EHbEzC.js").then(e=>e.n),[])}),objectivec:ae("objectivec",function(){return ne(()=>import("./objectivec-C47nBh0B.js").then(e=>e.o),__vite__mapDeps([58,4]))}),ocaml:ae("ocaml",function(){return ne(()=>import("./ocaml-C2CHzOTW.js").then(e=>e.o),[])}),opencl:ae("opencl",function(){return ne(()=>import("./opencl-DZtwCKMS.js").then(e=>e.o),__vite__mapDeps([59,4]))}),openqasm:ae("openqasm",function(){return ne(()=>import("./openqasm-3qzNMNem.js").then(e=>e.o),[])}),oz:ae("oz",function(){return ne(()=>import("./oz-B9NhgVuR.js").then(e=>e.o),[])}),parigp:ae("parigp",function(){return ne(()=>import("./parigp-BAjwmqKA.js").then(e=>e.p),[])}),parser:ae("parser",function(){return ne(()=>import("./parser-C2bSATZf.js").then(e=>e.p),[])}),pascal:ae("pascal",function(){return ne(()=>import("./pascal-DUg6Pj8m.js").then(e=>e.p),[])}),pascaligo:ae("pascaligo",function(){return ne(()=>import("./pascaligo-DQwf2r6T.js").then(e=>e.p),[])}),pcaxis:ae("pcaxis",function(){return ne(()=>import("./pcaxis-Bneftqn3.js").then(e=>e.p),[])}),peoplecode:ae("peoplecode",function(){return ne(()=>import("./peoplecode-D_I9ioJ2.js").then(e=>e.p),[])}),perl:ae("perl",function(){return ne(()=>import("./perl-BoI40emm.js").then(e=>e.p),[])}),phpExtras:ae("phpExtras",function(){return ne(()=>import("./php-extras-Djzck7Am.js").then(e=>e.p),__vite__mapDeps([60,50,24]))}),php:ae("php",function(){return ne(()=>import("./php-Ckc4YVDo.js").then(e=>e.p),__vite__mapDeps([61,50,24]))}),phpdoc:ae("phpdoc",function(){return ne(()=>import("./phpdoc-CMJ1S9wI.js").then(e=>e.p),__vite__mapDeps([62,50,24,40]))}),plsql:ae("plsql",function(){return ne(()=>import("./plsql-BatH1vdO.js").then(e=>e.p),__vite__mapDeps([63,1]))}),powerquery:ae("powerquery",function(){return ne(()=>import("./powerquery-GO-yaDqw.js").then(e=>e.p),[])}),powershell:ae("powershell",function(){return ne(()=>import("./powershell-C-8FBdYU.js").then(e=>e.p),[])}),processing:ae("processing",function(){return ne(()=>import("./processing-V90606l_.js").then(e=>e.p),[])}),prolog:ae("prolog",function(){return ne(()=>import("./prolog-Drs76NuO.js").then(e=>e.p),[])}),promql:ae("promql",function(){return ne(()=>import("./promql-SJxB2Onu.js").then(e=>e.p),[])}),properties:ae("properties",function(){return ne(()=>import("./properties-CFU7bsCx.js").then(e=>e.p),[])}),protobuf:ae("protobuf",function(){return ne(()=>import("./protobuf-TAE1VG1c.js").then(e=>e.p),[])}),psl:ae("psl",function(){return ne(()=>import("./psl-DX1gaLlH.js").then(e=>e.p),[])}),pug:ae("pug",function(){return ne(()=>import("./pug-SVNfK3WX.js").then(e=>e.p),[])}),puppet:ae("puppet",function(){return ne(()=>import("./puppet-C3VEK9xy.js").then(e=>e.p),[])}),pure:ae("pure",function(){return ne(()=>import("./pure-DOW9flm0.js").then(e=>e.p),[])}),purebasic:ae("purebasic",function(){return ne(()=>import("./purebasic-gMFZF0zO.js").then(e=>e.p),[])}),purescript:ae("purescript",function(){return ne(()=>import("./purescript-Dyi4Uo_r.js").then(e=>e.p),__vite__mapDeps([64,34]))}),python:ae("python",function(){return ne(()=>Promise.resolve().then(()=>Put),void 0)}),q:ae("q",function(){return ne(()=>import("./q-CgQpf4g7.js").then(e=>e.q),[])}),qml:ae("qml",function(){return ne(()=>import("./qml-DyWljaHh.js").then(e=>e.q),[])}),qore:ae("qore",function(){return ne(()=>import("./qore-CC_OKt7I.js").then(e=>e.q),[])}),qsharp:ae("qsharp",function(){return ne(()=>import("./qsharp-BxAVXLL-.js").then(e=>e.q),[])}),r:ae("r",function(){return ne(()=>import("./r-LMFH_6S-.js").then(e=>e.r),[])}),racket:ae("racket",function(){return ne(()=>import("./racket-B5ieNa-n.js").then(e=>e.r),__vite__mapDeps([65,52]))}),reason:ae("reason",function(){return ne(()=>import("./reason-CmzoycMk.js").then(e=>e.r),[])}),regex:ae("regex",function(){return ne(()=>import("./regex-Cj9kl_9-.js").then(e=>e.r),[])}),rego:ae("rego",function(){return ne(()=>import("./rego-DL6PBDi-.js").then(e=>e.r),[])}),renpy:ae("renpy",function(){return ne(()=>import("./renpy-Ded4q7JV.js").then(e=>e.r),[])}),rest:ae("rest",function(){return ne(()=>import("./rest-DUsMjto8.js").then(e=>e.r),[])}),rip:ae("rip",function(){return ne(()=>import("./rip-r4YeUU_w.js").then(e=>e.r),[])}),roboconf:ae("roboconf",function(){return ne(()=>import("./roboconf-COWIkT4K.js").then(e=>e.r),[])}),robotframework:ae("robotframework",function(){return ne(()=>import("./robotframework-BF0iBnMx.js").then(e=>e.r),[])}),ruby:ae("ruby",function(){return ne(()=>import("./ruby-Ba0RjeE3.js").then(e=>e.r),__vite__mapDeps([66,18]))}),rust:ae("rust",function(){return ne(()=>import("./rust-CYfVjTQs.js").then(e=>e.r),[])}),sas:ae("sas",function(){return ne(()=>import("./sas-CKeiCMEw.js").then(e=>e.s),[])}),sass:ae("sass",function(){return ne(()=>import("./sass-B-MrWZ_Z.js").then(e=>e.s),[])}),scala:ae("scala",function(){return ne(()=>import("./scala-IxNzB4Gx.js").then(e=>e.s),__vite__mapDeps([67,38]))}),scheme:ae("scheme",function(){return ne(()=>import("./scheme-B6YidWdS.js").then(e=>e.s),__vite__mapDeps([68,52]))}),scss:ae("scss",function(){return ne(()=>import("./scss-D8ZfZlWB.js").then(e=>e.s),[])}),shellSession:ae("shellSession",function(){return ne(()=>import("./shell-session-CjX7cdQF.js").then(e=>e.s),__vite__mapDeps([69,8]))}),smali:ae("smali",function(){return ne(()=>import("./smali-BuTsBw7B.js").then(e=>e.s),[])}),smalltalk:ae("smalltalk",function(){return ne(()=>import("./smalltalk-CRauZrmD.js").then(e=>e.s),[])}),smarty:ae("smarty",function(){return ne(()=>import("./smarty-W-NhEl1G.js").then(e=>e.s),__vite__mapDeps([70,24]))}),sml:ae("sml",function(){return ne(()=>import("./sml-JcB2sh8O.js").then(e=>e.s),[])}),solidity:ae("solidity",function(){return ne(()=>import("./solidity-A0X_REkw.js").then(e=>e.s),[])}),solutionFile:ae("solutionFile",function(){return ne(()=>import("./solution-file-Dn58IXR1.js").then(e=>e.s),[])}),soy:ae("soy",function(){return ne(()=>import("./soy-BmrmCTts.js").then(e=>e.s),__vite__mapDeps([71,24]))}),sparql:ae("sparql",function(){return ne(()=>import("./sparql-By7yQYO_.js").then(e=>e.s),__vite__mapDeps([72,73]))}),splunkSpl:ae("splunkSpl",function(){return ne(()=>import("./splunk-spl-RBvpet2v.js").then(e=>e.s),[])}),sqf:ae("sqf",function(){return ne(()=>import("./sqf-BOBjY1ie.js").then(e=>e.s),[])}),sql:ae("sql",function(){return ne(()=>import("./sql-CIJLTEB_.js").then(e=>e.s),__vite__mapDeps([74,1]))}),squirrel:ae("squirrel",function(){return ne(()=>import("./squirrel-P_qDyvNR.js").then(e=>e.s),[])}),stan:ae("stan",function(){return ne(()=>import("./stan-DfolqpQm.js").then(e=>e.s),[])}),stylus:ae("stylus",function(){return ne(()=>import("./stylus-RLaU-5mi.js").then(e=>e.s),[])}),swift:ae("swift",function(){return ne(()=>import("./swift-DWbusDXZ.js").then(e=>e.s),[])}),systemd:ae("systemd",function(){return ne(()=>import("./systemd-BW6SjPXj.js").then(e=>e.s),[])}),t4Cs:ae("t4Cs",function(){return ne(()=>import("./t4-cs-CSIaeOoL.js").then(e=>e.t),__vite__mapDeps([75,76,6]))}),t4Templating:ae("t4Templating",function(){return ne(()=>import("./t4-templating-D-xW__LI.js").then(e=>e.t),__vite__mapDeps([77,76]))}),t4Vb:ae("t4Vb",function(){return ne(()=>import("./t4-vb-CZJRbC4E.js").then(e=>e.t),__vite__mapDeps([78,76,79,10]))}),tap:ae("tap",function(){return ne(()=>import("./tap-DdzfI0sl.js").then(e=>e.t),__vite__mapDeps([80,81]))}),tcl:ae("tcl",function(){return ne(()=>import("./tcl-D1sWO5wM.js").then(e=>e.t),[])}),textile:ae("textile",function(){return ne(()=>import("./textile-BdNIUgfD.js").then(e=>e.t),[])}),toml:ae("toml",function(){return ne(()=>import("./toml-DBOUYp3d.js").then(e=>e.t),[])}),tremor:ae("tremor",function(){return ne(()=>import("./tremor-BkeNnxUV.js").then(e=>e.t),[])}),tsx:ae("tsx",function(){return ne(()=>Promise.resolve().then(()=>jut),void 0)}),tt2:ae("tt2",function(){return ne(()=>import("./tt2-1Co1YYMZ.js").then(e=>e.t),__vite__mapDeps([82,24]))}),turtle:ae("turtle",function(){return ne(()=>import("./turtle-BKE870Gl.js").then(e=>e.t),__vite__mapDeps([83,73]))}),twig:ae("twig",function(){return ne(()=>import("./twig-B7bxb9gS.js").then(e=>e.t),__vite__mapDeps([84,24]))}),typescript:ae("typescript",function(){return ne(()=>import("./typescript-C8ySnIZx.js").then(e=>e.t),[])}),typoscript:ae("typoscript",function(){return ne(()=>import("./typoscript-BAEnu72Y.js").then(e=>e.t),[])}),unrealscript:ae("unrealscript",function(){return ne(()=>import("./unrealscript-Drlja5bL.js").then(e=>e.u),[])}),uorazor:ae("uorazor",function(){return ne(()=>import("./uorazor-C_bLkY4E.js").then(e=>e.u),[])}),uri:ae("uri",function(){return ne(()=>import("./uri-ZLQjjfD6.js").then(e=>e.u),[])}),v:ae("v",function(){return ne(()=>import("./v-BlIU_M9K.js").then(e=>e.v),[])}),vala:ae("vala",function(){return ne(()=>import("./vala-c80sATdZ.js").then(e=>e.v),[])}),vbnet:ae("vbnet",function(){return ne(()=>import("./vbnet-wgmjanEH.js").then(e=>e.v),__vite__mapDeps([85,79,10]))}),velocity:ae("velocity",function(){return ne(()=>import("./velocity-CcyO8B-L.js").then(e=>e.v),[])}),verilog:ae("verilog",function(){return ne(()=>import("./verilog-ZZAdWzv5.js").then(e=>e.v),[])}),vhdl:ae("vhdl",function(){return ne(()=>import("./vhdl-DiEUz_8J.js").then(e=>e.v),[])}),vim:ae("vim",function(){return ne(()=>import("./vim-CPduAUTW.js").then(e=>e.v),[])}),visualBasic:ae("visualBasic",function(){return ne(()=>import("./visual-basic-D3f9wJBq.js").then(e=>e.v),[])}),warpscript:ae("warpscript",function(){return ne(()=>import("./warpscript-BwS1dvut.js").then(e=>e.w),[])}),wasm:ae("wasm",function(){return ne(()=>import("./wasm-CzMZ_iIf.js").then(e=>e.w),[])}),webIdl:ae("webIdl",function(){return ne(()=>import("./web-idl-Di3yKTMk.js").then(e=>e.w),[])}),wiki:ae("wiki",function(){return ne(()=>import("./wiki-fL798PJt.js").then(e=>e.w),[])}),wolfram:ae("wolfram",function(){return ne(()=>import("./wolfram-DbSh4dXu.js").then(e=>e.w),[])}),wren:ae("wren",function(){return ne(()=>import("./wren-CZ2hZsKA.js").then(e=>e.w),[])}),xeora:ae("xeora",function(){return ne(()=>import("./xeora-jrOKeaLe.js").then(e=>e.x),[])}),xmlDoc:ae("xmlDoc",function(){return ne(()=>import("./xml-doc-Cjfng7b5.js").then(e=>e.x),[])}),xojo:ae("xojo",function(){return ne(()=>import("./xojo-BmwJ2ZYb.js").then(e=>e.x),[])}),xquery:ae("xquery",function(){return ne(()=>import("./xquery-P7OvQLzZ.js").then(e=>e.x),[])}),yaml:ae("yaml",function(){return ne(()=>import("./yaml-6z4s_ND7.js").then(e=>e.y),__vite__mapDeps([86,81]))}),yang:ae("yang",function(){return ne(()=>import("./yang-DgTVGWPT.js").then(e=>e.y),[])}),zig:ae("zig",function(){return ne(()=>import("./zig-Dq-PN1UV.js").then(e=>e.z),[])})},dy=Rut({loader:function(){return ne(()=>import("./core-B01CD3we.js").then(t=>t.c),__vite__mapDeps([87,57,22,15,43])).then(function(t){return t.default||t})},isLanguageRegistered:function(t,r){return t.registered(r)},languageLoaders:zut,registerLanguage:function(t,r,n){return t.register(n)}});var XK,Fhe;function Dut(){if(Fhe)return XK;Fhe=1,XK=e,e.displayName="typescript",e.aliases=["ts"];function e(t){(function(r){r.languages.typescript=r.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),r.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete r.languages.typescript.parameter,delete r.languages.typescript["literal-property"];var n=r.languages.extend("typescript",{});delete n["class-name"],r.languages.typescript["class-name"].inside=n,r.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n}}}}),r.languages.ts=r.languages.typescript})(t)}return XK}var QK,qhe;function Out(){if(qhe)return QK;qhe=1,QK=e,e.displayName="jsx",e.aliases=[];function e(t){(function(r){var n=r.util.clone(r.languages.javascript),o=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,a=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function s(d,f){return d=d.replace(/<S>/g,function(){return o}).replace(/<BRACES>/g,function(){return a}).replace(/<SPREAD>/g,function(){return i}),RegExp(d,f)}i=s(i).source,r.languages.jsx=r.languages.extend("markup",n),r.languages.jsx.tag.pattern=s(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),r.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,r.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,r.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,r.languages.jsx.tag.inside.comment=n.comment,r.languages.insertBefore("inside","attr-name",{spread:{pattern:s(/<SPREAD>/.source),inside:r.languages.jsx}},r.languages.jsx.tag),r.languages.insertBefore("inside","special-attr",{script:{pattern:s(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:r.languages.jsx}}},r.languages.jsx.tag);var l=function(d){return d?typeof d=="string"?d:typeof d.content=="string"?d.content:d.content.map(l).join(""):""},u=function(d){for(var f=[],p=0;p<d.length;p++){var g=d[p],b=!1;if(typeof g!="string"&&(g.type==="tag"&&g.content[0]&&g.content[0].type==="tag"?g.content[0].content[0].content==="</"?f.length>0&&f[f.length-1].tagName===l(g.content[0].content[1])&&f.pop():g.content[g.content.length-1].content==="/>"||f.push({tagName:l(g.content[0].content[1]),openedBraces:0}):f.length>0&&g.type==="punctuation"&&g.content==="{"?f[f.length-1].openedBraces++:f.length>0&&f[f.length-1].openedBraces>0&&g.type==="punctuation"&&g.content==="}"?f[f.length-1].openedBraces--:b=!0),(b||typeof g=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var v=l(g);p<d.length-1&&(typeof d[p+1]=="string"||d[p+1].type==="plain-text")&&(v+=l(d[p+1]),d.splice(p+1,1)),p>0&&(typeof d[p-1]=="string"||d[p-1].type==="plain-text")&&(v=l(d[p-1])+v,d.splice(p-1,1),p--),d[p]=new r.Token("plain-text",v,null,v)}g.content&&typeof g.content!="string"&&u(g.content)}};r.hooks.add("after-tokenize",function(d){d.language!=="jsx"&&d.language!=="tsx"||u(d.tokens)})})(t)}return QK}var JK,Hhe;function But(){if(Hhe)return JK;Hhe=1,JK=e,e.displayName="python",e.aliases=["py"];function e(t){t.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}return JK}var eY,$he;function Nut(){if($he)return eY;$he=1;var e=Out(),t=Dut();eY=r,r.displayName="tsx",r.aliases=[];function r(n){n.register(e),n.register(t),(function(o){var a=o.util.clone(o.languages.typescript);o.languages.tsx=o.languages.extend("jsx",a),delete o.languages.tsx.parameter,delete o.languages.tsx["literal-property"];var i=o.languages.tsx.tag;i.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+i.pattern.source+")",i.pattern.flags),i.lookbehind=!0})(n)}return eY}var tve=Nut();const sk=dl(tve),jut=Mee({__proto__:null,default:sk},[tve]);var rve=But();const nve=dl(rve),Put=Mee({__proto__:null,default:nve},[rve]);var tY={},rY={exports:{}},Vhe;function Fut(){return Vhe||(Vhe=1,(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(rY)),rY.exports}var nY={},Uhe;function qut(){return Uhe||(Uhe=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",maxHeight:"inherit",height:"inherit",padding:"0 1em",display:"block",overflow:"auto"},'pre[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",position:"relative",margin:".5em 0",overflow:"visible",padding:"1px",backgroundColor:"#fdfdfd",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box",marginBottom:"1em"},'pre[class*="language-"] > code':{position:"relative",zIndex:"1",borderLeft:"10px solid #358ccb",boxShadow:"-1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf",backgroundColor:"#fdfdfd",backgroundImage:"linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)",backgroundSize:"3em 3em",backgroundOrigin:"content-box",backgroundAttachment:"local"},':not(pre) > code[class*="language-"]':{backgroundColor:"#fdfdfd",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box",marginBottom:"1em",position:"relative",padding:".2em",borderRadius:"0.3em",color:"#c92c2c",border:"1px solid rgba(0, 0, 0, 0.1)",display:"inline",whiteSpace:"normal"},'pre[class*="language-"]:before':{content:"''",display:"block",position:"absolute",bottom:"0.75em",left:"0.18em",width:"40%",height:"20%",maxHeight:"13em",boxShadow:"0px 13px 8px #979797",WebkitTransform:"rotate(-2deg)",MozTransform:"rotate(-2deg)",msTransform:"rotate(-2deg)",OTransform:"rotate(-2deg)",transform:"rotate(-2deg)"},'pre[class*="language-"]:after':{content:"''",display:"block",position:"absolute",bottom:"0.75em",left:"auto",width:"40%",height:"20%",maxHeight:"13em",boxShadow:"0px 13px 8px #979797",WebkitTransform:"rotate(2deg)",MozTransform:"rotate(2deg)",msTransform:"rotate(2deg)",OTransform:"rotate(2deg)",transform:"rotate(2deg)",right:"0.75em"},comment:{color:"#7D8B99"},"block-comment":{color:"#7D8B99"},prolog:{color:"#7D8B99"},doctype:{color:"#7D8B99"},cdata:{color:"#7D8B99"},punctuation:{color:"#5F6364"},property:{color:"#c92c2c"},tag:{color:"#c92c2c"},boolean:{color:"#c92c2c"},number:{color:"#c92c2c"},"function-name":{color:"#c92c2c"},constant:{color:"#c92c2c"},symbol:{color:"#c92c2c"},deleted:{color:"#c92c2c"},selector:{color:"#2f9c0a"},"attr-name":{color:"#2f9c0a"},string:{color:"#2f9c0a"},char:{color:"#2f9c0a"},function:{color:"#2f9c0a"},builtin:{color:"#2f9c0a"},inserted:{color:"#2f9c0a"},operator:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},entity:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)",cursor:"help"},url:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},variable:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},atrule:{color:"#1990b8"},"attr-value":{color:"#1990b8"},keyword:{color:"#1990b8"},"class-name":{color:"#1990b8"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"normal"},".language-css .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},".style .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:".7"},'pre[class*="language-"].line-numbers.line-numbers':{paddingLeft:"0"},'pre[class*="language-"].line-numbers.line-numbers code':{paddingLeft:"3.8em"},'pre[class*="language-"].line-numbers.line-numbers .line-numbers-rows':{left:"0"},'pre[class*="language-"][data-line]':{paddingTop:"0",paddingBottom:"0",paddingLeft:"0"},"pre[data-line] code":{position:"relative",paddingLeft:"4em"},"pre .line-highlight":{marginTop:"0"}}})(nY)),nY}var oY={},Whe;function Hut(){return Whe||(Whe=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"white",background:"none",textShadow:"0 -.1em .2em black",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"white",background:"hsl(30, 20%, 25%)",textShadow:"0 -.1em .2em black",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",border:".3em solid hsl(30, 20%, 40%)",borderRadius:".5em",boxShadow:"1px 1px .5em black inset"},':not(pre) > code[class*="language-"]':{background:"hsl(30, 20%, 25%)",padding:".15em .2em .05em",borderRadius:".3em",border:".13em solid hsl(30, 20%, 40%)",boxShadow:"1px 1px .3em -.1em black inset",whiteSpace:"normal"},comment:{color:"hsl(30, 20%, 50%)"},prolog:{color:"hsl(30, 20%, 50%)"},doctype:{color:"hsl(30, 20%, 50%)"},cdata:{color:"hsl(30, 20%, 50%)"},punctuation:{Opacity:".7"},namespace:{Opacity:".7"},property:{color:"hsl(350, 40%, 70%)"},tag:{color:"hsl(350, 40%, 70%)"},boolean:{color:"hsl(350, 40%, 70%)"},number:{color:"hsl(350, 40%, 70%)"},constant:{color:"hsl(350, 40%, 70%)"},symbol:{color:"hsl(350, 40%, 70%)"},selector:{color:"hsl(75, 70%, 60%)"},"attr-name":{color:"hsl(75, 70%, 60%)"},string:{color:"hsl(75, 70%, 60%)"},char:{color:"hsl(75, 70%, 60%)"},builtin:{color:"hsl(75, 70%, 60%)"},inserted:{color:"hsl(75, 70%, 60%)"},operator:{color:"hsl(40, 90%, 60%)"},entity:{color:"hsl(40, 90%, 60%)",cursor:"help"},url:{color:"hsl(40, 90%, 60%)"},".language-css .token.string":{color:"hsl(40, 90%, 60%)"},".style .token.string":{color:"hsl(40, 90%, 60%)"},variable:{color:"hsl(40, 90%, 60%)"},atrule:{color:"hsl(350, 40%, 70%)"},"attr-value":{color:"hsl(350, 40%, 70%)"},keyword:{color:"hsl(350, 40%, 70%)"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},deleted:{color:"red"}}})(oY)),oY}var aY={},Ghe;function $ut(){return Ghe||(Ghe=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"black",color:"white",boxShadow:"-.3em 0 0 .3em black, .3em 0 0 .3em black"},'pre[class*="language-"]':{fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:".4em .8em",margin:".5em 0",overflow:"auto",background:`url('data:image/svg+xml;charset=utf-8,<svg%20version%3D"1.1"%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20width%3D"100"%20height%3D"100"%20fill%3D"rgba(0%2C0%2C0%2C.2)">%0D%0A<polygon%20points%3D"0%2C50%2050%2C0%200%2C0"%20%2F>%0D%0A<polygon%20points%3D"0%2C100%2050%2C100%20100%2C50%20100%2C0"%20%2F>%0D%0A<%2Fsvg>')`,backgroundSize:"1em 1em"},':not(pre) > code[class*="language-"]':{padding:".2em",borderRadius:".3em",boxShadow:"none",whiteSpace:"normal"},comment:{color:"#aaa"},prolog:{color:"#aaa"},doctype:{color:"#aaa"},cdata:{color:"#aaa"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#0cf"},tag:{color:"#0cf"},boolean:{color:"#0cf"},number:{color:"#0cf"},constant:{color:"#0cf"},symbol:{color:"#0cf"},selector:{color:"yellow"},"attr-name":{color:"yellow"},string:{color:"yellow"},char:{color:"yellow"},builtin:{color:"yellow"},operator:{color:"yellowgreen"},entity:{color:"yellowgreen",cursor:"help"},url:{color:"yellowgreen"},".language-css .token.string":{color:"yellowgreen"},variable:{color:"yellowgreen"},inserted:{color:"yellowgreen"},atrule:{color:"deeppink"},"attr-value":{color:"deeppink"},keyword:{color:"deeppink"},regex:{color:"orange"},important:{color:"orange",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},deleted:{color:"red"},"pre.diff-highlight.diff-highlight > code .token.deleted:not(.prefix)":{backgroundColor:"rgba(255, 0, 0, .3)",display:"inline"},"pre > code.diff-highlight.diff-highlight .token.deleted:not(.prefix)":{backgroundColor:"rgba(255, 0, 0, .3)",display:"inline"},"pre.diff-highlight.diff-highlight > code .token.inserted:not(.prefix)":{backgroundColor:"rgba(0, 255, 128, .3)",display:"inline"},"pre > code.diff-highlight.diff-highlight .token.inserted:not(.prefix)":{backgroundColor:"rgba(0, 255, 128, .3)",display:"inline"}}})(aY)),aY}var iY={},Zhe;function Vut(){return Zhe||(Zhe=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#272822",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#272822",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#8292a2"},prolog:{color:"#8292a2"},doctype:{color:"#8292a2"},cdata:{color:"#8292a2"},punctuation:{color:"#f8f8f2"},namespace:{Opacity:".7"},property:{color:"#f92672"},tag:{color:"#f92672"},constant:{color:"#f92672"},symbol:{color:"#f92672"},deleted:{color:"#f92672"},boolean:{color:"#ae81ff"},number:{color:"#ae81ff"},selector:{color:"#a6e22e"},"attr-name":{color:"#a6e22e"},string:{color:"#a6e22e"},char:{color:"#a6e22e"},builtin:{color:"#a6e22e"},inserted:{color:"#a6e22e"},operator:{color:"#f8f8f2"},entity:{color:"#f8f8f2",cursor:"help"},url:{color:"#f8f8f2"},".language-css .token.string":{color:"#f8f8f2"},".style .token.string":{color:"#f8f8f2"},variable:{color:"#f8f8f2"},atrule:{color:"#e6db74"},"attr-value":{color:"#e6db74"},function:{color:"#e6db74"},"class-name":{color:"#e6db74"},keyword:{color:"#66d9ef"},regex:{color:"#fd971f"},important:{color:"#fd971f",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(iY)),iY}var sY={},Khe;function Uut(){return Khe||(Khe=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#657b83",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#657b83",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em",backgroundColor:"#fdf6e3"},'pre[class*="language-"]::-moz-selection':{background:"#073642"},'pre[class*="language-"] ::-moz-selection':{background:"#073642"},'code[class*="language-"]::-moz-selection':{background:"#073642"},'code[class*="language-"] ::-moz-selection':{background:"#073642"},'pre[class*="language-"]::selection':{background:"#073642"},'pre[class*="language-"] ::selection':{background:"#073642"},'code[class*="language-"]::selection':{background:"#073642"},'code[class*="language-"] ::selection':{background:"#073642"},':not(pre) > code[class*="language-"]':{backgroundColor:"#fdf6e3",padding:".1em",borderRadius:".3em"},comment:{color:"#93a1a1"},prolog:{color:"#93a1a1"},doctype:{color:"#93a1a1"},cdata:{color:"#93a1a1"},punctuation:{color:"#586e75"},namespace:{Opacity:".7"},property:{color:"#268bd2"},tag:{color:"#268bd2"},boolean:{color:"#268bd2"},number:{color:"#268bd2"},constant:{color:"#268bd2"},symbol:{color:"#268bd2"},deleted:{color:"#268bd2"},selector:{color:"#2aa198"},"attr-name":{color:"#2aa198"},string:{color:"#2aa198"},char:{color:"#2aa198"},builtin:{color:"#2aa198"},url:{color:"#2aa198"},inserted:{color:"#2aa198"},entity:{color:"#657b83",background:"#eee8d5",cursor:"help"},atrule:{color:"#859900"},"attr-value":{color:"#859900"},keyword:{color:"#859900"},function:{color:"#b58900"},"class-name":{color:"#b58900"},regex:{color:"#cb4b16"},important:{color:"#cb4b16",fontWeight:"bold"},variable:{color:"#cb4b16"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(sY)),sY}var lY={},Yhe;function Wut(){return Yhe||(Yhe=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#ccc",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#ccc",background:"#2d2d2d",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},':not(pre) > code[class*="language-"]':{background:"#2d2d2d",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#999"},"block-comment":{color:"#999"},prolog:{color:"#999"},doctype:{color:"#999"},cdata:{color:"#999"},punctuation:{color:"#ccc"},tag:{color:"#e2777a"},"attr-name":{color:"#e2777a"},namespace:{color:"#e2777a"},deleted:{color:"#e2777a"},"function-name":{color:"#6196cc"},boolean:{color:"#f08d49"},number:{color:"#f08d49"},function:{color:"#f08d49"},property:{color:"#f8c555"},"class-name":{color:"#f8c555"},constant:{color:"#f8c555"},symbol:{color:"#f8c555"},selector:{color:"#cc99cd"},important:{color:"#cc99cd",fontWeight:"bold"},atrule:{color:"#cc99cd"},keyword:{color:"#cc99cd"},builtin:{color:"#cc99cd"},string:{color:"#7ec699"},char:{color:"#7ec699"},"attr-value":{color:"#7ec699"},regex:{color:"#7ec699"},variable:{color:"#7ec699"},operator:{color:"#67cdcc"},entity:{color:"#67cdcc",cursor:"help"},url:{color:"#67cdcc"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{color:"green"}}})(lY)),lY}var cY={},Xhe;function Gut(){return Xhe||(Xhe=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"white",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",textShadow:"0 -.1em .2em black",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"white",background:"hsl(0, 0%, 8%)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",textShadow:"0 -.1em .2em black",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",borderRadius:".5em",border:".3em solid hsl(0, 0%, 33%)",boxShadow:"1px 1px .5em black inset",margin:".5em 0",overflow:"auto",padding:"1em"},':not(pre) > code[class*="language-"]':{background:"hsl(0, 0%, 8%)",borderRadius:".3em",border:".13em solid hsl(0, 0%, 33%)",boxShadow:"1px 1px .3em -.1em black inset",padding:".15em .2em .05em",whiteSpace:"normal"},'pre[class*="language-"]::-moz-selection':{background:"hsla(0, 0%, 93%, 0.15)",textShadow:"none"},'pre[class*="language-"]::selection':{background:"hsla(0, 0%, 93%, 0.15)",textShadow:"none"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"]::selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"] ::selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},comment:{color:"hsl(0, 0%, 47%)"},prolog:{color:"hsl(0, 0%, 47%)"},doctype:{color:"hsl(0, 0%, 47%)"},cdata:{color:"hsl(0, 0%, 47%)"},punctuation:{Opacity:".7"},namespace:{Opacity:".7"},tag:{color:"hsl(14, 58%, 55%)"},boolean:{color:"hsl(14, 58%, 55%)"},number:{color:"hsl(14, 58%, 55%)"},deleted:{color:"hsl(14, 58%, 55%)"},keyword:{color:"hsl(53, 89%, 79%)"},property:{color:"hsl(53, 89%, 79%)"},selector:{color:"hsl(53, 89%, 79%)"},constant:{color:"hsl(53, 89%, 79%)"},symbol:{color:"hsl(53, 89%, 79%)"},builtin:{color:"hsl(53, 89%, 79%)"},"attr-name":{color:"hsl(76, 21%, 52%)"},"attr-value":{color:"hsl(76, 21%, 52%)"},string:{color:"hsl(76, 21%, 52%)"},char:{color:"hsl(76, 21%, 52%)"},operator:{color:"hsl(76, 21%, 52%)"},entity:{color:"hsl(76, 21%, 52%)",cursor:"help"},url:{color:"hsl(76, 21%, 52%)"},".language-css .token.string":{color:"hsl(76, 21%, 52%)"},".style .token.string":{color:"hsl(76, 21%, 52%)"},variable:{color:"hsl(76, 21%, 52%)"},inserted:{color:"hsl(76, 21%, 52%)"},atrule:{color:"hsl(218, 22%, 55%)"},regex:{color:"hsl(42, 75%, 65%)"},important:{color:"hsl(42, 75%, 65%)",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},".language-markup .token.tag":{color:"hsl(33, 33%, 52%)"},".language-markup .token.attr-name":{color:"hsl(33, 33%, 52%)"},".language-markup .token.punctuation":{color:"hsl(33, 33%, 52%)"},"":{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"linear-gradient(to right, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0))",borderBottom:"1px dashed hsl(0, 0%, 33%)",borderTop:"1px dashed hsl(0, 0%, 33%)",marginTop:"0.75em",zIndex:"0"},".line-highlight.line-highlight:before":{backgroundColor:"hsl(215, 15%, 59%)",color:"hsl(24, 20%, 95%)"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"hsl(215, 15%, 59%)",color:"hsl(24, 20%, 95%)"}}})(cY)),cY}var uY={},Qhe;function Zut(){return Qhe||(Qhe=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(uY)),uY}var dY={},Jhe;function Kut(){return Jhe||(Jhe=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#2b2b2b",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#2b2b2b",padding:"0.1em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#d4d0ab"},prolog:{color:"#d4d0ab"},doctype:{color:"#d4d0ab"},cdata:{color:"#d4d0ab"},punctuation:{color:"#fefefe"},property:{color:"#ffa07a"},tag:{color:"#ffa07a"},constant:{color:"#ffa07a"},symbol:{color:"#ffa07a"},deleted:{color:"#ffa07a"},boolean:{color:"#00e0e0"},number:{color:"#00e0e0"},selector:{color:"#abe338"},"attr-name":{color:"#abe338"},string:{color:"#abe338"},char:{color:"#abe338"},builtin:{color:"#abe338"},inserted:{color:"#abe338"},operator:{color:"#00e0e0"},entity:{color:"#00e0e0",cursor:"help"},url:{color:"#00e0e0"},".language-css .token.string":{color:"#00e0e0"},".style .token.string":{color:"#00e0e0"},variable:{color:"#00e0e0"},atrule:{color:"#ffd700"},"attr-value":{color:"#ffd700"},function:{color:"#ffd700"},keyword:{color:"#00e0e0"},regex:{color:"#ffd700"},important:{color:"#ffd700",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(dY)),dY}var hY={},e0e;function Yut(){return e0e||(e0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#c5c8c6",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#c5c8c6",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em",background:"#1d1f21"},':not(pre) > code[class*="language-"]':{background:"#1d1f21",padding:".1em",borderRadius:".3em"},comment:{color:"#7C7C7C"},prolog:{color:"#7C7C7C"},doctype:{color:"#7C7C7C"},cdata:{color:"#7C7C7C"},punctuation:{color:"#c5c8c6"},".namespace":{Opacity:".7"},property:{color:"#96CBFE"},keyword:{color:"#96CBFE"},tag:{color:"#96CBFE"},"class-name":{color:"#FFFFB6",textDecoration:"underline"},boolean:{color:"#99CC99"},constant:{color:"#99CC99"},symbol:{color:"#f92672"},deleted:{color:"#f92672"},number:{color:"#FF73FD"},selector:{color:"#A8FF60"},"attr-name":{color:"#A8FF60"},string:{color:"#A8FF60"},char:{color:"#A8FF60"},builtin:{color:"#A8FF60"},inserted:{color:"#A8FF60"},variable:{color:"#C6C5FE"},operator:{color:"#EDEDED"},entity:{color:"#FFFFB6",cursor:"help"},url:{color:"#96CBFE"},".language-css .token.string":{color:"#87C38A"},".style .token.string":{color:"#87C38A"},atrule:{color:"#F9EE98"},"attr-value":{color:"#F9EE98"},function:{color:"#DAD085"},regex:{color:"#E9C062"},important:{color:"#fd971f",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(hY)),hY}var fY={},t0e;function Xut(){return t0e||(t0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#f5f7ff",color:"#5e6687"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#f5f7ff",color:"#5e6687",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#dfe2f1"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"]::selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#dfe2f1"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#898ea4"},prolog:{color:"#898ea4"},doctype:{color:"#898ea4"},cdata:{color:"#898ea4"},punctuation:{color:"#5e6687"},namespace:{Opacity:".7"},operator:{color:"#c76b29"},boolean:{color:"#c76b29"},number:{color:"#c76b29"},property:{color:"#c08b30"},tag:{color:"#3d8fd1"},string:{color:"#22a2c9"},selector:{color:"#6679cc"},"attr-name":{color:"#c76b29"},entity:{color:"#22a2c9",cursor:"help"},url:{color:"#22a2c9"},".language-css .token.string":{color:"#22a2c9"},".style .token.string":{color:"#22a2c9"},"attr-value":{color:"#ac9739"},keyword:{color:"#ac9739"},control:{color:"#ac9739"},directive:{color:"#ac9739"},unit:{color:"#ac9739"},statement:{color:"#22a2c9"},regex:{color:"#22a2c9"},atrule:{color:"#22a2c9"},placeholder:{color:"#3d8fd1"},variable:{color:"#3d8fd1"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #202746",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#c94922"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:"0.4em solid #c94922",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#dfe2f1"},".line-numbers .line-numbers-rows > span:before":{color:"#979db4"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(107, 115, 148, 0.2) 70%, rgba(107, 115, 148, 0))"}}})(fY)),fY}var pY={},r0e;function Qut(){return r0e||(r0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#fff",textShadow:"0 1px 1px #000",fontFamily:'Menlo, Monaco, "Courier New", monospace',direction:"ltr",textAlign:"left",wordSpacing:"normal",whiteSpace:"pre",wordWrap:"normal",lineHeight:"1.4",background:"none",border:"0",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#fff",textShadow:"0 1px 1px #000",fontFamily:'Menlo, Monaco, "Courier New", monospace',direction:"ltr",textAlign:"left",wordSpacing:"normal",whiteSpace:"pre",wordWrap:"normal",lineHeight:"1.4",background:"#222",border:"0",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"15px",margin:"1em 0",overflow:"auto",MozBorderRadius:"8px",WebkitBorderRadius:"8px",borderRadius:"8px"},'pre[class*="language-"] code':{float:"left",padding:"0 15px 0 0"},':not(pre) > code[class*="language-"]':{background:"#222",padding:"5px 10px",lineHeight:"1",MozBorderRadius:"3px",WebkitBorderRadius:"3px",borderRadius:"3px"},comment:{color:"#797979"},prolog:{color:"#797979"},doctype:{color:"#797979"},cdata:{color:"#797979"},selector:{color:"#fff"},operator:{color:"#fff"},punctuation:{color:"#fff"},namespace:{Opacity:".7"},tag:{color:"#ffd893"},boolean:{color:"#ffd893"},atrule:{color:"#B0C975"},"attr-value":{color:"#B0C975"},hex:{color:"#B0C975"},string:{color:"#B0C975"},property:{color:"#c27628"},entity:{color:"#c27628",cursor:"help"},url:{color:"#c27628"},"attr-name":{color:"#c27628"},keyword:{color:"#c27628"},regex:{color:"#9B71C6"},function:{color:"#e5a638"},constant:{color:"#e5a638"},variable:{color:"#fdfba8"},number:{color:"#8799B0"},important:{color:"#E45734"},deliminator:{color:"#E45734"},".line-highlight.line-highlight":{background:"rgba(255, 255, 255, .2)"},".line-highlight.line-highlight:before":{top:".3em",backgroundColor:"rgba(255, 255, 255, .3)",color:"#fff",MozBorderRadius:"8px",WebkitBorderRadius:"8px",borderRadius:"8px"},".line-highlight.line-highlight[data-end]:after":{top:".3em",backgroundColor:"rgba(255, 255, 255, .3)",color:"#fff",MozBorderRadius:"8px",WebkitBorderRadius:"8px",borderRadius:"8px"},".line-numbers .line-numbers-rows > span":{borderRight:"3px #d9d336 solid"}}})(pY)),pY}var mY={},n0e;function Jut(){return n0e||(n0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#111b27",background:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#111b27",background:"#e3eaf2",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{background:"#8da1b9"},'pre[class*="language-"] ::-moz-selection':{background:"#8da1b9"},'code[class*="language-"]::-moz-selection':{background:"#8da1b9"},'code[class*="language-"] ::-moz-selection':{background:"#8da1b9"},'pre[class*="language-"]::selection':{background:"#8da1b9"},'pre[class*="language-"] ::selection':{background:"#8da1b9"},'code[class*="language-"]::selection':{background:"#8da1b9"},'code[class*="language-"] ::selection':{background:"#8da1b9"},':not(pre) > code[class*="language-"]':{background:"#e3eaf2",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#3c526d"},prolog:{color:"#3c526d"},doctype:{color:"#3c526d"},cdata:{color:"#3c526d"},punctuation:{color:"#111b27"},"delimiter.important":{color:"#006d6d",fontWeight:"inherit"},"selector.parent":{color:"#006d6d"},tag:{color:"#006d6d"},"tag.punctuation":{color:"#006d6d"},"attr-name":{color:"#755f00"},boolean:{color:"#755f00"},"boolean.important":{color:"#755f00"},number:{color:"#755f00"},constant:{color:"#755f00"},"selector.attribute":{color:"#755f00"},"class-name":{color:"#005a8e"},key:{color:"#005a8e"},parameter:{color:"#005a8e"},property:{color:"#005a8e"},"property-access":{color:"#005a8e"},variable:{color:"#005a8e"},"attr-value":{color:"#116b00"},inserted:{color:"#116b00"},color:{color:"#116b00"},"selector.value":{color:"#116b00"},string:{color:"#116b00"},"string.url-link":{color:"#116b00"},builtin:{color:"#af00af"},"keyword-array":{color:"#af00af"},package:{color:"#af00af"},regex:{color:"#af00af"},function:{color:"#7c00aa"},"selector.class":{color:"#7c00aa"},"selector.id":{color:"#7c00aa"},"atrule.rule":{color:"#a04900"},combinator:{color:"#a04900"},keyword:{color:"#a04900"},operator:{color:"#a04900"},"pseudo-class":{color:"#a04900"},"pseudo-element":{color:"#a04900"},selector:{color:"#a04900"},unit:{color:"#a04900"},deleted:{color:"#c22f2e"},important:{color:"#c22f2e",fontWeight:"bold"},"keyword-this":{color:"#005a8e",fontWeight:"bold"},this:{color:"#005a8e",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#005a8e",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#005a8e",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#af00af"},".language-markdown .token.code":{color:"#006d6d"},".language-markdown .token.hr.punctuation":{color:"#005a8e"},".language-markdown .token.url > .token.content":{color:"#116b00"},".language-markdown .token.url-link":{color:"#755f00"},".language-markdown .token.list.punctuation":{color:"#af00af"},".language-markdown .token.table-header":{color:"#111b27"},".language-json .token.operator":{color:"#111b27"},".language-scss .token.variable":{color:"#006d6d"},"token.tab:not(:empty):before":{color:"#3c526d"},"token.cr:before":{color:"#3c526d"},"token.lf:before":{color:"#3c526d"},"token.space:before":{color:"#3c526d"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#e3eaf2",background:"#005a8e"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#e3eaf2",background:"#005a8e"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#e3eaf2",background:"#3c526d"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#e3eaf2",background:"#3c526d"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#e3eaf2",background:"#3c526d"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #8da1b92f 70%, #8da1b925)"},".line-highlight.line-highlight:before":{backgroundColor:"#3c526d",color:"#e3eaf2",boxShadow:"0 1px #8da1b9"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#3c526d",color:"#e3eaf2",boxShadow:"0 1px #8da1b9"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#3c526d1f"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #8da1b97a",background:"#d0dae77a"},".line-numbers .line-numbers-rows > span:before":{color:"#3c526dda"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#755f00"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#755f00"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#755f00"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#af00af"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#af00af"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#af00af"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#005a8e"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#005a8e"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#005a8e"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#7c00aa"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#7c00aa"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#7c00aa"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#c22f2e1f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#c22f2e1f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#116b001f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#116b001f"},".command-line .command-line-prompt":{borderRight:"1px solid #8da1b97a"},".command-line .command-line-prompt > span:before":{color:"#3c526dda"}}})(mY)),mY}var gY={},o0e;function edt(){return o0e||(o0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#e3eaf2",background:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#e3eaf2",background:"#111b27",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{background:"#3c526d"},'pre[class*="language-"] ::-moz-selection':{background:"#3c526d"},'code[class*="language-"]::-moz-selection':{background:"#3c526d"},'code[class*="language-"] ::-moz-selection':{background:"#3c526d"},'pre[class*="language-"]::selection':{background:"#3c526d"},'pre[class*="language-"] ::selection':{background:"#3c526d"},'code[class*="language-"]::selection':{background:"#3c526d"},'code[class*="language-"] ::selection':{background:"#3c526d"},':not(pre) > code[class*="language-"]':{background:"#111b27",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#8da1b9"},prolog:{color:"#8da1b9"},doctype:{color:"#8da1b9"},cdata:{color:"#8da1b9"},punctuation:{color:"#e3eaf2"},"delimiter.important":{color:"#66cccc",fontWeight:"inherit"},"selector.parent":{color:"#66cccc"},tag:{color:"#66cccc"},"tag.punctuation":{color:"#66cccc"},"attr-name":{color:"#e6d37a"},boolean:{color:"#e6d37a"},"boolean.important":{color:"#e6d37a"},number:{color:"#e6d37a"},constant:{color:"#e6d37a"},"selector.attribute":{color:"#e6d37a"},"class-name":{color:"#6cb8e6"},key:{color:"#6cb8e6"},parameter:{color:"#6cb8e6"},property:{color:"#6cb8e6"},"property-access":{color:"#6cb8e6"},variable:{color:"#6cb8e6"},"attr-value":{color:"#91d076"},inserted:{color:"#91d076"},color:{color:"#91d076"},"selector.value":{color:"#91d076"},string:{color:"#91d076"},"string.url-link":{color:"#91d076"},builtin:{color:"#f4adf4"},"keyword-array":{color:"#f4adf4"},package:{color:"#f4adf4"},regex:{color:"#f4adf4"},function:{color:"#c699e3"},"selector.class":{color:"#c699e3"},"selector.id":{color:"#c699e3"},"atrule.rule":{color:"#e9ae7e"},combinator:{color:"#e9ae7e"},keyword:{color:"#e9ae7e"},operator:{color:"#e9ae7e"},"pseudo-class":{color:"#e9ae7e"},"pseudo-element":{color:"#e9ae7e"},selector:{color:"#e9ae7e"},unit:{color:"#e9ae7e"},deleted:{color:"#cd6660"},important:{color:"#cd6660",fontWeight:"bold"},"keyword-this":{color:"#6cb8e6",fontWeight:"bold"},this:{color:"#6cb8e6",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#f4adf4"},".language-markdown .token.code":{color:"#66cccc"},".language-markdown .token.hr.punctuation":{color:"#6cb8e6"},".language-markdown .token.url .token.content":{color:"#91d076"},".language-markdown .token.url-link":{color:"#e6d37a"},".language-markdown .token.list.punctuation":{color:"#f4adf4"},".language-markdown .token.table-header":{color:"#e3eaf2"},".language-json .token.operator":{color:"#e3eaf2"},".language-scss .token.variable":{color:"#66cccc"},"token.tab:not(:empty):before":{color:"#8da1b9"},"token.cr:before":{color:"#8da1b9"},"token.lf:before":{color:"#8da1b9"},"token.space:before":{color:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#111b27",background:"#8da1b9"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #3c526d5f 70%, #3c526d55)"},".line-highlight.line-highlight:before":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#8da1b918"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #0b121b",background:"#0b121b7a"},".line-numbers .line-numbers-rows > span:before":{color:"#8da1b9da"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#c699e3"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},".command-line .command-line-prompt":{borderRight:"1px solid #0b121b"},".command-line .command-line-prompt > span:before":{color:"#8da1b9da"}}})(gY)),gY}var yY={},a0e;function tdt(){return a0e||(a0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",position:"relative",borderLeft:"10px solid #358ccb",boxShadow:"-1px 0 0 0 #358ccb, 0 0 0 1px #dfdfdf",backgroundColor:"#fdfdfd",backgroundImage:"linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)",backgroundSize:"3em 3em",backgroundOrigin:"content-box",backgroundAttachment:"local",margin:".5em 0",padding:"0 1em"},'pre[class*="language-"] > code':{display:"block"},':not(pre) > code[class*="language-"]':{position:"relative",padding:".2em",borderRadius:"0.3em",color:"#c92c2c",border:"1px solid rgba(0, 0, 0, 0.1)",display:"inline",whiteSpace:"normal",backgroundColor:"#fdfdfd",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box"},comment:{color:"#7D8B99"},"block-comment":{color:"#7D8B99"},prolog:{color:"#7D8B99"},doctype:{color:"#7D8B99"},cdata:{color:"#7D8B99"},punctuation:{color:"#5F6364"},property:{color:"#c92c2c"},tag:{color:"#c92c2c"},boolean:{color:"#c92c2c"},number:{color:"#c92c2c"},"function-name":{color:"#c92c2c"},constant:{color:"#c92c2c"},symbol:{color:"#c92c2c"},deleted:{color:"#c92c2c"},selector:{color:"#2f9c0a"},"attr-name":{color:"#2f9c0a"},string:{color:"#2f9c0a"},char:{color:"#2f9c0a"},function:{color:"#2f9c0a"},builtin:{color:"#2f9c0a"},inserted:{color:"#2f9c0a"},operator:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},entity:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)",cursor:"help"},url:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},variable:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},atrule:{color:"#1990b8"},"attr-value":{color:"#1990b8"},keyword:{color:"#1990b8"},"class-name":{color:"#1990b8"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"normal"},".language-css .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},".style .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:".7"}}})(yY)),yY}var bY={},i0e;function rdt(){return i0e||(i0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#a9b7c6",fontFamily:"Consolas, Monaco, 'Andale Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#a9b7c6",fontFamily:"Consolas, Monaco, 'Andale Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#2b2b2b"},'pre[class*="language-"]::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"] ::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"]::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"] ::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"]::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"] ::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"]::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"] ::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},':not(pre) > code[class*="language-"]':{background:"#2b2b2b",padding:".1em",borderRadius:".3em"},comment:{color:"#808080"},prolog:{color:"#808080"},cdata:{color:"#808080"},delimiter:{color:"#cc7832"},boolean:{color:"#cc7832"},keyword:{color:"#cc7832"},selector:{color:"#cc7832"},important:{color:"#cc7832"},atrule:{color:"#cc7832"},operator:{color:"#a9b7c6"},punctuation:{color:"#a9b7c6"},"attr-name":{color:"#a9b7c6"},tag:{color:"#e8bf6a"},"tag.punctuation":{color:"#e8bf6a"},doctype:{color:"#e8bf6a"},builtin:{color:"#e8bf6a"},entity:{color:"#6897bb"},number:{color:"#6897bb"},symbol:{color:"#6897bb"},property:{color:"#9876aa"},constant:{color:"#9876aa"},variable:{color:"#9876aa"},string:{color:"#6a8759"},char:{color:"#6a8759"},"attr-value":{color:"#a5c261"},"attr-value.punctuation":{color:"#a5c261"},"attr-value.punctuation:first-child":{color:"#a9b7c6"},url:{color:"#287bde",textDecoration:"underline"},function:{color:"#ffc66d"},regex:{background:"#364135"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#294436"},deleted:{background:"#484a4a"},"code.language-css .token.property":{color:"#a9b7c6"},"code.language-css .token.property + .token.punctuation":{color:"#a9b7c6"},"code.language-css .token.id":{color:"#ffc66d"},"code.language-css .token.selector > .token.class":{color:"#ffc66d"},"code.language-css .token.selector > .token.attribute":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-class":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-element":{color:"#ffc66d"}}})(bY)),bY}var xY={},s0e;function ndt(){return s0e||(s0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#282a36",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#282a36",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#6272a4"},prolog:{color:"#6272a4"},doctype:{color:"#6272a4"},cdata:{color:"#6272a4"},punctuation:{color:"#f8f8f2"},".namespace":{Opacity:".7"},property:{color:"#ff79c6"},tag:{color:"#ff79c6"},constant:{color:"#ff79c6"},symbol:{color:"#ff79c6"},deleted:{color:"#ff79c6"},boolean:{color:"#bd93f9"},number:{color:"#bd93f9"},selector:{color:"#50fa7b"},"attr-name":{color:"#50fa7b"},string:{color:"#50fa7b"},char:{color:"#50fa7b"},builtin:{color:"#50fa7b"},inserted:{color:"#50fa7b"},operator:{color:"#f8f8f2"},entity:{color:"#f8f8f2",cursor:"help"},url:{color:"#f8f8f2"},".language-css .token.string":{color:"#f8f8f2"},".style .token.string":{color:"#f8f8f2"},variable:{color:"#f8f8f2"},atrule:{color:"#f1fa8c"},"attr-value":{color:"#f1fa8c"},function:{color:"#f1fa8c"},"class-name":{color:"#f1fa8c"},keyword:{color:"#8be9fd"},regex:{color:"#ffb86c"},important:{color:"#ffb86c",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(xY)),xY}var kY={},l0e;function odt(){return l0e||(l0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2734",color:"#9a86fd"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2734",color:"#9a86fd",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6a51e6"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6a51e6"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#6a51e6"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"]::selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#6a51e6"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#6c6783"},prolog:{color:"#6c6783"},doctype:{color:"#6c6783"},cdata:{color:"#6c6783"},punctuation:{color:"#6c6783"},namespace:{Opacity:".7"},tag:{color:"#e09142"},operator:{color:"#e09142"},number:{color:"#e09142"},property:{color:"#9a86fd"},function:{color:"#9a86fd"},"tag-id":{color:"#eeebff"},selector:{color:"#eeebff"},"atrule-id":{color:"#eeebff"},"code.language-javascript":{color:"#c4b9fe"},"attr-name":{color:"#c4b9fe"},"code.language-css":{color:"#ffcc99"},"code.language-scss":{color:"#ffcc99"},boolean:{color:"#ffcc99"},string:{color:"#ffcc99"},entity:{color:"#ffcc99",cursor:"help"},url:{color:"#ffcc99"},".language-css .token.string":{color:"#ffcc99"},".language-scss .token.string":{color:"#ffcc99"},".style .token.string":{color:"#ffcc99"},"attr-value":{color:"#ffcc99"},keyword:{color:"#ffcc99"},control:{color:"#ffcc99"},directive:{color:"#ffcc99"},unit:{color:"#ffcc99"},statement:{color:"#ffcc99"},regex:{color:"#ffcc99"},atrule:{color:"#ffcc99"},placeholder:{color:"#ffcc99"},variable:{color:"#ffcc99"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #eeebff",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#c4b9fe"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #8a75f5",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#2c2937"},".line-numbers .line-numbers-rows > span:before":{color:"#3c3949"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(224, 145, 66, 0.2) 70%, rgba(224, 145, 66, 0))"}}})(kY)),kY}var vY={},c0e;function adt(){return c0e||(c0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#322d29",color:"#88786d"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#322d29",color:"#88786d",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6f5849"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6f5849"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#6f5849"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"]::selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#6f5849"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#6a5f58"},prolog:{color:"#6a5f58"},doctype:{color:"#6a5f58"},cdata:{color:"#6a5f58"},punctuation:{color:"#6a5f58"},namespace:{Opacity:".7"},tag:{color:"#bfa05a"},operator:{color:"#bfa05a"},number:{color:"#bfa05a"},property:{color:"#88786d"},function:{color:"#88786d"},"tag-id":{color:"#fff3eb"},selector:{color:"#fff3eb"},"atrule-id":{color:"#fff3eb"},"code.language-javascript":{color:"#a48774"},"attr-name":{color:"#a48774"},"code.language-css":{color:"#fcc440"},"code.language-scss":{color:"#fcc440"},boolean:{color:"#fcc440"},string:{color:"#fcc440"},entity:{color:"#fcc440",cursor:"help"},url:{color:"#fcc440"},".language-css .token.string":{color:"#fcc440"},".language-scss .token.string":{color:"#fcc440"},".style .token.string":{color:"#fcc440"},"attr-value":{color:"#fcc440"},keyword:{color:"#fcc440"},control:{color:"#fcc440"},directive:{color:"#fcc440"},unit:{color:"#fcc440"},statement:{color:"#fcc440"},regex:{color:"#fcc440"},atrule:{color:"#fcc440"},placeholder:{color:"#fcc440"},variable:{color:"#fcc440"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #fff3eb",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#a48774"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #816d5f",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#35302b"},".line-numbers .line-numbers-rows > span:before":{color:"#46403d"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(191, 160, 90, 0.2) 70%, rgba(191, 160, 90, 0))"}}})(vY)),vY}var wY={},u0e;function idt(){return u0e||(u0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2d2a",color:"#687d68"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2d2a",color:"#687d68",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#435643"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#435643"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#435643"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#435643"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#435643"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#435643"},'code[class*="language-"]::selection':{textShadow:"none",background:"#435643"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#435643"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#535f53"},prolog:{color:"#535f53"},doctype:{color:"#535f53"},cdata:{color:"#535f53"},punctuation:{color:"#535f53"},namespace:{Opacity:".7"},tag:{color:"#a2b34d"},operator:{color:"#a2b34d"},number:{color:"#a2b34d"},property:{color:"#687d68"},function:{color:"#687d68"},"tag-id":{color:"#f0fff0"},selector:{color:"#f0fff0"},"atrule-id":{color:"#f0fff0"},"code.language-javascript":{color:"#b3d6b3"},"attr-name":{color:"#b3d6b3"},"code.language-css":{color:"#e5fb79"},"code.language-scss":{color:"#e5fb79"},boolean:{color:"#e5fb79"},string:{color:"#e5fb79"},entity:{color:"#e5fb79",cursor:"help"},url:{color:"#e5fb79"},".language-css .token.string":{color:"#e5fb79"},".language-scss .token.string":{color:"#e5fb79"},".style .token.string":{color:"#e5fb79"},"attr-value":{color:"#e5fb79"},keyword:{color:"#e5fb79"},control:{color:"#e5fb79"},directive:{color:"#e5fb79"},unit:{color:"#e5fb79"},statement:{color:"#e5fb79"},regex:{color:"#e5fb79"},atrule:{color:"#e5fb79"},placeholder:{color:"#e5fb79"},variable:{color:"#e5fb79"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #f0fff0",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#b3d6b3"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #5c705c",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#2c302c"},".line-numbers .line-numbers-rows > span:before":{color:"#3b423b"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(162, 179, 77, 0.2) 70%, rgba(162, 179, 77, 0))"}}})(wY)),wY}var CY={},d0e;function sdt(){return d0e||(d0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#faf8f5",color:"#728fcb"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#faf8f5",color:"#728fcb",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"]::selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#faf8f5"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#b6ad9a"},prolog:{color:"#b6ad9a"},doctype:{color:"#b6ad9a"},cdata:{color:"#b6ad9a"},punctuation:{color:"#b6ad9a"},namespace:{Opacity:".7"},tag:{color:"#063289"},operator:{color:"#063289"},number:{color:"#063289"},property:{color:"#b29762"},function:{color:"#b29762"},"tag-id":{color:"#2d2006"},selector:{color:"#2d2006"},"atrule-id":{color:"#2d2006"},"code.language-javascript":{color:"#896724"},"attr-name":{color:"#896724"},"code.language-css":{color:"#728fcb"},"code.language-scss":{color:"#728fcb"},boolean:{color:"#728fcb"},string:{color:"#728fcb"},entity:{color:"#728fcb",cursor:"help"},url:{color:"#728fcb"},".language-css .token.string":{color:"#728fcb"},".language-scss .token.string":{color:"#728fcb"},".style .token.string":{color:"#728fcb"},"attr-value":{color:"#728fcb"},keyword:{color:"#728fcb"},control:{color:"#728fcb"},directive:{color:"#728fcb"},unit:{color:"#728fcb"},statement:{color:"#728fcb"},regex:{color:"#728fcb"},atrule:{color:"#728fcb"},placeholder:{color:"#93abdc"},variable:{color:"#93abdc"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #2d2006",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#896724"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #896724",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#ece8de"},".line-numbers .line-numbers-rows > span:before":{color:"#cdc4b1"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(45, 32, 6, 0.2) 70%, rgba(45, 32, 6, 0))"}}})(CY)),CY}var SY={},h0e;function ldt(){return h0e||(h0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#1d262f",color:"#57718e"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#1d262f",color:"#57718e",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#004a9e"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#004a9e"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#004a9e"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"]::selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#004a9e"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#4a5f78"},prolog:{color:"#4a5f78"},doctype:{color:"#4a5f78"},cdata:{color:"#4a5f78"},punctuation:{color:"#4a5f78"},namespace:{Opacity:".7"},tag:{color:"#0aa370"},operator:{color:"#0aa370"},number:{color:"#0aa370"},property:{color:"#57718e"},function:{color:"#57718e"},"tag-id":{color:"#ebf4ff"},selector:{color:"#ebf4ff"},"atrule-id":{color:"#ebf4ff"},"code.language-javascript":{color:"#7eb6f6"},"attr-name":{color:"#7eb6f6"},"code.language-css":{color:"#47ebb4"},"code.language-scss":{color:"#47ebb4"},boolean:{color:"#47ebb4"},string:{color:"#47ebb4"},entity:{color:"#47ebb4",cursor:"help"},url:{color:"#47ebb4"},".language-css .token.string":{color:"#47ebb4"},".language-scss .token.string":{color:"#47ebb4"},".style .token.string":{color:"#47ebb4"},"attr-value":{color:"#47ebb4"},keyword:{color:"#47ebb4"},control:{color:"#47ebb4"},directive:{color:"#47ebb4"},unit:{color:"#47ebb4"},statement:{color:"#47ebb4"},regex:{color:"#47ebb4"},atrule:{color:"#47ebb4"},placeholder:{color:"#47ebb4"},variable:{color:"#47ebb4"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #ebf4ff",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#7eb6f6"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #34659d",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#1f2932"},".line-numbers .line-numbers-rows > span:before":{color:"#2c3847"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(10, 163, 112, 0.2) 70%, rgba(10, 163, 112, 0))"}}})(SY)),SY}var MY={},f0e;function cdt(){return f0e||(f0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#24242e",color:"#767693"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#24242e",color:"#767693",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#5151e6"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#5151e6"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#5151e6"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"]::selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#5151e6"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#5b5b76"},prolog:{color:"#5b5b76"},doctype:{color:"#5b5b76"},cdata:{color:"#5b5b76"},punctuation:{color:"#5b5b76"},namespace:{Opacity:".7"},tag:{color:"#dd672c"},operator:{color:"#dd672c"},number:{color:"#dd672c"},property:{color:"#767693"},function:{color:"#767693"},"tag-id":{color:"#ebebff"},selector:{color:"#ebebff"},"atrule-id":{color:"#ebebff"},"code.language-javascript":{color:"#aaaaca"},"attr-name":{color:"#aaaaca"},"code.language-css":{color:"#fe8c52"},"code.language-scss":{color:"#fe8c52"},boolean:{color:"#fe8c52"},string:{color:"#fe8c52"},entity:{color:"#fe8c52",cursor:"help"},url:{color:"#fe8c52"},".language-css .token.string":{color:"#fe8c52"},".language-scss .token.string":{color:"#fe8c52"},".style .token.string":{color:"#fe8c52"},"attr-value":{color:"#fe8c52"},keyword:{color:"#fe8c52"},control:{color:"#fe8c52"},directive:{color:"#fe8c52"},unit:{color:"#fe8c52"},statement:{color:"#fe8c52"},regex:{color:"#fe8c52"},atrule:{color:"#fe8c52"},placeholder:{color:"#fe8c52"},variable:{color:"#fe8c52"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #ebebff",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#aaaaca"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #7676f4",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#262631"},".line-numbers .line-numbers-rows > span:before":{color:"#393949"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(221, 103, 44, 0.2) 70%, rgba(221, 103, 44, 0))"}}})(MY)),MY}var _Y={},p0e;function udt(){return p0e||(p0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",border:"1px solid #dddddd",backgroundColor:"white"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{background:"#b3d4fc"},'pre[class*="language-"]::selection':{background:"#b3d4fc"},'pre[class*="language-"] ::selection':{background:"#b3d4fc"},'code[class*="language-"]::selection':{background:"#b3d4fc"},'code[class*="language-"] ::selection':{background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{padding:".2em",paddingTop:"1px",paddingBottom:"1px",background:"#f8f8f8",border:"1px solid #dddddd"},comment:{color:"#999988",fontStyle:"italic"},prolog:{color:"#999988",fontStyle:"italic"},doctype:{color:"#999988",fontStyle:"italic"},cdata:{color:"#999988",fontStyle:"italic"},namespace:{Opacity:".7"},string:{color:"#e3116c"},"attr-value":{color:"#e3116c"},punctuation:{color:"#393A34"},operator:{color:"#393A34"},entity:{color:"#36acaa"},url:{color:"#36acaa"},symbol:{color:"#36acaa"},number:{color:"#36acaa"},boolean:{color:"#36acaa"},variable:{color:"#36acaa"},constant:{color:"#36acaa"},property:{color:"#36acaa"},regex:{color:"#36acaa"},inserted:{color:"#36acaa"},atrule:{color:"#00a4db"},keyword:{color:"#00a4db"},"attr-name":{color:"#00a4db"},".language-autohotkey .token.selector":{color:"#00a4db"},function:{color:"#9a050f",fontWeight:"bold"},deleted:{color:"#9a050f"},".language-autohotkey .token.tag":{color:"#9a050f"},tag:{color:"#00009f"},selector:{color:"#00009f"},".language-autohotkey .token.keyword":{color:"#00009f"},important:{fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(_Y)),_Y}var TY={},m0e;function ddt(){return m0e||(m0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#ebdbb2",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#ebdbb2",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",background:"#1d2021"},'pre[class*="language-"]::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'pre[class*="language-"] ::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"]::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"] ::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'pre[class*="language-"]::selection':{color:"#fbf1c7",background:"#7c6f64"},'pre[class*="language-"] ::selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"]::selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"] ::selection':{color:"#fbf1c7",background:"#7c6f64"},':not(pre) > code[class*="language-"]':{background:"#1d2021",padding:"0.1em",borderRadius:"0.3em"},comment:{color:"#a89984"},prolog:{color:"#a89984"},cdata:{color:"#a89984"},delimiter:{color:"#fb4934"},boolean:{color:"#fb4934"},keyword:{color:"#fb4934"},selector:{color:"#fb4934"},important:{color:"#fb4934"},atrule:{color:"#fb4934"},operator:{color:"#a89984"},punctuation:{color:"#a89984"},"attr-name":{color:"#a89984"},tag:{color:"#fabd2f"},"tag.punctuation":{color:"#fabd2f"},doctype:{color:"#fabd2f"},builtin:{color:"#fabd2f"},entity:{color:"#d3869b"},number:{color:"#d3869b"},symbol:{color:"#d3869b"},property:{color:"#fb4934"},constant:{color:"#fb4934"},variable:{color:"#fb4934"},string:{color:"#b8bb26"},char:{color:"#b8bb26"},"attr-value":{color:"#a89984"},"attr-value.punctuation":{color:"#a89984"},url:{color:"#b8bb26",textDecoration:"underline"},function:{color:"#fabd2f"},regex:{background:"#b8bb26"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#a89984"},deleted:{background:"#fb4934"}}})(TY)),TY}var AY={},g0e;function hdt(){return g0e||(g0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#3c3836",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#3c3836",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",background:"#f9f5d7"},'pre[class*="language-"]::-moz-selection':{color:"#282828",background:"#a89984"},'pre[class*="language-"] ::-moz-selection':{color:"#282828",background:"#a89984"},'code[class*="language-"]::-moz-selection':{color:"#282828",background:"#a89984"},'code[class*="language-"] ::-moz-selection':{color:"#282828",background:"#a89984"},'pre[class*="language-"]::selection':{color:"#282828",background:"#a89984"},'pre[class*="language-"] ::selection':{color:"#282828",background:"#a89984"},'code[class*="language-"]::selection':{color:"#282828",background:"#a89984"},'code[class*="language-"] ::selection':{color:"#282828",background:"#a89984"},':not(pre) > code[class*="language-"]':{background:"#f9f5d7",padding:"0.1em",borderRadius:"0.3em"},comment:{color:"#7c6f64"},prolog:{color:"#7c6f64"},cdata:{color:"#7c6f64"},delimiter:{color:"#9d0006"},boolean:{color:"#9d0006"},keyword:{color:"#9d0006"},selector:{color:"#9d0006"},important:{color:"#9d0006"},atrule:{color:"#9d0006"},operator:{color:"#7c6f64"},punctuation:{color:"#7c6f64"},"attr-name":{color:"#7c6f64"},tag:{color:"#b57614"},"tag.punctuation":{color:"#b57614"},doctype:{color:"#b57614"},builtin:{color:"#b57614"},entity:{color:"#8f3f71"},number:{color:"#8f3f71"},symbol:{color:"#8f3f71"},property:{color:"#9d0006"},constant:{color:"#9d0006"},variable:{color:"#9d0006"},string:{color:"#797403"},char:{color:"#797403"},"attr-value":{color:"#7c6f64"},"attr-value.punctuation":{color:"#7c6f64"},url:{color:"#797403",textDecoration:"underline"},function:{color:"#b57614"},regex:{background:"#797403"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#7c6f64"},deleted:{background:"#9d0006"}}})(AY)),AY}var LY={},y0e;function fdt(){return y0e||(y0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={"code[class*='language-']":{color:"#d6e7ff",background:"#030314",textShadow:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',fontSize:"1em",lineHeight:"1.5",letterSpacing:".2px",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",textAlign:"left",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},"pre[class*='language-']":{color:"#d6e7ff",background:"#030314",textShadow:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',fontSize:"1em",lineHeight:"1.5",letterSpacing:".2px",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",textAlign:"left",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",border:"1px solid #2a4555",borderRadius:"5px",padding:"1.5em 1em",margin:"1em 0",overflow:"auto"},"pre[class*='language-']::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"pre[class*='language-'] ::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-']::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-'] ::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"pre[class*='language-']::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"pre[class*='language-'] ::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-']::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-'] ::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},":not(pre) > code[class*='language-']":{color:"#f0f6f6",background:"#2a4555",padding:"0.2em 0.3em",borderRadius:"0.2em",boxDecorationBreak:"clone"},comment:{color:"#446e69"},prolog:{color:"#446e69"},doctype:{color:"#446e69"},cdata:{color:"#446e69"},punctuation:{color:"#d6b007"},property:{color:"#d6e7ff"},tag:{color:"#d6e7ff"},boolean:{color:"#d6e7ff"},number:{color:"#d6e7ff"},constant:{color:"#d6e7ff"},symbol:{color:"#d6e7ff"},deleted:{color:"#d6e7ff"},selector:{color:"#e60067"},"attr-name":{color:"#e60067"},builtin:{color:"#e60067"},inserted:{color:"#e60067"},string:{color:"#49c6ec"},char:{color:"#49c6ec"},operator:{color:"#ec8e01",background:"transparent"},entity:{color:"#ec8e01",background:"transparent"},url:{color:"#ec8e01",background:"transparent"},".language-css .token.string":{color:"#ec8e01",background:"transparent"},".style .token.string":{color:"#ec8e01",background:"transparent"},atrule:{color:"#0fe468"},"attr-value":{color:"#0fe468"},keyword:{color:"#0fe468"},function:{color:"#78f3e9"},"class-name":{color:"#78f3e9"},regex:{color:"#d6e7ff"},important:{color:"#d6e7ff"},variable:{color:"#d6e7ff"}}})(LY)),LY}var EY={},b0e;function pdt(){return b0e||(b0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'"Fira Mono", Menlo, Monaco, "Lucida Console", "Courier New", Courier, monospace',fontSize:"16px",lineHeight:"1.375",direction:"ltr",textAlign:"left",wordSpacing:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",background:"#322931",color:"#b9b5b8"},'pre[class*="language-"]':{fontFamily:'"Fira Mono", Menlo, Monaco, "Lucida Console", "Courier New", Courier, monospace',fontSize:"16px",lineHeight:"1.375",direction:"ltr",textAlign:"left",wordSpacing:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",background:"#322931",color:"#b9b5b8",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#797379"},prolog:{color:"#797379"},doctype:{color:"#797379"},cdata:{color:"#797379"},punctuation:{color:"#b9b5b8"},".namespace":{Opacity:".7"},null:{color:"#fd8b19"},operator:{color:"#fd8b19"},boolean:{color:"#fd8b19"},number:{color:"#fd8b19"},property:{color:"#fdcc59"},tag:{color:"#1290bf"},string:{color:"#149b93"},selector:{color:"#c85e7c"},"attr-name":{color:"#fd8b19"},entity:{color:"#149b93",cursor:"help"},url:{color:"#149b93"},".language-css .token.string":{color:"#149b93"},".style .token.string":{color:"#149b93"},"attr-value":{color:"#8fc13e"},keyword:{color:"#8fc13e"},control:{color:"#8fc13e"},directive:{color:"#8fc13e"},unit:{color:"#8fc13e"},statement:{color:"#149b93"},regex:{color:"#149b93"},atrule:{color:"#149b93"},placeholder:{color:"#1290bf"},variable:{color:"#1290bf"},important:{color:"#dd464c",fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid red",OutlineOffset:".4em"}}})(EY)),EY}var IY={},x0e;function mdt(){return x0e||(x0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Monaco, Consolas, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#263E52",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Monaco, Consolas, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#263E52",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#5c98cd"},prolog:{color:"#5c98cd"},doctype:{color:"#5c98cd"},cdata:{color:"#5c98cd"},punctuation:{color:"#f8f8f2"},".namespace":{Opacity:".7"},property:{color:"#F05E5D"},tag:{color:"#F05E5D"},constant:{color:"#F05E5D"},symbol:{color:"#F05E5D"},deleted:{color:"#F05E5D"},boolean:{color:"#BC94F9"},number:{color:"#BC94F9"},selector:{color:"#FCFCD6"},"attr-name":{color:"#FCFCD6"},string:{color:"#FCFCD6"},char:{color:"#FCFCD6"},builtin:{color:"#FCFCD6"},inserted:{color:"#FCFCD6"},operator:{color:"#f8f8f2"},entity:{color:"#f8f8f2",cursor:"help"},url:{color:"#f8f8f2"},".language-css .token.string":{color:"#f8f8f2"},".style .token.string":{color:"#f8f8f2"},variable:{color:"#f8f8f2"},atrule:{color:"#66D8EF"},"attr-value":{color:"#66D8EF"},function:{color:"#66D8EF"},"class-name":{color:"#66D8EF"},keyword:{color:"#6EB26E"},regex:{color:"#F05E5D"},important:{color:"#F05E5D",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(IY)),IY}var RY={},k0e;function gdt(){return k0e||(k0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#eee",background:"#2f2f2f",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#eee",background:"#2f2f2f",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",overflow:"auto",position:"relative",margin:"0.5em 0",padding:"1.25em 1em"},'code[class*="language-"]::-moz-selection':{background:"#363636"},'pre[class*="language-"]::-moz-selection':{background:"#363636"},'code[class*="language-"] ::-moz-selection':{background:"#363636"},'pre[class*="language-"] ::-moz-selection':{background:"#363636"},'code[class*="language-"]::selection':{background:"#363636"},'pre[class*="language-"]::selection':{background:"#363636"},'code[class*="language-"] ::selection':{background:"#363636"},'pre[class*="language-"] ::selection':{background:"#363636"},':not(pre) > code[class*="language-"]':{whiteSpace:"normal",borderRadius:"0.2em",padding:"0.1em"},".language-css > code":{color:"#fd9170"},".language-sass > code":{color:"#fd9170"},".language-scss > code":{color:"#fd9170"},'[class*="language-"] .namespace':{Opacity:"0.7"},atrule:{color:"#c792ea"},"attr-name":{color:"#ffcb6b"},"attr-value":{color:"#a5e844"},attribute:{color:"#a5e844"},boolean:{color:"#c792ea"},builtin:{color:"#ffcb6b"},cdata:{color:"#80cbc4"},char:{color:"#80cbc4"},class:{color:"#ffcb6b"},"class-name":{color:"#f2ff00"},comment:{color:"#616161"},constant:{color:"#c792ea"},deleted:{color:"#ff6666"},doctype:{color:"#616161"},entity:{color:"#ff6666"},function:{color:"#c792ea"},hexcode:{color:"#f2ff00"},id:{color:"#c792ea",fontWeight:"bold"},important:{color:"#c792ea",fontWeight:"bold"},inserted:{color:"#80cbc4"},keyword:{color:"#c792ea"},number:{color:"#fd9170"},operator:{color:"#89ddff"},prolog:{color:"#616161"},property:{color:"#80cbc4"},"pseudo-class":{color:"#a5e844"},"pseudo-element":{color:"#a5e844"},punctuation:{color:"#89ddff"},regex:{color:"#f2ff00"},selector:{color:"#ff6666"},string:{color:"#a5e844"},symbol:{color:"#c792ea"},tag:{color:"#ff6666"},unit:{color:"#fd9170"},url:{color:"#ff6666"},variable:{color:"#ff6666"}}})(RY)),RY}var zY={},v0e;function ydt(){return v0e||(v0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#90a4ae",background:"#fafafa",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#90a4ae",background:"#fafafa",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",overflow:"auto",position:"relative",margin:"0.5em 0",padding:"1.25em 1em"},'code[class*="language-"]::-moz-selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"]::-moz-selection':{background:"#cceae7",color:"#263238"},'code[class*="language-"] ::-moz-selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"] ::-moz-selection':{background:"#cceae7",color:"#263238"},'code[class*="language-"]::selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"]::selection':{background:"#cceae7",color:"#263238"},'code[class*="language-"] ::selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"] ::selection':{background:"#cceae7",color:"#263238"},':not(pre) > code[class*="language-"]':{whiteSpace:"normal",borderRadius:"0.2em",padding:"0.1em"},".language-css > code":{color:"#f76d47"},".language-sass > code":{color:"#f76d47"},".language-scss > code":{color:"#f76d47"},'[class*="language-"] .namespace':{Opacity:"0.7"},atrule:{color:"#7c4dff"},"attr-name":{color:"#39adb5"},"attr-value":{color:"#f6a434"},attribute:{color:"#f6a434"},boolean:{color:"#7c4dff"},builtin:{color:"#39adb5"},cdata:{color:"#39adb5"},char:{color:"#39adb5"},class:{color:"#39adb5"},"class-name":{color:"#6182b8"},comment:{color:"#aabfc9"},constant:{color:"#7c4dff"},deleted:{color:"#e53935"},doctype:{color:"#aabfc9"},entity:{color:"#e53935"},function:{color:"#7c4dff"},hexcode:{color:"#f76d47"},id:{color:"#7c4dff",fontWeight:"bold"},important:{color:"#7c4dff",fontWeight:"bold"},inserted:{color:"#39adb5"},keyword:{color:"#7c4dff"},number:{color:"#f76d47"},operator:{color:"#39adb5"},prolog:{color:"#aabfc9"},property:{color:"#39adb5"},"pseudo-class":{color:"#f6a434"},"pseudo-element":{color:"#f6a434"},punctuation:{color:"#39adb5"},regex:{color:"#6182b8"},selector:{color:"#e53935"},string:{color:"#f6a434"},symbol:{color:"#7c4dff"},tag:{color:"#e53935"},unit:{color:"#f76d47"},url:{color:"#e53935"},variable:{color:"#e53935"}}})(zY)),zY}var DY={},w0e;function bdt(){return w0e||(w0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#c3cee3",background:"#263238",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#c3cee3",background:"#263238",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",overflow:"auto",position:"relative",margin:"0.5em 0",padding:"1.25em 1em"},'code[class*="language-"]::-moz-selection':{background:"#363636"},'pre[class*="language-"]::-moz-selection':{background:"#363636"},'code[class*="language-"] ::-moz-selection':{background:"#363636"},'pre[class*="language-"] ::-moz-selection':{background:"#363636"},'code[class*="language-"]::selection':{background:"#363636"},'pre[class*="language-"]::selection':{background:"#363636"},'code[class*="language-"] ::selection':{background:"#363636"},'pre[class*="language-"] ::selection':{background:"#363636"},':not(pre) > code[class*="language-"]':{whiteSpace:"normal",borderRadius:"0.2em",padding:"0.1em"},".language-css > code":{color:"#fd9170"},".language-sass > code":{color:"#fd9170"},".language-scss > code":{color:"#fd9170"},'[class*="language-"] .namespace':{Opacity:"0.7"},atrule:{color:"#c792ea"},"attr-name":{color:"#ffcb6b"},"attr-value":{color:"#c3e88d"},attribute:{color:"#c3e88d"},boolean:{color:"#c792ea"},builtin:{color:"#ffcb6b"},cdata:{color:"#80cbc4"},char:{color:"#80cbc4"},class:{color:"#ffcb6b"},"class-name":{color:"#f2ff00"},color:{color:"#f2ff00"},comment:{color:"#546e7a"},constant:{color:"#c792ea"},deleted:{color:"#f07178"},doctype:{color:"#546e7a"},entity:{color:"#f07178"},function:{color:"#c792ea"},hexcode:{color:"#f2ff00"},id:{color:"#c792ea",fontWeight:"bold"},important:{color:"#c792ea",fontWeight:"bold"},inserted:{color:"#80cbc4"},keyword:{color:"#c792ea",fontStyle:"italic"},number:{color:"#fd9170"},operator:{color:"#89ddff"},prolog:{color:"#546e7a"},property:{color:"#80cbc4"},"pseudo-class":{color:"#c3e88d"},"pseudo-element":{color:"#c3e88d"},punctuation:{color:"#89ddff"},regex:{color:"#f2ff00"},selector:{color:"#f07178"},string:{color:"#c3e88d"},symbol:{color:"#c792ea"},tag:{color:"#f07178"},unit:{color:"#f07178"},url:{color:"#fd9170"},variable:{color:"#f07178"}}})(DY)),DY}var OY={},C0e;function xdt(){return C0e||(C0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#d6deeb",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",fontSize:"1em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"white",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",fontSize:"1em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",background:"#011627"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},':not(pre) > code[class*="language-"]':{color:"white",background:"#011627",padding:"0.1em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"rgb(99, 119, 119)",fontStyle:"italic"},prolog:{color:"rgb(99, 119, 119)",fontStyle:"italic"},cdata:{color:"rgb(99, 119, 119)",fontStyle:"italic"},punctuation:{color:"rgb(199, 146, 234)"},".namespace":{color:"rgb(178, 204, 214)"},deleted:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"},symbol:{color:"rgb(128, 203, 196)"},property:{color:"rgb(128, 203, 196)"},tag:{color:"rgb(127, 219, 202)"},operator:{color:"rgb(127, 219, 202)"},keyword:{color:"rgb(127, 219, 202)"},boolean:{color:"rgb(255, 88, 116)"},number:{color:"rgb(247, 140, 108)"},constant:{color:"rgb(130, 170, 255)"},function:{color:"rgb(130, 170, 255)"},builtin:{color:"rgb(130, 170, 255)"},char:{color:"rgb(130, 170, 255)"},selector:{color:"rgb(199, 146, 234)",fontStyle:"italic"},doctype:{color:"rgb(199, 146, 234)",fontStyle:"italic"},"attr-name":{color:"rgb(173, 219, 103)",fontStyle:"italic"},inserted:{color:"rgb(173, 219, 103)",fontStyle:"italic"},string:{color:"rgb(173, 219, 103)"},url:{color:"rgb(173, 219, 103)"},entity:{color:"rgb(173, 219, 103)"},".language-css .token.string":{color:"rgb(173, 219, 103)"},".style .token.string":{color:"rgb(173, 219, 103)"},"class-name":{color:"rgb(255, 203, 139)"},atrule:{color:"rgb(255, 203, 139)"},"attr-value":{color:"rgb(255, 203, 139)"},regex:{color:"rgb(214, 222, 235)"},important:{color:"rgb(214, 222, 235)",fontWeight:"bold"},variable:{color:"rgb(214, 222, 235)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(OY)),OY}var BY={},S0e;function kdt(){return S0e||(S0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",fontFamily:`"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`,textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#2E3440",fontFamily:`"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`,textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#2E3440",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#636f88"},prolog:{color:"#636f88"},doctype:{color:"#636f88"},cdata:{color:"#636f88"},punctuation:{color:"#81A1C1"},".namespace":{Opacity:".7"},property:{color:"#81A1C1"},tag:{color:"#81A1C1"},constant:{color:"#81A1C1"},symbol:{color:"#81A1C1"},deleted:{color:"#81A1C1"},number:{color:"#B48EAD"},boolean:{color:"#81A1C1"},selector:{color:"#A3BE8C"},"attr-name":{color:"#A3BE8C"},string:{color:"#A3BE8C"},char:{color:"#A3BE8C"},builtin:{color:"#A3BE8C"},inserted:{color:"#A3BE8C"},operator:{color:"#81A1C1"},entity:{color:"#81A1C1",cursor:"help"},url:{color:"#81A1C1"},".language-css .token.string":{color:"#81A1C1"},".style .token.string":{color:"#81A1C1"},variable:{color:"#81A1C1"},atrule:{color:"#88C0D0"},"attr-value":{color:"#88C0D0"},function:{color:"#88C0D0"},"class-name":{color:"#88C0D0"},keyword:{color:"#81A1C1"},regex:{color:"#EBCB8B"},important:{color:"#EBCB8B",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(BY)),BY}var NY={},M0e;function vdt(){return M0e||(M0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}}})(NY)),NY}var jY={},_0e;function wdt(){return _0e||(_0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}}})(jY)),jY}var PY={},T0e;function Cdt(){return T0e||(T0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"15px",lineHeight:"1.5",color:"#dccf8f",textShadow:"0"},'pre[class*="language-"]':{MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"15px",lineHeight:"1.5",color:"#DCCF8F",textShadow:"0",borderRadius:"5px",border:"1px solid #000",background:"#181914 url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAMAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQACQYGBgcGCQcHCQ0IBwgNDwsJCQsPEQ4ODw4OERENDg4ODg0RERQUFhQUERoaHBwaGiYmJiYmKysrKysrKysrKwEJCAgJCgkMCgoMDwwODA8TDg4ODhMVDg4PDg4VGhMRERERExoXGhYWFhoXHR0aGh0dJCQjJCQrKysrKysrKysr/8AAEQgAjACMAwEiAAIRAQMRAf/EAF4AAQEBAAAAAAAAAAAAAAAAAAABBwEBAQAAAAAAAAAAAAAAAAAAAAIQAAEDAwIHAQEAAAAAAAAAAADwAREhYaExkUFRcYGxwdHh8REBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AyGFEjHaBS2fDDs2zkhKmBKktb7km+ZwwCnXPkLVmCTMItj6AXFxRS465/BTnkAJvkLkJe+7AKKoi2AtRS2zuAWsCb5GOlBN8gKfmuGHZ8MFqIth3ALmFoFwbwKWyAlTAp17uKqBvgBD8sM4fTjhvAhkzhaRkBMKBrfs7jGPIpzy7gFrAqnC0C0gB0EWwBDW2cBVQwm+QtPpa3wBO3sVvszCnLAhkzgL5/RLf13cLQd8/AGlu0Cb5HTx9KuAEieGJEdcehS3eRTp2ATdt3CpIm+QtZwAhROXFeb7swp/ahaM3kBE/jSIUBc/AWrgBN8uNFAl+b7sAXFxFn2YLUU5Ns7gFX8C4ib+hN8gFWXwK3bZglxEJm+gKdciLPsFV/TClsgJUwKJ5FVA7tvIFrfZhVfGJDcsCKaYgAqv6YRbE+RWOWBtu7+AL3yRalXLyKqAIIfk+zARbDgFyEsncYwJvlgFRW+GEWntIi2P0BooyFxcNr8Ep3+ANLbMO+QyhvbiqdgC0kVvgUUiLYgBS2QtPbiVI1/sgOmG9uO+Y8DW+7jS2zAOnj6O2BndwuIAUtkdRN8gFoK3wwXMQyZwHVbClsuNLd4E3yAUR6FVDBR+BafQGt93LVMxJTv8ABts4CVLhcfYWsCb5kC9/BHdU8CLYFY5bMAd+eX9MGthhpbA1vu4B7+RKkaW2Yq4AQtVBBFsAJU/AuIXBhN8gGWnstefhiZyWvLAEnbYS1uzSFP6Jvn4Baxx70JKkQojLib5AVTey1jjgkKJGO0AKWyOm7N7cSpgSpAdPH0Tfd/gp1z5C1ZgKqN9J2wFxcUUuAFLZAm+QC0Fb4YUVRFsAOvj4KW2dwtYE3yAWk/wS/PLMKfmuGHZ8MAXF/Ja32Yi5haAKWz4Ydm2cSpgU693Atb7km+Zwwh+WGcPpxw3gAkzCLY+iYUDW/Z3Adc/gpzyFrAqnALkJe+7DoItgAtRS2zuKqGE3yAx0oJvkdvYrfZmALURbDuL5/RLf13cAuDeBS2RpbtAm+QFVA3wR+3fUtFHoBDJnC0jIXH0HWsgMY8inPLuOkd9chp4z20ALQLSA8cI9jYAIa2zjzjBd8gRafS1vgiUho/kAKcsCGTOGWvoOpkAtB3z8Hm8x2Ff5ADp4+lXAlIvcmwH/2Q==') repeat left top",padding:"12px",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},':not(pre) > code[class*="language-"]':{borderRadius:"5px",border:"1px solid #000",color:"#DCCF8F",background:"#181914 url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAMAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQACQYGBgcGCQcHCQ0IBwgNDwsJCQsPEQ4ODw4OERENDg4ODg0RERQUFhQUERoaHBwaGiYmJiYmKysrKysrKysrKwEJCAgJCgkMCgoMDwwODA8TDg4ODhMVDg4PDg4VGhMRERERExoXGhYWFhoXHR0aGh0dJCQjJCQrKysrKysrKysr/8AAEQgAjACMAwEiAAIRAQMRAf/EAF4AAQEBAAAAAAAAAAAAAAAAAAABBwEBAQAAAAAAAAAAAAAAAAAAAAIQAAEDAwIHAQEAAAAAAAAAAADwAREhYaExkUFRcYGxwdHh8REBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AyGFEjHaBS2fDDs2zkhKmBKktb7km+ZwwCnXPkLVmCTMItj6AXFxRS465/BTnkAJvkLkJe+7AKKoi2AtRS2zuAWsCb5GOlBN8gKfmuGHZ8MFqIth3ALmFoFwbwKWyAlTAp17uKqBvgBD8sM4fTjhvAhkzhaRkBMKBrfs7jGPIpzy7gFrAqnC0C0gB0EWwBDW2cBVQwm+QtPpa3wBO3sVvszCnLAhkzgL5/RLf13cLQd8/AGlu0Cb5HTx9KuAEieGJEdcehS3eRTp2ATdt3CpIm+QtZwAhROXFeb7swp/ahaM3kBE/jSIUBc/AWrgBN8uNFAl+b7sAXFxFn2YLUU5Ns7gFX8C4ib+hN8gFWXwK3bZglxEJm+gKdciLPsFV/TClsgJUwKJ5FVA7tvIFrfZhVfGJDcsCKaYgAqv6YRbE+RWOWBtu7+AL3yRalXLyKqAIIfk+zARbDgFyEsncYwJvlgFRW+GEWntIi2P0BooyFxcNr8Ep3+ANLbMO+QyhvbiqdgC0kVvgUUiLYgBS2QtPbiVI1/sgOmG9uO+Y8DW+7jS2zAOnj6O2BndwuIAUtkdRN8gFoK3wwXMQyZwHVbClsuNLd4E3yAUR6FVDBR+BafQGt93LVMxJTv8ABts4CVLhcfYWsCb5kC9/BHdU8CLYFY5bMAd+eX9MGthhpbA1vu4B7+RKkaW2Yq4AQtVBBFsAJU/AuIXBhN8gGWnstefhiZyWvLAEnbYS1uzSFP6Jvn4Baxx70JKkQojLib5AVTey1jjgkKJGO0AKWyOm7N7cSpgSpAdPH0Tfd/gp1z5C1ZgKqN9J2wFxcUUuAFLZAm+QC0Fb4YUVRFsAOvj4KW2dwtYE3yAWk/wS/PLMKfmuGHZ8MAXF/Ja32Yi5haAKWz4Ydm2cSpgU693Atb7km+Zwwh+WGcPpxw3gAkzCLY+iYUDW/Z3Adc/gpzyFrAqnALkJe+7DoItgAtRS2zuKqGE3yAx0oJvkdvYrfZmALURbDuL5/RLf13cAuDeBS2RpbtAm+QFVA3wR+3fUtFHoBDJnC0jIXH0HWsgMY8inPLuOkd9chp4z20ALQLSA8cI9jYAIa2zjzjBd8gRafS1vgiUho/kAKcsCGTOGWvoOpkAtB3z8Hm8x2Ff5ADp4+lXAlIvcmwH/2Q==') repeat left top",padding:"2px 6px"},namespace:{Opacity:".7"},comment:{color:"#586e75",fontStyle:"italic"},prolog:{color:"#586e75",fontStyle:"italic"},doctype:{color:"#586e75",fontStyle:"italic"},cdata:{color:"#586e75",fontStyle:"italic"},number:{color:"#b89859"},string:{color:"#468966"},char:{color:"#468966"},builtin:{color:"#468966"},inserted:{color:"#468966"},"attr-name":{color:"#b89859"},operator:{color:"#dccf8f"},entity:{color:"#dccf8f",cursor:"help"},url:{color:"#dccf8f"},".language-css .token.string":{color:"#dccf8f"},".style .token.string":{color:"#dccf8f"},selector:{color:"#859900"},regex:{color:"#859900"},atrule:{color:"#cb4b16"},keyword:{color:"#cb4b16"},"attr-value":{color:"#468966"},function:{color:"#b58900"},variable:{color:"#b58900"},placeholder:{color:"#b58900"},property:{color:"#b89859"},tag:{color:"#ffb03b"},boolean:{color:"#b89859"},constant:{color:"#b89859"},symbol:{color:"#b89859"},important:{color:"#dc322f"},statement:{color:"#dc322f"},deleted:{color:"#dc322f"},punctuation:{color:"#dccf8f"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(PY)),PY}var FY={},A0e;function Sdt(){return A0e||(A0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={"code[class*='language-']":{color:"#9efeff",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",fontFamily:"'Operator Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontWeight:"400",fontSize:"17px",lineHeight:"25px",letterSpacing:"0.5px",textShadow:"0 1px #222245"},"pre[class*='language-']":{color:"#9efeff",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",fontFamily:"'Operator Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontWeight:"400",fontSize:"17px",lineHeight:"25px",letterSpacing:"0.5px",textShadow:"0 1px #222245",padding:"2em",margin:"0.5em 0",overflow:"auto",background:"#1e1e3f"},"pre[class*='language-']::-moz-selection":{color:"inherit",background:"#a599e9"},"pre[class*='language-'] ::-moz-selection":{color:"inherit",background:"#a599e9"},"code[class*='language-']::-moz-selection":{color:"inherit",background:"#a599e9"},"code[class*='language-'] ::-moz-selection":{color:"inherit",background:"#a599e9"},"pre[class*='language-']::selection":{color:"inherit",background:"#a599e9"},"pre[class*='language-'] ::selection":{color:"inherit",background:"#a599e9"},"code[class*='language-']::selection":{color:"inherit",background:"#a599e9"},"code[class*='language-'] ::selection":{color:"inherit",background:"#a599e9"},":not(pre) > code[class*='language-']":{background:"#1e1e3f",padding:"0.1em",borderRadius:"0.3em"},"":{fontWeight:"400"},comment:{color:"#b362ff"},prolog:{color:"#b362ff"},cdata:{color:"#b362ff"},delimiter:{color:"#ff9d00"},keyword:{color:"#ff9d00"},selector:{color:"#ff9d00"},important:{color:"#ff9d00"},atrule:{color:"#ff9d00"},operator:{color:"rgb(255, 180, 84)",background:"none"},"attr-name":{color:"rgb(255, 180, 84)"},punctuation:{color:"#ffffff"},boolean:{color:"rgb(255, 98, 140)"},tag:{color:"rgb(255, 157, 0)"},"tag.punctuation":{color:"rgb(255, 157, 0)"},doctype:{color:"rgb(255, 157, 0)"},builtin:{color:"rgb(255, 157, 0)"},entity:{color:"#6897bb",background:"none"},symbol:{color:"#6897bb"},number:{color:"#ff628c"},property:{color:"#ff628c"},constant:{color:"#ff628c"},variable:{color:"#ff628c"},string:{color:"#a5ff90"},char:{color:"#a5ff90"},"attr-value":{color:"#a5c261"},"attr-value.punctuation":{color:"#a5c261"},"attr-value.punctuation:first-child":{color:"#a9b7c6"},url:{color:"#287bde",textDecoration:"underline",background:"none"},function:{color:"rgb(250, 208, 0)"},regex:{background:"#364135"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#00ff00"},deleted:{background:"#ff000d"},"code.language-css .token.property":{color:"#a9b7c6"},"code.language-css .token.property + .token.punctuation":{color:"#a9b7c6"},"code.language-css .token.id":{color:"#ffc66d"},"code.language-css .token.selector > .token.class":{color:"#ffc66d"},"code.language-css .token.selector > .token.attribute":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-class":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-element":{color:"#ffc66d"},"class-name":{color:"#fb94ff"},".language-css .token.string":{background:"none"},".style .token.string":{background:"none"},".line-highlight.line-highlight":{marginTop:"36px",background:"linear-gradient(to right, rgba(179, 98, 255, 0.17), transparent)"},".line-highlight.line-highlight:before":{content:"''"},".line-highlight.line-highlight[data-end]:after":{content:"''"}}})(FY)),FY}var qY={},L0e;function Mdt(){return L0e||(L0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#839496",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#839496",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em",background:"#002b36"},':not(pre) > code[class*="language-"]':{background:"#002b36",padding:".1em",borderRadius:".3em"},comment:{color:"#586e75"},prolog:{color:"#586e75"},doctype:{color:"#586e75"},cdata:{color:"#586e75"},punctuation:{color:"#93a1a1"},".namespace":{Opacity:".7"},property:{color:"#268bd2"},keyword:{color:"#268bd2"},tag:{color:"#268bd2"},"class-name":{color:"#FFFFB6",textDecoration:"underline"},boolean:{color:"#b58900"},constant:{color:"#b58900"},symbol:{color:"#dc322f"},deleted:{color:"#dc322f"},number:{color:"#859900"},selector:{color:"#859900"},"attr-name":{color:"#859900"},string:{color:"#859900"},char:{color:"#859900"},builtin:{color:"#859900"},inserted:{color:"#859900"},variable:{color:"#268bd2"},operator:{color:"#EDEDED"},function:{color:"#268bd2"},regex:{color:"#E9C062"},important:{color:"#fd971f",fontWeight:"bold"},entity:{color:"#FFFFB6",cursor:"help"},url:{color:"#96CBFE"},".language-css .token.string":{color:"#87C38A"},".style .token.string":{color:"#87C38A"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},atrule:{color:"#F9EE98"},"attr-value":{color:"#F9EE98"}}})(qY)),qY}var HY={},E0e;function _dt(){return E0e||(E0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",backgroundColor:"transparent !important",backgroundImage:"linear-gradient(to bottom, #2a2139 75%, #34294f)"},':not(pre) > code[class*="language-"]':{backgroundColor:"transparent !important",backgroundImage:"linear-gradient(to bottom, #2a2139 75%, #34294f)",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#8e8e8e"},"block-comment":{color:"#8e8e8e"},prolog:{color:"#8e8e8e"},doctype:{color:"#8e8e8e"},cdata:{color:"#8e8e8e"},punctuation:{color:"#ccc"},tag:{color:"#e2777a"},"attr-name":{color:"#e2777a"},namespace:{color:"#e2777a"},number:{color:"#e2777a"},unit:{color:"#e2777a"},hexcode:{color:"#e2777a"},deleted:{color:"#e2777a"},property:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"},selector:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"},"function-name":{color:"#6196cc"},boolean:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"},"selector.id":{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"},function:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"},"class-name":{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"},constant:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},symbol:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},important:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575",fontWeight:"bold"},atrule:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},keyword:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},"selector.class":{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},builtin:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},string:{color:"#f87c32"},char:{color:"#f87c32"},"attr-value":{color:"#f87c32"},regex:{color:"#f87c32"},variable:{color:"#f87c32"},operator:{color:"#67cdcc"},entity:{color:"#67cdcc",cursor:"help"},url:{color:"#67cdcc"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{color:"green"}}})(HY)),HY}var $Y={},I0e;function Tdt(){return I0e||(I0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",border:"1px solid #dddddd",backgroundColor:"white"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{background:"#C1DEF1"},'pre[class*="language-"] ::-moz-selection':{background:"#C1DEF1"},'code[class*="language-"]::-moz-selection':{background:"#C1DEF1"},'code[class*="language-"] ::-moz-selection':{background:"#C1DEF1"},'pre[class*="language-"]::selection':{background:"#C1DEF1"},'pre[class*="language-"] ::selection':{background:"#C1DEF1"},'code[class*="language-"]::selection':{background:"#C1DEF1"},'code[class*="language-"] ::selection':{background:"#C1DEF1"},':not(pre) > code[class*="language-"]':{padding:".2em",paddingTop:"1px",paddingBottom:"1px",background:"#f8f8f8",border:"1px solid #dddddd"},comment:{color:"#008000",fontStyle:"italic"},prolog:{color:"#008000",fontStyle:"italic"},doctype:{color:"#008000",fontStyle:"italic"},cdata:{color:"#008000",fontStyle:"italic"},namespace:{Opacity:".7"},string:{color:"#A31515"},punctuation:{color:"#393A34"},operator:{color:"#393A34"},url:{color:"#36acaa"},symbol:{color:"#36acaa"},number:{color:"#36acaa"},boolean:{color:"#36acaa"},variable:{color:"#36acaa"},constant:{color:"#36acaa"},inserted:{color:"#36acaa"},atrule:{color:"#0000ff"},keyword:{color:"#0000ff"},"attr-value":{color:"#0000ff"},".language-autohotkey .token.selector":{color:"#0000ff"},".language-json .token.boolean":{color:"#0000ff"},".language-json .token.number":{color:"#0000ff"},'code[class*="language-css"]':{color:"#0000ff"},function:{color:"#393A34"},deleted:{color:"#9a050f"},".language-autohotkey .token.tag":{color:"#9a050f"},selector:{color:"#800000"},".language-autohotkey .token.keyword":{color:"#00009f"},important:{color:"#e90",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},"class-name":{color:"#2B91AF"},".language-json .token.property":{color:"#2B91AF"},tag:{color:"#800000"},"attr-name":{color:"#ff0000"},property:{color:"#ff0000"},regex:{color:"#ff0000"},entity:{color:"#ff0000"},"directive.tag.tag":{background:"#ffff00",color:"#393A34"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#a5a5a5"},".line-numbers .line-numbers-rows > span:before":{color:"#2B91AF"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(193, 222, 241, 0.2) 70%, rgba(221, 222, 241, 0))"}}})($Y)),$Y}var VY={},R0e;function Adt(){return R0e||(R0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}}})(VY)),VY}var UY={},z0e;function Ldt(){return z0e||(z0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordWrap:"normal",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"14px",color:"#76d9e6",textShadow:"none"},'pre[class*="language-"]':{MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordWrap:"normal",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"14px",color:"#76d9e6",textShadow:"none",background:"#2a2a2a",padding:"15px",borderRadius:"4px",border:"1px solid #e1e1e8",overflow:"auto",position:"relative"},'pre > code[class*="language-"]':{fontSize:"1em"},':not(pre) > code[class*="language-"]':{background:"#2a2a2a",padding:"0.15em 0.2em 0.05em",borderRadius:".3em",border:"0.13em solid #7a6652",boxShadow:"1px 1px 0.3em -0.1em #000 inset"},'pre[class*="language-"] code':{whiteSpace:"pre",display:"block"},namespace:{Opacity:".7"},comment:{color:"#6f705e"},prolog:{color:"#6f705e"},doctype:{color:"#6f705e"},cdata:{color:"#6f705e"},operator:{color:"#a77afe"},boolean:{color:"#a77afe"},number:{color:"#a77afe"},"attr-name":{color:"#e6d06c"},string:{color:"#e6d06c"},entity:{color:"#e6d06c",cursor:"help"},url:{color:"#e6d06c"},".language-css .token.string":{color:"#e6d06c"},".style .token.string":{color:"#e6d06c"},selector:{color:"#a6e22d"},inserted:{color:"#a6e22d"},atrule:{color:"#ef3b7d"},"attr-value":{color:"#ef3b7d"},keyword:{color:"#ef3b7d"},important:{color:"#ef3b7d",fontWeight:"bold"},deleted:{color:"#ef3b7d"},regex:{color:"#76d9e6"},statement:{color:"#76d9e6",fontWeight:"bold"},placeholder:{color:"#fff"},variable:{color:"#fff"},bold:{fontWeight:"bold"},punctuation:{color:"#bebec5"},italic:{fontStyle:"italic"},"code.language-markup":{color:"#f9f9f9"},"code.language-markup .token.tag":{color:"#ef3b7d"},"code.language-markup .token.attr-name":{color:"#a6e22d"},"code.language-markup .token.attr-value":{color:"#e6d06c"},"code.language-markup .token.style":{color:"#76d9e6"},"code.language-markup .token.script":{color:"#76d9e6"},"code.language-markup .token.script .token.keyword":{color:"#76d9e6"},".line-highlight.line-highlight":{padding:"0",background:"rgba(255, 255, 255, 0.08)"},".line-highlight.line-highlight:before":{padding:"0.2em 0.5em",backgroundColor:"rgba(255, 255, 255, 0.4)",color:"black",height:"1em",lineHeight:"1em",boxShadow:"0 1px 1px rgba(255, 255, 255, 0.7)"},".line-highlight.line-highlight[data-end]:after":{padding:"0.2em 0.5em",backgroundColor:"rgba(255, 255, 255, 0.4)",color:"black",height:"1em",lineHeight:"1em",boxShadow:"0 1px 1px rgba(255, 255, 255, 0.7)"}}})(UY)),UY}var WY={},D0e;function Edt(){return D0e||(D0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#22da17",fontFamily:"monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",lineHeight:"25px",fontSize:"18px",margin:"5px 0"},'pre[class*="language-"]':{color:"white",fontFamily:"monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",lineHeight:"25px",fontSize:"18px",margin:"0.5em 0",background:"#0a143c",padding:"1em",overflow:"auto"},'pre[class*="language-"] *':{fontFamily:"monospace"},':not(pre) > code[class*="language-"]':{color:"white",background:"#0a143c",padding:"0.1em",borderRadius:"0.3em",whiteSpace:"normal"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},comment:{color:"rgb(99, 119, 119)",fontStyle:"italic"},prolog:{color:"rgb(99, 119, 119)",fontStyle:"italic"},cdata:{color:"rgb(99, 119, 119)",fontStyle:"italic"},punctuation:{color:"rgb(199, 146, 234)"},".namespace":{color:"rgb(178, 204, 214)"},deleted:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"},symbol:{color:"rgb(128, 203, 196)"},property:{color:"rgb(128, 203, 196)"},tag:{color:"rgb(127, 219, 202)"},operator:{color:"rgb(127, 219, 202)"},keyword:{color:"rgb(127, 219, 202)"},boolean:{color:"rgb(255, 88, 116)"},number:{color:"rgb(247, 140, 108)"},constant:{color:"rgb(34 183 199)"},function:{color:"rgb(34 183 199)"},builtin:{color:"rgb(34 183 199)"},char:{color:"rgb(34 183 199)"},selector:{color:"rgb(199, 146, 234)",fontStyle:"italic"},doctype:{color:"rgb(199, 146, 234)",fontStyle:"italic"},"attr-name":{color:"rgb(173, 219, 103)",fontStyle:"italic"},inserted:{color:"rgb(173, 219, 103)",fontStyle:"italic"},string:{color:"rgb(173, 219, 103)"},url:{color:"rgb(173, 219, 103)"},entity:{color:"rgb(173, 219, 103)"},".language-css .token.string":{color:"rgb(173, 219, 103)"},".style .token.string":{color:"rgb(173, 219, 103)"},"class-name":{color:"rgb(255, 203, 139)"},atrule:{color:"rgb(255, 203, 139)"},"attr-value":{color:"rgb(255, 203, 139)"},regex:{color:"rgb(214, 222, 235)"},important:{color:"rgb(214, 222, 235)",fontWeight:"bold"},variable:{color:"rgb(214, 222, 235)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(WY)),WY}var O0e;function Idt(){return O0e||(O0e=1,(function(e){var t=Fut();Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"a11yDark",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"atomDark",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"base16AteliersulphurpoolLight",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"cb",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"coldarkCold",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"coldarkDark",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"coy",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"coyWithoutShadows",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"darcula",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"dark",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"dracula",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(e,"duotoneDark",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"duotoneEarth",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"duotoneForest",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"duotoneLight",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(e,"duotoneSea",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"duotoneSpace",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"funky",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"ghcolors",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(e,"gruvboxDark",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"gruvboxLight",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"holiTheme",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"hopscotch",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(e,"lucario",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(e,"materialDark",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(e,"materialLight",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"materialOceanic",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"nightOwl",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"nord",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(e,"okaidia",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"oneDark",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"oneLight",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(e,"pojoaque",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(e,"prism",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"shadesOfPurple",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"solarizedDarkAtom",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(e,"solarizedlight",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"synthwave84",{enumerable:!0,get:function(){return we.default}}),Object.defineProperty(e,"tomorrow",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"twilight",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"vs",{enumerable:!0,get:function(){return ve.default}}),Object.defineProperty(e,"vscDarkPlus",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(e,"xonokai",{enumerable:!0,get:function(){return Le.default}}),Object.defineProperty(e,"zTouch",{enumerable:!0,get:function(){return Oe.default}});var r=t(qut()),n=t(Hut()),o=t($ut()),a=t(Vut()),i=t(Uut()),s=t(Wut()),l=t(Gut()),u=t(Zut()),d=t(Kut()),f=t(Yut()),p=t(Xut()),g=t(Qut()),b=t(Jut()),v=t(edt()),C=t(tdt()),S=t(rdt()),M=t(ndt()),T=t(odt()),A=t(adt()),R=t(idt()),I=t(sdt()),L=t(ldt()),N=t(cdt()),V=t(udt()),P=t(ddt()),G=t(hdt()),Q=t(fdt()),re=t(pdt()),K=t(mdt()),Z=t(gdt()),z=t(ydt()),O=t(bdt()),D=t(xdt()),$=t(kdt()),q=t(vdt()),U=t(wdt()),oe=t(Cdt()),W=t(Sdt()),he=t(Mdt()),we=t(_dt()),ve=t(Tdt()),fe=t(Adt()),Le=t(Ldt()),Oe=t(Edt())})(tY)),tY}var Rdt=Idt();dy.registerLanguage("js",sk);dy.registerLanguage("jsx",sk);dy.registerLanguage("ts",sk);dy.registerLanguage("tsx",sk);dy.registerLanguage("python",nve);const zdt=({children:e,language:t,className:r})=>y.jsx(dy,{language:t,style:Rdt.coldarkDark,customStyle:{margin:0,width:"100%",background:"transparent",padding:"1.5rem 1rem"},className:r,children:e});var iH={exports:{}},Ddt=iH.exports,B0e;function Odt(){return B0e||(B0e=1,(function(e,t){(function(r,n){e.exports=n()})(Ddt,(function(){var r=1e3,n=6e4,o=36e5,a="millisecond",i="second",s="minute",l="hour",u="day",d="week",f="month",p="quarter",g="year",b="date",v="Invalid Date",C=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(K){var Z=["th","st","nd","rd"],z=K%100;return"["+K+(Z[(z-20)%10]||Z[z]||Z[0])+"]"}},T=function(K,Z,z){var O=String(K);return!O||O.length>=Z?K:""+Array(Z+1-O.length).join(z)+K},A={s:T,z:function(K){var Z=-K.utcOffset(),z=Math.abs(Z),O=Math.floor(z/60),D=z%60;return(Z<=0?"+":"-")+T(O,2,"0")+":"+T(D,2,"0")},m:function K(Z,z){if(Z.date()<z.date())return-K(z,Z);var O=12*(z.year()-Z.year())+(z.month()-Z.month()),D=Z.clone().add(O,f),$=z-D<0,q=Z.clone().add(O+($?-1:1),f);return+(-(O+(z-D)/($?D-q:q-D))||0)},a:function(K){return K<0?Math.ceil(K)||0:Math.floor(K)},p:function(K){return{M:f,y:g,w:d,d:u,D:b,h:l,m:s,s:i,ms:a,Q:p}[K]||String(K||"").toLowerCase().replace(/s$/,"")},u:function(K){return K===void 0}},R="en",I={};I[R]=M;var L="$isDayjsObject",N=function(K){return K instanceof Q||!(!K||!K[L])},V=function K(Z,z,O){var D;if(!Z)return R;if(typeof Z=="string"){var $=Z.toLowerCase();I[$]&&(D=$),z&&(I[$]=z,D=$);var q=Z.split("-");if(!D&&q.length>1)return K(q[0])}else{var U=Z.name;I[U]=Z,D=U}return!O&&D&&(R=D),D||!O&&R},P=function(K,Z){if(N(K))return K.clone();var z=typeof Z=="object"?Z:{};return z.date=K,z.args=arguments,new Q(z)},G=A;G.l=V,G.i=N,G.w=function(K,Z){return P(K,{locale:Z.$L,utc:Z.$u,x:Z.$x,$offset:Z.$offset})};var Q=(function(){function K(z){this.$L=V(z.locale,null,!0),this.parse(z),this.$x=this.$x||z.x||{},this[L]=!0}var Z=K.prototype;return Z.parse=function(z){this.$d=(function(O){var D=O.date,$=O.utc;if(D===null)return new Date(NaN);if(G.u(D))return new Date;if(D instanceof Date)return new Date(D);if(typeof D=="string"&&!/Z$/i.test(D)){var q=D.match(C);if(q){var U=q[2]-1||0,oe=(q[7]||"0").substring(0,3);return $?new Date(Date.UTC(q[1],U,q[3]||1,q[4]||0,q[5]||0,q[6]||0,oe)):new Date(q[1],U,q[3]||1,q[4]||0,q[5]||0,q[6]||0,oe)}}return new Date(D)})(z),this.init()},Z.init=function(){var z=this.$d;this.$y=z.getFullYear(),this.$M=z.getMonth(),this.$D=z.getDate(),this.$W=z.getDay(),this.$H=z.getHours(),this.$m=z.getMinutes(),this.$s=z.getSeconds(),this.$ms=z.getMilliseconds()},Z.$utils=function(){return G},Z.isValid=function(){return this.$d.toString()!==v},Z.isSame=function(z,O){var D=P(z);return this.startOf(O)<=D&&D<=this.endOf(O)},Z.isAfter=function(z,O){return P(z)<this.startOf(O)},Z.isBefore=function(z,O){return this.endOf(O)<P(z)},Z.$g=function(z,O,D){return G.u(z)?this[O]:this.set(D,z)},Z.unix=function(){return Math.floor(this.valueOf()/1e3)},Z.valueOf=function(){return this.$d.getTime()},Z.startOf=function(z,O){var D=this,$=!!G.u(O)||O,q=G.p(z),U=function(Oe,Te){var rt=G.w(D.$u?Date.UTC(D.$y,Te,Oe):new Date(D.$y,Te,Oe),D);return $?rt:rt.endOf(u)},oe=function(Oe,Te){return G.w(D.toDate()[Oe].apply(D.toDate("s"),($?[0,0,0,0]:[23,59,59,999]).slice(Te)),D)},W=this.$W,he=this.$M,we=this.$D,ve="set"+(this.$u?"UTC":"");switch(q){case g:return $?U(1,0):U(31,11);case f:return $?U(1,he):U(0,he+1);case d:var fe=this.$locale().weekStart||0,Le=(W<fe?W+7:W)-fe;return U($?we-Le:we+(6-Le),he);case u:case b:return oe(ve+"Hours",0);case l:return oe(ve+"Minutes",1);case s:return oe(ve+"Seconds",2);case i:return oe(ve+"Milliseconds",3);default:return this.clone()}},Z.endOf=function(z){return this.startOf(z,!1)},Z.$set=function(z,O){var D,$=G.p(z),q="set"+(this.$u?"UTC":""),U=(D={},D[u]=q+"Date",D[b]=q+"Date",D[f]=q+"Month",D[g]=q+"FullYear",D[l]=q+"Hours",D[s]=q+"Minutes",D[i]=q+"Seconds",D[a]=q+"Milliseconds",D)[$],oe=$===u?this.$D+(O-this.$W):O;if($===f||$===g){var W=this.clone().set(b,1);W.$d[U](oe),W.init(),this.$d=W.set(b,Math.min(this.$D,W.daysInMonth())).$d}else U&&this.$d[U](oe);return this.init(),this},Z.set=function(z,O){return this.clone().$set(z,O)},Z.get=function(z){return this[G.p(z)]()},Z.add=function(z,O){var D,$=this;z=Number(z);var q=G.p(O),U=function(he){var we=P($);return G.w(we.date(we.date()+Math.round(he*z)),$)};if(q===f)return this.set(f,this.$M+z);if(q===g)return this.set(g,this.$y+z);if(q===u)return U(1);if(q===d)return U(7);var oe=(D={},D[s]=n,D[l]=o,D[i]=r,D)[q]||1,W=this.$d.getTime()+z*oe;return G.w(W,this)},Z.subtract=function(z,O){return this.add(-1*z,O)},Z.format=function(z){var O=this,D=this.$locale();if(!this.isValid())return D.invalidDate||v;var $=z||"YYYY-MM-DDTHH:mm:ssZ",q=G.z(this),U=this.$H,oe=this.$m,W=this.$M,he=D.weekdays,we=D.months,ve=D.meridiem,fe=function(Te,rt,dt,Wt){return Te&&(Te[rt]||Te(O,$))||dt[rt].slice(0,Wt)},Le=function(Te){return G.s(U%12||12,Te,"0")},Oe=ve||function(Te,rt,dt){var Wt=Te<12?"AM":"PM";return dt?Wt.toLowerCase():Wt};return $.replace(S,(function(Te,rt){return rt||(function(dt){switch(dt){case"YY":return String(O.$y).slice(-2);case"YYYY":return G.s(O.$y,4,"0");case"M":return W+1;case"MM":return G.s(W+1,2,"0");case"MMM":return fe(D.monthsShort,W,we,3);case"MMMM":return fe(we,W);case"D":return O.$D;case"DD":return G.s(O.$D,2,"0");case"d":return String(O.$W);case"dd":return fe(D.weekdaysMin,O.$W,he,2);case"ddd":return fe(D.weekdaysShort,O.$W,he,3);case"dddd":return he[O.$W];case"H":return String(U);case"HH":return G.s(U,2,"0");case"h":return Le(1);case"hh":return Le(2);case"a":return Oe(U,oe,!0);case"A":return Oe(U,oe,!1);case"m":return String(oe);case"mm":return G.s(oe,2,"0");case"s":return String(O.$s);case"ss":return G.s(O.$s,2,"0");case"SSS":return G.s(O.$ms,3,"0");case"Z":return q}return null})(Te)||q.replace(":","")}))},Z.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Z.diff=function(z,O,D){var $,q=this,U=G.p(O),oe=P(z),W=(oe.utcOffset()-this.utcOffset())*n,he=this-oe,we=function(){return G.m(q,oe)};switch(U){case g:$=we()/12;break;case f:$=we();break;case p:$=we()/3;break;case d:$=(he-W)/6048e5;break;case u:$=(he-W)/864e5;break;case l:$=he/o;break;case s:$=he/n;break;case i:$=he/r;break;default:$=he}return D?$:G.a($)},Z.daysInMonth=function(){return this.endOf(f).$D},Z.$locale=function(){return I[this.$L]},Z.locale=function(z,O){if(!z)return this.$L;var D=this.clone(),$=V(z,O,!0);return $&&(D.$L=$),D},Z.clone=function(){return G.w(this.$d,this)},Z.toDate=function(){return new Date(this.valueOf())},Z.toJSON=function(){return this.isValid()?this.toISOString():null},Z.toISOString=function(){return this.$d.toISOString()},Z.toString=function(){return this.$d.toUTCString()},K})(),re=Q.prototype;return P.prototype=re,[["$ms",a],["$s",i],["$m",s],["$H",l],["$W",u],["$M",f],["$y",g],["$D",b]].forEach((function(K){re[K[1]]=function(Z){return this.$g(Z,K[0],K[1])}})),P.extend=function(K,Z){return K.$i||(K(Z,Q,P),K.$i=!0),P},P.locale=V,P.isDayjs=N,P.unix=function(K){return P(1e3*K)},P.en=I[R],P.Ls=I,P.p={},P}))})(iH)),iH.exports}var Bdt=Odt();const Ndt=dl(Bdt);var ove=Object.defineProperty,j=(e,t)=>ove(e,"name",{value:t,configurable:!0}),jdt=(e,t)=>{for(var r in t)ove(e,r,{get:t[r],enumerable:!0})},Jc={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},He={trace:j((...e)=>{},"trace"),debug:j((...e)=>{},"debug"),info:j((...e)=>{},"info"),warn:j((...e)=>{},"warn"),error:j((...e)=>{},"error"),fatal:j((...e)=>{},"fatal")},Kre=j(function(e="fatal"){let t=Jc.fatal;typeof e=="string"?e.toLowerCase()in Jc&&(t=Jc[e]):typeof e=="number"&&(t=e),He.trace=()=>{},He.debug=()=>{},He.info=()=>{},He.warn=()=>{},He.error=()=>{},He.fatal=()=>{},t<=Jc.fatal&&(He.fatal=console.error?console.error.bind(console,ws("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",ws("FATAL"))),t<=Jc.error&&(He.error=console.error?console.error.bind(console,ws("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",ws("ERROR"))),t<=Jc.warn&&(He.warn=console.warn?console.warn.bind(console,ws("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",ws("WARN"))),t<=Jc.info&&(He.info=console.info?console.info.bind(console,ws("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",ws("INFO"))),t<=Jc.debug&&(He.debug=console.debug?console.debug.bind(console,ws("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",ws("DEBUG"))),t<=Jc.trace&&(He.trace=console.debug?console.debug.bind(console,ws("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",ws("TRACE")))},"setLogLevel"),ws=j(e=>`%c${Ndt().format("ss.SSS")} : ${e} : `,"format");const sH={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:e=>e>=255?255:e<0?0:e,g:e=>e>=255?255:e<0?0:e,b:e=>e>=255?255:e<0?0:e,h:e=>e%360,s:e=>e>=100?100:e<0?0:e,l:e=>e>=100?100:e<0?0:e,a:e=>e>=1?1:e<0?0:e},toLinear:e=>{const t=e/255;return e>.03928?Math.pow((t+.055)/1.055,2.4):t/12.92},hue2rgb:(e,t,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e),hsl2rgb:({h:e,s:t,l:r},n)=>{if(!t)return r*2.55;e/=360,t/=100,r/=100;const o=r<.5?r*(1+t):r+t-r*t,a=2*r-o;switch(n){case"r":return sH.hue2rgb(a,o,e+1/3)*255;case"g":return sH.hue2rgb(a,o,e)*255;case"b":return sH.hue2rgb(a,o,e-1/3)*255}},rgb2hsl:({r:e,g:t,b:r},n)=>{e/=255,t/=255,r/=255;const o=Math.max(e,t,r),a=Math.min(e,t,r),i=(o+a)/2;if(n==="l")return i*100;if(o===a)return 0;const s=o-a,l=i>.5?s/(2-o-a):s/(o+a);if(n==="s")return l*100;switch(o){case e:return((t-r)/s+(t<r?6:0))*60;case t:return((r-e)/s+2)*60;case r:return((e-t)/s+4)*60;default:return-1}}},Pdt={clamp:(e,t,r)=>t>r?Math.min(t,Math.max(r,e)):Math.min(r,Math.max(t,e)),round:e=>Math.round(e*1e10)/1e10},Fdt={dec2hex:e=>{const t=Math.round(e).toString(16);return t.length>1?t:`0${t}`}},Zt={channel:sH,lang:Pdt,unit:Fdt},Ad={};for(let e=0;e<=255;e++)Ad[e]=Zt.unit.dec2hex(e);const za={ALL:0,RGB:1,HSL:2};class qdt{constructor(){this.type=za.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=za.ALL}is(t){return this.type===t}}class Hdt{constructor(t,r){this.color=r,this.changed=!1,this.data=t,this.type=new qdt}set(t,r){return this.color=r,this.changed=!1,this.data=t,this.type.type=za.ALL,this}_ensureHSL(){const t=this.data,{h:r,s:n,l:o}=t;r===void 0&&(t.h=Zt.channel.rgb2hsl(t,"h")),n===void 0&&(t.s=Zt.channel.rgb2hsl(t,"s")),o===void 0&&(t.l=Zt.channel.rgb2hsl(t,"l"))}_ensureRGB(){const t=this.data,{r,g:n,b:o}=t;r===void 0&&(t.r=Zt.channel.hsl2rgb(t,"r")),n===void 0&&(t.g=Zt.channel.hsl2rgb(t,"g")),o===void 0&&(t.b=Zt.channel.hsl2rgb(t,"b"))}get r(){const t=this.data,r=t.r;return!this.type.is(za.HSL)&&r!==void 0?r:(this._ensureHSL(),Zt.channel.hsl2rgb(t,"r"))}get g(){const t=this.data,r=t.g;return!this.type.is(za.HSL)&&r!==void 0?r:(this._ensureHSL(),Zt.channel.hsl2rgb(t,"g"))}get b(){const t=this.data,r=t.b;return!this.type.is(za.HSL)&&r!==void 0?r:(this._ensureHSL(),Zt.channel.hsl2rgb(t,"b"))}get h(){const t=this.data,r=t.h;return!this.type.is(za.RGB)&&r!==void 0?r:(this._ensureRGB(),Zt.channel.rgb2hsl(t,"h"))}get s(){const t=this.data,r=t.s;return!this.type.is(za.RGB)&&r!==void 0?r:(this._ensureRGB(),Zt.channel.rgb2hsl(t,"s"))}get l(){const t=this.data,r=t.l;return!this.type.is(za.RGB)&&r!==void 0?r:(this._ensureRGB(),Zt.channel.rgb2hsl(t,"l"))}get a(){return this.data.a}set r(t){this.type.set(za.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(za.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(za.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(za.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(za.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(za.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}const TU=new Hdt({r:0,g:0,b:0,a:0},"transparent"),Vm={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:e=>{if(e.charCodeAt(0)!==35)return;const t=e.match(Vm.re);if(!t)return;const r=t[1],n=parseInt(r,16),o=r.length,a=o%4===0,i=o>4,s=i?1:17,l=i?8:4,u=a?0:-1,d=i?255:15;return TU.set({r:(n>>l*(u+3)&d)*s,g:(n>>l*(u+2)&d)*s,b:(n>>l*(u+1)&d)*s,a:a?(n&d)*s/255:1},e)},stringify:e=>{const{r:t,g:r,b:n,a:o}=e;return o<1?`#${Ad[Math.round(t)]}${Ad[Math.round(r)]}${Ad[Math.round(n)]}${Ad[Math.round(o*255)]}`:`#${Ad[Math.round(t)]}${Ad[Math.round(r)]}${Ad[Math.round(n)]}`}},yp={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:e=>{const t=e.match(yp.hueRe);if(t){const[,r,n]=t;switch(n){case"grad":return Zt.channel.clamp.h(parseFloat(r)*.9);case"rad":return Zt.channel.clamp.h(parseFloat(r)*180/Math.PI);case"turn":return Zt.channel.clamp.h(parseFloat(r)*360)}}return Zt.channel.clamp.h(parseFloat(e))},parse:e=>{const t=e.charCodeAt(0);if(t!==104&&t!==72)return;const r=e.match(yp.re);if(!r)return;const[,n,o,a,i,s]=r;return TU.set({h:yp._hue2deg(n),s:Zt.channel.clamp.s(parseFloat(o)),l:Zt.channel.clamp.l(parseFloat(a)),a:i?Zt.channel.clamp.a(s?parseFloat(i)/100:parseFloat(i)):1},e)},stringify:e=>{const{h:t,s:r,l:n,a:o}=e;return o<1?`hsla(${Zt.lang.round(t)}, ${Zt.lang.round(r)}%, ${Zt.lang.round(n)}%, ${o})`:`hsl(${Zt.lang.round(t)}, ${Zt.lang.round(r)}%, ${Zt.lang.round(n)}%)`}},_4={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:e=>{e=e.toLowerCase();const t=_4.colors[e];if(t)return Vm.parse(t)},stringify:e=>{const t=Vm.stringify(e);for(const r in _4.colors)if(_4.colors[r]===t)return r}},Zb={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:e=>{const t=e.charCodeAt(0);if(t!==114&&t!==82)return;const r=e.match(Zb.re);if(!r)return;const[,n,o,a,i,s,l,u,d]=r;return TU.set({r:Zt.channel.clamp.r(o?parseFloat(n)*2.55:parseFloat(n)),g:Zt.channel.clamp.g(i?parseFloat(a)*2.55:parseFloat(a)),b:Zt.channel.clamp.b(l?parseFloat(s)*2.55:parseFloat(s)),a:u?Zt.channel.clamp.a(d?parseFloat(u)/100:parseFloat(u)):1},e)},stringify:e=>{const{r:t,g:r,b:n,a:o}=e;return o<1?`rgba(${Zt.lang.round(t)}, ${Zt.lang.round(r)}, ${Zt.lang.round(n)}, ${Zt.lang.round(o)})`:`rgb(${Zt.lang.round(t)}, ${Zt.lang.round(r)}, ${Zt.lang.round(n)})`}},cc={format:{keyword:_4,hex:Vm,rgb:Zb,rgba:Zb,hsl:yp,hsla:yp},parse:e=>{if(typeof e!="string")return e;const t=Vm.parse(e)||Zb.parse(e)||yp.parse(e)||_4.parse(e);if(t)return t;throw new Error(`Unsupported color format: "${e}"`)},stringify:e=>!e.changed&&e.color?e.color:e.type.is(za.HSL)||e.data.r===void 0?yp.stringify(e):e.a<1||!Number.isInteger(e.r)||!Number.isInteger(e.g)||!Number.isInteger(e.b)?Zb.stringify(e):Vm.stringify(e)},ave=(e,t)=>{const r=cc.parse(e);for(const n in t)r[n]=Zt.channel.clamp[n](t[n]);return cc.stringify(r)},Vd=(e,t,r=0,n=1)=>{if(typeof e!="number")return ave(e,{a:t});const o=TU.set({r:Zt.channel.clamp.r(e),g:Zt.channel.clamp.g(t),b:Zt.channel.clamp.b(r),a:Zt.channel.clamp.a(n)});return cc.stringify(o)},$dt=e=>{const{r:t,g:r,b:n}=cc.parse(e),o=.2126*Zt.channel.toLinear(t)+.7152*Zt.channel.toLinear(r)+.0722*Zt.channel.toLinear(n);return Zt.lang.round(o)},Vdt=e=>$dt(e)>=.5,ml=e=>!Vdt(e),ive=(e,t,r)=>{const n=cc.parse(e),o=n[t],a=Zt.channel.clamp[t](o+r);return o!==a&&(n[t]=a),cc.stringify(n)},ze=(e,t)=>ive(e,"l",t),Ee=(e,t)=>ive(e,"l",-t),Y=(e,t)=>{const r=cc.parse(e),n={};for(const o in t)t[o]&&(n[o]=r[o]+t[o]);return ave(e,n)},Udt=(e,t,r=50)=>{const{r:n,g:o,b:a,a:i}=cc.parse(e),{r:s,g:l,b:u,a:d}=cc.parse(t),f=r/100,p=f*2-1,g=i-d,v=((p*g===-1?p:(p+g)/(1+p*g))+1)/2,C=1-v,S=n*v+s*C,M=o*v+l*C,T=a*v+u*C,A=i*f+d*(1-f);return Vd(S,M,T,A)},xe=(e,t=100)=>{const r=cc.parse(e);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,Udt(r,e,t)};const{entries:sve,setPrototypeOf:N0e,isFrozen:Wdt,getPrototypeOf:Gdt,getOwnPropertyDescriptor:Zdt}=Object;let{freeze:ri,seal:Ds,create:km}=Object,{apply:dJ,construct:hJ}=typeof Reflect<"u"&&Reflect;ri||(ri=function(t){return t});Ds||(Ds=function(t){return t});dJ||(dJ=function(t,r){for(var n=arguments.length,o=new Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];return t.apply(r,o)});hJ||(hJ=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return new t(...n)});const Tb=jo(Array.prototype.forEach),Kdt=jo(Array.prototype.lastIndexOf),j0e=jo(Array.prototype.pop),Ab=jo(Array.prototype.push),Ydt=jo(Array.prototype.splice),Ya=Array.isArray,Kb=jo(String.prototype.toLowerCase),GY=jo(String.prototype.toString),P0e=jo(String.prototype.match),lm=jo(String.prototype.replace),F0e=jo(String.prototype.indexOf),Xdt=jo(String.prototype.trim),Qdt=jo(Number.prototype.toString),Jdt=jo(Boolean.prototype.toString),q0e=typeof BigInt>"u"?null:jo(BigInt.prototype.toString),H0e=typeof Symbol>"u"?null:jo(Symbol.prototype.toString),co=jo(Object.prototype.hasOwnProperty),Lb=jo(Object.prototype.toString),va=jo(RegExp.prototype.test),x5=eht(TypeError);function jo(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return dJ(e,t,n)}}function eht(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return hJ(e,r)}}function ir(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Kb;if(N0e&&N0e(e,null),!Ya(t))return e;let n=t.length;for(;n--;){let o=t[n];if(typeof o=="string"){const a=r(o);a!==o&&(Wdt(t)||(t[n]=a),o=a)}e[o]=!0}return e}function tht(e){for(let t=0;t<e.length;t++)co(e,t)||(e[t]=null);return e}function Mi(e){const t=km(null);for(const[r,n]of sve(e))co(e,r)&&(Ya(n)?t[r]=tht(n):n&&typeof n=="object"&&n.constructor===Object?t[r]=Mi(n):t[r]=n);return t}function rht(e){switch(typeof e){case"string":return e;case"number":return Qdt(e);case"boolean":return Jdt(e);case"bigint":return q0e?q0e(e):"0";case"symbol":return H0e?H0e(e):"Symbol()";case"undefined":return Lb(e);case"function":case"object":{if(e===null)return Lb(e);const t=e,r=vm(t,"toString");if(typeof r=="function"){const n=r(t);return typeof n=="string"?n:Lb(n)}return Lb(e)}default:return Lb(e)}}function vm(e,t){for(;e!==null;){const n=Zdt(e,t);if(n){if(n.get)return jo(n.get);if(typeof n.value=="function")return jo(n.value)}e=Gdt(e)}function r(){return null}return r}function nht(e){try{return va(e,""),!0}catch{return!1}}const $0e=ri(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ZY=ri(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),KY=ri(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),oht=ri(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),YY=ri(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),aht=ri(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),V0e=ri(["#text"]),U0e=ri(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),XY=ri(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),W0e=ri(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),k5=ri(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),iht=Ds(/\{\{[\w\W]*|[\w\W]*\}\}/gm),sht=Ds(/<%[\w\W]*|[\w\W]*%>/gm),lht=Ds(/\$\{[\w\W]*/gm),cht=Ds(/^data-[\-\w.\u00B7-\uFFFF]+$/),uht=Ds(/^aria-[\-\w]+$/),lve=Ds(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),dht=Ds(/^(?:\w+script|data):/i),hht=Ds(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),cve=Ds(/^html$/i),fht=Ds(/^[a-z][.\w]*(-[.\w]+)+$/i);var G0e=Object.freeze({__proto__:null,ARIA_ATTR:uht,ATTR_WHITESPACE:hht,CUSTOM_ELEMENT:fht,DATA_ATTR:cht,DOCTYPE_NAME:cve,ERB_EXPR:sht,IS_ALLOWED_URI:lve,IS_SCRIPT_OR_DATA:dht,MUSTACHE_EXPR:iht,TMPLIT_EXPR:lht});const Eb={element:1,text:3,progressingInstruction:7,comment:8,document:9},pht=function(){return typeof window>"u"?null:window},mht=function(t,r){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let n=null;const o="data-tt-policy-suffix";r&&r.hasAttribute(o)&&(n=r.getAttribute(o));const a="dompurify"+(n?"#"+n:"");try{return t.createPolicy(a,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}},Z0e=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function uve(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pht();const t=Mt=>uve(Mt);if(t.version="3.4.1",t.removed=[],!e||!e.document||e.document.nodeType!==Eb.document||!e.Element)return t.isSupported=!1,t;let{document:r}=e;const n=r,o=n.currentScript,{DocumentFragment:a,HTMLTemplateElement:i,Node:s,Element:l,NodeFilter:u,NamedNodeMap:d=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:p,trustedTypes:g}=e,b=l.prototype,v=vm(b,"cloneNode"),C=vm(b,"remove"),S=vm(b,"nextSibling"),M=vm(b,"childNodes"),T=vm(b,"parentNode");if(typeof i=="function"){const Mt=r.createElement("template");Mt.content&&Mt.content.ownerDocument&&(r=Mt.content.ownerDocument)}let A,R="";const{implementation:I,createNodeIterator:L,createDocumentFragment:N,getElementsByTagName:V}=r,{importNode:P}=n;let G=Z0e();t.isSupported=typeof sve=="function"&&typeof T=="function"&&I&&I.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Q,ERB_EXPR:re,TMPLIT_EXPR:K,DATA_ATTR:Z,ARIA_ATTR:z,IS_SCRIPT_OR_DATA:O,ATTR_WHITESPACE:D,CUSTOM_ELEMENT:$}=G0e;let{IS_ALLOWED_URI:q}=G0e,U=null;const oe=ir({},[...$0e,...ZY,...KY,...YY,...V0e]);let W=null;const he=ir({},[...U0e,...XY,...W0e,...k5]);let we=Object.seal(km(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ve=null,fe=null;const Le=Object.seal(km(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Oe=!0,Te=!0,rt=!1,dt=!0,Wt=!1,zt=!0,Pt=!1,zr=!1,pr=!1,pt=!1,it=!1,Dr=!1,cn=!0,$r=!1;const yr="user-content-";let nt=!0,Xe=!1,se={},be=null;const je=ir({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let lt=null;const Ke=ir({},["audio","video","img","source","image","track"]);let qt=null;const Pr=ir({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Xt="http://www.w3.org/1998/Math/MathML",_r="http://www.w3.org/2000/svg",Tr="http://www.w3.org/1999/xhtml";let ft=Tr,ho=!1,On=null;const Aa=ir({},[Xt,_r,Tr],GY);let li=ir({},["mi","mo","mn","ms","mtext"]),qo=ir({},["annotation-xml"]);const La=ir({},["title","style","font","a","script"]);let Jn=null;const ci=["application/xhtml+xml","text/html"],ds="text/html";let pn=null,Qr=null;const Ho=r.createElement("form"),qa=function(ce){return ce instanceof RegExp||ce instanceof Function},eo=function(){let ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Qr&&Qr===ce)return;(!ce||typeof ce!="object")&&(ce={}),ce=Mi(ce),Jn=ci.indexOf(ce.PARSER_MEDIA_TYPE)===-1?ds:ce.PARSER_MEDIA_TYPE,pn=Jn==="application/xhtml+xml"?GY:Kb,U=co(ce,"ALLOWED_TAGS")&&Ya(ce.ALLOWED_TAGS)?ir({},ce.ALLOWED_TAGS,pn):oe,W=co(ce,"ALLOWED_ATTR")&&Ya(ce.ALLOWED_ATTR)?ir({},ce.ALLOWED_ATTR,pn):he,On=co(ce,"ALLOWED_NAMESPACES")&&Ya(ce.ALLOWED_NAMESPACES)?ir({},ce.ALLOWED_NAMESPACES,GY):Aa,qt=co(ce,"ADD_URI_SAFE_ATTR")&&Ya(ce.ADD_URI_SAFE_ATTR)?ir(Mi(Pr),ce.ADD_URI_SAFE_ATTR,pn):Pr,lt=co(ce,"ADD_DATA_URI_TAGS")&&Ya(ce.ADD_DATA_URI_TAGS)?ir(Mi(Ke),ce.ADD_DATA_URI_TAGS,pn):Ke,be=co(ce,"FORBID_CONTENTS")&&Ya(ce.FORBID_CONTENTS)?ir({},ce.FORBID_CONTENTS,pn):je,ve=co(ce,"FORBID_TAGS")&&Ya(ce.FORBID_TAGS)?ir({},ce.FORBID_TAGS,pn):Mi({}),fe=co(ce,"FORBID_ATTR")&&Ya(ce.FORBID_ATTR)?ir({},ce.FORBID_ATTR,pn):Mi({}),se=co(ce,"USE_PROFILES")?ce.USE_PROFILES&&typeof ce.USE_PROFILES=="object"?Mi(ce.USE_PROFILES):ce.USE_PROFILES:!1,Oe=ce.ALLOW_ARIA_ATTR!==!1,Te=ce.ALLOW_DATA_ATTR!==!1,rt=ce.ALLOW_UNKNOWN_PROTOCOLS||!1,dt=ce.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Wt=ce.SAFE_FOR_TEMPLATES||!1,zt=ce.SAFE_FOR_XML!==!1,Pt=ce.WHOLE_DOCUMENT||!1,pt=ce.RETURN_DOM||!1,it=ce.RETURN_DOM_FRAGMENT||!1,Dr=ce.RETURN_TRUSTED_TYPE||!1,pr=ce.FORCE_BODY||!1,cn=ce.SANITIZE_DOM!==!1,$r=ce.SANITIZE_NAMED_PROPS||!1,nt=ce.KEEP_CONTENT!==!1,Xe=ce.IN_PLACE||!1,q=nht(ce.ALLOWED_URI_REGEXP)?ce.ALLOWED_URI_REGEXP:lve,ft=typeof ce.NAMESPACE=="string"?ce.NAMESPACE:Tr,li=co(ce,"MATHML_TEXT_INTEGRATION_POINTS")&&ce.MATHML_TEXT_INTEGRATION_POINTS&&typeof ce.MATHML_TEXT_INTEGRATION_POINTS=="object"?Mi(ce.MATHML_TEXT_INTEGRATION_POINTS):ir({},["mi","mo","mn","ms","mtext"]),qo=co(ce,"HTML_INTEGRATION_POINTS")&&ce.HTML_INTEGRATION_POINTS&&typeof ce.HTML_INTEGRATION_POINTS=="object"?Mi(ce.HTML_INTEGRATION_POINTS):ir({},["annotation-xml"]);const Ne=co(ce,"CUSTOM_ELEMENT_HANDLING")&&ce.CUSTOM_ELEMENT_HANDLING&&typeof ce.CUSTOM_ELEMENT_HANDLING=="object"?Mi(ce.CUSTOM_ELEMENT_HANDLING):km(null);if(we=km(null),co(Ne,"tagNameCheck")&&qa(Ne.tagNameCheck)&&(we.tagNameCheck=Ne.tagNameCheck),co(Ne,"attributeNameCheck")&&qa(Ne.attributeNameCheck)&&(we.attributeNameCheck=Ne.attributeNameCheck),co(Ne,"allowCustomizedBuiltInElements")&&typeof Ne.allowCustomizedBuiltInElements=="boolean"&&(we.allowCustomizedBuiltInElements=Ne.allowCustomizedBuiltInElements),Wt&&(Te=!1),it&&(pt=!0),se&&(U=ir({},V0e),W=km(null),se.html===!0&&(ir(U,$0e),ir(W,U0e)),se.svg===!0&&(ir(U,ZY),ir(W,XY),ir(W,k5)),se.svgFilters===!0&&(ir(U,KY),ir(W,XY),ir(W,k5)),se.mathMl===!0&&(ir(U,YY),ir(W,W0e),ir(W,k5))),Le.tagCheck=null,Le.attributeCheck=null,co(ce,"ADD_TAGS")&&(typeof ce.ADD_TAGS=="function"?Le.tagCheck=ce.ADD_TAGS:Ya(ce.ADD_TAGS)&&(U===oe&&(U=Mi(U)),ir(U,ce.ADD_TAGS,pn))),co(ce,"ADD_ATTR")&&(typeof ce.ADD_ATTR=="function"?Le.attributeCheck=ce.ADD_ATTR:Ya(ce.ADD_ATTR)&&(W===he&&(W=Mi(W)),ir(W,ce.ADD_ATTR,pn))),co(ce,"ADD_URI_SAFE_ATTR")&&Ya(ce.ADD_URI_SAFE_ATTR)&&ir(qt,ce.ADD_URI_SAFE_ATTR,pn),co(ce,"FORBID_CONTENTS")&&Ya(ce.FORBID_CONTENTS)&&(be===je&&(be=Mi(be)),ir(be,ce.FORBID_CONTENTS,pn)),co(ce,"ADD_FORBID_CONTENTS")&&Ya(ce.ADD_FORBID_CONTENTS)&&(be===je&&(be=Mi(be)),ir(be,ce.ADD_FORBID_CONTENTS,pn)),nt&&(U["#text"]=!0),Pt&&ir(U,["html","head","body"]),U.table&&(ir(U,["tbody"]),delete ve.tbody),ce.TRUSTED_TYPES_POLICY){if(typeof ce.TRUSTED_TYPES_POLICY.createHTML!="function")throw x5('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof ce.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw x5('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');A=ce.TRUSTED_TYPES_POLICY,R=A.createHTML("")}else A===void 0&&(A=mht(g,o)),A!==null&&typeof R=="string"&&(R=A.createHTML(""));ri&&ri(ce),Qr=ce},$o=ir({},[...ZY,...KY,...oht]),ui=ir({},[...YY,...aht]),An=function(ce){let Ne=T(ce);(!Ne||!Ne.tagName)&&(Ne={namespaceURI:ft,tagName:"template"});const ot=Kb(ce.tagName),ur=Kb(Ne.tagName);return On[ce.namespaceURI]?ce.namespaceURI===_r?Ne.namespaceURI===Tr?ot==="svg":Ne.namespaceURI===Xt?ot==="svg"&&(ur==="annotation-xml"||li[ur]):!!$o[ot]:ce.namespaceURI===Xt?Ne.namespaceURI===Tr?ot==="math":Ne.namespaceURI===_r?ot==="math"&&qo[ur]:!!ui[ot]:ce.namespaceURI===Tr?Ne.namespaceURI===_r&&!qo[ur]||Ne.namespaceURI===Xt&&!li[ur]?!1:!ui[ot]&&(La[ot]||!$o[ot]):!!(Jn==="application/xhtml+xml"&&On[ce.namespaceURI]):!1},nn=function(ce){Ab(t.removed,{element:ce});try{T(ce).removeChild(ce)}catch{C(ce)}},to=function(ce,Ne){try{Ab(t.removed,{attribute:Ne.getAttributeNode(ce),from:Ne})}catch{Ab(t.removed,{attribute:null,from:Ne})}if(Ne.removeAttribute(ce),ce==="is")if(pt||it)try{nn(Ne)}catch{}else try{Ne.setAttribute(ce,"")}catch{}},di=function(ce){let Ne=null,ot=null;if(pr)ce="<remove></remove>"+ce;else{const br=P0e(ce,/^[\r\n\t ]+/);ot=br&&br[0]}Jn==="application/xhtml+xml"&&ft===Tr&&(ce='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+ce+"</body></html>");const ur=A?A.createHTML(ce):ce;if(ft===Tr)try{Ne=new p().parseFromString(ur,Jn)}catch{}if(!Ne||!Ne.documentElement){Ne=I.createDocument(ft,"template",null);try{Ne.documentElement.innerHTML=ho?R:ur}catch{}}const Jt=Ne.body||Ne.documentElement;return ce&&ot&&Jt.insertBefore(r.createTextNode(ot),Jt.childNodes[0]||null),ft===Tr?V.call(Ne,Pt?"html":"body")[0]:Pt?Ne.documentElement:Jt},hi=function(ce){return L.call(ce.ownerDocument||ce,ce,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},ro=function(ce){return ce instanceof f&&(typeof ce.nodeName!="string"||typeof ce.textContent!="string"||typeof ce.removeChild!="function"||!(ce.attributes instanceof d)||typeof ce.removeAttribute!="function"||typeof ce.setAttribute!="function"||typeof ce.namespaceURI!="string"||typeof ce.insertBefore!="function"||typeof ce.hasChildNodes!="function")},Vr=function(ce){return typeof s=="function"&&ce instanceof s};function on(Mt,ce,Ne){Tb(Mt,ot=>{ot.call(t,ce,Ne,Qr)})}const Bn=function(ce){let Ne=null;if(on(G.beforeSanitizeElements,ce,null),ro(ce))return nn(ce),!0;const ot=pn(ce.nodeName);if(on(G.uponSanitizeElement,ce,{tagName:ot,allowedTags:U}),zt&&ce.hasChildNodes()&&!Vr(ce.firstElementChild)&&va(/<[/\w!]/g,ce.innerHTML)&&va(/<[/\w!]/g,ce.textContent)||zt&&ce.namespaceURI===Tr&&ot==="style"&&Vr(ce.firstElementChild)||ce.nodeType===Eb.progressingInstruction||zt&&ce.nodeType===Eb.comment&&va(/<[/\w]/g,ce.data))return nn(ce),!0;if(ve[ot]||!(Le.tagCheck instanceof Function&&Le.tagCheck(ot))&&!U[ot]){if(!ve[ot]&&js(ot)&&(we.tagNameCheck instanceof RegExp&&va(we.tagNameCheck,ot)||we.tagNameCheck instanceof Function&&we.tagNameCheck(ot)))return!1;if(nt&&!be[ot]){const ur=T(ce)||ce.parentNode,Jt=M(ce)||ce.childNodes;if(Jt&&ur){const br=Jt.length;for(let mn=br-1;mn>=0;--mn){const Or=v(Jt[mn],!0);ur.insertBefore(Or,S(ce))}}}return nn(ce),!0}return ce instanceof l&&!An(ce)||(ot==="noscript"||ot==="noembed"||ot==="noframes")&&va(/<\/no(script|embed|frames)/i,ce.innerHTML)?(nn(ce),!0):(Wt&&ce.nodeType===Eb.text&&(Ne=ce.textContent,Tb([Q,re,K],ur=>{Ne=lm(Ne,ur," ")}),ce.textContent!==Ne&&(Ab(t.removed,{element:ce.cloneNode()}),ce.textContent=Ne)),on(G.afterSanitizeElements,ce,null),!1)},hs=function(ce,Ne,ot){if(fe[Ne]||cn&&(Ne==="id"||Ne==="name")&&(ot in r||ot in Ho))return!1;if(!(Te&&!fe[Ne]&&va(Z,Ne))){if(!(Oe&&va(z,Ne))){if(!(Le.attributeCheck instanceof Function&&Le.attributeCheck(Ne,ce))){if(!W[Ne]||fe[Ne]){if(!(js(ce)&&(we.tagNameCheck instanceof RegExp&&va(we.tagNameCheck,ce)||we.tagNameCheck instanceof Function&&we.tagNameCheck(ce))&&(we.attributeNameCheck instanceof RegExp&&va(we.attributeNameCheck,Ne)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(Ne,ce))||Ne==="is"&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&va(we.tagNameCheck,ot)||we.tagNameCheck instanceof Function&&we.tagNameCheck(ot))))return!1}else if(!qt[Ne]){if(!va(q,lm(ot,D,""))){if(!((Ne==="src"||Ne==="xlink:href"||Ne==="href")&&ce!=="script"&&F0e(ot,"data:")===0&&lt[ce])){if(!(rt&&!va(O,lm(ot,D,"")))){if(ot)return!1}}}}}}}return!0},Tc=ir({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),js=function(ce){return!Tc[Kb(ce)]&&va($,ce)},nr=function(ce){on(G.beforeSanitizeAttributes,ce,null);const{attributes:Ne}=ce;if(!Ne||ro(ce))return;const ot={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:W,forceKeepAttr:void 0};let ur=Ne.length;for(;ur--;){const Jt=Ne[ur],{name:br,namespaceURI:mn,value:Or}=Jt,Nn=pn(br),no=Or;let an=br==="value"?no:Xdt(no);if(ot.attrName=Nn,ot.attrValue=an,ot.keepAttr=!0,ot.forceKeepAttr=void 0,on(G.uponSanitizeAttribute,ce,ot),an=ot.attrValue,$r&&(Nn==="id"||Nn==="name")&&F0e(an,yr)!==0&&(to(br,ce),an=yr+an),zt&&va(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,an)){to(br,ce);continue}if(Nn==="attributename"&&P0e(an,"href")){to(br,ce);continue}if(ot.forceKeepAttr)continue;if(!ot.keepAttr){to(br,ce);continue}if(!dt&&va(/\/>/i,an)){to(br,ce);continue}Wt&&Tb([Q,re,K],fi=>{an=lm(an,fi," ")});const en=pn(ce.nodeName);if(!hs(en,Nn,an)){to(br,ce);continue}if(A&&typeof g=="object"&&typeof g.getAttributeType=="function"&&!mn)switch(g.getAttributeType(en,Nn)){case"TrustedHTML":{an=A.createHTML(an);break}case"TrustedScriptURL":{an=A.createScriptURL(an);break}}if(an!==no)try{mn?ce.setAttributeNS(mn,br,an):ce.setAttribute(br,an),ro(ce)?nn(ce):j0e(t.removed)}catch{to(br,ce)}}on(G.afterSanitizeAttributes,ce,null)},Ha=function(ce){let Ne=null;const ot=hi(ce);for(on(G.beforeSanitizeShadowDOM,ce,null);Ne=ot.nextNode();)on(G.uponSanitizeShadowNode,Ne,null),Bn(Ne),nr(Ne),Ne.content instanceof a&&Ha(Ne.content);on(G.afterSanitizeShadowDOM,ce,null)};return t.sanitize=function(Mt){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ne=null,ot=null,ur=null,Jt=null;if(ho=!Mt,ho&&(Mt="<!-->"),typeof Mt!="string"&&!Vr(Mt)&&(Mt=rht(Mt),typeof Mt!="string"))throw x5("dirty is not a string, aborting");if(!t.isSupported)return Mt;if(zr||eo(ce),t.removed=[],typeof Mt=="string"&&(Xe=!1),Xe){const Or=Mt.nodeName;if(typeof Or=="string"){const Nn=pn(Or);if(!U[Nn]||ve[Nn])throw x5("root node is forbidden and cannot be sanitized in-place")}}else if(Mt instanceof s)Ne=di("<!---->"),ot=Ne.ownerDocument.importNode(Mt,!0),ot.nodeType===Eb.element&&ot.nodeName==="BODY"||ot.nodeName==="HTML"?Ne=ot:Ne.appendChild(ot);else{if(!pt&&!Wt&&!Pt&&Mt.indexOf("<")===-1)return A&&Dr?A.createHTML(Mt):Mt;if(Ne=di(Mt),!Ne)return pt?null:Dr?R:""}Ne&&pr&&nn(Ne.firstChild);const br=hi(Xe?Mt:Ne);for(;ur=br.nextNode();)Bn(ur),nr(ur),ur.content instanceof a&&Ha(ur.content);if(Xe)return Mt;if(pt){if(Wt){Ne.normalize();let Or=Ne.innerHTML;Tb([Q,re,K],Nn=>{Or=lm(Or,Nn," ")}),Ne.innerHTML=Or}if(it)for(Jt=N.call(Ne.ownerDocument);Ne.firstChild;)Jt.appendChild(Ne.firstChild);else Jt=Ne;return(W.shadowroot||W.shadowrootmode)&&(Jt=P.call(n,Jt,!0)),Jt}let mn=Pt?Ne.outerHTML:Ne.innerHTML;return Pt&&U["!doctype"]&&Ne.ownerDocument&&Ne.ownerDocument.doctype&&Ne.ownerDocument.doctype.name&&va(cve,Ne.ownerDocument.doctype.name)&&(mn="<!DOCTYPE "+Ne.ownerDocument.doctype.name+`>
457
+ `)};if(G===0){var K=d.slice(p+1,g).concat(aH({children:[re],className:I.properties.className})),Z=C(K,Q);f.push(Z)}else if(G===V.length-1){var z=d[g+1]&&d[g+1].children&&d[g+1].children[0],O={type:"text",value:"".concat(P)};if(z){var D=aH({children:[O],className:I.properties.className});d.splice(g+1,0,D)}else{var $=[O],q=C($,Q,I.properties.className);f.push(q)}}else{var U=[re],oe=C(U,Q,I.properties.className);f.push(oe)}}),p=g}g++};g<d.length;)S();if(p!==d.length-1){var M=d.slice(p+1,d.length);if(M&&M.length){var T=n&&f.length+a,A=C(M,T);f.push(A)}}return t?f:(u=[]).concat.apply(u,f)}function vut(e){var t=e.rows,r=e.stylesheet,n=e.useInlineStyles;return t.map(function(o,a){return Z5e({node:o,stylesheet:r,useInlineStyles:n,key:"code-segment-".concat(a)})})}function Q5e(e){return e&&typeof e.highlightAuto<"u"}function wut(e){var t=e.astGenerator,r=e.language,n=e.code,o=e.defaultCodeValue;if(Q5e(t)){var a=fut(t,r);return r==="text"?{value:o,language:"text"}:a?t.highlight(r,n):t.highlightAuto(n)}try{return r&&r!=="text"?{value:t.highlight(n,r)}:{value:o}}catch{return{value:o}}}function Cut(e,t){return function(n){var o,a,i=n.language,s=n.children,l=n.style,u=l===void 0?t:l,d=n.customStyle,f=d===void 0?{}:d,p=n.codeTagProps,g=p===void 0?{className:i?"language-".concat(i):void 0,style:jd(jd({},u['code[class*="language-"]']),u['code[class*="language-'.concat(i,'"]')])}:p,b=n.useInlineStyles,v=b===void 0?!0:b,C=n.showLineNumbers,S=C===void 0?!1:C,M=n.showInlineLineNumbers,T=M===void 0?!0:M,A=n.startingLineNumber,R=A===void 0?1:A,I=n.lineNumberContainerStyle,L=n.lineNumberStyle,N=L===void 0?{}:L,V=n.wrapLines,P=n.wrapLongLines,G=P===void 0?!1:P,Q=n.lineProps,re=Q===void 0?{}:Q,K=n.renderer,Z=n.PreTag,z=Z===void 0?"pre":Z,O=n.CodeTag,D=O===void 0?"code":O,$=n.code,q=$===void 0?(Array.isArray(s)?s[0]:s)||"":$,U=n.astGenerator,oe=nut(n,put);U=U||e;var W=S?rr.createElement(but,{containerStyle:I,codeStyle:g.style||{},numberStyle:N,startingLineNumber:R,codeString:q}):null,he=u.hljs||u['pre[class*="language-"]']||{backgroundColor:"#fff"},we=Q5e(U)?"hljs":"prismjs",ve=v?Object.assign({},oe,{style:Object.assign({},he,f)}):Object.assign({},oe,{className:oe.className?"".concat(we," ").concat(oe.className):we,style:Object.assign({},f)});if(G?g.style=jd({whiteSpace:"pre-wrap"},g.style):g.style=jd({whiteSpace:"pre"},g.style),!U)return rr.createElement(z,ve,W,rr.createElement(D,g,q));(V===void 0&&K||G)&&(V=!0),K=K||vut;var fe=[{type:"text",value:q}],Le=wut({astGenerator:U,language:i,code:q,defaultCodeValue:fe});Le.language===null&&(Le.value=fe);var Oe=(o=(a=q.match(/\n/g))===null||a===void 0?void 0:a.length)!==null&&o!==void 0?o:0,Te=R+Oe,rt=kut(Le,V,re,S,T,R,Te,N,G);return rr.createElement(z,ve,rr.createElement(D,g,!T&&W,K({rows:rt,stylesheet:u,useInlineStyles:v})))}}const Sut="modulepreload",Mut=function(e){return"/"+e},Nhe={},ne=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let l=function(u){return Promise.all(u.map(d=>Promise.resolve(d).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),s=i?.nonce||i?.getAttribute("nonce");o=l(r.map(u=>{if(u=Mut(u),u in Nhe)return;Nhe[u]=!0;const d=u.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${f}`))return;const p=document.createElement("link");if(p.rel=d?"stylesheet":Sut,d||(p.as="script"),p.crossOrigin="",p.href=u,s&&p.setAttribute("nonce",s),document.head.appendChild(p),d)return new Promise((g,b)=>{p.addEventListener("load",g),p.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${u}`)))})}))}function a(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return o.then(i=>{for(const s of i||[])s.status==="rejected"&&a(s.reason);return t().catch(a)})};function jhe(e,t,r,n,o,a,i){try{var s=e[a](i),l=s.value}catch(u){return void r(u)}s.done?t(l):Promise.resolve(l).then(n,o)}function J5e(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var a=e.apply(t,r);function i(l){jhe(a,n,o,i,s,"next",l)}function s(l){jhe(a,n,o,i,s,"throw",l)}i(void 0)})}}function _ut(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Phe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,G5e(n.key),n)}}function Tut(e,t,r){return t&&Phe(e.prototype,t),r&&Phe(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Aut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lut(e,t){if(t&&(lc(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Aut(e)}function m$(e){return m$=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},m$(e)}function lJ(e,t){return lJ=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},lJ(e,t)}function Eut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&lJ(e,t)}function cJ(){cJ=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(z,O,D){z[O]=D.value},a=typeof Symbol=="function"?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(z,O,D){return Object.defineProperty(z,O,{value:D,enumerable:!0,configurable:!0,writable:!0}),z[O]}try{u({},"")}catch{u=function(D,$,q){return D[$]=q}}function d(z,O,D,$){var q=O&&O.prototype instanceof S?O:S,U=Object.create(q.prototype),oe=new K($||[]);return o(U,"_invoke",{value:P(z,D,oe)}),U}function f(z,O,D){try{return{type:"normal",arg:z.call(O,D)}}catch($){return{type:"throw",arg:$}}}t.wrap=d;var p="suspendedStart",g="suspendedYield",b="executing",v="completed",C={};function S(){}function M(){}function T(){}var A={};u(A,i,function(){return this});var R=Object.getPrototypeOf,I=R&&R(R(Z([])));I&&I!==r&&n.call(I,i)&&(A=I);var L=T.prototype=S.prototype=Object.create(A);function N(z){["next","throw","return"].forEach(function(O){u(z,O,function(D){return this._invoke(O,D)})})}function V(z,O){function D(q,U,oe,W){var he=f(z[q],z,U);if(he.type!=="throw"){var we=he.arg,ve=we.value;return ve&&lc(ve)=="object"&&n.call(ve,"__await")?O.resolve(ve.__await).then(function(fe){D("next",fe,oe,W)},function(fe){D("throw",fe,oe,W)}):O.resolve(ve).then(function(fe){we.value=fe,oe(we)},function(fe){return D("throw",fe,oe,W)})}W(he.arg)}var $;o(this,"_invoke",{value:function(U,oe){function W(){return new O(function(he,we){D(U,oe,he,we)})}return $=$?$.then(W,W):W()}})}function P(z,O,D){var $=p;return function(q,U){if($===b)throw Error("Generator is already running");if($===v){if(q==="throw")throw U;return{value:e,done:!0}}for(D.method=q,D.arg=U;;){var oe=D.delegate;if(oe){var W=G(oe,D);if(W){if(W===C)continue;return W}}if(D.method==="next")D.sent=D._sent=D.arg;else if(D.method==="throw"){if($===p)throw $=v,D.arg;D.dispatchException(D.arg)}else D.method==="return"&&D.abrupt("return",D.arg);$=b;var he=f(z,O,D);if(he.type==="normal"){if($=D.done?v:g,he.arg===C)continue;return{value:he.arg,done:D.done}}he.type==="throw"&&($=v,D.method="throw",D.arg=he.arg)}}}function G(z,O){var D=O.method,$=z.iterator[D];if($===e)return O.delegate=null,D==="throw"&&z.iterator.return&&(O.method="return",O.arg=e,G(z,O),O.method==="throw")||D!=="return"&&(O.method="throw",O.arg=new TypeError("The iterator does not provide a '"+D+"' method")),C;var q=f($,z.iterator,O.arg);if(q.type==="throw")return O.method="throw",O.arg=q.arg,O.delegate=null,C;var U=q.arg;return U?U.done?(O[z.resultName]=U.value,O.next=z.nextLoc,O.method!=="return"&&(O.method="next",O.arg=e),O.delegate=null,C):U:(O.method="throw",O.arg=new TypeError("iterator result is not an object"),O.delegate=null,C)}function Q(z){var O={tryLoc:z[0]};1 in z&&(O.catchLoc=z[1]),2 in z&&(O.finallyLoc=z[2],O.afterLoc=z[3]),this.tryEntries.push(O)}function re(z){var O=z.completion||{};O.type="normal",delete O.arg,z.completion=O}function K(z){this.tryEntries=[{tryLoc:"root"}],z.forEach(Q,this),this.reset(!0)}function Z(z){if(z||z===""){var O=z[i];if(O)return O.call(z);if(typeof z.next=="function")return z;if(!isNaN(z.length)){var D=-1,$=function q(){for(;++D<z.length;)if(n.call(z,D))return q.value=z[D],q.done=!1,q;return q.value=e,q.done=!0,q};return $.next=$}}throw new TypeError(lc(z)+" is not iterable")}return M.prototype=T,o(L,"constructor",{value:T,configurable:!0}),o(T,"constructor",{value:M,configurable:!0}),M.displayName=u(T,l,"GeneratorFunction"),t.isGeneratorFunction=function(z){var O=typeof z=="function"&&z.constructor;return!!O&&(O===M||(O.displayName||O.name)==="GeneratorFunction")},t.mark=function(z){return Object.setPrototypeOf?Object.setPrototypeOf(z,T):(z.__proto__=T,u(z,l,"GeneratorFunction")),z.prototype=Object.create(L),z},t.awrap=function(z){return{__await:z}},N(V.prototype),u(V.prototype,s,function(){return this}),t.AsyncIterator=V,t.async=function(z,O,D,$,q){q===void 0&&(q=Promise);var U=new V(d(z,O,D,$),q);return t.isGeneratorFunction(O)?U:U.next().then(function(oe){return oe.done?oe.value:U.next()})},N(L),u(L,l,"Generator"),u(L,i,function(){return this}),u(L,"toString",function(){return"[object Generator]"}),t.keys=function(z){var O=Object(z),D=[];for(var $ in O)D.push($);return D.reverse(),function q(){for(;D.length;){var U=D.pop();if(U in O)return q.value=U,q.done=!1,q}return q.done=!0,q}},t.values=Z,K.prototype={constructor:K,reset:function(O){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(re),!O)for(var D in this)D.charAt(0)==="t"&&n.call(this,D)&&!isNaN(+D.slice(1))&&(this[D]=e)},stop:function(){this.done=!0;var O=this.tryEntries[0].completion;if(O.type==="throw")throw O.arg;return this.rval},dispatchException:function(O){if(this.done)throw O;var D=this;function $(we,ve){return oe.type="throw",oe.arg=O,D.next=we,ve&&(D.method="next",D.arg=e),!!ve}for(var q=this.tryEntries.length-1;q>=0;--q){var U=this.tryEntries[q],oe=U.completion;if(U.tryLoc==="root")return $("end");if(U.tryLoc<=this.prev){var W=n.call(U,"catchLoc"),he=n.call(U,"finallyLoc");if(W&&he){if(this.prev<U.catchLoc)return $(U.catchLoc,!0);if(this.prev<U.finallyLoc)return $(U.finallyLoc)}else if(W){if(this.prev<U.catchLoc)return $(U.catchLoc,!0)}else{if(!he)throw Error("try statement without catch or finally");if(this.prev<U.finallyLoc)return $(U.finallyLoc)}}}},abrupt:function(O,D){for(var $=this.tryEntries.length-1;$>=0;--$){var q=this.tryEntries[$];if(q.tryLoc<=this.prev&&n.call(q,"finallyLoc")&&this.prev<q.finallyLoc){var U=q;break}}U&&(O==="break"||O==="continue")&&U.tryLoc<=D&&D<=U.finallyLoc&&(U=null);var oe=U?U.completion:{};return oe.type=O,oe.arg=D,U?(this.method="next",this.next=U.finallyLoc,C):this.complete(oe)},complete:function(O,D){if(O.type==="throw")throw O.arg;return O.type==="break"||O.type==="continue"?this.next=O.arg:O.type==="return"?(this.rval=this.arg=O.arg,this.method="return",this.next="end"):O.type==="normal"&&D&&(this.next=D),C},finish:function(O){for(var D=this.tryEntries.length-1;D>=0;--D){var $=this.tryEntries[D];if($.finallyLoc===O)return this.complete($.completion,$.afterLoc),re($),C}},catch:function(O){for(var D=this.tryEntries.length-1;D>=0;--D){var $=this.tryEntries[D];if($.tryLoc===O){var q=$.completion;if(q.type==="throw"){var U=q.arg;re($)}return U}}throw Error("illegal catch attempt")},delegateYield:function(O,D,$){return this.delegate={iterator:Z(O),resultName:D,nextLoc:$},this.method==="next"&&(this.arg=e),C}},t}function Iut(e,t,r){return t=m$(t),Lut(e,eve()?Reflect.construct(t,r||[],m$(e).constructor):t.apply(e,r))}function eve(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(eve=function(){return!!e})()}const Rut=(function(e){var t,r=e.loader,n=e.isLanguageRegistered,o=e.registerLanguage,a=e.languageLoaders,i=e.noAsyncLoadingLanguages,s=(function(l){function u(){return _ut(this,u),Iut(this,u,arguments)}return Eut(u,l),Tut(u,[{key:"componentDidUpdate",value:function(){!u.isRegistered(this.props.language)&&a&&this.loadLanguage()}},{key:"componentDidMount",value:function(){var f=this;u.astGeneratorPromise||u.loadAstGenerator(),u.astGenerator||u.astGeneratorPromise.then(function(){f.forceUpdate()}),!u.isRegistered(this.props.language)&&a&&this.loadLanguage()}},{key:"loadLanguage",value:function(){var f=this,p=this.props.language;p!=="text"&&u.loadLanguage(p).then(function(){return f.forceUpdate()}).catch(function(){})}},{key:"normalizeLanguage",value:function(f){return u.isSupportedLanguage(f)?f:"text"}},{key:"render",value:function(){return rr.createElement(u.highlightInstance,p$({},this.props,{language:this.normalizeLanguage(this.props.language),astGenerator:u.astGenerator}))}}],[{key:"preload",value:function(){return u.loadAstGenerator()}},{key:"loadLanguage",value:(function(){var d=J5e(cJ().mark(function p(g){var b;return cJ().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(b=a[g],typeof b!="function"){C.next=5;break}return C.abrupt("return",b(u.registerLanguage));case 5:throw new Error("Language ".concat(g," not supported"));case 6:case"end":return C.stop()}},p)}));function f(p){return d.apply(this,arguments)}return f})()},{key:"isSupportedLanguage",value:function(f){return u.isRegistered(f)||typeof a[f]=="function"}},{key:"loadAstGenerator",value:function(){return u.astGeneratorPromise=r().then(function(f){u.astGenerator=f,o&&u.languages.forEach(function(p,g){return o(f,g,p)})}),u.astGeneratorPromise}}])})(rr.PureComponent);return t=s,ou(s,"astGenerator",null),ou(s,"highlightInstance",Cut(null,{})),ou(s,"astGeneratorPromise",null),ou(s,"languages",new Map),ou(s,"supportedLanguages",e.supportedLanguages||Object.keys(a||{})),ou(s,"isRegistered",function(l){if(i)return!0;if(!o)throw new Error("Current syntax highlighter doesn't support registration of languages");return t.astGenerator?n(t.astGenerator,l):t.languages.has(l)}),ou(s,"registerLanguage",function(l,u){if(!o)throw new Error("Current syntax highlighter doesn't support registration of languages");if(t.astGenerator)return o(t.astGenerator,l,u);t.languages.set(l,u)}),s});function uJ(){uJ=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(z,O,D){z[O]=D.value},a=typeof Symbol=="function"?Symbol:{},i=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(z,O,D){return Object.defineProperty(z,O,{value:D,enumerable:!0,configurable:!0,writable:!0}),z[O]}try{u({},"")}catch{u=function(D,$,q){return D[$]=q}}function d(z,O,D,$){var q=O&&O.prototype instanceof S?O:S,U=Object.create(q.prototype),oe=new K($||[]);return o(U,"_invoke",{value:P(z,D,oe)}),U}function f(z,O,D){try{return{type:"normal",arg:z.call(O,D)}}catch($){return{type:"throw",arg:$}}}t.wrap=d;var p="suspendedStart",g="suspendedYield",b="executing",v="completed",C={};function S(){}function M(){}function T(){}var A={};u(A,i,function(){return this});var R=Object.getPrototypeOf,I=R&&R(R(Z([])));I&&I!==r&&n.call(I,i)&&(A=I);var L=T.prototype=S.prototype=Object.create(A);function N(z){["next","throw","return"].forEach(function(O){u(z,O,function(D){return this._invoke(O,D)})})}function V(z,O){function D(q,U,oe,W){var he=f(z[q],z,U);if(he.type!=="throw"){var we=he.arg,ve=we.value;return ve&&lc(ve)=="object"&&n.call(ve,"__await")?O.resolve(ve.__await).then(function(fe){D("next",fe,oe,W)},function(fe){D("throw",fe,oe,W)}):O.resolve(ve).then(function(fe){we.value=fe,oe(we)},function(fe){return D("throw",fe,oe,W)})}W(he.arg)}var $;o(this,"_invoke",{value:function(U,oe){function W(){return new O(function(he,we){D(U,oe,he,we)})}return $=$?$.then(W,W):W()}})}function P(z,O,D){var $=p;return function(q,U){if($===b)throw Error("Generator is already running");if($===v){if(q==="throw")throw U;return{value:e,done:!0}}for(D.method=q,D.arg=U;;){var oe=D.delegate;if(oe){var W=G(oe,D);if(W){if(W===C)continue;return W}}if(D.method==="next")D.sent=D._sent=D.arg;else if(D.method==="throw"){if($===p)throw $=v,D.arg;D.dispatchException(D.arg)}else D.method==="return"&&D.abrupt("return",D.arg);$=b;var he=f(z,O,D);if(he.type==="normal"){if($=D.done?v:g,he.arg===C)continue;return{value:he.arg,done:D.done}}he.type==="throw"&&($=v,D.method="throw",D.arg=he.arg)}}}function G(z,O){var D=O.method,$=z.iterator[D];if($===e)return O.delegate=null,D==="throw"&&z.iterator.return&&(O.method="return",O.arg=e,G(z,O),O.method==="throw")||D!=="return"&&(O.method="throw",O.arg=new TypeError("The iterator does not provide a '"+D+"' method")),C;var q=f($,z.iterator,O.arg);if(q.type==="throw")return O.method="throw",O.arg=q.arg,O.delegate=null,C;var U=q.arg;return U?U.done?(O[z.resultName]=U.value,O.next=z.nextLoc,O.method!=="return"&&(O.method="next",O.arg=e),O.delegate=null,C):U:(O.method="throw",O.arg=new TypeError("iterator result is not an object"),O.delegate=null,C)}function Q(z){var O={tryLoc:z[0]};1 in z&&(O.catchLoc=z[1]),2 in z&&(O.finallyLoc=z[2],O.afterLoc=z[3]),this.tryEntries.push(O)}function re(z){var O=z.completion||{};O.type="normal",delete O.arg,z.completion=O}function K(z){this.tryEntries=[{tryLoc:"root"}],z.forEach(Q,this),this.reset(!0)}function Z(z){if(z||z===""){var O=z[i];if(O)return O.call(z);if(typeof z.next=="function")return z;if(!isNaN(z.length)){var D=-1,$=function q(){for(;++D<z.length;)if(n.call(z,D))return q.value=z[D],q.done=!1,q;return q.value=e,q.done=!0,q};return $.next=$}}throw new TypeError(lc(z)+" is not iterable")}return M.prototype=T,o(L,"constructor",{value:T,configurable:!0}),o(T,"constructor",{value:M,configurable:!0}),M.displayName=u(T,l,"GeneratorFunction"),t.isGeneratorFunction=function(z){var O=typeof z=="function"&&z.constructor;return!!O&&(O===M||(O.displayName||O.name)==="GeneratorFunction")},t.mark=function(z){return Object.setPrototypeOf?Object.setPrototypeOf(z,T):(z.__proto__=T,u(z,l,"GeneratorFunction")),z.prototype=Object.create(L),z},t.awrap=function(z){return{__await:z}},N(V.prototype),u(V.prototype,s,function(){return this}),t.AsyncIterator=V,t.async=function(z,O,D,$,q){q===void 0&&(q=Promise);var U=new V(d(z,O,D,$),q);return t.isGeneratorFunction(O)?U:U.next().then(function(oe){return oe.done?oe.value:U.next()})},N(L),u(L,l,"Generator"),u(L,i,function(){return this}),u(L,"toString",function(){return"[object Generator]"}),t.keys=function(z){var O=Object(z),D=[];for(var $ in O)D.push($);return D.reverse(),function q(){for(;D.length;){var U=D.pop();if(U in O)return q.value=U,q.done=!1,q}return q.done=!0,q}},t.values=Z,K.prototype={constructor:K,reset:function(O){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(re),!O)for(var D in this)D.charAt(0)==="t"&&n.call(this,D)&&!isNaN(+D.slice(1))&&(this[D]=e)},stop:function(){this.done=!0;var O=this.tryEntries[0].completion;if(O.type==="throw")throw O.arg;return this.rval},dispatchException:function(O){if(this.done)throw O;var D=this;function $(we,ve){return oe.type="throw",oe.arg=O,D.next=we,ve&&(D.method="next",D.arg=e),!!ve}for(var q=this.tryEntries.length-1;q>=0;--q){var U=this.tryEntries[q],oe=U.completion;if(U.tryLoc==="root")return $("end");if(U.tryLoc<=this.prev){var W=n.call(U,"catchLoc"),he=n.call(U,"finallyLoc");if(W&&he){if(this.prev<U.catchLoc)return $(U.catchLoc,!0);if(this.prev<U.finallyLoc)return $(U.finallyLoc)}else if(W){if(this.prev<U.catchLoc)return $(U.catchLoc,!0)}else{if(!he)throw Error("try statement without catch or finally");if(this.prev<U.finallyLoc)return $(U.finallyLoc)}}}},abrupt:function(O,D){for(var $=this.tryEntries.length-1;$>=0;--$){var q=this.tryEntries[$];if(q.tryLoc<=this.prev&&n.call(q,"finallyLoc")&&this.prev<q.finallyLoc){var U=q;break}}U&&(O==="break"||O==="continue")&&U.tryLoc<=D&&D<=U.finallyLoc&&(U=null);var oe=U?U.completion:{};return oe.type=O,oe.arg=D,U?(this.method="next",this.next=U.finallyLoc,C):this.complete(oe)},complete:function(O,D){if(O.type==="throw")throw O.arg;return O.type==="break"||O.type==="continue"?this.next=O.arg:O.type==="return"?(this.rval=this.arg=O.arg,this.method="return",this.next="end"):O.type==="normal"&&D&&(this.next=D),C},finish:function(O){for(var D=this.tryEntries.length-1;D>=0;--D){var $=this.tryEntries[D];if($.finallyLoc===O)return this.complete($.completion,$.afterLoc),re($),C}},catch:function(O){for(var D=this.tryEntries.length-1;D>=0;--D){var $=this.tryEntries[D];if($.tryLoc===O){var q=$.completion;if(q.type==="throw"){var U=q.arg;re($)}return U}}throw Error("illegal catch attempt")},delegateYield:function(O,D,$){return this.delegate={iterator:Z(O),resultName:D,nextLoc:$},this.method==="next"&&(this.arg=e),C}},t}const ae=(function(e,t){return(function(){var r=J5e(uJ().mark(function n(o){var a;return uJ().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,t();case 2:a=s.sent,o(e,a.default||a);case 4:case"end":return s.stop()}},n)}));return function(n){return r.apply(this,arguments)}})()}),zut={abap:ae("abap",function(){return ne(()=>import("./abap-D25-GbQj.js").then(e=>e.a),[])}),abnf:ae("abnf",function(){return ne(()=>import("./abnf-C1WBnvMx.js").then(e=>e.a),[])}),actionscript:ae("actionscript",function(){return ne(()=>import("./actionscript-mX97GP9l.js").then(e=>e.a),[])}),ada:ae("ada",function(){return ne(()=>import("./ada-W4yfDkSN.js").then(e=>e.a),[])}),agda:ae("agda",function(){return ne(()=>import("./agda-BdJGx6cT.js").then(e=>e.a),[])}),al:ae("al",function(){return ne(()=>import("./al-C-bPOkrx.js").then(e=>e.a),[])}),antlr4:ae("antlr4",function(){return ne(()=>import("./antlr4-Bthu8OE7.js").then(e=>e.a),[])}),apacheconf:ae("apacheconf",function(){return ne(()=>import("./apacheconf-Cu6l0HSA.js").then(e=>e.a),[])}),apex:ae("apex",function(){return ne(()=>import("./apex-76ZYiHyp.js").then(e=>e.a),__vite__mapDeps([0,1]))}),apl:ae("apl",function(){return ne(()=>import("./apl-9Z21vRxM.js").then(e=>e.a),[])}),applescript:ae("applescript",function(){return ne(()=>import("./applescript-g4g_yKhu.js").then(e=>e.a),[])}),aql:ae("aql",function(){return ne(()=>import("./aql-Bfp0S0vI.js").then(e=>e.a),[])}),arduino:ae("arduino",function(){return ne(()=>import("./arduino-DwpX7-x7.js").then(e=>e.a),__vite__mapDeps([2,3,4]))}),arff:ae("arff",function(){return ne(()=>import("./arff-TMIspuUh.js").then(e=>e.a),[])}),asciidoc:ae("asciidoc",function(){return ne(()=>import("./asciidoc-BQawqIvc.js").then(e=>e.a),[])}),asm6502:ae("asm6502",function(){return ne(()=>import("./asm6502-DnihPBTm.js").then(e=>e.a),[])}),asmatmel:ae("asmatmel",function(){return ne(()=>import("./asmatmel-DRZ96u7W.js").then(e=>e.a),[])}),aspnet:ae("aspnet",function(){return ne(()=>import("./aspnet-BJRGMw5L.js").then(e=>e.a),__vite__mapDeps([5,6]))}),autohotkey:ae("autohotkey",function(){return ne(()=>import("./autohotkey-CLiAKVi3.js").then(e=>e.a),[])}),autoit:ae("autoit",function(){return ne(()=>import("./autoit-DsYhQzvt.js").then(e=>e.a),[])}),avisynth:ae("avisynth",function(){return ne(()=>import("./avisynth-C16FJf9l.js").then(e=>e.a),[])}),avroIdl:ae("avroIdl",function(){return ne(()=>import("./avro-idl-BBhWmTOY.js").then(e=>e.a),[])}),bash:ae("bash",function(){return ne(()=>import("./bash-CQG8Dp9t.js").then(e=>e.b),__vite__mapDeps([7,8]))}),basic:ae("basic",function(){return ne(()=>import("./basic-BJfX4qmD.js").then(e=>e.b),__vite__mapDeps([9,10]))}),batch:ae("batch",function(){return ne(()=>import("./batch-DjRIskwK.js").then(e=>e.b),[])}),bbcode:ae("bbcode",function(){return ne(()=>import("./bbcode-B6bQ9aNz.js").then(e=>e.b),[])}),bicep:ae("bicep",function(){return ne(()=>import("./bicep-B4pzuwxH.js").then(e=>e.b),[])}),birb:ae("birb",function(){return ne(()=>import("./birb-DtmwIW3Y.js").then(e=>e.b),[])}),bison:ae("bison",function(){return ne(()=>import("./bison-DT0VivRq.js").then(e=>e.b),__vite__mapDeps([11,4]))}),bnf:ae("bnf",function(){return ne(()=>import("./bnf-B4-p6TLR.js").then(e=>e.b),[])}),brainfuck:ae("brainfuck",function(){return ne(()=>import("./brainfuck-BN4mVAhx.js").then(e=>e.b),[])}),brightscript:ae("brightscript",function(){return ne(()=>import("./brightscript-BvZP2R5M.js").then(e=>e.b),[])}),bro:ae("bro",function(){return ne(()=>import("./bro-DZOICh4-.js").then(e=>e.b),[])}),bsl:ae("bsl",function(){return ne(()=>import("./bsl-KfApPClk.js").then(e=>e.b),[])}),c:ae("c",function(){return ne(()=>import("./c-1JwkyMAB.js").then(e=>e.c),__vite__mapDeps([12,4]))}),cfscript:ae("cfscript",function(){return ne(()=>import("./cfscript-BStmzNN3.js").then(e=>e.c),[])}),chaiscript:ae("chaiscript",function(){return ne(()=>import("./chaiscript-LnB1WP7I.js").then(e=>e.c),__vite__mapDeps([13,3,4]))}),cil:ae("cil",function(){return ne(()=>import("./cil-Co5847KU.js").then(e=>e.c),[])}),clike:ae("clike",function(){return ne(()=>import("./clike-C48ghCgR.js").then(e=>e.c),__vite__mapDeps([14,15]))}),clojure:ae("clojure",function(){return ne(()=>import("./clojure-mGw9edBE.js").then(e=>e.c),[])}),cmake:ae("cmake",function(){return ne(()=>import("./cmake-BfvCCoPb.js").then(e=>e.c),[])}),cobol:ae("cobol",function(){return ne(()=>import("./cobol-3nLX4h7a.js").then(e=>e.c),[])}),coffeescript:ae("coffeescript",function(){return ne(()=>import("./coffeescript-BVwDdKSy.js").then(e=>e.c),[])}),concurnas:ae("concurnas",function(){return ne(()=>import("./concurnas-BjUGEWzQ.js").then(e=>e.c),[])}),coq:ae("coq",function(){return ne(()=>import("./coq-C6ReNqAg.js").then(e=>e.c),[])}),cpp:ae("cpp",function(){return ne(()=>import("./cpp-0xAJOet1.js").then(e=>e.c),__vite__mapDeps([16,3,4]))}),crystal:ae("crystal",function(){return ne(()=>import("./crystal-D7yKWR9Y.js").then(e=>e.c),__vite__mapDeps([17,18]))}),csharp:ae("csharp",function(){return ne(()=>import("./csharp-BHypmt2T.js").then(e=>e.c),__vite__mapDeps([19,6]))}),cshtml:ae("cshtml",function(){return ne(()=>import("./cshtml-6B_JNkUD.js").then(e=>e.c),__vite__mapDeps([20,6]))}),csp:ae("csp",function(){return ne(()=>import("./csp-Df00L3E4.js").then(e=>e.c),[])}),cssExtras:ae("cssExtras",function(){return ne(()=>import("./css-extras-CjMMZtxY.js").then(e=>e.c),[])}),css:ae("css",function(){return ne(()=>import("./css-D_Ay4PNz.js").then(e=>e.c),__vite__mapDeps([21,22]))}),csv:ae("csv",function(){return ne(()=>import("./csv-Di138dcF.js").then(e=>e.c),[])}),cypher:ae("cypher",function(){return ne(()=>import("./cypher-Dx5tGn_l.js").then(e=>e.c),[])}),d:ae("d",function(){return ne(()=>import("./d-Brsx99Ht.js").then(e=>e.d),[])}),dart:ae("dart",function(){return ne(()=>import("./dart-SwQx6ql_.js").then(e=>e.d),[])}),dataweave:ae("dataweave",function(){return ne(()=>import("./dataweave-BYkC9uQW.js").then(e=>e.d),[])}),dax:ae("dax",function(){return ne(()=>import("./dax-CkAsPdqr.js").then(e=>e.d),[])}),dhall:ae("dhall",function(){return ne(()=>import("./dhall-DCS3DZVv.js").then(e=>e.d),[])}),diff:ae("diff",function(){return ne(()=>import("./diff-DJYecTe9.js").then(e=>e.d),[])}),django:ae("django",function(){return ne(()=>import("./django-DNppKQ9g.js").then(e=>e.d),__vite__mapDeps([23,24]))}),dnsZoneFile:ae("dnsZoneFile",function(){return ne(()=>import("./dns-zone-file-d288Xos2.js").then(e=>e.d),[])}),docker:ae("docker",function(){return ne(()=>import("./docker-C_Adaodb.js").then(e=>e.d),[])}),dot:ae("dot",function(){return ne(()=>import("./dot-DNBLEL2F.js").then(e=>e.d),[])}),ebnf:ae("ebnf",function(){return ne(()=>import("./ebnf-lU8ia25H.js").then(e=>e.e),[])}),editorconfig:ae("editorconfig",function(){return ne(()=>import("./editorconfig-BlXI5_uE.js").then(e=>e.e),[])}),eiffel:ae("eiffel",function(){return ne(()=>import("./eiffel-AOHcJTBy.js").then(e=>e.e),[])}),ejs:ae("ejs",function(){return ne(()=>import("./ejs-kUoPOJJu.js").then(e=>e.e),__vite__mapDeps([25,24]))}),elixir:ae("elixir",function(){return ne(()=>import("./elixir-BlRCgHet.js").then(e=>e.e),[])}),elm:ae("elm",function(){return ne(()=>import("./elm-BsS5ttmn.js").then(e=>e.e),[])}),erb:ae("erb",function(){return ne(()=>import("./erb-CZivXA88.js").then(e=>e.e),__vite__mapDeps([26,18,24]))}),erlang:ae("erlang",function(){return ne(()=>import("./erlang-CBMk4BHl.js").then(e=>e.e),[])}),etlua:ae("etlua",function(){return ne(()=>import("./etlua-D4E-UXgA.js").then(e=>e.e),__vite__mapDeps([27,28,24]))}),excelFormula:ae("excelFormula",function(){return ne(()=>import("./excel-formula-CVIDdWWf.js").then(e=>e.e),[])}),factor:ae("factor",function(){return ne(()=>import("./factor-bBdfgx5c.js").then(e=>e.f),[])}),falselang:ae("falselang",function(){return ne(()=>import("./false-CtRTzVqy.js").then(e=>e._),[])}),firestoreSecurityRules:ae("firestoreSecurityRules",function(){return ne(()=>import("./firestore-security-rules-BEQOI5uv.js").then(e=>e.f),[])}),flow:ae("flow",function(){return ne(()=>import("./flow-Cf28XhMF.js").then(e=>e.f),[])}),fortran:ae("fortran",function(){return ne(()=>import("./fortran-CS3OuQSi.js").then(e=>e.f),[])}),fsharp:ae("fsharp",function(){return ne(()=>import("./fsharp-CmWupSdO.js").then(e=>e.f),[])}),ftl:ae("ftl",function(){return ne(()=>import("./ftl-DbdebG2G.js").then(e=>e.f),__vite__mapDeps([29,24]))}),gap:ae("gap",function(){return ne(()=>import("./gap-Be9Y1cPC.js").then(e=>e.g),[])}),gcode:ae("gcode",function(){return ne(()=>import("./gcode-CoHv1IZR.js").then(e=>e.g),[])}),gdscript:ae("gdscript",function(){return ne(()=>import("./gdscript-DfJWU6cW.js").then(e=>e.g),[])}),gedcom:ae("gedcom",function(){return ne(()=>import("./gedcom-DWk1-e-z.js").then(e=>e.g),[])}),gherkin:ae("gherkin",function(){return ne(()=>import("./gherkin-CjB2RSj2.js").then(e=>e.g),[])}),git:ae("git",function(){return ne(()=>import("./git-CHtEsZlr.js").then(e=>e.g),[])}),glsl:ae("glsl",function(){return ne(()=>import("./glsl-C9JADbEW.js").then(e=>e.g),__vite__mapDeps([30,4]))}),gml:ae("gml",function(){return ne(()=>import("./gml-0g2_wiE7.js").then(e=>e.g),[])}),gn:ae("gn",function(){return ne(()=>import("./gn-BuRAxOWg.js").then(e=>e.g),[])}),goModule:ae("goModule",function(){return ne(()=>import("./go-module-BDGOGhik.js").then(e=>e.g),[])}),go:ae("go",function(){return ne(()=>import("./go-BenBn-cT.js").then(e=>e.g),[])}),graphql:ae("graphql",function(){return ne(()=>import("./graphql-BwY3dR6N.js").then(e=>e.g),[])}),groovy:ae("groovy",function(){return ne(()=>import("./groovy-DQSRfQ_A.js").then(e=>e.g),[])}),haml:ae("haml",function(){return ne(()=>import("./haml-CRjdbE3B.js").then(e=>e.h),__vite__mapDeps([31,18]))}),handlebars:ae("handlebars",function(){return ne(()=>import("./handlebars-BEMk92iT.js").then(e=>e.h),__vite__mapDeps([32,24]))}),haskell:ae("haskell",function(){return ne(()=>import("./haskell-Cg94xQJj.js").then(e=>e.h),__vite__mapDeps([33,34]))}),haxe:ae("haxe",function(){return ne(()=>import("./haxe-DWia1Hf0.js").then(e=>e.h),[])}),hcl:ae("hcl",function(){return ne(()=>import("./hcl-J-mNDTuD.js").then(e=>e.h),[])}),hlsl:ae("hlsl",function(){return ne(()=>import("./hlsl-BGzTT4vE.js").then(e=>e.h),__vite__mapDeps([35,4]))}),hoon:ae("hoon",function(){return ne(()=>import("./hoon-DnDPxKoD.js").then(e=>e.h),[])}),hpkp:ae("hpkp",function(){return ne(()=>import("./hpkp-ZJ-r-VoS.js").then(e=>e.h),[])}),hsts:ae("hsts",function(){return ne(()=>import("./hsts-CoKphAkr.js").then(e=>e.h),[])}),http:ae("http",function(){return ne(()=>import("./http-PK9gSz28.js").then(e=>e.h),[])}),ichigojam:ae("ichigojam",function(){return ne(()=>import("./ichigojam-CK3lzhp7.js").then(e=>e.i),[])}),icon:ae("icon",function(){return ne(()=>import("./icon-BSoCWWOE.js").then(e=>e.i),[])}),icuMessageFormat:ae("icuMessageFormat",function(){return ne(()=>import("./icu-message-format-B5GPI2ro.js").then(e=>e.i),[])}),idris:ae("idris",function(){return ne(()=>import("./idris-BfRJ1bEo.js").then(e=>e.i),__vite__mapDeps([36,34]))}),iecst:ae("iecst",function(){return ne(()=>import("./iecst-CFuDS-QS.js").then(e=>e.i),[])}),ignore:ae("ignore",function(){return ne(()=>import("./ignore-C3Bvpuvg.js").then(e=>e.i),[])}),inform7:ae("inform7",function(){return ne(()=>import("./inform7-DkBP5Ccu.js").then(e=>e.i),[])}),ini:ae("ini",function(){return ne(()=>import("./ini-DAvA3OVn.js").then(e=>e.i),[])}),io:ae("io",function(){return ne(()=>import("./io-DuxHFHAO.js").then(e=>e.i),[])}),j:ae("j",function(){return ne(()=>import("./j-6n-21dqc.js").then(e=>e.j),[])}),java:ae("java",function(){return ne(()=>import("./java-DLhNk6co.js").then(e=>e.j),__vite__mapDeps([37,38]))}),javadoc:ae("javadoc",function(){return ne(()=>import("./javadoc-Dky5sIO-.js").then(e=>e.j),__vite__mapDeps([39,38,40]))}),javadoclike:ae("javadoclike",function(){return ne(()=>import("./javadoclike-BCtCxIFO.js").then(e=>e.j),__vite__mapDeps([41,40]))}),javascript:ae("javascript",function(){return ne(()=>import("./javascript-DRi3hhqX.js").then(e=>e.j),__vite__mapDeps([42,43]))}),javastacktrace:ae("javastacktrace",function(){return ne(()=>import("./javastacktrace-BWE5AoEX.js").then(e=>e.j),[])}),jexl:ae("jexl",function(){return ne(()=>import("./jexl-B3nUvKIU.js").then(e=>e.j),[])}),jolie:ae("jolie",function(){return ne(()=>import("./jolie-aub7DUxz.js").then(e=>e.j),[])}),jq:ae("jq",function(){return ne(()=>import("./jq-Df0V0OTF.js").then(e=>e.j),[])}),jsExtras:ae("jsExtras",function(){return ne(()=>import("./js-extras-CXCsba_-.js").then(e=>e.j),[])}),jsTemplates:ae("jsTemplates",function(){return ne(()=>import("./js-templates-3SV1rHWe.js").then(e=>e.j),[])}),jsdoc:ae("jsdoc",function(){return ne(()=>import("./jsdoc-D3ECEK19.js").then(e=>e.j),__vite__mapDeps([44,40]))}),json:ae("json",function(){return ne(()=>import("./json-fgCrXDVE.js").then(e=>e.j),__vite__mapDeps([45,46]))}),json5:ae("json5",function(){return ne(()=>import("./json5-DzARKP3A.js").then(e=>e.j),__vite__mapDeps([47,46]))}),jsonp:ae("jsonp",function(){return ne(()=>import("./jsonp-Dkxbv-a1.js").then(e=>e.j),__vite__mapDeps([48,46]))}),jsstacktrace:ae("jsstacktrace",function(){return ne(()=>import("./jsstacktrace-SWcEdOPO.js").then(e=>e.j),[])}),jsx:ae("jsx",function(){return ne(()=>import("./jsx-kAB_jtET.js").then(e=>e.j),[])}),julia:ae("julia",function(){return ne(()=>import("./julia-BfOOoOWD.js").then(e=>e.j),[])}),keepalived:ae("keepalived",function(){return ne(()=>import("./keepalived-D-k9V9H0.js").then(e=>e.k),[])}),keyman:ae("keyman",function(){return ne(()=>import("./keyman-uL8XxZYo.js").then(e=>e.k),[])}),kotlin:ae("kotlin",function(){return ne(()=>import("./kotlin-DF0Hh0nS.js").then(e=>e.k),[])}),kumir:ae("kumir",function(){return ne(()=>import("./kumir-a6Lqh3Z3.js").then(e=>e.k),[])}),kusto:ae("kusto",function(){return ne(()=>import("./kusto-BNA0Aprg.js").then(e=>e.k),[])}),latex:ae("latex",function(){return ne(()=>import("./latex-CwQVU5yo.js").then(e=>e.l),[])}),latte:ae("latte",function(){return ne(()=>import("./latte-NVtDmYJZ.js").then(e=>e.l),__vite__mapDeps([49,24,50]))}),less:ae("less",function(){return ne(()=>import("./less-ClNNePWE.js").then(e=>e.l),[])}),lilypond:ae("lilypond",function(){return ne(()=>import("./lilypond-CXuhOmDX.js").then(e=>e.l),__vite__mapDeps([51,52]))}),liquid:ae("liquid",function(){return ne(()=>import("./liquid-lvqpFBcZ.js").then(e=>e.l),__vite__mapDeps([53,24]))}),lisp:ae("lisp",function(){return ne(()=>import("./lisp-DmGTgd2L.js").then(e=>e.l),[])}),livescript:ae("livescript",function(){return ne(()=>import("./livescript-DdiHAwES.js").then(e=>e.l),[])}),llvm:ae("llvm",function(){return ne(()=>import("./llvm-ob__Sdf6.js").then(e=>e.l),[])}),log:ae("log",function(){return ne(()=>import("./log-COPxusfo.js").then(e=>e.l),[])}),lolcode:ae("lolcode",function(){return ne(()=>import("./lolcode-CpWwWgHS.js").then(e=>e.l),[])}),lua:ae("lua",function(){return ne(()=>import("./lua-DyjxuWUM.js").then(e=>e.l),__vite__mapDeps([54,28]))}),magma:ae("magma",function(){return ne(()=>import("./magma-DAnHVgOU.js").then(e=>e.m),[])}),makefile:ae("makefile",function(){return ne(()=>import("./makefile-CQRUldZ0.js").then(e=>e.m),[])}),markdown:ae("markdown",function(){return ne(()=>import("./markdown-C5Hu7zXi.js").then(e=>e.m),[])}),markupTemplating:ae("markupTemplating",function(){return ne(()=>import("./markup-templating-C2wmGC7L.js").then(e=>e.m),__vite__mapDeps([55,24]))}),markup:ae("markup",function(){return ne(()=>import("./markup-DgtjuaaS.js").then(e=>e.m),__vite__mapDeps([56,57]))}),matlab:ae("matlab",function(){return ne(()=>import("./matlab-BF8NJETg.js").then(e=>e.m),[])}),maxscript:ae("maxscript",function(){return ne(()=>import("./maxscript-CWk_ftex.js").then(e=>e.m),[])}),mel:ae("mel",function(){return ne(()=>import("./mel-D7MyyFgG.js").then(e=>e.m),[])}),mermaid:ae("mermaid",function(){return ne(()=>import("./mermaid-BXJZHbce.js").then(e=>e.m),[])}),mizar:ae("mizar",function(){return ne(()=>import("./mizar-BM4Khjoe.js").then(e=>e.m),[])}),mongodb:ae("mongodb",function(){return ne(()=>import("./mongodb-teboTw-V.js").then(e=>e.m),[])}),monkey:ae("monkey",function(){return ne(()=>import("./monkey-BkYz1u1i.js").then(e=>e.m),[])}),moonscript:ae("moonscript",function(){return ne(()=>import("./moonscript-CmbDT0_1.js").then(e=>e.m),[])}),n1ql:ae("n1ql",function(){return ne(()=>import("./n1ql-C0e4wUZv.js").then(e=>e.n),[])}),n4js:ae("n4js",function(){return ne(()=>import("./n4js-CnE5R0hF.js").then(e=>e.n),[])}),nand2tetrisHdl:ae("nand2tetrisHdl",function(){return ne(()=>import("./nand2tetris-hdl-yUiaqSh4.js").then(e=>e.n),[])}),naniscript:ae("naniscript",function(){return ne(()=>import("./naniscript-D_T9ODdu.js").then(e=>e.n),[])}),nasm:ae("nasm",function(){return ne(()=>import("./nasm-_pPlBl5E.js").then(e=>e.n),[])}),neon:ae("neon",function(){return ne(()=>import("./neon-DkdsT9M0.js").then(e=>e.n),[])}),nevod:ae("nevod",function(){return ne(()=>import("./nevod-3AZb9IaQ.js").then(e=>e.n),[])}),nginx:ae("nginx",function(){return ne(()=>import("./nginx-CnxejqYx.js").then(e=>e.n),[])}),nim:ae("nim",function(){return ne(()=>import("./nim-DIdYp-FD.js").then(e=>e.n),[])}),nix:ae("nix",function(){return ne(()=>import("./nix-zYxZH6sz.js").then(e=>e.n),[])}),nsis:ae("nsis",function(){return ne(()=>import("./nsis-CfwKuwpj.js").then(e=>e.n),[])}),objectivec:ae("objectivec",function(){return ne(()=>import("./objectivec-DOIQq_eu.js").then(e=>e.o),__vite__mapDeps([58,4]))}),ocaml:ae("ocaml",function(){return ne(()=>import("./ocaml-NBLeRcLx.js").then(e=>e.o),[])}),opencl:ae("opencl",function(){return ne(()=>import("./opencl-Dqt4uw4u.js").then(e=>e.o),__vite__mapDeps([59,4]))}),openqasm:ae("openqasm",function(){return ne(()=>import("./openqasm-DTfd1ph4.js").then(e=>e.o),[])}),oz:ae("oz",function(){return ne(()=>import("./oz-CZ81LbAa.js").then(e=>e.o),[])}),parigp:ae("parigp",function(){return ne(()=>import("./parigp-BUVIe-Gg.js").then(e=>e.p),[])}),parser:ae("parser",function(){return ne(()=>import("./parser-CgcrM9ap.js").then(e=>e.p),[])}),pascal:ae("pascal",function(){return ne(()=>import("./pascal-VHhiUgMQ.js").then(e=>e.p),[])}),pascaligo:ae("pascaligo",function(){return ne(()=>import("./pascaligo-CmH5AiIR.js").then(e=>e.p),[])}),pcaxis:ae("pcaxis",function(){return ne(()=>import("./pcaxis-BOzr958Q.js").then(e=>e.p),[])}),peoplecode:ae("peoplecode",function(){return ne(()=>import("./peoplecode-DDVEYN9j.js").then(e=>e.p),[])}),perl:ae("perl",function(){return ne(()=>import("./perl-C3E0T_lT.js").then(e=>e.p),[])}),phpExtras:ae("phpExtras",function(){return ne(()=>import("./php-extras-fFmaZf6o.js").then(e=>e.p),__vite__mapDeps([60,50,24]))}),php:ae("php",function(){return ne(()=>import("./php-BIbBj9Qk.js").then(e=>e.p),__vite__mapDeps([61,50,24]))}),phpdoc:ae("phpdoc",function(){return ne(()=>import("./phpdoc-BDSDOjyt.js").then(e=>e.p),__vite__mapDeps([62,50,24,40]))}),plsql:ae("plsql",function(){return ne(()=>import("./plsql-Bsvw1YIz.js").then(e=>e.p),__vite__mapDeps([63,1]))}),powerquery:ae("powerquery",function(){return ne(()=>import("./powerquery-BygDD7NJ.js").then(e=>e.p),[])}),powershell:ae("powershell",function(){return ne(()=>import("./powershell-FRJ7CGjs.js").then(e=>e.p),[])}),processing:ae("processing",function(){return ne(()=>import("./processing-HTLlAI3J.js").then(e=>e.p),[])}),prolog:ae("prolog",function(){return ne(()=>import("./prolog-BnqAQREe.js").then(e=>e.p),[])}),promql:ae("promql",function(){return ne(()=>import("./promql-CCPokKan.js").then(e=>e.p),[])}),properties:ae("properties",function(){return ne(()=>import("./properties-BKmwdA-a.js").then(e=>e.p),[])}),protobuf:ae("protobuf",function(){return ne(()=>import("./protobuf-Bs2VLF0E.js").then(e=>e.p),[])}),psl:ae("psl",function(){return ne(()=>import("./psl-DFUO55cX.js").then(e=>e.p),[])}),pug:ae("pug",function(){return ne(()=>import("./pug-jPJvvvLn.js").then(e=>e.p),[])}),puppet:ae("puppet",function(){return ne(()=>import("./puppet-Db3vXmgO.js").then(e=>e.p),[])}),pure:ae("pure",function(){return ne(()=>import("./pure-B27AMEb-.js").then(e=>e.p),[])}),purebasic:ae("purebasic",function(){return ne(()=>import("./purebasic-Cz3sFfw5.js").then(e=>e.p),[])}),purescript:ae("purescript",function(){return ne(()=>import("./purescript-LTybbCQu.js").then(e=>e.p),__vite__mapDeps([64,34]))}),python:ae("python",function(){return ne(()=>Promise.resolve().then(()=>Put),void 0)}),q:ae("q",function(){return ne(()=>import("./q-Czs2rLDB.js").then(e=>e.q),[])}),qml:ae("qml",function(){return ne(()=>import("./qml-C0qHtJp9.js").then(e=>e.q),[])}),qore:ae("qore",function(){return ne(()=>import("./qore-CPr8-OE1.js").then(e=>e.q),[])}),qsharp:ae("qsharp",function(){return ne(()=>import("./qsharp-QmjaQvUD.js").then(e=>e.q),[])}),r:ae("r",function(){return ne(()=>import("./r-Ct6yol8C.js").then(e=>e.r),[])}),racket:ae("racket",function(){return ne(()=>import("./racket-B1IA2v56.js").then(e=>e.r),__vite__mapDeps([65,52]))}),reason:ae("reason",function(){return ne(()=>import("./reason-UFbtktxv.js").then(e=>e.r),[])}),regex:ae("regex",function(){return ne(()=>import("./regex-Brfwf6n6.js").then(e=>e.r),[])}),rego:ae("rego",function(){return ne(()=>import("./rego-Bbjl67ve.js").then(e=>e.r),[])}),renpy:ae("renpy",function(){return ne(()=>import("./renpy-BfCX8ihz.js").then(e=>e.r),[])}),rest:ae("rest",function(){return ne(()=>import("./rest-Bk65iHdZ.js").then(e=>e.r),[])}),rip:ae("rip",function(){return ne(()=>import("./rip-C5XY3wjo.js").then(e=>e.r),[])}),roboconf:ae("roboconf",function(){return ne(()=>import("./roboconf-BGj1McZh.js").then(e=>e.r),[])}),robotframework:ae("robotframework",function(){return ne(()=>import("./robotframework-BwIJp7n_.js").then(e=>e.r),[])}),ruby:ae("ruby",function(){return ne(()=>import("./ruby-DoHb_gvy.js").then(e=>e.r),__vite__mapDeps([66,18]))}),rust:ae("rust",function(){return ne(()=>import("./rust-CRAZe1a5.js").then(e=>e.r),[])}),sas:ae("sas",function(){return ne(()=>import("./sas-Cn9Lzyt0.js").then(e=>e.s),[])}),sass:ae("sass",function(){return ne(()=>import("./sass-8zbo2B4S.js").then(e=>e.s),[])}),scala:ae("scala",function(){return ne(()=>import("./scala-CUGzcFUV.js").then(e=>e.s),__vite__mapDeps([67,38]))}),scheme:ae("scheme",function(){return ne(()=>import("./scheme-DE0NV3Vn.js").then(e=>e.s),__vite__mapDeps([68,52]))}),scss:ae("scss",function(){return ne(()=>import("./scss-Brlo3k0P.js").then(e=>e.s),[])}),shellSession:ae("shellSession",function(){return ne(()=>import("./shell-session-BOUG-RGw.js").then(e=>e.s),__vite__mapDeps([69,8]))}),smali:ae("smali",function(){return ne(()=>import("./smali-DIqSe9aQ.js").then(e=>e.s),[])}),smalltalk:ae("smalltalk",function(){return ne(()=>import("./smalltalk-BRapGjAQ.js").then(e=>e.s),[])}),smarty:ae("smarty",function(){return ne(()=>import("./smarty-BnrDPId8.js").then(e=>e.s),__vite__mapDeps([70,24]))}),sml:ae("sml",function(){return ne(()=>import("./sml-Ci0sIMpq.js").then(e=>e.s),[])}),solidity:ae("solidity",function(){return ne(()=>import("./solidity-DNz6r4li.js").then(e=>e.s),[])}),solutionFile:ae("solutionFile",function(){return ne(()=>import("./solution-file-BxICRf58.js").then(e=>e.s),[])}),soy:ae("soy",function(){return ne(()=>import("./soy-Cp-J7csL.js").then(e=>e.s),__vite__mapDeps([71,24]))}),sparql:ae("sparql",function(){return ne(()=>import("./sparql-8iT7cyBF.js").then(e=>e.s),__vite__mapDeps([72,73]))}),splunkSpl:ae("splunkSpl",function(){return ne(()=>import("./splunk-spl-BEZ44Era.js").then(e=>e.s),[])}),sqf:ae("sqf",function(){return ne(()=>import("./sqf-DTRqV0oz.js").then(e=>e.s),[])}),sql:ae("sql",function(){return ne(()=>import("./sql-CqF5L1NH.js").then(e=>e.s),__vite__mapDeps([74,1]))}),squirrel:ae("squirrel",function(){return ne(()=>import("./squirrel-2Zo11hpP.js").then(e=>e.s),[])}),stan:ae("stan",function(){return ne(()=>import("./stan-DNwJq5yK.js").then(e=>e.s),[])}),stylus:ae("stylus",function(){return ne(()=>import("./stylus-C6X6SZT1.js").then(e=>e.s),[])}),swift:ae("swift",function(){return ne(()=>import("./swift-Buz0ZFwY.js").then(e=>e.s),[])}),systemd:ae("systemd",function(){return ne(()=>import("./systemd-BnlelAsB.js").then(e=>e.s),[])}),t4Cs:ae("t4Cs",function(){return ne(()=>import("./t4-cs-BfP1wG-q.js").then(e=>e.t),__vite__mapDeps([75,76,6]))}),t4Templating:ae("t4Templating",function(){return ne(()=>import("./t4-templating-BdgjECqQ.js").then(e=>e.t),__vite__mapDeps([77,76]))}),t4Vb:ae("t4Vb",function(){return ne(()=>import("./t4-vb-Ck8Z5ORw.js").then(e=>e.t),__vite__mapDeps([78,76,79,10]))}),tap:ae("tap",function(){return ne(()=>import("./tap-NthvdtDh.js").then(e=>e.t),__vite__mapDeps([80,81]))}),tcl:ae("tcl",function(){return ne(()=>import("./tcl-NazuNkmH.js").then(e=>e.t),[])}),textile:ae("textile",function(){return ne(()=>import("./textile-BR86oT9L.js").then(e=>e.t),[])}),toml:ae("toml",function(){return ne(()=>import("./toml-B0_J_ITa.js").then(e=>e.t),[])}),tremor:ae("tremor",function(){return ne(()=>import("./tremor-3ptfJpiB.js").then(e=>e.t),[])}),tsx:ae("tsx",function(){return ne(()=>Promise.resolve().then(()=>jut),void 0)}),tt2:ae("tt2",function(){return ne(()=>import("./tt2-6HfwDkBh.js").then(e=>e.t),__vite__mapDeps([82,24]))}),turtle:ae("turtle",function(){return ne(()=>import("./turtle-S_FRvyvD.js").then(e=>e.t),__vite__mapDeps([83,73]))}),twig:ae("twig",function(){return ne(()=>import("./twig-7WR2Xwem.js").then(e=>e.t),__vite__mapDeps([84,24]))}),typescript:ae("typescript",function(){return ne(()=>import("./typescript-ByN0taVM.js").then(e=>e.t),[])}),typoscript:ae("typoscript",function(){return ne(()=>import("./typoscript-Y7OHQ4Fw.js").then(e=>e.t),[])}),unrealscript:ae("unrealscript",function(){return ne(()=>import("./unrealscript-5P_xjzZl.js").then(e=>e.u),[])}),uorazor:ae("uorazor",function(){return ne(()=>import("./uorazor-DXbL7m21.js").then(e=>e.u),[])}),uri:ae("uri",function(){return ne(()=>import("./uri-BI59puv2.js").then(e=>e.u),[])}),v:ae("v",function(){return ne(()=>import("./v-ClTvsz5b.js").then(e=>e.v),[])}),vala:ae("vala",function(){return ne(()=>import("./vala-DtBp0iIi.js").then(e=>e.v),[])}),vbnet:ae("vbnet",function(){return ne(()=>import("./vbnet-2muQXgSL.js").then(e=>e.v),__vite__mapDeps([85,79,10]))}),velocity:ae("velocity",function(){return ne(()=>import("./velocity-CeMpMU0m.js").then(e=>e.v),[])}),verilog:ae("verilog",function(){return ne(()=>import("./verilog-BN_uK7q4.js").then(e=>e.v),[])}),vhdl:ae("vhdl",function(){return ne(()=>import("./vhdl-DbBkP-tV.js").then(e=>e.v),[])}),vim:ae("vim",function(){return ne(()=>import("./vim-Ci6Pnfgg.js").then(e=>e.v),[])}),visualBasic:ae("visualBasic",function(){return ne(()=>import("./visual-basic-CA4e0Tz-.js").then(e=>e.v),[])}),warpscript:ae("warpscript",function(){return ne(()=>import("./warpscript-4pOfyh3K.js").then(e=>e.w),[])}),wasm:ae("wasm",function(){return ne(()=>import("./wasm-WJg8uKL1.js").then(e=>e.w),[])}),webIdl:ae("webIdl",function(){return ne(()=>import("./web-idl-C6pY-oBN.js").then(e=>e.w),[])}),wiki:ae("wiki",function(){return ne(()=>import("./wiki-HDrfrqtv.js").then(e=>e.w),[])}),wolfram:ae("wolfram",function(){return ne(()=>import("./wolfram-DV-DqrgI.js").then(e=>e.w),[])}),wren:ae("wren",function(){return ne(()=>import("./wren-B8I52PsA.js").then(e=>e.w),[])}),xeora:ae("xeora",function(){return ne(()=>import("./xeora-BP6jLOFG.js").then(e=>e.x),[])}),xmlDoc:ae("xmlDoc",function(){return ne(()=>import("./xml-doc-Bu4P5ogT.js").then(e=>e.x),[])}),xojo:ae("xojo",function(){return ne(()=>import("./xojo-CcjAOEY2.js").then(e=>e.x),[])}),xquery:ae("xquery",function(){return ne(()=>import("./xquery-jbCyRlgw.js").then(e=>e.x),[])}),yaml:ae("yaml",function(){return ne(()=>import("./yaml-DJRFCzP-.js").then(e=>e.y),__vite__mapDeps([86,81]))}),yang:ae("yang",function(){return ne(()=>import("./yang-DHkqWKUW.js").then(e=>e.y),[])}),zig:ae("zig",function(){return ne(()=>import("./zig-ZDwDFE6H.js").then(e=>e.z),[])})},dy=Rut({loader:function(){return ne(()=>import("./core-Cq51nvpN.js").then(t=>t.c),__vite__mapDeps([87,57,22,15,43])).then(function(t){return t.default||t})},isLanguageRegistered:function(t,r){return t.registered(r)},languageLoaders:zut,registerLanguage:function(t,r,n){return t.register(n)}});var XK,Fhe;function Dut(){if(Fhe)return XK;Fhe=1,XK=e,e.displayName="typescript",e.aliases=["ts"];function e(t){(function(r){r.languages.typescript=r.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),r.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete r.languages.typescript.parameter,delete r.languages.typescript["literal-property"];var n=r.languages.extend("typescript",{});delete n["class-name"],r.languages.typescript["class-name"].inside=n,r.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n}}}}),r.languages.ts=r.languages.typescript})(t)}return XK}var QK,qhe;function Out(){if(qhe)return QK;qhe=1,QK=e,e.displayName="jsx",e.aliases=[];function e(t){(function(r){var n=r.util.clone(r.languages.javascript),o=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,a=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function s(d,f){return d=d.replace(/<S>/g,function(){return o}).replace(/<BRACES>/g,function(){return a}).replace(/<SPREAD>/g,function(){return i}),RegExp(d,f)}i=s(i).source,r.languages.jsx=r.languages.extend("markup",n),r.languages.jsx.tag.pattern=s(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),r.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,r.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,r.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,r.languages.jsx.tag.inside.comment=n.comment,r.languages.insertBefore("inside","attr-name",{spread:{pattern:s(/<SPREAD>/.source),inside:r.languages.jsx}},r.languages.jsx.tag),r.languages.insertBefore("inside","special-attr",{script:{pattern:s(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:r.languages.jsx}}},r.languages.jsx.tag);var l=function(d){return d?typeof d=="string"?d:typeof d.content=="string"?d.content:d.content.map(l).join(""):""},u=function(d){for(var f=[],p=0;p<d.length;p++){var g=d[p],b=!1;if(typeof g!="string"&&(g.type==="tag"&&g.content[0]&&g.content[0].type==="tag"?g.content[0].content[0].content==="</"?f.length>0&&f[f.length-1].tagName===l(g.content[0].content[1])&&f.pop():g.content[g.content.length-1].content==="/>"||f.push({tagName:l(g.content[0].content[1]),openedBraces:0}):f.length>0&&g.type==="punctuation"&&g.content==="{"?f[f.length-1].openedBraces++:f.length>0&&f[f.length-1].openedBraces>0&&g.type==="punctuation"&&g.content==="}"?f[f.length-1].openedBraces--:b=!0),(b||typeof g=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var v=l(g);p<d.length-1&&(typeof d[p+1]=="string"||d[p+1].type==="plain-text")&&(v+=l(d[p+1]),d.splice(p+1,1)),p>0&&(typeof d[p-1]=="string"||d[p-1].type==="plain-text")&&(v=l(d[p-1])+v,d.splice(p-1,1),p--),d[p]=new r.Token("plain-text",v,null,v)}g.content&&typeof g.content!="string"&&u(g.content)}};r.hooks.add("after-tokenize",function(d){d.language!=="jsx"&&d.language!=="tsx"||u(d.tokens)})})(t)}return QK}var JK,Hhe;function But(){if(Hhe)return JK;Hhe=1,JK=e,e.displayName="python",e.aliases=["py"];function e(t){t.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}return JK}var eY,$he;function Nut(){if($he)return eY;$he=1;var e=Out(),t=Dut();eY=r,r.displayName="tsx",r.aliases=[];function r(n){n.register(e),n.register(t),(function(o){var a=o.util.clone(o.languages.typescript);o.languages.tsx=o.languages.extend("jsx",a),delete o.languages.tsx.parameter,delete o.languages.tsx["literal-property"];var i=o.languages.tsx.tag;i.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+i.pattern.source+")",i.pattern.flags),i.lookbehind=!0})(n)}return eY}var tve=Nut();const sk=dl(tve),jut=Mee({__proto__:null,default:sk},[tve]);var rve=But();const nve=dl(rve),Put=Mee({__proto__:null,default:nve},[rve]);var tY={},rY={exports:{}},Vhe;function Fut(){return Vhe||(Vhe=1,(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(rY)),rY.exports}var nY={},Uhe;function qut(){return Uhe||(Uhe=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",maxHeight:"inherit",height:"inherit",padding:"0 1em",display:"block",overflow:"auto"},'pre[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",position:"relative",margin:".5em 0",overflow:"visible",padding:"1px",backgroundColor:"#fdfdfd",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box",marginBottom:"1em"},'pre[class*="language-"] > code':{position:"relative",zIndex:"1",borderLeft:"10px solid #358ccb",boxShadow:"-1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf",backgroundColor:"#fdfdfd",backgroundImage:"linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)",backgroundSize:"3em 3em",backgroundOrigin:"content-box",backgroundAttachment:"local"},':not(pre) > code[class*="language-"]':{backgroundColor:"#fdfdfd",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box",marginBottom:"1em",position:"relative",padding:".2em",borderRadius:"0.3em",color:"#c92c2c",border:"1px solid rgba(0, 0, 0, 0.1)",display:"inline",whiteSpace:"normal"},'pre[class*="language-"]:before':{content:"''",display:"block",position:"absolute",bottom:"0.75em",left:"0.18em",width:"40%",height:"20%",maxHeight:"13em",boxShadow:"0px 13px 8px #979797",WebkitTransform:"rotate(-2deg)",MozTransform:"rotate(-2deg)",msTransform:"rotate(-2deg)",OTransform:"rotate(-2deg)",transform:"rotate(-2deg)"},'pre[class*="language-"]:after':{content:"''",display:"block",position:"absolute",bottom:"0.75em",left:"auto",width:"40%",height:"20%",maxHeight:"13em",boxShadow:"0px 13px 8px #979797",WebkitTransform:"rotate(2deg)",MozTransform:"rotate(2deg)",msTransform:"rotate(2deg)",OTransform:"rotate(2deg)",transform:"rotate(2deg)",right:"0.75em"},comment:{color:"#7D8B99"},"block-comment":{color:"#7D8B99"},prolog:{color:"#7D8B99"},doctype:{color:"#7D8B99"},cdata:{color:"#7D8B99"},punctuation:{color:"#5F6364"},property:{color:"#c92c2c"},tag:{color:"#c92c2c"},boolean:{color:"#c92c2c"},number:{color:"#c92c2c"},"function-name":{color:"#c92c2c"},constant:{color:"#c92c2c"},symbol:{color:"#c92c2c"},deleted:{color:"#c92c2c"},selector:{color:"#2f9c0a"},"attr-name":{color:"#2f9c0a"},string:{color:"#2f9c0a"},char:{color:"#2f9c0a"},function:{color:"#2f9c0a"},builtin:{color:"#2f9c0a"},inserted:{color:"#2f9c0a"},operator:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},entity:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)",cursor:"help"},url:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},variable:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},atrule:{color:"#1990b8"},"attr-value":{color:"#1990b8"},keyword:{color:"#1990b8"},"class-name":{color:"#1990b8"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"normal"},".language-css .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},".style .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:".7"},'pre[class*="language-"].line-numbers.line-numbers':{paddingLeft:"0"},'pre[class*="language-"].line-numbers.line-numbers code':{paddingLeft:"3.8em"},'pre[class*="language-"].line-numbers.line-numbers .line-numbers-rows':{left:"0"},'pre[class*="language-"][data-line]':{paddingTop:"0",paddingBottom:"0",paddingLeft:"0"},"pre[data-line] code":{position:"relative",paddingLeft:"4em"},"pre .line-highlight":{marginTop:"0"}}})(nY)),nY}var oY={},Whe;function Hut(){return Whe||(Whe=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"white",background:"none",textShadow:"0 -.1em .2em black",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"white",background:"hsl(30, 20%, 25%)",textShadow:"0 -.1em .2em black",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",border:".3em solid hsl(30, 20%, 40%)",borderRadius:".5em",boxShadow:"1px 1px .5em black inset"},':not(pre) > code[class*="language-"]':{background:"hsl(30, 20%, 25%)",padding:".15em .2em .05em",borderRadius:".3em",border:".13em solid hsl(30, 20%, 40%)",boxShadow:"1px 1px .3em -.1em black inset",whiteSpace:"normal"},comment:{color:"hsl(30, 20%, 50%)"},prolog:{color:"hsl(30, 20%, 50%)"},doctype:{color:"hsl(30, 20%, 50%)"},cdata:{color:"hsl(30, 20%, 50%)"},punctuation:{Opacity:".7"},namespace:{Opacity:".7"},property:{color:"hsl(350, 40%, 70%)"},tag:{color:"hsl(350, 40%, 70%)"},boolean:{color:"hsl(350, 40%, 70%)"},number:{color:"hsl(350, 40%, 70%)"},constant:{color:"hsl(350, 40%, 70%)"},symbol:{color:"hsl(350, 40%, 70%)"},selector:{color:"hsl(75, 70%, 60%)"},"attr-name":{color:"hsl(75, 70%, 60%)"},string:{color:"hsl(75, 70%, 60%)"},char:{color:"hsl(75, 70%, 60%)"},builtin:{color:"hsl(75, 70%, 60%)"},inserted:{color:"hsl(75, 70%, 60%)"},operator:{color:"hsl(40, 90%, 60%)"},entity:{color:"hsl(40, 90%, 60%)",cursor:"help"},url:{color:"hsl(40, 90%, 60%)"},".language-css .token.string":{color:"hsl(40, 90%, 60%)"},".style .token.string":{color:"hsl(40, 90%, 60%)"},variable:{color:"hsl(40, 90%, 60%)"},atrule:{color:"hsl(350, 40%, 70%)"},"attr-value":{color:"hsl(350, 40%, 70%)"},keyword:{color:"hsl(350, 40%, 70%)"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},deleted:{color:"red"}}})(oY)),oY}var aY={},Ghe;function $ut(){return Ghe||(Ghe=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"black",color:"white",boxShadow:"-.3em 0 0 .3em black, .3em 0 0 .3em black"},'pre[class*="language-"]':{fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:".4em .8em",margin:".5em 0",overflow:"auto",background:`url('data:image/svg+xml;charset=utf-8,<svg%20version%3D"1.1"%20xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg"%20width%3D"100"%20height%3D"100"%20fill%3D"rgba(0%2C0%2C0%2C.2)">%0D%0A<polygon%20points%3D"0%2C50%2050%2C0%200%2C0"%20%2F>%0D%0A<polygon%20points%3D"0%2C100%2050%2C100%20100%2C50%20100%2C0"%20%2F>%0D%0A<%2Fsvg>')`,backgroundSize:"1em 1em"},':not(pre) > code[class*="language-"]':{padding:".2em",borderRadius:".3em",boxShadow:"none",whiteSpace:"normal"},comment:{color:"#aaa"},prolog:{color:"#aaa"},doctype:{color:"#aaa"},cdata:{color:"#aaa"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#0cf"},tag:{color:"#0cf"},boolean:{color:"#0cf"},number:{color:"#0cf"},constant:{color:"#0cf"},symbol:{color:"#0cf"},selector:{color:"yellow"},"attr-name":{color:"yellow"},string:{color:"yellow"},char:{color:"yellow"},builtin:{color:"yellow"},operator:{color:"yellowgreen"},entity:{color:"yellowgreen",cursor:"help"},url:{color:"yellowgreen"},".language-css .token.string":{color:"yellowgreen"},variable:{color:"yellowgreen"},inserted:{color:"yellowgreen"},atrule:{color:"deeppink"},"attr-value":{color:"deeppink"},keyword:{color:"deeppink"},regex:{color:"orange"},important:{color:"orange",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},deleted:{color:"red"},"pre.diff-highlight.diff-highlight > code .token.deleted:not(.prefix)":{backgroundColor:"rgba(255, 0, 0, .3)",display:"inline"},"pre > code.diff-highlight.diff-highlight .token.deleted:not(.prefix)":{backgroundColor:"rgba(255, 0, 0, .3)",display:"inline"},"pre.diff-highlight.diff-highlight > code .token.inserted:not(.prefix)":{backgroundColor:"rgba(0, 255, 128, .3)",display:"inline"},"pre > code.diff-highlight.diff-highlight .token.inserted:not(.prefix)":{backgroundColor:"rgba(0, 255, 128, .3)",display:"inline"}}})(aY)),aY}var iY={},Zhe;function Vut(){return Zhe||(Zhe=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#272822",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#272822",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#8292a2"},prolog:{color:"#8292a2"},doctype:{color:"#8292a2"},cdata:{color:"#8292a2"},punctuation:{color:"#f8f8f2"},namespace:{Opacity:".7"},property:{color:"#f92672"},tag:{color:"#f92672"},constant:{color:"#f92672"},symbol:{color:"#f92672"},deleted:{color:"#f92672"},boolean:{color:"#ae81ff"},number:{color:"#ae81ff"},selector:{color:"#a6e22e"},"attr-name":{color:"#a6e22e"},string:{color:"#a6e22e"},char:{color:"#a6e22e"},builtin:{color:"#a6e22e"},inserted:{color:"#a6e22e"},operator:{color:"#f8f8f2"},entity:{color:"#f8f8f2",cursor:"help"},url:{color:"#f8f8f2"},".language-css .token.string":{color:"#f8f8f2"},".style .token.string":{color:"#f8f8f2"},variable:{color:"#f8f8f2"},atrule:{color:"#e6db74"},"attr-value":{color:"#e6db74"},function:{color:"#e6db74"},"class-name":{color:"#e6db74"},keyword:{color:"#66d9ef"},regex:{color:"#fd971f"},important:{color:"#fd971f",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(iY)),iY}var sY={},Khe;function Uut(){return Khe||(Khe=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#657b83",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#657b83",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em",backgroundColor:"#fdf6e3"},'pre[class*="language-"]::-moz-selection':{background:"#073642"},'pre[class*="language-"] ::-moz-selection':{background:"#073642"},'code[class*="language-"]::-moz-selection':{background:"#073642"},'code[class*="language-"] ::-moz-selection':{background:"#073642"},'pre[class*="language-"]::selection':{background:"#073642"},'pre[class*="language-"] ::selection':{background:"#073642"},'code[class*="language-"]::selection':{background:"#073642"},'code[class*="language-"] ::selection':{background:"#073642"},':not(pre) > code[class*="language-"]':{backgroundColor:"#fdf6e3",padding:".1em",borderRadius:".3em"},comment:{color:"#93a1a1"},prolog:{color:"#93a1a1"},doctype:{color:"#93a1a1"},cdata:{color:"#93a1a1"},punctuation:{color:"#586e75"},namespace:{Opacity:".7"},property:{color:"#268bd2"},tag:{color:"#268bd2"},boolean:{color:"#268bd2"},number:{color:"#268bd2"},constant:{color:"#268bd2"},symbol:{color:"#268bd2"},deleted:{color:"#268bd2"},selector:{color:"#2aa198"},"attr-name":{color:"#2aa198"},string:{color:"#2aa198"},char:{color:"#2aa198"},builtin:{color:"#2aa198"},url:{color:"#2aa198"},inserted:{color:"#2aa198"},entity:{color:"#657b83",background:"#eee8d5",cursor:"help"},atrule:{color:"#859900"},"attr-value":{color:"#859900"},keyword:{color:"#859900"},function:{color:"#b58900"},"class-name":{color:"#b58900"},regex:{color:"#cb4b16"},important:{color:"#cb4b16",fontWeight:"bold"},variable:{color:"#cb4b16"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(sY)),sY}var lY={},Yhe;function Wut(){return Yhe||(Yhe=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#ccc",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#ccc",background:"#2d2d2d",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},':not(pre) > code[class*="language-"]':{background:"#2d2d2d",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#999"},"block-comment":{color:"#999"},prolog:{color:"#999"},doctype:{color:"#999"},cdata:{color:"#999"},punctuation:{color:"#ccc"},tag:{color:"#e2777a"},"attr-name":{color:"#e2777a"},namespace:{color:"#e2777a"},deleted:{color:"#e2777a"},"function-name":{color:"#6196cc"},boolean:{color:"#f08d49"},number:{color:"#f08d49"},function:{color:"#f08d49"},property:{color:"#f8c555"},"class-name":{color:"#f8c555"},constant:{color:"#f8c555"},symbol:{color:"#f8c555"},selector:{color:"#cc99cd"},important:{color:"#cc99cd",fontWeight:"bold"},atrule:{color:"#cc99cd"},keyword:{color:"#cc99cd"},builtin:{color:"#cc99cd"},string:{color:"#7ec699"},char:{color:"#7ec699"},"attr-value":{color:"#7ec699"},regex:{color:"#7ec699"},variable:{color:"#7ec699"},operator:{color:"#67cdcc"},entity:{color:"#67cdcc",cursor:"help"},url:{color:"#67cdcc"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{color:"green"}}})(lY)),lY}var cY={},Xhe;function Gut(){return Xhe||(Xhe=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"white",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",textShadow:"0 -.1em .2em black",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"white",background:"hsl(0, 0%, 8%)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",textShadow:"0 -.1em .2em black",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",borderRadius:".5em",border:".3em solid hsl(0, 0%, 33%)",boxShadow:"1px 1px .5em black inset",margin:".5em 0",overflow:"auto",padding:"1em"},':not(pre) > code[class*="language-"]':{background:"hsl(0, 0%, 8%)",borderRadius:".3em",border:".13em solid hsl(0, 0%, 33%)",boxShadow:"1px 1px .3em -.1em black inset",padding:".15em .2em .05em",whiteSpace:"normal"},'pre[class*="language-"]::-moz-selection':{background:"hsla(0, 0%, 93%, 0.15)",textShadow:"none"},'pre[class*="language-"]::selection':{background:"hsla(0, 0%, 93%, 0.15)",textShadow:"none"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"]::selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},'code[class*="language-"] ::selection':{textShadow:"none",background:"hsla(0, 0%, 93%, 0.15)"},comment:{color:"hsl(0, 0%, 47%)"},prolog:{color:"hsl(0, 0%, 47%)"},doctype:{color:"hsl(0, 0%, 47%)"},cdata:{color:"hsl(0, 0%, 47%)"},punctuation:{Opacity:".7"},namespace:{Opacity:".7"},tag:{color:"hsl(14, 58%, 55%)"},boolean:{color:"hsl(14, 58%, 55%)"},number:{color:"hsl(14, 58%, 55%)"},deleted:{color:"hsl(14, 58%, 55%)"},keyword:{color:"hsl(53, 89%, 79%)"},property:{color:"hsl(53, 89%, 79%)"},selector:{color:"hsl(53, 89%, 79%)"},constant:{color:"hsl(53, 89%, 79%)"},symbol:{color:"hsl(53, 89%, 79%)"},builtin:{color:"hsl(53, 89%, 79%)"},"attr-name":{color:"hsl(76, 21%, 52%)"},"attr-value":{color:"hsl(76, 21%, 52%)"},string:{color:"hsl(76, 21%, 52%)"},char:{color:"hsl(76, 21%, 52%)"},operator:{color:"hsl(76, 21%, 52%)"},entity:{color:"hsl(76, 21%, 52%)",cursor:"help"},url:{color:"hsl(76, 21%, 52%)"},".language-css .token.string":{color:"hsl(76, 21%, 52%)"},".style .token.string":{color:"hsl(76, 21%, 52%)"},variable:{color:"hsl(76, 21%, 52%)"},inserted:{color:"hsl(76, 21%, 52%)"},atrule:{color:"hsl(218, 22%, 55%)"},regex:{color:"hsl(42, 75%, 65%)"},important:{color:"hsl(42, 75%, 65%)",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},".language-markup .token.tag":{color:"hsl(33, 33%, 52%)"},".language-markup .token.attr-name":{color:"hsl(33, 33%, 52%)"},".language-markup .token.punctuation":{color:"hsl(33, 33%, 52%)"},"":{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"linear-gradient(to right, hsla(0, 0%, 33%, .1) 70%, hsla(0, 0%, 33%, 0))",borderBottom:"1px dashed hsl(0, 0%, 33%)",borderTop:"1px dashed hsl(0, 0%, 33%)",marginTop:"0.75em",zIndex:"0"},".line-highlight.line-highlight:before":{backgroundColor:"hsl(215, 15%, 59%)",color:"hsl(24, 20%, 95%)"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"hsl(215, 15%, 59%)",color:"hsl(24, 20%, 95%)"}}})(cY)),cY}var uY={},Qhe;function Zut(){return Qhe||(Qhe=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(uY)),uY}var dY={},Jhe;function Kut(){return Jhe||(Jhe=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#2b2b2b",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#2b2b2b",padding:"0.1em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#d4d0ab"},prolog:{color:"#d4d0ab"},doctype:{color:"#d4d0ab"},cdata:{color:"#d4d0ab"},punctuation:{color:"#fefefe"},property:{color:"#ffa07a"},tag:{color:"#ffa07a"},constant:{color:"#ffa07a"},symbol:{color:"#ffa07a"},deleted:{color:"#ffa07a"},boolean:{color:"#00e0e0"},number:{color:"#00e0e0"},selector:{color:"#abe338"},"attr-name":{color:"#abe338"},string:{color:"#abe338"},char:{color:"#abe338"},builtin:{color:"#abe338"},inserted:{color:"#abe338"},operator:{color:"#00e0e0"},entity:{color:"#00e0e0",cursor:"help"},url:{color:"#00e0e0"},".language-css .token.string":{color:"#00e0e0"},".style .token.string":{color:"#00e0e0"},variable:{color:"#00e0e0"},atrule:{color:"#ffd700"},"attr-value":{color:"#ffd700"},function:{color:"#ffd700"},keyword:{color:"#00e0e0"},regex:{color:"#ffd700"},important:{color:"#ffd700",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(dY)),dY}var hY={},e0e;function Yut(){return e0e||(e0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#c5c8c6",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#c5c8c6",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em",background:"#1d1f21"},':not(pre) > code[class*="language-"]':{background:"#1d1f21",padding:".1em",borderRadius:".3em"},comment:{color:"#7C7C7C"},prolog:{color:"#7C7C7C"},doctype:{color:"#7C7C7C"},cdata:{color:"#7C7C7C"},punctuation:{color:"#c5c8c6"},".namespace":{Opacity:".7"},property:{color:"#96CBFE"},keyword:{color:"#96CBFE"},tag:{color:"#96CBFE"},"class-name":{color:"#FFFFB6",textDecoration:"underline"},boolean:{color:"#99CC99"},constant:{color:"#99CC99"},symbol:{color:"#f92672"},deleted:{color:"#f92672"},number:{color:"#FF73FD"},selector:{color:"#A8FF60"},"attr-name":{color:"#A8FF60"},string:{color:"#A8FF60"},char:{color:"#A8FF60"},builtin:{color:"#A8FF60"},inserted:{color:"#A8FF60"},variable:{color:"#C6C5FE"},operator:{color:"#EDEDED"},entity:{color:"#FFFFB6",cursor:"help"},url:{color:"#96CBFE"},".language-css .token.string":{color:"#87C38A"},".style .token.string":{color:"#87C38A"},atrule:{color:"#F9EE98"},"attr-value":{color:"#F9EE98"},function:{color:"#DAD085"},regex:{color:"#E9C062"},important:{color:"#fd971f",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(hY)),hY}var fY={},t0e;function Xut(){return t0e||(t0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#f5f7ff",color:"#5e6687"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#f5f7ff",color:"#5e6687",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#dfe2f1"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#dfe2f1"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"]::selection':{textShadow:"none",background:"#dfe2f1"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#dfe2f1"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#898ea4"},prolog:{color:"#898ea4"},doctype:{color:"#898ea4"},cdata:{color:"#898ea4"},punctuation:{color:"#5e6687"},namespace:{Opacity:".7"},operator:{color:"#c76b29"},boolean:{color:"#c76b29"},number:{color:"#c76b29"},property:{color:"#c08b30"},tag:{color:"#3d8fd1"},string:{color:"#22a2c9"},selector:{color:"#6679cc"},"attr-name":{color:"#c76b29"},entity:{color:"#22a2c9",cursor:"help"},url:{color:"#22a2c9"},".language-css .token.string":{color:"#22a2c9"},".style .token.string":{color:"#22a2c9"},"attr-value":{color:"#ac9739"},keyword:{color:"#ac9739"},control:{color:"#ac9739"},directive:{color:"#ac9739"},unit:{color:"#ac9739"},statement:{color:"#22a2c9"},regex:{color:"#22a2c9"},atrule:{color:"#22a2c9"},placeholder:{color:"#3d8fd1"},variable:{color:"#3d8fd1"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #202746",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#c94922"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:"0.4em solid #c94922",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#dfe2f1"},".line-numbers .line-numbers-rows > span:before":{color:"#979db4"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(107, 115, 148, 0.2) 70%, rgba(107, 115, 148, 0))"}}})(fY)),fY}var pY={},r0e;function Qut(){return r0e||(r0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#fff",textShadow:"0 1px 1px #000",fontFamily:'Menlo, Monaco, "Courier New", monospace',direction:"ltr",textAlign:"left",wordSpacing:"normal",whiteSpace:"pre",wordWrap:"normal",lineHeight:"1.4",background:"none",border:"0",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#fff",textShadow:"0 1px 1px #000",fontFamily:'Menlo, Monaco, "Courier New", monospace',direction:"ltr",textAlign:"left",wordSpacing:"normal",whiteSpace:"pre",wordWrap:"normal",lineHeight:"1.4",background:"#222",border:"0",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"15px",margin:"1em 0",overflow:"auto",MozBorderRadius:"8px",WebkitBorderRadius:"8px",borderRadius:"8px"},'pre[class*="language-"] code':{float:"left",padding:"0 15px 0 0"},':not(pre) > code[class*="language-"]':{background:"#222",padding:"5px 10px",lineHeight:"1",MozBorderRadius:"3px",WebkitBorderRadius:"3px",borderRadius:"3px"},comment:{color:"#797979"},prolog:{color:"#797979"},doctype:{color:"#797979"},cdata:{color:"#797979"},selector:{color:"#fff"},operator:{color:"#fff"},punctuation:{color:"#fff"},namespace:{Opacity:".7"},tag:{color:"#ffd893"},boolean:{color:"#ffd893"},atrule:{color:"#B0C975"},"attr-value":{color:"#B0C975"},hex:{color:"#B0C975"},string:{color:"#B0C975"},property:{color:"#c27628"},entity:{color:"#c27628",cursor:"help"},url:{color:"#c27628"},"attr-name":{color:"#c27628"},keyword:{color:"#c27628"},regex:{color:"#9B71C6"},function:{color:"#e5a638"},constant:{color:"#e5a638"},variable:{color:"#fdfba8"},number:{color:"#8799B0"},important:{color:"#E45734"},deliminator:{color:"#E45734"},".line-highlight.line-highlight":{background:"rgba(255, 255, 255, .2)"},".line-highlight.line-highlight:before":{top:".3em",backgroundColor:"rgba(255, 255, 255, .3)",color:"#fff",MozBorderRadius:"8px",WebkitBorderRadius:"8px",borderRadius:"8px"},".line-highlight.line-highlight[data-end]:after":{top:".3em",backgroundColor:"rgba(255, 255, 255, .3)",color:"#fff",MozBorderRadius:"8px",WebkitBorderRadius:"8px",borderRadius:"8px"},".line-numbers .line-numbers-rows > span":{borderRight:"3px #d9d336 solid"}}})(pY)),pY}var mY={},n0e;function Jut(){return n0e||(n0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#111b27",background:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#111b27",background:"#e3eaf2",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{background:"#8da1b9"},'pre[class*="language-"] ::-moz-selection':{background:"#8da1b9"},'code[class*="language-"]::-moz-selection':{background:"#8da1b9"},'code[class*="language-"] ::-moz-selection':{background:"#8da1b9"},'pre[class*="language-"]::selection':{background:"#8da1b9"},'pre[class*="language-"] ::selection':{background:"#8da1b9"},'code[class*="language-"]::selection':{background:"#8da1b9"},'code[class*="language-"] ::selection':{background:"#8da1b9"},':not(pre) > code[class*="language-"]':{background:"#e3eaf2",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#3c526d"},prolog:{color:"#3c526d"},doctype:{color:"#3c526d"},cdata:{color:"#3c526d"},punctuation:{color:"#111b27"},"delimiter.important":{color:"#006d6d",fontWeight:"inherit"},"selector.parent":{color:"#006d6d"},tag:{color:"#006d6d"},"tag.punctuation":{color:"#006d6d"},"attr-name":{color:"#755f00"},boolean:{color:"#755f00"},"boolean.important":{color:"#755f00"},number:{color:"#755f00"},constant:{color:"#755f00"},"selector.attribute":{color:"#755f00"},"class-name":{color:"#005a8e"},key:{color:"#005a8e"},parameter:{color:"#005a8e"},property:{color:"#005a8e"},"property-access":{color:"#005a8e"},variable:{color:"#005a8e"},"attr-value":{color:"#116b00"},inserted:{color:"#116b00"},color:{color:"#116b00"},"selector.value":{color:"#116b00"},string:{color:"#116b00"},"string.url-link":{color:"#116b00"},builtin:{color:"#af00af"},"keyword-array":{color:"#af00af"},package:{color:"#af00af"},regex:{color:"#af00af"},function:{color:"#7c00aa"},"selector.class":{color:"#7c00aa"},"selector.id":{color:"#7c00aa"},"atrule.rule":{color:"#a04900"},combinator:{color:"#a04900"},keyword:{color:"#a04900"},operator:{color:"#a04900"},"pseudo-class":{color:"#a04900"},"pseudo-element":{color:"#a04900"},selector:{color:"#a04900"},unit:{color:"#a04900"},deleted:{color:"#c22f2e"},important:{color:"#c22f2e",fontWeight:"bold"},"keyword-this":{color:"#005a8e",fontWeight:"bold"},this:{color:"#005a8e",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#005a8e",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#005a8e",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#af00af"},".language-markdown .token.code":{color:"#006d6d"},".language-markdown .token.hr.punctuation":{color:"#005a8e"},".language-markdown .token.url > .token.content":{color:"#116b00"},".language-markdown .token.url-link":{color:"#755f00"},".language-markdown .token.list.punctuation":{color:"#af00af"},".language-markdown .token.table-header":{color:"#111b27"},".language-json .token.operator":{color:"#111b27"},".language-scss .token.variable":{color:"#006d6d"},"token.tab:not(:empty):before":{color:"#3c526d"},"token.cr:before":{color:"#3c526d"},"token.lf:before":{color:"#3c526d"},"token.space:before":{color:"#3c526d"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#e3eaf2",background:"#005a8e"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#e3eaf2",background:"#005a8e"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#e3eaf2",background:"#005a8eda",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#e3eaf2",background:"#3c526d"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#e3eaf2",background:"#3c526d"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#e3eaf2",background:"#3c526d"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #8da1b92f 70%, #8da1b925)"},".line-highlight.line-highlight:before":{backgroundColor:"#3c526d",color:"#e3eaf2",boxShadow:"0 1px #8da1b9"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#3c526d",color:"#e3eaf2",boxShadow:"0 1px #8da1b9"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#3c526d1f"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #8da1b97a",background:"#d0dae77a"},".line-numbers .line-numbers-rows > span:before":{color:"#3c526dda"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#755f00"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#755f00"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#755f00"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#af00af"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#af00af"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#af00af"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#005a8e"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#005a8e"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#005a8e"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#7c00aa"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#7c00aa"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#7c00aa"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#c22f2e1f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#c22f2e1f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#116b001f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#116b001f"},".command-line .command-line-prompt":{borderRight:"1px solid #8da1b97a"},".command-line .command-line-prompt > span:before":{color:"#3c526dda"}}})(mY)),mY}var gY={},o0e;function edt(){return o0e||(o0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#e3eaf2",background:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#e3eaf2",background:"#111b27",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{background:"#3c526d"},'pre[class*="language-"] ::-moz-selection':{background:"#3c526d"},'code[class*="language-"]::-moz-selection':{background:"#3c526d"},'code[class*="language-"] ::-moz-selection':{background:"#3c526d"},'pre[class*="language-"]::selection':{background:"#3c526d"},'pre[class*="language-"] ::selection':{background:"#3c526d"},'code[class*="language-"]::selection':{background:"#3c526d"},'code[class*="language-"] ::selection':{background:"#3c526d"},':not(pre) > code[class*="language-"]':{background:"#111b27",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#8da1b9"},prolog:{color:"#8da1b9"},doctype:{color:"#8da1b9"},cdata:{color:"#8da1b9"},punctuation:{color:"#e3eaf2"},"delimiter.important":{color:"#66cccc",fontWeight:"inherit"},"selector.parent":{color:"#66cccc"},tag:{color:"#66cccc"},"tag.punctuation":{color:"#66cccc"},"attr-name":{color:"#e6d37a"},boolean:{color:"#e6d37a"},"boolean.important":{color:"#e6d37a"},number:{color:"#e6d37a"},constant:{color:"#e6d37a"},"selector.attribute":{color:"#e6d37a"},"class-name":{color:"#6cb8e6"},key:{color:"#6cb8e6"},parameter:{color:"#6cb8e6"},property:{color:"#6cb8e6"},"property-access":{color:"#6cb8e6"},variable:{color:"#6cb8e6"},"attr-value":{color:"#91d076"},inserted:{color:"#91d076"},color:{color:"#91d076"},"selector.value":{color:"#91d076"},string:{color:"#91d076"},"string.url-link":{color:"#91d076"},builtin:{color:"#f4adf4"},"keyword-array":{color:"#f4adf4"},package:{color:"#f4adf4"},regex:{color:"#f4adf4"},function:{color:"#c699e3"},"selector.class":{color:"#c699e3"},"selector.id":{color:"#c699e3"},"atrule.rule":{color:"#e9ae7e"},combinator:{color:"#e9ae7e"},keyword:{color:"#e9ae7e"},operator:{color:"#e9ae7e"},"pseudo-class":{color:"#e9ae7e"},"pseudo-element":{color:"#e9ae7e"},selector:{color:"#e9ae7e"},unit:{color:"#e9ae7e"},deleted:{color:"#cd6660"},important:{color:"#cd6660",fontWeight:"bold"},"keyword-this":{color:"#6cb8e6",fontWeight:"bold"},this:{color:"#6cb8e6",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#f4adf4"},".language-markdown .token.code":{color:"#66cccc"},".language-markdown .token.hr.punctuation":{color:"#6cb8e6"},".language-markdown .token.url .token.content":{color:"#91d076"},".language-markdown .token.url-link":{color:"#e6d37a"},".language-markdown .token.list.punctuation":{color:"#f4adf4"},".language-markdown .token.table-header":{color:"#e3eaf2"},".language-json .token.operator":{color:"#e3eaf2"},".language-scss .token.variable":{color:"#66cccc"},"token.tab:not(:empty):before":{color:"#8da1b9"},"token.cr:before":{color:"#8da1b9"},"token.lf:before":{color:"#8da1b9"},"token.space:before":{color:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#111b27",background:"#8da1b9"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #3c526d5f 70%, #3c526d55)"},".line-highlight.line-highlight:before":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#8da1b918"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #0b121b",background:"#0b121b7a"},".line-numbers .line-numbers-rows > span:before":{color:"#8da1b9da"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#c699e3"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},".command-line .command-line-prompt":{borderRight:"1px solid #0b121b"},".command-line .command-line-prompt > span:before":{color:"#8da1b9da"}}})(gY)),gY}var yY={},a0e;function tdt(){return a0e||(a0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",position:"relative",borderLeft:"10px solid #358ccb",boxShadow:"-1px 0 0 0 #358ccb, 0 0 0 1px #dfdfdf",backgroundColor:"#fdfdfd",backgroundImage:"linear-gradient(transparent 50%, rgba(69, 142, 209, 0.04) 50%)",backgroundSize:"3em 3em",backgroundOrigin:"content-box",backgroundAttachment:"local",margin:".5em 0",padding:"0 1em"},'pre[class*="language-"] > code':{display:"block"},':not(pre) > code[class*="language-"]':{position:"relative",padding:".2em",borderRadius:"0.3em",color:"#c92c2c",border:"1px solid rgba(0, 0, 0, 0.1)",display:"inline",whiteSpace:"normal",backgroundColor:"#fdfdfd",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box"},comment:{color:"#7D8B99"},"block-comment":{color:"#7D8B99"},prolog:{color:"#7D8B99"},doctype:{color:"#7D8B99"},cdata:{color:"#7D8B99"},punctuation:{color:"#5F6364"},property:{color:"#c92c2c"},tag:{color:"#c92c2c"},boolean:{color:"#c92c2c"},number:{color:"#c92c2c"},"function-name":{color:"#c92c2c"},constant:{color:"#c92c2c"},symbol:{color:"#c92c2c"},deleted:{color:"#c92c2c"},selector:{color:"#2f9c0a"},"attr-name":{color:"#2f9c0a"},string:{color:"#2f9c0a"},char:{color:"#2f9c0a"},function:{color:"#2f9c0a"},builtin:{color:"#2f9c0a"},inserted:{color:"#2f9c0a"},operator:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},entity:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)",cursor:"help"},url:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},variable:{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},atrule:{color:"#1990b8"},"attr-value":{color:"#1990b8"},keyword:{color:"#1990b8"},"class-name":{color:"#1990b8"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"normal"},".language-css .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},".style .token.string":{color:"#a67f59",background:"rgba(255, 255, 255, 0.5)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:".7"}}})(yY)),yY}var bY={},i0e;function rdt(){return i0e||(i0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#a9b7c6",fontFamily:"Consolas, Monaco, 'Andale Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#a9b7c6",fontFamily:"Consolas, Monaco, 'Andale Mono', monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#2b2b2b"},'pre[class*="language-"]::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"] ::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"]::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"] ::-moz-selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"]::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'pre[class*="language-"] ::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"]::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},'code[class*="language-"] ::selection':{color:"inherit",background:"rgba(33, 66, 131, .85)"},':not(pre) > code[class*="language-"]':{background:"#2b2b2b",padding:".1em",borderRadius:".3em"},comment:{color:"#808080"},prolog:{color:"#808080"},cdata:{color:"#808080"},delimiter:{color:"#cc7832"},boolean:{color:"#cc7832"},keyword:{color:"#cc7832"},selector:{color:"#cc7832"},important:{color:"#cc7832"},atrule:{color:"#cc7832"},operator:{color:"#a9b7c6"},punctuation:{color:"#a9b7c6"},"attr-name":{color:"#a9b7c6"},tag:{color:"#e8bf6a"},"tag.punctuation":{color:"#e8bf6a"},doctype:{color:"#e8bf6a"},builtin:{color:"#e8bf6a"},entity:{color:"#6897bb"},number:{color:"#6897bb"},symbol:{color:"#6897bb"},property:{color:"#9876aa"},constant:{color:"#9876aa"},variable:{color:"#9876aa"},string:{color:"#6a8759"},char:{color:"#6a8759"},"attr-value":{color:"#a5c261"},"attr-value.punctuation":{color:"#a5c261"},"attr-value.punctuation:first-child":{color:"#a9b7c6"},url:{color:"#287bde",textDecoration:"underline"},function:{color:"#ffc66d"},regex:{background:"#364135"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#294436"},deleted:{background:"#484a4a"},"code.language-css .token.property":{color:"#a9b7c6"},"code.language-css .token.property + .token.punctuation":{color:"#a9b7c6"},"code.language-css .token.id":{color:"#ffc66d"},"code.language-css .token.selector > .token.class":{color:"#ffc66d"},"code.language-css .token.selector > .token.attribute":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-class":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-element":{color:"#ffc66d"}}})(bY)),bY}var xY={},s0e;function ndt(){return s0e||(s0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#282a36",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#282a36",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#6272a4"},prolog:{color:"#6272a4"},doctype:{color:"#6272a4"},cdata:{color:"#6272a4"},punctuation:{color:"#f8f8f2"},".namespace":{Opacity:".7"},property:{color:"#ff79c6"},tag:{color:"#ff79c6"},constant:{color:"#ff79c6"},symbol:{color:"#ff79c6"},deleted:{color:"#ff79c6"},boolean:{color:"#bd93f9"},number:{color:"#bd93f9"},selector:{color:"#50fa7b"},"attr-name":{color:"#50fa7b"},string:{color:"#50fa7b"},char:{color:"#50fa7b"},builtin:{color:"#50fa7b"},inserted:{color:"#50fa7b"},operator:{color:"#f8f8f2"},entity:{color:"#f8f8f2",cursor:"help"},url:{color:"#f8f8f2"},".language-css .token.string":{color:"#f8f8f2"},".style .token.string":{color:"#f8f8f2"},variable:{color:"#f8f8f2"},atrule:{color:"#f1fa8c"},"attr-value":{color:"#f1fa8c"},function:{color:"#f1fa8c"},"class-name":{color:"#f1fa8c"},keyword:{color:"#8be9fd"},regex:{color:"#ffb86c"},important:{color:"#ffb86c",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(xY)),xY}var kY={},l0e;function odt(){return l0e||(l0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2734",color:"#9a86fd"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2734",color:"#9a86fd",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6a51e6"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6a51e6"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#6a51e6"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"]::selection':{textShadow:"none",background:"#6a51e6"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#6a51e6"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#6c6783"},prolog:{color:"#6c6783"},doctype:{color:"#6c6783"},cdata:{color:"#6c6783"},punctuation:{color:"#6c6783"},namespace:{Opacity:".7"},tag:{color:"#e09142"},operator:{color:"#e09142"},number:{color:"#e09142"},property:{color:"#9a86fd"},function:{color:"#9a86fd"},"tag-id":{color:"#eeebff"},selector:{color:"#eeebff"},"atrule-id":{color:"#eeebff"},"code.language-javascript":{color:"#c4b9fe"},"attr-name":{color:"#c4b9fe"},"code.language-css":{color:"#ffcc99"},"code.language-scss":{color:"#ffcc99"},boolean:{color:"#ffcc99"},string:{color:"#ffcc99"},entity:{color:"#ffcc99",cursor:"help"},url:{color:"#ffcc99"},".language-css .token.string":{color:"#ffcc99"},".language-scss .token.string":{color:"#ffcc99"},".style .token.string":{color:"#ffcc99"},"attr-value":{color:"#ffcc99"},keyword:{color:"#ffcc99"},control:{color:"#ffcc99"},directive:{color:"#ffcc99"},unit:{color:"#ffcc99"},statement:{color:"#ffcc99"},regex:{color:"#ffcc99"},atrule:{color:"#ffcc99"},placeholder:{color:"#ffcc99"},variable:{color:"#ffcc99"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #eeebff",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#c4b9fe"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #8a75f5",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#2c2937"},".line-numbers .line-numbers-rows > span:before":{color:"#3c3949"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(224, 145, 66, 0.2) 70%, rgba(224, 145, 66, 0))"}}})(kY)),kY}var vY={},c0e;function adt(){return c0e||(c0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#322d29",color:"#88786d"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#322d29",color:"#88786d",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6f5849"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#6f5849"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#6f5849"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"]::selection':{textShadow:"none",background:"#6f5849"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#6f5849"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#6a5f58"},prolog:{color:"#6a5f58"},doctype:{color:"#6a5f58"},cdata:{color:"#6a5f58"},punctuation:{color:"#6a5f58"},namespace:{Opacity:".7"},tag:{color:"#bfa05a"},operator:{color:"#bfa05a"},number:{color:"#bfa05a"},property:{color:"#88786d"},function:{color:"#88786d"},"tag-id":{color:"#fff3eb"},selector:{color:"#fff3eb"},"atrule-id":{color:"#fff3eb"},"code.language-javascript":{color:"#a48774"},"attr-name":{color:"#a48774"},"code.language-css":{color:"#fcc440"},"code.language-scss":{color:"#fcc440"},boolean:{color:"#fcc440"},string:{color:"#fcc440"},entity:{color:"#fcc440",cursor:"help"},url:{color:"#fcc440"},".language-css .token.string":{color:"#fcc440"},".language-scss .token.string":{color:"#fcc440"},".style .token.string":{color:"#fcc440"},"attr-value":{color:"#fcc440"},keyword:{color:"#fcc440"},control:{color:"#fcc440"},directive:{color:"#fcc440"},unit:{color:"#fcc440"},statement:{color:"#fcc440"},regex:{color:"#fcc440"},atrule:{color:"#fcc440"},placeholder:{color:"#fcc440"},variable:{color:"#fcc440"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #fff3eb",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#a48774"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #816d5f",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#35302b"},".line-numbers .line-numbers-rows > span:before":{color:"#46403d"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(191, 160, 90, 0.2) 70%, rgba(191, 160, 90, 0))"}}})(vY)),vY}var wY={},u0e;function idt(){return u0e||(u0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2d2a",color:"#687d68"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#2a2d2a",color:"#687d68",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#435643"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#435643"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#435643"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#435643"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#435643"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#435643"},'code[class*="language-"]::selection':{textShadow:"none",background:"#435643"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#435643"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#535f53"},prolog:{color:"#535f53"},doctype:{color:"#535f53"},cdata:{color:"#535f53"},punctuation:{color:"#535f53"},namespace:{Opacity:".7"},tag:{color:"#a2b34d"},operator:{color:"#a2b34d"},number:{color:"#a2b34d"},property:{color:"#687d68"},function:{color:"#687d68"},"tag-id":{color:"#f0fff0"},selector:{color:"#f0fff0"},"atrule-id":{color:"#f0fff0"},"code.language-javascript":{color:"#b3d6b3"},"attr-name":{color:"#b3d6b3"},"code.language-css":{color:"#e5fb79"},"code.language-scss":{color:"#e5fb79"},boolean:{color:"#e5fb79"},string:{color:"#e5fb79"},entity:{color:"#e5fb79",cursor:"help"},url:{color:"#e5fb79"},".language-css .token.string":{color:"#e5fb79"},".language-scss .token.string":{color:"#e5fb79"},".style .token.string":{color:"#e5fb79"},"attr-value":{color:"#e5fb79"},keyword:{color:"#e5fb79"},control:{color:"#e5fb79"},directive:{color:"#e5fb79"},unit:{color:"#e5fb79"},statement:{color:"#e5fb79"},regex:{color:"#e5fb79"},atrule:{color:"#e5fb79"},placeholder:{color:"#e5fb79"},variable:{color:"#e5fb79"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #f0fff0",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#b3d6b3"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #5c705c",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#2c302c"},".line-numbers .line-numbers-rows > span:before":{color:"#3b423b"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(162, 179, 77, 0.2) 70%, rgba(162, 179, 77, 0))"}}})(wY)),wY}var CY={},d0e;function sdt(){return d0e||(d0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#faf8f5",color:"#728fcb"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#faf8f5",color:"#728fcb",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#faf8f5"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"]::selection':{textShadow:"none",background:"#faf8f5"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#faf8f5"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#b6ad9a"},prolog:{color:"#b6ad9a"},doctype:{color:"#b6ad9a"},cdata:{color:"#b6ad9a"},punctuation:{color:"#b6ad9a"},namespace:{Opacity:".7"},tag:{color:"#063289"},operator:{color:"#063289"},number:{color:"#063289"},property:{color:"#b29762"},function:{color:"#b29762"},"tag-id":{color:"#2d2006"},selector:{color:"#2d2006"},"atrule-id":{color:"#2d2006"},"code.language-javascript":{color:"#896724"},"attr-name":{color:"#896724"},"code.language-css":{color:"#728fcb"},"code.language-scss":{color:"#728fcb"},boolean:{color:"#728fcb"},string:{color:"#728fcb"},entity:{color:"#728fcb",cursor:"help"},url:{color:"#728fcb"},".language-css .token.string":{color:"#728fcb"},".language-scss .token.string":{color:"#728fcb"},".style .token.string":{color:"#728fcb"},"attr-value":{color:"#728fcb"},keyword:{color:"#728fcb"},control:{color:"#728fcb"},directive:{color:"#728fcb"},unit:{color:"#728fcb"},statement:{color:"#728fcb"},regex:{color:"#728fcb"},atrule:{color:"#728fcb"},placeholder:{color:"#93abdc"},variable:{color:"#93abdc"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #2d2006",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#896724"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #896724",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#ece8de"},".line-numbers .line-numbers-rows > span:before":{color:"#cdc4b1"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(45, 32, 6, 0.2) 70%, rgba(45, 32, 6, 0))"}}})(CY)),CY}var SY={},h0e;function ldt(){return h0e||(h0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#1d262f",color:"#57718e"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#1d262f",color:"#57718e",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#004a9e"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#004a9e"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#004a9e"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"]::selection':{textShadow:"none",background:"#004a9e"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#004a9e"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#4a5f78"},prolog:{color:"#4a5f78"},doctype:{color:"#4a5f78"},cdata:{color:"#4a5f78"},punctuation:{color:"#4a5f78"},namespace:{Opacity:".7"},tag:{color:"#0aa370"},operator:{color:"#0aa370"},number:{color:"#0aa370"},property:{color:"#57718e"},function:{color:"#57718e"},"tag-id":{color:"#ebf4ff"},selector:{color:"#ebf4ff"},"atrule-id":{color:"#ebf4ff"},"code.language-javascript":{color:"#7eb6f6"},"attr-name":{color:"#7eb6f6"},"code.language-css":{color:"#47ebb4"},"code.language-scss":{color:"#47ebb4"},boolean:{color:"#47ebb4"},string:{color:"#47ebb4"},entity:{color:"#47ebb4",cursor:"help"},url:{color:"#47ebb4"},".language-css .token.string":{color:"#47ebb4"},".language-scss .token.string":{color:"#47ebb4"},".style .token.string":{color:"#47ebb4"},"attr-value":{color:"#47ebb4"},keyword:{color:"#47ebb4"},control:{color:"#47ebb4"},directive:{color:"#47ebb4"},unit:{color:"#47ebb4"},statement:{color:"#47ebb4"},regex:{color:"#47ebb4"},atrule:{color:"#47ebb4"},placeholder:{color:"#47ebb4"},variable:{color:"#47ebb4"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #ebf4ff",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#7eb6f6"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #34659d",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#1f2932"},".line-numbers .line-numbers-rows > span:before":{color:"#2c3847"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(10, 163, 112, 0.2) 70%, rgba(10, 163, 112, 0))"}}})(SY)),SY}var MY={},f0e;function cdt(){return f0e||(f0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#24242e",color:"#767693"},'pre[class*="language-"]':{fontFamily:'Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace',fontSize:"14px",lineHeight:"1.375",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",background:"#24242e",color:"#767693",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#5151e6"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#5151e6"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#5151e6"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"]::selection':{textShadow:"none",background:"#5151e6"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#5151e6"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#5b5b76"},prolog:{color:"#5b5b76"},doctype:{color:"#5b5b76"},cdata:{color:"#5b5b76"},punctuation:{color:"#5b5b76"},namespace:{Opacity:".7"},tag:{color:"#dd672c"},operator:{color:"#dd672c"},number:{color:"#dd672c"},property:{color:"#767693"},function:{color:"#767693"},"tag-id":{color:"#ebebff"},selector:{color:"#ebebff"},"atrule-id":{color:"#ebebff"},"code.language-javascript":{color:"#aaaaca"},"attr-name":{color:"#aaaaca"},"code.language-css":{color:"#fe8c52"},"code.language-scss":{color:"#fe8c52"},boolean:{color:"#fe8c52"},string:{color:"#fe8c52"},entity:{color:"#fe8c52",cursor:"help"},url:{color:"#fe8c52"},".language-css .token.string":{color:"#fe8c52"},".language-scss .token.string":{color:"#fe8c52"},".style .token.string":{color:"#fe8c52"},"attr-value":{color:"#fe8c52"},keyword:{color:"#fe8c52"},control:{color:"#fe8c52"},directive:{color:"#fe8c52"},unit:{color:"#fe8c52"},statement:{color:"#fe8c52"},regex:{color:"#fe8c52"},atrule:{color:"#fe8c52"},placeholder:{color:"#fe8c52"},variable:{color:"#fe8c52"},deleted:{textDecoration:"line-through"},inserted:{borderBottom:"1px dotted #ebebff",textDecoration:"none"},italic:{fontStyle:"italic"},important:{fontWeight:"bold",color:"#aaaaca"},bold:{fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid #7676f4",OutlineOffset:".4em"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#262631"},".line-numbers .line-numbers-rows > span:before":{color:"#393949"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(221, 103, 44, 0.2) 70%, rgba(221, 103, 44, 0))"}}})(MY)),MY}var _Y={},p0e;function udt(){return p0e||(p0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",border:"1px solid #dddddd",backgroundColor:"white"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{background:"#b3d4fc"},'pre[class*="language-"]::selection':{background:"#b3d4fc"},'pre[class*="language-"] ::selection':{background:"#b3d4fc"},'code[class*="language-"]::selection':{background:"#b3d4fc"},'code[class*="language-"] ::selection':{background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{padding:".2em",paddingTop:"1px",paddingBottom:"1px",background:"#f8f8f8",border:"1px solid #dddddd"},comment:{color:"#999988",fontStyle:"italic"},prolog:{color:"#999988",fontStyle:"italic"},doctype:{color:"#999988",fontStyle:"italic"},cdata:{color:"#999988",fontStyle:"italic"},namespace:{Opacity:".7"},string:{color:"#e3116c"},"attr-value":{color:"#e3116c"},punctuation:{color:"#393A34"},operator:{color:"#393A34"},entity:{color:"#36acaa"},url:{color:"#36acaa"},symbol:{color:"#36acaa"},number:{color:"#36acaa"},boolean:{color:"#36acaa"},variable:{color:"#36acaa"},constant:{color:"#36acaa"},property:{color:"#36acaa"},regex:{color:"#36acaa"},inserted:{color:"#36acaa"},atrule:{color:"#00a4db"},keyword:{color:"#00a4db"},"attr-name":{color:"#00a4db"},".language-autohotkey .token.selector":{color:"#00a4db"},function:{color:"#9a050f",fontWeight:"bold"},deleted:{color:"#9a050f"},".language-autohotkey .token.tag":{color:"#9a050f"},tag:{color:"#00009f"},selector:{color:"#00009f"},".language-autohotkey .token.keyword":{color:"#00009f"},important:{fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(_Y)),_Y}var TY={},m0e;function ddt(){return m0e||(m0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#ebdbb2",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#ebdbb2",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",background:"#1d2021"},'pre[class*="language-"]::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'pre[class*="language-"] ::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"]::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"] ::-moz-selection':{color:"#fbf1c7",background:"#7c6f64"},'pre[class*="language-"]::selection':{color:"#fbf1c7",background:"#7c6f64"},'pre[class*="language-"] ::selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"]::selection':{color:"#fbf1c7",background:"#7c6f64"},'code[class*="language-"] ::selection':{color:"#fbf1c7",background:"#7c6f64"},':not(pre) > code[class*="language-"]':{background:"#1d2021",padding:"0.1em",borderRadius:"0.3em"},comment:{color:"#a89984"},prolog:{color:"#a89984"},cdata:{color:"#a89984"},delimiter:{color:"#fb4934"},boolean:{color:"#fb4934"},keyword:{color:"#fb4934"},selector:{color:"#fb4934"},important:{color:"#fb4934"},atrule:{color:"#fb4934"},operator:{color:"#a89984"},punctuation:{color:"#a89984"},"attr-name":{color:"#a89984"},tag:{color:"#fabd2f"},"tag.punctuation":{color:"#fabd2f"},doctype:{color:"#fabd2f"},builtin:{color:"#fabd2f"},entity:{color:"#d3869b"},number:{color:"#d3869b"},symbol:{color:"#d3869b"},property:{color:"#fb4934"},constant:{color:"#fb4934"},variable:{color:"#fb4934"},string:{color:"#b8bb26"},char:{color:"#b8bb26"},"attr-value":{color:"#a89984"},"attr-value.punctuation":{color:"#a89984"},url:{color:"#b8bb26",textDecoration:"underline"},function:{color:"#fabd2f"},regex:{background:"#b8bb26"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#a89984"},deleted:{background:"#fb4934"}}})(TY)),TY}var AY={},g0e;function hdt(){return g0e||(g0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#3c3836",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#3c3836",fontFamily:'Consolas, Monaco, "Andale Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",background:"#f9f5d7"},'pre[class*="language-"]::-moz-selection':{color:"#282828",background:"#a89984"},'pre[class*="language-"] ::-moz-selection':{color:"#282828",background:"#a89984"},'code[class*="language-"]::-moz-selection':{color:"#282828",background:"#a89984"},'code[class*="language-"] ::-moz-selection':{color:"#282828",background:"#a89984"},'pre[class*="language-"]::selection':{color:"#282828",background:"#a89984"},'pre[class*="language-"] ::selection':{color:"#282828",background:"#a89984"},'code[class*="language-"]::selection':{color:"#282828",background:"#a89984"},'code[class*="language-"] ::selection':{color:"#282828",background:"#a89984"},':not(pre) > code[class*="language-"]':{background:"#f9f5d7",padding:"0.1em",borderRadius:"0.3em"},comment:{color:"#7c6f64"},prolog:{color:"#7c6f64"},cdata:{color:"#7c6f64"},delimiter:{color:"#9d0006"},boolean:{color:"#9d0006"},keyword:{color:"#9d0006"},selector:{color:"#9d0006"},important:{color:"#9d0006"},atrule:{color:"#9d0006"},operator:{color:"#7c6f64"},punctuation:{color:"#7c6f64"},"attr-name":{color:"#7c6f64"},tag:{color:"#b57614"},"tag.punctuation":{color:"#b57614"},doctype:{color:"#b57614"},builtin:{color:"#b57614"},entity:{color:"#8f3f71"},number:{color:"#8f3f71"},symbol:{color:"#8f3f71"},property:{color:"#9d0006"},constant:{color:"#9d0006"},variable:{color:"#9d0006"},string:{color:"#797403"},char:{color:"#797403"},"attr-value":{color:"#7c6f64"},"attr-value.punctuation":{color:"#7c6f64"},url:{color:"#797403",textDecoration:"underline"},function:{color:"#b57614"},regex:{background:"#797403"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#7c6f64"},deleted:{background:"#9d0006"}}})(AY)),AY}var LY={},y0e;function fdt(){return y0e||(y0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={"code[class*='language-']":{color:"#d6e7ff",background:"#030314",textShadow:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',fontSize:"1em",lineHeight:"1.5",letterSpacing:".2px",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",textAlign:"left",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},"pre[class*='language-']":{color:"#d6e7ff",background:"#030314",textShadow:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',fontSize:"1em",lineHeight:"1.5",letterSpacing:".2px",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",textAlign:"left",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",border:"1px solid #2a4555",borderRadius:"5px",padding:"1.5em 1em",margin:"1em 0",overflow:"auto"},"pre[class*='language-']::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"pre[class*='language-'] ::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-']::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-'] ::-moz-selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"pre[class*='language-']::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"pre[class*='language-'] ::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-']::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},"code[class*='language-'] ::selection":{color:"inherit",background:"#1d3b54",textShadow:"none"},":not(pre) > code[class*='language-']":{color:"#f0f6f6",background:"#2a4555",padding:"0.2em 0.3em",borderRadius:"0.2em",boxDecorationBreak:"clone"},comment:{color:"#446e69"},prolog:{color:"#446e69"},doctype:{color:"#446e69"},cdata:{color:"#446e69"},punctuation:{color:"#d6b007"},property:{color:"#d6e7ff"},tag:{color:"#d6e7ff"},boolean:{color:"#d6e7ff"},number:{color:"#d6e7ff"},constant:{color:"#d6e7ff"},symbol:{color:"#d6e7ff"},deleted:{color:"#d6e7ff"},selector:{color:"#e60067"},"attr-name":{color:"#e60067"},builtin:{color:"#e60067"},inserted:{color:"#e60067"},string:{color:"#49c6ec"},char:{color:"#49c6ec"},operator:{color:"#ec8e01",background:"transparent"},entity:{color:"#ec8e01",background:"transparent"},url:{color:"#ec8e01",background:"transparent"},".language-css .token.string":{color:"#ec8e01",background:"transparent"},".style .token.string":{color:"#ec8e01",background:"transparent"},atrule:{color:"#0fe468"},"attr-value":{color:"#0fe468"},keyword:{color:"#0fe468"},function:{color:"#78f3e9"},"class-name":{color:"#78f3e9"},regex:{color:"#d6e7ff"},important:{color:"#d6e7ff"},variable:{color:"#d6e7ff"}}})(LY)),LY}var EY={},b0e;function pdt(){return b0e||(b0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{fontFamily:'"Fira Mono", Menlo, Monaco, "Lucida Console", "Courier New", Courier, monospace',fontSize:"16px",lineHeight:"1.375",direction:"ltr",textAlign:"left",wordSpacing:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",background:"#322931",color:"#b9b5b8"},'pre[class*="language-"]':{fontFamily:'"Fira Mono", Menlo, Monaco, "Lucida Console", "Courier New", Courier, monospace',fontSize:"16px",lineHeight:"1.375",direction:"ltr",textAlign:"left",wordSpacing:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",background:"#322931",color:"#b9b5b8",padding:"1em",margin:".5em 0",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},':not(pre) > code[class*="language-"]':{padding:".1em",borderRadius:".3em"},comment:{color:"#797379"},prolog:{color:"#797379"},doctype:{color:"#797379"},cdata:{color:"#797379"},punctuation:{color:"#b9b5b8"},".namespace":{Opacity:".7"},null:{color:"#fd8b19"},operator:{color:"#fd8b19"},boolean:{color:"#fd8b19"},number:{color:"#fd8b19"},property:{color:"#fdcc59"},tag:{color:"#1290bf"},string:{color:"#149b93"},selector:{color:"#c85e7c"},"attr-name":{color:"#fd8b19"},entity:{color:"#149b93",cursor:"help"},url:{color:"#149b93"},".language-css .token.string":{color:"#149b93"},".style .token.string":{color:"#149b93"},"attr-value":{color:"#8fc13e"},keyword:{color:"#8fc13e"},control:{color:"#8fc13e"},directive:{color:"#8fc13e"},unit:{color:"#8fc13e"},statement:{color:"#149b93"},regex:{color:"#149b93"},atrule:{color:"#149b93"},placeholder:{color:"#1290bf"},variable:{color:"#1290bf"},important:{color:"#dd464c",fontWeight:"bold"},"pre > code.highlight":{Outline:".4em solid red",OutlineOffset:".4em"}}})(EY)),EY}var IY={},x0e;function mdt(){return x0e||(x0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Monaco, Consolas, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#263E52",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Monaco, Consolas, 'Andale Mono', 'Ubuntu Mono', monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#263E52",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#5c98cd"},prolog:{color:"#5c98cd"},doctype:{color:"#5c98cd"},cdata:{color:"#5c98cd"},punctuation:{color:"#f8f8f2"},".namespace":{Opacity:".7"},property:{color:"#F05E5D"},tag:{color:"#F05E5D"},constant:{color:"#F05E5D"},symbol:{color:"#F05E5D"},deleted:{color:"#F05E5D"},boolean:{color:"#BC94F9"},number:{color:"#BC94F9"},selector:{color:"#FCFCD6"},"attr-name":{color:"#FCFCD6"},string:{color:"#FCFCD6"},char:{color:"#FCFCD6"},builtin:{color:"#FCFCD6"},inserted:{color:"#FCFCD6"},operator:{color:"#f8f8f2"},entity:{color:"#f8f8f2",cursor:"help"},url:{color:"#f8f8f2"},".language-css .token.string":{color:"#f8f8f2"},".style .token.string":{color:"#f8f8f2"},variable:{color:"#f8f8f2"},atrule:{color:"#66D8EF"},"attr-value":{color:"#66D8EF"},function:{color:"#66D8EF"},"class-name":{color:"#66D8EF"},keyword:{color:"#6EB26E"},regex:{color:"#F05E5D"},important:{color:"#F05E5D",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(IY)),IY}var RY={},k0e;function gdt(){return k0e||(k0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#eee",background:"#2f2f2f",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#eee",background:"#2f2f2f",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",overflow:"auto",position:"relative",margin:"0.5em 0",padding:"1.25em 1em"},'code[class*="language-"]::-moz-selection':{background:"#363636"},'pre[class*="language-"]::-moz-selection':{background:"#363636"},'code[class*="language-"] ::-moz-selection':{background:"#363636"},'pre[class*="language-"] ::-moz-selection':{background:"#363636"},'code[class*="language-"]::selection':{background:"#363636"},'pre[class*="language-"]::selection':{background:"#363636"},'code[class*="language-"] ::selection':{background:"#363636"},'pre[class*="language-"] ::selection':{background:"#363636"},':not(pre) > code[class*="language-"]':{whiteSpace:"normal",borderRadius:"0.2em",padding:"0.1em"},".language-css > code":{color:"#fd9170"},".language-sass > code":{color:"#fd9170"},".language-scss > code":{color:"#fd9170"},'[class*="language-"] .namespace':{Opacity:"0.7"},atrule:{color:"#c792ea"},"attr-name":{color:"#ffcb6b"},"attr-value":{color:"#a5e844"},attribute:{color:"#a5e844"},boolean:{color:"#c792ea"},builtin:{color:"#ffcb6b"},cdata:{color:"#80cbc4"},char:{color:"#80cbc4"},class:{color:"#ffcb6b"},"class-name":{color:"#f2ff00"},comment:{color:"#616161"},constant:{color:"#c792ea"},deleted:{color:"#ff6666"},doctype:{color:"#616161"},entity:{color:"#ff6666"},function:{color:"#c792ea"},hexcode:{color:"#f2ff00"},id:{color:"#c792ea",fontWeight:"bold"},important:{color:"#c792ea",fontWeight:"bold"},inserted:{color:"#80cbc4"},keyword:{color:"#c792ea"},number:{color:"#fd9170"},operator:{color:"#89ddff"},prolog:{color:"#616161"},property:{color:"#80cbc4"},"pseudo-class":{color:"#a5e844"},"pseudo-element":{color:"#a5e844"},punctuation:{color:"#89ddff"},regex:{color:"#f2ff00"},selector:{color:"#ff6666"},string:{color:"#a5e844"},symbol:{color:"#c792ea"},tag:{color:"#ff6666"},unit:{color:"#fd9170"},url:{color:"#ff6666"},variable:{color:"#ff6666"}}})(RY)),RY}var zY={},v0e;function ydt(){return v0e||(v0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#90a4ae",background:"#fafafa",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#90a4ae",background:"#fafafa",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",overflow:"auto",position:"relative",margin:"0.5em 0",padding:"1.25em 1em"},'code[class*="language-"]::-moz-selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"]::-moz-selection':{background:"#cceae7",color:"#263238"},'code[class*="language-"] ::-moz-selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"] ::-moz-selection':{background:"#cceae7",color:"#263238"},'code[class*="language-"]::selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"]::selection':{background:"#cceae7",color:"#263238"},'code[class*="language-"] ::selection':{background:"#cceae7",color:"#263238"},'pre[class*="language-"] ::selection':{background:"#cceae7",color:"#263238"},':not(pre) > code[class*="language-"]':{whiteSpace:"normal",borderRadius:"0.2em",padding:"0.1em"},".language-css > code":{color:"#f76d47"},".language-sass > code":{color:"#f76d47"},".language-scss > code":{color:"#f76d47"},'[class*="language-"] .namespace':{Opacity:"0.7"},atrule:{color:"#7c4dff"},"attr-name":{color:"#39adb5"},"attr-value":{color:"#f6a434"},attribute:{color:"#f6a434"},boolean:{color:"#7c4dff"},builtin:{color:"#39adb5"},cdata:{color:"#39adb5"},char:{color:"#39adb5"},class:{color:"#39adb5"},"class-name":{color:"#6182b8"},comment:{color:"#aabfc9"},constant:{color:"#7c4dff"},deleted:{color:"#e53935"},doctype:{color:"#aabfc9"},entity:{color:"#e53935"},function:{color:"#7c4dff"},hexcode:{color:"#f76d47"},id:{color:"#7c4dff",fontWeight:"bold"},important:{color:"#7c4dff",fontWeight:"bold"},inserted:{color:"#39adb5"},keyword:{color:"#7c4dff"},number:{color:"#f76d47"},operator:{color:"#39adb5"},prolog:{color:"#aabfc9"},property:{color:"#39adb5"},"pseudo-class":{color:"#f6a434"},"pseudo-element":{color:"#f6a434"},punctuation:{color:"#39adb5"},regex:{color:"#6182b8"},selector:{color:"#e53935"},string:{color:"#f6a434"},symbol:{color:"#7c4dff"},tag:{color:"#e53935"},unit:{color:"#f76d47"},url:{color:"#e53935"},variable:{color:"#e53935"}}})(zY)),zY}var DY={},w0e;function bdt(){return w0e||(w0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#c3cee3",background:"#263238",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",color:"#c3cee3",background:"#263238",fontFamily:"Roboto Mono, monospace",fontSize:"1em",lineHeight:"1.5em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",overflow:"auto",position:"relative",margin:"0.5em 0",padding:"1.25em 1em"},'code[class*="language-"]::-moz-selection':{background:"#363636"},'pre[class*="language-"]::-moz-selection':{background:"#363636"},'code[class*="language-"] ::-moz-selection':{background:"#363636"},'pre[class*="language-"] ::-moz-selection':{background:"#363636"},'code[class*="language-"]::selection':{background:"#363636"},'pre[class*="language-"]::selection':{background:"#363636"},'code[class*="language-"] ::selection':{background:"#363636"},'pre[class*="language-"] ::selection':{background:"#363636"},':not(pre) > code[class*="language-"]':{whiteSpace:"normal",borderRadius:"0.2em",padding:"0.1em"},".language-css > code":{color:"#fd9170"},".language-sass > code":{color:"#fd9170"},".language-scss > code":{color:"#fd9170"},'[class*="language-"] .namespace':{Opacity:"0.7"},atrule:{color:"#c792ea"},"attr-name":{color:"#ffcb6b"},"attr-value":{color:"#c3e88d"},attribute:{color:"#c3e88d"},boolean:{color:"#c792ea"},builtin:{color:"#ffcb6b"},cdata:{color:"#80cbc4"},char:{color:"#80cbc4"},class:{color:"#ffcb6b"},"class-name":{color:"#f2ff00"},color:{color:"#f2ff00"},comment:{color:"#546e7a"},constant:{color:"#c792ea"},deleted:{color:"#f07178"},doctype:{color:"#546e7a"},entity:{color:"#f07178"},function:{color:"#c792ea"},hexcode:{color:"#f2ff00"},id:{color:"#c792ea",fontWeight:"bold"},important:{color:"#c792ea",fontWeight:"bold"},inserted:{color:"#80cbc4"},keyword:{color:"#c792ea",fontStyle:"italic"},number:{color:"#fd9170"},operator:{color:"#89ddff"},prolog:{color:"#546e7a"},property:{color:"#80cbc4"},"pseudo-class":{color:"#c3e88d"},"pseudo-element":{color:"#c3e88d"},punctuation:{color:"#89ddff"},regex:{color:"#f2ff00"},selector:{color:"#f07178"},string:{color:"#c3e88d"},symbol:{color:"#c792ea"},tag:{color:"#f07178"},unit:{color:"#f07178"},url:{color:"#fd9170"},variable:{color:"#f07178"}}})(DY)),DY}var OY={},C0e;function xdt(){return C0e||(C0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#d6deeb",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",fontSize:"1em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"white",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",fontSize:"1em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",background:"#011627"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},':not(pre) > code[class*="language-"]':{color:"white",background:"#011627",padding:"0.1em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"rgb(99, 119, 119)",fontStyle:"italic"},prolog:{color:"rgb(99, 119, 119)",fontStyle:"italic"},cdata:{color:"rgb(99, 119, 119)",fontStyle:"italic"},punctuation:{color:"rgb(199, 146, 234)"},".namespace":{color:"rgb(178, 204, 214)"},deleted:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"},symbol:{color:"rgb(128, 203, 196)"},property:{color:"rgb(128, 203, 196)"},tag:{color:"rgb(127, 219, 202)"},operator:{color:"rgb(127, 219, 202)"},keyword:{color:"rgb(127, 219, 202)"},boolean:{color:"rgb(255, 88, 116)"},number:{color:"rgb(247, 140, 108)"},constant:{color:"rgb(130, 170, 255)"},function:{color:"rgb(130, 170, 255)"},builtin:{color:"rgb(130, 170, 255)"},char:{color:"rgb(130, 170, 255)"},selector:{color:"rgb(199, 146, 234)",fontStyle:"italic"},doctype:{color:"rgb(199, 146, 234)",fontStyle:"italic"},"attr-name":{color:"rgb(173, 219, 103)",fontStyle:"italic"},inserted:{color:"rgb(173, 219, 103)",fontStyle:"italic"},string:{color:"rgb(173, 219, 103)"},url:{color:"rgb(173, 219, 103)"},entity:{color:"rgb(173, 219, 103)"},".language-css .token.string":{color:"rgb(173, 219, 103)"},".style .token.string":{color:"rgb(173, 219, 103)"},"class-name":{color:"rgb(255, 203, 139)"},atrule:{color:"rgb(255, 203, 139)"},"attr-value":{color:"rgb(255, 203, 139)"},regex:{color:"rgb(214, 222, 235)"},important:{color:"rgb(214, 222, 235)",fontWeight:"bold"},variable:{color:"rgb(214, 222, 235)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(OY)),OY}var BY={},S0e;function kdt(){return S0e||(S0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f8f8f2",background:"none",fontFamily:`"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`,textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f8f8f2",background:"#2E3440",fontFamily:`"Fira Code", Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace`,textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em"},':not(pre) > code[class*="language-"]':{background:"#2E3440",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#636f88"},prolog:{color:"#636f88"},doctype:{color:"#636f88"},cdata:{color:"#636f88"},punctuation:{color:"#81A1C1"},".namespace":{Opacity:".7"},property:{color:"#81A1C1"},tag:{color:"#81A1C1"},constant:{color:"#81A1C1"},symbol:{color:"#81A1C1"},deleted:{color:"#81A1C1"},number:{color:"#B48EAD"},boolean:{color:"#81A1C1"},selector:{color:"#A3BE8C"},"attr-name":{color:"#A3BE8C"},string:{color:"#A3BE8C"},char:{color:"#A3BE8C"},builtin:{color:"#A3BE8C"},inserted:{color:"#A3BE8C"},operator:{color:"#81A1C1"},entity:{color:"#81A1C1",cursor:"help"},url:{color:"#81A1C1"},".language-css .token.string":{color:"#81A1C1"},".style .token.string":{color:"#81A1C1"},variable:{color:"#81A1C1"},atrule:{color:"#88C0D0"},"attr-value":{color:"#88C0D0"},function:{color:"#88C0D0"},"class-name":{color:"#88C0D0"},keyword:{color:"#81A1C1"},regex:{color:"#EBCB8B"},important:{color:"#EBCB8B",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(BY)),BY}var NY={},M0e;function vdt(){return M0e||(M0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}}})(NY)),NY}var jY={},_0e;function wdt(){return _0e||(_0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}}})(jY)),jY}var PY={},T0e;function Cdt(){return T0e||(T0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"15px",lineHeight:"1.5",color:"#dccf8f",textShadow:"0"},'pre[class*="language-"]':{MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordBreak:"break-all",wordWrap:"break-word",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"15px",lineHeight:"1.5",color:"#DCCF8F",textShadow:"0",borderRadius:"5px",border:"1px solid #000",background:"#181914 url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAMAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQACQYGBgcGCQcHCQ0IBwgNDwsJCQsPEQ4ODw4OERENDg4ODg0RERQUFhQUERoaHBwaGiYmJiYmKysrKysrKysrKwEJCAgJCgkMCgoMDwwODA8TDg4ODhMVDg4PDg4VGhMRERERExoXGhYWFhoXHR0aGh0dJCQjJCQrKysrKysrKysr/8AAEQgAjACMAwEiAAIRAQMRAf/EAF4AAQEBAAAAAAAAAAAAAAAAAAABBwEBAQAAAAAAAAAAAAAAAAAAAAIQAAEDAwIHAQEAAAAAAAAAAADwAREhYaExkUFRcYGxwdHh8REBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AyGFEjHaBS2fDDs2zkhKmBKktb7km+ZwwCnXPkLVmCTMItj6AXFxRS465/BTnkAJvkLkJe+7AKKoi2AtRS2zuAWsCb5GOlBN8gKfmuGHZ8MFqIth3ALmFoFwbwKWyAlTAp17uKqBvgBD8sM4fTjhvAhkzhaRkBMKBrfs7jGPIpzy7gFrAqnC0C0gB0EWwBDW2cBVQwm+QtPpa3wBO3sVvszCnLAhkzgL5/RLf13cLQd8/AGlu0Cb5HTx9KuAEieGJEdcehS3eRTp2ATdt3CpIm+QtZwAhROXFeb7swp/ahaM3kBE/jSIUBc/AWrgBN8uNFAl+b7sAXFxFn2YLUU5Ns7gFX8C4ib+hN8gFWXwK3bZglxEJm+gKdciLPsFV/TClsgJUwKJ5FVA7tvIFrfZhVfGJDcsCKaYgAqv6YRbE+RWOWBtu7+AL3yRalXLyKqAIIfk+zARbDgFyEsncYwJvlgFRW+GEWntIi2P0BooyFxcNr8Ep3+ANLbMO+QyhvbiqdgC0kVvgUUiLYgBS2QtPbiVI1/sgOmG9uO+Y8DW+7jS2zAOnj6O2BndwuIAUtkdRN8gFoK3wwXMQyZwHVbClsuNLd4E3yAUR6FVDBR+BafQGt93LVMxJTv8ABts4CVLhcfYWsCb5kC9/BHdU8CLYFY5bMAd+eX9MGthhpbA1vu4B7+RKkaW2Yq4AQtVBBFsAJU/AuIXBhN8gGWnstefhiZyWvLAEnbYS1uzSFP6Jvn4Baxx70JKkQojLib5AVTey1jjgkKJGO0AKWyOm7N7cSpgSpAdPH0Tfd/gp1z5C1ZgKqN9J2wFxcUUuAFLZAm+QC0Fb4YUVRFsAOvj4KW2dwtYE3yAWk/wS/PLMKfmuGHZ8MAXF/Ja32Yi5haAKWz4Ydm2cSpgU693Atb7km+Zwwh+WGcPpxw3gAkzCLY+iYUDW/Z3Adc/gpzyFrAqnALkJe+7DoItgAtRS2zuKqGE3yAx0oJvkdvYrfZmALURbDuL5/RLf13cAuDeBS2RpbtAm+QFVA3wR+3fUtFHoBDJnC0jIXH0HWsgMY8inPLuOkd9chp4z20ALQLSA8cI9jYAIa2zjzjBd8gRafS1vgiUho/kAKcsCGTOGWvoOpkAtB3z8Hm8x2Ff5ADp4+lXAlIvcmwH/2Q==') repeat left top",padding:"12px",overflow:"auto"},'pre > code[class*="language-"]':{fontSize:"1em"},':not(pre) > code[class*="language-"]':{borderRadius:"5px",border:"1px solid #000",color:"#DCCF8F",background:"#181914 url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAMAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQACQYGBgcGCQcHCQ0IBwgNDwsJCQsPEQ4ODw4OERENDg4ODg0RERQUFhQUERoaHBwaGiYmJiYmKysrKysrKysrKwEJCAgJCgkMCgoMDwwODA8TDg4ODhMVDg4PDg4VGhMRERERExoXGhYWFhoXHR0aGh0dJCQjJCQrKysrKysrKysr/8AAEQgAjACMAwEiAAIRAQMRAf/EAF4AAQEBAAAAAAAAAAAAAAAAAAABBwEBAQAAAAAAAAAAAAAAAAAAAAIQAAEDAwIHAQEAAAAAAAAAAADwAREhYaExkUFRcYGxwdHh8REBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8AyGFEjHaBS2fDDs2zkhKmBKktb7km+ZwwCnXPkLVmCTMItj6AXFxRS465/BTnkAJvkLkJe+7AKKoi2AtRS2zuAWsCb5GOlBN8gKfmuGHZ8MFqIth3ALmFoFwbwKWyAlTAp17uKqBvgBD8sM4fTjhvAhkzhaRkBMKBrfs7jGPIpzy7gFrAqnC0C0gB0EWwBDW2cBVQwm+QtPpa3wBO3sVvszCnLAhkzgL5/RLf13cLQd8/AGlu0Cb5HTx9KuAEieGJEdcehS3eRTp2ATdt3CpIm+QtZwAhROXFeb7swp/ahaM3kBE/jSIUBc/AWrgBN8uNFAl+b7sAXFxFn2YLUU5Ns7gFX8C4ib+hN8gFWXwK3bZglxEJm+gKdciLPsFV/TClsgJUwKJ5FVA7tvIFrfZhVfGJDcsCKaYgAqv6YRbE+RWOWBtu7+AL3yRalXLyKqAIIfk+zARbDgFyEsncYwJvlgFRW+GEWntIi2P0BooyFxcNr8Ep3+ANLbMO+QyhvbiqdgC0kVvgUUiLYgBS2QtPbiVI1/sgOmG9uO+Y8DW+7jS2zAOnj6O2BndwuIAUtkdRN8gFoK3wwXMQyZwHVbClsuNLd4E3yAUR6FVDBR+BafQGt93LVMxJTv8ABts4CVLhcfYWsCb5kC9/BHdU8CLYFY5bMAd+eX9MGthhpbA1vu4B7+RKkaW2Yq4AQtVBBFsAJU/AuIXBhN8gGWnstefhiZyWvLAEnbYS1uzSFP6Jvn4Baxx70JKkQojLib5AVTey1jjgkKJGO0AKWyOm7N7cSpgSpAdPH0Tfd/gp1z5C1ZgKqN9J2wFxcUUuAFLZAm+QC0Fb4YUVRFsAOvj4KW2dwtYE3yAWk/wS/PLMKfmuGHZ8MAXF/Ja32Yi5haAKWz4Ydm2cSpgU693Atb7km+Zwwh+WGcPpxw3gAkzCLY+iYUDW/Z3Adc/gpzyFrAqnALkJe+7DoItgAtRS2zuKqGE3yAx0oJvkdvYrfZmALURbDuL5/RLf13cAuDeBS2RpbtAm+QFVA3wR+3fUtFHoBDJnC0jIXH0HWsgMY8inPLuOkd9chp4z20ALQLSA8cI9jYAIa2zjzjBd8gRafS1vgiUho/kAKcsCGTOGWvoOpkAtB3z8Hm8x2Ff5ADp4+lXAlIvcmwH/2Q==') repeat left top",padding:"2px 6px"},namespace:{Opacity:".7"},comment:{color:"#586e75",fontStyle:"italic"},prolog:{color:"#586e75",fontStyle:"italic"},doctype:{color:"#586e75",fontStyle:"italic"},cdata:{color:"#586e75",fontStyle:"italic"},number:{color:"#b89859"},string:{color:"#468966"},char:{color:"#468966"},builtin:{color:"#468966"},inserted:{color:"#468966"},"attr-name":{color:"#b89859"},operator:{color:"#dccf8f"},entity:{color:"#dccf8f",cursor:"help"},url:{color:"#dccf8f"},".language-css .token.string":{color:"#dccf8f"},".style .token.string":{color:"#dccf8f"},selector:{color:"#859900"},regex:{color:"#859900"},atrule:{color:"#cb4b16"},keyword:{color:"#cb4b16"},"attr-value":{color:"#468966"},function:{color:"#b58900"},variable:{color:"#b58900"},placeholder:{color:"#b58900"},property:{color:"#b89859"},tag:{color:"#ffb03b"},boolean:{color:"#b89859"},constant:{color:"#b89859"},symbol:{color:"#b89859"},important:{color:"#dc322f"},statement:{color:"#dc322f"},deleted:{color:"#dc322f"},punctuation:{color:"#dccf8f"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(PY)),PY}var FY={},A0e;function Sdt(){return A0e||(A0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={"code[class*='language-']":{color:"#9efeff",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",fontFamily:"'Operator Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontWeight:"400",fontSize:"17px",lineHeight:"25px",letterSpacing:"0.5px",textShadow:"0 1px #222245"},"pre[class*='language-']":{color:"#9efeff",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",fontFamily:"'Operator Mono', 'Fira Code', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontWeight:"400",fontSize:"17px",lineHeight:"25px",letterSpacing:"0.5px",textShadow:"0 1px #222245",padding:"2em",margin:"0.5em 0",overflow:"auto",background:"#1e1e3f"},"pre[class*='language-']::-moz-selection":{color:"inherit",background:"#a599e9"},"pre[class*='language-'] ::-moz-selection":{color:"inherit",background:"#a599e9"},"code[class*='language-']::-moz-selection":{color:"inherit",background:"#a599e9"},"code[class*='language-'] ::-moz-selection":{color:"inherit",background:"#a599e9"},"pre[class*='language-']::selection":{color:"inherit",background:"#a599e9"},"pre[class*='language-'] ::selection":{color:"inherit",background:"#a599e9"},"code[class*='language-']::selection":{color:"inherit",background:"#a599e9"},"code[class*='language-'] ::selection":{color:"inherit",background:"#a599e9"},":not(pre) > code[class*='language-']":{background:"#1e1e3f",padding:"0.1em",borderRadius:"0.3em"},"":{fontWeight:"400"},comment:{color:"#b362ff"},prolog:{color:"#b362ff"},cdata:{color:"#b362ff"},delimiter:{color:"#ff9d00"},keyword:{color:"#ff9d00"},selector:{color:"#ff9d00"},important:{color:"#ff9d00"},atrule:{color:"#ff9d00"},operator:{color:"rgb(255, 180, 84)",background:"none"},"attr-name":{color:"rgb(255, 180, 84)"},punctuation:{color:"#ffffff"},boolean:{color:"rgb(255, 98, 140)"},tag:{color:"rgb(255, 157, 0)"},"tag.punctuation":{color:"rgb(255, 157, 0)"},doctype:{color:"rgb(255, 157, 0)"},builtin:{color:"rgb(255, 157, 0)"},entity:{color:"#6897bb",background:"none"},symbol:{color:"#6897bb"},number:{color:"#ff628c"},property:{color:"#ff628c"},constant:{color:"#ff628c"},variable:{color:"#ff628c"},string:{color:"#a5ff90"},char:{color:"#a5ff90"},"attr-value":{color:"#a5c261"},"attr-value.punctuation":{color:"#a5c261"},"attr-value.punctuation:first-child":{color:"#a9b7c6"},url:{color:"#287bde",textDecoration:"underline",background:"none"},function:{color:"rgb(250, 208, 0)"},regex:{background:"#364135"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{background:"#00ff00"},deleted:{background:"#ff000d"},"code.language-css .token.property":{color:"#a9b7c6"},"code.language-css .token.property + .token.punctuation":{color:"#a9b7c6"},"code.language-css .token.id":{color:"#ffc66d"},"code.language-css .token.selector > .token.class":{color:"#ffc66d"},"code.language-css .token.selector > .token.attribute":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-class":{color:"#ffc66d"},"code.language-css .token.selector > .token.pseudo-element":{color:"#ffc66d"},"class-name":{color:"#fb94ff"},".language-css .token.string":{background:"none"},".style .token.string":{background:"none"},".line-highlight.line-highlight":{marginTop:"36px",background:"linear-gradient(to right, rgba(179, 98, 255, 0.17), transparent)"},".line-highlight.line-highlight:before":{content:"''"},".line-highlight.line-highlight[data-end]:after":{content:"''"}}})(FY)),FY}var qY={},L0e;function Mdt(){return L0e||(L0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#839496",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#839496",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em",background:"#002b36"},':not(pre) > code[class*="language-"]':{background:"#002b36",padding:".1em",borderRadius:".3em"},comment:{color:"#586e75"},prolog:{color:"#586e75"},doctype:{color:"#586e75"},cdata:{color:"#586e75"},punctuation:{color:"#93a1a1"},".namespace":{Opacity:".7"},property:{color:"#268bd2"},keyword:{color:"#268bd2"},tag:{color:"#268bd2"},"class-name":{color:"#FFFFB6",textDecoration:"underline"},boolean:{color:"#b58900"},constant:{color:"#b58900"},symbol:{color:"#dc322f"},deleted:{color:"#dc322f"},number:{color:"#859900"},selector:{color:"#859900"},"attr-name":{color:"#859900"},string:{color:"#859900"},char:{color:"#859900"},builtin:{color:"#859900"},inserted:{color:"#859900"},variable:{color:"#268bd2"},operator:{color:"#EDEDED"},function:{color:"#268bd2"},regex:{color:"#E9C062"},important:{color:"#fd971f",fontWeight:"bold"},entity:{color:"#FFFFB6",cursor:"help"},url:{color:"#96CBFE"},".language-css .token.string":{color:"#87C38A"},".style .token.string":{color:"#87C38A"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},atrule:{color:"#F9EE98"},"attr-value":{color:"#F9EE98"}}})(qY)),qY}var HY={},E0e;function _dt(){return E0e||(E0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3",background:"none",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",backgroundColor:"transparent !important",backgroundImage:"linear-gradient(to bottom, #2a2139 75%, #34294f)"},':not(pre) > code[class*="language-"]':{backgroundColor:"transparent !important",backgroundImage:"linear-gradient(to bottom, #2a2139 75%, #34294f)",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"#8e8e8e"},"block-comment":{color:"#8e8e8e"},prolog:{color:"#8e8e8e"},doctype:{color:"#8e8e8e"},cdata:{color:"#8e8e8e"},punctuation:{color:"#ccc"},tag:{color:"#e2777a"},"attr-name":{color:"#e2777a"},namespace:{color:"#e2777a"},number:{color:"#e2777a"},unit:{color:"#e2777a"},hexcode:{color:"#e2777a"},deleted:{color:"#e2777a"},property:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"},selector:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"},"function-name":{color:"#6196cc"},boolean:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"},"selector.id":{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"},function:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"},"class-name":{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"},constant:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},symbol:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},important:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575",fontWeight:"bold"},atrule:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},keyword:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},"selector.class":{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},builtin:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"},string:{color:"#f87c32"},char:{color:"#f87c32"},"attr-value":{color:"#f87c32"},regex:{color:"#f87c32"},variable:{color:"#f87c32"},operator:{color:"#67cdcc"},entity:{color:"#67cdcc",cursor:"help"},url:{color:"#67cdcc"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},inserted:{color:"green"}}})(HY)),HY}var $Y={},I0e;function Tdt(){return I0e||(I0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",border:"1px solid #dddddd",backgroundColor:"white"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{background:"#C1DEF1"},'pre[class*="language-"] ::-moz-selection':{background:"#C1DEF1"},'code[class*="language-"]::-moz-selection':{background:"#C1DEF1"},'code[class*="language-"] ::-moz-selection':{background:"#C1DEF1"},'pre[class*="language-"]::selection':{background:"#C1DEF1"},'pre[class*="language-"] ::selection':{background:"#C1DEF1"},'code[class*="language-"]::selection':{background:"#C1DEF1"},'code[class*="language-"] ::selection':{background:"#C1DEF1"},':not(pre) > code[class*="language-"]':{padding:".2em",paddingTop:"1px",paddingBottom:"1px",background:"#f8f8f8",border:"1px solid #dddddd"},comment:{color:"#008000",fontStyle:"italic"},prolog:{color:"#008000",fontStyle:"italic"},doctype:{color:"#008000",fontStyle:"italic"},cdata:{color:"#008000",fontStyle:"italic"},namespace:{Opacity:".7"},string:{color:"#A31515"},punctuation:{color:"#393A34"},operator:{color:"#393A34"},url:{color:"#36acaa"},symbol:{color:"#36acaa"},number:{color:"#36acaa"},boolean:{color:"#36acaa"},variable:{color:"#36acaa"},constant:{color:"#36acaa"},inserted:{color:"#36acaa"},atrule:{color:"#0000ff"},keyword:{color:"#0000ff"},"attr-value":{color:"#0000ff"},".language-autohotkey .token.selector":{color:"#0000ff"},".language-json .token.boolean":{color:"#0000ff"},".language-json .token.number":{color:"#0000ff"},'code[class*="language-css"]':{color:"#0000ff"},function:{color:"#393A34"},deleted:{color:"#9a050f"},".language-autohotkey .token.tag":{color:"#9a050f"},selector:{color:"#800000"},".language-autohotkey .token.keyword":{color:"#00009f"},important:{color:"#e90",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},"class-name":{color:"#2B91AF"},".language-json .token.property":{color:"#2B91AF"},tag:{color:"#800000"},"attr-name":{color:"#ff0000"},property:{color:"#ff0000"},regex:{color:"#ff0000"},entity:{color:"#ff0000"},"directive.tag.tag":{background:"#ffff00",color:"#393A34"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#a5a5a5"},".line-numbers .line-numbers-rows > span:before":{color:"#2B91AF"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(193, 222, 241, 0.2) 70%, rgba(221, 222, 241, 0))"}}})($Y)),$Y}var VY={},R0e;function Adt(){return R0e||(R0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"},constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}}})(VY)),VY}var UY={},z0e;function Ldt(){return z0e||(z0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordWrap:"normal",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"14px",color:"#76d9e6",textShadow:"none"},'pre[class*="language-"]':{MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",whiteSpace:"pre-wrap",wordWrap:"normal",fontFamily:'Menlo, Monaco, "Courier New", monospace',fontSize:"14px",color:"#76d9e6",textShadow:"none",background:"#2a2a2a",padding:"15px",borderRadius:"4px",border:"1px solid #e1e1e8",overflow:"auto",position:"relative"},'pre > code[class*="language-"]':{fontSize:"1em"},':not(pre) > code[class*="language-"]':{background:"#2a2a2a",padding:"0.15em 0.2em 0.05em",borderRadius:".3em",border:"0.13em solid #7a6652",boxShadow:"1px 1px 0.3em -0.1em #000 inset"},'pre[class*="language-"] code':{whiteSpace:"pre",display:"block"},namespace:{Opacity:".7"},comment:{color:"#6f705e"},prolog:{color:"#6f705e"},doctype:{color:"#6f705e"},cdata:{color:"#6f705e"},operator:{color:"#a77afe"},boolean:{color:"#a77afe"},number:{color:"#a77afe"},"attr-name":{color:"#e6d06c"},string:{color:"#e6d06c"},entity:{color:"#e6d06c",cursor:"help"},url:{color:"#e6d06c"},".language-css .token.string":{color:"#e6d06c"},".style .token.string":{color:"#e6d06c"},selector:{color:"#a6e22d"},inserted:{color:"#a6e22d"},atrule:{color:"#ef3b7d"},"attr-value":{color:"#ef3b7d"},keyword:{color:"#ef3b7d"},important:{color:"#ef3b7d",fontWeight:"bold"},deleted:{color:"#ef3b7d"},regex:{color:"#76d9e6"},statement:{color:"#76d9e6",fontWeight:"bold"},placeholder:{color:"#fff"},variable:{color:"#fff"},bold:{fontWeight:"bold"},punctuation:{color:"#bebec5"},italic:{fontStyle:"italic"},"code.language-markup":{color:"#f9f9f9"},"code.language-markup .token.tag":{color:"#ef3b7d"},"code.language-markup .token.attr-name":{color:"#a6e22d"},"code.language-markup .token.attr-value":{color:"#e6d06c"},"code.language-markup .token.style":{color:"#76d9e6"},"code.language-markup .token.script":{color:"#76d9e6"},"code.language-markup .token.script .token.keyword":{color:"#76d9e6"},".line-highlight.line-highlight":{padding:"0",background:"rgba(255, 255, 255, 0.08)"},".line-highlight.line-highlight:before":{padding:"0.2em 0.5em",backgroundColor:"rgba(255, 255, 255, 0.4)",color:"black",height:"1em",lineHeight:"1em",boxShadow:"0 1px 1px rgba(255, 255, 255, 0.7)"},".line-highlight.line-highlight[data-end]:after":{padding:"0.2em 0.5em",backgroundColor:"rgba(255, 255, 255, 0.4)",color:"black",height:"1em",lineHeight:"1em",boxShadow:"0 1px 1px rgba(255, 255, 255, 0.7)"}}})(UY)),UY}var WY={},D0e;function Edt(){return D0e||(D0e=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default={'code[class*="language-"]':{color:"#22da17",fontFamily:"monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",lineHeight:"25px",fontSize:"18px",margin:"5px 0"},'pre[class*="language-"]':{color:"white",fontFamily:"monospace",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",lineHeight:"25px",fontSize:"18px",margin:"0.5em 0",background:"#0a143c",padding:"1em",overflow:"auto"},'pre[class*="language-"] *':{fontFamily:"monospace"},':not(pre) > code[class*="language-"]':{color:"white",background:"#0a143c",padding:"0.1em",borderRadius:"0.3em",whiteSpace:"normal"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"]::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},'code[class*="language-"] ::selection':{textShadow:"none",background:"rgba(29, 59, 83, 0.99)"},comment:{color:"rgb(99, 119, 119)",fontStyle:"italic"},prolog:{color:"rgb(99, 119, 119)",fontStyle:"italic"},cdata:{color:"rgb(99, 119, 119)",fontStyle:"italic"},punctuation:{color:"rgb(199, 146, 234)"},".namespace":{color:"rgb(178, 204, 214)"},deleted:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"},symbol:{color:"rgb(128, 203, 196)"},property:{color:"rgb(128, 203, 196)"},tag:{color:"rgb(127, 219, 202)"},operator:{color:"rgb(127, 219, 202)"},keyword:{color:"rgb(127, 219, 202)"},boolean:{color:"rgb(255, 88, 116)"},number:{color:"rgb(247, 140, 108)"},constant:{color:"rgb(34 183 199)"},function:{color:"rgb(34 183 199)"},builtin:{color:"rgb(34 183 199)"},char:{color:"rgb(34 183 199)"},selector:{color:"rgb(199, 146, 234)",fontStyle:"italic"},doctype:{color:"rgb(199, 146, 234)",fontStyle:"italic"},"attr-name":{color:"rgb(173, 219, 103)",fontStyle:"italic"},inserted:{color:"rgb(173, 219, 103)",fontStyle:"italic"},string:{color:"rgb(173, 219, 103)"},url:{color:"rgb(173, 219, 103)"},entity:{color:"rgb(173, 219, 103)"},".language-css .token.string":{color:"rgb(173, 219, 103)"},".style .token.string":{color:"rgb(173, 219, 103)"},"class-name":{color:"rgb(255, 203, 139)"},atrule:{color:"rgb(255, 203, 139)"},"attr-value":{color:"rgb(255, 203, 139)"},regex:{color:"rgb(214, 222, 235)"},important:{color:"rgb(214, 222, 235)",fontWeight:"bold"},variable:{color:"rgb(214, 222, 235)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}}})(WY)),WY}var O0e;function Idt(){return O0e||(O0e=1,(function(e){var t=Fut();Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"a11yDark",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"atomDark",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"base16AteliersulphurpoolLight",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"cb",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(e,"coldarkCold",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"coldarkDark",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"coy",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"coyWithoutShadows",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"darcula",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"dark",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"dracula",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(e,"duotoneDark",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(e,"duotoneEarth",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"duotoneForest",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(e,"duotoneLight",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(e,"duotoneSea",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"duotoneSpace",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(e,"funky",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"ghcolors",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(e,"gruvboxDark",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(e,"gruvboxLight",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"holiTheme",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"hopscotch",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(e,"lucario",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(e,"materialDark",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(e,"materialLight",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"materialOceanic",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(e,"nightOwl",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(e,"nord",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(e,"okaidia",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"oneDark",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"oneLight",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(e,"pojoaque",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(e,"prism",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"shadesOfPurple",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"solarizedDarkAtom",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(e,"solarizedlight",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"synthwave84",{enumerable:!0,get:function(){return we.default}}),Object.defineProperty(e,"tomorrow",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"twilight",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"vs",{enumerable:!0,get:function(){return ve.default}}),Object.defineProperty(e,"vscDarkPlus",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(e,"xonokai",{enumerable:!0,get:function(){return Le.default}}),Object.defineProperty(e,"zTouch",{enumerable:!0,get:function(){return Oe.default}});var r=t(qut()),n=t(Hut()),o=t($ut()),a=t(Vut()),i=t(Uut()),s=t(Wut()),l=t(Gut()),u=t(Zut()),d=t(Kut()),f=t(Yut()),p=t(Xut()),g=t(Qut()),b=t(Jut()),v=t(edt()),C=t(tdt()),S=t(rdt()),M=t(ndt()),T=t(odt()),A=t(adt()),R=t(idt()),I=t(sdt()),L=t(ldt()),N=t(cdt()),V=t(udt()),P=t(ddt()),G=t(hdt()),Q=t(fdt()),re=t(pdt()),K=t(mdt()),Z=t(gdt()),z=t(ydt()),O=t(bdt()),D=t(xdt()),$=t(kdt()),q=t(vdt()),U=t(wdt()),oe=t(Cdt()),W=t(Sdt()),he=t(Mdt()),we=t(_dt()),ve=t(Tdt()),fe=t(Adt()),Le=t(Ldt()),Oe=t(Edt())})(tY)),tY}var Rdt=Idt();dy.registerLanguage("js",sk);dy.registerLanguage("jsx",sk);dy.registerLanguage("ts",sk);dy.registerLanguage("tsx",sk);dy.registerLanguage("python",nve);const zdt=({children:e,language:t,className:r})=>y.jsx(dy,{language:t,style:Rdt.coldarkDark,customStyle:{margin:0,width:"100%",background:"transparent",padding:"1.5rem 1rem"},className:r,children:e});var iH={exports:{}},Ddt=iH.exports,B0e;function Odt(){return B0e||(B0e=1,(function(e,t){(function(r,n){e.exports=n()})(Ddt,(function(){var r=1e3,n=6e4,o=36e5,a="millisecond",i="second",s="minute",l="hour",u="day",d="week",f="month",p="quarter",g="year",b="date",v="Invalid Date",C=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(K){var Z=["th","st","nd","rd"],z=K%100;return"["+K+(Z[(z-20)%10]||Z[z]||Z[0])+"]"}},T=function(K,Z,z){var O=String(K);return!O||O.length>=Z?K:""+Array(Z+1-O.length).join(z)+K},A={s:T,z:function(K){var Z=-K.utcOffset(),z=Math.abs(Z),O=Math.floor(z/60),D=z%60;return(Z<=0?"+":"-")+T(O,2,"0")+":"+T(D,2,"0")},m:function K(Z,z){if(Z.date()<z.date())return-K(z,Z);var O=12*(z.year()-Z.year())+(z.month()-Z.month()),D=Z.clone().add(O,f),$=z-D<0,q=Z.clone().add(O+($?-1:1),f);return+(-(O+(z-D)/($?D-q:q-D))||0)},a:function(K){return K<0?Math.ceil(K)||0:Math.floor(K)},p:function(K){return{M:f,y:g,w:d,d:u,D:b,h:l,m:s,s:i,ms:a,Q:p}[K]||String(K||"").toLowerCase().replace(/s$/,"")},u:function(K){return K===void 0}},R="en",I={};I[R]=M;var L="$isDayjsObject",N=function(K){return K instanceof Q||!(!K||!K[L])},V=function K(Z,z,O){var D;if(!Z)return R;if(typeof Z=="string"){var $=Z.toLowerCase();I[$]&&(D=$),z&&(I[$]=z,D=$);var q=Z.split("-");if(!D&&q.length>1)return K(q[0])}else{var U=Z.name;I[U]=Z,D=U}return!O&&D&&(R=D),D||!O&&R},P=function(K,Z){if(N(K))return K.clone();var z=typeof Z=="object"?Z:{};return z.date=K,z.args=arguments,new Q(z)},G=A;G.l=V,G.i=N,G.w=function(K,Z){return P(K,{locale:Z.$L,utc:Z.$u,x:Z.$x,$offset:Z.$offset})};var Q=(function(){function K(z){this.$L=V(z.locale,null,!0),this.parse(z),this.$x=this.$x||z.x||{},this[L]=!0}var Z=K.prototype;return Z.parse=function(z){this.$d=(function(O){var D=O.date,$=O.utc;if(D===null)return new Date(NaN);if(G.u(D))return new Date;if(D instanceof Date)return new Date(D);if(typeof D=="string"&&!/Z$/i.test(D)){var q=D.match(C);if(q){var U=q[2]-1||0,oe=(q[7]||"0").substring(0,3);return $?new Date(Date.UTC(q[1],U,q[3]||1,q[4]||0,q[5]||0,q[6]||0,oe)):new Date(q[1],U,q[3]||1,q[4]||0,q[5]||0,q[6]||0,oe)}}return new Date(D)})(z),this.init()},Z.init=function(){var z=this.$d;this.$y=z.getFullYear(),this.$M=z.getMonth(),this.$D=z.getDate(),this.$W=z.getDay(),this.$H=z.getHours(),this.$m=z.getMinutes(),this.$s=z.getSeconds(),this.$ms=z.getMilliseconds()},Z.$utils=function(){return G},Z.isValid=function(){return this.$d.toString()!==v},Z.isSame=function(z,O){var D=P(z);return this.startOf(O)<=D&&D<=this.endOf(O)},Z.isAfter=function(z,O){return P(z)<this.startOf(O)},Z.isBefore=function(z,O){return this.endOf(O)<P(z)},Z.$g=function(z,O,D){return G.u(z)?this[O]:this.set(D,z)},Z.unix=function(){return Math.floor(this.valueOf()/1e3)},Z.valueOf=function(){return this.$d.getTime()},Z.startOf=function(z,O){var D=this,$=!!G.u(O)||O,q=G.p(z),U=function(Oe,Te){var rt=G.w(D.$u?Date.UTC(D.$y,Te,Oe):new Date(D.$y,Te,Oe),D);return $?rt:rt.endOf(u)},oe=function(Oe,Te){return G.w(D.toDate()[Oe].apply(D.toDate("s"),($?[0,0,0,0]:[23,59,59,999]).slice(Te)),D)},W=this.$W,he=this.$M,we=this.$D,ve="set"+(this.$u?"UTC":"");switch(q){case g:return $?U(1,0):U(31,11);case f:return $?U(1,he):U(0,he+1);case d:var fe=this.$locale().weekStart||0,Le=(W<fe?W+7:W)-fe;return U($?we-Le:we+(6-Le),he);case u:case b:return oe(ve+"Hours",0);case l:return oe(ve+"Minutes",1);case s:return oe(ve+"Seconds",2);case i:return oe(ve+"Milliseconds",3);default:return this.clone()}},Z.endOf=function(z){return this.startOf(z,!1)},Z.$set=function(z,O){var D,$=G.p(z),q="set"+(this.$u?"UTC":""),U=(D={},D[u]=q+"Date",D[b]=q+"Date",D[f]=q+"Month",D[g]=q+"FullYear",D[l]=q+"Hours",D[s]=q+"Minutes",D[i]=q+"Seconds",D[a]=q+"Milliseconds",D)[$],oe=$===u?this.$D+(O-this.$W):O;if($===f||$===g){var W=this.clone().set(b,1);W.$d[U](oe),W.init(),this.$d=W.set(b,Math.min(this.$D,W.daysInMonth())).$d}else U&&this.$d[U](oe);return this.init(),this},Z.set=function(z,O){return this.clone().$set(z,O)},Z.get=function(z){return this[G.p(z)]()},Z.add=function(z,O){var D,$=this;z=Number(z);var q=G.p(O),U=function(he){var we=P($);return G.w(we.date(we.date()+Math.round(he*z)),$)};if(q===f)return this.set(f,this.$M+z);if(q===g)return this.set(g,this.$y+z);if(q===u)return U(1);if(q===d)return U(7);var oe=(D={},D[s]=n,D[l]=o,D[i]=r,D)[q]||1,W=this.$d.getTime()+z*oe;return G.w(W,this)},Z.subtract=function(z,O){return this.add(-1*z,O)},Z.format=function(z){var O=this,D=this.$locale();if(!this.isValid())return D.invalidDate||v;var $=z||"YYYY-MM-DDTHH:mm:ssZ",q=G.z(this),U=this.$H,oe=this.$m,W=this.$M,he=D.weekdays,we=D.months,ve=D.meridiem,fe=function(Te,rt,dt,Wt){return Te&&(Te[rt]||Te(O,$))||dt[rt].slice(0,Wt)},Le=function(Te){return G.s(U%12||12,Te,"0")},Oe=ve||function(Te,rt,dt){var Wt=Te<12?"AM":"PM";return dt?Wt.toLowerCase():Wt};return $.replace(S,(function(Te,rt){return rt||(function(dt){switch(dt){case"YY":return String(O.$y).slice(-2);case"YYYY":return G.s(O.$y,4,"0");case"M":return W+1;case"MM":return G.s(W+1,2,"0");case"MMM":return fe(D.monthsShort,W,we,3);case"MMMM":return fe(we,W);case"D":return O.$D;case"DD":return G.s(O.$D,2,"0");case"d":return String(O.$W);case"dd":return fe(D.weekdaysMin,O.$W,he,2);case"ddd":return fe(D.weekdaysShort,O.$W,he,3);case"dddd":return he[O.$W];case"H":return String(U);case"HH":return G.s(U,2,"0");case"h":return Le(1);case"hh":return Le(2);case"a":return Oe(U,oe,!0);case"A":return Oe(U,oe,!1);case"m":return String(oe);case"mm":return G.s(oe,2,"0");case"s":return String(O.$s);case"ss":return G.s(O.$s,2,"0");case"SSS":return G.s(O.$ms,3,"0");case"Z":return q}return null})(Te)||q.replace(":","")}))},Z.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Z.diff=function(z,O,D){var $,q=this,U=G.p(O),oe=P(z),W=(oe.utcOffset()-this.utcOffset())*n,he=this-oe,we=function(){return G.m(q,oe)};switch(U){case g:$=we()/12;break;case f:$=we();break;case p:$=we()/3;break;case d:$=(he-W)/6048e5;break;case u:$=(he-W)/864e5;break;case l:$=he/o;break;case s:$=he/n;break;case i:$=he/r;break;default:$=he}return D?$:G.a($)},Z.daysInMonth=function(){return this.endOf(f).$D},Z.$locale=function(){return I[this.$L]},Z.locale=function(z,O){if(!z)return this.$L;var D=this.clone(),$=V(z,O,!0);return $&&(D.$L=$),D},Z.clone=function(){return G.w(this.$d,this)},Z.toDate=function(){return new Date(this.valueOf())},Z.toJSON=function(){return this.isValid()?this.toISOString():null},Z.toISOString=function(){return this.$d.toISOString()},Z.toString=function(){return this.$d.toUTCString()},K})(),re=Q.prototype;return P.prototype=re,[["$ms",a],["$s",i],["$m",s],["$H",l],["$W",u],["$M",f],["$y",g],["$D",b]].forEach((function(K){re[K[1]]=function(Z){return this.$g(Z,K[0],K[1])}})),P.extend=function(K,Z){return K.$i||(K(Z,Q,P),K.$i=!0),P},P.locale=V,P.isDayjs=N,P.unix=function(K){return P(1e3*K)},P.en=I[R],P.Ls=I,P.p={},P}))})(iH)),iH.exports}var Bdt=Odt();const Ndt=dl(Bdt);var ove=Object.defineProperty,j=(e,t)=>ove(e,"name",{value:t,configurable:!0}),jdt=(e,t)=>{for(var r in t)ove(e,r,{get:t[r],enumerable:!0})},Jc={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},He={trace:j((...e)=>{},"trace"),debug:j((...e)=>{},"debug"),info:j((...e)=>{},"info"),warn:j((...e)=>{},"warn"),error:j((...e)=>{},"error"),fatal:j((...e)=>{},"fatal")},Kre=j(function(e="fatal"){let t=Jc.fatal;typeof e=="string"?e.toLowerCase()in Jc&&(t=Jc[e]):typeof e=="number"&&(t=e),He.trace=()=>{},He.debug=()=>{},He.info=()=>{},He.warn=()=>{},He.error=()=>{},He.fatal=()=>{},t<=Jc.fatal&&(He.fatal=console.error?console.error.bind(console,ws("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",ws("FATAL"))),t<=Jc.error&&(He.error=console.error?console.error.bind(console,ws("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",ws("ERROR"))),t<=Jc.warn&&(He.warn=console.warn?console.warn.bind(console,ws("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",ws("WARN"))),t<=Jc.info&&(He.info=console.info?console.info.bind(console,ws("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",ws("INFO"))),t<=Jc.debug&&(He.debug=console.debug?console.debug.bind(console,ws("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",ws("DEBUG"))),t<=Jc.trace&&(He.trace=console.debug?console.debug.bind(console,ws("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",ws("TRACE")))},"setLogLevel"),ws=j(e=>`%c${Ndt().format("ss.SSS")} : ${e} : `,"format");const sH={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:e=>e>=255?255:e<0?0:e,g:e=>e>=255?255:e<0?0:e,b:e=>e>=255?255:e<0?0:e,h:e=>e%360,s:e=>e>=100?100:e<0?0:e,l:e=>e>=100?100:e<0?0:e,a:e=>e>=1?1:e<0?0:e},toLinear:e=>{const t=e/255;return e>.03928?Math.pow((t+.055)/1.055,2.4):t/12.92},hue2rgb:(e,t,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e),hsl2rgb:({h:e,s:t,l:r},n)=>{if(!t)return r*2.55;e/=360,t/=100,r/=100;const o=r<.5?r*(1+t):r+t-r*t,a=2*r-o;switch(n){case"r":return sH.hue2rgb(a,o,e+1/3)*255;case"g":return sH.hue2rgb(a,o,e)*255;case"b":return sH.hue2rgb(a,o,e-1/3)*255}},rgb2hsl:({r:e,g:t,b:r},n)=>{e/=255,t/=255,r/=255;const o=Math.max(e,t,r),a=Math.min(e,t,r),i=(o+a)/2;if(n==="l")return i*100;if(o===a)return 0;const s=o-a,l=i>.5?s/(2-o-a):s/(o+a);if(n==="s")return l*100;switch(o){case e:return((t-r)/s+(t<r?6:0))*60;case t:return((r-e)/s+2)*60;case r:return((e-t)/s+4)*60;default:return-1}}},Pdt={clamp:(e,t,r)=>t>r?Math.min(t,Math.max(r,e)):Math.min(r,Math.max(t,e)),round:e=>Math.round(e*1e10)/1e10},Fdt={dec2hex:e=>{const t=Math.round(e).toString(16);return t.length>1?t:`0${t}`}},Zt={channel:sH,lang:Pdt,unit:Fdt},Ad={};for(let e=0;e<=255;e++)Ad[e]=Zt.unit.dec2hex(e);const za={ALL:0,RGB:1,HSL:2};class qdt{constructor(){this.type=za.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=za.ALL}is(t){return this.type===t}}class Hdt{constructor(t,r){this.color=r,this.changed=!1,this.data=t,this.type=new qdt}set(t,r){return this.color=r,this.changed=!1,this.data=t,this.type.type=za.ALL,this}_ensureHSL(){const t=this.data,{h:r,s:n,l:o}=t;r===void 0&&(t.h=Zt.channel.rgb2hsl(t,"h")),n===void 0&&(t.s=Zt.channel.rgb2hsl(t,"s")),o===void 0&&(t.l=Zt.channel.rgb2hsl(t,"l"))}_ensureRGB(){const t=this.data,{r,g:n,b:o}=t;r===void 0&&(t.r=Zt.channel.hsl2rgb(t,"r")),n===void 0&&(t.g=Zt.channel.hsl2rgb(t,"g")),o===void 0&&(t.b=Zt.channel.hsl2rgb(t,"b"))}get r(){const t=this.data,r=t.r;return!this.type.is(za.HSL)&&r!==void 0?r:(this._ensureHSL(),Zt.channel.hsl2rgb(t,"r"))}get g(){const t=this.data,r=t.g;return!this.type.is(za.HSL)&&r!==void 0?r:(this._ensureHSL(),Zt.channel.hsl2rgb(t,"g"))}get b(){const t=this.data,r=t.b;return!this.type.is(za.HSL)&&r!==void 0?r:(this._ensureHSL(),Zt.channel.hsl2rgb(t,"b"))}get h(){const t=this.data,r=t.h;return!this.type.is(za.RGB)&&r!==void 0?r:(this._ensureRGB(),Zt.channel.rgb2hsl(t,"h"))}get s(){const t=this.data,r=t.s;return!this.type.is(za.RGB)&&r!==void 0?r:(this._ensureRGB(),Zt.channel.rgb2hsl(t,"s"))}get l(){const t=this.data,r=t.l;return!this.type.is(za.RGB)&&r!==void 0?r:(this._ensureRGB(),Zt.channel.rgb2hsl(t,"l"))}get a(){return this.data.a}set r(t){this.type.set(za.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(za.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(za.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(za.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(za.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(za.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}const TU=new Hdt({r:0,g:0,b:0,a:0},"transparent"),Vm={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:e=>{if(e.charCodeAt(0)!==35)return;const t=e.match(Vm.re);if(!t)return;const r=t[1],n=parseInt(r,16),o=r.length,a=o%4===0,i=o>4,s=i?1:17,l=i?8:4,u=a?0:-1,d=i?255:15;return TU.set({r:(n>>l*(u+3)&d)*s,g:(n>>l*(u+2)&d)*s,b:(n>>l*(u+1)&d)*s,a:a?(n&d)*s/255:1},e)},stringify:e=>{const{r:t,g:r,b:n,a:o}=e;return o<1?`#${Ad[Math.round(t)]}${Ad[Math.round(r)]}${Ad[Math.round(n)]}${Ad[Math.round(o*255)]}`:`#${Ad[Math.round(t)]}${Ad[Math.round(r)]}${Ad[Math.round(n)]}`}},yp={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:e=>{const t=e.match(yp.hueRe);if(t){const[,r,n]=t;switch(n){case"grad":return Zt.channel.clamp.h(parseFloat(r)*.9);case"rad":return Zt.channel.clamp.h(parseFloat(r)*180/Math.PI);case"turn":return Zt.channel.clamp.h(parseFloat(r)*360)}}return Zt.channel.clamp.h(parseFloat(e))},parse:e=>{const t=e.charCodeAt(0);if(t!==104&&t!==72)return;const r=e.match(yp.re);if(!r)return;const[,n,o,a,i,s]=r;return TU.set({h:yp._hue2deg(n),s:Zt.channel.clamp.s(parseFloat(o)),l:Zt.channel.clamp.l(parseFloat(a)),a:i?Zt.channel.clamp.a(s?parseFloat(i)/100:parseFloat(i)):1},e)},stringify:e=>{const{h:t,s:r,l:n,a:o}=e;return o<1?`hsla(${Zt.lang.round(t)}, ${Zt.lang.round(r)}%, ${Zt.lang.round(n)}%, ${o})`:`hsl(${Zt.lang.round(t)}, ${Zt.lang.round(r)}%, ${Zt.lang.round(n)}%)`}},_4={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:e=>{e=e.toLowerCase();const t=_4.colors[e];if(t)return Vm.parse(t)},stringify:e=>{const t=Vm.stringify(e);for(const r in _4.colors)if(_4.colors[r]===t)return r}},Zb={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:e=>{const t=e.charCodeAt(0);if(t!==114&&t!==82)return;const r=e.match(Zb.re);if(!r)return;const[,n,o,a,i,s,l,u,d]=r;return TU.set({r:Zt.channel.clamp.r(o?parseFloat(n)*2.55:parseFloat(n)),g:Zt.channel.clamp.g(i?parseFloat(a)*2.55:parseFloat(a)),b:Zt.channel.clamp.b(l?parseFloat(s)*2.55:parseFloat(s)),a:u?Zt.channel.clamp.a(d?parseFloat(u)/100:parseFloat(u)):1},e)},stringify:e=>{const{r:t,g:r,b:n,a:o}=e;return o<1?`rgba(${Zt.lang.round(t)}, ${Zt.lang.round(r)}, ${Zt.lang.round(n)}, ${Zt.lang.round(o)})`:`rgb(${Zt.lang.round(t)}, ${Zt.lang.round(r)}, ${Zt.lang.round(n)})`}},cc={format:{keyword:_4,hex:Vm,rgb:Zb,rgba:Zb,hsl:yp,hsla:yp},parse:e=>{if(typeof e!="string")return e;const t=Vm.parse(e)||Zb.parse(e)||yp.parse(e)||_4.parse(e);if(t)return t;throw new Error(`Unsupported color format: "${e}"`)},stringify:e=>!e.changed&&e.color?e.color:e.type.is(za.HSL)||e.data.r===void 0?yp.stringify(e):e.a<1||!Number.isInteger(e.r)||!Number.isInteger(e.g)||!Number.isInteger(e.b)?Zb.stringify(e):Vm.stringify(e)},ave=(e,t)=>{const r=cc.parse(e);for(const n in t)r[n]=Zt.channel.clamp[n](t[n]);return cc.stringify(r)},Vd=(e,t,r=0,n=1)=>{if(typeof e!="number")return ave(e,{a:t});const o=TU.set({r:Zt.channel.clamp.r(e),g:Zt.channel.clamp.g(t),b:Zt.channel.clamp.b(r),a:Zt.channel.clamp.a(n)});return cc.stringify(o)},$dt=e=>{const{r:t,g:r,b:n}=cc.parse(e),o=.2126*Zt.channel.toLinear(t)+.7152*Zt.channel.toLinear(r)+.0722*Zt.channel.toLinear(n);return Zt.lang.round(o)},Vdt=e=>$dt(e)>=.5,ml=e=>!Vdt(e),ive=(e,t,r)=>{const n=cc.parse(e),o=n[t],a=Zt.channel.clamp[t](o+r);return o!==a&&(n[t]=a),cc.stringify(n)},ze=(e,t)=>ive(e,"l",t),Ee=(e,t)=>ive(e,"l",-t),Y=(e,t)=>{const r=cc.parse(e),n={};for(const o in t)t[o]&&(n[o]=r[o]+t[o]);return ave(e,n)},Udt=(e,t,r=50)=>{const{r:n,g:o,b:a,a:i}=cc.parse(e),{r:s,g:l,b:u,a:d}=cc.parse(t),f=r/100,p=f*2-1,g=i-d,v=((p*g===-1?p:(p+g)/(1+p*g))+1)/2,C=1-v,S=n*v+s*C,M=o*v+l*C,T=a*v+u*C,A=i*f+d*(1-f);return Vd(S,M,T,A)},xe=(e,t=100)=>{const r=cc.parse(e);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,Udt(r,e,t)};const{entries:sve,setPrototypeOf:N0e,isFrozen:Wdt,getPrototypeOf:Gdt,getOwnPropertyDescriptor:Zdt}=Object;let{freeze:ri,seal:Ds,create:km}=Object,{apply:dJ,construct:hJ}=typeof Reflect<"u"&&Reflect;ri||(ri=function(t){return t});Ds||(Ds=function(t){return t});dJ||(dJ=function(t,r){for(var n=arguments.length,o=new Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];return t.apply(r,o)});hJ||(hJ=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return new t(...n)});const Tb=jo(Array.prototype.forEach),Kdt=jo(Array.prototype.lastIndexOf),j0e=jo(Array.prototype.pop),Ab=jo(Array.prototype.push),Ydt=jo(Array.prototype.splice),Ya=Array.isArray,Kb=jo(String.prototype.toLowerCase),GY=jo(String.prototype.toString),P0e=jo(String.prototype.match),lm=jo(String.prototype.replace),F0e=jo(String.prototype.indexOf),Xdt=jo(String.prototype.trim),Qdt=jo(Number.prototype.toString),Jdt=jo(Boolean.prototype.toString),q0e=typeof BigInt>"u"?null:jo(BigInt.prototype.toString),H0e=typeof Symbol>"u"?null:jo(Symbol.prototype.toString),co=jo(Object.prototype.hasOwnProperty),Lb=jo(Object.prototype.toString),va=jo(RegExp.prototype.test),x5=eht(TypeError);function jo(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return dJ(e,t,n)}}function eht(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return hJ(e,r)}}function ir(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Kb;if(N0e&&N0e(e,null),!Ya(t))return e;let n=t.length;for(;n--;){let o=t[n];if(typeof o=="string"){const a=r(o);a!==o&&(Wdt(t)||(t[n]=a),o=a)}e[o]=!0}return e}function tht(e){for(let t=0;t<e.length;t++)co(e,t)||(e[t]=null);return e}function Mi(e){const t=km(null);for(const[r,n]of sve(e))co(e,r)&&(Ya(n)?t[r]=tht(n):n&&typeof n=="object"&&n.constructor===Object?t[r]=Mi(n):t[r]=n);return t}function rht(e){switch(typeof e){case"string":return e;case"number":return Qdt(e);case"boolean":return Jdt(e);case"bigint":return q0e?q0e(e):"0";case"symbol":return H0e?H0e(e):"Symbol()";case"undefined":return Lb(e);case"function":case"object":{if(e===null)return Lb(e);const t=e,r=vm(t,"toString");if(typeof r=="function"){const n=r(t);return typeof n=="string"?n:Lb(n)}return Lb(e)}default:return Lb(e)}}function vm(e,t){for(;e!==null;){const n=Zdt(e,t);if(n){if(n.get)return jo(n.get);if(typeof n.value=="function")return jo(n.value)}e=Gdt(e)}function r(){return null}return r}function nht(e){try{return va(e,""),!0}catch{return!1}}const $0e=ri(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ZY=ri(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),KY=ri(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),oht=ri(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),YY=ri(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),aht=ri(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),V0e=ri(["#text"]),U0e=ri(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),XY=ri(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),W0e=ri(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),k5=ri(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),iht=Ds(/\{\{[\w\W]*|[\w\W]*\}\}/gm),sht=Ds(/<%[\w\W]*|[\w\W]*%>/gm),lht=Ds(/\$\{[\w\W]*/gm),cht=Ds(/^data-[\-\w.\u00B7-\uFFFF]+$/),uht=Ds(/^aria-[\-\w]+$/),lve=Ds(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),dht=Ds(/^(?:\w+script|data):/i),hht=Ds(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),cve=Ds(/^html$/i),fht=Ds(/^[a-z][.\w]*(-[.\w]+)+$/i);var G0e=Object.freeze({__proto__:null,ARIA_ATTR:uht,ATTR_WHITESPACE:hht,CUSTOM_ELEMENT:fht,DATA_ATTR:cht,DOCTYPE_NAME:cve,ERB_EXPR:sht,IS_ALLOWED_URI:lve,IS_SCRIPT_OR_DATA:dht,MUSTACHE_EXPR:iht,TMPLIT_EXPR:lht});const Eb={element:1,text:3,progressingInstruction:7,comment:8,document:9},pht=function(){return typeof window>"u"?null:window},mht=function(t,r){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let n=null;const o="data-tt-policy-suffix";r&&r.hasAttribute(o)&&(n=r.getAttribute(o));const a="dompurify"+(n?"#"+n:"");try{return t.createPolicy(a,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}},Z0e=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function uve(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pht();const t=Mt=>uve(Mt);if(t.version="3.4.1",t.removed=[],!e||!e.document||e.document.nodeType!==Eb.document||!e.Element)return t.isSupported=!1,t;let{document:r}=e;const n=r,o=n.currentScript,{DocumentFragment:a,HTMLTemplateElement:i,Node:s,Element:l,NodeFilter:u,NamedNodeMap:d=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:f,DOMParser:p,trustedTypes:g}=e,b=l.prototype,v=vm(b,"cloneNode"),C=vm(b,"remove"),S=vm(b,"nextSibling"),M=vm(b,"childNodes"),T=vm(b,"parentNode");if(typeof i=="function"){const Mt=r.createElement("template");Mt.content&&Mt.content.ownerDocument&&(r=Mt.content.ownerDocument)}let A,R="";const{implementation:I,createNodeIterator:L,createDocumentFragment:N,getElementsByTagName:V}=r,{importNode:P}=n;let G=Z0e();t.isSupported=typeof sve=="function"&&typeof T=="function"&&I&&I.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Q,ERB_EXPR:re,TMPLIT_EXPR:K,DATA_ATTR:Z,ARIA_ATTR:z,IS_SCRIPT_OR_DATA:O,ATTR_WHITESPACE:D,CUSTOM_ELEMENT:$}=G0e;let{IS_ALLOWED_URI:q}=G0e,U=null;const oe=ir({},[...$0e,...ZY,...KY,...YY,...V0e]);let W=null;const he=ir({},[...U0e,...XY,...W0e,...k5]);let we=Object.seal(km(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ve=null,fe=null;const Le=Object.seal(km(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Oe=!0,Te=!0,rt=!1,dt=!0,Wt=!1,zt=!0,Pt=!1,zr=!1,pr=!1,pt=!1,it=!1,Dr=!1,cn=!0,$r=!1;const yr="user-content-";let nt=!0,Xe=!1,se={},be=null;const je=ir({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let lt=null;const Ke=ir({},["audio","video","img","source","image","track"]);let qt=null;const Pr=ir({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Xt="http://www.w3.org/1998/Math/MathML",_r="http://www.w3.org/2000/svg",Tr="http://www.w3.org/1999/xhtml";let ft=Tr,ho=!1,On=null;const Aa=ir({},[Xt,_r,Tr],GY);let li=ir({},["mi","mo","mn","ms","mtext"]),qo=ir({},["annotation-xml"]);const La=ir({},["title","style","font","a","script"]);let Jn=null;const ci=["application/xhtml+xml","text/html"],ds="text/html";let pn=null,Qr=null;const Ho=r.createElement("form"),qa=function(ce){return ce instanceof RegExp||ce instanceof Function},eo=function(){let ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Qr&&Qr===ce)return;(!ce||typeof ce!="object")&&(ce={}),ce=Mi(ce),Jn=ci.indexOf(ce.PARSER_MEDIA_TYPE)===-1?ds:ce.PARSER_MEDIA_TYPE,pn=Jn==="application/xhtml+xml"?GY:Kb,U=co(ce,"ALLOWED_TAGS")&&Ya(ce.ALLOWED_TAGS)?ir({},ce.ALLOWED_TAGS,pn):oe,W=co(ce,"ALLOWED_ATTR")&&Ya(ce.ALLOWED_ATTR)?ir({},ce.ALLOWED_ATTR,pn):he,On=co(ce,"ALLOWED_NAMESPACES")&&Ya(ce.ALLOWED_NAMESPACES)?ir({},ce.ALLOWED_NAMESPACES,GY):Aa,qt=co(ce,"ADD_URI_SAFE_ATTR")&&Ya(ce.ADD_URI_SAFE_ATTR)?ir(Mi(Pr),ce.ADD_URI_SAFE_ATTR,pn):Pr,lt=co(ce,"ADD_DATA_URI_TAGS")&&Ya(ce.ADD_DATA_URI_TAGS)?ir(Mi(Ke),ce.ADD_DATA_URI_TAGS,pn):Ke,be=co(ce,"FORBID_CONTENTS")&&Ya(ce.FORBID_CONTENTS)?ir({},ce.FORBID_CONTENTS,pn):je,ve=co(ce,"FORBID_TAGS")&&Ya(ce.FORBID_TAGS)?ir({},ce.FORBID_TAGS,pn):Mi({}),fe=co(ce,"FORBID_ATTR")&&Ya(ce.FORBID_ATTR)?ir({},ce.FORBID_ATTR,pn):Mi({}),se=co(ce,"USE_PROFILES")?ce.USE_PROFILES&&typeof ce.USE_PROFILES=="object"?Mi(ce.USE_PROFILES):ce.USE_PROFILES:!1,Oe=ce.ALLOW_ARIA_ATTR!==!1,Te=ce.ALLOW_DATA_ATTR!==!1,rt=ce.ALLOW_UNKNOWN_PROTOCOLS||!1,dt=ce.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Wt=ce.SAFE_FOR_TEMPLATES||!1,zt=ce.SAFE_FOR_XML!==!1,Pt=ce.WHOLE_DOCUMENT||!1,pt=ce.RETURN_DOM||!1,it=ce.RETURN_DOM_FRAGMENT||!1,Dr=ce.RETURN_TRUSTED_TYPE||!1,pr=ce.FORCE_BODY||!1,cn=ce.SANITIZE_DOM!==!1,$r=ce.SANITIZE_NAMED_PROPS||!1,nt=ce.KEEP_CONTENT!==!1,Xe=ce.IN_PLACE||!1,q=nht(ce.ALLOWED_URI_REGEXP)?ce.ALLOWED_URI_REGEXP:lve,ft=typeof ce.NAMESPACE=="string"?ce.NAMESPACE:Tr,li=co(ce,"MATHML_TEXT_INTEGRATION_POINTS")&&ce.MATHML_TEXT_INTEGRATION_POINTS&&typeof ce.MATHML_TEXT_INTEGRATION_POINTS=="object"?Mi(ce.MATHML_TEXT_INTEGRATION_POINTS):ir({},["mi","mo","mn","ms","mtext"]),qo=co(ce,"HTML_INTEGRATION_POINTS")&&ce.HTML_INTEGRATION_POINTS&&typeof ce.HTML_INTEGRATION_POINTS=="object"?Mi(ce.HTML_INTEGRATION_POINTS):ir({},["annotation-xml"]);const Ne=co(ce,"CUSTOM_ELEMENT_HANDLING")&&ce.CUSTOM_ELEMENT_HANDLING&&typeof ce.CUSTOM_ELEMENT_HANDLING=="object"?Mi(ce.CUSTOM_ELEMENT_HANDLING):km(null);if(we=km(null),co(Ne,"tagNameCheck")&&qa(Ne.tagNameCheck)&&(we.tagNameCheck=Ne.tagNameCheck),co(Ne,"attributeNameCheck")&&qa(Ne.attributeNameCheck)&&(we.attributeNameCheck=Ne.attributeNameCheck),co(Ne,"allowCustomizedBuiltInElements")&&typeof Ne.allowCustomizedBuiltInElements=="boolean"&&(we.allowCustomizedBuiltInElements=Ne.allowCustomizedBuiltInElements),Wt&&(Te=!1),it&&(pt=!0),se&&(U=ir({},V0e),W=km(null),se.html===!0&&(ir(U,$0e),ir(W,U0e)),se.svg===!0&&(ir(U,ZY),ir(W,XY),ir(W,k5)),se.svgFilters===!0&&(ir(U,KY),ir(W,XY),ir(W,k5)),se.mathMl===!0&&(ir(U,YY),ir(W,W0e),ir(W,k5))),Le.tagCheck=null,Le.attributeCheck=null,co(ce,"ADD_TAGS")&&(typeof ce.ADD_TAGS=="function"?Le.tagCheck=ce.ADD_TAGS:Ya(ce.ADD_TAGS)&&(U===oe&&(U=Mi(U)),ir(U,ce.ADD_TAGS,pn))),co(ce,"ADD_ATTR")&&(typeof ce.ADD_ATTR=="function"?Le.attributeCheck=ce.ADD_ATTR:Ya(ce.ADD_ATTR)&&(W===he&&(W=Mi(W)),ir(W,ce.ADD_ATTR,pn))),co(ce,"ADD_URI_SAFE_ATTR")&&Ya(ce.ADD_URI_SAFE_ATTR)&&ir(qt,ce.ADD_URI_SAFE_ATTR,pn),co(ce,"FORBID_CONTENTS")&&Ya(ce.FORBID_CONTENTS)&&(be===je&&(be=Mi(be)),ir(be,ce.FORBID_CONTENTS,pn)),co(ce,"ADD_FORBID_CONTENTS")&&Ya(ce.ADD_FORBID_CONTENTS)&&(be===je&&(be=Mi(be)),ir(be,ce.ADD_FORBID_CONTENTS,pn)),nt&&(U["#text"]=!0),Pt&&ir(U,["html","head","body"]),U.table&&(ir(U,["tbody"]),delete ve.tbody),ce.TRUSTED_TYPES_POLICY){if(typeof ce.TRUSTED_TYPES_POLICY.createHTML!="function")throw x5('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof ce.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw x5('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');A=ce.TRUSTED_TYPES_POLICY,R=A.createHTML("")}else A===void 0&&(A=mht(g,o)),A!==null&&typeof R=="string"&&(R=A.createHTML(""));ri&&ri(ce),Qr=ce},$o=ir({},[...ZY,...KY,...oht]),ui=ir({},[...YY,...aht]),An=function(ce){let Ne=T(ce);(!Ne||!Ne.tagName)&&(Ne={namespaceURI:ft,tagName:"template"});const ot=Kb(ce.tagName),ur=Kb(Ne.tagName);return On[ce.namespaceURI]?ce.namespaceURI===_r?Ne.namespaceURI===Tr?ot==="svg":Ne.namespaceURI===Xt?ot==="svg"&&(ur==="annotation-xml"||li[ur]):!!$o[ot]:ce.namespaceURI===Xt?Ne.namespaceURI===Tr?ot==="math":Ne.namespaceURI===_r?ot==="math"&&qo[ur]:!!ui[ot]:ce.namespaceURI===Tr?Ne.namespaceURI===_r&&!qo[ur]||Ne.namespaceURI===Xt&&!li[ur]?!1:!ui[ot]&&(La[ot]||!$o[ot]):!!(Jn==="application/xhtml+xml"&&On[ce.namespaceURI]):!1},nn=function(ce){Ab(t.removed,{element:ce});try{T(ce).removeChild(ce)}catch{C(ce)}},to=function(ce,Ne){try{Ab(t.removed,{attribute:Ne.getAttributeNode(ce),from:Ne})}catch{Ab(t.removed,{attribute:null,from:Ne})}if(Ne.removeAttribute(ce),ce==="is")if(pt||it)try{nn(Ne)}catch{}else try{Ne.setAttribute(ce,"")}catch{}},di=function(ce){let Ne=null,ot=null;if(pr)ce="<remove></remove>"+ce;else{const br=P0e(ce,/^[\r\n\t ]+/);ot=br&&br[0]}Jn==="application/xhtml+xml"&&ft===Tr&&(ce='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+ce+"</body></html>");const ur=A?A.createHTML(ce):ce;if(ft===Tr)try{Ne=new p().parseFromString(ur,Jn)}catch{}if(!Ne||!Ne.documentElement){Ne=I.createDocument(ft,"template",null);try{Ne.documentElement.innerHTML=ho?R:ur}catch{}}const Jt=Ne.body||Ne.documentElement;return ce&&ot&&Jt.insertBefore(r.createTextNode(ot),Jt.childNodes[0]||null),ft===Tr?V.call(Ne,Pt?"html":"body")[0]:Pt?Ne.documentElement:Jt},hi=function(ce){return L.call(ce.ownerDocument||ce,ce,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},ro=function(ce){return ce instanceof f&&(typeof ce.nodeName!="string"||typeof ce.textContent!="string"||typeof ce.removeChild!="function"||!(ce.attributes instanceof d)||typeof ce.removeAttribute!="function"||typeof ce.setAttribute!="function"||typeof ce.namespaceURI!="string"||typeof ce.insertBefore!="function"||typeof ce.hasChildNodes!="function")},Vr=function(ce){return typeof s=="function"&&ce instanceof s};function on(Mt,ce,Ne){Tb(Mt,ot=>{ot.call(t,ce,Ne,Qr)})}const Bn=function(ce){let Ne=null;if(on(G.beforeSanitizeElements,ce,null),ro(ce))return nn(ce),!0;const ot=pn(ce.nodeName);if(on(G.uponSanitizeElement,ce,{tagName:ot,allowedTags:U}),zt&&ce.hasChildNodes()&&!Vr(ce.firstElementChild)&&va(/<[/\w!]/g,ce.innerHTML)&&va(/<[/\w!]/g,ce.textContent)||zt&&ce.namespaceURI===Tr&&ot==="style"&&Vr(ce.firstElementChild)||ce.nodeType===Eb.progressingInstruction||zt&&ce.nodeType===Eb.comment&&va(/<[/\w]/g,ce.data))return nn(ce),!0;if(ve[ot]||!(Le.tagCheck instanceof Function&&Le.tagCheck(ot))&&!U[ot]){if(!ve[ot]&&js(ot)&&(we.tagNameCheck instanceof RegExp&&va(we.tagNameCheck,ot)||we.tagNameCheck instanceof Function&&we.tagNameCheck(ot)))return!1;if(nt&&!be[ot]){const ur=T(ce)||ce.parentNode,Jt=M(ce)||ce.childNodes;if(Jt&&ur){const br=Jt.length;for(let mn=br-1;mn>=0;--mn){const Or=v(Jt[mn],!0);ur.insertBefore(Or,S(ce))}}}return nn(ce),!0}return ce instanceof l&&!An(ce)||(ot==="noscript"||ot==="noembed"||ot==="noframes")&&va(/<\/no(script|embed|frames)/i,ce.innerHTML)?(nn(ce),!0):(Wt&&ce.nodeType===Eb.text&&(Ne=ce.textContent,Tb([Q,re,K],ur=>{Ne=lm(Ne,ur," ")}),ce.textContent!==Ne&&(Ab(t.removed,{element:ce.cloneNode()}),ce.textContent=Ne)),on(G.afterSanitizeElements,ce,null),!1)},hs=function(ce,Ne,ot){if(fe[Ne]||cn&&(Ne==="id"||Ne==="name")&&(ot in r||ot in Ho))return!1;if(!(Te&&!fe[Ne]&&va(Z,Ne))){if(!(Oe&&va(z,Ne))){if(!(Le.attributeCheck instanceof Function&&Le.attributeCheck(Ne,ce))){if(!W[Ne]||fe[Ne]){if(!(js(ce)&&(we.tagNameCheck instanceof RegExp&&va(we.tagNameCheck,ce)||we.tagNameCheck instanceof Function&&we.tagNameCheck(ce))&&(we.attributeNameCheck instanceof RegExp&&va(we.attributeNameCheck,Ne)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(Ne,ce))||Ne==="is"&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&va(we.tagNameCheck,ot)||we.tagNameCheck instanceof Function&&we.tagNameCheck(ot))))return!1}else if(!qt[Ne]){if(!va(q,lm(ot,D,""))){if(!((Ne==="src"||Ne==="xlink:href"||Ne==="href")&&ce!=="script"&&F0e(ot,"data:")===0&&lt[ce])){if(!(rt&&!va(O,lm(ot,D,"")))){if(ot)return!1}}}}}}}return!0},Tc=ir({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),js=function(ce){return!Tc[Kb(ce)]&&va($,ce)},nr=function(ce){on(G.beforeSanitizeAttributes,ce,null);const{attributes:Ne}=ce;if(!Ne||ro(ce))return;const ot={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:W,forceKeepAttr:void 0};let ur=Ne.length;for(;ur--;){const Jt=Ne[ur],{name:br,namespaceURI:mn,value:Or}=Jt,Nn=pn(br),no=Or;let an=br==="value"?no:Xdt(no);if(ot.attrName=Nn,ot.attrValue=an,ot.keepAttr=!0,ot.forceKeepAttr=void 0,on(G.uponSanitizeAttribute,ce,ot),an=ot.attrValue,$r&&(Nn==="id"||Nn==="name")&&F0e(an,yr)!==0&&(to(br,ce),an=yr+an),zt&&va(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,an)){to(br,ce);continue}if(Nn==="attributename"&&P0e(an,"href")){to(br,ce);continue}if(ot.forceKeepAttr)continue;if(!ot.keepAttr){to(br,ce);continue}if(!dt&&va(/\/>/i,an)){to(br,ce);continue}Wt&&Tb([Q,re,K],fi=>{an=lm(an,fi," ")});const en=pn(ce.nodeName);if(!hs(en,Nn,an)){to(br,ce);continue}if(A&&typeof g=="object"&&typeof g.getAttributeType=="function"&&!mn)switch(g.getAttributeType(en,Nn)){case"TrustedHTML":{an=A.createHTML(an);break}case"TrustedScriptURL":{an=A.createScriptURL(an);break}}if(an!==no)try{mn?ce.setAttributeNS(mn,br,an):ce.setAttribute(br,an),ro(ce)?nn(ce):j0e(t.removed)}catch{to(br,ce)}}on(G.afterSanitizeAttributes,ce,null)},Ha=function(ce){let Ne=null;const ot=hi(ce);for(on(G.beforeSanitizeShadowDOM,ce,null);Ne=ot.nextNode();)on(G.uponSanitizeShadowNode,Ne,null),Bn(Ne),nr(Ne),Ne.content instanceof a&&Ha(Ne.content);on(G.afterSanitizeShadowDOM,ce,null)};return t.sanitize=function(Mt){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ne=null,ot=null,ur=null,Jt=null;if(ho=!Mt,ho&&(Mt="<!-->"),typeof Mt!="string"&&!Vr(Mt)&&(Mt=rht(Mt),typeof Mt!="string"))throw x5("dirty is not a string, aborting");if(!t.isSupported)return Mt;if(zr||eo(ce),t.removed=[],typeof Mt=="string"&&(Xe=!1),Xe){const Or=Mt.nodeName;if(typeof Or=="string"){const Nn=pn(Or);if(!U[Nn]||ve[Nn])throw x5("root node is forbidden and cannot be sanitized in-place")}}else if(Mt instanceof s)Ne=di("<!---->"),ot=Ne.ownerDocument.importNode(Mt,!0),ot.nodeType===Eb.element&&ot.nodeName==="BODY"||ot.nodeName==="HTML"?Ne=ot:Ne.appendChild(ot);else{if(!pt&&!Wt&&!Pt&&Mt.indexOf("<")===-1)return A&&Dr?A.createHTML(Mt):Mt;if(Ne=di(Mt),!Ne)return pt?null:Dr?R:""}Ne&&pr&&nn(Ne.firstChild);const br=hi(Xe?Mt:Ne);for(;ur=br.nextNode();)Bn(ur),nr(ur),ur.content instanceof a&&Ha(ur.content);if(Xe)return Mt;if(pt){if(Wt){Ne.normalize();let Or=Ne.innerHTML;Tb([Q,re,K],Nn=>{Or=lm(Or,Nn," ")}),Ne.innerHTML=Or}if(it)for(Jt=N.call(Ne.ownerDocument);Ne.firstChild;)Jt.appendChild(Ne.firstChild);else Jt=Ne;return(W.shadowroot||W.shadowrootmode)&&(Jt=P.call(n,Jt,!0)),Jt}let mn=Pt?Ne.outerHTML:Ne.innerHTML;return Pt&&U["!doctype"]&&Ne.ownerDocument&&Ne.ownerDocument.doctype&&Ne.ownerDocument.doctype.name&&va(cve,Ne.ownerDocument.doctype.name)&&(mn="<!DOCTYPE "+Ne.ownerDocument.doctype.name+`>
458
458
  `+mn),Wt&&Tb([Q,re,K],Or=>{mn=lm(mn,Or," ")}),A&&Dr?A.createHTML(mn):mn},t.setConfig=function(){let Mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};eo(Mt),zr=!0},t.clearConfig=function(){Qr=null,zr=!1},t.isValidAttribute=function(Mt,ce,Ne){Qr||eo({});const ot=pn(Mt),ur=pn(ce);return hs(ot,ur,Ne)},t.addHook=function(Mt,ce){typeof ce=="function"&&Ab(G[Mt],ce)},t.removeHook=function(Mt,ce){if(ce!==void 0){const Ne=Kdt(G[Mt],ce);return Ne===-1?void 0:Ydt(G[Mt],Ne,1)[0]}return j0e(G[Mt])},t.removeHooks=function(Mt){G[Mt]=[]},t.removeAllHooks=function(){G=Z0e()},t}var Ig=uve(),dve=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,T4=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,ght=/\s*%%.*\n/gm,Ym,hve=(Ym=class extends Error{constructor(t){super(t),this.name="UnknownDiagramError"}},j(Ym,"UnknownDiagramError"),Ym),Bp={},Yre=j(function(e,t){e=e.replace(dve,"").replace(T4,"").replace(ght,`
459
459
  `);for(const[r,{detector:n}]of Object.entries(Bp))if(n(e,t))return r;throw new hve(`No diagram type detected matching given configuration for text: ${e}`)},"detectType"),fJ=j((...e)=>{for(const{id:t,detector:r,loader:n}of e)fve(t,r,n)},"registerLazyLoadedDiagrams"),fve=j((e,t,r)=>{Bp[e]&&He.warn(`Detector with key ${e} already exists. Overwriting.`),Bp[e]={detector:t,loader:r},He.debug(`Detector with key ${e} added${r?" with loader":""}`)},"addDetector"),yht=j(e=>Bp[e].loader,"getDiagramLoader"),pJ=j((e,t,{depth:r=2,clobber:n=!1}={})=>{const o={depth:r,clobber:n};return Array.isArray(t)&&!Array.isArray(e)?(t.forEach(a=>pJ(e,a,o)),e):Array.isArray(t)&&Array.isArray(e)?(t.forEach(a=>{e.includes(a)||e.push(a)}),e):e===void 0||r<=0?e!=null&&typeof e=="object"&&typeof t=="object"?Object.assign(e,t):t:(t!==void 0&&typeof e=="object"&&typeof t=="object"&&Object.keys(t).forEach(a=>{typeof t[a]=="object"&&t[a]!==null&&(e[a]===void 0||typeof e[a]=="object")?(e[a]===void 0&&(e[a]=Array.isArray(t[a])?[]:{}),e[a]=pJ(e[a],t[a],{depth:r-1,clobber:n})):(n||typeof e[a]!="object"&&typeof t[a]!="object")&&(e[a]=t[a])}),e)},"assignWithDepth"),Qo=pJ,Sc="#ffffff",Mc="#f2f2f2",$t=j((e,t)=>t?Y(e,{s:-40,l:10}):Y(e,{s:-40,l:-10}),"mkBorder"),Xm,bht=(Xm=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.useGradient=!0,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||Y(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||Y(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||$t(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||$t(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||$t(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||$t(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||xe(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||xe(this.tertiaryColor),this.lineColor=this.lineColor||xe(this.background),this.arrowheadColor=this.arrowheadColor||xe(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Ee(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||Ee(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||xe(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.vertLineColor=this.vertLineColor||"navy",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.darkMode?(this.rowOdd=this.rowOdd||Ee(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||Ee(this.mainBkg,10)):(this.rowOdd=this.rowOdd||ze(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||ze(this.mainBkg,5)),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Y(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Y(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Y(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Y(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Y(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Y(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||Y(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Y(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Y(this.primaryColor,{h:330}),this.darkMode)for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScale"+r]=Ee(this["cScale"+r],75);else for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScale"+r]=Ee(this["cScale"+r],25);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleInv"+r]=this["cScaleInv"+r]||xe(this["cScale"+r]);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this.darkMode?this["cScalePeer"+r]=this["cScalePeer"+r]||ze(this["cScale"+r],10):this["cScalePeer"+r]=this["cScalePeer"+r]||Ee(this["cScale"+r],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleLabel"+r]=this["cScaleLabel"+r]||this.scaleLabelColor;const t=this.darkMode?-4:-1;for(let r=0;r<5;r++)this["surface"+r]=this["surface"+r]||Y(this.mainBkg,{h:180,s:-15,l:t*(5+r*3)}),this["surfacePeer"+r]=this["surfacePeer"+r]||Y(this.mainBkg,{h:180,s:-15,l:t*(8+r*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||Y(this.primaryColor,{h:64}),this.fillType3=this.fillType3||Y(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||Y(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||Y(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||Y(this.primaryColor,{h:128}),this.fillType7=this.fillType7||Y(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||Y(this.primaryColor,{l:-10}),this.pie5=this.pie5||Y(this.secondaryColor,{l:-10}),this.pie6=this.pie6||Y(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||Y(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||Y(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||Y(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||Y(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||Y(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||Y(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.venn1=this.venn1??Y(this.primaryColor,{l:-30}),this.venn2=this.venn2??Y(this.secondaryColor,{l:-30}),this.venn3=this.venn3??Y(this.tertiaryColor,{l:-30}),this.venn4=this.venn4??Y(this.primaryColor,{h:60,l:-30}),this.venn5=this.venn5??Y(this.primaryColor,{h:-60,l:-30}),this.venn6=this.venn6??Y(this.secondaryColor,{h:60,l:-30}),this.venn7=this.venn7??Y(this.primaryColor,{h:120,l:-30}),this.venn8=this.venn8??Y(this.secondaryColor,{h:120,l:-30}),this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.archEdgeColor=this.archEdgeColor||"#777",this.archEdgeArrowColor=this.archEdgeArrowColor||"#777",this.archEdgeWidth=this.archEdgeWidth||"3",this.archGroupBorderColor=this.archGroupBorderColor||"#000",this.archGroupBorderWidth=this.archGroupBorderWidth||"2px",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||Y(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||Y(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||Y(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||Y(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||Y(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||Y(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ml(this.quadrant1Fill)?ze(this.quadrant1Fill):Ee(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,dataLabelColor:this.xyChart?.dataLabelColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?Ee(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||Y(this.primaryColor,{h:-30}),this.git4=this.git4||Y(this.primaryColor,{h:-60}),this.git5=this.git5||Y(this.primaryColor,{h:-90}),this.git6=this.git6||Y(this.primaryColor,{h:60}),this.git7=this.git7||Y(this.primaryColor,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=Ee(this.git0,25),this.git1=Ee(this.git1,25),this.git2=Ee(this.git2,25),this.git3=Ee(this.git3,25),this.git4=Ee(this.git4,25),this.git5=Ee(this.git5,25),this.git6=Ee(this.git6,25),this.git7=Ee(this.git7,25)),this.gitInv0=this.gitInv0||xe(this.git0),this.gitInv1=this.gitInv1||xe(this.git1),this.gitInv2=this.gitInv2||xe(this.git2),this.gitInv3=this.gitInv3||xe(this.git3),this.gitInv4=this.gitInv4||xe(this.git4),this.gitInv5=this.gitInv5||xe(this.git5),this.gitInv6=this.gitInv6||xe(this.git6),this.gitInv7=this.gitInv7||xe(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Sc,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Mc,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor}calculate(t){if(typeof t!="object"){this.updateColors();return}const r=Object.keys(t);r.forEach(n=>{this[n]=t[n]}),this.updateColors(),r.forEach(n=>{this[n]=t[n]})}},j(Xm,"Theme"),Xm),xht=j(e=>{const t=new bht;return t.calculate(e),t},"getThemeVariables"),Qm,kht=(Qm=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=ze(this.primaryColor,16),this.tertiaryColor=Y(this.primaryColor,{h:-160}),this.primaryBorderColor=xe(this.background),this.secondaryBorderColor=$t(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=$t(this.tertiaryColor,this.darkMode),this.primaryTextColor=xe(this.primaryColor),this.secondaryTextColor=xe(this.secondaryColor),this.tertiaryTextColor=xe(this.tertiaryColor),this.lineColor=xe(this.background),this.textColor=xe(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=ze(xe("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=Vd(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.clusterBkg="#302F3D",this.sectionBkgColor=Ee("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=Ee(this.sectionBkgColor,10),this.taskBorderColor=Vd(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=Vd(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd=this.rowOdd||ze(this.mainBkg,5)||"#ffffff",this.rowEven=this.rowEven||Ee(this.mainBkg,10),this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))",this.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal"}updateColors(){this.secondBkg=ze(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=ze(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=ze(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=xe(this.doneTaskBkgColor),this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=Y(this.primaryColor,{h:64}),this.fillType3=Y(this.secondaryColor,{h:64}),this.fillType4=Y(this.primaryColor,{h:-64}),this.fillType5=Y(this.secondaryColor,{h:-64}),this.fillType6=Y(this.primaryColor,{h:128}),this.fillType7=Y(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Y(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Y(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Y(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Y(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Y(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Y(this.primaryColor,{h:210}),this.cScale9=this.cScale9||Y(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Y(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Y(this.primaryColor,{h:330});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||xe(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScalePeer"+t]=this["cScalePeer"+t]||ze(this["cScale"+t],10);for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||Y(this.mainBkg,{h:30,s:-30,l:-(-10+t*4)}),this["surfacePeer"+t]=this["surfacePeer"+t]||Y(this.mainBkg,{h:30,s:-30,l:-(-7+t*4)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.mainContrastColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.mainContrastColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7";for(let t=0;t<8;t++)this["venn"+(t+1)]=this["venn"+(t+1)]??ze(this["cScale"+t],30);this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||Y(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||Y(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||Y(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||Y(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||Y(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||Y(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ml(this.quadrant1Fill)?ze(this.quadrant1Fill):Ee(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,dataLabelColor:this.xyChart?.dataLabelColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"},this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.background},this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?Ee(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=ze(this.secondaryColor,20),this.git1=ze(this.pie2||this.secondaryColor,20),this.git2=ze(this.pie3||this.tertiaryColor,20),this.git3=ze(this.pie4||Y(this.primaryColor,{h:-30}),20),this.git4=ze(this.pie5||Y(this.primaryColor,{h:-60}),20),this.git5=ze(this.pie6||Y(this.primaryColor,{h:-90}),10),this.git6=ze(this.pie7||Y(this.primaryColor,{h:60}),10),this.git7=ze(this.pie8||Y(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||xe(this.git0),this.gitInv1=this.gitInv1||xe(this.git1),this.gitInv2=this.gitInv2||xe(this.git2),this.gitInv3=this.gitInv3||xe(this.git3),this.gitInv4=this.gitInv4||xe(this.git4),this.gitInv5=this.gitInv5||xe(this.git5),this.gitInv6=this.gitInv6||xe(this.git6),this.gitInv7=this.gitInv7||xe(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||xe(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||xe(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||ze(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||ze(this.background,2),this.nodeBorder=this.nodeBorder||"#999"}calculate(t){if(typeof t!="object"){this.updateColors();return}const r=Object.keys(t);r.forEach(n=>{this[n]=t[n]}),this.updateColors(),r.forEach(n=>{this[n]=t[n]})}},j(Qm,"Theme"),Qm),vht=j(e=>{const t=new kht;return t.calculate(e),t},"getThemeVariables"),Jm,wht=(Jm=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=Y(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=Y(this.primaryColor,{h:-160}),this.primaryBorderColor=$t(this.primaryColor,this.darkMode),this.secondaryBorderColor=$t(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=$t(this.tertiaryColor,this.darkMode),this.primaryTextColor=xe(this.primaryColor),this.secondaryTextColor=xe(this.secondaryColor),this.tertiaryTextColor=xe(this.tertiaryColor),this.lineColor=xe(this.background),this.textColor=xe(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.primaryBorderColor=$t(this.primaryColor,this.darkMode),this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="rgba(232,232,232, 0.8)",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.clusterBkg="#FBFBFF",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.sectionBkgColor=Vd(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="navy",this.noteFontWeight=this.noteFontWeight||"normal",this.fontWeight=this.fontWeight||"normal",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.rowOdd="calculated",this.rowEven="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.useGradient=!1,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow(1px 2px 2px rgba(185, 185, 185, 1))",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Y(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Y(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Y(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Y(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Y(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Y(this.primaryColor,{h:210}),this.cScale9=this.cScale9||Y(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Y(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Y(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||Ee(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||Ee(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=Ee(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||Ee(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||Y(this["cScale"+t],{h:180});for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||Y(this.mainBkg,{h:30,l:-(5+t*5)}),this["surfacePeer"+t]=this["surfacePeer"+t]||Y(this.mainBkg,{h:30,l:-(7+t*5)});if(this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,this.labelTextColor!=="calculated"){this.cScaleLabel0=this.cScaleLabel0||xe(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||xe(this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.rowOdd=this.rowOdd||ze(this.primaryColor,75)||"#ffffff",this.rowEven=this.rowEven||ze(this.primaryColor,1),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=Y(this.primaryColor,{h:64}),this.fillType3=Y(this.secondaryColor,{h:64}),this.fillType4=Y(this.primaryColor,{h:-64}),this.fillType5=Y(this.secondaryColor,{h:-64}),this.fillType6=Y(this.primaryColor,{h:128}),this.fillType7=Y(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||Y(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||Y(this.primaryColor,{l:-10}),this.pie5=this.pie5||Y(this.secondaryColor,{l:-30}),this.pie6=this.pie6||Y(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||Y(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||Y(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||Y(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||Y(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||Y(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||Y(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.venn1=this.venn1??Y(this.primaryColor,{l:-30}),this.venn2=this.venn2??Y(this.secondaryColor,{l:-30}),this.venn3=this.venn3??Y(this.tertiaryColor,{l:-40}),this.venn4=this.venn4??Y(this.primaryColor,{h:60,l:-30}),this.venn5=this.venn5??Y(this.primaryColor,{h:-60,l:-30}),this.venn6=this.venn6??Y(this.secondaryColor,{h:60,l:-30}),this.venn7=this.venn7??Y(this.primaryColor,{h:120,l:-30}),this.venn8=this.venn8??Y(this.secondaryColor,{h:120,l:-30}),this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||Y(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||Y(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||Y(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||Y(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||Y(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||Y(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ml(this.quadrant1Fill)?ze(this.quadrant1Fill):Ee(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,dataLabelColor:this.xyChart?.dataLabelColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||Y(this.primaryColor,{h:-30}),this.git4=this.git4||Y(this.primaryColor,{h:-60}),this.git5=this.git5||Y(this.primaryColor,{h:-90}),this.git6=this.git6||Y(this.primaryColor,{h:60}),this.git7=this.git7||Y(this.primaryColor,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=Ee(this.git0,25),this.git1=Ee(this.git1,25),this.git2=Ee(this.git2,25),this.git3=Ee(this.git3,25),this.git4=Ee(this.git4,25),this.git5=Ee(this.git5,25),this.git6=Ee(this.git6,25),this.git7=Ee(this.git7,25)),this.gitInv0=this.gitInv0||Ee(xe(this.git0),25),this.gitInv1=this.gitInv1||xe(this.git1),this.gitInv2=this.gitInv2||xe(this.git2),this.gitInv3=this.gitInv3||xe(this.git3),this.gitInv4=this.gitInv4||xe(this.git4),this.gitInv5=this.gitInv5||xe(this.git5),this.gitInv6=this.gitInv6||xe(this.git6),this.gitInv7=this.gitInv7||xe(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||xe(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||xe(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Sc,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Mc}calculate(t){if(Object.keys(this).forEach(n=>{this[n]==="calculated"&&(this[n]=void 0)}),typeof t!="object"){this.updateColors();return}const r=Object.keys(t);r.forEach(n=>{this[n]=t[n]}),this.updateColors(),r.forEach(n=>{this[n]=t[n]})}},j(Jm,"Theme"),Jm),Cht=j(e=>{const t=new wht;return t.calculate(e),t},"getThemeVariables"),eg,Sht=(eg=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=ze("#cde498",10),this.primaryBorderColor=$t(this.primaryColor,this.darkMode),this.secondaryBorderColor=$t(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=$t(this.tertiaryColor,this.darkMode),this.primaryTextColor=xe(this.primaryColor),this.secondaryTextColor=xe(this.secondaryColor),this.tertiaryTextColor=xe(this.primaryColor),this.lineColor=xe(this.background),this.textColor=xe(this.background),this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.vertLineColor="#00BFFF",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,0.5))"}updateColors(){this.actorBorder=Ee(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Y(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Y(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Y(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Y(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Y(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Y(this.primaryColor,{h:210}),this.cScale9=this.cScale9||Y(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Y(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Y(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||Ee(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||Ee(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=Ee(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||Ee(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||Y(this["cScale"+t],{h:180});this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||Y(this.mainBkg,{h:30,s:-30,l:-(5+t*5)}),this["surfacePeer"+t]=this["surfacePeer"+t]||Y(this.mainBkg,{h:30,s:-30,l:-(8+t*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.rowOdd=this.rowOdd||ze(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||ze(this.mainBkg,20),this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=Y(this.primaryColor,{h:64}),this.fillType3=Y(this.secondaryColor,{h:64}),this.fillType4=Y(this.primaryColor,{h:-64}),this.fillType5=Y(this.secondaryColor,{h:-64}),this.fillType6=Y(this.primaryColor,{h:128}),this.fillType7=Y(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||Y(this.primaryColor,{l:-30}),this.pie5=this.pie5||Y(this.secondaryColor,{l:-30}),this.pie6=this.pie6||Y(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||Y(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||Y(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||Y(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||Y(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||Y(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||Y(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.venn1=this.venn1??Y(this.primaryColor,{l:-30}),this.venn2=this.venn2??Y(this.secondaryColor,{l:-30}),this.venn3=this.venn3??Y(this.tertiaryColor,{l:-30}),this.venn4=this.venn4??Y(this.primaryColor,{h:60,l:-30}),this.venn5=this.venn5??Y(this.primaryColor,{h:-60,l:-30}),this.venn6=this.venn6??Y(this.secondaryColor,{h:60,l:-30}),this.venn7=this.venn7??Y(this.primaryColor,{h:120,l:-30}),this.venn8=this.venn8??Y(this.secondaryColor,{h:120,l:-30}),this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||Y(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||Y(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||Y(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||Y(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||Y(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||Y(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ml(this.quadrant1Fill)?ze(this.quadrant1Fill):Ee(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.mainBkg},this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,dataLabelColor:this.xyChart?.dataLabelColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||Y(this.primaryColor,{h:-30}),this.git4=this.git4||Y(this.primaryColor,{h:-60}),this.git5=this.git5||Y(this.primaryColor,{h:-90}),this.git6=this.git6||Y(this.primaryColor,{h:60}),this.git7=this.git7||Y(this.primaryColor,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=Ee(this.git0,25),this.git1=Ee(this.git1,25),this.git2=Ee(this.git2,25),this.git3=Ee(this.git3,25),this.git4=Ee(this.git4,25),this.git5=Ee(this.git5,25),this.git6=Ee(this.git6,25),this.git7=Ee(this.git7,25)),this.gitInv0=this.gitInv0||xe(this.git0),this.gitInv1=this.gitInv1||xe(this.git1),this.gitInv2=this.gitInv2||xe(this.git2),this.gitInv3=this.gitInv3||xe(this.git3),this.gitInv4=this.gitInv4||xe(this.git4),this.gitInv5=this.gitInv5||xe(this.git5),this.gitInv6=this.gitInv6||xe(this.git6),this.gitInv7=this.gitInv7||xe(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||xe(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||xe(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Sc,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Mc}calculate(t){if(typeof t!="object"){this.updateColors();return}const r=Object.keys(t);r.forEach(n=>{this[n]=t[n]}),this.updateColors(),r.forEach(n=>{this[n]=t[n]})}},j(eg,"Theme"),eg),Mht=j(e=>{const t=new Sht;return t.calculate(e),t},"getThemeVariables"),tg,_ht=(tg=class{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=ze(this.contrast,55),this.background="#ffffff",this.tertiaryColor=Y(this.primaryColor,{h:-160}),this.primaryBorderColor=$t(this.primaryColor,this.darkMode),this.secondaryBorderColor=$t(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=$t(this.tertiaryColor,this.darkMode),this.primaryTextColor=xe(this.primaryColor),this.secondaryTextColor=xe(this.secondaryColor),this.tertiaryTextColor=xe(this.tertiaryColor),this.lineColor=xe(this.background),this.textColor=xe(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.radius=5,this.strokeWidth=1,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor=this.actorBorder,this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.vertLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal",this.rowOdd=this.rowOdd||ze(this.mainBkg,75)||"#ffffff",this.rowEven=this.rowEven||"#f4f4f4",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.useGradient=!0,this.gradientStart=this.primaryBorderColor,this.gradientStop=this.secondaryBorderColor,this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,1))"}updateColors(){this.secondBkg=ze(this.contrast,55),this.border2=this.contrast,this.actorBorder=ze(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||xe(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||ze(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||Ee(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||Y(this.mainBkg,{l:-(5+t*5)}),this["surfacePeer"+t]=this["surfacePeer"+t]||Y(this.mainBkg,{l:-(8+t*5)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.sectionBkgColor=ze(this.contrast,30),this.sectionBkgColor2=ze(this.contrast,30),this.taskBorderColor=Ee(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=ze(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=Ee(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.vertLineColor=this.critBkgColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=Y(this.primaryColor,{h:64}),this.fillType3=Y(this.secondaryColor,{h:64}),this.fillType4=Y(this.primaryColor,{h:-64}),this.fillType5=Y(this.secondaryColor,{h:-64}),this.fillType6=Y(this.primaryColor,{h:128}),this.fillType7=Y(this.secondaryColor,{h:128});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7";for(let t=0;t<8;t++)this["venn"+(t+1)]=this["venn"+(t+1)]??this["cScale"+t];this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||Y(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||Y(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||Y(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||Y(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||Y(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||Y(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ml(this.quadrant1Fill)?ze(this.quadrant1Fill):Ee(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,dataLabelColor:this.xyChart?.dataLabelColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"},this.radar={axisColor:this.radar?.axisColor||this.lineColor,axisStrokeWidth:this.radar?.axisStrokeWidth||2,axisLabelFontSize:this.radar?.axisLabelFontSize||12,curveOpacity:this.radar?.curveOpacity||.5,curveStrokeWidth:this.radar?.curveStrokeWidth||2,graticuleColor:this.radar?.graticuleColor||"#DEDEDE",graticuleStrokeWidth:this.radar?.graticuleStrokeWidth||1,graticuleOpacity:this.radar?.graticuleOpacity||.3,legendBoxSize:this.radar?.legendBoxSize||12,legendFontSize:this.radar?.legendFontSize||12},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=Ee(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||Y(this.primaryColor,{h:-30}),this.git4=this.pie5||Y(this.primaryColor,{h:-60}),this.git5=this.pie6||Y(this.primaryColor,{h:-90}),this.git6=this.pie7||Y(this.primaryColor,{h:60}),this.git7=this.pie8||Y(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||xe(this.git0),this.gitInv1=this.gitInv1||xe(this.git1),this.gitInv2=this.gitInv2||xe(this.git2),this.gitInv3=this.gitInv3||xe(this.git3),this.gitInv4=this.gitInv4||xe(this.git4),this.gitInv5=this.gitInv5||xe(this.git5),this.gitInv6=this.gitInv6||xe(this.git6),this.gitInv7=this.gitInv7||xe(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Sc,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Mc}calculate(t){if(typeof t!="object"){this.updateColors();return}const r=Object.keys(t);r.forEach(n=>{this[n]=t[n]}),this.updateColors(),r.forEach(n=>{this[n]=t[n]})}},j(tg,"Theme"),tg),Tht=j(e=>{const t=new _ht;return t.calculate(e),t},"getThemeVariables"),rg,Aht=(rg=class{constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.radius=3,this.strokeWidth=2,this.primaryBorderColor=$t(this.primaryColor,this.darkMode),this.fontFamily="arial, sans-serif",this.fontSize="14px",this.nodeBorder="#000000",this.stateBorder="#000000",this.useGradient=!0,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="drop-shadow( 0px 1px 2px rgba(0, 0, 0, 0.25));",this.tertiaryColor="#ffffff",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal"}updateColors(){this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||Y(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||Y(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||$t(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||$t(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||$t(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||$t(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||xe(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||xe(this.tertiaryColor),this.lineColor=this.lineColor||xe(this.background),this.arrowheadColor=this.arrowheadColor||xe(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Ee(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||Ee(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||xe(this.lineColor);const t="#ECECFE",r="#E9E9F1",n=Y(t,{h:180,l:5});if(this.sectionBkgColor=this.sectionBkgColor||n,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||r,this.sectionBkgColor2=this.sectionBkgColor2||t,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||t,this.activeTaskBorderColor=this.activeTaskBorderColor||t,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(t,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||t,this.cScale1=this.cScale1||r,this.cScale2=this.cScale2||n,this.cScale3=this.cScale3||Y(t,{h:30}),this.cScale4=this.cScale4||Y(t,{h:60}),this.cScale5=this.cScale5||Y(t,{h:90}),this.cScale6=this.cScale6||Y(t,{h:120}),this.cScale7=this.cScale7||Y(t,{h:150}),this.cScale8=this.cScale8||Y(t,{h:210,l:150}),this.cScale9=this.cScale9||Y(t,{h:270}),this.cScale10=this.cScale10||Y(t,{h:300}),this.cScale11=this.cScale11||Y(t,{h:330}),this.darkMode)for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScale"+a]=Ee(this["cScale"+a],75);else for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScale"+a]=Ee(this["cScale"+a],25);for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScaleInv"+a]=this["cScaleInv"+a]||xe(this["cScale"+a]);for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this.darkMode?this["cScalePeer"+a]=this["cScalePeer"+a]||ze(this["cScale"+a],10):this["cScalePeer"+a]=this["cScalePeer"+a]||Ee(this["cScale"+a],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScaleLabel"+a]=this["cScaleLabel"+a]||this.scaleLabelColor;const o=this.darkMode?-4:-1;for(let a=0;a<5;a++)this["surface"+a]=this["surface"+a]||Y(this.mainBkg,{h:180,s:-15,l:o*(5+a*3)}),this["surfacePeer"+a]=this["surfacePeer"+a]||Y(this.mainBkg,{h:180,s:-15,l:o*(8+a*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||t,this.fillType1=this.fillType1||r,this.fillType2=this.fillType2||Y(t,{h:64}),this.fillType3=this.fillType3||Y(r,{h:64}),this.fillType4=this.fillType4||Y(t,{h:-64}),this.fillType5=this.fillType5||Y(r,{h:-64}),this.fillType6=this.fillType6||Y(t,{h:128}),this.fillType7=this.fillType7||Y(r,{h:128}),this.pie1=this.pie1||t,this.pie2=this.pie2||r,this.pie3=this.pie3||n,this.pie4=this.pie4||Y(t,{l:-10}),this.pie5=this.pie5||Y(r,{l:-10}),this.pie6=this.pie6||Y(n,{l:-10}),this.pie7=this.pie7||Y(t,{h:60,l:-10}),this.pie8=this.pie8||Y(t,{h:-60,l:-10}),this.pie9=this.pie9||Y(t,{h:120,l:0}),this.pie10=this.pie10||Y(t,{h:60,l:-20}),this.pie11=this.pie11||Y(t,{h:-60,l:-20}),this.pie12=this.pie12||Y(t,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||t,this.quadrant2Fill=this.quadrant2Fill||Y(t,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||Y(t,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||Y(t,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||Y(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||Y(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||Y(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ml(this.quadrant1Fill)?ze(this.quadrant1Fill):Ee(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||t,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?Ee(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||t,this.git1=this.git1||r,this.git2=this.git2||n,this.git3=this.git3||Y(t,{h:-30}),this.git4=this.git4||Y(t,{h:-60}),this.git5=this.git5||Y(t,{h:-90}),this.git6=this.git6||Y(t,{h:60}),this.git7=this.git7||Y(t,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=Ee(this.git0,25),this.git1=Ee(this.git1,25),this.git2=Ee(this.git2,25),this.git3=Ee(this.git3,25),this.git4=Ee(this.git4,25),this.git5=Ee(this.git5,25),this.git6=Ee(this.git6,25),this.git7=Ee(this.git7,25)),this.gitInv0=this.gitInv0||xe(this.git0),this.gitInv1=this.gitInv1||xe(this.git1),this.gitInv2=this.gitInv2||xe(this.git2),this.gitInv3=this.gitInv3||xe(this.git3),this.gitInv4=this.gitInv4||xe(this.git4),this.gitInv5=this.gitInv5||xe(this.git5),this.gitInv6=this.gitInv6||xe(this.git6),this.gitInv7=this.gitInv7||xe(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Sc,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Mc}calculate(t){if(typeof t!="object"){this.updateColors();return}const r=Object.keys(t);r.forEach(n=>{this[n]=t[n]}),this.updateColors(),r.forEach(n=>{this[n]=t[n]})}},j(rg,"Theme"),rg),Lht=j(e=>{const t=new Aht;return t.calculate(e),t},"getThemeVariables"),ng,Eht=(ng=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=ze(this.primaryColor,16),this.tertiaryColor=Y(this.primaryColor,{h:-160}),this.primaryBorderColor=xe(this.background),this.secondaryBorderColor=$t(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=$t(this.tertiaryColor,this.darkMode),this.primaryTextColor=xe(this.primaryColor),this.secondaryTextColor=xe(this.secondaryColor),this.tertiaryTextColor=xe(this.tertiaryColor),this.mainBkg="#2a2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=ze(xe("#323D47"),10),this.border1="#ccc",this.border2=Vd(255,255,255,.25),this.arrowheadColor=xe(this.background),this.fontFamily="arial, sans-serif",this.fontSize="14px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=3,this.strokeWidth=1,this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily="arial, sans-serif",this.fontSize="14px",this.useGradient=!0,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="drop-shadow( 1px 2px 2px rgba(185,185,185,0.2))",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.noteFontWeight="normal",this.fontWeight="normal"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||Y(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||Y(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||$t(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||$t(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||$t(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||$t(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||xe(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||xe(this.tertiaryColor),this.lineColor=this.lineColor||xe(this.background),this.arrowheadColor=this.arrowheadColor||xe(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.border1,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Ee(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||Ee(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||xe(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Y(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Y(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Y(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Y(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Y(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Y(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||Y(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Y(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Y(this.primaryColor,{h:330}),this.darkMode)for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScale"+r]=Ee(this["cScale"+r],75);else for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScale"+r]=Ee(this["cScale"+r],25);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleInv"+r]=this["cScaleInv"+r]||xe(this["cScale"+r]);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this.darkMode?this["cScalePeer"+r]=this["cScalePeer"+r]||ze(this["cScale"+r],10):this["cScalePeer"+r]=this["cScalePeer"+r]||Ee(this["cScale"+r],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleLabel"+r]=this["cScaleLabel"+r]||this.scaleLabelColor;const t=this.darkMode?-4:-1;for(let r=0;r<5;r++)this["surface"+r]=this["surface"+r]||Y(this.mainBkg,{h:180,s:-15,l:t*(5+r*3)}),this["surfacePeer"+r]=this["surfacePeer"+r]||Y(this.mainBkg,{h:180,s:-15,l:t*(8+r*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||Y(this.primaryColor,{h:64}),this.fillType3=this.fillType3||Y(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||Y(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||Y(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||Y(this.primaryColor,{h:128}),this.fillType7=this.fillType7||Y(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||Y(this.primaryColor,{l:-10}),this.pie5=this.pie5||Y(this.secondaryColor,{l:-10}),this.pie6=this.pie6||Y(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||Y(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||Y(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||Y(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||Y(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||Y(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||Y(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||Y(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||Y(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||Y(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||Y(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||Y(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||Y(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ml(this.quadrant1Fill)?ze(this.quadrant1Fill):Ee(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?Ee(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||"#0b0000",this.git1=this.git1||"#4d1037",this.git2=this.git2||"#3f5258",this.git3=this.git3||"#4f2f1b",this.git4=this.git4||"#6e0a0a",this.git5=this.git5||"#3b0048",this.git6=this.git6||"#995a01",this.git7=this.git7||"#154706",this.gitDarkMode=!0,this.gitDarkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=Ee(this.git0,25),this.git1=Ee(this.git1,25),this.git2=Ee(this.git2,25),this.git3=Ee(this.git3,25),this.git4=Ee(this.git4,25),this.git5=Ee(this.git5,25),this.git6=Ee(this.git6,25),this.git7=Ee(this.git7,25)),this.gitInv0=this.gitInv0||xe(this.git0),this.gitInv1=this.gitInv1||xe(this.git1),this.gitInv2=this.gitInv2||xe(this.git2),this.gitInv3=this.gitInv3||xe(this.git3),this.gitInv4=this.gitInv4||xe(this.git4),this.gitInv5=this.gitInv5||xe(this.git5),this.gitInv6=this.gitInv6||xe(this.git6),this.gitInv7=this.gitInv7||xe(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Sc,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Mc}calculate(t){if(typeof t!="object"){this.updateColors();return}const r=Object.keys(t);r.forEach(n=>{this[n]=t[n]}),this.updateColors(),r.forEach(n=>{this[n]=t[n]})}},j(ng,"Theme"),ng),Iht=j(e=>{const t=new Eht;return t.calculate(e),t},"getThemeVariables"),og,Rht=(og=class{constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#28253D",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.primaryBorderColor=$t("#28253D",this.darkMode),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#28253D",this.stateBorder="#28253D",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.tertiaryColor="#ffffff",this.clusterBkg="#F9F9FB",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.actorBorder="#28253D",this.filterColor="#000000"}updateColors(){this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#28253D"),this.secondaryColor=this.secondaryColor||Y(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||Y(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||$t(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||$t(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||$t(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||$t(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#FEF9C3",this.noteTextColor=this.noteTextColor||"#28253D",this.secondaryTextColor=this.secondaryTextColor||xe(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||xe(this.tertiaryColor),this.lineColor=this.lineColor||xe(this.background),this.arrowheadColor=this.arrowheadColor||xe(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Ee(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.noteFontWeight=600,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||Ee(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||xe(this.lineColor);const t="#ECECFE",r="#E9E9F1",n=Y(t,{h:180,l:5});this.sectionBkgColor=this.sectionBkgColor||n,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||r,this.sectionBkgColor2=this.sectionBkgColor2||t,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||t,this.activeTaskBorderColor=this.activeTaskBorderColor||t,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(t,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.compositeTitleBackground="#F9F9FB",this.altBackground="#F9F9FB",this.stateEdgeLabelBackground="#FFFFFF",this.fontWeight=600,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor;for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScale"+a]=this.mainBkg;if(this.darkMode)for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScale"+a]=Ee(this["cScale"+a],75);else for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScale"+a]=Ee(this["cScale"+a],25);for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScaleInv"+a]=this["cScaleInv"+a]||xe(this["cScale"+a]);for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this.darkMode?this["cScalePeer"+a]=this["cScalePeer"+a]||ze(this["cScale"+a],10):this["cScalePeer"+a]=this["cScalePeer"+a]||Ee(this["cScale"+a],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScaleLabel"+a]=this["cScaleLabel"+a]||this.scaleLabelColor;const o=this.darkMode?-4:-1;for(let a=0;a<5;a++)this["surface"+a]=this["surface"+a]||Y(this.mainBkg,{h:180,s:-15,l:o*(5+a*3)}),this["surfacePeer"+a]=this["surfacePeer"+a]||Y(this.mainBkg,{h:180,s:-15,l:o*(8+a*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||t,this.fillType1=this.fillType1||r,this.fillType2=this.fillType2||Y(t,{h:64}),this.fillType3=this.fillType3||Y(r,{h:64}),this.fillType4=this.fillType4||Y(t,{h:-64}),this.fillType5=this.fillType5||Y(r,{h:-64}),this.fillType6=this.fillType6||Y(t,{h:128}),this.fillType7=this.fillType7||Y(r,{h:128}),this.pie1=this.pie1||t,this.pie2=this.pie2||r,this.pie3=this.pie3||n,this.pie4=this.pie4||Y(t,{l:-10}),this.pie5=this.pie5||Y(r,{l:-10}),this.pie6=this.pie6||Y(n,{l:-10}),this.pie7=this.pie7||Y(t,{h:60,l:-10}),this.pie8=this.pie8||Y(t,{h:-60,l:-10}),this.pie9=this.pie9||Y(t,{h:120,l:0}),this.pie10=this.pie10||Y(t,{h:60,l:-20}),this.pie11=this.pie11||Y(t,{h:-60,l:-20}),this.pie12=this.pie12||Y(t,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||t,this.quadrant2Fill=this.quadrant2Fill||Y(t,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||Y(t,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||Y(t,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||Y(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||Y(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||Y(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ml(this.quadrant1Fill)?ze(this.quadrant1Fill):Ee(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||t,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?Ee(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.requirementEdgeLabelBackground="#FFFFFF",this.git0=this.git0||t,this.git1=this.git1||r,this.git2=this.git2||n,this.git3=this.git3||Y(t,{h:-30}),this.git4=this.git4||Y(t,{h:-60}),this.git5=this.git5||Y(t,{h:-90}),this.git6=this.git6||Y(t,{h:60}),this.git7=this.git7||Y(t,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=Ee(this.git0,25),this.git1=Ee(this.git1,25),this.git2=Ee(this.git2,25),this.git3=Ee(this.git3,25),this.git4=Ee(this.git4,25),this.git5=Ee(this.git5,25),this.git6=Ee(this.git6,25),this.git7=Ee(this.git7,25)),this.gitInv0=this.gitInv0||xe(this.git0),this.gitInv1=this.gitInv1||xe(this.git1),this.gitInv2=this.gitInv2||xe(this.git2),this.gitInv3=this.gitInv3||xe(this.git3),this.gitInv4=this.gitInv4||xe(this.git4),this.gitInv5=this.gitInv5||xe(this.git5),this.gitInv6=this.gitInv6||xe(this.git6),this.gitInv7=this.gitInv7||xe(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.commitLineColor=this.commitLineColor??"#BDBCCC",this.erEdgeLabelBackground="#FFFFFF",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Sc,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Mc}calculate(t){if(typeof t!="object"){this.updateColors();return}const r=Object.keys(t);r.forEach(n=>{this[n]=t[n]}),this.updateColors(),r.forEach(n=>{this[n]=t[n]})}},j(og,"Theme"),og),zht=j(e=>{const t=new Rht;return t.calculate(e),t},"getThemeVariables"),ag,Dht=(ag=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=ze(this.primaryColor,16),this.tertiaryColor=Y(this.primaryColor,{h:-160}),this.primaryBorderColor=xe(this.background),this.secondaryBorderColor=$t(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=$t(this.tertiaryColor,this.darkMode),this.primaryTextColor=xe(this.primaryColor),this.secondaryTextColor=xe(this.secondaryColor),this.tertiaryTextColor=xe(this.tertiaryColor),this.mainBkg="#111113",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=ze(xe("#323D47"),10),this.border1="#ccc",this.border2=Vd(255,255,255,.25),this.arrowheadColor=xe(this.background),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.labelBackground="#111113",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.noteBkgColor=this.noteBkgColor??"#FEF9C3",this.noteTextColor=this.noteTextColor??"#28253D",this.THEME_COLOR_LIMIT=12,this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#FFFFFF",this.stateBorder="#FFFFFF",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.clusterBkg="#1E1A2E",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.filterColor="#FFFFFF"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#FFFFFF"),this.secondaryColor=this.secondaryColor||Y(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||Y(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||$t(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||$t(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||$t(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||$t(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#FFFFFF",this.secondaryTextColor=this.secondaryTextColor||xe(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||xe(this.tertiaryColor),this.lineColor=this.lineColor||xe(this.background),this.arrowheadColor=this.arrowheadColor||xe(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.border1,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Ee(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder="#FFFFFF",this.signalColor="#FFFFFF",this.labelBoxBorderColor="#BDBCCC",this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||Ee(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||xe(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.compositeBackground="#16141F",this.altBackground="#16141F",this.compositeTitleBackground="#16141F",this.stateEdgeLabelBackground="#16141F",this.fontWeight=600,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||Y(this.primaryColor,{h:30}),this.cScale4=this.cScale4||Y(this.primaryColor,{h:60}),this.cScale5=this.cScale5||Y(this.primaryColor,{h:90}),this.cScale6=this.cScale6||Y(this.primaryColor,{h:120}),this.cScale7=this.cScale7||Y(this.primaryColor,{h:150}),this.cScale8=this.cScale8||Y(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||Y(this.primaryColor,{h:270}),this.cScale10=this.cScale10||Y(this.primaryColor,{h:300}),this.cScale11=this.cScale11||Y(this.primaryColor,{h:330}),this.darkMode)for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScale"+r]=Ee(this["cScale"+r],75);else for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScale"+r]=Ee(this["cScale"+r],25);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleInv"+r]=this["cScaleInv"+r]||xe(this["cScale"+r]);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this.darkMode?this["cScalePeer"+r]=this["cScalePeer"+r]||ze(this["cScale"+r],10):this["cScalePeer"+r]=this["cScalePeer"+r]||Ee(this["cScale"+r],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleLabel"+r]=this["cScaleLabel"+r]||this.scaleLabelColor;const t=this.darkMode?-4:-1;for(let r=0;r<5;r++)this["surface"+r]=this["surface"+r]||Y(this.mainBkg,{h:180,s:-15,l:t*(5+r*3)}),this["surfacePeer"+r]=this["surfacePeer"+r]||Y(this.mainBkg,{h:180,s:-15,l:t*(8+r*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||Y(this.primaryColor,{h:64}),this.fillType3=this.fillType3||Y(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||Y(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||Y(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||Y(this.primaryColor,{h:128}),this.fillType7=this.fillType7||Y(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||Y(this.primaryColor,{l:-10}),this.pie5=this.pie5||Y(this.secondaryColor,{l:-10}),this.pie6=this.pie6||Y(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||Y(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||Y(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||Y(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||Y(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||Y(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||Y(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||Y(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||Y(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||Y(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||Y(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||Y(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||Y(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ml(this.quadrant1Fill)?ze(this.quadrant1Fill):Ee(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?Ee(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.requirementEdgeLabelBackground="#16141F",this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||Y(this.primaryColor,{h:-30}),this.git4=this.git4||Y(this.primaryColor,{h:-60}),this.git5=this.git5||Y(this.primaryColor,{h:-90}),this.git6=this.git6||Y(this.primaryColor,{h:60}),this.git7=this.git7||Y(this.primaryColor,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=Ee(this.git0,25),this.git1=Ee(this.git1,25),this.git2=Ee(this.git2,25),this.git3=Ee(this.git3,25),this.git4=Ee(this.git4,25),this.git5=Ee(this.git5,25),this.git6=Ee(this.git6,25),this.git7=Ee(this.git7,25)),this.gitInv0=this.gitInv0||xe(this.git0),this.gitInv1=this.gitInv1||xe(this.git1),this.gitInv2=this.gitInv2||xe(this.git2),this.gitInv3=this.gitInv3||xe(this.git3),this.gitInv4=this.gitInv4||xe(this.git4),this.gitInv5=this.gitInv5||xe(this.git5),this.gitInv6=this.gitInv6||xe(this.git6),this.gitInv7=this.gitInv7||xe(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.commitLineColor=this.commitLineColor??"#BDBCCC",this.erEdgeLabelBackground="#16141F",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Sc,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Mc}calculate(t){if(typeof t!="object"){this.updateColors();return}const r=Object.keys(t);r.forEach(n=>{this[n]=t[n]}),this.updateColors(),r.forEach(n=>{this[n]=t[n]})}},j(ag,"Theme"),ag),Oht=j(e=>{const t=new Dht;return t.calculate(e),t},"getThemeVariables"),ig,Bht=(ig=class{constructor(){this.background="#ffffff",this.primaryColor="#cccccc",this.mainBkg="#ffffff",this.noteBkgColor="#fff5ad",this.noteTextColor="#28253D",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.primaryBorderColor=$t(this.primaryColor,this.darkMode),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#28253D",this.stateBorder="#28253D",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.tertiaryColor="#ffffff",this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.actorBorder="#28253D",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.borderColorArray=["#E879F9","#2DD4BF","#FB923C","#22D3EE","#4ADE80","#A78BFA","#F87171","#FACC15","#818CF8","#A3E635 ","#38BDF8","#FB7185"],this.bkgColorArray=["#FDF4FF","#F0FDFA","#FFF7ED","#ECFEFF","#F0FDF4","#F5F3FF","#FEF2F2","#FEFCE8","#EEF2FF","#F7FEE7","#F0F9FF","#FFF1F2"],this.filterColor="#000000"}updateColors(){this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#28253D"),this.secondaryColor=this.secondaryColor||Y(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||Y(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||$t(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||$t(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||$t(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||$t(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#28253D",this.secondaryTextColor=this.secondaryTextColor||xe(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||xe(this.tertiaryColor),this.lineColor=this.lineColor||xe(this.background),this.arrowheadColor=this.arrowheadColor||xe(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Ee(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||Ee(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||xe(this.lineColor);const t="#ECECFE",r="#E9E9F1",n=Y(t,{h:180,l:5});this.sectionBkgColor=this.sectionBkgColor||n,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||r,this.sectionBkgColor2=this.sectionBkgColor2||t,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||t,this.activeTaskBorderColor=this.activeTaskBorderColor||t,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(t,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||"#f4a8ff",this.cScale1=this.cScale1||"#46ecd5",this.cScale2=this.cScale2||"#ffb86a",this.cScale3=this.cScale3||"#dab2ff",this.cScale4=this.cScale4||"#7bf1a8",this.cScale5=this.cScale5||"#c4b4ff",this.cScale6=this.cScale6||"#ffa2a2",this.cScale7=this.cScale7||"#ffdf20",this.cScale8=this.cScale8||"#a3b3ff",this.cScale9=this.cScale9||"#bbf451",this.cScale10=this.cScale10||"#74d4ff",this.cScale11=this.cScale11||"#ffa1ad";for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScaleInv"+a]=this["cScaleInv"+a]||xe(this["cScale"+a]);for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this.darkMode?this["cScalePeer"+a]=this["cScalePeer"+a]||ze(this["cScale"+a],10):this["cScalePeer"+a]=this["cScalePeer"+a]||Ee(this["cScale"+a],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let a=0;a<this.THEME_COLOR_LIMIT;a++)this["cScaleLabel"+a]=this["cScaleLabel"+a]||this.scaleLabelColor;const o=this.darkMode?-4:-1;for(let a=0;a<5;a++)this["surface"+a]=this["surface"+a]||Y(this.mainBkg,{h:180,s:-15,l:o*(5+a*3)}),this["surfacePeer"+a]=this["surfacePeer"+a]||Y(this.mainBkg,{h:180,s:-15,l:o*(8+a*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||t,this.fillType1=this.fillType1||r,this.fillType2=this.fillType2||Y(t,{h:64}),this.fillType3=this.fillType3||Y(r,{h:64}),this.fillType4=this.fillType4||Y(t,{h:-64}),this.fillType5=this.fillType5||Y(r,{h:-64}),this.fillType6=this.fillType6||Y(t,{h:128}),this.fillType7=this.fillType7||Y(r,{h:128}),this.pie1=this.pie1||t,this.pie2=this.pie2||r,this.pie3=this.pie3||n,this.pie4=this.pie4||Y(t,{l:-10}),this.pie5=this.pie5||Y(r,{l:-10}),this.pie6=this.pie6||Y(n,{l:-10}),this.pie7=this.pie7||Y(t,{h:60,l:-10}),this.pie8=this.pie8||Y(t,{h:-60,l:-10}),this.pie9=this.pie9||Y(t,{h:120,l:0}),this.pie10=this.pie10||Y(t,{h:60,l:-20}),this.pie11=this.pie11||Y(t,{h:-60,l:-20}),this.pie12=this.pie12||Y(t,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||t,this.quadrant2Fill=this.quadrant2Fill||Y(t,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||Y(t,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||Y(t,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||Y(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||Y(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||Y(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ml(this.quadrant1Fill)?ze(this.quadrant1Fill):Ee(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||t,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?Ee(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||t,this.git1=this.git1||r,this.git2=this.git2||n,this.git3=this.git3||Y(t,{h:-30}),this.git4=this.git4||Y(t,{h:-60}),this.git5=this.git5||Y(t,{h:-90}),this.git6=this.git6||Y(t,{h:60}),this.git7=this.git7||Y(t,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=Ee(this.git0,25),this.git1=Ee(this.git1,25),this.git2=Ee(this.git2,25),this.git3=Ee(this.git3,25),this.git4=Ee(this.git4,25),this.git5=Ee(this.git5,25),this.git6=Ee(this.git6,25),this.git7=Ee(this.git7,25)),this.gitInv0=this.gitInv0||xe(this.git0),this.gitInv1=this.gitInv1||xe(this.git1),this.gitInv2=this.gitInv2||xe(this.git2),this.gitInv3=this.gitInv3||xe(this.git3),this.gitInv4=this.gitInv4||xe(this.git4),this.gitInv5=this.gitInv5||xe(this.git5),this.gitInv6=this.gitInv6||xe(this.git6),this.gitInv7=this.gitInv7||xe(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLineColor=this.commitLineColor??"#BDBCCC",this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.fontWeight=600,this.erEdgeLabelBackground="#FFFFFF",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Sc,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Mc}calculate(t){if(typeof t!="object"){this.updateColors();return}const r=Object.keys(t);r.forEach(n=>{this[n]=t[n]}),this.updateColors(),r.forEach(n=>{this[n]=t[n]})}},j(ig,"Theme"),ig),Nht=j(e=>{const t=new Bht;return t.calculate(e),t},"getThemeVariables"),sg,jht=(sg=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=ze(this.primaryColor,16),this.tertiaryColor=Y(this.primaryColor,{h:-160}),this.primaryBorderColor=xe(this.background),this.secondaryBorderColor=$t(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=$t(this.tertiaryColor,this.darkMode),this.primaryTextColor=xe(this.primaryColor),this.secondaryTextColor=xe(this.secondaryColor),this.tertiaryTextColor=xe(this.tertiaryColor),this.mainBkg="#111113",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=ze(xe("#323D47"),10),this.border1="#ccc",this.border2=Vd(255,255,255,.25),this.arrowheadColor=xe(this.background),this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.labelBackground="#111113",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.radius=12,this.strokeWidth=2,this.noteBkgColor=this.noteBkgColor??"#FEF9C3",this.noteTextColor=this.noteTextColor??"#28253D",this.THEME_COLOR_LIMIT=12,this.fontFamily='"Recursive Variable", arial, sans-serif',this.fontSize="14px",this.nodeBorder="#FFFFFF",this.stateBorder="#FFFFFF",this.useGradient=!1,this.gradientStart="#0042eb",this.gradientStop="#eb0042",this.dropShadow="url(#drop-shadow)",this.nodeShadow=!0,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.clusterBkg="#1E1A2E",this.clusterBorder="#BDBCCC",this.noteBorderColor="#FACC15",this.noteFontWeight=600,this.borderColorArray=["#E879F9","#2DD4BF","#FB923C","#22D3EE","#4ADE80","#A78BFA","#F87171","#FACC15","#818CF8","#A3E635 ","#38BDF8","#FB7185"],this.bkgColorArray=[],this.filterColor="#FFFFFF"}updateColors(){this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#FFFFFF"),this.secondaryColor=this.secondaryColor||Y(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||Y(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||$t(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||$t(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||$t(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||$t(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#FFFFFF",this.secondaryTextColor=this.secondaryTextColor||xe(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||xe(this.tertiaryColor),this.lineColor=this.lineColor||xe(this.background),this.arrowheadColor=this.arrowheadColor||xe(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.border1,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?Ee(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder="#FFFFFF",this.signalColor="#FFFFFF",this.labelBoxBorderColor="#BDBCCC",this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||Ee(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||xe(this.lineColor),this.rootLabelColor="#FFFFFF",this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||ze(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.vertLineColor=this.vertLineColor||this.primaryBorderColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||"#f4a8ff",this.cScale1=this.cScale1||"#46ecd5",this.cScale2=this.cScale2||"#ffb86a",this.cScale3=this.cScale3||"#dab2ff",this.cScale4=this.cScale4||"#7bf1a8",this.cScale5=this.cScale5||"#c4b4ff",this.cScale6=this.cScale6||"#ffa2a2",this.cScale7=this.cScale7||"#ffdf20",this.cScale8=this.cScale8||"#a3b3ff",this.cScale9=this.cScale9||"#bbf451",this.cScale10=this.cScale10||"#74d4ff",this.cScale11=this.cScale11||"#ffa1ad";for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleInv"+r]=this["cScaleInv"+r]||xe(this["cScale"+r]);for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this.darkMode?this["cScalePeer"+r]=this["cScalePeer"+r]||ze(this["cScale"+r],10):this["cScalePeer"+r]=this["cScalePeer"+r]||Ee(this["cScale"+r],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let r=0;r<this.THEME_COLOR_LIMIT;r++)this["cScaleLabel"+r]=Ee(this["cScale"+r],75);const t=this.darkMode?-4:-1;for(let r=0;r<5;r++)this["surface"+r]=this["surface"+r]||Y(this.mainBkg,{h:180,s:-15,l:t*(5+r*3)}),this["surfacePeer"+r]=this["surfacePeer"+r]||Y(this.mainBkg,{h:180,s:-15,l:t*(8+r*3)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||Y(this.primaryColor,{h:64}),this.fillType3=this.fillType3||Y(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||Y(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||Y(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||Y(this.primaryColor,{h:128}),this.fillType7=this.fillType7||Y(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||Y(this.primaryColor,{l:-10}),this.pie5=this.pie5||Y(this.secondaryColor,{l:-10}),this.pie6=this.pie6||Y(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||Y(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||Y(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||Y(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||Y(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||Y(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||Y(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.vennTitleTextColor=this.vennTitleTextColor??this.titleColor,this.vennSetTextColor=this.vennSetTextColor??this.textColor,this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||Y(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||Y(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||Y(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||Y(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||Y(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||Y(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||ml(this.quadrant1Fill)?ze(this.quadrant1Fill):Ee(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"},this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?Ee(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||Y(this.primaryColor,{h:-30}),this.git4=this.git4||Y(this.primaryColor,{h:-60}),this.git5=this.git5||Y(this.primaryColor,{h:-90}),this.git6=this.git6||Y(this.primaryColor,{h:60}),this.git7=this.git7||Y(this.primaryColor,{h:120}),this.darkMode?(this.git0=ze(this.git0,25),this.git1=ze(this.git1,25),this.git2=ze(this.git2,25),this.git3=ze(this.git3,25),this.git4=ze(this.git4,25),this.git5=ze(this.git5,25),this.git6=ze(this.git6,25),this.git7=ze(this.git7,25)):(this.git0=Ee(this.git0,25),this.git1=Ee(this.git1,25),this.git2=Ee(this.git2,25),this.git3=Ee(this.git3,25),this.git4=Ee(this.git4,25),this.git5=Ee(this.git5,25),this.git6=Ee(this.git6,25),this.git7=Ee(this.git7,25)),this.gitInv0=this.gitInv0||xe(this.git0),this.gitInv1=this.gitInv1||xe(this.git1),this.gitInv2=this.gitInv2||xe(this.git2),this.gitInv3=this.gitInv3||xe(this.git3),this.gitInv4=this.gitInv4||xe(this.git4),this.gitInv5=this.gitInv5||xe(this.git5),this.gitInv6=this.gitInv6||xe(this.git6),this.gitInv7=this.gitInv7||xe(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.commitLineColor=this.commitLineColor??"#BDBCCC",this.fontWeight=600,this.erEdgeLabelBackground="#16141F",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Sc,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Mc}calculate(t){if(typeof t!="object"){this.updateColors();return}const r=Object.keys(t);r.forEach(n=>{this[n]=t[n]}),this.updateColors(),r.forEach(n=>{this[n]=t[n]})}},j(sg,"Theme"),sg),Pht=j(e=>{const t=new jht;return t.calculate(e),t},"getThemeVariables"),pu={base:{getThemeVariables:xht},dark:{getThemeVariables:vht},default:{getThemeVariables:Cht},forest:{getThemeVariables:Mht},neutral:{getThemeVariables:Tht},neo:{getThemeVariables:Lht},"neo-dark":{getThemeVariables:Iht},redux:{getThemeVariables:zht},"redux-dark":{getThemeVariables:Oht},"redux-color":{getThemeVariables:Nht},"redux-dark-color":{getThemeVariables:Pht}},Ki={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:null,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200,inheritDir:!1},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,maxLabelWidth:360,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],titleColor:"",titleFontFamily:'"trebuchet ms", verdana, arial, sans-serif',titleFontSize:"4ex"},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1,hideEmptyMembersBox:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,nodeSpacing:140,rankSpacing:80,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showDataLabel:!1,showDataLabelOutsideBar:!1,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200,layoutAlgorithm:"cose-bilkent"},ishikawa:{useMaxWidth:!0,diagramPadding:20},kanban:{useMaxWidth:!0,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},treeView:{useMaxWidth:!0,rowIndent:10,paddingX:5,paddingY:5,lineThickness:1},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16,randomize:!1},radar:{useMaxWidth:!0,width:600,height:600,marginTop:50,marginRight:50,marginBottom:50,marginLeft:50,axisScaleFactor:1,axisLabelFactor:1.05,curveTension:.17},venn:{useMaxWidth:!0,width:800,height:450,padding:8,useDebugLayout:!1},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1},pve={...Ki,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF",forceNodeModelOrder:!1,considerModelOrder:"NODES_AND_EDGES"},themeCSS:void 0,themeVariables:pu.default.getThemeVariables(),sequence:{...Ki.sequence,messageFont:j(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:j(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:j(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{hideEmptyMembersBox:!1},gantt:{...Ki.gantt,tickInterval:void 0,useWidth:void 0},c4:{...Ki.c4,useWidth:void 0,personFont:j(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),flowchart:{...Ki.flowchart,inheritDir:!1},external_personFont:j(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:j(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:j(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:j(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:j(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:j(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:j(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:j(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:j(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:j(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:j(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:j(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:j(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:j(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:j(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:j(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:j(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:j(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:j(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:j(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:j(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...Ki.pie,useWidth:984},xyChart:{...Ki.xyChart,useWidth:void 0},requirement:{...Ki.requirement,useWidth:void 0},packet:{...Ki.packet},treeView:{...Ki.treeView,useWidth:void 0},radar:{...Ki.radar},ishikawa:{...Ki.ishikawa},treemap:{useMaxWidth:!0,padding:10,diagramPadding:8,showValues:!0,nodeWidth:100,nodeHeight:40,borderWidth:1,valueFontSize:12,labelFontSize:14,valueFormat:","},venn:{...Ki.venn}},mve=j((e,t="")=>Object.keys(e).reduce((r,n)=>Array.isArray(e[n])?r:typeof e[n]=="object"&&e[n]!==null?[...r,t+n,...mve(e[n],"")]:[...r,t+n],[]),"keyify"),Fht=new Set(mve(pve,"")),gve=pve,g$=j(e=>{if(He.debug("sanitizeDirective called with",e),!(typeof e!="object"||e==null)){if(Array.isArray(e)){e.forEach(t=>g$(t));return}for(const t of Object.keys(e)){if(He.debug("Checking key",t),t.startsWith("__")||t.includes("proto")||t.includes("constr")||!Fht.has(t)||e[t]==null){He.debug("sanitize deleting key: ",t),delete e[t];continue}if(typeof e[t]=="object"){He.debug("sanitizing object",t),g$(e[t]);continue}const r=["themeCSS","fontFamily","altFontFamily"];for(const n of r)t.includes(n)&&(He.debug("sanitizing css option",t),e[t]=qht(e[t]))}if(e.themeVariables)for(const t of Object.keys(e.themeVariables)){const r=e.themeVariables[t];r?.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(e.themeVariables[t]="")}He.debug("After sanitization",e)}},"sanitizeDirective"),qht=j(e=>{let t=0,r=0;for(const n of e){if(t<r)return"{ /* ERROR: Unbalanced CSS */ }";n==="{"?t++:n==="}"&&r++}return t!==r?"{ /* ERROR: Unbalanced CSS */ }":e},"sanitizeCss"),Rg=Object.freeze(gve),Nu=j(e=>!(e===!1||["false","null","0"].includes(String(e).trim().toLowerCase())),"evaluate"),Li=Qo({},Rg),y$,Np=[],A4=Qo({},Rg),AU=j((e,t)=>{let r=Qo({},e),n={};for(const o of t)xve(o),n=Qo(n,o);if(r=Qo(r,n),n.theme&&n.theme in pu){const o=Qo({},y$),a=Qo(o.themeVariables||{},n.themeVariables);r.theme&&r.theme in pu&&(r.themeVariables=pu[r.theme].getThemeVariables(a))}return A4=r,vve(A4),A4},"updateCurrentConfig"),Hht=j(e=>(Li=Qo({},Rg),Li=Qo(Li,e),e.theme&&pu[e.theme]&&(Li.themeVariables=pu[e.theme].getThemeVariables(e.themeVariables)),AU(Li,Np),Li),"setSiteConfig"),$ht=j(e=>{y$=Qo({},e)},"saveConfigFromInitialize"),Vht=j(e=>(Li=Qo(Li,e),AU(Li,Np),Li),"updateSiteConfig"),yve=j(()=>Qo({},Li),"getSiteConfig"),bve=j(e=>(vve(e),Qo(A4,e),Xn()),"setConfig"),Xn=j(()=>Qo({},A4),"getConfig"),xve=j(e=>{e&&(["secure",...Li.secure??[]].forEach(t=>{Object.hasOwn(e,t)&&(He.debug(`Denied attempt to modify a secure key ${t}`,e[t]),delete e[t])}),Object.keys(e).forEach(t=>{t.startsWith("__")&&delete e[t]}),Object.keys(e).forEach(t=>{typeof e[t]=="string"&&(e[t].includes("<")||e[t].includes(">")||e[t].includes("url(data:"))&&delete e[t],typeof e[t]=="object"&&xve(e[t])}))},"sanitize"),Uht=j(e=>{g$(e),e.fontFamily&&!e.themeVariables?.fontFamily&&(e.themeVariables={...e.themeVariables,fontFamily:e.fontFamily}),Np.push(e),AU(Li,Np)},"addDirective"),b$=j((e=Li)=>{Np=[],AU(e,Np)},"reset"),Wht={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",FLOWCHART_HTML_LABELS_DEPRECATED:"flowchart.htmlLabels is deprecated. Please use global htmlLabels instead."},K0e={},kve=j(e=>{K0e[e]||(He.warn(Wht[e]),K0e[e]=!0)},"issueWarning"),vve=j(e=>{e&&(e.lazyLoadedDiagrams||e.loadExternalDiagramsAtStartup)&&kve("LAZY_LOAD_DEPRECATED")},"checkConfig"),WMt=j(()=>{let e={};y$&&(e=Qo(e,y$));for(const t of Np)e=Qo(e,t);return e},"getUserDefinedConfig"),ni=j(e=>(e.flowchart?.htmlLabels!=null&&kve("FLOWCHART_HTML_LABELS_DEPRECATED"),Nu(e.htmlLabels??e.flowchart?.htmlLabels??!0)),"getEffectiveHtmlLabels"),lk=/<br\s*\/?>/gi,Ght=j(e=>e?Sve(e).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),Zht=(()=>{let e=!1;return()=>{e||(wve(),e=!0)}})();function wve(){const e="data-temp-href-target";Ig.addHook("beforeSanitizeAttributes",t=>{t.tagName==="A"&&t.hasAttribute("target")&&t.setAttribute(e,t.getAttribute("target")??"")}),Ig.addHook("afterSanitizeAttributes",t=>{t.tagName==="A"&&t.hasAttribute(e)&&(t.setAttribute("target",t.getAttribute(e)??""),t.removeAttribute(e),t.getAttribute("target")==="_blank"&&t.setAttribute("rel","noopener"))})}j(wve,"setupDompurifyHooks");var Cve=j(e=>(Zht(),Ig.sanitize(e)),"removeScript"),Y0e=j((e,t)=>{if(ni(t)){const r=t.securityLevel;r==="antiscript"||r==="strict"||r==="sandbox"?e=Cve(e):r!=="loose"&&(e=Sve(e),e=e.replace(/</g,"&lt;").replace(/>/g,"&gt;"),e=e.replace(/=/g,"&equals;"),e=Qht(e))}return e},"sanitizeMore"),ul=j((e,t)=>e&&(t.dompurifyConfig?e=Ig.sanitize(Y0e(e,t),t.dompurifyConfig).toString():e=Ig.sanitize(Y0e(e,t),{FORBID_TAGS:["style"]}).toString(),e),"sanitizeText"),Kht=j((e,t)=>typeof e=="string"?ul(e,t):e.flat().map(r=>ul(r,t)),"sanitizeTextOrArray"),Yht=j(e=>lk.test(e),"hasBreaks"),Xht=j(e=>e.split(lk),"splitBreaks"),Qht=j(e=>e.replace(/#br#/g,"<br/>"),"placeholderToBreak"),Sve=j(e=>e.replace(lk,"#br#"),"breakToPlaceholder"),Jht=j(e=>{let t="";return e&&(t=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,t=CSS.escape(t)),t},"getUrl"),e0t=j(function(...e){const t=e.filter(r=>!isNaN(r));return Math.max(...t)},"getMax"),t0t=j(function(...e){const t=e.filter(r=>!isNaN(r));return Math.min(...t)},"getMin"),X0e=j(function(e){const t=e.split(/(,)/),r=[];for(let n=0;n<t.length;n++){let o=t[n];if(o===","&&n>0&&n+1<t.length){const a=t[n-1],i=t[n+1];r0t(a,i)&&(o=a+","+i,n++,r.pop())}r.push(n0t(o))}return r.join("")},"parseGenericTypes"),mJ=j((e,t)=>Math.max(0,e.split(t).length-1),"countOccurrence"),r0t=j((e,t)=>{const r=mJ(e,"~"),n=mJ(t,"~");return r===1&&n===1},"shouldCombineSets"),n0t=j(e=>{const t=mJ(e,"~");let r=!1;if(t<=1)return e;t%2!==0&&e.startsWith("~")&&(e=e.substring(1),r=!0);const n=[...e];let o=n.indexOf("~"),a=n.lastIndexOf("~");for(;o!==-1&&a!==-1&&o!==a;)n[o]="<",n[a]=">",o=n.indexOf("~"),a=n.lastIndexOf("~");return r&&n.unshift("~"),n.join("")},"processSet"),Q0e=j(()=>window.MathMLElement!==void 0,"isMathMLSupported"),gJ=/\$\$(.*)\$\$/g,ux=j(e=>(e.match(gJ)?.length??0)>0,"hasKatex"),GMt=j(async(e,t)=>{const r=document.createElement("div");r.innerHTML=await Mve(e,t),r.id="katex-temp",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0",document.querySelector("body")?.insertAdjacentElement("beforeend",r);const o={width:r.clientWidth,height:r.clientHeight};return r.remove(),o},"calculateMathMLDimensions"),o0t=j(async(e,t)=>{if(!ux(e))return e;if(!(Q0e()||t.legacyMathML||t.forceLegacyMathML))return e.replace(gJ,"MathML is unsupported in this environment.");{const{default:r}=await ne(async()=>{const{default:o}=await Promise.resolve().then(()=>qct);return{default:o}},void 0),n=t.forceLegacyMathML||!Q0e()&&t.legacyMathML?"htmlAndMathml":"mathml";return e.split(lk).map(o=>ux(o)?`<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${o}</div>`:`<div>${o}</div>`).join("").replace(gJ,(o,a)=>r.renderToString(a,{throwOnError:!0,displayMode:!0,output:n}).replace(/\n/g," ").replace(/<annotation.*<\/annotation>/g,""))}},"renderKatexUnsanitized"),Mve=j(async(e,t)=>ul(await o0t(e,t),t),"renderKatexSanitized"),ck={getRows:Ght,sanitizeText:ul,sanitizeTextOrArray:Kht,hasBreaks:Yht,splitBreaks:Xht,lineBreakRegex:lk,removeScript:Cve,getUrl:Jht,evaluate:Nu,getMax:e0t,getMin:t0t},a0t=j(function(e,t){for(let r of t)e.attr(r[0],r[1])},"d3Attrs"),i0t=j(function(e,t,r){let n=new Map;return r?(n.set("width","100%"),n.set("style",`max-width: ${t}px;`)):(n.set("height",e),n.set("width",t)),n},"calculateSvgSizeAttrs"),_ve=j(function(e,t,r,n){const o=i0t(t,r,n);a0t(e,o)},"configureSvgSize"),s0t=j(function(e,t,r,n){const o=t.node().getBBox(),a=o.width,i=o.height;He.info(`SVG bounds: ${a}x${i}`,o);let s=0,l=0;He.info(`Graph bounds: ${s}x${l}`,e),s=a+r*2,l=i+r*2,He.info(`Calculated bounds: ${s}x${l}`),_ve(t,l,s,n);const u=`${o.x-r} ${o.y-r} ${o.width+2*r} ${o.height+2*r}`;t.attr("viewBox",u)},"setupGraphViewbox"),lH={},l0t=j((e,t,r,n)=>{let o="";return e in lH&&lH[e]?o=lH[e]({...r,svgId:n}):He.warn(`No theme found for ${e}`),` & {
460
460
  font-family: ${r.fontFamily};
@@ -746,8 +746,8 @@ Please report this to https://github.com/markedjs/marked.`,t){let o="<p>An error
746
746
  L0,20`)},"requirement_arrow"),abt=j((e,t,r)=>{const n=Xn(),{themeVariables:o}=n,{strokeWidth:a}=o;e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("stroke-width",`${a}`).attr("viewBox","0 0 25 20").append("path").attr("d",`M0,0
747
747
  L20,10
748
748
  M20,10
749
- L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),ibt=j((e,t,r)=>{const n=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");n.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),n.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),n.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),sbt=j((e,t,r)=>{const n=Xn(),{themeVariables:o}=n,{strokeWidth:a}=o,i=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");i.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),i.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),i.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),i.selectAll("*").attr("stroke-width",`${a}`)},"requirement_contains_neo"),lbt={extension:Fyt,composition:qyt,aggregation:Hyt,dependency:$yt,lollipop:Vyt,point:Uyt,circle:Wyt,cross:Gyt,barb:Zyt,barbNeo:Kyt,only_one:Yyt,zero_or_one:Xyt,one_or_more:Qyt,zero_or_more:Jyt,only_one_neo:ebt,zero_or_one_neo:tbt,one_or_more_neo:rbt,zero_or_more_neo:nbt,requirement_arrow:obt,requirement_contains:ibt,requirement_arrow_neo:abt,requirement_contains_neo:sbt},cbt=Pyt,ubt={common:ck,getConfig:Xn,insertCluster:syt,insertEdge:jyt,insertEdgeLabel:Ryt,insertMarkers:cbt,insertNode:pCe,interpolateToCurve:wne,labelHelper:Ft,log:He,positionEdgeLabel:zyt},kx={},bCe=j(e=>{for(const t of e)kx[t.name]=t},"registerLayoutLoaders"),dbt=j(()=>{bCe([{name:"dagre",loader:j(async()=>await ne(()=>import("./dagre-KV5264BT-DlJMTF3p.js"),__vite__mapDeps([88,89,90,91,92,93])),"loader")},{name:"cose-bilkent",loader:j(async()=>await ne(()=>import("./cose-bilkent-S5V4N54A-CQckuOjI.js"),__vite__mapDeps([94,95])),"loader")}])},"registerDefaultLayoutLoaders");dbt();var b_t=j(async(e,t)=>{if(!(e.layoutAlgorithm in kx))throw new Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(const d of e.nodes){const f=d.domId||d.id;d.domId=`${e.diagramId}-${f}`}const r=kx[e.layoutAlgorithm],n=await r.loader(),{theme:o,themeVariables:a}=e.config,{useGradient:i,gradientStart:s,gradientStop:l}=a,u=t.attr("id");if(t.append("defs").append("filter").attr("id",`${u}-drop-shadow`).attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${o?.includes("dark")?"#FFFFFF":"#000000"}`),t.append("defs").append("filter").attr("id",`${u}-drop-shadow-small`).attr("height","150%").attr("width","150%").append("feDropShadow").attr("dx","2").attr("dy","2").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${o?.includes("dark")?"#FFFFFF":"#000000"}`),i){const d=t.append("linearGradient").attr("id",t.attr("id")+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");d.append("svg:stop").attr("offset","0%").attr("stop-color",s).attr("stop-opacity",1),d.append("svg:stop").attr("offset","100%").attr("stop-color",l).attr("stop-opacity",1)}return n.render(e,t,ubt,{algorithm:r.algorithm})},"render"),x_t=j((e="",{fallback:t="dagre"}={})=>{if(e in kx)return e;if(t in kx)return He.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`),t;throw new Error(`Both layout algorithms ${e} and ${t} are not registered.`)},"getRegisteredLayoutAlgorithm"),xCe="comm",kCe="rule",vCe="decl",hbt="@import",fbt="@namespace",pbt="@keyframes",mbt="@layer",gbt=Math.abs,I4=String.fromCharCode;function wCe(e){return e.trim()}function ree(e,t,r){return e.replace(t,r)}function Wm(e,t){return e.charCodeAt(t)|0}function Ng(e,t,r){return e.slice(t,r)}function Hl(e){return e.length}function ybt(e){return e.length}function I5(e,t){return t.push(e),e}var $U=1,jg=1,CCe=0,Os=0,Do=0,py="";function $ne(e,t,r,n,o,a,i,s){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:$U,column:jg,length:i,return:"",siblings:s}}function bbt(){return Do}function xbt(){return Do=Os>0?Wm(py,--Os):0,jg--,Do===10&&(jg=1,$U--),Do}function ol(){return Do=Os<CCe?Wm(py,Os++):0,jg++,Do===10&&(jg=1,$U++),Do}function Fd(){return Wm(py,Os)}function gH(){return Os}function VU(e,t){return Ng(py,e,t)}function vx(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function kbt(e){return $U=jg=1,CCe=Hl(py=e),Os=0,[]}function vbt(e){return py="",e}function uX(e){return wCe(VU(Os-1,nee(e===91?e+2:e===40?e+1:e)))}function wbt(e){for(;(Do=Fd())&&Do<33;)ol();return vx(e)>2||vx(Do)>3?"":" "}function Cbt(e,t){for(;--t&&ol()&&!(Do<48||Do>102||Do>57&&Do<65||Do>70&&Do<97););return VU(e,gH()+(t<6&&Fd()==32&&ol()==32))}function nee(e){for(;ol();)switch(Do){case e:return Os;case 34:case 39:e!==34&&e!==39&&nee(Do);break;case 40:e===41&&nee(e);break;case 92:ol();break}return Os}function Sbt(e,t){for(;ol()&&e+Do!==57;)if(e+Do===84&&Fd()===47)break;return"/*"+VU(t,Os-1)+"*"+I4(e===47?e:ol())}function Mbt(e){for(;!vx(Fd());)ol();return VU(e,Os)}function _bt(e){return vbt(yH("",null,null,null,[""],e=kbt(e),0,[0],e))}function yH(e,t,r,n,o,a,i,s,l){for(var u=0,d=0,f=i,p=0,g=0,b=0,v=1,C=1,S=1,M=0,T=0,A="",R=o,I=a,L=n,N=A;C;)switch(b=T,T=ol()){case 40:b!=108&&Wm(N,f-1)==58?(M++,N+="("):N+=uX(T);break;case 41:M--,N+=")";break;case 34:case 39:case 91:N+=uX(T);break;case 9:case 10:case 13:case 32:if(M>0){N+=I4(T);break}N+=wbt(b);break;case 92:N+=Cbt(gH()-1,7);continue;case 47:switch(Fd()){case 42:case 47:I5(Tbt(Sbt(ol(),gH()),t,r,l),l),(vx(b||1)==5||vx(Fd()||1)==5)&&Hl(N)&&Ng(N,-1,void 0)!==" "&&(N+=" ");break;default:N+="/"}break;case 123*v:s[u++]=Hl(N)*S;case 125*v:case 59:case 0:if(M>0&&T){N+=I4(T);break}switch(T){case 0:case 125:C=0;case 59+d:S==-1&&(N=ree(N,/\f/g,"")),g>0&&(Hl(N)-f||v===0)&&I5(g>32?cfe(N+";",n,r,f-1,l):cfe(ree(N," ","")+";",n,r,f-2,l),l);break;case 59:N+=";";default:if(I5(L=lfe(N,t,r,u,d,o,s,A,R=[],I=[],f,a),a),T===123)if(d===0)yH(N,t,L,L,R,a,f,s,I);else{switch(p){case 99:if(Wm(N,3)===110)break;case 108:if(Wm(N,2)===97)break;default:d=0;case 100:case 109:case 115:}d?yH(e,L,L,n&&I5(lfe(e,L,L,0,0,o,s,A,o,R=[],f,I),I),o,I,f,s,n?R:I):yH(N,L,L,L,[""],I,0,s,I)}}u=d=g=0,v=S=1,A=N="",f=i;break;case 58:f=1+Hl(N),g=b;default:if(v<1){if(T==123)--v;else if(T==125&&v++==0&&xbt()==125)continue}switch(N+=I4(T),T*v){case 38:S=d>0?1:(N+="\f",-1);break;case 44:if(M>0)break;s[u++]=(Hl(N)-1)*S,S=1;break;case 64:Fd()===45&&(N+=uX(ol())),p=Fd(),d=f=Hl(A=N+=Mbt(gH())),T++;break;case 45:b===45&&Hl(N)==2&&(v=0)}}return a}function lfe(e,t,r,n,o,a,i,s,l,u,d,f){for(var p=o-1,g=o===0?a:[""],b=ybt(g),v=0,C=0,S=0;v<n;++v)for(var M=0,T=Ng(e,p+1,p=gbt(C=i[v])),A=e;M<b;++M)(A=wCe(C>0?g[M]+" "+T:ree(T,/&\f/g,g[M])))&&(l[S++]=A);return $ne(e,t,r,o===0?kCe:s,l,u,d,f)}function Tbt(e,t,r,n){return $ne(e,t,r,xCe,I4(bbt()),Ng(e,2,-2),0,n)}function cfe(e,t,r,n,o){return $ne(e,t,r,vCe,Ng(e,0,n),Ng(e,n+1,-1),n,o)}function oee(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Abt(e,t,r,n){switch(e.type){case mbt:if(e.children.length)break;case hbt:case fbt:case vCe:return e.return=e.return||e.value;case xCe:return"";case pbt:return e.return=e.value+"{"+oee(e.children,n)+"}";case kCe:if(!Hl(e.value=e.props.join(",")))return""}return Hl(r=oee(e.children,n))?e.return=e.value+"{"+r+"}":""}var SCe="c4",Lbt=j(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),"detector"),Ebt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./c4Diagram-AHTNJAMY-DZFR4LX5.js");return{diagram:t}},__vite__mapDeps([96,97]));return{id:SCe,diagram:e}},"loader"),Ibt={id:SCe,detector:Lbt,loader:Ebt},Rbt=Ibt,MCe="flowchart",zbt=j((e,t)=>t?.flowchart?.defaultRenderer==="dagre-wrapper"||t?.flowchart?.defaultRenderer==="elk"?!1:/^\s*graph/.test(e),"detector"),Dbt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./flowDiagram-DWJPFMVM-Cku5HglU.js");return{diagram:t}},__vite__mapDeps([98,99,97,100,101,102]));return{id:MCe,diagram:e}},"loader"),Obt={id:MCe,detector:zbt,loader:Dbt},Bbt=Obt,_Ce="flowchart-v2",Nbt=j((e,t)=>t?.flowchart?.defaultRenderer==="dagre-d3"?!1:(t?.flowchart?.defaultRenderer==="elk"&&(t.layout="elk"),/^\s*graph/.test(e)&&t?.flowchart?.defaultRenderer==="dagre-wrapper"?!0:/^\s*flowchart/.test(e)),"detector"),jbt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./flowDiagram-DWJPFMVM-Cku5HglU.js");return{diagram:t}},__vite__mapDeps([98,99,97,100,101,102]));return{id:_Ce,diagram:e}},"loader"),Pbt={id:_Ce,detector:Nbt,loader:jbt},Fbt=Pbt,TCe="er",qbt=j(e=>/^\s*erDiagram/.test(e),"detector"),Hbt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./erDiagram-SMLLAGMA--xo95hAu.js");return{diagram:t}},__vite__mapDeps([103,100,101,102]));return{id:TCe,diagram:e}},"loader"),$bt={id:TCe,detector:qbt,loader:Hbt},Vbt=$bt,ACe="gitGraph",Ubt=j(e=>/^\s*gitGraph/.test(e),"detector"),Wbt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./gitGraphDiagram-UUTBAWPF-CTgTar7o.js");return{diagram:t}},__vite__mapDeps([104,105,106,107,92,90]));return{id:ACe,diagram:e}},"loader"),Gbt={id:ACe,detector:Ubt,loader:Wbt},Zbt=Gbt,LCe="gantt",Kbt=j(e=>/^\s*gantt/.test(e),"detector"),Ybt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./ganttDiagram-T4ZO3ILL-8zwkLWJJ.js");return{diagram:t}},__vite__mapDeps([108,109,110,111]));return{id:LCe,diagram:e}},"loader"),Xbt={id:LCe,detector:Kbt,loader:Ybt},Qbt=Xbt,ECe="info",Jbt=j(e=>/^\s*info/.test(e),"detector"),e4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./infoDiagram-42DDH7IO-BW7T1qQI.js");return{diagram:t}},__vite__mapDeps([112,107,92,90]));return{id:ECe,diagram:e}},"loader"),t4t={id:ECe,detector:Jbt,loader:e4t},ICe="pie",r4t=j(e=>/^\s*pie/.test(e),"detector"),n4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./pieDiagram-DEJITSTG-gLePwLOg.js");return{diagram:t}},__vite__mapDeps([113,105,107,92,90,114,115,110]));return{id:ICe,diagram:e}},"loader"),o4t={id:ICe,detector:r4t,loader:n4t},RCe="quadrantChart",a4t=j(e=>/^\s*quadrantChart/.test(e),"detector"),i4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./quadrantDiagram-34T5L4WZ-D5RCEJLY.js");return{diagram:t}},__vite__mapDeps([116,109,110,111]));return{id:RCe,diagram:e}},"loader"),s4t={id:RCe,detector:a4t,loader:i4t},l4t=s4t,zCe="xychart",c4t=j(e=>/^\s*xychart(-beta)?/.test(e),"detector"),u4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./xychartDiagram-5P7HB3ND-Bk3ni12B.js");return{diagram:t}},__vite__mapDeps([117,110,115,109,111]));return{id:zCe,diagram:e}},"loader"),d4t={id:zCe,detector:c4t,loader:u4t},h4t=d4t,DCe="requirement",f4t=j(e=>/^\s*requirement(Diagram)?/.test(e),"detector"),p4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./requirementDiagram-MS252O5E-BEDR4uCm.js");return{diagram:t}},__vite__mapDeps([118,100,101]));return{id:DCe,diagram:e}},"loader"),m4t={id:DCe,detector:f4t,loader:p4t},g4t=m4t,OCe="sequence",y4t=j(e=>/^\s*sequenceDiagram/.test(e),"detector"),b4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./sequenceDiagram-FGHM5R23-CR3PT2M9.js");return{diagram:t}},__vite__mapDeps([119,97,106]));return{id:OCe,diagram:e}},"loader"),x4t={id:OCe,detector:y4t,loader:b4t},k4t=x4t,BCe="class",v4t=j((e,t)=>t?.class?.defaultRenderer==="dagre-wrapper"?!1:/^\s*classDiagram/.test(e),"detector"),w4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./classDiagram-6PBFFD2Q-BRGe5HhN.js");return{diagram:t}},__vite__mapDeps([120,121,99,97,100,101]));return{id:BCe,diagram:e}},"loader"),C4t={id:BCe,detector:v4t,loader:w4t},S4t=C4t,NCe="classDiagram",M4t=j((e,t)=>/^\s*classDiagram/.test(e)&&t?.class?.defaultRenderer==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(e),"detector"),_4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./classDiagram-v2-HSJHXN6E-BRGe5HhN.js");return{diagram:t}},__vite__mapDeps([122,121,99,97,100,101]));return{id:NCe,diagram:e}},"loader"),T4t={id:NCe,detector:M4t,loader:_4t},A4t=T4t,jCe="state",L4t=j((e,t)=>t?.state?.defaultRenderer==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(e),"detector"),E4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./stateDiagram-FHFEXIEX-Be1VOY7u.js");return{diagram:t}},__vite__mapDeps([123,124,100,101,89,90,91,92]));return{id:jCe,diagram:e}},"loader"),I4t={id:jCe,detector:L4t,loader:E4t},R4t=I4t,PCe="stateDiagram",z4t=j((e,t)=>!!(/^\s*stateDiagram-v2/.test(e)||/^\s*stateDiagram/.test(e)&&t?.state?.defaultRenderer==="dagre-wrapper"),"detector"),D4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./stateDiagram-v2-QKLJ7IA2-DDG5P4Fr.js");return{diagram:t}},__vite__mapDeps([125,124,100,101]));return{id:PCe,diagram:e}},"loader"),O4t={id:PCe,detector:z4t,loader:D4t},B4t=O4t,FCe="journey",N4t=j(e=>/^\s*journey/.test(e),"detector"),j4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./journeyDiagram-VCZTEJTY-CRYhm-tV.js");return{diagram:t}},__vite__mapDeps([126,99,97,114]));return{id:FCe,diagram:e}},"loader"),P4t={id:FCe,detector:N4t,loader:j4t},F4t=P4t,q4t=j((e,t,r)=>{He.debug(`rendering svg for syntax error
750
- `);const n=Qpt(t),o=n.append("g");n.attr("viewBox","0 0 2412 512"),_ve(n,100,512,!0),o.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),o.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),o.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),o.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),o.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),o.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),o.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),o.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)},"draw"),qCe={draw:q4t},H4t=qCe,$4t={db:{},renderer:qCe,parser:{parse:j(()=>{},"parse")}},V4t=$4t,HCe="flowchart-elk",U4t=j((e,t={})=>/^\s*flowchart-elk/.test(e)||/^\s*(flowchart|graph)/.test(e)&&t?.flowchart?.defaultRenderer==="elk"?(t.layout="elk",!0):!1,"detector"),W4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./flowDiagram-DWJPFMVM-Cku5HglU.js");return{diagram:t}},__vite__mapDeps([98,99,97,100,101,102]));return{id:HCe,diagram:e}},"loader"),G4t={id:HCe,detector:U4t,loader:W4t},Z4t=G4t,$Ce="timeline",K4t=j(e=>/^\s*timeline/.test(e),"detector"),Y4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./timeline-definition-GMOUNBTQ-DQbm2zyn.js");return{diagram:t}},__vite__mapDeps([127,114]));return{id:$Ce,diagram:e}},"loader"),X4t={id:$Ce,detector:K4t,loader:Y4t},Q4t=X4t,VCe="mindmap",J4t=j(e=>/^\s*mindmap/.test(e),"detector"),ext=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./mindmap-definition-QFDTVHPH-D15Yo8P8.js");return{diagram:t}},__vite__mapDeps([128,100,101]));return{id:VCe,diagram:e}},"loader"),txt={id:VCe,detector:J4t,loader:ext},rxt=txt,UCe="kanban",nxt=j(e=>/^\s*kanban/.test(e),"detector"),oxt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./kanban-definition-6JOO6SKY-CfwQlQvz.js");return{diagram:t}},__vite__mapDeps([129,99]));return{id:UCe,diagram:e}},"loader"),axt={id:UCe,detector:nxt,loader:oxt},ixt=axt,WCe="sankey",sxt=j(e=>/^\s*sankey(-beta)?/.test(e),"detector"),lxt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./sankeyDiagram-XADWPNL6-Bpw04zKX.js");return{diagram:t}},__vite__mapDeps([130,115,110]));return{id:WCe,diagram:e}},"loader"),cxt={id:WCe,detector:sxt,loader:lxt},uxt=cxt,GCe="packet",dxt=j(e=>/^\s*packet(-beta)?/.test(e),"detector"),hxt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./diagram-TYMM5635-BM4_XVz0.js");return{diagram:t}},__vite__mapDeps([131,105,107,92,90]));return{id:GCe,diagram:e}},"loader"),fxt={id:GCe,detector:dxt,loader:hxt},ZCe="radar",pxt=j(e=>/^\s*radar-beta/.test(e),"detector"),mxt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./diagram-MMDJMWI5-CD0uh5Ye.js");return{diagram:t}},__vite__mapDeps([132,105,107,92,90]));return{id:ZCe,diagram:e}},"loader"),gxt={id:ZCe,detector:pxt,loader:mxt},KCe="block",yxt=j(e=>/^\s*block(-beta)?/.test(e),"detector"),bxt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./blockDiagram-DXYQGD6D-B5-rR5rG.js");return{diagram:t}},__vite__mapDeps([133,99,93,89,90,102]));return{id:KCe,diagram:e}},"loader"),xxt={id:KCe,detector:yxt,loader:bxt},kxt=xxt,YCe="treeView",vxt=j(e=>/^\s*treeView-beta/.test(e),"detector"),wxt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./diagram-5BDNPKRD-Bab3u4VF.js");return{diagram:t}},__vite__mapDeps([134,105,106,107,92,90]));return{id:YCe,diagram:e}},"loader"),Cxt={id:YCe,detector:vxt,loader:wxt},Sxt=Cxt,XCe="architecture",Mxt=j(e=>/^\s*architecture/.test(e),"detector"),_xt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./architectureDiagram-Q4EWVU46-DGDj7CiR.js");return{diagram:t}},__vite__mapDeps([135,105,107,92,90,95]));return{id:XCe,diagram:e}},"loader"),Txt={id:XCe,detector:Mxt,loader:_xt},Axt=Txt,QCe="ishikawa",Lxt=j(e=>/^\s*ishikawa(-beta)?\b/i.test(e),"detector"),Ext=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./ishikawaDiagram-UXIWVN3A-BQozHXop.js");return{diagram:t}},[]);return{id:QCe,diagram:e}},"loader"),Ixt={id:QCe,detector:Lxt,loader:Ext},JCe="venn",Rxt=j(e=>/^\s*venn-beta/.test(e),"detector"),zxt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./vennDiagram-DHZGUBPP-Cn-A6_UP.js");return{diagram:t}},[]);return{id:JCe,diagram:e}},"loader"),Dxt={id:JCe,detector:Rxt,loader:zxt},Oxt=Dxt,e9e="treemap",Bxt=j(e=>/^\s*treemap/.test(e),"detector"),Nxt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./diagram-G4DWMVQ6-BQXBct1X.js");return{diagram:t}},__vite__mapDeps([136,101,105,107,92,90,111,115,110]));return{id:e9e,diagram:e}},"loader"),jxt={id:e9e,detector:Bxt,loader:Nxt},t9e="wardley-beta",Pxt=j(e=>/^\s*wardley-beta/i.test(e),"detector"),Fxt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./wardleyDiagram-NUSXRM2D-BmUdT2lv.js");return{diagram:t}},__vite__mapDeps([137,105,107,92,90]));return{id:t9e,diagram:e}},"loader"),qxt={id:t9e,detector:Pxt,loader:Fxt},Hxt=qxt,ufe=!1,UU=j(()=>{ufe||(ufe=!0,k$("error",V4t,e=>e.toLowerCase().trim()==="error"),k$("---",{db:{clear:j(()=>{},"clear")},styles:{},renderer:{draw:j(()=>{},"draw")},parser:{parse:j(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:j(()=>null,"init")},e=>e.toLowerCase().trimStart().startsWith("---")),fJ(Z4t,rxt,Axt),fJ(Rbt,ixt,A4t,S4t,Vbt,Qbt,t4t,o4t,g4t,k4t,Fbt,Bbt,Q4t,Zbt,B4t,R4t,F4t,l4t,uxt,fxt,h4t,kxt,Sxt,gxt,Ixt,jxt,Oxt,Hxt))},"addDiagrams"),$xt=j(async()=>{He.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Bp).map(async([r,{detector:n,loader:o}])=>{if(o)try{yJ(r)}catch{try{const{diagram:a,id:i}=await o();k$(i,a,n)}catch(a){throw He.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete Bp[r],a}}}))).filter(r=>r.status==="rejected");if(t.length>0){He.error(`Failed to load ${t.length} external diagrams`);for(const r of t)He.error(r);throw new Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams"),Vxt="graphics-document document";function r9e(e,t){e.attr("role",Vxt),t!==""&&e.attr("aria-roledescription",t)}j(r9e,"setA11yDiagramInfo");function n9e(e,t,r,n){if(e.insert!==void 0){if(r){const o=`chart-desc-${n}`;e.attr("aria-describedby",o),e.insert("desc",":first-child").attr("id",o).text(r)}if(t){const o=`chart-title-${n}`;e.attr("aria-labelledby",o),e.insert("title",":first-child").attr("id",o).text(t)}}}j(n9e,"addSVGa11yTitleDescription");var Sp,aee=(Sp=class{constructor(t,r,n,o,a){this.type=t,this.text=r,this.db=n,this.parser=o,this.renderer=a}static async fromText(t,r={}){const n=Xn(),o=Yre(t,n);t=Tmt(t)+`
749
+ L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),ibt=j((e,t,r)=>{const n=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");n.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),n.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),n.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),sbt=j((e,t,r)=>{const n=Xn(),{themeVariables:o}=n,{strokeWidth:a}=o,i=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");i.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),i.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),i.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),i.selectAll("*").attr("stroke-width",`${a}`)},"requirement_contains_neo"),lbt={extension:Fyt,composition:qyt,aggregation:Hyt,dependency:$yt,lollipop:Vyt,point:Uyt,circle:Wyt,cross:Gyt,barb:Zyt,barbNeo:Kyt,only_one:Yyt,zero_or_one:Xyt,one_or_more:Qyt,zero_or_more:Jyt,only_one_neo:ebt,zero_or_one_neo:tbt,one_or_more_neo:rbt,zero_or_more_neo:nbt,requirement_arrow:obt,requirement_contains:ibt,requirement_arrow_neo:abt,requirement_contains_neo:sbt},cbt=Pyt,ubt={common:ck,getConfig:Xn,insertCluster:syt,insertEdge:jyt,insertEdgeLabel:Ryt,insertMarkers:cbt,insertNode:pCe,interpolateToCurve:wne,labelHelper:Ft,log:He,positionEdgeLabel:zyt},kx={},bCe=j(e=>{for(const t of e)kx[t.name]=t},"registerLayoutLoaders"),dbt=j(()=>{bCe([{name:"dagre",loader:j(async()=>await ne(()=>import("./dagre-KV5264BT-CFFq0caA.js"),__vite__mapDeps([88,89,90,91,92,93])),"loader")},{name:"cose-bilkent",loader:j(async()=>await ne(()=>import("./cose-bilkent-S5V4N54A-WdIDwdT2.js"),__vite__mapDeps([94,95])),"loader")}])},"registerDefaultLayoutLoaders");dbt();var b_t=j(async(e,t)=>{if(!(e.layoutAlgorithm in kx))throw new Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(const d of e.nodes){const f=d.domId||d.id;d.domId=`${e.diagramId}-${f}`}const r=kx[e.layoutAlgorithm],n=await r.loader(),{theme:o,themeVariables:a}=e.config,{useGradient:i,gradientStart:s,gradientStop:l}=a,u=t.attr("id");if(t.append("defs").append("filter").attr("id",`${u}-drop-shadow`).attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${o?.includes("dark")?"#FFFFFF":"#000000"}`),t.append("defs").append("filter").attr("id",`${u}-drop-shadow-small`).attr("height","150%").attr("width","150%").append("feDropShadow").attr("dx","2").attr("dy","2").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${o?.includes("dark")?"#FFFFFF":"#000000"}`),i){const d=t.append("linearGradient").attr("id",t.attr("id")+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");d.append("svg:stop").attr("offset","0%").attr("stop-color",s).attr("stop-opacity",1),d.append("svg:stop").attr("offset","100%").attr("stop-color",l).attr("stop-opacity",1)}return n.render(e,t,ubt,{algorithm:r.algorithm})},"render"),x_t=j((e="",{fallback:t="dagre"}={})=>{if(e in kx)return e;if(t in kx)return He.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`),t;throw new Error(`Both layout algorithms ${e} and ${t} are not registered.`)},"getRegisteredLayoutAlgorithm"),xCe="comm",kCe="rule",vCe="decl",hbt="@import",fbt="@namespace",pbt="@keyframes",mbt="@layer",gbt=Math.abs,I4=String.fromCharCode;function wCe(e){return e.trim()}function ree(e,t,r){return e.replace(t,r)}function Wm(e,t){return e.charCodeAt(t)|0}function Ng(e,t,r){return e.slice(t,r)}function Hl(e){return e.length}function ybt(e){return e.length}function I5(e,t){return t.push(e),e}var $U=1,jg=1,CCe=0,Os=0,Do=0,py="";function $ne(e,t,r,n,o,a,i,s){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:$U,column:jg,length:i,return:"",siblings:s}}function bbt(){return Do}function xbt(){return Do=Os>0?Wm(py,--Os):0,jg--,Do===10&&(jg=1,$U--),Do}function ol(){return Do=Os<CCe?Wm(py,Os++):0,jg++,Do===10&&(jg=1,$U++),Do}function Fd(){return Wm(py,Os)}function gH(){return Os}function VU(e,t){return Ng(py,e,t)}function vx(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function kbt(e){return $U=jg=1,CCe=Hl(py=e),Os=0,[]}function vbt(e){return py="",e}function uX(e){return wCe(VU(Os-1,nee(e===91?e+2:e===40?e+1:e)))}function wbt(e){for(;(Do=Fd())&&Do<33;)ol();return vx(e)>2||vx(Do)>3?"":" "}function Cbt(e,t){for(;--t&&ol()&&!(Do<48||Do>102||Do>57&&Do<65||Do>70&&Do<97););return VU(e,gH()+(t<6&&Fd()==32&&ol()==32))}function nee(e){for(;ol();)switch(Do){case e:return Os;case 34:case 39:e!==34&&e!==39&&nee(Do);break;case 40:e===41&&nee(e);break;case 92:ol();break}return Os}function Sbt(e,t){for(;ol()&&e+Do!==57;)if(e+Do===84&&Fd()===47)break;return"/*"+VU(t,Os-1)+"*"+I4(e===47?e:ol())}function Mbt(e){for(;!vx(Fd());)ol();return VU(e,Os)}function _bt(e){return vbt(yH("",null,null,null,[""],e=kbt(e),0,[0],e))}function yH(e,t,r,n,o,a,i,s,l){for(var u=0,d=0,f=i,p=0,g=0,b=0,v=1,C=1,S=1,M=0,T=0,A="",R=o,I=a,L=n,N=A;C;)switch(b=T,T=ol()){case 40:b!=108&&Wm(N,f-1)==58?(M++,N+="("):N+=uX(T);break;case 41:M--,N+=")";break;case 34:case 39:case 91:N+=uX(T);break;case 9:case 10:case 13:case 32:if(M>0){N+=I4(T);break}N+=wbt(b);break;case 92:N+=Cbt(gH()-1,7);continue;case 47:switch(Fd()){case 42:case 47:I5(Tbt(Sbt(ol(),gH()),t,r,l),l),(vx(b||1)==5||vx(Fd()||1)==5)&&Hl(N)&&Ng(N,-1,void 0)!==" "&&(N+=" ");break;default:N+="/"}break;case 123*v:s[u++]=Hl(N)*S;case 125*v:case 59:case 0:if(M>0&&T){N+=I4(T);break}switch(T){case 0:case 125:C=0;case 59+d:S==-1&&(N=ree(N,/\f/g,"")),g>0&&(Hl(N)-f||v===0)&&I5(g>32?cfe(N+";",n,r,f-1,l):cfe(ree(N," ","")+";",n,r,f-2,l),l);break;case 59:N+=";";default:if(I5(L=lfe(N,t,r,u,d,o,s,A,R=[],I=[],f,a),a),T===123)if(d===0)yH(N,t,L,L,R,a,f,s,I);else{switch(p){case 99:if(Wm(N,3)===110)break;case 108:if(Wm(N,2)===97)break;default:d=0;case 100:case 109:case 115:}d?yH(e,L,L,n&&I5(lfe(e,L,L,0,0,o,s,A,o,R=[],f,I),I),o,I,f,s,n?R:I):yH(N,L,L,L,[""],I,0,s,I)}}u=d=g=0,v=S=1,A=N="",f=i;break;case 58:f=1+Hl(N),g=b;default:if(v<1){if(T==123)--v;else if(T==125&&v++==0&&xbt()==125)continue}switch(N+=I4(T),T*v){case 38:S=d>0?1:(N+="\f",-1);break;case 44:if(M>0)break;s[u++]=(Hl(N)-1)*S,S=1;break;case 64:Fd()===45&&(N+=uX(ol())),p=Fd(),d=f=Hl(A=N+=Mbt(gH())),T++;break;case 45:b===45&&Hl(N)==2&&(v=0)}}return a}function lfe(e,t,r,n,o,a,i,s,l,u,d,f){for(var p=o-1,g=o===0?a:[""],b=ybt(g),v=0,C=0,S=0;v<n;++v)for(var M=0,T=Ng(e,p+1,p=gbt(C=i[v])),A=e;M<b;++M)(A=wCe(C>0?g[M]+" "+T:ree(T,/&\f/g,g[M])))&&(l[S++]=A);return $ne(e,t,r,o===0?kCe:s,l,u,d,f)}function Tbt(e,t,r,n){return $ne(e,t,r,xCe,I4(bbt()),Ng(e,2,-2),0,n)}function cfe(e,t,r,n,o){return $ne(e,t,r,vCe,Ng(e,0,n),Ng(e,n+1,-1),n,o)}function oee(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Abt(e,t,r,n){switch(e.type){case mbt:if(e.children.length)break;case hbt:case fbt:case vCe:return e.return=e.return||e.value;case xCe:return"";case pbt:return e.return=e.value+"{"+oee(e.children,n)+"}";case kCe:if(!Hl(e.value=e.props.join(",")))return""}return Hl(r=oee(e.children,n))?e.return=e.value+"{"+r+"}":""}var SCe="c4",Lbt=j(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),"detector"),Ebt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./c4Diagram-AHTNJAMY-DW4uPgwu.js");return{diagram:t}},__vite__mapDeps([96,97]));return{id:SCe,diagram:e}},"loader"),Ibt={id:SCe,detector:Lbt,loader:Ebt},Rbt=Ibt,MCe="flowchart",zbt=j((e,t)=>t?.flowchart?.defaultRenderer==="dagre-wrapper"||t?.flowchart?.defaultRenderer==="elk"?!1:/^\s*graph/.test(e),"detector"),Dbt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./flowDiagram-DWJPFMVM-DQ4n6Zof.js");return{diagram:t}},__vite__mapDeps([98,99,97,100,101,102]));return{id:MCe,diagram:e}},"loader"),Obt={id:MCe,detector:zbt,loader:Dbt},Bbt=Obt,_Ce="flowchart-v2",Nbt=j((e,t)=>t?.flowchart?.defaultRenderer==="dagre-d3"?!1:(t?.flowchart?.defaultRenderer==="elk"&&(t.layout="elk"),/^\s*graph/.test(e)&&t?.flowchart?.defaultRenderer==="dagre-wrapper"?!0:/^\s*flowchart/.test(e)),"detector"),jbt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./flowDiagram-DWJPFMVM-DQ4n6Zof.js");return{diagram:t}},__vite__mapDeps([98,99,97,100,101,102]));return{id:_Ce,diagram:e}},"loader"),Pbt={id:_Ce,detector:Nbt,loader:jbt},Fbt=Pbt,TCe="er",qbt=j(e=>/^\s*erDiagram/.test(e),"detector"),Hbt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./erDiagram-SMLLAGMA-BMm9yLIW.js");return{diagram:t}},__vite__mapDeps([103,100,101,102]));return{id:TCe,diagram:e}},"loader"),$bt={id:TCe,detector:qbt,loader:Hbt},Vbt=$bt,ACe="gitGraph",Ubt=j(e=>/^\s*gitGraph/.test(e),"detector"),Wbt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./gitGraphDiagram-UUTBAWPF-4GABGH-P.js");return{diagram:t}},__vite__mapDeps([104,105,106,107,92,90]));return{id:ACe,diagram:e}},"loader"),Gbt={id:ACe,detector:Ubt,loader:Wbt},Zbt=Gbt,LCe="gantt",Kbt=j(e=>/^\s*gantt/.test(e),"detector"),Ybt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./ganttDiagram-T4ZO3ILL-Bs0PVgZY.js");return{diagram:t}},__vite__mapDeps([108,109,110,111]));return{id:LCe,diagram:e}},"loader"),Xbt={id:LCe,detector:Kbt,loader:Ybt},Qbt=Xbt,ECe="info",Jbt=j(e=>/^\s*info/.test(e),"detector"),e4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./infoDiagram-42DDH7IO-D0lLRvTe.js");return{diagram:t}},__vite__mapDeps([112,107,92,90]));return{id:ECe,diagram:e}},"loader"),t4t={id:ECe,detector:Jbt,loader:e4t},ICe="pie",r4t=j(e=>/^\s*pie/.test(e),"detector"),n4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./pieDiagram-DEJITSTG-BYYrV1SO.js");return{diagram:t}},__vite__mapDeps([113,105,107,92,90,114,115,110]));return{id:ICe,diagram:e}},"loader"),o4t={id:ICe,detector:r4t,loader:n4t},RCe="quadrantChart",a4t=j(e=>/^\s*quadrantChart/.test(e),"detector"),i4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./quadrantDiagram-34T5L4WZ-BCaVafVg.js");return{diagram:t}},__vite__mapDeps([116,109,110,111]));return{id:RCe,diagram:e}},"loader"),s4t={id:RCe,detector:a4t,loader:i4t},l4t=s4t,zCe="xychart",c4t=j(e=>/^\s*xychart(-beta)?/.test(e),"detector"),u4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./xychartDiagram-5P7HB3ND-CbpQ9wJM.js");return{diagram:t}},__vite__mapDeps([117,110,115,109,111]));return{id:zCe,diagram:e}},"loader"),d4t={id:zCe,detector:c4t,loader:u4t},h4t=d4t,DCe="requirement",f4t=j(e=>/^\s*requirement(Diagram)?/.test(e),"detector"),p4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./requirementDiagram-MS252O5E-DzC0ax5x.js");return{diagram:t}},__vite__mapDeps([118,100,101]));return{id:DCe,diagram:e}},"loader"),m4t={id:DCe,detector:f4t,loader:p4t},g4t=m4t,OCe="sequence",y4t=j(e=>/^\s*sequenceDiagram/.test(e),"detector"),b4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./sequenceDiagram-FGHM5R23-BIdnaT5l.js");return{diagram:t}},__vite__mapDeps([119,97,106]));return{id:OCe,diagram:e}},"loader"),x4t={id:OCe,detector:y4t,loader:b4t},k4t=x4t,BCe="class",v4t=j((e,t)=>t?.class?.defaultRenderer==="dagre-wrapper"?!1:/^\s*classDiagram/.test(e),"detector"),w4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./classDiagram-6PBFFD2Q-CsgtdI5C.js");return{diagram:t}},__vite__mapDeps([120,121,99,97,100,101]));return{id:BCe,diagram:e}},"loader"),C4t={id:BCe,detector:v4t,loader:w4t},S4t=C4t,NCe="classDiagram",M4t=j((e,t)=>/^\s*classDiagram/.test(e)&&t?.class?.defaultRenderer==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(e),"detector"),_4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./classDiagram-v2-HSJHXN6E-CsgtdI5C.js");return{diagram:t}},__vite__mapDeps([122,121,99,97,100,101]));return{id:NCe,diagram:e}},"loader"),T4t={id:NCe,detector:M4t,loader:_4t},A4t=T4t,jCe="state",L4t=j((e,t)=>t?.state?.defaultRenderer==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(e),"detector"),E4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./stateDiagram-FHFEXIEX-BJTK38Uk.js");return{diagram:t}},__vite__mapDeps([123,124,100,101,89,90,91,92]));return{id:jCe,diagram:e}},"loader"),I4t={id:jCe,detector:L4t,loader:E4t},R4t=I4t,PCe="stateDiagram",z4t=j((e,t)=>!!(/^\s*stateDiagram-v2/.test(e)||/^\s*stateDiagram/.test(e)&&t?.state?.defaultRenderer==="dagre-wrapper"),"detector"),D4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./stateDiagram-v2-QKLJ7IA2-DrgXBNT9.js");return{diagram:t}},__vite__mapDeps([125,124,100,101]));return{id:PCe,diagram:e}},"loader"),O4t={id:PCe,detector:z4t,loader:D4t},B4t=O4t,FCe="journey",N4t=j(e=>/^\s*journey/.test(e),"detector"),j4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./journeyDiagram-VCZTEJTY-BL63HHa-.js");return{diagram:t}},__vite__mapDeps([126,99,97,114]));return{id:FCe,diagram:e}},"loader"),P4t={id:FCe,detector:N4t,loader:j4t},F4t=P4t,q4t=j((e,t,r)=>{He.debug(`rendering svg for syntax error
750
+ `);const n=Qpt(t),o=n.append("g");n.attr("viewBox","0 0 2412 512"),_ve(n,100,512,!0),o.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),o.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),o.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),o.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),o.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),o.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),o.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),o.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)},"draw"),qCe={draw:q4t},H4t=qCe,$4t={db:{},renderer:qCe,parser:{parse:j(()=>{},"parse")}},V4t=$4t,HCe="flowchart-elk",U4t=j((e,t={})=>/^\s*flowchart-elk/.test(e)||/^\s*(flowchart|graph)/.test(e)&&t?.flowchart?.defaultRenderer==="elk"?(t.layout="elk",!0):!1,"detector"),W4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./flowDiagram-DWJPFMVM-DQ4n6Zof.js");return{diagram:t}},__vite__mapDeps([98,99,97,100,101,102]));return{id:HCe,diagram:e}},"loader"),G4t={id:HCe,detector:U4t,loader:W4t},Z4t=G4t,$Ce="timeline",K4t=j(e=>/^\s*timeline/.test(e),"detector"),Y4t=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./timeline-definition-GMOUNBTQ-8PSQuubQ.js");return{diagram:t}},__vite__mapDeps([127,114]));return{id:$Ce,diagram:e}},"loader"),X4t={id:$Ce,detector:K4t,loader:Y4t},Q4t=X4t,VCe="mindmap",J4t=j(e=>/^\s*mindmap/.test(e),"detector"),ext=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./mindmap-definition-QFDTVHPH-CLmYdRzT.js");return{diagram:t}},__vite__mapDeps([128,100,101]));return{id:VCe,diagram:e}},"loader"),txt={id:VCe,detector:J4t,loader:ext},rxt=txt,UCe="kanban",nxt=j(e=>/^\s*kanban/.test(e),"detector"),oxt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./kanban-definition-6JOO6SKY-DQZDs3YS.js");return{diagram:t}},__vite__mapDeps([129,99]));return{id:UCe,diagram:e}},"loader"),axt={id:UCe,detector:nxt,loader:oxt},ixt=axt,WCe="sankey",sxt=j(e=>/^\s*sankey(-beta)?/.test(e),"detector"),lxt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./sankeyDiagram-XADWPNL6-DoC8lkgz.js");return{diagram:t}},__vite__mapDeps([130,115,110]));return{id:WCe,diagram:e}},"loader"),cxt={id:WCe,detector:sxt,loader:lxt},uxt=cxt,GCe="packet",dxt=j(e=>/^\s*packet(-beta)?/.test(e),"detector"),hxt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./diagram-TYMM5635-DQ9Z75om.js");return{diagram:t}},__vite__mapDeps([131,105,107,92,90]));return{id:GCe,diagram:e}},"loader"),fxt={id:GCe,detector:dxt,loader:hxt},ZCe="radar",pxt=j(e=>/^\s*radar-beta/.test(e),"detector"),mxt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./diagram-MMDJMWI5-gARloYvd.js");return{diagram:t}},__vite__mapDeps([132,105,107,92,90]));return{id:ZCe,diagram:e}},"loader"),gxt={id:ZCe,detector:pxt,loader:mxt},KCe="block",yxt=j(e=>/^\s*block(-beta)?/.test(e),"detector"),bxt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./blockDiagram-DXYQGD6D-CF0-ys7W.js");return{diagram:t}},__vite__mapDeps([133,99,93,89,90,102]));return{id:KCe,diagram:e}},"loader"),xxt={id:KCe,detector:yxt,loader:bxt},kxt=xxt,YCe="treeView",vxt=j(e=>/^\s*treeView-beta/.test(e),"detector"),wxt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./diagram-5BDNPKRD-DVjJ-cjN.js");return{diagram:t}},__vite__mapDeps([134,105,106,107,92,90]));return{id:YCe,diagram:e}},"loader"),Cxt={id:YCe,detector:vxt,loader:wxt},Sxt=Cxt,XCe="architecture",Mxt=j(e=>/^\s*architecture/.test(e),"detector"),_xt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./architectureDiagram-Q4EWVU46-CWLLJvNf.js");return{diagram:t}},__vite__mapDeps([135,105,107,92,90,95]));return{id:XCe,diagram:e}},"loader"),Txt={id:XCe,detector:Mxt,loader:_xt},Axt=Txt,QCe="ishikawa",Lxt=j(e=>/^\s*ishikawa(-beta)?\b/i.test(e),"detector"),Ext=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./ishikawaDiagram-UXIWVN3A-BzZNIzbc.js");return{diagram:t}},[]);return{id:QCe,diagram:e}},"loader"),Ixt={id:QCe,detector:Lxt,loader:Ext},JCe="venn",Rxt=j(e=>/^\s*venn-beta/.test(e),"detector"),zxt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./vennDiagram-DHZGUBPP-DdCrm-uj.js");return{diagram:t}},[]);return{id:JCe,diagram:e}},"loader"),Dxt={id:JCe,detector:Rxt,loader:zxt},Oxt=Dxt,e9e="treemap",Bxt=j(e=>/^\s*treemap/.test(e),"detector"),Nxt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./diagram-G4DWMVQ6-JlIDQKLk.js");return{diagram:t}},__vite__mapDeps([136,101,105,107,92,90,111,115,110]));return{id:e9e,diagram:e}},"loader"),jxt={id:e9e,detector:Bxt,loader:Nxt},t9e="wardley-beta",Pxt=j(e=>/^\s*wardley-beta/i.test(e),"detector"),Fxt=j(async()=>{const{diagram:e}=await ne(async()=>{const{diagram:t}=await import("./wardleyDiagram-NUSXRM2D-Cdq7I643.js");return{diagram:t}},__vite__mapDeps([137,105,107,92,90]));return{id:t9e,diagram:e}},"loader"),qxt={id:t9e,detector:Pxt,loader:Fxt},Hxt=qxt,ufe=!1,UU=j(()=>{ufe||(ufe=!0,k$("error",V4t,e=>e.toLowerCase().trim()==="error"),k$("---",{db:{clear:j(()=>{},"clear")},styles:{},renderer:{draw:j(()=>{},"draw")},parser:{parse:j(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:j(()=>null,"init")},e=>e.toLowerCase().trimStart().startsWith("---")),fJ(Z4t,rxt,Axt),fJ(Rbt,ixt,A4t,S4t,Vbt,Qbt,t4t,o4t,g4t,k4t,Fbt,Bbt,Q4t,Zbt,B4t,R4t,F4t,l4t,uxt,fxt,h4t,kxt,Sxt,gxt,Ixt,jxt,Oxt,Hxt))},"addDiagrams"),$xt=j(async()=>{He.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Bp).map(async([r,{detector:n,loader:o}])=>{if(o)try{yJ(r)}catch{try{const{diagram:a,id:i}=await o();k$(i,a,n)}catch(a){throw He.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete Bp[r],a}}}))).filter(r=>r.status==="rejected");if(t.length>0){He.error(`Failed to load ${t.length} external diagrams`);for(const r of t)He.error(r);throw new Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams"),Vxt="graphics-document document";function r9e(e,t){e.attr("role",Vxt),t!==""&&e.attr("aria-roledescription",t)}j(r9e,"setA11yDiagramInfo");function n9e(e,t,r,n){if(e.insert!==void 0){if(r){const o=`chart-desc-${n}`;e.attr("aria-describedby",o),e.insert("desc",":first-child").attr("id",o).text(r)}if(t){const o=`chart-title-${n}`;e.attr("aria-labelledby",o),e.insert("title",":first-child").attr("id",o).text(t)}}}j(n9e,"addSVGa11yTitleDescription");var Sp,aee=(Sp=class{constructor(t,r,n,o,a){this.type=t,this.text=r,this.db=n,this.parser=o,this.renderer=a}static async fromText(t,r={}){const n=Xn(),o=Yre(t,n);t=Tmt(t)+`
751
751
  `;try{yJ(o)}catch{const u=yht(o);if(!u)throw new hve(`Diagram ${o} not found.`);const{id:d,diagram:f}=await u();k$(d,f)}const{db:a,parser:i,renderer:s,init:l}=yJ(o);return i.parser&&(i.parser.yy=a),a.clear?.(),l?.(n),r.title&&a.setDiagramTitle?.(r.title),await i.parse(t),new Sp(o,t,a,i,s)}async render(t,r){await this.renderer.draw(this.text,t,r,this)}getParser(){return this.parser}getType(){return this.type}},j(Sp,"Diagram"),Sp),dfe=[],Uxt=j(()=>{dfe.forEach(e=>{e()}),dfe=[]},"attachFunctions"),Wxt=j(e=>e.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function o9e(e){const t=e.match(dve);if(!t)return{text:e,metadata:{}};let r=amt(t[1],{schema:omt})??{};r=typeof r=="object"&&!Array.isArray(r)?r:{};const n={};return r.displayMode&&(n.displayMode=r.displayMode.toString()),r.title&&(n.title=r.title.toString()),r.config&&(n.config=r.config),{text:e.slice(t[0].length),metadata:n}}j(o9e,"extractFrontMatter");var Gxt=j(e=>e.replace(/\r\n?/g,`
752
752
  `).replace(/<(\w+)([^>]*)>/g,(t,r,n)=>"<"+r+n.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),Zxt=j(e=>{const{text:t,metadata:r}=o9e(e),{displayMode:n,title:o,config:a={}}=r;return n&&(a.gantt||(a.gantt={}),a.gantt.displayMode=n),{title:o,config:a,text:t}},"processFrontmatter"),Kxt=j(e=>{const t=Js.detectInit(e)??{},r=Js.detectDirective(e,"wrap");return Array.isArray(r)?t.wrap=r.some(({type:n})=>n==="wrap"):r?.type==="wrap"&&(t.wrap=!0),{text:pmt(e),directive:t}},"processDirectives");function Vne(e){const t=Gxt(e),r=Zxt(t),n=Kxt(r.text),o=Tne(r.config,n.directive);return e=Wxt(n.text),{code:e,title:r.title,config:o}}j(Vne,"preprocessDiagram");function a9e(e){const t=new TextEncoder().encode(e),r=Array.from(t,n=>String.fromCodePoint(n)).join("");return btoa(r)}j(a9e,"toBase64");var Yxt=5e4,Xxt="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",Qxt="sandbox",Jxt="loose",ekt="http://www.w3.org/2000/svg",tkt="http://www.w3.org/1999/xlink",rkt="http://www.w3.org/1999/xhtml",nkt="100%",okt="100%",akt="border:0;margin:0;",ikt="margin:0",skt="allow-top-navigation-by-user-activation allow-popups",lkt='The "iframe" tag is not supported by your browser.',ckt=["foreignobject"],ukt=["dominant-baseline"];function Une(e){const t=Vne(e);return b$(),Uht(t.config??{}),t}j(Une,"processAndSetConfigs");async function i9e(e,t){UU();try{const{code:r,config:n}=Une(e);return{diagramType:(await l9e(r)).type,config:n}}catch(r){if(t?.suppressErrors)return!1;throw r}}j(i9e,"parse");var hfe=j((e,t,r=[])=>`
753
753
  .${e} ${t} { ${r.join(" !important; ")} !important; }`,"cssImportantStyles"),dkt=j((e,t=new Map)=>{let r="";if(e.themeCSS!==void 0&&(r+=`
@@ -760,7 +760,7 @@ ${e.themeCSS}`),e.fontFamily!==void 0&&(r+=`
760
760
  `,r=new Blob([t],{type:"text/markdown;charset=utf-8"}),n=URL.createObjectURL(r),o=document.createElement("a");o.href=n,o.download="plan.md",document.body.appendChild(o),o.click(),o.remove(),URL.revokeObjectURL(n)},n3t=e=>{const t=[],r=[];let n=null,o=null;const a=()=>{r.length!==0&&(t.push({type:"markdown",content:r.join(`
761
761
  `)}),r.length=0)},i=()=>{n&&(t.push({type:"plan",content:n.join(`
762
762
  `)}),n=null)};for(const s of e.split(/\r?\n/)){if(!o&&!n&&Ukt.test(s)){a(),n=[];continue}if(!o&&n&&Wkt.test(s)){i();continue}n?n.push(s):r.push(s),o=e3t(o,s)}return i(),a(),t};function b9e({children:e}){return y.jsx(sat,{remarkPlugins:[bst,tut],rehypePlugins:[Vct],urlTransform:Ykt,components:l3t,children:e})}function o3t({children:e}){const{t}=Rt(),r=t3t(e),n=w.useId(),[o,a]=w.useState(!1),{isCopied:i,copyToClipboard:s}=x9e(),l=()=>{!r||i||s(r)},u=()=>{r3t(r)};return y.jsxs("section",{"data-slot":"markdown-plan-card",className:ie("relative my-5 max-w-4xl overflow-hidden rounded-2xl border border-border bg-muted/25 shadow-lg"),children:[y.jsxs("div",{"data-slot":"markdown-plan-card-header",className:"flex items-center justify-between gap-3 bg-background/80 px-4 py-3",children:[y.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[y.jsx("span",{className:"inline-flex size-8 shrink-0 items-center justify-center rounded-full bg-primary/10 text-primary",children:y.jsx(qd,{className:"size-4"})}),y.jsx("h2",{className:"truncate text-base font-semibold text-foreground",children:t("markdown.plan.title")})]}),y.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[y.jsx(Wd,{type:"button",tooltip:t("markdown.plan.download"),onClick:u,className:"text-muted-foreground hover:text-foreground",children:y.jsx(J2e,{className:"size-4"})}),y.jsxs(Wd,{type:"button",tooltip:t(i?"messageActions.copied":"markdown.copy"),onClick:l,className:"text-muted-foreground hover:text-foreground",children:[!i&&y.jsx($g,{className:"size-4"}),i&&y.jsx(ai,{className:"size-4"})]}),y.jsx(Wd,{type:"button",tooltip:t(o?"markdown.plan.collapse":"markdown.plan.expand"),"aria-expanded":o,"aria-controls":n,onClick:()=>a(d=>!d),className:"text-muted-foreground hover:text-foreground",children:y.jsx(mc,{className:ie("size-4 transition-transform",o&&"rotate-180")})})]})]}),y.jsx("div",{id:n,"data-slot":"markdown-plan-card-content","data-state":o?"expanded":"collapsed",className:ie("relative w-full px-4 py-3 transition-[max-height] duration-300 ease-in-out",o?"max-h-[80vh] overflow-auto":"max-h-[200px] overflow-hidden"),children:y.jsx(b9e,{children:r})}),!o&&y.jsx("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 flex h-32 items-end justify-center bg-gradient-to-b from-background/0 via-background/80 to-background/95 pb-6",children:y.jsx("button",{type:"button",onClick:()=>a(!0),className:"pointer-events-auto rounded-full bg-foreground px-3 py-1.5 text-xs font-semibold text-background shadow-sm transition-colors hover:bg-foreground/90",children:t("markdown.plan.expand")})})]})}const a3t=e=>w.isValidElement(e)&&e.type===g9e,i3t=e=>w.isValidElement(e)&&typeof e.props.className=="string"&&e.props.className.includes("language-mermaid");function x9e({copiedDuration:e=3e3}={}){const[t,r]=w.useState(!1);return{isCopied:t,copyToClipboard:o=>{o&&navigator.clipboard.writeText(o).then(()=>{r(!0),setTimeout(()=>r(!1),e)})}}}const s3t=({language:e,code:t})=>{const{t:r}=Rt(),{isCopied:n,copyToClipboard:o}=x9e(),a=()=>{!t||n||o(t)};return y.jsxs("div",{className:"flex items-center justify-between gap-4 rounded-t-lg bg-zinc-900 px-4 py-2 text-sm font-semibold text-white",children:[y.jsx("span",{className:"lowercase [&>span]:text-xs",children:e}),y.jsxs(Wd,{tooltip:r("markdown.copy"),onClick:a,children:[!n&&y.jsx($g,{}),n&&y.jsx(ai,{})]})]})},l3t={h1:({className:e,...t})=>y.jsx("h1",{className:ie("mb-8 scroll-m-20 text-4xl font-extrabold tracking-tight last:mb-0",e),...Yo(t)}),h2:({className:e,...t})=>y.jsx("h2",{className:ie("mt-8 mb-4 scroll-m-20 text-3xl font-semibold tracking-tight first:mt-0 last:mb-0",e),...Yo(t)}),h3:({className:e,...t})=>y.jsx("h3",{className:ie("mt-6 mb-4 scroll-m-20 text-2xl font-semibold tracking-tight first:mt-0 last:mb-0",e),...Yo(t)}),h4:({className:e,...t})=>y.jsx("h4",{className:ie("mt-6 mb-4 scroll-m-20 text-xl font-semibold tracking-tight first:mt-0 last:mb-0",e),...Yo(t)}),h5:({className:e,...t})=>y.jsx("h5",{className:ie("my-4 text-lg font-semibold first:mt-0 last:mb-0",e),...Yo(t)}),h6:({className:e,...t})=>y.jsx("h6",{className:ie("my-4 font-semibold first:mt-0 last:mb-0",e),...Yo(t)}),p:({className:e,...t})=>y.jsx("p",{className:ie("mt-5 mb-5 leading-7 first:mt-0 last:mb-0",e),...Yo(t)}),a:Xkt,blockquote:({className:e,...t})=>y.jsx("blockquote",{className:ie("border-l-4 border-border pl-6 italic text-muted-foreground",e),...Yo(t)}),ul:({className:e,...t})=>y.jsx("ul",{className:ie("my-5 list-outside list-disc pl-6 [&>li]:mt-2",e),...Yo(t)}),ol:({className:e,...t})=>y.jsx("ol",{className:ie("my-5 list-outside list-decimal pl-8 [&>li]:mt-2",e),...Yo(t)}),hr:({className:e,...t})=>y.jsx("hr",{className:ie("my-5 border-b",e),...Yo(t)}),table:({className:e,style:t,...r})=>y.jsx("div",{"data-slot":"markdown-table-container",className:"my-5 max-w-full overflow-x-auto rounded-xl border border-border bg-background",children:y.jsx("table",{className:ie("min-w-full w-max border-separate border-spacing-0 text-sm",e),style:{lineHeight:Hkt,...t},...Yo(r)})}),th:({className:e,style:t,...r})=>y.jsx("th",{className:ie("bg-muted/80 border-border border-l text-left align-top font-semibold whitespace-normal break-words first:border-l-0 first:rounded-tl-xl last:rounded-tr-xl [&[align=center]]:text-center [&[align=right]]:text-right",e),style:{minWidth:gfe,paddingInline:yfe,paddingBlock:bfe,...t},...Yo(r)}),td:({className:e,style:t,...r})=>y.jsx("td",{className:ie("border-border border-t border-l text-left align-top whitespace-normal break-words first:border-l-0 [&[align=center]]:text-center [&[align=right]]:text-right [&_code]:break-words [&_code]:whitespace-pre-wrap [&_code]:[overflow-wrap:anywhere]",e),style:{minWidth:gfe,paddingInline:yfe,paddingBlock:bfe,...t},...Yo(r)}),tr:({className:e,...t})=>y.jsx("tr",{className:ie("m-0 p-0 even:bg-muted/30 [&:last-child>td:first-child]:rounded-bl-xl [&:last-child>td:last-child]:rounded-br-xl",e),...Yo(t)}),sup:({className:e,...t})=>y.jsx("sup",{className:ie("[&>a]:text-xs [&>a]:no-underline",e),...Yo(t)}),pre:({className:e,children:t})=>w.Children.toArray(t).length===1&&(a3t(w.Children.toArray(t)[0])||i3t(w.Children.toArray(t)[0]))?y.jsx(y.Fragment,{children:t}):y.jsx("div",{className:ie("max-w-4xl overflow-x-auto rounded-lg text-sm bg-black text-white dark:bg-zinc-800",e),children:t}),code:({className:e,children:t,style:r,...n})=>{const o=/language-([\w-]+)/.exec(e||""),a=Qkt(t),i=a.includes(`
763
- `);if(o){const s=o[1],l=a.replace(/\n$/,"");return s==="mermaid"?y.jsx(g9e,{code:l}):y.jsxs(y.Fragment,{children:[y.jsx(s3t,{language:s,code:l}),y.jsx(zdt,{language:s,className:e,children:l})]})}return i?y.jsx("code",{className:ie("block min-w-full whitespace-pre px-4 py-4 font-mono text-inherit",e),...Yo(n),children:a.replace(/\n$/,"")}):y.jsx("code",{className:ie("bg-muted rounded font-mono text-[0.9em] font-semibold whitespace-pre-wrap [overflow-wrap:anywhere]",e),style:{paddingInline:$kt,paddingBlock:Vkt,...r},...Yo(n),children:t})}},c3t=({children:e})=>y.jsx("div",{className:"markdown-content",children:n3t(e).map((t,r)=>t.type==="plan"?y.jsx(o3t,{children:t.content},r):y.jsx(b9e,{children:t.content},r))}),see=w.memo(c3t);function u3t(e){try{return JSON.stringify(e,null,2)}catch{return String(e)}}function lee(e){return typeof e=="string"?e:u3t(e)}function d3t(e){return e.data&&typeof e.data=="object"?e.data:{}}function n4(e){if(typeof e!="string")return null;const t=e.trim();return t||null}function fm(e){return typeof e=="number"&&Number.isFinite(e)?String(e):n4(e)}function h3t(e){return e.data&&typeof e.data=="object"&&!Array.isArray(e.data)?e.data:{}}function f3t(e){return e.event==="middleware_event"}function p3t(e){return iy(e)==="running"?{icon:uo,spin:!0}:hU(e)?{icon:fV,spin:!1}:{icon:_p,spin:!1}}function m3t({content:e}){const{t}=Rt(),r=d3t(e),n=h3t(r),o=n4(r.middlewareName),a=n4(r.phase),i=n4(e.title)||o||t("message.middlewareEvent.title.default"),s=o?t(`message.middlewareEvent.title.${o}`,{defaultValue:i}):i,l=n4(e.message)||a||null,u=fm(n.attempt)??fm(r.attempt),d=fm(n.totalAttempts)??fm(n.total)??fm(r.totalAttempts)??fm(r.total),f=a&&u&&d?t(`message.middlewareEvent.phase.${a}`,{attempt:u,total:d,defaultValue:l??a}):l,p=e.error!==void 0||hU(e.status),g=dU(e.status),b=p3t(e.status),v=b.icon;return y.jsxs("div",{"data-testid":"middleware-event-row",className:ie("my-1 inline-flex max-w-full items-center gap-1.5 rounded-full border px-2 py-1 text-[11px] leading-4",p?"border-destructive/20 bg-destructive/5 text-destructive":g?"border-border/60 bg-muted/20 text-muted-foreground":"border-emerald-500/20 bg-emerald-500/5 text-muted-foreground"),children:[y.jsx(v,{className:ie("h-3.5 w-3.5 shrink-0",g&&"text-blue-700",!g&&!p&&"text-emerald-600",b.spin&&"animate-spin")}),y.jsx("span",{className:"min-w-0 truncate font-medium",children:s}),f?y.jsxs(y.Fragment,{children:[y.jsx("span",{className:"text-muted-foreground/50",children:"·"}),y.jsx("span",{className:"min-w-0 truncate",children:f})]}):null]})}function g3t(e){if(e<1e3)return`${e}ms`;if(e<1e4)return`${(e/1e3).toFixed(1)}s`;if(e<6e4)return`${Math.round(e/1e3)}s`;const t=Math.floor(e/36e5),r=Math.floor(e%36e5/6e4),n=Math.floor(e%6e4/1e3);return t>0?`${t}h ${r}m ${n}s`:`${r}m ${n}s`}function y3t(e,t=!1){const r=iy(e);return r==="running"?{icon:uo,iconClass:"text-blue-700",labelKey:"running",spin:!0}:r==="success"||r==="succeeded"?{icon:_p,iconClass:"text-green-700",labelKey:"success",spin:!1}:hU(r)?{icon:fV,iconClass:"text-red-700",labelKey:"error",spin:!1}:r==="pending"&&t?{icon:_p,iconClass:"text-green-700",labelKey:"replied",spin:!1}:{icon:Hee,iconClass:"text-muted-foreground",labelKey:r,spin:!1}}function xfe({icon:e,label:t,value:r,children:n}){return y.jsxs(bo,{children:[y.jsx(xo,{asChild:!0,children:y.jsxs("span",{"aria-label":t,className:"inline-flex shrink-0 items-center gap-1 rounded-sm text-[11px] text-muted-foreground/60 transition-colors group-hover/agent:text-muted-foreground",children:[y.jsx(e,{className:"h-3.5 w-3.5"}),r!==void 0?y.jsx("span",{children:r}):null]})}),y.jsx(ko,{side:"top",sideOffset:6,className:"max-w-80 text-left",children:n})]})}function b3t(e){return[...e.entries.map(t=>({type:"entry",entry:t,order:t.order})),...e.children.map(t=>({type:"agent",node:t,order:t.firstOrder}))].sort((t,r)=>t.order-r.order)}function x3t({content:e}){if(f3t(e))return y.jsx(m3t,{content:e});const t=e.title?.trim()||e.message?.trim()||e.event?.trim()||"Event",r=e.title?.trim()&&e.message?.trim()?e.message.trim():null,n=e.error!==void 0||hU(e.status);return y.jsxs("div",{className:ie("flex items-start gap-2 rounded-md px-2 py-1.5 text-xs leading-5",n?"bg-destructive/10 text-destructive":"bg-muted/40 text-muted-foreground"),children:[y.jsx(Rx,{className:"mt-0.5 h-3.5 w-3.5 shrink-0"}),y.jsxs("div",{className:"min-w-0 flex-1",children:[y.jsx("div",{className:"truncate font-medium",children:t}),r?y.jsx("div",{className:"wrap-break-word",children:r}):null,e.error!==void 0?y.jsx("pre",{className:"mt-1 whitespace-pre-wrap wrap-break-word",children:lee(e.error)}):null]})]})}function k3t({node:e,hasFollowingItem:t,depth:r,renderUnits:n}){const{t:o}=Rt(),a=qet(e),i=y3t(e.info.status,a.text>0),s=i.icon,l=dU(e.info.status),u=typeof e.info.elapsedTime=="number"&&Number.isFinite(e.info.elapsedTime),d=e.info.startedAt!==void 0||e.info.createdAt!==void 0,f=l&&d&&!u,[p,g]=w.useState(()=>Date.now()),[b,v]=w.useState(()=>l||!t),C=Pet(e.info,o("message.agentRun.defaultTitle")),S=Fet(e.info,f?p:void 0),M=o(`message.agentRun.status.${i.labelKey}`,{defaultValue:e.info.status??i.labelKey}),T=w.useId();w.useEffect(()=>{if(!f)return;g(Date.now());const R=window.setInterval(()=>{g(Date.now())},100);return()=>{window.clearInterval(R)}},[f]),w.useEffect(()=>{if(l){v(!0);return}v(!t)},[t,l]);const A=[a.text>0?{icon:ORe,count:a.text,label:o(`message.agentRun.counts.messages.${a.text===1?"one":"other"}`,{count:a.text})}:null,a.tools>0?{icon:pme,count:a.tools,label:o(`message.agentRun.counts.tools.${a.tools===1?"one":"other"}`,{count:a.tools})}:null,a.events>0?{icon:Rx,count:a.events,label:o(`message.agentRun.counts.events.${a.events===1?"one":"other"}`,{count:a.events})}:null,a.children>0?{icon:bRe,count:a.children,label:o(`message.agentRun.counts.children.${a.children===1?"one":"other"}`,{count:a.children})}:null].filter(R=>!!R);return y.jsxs("div",{className:ie("border border-border/70 pl-2 rounded-lg",r>0?"ml-1":"-mx-2.5 shadow-sm"),children:[y.jsxs("button",{type:"button",className:"group/agent group-agent flex w-full items-start justify-between gap-2 rounded-md px-0 py-1.5 text-left","aria-expanded":b,"aria-controls":T,onClick:()=>v(R=>!R),children:[y.jsx("div",{className:"min-w-0 flex-1",children:y.jsxs("div",{className:"flex min-w-0 flex-wrap items-center gap-x-1.5 gap-y-1",children:[y.jsx(Ix,{className:"h-4 w-4 shrink-0 text-muted-foreground/55 transition-colors group-hover/agent:text-muted-foreground"}),y.jsx("span",{className:"min-w-0 max-w-[16rem] truncate text-sm font-medium text-foreground/65 transition-colors group-hover/agent:text-foreground",children:C}),y.jsxs("span",{className:"inline-flex shrink-0 items-center gap-1 text-[11px] text-muted-foreground/65 transition-colors group-hover/agent:text-muted-foreground",children:[y.jsx(s,{className:ie("h-3.5 w-3.5",i.iconClass,i.spin&&"animate-spin")}),M]}),S!==null?y.jsxs("span",{className:"inline-flex shrink-0 items-center gap-1 text-[11px] text-muted-foreground/60 tabular-nums transition-colors group-hover/agent:text-muted-foreground",children:[y.jsx(Hee,{className:"h-3 w-3"}),g3t(S)]}):null,e.info.inputs!==void 0?y.jsx(xfe,{icon:kIe,label:o("message.agentRun.inputLabel"),children:y.jsxs("div",{className:"space-y-1",children:[y.jsx("div",{className:"font-medium",children:o("message.agentRun.inputLabel")}),y.jsx("pre",{className:"max-h-64 overflow-auto whitespace-pre-wrap wrap-break-word text-xs",children:lee(e.info.inputs)})]})}):null,A.map(R=>{const I=R.icon;return y.jsx(xfe,{icon:I,label:R.label,value:R.count,children:y.jsx("span",{children:R.label})},R.label)})]})}),y.jsx(Lu,{"aria-hidden":"true",className:ie("mt-0.5 h-4 w-4 shrink-0 text-muted-foreground/55 opacity-0 transition-[color,transform] group-hover/agent:text-muted-foreground group-hover/agent:opacity-100",b&&"rotate-90")})]}),b?y.jsxs("div",{id:T,className:"mt-2 space-y-3",children:[jet(e.info)?y.jsx("div",{className:"space-y-2 rounded-md bg-muted/30 px-2 py-2 text-xs text-muted-foreground",children:e.info.error!==void 0?y.jsxs("div",{children:[y.jsx("div",{className:"mb-1 font-medium text-destructive",children:o("message.agentRun.errorLabel")}),y.jsx("pre",{className:"whitespace-pre-wrap wrap-break-word text-destructive",children:lee(e.info.error)})]}):null}):null,n(b3t(e),r+1)]}):null]})}const v3t="context-compression";function k9e(e){return e.data.category==="Tool"&&e.data.type===v3t}function v9e(e){return e==="no_messages"||e==="no_unprotected_history"||e==="no_token_gain"}function w3t({data:e}){const{t}=Rt(),r=e.status??"running";if(v9e(e.reason))return t("message.contextCompression.skipped");switch(r){case"success":return t("message.contextCompression.success");case"fail":return t("message.contextCompression.fail");default:return t("message.contextCompression.running")}}function C3t({data:e}){const t=e.status??"running",r=v9e(e.reason);return t==="running"?y.jsx(uo,{"aria-hidden":"true",className:"h-4 w-4 shrink-0 animate-spin"}):t==="fail"?y.jsx(fV,{"aria-hidden":"true",className:"h-4 w-4 shrink-0"}):y.jsx(yu,{"aria-hidden":"true",className:ie("h-4 w-4 shrink-0",r&&"opacity-80")})}function S3t(e,t){return vo(e.summary||e.error||e.message,t)}function M3t({content:e}){const{i18n:t}=Rt(),r=e.data,n=r.status??"running",o=S3t(r,t.language),a=y.jsx(w3t,{data:r}),i=y.jsxs("div",{className:ie("inline-flex max-w-[80%] shrink-0 items-center gap-1.5 rounded-md px-2 py-1 text-sm font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground",o&&"cursor-help",n==="fail"&&"text-destructive hover:text-destructive"),children:[y.jsx(C3t,{data:r}),y.jsx("span",{className:ie("truncate",n==="running"&&"ck-tool-call-running-text"),children:a})]});return y.jsxs("div",{className:"flex w-full items-center justify-center gap-3 py-6",children:[y.jsx("div",{className:"h-px min-w-8 flex-1 bg-border"}),o?y.jsxs(bo,{children:[y.jsx(xo,{asChild:!0,children:i}),y.jsx(ko,{side:"top",className:"max-h-80 max-w-xl overflow-auto whitespace-pre-wrap text-left text-xs leading-5",children:o})]}):i,y.jsx("div",{className:"h-px min-w-8 flex-1 bg-border"})]})}const _3t="Knowledge Retriever",T3t=new Set(["assets","children","loc","relevanceScore","score"]),A3t={id:"knowledge-retriever",presentation:"grouped-step",match:w9e,getTitle:()=>_3t,hasDetails:j3t,renderDetails:F3t};function L3t(e){return typeof e!="string"?null:e.trim().toLowerCase().replace(/[\s-]+/g,"_")||null}function Gm(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function Oa(e){return typeof e!="string"?void 0:e.trim()||void 0}function cee(e){if(e!=null){if(typeof e=="string")return Oa(e);if(typeof e=="number"||typeof e=="boolean")return String(e);try{const t=JSON.stringify(e);return t&&t!=="{}"?t:void 0}catch{return String(e)}}}function E3t(e){return e.length>90?`${e.slice(0,87)}...`:e}function I3t(e){return typeof e=="number"?Number.isFinite(e)?e.toFixed(e<1?3:2):void 0:Oa(e)}function R3t(e){const t=e.loc;if(!Gm(t))return;const r=t.lines;if(!Gm(r))return;const n=cee(r.from),o=cee(r.to);return n&&o?`${n}-${o}`:n??o}function z3t(e){return Object.entries(e).flatMap(([t,r])=>{if(T3t.has(t))return[];const n=cee(r);return n?[{key:t,value:E3t(n)}]:[]})}function D3t(e,t){if(!Gm(e))return null;const r=Gm(e.metadata)?e.metadata:{},n=Gm(e.document)?e.document:{},o=Oa(e.pageContent),a=Oa(n.name)??Oa(r.originalFileName)??Oa(r.source)??Oa(e.id)??Oa(r.chunkId)??t;return!o&&Object.keys(r).length===0&&Object.keys(n).length===0?null:{id:Oa(e.id)??Oa(r.chunkId),title:a,url:Oa(n.fileUrl),content:o,lineRange:R3t(r),score:I3t(r.relevanceScore??r.score??e.score),metadata:z3t(r)}}function O3t(e){return Array.isArray(e.data)?e.data.flatMap((t,r)=>{const n=D3t(t,`Result ${r+1}`);return n?[n]:[]}):[]}function B3t(e){return e.data??e.output??null}function N3t(e,t){const r=e.input;return Gm(r)?Oa(r.query)??Oa(r.input)??Oa(r.question):Oa(vo(e.message,t))??Oa(r)}function j3t(e,t){return w9e(e,t)}function w9e(e,t){return L3t(t.type)==="knowledges"}function P3t({value:e}){const{t}=Rt(),r=mke(e);return r.kind==="text"?y.jsx(xke,{value:r.text}):y.jsxs(fU,{defaultValue:"tree",className:"min-w-0",children:[y.jsxs("div",{className:"mb-2 flex min-w-0 items-center justify-between gap-2",children:[y.jsxs("span",{className:"min-w-0 truncate text-[11px] text-muted-foreground",children:[t("message.toolGroup.jsonTitle")," ·"," ",gke(r.value)]}),y.jsxs(Jx,{className:"rounded-md p-0.5",children:[y.jsx(ku,{className:"px-2 py-0.5 text-[11px]",value:"tree",children:t("message.toolGroup.jsonTree")}),y.jsx(ku,{className:"px-2 py-0.5 text-[11px]",value:"raw",children:t("message.toolGroup.jsonRaw")})]})]}),y.jsx(vu,{value:"tree",className:"mt-0",children:y.jsx(lre,{value:r.value})}),y.jsx(vu,{value:"raw",className:"mt-0",children:y.jsx(bke,{raw:r.raw})})]})}function F3t({data:e}){const{i18n:t,t:r}=Rt(),n=N3t(e,t.language),o=O3t(e),a=B3t(e),i=Array.isArray(e.data),s=a!=null&&(!i||Array.isArray(e.data)&&e.data.length>0&&o.length===0),l=o.length===0&&!s&&e.status!=="running";return y.jsxs("div",{className:"min-w-0 space-y-3 px-3 py-2",children:[n?y.jsxs("div",{className:"min-w-0 space-y-1",children:[y.jsx("div",{className:"text-[11px] font-medium text-muted-foreground",children:r("message.knowledgeRetriever.queryTitle")}),y.jsx("div",{className:"min-w-0 whitespace-pre-wrap wrap-break-word rounded-md bg-muted/40 px-3 py-2 font-mono text-[12px] leading-5 text-foreground/80",children:n})]}):null,o.length>0?y.jsxs("div",{className:"min-w-0 space-y-2",children:[y.jsx("div",{className:"text-[11px] font-medium text-muted-foreground",children:r("message.knowledgeRetriever.resultsTitle",{count:o.length})}),y.jsx("div",{className:"space-y-2",children:o.map((u,d)=>y.jsx(q3t,{result:u,index:d},u.id??`${u.title}-${d}`))})]}):null,s?y.jsxs("div",{className:"min-w-0 space-y-1",children:[y.jsx("div",{className:"text-[11px] font-medium text-muted-foreground",children:r("message.knowledgeRetriever.rawDataTitle")}),y.jsx(P3t,{value:a})]}):null,l?y.jsx("div",{className:"rounded-md border border-dashed border-border/70 px-3 py-4 text-center text-xs text-muted-foreground",children:r("message.knowledgeRetriever.noResults")}):null]})}function q3t({result:e,index:t}){const{t:r}=Rt(),n=`knowledge-result-${t+1}`,o=[...e.score?[{key:r("message.knowledgeRetriever.scoreLabel"),value:e.score}]:[],...e.metadata],a="min-w-0 line-clamp-2 text-sm font-medium leading-5 text-foreground";return y.jsx("article",{className:"min-w-0 rounded-md border border-border/60 bg-background/80 px-3 py-2",children:y.jsxs("div",{className:"flex min-w-0 items-start gap-2",children:[y.jsx("span",{className:"mt-0.5 inline-flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-muted text-[11px] font-medium text-muted-foreground",children:t+1}),y.jsxs("div",{className:"min-w-0 flex-1",children:[e.url?y.jsxs("a",{id:n,href:e.url,target:"_blank",rel:"noreferrer",className:ie(a,"hover:underline"),children:[e.title,e.lineRange?y.jsxs("span",{className:"ml-1 text-muted-foreground",children:["[",e.lineRange,"]"]}):null]}):y.jsxs("div",{id:n,className:a,children:[e.title,e.lineRange?y.jsxs("span",{className:"ml-1 text-muted-foreground",children:["[",e.lineRange,"]"]}):null]}),e.content?y.jsx("p",{className:"mt-1 line-clamp-3 whitespace-pre-wrap text-xs leading-5 text-muted-foreground",children:e.content}):null,o.length>0?y.jsx("div",{className:"mt-2 flex flex-wrap gap-1.5","aria-labelledby":n,children:o.slice(0,10).map(i=>y.jsxs("span",{className:"inline-flex min-w-0 max-w-full items-center gap-1 rounded-md bg-muted/50 px-1.5 py-0.5 text-[11px] leading-4 text-muted-foreground",children:[y.jsxs("span",{className:"shrink-0 font-medium text-foreground/70",children:[i.key,":"]}),y.jsx("span",{className:"min-w-0 truncate font-mono",children:i.value})]},`${i.key}:${i.value}`))}):null]})]})})}const H3t={id:"computer-web-search-sources",presentation:"grouped-step",match:U3t,hasDetails:V3t,renderDetails:G3t};function kfe(e){return typeof e!="string"?null:e.trim().toLowerCase().replace(/[\s-]+/g,"_")||null}function pm(e){return typeof e!="string"?void 0:e.trim()||void 0}function $3t(e){if(!e||typeof e!="object"||Array.isArray(e))return null;const t=e,r=pm(t.title),n=pm(t.url);if(!r||!n)return null;const o=pm(t.content),a=pm(t.description),i=pm(t.publishedDate??t.published_date??t.publishedAt),s=pm(t.author);return{title:r,url:n,...o?{content:o}:{},...a?{description:a}:{},...i?{publishedDate:i}:{},...s?{author:s}:{}}}function Wne(e){return Array.isArray(e.data)?e.data.flatMap(t=>{const r=$3t(t);return r?[r]:[]}):[]}function V3t(e,t){return Wne(t).length>0}function U3t(e,t){const r=t.category==="Computer",n=kfe(t.type)==="web_search";return!r||!n?!1:kfe(t.tool)==="web_search"||Wne(t).length>0}function W3t(e){try{return new URL(e).hostname.replace(/^www\./,"")||null}catch{return null}}function G3t({data:e}){const{t}=Rt(),r=Wne(e);return r.length===0||e.error!==void 0?null:y.jsxs("div",{className:"space-y-2",children:[y.jsx("div",{className:"text-[11px] font-medium text-muted-foreground",children:t("message.toolGroup.sourcesTitle")}),y.jsx("div",{className:"space-y-2",children:r.map((n,o)=>{const a=W3t(n.url),i=n.content??n.description,s=[a,n.publishedDate,n.author].filter(l=>!!l);return y.jsxs("div",{className:"min-w-0 rounded-md border border-border/60 bg-background/80 px-3 py-2",children:[s.length>0?y.jsx("div",{className:"mb-1 truncate text-[11px] text-muted-foreground",children:s.join(" / ")}):null,y.jsx("a",{href:n.url,target:"_blank",rel:"noreferrer",className:"block min-w-0 line-clamp-2 text-sm font-medium leading-5 text-foreground hover:underline",children:n.title}),i?y.jsx("p",{className:"mt-1 line-clamp-3 text-xs leading-5 text-muted-foreground",children:i}):null]},`${n.url}-${o}`)})})]})}const Z3t=[{id:"context-compression",presentation:"standalone",match:e=>k9e(e),hasDetails:()=>!1},A3t,H3t];function WU(e,t){return Z3t.find(r=>r.match(e,t))??null}function K3t(e,t){return WU(e,t)?.presentation??null}function C9e(e,t,r){return e?.renderDetails?e.hasDetails?.(t,r)??!0:!1}function qe(e,t,r){function n(s,l){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:l,constr:i,traits:new Set},enumerable:!1}),s._zod.traits.has(e))return;s._zod.traits.add(e),t(s,l);const u=i.prototype,d=Object.keys(u);for(let f=0;f<d.length;f++){const p=d[f];p in s||(s[p]=u[p].bind(s))}}const o=r?.Parent??Object;class a extends o{}Object.defineProperty(a,"name",{value:e});function i(s){var l;const u=r?.Parent?new a:this;n(u,s),(l=u._zod).deferred??(l.deferred=[]);for(const d of u._zod.deferred)d();return u}return Object.defineProperty(i,"init",{value:n}),Object.defineProperty(i,Symbol.hasInstance,{value:s=>r?.Parent&&s instanceof r.Parent?!0:s?._zod?.traits?.has(e)}),Object.defineProperty(i,"name",{value:e}),i}class Zm extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class S9e extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}const M9e={};function $p(e){return M9e}function _9e(e){const t=Object.values(e).filter(n=>typeof n=="number");return Object.entries(e).filter(([n,o])=>t.indexOf(+n)===-1).map(([n,o])=>o)}function uee(e,t){return typeof t=="bigint"?t.toString():t}function Gne(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function Zne(e){return e==null}function Kne(e){const t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function Y3t(e,t){const r=(e.toString().split(".")[1]||"").length,n=t.toString();let o=(n.split(".")[1]||"").length;if(o===0&&/\d?e-\d?/.test(n)){const l=n.match(/\d?e-(\d?)/);l?.[1]&&(o=Number.parseInt(l[1]))}const a=r>o?r:o,i=Number.parseInt(e.toFixed(a).replace(".","")),s=Number.parseInt(t.toFixed(a).replace(".",""));return i%s/10**a}const vfe=Symbol("evaluating");function _n(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==vfe)return n===void 0&&(n=vfe,n=r()),n},set(o){Object.defineProperty(e,t,{value:o})},configurable:!0})}function r2(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function n2(...e){const t={};for(const r of e){const n=Object.getOwnPropertyDescriptors(r);Object.assign(t,n)}return Object.defineProperties({},t)}function wfe(e){return JSON.stringify(e)}function X3t(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const T9e="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function G$(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Q3t=Gne(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function wx(e){if(G$(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const r=t.prototype;return!(G$(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function A9e(e){return wx(e)?{...e}:Array.isArray(e)?[...e]:e}const J3t=new Set(["string","number","symbol"]);function Pg(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function fh(e,t,r){const n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function Et(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function e5t(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}const t5t={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function r5t(e,t){const r=e._zod.def,n=n2(e._zod.def,{get shape(){const o={};for(const a in t){if(!(a in r.shape))throw new Error(`Unrecognized key: "${a}"`);t[a]&&(o[a]=r.shape[a])}return r2(this,"shape",o),o},checks:[]});return fh(e,n)}function n5t(e,t){const r=e._zod.def,n=n2(e._zod.def,{get shape(){const o={...e._zod.def.shape};for(const a in t){if(!(a in r.shape))throw new Error(`Unrecognized key: "${a}"`);t[a]&&delete o[a]}return r2(this,"shape",o),o},checks:[]});return fh(e,n)}function o5t(e,t){if(!wx(t))throw new Error("Invalid input to extend: expected a plain object");const r=e._zod.def.checks;if(r&&r.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");const o=n2(e._zod.def,{get shape(){const a={...e._zod.def.shape,...t};return r2(this,"shape",a),a},checks:[]});return fh(e,o)}function a5t(e,t){if(!wx(t))throw new Error("Invalid input to safeExtend: expected a plain object");const r={...e._zod.def,get shape(){const n={...e._zod.def.shape,...t};return r2(this,"shape",n),n},checks:e._zod.def.checks};return fh(e,r)}function i5t(e,t){const r=n2(e._zod.def,{get shape(){const n={...e._zod.def.shape,...t._zod.def.shape};return r2(this,"shape",n),n},get catchall(){return t._zod.def.catchall},checks:[]});return fh(e,r)}function s5t(e,t,r){const n=n2(t._zod.def,{get shape(){const o=t._zod.def.shape,a={...o};if(r)for(const i in r){if(!(i in o))throw new Error(`Unrecognized key: "${i}"`);r[i]&&(a[i]=e?new e({type:"optional",innerType:o[i]}):o[i])}else for(const i in o)a[i]=e?new e({type:"optional",innerType:o[i]}):o[i];return r2(this,"shape",a),a},checks:[]});return fh(t,n)}function l5t(e,t,r){const n=n2(t._zod.def,{get shape(){const o=t._zod.def.shape,a={...o};if(r)for(const i in r){if(!(i in a))throw new Error(`Unrecognized key: "${i}"`);r[i]&&(a[i]=new e({type:"nonoptional",innerType:o[i]}))}else for(const i in o)a[i]=new e({type:"nonoptional",innerType:o[i]});return r2(this,"shape",a),a},checks:[]});return fh(t,n)}function zm(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function L9e(e,t){return t.map(r=>{var n;return(n=r).path??(n.path=[]),r.path.unshift(e),r})}function R5(e){return typeof e=="string"?e:e?.message}function Vp(e,t,r){const n={...e,path:e.path??[]};if(!e.message){const o=R5(e.inst?._zod.def?.error?.(e))??R5(t?.error?.(e))??R5(r.customError?.(e))??R5(r.localeError?.(e))??"Invalid input";n.message=o}return delete n.inst,delete n.continue,t?.reportInput||delete n.input,n}function Yne(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Cx(...e){const[t,r,n]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:n}:{...t}}const E9e=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,uee,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},I9e=qe("$ZodError",E9e),R9e=qe("$ZodError",E9e,{Parent:Error});function c5t(e,t=r=>r.message){const r={},n=[];for(const o of e.issues)o.path.length>0?(r[o.path[0]]=r[o.path[0]]||[],r[o.path[0]].push(t(o))):n.push(t(o));return{formErrors:n,fieldErrors:r}}function u5t(e,t=r=>r.message){const r={_errors:[]},n=o=>{for(const a of o.issues)if(a.code==="invalid_union"&&a.errors.length)a.errors.map(i=>n({issues:i}));else if(a.code==="invalid_key")n({issues:a.issues});else if(a.code==="invalid_element")n({issues:a.issues});else if(a.path.length===0)r._errors.push(t(a));else{let i=r,s=0;for(;s<a.path.length;){const l=a.path[s];s===a.path.length-1?(i[l]=i[l]||{_errors:[]},i[l]._errors.push(t(a))):i[l]=i[l]||{_errors:[]},i=i[l],s++}}};return n(e),r}const Xne=e=>(t,r,n,o)=>{const a=n?Object.assign(n,{async:!1}):{async:!1},i=t._zod.run({value:r,issues:[]},a);if(i instanceof Promise)throw new Zm;if(i.issues.length){const s=new(o?.Err??e)(i.issues.map(l=>Vp(l,a,$p())));throw T9e(s,o?.callee),s}return i.value},Qne=e=>async(t,r,n,o)=>{const a=n?Object.assign(n,{async:!0}):{async:!0};let i=t._zod.run({value:r,issues:[]},a);if(i instanceof Promise&&(i=await i),i.issues.length){const s=new(o?.Err??e)(i.issues.map(l=>Vp(l,a,$p())));throw T9e(s,o?.callee),s}return i.value},GU=e=>(t,r,n)=>{const o=n?{...n,async:!1}:{async:!1},a=t._zod.run({value:r,issues:[]},o);if(a instanceof Promise)throw new Zm;return a.issues.length?{success:!1,error:new(e??I9e)(a.issues.map(i=>Vp(i,o,$p())))}:{success:!0,data:a.value}},d5t=GU(R9e),ZU=e=>async(t,r,n)=>{const o=n?Object.assign(n,{async:!0}):{async:!0};let a=t._zod.run({value:r,issues:[]},o);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(i=>Vp(i,o,$p())))}:{success:!0,data:a.value}},h5t=ZU(R9e),f5t=e=>(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Xne(e)(t,r,o)},p5t=e=>(t,r,n)=>Xne(e)(t,r,n),m5t=e=>async(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Qne(e)(t,r,o)},g5t=e=>async(t,r,n)=>Qne(e)(t,r,n),y5t=e=>(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return GU(e)(t,r,o)},b5t=e=>(t,r,n)=>GU(e)(t,r,n),x5t=e=>async(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return ZU(e)(t,r,o)},k5t=e=>async(t,r,n)=>ZU(e)(t,r,n),v5t=/^[cC][^\s-]{8,}$/,w5t=/^[0-9a-z]+$/,C5t=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,S5t=/^[0-9a-vA-V]{20}$/,M5t=/^[A-Za-z0-9]{27}$/,_5t=/^[a-zA-Z0-9_-]{21}$/,T5t=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,A5t=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Cfe=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,L5t=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,E5t="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function I5t(){return new RegExp(E5t,"u")}const R5t=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,z5t=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,D5t=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,O5t=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,B5t=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,z9e=/^[A-Za-z0-9_-]*$/,N5t=/^\+(?:[0-9]){6,14}[0-9]$/,D9e="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",j5t=new RegExp(`^${D9e}$`);function O9e(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function P5t(e){return new RegExp(`^${O9e(e)}$`)}function F5t(e){const t=O9e({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const n=`${t}(?:${r.join("|")})`;return new RegExp(`^${D9e}T(?:${n})$`)}const q5t=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},H5t=/^-?\d+$/,$5t=/^-?\d+(?:\.\d+)?/,V5t=/^[^A-Z]*$/,U5t=/^[^a-z]*$/,Bi=qe("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),B9e={number:"number",bigint:"bigint",object:"date"},N9e=qe("$ZodCheckLessThan",(e,t)=>{Bi.init(e,t);const r=B9e[typeof t.value];e._zod.onattach.push(n=>{const o=n._zod.bag,a=(t.inclusive?o.maximum:o.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<a&&(t.inclusive?o.maximum=t.value:o.exclusiveMaximum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:r,code:"too_big",maximum:t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),j9e=qe("$ZodCheckGreaterThan",(e,t)=>{Bi.init(e,t);const r=B9e[typeof t.value];e._zod.onattach.push(n=>{const o=n._zod.bag,a=(t.inclusive?o.minimum:o.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>a&&(t.inclusive?o.minimum=t.value:o.exclusiveMinimum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:r,code:"too_small",minimum:t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),W5t=qe("$ZodCheckMultipleOf",(e,t)=>{Bi.init(e,t),e._zod.onattach.push(r=>{var n;(n=r._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?r.value%t.value===BigInt(0):Y3t(r.value,t.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),G5t=qe("$ZodCheckNumberFormat",(e,t)=>{Bi.init(e,t),t.format=t.format||"float64";const r=t.format?.includes("int"),n=r?"int":"number",[o,a]=t5t[t.format];e._zod.onattach.push(i=>{const s=i._zod.bag;s.format=t.format,s.minimum=o,s.maximum=a,r&&(s.pattern=H5t)}),e._zod.check=i=>{const s=i.value;if(r){if(!Number.isInteger(s)){i.issues.push({expected:n,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?i.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,continue:!t.abort}):i.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,continue:!t.abort});return}}s<o&&i.issues.push({origin:"number",input:s,code:"too_small",minimum:o,inclusive:!0,inst:e,continue:!t.abort}),s>a&&i.issues.push({origin:"number",input:s,code:"too_big",maximum:a,inst:e})}}),Z5t=qe("$ZodCheckMaxLength",(e,t)=>{var r;Bi.init(e,t),(r=e._zod.def).when??(r.when=n=>{const o=n.value;return!Zne(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{const o=n._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<o&&(n._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{const o=n.value;if(o.length<=t.maximum)return;const i=Yne(o);n.issues.push({origin:i,code:"too_big",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),K5t=qe("$ZodCheckMinLength",(e,t)=>{var r;Bi.init(e,t),(r=e._zod.def).when??(r.when=n=>{const o=n.value;return!Zne(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{const o=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>o&&(n._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{const o=n.value;if(o.length>=t.minimum)return;const i=Yne(o);n.issues.push({origin:i,code:"too_small",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),Y5t=qe("$ZodCheckLengthEquals",(e,t)=>{var r;Bi.init(e,t),(r=e._zod.def).when??(r.when=n=>{const o=n.value;return!Zne(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{const o=n._zod.bag;o.minimum=t.length,o.maximum=t.length,o.length=t.length}),e._zod.check=n=>{const o=n.value,a=o.length;if(a===t.length)return;const i=Yne(o),s=a>t.length;n.issues.push({origin:i,...s?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),KU=qe("$ZodCheckStringFormat",(e,t)=>{var r,n;Bi.init(e,t),e._zod.onattach.push(o=>{const a=o._zod.bag;a.format=t.format,t.pattern&&(a.patterns??(a.patterns=new Set),a.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=o=>{t.pattern.lastIndex=0,!t.pattern.test(o.value)&&o.issues.push({origin:"string",code:"invalid_format",format:t.format,input:o.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})}),X5t=qe("$ZodCheckRegex",(e,t)=>{KU.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Q5t=qe("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=V5t),KU.init(e,t)}),J5t=qe("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=U5t),KU.init(e,t)}),evt=qe("$ZodCheckIncludes",(e,t)=>{Bi.init(e,t);const r=Pg(t.includes),n=new RegExp(typeof t.position=="number"?`^.{${t.position}}${r}`:r);t.pattern=n,e._zod.onattach.push(o=>{const a=o._zod.bag;a.patterns??(a.patterns=new Set),a.patterns.add(n)}),e._zod.check=o=>{o.value.includes(t.includes,t.position)||o.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:o.value,inst:e,continue:!t.abort})}}),tvt=qe("$ZodCheckStartsWith",(e,t)=>{Bi.init(e,t);const r=new RegExp(`^${Pg(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{const o=n._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(r)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),rvt=qe("$ZodCheckEndsWith",(e,t)=>{Bi.init(e,t);const r=new RegExp(`.*${Pg(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{const o=n._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(r)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),nvt=qe("$ZodCheckOverwrite",(e,t)=>{Bi.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});class ovt{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const n=t.split(`
763
+ `);if(o){const s=o[1],l=a.replace(/\n$/,"");return s==="mermaid"?y.jsx(g9e,{code:l}):y.jsxs(y.Fragment,{children:[y.jsx(s3t,{language:s,code:l}),y.jsx(zdt,{language:s,className:e,children:l})]})}return i?y.jsx("code",{className:ie("block min-w-full whitespace-pre px-4 py-4 font-mono text-inherit",e),...Yo(n),children:a.replace(/\n$/,"")}):y.jsx("code",{className:ie("bg-muted rounded font-mono text-[0.9em] font-semibold whitespace-pre-wrap [overflow-wrap:anywhere]",e),style:{paddingInline:$kt,paddingBlock:Vkt,...r},...Yo(n),children:t})}},c3t=({children:e})=>y.jsx("div",{className:"markdown-content",children:n3t(e).map((t,r)=>t.type==="plan"?y.jsx(o3t,{children:t.content},r):y.jsx(b9e,{children:t.content},r))}),see=w.memo(c3t);function u3t(e){try{return JSON.stringify(e,null,2)}catch{return String(e)}}function lee(e){return typeof e=="string"?e:u3t(e)}function d3t(e){return e.data&&typeof e.data=="object"?e.data:{}}function n4(e){if(typeof e!="string")return null;const t=e.trim();return t||null}function fm(e){return typeof e=="number"&&Number.isFinite(e)?String(e):n4(e)}function h3t(e){return e.data&&typeof e.data=="object"&&!Array.isArray(e.data)?e.data:{}}function f3t(e){return e.event==="middleware_event"}function p3t(e){return iy(e)==="running"?{icon:uo,spin:!0}:hU(e)?{icon:fV,spin:!1}:{icon:_p,spin:!1}}function m3t({content:e}){const{t}=Rt(),r=d3t(e),n=h3t(r),o=n4(r.middlewareName),a=n4(r.phase),i=n4(e.title)||o||t("message.middlewareEvent.title.default"),s=o?t(`message.middlewareEvent.title.${o}`,{defaultValue:i}):i,l=n4(e.message)||a||null,u=fm(n.attempt)??fm(r.attempt),d=fm(n.totalAttempts)??fm(n.total)??fm(r.totalAttempts)??fm(r.total),f=a&&u&&d?t(`message.middlewareEvent.phase.${a}`,{attempt:u,total:d,defaultValue:l??a}):l,p=e.error!==void 0||hU(e.status),g=dU(e.status),b=p3t(e.status),v=b.icon;return y.jsxs("div",{"data-testid":"middleware-event-row",className:ie("my-1 inline-flex max-w-full items-center gap-1.5 rounded-full border px-2 py-1 text-[11px] leading-4",p?"border-destructive/20 bg-destructive/5 text-destructive":g?"border-border/60 bg-muted/20 text-muted-foreground":"border-emerald-500/20 bg-emerald-500/5 text-muted-foreground"),children:[y.jsx(v,{className:ie("h-3.5 w-3.5 shrink-0",g&&"text-blue-700",!g&&!p&&"text-emerald-600",b.spin&&"animate-spin")}),y.jsx("span",{className:"min-w-0 truncate font-medium",children:s}),f?y.jsxs(y.Fragment,{children:[y.jsx("span",{className:"text-muted-foreground/50",children:"·"}),y.jsx("span",{className:"min-w-0 truncate",children:f})]}):null]})}function g3t(e){if(e<1e3)return`${e}ms`;if(e<1e4)return`${(e/1e3).toFixed(1)}s`;if(e<6e4)return`${Math.round(e/1e3)}s`;const t=Math.floor(e/36e5),r=Math.floor(e%36e5/6e4),n=Math.floor(e%6e4/1e3);return t>0?`${t}h ${r}m ${n}s`:`${r}m ${n}s`}function y3t(e,t=!1){const r=iy(e);return r==="running"?{icon:uo,iconClass:"text-blue-700",labelKey:"running",spin:!0}:r==="success"||r==="succeeded"?{icon:_p,iconClass:"text-green-700",labelKey:"success",spin:!1}:hU(r)?{icon:fV,iconClass:"text-red-700",labelKey:"error",spin:!1}:r==="pending"&&t?{icon:_p,iconClass:"text-green-700",labelKey:"replied",spin:!1}:{icon:Hee,iconClass:"text-muted-foreground",labelKey:r,spin:!1}}function xfe({icon:e,label:t,value:r,children:n}){return y.jsxs(bo,{children:[y.jsx(xo,{asChild:!0,children:y.jsxs("span",{"aria-label":t,className:"inline-flex shrink-0 items-center gap-1 rounded-sm text-[11px] text-muted-foreground/60 transition-colors group-hover/agent:text-muted-foreground",children:[y.jsx(e,{className:"h-3.5 w-3.5"}),r!==void 0?y.jsx("span",{children:r}):null]})}),y.jsx(ko,{side:"top",sideOffset:6,className:"max-w-80 text-left",children:n})]})}function b3t(e){return[...e.entries.map(t=>({type:"entry",entry:t,order:t.order})),...e.children.map(t=>({type:"agent",node:t,order:t.firstOrder}))].sort((t,r)=>t.order-r.order)}function x3t({content:e}){if(f3t(e))return y.jsx(m3t,{content:e});const t=e.title?.trim()||e.message?.trim()||e.event?.trim()||"Event",r=e.title?.trim()&&e.message?.trim()?e.message.trim():null,n=e.error!==void 0||hU(e.status);return y.jsxs("div",{className:ie("flex items-start gap-2 rounded-md px-2 py-1.5 text-xs leading-5",n?"bg-destructive/10 text-destructive":"bg-muted/40 text-muted-foreground"),children:[y.jsx(Rx,{className:"mt-0.5 h-3.5 w-3.5 shrink-0"}),y.jsxs("div",{className:"min-w-0 flex-1",children:[y.jsx("div",{className:"truncate font-medium",children:t}),r?y.jsx("div",{className:"wrap-break-word",children:r}):null,e.error!==void 0?y.jsx("pre",{className:"mt-1 whitespace-pre-wrap wrap-break-word",children:lee(e.error)}):null]})]})}function k3t({node:e,hasFollowingItem:t,depth:r,renderUnits:n}){const{t:o}=Rt(),a=qet(e),i=y3t(e.info.status,a.text>0),s=i.icon,l=dU(e.info.status),u=typeof e.info.elapsedTime=="number"&&Number.isFinite(e.info.elapsedTime),d=e.info.startedAt!==void 0||e.info.createdAt!==void 0,f=l&&d&&!u,[p,g]=w.useState(()=>Date.now()),[b,v]=w.useState(()=>l||!t),C=Pet(e.info,o("message.agentRun.defaultTitle")),S=Fet(e.info,f?p:void 0),M=o(`message.agentRun.status.${i.labelKey}`,{defaultValue:e.info.status??i.labelKey}),T=w.useId();w.useEffect(()=>{if(!f)return;g(Date.now());const R=window.setInterval(()=>{g(Date.now())},100);return()=>{window.clearInterval(R)}},[f]),w.useEffect(()=>{if(l){v(!0);return}v(!t)},[t,l]);const A=[a.text>0?{icon:ORe,count:a.text,label:o(`message.agentRun.counts.messages.${a.text===1?"one":"other"}`,{count:a.text})}:null,a.tools>0?{icon:pme,count:a.tools,label:o(`message.agentRun.counts.tools.${a.tools===1?"one":"other"}`,{count:a.tools})}:null,a.events>0?{icon:Rx,count:a.events,label:o(`message.agentRun.counts.events.${a.events===1?"one":"other"}`,{count:a.events})}:null,a.children>0?{icon:bRe,count:a.children,label:o(`message.agentRun.counts.children.${a.children===1?"one":"other"}`,{count:a.children})}:null].filter(R=>!!R);return y.jsxs("div",{className:ie("border border-border/70 pl-2 rounded-lg",r>0?"ml-1":"-mx-2.5 shadow-sm"),children:[y.jsxs("button",{type:"button",className:"group/agent group-agent flex w-full items-start justify-between gap-2 rounded-md px-0 py-1.5 text-left","aria-expanded":b,"aria-controls":T,onClick:()=>v(R=>!R),children:[y.jsx("div",{className:"min-w-0 flex-1",children:y.jsxs("div",{className:"flex min-w-0 flex-wrap items-center gap-x-1.5 gap-y-1",children:[y.jsx(Ix,{className:"h-4 w-4 shrink-0 text-muted-foreground/55 transition-colors group-hover/agent:text-muted-foreground"}),y.jsx("span",{className:"min-w-0 max-w-[16rem] truncate text-sm font-medium text-foreground/65 transition-colors group-hover/agent:text-foreground",children:C}),y.jsxs("span",{className:"inline-flex shrink-0 items-center gap-1 text-[11px] text-muted-foreground/65 transition-colors group-hover/agent:text-muted-foreground",children:[y.jsx(s,{className:ie("h-3.5 w-3.5",i.iconClass,i.spin&&"animate-spin")}),M]}),S!==null?y.jsxs("span",{className:"inline-flex shrink-0 items-center gap-1 text-[11px] text-muted-foreground/60 tabular-nums transition-colors group-hover/agent:text-muted-foreground",children:[y.jsx(Hee,{className:"h-3 w-3"}),g3t(S)]}):null,e.info.inputs!==void 0?y.jsx(xfe,{icon:kIe,label:o("message.agentRun.inputLabel"),children:y.jsxs("div",{className:"space-y-1",children:[y.jsx("div",{className:"font-medium",children:o("message.agentRun.inputLabel")}),y.jsx("pre",{className:"max-h-64 overflow-auto whitespace-pre-wrap wrap-break-word text-xs",children:lee(e.info.inputs)})]})}):null,A.map(R=>{const I=R.icon;return y.jsx(xfe,{icon:I,label:R.label,value:R.count,children:y.jsx("span",{children:R.label})},R.label)})]})}),y.jsx(Lu,{"aria-hidden":"true",className:ie("mt-0.5 h-4 w-4 shrink-0 text-muted-foreground/55 opacity-0 transition-[color,transform] group-hover/agent:text-muted-foreground group-hover/agent:opacity-100",b&&"rotate-90")})]}),b?y.jsxs("div",{id:T,className:"mt-2 space-y-3",children:[jet(e.info)?y.jsx("div",{className:"space-y-2 rounded-md bg-muted/30 px-2 py-2 text-xs text-muted-foreground",children:e.info.error!==void 0?y.jsxs("div",{children:[y.jsx("div",{className:"mb-1 font-medium text-destructive",children:o("message.agentRun.errorLabel")}),y.jsx("pre",{className:"whitespace-pre-wrap wrap-break-word text-destructive",children:lee(e.info.error)})]}):null}):null,n(b3t(e),r+1)]}):null]})}const v3t="context-compression";function k9e(e){return e.data.category==="Tool"&&e.data.type===v3t}function v9e(e,t){return e==="success"&&(t==="no_messages"||t==="no_unprotected_history"||t==="no_token_gain")}function w3t({data:e}){const{t}=Rt(),r=e.status??"running";if(v9e(r,e.reason))return t("message.contextCompression.skipped");switch(r){case"success":return t("message.contextCompression.success");case"fail":return t("message.contextCompression.fail");default:return t("message.contextCompression.running")}}function C3t({data:e}){const t=e.status??"running",r=v9e(t,e.reason);return t==="running"?y.jsx(uo,{"aria-hidden":"true",className:"h-4 w-4 shrink-0 animate-spin"}):t==="fail"?y.jsx(fV,{"aria-hidden":"true",className:"h-4 w-4 shrink-0"}):y.jsx(yu,{"aria-hidden":"true",className:ie("h-4 w-4 shrink-0",r&&"opacity-80")})}function S3t(e,t){return vo(e.summary||e.error||e.message,t)}function M3t({content:e}){const{i18n:t}=Rt(),r=e.data,n=r.status??"running",o=S3t(r,t.language),a=y.jsx(w3t,{data:r}),i=y.jsxs("div",{className:ie("inline-flex max-w-[80%] shrink-0 items-center gap-1.5 rounded-md px-2 py-1 text-sm font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground",o&&"cursor-help",n==="fail"&&"text-destructive hover:text-destructive"),children:[y.jsx(C3t,{data:r}),y.jsx("span",{className:ie("truncate",n==="running"&&"ck-tool-call-running-text"),children:a})]});return y.jsxs("div",{className:"flex w-full items-center justify-center gap-3 py-6",children:[y.jsx("div",{className:"h-px min-w-8 flex-1 bg-border"}),o?y.jsxs(bo,{children:[y.jsx(xo,{asChild:!0,children:i}),y.jsx(ko,{side:"top",className:"max-h-80 max-w-xl overflow-auto whitespace-pre-wrap text-left text-xs leading-5",children:o})]}):i,y.jsx("div",{className:"h-px min-w-8 flex-1 bg-border"})]})}const _3t="Knowledge Retriever",T3t=new Set(["assets","children","loc","relevanceScore","score"]),A3t={id:"knowledge-retriever",presentation:"grouped-step",match:w9e,getTitle:()=>_3t,hasDetails:j3t,renderDetails:F3t};function L3t(e){return typeof e!="string"?null:e.trim().toLowerCase().replace(/[\s-]+/g,"_")||null}function Gm(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function Oa(e){return typeof e!="string"?void 0:e.trim()||void 0}function cee(e){if(e!=null){if(typeof e=="string")return Oa(e);if(typeof e=="number"||typeof e=="boolean")return String(e);try{const t=JSON.stringify(e);return t&&t!=="{}"?t:void 0}catch{return String(e)}}}function E3t(e){return e.length>90?`${e.slice(0,87)}...`:e}function I3t(e){return typeof e=="number"?Number.isFinite(e)?e.toFixed(e<1?3:2):void 0:Oa(e)}function R3t(e){const t=e.loc;if(!Gm(t))return;const r=t.lines;if(!Gm(r))return;const n=cee(r.from),o=cee(r.to);return n&&o?`${n}-${o}`:n??o}function z3t(e){return Object.entries(e).flatMap(([t,r])=>{if(T3t.has(t))return[];const n=cee(r);return n?[{key:t,value:E3t(n)}]:[]})}function D3t(e,t){if(!Gm(e))return null;const r=Gm(e.metadata)?e.metadata:{},n=Gm(e.document)?e.document:{},o=Oa(e.pageContent),a=Oa(n.name)??Oa(r.originalFileName)??Oa(r.source)??Oa(e.id)??Oa(r.chunkId)??t;return!o&&Object.keys(r).length===0&&Object.keys(n).length===0?null:{id:Oa(e.id)??Oa(r.chunkId),title:a,url:Oa(n.fileUrl),content:o,lineRange:R3t(r),score:I3t(r.relevanceScore??r.score??e.score),metadata:z3t(r)}}function O3t(e){return Array.isArray(e.data)?e.data.flatMap((t,r)=>{const n=D3t(t,`Result ${r+1}`);return n?[n]:[]}):[]}function B3t(e){return e.data??e.output??null}function N3t(e,t){const r=e.input;return Gm(r)?Oa(r.query)??Oa(r.input)??Oa(r.question):Oa(vo(e.message,t))??Oa(r)}function j3t(e,t){return w9e(e,t)}function w9e(e,t){return L3t(t.type)==="knowledges"}function P3t({value:e}){const{t}=Rt(),r=mke(e);return r.kind==="text"?y.jsx(xke,{value:r.text}):y.jsxs(fU,{defaultValue:"tree",className:"min-w-0",children:[y.jsxs("div",{className:"mb-2 flex min-w-0 items-center justify-between gap-2",children:[y.jsxs("span",{className:"min-w-0 truncate text-[11px] text-muted-foreground",children:[t("message.toolGroup.jsonTitle")," ·"," ",gke(r.value)]}),y.jsxs(Jx,{className:"rounded-md p-0.5",children:[y.jsx(ku,{className:"px-2 py-0.5 text-[11px]",value:"tree",children:t("message.toolGroup.jsonTree")}),y.jsx(ku,{className:"px-2 py-0.5 text-[11px]",value:"raw",children:t("message.toolGroup.jsonRaw")})]})]}),y.jsx(vu,{value:"tree",className:"mt-0",children:y.jsx(lre,{value:r.value})}),y.jsx(vu,{value:"raw",className:"mt-0",children:y.jsx(bke,{raw:r.raw})})]})}function F3t({data:e}){const{i18n:t,t:r}=Rt(),n=N3t(e,t.language),o=O3t(e),a=B3t(e),i=Array.isArray(e.data),s=a!=null&&(!i||Array.isArray(e.data)&&e.data.length>0&&o.length===0),l=o.length===0&&!s&&e.status!=="running";return y.jsxs("div",{className:"min-w-0 space-y-3 px-3 py-2",children:[n?y.jsxs("div",{className:"min-w-0 space-y-1",children:[y.jsx("div",{className:"text-[11px] font-medium text-muted-foreground",children:r("message.knowledgeRetriever.queryTitle")}),y.jsx("div",{className:"min-w-0 whitespace-pre-wrap wrap-break-word rounded-md bg-muted/40 px-3 py-2 font-mono text-[12px] leading-5 text-foreground/80",children:n})]}):null,o.length>0?y.jsxs("div",{className:"min-w-0 space-y-2",children:[y.jsx("div",{className:"text-[11px] font-medium text-muted-foreground",children:r("message.knowledgeRetriever.resultsTitle",{count:o.length})}),y.jsx("div",{className:"space-y-2",children:o.map((u,d)=>y.jsx(q3t,{result:u,index:d},u.id??`${u.title}-${d}`))})]}):null,s?y.jsxs("div",{className:"min-w-0 space-y-1",children:[y.jsx("div",{className:"text-[11px] font-medium text-muted-foreground",children:r("message.knowledgeRetriever.rawDataTitle")}),y.jsx(P3t,{value:a})]}):null,l?y.jsx("div",{className:"rounded-md border border-dashed border-border/70 px-3 py-4 text-center text-xs text-muted-foreground",children:r("message.knowledgeRetriever.noResults")}):null]})}function q3t({result:e,index:t}){const{t:r}=Rt(),n=`knowledge-result-${t+1}`,o=[...e.score?[{key:r("message.knowledgeRetriever.scoreLabel"),value:e.score}]:[],...e.metadata],a="min-w-0 line-clamp-2 text-sm font-medium leading-5 text-foreground";return y.jsx("article",{className:"min-w-0 rounded-md border border-border/60 bg-background/80 px-3 py-2",children:y.jsxs("div",{className:"flex min-w-0 items-start gap-2",children:[y.jsx("span",{className:"mt-0.5 inline-flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-muted text-[11px] font-medium text-muted-foreground",children:t+1}),y.jsxs("div",{className:"min-w-0 flex-1",children:[e.url?y.jsxs("a",{id:n,href:e.url,target:"_blank",rel:"noreferrer",className:ie(a,"hover:underline"),children:[e.title,e.lineRange?y.jsxs("span",{className:"ml-1 text-muted-foreground",children:["[",e.lineRange,"]"]}):null]}):y.jsxs("div",{id:n,className:a,children:[e.title,e.lineRange?y.jsxs("span",{className:"ml-1 text-muted-foreground",children:["[",e.lineRange,"]"]}):null]}),e.content?y.jsx("p",{className:"mt-1 line-clamp-3 whitespace-pre-wrap text-xs leading-5 text-muted-foreground",children:e.content}):null,o.length>0?y.jsx("div",{className:"mt-2 flex flex-wrap gap-1.5","aria-labelledby":n,children:o.slice(0,10).map(i=>y.jsxs("span",{className:"inline-flex min-w-0 max-w-full items-center gap-1 rounded-md bg-muted/50 px-1.5 py-0.5 text-[11px] leading-4 text-muted-foreground",children:[y.jsxs("span",{className:"shrink-0 font-medium text-foreground/70",children:[i.key,":"]}),y.jsx("span",{className:"min-w-0 truncate font-mono",children:i.value})]},`${i.key}:${i.value}`))}):null]})]})})}const H3t={id:"computer-web-search-sources",presentation:"grouped-step",match:U3t,hasDetails:V3t,renderDetails:G3t};function kfe(e){return typeof e!="string"?null:e.trim().toLowerCase().replace(/[\s-]+/g,"_")||null}function pm(e){return typeof e!="string"?void 0:e.trim()||void 0}function $3t(e){if(!e||typeof e!="object"||Array.isArray(e))return null;const t=e,r=pm(t.title),n=pm(t.url);if(!r||!n)return null;const o=pm(t.content),a=pm(t.description),i=pm(t.publishedDate??t.published_date??t.publishedAt),s=pm(t.author);return{title:r,url:n,...o?{content:o}:{},...a?{description:a}:{},...i?{publishedDate:i}:{},...s?{author:s}:{}}}function Wne(e){return Array.isArray(e.data)?e.data.flatMap(t=>{const r=$3t(t);return r?[r]:[]}):[]}function V3t(e,t){return Wne(t).length>0}function U3t(e,t){const r=t.category==="Computer",n=kfe(t.type)==="web_search";return!r||!n?!1:kfe(t.tool)==="web_search"||Wne(t).length>0}function W3t(e){try{return new URL(e).hostname.replace(/^www\./,"")||null}catch{return null}}function G3t({data:e}){const{t}=Rt(),r=Wne(e);return r.length===0||e.error!==void 0?null:y.jsxs("div",{className:"space-y-2",children:[y.jsx("div",{className:"text-[11px] font-medium text-muted-foreground",children:t("message.toolGroup.sourcesTitle")}),y.jsx("div",{className:"space-y-2",children:r.map((n,o)=>{const a=W3t(n.url),i=n.content??n.description,s=[a,n.publishedDate,n.author].filter(l=>!!l);return y.jsxs("div",{className:"min-w-0 rounded-md border border-border/60 bg-background/80 px-3 py-2",children:[s.length>0?y.jsx("div",{className:"mb-1 truncate text-[11px] text-muted-foreground",children:s.join(" / ")}):null,y.jsx("a",{href:n.url,target:"_blank",rel:"noreferrer",className:"block min-w-0 line-clamp-2 text-sm font-medium leading-5 text-foreground hover:underline",children:n.title}),i?y.jsx("p",{className:"mt-1 line-clamp-3 text-xs leading-5 text-muted-foreground",children:i}):null]},`${n.url}-${o}`)})})]})}const Z3t=[{id:"context-compression",presentation:"standalone",match:e=>k9e(e),hasDetails:()=>!1},A3t,H3t];function WU(e,t){return Z3t.find(r=>r.match(e,t))??null}function K3t(e,t){return WU(e,t)?.presentation??null}function C9e(e,t,r){return e?.renderDetails?e.hasDetails?.(t,r)??!0:!1}function qe(e,t,r){function n(s,l){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:l,constr:i,traits:new Set},enumerable:!1}),s._zod.traits.has(e))return;s._zod.traits.add(e),t(s,l);const u=i.prototype,d=Object.keys(u);for(let f=0;f<d.length;f++){const p=d[f];p in s||(s[p]=u[p].bind(s))}}const o=r?.Parent??Object;class a extends o{}Object.defineProperty(a,"name",{value:e});function i(s){var l;const u=r?.Parent?new a:this;n(u,s),(l=u._zod).deferred??(l.deferred=[]);for(const d of u._zod.deferred)d();return u}return Object.defineProperty(i,"init",{value:n}),Object.defineProperty(i,Symbol.hasInstance,{value:s=>r?.Parent&&s instanceof r.Parent?!0:s?._zod?.traits?.has(e)}),Object.defineProperty(i,"name",{value:e}),i}class Zm extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class S9e extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}const M9e={};function $p(e){return M9e}function _9e(e){const t=Object.values(e).filter(n=>typeof n=="number");return Object.entries(e).filter(([n,o])=>t.indexOf(+n)===-1).map(([n,o])=>o)}function uee(e,t){return typeof t=="bigint"?t.toString():t}function Gne(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function Zne(e){return e==null}function Kne(e){const t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function Y3t(e,t){const r=(e.toString().split(".")[1]||"").length,n=t.toString();let o=(n.split(".")[1]||"").length;if(o===0&&/\d?e-\d?/.test(n)){const l=n.match(/\d?e-(\d?)/);l?.[1]&&(o=Number.parseInt(l[1]))}const a=r>o?r:o,i=Number.parseInt(e.toFixed(a).replace(".","")),s=Number.parseInt(t.toFixed(a).replace(".",""));return i%s/10**a}const vfe=Symbol("evaluating");function _n(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==vfe)return n===void 0&&(n=vfe,n=r()),n},set(o){Object.defineProperty(e,t,{value:o})},configurable:!0})}function r2(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function n2(...e){const t={};for(const r of e){const n=Object.getOwnPropertyDescriptors(r);Object.assign(t,n)}return Object.defineProperties({},t)}function wfe(e){return JSON.stringify(e)}function X3t(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const T9e="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function G$(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Q3t=Gne(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function wx(e){if(G$(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const r=t.prototype;return!(G$(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function A9e(e){return wx(e)?{...e}:Array.isArray(e)?[...e]:e}const J3t=new Set(["string","number","symbol"]);function Pg(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function fh(e,t,r){const n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function Et(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function e5t(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}const t5t={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function r5t(e,t){const r=e._zod.def,n=n2(e._zod.def,{get shape(){const o={};for(const a in t){if(!(a in r.shape))throw new Error(`Unrecognized key: "${a}"`);t[a]&&(o[a]=r.shape[a])}return r2(this,"shape",o),o},checks:[]});return fh(e,n)}function n5t(e,t){const r=e._zod.def,n=n2(e._zod.def,{get shape(){const o={...e._zod.def.shape};for(const a in t){if(!(a in r.shape))throw new Error(`Unrecognized key: "${a}"`);t[a]&&delete o[a]}return r2(this,"shape",o),o},checks:[]});return fh(e,n)}function o5t(e,t){if(!wx(t))throw new Error("Invalid input to extend: expected a plain object");const r=e._zod.def.checks;if(r&&r.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");const o=n2(e._zod.def,{get shape(){const a={...e._zod.def.shape,...t};return r2(this,"shape",a),a},checks:[]});return fh(e,o)}function a5t(e,t){if(!wx(t))throw new Error("Invalid input to safeExtend: expected a plain object");const r={...e._zod.def,get shape(){const n={...e._zod.def.shape,...t};return r2(this,"shape",n),n},checks:e._zod.def.checks};return fh(e,r)}function i5t(e,t){const r=n2(e._zod.def,{get shape(){const n={...e._zod.def.shape,...t._zod.def.shape};return r2(this,"shape",n),n},get catchall(){return t._zod.def.catchall},checks:[]});return fh(e,r)}function s5t(e,t,r){const n=n2(t._zod.def,{get shape(){const o=t._zod.def.shape,a={...o};if(r)for(const i in r){if(!(i in o))throw new Error(`Unrecognized key: "${i}"`);r[i]&&(a[i]=e?new e({type:"optional",innerType:o[i]}):o[i])}else for(const i in o)a[i]=e?new e({type:"optional",innerType:o[i]}):o[i];return r2(this,"shape",a),a},checks:[]});return fh(t,n)}function l5t(e,t,r){const n=n2(t._zod.def,{get shape(){const o=t._zod.def.shape,a={...o};if(r)for(const i in r){if(!(i in a))throw new Error(`Unrecognized key: "${i}"`);r[i]&&(a[i]=new e({type:"nonoptional",innerType:o[i]}))}else for(const i in o)a[i]=new e({type:"nonoptional",innerType:o[i]});return r2(this,"shape",a),a},checks:[]});return fh(t,n)}function zm(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function L9e(e,t){return t.map(r=>{var n;return(n=r).path??(n.path=[]),r.path.unshift(e),r})}function R5(e){return typeof e=="string"?e:e?.message}function Vp(e,t,r){const n={...e,path:e.path??[]};if(!e.message){const o=R5(e.inst?._zod.def?.error?.(e))??R5(t?.error?.(e))??R5(r.customError?.(e))??R5(r.localeError?.(e))??"Invalid input";n.message=o}return delete n.inst,delete n.continue,t?.reportInput||delete n.input,n}function Yne(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Cx(...e){const[t,r,n]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:n}:{...t}}const E9e=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,uee,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},I9e=qe("$ZodError",E9e),R9e=qe("$ZodError",E9e,{Parent:Error});function c5t(e,t=r=>r.message){const r={},n=[];for(const o of e.issues)o.path.length>0?(r[o.path[0]]=r[o.path[0]]||[],r[o.path[0]].push(t(o))):n.push(t(o));return{formErrors:n,fieldErrors:r}}function u5t(e,t=r=>r.message){const r={_errors:[]},n=o=>{for(const a of o.issues)if(a.code==="invalid_union"&&a.errors.length)a.errors.map(i=>n({issues:i}));else if(a.code==="invalid_key")n({issues:a.issues});else if(a.code==="invalid_element")n({issues:a.issues});else if(a.path.length===0)r._errors.push(t(a));else{let i=r,s=0;for(;s<a.path.length;){const l=a.path[s];s===a.path.length-1?(i[l]=i[l]||{_errors:[]},i[l]._errors.push(t(a))):i[l]=i[l]||{_errors:[]},i=i[l],s++}}};return n(e),r}const Xne=e=>(t,r,n,o)=>{const a=n?Object.assign(n,{async:!1}):{async:!1},i=t._zod.run({value:r,issues:[]},a);if(i instanceof Promise)throw new Zm;if(i.issues.length){const s=new(o?.Err??e)(i.issues.map(l=>Vp(l,a,$p())));throw T9e(s,o?.callee),s}return i.value},Qne=e=>async(t,r,n,o)=>{const a=n?Object.assign(n,{async:!0}):{async:!0};let i=t._zod.run({value:r,issues:[]},a);if(i instanceof Promise&&(i=await i),i.issues.length){const s=new(o?.Err??e)(i.issues.map(l=>Vp(l,a,$p())));throw T9e(s,o?.callee),s}return i.value},GU=e=>(t,r,n)=>{const o=n?{...n,async:!1}:{async:!1},a=t._zod.run({value:r,issues:[]},o);if(a instanceof Promise)throw new Zm;return a.issues.length?{success:!1,error:new(e??I9e)(a.issues.map(i=>Vp(i,o,$p())))}:{success:!0,data:a.value}},d5t=GU(R9e),ZU=e=>async(t,r,n)=>{const o=n?Object.assign(n,{async:!0}):{async:!0};let a=t._zod.run({value:r,issues:[]},o);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(i=>Vp(i,o,$p())))}:{success:!0,data:a.value}},h5t=ZU(R9e),f5t=e=>(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Xne(e)(t,r,o)},p5t=e=>(t,r,n)=>Xne(e)(t,r,n),m5t=e=>async(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Qne(e)(t,r,o)},g5t=e=>async(t,r,n)=>Qne(e)(t,r,n),y5t=e=>(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return GU(e)(t,r,o)},b5t=e=>(t,r,n)=>GU(e)(t,r,n),x5t=e=>async(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return ZU(e)(t,r,o)},k5t=e=>async(t,r,n)=>ZU(e)(t,r,n),v5t=/^[cC][^\s-]{8,}$/,w5t=/^[0-9a-z]+$/,C5t=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,S5t=/^[0-9a-vA-V]{20}$/,M5t=/^[A-Za-z0-9]{27}$/,_5t=/^[a-zA-Z0-9_-]{21}$/,T5t=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,A5t=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Cfe=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,L5t=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,E5t="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function I5t(){return new RegExp(E5t,"u")}const R5t=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,z5t=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,D5t=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,O5t=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,B5t=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,z9e=/^[A-Za-z0-9_-]*$/,N5t=/^\+(?:[0-9]){6,14}[0-9]$/,D9e="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",j5t=new RegExp(`^${D9e}$`);function O9e(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function P5t(e){return new RegExp(`^${O9e(e)}$`)}function F5t(e){const t=O9e({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const n=`${t}(?:${r.join("|")})`;return new RegExp(`^${D9e}T(?:${n})$`)}const q5t=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},H5t=/^-?\d+$/,$5t=/^-?\d+(?:\.\d+)?/,V5t=/^[^A-Z]*$/,U5t=/^[^a-z]*$/,Bi=qe("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),B9e={number:"number",bigint:"bigint",object:"date"},N9e=qe("$ZodCheckLessThan",(e,t)=>{Bi.init(e,t);const r=B9e[typeof t.value];e._zod.onattach.push(n=>{const o=n._zod.bag,a=(t.inclusive?o.maximum:o.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<a&&(t.inclusive?o.maximum=t.value:o.exclusiveMaximum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:r,code:"too_big",maximum:t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),j9e=qe("$ZodCheckGreaterThan",(e,t)=>{Bi.init(e,t);const r=B9e[typeof t.value];e._zod.onattach.push(n=>{const o=n._zod.bag,a=(t.inclusive?o.minimum:o.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>a&&(t.inclusive?o.minimum=t.value:o.exclusiveMinimum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:r,code:"too_small",minimum:t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),W5t=qe("$ZodCheckMultipleOf",(e,t)=>{Bi.init(e,t),e._zod.onattach.push(r=>{var n;(n=r._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?r.value%t.value===BigInt(0):Y3t(r.value,t.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),G5t=qe("$ZodCheckNumberFormat",(e,t)=>{Bi.init(e,t),t.format=t.format||"float64";const r=t.format?.includes("int"),n=r?"int":"number",[o,a]=t5t[t.format];e._zod.onattach.push(i=>{const s=i._zod.bag;s.format=t.format,s.minimum=o,s.maximum=a,r&&(s.pattern=H5t)}),e._zod.check=i=>{const s=i.value;if(r){if(!Number.isInteger(s)){i.issues.push({expected:n,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?i.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,continue:!t.abort}):i.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,continue:!t.abort});return}}s<o&&i.issues.push({origin:"number",input:s,code:"too_small",minimum:o,inclusive:!0,inst:e,continue:!t.abort}),s>a&&i.issues.push({origin:"number",input:s,code:"too_big",maximum:a,inst:e})}}),Z5t=qe("$ZodCheckMaxLength",(e,t)=>{var r;Bi.init(e,t),(r=e._zod.def).when??(r.when=n=>{const o=n.value;return!Zne(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{const o=n._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<o&&(n._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{const o=n.value;if(o.length<=t.maximum)return;const i=Yne(o);n.issues.push({origin:i,code:"too_big",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),K5t=qe("$ZodCheckMinLength",(e,t)=>{var r;Bi.init(e,t),(r=e._zod.def).when??(r.when=n=>{const o=n.value;return!Zne(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{const o=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>o&&(n._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{const o=n.value;if(o.length>=t.minimum)return;const i=Yne(o);n.issues.push({origin:i,code:"too_small",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),Y5t=qe("$ZodCheckLengthEquals",(e,t)=>{var r;Bi.init(e,t),(r=e._zod.def).when??(r.when=n=>{const o=n.value;return!Zne(o)&&o.length!==void 0}),e._zod.onattach.push(n=>{const o=n._zod.bag;o.minimum=t.length,o.maximum=t.length,o.length=t.length}),e._zod.check=n=>{const o=n.value,a=o.length;if(a===t.length)return;const i=Yne(o),s=a>t.length;n.issues.push({origin:i,...s?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),KU=qe("$ZodCheckStringFormat",(e,t)=>{var r,n;Bi.init(e,t),e._zod.onattach.push(o=>{const a=o._zod.bag;a.format=t.format,t.pattern&&(a.patterns??(a.patterns=new Set),a.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=o=>{t.pattern.lastIndex=0,!t.pattern.test(o.value)&&o.issues.push({origin:"string",code:"invalid_format",format:t.format,input:o.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})}),X5t=qe("$ZodCheckRegex",(e,t)=>{KU.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Q5t=qe("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=V5t),KU.init(e,t)}),J5t=qe("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=U5t),KU.init(e,t)}),evt=qe("$ZodCheckIncludes",(e,t)=>{Bi.init(e,t);const r=Pg(t.includes),n=new RegExp(typeof t.position=="number"?`^.{${t.position}}${r}`:r);t.pattern=n,e._zod.onattach.push(o=>{const a=o._zod.bag;a.patterns??(a.patterns=new Set),a.patterns.add(n)}),e._zod.check=o=>{o.value.includes(t.includes,t.position)||o.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:o.value,inst:e,continue:!t.abort})}}),tvt=qe("$ZodCheckStartsWith",(e,t)=>{Bi.init(e,t);const r=new RegExp(`^${Pg(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{const o=n._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(r)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),rvt=qe("$ZodCheckEndsWith",(e,t)=>{Bi.init(e,t);const r=new RegExp(`.*${Pg(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{const o=n._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(r)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),nvt=qe("$ZodCheckOverwrite",(e,t)=>{Bi.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});class ovt{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const n=t.split(`
764
764
  `).filter(i=>i),o=Math.min(...n.map(i=>i.length-i.trimStart().length)),a=n.map(i=>i.slice(o)).map(i=>" ".repeat(this.indent*2)+i);for(const i of a)this.content.push(i)}compile(){const t=Function,r=this?.args,o=[...(this?.content??[""]).map(a=>` ${a}`)];return new t(...r,o.join(`
765
765
  `))}}const avt={major:4,minor:2,patch:1},So=qe("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=avt;const n=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&n.unshift(e);for(const o of n)for(const a of o._zod.onattach)a(e);if(n.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const o=(i,s,l)=>{let u=zm(i),d;for(const f of s){if(f._zod.def.when){if(!f._zod.def.when(i))continue}else if(u)continue;const p=i.issues.length,g=f._zod.check(i);if(g instanceof Promise&&l?.async===!1)throw new Zm;if(d||g instanceof Promise)d=(d??Promise.resolve()).then(async()=>{await g,i.issues.length!==p&&(u||(u=zm(i,p)))});else{if(i.issues.length===p)continue;u||(u=zm(i,p))}}return d?d.then(()=>i):i},a=(i,s,l)=>{if(zm(i))return i.aborted=!0,i;const u=o(s,n,l);if(u instanceof Promise){if(l.async===!1)throw new Zm;return u.then(d=>e._zod.parse(d,l))}return e._zod.parse(u,l)};e._zod.run=(i,s)=>{if(s.skipChecks)return e._zod.parse(i,s);if(s.direction==="backward"){const u=e._zod.parse({value:i.value,issues:[]},{...s,skipChecks:!0});return u instanceof Promise?u.then(d=>a(d,i,s)):a(u,i,s)}const l=e._zod.parse(i,s);if(l instanceof Promise){if(s.async===!1)throw new Zm;return l.then(u=>o(u,n,s))}return o(l,n,s)}}e["~standard"]={validate:o=>{try{const a=d5t(e,o);return a.success?{value:a.data}:{issues:a.error?.issues}}catch{return h5t(e,o).then(i=>i.success?{value:i.data}:{issues:i.error?.issues})}},vendor:"zod",version:1}}),Jne=qe("$ZodString",(e,t)=>{So.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??q5t(e._zod.bag),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),Un=qe("$ZodStringFormat",(e,t)=>{KU.init(e,t),Jne.init(e,t)}),ivt=qe("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=A5t),Un.init(e,t)}),svt=qe("$ZodUUID",(e,t)=>{if(t.version){const n={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(n===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=Cfe(n))}else t.pattern??(t.pattern=Cfe());Un.init(e,t)}),lvt=qe("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=L5t),Un.init(e,t)}),cvt=qe("$ZodURL",(e,t)=>{Un.init(e,t),e._zod.check=r=>{try{const n=r.value.trim(),o=new URL(n);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(o.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(o.protocol.endsWith(":")?o.protocol.slice(0,-1):o.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),t.normalize?r.value=o.href:r.value=n;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),uvt=qe("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=I5t()),Un.init(e,t)}),dvt=qe("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=_5t),Un.init(e,t)}),hvt=qe("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=v5t),Un.init(e,t)}),fvt=qe("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=w5t),Un.init(e,t)}),pvt=qe("$ZodULID",(e,t)=>{t.pattern??(t.pattern=C5t),Un.init(e,t)}),mvt=qe("$ZodXID",(e,t)=>{t.pattern??(t.pattern=S5t),Un.init(e,t)}),gvt=qe("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=M5t),Un.init(e,t)}),yvt=qe("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=F5t(t)),Un.init(e,t)}),bvt=qe("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=j5t),Un.init(e,t)}),xvt=qe("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=P5t(t)),Un.init(e,t)}),kvt=qe("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=T5t),Un.init(e,t)}),vvt=qe("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=R5t),Un.init(e,t),e._zod.bag.format="ipv4"}),wvt=qe("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=z5t),Un.init(e,t),e._zod.bag.format="ipv6",e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}}),Cvt=qe("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=D5t),Un.init(e,t)}),Svt=qe("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=O5t),Un.init(e,t),e._zod.check=r=>{const n=r.value.split("/");try{if(n.length!==2)throw new Error;const[o,a]=n;if(!a)throw new Error;const i=Number(a);if(`${i}`!==a)throw new Error;if(i<0||i>128)throw new Error;new URL(`http://[${o}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});function P9e(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const Mvt=qe("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=B5t),Un.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{P9e(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}});function _vt(e){if(!z9e.test(e))return!1;const t=e.replace(/[-_]/g,n=>n==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return P9e(r)}const Tvt=qe("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=z9e),Un.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{_vt(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),Avt=qe("$ZodE164",(e,t)=>{t.pattern??(t.pattern=N5t),Un.init(e,t)});function Lvt(e,t=null){try{const r=e.split(".");if(r.length!==3)return!1;const[n]=r;if(!n)return!1;const o=JSON.parse(atob(n));return!("typ"in o&&o?.typ!=="JWT"||!o.alg||t&&(!("alg"in o)||o.alg!==t))}catch{return!1}}const Evt=qe("$ZodJWT",(e,t)=>{Un.init(e,t),e._zod.check=r=>{Lvt(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),F9e=qe("$ZodNumber",(e,t)=>{So.init(e,t),e._zod.pattern=e._zod.bag.pattern??$5t,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}const o=r.value;if(typeof o=="number"&&!Number.isNaN(o)&&Number.isFinite(o))return r;const a=typeof o=="number"?Number.isNaN(o)?"NaN":Number.isFinite(o)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:o,inst:e,...a?{received:a}:{}}),r}}),Ivt=qe("$ZodNumberFormat",(e,t)=>{G5t.init(e,t),F9e.init(e,t)}),Rvt=qe("$ZodUnknown",(e,t)=>{So.init(e,t),e._zod.parse=r=>r}),zvt=qe("$ZodNever",(e,t)=>{So.init(e,t),e._zod.parse=(r,n)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)});function Sfe(e,t,r){e.issues.length&&t.issues.push(...L9e(r,e.issues)),t.value[r]=e.value}const Dvt=qe("$ZodArray",(e,t)=>{So.init(e,t),e._zod.parse=(r,n)=>{const o=r.value;if(!Array.isArray(o))return r.issues.push({expected:"array",code:"invalid_type",input:o,inst:e}),r;r.value=Array(o.length);const a=[];for(let i=0;i<o.length;i++){const s=o[i],l=t.element._zod.run({value:s,issues:[]},n);l instanceof Promise?a.push(l.then(u=>Sfe(u,r,i))):Sfe(l,r,i)}return a.length?Promise.all(a).then(()=>r):r}});function Z$(e,t,r,n){e.issues.length&&t.issues.push(...L9e(r,e.issues)),e.value===void 0?r in n&&(t.value[r]=void 0):t.value[r]=e.value}function q9e(e){const t=Object.keys(e.shape);for(const n of t)if(!e.shape?.[n]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${n}": expected a Zod schema`);const r=e5t(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function H9e(e,t,r,n,o,a){const i=[],s=o.keySet,l=o.catchall._zod,u=l.def.type;for(const d in t){if(s.has(d))continue;if(u==="never"){i.push(d);continue}const f=l.run({value:t[d],issues:[]},n);f instanceof Promise?e.push(f.then(p=>Z$(p,r,d,t))):Z$(f,r,d,t)}return i.length&&r.issues.push({code:"unrecognized_keys",keys:i,input:t,inst:a}),e.length?Promise.all(e).then(()=>r):r}const Ovt=qe("$ZodObject",(e,t)=>{if(So.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const s=t.shape;Object.defineProperty(t,"shape",{get:()=>{const l={...s};return Object.defineProperty(t,"shape",{value:l}),l}})}const n=Gne(()=>q9e(t));_n(e._zod,"propValues",()=>{const s=t.shape,l={};for(const u in s){const d=s[u]._zod;if(d.values){l[u]??(l[u]=new Set);for(const f of d.values)l[u].add(f)}}return l});const o=G$,a=t.catchall;let i;e._zod.parse=(s,l)=>{i??(i=n.value);const u=s.value;if(!o(u))return s.issues.push({expected:"object",code:"invalid_type",input:u,inst:e}),s;s.value={};const d=[],f=i.shape;for(const p of i.keys){const b=f[p]._zod.run({value:u[p],issues:[]},l);b instanceof Promise?d.push(b.then(v=>Z$(v,s,p,u))):Z$(b,s,p,u)}return a?H9e(d,u,s,l,n.value,e):d.length?Promise.all(d).then(()=>s):s}}),Bvt=qe("$ZodObjectJIT",(e,t)=>{Ovt.init(e,t);const r=e._zod.parse,n=Gne(()=>q9e(t)),o=p=>{const g=new ovt(["shape","payload","ctx"]),b=n.value,v=T=>{const A=wfe(T);return`shape[${A}]._zod.run({ value: input[${A}], issues: [] }, ctx)`};g.write("const input = payload.value;");const C=Object.create(null);let S=0;for(const T of b.keys)C[T]=`key_${S++}`;g.write("const newResult = {};");for(const T of b.keys){const A=C[T],R=wfe(T);g.write(`const ${A} = ${v(T)};`),g.write(`
766
766
  if (${A}.issues.length) {
@@ -785,7 +785,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
785
785
  …`:t:"{}"}catch{return"[Request details unavailable]"}}function yee(e,t){if(t>=6)return"[Nested value omitted]";if(typeof e=="string"&&e.length>1e3)return`${e.slice(0,1e3)}… [${e.length} characters]`;if(Array.isArray(e))return e.slice(0,20).map(n=>yee(n,t+1));if(!ti(e))return e;const r={};for(const[n,o]of Object.entries(e).slice(0,50))r[n]=/password|secret|token|authorization|api[-_]?key/i.test(n)?"[Redacted]":yee(o,t+1);return r}function $7t(e){if(!ti(e))return"{}";const t=Oo(e,"contents");if(!Array.isArray(t))return"{}";const r=t.slice(0,20).map(n=>{if(!ti(n))return{type:"invalid"};if(Oo(n,"type")==="resource_link")return{type:"resource_link",name:ts(n,"name"),uri:ts(n,"uri"),mimeType:ts(n,"mimeType")};const o=Oo(n,"resource");if(!ti(o))return{type:Oo(n,"type")};const a=Oo(o,"text"),i=Oo(o,"blob");return{type:"resource",name:ts(o,"name"),uri:ts(o,"uri"),mimeType:ts(o,"mimeType"),size:typeof a=="string"?`${new TextEncoder().encode(a).byteLength} bytes`:typeof i=="string"?`approximately ${Math.floor(i.length*3/4)} bytes`:void 0}});return JSON.stringify({files:r},null,2)}function V7t(e){const t=U7t(e);for(const r of t){if(r.kind==="link"){Yfe(r.uri,r.filename);continue}const n=new Blob([r.text!==void 0?r.text:W7t(r.blob??"")],{type:r.mimeType}),o=URL.createObjectURL(n);Yfe(o,r.filename),window.setTimeout(()=>URL.revokeObjectURL(o),0)}}function U7t(e){if(!ti(e))throw new Error("Download params must be an object");if(Oo(e,"isError")===!0)throw new Error("The MCP App reported that the download failed");const t=Oo(e,"contents");if(!Array.isArray(t)||t.length===0)throw new Error("Download contents must be a non-empty array");return t.map((r,n)=>{if(!ti(r))throw new Error("Download content is invalid");const o=Oo(r,"type");if(o==="resource_link"){const d=ts(r,"uri"),f=ts(r,"name");if(!d||!f||!Z7t(d))throw new Error("Download link must use HTTP or HTTPS and include a name");return{kind:"link",filename:Kfe(f,n),uri:d}}if(o!=="resource")throw new Error("Download content type is unsupported");const a=Oo(r,"resource");if(!ti(a))throw new Error("Embedded download is invalid");const i=ts(a,"uri");if(!i)throw new Error("Embedded download URI is required");const s=Oo(a,"text"),l=Oo(a,"blob");if(typeof s!="string"&&typeof l!="string")throw new Error("Embedded download must include text or base64 data");const u={kind:"embedded",filename:Kfe(ts(a,"name")??G7t(i),n),mimeType:ts(a,"mimeType")??"application/octet-stream"};return typeof s=="string"?{...u,text:s}:{...u,blob:l}})}function W7t(e){const t=window.atob(e);return Uint8Array.from(t,r=>r.charCodeAt(0))}function G7t(e){try{const r=new URL(e).pathname.split("/").filter(Boolean).at(-1);return r?decodeURIComponent(r):"download"}catch{return e.split("/").filter(Boolean).at(-1)??"download"}}function Kfe(e,t){return Array.from(e,n=>n.charCodeAt(0)<=31||/[\\/:*?"<>|]/.test(n)?"_":n).join("").trim().slice(0,255)||`download-${t+1}`}function Z7t(e){try{const t=new URL(e);return t.protocol==="http:"||t.protocol==="https:"}catch{return!1}}function Yfe(e,t){const r=document.createElement("a");r.href=e,r.download=t,r.rel="noopener noreferrer",r.hidden=!0,document.body.append(r),r.click(),r.remove()}const K7t={type:"object",properties:{}};function Ba(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function oi(e){return Ba(e)?e:void 0}function Y7t(e){const t=oi(e);return t&&Object.keys(t).length?t:void 0}function Sa(e){return typeof e=="string"?e:void 0}function J$(e){return typeof e=="boolean"?e:void 0}function Dd(e){if(typeof e=="string"||Ba(e))return e}function kH(e){if(Ba(e))return typeof e.type=="string"&&typeof e.value=="string"?e:void 0}function N5(e){if(!Array.isArray(e))return;const t=e.filter(r=>typeof r=="string");return t.length?t:void 0}function jb(e,t){return{toolsetId:e.toolsetId,serverName:e.serverName,toolName:e.toolName,toolCallId:e.toolCallId,resourceUri:e.resourceUri,title:typeof e.title=="string"?e.title:void 0,messageId:t?.messageId,token:t?.appInstanceToken??e.appInstanceToken}}function aoe(e){return e.replaceAll("&","&amp;").replaceAll('"',"&quot;").replaceAll("<","&lt;").replaceAll(">","&gt;")}function j5(e){return e?.map(t=>t.trim()).filter(t=>t&&!/[\s;'"<>]/.test(t)).join(" ")??""}function X7t(e){const t=j5(e?.resourceDomains),r=j5(e?.connectDomains)||"'none'",n=j5(e?.frameDomains)||"'none'",o=j5(e?.baseUriDomains)||"'self'";return["default-src 'none'",`script-src 'unsafe-inline' ${t}`.trim(),`style-src 'unsafe-inline' ${t}`.trim(),`img-src data: blob: ${t}`.trim(),`media-src data: blob: ${t}`.trim(),`font-src data: ${t}`.trim(),`connect-src ${r}`,`form-action ${r}`,`frame-src ${n}`,"object-src 'none'",`base-uri ${o}`].join("; ")}function sSe(e,t){return/<head[^>]*>/i.test(e)?e.replace(/<head([^>]*)>/i,`<head$1>${t}`):`<!doctype html><html><head>${t}</head><body>${e}</body></html>`}function Q7t(e,t){const r=`<meta http-equiv="Content-Security-Policy" content="${aoe(X7t(t))}">`;return sSe(e,r)}function J7t(e){if(typeof e.text=="string")return e.text;if(typeof e.blob!="string")return null;try{const t=window.atob(e.blob),r=Array.from(t).map(n=>`%${n.charCodeAt(0).toString(16).padStart(2,"0")}`).join("");return decodeURIComponent(r)}catch{try{return window.atob(e.blob)}catch{return null}}}function eCt(e){const t=oi(e);if(!t)return;const r={},n=N5(t.connectDomains),o=N5(t.resourceDomains),a=N5(t.frameDomains),i=N5(t.baseUriDomains);return n&&(r.connectDomains=n),o&&(r.resourceDomains=o),a&&(r.frameDomains=a),i&&(r.baseUriDomains=i),Object.keys(r).length?r:void 0}function P5(e){return e===!0||Ba(e)?e:void 0}function tCt(e){const t=oi(e);if(!t)return;const r={},n=P5(t.camera),o=P5(t.microphone),a=P5(t.geolocation),i=P5(t.clipboardWrite);return n!==void 0&&(r.camera=n),o!==void 0&&(r.microphone=o),a!==void 0&&(r.geolocation=a),i!==void 0&&(r.clipboardWrite=i),Object.keys(r).length?r:void 0}function rCt(e){const t=typeof e=="string"?(()=>{try{return JSON.parse(e)}catch{return null}})():e;return!Ba(t)||typeof t.method!="string"?null:t}function nCt(e,t){return{jsonrpc:"2.0",id:e??null,result:t}}function Ws(e,t,r=-32e3,n){return{jsonrpc:"2.0",id:e??null,error:{code:r,message:t,...n===void 0?{}:{data:n}}}}function Cd(e){return e instanceof Error?e.message:String(e)}function xX(e){if(!e)return null;const t=e.getBoundingClientRect();return{width:t.width,height:t.height}}function bee(e){return e?.trim()||navigator.language||"en-US"}function lSe(e){return e.split(/[-_]/)[0]?.toLowerCase()||e.toLowerCase()}function cSe(e){const t=lSe(e);return["ar","fa","he","ur"].includes(t)?"rtl":"ltr"}function Xfe(e,t,r){const n=aoe(r),o=new RegExp(`\\s${t}=("[^"]*"|'[^']*'|[^\\s>]*)`,"i");return o.test(e)?e.replace(o,` ${t}="${n}"`):`${e} ${t}="${n}"`}function oCt(e,t){const r=bee(t),n=cSe(r);return/<html[\s>]/i.test(e)?e.replace(/<html([^>]*)>/i,(o,a)=>{const i=Xfe(a,"lang",r);return`<html${Xfe(i,"dir",n)}>`}):`<!doctype html><html lang="${aoe(r)}" dir="${n}"><head></head><body>${e}</body></html>`}const aCt=[["--background","--mcp-app-color-background","oklch(1 0 0)"],["--foreground","--mcp-app-color-foreground","oklch(0.145 0 0)"],["--card","--mcp-app-color-card","oklch(1 0 0)"],["--card-foreground","--mcp-app-color-card-foreground","oklch(0.145 0 0)"],["--popover","--mcp-app-color-popover","oklch(1 0 0)"],["--popover-foreground","--mcp-app-color-popover-foreground","oklch(0.145 0 0)"],["--primary","--mcp-app-color-primary","oklch(0.205 0 0)"],["--primary-foreground","--mcp-app-color-primary-foreground","oklch(0.985 0 0)"],["--secondary","--mcp-app-color-secondary","oklch(0.97 0 0)"],["--secondary-foreground","--mcp-app-color-secondary-foreground","oklch(0.205 0 0)"],["--muted","--mcp-app-color-muted","oklch(0.97 0 0)"],["--muted-foreground","--mcp-app-color-muted-foreground","oklch(0.556 0 0)"],["--accent","--mcp-app-color-accent","oklch(0.97 0 0)"],["--accent-foreground","--mcp-app-color-accent-foreground","oklch(0.205 0 0)"],["--destructive","--mcp-app-color-destructive","oklch(0.577 0.245 27.325)"],["--destructive-foreground","--mcp-app-color-destructive-foreground","oklch(0.985 0 0)"],["--border","--mcp-app-color-border","oklch(0.922 0 0)"],["--input","--mcp-app-color-input","oklch(0.922 0 0)"],["--ring","--mcp-app-color-ring","oklch(0.708 0 0)"],["--chart-1","--mcp-app-color-chart-1","oklch(0.87 0 0)"],["--chart-2","--mcp-app-color-chart-2","oklch(0.556 0 0)"],["--chart-3","--mcp-app-color-chart-3","oklch(0.439 0 0)"],["--chart-4","--mcp-app-color-chart-4","oklch(0.371 0 0)"],["--chart-5","--mcp-app-color-chart-5","oklch(0.269 0 0)"]];function z4(e){return e.replace(/[;{}<>]/g,"").trim()}function iCt(e){const t=z4(e);return t?/^(#|rgb\(|rgba\(|hsl\(|hsla\(|oklch\(|oklab\(|color\(|var\()/i.test(t)?t:/^-?\d/.test(t)&&/\s/.test(t)?`hsl(${t})`:t:""}function Qfe(){return document.documentElement.classList.contains("dark")?"dark":"light"}function kX(e,t){const r=[e,e===document.documentElement?null:document.documentElement].filter(Boolean);for(const n of r){const o=window.getComputedStyle(n).getPropertyValue(t).trim();if(o)return o}return""}function Jfe(e){const t=e??document.documentElement,r=window.getComputedStyle(t),n={"--mcp-app-color-scheme":Qfe(),"--mcp-app-font-sans":z4(r.fontFamily||"ui-sans-serif, system-ui, sans-serif"),"--mcp-app-font-mono":z4(kX(t,"--font-mono")||"ui-monospace, SFMono-Regular, Menlo, monospace"),"--mcp-app-radius":z4(kX(t,"--radius")||"0.5rem")};for(const[o,a,i]of aCt)n[a]=iCt(kX(t,o))||i;return{mode:Qfe(),cssVariables:n}}function sCt(e,t){const r=Object.entries(t.cssVariables).map(([o,a])=>`${o}: ${z4(a)};`).join(""),n=`<style id="mcp-app-host-theme">:root{color-scheme:${t.mode};${r}}</style>`;return sSe(e,n)}function lCt(e){const t=oi(e);return!t||t.type!==void 0&&t.type!=="object"?K7t:{...t,type:"object",properties:oi(t.properties)??{},...Array.isArray(t.required)&&t.required.every(r=>typeof r=="string")?{required:t.required}:{}}}function uSe(e,t,r={}){const n=oi(e)??{},o=oi(n.tool)??{},a=Sa(n.name),i=Sa(o.name)??Sa(n.originalName)??t.toolName,s=Dd(o.title)??Dd(n.title)??r.title??t.title??t.toolName,l=Dd(o.description)??Dd(n.description)??r.description??t.description,u=kH(o.icon)??kH(n.icon)??r.icon??t.icon;return{...n,id:t.toolCallId,name:a??t.toolName,originalName:i,title:s,...l?{description:l}:{},...u?{icon:u}:{},serverName:Sa(n.serverName)??t.serverName,toolCallId:Sa(n.toolCallId)??t.toolCallId,toolsetId:Sa(n.toolsetId)??t.toolsetId,tool:{...o,name:i,title:Dd(o.title)??s,inputSchema:lCt(o.inputSchema??n.inputSchema),...l?{description:Dd(o.description)??l}:{},...u?{icon:kH(o.icon)??u}:{}}}}function F5(e){return e===!0||Ba(e)}function cCt(e){if(!e)return;const t=[];return F5(e.camera)&&t.push("camera *"),F5(e.microphone)&&t.push("microphone *"),F5(e.geolocation)&&t.push("geolocation *"),F5(e.clipboardWrite)&&t.push("clipboard-write *"),t.length?t.join("; "):void 0}function xee(){return["allow-forms","allow-modals","allow-scripts"].join(" ")}function uCt(e){return e==="localhost"||e==="127.0.0.1"||e==="[::1]"}function dCt(e){const t=e?.trim().toLowerCase().replace(/\.$/,"");if(!t||/[/:?#@]/.test(t))return null;try{const r=new URL(`https://${t}`);return r.hostname===t&&!r.port?t:null}catch{return null}}function hCt(e,t){return!!t?.some(r=>{const n=r.trim().toLowerCase().replace(/\.$/,"");if(n.startsWith("*.")){const o=n.slice(2);return!!o&&e!==o&&e.endsWith(`.${o}`)}return e===n})}function fCt(e,t,r=window.location.href){const n=e?.sandboxProxyUrl?.trim();if(!n)return null;try{const o=new URL(r).origin,a=new URL(n,r);if(a.protocol!=="https:"&&!(a.protocol==="http:"&&uCt(a.hostname)))return null;const i=dCt(t),s=!!(i&&(i===a.hostname.toLowerCase()||hCt(i,e?.allowedDomains)));if(i&&s&&(a.hostname=i,a.port=""),a.origin===o)return null;const l=new URLSearchParams(a.hash.slice(1));return l.set("parentOrigin",o),a.hash=l.toString(),{url:a.toString(),origin:a.origin,dedicatedOrigin:s}}catch{return null}}function pCt(e){return e?`${xee()} allow-same-origin`:xee()}function eV(e){if(typeof e=="string")return e;try{return JSON.stringify(e??null)}catch{return String(e)}}function epe(e){return{type:"text",text:e}}function mCt(e){return Array.isArray(e)?e.filter(t=>Ba(t)&&typeof t.type=="string"):[]}function tpe(e){const t=oi(e._meta);if(t)return t;const r=Object.entries(e).filter(([n])=>n!=="structuredContent"&&n!=="isError");return r.length?Object.fromEntries(r):void 0}function dSe(e){return Ba(e)?{...oi(e.structuredContent)?{structuredContent:oi(e.structuredContent)}:{},...J$(e.isError)!==void 0?{isError:J$(e.isError)}:{},...tpe(e)?{_meta:tpe(e)}:{}}:Array.isArray(e)?e.reduce((t,r)=>{const n=dSe(r);return{...t,...n,_meta:t._meta??n._meta,structuredContent:t.structuredContent??n.structuredContent,isError:t.isError??n.isError}},{}):{}}function hSe(e){if(e===void 0)return{content:[]};if(Ba(e)){if(e.toolResult!==void 0&&!Array.isArray(e.content))return hSe(e.toolResult);const t=mCt(e.content),r={content:t.length?t:[]},n=oi(e.structuredContent),o=J$(e.isError),a=oi(e._meta);return n&&(r.structuredContent=n),o!==void 0&&(r.isError=o),a&&(r._meta=a),r}if(Array.isArray(e)&&e.length>=2){const[t,r]=e,n=dSe(r);return{content:[epe(typeof t=="string"?t:eV(t))],...n}}return{content:[epe(eV(e))]}}function gCt(e,t){const r=oi(e);if(!r)throw new Error("MCP App resource response must be an object");const n=J7t(r);if(!n)throw new Error("MCP App resource did not include HTML content");const o={title:Dd(r.title),description:Dd(r.description),icon:kH(r.icon)},a=Y7t(r.toolInput)??t.toolInput??oi(r.toolInput)??{},i=r.toolResult??t.toolResult;return{uri:Sa(r.uri),mimeType:Sa(r.mimeType),html:n,appInstanceToken:Sa(r.appInstanceToken),resourceUri:Sa(r.resourceUri),title:o.title,description:o.description,icon:o.icon,csp:eCt(r.csp),permissions:tCt(r.permissions),domain:Sa(r.domain),prefersBorder:J$(r.prefersBorder),toolInfo:uSe(r.toolInfo,t,o),toolInput:a,hasToolResult:i!==void 0,toolResult:hSe(i),rawToolResult:i}}function yCt(e){try{const t=new URL(e);return t.protocol==="http:"||t.protocol==="https:"}catch{return!1}}const bCt=25*1024*1024;function rpe(e,t){const r=typeof e=="string"?e.trim():t;return r&&/^[a-z0-9][a-z0-9!#$&^_.+-]*\/[a-z0-9][a-z0-9!#$&^_.+-]*$/i.test(r)?r.toLowerCase():null}function npe(e){if(typeof e!="string")return null;const t=e.replace(/\s/g,"");return!t||t.length%4!==0||!/^[A-Za-z0-9+/]*={0,2}$/.test(t)?null:t}function ope(e){const t=e.endsWith("==")?2:e.endsWith("=")?1:0;return e.length/4*3-t}function ape(e,t,r){return{name:r,originalName:r,mimeType:t,fileUrl:`data:${t};base64,${e}`}}function xCt(e){const t={uri:Sa(e.uri),mimeType:Sa(e.mimeType)};return`[Resource ${eV(t)}]`}function kCt(e){const t={uri:Sa(e.uri),name:Sa(e.name),description:Sa(e.description),mimeType:Sa(e.mimeType),size:typeof e.size=="number"?e.size:void 0};return`[Resource link ${eV(t)}]`}function vCt(e){if(!Array.isArray(e))throw new Error("ui/message content must be an array");const t=[],r=[];let n=0;if(e.forEach((o,a)=>{if(!Ba(o)||typeof o.type!="string")throw new Error(`ui/message content block ${a+1} is invalid`);if(o.type==="text"){if(typeof o.text!="string")throw new Error(`ui/message text block ${a+1} is invalid`);o.text.length&&t.push(o.text);return}if(o.type==="image"||o.type==="audio"){const i=rpe(o.mimeType),s=npe(o.data);if(!i||!s||!i.startsWith(`${o.type}/`))throw new Error(`ui/message ${o.type} block ${a+1} is invalid`);n+=ope(s),r.push(ape(s,i,`mcp-app-${o.type}-${a+1}`));return}if(o.type==="resource"){const i=oi(o.resource);if(!i||typeof i.uri!="string")throw new Error(`ui/message resource block ${a+1} is invalid`);const s=xCt(i);if(typeof i.text=="string"){t.push(`${s}
786
786
  ${i.text}`);return}const l=npe(i.blob),u=rpe(i.mimeType,"application/octet-stream");if(!l||!u)throw new Error(`ui/message resource block ${a+1} is invalid`);n+=ope(l),t.push(s),r.push(ape(l,u,`mcp-app-resource-${a+1}`));return}if(o.type==="resource_link"&&typeof o.uri=="string"){t.push(kCt(o));return}throw new Error(`ui/message content block ${a+1} uses an unsupported type`)}),n>bCt)throw new Error("ui/message binary content exceeds the 25 MiB limit");if(!t.length&&!r.length)throw new Error("ui/message content is empty");return{input:t.join(`
787
787
 
788
- `),files:r}}function wCt(e){return Ba(e)&&e.type==="McpApp"&&typeof e.appInstanceId=="string"&&typeof e.resourceUri=="string"}function CCt({data:e,messageId:t,className:r,mcpApps:n}){const{i18n:o}=Rt(),{client:a,isLoading:i,submit:s}=Nx(),l=w.useRef(null),u=w.useRef(null),d=w.useRef(null),f=w.useRef(!1),p=w.useRef(!1),g=w.useRef(null),b=w.useRef(null),v=w.useRef(null),C=w.useRef(e.appInstanceToken),S=w.useRef(0),M=w.useRef(!1),T=w.useRef(e.appInstanceId),[A,R]=w.useState(null),[I,L]=w.useState(e.appInstanceToken),[N,V]=w.useState(null),[P,G]=w.useState(420),[Q,re]=w.useState("inline"),[K,Z]=w.useState(null),[z,O]=w.useState(null),[D,$]=w.useState(null),[q,U]=w.useState(null),[oe,W]=w.useState(!0),[he,we]=w.useState(!1),ve=w.useMemo(()=>fCt(n,A?.domain??e.domain),[e.domain,n,A?.domain]);w.useEffect(()=>{C.current=I},[I]);const fe=w.useCallback(nt=>{l.current=nt,nt?.contentWindow&&(u.current=nt.contentWindow)},[]),Le=w.useCallback(nt=>{l.current?.contentWindow?.postMessage(nt,ve?.origin??"*")},[ve?.origin]),Oe=w.useCallback(async nt=>a.mcp.apps.rpc(e.appInstanceId,{jsonrpc:"2.0",id:nt.id??null,method:nt.method,params:nt.params},jb(e,{appInstanceToken:I,messageId:t})),[a,e,t,I]),Te=w.useCallback(()=>{b.current=null,v.current=null,Z(null),O(null),$(null)},[]),rt=w.useCallback((nt,Xe)=>S.current!==nt&&T.current===Xe,[]),dt=w.useCallback((nt,Xe)=>{const se=F7t(Xe,nt);if(se){if(b.current){Le(Ws(nt.id,"Another MCP App approval request is already pending",-32004));return}b.current=se,Z(se),$(null);return}const be=P7t(Xe);if(nt.method==="ui/request-display-mode"&&be&&re(be),nt.method==="ui/download-file"&&bX(Xe))try{V7t(nt.params)}catch(je){Le(Ws(nt.id,Cd(je),-32005));return}Le(Xe)},[Le]),Wt=w.useCallback(async nt=>{try{dt(nt,await Oe(nt))}catch(Xe){Le(Ws(nt.id,Cd(Xe)))}},[Oe,Le,dt]),zt=w.useCallback(async nt=>{const Xe=b.current;if(!Xe||v.current)return;if(Xe.expiresAt<=Date.now()){Te(),Le(Ws(Xe.request.id,"The MCP App approval request expired",-32003));return}v.current=nt,O(nt),$(null);const se=jb(e,{appInstanceToken:I,messageId:t});try{if(nt==="reject"){await a.mcp.apps.reject(e.appInstanceId,Xe.approvalId,se),Te(),Le(Ws(Xe.request.id,"The user rejected the MCP App action",-32002,{approvalId:Xe.approvalId,rejected:!0}));return}await a.mcp.apps.approve(e.appInstanceId,Xe.approvalId,se);const be=q7t(Xe.request,Xe.approvalId),je=await Oe(be);Te(),dt(be,je)}catch(be){v.current=null,O(null),$(Cd(be))}},[Oe,Te,a,e,t,Le,dt,I]),Pt=w.useCallback(()=>{!f.current||p.current||!A||(p.current=!0,Le({jsonrpc:"2.0",method:"ui/notifications/tool-input",params:{arguments:A.toolInput}}),A.hasToolResult&&Le({jsonrpc:"2.0",method:"ui/notifications/tool-result",params:{...A.toolResult,toolCallId:e.toolCallId,toolName:e.toolName,result:A.rawToolResult}}))},[e.toolCallId,e.toolName,Le,A]);w.useEffect(()=>{const nt=new AbortController;return f.current=!1,p.current=!1,b.current=null,v.current=null,L(e.appInstanceToken),C.current=e.appInstanceToken,M.current=!1,we(!1),re("inline"),Z(null),O(null),$(null),W(!0),U(null),R(null),V(null),(async()=>{try{const Xe=await a.mcp.apps.getResource(e.appInstanceId,jb(e,{messageId:t}),{signal:nt.signal}),se=gCt(Xe,e);R(se);const be=se.appInstanceToken??e.appInstanceToken;C.current=be,L(be);const je=bee(o.language);V(sCt(Q7t(oCt(se.html,je),se.csp??e.csp),Jfe(d.current)))}catch(Xe){nt.signal.aborted||U(Cd(Xe))}finally{nt.signal.aborted||W(!1)}})(),()=>{nt.abort()}},[a,e,e.appInstanceId,e.appInstanceToken,e.csp,o.language,t]),w.useEffect(()=>{const nt=++S.current;return T.current=e.appInstanceId,()=>{const Xe=u.current,se=ve?.origin??"*",be=jb(e,{appInstanceToken:C.current,messageId:t}),je=b.current;queueMicrotask(()=>{if(!rt(nt,e.appInstanceId)&&!M.current){M.current=!0;try{Xe?.postMessage({jsonrpc:"2.0",id:`xpert-teardown-${e.appInstanceId}`,method:"ui/resource-teardown",params:{reason:"host-unmount"}},se)}catch{}(async()=>(je&&await a.mcp.apps.reject(e.appInstanceId,je.approvalId,be).catch(()=>{}),await a.mcp.apps.teardown(e.appInstanceId,be).catch(()=>{})))()}})}},[a,e,e.appInstanceId,rt,t,ve?.origin]),w.useEffect(()=>{if(!K)return;const nt=K.expiresAt-Date.now();if(nt<=0){Te(),Le(Ws(K.request.id,"The MCP App approval request expired",-32003));return}const Xe=window.setTimeout(()=>{b.current?.approvalId===K.approvalId&&(Te(),Le(Ws(K.request.id,"The MCP App approval request expired",-32003)))},nt);return()=>window.clearTimeout(Xe)},[Te,K,Le]),w.useEffect(()=>{Pt()},[Pt]),w.useEffect(()=>{f.current&&Le({jsonrpc:"2.0",method:"ui/notifications/host-context-changed",params:{displayMode:Q,containerDimensions:xX(d.current)}})},[Q,P,Le]),w.useEffect(()=>{const nt=async Xe=>{if(Xe.source!==l.current?.contentWindow||ve&&Xe.origin!==ve.origin)return;const se=rCt(Xe.data);if(se?.method){if(se.method==="ui/notifications/sandbox-proxy-ready"&&ve&&N){const be=A?.permissions??e.permissions,je=A?.csp??e.csp;Le({jsonrpc:"2.0",method:"ui/notifications/sandbox-resource-ready",params:{html:N,sandbox:pCt(ve.dedicatedOrigin),...je?{csp:je}:{},...be?{permissions:be}:{}}});return}if(se.method==="ui/notifications/initialized"){f.current=!0,Pt();return}if(se.method==="ui/notifications/size-changed"){const be=Ba(se.params)&&typeof se.params.height=="number"?se.params.height:null;be!==null&&G(Math.min(900,Math.max(240,Math.round(be))));return}if(se.method==="ui/notifications/request-teardown"){if(M.current)return;M.current=!0,Le({jsonrpc:"2.0",id:`xpert-teardown-${e.appInstanceId}`,method:"ui/resource-teardown",params:{reason:"app-requested"}});const be=jb(e,{appInstanceToken:C.current,messageId:t}),je=b.current;try{je&&await a.mcp.apps.reject(e.appInstanceId,je.approvalId,be),await a.mcp.apps.teardown(e.appInstanceId,be),Te(),we(!0)}catch(lt){M.current=!1,U(Cd(lt))}return}if(se.method==="ui/initialize"){f.current=!0;const be=A?.permissions??e.permissions,je=A?.csp??e.csp,lt=A?.toolInfo??uSe(void 0,e),Ke=Jfe(d.current),qt=bee(o.language),Pr=lSe(qt),Xt=cSe(qt);Le(nCt(se.id,{protocolVersion:"2026-01-26",hostInfo:{name:"xpert-chatkit",version:"1.0.0",title:"Xpert ChatKit"},hostCapabilities:{serverTools:{},serverResources:{},openLinks:{},logging:{},message:{text:{},image:{},audio:{},resource:{},resourceLink:{}},updateModelContext:{text:{},structuredContent:{}},sandbox:{...be?{permissions:be}:{},...je?{csp:je}:{}},downloadFile:{}},hostContext:{toolInfo:lt,theme:Ke.mode,styles:{variables:Ke.cssVariables},themeCssVariables:Ke.cssVariables,locale:qt,language:Pr,direction:Xt,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,displayMode:Q,availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:xX(d.current),userAgent:"xpert-chatkit",platform:"web",deviceCapabilities:{touch:navigator.maxTouchPoints>0,hover:typeof window.matchMedia=="function"?window.matchMedia("(hover: hover)").matches:!1}},capabilities:{displayModes:["inline","fullscreen","pip"],serverTools:!0,serverResources:!0,openLinks:!0},context:{toolInfo:lt,theme:Ke.mode,themeCssVariables:Ke.cssVariables,locale:qt,language:Pr,direction:Xt,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,displayMode:Q,availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:xX(d.current),userAgent:navigator.userAgent,platform:navigator.platform}})),Pt();return}if(se.method==="ui/open-link"){const be=Ba(se.params)&&typeof se.params.url=="string"?se.params.url:Ba(se.params)&&typeof se.params.href=="string"?se.params.href:null;if(!be||!yCt(be)){se.id!==void 0&&Le(Ws(se.id,"Invalid URL"));return}try{const je=await Oe({...se,params:{url:be}});bX(je)&&window.open(be,"_blank","noopener,noreferrer"),Le(je)}catch(je){Le(Ws(se.id,Cd(je)))}return}if(se.method==="ui/update-model-context"){try{const be=await Oe(se);bX(be)&&(g.current=se.params),Le(be)}catch(be){Le(Ws(se.id,Cd(be)))}return}if(se.method==="ui/message"){try{if(!Ba(se.params)||se.params.role!=="user"||!Array.isArray(se.params.content))throw new Error('ui/message params must include role "user" and content blocks');const be=await Oe(se);if(Ba(be)&&be.error){Le(be);return}const je=vCt(se.params.content);await s({input:{input:je.input,...je.files.length?{files:je.files}:{}}},{...i?{followUpMode:"queue"}:{},context:{mcpApp:{appInstanceId:e.appInstanceId,resourceUri:e.resourceUri,toolName:e.toolName,toolCallId:e.toolCallId,modelContext:g.current}}}),Le(be)}catch(be){Le(Ws(se.id,Cd(be)))}return}se.id===void 0&&se.method.startsWith("ui/")||await Wt(se)}};return window.addEventListener("message",nt),()=>{window.removeEventListener("message",nt)}},[Oe,Te,a,e,Wt,Q,o.language,t,Le,A?.csp,A?.permissions,A?.toolInfo,ve,Pt,N,i,s]);const zr=A?.permissions??e.permissions,pr=w.useMemo(()=>cCt(zr),[zr]),pt=ve?"allow-scripts allow-same-origin":xee(),it=A?.prefersBorder??e.prefersBorder??!0,Dr=vo(A?.title??e.title,o.language)??e.toolName,cn=vo(A?.description??e.description,o.language),$r=A?.icon??e.icon,yr=Q!=="inline";return he?null:y.jsxs(y.Fragment,{children:[Q==="fullscreen"?y.jsx("div",{"aria-hidden":"true",className:"fixed inset-0 z-[79] bg-background/80 backdrop-blur-sm"}):null,y.jsxs("div",{ref:d,"data-display-mode":Q,className:ie("relative flex flex-col overflow-hidden rounded-lg border bg-background shadow-sm",Q==="fullscreen"&&"fixed inset-4 z-[80] shadow-2xl",Q==="pip"&&"fixed right-4 bottom-4 z-[80] h-[min(640px,calc(100vh-2rem))] w-[min(480px,calc(100vw-2rem))] shadow-2xl",!it&&"border-transparent shadow-none",r),children:[y.jsxs("div",{className:"flex min-h-10 items-center justify-between gap-3 border-b px-3 py-2",children:[y.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[$r?y.jsx(vg,{icon:$r,size:18,className:"shrink-0",decorative:!0}):null,y.jsxs("div",{className:"min-w-0",children:[y.jsx("div",{className:"truncate text-sm font-medium",children:Dr}),y.jsx("div",{className:"truncate text-[11px] text-muted-foreground",children:cn??e.resourceUri})]})]}),y.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[Q!=="fullscreen"?y.jsx(Zn,{type:"button",variant:"ghost",size:"icon-xs",title:o.t("message.mcpApp.fullscreen"),"aria-label":o.t("message.mcpApp.fullscreen"),onClick:()=>re("fullscreen"),children:y.jsx(ome,{})}):null,Q!=="pip"?y.jsx(Zn,{type:"button",variant:"ghost",size:"icon-xs",title:o.t("message.mcpApp.pictureInPicture"),"aria-label":o.t("message.mcpApp.pictureInPicture"),onClick:()=>re("pip"),children:y.jsx(JRe,{})}):null,yr?y.jsx(Zn,{type:"button",variant:"ghost",size:"icon-xs",title:o.t("message.mcpApp.returnInline"),"aria-label":o.t("message.mcpApp.returnInline"),onClick:()=>re("inline"),children:y.jsx(sme,{})}):null,y.jsx(Ag,{variant:"secondary",className:"ml-1 rounded-md",children:"MCP App"})]})]}),K?y.jsx("div",{role:"alertdialog","aria-modal":"true","aria-labelledby":`mcp-app-approval-${K.approvalId}`,className:"absolute inset-0 z-20 flex items-center justify-center bg-background/90 p-4 backdrop-blur-sm",children:y.jsxs("div",{className:"flex max-h-full w-full max-w-lg flex-col gap-4 overflow-hidden rounded-lg border bg-background p-4 shadow-xl",children:[y.jsxs("div",{className:"flex items-start gap-3",children:[y.jsx("div",{className:"rounded-full bg-destructive/10 p-2 text-destructive",children:y.jsx(pze,{className:"size-5"})}),y.jsxs("div",{className:"min-w-0 flex-1",children:[y.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[y.jsx("h3",{id:`mcp-app-approval-${K.approvalId}`,className:"text-sm font-semibold",children:o.t("message.mcpApp.approvalTitle")}),y.jsx(Ag,{variant:"outline",className:"border-destructive/40 text-destructive",children:K.risk})]}),y.jsx("p",{className:"mt-1 text-xs text-muted-foreground",children:o.t(K.kind==="download"?"message.mcpApp.downloadApprovalDescription":"message.mcpApp.toolApprovalDescription",{tool:K.toolName})})]})]}),y.jsxs("div",{className:"min-h-0",children:[y.jsx("div",{className:"mb-1 text-xs font-medium",children:o.t("message.mcpApp.requestDetails")}),y.jsx("pre",{className:"max-h-48 overflow-auto rounded-md border bg-muted/40 p-3 text-[11px] leading-5 whitespace-pre-wrap break-all",children:K.details})]}),D?y.jsxs("div",{role:"alert",className:"flex items-start gap-2 text-xs text-destructive",children:[y.jsx(VX,{className:"mt-0.5 size-4 shrink-0"}),y.jsx("span",{children:D})]}):null,y.jsxs("div",{className:"flex justify-end gap-2",children:[y.jsxs(Zn,{type:"button",variant:"outline",disabled:z!==null,onClick:()=>{zt("reject")},children:[z==="reject"?y.jsx(uo,{className:"animate-spin"}):null,o.t("message.mcpApp.reject")]}),y.jsxs(Zn,{type:"button",variant:K.risk==="destructive"?"destructive":"default",disabled:z!==null,onClick:()=>{zt("approve")},children:[z==="approve"?y.jsx(uo,{className:"animate-spin"}):null,o.t("message.mcpApp.approve")]})]})]})}):null,oe?y.jsxs("div",{className:ie("flex h-40 items-center justify-center gap-2 text-sm text-muted-foreground",yr&&"min-h-0 flex-1"),children:[y.jsx(uo,{className:"h-4 w-4 animate-spin"}),y.jsx("span",{children:o.t("message.mcpApp.loading")})]}):q?y.jsxs("div",{className:ie("flex h-40 items-center justify-center gap-2 px-4 text-sm text-destructive",yr&&"min-h-0 flex-1"),children:[y.jsx(VX,{className:"h-4 w-4 shrink-0"}),y.jsx("span",{className:"min-w-0 break-words",children:q})]}):N?y.jsx("iframe",{ref:fe,title:Dr,...ve?{src:ve.url}:{srcDoc:N},className:ie("block w-full bg-background",yr&&"min-h-0 flex-1"),style:yr?void 0:{height:P},sandbox:pt,allow:pr,referrerPolicy:"no-referrer"}):null]})]})}const SCt="space-y-3 in-data-[density=compact]:space-y-2 in-data-[density=spacious]:space-y-4";function MCt(e){return e.type==="text"}function _Ct(e){return e.type==="reasoning"}function TCt(e){return e.type==="image_url"}function ACt(e){return e.type==="component"}function LCt(e){const t=e.data;return t?.type==="Widget"&&Array.isArray(t.widgets)}function ioe(e){return wCt(e.data)}function ECt(e){return e.type==="memory"}function XU(e){try{return JSON.stringify(e,null,2)}catch{return String(e)}}function vX(e){return typeof e=="string"?e:XU(e)}function ICt(e){return e==="loading"?"running":"review"}function fSe({reasoning:e}){const t=e.filter(r=>r.text?.trim());return t.length===0?null:y.jsx("div",{className:"space-y-2",children:t.map((r,n)=>y.jsx("div",{className:"rounded-lg border bg-muted/40 p-3 text-xs text-muted-foreground",children:y.jsx("p",{className:"whitespace-pre-wrap wrap-break-word leading-relaxed",children:r.text})},r.id??`reasoning-${n}`))})}function RCt({content:e}){const t=typeof e.image_url=="string"?e.image_url:typeof e.image_url?.url=="string"?e.image_url.url:null;return t?y.jsx("figure",{className:"overflow-hidden rounded-lg border bg-background",children:y.jsx("img",{src:t,alt:"Assistant output",className:"h-auto w-full object-cover"})}):y.jsxs(Kx,{children:[y.jsx(Yx,{className:"space-y-1",children:y.jsx(Xx,{className:"text-sm",children:"Image"})}),y.jsx(Qx,{className:"text-xs text-muted-foreground",children:XU(e)})]})}function zCt({content:e}){return y.jsxs(Kx,{children:[y.jsxs(Yx,{className:"flex flex-row items-center justify-between gap-2",children:[y.jsx(Xx,{className:"text-sm",children:"Memory"}),y.jsx(Ag,{variant:"secondary",children:"Memory"})]}),y.jsx(Qx,{className:"text-xs text-muted-foreground",children:y.jsx("pre",{className:"whitespace-pre-wrap wrap-break-word",children:XU(e.data??[])})})]})}function ipe(e){if(e instanceof Date){const r=e.getTime();return Number.isNaN(r)?null:r}if(typeof e!="string")return null;const t=Date.parse(e);return Number.isNaN(t)?null:t}function DCt(e){if(e<1e3)return`${e}ms`;if(e<1e4)return`${(e/1e3).toFixed(1)}s`;if(e<6e4)return`${Math.round(e/1e3)}s`;const t=Math.floor(e/36e5),r=Math.floor(e%36e5/6e4),n=Math.floor(e%6e4/1e3);return t>0?`${t}h ${r}m ${n}s`:`${r}m ${n}s`}function OCt({content:e}){const{i18n:t}=Rt(),[r,n]=w.useState(!1),o=w.useRef(null),a=w.useRef(!0),i=w.useRef(0),[s,l]=w.useState(()=>Date.now()),u=ph(e),d=u.category??"Component",f=roe(e,t.language),p=u.status??null,g=u.message??null,b=u.output??null,v=u.error??null,C=g??b??u.data??u,S=g!==null||b!==null,M=ipe(u.created_date),T=ipe(u.end_date),A=M===null?null:Math.max(0,(T??s)-M),R=A===null?null:DCt(A);w.useEffect(()=>{p==="running"&&b!==null&&n(!0)},[p,b]),w.useEffect(()=>{if(p!=="running"||M===null||T!==null)return;l(Date.now());const N=window.setInterval(()=>{l(Date.now())},100);return()=>{window.clearInterval(N)}},[M,T,p]),w.useEffect(()=>{const N=o.current;if(!N)return;i.current=N.scrollTop;const V=()=>{const P=N.scrollTop,G=P<i.current-1;if(i.current=P,G){a.current=!1;return}a.current=sge(N)};return V(),N.addEventListener("scroll",V,{passive:!0}),()=>{N.removeEventListener("scroll",V)}},[r]),w.useEffect(()=>{if(p!=="running"){a.current=!0;return}const N=o.current;!N||!a.current||(N.scrollTop=N.scrollHeight)},[r,b,p]);const I=p?eSe[p]:null,L=I?.icon;return y.jsxs(Kx,{children:[y.jsxs(Yx,{className:"flex flex-row items-center justify-between gap-2 px-2 py-1 cursor-pointer",onClick:()=>n(!r),children:[y.jsxs("div",{className:"flex items-center space-x-1 flex-1 min-w-0",children:[p&&L&&y.jsx(L,{className:ie("h-4 w-4",I?.iconClass,p==="running"&&"animate-spin")}),y.jsx(Xx,{className:"text-sm truncate",children:f})]}),y.jsxs("div",{className:"flex flex-wrap items-center gap-2 shrink-0",children:[R&&y.jsxs("div",{className:"inline-flex items-center gap-1 text-[11px] text-muted-foreground tabular-nums",children:[y.jsx(Hee,{className:"h-3 w-3"}),y.jsx("span",{children:R})]}),y.jsx(Ag,{variant:"secondary",className:"rounded-lg px-1.5",children:d}),y.jsx("button",{className:"text-muted-foreground hover:text-foreground transition-colors","aria-label":r?"Collapse":"Expand",children:y.jsx(mc,{className:ie("h-4 w-4 transition-transform",r&&"rotate-180")})})]})]}),r&&y.jsxs(Qx,{ref:o,className:"text-xs text-muted-foreground max-h-60 overflow-auto",children:[u.input&&y.jsx("pre",{className:"whitespace-pre-wrap wrap-break-word",children:vX(u.input)}),v?y.jsx("pre",{className:"whitespace-pre-wrap wrap-break-word text-destructive",children:vX(v)}):S&&y.jsx("pre",{className:"whitespace-pre-wrap wrap-break-word",children:vX(C)})]})]})}function BCt({content:e}){return y.jsxs(Kx,{children:[y.jsxs(Yx,{className:"flex flex-row items-center justify-between gap-2",children:[y.jsx(Xx,{className:"text-sm",children:"Assistant Content"}),y.jsx(Ag,{variant:"outline",children:e.type??"unknown"})]}),y.jsx(Qx,{className:"text-xs text-muted-foreground",children:y.jsx("pre",{className:"whitespace-pre-wrap break-words",children:XU(e)})})]})}function NCt(e,t,r,n,o){const a=r.id,i=o?.isAgentOutput?"text-sm [&_.markdown-content_p]:!leading-6":void 0;if(typeof e=="string")return y.jsx("div",{className:i,children:y.jsx(see,{children:e})},`text-${t}`);if(yc(e))return null;if(MCt(e))return y.jsx("div",{className:i,children:y.jsx(see,{children:e.text})},e.id??`text-${t}`);if(_Ct(e))return y.jsx("div",{children:y.jsx(fSe,{reasoning:[e]})},e.id??`reasoning-${t}`);if(TCt(e))return y.jsx("div",{children:y.jsx(RCt,{content:e})},e.id??`image-${t}`);if(ACt(e)){if(k9e(e))return y.jsx("div",{className:"w-full",children:y.jsx(M3t,{content:e})},e.id??`context-compression-${t}`);const s=noe(e,n);return s?y.jsx("div",{children:y.jsx(_7t,{result:s})},e.id??`request-user-input-result-${t}`):LCt(e)?y.jsx("div",{children:y.jsx(T7t,{messageId:a,data:e.data})},e.id??`widget-${t}`):ioe(e)?y.jsx("div",{children:y.jsx(CCt,{messageId:a,data:e.data,mcpApps:o?.mcpApps})},e.id??`mcp-app-${t}`):K3t(e,ph(e))==="grouped-step"?y.jsx("div",{children:y.jsx(nSe,{items:[e],hasFollowingItem:!1,isThreadRunning:o?.isThreadRunning,organizationId:o?.organizationId,apiUrl:o?.apiUrl})},e.id??`component-group-${t}`):y.jsx("div",{children:y.jsx(OCt,{content:e})},e.id??`component-${t}`)}return ECt(e)?y.jsx("div",{children:y.jsx(zCt,{content:e})},e.id??`memory-${t}`):dte(e)?y.jsx("div",{children:y.jsx(x3t,{content:e})},e.id??`agent-event-${t}`):y.jsx("div",{children:y.jsx(BCt,{content:e})},e.id??`unknown-${t}`)}function pSe(e,t,r,n,o){return e.type==="item"?NCt(e.item,e.index,t,r,{isThreadRunning:o?.isThreadRunning,organizationId:o?.organizationId,apiUrl:o?.apiUrl,isAgentOutput:o?.isAgentOutput,mcpApps:o?.mcpApps}):y.jsx("div",{children:y.jsx(nSe,{items:e.items,hasFollowingItem:n,isThreadRunning:o?.isThreadRunning,organizationId:o?.organizationId,apiUrl:o?.apiUrl})},`tool-group-${e.startIndex}-${e.items[0]?.id??"tool"}`)}function jCt(e,t,r,n,o){if(e.length===0)return null;const a=tSe(e.map(i=>i.item),{shouldGroupComponent:i=>noe(i,r)===null&&!ioe(i)});return a.map((i,s)=>pSe(i,t,r,s<a.length-1||n,o))}function mSe(e,t,r,n,o=0){const a=[];let i=[];const s=l=>{if(i.length===0)return;const u=i;i=[],a.push(y.jsx(w.Fragment,{children:jCt(u,t,r,l,{...n,isAgentOutput:o>0})},`entries-${u[0]?.order??a.length}`))};return e.forEach((l,u)=>{const d=u<e.length-1;if(l.type==="entry"){i.push(l.entry),d||s(!1);return}s(!0),a.push(y.jsx(k3t,{node:l.node,hasFollowingItem:d,depth:o,renderUnits:(f,p)=>mSe(f,t,r,n,p)},l.node.id))}),a}function PCt(e,t,r){const n=Ike(e);if(n.hasAgentRuns)return y.jsx("div",{className:SCt,children:mSe(n.units,e,t,r)});const o=e.content;if(typeof o=="string")return o.trim()?y.jsx(see,{children:o}):null;if(!Array.isArray(o)||o.length===0)return null;const a=tSe(o,{shouldGroupComponent:i=>noe(i,t)===null&&!ioe(i)});return y.jsx("div",{className:"space-y-3",children:a.map((i,s)=>pSe(i,e,t,s<a.length-1,r))})}function vH({status:e,className:t}){const{t:r}=Rt(),n={loading:r("message.loading"),thinking:r("message.thinking"),answering:r("message.answering")};return y.jsxs("div",{className:ie("flex items-center gap-2 text-xs text-muted-foreground",t),children:[e==="loading"&&y.jsx(uo,{className:"h-3.5 w-3.5 animate-spin"}),e==="thinking"&&y.jsxs("div",{className:"flex items-end gap-1","aria-hidden":"true",children:[y.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-current animate-bounce [animation-delay:-0.3s]"}),y.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-current animate-bounce [animation-delay:-0.15s]"}),y.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-current animate-bounce"})]}),e==="answering"&&y.jsxs("div",{className:"flex items-end gap-1","aria-hidden":"true",children:[y.jsx("span",{className:"h-2 w-0.5 rounded-full bg-current animate-pulse [animation-delay:-0.25s]"}),y.jsx("span",{className:"h-3 w-0.5 rounded-full bg-current animate-pulse [animation-delay:-0.1s]"}),y.jsx("span",{className:"h-2.5 w-0.5 rounded-full bg-current animate-pulse"})]}),y.jsx("span",{children:n[e]})]})}function FCt({message:e,messages:t,className:r,isStreaming:n=!1,streamingStatus:o,isThreadRunning:a,organizationId:i,apiUrl:s,pet:l,mcpApps:u}){const{t:d}=Rt(),f=Ike(e),p=f.hasAgentRuns?f.rootReasoning:e.reasoning,g=ige(e.content)||f.hasAgentRuns,b=lte(p),v=o??m4(e,n),C=t?.length?t:[e],S=v?ICt(v):null,M=S?y.jsx(Jet,{pet:l,state:S}):null,T=PCt(e,C,{isThreadRunning:a,organizationId:i,apiUrl:s,mcpApps:u}),A=b?y.jsx(fSe,{reasoning:p??[]}):null;if(!g&&!b&&!v)return null;const R=n?"streaming-active":"";return!g&&!b&&v?y.jsx("div",{className:ie("space-y-3",R,r),children:y.jsxs("div",{className:"flex items-center gap-2",children:[M,y.jsx(vH,{status:v})]})}):g&&b?y.jsxs("div",{className:ie("space-y-3",R,r),children:[y.jsxs(fU,{defaultValue:e.status==="reasoning"?"reasoning":"answer",className:"w-full",children:[y.jsxs("div",{className:"flex items-center gap-2",children:[M,y.jsxs(Jx,{className:"",children:[y.jsx(ku,{value:"answer",children:d("message.answer")}),y.jsx(ku,{value:"reasoning",children:d("message.reasoning")})]})]}),y.jsx(vu,{value:"answer",className:"space-y-3",children:T}),y.jsx(vu,{value:"reasoning",className:"space-y-3",children:A})]}),v?y.jsx(vH,{status:v}):null]}):y.jsxs("div",{className:ie("space-y-3",R,r),children:[b?A:T,v?y.jsxs("div",{className:"flex items-center gap-2",children:[M,y.jsx(vH,{status:v})]}):null]})}const gSe=12;function qCt(e,t,r){if(r>=0){const n=Math.abs(e-r);return n===0?"w-7":n===1?"w-5":n===2?"w-3.5":"w-2"}return t?"w-5":"w-2"}function ySe(e,t){return t.offsetTop-e.offsetTop}function HCt(e,t,r){if(!t||e.length===0)return null;const n=t.scrollTop+gSe;let o=e[0]?.id??null;for(const a of e){const i=r(a);if(i){if(ySe(t,i)<=n){o=a.id;continue}break}}return o}function $Ct(e,t){const r=Math.max(0,ySe(e,t)-gSe);if(typeof e.scrollTo=="function"){e.scrollTo({top:r,behavior:"smooth"});return}e.scrollTop=r}function VCt({items:e,viewportRef:t,getAnchor:r,onNavigate:n,className:o,label:a,tagsOverflowLabel:i}){const[s,l]=w.useState(null),[u,d]=w.useState(null),[f,p]=w.useState(null),g=w.useCallback(()=>{const S=t.current;p(HCt(e,S,r))},[r,e,t]);w.useLayoutEffect(()=>{g()},[g]),w.useEffect(()=>{const S=t.current;if(!S)return;let M=null;const T=()=>{M===null&&(M=requestAnimationFrame(()=>{M=null,g()}))};S.addEventListener("scroll",T,{passive:!0}),window.addEventListener("resize",T,{passive:!0});const A=typeof ResizeObserver<"u"?new ResizeObserver(T):null;return A?.observe(S),()=>{M!==null&&cancelAnimationFrame(M),S.removeEventListener("scroll",T),window.removeEventListener("resize",T),A?.disconnect()}},[g,t]);const b=w.useCallback(S=>{const M=t.current,T=r(S);!M||!T||(n?.(),$Ct(M,T),p(S.id))},[r,n,t]);if(e.length===0)return null;const v=u??s,C=v?e.findIndex(S=>S.id===v):-1;return y.jsx("nav",{"aria-label":a,className:ie("pointer-events-none sticky top-16 z-20 hidden h-0 w-0 shrink-0 self-start md:block",o),"data-slot":"chatkit-message-navigator",children:y.jsx("div",{className:"group/nav relative h-[calc(100vh-9rem)] w-12",children:y.jsx("div",{className:"absolute left-2 top-1/2 flex max-h-full w-10 -translate-y-1/2 flex-col gap-0.5 py-1",children:e.map((S,M)=>{const T=S.id===f,A=S.id===s||S.id===u;return y.jsxs("div",{className:"relative h-3.5 w-10 shrink-0",children:[y.jsx("button",{type:"button","aria-label":`${S.title}: ${S.preview}`,"aria-current":T?"location":void 0,className:ie("pointer-events-auto flex h-3.5 w-10 items-center justify-start rounded-sm outline-none","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"),onClick:()=>b(S),onMouseEnter:()=>l(S.id),onMouseLeave:()=>l(R=>R===S.id?null:R),onFocus:()=>d(S.id),onBlur:()=>d(R=>R===S.id?null:R),children:y.jsx("span",{className:ie("block h-0.5 rounded-full bg-muted-foreground/25 transition-all duration-150",qCt(M,T,C),T&&"bg-foreground",A&&"bg-foreground",C>=0&&!T&&!A&&"bg-muted-foreground/35")})}),A&&y.jsxs("div",{className:ie("pointer-events-none absolute left-9 top-1/2 z-30 w-80 max-w-[min(20rem,calc(100vw-6rem))] -translate-y-1/2","rounded-lg border border-border bg-background/95 p-3 text-left shadow-xl backdrop-blur"),children:[y.jsx("div",{className:"mb-1 truncate text-sm font-medium text-foreground",children:S.title}),y.jsx("div",{className:"line-clamp-2 text-sm leading-5 text-muted-foreground",children:S.preview}),S.tags.length>0&&y.jsxs("div",{className:"mt-2 flex flex-wrap gap-1.5",children:[S.tags.slice(0,3).map(R=>y.jsx("span",{className:"max-w-[8rem] truncate rounded-md bg-muted px-1.5 py-0.5 text-[11px] leading-4 text-muted-foreground",children:R},R)),S.tags.length>3&&y.jsx("span",{className:"rounded-md bg-muted px-1.5 py-0.5 text-[11px] leading-4 text-muted-foreground",children:i(S.tags.length-3)})]})]})]},S.id)})})})})}function UCt({content:e,isAssistant:t=!1,isStreaming:r=!1,onRetry:n,className:o}){const{t:a}=Rt(),[i,s]=w.useState(!1),l=async()=>{try{await navigator.clipboard.writeText(e),s(!0),setTimeout(()=>s(!1),2e3)}catch(u){console.error("Failed to copy:",u)}};return r?null:y.jsxs("div",{className:ie("flex items-center gap-1 mt-2 opacity-0 group-hover:opacity-100 transition-opacity",o),children:[y.jsx("button",{type:"button",onClick:l,className:ie("p-1.5 rounded-md text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",i&&"text-green-500"),title:a(i?"messageActions.copied":"messageActions.copy"),children:i?y.jsx(ai,{size:14}):y.jsx($g,{size:14})}),t&&n&&y.jsx("button",{type:"button",onClick:n,className:"p-1.5 rounded-md text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",title:a("messageActions.regenerate"),children:y.jsx(mV,{size:14})})]})}function WCt(e){const t={"circle-question":y.jsx(u4,{size:20}),lightbulb:y.jsx(rme,{size:20}),sparkle:y.jsx(_H,{size:20}),write:y.jsx(pg,{size:20}),search:y.jsx(Vg,{size:20}),globe:y.jsx(eme,{size:20}),"book-open":y.jsx(hV,{size:20}),compass:y.jsx(QIe,{size:20}),bolt:y.jsx(Eze,{size:20})};return e&&t[e]||t.sparkle}function GCt({startScreen:e,onPromptClick:t,onPromptEdit:r,promptSendDisabled:n=!1,promptEditDisabled:o=!1,className:a}){const{t:i}=Rt(),s=e?.greeting??i("startScreen.greeting"),l=e?.prompts??[],u=l.length>0,d=i("startScreen.editPrompt");return y.jsxs("div",{className:ie("flex flex-col items-center justify-center py-12 px-4",a),children:[y.jsx("div",{className:ie("mb-4 text-center",u&&"mb-10"),children:y.jsx("h2",{className:"mb-4 text-4xl font-semibold text-foreground",children:s})}),u&&y.jsx("div",{className:"w-full max-w-2xl",children:y.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:l.map((f,p)=>y.jsxs("div",{className:ie("flex items-stretch rounded-xl border bg-card text-left","transition-colors hover:border-primary/20 hover:bg-muted/50","focus-within:ring-2 focus-within:ring-primary/20"),children:[y.jsxs("button",{type:"button",disabled:n,onClick:()=>t?.(f.prompt),className:ie("flex min-w-0 flex-1 items-center gap-3 p-4 text-left overflow-hidden","focus:outline-none disabled:cursor-not-allowed disabled:opacity-50"),children:[y.jsx("span",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary",children:WCt(f.icon)}),y.jsx("div",{className:"text-sm font-medium text-foreground line-clamp-3 overflow-hidden",title:f.label,children:f.label})]}),y.jsx("button",{type:"button",disabled:o,onClick:()=>r?.(f.prompt),"aria-label":d,title:d,className:ie("flex w-12 shrink-0 items-center justify-center border-l text-muted-foreground","rounded-r-xl transition-colors hover:bg-muted hover:text-foreground","focus:outline-none disabled:cursor-not-allowed disabled:opacity-50"),children:y.jsx(pg,{size:16})})]},`prompt-${p}`))})})]})}const ZCt=50,KCt=e=>{const t=e.title?.trim();if(t)return t;bte();const r=(e.threadId??e.id??"").slice(0,8);return r?$n.t("history.threadWithId",{id:r}):$n.t("history.threadFallback")},YCt=e=>{if(!e)return;const t=Date.parse(e);if(!Number.isNaN(t))return new Date(t)},XCt=e=>{if(e){if(e instanceof Error)return e.message;if(typeof e=="string")return e;if(typeof e=="object"&&"message"in e){const t=e.message;if(typeof t=="string")return t}try{return JSON.stringify(e)}catch{return String(e)}}},QCt=e=>({id:e.threadId??e.id,recordId:e.id,title:KCt(e),status:e.status||"idle",error:e.error,lastMessageAt:YCt(e.updatedAt)}),wX=e=>[...e].sort((t,r)=>{const n=Date.parse(t.updatedAt??""),o=Date.parse(r.updatedAt??"");return(Number.isNaN(o)?0:o)-(Number.isNaN(n)?0:n)});function JCt(e=ZCt,t=!0){const{client:r,threadId:n,assistantId:o,projectId:a,isReady:i,isLoading:s,error:l}=Nx(),[u,d]=w.useState([]),[f,p]=w.useState(!1),[g,b]=w.useState(null),v=w.useCallback(R=>{d(I=>{const L=I.filter(N=>N.id!==R.id);return wX([R,...L])})},[]),C=w.useCallback(async()=>{if(t){p(!0),b(null);try{const{items:R}=await r.conversations.search({where:{xpertId:o,projectId:a??null},limit:e,order:{updatedAt:"DESC"}});d(R??[])}catch(R){b(R)}finally{p(!1)}}},[r,t,e,o,a]),S=w.useCallback(async R=>{b(null);const I={xpertId:o,...a?{projectId:a}:{}};R?.recordId&&(I.id=R.recordId),R?.threadId&&(I.threadId=R.threadId),R?.title&&(I.title=R.title),R?.options&&(I.options=R.options);const L=await r.conversations.create(I);return v(L),L},[o,r,a,v]),M=w.useCallback(async(R,I)=>{b(null);const L=await r.conversations.update(R,I);return v(L),L},[r,v]),T=w.useCallback(async R=>{b(null),await r.conversations.delete(R),d(I=>I.filter(L=>L.id!==R))},[r]);return w.useEffect(()=>{!t||!i||C()},[t,C,i]),w.useEffect(()=>{if(!n||!s)return;const R=new Date().toISOString(),I="busy";d(L=>{let N=!1;const V=L.map(P=>!(P.threadId===n||P.id===n)||P.status===I&&!P.error?P:(N=!0,{...P,status:I,error:void 0,updatedAt:R}));return N?wX(V):L})},[n,s]),w.useEffect(()=>{const R=XCt(l)?.trim();if(!n||!R)return;const I=new Date().toISOString(),L="error";d(N=>{let V=!1;const P=N.map(G=>!(G.threadId===n||G.id===n)||G.status===L&&G.error===R?G:(V=!0,{...G,status:L,error:R,updatedAt:I}));return V?wX(P):N})},[n,l]),w.useEffect(()=>{if(!i||!n||s)return;let R=!1;return r.conversations.search({where:y4(n,{xpertId:o,projectId:a}),limit:1}).then(I=>{if(R)return;const L=I.items?.[0];L&&v(L)}).catch(I=>{R||b(I)}),()=>{R=!0}},[o,r,i,s,a,n,v]),{threads:w.useMemo(()=>u.map(R=>QCt(R)),[u]),rawThreads:u,isLoading:f,error:g,refreshThreads:C,createThread:S,updateThread:M,deleteThread:T}}function e9t(e,t,r){return Math.max(Math.min(e,Math.max(t,r)),Math.min(t,r))}const q5=24,spe=4,lpe=100,t9t=({value:e,className:t,...r})=>{const n=e9t(e,0,lpe),o=(q5-spe)/2,a=2*Math.PI*o,i=n/lpe*a,s=q5/2,l={cx:s,cy:s,r:o,fill:"none",strokeWidth:spe};return y.jsxs("svg",{role:"progressbar",viewBox:`0 0 ${q5} ${q5}`,className:ie("size-6",t),"aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,...r,children:[y.jsx("circle",{...l,className:"stroke-current/25"}),y.jsx("circle",{...l,stroke:"currentColor",strokeDasharray:a,strokeDashoffset:a-i,strokeLinecap:"round",transform:`rotate(-90 ${s} ${s})`,className:"stroke-current"})]})},r9t=new Intl.NumberFormat("en-US",{minimumFractionDigits:0,maximumFractionDigits:1});function cpe(e){if(typeof e!="string")return null;const t=e.trim();return t||null}function n9t(e){return Ap(e.metadata?.context_size)??Ap(e.config?.configurable?.context_size)}function o9t(e){return cpe(e.metadata?.agent_key)??cpe(e.config?.configurable?.agentKey)}function a9t(e,t){return typeof e!="number"||!Number.isFinite(e)||e<0?0:Math.min(Math.floor(e),t)}function upe(e){return`${r9t.format(e/1e3)}k`}function i9t({label:e,className:t}){const{t:r}=Rt(),n=Nx(),[o,a]=w.useState(null),[i,s]=w.useState(null),[l,u]=w.useState(null),d=w.useRef({threadId:null,agentKey:null,usedTokens:null}),f=w.useMemo(()=>_Pe(n.contextUsageByAgentKey,l),[l,n.contextUsageByAgentKey]),p=oge(f),g=!!(n.apiUrl?.trim()&&n.apiKey?.trim());if(w.useEffect(()=>{if(!g||!n.client||!n.assistantId){a(null),u(null);return}let P=!1;return n.client.assistants.get(n.assistantId).then(G=>{P||!G||(a(n9t(G)),u(o9t(G)))}).catch(G=>{P||(console.warn("[Chat] Failed to load assistant context size:",G),u(null))}),()=>{P=!0}},[g,n.client,n.assistantId]),w.useEffect(()=>{d.current={threadId:n.threadId??null,agentKey:l,usedTokens:p}},[l,p,n.threadId]),w.useEffect(()=>{p!=null&&s(p)},[p]),w.useEffect(()=>{if(!g||!n.client){s(null);return}if(!n.threadId){s(0);return}if(p!=null||n.isLoading)return;let P=!1;const G=n.threadId,Q=l;return n.client.threads.getContextUsage(G,Q?{agentKey:Q}:void 0).then(re=>Ap(re?.usage?.context_tokens)).then(re=>{if(P)return;const K=d.current;K.usedTokens!=null&&K.threadId===G&&K.agentKey===Q||s(TPe({fallbackUsedTokens:re}))}).catch(re=>{P||console.warn("[Chat] Failed to load thread context usage:",re)}),()=>{P=!0}},[l,g,p,n.apiKey,n.apiUrl,n.client,n.threadId,n.isLoading]),typeof o!="number"||!Number.isFinite(o)||o<=0)return null;const b=Math.floor(o),v=a9t(i,b),C=Math.max(0,Math.min(100,v/b*100)),S=Math.round(C),M=Math.max(0,100-S),T=upe(v),A=upe(b),R=e??r("chat.contextUsage.label"),I=r("chat.contextUsage.full",{usedPercent:S,remainingPercent:M}),L=r("chat.contextUsage.tokensUsed",{used:T,max:A}),N=R.endsWith(":")?R:`${R}:`,V=C>=90?"text-destructive":C>=75?"text-amber-500":"text-primary dark:text-zinc-300";return y.jsxs(bo,{children:[y.jsx(xo,{asChild:!0,children:y.jsx("button",{type:"button",className:ie("inline-flex items-center justify-center rounded-full focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 ring-offset-background",t),"aria-label":`${N} ${I}. ${L}`,children:y.jsx(t9t,{value:C,className:ie("size-5",V)})})}),y.jsxs(ko,{side:"top",sideOffset:6,className:"space-y-0.5 px-3 py-2 text-center",children:[y.jsx("div",{className:"text-primary-foreground/70",children:N}),y.jsx("div",{className:"font-medium text-primary-foreground/80",children:I}),y.jsx("div",{className:"text-sm font-semibold",children:L})]})]})}function Pb(e,t){const r=e.filter(n=>!n.disabled);return r.length===0?null:t&&r.some(n=>n.id===t)?t:r.find(n=>n.default)?.id??r[0]?.id??null}function dpe(e){const t=new Set;return e.flatMap(r=>{const{description:n,...o}=r,a=r.id.trim(),i=r.label.trim();return!a||!i||t.has(a)?[]:(t.add(a),[{...o,id:a,label:i,...n?.trim()?{description:n.trim()}:{}}])})}function s9t({pet:e,state:t}){const n=Xg()?.sendEvent,o=w.useMemo(()=>gV(e),[e]);return w.useEffect(()=>{n&&n("pet_options_change",{pet:e??null})},[n,e]),w.useEffect(()=>{!n||!o||n("pet_state_change",{state:t})},[o,n,t]),null}function l9t({...e}){return y.jsx(jXe,{"data-slot":"select",...e})}function c9t({className:e,...t}){return y.jsx(UXe,{"data-slot":"select-group",className:ie("scroll-my-1 p-1",e),...t})}function u9t({...e}){return y.jsx(FXe,{"data-slot":"select-value",...e})}function d9t({className:e,size:t="default",children:r,...n}){return y.jsxs(PXe,{"data-slot":"select-trigger","data-size":t,className:ie("flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...n,children:[r,y.jsx(qXe,{asChild:!0,children:y.jsx(mc,{className:"pointer-events-none size-4 text-muted-foreground"})})]})}function h9t({className:e,children:t,position:r="item-aligned",align:n="center",...o}){return y.jsx(HXe,{children:y.jsxs($Xe,{"data-slot":"select-content","data-align-trigger":r==="item-aligned",className:ie("relative z-50 max-h-(--radix-select-content-available-height) min-w-36 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:r,align:n,...o,children:[y.jsx(p9t,{}),y.jsx(VXe,{"data-position":r,className:ie("data-[position=popper]:h-(--radix-select-trigger-height) data-[position=popper]:w-full data-[position=popper]:min-w-(--radix-select-trigger-width)",r==="popper"&&""),children:t}),y.jsx(m9t,{})]})})}function f9t({className:e,children:t,...r}){return y.jsxs(WXe,{"data-slot":"select-item",className:ie("relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...r,children:[y.jsx("span",{className:"pointer-events-none absolute right-2 flex size-4 items-center justify-center",children:y.jsx(ZXe,{children:y.jsx(ai,{className:"pointer-events-none"})})}),y.jsx(GXe,{children:t})]})}function p9t({className:e,...t}){return y.jsx(KXe,{"data-slot":"select-scroll-up-button",className:ie("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",e),...t,children:y.jsx(IIe,{})})}function m9t({className:e,...t}){return y.jsx(YXe,{"data-slot":"select-scroll-down-button",className:ie("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",e),...t,children:y.jsx(mc,{})})}function g9t({className:e,defaultValue:t,value:r,min:n=0,max:o=100,...a}){const i=w.useMemo(()=>Array.isArray(r)?r:Array.isArray(t)?t:[n,o],[r,t,n,o]);return y.jsxs(hQe,{"data-slot":"slider",defaultValue:t,value:r,min:n,max:o,className:ie("relative flex w-full touch-none items-center select-none data-disabled:opacity-50 data-vertical:h-full data-vertical:min-h-40 data-vertical:w-auto data-vertical:flex-col",e),...a,children:[y.jsx(fQe,{"data-slot":"slider-track",className:"relative grow overflow-hidden rounded-full bg-muted data-horizontal:h-1 data-horizontal:w-full data-vertical:h-full data-vertical:w-1",children:y.jsx(pQe,{"data-slot":"slider-range",className:"absolute bg-primary select-none data-horizontal:h-full data-vertical:w-full"})}),Array.from({length:i.length},(s,l)=>y.jsx(mQe,{"data-slot":"slider-thumb",className:"relative block size-3 shrink-0 rounded-full border border-ring bg-white ring-ring/50 transition-[color,box-shadow] select-none after:absolute after:-inset-2 hover:ring-3 focus-visible:ring-3 focus-visible:outline-hidden active:ring-3 disabled:pointer-events-none disabled:opacity-50"},l))]})}const y9t=xye("group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-muted"},size:{default:"h-8 min-w-8 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",sm:"h-7 min-w-7 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 min-w-9 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2"}},defaultVariants:{variant:"default",size:"default"}}),bSe=w.createContext({size:"default",variant:"default",spacing:0,orientation:"horizontal"});function b9t({className:e,variant:t,size:r,spacing:n=0,orientation:o="horizontal",children:a,...i}){return y.jsx(kQe,{"data-slot":"toggle-group","data-variant":t,"data-size":r,"data-spacing":n,"data-orientation":o,style:{"--gap":n},className:ie("group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-vertical:flex-col data-vertical:items-stretch",e),...i,children:y.jsx(bSe.Provider,{value:{variant:t,size:r,spacing:n,orientation:o},children:a})})}function x9t({className:e,children:t,variant:r="default",size:n="default",...o}){const a=w.useContext(bSe);return y.jsx(vQe,{"data-slot":"toggle-group-item","data-variant":a.variant||r,"data-size":a.size||n,"data-spacing":a.spacing,className:ie("shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t",y9t({variant:a.variant||r,size:a.size||n}),e),...o,children:t})}const k9t=[{id:"batmeme",label:"Batmeme",previewSrc:"/pets/batmeme/spritesheet.webp"},{id:"boba",label:"Boba",previewSrc:"/pets/boba/spritesheet.webp"},{id:"bolt",label:"Bolt",previewSrc:"/pets/bolt/spritesheet.webp"},{id:"einstein",label:"Einstein",previewSrc:"/pets/einstein/spritesheet.webp"},{id:"lando-2",label:"Lando",previewSrc:"/pets/lando-2/spritesheet.webp"},{id:"mini-sama",label:"Mini Sama",previewSrc:"/pets/mini-sama/spritesheet.webp"},{id:"miso",label:"Miso",previewSrc:"/pets/miso/spritesheet.webp"},{id:"noir-webling",label:"Noir Webling",previewSrc:"/pets/noir-webling/spritesheet.webp"},{id:"nukey",label:"Nukey",previewSrc:"/pets/nukey/spritesheet.webp"},{id:"steve",label:"Steve",previewSrc:"/pets/steve/spritesheet.webp"}],tV=[...k9t.map(e=>({id:e.id,label:e.label,character:{type:"sprite-atlas",src:e.previewSrc},previewSrc:e.previewSrc}))];function rV(e){return tV.find(t=>t.id===e)}function v9t(e){return rV(e)?.character??{type:"sprite-atlas",src:"/pets/boba/spritesheet.webp"}}function w9t(e){return tV.find(r=>!!e.src&&r.character.src===e.src)?.id??null}const xSe="chatkit:pet:settings:v1",Xs={enabled:!1,characterType:"builtin",builtinId:"boba",atlasUrl:"",scale:.25,draggable:!0,persistPosition:!0},C9t=new Set(["builtin","atlas"]);function S9t(e){const t=typeof e=="number"?e:Number(e);return Number.isFinite(t)?Math.min(2,Math.max(.1,t)):Xs.scale}function M9t(e){if(!e||typeof e!="object"||Array.isArray(e))return null;const t=e,r=C9t.has(t.characterType)?t.characterType:Xs.characterType,o=(typeof t.builtinId=="string"?rV(t.builtinId):void 0)?.id??Xs.builtinId;return{enabled:typeof t.enabled=="boolean"?t.enabled:Xs.enabled,characterType:r==="atlas"&&typeof t.atlasUrl=="string"?"atlas":Xs.characterType,builtinId:o,atlasUrl:typeof t.atlasUrl=="string"?t.atlasUrl:"",scale:S9t(t.scale),draggable:typeof t.draggable=="boolean"?t.draggable:Xs.draggable,persistPosition:typeof t.persistPosition=="boolean"?t.persistPosition:Xs.persistPosition}}function _9t(){if(typeof window>"u")return null;try{const e=window.localStorage.getItem(xSe);return e?M9t(JSON.parse(e)):null}catch{return null}}function T9t(e){if(!(typeof window>"u"))try{window.localStorage.setItem(xSe,JSON.stringify(e))}catch{}}function A9t(e){if(!e.enabled)return null;const t={draggable:e.draggable,persist:e.persistPosition,scale:e.scale};return e.characterType==="atlas"&&e.atlasUrl.trim()?{character:{type:"sprite-atlas",src:e.atlasUrl.trim()},position:t}:{character:v9t(e.builtinId),position:t}}function L9t(e){if(!e)return{...Xs};const t=gV(e??null);if(!t)return{...Xs};const r={...Xs,enabled:!0,scale:t.position.scale,draggable:t.position.draggable,persistPosition:t.position.persist},n=t.character,o=w9t(n);return o?{...r,characterType:"builtin",builtinId:o}:n.src?{...r,characterType:"atlas",atlasUrl:n.src}:r}function hpe(e){return!!gV(e??null)}function E9t(e){return e.replace(/["\\]/g,"\\$&")}function I9t({src:e,label:t,className:r}){const o=uu.cellWidth,a=uu.cellHeight;return y.jsx("span",{className:ie("relative inline-flex h-8 w-8 shrink-0 items-center justify-center overflow-hidden rounded-md border border-border/70 bg-muted/30",r),"aria-hidden":"true",title:t,children:y.jsx("span",{className:"absolute left-1/2 top-1/2 block",style:{width:o,height:a,transform:`translate(-50%, -50%) scale(${.13})`,transformOrigin:"center",backgroundImage:`url("${E9t(e)}")`,backgroundRepeat:"no-repeat",backgroundSize:`${uu.columns*o}px ${uu.rows*a}px`,backgroundPosition:"0px 0px",imageRendering:"auto"}})})}const R9t=["builtin","atlas"];function z9t(e){return e==="builtin"||e==="atlas"}function D9t({open:e,settings:t,petRequired:r=!1,onOpenChange:n,onSave:o}){const{t:a}=Rt(),[i,s]=w.useState(t);w.useEffect(()=>{e&&s(r?{...t,enabled:!0}:t)},[e,r,t]);const l=w.useCallback(p=>{s(g=>({...g,...p}))},[]),u=p=>{p.preventDefault(),o(r?{...i,enabled:!0}:i),n(!1)},d=rV(i.builtinId)??tV[0],f=a(`pet.settings.builtins.${d.id}`,{defaultValue:d.label});return y.jsx(are,{open:e,onOpenChange:n,children:y.jsxs(ire,{side:"right",className:"w-[min(92vw,26rem)] overflow-y-auto",children:[y.jsx(dke,{children:y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx("span",{className:"flex h-8 w-8 items-center justify-center rounded-md bg-primary/10 text-primary",children:y.jsx(ume,{size:16})}),y.jsx(sre,{children:a("settings.title")})]})}),y.jsxs("form",{className:"mt-6 space-y-5",onSubmit:u,children:[y.jsxs("section",{className:"space-y-5",children:[y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx("span",{className:"flex h-7 w-7 items-center justify-center rounded-md bg-muted text-muted-foreground",children:y.jsx(ZRe,{size:15})}),y.jsx("h3",{className:"text-sm font-semibold",children:a("pet.settings.title")})]}),y.jsxs("label",{className:"flex items-center justify-between gap-4 rounded-md border border-border px-3 py-2",children:[y.jsxs("span",{className:"min-w-0",children:[y.jsx("span",{className:"block text-sm font-medium",children:a("pet.settings.enabled")}),r&&y.jsx("span",{className:"mt-0.5 block text-xs text-muted-foreground",children:a("pet.settings.requiredHint")})]}),y.jsx("button",{type:"button",role:"switch","aria-checked":i.enabled,disabled:r,onClick:()=>l({enabled:!i.enabled}),className:["relative inline-flex h-6 w-10 shrink-0 items-center rounded-full transition-colors",i.enabled?"bg-primary":"bg-muted-foreground/20",r?"cursor-not-allowed opacity-70":""].join(" "),children:y.jsx("span",{className:["inline-block h-5 w-5 rounded-full bg-background shadow-sm transition-transform",i.enabled?"translate-x-[18px]":"translate-x-0.5"].join(" ")})})]})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsx("span",{id:"chatkit-pet-type-label",className:"text-sm font-medium",children:a("pet.settings.characterType")}),y.jsx(b9t,{id:"chatkit-pet-type",type:"single",value:i.characterType,onValueChange:p=>{z9t(p)&&l({characterType:p})},"aria-labelledby":"chatkit-pet-type-label",variant:"outline",spacing:2,className:"!w-full",children:R9t.map(p=>y.jsx(x9t,{value:p,className:"flex-1 rounded-md data-[state=on]:border-primary/50 data-[state=on]:bg-primary/10 data-[state=on]:text-primary",children:a(`pet.settings.characterTypes.${p}`)},p))})]}),i.characterType==="builtin"&&y.jsxs("div",{className:"space-y-2",children:[y.jsx("label",{htmlFor:"chatkit-pet-builtin",className:"text-sm font-medium",children:a("pet.settings.builtin")}),y.jsxs(l9t,{value:d.id,onValueChange:p=>{const g=rV(p);g&&l({builtinId:g.id})},children:[y.jsx(d9t,{id:"chatkit-pet-builtin",className:"min-h-12 w-full px-3 py-2",children:y.jsx(u9t,{placeholder:f})}),y.jsx(h9t,{className:"w-[var(--radix-select-trigger-width)]",children:y.jsx(c9t,{children:tV.map(p=>{const g=a(`pet.settings.builtins.${p.id}`,{defaultValue:p.label});return y.jsx(f9t,{value:p.id,className:"min-h-10 py-1.5 pl-2 pr-8",children:y.jsxs("span",{className:"flex min-w-0 items-center gap-2",children:[y.jsx(I9t,{src:p.previewSrc,label:g}),y.jsx("span",{className:"min-w-0 truncate",children:g})]})},p.id)})})})]})]}),i.characterType==="atlas"&&y.jsxs("div",{className:"space-y-2",children:[y.jsx("label",{className:"text-sm font-medium",htmlFor:"chatkit-pet-atlas",children:a("pet.settings.atlasUrl")}),y.jsx(Tg,{id:"chatkit-pet-atlas",value:i.atlasUrl,onChange:p=>l({atlasUrl:p.currentTarget.value}),placeholder:"/pets/boba/spritesheet.webp"})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsxs("div",{className:"flex items-center justify-between gap-4",children:[y.jsx("label",{className:"text-sm font-medium",htmlFor:"chatkit-pet-scale",children:a("pet.settings.scale")}),y.jsxs("span",{className:"text-xs tabular-nums text-muted-foreground",children:[i.scale.toFixed(2),"x"]})]}),y.jsx(g9t,{id:"chatkit-pet-scale",min:.1,max:2,step:.05,value:[i.scale],onValueChange:p=>l({scale:p[0]??Xs.scale})})]}),y.jsxs("label",{className:"flex items-center gap-2 text-sm",children:[y.jsx("input",{type:"checkbox",checked:i.draggable,onChange:p=>l({draggable:p.currentTarget.checked}),className:"h-4 w-4 rounded border-input accent-primary"}),a("pet.settings.draggable")]}),y.jsxs("label",{className:"flex items-center gap-2 text-sm",children:[y.jsx("input",{type:"checkbox",checked:i.persistPosition,onChange:p=>l({persistPosition:p.currentTarget.checked}),className:"h-4 w-4 rounded border-input accent-primary"}),a("pet.settings.persistPosition")]}),y.jsxs("div",{className:"flex justify-end gap-2 pt-2",children:[y.jsx(Zn,{type:"button",variant:"outline",onClick:()=>n(!1),children:a("pet.settings.cancel")}),y.jsx(Zn,{type:"submit",children:a("pet.settings.save")})]})]})]})})}const O9t="Current Xpert SDK client does not expose conversation goal methods. Provide options.goal to use a custom goal adapter.";function mm(e,t){if(!e||!t)throw new Error(O9t);return t.bind(e)}function B9t(e){const t=e.conversations;return!!(t?.search&&t.create&&e.threads?.create&&t.getGoal&&t.setGoal&&t.updateGoal&&t.clearGoal)}async function kSe(e,t,r){return qge(e,t,r)}async function CX(e,t,r){const n=await kSe(e,t,r);if(!n?.id)throw new Error("Conversation not found for this thread.");return n}function N9t(e,t){return{async getGoal({threadId:r,signal:n}){const o=await kSe(e,r,t);return o?.id?mm(e.conversations,e.conversations.getGoal)(o.id,{signal:n}):null},async setGoal({threadId:r,assistantId:n,projectId:o,objective:a,runtimeCapabilities:i,signal:s}){const l=a.trim();if(!l)throw new Error("Goal objective is required.");const u=mm(e.conversations,e.conversations.setGoal),d=r?.trim()||null;if(d){const M=await CX(e,d,{xpertId:t.xpertId,projectId:o??t.projectId}),T=await u(M.id,{objective:l},{signal:s});return{threadId:d,goal:T}}const f=mm(e.conversations,e.conversations?.create),p=mm(e.threads,e.threads?.create),g=e.threads?.delete?.bind(e.threads);let b=null,v;try{v=await dQ({threads:{create:p,...g?{delete:g}:{}},conversations:{create:f}},{assistantId:n,projectId:o,runtimeCapabilities:i,onThreadCreated:M=>{b=M}})}catch(M){if(b)try{await e.threads?.delete?.call(e.threads,b)}catch{}throw M}const S=v.conversation.id?.trim();try{if(!S)throw new Error("Created conversation is missing id.");const M=await u(S,{objective:l},{signal:s});return{threadId:v.threadId,goal:M}}catch(M){if(S)try{await e.conversations.delete?.call(e.conversations,S)}catch{}try{await e.threads?.delete?.call(e.threads,v.threadId)}catch{}throw M}},async updateGoal({threadId:r,objective:n,status:o,signal:a}){const i=await CX(e,r,t);return mm(e.conversations,e.conversations.updateGoal)(i.id,{...n!==void 0?{objective:n}:{},...o?{status:o}:{}},{signal:a})},async clearGoal({threadId:r,signal:n}){const o=await CX(e,r,t);return mm(e.conversations,e.conversations.clearGoal)(o.id,{signal:n})}}}const kee=1,vSe="",soe="[data-composer-capability-key]";function a4(e){return e?[{type:"text",text:e}]:[]}function j9t(e,t){return{type:"capability",key:t,capability:e}}function H5(e){return e.map(t=>t.type==="text"?t.text:"").join("")}function P9t(e){return e.map(t=>t.type==="text"?t.text:vSe).join("")}function Xo(e){return e.reduce((t,r)=>t+loe(r),0)}function loe(e){return e.type==="text"?e.text.length:kee}function bk(e){const t=[];for(const r of e){if(r.type==="text"){if(!r.text)continue;const n=t[t.length-1];n?.type==="text"?n.text+=r.text:t.push({type:"text",text:r.text});continue}t.push(r)}return t}function fpe(e){const t=new Map;for(const r of e)r.type==="capability"&&t.set(r.key,r);return t}function F9t(e){const t=new Set;for(const r of e)r.type==="capability"&&t.add(r.key);return t}function wSe(e){const t=new Set;for(const r of e)r.type==="capability"&&t.add(coe(r.capability));return t}function coe(e){return`${e.type}:${e.id}`}function ppe(e,t,r){const n=[];let o=0;for(const a of e){const i=loe(a),s=o,l=o+i;if(o=l,l<=t)continue;if(s>=r)break;if(a.type==="capability"){s>=t&&l<=r&&n.push(a);continue}const u=Math.max(0,t-s),d=Math.min(a.text.length,r-s),f=a.text.slice(u,d);f&&n.push({type:"text",text:f})}return bk(n)}function D4(e,t,r,n){const o=Math.max(0,Math.min(t,r)),a=Math.max(o,r),i=Xo(e),s=ppe(e,0,Math.min(o,i)),l=ppe(e,Math.min(a,i),i);return bk([...s,...n,...l])}function q9t(e,t){return bk(e.filter(r=>r.type!=="capability"||r.capability.type!==t.type||r.capability.id!==t.id))}function H9t(e,t,r){let n=0;for(const o of e){const a=loe(o),i=n,s=n+a;if(n=s,o.type==="capability"&&(r==="before"&&t===s||r==="after"&&t===i))return o}return null}function $9t(e,t){const r=[],n=a=>{a&&r.push({type:"text",text:a.replace(/\u00a0/g," ")})},o=a=>{if(a.nodeType===Node.TEXT_NODE){n(a.textContent??"");return}if(!(a instanceof HTMLElement)){a.childNodes.forEach(o);return}if(a.matches(soe)){const i=a.dataset.composerCapabilityKey,s=i?t.get(i):null;s&&r.push(s);return}if(a.tagName==="BR"){n(`
788
+ `),files:r}}function wCt(e){return Ba(e)&&e.type==="McpApp"&&typeof e.appInstanceId=="string"&&typeof e.resourceUri=="string"}function CCt({data:e,messageId:t,className:r,mcpApps:n}){const{i18n:o}=Rt(),{client:a,isLoading:i,submit:s}=Nx(),l=w.useRef(null),u=w.useRef(null),d=w.useRef(null),f=w.useRef(!1),p=w.useRef(!1),g=w.useRef(null),b=w.useRef(null),v=w.useRef(null),C=w.useRef(e.appInstanceToken),S=w.useRef(0),M=w.useRef(!1),T=w.useRef(e.appInstanceId),[A,R]=w.useState(null),[I,L]=w.useState(e.appInstanceToken),[N,V]=w.useState(null),[P,G]=w.useState(420),[Q,re]=w.useState("inline"),[K,Z]=w.useState(null),[z,O]=w.useState(null),[D,$]=w.useState(null),[q,U]=w.useState(null),[oe,W]=w.useState(!0),[he,we]=w.useState(!1),ve=w.useMemo(()=>fCt(n,A?.domain??e.domain),[e.domain,n,A?.domain]);w.useEffect(()=>{C.current=I},[I]);const fe=w.useCallback(nt=>{l.current=nt,nt?.contentWindow&&(u.current=nt.contentWindow)},[]),Le=w.useCallback(nt=>{l.current?.contentWindow?.postMessage(nt,ve?.origin??"*")},[ve?.origin]),Oe=w.useCallback(async nt=>a.mcp.apps.rpc(e.appInstanceId,{jsonrpc:"2.0",id:nt.id??null,method:nt.method,params:nt.params},jb(e,{appInstanceToken:I,messageId:t})),[a,e,t,I]),Te=w.useCallback(()=>{b.current=null,v.current=null,Z(null),O(null),$(null)},[]),rt=w.useCallback((nt,Xe)=>S.current!==nt&&T.current===Xe,[]),dt=w.useCallback((nt,Xe)=>{const se=F7t(Xe,nt);if(se){if(b.current){Le(Ws(nt.id,"Another MCP App approval request is already pending",-32004));return}b.current=se,Z(se),$(null);return}const be=P7t(Xe);if(nt.method==="ui/request-display-mode"&&be&&re(be),nt.method==="ui/download-file"&&bX(Xe))try{V7t(nt.params)}catch(je){Le(Ws(nt.id,Cd(je),-32005));return}Le(Xe)},[Le]),Wt=w.useCallback(async nt=>{try{dt(nt,await Oe(nt))}catch(Xe){Le(Ws(nt.id,Cd(Xe)))}},[Oe,Le,dt]),zt=w.useCallback(async nt=>{const Xe=b.current;if(!Xe||v.current)return;if(Xe.expiresAt<=Date.now()){Te(),Le(Ws(Xe.request.id,"The MCP App approval request expired",-32003));return}v.current=nt,O(nt),$(null);const se=jb(e,{appInstanceToken:I,messageId:t});try{if(nt==="reject"){await a.mcp.apps.reject(e.appInstanceId,Xe.approvalId,se),Te(),Le(Ws(Xe.request.id,"The user rejected the MCP App action",-32002,{approvalId:Xe.approvalId,rejected:!0}));return}await a.mcp.apps.approve(e.appInstanceId,Xe.approvalId,se);const be=q7t(Xe.request,Xe.approvalId),je=await Oe(be);Te(),dt(be,je)}catch(be){v.current=null,O(null),$(Cd(be))}},[Oe,Te,a,e,t,Le,dt,I]),Pt=w.useCallback(()=>{!f.current||p.current||!A||(p.current=!0,Le({jsonrpc:"2.0",method:"ui/notifications/tool-input",params:{arguments:A.toolInput}}),A.hasToolResult&&Le({jsonrpc:"2.0",method:"ui/notifications/tool-result",params:{...A.toolResult,toolCallId:e.toolCallId,toolName:e.toolName,result:A.rawToolResult}}))},[e.toolCallId,e.toolName,Le,A]);w.useEffect(()=>{const nt=new AbortController;return f.current=!1,p.current=!1,b.current=null,v.current=null,L(e.appInstanceToken),C.current=e.appInstanceToken,M.current=!1,we(!1),re("inline"),Z(null),O(null),$(null),W(!0),U(null),R(null),V(null),(async()=>{try{const Xe=await a.mcp.apps.getResource(e.appInstanceId,jb(e,{messageId:t}),{signal:nt.signal}),se=gCt(Xe,e);R(se);const be=se.appInstanceToken??e.appInstanceToken;C.current=be,L(be);const je=bee(o.language);V(sCt(Q7t(oCt(se.html,je),se.csp??e.csp),Jfe(d.current)))}catch(Xe){nt.signal.aborted||U(Cd(Xe))}finally{nt.signal.aborted||W(!1)}})(),()=>{nt.abort()}},[a,e,e.appInstanceId,e.appInstanceToken,e.csp,o.language,t]),w.useEffect(()=>{const nt=++S.current;return T.current=e.appInstanceId,()=>{const Xe=u.current,se=ve?.origin??"*",be=jb(e,{appInstanceToken:C.current,messageId:t}),je=b.current;queueMicrotask(()=>{if(!rt(nt,e.appInstanceId)&&!M.current){M.current=!0;try{Xe?.postMessage({jsonrpc:"2.0",id:`xpert-teardown-${e.appInstanceId}`,method:"ui/resource-teardown",params:{reason:"host-unmount"}},se)}catch{}(async()=>(je&&await a.mcp.apps.reject(e.appInstanceId,je.approvalId,be).catch(()=>{}),await a.mcp.apps.teardown(e.appInstanceId,be).catch(()=>{})))()}})}},[a,e,e.appInstanceId,rt,t,ve?.origin]),w.useEffect(()=>{if(!K)return;const nt=K.expiresAt-Date.now();if(nt<=0){Te(),Le(Ws(K.request.id,"The MCP App approval request expired",-32003));return}const Xe=window.setTimeout(()=>{b.current?.approvalId===K.approvalId&&(Te(),Le(Ws(K.request.id,"The MCP App approval request expired",-32003)))},nt);return()=>window.clearTimeout(Xe)},[Te,K,Le]),w.useEffect(()=>{Pt()},[Pt]),w.useEffect(()=>{f.current&&Le({jsonrpc:"2.0",method:"ui/notifications/host-context-changed",params:{displayMode:Q,containerDimensions:xX(d.current)}})},[Q,P,Le]),w.useEffect(()=>{const nt=async Xe=>{if(Xe.source!==l.current?.contentWindow||ve&&Xe.origin!==ve.origin)return;const se=rCt(Xe.data);if(se?.method){if(se.method==="ui/notifications/sandbox-proxy-ready"&&ve&&N){const be=A?.permissions??e.permissions,je=A?.csp??e.csp;Le({jsonrpc:"2.0",method:"ui/notifications/sandbox-resource-ready",params:{html:N,sandbox:pCt(ve.dedicatedOrigin),...je?{csp:je}:{},...be?{permissions:be}:{}}});return}if(se.method==="ui/notifications/initialized"){f.current=!0,Pt();return}if(se.method==="ui/notifications/size-changed"){const be=Ba(se.params)&&typeof se.params.height=="number"?se.params.height:null;be!==null&&G(Math.min(900,Math.max(240,Math.round(be))));return}if(se.method==="ui/notifications/request-teardown"){if(M.current)return;M.current=!0,Le({jsonrpc:"2.0",id:`xpert-teardown-${e.appInstanceId}`,method:"ui/resource-teardown",params:{reason:"app-requested"}});const be=jb(e,{appInstanceToken:C.current,messageId:t}),je=b.current;try{je&&await a.mcp.apps.reject(e.appInstanceId,je.approvalId,be),await a.mcp.apps.teardown(e.appInstanceId,be),Te(),we(!0)}catch(lt){M.current=!1,U(Cd(lt))}return}if(se.method==="ui/initialize"){f.current=!0;const be=A?.permissions??e.permissions,je=A?.csp??e.csp,lt=A?.toolInfo??uSe(void 0,e),Ke=Jfe(d.current),qt=bee(o.language),Pr=lSe(qt),Xt=cSe(qt);Le(nCt(se.id,{protocolVersion:"2026-01-26",hostInfo:{name:"xpert-chatkit",version:"1.0.0",title:"Xpert ChatKit"},hostCapabilities:{serverTools:{},serverResources:{},openLinks:{},logging:{},message:{text:{},image:{},audio:{},resource:{},resourceLink:{}},updateModelContext:{text:{},structuredContent:{}},sandbox:{...be?{permissions:be}:{},...je?{csp:je}:{}},downloadFile:{}},hostContext:{toolInfo:lt,theme:Ke.mode,styles:{variables:Ke.cssVariables},themeCssVariables:Ke.cssVariables,locale:qt,language:Pr,direction:Xt,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,displayMode:Q,availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:xX(d.current),userAgent:"xpert-chatkit",platform:"web",deviceCapabilities:{touch:navigator.maxTouchPoints>0,hover:typeof window.matchMedia=="function"?window.matchMedia("(hover: hover)").matches:!1}},capabilities:{displayModes:["inline","fullscreen","pip"],serverTools:!0,serverResources:!0,openLinks:!0},context:{toolInfo:lt,theme:Ke.mode,themeCssVariables:Ke.cssVariables,locale:qt,language:Pr,direction:Xt,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,displayMode:Q,availableDisplayModes:["inline","fullscreen","pip"],containerDimensions:xX(d.current),userAgent:navigator.userAgent,platform:navigator.platform}})),Pt();return}if(se.method==="ui/open-link"){const be=Ba(se.params)&&typeof se.params.url=="string"?se.params.url:Ba(se.params)&&typeof se.params.href=="string"?se.params.href:null;if(!be||!yCt(be)){se.id!==void 0&&Le(Ws(se.id,"Invalid URL"));return}try{const je=await Oe({...se,params:{url:be}});bX(je)&&window.open(be,"_blank","noopener,noreferrer"),Le(je)}catch(je){Le(Ws(se.id,Cd(je)))}return}if(se.method==="ui/update-model-context"){try{const be=await Oe(se);bX(be)&&(g.current=se.params),Le(be)}catch(be){Le(Ws(se.id,Cd(be)))}return}if(se.method==="ui/message"){try{if(!Ba(se.params)||se.params.role!=="user"||!Array.isArray(se.params.content))throw new Error('ui/message params must include role "user" and content blocks');const be=await Oe(se);if(Ba(be)&&be.error){Le(be);return}const je=vCt(se.params.content);await s({input:{input:je.input,...je.files.length?{files:je.files}:{}}},{...i?{followUpMode:"queue"}:{},context:{mcpApp:{appInstanceId:e.appInstanceId,resourceUri:e.resourceUri,toolName:e.toolName,toolCallId:e.toolCallId,modelContext:g.current}}}),Le(be)}catch(be){Le(Ws(se.id,Cd(be)))}return}se.id===void 0&&se.method.startsWith("ui/")||await Wt(se)}};return window.addEventListener("message",nt),()=>{window.removeEventListener("message",nt)}},[Oe,Te,a,e,Wt,Q,o.language,t,Le,A?.csp,A?.permissions,A?.toolInfo,ve,Pt,N,i,s]);const zr=A?.permissions??e.permissions,pr=w.useMemo(()=>cCt(zr),[zr]),pt=ve?"allow-scripts allow-same-origin":xee(),it=A?.prefersBorder??e.prefersBorder??!0,Dr=vo(A?.title??e.title,o.language)??e.toolName,cn=vo(A?.description??e.description,o.language),$r=A?.icon??e.icon,yr=Q!=="inline";return he?null:y.jsxs(y.Fragment,{children:[Q==="fullscreen"?y.jsx("div",{"aria-hidden":"true",className:"fixed inset-0 z-[79] bg-background/80 backdrop-blur-sm"}):null,y.jsxs("div",{ref:d,"data-display-mode":Q,className:ie("relative flex flex-col overflow-hidden rounded-lg border bg-background shadow-sm",Q==="fullscreen"&&"fixed inset-4 z-[80] shadow-2xl",Q==="pip"&&"fixed right-4 bottom-4 z-[80] h-[min(640px,calc(100vh-2rem))] w-[min(480px,calc(100vw-2rem))] shadow-2xl",!it&&"border-transparent shadow-none",r),children:[y.jsxs("div",{className:"flex min-h-10 items-center justify-between gap-3 border-b px-3 py-2",children:[y.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[$r?y.jsx(vg,{icon:$r,size:18,className:"shrink-0",decorative:!0}):null,y.jsxs("div",{className:"min-w-0",children:[y.jsx("div",{className:"truncate text-sm font-medium",children:Dr}),y.jsx("div",{className:"truncate text-[11px] text-muted-foreground",children:cn??e.resourceUri})]})]}),y.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[Q!=="fullscreen"?y.jsx(Zn,{type:"button",variant:"ghost",size:"icon-xs",title:o.t("message.mcpApp.fullscreen"),"aria-label":o.t("message.mcpApp.fullscreen"),onClick:()=>re("fullscreen"),children:y.jsx(ome,{})}):null,Q!=="pip"?y.jsx(Zn,{type:"button",variant:"ghost",size:"icon-xs",title:o.t("message.mcpApp.pictureInPicture"),"aria-label":o.t("message.mcpApp.pictureInPicture"),onClick:()=>re("pip"),children:y.jsx(JRe,{})}):null,yr?y.jsx(Zn,{type:"button",variant:"ghost",size:"icon-xs",title:o.t("message.mcpApp.returnInline"),"aria-label":o.t("message.mcpApp.returnInline"),onClick:()=>re("inline"),children:y.jsx(sme,{})}):null,y.jsx(Ag,{variant:"secondary",className:"ml-1 rounded-md",children:"MCP App"})]})]}),K?y.jsx("div",{role:"alertdialog","aria-modal":"true","aria-labelledby":`mcp-app-approval-${K.approvalId}`,className:"absolute inset-0 z-20 flex items-center justify-center bg-background/90 p-4 backdrop-blur-sm",children:y.jsxs("div",{className:"flex max-h-full w-full max-w-lg flex-col gap-4 overflow-hidden rounded-lg border bg-background p-4 shadow-xl",children:[y.jsxs("div",{className:"flex items-start gap-3",children:[y.jsx("div",{className:"rounded-full bg-destructive/10 p-2 text-destructive",children:y.jsx(pze,{className:"size-5"})}),y.jsxs("div",{className:"min-w-0 flex-1",children:[y.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[y.jsx("h3",{id:`mcp-app-approval-${K.approvalId}`,className:"text-sm font-semibold",children:o.t("message.mcpApp.approvalTitle")}),y.jsx(Ag,{variant:"outline",className:"border-destructive/40 text-destructive",children:K.risk})]}),y.jsx("p",{className:"mt-1 text-xs text-muted-foreground",children:o.t(K.kind==="download"?"message.mcpApp.downloadApprovalDescription":"message.mcpApp.toolApprovalDescription",{tool:K.toolName})})]})]}),y.jsxs("div",{className:"min-h-0",children:[y.jsx("div",{className:"mb-1 text-xs font-medium",children:o.t("message.mcpApp.requestDetails")}),y.jsx("pre",{className:"max-h-48 overflow-auto rounded-md border bg-muted/40 p-3 text-[11px] leading-5 whitespace-pre-wrap break-all",children:K.details})]}),D?y.jsxs("div",{role:"alert",className:"flex items-start gap-2 text-xs text-destructive",children:[y.jsx(VX,{className:"mt-0.5 size-4 shrink-0"}),y.jsx("span",{children:D})]}):null,y.jsxs("div",{className:"flex justify-end gap-2",children:[y.jsxs(Zn,{type:"button",variant:"outline",disabled:z!==null,onClick:()=>{zt("reject")},children:[z==="reject"?y.jsx(uo,{className:"animate-spin"}):null,o.t("message.mcpApp.reject")]}),y.jsxs(Zn,{type:"button",variant:K.risk==="destructive"?"destructive":"default",disabled:z!==null,onClick:()=>{zt("approve")},children:[z==="approve"?y.jsx(uo,{className:"animate-spin"}):null,o.t("message.mcpApp.approve")]})]})]})}):null,oe?y.jsxs("div",{className:ie("flex h-40 items-center justify-center gap-2 text-sm text-muted-foreground",yr&&"min-h-0 flex-1"),children:[y.jsx(uo,{className:"h-4 w-4 animate-spin"}),y.jsx("span",{children:o.t("message.mcpApp.loading")})]}):q?y.jsxs("div",{className:ie("flex h-40 items-center justify-center gap-2 px-4 text-sm text-destructive",yr&&"min-h-0 flex-1"),children:[y.jsx(VX,{className:"h-4 w-4 shrink-0"}),y.jsx("span",{className:"min-w-0 break-words",children:q})]}):N?y.jsx("iframe",{ref:fe,title:Dr,...ve?{src:ve.url}:{srcDoc:N},className:ie("block w-full bg-background",yr&&"min-h-0 flex-1"),style:yr?void 0:{height:P},sandbox:pt,allow:pr,referrerPolicy:"no-referrer"}):null]})]})}const SCt="space-y-3 in-data-[density=compact]:space-y-2 in-data-[density=spacious]:space-y-4";function MCt(e){return e.type==="text"}function _Ct(e){return e.type==="reasoning"}function TCt(e){return e.type==="image_url"}function ACt(e){return e.type==="component"}function LCt(e){const t=e.data;return t?.type==="Widget"&&Array.isArray(t.widgets)}function ioe(e){return wCt(e.data)}function ECt(e){return e.type==="memory"}function XU(e){try{return JSON.stringify(e,null,2)}catch{return String(e)}}function vX(e){return typeof e=="string"?e:XU(e)}function ICt(e){return e==="loading"?"running":"review"}function fSe({reasoning:e}){const t=e.filter(r=>r.text?.trim());return t.length===0?null:y.jsx("div",{className:"space-y-2",children:t.map((r,n)=>y.jsx("div",{className:"rounded-lg border bg-muted/40 p-3 text-xs text-muted-foreground",children:y.jsx("p",{className:"whitespace-pre-wrap wrap-break-word leading-relaxed",children:r.text})},r.id??`reasoning-${n}`))})}function RCt({content:e}){const t=typeof e.image_url=="string"?e.image_url:typeof e.image_url?.url=="string"?e.image_url.url:null;return t?y.jsx("figure",{className:"overflow-hidden rounded-lg border bg-background",children:y.jsx("img",{src:t,alt:"Assistant output",className:"h-auto w-full object-cover"})}):y.jsxs(Kx,{children:[y.jsx(Yx,{className:"space-y-1",children:y.jsx(Xx,{className:"text-sm",children:"Image"})}),y.jsx(Qx,{className:"text-xs text-muted-foreground",children:XU(e)})]})}function zCt({content:e}){return y.jsxs(Kx,{children:[y.jsxs(Yx,{className:"flex flex-row items-center justify-between gap-2",children:[y.jsx(Xx,{className:"text-sm",children:"Memory"}),y.jsx(Ag,{variant:"secondary",children:"Memory"})]}),y.jsx(Qx,{className:"text-xs text-muted-foreground",children:y.jsx("pre",{className:"whitespace-pre-wrap wrap-break-word",children:XU(e.data??[])})})]})}function ipe(e){if(e instanceof Date){const r=e.getTime();return Number.isNaN(r)?null:r}if(typeof e!="string")return null;const t=Date.parse(e);return Number.isNaN(t)?null:t}function DCt(e){if(e<1e3)return`${e}ms`;if(e<1e4)return`${(e/1e3).toFixed(1)}s`;if(e<6e4)return`${Math.round(e/1e3)}s`;const t=Math.floor(e/36e5),r=Math.floor(e%36e5/6e4),n=Math.floor(e%6e4/1e3);return t>0?`${t}h ${r}m ${n}s`:`${r}m ${n}s`}function OCt({content:e}){const{i18n:t}=Rt(),[r,n]=w.useState(!1),o=w.useRef(null),a=w.useRef(!0),i=w.useRef(0),[s,l]=w.useState(()=>Date.now()),u=ph(e),d=u.category??"Component",f=roe(e,t.language),p=u.status??null,g=u.message??null,b=u.output??null,v=u.error??null,C=g??b??u.data??u,S=g!==null||b!==null,M=ipe(u.created_date),T=ipe(u.end_date),A=M===null?null:Math.max(0,(T??s)-M),R=A===null?null:DCt(A);w.useEffect(()=>{p==="running"&&b!==null&&n(!0)},[p,b]),w.useEffect(()=>{if(p!=="running"||M===null||T!==null)return;l(Date.now());const N=window.setInterval(()=>{l(Date.now())},100);return()=>{window.clearInterval(N)}},[M,T,p]),w.useEffect(()=>{const N=o.current;if(!N)return;i.current=N.scrollTop;const V=()=>{const P=N.scrollTop,G=P<i.current-1;if(i.current=P,G){a.current=!1;return}a.current=sge(N)};return V(),N.addEventListener("scroll",V,{passive:!0}),()=>{N.removeEventListener("scroll",V)}},[r]),w.useEffect(()=>{if(p!=="running"){a.current=!0;return}const N=o.current;!N||!a.current||(N.scrollTop=N.scrollHeight)},[r,b,p]);const I=p?eSe[p]:null,L=I?.icon;return y.jsxs(Kx,{children:[y.jsxs(Yx,{className:"flex flex-row items-center justify-between gap-2 px-2 py-1 cursor-pointer",onClick:()=>n(!r),children:[y.jsxs("div",{className:"flex items-center space-x-1 flex-1 min-w-0",children:[p&&L&&y.jsx(L,{className:ie("h-4 w-4",I?.iconClass,p==="running"&&"animate-spin")}),y.jsx(Xx,{className:"text-sm truncate",children:f})]}),y.jsxs("div",{className:"flex flex-wrap items-center gap-2 shrink-0",children:[R&&y.jsxs("div",{className:"inline-flex items-center gap-1 text-[11px] text-muted-foreground tabular-nums",children:[y.jsx(Hee,{className:"h-3 w-3"}),y.jsx("span",{children:R})]}),y.jsx(Ag,{variant:"secondary",className:"rounded-lg px-1.5",children:d}),y.jsx("button",{className:"text-muted-foreground hover:text-foreground transition-colors","aria-label":r?"Collapse":"Expand",children:y.jsx(mc,{className:ie("h-4 w-4 transition-transform",r&&"rotate-180")})})]})]}),r&&y.jsxs(Qx,{ref:o,className:"text-xs text-muted-foreground max-h-60 overflow-auto",children:[u.input&&y.jsx("pre",{className:"whitespace-pre-wrap wrap-break-word",children:vX(u.input)}),v?y.jsx("pre",{className:"whitespace-pre-wrap wrap-break-word text-destructive",children:vX(v)}):S&&y.jsx("pre",{className:"whitespace-pre-wrap wrap-break-word",children:vX(C)})]})]})}function BCt({content:e}){return y.jsxs(Kx,{children:[y.jsxs(Yx,{className:"flex flex-row items-center justify-between gap-2",children:[y.jsx(Xx,{className:"text-sm",children:"Assistant Content"}),y.jsx(Ag,{variant:"outline",children:e.type??"unknown"})]}),y.jsx(Qx,{className:"text-xs text-muted-foreground",children:y.jsx("pre",{className:"whitespace-pre-wrap break-words",children:XU(e)})})]})}function NCt(e,t,r,n,o){const a=r.id,i=o?.isAgentOutput?"text-sm [&_.markdown-content_p]:!leading-6":void 0;if(typeof e=="string")return y.jsx("div",{className:i,children:y.jsx(see,{children:e})},`text-${t}`);if(yc(e))return null;if(MCt(e))return y.jsx("div",{className:i,children:y.jsx(see,{children:e.text})},e.id??`text-${t}`);if(_Ct(e))return y.jsx("div",{children:y.jsx(fSe,{reasoning:[e]})},e.id??`reasoning-${t}`);if(TCt(e))return y.jsx("div",{children:y.jsx(RCt,{content:e})},e.id??`image-${t}`);if(ACt(e)){if(k9e(e))return y.jsx("div",{className:"w-full",children:y.jsx(M3t,{content:e})},e.id??`context-compression-${t}`);const s=noe(e,n);return s?y.jsx("div",{children:y.jsx(_7t,{result:s})},e.id??`request-user-input-result-${t}`):LCt(e)?y.jsx("div",{children:y.jsx(T7t,{messageId:a,data:e.data})},e.id??`widget-${t}`):ioe(e)?y.jsx("div",{children:y.jsx(CCt,{messageId:a,data:e.data,mcpApps:o?.mcpApps})},e.id??`mcp-app-${t}`):K3t(e,ph(e))==="grouped-step"?y.jsx("div",{children:y.jsx(nSe,{items:[e],hasFollowingItem:!1,isThreadRunning:o?.isThreadRunning,organizationId:o?.organizationId,apiUrl:o?.apiUrl})},e.id??`component-group-${t}`):y.jsx("div",{children:y.jsx(OCt,{content:e})},e.id??`component-${t}`)}return ECt(e)?y.jsx("div",{children:y.jsx(zCt,{content:e})},e.id??`memory-${t}`):dte(e)?y.jsx("div",{children:y.jsx(x3t,{content:e})},e.id??`agent-event-${t}`):y.jsx("div",{children:y.jsx(BCt,{content:e})},e.id??`unknown-${t}`)}function pSe(e,t,r,n,o){return e.type==="item"?NCt(e.item,e.index,t,r,{isThreadRunning:o?.isThreadRunning,organizationId:o?.organizationId,apiUrl:o?.apiUrl,isAgentOutput:o?.isAgentOutput,mcpApps:o?.mcpApps}):y.jsx("div",{children:y.jsx(nSe,{items:e.items,hasFollowingItem:n,isThreadRunning:o?.isThreadRunning,organizationId:o?.organizationId,apiUrl:o?.apiUrl})},`tool-group-${e.startIndex}-${e.items[0]?.id??"tool"}`)}function jCt(e,t,r,n,o){if(e.length===0)return null;const a=tSe(e.map(i=>i.item),{shouldGroupComponent:i=>noe(i,r)===null&&!ioe(i)});return a.map((i,s)=>pSe(i,t,r,s<a.length-1||n,o))}function mSe(e,t,r,n,o=0){const a=[];let i=[];const s=l=>{if(i.length===0)return;const u=i;i=[],a.push(y.jsx(w.Fragment,{children:jCt(u,t,r,l,{...n,isAgentOutput:o>0})},`entries-${u[0]?.order??a.length}`))};return e.forEach((l,u)=>{const d=u<e.length-1;if(l.type==="entry"){i.push(l.entry),d||s(!1);return}s(!0),a.push(y.jsx(k3t,{node:l.node,hasFollowingItem:d,depth:o,renderUnits:(f,p)=>mSe(f,t,r,n,p)},l.node.id))}),a}function PCt(e,t,r){const n=Ike(e);if(n.hasAgentRuns)return y.jsx("div",{className:SCt,children:mSe(n.units,e,t,r)});const o=e.content;if(typeof o=="string")return o.trim()?y.jsx(see,{children:o}):null;if(!Array.isArray(o)||o.length===0)return null;const a=tSe(o,{shouldGroupComponent:i=>noe(i,t)===null&&!ioe(i)});return y.jsx("div",{className:"space-y-3",children:a.map((i,s)=>pSe(i,e,t,s<a.length-1,r))})}function vH({status:e,className:t}){const{t:r}=Rt(),n={loading:r("message.loading"),thinking:r("message.thinking"),answering:r("message.answering")};return y.jsxs("div",{className:ie("flex items-center gap-2 text-xs text-muted-foreground",t),children:[e==="loading"&&y.jsx(uo,{className:"h-3.5 w-3.5 animate-spin"}),e==="thinking"&&y.jsxs("div",{className:"flex items-end gap-1","aria-hidden":"true",children:[y.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-current animate-bounce [animation-delay:-0.3s]"}),y.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-current animate-bounce [animation-delay:-0.15s]"}),y.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-current animate-bounce"})]}),e==="answering"&&y.jsxs("div",{className:"flex items-end gap-1","aria-hidden":"true",children:[y.jsx("span",{className:"h-2 w-0.5 rounded-full bg-current animate-pulse [animation-delay:-0.25s]"}),y.jsx("span",{className:"h-3 w-0.5 rounded-full bg-current animate-pulse [animation-delay:-0.1s]"}),y.jsx("span",{className:"h-2.5 w-0.5 rounded-full bg-current animate-pulse"})]}),y.jsx("span",{children:n[e]})]})}function FCt({message:e,messages:t,className:r,isStreaming:n=!1,streamingStatus:o,isThreadRunning:a,organizationId:i,apiUrl:s,pet:l,mcpApps:u}){const{t:d}=Rt(),f=Ike(e),p=f.hasAgentRuns?f.rootReasoning:e.reasoning,g=ige(e.content)||f.hasAgentRuns,b=lte(p),v=o??m4(e,n),C=t?.length?t:[e],S=v?ICt(v):null,M=S?y.jsx(Jet,{pet:l,state:S}):null,T=PCt(e,C,{isThreadRunning:a,organizationId:i,apiUrl:s,mcpApps:u}),A=b?y.jsx(fSe,{reasoning:p??[]}):null;if(!g&&!b&&!v)return null;const R=n?"streaming-active":"";return!g&&!b&&v?y.jsx("div",{className:ie("space-y-3",R,r),children:y.jsxs("div",{className:"flex items-center gap-2",children:[M,y.jsx(vH,{status:v})]})}):g&&b?y.jsxs("div",{className:ie("space-y-3",R,r),children:[y.jsxs(fU,{defaultValue:e.status==="reasoning"?"reasoning":"answer",className:"w-full",children:[y.jsxs("div",{className:"flex items-center gap-2",children:[M,y.jsxs(Jx,{className:"",children:[y.jsx(ku,{value:"answer",children:d("message.answer")}),y.jsx(ku,{value:"reasoning",children:d("message.reasoning")})]})]}),y.jsx(vu,{value:"answer",className:"space-y-3",children:T}),y.jsx(vu,{value:"reasoning",className:"space-y-3",children:A})]}),v?y.jsx(vH,{status:v}):null]}):y.jsxs("div",{className:ie("space-y-3",R,r),children:[b?A:T,v?y.jsxs("div",{className:"flex items-center gap-2",children:[M,y.jsx(vH,{status:v})]}):null]})}const gSe=12;function qCt(e,t,r){if(r>=0){const n=Math.abs(e-r);return n===0?"w-7":n===1?"w-5":n===2?"w-3.5":"w-2"}return t?"w-5":"w-2"}function ySe(e,t){return t.offsetTop-e.offsetTop}function HCt(e,t,r){if(!t||e.length===0)return null;const n=t.scrollTop+gSe;let o=e[0]?.id??null;for(const a of e){const i=r(a);if(i){if(ySe(t,i)<=n){o=a.id;continue}break}}return o}function $Ct(e,t){const r=Math.max(0,ySe(e,t)-gSe);if(typeof e.scrollTo=="function"){e.scrollTo({top:r,behavior:"smooth"});return}e.scrollTop=r}function VCt({items:e,viewportRef:t,getAnchor:r,onNavigate:n,className:o,label:a,tagsOverflowLabel:i}){const[s,l]=w.useState(null),[u,d]=w.useState(null),[f,p]=w.useState(null),g=w.useCallback(()=>{const S=t.current;p(HCt(e,S,r))},[r,e,t]);w.useLayoutEffect(()=>{g()},[g]),w.useEffect(()=>{const S=t.current;if(!S)return;let M=null;const T=()=>{M===null&&(M=requestAnimationFrame(()=>{M=null,g()}))};S.addEventListener("scroll",T,{passive:!0}),window.addEventListener("resize",T,{passive:!0});const A=typeof ResizeObserver<"u"?new ResizeObserver(T):null;return A?.observe(S),()=>{M!==null&&cancelAnimationFrame(M),S.removeEventListener("scroll",T),window.removeEventListener("resize",T),A?.disconnect()}},[g,t]);const b=w.useCallback(S=>{const M=t.current,T=r(S);!M||!T||(n?.(),$Ct(M,T),p(S.id))},[r,n,t]);if(e.length===0)return null;const v=u??s,C=v?e.findIndex(S=>S.id===v):-1;return y.jsx("nav",{"aria-label":a,className:ie("pointer-events-none sticky top-16 z-20 hidden h-0 w-0 shrink-0 self-start md:block",o),"data-slot":"chatkit-message-navigator",children:y.jsx("div",{className:"group/nav relative h-[calc(100vh-9rem)] w-12",children:y.jsx("div",{className:"absolute left-2 top-1/2 flex max-h-full w-10 -translate-y-1/2 flex-col gap-0.5 py-1",children:e.map((S,M)=>{const T=S.id===f,A=S.id===s||S.id===u;return y.jsxs("div",{className:"relative h-3.5 w-10 shrink-0",children:[y.jsx("button",{type:"button","aria-label":`${S.title}: ${S.preview}`,"aria-current":T?"location":void 0,className:ie("pointer-events-auto flex h-3.5 w-10 items-center justify-start rounded-sm outline-none","focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"),onClick:()=>b(S),onMouseEnter:()=>l(S.id),onMouseLeave:()=>l(R=>R===S.id?null:R),onFocus:()=>d(S.id),onBlur:()=>d(R=>R===S.id?null:R),children:y.jsx("span",{className:ie("block h-0.5 rounded-full bg-muted-foreground/25 transition-all duration-150",qCt(M,T,C),T&&"bg-foreground",A&&"bg-foreground",C>=0&&!T&&!A&&"bg-muted-foreground/35")})}),A&&y.jsxs("div",{className:ie("pointer-events-none absolute left-9 top-1/2 z-30 w-80 max-w-[min(20rem,calc(100vw-6rem))] -translate-y-1/2","rounded-lg border border-border bg-background/95 p-3 text-left shadow-xl backdrop-blur"),children:[y.jsx("div",{className:"mb-1 truncate text-sm font-medium text-foreground",children:S.title}),y.jsx("div",{className:"line-clamp-2 text-sm leading-5 text-muted-foreground",children:S.preview}),S.tags.length>0&&y.jsxs("div",{className:"mt-2 flex flex-wrap gap-1.5",children:[S.tags.slice(0,3).map(R=>y.jsx("span",{className:"max-w-[8rem] truncate rounded-md bg-muted px-1.5 py-0.5 text-[11px] leading-4 text-muted-foreground",children:R},R)),S.tags.length>3&&y.jsx("span",{className:"rounded-md bg-muted px-1.5 py-0.5 text-[11px] leading-4 text-muted-foreground",children:i(S.tags.length-3)})]})]})]},S.id)})})})})}function UCt({content:e,isAssistant:t=!1,isStreaming:r=!1,onRetry:n,className:o}){const{t:a}=Rt(),[i,s]=w.useState(!1),l=async()=>{try{await navigator.clipboard.writeText(e),s(!0),setTimeout(()=>s(!1),2e3)}catch(u){console.error("Failed to copy:",u)}};return r?null:y.jsxs("div",{className:ie("flex items-center gap-1 mt-2 opacity-0 group-hover:opacity-100 transition-opacity",o),children:[y.jsx("button",{type:"button",onClick:l,className:ie("p-1.5 rounded-md text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",i&&"text-green-500"),title:a(i?"messageActions.copied":"messageActions.copy"),children:i?y.jsx(ai,{size:14}):y.jsx($g,{size:14})}),t&&n&&y.jsx("button",{type:"button",onClick:n,className:"p-1.5 rounded-md text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",title:a("messageActions.regenerate"),children:y.jsx(mV,{size:14})})]})}function WCt(e){const t={"circle-question":y.jsx(u4,{size:20}),lightbulb:y.jsx(rme,{size:20}),sparkle:y.jsx(_H,{size:20}),write:y.jsx(pg,{size:20}),search:y.jsx(Vg,{size:20}),globe:y.jsx(eme,{size:20}),"book-open":y.jsx(hV,{size:20}),compass:y.jsx(QIe,{size:20}),bolt:y.jsx(Eze,{size:20})};return e&&t[e]||t.sparkle}function GCt({startScreen:e,onPromptClick:t,onPromptEdit:r,promptSendDisabled:n=!1,promptEditDisabled:o=!1,className:a}){const{t:i}=Rt(),s=e?.greeting??i("startScreen.greeting"),l=e?.prompts??[],u=l.length>0,d=i("startScreen.editPrompt");return y.jsxs("div",{className:ie("flex flex-col items-center justify-center py-12 px-4",a),children:[y.jsx("div",{className:ie("mb-4 text-center",u&&"mb-10"),children:y.jsx("h2",{className:"mb-4 text-4xl font-semibold text-foreground",children:s})}),u&&y.jsx("div",{className:"w-full max-w-2xl",children:y.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:l.map((f,p)=>y.jsxs("div",{className:ie("flex items-stretch rounded-xl border bg-card text-left","transition-colors hover:border-primary/20 hover:bg-muted/50","focus-within:ring-2 focus-within:ring-primary/20"),children:[y.jsxs("button",{type:"button",disabled:n,onClick:()=>t?.(f.prompt),className:ie("flex min-w-0 flex-1 items-center gap-3 p-4 text-left overflow-hidden","focus:outline-none disabled:cursor-not-allowed disabled:opacity-50"),children:[y.jsx("span",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary",children:WCt(f.icon)}),y.jsx("div",{className:"text-sm font-medium text-foreground line-clamp-3 overflow-hidden",title:f.label,children:f.label})]}),y.jsx("button",{type:"button",disabled:o,onClick:()=>r?.(f.prompt),"aria-label":d,title:d,className:ie("flex w-12 shrink-0 items-center justify-center border-l text-muted-foreground","rounded-r-xl transition-colors hover:bg-muted hover:text-foreground","focus:outline-none disabled:cursor-not-allowed disabled:opacity-50"),children:y.jsx(pg,{size:16})})]},`prompt-${p}`))})})]})}const ZCt=50,KCt=e=>{const t=e.title?.trim();if(t)return t;bte();const r=(e.threadId??e.id??"").slice(0,8);return r?$n.t("history.threadWithId",{id:r}):$n.t("history.threadFallback")},YCt=e=>{if(!e)return;const t=Date.parse(e);if(!Number.isNaN(t))return new Date(t)},XCt=e=>{if(e){if(e instanceof Error)return e.message;if(typeof e=="string")return e;if(typeof e=="object"&&"message"in e){const t=e.message;if(typeof t=="string")return t}try{return JSON.stringify(e)}catch{return String(e)}}},QCt=e=>({id:e.threadId??e.id,recordId:e.id,title:KCt(e),status:e.status||"idle",error:e.error,lastMessageAt:YCt(e.updatedAt)}),wX=e=>[...e].sort((t,r)=>{const n=Date.parse(t.updatedAt??""),o=Date.parse(r.updatedAt??"");return(Number.isNaN(o)?0:o)-(Number.isNaN(n)?0:n)});function JCt(e=ZCt,t=!0){const{client:r,threadId:n,assistantId:o,projectId:a,isReady:i,isLoading:s,error:l}=Nx(),[u,d]=w.useState([]),[f,p]=w.useState(!1),[g,b]=w.useState(null),v=w.useCallback(R=>{d(I=>{const L=I.filter(N=>N.id!==R.id);return wX([R,...L])})},[]),C=w.useCallback(async()=>{if(t){p(!0),b(null);try{const{items:R}=await r.conversations.search({where:{xpertId:o,projectId:a??null},limit:e,order:{updatedAt:"DESC"}});d(R??[])}catch(R){b(R)}finally{p(!1)}}},[r,t,e,o,a]),S=w.useCallback(async R=>{b(null);const I={xpertId:o,...a?{projectId:a}:{}};R?.recordId&&(I.id=R.recordId),R?.threadId&&(I.threadId=R.threadId),R?.title&&(I.title=R.title),R?.options&&(I.options=R.options);const L=await r.conversations.create(I);return v(L),L},[o,r,a,v]),M=w.useCallback(async(R,I)=>{b(null);const L=await r.conversations.update(R,I);return v(L),L},[r,v]),T=w.useCallback(async R=>{b(null),await r.conversations.delete(R),d(I=>I.filter(L=>L.id!==R))},[r]);return w.useEffect(()=>{!t||!i||C()},[t,C,i]),w.useEffect(()=>{if(!n||!s)return;const R=new Date().toISOString(),I="busy";d(L=>{let N=!1;const V=L.map(P=>!(P.threadId===n||P.id===n)||P.status===I&&!P.error?P:(N=!0,{...P,status:I,error:void 0,updatedAt:R}));return N?wX(V):L})},[n,s]),w.useEffect(()=>{const R=XCt(l)?.trim();if(!n||!R)return;const I=new Date().toISOString(),L="error";d(N=>{let V=!1;const P=N.map(G=>!(G.threadId===n||G.id===n)||G.status===L&&G.error===R?G:(V=!0,{...G,status:L,error:R,updatedAt:I}));return V?wX(P):N})},[n,l]),w.useEffect(()=>{if(!i||!n||s)return;let R=!1;return r.conversations.search({where:y4(n,{xpertId:o,projectId:a}),limit:1}).then(I=>{if(R)return;const L=I.items?.[0];L&&v(L)}).catch(I=>{R||b(I)}),()=>{R=!0}},[o,r,i,s,a,n,v]),{threads:w.useMemo(()=>u.map(R=>QCt(R)),[u]),rawThreads:u,isLoading:f,error:g,refreshThreads:C,createThread:S,updateThread:M,deleteThread:T}}function e9t(e,t,r){return Math.max(Math.min(e,Math.max(t,r)),Math.min(t,r))}const q5=24,spe=4,lpe=100,t9t=({value:e,className:t,...r})=>{const n=e9t(e,0,lpe),o=(q5-spe)/2,a=2*Math.PI*o,i=n/lpe*a,s=q5/2,l={cx:s,cy:s,r:o,fill:"none",strokeWidth:spe};return y.jsxs("svg",{role:"progressbar",viewBox:`0 0 ${q5} ${q5}`,className:ie("size-6",t),"aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,...r,children:[y.jsx("circle",{...l,className:"stroke-current/25"}),y.jsx("circle",{...l,stroke:"currentColor",strokeDasharray:a,strokeDashoffset:a-i,strokeLinecap:"round",transform:`rotate(-90 ${s} ${s})`,className:"stroke-current"})]})},r9t=new Intl.NumberFormat("en-US",{minimumFractionDigits:0,maximumFractionDigits:1});function cpe(e){if(typeof e!="string")return null;const t=e.trim();return t||null}function n9t(e){return Ap(e.metadata?.context_size)??Ap(e.config?.configurable?.context_size)}function o9t(e){return cpe(e.metadata?.agent_key)??cpe(e.config?.configurable?.agentKey)}function a9t(e,t){return typeof e!="number"||!Number.isFinite(e)||e<0?0:Math.min(Math.floor(e),t)}function upe(e){return`${r9t.format(e/1e3)}k`}function i9t({label:e,className:t}){const{t:r}=Rt(),n=Nx(),[o,a]=w.useState(null),[i,s]=w.useState(null),[l,u]=w.useState(null),d=w.useRef({threadId:null,agentKey:null,usedTokens:null}),f=w.useMemo(()=>_Pe(n.contextUsageByAgentKey,l),[l,n.contextUsageByAgentKey]),p=oge(f),g=!!(n.apiUrl?.trim()&&n.apiKey?.trim());w.useEffect(()=>{if(!g||!n.client||!n.assistantId){a(null),u(null);return}let G=!1;return n.client.assistants.get(n.assistantId).then(Q=>{G||!Q||(a(n9t(Q)),u(o9t(Q)))}).catch(Q=>{G||(console.warn("[Chat] Failed to load assistant context size:",Q),u(null))}),()=>{G=!0}},[g,n.client,n.assistantId]),w.useEffect(()=>{d.current={threadId:n.threadId??null,agentKey:l,usedTokens:p}},[l,p,n.threadId]),w.useEffect(()=>{p!=null&&s(p)},[p]),w.useEffect(()=>{if(!g||!n.client){s(null);return}if(!n.threadId){s(0);return}if(p!=null||n.isLoading)return;let G=!1;const Q=n.threadId,re=l;return n.client.threads.getContextUsage(Q,re?{agentKey:re}:void 0).then(K=>Ap(K?.usage?.context_tokens)).then(K=>{if(G)return;const Z=d.current;Z.usedTokens!=null&&Z.threadId===Q&&Z.agentKey===re||s(TPe({fallbackUsedTokens:K}))}).catch(K=>{G||console.warn("[Chat] Failed to load thread context usage:",K)}),()=>{G=!0}},[l,g,p,n.apiKey,n.apiUrl,n.client,n.threadId,n.isLoading]);const b=f?.effectiveModel?.contextWindow??o;if(typeof b!="number"||!Number.isFinite(b)||b<=0)return null;const v=Math.floor(b),C=a9t(i,v),S=Math.max(0,Math.min(100,C/v*100)),M=Math.round(S),T=Math.max(0,100-M),A=upe(C),R=upe(v),I=e??r("chat.contextUsage.label"),L=r("chat.contextUsage.full",{usedPercent:M,remainingPercent:T}),N=r("chat.contextUsage.tokensUsed",{used:A,max:R}),V=I.endsWith(":")?I:`${I}:`,P=S>=90?"text-destructive":S>=75?"text-amber-500":"text-primary dark:text-zinc-300";return y.jsxs(bo,{children:[y.jsx(xo,{asChild:!0,children:y.jsx("button",{type:"button",className:ie("inline-flex items-center justify-center rounded-full focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 ring-offset-background",t),"aria-label":`${V} ${L}. ${N}`,children:y.jsx(t9t,{value:S,className:ie("size-5",P)})})}),y.jsxs(ko,{side:"top",sideOffset:6,className:"space-y-0.5 px-3 py-2 text-center",children:[y.jsx("div",{className:"text-primary-foreground/70",children:V}),y.jsx("div",{className:"font-medium text-primary-foreground/80",children:L}),y.jsx("div",{className:"text-sm font-semibold",children:N})]})]})}function Pb(e,t){const r=e.filter(n=>!n.disabled);return r.length===0?null:t&&r.some(n=>n.id===t)?t:r.find(n=>n.default)?.id??r[0]?.id??null}function dpe(e){const t=new Set;return e.flatMap(r=>{const{description:n,...o}=r,a=r.id.trim(),i=r.label.trim();return!a||!i||t.has(a)?[]:(t.add(a),[{...o,id:a,label:i,...n?.trim()?{description:n.trim()}:{}}])})}function s9t({pet:e,state:t}){const n=Xg()?.sendEvent,o=w.useMemo(()=>gV(e),[e]);return w.useEffect(()=>{n&&n("pet_options_change",{pet:e??null})},[n,e]),w.useEffect(()=>{!n||!o||n("pet_state_change",{state:t})},[o,n,t]),null}function l9t({...e}){return y.jsx(jXe,{"data-slot":"select",...e})}function c9t({className:e,...t}){return y.jsx(UXe,{"data-slot":"select-group",className:ie("scroll-my-1 p-1",e),...t})}function u9t({...e}){return y.jsx(FXe,{"data-slot":"select-value",...e})}function d9t({className:e,size:t="default",children:r,...n}){return y.jsxs(PXe,{"data-slot":"select-trigger","data-size":t,className:ie("flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...n,children:[r,y.jsx(qXe,{asChild:!0,children:y.jsx(mc,{className:"pointer-events-none size-4 text-muted-foreground"})})]})}function h9t({className:e,children:t,position:r="item-aligned",align:n="center",...o}){return y.jsx(HXe,{children:y.jsxs($Xe,{"data-slot":"select-content","data-align-trigger":r==="item-aligned",className:ie("relative z-50 max-h-(--radix-select-content-available-height) min-w-36 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",r==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:r,align:n,...o,children:[y.jsx(p9t,{}),y.jsx(VXe,{"data-position":r,className:ie("data-[position=popper]:h-(--radix-select-trigger-height) data-[position=popper]:w-full data-[position=popper]:min-w-(--radix-select-trigger-width)",r==="popper"&&""),children:t}),y.jsx(m9t,{})]})})}function f9t({className:e,children:t,...r}){return y.jsxs(WXe,{"data-slot":"select-item",className:ie("relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",e),...r,children:[y.jsx("span",{className:"pointer-events-none absolute right-2 flex size-4 items-center justify-center",children:y.jsx(ZXe,{children:y.jsx(ai,{className:"pointer-events-none"})})}),y.jsx(GXe,{children:t})]})}function p9t({className:e,...t}){return y.jsx(KXe,{"data-slot":"select-scroll-up-button",className:ie("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",e),...t,children:y.jsx(IIe,{})})}function m9t({className:e,...t}){return y.jsx(YXe,{"data-slot":"select-scroll-down-button",className:ie("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",e),...t,children:y.jsx(mc,{})})}function g9t({className:e,defaultValue:t,value:r,min:n=0,max:o=100,...a}){const i=w.useMemo(()=>Array.isArray(r)?r:Array.isArray(t)?t:[n,o],[r,t,n,o]);return y.jsxs(hQe,{"data-slot":"slider",defaultValue:t,value:r,min:n,max:o,className:ie("relative flex w-full touch-none items-center select-none data-disabled:opacity-50 data-vertical:h-full data-vertical:min-h-40 data-vertical:w-auto data-vertical:flex-col",e),...a,children:[y.jsx(fQe,{"data-slot":"slider-track",className:"relative grow overflow-hidden rounded-full bg-muted data-horizontal:h-1 data-horizontal:w-full data-vertical:h-full data-vertical:w-1",children:y.jsx(pQe,{"data-slot":"slider-range",className:"absolute bg-primary select-none data-horizontal:h-full data-vertical:w-full"})}),Array.from({length:i.length},(s,l)=>y.jsx(mQe,{"data-slot":"slider-thumb",className:"relative block size-3 shrink-0 rounded-full border border-ring bg-white ring-ring/50 transition-[color,box-shadow] select-none after:absolute after:-inset-2 hover:ring-3 focus-visible:ring-3 focus-visible:outline-hidden active:ring-3 disabled:pointer-events-none disabled:opacity-50"},l))]})}const y9t=xye("group/toggle inline-flex items-center justify-center gap-1 rounded-lg text-sm font-medium whitespace-nowrap transition-all outline-none hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 aria-pressed:bg-muted data-[state=on]:bg-muted dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-muted"},size:{default:"h-8 min-w-8 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",sm:"h-7 min-w-7 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 min-w-9 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2"}},defaultVariants:{variant:"default",size:"default"}}),bSe=w.createContext({size:"default",variant:"default",spacing:0,orientation:"horizontal"});function b9t({className:e,variant:t,size:r,spacing:n=0,orientation:o="horizontal",children:a,...i}){return y.jsx(kQe,{"data-slot":"toggle-group","data-variant":t,"data-size":r,"data-spacing":n,"data-orientation":o,style:{"--gap":n},className:ie("group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-vertical:flex-col data-vertical:items-stretch",e),...i,children:y.jsx(bSe.Provider,{value:{variant:t,size:r,spacing:n,orientation:o},children:a})})}function x9t({className:e,children:t,variant:r="default",size:n="default",...o}){const a=w.useContext(bSe);return y.jsx(vQe,{"data-slot":"toggle-group-item","data-variant":a.variant||r,"data-size":a.size||n,"data-spacing":a.spacing,className:ie("shrink-0 group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 focus:z-10 focus-visible:z-10 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-end]:pr-1.5 group-data-[spacing=0]/toggle-group:has-data-[icon=inline-start]:pl-1.5 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t",y9t({variant:a.variant||r,size:a.size||n}),e),...o,children:t})}const k9t=[{id:"batmeme",label:"Batmeme",previewSrc:"/pets/batmeme/spritesheet.webp"},{id:"boba",label:"Boba",previewSrc:"/pets/boba/spritesheet.webp"},{id:"bolt",label:"Bolt",previewSrc:"/pets/bolt/spritesheet.webp"},{id:"einstein",label:"Einstein",previewSrc:"/pets/einstein/spritesheet.webp"},{id:"lando-2",label:"Lando",previewSrc:"/pets/lando-2/spritesheet.webp"},{id:"mini-sama",label:"Mini Sama",previewSrc:"/pets/mini-sama/spritesheet.webp"},{id:"miso",label:"Miso",previewSrc:"/pets/miso/spritesheet.webp"},{id:"noir-webling",label:"Noir Webling",previewSrc:"/pets/noir-webling/spritesheet.webp"},{id:"nukey",label:"Nukey",previewSrc:"/pets/nukey/spritesheet.webp"},{id:"steve",label:"Steve",previewSrc:"/pets/steve/spritesheet.webp"}],tV=[...k9t.map(e=>({id:e.id,label:e.label,character:{type:"sprite-atlas",src:e.previewSrc},previewSrc:e.previewSrc}))];function rV(e){return tV.find(t=>t.id===e)}function v9t(e){return rV(e)?.character??{type:"sprite-atlas",src:"/pets/boba/spritesheet.webp"}}function w9t(e){return tV.find(r=>!!e.src&&r.character.src===e.src)?.id??null}const xSe="chatkit:pet:settings:v1",Xs={enabled:!1,characterType:"builtin",builtinId:"boba",atlasUrl:"",scale:.25,draggable:!0,persistPosition:!0},C9t=new Set(["builtin","atlas"]);function S9t(e){const t=typeof e=="number"?e:Number(e);return Number.isFinite(t)?Math.min(2,Math.max(.1,t)):Xs.scale}function M9t(e){if(!e||typeof e!="object"||Array.isArray(e))return null;const t=e,r=C9t.has(t.characterType)?t.characterType:Xs.characterType,o=(typeof t.builtinId=="string"?rV(t.builtinId):void 0)?.id??Xs.builtinId;return{enabled:typeof t.enabled=="boolean"?t.enabled:Xs.enabled,characterType:r==="atlas"&&typeof t.atlasUrl=="string"?"atlas":Xs.characterType,builtinId:o,atlasUrl:typeof t.atlasUrl=="string"?t.atlasUrl:"",scale:S9t(t.scale),draggable:typeof t.draggable=="boolean"?t.draggable:Xs.draggable,persistPosition:typeof t.persistPosition=="boolean"?t.persistPosition:Xs.persistPosition}}function _9t(){if(typeof window>"u")return null;try{const e=window.localStorage.getItem(xSe);return e?M9t(JSON.parse(e)):null}catch{return null}}function T9t(e){if(!(typeof window>"u"))try{window.localStorage.setItem(xSe,JSON.stringify(e))}catch{}}function A9t(e){if(!e.enabled)return null;const t={draggable:e.draggable,persist:e.persistPosition,scale:e.scale};return e.characterType==="atlas"&&e.atlasUrl.trim()?{character:{type:"sprite-atlas",src:e.atlasUrl.trim()},position:t}:{character:v9t(e.builtinId),position:t}}function L9t(e){if(!e)return{...Xs};const t=gV(e??null);if(!t)return{...Xs};const r={...Xs,enabled:!0,scale:t.position.scale,draggable:t.position.draggable,persistPosition:t.position.persist},n=t.character,o=w9t(n);return o?{...r,characterType:"builtin",builtinId:o}:n.src?{...r,characterType:"atlas",atlasUrl:n.src}:r}function hpe(e){return!!gV(e??null)}function E9t(e){return e.replace(/["\\]/g,"\\$&")}function I9t({src:e,label:t,className:r}){const o=uu.cellWidth,a=uu.cellHeight;return y.jsx("span",{className:ie("relative inline-flex h-8 w-8 shrink-0 items-center justify-center overflow-hidden rounded-md border border-border/70 bg-muted/30",r),"aria-hidden":"true",title:t,children:y.jsx("span",{className:"absolute left-1/2 top-1/2 block",style:{width:o,height:a,transform:`translate(-50%, -50%) scale(${.13})`,transformOrigin:"center",backgroundImage:`url("${E9t(e)}")`,backgroundRepeat:"no-repeat",backgroundSize:`${uu.columns*o}px ${uu.rows*a}px`,backgroundPosition:"0px 0px",imageRendering:"auto"}})})}const R9t=["builtin","atlas"];function z9t(e){return e==="builtin"||e==="atlas"}function D9t({open:e,settings:t,petRequired:r=!1,onOpenChange:n,onSave:o}){const{t:a}=Rt(),[i,s]=w.useState(t);w.useEffect(()=>{e&&s(r?{...t,enabled:!0}:t)},[e,r,t]);const l=w.useCallback(p=>{s(g=>({...g,...p}))},[]),u=p=>{p.preventDefault(),o(r?{...i,enabled:!0}:i),n(!1)},d=rV(i.builtinId)??tV[0],f=a(`pet.settings.builtins.${d.id}`,{defaultValue:d.label});return y.jsx(are,{open:e,onOpenChange:n,children:y.jsxs(ire,{side:"right",className:"w-[min(92vw,26rem)] overflow-y-auto",children:[y.jsx(dke,{children:y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx("span",{className:"flex h-8 w-8 items-center justify-center rounded-md bg-primary/10 text-primary",children:y.jsx(ume,{size:16})}),y.jsx(sre,{children:a("settings.title")})]})}),y.jsxs("form",{className:"mt-6 space-y-5",onSubmit:u,children:[y.jsxs("section",{className:"space-y-5",children:[y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx("span",{className:"flex h-7 w-7 items-center justify-center rounded-md bg-muted text-muted-foreground",children:y.jsx(ZRe,{size:15})}),y.jsx("h3",{className:"text-sm font-semibold",children:a("pet.settings.title")})]}),y.jsxs("label",{className:"flex items-center justify-between gap-4 rounded-md border border-border px-3 py-2",children:[y.jsxs("span",{className:"min-w-0",children:[y.jsx("span",{className:"block text-sm font-medium",children:a("pet.settings.enabled")}),r&&y.jsx("span",{className:"mt-0.5 block text-xs text-muted-foreground",children:a("pet.settings.requiredHint")})]}),y.jsx("button",{type:"button",role:"switch","aria-checked":i.enabled,disabled:r,onClick:()=>l({enabled:!i.enabled}),className:["relative inline-flex h-6 w-10 shrink-0 items-center rounded-full transition-colors",i.enabled?"bg-primary":"bg-muted-foreground/20",r?"cursor-not-allowed opacity-70":""].join(" "),children:y.jsx("span",{className:["inline-block h-5 w-5 rounded-full bg-background shadow-sm transition-transform",i.enabled?"translate-x-[18px]":"translate-x-0.5"].join(" ")})})]})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsx("span",{id:"chatkit-pet-type-label",className:"text-sm font-medium",children:a("pet.settings.characterType")}),y.jsx(b9t,{id:"chatkit-pet-type",type:"single",value:i.characterType,onValueChange:p=>{z9t(p)&&l({characterType:p})},"aria-labelledby":"chatkit-pet-type-label",variant:"outline",spacing:2,className:"!w-full",children:R9t.map(p=>y.jsx(x9t,{value:p,className:"flex-1 rounded-md data-[state=on]:border-primary/50 data-[state=on]:bg-primary/10 data-[state=on]:text-primary",children:a(`pet.settings.characterTypes.${p}`)},p))})]}),i.characterType==="builtin"&&y.jsxs("div",{className:"space-y-2",children:[y.jsx("label",{htmlFor:"chatkit-pet-builtin",className:"text-sm font-medium",children:a("pet.settings.builtin")}),y.jsxs(l9t,{value:d.id,onValueChange:p=>{const g=rV(p);g&&l({builtinId:g.id})},children:[y.jsx(d9t,{id:"chatkit-pet-builtin",className:"min-h-12 w-full px-3 py-2",children:y.jsx(u9t,{placeholder:f})}),y.jsx(h9t,{className:"w-[var(--radix-select-trigger-width)]",children:y.jsx(c9t,{children:tV.map(p=>{const g=a(`pet.settings.builtins.${p.id}`,{defaultValue:p.label});return y.jsx(f9t,{value:p.id,className:"min-h-10 py-1.5 pl-2 pr-8",children:y.jsxs("span",{className:"flex min-w-0 items-center gap-2",children:[y.jsx(I9t,{src:p.previewSrc,label:g}),y.jsx("span",{className:"min-w-0 truncate",children:g})]})},p.id)})})})]})]}),i.characterType==="atlas"&&y.jsxs("div",{className:"space-y-2",children:[y.jsx("label",{className:"text-sm font-medium",htmlFor:"chatkit-pet-atlas",children:a("pet.settings.atlasUrl")}),y.jsx(Tg,{id:"chatkit-pet-atlas",value:i.atlasUrl,onChange:p=>l({atlasUrl:p.currentTarget.value}),placeholder:"/pets/boba/spritesheet.webp"})]}),y.jsxs("div",{className:"space-y-2",children:[y.jsxs("div",{className:"flex items-center justify-between gap-4",children:[y.jsx("label",{className:"text-sm font-medium",htmlFor:"chatkit-pet-scale",children:a("pet.settings.scale")}),y.jsxs("span",{className:"text-xs tabular-nums text-muted-foreground",children:[i.scale.toFixed(2),"x"]})]}),y.jsx(g9t,{id:"chatkit-pet-scale",min:.1,max:2,step:.05,value:[i.scale],onValueChange:p=>l({scale:p[0]??Xs.scale})})]}),y.jsxs("label",{className:"flex items-center gap-2 text-sm",children:[y.jsx("input",{type:"checkbox",checked:i.draggable,onChange:p=>l({draggable:p.currentTarget.checked}),className:"h-4 w-4 rounded border-input accent-primary"}),a("pet.settings.draggable")]}),y.jsxs("label",{className:"flex items-center gap-2 text-sm",children:[y.jsx("input",{type:"checkbox",checked:i.persistPosition,onChange:p=>l({persistPosition:p.currentTarget.checked}),className:"h-4 w-4 rounded border-input accent-primary"}),a("pet.settings.persistPosition")]}),y.jsxs("div",{className:"flex justify-end gap-2 pt-2",children:[y.jsx(Zn,{type:"button",variant:"outline",onClick:()=>n(!1),children:a("pet.settings.cancel")}),y.jsx(Zn,{type:"submit",children:a("pet.settings.save")})]})]})]})})}const O9t="Current Xpert SDK client does not expose conversation goal methods. Provide options.goal to use a custom goal adapter.";function mm(e,t){if(!e||!t)throw new Error(O9t);return t.bind(e)}function B9t(e){const t=e.conversations;return!!(t?.search&&t.create&&e.threads?.create&&t.getGoal&&t.setGoal&&t.updateGoal&&t.clearGoal)}async function kSe(e,t,r){return qge(e,t,r)}async function CX(e,t,r){const n=await kSe(e,t,r);if(!n?.id)throw new Error("Conversation not found for this thread.");return n}function N9t(e,t){return{async getGoal({threadId:r,signal:n}){const o=await kSe(e,r,t);return o?.id?mm(e.conversations,e.conversations.getGoal)(o.id,{signal:n}):null},async setGoal({threadId:r,assistantId:n,projectId:o,objective:a,runtimeCapabilities:i,signal:s}){const l=a.trim();if(!l)throw new Error("Goal objective is required.");const u=mm(e.conversations,e.conversations.setGoal),d=r?.trim()||null;if(d){const M=await CX(e,d,{xpertId:t.xpertId,projectId:o??t.projectId}),T=await u(M.id,{objective:l},{signal:s});return{threadId:d,goal:T}}const f=mm(e.conversations,e.conversations?.create),p=mm(e.threads,e.threads?.create),g=e.threads?.delete?.bind(e.threads);let b=null,v;try{v=await dQ({threads:{create:p,...g?{delete:g}:{}},conversations:{create:f}},{assistantId:n,projectId:o,runtimeCapabilities:i,onThreadCreated:M=>{b=M}})}catch(M){if(b)try{await e.threads?.delete?.call(e.threads,b)}catch{}throw M}const S=v.conversation.id?.trim();try{if(!S)throw new Error("Created conversation is missing id.");const M=await u(S,{objective:l},{signal:s});return{threadId:v.threadId,goal:M}}catch(M){if(S)try{await e.conversations.delete?.call(e.conversations,S)}catch{}try{await e.threads?.delete?.call(e.threads,v.threadId)}catch{}throw M}},async updateGoal({threadId:r,objective:n,status:o,signal:a}){const i=await CX(e,r,t);return mm(e.conversations,e.conversations.updateGoal)(i.id,{...n!==void 0?{objective:n}:{},...o?{status:o}:{}},{signal:a})},async clearGoal({threadId:r,signal:n}){const o=await CX(e,r,t);return mm(e.conversations,e.conversations.clearGoal)(o.id,{signal:n})}}}const kee=1,vSe="",soe="[data-composer-capability-key]";function a4(e){return e?[{type:"text",text:e}]:[]}function j9t(e,t){return{type:"capability",key:t,capability:e}}function H5(e){return e.map(t=>t.type==="text"?t.text:"").join("")}function P9t(e){return e.map(t=>t.type==="text"?t.text:vSe).join("")}function Xo(e){return e.reduce((t,r)=>t+loe(r),0)}function loe(e){return e.type==="text"?e.text.length:kee}function bk(e){const t=[];for(const r of e){if(r.type==="text"){if(!r.text)continue;const n=t[t.length-1];n?.type==="text"?n.text+=r.text:t.push({type:"text",text:r.text});continue}t.push(r)}return t}function fpe(e){const t=new Map;for(const r of e)r.type==="capability"&&t.set(r.key,r);return t}function F9t(e){const t=new Set;for(const r of e)r.type==="capability"&&t.add(r.key);return t}function wSe(e){const t=new Set;for(const r of e)r.type==="capability"&&t.add(coe(r.capability));return t}function coe(e){return`${e.type}:${e.id}`}function ppe(e,t,r){const n=[];let o=0;for(const a of e){const i=loe(a),s=o,l=o+i;if(o=l,l<=t)continue;if(s>=r)break;if(a.type==="capability"){s>=t&&l<=r&&n.push(a);continue}const u=Math.max(0,t-s),d=Math.min(a.text.length,r-s),f=a.text.slice(u,d);f&&n.push({type:"text",text:f})}return bk(n)}function D4(e,t,r,n){const o=Math.max(0,Math.min(t,r)),a=Math.max(o,r),i=Xo(e),s=ppe(e,0,Math.min(o,i)),l=ppe(e,Math.min(a,i),i);return bk([...s,...n,...l])}function q9t(e,t){return bk(e.filter(r=>r.type!=="capability"||r.capability.type!==t.type||r.capability.id!==t.id))}function H9t(e,t,r){let n=0;for(const o of e){const a=loe(o),i=n,s=n+a;if(n=s,o.type==="capability"&&(r==="before"&&t===s||r==="after"&&t===i))return o}return null}function $9t(e,t){const r=[],n=a=>{a&&r.push({type:"text",text:a.replace(/\u00a0/g," ")})},o=a=>{if(a.nodeType===Node.TEXT_NODE){n(a.textContent??"");return}if(!(a instanceof HTMLElement)){a.childNodes.forEach(o);return}if(a.matches(soe)){const i=a.dataset.composerCapabilityKey,s=i?t.get(i):null;s&&r.push(s);return}if(a.tagName==="BR"){n(`
789
789
  `);return}a.childNodes.forEach(o)};return e.childNodes.forEach(o),bk(r)}function i4(e){if(typeof window>"u")return null;const t=window.getSelection();if(!t||t.rangeCount===0)return null;const r=t.getRangeAt(0);return!mpe(e,r.startContainer)||!mpe(e,r.endContainer)?null:{start:gpe(e,r.startContainer,r.startOffset),end:gpe(e,r.endContainer,r.endOffset)}}function CSe(e){const t=i4(e);return t?t.end:null}function SX(e,t){if(typeof window>"u"||typeof document>"u")return;const r=document.createRange(),n=U9t(e,Math.max(0,t));r.setStart(n.node,n.offset),r.collapse(!0);const o=window.getSelection();o&&(e.focus(),o.removeAllRanges(),o.addRange(r))}function mpe(e,t){return t===e||e.contains(t)}function gpe(e,t,r){const n=document.createRange();return n.selectNodeContents(e),n.setEnd(t,r),V9t(n.cloneContents()).length}function V9t(e){let t="";const r=n=>{if(n.nodeType===Node.TEXT_NODE){t+=n.textContent??"";return}if(!(n instanceof HTMLElement)&&!(n instanceof DocumentFragment)){n.childNodes.forEach(r);return}if(n instanceof HTMLElement&&n.matches(soe)){t+=vSe;return}if(n instanceof HTMLElement&&n.tagName==="BR"){t+=`
790
790
  `;return}n.childNodes.forEach(r)};return r(e),t}function U9t(e,t){let r=t,n=e,o=e.childNodes.length;const a=s=>{if(s.nodeType===Node.TEXT_NODE){const l=(s.textContent??"").length;return r<=l?{node:s,offset:r}:(r-=l,n=s,o=l,null)}if(!(s instanceof HTMLElement)){for(const l of Array.from(s.childNodes)){const u=a(l);if(u)return u}return null}if(s.matches(soe)){const l=s.parentNode??e,u=Array.prototype.indexOf.call(l.childNodes,s);return r<=0?{node:l,offset:u}:r<=kee?{node:l,offset:u+1}:(r-=kee,n=l,o=u+1,null)}if(s.tagName==="BR"){const l=s.parentNode??e,u=Array.prototype.indexOf.call(l.childNodes,s);return r<=0?{node:l,offset:u}:r<=1?{node:l,offset:u+1}:(r-=1,n=l,o=u+1,null)}for(const l of Array.from(s.childNodes)){const u=a(l);if(u)return u}return n=s,o=s.childNodes.length,null};return a(e)??{node:n,offset:o}}const SSe=w.createContext({enabled:!1,open:!1,loading:!1,available:!1,toggle:()=>{},sideChatEnabled:!1,askInSideChat:async()=>{}});function MSe(){return w.useContext(SSe)}function W9t(){const e=MSe(),{t}=Rt();if(!e.enabled||e.open)return null;const r=t("workbench.open"),n=e.disabledReason??r;return y.jsxs(bo,{children:[y.jsx(xo,{asChild:!0,children:y.jsx("span",{className:"inline-flex h-8 w-8",children:y.jsx("button",{type:"button",onClick:e.toggle,disabled:!e.available,className:ie("flex h-8 w-8 cursor-pointer items-center justify-center rounded-md","text-muted-foreground transition-colors duration-150 hover:bg-muted hover:text-foreground","disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50"),"aria-label":r,"aria-expanded":!1,children:e.loading?y.jsx(uo,{size:16,className:"animate-spin"}):y.jsx(UX,{size:16})})})}),y.jsx(ko,{side:"bottom",children:n})]})}function ype(e){return e.flatMap(t=>[j9t(t,Bo()),...t.type==="skill"?a4(" "):[]])}function G9t(e){if(!e||typeof e!="object"||!("status"in e))return null;const t=e.status;return typeof t=="number"?t:null}function bpe(e,t){x$e(t)&&console.warn(`[Chat] Runtime capabilities ${e} include unavailable references:`,t)}function Z9t(e,t){if(!e.capabilityTypes||e.capabilityTypes.length!==1)return"composer.capabilities.emptySearch";if(!t)return"composer.slashCommands.empty.loadingCapabilities";const r=e.query.trim().length>0,n=e.capabilityTypes[0];return n==="skill"?r?"composer.slashCommands.empty.matchingSkills":"composer.slashCommands.empty.skills":n==="plugin"?r?"composer.slashCommands.empty.matchingPlugins":"composer.slashCommands.empty.plugins":r?"composer.slashCommands.empty.matchingSubAgents":"composer.slashCommands.empty.subAgents"}function _Se(e,t){return e?t.filter(r=>bg(e,r.type,r.id)):[]}function K9t(e,t){let r=e;for(const n of t)r=K4(r,n.capability.type,n.capability.id,!1);return r}function Y9t(e,t){const r=F9t(t);return e.filter(n=>n.type==="capability"&&!r.has(n.key))}function X9t({client:e,assistantId:t,projectId:r,threadId:n,disabled:o,composerParts:a}){const[i,s]=w.useState(null),[l,u]=w.useState(!1),[d,f]=w.useState(()=>Ci()),[p,g]=w.useState(()=>Ci()),[b,v]=w.useState(null),C=w.useRef(0),S=w.useRef(null),M=w.useMemo(()=>g$e(i),[i]),T=w.useMemo(()=>l&&i?xb(i,d):null,[i,l,d]),A=w.useMemo(()=>M.filter(K=>bg(p,K.type,K.id)),[p,M]),R=w.useMemo(()=>wSe(a),[a]),I=w.useMemo(()=>A.filter(K=>!R.has(coe(K))),[R,A]),L=w.useCallback(async(K,Z)=>{if(!(!i||!Z||!e||!t))try{const z=await v$e({client:e,threadId:K,xpertId:t,projectId:r,capabilities:i,selection:Z});bpe("persisted selection",z.missing)}catch(z){console.warn("[Chat] Failed to persist runtime capabilities selection:",z)}},[t,e,r,i]),N=w.useCallback(K=>{S.current=K,g(()=>{const Z=Ci(i);return K?i?(S.current=null,xb(i,Z,K)):K:Z})},[i]),V=w.useCallback((K,Z,z)=>{f(O=>{const D=K4(O,K,Z,z),$=n?.trim();return $&&L($,D),D})},[L,n]),P=w.useCallback(K=>{g(Z=>i?xb(i,Z,K):Z)},[i]),G=w.useCallback(()=>{g(Ci(i)),v(null)},[i]),Q=w.useCallback(K=>{const Z=K&&i&&l?xb(i,p,K):p,z=i&&l?Rce({capabilities:i,available:T,recommended:Z}):null,O=_Se(Nge(z),M);return{runtimeCapabilitiesForSubmit:z,runtimeCapabilityOptionsForMessage:O}},[T,p,i,l,M]),re=w.useCallback(K=>i&&l?Rce({capabilities:i,available:T,recommended:K}):K??null,[T,i,l]);return w.useEffect(()=>{if(o||!e||!t){S.current=null,s(null),u(!1),f(Ci()),g(Ci()),v(null);return}const K=new AbortController;return u(!1),s(null),v(null),e.assistants.getRuntimeCapabilities(t,{...r?{projectId:r}:{},signal:K.signal}).then(Z=>{s(Z),u(!0),f(Ice(Z)),g(Ci(Z))}).catch(Z=>{if(!K.signal.aborted){if(G9t(Z)===404){s(null),u(!1),f(Ci()),g(Ci());return}console.warn("[Chat] Failed to load runtime capabilities:",Z),s(null),u(!1),f(Ci()),g(Ci())}}),()=>K.abort()},[t,e,o,r]),w.useEffect(()=>{const K=Ci(i),Z=S.current;if(Z&&i?(g(xb(i,K,Z)),S.current=null):g(Z??K),!l||!i||!e||!t){f(Ci(i));return}const z=Ice(i),O=n?.trim();if(!O){f(z);return}let D=!1;const $=C.current+1;return C.current=$,f(z),k$e({client:e,threadId:O,xpertId:t,projectId:r,capabilities:i}).then(({selection:q,missing:U})=>{D||C.current!==$||(bpe("loaded selection",U),f(q??z))}).catch(q=>{D||C.current!==$||(console.warn("[Chat] Failed to load persisted runtime capabilities selection:",q),f(z))}),()=>{D=!0}},[t,e,r,i,l,n]),{runtimeCapabilities:i,runtimeCapabilitiesReady:l,runtimeCapabilityOptions:M,effectiveSessionRuntimeCapabilities:T,runRuntimeCapabilities:p,runRuntimeCapabilityOptions:A,detachedRunRuntimeCapabilityOptions:I,runtimeCapabilityPalette:b,setRunRuntimeCapabilities:g,setRuntimeCapabilityPalette:v,applyExternalRuntimeCapabilities:N,handleSessionRuntimeCapabilityToggle:V,addRunRuntimeCapabilities:P,resetRunRuntimeCapabilities:G,getRuntimeCapabilitiesForSubmit:Q,getRuntimeCapabilitiesForCommand:re,persistSessionRuntimeCapabilities:L}}function Q9t({runtimeCapabilities:e,runtimeCapabilitiesReady:t,runtimeCapabilityOptions:r,setRunRuntimeCapabilities:n,setRuntimeCapabilityPalette:o,applyExternalRuntimeCapabilities:a,composerInputRef:i,composerPartsRef:s,commitComposerParts:l,focusComposerAt:u}){const d=w.useRef(null),f=w.useCallback((C,S)=>{if(a(C),!C){d.current=null;return}if(!t||!e){d.current={selection:C,insertAt:S?.insertAt??null};return}d.current=null;const M=wSe(s.current),T=r.filter(P=>bg(C,P.type,P.id)&&!M.has(coe(P)));if(T.length===0){u();return}const A=s.current,R=Xo(A),I=typeof S?.insertAt=="number"?Math.max(0,Math.min(S.insertAt,R)):R,L=ype(T),N=D4(A,I,I,L),V=I+Xo(L);l(N,{caretOffset:V,resetDom:!0,syncRemovedCapabilityTokens:!0}),o(null),u(V)},[a,l,s,u,e,t,r,o]),p=w.useCallback((C,S)=>{const M=yg(C.runtimeCapabilities)?C.runtimeCapabilities:C.runtimeCapabilities===null?null:void 0;M!==void 0&&(C.insertRuntimeCapabilities===!0?f(M,S):a(M))},[a,f]),g=w.useCallback((C,S)=>{const M=i.current,T=P9t(C),A=vet(T,typeof S=="number"?S:M?CSe(M):Xo(C));o(A)},[i,o]),b=w.useCallback(C=>{n(S=>K4(S,C.type,C.id,!1)),l(q9t(s.current,C),{resetDom:!0,syncRemovedCapabilityTokens:!1})},[l,s,n]),v=w.useCallback((C,S)=>{const M=ype([C]),T=s.current,A=S??{start:Xo(T),end:Xo(T)},R=D4(T,A.start,A.end,M),I=A.start+Xo(M);l(R,{caretOffset:I,resetDom:!0,syncRemovedCapabilityTokens:!0}),n(L=>K4(L,C.type,C.id,!0)),o(null),u(I)},[l,s,u,n,o]);return w.useEffect(()=>{if(!t||!e)return;const C=d.current;C&&f(C.selection,{insertAt:C.insertAt})},[f,e,t]),{applyComposerValueRuntimeCapabilities:p,insertExternalRuntimeCapabilities:f,updateRuntimeCapabilityPalette:g,removeRunRuntimeCapability:b,insertComposerCapabilityToken:v}}function J9t({options:e}){return e.length===0?null:y.jsx("div",{className:"mb-2 flex flex-wrap gap-1.5",children:e.map(t=>{const r=t.type==="skill"?void 0:EV(t);return y.jsxs("span",{className:"inline-flex max-w-full items-center gap-1 rounded-md bg-primary-foreground/20 px-2 py-1 text-xs font-medium text-primary-foreground",style:r?{color:r}:void 0,children:[y.jsx(wg,{option:t,variant:"chip"}),y.jsx("span",{className:"max-w-[9rem] truncate",children:t.label})]},`${t.type}:${t.id}`)})})}function eSt({options:e,runOnlyLabel:t,removeLabel:r,onRemove:n}){return e.length===0?null:y.jsxs("div",{className:"mb-2 flex flex-wrap items-center gap-2",children:[y.jsx("span",{className:"text-xs text-muted-foreground",children:t}),e.map(o=>{const a=EV(o);return y.jsxs("span",{className:"inline-flex max-w-full items-center gap-1 rounded-full bg-primary/10 px-2 py-0.5 text-xs font-medium text-primary",style:a?{color:a}:void 0,children:[y.jsx(wg,{option:o,variant:"chip"}),y.jsx("span",{className:"max-w-40 truncate",children:o.label}),y.jsx("button",{type:"button",onClick:()=>n(o),className:"rounded-full p-0.5 hover:bg-primary/15",title:r,"aria-label":r,children:y.jsx(ls,{size:11})})]},`${o.type}:${o.id}`)})]})}function tSt({part:e}){const t=EV(e.capability);return y.jsxs("span",{"data-composer-capability-key":e.key,"data-capability-type":e.capability.type,"data-capability-id":e.capability.id,contentEditable:!1,className:"mx-0.5 inline-flex max-w-[14rem] select-none items-center gap-1 text-sm font-semibold text-primary align-baseline",style:t?{color:t}:void 0,children:[y.jsx(wg,{option:e.capability,variant:"chip"}),y.jsx("span",{className:"truncate",children:e.capability.label})]},e.key)}const rSt=3,nSt=180,oSt=40;function uoe(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function dc(e){return typeof e=="string"&&e.trim()?e.trim():null}function TSe(e){return e.replace(/\s+/g," ").trim()}function ASe(e,t){const r=TSe(e);return r.length<=t?r:`${r.slice(0,Math.max(0,t-1)).trimEnd()}...`}function ec(e,t){const r=dc(t);r&&e.text.push(r)}function al(e,t){const r=dc(t);if(!r)return;const n=ASe(r,oSt);e.tags.includes(n)||e.tags.push(n)}function aSt(...e){const t=[];for(const r of e)for(const n of r)t.includes(n)||t.push(n);return t}function LSe(e,t){const r=dc(e.id);return r||`${dc(e.type)??"message"}-${t}`}function iSt(e){const t=dc(e)?.toLowerCase();return t==="human"||t==="user"?"user":t==="ai"||t==="assistant"?"assistant":t==="system"?"system":t==="tool"?"tool":t==="event"?"event":"message"}function sSt(e){return e.type==="text"}function xpe(e){return e.type==="reasoning"}function lSt(e){return e.type==="component"}function cSt(e){return e.type==="memory"}function uSt(e){const t=e.data;return t?.type==="Widget"&&Array.isArray(t.widgets)}function dSt(e){const t=e.data;return t?.type==="McpApp"&&typeof t.appInstanceId=="string"}function hSt(e,t,r){const n=t.data.widgets.map(o=>dc(o.name)).filter(o=>!!o);if(n.length===0){al(e,r.widget);return}for(const o of n)al(e,o)}function fSt(e,t,r,n){const o=dc(vo(t.data.title,n))??dc(t.data.toolName)??r.mcpApp;al(e,o),ec(e,vo(t.data.description,n))}function pSt(e,t,r,n,o){if(uSt(t)){hSt(e,t,r);return}if(dSt(t)){fSt(e,t,r,n);return}const a=ph(t);al(e,vo(a.message,n)??roe(t,n)),o.includeComponentText!==!1&&(ec(e,vo(a.message,n)),ec(e,vo(a.title,n)),ec(e,vo(a.tool,n)),ec(e,vo(a.type,n)))}function mSt(e,t,r,n,o){if(!(t===void 0||yc(t))){if(typeof t=="string"){ec(e,t);return}if(sSt(t)||xpe(t)){ec(e,t.text),xpe(t)&&al(e,r.reasoning);return}if(t.type==="image_url"){al(e,r.image);return}if(lSt(t)){pSt(e,t,r,n,o);return}cSt(t)&&al(e,r.memory)}}function gSt(e,t,r,n,o={}){if(typeof t=="string"){ec(e,t);return}if(Array.isArray(t))for(const a of t)mSt(e,a,r,n,o)}function ySt(e,t,r){if(Array.isArray(t))for(const n of t)uoe(n)&&(ec(e,n.text),dc(n.text)&&al(e,r.reasoning))}function kpe(e,t,r){if(Array.isArray(t))for(const n of t)uoe(n)&&al(e,n.originalName??n.name??n.fileName??n.id??r)}function bSt(e,t){for(const r of il(t))al(e,Nm(r))}function xSt(e,t){if(Array.isArray(t))for(const r of t)uoe(r)&&al(e,r.label??r.id??r.type)}function kSt(e,t,r){return e==="assistant"&&r?.trim()?r.trim():t[e]}function vSt(e,t,r,n={}){const o=iSt(e.type),a={text:[],tags:[]},i=r.language??"en-US",s=r.labels;o==="user"&&ec(a,e.submittedInput),gSt(a,e.content,s,i,n),ySt(a,e.reasoning,s),kpe(a,e.fileAssets,s.attachment),kpe(a,e.attachments,s.attachment),bSt(a,e.references),xSt(a,e.runtimeCapabilityOptions);const l=a.text.map(TSe).filter(Boolean).join(" "),u=ASe(l,nSt)||a.tags.slice(0,2).join(" · ");if(!u&&a.tags.length===0)return null;const d=dc(e.id)??void 0;return{id:LSe(e,t),...d?{messageId:d}:{},index:t,role:o,title:kSt(o,s,r.assistantTitle),preview:u,tags:a.tags}}function wSt(e,t){const r=[];let n=null;return e.forEach((o,a)=>{const i=vSt(o,a,t,{includeComponentText:!1});if(i){if(i.role==="user"){n={item:i};return}i.role!=="assistant"||!n||(r.push({id:n.item.id,...n.item.messageId?{messageId:n.item.messageId}:{},index:r.length,role:"user",title:n.item.preview,preview:i.preview,tags:aSt(i.tags,n.item.tags)}),n=null)}}),r}function CSt({enabled:e,conversationId:t,client:r,live:n,refreshVersion:o=0}){const[a,i]=w.useState(null),[s,l]=w.useState({}),[u,d]=w.useState(null),[f,p]=w.useState({}),[g,b]=w.useState(null),[v,C]=w.useState(0),S=w.useRef(0),M=w.useRef(t),T=w.useRef(new Map);M.current=t;const A=w.useCallback(()=>{T.current.forEach(N=>N.abort()),T.current.clear()},[]);w.useEffect(()=>{if(A(),l({}),d(t),p({}),b(null),!e||!t){i(null),d(null);return}const N=new AbortController,V=++S.current;return r.conversations.getTaskSummary(t,{signal:N.signal}).then(P=>{S.current===V&&i({conversationId:t,snapshot:P})}).catch(P=>{N.signal.aborted||S.current!==V||(i(null),b(P))}),()=>{N.abort(),A(),S.current+=1}},[A,r,t,e,o,v]);const R=a?.conversationId===t?a.snapshot:null,I=w.useMemo(()=>u===t?s:{},[t,s,u]),L=w.useCallback(async N=>{if(!e||!t||f[N])return;const V=I[N]?.length??0,P=new AbortController;T.current.get(N)?.abort(),T.current.set(N,P),p(G=>({...G,[N]:!0}));try{const G=await r.conversations.listTaskSummaryItems(t,N,{offset:V,limit:50,signal:P.signal});if(M.current!==t)return;l(Q=>({...Q,[N]:[...Q[N]??[],...G.items]}))}catch(G){P.signal.aborted||b(G)}finally{T.current.get(N)===P&&T.current.delete(N),M.current===t&&p(G=>({...G,[N]:!1}))}},[I,r,t,e,f]);return{summary:a$e(R,n,I),historyError:g,retryHistory:()=>C(N=>N+1),loadSection:L,loadingSections:f,loadedSectionCounts:{outputs:I.outputs?.length??0,sources:I.sources?.length??0,agents:I.agents?.length??0,pending:I.pending?.length??0}}}const $5=3;function SSt({displayMode:e="popover",open:t,onOpenChange:r,...n}){const{t:o}=Rt(),[a,i]=w.useState(!1),s=t??a,l=w.useCallback(d=>{t===void 0&&i(d),r?.(d)},[t,r]),u=y.jsx("button",{type:"button",className:"flex h-8 w-8 cursor-pointer items-center justify-center rounded-md text-muted-foreground transition-colors duration-150 hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground","aria-label":o("taskSummary.open"),"aria-expanded":s,onClick:e==="docked"?()=>l(!s):void 0,children:y.jsx(qd,{size:16})});return e==="docked"?y.jsxs(bo,{children:[y.jsx(xo,{asChild:!0,children:u}),y.jsx(ko,{side:"bottom",children:o("taskSummary.open")})]}):y.jsxs(rre,{open:s,onOpenChange:l,children:[y.jsxs(bo,{children:[y.jsx(xo,{asChild:!0,children:y.jsx(nre,{asChild:!0,children:u})}),y.jsx(ko,{side:"bottom",children:o("taskSummary.open")})]}),y.jsx(ore,{align:"end",sideOffset:8,className:"w-[min(20rem,calc(100vw-2rem))] max-h-[min(44rem,calc(100vh-5rem))] overflow-y-auto rounded-2xl border-border/70 bg-popover p-0 shadow-lg","aria-label":o("taskSummary.title"),children:y.jsx(ESe,{...n})})]})}function MSt({className:e,...t}){const{t:r}=Rt();return y.jsx("aside",{"data-slot":"task-summary-panel","aria-label":r("taskSummary.title"),className:ie("h-fit max-h-full overflow-y-auto rounded-2xl border border-border/70 bg-popover text-popover-foreground shadow-lg",e),children:y.jsx(ESe,{...t})})}function ESe({summary:e,historyError:t,loadingSections:r={},loadedSectionCounts:n={outputs:0,sources:0,agents:0,pending:0},onRetryHistory:o,onLoadSection:a,onNavigateMessage:i,onFocusComposer:s,onOpenResource:l}){const{t:u}=Rt(),[d,f]=w.useState({}),[p,g]=w.useState({}),b=!!(e.goal||e.plan||e.todos?.items.length),v=I=>{if(d[I]){f(L=>({...L,[I]:!1}));return}f(L=>({...L,[I]:!0})),n[I]===0&&a(I)},C=(I,L)=>d[I]?L:L.slice(0,$5),S=(I,L)=>p[I]?L:L.slice(0,$5),M=I=>{if(!I)return;const L=I.trim().toLowerCase().replace(/[\s-]+/g,"_");return u(`taskSummary.status.${L}`,{defaultValue:I})},T=(I,L,N)=>{if(I?.type==="message"){i(I.messageId);return}if(I){l(I,L,N);return}L&&i(L)},A=(I,L)=>{if(L<=$5&&!d[I])return null;const N=r[I],V=!!d[I]&&n[I]<L;return y.jsxs("button",{type:"button",className:"mt-1 flex w-full items-center gap-2 rounded-lg px-2 py-1.5 text-left text-sm text-muted-foreground transition-colors hover:bg-muted/60 hover:text-foreground disabled:pointer-events-none disabled:opacity-50",disabled:N,onClick:()=>V?void a(I):v(I),children:[N&&y.jsx(uo,{className:"size-3 animate-spin"}),!N&&y.jsx(qd,{className:"size-3.5"}),V?u("taskSummary.loadMore"):d[I]?u("taskSummary.collapse"):u("taskSummary.viewAll",{count:L})]})},R=(I,L)=>{if(L<=$5)return null;const N=!!p[I];return y.jsxs("button",{type:"button",className:"mt-1 flex w-full items-center gap-2 rounded-lg px-2 py-1.5 text-left text-sm text-muted-foreground transition-colors hover:bg-muted/60 hover:text-foreground",onClick:()=>g(V=>({...V,[I]:!N})),children:[y.jsx(qd,{className:"size-3.5"}),N?u("taskSummary.collapse"):u("taskSummary.viewAll",{count:L})]})};return y.jsxs("div",{className:"divide-y divide-border/70",children:[!!t&&y.jsxs("div",{className:"m-3 flex items-start justify-between gap-3 rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2 text-xs text-destructive",children:[y.jsx("span",{children:u("taskSummary.historyError")}),y.jsxs("button",{type:"button",className:"inline-flex shrink-0 items-center gap-1 font-medium hover:underline",onClick:o,children:[y.jsx(cme,{className:"size-3"}),u("taskSummary.retry")]})]}),y.jsxs(gm,{title:u("taskSummary.sections.outputs"),children:[e.outputs.length===0?y.jsx(_St,{onClick:s,children:u("taskSummary.createOutput")}):C("outputs",e.outputs).map(I=>y.jsx(Sd,{title:I.title,metadata:M(I.status),description:I.description,leading:y.jsx(lRe,{className:"size-4"}),trailing:I.resource&&I.resource.type!=="message"?y.jsx(yZ,{className:"size-3.5"}):void 0,onClick:()=>T(I.resource,I.messageId,I.title)},I.id)),A("outputs",e.totals.outputs)]}),y.jsxs(gm,{title:u("taskSummary.sections.sources"),children:[C("sources",e.sources).map(I=>y.jsx(Sd,{title:I.title,description:I.description,leading:y.jsx(hV,{className:"size-4"}),trailing:I.resource&&I.resource.type!=="message"?y.jsx(yZ,{className:"size-3.5"}):void 0,onClick:()=>T(I.resource,I.messageId,I.title)},I.id)),A("sources",e.totals.sources)]}),b&&y.jsxs(gm,{title:u("taskSummary.sections.task"),children:[e.goal&&y.jsx(Sd,{title:e.goal.objective,metadata:M(e.goal.status),leading:y.jsx(d4,{className:"size-4"}),onClick:s}),e.plan&&y.jsx(Sd,{title:e.plan.title,description:e.plan.excerpt,leading:y.jsx(qd,{className:"size-4"}),onClick:()=>e.plan?.messageId?i(e.plan.messageId):s()}),S("todos",e.todos?.items??[]).map(I=>y.jsx(Sd,{title:I.content,metadata:M(I.status),leading:I.status==="completed"?y.jsx(_p,{className:"size-4 text-muted-foreground"}):y.jsx(Vse,{className:"size-4 text-muted-foreground"}),onClick:()=>e.todos?.messageId?i(e.todos.messageId):s()},I.id)),R("todos",e.todos?.items.length??0)]}),e.running.length>0&&y.jsxs(gm,{title:u("taskSummary.sections.running"),children:[S("running",e.running).map(I=>y.jsx(Sd,{title:I.title,metadata:M(I.status),description:I.description,leading:y.jsx(jIe,{className:"size-4"}),trailing:I.resource?y.jsx(yZ,{className:"size-3.5"}):void 0,onClick:()=>I.resource&&l(I.resource,void 0,I.title)},I.id)),R("running",e.running.length)]}),e.agents.length>0&&y.jsxs(gm,{title:u("taskSummary.sections.agents"),children:[C("agents",e.agents).map(I=>y.jsx(Sd,{title:I.title,metadata:[M(I.status),TSt(I.elapsedTime)].filter(Boolean).join(" · "),description:I.error,leading:y.jsx(Ix,{className:"size-4"}),onClick:()=>I.messageId?i(I.messageId):s()},I.id)),A("agents",e.totals.agents)]}),e.pending.length>0&&y.jsxs(gm,{title:u("taskSummary.sections.pending"),children:[C("pending",e.pending).map(I=>y.jsx(Sd,{title:I.title,description:I.description,leading:y.jsx(Vse,{className:"size-4"}),onClick:()=>I.messageId?i(I.messageId):s()},I.id)),A("pending",e.totals.pending)]})]})}function gm({title:e,children:t}){return y.jsxs("section",{"aria-label":e,className:"px-4 py-3",children:[y.jsx("div",{className:"flex min-h-7 items-center justify-between gap-3",children:y.jsx("h3",{className:"text-sm font-medium text-muted-foreground",children:e})}),y.jsx("div",{className:"mt-1 space-y-0.5",children:t})]})}function _St({children:e,onClick:t}){return y.jsx("button",{type:"button",className:"block rounded-md py-1 text-left text-sm text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",onClick:t,children:e})}function Sd({title:e,metadata:t,description:r,leading:n,trailing:o,onClick:a}){const i=[e,t,r].filter(Boolean);return y.jsxs("button",{type:"button",title:i.join(`
791
791
  `),"aria-disabled":!a,tabIndex:a?0:-1,onClick:a,className:ie("flex w-full min-w-0 items-start gap-2.5 rounded-lg px-2 py-1.5 text-left transition-colors",a&&"hover:bg-muted/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",!a&&"cursor-default"),children:[n&&y.jsx("span",{className:"mt-0.5 shrink-0 text-muted-foreground",children:n}),y.jsxs("span",{className:"min-w-0 flex-1",children:[y.jsx("span",{className:"block truncate text-sm font-medium leading-5 text-foreground",children:e}),t&&y.jsx("span",{className:"mt-0.5 block truncate text-xs text-muted-foreground",children:t}),r&&y.jsx("span",{className:"mt-0.5 block line-clamp-2 text-xs text-muted-foreground",children:r})]}),o&&y.jsx("span",{className:"mt-0.5 text-muted-foreground",children:o})]})}function TSt(e){return typeof e!="number"||!Number.isFinite(e)?"":e<1e3?`${Math.round(e)}ms`:`${(e/1e3).toFixed(1)}s`}const ASt=void 0,vpe=128,LSt=5e3,ESt="Continue working toward the active goal.",ISt=20,RSt=1.25,zSt=.75;function wpe(e){return e instanceof Error?e:new Error(String(e))}function DSt(e){return!!e&&typeof e=="object"&&typeof e.getGoal=="function"&&typeof e.setGoal=="function"&&typeof e.updateGoal=="function"&&typeof e.clearGoal=="function"}function OSt(e){if(e<60)return`${e}s`;const t=Math.floor(e/60),r=e%60;return r?`${t}m ${r}s`:`${t}m`}function Cpe(e,t){const r=e.slice(0,t),n=r.lastIndexOf("@");if(n<0)return null;const o=r[n-1];if(o&&!/\s/.test(o))return null;const a=r.slice(n+1);return/[\n,,。!?!?]/.test(a)?null:{start:n,end:t,query:a}}function BSt(e){const t=o$(e);return{filePath:t,workspacePath:t,originalName:e.filePath,mimeType:e.mimeType,size:e.size,purpose:"workspace"}}function Spe(e,t){const r=new Map;return[...e,...t].forEach(n=>{const o=n.fileAssetId??n.fileId??n.id??n.storageFileId??n.workspacePath;o&&r.set(o,n)}),Array.from(r.values())}async function NSt(e){return typeof window>"u"||typeof URL>"u"?{}:new Promise(t=>{const r=URL.createObjectURL(e),n=new window.Image,o=()=>{URL.revokeObjectURL(r)};n.onload=()=>{t({width:n.naturalWidth||void 0,height:n.naturalHeight||void 0}),o()},n.onerror=()=>{t({}),o()},n.src=r})}function jSt(e){return e.url??e.fileUrl??e.thumbUrl}function PSt(e,t,r){const n=t.originalName?.trim()||e.name.trim()||"Pasted image",o=t.mimeType?.trim()||e.type.trim()||"image/*",a=t.size??e.size,i=r?.width,s=r?.height,l=[o,i&&s?`${i}x${s}`:null,typeof a=="number"?`${a} bytes`:null].filter(u=>!!u);return{type:"image",id:t.id,fileId:t.storageFileId,url:jSt(t),mimeType:o,name:n,...typeof a=="number"?{size:a}:{},...i?{width:i}:{},...s?{height:s}:{},text:`Pasted image${l.length?` (${l.join(", ")})`:""}: ${n}`}}function V5(e){if(typeof e=="string")return e;if(Array.isArray(e))return e.map(t=>{if(typeof t=="string")return t;if(t&&typeof t=="object"&&"text"in t){const r=t.text;return typeof r=="string"?r:""}return""}).join("");if(e==null)return"";if(typeof e=="object"&&"text"in e){const t=e.text;return typeof t=="string"?t:""}return""}function Mpe(e){return e?(e instanceof HTMLElement?e:e instanceof Text?e.parentElement:null)?.closest("[data-quote-message-id]")??null:null}function _pe({reference:e,variant:t,onRemove:r,removeLabel:n}){const o=sQ(e),a=t==="composer",i=e.type==="quote"?lme:e.type==="image"?tme:yu;return y.jsxs("div",{className:ie("flex items-start gap-2 rounded-md px-2 py-1",a?"bg-muted text-foreground":"bg-primary-foreground/20"),title:xqe(e),children:[y.jsx(i,{size:a?14:12,className:ie("mt-0.5 shrink-0",a?"text-muted-foreground":"text-primary-foreground/80")}),y.jsxs("div",{className:"min-w-0 flex-1",children:[y.jsx("div",{className:ie("truncate whitespace-pre-wrap",a?"text-sm":"text-xs font-medium"),children:Nm(e)}),o&&y.jsx("div",{className:ie("truncate whitespace-pre-wrap",a?"text-xs text-muted-foreground":"text-[10px] text-primary-foreground/75"),children:o})]}),r&&n&&y.jsx("button",{type:"button",onClick:r,className:ie("ml-1 rounded-full p-0.5",a?"hover:bg-muted-foreground/20":"hover:bg-primary-foreground/20"),title:n,"aria-label":n,children:y.jsx(ls,{size:12})})]})}function FSt({file:e,onRemove:t,removeLabel:r}){const n=e.originalName??e.workspacePath??e.id??e.fileAssetId??"File",o=e.workspacePath??e.mimeType;return y.jsxs("div",{"data-slot":"workspace-file-reference",className:"flex min-w-0 items-start gap-2 rounded-md bg-muted px-2 py-1 text-foreground",title:n,children:[y.jsx(yu,{className:"mt-0.5 size-3.5 shrink-0 text-muted-foreground"}),y.jsxs("div",{className:"min-w-0 flex-1",children:[y.jsx("div",{className:"truncate text-sm",children:n}),o?y.jsx("div",{className:"truncate text-xs text-muted-foreground",children:o}):null]}),y.jsx("button",{type:"button",onClick:t,className:"ml-1 rounded-full p-0.5 hover:bg-muted-foreground/20",title:r,"aria-label":r,children:y.jsx(ls,{size:12})})]})}function ISe({className:e,options:t,title:r,placeholder:n,clientSecret:o="",isClientSecretInitializing:a=!1,surface:i="main",referenceRequest:s,activeProjectId:l,projectsEnabled:u=!1,connectorsEnabled:d=!1,onProjectChange:f,onProjectCreate:p,onConnectorsChange:g}){const{t:b,i18n:v}=Rt(),C=t?.composer,S=t?.startScreen,M=t?.history,T=t?.disclaimer,A=t?.api?.apiUrl||ASt,R=t?.messageNavigation?.enabled!==!1,{setStream:I}=pge(),L=Nx(),N=MSe(),V=L.client,{theme:P}=fl(),G=L.apiKey?.trim()?L.apiKey:o,Q=hge({apiUrl:A,clientSecret:G}),re=!!Q,K=w.useMemo(()=>{switch(Q){case"apiUrl":return b("chat.missingApiUrlShort");case"clientSecret":return b("chat.missingClientSecretShort");case"apiUrlAndClientSecret":return b("chat.missingApiUrlAndClientSecretShort");default:return b("chat.missingConfigShort")}},[Q,b]),Z=w.useMemo(()=>{switch(Q){case"apiUrl":return b("chat.missingApiUrlDetail");case"clientSecret":return b("chat.missingClientSecretDetail");case"apiUrlAndClientSecret":return b("chat.missingApiUrlAndClientSecretDetail");default:return b("chat.missingConfigDetail")}},[Q,b]),[z,O]=w.useState(!1),[D,$]=w.useState(null),[q,U]=w.useState(null),[oe,W]=w.useState(null),[he,we]=w.useState(null),[ve,fe]=w.useState(null),[Le,Oe]=w.useState(!1),[Te,rt]=w.useState(!1),[dt,Wt]=w.useState(!1),[zt,Pt]=w.useState(null),zr=800,pr=250,[pt,it]=w.useState(!1),[Dr,cn]=w.useState(()=>Date.now()),$r=w.useRef(null),yr=w.useRef(null);w.useEffect(()=>{i==="main"&&I(L)},[I,L,i]),w.useEffect(()=>{if(L.isLoading)$r.current||($r.current=Date.now(),it(!0));else if($r.current){const J=Date.now()-$r.current,ye=zr-J;if(ye>0){const Ce=setTimeout(()=>{it(!1),$r.current=null},ye);return()=>clearTimeout(Ce)}else it(!1),$r.current=null}},[L.isLoading]),w.useEffect(()=>{if(!L.isLoading){yr.current=null,cn(Date.now());return}const J=Date.now();yr.current=J,cn(J)},[L.messages,L.isLoading]),w.useEffect(()=>{if(!L.isLoading)return;const J=window.setInterval(()=>{cn(Date.now())},pr);return()=>window.clearInterval(J)},[L.isLoading]),w.useEffect(()=>{if(he?.status==="active"&&L.isLoading){Pt(Date.now());return}Pt(null)},[L.isLoading,he?.elapsedSeconds,he?.id,he?.status]),w.useEffect(()=>{Wt(!1)},[he?.id]);const[nt,Xe]=w.useState([]),[se,be]=w.useState([]),[je,lt]=w.useState(0),[Ke,qt]=w.useState(null),[Pr,Xt]=w.useState([]),[_r,Tr]=w.useState(null),ft=L.assistantId,ho=L.client,On=L.selectedModelId,Aa=L.setSelectedModelId,li=w.useRef(On);li.current=On;const qo=w.useRef(void 0),La=w.useRef(ft),[Jn,ci]=w.useState(!1),[ds,pn]=w.useState(!1),[Qr,Ho]=w.useState(!1),[qa,eo]=w.useState(()=>_9t()),[$o,ui]=w.useState({uploadedFiles:[],hasUploadingFiles:!1,hasParsingFiles:!1}),[An,nn]=w.useState([]),[to,di]=w.useState([]),[hi,ro]=w.useState(null),[Vr,on]=w.useState(!1),[Bn,hs]=w.useState(null),[Tc,js]=w.useState(!1),[nr,Ha]=w.useState(null),[Mt,ce]=w.useState(!0),[Ne,ot]=w.useState(!1),{threads:ur,deleteThread:Jt,refreshThreads:br,isLoading:mn}=JCt(void 0,i==="main"&&M?.enabled!==!1),Or=w.useRef(null),Nn=w.useRef(null),no=w.useRef(new Map),an=w.useRef(null),en=w.useRef(null),fi=w.useRef(null),Ni=w.useRef(0),$a=w.useRef(null),Va=w.useRef(l);Va.current=l;const Vo=w.useRef(!1),Ac=w.useRef(null),mh=w.useRef([]),yl=w.useRef(null),Fr=w.useRef([]),pi=w.useRef(null),ji=w.useRef(!0),fo=w.useRef(!1),Fu=w.useRef(0),bl=w.useRef(0),Ps=w.useRef(!1),pa=w.useRef(null),xl=w.useRef(!1),Fs=w.useRef(null),{runtimeCapabilities:Pi,runtimeCapabilitiesReady:Lc,runtimeCapabilityOptions:ge,effectiveSessionRuntimeCapabilities:Re,runRuntimeCapabilities:Fe,detachedRunRuntimeCapabilityOptions:Ve,runtimeCapabilityPalette:Je,setRunRuntimeCapabilities:at,setRuntimeCapabilityPalette:gt,applyExternalRuntimeCapabilities:jr,handleSessionRuntimeCapabilityToggle:tn,addRunRuntimeCapabilities:gn,resetRunRuntimeCapabilities:Wn,getRuntimeCapabilitiesForSubmit:Fi,getRuntimeCapabilitiesForCommand:Mo,persistSessionRuntimeCapabilities:Vt}=X9t({client:L.client,assistantId:L.assistantId,projectId:l,threadId:L.threadId,disabled:re||!L.client||!L.assistantId,composerParts:nt}),_t=r??b("chat.title"),er=n??b("chat.placeholder"),Ur=q||_t,jn=t?.displayMode==="pet",qi=w.useMemo(()=>L9t(t?.pet),[t?.pet]),fs=w.useMemo(()=>({...qa??qi,...jn?{enabled:!0}:{}}),[qi,qa,jn]),kl=w.useMemo(()=>jn||qa?A9t(fs):t?.pet??null,[fs,t?.pet,qa,jn]),Ec=w.useCallback(J=>{const ye=jn?{...J,enabled:!0}:J;eo(ye),T9t(ye)},[jn]),o2=w.useCallback(J=>{if(J==="settings"){pn(!0);return}if(jn){Ec({...fs,enabled:!0});return}const ye=J==="toggle"?!hpe(kl):J==="on";Ec({...fs,enabled:ye})},[fs,kl,jn,Ec]),a2=Ke?.placeholderOverride??C?.placeholder??er,Ln=w.useMemo(()=>L.messages??[],[L.messages]),ma=w.useMemo(()=>({user:b("chat.youLabel"),assistant:Ur,system:b("message.navigation.system"),tool:b("message.navigation.tool"),event:b("message.navigation.event"),message:b("message.navigation.message"),image:b("message.navigation.image"),memory:b("message.navigation.memory"),widget:b("message.navigation.widget"),mcpApp:b("message.navigation.mcpApp"),attachment:b("message.navigation.attachment"),reference:b("message.navigation.reference"),capability:b("message.navigation.capability"),reasoning:b("message.reasoning")}),[Ur,b]),vl=w.useMemo(()=>R?wSt(Ln,{labels:ma,language:v.language,assistantTitle:Ur}):[],[Ur,v.language,R,ma,Ln]),i2=vl.length>=rSt,qu=L.historyMessagePagination,s2=!!qu?.isLoadingMore,wl=!!qu?.hasMore,gh=Ln.length===0&&!wl&&!L.isLoading,Hu=w.useMemo(()=>H5(nt),[nt]),Cl=Hu.trim(),xk=An.length>0||to.length>0,QU=w.useMemo(()=>new Set(to.flatMap(J=>{const ye=J.workspacePath??J.filePath;return ye?[ye]:[]})),[to]),JU=he?.status==="complete",gy=Te,Sl=w.useMemo(()=>eHe(L.pendingFollowUps??[]),[L.pendingFollowUps]),l2=Sl.length>0,eW=!!L.pendingRequestUserInput,tW=!!L.pendingHITLRequest,ps=eW||tW,kk=!!(L.threadId||L.conversationId)||Ln.length>0||wl,c2=t?.composer?.projects?.locked===!0&&!!l,rW=u&&(c2||!kk&&Qr),vk=!!L.todos?.items.length,$u=w.useMemo(()=>i!=="main"?null:DSt(t?.goal)?t.goal:B9t(L.client)?N9t(L.client,{xpertId:L.assistantId,projectId:l}):null,[l,t?.goal,L.assistantId,L.client,i]),nW=he?(he.elapsedSeconds??0)+(zt?Math.max(0,Math.floor((Dr-zt)/1e3)):0):0,Ml=pet(i==="main"?Pi:null,i==="main"?Re:null,"goal"),oW=Ml&&!JU&&(!!ve||he?.status==="active"&&L.isLoading),po=w.useCallback(()=>{hs(null)},[]),ta=w.useCallback((J,ye)=>{const Ce=bk(J),$e=Fr.current;if(Fr.current=Ce,typeof ye?.caretOffset=="number"&&(pi.current=ye.caretOffset),ye?.syncRemovedCapabilityTokens??!0){const Ge=Y9t($e,Ce);Ge.length>0&&at(yt=>K9t(yt,Ge))}Xe(Ce),ye?.resetDom&&(be(Ce),lt(Ge=>Ge+1))},[at]),wk=w.useCallback(J=>{const ye=Fr.current.filter(Ce=>Ce.type==="text");ta(ye,{resetDom:!0,syncRemovedCapabilityTokens:!1}),an.current?.clear(),nn([]),di([]),ro(null),qt(null),Wn(),L.setConnectorBindingIds([]).catch(Ce=>{console.warn("[Chat] Failed to clear connector selection before changing project:",Ce)}),g?.([]),f?.(J)},[ta,f,g,Wn,L]),ms=w.useCallback((J,ye=J.length)=>{ta(a4(J),{caretOffset:ye,resetDom:!0,syncRemovedCapabilityTokens:!0})},[ta]),qs=w.useCallback(J=>{const ye=J??Xo(Fr.current);pi.current=ye,requestAnimationFrame(()=>{const Ce=en.current;Ce&&SX(Ce,ye)})},[]);w.useEffect(()=>{!s||fi.current===s.id||(fi.current=s.id,nn(J=>Y2(J,[s.reference])),requestAnimationFrame(()=>en.current?.focus()))},[s]);const{applyComposerValueRuntimeCapabilities:Ck,updateRuntimeCapabilityPalette:Ic,removeRunRuntimeCapability:aW,insertComposerCapabilityToken:iW}=Q9t({runtimeCapabilities:Pi,runtimeCapabilitiesReady:Lc,runtimeCapabilityOptions:ge,setRunRuntimeCapabilities:at,setRuntimeCapabilityPalette:gt,applyExternalRuntimeCapabilities:jr,composerInputRef:en,composerPartsRef:Fr,commitComposerParts:ta,focusComposerAt:qs}),sW=w.useCallback(J=>{if(!J)return;const ye=typeof J.text=="string"&&J.insertRuntimeCapabilities===!0;if(typeof J.text=="string"&&ms(J.text),Array.isArray(J.references)){const Ce=il(J.references);nn($e=>J.appendReferences?Y2($e,Ce):Ce)}if(J.selectedToolId!==void 0){const Ce=J.selectedToolId===null?null:(C?.tools??[]).find($e=>$e.id===J.selectedToolId)??null;qt(Ce)}J.selectedModelId!==void 0&&(qo.current=J.selectedModelId,Aa?.(Pr.length?Pb(Pr,J.selectedModelId):J.selectedModelId)),Ck(J,ye?{insertAt:0}:void 0)},[Ck,Pr,C?.tools,ms,Aa]),lW=w.useCallback(J=>{jr(J)},[jr]),cW=w.useCallback(()=>{en.current?.focus()},[]),yy=w.useCallback(J=>{jn||Ec({...fs,enabled:J})},[fs,jn,Ec]),mi=Xg(i==="main"?{onSetComposerValue:sW,onSetRuntimeCapabilities:lW,onFocusComposer:cW,onSetPetEnabled:yy}:{}),u2=mi?.sendEvent;w.useEffect(()=>{if(La.current!==ft&&(La.current=ft,qo.current=void 0),C?.models!==void 0){const Ce=dpe(C.models);Xt(Ce),Tr(null),Aa?.(Pb(Ce,qo.current===void 0?li.current:qo.current));return}if(Xt([]),Tr(null),Aa?.(null),re||!ft)return;const J=ho.assistants;if(typeof J?.getModels!="function")return;const ye=new AbortController;return J.getModels(ft,{signal:ye.signal}).then(Ce=>{if(ye.signal.aborted)return;const $e=dpe(Ce.models);Xt($e),Tr({...Ce,models:$e});const Ge=qo.current;Aa?.(Ge===void 0?Ce.selected_model_id?Pb($e,Ce.selected_model_id):null:Ge===null?$e.find(yt=>yt.default&&!yt.disabled)?.id??null:Pb($e,Ge))}).catch(Ce=>{ye.signal.aborted||Ce!==null&&typeof Ce=="object"&&Reflect.get(Ce,"status")===404||u2?.("public_event",["error",{error:wpe(Ce)}])}),()=>ye.abort()},[C?.models,re,ft,ho,u2,Aa]);const Sk=w.useCallback(J=>{const ye=Pb(Pr,J);if(!ye||(qo.current=ye,Aa?.(ye),!_r?.preference_persistable))return;const Ce=ho.assistants;typeof Ce?.setModelPreference=="function"&&Ce.setModelPreference(ft,ye).catch($e=>{u2?.("public_event",["error",{error:wpe($e)}])})},[Pr,_r?.preference_persistable,ft,ho,u2,Aa]),Mk=mi?.isParentAvailable===!0&&hpe(kl),_k=w.useCallback(()=>{mi?.sendEvent("chat_minimize_change",{minimized:!0})},[mi]),d2=w.useCallback(()=>{if(i!=="main"){po();return}if(typeof window>"u"){po();return}const J=window.getSelection();if(!J||J.isCollapsed||J.rangeCount===0){po();return}const ye=J.toString().trim();if(!ye){po();return}const Ce=Mpe(J.anchorNode),$e=Mpe(J.focusNode);if(!Ce||!$e||Ce!==$e||!Or.current?.contains(Ce)){po();return}const yt=J.getRangeAt(0).getBoundingClientRect();if(yt.width===0&&yt.height===0){po();return}const Ar=yt.bottom+8>window.innerHeight-48?Math.max(12,yt.top-44):yt.bottom+8,un=Math.min(Math.max(24,yt.left+yt.width/2),window.innerWidth-24),Lr=Ce.dataset.quoteSource?.trim()||void 0,dr=Ce.dataset.quoteMessageId?.trim()||void 0;hs({reference:{type:"quote",text:ye,...dr?{messageId:dr}:{},...Lr?{source:Lr,label:Lr}:{}},top:Ar,left:un})},[po,i]),Rc=w.useCallback(()=>{pa.current!==null&&(cancelAnimationFrame(pa.current),pa.current=null)},[]),Ua=w.useCallback(()=>{fo.current=!1,ji.current=!1,Rc()},[Rc]),Tk=w.useCallback(()=>{fo.current=!0,ji.current=!0,ot(!1)},[]),Vu=w.useCallback((J=!1,ye=!1)=>{ye&&Tk(),Rc(),pa.current=requestAnimationFrame(()=>{pa.current=null;const Ce=Or.current;if(Ce){if(!ye&&!ji.current)return;const $e=Ce.scrollHeight;typeof Ce.scrollTo=="function"?Ce.scrollTo({top:$e,behavior:J?"smooth":"instant"}):Ce.scrollTop=$e}})},[Rc,Tk]),uW=w.useCallback((J,ye)=>{if(ye){no.current.set(J,ye);return}no.current.delete(J)},[]),Ak=w.useCallback(J=>no.current.get(J.id)??null,[]),Lk=w.useCallback(()=>{Ua(),po()},[po,Ua]),_l=t?.taskSummary?.enabled===!0,ga=L.conversationId??null,[zc,Uu]=w.useState(!1),[by,h2]=w.useState(!1),yh=w.useRef(new Set),f2=w.useMemo(()=>{const J=Sl.map($e=>({id:`follow-up:${$e.id}`,kind:"follow_up",title:$e.mode==="steer"?b("taskSummary.pending.steer"):b("taskSummary.pending.followUp"),messageId:$e.clientMessageId,createdAt:new Date($e.createdAt).toISOString()})),ye=L.pendingRequestUserInput?[{id:`user-input:${L.pendingRequestUserInput.id}`,kind:"user_input",title:L.pendingRequestUserInput.params.questions[0]?.header||b("taskSummary.pending.userInput"),createdAt:new Date(L.pendingRequestUserInput.createdAt).toISOString()}]:[];return[...L.pendingHITLRequest?[{id:`approval:${L.pendingHITLRequest.id}`,kind:"approval",title:b("taskSummary.pending.approval"),createdAt:new Date(L.pendingHITLRequest.createdAt).toISOString()}]:[],...ye,...J]},[Sl,L.pendingHITLRequest,L.pendingRequestUserInput,b]),xy=w.useMemo(()=>L.runtimeActivities.sandboxServices.services.filter(J=>J.status==="starting"||J.status==="running"||J.status==="stopping").map(J=>({id:J.id??`${J.provider}:${J.name}:${J.actualPort??J.requestedPort??""}`,title:J.name,status:J.status,description:J.actualPort||J.requestedPort?`:${J.actualPort??J.requestedPort}`:void 0,resource:{type:"browser",serviceId:J.id,url:J.previewUrl??void 0},updatedAt:J.startedAt??void 0})),[L.runtimeActivities.sandboxServices.services]),ky=w.useMemo(()=>{const J=new Map;return ge.forEach(ye=>{if(ye.type!=="subAgent")return;const Ce=ye.capability.name?.trim();if(!Ce)return;J.set(ye.id,Ce);const $e=ye.capability.agentKey?.trim();$e&&J.set($e,Ce)}),J},[ge]),Ek=w.useMemo(()=>o$e({messages:Ln.map(J=>({id:J.id,content:J.content,createdAt:J.createdAt,updatedAt:J.updatedAt,taskSummary:J.taskSummary,references:J.references,attachments:J.attachments,fileAssets:J.fileAssets,agentRuns:J.agentRuns,runtimeCapabilities:J.runtimeCapabilities})),goal:he,todos:L.todos,pending:f2,running:xy,agentNames:ky}),[f2,xy,Ln,L.todos,ky,he]),Wu=CSt({enabled:_l,conversationId:ga,client:L.client,live:Ek,refreshVersion:L.historyMessageLoadVersion}),dW=w.useCallback(async J=>{try{let ye=no.current.get(J),Ce=0;for(;!ye&&Ce<100&&(await L.loadMoreConversationMessages()).length;)Ce+=1,await new Promise(Ge=>requestAnimationFrame(()=>Ge())),ye=no.current.get(J);if(!ye)return;Ua(),po(),ye.scrollIntoView({behavior:"smooth",block:"center"})}catch(ye){console.warn("Failed to locate task summary message",ye)}},[po,Ua,L]),hW=w.useCallback((J,ye,Ce)=>{const $e={resource:J,conversationId:ga??void 0,messageId:ye,title:Ce};mi.sendEvent("public_event",["effect",{name:LDe,data:$e}])},[mi,ga]);w.useEffect(()=>{const J=Or.current;if(!J)return;bl.current=J.scrollTop;const ye=()=>{xl.current=!1},Ce=()=>{const Lr=J.scrollTop,dr=Lr<bl.current-1;bl.current=Lr;const oo=sge(J);if(ce(oo),oo){ji.current=!0,ot(!1);return}if(fo.current){ji.current=!0;return}if(xl.current&&dr){Ua();return}ji.current=!1},$e=Lr=>{Lr.deltaY<0&&Ua()},Ge=()=>{xl.current=!0},yt=Lr=>{Fs.current=Lr.touches[0]?.clientY??null},Ar=Lr=>{const dr=Lr.touches[0]?.clientY;typeof dr=="number"&&(Fs.current!==null&&dr>Fs.current+1&&Ua(),Fs.current=dr)},un=()=>{Fs.current=null};return Ce(),J.addEventListener("wheel",$e,{passive:!0}),J.addEventListener("pointerdown",Ge,{passive:!0}),J.addEventListener("scroll",Ce,{passive:!0}),J.addEventListener("touchstart",yt,{passive:!0}),J.addEventListener("touchmove",Ar,{passive:!0}),J.addEventListener("touchend",un,{passive:!0}),window.addEventListener("pointerup",ye,{passive:!0}),window.addEventListener("pointercancel",ye,{passive:!0}),()=>{Rc(),J.removeEventListener("wheel",$e),J.removeEventListener("pointerdown",Ge),J.removeEventListener("scroll",Ce),J.removeEventListener("touchstart",yt),J.removeEventListener("touchmove",Ar),J.removeEventListener("touchend",un),window.removeEventListener("pointerup",ye),window.removeEventListener("pointercancel",ye)}},[Rc,Ua]),w.useEffect(()=>{ji.current=!0,fo.current=!1,bl.current=0,ce(!0),ot(!1)},[L.threadId]),w.useEffect(()=>{const J=Ln.length!==Fu.current;if(Fu.current=Ln.length,Ps.current){ot(!1);return}if(!ji.current){(J||L.isLoading)&&ot(!0);return}(J||L.isLoading)&&Vu()},[L.isLoading,Ln,Vu]);const fW=!a&&re,pW=$o.hasUploadingFiles,ra=ps||re||z||pW||Vr,Gu=!Cl&&!xk||ra,p2=ps||re||z,vy=w.useCallback(()=>{const J=en.current;J&&(J.style.maxHeight=`${vpe}px`,J.style.overflowY=J.scrollHeight>vpe?"auto":"hidden")},[]);w.useLayoutEffect(()=>{Fr.current=nt,vy();const J=pi.current;if(typeof J=="number"){pi.current=null;const ye=en.current;ye&&SX(ye,J)}},[je,nt,vy]),w.useEffect(()=>(document.addEventListener("selectionchange",d2),()=>{document.removeEventListener("selectionchange",d2)}),[d2]),w.useEffect(()=>{const J=Or.current;if(!J)return;const ye=()=>{po()};return J.addEventListener("scroll",ye,{passive:!0}),window.addEventListener("resize",ye,{passive:!0}),()=>{J.removeEventListener("scroll",ye),window.removeEventListener("resize",ye)}},[po]),w.useEffect(()=>{po()},[Ln.length,L.threadId,po]),w.useEffect(()=>{re||br()},[re,br]),w.useEffect(()=>{if(re||!L.client||!L.assistantId){U(null),W(null);return}U(null),W(null);let J=!1;return L.client.assistants.get(L.assistantId).then(ye=>{if(J||!ye)return;const Ce=typeof ye.metadata?.title=="string"&&ye.metadata.title.trim()?ye.metadata.title:ye.name;U(Ce),W(YUe(ye))}).catch(ye=>{J||(W(null),console.warn("[Chat] Failed to load assistant info:",ye))}),()=>{J=!0}},[re,L.client,L.assistantId]),w.useEffect(()=>{we(L.threadGoal)},[L.threadGoal]),w.useEffect(()=>{const J=L.threadId?.trim();if(!J||!Ml){we(null),fe(null),Oe(!1),rt(!1);return}if(!$u){we(null),fe(null),Oe(!1),rt(!1);return}const ye=new AbortController;return Oe(!0),fe(null),Uqe({goal:$u,threadId:J,signal:ye.signal}).then(Ce=>{ye.signal.aborted||we(Ce)}).catch(Ce=>{ye.signal.aborted||(fe(Ce instanceof Error?Ce.message:String(Ce)),we(null))}).finally(()=>{ye.signal.aborted||Oe(!1)}),()=>ye.abort()},[$u,Ml,L.threadId]);const wy=$o.uploadedFiles,bh=w.useCallback(J=>{const ye=fpe(Fr.current),Ce=$9t(J,ye),$e=i4(J)?.end??Xo(Ce);ta(Ce,{caretOffset:$e,resetDom:!1});const Ge=Cpe(H5(Ce),$e);ro(Ge),Ge?gt(null):Ic(Ce,$e)},[ta,gt,Ic]),Cy=w.useCallback(J=>{Vo.current||bh(J.currentTarget)},[bh]),mW=w.useCallback(()=>{Vo.current=!0},[]),Zu=w.useCallback(J=>{Vo.current=!1,bh(J.currentTarget)},[bh]),Sy=w.useCallback(()=>{const J=en.current?CSe(en.current):void 0;if(typeof J=="number"){const ye=Cpe(H5(Fr.current),J);if(ro(ye),ye){gt(null);return}}Ic(Fr.current,J)},[gt,Ic]),gs=w.useCallback((J={})=>{if(ra)return;const ye=(J.inputText??Cl).trim(),Ce=Spe(wy,to),$e=Ce.length>0?Ce:void 0,Ge=An.length>0?[...An]:void 0,yt=L.isLoading?"queue":void 0,Ar=J.planMode??Jn,un=DH({content:ye,references:Ge})??($e?{input:""}:null);if(!un)return;const{runtimeCapabilitiesForSubmit:Lr,runtimeCapabilityOptionsForMessage:dr}=Fi(J.runtimeCapabilities),oo=J.displayText||ye||(Ge||$e?b("chat.referencedContentOnly"):""),mr={id:Bo(),type:"human",content:oo,submittedInput:un.input,...un.referenceComposition?{referenceComposition:un.referenceComposition}:{},...Lr?{runtimeCapabilities:Lr}:{},...dr.length>0?{runtimeCapabilityOptions:dr}:{},...$e?{fileAssets:$e}:{},...Ge?{references:Ge}:{},...L.selectedModelId?{model:L.selectedModelId}:{}},xr={...un,...L.selectedModelId?{model:L.selectedModelId}:{}};$e&&(xr.files=$e),Ar&&(xr.planMode=!0),Lr&&(xr.runtimeCapabilities=Lr),J.commandSource&&(xr.commandSource=J.commandSource);const Gt=RH({defaults:t?.request,humanInput:xr}),Ia=Re,Pn=!!Ia&&!L.threadId&&!yt,En=Fr.current,mo=An,w2=to,Nk=Fe,Ll=Ke&&!Ke.pinned?Ke:null;ta([],{caretOffset:0,resetDom:!0,syncRemovedCapabilityTokens:!1});const jc=an.current?.clearWithRollback()??(()=>{});nn([]),di([]),ro(null),Ll&&qt(null),Wn();const Ry=()=>{const ys=Fr.current,$s=fpe(ys),bs=En.filter(oa=>oa.type==="text"||!$s.has(oa.key)),El=bs.length>0&&ys.length>0?a4(`