@inkeep/open-knowledge 0.62.0-beta.7 → 0.62.0-beta.9

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 (507) hide show
  1. package/dist/{acp-harness-probe-CVM8eJtq.mjs → acp-harness-probe-DBIIsKVz.mjs} +2 -2
  2. package/dist/cli.mjs +6 -6
  3. package/dist/constants-BXtZdqBu.mjs +2 -0
  4. package/dist/index.mjs +1 -1
  5. package/dist/init-CDqryhay.mjs +1 -0
  6. package/dist/{init-C8B6UI9S.mjs → init-PW1PHv2x.mjs} +3 -3
  7. package/dist/{launch-json-removal-D_IHezo5.mjs → launch-json-removal-tcEB2vFa.mjs} +2 -2
  8. package/dist/loader-67m9WNnP.mjs +1 -0
  9. package/dist/{loader-C6FofPdw.mjs → loader-Cg2a3fTX.mjs} +2 -2
  10. package/dist/{open-browser-CqoTUuyv.mjs → open-browser-D60Dz1iI.mjs} +2 -2
  11. package/dist/{preview-DfCA1MM8.mjs → preview-B4X8PAmW.mjs} +2 -2
  12. package/dist/preview-Cy3j_ZSG.mjs +1 -0
  13. package/dist/public/assets/{ActivityModeContent-C4HczZ00.js → ActivityModeContent-BcZPTskd.js} +1 -1
  14. package/dist/public/assets/{AgentDiffPane-CMLnHEFJ.js → AgentDiffPane-DmBwcSrx.js} +2 -2
  15. package/dist/public/assets/{AgentThreadClientBinder-Bx3htwVK.js → AgentThreadClientBinder-r_vwrkS8.js} +1 -1
  16. package/dist/public/assets/{AppMenubar-8Yu49LrI.js → AppMenubar-69TlWIQ5.js} +1 -1
  17. package/dist/public/assets/{BugReportHistory-w-gN84g9.js → BugReportHistory-BpVVcA5z.js} +1 -1
  18. package/dist/public/assets/{BugReportHistoryDialog-CpdHnITR.js → BugReportHistoryDialog-1jJf6SqH.js} +1 -1
  19. package/dist/public/assets/{CodeMirrorPropInput-9QJciX7M.js → CodeMirrorPropInput-DbtfdWI7.js} +3 -3
  20. package/dist/public/assets/{ConfigSharingInfoTooltip-Dz5-bsuu.js → ConfigSharingInfoTooltip-DBL_oQN-.js} +1 -1
  21. package/dist/public/assets/{ConsentDialogBody-BOStsOyA.js → ConsentDialogBody-BI66aSep.js} +1 -1
  22. package/dist/public/assets/{DiffView-DI7cYNCJ.js → DiffView-DHe2qKSH.js} +1 -1
  23. package/dist/public/assets/DocumentContext-Ck50-yde.js +38 -0
  24. package/dist/public/assets/{EditorModeToggle-CUthx8ij.js → EditorModeToggle-BBqYa6JE.js} +1 -1
  25. package/dist/public/assets/{EnableSyncConfirmDialog-BxFOLMEx.js → EnableSyncConfirmDialog-D2kjMUuG.js} +1 -1
  26. package/dist/public/assets/{ExcalidrawDocEditor-BCFlRC1t.js → ExcalidrawDocEditor-CQUp82Jf.js} +6 -6
  27. package/dist/public/assets/FeedbackForm-CblDDg9E.js +1 -0
  28. package/dist/public/assets/{GraphPanel-DUq-jKkt.js → GraphPanel-fkZRWaBc.js} +1 -1
  29. package/dist/public/assets/{ImportSkillDialog-BnqZ4VbK.js → ImportSkillDialog-CIkAZSMV.js} +1 -1
  30. package/dist/public/assets/{LintConfigEditor-C2t-WQnh.js → LintConfigEditor-CF-I70Tv.js} +1 -1
  31. package/dist/public/assets/{ManagedArtifactProperties-CLxTPpQi.js → ManagedArtifactProperties-46boJs1z.js} +1 -1
  32. package/dist/public/assets/ManagedArtifactProperties-DU2HSHDi.js +1 -0
  33. package/dist/public/assets/{McpConsentDialogBody-CwRVqAIu.js → McpConsentDialogBody-Br5W9Pss.js} +1 -1
  34. package/dist/public/assets/{Mermaid-DfHFZrVf.js → Mermaid-ImTX2BxI.js} +2 -2
  35. package/dist/public/assets/{MermaidDocEditor-BbnC7MJL.js → MermaidDocEditor-BLQH-UZz.js} +1 -1
  36. package/dist/public/assets/{PropertyDisplayRow-BA6SsLPG.js → PropertyDisplayRow-BJv0H_wf.js} +2 -2
  37. package/dist/public/assets/{RegisteredAgentIcon-9IP3tgIz.js → RegisteredAgentIcon-D_jDwJpu.js} +1 -1
  38. package/dist/public/assets/{ReportBugDialogBody-BbGmD7ER.js → ReportBugDialogBody-BCldEkeI.js} +1 -1
  39. package/dist/public/assets/{SchemaConfigEditor-B79QMh5X.js → SchemaConfigEditor-D9J8kIWE.js} +1 -1
  40. package/dist/public/assets/{SessionsHost-DZ7npdqD.js → SessionsHost-R7rO_QKQ.js} +2 -2
  41. package/dist/public/assets/{SettingsDialogBody-Dz9wzT-I.js → SettingsDialogBody-D1rWqQm5.js} +1 -1
  42. package/dist/public/assets/{ShareBranchSwitchDialog-C38JXddc.js → ShareBranchSwitchDialog-D3iwikBy.js} +1 -1
  43. package/dist/public/assets/{ShareReceiveDialog-D0FZrbeU.js → ShareReceiveDialog-BPmOaV0V.js} +1 -1
  44. package/dist/public/assets/{ShareReceiveMissDialog-Cs3r4uh7.js → ShareReceiveMissDialog-DDQTZofi.js} +1 -1
  45. package/dist/public/assets/{SkillCostValue-CwTtw1o3.js → SkillCostValue-B6TVsf2o.js} +1 -1
  46. package/dist/public/assets/{SkillEditBanner-VBqy0pOg.js → SkillEditBanner-B9pszjmf.js} +1 -1
  47. package/dist/public/assets/{SkillInstallMenu-CXmlnO9-.js → SkillInstallMenu-_2qgOJI6.js} +1 -1
  48. package/dist/public/assets/{SkillOriginInline-BDb1h1gU.js → SkillOriginInline-CZey0-WI.js} +1 -1
  49. package/dist/public/assets/{SkillToolbarControls-BYCxvueA.js → SkillToolbarControls-DtoRnxUD.js} +1 -1
  50. package/dist/public/assets/{SlidesToolbarControls-BMXXIwtG.js → SlidesToolbarControls-Cee-YLUn.js} +1 -1
  51. package/dist/public/assets/{SourceEditor-BNe9wG9Z.js → SourceEditor-D5lTf5Bh.js} +1 -1
  52. package/dist/public/assets/{TerminalPanel-CwBb8vt4.js → TerminalPanel-Cf-vSSrN.js} +1 -1
  53. package/dist/public/assets/{TerminalWindowApp-BNVQsUh-.js → TerminalWindowApp-Bmrytq1a.js} +1 -1
  54. package/dist/public/assets/{TextDocEditor-CNIl9Mo0.js → TextDocEditor-BDZveBXD.js} +1 -1
  55. package/dist/public/assets/{ThemePicker-Cfu6jytm.js → ThemePicker-BEO3X5aw.js} +1 -1
  56. package/dist/public/assets/{ThreadView-GQxMX41b.js → ThreadView-CLySobaJ.js} +4 -4
  57. package/dist/public/assets/{TimelineDiffPane-EntkYmHp.js → TimelineDiffPane-C3r1D2TM.js} +2 -2
  58. package/dist/public/assets/{abnfDiagram-N423BO3Z-U4VtqGBo.js → abnfDiagram-N423BO3Z-C0-CVEEO.js} +1 -1
  59. package/dist/public/assets/{agent-diff-store-Dl3GkB7F.js → agent-diff-store-DGEPOw_2.js} +1 -1
  60. package/dist/public/assets/{alert-dialog-D3_HT0Lf.js → alert-dialog-Cx4P6Ih4.js} +1 -1
  61. package/dist/public/assets/{ar-SA-G6X2FPQ2-ZIt309WY.js → ar-SA-G6X2FPQ2-DGA5H1ue.js} +1 -1
  62. package/dist/public/assets/{arc-DR7JhWzI.js → arc-C8mfZFbr.js} +1 -1
  63. package/dist/public/assets/architecture-TIHT7OUA-u5trqXy4.js +1 -0
  64. package/dist/public/assets/{architectureDiagram-T3A2C74G-tXECBSP6.js → architectureDiagram-T3A2C74G-COp-j7kB.js} +1 -1
  65. package/dist/public/assets/arrow-up-right-CXMA4cr5.js +1 -0
  66. package/dist/public/assets/{auth-state-cache-B7oYbeed.js → auth-state-cache-heN4B8MW.js} +1 -1
  67. package/dist/public/assets/{az-AZ-76LH7QW2-D1EcwuV5.js → az-AZ-76LH7QW2-C85im219.js} +1 -1
  68. package/dist/public/assets/{bg-BG-XCXSNQG7-36y3JuKX.js → bg-BG-XCXSNQG7-CUCkzmBR.js} +1 -1
  69. package/dist/public/assets/{blockDiagram-VBNYF7ZC-Lzh-maol.js → blockDiagram-VBNYF7ZC-CUYbS6hW.js} +1 -1
  70. package/dist/public/assets/{bn-BD-2XOGV67Q-DWjMyrjR.js → bn-BD-2XOGV67Q-yEzIpC1C.js} +1 -1
  71. package/dist/public/assets/{braces-CDKuh9KW.js → braces-okUwnkYm.js} +1 -1
  72. package/dist/public/assets/{bug-report-send-manager-BSnINPEa.js → bug-report-send-manager-CWQo74xi.js} +1 -1
  73. package/dist/public/assets/{c4Diagram-5PPSVZJV-Dv2DA9Ff.js → c4Diagram-5PPSVZJV-DvDulwKs.js} +1 -1
  74. package/dist/public/assets/{ca-ES-6MX7JW3Y-CP-4rxGx.js → ca-ES-6MX7JW3Y-OWyGidst.js} +1 -1
  75. package/dist/public/assets/{calendar-BfB8lsjW.js → calendar-DVeRRT6c.js} +1 -1
  76. package/dist/public/assets/{case-sensitive-BRpV9t7A.js → case-sensitive-B9mhUnHr.js} +1 -1
  77. package/dist/public/assets/channel-COcGroIe.js +1 -0
  78. package/dist/public/assets/check-Bzwwm-o4.js +1 -0
  79. package/dist/public/assets/{checkbox-DF_QVto8.js → checkbox-Bi7zk4c5.js} +1 -1
  80. package/dist/public/assets/{chevron-down-DT2zmBir.js → chevron-down-xENV92Te.js} +1 -1
  81. package/dist/public/assets/chevron-left-B1wYSm9K.js +1 -0
  82. package/dist/public/assets/chevron-right-BVvjaUfh.js +1 -0
  83. package/dist/public/assets/{chunk-2GRJ4B5K-C9V9XFHZ.js → chunk-2GRJ4B5K-DyJI2DjI.js} +1 -1
  84. package/dist/public/assets/chunk-2Q5K7J3B-BlfPP7nb.js +1 -0
  85. package/dist/public/assets/chunk-3NCLNEKW-d_v0RAnZ.js +1 -0
  86. package/dist/public/assets/{chunk-4I5QYGJK-DRvkWpJa.js → chunk-4I5QYGJK-CMhIWjZe.js} +1 -1
  87. package/dist/public/assets/{chunk-5FCAYU7R-B6wnKC5Z.js → chunk-5FCAYU7R-BMVgFCD0.js} +1 -1
  88. package/dist/public/assets/{chunk-5HE753X5-CXdQa0Iw.js → chunk-5HE753X5-B3KYB1aU.js} +1 -1
  89. package/dist/public/assets/{chunk-5JV3BV7I-5K453XCb.js → chunk-5JV3BV7I-DxS_m63V.js} +1 -1
  90. package/dist/public/assets/{chunk-5RXB4S5H-Bepujvi7.js → chunk-5RXB4S5H-DltIB3Tq.js} +1 -1
  91. package/dist/public/assets/{chunk-5TONJI2A-B7ADGJ95.js → chunk-5TONJI2A-8rr7Hm7V.js} +1 -1
  92. package/dist/public/assets/{chunk-5VM5RSS4-DJFon18P.js → chunk-5VM5RSS4-W0Hpq7PJ.js} +1 -1
  93. package/dist/public/assets/{chunk-6Q2QTUOP-uZ1QaaTd.js → chunk-6Q2QTUOP-BNJqKIB8.js} +1 -1
  94. package/dist/public/assets/{chunk-7BUUIJ7U-DEVgK4C5.js → chunk-7BUUIJ7U-CR0nXQRn.js} +1 -1
  95. package/dist/public/assets/{chunk-7Z6QIM7H-BaiL4HQb.js → chunk-7Z6QIM7H-DeOOqZeV.js} +1 -1
  96. package/dist/public/assets/{chunk-BIQX33UG-BCRpJvIo.js → chunk-BIQX33UG-EpcKIUw5.js} +1 -1
  97. package/dist/public/assets/{chunk-BO2N2NFS-BVKS5mdX.js → chunk-BO2N2NFS-CepakHPv.js} +3 -3
  98. package/dist/public/assets/{chunk-CQNSW5MT-Fea1rIgh.js → chunk-CQNSW5MT-KFmWjuaE.js} +1 -1
  99. package/dist/public/assets/{chunk-CYSBUYHQ-nUuNGvRl.js → chunk-CYSBUYHQ-BzqnFmtj.js} +1 -1
  100. package/dist/public/assets/{chunk-EIO257PC-Dbsk3Fhl.js → chunk-EIO257PC-B02-TNW8.js} +1 -1
  101. package/dist/public/assets/{chunk-EMLP6XTP-C-G-KGn9.js → chunk-EMLP6XTP-B2WwucMc.js} +1 -1
  102. package/dist/public/assets/{chunk-GF5L2VYU-bkTHrje2.js → chunk-GF5L2VYU-CxN4epH0.js} +1 -1
  103. package/dist/public/assets/{chunk-I66GZJ75-DdvvFHYK.js → chunk-I66GZJ75-CP2GhVHJ.js} +1 -1
  104. package/dist/public/assets/{chunk-J7OUQ5F2-Dkai_3ry.js → chunk-J7OUQ5F2-DB2NP1tU.js} +2 -2
  105. package/dist/public/assets/{chunk-JG7HCLWE-DuD1Q6Hl.js → chunk-JG7HCLWE-BmaBcoQT.js} +1 -1
  106. package/dist/public/assets/{chunk-JQJVKLGR-BVFBBTqn.js → chunk-JQJVKLGR-C_UEBYFh.js} +1 -1
  107. package/dist/public/assets/{chunk-JWPE2WC7-D5w3_tHx.js → chunk-JWPE2WC7-ewHjiSjT.js} +1 -1
  108. package/dist/public/assets/{chunk-K2UTITRG-CQahYOm6.js → chunk-K2UTITRG-BJBPIYUX.js} +4 -4
  109. package/dist/public/assets/{chunk-KBJHAD2P-Cu02YobZ.js → chunk-KBJHAD2P-SvZealg3.js} +1 -1
  110. package/dist/public/assets/{chunk-MOZMSUNE-BX8qCF5o.js → chunk-MOZMSUNE-BqVoeq-Z.js} +1 -1
  111. package/dist/public/assets/{chunk-NSK5VX7P-Cm6rtpZw.js → chunk-NSK5VX7P-B24wWiov.js} +1 -1
  112. package/dist/public/assets/{chunk-OSBZ3O6U-D6jJ4FxH.js → chunk-OSBZ3O6U-B-27O6Vr.js} +1 -1
  113. package/dist/public/assets/{chunk-QBLGF6JB-CDjITZxw.js → chunk-QBLGF6JB-Bhwe7R8z.js} +1 -1
  114. package/dist/public/assets/{chunk-QR6OTTB3-CdcXCJoC.js → chunk-QR6OTTB3-CPuJu4O9.js} +1 -1
  115. package/dist/public/assets/{chunk-R7FJI6CG-DfEovF_y.js → chunk-R7FJI6CG-Da8VCdQb.js} +1 -1
  116. package/dist/public/assets/{chunk-RYQCIY6F-BzaKuixW.js → chunk-RYQCIY6F-DLFjTppR.js} +1 -1
  117. package/dist/public/assets/{chunk-U6XO7XAA-C8eEqZWd.js → chunk-U6XO7XAA-o2GYyWCb.js} +1 -1
  118. package/dist/public/assets/{chunk-UBXNYLIW-tLiyG5ZI.js → chunk-UBXNYLIW-BQDXCcT8.js} +1 -1
  119. package/dist/public/assets/{chunk-W5SLKNZC-DuVZK-DG.js → chunk-W5SLKNZC-BSnYPJds.js} +1 -1
  120. package/dist/public/assets/{chunk-WRU74C26-1154g7A6.js → chunk-WRU74C26-NA2qfhE1.js} +1 -1
  121. package/dist/public/assets/chunk-XXDRQBXY-Eeo_7DB8.js +1 -0
  122. package/dist/public/assets/{chunk-YOTPTUD7-CVcdZWF6.js → chunk-YOTPTUD7-IpXTSG-1.js} +1 -1
  123. package/dist/public/assets/{chunk-ZIRB5QZD-Ce914HoD.js → chunk-ZIRB5QZD-D0iVBpjM.js} +1 -1
  124. package/dist/public/assets/{circle-alert-CuO28qX3.js → circle-alert-CKGYtHdt.js} +1 -1
  125. package/dist/public/assets/classDiagram-JCYQIIEL-D246yOIx.js +1 -0
  126. package/dist/public/assets/classDiagram-v2-OCEON4UE-DAc1VjXC.js +1 -0
  127. package/dist/public/assets/{cm-theme-CundV4JI.js → cm-theme-oWzSXbf4.js} +1 -1
  128. package/dist/public/assets/{comment-chips-Q-QmXc-P.js → comment-chips-Bd_Ee8gr.js} +1 -1
  129. package/dist/public/assets/{config-provider-B5cGmhxA.js → config-provider-DLTxAd1q.js} +3 -3
  130. package/dist/public/assets/{cose-bilkent-JH36ORCC-QecUCjuD.js → cose-bilkent-JH36ORCC-BY5w1ifg.js} +1 -1
  131. package/dist/public/assets/{cs-CZ-2BRQDIVT-DrpA4rm5.js → cs-CZ-2BRQDIVT-CNF9y8K9.js} +1 -1
  132. package/dist/public/assets/cynefin-VYW2F7L2-B4ClFxtc.js +1 -0
  133. package/dist/public/assets/{cynefinDiagram-MW4NZA55-CE9Z5Vl5.js → cynefinDiagram-MW4NZA55-BWwd5iqY.js} +1 -1
  134. package/dist/public/assets/{da-DK-5WZEPLOC-DqcVW6r2.js → da-DK-5WZEPLOC-Blia_6Ss.js} +1 -1
  135. package/dist/public/assets/{dagre-DeJVwfs5.js → dagre-CeB4vlfW.js} +1 -1
  136. package/dist/public/assets/{dagre-VZM6K2ZE-l6JbWhTm.js → dagre-VZM6K2ZE-DGZytYl_.js} +1 -1
  137. package/dist/public/assets/{de-DE-XR44H4JA-c1g3B_1W.js → de-DE-XR44H4JA-Bd8AZ_tx.js} +1 -1
  138. package/dist/public/assets/{diagram-7IWD3JNH-R_54Evc_.js → diagram-7IWD3JNH-Wf-PIi35.js} +1 -1
  139. package/dist/public/assets/{diagram-B4RE2ZJO-jRIES5QB.js → diagram-B4RE2ZJO-Dj22fEj4.js} +1 -1
  140. package/dist/public/assets/{diagram-LBJQPF4R-BcO2HjWp.js → diagram-LBJQPF4R-CR7cvSjy.js} +1 -1
  141. package/dist/public/assets/{diagram-Q27KOJAE-Cx6r8Ane.js → diagram-Q27KOJAE-mb42FRtc.js} +1 -1
  142. package/dist/public/assets/{diagram-UB23O5K3-DqfBod7o.js → diagram-UB23O5K3-CTfmgppp.js} +1 -1
  143. package/dist/public/assets/{dialog-CeTXzamA.js → dialog-CNGLHo4Y.js} +1 -1
  144. package/dist/public/assets/{dist-BDokCQTT.js → dist-B2YZK8xP.js} +1 -1
  145. package/dist/public/assets/{dist-Dln1RION.js → dist-B4pxv-md.js} +1 -1
  146. package/dist/public/assets/{dist-Dvx6OW-b.js → dist-BCas6rK-.js} +1 -1
  147. package/dist/public/assets/{dist-DDg98E5q.js → dist-BPzBqd9z.js} +1 -1
  148. package/dist/public/assets/{dist-BkdK7CJv.js → dist-CTEsrXGw.js} +1 -1
  149. package/dist/public/assets/{dist-42PGOjVE.js → dist-CXDS0Fr6.js} +1 -1
  150. package/dist/public/assets/{dist-CbJimssg.js → dist-Cexu7O7F.js} +1 -1
  151. package/dist/public/assets/{dist-CmGSr9O-.js → dist-DAUEDzd8.js} +1 -1
  152. package/dist/public/assets/{dist-ZzZDT_qa.js → dist-DEDfvxCy.js} +1 -1
  153. package/dist/public/assets/{dist-Cxi87QtK.js → dist-Dl-SDTRn.js} +1 -1
  154. package/dist/public/assets/{dist-q2W-QRsN.js → dist-Dl0XBo_3.js} +1 -1
  155. package/dist/public/assets/{dist-DpEQ7fP3.js → dist-Duv9CObB.js} +1 -1
  156. package/dist/public/assets/{dist-DoGQZx5L.js → dist-DwyWIy9f.js} +1 -1
  157. package/dist/public/assets/{dist-DfNDNysF.js → dist-Wza7qMOs.js} +1 -1
  158. package/dist/public/assets/{download-BDEHPw74.js → download-Bdmlj4Jo.js} +1 -1
  159. package/dist/public/assets/{dropdown-menu-C8skJt-Y.js → dropdown-menu-DRIarAms.js} +1 -1
  160. package/dist/public/assets/{ebnfDiagram-BXEA7PRR-Bwwa1Mdz.js → ebnfDiagram-BXEA7PRR-DC9XdFNx.js} +1 -1
  161. package/dist/public/assets/{el-GR-BZB4AONW-Cr0PFYoQ.js → el-GR-BZB4AONW-DZuHDBq1.js} +1 -1
  162. package/dist/public/assets/{en-B4ZKOASM-CzKH7tBC.js → en-B4ZKOASM-BUOAYsfW.js} +1 -1
  163. package/dist/public/assets/{erDiagram-JOGREHBK-BXsgvN7L.js → erDiagram-JOGREHBK-iWDzvS_L.js} +1 -1
  164. package/dist/public/assets/{es-ES-U4NZUMDT-C_m9ako1.js → es-ES-U4NZUMDT-3QnbX6vr.js} +1 -1
  165. package/dist/public/assets/{eu-ES-A7QVB2H4-DpGVuA_J.js → eu-ES-A7QVB2H4-C7lSeC6u.js} +1 -1
  166. package/dist/public/assets/eventmodeling-45OFAUF4-VBndQWOJ.js +1 -0
  167. package/dist/public/assets/{eye-CXNadRZD.js → eye-DIJifYDY.js} +1 -1
  168. package/dist/public/assets/{fa-IR-HGAKTJCU-PN5-EanD.js → fa-IR-HGAKTJCU-KAW5YnG_.js} +1 -1
  169. package/dist/public/assets/{fi-FI-Z5N7JZ37-DywWtEre.js → fi-FI-Z5N7JZ37-BQrcMG_0.js} +1 -1
  170. package/dist/public/assets/{field-DiGsul30.js → field-BnGNvs-N.js} +1 -1
  171. package/dist/public/assets/{file-tree-adapter-DPMZ6S3u.js → file-tree-adapter-HHvj2nNS.js} +1 -1
  172. package/dist/public/assets/flowDiagram-UKHOOZJN-DF5TWQ08.js +1 -0
  173. package/dist/public/assets/{folder-config-api-O6ouA6Kj.js → folder-config-api-B3yv7aJY.js} +1 -1
  174. package/dist/public/assets/{folder-open-Dokmmg9C.js → folder-open-5aQb9yif.js} +1 -1
  175. package/dist/public/assets/{fr-FR-RHASNOE6-d3yxt99e.js → fr-FR-RHASNOE6-Dy6kfAte.js} +1 -1
  176. package/dist/public/assets/{ganttDiagram-PKOTCBZU-DDPJ5Vmz.js → ganttDiagram-PKOTCBZU-2e3KWQ5A.js} +1 -1
  177. package/dist/public/assets/{git-branch-C3seqxdn.js → git-branch-BEl3Boky.js} +1 -1
  178. package/dist/public/assets/gitGraph-TEB2WS4Q-DHUs6vyl.js +1 -0
  179. package/dist/public/assets/{gitGraphDiagram-DS77QQ5N-DV8nqTks.js → gitGraphDiagram-DS77QQ5N-CO3DFlWl.js} +1 -1
  180. package/dist/public/assets/{gl-ES-HMX3MZ6V-DsAptsoo.js → gl-ES-HMX3MZ6V-EiPywSaa.js} +1 -1
  181. package/dist/public/assets/globals-Bg7TE4FR.css +1 -0
  182. package/dist/public/assets/{graphlib-C2ULDrd4.js → graphlib-DSwTEXpw.js} +1 -1
  183. package/dist/public/assets/{hash-CXbTGfZC.js → hash-26j3E552.js} +1 -1
  184. package/dist/public/assets/{he-IL-6SHJWFNN-Dz2rQy78.js → he-IL-6SHJWFNN-Ct4kEvR-.js} +1 -1
  185. package/dist/public/assets/{hi-IN-IWLTKZ5I-pjrFW2z9.js → hi-IN-IWLTKZ5I-Cek-mACj.js} +1 -1
  186. package/dist/public/assets/{highlighted-body-OFNGDK62-R5erL3S3.js → highlighted-body-OFNGDK62-DBvGSv5B.js} +1 -1
  187. package/dist/public/assets/{history-CPr-xzs6.js → history-BteF85_l.js} +1 -1
  188. package/dist/public/assets/{hu-HU-A5ZG7DT2-BClp1Hmx.js → hu-HU-A5ZG7DT2-B9cZ18sJ.js} +1 -1
  189. package/dist/public/assets/i18n-DEuWk-9U.js +1 -0
  190. package/dist/public/assets/{id-ID-SAP4L64H-nxQWqtlX.js → id-ID-SAP4L64H-z_imxKUa.js} +1 -1
  191. package/dist/public/assets/image-GAAHSSAO-DFv7e37S.js +1 -0
  192. package/dist/public/assets/index-CFSlZP6h.js +2098 -0
  193. package/dist/public/assets/{info-DIn-MtiX.js → info-CqQMSCez.js} +1 -1
  194. package/dist/public/assets/info-DKCQHKI2-CD6kTazz.js +1 -0
  195. package/dist/public/assets/{infoDiagram-6WML65LV-DPWJulz5.js → infoDiagram-6WML65LV-BArq_l8s.js} +1 -1
  196. package/dist/public/assets/{input-group-ChHhVUP_.js → input-group-DVpyeMx6.js} +1 -1
  197. package/dist/public/assets/{ishikawaDiagram-WSZJBQD7-DTJJS9BZ.js → ishikawaDiagram-WSZJBQD7-Cj3h357u.js} +1 -1
  198. package/dist/public/assets/{it-IT-JPQ66NNP-CMnh69L_.js → it-IT-JPQ66NNP-Bk1vs-4u.js} +1 -1
  199. package/dist/public/assets/{ja-JP-DBVTYXUO-kUpBHMVk.js → ja-JP-DBVTYXUO-DyGs37xf.js} +1 -1
  200. package/dist/public/assets/{journeyDiagram-NVQOT4AX-DSNwyC9g.js → journeyDiagram-NVQOT4AX-C-MxZYlE.js} +1 -1
  201. package/dist/public/assets/{kaa-6HZHGXH3-C33YyIjW.js → kaa-6HZHGXH3-Bw0g2ynu.js} +1 -1
  202. package/dist/public/assets/{kab-KAB-ZGHBKWFO-D3HSCwL8.js → kab-KAB-ZGHBKWFO-CTRAa943.js} +1 -1
  203. package/dist/public/assets/{kanban-definition-27J2QSJJ-B5B5rQlv.js → kanban-definition-27J2QSJJ-Dg30CEV-.js} +1 -1
  204. package/dist/public/assets/{kk-KZ-P5N5QNE5-CWaJscgE.js → kk-KZ-P5N5QNE5--rsYa4qa.js} +1 -1
  205. package/dist/public/assets/{km-KH-HSX4SM5Z-DmRVoVt9.js → km-KH-HSX4SM5Z-DQr4MQA5.js} +1 -1
  206. package/dist/public/assets/{ko-KR-MTYHY66A-DtEdWVy6.js → ko-KR-MTYHY66A-CFGQzmhC.js} +1 -1
  207. package/dist/public/assets/{ku-TR-6OUDTVRD-CdE2By-R.js → ku-TR-6OUDTVRD-5i2bTOt6.js} +1 -1
  208. package/dist/public/assets/{line-BX_DXx_6.js → line-sQdWat1D.js} +1 -1
  209. package/dist/public/assets/{linear-yKfiRb8l.js → linear-BhU5g7D6.js} +1 -1
  210. package/dist/public/assets/{lint-plugin-meta-AbruPv8_.js → lint-plugin-meta-C15NfeTq.js} +1 -1
  211. package/dist/public/assets/{list-plus-Lm4FbPM9.js → list-plus-1_iMFVqs.js} +1 -1
  212. package/dist/public/assets/local-menu-action-bus-BuSRFm5g.js +1 -0
  213. package/dist/public/assets/{lt-LT-XHIRWOB4-Dy0Um1hj.js → lt-LT-XHIRWOB4-BKb7p1JD.js} +1 -1
  214. package/dist/public/assets/{lv-LV-5QDEKY6T-F4Gqvlf2.js → lv-LV-5QDEKY6T-B4dU8plL.js} +1 -1
  215. package/dist/public/assets/{map-BQLvsZRE.js → map-DSs4OVfF.js} +1 -1
  216. package/dist/public/assets/{markdownlint-rule-browser-Cewh1U89.js → markdownlint-rule-browser-CoxOkILA.js} +1 -1
  217. package/dist/public/assets/mermaid-GHXKKRXX-Btzcf1TZ.js +1 -0
  218. package/dist/public/assets/{mermaid-parser.core-CmtFEtdo.js → mermaid-parser.core-CWNtRrX9.js} +2 -2
  219. package/dist/public/assets/{mermaid.core-W68NSbS2.js → mermaid.core-BKfDFKSP.js} +3 -3
  220. package/dist/public/assets/mermaid.core-BsJTOuVl.js +1 -0
  221. package/dist/public/assets/messages-B3aWVD-S.js +1 -0
  222. package/dist/public/assets/messages-B83G3ljc.js +1 -0
  223. package/dist/public/assets/messages-Be7jCLyD.js +1 -0
  224. package/dist/public/assets/messages-C7toDQ-d.js +1 -0
  225. package/dist/public/assets/messages-CNajBoag.js +1 -0
  226. package/dist/public/assets/messages-COqXyjq1.js +1 -0
  227. package/dist/public/assets/messages-DDVnELoa.js +1 -0
  228. package/dist/public/assets/messages-DJHXPwV_.js +1 -0
  229. package/dist/public/assets/messages-DRZl5lAj.js +1 -0
  230. package/dist/public/assets/messages-JkhxpD-b.js +1 -0
  231. package/dist/public/assets/messages-gSHTuU7C.js +1 -0
  232. package/dist/public/assets/messages-w63SLKlk.js +1 -0
  233. package/dist/public/assets/{mindmap-definition-FAOFIHXS-CJdkasm6.js → mindmap-definition-FAOFIHXS-HRlTx1-u.js} +1 -1
  234. package/dist/public/assets/minus-HJRULrSt.js +1 -0
  235. package/dist/public/assets/{miss-dialog-store-0sg4whjI.js → miss-dialog-store-CdkrAlK3.js} +1 -1
  236. package/dist/public/assets/{mr-IN-CRQNXWMA-C-rx5nCq.js → mr-IN-CRQNXWMA-d_3UP_ok.js} +1 -1
  237. package/dist/public/assets/{my-MM-5M5IBNSE-xJAdB_W6.js → my-MM-5M5IBNSE-C-tYgHss.js} +1 -1
  238. package/dist/public/assets/{navigation-targets-7Zh8Z8C0.js → navigation-targets-CMeQ2nTj.js} +1 -1
  239. package/dist/public/assets/{nb-NO-T6EIAALU-B8m3pGOf.js → nb-NO-T6EIAALU-BOHhV2mB.js} +1 -1
  240. package/dist/public/assets/{nl-NL-IS3SIHDZ-DvYXZ05s.js → nl-NL-IS3SIHDZ-9boNdlbg.js} +1 -1
  241. package/dist/public/assets/{nn-NO-6E72VCQL-Dy0PYPzE.js → nn-NO-6E72VCQL-5kGW4A5O.js} +1 -1
  242. package/dist/public/assets/note-window-mode-J_lykVfh.js +1 -0
  243. package/dist/public/assets/{now-2hoQsmwN.js → now-eUYS5OsE.js} +1 -1
  244. package/dist/public/assets/{oc-FR-POXYY2M6-DYP9IiCC.js → oc-FR-POXYY2M6-CaH7HGV-.js} +1 -1
  245. package/dist/public/assets/{ok-7HU1xjtN.js → ok-BrWqZFiT.js} +1 -1
  246. package/dist/public/assets/{open-managed-artifact-tab-CaJA1rnO.js → open-managed-artifact-tab-dBJBwk0w.js} +1 -1
  247. package/dist/public/assets/{ordinal-B960F-5k.js → ordinal-DJL8o-kw.js} +1 -1
  248. package/dist/public/assets/{pa-IN-N4M65BXN-B1BtbAQa.js → pa-IN-N4M65BXN-BJi5WsLw.js} +1 -1
  249. package/dist/public/assets/packet-7NZHBO7P-M7v9Z7hw.js +1 -0
  250. package/dist/public/assets/{panel-right-open-6pbxqqMD.js → panel-right-open-BXE3r3dB.js} +1 -1
  251. package/dist/public/assets/{paperclip-C6Bt4Kir.js → paperclip-C-okgtwN.js} +1 -1
  252. package/dist/public/assets/{pegDiagram-VL7TDLO6-DmyKkWD-.js → pegDiagram-VL7TDLO6-CR3sxlpW.js} +1 -1
  253. package/dist/public/assets/{pending-receive-nav-store-x4DbmFsQ.js → pending-receive-nav-store-UxCZZqPo.js} +1 -1
  254. package/dist/public/assets/percentages-BXMCSKIN-BeqO-ouV.js +1 -0
  255. package/dist/public/assets/pie-RZYD4A2V-DE_3nmDK.js +1 -0
  256. package/dist/public/assets/{pieDiagram-7S7Q4E2Y-DbB4HZ75.js → pieDiagram-7S7Q4E2Y-BAVndMcp.js} +1 -1
  257. package/dist/public/assets/{pl-PL-T2D74RX3-DXltPfSJ.js → pl-PL-T2D74RX3-DvSVV2Sk.js} +1 -1
  258. package/dist/public/assets/{progress-D3L2XDbB.js → progress-CopfQaC8.js} +4 -4
  259. package/dist/public/assets/{project-paths-Be5oNlgO.js → project-paths-DQt8hUFo.js} +1 -1
  260. package/dist/public/assets/{prop-types-Cr4yQqrn.js → prop-types-Dw4i5Pzf.js} +1 -1
  261. package/dist/public/assets/{pt-BR-5N22H2LF-BBI_kUdv.js → pt-BR-5N22H2LF-WJq2YbBU.js} +1 -1
  262. package/dist/public/assets/{pt-PT-UZXXM6DQ-uqy0GUTk.js → pt-PT-UZXXM6DQ-C0Duvhw3.js} +1 -1
  263. package/dist/public/assets/{quadrantDiagram-CIZ2JOQS-BjHQcxZ0.js → quadrantDiagram-CIZ2JOQS-DQWmMrHu.js} +1 -1
  264. package/dist/public/assets/radar-I7S5WNFK-DrAAUcJY.js +1 -0
  265. package/dist/public/assets/railroad-3IZDKUUU-vTdwvGMP.js +1 -0
  266. package/dist/public/assets/railroad-abnf-AHOZXSZD-B7GLAnKx.js +1 -0
  267. package/dist/public/assets/railroad-ebnf-EBAXGLYW-D7lc0lJR.js +1 -0
  268. package/dist/public/assets/railroad-peg-LSFZ7HO6-CoUx7wsD.js +1 -0
  269. package/dist/public/assets/{railroadDiagram-AXF67PYL-CWE-Lz8D.js → railroadDiagram-AXF67PYL-C0qhLv0B.js} +1 -1
  270. package/dist/public/assets/{refresh-cw-CMZXURW4.js → refresh-cw-D41gUk_B.js} +1 -1
  271. package/dist/public/assets/{requirementDiagram-LRYGKXZP-DVzRPfG6.js → requirementDiagram-LRYGKXZP-DmWo_VQm.js} +1 -1
  272. package/dist/public/assets/{ro-RO-JPDTUUEW-CwSumY42.js → ro-RO-JPDTUUEW-DD9cyVdC.js} +1 -1
  273. package/dist/public/assets/{ru-RU-B4JR7IUQ-LzvboDA-.js → ru-RU-B4JR7IUQ-5_52Q_Wb.js} +1 -1
  274. package/dist/public/assets/{sankeyDiagram-W5VNT64P-BvGHv_UD.js → sankeyDiagram-W5VNT64P-J5Gp9uyi.js} +1 -1
  275. package/dist/public/assets/{select-CErmRiOd.js → select-fWSYgcDA.js} +1 -1
  276. package/dist/public/assets/{selection-context-h2w9at77.js → selection-context-DGXxWyI6.js} +1 -1
  277. package/dist/public/assets/{separator-DcX0NiAC.js → separator-BmK42_9U.js} +1 -1
  278. package/dist/public/assets/{sequenceDiagram-SI44F4Z6-Ckszb4Mj.js → sequenceDiagram-SI44F4Z6-i_6ZSjfE.js} +1 -1
  279. package/dist/public/assets/{si-LK-N5RQ5JYF-C5hILlvg.js → si-LK-N5RQ5JYF-BTPhhyie.js} +1 -1
  280. package/dist/public/assets/{sizeCapture-X5ZJPWSS-BDI5VFzx.js → sizeCapture-X5ZJPWSS-C9mDWIT_.js} +1 -1
  281. package/dist/public/assets/{sk-SK-C5VTKIMK-CCvKNdO-.js → sk-SK-C5VTKIMK-DD9NSv5S.js} +1 -1
  282. package/dist/public/assets/{skill-actions-4kc4-QY2.js → skill-actions-BPZhgTVv.js} +1 -1
  283. package/dist/public/assets/{skills-api-BBFYlIZX.js → skills-api-C_StP2ff.js} +1 -1
  284. package/dist/public/assets/{sl-SI-NN7IZMDC-BfnXOjuK.js → sl-SI-NN7IZMDC-DtxXdh0P.js} +1 -1
  285. package/dist/public/assets/{spinner-BfQfD3gf.js → spinner-DmibE6UV.js} +1 -1
  286. package/dist/public/assets/{square-pen-zbdpw5xR.js → square-pen-BlKNuUz7.js} +1 -1
  287. package/dist/public/assets/{src-Bomqtc9K.js → src-7pHDfMXy.js} +1 -1
  288. package/dist/public/assets/{src-D_jMrcY1.js → src-JLkedlZ8.js} +1 -1
  289. package/dist/public/assets/{stateDiagram-OKZ733FA-Bm4P0e_g.js → stateDiagram-OKZ733FA-b-4BGE9-.js} +1 -1
  290. package/dist/public/assets/stateDiagram-v2-UEYNNEHI-BkSmZC_p.js +1 -0
  291. package/dist/public/assets/subset-shared.chunk-BuBNd2H_.js +1 -0
  292. package/dist/public/assets/{subset-worker.chunk-DiIFi44a.js → subset-worker.chunk-PNot6qJM.js} +1 -1
  293. package/dist/public/assets/{sv-SE-XGPEYMSR-DU96U1G3.js → sv-SE-XGPEYMSR-BrLrPOqK.js} +1 -1
  294. package/dist/public/assets/{swimlanes-SLNWSIFB-iiVbZ3fC.js → swimlanes-SLNWSIFB-Czms9qC3.js} +2 -2
  295. package/dist/public/assets/swimlanesDiagram-ULZ7WXOC-C3GKm4s9.js +8 -0
  296. package/dist/public/assets/{ta-IN-2NMHFXQM-CQIbY_GB.js → ta-IN-2NMHFXQM-DwD_dVRw.js} +1 -1
  297. package/dist/public/assets/{tag-pill-input-DgUotlo1.js → tag-pill-input-DOK3Iwu7.js} +1 -1
  298. package/dist/public/assets/{target-navigation-intent-C2bzkG7y.js → target-navigation-intent-iE_o5AFg.js} +1 -1
  299. package/dist/public/assets/{telemetry-impl-Cj_q40Ol.js → telemetry-impl-JfG1C4Ii.js} +2 -2
  300. package/dist/public/assets/{telemetry-startup-DjnediLY.js → telemetry-startup-ukYaFMYg.js} +1 -1
  301. package/dist/public/assets/terminal-CmHqE3At.js +1 -0
  302. package/dist/public/assets/{terminal-cli-display-B0Y1q_3_.js → terminal-cli-display-BZQS2rOc.js} +1 -1
  303. package/dist/public/assets/{terminal-launch-events-D6d5Ges-.js → terminal-launch-events-DT_27wCG.js} +1 -1
  304. package/dist/public/assets/{terminal-telemetry-cuRPHPUa.js → terminal-telemetry-Zge_t1pH.js} +1 -1
  305. package/dist/public/assets/{text-viewer-languages-8mK7FOb6.js → text-viewer-languages-B-QzK84i.js} +2 -2
  306. package/dist/public/assets/{th-TH-HPSO5L25-CV6CDLuR.js → th-TH-HPSO5L25-CQ4NNj8w.js} +1 -1
  307. package/dist/public/assets/{timeline-definition-Z64GVDOM-CrQPhNwW.js → timeline-definition-Z64GVDOM-B5lIWea4.js} +1 -1
  308. package/dist/public/assets/{tr-TR-DEFEU3FU-C6Aa1Flg.js → tr-TR-DEFEU3FU-B83CxqxO.js} +1 -1
  309. package/dist/public/assets/{trash-2-DfA0xAM7.js → trash-2-BVoWHmfV.js} +1 -1
  310. package/dist/public/assets/treeView-QDETBFTQ-oKtO3_NQ.js +1 -0
  311. package/dist/public/assets/treemap-6X3UGDF4-i-sAzsOy.js +1 -0
  312. package/dist/public/assets/{triangle-alert-LClCSvEK.js → triangle-alert-CJVfCxE0.js} +1 -1
  313. package/dist/public/assets/typing-burst-detector-C7BoCgKx.js +8 -0
  314. package/dist/public/assets/{uk-UA-QMV73CPH-OWyPSQfb.js → uk-UA-QMV73CPH-Dv-8Anmo.js} +1 -1
  315. package/dist/public/assets/{undo-2-D0RXWwCv.js → undo-2-CXHp9Ngg.js} +1 -1
  316. package/dist/public/assets/{uninstall-e5mr-v84.js → uninstall-Dcb_Lsmn.js} +1 -1
  317. package/dist/public/assets/{use-activity-panel-42TSf0b4.js → use-activity-panel-BBVDhVwA.js} +1 -1
  318. package/dist/public/assets/{use-apply-config-color-theme-_e_6wswh.js → use-apply-config-color-theme-C0gjDHWs.js} +1 -1
  319. package/dist/public/assets/{use-live-xterm-theme-DttIXtHR.js → use-live-xterm-theme-DRqvSsHA.js} +1 -1
  320. package/dist/public/assets/{use-open-skill-BA0dark2.js → use-open-skill-DJbuKFkN.js} +1 -1
  321. package/dist/public/assets/{use-popular-skills-DvnTYBwL.js → use-popular-skills-B4f2Q6xQ.js} +1 -1
  322. package/dist/public/assets/{use-skill-origin-CbxA-zVs.js → use-skill-origin-DX_4jInC.js} +1 -1
  323. package/dist/public/assets/{use-terminal-enabled-DwfFJKIS.js → use-terminal-enabled-CT_mZgaI.js} +1 -1
  324. package/dist/public/assets/{use-timeline-entry-diff-ugv5__aD.js → use-timeline-entry-diff-CVCEa59v.js} +2 -2
  325. package/dist/public/assets/{vennDiagram-T6HMQDX7-DUxH4wy8.js → vennDiagram-T6HMQDX7-VmF9ZBTb.js} +1 -1
  326. package/dist/public/assets/{vi-VN-M7AON7JQ-MVSUDlZy.js → vi-VN-M7AON7JQ-B2DkADMO.js} +1 -1
  327. package/dist/public/assets/wardley-OPB4EBWU-Cw7yLxju.js +1 -0
  328. package/dist/public/assets/{wardleyDiagram-T6FBY63Y-CRduVCHa.js → wardleyDiagram-T6FBY63Y-CtNP6mmF.js} +1 -1
  329. package/dist/public/assets/{wrench-Bx808FyC.js → wrench-JX3g_hHJ.js} +1 -1
  330. package/dist/public/assets/x-wQUDJS55.js +1 -0
  331. package/dist/public/assets/{xychartDiagram-ELKLHX3M-ayUwPHsi.js → xychartDiagram-ELKLHX3M-BAHa9UcP.js} +1 -1
  332. package/dist/public/assets/{zh-CN-LNUGB5OW-D4zkPVC6.js → zh-CN-LNUGB5OW-DrO9Lxyg.js} +1 -1
  333. package/dist/public/assets/{zh-HK-E62DVLB3-Dy7q7eJs.js → zh-HK-E62DVLB3-Bmric47w.js} +1 -1
  334. package/dist/public/assets/{zh-TW-RAJ6MFWO-CPtRFViX.js → zh-TW-RAJ6MFWO-B4U0Q706.js} +1 -1
  335. package/dist/public/index.html +135 -134
  336. package/dist/public/uninstall.html +13 -13
  337. package/dist/{repair-launch-json-DF9ENtcc.mjs → repair-launch-json-MRFbgFDR.mjs} +2 -2
  338. package/dist/{repair-mcp-configs-7mR1x_gG.mjs → repair-mcp-configs-YzmkgoIk.mjs} +2 -2
  339. package/dist/{repair-skills-D26UpUq7.mjs → repair-skills-C5NbMYuU.mjs} +2 -2
  340. package/dist/repair-skills-DycFH6DB.mjs +1 -0
  341. package/dist/{resolve-project-root-C94rZ_5O.mjs → resolve-project-root-XuKmxBzQ.mjs} +2 -2
  342. package/dist/{skill-teardown-CbmpKJso.mjs → skill-teardown-Dp8qru7m.mjs} +2 -2
  343. package/dist/{src-BHDHmhMl.mjs → src-32lVY8sD.mjs} +2 -2
  344. package/dist/src-BTKQ464e.mjs +1 -0
  345. package/dist/{src-BqEF6smt.mjs → src-DQ3dkBL8.mjs} +1 -1
  346. package/dist/{src-CngO3W4j.mjs → src-H5bQHekD.mjs} +2 -2
  347. package/dist/start-B6aZOT-d.mjs +1 -0
  348. package/dist/{start-C3YGfc7d.mjs → start-d7sxUrTf.mjs} +3 -3
  349. package/package.json +4 -4
  350. package/dist/constants--qal1Ck2.mjs +0 -2
  351. package/dist/init-DKbUgSBT.mjs +0 -1
  352. package/dist/loader-DYh9HsDZ.mjs +0 -1
  353. package/dist/preview-D62yELdV.mjs +0 -1
  354. package/dist/public/assets/DocumentContext-Dno1hL8m.js +0 -38
  355. package/dist/public/assets/FeedbackForm-CYYffQty.js +0 -1
  356. package/dist/public/assets/ManagedArtifactProperties-DVu1drYh.js +0 -1
  357. package/dist/public/assets/architecture-TIHT7OUA-BkasmReP.js +0 -1
  358. package/dist/public/assets/arrow-up-right-BD5rQrDA.js +0 -1
  359. package/dist/public/assets/channel-DkPHFN0f.js +0 -1
  360. package/dist/public/assets/check-DDzb-wrU.js +0 -1
  361. package/dist/public/assets/chevron-left-7MFpt77_.js +0 -1
  362. package/dist/public/assets/chevron-right-D8IV-Ph_.js +0 -1
  363. package/dist/public/assets/chunk-2Q5K7J3B-Cfjqtkxz.js +0 -1
  364. package/dist/public/assets/chunk-3NCLNEKW-BYKJOcB6.js +0 -1
  365. package/dist/public/assets/chunk-XXDRQBXY-Bwmq4E1Q.js +0 -1
  366. package/dist/public/assets/classDiagram-JCYQIIEL-ZJNQWqPL.js +0 -1
  367. package/dist/public/assets/classDiagram-v2-OCEON4UE-BVcoIlfv.js +0 -1
  368. package/dist/public/assets/cynefin-VYW2F7L2-DvYWJxyz.js +0 -1
  369. package/dist/public/assets/eventmodeling-45OFAUF4-BIYIStQq.js +0 -1
  370. package/dist/public/assets/flowDiagram-UKHOOZJN-C7BD5YvS.js +0 -1
  371. package/dist/public/assets/gitGraph-TEB2WS4Q-Dj42vABH.js +0 -1
  372. package/dist/public/assets/globals-C8zrBTBL.css +0 -1
  373. package/dist/public/assets/i18n-_vkpWTPD.js +0 -1
  374. package/dist/public/assets/image-GAAHSSAO-DbE8jeIe.js +0 -1
  375. package/dist/public/assets/index-CkJYCHla.js +0 -2098
  376. package/dist/public/assets/info-DKCQHKI2-DoDfw9x-.js +0 -1
  377. package/dist/public/assets/local-menu-action-bus-IjTSMx8U.js +0 -1
  378. package/dist/public/assets/mermaid-GHXKKRXX-D2pBG5L4.js +0 -1
  379. package/dist/public/assets/mermaid.core-DNpF2SSh.js +0 -1
  380. package/dist/public/assets/messages-BkL6oWHg.js +0 -1
  381. package/dist/public/assets/messages-C3xDNJLe.js +0 -1
  382. package/dist/public/assets/messages-CGqWrXZK.js +0 -1
  383. package/dist/public/assets/messages-CGw43ytR.js +0 -1
  384. package/dist/public/assets/messages-CJdQEZYP.js +0 -1
  385. package/dist/public/assets/messages-COuGBUFr.js +0 -1
  386. package/dist/public/assets/messages-CSJ16uA9.js +0 -1
  387. package/dist/public/assets/messages-CZa_BmA2.js +0 -1
  388. package/dist/public/assets/messages-Cgi0xg9T.js +0 -1
  389. package/dist/public/assets/messages-CtlqcdTj.js +0 -1
  390. package/dist/public/assets/messages-YHyKhEK1.js +0 -1
  391. package/dist/public/assets/messages-fJqQmhka.js +0 -1
  392. package/dist/public/assets/minus-zMlnd3qf.js +0 -1
  393. package/dist/public/assets/packet-7NZHBO7P-COfpr2CC.js +0 -1
  394. package/dist/public/assets/percentages-BXMCSKIN-BA4UETkp.js +0 -1
  395. package/dist/public/assets/pie-RZYD4A2V-DNxV-985.js +0 -1
  396. package/dist/public/assets/radar-I7S5WNFK-StB9djRh.js +0 -1
  397. package/dist/public/assets/railroad-3IZDKUUU-COWcqbx-.js +0 -1
  398. package/dist/public/assets/railroad-abnf-AHOZXSZD-Cwi_YybN.js +0 -1
  399. package/dist/public/assets/railroad-ebnf-EBAXGLYW-BSovpXBC.js +0 -1
  400. package/dist/public/assets/railroad-peg-LSFZ7HO6-6Vmqt7TP.js +0 -1
  401. package/dist/public/assets/stateDiagram-v2-UEYNNEHI-D9_hTyIp.js +0 -1
  402. package/dist/public/assets/subset-shared.chunk-DCJmH73z.js +0 -1
  403. package/dist/public/assets/swimlanesDiagram-ULZ7WXOC-Hd_RccsN.js +0 -8
  404. package/dist/public/assets/terminal-4WK7jXvy.js +0 -1
  405. package/dist/public/assets/treeView-QDETBFTQ-BXlsBdsv.js +0 -1
  406. package/dist/public/assets/treemap-6X3UGDF4-Mb_AKp2H.js +0 -1
  407. package/dist/public/assets/typing-burst-detector-DaYSUVLs.js +0 -8
  408. package/dist/public/assets/wardley-OPB4EBWU-dqbQrHpX.js +0 -1
  409. package/dist/public/assets/x-C1LzPj_K.js +0 -1
  410. package/dist/repair-skills-BxzzWVm-.mjs +0 -1
  411. package/dist/src-FAWejQRG.mjs +0 -1
  412. package/dist/start-JWjnppxS.mjs +0 -1
  413. /package/dist/public/assets/{ActivityPanelDiffView-DLT5va9k.js → ActivityPanelDiffView-CgaFZtD7.js} +0 -0
  414. /package/dist/public/assets/{SkillModeBanner-Cfij5biF.js → SkillModeBanner-BRFTW7Zd.js} +0 -0
  415. /package/dist/public/assets/{__vite-browser-external-BpzCr_ou.js → __vite-browser-external-Ci1NQTFf.js} +0 -0
  416. /package/dist/public/assets/{agent-presence-3JajMNAq.js → agent-presence-B4IC4MV9.js} +0 -0
  417. /package/dist/public/assets/{app-menubar-gate-q1nJIutw.js → app-menubar-gate-Dyq1r1xM.js} +0 -0
  418. /package/dist/public/assets/{array-DO4pDyQ7.js → array-Ca_7zfOn.js} +0 -0
  419. /package/dist/public/assets/{asset-dispatch-BffGDRYN.js → asset-dispatch-BxzFY-y9.js} +0 -0
  420. /package/dist/public/assets/{auth-prompt-store-BXeyTyYx.js → auth-prompt-store-vAFATIFt.js} +0 -0
  421. /package/dist/public/assets/{badge-Bb7mpvxU.js → badge-D819pOsZ.js} +0 -0
  422. /package/dist/public/assets/{chunk-6U3AYISY-fX1E_nk2.js → chunk-6U3AYISY-C-nplzwN.js} +0 -0
  423. /package/dist/public/assets/{chunk-KEIR6QF5-d8CrmuEd.js → chunk-KEIR6QF5-Daj3WZbR.js} +0 -0
  424. /package/dist/public/assets/{chunk-SRAX5OIU-B7dPnL12.js → chunk-SRAX5OIU-BEvWJO3c.js} +0 -0
  425. /package/dist/public/assets/{chunk-Y2CYZVJY-aWKxesFC.js → chunk-Y2CYZVJY-B1lUkic5.js} +0 -0
  426. /package/dist/public/assets/{chunk-Z3N5DIM6-CNpC45dc.js → chunk-Z3N5DIM6-2xVL_dId.js} +0 -0
  427. /package/dist/public/assets/{chunk-ZUYEQ4TG-Z9Kr3Qsb.js → chunk-ZUYEQ4TG-CQSwzpWR.js} +0 -0
  428. /package/dist/public/assets/{client-version-DUlRRRQd.js → client-version-DD4hGHyX.js} +0 -0
  429. /package/dist/public/assets/{clike-BqTLk6V7.js → clike-Ch26Qmt5.js} +0 -0
  430. /package/dist/public/assets/{code-highlighter-impl-CqBvFNiv.js → code-highlighter-impl-Cd7bLu8y.js} +0 -0
  431. /package/dist/public/assets/{colors-B42OMeyx.js → colors-6O6-4xPx.js} +0 -0
  432. /package/dist/public/assets/{copilot-BvcrBiQu.js → copilot-DMpTxujg.js} +0 -0
  433. /package/dist/public/assets/{createLucideIcon-IawHI4re.js → createLucideIcon-CAkY8Blx.js} +0 -0
  434. /package/dist/public/assets/{cursor-Dy0g2caC.js → cursor-2VSK5BUh.js} +0 -0
  435. /package/dist/public/assets/{cytoscape.esm-Dt8Ta-P6.js → cytoscape.esm-CyF35CGq.js} +0 -0
  436. /package/dist/public/assets/{defaultLocale-DxxsZVg9.js → defaultLocale-D6pwJDcg.js} +0 -0
  437. /package/dist/public/assets/{diff-u5V_A1YB.js → diff-BTDLDmWn.js} +0 -0
  438. /package/dist/public/assets/{directory-open-01563666-D2UlJbzy.js → directory-open-01563666-D5XpOJpI.js} +0 -0
  439. /package/dist/public/assets/{directory-open-4ed118d0-z5A7ul2e.js → directory-open-4ed118d0-Cjiog95W.js} +0 -0
  440. /package/dist/public/assets/{dist-CcrUlXUT.js → dist-BwWNYdG0.js} +0 -0
  441. /package/dist/public/assets/{dist-N46tlm2r.js → dist-CB9JlP8s.js} +0 -0
  442. /package/dist/public/assets/{dist-BL2TNIf3.js → dist-C_x1-g67.js} +0 -0
  443. /package/dist/public/assets/{doc-paths-B46e6DrG.js → doc-paths-vtzfxIAt.js} +0 -0
  444. /package/dist/public/assets/{documents-fetch-DMG54QRV.js → documents-fetch-DV1xQi4Z.js} +0 -0
  445. /package/dist/public/assets/{external-link-CxH7AG7J.js → external-link-CIs3ZL0b.js} +0 -0
  446. /package/dist/public/assets/{file-open-002ab408-s_iGAIkJ.js → file-open-002ab408-BMfHnumz.js} +0 -0
  447. /package/dist/public/assets/{file-open-7c801643-DWbyXRKQ.js → file-open-7c801643-CPvJ2Lhu.js} +0 -0
  448. /package/dist/public/assets/{file-save-3189631c-DutIwO69.js → file-save-3189631c-xXr-Dk51.js} +0 -0
  449. /package/dist/public/assets/{file-save-745eba88-Cx1iaxYt.js → file-save-745eba88-DC5dodNM.js} +0 -0
  450. /package/dist/public/assets/{file-tree-rename-validation-MFhw33W7.js → file-tree-rename-validation-C44g0J2h.js} +0 -0
  451. /package/dist/public/assets/{file-tree-utils-F_HG4irq.js → file-tree-utils-D-D8igMV.js} +0 -0
  452. /package/dist/public/assets/{form-BZhYIbqM.js → form-L2L52iP2.js} +0 -0
  453. /package/dist/public/assets/{format-CWkG0foI.js → format-CyaLi0or.js} +0 -0
  454. /package/dist/public/assets/{gherkin-niswLhWK.js → gherkin-CypeqsOw.js} +0 -0
  455. /package/dist/public/assets/{globals-C5voaRc5.js → globals-Dad_9qHk.js} +0 -0
  456. /package/dist/public/assets/{go-DCCgKbjt.js → go-Bcb7Hfa3.js} +0 -0
  457. /package/dist/public/assets/{image-blob-reduce.esm-B6IJSUv2.js → image-blob-reduce.esm-DkbZiW0z.js} +0 -0
  458. /package/dist/public/assets/{init-BBWGEIrH.js → init-X_ANAGxw.js} +0 -0
  459. /package/dist/public/assets/{input-I1Mvaow8.js → input-a0WHtxX3.js} +0 -0
  460. /package/dist/public/assets/{isObject-DZ5_pJVn.js → isObject-2-KdVTyV.js} +0 -0
  461. /package/dist/public/assets/{known-skill-dirs-BXzevfAU.js → known-skill-dirs-BtyBErKU.js} +0 -0
  462. /package/dist/public/assets/{libesm-B7m5uxaw.js → libesm-mBLacfDP.js} +0 -0
  463. /package/dist/public/assets/{lint-config-client-CT8cGnaJ.js → lint-config-client-CTfcCpXV.js} +0 -0
  464. /package/dist/public/assets/{lru-string-cache-CEQLtS-9.js → lru-string-cache-Cc7rikda.js} +0 -0
  465. /package/dist/public/assets/{lua-B35xytUy.js → lua-0ClDTGlq.js} +0 -0
  466. /package/dist/public/assets/{min-Blkp6AN9.js → min-B6fjqEav.js} +0 -0
  467. /package/dist/public/assets/{panel-Do94xfkL.js → panel-DNPki55m.js} +0 -0
  468. /package/dist/public/assets/{panzoom.es-DbKxxf0L.js → panzoom.es-DNGwWbz6.js} +0 -0
  469. /package/dist/public/assets/{parse-api-error-RlJ5hnUA.js → parse-api-error-DcnXKbfT.js} +0 -0
  470. /package/dist/public/assets/{path-DB0YkgfR.js → path-xSBrNHof.js} +0 -0
  471. /package/dist/public/assets/{pdf-D1gEirhR.js → pdf-BqNVNwcr.js} +0 -0
  472. /package/dist/public/assets/{pdf.worker-DRJtDPZ7.js → pdf.worker-DW3F2B7X.js} +0 -0
  473. /package/dist/public/assets/{perl-CDTo2iyq.js → perl-CRAPUgGj.js} +0 -0
  474. /package/dist/public/assets/{pica-iMpjNb-X.js → pica-DfYs9nh_.js} +0 -0
  475. /package/dist/public/assets/{platform-labels-a3gk_AS8.js → platform-labels-ePF0gcem.js} +0 -0
  476. /package/dist/public/assets/{popover-Rvl_AsUU.js → popover-MKPgXNPk.js} +0 -0
  477. /package/dist/public/assets/{properties-DXEYJi9Y.js → properties-DsCKpj9y.js} +0 -0
  478. /package/dist/public/assets/{r-CGovMm-H.js → r-DKk4sl64.js} +0 -0
  479. /package/dist/public/assets/{receive-store-4-vLF9qh.js → receive-store-cbtGGZ9i.js} +0 -0
  480. /package/dist/public/assets/{rough.esm-Bc6MybHM.js → rough.esm-B3SH-vza.js} +0 -0
  481. /package/dist/public/assets/{roundRect-DjKj_8gM.js → roundRect-c37gVikV.js} +0 -0
  482. /package/dist/public/assets/{ruby-BzUaAyZc.js → ruby-De3HsNyr.js} +0 -0
  483. /package/dist/public/assets/{schema-fields-view-intent-D5671sPh.js → schema-fields-view-intent-DCUTojNw.js} +0 -0
  484. /package/dist/public/assets/{share-metadata-rows-CSTN28dW.js → share-metadata-rows-JAHDqWDY.js} +0 -0
  485. /package/dist/public/assets/{shell-_Pg8lfKe.js → shell-Co7K0fwY.js} +0 -0
  486. /package/dist/public/assets/{skeleton-DIxLroLR.js → skeleton-BZIHOzZH.js} +0 -0
  487. /package/dist/public/assets/{skill-scope-Br49HHiF.js → skill-scope-C0mo2HZh.js} +0 -0
  488. /package/dist/public/assets/{sortable.esm-DVUoPZjJ.js → sortable.esm-DK-jMveF.js} +0 -0
  489. /package/dist/public/assets/{sql-C0-EXPZB.js → sql-CSeQm6MO.js} +0 -0
  490. /package/dist/public/assets/{src-DG1oemu2.js → src-we-4-j9S.js} +0 -0
  491. /package/dist/public/assets/{startup-marks-CzkHuO_z.js → startup-marks-Br1wFcMD.js} +0 -0
  492. /package/dist/public/assets/{stex-D2L90EPe.js → stex-Ctq_QO83.js} +0 -0
  493. /package/dist/public/assets/{swift-C7F0BgoI.js → swift-Cw9hIozN.js} +0 -0
  494. /package/dist/public/assets/{tabs-r9BJxNSQ.js → tabs-C_h0VJ9w.js} +0 -0
  495. /package/dist/public/assets/{terminal-command-events-CaYhHIDg.js → terminal-command-events-z-N381nZ.js} +0 -0
  496. /package/dist/public/assets/{textarea-BtqZ3yY1.js → textarea-BoMa_3jF.js} +0 -0
  497. /package/dist/public/assets/{thread-client-Ox08BqB2.js → thread-client-wO3wM3Uc.js} +0 -0
  498. /package/dist/public/assets/{thread-draft-staging-D-3dp2ov.js → thread-draft-staging-BHVsJW6S.js} +0 -0
  499. /package/dist/public/assets/{timeline-diff-store-BaXPeva3.js → timeline-diff-store-ym5Oz1UF.js} +0 -0
  500. /package/dist/public/assets/{toml-CnVMEKmL.js → toml-SYtR-303.js} +0 -0
  501. /package/dist/public/assets/{tool-list-format-BjLHl4sC.js → tool-list-format-D9WYxB73.js} +0 -0
  502. /package/dist/public/assets/{use-apply-config-theme-yjXI2GwT.js → use-apply-config-theme-B1eLRQeV.js} +0 -0
  503. /package/dist/public/assets/{use-collab-url-BiI6d8qv.js → use-collab-url-BBo_k1TT.js} +0 -0
  504. /package/dist/public/assets/{use-installed-clis-vg6izNL9.js → use-installed-clis-t29XGX_x.js} +0 -0
  505. /package/dist/public/assets/{use-workspace-BaqJmM0n.js → use-workspace-BCxdx59D.js} +0 -0
  506. /package/dist/public/assets/{useLintConfigViewMode-CZc7NC96.js → useLintConfigViewMode-BvPSErDD.js} +0 -0
  507. /package/dist/public/assets/{workspace-paths-BKo6L6w1.js → workspace-paths-CD0W1etA.js} +0 -0
@@ -1,4 +1,4 @@
1
- import"./chunk-SRAX5OIU-B7dPnL12.js";var e={paste:`ஒட்டு`,pasteAsPlaintext:`அலங்காரமின்றி ஒட்டு`,pasteCharts:`விளக்கப்படங்களை ஒட்டு`,selectAll:`எல்லாம் தேர்ந்தெடு`,multiSelect:`உறுப்பைத் தெரிவில் சேர்`,moveCanvas:`கித்தானை நகர்த்து`,cut:`வெட்டு`,copy:`நகலெடு`,copyAsPng:`நகலகத்திற்கு PNG ஆக நகலெடு`,copyAsSvg:`நகலகத்திற்கு SVG ஆக நகலெடு`,copyText:`நகலகத்திற்கு உரையாக நகலெடு`,copySource:``,convertToCode:``,bringForward:`முன்நோக்கி கொண்டுவா`,sendToBack:`பின்னே அனுப்பு`,bringToFront:`முன்னே கொண்டுவா`,sendBackward:`பின்நோக்கி அனுப்பு`,delete:`அழி`,copyStyles:`ஒயில்களை நகலெடு`,pasteStyles:`ஒயில்களை ஒட்டு`,stroke:`கீறல்`,background:`பின்புலம்`,fill:`நிரப்பல்`,strokeWidth:`கீறல் அகலம்`,strokeStyle:`கீறல் ஒயில்`,strokeStyle_solid:`திடமான`,strokeStyle_dashed:`கோடிட்ட`,strokeStyle_dotted:`புள்ளியிட்ட`,sloppiness:`அசட்டுத்தனம்`,opacity:`ஒளிபுகாவியல்பு`,textAlign:`உரைச் சீரமைப்பு`,edges:`விளிம்புகள்`,sharp:`கூர்மை`,round:`வட்டம்`,arrowheads:`அம்புத்தலைகள்`,arrowhead_none:`ஏதுமில்லை`,arrowhead_arrow:`அம்பு`,arrowhead_bar:`பட்டை`,arrowhead_circle:``,arrowhead_circle_outline:``,arrowhead_triangle:`முக்கோணம்`,arrowhead_triangle_outline:``,arrowhead_diamond:``,arrowhead_diamond_outline:``,fontSize:`எழுத்துரு அளவு`,fontFamily:`எழுத்துரு குடும்பம்`,addWatermark:`"எக்ஸ்கேலிட்ரா கொண்டு ஆனது"-ஐச் சேர்`,handDrawn:`கையால்-வரைந்த`,normal:`இயல்பு`,code:`குறியீடு`,small:`சிறிய`,medium:`நடுத்தரமான`,large:`பெரிய`,veryLarge:`மிகப் பெரிய`,solid:`திடமான`,hachure:`மலைக்குறிக்கோடு`,zigzag:`கோணல்மாணல்`,crossHatch:`குறுக்குகதவு`,thin:`மெல்லிய`,bold:`பட்டை`,left:`இடது`,center:`மையம்`,right:`வலது`,extraBold:`கூடுதல் பட்டை`,architect:`கட்டடக்கலைஞர்`,artist:`கலைஞர்`,cartoonist:`கேலிச்சித்திர ஓவியர்`,fileTitle:`கோப்புப் பெயர்`,colorPicker:`நிறத் தேர்வி`,canvasColors:`கித்தானில் பயன்படுத்தப்பட்டது`,canvasBackground:`கித்தான் பின்னணி`,drawingCanvas:`கித்தான் வரைகிறது`,layers:`அடுக்குகள்`,actions:`செயல்கள்`,language:`மொழி`,liveCollaboration:`நேரடி கூட்டுப்பணி...`,duplicateSelection:`நகலாக்கு`,untitled:`தலைப்பற்றது`,name:`பெயர்`,yourName:`உங்கள் பெயர்`,madeWithExcalidraw:`எக்ஸ்கேலிட்ரா கொண்டு ஆனது`,group:`தேர்ந்ததை ஒன்றிணை`,ungroup:`தேர்ந்ததைப் பிரி`,collaborators:`கூட்டுப்பணியினர்`,showGrid:`கட்டதைக் காட்டு`,addToLibrary:`நூலகத்தில் சேர்`,removeFromLibrary:`நூலகத்திலிருந்து நீக்கு`,libraryLoadingMessage:`நூலகத்தை ஏற்றுகிறது…`,libraries:`நூலகங்களை உலாவு`,loadingScene:`காட்சியை ஏற்றுகிறது…`,align:`சீரமை`,alignTop:`மேலே சீரமை`,alignBottom:`கீழே சீரமை`,alignLeft:`இடதில் சீரமை`,alignRight:`வலதில் சீரமை`,centerVertically:`செங்குத்தாக மையப்படுத்து`,centerHorizontally:`கிடைமட்டமாக மையப்படுத்து`,distributeHorizontally:`கிடைமட்டமாக விநியோகி`,distributeVertically:`செங்குத்தாக விநியோகி`,flipHorizontal:`கிடைமட்டமாக புரட்டு`,flipVertical:`செங்குத்தாக புரட்டு`,viewMode:`பார்வை பயன்முறை`,share:`பகிர்`,showStroke:`கீறல் நிற எடுப்பானைக் காட்டு`,showBackground:`பின்னணி நிற எடுப்பானைக் காட்டு`,toggleTheme:`தோற்றத்தை நிலைமாற்று`,personalLib:`தனக்குரிய நூலகம்`,excalidrawLib:`எக்ஸ்கேலிட்ரா நூலகம்`,decreaseFontSize:`எழுத்துரு அளவைக் குறை`,increaseFontSize:`எழுத்துரு அளவை அதிகரி`,unbindText:`உரையைப் பிணைவவிழ்`,bindText:`உரையைக் கொள்கலனுக்குப் பிணை`,createContainerFromText:`உரையைக் கொள்கலனுள் சுருட்டு`,link:{edit:`தொடுப்பைத் திருத்து`,editEmbed:``,create:`தொடுப்பைப் படை`,createEmbed:``,label:`தொடுப்பு`,labelEmbed:``,empty:``},lineEditor:{edit:`தொடுப்பைத் திருத்து`,exit:`வரி திருத்தியிலிருந்து வெளியேறு`},elementLock:{lock:`பூட்டு`,unlock:`பூட்டவிழ்`,lockAll:`எல்லாம் பூட்டு`,unlockAll:`எல்லாம் பூட்டவிழ்`},statusPublished:`வெளியிடப்பட்டது`,sidebarLock:`பக்கப்பட்டையைத் திறந்தே வை`,selectAllElementsInFrame:``,removeAllElementsFromFrame:``,eyeDropper:`கித்தானிலிருந்து நிறம் தேர்ந்தெடு`,textToDiagram:``,prompt:``},t={noItems:`இதுவரை உருப்படிகள் சேரக்கப்படவில்லை...`,hint_emptyLibrary:`கித்தானிலுள்ள உருப்படியை இங்குச் சேர்க்க தேர்ந்தெடு, அல்லது கீழுள்ள பொது களஞ்சியத்திலிருந்து நூலகத்தை நிறுவு.`,hint_emptyPrivateLibrary:`கித்தானிலுள்ள உருப்படியை இங்குச் சேர்க்க தேர்ந்தெடு.`},n={clearReset:`கித்தானை அகரமாக்கு`,exportJSON:`கோப்புக்கு ஏற்றுமதிசெய்`,exportImage:`படத்தை ஏற்றுமதிசெய்...`,export:`இதில் சேமி...`,copyToClipboard:`நகலகத்திற்கு நகலெடு`,save:`தற்போதைய கோப்புக்குச் சேமி`,saveAs:`இப்படி சேமி`,load:`திற`,getShareableLink:`பகிரக்கூடிய தொடுப்பைப் பெறு`,close:`மூடு`,selectLanguage:`மொழியைத் தேர்ந்தெடு`,scrollBackToContent:`உருட்டி உள்ளடக்கத்துக்குத் திரும்பு`,zoomIn:`பெரிதாக்கு`,zoomOut:`சிறிதாக்கு`,resetZoom:`உருவளவை அகரமாக்கு`,menu:`சிறுபட்டி`,done:`முடிந்தது`,edit:`திருத்து`,undo:`செயல்தவிர்`,redo:`மீண்டும்செய்`,resetLibrary:`நூலகத்தை அகரமாக்கு`,createNewRoom:`புதிய அறையை உருவாக்கு`,fullScreen:`முழுத் திரை`,darkMode:`கருமை பயன்முறை`,lightMode:`வெளிர்ந்த பயன்முறை`,zenMode:`ஜென் பயன்முறை`,objectsSnapMode:``,exitZenMode:`ஜென் பயன்முறையை விலகு`,cancel:`ரத்துசெய்`,clear:`துடை`,remove:`நீக்கு`,embed:``,publishLibrary:`பிரசுரி`,submit:`சமர்ப்பி`,confirm:`உறுதிசெய்`,embeddableInteractionButton:``},r={clearReset:`இது முழு கித்தானையும் துடைக்கும். நீங்கள் உறுதியா?`,couldNotCreateShareableLink:`பகிரக்கூடிய தொடுப்பை உருவாக்க முடியவில்லை.`,couldNotCreateShareableLinkTooBig:`பகிரக்கூடிய தொடுப்பை உருவாக்க முடியவில்லை: காட்சி மிகப்பெரிதாக உள்ளது`,couldNotLoadInvalidFile:`செல்லாத கோப்பை ஏற்ற முடியவில்லை`,importBackendFailed:`தேகத்திலிருந்து இறக்குமதி தோல்வி.`,cannotExportEmptyCanvas:`காலியான கித்தானை ஏற்றுமதிசெய்ய முடியாது.`,couldNotCopyToClipboard:`நகலகத்திற்கு நகலெடுக்க முடியவில்லை.`,decryptFailed:`தரவை மறைநீக்க முடியவில்லை.`,uploadedSecurly:`பதிவேற்றம் இருமுனை மறையாகத்தால் பாதுகாக்கப்பட்டுள்ளது, எனவே எக்ஸ்கேலிட்ரா சேவையகமும் மூன்றாம் தரப்பினரும் உள்ளடக்கத்தை வாசிக்கமுடியாது.`,loadSceneOverridePrompt:`வெளிப்புறச்சித்திரமேற்றல் இருக்கிற உள்ளடக்கத்தை இடங்கொள்ளும். தொடர விருப்பமா?`,collabStopOverridePrompt:`அமர்வை நிறுத்துதல் முன்னர் அகமாக தேக்கிய உம் சித்திரத்தை மேலெழுதும். நீங்கள் உறுதியா?
1
+ import"./chunk-SRAX5OIU-BEvWJO3c.js";var e={paste:`ஒட்டு`,pasteAsPlaintext:`அலங்காரமின்றி ஒட்டு`,pasteCharts:`விளக்கப்படங்களை ஒட்டு`,selectAll:`எல்லாம் தேர்ந்தெடு`,multiSelect:`உறுப்பைத் தெரிவில் சேர்`,moveCanvas:`கித்தானை நகர்த்து`,cut:`வெட்டு`,copy:`நகலெடு`,copyAsPng:`நகலகத்திற்கு PNG ஆக நகலெடு`,copyAsSvg:`நகலகத்திற்கு SVG ஆக நகலெடு`,copyText:`நகலகத்திற்கு உரையாக நகலெடு`,copySource:``,convertToCode:``,bringForward:`முன்நோக்கி கொண்டுவா`,sendToBack:`பின்னே அனுப்பு`,bringToFront:`முன்னே கொண்டுவா`,sendBackward:`பின்நோக்கி அனுப்பு`,delete:`அழி`,copyStyles:`ஒயில்களை நகலெடு`,pasteStyles:`ஒயில்களை ஒட்டு`,stroke:`கீறல்`,background:`பின்புலம்`,fill:`நிரப்பல்`,strokeWidth:`கீறல் அகலம்`,strokeStyle:`கீறல் ஒயில்`,strokeStyle_solid:`திடமான`,strokeStyle_dashed:`கோடிட்ட`,strokeStyle_dotted:`புள்ளியிட்ட`,sloppiness:`அசட்டுத்தனம்`,opacity:`ஒளிபுகாவியல்பு`,textAlign:`உரைச் சீரமைப்பு`,edges:`விளிம்புகள்`,sharp:`கூர்மை`,round:`வட்டம்`,arrowheads:`அம்புத்தலைகள்`,arrowhead_none:`ஏதுமில்லை`,arrowhead_arrow:`அம்பு`,arrowhead_bar:`பட்டை`,arrowhead_circle:``,arrowhead_circle_outline:``,arrowhead_triangle:`முக்கோணம்`,arrowhead_triangle_outline:``,arrowhead_diamond:``,arrowhead_diamond_outline:``,fontSize:`எழுத்துரு அளவு`,fontFamily:`எழுத்துரு குடும்பம்`,addWatermark:`"எக்ஸ்கேலிட்ரா கொண்டு ஆனது"-ஐச் சேர்`,handDrawn:`கையால்-வரைந்த`,normal:`இயல்பு`,code:`குறியீடு`,small:`சிறிய`,medium:`நடுத்தரமான`,large:`பெரிய`,veryLarge:`மிகப் பெரிய`,solid:`திடமான`,hachure:`மலைக்குறிக்கோடு`,zigzag:`கோணல்மாணல்`,crossHatch:`குறுக்குகதவு`,thin:`மெல்லிய`,bold:`பட்டை`,left:`இடது`,center:`மையம்`,right:`வலது`,extraBold:`கூடுதல் பட்டை`,architect:`கட்டடக்கலைஞர்`,artist:`கலைஞர்`,cartoonist:`கேலிச்சித்திர ஓவியர்`,fileTitle:`கோப்புப் பெயர்`,colorPicker:`நிறத் தேர்வி`,canvasColors:`கித்தானில் பயன்படுத்தப்பட்டது`,canvasBackground:`கித்தான் பின்னணி`,drawingCanvas:`கித்தான் வரைகிறது`,layers:`அடுக்குகள்`,actions:`செயல்கள்`,language:`மொழி`,liveCollaboration:`நேரடி கூட்டுப்பணி...`,duplicateSelection:`நகலாக்கு`,untitled:`தலைப்பற்றது`,name:`பெயர்`,yourName:`உங்கள் பெயர்`,madeWithExcalidraw:`எக்ஸ்கேலிட்ரா கொண்டு ஆனது`,group:`தேர்ந்ததை ஒன்றிணை`,ungroup:`தேர்ந்ததைப் பிரி`,collaborators:`கூட்டுப்பணியினர்`,showGrid:`கட்டதைக் காட்டு`,addToLibrary:`நூலகத்தில் சேர்`,removeFromLibrary:`நூலகத்திலிருந்து நீக்கு`,libraryLoadingMessage:`நூலகத்தை ஏற்றுகிறது…`,libraries:`நூலகங்களை உலாவு`,loadingScene:`காட்சியை ஏற்றுகிறது…`,align:`சீரமை`,alignTop:`மேலே சீரமை`,alignBottom:`கீழே சீரமை`,alignLeft:`இடதில் சீரமை`,alignRight:`வலதில் சீரமை`,centerVertically:`செங்குத்தாக மையப்படுத்து`,centerHorizontally:`கிடைமட்டமாக மையப்படுத்து`,distributeHorizontally:`கிடைமட்டமாக விநியோகி`,distributeVertically:`செங்குத்தாக விநியோகி`,flipHorizontal:`கிடைமட்டமாக புரட்டு`,flipVertical:`செங்குத்தாக புரட்டு`,viewMode:`பார்வை பயன்முறை`,share:`பகிர்`,showStroke:`கீறல் நிற எடுப்பானைக் காட்டு`,showBackground:`பின்னணி நிற எடுப்பானைக் காட்டு`,toggleTheme:`தோற்றத்தை நிலைமாற்று`,personalLib:`தனக்குரிய நூலகம்`,excalidrawLib:`எக்ஸ்கேலிட்ரா நூலகம்`,decreaseFontSize:`எழுத்துரு அளவைக் குறை`,increaseFontSize:`எழுத்துரு அளவை அதிகரி`,unbindText:`உரையைப் பிணைவவிழ்`,bindText:`உரையைக் கொள்கலனுக்குப் பிணை`,createContainerFromText:`உரையைக் கொள்கலனுள் சுருட்டு`,link:{edit:`தொடுப்பைத் திருத்து`,editEmbed:``,create:`தொடுப்பைப் படை`,createEmbed:``,label:`தொடுப்பு`,labelEmbed:``,empty:``},lineEditor:{edit:`தொடுப்பைத் திருத்து`,exit:`வரி திருத்தியிலிருந்து வெளியேறு`},elementLock:{lock:`பூட்டு`,unlock:`பூட்டவிழ்`,lockAll:`எல்லாம் பூட்டு`,unlockAll:`எல்லாம் பூட்டவிழ்`},statusPublished:`வெளியிடப்பட்டது`,sidebarLock:`பக்கப்பட்டையைத் திறந்தே வை`,selectAllElementsInFrame:``,removeAllElementsFromFrame:``,eyeDropper:`கித்தானிலிருந்து நிறம் தேர்ந்தெடு`,textToDiagram:``,prompt:``},t={noItems:`இதுவரை உருப்படிகள் சேரக்கப்படவில்லை...`,hint_emptyLibrary:`கித்தானிலுள்ள உருப்படியை இங்குச் சேர்க்க தேர்ந்தெடு, அல்லது கீழுள்ள பொது களஞ்சியத்திலிருந்து நூலகத்தை நிறுவு.`,hint_emptyPrivateLibrary:`கித்தானிலுள்ள உருப்படியை இங்குச் சேர்க்க தேர்ந்தெடு.`},n={clearReset:`கித்தானை அகரமாக்கு`,exportJSON:`கோப்புக்கு ஏற்றுமதிசெய்`,exportImage:`படத்தை ஏற்றுமதிசெய்...`,export:`இதில் சேமி...`,copyToClipboard:`நகலகத்திற்கு நகலெடு`,save:`தற்போதைய கோப்புக்குச் சேமி`,saveAs:`இப்படி சேமி`,load:`திற`,getShareableLink:`பகிரக்கூடிய தொடுப்பைப் பெறு`,close:`மூடு`,selectLanguage:`மொழியைத் தேர்ந்தெடு`,scrollBackToContent:`உருட்டி உள்ளடக்கத்துக்குத் திரும்பு`,zoomIn:`பெரிதாக்கு`,zoomOut:`சிறிதாக்கு`,resetZoom:`உருவளவை அகரமாக்கு`,menu:`சிறுபட்டி`,done:`முடிந்தது`,edit:`திருத்து`,undo:`செயல்தவிர்`,redo:`மீண்டும்செய்`,resetLibrary:`நூலகத்தை அகரமாக்கு`,createNewRoom:`புதிய அறையை உருவாக்கு`,fullScreen:`முழுத் திரை`,darkMode:`கருமை பயன்முறை`,lightMode:`வெளிர்ந்த பயன்முறை`,zenMode:`ஜென் பயன்முறை`,objectsSnapMode:``,exitZenMode:`ஜென் பயன்முறையை விலகு`,cancel:`ரத்துசெய்`,clear:`துடை`,remove:`நீக்கு`,embed:``,publishLibrary:`பிரசுரி`,submit:`சமர்ப்பி`,confirm:`உறுதிசெய்`,embeddableInteractionButton:``},r={clearReset:`இது முழு கித்தானையும் துடைக்கும். நீங்கள் உறுதியா?`,couldNotCreateShareableLink:`பகிரக்கூடிய தொடுப்பை உருவாக்க முடியவில்லை.`,couldNotCreateShareableLinkTooBig:`பகிரக்கூடிய தொடுப்பை உருவாக்க முடியவில்லை: காட்சி மிகப்பெரிதாக உள்ளது`,couldNotLoadInvalidFile:`செல்லாத கோப்பை ஏற்ற முடியவில்லை`,importBackendFailed:`தேகத்திலிருந்து இறக்குமதி தோல்வி.`,cannotExportEmptyCanvas:`காலியான கித்தானை ஏற்றுமதிசெய்ய முடியாது.`,couldNotCopyToClipboard:`நகலகத்திற்கு நகலெடுக்க முடியவில்லை.`,decryptFailed:`தரவை மறைநீக்க முடியவில்லை.`,uploadedSecurly:`பதிவேற்றம் இருமுனை மறையாகத்தால் பாதுகாக்கப்பட்டுள்ளது, எனவே எக்ஸ்கேலிட்ரா சேவையகமும் மூன்றாம் தரப்பினரும் உள்ளடக்கத்தை வாசிக்கமுடியாது.`,loadSceneOverridePrompt:`வெளிப்புறச்சித்திரமேற்றல் இருக்கிற உள்ளடக்கத்தை இடங்கொள்ளும். தொடர விருப்பமா?`,collabStopOverridePrompt:`அமர்வை நிறுத்துதல் முன்னர் அகமாக தேக்கிய உம் சித்திரத்தை மேலெழுதும். நீங்கள் உறுதியா?
2
2
 
3
3
  (உம் அக சித்திரத்தை வைக்கவேண்டுமெனில், சும்மா உலாவி தாவலை மூடுக அதற்குபதிலாக.)`,errorAddingToLibrary:`உருப்படியை நூலகத்தில் சேர்க்க இயலா`,errorRemovingFromLibrary:`உருப்படியை நூலகத்திலிருந்து நீக்க இயலா`,confirmAddLibrary:`இதனால் {{numShapes}} வடிவம்(கள்) உம் நூலகத்தில் சேரும். நீங்கள் உறுதியா?`,imageDoesNotContainScene:`இப்படத்தில் காட்சி தரவு ஏதும் இருப்பதுபோல் தெரியவில்லை. ஏற்றுமதியின்போது காட்சி உட்பதிதலை இயக்கினீரா?`,cannotRestoreFromImage:`இப்படக்கோப்பிலிருந்து காட்சி மீட்டெடுக்கப்பட முடியாது`,invalidSceneUrl:`வழங்கப்பட்ட உரலியிலிருந்து காட்சியை இறக்கவியலா. இது தவறான வடிவத்தில் உள்ளது, அ செல்லத்தக்க எக்ஸ்கேலிட்ரா JSON தரவைக் கொண்டில்லை.`,resetLibrary:`இது உங்கள் நுலகத்தைத் துடைக்கும். நீங்கள் உறுதியா?`,removeItemsFromsLibrary:`{{count}} உருப்படி(கள்)-ஐ உம் நூலகத்திலிருந்து அழிக்கவா?`,invalidEncryptionKey:`மறையாக்க விசை 22 வரியுருக்கள் கொண்டிருக்கவேண்டும். நேரடி கூட்டுப்பணி முடக்கப்பட்டது.`,collabOfflineWarning:`இணைய இணைப்பு இல்லை.
4
4
  உமது மாற்றங்கள் சேமிக்கப்படா!`},i={unsupportedFileType:`ஆதரிக்கப்படா கோப்பு வகை.`,imageInsertError:`படத்தைப் புகுத்தவியலா. பிறகு மீண்டும் முயலவும்...`,fileTooBig:`கோப்பு மிகப்பெரிது. அனுமதிக்கப்பட்ட அதிகபட்ச அளவு {{maxSize}}.`,svgImageInsertError:`எஸ்விஜி படத்தைப் புகுத்தவியலா. எஸ்விஜியின் மார்க்அப் செல்லாததாக தெரிகிறது.`,failedToFetchImage:``,invalidSVGString:`செல்லாத SVG.`,cannotResolveCollabServer:`கூட்டுப்பணிச் சேவையகத்துடன் இணைக்க முடியவில்லை. பக்கத்தை மீளேற்றி மீண்டும் முயலவும்.`,importLibraryError:`நூலகத்தை ஏற்ற முடியவில்லை`,collabSaveFailed:`பின்முனை தரவுத்தளத்தில் சேமிக்க முடியவில்லை. சிக்கல்கள் நீடித்தால், உமது வேலைகளை இழக்காமலிருப்பதை உறுதிசெய்ய உமது கோப்பை உள்ளகத்தில் சேமிக்க வேண்டும்.`,collabSaveFailed_sizeExceeded:`பின்முனை தரவுத்தளத்தில் சேமிக்க முடியவில்லை, கித்தான் மிகப்பெரிதாகத் தெரிகிறது. உமது வேலைகளை இழக்காமலிருப்பதை உறுதிசெய்ய உமது கோப்பை உள்ளகத்தில் சேமிக்க வேண்டும்.`,imageToolNotSupported:``,brave_measure_text_error:{line1:``,line2:``,line3:``,line4:``},libraryElementTypeError:{embeddable:``,iframe:``,image:``},asyncPasteFailedOnRead:``,asyncPasteFailedOnParse:``,copyToSystemClipboardFailed:``},a={selection:`தெரிவு`,image:`படத்தைப் புகுத்து`,rectangle:`செவ்வகம்`,diamond:`வைரம்`,ellipse:`நீள்வட்டம்`,arrow:`அம்பு`,line:`வரி`,freedraw:`வரை`,text:`உரை`,library:`நூலகம்`,lock:`தேர்ந்த கருவியை வரைந்த பின்பும் வைத்திரு`,penMode:`பேனா - தடுப்பு தொடுதல்`,link:`தேர்தெடுத்த வடிவத்திற்குத் தொடுப்பைச் சேர்/ புதுப்பி`,eraser:`அழிப்பி`,frame:`சட்டகம் கருவி`,magicframe:``,embeddable:``,laser:``,hand:`கை (பார்வை நகர்கும் கருவி)`,extraTools:`மற்ற கருவிகள்`,mermaidToExcalidraw:``,magicSettings:``},o={canvasActions:`கித்தான் செயல்கள்`,selectedShapeActions:`தேர்ந்த வடிவம் செயல்கள்`,shapes:`வடிவங்கள்`},s={canvasPanning:``,linearElement:`பல புள்ளிகளைத் துவக்க சொடுக்கு, ஒற்றை வரிக்கு பிடித்திழு`,freeDraw:`சொடுக்கி பிடித்திழு, முடித்ததும் விடுவி`,text:`துணுக்குதவி: தெரிவு கருவி கொண்டு எங்காவது இரு-சொடுக்கி உரையைச் சேர்க்கலாம்`,embeddable:``,text_selected:`உரையைத் திருத்த இரு-சொடுக்கு அ ENTERஐ அழுத்து`,text_editing:`திருத்துவதை முடிக்க Escape அ CtrlOrCmd+ENTERஐ அழுத்து`,linearElementMulti:`கடைசி புள்ளியில் சொடுக்கு அ முடிக்க Escape அ Enter அழுத்து`,lockAngle:`SHIFTஐ அழுத்திப்பிடித்து கோணத்தை வற்புறுத்தலாம்`,resize:`மறுஅளவிடுகையில் SHIFTஐ அழுத்திப்பிடித்து விகிதசமத்தை வற்புறுத்தலாம்,
@@ -1 +1 @@
1
- import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./jsx-runtime-BUgB2tll.js";import{t as n}from"./react-f2sANaYj.js";import{r}from"./dist-Nvb76hAm.js";import{t as i}from"./compiler-runtime-BfE3aGVn.js";import{t as a}from"./utils-CPqDy6Hr.js";import{i as o,n as ee,t as te}from"./tooltip-DPvMEqsq.js";import{ti as ne}from"./dist-BkQJ7mnd2.js";import{t as re}from"./x-C1LzPj_K.js";import{t as ie}from"./badge-Bb7mpvxU.js";var s=i(),c=e(n(),1),l=t();function u(e){let t=(0,s.c)(96),{value:n,onChange:i,onBlur:u,placeholder:d,id:f,disabled:p,grammar:ae,entryProblems:m,"aria-describedby":oe,"aria-invalid":se,ref:h}=e,ce=ae===void 0?`frontmatter-tag`:ae,{_:g}=r(),[_,le]=(0,c.useState)(``),[v,ue]=(0,c.useState)(null),[y,b]=(0,c.useState)(null),de=(0,c.useRef)(null),x;t[0]===h?x=t[1]:(x=e=>{de.current=e,typeof h==`function`?h(e):h&&(h.current=e)},t[0]=h,t[1]=x);let fe=x,[S,C]=(0,c.useState)(!1),pe=(0,c.useId)(),w=`${f??pe}-grammar-hint`,T=`${f??pe}-pill`,E;t[2]!==g||t[3]!==d?(E=d??g({id:`M5mfAe`}),t[2]=g,t[3]=d,t[4]=E):E=t[4];let me=E,D=ce===`frontmatter-tag`,O;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(O=()=>{le(``),C(!1),ue(null)},t[5]=O):O=t[5];let k=O,A;t[6]!==v||t[7]!==i||t[8]!==D||t[9]!==n?(A=e=>{let t=e.trim(),r=v===null?-1:n.indexOf(v);if(!t)return r!==-1&&i(n.filter((e,t)=>t!==r)),v!==null&&k(),!0;if(D&&!ne(t))return C(!0),!1;let a=D&&t.startsWith(`#`)?t.slice(1):t,o=n.indexOf(a);if(r===-1)return o===-1&&i([...n,a]),k(),!0;let ee=n.map((e,t)=>t===r?a:e);return i(o===-1||o===r?ee:ee.filter((e,t)=>t!==r)),k(),!0},t[6]=v,t[7]=i,t[8]=D,t[9]=n,t[10]=A):A=t[10];let j=A,M;t[11]!==i||t[12]!==n?(M=e=>{i(n.filter((t,n)=>n!==e))},t[11]=i,t[12]=n,t[13]=M):M=t[13];let N=M,P;t[14]!==j||t[15]!==p||t[16]!==_?(P=e=>{p||(_.trim()!==``&&j(_),le(e),C(!1),b(null),ue(e))},t[14]=j,t[15]=p,t[16]=_,t[17]=P):P=t[17];let F=P,I;t[18]!==y||t[19]!==n?(I=y===null?-1:n.indexOf(y),t[18]=y,t[19]=n,t[20]=I):I=t[20];let L=I,R;t[21]===n?R=t[22]:(R=e=>{b(e===null?null:n[e]??null)},t[21]=n,t[22]=R);let z=R,B,V;t[23]===v?(B=t[24],V=t[25]):(B=()=>{v!==null&&(de.current?.focus(),de.current?.select())},V=[v],t[23]=v,t[24]=B,t[25]=V),(0,c.useEffect)(B,V);let H=S?`true`:se,he=p&&`pointer-events-none opacity-60`,U;t[26]===he?U=t[27]:(U=a(`flex min-h-8 w-full flex-wrap items-center gap-1.5 rounded-lg border border-input bg-transparent px-2 py-1 text-sm transition-colors`,`focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/50`,`aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20`,`dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,he),t[26]=he,t[27]=U);let W;if(t[28]!==g||t[29]!==F||t[30]!==p||t[31]!==v||t[32]!==m||t[33]!==y||t[34]!==T||t[35]!==N||t[36]!==D||t[37]!==n){let e;t[39]!==g||t[40]!==F||t[41]!==p||t[42]!==v||t[43]!==m||t[44]!==y||t[45]!==T||t[46]!==N||t[47]!==D?(e=(e,t)=>{if(e===v)return null;let n=D&&!ne(e),r=m?.get(e),i=n||r!==void 0,s=r??(n?`Tags must start with a letter or digit and contain only letters, digits, underscores, dashes, and slashes.`:void 0),c=e===y,u=(0,l.jsxs)(ie,{id:`${T}-${t}`,variant:i?`destructive`:`secondary`,"data-tag-invalid":n?`true`:void 0,"data-tag-problem":r===void 0?void 0:`true`,"data-highlighted":c?`true`:void 0,className:a(`gap-1 pl-2 pr-1 normal-case`,i&&`ring-1 ring-destructive/40`,c&&`ring-2 ring-ring/70`),children:[(0,l.jsx)(`button`,{type:`button`,tabIndex:-1,className:`cursor-pointer rounded-sm font-mono`,onDoubleClick:()=>F(e),disabled:p,"aria-label":g({id:`NkNfSr`,values:{tag:e}}),title:s===void 0?g({id:`vHlhDc`}):void 0,children:e}),(0,l.jsx)(`button`,{type:`button`,onClick:()=>N(t),"aria-label":g({id:`D4H2N6`,values:{tag:e}}),className:`rounded-sm p-0.5 hover:bg-background/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50`,disabled:p,children:(0,l.jsx)(re,{className:`size-3`,"aria-hidden":`true`})})]},e);return s===void 0?u:(0,l.jsxs)(te,{children:[(0,l.jsx)(o,{asChild:!0,children:u}),(0,l.jsx)(ee,{children:s})]},e)},t[39]=g,t[40]=F,t[41]=p,t[42]=v,t[43]=m,t[44]=y,t[45]=T,t[46]=N,t[47]=D,t[48]=e):e=t[48],W=n.map(e),t[28]=g,t[29]=F,t[30]=p,t[31]=v,t[32]=m,t[33]=y,t[34]=T,t[35]=N,t[36]=D,t[37]=n,t[38]=W}else W=t[38];let G;t[49]!==S||t[50]!==y?(G=e=>{le(e.target.value),S&&C(!1),y!==null&&b(null)},t[49]=S,t[50]=y,t[51]=G):G=t[51];let K;t[52]!==j||t[53]!==F||t[54]!==_||t[55]!==S||t[56]!==v||t[57]!==z||t[58]!==L||t[59]!==N||t[60]!==n?(K=e=>{let t=e.currentTarget,r=t.selectionStart===0&&t.selectionEnd===0;if(v===null&&n.length>0){if(e.key===`ArrowLeft`&&(L!==-1||r)){e.preventDefault(),z(L===-1?n.length-1:Math.max(0,L-1));return}if(e.key===`ArrowRight`&&L!==-1){e.preventDefault(),z(L===n.length-1?null:L+1);return}if((e.key===`Home`||e.key===`End`)&&L!==-1){e.preventDefault(),z(e.key===`Home`?0:n.length-1);return}}if(L!==-1&&v===null){if(e.key===`Enter`||e.key===` `){e.preventDefault();let t=n[L];t!==void 0&&F(t);return}if(e.key===`Backspace`||e.key===`Delete`){e.preventDefault();let t=n[L-1]??null,r=n[L+1]??null;N(L),b(e.key===`Backspace`?t??r:r??t);return}}e.key===`Enter`?(_.trim()||v!==null)&&(e.preventDefault(),j(_)):e.key===`,`?(e.preventDefault(),_.trim()&&j(_)):e.key===`Tab`?_.trim()&&(e.preventDefault(),j(_)):e.key===`Backspace`&&_===``&&n.length>0&&v===null?(e.preventDefault(),N(n.length-1)):e.key===`Escape`&&(v!==null||S?(e.preventDefault(),k(),b(null)):L!==-1&&(e.preventDefault(),b(null)))},t[52]=j,t[53]=F,t[54]=_,t[55]=S,t[56]=v,t[57]=z,t[58]=L,t[59]=N,t[60]=n,t[61]=K):K=t[61];let q;t[62]!==j||t[63]!==_||t[64]!==v||t[65]!==u?(q=()=>{(_.trim()||v!==null)&&!j(_)&&v!==null&&k(),b(null),u?.()},t[62]=j,t[63]=_,t[64]=v,t[65]=u,t[66]=q):q=t[66];let ge=n.length===0?me:``,_e=S?`true`:void 0,J;t[67]!==oe||t[68]!==S||t[69]!==w?(J=[S?w:void 0,oe].filter(Boolean).join(` `)||void 0,t[67]=oe,t[68]=S,t[69]=w,t[70]=J):J=t[70];let ve=S?`true`:se,ye=L===-1?void 0:`${T}-${L}`,Y=S&&`text-destructive placeholder:text-destructive/60`,X;t[71]===Y?X=t[72]:(X=a(`min-w-[8ch] flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed`,Y),t[71]=Y,t[72]=X);let Z;t[73]!==fe||t[74]!==p||t[75]!==_||t[76]!==f||t[77]!==G||t[78]!==K||t[79]!==q||t[80]!==ge||t[81]!==_e||t[82]!==J||t[83]!==ve||t[84]!==ye||t[85]!==X?(Z=(0,l.jsx)(`input`,{id:f,ref:fe,type:`text`,value:_,onChange:G,onKeyDown:K,onBlur:q,placeholder:ge,"data-tag-invalid":_e,"aria-describedby":J,"aria-invalid":ve,"aria-activedescendant":ye,disabled:p,className:X}),t[73]=fe,t[74]=p,t[75]=_,t[76]=f,t[77]=G,t[78]=K,t[79]=q,t[80]=ge,t[81]=_e,t[82]=J,t[83]=ve,t[84]=ye,t[85]=X,t[86]=Z):Z=t[86];let Q;t[87]!==S||t[88]!==w?(Q=S&&(0,l.jsx)(`span`,{id:w,role:`alert`,"data-testid":`tag-pill-input-error`,className:`w-full px-1 pt-0.5 text-xs text-destructive`,children:`Tags must start with a letter or digit and contain only letters, digits, underscores, dashes, and slashes.`}),t[87]=S,t[88]=w,t[89]=Q):Q=t[89];let $;return t[90]!==H||t[91]!==U||t[92]!==W||t[93]!==Z||t[94]!==Q?($=(0,l.jsxs)(`div`,{"data-slot":`tag-pill-input`,"aria-invalid":H,className:U,children:[W,Z,Q]}),t[90]=H,t[91]=U,t[92]=W,t[93]=Z,t[94]=Q,t[95]=$):$=t[95],$}export{u as t};
1
+ import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./jsx-runtime-BUgB2tll.js";import{t as n}from"./react-f2sANaYj.js";import{r}from"./dist-Nvb76hAm.js";import{t as i}from"./compiler-runtime-BfE3aGVn.js";import{t as a}from"./utils-CPqDy6Hr.js";import{i as o,n as ee,t as te}from"./tooltip-DPvMEqsq.js";import{ti as ne}from"./dist-BkQJ7mnd2.js";import{t as re}from"./x-wQUDJS55.js";import{t as ie}from"./badge-D819pOsZ.js";var s=i(),c=e(n(),1),l=t();function u(e){let t=(0,s.c)(96),{value:n,onChange:i,onBlur:u,placeholder:d,id:f,disabled:p,grammar:ae,entryProblems:m,"aria-describedby":oe,"aria-invalid":se,ref:h}=e,ce=ae===void 0?`frontmatter-tag`:ae,{_:g}=r(),[_,le]=(0,c.useState)(``),[v,ue]=(0,c.useState)(null),[y,b]=(0,c.useState)(null),de=(0,c.useRef)(null),x;t[0]===h?x=t[1]:(x=e=>{de.current=e,typeof h==`function`?h(e):h&&(h.current=e)},t[0]=h,t[1]=x);let fe=x,[S,C]=(0,c.useState)(!1),pe=(0,c.useId)(),w=`${f??pe}-grammar-hint`,T=`${f??pe}-pill`,E;t[2]!==g||t[3]!==d?(E=d??g({id:`M5mfAe`}),t[2]=g,t[3]=d,t[4]=E):E=t[4];let me=E,D=ce===`frontmatter-tag`,O;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(O=()=>{le(``),C(!1),ue(null)},t[5]=O):O=t[5];let k=O,A;t[6]!==v||t[7]!==i||t[8]!==D||t[9]!==n?(A=e=>{let t=e.trim(),r=v===null?-1:n.indexOf(v);if(!t)return r!==-1&&i(n.filter((e,t)=>t!==r)),v!==null&&k(),!0;if(D&&!ne(t))return C(!0),!1;let a=D&&t.startsWith(`#`)?t.slice(1):t,o=n.indexOf(a);if(r===-1)return o===-1&&i([...n,a]),k(),!0;let ee=n.map((e,t)=>t===r?a:e);return i(o===-1||o===r?ee:ee.filter((e,t)=>t!==r)),k(),!0},t[6]=v,t[7]=i,t[8]=D,t[9]=n,t[10]=A):A=t[10];let j=A,M;t[11]!==i||t[12]!==n?(M=e=>{i(n.filter((t,n)=>n!==e))},t[11]=i,t[12]=n,t[13]=M):M=t[13];let N=M,P;t[14]!==j||t[15]!==p||t[16]!==_?(P=e=>{p||(_.trim()!==``&&j(_),le(e),C(!1),b(null),ue(e))},t[14]=j,t[15]=p,t[16]=_,t[17]=P):P=t[17];let F=P,I;t[18]!==y||t[19]!==n?(I=y===null?-1:n.indexOf(y),t[18]=y,t[19]=n,t[20]=I):I=t[20];let L=I,R;t[21]===n?R=t[22]:(R=e=>{b(e===null?null:n[e]??null)},t[21]=n,t[22]=R);let z=R,B,V;t[23]===v?(B=t[24],V=t[25]):(B=()=>{v!==null&&(de.current?.focus(),de.current?.select())},V=[v],t[23]=v,t[24]=B,t[25]=V),(0,c.useEffect)(B,V);let H=S?`true`:se,he=p&&`pointer-events-none opacity-60`,U;t[26]===he?U=t[27]:(U=a(`flex min-h-8 w-full flex-wrap items-center gap-1.5 rounded-lg border border-input bg-transparent px-2 py-1 text-sm transition-colors`,`focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/50`,`aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20`,`dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,he),t[26]=he,t[27]=U);let W;if(t[28]!==g||t[29]!==F||t[30]!==p||t[31]!==v||t[32]!==m||t[33]!==y||t[34]!==T||t[35]!==N||t[36]!==D||t[37]!==n){let e;t[39]!==g||t[40]!==F||t[41]!==p||t[42]!==v||t[43]!==m||t[44]!==y||t[45]!==T||t[46]!==N||t[47]!==D?(e=(e,t)=>{if(e===v)return null;let n=D&&!ne(e),r=m?.get(e),i=n||r!==void 0,s=r??(n?`Tags must start with a letter or digit and contain only letters, digits, underscores, dashes, and slashes.`:void 0),c=e===y,u=(0,l.jsxs)(ie,{id:`${T}-${t}`,variant:i?`destructive`:`secondary`,"data-tag-invalid":n?`true`:void 0,"data-tag-problem":r===void 0?void 0:`true`,"data-highlighted":c?`true`:void 0,className:a(`gap-1 pl-2 pr-1 normal-case`,i&&`ring-1 ring-destructive/40`,c&&`ring-2 ring-ring/70`),children:[(0,l.jsx)(`button`,{type:`button`,tabIndex:-1,className:`cursor-pointer rounded-sm font-mono`,onDoubleClick:()=>F(e),disabled:p,"aria-label":g({id:`NkNfSr`,values:{tag:e}}),title:s===void 0?g({id:`vHlhDc`}):void 0,children:e}),(0,l.jsx)(`button`,{type:`button`,onClick:()=>N(t),"aria-label":g({id:`D4H2N6`,values:{tag:e}}),className:`rounded-sm p-0.5 hover:bg-background/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50`,disabled:p,children:(0,l.jsx)(re,{className:`size-3`,"aria-hidden":`true`})})]},e);return s===void 0?u:(0,l.jsxs)(te,{children:[(0,l.jsx)(o,{asChild:!0,children:u}),(0,l.jsx)(ee,{children:s})]},e)},t[39]=g,t[40]=F,t[41]=p,t[42]=v,t[43]=m,t[44]=y,t[45]=T,t[46]=N,t[47]=D,t[48]=e):e=t[48],W=n.map(e),t[28]=g,t[29]=F,t[30]=p,t[31]=v,t[32]=m,t[33]=y,t[34]=T,t[35]=N,t[36]=D,t[37]=n,t[38]=W}else W=t[38];let G;t[49]!==S||t[50]!==y?(G=e=>{le(e.target.value),S&&C(!1),y!==null&&b(null)},t[49]=S,t[50]=y,t[51]=G):G=t[51];let K;t[52]!==j||t[53]!==F||t[54]!==_||t[55]!==S||t[56]!==v||t[57]!==z||t[58]!==L||t[59]!==N||t[60]!==n?(K=e=>{let t=e.currentTarget,r=t.selectionStart===0&&t.selectionEnd===0;if(v===null&&n.length>0){if(e.key===`ArrowLeft`&&(L!==-1||r)){e.preventDefault(),z(L===-1?n.length-1:Math.max(0,L-1));return}if(e.key===`ArrowRight`&&L!==-1){e.preventDefault(),z(L===n.length-1?null:L+1);return}if((e.key===`Home`||e.key===`End`)&&L!==-1){e.preventDefault(),z(e.key===`Home`?0:n.length-1);return}}if(L!==-1&&v===null){if(e.key===`Enter`||e.key===` `){e.preventDefault();let t=n[L];t!==void 0&&F(t);return}if(e.key===`Backspace`||e.key===`Delete`){e.preventDefault();let t=n[L-1]??null,r=n[L+1]??null;N(L),b(e.key===`Backspace`?t??r:r??t);return}}e.key===`Enter`?(_.trim()||v!==null)&&(e.preventDefault(),j(_)):e.key===`,`?(e.preventDefault(),_.trim()&&j(_)):e.key===`Tab`?_.trim()&&(e.preventDefault(),j(_)):e.key===`Backspace`&&_===``&&n.length>0&&v===null?(e.preventDefault(),N(n.length-1)):e.key===`Escape`&&(v!==null||S?(e.preventDefault(),k(),b(null)):L!==-1&&(e.preventDefault(),b(null)))},t[52]=j,t[53]=F,t[54]=_,t[55]=S,t[56]=v,t[57]=z,t[58]=L,t[59]=N,t[60]=n,t[61]=K):K=t[61];let q;t[62]!==j||t[63]!==_||t[64]!==v||t[65]!==u?(q=()=>{(_.trim()||v!==null)&&!j(_)&&v!==null&&k(),b(null),u?.()},t[62]=j,t[63]=_,t[64]=v,t[65]=u,t[66]=q):q=t[66];let ge=n.length===0?me:``,_e=S?`true`:void 0,J;t[67]!==oe||t[68]!==S||t[69]!==w?(J=[S?w:void 0,oe].filter(Boolean).join(` `)||void 0,t[67]=oe,t[68]=S,t[69]=w,t[70]=J):J=t[70];let ve=S?`true`:se,ye=L===-1?void 0:`${T}-${L}`,Y=S&&`text-destructive placeholder:text-destructive/60`,X;t[71]===Y?X=t[72]:(X=a(`min-w-[8ch] flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed`,Y),t[71]=Y,t[72]=X);let Z;t[73]!==fe||t[74]!==p||t[75]!==_||t[76]!==f||t[77]!==G||t[78]!==K||t[79]!==q||t[80]!==ge||t[81]!==_e||t[82]!==J||t[83]!==ve||t[84]!==ye||t[85]!==X?(Z=(0,l.jsx)(`input`,{id:f,ref:fe,type:`text`,value:_,onChange:G,onKeyDown:K,onBlur:q,placeholder:ge,"data-tag-invalid":_e,"aria-describedby":J,"aria-invalid":ve,"aria-activedescendant":ye,disabled:p,className:X}),t[73]=fe,t[74]=p,t[75]=_,t[76]=f,t[77]=G,t[78]=K,t[79]=q,t[80]=ge,t[81]=_e,t[82]=J,t[83]=ve,t[84]=ye,t[85]=X,t[86]=Z):Z=t[86];let Q;t[87]!==S||t[88]!==w?(Q=S&&(0,l.jsx)(`span`,{id:w,role:`alert`,"data-testid":`tag-pill-input-error`,className:`w-full px-1 pt-0.5 text-xs text-destructive`,children:`Tags must start with a letter or digit and contain only letters, digits, underscores, dashes, and slashes.`}),t[87]=S,t[88]=w,t[89]=Q):Q=t[89];let $;return t[90]!==H||t[91]!==U||t[92]!==W||t[93]!==Z||t[94]!==Q?($=(0,l.jsxs)(`div`,{"data-slot":`tag-pill-input`,"aria-invalid":H,className:U,children:[W,Z,Q]}),t[90]=H,t[91]=U,t[92]=W,t[93]=Z,t[94]=Q,t[95]=$):$=t[95],$}export{u as t};
@@ -1 +1 @@
1
- import{t as e}from"./createLucideIcon-IawHI4re.js";import{m as t}from"./doc-paths-B46e6DrG.js";import{s as n}from"./navigation-targets-7Zh8Z8C0.js";var r=e(`hexagon`,[[`path`,{d:`M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z`,key:`yt0hxn`}]]);function i(e){switch(e.kind){case`doc`:case`large-file`:return`doc`;case`skill-file`:return`doc`;case`folder`:case`folder-index`:return`folder`;case`missing`:case`asset`:return`missing`}}function a(e,r){let a=n(e,r);return{resolvedTarget:a,hashDocName:a.target,hash:a.kind===`skill-file`?t({scope:a.scope,name:a.name,path:a.path,...a.host?{host:a.host}:{}}):null,displayState:i(a)}}export{r as n,a as t};
1
+ import{t as e}from"./createLucideIcon-CAkY8Blx.js";import{m as t}from"./doc-paths-vtzfxIAt.js";import{s as n}from"./navigation-targets-CMeQ2nTj.js";var r=e(`hexagon`,[[`path`,{d:`M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z`,key:`yt0hxn`}]]);function i(e){switch(e.kind){case`doc`:case`large-file`:return`doc`;case`skill-file`:return`doc`;case`folder`:case`folder-index`:return`folder`;case`missing`:case`asset`:return`missing`}}function a(e,r){let a=n(e,r);return{resolvedTarget:a,hashDocName:a.target,hash:a.kind===`skill-file`?t({scope:a.scope,name:a.name,path:a.path,...a.host?{host:a.host}:{}}):null,displayState:i(a)}}export{r as n,a as t};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./__vite-browser-external-BpzCr_ou.js","./chunk-CYidjpOJ.js"])))=>i.map(i=>d[i]);
2
- import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./preload-helper-Chd9yIcd.js";import{a as n,c as r,d as i,f as a,i as o,l as s,n as c,o as l,p as u,r as d,t as f,u as p}from"./trace-api-BslS_6CM.js";import{n as ee,t as m}from"./propagation-api-B1_qxPZb.js";import{t as h}from"./context-api-CW3A_QP4.js";var te=class{constructor(){}createGauge(e,t){return fe}createHistogram(e,t){return pe}createCounter(e,t){return de}createUpDownCounter(e,t){return me}createObservableGauge(e,t){return ge}createObservableCounter(e,t){return he}createObservableUpDownCounter(e,t){return _e}addBatchObservableCallback(e,t){}removeBatchObservableCallback(e){}},g=class{},ne=class extends g{add(e,t){}},re=class extends g{add(e,t){}},ie=class extends g{record(e,t){}},ae=class extends g{record(e,t){}},oe=class{addCallback(e){}removeCallback(e){}},se=class extends oe{},ce=class extends oe{},le=class extends oe{},ue=new te,de=new ne,fe=new ie,pe=new ae,me=new re,he=new se,ge=new ce,_e=new le;function ve(){return ue}var ye;(function(e){e[e.NOT_RECORD=0]=`NOT_RECORD`,e[e.RECORD=1]=`RECORD`,e[e.RECORD_AND_SAMPLED=2]=`RECORD_AND_SAMPLED`})(ye||={});var be;(function(e){e[e.INTERNAL=0]=`INTERNAL`,e[e.SERVER=1]=`SERVER`,e[e.CLIENT=2]=`CLIENT`,e[e.PRODUCER=3]=`PRODUCER`,e[e.CONSUMER=4]=`CONSUMER`})(be||={});var _=p.instance(),xe=new class{getMeter(e,t,n){return ue}},Se=`metrics`,Ce=class e{constructor(){}static getInstance(){return this._instance||=new e,this._instance}setGlobalMeterProvider(e){return a(Se,e,p.instance())}getMeterProvider(){return i(Se)||xe}getMeter(e,t,n){return this.getMeterProvider().getMeter(e,t,n)}disable(){u(Se,p.instance())}}.getInstance(),we=class{_delegate;constructor(e){this._delegate=e}export(e,t){this._delegate.export(e,t)}forceFlush(){return this._delegate.forceFlush()}shutdown(){return this._delegate.shutdown()}},Te=class extends Error{code;name=`OTLPExporterError`;data;constructor(e,t,n){super(e),this.data=n,this.code=t}};function Ee(e){if(Number.isFinite(e)&&e>0)return e;throw Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${e}')`)}function De(e){if(e!=null)return()=>e}function Oe(e,t,n){return{timeoutMillis:Ee(e.timeoutMillis??t.timeoutMillis??n.timeoutMillis),concurrencyLimit:e.concurrencyLimit??t.concurrencyLimit??n.concurrencyLimit,compression:e.compression??t.compression??n.compression}}function ke(){return{timeoutMillis:1e4,concurrencyLimit:30,compression:`none`}}var Ae=class{_concurrencyLimit;_sendingPromises=[];constructor(e){this._concurrencyLimit=e}pushPromise(e){if(this.hasReachedLimit())throw Error(`Concurrency Limit reached`);this._sendingPromises.push(e);let t=()=>{let t=this._sendingPromises.indexOf(e);this._sendingPromises.splice(t,1)};e.then(t,t)}hasReachedLimit(){return this._sendingPromises.length>=this._concurrencyLimit}async awaitAll(){await Promise.all(this._sendingPromises)}};function je(e){return new Ae(e.concurrencyLimit)}var Me=s(`OpenTelemetry SDK Context Key SUPPRESS_TRACING`);function Ne(e){return e.setValue(Me,!0)}function Pe(e){return e.getValue(Me)===!0}var Fe=`baggage`,Ie=4096;function Le(e){return e.reduce((e,t)=>{let n=`${e}${e===``?``:`,`}${t}`;return n.length>8192?e:n},``)}function Re(e){return e.getAllEntries().map(([e,t])=>{let n=`${encodeURIComponent(e)}=${encodeURIComponent(t.value)}`;return t.metadata!==void 0&&(n+=`;`+t.metadata.toString()),n})}function ze(e){if(!e)return;let t=e.indexOf(`;`),n=t===-1?e:e.substring(0,t),r=n.indexOf(`=`);if(r<=0)return;let i=n.substring(0,r).trim(),a=n.substring(r+1).trim();if(!i||!a)return;let o,s;try{o=decodeURIComponent(i),s=decodeURIComponent(a)}catch{return}let c;return t!==-1&&t<e.length-1&&(c=ee(e.substring(t+1))),{key:o,value:s,metadata:c}}function Be(e,t,n,r){let i=0;for(;i<e.length&&n<180;){let a=e.indexOf(`,`,i),o=a===-1?e.length:a,s=o-i;if(s<=4096){let a=ze(e.substring(i,o));if(a){let e=(n===0?0:1)+s;if(r+e>8192)break;t[a.key]=a.metadata?{value:a.value,metadata:a.metadata}:{value:a.value},n++,r+=e}}if(a===-1)break;i=a+1}return[n,r]}var Ve=class{inject(e,t,n){let r=m.getBaggage(e);if(!r||Pe(e))return;let i=Le(Re(r).filter(e=>e.length<=Ie).slice(0,180));i.length>0&&n.set(t,Fe,i)}extract(e,t,n){let r=n.get(t,Fe);if(!r)return e;let i={},a=0,o=0;if(Array.isArray(r))for(let e=0;e<r.length;e++)[a,o]=Be(r[e],i,a,o);else [a]=Be(r,i,a,o);return a===0?e:m.setBaggage(e,m.createBaggage(i))}fields(){return[Fe]}};function v(e){let t={};if(typeof e!=`object`||!e)return t;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;if(!He(n)){_.warn(`Invalid attribute key: ${n}`);continue}let r=e[n];if(!Ue(r)){_.warn(`Invalid attribute value set for key: ${n}`);continue}Array.isArray(r)?t[n]=r.slice():t[n]=r}return t}function He(e){return typeof e==`string`&&e!==``}function Ue(e){return e==null?!0:Array.isArray(e)?We(e):Ge(typeof e)}function We(e){let t;for(let n of e){if(n==null)continue;let e=typeof n;if(e!==t){if(!t){if(Ge(e)){t=e;continue}return!1}return!1}}return!0}function Ge(e){switch(e){case`number`:case`boolean`:case`string`:return!0}return!1}function Ke(){return e=>{_.error(qe(e))}}function qe(e){return typeof e==`string`?e:JSON.stringify(Je(e))}function Je(e){let t={},n=e;for(;n!==null;)Object.getOwnPropertyNames(n).forEach(e=>{if(t[e])return;let r=n[e];r&&(t[e]=String(r))}),n=Object.getPrototypeOf(n);return t}var Ye=Ke();function y(e){try{Ye(e)}catch{}}var Xe=globalThis,Ze=`2.8.0`,Qe=`http.url`,$e=`http.user_agent`,et=Qe,tt=$e,nt=`deployment.environment.name`,rt=`error.type`,it=`exception.message`,at=`exception.stacktrace`,ot=`exception.type`,st=`http.request.method`,ct=`http.request.method_original`,lt=`http.response.status_code`,ut=`server.address`,dt=`server.port`,ft=`service.name`,pt=`service.version`,mt=`telemetry.sdk.language`,ht=`webjs`,gt=`telemetry.sdk.name`,_t=`telemetry.sdk.version`,vt=`url.full`,yt=`process.runtime.name`,bt={[gt]:`opentelemetry`,[yt]:`browser`,[mt]:ht,[_t]:Ze},b=performance,xt=9,St=10**6,x=10**xt;function S(e){let t=e/1e3;return[Math.trunc(t),Math.round(e%1e3*St)]}function C(e){return Et(S(b.timeOrigin),S(typeof e==`number`?e:b.now()))}function w(e){if(wt(e))return e;if(typeof e==`number`)return e<b.timeOrigin?C(e):S(e);if(e instanceof Date)return S(e.getTime());throw TypeError(`Invalid input type`)}function Ct(e,t){let n=t[0]-e[0],r=t[1]-e[1];return r<0&&(--n,r+=x),[n,r]}function T(e){return e[0]*x+e[1]}function wt(e){return Array.isArray(e)&&e.length===2&&typeof e[0]==`number`&&typeof e[1]==`number`}function Tt(e){return wt(e)||typeof e==`number`||e instanceof Date}function Et(e,t){let n=[e[0]+t[0],e[1]+t[1]];return n[1]>=x&&(n[1]-=x,n[0]+=1),n}var E;(function(e){e[e.SUCCESS=0]=`SUCCESS`,e[e.FAILED=1]=`FAILED`})(E||={});var Dt=class{_propagators;_fields;constructor(e={}){this._propagators=e.propagators??[];let t=new Set;for(let e of this._propagators){let n=typeof e.fields==`function`?e.fields():[];for(let e of n)t.add(e)}this._fields=Array.from(t)}inject(e,t,n){for(let r of this._propagators)try{r.inject(e,t,n)}catch(e){_.warn(`Failed to inject with ${r.constructor.name}. Err: ${e.message}`)}}extract(e,t,n){return this._propagators.reduce((e,r)=>{try{return r.extract(e,t,n)}catch(e){_.warn(`Failed to extract with ${r.constructor.name}. Err: ${e.message}`)}return e},e)}fields(){return this._fields.slice()}},Ot=`[_0-9a-z-*/]`,kt=`[a-z]${Ot}{0,255}`,At=`[a-z0-9]${Ot}{0,240}@[a-z]${Ot}{0,13}`,jt=RegExp(`^(?:${kt}|${At})$`),Mt=/^[ -~]{0,255}[!-~]$/,Nt=/,|=/;function Pt(e){return jt.test(e)}function Ft(e){return Mt.test(e)&&!Nt.test(e)}var It=32,Lt=512,Rt=`,`,zt=`=`,Bt=class e{_length;_rawTraceState;_internalState;constructor(e){this._rawTraceState=typeof e==`string`?e:``,this._length=this._rawTraceState.length}set(e,t){if(!Pt(e)||!Ft(t))return this;let n=this._getState(),r=n.get(e),i=this._length;if(typeof r==`string`?i+=t.length-r.length:i+=e.length+t.length+(n.size>0?2:1),i>Lt)return this;let a=new Map(n);return a.delete(e),a.set(e,t),this._fromState(a,i)}unset(e){let t=this._getState(),n=t.get(e);if(typeof n!=`string`)return this;let r=this._length-(e.length+n.length+1);t.size>1&&--r;let i=new Map(t);return i.delete(e),this._fromState(i,r)}get(e){return this._getState().get(e)}serialize(){let e=``,t=0;for(let n of this._getState())t>0&&(e=Rt+e),e=`${n[0]}${zt}${n[1]}`+e,t++;return e}_getState(){if(this._internalState)return this._internalState;let e=this._rawTraceState.split(Rt),t=new Map,n=0;for(let r of e){let e=r.trim(),i=e.indexOf(zt);if(i===-1)continue;let a=e.slice(0,i),o=e.slice(i+1);if(!Pt(a)||!Ft(o))continue;let s=n+e.length+ +(t.size>0);if(!(s>Lt)&&(t.set(a,o),n=s,t.size>=It))break}return this._length=n,this._internalState=new Map(Array.from(t.entries()).reverse()),this._internalState}_fromState(t,n){let r=Object.create(e.prototype);return r._internalState=t,r._length=n,r}},D=`traceparent`,Vt=`tracestate`,Ht=`00`,Ut=RegExp(`^\\s?((?!ff)[\\da-f]{2})-((?![0]{32})[\\da-f]{32})-((?![0]{16})[\\da-f]{16})-([\\da-f]{2})(-.*)?\\s?$`);function Wt(e){let t=Ut.exec(e);return!t||t[1]===`00`&&t[5]?null:{traceId:t[2],spanId:t[3],traceFlags:parseInt(t[4],16)}}var Gt=class{inject(e,t,n){let r=f.getSpanContext(e);if(!r||Pe(e)||!d(r))return;let i=`${Ht}-${r.traceId}-${r.spanId}-0${Number(r.traceFlags||l.NONE).toString(16)}`;n.set(t,D,i),r.traceState&&n.set(t,Vt,r.traceState.serialize())}extract(e,t,n){let r=n.get(t,D);if(!r)return e;let i=Array.isArray(r)?r[0]:r;if(typeof i!=`string`)return e;let a=Wt(i);if(!a)return e;a.isRemote=!0;let o=n.get(t,Vt);if(o){let e=Array.isArray(o)?o.join(`,`):o;a.traceState=new Bt(typeof e==`string`?e:void 0)}return f.setSpanContext(e,a)}fields(){return[D,Vt]}},Kt=`[object Object]`,qt=`[object Null]`,Jt=`[object Undefined]`,Yt=Function.prototype.toString,Xt=Yt.call(Object),Zt=Object.getPrototypeOf,Qt=Object.prototype,$t=Qt.hasOwnProperty,O=Symbol?Symbol.toStringTag:void 0,en=Qt.toString;function tn(e){if(!nn(e)||rn(e)!==Kt)return!1;let t=Zt(e);if(t===null)return!0;let n=$t.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&Yt.call(n)===Xt}function nn(e){return typeof e==`object`&&!!e}function rn(e){return e==null?e===void 0?Jt:qt:O&&O in Object(e)?an(e):on(e)}function an(e){let t=$t.call(e,O),n=e[O],r=!1;try{e[O]=void 0,r=!0}catch{}let i=en.call(e);return r&&(t?e[O]=n:delete e[O]),i}function on(e){return en.call(e)}var sn=20;function cn(...e){let t=e.shift(),n=new WeakMap;for(;e.length>0;)t=un(t,e.shift(),0,n);return t}function ln(e){return k(e)?e.slice():e}function un(e,t,n=0,r){let i;if(!(n>sn)){if(n++,pn(e)||pn(t)||fn(t))i=ln(t);else if(k(e)){if(i=e.slice(),k(t))for(let e=0,n=t.length;e<n;e++)i.push(ln(t[e]));else if(A(t)){let e=Object.keys(t);for(let n=0,r=e.length;n<r;n++){let r=e[n];r===`__proto__`||r===`constructor`||r===`prototype`||(i[r]=ln(t[r]))}}}else if(A(e))if(A(t)){if(!mn(e,t))return t;i=Object.assign({},e);let a=Object.keys(t);for(let o=0,s=a.length;o<s;o++){let s=a[o];if(s===`__proto__`||s===`constructor`||s===`prototype`)continue;let c=t[s];if(pn(c))c===void 0?delete i[s]:i[s]=c;else{let a=i[s],o=c;if(dn(e,s,r)||dn(t,s,r))delete i[s];else{if(A(a)&&A(o)){let n=r.get(a)||[],i=r.get(o)||[];n.push({obj:e,key:s}),i.push({obj:t,key:s}),r.set(a,n),r.set(o,i)}i[s]=un(i[s],c,n,r)}}}}else i=t;return i}}function dn(e,t,n){let r=n.get(e[t])||[];for(let n=0,i=r.length;n<i;n++){let i=r[n];if(i.key===t&&i.obj===e)return!0}return!1}function k(e){return Array.isArray(e)}function fn(e){return typeof e==`function`}function A(e){return!pn(e)&&!k(e)&&!fn(e)&&typeof e==`object`}function pn(e){return typeof e==`string`||typeof e==`number`||typeof e==`boolean`||e===void 0||e instanceof Date||e instanceof RegExp||e===null}function mn(e,t){return!(!tn(e)||!tn(t))}function hn(e,t){return typeof t==`string`?e===t:!!e.match(t)}function gn(e,t){if(!t)return!1;for(let n of t)if(hn(e,n))return!0;return!1}var _n=class{_promise;_resolve;_reject;constructor(){this._promise=new Promise((e,t)=>{this._resolve=e,this._reject=t})}get promise(){return this._promise}resolve(e){this._resolve(e)}reject(e){this._reject(e)}},vn=class{_isCalled=!1;_deferred=new _n;_callback;_that;constructor(e,t){this._callback=e,this._that=t}get isCalled(){return this._isCalled}get promise(){return this._deferred.promise}call(...e){if(!this._isCalled){this._isCalled=!0;try{Promise.resolve(this._callback.call(this._that,...e)).then(e=>this._deferred.resolve(e),e=>this._deferred.reject(e))}catch(e){this._deferred.reject(e)}}return this._deferred.promise}};function yn(e){return Object.prototype.hasOwnProperty.call(e,`partialSuccess`)}function bn(){return{handleResponse(e){e==null||!yn(e)||e.partialSuccess==null||Object.keys(e.partialSuccess).length===0||_.warn(`Received Partial Success response:`,JSON.stringify(e.partialSuccess))}}}var xn=class{_transport;_serializer;_responseHandler;_promiseQueue;_timeout;_diagLogger;constructor(e,t,n,r,i){this._transport=e,this._serializer=t,this._responseHandler=n,this._promiseQueue=r,this._timeout=i,this._diagLogger=_.createComponentLogger({namespace:`OTLPExportDelegate`})}export(e,t){if(this._diagLogger.debug(`items to be sent`,e),this._promiseQueue.hasReachedLimit()){t({code:E.FAILED,error:Error(`Concurrent export limit reached`)});return}let n=this._serializer.serializeRequest(e);if(n==null){t({code:E.FAILED,error:Error(`Nothing to send`)});return}this._promiseQueue.pushPromise(this._transport.send(n,this._timeout).then(e=>{if(e.status===`success`){if(e.data!=null)try{this._responseHandler.handleResponse(this._serializer.deserializeResponse(e.data))}catch(t){this._diagLogger.warn(`Export succeeded but could not deserialize response - is the response specification compliant?`,t,e.data)}t({code:E.SUCCESS});return}else if(e.status===`failure`&&e.error){t({code:E.FAILED,error:e.error});return}else e.status===`retryable`?t({code:E.FAILED,error:new Te(`Export failed with retryable status`)}):t({code:E.FAILED,error:new Te(`Export failed with unknown error`)})},e=>t({code:E.FAILED,error:e})))}forceFlush(){return this._promiseQueue.awaitAll()}async shutdown(){this._diagLogger.debug(`shutdown started`),await this.forceFlush(),this._transport.shutdown()}};function Sn(e,t){return new xn(e.transport,e.serializer,bn(),e.promiseHandler,t.timeout)}function Cn(e,t,n){return Sn({transport:n,serializer:t,promiseHandler:je(e)},{timeout:e.timeoutMillis})}function wn(e){return e>=48&&e<=57?e-48:e>=97&&e<=102?e-87:e-55}function Tn(e){let t=new Uint8Array(e.length/2),n=0;for(let r=0;r<e.length;r+=2){let i=wn(e.charCodeAt(r)),a=wn(e.charCodeAt(r+1));t[n++]=i<<4|a}return t}function En(e){let t=BigInt(1e9);return BigInt(e[0])*t+BigInt(e[1])}function Dn(e){return{low:Number(BigInt.asUintN(32,e)),high:Number(BigInt.asUintN(32,e>>BigInt(32)))}}function On(e){return Dn(En(e))}function kn(e){return En(e).toString()}var An=typeof BigInt<`u`?kn:T;function jn(e){return e}function Mn(e){if(e!==void 0)return Tn(e)}var Nn={encodeHrTime:On,encodeSpanContext:Tn,encodeOptionalSpanContext:Mn};function Pn(e){if(e===void 0)return Nn;let t=e.useLongBits??!0,n=e.useHex??!1;return{encodeHrTime:t?On:An,encodeSpanContext:n?jn:Tn,encodeOptionalSpanContext:n?jn:Mn}}function Fn(e){let t={attributes:Ln(e.attributes),droppedAttributesCount:0},n=e.schemaUrl;return n&&n!==``&&(t.schemaUrl=n),t}function In(e){return{name:e.name,version:e.version}}function Ln(e){return Object.keys(e).map(t=>Rn(t,e[t]))}function Rn(e,t){return{key:e,value:zn(t)}}function zn(e){let t=typeof e;return t===`string`?{stringValue:e}:t===`number`?Number.isInteger(e)?{intValue:e}:{doubleValue:e}:t===`boolean`?{boolValue:e}:e instanceof Uint8Array?{bytesValue:e}:Array.isArray(e)?{arrayValue:{values:e.map(zn)}}:t===`object`&&e!=null?{kvlistValue:{values:Object.entries(e).map(([e,t])=>Rn(e,t))}}:{}}function Bn(e,t){let n=e.spanContext(),r=e.status,i=e.parentSpanContext?.spanId?t.encodeSpanContext(e.parentSpanContext?.spanId):void 0;return{traceId:t.encodeSpanContext(n.traceId),spanId:t.encodeSpanContext(n.spanId),parentSpanId:i,traceState:n.traceState?.serialize(),name:e.name,kind:e.kind==null?0:e.kind+1,startTimeUnixNano:t.encodeHrTime(e.startTime),endTimeUnixNano:t.encodeHrTime(e.endTime),attributes:Ln(e.attributes),droppedAttributesCount:e.droppedAttributesCount,events:e.events.map(e=>Hn(e,t)),droppedEventsCount:e.droppedEventsCount,status:{code:r.code,message:r.message},links:e.links.map(e=>Vn(e,t)),droppedLinksCount:e.droppedLinksCount}}function Vn(e,t){return{attributes:e.attributes?Ln(e.attributes):[],spanId:t.encodeSpanContext(e.context.spanId),traceId:t.encodeSpanContext(e.context.traceId),traceState:e.context.traceState?.serialize(),droppedAttributesCount:e.droppedAttributesCount||0}}function Hn(e,t){return{attributes:e.attributes?Ln(e.attributes):[],name:e.name,timeUnixNano:t.encodeHrTime(e.time),droppedAttributesCount:e.droppedAttributesCount||0}}function Un(e,t){return{resourceSpans:Gn(e,Pn(t))}}function Wn(e){let t=new Map;for(let n of e){let e=t.get(n.resource);e||(e=new Map,t.set(n.resource,e));let r=`${n.instrumentationScope.name}@${n.instrumentationScope.version||``}:${n.instrumentationScope.schemaUrl||``}`,i=e.get(r);i||(i=[],e.set(r,i)),i.push(n)}return t}function Gn(e,t){let n=Wn(e),r=[],i=n.entries(),a=i.next();for(;!a.done;){let[e,n]=a.value,o=[],s=n.values(),c=s.next();for(;!c.done;){let e=c.value;if(e.length>0){let n=e.map(e=>Bn(e,t));o.push({scope:In(e[0].instrumentationScope),spans:n,schemaUrl:e[0].instrumentationScope.schemaUrl})}c=s.next()}let l=Fn(e),u={resource:l,scopeSpans:o,schemaUrl:l.schemaUrl};r.push(u),a=i.next()}return r}var Kn={serializeRequest:e=>{let t=Un(e,{useHex:!0,useLongBits:!1});return new TextEncoder().encode(JSON.stringify(t))},deserializeResponse:e=>{if(e.length===0)return{};let t=new TextDecoder;return JSON.parse(t.decode(e))}},qn=5,Jn=1e3,Yn=5e3,Xn=1.5,Zn=.2;function Qn(){return 2*Zn*Math.random()-Zn}var $n=class{_transport;constructor(e){this._transport=e}retry(e,t,n){return new Promise((r,i)=>{setTimeout(()=>{this._transport.send(e,t).then(r,i)},n)})}async send(e,t){let n=Date.now()+t,r=await this._transport.send(e,t),i=qn,a=Jn;for(;r.status===`retryable`&&i>0;){i--;let t=Math.max(Math.min(a,Yn)+Qn(),0);a*=Xn;let o=r.retryInMillis??t,s=n-Date.now();if(o>s)return r;r=await this.retry(e,s,o)}return r}shutdown(){return this._transport.shutdown()}};function er(e){return new $n(e.transport)}function tr(e){return[429,502,503,504].includes(e)}function nr(e){if(e==null)return;let t=Number.parseInt(e,10);if(Number.isInteger(t))return t>0?t*1e3:-1;let n=new Date(e).getTime()-Date.now();return n>=0?n:0}var rr=class{_parameters;constructor(e){this._parameters=e}send(e,t){return new Promise(n=>{let r=new XMLHttpRequest;r.timeout=t,r.open(`POST`,this._parameters.url);let i=this._parameters.headers();Object.entries(i).forEach(([e,t])=>{r.setRequestHeader(e,t)}),r.ontimeout=e=>{n({status:`failure`,error:Error(`XHR request timed out`)})},r.onreadystatechange=()=>{r.status>=200&&r.status<=299?(_.debug(`XHR success`),n({status:`success`})):r.status&&tr(r.status)?n({status:`retryable`,retryInMillis:nr(r.getResponseHeader(`Retry-After`))}):r.status!==0&&n({status:`failure`,error:Error(`XHR request failed with non-retryable status`)})},r.onabort=()=>{n({status:`failure`,error:Error(`XHR request aborted`)})},r.onerror=()=>{n({status:`failure`,error:Error(`XHR request errored`)})},r.send(e)})}shutdown(){}};function ir(e){return new rr(e)}var ar=class{_params;constructor(e){this._params=e}send(e){return new Promise(t=>{navigator.sendBeacon(this._params.url,new Blob([e],{type:this._params.blobType}))?(_.debug(`SendBeacon success`),t({status:`success`})):t({status:`failure`,error:Error(`SendBeacon failed`)})})}shutdown(){}};function or(e){return new ar(e)}var sr=class{_parameters;constructor(e){this._parameters=e}async send(e,t){let n=new AbortController,r=setTimeout(()=>n.abort(),t);try{let t=!!globalThis.location,r=new URL(this._parameters.url),i=await fetch(r.href,{method:`POST`,headers:this._parameters.headers(),body:e,signal:n.signal,keepalive:t,mode:t?globalThis.location?.origin===r.origin?`same-origin`:`cors`:`no-cors`});return i.status>=200&&i.status<=299?(_.debug(`response success`),{status:`success`}):tr(i.status)?{status:`retryable`,retryInMillis:nr(i.headers.get(`Retry-After`))}:{status:`failure`,error:Error(`Fetch request failed with non-retryable status`)}}catch(e){return e?.name===`AbortError`?{status:`failure`,error:Error(`Fetch request timed out`,{cause:e})}:{status:`failure`,error:Error(`Fetch request errored`,{cause:e})}}finally{clearTimeout(r)}}shutdown(){}};function cr(e){return new sr(e)}function lr(e,t){return Cn(e,t,er({transport:ir(e)}))}function ur(e,t){return Cn(e,t,er({transport:cr(e)}))}function dr(e,t){return Cn(e,t,er({transport:or({url:e.url,blobType:e.headers()[`Content-Type`]})}))}function fr(e){return()=>{let t={};return Object.entries(e?.()??{}).forEach(([e,n])=>{n===void 0?_.warn(`Header "${e}" has invalid value (${n}) and will be ignored`):t[e]=String(n)}),t}}function pr(e,t,n){let r={...n()},i={};return()=>(t!=null&&Object.assign(i,t()),e!=null&&Object.assign(i,e()),Object.assign(i,r))}function mr(e){if(e!=null)try{let t=globalThis.location?.href;return new URL(e,t).href}catch{throw Error(`Configuration: Could not parse user-provided export URL: '${e}'`)}}function hr(n){return async r=>{let{Agent:i}=await t(()=>import(`./__vite-browser-external-BpzCr_ou.js`).then(t=>e(t.default)),__vite__mapDeps([0,1]),import.meta.url);return new i(n)}}function gr(e,t,n){return{...Oe(e,t,n),headers:pr(fr(e.headers),t.headers,n.headers),url:mr(e.url)??t.url??n.url,agentFactory:e.agentFactory??t.agentFactory??n.agentFactory}}function _r(e,t){return{...ke(),headers:()=>e,url:`http://localhost:4318/`+t,agentFactory:hr({keepAlive:!0})}}function vr(e,t,n){return gr({url:e.url,timeoutMillis:e.timeoutMillis,headers:De(e.headers),concurrencyLimit:e.concurrencyLimit},{},_r(n,t))}function yr(e,t,n,r){return br(e.headers)(vr(e,n,r),t)}function br(e){return!e&&typeof navigator.sendBeacon==`function`?dr:globalThis.fetch===void 0?lr:ur}var xr=class extends we{constructor(e={}){super(yr(e,Kn,`v1/traces`,{"Content-Type":`application/json`}))}},Sr=class{emit(e){}},Cr=new Sr,wr=new class{getLogger(e,t,n){return new Sr}},Tr=class{constructor(e,t,n,r){this._provider=e,this.name=t,this.version=n,this.options=r}emit(e){this._getLogger().emit(e)}_getLogger(){if(this._delegate)return this._delegate;let e=this._provider._getDelegateLogger(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):Cr}},Er=class{getLogger(e,t,n){return this._getDelegateLogger(e,t,n)??new Tr(this,e,t,n)}_getDelegate(){return this._delegate??wr}_setDelegate(e){this._delegate=e}_getDelegateLogger(e,t,n){return this._delegate?.getLogger(e,t,n)}},Dr=typeof globalThis==`object`?globalThis:typeof self==`object`?self:typeof window==`object`?window:typeof global==`object`?global:{},j=Symbol.for(`io.opentelemetry.js.api.logs`),M=Dr;function Or(e,t,n){return r=>r===e?t:n}var kr=class e{constructor(){this._proxyLoggerProvider=new Er}static getInstance(){return this._instance||=new e,this._instance}setGlobalLoggerProvider(e){return M[j]?this.getLoggerProvider():(M[j]=Or(1,e,wr),this._proxyLoggerProvider._setDelegate(e),e)}getLoggerProvider(){return M[j]?.call(M,1)??this._proxyLoggerProvider}getLogger(e,t,n){return this.getLoggerProvider().getLogger(e,t,n)}disable(){delete M[j],this._proxyLoggerProvider=new Er}}.getInstance();function Ar(e,t,n,r){for(let i=0,a=e.length;i<a;i++){let a=e[i];t&&a.setTracerProvider(t),n&&a.setMeterProvider(n),r&&a.setLoggerProvider&&a.setLoggerProvider(r),a.getConfig().enabled||a.enable()}}function jr(e){e.forEach(e=>e.disable())}function Mr(e){let t=e.tracerProvider||f.getTracerProvider(),n=e.meterProvider||Ce.getMeterProvider(),r=e.loggerProvider||kr.getLoggerProvider(),i=e.instrumentations?.flat()??[];return Ar(i,t,n,r),()=>{jr(i)}}var N=console.error.bind(console);function P(e,t,n){let r=!!e[t]&&Object.prototype.propertyIsEnumerable.call(e,t);Object.defineProperty(e,t,{configurable:!0,enumerable:r,writable:!0,value:n})}var Nr=(e,t,n)=>{if(!e||!e[t]){N(`no original function `+String(t)+` to wrap`);return}if(!n){N(`no wrapper function`),N(Error().stack);return}let r=e[t];if(typeof r!=`function`||typeof n!=`function`){N(`original object and wrapper must be functions`);return}let i=n(r,t);return P(i,`__original`,r),P(i,`__unwrap`,()=>{e[t]===i&&P(e,t,r)}),P(i,`__wrapped`,!0),P(e,t,i),i},Pr=(e,t,n)=>{if(e)Array.isArray(e)||(e=[e]);else{N(`must provide one or more modules to patch`),N(Error().stack);return}if(!(t&&Array.isArray(t))){N(`must provide one or more functions to wrap on modules`);return}e.forEach(e=>{t.forEach(t=>{Nr(e,t,n)})})},Fr=(e,t)=>{if(!e||!e[t]){N(`no function to unwrap.`),N(Error().stack);return}let n=e[t];if(!n.__unwrap)N(`no original to unwrap to -- has `+String(t)+` already been unwrapped?`);else{n.__unwrap();return}},Ir=(e,t)=>{if(e)Array.isArray(e)||(e=[e]);else{N(`must provide one or more modules to patch`),N(Error().stack);return}if(!(t&&Array.isArray(t))){N(`must provide one or more functions to unwrap on modules`);return}e.forEach(e=>{t.forEach(t=>{Fr(e,t)})})};function F(e){e&&e.logger&&(typeof e.logger==`function`?N=e.logger:N(`new logger isn't a function, not replacing`))}F.wrap=Nr,F.massWrap=Pr,F.unwrap=Fr,F.massUnwrap=Ir;var Lr=class{instrumentationName;instrumentationVersion;_config={};_tracer;_meter;_logger;_diag;constructor(e,t,n){this.instrumentationName=e,this.instrumentationVersion=t,this.setConfig(n),this._diag=_.createComponentLogger({namespace:e}),this._tracer=f.getTracer(e,t),this._meter=Ce.getMeter(e,t),this._logger=kr.getLogger(e,t),this._updateMetricInstruments()}_wrap=Nr;_unwrap=Fr;_massWrap=Pr;_massUnwrap=Ir;get meter(){return this._meter}setMeterProvider(e){this._meter=e.getMeter(this.instrumentationName,this.instrumentationVersion),this._updateMetricInstruments()}get logger(){return this._logger}setLoggerProvider(e){this._logger=e.getLogger(this.instrumentationName,this.instrumentationVersion)}getModuleDefinitions(){let e=this.init()??[];return Array.isArray(e)?e:[e]}_updateMetricInstruments(){}getConfig(){return this._config}setConfig(e){this._config={enabled:!0,...e}}setTracerProvider(e){this._tracer=e.getTracer(this.instrumentationName,this.instrumentationVersion)}get tracer(){return this._tracer}_runSpanCustomizationHook(e,t,n,r){if(e)try{e(n,r)}catch(e){this._diag.error(`Error running span customization hook due to exception in handler`,{triggerName:t},e)}}},Rr=class extends Lr{constructor(e,t,n){super(e,t,n),this._config.enabled&&this.enable()}};function I(e,t,n){let r,i;try{i=e()}catch(e){r=e}finally{if(t(r,i),r&&!n)throw r;return i}}function L(e){return typeof e==`function`&&typeof e.__original==`function`&&typeof e.__unwrap==`function`&&e.__wrapped===!0}var R;(function(e){e[e.STABLE=1]=`STABLE`,e[e.OLD=2]=`OLD`,e[e.DUPLICATE=3]=`DUPLICATE`})(R||={});function zr(e,t){let n=R.OLD,r=t?.split(`,`).map(e=>e.trim()).filter(e=>e!==``);for(let t of r??[])if(t.toLowerCase()===e+`/dup`){n=R.DUPLICATE;break}else t.toLowerCase()===e&&(n=R.STABLE);return n}var z;function Br(){if(z===void 0)try{let e=globalThis.process.argv0;z=e?`unknown_service:${e}`:`unknown_service`}catch{z=`unknown_service`}return z}var B=e=>typeof e==`object`&&!!e&&typeof e.then==`function`,Vr=class e{_rawAttributes;_asyncAttributesPending=!1;_schemaUrl;_memoizedAttributes;static FromAttributeList(t,n){let r=new e({},n);return r._rawAttributes=Wr(t),r._asyncAttributesPending=t.filter(([e,t])=>B(t)).length>0,r}constructor(e,t){let n=e.attributes??{};this._rawAttributes=Object.entries(n).map(([e,t])=>(B(t)&&(this._asyncAttributesPending=!0),[e,t])),this._rawAttributes=Wr(this._rawAttributes),this._schemaUrl=Gr(t?.schemaUrl)}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(this.asyncAttributesPending){for(let e=0;e<this._rawAttributes.length;e++){let[t,n]=this._rawAttributes[e];this._rawAttributes[e]=[t,B(n)?await n:n]}this._asyncAttributesPending=!1}}get attributes(){if(this.asyncAttributesPending&&_.error(`Accessing resource attributes before async attributes settled`),this._memoizedAttributes)return this._memoizedAttributes;let e={};for(let[t,n]of this._rawAttributes){if(B(n)){_.debug(`Unsettled resource attribute ${t} skipped`);continue}n!=null&&(e[t]??=n)}return this._asyncAttributesPending||(this._memoizedAttributes=e),e}getRawAttributes(){return this._rawAttributes}get schemaUrl(){return this._schemaUrl}merge(t){if(t==null)return this;let n=Kr(this,t),r=n?{schemaUrl:n}:void 0;return e.FromAttributeList([...t.getRawAttributes(),...this.getRawAttributes()],r)}};function Hr(e,t){return Vr.FromAttributeList(Object.entries(e),t)}function Ur(){return Hr({[ft]:Br(),[mt]:bt[mt],[gt]:bt[gt],[_t]:bt[_t]})}function Wr(e){return e.map(([e,t])=>B(t)?[e,t.catch(t=>{_.debug(`promise rejection for resource attribute: %s - %s`,e,t)})]:[e,t])}function Gr(e){if(typeof e==`string`||e===void 0)return e;_.warn(`Schema URL must be string or undefined, got %s. Schema URL will be ignored.`,e)}function Kr(e,t){let n=e?.schemaUrl,r=t?.schemaUrl,i=n===void 0||n===``,a=r===void 0||r===``;if(i)return r;if(a||n===r)return n;_.warn(`Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.`,n,r)}var qr=`exception`,Jr=Symbol.for(`nodejs.util.inspect.custom`);function Yr(e){let t={};for(let[n,r]of e.getRawAttributes())typeof r?.then!=`function`&&r!=null&&(t[n]??=r);return t}function Xr(e,t,n,r,i){if(typeof n==`number`&&n<0){let t=`[${e}]`;return r?.stylize?r.stylize(t,`special`):t}return typeof i!=`function`||!r?t:`${e} ${i(t,{...r,depth:r.depth==null?r.depth:r.depth-1})}`}var Zr=class{_spanContext;kind;parentSpanContext;attributes={};links=[];events=[];startTime;resource;instrumentationScope;_droppedAttributesCount=0;_droppedEventsCount=0;_droppedLinksCount=0;_attributesCount=0;name;status={code:c.UNSET};endTime=[0,0];_ended=!1;_duration=[-1,-1];_spanProcessor;_spanLimits;_attributeValueLengthLimit;_recordEndMetrics;_performanceStartTime;_performanceOffset;_startTimeProvided;constructor(e){let t=Date.now();if(this._spanContext=e.spanContext,this._performanceStartTime=b.now(),this._performanceOffset=t-(this._performanceStartTime+b.timeOrigin),this._startTimeProvided=e.startTime!=null,this._spanLimits=e.spanLimits,this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit??0,this._spanProcessor=e.spanProcessor,this.name=e.name,this.parentSpanContext=e.parentSpanContext,this.kind=e.kind,e.links)for(let t of e.links)this.addLink(t);this.startTime=this._getTime(e.startTime??t),this.resource=e.resource,this.instrumentationScope=e.scope,this._recordEndMetrics=e.recordEndMetrics,e.attributes!=null&&this.setAttributes(e.attributes),this._spanProcessor.onStart(this,e.context)}spanContext(){return this._spanContext}setAttribute(e,t){if(t==null||this._isSpanEnded())return this;if(e.length===0)return _.warn(`Invalid attribute key: ${e}`),this;if(!Ue(t))return _.warn(`Invalid attribute value set for key: ${e}`),this;let{attributeCountLimit:n}=this._spanLimits,r=!Object.prototype.hasOwnProperty.call(this.attributes,e);return n!==void 0&&this._attributesCount>=n&&r?(this._droppedAttributesCount++,this):(this.attributes[e]=this._truncateToSize(t),r&&this._attributesCount++,this)}setAttributes(e){for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&this.setAttribute(t,e[t]);return this}addEvent(e,t,n){if(this._isSpanEnded())return this;let{eventCountLimit:r}=this._spanLimits;if(r===0)return _.warn(`No events allowed.`),this._droppedEventsCount++,this;r!==void 0&&this.events.length>=r&&(this._droppedEventsCount===0&&_.debug(`Dropping extra events.`),this.events.shift(),this._droppedEventsCount++),Tt(t)&&(Tt(n)||(n=t),t=void 0);let i=v(t),{attributePerEventCountLimit:a}=this._spanLimits,o={},s=0,c=0;for(let e in i){if(!Object.prototype.hasOwnProperty.call(i,e))continue;let t=i[e];if(a!==void 0&&c>=a){s++;continue}o[e]=this._truncateToSize(t),c++}return this.events.push({name:e,attributes:o,time:this._getTime(n),droppedAttributesCount:s}),this}addLink(e){if(this._isSpanEnded())return this;let{linkCountLimit:t}=this._spanLimits;if(t===0)return this._droppedLinksCount++,this;t!==void 0&&this.links.length>=t&&(this._droppedLinksCount===0&&_.debug(`Dropping extra links.`),this.links.shift(),this._droppedLinksCount++);let{attributePerLinkCountLimit:n}=this._spanLimits,r=v(e.attributes),i={},a=0,o=0;for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let t=r[e];if(n!==void 0&&o>=n){a++;continue}i[e]=this._truncateToSize(t),o++}let s={context:e.context};return o>0&&(s.attributes=i),a>0&&(s.droppedAttributesCount=a),this.links.push(s),this}addLinks(e){for(let t of e)this.addLink(t);return this}setStatus(e){if(this._isSpanEnded()||e.code===c.UNSET||this.status.code===c.OK)return this;let t={code:e.code};return e.code===c.ERROR&&(typeof e.message==`string`?t.message=e.message:e.message!=null&&_.warn(`Dropping invalid status.message of type '${typeof e.message}', expected 'string'`)),this.status=t,this}updateName(e){return this._isSpanEnded()||(this.name=e),this}end(e){if(this._isSpanEnded()){_.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);return}this.endTime=this._getTime(e),this._duration=Ct(this.startTime,this.endTime),this._duration[0]<0&&(_.warn(`Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.`,this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0]),this._droppedEventsCount>0&&_.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`),this._droppedLinksCount>0&&_.warn(`Dropped ${this._droppedLinksCount} links because linkCountLimit reached`),this._spanProcessor.onEnding&&this._spanProcessor.onEnding(this),this._recordEndMetrics?.(),this._ended=!0,this._spanProcessor.onEnd(this)}_getTime(e){if(typeof e==`number`&&e<=b.now())return C(e+this._performanceOffset);if(typeof e==`number`)return S(e);if(e instanceof Date)return S(e.getTime());if(wt(e))return e;if(this._startTimeProvided)return S(Date.now());let t=b.now()-this._performanceStartTime;return Et(this.startTime,S(t))}isRecording(){return this._ended===!1}recordException(e,t){let n={};typeof e==`string`?n[it]=e:e&&(e.code?n[ot]=e.code.toString():e.name&&(n[ot]=e.name),e.message&&(n[it]=e.message),e.stack&&(n[at]=e.stack)),n[`exception.type`]||n[`exception.message`]?this.addEvent(qr,n,t):_.warn(`Failed to record an exception ${e}`)}get duration(){return this._duration}get ended(){return this._ended}get droppedAttributesCount(){return this._droppedAttributesCount}get droppedEventsCount(){return this._droppedEventsCount}get droppedLinksCount(){return this._droppedLinksCount}_isSpanEnded(){if(this._ended){let e=Error(`Operation attempted on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);_.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`,e)}return this._ended}_truncateToLimitUtil(e,t){return e.length<=t?e:e.substring(0,t)}_truncateToSize(e){let t=this._attributeValueLengthLimit;return t<=0?(_.warn(`Attribute value limit must be positive, got ${t}`),e):typeof e==`string`?this._truncateToLimitUtil(e,t):Array.isArray(e)?e.map(e=>typeof e==`string`?this._truncateToLimitUtil(e,t):e):e}[Jr](e,t,n){return Xr(`SpanImpl`,{name:this.name,kind:this.kind,spanContext:this._spanContext,parentSpanContext:this.parentSpanContext,status:this.status,startTime:this.startTime,endTime:this.endTime,duration:this._duration,ended:this._ended,attributes:this.attributes,events:this.events,links:this.links,droppedAttributesCount:this._droppedAttributesCount,droppedEventsCount:this._droppedEventsCount,droppedLinksCount:this._droppedLinksCount,instrumentationScope:this.instrumentationScope,resource:{attributes:Yr(this.resource)}},e,t,n)}},V;(function(e){e[e.NOT_RECORD=0]=`NOT_RECORD`,e[e.RECORD=1]=`RECORD`,e[e.RECORD_AND_SAMPLED=2]=`RECORD_AND_SAMPLED`})(V||={});var Qr=`otel.component.name`,$r=`otel.component.type`,ei=`otel.span.parent.origin`,ti=`otel.span.sampling_result`,ni=`otel.sdk.processor.span.processed`,ri=`otel.sdk.processor.span.queue.capacity`,ii=`otel.sdk.processor.span.queue.size`,ai=`otel.sdk.span.live`,oi=`otel.sdk.span.started`,si=`batching_span_processor`,ci=class{startedSpans;liveSpans;constructor(e){this.startedSpans=e.createCounter(oi,{unit:`{span}`,description:`The number of created spans.`}),this.liveSpans=e.createUpDownCounter(ai,{unit:`{span}`,description:`The number of currently live spans.`})}startSpan(e,t){let n=ui(t);if(this.startedSpans.add(1,{[ei]:li(e),[ti]:n}),t===V.NOT_RECORD)return()=>{};let r={[ti]:n};return this.liveSpans.add(1,r),()=>{this.liveSpans.add(-1,r)}}};function li(e){return e?e.isRemote?`remote`:`local`:`none`}function ui(e){switch(e){case V.RECORD_AND_SAMPLED:return`RECORD_AND_SAMPLE`;case V.RECORD:return`RECORD_ONLY`;case V.NOT_RECORD:return`DROP`}}var di=`2.9.0`,fi=class{_sampler;_spanLimits;_idGenerator;instrumentationScope;_resource;_spanProcessor;_tracerMetrics;constructor(e,t){this.instrumentationScope=e,this._sampler=t.sampler,this._spanLimits=t.spanLimits,this._resource=t.resource,this._idGenerator=t.idGenerator,this._spanProcessor=t.spanProcessor,this._tracerMetrics=new ci(t.meterProvider.getMeter(`@opentelemetry/sdk-trace`,di))}startSpan(e,t={},r=h.active()){t.root&&(r=f.deleteSpan(r));let i=f.getSpan(r);if(Pe(r))return _.debug(`Instrumentation suppressed, returning Noop Span`),f.wrapSpanContext(n);let a=i?.spanContext(),o=this._idGenerator.generateSpanId(),s,c,u;!a||!f.isSpanContextValid(a)?c=this._idGenerator.generateTraceId():(c=a.traceId,u=a.traceState,s=a);let d=t.kind??be.INTERNAL,p=(t.links??[]).map(e=>({context:e.context,attributes:v(e.attributes)})),ee=v(t.attributes),m=this._sampler.shouldSample(r,c,e,d,ee,p),te=this._tracerMetrics.startSpan(a,m.decision);u=m.traceState??u;let g=m.decision===ye.RECORD_AND_SAMPLED?l.SAMPLED:l.NONE,ne={traceId:c,spanId:o,traceFlags:g,traceState:u};if(m.decision===ye.NOT_RECORD)return _.debug(`Recording is off, propagating context in a non-recording span`),f.wrapSpanContext(ne);let re=v(Object.assign(ee,m.attributes));return new Zr({resource:this._resource,scope:this.instrumentationScope,context:r,spanContext:ne,name:e,kind:d,links:p,parentSpanContext:s,attributes:re,startTime:t.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits,recordEndMetrics:te})}startActiveSpan(e,t,n,r){let i,a,o;if(arguments.length<2)return;arguments.length===2?o=t:arguments.length===3?(i=t,o=n):(i=t,a=n,o=r);let s=a??h.active(),c=this.startSpan(e,i,s),l=f.setSpan(s,c);return h.with(l,o,void 0,c)}[Jr](e,t,n){return Xr(`Tracer`,{instrumentationScope:this.instrumentationScope,resource:{attributes:Yr(this._resource)},spanLimits:this._spanLimits},e,t,n)}},pi=class{_spanProcessors;constructor(e){this._spanProcessors=e}forceFlush(){let e=[];for(let t of this._spanProcessors)e.push(t.forceFlush());return new Promise(t=>{Promise.all(e).then(()=>{t()}).catch(e=>{y(e||Error(`MultiSpanProcessor: forceFlush failed`)),t()})})}onStart(e,t){for(let n of this._spanProcessors)n.onStart(e,t)}onEnding(e){for(let t of this._spanProcessors)t.onEnding&&t.onEnding(e)}onEnd(e){for(let t of this._spanProcessors)t.onEnd(e)}shutdown(){let e=[];for(let t of this._spanProcessors)e.push(t.shutdown());return new Promise((t,n)=>{Promise.all(e).then(()=>{t()},n)})}},H=class{shouldSample(){return{decision:V.NOT_RECORD}}toString(){return`AlwaysOffSampler`}},U=class{shouldSample(){return{decision:V.RECORD_AND_SAMPLED}}toString(){return`AlwaysOnSampler`}},W=class{_root;_remoteParentSampled;_remoteParentNotSampled;_localParentSampled;_localParentNotSampled;constructor(e){this._root=e.root,this._root||=(y(Error(`ParentBasedSampler must have a root sampler configured`)),new U),this._remoteParentSampled=e.remoteParentSampled??new U,this._remoteParentNotSampled=e.remoteParentNotSampled??new H,this._localParentSampled=e.localParentSampled??new U,this._localParentNotSampled=e.localParentNotSampled??new H}shouldSample(e,t,n,r,i,a){let o=f.getSpanContext(e);return!o||!d(o)?this._root.shouldSample(e,t,n,r,i,a):o.isRemote?o.traceFlags&l.SAMPLED?this._remoteParentSampled.shouldSample(e,t,n,r,i,a):this._remoteParentNotSampled.shouldSample(e,t,n,r,i,a):o.traceFlags&l.SAMPLED?this._localParentSampled.shouldSample(e,t,n,r,i,a):this._localParentNotSampled.shouldSample(e,t,n,r,i,a)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}},mi=new Map,hi=class{processedSpans;queueSize;queueSizeCallback;standardAttrs;droppedAttrs;constructor(e,t,n){let r=mi.get(e)??0;if(mi.set(e,r+1),this.standardAttrs={[$r]:e,[Qr]:`${e}/${r}`},this.droppedAttrs={...this.standardAttrs,[rt]:`queue_full`},this.processedSpans=t.createCounter(ni,{unit:`{span}`,description:`The number of spans for which the processing has finished, either successful or failed.`}),n){let{capacity:e,getQueueSize:r}=n;t.createUpDownCounter(ri,{unit:`{span}`,description:`The maximum number of spans the queue of a given instance of an SDK span processor can hold.`}).add(e,this.standardAttrs),this.queueSize=t.createObservableUpDownCounter(ii,{unit:`{span}`,description:`The number of spans in the queue of a given instance of an SDK span processor.`}),this.queueSizeCallback=e=>e.observe(r(),this.standardAttrs),this.queueSize.addCallback(this.queueSizeCallback)}}dropSpans(e){this.processedSpans.add(e,this.droppedAttrs)}finishSpans(e,t){if(!t){this.processedSpans.add(e,this.standardAttrs);return}let n={...this.standardAttrs,[rt]:t.name};this.processedSpans.add(e,n)}shutdown(){this.queueSize&&this.queueSizeCallback&&this.queueSize.removeCallback(this.queueSizeCallback)}},gi=class{_maxExportBatchSize;_maxQueueSize;_scheduledDelayMillis;_exportTimeoutMillis;_exporter;_metrics;_isExporting=!1;_finishedSpans=[];_timer;_shutdownOnce;_droppedSpansCount=0;constructor(e){this._exporter=e.exporter,this._maxExportBatchSize=e.maxExportBatchSize??512,this._maxQueueSize=e.maxQueueSize??2048,this._scheduledDelayMillis=e.scheduledDelayMillis??5e3,this._exportTimeoutMillis=e.exportTimeoutMillis??3e4,this._shutdownOnce=new vn(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(_.warn(`BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize`),this._maxExportBatchSize=this._maxQueueSize),this._metrics=new hi(si,e.selfObsMeterProvider?e.selfObsMeterProvider.getMeter(`@opentelemetry/sdk-trace`):ve(),{capacity:this._maxQueueSize,getQueueSize:()=>this._finishedSpans.length})}forceFlush(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()}onStart(e,t){}onEnd(e){this._shutdownOnce.isCalled||(e.spanContext().traceFlags&l.SAMPLED)!==0&&this._addToBuffer(e)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return Promise.resolve().then(()=>this.onShutdown()).then(()=>this._flushAll()).then(()=>(this._metrics.shutdown(),this._exporter.shutdown()))}_addToBuffer(e){if(this._finishedSpans.length>=this._maxQueueSize){this._droppedSpansCount===0&&_.debug(`maxQueueSize reached, dropping spans`),this._droppedSpansCount++,this._metrics.dropSpans(1);return}this._droppedSpansCount>0&&(_.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0),this._finishedSpans.push(e),this._maybeStartTimer()}_flushAll(){return new Promise((e,t)=>{let n=[],r=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let e=0,t=r;e<t;e++)n.push(this._flushOneBatch());Promise.all(n).then(()=>{e()}).catch(t)})}_flushOneBatch(){return this._clearTimer(),this._finishedSpans.length===0?Promise.resolve():new Promise((e,t)=>{let n=setTimeout(()=>{t(Error(`Timeout`))},this._exportTimeoutMillis);h.with(Ne(h.active()),()=>{let r;this._finishedSpans.length<=this._maxExportBatchSize?(r=this._finishedSpans,this._finishedSpans=[]):r=this._finishedSpans.splice(0,this._maxExportBatchSize);let i=()=>this._exporter.export(r,i=>{clearTimeout(n),this._metrics.finishSpans(r.length,i.error),i.code===E.SUCCESS?e():t(i.error??Error(`BatchSpanProcessor: span export failed`))}),a=null;for(let e=0,t=r.length;e<t;e++){let t=r[e];t.resource.asyncAttributesPending&&t.resource.waitForAsyncAttributes&&(a??=[],a.push(t.resource.waitForAsyncAttributes()))}a===null?i():Promise.all(a).then(i,e=>{y(e),t(e)})})})}_maybeStartTimer(){if(this._isExporting)return;let e=()=>{this._isExporting=!0,this._flushOneBatch().finally(()=>{this._isExporting=!1,this._finishedSpans.length>0&&(this._clearTimer(),this._maybeStartTimer())}).catch(e=>{this._isExporting=!1,y(e)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return e();this._timer===void 0&&(this._timer=setTimeout(()=>e(),this._scheduledDelayMillis),typeof this._timer!=`number`&&this._timer.unref())}_clearTimer(){this._timer!==void 0&&(clearTimeout(this._timer),this._timer=void 0)}},_i=class extends gi{_visibilityChangeListener;_pageHideListener;constructor(e){super(e),this.onInit(e)}onInit(e){e.disableAutoFlushOnDocumentHide!==!0&&typeof document<`u`&&(this._visibilityChangeListener=()=>{document.visibilityState===`hidden`&&this.forceFlush().catch(e=>{y(e)})},this._pageHideListener=()=>{this.forceFlush().catch(e=>{y(e)})},document.addEventListener(`visibilitychange`,this._visibilityChangeListener),document.addEventListener(`pagehide`,this._pageHideListener))}onShutdown(){typeof document<`u`&&(this._visibilityChangeListener&&document.removeEventListener(`visibilitychange`,this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener(`pagehide`,this._pageHideListener))}},vi=16,yi=8,bi=new Uint8Array(vi),xi=new Uint8Array(yi),Si=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,`0`));function Ci(e){for(let t=0;t<e.length;t++)e[t]=Math.random()*256>>>0;for(let t=0;t<e.length;t++)if(e[t]>0)return;e[e.length-1]=1}function wi(e){let t=``;for(let n=0;n<e.length;n++)t+=Si[e[n]];return t}var Ti=class{generateTraceId(){return Ci(bi),wi(bi)}generateSpanId(){return Ci(xi),wi(xi)}},G;(function(e){e[e.resolved=0]=`resolved`,e[e.timeout=1]=`timeout`,e[e.error=2]=`error`,e[e.unresolved=3]=`unresolved`})(G||={});var Ei=class{_resource;_activeSpanProcessor;_forceFlushTimeoutMillis;_tracerOptions;_tracers=new Map;constructor(e={}){this._forceFlushTimeoutMillis=e.forceFlushTimeoutMillis??3e4,this._resource=e.resource??Ur(),this._activeSpanProcessor=new pi(e.spanProcessors??[]),this._tracerOptions={resource:this._resource,sampler:e.sampler??new W({root:new U}),spanLimits:{attributeCountLimit:e.spanLimits?.attributeCountLimit??128,attributeValueLengthLimit:e.spanLimits?.attributeValueLengthLimit??1/0,eventCountLimit:e.spanLimits?.eventCountLimit??128,linkCountLimit:e.spanLimits?.linkCountLimit??128,attributePerEventCountLimit:e.spanLimits?.attributePerEventCountLimit??128,attributePerLinkCountLimit:e.spanLimits?.attributePerLinkCountLimit??128},idGenerator:e.idGenerator||new Ti,spanProcessor:this._activeSpanProcessor,meterProvider:e.meterProvider??{getMeter(){return ve()}}}}getTracer(e,t,n){let r=`${e}@${t||``}:${n?.schemaUrl||``}`;return this._tracers.has(r)||this._tracers.set(r,new fi({name:e,version:t,schemaUrl:n?.schemaUrl},this._tracerOptions)),this._tracers.get(r)}forceFlush(){let e=this._forceFlushTimeoutMillis,t=this._activeSpanProcessor._spanProcessors.map(t=>new Promise(n=>{let r,i=setTimeout(()=>{n(Error(`Span processor did not completed within timeout period of ${e} ms`)),r=G.timeout},e);t.forceFlush().then(()=>{clearTimeout(i),r!==G.timeout&&(r=G.resolved,n(r))}).catch(e=>{clearTimeout(i),r=G.error,n(e)})}));return new Promise((e,n)=>{Promise.all(t).then(t=>{let r=t.filter(e=>e!==G.resolved);r.length>0?n(r):e()}).catch(e=>n([e]))})}shutdown(){return this._activeSpanProcessor.shutdown()}[Jr](e,t,n){let r=this._activeSpanProcessor._spanProcessors;return Xr(`TracerProvider`,{resource:{attributes:Yr(this._resource)},tracers:Array.from(this._tracers.keys()),spanProcessors:r.map(e=>e.constructor?.name??`SpanProcessor`)},e,t,n)}},Di=class{_ratio;_upperBound;constructor(e=0){this._ratio=this._normalize(e),this._upperBound=Math.floor(this._ratio*4294967295)}shouldSample(e,t){return{decision:o(t)&&this._accumulate(t)<this._upperBound?V.RECORD_AND_SAMPLED:V.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(e){return typeof e!=`number`||isNaN(e)?0:e>=1?1:e<=0?0:e}_accumulate(e){let t=0;for(let n=0;n<32;n+=8){let r=0;for(let t=0;t<8;t++){let i=e.charCodeAt(n+t),a=i<58?i-48:i<71?i-55:i-87;r=r<<4|a}t=(t^r)>>>0}return t}},K;(function(e){e.AlwaysOff=`always_off`,e.AlwaysOn=`always_on`,e.ParentBasedAlwaysOff=`parentbased_always_off`,e.ParentBasedAlwaysOn=`parentbased_always_on`,e.ParentBasedTraceIdRatio=`parentbased_traceidratio`,e.TraceIdRatio=`traceidratio`})(K||={});var Oi=1;function ki(){return{sampler:Ai(),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128},spanLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128,linkCountLimit:128,eventCountLimit:128,attributePerEventCountLimit:128,attributePerLinkCountLimit:128}}}function Ai(){let e=K.ParentBasedAlwaysOn;switch(e){case K.AlwaysOn:return new U;case K.AlwaysOff:return new H;case K.ParentBasedAlwaysOn:return new W({root:new U});case K.ParentBasedAlwaysOff:return new W({root:new H});case K.TraceIdRatio:return new Di(ji());case K.ParentBasedTraceIdRatio:return new W({root:new Di(ji())});default:return _.error(`OTEL_TRACES_SAMPLER value "${e}" invalid, defaulting to "${K.ParentBasedAlwaysOn}".`),new W({root:new U})}}function ji(){return _.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${Oi}.`),Oi}function Mi(e){let t=Object.assign({},e.spanLimits);return t.attributeCountLimit=e.spanLimits?.attributeCountLimit??e.generalLimits?.attributeCountLimit??void 0??void 0??128,t.attributeValueLengthLimit=e.spanLimits?.attributeValueLengthLimit??e.generalLimits?.attributeValueLengthLimit??void 0??void 0??1/0,Object.assign({},e,{spanLimits:t})}var Ni=class extends Ei{constructor(e={}){let t=cn({},ki(),Mi(e));delete t.generalLimits,super(t)}},Pi=class extends _i{constructor(e,t){t||={};for(let[e,n]of[[`maxExportBatchSize`,`OTEL_BSP_MAX_EXPORT_BATCH_SIZE`],[`maxQueueSize`,`OTEL_BSP_MAX_QUEUE_SIZE`],[`scheduledDelayMillis`,`OTEL_BSP_SCHEDULE_DELAY`],[`exportTimeoutMillis`,`OTEL_BSP_EXPORT_TIMEOUT`]])t[e];super({exporter:e,...t})}},Fi=class{_enabled=!1;_currentContext=r;_bindFunction(e=r,t){let n=this,i=function(...r){return n.with(e,()=>t.apply(this,r))};return Object.defineProperty(i,`length`,{enumerable:!1,configurable:!0,writable:!1,value:t.length}),i}active(){return this._currentContext}bind(e,t){return e===void 0&&(e=this.active()),typeof t==`function`?this._bindFunction(e,t):t}disable(){return this._currentContext=r,this._enabled=!1,this}enable(){return this._enabled?this:(this._enabled=!0,this._currentContext=r,this)}with(e,t,n,...i){let a=this._currentContext;this._currentContext=e||r;try{return t.call(n,...i)}finally{this._currentContext=a}}};function Ii(e){if(e!==null){if(e===void 0){let e=new Fi;e.enable(),h.setGlobalContextManager(e);return}e.enable(),h.setGlobalContextManager(e)}}function Li(e){if(e!==null){if(e===void 0){m.setGlobalPropagator(new Dt({propagators:[new Gt,new Ve]}));return}m.setGlobalPropagator(e)}}var Ri=class extends Ni{constructor(e={}){super(e)}register(e={}){f.setGlobalTracerProvider(this),Li(e.propagator),Ii(e.contextManager)}},q;(function(e){e.CONNECT_END=`connectEnd`,e.CONNECT_START=`connectStart`,e.DECODED_BODY_SIZE=`decodedBodySize`,e.DOM_COMPLETE=`domComplete`,e.DOM_CONTENT_LOADED_EVENT_END=`domContentLoadedEventEnd`,e.DOM_CONTENT_LOADED_EVENT_START=`domContentLoadedEventStart`,e.DOM_INTERACTIVE=`domInteractive`,e.DOMAIN_LOOKUP_END=`domainLookupEnd`,e.DOMAIN_LOOKUP_START=`domainLookupStart`,e.ENCODED_BODY_SIZE=`encodedBodySize`,e.FETCH_START=`fetchStart`,e.LOAD_EVENT_END=`loadEventEnd`,e.LOAD_EVENT_START=`loadEventStart`,e.NAVIGATION_START=`navigationStart`,e.REDIRECT_END=`redirectEnd`,e.REDIRECT_START=`redirectStart`,e.REQUEST_START=`requestStart`,e.RESPONSE_END=`responseEnd`,e.RESPONSE_START=`responseStart`,e.SECURE_CONNECTION_START=`secureConnectionStart`,e.START_TIME=`startTime`,e.UNLOAD_EVENT_END=`unloadEventEnd`,e.UNLOAD_EVENT_START=`unloadEventStart`})(q||={});var zi=`http.response_content_length`,Bi=`http.response_content_length_uncompressed`;function J(e,t){return t in e}function Y(e,t,n,r=!0){if(J(n,t)&&typeof n[t]==`number`&&!(r&&n[t]===0))return e.addEvent(t,n[t])}function Vi(e,t,n=!1,r,i){if(r===void 0&&(r=t[q.START_TIME]!==0),n||(Y(e,q.FETCH_START,t,r),Y(e,q.DOMAIN_LOOKUP_START,t,r),Y(e,q.DOMAIN_LOOKUP_END,t,r),Y(e,q.CONNECT_START,t,r),Y(e,q.SECURE_CONNECTION_START,t,r),Y(e,q.CONNECT_END,t,r),Y(e,q.REQUEST_START,t,r),Y(e,q.RESPONSE_START,t,r),Y(e,q.RESPONSE_END,t,r)),!i){let n=t[q.ENCODED_BODY_SIZE];n!==void 0&&e.setAttribute(zi,n);let r=t[q.DECODED_BODY_SIZE];r!==void 0&&n!==r&&e.setAttribute(Bi,r)}}function Hi(e,t){if(e.nodeType===Node.DOCUMENT_NODE)return`/`;let n=Wi(e,t);if(t&&n.indexOf(`@id`)>0)return n;let r=``;return e.parentNode&&(r+=Hi(e.parentNode,t)),r+=n,r}function Ui(e){if(!e.parentNode)return 0;let t=[e.nodeType];e.nodeType===Node.CDATA_SECTION_NODE&&t.push(Node.TEXT_NODE);let n=Array.from(e.parentNode.childNodes);return n=n.filter(n=>{let r=n.localName;return t.indexOf(n.nodeType)>=0&&r===e.localName}),n.length>=1?n.indexOf(e)+1:0}function Wi(e,t){let n=e.nodeType,r=Ui(e),i;if(n===Node.ELEMENT_NODE){let n=e.getAttribute(`id`);if(t&&n)return`//*[@id="${n}"]`;i=e.localName}else if(n===Node.TEXT_NODE||n===Node.CDATA_SECTION_NODE)i=`text()`;else if(n===Node.COMMENT_NODE)i=`comment()`;else return``;return i&&r>1?`/${i}[${r}]`:`/${i}`}var X;(function(e){e.DOCUMENT_LOAD=`documentLoad`,e.DOCUMENT_FETCH=`documentFetch`,e.RESOURCE_FETCH=`resourceFetch`})(X||={});var Gi=`0.49.0`,Ki=`@opentelemetry/instrumentation-document-load`,qi;(function(e){e.FIRST_PAINT=`firstPaint`,e.FIRST_CONTENTFUL_PAINT=`firstContentfulPaint`})(qi||={});var Ji=()=>{let e={},t=b.getEntriesByType?.(`navigation`)[0];if(t)Object.values(q).forEach(n=>{if(J(t,n)){let r=t[n];typeof r==`number`&&(e[n]=r)}});else{let t=b.timing;t&&Object.values(q).forEach(n=>{if(J(t,n)){let r=t[n];typeof r==`number`&&(e[n]=r)}})}return e},Yi={"first-paint":qi.FIRST_PAINT,"first-contentful-paint":qi.FIRST_CONTENTFUL_PAINT},Xi=e=>{let t=b.getEntriesByType?.(`paint`);t&&t.forEach(({name:t,startTime:n})=>{J(Yi,t)&&e.addEvent(Yi[t],n)})},Zi=class extends Rr{component=`document-load`;version=`1`;moduleName=this.component;constructor(e={}){super(Ki,Gi,e)}init(){}_onDocumentLoaded(){window.setTimeout(()=>{this._collectPerformance()})}_addResourcesSpans(e){let t=b.getEntriesByType?.(`resource`);t&&t.forEach(t=>{this._initResourceSpan(t,e)})}_collectPerformance(){let e=Array.from(document.getElementsByTagName(`meta`)).find(e=>e.getAttribute(`name`)===D),t=Ji(),n=e&&e.content||``;h.with(m.extract(r,{traceparent:n}),()=>{let e=this._startSpan(X.DOCUMENT_LOAD,q.FETCH_START,t);e&&(h.with(f.setSpan(h.active(),e),()=>{let e=this._startSpan(X.DOCUMENT_FETCH,q.FETCH_START,t);e&&(e.setAttribute(et,location.href),h.with(f.setSpan(h.active(),e),()=>{Vi(e,t,this.getConfig().ignoreNetworkEvents),this._addCustomAttributesOnSpan(e,this.getConfig().applyCustomAttributesOnSpan?.documentFetch),this._endSpan(e,q.RESPONSE_END,t)}))}),e.setAttribute(et,location.href),e.setAttribute(tt,navigator.userAgent),this._addResourcesSpans(e),this.getConfig().ignoreNetworkEvents||(Y(e,q.FETCH_START,t),Y(e,q.UNLOAD_EVENT_START,t),Y(e,q.UNLOAD_EVENT_END,t),Y(e,q.DOM_INTERACTIVE,t),Y(e,q.DOM_CONTENT_LOADED_EVENT_START,t),Y(e,q.DOM_CONTENT_LOADED_EVENT_END,t),Y(e,q.DOM_COMPLETE,t),Y(e,q.LOAD_EVENT_START,t),Y(e,q.LOAD_EVENT_END,t)),this.getConfig().ignorePerformancePaintEvents||Xi(e),this._addCustomAttributesOnSpan(e,this.getConfig().applyCustomAttributesOnSpan?.documentLoad),this._endSpan(e,q.LOAD_EVENT_END,t))})}_endSpan(e,t,n){e&&(J(n,t)?e.end(n[t]):e.end())}_initResourceSpan(e,t){let n=this._startSpan(X.RESOURCE_FETCH,q.FETCH_START,e,t);n&&(n.setAttribute(et,e.name),Vi(n,e,this.getConfig().ignoreNetworkEvents),this._addCustomAttributesOnResourceSpan(n,e,this.getConfig().applyCustomAttributesOnSpan?.resourceFetch),this._endSpan(n,q.RESPONSE_END,e))}_startSpan(e,t,n,r){if(J(n,t)&&typeof n[t]==`number`)return this.tracer.startSpan(e,{startTime:n[t]},r?f.setSpan(h.active(),r):void 0)}_waitForPageLoad(){window.document.readyState===`complete`?this._onDocumentLoaded():(this._onDocumentLoaded=this._onDocumentLoaded.bind(this),window.addEventListener(`load`,this._onDocumentLoaded))}_addCustomAttributesOnSpan(e,t){t&&I(()=>t(e),e=>{e&&this._diag.error(`addCustomAttributesOnSpan`,e)},!0)}_addCustomAttributesOnResourceSpan(e,t,n){n&&I(()=>n(e,t),e=>{e&&this._diag.error(`addCustomAttributesOnResourceSpan`,e)},!0)}enable(){window.removeEventListener(`load`,this._onDocumentLoaded),this._waitForPageLoad()}disable(){window.removeEventListener(`load`,this._onDocumentLoaded)}},Z;(function(e){e.CONNECT_END=`connectEnd`,e.CONNECT_START=`connectStart`,e.DECODED_BODY_SIZE=`decodedBodySize`,e.DOM_COMPLETE=`domComplete`,e.DOM_CONTENT_LOADED_EVENT_END=`domContentLoadedEventEnd`,e.DOM_CONTENT_LOADED_EVENT_START=`domContentLoadedEventStart`,e.DOM_INTERACTIVE=`domInteractive`,e.DOMAIN_LOOKUP_END=`domainLookupEnd`,e.DOMAIN_LOOKUP_START=`domainLookupStart`,e.ENCODED_BODY_SIZE=`encodedBodySize`,e.FETCH_START=`fetchStart`,e.LOAD_EVENT_END=`loadEventEnd`,e.LOAD_EVENT_START=`loadEventStart`,e.NAVIGATION_START=`navigationStart`,e.REDIRECT_END=`redirectEnd`,e.REDIRECT_START=`redirectStart`,e.REQUEST_START=`requestStart`,e.RESPONSE_END=`responseEnd`,e.RESPONSE_START=`responseStart`,e.SECURE_CONNECTION_START=`secureConnectionStart`,e.START_TIME=`startTime`,e.UNLOAD_EVENT_END=`unloadEventEnd`,e.UNLOAD_EVENT_START=`unloadEventStart`})(Z||={});var Qi=`http.response_content_length`,$i=`http.response_content_length_uncompressed`,ea;function ta(){return ea||=document.createElement(`a`),ea}function na(e,t){return t in e}function Q(e,t,n,r=!0){if(na(n,t)&&typeof n[t]==`number`&&!(r&&n[t]===0))return e.addEvent(t,n[t])}function ra(e,t,n=!1,r,i){if(r===void 0&&(r=t[Z.START_TIME]!==0),n||(Q(e,Z.FETCH_START,t,r),Q(e,Z.DOMAIN_LOOKUP_START,t,r),Q(e,Z.DOMAIN_LOOKUP_END,t,r),Q(e,Z.CONNECT_START,t,r),Q(e,Z.SECURE_CONNECTION_START,t,r),Q(e,Z.CONNECT_END,t,r),Q(e,Z.REQUEST_START,t,r),Q(e,Z.RESPONSE_START,t,r),Q(e,Z.RESPONSE_END,t,r)),!i){let n=t[Z.ENCODED_BODY_SIZE];n!==void 0&&e.setAttribute(Qi,n);let r=t[Z.DECODED_BODY_SIZE];r!==void 0&&n!==r&&e.setAttribute($i,r)}}function ia(e){return e.slice().sort((e,t)=>{let n=e[Z.FETCH_START],r=t[Z.FETCH_START];return n>r?1:n<r?-1:0})}function aa(){return typeof location<`u`?location.origin:void 0}function oa(e,t,n,r,i=new WeakSet,a){let o=la(e);e=o.toString();let s=ca(e,t,n,r,i,a);if(s.length===0)return{mainRequest:void 0};if(s.length===1)return{mainRequest:s[0]};let c=ia(s);if(o.origin!==aa()&&c.length>1){let e=c[0],t=sa(c,e[Z.RESPONSE_END],n),r=e[Z.RESPONSE_END];return t[Z.FETCH_START]<r&&(t=e,e=void 0),{corsPreFlightRequest:e,mainRequest:t}}else return{mainRequest:s[0]}}function sa(e,t,n){let r=T(n),i=T(w(t)),a=e[1],o,s=e.length;for(let t=1;t<s;t++){let n=e[t],s=T(w(n[Z.FETCH_START])),c=r-T(w(n[Z.RESPONSE_END]));s>=i&&(!o||c<o)&&(o=c,a=n)}return a}function ca(e,t,n,r,i,a){let o=T(t),s=T(n),c=r.filter(t=>{let n=T(w(t[Z.FETCH_START])),r=T(w(t[Z.RESPONSE_END]));return t.initiatorType.toLowerCase()===(a||`xmlhttprequest`)&&t.name===e&&n>=o&&r<=s});return c.length>0&&(c=c.filter(e=>!i.has(e))),c}function la(e){if(typeof URL==`function`)return new URL(e,typeof document<`u`?document.baseURI:typeof location<`u`?location.href:void 0);let t=ta();return t.href=e,t}function ua(e,t){let n=t||[];return(typeof n==`string`||n instanceof RegExp)&&(n=[n]),la(e).origin===aa()?!0:n.some(t=>hn(e,t))}var da;(function(e){e.COMPONENT=`component`,e.HTTP_STATUS_TEXT=`http.status_text`})(da||={});var fa=`http.host`,pa=`http.method`,ma=`http.request.body.size`,ha=`http.request_content_length_uncompressed`,ga=`http.scheme`,_a=`http.status_code`,va=`http.url`,ya=`http.user_agent`,ba=_.createComponentLogger({namespace:`@opentelemetry/opentelemetry-instrumentation-fetch/utils`});function xa(...e){if(e[0]instanceof URL||typeof e[0]==`string`){let t=e[1];if(!t?.body)return Promise.resolve();if(t.body instanceof ReadableStream){let{body:e,length:n}=Sa(t.body);return t.body=e,n}else return Promise.resolve(wa(t.body))}else{let t=e[0];return t?.body?t.clone().text().then(e=>Ea(e)):Promise.resolve()}}function Sa(e){if(!e.pipeThrough)return ba.warn(`Platform has ReadableStream but not pipeThrough!`),{body:e,length:Promise.resolve(void 0)};let t=0,n,r=new Promise(e=>{n=e}),i=new TransformStream({start(){},async transform(e,n){let r=await e;t+=r.byteLength,n.enqueue(e)},flush(){n(t)}});return{body:e.pipeThrough(i),length:r}}function Ca(e){return typeof Document<`u`&&e instanceof Document}function wa(e){if(Ca(e))return new XMLSerializer().serializeToString(document).length;if(typeof e==`string`)return Ea(e);if(e instanceof Blob)return e.size;if(e instanceof FormData)return Da(e);if(e instanceof URLSearchParams)return Ea(e.toString());if(e.byteLength!==void 0)return e.byteLength;ba.warn(`unknown body type`)}var Ta=new TextEncoder;function Ea(e){return Ta.encode(e).byteLength}function Da(e){let t=0;for(let[n,r]of e.entries())t+=n.length,r instanceof Blob?t+=r.size:t+=r.length;return t}function Oa(e){let t=ja(),n=e.toUpperCase();return n in t?n:`_OTHER`}var ka={CONNECT:!0,DELETE:!0,GET:!0,HEAD:!0,OPTIONS:!0,PATCH:!0,POST:!0,PUT:!0,TRACE:!0},Aa;function ja(){return Aa===void 0&&(Aa=ka),Aa}var Ma={"https:":`443`,"http:":`80`};function Na(e){let t=Number(e.port||Ma[e.protocol]);if(t&&!isNaN(t))return t}var Pa=`0.204.0`,Fa=300,Ia=typeof process==`object`&&process.release?.name===`node`,La=class extends Rr{component=`fetch`;version=Pa;moduleName=this.component;_usedResources=new WeakSet;_tasksCount=0;_semconvStability;constructor(e={}){super(`@opentelemetry/instrumentation-fetch`,Pa,e),this._semconvStability=zr(`http`,e?.semconvStabilityOptIn)}init(){}_addChildSpan(e,t){let n=this.tracer.startSpan(`CORS Preflight`,{startTime:t[Z.FETCH_START]},f.setSpan(h.active(),e)),r=!(this._semconvStability&R.OLD);ra(n,t,this.getConfig().ignoreNetworkEvents,void 0,r),n.end(t[Z.RESPONSE_END])}_addFinalSpanAttributes(e,t){let n=la(t.url);if(this._semconvStability&R.OLD&&(e.setAttribute(_a,t.status),t.statusText!=null&&e.setAttribute(da.HTTP_STATUS_TEXT,t.statusText),e.setAttribute(fa,n.host),e.setAttribute(ga,n.protocol.replace(`:`,``)),typeof navigator<`u`&&e.setAttribute(ya,navigator.userAgent)),this._semconvStability&R.STABLE){e.setAttribute(lt,t.status),e.setAttribute(ut,n.hostname);let r=Na(n);r&&e.setAttribute(dt,r)}}_addHeaders(e,t){if(!ua(t,this.getConfig().propagateTraceHeaderCorsUrls)){let e={};m.inject(h.active(),e),Object.keys(e).length>0&&this._diag.debug(`headers inject skipped due to CORS policy`);return}if(e instanceof Request)m.inject(h.active(),e.headers,{set:(e,t,n)=>e.set(t,typeof n==`string`?n:String(n))});else if(e.headers instanceof Headers)m.inject(h.active(),e.headers,{set:(e,t,n)=>e.set(t,typeof n==`string`?n:String(n))});else if(e.headers instanceof Map)m.inject(h.active(),e.headers,{set:(e,t,n)=>e.set(t,typeof n==`string`?n:String(n))});else{let t={};m.inject(h.active(),t),e.headers=Object.assign({},t,e.headers||{})}}_clearResources(){this._tasksCount===0&&this.getConfig().clearTimingResources&&(performance.clearResourceTimings(),this._usedResources=new WeakSet)}_createSpan(e,t={}){if(gn(e,this.getConfig().ignoreUrls)){this._diag.debug(`ignoring span as url matches ignored url`);return}let n=``,r={};if(this._semconvStability&R.OLD){let i=(t.method||`GET`).toUpperCase();n=`HTTP ${i}`,r[da.COMPONENT]=this.moduleName,r[pa]=i,r[va]=e}if(this._semconvStability&R.STABLE){let i=t.method,a=Oa(t.method||`GET`);n||=a,r[st]=a,a!==i&&(r[ct]=i),r[vt]=e}return this.tracer.startSpan(n,{kind:be.CLIENT,attributes:r})}_findResourceAndAddNetworkEvents(e,t,n){let r=t.entries;if(!r.length){if(!performance.getEntriesByType)return;r=performance.getEntriesByType(`resource`)}let i=oa(t.spanUrl,t.startTime,n,r,this._usedResources,`fetch`);if(i.mainRequest){let t=i.mainRequest;this._markResourceAsUsed(t);let n=i.corsPreFlightRequest;n&&(this._addChildSpan(e,n),this._markResourceAsUsed(n));let r=!(this._semconvStability&R.OLD);ra(e,t,this.getConfig().ignoreNetworkEvents,void 0,r)}}_markResourceAsUsed(e){this._usedResources.add(e)}_endSpan(e,t,n){let r=S(Date.now()),i=C();this._addFinalSpanAttributes(e,n),this._semconvStability&R.STABLE&&n.status>=400&&(e.setStatus({code:c.ERROR}),e.setAttribute(rt,String(n.status))),setTimeout(()=>{t.observer?.disconnect(),this._findResourceAndAddNetworkEvents(e,t,i),this._tasksCount--,this._clearResources(),e.end(r)},Fa)}_patchConstructor(){return e=>{let t=this;return function(...n){let r=this,i=la(n[0]instanceof Request?n[0].url:String(n[0])).href,a=n[0]instanceof Request?n[0]:n[1]||{},o=t._createSpan(i,a);if(!o)return e.apply(this,n);let s=t._prepareSpanData(i);t.getConfig().measureRequestSize&&xa(...n).then(e=>{e&&(t._semconvStability&R.OLD&&o.setAttribute(ha,e),t._semconvStability&R.STABLE&&o.setAttribute(ma,e))}).catch(e=>{t._diag.warn(`getFetchBodyLength`,e)});function c(e,n){t._applyAttributesAfterFetch(e,a,n),t._endSpan(e,s,{status:n.status||0,statusText:n.message,url:i})}function l(e,n){t._applyAttributesAfterFetch(e,a,n),n.status>=200&&n.status<400?t._endSpan(e,s,n):t._endSpan(e,s,{status:n.status,statusText:n.statusText,url:i})}function u(e,t,n){try{let t=n.clone().body;if(t){let r=t.getReader(),i=()=>{r.read().then(({done:t})=>{t?l(e,n):i()},t=>{c(e,t)})};i()}else l(e,n)}finally{t(n)}}function d(e,t,n){try{c(e,n)}finally{t(n)}}return new Promise((n,s)=>h.with(f.setSpan(h.active(),o),()=>(t._addHeaders(a,i),t._callRequestHook(o,a),t._tasksCount++,e.apply(r,a instanceof Request?[a]:[i,a]).then(u.bind(r,o,n),d.bind(r,o,s)))))}}}_applyAttributesAfterFetch(e,t,n){let r=this.getConfig().applyCustomAttributesOnSpan;r&&I(()=>r(e,t,n),e=>{e&&this._diag.error(`applyCustomAttributesOnSpan`,e)},!0)}_callRequestHook(e,t){let n=this.getConfig().requestHook;n&&I(()=>n(e,t),e=>{e&&this._diag.error(`requestHook`,e)},!0)}_prepareSpanData(e){let t=C(),n=[];if(typeof PerformanceObserver!=`function`)return{entries:n,startTime:t,spanUrl:e};let r=new PerformanceObserver(t=>{t.getEntries().forEach(t=>{t.initiatorType===`fetch`&&t.name===e&&n.push(t)})});return r.observe({entryTypes:[`resource`]}),{entries:n,observer:r,startTime:t,spanUrl:e}}enable(){if(Ia){this._diag.warn(`this instrumentation is intended for web usage only, it does not instrument Node.js's fetch()`);return}L(fetch)&&(this._unwrap(Xe,`fetch`),this._diag.debug(`removing previous patch for constructor`)),this._wrap(Xe,`fetch`,this._patchConstructor())}disable(){Ia||(this._unwrap(Xe,`fetch`),this._usedResources=new WeakSet)}},$;(function(e){e.EVENT_TYPE=`event_type`,e.TARGET_ELEMENT=`target_element`,e.TARGET_XPATH=`target_xpath`,e.HTTP_URL=`http.url`})($||={});var Ra=`0.49.0`,za=`@opentelemetry/instrumentation-user-interaction`,Ba=`OT_ZONE_CONTEXT`,Va=`Navigation:`,Ha=[`click`];function Ua(){return!1}var Wa=class extends Rr{version=Ra;moduleName=`user-interaction`;_spansData=new WeakMap;_wrappedListeners=new WeakMap;_eventsSpanMap=new WeakMap;_eventNames;_shouldPreventSpanCreation;constructor(e={}){super(za,Ra,e),this._eventNames=new Set(e?.eventNames??Ha),this._shouldPreventSpanCreation=typeof e?.shouldPreventSpanCreation==`function`?e.shouldPreventSpanCreation:Ua}init(){}_checkForTimeout(e,t){let n=this._spansData.get(t);n&&(e.source===`setTimeout`?n.hrTimeLastTimeout=C():e.source!==`Promise.then`&&e.source!==`setTimeout`&&(n.hrTimeLastTimeout=void 0))}_allowEventName(e){return this._eventNames.has(e)}_createSpan(e,t,n){if(!(e instanceof HTMLElement)||!e.getAttribute||e.hasAttribute(`disabled`)||!this._allowEventName(t))return;let r=Hi(e,!0);try{let i=this.tracer.startSpan(t,{attributes:{[$.EVENT_TYPE]:t,[$.TARGET_ELEMENT]:e.tagName,[$.TARGET_XPATH]:r,[$.HTTP_URL]:window.location.href}},n?f.setSpan(h.active(),n):void 0);return this._shouldPreventSpanCreation(t,e,i)===!0?void 0:(this._spansData.set(i,{taskCount:0}),i)}catch(e){this._diag.error(`failed to start create new user interaction span`,e)}}_decrementTask(e){let t=this._spansData.get(e);t&&(t.taskCount--,t.taskCount===0&&this._tryToEndSpan(e,t.hrTimeLastTimeout))}_getCurrentSpan(e){let t=e.get(Ba);return t&&f.getSpan(t)}_incrementTask(e){let t=this._spansData.get(e);t&&t.taskCount++}addPatchedListener(e,t,n,r){let i=this._wrappedListeners.get(n);i||(i=new Map,this._wrappedListeners.set(n,i));let a=i.get(t);return a||(a=new Map,i.set(t,a)),a.has(e)?!1:(a.set(e,r),!0)}removePatchedListener(e,t,n){let r=this._wrappedListeners.get(n);if(!r)return;let i=r.get(t);if(!i)return;let a=i.get(e);return a&&(i.delete(e),i.size===0&&(r.delete(t),r.size===0&&this._wrappedListeners.delete(n))),a}_invokeListener(e,t,n){return typeof e==`function`?e.apply(t,n):e.handleEvent(n[0])}_patchAddEventListener(){let e=this;return t=>function(n,r,i){if(!r)return t.call(this,n,r,i);let a=i&&typeof i==`object`&&i.once,o=function(...t){let i,o=t[0],s=o?.target;o&&(i=e._eventsSpanMap.get(o)),a&&e.removePatchedListener(this,n,r);let c=e._createSpan(s,n,i);return c?(o&&e._eventsSpanMap.set(o,c),h.with(f.setSpan(h.active(),c),()=>{let n=e._invokeListener(r,this,t);return c.end(),n})):e._invokeListener(r,this,t)};if(e.addPatchedListener(this,n,r,o))return t.call(this,n,o,i)}}_patchRemoveEventListener(){let e=this;return t=>function(n,r,i){let a=e.removePatchedListener(this,n,r);return a?t.call(this,n,a,i):t.call(this,n,r,i)}}_getPatchableEventTargets(){return window.EventTarget?[EventTarget.prototype]:[Node.prototype,Window.prototype]}_patchHistoryApi(){this._unpatchHistoryApi(),this._wrap(history,`replaceState`,this._patchHistoryMethod()),this._wrap(history,`pushState`,this._patchHistoryMethod()),this._wrap(history,`back`,this._patchHistoryMethod()),this._wrap(history,`forward`,this._patchHistoryMethod()),this._wrap(history,`go`,this._patchHistoryMethod())}_patchHistoryMethod(){let e=this;return t=>function(...n){let r=`${location.pathname}${location.hash}${location.search}`,i=t.apply(this,n),a=`${location.pathname}${location.hash}${location.search}`;return r!==a&&e._updateInteractionName(a),i}}_unpatchHistoryApi(){L(history.replaceState)&&this._unwrap(history,`replaceState`),L(history.pushState)&&this._unwrap(history,`pushState`),L(history.back)&&this._unwrap(history,`back`),L(history.forward)&&this._unwrap(history,`forward`),L(history.go)&&this._unwrap(history,`go`)}_updateInteractionName(e){let t=f.getSpan(h.active());t&&typeof t.updateName==`function`&&t.updateName(`${Va} ${e}`)}_patchZoneCancelTask(){let e=this;return t=>function(n){let r=Zone.current,i=e._getCurrentSpan(r);return i&&e._shouldCountTask(n,r)&&e._decrementTask(i),t.call(this,n)}}_patchZoneScheduleTask(){let e=this;return t=>function(n){let r=Zone.current,i=e._getCurrentSpan(r);return i&&e._shouldCountTask(n,r)&&(e._incrementTask(i),e._checkForTimeout(n,i)),t.call(this,n)}}_patchZoneRunTask(){let e=this;return t=>function(n,r,i){let a=(Array.isArray(i)&&i[0]instanceof Event?i[0]:void 0)?.target,o,s=this;if(a){if(o=e._createSpan(a,n.eventName),o)return e._incrementTask(o),s.run(()=>{try{return h.with(f.setSpan(h.active(),o),()=>{let e=Zone.current;return n._zone=e,t.call(e,n,r,i)})}finally{e._decrementTask(o)}})}else o=e._getCurrentSpan(s);try{return t.call(s,n,r,i)}finally{o&&e._shouldCountTask(n,s)&&e._decrementTask(o)}}}_shouldCountTask(e,t){if(e._zone&&(t=e._zone),!t||!e.data||e.data.isPeriodic)return!1;let n=this._getCurrentSpan(t);return!n||!this._spansData.get(n)?!1:e.type===`macroTask`||e.type===`microTask`}_tryToEndSpan(e,t){e&&this._spansData.get(e)&&(e.end(t),this._spansData.delete(e))}enable(){let e=this._getZoneWithPrototype();this._diag.debug(`applying patch to`,this.moduleName,this.version,`zone:`,!!e),e?(L(e.prototype.runTask)&&(this._unwrap(e.prototype,`runTask`),this._diag.debug(`removing previous patch from method runTask`)),L(e.prototype.scheduleTask)&&(this._unwrap(e.prototype,`scheduleTask`),this._diag.debug(`removing previous patch from method scheduleTask`)),L(e.prototype.cancelTask)&&(this._unwrap(e.prototype,`cancelTask`),this._diag.debug(`removing previous patch from method cancelTask`)),this._zonePatched=!0,this._wrap(e.prototype,`runTask`,this._patchZoneRunTask()),this._wrap(e.prototype,`scheduleTask`,this._patchZoneScheduleTask()),this._wrap(e.prototype,`cancelTask`,this._patchZoneCancelTask())):(this._zonePatched=!1,this._getPatchableEventTargets().forEach(e=>{L(e.addEventListener)&&(this._unwrap(e,`addEventListener`),this._diag.debug(`removing previous patch from method addEventListener`)),L(e.removeEventListener)&&(this._unwrap(e,`removeEventListener`),this._diag.debug(`removing previous patch from method removeEventListener`)),this._wrap(e,`addEventListener`,this._patchAddEventListener()),this._wrap(e,`removeEventListener`,this._patchRemoveEventListener())})),this._patchHistoryApi()}disable(){let e=this._getZoneWithPrototype();this._diag.debug(`removing patch from`,this.moduleName,this.version,`zone:`,!!e),e&&this._zonePatched?(L(e.prototype.runTask)&&this._unwrap(e.prototype,`runTask`),L(e.prototype.scheduleTask)&&this._unwrap(e.prototype,`scheduleTask`),L(e.prototype.cancelTask)&&this._unwrap(e.prototype,`cancelTask`)):this._getPatchableEventTargets().forEach(e=>{L(e.addEventListener)&&this._unwrap(e,`addEventListener`),L(e.removeEventListener)&&this._unwrap(e,`removeEventListener`)}),this._unpatchHistoryApi()}_getZoneWithPrototype(){return window.Zone}},Ga=`open-knowledge-app`,Ka=!1;function qa(){return{BASE_URL:`./`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1,VITE_APP_VERSION:`0.61.0`}?.VITE_OTEL_COLLECTOR_URL??`http://localhost:14318`}function Ja(){if(Ka)return;Ka=!0;let e=null,t=!1;try{let n=qa(),r={BASE_URL:`./`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1,VITE_APP_VERSION:`0.61.0`};e=new Ri({resource:Hr({[ft]:`open-knowledge-app`,[pt]:r?.VITE_APP_VERSION??`dev`,[nt]:r?.MODE??`dev`}),spanProcessors:[new Pi(new xr({url:`${n}/v1/traces`}),{maxExportBatchSize:50,scheduledDelayMillis:2e3})]}),e.register(),t=!0,Mr({instrumentations:[new Zi,new Wa({eventNames:[`click`,`submit`]}),new La({propagateTraceHeaderCorsUrls:[/^https?:\/\/localhost(:\d+)?\/api\//,/^https?:\/\/127\.0\.0\.1(:\d+)?\/api\//,/^\/api\//],clearTimingResources:!0})]}),console.info(`[otel] frontend telemetry initialized — OTLP/HTTP → ${n}/v1/traces`)}catch(n){console.warn(`[otel] frontend telemetry init failed — continuing without`,n),t&&e&&e.shutdown().catch(()=>{}),Ka=!1}}function Ya(){return f.getTracer(Ga)}export{Ya as getAppTracer,Ja as install};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./__vite-browser-external-Ci1NQTFf.js","./chunk-CYidjpOJ.js"])))=>i.map(i=>d[i]);
2
+ import{o as e}from"./chunk-CYidjpOJ.js";import{t}from"./preload-helper-Chd9yIcd.js";import{a as n,c as r,d as i,f as a,i as o,l as s,n as c,o as l,p as u,r as d,t as f,u as p}from"./trace-api-BslS_6CM.js";import{n as ee,t as m}from"./propagation-api-B1_qxPZb.js";import{t as h}from"./context-api-CW3A_QP4.js";var te=class{constructor(){}createGauge(e,t){return fe}createHistogram(e,t){return pe}createCounter(e,t){return de}createUpDownCounter(e,t){return me}createObservableGauge(e,t){return ge}createObservableCounter(e,t){return he}createObservableUpDownCounter(e,t){return _e}addBatchObservableCallback(e,t){}removeBatchObservableCallback(e){}},g=class{},ne=class extends g{add(e,t){}},re=class extends g{add(e,t){}},ie=class extends g{record(e,t){}},ae=class extends g{record(e,t){}},oe=class{addCallback(e){}removeCallback(e){}},se=class extends oe{},ce=class extends oe{},le=class extends oe{},ue=new te,de=new ne,fe=new ie,pe=new ae,me=new re,he=new se,ge=new ce,_e=new le;function ve(){return ue}var ye;(function(e){e[e.NOT_RECORD=0]=`NOT_RECORD`,e[e.RECORD=1]=`RECORD`,e[e.RECORD_AND_SAMPLED=2]=`RECORD_AND_SAMPLED`})(ye||={});var be;(function(e){e[e.INTERNAL=0]=`INTERNAL`,e[e.SERVER=1]=`SERVER`,e[e.CLIENT=2]=`CLIENT`,e[e.PRODUCER=3]=`PRODUCER`,e[e.CONSUMER=4]=`CONSUMER`})(be||={});var _=p.instance(),xe=new class{getMeter(e,t,n){return ue}},Se=`metrics`,Ce=class e{constructor(){}static getInstance(){return this._instance||=new e,this._instance}setGlobalMeterProvider(e){return a(Se,e,p.instance())}getMeterProvider(){return i(Se)||xe}getMeter(e,t,n){return this.getMeterProvider().getMeter(e,t,n)}disable(){u(Se,p.instance())}}.getInstance(),we=class{_delegate;constructor(e){this._delegate=e}export(e,t){this._delegate.export(e,t)}forceFlush(){return this._delegate.forceFlush()}shutdown(){return this._delegate.shutdown()}},Te=class extends Error{code;name=`OTLPExporterError`;data;constructor(e,t,n){super(e),this.data=n,this.code=t}};function Ee(e){if(Number.isFinite(e)&&e>0)return e;throw Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${e}')`)}function De(e){if(e!=null)return()=>e}function Oe(e,t,n){return{timeoutMillis:Ee(e.timeoutMillis??t.timeoutMillis??n.timeoutMillis),concurrencyLimit:e.concurrencyLimit??t.concurrencyLimit??n.concurrencyLimit,compression:e.compression??t.compression??n.compression}}function ke(){return{timeoutMillis:1e4,concurrencyLimit:30,compression:`none`}}var Ae=class{_concurrencyLimit;_sendingPromises=[];constructor(e){this._concurrencyLimit=e}pushPromise(e){if(this.hasReachedLimit())throw Error(`Concurrency Limit reached`);this._sendingPromises.push(e);let t=()=>{let t=this._sendingPromises.indexOf(e);this._sendingPromises.splice(t,1)};e.then(t,t)}hasReachedLimit(){return this._sendingPromises.length>=this._concurrencyLimit}async awaitAll(){await Promise.all(this._sendingPromises)}};function je(e){return new Ae(e.concurrencyLimit)}var Me=s(`OpenTelemetry SDK Context Key SUPPRESS_TRACING`);function Ne(e){return e.setValue(Me,!0)}function Pe(e){return e.getValue(Me)===!0}var Fe=`baggage`,Ie=4096;function Le(e){return e.reduce((e,t)=>{let n=`${e}${e===``?``:`,`}${t}`;return n.length>8192?e:n},``)}function Re(e){return e.getAllEntries().map(([e,t])=>{let n=`${encodeURIComponent(e)}=${encodeURIComponent(t.value)}`;return t.metadata!==void 0&&(n+=`;`+t.metadata.toString()),n})}function ze(e){if(!e)return;let t=e.indexOf(`;`),n=t===-1?e:e.substring(0,t),r=n.indexOf(`=`);if(r<=0)return;let i=n.substring(0,r).trim(),a=n.substring(r+1).trim();if(!i||!a)return;let o,s;try{o=decodeURIComponent(i),s=decodeURIComponent(a)}catch{return}let c;return t!==-1&&t<e.length-1&&(c=ee(e.substring(t+1))),{key:o,value:s,metadata:c}}function Be(e,t,n,r){let i=0;for(;i<e.length&&n<180;){let a=e.indexOf(`,`,i),o=a===-1?e.length:a,s=o-i;if(s<=4096){let a=ze(e.substring(i,o));if(a){let e=(n===0?0:1)+s;if(r+e>8192)break;t[a.key]=a.metadata?{value:a.value,metadata:a.metadata}:{value:a.value},n++,r+=e}}if(a===-1)break;i=a+1}return[n,r]}var Ve=class{inject(e,t,n){let r=m.getBaggage(e);if(!r||Pe(e))return;let i=Le(Re(r).filter(e=>e.length<=Ie).slice(0,180));i.length>0&&n.set(t,Fe,i)}extract(e,t,n){let r=n.get(t,Fe);if(!r)return e;let i={},a=0,o=0;if(Array.isArray(r))for(let e=0;e<r.length;e++)[a,o]=Be(r[e],i,a,o);else [a]=Be(r,i,a,o);return a===0?e:m.setBaggage(e,m.createBaggage(i))}fields(){return[Fe]}};function v(e){let t={};if(typeof e!=`object`||!e)return t;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;if(!He(n)){_.warn(`Invalid attribute key: ${n}`);continue}let r=e[n];if(!Ue(r)){_.warn(`Invalid attribute value set for key: ${n}`);continue}Array.isArray(r)?t[n]=r.slice():t[n]=r}return t}function He(e){return typeof e==`string`&&e!==``}function Ue(e){return e==null?!0:Array.isArray(e)?We(e):Ge(typeof e)}function We(e){let t;for(let n of e){if(n==null)continue;let e=typeof n;if(e!==t){if(!t){if(Ge(e)){t=e;continue}return!1}return!1}}return!0}function Ge(e){switch(e){case`number`:case`boolean`:case`string`:return!0}return!1}function Ke(){return e=>{_.error(qe(e))}}function qe(e){return typeof e==`string`?e:JSON.stringify(Je(e))}function Je(e){let t={},n=e;for(;n!==null;)Object.getOwnPropertyNames(n).forEach(e=>{if(t[e])return;let r=n[e];r&&(t[e]=String(r))}),n=Object.getPrototypeOf(n);return t}var Ye=Ke();function y(e){try{Ye(e)}catch{}}var Xe=globalThis,Ze=`2.8.0`,Qe=`http.url`,$e=`http.user_agent`,et=Qe,tt=$e,nt=`deployment.environment.name`,rt=`error.type`,it=`exception.message`,at=`exception.stacktrace`,ot=`exception.type`,st=`http.request.method`,ct=`http.request.method_original`,lt=`http.response.status_code`,ut=`server.address`,dt=`server.port`,ft=`service.name`,pt=`service.version`,mt=`telemetry.sdk.language`,ht=`webjs`,gt=`telemetry.sdk.name`,_t=`telemetry.sdk.version`,vt=`url.full`,yt=`process.runtime.name`,bt={[gt]:`opentelemetry`,[yt]:`browser`,[mt]:ht,[_t]:Ze},b=performance,xt=9,St=10**6,x=10**xt;function S(e){let t=e/1e3;return[Math.trunc(t),Math.round(e%1e3*St)]}function C(e){return Et(S(b.timeOrigin),S(typeof e==`number`?e:b.now()))}function w(e){if(wt(e))return e;if(typeof e==`number`)return e<b.timeOrigin?C(e):S(e);if(e instanceof Date)return S(e.getTime());throw TypeError(`Invalid input type`)}function Ct(e,t){let n=t[0]-e[0],r=t[1]-e[1];return r<0&&(--n,r+=x),[n,r]}function T(e){return e[0]*x+e[1]}function wt(e){return Array.isArray(e)&&e.length===2&&typeof e[0]==`number`&&typeof e[1]==`number`}function Tt(e){return wt(e)||typeof e==`number`||e instanceof Date}function Et(e,t){let n=[e[0]+t[0],e[1]+t[1]];return n[1]>=x&&(n[1]-=x,n[0]+=1),n}var E;(function(e){e[e.SUCCESS=0]=`SUCCESS`,e[e.FAILED=1]=`FAILED`})(E||={});var Dt=class{_propagators;_fields;constructor(e={}){this._propagators=e.propagators??[];let t=new Set;for(let e of this._propagators){let n=typeof e.fields==`function`?e.fields():[];for(let e of n)t.add(e)}this._fields=Array.from(t)}inject(e,t,n){for(let r of this._propagators)try{r.inject(e,t,n)}catch(e){_.warn(`Failed to inject with ${r.constructor.name}. Err: ${e.message}`)}}extract(e,t,n){return this._propagators.reduce((e,r)=>{try{return r.extract(e,t,n)}catch(e){_.warn(`Failed to extract with ${r.constructor.name}. Err: ${e.message}`)}return e},e)}fields(){return this._fields.slice()}},Ot=`[_0-9a-z-*/]`,kt=`[a-z]${Ot}{0,255}`,At=`[a-z0-9]${Ot}{0,240}@[a-z]${Ot}{0,13}`,jt=RegExp(`^(?:${kt}|${At})$`),Mt=/^[ -~]{0,255}[!-~]$/,Nt=/,|=/;function Pt(e){return jt.test(e)}function Ft(e){return Mt.test(e)&&!Nt.test(e)}var It=32,Lt=512,Rt=`,`,zt=`=`,Bt=class e{_length;_rawTraceState;_internalState;constructor(e){this._rawTraceState=typeof e==`string`?e:``,this._length=this._rawTraceState.length}set(e,t){if(!Pt(e)||!Ft(t))return this;let n=this._getState(),r=n.get(e),i=this._length;if(typeof r==`string`?i+=t.length-r.length:i+=e.length+t.length+(n.size>0?2:1),i>Lt)return this;let a=new Map(n);return a.delete(e),a.set(e,t),this._fromState(a,i)}unset(e){let t=this._getState(),n=t.get(e);if(typeof n!=`string`)return this;let r=this._length-(e.length+n.length+1);t.size>1&&--r;let i=new Map(t);return i.delete(e),this._fromState(i,r)}get(e){return this._getState().get(e)}serialize(){let e=``,t=0;for(let n of this._getState())t>0&&(e=Rt+e),e=`${n[0]}${zt}${n[1]}`+e,t++;return e}_getState(){if(this._internalState)return this._internalState;let e=this._rawTraceState.split(Rt),t=new Map,n=0;for(let r of e){let e=r.trim(),i=e.indexOf(zt);if(i===-1)continue;let a=e.slice(0,i),o=e.slice(i+1);if(!Pt(a)||!Ft(o))continue;let s=n+e.length+ +(t.size>0);if(!(s>Lt)&&(t.set(a,o),n=s,t.size>=It))break}return this._length=n,this._internalState=new Map(Array.from(t.entries()).reverse()),this._internalState}_fromState(t,n){let r=Object.create(e.prototype);return r._internalState=t,r._length=n,r}},D=`traceparent`,Vt=`tracestate`,Ht=`00`,Ut=RegExp(`^\\s?((?!ff)[\\da-f]{2})-((?![0]{32})[\\da-f]{32})-((?![0]{16})[\\da-f]{16})-([\\da-f]{2})(-.*)?\\s?$`);function Wt(e){let t=Ut.exec(e);return!t||t[1]===`00`&&t[5]?null:{traceId:t[2],spanId:t[3],traceFlags:parseInt(t[4],16)}}var Gt=class{inject(e,t,n){let r=f.getSpanContext(e);if(!r||Pe(e)||!d(r))return;let i=`${Ht}-${r.traceId}-${r.spanId}-0${Number(r.traceFlags||l.NONE).toString(16)}`;n.set(t,D,i),r.traceState&&n.set(t,Vt,r.traceState.serialize())}extract(e,t,n){let r=n.get(t,D);if(!r)return e;let i=Array.isArray(r)?r[0]:r;if(typeof i!=`string`)return e;let a=Wt(i);if(!a)return e;a.isRemote=!0;let o=n.get(t,Vt);if(o){let e=Array.isArray(o)?o.join(`,`):o;a.traceState=new Bt(typeof e==`string`?e:void 0)}return f.setSpanContext(e,a)}fields(){return[D,Vt]}},Kt=`[object Object]`,qt=`[object Null]`,Jt=`[object Undefined]`,Yt=Function.prototype.toString,Xt=Yt.call(Object),Zt=Object.getPrototypeOf,Qt=Object.prototype,$t=Qt.hasOwnProperty,O=Symbol?Symbol.toStringTag:void 0,en=Qt.toString;function tn(e){if(!nn(e)||rn(e)!==Kt)return!1;let t=Zt(e);if(t===null)return!0;let n=$t.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&Yt.call(n)===Xt}function nn(e){return typeof e==`object`&&!!e}function rn(e){return e==null?e===void 0?Jt:qt:O&&O in Object(e)?an(e):on(e)}function an(e){let t=$t.call(e,O),n=e[O],r=!1;try{e[O]=void 0,r=!0}catch{}let i=en.call(e);return r&&(t?e[O]=n:delete e[O]),i}function on(e){return en.call(e)}var sn=20;function cn(...e){let t=e.shift(),n=new WeakMap;for(;e.length>0;)t=un(t,e.shift(),0,n);return t}function ln(e){return k(e)?e.slice():e}function un(e,t,n=0,r){let i;if(!(n>sn)){if(n++,pn(e)||pn(t)||fn(t))i=ln(t);else if(k(e)){if(i=e.slice(),k(t))for(let e=0,n=t.length;e<n;e++)i.push(ln(t[e]));else if(A(t)){let e=Object.keys(t);for(let n=0,r=e.length;n<r;n++){let r=e[n];r===`__proto__`||r===`constructor`||r===`prototype`||(i[r]=ln(t[r]))}}}else if(A(e))if(A(t)){if(!mn(e,t))return t;i=Object.assign({},e);let a=Object.keys(t);for(let o=0,s=a.length;o<s;o++){let s=a[o];if(s===`__proto__`||s===`constructor`||s===`prototype`)continue;let c=t[s];if(pn(c))c===void 0?delete i[s]:i[s]=c;else{let a=i[s],o=c;if(dn(e,s,r)||dn(t,s,r))delete i[s];else{if(A(a)&&A(o)){let n=r.get(a)||[],i=r.get(o)||[];n.push({obj:e,key:s}),i.push({obj:t,key:s}),r.set(a,n),r.set(o,i)}i[s]=un(i[s],c,n,r)}}}}else i=t;return i}}function dn(e,t,n){let r=n.get(e[t])||[];for(let n=0,i=r.length;n<i;n++){let i=r[n];if(i.key===t&&i.obj===e)return!0}return!1}function k(e){return Array.isArray(e)}function fn(e){return typeof e==`function`}function A(e){return!pn(e)&&!k(e)&&!fn(e)&&typeof e==`object`}function pn(e){return typeof e==`string`||typeof e==`number`||typeof e==`boolean`||e===void 0||e instanceof Date||e instanceof RegExp||e===null}function mn(e,t){return!(!tn(e)||!tn(t))}function hn(e,t){return typeof t==`string`?e===t:!!e.match(t)}function gn(e,t){if(!t)return!1;for(let n of t)if(hn(e,n))return!0;return!1}var _n=class{_promise;_resolve;_reject;constructor(){this._promise=new Promise((e,t)=>{this._resolve=e,this._reject=t})}get promise(){return this._promise}resolve(e){this._resolve(e)}reject(e){this._reject(e)}},vn=class{_isCalled=!1;_deferred=new _n;_callback;_that;constructor(e,t){this._callback=e,this._that=t}get isCalled(){return this._isCalled}get promise(){return this._deferred.promise}call(...e){if(!this._isCalled){this._isCalled=!0;try{Promise.resolve(this._callback.call(this._that,...e)).then(e=>this._deferred.resolve(e),e=>this._deferred.reject(e))}catch(e){this._deferred.reject(e)}}return this._deferred.promise}};function yn(e){return Object.prototype.hasOwnProperty.call(e,`partialSuccess`)}function bn(){return{handleResponse(e){e==null||!yn(e)||e.partialSuccess==null||Object.keys(e.partialSuccess).length===0||_.warn(`Received Partial Success response:`,JSON.stringify(e.partialSuccess))}}}var xn=class{_transport;_serializer;_responseHandler;_promiseQueue;_timeout;_diagLogger;constructor(e,t,n,r,i){this._transport=e,this._serializer=t,this._responseHandler=n,this._promiseQueue=r,this._timeout=i,this._diagLogger=_.createComponentLogger({namespace:`OTLPExportDelegate`})}export(e,t){if(this._diagLogger.debug(`items to be sent`,e),this._promiseQueue.hasReachedLimit()){t({code:E.FAILED,error:Error(`Concurrent export limit reached`)});return}let n=this._serializer.serializeRequest(e);if(n==null){t({code:E.FAILED,error:Error(`Nothing to send`)});return}this._promiseQueue.pushPromise(this._transport.send(n,this._timeout).then(e=>{if(e.status===`success`){if(e.data!=null)try{this._responseHandler.handleResponse(this._serializer.deserializeResponse(e.data))}catch(t){this._diagLogger.warn(`Export succeeded but could not deserialize response - is the response specification compliant?`,t,e.data)}t({code:E.SUCCESS});return}else if(e.status===`failure`&&e.error){t({code:E.FAILED,error:e.error});return}else e.status===`retryable`?t({code:E.FAILED,error:new Te(`Export failed with retryable status`)}):t({code:E.FAILED,error:new Te(`Export failed with unknown error`)})},e=>t({code:E.FAILED,error:e})))}forceFlush(){return this._promiseQueue.awaitAll()}async shutdown(){this._diagLogger.debug(`shutdown started`),await this.forceFlush(),this._transport.shutdown()}};function Sn(e,t){return new xn(e.transport,e.serializer,bn(),e.promiseHandler,t.timeout)}function Cn(e,t,n){return Sn({transport:n,serializer:t,promiseHandler:je(e)},{timeout:e.timeoutMillis})}function wn(e){return e>=48&&e<=57?e-48:e>=97&&e<=102?e-87:e-55}function Tn(e){let t=new Uint8Array(e.length/2),n=0;for(let r=0;r<e.length;r+=2){let i=wn(e.charCodeAt(r)),a=wn(e.charCodeAt(r+1));t[n++]=i<<4|a}return t}function En(e){let t=BigInt(1e9);return BigInt(e[0])*t+BigInt(e[1])}function Dn(e){return{low:Number(BigInt.asUintN(32,e)),high:Number(BigInt.asUintN(32,e>>BigInt(32)))}}function On(e){return Dn(En(e))}function kn(e){return En(e).toString()}var An=typeof BigInt<`u`?kn:T;function jn(e){return e}function Mn(e){if(e!==void 0)return Tn(e)}var Nn={encodeHrTime:On,encodeSpanContext:Tn,encodeOptionalSpanContext:Mn};function Pn(e){if(e===void 0)return Nn;let t=e.useLongBits??!0,n=e.useHex??!1;return{encodeHrTime:t?On:An,encodeSpanContext:n?jn:Tn,encodeOptionalSpanContext:n?jn:Mn}}function Fn(e){let t={attributes:Ln(e.attributes),droppedAttributesCount:0},n=e.schemaUrl;return n&&n!==``&&(t.schemaUrl=n),t}function In(e){return{name:e.name,version:e.version}}function Ln(e){return Object.keys(e).map(t=>Rn(t,e[t]))}function Rn(e,t){return{key:e,value:zn(t)}}function zn(e){let t=typeof e;return t===`string`?{stringValue:e}:t===`number`?Number.isInteger(e)?{intValue:e}:{doubleValue:e}:t===`boolean`?{boolValue:e}:e instanceof Uint8Array?{bytesValue:e}:Array.isArray(e)?{arrayValue:{values:e.map(zn)}}:t===`object`&&e!=null?{kvlistValue:{values:Object.entries(e).map(([e,t])=>Rn(e,t))}}:{}}function Bn(e,t){let n=e.spanContext(),r=e.status,i=e.parentSpanContext?.spanId?t.encodeSpanContext(e.parentSpanContext?.spanId):void 0;return{traceId:t.encodeSpanContext(n.traceId),spanId:t.encodeSpanContext(n.spanId),parentSpanId:i,traceState:n.traceState?.serialize(),name:e.name,kind:e.kind==null?0:e.kind+1,startTimeUnixNano:t.encodeHrTime(e.startTime),endTimeUnixNano:t.encodeHrTime(e.endTime),attributes:Ln(e.attributes),droppedAttributesCount:e.droppedAttributesCount,events:e.events.map(e=>Hn(e,t)),droppedEventsCount:e.droppedEventsCount,status:{code:r.code,message:r.message},links:e.links.map(e=>Vn(e,t)),droppedLinksCount:e.droppedLinksCount}}function Vn(e,t){return{attributes:e.attributes?Ln(e.attributes):[],spanId:t.encodeSpanContext(e.context.spanId),traceId:t.encodeSpanContext(e.context.traceId),traceState:e.context.traceState?.serialize(),droppedAttributesCount:e.droppedAttributesCount||0}}function Hn(e,t){return{attributes:e.attributes?Ln(e.attributes):[],name:e.name,timeUnixNano:t.encodeHrTime(e.time),droppedAttributesCount:e.droppedAttributesCount||0}}function Un(e,t){return{resourceSpans:Gn(e,Pn(t))}}function Wn(e){let t=new Map;for(let n of e){let e=t.get(n.resource);e||(e=new Map,t.set(n.resource,e));let r=`${n.instrumentationScope.name}@${n.instrumentationScope.version||``}:${n.instrumentationScope.schemaUrl||``}`,i=e.get(r);i||(i=[],e.set(r,i)),i.push(n)}return t}function Gn(e,t){let n=Wn(e),r=[],i=n.entries(),a=i.next();for(;!a.done;){let[e,n]=a.value,o=[],s=n.values(),c=s.next();for(;!c.done;){let e=c.value;if(e.length>0){let n=e.map(e=>Bn(e,t));o.push({scope:In(e[0].instrumentationScope),spans:n,schemaUrl:e[0].instrumentationScope.schemaUrl})}c=s.next()}let l=Fn(e),u={resource:l,scopeSpans:o,schemaUrl:l.schemaUrl};r.push(u),a=i.next()}return r}var Kn={serializeRequest:e=>{let t=Un(e,{useHex:!0,useLongBits:!1});return new TextEncoder().encode(JSON.stringify(t))},deserializeResponse:e=>{if(e.length===0)return{};let t=new TextDecoder;return JSON.parse(t.decode(e))}},qn=5,Jn=1e3,Yn=5e3,Xn=1.5,Zn=.2;function Qn(){return 2*Zn*Math.random()-Zn}var $n=class{_transport;constructor(e){this._transport=e}retry(e,t,n){return new Promise((r,i)=>{setTimeout(()=>{this._transport.send(e,t).then(r,i)},n)})}async send(e,t){let n=Date.now()+t,r=await this._transport.send(e,t),i=qn,a=Jn;for(;r.status===`retryable`&&i>0;){i--;let t=Math.max(Math.min(a,Yn)+Qn(),0);a*=Xn;let o=r.retryInMillis??t,s=n-Date.now();if(o>s)return r;r=await this.retry(e,s,o)}return r}shutdown(){return this._transport.shutdown()}};function er(e){return new $n(e.transport)}function tr(e){return[429,502,503,504].includes(e)}function nr(e){if(e==null)return;let t=Number.parseInt(e,10);if(Number.isInteger(t))return t>0?t*1e3:-1;let n=new Date(e).getTime()-Date.now();return n>=0?n:0}var rr=class{_parameters;constructor(e){this._parameters=e}send(e,t){return new Promise(n=>{let r=new XMLHttpRequest;r.timeout=t,r.open(`POST`,this._parameters.url);let i=this._parameters.headers();Object.entries(i).forEach(([e,t])=>{r.setRequestHeader(e,t)}),r.ontimeout=e=>{n({status:`failure`,error:Error(`XHR request timed out`)})},r.onreadystatechange=()=>{r.status>=200&&r.status<=299?(_.debug(`XHR success`),n({status:`success`})):r.status&&tr(r.status)?n({status:`retryable`,retryInMillis:nr(r.getResponseHeader(`Retry-After`))}):r.status!==0&&n({status:`failure`,error:Error(`XHR request failed with non-retryable status`)})},r.onabort=()=>{n({status:`failure`,error:Error(`XHR request aborted`)})},r.onerror=()=>{n({status:`failure`,error:Error(`XHR request errored`)})},r.send(e)})}shutdown(){}};function ir(e){return new rr(e)}var ar=class{_params;constructor(e){this._params=e}send(e){return new Promise(t=>{navigator.sendBeacon(this._params.url,new Blob([e],{type:this._params.blobType}))?(_.debug(`SendBeacon success`),t({status:`success`})):t({status:`failure`,error:Error(`SendBeacon failed`)})})}shutdown(){}};function or(e){return new ar(e)}var sr=class{_parameters;constructor(e){this._parameters=e}async send(e,t){let n=new AbortController,r=setTimeout(()=>n.abort(),t);try{let t=!!globalThis.location,r=new URL(this._parameters.url),i=await fetch(r.href,{method:`POST`,headers:this._parameters.headers(),body:e,signal:n.signal,keepalive:t,mode:t?globalThis.location?.origin===r.origin?`same-origin`:`cors`:`no-cors`});return i.status>=200&&i.status<=299?(_.debug(`response success`),{status:`success`}):tr(i.status)?{status:`retryable`,retryInMillis:nr(i.headers.get(`Retry-After`))}:{status:`failure`,error:Error(`Fetch request failed with non-retryable status`)}}catch(e){return e?.name===`AbortError`?{status:`failure`,error:Error(`Fetch request timed out`,{cause:e})}:{status:`failure`,error:Error(`Fetch request errored`,{cause:e})}}finally{clearTimeout(r)}}shutdown(){}};function cr(e){return new sr(e)}function lr(e,t){return Cn(e,t,er({transport:ir(e)}))}function ur(e,t){return Cn(e,t,er({transport:cr(e)}))}function dr(e,t){return Cn(e,t,er({transport:or({url:e.url,blobType:e.headers()[`Content-Type`]})}))}function fr(e){return()=>{let t={};return Object.entries(e?.()??{}).forEach(([e,n])=>{n===void 0?_.warn(`Header "${e}" has invalid value (${n}) and will be ignored`):t[e]=String(n)}),t}}function pr(e,t,n){let r={...n()},i={};return()=>(t!=null&&Object.assign(i,t()),e!=null&&Object.assign(i,e()),Object.assign(i,r))}function mr(e){if(e!=null)try{let t=globalThis.location?.href;return new URL(e,t).href}catch{throw Error(`Configuration: Could not parse user-provided export URL: '${e}'`)}}function hr(n){return async r=>{let{Agent:i}=await t(()=>import(`./__vite-browser-external-Ci1NQTFf.js`).then(t=>e(t.default)),__vite__mapDeps([0,1]),import.meta.url);return new i(n)}}function gr(e,t,n){return{...Oe(e,t,n),headers:pr(fr(e.headers),t.headers,n.headers),url:mr(e.url)??t.url??n.url,agentFactory:e.agentFactory??t.agentFactory??n.agentFactory}}function _r(e,t){return{...ke(),headers:()=>e,url:`http://localhost:4318/`+t,agentFactory:hr({keepAlive:!0})}}function vr(e,t,n){return gr({url:e.url,timeoutMillis:e.timeoutMillis,headers:De(e.headers),concurrencyLimit:e.concurrencyLimit},{},_r(n,t))}function yr(e,t,n,r){return br(e.headers)(vr(e,n,r),t)}function br(e){return!e&&typeof navigator.sendBeacon==`function`?dr:globalThis.fetch===void 0?lr:ur}var xr=class extends we{constructor(e={}){super(yr(e,Kn,`v1/traces`,{"Content-Type":`application/json`}))}},Sr=class{emit(e){}},Cr=new Sr,wr=new class{getLogger(e,t,n){return new Sr}},Tr=class{constructor(e,t,n,r){this._provider=e,this.name=t,this.version=n,this.options=r}emit(e){this._getLogger().emit(e)}_getLogger(){if(this._delegate)return this._delegate;let e=this._provider._getDelegateLogger(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):Cr}},Er=class{getLogger(e,t,n){return this._getDelegateLogger(e,t,n)??new Tr(this,e,t,n)}_getDelegate(){return this._delegate??wr}_setDelegate(e){this._delegate=e}_getDelegateLogger(e,t,n){return this._delegate?.getLogger(e,t,n)}},Dr=typeof globalThis==`object`?globalThis:typeof self==`object`?self:typeof window==`object`?window:typeof global==`object`?global:{},j=Symbol.for(`io.opentelemetry.js.api.logs`),M=Dr;function Or(e,t,n){return r=>r===e?t:n}var kr=class e{constructor(){this._proxyLoggerProvider=new Er}static getInstance(){return this._instance||=new e,this._instance}setGlobalLoggerProvider(e){return M[j]?this.getLoggerProvider():(M[j]=Or(1,e,wr),this._proxyLoggerProvider._setDelegate(e),e)}getLoggerProvider(){return M[j]?.call(M,1)??this._proxyLoggerProvider}getLogger(e,t,n){return this.getLoggerProvider().getLogger(e,t,n)}disable(){delete M[j],this._proxyLoggerProvider=new Er}}.getInstance();function Ar(e,t,n,r){for(let i=0,a=e.length;i<a;i++){let a=e[i];t&&a.setTracerProvider(t),n&&a.setMeterProvider(n),r&&a.setLoggerProvider&&a.setLoggerProvider(r),a.getConfig().enabled||a.enable()}}function jr(e){e.forEach(e=>e.disable())}function Mr(e){let t=e.tracerProvider||f.getTracerProvider(),n=e.meterProvider||Ce.getMeterProvider(),r=e.loggerProvider||kr.getLoggerProvider(),i=e.instrumentations?.flat()??[];return Ar(i,t,n,r),()=>{jr(i)}}var N=console.error.bind(console);function P(e,t,n){let r=!!e[t]&&Object.prototype.propertyIsEnumerable.call(e,t);Object.defineProperty(e,t,{configurable:!0,enumerable:r,writable:!0,value:n})}var Nr=(e,t,n)=>{if(!e||!e[t]){N(`no original function `+String(t)+` to wrap`);return}if(!n){N(`no wrapper function`),N(Error().stack);return}let r=e[t];if(typeof r!=`function`||typeof n!=`function`){N(`original object and wrapper must be functions`);return}let i=n(r,t);return P(i,`__original`,r),P(i,`__unwrap`,()=>{e[t]===i&&P(e,t,r)}),P(i,`__wrapped`,!0),P(e,t,i),i},Pr=(e,t,n)=>{if(e)Array.isArray(e)||(e=[e]);else{N(`must provide one or more modules to patch`),N(Error().stack);return}if(!(t&&Array.isArray(t))){N(`must provide one or more functions to wrap on modules`);return}e.forEach(e=>{t.forEach(t=>{Nr(e,t,n)})})},Fr=(e,t)=>{if(!e||!e[t]){N(`no function to unwrap.`),N(Error().stack);return}let n=e[t];if(!n.__unwrap)N(`no original to unwrap to -- has `+String(t)+` already been unwrapped?`);else{n.__unwrap();return}},Ir=(e,t)=>{if(e)Array.isArray(e)||(e=[e]);else{N(`must provide one or more modules to patch`),N(Error().stack);return}if(!(t&&Array.isArray(t))){N(`must provide one or more functions to unwrap on modules`);return}e.forEach(e=>{t.forEach(t=>{Fr(e,t)})})};function F(e){e&&e.logger&&(typeof e.logger==`function`?N=e.logger:N(`new logger isn't a function, not replacing`))}F.wrap=Nr,F.massWrap=Pr,F.unwrap=Fr,F.massUnwrap=Ir;var Lr=class{instrumentationName;instrumentationVersion;_config={};_tracer;_meter;_logger;_diag;constructor(e,t,n){this.instrumentationName=e,this.instrumentationVersion=t,this.setConfig(n),this._diag=_.createComponentLogger({namespace:e}),this._tracer=f.getTracer(e,t),this._meter=Ce.getMeter(e,t),this._logger=kr.getLogger(e,t),this._updateMetricInstruments()}_wrap=Nr;_unwrap=Fr;_massWrap=Pr;_massUnwrap=Ir;get meter(){return this._meter}setMeterProvider(e){this._meter=e.getMeter(this.instrumentationName,this.instrumentationVersion),this._updateMetricInstruments()}get logger(){return this._logger}setLoggerProvider(e){this._logger=e.getLogger(this.instrumentationName,this.instrumentationVersion)}getModuleDefinitions(){let e=this.init()??[];return Array.isArray(e)?e:[e]}_updateMetricInstruments(){}getConfig(){return this._config}setConfig(e){this._config={enabled:!0,...e}}setTracerProvider(e){this._tracer=e.getTracer(this.instrumentationName,this.instrumentationVersion)}get tracer(){return this._tracer}_runSpanCustomizationHook(e,t,n,r){if(e)try{e(n,r)}catch(e){this._diag.error(`Error running span customization hook due to exception in handler`,{triggerName:t},e)}}},Rr=class extends Lr{constructor(e,t,n){super(e,t,n),this._config.enabled&&this.enable()}};function I(e,t,n){let r,i;try{i=e()}catch(e){r=e}finally{if(t(r,i),r&&!n)throw r;return i}}function L(e){return typeof e==`function`&&typeof e.__original==`function`&&typeof e.__unwrap==`function`&&e.__wrapped===!0}var R;(function(e){e[e.STABLE=1]=`STABLE`,e[e.OLD=2]=`OLD`,e[e.DUPLICATE=3]=`DUPLICATE`})(R||={});function zr(e,t){let n=R.OLD,r=t?.split(`,`).map(e=>e.trim()).filter(e=>e!==``);for(let t of r??[])if(t.toLowerCase()===e+`/dup`){n=R.DUPLICATE;break}else t.toLowerCase()===e&&(n=R.STABLE);return n}var z;function Br(){if(z===void 0)try{let e=globalThis.process.argv0;z=e?`unknown_service:${e}`:`unknown_service`}catch{z=`unknown_service`}return z}var B=e=>typeof e==`object`&&!!e&&typeof e.then==`function`,Vr=class e{_rawAttributes;_asyncAttributesPending=!1;_schemaUrl;_memoizedAttributes;static FromAttributeList(t,n){let r=new e({},n);return r._rawAttributes=Wr(t),r._asyncAttributesPending=t.filter(([e,t])=>B(t)).length>0,r}constructor(e,t){let n=e.attributes??{};this._rawAttributes=Object.entries(n).map(([e,t])=>(B(t)&&(this._asyncAttributesPending=!0),[e,t])),this._rawAttributes=Wr(this._rawAttributes),this._schemaUrl=Gr(t?.schemaUrl)}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(this.asyncAttributesPending){for(let e=0;e<this._rawAttributes.length;e++){let[t,n]=this._rawAttributes[e];this._rawAttributes[e]=[t,B(n)?await n:n]}this._asyncAttributesPending=!1}}get attributes(){if(this.asyncAttributesPending&&_.error(`Accessing resource attributes before async attributes settled`),this._memoizedAttributes)return this._memoizedAttributes;let e={};for(let[t,n]of this._rawAttributes){if(B(n)){_.debug(`Unsettled resource attribute ${t} skipped`);continue}n!=null&&(e[t]??=n)}return this._asyncAttributesPending||(this._memoizedAttributes=e),e}getRawAttributes(){return this._rawAttributes}get schemaUrl(){return this._schemaUrl}merge(t){if(t==null)return this;let n=Kr(this,t),r=n?{schemaUrl:n}:void 0;return e.FromAttributeList([...t.getRawAttributes(),...this.getRawAttributes()],r)}};function Hr(e,t){return Vr.FromAttributeList(Object.entries(e),t)}function Ur(){return Hr({[ft]:Br(),[mt]:bt[mt],[gt]:bt[gt],[_t]:bt[_t]})}function Wr(e){return e.map(([e,t])=>B(t)?[e,t.catch(t=>{_.debug(`promise rejection for resource attribute: %s - %s`,e,t)})]:[e,t])}function Gr(e){if(typeof e==`string`||e===void 0)return e;_.warn(`Schema URL must be string or undefined, got %s. Schema URL will be ignored.`,e)}function Kr(e,t){let n=e?.schemaUrl,r=t?.schemaUrl,i=n===void 0||n===``,a=r===void 0||r===``;if(i)return r;if(a||n===r)return n;_.warn(`Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.`,n,r)}var qr=`exception`,Jr=Symbol.for(`nodejs.util.inspect.custom`);function Yr(e){let t={};for(let[n,r]of e.getRawAttributes())typeof r?.then!=`function`&&r!=null&&(t[n]??=r);return t}function Xr(e,t,n,r,i){if(typeof n==`number`&&n<0){let t=`[${e}]`;return r?.stylize?r.stylize(t,`special`):t}return typeof i!=`function`||!r?t:`${e} ${i(t,{...r,depth:r.depth==null?r.depth:r.depth-1})}`}var Zr=class{_spanContext;kind;parentSpanContext;attributes={};links=[];events=[];startTime;resource;instrumentationScope;_droppedAttributesCount=0;_droppedEventsCount=0;_droppedLinksCount=0;_attributesCount=0;name;status={code:c.UNSET};endTime=[0,0];_ended=!1;_duration=[-1,-1];_spanProcessor;_spanLimits;_attributeValueLengthLimit;_recordEndMetrics;_performanceStartTime;_performanceOffset;_startTimeProvided;constructor(e){let t=Date.now();if(this._spanContext=e.spanContext,this._performanceStartTime=b.now(),this._performanceOffset=t-(this._performanceStartTime+b.timeOrigin),this._startTimeProvided=e.startTime!=null,this._spanLimits=e.spanLimits,this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit??0,this._spanProcessor=e.spanProcessor,this.name=e.name,this.parentSpanContext=e.parentSpanContext,this.kind=e.kind,e.links)for(let t of e.links)this.addLink(t);this.startTime=this._getTime(e.startTime??t),this.resource=e.resource,this.instrumentationScope=e.scope,this._recordEndMetrics=e.recordEndMetrics,e.attributes!=null&&this.setAttributes(e.attributes),this._spanProcessor.onStart(this,e.context)}spanContext(){return this._spanContext}setAttribute(e,t){if(t==null||this._isSpanEnded())return this;if(e.length===0)return _.warn(`Invalid attribute key: ${e}`),this;if(!Ue(t))return _.warn(`Invalid attribute value set for key: ${e}`),this;let{attributeCountLimit:n}=this._spanLimits,r=!Object.prototype.hasOwnProperty.call(this.attributes,e);return n!==void 0&&this._attributesCount>=n&&r?(this._droppedAttributesCount++,this):(this.attributes[e]=this._truncateToSize(t),r&&this._attributesCount++,this)}setAttributes(e){for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&this.setAttribute(t,e[t]);return this}addEvent(e,t,n){if(this._isSpanEnded())return this;let{eventCountLimit:r}=this._spanLimits;if(r===0)return _.warn(`No events allowed.`),this._droppedEventsCount++,this;r!==void 0&&this.events.length>=r&&(this._droppedEventsCount===0&&_.debug(`Dropping extra events.`),this.events.shift(),this._droppedEventsCount++),Tt(t)&&(Tt(n)||(n=t),t=void 0);let i=v(t),{attributePerEventCountLimit:a}=this._spanLimits,o={},s=0,c=0;for(let e in i){if(!Object.prototype.hasOwnProperty.call(i,e))continue;let t=i[e];if(a!==void 0&&c>=a){s++;continue}o[e]=this._truncateToSize(t),c++}return this.events.push({name:e,attributes:o,time:this._getTime(n),droppedAttributesCount:s}),this}addLink(e){if(this._isSpanEnded())return this;let{linkCountLimit:t}=this._spanLimits;if(t===0)return this._droppedLinksCount++,this;t!==void 0&&this.links.length>=t&&(this._droppedLinksCount===0&&_.debug(`Dropping extra links.`),this.links.shift(),this._droppedLinksCount++);let{attributePerLinkCountLimit:n}=this._spanLimits,r=v(e.attributes),i={},a=0,o=0;for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let t=r[e];if(n!==void 0&&o>=n){a++;continue}i[e]=this._truncateToSize(t),o++}let s={context:e.context};return o>0&&(s.attributes=i),a>0&&(s.droppedAttributesCount=a),this.links.push(s),this}addLinks(e){for(let t of e)this.addLink(t);return this}setStatus(e){if(this._isSpanEnded()||e.code===c.UNSET||this.status.code===c.OK)return this;let t={code:e.code};return e.code===c.ERROR&&(typeof e.message==`string`?t.message=e.message:e.message!=null&&_.warn(`Dropping invalid status.message of type '${typeof e.message}', expected 'string'`)),this.status=t,this}updateName(e){return this._isSpanEnded()||(this.name=e),this}end(e){if(this._isSpanEnded()){_.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);return}this.endTime=this._getTime(e),this._duration=Ct(this.startTime,this.endTime),this._duration[0]<0&&(_.warn(`Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.`,this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0]),this._droppedEventsCount>0&&_.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`),this._droppedLinksCount>0&&_.warn(`Dropped ${this._droppedLinksCount} links because linkCountLimit reached`),this._spanProcessor.onEnding&&this._spanProcessor.onEnding(this),this._recordEndMetrics?.(),this._ended=!0,this._spanProcessor.onEnd(this)}_getTime(e){if(typeof e==`number`&&e<=b.now())return C(e+this._performanceOffset);if(typeof e==`number`)return S(e);if(e instanceof Date)return S(e.getTime());if(wt(e))return e;if(this._startTimeProvided)return S(Date.now());let t=b.now()-this._performanceStartTime;return Et(this.startTime,S(t))}isRecording(){return this._ended===!1}recordException(e,t){let n={};typeof e==`string`?n[it]=e:e&&(e.code?n[ot]=e.code.toString():e.name&&(n[ot]=e.name),e.message&&(n[it]=e.message),e.stack&&(n[at]=e.stack)),n[`exception.type`]||n[`exception.message`]?this.addEvent(qr,n,t):_.warn(`Failed to record an exception ${e}`)}get duration(){return this._duration}get ended(){return this._ended}get droppedAttributesCount(){return this._droppedAttributesCount}get droppedEventsCount(){return this._droppedEventsCount}get droppedLinksCount(){return this._droppedLinksCount}_isSpanEnded(){if(this._ended){let e=Error(`Operation attempted on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);_.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`,e)}return this._ended}_truncateToLimitUtil(e,t){return e.length<=t?e:e.substring(0,t)}_truncateToSize(e){let t=this._attributeValueLengthLimit;return t<=0?(_.warn(`Attribute value limit must be positive, got ${t}`),e):typeof e==`string`?this._truncateToLimitUtil(e,t):Array.isArray(e)?e.map(e=>typeof e==`string`?this._truncateToLimitUtil(e,t):e):e}[Jr](e,t,n){return Xr(`SpanImpl`,{name:this.name,kind:this.kind,spanContext:this._spanContext,parentSpanContext:this.parentSpanContext,status:this.status,startTime:this.startTime,endTime:this.endTime,duration:this._duration,ended:this._ended,attributes:this.attributes,events:this.events,links:this.links,droppedAttributesCount:this._droppedAttributesCount,droppedEventsCount:this._droppedEventsCount,droppedLinksCount:this._droppedLinksCount,instrumentationScope:this.instrumentationScope,resource:{attributes:Yr(this.resource)}},e,t,n)}},V;(function(e){e[e.NOT_RECORD=0]=`NOT_RECORD`,e[e.RECORD=1]=`RECORD`,e[e.RECORD_AND_SAMPLED=2]=`RECORD_AND_SAMPLED`})(V||={});var Qr=`otel.component.name`,$r=`otel.component.type`,ei=`otel.span.parent.origin`,ti=`otel.span.sampling_result`,ni=`otel.sdk.processor.span.processed`,ri=`otel.sdk.processor.span.queue.capacity`,ii=`otel.sdk.processor.span.queue.size`,ai=`otel.sdk.span.live`,oi=`otel.sdk.span.started`,si=`batching_span_processor`,ci=class{startedSpans;liveSpans;constructor(e){this.startedSpans=e.createCounter(oi,{unit:`{span}`,description:`The number of created spans.`}),this.liveSpans=e.createUpDownCounter(ai,{unit:`{span}`,description:`The number of currently live spans.`})}startSpan(e,t){let n=ui(t);if(this.startedSpans.add(1,{[ei]:li(e),[ti]:n}),t===V.NOT_RECORD)return()=>{};let r={[ti]:n};return this.liveSpans.add(1,r),()=>{this.liveSpans.add(-1,r)}}};function li(e){return e?e.isRemote?`remote`:`local`:`none`}function ui(e){switch(e){case V.RECORD_AND_SAMPLED:return`RECORD_AND_SAMPLE`;case V.RECORD:return`RECORD_ONLY`;case V.NOT_RECORD:return`DROP`}}var di=`2.9.0`,fi=class{_sampler;_spanLimits;_idGenerator;instrumentationScope;_resource;_spanProcessor;_tracerMetrics;constructor(e,t){this.instrumentationScope=e,this._sampler=t.sampler,this._spanLimits=t.spanLimits,this._resource=t.resource,this._idGenerator=t.idGenerator,this._spanProcessor=t.spanProcessor,this._tracerMetrics=new ci(t.meterProvider.getMeter(`@opentelemetry/sdk-trace`,di))}startSpan(e,t={},r=h.active()){t.root&&(r=f.deleteSpan(r));let i=f.getSpan(r);if(Pe(r))return _.debug(`Instrumentation suppressed, returning Noop Span`),f.wrapSpanContext(n);let a=i?.spanContext(),o=this._idGenerator.generateSpanId(),s,c,u;!a||!f.isSpanContextValid(a)?c=this._idGenerator.generateTraceId():(c=a.traceId,u=a.traceState,s=a);let d=t.kind??be.INTERNAL,p=(t.links??[]).map(e=>({context:e.context,attributes:v(e.attributes)})),ee=v(t.attributes),m=this._sampler.shouldSample(r,c,e,d,ee,p),te=this._tracerMetrics.startSpan(a,m.decision);u=m.traceState??u;let g=m.decision===ye.RECORD_AND_SAMPLED?l.SAMPLED:l.NONE,ne={traceId:c,spanId:o,traceFlags:g,traceState:u};if(m.decision===ye.NOT_RECORD)return _.debug(`Recording is off, propagating context in a non-recording span`),f.wrapSpanContext(ne);let re=v(Object.assign(ee,m.attributes));return new Zr({resource:this._resource,scope:this.instrumentationScope,context:r,spanContext:ne,name:e,kind:d,links:p,parentSpanContext:s,attributes:re,startTime:t.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits,recordEndMetrics:te})}startActiveSpan(e,t,n,r){let i,a,o;if(arguments.length<2)return;arguments.length===2?o=t:arguments.length===3?(i=t,o=n):(i=t,a=n,o=r);let s=a??h.active(),c=this.startSpan(e,i,s),l=f.setSpan(s,c);return h.with(l,o,void 0,c)}[Jr](e,t,n){return Xr(`Tracer`,{instrumentationScope:this.instrumentationScope,resource:{attributes:Yr(this._resource)},spanLimits:this._spanLimits},e,t,n)}},pi=class{_spanProcessors;constructor(e){this._spanProcessors=e}forceFlush(){let e=[];for(let t of this._spanProcessors)e.push(t.forceFlush());return new Promise(t=>{Promise.all(e).then(()=>{t()}).catch(e=>{y(e||Error(`MultiSpanProcessor: forceFlush failed`)),t()})})}onStart(e,t){for(let n of this._spanProcessors)n.onStart(e,t)}onEnding(e){for(let t of this._spanProcessors)t.onEnding&&t.onEnding(e)}onEnd(e){for(let t of this._spanProcessors)t.onEnd(e)}shutdown(){let e=[];for(let t of this._spanProcessors)e.push(t.shutdown());return new Promise((t,n)=>{Promise.all(e).then(()=>{t()},n)})}},H=class{shouldSample(){return{decision:V.NOT_RECORD}}toString(){return`AlwaysOffSampler`}},U=class{shouldSample(){return{decision:V.RECORD_AND_SAMPLED}}toString(){return`AlwaysOnSampler`}},W=class{_root;_remoteParentSampled;_remoteParentNotSampled;_localParentSampled;_localParentNotSampled;constructor(e){this._root=e.root,this._root||=(y(Error(`ParentBasedSampler must have a root sampler configured`)),new U),this._remoteParentSampled=e.remoteParentSampled??new U,this._remoteParentNotSampled=e.remoteParentNotSampled??new H,this._localParentSampled=e.localParentSampled??new U,this._localParentNotSampled=e.localParentNotSampled??new H}shouldSample(e,t,n,r,i,a){let o=f.getSpanContext(e);return!o||!d(o)?this._root.shouldSample(e,t,n,r,i,a):o.isRemote?o.traceFlags&l.SAMPLED?this._remoteParentSampled.shouldSample(e,t,n,r,i,a):this._remoteParentNotSampled.shouldSample(e,t,n,r,i,a):o.traceFlags&l.SAMPLED?this._localParentSampled.shouldSample(e,t,n,r,i,a):this._localParentNotSampled.shouldSample(e,t,n,r,i,a)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}},mi=new Map,hi=class{processedSpans;queueSize;queueSizeCallback;standardAttrs;droppedAttrs;constructor(e,t,n){let r=mi.get(e)??0;if(mi.set(e,r+1),this.standardAttrs={[$r]:e,[Qr]:`${e}/${r}`},this.droppedAttrs={...this.standardAttrs,[rt]:`queue_full`},this.processedSpans=t.createCounter(ni,{unit:`{span}`,description:`The number of spans for which the processing has finished, either successful or failed.`}),n){let{capacity:e,getQueueSize:r}=n;t.createUpDownCounter(ri,{unit:`{span}`,description:`The maximum number of spans the queue of a given instance of an SDK span processor can hold.`}).add(e,this.standardAttrs),this.queueSize=t.createObservableUpDownCounter(ii,{unit:`{span}`,description:`The number of spans in the queue of a given instance of an SDK span processor.`}),this.queueSizeCallback=e=>e.observe(r(),this.standardAttrs),this.queueSize.addCallback(this.queueSizeCallback)}}dropSpans(e){this.processedSpans.add(e,this.droppedAttrs)}finishSpans(e,t){if(!t){this.processedSpans.add(e,this.standardAttrs);return}let n={...this.standardAttrs,[rt]:t.name};this.processedSpans.add(e,n)}shutdown(){this.queueSize&&this.queueSizeCallback&&this.queueSize.removeCallback(this.queueSizeCallback)}},gi=class{_maxExportBatchSize;_maxQueueSize;_scheduledDelayMillis;_exportTimeoutMillis;_exporter;_metrics;_isExporting=!1;_finishedSpans=[];_timer;_shutdownOnce;_droppedSpansCount=0;constructor(e){this._exporter=e.exporter,this._maxExportBatchSize=e.maxExportBatchSize??512,this._maxQueueSize=e.maxQueueSize??2048,this._scheduledDelayMillis=e.scheduledDelayMillis??5e3,this._exportTimeoutMillis=e.exportTimeoutMillis??3e4,this._shutdownOnce=new vn(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(_.warn(`BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize`),this._maxExportBatchSize=this._maxQueueSize),this._metrics=new hi(si,e.selfObsMeterProvider?e.selfObsMeterProvider.getMeter(`@opentelemetry/sdk-trace`):ve(),{capacity:this._maxQueueSize,getQueueSize:()=>this._finishedSpans.length})}forceFlush(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()}onStart(e,t){}onEnd(e){this._shutdownOnce.isCalled||(e.spanContext().traceFlags&l.SAMPLED)!==0&&this._addToBuffer(e)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return Promise.resolve().then(()=>this.onShutdown()).then(()=>this._flushAll()).then(()=>(this._metrics.shutdown(),this._exporter.shutdown()))}_addToBuffer(e){if(this._finishedSpans.length>=this._maxQueueSize){this._droppedSpansCount===0&&_.debug(`maxQueueSize reached, dropping spans`),this._droppedSpansCount++,this._metrics.dropSpans(1);return}this._droppedSpansCount>0&&(_.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0),this._finishedSpans.push(e),this._maybeStartTimer()}_flushAll(){return new Promise((e,t)=>{let n=[],r=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let e=0,t=r;e<t;e++)n.push(this._flushOneBatch());Promise.all(n).then(()=>{e()}).catch(t)})}_flushOneBatch(){return this._clearTimer(),this._finishedSpans.length===0?Promise.resolve():new Promise((e,t)=>{let n=setTimeout(()=>{t(Error(`Timeout`))},this._exportTimeoutMillis);h.with(Ne(h.active()),()=>{let r;this._finishedSpans.length<=this._maxExportBatchSize?(r=this._finishedSpans,this._finishedSpans=[]):r=this._finishedSpans.splice(0,this._maxExportBatchSize);let i=()=>this._exporter.export(r,i=>{clearTimeout(n),this._metrics.finishSpans(r.length,i.error),i.code===E.SUCCESS?e():t(i.error??Error(`BatchSpanProcessor: span export failed`))}),a=null;for(let e=0,t=r.length;e<t;e++){let t=r[e];t.resource.asyncAttributesPending&&t.resource.waitForAsyncAttributes&&(a??=[],a.push(t.resource.waitForAsyncAttributes()))}a===null?i():Promise.all(a).then(i,e=>{y(e),t(e)})})})}_maybeStartTimer(){if(this._isExporting)return;let e=()=>{this._isExporting=!0,this._flushOneBatch().finally(()=>{this._isExporting=!1,this._finishedSpans.length>0&&(this._clearTimer(),this._maybeStartTimer())}).catch(e=>{this._isExporting=!1,y(e)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return e();this._timer===void 0&&(this._timer=setTimeout(()=>e(),this._scheduledDelayMillis),typeof this._timer!=`number`&&this._timer.unref())}_clearTimer(){this._timer!==void 0&&(clearTimeout(this._timer),this._timer=void 0)}},_i=class extends gi{_visibilityChangeListener;_pageHideListener;constructor(e){super(e),this.onInit(e)}onInit(e){e.disableAutoFlushOnDocumentHide!==!0&&typeof document<`u`&&(this._visibilityChangeListener=()=>{document.visibilityState===`hidden`&&this.forceFlush().catch(e=>{y(e)})},this._pageHideListener=()=>{this.forceFlush().catch(e=>{y(e)})},document.addEventListener(`visibilitychange`,this._visibilityChangeListener),document.addEventListener(`pagehide`,this._pageHideListener))}onShutdown(){typeof document<`u`&&(this._visibilityChangeListener&&document.removeEventListener(`visibilitychange`,this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener(`pagehide`,this._pageHideListener))}},vi=16,yi=8,bi=new Uint8Array(vi),xi=new Uint8Array(yi),Si=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,`0`));function Ci(e){for(let t=0;t<e.length;t++)e[t]=Math.random()*256>>>0;for(let t=0;t<e.length;t++)if(e[t]>0)return;e[e.length-1]=1}function wi(e){let t=``;for(let n=0;n<e.length;n++)t+=Si[e[n]];return t}var Ti=class{generateTraceId(){return Ci(bi),wi(bi)}generateSpanId(){return Ci(xi),wi(xi)}},G;(function(e){e[e.resolved=0]=`resolved`,e[e.timeout=1]=`timeout`,e[e.error=2]=`error`,e[e.unresolved=3]=`unresolved`})(G||={});var Ei=class{_resource;_activeSpanProcessor;_forceFlushTimeoutMillis;_tracerOptions;_tracers=new Map;constructor(e={}){this._forceFlushTimeoutMillis=e.forceFlushTimeoutMillis??3e4,this._resource=e.resource??Ur(),this._activeSpanProcessor=new pi(e.spanProcessors??[]),this._tracerOptions={resource:this._resource,sampler:e.sampler??new W({root:new U}),spanLimits:{attributeCountLimit:e.spanLimits?.attributeCountLimit??128,attributeValueLengthLimit:e.spanLimits?.attributeValueLengthLimit??1/0,eventCountLimit:e.spanLimits?.eventCountLimit??128,linkCountLimit:e.spanLimits?.linkCountLimit??128,attributePerEventCountLimit:e.spanLimits?.attributePerEventCountLimit??128,attributePerLinkCountLimit:e.spanLimits?.attributePerLinkCountLimit??128},idGenerator:e.idGenerator||new Ti,spanProcessor:this._activeSpanProcessor,meterProvider:e.meterProvider??{getMeter(){return ve()}}}}getTracer(e,t,n){let r=`${e}@${t||``}:${n?.schemaUrl||``}`;return this._tracers.has(r)||this._tracers.set(r,new fi({name:e,version:t,schemaUrl:n?.schemaUrl},this._tracerOptions)),this._tracers.get(r)}forceFlush(){let e=this._forceFlushTimeoutMillis,t=this._activeSpanProcessor._spanProcessors.map(t=>new Promise(n=>{let r,i=setTimeout(()=>{n(Error(`Span processor did not completed within timeout period of ${e} ms`)),r=G.timeout},e);t.forceFlush().then(()=>{clearTimeout(i),r!==G.timeout&&(r=G.resolved,n(r))}).catch(e=>{clearTimeout(i),r=G.error,n(e)})}));return new Promise((e,n)=>{Promise.all(t).then(t=>{let r=t.filter(e=>e!==G.resolved);r.length>0?n(r):e()}).catch(e=>n([e]))})}shutdown(){return this._activeSpanProcessor.shutdown()}[Jr](e,t,n){let r=this._activeSpanProcessor._spanProcessors;return Xr(`TracerProvider`,{resource:{attributes:Yr(this._resource)},tracers:Array.from(this._tracers.keys()),spanProcessors:r.map(e=>e.constructor?.name??`SpanProcessor`)},e,t,n)}},Di=class{_ratio;_upperBound;constructor(e=0){this._ratio=this._normalize(e),this._upperBound=Math.floor(this._ratio*4294967295)}shouldSample(e,t){return{decision:o(t)&&this._accumulate(t)<this._upperBound?V.RECORD_AND_SAMPLED:V.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(e){return typeof e!=`number`||isNaN(e)?0:e>=1?1:e<=0?0:e}_accumulate(e){let t=0;for(let n=0;n<32;n+=8){let r=0;for(let t=0;t<8;t++){let i=e.charCodeAt(n+t),a=i<58?i-48:i<71?i-55:i-87;r=r<<4|a}t=(t^r)>>>0}return t}},K;(function(e){e.AlwaysOff=`always_off`,e.AlwaysOn=`always_on`,e.ParentBasedAlwaysOff=`parentbased_always_off`,e.ParentBasedAlwaysOn=`parentbased_always_on`,e.ParentBasedTraceIdRatio=`parentbased_traceidratio`,e.TraceIdRatio=`traceidratio`})(K||={});var Oi=1;function ki(){return{sampler:Ai(),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128},spanLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128,linkCountLimit:128,eventCountLimit:128,attributePerEventCountLimit:128,attributePerLinkCountLimit:128}}}function Ai(){let e=K.ParentBasedAlwaysOn;switch(e){case K.AlwaysOn:return new U;case K.AlwaysOff:return new H;case K.ParentBasedAlwaysOn:return new W({root:new U});case K.ParentBasedAlwaysOff:return new W({root:new H});case K.TraceIdRatio:return new Di(ji());case K.ParentBasedTraceIdRatio:return new W({root:new Di(ji())});default:return _.error(`OTEL_TRACES_SAMPLER value "${e}" invalid, defaulting to "${K.ParentBasedAlwaysOn}".`),new W({root:new U})}}function ji(){return _.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${Oi}.`),Oi}function Mi(e){let t=Object.assign({},e.spanLimits);return t.attributeCountLimit=e.spanLimits?.attributeCountLimit??e.generalLimits?.attributeCountLimit??void 0??void 0??128,t.attributeValueLengthLimit=e.spanLimits?.attributeValueLengthLimit??e.generalLimits?.attributeValueLengthLimit??void 0??void 0??1/0,Object.assign({},e,{spanLimits:t})}var Ni=class extends Ei{constructor(e={}){let t=cn({},ki(),Mi(e));delete t.generalLimits,super(t)}},Pi=class extends _i{constructor(e,t){t||={};for(let[e,n]of[[`maxExportBatchSize`,`OTEL_BSP_MAX_EXPORT_BATCH_SIZE`],[`maxQueueSize`,`OTEL_BSP_MAX_QUEUE_SIZE`],[`scheduledDelayMillis`,`OTEL_BSP_SCHEDULE_DELAY`],[`exportTimeoutMillis`,`OTEL_BSP_EXPORT_TIMEOUT`]])t[e];super({exporter:e,...t})}},Fi=class{_enabled=!1;_currentContext=r;_bindFunction(e=r,t){let n=this,i=function(...r){return n.with(e,()=>t.apply(this,r))};return Object.defineProperty(i,`length`,{enumerable:!1,configurable:!0,writable:!1,value:t.length}),i}active(){return this._currentContext}bind(e,t){return e===void 0&&(e=this.active()),typeof t==`function`?this._bindFunction(e,t):t}disable(){return this._currentContext=r,this._enabled=!1,this}enable(){return this._enabled?this:(this._enabled=!0,this._currentContext=r,this)}with(e,t,n,...i){let a=this._currentContext;this._currentContext=e||r;try{return t.call(n,...i)}finally{this._currentContext=a}}};function Ii(e){if(e!==null){if(e===void 0){let e=new Fi;e.enable(),h.setGlobalContextManager(e);return}e.enable(),h.setGlobalContextManager(e)}}function Li(e){if(e!==null){if(e===void 0){m.setGlobalPropagator(new Dt({propagators:[new Gt,new Ve]}));return}m.setGlobalPropagator(e)}}var Ri=class extends Ni{constructor(e={}){super(e)}register(e={}){f.setGlobalTracerProvider(this),Li(e.propagator),Ii(e.contextManager)}},q;(function(e){e.CONNECT_END=`connectEnd`,e.CONNECT_START=`connectStart`,e.DECODED_BODY_SIZE=`decodedBodySize`,e.DOM_COMPLETE=`domComplete`,e.DOM_CONTENT_LOADED_EVENT_END=`domContentLoadedEventEnd`,e.DOM_CONTENT_LOADED_EVENT_START=`domContentLoadedEventStart`,e.DOM_INTERACTIVE=`domInteractive`,e.DOMAIN_LOOKUP_END=`domainLookupEnd`,e.DOMAIN_LOOKUP_START=`domainLookupStart`,e.ENCODED_BODY_SIZE=`encodedBodySize`,e.FETCH_START=`fetchStart`,e.LOAD_EVENT_END=`loadEventEnd`,e.LOAD_EVENT_START=`loadEventStart`,e.NAVIGATION_START=`navigationStart`,e.REDIRECT_END=`redirectEnd`,e.REDIRECT_START=`redirectStart`,e.REQUEST_START=`requestStart`,e.RESPONSE_END=`responseEnd`,e.RESPONSE_START=`responseStart`,e.SECURE_CONNECTION_START=`secureConnectionStart`,e.START_TIME=`startTime`,e.UNLOAD_EVENT_END=`unloadEventEnd`,e.UNLOAD_EVENT_START=`unloadEventStart`})(q||={});var zi=`http.response_content_length`,Bi=`http.response_content_length_uncompressed`;function J(e,t){return t in e}function Y(e,t,n,r=!0){if(J(n,t)&&typeof n[t]==`number`&&!(r&&n[t]===0))return e.addEvent(t,n[t])}function Vi(e,t,n=!1,r,i){if(r===void 0&&(r=t[q.START_TIME]!==0),n||(Y(e,q.FETCH_START,t,r),Y(e,q.DOMAIN_LOOKUP_START,t,r),Y(e,q.DOMAIN_LOOKUP_END,t,r),Y(e,q.CONNECT_START,t,r),Y(e,q.SECURE_CONNECTION_START,t,r),Y(e,q.CONNECT_END,t,r),Y(e,q.REQUEST_START,t,r),Y(e,q.RESPONSE_START,t,r),Y(e,q.RESPONSE_END,t,r)),!i){let n=t[q.ENCODED_BODY_SIZE];n!==void 0&&e.setAttribute(zi,n);let r=t[q.DECODED_BODY_SIZE];r!==void 0&&n!==r&&e.setAttribute(Bi,r)}}function Hi(e,t){if(e.nodeType===Node.DOCUMENT_NODE)return`/`;let n=Wi(e,t);if(t&&n.indexOf(`@id`)>0)return n;let r=``;return e.parentNode&&(r+=Hi(e.parentNode,t)),r+=n,r}function Ui(e){if(!e.parentNode)return 0;let t=[e.nodeType];e.nodeType===Node.CDATA_SECTION_NODE&&t.push(Node.TEXT_NODE);let n=Array.from(e.parentNode.childNodes);return n=n.filter(n=>{let r=n.localName;return t.indexOf(n.nodeType)>=0&&r===e.localName}),n.length>=1?n.indexOf(e)+1:0}function Wi(e,t){let n=e.nodeType,r=Ui(e),i;if(n===Node.ELEMENT_NODE){let n=e.getAttribute(`id`);if(t&&n)return`//*[@id="${n}"]`;i=e.localName}else if(n===Node.TEXT_NODE||n===Node.CDATA_SECTION_NODE)i=`text()`;else if(n===Node.COMMENT_NODE)i=`comment()`;else return``;return i&&r>1?`/${i}[${r}]`:`/${i}`}var X;(function(e){e.DOCUMENT_LOAD=`documentLoad`,e.DOCUMENT_FETCH=`documentFetch`,e.RESOURCE_FETCH=`resourceFetch`})(X||={});var Gi=`0.49.0`,Ki=`@opentelemetry/instrumentation-document-load`,qi;(function(e){e.FIRST_PAINT=`firstPaint`,e.FIRST_CONTENTFUL_PAINT=`firstContentfulPaint`})(qi||={});var Ji=()=>{let e={},t=b.getEntriesByType?.(`navigation`)[0];if(t)Object.values(q).forEach(n=>{if(J(t,n)){let r=t[n];typeof r==`number`&&(e[n]=r)}});else{let t=b.timing;t&&Object.values(q).forEach(n=>{if(J(t,n)){let r=t[n];typeof r==`number`&&(e[n]=r)}})}return e},Yi={"first-paint":qi.FIRST_PAINT,"first-contentful-paint":qi.FIRST_CONTENTFUL_PAINT},Xi=e=>{let t=b.getEntriesByType?.(`paint`);t&&t.forEach(({name:t,startTime:n})=>{J(Yi,t)&&e.addEvent(Yi[t],n)})},Zi=class extends Rr{component=`document-load`;version=`1`;moduleName=this.component;constructor(e={}){super(Ki,Gi,e)}init(){}_onDocumentLoaded(){window.setTimeout(()=>{this._collectPerformance()})}_addResourcesSpans(e){let t=b.getEntriesByType?.(`resource`);t&&t.forEach(t=>{this._initResourceSpan(t,e)})}_collectPerformance(){let e=Array.from(document.getElementsByTagName(`meta`)).find(e=>e.getAttribute(`name`)===D),t=Ji(),n=e&&e.content||``;h.with(m.extract(r,{traceparent:n}),()=>{let e=this._startSpan(X.DOCUMENT_LOAD,q.FETCH_START,t);e&&(h.with(f.setSpan(h.active(),e),()=>{let e=this._startSpan(X.DOCUMENT_FETCH,q.FETCH_START,t);e&&(e.setAttribute(et,location.href),h.with(f.setSpan(h.active(),e),()=>{Vi(e,t,this.getConfig().ignoreNetworkEvents),this._addCustomAttributesOnSpan(e,this.getConfig().applyCustomAttributesOnSpan?.documentFetch),this._endSpan(e,q.RESPONSE_END,t)}))}),e.setAttribute(et,location.href),e.setAttribute(tt,navigator.userAgent),this._addResourcesSpans(e),this.getConfig().ignoreNetworkEvents||(Y(e,q.FETCH_START,t),Y(e,q.UNLOAD_EVENT_START,t),Y(e,q.UNLOAD_EVENT_END,t),Y(e,q.DOM_INTERACTIVE,t),Y(e,q.DOM_CONTENT_LOADED_EVENT_START,t),Y(e,q.DOM_CONTENT_LOADED_EVENT_END,t),Y(e,q.DOM_COMPLETE,t),Y(e,q.LOAD_EVENT_START,t),Y(e,q.LOAD_EVENT_END,t)),this.getConfig().ignorePerformancePaintEvents||Xi(e),this._addCustomAttributesOnSpan(e,this.getConfig().applyCustomAttributesOnSpan?.documentLoad),this._endSpan(e,q.LOAD_EVENT_END,t))})}_endSpan(e,t,n){e&&(J(n,t)?e.end(n[t]):e.end())}_initResourceSpan(e,t){let n=this._startSpan(X.RESOURCE_FETCH,q.FETCH_START,e,t);n&&(n.setAttribute(et,e.name),Vi(n,e,this.getConfig().ignoreNetworkEvents),this._addCustomAttributesOnResourceSpan(n,e,this.getConfig().applyCustomAttributesOnSpan?.resourceFetch),this._endSpan(n,q.RESPONSE_END,e))}_startSpan(e,t,n,r){if(J(n,t)&&typeof n[t]==`number`)return this.tracer.startSpan(e,{startTime:n[t]},r?f.setSpan(h.active(),r):void 0)}_waitForPageLoad(){window.document.readyState===`complete`?this._onDocumentLoaded():(this._onDocumentLoaded=this._onDocumentLoaded.bind(this),window.addEventListener(`load`,this._onDocumentLoaded))}_addCustomAttributesOnSpan(e,t){t&&I(()=>t(e),e=>{e&&this._diag.error(`addCustomAttributesOnSpan`,e)},!0)}_addCustomAttributesOnResourceSpan(e,t,n){n&&I(()=>n(e,t),e=>{e&&this._diag.error(`addCustomAttributesOnResourceSpan`,e)},!0)}enable(){window.removeEventListener(`load`,this._onDocumentLoaded),this._waitForPageLoad()}disable(){window.removeEventListener(`load`,this._onDocumentLoaded)}},Z;(function(e){e.CONNECT_END=`connectEnd`,e.CONNECT_START=`connectStart`,e.DECODED_BODY_SIZE=`decodedBodySize`,e.DOM_COMPLETE=`domComplete`,e.DOM_CONTENT_LOADED_EVENT_END=`domContentLoadedEventEnd`,e.DOM_CONTENT_LOADED_EVENT_START=`domContentLoadedEventStart`,e.DOM_INTERACTIVE=`domInteractive`,e.DOMAIN_LOOKUP_END=`domainLookupEnd`,e.DOMAIN_LOOKUP_START=`domainLookupStart`,e.ENCODED_BODY_SIZE=`encodedBodySize`,e.FETCH_START=`fetchStart`,e.LOAD_EVENT_END=`loadEventEnd`,e.LOAD_EVENT_START=`loadEventStart`,e.NAVIGATION_START=`navigationStart`,e.REDIRECT_END=`redirectEnd`,e.REDIRECT_START=`redirectStart`,e.REQUEST_START=`requestStart`,e.RESPONSE_END=`responseEnd`,e.RESPONSE_START=`responseStart`,e.SECURE_CONNECTION_START=`secureConnectionStart`,e.START_TIME=`startTime`,e.UNLOAD_EVENT_END=`unloadEventEnd`,e.UNLOAD_EVENT_START=`unloadEventStart`})(Z||={});var Qi=`http.response_content_length`,$i=`http.response_content_length_uncompressed`,ea;function ta(){return ea||=document.createElement(`a`),ea}function na(e,t){return t in e}function Q(e,t,n,r=!0){if(na(n,t)&&typeof n[t]==`number`&&!(r&&n[t]===0))return e.addEvent(t,n[t])}function ra(e,t,n=!1,r,i){if(r===void 0&&(r=t[Z.START_TIME]!==0),n||(Q(e,Z.FETCH_START,t,r),Q(e,Z.DOMAIN_LOOKUP_START,t,r),Q(e,Z.DOMAIN_LOOKUP_END,t,r),Q(e,Z.CONNECT_START,t,r),Q(e,Z.SECURE_CONNECTION_START,t,r),Q(e,Z.CONNECT_END,t,r),Q(e,Z.REQUEST_START,t,r),Q(e,Z.RESPONSE_START,t,r),Q(e,Z.RESPONSE_END,t,r)),!i){let n=t[Z.ENCODED_BODY_SIZE];n!==void 0&&e.setAttribute(Qi,n);let r=t[Z.DECODED_BODY_SIZE];r!==void 0&&n!==r&&e.setAttribute($i,r)}}function ia(e){return e.slice().sort((e,t)=>{let n=e[Z.FETCH_START],r=t[Z.FETCH_START];return n>r?1:n<r?-1:0})}function aa(){return typeof location<`u`?location.origin:void 0}function oa(e,t,n,r,i=new WeakSet,a){let o=la(e);e=o.toString();let s=ca(e,t,n,r,i,a);if(s.length===0)return{mainRequest:void 0};if(s.length===1)return{mainRequest:s[0]};let c=ia(s);if(o.origin!==aa()&&c.length>1){let e=c[0],t=sa(c,e[Z.RESPONSE_END],n),r=e[Z.RESPONSE_END];return t[Z.FETCH_START]<r&&(t=e,e=void 0),{corsPreFlightRequest:e,mainRequest:t}}else return{mainRequest:s[0]}}function sa(e,t,n){let r=T(n),i=T(w(t)),a=e[1],o,s=e.length;for(let t=1;t<s;t++){let n=e[t],s=T(w(n[Z.FETCH_START])),c=r-T(w(n[Z.RESPONSE_END]));s>=i&&(!o||c<o)&&(o=c,a=n)}return a}function ca(e,t,n,r,i,a){let o=T(t),s=T(n),c=r.filter(t=>{let n=T(w(t[Z.FETCH_START])),r=T(w(t[Z.RESPONSE_END]));return t.initiatorType.toLowerCase()===(a||`xmlhttprequest`)&&t.name===e&&n>=o&&r<=s});return c.length>0&&(c=c.filter(e=>!i.has(e))),c}function la(e){if(typeof URL==`function`)return new URL(e,typeof document<`u`?document.baseURI:typeof location<`u`?location.href:void 0);let t=ta();return t.href=e,t}function ua(e,t){let n=t||[];return(typeof n==`string`||n instanceof RegExp)&&(n=[n]),la(e).origin===aa()?!0:n.some(t=>hn(e,t))}var da;(function(e){e.COMPONENT=`component`,e.HTTP_STATUS_TEXT=`http.status_text`})(da||={});var fa=`http.host`,pa=`http.method`,ma=`http.request.body.size`,ha=`http.request_content_length_uncompressed`,ga=`http.scheme`,_a=`http.status_code`,va=`http.url`,ya=`http.user_agent`,ba=_.createComponentLogger({namespace:`@opentelemetry/opentelemetry-instrumentation-fetch/utils`});function xa(...e){if(e[0]instanceof URL||typeof e[0]==`string`){let t=e[1];if(!t?.body)return Promise.resolve();if(t.body instanceof ReadableStream){let{body:e,length:n}=Sa(t.body);return t.body=e,n}else return Promise.resolve(wa(t.body))}else{let t=e[0];return t?.body?t.clone().text().then(e=>Ea(e)):Promise.resolve()}}function Sa(e){if(!e.pipeThrough)return ba.warn(`Platform has ReadableStream but not pipeThrough!`),{body:e,length:Promise.resolve(void 0)};let t=0,n,r=new Promise(e=>{n=e}),i=new TransformStream({start(){},async transform(e,n){let r=await e;t+=r.byteLength,n.enqueue(e)},flush(){n(t)}});return{body:e.pipeThrough(i),length:r}}function Ca(e){return typeof Document<`u`&&e instanceof Document}function wa(e){if(Ca(e))return new XMLSerializer().serializeToString(document).length;if(typeof e==`string`)return Ea(e);if(e instanceof Blob)return e.size;if(e instanceof FormData)return Da(e);if(e instanceof URLSearchParams)return Ea(e.toString());if(e.byteLength!==void 0)return e.byteLength;ba.warn(`unknown body type`)}var Ta=new TextEncoder;function Ea(e){return Ta.encode(e).byteLength}function Da(e){let t=0;for(let[n,r]of e.entries())t+=n.length,r instanceof Blob?t+=r.size:t+=r.length;return t}function Oa(e){let t=ja(),n=e.toUpperCase();return n in t?n:`_OTHER`}var ka={CONNECT:!0,DELETE:!0,GET:!0,HEAD:!0,OPTIONS:!0,PATCH:!0,POST:!0,PUT:!0,TRACE:!0},Aa;function ja(){return Aa===void 0&&(Aa=ka),Aa}var Ma={"https:":`443`,"http:":`80`};function Na(e){let t=Number(e.port||Ma[e.protocol]);if(t&&!isNaN(t))return t}var Pa=`0.204.0`,Fa=300,Ia=typeof process==`object`&&process.release?.name===`node`,La=class extends Rr{component=`fetch`;version=Pa;moduleName=this.component;_usedResources=new WeakSet;_tasksCount=0;_semconvStability;constructor(e={}){super(`@opentelemetry/instrumentation-fetch`,Pa,e),this._semconvStability=zr(`http`,e?.semconvStabilityOptIn)}init(){}_addChildSpan(e,t){let n=this.tracer.startSpan(`CORS Preflight`,{startTime:t[Z.FETCH_START]},f.setSpan(h.active(),e)),r=!(this._semconvStability&R.OLD);ra(n,t,this.getConfig().ignoreNetworkEvents,void 0,r),n.end(t[Z.RESPONSE_END])}_addFinalSpanAttributes(e,t){let n=la(t.url);if(this._semconvStability&R.OLD&&(e.setAttribute(_a,t.status),t.statusText!=null&&e.setAttribute(da.HTTP_STATUS_TEXT,t.statusText),e.setAttribute(fa,n.host),e.setAttribute(ga,n.protocol.replace(`:`,``)),typeof navigator<`u`&&e.setAttribute(ya,navigator.userAgent)),this._semconvStability&R.STABLE){e.setAttribute(lt,t.status),e.setAttribute(ut,n.hostname);let r=Na(n);r&&e.setAttribute(dt,r)}}_addHeaders(e,t){if(!ua(t,this.getConfig().propagateTraceHeaderCorsUrls)){let e={};m.inject(h.active(),e),Object.keys(e).length>0&&this._diag.debug(`headers inject skipped due to CORS policy`);return}if(e instanceof Request)m.inject(h.active(),e.headers,{set:(e,t,n)=>e.set(t,typeof n==`string`?n:String(n))});else if(e.headers instanceof Headers)m.inject(h.active(),e.headers,{set:(e,t,n)=>e.set(t,typeof n==`string`?n:String(n))});else if(e.headers instanceof Map)m.inject(h.active(),e.headers,{set:(e,t,n)=>e.set(t,typeof n==`string`?n:String(n))});else{let t={};m.inject(h.active(),t),e.headers=Object.assign({},t,e.headers||{})}}_clearResources(){this._tasksCount===0&&this.getConfig().clearTimingResources&&(performance.clearResourceTimings(),this._usedResources=new WeakSet)}_createSpan(e,t={}){if(gn(e,this.getConfig().ignoreUrls)){this._diag.debug(`ignoring span as url matches ignored url`);return}let n=``,r={};if(this._semconvStability&R.OLD){let i=(t.method||`GET`).toUpperCase();n=`HTTP ${i}`,r[da.COMPONENT]=this.moduleName,r[pa]=i,r[va]=e}if(this._semconvStability&R.STABLE){let i=t.method,a=Oa(t.method||`GET`);n||=a,r[st]=a,a!==i&&(r[ct]=i),r[vt]=e}return this.tracer.startSpan(n,{kind:be.CLIENT,attributes:r})}_findResourceAndAddNetworkEvents(e,t,n){let r=t.entries;if(!r.length){if(!performance.getEntriesByType)return;r=performance.getEntriesByType(`resource`)}let i=oa(t.spanUrl,t.startTime,n,r,this._usedResources,`fetch`);if(i.mainRequest){let t=i.mainRequest;this._markResourceAsUsed(t);let n=i.corsPreFlightRequest;n&&(this._addChildSpan(e,n),this._markResourceAsUsed(n));let r=!(this._semconvStability&R.OLD);ra(e,t,this.getConfig().ignoreNetworkEvents,void 0,r)}}_markResourceAsUsed(e){this._usedResources.add(e)}_endSpan(e,t,n){let r=S(Date.now()),i=C();this._addFinalSpanAttributes(e,n),this._semconvStability&R.STABLE&&n.status>=400&&(e.setStatus({code:c.ERROR}),e.setAttribute(rt,String(n.status))),setTimeout(()=>{t.observer?.disconnect(),this._findResourceAndAddNetworkEvents(e,t,i),this._tasksCount--,this._clearResources(),e.end(r)},Fa)}_patchConstructor(){return e=>{let t=this;return function(...n){let r=this,i=la(n[0]instanceof Request?n[0].url:String(n[0])).href,a=n[0]instanceof Request?n[0]:n[1]||{},o=t._createSpan(i,a);if(!o)return e.apply(this,n);let s=t._prepareSpanData(i);t.getConfig().measureRequestSize&&xa(...n).then(e=>{e&&(t._semconvStability&R.OLD&&o.setAttribute(ha,e),t._semconvStability&R.STABLE&&o.setAttribute(ma,e))}).catch(e=>{t._diag.warn(`getFetchBodyLength`,e)});function c(e,n){t._applyAttributesAfterFetch(e,a,n),t._endSpan(e,s,{status:n.status||0,statusText:n.message,url:i})}function l(e,n){t._applyAttributesAfterFetch(e,a,n),n.status>=200&&n.status<400?t._endSpan(e,s,n):t._endSpan(e,s,{status:n.status,statusText:n.statusText,url:i})}function u(e,t,n){try{let t=n.clone().body;if(t){let r=t.getReader(),i=()=>{r.read().then(({done:t})=>{t?l(e,n):i()},t=>{c(e,t)})};i()}else l(e,n)}finally{t(n)}}function d(e,t,n){try{c(e,n)}finally{t(n)}}return new Promise((n,s)=>h.with(f.setSpan(h.active(),o),()=>(t._addHeaders(a,i),t._callRequestHook(o,a),t._tasksCount++,e.apply(r,a instanceof Request?[a]:[i,a]).then(u.bind(r,o,n),d.bind(r,o,s)))))}}}_applyAttributesAfterFetch(e,t,n){let r=this.getConfig().applyCustomAttributesOnSpan;r&&I(()=>r(e,t,n),e=>{e&&this._diag.error(`applyCustomAttributesOnSpan`,e)},!0)}_callRequestHook(e,t){let n=this.getConfig().requestHook;n&&I(()=>n(e,t),e=>{e&&this._diag.error(`requestHook`,e)},!0)}_prepareSpanData(e){let t=C(),n=[];if(typeof PerformanceObserver!=`function`)return{entries:n,startTime:t,spanUrl:e};let r=new PerformanceObserver(t=>{t.getEntries().forEach(t=>{t.initiatorType===`fetch`&&t.name===e&&n.push(t)})});return r.observe({entryTypes:[`resource`]}),{entries:n,observer:r,startTime:t,spanUrl:e}}enable(){if(Ia){this._diag.warn(`this instrumentation is intended for web usage only, it does not instrument Node.js's fetch()`);return}L(fetch)&&(this._unwrap(Xe,`fetch`),this._diag.debug(`removing previous patch for constructor`)),this._wrap(Xe,`fetch`,this._patchConstructor())}disable(){Ia||(this._unwrap(Xe,`fetch`),this._usedResources=new WeakSet)}},$;(function(e){e.EVENT_TYPE=`event_type`,e.TARGET_ELEMENT=`target_element`,e.TARGET_XPATH=`target_xpath`,e.HTTP_URL=`http.url`})($||={});var Ra=`0.49.0`,za=`@opentelemetry/instrumentation-user-interaction`,Ba=`OT_ZONE_CONTEXT`,Va=`Navigation:`,Ha=[`click`];function Ua(){return!1}var Wa=class extends Rr{version=Ra;moduleName=`user-interaction`;_spansData=new WeakMap;_wrappedListeners=new WeakMap;_eventsSpanMap=new WeakMap;_eventNames;_shouldPreventSpanCreation;constructor(e={}){super(za,Ra,e),this._eventNames=new Set(e?.eventNames??Ha),this._shouldPreventSpanCreation=typeof e?.shouldPreventSpanCreation==`function`?e.shouldPreventSpanCreation:Ua}init(){}_checkForTimeout(e,t){let n=this._spansData.get(t);n&&(e.source===`setTimeout`?n.hrTimeLastTimeout=C():e.source!==`Promise.then`&&e.source!==`setTimeout`&&(n.hrTimeLastTimeout=void 0))}_allowEventName(e){return this._eventNames.has(e)}_createSpan(e,t,n){if(!(e instanceof HTMLElement)||!e.getAttribute||e.hasAttribute(`disabled`)||!this._allowEventName(t))return;let r=Hi(e,!0);try{let i=this.tracer.startSpan(t,{attributes:{[$.EVENT_TYPE]:t,[$.TARGET_ELEMENT]:e.tagName,[$.TARGET_XPATH]:r,[$.HTTP_URL]:window.location.href}},n?f.setSpan(h.active(),n):void 0);return this._shouldPreventSpanCreation(t,e,i)===!0?void 0:(this._spansData.set(i,{taskCount:0}),i)}catch(e){this._diag.error(`failed to start create new user interaction span`,e)}}_decrementTask(e){let t=this._spansData.get(e);t&&(t.taskCount--,t.taskCount===0&&this._tryToEndSpan(e,t.hrTimeLastTimeout))}_getCurrentSpan(e){let t=e.get(Ba);return t&&f.getSpan(t)}_incrementTask(e){let t=this._spansData.get(e);t&&t.taskCount++}addPatchedListener(e,t,n,r){let i=this._wrappedListeners.get(n);i||(i=new Map,this._wrappedListeners.set(n,i));let a=i.get(t);return a||(a=new Map,i.set(t,a)),a.has(e)?!1:(a.set(e,r),!0)}removePatchedListener(e,t,n){let r=this._wrappedListeners.get(n);if(!r)return;let i=r.get(t);if(!i)return;let a=i.get(e);return a&&(i.delete(e),i.size===0&&(r.delete(t),r.size===0&&this._wrappedListeners.delete(n))),a}_invokeListener(e,t,n){return typeof e==`function`?e.apply(t,n):e.handleEvent(n[0])}_patchAddEventListener(){let e=this;return t=>function(n,r,i){if(!r)return t.call(this,n,r,i);let a=i&&typeof i==`object`&&i.once,o=function(...t){let i,o=t[0],s=o?.target;o&&(i=e._eventsSpanMap.get(o)),a&&e.removePatchedListener(this,n,r);let c=e._createSpan(s,n,i);return c?(o&&e._eventsSpanMap.set(o,c),h.with(f.setSpan(h.active(),c),()=>{let n=e._invokeListener(r,this,t);return c.end(),n})):e._invokeListener(r,this,t)};if(e.addPatchedListener(this,n,r,o))return t.call(this,n,o,i)}}_patchRemoveEventListener(){let e=this;return t=>function(n,r,i){let a=e.removePatchedListener(this,n,r);return a?t.call(this,n,a,i):t.call(this,n,r,i)}}_getPatchableEventTargets(){return window.EventTarget?[EventTarget.prototype]:[Node.prototype,Window.prototype]}_patchHistoryApi(){this._unpatchHistoryApi(),this._wrap(history,`replaceState`,this._patchHistoryMethod()),this._wrap(history,`pushState`,this._patchHistoryMethod()),this._wrap(history,`back`,this._patchHistoryMethod()),this._wrap(history,`forward`,this._patchHistoryMethod()),this._wrap(history,`go`,this._patchHistoryMethod())}_patchHistoryMethod(){let e=this;return t=>function(...n){let r=`${location.pathname}${location.hash}${location.search}`,i=t.apply(this,n),a=`${location.pathname}${location.hash}${location.search}`;return r!==a&&e._updateInteractionName(a),i}}_unpatchHistoryApi(){L(history.replaceState)&&this._unwrap(history,`replaceState`),L(history.pushState)&&this._unwrap(history,`pushState`),L(history.back)&&this._unwrap(history,`back`),L(history.forward)&&this._unwrap(history,`forward`),L(history.go)&&this._unwrap(history,`go`)}_updateInteractionName(e){let t=f.getSpan(h.active());t&&typeof t.updateName==`function`&&t.updateName(`${Va} ${e}`)}_patchZoneCancelTask(){let e=this;return t=>function(n){let r=Zone.current,i=e._getCurrentSpan(r);return i&&e._shouldCountTask(n,r)&&e._decrementTask(i),t.call(this,n)}}_patchZoneScheduleTask(){let e=this;return t=>function(n){let r=Zone.current,i=e._getCurrentSpan(r);return i&&e._shouldCountTask(n,r)&&(e._incrementTask(i),e._checkForTimeout(n,i)),t.call(this,n)}}_patchZoneRunTask(){let e=this;return t=>function(n,r,i){let a=(Array.isArray(i)&&i[0]instanceof Event?i[0]:void 0)?.target,o,s=this;if(a){if(o=e._createSpan(a,n.eventName),o)return e._incrementTask(o),s.run(()=>{try{return h.with(f.setSpan(h.active(),o),()=>{let e=Zone.current;return n._zone=e,t.call(e,n,r,i)})}finally{e._decrementTask(o)}})}else o=e._getCurrentSpan(s);try{return t.call(s,n,r,i)}finally{o&&e._shouldCountTask(n,s)&&e._decrementTask(o)}}}_shouldCountTask(e,t){if(e._zone&&(t=e._zone),!t||!e.data||e.data.isPeriodic)return!1;let n=this._getCurrentSpan(t);return!n||!this._spansData.get(n)?!1:e.type===`macroTask`||e.type===`microTask`}_tryToEndSpan(e,t){e&&this._spansData.get(e)&&(e.end(t),this._spansData.delete(e))}enable(){let e=this._getZoneWithPrototype();this._diag.debug(`applying patch to`,this.moduleName,this.version,`zone:`,!!e),e?(L(e.prototype.runTask)&&(this._unwrap(e.prototype,`runTask`),this._diag.debug(`removing previous patch from method runTask`)),L(e.prototype.scheduleTask)&&(this._unwrap(e.prototype,`scheduleTask`),this._diag.debug(`removing previous patch from method scheduleTask`)),L(e.prototype.cancelTask)&&(this._unwrap(e.prototype,`cancelTask`),this._diag.debug(`removing previous patch from method cancelTask`)),this._zonePatched=!0,this._wrap(e.prototype,`runTask`,this._patchZoneRunTask()),this._wrap(e.prototype,`scheduleTask`,this._patchZoneScheduleTask()),this._wrap(e.prototype,`cancelTask`,this._patchZoneCancelTask())):(this._zonePatched=!1,this._getPatchableEventTargets().forEach(e=>{L(e.addEventListener)&&(this._unwrap(e,`addEventListener`),this._diag.debug(`removing previous patch from method addEventListener`)),L(e.removeEventListener)&&(this._unwrap(e,`removeEventListener`),this._diag.debug(`removing previous patch from method removeEventListener`)),this._wrap(e,`addEventListener`,this._patchAddEventListener()),this._wrap(e,`removeEventListener`,this._patchRemoveEventListener())})),this._patchHistoryApi()}disable(){let e=this._getZoneWithPrototype();this._diag.debug(`removing patch from`,this.moduleName,this.version,`zone:`,!!e),e&&this._zonePatched?(L(e.prototype.runTask)&&this._unwrap(e.prototype,`runTask`),L(e.prototype.scheduleTask)&&this._unwrap(e.prototype,`scheduleTask`),L(e.prototype.cancelTask)&&this._unwrap(e.prototype,`cancelTask`)):this._getPatchableEventTargets().forEach(e=>{L(e.addEventListener)&&this._unwrap(e,`addEventListener`),L(e.removeEventListener)&&this._unwrap(e,`removeEventListener`)}),this._unpatchHistoryApi()}_getZoneWithPrototype(){return window.Zone}},Ga=`open-knowledge-app`,Ka=!1;function qa(){return{BASE_URL:`./`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1,VITE_APP_VERSION:`0.61.0`}?.VITE_OTEL_COLLECTOR_URL??`http://localhost:14318`}function Ja(){if(Ka)return;Ka=!0;let e=null,t=!1;try{let n=qa(),r={BASE_URL:`./`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1,VITE_APP_VERSION:`0.61.0`};e=new Ri({resource:Hr({[ft]:`open-knowledge-app`,[pt]:r?.VITE_APP_VERSION??`dev`,[nt]:r?.MODE??`dev`}),spanProcessors:[new Pi(new xr({url:`${n}/v1/traces`}),{maxExportBatchSize:50,scheduledDelayMillis:2e3})]}),e.register(),t=!0,Mr({instrumentations:[new Zi,new Wa({eventNames:[`click`,`submit`]}),new La({propagateTraceHeaderCorsUrls:[/^https?:\/\/localhost(:\d+)?\/api\//,/^https?:\/\/127\.0\.0\.1(:\d+)?\/api\//,/^\/api\//],clearTimingResources:!0})]}),console.info(`[otel] frontend telemetry initialized — OTLP/HTTP → ${n}/v1/traces`)}catch(n){console.warn(`[otel] frontend telemetry init failed — continuing without`,n),t&&e&&e.shutdown().catch(()=>{}),Ka=!1}}function Ya(){return f.getTracer(Ga)}export{Ya as getAppTracer,Ja as install};
@@ -1 +1 @@
1
- import{t as e}from"./propagation-api-B1_qxPZb.js";import{t}from"./context-api-CW3A_QP4.js";import{n}from"./startup-marks-CzkHuO_z.js";import{getAppTracer as r}from"./telemetry-impl-Cj_q40Ol.js";var i;function a(){if(!i)try{let a=typeof window<`u`?window.okDesktop?.config.startupTraceparent:void 0;if(!a)return;let o=e.extract(t.active(),{traceparent:a}),s=r().startSpan(`ok.app-startup`,void 0,o);i=s,n(e=>{try{s.end(e)}catch{}i=void 0})}catch{}}export{a as initStartupTrace};
1
+ import{t as e}from"./propagation-api-B1_qxPZb.js";import{t}from"./context-api-CW3A_QP4.js";import{n}from"./startup-marks-Br1wFcMD.js";import{getAppTracer as r}from"./telemetry-impl-JfG1C4Ii.js";var i;function a(){if(!i)try{let a=typeof window<`u`?window.okDesktop?.config.startupTraceparent:void 0;if(!a)return;let o=e.extract(t.active(),{traceparent:a}),s=r().startSpan(`ok.app-startup`,void 0,o);i=s,n(e=>{try{s.end(e)}catch{}i=void 0})}catch{}}export{a as initStartupTrace};
@@ -0,0 +1 @@
1
+ import{t as e}from"./createLucideIcon-CAkY8Blx.js";var t=e(`terminal`,[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]);export{t};