@8wave/ai-elements 0.110.0 → 0.111.0-beta.11

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 (234) hide show
  1. package/README.md +1 -0
  2. package/dist/_chunks/{Agent-Su_LDF9_.js → Agent-tE7ZJPxG.js} +80 -78
  3. package/dist/_chunks/Agent-tE7ZJPxG.js.map +1 -0
  4. package/dist/_chunks/{Document-DecVclEe.js → Document-Bmx6774B.js} +33 -21
  5. package/dist/_chunks/Document-Bmx6774B.js.map +1 -0
  6. package/dist/_chunks/Media-Cft7Pwrh.js +108 -0
  7. package/dist/_chunks/Media-Cft7Pwrh.js.map +1 -0
  8. package/dist/_chunks/{PkLazyImg-ClL4nr95.js → PkLazyImg-Dbj2dDXA.js} +2 -2
  9. package/dist/_chunks/{PkLazyImg-ClL4nr95.js.map → PkLazyImg-Dbj2dDXA.js.map} +1 -1
  10. package/dist/_chunks/{PkStreamingMarkdown-CwqsJnJJ.js → PkStreamingMarkdown-CNI8aV8t.js} +636 -427
  11. package/dist/_chunks/PkStreamingMarkdown-CNI8aV8t.js.map +1 -0
  12. package/dist/_chunks/{PkToolRequestGeolocation-CEVpl50q.js → PkToolRequestGeolocation-Bzy4IYSp.js} +4 -4
  13. package/dist/_chunks/PkToolRequestGeolocation-Bzy4IYSp.js.map +1 -0
  14. package/dist/_chunks/{PkToolRequestOAuthConnection-CncDU-Kl.js → PkToolRequestOAuthConnection-13CQH07t.js} +5 -5
  15. package/dist/_chunks/PkToolRequestOAuthConnection-13CQH07t.js.map +1 -0
  16. package/dist/_chunks/{PkToolShowArtifact-M6jlSmyJ.js → PkToolShowArtifact-CGbHDEie.js} +4 -4
  17. package/dist/_chunks/{PkToolShowArtifact-M6jlSmyJ.js.map → PkToolShowArtifact-CGbHDEie.js.map} +1 -1
  18. package/dist/_chunks/{PkToolShowCalendarEvent-C41JgOUA.js → PkToolShowCalendarEvent-DIFX_rUz.js} +3 -3
  19. package/dist/_chunks/{PkToolShowCalendarEvent-C41JgOUA.js.map → PkToolShowCalendarEvent-DIFX_rUz.js.map} +1 -1
  20. package/dist/_chunks/{PkToolShowComparison-DbbUD9pg.js → PkToolShowComparison-CWLFWT9h.js} +7 -7
  21. package/dist/_chunks/PkToolShowComparison-CWLFWT9h.js.map +1 -0
  22. package/dist/_chunks/{PkToolShowContactForm-D_dW59Dl.js → PkToolShowContactForm-CYxgatUA.js} +5 -5
  23. package/dist/_chunks/PkToolShowContactForm-CYxgatUA.js.map +1 -0
  24. package/dist/_chunks/{PkToolShowDiagram-Hy9qh68O.js → PkToolShowDiagram-Dx1Ba0PG.js} +4 -4
  25. package/dist/_chunks/PkToolShowDiagram-Dx1Ba0PG.js.map +1 -0
  26. package/dist/_chunks/{PkToolShowEmail-Dn3JHYIR.js → PkToolShowEmail-DnFFgzom.js} +3 -3
  27. package/dist/_chunks/{PkToolShowEmail-Dn3JHYIR.js.map → PkToolShowEmail-DnFFgzom.js.map} +1 -1
  28. package/dist/_chunks/{PkToolShowForm-DbJHMDbt.js → PkToolShowForm-B6x3Lp2i.js} +7 -8
  29. package/dist/_chunks/PkToolShowForm-B6x3Lp2i.js.map +1 -0
  30. package/dist/_chunks/{PkToolShowImageGallery-C1lzlO0y.js → PkToolShowImageGallery-D99N_Plf.js} +2 -2
  31. package/dist/_chunks/{PkToolShowImageGallery-C1lzlO0y.js.map → PkToolShowImageGallery-D99N_Plf.js.map} +1 -1
  32. package/dist/_chunks/{PkToolShowLocation-CKhPxKFA.js → PkToolShowLocation-AfnrtFVJ.js} +3 -3
  33. package/dist/_chunks/{PkToolShowLocation-CKhPxKFA.js.map → PkToolShowLocation-AfnrtFVJ.js.map} +1 -1
  34. package/dist/_chunks/{PkToolShowMessage-U9CCU7eG.js → PkToolShowMessage-DUo2c-im.js} +3 -3
  35. package/dist/_chunks/{PkToolShowMessage-U9CCU7eG.js.map → PkToolShowMessage-DUo2c-im.js.map} +1 -1
  36. package/dist/_chunks/{PkToolShowProductList-UeiRMLHu.js → PkToolShowProductList-BN6Qk1_y.js} +3 -3
  37. package/dist/_chunks/{PkToolShowProductList-UeiRMLHu.js.map → PkToolShowProductList-BN6Qk1_y.js.map} +1 -1
  38. package/dist/_chunks/{PkToolShowQrCode-CypLrfh5.js → PkToolShowQrCode-BLqeBecX.js} +3 -3
  39. package/dist/_chunks/{PkToolShowQrCode-CypLrfh5.js.map → PkToolShowQrCode-BLqeBecX.js.map} +1 -1
  40. package/dist/_chunks/{PkToolShowSources-B69JmwbZ.js → PkToolShowSources-DpZb5FUP.js} +5 -5
  41. package/dist/_chunks/PkToolShowSources-DpZb5FUP.js.map +1 -0
  42. package/dist/_chunks/{PkToolShowSuggestedReply-CKxSH0Y9.js → PkToolShowSuggestedReply-C10nNgBs.js} +3 -3
  43. package/dist/_chunks/{PkToolShowSuggestedReply-CKxSH0Y9.js.map → PkToolShowSuggestedReply-C10nNgBs.js.map} +1 -1
  44. package/dist/_chunks/{PkToolShowVideo-BgKxdBcC.js → PkToolShowVideo-S9b4QHUj.js} +2 -2
  45. package/dist/_chunks/{PkToolShowVideo-BgKxdBcC.js.map → PkToolShowVideo-S9b4QHUj.js.map} +1 -1
  46. package/dist/_chunks/{PkToolShowWeather-LPd3tC77.js → PkToolShowWeather-CqhG430w.js} +2 -2
  47. package/dist/_chunks/PkToolShowWeather-CqhG430w.js.map +1 -0
  48. package/dist/_chunks/{PkToolShowWebPages-ep_erFF0.js → PkToolShowWebPages-txAZi_iG.js} +3 -3
  49. package/dist/_chunks/{PkToolShowWebPages-ep_erFF0.js.map → PkToolShowWebPages-txAZi_iG.js.map} +1 -1
  50. package/dist/_chunks/PkUrl-BPbjZJ1A.js.map +1 -1
  51. package/dist/_chunks/{VvCheckboxGroup.es-Bdu2gFLN.js → VvCheckboxGroup.es-CTrF3pue.js} +2 -2
  52. package/dist/_chunks/{VvCheckboxGroup.es-Bdu2gFLN.js.map → VvCheckboxGroup.es-CTrF3pue.js.map} +1 -1
  53. package/dist/_chunks/{VvCombobox.es-C0wpJIr_.js → VvCombobox.es-BWiXmQ_S.js} +10 -10
  54. package/dist/_chunks/{VvCombobox.es-C0wpJIr_.js.map → VvCombobox.es-BWiXmQ_S.js.map} +1 -1
  55. package/dist/_chunks/{VvInputText.es-Zgtw2YNw.js → VvInputText.es-Bo9I6g8H.js} +6 -6
  56. package/dist/_chunks/{VvInputText.es-Zgtw2YNw.js.map → VvInputText.es-Bo9I6g8H.js.map} +1 -1
  57. package/dist/_chunks/{VvRadioGroup.es-DZLL19SC.js → VvRadioGroup.es-9ooHCuik.js} +2 -2
  58. package/dist/_chunks/{VvRadioGroup.es-DZLL19SC.js.map → VvRadioGroup.es-9ooHCuik.js.map} +1 -1
  59. package/dist/_chunks/{VvSelect.es-ovnZRHG5.js → VvSelect.es-DG0VuWtP.js} +2 -2
  60. package/dist/_chunks/{VvSelect.es-ovnZRHG5.js.map → VvSelect.es-DG0VuWtP.js.map} +1 -1
  61. package/dist/_chunks/{VvTextarea.es-DbP5Lt2T.js → VvTextarea.es-Dg3pxdZy.js} +6 -6
  62. package/dist/_chunks/{VvTextarea.es-DbP5Lt2T.js.map → VvTextarea.es-Dg3pxdZy.js.map} +1 -1
  63. package/dist/_chunks/{browser-NgY6LXg-.js → browser-B0Xnbqi7.js} +726 -751
  64. package/dist/_chunks/browser-B0Xnbqi7.js.map +1 -0
  65. package/dist/_chunks/{dist-n5iFNYf-.js → dist-QdjZA6MJ.js} +143 -133
  66. package/dist/_chunks/{dist-n5iFNYf-.js.map → dist-QdjZA6MJ.js.map} +1 -1
  67. package/dist/_chunks/{index.es-dtdl3VFG.js → index.es-0YpCa4c5.js} +6 -6
  68. package/dist/_chunks/{index.es-dtdl3VFG.js.map → index.es-0YpCa4c5.js.map} +1 -1
  69. package/dist/_chunks/{index.es-BJnUA_36.js → index.es-CHkJ2TMJ.js} +10 -10
  70. package/dist/_chunks/{index.es-BJnUA_36.js.map → index.es-CHkJ2TMJ.js.map} +1 -1
  71. package/dist/_chunks/text-DbSEK8si.js.map +1 -1
  72. package/dist/ai-elements.es.js +3077 -3134
  73. package/dist/ai-elements.es.js.map +1 -1
  74. package/dist-vue/PkChatbot.js +1 -1
  75. package/dist-vue/PkChatbotEmptyState.js +1 -1
  76. package/dist-vue/PkChatbotError.js +1 -1
  77. package/dist-vue/PkChatbotFeedbackForm.js +1 -1
  78. package/dist-vue/PkChatbotFilePreview.js +1 -1
  79. package/dist-vue/PkChatbotInput.js +1 -1
  80. package/dist-vue/PkChatbotMessages.js +1 -1
  81. package/dist-vue/PkChatbotStepPayload.js +1 -1
  82. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  83. package/dist-vue/PkChatbotSteps.js +1 -1
  84. package/dist-vue/PkChatbotViewChat.js +1 -1
  85. package/dist-vue/PkChatbotViewConversations.js +1 -1
  86. package/dist-vue/PkChatbotViewFiles.js +1 -1
  87. package/dist-vue/PkChatbotViewProfile.js +1 -1
  88. package/dist-vue/_chunks/{Agent-C8BsTAxk.js → Agent-De2gFNjR.js} +165 -176
  89. package/dist-vue/_chunks/Agent-De2gFNjR.js.map +1 -0
  90. package/dist-vue/_chunks/{Document-CaUfI_SZ.js → Document-8umjeTVS.js} +84 -72
  91. package/dist-vue/_chunks/Document-8umjeTVS.js.map +1 -0
  92. package/dist-vue/_chunks/Media-_HfFLHGD.js.map +1 -1
  93. package/dist-vue/_chunks/{PkChatbot-o7k7d-fj.js → PkChatbot-CMajc7tE.js} +61 -61
  94. package/dist-vue/_chunks/PkChatbot-CMajc7tE.js.map +1 -0
  95. package/dist-vue/_chunks/{PkChatbotEmptyState-BvaeBxhx.js → PkChatbotEmptyState-BtzBYOHJ.js} +2 -2
  96. package/dist-vue/_chunks/{PkChatbotEmptyState-BvaeBxhx.js.map → PkChatbotEmptyState-BtzBYOHJ.js.map} +1 -1
  97. package/dist-vue/_chunks/{PkChatbotError-CBP2mf-n.js → PkChatbotError-gvDpRcEz.js} +21 -19
  98. package/dist-vue/_chunks/PkChatbotError-gvDpRcEz.js.map +1 -0
  99. package/dist-vue/_chunks/{PkChatbotFeedbackForm-DO1QIgmo.js → PkChatbotFeedbackForm-CxLOdwkm.js} +2 -2
  100. package/dist-vue/_chunks/PkChatbotFeedbackForm-CxLOdwkm.js.map +1 -0
  101. package/dist-vue/_chunks/{PkChatbotFilePreview-DO1wZPPj.js → PkChatbotFilePreview-CwiVQDF2.js} +3 -3
  102. package/dist-vue/_chunks/PkChatbotFilePreview-CwiVQDF2.js.map +1 -0
  103. package/dist-vue/_chunks/{PkChatbotInput-D8x52cVm.js → PkChatbotInput-MSpF6SB6.js} +140 -125
  104. package/dist-vue/_chunks/PkChatbotInput-MSpF6SB6.js.map +1 -0
  105. package/dist-vue/_chunks/PkChatbotMessages-Bz5q8EtT.js +776 -0
  106. package/dist-vue/_chunks/PkChatbotMessages-Bz5q8EtT.js.map +1 -0
  107. package/dist-vue/_chunks/{PkChatbotStepPayload-BH6piqOi.js → PkChatbotStepPayload-XW4gT9AZ.js} +2 -2
  108. package/dist-vue/_chunks/{PkChatbotStepPayload-BH6piqOi.js.map → PkChatbotStepPayload-XW4gT9AZ.js.map} +1 -1
  109. package/dist-vue/_chunks/{PkChatbotStepToolDetail-BJ7xUvgi.js → PkChatbotStepToolDetail-C4-K6Glw.js} +3 -3
  110. package/dist-vue/_chunks/{PkChatbotStepToolDetail-BJ7xUvgi.js.map → PkChatbotStepToolDetail-C4-K6Glw.js.map} +1 -1
  111. package/dist-vue/_chunks/PkChatbotSteps-CrqjWpv0.js +190 -0
  112. package/dist-vue/_chunks/PkChatbotSteps-CrqjWpv0.js.map +1 -0
  113. package/dist-vue/_chunks/{PkChatbotViewChat-CNH_glPI.js → PkChatbotViewChat-DXu5ncaU.js} +10 -10
  114. package/dist-vue/_chunks/{PkChatbotViewChat-CNH_glPI.js.map → PkChatbotViewChat-DXu5ncaU.js.map} +1 -1
  115. package/dist-vue/_chunks/{PkChatbotViewConversations-BENvHLZt.js → PkChatbotViewConversations-3LaZPFyw.js} +2 -2
  116. package/dist-vue/_chunks/{PkChatbotViewConversations-BENvHLZt.js.map → PkChatbotViewConversations-3LaZPFyw.js.map} +1 -1
  117. package/dist-vue/_chunks/{PkChatbotViewFiles-qmLESi1V.js → PkChatbotViewFiles-CTqnbsCj.js} +3 -3
  118. package/dist-vue/_chunks/{PkChatbotViewFiles-qmLESi1V.js.map → PkChatbotViewFiles-CTqnbsCj.js.map} +1 -1
  119. package/dist-vue/_chunks/{PkChatbotViewProfile-DzfZnitQ.js → PkChatbotViewProfile-B-Mp1jGQ.js} +2 -2
  120. package/dist-vue/_chunks/{PkChatbotViewProfile-DzfZnitQ.js.map → PkChatbotViewProfile-B-Mp1jGQ.js.map} +1 -1
  121. package/dist-vue/_chunks/PkRelativeTime--1cIphlA.js.map +1 -1
  122. package/dist-vue/_chunks/{PkStreamingMarkdown-D8_LwZMR.js → PkStreamingMarkdown-D0IOaETI.js} +432 -419
  123. package/dist-vue/_chunks/PkStreamingMarkdown-D0IOaETI.js.map +1 -0
  124. package/dist-vue/_chunks/{PkSvgViewer-DPpE9fiz.js → PkSvgViewer-D-0M5bqg.js} +2 -2
  125. package/dist-vue/_chunks/PkSvgViewer-D-0M5bqg.js.map +1 -0
  126. package/dist-vue/_chunks/{PkToolRequestGeolocation-D1ZPmWiB.js → PkToolRequestGeolocation-Q3N3jlO8.js} +3 -3
  127. package/dist-vue/_chunks/PkToolRequestGeolocation-Q3N3jlO8.js.map +1 -0
  128. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CoJyKEE6.js → PkToolRequestOAuthConnection-lYoTJIF_.js} +4 -4
  129. package/dist-vue/_chunks/PkToolRequestOAuthConnection-lYoTJIF_.js.map +1 -0
  130. package/dist-vue/_chunks/{PkToolShowArtifact-CEXdfOGG.js → PkToolShowArtifact-DHdJuzDi.js} +2 -2
  131. package/dist-vue/_chunks/{PkToolShowArtifact-CEXdfOGG.js.map → PkToolShowArtifact-DHdJuzDi.js.map} +1 -1
  132. package/dist-vue/_chunks/{PkToolShowComparison-DMSjIpCR.js → PkToolShowComparison-BLn4pkno.js} +5 -5
  133. package/dist-vue/_chunks/PkToolShowComparison-BLn4pkno.js.map +1 -0
  134. package/dist-vue/_chunks/{PkToolShowContactForm-DHmzAIVF.js → PkToolShowContactForm-DceSyuX8.js} +3 -3
  135. package/dist-vue/_chunks/PkToolShowContactForm-DceSyuX8.js.map +1 -0
  136. package/dist-vue/_chunks/{PkToolShowDiagram-DuDp5EHd.js → PkToolShowDiagram-pwc0wpNo.js} +4 -4
  137. package/dist-vue/_chunks/PkToolShowDiagram-pwc0wpNo.js.map +1 -0
  138. package/dist-vue/_chunks/{PkToolShowEmail-CavhsPvi.js → PkToolShowEmail-DF__nKpR.js} +2 -2
  139. package/dist-vue/_chunks/{PkToolShowEmail-CavhsPvi.js.map → PkToolShowEmail-DF__nKpR.js.map} +1 -1
  140. package/dist-vue/_chunks/{PkToolShowForm-CO5A_j9L.js → PkToolShowForm-Dx10jOXm.js} +7 -7
  141. package/dist-vue/_chunks/PkToolShowForm-Dx10jOXm.js.map +1 -0
  142. package/dist-vue/_chunks/{PkToolShowImageGallery-V9U3LJfF.js → PkToolShowImageGallery-DudQzBx4.js} +2 -2
  143. package/dist-vue/_chunks/{PkToolShowImageGallery-V9U3LJfF.js.map → PkToolShowImageGallery-DudQzBx4.js.map} +1 -1
  144. package/dist-vue/_chunks/{PkToolShowMessage-DQojxDiV.js → PkToolShowMessage-Ck6VP-gw.js} +2 -2
  145. package/dist-vue/_chunks/{PkToolShowMessage-DQojxDiV.js.map → PkToolShowMessage-Ck6VP-gw.js.map} +1 -1
  146. package/dist-vue/_chunks/{PkToolShowProductList-Cn0yewM3.js → PkToolShowProductList-zfM8cx-l.js} +2 -2
  147. package/dist-vue/_chunks/{PkToolShowProductList-Cn0yewM3.js.map → PkToolShowProductList-zfM8cx-l.js.map} +1 -1
  148. package/dist-vue/_chunks/{PkToolShowSources-BvWOzVkQ.js → PkToolShowSources-Dlaz2Y77.js} +5 -5
  149. package/dist-vue/_chunks/PkToolShowSources-Dlaz2Y77.js.map +1 -0
  150. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DQFOVonE.js → PkToolShowSuggestedReply-DWLkUh2L.js} +2 -2
  151. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DQFOVonE.js.map → PkToolShowSuggestedReply-DWLkUh2L.js.map} +1 -1
  152. package/dist-vue/_chunks/PkToolShowWeather-Bzqalzh8.js.map +1 -1
  153. package/dist-vue/_chunks/{PkToolShowWebPages-Bzkkn9GV.js → PkToolShowWebPages-CosBYLrE.js} +2 -2
  154. package/dist-vue/_chunks/{PkToolShowWebPages-Bzkkn9GV.js.map → PkToolShowWebPages-CosBYLrE.js.map} +1 -1
  155. package/dist-vue/_chunks/{PkUrl-xUBKVJCv.js → PkUrl-B5CNTQj9.js} +2 -2
  156. package/dist-vue/_chunks/PkUrl-B5CNTQj9.js.map +1 -0
  157. package/dist-vue/_chunks/{createChatbotApiClient-CJ_5_3IT.js → createChatbotApiClient-MkaPbGWB.js} +6 -3
  158. package/dist-vue/_chunks/createChatbotApiClient-MkaPbGWB.js.map +1 -0
  159. package/dist-vue/_chunks/{useChatbotStore-CiRAuq7v.js → useChatbotStore-BzfqjiYz.js} +6 -3
  160. package/dist-vue/_chunks/useChatbotStore-BzfqjiYz.js.map +1 -0
  161. package/dist-vue/_chunks/useDialogConfirm-KWz0ohCQ.js.map +1 -1
  162. package/dist-vue/_chunks/{utils-Coqik0XI.js → utils-C1666_6C.js} +58 -43
  163. package/dist-vue/_chunks/utils-C1666_6C.js.map +1 -0
  164. package/dist-vue/api.js +1 -1
  165. package/dist-vue/composables.js +3 -3
  166. package/dist-vue/index.js +3869 -3490
  167. package/dist-vue/index.js.map +1 -1
  168. package/dist-vue/locales.js +36 -8
  169. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +20 -3
  170. package/dist-vue/packages/components/src/chat/PkChatButton.d.ts +3 -2
  171. package/dist-vue/packages/components/src/chat/PkLanguageModel.d.ts +26 -2
  172. package/dist-vue/packages/components/src/chat/PkLanguageModelCombobox.d.ts +53 -1
  173. package/dist-vue/packages/components/src/chat/PkModelOption.d.ts +19 -0
  174. package/dist-vue/packages/components/src/chat/PkReasoningSettings.d.ts +6 -0
  175. package/dist-vue/packages/components/src/chat/PkStreamingMarkdown.d.ts +6 -0
  176. package/dist-vue/packages/components/src/chat/PkStreamingMarkdownAutoscroll.d.ts +1 -0
  177. package/dist-vue/packages/components/src/chat/constants.d.ts +5 -18
  178. package/dist-vue/packages/components/src/chat/index.d.ts +3 -1
  179. package/dist-vue/packages/components/src/chat/modelCatalog.d.ts +46 -0
  180. package/dist-vue/packages/components/src/chat/utils.d.ts +16 -0
  181. package/dist-vue/packages/components/src/table/PkTableSortable.d.ts +13 -1
  182. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +18 -0
  183. package/dist-vue/packages/composable/src/useChatbotError.d.ts +2 -0
  184. package/dist-vue/packages/models/src/schema/Agent.d.ts +70 -10
  185. package/dist-vue/packages/models/src/schema/Chat.d.ts +31 -0
  186. package/dist-vue/packages/models/src/schema/ModelProvider.d.ts +316 -0
  187. package/dist-vue/packages/models/src/schema/Organization.d.ts +142 -2
  188. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +20 -0
  189. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +20 -0
  190. package/dist-vue/packages/models/src/schema/UserOverview.d.ts +41 -0
  191. package/dist-vue/packages/models/src/schema/constants.d.ts +56 -91
  192. package/dist-vue/packages/models/src/schema/index.d.ts +1 -0
  193. package/dist-vue/style.css +1 -1
  194. package/package.json +1 -1
  195. package/dist/_chunks/Agent-Su_LDF9_.js.map +0 -1
  196. package/dist/_chunks/Document-DecVclEe.js.map +0 -1
  197. package/dist/_chunks/Media-C6SOQfJZ.js +0 -122
  198. package/dist/_chunks/Media-C6SOQfJZ.js.map +0 -1
  199. package/dist/_chunks/PkStreamingMarkdown-CwqsJnJJ.js.map +0 -1
  200. package/dist/_chunks/PkToolRequestGeolocation-CEVpl50q.js.map +0 -1
  201. package/dist/_chunks/PkToolRequestOAuthConnection-CncDU-Kl.js.map +0 -1
  202. package/dist/_chunks/PkToolShowComparison-DbbUD9pg.js.map +0 -1
  203. package/dist/_chunks/PkToolShowContactForm-D_dW59Dl.js.map +0 -1
  204. package/dist/_chunks/PkToolShowDiagram-Hy9qh68O.js.map +0 -1
  205. package/dist/_chunks/PkToolShowForm-DbJHMDbt.js.map +0 -1
  206. package/dist/_chunks/PkToolShowSources-B69JmwbZ.js.map +0 -1
  207. package/dist/_chunks/PkToolShowWeather-LPd3tC77.js.map +0 -1
  208. package/dist/_chunks/browser-NgY6LXg-.js.map +0 -1
  209. package/dist/_chunks/utils-YJ0ZOLDG.js +0 -185
  210. package/dist/_chunks/utils-YJ0ZOLDG.js.map +0 -1
  211. package/dist-vue/_chunks/Agent-C8BsTAxk.js.map +0 -1
  212. package/dist-vue/_chunks/Document-CaUfI_SZ.js.map +0 -1
  213. package/dist-vue/_chunks/PkChatbot-o7k7d-fj.js.map +0 -1
  214. package/dist-vue/_chunks/PkChatbotError-CBP2mf-n.js.map +0 -1
  215. package/dist-vue/_chunks/PkChatbotFeedbackForm-DO1QIgmo.js.map +0 -1
  216. package/dist-vue/_chunks/PkChatbotFilePreview-DO1wZPPj.js.map +0 -1
  217. package/dist-vue/_chunks/PkChatbotInput-D8x52cVm.js.map +0 -1
  218. package/dist-vue/_chunks/PkChatbotMessages-BFlU046I.js +0 -771
  219. package/dist-vue/_chunks/PkChatbotMessages-BFlU046I.js.map +0 -1
  220. package/dist-vue/_chunks/PkChatbotSteps-DtV1beDc.js +0 -180
  221. package/dist-vue/_chunks/PkChatbotSteps-DtV1beDc.js.map +0 -1
  222. package/dist-vue/_chunks/PkStreamingMarkdown-D8_LwZMR.js.map +0 -1
  223. package/dist-vue/_chunks/PkSvgViewer-DPpE9fiz.js.map +0 -1
  224. package/dist-vue/_chunks/PkToolRequestGeolocation-D1ZPmWiB.js.map +0 -1
  225. package/dist-vue/_chunks/PkToolRequestOAuthConnection-CoJyKEE6.js.map +0 -1
  226. package/dist-vue/_chunks/PkToolShowComparison-DMSjIpCR.js.map +0 -1
  227. package/dist-vue/_chunks/PkToolShowContactForm-DHmzAIVF.js.map +0 -1
  228. package/dist-vue/_chunks/PkToolShowDiagram-DuDp5EHd.js.map +0 -1
  229. package/dist-vue/_chunks/PkToolShowForm-CO5A_j9L.js.map +0 -1
  230. package/dist-vue/_chunks/PkToolShowSources-BvWOzVkQ.js.map +0 -1
  231. package/dist-vue/_chunks/PkUrl-xUBKVJCv.js.map +0 -1
  232. package/dist-vue/_chunks/createChatbotApiClient-CJ_5_3IT.js.map +0 -1
  233. package/dist-vue/_chunks/useChatbotStore-CiRAuq7v.js.map +0 -1
  234. package/dist-vue/_chunks/utils-Coqik0XI.js.map +0 -1
@@ -254,7 +254,7 @@ var Ae = {
254
254
  disable() {
255
255
  return this;
256
256
  }
257
- }, Ne = "context", Pe = new Me(), Fe = class e {
257
+ }, Ne = "context", Pe = new Me(), x = class e {
258
258
  constructor() {}
259
259
  static getInstance() {
260
260
  return this._instance ||= new e(), this._instance;
@@ -277,16 +277,16 @@ var Ae = {
277
277
  disable() {
278
278
  this._getContextManager().disable(), g(Ne, y.instance());
279
279
  }
280
- }, x;
280
+ }, S;
281
281
  (function(e) {
282
282
  e[e.NONE = 0] = "NONE", e[e.SAMPLED = 1] = "SAMPLED";
283
- })(x ||= {});
284
- var Ie = {
283
+ })(S ||= {});
284
+ var Fe = {
285
285
  traceId: "00000000000000000000000000000000",
286
286
  spanId: "0000000000000000",
287
- traceFlags: x.NONE
288
- }, S = class {
289
- constructor(e = Ie) {
287
+ traceFlags: S.NONE
288
+ }, C = class {
289
+ constructor(e = Fe) {
290
290
  this._spanContext = e;
291
291
  }
292
292
  spanContext() {
@@ -318,28 +318,28 @@ var Ie = {
318
318
  return !1;
319
319
  }
320
320
  recordException(e, t) {}
321
- }, Le = ue("OpenTelemetry Context Key SPAN");
322
- function Re(e) {
323
- return e.getValue(Le) || void 0;
321
+ }, Ie = ue("OpenTelemetry Context Key SPAN");
322
+ function Le(e) {
323
+ return e.getValue(Ie) || void 0;
324
324
  }
325
- function ze() {
326
- return Re(Fe.getInstance().active());
325
+ function Re() {
326
+ return Le(x.getInstance().active());
327
327
  }
328
- function Be(e, t) {
329
- return e.setValue(Le, t);
328
+ function ze(e, t) {
329
+ return e.setValue(Ie, t);
330
330
  }
331
- function Ve(e) {
332
- return e.deleteValue(Le);
331
+ function Be(e) {
332
+ return e.deleteValue(Ie);
333
333
  }
334
- function He(e, t) {
335
- return Be(e, new S(t));
334
+ function Ve(e, t) {
335
+ return ze(e, new C(t));
336
336
  }
337
- function Ue(e) {
338
- return Re(e)?.spanContext();
337
+ function He(e) {
338
+ return Le(e)?.spanContext();
339
339
  }
340
340
  //#endregion
341
341
  //#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/spancontext-utils.js
342
- var We = new Uint8Array([
342
+ var Ue = new Uint8Array([
343
343
  0,
344
344
  0,
345
345
  0,
@@ -444,46 +444,46 @@ var We = new Uint8Array([
444
444
  1,
445
445
  1
446
446
  ]);
447
- function Ge(e, t) {
447
+ function We(e, t) {
448
448
  if (typeof e != "string" || e.length !== t) return !1;
449
449
  let n = 0;
450
- for (let t = 0; t < e.length; t += 4) n += (We[e.charCodeAt(t)] | 0) + (We[e.charCodeAt(t + 1)] | 0) + (We[e.charCodeAt(t + 2)] | 0) + (We[e.charCodeAt(t + 3)] | 0);
450
+ for (let t = 0; t < e.length; t += 4) n += (Ue[e.charCodeAt(t)] | 0) + (Ue[e.charCodeAt(t + 1)] | 0) + (Ue[e.charCodeAt(t + 2)] | 0) + (Ue[e.charCodeAt(t + 3)] | 0);
451
451
  return n === t;
452
452
  }
453
+ function Ge(e) {
454
+ return We(e, 32) && e !== "00000000000000000000000000000000";
455
+ }
453
456
  function Ke(e) {
454
- return Ge(e, 32) && e !== "00000000000000000000000000000000";
457
+ return We(e, 16) && e !== "0000000000000000";
455
458
  }
456
459
  function qe(e) {
457
- return Ge(e, 16) && e !== "0000000000000000";
460
+ return Ge(e.traceId) && Ke(e.spanId);
458
461
  }
459
462
  function Je(e) {
460
- return Ke(e.traceId) && qe(e.spanId);
461
- }
462
- function Ye(e) {
463
- return new S(e);
463
+ return new C(e);
464
464
  }
465
465
  //#endregion
466
466
  //#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/NoopTracer.js
467
- var Xe = Fe.getInstance(), Ze = class {
468
- startSpan(e, t, n = Xe.active()) {
469
- if (t?.root) return new S();
470
- let r = n && Ue(n);
471
- return Qe(r) && Je(r) ? new S(r) : new S();
467
+ var Ye = x.getInstance(), Xe = class {
468
+ startSpan(e, t, n = Ye.active()) {
469
+ if (t?.root) return new C();
470
+ let r = n && He(n);
471
+ return Ze(r) && qe(r) ? new C(r) : new C();
472
472
  }
473
473
  startActiveSpan(e, t, n, r) {
474
474
  let i, a, o;
475
475
  if (arguments.length < 2) return;
476
476
  arguments.length === 2 ? o = t : arguments.length === 3 ? (i = t, o = n) : (i = t, a = n, o = r);
477
- let s = a ?? Xe.active(), c = this.startSpan(e, i, s), l = Be(s, c);
478
- return Xe.with(l, o, void 0, c);
477
+ let s = a ?? Ye.active(), c = this.startSpan(e, i, s), l = ze(s, c);
478
+ return Ye.with(l, o, void 0, c);
479
479
  }
480
480
  };
481
- function Qe(e) {
481
+ function Ze(e) {
482
482
  return typeof e == "object" && !!e && "spanId" in e && typeof e.spanId == "string" && "traceId" in e && typeof e.traceId == "string" && "traceFlags" in e && typeof e.traceFlags == "number";
483
483
  }
484
484
  //#endregion
485
485
  //#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracer.js
486
- var $e = new Ze(), et = class {
486
+ var Qe = new Xe(), $e = class {
487
487
  constructor(e, t, n, r) {
488
488
  this._provider = e, this.name = t, this.version = n, this.options = r;
489
489
  }
@@ -497,18 +497,18 @@ var $e = new Ze(), et = class {
497
497
  _getTracer() {
498
498
  if (this._delegate) return this._delegate;
499
499
  let e = this._provider.getDelegateTracer(this.name, this.version, this.options);
500
- return e ? (this._delegate = e, this._delegate) : $e;
500
+ return e ? (this._delegate = e, this._delegate) : Qe;
501
501
  }
502
- }, tt = new class {
502
+ }, et = new class {
503
503
  getTracer(e, t, n) {
504
- return new Ze();
504
+ return new Xe();
505
505
  }
506
- }(), nt = class {
506
+ }(), tt = class {
507
507
  getTracer(e, t, n) {
508
- return this.getDelegateTracer(e, t, n) ?? new et(this, e, t, n);
508
+ return this.getDelegateTracer(e, t, n) ?? new $e(this, e, t, n);
509
509
  }
510
510
  getDelegate() {
511
- return this._delegate ?? tt;
511
+ return this._delegate ?? et;
512
512
  }
513
513
  setDelegate(e) {
514
514
  this._delegate = e;
@@ -516,46 +516,46 @@ var $e = new Ze(), et = class {
516
516
  getDelegateTracer(e, t, n) {
517
517
  return this._delegate?.getTracer(e, t, n);
518
518
  }
519
- }, rt;
519
+ }, nt;
520
520
  (function(e) {
521
521
  e[e.NOT_RECORD = 0] = "NOT_RECORD", e[e.RECORD = 1] = "RECORD", e[e.RECORD_AND_SAMPLED = 2] = "RECORD_AND_SAMPLED";
522
- })(rt ||= {});
522
+ })(nt ||= {});
523
523
  //#endregion
524
524
  //#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/span_kind.js
525
- var it;
525
+ var rt;
526
526
  (function(e) {
527
527
  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";
528
- })(it ||= {});
528
+ })(rt ||= {});
529
529
  //#endregion
530
530
  //#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/trace/status.js
531
- var C;
531
+ var w;
532
532
  (function(e) {
533
533
  e[e.UNSET = 0] = "UNSET", e[e.OK = 1] = "OK", e[e.ERROR = 2] = "ERROR";
534
- })(C ||= {});
534
+ })(w ||= {});
535
535
  //#endregion
536
536
  //#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/context-api.js
537
- var w = Fe.getInstance(), T = y.instance(), at = new class {
537
+ var T = x.getInstance(), E = y.instance(), it = new class {
538
538
  getMeter(e, t, n) {
539
539
  return xe;
540
540
  }
541
- }(), ot = "metrics", st = class e {
541
+ }(), at = "metrics", ot = class e {
542
542
  constructor() {}
543
543
  static getInstance() {
544
544
  return this._instance ||= new e(), this._instance;
545
545
  }
546
546
  setGlobalMeterProvider(e) {
547
- return m(ot, e, y.instance());
547
+ return m(at, e, y.instance());
548
548
  }
549
549
  getMeterProvider() {
550
- return h(ot) || at;
550
+ return h(at) || it;
551
551
  }
552
552
  getMeter(e, t, n) {
553
553
  return this.getMeterProvider().getMeter(e, t, n);
554
554
  }
555
555
  disable() {
556
- g(ot, y.instance());
556
+ g(at, y.instance());
557
557
  }
558
- }.getInstance(), ct = class {
558
+ }.getInstance(), st = class {
559
559
  inject(e, t) {}
560
560
  extract(e, t) {
561
561
  return e;
@@ -563,30 +563,30 @@ var w = Fe.getInstance(), T = y.instance(), at = new class {
563
563
  fields() {
564
564
  return [];
565
565
  }
566
- }, lt = ue("OpenTelemetry Baggage Key");
567
- function ut(e) {
568
- return e.getValue(lt) || void 0;
566
+ }, ct = ue("OpenTelemetry Baggage Key");
567
+ function lt(e) {
568
+ return e.getValue(ct) || void 0;
569
569
  }
570
- function dt() {
571
- return ut(Fe.getInstance().active());
570
+ function ut() {
571
+ return lt(x.getInstance().active());
572
572
  }
573
- function ft(e, t) {
574
- return e.setValue(lt, t);
573
+ function dt(e, t) {
574
+ return e.setValue(ct, t);
575
575
  }
576
- function pt(e) {
577
- return e.deleteValue(lt);
576
+ function ft(e) {
577
+ return e.deleteValue(ct);
578
578
  }
579
579
  //#endregion
580
580
  //#region ../../node_modules/.pnpm/@opentelemetry+api@1.9.1/node_modules/@opentelemetry/api/build/esm/api/propagation.js
581
- var mt = "propagation", ht = new ct(), E = class e {
581
+ var pt = "propagation", mt = new st(), D = class e {
582
582
  constructor() {
583
- this.createBaggage = ce, this.getBaggage = ut, this.getActiveBaggage = dt, this.setBaggage = ft, this.deleteBaggage = pt;
583
+ this.createBaggage = ce, this.getBaggage = lt, this.getActiveBaggage = ut, this.setBaggage = dt, this.deleteBaggage = ft;
584
584
  }
585
585
  static getInstance() {
586
586
  return this._instance ||= new e(), this._instance;
587
587
  }
588
588
  setGlobalPropagator(e) {
589
- return m(mt, e, y.instance());
589
+ return m(pt, e, y.instance());
590
590
  }
591
591
  inject(e, t, n = je) {
592
592
  return this._getGlobalPropagator().inject(e, t, n);
@@ -598,56 +598,56 @@ var mt = "propagation", ht = new ct(), E = class e {
598
598
  return this._getGlobalPropagator().fields();
599
599
  }
600
600
  disable() {
601
- g(mt, y.instance());
601
+ g(pt, y.instance());
602
602
  }
603
603
  _getGlobalPropagator() {
604
- return h(mt) || ht;
604
+ return h(pt) || mt;
605
605
  }
606
- }.getInstance(), gt = "trace", D = class e {
606
+ }.getInstance(), ht = "trace", O = class e {
607
607
  constructor() {
608
- this._proxyTracerProvider = new nt(), this.wrapSpanContext = Ye, this.isSpanContextValid = Je, this.deleteSpan = Ve, this.getSpan = Re, this.getActiveSpan = ze, this.getSpanContext = Ue, this.setSpan = Be, this.setSpanContext = He;
608
+ this._proxyTracerProvider = new tt(), this.wrapSpanContext = Je, this.isSpanContextValid = qe, this.deleteSpan = Be, this.getSpan = Le, this.getActiveSpan = Re, this.getSpanContext = He, this.setSpan = ze, this.setSpanContext = Ve;
609
609
  }
610
610
  static getInstance() {
611
611
  return this._instance ||= new e(), this._instance;
612
612
  }
613
613
  setGlobalTracerProvider(e) {
614
- let t = m(gt, this._proxyTracerProvider, y.instance());
614
+ let t = m(ht, this._proxyTracerProvider, y.instance());
615
615
  return t && this._proxyTracerProvider.setDelegate(e), t;
616
616
  }
617
617
  getTracerProvider() {
618
- return h(gt) || this._proxyTracerProvider;
618
+ return h(ht) || this._proxyTracerProvider;
619
619
  }
620
620
  getTracer(e, t) {
621
621
  return this.getTracerProvider().getTracer(e, t);
622
622
  }
623
623
  disable() {
624
- g(gt, y.instance()), this._proxyTracerProvider = new nt();
624
+ g(ht, y.instance()), this._proxyTracerProvider = new tt();
625
625
  }
626
- }.getInstance(), _t = ue("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
627
- function vt(e) {
628
- return e.setValue(_t, !0);
626
+ }.getInstance(), gt = ue("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
627
+ function _t(e) {
628
+ return e.setValue(gt, !0);
629
629
  }
630
- function yt(e) {
631
- return e.getValue(_t) === !0;
630
+ function vt(e) {
631
+ return e.getValue(gt) === !0;
632
632
  }
633
633
  //#endregion
634
634
  //#region ../../node_modules/.pnpm/@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/core/build/esm/baggage/constants.js
635
- var bt = "baggage", xt = 4096;
635
+ var yt = "baggage", bt = 4096;
636
636
  //#endregion
637
637
  //#region ../../node_modules/.pnpm/@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/core/build/esm/baggage/utils.js
638
- function St(e) {
638
+ function xt(e) {
639
639
  return e.reduce((e, t) => {
640
640
  let n = `${e}${e === "" ? "" : ","}${t}`;
641
641
  return n.length > 8192 ? e : n;
642
642
  }, "");
643
643
  }
644
- function Ct(e) {
644
+ function St(e) {
645
645
  return e.getAllEntries().map(([e, t]) => {
646
646
  let n = `${encodeURIComponent(e)}=${encodeURIComponent(t.value)}`;
647
647
  return t.metadata !== void 0 && (n += ";" + t.metadata.toString()), n;
648
648
  });
649
649
  }
650
- function wt(e) {
650
+ function Ct(e) {
651
651
  if (!e) return;
652
652
  let t = e.indexOf(";"), n = t === -1 ? e : e.substring(0, t), r = n.indexOf("=");
653
653
  if (r <= 0) return;
@@ -666,12 +666,12 @@ function wt(e) {
666
666
  metadata: c
667
667
  };
668
668
  }
669
- function Tt(e, t, n, r) {
669
+ function wt(e, t, n, r) {
670
670
  let i = 0;
671
671
  for (; i < e.length && n < 180;) {
672
672
  let a = e.indexOf(",", i), o = a === -1 ? e.length : a, s = o - i;
673
673
  if (s <= 4096) {
674
- let a = wt(e.substring(i, o));
674
+ let a = Ct(e.substring(i, o));
675
675
  if (a) {
676
676
  let e = (n === 0 ? 0 : 1) + s;
677
677
  if (r + e > 8192) break;
@@ -688,59 +688,59 @@ function Tt(e, t, n, r) {
688
688
  }
689
689
  //#endregion
690
690
  //#region ../../node_modules/.pnpm/@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/core/build/esm/baggage/propagation/W3CBaggagePropagator.js
691
- var Et = class {
691
+ var Tt = class {
692
692
  inject(e, t, n) {
693
- let r = E.getBaggage(e);
694
- if (!r || yt(e)) return;
695
- let i = St(Ct(r).filter((e) => e.length <= xt).slice(0, 180));
696
- i.length > 0 && n.set(t, bt, i);
693
+ let r = D.getBaggage(e);
694
+ if (!r || vt(e)) return;
695
+ let i = xt(St(r).filter((e) => e.length <= bt).slice(0, 180));
696
+ i.length > 0 && n.set(t, yt, i);
697
697
  }
698
698
  extract(e, t, n) {
699
- let r = n.get(t, bt);
699
+ let r = n.get(t, yt);
700
700
  if (!r) return e;
701
701
  let i = {}, a = 0, o = 0;
702
- if (Array.isArray(r)) for (let e = 0; e < r.length; e++) [a, o] = Tt(r[e], i, a, o);
703
- else [a] = Tt(r, i, a, o);
704
- return a === 0 ? e : E.setBaggage(e, E.createBaggage(i));
702
+ if (Array.isArray(r)) for (let e = 0; e < r.length; e++) [a, o] = wt(r[e], i, a, o);
703
+ else [a] = wt(r, i, a, o);
704
+ return a === 0 ? e : D.setBaggage(e, D.createBaggage(i));
705
705
  }
706
706
  fields() {
707
- return [bt];
707
+ return [yt];
708
708
  }
709
709
  };
710
710
  //#endregion
711
711
  //#region ../../node_modules/.pnpm/@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/core/build/esm/common/attributes.js
712
- function O(e) {
712
+ function k(e) {
713
713
  let t = {};
714
714
  if (typeof e != "object" || !e) return t;
715
715
  for (let n in e) {
716
716
  if (!Object.prototype.hasOwnProperty.call(e, n)) continue;
717
- if (!Dt(n)) {
718
- T.warn(`Invalid attribute key: ${n}`);
717
+ if (!Et(n)) {
718
+ E.warn(`Invalid attribute key: ${n}`);
719
719
  continue;
720
720
  }
721
721
  let r = e[n];
722
- if (!Ot(r)) {
723
- T.warn(`Invalid attribute value set for key: ${n}`);
722
+ if (!Dt(r)) {
723
+ E.warn(`Invalid attribute value set for key: ${n}`);
724
724
  continue;
725
725
  }
726
726
  t[n] = Array.isArray(r) ? r.slice() : r;
727
727
  }
728
728
  return t;
729
729
  }
730
- function Dt(e) {
730
+ function Et(e) {
731
731
  return typeof e == "string" && e !== "";
732
732
  }
733
- function Ot(e) {
734
- return e == null ? !0 : Array.isArray(e) ? kt(e) : At(typeof e);
733
+ function Dt(e) {
734
+ return e == null ? !0 : Array.isArray(e) ? Ot(e) : kt(typeof e);
735
735
  }
736
- function kt(e) {
736
+ function Ot(e) {
737
737
  let t;
738
738
  for (let n of e) {
739
739
  if (n == null) continue;
740
740
  let e = typeof n;
741
741
  if (e !== t) {
742
742
  if (!t) {
743
- if (At(e)) {
743
+ if (kt(e)) {
744
744
  t = e;
745
745
  continue;
746
746
  }
@@ -751,7 +751,7 @@ function kt(e) {
751
751
  }
752
752
  return !0;
753
753
  }
754
- function At(e) {
754
+ function kt(e) {
755
755
  switch (e) {
756
756
  case "number":
757
757
  case "boolean":
@@ -761,15 +761,15 @@ function At(e) {
761
761
  }
762
762
  //#endregion
763
763
  //#region ../../node_modules/.pnpm/@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/core/build/esm/common/logging-error-handler.js
764
- function jt() {
764
+ function At() {
765
765
  return (e) => {
766
- T.error(Mt(e));
766
+ E.error(jt(e));
767
767
  };
768
768
  }
769
- function Mt(e) {
770
- return typeof e == "string" ? e : JSON.stringify(Nt(e));
769
+ function jt(e) {
770
+ return typeof e == "string" ? e : JSON.stringify(Mt(e));
771
771
  }
772
- function Nt(e) {
772
+ function Mt(e) {
773
773
  let t = {}, n = e;
774
774
  for (; n !== null;) Object.getOwnPropertyNames(n).forEach((e) => {
775
775
  if (t[e]) return;
@@ -780,62 +780,62 @@ function Nt(e) {
780
780
  }
781
781
  //#endregion
782
782
  //#region ../../node_modules/.pnpm/@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/core/build/esm/common/global-error-handler.js
783
- var Pt = jt();
784
- function k(e) {
783
+ var Nt = At();
784
+ function A(e) {
785
785
  try {
786
- Pt(e);
786
+ Nt(e);
787
787
  } catch {}
788
788
  }
789
789
  //#endregion
790
790
  //#region ../../node_modules/.pnpm/@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/core/build/esm/version.js
791
- var Ft = "2.11.0", It = "process.runtime.name", Lt = {
791
+ var Pt = "2.11.0", Ft = "process.runtime.name", It = {
792
792
  [o]: "opentelemetry",
793
- [It]: "browser",
793
+ [Ft]: "browser",
794
794
  [i]: a,
795
- [s]: Ft
796
- }, A = performance, Rt = 9, zt = 10 ** 6, Bt = 10 ** Rt;
797
- function j(e) {
798
- let t = e / 1e3;
799
- return [Math.trunc(t), Math.round(e % 1e3 * zt)];
800
- }
795
+ [s]: Pt
796
+ }, j = performance, Lt = 9, Rt = 10 ** 6, zt = 10 ** Lt;
801
797
  function M(e) {
802
- return Gt(j(A.timeOrigin), j(typeof e == "number" ? e : A.now()));
798
+ let t = e / 1e3;
799
+ return [Math.trunc(t), Math.round(e % 1e3 * Rt)];
803
800
  }
804
801
  function N(e) {
805
- if (Ut(e)) return e;
806
- if (typeof e == "number") return e < A.timeOrigin / 2 ? M(e) : j(e);
807
- if (e instanceof Date) return j(e.getTime());
802
+ return Wt(M(j.timeOrigin), M(typeof e == "number" ? e : j.now()));
803
+ }
804
+ function P(e) {
805
+ if (Ht(e)) return e;
806
+ if (typeof e == "number") return e < j.timeOrigin / 2 ? N(e) : M(e);
807
+ if (e instanceof Date) return M(e.getTime());
808
808
  throw TypeError("Invalid input type");
809
809
  }
810
- function Vt(e, t) {
810
+ function Bt(e, t) {
811
811
  let n = t[0] - e[0], r = t[1] - e[1];
812
- return r < 0 && (--n, r += Bt), [n, r];
812
+ return r < 0 && (--n, r += zt), [n, r];
813
813
  }
814
- function P(e) {
815
- return e[0] * Bt + e[1];
814
+ function F(e) {
815
+ return e[0] * zt + e[1];
816
816
  }
817
- function Ht(e) {
817
+ function Vt(e) {
818
818
  return e[0] * 1e3 + e[1] / 1e6;
819
819
  }
820
- function Ut(e) {
820
+ function Ht(e) {
821
821
  return Array.isArray(e) && e.length === 2 && typeof e[0] == "number" && typeof e[1] == "number";
822
822
  }
823
- function Wt(e) {
824
- return Ut(e) || typeof e == "number" || e instanceof Date;
823
+ function Ut(e) {
824
+ return Ht(e) || typeof e == "number" || e instanceof Date;
825
825
  }
826
- function Gt(e, t) {
826
+ function Wt(e, t) {
827
827
  let n = [e[0] + t[0], e[1] + t[1]];
828
- return n[1] >= Bt && (n[1] -= Bt, n[0] += 1), n;
828
+ return n[1] >= zt && (n[1] -= zt, n[0] += 1), n;
829
829
  }
830
830
  //#endregion
831
831
  //#region ../../node_modules/.pnpm/@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/core/build/esm/ExportResult.js
832
- var F;
832
+ var I;
833
833
  (function(e) {
834
834
  e[e.SUCCESS = 0] = "SUCCESS", e[e.FAILED = 1] = "FAILED";
835
- })(F ||= {});
835
+ })(I ||= {});
836
836
  //#endregion
837
837
  //#region ../../node_modules/.pnpm/@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/core/build/esm/propagation/composite.js
838
- var Kt = class {
838
+ var Gt = class {
839
839
  _propagators;
840
840
  _fields;
841
841
  constructor(e = {}) {
@@ -851,7 +851,7 @@ var Kt = class {
851
851
  for (let r of this._propagators) try {
852
852
  r.inject(e, t, n);
853
853
  } catch (e) {
854
- T.warn(`Failed to inject with ${r.constructor.name}. Err: ${e.message}`);
854
+ E.warn(`Failed to inject with ${r.constructor.name}. Err: ${e.message}`);
855
855
  }
856
856
  }
857
857
  extract(e, t, n) {
@@ -859,7 +859,7 @@ var Kt = class {
859
859
  try {
860
860
  return r.extract(e, t, n);
861
861
  } catch (e) {
862
- T.warn(`Failed to extract with ${r.constructor.name}. Err: ${e.message}`);
862
+ E.warn(`Failed to extract with ${r.constructor.name}. Err: ${e.message}`);
863
863
  }
864
864
  return e;
865
865
  }, e);
@@ -867,16 +867,16 @@ var Kt = class {
867
867
  fields() {
868
868
  return this._fields.slice();
869
869
  }
870
- }, qt = "[_0-9a-z-*/]", Jt = RegExp(`^(?:${`[a-z]${qt}{0,255}`}|${`[a-z0-9]${qt}{0,240}@[a-z]${qt}{0,13}`})$`), Yt = /^[ -~]{0,255}[!-~]$/, Xt = /,|=/;
871
- function Zt(e) {
872
- return Jt.test(e);
870
+ }, Kt = "[_0-9a-z-*/]", qt = RegExp(`^(?:${`[a-z]${Kt}{0,255}`}|${`[a-z0-9]${Kt}{0,240}@[a-z]${Kt}{0,13}`})$`), Jt = /^[ -~]{0,255}[!-~]$/, Yt = /,|=/;
871
+ function Xt(e) {
872
+ return qt.test(e);
873
873
  }
874
- function Qt(e) {
875
- return Yt.test(e) && !Xt.test(e);
874
+ function Zt(e) {
875
+ return Jt.test(e) && !Yt.test(e);
876
876
  }
877
877
  //#endregion
878
878
  //#region ../../node_modules/.pnpm/@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/core/build/esm/trace/TraceState.js
879
- var $t = 32, en = 512, tn = ",", nn = "=", rn = class e {
879
+ var Qt = 32, $t = 512, en = ",", tn = "=", nn = class e {
880
880
  _length;
881
881
  _rawTraceState;
882
882
  _internalState;
@@ -884,9 +884,9 @@ var $t = 32, en = 512, tn = ",", nn = "=", rn = class e {
884
884
  this._rawTraceState = typeof e == "string" ? e : "", this._length = this._rawTraceState.length;
885
885
  }
886
886
  set(e, t) {
887
- if (!Zt(e) || !Qt(t)) return this;
887
+ if (!Xt(e) || !Zt(t)) return this;
888
888
  let n = this._getState(), r = n.get(e), i = this._length;
889
- if (i += typeof r == "string" ? t.length - r.length : e.length + t.length + (n.size > 0 ? 2 : 1), i > en) return this;
889
+ if (i += typeof r == "string" ? t.length - r.length : e.length + t.length + (n.size > 0 ? 2 : 1), i > $t) return this;
890
890
  let a = new Map(n);
891
891
  return a.delete(e), a.set(e, t), this._fromState(a, i);
892
892
  }
@@ -903,19 +903,19 @@ var $t = 32, en = 512, tn = ",", nn = "=", rn = class e {
903
903
  }
904
904
  serialize() {
905
905
  let e = "", t = 0;
906
- for (let n of this._getState()) t > 0 && (e = tn + e), e = `${n[0]}${nn}${n[1]}` + e, t++;
906
+ for (let n of this._getState()) t > 0 && (e = en + e), e = `${n[0]}${tn}${n[1]}` + e, t++;
907
907
  return e;
908
908
  }
909
909
  _getState() {
910
910
  if (this._internalState) return this._internalState;
911
- let e = this._rawTraceState.split(tn), t = /* @__PURE__ */ new Map(), n = 0;
911
+ let e = this._rawTraceState.split(en), t = /* @__PURE__ */ new Map(), n = 0;
912
912
  for (let r of e) {
913
- let e = r.trim(), i = e.indexOf(nn);
913
+ let e = r.trim(), i = e.indexOf(tn);
914
914
  if (i === -1) continue;
915
915
  let a = e.slice(0, i), o = e.slice(i + 1);
916
- if (!Zt(a) || !Qt(o)) continue;
916
+ if (!Xt(a) || !Zt(o)) continue;
917
917
  let s = n + e.length + +(t.size > 0);
918
- if (!(s > en) && (t.set(a, o), n = s, t.size >= $t)) break;
918
+ if (!(s > $t) && (t.set(a, o), n = s, t.size >= Qt)) break;
919
919
  }
920
920
  return this._length = n, this._internalState = new Map(Array.from(t.entries()).reverse()), this._internalState;
921
921
  }
@@ -923,104 +923,104 @@ var $t = 32, en = 512, tn = ",", nn = "=", rn = class e {
923
923
  let r = Object.create(e.prototype);
924
924
  return r._internalState = t, r._length = n, r;
925
925
  }
926
- }, an = "traceparent", on = "tracestate", sn = "00", cn = /* @__PURE__ */ RegExp("^\\s?((?!ff)[\\da-f]{2})-((?![0]{32})[\\da-f]{32})-((?![0]{16})[\\da-f]{16})-([\\da-f]{2})(-.*)?\\s?$");
927
- function ln(e) {
928
- let t = cn.exec(e);
926
+ }, rn = "traceparent", an = "tracestate", on = "00", sn = /* @__PURE__ */ RegExp("^\\s?((?!ff)[\\da-f]{2})-((?![0]{32})[\\da-f]{32})-((?![0]{16})[\\da-f]{16})-([\\da-f]{2})(-.*)?\\s?$");
927
+ function cn(e) {
928
+ let t = sn.exec(e);
929
929
  return !t || t[1] === "00" && t[5] ? null : {
930
930
  traceId: t[2],
931
931
  spanId: t[3],
932
932
  traceFlags: parseInt(t[4], 16)
933
933
  };
934
934
  }
935
- var un = class {
935
+ var ln = class {
936
936
  inject(e, t, n) {
937
- let r = D.getSpanContext(e);
938
- if (!r || yt(e) || !Je(r)) return;
939
- let i = `${sn}-${r.traceId}-${r.spanId}-0${Number(r.traceFlags || x.NONE).toString(16)}`;
940
- n.set(t, an, i), r.traceState && n.set(t, on, r.traceState.serialize());
937
+ let r = O.getSpanContext(e);
938
+ if (!r || vt(e) || !qe(r)) return;
939
+ let i = `${on}-${r.traceId}-${r.spanId}-0${Number(r.traceFlags || S.NONE).toString(16)}`;
940
+ n.set(t, rn, i), r.traceState && n.set(t, an, r.traceState.serialize());
941
941
  }
942
942
  extract(e, t, n) {
943
- let r = n.get(t, an);
943
+ let r = n.get(t, rn);
944
944
  if (!r) return e;
945
945
  let i = Array.isArray(r) ? r[0] : r;
946
946
  if (typeof i != "string") return e;
947
- let a = ln(i);
947
+ let a = cn(i);
948
948
  if (!a) return e;
949
949
  a.isRemote = !0;
950
- let o = n.get(t, on);
950
+ let o = n.get(t, an);
951
951
  if (o) {
952
952
  let e = Array.isArray(o) ? o.join(",") : o;
953
- a.traceState = new rn(typeof e == "string" ? e : void 0);
953
+ a.traceState = new nn(typeof e == "string" ? e : void 0);
954
954
  }
955
- return D.setSpanContext(e, a);
955
+ return O.setSpanContext(e, a);
956
956
  }
957
957
  fields() {
958
- return [an, on];
958
+ return [rn, an];
959
959
  }
960
- }, dn = "[object Object]", fn = "[object Null]", pn = "[object Undefined]", mn = Function.prototype.toString, hn = mn.call(Object), gn = Object.getPrototypeOf, _n = Object.prototype, vn = _n.hasOwnProperty, I = Symbol ? Symbol.toStringTag : void 0, yn = _n.toString;
961
- function bn(e) {
962
- if (!xn(e) || Sn(e) !== dn) return !1;
963
- let t = gn(e);
960
+ }, un = "[object Object]", dn = "[object Null]", fn = "[object Undefined]", pn = Function.prototype.toString, mn = pn.call(Object), hn = Object.getPrototypeOf, gn = Object.prototype, _n = gn.hasOwnProperty, L = Symbol ? Symbol.toStringTag : void 0, vn = gn.toString;
961
+ function yn(e) {
962
+ if (!bn(e) || xn(e) !== un) return !1;
963
+ let t = hn(e);
964
964
  if (t === null) return !0;
965
- let n = vn.call(t, "constructor") && t.constructor;
966
- return typeof n == "function" && n instanceof n && mn.call(n) === hn;
965
+ let n = _n.call(t, "constructor") && t.constructor;
966
+ return typeof n == "function" && n instanceof n && pn.call(n) === mn;
967
967
  }
968
- function xn(e) {
968
+ function bn(e) {
969
969
  return typeof e == "object" && !!e;
970
970
  }
971
- function Sn(e) {
972
- return e == null ? e === void 0 ? pn : fn : I && I in Object(e) ? Cn(e) : wn(e);
971
+ function xn(e) {
972
+ return e == null ? e === void 0 ? fn : dn : L && L in Object(e) ? Sn(e) : Cn(e);
973
973
  }
974
- function Cn(e) {
975
- let t = vn.call(e, I), n = e[I], r = !1;
974
+ function Sn(e) {
975
+ let t = _n.call(e, L), n = e[L], r = !1;
976
976
  try {
977
- e[I] = void 0, r = !0;
977
+ e[L] = void 0, r = !0;
978
978
  } catch {}
979
- let i = yn.call(e);
980
- return r && (t ? e[I] = n : delete e[I]), i;
979
+ let i = vn.call(e);
980
+ return r && (t ? e[L] = n : delete e[L]), i;
981
981
  }
982
- function wn(e) {
983
- return yn.call(e);
982
+ function Cn(e) {
983
+ return vn.call(e);
984
984
  }
985
985
  //#endregion
986
986
  //#region ../../node_modules/.pnpm/@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/core/build/esm/utils/merge.js
987
- var Tn = 20;
988
- function En(...e) {
987
+ var wn = 20;
988
+ function Tn(...e) {
989
989
  let t = e.shift(), n = /* @__PURE__ */ new WeakMap();
990
- for (; e.length > 0;) t = On(t, e.shift(), 0, n);
990
+ for (; e.length > 0;) t = Dn(t, e.shift(), 0, n);
991
991
  return t;
992
992
  }
993
- function Dn(e) {
994
- return An(e) ? e.slice() : e;
993
+ function En(e) {
994
+ return kn(e) ? e.slice() : e;
995
995
  }
996
- function On(e, t, n = 0, r) {
996
+ function Dn(e, t, n = 0, r) {
997
997
  let i;
998
- if (!(n > Tn)) {
999
- if (n++, Mn(e) || Mn(t) || jn(t)) i = Dn(t);
1000
- else if (An(e)) {
1001
- if (i = e.slice(), An(t)) for (let e = 0, n = t.length; e < n; e++) i.push(Dn(t[e]));
1002
- else if (L(t)) {
998
+ if (!(n > wn)) {
999
+ if (n++, jn(e) || jn(t) || An(t)) i = En(t);
1000
+ else if (kn(e)) {
1001
+ if (i = e.slice(), kn(t)) for (let e = 0, n = t.length; e < n; e++) i.push(En(t[e]));
1002
+ else if (R(t)) {
1003
1003
  let e = Object.keys(t);
1004
1004
  for (let n = 0, r = e.length; n < r; n++) {
1005
1005
  let r = e[n];
1006
- r !== "__proto__" && r !== "constructor" && r !== "prototype" && (i[r] = Dn(t[r]));
1006
+ r !== "__proto__" && r !== "constructor" && r !== "prototype" && (i[r] = En(t[r]));
1007
1007
  }
1008
1008
  }
1009
- } else if (L(e)) {
1010
- if (L(t)) {
1011
- if (!Nn(e, t)) return t;
1009
+ } else if (R(e)) {
1010
+ if (R(t)) {
1011
+ if (!Mn(e, t)) return t;
1012
1012
  i = Object.assign({}, e);
1013
1013
  let a = Object.keys(t);
1014
1014
  for (let o = 0, s = a.length; o < s; o++) {
1015
1015
  let s = a[o];
1016
1016
  if (s === "__proto__" || s === "constructor" || s === "prototype") continue;
1017
1017
  let c = t[s];
1018
- if (Mn(c)) c === void 0 ? delete i[s] : i[s] = c;
1018
+ if (jn(c)) c === void 0 ? delete i[s] : i[s] = c;
1019
1019
  else {
1020
1020
  let a = i[s], o = c;
1021
- if (kn(e, s, r) || kn(t, s, r)) delete i[s];
1021
+ if (On(e, s, r) || On(t, s, r)) delete i[s];
1022
1022
  else {
1023
- if (L(a) && L(o)) {
1023
+ if (R(a) && R(o)) {
1024
1024
  let n = r.get(a) || [], i = r.get(o) || [];
1025
1025
  n.push({
1026
1026
  obj: e,
@@ -1030,7 +1030,7 @@ function On(e, t, n = 0, r) {
1030
1030
  key: s
1031
1031
  }), r.set(a, n), r.set(o, i);
1032
1032
  }
1033
- i[s] = On(i[s], c, n, r);
1033
+ i[s] = Dn(i[s], c, n, r);
1034
1034
  }
1035
1035
  }
1036
1036
  }
@@ -1039,7 +1039,7 @@ function On(e, t, n = 0, r) {
1039
1039
  return i;
1040
1040
  }
1041
1041
  }
1042
- function kn(e, t, n) {
1042
+ function On(e, t, n) {
1043
1043
  let r = n.get(e[t]) || [];
1044
1044
  for (let n = 0, i = r.length; n < i; n++) {
1045
1045
  let i = r[n];
@@ -1047,34 +1047,34 @@ function kn(e, t, n) {
1047
1047
  }
1048
1048
  return !1;
1049
1049
  }
1050
- function An(e) {
1050
+ function kn(e) {
1051
1051
  return Array.isArray(e);
1052
1052
  }
1053
- function jn(e) {
1053
+ function An(e) {
1054
1054
  return typeof e == "function";
1055
1055
  }
1056
- function L(e) {
1057
- return !Mn(e) && !An(e) && !jn(e) && typeof e == "object";
1056
+ function R(e) {
1057
+ return !jn(e) && !kn(e) && !An(e) && typeof e == "object";
1058
1058
  }
1059
- function Mn(e) {
1059
+ function jn(e) {
1060
1060
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === void 0 || e instanceof Date || e instanceof RegExp || e === null;
1061
1061
  }
1062
- function Nn(e, t) {
1063
- return !(!bn(e) || !bn(t));
1062
+ function Mn(e, t) {
1063
+ return !(!yn(e) || !yn(t));
1064
1064
  }
1065
1065
  //#endregion
1066
1066
  //#region ../../node_modules/.pnpm/@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/core/build/esm/utils/url.js
1067
- function Pn(e, t) {
1067
+ function Nn(e, t) {
1068
1068
  return typeof t == "string" ? e === t : !!e.match(t);
1069
1069
  }
1070
- function Fn(e, t) {
1070
+ function Pn(e, t) {
1071
1071
  if (!t) return !1;
1072
- for (let n of t) if (Pn(e, n)) return !0;
1072
+ for (let n of t) if (Nn(e, n)) return !0;
1073
1073
  return !1;
1074
1074
  }
1075
1075
  //#endregion
1076
1076
  //#region ../../node_modules/.pnpm/@opentelemetry+core@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/core/build/esm/utils/promise.js
1077
- var In = class {
1077
+ var Fn = class {
1078
1078
  _promise;
1079
1079
  _resolve;
1080
1080
  _reject;
@@ -1092,9 +1092,9 @@ var In = class {
1092
1092
  reject(e) {
1093
1093
  this._reject(e);
1094
1094
  }
1095
- }, Ln = class {
1095
+ }, In = class {
1096
1096
  _isCalled = !1;
1097
- _deferred = new In();
1097
+ _deferred = new Fn();
1098
1098
  _callback;
1099
1099
  _that;
1100
1100
  constructor(e, t) {
@@ -1117,30 +1117,30 @@ var In = class {
1117
1117
  }
1118
1118
  return this._deferred.promise;
1119
1119
  }
1120
- }, Rn;
1121
- function zn() {
1122
- if (Rn === void 0) try {
1120
+ }, Ln;
1121
+ function Rn() {
1122
+ if (Ln === void 0) try {
1123
1123
  let e = globalThis.process.argv0;
1124
- Rn = e ? `unknown_service:${e}` : "unknown_service";
1124
+ Ln = e ? `unknown_service:${e}` : "unknown_service";
1125
1125
  } catch {
1126
- Rn = "unknown_service";
1126
+ Ln = "unknown_service";
1127
1127
  }
1128
- return Rn;
1128
+ return Ln;
1129
1129
  }
1130
1130
  //#endregion
1131
1131
  //#region ../../node_modules/.pnpm/@opentelemetry+resources@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resources/build/esm/utils.js
1132
- var R = (e) => typeof e == "object" && !!e && typeof e.then == "function", Bn = class e {
1132
+ var z = (e) => typeof e == "object" && !!e && typeof e.then == "function", zn = class e {
1133
1133
  _rawAttributes;
1134
1134
  _asyncAttributesPending = !1;
1135
1135
  _schemaUrl;
1136
1136
  _memoizedAttributes;
1137
1137
  static FromAttributeList(t, n) {
1138
1138
  let r = new e({}, n);
1139
- return r._rawAttributes = Un(t), r._asyncAttributesPending = t.filter(([e, t]) => R(t)).length > 0, r;
1139
+ return r._rawAttributes = Hn(t), r._asyncAttributesPending = t.filter(([e, t]) => z(t)).length > 0, r;
1140
1140
  }
1141
1141
  constructor(e, t) {
1142
1142
  let n = e.attributes ?? {};
1143
- this._rawAttributes = Object.entries(n).map(([e, t]) => (R(t) && (this._asyncAttributesPending = !0), [e, t])), this._rawAttributes = Un(this._rawAttributes), this._schemaUrl = Wn(t?.schemaUrl);
1143
+ this._rawAttributes = Object.entries(n).map(([e, t]) => (z(t) && (this._asyncAttributesPending = !0), [e, t])), this._rawAttributes = Hn(this._rawAttributes), this._schemaUrl = Un(t?.schemaUrl);
1144
1144
  }
1145
1145
  get asyncAttributesPending() {
1146
1146
  return this._asyncAttributesPending;
@@ -1149,17 +1149,17 @@ var R = (e) => typeof e == "object" && !!e && typeof e.then == "function", Bn =
1149
1149
  if (this.asyncAttributesPending) {
1150
1150
  for (let e = 0; e < this._rawAttributes.length; e++) {
1151
1151
  let [t, n] = this._rawAttributes[e];
1152
- this._rawAttributes[e] = [t, R(n) ? await n : n];
1152
+ this._rawAttributes[e] = [t, z(n) ? await n : n];
1153
1153
  }
1154
1154
  this._asyncAttributesPending = !1;
1155
1155
  }
1156
1156
  }
1157
1157
  get attributes() {
1158
- if (this.asyncAttributesPending && T.error("Accessing resource attributes before async attributes settled"), this._memoizedAttributes) return this._memoizedAttributes;
1158
+ if (this.asyncAttributesPending && E.error("Accessing resource attributes before async attributes settled"), this._memoizedAttributes) return this._memoizedAttributes;
1159
1159
  let e = {};
1160
1160
  for (let [t, n] of this._rawAttributes) {
1161
- if (R(n)) {
1162
- T.debug(`Unsettled resource attribute ${t} skipped`);
1161
+ if (z(n)) {
1162
+ E.debug(`Unsettled resource attribute ${t} skipped`);
1163
1163
  continue;
1164
1164
  }
1165
1165
  n != null && (e[t] ??= n);
@@ -1174,45 +1174,45 @@ var R = (e) => typeof e == "object" && !!e && typeof e.then == "function", Bn =
1174
1174
  }
1175
1175
  merge(t) {
1176
1176
  if (t == null) return this;
1177
- let n = Gn(this, t), r = n ? { schemaUrl: n } : void 0;
1177
+ let n = Wn(this, t), r = n ? { schemaUrl: n } : void 0;
1178
1178
  return e.FromAttributeList([...t.getRawAttributes(), ...this.getRawAttributes()], r);
1179
1179
  }
1180
1180
  };
1181
- function Vn(e, t) {
1182
- return Bn.FromAttributeList(Object.entries(e), t);
1183
- }
1184
- function Hn() {
1185
- return Vn({
1186
- [r]: zn(),
1187
- [i]: Lt[i],
1188
- [o]: Lt[o],
1189
- [s]: Lt[s]
1181
+ function Bn(e, t) {
1182
+ return zn.FromAttributeList(Object.entries(e), t);
1183
+ }
1184
+ function Vn() {
1185
+ return Bn({
1186
+ [r]: Rn(),
1187
+ [i]: It[i],
1188
+ [o]: It[o],
1189
+ [s]: It[s]
1190
1190
  });
1191
1191
  }
1192
- function Un(e) {
1193
- return e.map(([e, t]) => R(t) ? [e, t.catch((t) => {
1194
- T.debug("promise rejection for resource attribute: %s - %s", e, t);
1192
+ function Hn(e) {
1193
+ return e.map(([e, t]) => z(t) ? [e, t.catch((t) => {
1194
+ E.debug("promise rejection for resource attribute: %s - %s", e, t);
1195
1195
  })] : [e, t]);
1196
1196
  }
1197
- function Wn(e) {
1197
+ function Un(e) {
1198
1198
  if (typeof e == "string" || e === void 0) return e;
1199
- T.warn("Schema URL must be string or undefined, got %s. Schema URL will be ignored.", e);
1199
+ E.warn("Schema URL must be string or undefined, got %s. Schema URL will be ignored.", e);
1200
1200
  }
1201
- function Gn(e, t) {
1201
+ function Wn(e, t) {
1202
1202
  let n = e?.schemaUrl, r = t?.schemaUrl, i = n === void 0 || n === "", a = r === void 0 || r === "";
1203
1203
  if (i) return r;
1204
1204
  if (a || n === r) return n;
1205
- T.warn("Schema URL merge conflict: old resource has \"%s\", updating resource has \"%s\". Resulting resource will have undefined Schema URL.", n, r);
1205
+ E.warn("Schema URL merge conflict: old resource has \"%s\", updating resource has \"%s\". Resulting resource will have undefined Schema URL.", n, r);
1206
1206
  }
1207
1207
  //#endregion
1208
1208
  //#region ../../node_modules/.pnpm/@opentelemetry+sdk-trace@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/sdk-trace/build/esm/enums.js
1209
- var Kn = "exception", qn = Symbol.for("nodejs.util.inspect.custom");
1210
- function Jn(e) {
1209
+ var Gn = "exception", Kn = Symbol.for("nodejs.util.inspect.custom");
1210
+ function qn(e) {
1211
1211
  let t = {};
1212
1212
  for (let [n, r] of e.getRawAttributes()) typeof r?.then != "function" && r != null && (t[n] ??= r);
1213
1213
  return t;
1214
1214
  }
1215
- function Yn(e, t, n, r, i) {
1215
+ function Jn(e, t, n, r, i) {
1216
1216
  if (typeof n == "number" && n < 0) {
1217
1217
  let t = `[${e}]`;
1218
1218
  return r?.stylize ? r.stylize(t, "special") : t;
@@ -1224,7 +1224,7 @@ function Yn(e, t, n, r, i) {
1224
1224
  }
1225
1225
  //#endregion
1226
1226
  //#region ../../node_modules/.pnpm/@opentelemetry+sdk-trace@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/sdk-trace/build/esm/Span.js
1227
- var Xn = class {
1227
+ var Yn = class {
1228
1228
  _spanContext;
1229
1229
  kind;
1230
1230
  parentSpanContext;
@@ -1239,7 +1239,7 @@ var Xn = class {
1239
1239
  _droppedLinksCount = 0;
1240
1240
  _attributesCount = 0;
1241
1241
  name;
1242
- status = { code: C.UNSET };
1242
+ status = { code: w.UNSET };
1243
1243
  endTime = [0, 0];
1244
1244
  _ended = !1;
1245
1245
  _duration = [-1, -1];
@@ -1252,7 +1252,7 @@ var Xn = class {
1252
1252
  _startTimeProvided;
1253
1253
  constructor(e) {
1254
1254
  let t = Date.now();
1255
- if (this._spanContext = e.spanContext, this._performanceStartTime = A.now(), this._performanceOffset = t - (this._performanceStartTime + A.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);
1255
+ if (this._spanContext = e.spanContext, this._performanceStartTime = j.now(), this._performanceOffset = t - (this._performanceStartTime + j.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);
1256
1256
  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);
1257
1257
  }
1258
1258
  spanContext() {
@@ -1260,8 +1260,8 @@ var Xn = class {
1260
1260
  }
1261
1261
  setAttribute(e, t) {
1262
1262
  if (t == null || this._isSpanEnded()) return this;
1263
- if (e.length === 0) return T.warn(`Invalid attribute key: ${e}`), this;
1264
- if (!Ot(t)) return T.warn(`Invalid attribute value set for key: ${e}`), this;
1263
+ if (e.length === 0) return E.warn(`Invalid attribute key: ${e}`), this;
1264
+ if (!Dt(t)) return E.warn(`Invalid attribute value set for key: ${e}`), this;
1265
1265
  let { attributeCountLimit: n } = this._spanLimits, r = !Object.prototype.hasOwnProperty.call(this.attributes, e);
1266
1266
  return n !== void 0 && this._attributesCount >= n && r ? (this._droppedAttributesCount++, this) : (this.attributes[e] = this._truncateToSize(t), r && this._attributesCount++, this);
1267
1267
  }
@@ -1272,9 +1272,9 @@ var Xn = class {
1272
1272
  addEvent(e, t, n) {
1273
1273
  if (this._isSpanEnded()) return this;
1274
1274
  let { eventCountLimit: r } = this._spanLimits;
1275
- if (r === 0) return T.warn("No events allowed."), this._droppedEventsCount++, this;
1276
- r !== void 0 && this.events.length >= r && (this._droppedEventsCount === 0 && T.debug("Dropping extra events."), this.events.shift(), this._droppedEventsCount++), Wt(t) && (Wt(n) || (n = t), t = void 0);
1277
- let i = O(t), { attributePerEventCountLimit: a } = this._spanLimits, o = {}, s = 0, c = 0;
1275
+ if (r === 0) return E.warn("No events allowed."), this._droppedEventsCount++, this;
1276
+ r !== void 0 && this.events.length >= r && (this._droppedEventsCount === 0 && E.debug("Dropping extra events."), this.events.shift(), this._droppedEventsCount++), Ut(t) && (Ut(n) || (n = t), t = void 0);
1277
+ let i = k(t), { attributePerEventCountLimit: a } = this._spanLimits, o = {}, s = 0, c = 0;
1278
1278
  for (let e in i) {
1279
1279
  if (!Object.prototype.hasOwnProperty.call(i, e)) continue;
1280
1280
  let t = i[e];
@@ -1295,8 +1295,8 @@ var Xn = class {
1295
1295
  if (this._isSpanEnded()) return this;
1296
1296
  let { linkCountLimit: t } = this._spanLimits;
1297
1297
  if (t === 0) return this._droppedLinksCount++, this;
1298
- t !== void 0 && this.links.length >= t && (this._droppedLinksCount === 0 && T.debug("Dropping extra links."), this.links.shift(), this._droppedLinksCount++);
1299
- let { attributePerLinkCountLimit: n } = this._spanLimits, r = O(e.attributes), i = {}, a = 0, o = 0;
1298
+ t !== void 0 && this.links.length >= t && (this._droppedLinksCount === 0 && E.debug("Dropping extra links."), this.links.shift(), this._droppedLinksCount++);
1299
+ let { attributePerLinkCountLimit: n } = this._spanLimits, r = k(e.attributes), i = {}, a = 0, o = 0;
1300
1300
  for (let e in r) {
1301
1301
  if (!Object.prototype.hasOwnProperty.call(r, e)) continue;
1302
1302
  let t = r[e];
@@ -1314,35 +1314,35 @@ var Xn = class {
1314
1314
  return this;
1315
1315
  }
1316
1316
  setStatus(e) {
1317
- if (this._isSpanEnded() || e.code === C.UNSET || this.status.code === C.OK) return this;
1317
+ if (this._isSpanEnded() || e.code === w.UNSET || this.status.code === w.OK) return this;
1318
1318
  let t = { code: e.code };
1319
- return e.code === C.ERROR && (typeof e.message == "string" ? t.message = e.message : e.message != null && T.warn(`Dropping invalid status.message of type '${typeof e.message}', expected 'string'`)), this.status = t, this;
1319
+ return e.code === w.ERROR && (typeof e.message == "string" ? t.message = e.message : e.message != null && E.warn(`Dropping invalid status.message of type '${typeof e.message}', expected 'string'`)), this.status = t, this;
1320
1320
  }
1321
1321
  updateName(e) {
1322
1322
  return this._isSpanEnded() || (this.name = e), this;
1323
1323
  }
1324
1324
  end(e) {
1325
1325
  if (this._isSpanEnded()) {
1326
- T.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);
1326
+ E.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);
1327
1327
  return;
1328
1328
  }
1329
- this.endTime = this._getTime(e), this._duration = Vt(this.startTime, this.endTime), this._duration[0] < 0 && (T.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 && T.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`), this._droppedLinksCount > 0 && T.warn(`Dropped ${this._droppedLinksCount} links because linkCountLimit reached`), this._spanProcessor.onEnding && this._spanProcessor.onEnding(this), this._recordEndMetrics?.(), this._ended = !0, this._spanProcessor.onEnd(this);
1329
+ this.endTime = this._getTime(e), this._duration = Bt(this.startTime, this.endTime), this._duration[0] < 0 && (E.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 && E.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`), this._droppedLinksCount > 0 && E.warn(`Dropped ${this._droppedLinksCount} links because linkCountLimit reached`), this._spanProcessor.onEnding && this._spanProcessor.onEnding(this), this._recordEndMetrics?.(), this._ended = !0, this._spanProcessor.onEnd(this);
1330
1330
  }
1331
1331
  _getTime(e) {
1332
- if (typeof e == "number" && e <= A.now()) return M(e + this._performanceOffset);
1333
- if (typeof e == "number") return j(e);
1334
- if (e instanceof Date) return j(e.getTime());
1335
- if (Ut(e)) return e;
1336
- if (this._startTimeProvided) return j(Date.now());
1337
- let t = A.now() - this._performanceStartTime;
1338
- return Gt(this.startTime, j(t));
1332
+ if (typeof e == "number" && e <= j.now()) return N(e + this._performanceOffset);
1333
+ if (typeof e == "number") return M(e);
1334
+ if (e instanceof Date) return M(e.getTime());
1335
+ if (Ht(e)) return e;
1336
+ if (this._startTimeProvided) return M(Date.now());
1337
+ let t = j.now() - this._performanceStartTime;
1338
+ return Wt(this.startTime, M(t));
1339
1339
  }
1340
1340
  isRecording() {
1341
1341
  return this._ended === !1;
1342
1342
  }
1343
1343
  recordException(e, r) {
1344
1344
  let i = {};
1345
- typeof e == "string" ? i[t] = e : e && (e.code ? i[n] = e.code.toString() : e.name && (i[n] = e.name), e.message && (i[t] = e.message), e.stack && (i["exception.stacktrace"] = e.stack)), i["exception.type"] || i["exception.message"] ? this.addEvent(Kn, i, r) : T.warn(`Failed to record an exception ${e}`);
1345
+ typeof e == "string" ? i[t] = e : e && (e.code ? i[n] = e.code.toString() : e.name && (i[n] = e.name), e.message && (i[t] = e.message), e.stack && (i["exception.stacktrace"] = e.stack)), i["exception.type"] || i["exception.message"] ? this.addEvent(Gn, i, r) : E.warn(`Failed to record an exception ${e}`);
1346
1346
  }
1347
1347
  get duration() {
1348
1348
  return this._duration;
@@ -1362,7 +1362,7 @@ var Xn = class {
1362
1362
  _isSpanEnded() {
1363
1363
  if (this._ended) {
1364
1364
  let e = /* @__PURE__ */ Error(`Operation attempted on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);
1365
- T.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`, e);
1365
+ E.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`, e);
1366
1366
  }
1367
1367
  return this._ended;
1368
1368
  }
@@ -1371,10 +1371,10 @@ var Xn = class {
1371
1371
  }
1372
1372
  _truncateToSize(e) {
1373
1373
  let t = this._attributeValueLengthLimit;
1374
- return t <= 0 ? (T.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;
1374
+ return t <= 0 ? (E.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;
1375
1375
  }
1376
- [qn](e, t, n) {
1377
- return Yn("SpanImpl", {
1376
+ [Kn](e, t, n) {
1377
+ return Jn("SpanImpl", {
1378
1378
  name: this.name,
1379
1379
  kind: this.kind,
1380
1380
  spanContext: this._spanContext,
@@ -1391,52 +1391,52 @@ var Xn = class {
1391
1391
  droppedEventsCount: this._droppedEventsCount,
1392
1392
  droppedLinksCount: this._droppedLinksCount,
1393
1393
  instrumentationScope: this.instrumentationScope,
1394
- resource: { attributes: Jn(this.resource) }
1394
+ resource: { attributes: qn(this.resource) }
1395
1395
  }, e, t, n);
1396
1396
  }
1397
- }, z;
1397
+ }, B;
1398
1398
  (function(e) {
1399
1399
  e[e.NOT_RECORD = 0] = "NOT_RECORD", e[e.RECORD = 1] = "RECORD", e[e.RECORD_AND_SAMPLED = 2] = "RECORD_AND_SAMPLED";
1400
- })(z ||= {});
1400
+ })(B ||= {});
1401
1401
  //#endregion
1402
1402
  //#region ../../node_modules/.pnpm/@opentelemetry+sdk-trace@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/sdk-trace/build/esm/semconv.js
1403
- var Zn = "otel.component.name", Qn = "otel.component.type", $n = "otel.span.parent.origin", er = "otel.span.sampling_result", tr = "otel.sdk.processor.span.processed", nr = "otel.sdk.processor.span.queue.capacity", rr = "otel.sdk.processor.span.queue.size", ir = "otel.sdk.span.live", ar = "otel.sdk.span.started", or = "batching_span_processor", sr = class {
1403
+ var Xn = "otel.component.name", Zn = "otel.component.type", Qn = "otel.span.parent.origin", $n = "otel.span.sampling_result", er = "otel.sdk.processor.span.processed", tr = "otel.sdk.processor.span.queue.capacity", nr = "otel.sdk.processor.span.queue.size", rr = "otel.sdk.span.live", ir = "otel.sdk.span.started", ar = "batching_span_processor", or = class {
1404
1404
  startedSpans;
1405
1405
  liveSpans;
1406
1406
  constructor(e) {
1407
- this.startedSpans = e.createCounter(ar, {
1407
+ this.startedSpans = e.createCounter(ir, {
1408
1408
  unit: "{span}",
1409
1409
  description: "The number of created spans."
1410
- }), this.liveSpans = e.createUpDownCounter(ir, {
1410
+ }), this.liveSpans = e.createUpDownCounter(rr, {
1411
1411
  unit: "{span}",
1412
1412
  description: "The number of currently live spans."
1413
1413
  });
1414
1414
  }
1415
1415
  startSpan(e, t) {
1416
- let n = lr(t);
1416
+ let n = cr(t);
1417
1417
  if (this.startedSpans.add(1, {
1418
- [$n]: cr(e),
1419
- [er]: n
1420
- }), t === z.NOT_RECORD) return () => {};
1421
- let r = { [er]: n };
1418
+ [Qn]: sr(e),
1419
+ [$n]: n
1420
+ }), t === B.NOT_RECORD) return () => {};
1421
+ let r = { [$n]: n };
1422
1422
  return this.liveSpans.add(1, r), () => {
1423
1423
  this.liveSpans.add(-1, r);
1424
1424
  };
1425
1425
  }
1426
1426
  };
1427
- function cr(e) {
1427
+ function sr(e) {
1428
1428
  return e ? e.isRemote ? "remote" : "local" : "none";
1429
1429
  }
1430
- function lr(e) {
1430
+ function cr(e) {
1431
1431
  switch (e) {
1432
- case z.RECORD_AND_SAMPLED: return "RECORD_AND_SAMPLE";
1433
- case z.RECORD: return "RECORD_ONLY";
1434
- case z.NOT_RECORD: return "DROP";
1432
+ case B.RECORD_AND_SAMPLED: return "RECORD_AND_SAMPLE";
1433
+ case B.RECORD: return "RECORD_ONLY";
1434
+ case B.NOT_RECORD: return "DROP";
1435
1435
  }
1436
1436
  }
1437
1437
  //#endregion
1438
1438
  //#region ../../node_modules/.pnpm/@opentelemetry+sdk-trace@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/sdk-trace/build/esm/version.js
1439
- var ur = "2.11.0", dr = class {
1439
+ var lr = "2.11.0", ur = class {
1440
1440
  _sampler;
1441
1441
  _spanLimits;
1442
1442
  _idGenerator;
@@ -1446,29 +1446,29 @@ var ur = "2.11.0", dr = class {
1446
1446
  _tracerMetrics;
1447
1447
  constructor(e, t) {
1448
1448
  this.instrumentationScope = e, this._sampler = t.sampler, this._spanLimits = t.spanLimits, this._resource = t.resource, this._idGenerator = t.idGenerator, this._spanProcessor = t.spanProcessor;
1449
- let n = t.meterProvider.getMeter("@opentelemetry/sdk-trace", ur);
1450
- this._tracerMetrics = new sr(n);
1449
+ let n = t.meterProvider.getMeter("@opentelemetry/sdk-trace", lr);
1450
+ this._tracerMetrics = new or(n);
1451
1451
  }
1452
- startSpan(e, t = {}, n = w.active()) {
1453
- t.root && (n = D.deleteSpan(n));
1454
- let r = D.getSpan(n);
1455
- if (yt(n)) return T.debug("Instrumentation suppressed, returning Noop Span"), D.wrapSpanContext(Ie);
1452
+ startSpan(e, t = {}, n = T.active()) {
1453
+ t.root && (n = O.deleteSpan(n));
1454
+ let r = O.getSpan(n);
1455
+ if (vt(n)) return E.debug("Instrumentation suppressed, returning Noop Span"), O.wrapSpanContext(Fe);
1456
1456
  let i = r?.spanContext(), a = this._idGenerator.generateSpanId(), o, s, c;
1457
- !i || !D.isSpanContextValid(i) ? s = this._idGenerator.generateTraceId() : (s = i.traceId, c = i.traceState, o = i);
1458
- let l = t.kind ?? it.INTERNAL, u = (t.links ?? []).map((e) => ({
1457
+ !i || !O.isSpanContextValid(i) ? s = this._idGenerator.generateTraceId() : (s = i.traceId, c = i.traceState, o = i);
1458
+ let l = t.kind ?? rt.INTERNAL, u = (t.links ?? []).map((e) => ({
1459
1459
  context: e.context,
1460
- attributes: O(e.attributes)
1461
- })), ee = O(t.attributes), d = this._sampler.shouldSample(n, s, e, l, ee, u), te = this._tracerMetrics.startSpan(i, d.decision);
1460
+ attributes: k(e.attributes)
1461
+ })), ee = k(t.attributes), d = this._sampler.shouldSample(n, s, e, l, ee, u), te = this._tracerMetrics.startSpan(i, d.decision);
1462
1462
  c = d.traceState ?? c;
1463
- let f = d.decision === rt.RECORD_AND_SAMPLED ? x.SAMPLED : x.NONE, p = {
1463
+ let f = d.decision === nt.RECORD_AND_SAMPLED ? S.SAMPLED : S.NONE, p = {
1464
1464
  traceId: s,
1465
1465
  spanId: a,
1466
1466
  traceFlags: f,
1467
1467
  traceState: c
1468
1468
  };
1469
- if (d.decision === rt.NOT_RECORD) return T.debug("Recording is off, propagating context in a non-recording span"), D.wrapSpanContext(p);
1470
- let m = O(Object.assign(ee, d.attributes));
1471
- return new Xn({
1469
+ if (d.decision === nt.NOT_RECORD) return E.debug("Recording is off, propagating context in a non-recording span"), O.wrapSpanContext(p);
1470
+ let m = k(Object.assign(ee, d.attributes));
1471
+ return new Yn({
1472
1472
  resource: this._resource,
1473
1473
  scope: this.instrumentationScope,
1474
1474
  context: n,
@@ -1488,17 +1488,17 @@ var ur = "2.11.0", dr = class {
1488
1488
  let i, a, o;
1489
1489
  if (arguments.length < 2) return;
1490
1490
  arguments.length === 2 ? o = t : arguments.length === 3 ? (i = t, o = n) : (i = t, a = n, o = r);
1491
- let s = a ?? w.active(), c = this.startSpan(e, i, s), l = D.setSpan(s, c);
1492
- return w.with(l, o, void 0, c);
1491
+ let s = a ?? T.active(), c = this.startSpan(e, i, s), l = O.setSpan(s, c);
1492
+ return T.with(l, o, void 0, c);
1493
1493
  }
1494
- [qn](e, t, n) {
1495
- return Yn("Tracer", {
1494
+ [Kn](e, t, n) {
1495
+ return Jn("Tracer", {
1496
1496
  instrumentationScope: this.instrumentationScope,
1497
- resource: { attributes: Jn(this._resource) },
1497
+ resource: { attributes: qn(this._resource) },
1498
1498
  spanLimits: this._spanLimits
1499
1499
  }, e, t, n);
1500
1500
  }
1501
- }, fr = class {
1501
+ }, dr = class {
1502
1502
  _spanProcessors;
1503
1503
  constructor(e) {
1504
1504
  this._spanProcessors = e;
@@ -1510,7 +1510,7 @@ var ur = "2.11.0", dr = class {
1510
1510
  Promise.all(e).then(() => {
1511
1511
  t();
1512
1512
  }).catch((e) => {
1513
- k(e || /* @__PURE__ */ Error("MultiSpanProcessor: forceFlush failed")), t();
1513
+ A(e || /* @__PURE__ */ Error("MultiSpanProcessor: forceFlush failed")), t();
1514
1514
  });
1515
1515
  });
1516
1516
  }
@@ -1532,59 +1532,59 @@ var ur = "2.11.0", dr = class {
1532
1532
  }, n);
1533
1533
  });
1534
1534
  }
1535
- }, pr = class {
1535
+ }, fr = class {
1536
1536
  shouldSample() {
1537
- return { decision: z.NOT_RECORD };
1537
+ return { decision: B.NOT_RECORD };
1538
1538
  }
1539
1539
  toString() {
1540
1540
  return "AlwaysOffSampler";
1541
1541
  }
1542
- }, B = class {
1542
+ }, V = class {
1543
1543
  shouldSample() {
1544
- return { decision: z.RECORD_AND_SAMPLED };
1544
+ return { decision: B.RECORD_AND_SAMPLED };
1545
1545
  }
1546
1546
  toString() {
1547
1547
  return "AlwaysOnSampler";
1548
1548
  }
1549
- }, V = class {
1549
+ }, H = class {
1550
1550
  _root;
1551
1551
  _remoteParentSampled;
1552
1552
  _remoteParentNotSampled;
1553
1553
  _localParentSampled;
1554
1554
  _localParentNotSampled;
1555
1555
  constructor(e) {
1556
- this._root = e.root, this._root ||= (k(/* @__PURE__ */ Error("ParentBasedSampler must have a root sampler configured")), new B()), this._remoteParentSampled = e.remoteParentSampled ?? new B(), this._remoteParentNotSampled = e.remoteParentNotSampled ?? new pr(), this._localParentSampled = e.localParentSampled ?? new B(), this._localParentNotSampled = e.localParentNotSampled ?? new pr();
1556
+ this._root = e.root, this._root ||= (A(/* @__PURE__ */ Error("ParentBasedSampler must have a root sampler configured")), new V()), this._remoteParentSampled = e.remoteParentSampled ?? new V(), this._remoteParentNotSampled = e.remoteParentNotSampled ?? new fr(), this._localParentSampled = e.localParentSampled ?? new V(), this._localParentNotSampled = e.localParentNotSampled ?? new fr();
1557
1557
  }
1558
1558
  shouldSample(e, t, n, r, i, a) {
1559
- let o = D.getSpanContext(e);
1560
- return !o || !Je(o) ? this._root.shouldSample(e, t, n, r, i, a) : o.isRemote ? o.traceFlags & x.SAMPLED ? this._remoteParentSampled.shouldSample(e, t, n, r, i, a) : this._remoteParentNotSampled.shouldSample(e, t, n, r, i, a) : o.traceFlags & x.SAMPLED ? this._localParentSampled.shouldSample(e, t, n, r, i, a) : this._localParentNotSampled.shouldSample(e, t, n, r, i, a);
1559
+ let o = O.getSpanContext(e);
1560
+ return !o || !qe(o) ? this._root.shouldSample(e, t, n, r, i, a) : o.isRemote ? o.traceFlags & S.SAMPLED ? this._remoteParentSampled.shouldSample(e, t, n, r, i, a) : this._remoteParentNotSampled.shouldSample(e, t, n, r, i, a) : o.traceFlags & S.SAMPLED ? this._localParentSampled.shouldSample(e, t, n, r, i, a) : this._localParentNotSampled.shouldSample(e, t, n, r, i, a);
1561
1561
  }
1562
1562
  toString() {
1563
1563
  return `ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`;
1564
1564
  }
1565
- }, mr = /* @__PURE__ */ new Map(), hr = class {
1565
+ }, pr = /* @__PURE__ */ new Map(), mr = class {
1566
1566
  processedSpans;
1567
1567
  queueSize;
1568
1568
  queueSizeCallback;
1569
1569
  standardAttrs;
1570
1570
  droppedAttrs;
1571
1571
  constructor(t, n, r) {
1572
- let i = mr.get(t) ?? 0;
1573
- if (mr.set(t, i + 1), this.standardAttrs = {
1574
- [Qn]: t,
1575
- [Zn]: `${t}/${i}`
1572
+ let i = pr.get(t) ?? 0;
1573
+ if (pr.set(t, i + 1), this.standardAttrs = {
1574
+ [Zn]: t,
1575
+ [Xn]: `${t}/${i}`
1576
1576
  }, this.droppedAttrs = {
1577
1577
  ...this.standardAttrs,
1578
1578
  [e]: "queue_full"
1579
- }, this.processedSpans = n.createCounter(tr, {
1579
+ }, this.processedSpans = n.createCounter(er, {
1580
1580
  unit: "{span}",
1581
1581
  description: "The number of spans for which the processing has finished, either successful or failed."
1582
1582
  }), r) {
1583
1583
  let { capacity: e, getQueueSize: t } = r;
1584
- n.createUpDownCounter(nr, {
1584
+ n.createUpDownCounter(tr, {
1585
1585
  unit: "{span}",
1586
1586
  description: "The maximum number of spans the queue of a given instance of an SDK span processor can hold."
1587
- }).add(e, this.standardAttrs), this.queueSize = n.createObservableUpDownCounter(rr, {
1587
+ }).add(e, this.standardAttrs), this.queueSize = n.createObservableUpDownCounter(nr, {
1588
1588
  unit: "{span}",
1589
1589
  description: "The number of spans in the queue of a given instance of an SDK span processor."
1590
1590
  }), this.queueSizeCallback = (e) => e.observe(t(), this.standardAttrs), this.queueSize.addCallback(this.queueSizeCallback);
@@ -1607,7 +1607,7 @@ var ur = "2.11.0", dr = class {
1607
1607
  shutdown() {
1608
1608
  this.queueSize && this.queueSizeCallback && this.queueSize.removeCallback(this.queueSizeCallback);
1609
1609
  }
1610
- }, gr = class {
1610
+ }, hr = class {
1611
1611
  _maxExportBatchSize;
1612
1612
  _maxQueueSize;
1613
1613
  _scheduledDelayMillis;
@@ -1620,9 +1620,9 @@ var ur = "2.11.0", dr = class {
1620
1620
  _shutdownOnce;
1621
1621
  _droppedSpansCount = 0;
1622
1622
  constructor(e) {
1623
- 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 Ln(this._shutdown, this), this._maxExportBatchSize > this._maxQueueSize && (T.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"), this._maxExportBatchSize = this._maxQueueSize);
1623
+ 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 In(this._shutdown, this), this._maxExportBatchSize > this._maxQueueSize && (E.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"), this._maxExportBatchSize = this._maxQueueSize);
1624
1624
  let t = e.selfObsMeterProvider ? e.selfObsMeterProvider.getMeter("@opentelemetry/sdk-trace") : ke();
1625
- this._metrics = new hr(or, t, {
1625
+ this._metrics = new mr(ar, t, {
1626
1626
  capacity: this._maxQueueSize,
1627
1627
  getQueueSize: () => this._finishedSpans.length
1628
1628
  });
@@ -1632,7 +1632,7 @@ var ur = "2.11.0", dr = class {
1632
1632
  }
1633
1633
  onStart(e, t) {}
1634
1634
  onEnd(e) {
1635
- this._shutdownOnce.isCalled || (e.spanContext().traceFlags & x.SAMPLED) !== 0 && this._addToBuffer(e);
1635
+ this._shutdownOnce.isCalled || (e.spanContext().traceFlags & S.SAMPLED) !== 0 && this._addToBuffer(e);
1636
1636
  }
1637
1637
  shutdown() {
1638
1638
  return this._shutdownOnce.call();
@@ -1642,10 +1642,10 @@ var ur = "2.11.0", dr = class {
1642
1642
  }
1643
1643
  _addToBuffer(e) {
1644
1644
  if (this._finishedSpans.length >= this._maxQueueSize) {
1645
- this._droppedSpansCount === 0 && T.debug("maxQueueSize reached, dropping spans"), this._droppedSpansCount++, this._metrics.dropSpans(1);
1645
+ this._droppedSpansCount === 0 && E.debug("maxQueueSize reached, dropping spans"), this._droppedSpansCount++, this._metrics.dropSpans(1);
1646
1646
  return;
1647
1647
  }
1648
- this._droppedSpansCount > 0 && (T.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`), this._droppedSpansCount = 0), this._finishedSpans.push(e), this._maybeStartTimer();
1648
+ this._droppedSpansCount > 0 && (E.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`), this._droppedSpansCount = 0), this._finishedSpans.push(e), this._maybeStartTimer();
1649
1649
  }
1650
1650
  _flushAll() {
1651
1651
  return new Promise((e, t) => {
@@ -1661,18 +1661,18 @@ var ur = "2.11.0", dr = class {
1661
1661
  let n = setTimeout(() => {
1662
1662
  t(/* @__PURE__ */ Error("Timeout"));
1663
1663
  }, this._exportTimeoutMillis);
1664
- w.with(vt(w.active()), () => {
1664
+ T.with(_t(T.active()), () => {
1665
1665
  let r;
1666
1666
  this._finishedSpans.length <= this._maxExportBatchSize ? (r = this._finishedSpans, this._finishedSpans = []) : r = this._finishedSpans.splice(0, this._maxExportBatchSize);
1667
1667
  let i = () => this._exporter.export(r, (i) => {
1668
- clearTimeout(n), this._metrics.finishSpans(r.length, i.error), i.code === F.SUCCESS ? e() : t(i.error ?? /* @__PURE__ */ Error("BatchSpanProcessor: span export failed"));
1668
+ clearTimeout(n), this._metrics.finishSpans(r.length, i.error), i.code === I.SUCCESS ? e() : t(i.error ?? /* @__PURE__ */ Error("BatchSpanProcessor: span export failed"));
1669
1669
  }), a = null;
1670
1670
  for (let e = 0, t = r.length; e < t; e++) {
1671
1671
  let t = r[e];
1672
1672
  t.resource.asyncAttributesPending && t.resource.waitForAsyncAttributes && (a ??= [], a.push(t.resource.waitForAsyncAttributes()));
1673
1673
  }
1674
1674
  a === null ? i() : Promise.all(a).then(i, (e) => {
1675
- k(e), t(e);
1675
+ A(e), t(e);
1676
1676
  });
1677
1677
  });
1678
1678
  });
@@ -1683,7 +1683,7 @@ var ur = "2.11.0", dr = class {
1683
1683
  this._isExporting = !0, this._flushOneBatch().finally(() => {
1684
1684
  this._isExporting = !1, this._finishedSpans.length > 0 && (this._clearTimer(), this._maybeStartTimer());
1685
1685
  }).catch((e) => {
1686
- this._isExporting = !1, k(e);
1686
+ this._isExporting = !1, A(e);
1687
1687
  });
1688
1688
  };
1689
1689
  if (this._finishedSpans.length >= this._maxExportBatchSize) return e();
@@ -1692,7 +1692,7 @@ var ur = "2.11.0", dr = class {
1692
1692
  _clearTimer() {
1693
1693
  this._timer !== void 0 && (clearTimeout(this._timer), this._timer = void 0);
1694
1694
  }
1695
- }, _r = class extends gr {
1695
+ }, gr = class extends hr {
1696
1696
  _visibilityChangeListener;
1697
1697
  _pageHideListener;
1698
1698
  constructor(e) {
@@ -1701,51 +1701,51 @@ var ur = "2.11.0", dr = class {
1701
1701
  onInit(e) {
1702
1702
  e.disableAutoFlushOnDocumentHide !== !0 && typeof document < "u" && (this._visibilityChangeListener = () => {
1703
1703
  document.visibilityState === "hidden" && this.forceFlush().catch((e) => {
1704
- k(e);
1704
+ A(e);
1705
1705
  });
1706
1706
  }, this._pageHideListener = () => {
1707
1707
  this.forceFlush().catch((e) => {
1708
- k(e);
1708
+ A(e);
1709
1709
  });
1710
1710
  }, document.addEventListener("visibilitychange", this._visibilityChangeListener), document.addEventListener("pagehide", this._pageHideListener));
1711
1711
  }
1712
1712
  onShutdown() {
1713
1713
  typeof document < "u" && (this._visibilityChangeListener && document.removeEventListener("visibilitychange", this._visibilityChangeListener), this._pageHideListener && document.removeEventListener("pagehide", this._pageHideListener));
1714
1714
  }
1715
- }, vr = 16, yr = 8, br = new Uint8Array(vr), xr = new Uint8Array(yr), Sr = Array.from({ length: 256 }, (e, t) => t.toString(16).padStart(2, "0"));
1716
- function Cr(e) {
1715
+ }, _r = 16, vr = 8, yr = new Uint8Array(_r), br = new Uint8Array(vr), xr = Array.from({ length: 256 }, (e, t) => t.toString(16).padStart(2, "0"));
1716
+ function Sr(e) {
1717
1717
  for (let t = 0; t < e.length; t++) e[t] = Math.random() * 256 >>> 0;
1718
1718
  for (let t = 0; t < e.length; t++) if (e[t] > 0) return;
1719
1719
  e[e.length - 1] = 1;
1720
1720
  }
1721
- function wr(e) {
1721
+ function Cr(e) {
1722
1722
  let t = "";
1723
- for (let n = 0; n < e.length; n++) t += Sr[e[n]];
1723
+ for (let n = 0; n < e.length; n++) t += xr[e[n]];
1724
1724
  return t;
1725
1725
  }
1726
- var Tr = class {
1726
+ var wr = class {
1727
1727
  generateTraceId() {
1728
- return Cr(br), wr(br);
1728
+ return Sr(yr), Cr(yr);
1729
1729
  }
1730
1730
  generateSpanId() {
1731
- return Cr(xr), wr(xr);
1731
+ return Sr(br), Cr(br);
1732
1732
  }
1733
- }, H;
1733
+ }, U;
1734
1734
  (function(e) {
1735
1735
  e[e.resolved = 0] = "resolved", e[e.timeout = 1] = "timeout", e[e.error = 2] = "error", e[e.unresolved = 3] = "unresolved";
1736
- })(H ||= {});
1737
- var Er = class {
1736
+ })(U ||= {});
1737
+ var Tr = class {
1738
1738
  _resource;
1739
1739
  _activeSpanProcessor;
1740
1740
  _forceFlushTimeoutMillis;
1741
1741
  _tracerOptions;
1742
1742
  _tracers = /* @__PURE__ */ new Map();
1743
1743
  constructor(e = {}) {
1744
- this._forceFlushTimeoutMillis = e.forceFlushTimeoutMillis ?? 3e4, this._resource = e.resource ?? Hn();
1744
+ this._forceFlushTimeoutMillis = e.forceFlushTimeoutMillis ?? 3e4, this._resource = e.resource ?? Vn();
1745
1745
  let t = e.spanProcessors ?? [];
1746
- this._activeSpanProcessor = new fr(t), this._tracerOptions = {
1746
+ this._activeSpanProcessor = new dr(t), this._tracerOptions = {
1747
1747
  resource: this._resource,
1748
- sampler: e.sampler ?? new V({ root: new B() }),
1748
+ sampler: e.sampler ?? new H({ root: new V() }),
1749
1749
  spanLimits: {
1750
1750
  attributeCountLimit: e.spanLimits?.attributeCountLimit ?? 128,
1751
1751
  attributeValueLengthLimit: e.spanLimits?.attributeValueLengthLimit ?? Infinity,
@@ -1754,7 +1754,7 @@ var Er = class {
1754
1754
  attributePerEventCountLimit: e.spanLimits?.attributePerEventCountLimit ?? 128,
1755
1755
  attributePerLinkCountLimit: e.spanLimits?.attributePerLinkCountLimit ?? 128
1756
1756
  },
1757
- idGenerator: e.idGenerator || new Tr(),
1757
+ idGenerator: e.idGenerator || new wr(),
1758
1758
  spanProcessor: this._activeSpanProcessor,
1759
1759
  meterProvider: e.meterProvider ?? { getMeter() {
1760
1760
  return ke();
@@ -1763,7 +1763,7 @@ var Er = class {
1763
1763
  }
1764
1764
  getTracer(e, t, n) {
1765
1765
  let r = `${e}@${t || ""}:${n?.schemaUrl || ""}`;
1766
- return this._tracers.has(r) || this._tracers.set(r, new dr({
1766
+ return this._tracers.has(r) || this._tracers.set(r, new ur({
1767
1767
  name: e,
1768
1768
  version: t,
1769
1769
  schemaUrl: n?.schemaUrl
@@ -1772,17 +1772,17 @@ var Er = class {
1772
1772
  forceFlush(e) {
1773
1773
  let t = e?.timeoutMillis ?? this._forceFlushTimeoutMillis, n = this._activeSpanProcessor._spanProcessors.map((e) => new Promise((n) => {
1774
1774
  let r, i = setTimeout(() => {
1775
- n(/* @__PURE__ */ Error(`Span processor did not completed within timeout period of ${t} ms`)), r = H.timeout;
1775
+ n(/* @__PURE__ */ Error(`Span processor did not completed within timeout period of ${t} ms`)), r = U.timeout;
1776
1776
  }, t);
1777
1777
  e.forceFlush().then(() => {
1778
- clearTimeout(i), r !== H.timeout && (r = H.resolved, n(r));
1778
+ clearTimeout(i), r !== U.timeout && (r = U.resolved, n(r));
1779
1779
  }).catch((e) => {
1780
- clearTimeout(i), r = H.error, n(e);
1780
+ clearTimeout(i), r = U.error, n(e);
1781
1781
  });
1782
1782
  }));
1783
1783
  return new Promise((e, t) => {
1784
1784
  Promise.all(n).then((n) => {
1785
- let r = n.filter((e) => e !== H.resolved);
1785
+ let r = n.filter((e) => e !== U.resolved);
1786
1786
  r.length > 0 ? t(r) : e();
1787
1787
  }).catch((e) => t([e]));
1788
1788
  });
@@ -1790,22 +1790,22 @@ var Er = class {
1790
1790
  shutdown() {
1791
1791
  return this._activeSpanProcessor.shutdown();
1792
1792
  }
1793
- [qn](e, t, n) {
1793
+ [Kn](e, t, n) {
1794
1794
  let r = this._activeSpanProcessor._spanProcessors;
1795
- return Yn("TracerProvider", {
1796
- resource: { attributes: Jn(this._resource) },
1795
+ return Jn("TracerProvider", {
1796
+ resource: { attributes: qn(this._resource) },
1797
1797
  tracers: Array.from(this._tracers.keys()),
1798
1798
  spanProcessors: r.map((e) => e.constructor?.name ?? "SpanProcessor")
1799
1799
  }, e, t, n);
1800
1800
  }
1801
- }, Dr = class {
1801
+ }, Er = class {
1802
1802
  _ratio;
1803
1803
  _upperBound;
1804
1804
  constructor(e = 0) {
1805
1805
  this._ratio = this._normalize(e), this._upperBound = this._ratio === 1 ? 4294967296 : Math.floor(this._ratio * 4294967295);
1806
1806
  }
1807
1807
  shouldSample(e, t) {
1808
- return { decision: Ke(t) && this._accumulate(t) < this._upperBound ? z.RECORD_AND_SAMPLED : z.NOT_RECORD };
1808
+ return { decision: Ge(t) && this._accumulate(t) < this._upperBound ? B.RECORD_AND_SAMPLED : B.NOT_RECORD };
1809
1809
  }
1810
1810
  toString() {
1811
1811
  return `TraceIdRatioBased{${this._ratio}}`;
@@ -1825,14 +1825,14 @@ var Er = class {
1825
1825
  }
1826
1826
  return t;
1827
1827
  }
1828
- }, U;
1828
+ }, W;
1829
1829
  (function(e) {
1830
1830
  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";
1831
- })(U ||= {});
1832
- var Or = 1;
1833
- function kr() {
1831
+ })(W ||= {});
1832
+ var Dr = 1;
1833
+ function Or() {
1834
1834
  return {
1835
- sampler: Ar(),
1835
+ sampler: kr(),
1836
1836
  forceFlushTimeoutMillis: 3e4,
1837
1837
  generalLimits: {
1838
1838
  attributeValueLengthLimit: Infinity,
@@ -1848,33 +1848,33 @@ function kr() {
1848
1848
  }
1849
1849
  };
1850
1850
  }
1851
- function Ar() {
1852
- let e = U.ParentBasedAlwaysOn;
1851
+ function kr() {
1852
+ let e = W.ParentBasedAlwaysOn;
1853
1853
  switch (e) {
1854
- case U.AlwaysOn: return new B();
1855
- case U.AlwaysOff: return new pr();
1856
- case U.ParentBasedAlwaysOn: return new V({ root: new B() });
1857
- case U.ParentBasedAlwaysOff: return new V({ root: new pr() });
1858
- case U.TraceIdRatio: return new Dr(jr());
1859
- case U.ParentBasedTraceIdRatio: return new V({ root: new Dr(jr()) });
1860
- default: return T.error(`OTEL_TRACES_SAMPLER value "${e}" invalid, defaulting to "${U.ParentBasedAlwaysOn}".`), new V({ root: new B() });
1854
+ case W.AlwaysOn: return new V();
1855
+ case W.AlwaysOff: return new fr();
1856
+ case W.ParentBasedAlwaysOn: return new H({ root: new V() });
1857
+ case W.ParentBasedAlwaysOff: return new H({ root: new fr() });
1858
+ case W.TraceIdRatio: return new Er(Ar());
1859
+ case W.ParentBasedTraceIdRatio: return new H({ root: new Er(Ar()) });
1860
+ default: return E.error(`OTEL_TRACES_SAMPLER value "${e}" invalid, defaulting to "${W.ParentBasedAlwaysOn}".`), new H({ root: new V() });
1861
1861
  }
1862
1862
  }
1863
- function jr() {
1864
- return T.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${Or}.`), Or;
1863
+ function Ar() {
1864
+ return E.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${Dr}.`), Dr;
1865
1865
  }
1866
- function Mr(e) {
1866
+ function jr(e) {
1867
1867
  let t = Object.assign({}, e.spanLimits);
1868
1868
  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 ?? Infinity, Object.assign({}, e, { spanLimits: t });
1869
1869
  }
1870
1870
  //#endregion
1871
1871
  //#region ../../node_modules/.pnpm/@opentelemetry+sdk-trace-base@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/sdk-trace-base/build/esm/BasicTracerProvider-shim.js
1872
- var Nr = class extends Er {
1872
+ var Mr = class extends Tr {
1873
1873
  constructor(e = {}) {
1874
- let t = En({}, kr(), Mr(e));
1874
+ let t = Tn({}, Or(), jr(e));
1875
1875
  delete t.generalLimits, super(t);
1876
1876
  }
1877
- }, Pr = class extends _r {
1877
+ }, Nr = class extends gr {
1878
1878
  constructor(e, t) {
1879
1879
  t ||= {};
1880
1880
  for (let [e, n] of [
@@ -1888,7 +1888,7 @@ var Nr = class extends Er {
1888
1888
  ...t
1889
1889
  });
1890
1890
  }
1891
- }, Fr = class {
1891
+ }, Pr = class {
1892
1892
  _enabled = !1;
1893
1893
  _currentContext = b;
1894
1894
  _bindFunction(e = b, t) {
@@ -1926,108 +1926,108 @@ var Nr = class extends Er {
1926
1926
  };
1927
1927
  //#endregion
1928
1928
  //#region ../../node_modules/.pnpm/@opentelemetry+sdk-trace-web@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/sdk-trace-web/build/esm/WebTracerProvider.js
1929
- function Ir(e) {
1929
+ function Fr(e) {
1930
1930
  if (e !== null) {
1931
1931
  if (e === void 0) {
1932
- let e = new Fr();
1933
- e.enable(), w.setGlobalContextManager(e);
1932
+ let e = new Pr();
1933
+ e.enable(), T.setGlobalContextManager(e);
1934
1934
  return;
1935
1935
  }
1936
- e.enable(), w.setGlobalContextManager(e);
1936
+ e.enable(), T.setGlobalContextManager(e);
1937
1937
  }
1938
1938
  }
1939
- function Lr(e) {
1939
+ function Ir(e) {
1940
1940
  if (e !== null) {
1941
1941
  if (e === void 0) {
1942
- E.setGlobalPropagator(new Kt({ propagators: [new un(), new Et()] }));
1942
+ D.setGlobalPropagator(new Gt({ propagators: [new ln(), new Tt()] }));
1943
1943
  return;
1944
1944
  }
1945
- E.setGlobalPropagator(e);
1945
+ D.setGlobalPropagator(e);
1946
1946
  }
1947
1947
  }
1948
- var Rr = class extends Nr {
1948
+ var Lr = class extends Mr {
1949
1949
  constructor(e = {}) {
1950
1950
  super(e);
1951
1951
  }
1952
1952
  register(e = {}) {
1953
- D.setGlobalTracerProvider(this), Lr(e.propagator), Ir(e.contextManager);
1953
+ O.setGlobalTracerProvider(this), Ir(e.propagator), Fr(e.contextManager);
1954
1954
  }
1955
- }, W;
1955
+ }, G;
1956
1956
  (function(e) {
1957
1957
  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";
1958
- })(W ||= {});
1958
+ })(G ||= {});
1959
1959
  //#endregion
1960
1960
  //#region ../../node_modules/.pnpm/@opentelemetry+sdk-trace-web@2.11.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/sdk-trace-web/build/esm/semconv.js
1961
- var zr = "http.response_content_length", Br = "http.response_content_length_uncompressed", Vr;
1962
- function Hr() {
1963
- return Vr ||= document.createElement("a"), Vr;
1961
+ var Rr = "http.response_content_length", zr = "http.response_content_length_uncompressed", Br;
1962
+ function Vr() {
1963
+ return Br ||= document.createElement("a"), Br;
1964
1964
  }
1965
- function Ur(e, t) {
1965
+ function K(e, t) {
1966
1966
  return t in e;
1967
1967
  }
1968
- function G(e, t, n, r = !0) {
1969
- if (Ur(n, t) && typeof n[t] == "number" && !(r && n[t] === 0)) return e.addEvent(t, n[t]);
1968
+ function q(e, t, n, r = !0) {
1969
+ if (K(n, t) && typeof n[t] == "number" && !(r && n[t] === 0)) return e.addEvent(t, n[t]);
1970
1970
  }
1971
- function Wr(e, t, n = !1, r, i) {
1972
- if (r === void 0 && (r = t[W.START_TIME] !== 0), n || (G(e, W.FETCH_START, t, r), G(e, W.DOMAIN_LOOKUP_START, t, r), G(e, W.DOMAIN_LOOKUP_END, t, r), G(e, W.CONNECT_START, t, r), G(e, W.SECURE_CONNECTION_START, t, r), G(e, W.CONNECT_END, t, r), G(e, W.REQUEST_START, t, r), G(e, W.RESPONSE_START, t, r), G(e, W.RESPONSE_END, t, r)), !i) {
1973
- let n = t[W.ENCODED_BODY_SIZE];
1974
- n !== void 0 && e.setAttribute(zr, n);
1975
- let r = t[W.DECODED_BODY_SIZE];
1976
- r !== void 0 && n !== r && e.setAttribute(Br, r);
1971
+ function Hr(e, t, n = !1, r, i) {
1972
+ if (r === void 0 && (r = t[G.START_TIME] !== 0), n || (q(e, G.FETCH_START, t, r), q(e, G.DOMAIN_LOOKUP_START, t, r), q(e, G.DOMAIN_LOOKUP_END, t, r), q(e, G.CONNECT_START, t, r), q(e, G.SECURE_CONNECTION_START, t, r), q(e, G.CONNECT_END, t, r), q(e, G.REQUEST_START, t, r), q(e, G.RESPONSE_START, t, r), q(e, G.RESPONSE_END, t, r)), !i) {
1973
+ let n = t[G.ENCODED_BODY_SIZE];
1974
+ n !== void 0 && e.setAttribute(Rr, n);
1975
+ let r = t[G.DECODED_BODY_SIZE];
1976
+ r !== void 0 && n !== r && e.setAttribute(zr, r);
1977
1977
  }
1978
1978
  }
1979
- function Gr(e) {
1979
+ function Ur(e) {
1980
1980
  return e.slice().sort((e, t) => {
1981
- let n = e[W.FETCH_START], r = t[W.FETCH_START];
1981
+ let n = e[G.FETCH_START], r = t[G.FETCH_START];
1982
1982
  return n > r ? 1 : n < r ? -1 : 0;
1983
1983
  });
1984
1984
  }
1985
- function Kr() {
1985
+ function Wr() {
1986
1986
  return typeof location < "u" ? location.origin : void 0;
1987
1987
  }
1988
- function qr(e, t, n, r, i = /* @__PURE__ */ new WeakSet(), a) {
1989
- let o = Xr(e);
1988
+ function Gr(e, t, n, r, i = /* @__PURE__ */ new WeakSet(), a) {
1989
+ let o = Jr(e);
1990
1990
  e = o.toString();
1991
- let s = Yr(e, t, n, r, i, a);
1991
+ let s = qr(e, t, n, r, i, a);
1992
1992
  if (s.length === 0) return { mainRequest: void 0 };
1993
1993
  if (s.length === 1) return { mainRequest: s[0] };
1994
- let c = Gr(s);
1995
- if (o.origin !== Kr() && c.length > 1) {
1996
- let e = c[0], t = Jr(c, e[W.RESPONSE_END], n), r = e[W.RESPONSE_END];
1997
- return t[W.FETCH_START] < r && (t = e, e = void 0), {
1994
+ let c = Ur(s);
1995
+ if (o.origin !== Wr() && c.length > 1) {
1996
+ let e = c[0], t = Kr(c, e[G.RESPONSE_END], n), r = e[G.RESPONSE_END];
1997
+ return t[G.FETCH_START] < r && (t = e, e = void 0), {
1998
1998
  corsPreFlightRequest: e,
1999
1999
  mainRequest: t
2000
2000
  };
2001
2001
  }
2002
2002
  return { mainRequest: s[0] };
2003
2003
  }
2004
- function Jr(e, t, n) {
2005
- let r = P(n), i = P(N(t)), a = e[1], o, s = e.length;
2004
+ function Kr(e, t, n) {
2005
+ let r = F(n), i = F(P(t)), a = e[1], o, s = e.length;
2006
2006
  for (let t = 1; t < s; t++) {
2007
- let n = e[t], s = P(N(n[W.FETCH_START])), c = r - P(N(n[W.RESPONSE_END]));
2007
+ let n = e[t], s = F(P(n[G.FETCH_START])), c = r - F(P(n[G.RESPONSE_END]));
2008
2008
  s >= i && (!o || c < o) && (o = c, a = n);
2009
2009
  }
2010
2010
  return a;
2011
2011
  }
2012
- function Yr(e, t, n, r, i, a) {
2013
- let o = P(t), s = P(n), c = r.filter((t) => {
2014
- let n = P(N(t[W.FETCH_START])), r = P(N(t[W.RESPONSE_END]));
2012
+ function qr(e, t, n, r, i, a) {
2013
+ let o = F(t), s = F(n), c = r.filter((t) => {
2014
+ let n = F(P(t[G.FETCH_START])), r = F(P(t[G.RESPONSE_END]));
2015
2015
  return t.initiatorType.toLowerCase() === (a || "xmlhttprequest") && t.name === e && n >= o && r <= s;
2016
2016
  });
2017
2017
  return c.length > 0 && (c = c.filter((e) => !i.has(e))), c;
2018
2018
  }
2019
- function Xr(e) {
2019
+ function Jr(e) {
2020
2020
  if (typeof URL == "function") return new URL(e, typeof document < "u" ? document.baseURI : typeof location < "u" ? location.href : void 0);
2021
- let t = Hr();
2021
+ let t = Vr();
2022
2022
  return t.href = e, t;
2023
2023
  }
2024
- function Zr(e, t) {
2024
+ function Yr(e, t) {
2025
2025
  let n = t || [];
2026
- return (typeof n == "string" || n instanceof RegExp) && (n = [n]), Xr(e).origin === Kr() || n.some((t) => Pn(e, t));
2026
+ return (typeof n == "string" || n instanceof RegExp) && (n = [n]), Jr(e).origin === Wr() || n.some((t) => Nn(e, t));
2027
2027
  }
2028
2028
  //#endregion
2029
2029
  //#region ../../node_modules/.pnpm/@opentelemetry+otlp-exporter-base@0.222.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/otlp-exporter-base/build/esm/OTLPExporterBase.js
2030
- var Qr = class {
2030
+ var Xr = class {
2031
2031
  _delegate;
2032
2032
  constructor(e) {
2033
2033
  this._delegate = e;
@@ -2044,7 +2044,7 @@ var Qr = class {
2044
2044
  setMetrics(e) {
2045
2045
  this._delegate.setMetrics(e);
2046
2046
  }
2047
- }, $r = class extends Error {
2047
+ }, Zr = class extends Error {
2048
2048
  code;
2049
2049
  name = "OTLPExporterError";
2050
2050
  data;
@@ -2054,21 +2054,21 @@ var Qr = class {
2054
2054
  };
2055
2055
  //#endregion
2056
2056
  //#region ../../node_modules/.pnpm/@opentelemetry+otlp-exporter-base@0.222.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/shared-configuration.js
2057
- function ei(e) {
2057
+ function Qr(e) {
2058
2058
  if (Number.isFinite(e) && e > 0) return e;
2059
2059
  throw Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${e}')`);
2060
2060
  }
2061
- function ti(e) {
2061
+ function $r(e) {
2062
2062
  if (e != null) return async () => e;
2063
2063
  }
2064
- function ni(e, t, n) {
2064
+ function ei(e, t, n) {
2065
2065
  return {
2066
- timeoutMillis: ei(e.timeoutMillis ?? t.timeoutMillis ?? n.timeoutMillis),
2066
+ timeoutMillis: Qr(e.timeoutMillis ?? t.timeoutMillis ?? n.timeoutMillis),
2067
2067
  concurrencyLimit: e.concurrencyLimit ?? t.concurrencyLimit ?? n.concurrencyLimit,
2068
2068
  compression: e.compression ?? t.compression ?? n.compression
2069
2069
  };
2070
2070
  }
2071
- function ri() {
2071
+ function ti() {
2072
2072
  return {
2073
2073
  timeoutMillis: 1e4,
2074
2074
  concurrencyLimit: 30,
@@ -2077,7 +2077,7 @@ function ri() {
2077
2077
  }
2078
2078
  //#endregion
2079
2079
  //#region ../../node_modules/.pnpm/@opentelemetry+otlp-exporter-base@0.222.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/otlp-exporter-base/build/esm/bounded-queue-export-promise-handler.js
2080
- var ii = class {
2080
+ var ni = class {
2081
2081
  _concurrencyLimit;
2082
2082
  _sendingPromises = [];
2083
2083
  constructor(e) {
@@ -2099,22 +2099,22 @@ var ii = class {
2099
2099
  await Promise.all(this._sendingPromises);
2100
2100
  }
2101
2101
  };
2102
- function ai(e) {
2103
- return new ii(e.concurrencyLimit);
2102
+ function ri(e) {
2103
+ return new ni(e.concurrencyLimit);
2104
2104
  }
2105
2105
  //#endregion
2106
2106
  //#region ../../node_modules/.pnpm/@opentelemetry+otlp-exporter-base@0.222.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/otlp-exporter-base/build/esm/logging-response-handler.js
2107
- function oi(e) {
2107
+ function ii(e) {
2108
2108
  return Object.prototype.hasOwnProperty.call(e, "partialSuccess");
2109
2109
  }
2110
- function si() {
2110
+ function ai() {
2111
2111
  return { handleResponse(e) {
2112
- e != null && oi(e) && e.partialSuccess != null && Object.keys(e.partialSuccess).length !== 0 && T.warn("Received Partial Success response:", JSON.stringify(e.partialSuccess));
2112
+ e != null && ii(e) && e.partialSuccess != null && Object.keys(e.partialSuccess).length !== 0 && E.warn("Received Partial Success response:", JSON.stringify(e.partialSuccess));
2113
2113
  } };
2114
2114
  }
2115
2115
  //#endregion
2116
2116
  //#region ../../node_modules/.pnpm/@opentelemetry+otlp-exporter-base@0.222.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/otlp-exporter-base/build/esm/otlp-export-delegate.js
2117
- var ci = class {
2117
+ var oi = class {
2118
2118
  _metrics;
2119
2119
  _diagLogger;
2120
2120
  _transport;
@@ -2123,12 +2123,12 @@ var ci = class {
2123
2123
  _promiseQueue;
2124
2124
  _timeout;
2125
2125
  constructor(e, t, n, r, i, a) {
2126
- this._transport = e, this._serializer = t, this._responseHandler = n, this._promiseQueue = r, this._timeout = a, this._diagLogger = T.createComponentLogger({ namespace: "OTLPExportDelegate" }), this._metrics = i;
2126
+ this._transport = e, this._serializer = t, this._responseHandler = n, this._promiseQueue = r, this._timeout = a, this._diagLogger = E.createComponentLogger({ namespace: "OTLPExportDelegate" }), this._metrics = i;
2127
2127
  }
2128
2128
  export(e, t) {
2129
2129
  if (this._diagLogger.debug("items to be sent", e), this._promiseQueue.hasReachedLimit()) {
2130
2130
  t({
2131
- code: F.FAILED,
2131
+ code: I.FAILED,
2132
2132
  error: /* @__PURE__ */ Error("Concurrent export limit reached")
2133
2133
  });
2134
2134
  return;
@@ -2136,7 +2136,7 @@ var ci = class {
2136
2136
  let n = this._serializer.serializeRequest(e);
2137
2137
  if (n == null) {
2138
2138
  t({
2139
- code: F.FAILED,
2139
+ code: I.FAILED,
2140
2140
  error: /* @__PURE__ */ Error("Nothing to send")
2141
2141
  });
2142
2142
  return;
@@ -2149,26 +2149,26 @@ var ci = class {
2149
2149
  } catch (t) {
2150
2150
  this._diagLogger.warn("Export succeeded but could not deserialize response - is the response specification compliant?", t, e.data);
2151
2151
  }
2152
- t({ code: F.SUCCESS });
2152
+ t({ code: I.SUCCESS });
2153
2153
  return;
2154
2154
  }
2155
2155
  if (e.status === "failure" && e.error) {
2156
2156
  r(e.error), t({
2157
- code: F.FAILED,
2157
+ code: I.FAILED,
2158
2158
  error: e.error
2159
2159
  });
2160
2160
  return;
2161
2161
  }
2162
2162
  e.status === "retryable" ? (r("export_max_retries"), t({
2163
- code: F.FAILED,
2164
- error: e.error ?? new $r("Export failed with retryable status")
2163
+ code: I.FAILED,
2164
+ error: e.error ?? new Zr("Export failed with retryable status")
2165
2165
  })) : (r("export_failed"), t({
2166
- code: F.FAILED,
2167
- error: new $r("Export failed with unknown error")
2166
+ code: I.FAILED,
2167
+ error: new Zr("Export failed with unknown error")
2168
2168
  }));
2169
2169
  }, (e) => {
2170
2170
  r(e), t({
2171
- code: F.FAILED,
2171
+ code: I.FAILED,
2172
2172
  error: e
2173
2173
  });
2174
2174
  }));
@@ -2183,22 +2183,22 @@ var ci = class {
2183
2183
  this._diagLogger.debug("shutdown started"), await this.forceFlush(), this._transport.shutdown();
2184
2184
  }
2185
2185
  };
2186
- function li(e, t) {
2187
- return new ci(e.transport, e.serializer, si(), e.promiseHandler, e.metrics, t.timeout);
2186
+ function si(e, t) {
2187
+ return new oi(e.transport, e.serializer, ai(), e.promiseHandler, e.metrics, t.timeout);
2188
2188
  }
2189
2189
  //#endregion
2190
2190
  //#region ../../node_modules/.pnpm/@opentelemetry+otlp-exporter-base@0.222.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/otlp-exporter-base/build/esm/otlp-network-export-delegate.js
2191
- function ui(e, t, n, r) {
2192
- return li({
2191
+ function ci(e, t, n, r) {
2192
+ return si({
2193
2193
  transport: r,
2194
2194
  serializer: t,
2195
- promiseHandler: ai(e),
2195
+ promiseHandler: ri(e),
2196
2196
  metrics: n
2197
2197
  }, { timeout: e.timeoutMillis });
2198
2198
  }
2199
2199
  //#endregion
2200
2200
  //#region ../../node_modules/.pnpm/@opentelemetry+otlp-exporter-base@0.222.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/otlp-exporter-base/build/esm/semconv.js
2201
- var di = "http.response.status_code", fi = "otel.component.name", pi = "otel.component.type", mi = "server.address", hi = "server.port", gi = "error.type", _i = "0.222.0", vi = /* @__PURE__ */ new Map(), yi = class {
2201
+ var li = "http.response.status_code", ui = "otel.component.name", di = "otel.component.type", fi = "server.address", pi = "server.port", mi = "error.type", hi = "0.222.0", gi = /* @__PURE__ */ new Map(), _i = class {
2202
2202
  inflight;
2203
2203
  exported;
2204
2204
  duration;
@@ -2208,18 +2208,18 @@ var di = "http.response.status_code", fi = "otel.component.name", pi = "otel.com
2208
2208
  constructor(e) {
2209
2209
  let { componentType: t, metricsHelper: n, meterProvider: r, url: i, responseAttributesFromError: a } = e;
2210
2210
  this.responseAttributesFromError = a;
2211
- let o = r ? r.getMeter("@opentelemetry/otlp-exporter", _i) : ke(), s = vi.get(t) ?? 0;
2212
- if (vi.set(t, s + 1), this.standardAttrs = {
2213
- [pi]: t,
2214
- [fi]: `${t}/${s}`
2211
+ let o = r ? r.getMeter("@opentelemetry/otlp-exporter", hi) : ke(), s = gi.get(t) ?? 0;
2212
+ if (gi.set(t, s + 1), this.standardAttrs = {
2213
+ [di]: t,
2214
+ [ui]: `${t}/${s}`
2215
2215
  }, i) {
2216
2216
  let e = i;
2217
2217
  i.includes("://") || (e = `http://${i}`);
2218
2218
  try {
2219
2219
  let t = new URL(e);
2220
- this.standardAttrs[mi] = t.hostname;
2220
+ this.standardAttrs[fi] = t.hostname;
2221
2221
  let n;
2222
- t.port ? n = Number(t.port) : t.protocol === "http:" ? n = 80 : t.protocol === "https:" && (n = 443), typeof n == "number" && (this.standardAttrs[hi] = n);
2222
+ t.port ? n = Number(t.port) : t.protocol === "http:" ? n = 80 : t.protocol === "https:" && (n = 443), typeof n == "number" && (this.standardAttrs[pi] = n);
2223
2223
  } catch {}
2224
2224
  }
2225
2225
  this.helper = n, this.inflight = o.createUpDownCounter(`otel.sdk.exporter.${this.helper.name}.inflight`, {
@@ -2235,39 +2235,39 @@ var di = "http.response.status_code", fi = "otel.component.name", pi = "otel.com
2235
2235
  });
2236
2236
  }
2237
2237
  startExport(e) {
2238
- let t = this.helper.countItems(e), n = M();
2238
+ let t = this.helper.countItems(e), n = N();
2239
2239
  return this.inflight.add(t, this.standardAttrs), (e) => {
2240
- let r = M();
2240
+ let r = N();
2241
2241
  this.inflight.add(-t, this.standardAttrs);
2242
2242
  let i = e ? {
2243
2243
  ...this.standardAttrs,
2244
- [gi]: e instanceof Error ? e.name : "export_failed"
2244
+ [mi]: e instanceof Error ? e.name : "export_failed"
2245
2245
  } : this.standardAttrs;
2246
2246
  this.exported.add(t, i);
2247
2247
  let a = {
2248
2248
  ...i,
2249
2249
  ...this.responseAttributesFromError(e)
2250
- }, o = Ht(Vt(n, r)) / 1e3;
2250
+ }, o = Vt(Bt(n, r)) / 1e3;
2251
2251
  this.duration.record(o, a);
2252
2252
  };
2253
2253
  }
2254
- }, bi = {
2254
+ }, vi = {
2255
2255
  name: "span",
2256
2256
  countItems: (e) => e.length
2257
- }, xi = class {
2257
+ }, yi = class {
2258
2258
  emit(e) {}
2259
2259
  enabled() {
2260
2260
  return !1;
2261
2261
  }
2262
- }, Si = new xi(), Ci = Symbol.for("io.opentelemetry.js.api.logs"), K = globalThis;
2263
- function wi(e, t, n) {
2262
+ }, bi = new yi(), xi = Symbol.for("io.opentelemetry.js.api.logs"), J = globalThis;
2263
+ function Si(e, t, n) {
2264
2264
  return (r) => r === e ? t : n;
2265
2265
  }
2266
- var Ti = new class {
2266
+ var Ci = new class {
2267
2267
  getLogger(e, t, n) {
2268
- return new xi();
2268
+ return new yi();
2269
2269
  }
2270
- }(), Ei = class {
2270
+ }(), wi = class {
2271
2271
  constructor(e, t, n, r) {
2272
2272
  this._provider = e, this.name = t, this.version = n, this.options = r;
2273
2273
  }
@@ -2280,14 +2280,14 @@ var Ti = new class {
2280
2280
  _getLogger() {
2281
2281
  if (this._delegate) return this._delegate;
2282
2282
  let e = this._provider._getDelegateLogger(this.name, this.version, this.options);
2283
- return e ? (this._delegate = e, this._delegate) : Si;
2283
+ return e ? (this._delegate = e, this._delegate) : bi;
2284
2284
  }
2285
- }, Di = class {
2285
+ }, Ti = class {
2286
2286
  getLogger(e, t, n) {
2287
- return this._getDelegateLogger(e, t, n) ?? new Ei(this, e, t, n);
2287
+ return this._getDelegateLogger(e, t, n) ?? new wi(this, e, t, n);
2288
2288
  }
2289
2289
  _getDelegate() {
2290
- return this._delegate ?? Ti;
2290
+ return this._delegate ?? Ci;
2291
2291
  }
2292
2292
  _setDelegate(e) {
2293
2293
  this._delegate = e;
@@ -2295,52 +2295,52 @@ var Ti = new class {
2295
2295
  _getDelegateLogger(e, t, n) {
2296
2296
  return this._delegate?.getLogger(e, t, n);
2297
2297
  }
2298
- }, Oi = class e {
2298
+ }, Ei = class e {
2299
2299
  constructor() {
2300
- this._proxyLoggerProvider = new Di();
2300
+ this._proxyLoggerProvider = new Ti();
2301
2301
  }
2302
2302
  static getInstance() {
2303
2303
  return this._instance ||= new e(), this._instance;
2304
2304
  }
2305
2305
  setGlobalLoggerProvider(e) {
2306
- return K[Ci] ? this.getLoggerProvider() : (K[Ci] = wi(1, e, Ti), this._proxyLoggerProvider._setDelegate(e), e);
2306
+ return J[xi] ? this.getLoggerProvider() : (J[xi] = Si(1, e, Ci), this._proxyLoggerProvider._setDelegate(e), e);
2307
2307
  }
2308
2308
  getLoggerProvider() {
2309
- return K[Ci]?.call(K, 1) ?? this._proxyLoggerProvider;
2309
+ return J[xi]?.call(J, 1) ?? this._proxyLoggerProvider;
2310
2310
  }
2311
2311
  getLogger(e, t, n) {
2312
2312
  return this.getLoggerProvider().getLogger(e, t, n);
2313
2313
  }
2314
2314
  disable() {
2315
- delete K[Ci], this._proxyLoggerProvider = new Di();
2315
+ delete J[xi], this._proxyLoggerProvider = new Ti();
2316
2316
  }
2317
2317
  }.getInstance();
2318
2318
  //#endregion
2319
2319
  //#region ../../node_modules/.pnpm/@opentelemetry+otlp-transformer@0.222.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/otlp-transformer/build/esm/common/internal.js
2320
- function ki(e, t) {
2320
+ function Di(e, t) {
2321
2321
  let n = {
2322
- attributes: q(e.attributes, t),
2322
+ attributes: Y(e.attributes, t),
2323
2323
  droppedAttributesCount: 0
2324
2324
  }, r = e.schemaUrl;
2325
2325
  return r && r !== "" && (n.schemaUrl = r), n;
2326
2326
  }
2327
- function Ai(e, t) {
2327
+ function Oi(e, t) {
2328
2328
  let n = {
2329
2329
  name: e.name,
2330
2330
  version: e.version
2331
2331
  };
2332
- return e.attributes && Object.keys(e.attributes).length > 0 && (n.attributes = q(e.attributes, t), n.droppedAttributesCount = e.droppedAttributesCount ?? 0), n;
2332
+ return e.attributes && Object.keys(e.attributes).length > 0 && (n.attributes = Y(e.attributes, t), n.droppedAttributesCount = e.droppedAttributesCount ?? 0), n;
2333
2333
  }
2334
- function q(e, t) {
2335
- return Object.keys(e).map((n) => ji(n, e[n], t));
2334
+ function Y(e, t) {
2335
+ return Object.keys(e).map((n) => ki(n, e[n], t));
2336
2336
  }
2337
- function ji(e, t, n) {
2337
+ function ki(e, t, n) {
2338
2338
  return {
2339
2339
  key: e,
2340
- value: Mi(t, n)
2340
+ value: Ai(t, n)
2341
2341
  };
2342
2342
  }
2343
- function Mi(e, t) {
2343
+ function Ai(e, t) {
2344
2344
  let n = typeof e;
2345
2345
  if (n === "string") return { stringValue: e };
2346
2346
  if (n === "number") return Number.isInteger(e) ? { intValue: e } : { doubleValue: e };
@@ -2348,14 +2348,14 @@ function Mi(e, t) {
2348
2348
  if (e instanceof Uint8Array) return { bytesValue: t.encodeUint8Array(e) };
2349
2349
  if (Array.isArray(e)) {
2350
2350
  let n = Array(e.length);
2351
- for (let r = 0; r < e.length; r++) n[r] = Mi(e[r], t);
2351
+ for (let r = 0; r < e.length; r++) n[r] = Ai(e[r], t);
2352
2352
  return { arrayValue: { values: n } };
2353
2353
  }
2354
2354
  if (n === "object" && e != null) {
2355
2355
  let n = Object.keys(e), r = Array(n.length);
2356
2356
  for (let i = 0; i < n.length; i++) r[i] = {
2357
2357
  key: n[i],
2358
- value: Mi(e[n[i]], t)
2358
+ value: Ai(e[n[i]], t)
2359
2359
  };
2360
2360
  return { kvlistValue: { values: r } };
2361
2361
  }
@@ -2363,33 +2363,33 @@ function Mi(e, t) {
2363
2363
  }
2364
2364
  //#endregion
2365
2365
  //#region ../../node_modules/.pnpm/@opentelemetry+otlp-transformer@0.222.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/otlp-transformer/build/esm/common/utils.js
2366
- function Ni(e) {
2366
+ function ji(e) {
2367
2367
  let t = BigInt(1e9);
2368
2368
  return BigInt(Math.trunc(e[0])) * t + BigInt(Math.trunc(e[1]));
2369
2369
  }
2370
- function Pi(e) {
2371
- return Ni(e).toString();
2370
+ function Mi(e) {
2371
+ return ji(e).toString();
2372
2372
  }
2373
- var Fi = typeof BigInt < "u" ? Pi : P;
2374
- function Ii(e) {
2373
+ var Ni = typeof BigInt < "u" ? Mi : F;
2374
+ function Pi(e) {
2375
2375
  return e;
2376
2376
  }
2377
- var Li = {
2378
- encodeHrTime: Fi,
2379
- encodeSpanContext: Ii,
2380
- encodeOptionalSpanContext: Ii,
2377
+ var Fi = {
2378
+ encodeHrTime: Ni,
2379
+ encodeSpanContext: Pi,
2380
+ encodeOptionalSpanContext: Pi,
2381
2381
  encodeUint8Array: (e) => {
2382
2382
  if (typeof Buffer < "u") return Buffer.from(e).toString("base64");
2383
2383
  let t = Array(e.length);
2384
2384
  for (let n = 0; n < e.length; n++) t[n] = String.fromCharCode(e[n]);
2385
2385
  return btoa(t.join(""));
2386
2386
  }
2387
- }, Ri = 256, zi = 512;
2388
- function Bi(e, t) {
2389
- let n = e & 255 | Ri;
2390
- return t && (n |= zi), n;
2387
+ }, Ii = 256, Li = 512;
2388
+ function Ri(e, t) {
2389
+ let n = e & 255 | Ii;
2390
+ return t && (n |= Li), n;
2391
2391
  }
2392
- function Vi(e, t) {
2392
+ function zi(e, t) {
2393
2393
  let n = e.spanContext(), r = e.status, i = e.parentSpanContext?.spanId ? t.encodeSpanContext(e.parentSpanContext?.spanId) : void 0;
2394
2394
  return {
2395
2395
  traceId: t.encodeSpanContext(n.traceId),
@@ -2400,41 +2400,41 @@ function Vi(e, t) {
2400
2400
  kind: e.kind == null ? 0 : e.kind + 1,
2401
2401
  startTimeUnixNano: t.encodeHrTime(e.startTime),
2402
2402
  endTimeUnixNano: t.encodeHrTime(e.endTime),
2403
- attributes: q(e.attributes, t),
2403
+ attributes: Y(e.attributes, t),
2404
2404
  droppedAttributesCount: e.droppedAttributesCount,
2405
- events: e.events.map((e) => Ui(e, t)),
2405
+ events: e.events.map((e) => Vi(e, t)),
2406
2406
  droppedEventsCount: e.droppedEventsCount,
2407
2407
  status: {
2408
2408
  code: r.code,
2409
2409
  message: r.message
2410
2410
  },
2411
- links: e.links.map((e) => Hi(e, t)),
2411
+ links: e.links.map((e) => Bi(e, t)),
2412
2412
  droppedLinksCount: e.droppedLinksCount,
2413
- flags: Bi(n.traceFlags, e.parentSpanContext?.isRemote)
2413
+ flags: Ri(n.traceFlags, e.parentSpanContext?.isRemote)
2414
2414
  };
2415
2415
  }
2416
- function Hi(e, t) {
2416
+ function Bi(e, t) {
2417
2417
  return {
2418
- attributes: e.attributes ? q(e.attributes, t) : [],
2418
+ attributes: e.attributes ? Y(e.attributes, t) : [],
2419
2419
  spanId: t.encodeSpanContext(e.context.spanId),
2420
2420
  traceId: t.encodeSpanContext(e.context.traceId),
2421
2421
  traceState: e.context.traceState?.serialize(),
2422
2422
  droppedAttributesCount: e.droppedAttributesCount || 0,
2423
- flags: Bi(e.context.traceFlags, e.context.isRemote)
2423
+ flags: Ri(e.context.traceFlags, e.context.isRemote)
2424
2424
  };
2425
2425
  }
2426
- function Ui(e, t) {
2426
+ function Vi(e, t) {
2427
2427
  return {
2428
- attributes: e.attributes ? q(e.attributes, t) : [],
2428
+ attributes: e.attributes ? Y(e.attributes, t) : [],
2429
2429
  name: e.name,
2430
2430
  timeUnixNano: t.encodeHrTime(e.time),
2431
2431
  droppedAttributesCount: e.droppedAttributesCount || 0
2432
2432
  };
2433
2433
  }
2434
- function Wi(e, t) {
2435
- return { resourceSpans: Ki(e, t) };
2434
+ function Hi(e, t) {
2435
+ return { resourceSpans: Wi(e, t) };
2436
2436
  }
2437
- function Gi(e) {
2437
+ function Ui(e) {
2438
2438
  let t = /* @__PURE__ */ new Map();
2439
2439
  for (let n of e) {
2440
2440
  let e = t.get(n.resource);
@@ -2444,23 +2444,23 @@ function Gi(e) {
2444
2444
  }
2445
2445
  return t;
2446
2446
  }
2447
- function Ki(e, t) {
2448
- let n = Gi(e), r = [], i = n.entries(), a = i.next();
2447
+ function Wi(e, t) {
2448
+ let n = Ui(e), r = [], i = n.entries(), a = i.next();
2449
2449
  for (; !a.done;) {
2450
2450
  let [e, n] = a.value, o = [], s = n.values(), c = s.next();
2451
2451
  for (; !c.done;) {
2452
2452
  let e = c.value;
2453
2453
  if (e.length > 0) {
2454
- let n = e.map((e) => Vi(e, t));
2454
+ let n = e.map((e) => zi(e, t));
2455
2455
  o.push({
2456
- scope: Ai(e[0].instrumentationScope, t),
2456
+ scope: Oi(e[0].instrumentationScope, t),
2457
2457
  spans: n,
2458
2458
  schemaUrl: e[0].instrumentationScope.schemaUrl
2459
2459
  });
2460
2460
  }
2461
2461
  c = s.next();
2462
2462
  }
2463
- let l = ki(e, t), u = {
2463
+ let l = Di(e, t), u = {
2464
2464
  resource: l,
2465
2465
  scopeSpans: o,
2466
2466
  schemaUrl: l.schemaUrl
@@ -2471,9 +2471,9 @@ function Ki(e, t) {
2471
2471
  }
2472
2472
  //#endregion
2473
2473
  //#region ../../node_modules/.pnpm/@opentelemetry+otlp-transformer@0.222.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/otlp-transformer/build/esm/trace/json/trace.js
2474
- var qi = {
2474
+ var Gi = {
2475
2475
  serializeRequest: (e) => {
2476
- let t = Wi(e, Li);
2476
+ let t = Hi(e, Fi);
2477
2477
  return new TextEncoder().encode(JSON.stringify(t));
2478
2478
  },
2479
2479
  deserializeResponse: (e) => {
@@ -2482,14 +2482,14 @@ var qi = {
2482
2482
  try {
2483
2483
  return JSON.parse(t.decode(e));
2484
2484
  } catch (e) {
2485
- return T.warn(`Failed to parse trace export response: ${e.message}. Returning empty response`), {};
2485
+ return E.warn(`Failed to parse trace export response: ${e.message}. Returning empty response`), {};
2486
2486
  }
2487
2487
  }
2488
- }, Ji = 5, Yi = 1e3, Xi = 5e3, Zi = 1.5, Qi = .2;
2489
- function $i() {
2490
- return 2 * Qi * Math.random() - Qi;
2488
+ }, Ki = 5, qi = 1e3, Ji = 5e3, Yi = 1.5, Xi = .2;
2489
+ function Zi() {
2490
+ return 2 * Xi * Math.random() - Xi;
2491
2491
  }
2492
- var ea = class {
2492
+ var Qi = class {
2493
2493
  _transport;
2494
2494
  constructor(e) {
2495
2495
  this._transport = e;
@@ -2502,30 +2502,30 @@ var ea = class {
2502
2502
  });
2503
2503
  }
2504
2504
  async send(e, t) {
2505
- let n = Ji, r = Yi, i = Date.now() + t, a = await this._transport.send(e, t);
2505
+ let n = Ki, r = qi, i = Date.now() + t, a = await this._transport.send(e, t);
2506
2506
  for (; a.status === "retryable" && n > 0;) {
2507
2507
  n--;
2508
- let t = Math.max(Math.min(r * (1 + $i()), Xi), 0);
2509
- r *= Zi;
2508
+ let t = Math.max(Math.min(r * (1 + Zi()), Ji), 0);
2509
+ r *= Yi;
2510
2510
  let o = a.retryInMillis ?? t, s = i - Date.now();
2511
- if (o > s) return T.info(`Export retry time ${Math.round(o)}ms exceeds remaining timeout ${Math.round(s)}ms, not retrying further.`), a;
2512
- T.verbose(`Scheduling export retry in ${Math.round(o)}ms`), a = await this.retry(e, s, o);
2511
+ if (o > s) return E.info(`Export retry time ${Math.round(o)}ms exceeds remaining timeout ${Math.round(s)}ms, not retrying further.`), a;
2512
+ E.verbose(`Scheduling export retry in ${Math.round(o)}ms`), a = await this.retry(e, s, o);
2513
2513
  }
2514
- return a.status === "success" ? T.verbose(`Export succeeded after ${Ji - n} retry attempts.`) : a.status === "retryable" ? T.info(`Export failed after maximum retry attempts (${Ji}).`) : T.info(`Export failed with non-retryable error: ${a.error}`), a;
2514
+ return a.status === "success" ? E.verbose(`Export succeeded after ${Ki - n} retry attempts.`) : a.status === "retryable" ? E.info(`Export failed after maximum retry attempts (${Ki}).`) : E.info(`Export failed with non-retryable error: ${a.error}`), a;
2515
2515
  }
2516
2516
  shutdown() {
2517
2517
  return this._transport.shutdown();
2518
2518
  }
2519
2519
  };
2520
- function ta(e) {
2521
- return new ea(e.transport);
2520
+ function $i(e) {
2521
+ return new Qi(e.transport);
2522
2522
  }
2523
2523
  //#endregion
2524
2524
  //#region ../../node_modules/.pnpm/@opentelemetry+otlp-exporter-base@0.222.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/otlp-exporter-base/build/esm/is-export-retryable.js
2525
- function na(e) {
2525
+ function ea(e) {
2526
2526
  return e === 429 || e === 502 || e === 503 || e === 504;
2527
2527
  }
2528
- function ra(e) {
2528
+ function ta(e) {
2529
2529
  if (e == null) return;
2530
2530
  let t = Number.parseInt(e, 10);
2531
2531
  if (Number.isInteger(t)) return t > 0 ? t * 1e3 : -1;
@@ -2534,7 +2534,7 @@ function ra(e) {
2534
2534
  }
2535
2535
  //#endregion
2536
2536
  //#region ../../node_modules/.pnpm/@opentelemetry+otlp-exporter-base@0.222.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/otlp-exporter-base/build/esm/transport/fetch-transport.js
2537
- var ia = 61440, aa = 9, oa = 0, sa = 0, ca = class {
2537
+ var na = 61440, ra = 9, ia = 0, aa = 0, oa = class {
2538
2538
  _parameters;
2539
2539
  constructor(e) {
2540
2540
  this._parameters = e;
@@ -2542,11 +2542,11 @@ var ia = 61440, aa = 9, oa = 0, sa = 0, ca = class {
2542
2542
  async send(e, t) {
2543
2543
  let n = new AbortController(), r = setTimeout(() => n.abort(), t), i = globalThis.fetch;
2544
2544
  typeof i.__original == "function" && (i = i.__original);
2545
- let a = e.byteLength, o = oa + a > ia, s = !o && !(sa >= aa);
2546
- if (s) oa += a, sa++;
2545
+ let a = e.byteLength, o = ia + a > na, s = !o && !(aa >= ra);
2546
+ if (s) ia += a, aa++;
2547
2547
  else {
2548
2548
  let e = o ? "size limit" : "count limit";
2549
- T.debug(`keepalive disabled: ${(a / 1024).toFixed(1)}KB payload, ${sa} pending (${e})`);
2549
+ E.debug(`keepalive disabled: ${(a / 1024).toFixed(1)}KB payload, ${aa} pending (${e})`);
2550
2550
  }
2551
2551
  try {
2552
2552
  let t = new URL(this._parameters.url), r = await i(t.href, {
@@ -2557,55 +2557,55 @@ var ia = 61440, aa = 9, oa = 0, sa = 0, ca = class {
2557
2557
  keepalive: s,
2558
2558
  mode: globalThis.location ? globalThis.location.origin === t.origin ? "same-origin" : "cors" : "no-cors"
2559
2559
  });
2560
- return r.status >= 200 && r.status <= 299 ? (T.debug(`export response success (status: ${r.status})`), { status: "success" }) : na(r.status) ? (T.warn(`export response retryable (status: ${r.status})`), {
2560
+ return r.status >= 200 && r.status <= 299 ? (E.debug(`export response success (status: ${r.status})`), { status: "success" }) : ea(r.status) ? (E.warn(`export response retryable (status: ${r.status})`), {
2561
2561
  status: "retryable",
2562
- retryInMillis: ra(r.headers.get("Retry-After"))
2563
- }) : (T.error(`export response failure (status: ${r.status})`), {
2562
+ retryInMillis: ta(r.headers.get("Retry-After"))
2563
+ }) : (E.error(`export response failure (status: ${r.status})`), {
2564
2564
  status: "failure",
2565
2565
  error: /* @__PURE__ */ Error(`Fetch request failed with non-retryable status ${r.status}`)
2566
2566
  });
2567
2567
  } catch (e) {
2568
- return ua(e) ? (T.warn(`export request retryable (network error: ${e})`), {
2568
+ return ca(e) ? (E.warn(`export request retryable (network error: ${e})`), {
2569
2569
  status: "retryable",
2570
2570
  error: Error("Fetch request encountered a network error", { cause: e })
2571
- }) : (T.error(`export request failure (error: ${e})`), {
2571
+ }) : (E.error(`export request failure (error: ${e})`), {
2572
2572
  status: "failure",
2573
2573
  error: Error("Fetch request errored", { cause: e })
2574
2574
  });
2575
2575
  } finally {
2576
- clearTimeout(r), s && (oa -= a, sa--);
2576
+ clearTimeout(r), s && (ia -= a, aa--);
2577
2577
  }
2578
2578
  }
2579
2579
  shutdown() {}
2580
2580
  };
2581
- function la(e) {
2582
- return new ca(e);
2581
+ function sa(e) {
2582
+ return new oa(e);
2583
2583
  }
2584
- function ua(e) {
2584
+ function ca(e) {
2585
2585
  return e instanceof TypeError && !e.cause;
2586
2586
  }
2587
2587
  //#endregion
2588
2588
  //#region ../../node_modules/.pnpm/@opentelemetry+otlp-exporter-base@0.222.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/otlp-exporter-base/build/esm/otlp-browser-http-export-delegate.js
2589
- function da(e, t, n) {
2590
- return ui(e, t, n, ta({ transport: la(e) }));
2589
+ function la(e, t, n) {
2590
+ return ci(e, t, n, $i({ transport: sa(e) }));
2591
2591
  }
2592
2592
  //#endregion
2593
2593
  //#region ../../node_modules/.pnpm/@opentelemetry+otlp-exporter-base@0.222.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/otlp-exporter-base/build/esm/util.js
2594
- function fa(e) {
2594
+ function ua(e) {
2595
2595
  let t = {};
2596
2596
  return Object.entries(e ?? {}).forEach(([e, n]) => {
2597
- n === void 0 ? T.warn(`Header "${e}" has invalid value (${n}) and will be ignored`) : t[e] = String(n);
2597
+ n === void 0 ? E.warn(`Header "${e}" has invalid value (${n}) and will be ignored`) : t[e] = String(n);
2598
2598
  }), t;
2599
2599
  }
2600
2600
  //#endregion
2601
2601
  //#region ../../node_modules/.pnpm/@opentelemetry+otlp-exporter-base@0.222.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/otlp-http-configuration.js
2602
- function pa(e, t, n) {
2602
+ function da(e, t, n) {
2603
2603
  return async () => {
2604
2604
  let r = { ...await n() }, i = {};
2605
- return t != null && Object.assign(i, await t()), e != null && Object.assign(i, fa(await e())), Object.assign(i, r);
2605
+ return t != null && Object.assign(i, await t()), e != null && Object.assign(i, ua(await e())), Object.assign(i, r);
2606
2606
  };
2607
2607
  }
2608
- function ma(e) {
2608
+ function fa(e) {
2609
2609
  if (e != null) try {
2610
2610
  let t = globalThis.location?.href;
2611
2611
  return new URL(e, t).href;
@@ -2613,66 +2613,66 @@ function ma(e) {
2613
2613
  throw Error(`Configuration: Could not parse user-provided export URL: '${e}'`);
2614
2614
  }
2615
2615
  }
2616
- function ha(e, t, n) {
2616
+ function pa(e, t, n) {
2617
2617
  return {
2618
- ...ni(e, t, n),
2619
- headers: pa(e.headers, t.headers, n.headers),
2620
- url: ma(e.url) ?? t.url ?? n.url
2618
+ ...ei(e, t, n),
2619
+ headers: da(e.headers, t.headers, n.headers),
2620
+ url: fa(e.url) ?? t.url ?? n.url
2621
2621
  };
2622
2622
  }
2623
- function ga(e, t) {
2623
+ function ma(e, t) {
2624
2624
  return {
2625
- ...ri(),
2625
+ ...ti(),
2626
2626
  headers: async () => e,
2627
2627
  url: "http://localhost:4318/" + t
2628
2628
  };
2629
2629
  }
2630
2630
  //#endregion
2631
2631
  //#region ../../node_modules/.pnpm/@opentelemetry+otlp-exporter-base@0.222.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/convert-legacy-http-options.js
2632
- function _a(e) {
2633
- return typeof e.headers == "function" ? e.headers : ti(e.headers);
2632
+ function ha(e) {
2633
+ return typeof e.headers == "function" ? e.headers : $r(e.headers);
2634
2634
  }
2635
2635
  //#endregion
2636
2636
  //#region ../../node_modules/.pnpm/@opentelemetry+otlp-exporter-base@0.222.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/convert-legacy-browser-http-options.js
2637
- function va(e, t, n) {
2638
- return ha({
2637
+ function ga(e, t, n) {
2638
+ return pa({
2639
2639
  url: e.url,
2640
2640
  timeoutMillis: e.timeoutMillis,
2641
- headers: _a(e),
2641
+ headers: ha(e),
2642
2642
  concurrencyLimit: e.concurrencyLimit
2643
- }, {}, ga(n, t));
2643
+ }, {}, ma(n, t));
2644
2644
  }
2645
2645
  //#endregion
2646
2646
  //#region ../../node_modules/.pnpm/@opentelemetry+otlp-exporter-base@0.222.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/create-legacy-browser-delegate.js
2647
- function ya(e, t, n, r) {
2648
- return new yi({
2647
+ function _a(e, t, n, r) {
2648
+ return new _i({
2649
2649
  componentType: e,
2650
2650
  metricsHelper: t,
2651
2651
  url: n,
2652
2652
  meterProvider: r,
2653
2653
  responseAttributesFromError: (e) => {
2654
- if (!e) return { [di]: 200 };
2654
+ if (!e) return { [li]: 200 };
2655
2655
  if (!(e instanceof Error)) return {};
2656
2656
  if (e.message.startsWith("Fetch request failed with non-retryable status ")) {
2657
2657
  let t = e.message.substring(47);
2658
- return { [di]: Number(t) };
2658
+ return { [li]: Number(t) };
2659
2659
  }
2660
2660
  return {};
2661
2661
  }
2662
2662
  });
2663
2663
  }
2664
- function ba(e, t, n, r, i, a, o) {
2665
- let s = va(e, a, o);
2666
- return da(s, t, ya(n, r, s.url, e.selfObsMeterProvider));
2664
+ function va(e, t, n, r, i, a, o) {
2665
+ let s = ga(e, a, o);
2666
+ return la(s, t, _a(n, r, s.url, e.selfObsMeterProvider));
2667
2667
  }
2668
2668
  //#endregion
2669
2669
  //#region ../../node_modules/.pnpm/@opentelemetry+exporter-trace-otlp-http@0.222.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/exporter-trace-otlp-http/build/esm/semconv.js
2670
- var xa = "otlp_http_span_exporter", Sa = class extends Qr {
2670
+ var ya = "otlp_http_span_exporter", ba = class extends Xr {
2671
2671
  constructor(e = {}) {
2672
- super(ba(e, qi, xa, bi, e.selfObsMeterProvider, "v1/traces", { "Content-Type": "application/json" }));
2672
+ super(va(e, Gi, ya, vi, e.selfObsMeterProvider, "v1/traces", { "Content-Type": "application/json" }));
2673
2673
  }
2674
- }, J = console.error.bind(console);
2675
- function Y(e, t, n) {
2674
+ }, X = console.error.bind(console);
2675
+ function Z(e, t, n) {
2676
2676
  let r = !!e[t] && Object.prototype.propertyIsEnumerable.call(e, t);
2677
2677
  Object.defineProperty(e, t, {
2678
2678
  configurable: !0,
@@ -2681,66 +2681,66 @@ function Y(e, t, n) {
2681
2681
  value: n
2682
2682
  });
2683
2683
  }
2684
- var Ca = (e, t, n) => {
2684
+ var xa = (e, t, n) => {
2685
2685
  if (!e || !e[t]) {
2686
- J("no original function " + String(t) + " to wrap");
2686
+ X("no original function " + String(t) + " to wrap");
2687
2687
  return;
2688
2688
  }
2689
2689
  if (!n) {
2690
- J("no wrapper function"), J((/* @__PURE__ */ Error()).stack);
2690
+ X("no wrapper function"), X((/* @__PURE__ */ Error()).stack);
2691
2691
  return;
2692
2692
  }
2693
2693
  let r = e[t];
2694
2694
  if (typeof r != "function" || typeof n != "function") {
2695
- J("original object and wrapper must be functions");
2695
+ X("original object and wrapper must be functions");
2696
2696
  return;
2697
2697
  }
2698
2698
  let i = n(r, t);
2699
- return Y(i, "__original", r), Y(i, "__unwrap", () => {
2700
- e[t] === i && Y(e, t, r);
2701
- }), Y(i, "__wrapped", !0), Y(e, t, i), i;
2702
- }, wa = (e, t, n) => {
2699
+ return Z(i, "__original", r), Z(i, "__unwrap", () => {
2700
+ e[t] === i && Z(e, t, r);
2701
+ }), Z(i, "__wrapped", !0), Z(e, t, i), i;
2702
+ }, Sa = (e, t, n) => {
2703
2703
  if (e) Array.isArray(e) || (e = [e]);
2704
2704
  else {
2705
- J("must provide one or more modules to patch"), J((/* @__PURE__ */ Error()).stack);
2705
+ X("must provide one or more modules to patch"), X((/* @__PURE__ */ Error()).stack);
2706
2706
  return;
2707
2707
  }
2708
2708
  if (!(t && Array.isArray(t))) {
2709
- J("must provide one or more functions to wrap on modules");
2709
+ X("must provide one or more functions to wrap on modules");
2710
2710
  return;
2711
2711
  }
2712
2712
  e.forEach((e) => {
2713
2713
  t.forEach((t) => {
2714
- Ca(e, t, n);
2714
+ xa(e, t, n);
2715
2715
  });
2716
2716
  });
2717
- }, Ta = (e, t) => {
2717
+ }, Ca = (e, t) => {
2718
2718
  if (!e || !e[t]) {
2719
- J("no function to unwrap."), J((/* @__PURE__ */ Error()).stack);
2719
+ X("no function to unwrap."), X((/* @__PURE__ */ Error()).stack);
2720
2720
  return;
2721
2721
  }
2722
2722
  let n = e[t];
2723
- if (!n.__unwrap) J("no original to unwrap to -- has " + String(t) + " already been unwrapped?");
2723
+ if (!n.__unwrap) X("no original to unwrap to -- has " + String(t) + " already been unwrapped?");
2724
2724
  else {
2725
2725
  n.__unwrap();
2726
2726
  return;
2727
2727
  }
2728
- }, Ea = (e, t) => {
2728
+ }, wa = (e, t) => {
2729
2729
  if (e) Array.isArray(e) || (e = [e]);
2730
2730
  else {
2731
- J("must provide one or more modules to patch"), J((/* @__PURE__ */ Error()).stack);
2731
+ X("must provide one or more modules to patch"), X((/* @__PURE__ */ Error()).stack);
2732
2732
  return;
2733
2733
  }
2734
2734
  if (!(t && Array.isArray(t))) {
2735
- J("must provide one or more functions to unwrap on modules");
2735
+ X("must provide one or more functions to unwrap on modules");
2736
2736
  return;
2737
2737
  }
2738
2738
  e.forEach((e) => {
2739
2739
  t.forEach((t) => {
2740
- Ta(e, t);
2740
+ Ca(e, t);
2741
2741
  });
2742
2742
  });
2743
- }, Da = class {
2743
+ }, Ta = class {
2744
2744
  _config = {};
2745
2745
  _tracer;
2746
2746
  _meter;
@@ -2749,12 +2749,12 @@ var Ca = (e, t, n) => {
2749
2749
  instrumentationName;
2750
2750
  instrumentationVersion;
2751
2751
  constructor(e, t, n) {
2752
- this.instrumentationName = e, this.instrumentationVersion = t, this.setConfig(n), this._diag = T.createComponentLogger({ namespace: e }), this._tracer = D.getTracer(e, t), this._meter = st.getMeter(e, t), this._logger = Oi.getLogger(e, t), this._updateMetricInstruments();
2752
+ this.instrumentationName = e, this.instrumentationVersion = t, this.setConfig(n), this._diag = E.createComponentLogger({ namespace: e }), this._tracer = O.getTracer(e, t), this._meter = ot.getMeter(e, t), this._logger = Ei.getLogger(e, t), this._updateMetricInstruments();
2753
2753
  }
2754
- _wrap = Ca;
2755
- _unwrap = Ta;
2756
- _massWrap = wa;
2757
- _massUnwrap = Ea;
2754
+ _wrap = xa;
2755
+ _unwrap = Ca;
2756
+ _massWrap = Sa;
2757
+ _massUnwrap = wa;
2758
2758
  get meter() {
2759
2759
  return this._meter;
2760
2760
  }
@@ -2794,14 +2794,14 @@ var Ca = (e, t, n) => {
2794
2794
  this._diag.error("Error running span customization hook due to exception in handler", { triggerName: t }, e);
2795
2795
  }
2796
2796
  }
2797
- }, Oa = class extends Da {
2797
+ }, Ea = class extends Ta {
2798
2798
  constructor(e, t, n) {
2799
2799
  super(e, t, n), this._config.enabled && this.enable();
2800
2800
  }
2801
2801
  };
2802
2802
  //#endregion
2803
2803
  //#region ../../node_modules/.pnpm/@opentelemetry+instrumentation@0.222.0_@opentelemetry+api@1.9.1_supports-color@10.2.2/node_modules/@opentelemetry/instrumentation/build/esm/utils.js
2804
- function X(e, t, n) {
2804
+ function Q(e, t, n) {
2805
2805
  let r, i;
2806
2806
  try {
2807
2807
  i = e();
@@ -2814,24 +2814,24 @@ function X(e, t, n) {
2814
2814
  }
2815
2815
  //#endregion
2816
2816
  //#region ../../node_modules/.pnpm/@opentelemetry+instrumentation-fetch@0.222.0_@opentelemetry+api@1.9.1_supports-color@10.2.2/node_modules/@opentelemetry/instrumentation-fetch/build/esm/semconv.js
2817
- var ka = "http.request.body.size", Aa = T.createComponentLogger({ namespace: "@opentelemetry/opentelemetry-instrumentation-fetch/utils" });
2818
- function ja(...e) {
2817
+ var Da = "http.request.body.size", Oa = E.createComponentLogger({ namespace: "@opentelemetry/opentelemetry-instrumentation-fetch/utils" });
2818
+ function ka(...e) {
2819
2819
  if (e[0] instanceof URL || typeof e[0] == "string") {
2820
2820
  let t = e[1];
2821
2821
  if (!t?.body) return Promise.resolve();
2822
2822
  if (t.body instanceof ReadableStream) {
2823
- let { body: e, length: n } = Ma(t.body);
2823
+ let { body: e, length: n } = Aa(t.body);
2824
2824
  return t.body = e, n;
2825
2825
  }
2826
- return Promise.resolve(Pa(t.body));
2826
+ return Promise.resolve(Ma(t.body));
2827
2827
  }
2828
2828
  {
2829
2829
  let t = e[0];
2830
- return t?.body ? t.clone().text().then((e) => Ia(e)) : Promise.resolve();
2830
+ return t?.body ? t.clone().text().then((e) => Pa(e)) : Promise.resolve();
2831
2831
  }
2832
2832
  }
2833
- function Ma(e) {
2834
- if (!e.pipeThrough) return Aa.warn("Platform has ReadableStream but not pipeThrough!"), {
2833
+ function Aa(e) {
2834
+ if (!e.pipeThrough) return Oa.warn("Platform has ReadableStream but not pipeThrough!"), {
2835
2835
  body: e,
2836
2836
  length: Promise.resolve(void 0)
2837
2837
  };
@@ -2852,32 +2852,32 @@ function Ma(e) {
2852
2852
  length: r
2853
2853
  };
2854
2854
  }
2855
- function Na(e) {
2855
+ function ja(e) {
2856
2856
  return typeof Document < "u" && e instanceof Document;
2857
2857
  }
2858
- function Pa(e) {
2859
- if (Na(e)) return new XMLSerializer().serializeToString(document).length;
2860
- if (typeof e == "string") return Ia(e);
2858
+ function Ma(e) {
2859
+ if (ja(e)) return new XMLSerializer().serializeToString(document).length;
2860
+ if (typeof e == "string") return Pa(e);
2861
2861
  if (e instanceof Blob) return e.size;
2862
- if (e instanceof FormData) return La(e);
2863
- if (e instanceof URLSearchParams) return Ia(e.toString());
2862
+ if (e instanceof FormData) return Fa(e);
2863
+ if (e instanceof URLSearchParams) return Pa(e.toString());
2864
2864
  if (e.byteLength !== void 0) return e.byteLength;
2865
- Aa.warn("unknown body type");
2865
+ Oa.warn("unknown body type");
2866
2866
  }
2867
- var Fa = new TextEncoder();
2868
- function Ia(e) {
2869
- return Fa.encode(e).byteLength;
2867
+ var Na = new TextEncoder();
2868
+ function Pa(e) {
2869
+ return Na.encode(e).byteLength;
2870
2870
  }
2871
- function La(e) {
2871
+ function Fa(e) {
2872
2872
  let t = 0;
2873
2873
  for (let [n, r] of e.entries()) t += n.length, r instanceof Blob ? t += r.size : t += r.length;
2874
2874
  return t;
2875
2875
  }
2876
- function Ra(e) {
2877
- let t = Va(), n = e.toUpperCase();
2876
+ function Ia(e) {
2877
+ let t = za(), n = e.toUpperCase();
2878
2878
  return n in t ? n : "_OTHER";
2879
2879
  }
2880
- var za = {
2880
+ var La = {
2881
2881
  CONNECT: !0,
2882
2882
  DELETE: !0,
2883
2883
  GET: !0,
@@ -2888,63 +2888,63 @@ var za = {
2888
2888
  PUT: !0,
2889
2889
  TRACE: !0,
2890
2890
  QUERY: !0
2891
- }, Ba;
2892
- function Va() {
2893
- return Ba === void 0 && (Ba = za), Ba;
2891
+ }, Ra;
2892
+ function za() {
2893
+ return Ra === void 0 && (Ra = La), Ra;
2894
2894
  }
2895
- var Ha = {
2895
+ var Ba = {
2896
2896
  "https:": "443",
2897
2897
  "http:": "80"
2898
2898
  };
2899
- function Ua(e) {
2900
- let t = Number(e.port || Ha[e.protocol]);
2899
+ function Va(e) {
2900
+ let t = Number(e.port || Ba[e.protocol]);
2901
2901
  if (t && !isNaN(t)) return t;
2902
2902
  }
2903
2903
  //#endregion
2904
2904
  //#region ../../node_modules/.pnpm/@opentelemetry+instrumentation-fetch@0.222.0_@opentelemetry+api@1.9.1_supports-color@10.2.2/node_modules/@opentelemetry/instrumentation-fetch/build/esm/version.js
2905
- var Wa = "0.222.0", Ga = 300, Ka = typeof PerformanceObserver < "u", qa = class extends Oa {
2905
+ var Ha = "0.222.0", Ua = 300, Wa = typeof PerformanceObserver < "u", Ga = class extends Ea {
2906
2906
  component = "fetch";
2907
- version = Wa;
2907
+ version = Ha;
2908
2908
  moduleName = this.component;
2909
2909
  _usedResources = /* @__PURE__ */ new WeakSet();
2910
2910
  _tasksCount = 0;
2911
2911
  constructor(e = {}) {
2912
- super("@opentelemetry/instrumentation-fetch", Wa, e);
2912
+ super("@opentelemetry/instrumentation-fetch", Ha, e);
2913
2913
  }
2914
2914
  init() {}
2915
2915
  _addChildSpan(e, t) {
2916
- let n = this.tracer.startSpan("CORS Preflight", { startTime: t[W.FETCH_START] }, D.setSpan(w.active(), e));
2917
- Wr(n, t, this.getConfig().ignoreNetworkEvents, void 0, !0), n.end(t[W.RESPONSE_END]);
2916
+ let n = this.tracer.startSpan("CORS Preflight", { startTime: t[G.FETCH_START] }, O.setSpan(T.active(), e));
2917
+ Hr(n, t, this.getConfig().ignoreNetworkEvents, void 0, !0), n.end(t[G.RESPONSE_END]);
2918
2918
  }
2919
2919
  _addFinalSpanAttributes(e, t) {
2920
- let n = Xr(t.url);
2920
+ let n = Jr(t.url);
2921
2921
  e.setAttribute("http.response.status_code", t.status), e.setAttribute("server.address", n.hostname);
2922
- let r = Ua(n);
2922
+ let r = Va(n);
2923
2923
  r && e.setAttribute("server.port", r);
2924
2924
  }
2925
2925
  _addHeaders(e, t) {
2926
- if (!Zr(t, this.getConfig().propagateTraceHeaderCorsUrls)) {
2926
+ if (!Yr(t, this.getConfig().propagateTraceHeaderCorsUrls)) {
2927
2927
  let e = {};
2928
- E.inject(w.active(), e), Object.keys(e).length > 0 && this._diag.debug("headers inject skipped due to CORS policy");
2928
+ D.inject(T.active(), e), Object.keys(e).length > 0 && this._diag.debug("headers inject skipped due to CORS policy");
2929
2929
  return;
2930
2930
  }
2931
- if (e instanceof Request) E.inject(w.active(), e.headers, { set: (e, t, n) => e.set(t, typeof n == "string" ? n : String(n)) });
2931
+ if (e instanceof Request) D.inject(T.active(), e.headers, { set: (e, t, n) => e.set(t, typeof n == "string" ? n : String(n)) });
2932
2932
  else {
2933
2933
  let t = new Headers(e.headers);
2934
- E.inject(w.active(), t, { set: (e, t, n) => e.set(t, typeof n == "string" ? n : String(n)) }), e.headers = t;
2934
+ D.inject(T.active(), t, { set: (e, t, n) => e.set(t, typeof n == "string" ? n : String(n)) }), e.headers = t;
2935
2935
  }
2936
2936
  }
2937
2937
  _clearResources() {
2938
2938
  this._tasksCount === 0 && this.getConfig().clearTimingResources && (performance.clearResourceTimings(), this._usedResources = /* @__PURE__ */ new WeakSet());
2939
2939
  }
2940
2940
  _createSpan(e, t = {}) {
2941
- if (Fn(e, this.getConfig().ignoreUrls)) {
2941
+ if (Pn(e, this.getConfig().ignoreUrls)) {
2942
2942
  this._diag.debug("ignoring span as url matches ignored url");
2943
2943
  return;
2944
2944
  }
2945
- let n = {}, r = t.method, i = Ra(t.method || "GET"), a = i;
2945
+ let n = {}, r = t.method, i = Ia(t.method || "GET"), a = i;
2946
2946
  return n["http.request.method"] = i, i !== r && (n["http.request.method_original"] = r), n[c] = e, this.tracer.startSpan(a, {
2947
- kind: it.CLIENT,
2947
+ kind: rt.CLIENT,
2948
2948
  attributes: n
2949
2949
  });
2950
2950
  }
@@ -2954,35 +2954,35 @@ var Wa = "0.222.0", Ga = 300, Ka = typeof PerformanceObserver < "u", qa = class
2954
2954
  if (!performance.getEntriesByType) return;
2955
2955
  r = performance.getEntriesByType("resource");
2956
2956
  }
2957
- let i = qr(t.spanUrl, t.startTime, n, r, this._usedResources, "fetch");
2957
+ let i = Gr(t.spanUrl, t.startTime, n, r, this._usedResources, "fetch");
2958
2958
  if (i.mainRequest) {
2959
2959
  let t = i.mainRequest;
2960
2960
  this._markResourceAsUsed(t);
2961
2961
  let n = i.corsPreFlightRequest;
2962
- n && (this._addChildSpan(e, n), this._markResourceAsUsed(n)), Wr(e, t, this.getConfig().ignoreNetworkEvents, void 0, !0);
2962
+ n && (this._addChildSpan(e, n), this._markResourceAsUsed(n)), Hr(e, t, this.getConfig().ignoreNetworkEvents, void 0, !0);
2963
2963
  }
2964
2964
  }
2965
2965
  _markResourceAsUsed(e) {
2966
2966
  this._usedResources.add(e);
2967
2967
  }
2968
2968
  _endSpan(t, n, r) {
2969
- let i = j(Date.now()), a = M();
2970
- this._addFinalSpanAttributes(t, r), r.status >= 400 && (t.setStatus({ code: C.ERROR }), t.setAttribute(e, String(r.status))), setTimeout(() => {
2969
+ let i = M(Date.now()), a = N();
2970
+ this._addFinalSpanAttributes(t, r), r.status >= 400 && (t.setStatus({ code: w.ERROR }), t.setAttribute(e, String(r.status))), setTimeout(() => {
2971
2971
  n.observer?.disconnect(), this._findResourceAndAddNetworkEvents(t, n, a), this._tasksCount--, this._clearResources(), t.end(i);
2972
- }, Ga);
2972
+ }, Ua);
2973
2973
  }
2974
2974
  _patchConstructor() {
2975
2975
  return (e) => {
2976
2976
  let t = this;
2977
2977
  return function(...n) {
2978
2978
  if (!t._isEnabled) return e.apply(this, n);
2979
- let r = this, i = Xr(n[0] instanceof Request ? n[0].url : String(n[0])).href, a;
2979
+ let r = this, i = Jr(n[0] instanceof Request ? n[0].url : String(n[0])).href, a;
2980
2980
  a = n[0] instanceof Request ? n[1] == null ? n[0] : new Request(n[0], n[1]) : n[1] || {};
2981
2981
  let o = t._createSpan(i, a);
2982
2982
  if (!o) return e.apply(this, n);
2983
2983
  let s = t._prepareSpanData(i);
2984
- t.getConfig().measureRequestSize && ja(...n).then((e) => {
2985
- e && o.setAttribute(ka, e);
2984
+ t.getConfig().measureRequestSize && ka(...n).then((e) => {
2985
+ e && o.setAttribute(Da, e);
2986
2986
  }).catch((e) => {
2987
2987
  t._diag.warn("getFetchBodyLength", e);
2988
2988
  });
@@ -3032,24 +3032,24 @@ var Wa = "0.222.0", Ga = 300, Ka = typeof PerformanceObserver < "u", qa = class
3032
3032
  }
3033
3033
  throw n;
3034
3034
  }
3035
- return w.with(D.setSpan(w.active(), o), () => (t._callRequestHook(o, a), t._addHeaders(a, i), t._tasksCount++, e.apply(r, a instanceof Request ? [a] : [i, a]).then(u.bind(r, o), ee.bind(r, o))));
3035
+ return T.with(O.setSpan(T.active(), o), () => (t._callRequestHook(o, a), t._addHeaders(a, i), t._tasksCount++, e.apply(r, a instanceof Request ? [a] : [i, a]).then(u.bind(r, o), ee.bind(r, o))));
3036
3036
  };
3037
3037
  };
3038
3038
  }
3039
3039
  _applyAttributesAfterFetch(e, t, n) {
3040
3040
  let r = this.getConfig().applyCustomAttributesOnSpan;
3041
- r && X(() => r(e, t, n), (e) => {
3041
+ r && Q(() => r(e, t, n), (e) => {
3042
3042
  e && this._diag.error("applyCustomAttributesOnSpan", e);
3043
3043
  }, !0);
3044
3044
  }
3045
3045
  _callRequestHook(e, t) {
3046
3046
  let n = this.getConfig().requestHook;
3047
- n && X(() => n(e, t), (e) => {
3047
+ n && Q(() => n(e, t), (e) => {
3048
3048
  e && this._diag.error("requestHook", e);
3049
3049
  }, !0);
3050
3050
  }
3051
3051
  _prepareSpanData(e) {
3052
- let t = M(), n = [];
3052
+ let t = N(), n = [];
3053
3053
  if (typeof PerformanceObserver != "function") return {
3054
3054
  entries: n,
3055
3055
  startTime: t,
@@ -3068,7 +3068,7 @@ var Wa = "0.222.0", Ga = 300, Ka = typeof PerformanceObserver < "u", qa = class
3068
3068
  };
3069
3069
  }
3070
3070
  enable() {
3071
- if (!Ka) {
3071
+ if (!Wa) {
3072
3072
  this._diag.warn("this instrumentation is intended for web usage only, it does not instrument server-side fetch()");
3073
3073
  return;
3074
3074
  }
@@ -3085,77 +3085,52 @@ var Wa = "0.222.0", Ga = 300, Ka = typeof PerformanceObserver < "u", qa = class
3085
3085
  }
3086
3086
  }
3087
3087
  disable() {
3088
- Ka && this._isEnabled && (this._isEnabled = !1, this._usedResources = /* @__PURE__ */ new WeakSet());
3089
- }
3090
- }, Ja = performance, Ya = "traceparent", Z;
3091
- (function(e) {
3092
- 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";
3093
- })(Z ||= {});
3094
- //#endregion
3095
- //#region ../../node_modules/.pnpm/@opentelemetry+sdk-trace-web@2.10.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/sdk-trace-web/build/esm/semconv.js
3096
- var Xa = "http.response_content_length", Za = "http.response_content_length_uncompressed";
3097
- //#endregion
3098
- //#region ../../node_modules/.pnpm/@opentelemetry+sdk-trace-web@2.10.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/sdk-trace-web/build/esm/utils.js
3099
- function Q(e, t) {
3100
- return t in e;
3101
- }
3102
- function $(e, t, n, r = !0) {
3103
- if (Q(n, t) && typeof n[t] == "number" && !(r && n[t] === 0)) return e.addEvent(t, n[t]);
3104
- }
3105
- function Qa(e, t, n = !1, r, i) {
3106
- if (r === void 0 && (r = t[Z.START_TIME] !== 0), n || ($(e, Z.FETCH_START, t, r), $(e, Z.DOMAIN_LOOKUP_START, t, r), $(e, Z.DOMAIN_LOOKUP_END, t, r), $(e, Z.CONNECT_START, t, r), $(e, Z.SECURE_CONNECTION_START, t, r), $(e, Z.CONNECT_END, t, r), $(e, Z.REQUEST_START, t, r), $(e, Z.RESPONSE_START, t, r), $(e, Z.RESPONSE_END, t, r)), !i) {
3107
- let n = t[Z.ENCODED_BODY_SIZE];
3108
- n !== void 0 && e.setAttribute(Xa, n);
3109
- let r = t[Z.DECODED_BODY_SIZE];
3110
- r !== void 0 && n !== r && e.setAttribute(Za, r);
3088
+ Wa && this._isEnabled && (this._isEnabled = !1, this._usedResources = /* @__PURE__ */ new WeakSet());
3111
3089
  }
3112
- }
3113
- //#endregion
3114
- //#region ../../node_modules/.pnpm/@opentelemetry+instrumentation-document-load@0.67.0_@opentelemetry+api@1.9.1_supports-color@10.2.2/node_modules/@opentelemetry/instrumentation-document-load/build/esm/enums/AttributeNames.js
3115
- var $a;
3090
+ }, $;
3116
3091
  (function(e) {
3117
3092
  e.DOCUMENT_LOAD = "documentLoad", e.DOCUMENT_FETCH = "documentFetch", e.RESOURCE_FETCH = "resourceFetch";
3118
- })($a ||= {});
3093
+ })($ ||= {});
3119
3094
  //#endregion
3120
3095
  //#region ../../node_modules/.pnpm/@opentelemetry+instrumentation-document-load@0.67.0_@opentelemetry+api@1.9.1_supports-color@10.2.2/node_modules/@opentelemetry/instrumentation-document-load/build/esm/version.js
3121
- var eo = "0.67.0", to = "@opentelemetry/instrumentation-document-load", no;
3096
+ var Ka = "0.67.0", qa = "@opentelemetry/instrumentation-document-load", Ja;
3122
3097
  (function(e) {
3123
3098
  e.FIRST_PAINT = "firstPaint", e.FIRST_CONTENTFUL_PAINT = "firstContentfulPaint";
3124
- })(no ||= {});
3099
+ })(Ja ||= {});
3125
3100
  //#endregion
3126
3101
  //#region ../../node_modules/.pnpm/@opentelemetry+instrumentation-document-load@0.67.0_@opentelemetry+api@1.9.1_supports-color@10.2.2/node_modules/@opentelemetry/instrumentation-document-load/build/esm/utils.js
3127
- var ro = () => {
3128
- let e = {}, t = Ja.getEntriesByType?.("navigation")[0];
3129
- if (t) Object.values(Z).forEach((n) => {
3130
- if (Q(t, n)) {
3102
+ var Ya = () => {
3103
+ let e = {}, t = j.getEntriesByType?.("navigation")[0];
3104
+ if (t) Object.values(G).forEach((n) => {
3105
+ if (K(t, n)) {
3131
3106
  let r = t[n];
3132
3107
  typeof r == "number" && (e[n] = r);
3133
3108
  }
3134
3109
  });
3135
3110
  else {
3136
- let t = Ja.timing;
3137
- t && Object.values(Z).forEach((n) => {
3138
- if (Q(t, n)) {
3111
+ let t = j.timing;
3112
+ t && Object.values(G).forEach((n) => {
3113
+ if (K(t, n)) {
3139
3114
  let r = t[n];
3140
3115
  typeof r == "number" && (e[n] = r);
3141
3116
  }
3142
3117
  });
3143
3118
  }
3144
3119
  return e;
3145
- }, io = {
3146
- "first-paint": no.FIRST_PAINT,
3147
- "first-contentful-paint": no.FIRST_CONTENTFUL_PAINT
3148
- }, ao = (e) => {
3149
- let t = Ja.getEntriesByType?.("paint");
3120
+ }, Xa = {
3121
+ "first-paint": Ja.FIRST_PAINT,
3122
+ "first-contentful-paint": Ja.FIRST_CONTENTFUL_PAINT
3123
+ }, Za = (e) => {
3124
+ let t = j.getEntriesByType?.("paint");
3150
3125
  t && t.forEach(({ name: t, startTime: n }) => {
3151
- Q(io, t) && e.addEvent(io[t], n);
3126
+ K(Xa, t) && e.addEvent(Xa[t], n);
3152
3127
  });
3153
- }, oo = class extends Oa {
3128
+ }, Qa = class extends Ea {
3154
3129
  component = "document-load";
3155
3130
  version = "1";
3156
3131
  moduleName = this.component;
3157
3132
  constructor(e = {}) {
3158
- super(to, eo, e);
3133
+ super(qa, Ka, e);
3159
3134
  }
3160
3135
  init() {}
3161
3136
  _onDocumentLoaded() {
@@ -3164,43 +3139,43 @@ var ro = () => {
3164
3139
  });
3165
3140
  }
3166
3141
  _addResourcesSpans(e) {
3167
- let t = Ja.getEntriesByType?.("resource");
3142
+ let t = j.getEntriesByType?.("resource");
3168
3143
  t && t.forEach((t) => {
3169
3144
  this._initResourceSpan(t, e);
3170
3145
  });
3171
3146
  }
3172
3147
  _collectPerformance() {
3173
- let e = Array.from(document.getElementsByTagName("meta")).find((e) => e.getAttribute("name") === Ya), t = ro(), n = e && e.content || "";
3174
- w.with(E.extract(b, { traceparent: n }), () => {
3175
- let e = this._startSpan($a.DOCUMENT_LOAD, Z.FETCH_START, t);
3176
- e && (w.with(D.setSpan(w.active(), e), () => {
3177
- let e = this._startSpan($a.DOCUMENT_FETCH, Z.FETCH_START, t);
3178
- e && (e.setAttribute(c, location.href), w.with(D.setSpan(w.active(), e), () => {
3179
- Qa(e, t, this.getConfig().ignoreNetworkEvents), this._addCustomAttributesOnSpan(e, this.getConfig().applyCustomAttributesOnSpan?.documentFetch), this._endSpan(e, Z.RESPONSE_END, t);
3148
+ let e = Array.from(document.getElementsByTagName("meta")).find((e) => e.getAttribute("name") === rn), t = Ya(), n = e && e.content || "";
3149
+ T.with(D.extract(b, { traceparent: n }), () => {
3150
+ let e = this._startSpan($.DOCUMENT_LOAD, G.FETCH_START, t);
3151
+ e && (T.with(O.setSpan(T.active(), e), () => {
3152
+ let e = this._startSpan($.DOCUMENT_FETCH, G.FETCH_START, t);
3153
+ e && (e.setAttribute(c, location.href), T.with(O.setSpan(T.active(), e), () => {
3154
+ Hr(e, t, this.getConfig().ignoreNetworkEvents), this._addCustomAttributesOnSpan(e, this.getConfig().applyCustomAttributesOnSpan?.documentFetch), this._endSpan(e, G.RESPONSE_END, t);
3180
3155
  }));
3181
- }), e.setAttribute(c, location.href), e.setAttribute("user_agent.original", navigator.userAgent), this._addResourcesSpans(e), this.getConfig().ignoreNetworkEvents || ($(e, Z.FETCH_START, t), $(e, Z.UNLOAD_EVENT_START, t), $(e, Z.UNLOAD_EVENT_END, t), $(e, Z.DOM_INTERACTIVE, t), $(e, Z.DOM_CONTENT_LOADED_EVENT_START, t), $(e, Z.DOM_CONTENT_LOADED_EVENT_END, t), $(e, Z.DOM_COMPLETE, t), $(e, Z.LOAD_EVENT_START, t), $(e, Z.LOAD_EVENT_END, t)), this.getConfig().ignorePerformancePaintEvents || ao(e), this._addCustomAttributesOnSpan(e, this.getConfig().applyCustomAttributesOnSpan?.documentLoad), this._endSpan(e, Z.LOAD_EVENT_END, t));
3156
+ }), e.setAttribute(c, location.href), e.setAttribute("user_agent.original", navigator.userAgent), this._addResourcesSpans(e), this.getConfig().ignoreNetworkEvents || (q(e, G.FETCH_START, t), q(e, G.UNLOAD_EVENT_START, t), q(e, G.UNLOAD_EVENT_END, t), q(e, G.DOM_INTERACTIVE, t), q(e, G.DOM_CONTENT_LOADED_EVENT_START, t), q(e, G.DOM_CONTENT_LOADED_EVENT_END, t), q(e, G.DOM_COMPLETE, t), q(e, G.LOAD_EVENT_START, t), q(e, G.LOAD_EVENT_END, t)), this.getConfig().ignorePerformancePaintEvents || Za(e), this._addCustomAttributesOnSpan(e, this.getConfig().applyCustomAttributesOnSpan?.documentLoad), this._endSpan(e, G.LOAD_EVENT_END, t));
3182
3157
  });
3183
3158
  }
3184
3159
  _endSpan(e, t, n) {
3185
- e && (Q(n, t) ? e.end(n[t]) : e.end());
3160
+ e && (K(n, t) ? e.end(n[t]) : e.end());
3186
3161
  }
3187
3162
  _initResourceSpan(e, t) {
3188
- let n = this._startSpan($a.RESOURCE_FETCH, Z.FETCH_START, e, t);
3189
- n && (n.setAttribute(c, e.name), Qa(n, e, this.getConfig().ignoreNetworkEvents), this._addCustomAttributesOnResourceSpan(n, e, this.getConfig().applyCustomAttributesOnSpan?.resourceFetch), this._endSpan(n, Z.RESPONSE_END, e));
3163
+ let n = this._startSpan($.RESOURCE_FETCH, G.FETCH_START, e, t);
3164
+ n && (n.setAttribute(c, e.name), Hr(n, e, this.getConfig().ignoreNetworkEvents), this._addCustomAttributesOnResourceSpan(n, e, this.getConfig().applyCustomAttributesOnSpan?.resourceFetch), this._endSpan(n, G.RESPONSE_END, e));
3190
3165
  }
3191
3166
  _startSpan(e, t, n, r) {
3192
- if (Q(n, t) && typeof n[t] == "number") return this.tracer.startSpan(e, { startTime: n[t] }, r ? D.setSpan(w.active(), r) : void 0);
3167
+ if (K(n, t) && typeof n[t] == "number") return this.tracer.startSpan(e, { startTime: n[t] }, r ? O.setSpan(T.active(), r) : void 0);
3193
3168
  }
3194
3169
  _waitForPageLoad() {
3195
3170
  window.document.readyState === "complete" ? this._onDocumentLoaded() : (this._onDocumentLoaded = this._onDocumentLoaded.bind(this), window.addEventListener("load", this._onDocumentLoaded));
3196
3171
  }
3197
3172
  _addCustomAttributesOnSpan(e, t) {
3198
- t && X(() => t(e), (e) => {
3173
+ t && Q(() => t(e), (e) => {
3199
3174
  e && this._diag.error("addCustomAttributesOnSpan", e);
3200
3175
  }, !0);
3201
3176
  }
3202
3177
  _addCustomAttributesOnResourceSpan(e, t, n) {
3203
- n && X(() => n(e, t), (e) => {
3178
+ n && Q(() => n(e, t), (e) => {
3204
3179
  e && this._diag.error("addCustomAttributesOnResourceSpan", e);
3205
3180
  }, !0);
3206
3181
  }
@@ -3210,22 +3185,22 @@ var ro = () => {
3210
3185
  disable() {
3211
3186
  window.removeEventListener("load", this._onDocumentLoaded);
3212
3187
  }
3213
- }, so = {
3188
+ }, $a = {
3214
3189
  development: 1,
3215
3190
  staging: .5,
3216
3191
  production: .2
3217
3192
  };
3218
- function co(e) {
3193
+ function eo(e) {
3219
3194
  let t = typeof process < "u" ? process.env.OTEL_SAMPLING_RATE : void 0;
3220
3195
  if (t !== void 0) {
3221
3196
  let e = Number(t);
3222
3197
  return Number.isFinite(e) ? Math.max(0, Math.min(1, e)) : 1;
3223
3198
  }
3224
- return so[e.toLowerCase()] ?? 1;
3199
+ return $a[e.toLowerCase()] ?? 1;
3225
3200
  }
3226
3201
  //#endregion
3227
3202
  //#region ../../packages/telemetry/src/utils.ts
3228
- function lo(e, t, n) {
3203
+ function to(e, t, n) {
3229
3204
  return Promise.race([Promise.resolve(e).then(() => {}), new Promise((e) => {
3230
3205
  setTimeout(() => {
3231
3206
  console.warn(`[telemetry] ${n} timed out after ${t}ms — proceeding without confirmation`), e();
@@ -3234,57 +3209,57 @@ function lo(e, t, n) {
3234
3209
  }
3235
3210
  //#endregion
3236
3211
  //#region ../../packages/telemetry/src/browser.ts
3237
- var uo = !1;
3238
- function fo(e) {
3239
- if (uo) return;
3240
- uo = !0;
3212
+ var no = !1;
3213
+ function ro(e) {
3214
+ if (no) return;
3215
+ no = !0;
3241
3216
  let t = () => {
3242
- lo(e(), 2e3, "browser flush");
3217
+ to(e(), 2e3, "browser flush");
3243
3218
  };
3244
3219
  window.addEventListener("pagehide", t), window.addEventListener("beforeunload", t), document.addEventListener("visibilitychange", () => {
3245
3220
  document.visibilityState === "hidden" && t();
3246
3221
  });
3247
3222
  }
3248
- function po(e) {
3223
+ function io(e) {
3249
3224
  return e?.enabled === !1 ? null : {
3250
3225
  serviceName: e?.serviceName ?? "frontend",
3251
3226
  environment: e?.environment ?? "development",
3252
3227
  exporterEndpoint: e?.exporterEndpoint ?? "http://localhost:4318",
3253
- samplingRate: co(e?.environment ?? "development"),
3228
+ samplingRate: eo(e?.environment ?? "development"),
3254
3229
  otlpHeaders: e?.otlpHeaders ?? {},
3255
3230
  signozApiKey: e?.signozApiKey ?? "",
3256
3231
  logLevel: e?.logLevel ?? "info",
3257
3232
  propagateCorsUrls: e?.propagateCorsUrls
3258
3233
  };
3259
3234
  }
3260
- function mo(e) {
3261
- let t = po(e);
3235
+ function ao(e) {
3236
+ let t = io(e);
3262
3237
  if (!t) return {
3263
3238
  shutdown: async () => {},
3264
3239
  flush: async () => {}
3265
3240
  };
3266
- let n = new Rr({
3267
- resource: Vn({
3241
+ let n = new Lr({
3242
+ resource: Bn({
3268
3243
  [r]: t.serviceName,
3269
3244
  "deployment.environment": t.environment,
3270
3245
  "service.version": "0.0.0"
3271
3246
  }),
3272
- spanProcessors: [new Pr(new Sa({
3247
+ spanProcessors: [new Nr(new ba({
3273
3248
  url: `${t.exporterEndpoint}/v1/traces`,
3274
3249
  headers: t.otlpHeaders
3275
3250
  }))]
3276
3251
  });
3277
- return n.register(), E.setGlobalPropagator(new un()), new qa({ propagateTraceHeaderCorsUrls: t.propagateCorsUrls ? [t.propagateCorsUrls] : [] }).enable(), new oo().enable(), fo(() => n.forceFlush()), {
3252
+ return n.register(), D.setGlobalPropagator(new ln()), new Ga({ propagateTraceHeaderCorsUrls: t.propagateCorsUrls ? [t.propagateCorsUrls] : [] }).enable(), new Qa().enable(), ro(() => n.forceFlush()), {
3278
3253
  shutdown: async () => {
3279
3254
  try {
3280
- await lo(n.shutdown(), 1e4, "browser shutdown");
3255
+ await to(n.shutdown(), 1e4, "browser shutdown");
3281
3256
  } catch (e) {
3282
3257
  console.error("[telemetry-browser] Error during shutdown", e);
3283
3258
  }
3284
3259
  },
3285
3260
  flush: async () => {
3286
3261
  try {
3287
- await lo(n.forceFlush(), 1e4, "browser flush");
3262
+ await to(n.forceFlush(), 1e4, "browser flush");
3288
3263
  } catch (e) {
3289
3264
  console.error("[telemetry-browser] Error during flush", e);
3290
3265
  }
@@ -3292,6 +3267,6 @@ function mo(e) {
3292
3267
  };
3293
3268
  }
3294
3269
  //#endregion
3295
- export { mo as initializeTelemetryBrowser };
3270
+ export { ao as initializeTelemetryBrowser };
3296
3271
 
3297
- //# sourceMappingURL=browser-NgY6LXg-.js.map
3272
+ //# sourceMappingURL=browser-B0Xnbqi7.js.map