@mcp-use/inspector 0.20.0 → 0.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (210) hide show
  1. package/dist/client/components/MCPAppsRenderer.d.ts.map +1 -1
  2. package/dist/client/index.js +59 -58
  3. package/dist/web/assets/{1c-9fOAtoId.js → 1c-Oj-kARDL.js} +1 -1
  4. package/dist/web/assets/{abnf-UD4o0DvD.js → abnf-gbpyex7v.js} +1 -1
  5. package/dist/web/assets/{accesslog-xr-_9t1D.js → accesslog-Dojz9kk-.js} +1 -1
  6. package/dist/web/assets/{actionscript-BxZrVHY7.js → actionscript-mZqhqK8d.js} +1 -1
  7. package/dist/web/assets/{ada-B4jKh-JW.js → ada-DhZre7t4.js} +1 -1
  8. package/dist/web/assets/{angelscript-5afFVJBH.js → angelscript-Dw4HK16Z.js} +1 -1
  9. package/dist/web/assets/{apache-BhLNXl03.js → apache-CAk8_5g2.js} +1 -1
  10. package/dist/web/assets/{applescript-I6HPTmzT.js → applescript-YXn24-m4.js} +1 -1
  11. package/dist/web/assets/{arcade-DPSQsqX0.js → arcade-CiYtlKaj.js} +1 -1
  12. package/dist/web/assets/{arduino-OVrQwNmc.js → arduino-CKOR6-oG.js} +1 -1
  13. package/dist/web/assets/{armasm-1_lZeXvU.js → armasm-dUHYTciK.js} +1 -1
  14. package/dist/web/assets/{asciidoc-CtavjooU.js → asciidoc-CjuPXxuW.js} +1 -1
  15. package/dist/web/assets/{aspectj-CnA7gqoh.js → aspectj-CJBeE_x9.js} +1 -1
  16. package/dist/web/assets/{autohotkey-Bvmq28Pp.js → autohotkey-BuzNpbNu.js} +1 -1
  17. package/dist/web/assets/{autoit-C9ctIvbx.js → autoit-BhitNWNF.js} +1 -1
  18. package/dist/web/assets/{avrasm-BawQ6_tX.js → avrasm-DNLyQDvJ.js} +1 -1
  19. package/dist/web/assets/{awk-Dlx8twoF.js → awk-DOeBmn2Q.js} +1 -1
  20. package/dist/web/assets/{axapta-CY5X-lec.js → axapta-CZbchvjz.js} +1 -1
  21. package/dist/web/assets/{bash-DVIunwBB.js → bash-CFr3w92K.js} +1 -1
  22. package/dist/web/assets/{basic-bnpAyd8o.js → basic-L1Nkia-P.js} +1 -1
  23. package/dist/web/assets/{bnf-BSxkYeG3.js → bnf-DtnyH_33.js} +1 -1
  24. package/dist/web/assets/{brainfuck-w08TzRRk.js → brainfuck-DMsKRQfT.js} +1 -1
  25. package/dist/web/assets/{c-like-C968uMWD.js → c-like-DH6w8Vnp.js} +1 -1
  26. package/dist/web/assets/{c-CUnehzhN.js → c-meJXV62D.js} +1 -1
  27. package/dist/web/assets/{cal-CEPTf9af.js → cal-CXyEr9wE.js} +1 -1
  28. package/dist/web/assets/{capnproto-C5Jl_d1_.js → capnproto-C6G336LK.js} +1 -1
  29. package/dist/web/assets/{ceylon-WRlgiHIe.js → ceylon-C_gsBoeh.js} +1 -1
  30. package/dist/web/assets/{clean-CBpWqWMU.js → clean-BX8utJ4T.js} +1 -1
  31. package/dist/web/assets/{client-D7M7w9YL.js → client-Cb2w6EiZ.js} +3 -3
  32. package/dist/web/assets/{clojure-COKJioJD.js → clojure-Bv3lQy8P.js} +1 -1
  33. package/dist/web/assets/{clojure-repl-bWoHVx38.js → clojure-repl-MT5Zqzj1.js} +1 -1
  34. package/dist/web/assets/{cmake-DcfnD61E.js → cmake-BKT2NCaz.js} +1 -1
  35. package/dist/web/assets/{coffeescript-BA1Kj_mS.js → coffeescript-BIfTgFrH.js} +1 -1
  36. package/dist/web/assets/{coq-BXTETVx3.js → coq-DaZ7dl5Z.js} +1 -1
  37. package/dist/web/assets/{core-Cn5w6gtz.js → core-COU3xnO0.js} +1 -1
  38. package/dist/web/assets/{cos-fCB9y4dn.js → cos-DTGAPiuH.js} +1 -1
  39. package/dist/web/assets/{cpp-B5D5Oohp.js → cpp-BrzN_X_4.js} +1 -1
  40. package/dist/web/assets/{crmsh-D4XJHcfu.js → crmsh-CDt6lbQp.js} +1 -1
  41. package/dist/web/assets/{crystal-BjzQdvSi.js → crystal-tzSaHDcV.js} +1 -1
  42. package/dist/web/assets/{csharp-BNymHZ_J.js → csharp-OHl3U4yk.js} +1 -1
  43. package/dist/web/assets/{csp-BtF0N04H.js → csp-53uF1u5R.js} +1 -1
  44. package/dist/web/assets/{css-a4y3jiw1.js → css-OsXSqA4o.js} +1 -1
  45. package/dist/web/assets/{d-DqUmSQv_.js → d-1Rfl_TQA.js} +1 -1
  46. package/dist/web/assets/{dart-Cjc0GpfE.js → dart-BLgEhzW6.js} +1 -1
  47. package/dist/web/assets/{delphi-DvyaaQkK.js → delphi-5MGT0p2r.js} +1 -1
  48. package/dist/web/assets/{diff-CBc40Um6.js → diff-90qvg1Ru.js} +1 -1
  49. package/dist/web/assets/{display-A5IEINAP-D-VH1ibn.js → display-A5IEINAP-Bu1cjhpk.js} +2 -2
  50. package/dist/web/assets/{django-DSX1Ul99.js → django-CAoBMPA3.js} +1 -1
  51. package/dist/web/assets/{dns-B1KpzW4M.js → dns-Dvb3lAIV.js} +1 -1
  52. package/dist/web/assets/{dockerfile-zts4UURo.js → dockerfile-CEXmI-ra.js} +1 -1
  53. package/dist/web/assets/{dos-Bdc5ziqj.js → dos-gWX_rpd9.js} +1 -1
  54. package/dist/web/assets/{dsconfig-D9LJC0jo.js → dsconfig-DT3Z3nCU.js} +1 -1
  55. package/dist/web/assets/{dts-Dn9Zy1Dc.js → dts-WhReUo4_.js} +1 -1
  56. package/dist/web/assets/{dust-Imv3EsJD.js → dust-eG3ISVWr.js} +1 -1
  57. package/dist/web/assets/{ebnf-Da-zNIMs.js → ebnf-BxRldTxK.js} +1 -1
  58. package/dist/web/assets/{elixir-DzP6evv2.js → elixir-BMblKkw2.js} +1 -1
  59. package/dist/web/assets/{elm-CZUOxYdN.js → elm-DCNOlg64.js} +1 -1
  60. package/dist/web/assets/{embeddings-Dm-D9Jqe.js → embeddings-B4ViHRXY.js} +1 -1
  61. package/dist/web/assets/{erb-B_mIpzpR.js → erb-BxKGWtte.js} +1 -1
  62. package/dist/web/assets/{erlang-CLZz_Hk2.js → erlang-VFqcmQac.js} +1 -1
  63. package/dist/web/assets/{erlang-repl-B-ARsDx2.js → erlang-repl-B3DssA-s.js} +1 -1
  64. package/dist/web/assets/{excel-B4pUI08V.js → excel-CVUHQXRX.js} +1 -1
  65. package/dist/web/assets/{fix-CSplM5Pw.js → fix-DVyR6II_.js} +1 -1
  66. package/dist/web/assets/{flix-FBC2JbBp.js → flix-CR_C_l4x.js} +1 -1
  67. package/dist/web/assets/{fortran-6SNj-tlI.js → fortran-BDWA7Oml.js} +1 -1
  68. package/dist/web/assets/{fsharp-DUS7lh-Q.js → fsharp-BclT1BaK.js} +1 -1
  69. package/dist/web/assets/{gams-CTfDaHUc.js → gams-BmT13tfd.js} +1 -1
  70. package/dist/web/assets/{gauss-ZfJ3tcNp.js → gauss-DjApZhTZ.js} +1 -1
  71. package/dist/web/assets/{gcode-WTMd9gOE.js → gcode-BAiOn99J.js} +1 -1
  72. package/dist/web/assets/{gherkin-IQ4ZLG9T.js → gherkin-Bkv6sekB.js} +1 -1
  73. package/dist/web/assets/{glsl-BsRip7hP.js → glsl-DLJHoOLJ.js} +1 -1
  74. package/dist/web/assets/{gml-BAZqYC2v.js → gml-DXMzTB6Q.js} +1 -1
  75. package/dist/web/assets/{go-hFMTPWAW.js → go-BExe0fdv.js} +1 -1
  76. package/dist/web/assets/{golo-BUPVzwzX.js → golo-C6i2gcH5.js} +1 -1
  77. package/dist/web/assets/{gradle-Ciu38bm7.js → gradle-BQWHs2Yg.js} +1 -1
  78. package/dist/web/assets/{groovy-DdmgLXnk.js → groovy-CIWponIL.js} +1 -1
  79. package/dist/web/assets/{haml-CxzfJ_fv.js → haml-B7DWMgaa.js} +1 -1
  80. package/dist/web/assets/{handlebars-DAifJ-q6.js → handlebars-B3fHy3L7.js} +1 -1
  81. package/dist/web/assets/{haskell-DzZXzxYE.js → haskell-Bbhkfqq5.js} +1 -1
  82. package/dist/web/assets/{haxe-DywteKnE.js → haxe-BddBYvfC.js} +1 -1
  83. package/dist/web/assets/{hsp-DIC8OMyT.js → hsp-eNxPEtM1.js} +1 -1
  84. package/dist/web/assets/{htmlbars-xsvWzzXo.js → htmlbars-DyGMytQT.js} +1 -1
  85. package/dist/web/assets/{http-D6HUUqMS.js → http-C9tM9l0I.js} +1 -1
  86. package/dist/web/assets/{hy-4dq0NV8V.js → hy-C2n-rspI.js} +1 -1
  87. package/dist/web/assets/{index-BuMwyqtr.js → index-Bp0cyOcw.js} +1 -1
  88. package/dist/web/assets/{index-DEJSnc43.js → index-BqDPk24o.js} +1 -1
  89. package/dist/web/assets/{index-Deap-KOc.js → index-D5-nrKkX.js} +1 -1
  90. package/dist/web/assets/{index-BS6bAr00.js → index-DEYsEGbN.js} +1 -1
  91. package/dist/web/assets/{index-CZeFNEUV.js → index-DEzVc1T8.js} +50 -50
  92. package/dist/web/assets/{index-B6C1uc4n.js → index-DOUSt7HC.js} +1 -1
  93. package/dist/web/assets/{index-kYKXKmi5.js → index-Dm6D5Nts.js} +1 -1
  94. package/dist/web/assets/{index-ArruDavK.js → index-x0vkP4Qz.js} +1 -1
  95. package/dist/web/assets/{inform7-BEd5mrc7.js → inform7-CXh2agFI.js} +1 -1
  96. package/dist/web/assets/{ini-_vZuZ-YY.js → ini-BC_gZWpo.js} +1 -1
  97. package/dist/web/assets/{irpf90-zVQXjHyT.js → irpf90-DfnrI0e2.js} +1 -1
  98. package/dist/web/assets/{isbl-D3fQeI0q.js → isbl-BQWRY6M1.js} +1 -1
  99. package/dist/web/assets/{java-cychPp2a.js → java-D6jJYs54.js} +1 -1
  100. package/dist/web/assets/{javascript-B0HSL9jA.js → javascript-D0R2KOUv.js} +1 -1
  101. package/dist/web/assets/{jboss-cli-CbO9NVWn.js → jboss-cli-8G4zhEKz.js} +1 -1
  102. package/dist/web/assets/{json-CL2mYBhj.js → json-9DZRcIIm.js} +1 -1
  103. package/dist/web/assets/{julia-73H-cHyn.js → julia-CcXt8oVl.js} +1 -1
  104. package/dist/web/assets/{julia-repl-BZ6klf4E.js → julia-repl-CgaSfQKL.js} +1 -1
  105. package/dist/web/assets/{kotlin-C9QHJOLd.js → kotlin-SdImgIl_.js} +1 -1
  106. package/dist/web/assets/{langfuse-U2OEF7K7-CC-kbKr2.js → langfuse-U2OEF7K7-ROaatZoy.js} +3 -3
  107. package/dist/web/assets/{lasso-C_rwjoxR.js → lasso-dkdCJzU8.js} +1 -1
  108. package/dist/web/assets/{latex-wK0rQw-O.js → latex-BiJWbIZO.js} +1 -1
  109. package/dist/web/assets/{ldif-Cahhgl7H.js → ldif-CPkEXfyu.js} +1 -1
  110. package/dist/web/assets/{leaf-DGJL5l1N.js → leaf-DJkJxsVl.js} +1 -1
  111. package/dist/web/assets/{less-Njm4vARh.js → less-CwlleEAT.js} +1 -1
  112. package/dist/web/assets/{lisp-DLAvWfpd.js → lisp-U2Cuoz-6.js} +1 -1
  113. package/dist/web/assets/{livecodeserver-4wn5tcTz.js → livecodeserver-C1g6lmRt.js} +1 -1
  114. package/dist/web/assets/{livescript-BGXE_mcK.js → livescript-B65HHv4k.js} +1 -1
  115. package/dist/web/assets/{llms-Bq7qsOB_.js → llms-B5jiMs2N.js} +1 -1
  116. package/dist/web/assets/{llvm-CjUNP2If.js → llvm-BFKQGIc9.js} +1 -1
  117. package/dist/web/assets/{lsl-BiwbIbM2.js → lsl-B33gns_K.js} +1 -1
  118. package/dist/web/assets/{lua-B7sfIo9l.js → lua-Ct8Gc3lg.js} +1 -1
  119. package/dist/web/assets/{makefile-CygpNlGr.js → makefile-B6J1bQhe.js} +1 -1
  120. package/dist/web/assets/{markdown-DDqcrVM6.js → markdown-CLF4-bNJ.js} +1 -1
  121. package/dist/web/assets/{mathematica-C5QmG_gf.js → mathematica-B6aSO13o.js} +1 -1
  122. package/dist/web/assets/{matlab-PwCY-qhc.js → matlab-CS5W4gGh.js} +1 -1
  123. package/dist/web/assets/{maxima-BpP00f3K.js → maxima-KZF5p0oC.js} +1 -1
  124. package/dist/web/assets/{mel-_fTnp5ng.js → mel-BMxQ6JBb.js} +1 -1
  125. package/dist/web/assets/{mercury-3AhYbhWh.js → mercury-CsTY4Dfm.js} +1 -1
  126. package/dist/web/assets/{mipsasm-BH63smWz.js → mipsasm-Du6LeG-e.js} +1 -1
  127. package/dist/web/assets/{mizar-C-zCiS2Q.js → mizar-CVf3eQkO.js} +1 -1
  128. package/dist/web/assets/{mojolicious-CIBNGUcA.js → mojolicious-BcN1QPb_.js} +1 -1
  129. package/dist/web/assets/{monkey-CberjPNo.js → monkey-U4H5T2Va.js} +1 -1
  130. package/dist/web/assets/{moonscript-BjxxJdM3.js → moonscript-DMuEksYy.js} +1 -1
  131. package/dist/web/assets/{n1ql-DtYTsdEB.js → n1ql-EL0CnXBp.js} +1 -1
  132. package/dist/web/assets/{nginx-B5shscjc.js → nginx-C6sY8soe.js} +1 -1
  133. package/dist/web/assets/{nim-BOFdICae.js → nim-Dltmhlvd.js} +1 -1
  134. package/dist/web/assets/{nix-D9kHEKcN.js → nix-BBleBsq0.js} +1 -1
  135. package/dist/web/assets/{node-repl-BAxbp-8m.js → node-repl-bpyue_7W.js} +1 -1
  136. package/dist/web/assets/{nsis-BkBhzHBr.js → nsis-BqyJU2bk.js} +1 -1
  137. package/dist/web/assets/{objectivec-hbXCi3U3.js → objectivec-DC2ZbUMg.js} +1 -1
  138. package/dist/web/assets/{ocaml-CmGZwHv9.js → ocaml-gQ9fH4Ho.js} +1 -1
  139. package/dist/web/assets/{openscad-Pzg1LCDm.js → openscad-CpseMZRb.js} +1 -1
  140. package/dist/web/assets/{oxygene-Vt9dTyEG.js → oxygene-CZIJ-pWf.js} +1 -1
  141. package/dist/web/assets/{parser3-DqLPOGQp.js → parser3-DgRMmhjZ.js} +1 -1
  142. package/dist/web/assets/{perl-BAH9aGdE.js → perl-IdrzjSvm.js} +1 -1
  143. package/dist/web/assets/{pf-Cs38MNhe.js → pf-DMS3nOwl.js} +1 -1
  144. package/dist/web/assets/{pgsql-BCjs5ge5.js → pgsql-XJRZuFZy.js} +1 -1
  145. package/dist/web/assets/{php-ee2lR6U6.js → php-dLdhvrSw.js} +1 -1
  146. package/dist/web/assets/{php-template-ZCy0nT9e.js → php-template-BmYSlnnk.js} +1 -1
  147. package/dist/web/assets/{plaintext-_hOFNXkC.js → plaintext-vl-JmE97.js} +1 -1
  148. package/dist/web/assets/{pony-5pOAKjeT.js → pony-DpCr57Oz.js} +1 -1
  149. package/dist/web/assets/{powershell-w6ZN_aUf.js → powershell-DJnfCG-I.js} +1 -1
  150. package/dist/web/assets/{processing-BwSylLbg.js → processing-D2gVIfE-.js} +1 -1
  151. package/dist/web/assets/{profile-1LhzdLnu.js → profile-BxgSQObE.js} +1 -1
  152. package/dist/web/assets/{prolog-BTPYVKE2.js → prolog-CO4k1V2G.js} +1 -1
  153. package/dist/web/assets/{properties-JiNCHXzM.js → properties-B4e06caO.js} +1 -1
  154. package/dist/web/assets/{protobuf-BTHkSiHs.js → protobuf-azch6v91.js} +1 -1
  155. package/dist/web/assets/{puppet-CrA85bv1.js → puppet-D5mB2A0a.js} +1 -1
  156. package/dist/web/assets/{purebasic-BtLO5gAV.js → purebasic-JsEwlGi0.js} +1 -1
  157. package/dist/web/assets/{python-B_xx8ln_.js → python-BnY3YNiL.js} +1 -1
  158. package/dist/web/assets/{python-repl-BU5pFSnV.js → python-repl-Cr-FBZ_-.js} +1 -1
  159. package/dist/web/assets/{q-D-DNDA0F.js → q-CDYZW4cR.js} +1 -1
  160. package/dist/web/assets/{qml-DLltPg-s.js → qml-jQMkDk8I.js} +1 -1
  161. package/dist/web/assets/{r-C9TVzsbV.js → r-Cf0JwxDH.js} +1 -1
  162. package/dist/web/assets/{reasonml-CfjPgedN.js → reasonml-BFbdkSjH.js} +1 -1
  163. package/dist/web/assets/{rib-DQTtGvBN.js → rib-ChfluABb.js} +1 -1
  164. package/dist/web/assets/{roboconf-DTcZfOdX.js → roboconf-GS0e44Fy.js} +1 -1
  165. package/dist/web/assets/{routeros-__oTwpYM.js → routeros-xhgfqo_f.js} +1 -1
  166. package/dist/web/assets/{rsl-Dh5_-Igm.js → rsl-BDJOZFYC.js} +1 -1
  167. package/dist/web/assets/{ruby-6kOMrRLC.js → ruby-JQHW-i-_.js} +1 -1
  168. package/dist/web/assets/{ruleslanguage-BNsvz5Dq.js → ruleslanguage-CZwVKfFN.js} +1 -1
  169. package/dist/web/assets/{rust-CJuL030Z.js → rust-CXBdcMDk.js} +1 -1
  170. package/dist/web/assets/{sas-C8ka8fzh.js → sas-D4cXEEVG.js} +1 -1
  171. package/dist/web/assets/{scala-DTnvnFA8.js → scala-j5fqHjSB.js} +1 -1
  172. package/dist/web/assets/{scheme-B2nS_dhR.js → scheme-DNnjCBLb.js} +1 -1
  173. package/dist/web/assets/{scilab-oFZbrlj3.js → scilab-BVyr-bEy.js} +1 -1
  174. package/dist/web/assets/{scss-Bl2zBvg1.js → scss-C6H2tfD9.js} +1 -1
  175. package/dist/web/assets/{shell-IcG9RT0L.js → shell-CUhUWIA1.js} +1 -1
  176. package/dist/web/assets/{smali-BoM9LsIM.js → smali-DWyom7F1.js} +1 -1
  177. package/dist/web/assets/{smalltalk-CiRfRQj3.js → smalltalk-CLpGJAUq.js} +1 -1
  178. package/dist/web/assets/{sml-DYErTwr1.js → sml-36Yk270R.js} +1 -1
  179. package/dist/web/assets/{sqf-CqlA87Bs.js → sqf-BshG-hxl.js} +1 -1
  180. package/dist/web/assets/{sql-EK3NSt9j.js → sql-D9YAIB7N.js} +1 -1
  181. package/dist/web/assets/{sql_more-ZcvdS-sY.js → sql_more-BhetExPm.js} +1 -1
  182. package/dist/web/assets/{stan-C4-Zm4Vy.js → stan-Bf6DIE0m.js} +1 -1
  183. package/dist/web/assets/{stata-DvTmc46g.js → stata-DRSQHDYn.js} +1 -1
  184. package/dist/web/assets/{stdio-JJNSXSSG-yLClCzCe.js → stdio-UTOYNBXD-BBglu4Mp.js} +1 -1
  185. package/dist/web/assets/{step21-DaOG8Ffr.js → step21-BjfT1MBL.js} +1 -1
  186. package/dist/web/assets/{stylus-BIn4xQlF.js → stylus-CsBRztIR.js} +1 -1
  187. package/dist/web/assets/{subunit-BiLgn_R_.js → subunit-BxOUMKrR.js} +1 -1
  188. package/dist/web/assets/{swift-C2u5Umk-.js → swift-DTGxOxdh.js} +1 -1
  189. package/dist/web/assets/{taggerscript-BvgbPk4X.js → taggerscript-7UnLBvmy.js} +1 -1
  190. package/dist/web/assets/{tap-D_i_YYdZ.js → tap-DZDXPleG.js} +1 -1
  191. package/dist/web/assets/{tcl-BfJblw7s.js → tcl-DY80Ohzn.js} +1 -1
  192. package/dist/web/assets/{thrift-DiY8Ejd-.js → thrift-D9aENSsi.js} +1 -1
  193. package/dist/web/assets/{tp-JT1BZ_2w.js → tp-DFdKFfwR.js} +1 -1
  194. package/dist/web/assets/{twig-BvaFpf-b.js → twig-BTrNH64w.js} +1 -1
  195. package/dist/web/assets/{typescript-BsMfXY6k.js → typescript-7wno6lT0.js} +1 -1
  196. package/dist/web/assets/{vala-Cx_GJKlz.js → vala-Cz2i4_1q.js} +1 -1
  197. package/dist/web/assets/{vbnet-BWBjwLjd.js → vbnet-CCsRD3hq.js} +1 -1
  198. package/dist/web/assets/{vbscript-CZX4QozC.js → vbscript-drCvYo_z.js} +1 -1
  199. package/dist/web/assets/{vbscript-html-B7VqeEjz.js → vbscript-html-BmH-FdHH.js} +1 -1
  200. package/dist/web/assets/{verilog-0Thmo0sG.js → verilog-BDwVGjba.js} +1 -1
  201. package/dist/web/assets/{vhdl-C8kYJhfi.js → vhdl-yoLzk5pL.js} +1 -1
  202. package/dist/web/assets/{vim-B1DSKXjP.js → vim-BzbNHcBq.js} +1 -1
  203. package/dist/web/assets/{x86asm-Ct2xuo_y.js → x86asm-uxIqbHpK.js} +1 -1
  204. package/dist/web/assets/{xl-BCX6Ov1L.js → xl-BgV8nQYW.js} +1 -1
  205. package/dist/web/assets/{xml-BmpGo_xD.js → xml-BauwtffU.js} +1 -1
  206. package/dist/web/assets/{xquery-gpAqWleC.js → xquery-CZQDr0Hk.js} +1 -1
  207. package/dist/web/assets/{yaml-BXGjMaaS.js → yaml-8y4HUJyr.js} +1 -1
  208. package/dist/web/assets/{zephir-CTTzyPsH.js → zephir-By25rrV-.js} +1 -1
  209. package/dist/web/index.html +2 -2
  210. package/package.json +2 -2
@@ -1 +1 @@
1
- import{r as q}from"./index-CZeFNEUV.js";import{r as O}from"./core-lM8H9z0c.js";function P(s,n){for(var l=0;l<n.length;l++){const g=n[l];if(typeof g!="string"&&!Array.isArray(g)){for(const u in g)if(u!=="default"&&!(u in s)){const o=Object.getOwnPropertyDescriptor(g,u);o&&Object.defineProperty(s,u,o.get?o:{enumerable:!0,get:()=>g[u]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var x={},L={exports:{}},F;function C(){return F||(F=1,(function(s){(function(){var n;n=s.exports=u,n.format=u,n.vsprintf=g,typeof console<"u"&&typeof console.log=="function"&&(n.printf=l);function l(){console.log(u.apply(null,arguments))}function g(o,k){return u.apply(null,[o].concat(k))}function u(o){for(var k=1,S=[].slice.call(arguments),i=0,I=o.length,c="",p,N=!1,v,w,y=!1,r,e=function(){return S[k++]},a=function(){for(var t="";/\d/.test(o[i]);)t+=o[i++],p=o[i];return t.length>0?parseInt(t):null};i<I;++i)if(p=o[i],N)switch(N=!1,p=="."?(y=!1,p=o[++i]):p=="0"&&o[i+1]=="."?(y=!0,i+=2,p=o[i]):y=!0,r=a(),p){case"b":c+=parseInt(e(),10).toString(2);break;case"c":v=e(),typeof v=="string"||v instanceof String?c+=v:c+=String.fromCharCode(parseInt(v,10));break;case"d":c+=parseInt(e(),10);break;case"f":w=String(parseFloat(e()).toFixed(r||6)),c+=y?w:w.replace(/^0/,"");break;case"j":c+=JSON.stringify(e());break;case"o":c+="0"+parseInt(e(),10).toString(8);break;case"s":c+=e();break;case"x":c+="0x"+parseInt(e(),10).toString(16);break;case"X":c+="0x"+parseInt(e(),10).toString(16).toUpperCase();break;default:c+=p;break}else p==="%"?N=!0:c+=p;return c}})()})(L)),L.exports}var A,R;function T(){if(R)return A;R=1;var s=C(),n=l(Error);A=n,n.eval=l(EvalError),n.range=l(RangeError),n.reference=l(ReferenceError),n.syntax=l(SyntaxError),n.type=l(TypeError),n.uri=l(URIError),n.create=l;function l(g){return u.displayName=g.displayName||g.name,u;function u(o){return o&&(o=s.apply(null,arguments)),new g(o)}}return A}var _;function U(){if(_)return x;_=1;var s=O(),n=T();x.highlight=g,x.highlightAuto=u,x.registerLanguage=o,x.listLanguages=k,x.registerAlias=S,i.prototype.addText=p,i.prototype.addKeyword=I,i.prototype.addSublanguage=c,i.prototype.openNode=N,i.prototype.closeNode=v,i.prototype.closeAllNodes=y,i.prototype.finalize=y,i.prototype.toHTML=w;var l="hljs-";function g(r,e,a){var t=s.configure({}),d=a||{},h=d.prefix,f;if(typeof r!="string")throw n("Expected `string` for name, got `%s`",r);if(!s.getLanguage(r))throw n("Unknown language: `%s` is not registered",r);if(typeof e!="string")throw n("Expected `string` for value, got `%s`",e);if(h==null&&(h=l),s.configure({__emitter:i,classPrefix:h}),f=s.highlight(e,{language:r,ignoreIllegals:!0}),s.configure(t||{}),f.errorRaised)throw f.errorRaised;return{relevance:f.relevance,language:f.language,value:f.emitter.rootNode.children}}function u(r,e){var a=e||{},t=a.subset||s.listLanguages();a.prefix;var d=t.length,h=-1,f,m,b,E;if(typeof r!="string")throw n("Expected `string` for value, got `%s`",r);for(m={relevance:0,language:null,value:[]},f={relevance:0,language:null,value:[]};++h<d;)E=t[h],s.getLanguage(E)&&(b=g(E,r,e),b.language=E,b.relevance>m.relevance&&(m=b),b.relevance>f.relevance&&(m=f,f=b));return m.language&&(f.secondBest=m),f}function o(r,e){s.registerLanguage(r,e)}function k(){return s.listLanguages()}function S(r,e){var a=r,t;e&&(a={},a[r]=e);for(t in a)s.registerAliases(a[t],{languageName:t})}function i(r){this.options=r,this.rootNode={children:[]},this.stack=[this.rootNode]}function I(r,e){this.openNode(e),this.addText(r),this.closeNode()}function c(r,e){var a=this.stack,t=a[a.length-1],d=r.rootNode.children,h=e?{type:"element",tagName:"span",properties:{className:[e]},children:d}:d;t.children=t.children.concat(h)}function p(r){var e=this.stack,a,t;r!==""&&(a=e[e.length-1],t=a.children[a.children.length-1],t&&t.type==="text"?t.value+=r:a.children.push({type:"text",value:r}))}function N(r){var e=this.stack,a=this.options.classPrefix+r,t=e[e.length-1],d={type:"element",tagName:"span",properties:{className:[a]},children:[]};t.children.push(d),e.push(d)}function v(){this.stack.pop()}function w(){return""}function y(){}return x}var j=U();const z=q(j),H=P({__proto__:null,default:z},[j]);export{H as c};
1
+ import{r as q}from"./index-DEzVc1T8.js";import{r as O}from"./core-lM8H9z0c.js";function P(s,n){for(var l=0;l<n.length;l++){const g=n[l];if(typeof g!="string"&&!Array.isArray(g)){for(const u in g)if(u!=="default"&&!(u in s)){const o=Object.getOwnPropertyDescriptor(g,u);o&&Object.defineProperty(s,u,o.get?o:{enumerable:!0,get:()=>g[u]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var x={},L={exports:{}},F;function C(){return F||(F=1,(function(s){(function(){var n;n=s.exports=u,n.format=u,n.vsprintf=g,typeof console<"u"&&typeof console.log=="function"&&(n.printf=l);function l(){console.log(u.apply(null,arguments))}function g(o,k){return u.apply(null,[o].concat(k))}function u(o){for(var k=1,S=[].slice.call(arguments),i=0,I=o.length,c="",p,N=!1,v,w,y=!1,r,e=function(){return S[k++]},a=function(){for(var t="";/\d/.test(o[i]);)t+=o[i++],p=o[i];return t.length>0?parseInt(t):null};i<I;++i)if(p=o[i],N)switch(N=!1,p=="."?(y=!1,p=o[++i]):p=="0"&&o[i+1]=="."?(y=!0,i+=2,p=o[i]):y=!0,r=a(),p){case"b":c+=parseInt(e(),10).toString(2);break;case"c":v=e(),typeof v=="string"||v instanceof String?c+=v:c+=String.fromCharCode(parseInt(v,10));break;case"d":c+=parseInt(e(),10);break;case"f":w=String(parseFloat(e()).toFixed(r||6)),c+=y?w:w.replace(/^0/,"");break;case"j":c+=JSON.stringify(e());break;case"o":c+="0"+parseInt(e(),10).toString(8);break;case"s":c+=e();break;case"x":c+="0x"+parseInt(e(),10).toString(16);break;case"X":c+="0x"+parseInt(e(),10).toString(16).toUpperCase();break;default:c+=p;break}else p==="%"?N=!0:c+=p;return c}})()})(L)),L.exports}var A,R;function T(){if(R)return A;R=1;var s=C(),n=l(Error);A=n,n.eval=l(EvalError),n.range=l(RangeError),n.reference=l(ReferenceError),n.syntax=l(SyntaxError),n.type=l(TypeError),n.uri=l(URIError),n.create=l;function l(g){return u.displayName=g.displayName||g.name,u;function u(o){return o&&(o=s.apply(null,arguments)),new g(o)}}return A}var _;function U(){if(_)return x;_=1;var s=O(),n=T();x.highlight=g,x.highlightAuto=u,x.registerLanguage=o,x.listLanguages=k,x.registerAlias=S,i.prototype.addText=p,i.prototype.addKeyword=I,i.prototype.addSublanguage=c,i.prototype.openNode=N,i.prototype.closeNode=v,i.prototype.closeAllNodes=y,i.prototype.finalize=y,i.prototype.toHTML=w;var l="hljs-";function g(r,e,a){var t=s.configure({}),d=a||{},h=d.prefix,f;if(typeof r!="string")throw n("Expected `string` for name, got `%s`",r);if(!s.getLanguage(r))throw n("Unknown language: `%s` is not registered",r);if(typeof e!="string")throw n("Expected `string` for value, got `%s`",e);if(h==null&&(h=l),s.configure({__emitter:i,classPrefix:h}),f=s.highlight(e,{language:r,ignoreIllegals:!0}),s.configure(t||{}),f.errorRaised)throw f.errorRaised;return{relevance:f.relevance,language:f.language,value:f.emitter.rootNode.children}}function u(r,e){var a=e||{},t=a.subset||s.listLanguages();a.prefix;var d=t.length,h=-1,f,m,b,E;if(typeof r!="string")throw n("Expected `string` for value, got `%s`",r);for(m={relevance:0,language:null,value:[]},f={relevance:0,language:null,value:[]};++h<d;)E=t[h],s.getLanguage(E)&&(b=g(E,r,e),b.language=E,b.relevance>m.relevance&&(m=b),b.relevance>f.relevance&&(m=f,f=b));return m.language&&(f.secondBest=m),f}function o(r,e){s.registerLanguage(r,e)}function k(){return s.listLanguages()}function S(r,e){var a=r,t;e&&(a={},a[r]=e);for(t in a)s.registerAliases(a[t],{languageName:t})}function i(r){this.options=r,this.rootNode={children:[]},this.stack=[this.rootNode]}function I(r,e){this.openNode(e),this.addText(r),this.closeNode()}function c(r,e){var a=this.stack,t=a[a.length-1],d=r.rootNode.children,h=e?{type:"element",tagName:"span",properties:{className:[e]},children:d}:d;t.children=t.children.concat(h)}function p(r){var e=this.stack,a,t;r!==""&&(a=e[e.length-1],t=a.children[a.children.length-1],t&&t.type==="text"?t.value+=r:a.children.push({type:"text",value:r}))}function N(r){var e=this.stack,a=this.options.classPrefix+r,t=e[e.length-1],d={type:"element",tagName:"span",properties:{className:[a]},children:[]};t.children.push(d),e.push(d)}function v(){this.stack.pop()}function w(){return""}function y(){}return x}var j=U();const z=q(j),H=P({__proto__:null,default:z},[j]);export{H as c};
@@ -1 +1 @@
1
- import{r as a}from"./index-CZeFNEUV.js";import{r as f}from"./cos-DckhWT6g.js";function i(t,c){for(var o=0;o<c.length;o++){const e=c[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const s=Object.getOwnPropertyDescriptor(e,r);s&&Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=f();const p=a(n),g=i({__proto__:null,default:p},[n]);export{g as c};
1
+ import{r as a}from"./index-DEzVc1T8.js";import{r as f}from"./cos-DckhWT6g.js";function i(t,c){for(var o=0;o<c.length;o++){const e=c[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const s=Object.getOwnPropertyDescriptor(e,r);s&&Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=f();const p=a(n),g=i({__proto__:null,default:p},[n]);export{g as c};
@@ -1 +1 @@
1
- import{r as a}from"./index-CZeFNEUV.js";import{r as f}from"./cpp-B87jAeCB.js";function s(t,c){for(var o=0;o<c.length;o++){const e=c[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const p=Object.getOwnPropertyDescriptor(e,r);p&&Object.defineProperty(t,r,p.get?p:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=f();const i=a(n),g=s({__proto__:null,default:i},[n]);export{g as c};
1
+ import{r as a}from"./index-DEzVc1T8.js";import{r as f}from"./cpp-B87jAeCB.js";function s(t,c){for(var o=0;o<c.length;o++){const e=c[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const p=Object.getOwnPropertyDescriptor(e,r);p&&Object.defineProperty(t,r,p.get?p:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=f();const i=a(n),g=s({__proto__:null,default:i},[n]);export{g as c};
@@ -1 +1 @@
1
- import{r as a}from"./index-CZeFNEUV.js";import{r as f}from"./crmsh-Dc9XdWBP.js";function i(t,c){for(var o=0;o<c.length;o++){const r=c[o];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const s=Object.getOwnPropertyDescriptor(r,e);s&&Object.defineProperty(t,e,s.get?s:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=f();const m=a(n),l=i({__proto__:null,default:m},[n]);export{l as c};
1
+ import{r as a}from"./index-DEzVc1T8.js";import{r as f}from"./crmsh-Dc9XdWBP.js";function i(t,c){for(var o=0;o<c.length;o++){const r=c[o];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const s=Object.getOwnPropertyDescriptor(r,e);s&&Object.defineProperty(t,e,s.get?s:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=f();const m=a(n),l=i({__proto__:null,default:m},[n]);export{l as c};
@@ -1 +1 @@
1
- import{r as n}from"./index-CZeFNEUV.js";import{r as f}from"./crystal-AiyYbKLq.js";function l(t,s){for(var o=0;o<s.length;o++){const r=s[o];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const a=Object.getOwnPropertyDescriptor(r,e);a&&Object.defineProperty(t,e,a.get?a:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var c=f();const i=n(c),y=l({__proto__:null,default:i},[c]);export{y as c};
1
+ import{r as n}from"./index-DEzVc1T8.js";import{r as f}from"./crystal-AiyYbKLq.js";function l(t,s){for(var o=0;o<s.length;o++){const r=s[o];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const a=Object.getOwnPropertyDescriptor(r,e);a&&Object.defineProperty(t,e,a.get?a:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var c=f();const i=n(c),y=l({__proto__:null,default:i},[c]);export{y as c};
@@ -1 +1 @@
1
- import{r as n}from"./index-CZeFNEUV.js";import{r as p}from"./csharp-GDFduacm.js";function f(t,s){for(var o=0;o<s.length;o++){const r=s[o];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const a=Object.getOwnPropertyDescriptor(r,e);a&&Object.defineProperty(t,e,a.get?a:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var c=p();const i=n(c),g=f({__proto__:null,default:i},[c]);export{g as c};
1
+ import{r as n}from"./index-DEzVc1T8.js";import{r as p}from"./csharp-GDFduacm.js";function f(t,s){for(var o=0;o<s.length;o++){const r=s[o];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const a=Object.getOwnPropertyDescriptor(r,e);a&&Object.defineProperty(t,e,a.get?a:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var c=p();const i=n(c),g=f({__proto__:null,default:i},[c]);export{g as c};
@@ -1 +1 @@
1
- import{r as p}from"./index-CZeFNEUV.js";import{r as a}from"./csp-DK1-V7Db.js";function f(t,c){for(var o=0;o<c.length;o++){const e=c[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const s=Object.getOwnPropertyDescriptor(e,r);s&&Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=a();const i=p(n),g=f({__proto__:null,default:i},[n]);export{g as c};
1
+ import{r as p}from"./index-DEzVc1T8.js";import{r as a}from"./csp-DK1-V7Db.js";function f(t,c){for(var o=0;o<c.length;o++){const e=c[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const s=Object.getOwnPropertyDescriptor(e,r);s&&Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=a();const i=p(n),g=f({__proto__:null,default:i},[n]);export{g as c};
@@ -1 +1 @@
1
- import{r as a}from"./index-CZeFNEUV.js";import{r as f}from"./css-OjpDdnLT.js";function i(t,c){for(var o=0;o<c.length;o++){const e=c[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const s=Object.getOwnPropertyDescriptor(e,r);s&&Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=f();const p=a(n),g=i({__proto__:null,default:p},[n]);export{g as c};
1
+ import{r as a}from"./index-DEzVc1T8.js";import{r as f}from"./css-OjpDdnLT.js";function i(t,c){for(var o=0;o<c.length;o++){const e=c[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const s=Object.getOwnPropertyDescriptor(e,r);s&&Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=f();const p=a(n),g=i({__proto__:null,default:p},[n]);export{g as c};
@@ -1 +1 @@
1
- import{r as s}from"./index-CZeFNEUV.js";import{r as i}from"./d-Cj7t0knZ.js";function c(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=i();const p=s(f),l=c({__proto__:null,default:p},[f]);export{l as d};
1
+ import{r as s}from"./index-DEzVc1T8.js";import{r as i}from"./d-Cj7t0knZ.js";function c(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=i();const p=s(f),l=c({__proto__:null,default:p},[f]);export{l as d};
@@ -1 +1 @@
1
- import{r as s}from"./index-CZeFNEUV.js";import{r as i}from"./dart-vlk_R7L2.js";function c(t,n){for(var o=0;o<n.length;o++){const r=n[o];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const a=Object.getOwnPropertyDescriptor(r,e);a&&Object.defineProperty(t,e,a.get?a:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=i();const p=s(f),l=c({__proto__:null,default:p},[f]);export{l as d};
1
+ import{r as s}from"./index-DEzVc1T8.js";import{r as i}from"./dart-vlk_R7L2.js";function c(t,n){for(var o=0;o<n.length;o++){const r=n[o];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const a=Object.getOwnPropertyDescriptor(r,e);a&&Object.defineProperty(t,e,a.get?a:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=i();const p=s(f),l=c({__proto__:null,default:p},[f]);export{l as d};
@@ -1 +1 @@
1
- import{r as a}from"./index-CZeFNEUV.js";import{r as f}from"./delphi-oHShnxHc.js";function s(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const i=Object.getOwnPropertyDescriptor(e,r);i&&Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var p=f();const l=a(p),d=s({__proto__:null,default:l},[p]);export{d};
1
+ import{r as a}from"./index-DEzVc1T8.js";import{r as f}from"./delphi-oHShnxHc.js";function s(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const i=Object.getOwnPropertyDescriptor(e,r);i&&Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var p=f();const l=a(p),d=s({__proto__:null,default:l},[p]);export{d};
@@ -1 +1 @@
1
- import{r as a}from"./index-CZeFNEUV.js";import{r as s}from"./diff-CMHzeABH.js";function c(t,i){for(var o=0;o<i.length;o++){const e=i[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const f=Object.getOwnPropertyDescriptor(e,r);f&&Object.defineProperty(t,r,f.get?f:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=s();const p=a(n),l=c({__proto__:null,default:p},[n]);export{l as d};
1
+ import{r as a}from"./index-DEzVc1T8.js";import{r as s}from"./diff-CMHzeABH.js";function c(t,i){for(var o=0;o<i.length;o++){const e=i[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const f=Object.getOwnPropertyDescriptor(e,r);f&&Object.defineProperty(t,r,f.get?f:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=s();const p=a(n),l=c({__proto__:null,default:p},[n]);export{l as d};
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-Deap-KOc.js","assets/index-CZeFNEUV.js","assets/index-BrXO5aIr.css","assets/core-lM8H9z0c.js","assets/1c-DOTL_Doy.js","assets/abnf-BjLV93yi.js","assets/accesslog-GJv3YBrF.js","assets/actionscript-DoqfywO9.js","assets/ada-RUsuGPJi.js","assets/angelscript-BdZ1b0rs.js","assets/apache-CsbpFlqC.js","assets/applescript-kY8OmlKB.js","assets/arcade-BmMgc7_g.js","assets/arduino-pNuu6z4_.js","assets/armasm-nKvy_iDO.js","assets/xml-BXh47oPk.js","assets/asciidoc-B_fy0kBa.js","assets/aspectj-DvN9ZbSj.js","assets/autohotkey-CZG2ssCb.js","assets/autoit-DXMOl7Fd.js","assets/avrasm-Ba2EQvoc.js","assets/awk-Cb-RiGP0.js","assets/axapta-J1eBZbig.js","assets/bash-CN_VnC_Q.js","assets/basic-Bug0UzDW.js","assets/bnf-DZMdTSN9.js","assets/brainfuck-BYywhCpy.js","assets/c-like-BLVencsc.js","assets/c-DkSi4Vcz.js","assets/cal-Bok_ig3y.js","assets/capnproto-uQZ1jOWw.js","assets/ceylon-CLrvJLwU.js","assets/clean-jkCpP5TC.js","assets/clojure--pYedOFI.js","assets/clojure-repl-Cp-cHE39.js","assets/cmake-CKl4Nywn.js","assets/coffeescript-B5dBcvVG.js","assets/coq-DJA4mjuN.js","assets/cos-DckhWT6g.js","assets/cpp-B87jAeCB.js","assets/crmsh-Dc9XdWBP.js","assets/crystal-AiyYbKLq.js","assets/csharp-GDFduacm.js","assets/csp-DK1-V7Db.js","assets/css-OjpDdnLT.js","assets/d-Cj7t0knZ.js","assets/markdown-Bnpjmjdr.js","assets/dart-vlk_R7L2.js","assets/delphi-oHShnxHc.js","assets/diff-CMHzeABH.js","assets/django-BJHTgcPT.js","assets/dns-B8Qm8HuY.js","assets/dockerfile-NjbpBWJ2.js","assets/dos-C6ygE4Ei.js","assets/dsconfig-BetjSZ3D.js","assets/dts-BOH5TDT-.js","assets/dust-DsfNS0hI.js","assets/ebnf-BGmXUujk.js","assets/elixir-CYXbd3jG.js","assets/elm-CJCwRLzK.js","assets/ruby-U0BYPmFB.js","assets/erb-CANFiuzW.js","assets/erlang-repl-C-WvLaul.js","assets/erlang-CYUnCrk0.js","assets/excel-DPetn2vF.js","assets/fix-D7T_oQ9O.js","assets/flix-DWvLG6E_.js","assets/fortran-Cbh4tV_m.js","assets/fsharp-BarQNxPT.js","assets/gams-BVueaFMy.js","assets/gauss-DMVDwWC_.js","assets/gcode-B80Z_LSc.js","assets/gherkin-DwdfqIxg.js","assets/glsl-DFuaITlO.js","assets/gml-sg8D2Hoc.js","assets/go-DOIHECmn.js","assets/golo-5y-cAlg7.js","assets/gradle-C5LRK4lY.js","assets/groovy-CqO0xXbN.js","assets/haml-Du0d9Qpu.js","assets/handlebars-BqpMwd25.js","assets/haskell-BSgKG0fA.js","assets/haxe-Bbxdab9d.js","assets/hsp-BfO253pz.js","assets/htmlbars-BdupgdwA.js","assets/http-FG-1bz0S.js","assets/hy-CljtLrIB.js","assets/inform7-CKh91FfW.js","assets/ini-CUN5Fz6a.js","assets/irpf90-BGwK5upn.js","assets/isbl-BW2-1xqY.js","assets/java-BopHZ59q.js","assets/javascript-Bcajz3YC.js","assets/jboss-cli-7Bb2wtKY.js","assets/json-_cGKMkqV.js","assets/julia-CflsGA1_.js","assets/julia-repl-DTkCRO_Z.js","assets/kotlin-DSmpQSGN.js","assets/lasso-BciudTQ1.js","assets/latex-CHdb8PhR.js","assets/ldif-jBEfafs_.js","assets/leaf-CQphRTnn.js","assets/less-D0Ccux41.js","assets/lisp-DfrNO5te.js","assets/livecodeserver-WU_wnUq8.js","assets/livescript-oQhn4lAX.js","assets/llvm-Ctq8Ea1M.js","assets/lsl-CZ-92Osz.js","assets/lua-CtuzIFQ2.js","assets/makefile-CUBjRDBz.js","assets/mathematica-DMjmGOFL.js","assets/matlab-bMP2hmJA.js","assets/maxima-CiGgQtRy.js","assets/mel-BKEdQ-Ac.js","assets/mercury-Cg7tRNfI.js","assets/mipsasm-CNyeTk3S.js","assets/mizar-BICf15Zj.js","assets/perl-CG48H2Tk.js","assets/mojolicious-DiD_1YV0.js","assets/monkey-D6kono4g.js","assets/moonscript-Ba-Tqbk8.js","assets/n1ql-AxtiJSd2.js","assets/nginx-DwELR1Kc.js","assets/nim-WLvfBExD.js","assets/nix-CYCtYL9u.js","assets/node-repl-DFkgLtXM.js","assets/nsis-DuGBnzB5.js","assets/objectivec-DaSEGJ40.js","assets/ocaml-Lke8W5fZ.js","assets/openscad-BUF8N3i5.js","assets/oxygene-CNTFR9M0.js","assets/parser3-DkkG33l8.js","assets/pf-B8CGBekM.js","assets/pgsql-C72BsFGV.js","assets/php-BnOcpMux.js","assets/php-template-BQLZ6iCT.js","assets/plaintext-TgN34U_P.js","assets/pony-D2s0nSMG.js","assets/powershell-CwBe08EC.js","assets/processing-83OAnlCi.js","assets/profile-Co0NG88S.js","assets/prolog-2Rxvo3d_.js","assets/properties-BZrOFGmF.js","assets/protobuf-Cc7EZO5Y.js","assets/puppet-CJr7B09H.js","assets/purebasic-lmx8MMfp.js","assets/python-BctvjIbZ.js","assets/python-repl-f_19wJYw.js","assets/q-ClVUhk4N.js","assets/qml-WV58KNua.js","assets/r-CnigUbQl.js","assets/reasonml-D-8_Lf63.js","assets/rib-DhxZj9fV.js","assets/roboconf-C9_f8BAb.js","assets/routeros-0VVpPsA4.js","assets/rsl-B-_wRvQZ.js","assets/ruleslanguage-C6IDQ_id.js","assets/rust-ByoeQ5jb.js","assets/sas-DzgwSrpf.js","assets/scala-Dzt-MscJ.js","assets/scheme-D7X8lENz.js","assets/scilab-BDRgLrmm.js","assets/scss-hD3K75LU.js","assets/shell-DtjSgbG3.js","assets/smali-Dz834AtK.js","assets/smalltalk-bRqiTIeV.js","assets/sml-BZgrt2qR.js","assets/sqf-BhMgSC-9.js","assets/sql_more-CiUnQFCB.js","assets/sql-D9a3dnuY.js","assets/stan-M2mdTSOp.js","assets/stata-CBjVxKhA.js","assets/step21-PEp2FbgJ.js","assets/stylus-KpBYw7lY.js","assets/subunit-CIiHPJOz.js","assets/swift-l8Sedkw9.js","assets/taggerscript-B2nhDpZI.js","assets/yaml-BKYJIuvD.js","assets/tap-Cz77FvlH.js","assets/tcl-Cw1k2FtN.js","assets/thrift-CAwZw_2g.js","assets/tp-BoGwmalK.js","assets/twig-1xgj4vMV.js","assets/typescript-C925WkhK.js","assets/vala-8Htn2qvX.js","assets/vbnet-CsYNC8ZV.js","assets/vbscript-C6WdSq9e.js","assets/vbscript-html-CBkOqIaC.js","assets/verilog-DSo68DT-.js","assets/vhdl-C1F4x3vF.js","assets/vim-CNd_h5kc.js","assets/x86asm-BXgEvW-J.js","assets/xl-sMilxJ95.js","assets/xquery-GsrDavrd.js","assets/zephir-DZzC3J8X.js"])))=>i.map(i=>d[i]);
2
- import{t as a,u as k}from"./index-CZeFNEUV.js";var y=null,L=null,O=null,J=!1,V=typeof process<"u"&&process.versions?.node;(async()=>{if(V)try{O=(await k(()=>import("./util-QmrWvrtn.js"),[])).stripVTControlCharacters}catch{}try{y=(await k(()=>import("./index-JiKw9JSs.js"),[])).default}catch{}try{L=(await k(()=>import("./index-Deap-KOc.js").then(e=>e.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194]))).highlight}catch{}V&&(!y||!L)&&(J||(J=!0,console.warn(`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-D5-nrKkX.js","assets/index-DEzVc1T8.js","assets/index-BrXO5aIr.css","assets/core-lM8H9z0c.js","assets/1c-DOTL_Doy.js","assets/abnf-BjLV93yi.js","assets/accesslog-GJv3YBrF.js","assets/actionscript-DoqfywO9.js","assets/ada-RUsuGPJi.js","assets/angelscript-BdZ1b0rs.js","assets/apache-CsbpFlqC.js","assets/applescript-kY8OmlKB.js","assets/arcade-BmMgc7_g.js","assets/arduino-pNuu6z4_.js","assets/armasm-nKvy_iDO.js","assets/xml-BXh47oPk.js","assets/asciidoc-B_fy0kBa.js","assets/aspectj-DvN9ZbSj.js","assets/autohotkey-CZG2ssCb.js","assets/autoit-DXMOl7Fd.js","assets/avrasm-Ba2EQvoc.js","assets/awk-Cb-RiGP0.js","assets/axapta-J1eBZbig.js","assets/bash-CN_VnC_Q.js","assets/basic-Bug0UzDW.js","assets/bnf-DZMdTSN9.js","assets/brainfuck-BYywhCpy.js","assets/c-like-BLVencsc.js","assets/c-DkSi4Vcz.js","assets/cal-Bok_ig3y.js","assets/capnproto-uQZ1jOWw.js","assets/ceylon-CLrvJLwU.js","assets/clean-jkCpP5TC.js","assets/clojure--pYedOFI.js","assets/clojure-repl-Cp-cHE39.js","assets/cmake-CKl4Nywn.js","assets/coffeescript-B5dBcvVG.js","assets/coq-DJA4mjuN.js","assets/cos-DckhWT6g.js","assets/cpp-B87jAeCB.js","assets/crmsh-Dc9XdWBP.js","assets/crystal-AiyYbKLq.js","assets/csharp-GDFduacm.js","assets/csp-DK1-V7Db.js","assets/css-OjpDdnLT.js","assets/d-Cj7t0knZ.js","assets/markdown-Bnpjmjdr.js","assets/dart-vlk_R7L2.js","assets/delphi-oHShnxHc.js","assets/diff-CMHzeABH.js","assets/django-BJHTgcPT.js","assets/dns-B8Qm8HuY.js","assets/dockerfile-NjbpBWJ2.js","assets/dos-C6ygE4Ei.js","assets/dsconfig-BetjSZ3D.js","assets/dts-BOH5TDT-.js","assets/dust-DsfNS0hI.js","assets/ebnf-BGmXUujk.js","assets/elixir-CYXbd3jG.js","assets/elm-CJCwRLzK.js","assets/ruby-U0BYPmFB.js","assets/erb-CANFiuzW.js","assets/erlang-repl-C-WvLaul.js","assets/erlang-CYUnCrk0.js","assets/excel-DPetn2vF.js","assets/fix-D7T_oQ9O.js","assets/flix-DWvLG6E_.js","assets/fortran-Cbh4tV_m.js","assets/fsharp-BarQNxPT.js","assets/gams-BVueaFMy.js","assets/gauss-DMVDwWC_.js","assets/gcode-B80Z_LSc.js","assets/gherkin-DwdfqIxg.js","assets/glsl-DFuaITlO.js","assets/gml-sg8D2Hoc.js","assets/go-DOIHECmn.js","assets/golo-5y-cAlg7.js","assets/gradle-C5LRK4lY.js","assets/groovy-CqO0xXbN.js","assets/haml-Du0d9Qpu.js","assets/handlebars-BqpMwd25.js","assets/haskell-BSgKG0fA.js","assets/haxe-Bbxdab9d.js","assets/hsp-BfO253pz.js","assets/htmlbars-BdupgdwA.js","assets/http-FG-1bz0S.js","assets/hy-CljtLrIB.js","assets/inform7-CKh91FfW.js","assets/ini-CUN5Fz6a.js","assets/irpf90-BGwK5upn.js","assets/isbl-BW2-1xqY.js","assets/java-BopHZ59q.js","assets/javascript-Bcajz3YC.js","assets/jboss-cli-7Bb2wtKY.js","assets/json-_cGKMkqV.js","assets/julia-CflsGA1_.js","assets/julia-repl-DTkCRO_Z.js","assets/kotlin-DSmpQSGN.js","assets/lasso-BciudTQ1.js","assets/latex-CHdb8PhR.js","assets/ldif-jBEfafs_.js","assets/leaf-CQphRTnn.js","assets/less-D0Ccux41.js","assets/lisp-DfrNO5te.js","assets/livecodeserver-WU_wnUq8.js","assets/livescript-oQhn4lAX.js","assets/llvm-Ctq8Ea1M.js","assets/lsl-CZ-92Osz.js","assets/lua-CtuzIFQ2.js","assets/makefile-CUBjRDBz.js","assets/mathematica-DMjmGOFL.js","assets/matlab-bMP2hmJA.js","assets/maxima-CiGgQtRy.js","assets/mel-BKEdQ-Ac.js","assets/mercury-Cg7tRNfI.js","assets/mipsasm-CNyeTk3S.js","assets/mizar-BICf15Zj.js","assets/perl-CG48H2Tk.js","assets/mojolicious-DiD_1YV0.js","assets/monkey-D6kono4g.js","assets/moonscript-Ba-Tqbk8.js","assets/n1ql-AxtiJSd2.js","assets/nginx-DwELR1Kc.js","assets/nim-WLvfBExD.js","assets/nix-CYCtYL9u.js","assets/node-repl-DFkgLtXM.js","assets/nsis-DuGBnzB5.js","assets/objectivec-DaSEGJ40.js","assets/ocaml-Lke8W5fZ.js","assets/openscad-BUF8N3i5.js","assets/oxygene-CNTFR9M0.js","assets/parser3-DkkG33l8.js","assets/pf-B8CGBekM.js","assets/pgsql-C72BsFGV.js","assets/php-BnOcpMux.js","assets/php-template-BQLZ6iCT.js","assets/plaintext-TgN34U_P.js","assets/pony-D2s0nSMG.js","assets/powershell-CwBe08EC.js","assets/processing-83OAnlCi.js","assets/profile-Co0NG88S.js","assets/prolog-2Rxvo3d_.js","assets/properties-BZrOFGmF.js","assets/protobuf-Cc7EZO5Y.js","assets/puppet-CJr7B09H.js","assets/purebasic-lmx8MMfp.js","assets/python-BctvjIbZ.js","assets/python-repl-f_19wJYw.js","assets/q-ClVUhk4N.js","assets/qml-WV58KNua.js","assets/r-CnigUbQl.js","assets/reasonml-D-8_Lf63.js","assets/rib-DhxZj9fV.js","assets/roboconf-C9_f8BAb.js","assets/routeros-0VVpPsA4.js","assets/rsl-B-_wRvQZ.js","assets/ruleslanguage-C6IDQ_id.js","assets/rust-ByoeQ5jb.js","assets/sas-DzgwSrpf.js","assets/scala-Dzt-MscJ.js","assets/scheme-D7X8lENz.js","assets/scilab-BDRgLrmm.js","assets/scss-hD3K75LU.js","assets/shell-DtjSgbG3.js","assets/smali-Dz834AtK.js","assets/smalltalk-bRqiTIeV.js","assets/sml-BZgrt2qR.js","assets/sqf-BhMgSC-9.js","assets/sql_more-CiUnQFCB.js","assets/sql-D9a3dnuY.js","assets/stan-M2mdTSOp.js","assets/stata-CBjVxKhA.js","assets/step21-PEp2FbgJ.js","assets/stylus-KpBYw7lY.js","assets/subunit-CIiHPJOz.js","assets/swift-l8Sedkw9.js","assets/taggerscript-B2nhDpZI.js","assets/yaml-BKYJIuvD.js","assets/tap-Cz77FvlH.js","assets/tcl-Cw1k2FtN.js","assets/thrift-CAwZw_2g.js","assets/tp-BoGwmalK.js","assets/twig-1xgj4vMV.js","assets/typescript-C925WkhK.js","assets/vala-8Htn2qvX.js","assets/vbnet-CsYNC8ZV.js","assets/vbscript-C6WdSq9e.js","assets/vbscript-html-CBkOqIaC.js","assets/verilog-DSo68DT-.js","assets/vhdl-C1F4x3vF.js","assets/vim-CNd_h5kc.js","assets/x86asm-BXgEvW-J.js","assets/xl-sMilxJ95.js","assets/xquery-GsrDavrd.js","assets/zephir-DZzC3J8X.js"])))=>i.map(i=>d[i]);
2
+ import{t as a,u as k}from"./index-DEzVc1T8.js";var y=null,L=null,O=null,J=!1,V=typeof process<"u"&&process.versions?.node;(async()=>{if(V)try{O=(await k(()=>import("./util-QmrWvrtn.js"),[])).stripVTControlCharacters}catch{}try{y=(await k(()=>import("./index-JiKw9JSs.js"),[])).default}catch{}try{L=(await k(()=>import("./index-D5-nrKkX.js").then(e=>e.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194]))).highlight}catch{}V&&(!y||!L)&&(J||(J=!0,console.warn(`
3
3
  ✨ For enhanced console output with colors and syntax highlighting, install:
4
4
 
5
5
  npm install chalk cli-highlight
@@ -1 +1 @@
1
- import{r as s}from"./index-CZeFNEUV.js";import{r as g}from"./django-BJHTgcPT.js";function i(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=g();const c=s(f),d=i({__proto__:null,default:c},[f]);export{d};
1
+ import{r as s}from"./index-DEzVc1T8.js";import{r as g}from"./django-BJHTgcPT.js";function i(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=g();const c=s(f),d=i({__proto__:null,default:c},[f]);export{d};
@@ -1 +1 @@
1
- import{r as f}from"./index-CZeFNEUV.js";import{r as i}from"./dns-B8Qm8HuY.js";function c(t,s){for(var o=0;o<s.length;o++){const e=s[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=i();const p=f(a),l=c({__proto__:null,default:p},[a]);export{l as d};
1
+ import{r as f}from"./index-DEzVc1T8.js";import{r as i}from"./dns-B8Qm8HuY.js";function c(t,s){for(var o=0;o<s.length;o++){const e=s[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=i();const p=f(a),l=c({__proto__:null,default:p},[a]);export{l as d};
@@ -1 +1 @@
1
- import{r as n}from"./index-CZeFNEUV.js";import{r as a}from"./dockerfile-NjbpBWJ2.js";function s(t,i){for(var o=0;o<i.length;o++){const e=i[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const f=Object.getOwnPropertyDescriptor(e,r);f&&Object.defineProperty(t,r,f.get?f:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var c=a();const l=n(c),d=s({__proto__:null,default:l},[c]);export{d};
1
+ import{r as n}from"./index-DEzVc1T8.js";import{r as a}from"./dockerfile-NjbpBWJ2.js";function s(t,i){for(var o=0;o<i.length;o++){const e=i[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const f=Object.getOwnPropertyDescriptor(e,r);f&&Object.defineProperty(t,r,f.get?f:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var c=a();const l=n(c),d=s({__proto__:null,default:l},[c]);export{d};
@@ -1 +1 @@
1
- import{r as f}from"./index-CZeFNEUV.js";import{r as i}from"./dos-C6ygE4Ei.js";function c(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const s=Object.getOwnPropertyDescriptor(e,r);s&&Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=i();const p=f(a),l=c({__proto__:null,default:p},[a]);export{l as d};
1
+ import{r as f}from"./index-DEzVc1T8.js";import{r as i}from"./dos-C6ygE4Ei.js";function c(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const s=Object.getOwnPropertyDescriptor(e,r);s&&Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=i();const p=f(a),l=c({__proto__:null,default:p},[a]);export{l as d};
@@ -1 +1 @@
1
- import{r as i}from"./index-CZeFNEUV.js";import{r as c}from"./dsconfig-BetjSZ3D.js";function a(t,f){for(var o=0;o<f.length;o++){const e=f[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var s=c();const g=i(s),d=a({__proto__:null,default:g},[s]);export{d};
1
+ import{r as i}from"./index-DEzVc1T8.js";import{r as c}from"./dsconfig-BetjSZ3D.js";function a(t,f){for(var o=0;o<f.length;o++){const e=f[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var s=c();const g=i(s),d=a({__proto__:null,default:g},[s]);export{d};
@@ -1 +1 @@
1
- import{r as f}from"./index-CZeFNEUV.js";import{r as i}from"./dts-BOH5TDT-.js";function c(r,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in r)){const s=Object.getOwnPropertyDescriptor(e,t);s&&Object.defineProperty(r,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var a=i();const p=f(a),l=c({__proto__:null,default:p},[a]);export{l as d};
1
+ import{r as f}from"./index-DEzVc1T8.js";import{r as i}from"./dts-BOH5TDT-.js";function c(r,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in r)){const s=Object.getOwnPropertyDescriptor(e,t);s&&Object.defineProperty(r,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var a=i();const p=f(a),l=c({__proto__:null,default:p},[a]);export{l as d};
@@ -1 +1 @@
1
- import{r as f}from"./index-CZeFNEUV.js";import{r as u}from"./dust-DsfNS0hI.js";function i(r,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in r)){const s=Object.getOwnPropertyDescriptor(e,t);s&&Object.defineProperty(r,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var a=u();const c=f(a),l=i({__proto__:null,default:c},[a]);export{l as d};
1
+ import{r as f}from"./index-DEzVc1T8.js";import{r as u}from"./dust-DsfNS0hI.js";function i(r,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const t in e)if(t!=="default"&&!(t in r)){const s=Object.getOwnPropertyDescriptor(e,t);s&&Object.defineProperty(r,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var a=u();const c=f(a),l=i({__proto__:null,default:c},[a]);export{l as d};
@@ -1 +1 @@
1
- import{r as s}from"./index-CZeFNEUV.js";import{r as i}from"./ebnf-BGmXUujk.js";function c(t,f){for(var o=0;o<f.length;o++){const e=f[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=i();const p=s(a),l=c({__proto__:null,default:p},[a]);export{l as e};
1
+ import{r as s}from"./index-DEzVc1T8.js";import{r as i}from"./ebnf-BGmXUujk.js";function c(t,f){for(var o=0;o<f.length;o++){const e=f[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=i();const p=s(a),l=c({__proto__:null,default:p},[a]);export{l as e};
@@ -1 +1 @@
1
- import{r as f}from"./index-CZeFNEUV.js";import{r as s}from"./elixir-CYXbd3jG.js";function l(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const i=Object.getOwnPropertyDescriptor(e,r);i&&Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=s();const c=f(a),g=l({__proto__:null,default:c},[a]);export{g as e};
1
+ import{r as f}from"./index-DEzVc1T8.js";import{r as s}from"./elixir-CYXbd3jG.js";function l(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const i=Object.getOwnPropertyDescriptor(e,r);i&&Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=s();const c=f(a),g=l({__proto__:null,default:c},[a]);export{g as e};
@@ -1 +1 @@
1
- import{r as s}from"./index-CZeFNEUV.js";import{r as l}from"./elm-CJCwRLzK.js";function i(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=l();const c=s(f),u=i({__proto__:null,default:c},[f]);export{u as e};
1
+ import{r as s}from"./index-DEzVc1T8.js";import{r as l}from"./elm-CJCwRLzK.js";function i(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=l();const c=s(f),u=i({__proto__:null,default:c},[f]);export{u as e};
@@ -1 +1 @@
1
- import{n as s,w as d}from"./index-CZeFNEUV.js";var l={};s(l,{chunkArray:()=>u});const u=(r,c)=>r.reduce((a,n,o)=>{const e=Math.floor(o/c),t=a[e]||[];return a[e]=t.concat([n]),a},[]);var h={};s(h,{Embeddings:()=>i});var i=class{caller;constructor(r){this.caller=new d(r??{})}};export{i as E,l as a,u as c,h as e};
1
+ import{n as s,w as d}from"./index-DEzVc1T8.js";var l={};s(l,{chunkArray:()=>u});const u=(r,c)=>r.reduce((a,n,o)=>{const e=Math.floor(o/c),t=a[e]||[];return a[e]=t.concat([n]),a},[]);var h={};s(h,{Embeddings:()=>i});var i=class{caller;constructor(r){this.caller=new d(r??{})}};export{i as E,l as a,u as c,h as e};
@@ -1 +1 @@
1
- import{r as s}from"./index-CZeFNEUV.js";import{r as i}from"./erb-CANFiuzW.js";function c(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=i();const p=s(f),l=c({__proto__:null,default:p},[f]);export{l as e};
1
+ import{r as s}from"./index-DEzVc1T8.js";import{r as i}from"./erb-CANFiuzW.js";function c(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=i();const p=s(f),l=c({__proto__:null,default:p},[f]);export{l as e};
@@ -1 +1 @@
1
- import{r as s}from"./index-CZeFNEUV.js";import{r as l}from"./erlang-CYUnCrk0.js";function g(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=l();const i=s(f),u=g({__proto__:null,default:i},[f]);export{u as e};
1
+ import{r as s}from"./index-DEzVc1T8.js";import{r as l}from"./erlang-CYUnCrk0.js";function g(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=l();const i=s(f),u=g({__proto__:null,default:i},[f]);export{u as e};
@@ -1 +1 @@
1
- import{r as p}from"./index-CZeFNEUV.js";import{r as f}from"./erlang-repl-C-WvLaul.js";function s(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var l=f();const g=p(l),u=s({__proto__:null,default:g},[l]);export{u as e};
1
+ import{r as p}from"./index-DEzVc1T8.js";import{r as f}from"./erlang-repl-C-WvLaul.js";function s(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var l=f();const g=p(l),u=s({__proto__:null,default:g},[l]);export{u as e};
@@ -1 +1 @@
1
- import{r as f}from"./index-CZeFNEUV.js";import{r as s}from"./excel-DPetn2vF.js";function l(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const c=Object.getOwnPropertyDescriptor(e,r);c&&Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=s();const i=f(a),g=l({__proto__:null,default:i},[a]);export{g as e};
1
+ import{r as f}from"./index-DEzVc1T8.js";import{r as s}from"./excel-DPetn2vF.js";function l(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const c=Object.getOwnPropertyDescriptor(e,r);c&&Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=s();const i=f(a),g=l({__proto__:null,default:i},[a]);export{g as e};
@@ -1 +1 @@
1
- import{r as a}from"./index-CZeFNEUV.js";import{r as s}from"./fix-D7T_oQ9O.js";function c(t,i){for(var o=0;o<i.length;o++){const e=i[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const f=Object.getOwnPropertyDescriptor(e,r);f&&Object.defineProperty(t,r,f.get?f:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=s();const p=a(n),g=c({__proto__:null,default:p},[n]);export{g as f};
1
+ import{r as a}from"./index-DEzVc1T8.js";import{r as s}from"./fix-D7T_oQ9O.js";function c(t,i){for(var o=0;o<i.length;o++){const e=i[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const f=Object.getOwnPropertyDescriptor(e,r);f&&Object.defineProperty(t,r,f.get?f:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=s();const p=a(n),g=c({__proto__:null,default:p},[n]);export{g as f};
@@ -1 +1 @@
1
- import{r as a}from"./index-CZeFNEUV.js";import{r as s}from"./flix-DWvLG6E_.js";function l(t,i){for(var o=0;o<i.length;o++){const e=i[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const f=Object.getOwnPropertyDescriptor(e,r);f&&Object.defineProperty(t,r,f.get?f:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=s();const c=a(n),g=l({__proto__:null,default:c},[n]);export{g as f};
1
+ import{r as a}from"./index-DEzVc1T8.js";import{r as s}from"./flix-DWvLG6E_.js";function l(t,i){for(var o=0;o<i.length;o++){const e=i[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const f=Object.getOwnPropertyDescriptor(e,r);f&&Object.defineProperty(t,r,f.get?f:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=s();const c=a(n),g=l({__proto__:null,default:c},[n]);export{g as f};
@@ -1 +1 @@
1
- import{r as s}from"./index-CZeFNEUV.js";import{r as i}from"./fortran-Cbh4tV_m.js";function c(t,a){for(var o=0;o<a.length;o++){const r=a[o];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const n=Object.getOwnPropertyDescriptor(r,e);n&&Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=i();const p=s(f),g=c({__proto__:null,default:p},[f]);export{g as f};
1
+ import{r as s}from"./index-DEzVc1T8.js";import{r as i}from"./fortran-Cbh4tV_m.js";function c(t,a){for(var o=0;o<a.length;o++){const r=a[o];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const n=Object.getOwnPropertyDescriptor(r,e);n&&Object.defineProperty(t,e,n.get?n:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=i();const p=s(f),g=c({__proto__:null,default:p},[f]);export{g as f};
@@ -1 +1 @@
1
- import{r as n}from"./index-CZeFNEUV.js";import{r as p}from"./fsharp-BarQNxPT.js";function i(t,f){for(var o=0;o<f.length;o++){const r=f[o];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const a=Object.getOwnPropertyDescriptor(r,e);a&&Object.defineProperty(t,e,a.get?a:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var s=p();const c=n(s),g=i({__proto__:null,default:c},[s]);export{g as f};
1
+ import{r as n}from"./index-DEzVc1T8.js";import{r as p}from"./fsharp-BarQNxPT.js";function i(t,f){for(var o=0;o<f.length;o++){const r=f[o];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const a=Object.getOwnPropertyDescriptor(r,e);a&&Object.defineProperty(t,e,a.get?a:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var s=p();const c=n(s),g=i({__proto__:null,default:c},[s]);export{g as f};
@@ -1 +1 @@
1
- import{r as f}from"./index-CZeFNEUV.js";import{r as g}from"./gams-BVueaFMy.js";function i(t,s){for(var o=0;o<s.length;o++){const e=s[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=g();const c=f(n),u=i({__proto__:null,default:c},[n]);export{u as g};
1
+ import{r as f}from"./index-DEzVc1T8.js";import{r as g}from"./gams-BVueaFMy.js";function i(t,s){for(var o=0;o<s.length;o++){const e=s[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=g();const c=f(n),u=i({__proto__:null,default:c},[n]);export{u as g};
@@ -1 +1 @@
1
- import{r as f}from"./index-CZeFNEUV.js";import{r as u}from"./gauss-DMVDwWC_.js";function g(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const s=Object.getOwnPropertyDescriptor(e,r);s&&Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=u();const i=f(n),l=g({__proto__:null,default:i},[n]);export{l as g};
1
+ import{r as f}from"./index-DEzVc1T8.js";import{r as u}from"./gauss-DMVDwWC_.js";function g(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const s=Object.getOwnPropertyDescriptor(e,r);s&&Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=u();const i=f(n),l=g({__proto__:null,default:i},[n]);export{l as g};
@@ -1 +1 @@
1
- import{r as f}from"./index-CZeFNEUV.js";import{r as s}from"./gcode-B80Z_LSc.js";function g(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const c=Object.getOwnPropertyDescriptor(e,r);c&&Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=s();const i=f(a),d=g({__proto__:null,default:i},[a]);export{d as g};
1
+ import{r as f}from"./index-DEzVc1T8.js";import{r as s}from"./gcode-B80Z_LSc.js";function g(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const c=Object.getOwnPropertyDescriptor(e,r);c&&Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=s();const i=f(a),d=g({__proto__:null,default:i},[a]);export{d as g};
@@ -1 +1 @@
1
- import{r as f}from"./index-CZeFNEUV.js";import{r as s}from"./gherkin-DwdfqIxg.js";function g(t,i){for(var o=0;o<i.length;o++){const e=i[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=s();const c=f(a),l=g({__proto__:null,default:c},[a]);export{l as g};
1
+ import{r as f}from"./index-DEzVc1T8.js";import{r as s}from"./gherkin-DwdfqIxg.js";function g(t,i){for(var o=0;o<i.length;o++){const e=i[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var a=s();const c=f(a),l=g({__proto__:null,default:c},[a]);export{l as g};
@@ -1 +1 @@
1
- import{r as a}from"./index-CZeFNEUV.js";import{r as f}from"./glsl-DFuaITlO.js";function g(t,l){for(var o=0;o<l.length;o++){const e=l[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const s=Object.getOwnPropertyDescriptor(e,r);s&&Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=f();const i=a(n),u=g({__proto__:null,default:i},[n]);export{u as g};
1
+ import{r as a}from"./index-DEzVc1T8.js";import{r as f}from"./glsl-DFuaITlO.js";function g(t,l){for(var o=0;o<l.length;o++){const e=l[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const s=Object.getOwnPropertyDescriptor(e,r);s&&Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=f();const i=a(n),u=g({__proto__:null,default:i},[n]);export{u as g};
@@ -1 +1 @@
1
- import{r as s}from"./index-CZeFNEUV.js";import{r as l}from"./gml-sg8D2Hoc.js";function g(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=l();const i=s(f),p=g({__proto__:null,default:i},[f]);export{p as g};
1
+ import{r as s}from"./index-DEzVc1T8.js";import{r as l}from"./gml-sg8D2Hoc.js";function g(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=l();const i=s(f),p=g({__proto__:null,default:i},[f]);export{p as g};
@@ -1 +1 @@
1
- import{r as s}from"./index-CZeFNEUV.js";import{r as g}from"./go-DOIHECmn.js";function i(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=g();const c=s(f),l=i({__proto__:null,default:c},[f]);export{l as g};
1
+ import{r as s}from"./index-DEzVc1T8.js";import{r as g}from"./go-DOIHECmn.js";function i(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=g();const c=s(f),l=i({__proto__:null,default:c},[f]);export{l as g};
@@ -1 +1 @@
1
- import{r as s}from"./index-CZeFNEUV.js";import{r as l}from"./golo-5y-cAlg7.js";function g(o,a){for(var t=0;t<a.length;t++){const e=a[t];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in o)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(o,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var f=l();const i=s(f),u=g({__proto__:null,default:i},[f]);export{u as g};
1
+ import{r as s}from"./index-DEzVc1T8.js";import{r as l}from"./golo-5y-cAlg7.js";function g(o,a){for(var t=0;t<a.length;t++){const e=a[t];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in o)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(o,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var f=l();const i=s(f),u=g({__proto__:null,default:i},[f]);export{u as g};
@@ -1 +1 @@
1
- import{r as s}from"./index-CZeFNEUV.js";import{r as l}from"./gradle-C5LRK4lY.js";function g(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=l();const i=s(f),u=g({__proto__:null,default:i},[f]);export{u as g};
1
+ import{r as s}from"./index-DEzVc1T8.js";import{r as l}from"./gradle-C5LRK4lY.js";function g(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=l();const i=s(f),u=g({__proto__:null,default:i},[f]);export{u as g};
@@ -1 +1 @@
1
- import{r as s}from"./index-CZeFNEUV.js";import{r as g}from"./groovy-CqO0xXbN.js";function i(o,a){for(var t=0;t<a.length;t++){const r=a[t];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in o)){const n=Object.getOwnPropertyDescriptor(r,e);n&&Object.defineProperty(o,e,n.get?n:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var f=g();const c=s(f),y=i({__proto__:null,default:c},[f]);export{y as g};
1
+ import{r as s}from"./index-DEzVc1T8.js";import{r as g}from"./groovy-CqO0xXbN.js";function i(o,a){for(var t=0;t<a.length;t++){const r=a[t];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in o)){const n=Object.getOwnPropertyDescriptor(r,e);n&&Object.defineProperty(o,e,n.get?n:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var f=g();const c=s(f),y=i({__proto__:null,default:c},[f]);export{y as g};
@@ -1 +1 @@
1
- import{r as s}from"./index-CZeFNEUV.js";import{r as l}from"./haml-Du0d9Qpu.js";function i(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=l();const c=s(f),u=i({__proto__:null,default:c},[f]);export{u as h};
1
+ import{r as s}from"./index-DEzVc1T8.js";import{r as l}from"./haml-Du0d9Qpu.js";function i(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=l();const c=s(f),u=i({__proto__:null,default:c},[f]);export{u as h};
@@ -1 +1 @@
1
- import{r as f}from"./index-CZeFNEUV.js";import{r as l}from"./handlebars-BqpMwd25.js";function i(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var s=l();const c=f(s),b=i({__proto__:null,default:c},[s]);export{b as h};
1
+ import{r as f}from"./index-DEzVc1T8.js";import{r as l}from"./handlebars-BqpMwd25.js";function i(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var s=l();const c=f(s),b=i({__proto__:null,default:c},[s]);export{b as h};
@@ -1 +1 @@
1
- import{r as n}from"./index-CZeFNEUV.js";import{r as f}from"./haskell-BSgKG0fA.js";function i(t,s){for(var o=0;o<s.length;o++){const e=s[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var l=f();const c=n(l),g=i({__proto__:null,default:c},[l]);export{g as h};
1
+ import{r as n}from"./index-DEzVc1T8.js";import{r as f}from"./haskell-BSgKG0fA.js";function i(t,s){for(var o=0;o<s.length;o++){const e=s[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var l=f();const c=n(l),g=i({__proto__:null,default:c},[l]);export{g as h};
@@ -1 +1 @@
1
- import{r as s}from"./index-CZeFNEUV.js";import{r as i}from"./haxe-Bbxdab9d.js";function c(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=i();const p=s(f),g=c({__proto__:null,default:p},[f]);export{g as h};
1
+ import{r as s}from"./index-DEzVc1T8.js";import{r as i}from"./haxe-Bbxdab9d.js";function c(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const a=Object.getOwnPropertyDescriptor(e,r);a&&Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=i();const p=s(f),g=c({__proto__:null,default:p},[f]);export{g as h};
@@ -1 +1 @@
1
- import{r as a}from"./index-CZeFNEUV.js";import{r as f}from"./hsp-BfO253pz.js";function i(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const s=Object.getOwnPropertyDescriptor(e,r);s&&Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var p=f();const c=a(p),g=i({__proto__:null,default:c},[p]);export{g as h};
1
+ import{r as a}from"./index-DEzVc1T8.js";import{r as f}from"./hsp-BfO253pz.js";function i(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const s=Object.getOwnPropertyDescriptor(e,r);s&&Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var p=f();const c=a(p),g=i({__proto__:null,default:c},[p]);export{g as h};
@@ -1 +1 @@
1
- import{r as f}from"./index-CZeFNEUV.js";import{r as l}from"./htmlbars-BdupgdwA.js";function i(t,s){for(var o=0;o<s.length;o++){const r=s[o];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const a=Object.getOwnPropertyDescriptor(r,e);a&&Object.defineProperty(t,e,a.get?a:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=l();const c=f(n),u=i({__proto__:null,default:c},[n]);export{u as h};
1
+ import{r as f}from"./index-DEzVc1T8.js";import{r as l}from"./htmlbars-BdupgdwA.js";function i(t,s){for(var o=0;o<s.length;o++){const r=s[o];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in t)){const a=Object.getOwnPropertyDescriptor(r,e);a&&Object.defineProperty(t,e,a.get?a:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var n=l();const c=f(n),u=i({__proto__:null,default:c},[n]);export{u as h};
@@ -1 +1 @@
1
- import{r as f}from"./index-CZeFNEUV.js";import{r as s}from"./http-FG-1bz0S.js";function i(r,p){for(var o=0;o<p.length;o++){const t=p[o];if(typeof t!="string"&&!Array.isArray(t)){for(const e in t)if(e!=="default"&&!(e in r)){const n=Object.getOwnPropertyDescriptor(t,e);n&&Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:()=>t[e]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var a=s();const c=f(a),g=i({__proto__:null,default:c},[a]);export{g as h};
1
+ import{r as f}from"./index-DEzVc1T8.js";import{r as s}from"./http-FG-1bz0S.js";function i(r,p){for(var o=0;o<p.length;o++){const t=p[o];if(typeof t!="string"&&!Array.isArray(t)){for(const e in t)if(e!=="default"&&!(e in r)){const n=Object.getOwnPropertyDescriptor(t,e);n&&Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:()=>t[e]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var a=s();const c=f(a),g=i({__proto__:null,default:c},[a]);export{g as h};
@@ -1 +1 @@
1
- import{r as s}from"./index-CZeFNEUV.js";import{r as i}from"./hy-CljtLrIB.js";function c(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=i();const p=s(f),l=c({__proto__:null,default:p},[f]);export{l as h};
1
+ import{r as s}from"./index-DEzVc1T8.js";import{r as i}from"./hy-CljtLrIB.js";function c(t,a){for(var o=0;o<a.length;o++){const e=a[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const n=Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=i();const p=s(f),l=c({__proto__:null,default:p},[f]);export{l as h};
@@ -1,2 +1,2 @@
1
- import{c as rt,f as ut,g as yt,O as Ot,h as vt,J as It,R as L}from"./index-ArruDavK.js";import{b as lt,bZ as _t,b_ as Et,b$ as Tt,c0 as wt,c1 as St,c2 as At,c3 as Rt,y as ct,c4 as xt,c5 as kt,c6 as k,x as bt,c7 as dt,c8 as Nt}from"./index-CZeFNEUV.js";import{E as Mt,c as Dt}from"./embeddings-Dm-D9Jqe.js";function v(t){if(typeof t=="object"&&t!==null){const e={...t};"additionalProperties"in e&&delete e.additionalProperties,"$schema"in e&&delete e.$schema,"strict"in e&&delete e.strict;for(const n in e)n in e&&(Array.isArray(e[n])?e[n]=e[n].map(v):typeof e[n]=="object"&&e[n]!==null&&(e[n]=v(e[n])));return e}return t}function N(t){const e=v(lt(t)?_t(t):t),{$schema:n,...s}=e;return s}function Gt(t){const e=v(t),{$schema:n,...s}=e;return s}function E(t,e,n=[]){if(t==null||typeof t!="object")return;const s=t;if(Array.isArray(s.enum)&&s.enum.some(i=>i==="")){const i=n.length?` at path "${n.join(".")}"`:"",o=e?` in tool "${e}"`:"";throw new Error(`Invalid enum: empty string not allowed${o}${i}. Gemini API rejects empty strings in enums.`)}if(s.type==="object"&&s.properties&&typeof s.properties=="object")for(const[i,o]of Object.entries(s.properties))E(o,e,[...n,i]);s.items&&E(s.items,e,[...n,"[]"]);for(const i of["anyOf","oneOf","allOf"]){const o=s[i];Array.isArray(o)&&o.forEach((r,u)=>E(r,e,[...n,`${i}[${u}]`]))}s.additionalProperties&&typeof s.additionalProperties=="object"&&E(s.additionalProperties,e,[...n,"additionalProperties"])}const h=[];for(let t=0;t<256;++t)h.push((t+256).toString(16).slice(1));function Ut(t,e=0){return(h[t[e+0]]+h[t[e+1]]+h[t[e+2]]+h[t[e+3]]+"-"+h[t[e+4]]+h[t[e+5]]+"-"+h[t[e+6]]+h[t[e+7]]+"-"+h[t[e+8]]+h[t[e+9]]+"-"+h[t[e+10]]+h[t[e+11]]+h[t[e+12]]+h[t[e+13]]+h[t[e+14]]+h[t[e+15]]).toLowerCase()}let b;const Lt=new Uint8Array(16);function Pt(){if(!b){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");b=crypto.getRandomValues.bind(crypto)}return b(Lt)}const jt=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),P={randomUUID:jt};function ft(t,e,n){if(P.randomUUID&&!t)return P.randomUUID();t=t||{};const s=t.random??t.rng?.()??Pt();if(s.length<16)throw new Error("Random bytes length must be >= 16");return s[6]=s[6]&15|64,s[8]=s[8]&63|128,Ut(s)}const D="__gemini_function_call_thought_signatures__",Kt="ErYCCrMCAdHtim9kOoOkrPiCNVsmlpMIKd7ZMxgiFbVQOkgp7nlLcDMzVsZwIzvuT7nQROivoXA72ccC2lSDvR0Gh7dkWaGuj7ctv6t7ZceHnecx0QYa+ix8tYpRfjhyWozQ49lWiws6+YGjCt10KRTyWsZ2h6O7iHTYJwKIRwGUHRKy/qK/6kFxJm5ML00gLq4D8s5Z6DBpp2ZlR+uF4G8jJgeWQgyHWVdx2wGYElaceVAc66tZdPQRdOHpWtgYSI1YdaXgVI8KHY3/EfNc2YqqMIulvkDBAnuMhkAjV9xmBa54Tq+ih3Im4+r3DzqhGqYdsSkhS0kZMwte4Hjs65dZzCw9lANxIqYi1DJ639WNPYihp/DCJCos7o+/EeSPJaio5sgWDyUnMGkY1atsJZ+m7pj7DD5tvQ==",Ft=t=>t();function $t(t){return At.isInstance(t)?t.role:t.type}function Ht(t){switch(t){case"supervisor":case"ai":case"model":return"model";case"system":return"system";case"human":return"user";case"tool":case"function":return"function";default:throw new Error(`Unknown / unsupported author: ${t}`)}}function Yt(t){if("mimeType"in t&&"data"in t)return{inlineData:{mimeType:t.mimeType,data:t.data}};if("mimeType"in t&&"fileUri"in t)return{fileData:{mimeType:t.mimeType,fileUri:t.fileUri}};throw new Error("Invalid media content")}function Bt(t,e){return e.map(n=>ct(n)?n.tool_calls??[]:[]).flat().find(n=>n.id===t.tool_call_id)?.name}function qt(t){return{providerName:"Google Gemini",fromStandardTextBlock(n){return{text:n.text}},fromStandardImageBlock(n){if(!t)throw new Error("This model does not support images");if(n.source_type==="url"){const s=k({dataUrl:n.url});return s?{inlineData:{mimeType:s.mime_type,data:s.data}}:{fileData:{mimeType:n.mime_type??"",fileUri:n.url}}}if(n.source_type==="base64")return{inlineData:{mimeType:n.mime_type??"",data:n.data}};throw new Error(`Unsupported source type: ${n.source_type}`)},fromStandardAudioBlock(n){if(!t)throw new Error("This model does not support audio");if(n.source_type==="url"){const s=k({dataUrl:n.url});return s?{inlineData:{mimeType:s.mime_type,data:s.data}}:{fileData:{mimeType:n.mime_type??"",fileUri:n.url}}}if(n.source_type==="base64")return{inlineData:{mimeType:n.mime_type??"",data:n.data}};throw new Error(`Unsupported source type: ${n.source_type}`)},fromStandardFileBlock(n){if(!t)throw new Error("This model does not support files");if(n.source_type==="text")return{text:n.text};if(n.source_type==="url"){const s=k({dataUrl:n.url});return s?{inlineData:{mimeType:s.mime_type,data:s.data}}:{fileData:{mimeType:n.mime_type??"",fileUri:n.url}}}if(n.source_type==="base64")return{inlineData:{mimeType:n.mime_type??"",data:n.data}};throw new Error(`Unsupported source type: ${n.source_type}`)}}}function j(t,e){if(xt(t))return kt(t,qt(e));if(t.type==="text")return{text:t.text};if(t.type==="executableCode")return{executableCode:t.executableCode};if(t.type==="codeExecutionResult")return{codeExecutionResult:t.codeExecutionResult};if(t.type==="image_url"){if(!e)throw new Error("This model does not support images");let n;if(typeof t.image_url=="string")n=t.image_url;else if(typeof t.image_url=="object"&&"url"in t.image_url)n=t.image_url.url;else throw new Error("Please provide image as base64 encoded data URL");const[s,i]=n.split(",");if(!s.startsWith("data:"))throw new Error("Please provide image as base64 encoded data URL");const[o,r]=s.replace(/^data:/,"").split(";");if(r!=="base64")throw new Error("Please provide image as base64 encoded data URL");return{inlineData:{data:i,mimeType:o}}}else{if(t.type==="media")return Yt(t);if(t.type==="tool_use")return{functionCall:{name:t.name,args:t.input}};if(t.type==="tool_call")return{functionCall:{name:t.name,args:t.args}};if(t.type?.includes("/")&&t.type.split("/").length===2&&"data"in t&&typeof t.data=="string")return{inlineData:{mimeType:t.type,data:t.data}};if("functionCall"in t)return;throw"type"in t?new Error(`Unknown content type ${t.type}`):new Error(`Unknown content ${JSON.stringify(t)}`)}}function Vt(t,e,n,s){if(Rt(t)){const u=t.name??Bt(t,n);if(u===void 0)throw new Error(`Google requires a tool name for each tool call response, and we could not infer a called tool name for ToolMessage "${t.id}" from your passed messages. Please populate a "name" field on that ToolMessage explicitly.`);const c=Array.isArray(t.content)?t.content.map(f=>j(f,e)).filter(f=>f!==void 0):t.content;return t.status==="error"?[{functionResponse:{name:u,response:{error:{details:c}}}}]:[{functionResponse:{name:u,response:{result:c}}}]}let i=[];const o=[];typeof t.content=="string"&&t.content&&o.push({text:t.content}),Array.isArray(t.content)&&o.push(...t.content.map(u=>j(u,e)).filter(u=>u!==void 0));const r=t.additional_kwargs?.[D];return ct(t)&&t.tool_calls?.length&&(i=t.tool_calls.map(u=>{const c=Ft(()=>{if(u.id){const f=r?.[u.id];if(f)return f}return s?.includes("gemini-3")?Kt:""});return{functionCall:{name:u.name,args:u.args},...c?{thoughtSignature:c}:{}}})),[...o,...i]}function K(t,e,n=!1,s){return t.reduce((i,o,r)=>{if(!Et(o))throw new Error("Unsupported message input");const u=$t(o);if(u==="system"&&r!==0)throw new Error("System message should be the first one");const c=Ht(u),f=i.content[i.content.length];if(!i.mergeWithPreviousContent&&f&&f.role===c)throw new Error("Google Generative AI requires alternate messages between authors");const g=Vt(o,e,t.slice(0,r),s);if(i.mergeWithPreviousContent){const d=i.content[i.content.length-1];if(!d)throw new Error("There was a problem parsing your system message. Please try a prompt without one.");return d.parts.push(...g),{mergeWithPreviousContent:!1,content:i.content}}let a=c;(a==="function"||a==="system"&&!n)&&(a="user");const l={role:a,parts:g};return{mergeWithPreviousContent:u==="system"&&!n,content:[...i.content,l]}},{content:[],mergeWithPreviousContent:!1}).content}function Wt(t,e){if(!t.candidates||t.candidates.length===0||!t.candidates[0])return{generations:[],llmOutput:{filters:t.promptFeedback}};const[n]=t.candidates,{content:s,...i}=n,o=s.parts?.reduce((a,l)=>("functionCall"in l&&l.functionCall&&a.push({...l,id:"id"in l.functionCall&&typeof l.functionCall.id=="string"?l.functionCall.id:ft()}),a),[]);let r;const u=s?.parts;Array.isArray(u)&&u.length===1&&"text"in u[0]&&u[0].text&&!u[0].thought?r=u[0].text:Array.isArray(u)&&u.length>0?r=u.map(a=>a.thought&&"text"in a&&a.text?{type:"thinking",thinking:a.text,...a.thoughtSignature?{signature:a.thoughtSignature}:{}}:"text"in a?{type:"text",text:a.text}:"inlineData"in a?{type:"inlineData",inlineData:a.inlineData}:"functionCall"in a?{type:"functionCall",functionCall:a.functionCall}:"functionResponse"in a?{type:"functionResponse",functionResponse:a.functionResponse}:"fileData"in a?{type:"fileData",fileData:a.fileData}:"executableCode"in a?{type:"executableCode",executableCode:a.executableCode}:"codeExecutionResult"in a?{type:"codeExecutionResult",codeExecutionResult:a.codeExecutionResult}:a):r=[];const c=o?.reduce((a,l)=>("thoughtSignature"in l&&typeof l.thoughtSignature=="string"&&(a[l.id]=l.thoughtSignature),a),{});let f="";return typeof r=="string"?f=r:Array.isArray(r)&&r.length>0&&(f=r.find(l=>"text"in l)?.text??f),{generations:[{text:f,message:new Tt({content:r??"",tool_calls:o?.map(a=>({type:"tool_call",id:a.id,name:a.functionCall.name,args:a.functionCall.args})),additional_kwargs:{...i,[D]:c},usage_metadata:e?.usageMetadata}),generationInfo:i}],llmOutput:{tokenUsage:{promptTokens:e?.usageMetadata?.input_tokens,completionTokens:e?.usageMetadata?.output_tokens,totalTokens:e?.usageMetadata?.total_tokens}}}}function Jt(t,e){if(!t.candidates||t.candidates.length===0)return null;const[n]=t.candidates,{content:s,...i}=n,o=s.parts?.reduce((a,l)=>("functionCall"in l&&l.functionCall&&a.push({...l,id:"id"in l.functionCall&&typeof l.functionCall.id=="string"?l.functionCall.id:ft()}),a),[]);let r;const u=s?.parts;Array.isArray(u)&&u.every(a=>"text"in a&&!a.thought)?r=u.map(a=>a.text).join(""):Array.isArray(u)?r=u.map(a=>a.thought&&"text"in a&&a.text?{type:"thinking",thinking:a.text,...a.thoughtSignature?{signature:a.thoughtSignature}:{}}:"text"in a?{type:"text",text:a.text}:"inlineData"in a?{type:"inlineData",inlineData:a.inlineData}:"functionCall"in a?{type:"functionCall",functionCall:a.functionCall}:"functionResponse"in a?{type:"functionResponse",functionResponse:a.functionResponse}:"fileData"in a?{type:"fileData",fileData:a.fileData}:"executableCode"in a?{type:"executableCode",executableCode:a.executableCode}:"codeExecutionResult"in a?{type:"codeExecutionResult",codeExecutionResult:a.codeExecutionResult}:a):r=[];let c="";r&&typeof r=="string"?c=r:Array.isArray(r)&&(c=r.find(l=>"text"in l)?.text??"");const f=[];o&&f.push(...o.map(a=>({type:"tool_call_chunk",id:a.id,name:a.functionCall.name,args:JSON.stringify(a.functionCall.args)})));const g=o?.reduce((a,l)=>("thoughtSignature"in l&&typeof l.thoughtSignature=="string"&&(a[l.id]=l.thoughtSignature),a),{});return new wt({text:c,message:new St({content:r||"",name:s?s.role:void 0,tool_call_chunks:f,additional_kwargs:{[D]:g},response_metadata:{model_provider:"google-genai"},usage_metadata:e.usageMetadata}),generationInfo:i})}function zt(t){return t.every(e=>"functionDeclarations"in e&&Array.isArray(e.functionDeclarations))?t:[{functionDeclarations:t.map(e=>{if(rt(e)){const n=N(e.schema);return n.type==="object"&&"properties"in n&&Object.keys(n.properties).length===0?{name:e.name,description:e.description}:(E(n,e.name),{name:e.name,description:e.description,parameters:n})}if(ut(e)){const n=Gt(e.function.parameters);return E(n,e.function.name),{name:e.function.name,description:e.function.description??"A function available to call.",parameters:n}}return e})}]}function F(t,e){const n={input_tokens:t?.promptTokenCount??0,output_tokens:t?.candidatesTokenCount??0,total_tokens:t?.totalTokenCount??0};if(t?.cachedContentTokenCount&&(n.input_token_details??={},n.input_token_details.cache_read=t.cachedContentTokenCount),e==="gemini-3-pro-preview"){const s=Math.max(0,t?.promptTokenCount??-2e5),i=Math.max(0,t?.cachedContentTokenCount??-2e5);s&&(n.input_token_details={...n.input_token_details,over_200k:s}),i&&(n.input_token_details={...n.input_token_details,cache_read_over_200k:i})}return n}var $=class extends yt{static lc_name(){return"GoogleGenerativeAIToolsOutputParser"}lc_namespace=["langchain","google_genai","output_parsers"];returnId=!1;keyName;returnSingle=!1;zodSchema;constructor(t){super(t),this.keyName=t.keyName,this.returnSingle=t.returnSingle??this.returnSingle,this.zodSchema=t.zodSchema}async _validateResult(t){if(this.zodSchema===void 0)return t;const e=await bt(this.zodSchema,t);if(e.success)return e.data;throw new Ot(`Failed to parse. Text: "${JSON.stringify(t,null,2)}". Error: ${JSON.stringify(e.error.issues)}`,JSON.stringify(t,null,2))}async parseResult(t){const e=t.flatMap(i=>{const{message:o}=i;return!("tool_calls"in o)||!Array.isArray(o.tool_calls)?[]:o.tool_calls});if(e[0]===void 0)throw new Error("No parseable tool calls provided to GoogleGenerativeAIToolsOutputParser.");const[n]=e;return await this._validateResult(n.args)}},H;(function(t){t.STRING="string",t.NUMBER="number",t.INTEGER="integer",t.BOOLEAN="boolean",t.ARRAY="array",t.OBJECT="object"})(H||(H={}));var Y;(function(t){t.LANGUAGE_UNSPECIFIED="language_unspecified",t.PYTHON="python"})(Y||(Y={}));var B;(function(t){t.OUTCOME_UNSPECIFIED="outcome_unspecified",t.OUTCOME_OK="outcome_ok",t.OUTCOME_FAILED="outcome_failed",t.OUTCOME_DEADLINE_EXCEEDED="outcome_deadline_exceeded"})(B||(B={}));const q=["user","model","function","system"];var V;(function(t){t.HARM_CATEGORY_UNSPECIFIED="HARM_CATEGORY_UNSPECIFIED",t.HARM_CATEGORY_HATE_SPEECH="HARM_CATEGORY_HATE_SPEECH",t.HARM_CATEGORY_SEXUALLY_EXPLICIT="HARM_CATEGORY_SEXUALLY_EXPLICIT",t.HARM_CATEGORY_HARASSMENT="HARM_CATEGORY_HARASSMENT",t.HARM_CATEGORY_DANGEROUS_CONTENT="HARM_CATEGORY_DANGEROUS_CONTENT",t.HARM_CATEGORY_CIVIC_INTEGRITY="HARM_CATEGORY_CIVIC_INTEGRITY"})(V||(V={}));var W;(function(t){t.HARM_BLOCK_THRESHOLD_UNSPECIFIED="HARM_BLOCK_THRESHOLD_UNSPECIFIED",t.BLOCK_LOW_AND_ABOVE="BLOCK_LOW_AND_ABOVE",t.BLOCK_MEDIUM_AND_ABOVE="BLOCK_MEDIUM_AND_ABOVE",t.BLOCK_ONLY_HIGH="BLOCK_ONLY_HIGH",t.BLOCK_NONE="BLOCK_NONE"})(W||(W={}));var J;(function(t){t.HARM_PROBABILITY_UNSPECIFIED="HARM_PROBABILITY_UNSPECIFIED",t.NEGLIGIBLE="NEGLIGIBLE",t.LOW="LOW",t.MEDIUM="MEDIUM",t.HIGH="HIGH"})(J||(J={}));var z;(function(t){t.BLOCKED_REASON_UNSPECIFIED="BLOCKED_REASON_UNSPECIFIED",t.SAFETY="SAFETY",t.OTHER="OTHER"})(z||(z={}));var w;(function(t){t.FINISH_REASON_UNSPECIFIED="FINISH_REASON_UNSPECIFIED",t.STOP="STOP",t.MAX_TOKENS="MAX_TOKENS",t.SAFETY="SAFETY",t.RECITATION="RECITATION",t.LANGUAGE="LANGUAGE",t.BLOCKLIST="BLOCKLIST",t.PROHIBITED_CONTENT="PROHIBITED_CONTENT",t.SPII="SPII",t.MALFORMED_FUNCTION_CALL="MALFORMED_FUNCTION_CALL",t.OTHER="OTHER"})(w||(w={}));var Q;(function(t){t.TASK_TYPE_UNSPECIFIED="TASK_TYPE_UNSPECIFIED",t.RETRIEVAL_QUERY="RETRIEVAL_QUERY",t.RETRIEVAL_DOCUMENT="RETRIEVAL_DOCUMENT",t.SEMANTIC_SIMILARITY="SEMANTIC_SIMILARITY",t.CLASSIFICATION="CLASSIFICATION",t.CLUSTERING="CLUSTERING"})(Q||(Q={}));var T;(function(t){t.MODE_UNSPECIFIED="MODE_UNSPECIFIED",t.AUTO="AUTO",t.ANY="ANY",t.NONE="NONE"})(T||(T={}));var Z;(function(t){t.MODE_UNSPECIFIED="MODE_UNSPECIFIED",t.MODE_DYNAMIC="MODE_DYNAMIC"})(Z||(Z={}));class m extends Error{constructor(e){super(`[GoogleGenerativeAI Error]: ${e}`)}}class _ extends m{constructor(e,n){super(e),this.response=n}}class pt extends m{constructor(e,n,s,i){super(e),this.status=n,this.statusText=s,this.errorDetails=i}}class O extends m{}class gt extends m{}const Qt="https://generativelanguage.googleapis.com",Zt="v1beta",Xt="0.24.1",te="genai-js";var I;(function(t){t.GENERATE_CONTENT="generateContent",t.STREAM_GENERATE_CONTENT="streamGenerateContent",t.COUNT_TOKENS="countTokens",t.EMBED_CONTENT="embedContent",t.BATCH_EMBED_CONTENTS="batchEmbedContents"})(I||(I={}));class ee{constructor(e,n,s,i,o){this.model=e,this.task=n,this.apiKey=s,this.stream=i,this.requestOptions=o}toString(){var e,n;const s=((e=this.requestOptions)===null||e===void 0?void 0:e.apiVersion)||Zt;let o=`${((n=this.requestOptions)===null||n===void 0?void 0:n.baseUrl)||Qt}/${s}/${this.model}:${this.task}`;return this.stream&&(o+="?alt=sse"),o}}function ne(t){const e=[];return t?.apiClient&&e.push(t.apiClient),e.push(`${te}/${Xt}`),e.join(" ")}async function se(t){var e;const n=new Headers;n.append("Content-Type","application/json"),n.append("x-goog-api-client",ne(t.requestOptions)),n.append("x-goog-api-key",t.apiKey);let s=(e=t.requestOptions)===null||e===void 0?void 0:e.customHeaders;if(s){if(!(s instanceof Headers))try{s=new Headers(s)}catch(i){throw new O(`unable to convert customHeaders value ${JSON.stringify(s)} to Headers: ${i.message}`)}for(const[i,o]of s.entries()){if(i==="x-goog-api-key")throw new O(`Cannot set reserved header name ${i}`);if(i==="x-goog-api-client")throw new O(`Header name ${i} can only be set using the apiClient field`);n.append(i,o)}}return n}async function ie(t,e,n,s,i,o){const r=new ee(t,e,n,s,o);return{url:r.toString(),fetchOptions:Object.assign(Object.assign({},ue(o)),{method:"POST",headers:await se(r),body:i})}}async function R(t,e,n,s,i,o={},r=fetch){const{url:u,fetchOptions:c}=await ie(t,e,n,s,i,o);return oe(u,c,r)}async function oe(t,e,n=fetch){let s;try{s=await n(t,e)}catch(i){ae(i,t)}return s.ok||await re(s,t),s}function ae(t,e){let n=t;throw n.name==="AbortError"?(n=new gt(`Request aborted when fetching ${e.toString()}: ${t.message}`),n.stack=t.stack):t instanceof pt||t instanceof O||(n=new m(`Error fetching from ${e.toString()}: ${t.message}`),n.stack=t.stack),n}async function re(t,e){let n="",s;try{const i=await t.json();n=i.error.message,i.error.details&&(n+=` ${JSON.stringify(i.error.details)}`,s=i.error.details)}catch{}throw new pt(`Error fetching from ${e.toString()}: [${t.status} ${t.statusText}] ${n}`,t.status,t.statusText,s)}function ue(t){const e={};if(t?.signal!==void 0||t?.timeout>=0){const n=new AbortController;t?.timeout>=0&&setTimeout(()=>n.abort(),t.timeout),t?.signal&&t.signal.addEventListener("abort",()=>{n.abort()}),e.signal=n.signal}return e}function G(t){return t.text=()=>{if(t.candidates&&t.candidates.length>0){if(t.candidates.length>1&&console.warn(`This response had ${t.candidates.length} candidates. Returning text from the first candidate only. Access response.candidates directly to use the other candidates.`),x(t.candidates[0]))throw new _(`${y(t)}`,t);return le(t)}else if(t.promptFeedback)throw new _(`Text not available. ${y(t)}`,t);return""},t.functionCall=()=>{if(t.candidates&&t.candidates.length>0){if(t.candidates.length>1&&console.warn(`This response had ${t.candidates.length} candidates. Returning function calls from the first candidate only. Access response.candidates directly to use the other candidates.`),x(t.candidates[0]))throw new _(`${y(t)}`,t);return console.warn("response.functionCall() is deprecated. Use response.functionCalls() instead."),X(t)[0]}else if(t.promptFeedback)throw new _(`Function call not available. ${y(t)}`,t)},t.functionCalls=()=>{if(t.candidates&&t.candidates.length>0){if(t.candidates.length>1&&console.warn(`This response had ${t.candidates.length} candidates. Returning function calls from the first candidate only. Access response.candidates directly to use the other candidates.`),x(t.candidates[0]))throw new _(`${y(t)}`,t);return X(t)}else if(t.promptFeedback)throw new _(`Function call not available. ${y(t)}`,t)},t}function le(t){var e,n,s,i;const o=[];if(!((n=(e=t.candidates)===null||e===void 0?void 0:e[0].content)===null||n===void 0)&&n.parts)for(const r of(i=(s=t.candidates)===null||s===void 0?void 0:s[0].content)===null||i===void 0?void 0:i.parts)r.text&&o.push(r.text),r.executableCode&&o.push("\n```"+r.executableCode.language+`
1
+ import{c as rt,f as ut,g as yt,O as Ot,h as vt,J as It,R as L}from"./index-x0vkP4Qz.js";import{b as lt,bZ as _t,b_ as Et,b$ as Tt,c0 as wt,c1 as St,c2 as At,c3 as Rt,y as ct,c4 as xt,c5 as kt,c6 as k,x as bt,c7 as dt,c8 as Nt}from"./index-DEzVc1T8.js";import{E as Mt,c as Dt}from"./embeddings-B4ViHRXY.js";function v(t){if(typeof t=="object"&&t!==null){const e={...t};"additionalProperties"in e&&delete e.additionalProperties,"$schema"in e&&delete e.$schema,"strict"in e&&delete e.strict;for(const n in e)n in e&&(Array.isArray(e[n])?e[n]=e[n].map(v):typeof e[n]=="object"&&e[n]!==null&&(e[n]=v(e[n])));return e}return t}function N(t){const e=v(lt(t)?_t(t):t),{$schema:n,...s}=e;return s}function Gt(t){const e=v(t),{$schema:n,...s}=e;return s}function E(t,e,n=[]){if(t==null||typeof t!="object")return;const s=t;if(Array.isArray(s.enum)&&s.enum.some(i=>i==="")){const i=n.length?` at path "${n.join(".")}"`:"",o=e?` in tool "${e}"`:"";throw new Error(`Invalid enum: empty string not allowed${o}${i}. Gemini API rejects empty strings in enums.`)}if(s.type==="object"&&s.properties&&typeof s.properties=="object")for(const[i,o]of Object.entries(s.properties))E(o,e,[...n,i]);s.items&&E(s.items,e,[...n,"[]"]);for(const i of["anyOf","oneOf","allOf"]){const o=s[i];Array.isArray(o)&&o.forEach((r,u)=>E(r,e,[...n,`${i}[${u}]`]))}s.additionalProperties&&typeof s.additionalProperties=="object"&&E(s.additionalProperties,e,[...n,"additionalProperties"])}const h=[];for(let t=0;t<256;++t)h.push((t+256).toString(16).slice(1));function Ut(t,e=0){return(h[t[e+0]]+h[t[e+1]]+h[t[e+2]]+h[t[e+3]]+"-"+h[t[e+4]]+h[t[e+5]]+"-"+h[t[e+6]]+h[t[e+7]]+"-"+h[t[e+8]]+h[t[e+9]]+"-"+h[t[e+10]]+h[t[e+11]]+h[t[e+12]]+h[t[e+13]]+h[t[e+14]]+h[t[e+15]]).toLowerCase()}let b;const Lt=new Uint8Array(16);function Pt(){if(!b){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");b=crypto.getRandomValues.bind(crypto)}return b(Lt)}const jt=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),P={randomUUID:jt};function ft(t,e,n){if(P.randomUUID&&!t)return P.randomUUID();t=t||{};const s=t.random??t.rng?.()??Pt();if(s.length<16)throw new Error("Random bytes length must be >= 16");return s[6]=s[6]&15|64,s[8]=s[8]&63|128,Ut(s)}const D="__gemini_function_call_thought_signatures__",Kt="ErYCCrMCAdHtim9kOoOkrPiCNVsmlpMIKd7ZMxgiFbVQOkgp7nlLcDMzVsZwIzvuT7nQROivoXA72ccC2lSDvR0Gh7dkWaGuj7ctv6t7ZceHnecx0QYa+ix8tYpRfjhyWozQ49lWiws6+YGjCt10KRTyWsZ2h6O7iHTYJwKIRwGUHRKy/qK/6kFxJm5ML00gLq4D8s5Z6DBpp2ZlR+uF4G8jJgeWQgyHWVdx2wGYElaceVAc66tZdPQRdOHpWtgYSI1YdaXgVI8KHY3/EfNc2YqqMIulvkDBAnuMhkAjV9xmBa54Tq+ih3Im4+r3DzqhGqYdsSkhS0kZMwte4Hjs65dZzCw9lANxIqYi1DJ639WNPYihp/DCJCos7o+/EeSPJaio5sgWDyUnMGkY1atsJZ+m7pj7DD5tvQ==",Ft=t=>t();function $t(t){return At.isInstance(t)?t.role:t.type}function Ht(t){switch(t){case"supervisor":case"ai":case"model":return"model";case"system":return"system";case"human":return"user";case"tool":case"function":return"function";default:throw new Error(`Unknown / unsupported author: ${t}`)}}function Yt(t){if("mimeType"in t&&"data"in t)return{inlineData:{mimeType:t.mimeType,data:t.data}};if("mimeType"in t&&"fileUri"in t)return{fileData:{mimeType:t.mimeType,fileUri:t.fileUri}};throw new Error("Invalid media content")}function Bt(t,e){return e.map(n=>ct(n)?n.tool_calls??[]:[]).flat().find(n=>n.id===t.tool_call_id)?.name}function qt(t){return{providerName:"Google Gemini",fromStandardTextBlock(n){return{text:n.text}},fromStandardImageBlock(n){if(!t)throw new Error("This model does not support images");if(n.source_type==="url"){const s=k({dataUrl:n.url});return s?{inlineData:{mimeType:s.mime_type,data:s.data}}:{fileData:{mimeType:n.mime_type??"",fileUri:n.url}}}if(n.source_type==="base64")return{inlineData:{mimeType:n.mime_type??"",data:n.data}};throw new Error(`Unsupported source type: ${n.source_type}`)},fromStandardAudioBlock(n){if(!t)throw new Error("This model does not support audio");if(n.source_type==="url"){const s=k({dataUrl:n.url});return s?{inlineData:{mimeType:s.mime_type,data:s.data}}:{fileData:{mimeType:n.mime_type??"",fileUri:n.url}}}if(n.source_type==="base64")return{inlineData:{mimeType:n.mime_type??"",data:n.data}};throw new Error(`Unsupported source type: ${n.source_type}`)},fromStandardFileBlock(n){if(!t)throw new Error("This model does not support files");if(n.source_type==="text")return{text:n.text};if(n.source_type==="url"){const s=k({dataUrl:n.url});return s?{inlineData:{mimeType:s.mime_type,data:s.data}}:{fileData:{mimeType:n.mime_type??"",fileUri:n.url}}}if(n.source_type==="base64")return{inlineData:{mimeType:n.mime_type??"",data:n.data}};throw new Error(`Unsupported source type: ${n.source_type}`)}}}function j(t,e){if(xt(t))return kt(t,qt(e));if(t.type==="text")return{text:t.text};if(t.type==="executableCode")return{executableCode:t.executableCode};if(t.type==="codeExecutionResult")return{codeExecutionResult:t.codeExecutionResult};if(t.type==="image_url"){if(!e)throw new Error("This model does not support images");let n;if(typeof t.image_url=="string")n=t.image_url;else if(typeof t.image_url=="object"&&"url"in t.image_url)n=t.image_url.url;else throw new Error("Please provide image as base64 encoded data URL");const[s,i]=n.split(",");if(!s.startsWith("data:"))throw new Error("Please provide image as base64 encoded data URL");const[o,r]=s.replace(/^data:/,"").split(";");if(r!=="base64")throw new Error("Please provide image as base64 encoded data URL");return{inlineData:{data:i,mimeType:o}}}else{if(t.type==="media")return Yt(t);if(t.type==="tool_use")return{functionCall:{name:t.name,args:t.input}};if(t.type==="tool_call")return{functionCall:{name:t.name,args:t.args}};if(t.type?.includes("/")&&t.type.split("/").length===2&&"data"in t&&typeof t.data=="string")return{inlineData:{mimeType:t.type,data:t.data}};if("functionCall"in t)return;throw"type"in t?new Error(`Unknown content type ${t.type}`):new Error(`Unknown content ${JSON.stringify(t)}`)}}function Vt(t,e,n,s){if(Rt(t)){const u=t.name??Bt(t,n);if(u===void 0)throw new Error(`Google requires a tool name for each tool call response, and we could not infer a called tool name for ToolMessage "${t.id}" from your passed messages. Please populate a "name" field on that ToolMessage explicitly.`);const c=Array.isArray(t.content)?t.content.map(f=>j(f,e)).filter(f=>f!==void 0):t.content;return t.status==="error"?[{functionResponse:{name:u,response:{error:{details:c}}}}]:[{functionResponse:{name:u,response:{result:c}}}]}let i=[];const o=[];typeof t.content=="string"&&t.content&&o.push({text:t.content}),Array.isArray(t.content)&&o.push(...t.content.map(u=>j(u,e)).filter(u=>u!==void 0));const r=t.additional_kwargs?.[D];return ct(t)&&t.tool_calls?.length&&(i=t.tool_calls.map(u=>{const c=Ft(()=>{if(u.id){const f=r?.[u.id];if(f)return f}return s?.includes("gemini-3")?Kt:""});return{functionCall:{name:u.name,args:u.args},...c?{thoughtSignature:c}:{}}})),[...o,...i]}function K(t,e,n=!1,s){return t.reduce((i,o,r)=>{if(!Et(o))throw new Error("Unsupported message input");const u=$t(o);if(u==="system"&&r!==0)throw new Error("System message should be the first one");const c=Ht(u),f=i.content[i.content.length];if(!i.mergeWithPreviousContent&&f&&f.role===c)throw new Error("Google Generative AI requires alternate messages between authors");const g=Vt(o,e,t.slice(0,r),s);if(i.mergeWithPreviousContent){const d=i.content[i.content.length-1];if(!d)throw new Error("There was a problem parsing your system message. Please try a prompt without one.");return d.parts.push(...g),{mergeWithPreviousContent:!1,content:i.content}}let a=c;(a==="function"||a==="system"&&!n)&&(a="user");const l={role:a,parts:g};return{mergeWithPreviousContent:u==="system"&&!n,content:[...i.content,l]}},{content:[],mergeWithPreviousContent:!1}).content}function Wt(t,e){if(!t.candidates||t.candidates.length===0||!t.candidates[0])return{generations:[],llmOutput:{filters:t.promptFeedback}};const[n]=t.candidates,{content:s,...i}=n,o=s.parts?.reduce((a,l)=>("functionCall"in l&&l.functionCall&&a.push({...l,id:"id"in l.functionCall&&typeof l.functionCall.id=="string"?l.functionCall.id:ft()}),a),[]);let r;const u=s?.parts;Array.isArray(u)&&u.length===1&&"text"in u[0]&&u[0].text&&!u[0].thought?r=u[0].text:Array.isArray(u)&&u.length>0?r=u.map(a=>a.thought&&"text"in a&&a.text?{type:"thinking",thinking:a.text,...a.thoughtSignature?{signature:a.thoughtSignature}:{}}:"text"in a?{type:"text",text:a.text}:"inlineData"in a?{type:"inlineData",inlineData:a.inlineData}:"functionCall"in a?{type:"functionCall",functionCall:a.functionCall}:"functionResponse"in a?{type:"functionResponse",functionResponse:a.functionResponse}:"fileData"in a?{type:"fileData",fileData:a.fileData}:"executableCode"in a?{type:"executableCode",executableCode:a.executableCode}:"codeExecutionResult"in a?{type:"codeExecutionResult",codeExecutionResult:a.codeExecutionResult}:a):r=[];const c=o?.reduce((a,l)=>("thoughtSignature"in l&&typeof l.thoughtSignature=="string"&&(a[l.id]=l.thoughtSignature),a),{});let f="";return typeof r=="string"?f=r:Array.isArray(r)&&r.length>0&&(f=r.find(l=>"text"in l)?.text??f),{generations:[{text:f,message:new Tt({content:r??"",tool_calls:o?.map(a=>({type:"tool_call",id:a.id,name:a.functionCall.name,args:a.functionCall.args})),additional_kwargs:{...i,[D]:c},usage_metadata:e?.usageMetadata}),generationInfo:i}],llmOutput:{tokenUsage:{promptTokens:e?.usageMetadata?.input_tokens,completionTokens:e?.usageMetadata?.output_tokens,totalTokens:e?.usageMetadata?.total_tokens}}}}function Jt(t,e){if(!t.candidates||t.candidates.length===0)return null;const[n]=t.candidates,{content:s,...i}=n,o=s.parts?.reduce((a,l)=>("functionCall"in l&&l.functionCall&&a.push({...l,id:"id"in l.functionCall&&typeof l.functionCall.id=="string"?l.functionCall.id:ft()}),a),[]);let r;const u=s?.parts;Array.isArray(u)&&u.every(a=>"text"in a&&!a.thought)?r=u.map(a=>a.text).join(""):Array.isArray(u)?r=u.map(a=>a.thought&&"text"in a&&a.text?{type:"thinking",thinking:a.text,...a.thoughtSignature?{signature:a.thoughtSignature}:{}}:"text"in a?{type:"text",text:a.text}:"inlineData"in a?{type:"inlineData",inlineData:a.inlineData}:"functionCall"in a?{type:"functionCall",functionCall:a.functionCall}:"functionResponse"in a?{type:"functionResponse",functionResponse:a.functionResponse}:"fileData"in a?{type:"fileData",fileData:a.fileData}:"executableCode"in a?{type:"executableCode",executableCode:a.executableCode}:"codeExecutionResult"in a?{type:"codeExecutionResult",codeExecutionResult:a.codeExecutionResult}:a):r=[];let c="";r&&typeof r=="string"?c=r:Array.isArray(r)&&(c=r.find(l=>"text"in l)?.text??"");const f=[];o&&f.push(...o.map(a=>({type:"tool_call_chunk",id:a.id,name:a.functionCall.name,args:JSON.stringify(a.functionCall.args)})));const g=o?.reduce((a,l)=>("thoughtSignature"in l&&typeof l.thoughtSignature=="string"&&(a[l.id]=l.thoughtSignature),a),{});return new wt({text:c,message:new St({content:r||"",name:s?s.role:void 0,tool_call_chunks:f,additional_kwargs:{[D]:g},response_metadata:{model_provider:"google-genai"},usage_metadata:e.usageMetadata}),generationInfo:i})}function zt(t){return t.every(e=>"functionDeclarations"in e&&Array.isArray(e.functionDeclarations))?t:[{functionDeclarations:t.map(e=>{if(rt(e)){const n=N(e.schema);return n.type==="object"&&"properties"in n&&Object.keys(n.properties).length===0?{name:e.name,description:e.description}:(E(n,e.name),{name:e.name,description:e.description,parameters:n})}if(ut(e)){const n=Gt(e.function.parameters);return E(n,e.function.name),{name:e.function.name,description:e.function.description??"A function available to call.",parameters:n}}return e})}]}function F(t,e){const n={input_tokens:t?.promptTokenCount??0,output_tokens:t?.candidatesTokenCount??0,total_tokens:t?.totalTokenCount??0};if(t?.cachedContentTokenCount&&(n.input_token_details??={},n.input_token_details.cache_read=t.cachedContentTokenCount),e==="gemini-3-pro-preview"){const s=Math.max(0,t?.promptTokenCount??-2e5),i=Math.max(0,t?.cachedContentTokenCount??-2e5);s&&(n.input_token_details={...n.input_token_details,over_200k:s}),i&&(n.input_token_details={...n.input_token_details,cache_read_over_200k:i})}return n}var $=class extends yt{static lc_name(){return"GoogleGenerativeAIToolsOutputParser"}lc_namespace=["langchain","google_genai","output_parsers"];returnId=!1;keyName;returnSingle=!1;zodSchema;constructor(t){super(t),this.keyName=t.keyName,this.returnSingle=t.returnSingle??this.returnSingle,this.zodSchema=t.zodSchema}async _validateResult(t){if(this.zodSchema===void 0)return t;const e=await bt(this.zodSchema,t);if(e.success)return e.data;throw new Ot(`Failed to parse. Text: "${JSON.stringify(t,null,2)}". Error: ${JSON.stringify(e.error.issues)}`,JSON.stringify(t,null,2))}async parseResult(t){const e=t.flatMap(i=>{const{message:o}=i;return!("tool_calls"in o)||!Array.isArray(o.tool_calls)?[]:o.tool_calls});if(e[0]===void 0)throw new Error("No parseable tool calls provided to GoogleGenerativeAIToolsOutputParser.");const[n]=e;return await this._validateResult(n.args)}},H;(function(t){t.STRING="string",t.NUMBER="number",t.INTEGER="integer",t.BOOLEAN="boolean",t.ARRAY="array",t.OBJECT="object"})(H||(H={}));var Y;(function(t){t.LANGUAGE_UNSPECIFIED="language_unspecified",t.PYTHON="python"})(Y||(Y={}));var B;(function(t){t.OUTCOME_UNSPECIFIED="outcome_unspecified",t.OUTCOME_OK="outcome_ok",t.OUTCOME_FAILED="outcome_failed",t.OUTCOME_DEADLINE_EXCEEDED="outcome_deadline_exceeded"})(B||(B={}));const q=["user","model","function","system"];var V;(function(t){t.HARM_CATEGORY_UNSPECIFIED="HARM_CATEGORY_UNSPECIFIED",t.HARM_CATEGORY_HATE_SPEECH="HARM_CATEGORY_HATE_SPEECH",t.HARM_CATEGORY_SEXUALLY_EXPLICIT="HARM_CATEGORY_SEXUALLY_EXPLICIT",t.HARM_CATEGORY_HARASSMENT="HARM_CATEGORY_HARASSMENT",t.HARM_CATEGORY_DANGEROUS_CONTENT="HARM_CATEGORY_DANGEROUS_CONTENT",t.HARM_CATEGORY_CIVIC_INTEGRITY="HARM_CATEGORY_CIVIC_INTEGRITY"})(V||(V={}));var W;(function(t){t.HARM_BLOCK_THRESHOLD_UNSPECIFIED="HARM_BLOCK_THRESHOLD_UNSPECIFIED",t.BLOCK_LOW_AND_ABOVE="BLOCK_LOW_AND_ABOVE",t.BLOCK_MEDIUM_AND_ABOVE="BLOCK_MEDIUM_AND_ABOVE",t.BLOCK_ONLY_HIGH="BLOCK_ONLY_HIGH",t.BLOCK_NONE="BLOCK_NONE"})(W||(W={}));var J;(function(t){t.HARM_PROBABILITY_UNSPECIFIED="HARM_PROBABILITY_UNSPECIFIED",t.NEGLIGIBLE="NEGLIGIBLE",t.LOW="LOW",t.MEDIUM="MEDIUM",t.HIGH="HIGH"})(J||(J={}));var z;(function(t){t.BLOCKED_REASON_UNSPECIFIED="BLOCKED_REASON_UNSPECIFIED",t.SAFETY="SAFETY",t.OTHER="OTHER"})(z||(z={}));var w;(function(t){t.FINISH_REASON_UNSPECIFIED="FINISH_REASON_UNSPECIFIED",t.STOP="STOP",t.MAX_TOKENS="MAX_TOKENS",t.SAFETY="SAFETY",t.RECITATION="RECITATION",t.LANGUAGE="LANGUAGE",t.BLOCKLIST="BLOCKLIST",t.PROHIBITED_CONTENT="PROHIBITED_CONTENT",t.SPII="SPII",t.MALFORMED_FUNCTION_CALL="MALFORMED_FUNCTION_CALL",t.OTHER="OTHER"})(w||(w={}));var Q;(function(t){t.TASK_TYPE_UNSPECIFIED="TASK_TYPE_UNSPECIFIED",t.RETRIEVAL_QUERY="RETRIEVAL_QUERY",t.RETRIEVAL_DOCUMENT="RETRIEVAL_DOCUMENT",t.SEMANTIC_SIMILARITY="SEMANTIC_SIMILARITY",t.CLASSIFICATION="CLASSIFICATION",t.CLUSTERING="CLUSTERING"})(Q||(Q={}));var T;(function(t){t.MODE_UNSPECIFIED="MODE_UNSPECIFIED",t.AUTO="AUTO",t.ANY="ANY",t.NONE="NONE"})(T||(T={}));var Z;(function(t){t.MODE_UNSPECIFIED="MODE_UNSPECIFIED",t.MODE_DYNAMIC="MODE_DYNAMIC"})(Z||(Z={}));class m extends Error{constructor(e){super(`[GoogleGenerativeAI Error]: ${e}`)}}class _ extends m{constructor(e,n){super(e),this.response=n}}class pt extends m{constructor(e,n,s,i){super(e),this.status=n,this.statusText=s,this.errorDetails=i}}class O extends m{}class gt extends m{}const Qt="https://generativelanguage.googleapis.com",Zt="v1beta",Xt="0.24.1",te="genai-js";var I;(function(t){t.GENERATE_CONTENT="generateContent",t.STREAM_GENERATE_CONTENT="streamGenerateContent",t.COUNT_TOKENS="countTokens",t.EMBED_CONTENT="embedContent",t.BATCH_EMBED_CONTENTS="batchEmbedContents"})(I||(I={}));class ee{constructor(e,n,s,i,o){this.model=e,this.task=n,this.apiKey=s,this.stream=i,this.requestOptions=o}toString(){var e,n;const s=((e=this.requestOptions)===null||e===void 0?void 0:e.apiVersion)||Zt;let o=`${((n=this.requestOptions)===null||n===void 0?void 0:n.baseUrl)||Qt}/${s}/${this.model}:${this.task}`;return this.stream&&(o+="?alt=sse"),o}}function ne(t){const e=[];return t?.apiClient&&e.push(t.apiClient),e.push(`${te}/${Xt}`),e.join(" ")}async function se(t){var e;const n=new Headers;n.append("Content-Type","application/json"),n.append("x-goog-api-client",ne(t.requestOptions)),n.append("x-goog-api-key",t.apiKey);let s=(e=t.requestOptions)===null||e===void 0?void 0:e.customHeaders;if(s){if(!(s instanceof Headers))try{s=new Headers(s)}catch(i){throw new O(`unable to convert customHeaders value ${JSON.stringify(s)} to Headers: ${i.message}`)}for(const[i,o]of s.entries()){if(i==="x-goog-api-key")throw new O(`Cannot set reserved header name ${i}`);if(i==="x-goog-api-client")throw new O(`Header name ${i} can only be set using the apiClient field`);n.append(i,o)}}return n}async function ie(t,e,n,s,i,o){const r=new ee(t,e,n,s,o);return{url:r.toString(),fetchOptions:Object.assign(Object.assign({},ue(o)),{method:"POST",headers:await se(r),body:i})}}async function R(t,e,n,s,i,o={},r=fetch){const{url:u,fetchOptions:c}=await ie(t,e,n,s,i,o);return oe(u,c,r)}async function oe(t,e,n=fetch){let s;try{s=await n(t,e)}catch(i){ae(i,t)}return s.ok||await re(s,t),s}function ae(t,e){let n=t;throw n.name==="AbortError"?(n=new gt(`Request aborted when fetching ${e.toString()}: ${t.message}`),n.stack=t.stack):t instanceof pt||t instanceof O||(n=new m(`Error fetching from ${e.toString()}: ${t.message}`),n.stack=t.stack),n}async function re(t,e){let n="",s;try{const i=await t.json();n=i.error.message,i.error.details&&(n+=` ${JSON.stringify(i.error.details)}`,s=i.error.details)}catch{}throw new pt(`Error fetching from ${e.toString()}: [${t.status} ${t.statusText}] ${n}`,t.status,t.statusText,s)}function ue(t){const e={};if(t?.signal!==void 0||t?.timeout>=0){const n=new AbortController;t?.timeout>=0&&setTimeout(()=>n.abort(),t.timeout),t?.signal&&t.signal.addEventListener("abort",()=>{n.abort()}),e.signal=n.signal}return e}function G(t){return t.text=()=>{if(t.candidates&&t.candidates.length>0){if(t.candidates.length>1&&console.warn(`This response had ${t.candidates.length} candidates. Returning text from the first candidate only. Access response.candidates directly to use the other candidates.`),x(t.candidates[0]))throw new _(`${y(t)}`,t);return le(t)}else if(t.promptFeedback)throw new _(`Text not available. ${y(t)}`,t);return""},t.functionCall=()=>{if(t.candidates&&t.candidates.length>0){if(t.candidates.length>1&&console.warn(`This response had ${t.candidates.length} candidates. Returning function calls from the first candidate only. Access response.candidates directly to use the other candidates.`),x(t.candidates[0]))throw new _(`${y(t)}`,t);return console.warn("response.functionCall() is deprecated. Use response.functionCalls() instead."),X(t)[0]}else if(t.promptFeedback)throw new _(`Function call not available. ${y(t)}`,t)},t.functionCalls=()=>{if(t.candidates&&t.candidates.length>0){if(t.candidates.length>1&&console.warn(`This response had ${t.candidates.length} candidates. Returning function calls from the first candidate only. Access response.candidates directly to use the other candidates.`),x(t.candidates[0]))throw new _(`${y(t)}`,t);return X(t)}else if(t.promptFeedback)throw new _(`Function call not available. ${y(t)}`,t)},t}function le(t){var e,n,s,i;const o=[];if(!((n=(e=t.candidates)===null||e===void 0?void 0:e[0].content)===null||n===void 0)&&n.parts)for(const r of(i=(s=t.candidates)===null||s===void 0?void 0:s[0].content)===null||i===void 0?void 0:i.parts)r.text&&o.push(r.text),r.executableCode&&o.push("\n```"+r.executableCode.language+`
2
2
  `+r.executableCode.code+"\n```\n"),r.codeExecutionResult&&o.push("\n```\n"+r.codeExecutionResult.output+"\n```\n");return o.length>0?o.join(""):""}function X(t){var e,n,s,i;const o=[];if(!((n=(e=t.candidates)===null||e===void 0?void 0:e[0].content)===null||n===void 0)&&n.parts)for(const r of(i=(s=t.candidates)===null||s===void 0?void 0:s[0].content)===null||i===void 0?void 0:i.parts)r.functionCall&&o.push(r.functionCall);if(o.length>0)return o}const ce=[w.RECITATION,w.SAFETY,w.LANGUAGE];function x(t){return!!t.finishReason&&ce.includes(t.finishReason)}function y(t){var e,n,s;let i="";if((!t.candidates||t.candidates.length===0)&&t.promptFeedback)i+="Response was blocked",!((e=t.promptFeedback)===null||e===void 0)&&e.blockReason&&(i+=` due to ${t.promptFeedback.blockReason}`),!((n=t.promptFeedback)===null||n===void 0)&&n.blockReasonMessage&&(i+=`: ${t.promptFeedback.blockReasonMessage}`);else if(!((s=t.candidates)===null||s===void 0)&&s[0]){const o=t.candidates[0];x(o)&&(i+=`Candidate was blocked due to ${o.finishReason}`,o.finishMessage&&(i+=`: ${o.finishMessage}`))}return i}function S(t){return this instanceof S?(this.v=t,this):new S(t)}function de(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s=n.apply(t,e||[]),i,o=[];return i={},r("next"),r("throw"),r("return"),i[Symbol.asyncIterator]=function(){return this},i;function r(l){s[l]&&(i[l]=function(d){return new Promise(function(p,C){o.push([l,d,p,C])>1||u(l,d)})})}function u(l,d){try{c(s[l](d))}catch(p){a(o[0][3],p)}}function c(l){l.value instanceof S?Promise.resolve(l.value.v).then(f,g):a(o[0][2],l)}function f(l){u("next",l)}function g(l){u("throw",l)}function a(l,d){l(d),o.shift(),o.length&&u(o[0][0],o[0][1])}}const tt=/^data\: (.*)(?:\n\n|\r\r|\r\n\r\n)/;function fe(t){const e=t.body.pipeThrough(new TextDecoderStream("utf8",{fatal:!0})),n=he(e),[s,i]=n.tee();return{stream:ge(s),response:pe(i)}}async function pe(t){const e=[],n=t.getReader();for(;;){const{done:s,value:i}=await n.read();if(s)return G(me(e));e.push(i)}}function ge(t){return de(this,arguments,function*(){const n=t.getReader();for(;;){const{value:s,done:i}=yield S(n.read());if(i)break;yield yield S(G(s))}})}function he(t){const e=t.getReader();return new ReadableStream({start(s){let i="";return o();function o(){return e.read().then(({value:r,done:u})=>{if(u){if(i.trim()){s.error(new m("Failed to parse stream"));return}s.close();return}i+=r;let c=i.match(tt),f;for(;c;){try{f=JSON.parse(c[1])}catch{s.error(new m(`Error parsing JSON response: "${c[1]}"`));return}s.enqueue(f),i=i.substring(c[0].length),c=i.match(tt)}return o()}).catch(r=>{let u=r;throw u.stack=r.stack,u.name==="AbortError"?u=new gt("Request aborted when reading from the stream"):u=new m("Error reading from the stream"),u})}}})}function me(t){const e=t[t.length-1],n={promptFeedback:e?.promptFeedback};for(const s of t){if(s.candidates){let i=0;for(const o of s.candidates)if(n.candidates||(n.candidates=[]),n.candidates[i]||(n.candidates[i]={index:i}),n.candidates[i].citationMetadata=o.citationMetadata,n.candidates[i].groundingMetadata=o.groundingMetadata,n.candidates[i].finishReason=o.finishReason,n.candidates[i].finishMessage=o.finishMessage,n.candidates[i].safetyRatings=o.safetyRatings,o.content&&o.content.parts){n.candidates[i].content||(n.candidates[i].content={role:o.content.role||"user",parts:[]});const r={};for(const u of o.content.parts)u.text&&(r.text=u.text),u.functionCall&&(r.functionCall=u.functionCall),u.executableCode&&(r.executableCode=u.executableCode),u.codeExecutionResult&&(r.codeExecutionResult=u.codeExecutionResult),Object.keys(r).length===0&&(r.text=""),n.candidates[i].content.parts.push(r)}i++}s.usageMetadata&&(n.usageMetadata=s.usageMetadata)}return n}async function ht(t,e,n,s){const i=await R(e,I.STREAM_GENERATE_CONTENT,t,!0,JSON.stringify(n),s);return fe(i)}async function mt(t,e,n,s){const o=await(await R(e,I.GENERATE_CONTENT,t,!1,JSON.stringify(n),s)).json();return{response:G(o)}}function Ct(t){if(t!=null){if(typeof t=="string")return{role:"system",parts:[{text:t}]};if(t.text)return{role:"system",parts:[t]};if(t.parts)return t.role?t:{role:"system",parts:t.parts}}}function A(t){let e=[];if(typeof t=="string")e=[{text:t}];else for(const n of t)typeof n=="string"?e.push({text:n}):e.push(n);return Ce(e)}function Ce(t){const e={role:"user",parts:[]},n={role:"function",parts:[]};let s=!1,i=!1;for(const o of t)"functionResponse"in o?(n.parts.push(o),i=!0):(e.parts.push(o),s=!0);if(s&&i)throw new m("Within a single message, FunctionResponse cannot be mixed with other type of part in the request for sending chat message.");if(!s&&!i)throw new m("No content is provided for sending chat message.");return s?e:n}function ye(t,e){var n;let s={model:e?.model,generationConfig:e?.generationConfig,safetySettings:e?.safetySettings,tools:e?.tools,toolConfig:e?.toolConfig,systemInstruction:e?.systemInstruction,cachedContent:(n=e?.cachedContent)===null||n===void 0?void 0:n.name,contents:[]};const i=t.generateContentRequest!=null;if(t.contents){if(i)throw new O("CountTokensRequest must have one of contents or generateContentRequest, not both.");s.contents=t.contents}else if(i)s=Object.assign(Object.assign({},s),t.generateContentRequest);else{const o=A(t);s.contents=[o]}return{generateContentRequest:s}}function et(t){let e;return t.contents?e=t:e={contents:[A(t)]},t.systemInstruction&&(e.systemInstruction=Ct(t.systemInstruction)),e}function Oe(t){return typeof t=="string"||Array.isArray(t)?{content:A(t)}:t}const nt=["text","inlineData","functionCall","functionResponse","executableCode","codeExecutionResult"],ve={user:["text","inlineData"],function:["functionResponse"],model:["text","functionCall","executableCode","codeExecutionResult"],system:["text"]};function Ie(t){let e=!1;for(const n of t){const{role:s,parts:i}=n;if(!e&&s!=="user")throw new m(`First content should be with role 'user', got ${s}`);if(!q.includes(s))throw new m(`Each item should include role field. Got ${s} but valid roles are: ${JSON.stringify(q)}`);if(!Array.isArray(i))throw new m("Content should have 'parts' property with an array of Parts");if(i.length===0)throw new m("Each Content should have at least one part");const o={text:0,inlineData:0,functionCall:0,functionResponse:0,fileData:0,executableCode:0,codeExecutionResult:0};for(const u of i)for(const c of nt)c in u&&(o[c]+=1);const r=ve[s];for(const u of nt)if(!r.includes(u)&&o[u]>0)throw new m(`Content with role '${s}' can't contain '${u}' part`);e=!0}}function st(t){var e;if(t.candidates===void 0||t.candidates.length===0)return!1;const n=(e=t.candidates[0])===null||e===void 0?void 0:e.content;if(n===void 0||n.parts===void 0||n.parts.length===0)return!1;for(const s of n.parts)if(s===void 0||Object.keys(s).length===0||s.text!==void 0&&s.text==="")return!1;return!0}const it="SILENT_ERROR";class _e{constructor(e,n,s,i={}){this.model=n,this.params=s,this._requestOptions=i,this._history=[],this._sendPromise=Promise.resolve(),this._apiKey=e,s?.history&&(Ie(s.history),this._history=s.history)}async getHistory(){return await this._sendPromise,this._history}async sendMessage(e,n={}){var s,i,o,r,u,c;await this._sendPromise;const f=A(e),g={safetySettings:(s=this.params)===null||s===void 0?void 0:s.safetySettings,generationConfig:(i=this.params)===null||i===void 0?void 0:i.generationConfig,tools:(o=this.params)===null||o===void 0?void 0:o.tools,toolConfig:(r=this.params)===null||r===void 0?void 0:r.toolConfig,systemInstruction:(u=this.params)===null||u===void 0?void 0:u.systemInstruction,cachedContent:(c=this.params)===null||c===void 0?void 0:c.cachedContent,contents:[...this._history,f]},a=Object.assign(Object.assign({},this._requestOptions),n);let l;return this._sendPromise=this._sendPromise.then(()=>mt(this._apiKey,this.model,g,a)).then(d=>{var p;if(st(d.response)){this._history.push(f);const C=Object.assign({parts:[],role:"model"},(p=d.response.candidates)===null||p===void 0?void 0:p[0].content);this._history.push(C)}else{const C=y(d.response);C&&console.warn(`sendMessage() was unsuccessful. ${C}. Inspect response object for details.`)}l=d}).catch(d=>{throw this._sendPromise=Promise.resolve(),d}),await this._sendPromise,l}async sendMessageStream(e,n={}){var s,i,o,r,u,c;await this._sendPromise;const f=A(e),g={safetySettings:(s=this.params)===null||s===void 0?void 0:s.safetySettings,generationConfig:(i=this.params)===null||i===void 0?void 0:i.generationConfig,tools:(o=this.params)===null||o===void 0?void 0:o.tools,toolConfig:(r=this.params)===null||r===void 0?void 0:r.toolConfig,systemInstruction:(u=this.params)===null||u===void 0?void 0:u.systemInstruction,cachedContent:(c=this.params)===null||c===void 0?void 0:c.cachedContent,contents:[...this._history,f]},a=Object.assign(Object.assign({},this._requestOptions),n),l=ht(this._apiKey,this.model,g,a);return this._sendPromise=this._sendPromise.then(()=>l).catch(d=>{throw new Error(it)}).then(d=>d.response).then(d=>{if(st(d)){this._history.push(f);const p=Object.assign({},d.candidates[0].content);p.role||(p.role="model"),this._history.push(p)}else{const p=y(d);p&&console.warn(`sendMessageStream() was unsuccessful. ${p}. Inspect response object for details.`)}}).catch(d=>{d.message!==it&&console.error(d)}),l}}async function Ee(t,e,n,s){return(await R(e,I.COUNT_TOKENS,t,!1,JSON.stringify(n),s)).json()}async function Te(t,e,n,s){return(await R(e,I.EMBED_CONTENT,t,!1,JSON.stringify(n),s)).json()}async function we(t,e,n,s){const i=n.requests.map(r=>Object.assign(Object.assign({},r),{model:e}));return(await R(e,I.BATCH_EMBED_CONTENTS,t,!1,JSON.stringify({requests:i}),s)).json()}class ot{constructor(e,n,s={}){this.apiKey=e,this._requestOptions=s,n.model.includes("/")?this.model=n.model:this.model=`models/${n.model}`,this.generationConfig=n.generationConfig||{},this.safetySettings=n.safetySettings||[],this.tools=n.tools,this.toolConfig=n.toolConfig,this.systemInstruction=Ct(n.systemInstruction),this.cachedContent=n.cachedContent}async generateContent(e,n={}){var s;const i=et(e),o=Object.assign(Object.assign({},this._requestOptions),n);return mt(this.apiKey,this.model,Object.assign({generationConfig:this.generationConfig,safetySettings:this.safetySettings,tools:this.tools,toolConfig:this.toolConfig,systemInstruction:this.systemInstruction,cachedContent:(s=this.cachedContent)===null||s===void 0?void 0:s.name},i),o)}async generateContentStream(e,n={}){var s;const i=et(e),o=Object.assign(Object.assign({},this._requestOptions),n);return ht(this.apiKey,this.model,Object.assign({generationConfig:this.generationConfig,safetySettings:this.safetySettings,tools:this.tools,toolConfig:this.toolConfig,systemInstruction:this.systemInstruction,cachedContent:(s=this.cachedContent)===null||s===void 0?void 0:s.name},i),o)}startChat(e){var n;return new _e(this.apiKey,this.model,Object.assign({generationConfig:this.generationConfig,safetySettings:this.safetySettings,tools:this.tools,toolConfig:this.toolConfig,systemInstruction:this.systemInstruction,cachedContent:(n=this.cachedContent)===null||n===void 0?void 0:n.name},e),this._requestOptions)}async countTokens(e,n={}){const s=ye(e,{model:this.model,generationConfig:this.generationConfig,safetySettings:this.safetySettings,tools:this.tools,toolConfig:this.toolConfig,systemInstruction:this.systemInstruction,cachedContent:this.cachedContent}),i=Object.assign(Object.assign({},this._requestOptions),n);return Ee(this.apiKey,this.model,s,i)}async embedContent(e,n={}){const s=Oe(e),i=Object.assign(Object.assign({},this._requestOptions),n);return Te(this.apiKey,this.model,s,i)}async batchEmbedContents(e,n={}){const s=Object.assign(Object.assign({},this._requestOptions),n);return we(this.apiKey,this.model,e,s)}}class M{constructor(e){this.apiKey=e}getGenerativeModel(e,n){if(!e.model)throw new m("Must provide a model name. Example: genai.getGenerativeModel({ model: 'my-model-name' })");return new ot(this.apiKey,e,n)}getGenerativeModelFromCachedContent(e,n,s){if(!e.name)throw new O("Cached content must contain a `name` field.");if(!e.model)throw new O("Cached content must contain a `model` field.");const i=["model","systemInstruction"];for(const r of i)if(n?.[r]&&e[r]&&n?.[r]!==e[r]){if(r==="model"){const u=n.model.startsWith("models/")?n.model.replace("models/",""):n.model,c=e.model.startsWith("models/")?e.model.replace("models/",""):e.model;if(u===c)continue}throw new O(`Different value for "${r}" specified in modelParams (${n[r]}) and cachedContent (${e[r]})`)}const o=Object.assign(Object.assign({},n),{model:e.model,tools:e.tools,toolConfig:e.toolConfig,systemInstruction:e.systemInstruction,cachedContent:e});return new ot(this.apiKey,o,s)}}function at(t,e){const n=Se(t),s=Re(n,e);return{tools:n,toolConfig:s}}function Se(t){let e=[];const n=[];return t.forEach(i=>{if(rt(i)){const[o]=zt([i]);o.functionDeclarations&&e.push(...o.functionDeclarations)}else if(ut(i)){const{functionDeclarations:o}=Ae(i);if(o)e.push(...o);else throw new Error("Failed to convert OpenAI structured tool to GenerativeAI tool")}else n.push(i)}),n.find(i=>"functionDeclarations"in i)?n.map(i=>{if(e?.length>0&&"functionDeclarations"in i){const o={functionDeclarations:[...i.functionDeclarations||[],...e]};return e=[],o}return i}):[...n,...e.length>0?[{functionDeclarations:e}]:[]]}function Ae(t){return{functionDeclarations:[{name:t.function.name,description:t.function.description,parameters:v(t.function.parameters)}]}}function Re(t,e){if(!t.length||!e)return;const{toolChoice:n,allowedFunctionNames:s}=e,i={any:T.ANY,auto:T.AUTO,none:T.NONE};if(n&&["any","auto","none"].includes(n))return{functionCallingConfig:{mode:i[n]??"MODE_UNSPECIFIED",allowedFunctionNames:s}};if(typeof n=="string"||s)return{functionCallingConfig:{mode:T.ANY,allowedFunctionNames:[...s??[],...n&&typeof n=="string"?[n]:[]]}}}const xe={"gemini-embedding-001":{maxInputTokens:2048,imageInputs:!1,audioInputs:!1,pdfInputs:!1,videoInputs:!1,maxOutputTokens:3072,reasoningOutput:!1,imageOutputs:!1,audioOutputs:!1,videoOutputs:!1,toolCalling:!1,structuredOutput:!1},"gemini-2.5-flash-image":{maxInputTokens:32768,imageInputs:!0,audioInputs:!1,pdfInputs:!1,videoInputs:!1,maxOutputTokens:32768,reasoningOutput:!0,imageOutputs:!0,audioOutputs:!1,videoOutputs:!1,toolCalling:!1,structuredOutput:!1},"gemini-2.5-flash-preview-05-20":{maxInputTokens:1048576,imageInputs:!0,audioInputs:!0,pdfInputs:!0,videoInputs:!0,maxOutputTokens:65536,reasoningOutput:!0,imageOutputs:!1,audioOutputs:!1,videoOutputs:!1,toolCalling:!0,structuredOutput:!0},"gemini-flash-lite-latest":{maxInputTokens:1048576,imageInputs:!0,audioInputs:!0,pdfInputs:!0,videoInputs:!0,maxOutputTokens:65536,reasoningOutput:!0,imageOutputs:!1,audioOutputs:!1,videoOutputs:!1,toolCalling:!0,structuredOutput:!0},"gemini-2.5-flash":{maxInputTokens:1048576,imageInputs:!0,audioInputs:!0,pdfInputs:!0,videoInputs:!0,maxOutputTokens:65536,reasoningOutput:!0,imageOutputs:!1,audioOutputs:!1,videoOutputs:!1,toolCalling:!0,structuredOutput:!0},"gemini-flash-latest":{maxInputTokens:1048576,imageInputs:!0,audioInputs:!0,pdfInputs:!0,videoInputs:!0,maxOutputTokens:65536,reasoningOutput:!0,imageOutputs:!1,audioOutputs:!1,videoOutputs:!1,toolCalling:!0,structuredOutput:!0},"gemini-2.5-pro-preview-05-06":{maxInputTokens:1048576,imageInputs:!0,audioInputs:!0,pdfInputs:!0,videoInputs:!0,maxOutputTokens:65536,reasoningOutput:!0,imageOutputs:!1,audioOutputs:!1,videoOutputs:!1,toolCalling:!0,structuredOutput:!0},"gemini-2.5-flash-preview-tts":{maxInputTokens:8e3,imageInputs:!1,audioInputs:!1,pdfInputs:!1,videoInputs:!1,maxOutputTokens:16e3,reasoningOutput:!1,imageOutputs:!1,audioOutputs:!0,videoOutputs:!1,toolCalling:!1,structuredOutput:!1},"gemini-2.0-flash-lite":{maxInputTokens:1048576,imageInputs:!0,audioInputs:!0,pdfInputs:!0,videoInputs:!0,maxOutputTokens:8192,reasoningOutput:!1,imageOutputs:!1,audioOutputs:!1,videoOutputs:!1,toolCalling:!0,structuredOutput:!0},"gemini-live-2.5-flash-preview-native-audio":{maxInputTokens:131072,imageInputs:!1,audioInputs:!0,pdfInputs:!1,videoInputs:!0,maxOutputTokens:65536,reasoningOutput:!0,imageOutputs:!1,audioOutputs:!0,videoOutputs:!1,toolCalling:!0,structuredOutput:!1},"gemini-2.0-flash":{maxInputTokens:1048576,imageInputs:!0,audioInputs:!0,pdfInputs:!0,videoInputs:!0,maxOutputTokens:8192,reasoningOutput:!1,imageOutputs:!1,audioOutputs:!1,videoOutputs:!1,toolCalling:!0,structuredOutput:!0},"gemini-2.5-flash-lite":{maxInputTokens:1048576,imageInputs:!0,audioInputs:!0,pdfInputs:!0,videoInputs:!0,maxOutputTokens:65536,reasoningOutput:!0,imageOutputs:!1,audioOutputs:!1,videoOutputs:!1,toolCalling:!0,structuredOutput:!0},"gemini-2.5-pro-preview-06-05":{maxInputTokens:1048576,imageInputs:!0,audioInputs:!0,pdfInputs:!0,videoInputs:!0,maxOutputTokens:65536,reasoningOutput:!0,imageOutputs:!1,audioOutputs:!1,videoOutputs:!1,toolCalling:!0,structuredOutput:!0},"gemini-live-2.5-flash":{maxInputTokens:128e3,imageInputs:!0,audioInputs:!0,pdfInputs:!1,videoInputs:!0,maxOutputTokens:8e3,reasoningOutput:!0,imageOutputs:!1,audioOutputs:!0,videoOutputs:!1,toolCalling:!0,structuredOutput:!1},"gemini-2.5-flash-lite-preview-06-17":{maxInputTokens:1048576,imageInputs:!0,audioInputs:!0,pdfInputs:!0,videoInputs:!0,maxOutputTokens:65536,reasoningOutput:!0,imageOutputs:!1,audioOutputs:!1,videoOutputs:!1,toolCalling:!0,structuredOutput:!1},"gemini-2.5-flash-image-preview":{maxInputTokens:32768,imageInputs:!0,audioInputs:!1,pdfInputs:!1,videoInputs:!1,maxOutputTokens:32768,reasoningOutput:!0,imageOutputs:!0,audioOutputs:!1,videoOutputs:!1,toolCalling:!1,structuredOutput:!1},"gemini-2.5-flash-preview-09-2025":{maxInputTokens:1048576,imageInputs:!0,audioInputs:!0,pdfInputs:!0,videoInputs:!0,maxOutputTokens:65536,reasoningOutput:!0,imageOutputs:!1,audioOutputs:!1,videoOutputs:!1,toolCalling:!0,structuredOutput:!0},"gemini-2.5-flash-preview-04-17":{maxInputTokens:1048576,imageInputs:!0,audioInputs:!0,pdfInputs:!0,videoInputs:!0,maxOutputTokens:65536,reasoningOutput:!0,imageOutputs:!1,audioOutputs:!1,videoOutputs:!1,toolCalling:!0,structuredOutput:!1},"gemini-2.5-pro-preview-tts":{maxInputTokens:8e3,imageInputs:!1,audioInputs:!1,pdfInputs:!1,videoInputs:!1,maxOutputTokens:16e3,reasoningOutput:!1,imageOutputs:!1,audioOutputs:!0,videoOutputs:!1,toolCalling:!1,structuredOutput:!1},"gemini-2.5-pro":{maxInputTokens:1048576,imageInputs:!0,audioInputs:!0,pdfInputs:!0,videoInputs:!0,maxOutputTokens:65536,reasoningOutput:!0,imageOutputs:!1,audioOutputs:!1,videoOutputs:!1,toolCalling:!0,structuredOutput:!0},"gemini-1.5-flash":{maxInputTokens:1e6,imageInputs:!0,audioInputs:!0,pdfInputs:!1,videoInputs:!0,maxOutputTokens:8192,reasoningOutput:!1,imageOutputs:!1,audioOutputs:!1,videoOutputs:!1,toolCalling:!0,structuredOutput:!1},"gemini-1.5-flash-8b":{maxInputTokens:1e6,imageInputs:!0,audioInputs:!0,pdfInputs:!1,videoInputs:!0,maxOutputTokens:8192,reasoningOutput:!1,imageOutputs:!1,audioOutputs:!1,videoOutputs:!1,toolCalling:!0,structuredOutput:!1},"gemini-2.5-flash-lite-preview-09-2025":{maxInputTokens:1048576,imageInputs:!0,audioInputs:!0,pdfInputs:!0,videoInputs:!0,maxOutputTokens:65536,reasoningOutput:!0,imageOutputs:!1,audioOutputs:!1,videoOutputs:!1,toolCalling:!0,structuredOutput:!0},"gemini-1.5-pro":{maxInputTokens:1e6,imageInputs:!0,audioInputs:!0,pdfInputs:!1,videoInputs:!0,maxOutputTokens:8192,reasoningOutput:!1,imageOutputs:!1,audioOutputs:!1,videoOutputs:!1,toolCalling:!0,structuredOutput:!1}};var ke=xe,De=class extends vt{static lc_name(){return"ChatGoogleGenerativeAI"}lc_serializable=!0;get lc_secrets(){return{apiKey:"GOOGLE_API_KEY"}}lc_namespace=["langchain","chat_models","google_genai"];get lc_aliases(){return{apiKey:"google_api_key"}}model;temperature;maxOutputTokens;topP;topK;stopSequences=[];safetySettings;apiKey;streaming=!1;json;streamUsage=!0;convertSystemMessageToHumanContent;thinkingConfig;client;get _isMultimodalModel(){return this.model.includes("vision")||this.model.startsWith("gemini-1.5")||this.model.startsWith("gemini-2")||this.model.startsWith("gemma-3-")&&!this.model.startsWith("gemma-3-1b")||this.model.startsWith("gemini-3")}constructor(t){if(super(t),this.model=t.model.replace(/^models\//,""),this.maxOutputTokens=t.maxOutputTokens??this.maxOutputTokens,this.maxOutputTokens&&this.maxOutputTokens<0)throw new Error("`maxOutputTokens` must be a positive integer");if(this.temperature=t.temperature??this.temperature,this.temperature&&(this.temperature<0||this.temperature>2))throw new Error("`temperature` must be in the range of [0.0,2.0]");if(this.topP=t.topP??this.topP,this.topP&&this.topP<0)throw new Error("`topP` must be a positive integer");if(this.topP&&this.topP>1)throw new Error("`topP` must be below 1.");if(this.topK=t.topK??this.topK,this.topK&&this.topK<0)throw new Error("`topK` must be a positive integer");if(this.stopSequences=t.stopSequences??this.stopSequences,this.apiKey=t.apiKey??dt("GOOGLE_API_KEY"),!this.apiKey)throw new Error("Please set an API key for Google GenerativeAI in the environment variable GOOGLE_API_KEY or in the `apiKey` field of the ChatGoogleGenerativeAI constructor");if(this.safetySettings=t.safetySettings??this.safetySettings,this.safetySettings&&this.safetySettings.length>0&&new Set(this.safetySettings.map(n=>n.category)).size!==this.safetySettings.length)throw new Error("The categories in `safetySettings` array must be unique");this.streaming=t.streaming??this.streaming,this.json=t.json,this.thinkingConfig=t.thinkingConfig??this.thinkingConfig,this.client=new M(this.apiKey).getGenerativeModel({model:this.model,safetySettings:this.safetySettings,generationConfig:{stopSequences:this.stopSequences,maxOutputTokens:this.maxOutputTokens,temperature:this.temperature,topP:this.topP,topK:this.topK,...this.json?{responseMimeType:"application/json"}:{},...this.thinkingConfig?{thinkingConfig:this.thinkingConfig}:{}}},{apiVersion:t.apiVersion,baseUrl:t.baseUrl,customHeaders:t.customHeaders}),this.streamUsage=t.streamUsage??this.streamUsage}useCachedContent(t,e,n){this.apiKey&&(this.client=new M(this.apiKey).getGenerativeModelFromCachedContent(t,e,n))}get useSystemInstruction(){return typeof this.convertSystemMessageToHumanContent=="boolean"?!this.convertSystemMessageToHumanContent:this.computeUseSystemInstruction}get computeUseSystemInstruction(){return this.model==="gemini-1.0-pro-001"||this.model.startsWith("gemini-pro-vision")||this.model.startsWith("gemini-1.0-pro-vision")?!1:this.model!=="gemini-pro"}getLsParams(t){return{ls_provider:"google_genai",ls_model_name:this.model,ls_model_type:"chat",ls_temperature:this.client.generationConfig.temperature,ls_max_tokens:this.client.generationConfig.maxOutputTokens,ls_stop:t.stop}}_combineLLMOutput(){return[]}_llmType(){return"googlegenerativeai"}bindTools(t,e){return this.withConfig({tools:at(t)?.tools,...e})}invocationParams(t){const e=t?.tools?.length?at(t.tools,{toolChoice:t.tool_choice,allowedFunctionNames:t.allowedFunctionNames}):void 0;return t?.responseSchema?(this.client.generationConfig.responseSchema=t.responseSchema,this.client.generationConfig.responseMimeType="application/json"):(this.client.generationConfig.responseSchema=void 0,this.client.generationConfig.responseMimeType=this.json?"application/json":void 0),{...e?.tools?{tools:e.tools}:{},...e?.toolConfig?{toolConfig:e.toolConfig}:{}}}async _generate(t,e,n){e.signal?.throwIfAborted();const s=K(t,this._isMultimodalModel,this.useSystemInstruction,this.model);let i=s;if(s[0].role==="system"){const[f]=s;this.client.systemInstruction=f,i=s.slice(1)}const o=this.invocationParams(e);if(this.streaming){const f={},g=this._streamResponseChunks(t,e,n),a=[];for await(const d of g){const p=d.generationInfo?.completion??0;a[p]===void 0?a[p]=d:a[p]=a[p].concat(d)}return{generations:a.filter(d=>d!==void 0),llmOutput:{estimatedTokenUsage:f}}}const r=await this.completionWithRetry({...o,contents:i});let u;"usageMetadata"in r.response&&(u=F(r.response.usageMetadata,this.model));const c=Wt(r.response,{usageMetadata:u});return c.generations?.length>0&&await n?.handleLLMNewToken(c.generations[0]?.text??""),c}async*_streamResponseChunks(t,e,n){const s=K(t,this._isMultimodalModel,this.useSystemInstruction,this.model);let i=s;if(s[0].role==="system"){const[l]=s;this.client.systemInstruction=l,i=s.slice(1)}const r={...this.invocationParams(e),contents:i},u=await this.caller.callWithOptions({signal:e?.signal},async()=>{const{stream:l}=await this.client.generateContentStream(r,{signal:e?.signal});return l});let c,f=0,g=0,a=0;for await(const l of u){if(e.signal?.aborted)return;if("usageMetadata"in l&&l.usageMetadata!==void 0&&this.streamUsage!==!1&&e.streamUsage!==!1){c=F(l.usageMetadata,this.model);const p=l.usageMetadata.promptTokenCount??0;c.input_tokens=Math.max(0,p-f),f=p;const C=l.usageMetadata.candidatesTokenCount??0;c.output_tokens=Math.max(0,C-g),g=C;const U=l.usageMetadata.totalTokenCount??0;c.total_tokens=Math.max(0,U-a),a=U}const d=Jt(l,{usageMetadata:c});d&&(yield d,await n?.handleLLMNewToken(d.text??""))}}async completionWithRetry(t,e){return this.caller.callWithOptions({signal:e?.signal},async()=>{try{return await this.client.generateContent(t,{signal:e?.signal})}catch(n){throw n.message?.includes("400 Bad Request")&&(n.status=400),n}})}get profile(){return ke[this.model]??{}}withStructuredOutput(t,e){const n=t,s=e?.name,i=e?.method,o=e?.includeRaw;if(i==="jsonMode")throw new Error('ChatGoogleGenerativeAI only supports "jsonSchema" or "functionCalling" as a method.');let r,u;if(i==="functionCalling"){let a=s??"extract",l;if(lt(n)){const d=N(n);l=[{functionDeclarations:[{name:a,description:d.description??"A function available to call.",parameters:d}]}],u=new $({returnSingle:!0,keyName:a,zodSchema:n})}else{let d;typeof n.name=="string"&&typeof n.parameters=="object"&&n.parameters!=null?(d=n,d.parameters=v(n.parameters),a=n.name):d={name:a,description:n.description??"",parameters:v(n)},l=[{functionDeclarations:[d]}],u=new $({returnSingle:!0,keyName:a})}r=this.bindTools(l).withConfig({allowedFunctionNames:[a]})}else{const a=N(n);r=this.withConfig({responseSchema:a}),u=new It}if(!o)return r.pipe(u).withConfig({runName:"ChatGoogleGenerativeAIStructuredOutput"});const c=L.assign({parsed:(a,l)=>u.invoke(a.raw,l)}),f=L.assign({parsed:()=>null}),g=c.withFallbacks({fallbacks:[f]});return Nt.from([{raw:r},g]).withConfig({runName:"StructuredOutputRunnable"})}},Ge=class extends Mt{apiKey;modelName="embedding-001";model="embedding-001";taskType;title;stripNewLines=!0;maxBatchSize=100;client;constructor(t){if(super(t??{}),this.modelName=t?.model?.replace(/^models\//,"")??t?.modelName?.replace(/^models\//,"")??this.modelName,this.model=this.modelName,this.taskType=t?.taskType??this.taskType,this.title=t?.title??this.title,this.title&&this.taskType!=="RETRIEVAL_DOCUMENT")throw new Error("title can only be sepcified with TaskType.RETRIEVAL_DOCUMENT");if(this.apiKey=t?.apiKey??dt("GOOGLE_API_KEY"),!this.apiKey)throw new Error("Please set an API key for Google GenerativeAI in the environmentb variable GOOGLE_API_KEY or in the `apiKey` field of the GoogleGenerativeAIEmbeddings constructor");this.client=new M(this.apiKey).getGenerativeModel({model:this.model},{baseUrl:t?.baseUrl})}_convertToContent(t){return{content:{role:"user",parts:[{text:this.stripNewLines?t.replace(/\n/g," "):t}]},taskType:this.taskType,title:this.title}}async _embedQueryContent(t){const e=this._convertToContent(t);return(await this.client.embedContent(e)).embedding.values??[]}async _embedDocumentsContent(t){const e=Dt(t,this.maxBatchSize),n=e.map(o=>({requests:o.map(r=>this._convertToContent(r))}));return(await Promise.allSettled(n.map(o=>this.client.batchEmbedContents(o)))).flatMap((o,r)=>o.status==="fulfilled"?o.value.embeddings.map(u=>u.values||[]):Array(e[r].length).fill([]))}embedQuery(t){return this.caller.call(this._embedQueryContent.bind(this),t)}embedDocuments(t){return this.caller.call(this._embedDocumentsContent.bind(this),t)}};export{De as ChatGoogleGenerativeAI,Ge as GoogleGenerativeAIEmbeddings};