@expofp/floorplan 3.13.1 → 3.13.2

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 (171) hide show
  1. package/dist/browser/{Button-CKiBkbgb.js → Button-C5DLguTW.js} +6 -6
  2. package/dist/browser/{CookieConsent-CSTxsO7b.js → CookieConsent-CPXxoJkz.js} +8 -8
  3. package/dist/browser/{Debug-VJg8Kv3w.js → Debug-bxMz-HDF.js} +8 -8
  4. package/dist/browser/{Demo-DK7aO8n7.js → Demo-CGCZqU_8.js} +10 -10
  5. package/dist/browser/{Free-Dc9anWmM.js → Free-I-EGiu3o.js} +10 -10
  6. package/dist/browser/{Gallery-Dnm4hSmm.js → Gallery-Bce2fubu.js} +31 -25
  7. package/dist/browser/{GpsLoader-DQmIKYxp.js → GpsLoader-CnPH3rxE.js} +12 -12
  8. package/dist/browser/{KioskStore-Do9vKaRP.js → KioskStore-K0Ps7wq6.js} +4 -4
  9. package/dist/browser/{MaplibreAdapter-bY-ABtGS.js → MaplibreAdapter-DKa1N9-7.js} +85 -57
  10. package/dist/browser/{ModalContainer-DnYcW0A9.js → ModalContainer-BxCJTxBS.js} +11 -11
  11. package/dist/browser/{PermissionNotice-BfOksslN.js → PermissionNotice-BS53dDaS.js} +7 -7
  12. package/dist/browser/{SetKioskMode-vTpieU9t.js → SetKioskMode-P2g_TnCr.js} +10 -10
  13. package/dist/browser/{ShowKiosk-CdNxtqFI.js → ShowKiosk-Bz-7t-PL.js} +12 -12
  14. package/dist/browser/{TouchHand-B9X_pexY.js → TouchHand-Dm3c6gpk.js} +5 -5
  15. package/dist/browser/{ViewerMenuPanel-Cwhfqk7r.js → ViewerMenuPanel-COyljU8V.js} +10 -10
  16. package/dist/browser/{add-debug-secret-listener-mWeM9pHG.js → add-debug-secret-listener-DQjjtobD.js} +1 -1
  17. package/dist/browser/{reset-all-settings-C4_ors4k.js → adopt-global-settings-DIJsf94E.js} +12 -17
  18. package/dist/browser/{boolean-editor-CGPZFexF.js → boolean-editor-D4Y66mgk.js} +46 -46
  19. package/dist/browser/{bootIntercom-CaST_jNX.js → bootIntercom-DUPbX22l.js} +3 -3
  20. package/dist/browser/{booth-by-xy-BO6naDgy.js → booth-by-xy-DKyMJwg9.js} +13 -13
  21. package/dist/browser/bundle.json +67 -70
  22. package/dist/browser/{classnames-ClEJC3j4.js → classnames-CTiheKEO.js} +2 -2
  23. package/dist/browser/{client-DXdbQp9r.js → client-B0g0Q0fu.js} +9 -9
  24. package/dist/browser/{components-Bowa21U1.js → components-DUbHmBQ6.js} +60 -53
  25. package/dist/browser/{debug-overlay-Y5npuuWR.js → debug-overlay-CKXL3Z9z.js} +470 -464
  26. package/dist/browser/{debug-ui-D1g5i_jy.js → debug-ui-D2GPuJSX.js} +7 -7
  27. package/dist/browser/{dist-Cn9LPy1P.js → dist-BFVoy_zB.js} +7 -7
  28. package/dist/browser/{dist-BSvcUdys.js → dist-CFY_dc-C.js} +5 -5
  29. package/dist/browser/{dist-aJ-8azal.js → dist-CZH-D_bo.js} +66 -67
  30. package/dist/browser/{efp-debug-init-Brk9OaSQ.js → efp-debug-init-pd2smy4A.js} +4 -4
  31. package/dist/browser/{enum-editor-BZ9LwkZ8.js → enum-editor-a07SOXXi.js} +5 -5
  32. package/dist/browser/{es5-XJHAF1nV.js → es5-jDwWZhmf.js} +2 -2
  33. package/dist/browser/{event-not-found-_rTvDWyj.js → event-not-found-CPqO_ew-.js} +1 -1
  34. package/dist/browser/{exports-DWUH8uau.js → exports-8JcxTO7_.js} +567 -566
  35. package/dist/browser/{favicon-5J-1eJZd.js → favicon-BhTDecsz.js} +1 -1
  36. package/dist/browser/{fetch-retry.umd-Br7VuO9v.js → fetch-retry.umd-BuEcG130.js} +2 -2
  37. package/dist/browser/{flex-B3O1z4v3.js → flex-FVc6l8VM.js} +17 -17
  38. package/dist/browser/{floorplan.loader-sk15sA3u.js → floorplan.loader-DM3BoMUa.js} +1372 -1298
  39. package/dist/browser/{floorplan.ready-B4ahF1S7.js → floorplan.ready-DQAk0-bE.js} +294 -294
  40. package/dist/browser/{fuse-Ci_KKUTa.js → fuse-hiNWVTid.js} +2 -2
  41. package/dist/browser/{i18n-99DQd2vS.js → i18n-DmUQ2csh.js} +2399 -2412
  42. package/dist/browser/index.js +36 -36
  43. package/dist/browser/{index.module-DAnhLbye.js → index.module-Ce5K5GHH.js} +6 -6
  44. package/dist/browser/{integrateKiosk-DZXpUrOj.js → integrateKiosk-DLY98yHT.js} +4 -4
  45. package/dist/browser/{is-webview-DpONzc0i.js → is-webview-DYW7jMPo.js} +1 -1
  46. package/dist/browser/{jsx-runtime-CaS3omHd.js → jsx-runtime-Cn7VZCRr.js} +4 -4
  47. package/dist/browser/{lib-BiZuekek.js → lib-DKxIjoGs.js} +155 -112
  48. package/dist/browser/{loadImage-CjXrDhKo.js → loadImage-CFRF6nKm.js} +5 -5
  49. package/dist/browser/{logDeviceInfo-BYL9Ek4m.js → logDeviceInfo-B2xD643p.js} +9 -9
  50. package/dist/browser/{main-C5obpH9n.js → main-BE7HSdfx.js} +1 -1
  51. package/dist/browser/{mobx-DUuRiBpm.js → mobx-Dss6V0uv.js} +5 -5
  52. package/dist/browser/{optional-boolean-editor-vmPQV7dq.js → optional-boolean-editor-BDWvD6R3.js} +4 -4
  53. package/dist/browser/{optional-enum-editor-CAafO0D2.js → optional-enum-editor-DzJSD274.js} +5 -5
  54. package/dist/browser/{optional-string-editor-CnDprvv4.js → optional-string-editor-DvQrsAvN.js} +5 -5
  55. package/dist/browser/{particles.min-Bw-lHwaG.js → particles.min-0GINFlmD.js} +2 -2
  56. package/dist/browser/{react-DIEnjHSI.js → react-CQIXbbli.js} +5 -5
  57. package/dist/browser/{react-dom-CK-QaYaJ.js → react-dom-DB3HP1L3.js} +6 -6
  58. package/dist/browser/{rolldown-runtime-Dfh5_zpq.js → rolldown-runtime-CBbNE2KV.js} +1 -1
  59. package/dist/browser/select-DkvD6Ont.js +1367 -0
  60. package/dist/browser/{settings-CkTeZAPn.js → settings-3RnELfMa.js} +3 -3
  61. package/dist/browser/{settings-item-Bdmu0-LD.js → settings-item-wgFS4pwq.js} +16 -16
  62. package/dist/browser/{store-C8eFtLML.js → store-Bh1UUDBZ.js} +2883 -2883
  63. package/dist/browser/{string-editor-CM26hetz.js → string-editor-DIG3V4Iv.js} +5 -5
  64. package/dist/browser/{text-field-CdM7a_e4.js → text-field-Ce1nLpTL.js} +25 -25
  65. package/dist/browser/{theme-Byin1YOk.js → theme-DE94e68B.js} +949 -946
  66. package/dist/browser/{ui-Bso8uSzX.js → ui-DKrc1LYz.js} +11 -11
  67. package/dist/browser/{useRenderTarget-C16k6iot.js → useRenderTarget-DwEjrRiD.js} +5 -5
  68. package/dist/esm/components/AutocompleteContainer.d.ts +1 -1
  69. package/dist/esm/components/Bookmarks.d.ts +1 -1
  70. package/dist/esm/components/Bookmarks.js +1 -1
  71. package/dist/esm/components/Booth/Booth.js +1 -1
  72. package/dist/esm/components/Category.d.ts +1 -1
  73. package/dist/esm/components/Debug.d.ts +1 -1
  74. package/dist/esm/components/Debug.js +1 -1
  75. package/dist/esm/components/ErrorBoundary.d.ts +1 -1
  76. package/dist/esm/components/ErrorBoundary.js +1 -1
  77. package/dist/esm/components/Event.js +1 -1
  78. package/dist/esm/components/Exhibitor.d.ts +1 -1
  79. package/dist/esm/components/Exhibitor.js +1 -1
  80. package/dist/esm/components/Filter.d.ts +1 -1
  81. package/dist/esm/components/Filter.js +1 -1
  82. package/dist/esm/components/Gallery/GalleryBadges/GalleryBadges.js +1 -1
  83. package/dist/esm/components/Gallery/GalleryPreLoader.js +1 -1
  84. package/dist/esm/components/Kiosk/KioskStore.js +1 -1
  85. package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.js +1 -1
  86. package/dist/esm/components/Map/Map.js +1 -1
  87. package/dist/esm/components/Map/drawing/config/BoothDrawerBase.js +1 -1
  88. package/dist/esm/components/Map/drawing/config/BoothShape.js +1 -1
  89. package/dist/esm/components/Map/drawing/config/TextFitter.js +1 -1
  90. package/dist/esm/components/Map/drawing/config/config-booth-bg.js +1 -1
  91. package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
  92. package/dist/esm/components/Map/drawing/config/config-booth-border.js +1 -1
  93. package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
  94. package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
  95. package/dist/esm/components/Map/traffic/UpdateQueue.js +1 -1
  96. package/dist/esm/components/Map/traffic/useBuildRoute.js +1 -1
  97. package/dist/esm/components/Menu.d.ts +1 -1
  98. package/dist/esm/components/Menu.js +1 -1
  99. package/dist/esm/components/ModalContainer.d.ts +4 -4
  100. package/dist/esm/components/RebookingNotesContainer.d.ts +1 -1
  101. package/dist/esm/components/RebookingRadioGroupContainer.d.ts +1 -1
  102. package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.js +1 -1
  103. package/dist/esm/components/Schedule.js +1 -1
  104. package/dist/esm/components/Search.d.ts +1 -1
  105. package/dist/esm/components/Search.js +1 -1
  106. package/dist/esm/components/Toast/ToastContainer.d.ts +1 -1
  107. package/dist/esm/components/TourPoints.d.ts +1 -1
  108. package/dist/esm/components/Tours.js +1 -1
  109. package/dist/esm/components/Visited.d.ts +1 -1
  110. package/dist/esm/components/WayfindingTemplate.js +1 -1
  111. package/dist/esm/components/Ws.d.ts +1 -1
  112. package/dist/esm/floorplan.loader.js +1 -1
  113. package/dist/esm/floorplan.ready.js +1 -1
  114. package/dist/esm/renderer/HandlerRegistry.js +1 -1
  115. package/dist/esm/renderer/RendererService.js +1 -1
  116. package/dist/esm/services/URLFilterManager.js +1 -1
  117. package/dist/esm/store/BaseFilterStore.js +1 -1
  118. package/dist/esm/store/BookmarksStore.js +2 -2
  119. package/dist/esm/store/BoothStore.js +1 -1
  120. package/dist/esm/store/CategoryFilterStore.js +1 -1
  121. package/dist/esm/store/CategoryStore.d.ts +1 -1
  122. package/dist/esm/store/CategoryStore.js +1 -1
  123. package/dist/esm/store/EventStore.d.ts +2 -2
  124. package/dist/esm/store/EventStore.js +1 -1
  125. package/dist/esm/store/ExhibitorStore.d.ts +1 -1
  126. package/dist/esm/store/ExhibitorStore.js +1 -1
  127. package/dist/esm/store/FuzzySearchEngineStore.js +1 -1
  128. package/dist/esm/store/HeatmapStore.d.ts +1 -1
  129. package/dist/esm/store/HeatmapStore.js +1 -1
  130. package/dist/esm/store/IntercomStore.js +1 -1
  131. package/dist/esm/store/LayerStore.js +1 -1
  132. package/dist/esm/store/MaplibreStore.js +1 -1
  133. package/dist/esm/store/PoiTypeStore.js +1 -1
  134. package/dist/esm/store/RootStore.js +1 -1
  135. package/dist/esm/store/RoutePlannerStore.js +1 -1
  136. package/dist/esm/store/RouteStore.js +1 -1
  137. package/dist/esm/store/SearchStore.d.ts +1 -1
  138. package/dist/esm/store/SearchStore.js +1 -1
  139. package/dist/esm/store/SessionsFilterStore.js +1 -1
  140. package/dist/esm/store/ShortcutRegistry.js +1 -1
  141. package/dist/esm/store/SpeakerFilterStore.js +1 -1
  142. package/dist/esm/store/SpeakerStore.d.ts +2 -2
  143. package/dist/esm/store/SpeakerStore.js +1 -1
  144. package/dist/esm/store/SubButtonRegistry.js +1 -1
  145. package/dist/esm/store/ToursStore.js +1 -1
  146. package/dist/esm/store/UIState.d.ts +2 -2
  147. package/dist/esm/store/UIState.js +1 -1
  148. package/dist/esm/store/providers/SearchShortcutProvider.js +1 -1
  149. package/dist/esm/store/providers/SessionsShortcutProvider.js +1 -1
  150. package/dist/esm/store/providers/SessionsSubButtonProvider.js +1 -1
  151. package/dist/esm/store/providers/SpeakerShortcutProvider.js +1 -1
  152. package/dist/esm/store/search-buttons/SearchButtonsActions.js +1 -1
  153. package/dist/esm/store/search-buttons/SearchButtonsFactory.js +1 -1
  154. package/dist/esm/store/search-buttons/SearchButtonsFilters.js +1 -1
  155. package/dist/esm/store/search-buttons/SearchButtonsState.js +1 -1
  156. package/dist/esm/store/search-buttons/SearchButtonsStore.js +1 -1
  157. package/dist/esm/store/search-buttons/constants.d.ts +8 -8
  158. package/dist/esm/tools/expofpUrl.d.ts +2 -2
  159. package/dist/esm/tools/logger.js +1 -1
  160. package/dist/esm/tools/settings.js +1 -1
  161. package/dist/esm/ui/Autocomplete/Autocomplete.js +1 -1
  162. package/dist/esm/ui/EntityItem/EntityItem.js +1 -1
  163. package/dist/esm/ui/EventBadge/EventBadge.js +1 -1
  164. package/dist/esm/ui/Share/Share.js +1 -1
  165. package/dist/esm/utils/dimming.d.ts +1 -1
  166. package/dist/esm/utils/is-from-designer.d.ts +1 -1
  167. package/dist/esm/utils/silence-mobx-react-lite-warning.d.ts +1 -0
  168. package/dist/esm/utils/silence-mobx-react-lite-warning.js +1 -1
  169. package/package.json +17 -17
  170. package/dist/browser/prop-types-Bw2U3Pyj.js +0 -57
  171. package/dist/browser/select-CGbkxHY8.js +0 -1360
@@ -1,28 +1,28 @@
1
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/debug-build.js
1
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/debug-build.js
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
- e.SENTRY_RELEASE = { id: "3.13.1" };
5
+ e.SENTRY_RELEASE = { id: "3.13.2" };
6
6
  var t = new e.Error().stack;
7
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7abcbadb-dbbd-4ffd-9146-35174f5bfa92", e._sentryDebugIdIdentifier = "sentry-dbid-7abcbadb-dbbd-4ffd-9146-35174f5bfa92");
7
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "92e33f5f-5b12-4d13-bec0-ccc71e9b2e24", e._sentryDebugIdIdentifier = "sentry-dbid-92e33f5f-5b12-4d13-bec0-ccc71e9b2e24");
8
8
  } catch {}
9
9
  })();
10
- var e = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, t = "10.62.0", n = globalThis;
10
+ var e = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, t = globalThis, n = "10.68.0";
11
11
  //#endregion
12
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/carrier.js
12
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/carrier.js
13
13
  function r() {
14
- return i(n), n;
14
+ return i(t), t;
15
15
  }
16
16
  function i(e) {
17
- let n = e.__SENTRY__ = e.__SENTRY__ || {};
18
- return n.version = n.version || "10.62.0", n[t] = n["10.62.0"] || {};
17
+ let t = e.__SENTRY__ = e.__SENTRY__ || {};
18
+ return t.version = t.version || "10.68.0", t[n] = t["10.68.0"] || {};
19
19
  }
20
- function a(e, r, i = n) {
21
- let a = i.__SENTRY__ = i.__SENTRY__ || {}, o = a[t] = a["10.62.0"] || {};
20
+ function a(e, r, i = t) {
21
+ let a = i.__SENTRY__ = i.__SENTRY__ || {}, o = a[n] = a["10.68.0"] || {};
22
22
  return o[e] || (o[e] = r());
23
23
  }
24
24
  //#endregion
25
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/debug-logger.js
25
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/debug-logger.js
26
26
  var o = [
27
27
  "debug",
28
28
  "info",
@@ -33,17 +33,17 @@ var o = [
33
33
  "trace"
34
34
  ], s = "Sentry Logger ", c = {};
35
35
  function l(e) {
36
- if (!("console" in n)) return e();
37
- let t = n.console, r = {}, i = Object.keys(c);
36
+ if (!("console" in t)) return e();
37
+ let n = t.console, r = {}, i = Object.keys(c);
38
38
  i.forEach((e) => {
39
- let n = c[e];
40
- r[e] = t[e], t[e] = n;
39
+ let t = c[e];
40
+ r[e] = n[e], n[e] = t;
41
41
  });
42
42
  try {
43
43
  return e();
44
44
  } finally {
45
45
  i.forEach((e) => {
46
- t[e] = r[e];
46
+ n[e] = r[e];
47
47
  });
48
48
  }
49
49
  }
@@ -65,9 +65,9 @@ function m(...e) {
65
65
  function h(...e) {
66
66
  g("error", ...e);
67
67
  }
68
- function g(t, ...r) {
68
+ function g(n, ...r) {
69
69
  e && f() && l(() => {
70
- n.console[t](`${s}[${t}]:`, ...r);
70
+ t.console[n](`${s}[${n}]:`, ...r);
71
71
  });
72
72
  }
73
73
  function _() {
@@ -80,140 +80,138 @@ var v = {
80
80
  log: p,
81
81
  warn: m,
82
82
  error: h
83
- }, ee = /^o(\d+)\./, te = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;
83
+ }, y = 50, b = /\(error: (.*)\)/, ee = /captureMessage|captureException/;
84
+ function te(...e) {
85
+ let t = e.sort((e, t) => e[0] - t[0]).map((e) => e[1]);
86
+ return (e, n = 0, r = 0) => {
87
+ let i = [], a = e.split("\n");
88
+ for (let e = n; e < a.length; e++) {
89
+ let n = a[e];
90
+ n.length > 1024 && (n = n.slice(0, 1024));
91
+ let o = b.test(n) ? n.replace(b, "$1") : n;
92
+ if (!o.includes("Error: ")) {
93
+ for (let e of t) {
94
+ let t = e(o);
95
+ if (t) {
96
+ i.push(t);
97
+ break;
98
+ }
99
+ }
100
+ if (i.length >= y + r) break;
101
+ }
102
+ }
103
+ return re(i.slice(r));
104
+ };
105
+ }
84
106
  function ne(e) {
85
- return e === "http" || e === "https";
107
+ return Array.isArray(e) ? te(...e) : e;
86
108
  }
87
- function re(e, t = !1) {
88
- let { host: n, path: r, pass: i, port: a, projectId: o, protocol: s, publicKey: c } = e;
89
- return `${s}://${c}${t && i ? `:${i}` : ""}@${n}${a ? `:${a}` : ""}/${r && `${r}/`}${o}`;
109
+ function re(e) {
110
+ if (!e.length) return [];
111
+ let t = Array.from(e);
112
+ return /sentryWrapped/.test(x(t).function || "") && t.pop(), t.reverse(), ee.test(x(t).function || "") && (t.pop(), ee.test(x(t).function || "") && t.pop()), t.slice(0, y).map((e) => ({
113
+ ...e,
114
+ filename: e.filename || x(t).filename,
115
+ function: e.function || "?"
116
+ }));
117
+ }
118
+ function x(e) {
119
+ return e[e.length - 1] || {};
90
120
  }
121
+ var S = "<anonymous>";
91
122
  function ie(e) {
92
- let t = te.exec(e);
93
- if (!t) {
94
- l(() => {
95
- console.error(`Invalid Sentry Dsn: ${e}`);
96
- });
97
- return;
98
- }
99
- let [n, r, i = "", a = "", o = "", s = ""] = t.slice(1), c = "", u = s, d = u.split("/");
100
- if (d.length > 1 && (c = d.slice(0, -1).join("/"), u = d.pop()), u) {
101
- let e = u.match(/^\d+/);
102
- e && (u = e[0]);
123
+ try {
124
+ return !e || typeof e != "function" ? S : e.name || S;
125
+ } catch {
126
+ return S;
103
127
  }
104
- return ae({
105
- host: a,
106
- pass: i,
107
- path: c,
108
- projectId: u,
109
- port: o,
110
- protocol: n,
111
- publicKey: r
112
- });
113
128
  }
114
129
  function ae(e) {
115
- return {
116
- protocol: e.protocol,
117
- publicKey: e.publicKey || "",
118
- pass: e.pass || "",
119
- host: e.host,
120
- port: e.port || "",
121
- path: e.path || "",
122
- projectId: e.projectId
123
- };
124
- }
125
- function oe(t) {
126
- if (!e) return !0;
127
- let { port: n, projectId: r, protocol: i } = t;
128
- return [
129
- "protocol",
130
- "publicKey",
131
- "host",
132
- "projectId"
133
- ].find((e) => t[e] ? !1 : (v.error(`Invalid Sentry Dsn: ${e} missing`), !0)) ? !1 : r.match(/^\d+$/) ? ne(i) ? n && isNaN(parseInt(n, 10)) ? (v.error(`Invalid Sentry Dsn: Invalid port ${n}`), !1) : !0 : (v.error(`Invalid Sentry Dsn: Invalid protocol ${i}`), !1) : (v.error(`Invalid Sentry Dsn: Invalid projectId ${r}`), !1);
134
- }
135
- function se(e) {
136
- let t = e.match(ee);
137
- return t == null ? void 0 : t[1];
138
- }
139
- function ce(e) {
140
- let t = e.getOptions(), { host: n } = e.getDsn() || {}, r;
141
- return t.orgId ? r = String(t.orgId) : n && (r = se(n)), r;
142
- }
143
- function le(e) {
144
- let t = typeof e == "string" ? ie(e) : ae(e);
145
- if (!(!t || !oe(t))) return t;
130
+ let t = e.exception;
131
+ if (t) {
132
+ let e = [];
133
+ try {
134
+ return t.values.forEach((t) => {
135
+ t.stacktrace.frames && e.push(...t.stacktrace.frames);
136
+ }), e;
137
+ } catch {
138
+ return;
139
+ }
140
+ }
146
141
  }
147
142
  //#endregion
148
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/is.js
149
- var ue = Object.prototype.toString;
150
- function de(e) {
151
- switch (ue.call(e)) {
143
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/is.js
144
+ var oe = Object.prototype.toString;
145
+ function se(e) {
146
+ switch (oe.call(e)) {
152
147
  case "[object Error]":
153
148
  case "[object Exception]":
154
149
  case "[object DOMException]":
155
150
  case "[object WebAssembly.Exception]": return !0;
156
- default: return S(e, Error);
151
+ default: return E(e, Error);
157
152
  }
158
153
  }
159
- function y(e, t) {
160
- return ue.call(e) === `[object ${t}]`;
154
+ function C(e, t) {
155
+ return oe.call(e) === `[object ${t}]`;
161
156
  }
162
- function fe(e) {
163
- return y(e, "ErrorEvent");
157
+ function ce(e) {
158
+ return C(e, "ErrorEvent");
164
159
  }
165
- function pe(e) {
166
- return y(e, "DOMError");
160
+ function le(e) {
161
+ return C(e, "DOMError");
167
162
  }
168
- function me(e) {
169
- return y(e, "DOMException");
163
+ function ue(e) {
164
+ return C(e, "DOMException");
170
165
  }
171
- function b(e) {
172
- return y(e, "String");
166
+ function w(e) {
167
+ return C(e, "String");
173
168
  }
174
- function he(e) {
169
+ function de(e) {
175
170
  return typeof e == "object" && !!e && "__sentry_template_string__" in e && "__sentry_template_values__" in e;
176
171
  }
177
- function ge(e) {
178
- return e === null || he(e) || typeof e != "object" && typeof e != "function";
172
+ function fe(e) {
173
+ return e === null || de(e) || typeof e != "object" && typeof e != "function";
179
174
  }
180
- function _e(e) {
181
- return y(e, "Object");
175
+ function pe(e) {
176
+ return C(e, "Object");
177
+ }
178
+ function me(e) {
179
+ return typeof e == "object" && !!e;
182
180
  }
183
- function ve(e) {
184
- return typeof Event < "u" && S(e, Event);
181
+ function he(e) {
182
+ return typeof Event < "u" && E(e, Event);
185
183
  }
186
- function ye(e) {
187
- return y(e, "RegExp");
184
+ function ge(e) {
185
+ return C(e, "RegExp");
188
186
  }
189
- function x(e) {
187
+ function T(e) {
190
188
  return !!(e != null && e.then && typeof e.then == "function");
191
189
  }
192
- function S(e, t) {
190
+ function E(e, t) {
193
191
  try {
194
192
  return e instanceof t;
195
193
  } catch {
196
194
  return !1;
197
195
  }
198
196
  }
199
- function be(e) {
200
- return typeof Request < "u" && S(e, Request);
197
+ function _e(e) {
198
+ return typeof Request < "u" && E(e, Request);
201
199
  }
202
200
  //#endregion
203
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/object.js
204
- function xe(t, n, r) {
201
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/object.js
202
+ function ve(t, n, r) {
205
203
  if (!(n in t)) return;
206
204
  let i = t[n];
207
205
  if (typeof i != "function") return;
208
206
  let a = r(i);
209
- typeof a == "function" && Se(a, i);
207
+ typeof a == "function" && ye(a, i);
210
208
  try {
211
209
  t[n] = a;
212
210
  } catch {
213
211
  e && v.log(`Failed to replace method "${n}" in object`, t);
214
212
  }
215
213
  }
216
- function C(t, n, r) {
214
+ function D(t, n, r) {
217
215
  try {
218
216
  Object.defineProperty(t, n, {
219
217
  value: r,
@@ -224,142 +222,95 @@ function C(t, n, r) {
224
222
  e && v.log(`Failed to add non-enumerable property "${String(n)}" to object`, t);
225
223
  }
226
224
  }
227
- function Se(e, t) {
225
+ function ye(e, t) {
228
226
  try {
229
- e.prototype = t.prototype = t.prototype || {}, C(e, "__sentry_original__", t);
227
+ e.prototype = t.prototype = t.prototype || {}, D(e, "__sentry_original__", t);
230
228
  } catch {}
231
229
  }
232
- function Ce(e) {
230
+ function be(e) {
233
231
  return e.__sentry_original__;
234
232
  }
235
- function we(e) {
236
- if (de(e)) return {
233
+ function xe(e) {
234
+ if (se(e)) return {
237
235
  message: e.message,
238
236
  name: e.name,
239
237
  stack: e.stack,
240
- ...Te(e)
238
+ ...Se(e)
241
239
  };
242
- if (ve(e)) {
240
+ if (he(e)) {
243
241
  let { type: t, target: n, currentTarget: r, detail: i } = e;
244
242
  return {
245
243
  type: t,
246
244
  target: n,
247
245
  currentTarget: r,
248
246
  ...i ? { detail: i } : {},
249
- ...Te(e)
247
+ ...Se(e)
250
248
  };
251
249
  }
252
250
  return e;
253
251
  }
254
- function Te(e) {
255
- return typeof e == "object" && e ? Object.fromEntries(Object.entries(e)) : {};
252
+ function Se(e) {
253
+ return me(e) ? Object.fromEntries(Object.entries(e)) : {};
256
254
  }
257
- function Ee(e) {
258
- let t = Object.keys(we(e));
255
+ function Ce(e) {
256
+ let t = Object.keys(xe(e));
259
257
  return t.sort(), t[0] ? t.join(", ") : "[object has no keys]";
260
258
  }
261
259
  //#endregion
262
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/normalizationHints.js
263
- var De = /* @__PURE__ */ Symbol.for("sentry.skipNormalization"), Oe = /* @__PURE__ */ Symbol.for("sentry.overrideNormalizationDepth");
264
- function ke(e) {
265
- return !!e[De];
266
- }
267
- function Ae(e) {
268
- let t = e[Oe];
269
- return typeof t == "number" ? t : void 0;
270
- }
271
- //#endregion
272
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/stacktrace.js
273
- var je = 50, Me = /\(error: (.*)\)/, Ne = /captureMessage|captureException/;
274
- function Pe(...e) {
275
- let t = e.sort((e, t) => e[0] - t[0]).map((e) => e[1]);
276
- return (e, n = 0, r = 0) => {
277
- let i = [], a = e.split("\n");
278
- for (let e = n; e < a.length; e++) {
279
- let n = a[e];
280
- n.length > 1024 && (n = n.slice(0, 1024));
281
- let o = Me.test(n) ? n.replace(Me, "$1") : n;
282
- if (!o.includes("Error: ")) {
283
- for (let e of t) {
284
- let t = e(o);
285
- if (t) {
286
- i.push(t);
287
- break;
288
- }
289
- }
290
- if (i.length >= je + r) break;
291
- }
292
- }
293
- return Ie(i.slice(r));
294
- };
260
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/randomSafeContext.js
261
+ var O;
262
+ function k(e) {
263
+ if (O !== void 0) return O ? O(e) : e();
264
+ let n = /* @__PURE__ */ Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"), r = t;
265
+ return n in r && typeof r[n] == "function" ? (O = r[n], O(e)) : (O = null, e());
295
266
  }
296
- function Fe(e) {
297
- return Array.isArray(e) ? Pe(...e) : e;
298
- }
299
- function Ie(e) {
300
- if (!e.length) return [];
301
- let t = Array.from(e);
302
- return /sentryWrapped/.test(w(t).function || "") && t.pop(), t.reverse(), Ne.test(w(t).function || "") && (t.pop(), Ne.test(w(t).function || "") && t.pop()), t.slice(0, je).map((e) => ({
303
- ...e,
304
- filename: e.filename || w(t).filename,
305
- function: e.function || "?"
306
- }));
267
+ function A() {
268
+ return k(() => Math.random());
307
269
  }
308
- function w(e) {
309
- return e[e.length - 1] || {};
270
+ function we() {
271
+ return k(() => Date.now());
310
272
  }
311
- var T = "<anonymous>";
312
- function Le(e) {
313
- try {
314
- return !e || typeof e != "function" ? T : e.name || T;
315
- } catch {
316
- return T;
317
- }
273
+ //#endregion
274
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/normalizationHints.js
275
+ var Te = /* @__PURE__ */ Symbol.for("sentry.skipNormalization"), Ee = /* @__PURE__ */ Symbol.for("sentry.overrideNormalizationDepth");
276
+ function De(e) {
277
+ return !!e[Te];
318
278
  }
319
- function Re(e) {
320
- let t = e.exception;
321
- if (t) {
322
- let e = [];
323
- try {
324
- return t.values.forEach((t) => {
325
- t.stacktrace.frames && e.push(...t.stacktrace.frames);
326
- }), e;
327
- } catch {
328
- return;
329
- }
330
- }
279
+ function Oe(e) {
280
+ let t = e[Ee];
281
+ return typeof t == "number" ? t : void 0;
331
282
  }
332
283
  //#endregion
333
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/normalize.js
334
- var E;
335
- function ze(e) {
336
- E = e;
284
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/normalize.js
285
+ var j;
286
+ function ke(e) {
287
+ j = e;
337
288
  }
338
- function D(e, t = 100, n = Infinity) {
289
+ function M(e, t = 100, n = Infinity) {
339
290
  try {
340
- return O("", e, t, n);
291
+ return je("", e, t, n);
341
292
  } catch (e) {
342
293
  return { ERROR: `**non-serializable** (${e})` };
343
294
  }
344
295
  }
345
- function Be(e, t = 3, n = 100 * 1024) {
346
- let r = D(e, t);
347
- return We(r) > n ? Be(e, t - 1, n) : r;
296
+ function Ae(e, t = 3, n = 100 * 1024) {
297
+ let r = M(e, t);
298
+ return Fe(r) > n ? Ae(e, t - 1, n) : r;
348
299
  }
349
- function O(e, t, n = Infinity, r = Infinity, i = Ge()) {
300
+ function je(e, t, n = Infinity, r = Infinity, i = Ie()) {
350
301
  let [a, o] = i;
351
302
  if (t == null || ["boolean", "string"].includes(typeof t) || typeof t == "number" && Number.isFinite(t)) return t;
352
- let s = Ve(e, t);
303
+ let s = Me(e, t);
353
304
  if (!s.startsWith("[object ")) return s;
354
- if (ke(t)) return t;
355
- let c = Ae(t), l = c === void 0 ? n : c;
305
+ if (De(t)) return t;
306
+ let c = Oe(t), l = c === void 0 ? n : c;
356
307
  if (l === 0) return s.replace("object ", "");
357
308
  if (a(t)) return "[Circular ~]";
358
309
  let u = t;
359
310
  if (u && typeof u.toJSON == "function") try {
360
- return O("", u.toJSON(), l - 1, r, i);
311
+ return je("", u.toJSON(), l - 1, r, i);
361
312
  } catch {}
362
- let d = Array.isArray(t) ? [] : {}, f = 0, p = we(t);
313
+ let d = Array.isArray(t) ? [] : {}, f = 0, p = xe(t);
363
314
  for (let e in p) {
364
315
  if (!Object.prototype.hasOwnProperty.call(p, e)) continue;
365
316
  if (f >= r) {
@@ -367,32 +318,32 @@ function O(e, t, n = Infinity, r = Infinity, i = Ge()) {
367
318
  break;
368
319
  }
369
320
  let t = p[e];
370
- d[e] = O(e, t, l - 1, r, i), f++;
321
+ d[e] = je(e, t, l - 1, r, i), f++;
371
322
  }
372
323
  return o(t), d;
373
324
  }
374
- function Ve(e, t) {
325
+ function Me(e, t) {
375
326
  try {
376
- if (E) {
377
- let e = E(t);
327
+ if (j) {
328
+ let e = j(t);
378
329
  if (e) return e;
379
330
  }
380
- return typeof global < "u" && t === global ? "[Global]" : typeof t == "number" && !Number.isFinite(t) ? `[${t}]` : typeof t == "function" ? `[Function: ${Le(t)}]` : typeof t == "symbol" ? `[${String(t)}]` : typeof t == "bigint" ? `[BigInt: ${String(t)}]` : `[object ${He(t)}]`;
331
+ return typeof global < "u" && t === global ? "[Global]" : typeof t == "number" && !Number.isFinite(t) ? `[${t}]` : typeof t == "function" ? `[Function: ${ie(t)}]` : typeof t == "symbol" ? `[${String(t)}]` : typeof t == "bigint" ? `[BigInt: ${String(t)}]` : `[object ${Ne(t)}]`;
381
332
  } catch (e) {
382
333
  return `**non-serializable** (${e})`;
383
334
  }
384
335
  }
385
- function He(e) {
336
+ function Ne(e) {
386
337
  let t = Object.getPrototypeOf(e);
387
338
  return t != null && t.constructor ? t.constructor.name : "null prototype";
388
339
  }
389
- function Ue(e) {
340
+ function Pe(e) {
390
341
  return ~-encodeURI(e).split(/%..|./).length;
391
342
  }
392
- function We(e) {
393
- return Ue(JSON.stringify(e));
343
+ function Fe(e) {
344
+ return Pe(JSON.stringify(e));
394
345
  }
395
- function Ge() {
346
+ function Ie() {
396
347
  let e = /* @__PURE__ */ new WeakSet();
397
348
  function t(t) {
398
349
  return e.has(t) ? !0 : (e.add(t), !1);
@@ -403,72 +354,58 @@ function Ge() {
403
354
  return [t, n];
404
355
  }
405
356
  //#endregion
406
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/randomSafeContext.js
407
- var k;
408
- function A(e) {
409
- if (k !== void 0) return k ? k(e) : e();
410
- let t = /* @__PURE__ */ Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"), r = n;
411
- return t in r && typeof r[t] == "function" ? (k = r[t], k(e)) : (k = null, e());
412
- }
413
- function j() {
414
- return A(() => Math.random());
415
- }
416
- function Ke() {
417
- return A(() => Date.now());
418
- }
419
- //#endregion
420
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/string.js
421
- function M(e, t = 0) {
357
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/string.js
358
+ function N(e, t = 0) {
422
359
  return typeof e != "string" || t === 0 || e.length <= t ? e : `${e.slice(0, t)}...`;
423
360
  }
424
- function qe(e, t) {
361
+ function Le(e, t) {
425
362
  if (!Array.isArray(e)) return "";
426
363
  let n = [];
427
364
  for (let t = 0; t < e.length; t++) {
428
365
  let r = e[t];
429
- ge(r) ? n.push(String(r)) : r instanceof Error ? n.push(r.message ? `${r.name}: ${r.message}` : r.name) : n.push(Ve(void 0, r));
366
+ fe(r) ? n.push(String(r)) : r instanceof Error ? n.push(r.message ? `${r.name}: ${r.message}` : r.name) : n.push(Me(void 0, r));
430
367
  }
431
368
  return n.join(t);
432
369
  }
433
- function Je(e, t, n = !1) {
434
- return b(e) ? ye(t) ? t.test(e) : b(t) ? n ? e === t : e.includes(t) : typeof t == "function" ? t(e) : !1 : !1;
370
+ function Re(e, t, n = !1) {
371
+ return w(e) ? ge(t) ? t.test(e) : w(t) ? n ? e === t : e.includes(t) : typeof t == "function" && t(e) : !1;
435
372
  }
436
- function Ye(e, t = [], n = !1) {
437
- for (let r of t) if (Je(e, r, n)) return !0;
373
+ function ze(e, t = [], n = !1) {
374
+ for (let r of t) if (Re(e, r, n)) return !0;
438
375
  return !1;
439
376
  }
440
377
  //#endregion
441
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/misc.js
442
- function Xe() {
443
- let e = n;
378
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/misc.js
379
+ function Be() {
380
+ let e = t;
444
381
  return e.crypto || e.msCrypto;
445
382
  }
446
- var N;
447
- function Ze() {
448
- return j() * 16;
383
+ var P;
384
+ function Ve() {
385
+ return A() * 16;
449
386
  }
450
- function P(e = Xe()) {
387
+ function F(e = Be()) {
451
388
  try {
452
- if (e != null && e.randomUUID) return A(() => e.randomUUID()).replace(/-/g, "");
389
+ if (e != null && e.randomUUID) return k(() => e.randomUUID()).replace(/-/g, "");
453
390
  } catch {}
454
- return N || (N = "10000000100040008000100000000000"), N.replace(/[018]/g, (e) => (e ^ (Ze() & 15) >> e / 4).toString(16));
391
+ return P || (P = "10000000100040008000100000000000"), P.replace(/[018]/g, (e) => (e ^ (Ve() & 15) >> e / 4).toString(16));
455
392
  }
456
- function Qe(e) {
393
+ function He(e) {
457
394
  var t;
458
395
  return (t = e.exception) == null || (t = t.values) == null ? void 0 : t[0];
459
396
  }
460
- function $e(e) {
397
+ function Ue(e) {
461
398
  let { message: t, event_id: n } = e;
462
399
  if (t) return t;
463
- let r = Qe(e);
400
+ let r = He(e);
464
401
  return r ? r.type && r.value ? `${r.type}: ${r.value}` : r.type || r.value || n || "<unknown>" : n || "<unknown>";
465
402
  }
466
- function et(e, t, n) {
403
+ function We(e, t, n) {
467
404
  let r = e.exception = e.exception || {}, i = r.values = r.values || [], a = i[0] = i[0] || {};
468
405
  a.value || (a.value = t || ""), a.type || (a.type = n || "Error");
469
406
  }
470
- function tt(e, t) {
471
- let n = Qe(e);
407
+ function Ge(e, t) {
408
+ let n = He(e);
472
409
  if (!n) return;
473
410
  let r = {
474
411
  type: "generic",
@@ -486,69 +423,40 @@ function tt(e, t) {
486
423
  n.mechanism.data = e;
487
424
  }
488
425
  }
489
- function nt(e) {
490
- if (rt(e)) return !0;
426
+ function Ke(e) {
427
+ if (qe(e)) return !0;
491
428
  try {
492
- C(e, "__sentry_captured__", !0);
429
+ D(e, "__sentry_captured__", !0);
493
430
  } catch {}
494
431
  return !1;
495
432
  }
496
- function rt(e) {
433
+ function qe(e) {
497
434
  try {
498
435
  return e.__sentry_captured__;
499
436
  } catch {}
500
437
  }
501
438
  //#endregion
502
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/time.js
503
- var it = 1e3;
504
- function F() {
505
- return Ke() / it;
506
- }
507
- function at() {
508
- let { performance: e } = n;
509
- if (!(e != null && e.now) || !e.timeOrigin) return F;
510
- let t = e.timeOrigin;
511
- return () => (t + A(() => e.now())) / it;
512
- }
513
- var ot;
439
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/time.js
440
+ var Je = 1e3;
514
441
  function I() {
515
- var e;
516
- return ((e = ot) == null ? ot = at() : e)();
442
+ return we() / Je;
517
443
  }
518
- var st = "sentry.previous_trace_sample_rate", ct = "sentry.op", lt = "sentry.origin", ut = "sentry.profile_id", dt = "sentry.exclusive_time", ft = "gen_ai.conversation.id";
519
- //#endregion
520
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/weakRef.js
521
- function pt(e) {
522
- try {
523
- let t = n.WeakRef;
524
- if (typeof t == "function") return new t(e);
525
- } catch {}
526
- return e;
444
+ function Ye() {
445
+ let { performance: e } = t;
446
+ if (!(e != null && e.now) || !e.timeOrigin) return I;
447
+ let n = e.timeOrigin;
448
+ return () => (n + k(() => e.now())) / Je;
527
449
  }
528
- function mt(e) {
529
- if (e) {
530
- if (typeof e == "object" && "deref" in e && typeof e.deref == "function") try {
531
- return e.deref();
532
- } catch {
533
- return;
534
- }
535
- return e;
536
- }
537
- }
538
- //#endregion
539
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/spanOnScope.js
540
- var L = "_sentrySpan";
541
- function ht(e, t) {
542
- t ? C(e, L, pt(t)) : delete e[L];
543
- }
544
- function gt(e) {
545
- return mt(e[L]);
450
+ var Xe;
451
+ function L() {
452
+ var e;
453
+ return ((e = Xe) == null ? Xe = Ye() : e)();
546
454
  }
547
455
  //#endregion
548
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/session.js
549
- function _t(e) {
550
- let t = I(), n = {
551
- sid: P(),
456
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/session.js
457
+ function Ze(e) {
458
+ let t = L(), n = {
459
+ sid: F(),
552
460
  init: !0,
553
461
  timestamp: t,
554
462
  started: t,
@@ -556,12 +464,12 @@ function _t(e) {
556
464
  status: "ok",
557
465
  errors: 0,
558
466
  ignoreDuration: !1,
559
- toJSON: () => yt(n)
467
+ toJSON: () => $e(n)
560
468
  };
561
469
  return e && R(n, e), n;
562
470
  }
563
471
  function R(e, t = {}) {
564
- if (t.user && (!e.ipAddress && t.user.ip_address && (e.ipAddress = t.user.ip_address), !e.did && !t.did && (e.did = t.user.id || t.user.email || t.user.username)), e.timestamp = t.timestamp || I(), t.abnormal_mechanism && (e.abnormal_mechanism = t.abnormal_mechanism), t.ignoreDuration && (e.ignoreDuration = t.ignoreDuration), t.sid && (e.sid = t.sid.length === 32 ? t.sid : P()), t.init !== void 0 && (e.init = t.init), !e.did && t.did && (e.did = `${t.did}`), typeof t.started == "number" && (e.started = t.started), e.ignoreDuration) e.duration = void 0;
472
+ if (t.user && (!e.ipAddress && t.user.ip_address && (e.ipAddress = t.user.ip_address), !e.did && !t.did && (e.did = t.user.id || t.user.email || t.user.username)), e.timestamp = t.timestamp || L(), t.abnormal_mechanism && (e.abnormal_mechanism = t.abnormal_mechanism), t.ignoreDuration && (e.ignoreDuration = t.ignoreDuration), t.sid && (e.sid = t.sid.length === 32 ? t.sid : F()), t.init !== void 0 && (e.init = t.init), !e.did && t.did && (e.did = `${t.did}`), typeof t.started == "number" && (e.started = t.started), e.ignoreDuration) e.duration = void 0;
565
473
  else if (typeof t.duration == "number") e.duration = t.duration;
566
474
  else {
567
475
  let t = e.timestamp - e.started;
@@ -569,11 +477,11 @@ function R(e, t = {}) {
569
477
  }
570
478
  t.release && (e.release = t.release), t.environment && (e.environment = t.environment), !e.ipAddress && t.ipAddress && (e.ipAddress = t.ipAddress), !e.userAgent && t.userAgent && (e.userAgent = t.userAgent), typeof t.errors == "number" && (e.errors = t.errors), t.status && (e.status = t.status);
571
479
  }
572
- function vt(e, t) {
480
+ function Qe(e, t) {
573
481
  let n = {};
574
482
  t ? n = { status: t } : e.status === "ok" && (n = { status: "exited" }), R(e, n);
575
483
  }
576
- function yt(e) {
484
+ function $e(e) {
577
485
  return {
578
486
  sid: `${e.sid}`,
579
487
  init: e.init,
@@ -593,7 +501,7 @@ function yt(e) {
593
501
  };
594
502
  }
595
503
  //#endregion
596
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/merge.js
504
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/merge.js
597
505
  function z(e, t, n = 2) {
598
506
  if (!t || typeof t != "object" || n <= 0) return t;
599
507
  if (e && Object.keys(t).length === 0) return e;
@@ -602,25 +510,53 @@ function z(e, t, n = 2) {
602
510
  return r;
603
511
  }
604
512
  //#endregion
605
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/propagationContext.js
606
- function bt() {
607
- return P();
513
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/propagationContext.js
514
+ function et() {
515
+ return F();
608
516
  }
609
- function xt() {
610
- return P().substring(16);
517
+ function tt() {
518
+ return F().substring(16);
611
519
  }
612
520
  //#endregion
613
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/scope.js
614
- var St = 100, B = class t {
521
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/weakRef.js
522
+ function nt(e) {
523
+ try {
524
+ let n = t.WeakRef;
525
+ if (typeof n == "function") return new n(e);
526
+ } catch {}
527
+ return e;
528
+ }
529
+ function rt(e) {
530
+ if (e) {
531
+ if (typeof e == "object" && "deref" in e && typeof e.deref == "function") try {
532
+ return e.deref();
533
+ } catch {
534
+ return;
535
+ }
536
+ return e;
537
+ }
538
+ }
539
+ //#endregion
540
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/spanOnScope.js
541
+ var B = "_sentrySpan";
542
+ function it(e, t) {
543
+ t ? D(e, B, nt(t)) : delete e[B];
544
+ }
545
+ function at(e) {
546
+ return rt(e[B]);
547
+ }
548
+ //#endregion
549
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/scope.js
550
+ var ot = 100, V = class t {
615
551
  constructor() {
616
552
  this._notifyingListeners = !1, this._scopeListeners = [], this._eventProcessors = [], this._breadcrumbs = [], this._attachments = [], this._user = {}, this._tags = {}, this._attributes = {}, this._extra = {}, this._contexts = {}, this._sdkProcessingMetadata = {}, this._propagationContext = {
617
- traceId: bt(),
618
- sampleRand: j()
553
+ traceId: et(),
554
+ sampleRand: A()
619
555
  };
620
556
  }
621
557
  clone() {
622
558
  let e = new t();
623
- return e._breadcrumbs = [...this._breadcrumbs], e._tags = { ...this._tags }, e._attributes = { ...this._attributes }, e._extra = { ...this._extra }, e._contexts = { ...this._contexts }, this._contexts.flags && (e._contexts.flags = { values: [...this._contexts.flags.values] }), e._user = this._user, e._level = this._level, e._session = this._session, e._transactionName = this._transactionName, e._fingerprint = this._fingerprint, e._eventProcessors = [...this._eventProcessors], e._attachments = [...this._attachments], e._sdkProcessingMetadata = { ...this._sdkProcessingMetadata }, e._propagationContext = { ...this._propagationContext }, e._client = this._client, e._lastEventId = this._lastEventId, e._conversationId = this._conversationId, ht(e, gt(this)), e;
559
+ return e._breadcrumbs = [...this._breadcrumbs], e._tags = { ...this._tags }, e._attributes = { ...this._attributes }, e._extra = { ...this._extra }, e._contexts = { ...this._contexts }, this._contexts.flags && (e._contexts.flags = { values: [...this._contexts.flags.values] }), e._user = this._user, e._level = this._level, e._session = this._session, e._transactionName = this._transactionName, e._fingerprint = this._fingerprint, e._eventProcessors = [...this._eventProcessors], e._attachments = [...this._attachments], e._sdkProcessingMetadata = { ...this._sdkProcessingMetadata }, e._propagationContext = { ...this._propagationContext }, e._client = this._client, e._lastEventId = this._lastEventId, e._conversationId = this._conversationId, it(e, at(this)), e;
624
560
  }
625
561
  setClient(e) {
626
562
  this._client = e;
@@ -707,7 +643,7 @@ var St = 100, B = class t {
707
643
  }
708
644
  update(e) {
709
645
  if (!e) return this;
710
- let n = typeof e == "function" ? e(this) : e, { tags: r, attributes: i, extra: a, user: o, contexts: s, level: c, fingerprint: l = [], propagationContext: u, conversationId: d } = (n instanceof t ? n.getScopeData() : _e(n) ? e : void 0) || {};
646
+ let n = typeof e == "function" ? e(this) : e, { tags: r, attributes: i, extra: a, user: o, contexts: s, level: c, fingerprint: l = [], propagationContext: u, conversationId: d } = (n instanceof t ? n.getScopeData() : pe(n) ? e : void 0) || {};
711
647
  return this._tags = {
712
648
  ...this._tags,
713
649
  ...r
@@ -723,18 +659,18 @@ var St = 100, B = class t {
723
659
  }, o && Object.keys(o).length && (this._user = o), c && (this._level = c), l.length && (this._fingerprint = l), u && (this._propagationContext = u), d && (this._conversationId = d), this;
724
660
  }
725
661
  clear() {
726
- return this._breadcrumbs = [], this._tags = {}, this._attributes = {}, this._extra = {}, this._user = {}, this._contexts = {}, this._level = void 0, this._transactionName = void 0, this._fingerprint = void 0, this._session = void 0, this._conversationId = void 0, ht(this, void 0), this._attachments = [], this.setPropagationContext({
727
- traceId: bt(),
728
- sampleRand: j()
662
+ return this._breadcrumbs = [], this._tags = {}, this._attributes = {}, this._extra = {}, this._user = {}, this._contexts = {}, this._level = void 0, this._transactionName = void 0, this._fingerprint = void 0, this._session = void 0, this._conversationId = void 0, it(this, void 0), this._attachments = [], this.setPropagationContext({
663
+ traceId: et(),
664
+ sampleRand: A()
729
665
  }), this._notifyScopeListeners(), this;
730
666
  }
731
667
  addBreadcrumb(e, t) {
732
- let n = typeof t == "number" ? t : St;
668
+ let n = typeof t == "number" ? t : ot;
733
669
  if (n <= 0) return this;
734
670
  let r = {
735
- timestamp: F(),
671
+ timestamp: I(),
736
672
  ...e,
737
- message: e.message ? M(e.message, 2048) : e.message
673
+ message: e.message ? N(e.message, 2048) : e.message
738
674
  };
739
675
  if (this._breadcrumbs.push(r), this._breadcrumbs.length > n) {
740
676
  var i;
@@ -769,7 +705,7 @@ var St = 100, B = class t {
769
705
  propagationContext: this._propagationContext,
770
706
  sdkProcessingMetadata: this._sdkProcessingMetadata,
771
707
  transactionName: this._transactionName,
772
- span: gt(this),
708
+ span: at(this),
773
709
  conversationId: this._conversationId
774
710
  };
775
711
  }
@@ -783,7 +719,7 @@ var St = 100, B = class t {
783
719
  return this._propagationContext;
784
720
  }
785
721
  captureException(t, n) {
786
- let r = (n == null ? void 0 : n.event_id) || P();
722
+ let r = (n == null ? void 0 : n.event_id) || F();
787
723
  if (!this._client) return e && v.warn("No client configured on scope - will not capture exception!"), r;
788
724
  let i = /* @__PURE__ */ Error("Sentry syntheticException");
789
725
  return this._client.captureException(t, {
@@ -795,7 +731,7 @@ var St = 100, B = class t {
795
731
  }
796
732
  captureMessage(t, n, r) {
797
733
  var i;
798
- let a = (r == null ? void 0 : r.event_id) || P();
734
+ let a = (r == null ? void 0 : r.event_id) || F();
799
735
  if (!this._client) return e && v.warn("No client configured on scope - will not capture message!"), a;
800
736
  let o = (i = r == null ? void 0 : r.syntheticException) == null ? Error(t) : i;
801
737
  return this._client.captureMessage(t, n, {
@@ -806,7 +742,7 @@ var St = 100, B = class t {
806
742
  }, this), a;
807
743
  }
808
744
  captureEvent(t, n) {
809
- let r = t.event_id || (n == null ? void 0 : n.event_id) || P();
745
+ let r = t.event_id || (n == null ? void 0 : n.event_id) || F();
810
746
  return this._client ? (this._client.captureEvent(t, {
811
747
  ...n,
812
748
  event_id: r
@@ -819,21 +755,21 @@ var St = 100, B = class t {
819
755
  }
820
756
  };
821
757
  //#endregion
822
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/defaultScopes.js
823
- function Ct() {
824
- return a("defaultCurrentScope", () => new B());
758
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/defaultScopes.js
759
+ function st() {
760
+ return a("defaultCurrentScope", () => new V());
825
761
  }
826
- function wt() {
827
- return a("defaultIsolationScope", () => new B());
762
+ function ct() {
763
+ return a("defaultIsolationScope", () => new V());
828
764
  }
829
765
  //#endregion
830
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/chain-and-copy-promiselike.js
831
- var Tt = (e) => e instanceof Promise && !e[Et], Et = /* @__PURE__ */ Symbol("chained PromiseLike"), Dt = (e, t, n) => {
766
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/chain-and-copy-promiselike.js
767
+ var lt = (e) => e instanceof Promise && !e[ut], ut = /* @__PURE__ */ Symbol("chained PromiseLike"), dt = (e, t, n) => {
832
768
  let r = e.then((e) => (t(e), e), (e) => {
833
769
  throw n(e), e;
834
770
  });
835
- return Tt(r) && Tt(e) ? r : Ot(e, r);
836
- }, Ot = (e, t) => {
771
+ return lt(r) && lt(e) ? r : ft(e, r);
772
+ }, ft = (e, t) => {
837
773
  if (!t) return e;
838
774
  let n = !1;
839
775
  for (let r in e) {
@@ -847,13 +783,13 @@ var Tt = (e) => e instanceof Promise && !e[Et], Et = /* @__PURE__ */ Symbol("cha
847
783
  writable: !0
848
784
  }) : t[r] = i;
849
785
  }
850
- return n && Object.assign(t, { [Et]: !0 }), t;
851
- }, kt = class {
786
+ return n && Object.assign(t, { [ut]: !0 }), t;
787
+ }, pt = class {
852
788
  constructor(e, t) {
853
789
  let n;
854
- n = e || new B();
790
+ n = e || new V();
855
791
  let r;
856
- r = t || new B(), this._stack = [{ scope: n }], this._isolationScope = r;
792
+ r = t || new V(), this._stack = [{ scope: n }], this._isolationScope = r;
857
793
  }
858
794
  withScope(e) {
859
795
  let t = this._pushScope(), n;
@@ -862,7 +798,7 @@ var Tt = (e) => e instanceof Promise && !e[Et], Et = /* @__PURE__ */ Symbol("cha
862
798
  } catch (e) {
863
799
  throw this._popScope(), e;
864
800
  }
865
- return x(n) ? Dt(n, () => this._popScope(), () => this._popScope()) : (this._popScope(), n);
801
+ return T(n) ? dt(n, () => this._popScope(), () => this._popScope()) : (this._popScope(), n);
866
802
  }
867
803
  getClient() {
868
804
  return this.getStackTop().client;
@@ -887,79 +823,129 @@ var Tt = (e) => e instanceof Promise && !e[Et], Et = /* @__PURE__ */ Symbol("cha
887
823
  return this._stack.length <= 1 ? !1 : !!this._stack.pop();
888
824
  }
889
825
  };
890
- function V() {
826
+ function H() {
891
827
  let e = i(r());
892
- return e.stack = e.stack || new kt(Ct(), wt());
828
+ return e.stack = e.stack || new pt(st(), ct());
893
829
  }
894
- function At(e) {
895
- return V().withScope(e);
830
+ function mt(e) {
831
+ return H().withScope(e);
896
832
  }
897
- function jt(e, t) {
898
- let n = V();
833
+ function ht(e, t) {
834
+ let n = H();
899
835
  return n.withScope(() => (n.getStackTop().scope = e, t(e)));
900
836
  }
901
- function Mt(e) {
902
- return V().withScope(() => e(V().getIsolationScope()));
837
+ function gt(e) {
838
+ return H().withScope(() => e(H().getIsolationScope()));
903
839
  }
904
- function Nt() {
840
+ function _t() {
905
841
  return {
906
- withIsolationScope: Mt,
907
- withScope: At,
908
- withSetScope: jt,
909
- withSetIsolationScope: (e, t) => Mt(t),
910
- getCurrentScope: () => V().getScope(),
911
- getIsolationScope: () => V().getIsolationScope()
842
+ withIsolationScope: gt,
843
+ withScope: mt,
844
+ withSetScope: ht,
845
+ withSetIsolationScope: (e, t) => gt(t),
846
+ getCurrentScope: () => H().getScope(),
847
+ getIsolationScope: () => H().getIsolationScope()
912
848
  };
913
849
  }
914
850
  //#endregion
915
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/asyncContext/index.js
916
- function H(e) {
851
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/asyncContext/index.js
852
+ function U(e) {
917
853
  let t = i(e);
918
- return t.acs ? t.acs : Nt();
854
+ return t.acs ? t.acs : _t();
919
855
  }
920
856
  //#endregion
921
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/currentScopes.js
922
- var Pt;
923
- function Ft() {
924
- return Pt == null ? void 0 : Pt();
857
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/attributes.js
858
+ function vt(e) {
859
+ return typeof e == "object" && !!e && !Array.isArray(e) && Object.keys(e).includes("value");
860
+ }
861
+ function yt(e, t) {
862
+ let { value: n, unit: r } = vt(e) ? e : {
863
+ value: e,
864
+ unit: void 0
865
+ }, i = xt(n), a = r && typeof r == "string" ? { unit: r } : {};
866
+ if (i) return {
867
+ ...i,
868
+ ...a
869
+ };
870
+ if (!t || t === "skip-undefined" && n === void 0) return;
871
+ let o = "";
872
+ try {
873
+ var s;
874
+ o = (s = JSON.stringify(n)) == null ? "" : s;
875
+ } catch {}
876
+ return {
877
+ value: o,
878
+ type: "string",
879
+ ...a
880
+ };
925
881
  }
926
- function U() {
927
- return H(r()).getCurrentScope();
882
+ function bt(e, t = !1) {
883
+ let n = {};
884
+ for (let [r, i] of Object.entries(e == null ? {} : e)) {
885
+ let e = yt(i, t);
886
+ e && (n[r] = e);
887
+ }
888
+ return n;
889
+ }
890
+ function xt(e) {
891
+ if (Array.isArray(e)) return {
892
+ value: e,
893
+ type: "array"
894
+ };
895
+ let t = typeof e == "string" ? "string" : typeof e == "boolean" ? "boolean" : typeof e == "number" && !Number.isNaN(e) ? Number.isInteger(e) ? "integer" : "double" : null;
896
+ if (t) return {
897
+ value: e,
898
+ type: t
899
+ };
900
+ }
901
+ //#endregion
902
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/currentScopes.js
903
+ var St;
904
+ function Ct() {
905
+ return St == null ? void 0 : St();
928
906
  }
929
907
  function W() {
930
- return H(r()).getIsolationScope();
908
+ return U(r()).getCurrentScope();
909
+ }
910
+ function G() {
911
+ return U(r()).getIsolationScope();
931
912
  }
932
- function It() {
933
- return a("globalScope", () => new B());
913
+ function wt() {
914
+ return a("globalScope", () => new V());
934
915
  }
935
- function Lt(...e) {
936
- let t = H(r());
916
+ function Tt(...e) {
917
+ let t = U(r());
937
918
  if (e.length === 2) {
938
919
  let [n, r] = e;
939
920
  return n ? t.withSetScope(n, r) : t.withScope(r);
940
921
  }
941
922
  return t.withScope(e[0]);
942
923
  }
943
- function G() {
944
- return U().getClient();
924
+ function K() {
925
+ return W().getClient();
945
926
  }
946
- function Rt(e) {
947
- let t = Ft();
927
+ function Et(e) {
928
+ let t = Ct();
948
929
  if (t) return {
949
930
  trace_id: t.traceId,
950
931
  span_id: t.spanId
951
932
  };
952
933
  let { traceId: n, parentSpanId: r, propagationSpanId: i } = e.getPropagationContext(), a = {
953
934
  trace_id: n,
954
- span_id: i || xt()
935
+ span_id: i || tt()
955
936
  };
956
937
  return r && (a.parent_span_id = r), a;
957
938
  }
958
- //#endregion
959
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/constants.js
960
- var zt = "production";
961
- function Bt(e) {
962
- let t = Vt(e);
939
+ var Dt = "sentry.previous_trace_sample_rate", Ot = "sentry.op", kt = "sentry.origin", At = "sentry.profile_id", jt = "sentry.exclusive_time", Mt = "gen_ai.conversation.id", Nt = "_sentryScope", Pt = "_sentryIsolationScope";
940
+ function q(e) {
941
+ let t = e;
942
+ return {
943
+ scope: t[Nt],
944
+ isolationScope: rt(t[Pt])
945
+ };
946
+ }
947
+ function Ft(e) {
948
+ let t = It(e);
963
949
  if (!t) return;
964
950
  let n = Object.entries(t).reduce((e, [t, n]) => {
965
951
  if (t.startsWith("sentry-")) {
@@ -970,15 +956,15 @@ function Bt(e) {
970
956
  }, {});
971
957
  if (Object.keys(n).length > 0) return n;
972
958
  }
973
- function Vt(e) {
974
- if (!(!e || !b(e) && !Array.isArray(e))) return Array.isArray(e) ? e.reduce((e, t) => {
975
- let n = Ht(t);
959
+ function It(e) {
960
+ if (!(!e || !w(e) && !Array.isArray(e))) return Array.isArray(e) ? e.reduce((e, t) => {
961
+ let n = Lt(t);
976
962
  return Object.entries(n).forEach(([t, n]) => {
977
963
  e[t] = n;
978
964
  }), e;
979
- }, {}) : Ht(e);
965
+ }, {}) : Lt(e);
980
966
  }
981
- function Ht(e) {
967
+ function Lt(e) {
982
968
  return e.split(",").map((e) => {
983
969
  let t = e.indexOf("=");
984
970
  return t === -1 ? [] : [e.slice(0, t), e.slice(t + 1)].map((e) => {
@@ -991,78 +977,81 @@ function Ht(e) {
991
977
  }).reduce((e, [t, n]) => (t && n && (e[t] = n), e), {});
992
978
  }
993
979
  //#endregion
994
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/hasSpansEnabled.js
995
- function Ut(e) {
996
- var t;
997
- if (typeof __SENTRY_TRACING__ == "boolean" && !__SENTRY_TRACING__) return !1;
998
- let n = e || ((t = G()) == null ? void 0 : t.getOptions());
999
- return !!n && (n.tracesSampleRate != null || !!n.tracesSampler);
980
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/dsn.js
981
+ var Rt = /^o(\d+)\./, zt = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;
982
+ function Bt(e) {
983
+ return e === "http" || e === "https";
1000
984
  }
1001
- //#endregion
1002
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/attributes.js
1003
- function Wt(e) {
1004
- return typeof e == "object" && !!e && !Array.isArray(e) && Object.keys(e).includes("value");
985
+ function Vt(e, t = !1) {
986
+ let { host: n, path: r, pass: i, port: a, projectId: o, protocol: s, publicKey: c } = e;
987
+ return `${s}://${c}${t && i ? `:${i}` : ""}@${n}${a ? `:${a}` : ""}/${r && `${r}/`}${o}`;
1005
988
  }
1006
- function Gt(e, t) {
1007
- let { value: n, unit: r } = Wt(e) ? e : {
1008
- value: e,
1009
- unit: void 0
1010
- }, i = qt(n), a = r && typeof r == "string" ? { unit: r } : {};
1011
- if (i) return {
1012
- ...i,
1013
- ...a
1014
- };
1015
- if (!t || t === "skip-undefined" && n === void 0) return;
1016
- let o = "";
1017
- try {
1018
- var s;
1019
- o = (s = JSON.stringify(n)) == null ? "" : s;
1020
- } catch {}
989
+ function Ht(e) {
990
+ let t = zt.exec(e);
991
+ if (!t) {
992
+ l(() => {
993
+ console.error(`Invalid Sentry Dsn: ${e}`);
994
+ });
995
+ return;
996
+ }
997
+ let [n, r, i = "", a = "", o = "", s = ""] = t.slice(1), c = "", u = s, d = u.split("/");
998
+ if (d.length > 1 && (c = d.slice(0, -1).join("/"), u = d.pop()), u) {
999
+ let e = u.match(/^\d+/);
1000
+ e && (u = e[0]);
1001
+ }
1002
+ return Ut({
1003
+ host: a,
1004
+ pass: i,
1005
+ path: c,
1006
+ projectId: u,
1007
+ port: o,
1008
+ protocol: n,
1009
+ publicKey: r
1010
+ });
1011
+ }
1012
+ function Ut(e) {
1021
1013
  return {
1022
- value: o,
1023
- type: "string",
1024
- ...a
1014
+ protocol: e.protocol,
1015
+ publicKey: e.publicKey || "",
1016
+ pass: e.pass || "",
1017
+ host: e.host,
1018
+ port: e.port || "",
1019
+ path: e.path || "",
1020
+ projectId: e.projectId
1025
1021
  };
1026
1022
  }
1027
- function Kt(e, t = !1) {
1028
- let n = {};
1029
- for (let [r, i] of Object.entries(e == null ? {} : e)) {
1030
- let e = Gt(i, t);
1031
- e && (n[r] = e);
1032
- }
1033
- return n;
1023
+ function Wt(t) {
1024
+ if (!e) return !0;
1025
+ let { port: n, projectId: r, protocol: i } = t;
1026
+ return [
1027
+ "protocol",
1028
+ "publicKey",
1029
+ "host",
1030
+ "projectId"
1031
+ ].find((e) => t[e] ? !1 : (v.error(`Invalid Sentry Dsn: ${e} missing`), !0)) ? !1 : r.match(/^\d+$/) ? Bt(i) ? n && isNaN(parseInt(n, 10)) ? (v.error(`Invalid Sentry Dsn: Invalid port ${n}`), !1) : !0 : (v.error(`Invalid Sentry Dsn: Invalid protocol ${i}`), !1) : (v.error(`Invalid Sentry Dsn: Invalid projectId ${r}`), !1);
1034
1032
  }
1035
- function qt(e) {
1036
- if (Array.isArray(e)) return {
1037
- value: e,
1038
- type: "array"
1039
- };
1040
- let t = typeof e == "string" ? "string" : typeof e == "boolean" ? "boolean" : typeof e == "number" && !Number.isNaN(e) ? Number.isInteger(e) ? "integer" : "double" : null;
1041
- if (t) return {
1042
- value: e,
1043
- type: t
1044
- };
1033
+ function Gt(e) {
1034
+ let t = e.match(Rt);
1035
+ return t == null ? void 0 : t[1];
1045
1036
  }
1046
- //#endregion
1047
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/tracing/utils.js
1048
- var Jt = "_sentryScope", Yt = "_sentryIsolationScope";
1049
- function K(e) {
1050
- let t = e;
1051
- return {
1052
- scope: t[Jt],
1053
- isolationScope: mt(t[Yt])
1054
- };
1037
+ function Kt(e) {
1038
+ let t = e.getOptions(), { host: n } = e.getDsn() || {}, r;
1039
+ return t.orgId ? r = String(t.orgId) : n && (r = Gt(n)), r;
1055
1040
  }
1056
- var Xt = !1;
1057
- function Zt(e) {
1058
- let { spanId: t, traceId: n, isRemote: r } = e.spanContext(), i = r ? t : q(e).parent_span_id, a = K(e).scope;
1041
+ function qt(e) {
1042
+ let t = typeof e == "string" ? Ht(e) : Ut(e);
1043
+ if (!(!t || !Wt(t))) return t;
1044
+ }
1045
+ var Jt = !1;
1046
+ function Yt(e) {
1047
+ let { spanId: t, traceId: n, isRemote: r } = e.spanContext(), i = r ? t : J(e).parent_span_id, a = q(e).scope;
1059
1048
  return {
1060
1049
  parent_span_id: i,
1061
- span_id: r ? (a == null ? void 0 : a.getPropagationContext().propagationSpanId) || xt() : t,
1050
+ span_id: r ? (a == null ? void 0 : a.getPropagationContext().propagationSpanId) || tt() : t,
1062
1051
  trace_id: n
1063
1052
  };
1064
1053
  }
1065
- function Qt(e) {
1054
+ function Xt(e) {
1066
1055
  if (e && e.length > 0) return e.map(({ context: { spanId: e, traceId: t, traceFlags: n, ...r }, attributes: i }) => ({
1067
1056
  span_id: e,
1068
1057
  trace_id: t,
@@ -1071,29 +1060,29 @@ function Qt(e) {
1071
1060
  ...r
1072
1061
  }));
1073
1062
  }
1074
- function $t(e) {
1075
- return typeof e == "number" ? en(e) : Array.isArray(e) ? e[0] + e[1] / 1e9 : e instanceof Date ? en(e.getTime()) : I();
1063
+ function Zt(e) {
1064
+ return typeof e == "number" ? Qt(e) : Array.isArray(e) ? e[0] + e[1] / 1e9 : e instanceof Date ? Qt(e.getTime()) : L();
1076
1065
  }
1077
- function en(e) {
1066
+ function Qt(e) {
1078
1067
  return e > 9999999999 ? e / 1e3 : e;
1079
1068
  }
1080
- function q(e) {
1081
- if (an(e)) return e.getSpanJSON();
1069
+ function J(e) {
1070
+ if (nn(e)) return e.getSpanJSON();
1082
1071
  let { spanId: t, traceId: n } = e.spanContext();
1083
- if (rn(e)) {
1072
+ if (tn(e)) {
1084
1073
  let { attributes: r, startTime: i, name: a, endTime: o, status: s, links: c } = e;
1085
1074
  return {
1086
1075
  span_id: t,
1087
1076
  trace_id: n,
1088
1077
  data: r,
1089
1078
  description: a,
1090
- parent_span_id: tn(e),
1091
- start_timestamp: $t(i),
1092
- timestamp: $t(o) || void 0,
1093
- status: sn(s),
1094
- op: r[ct],
1095
- origin: r[lt],
1096
- links: Qt(c)
1079
+ parent_span_id: $t(e),
1080
+ start_timestamp: Zt(i),
1081
+ timestamp: Zt(o) || void 0,
1082
+ status: an(s),
1083
+ op: r[Ot],
1084
+ origin: r[kt],
1085
+ links: Xt(c)
1097
1086
  };
1098
1087
  }
1099
1088
  return {
@@ -1103,60 +1092,68 @@ function q(e) {
1103
1092
  data: {}
1104
1093
  };
1105
1094
  }
1106
- function tn(e) {
1095
+ function $t(e) {
1107
1096
  var t;
1108
1097
  return "parentSpanId" in e ? e.parentSpanId : "parentSpanContext" in e ? (t = e.parentSpanContext) == null ? void 0 : t.spanId : void 0;
1109
1098
  }
1110
- function nn(e) {
1099
+ function en(e) {
1111
1100
  var t;
1112
1101
  return {
1113
1102
  ...e,
1114
- attributes: Kt(e.attributes),
1103
+ attributes: bt(e.attributes),
1115
1104
  links: (t = e.links) == null ? void 0 : t.map((e) => ({
1116
1105
  ...e,
1117
- attributes: Kt(e.attributes)
1106
+ attributes: bt(e.attributes)
1118
1107
  }))
1119
1108
  };
1120
1109
  }
1121
- function rn(e) {
1110
+ function tn(e) {
1122
1111
  let t = e;
1123
1112
  return !!t.attributes && !!t.startTime && !!t.name && !!t.endTime && !!t.status;
1124
1113
  }
1125
- function an(e) {
1114
+ function nn(e) {
1126
1115
  return typeof e.getSpanJSON == "function";
1127
1116
  }
1128
- function on(e) {
1117
+ function rn(e) {
1129
1118
  let { traceFlags: t } = e.spanContext();
1130
1119
  return t === 1;
1131
1120
  }
1132
- function sn(e) {
1121
+ function an(e) {
1133
1122
  if (!(!e || e.code === 0)) return e.code === 1 ? "ok" : e.message || "internal_error";
1134
1123
  }
1135
- var cn = "_sentryRootSpan", ln = un;
1136
- function un(e) {
1137
- return e[cn] || e;
1124
+ var on = "_sentryRootSpan", sn = cn;
1125
+ function cn(e) {
1126
+ return e[on] || e;
1138
1127
  }
1139
- function dn() {
1140
- Xt || (l(() => {
1128
+ function ln() {
1129
+ Jt || (l(() => {
1141
1130
  console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.");
1142
- }), Xt = !0);
1131
+ }), Jt = !0);
1143
1132
  }
1144
1133
  //#endregion
1145
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/tracing/sentryNonRecordingSpan.js
1146
- var fn = /* @__PURE__ */ Symbol.for("sentry.nonRecordingSpan");
1147
- function pn(e) {
1148
- return !!e && e[fn] === !0;
1134
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/hasSpansEnabled.js
1135
+ function un(e) {
1136
+ var t;
1137
+ if (typeof __SENTRY_TRACING__ == "boolean" && !__SENTRY_TRACING__) return !1;
1138
+ let n = e || ((t = K()) == null ? void 0 : t.getOptions());
1139
+ return !!n && (n.tracesSampleRate != null || !!n.tracesSampler);
1149
1140
  }
1150
1141
  //#endregion
1151
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/tracing/dynamicSamplingContext.js
1152
- var mn = "_frozenDsc";
1142
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/tracing/sentryNonRecordingSpan.js
1143
+ var dn = /* @__PURE__ */ Symbol.for("sentry.nonRecordingSpan");
1144
+ function fn(e) {
1145
+ return !!e && e[dn] === !0;
1146
+ }
1147
+ //#endregion
1148
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/constants.js
1149
+ var pn = "production", mn = "_frozenDsc";
1153
1150
  function hn(e, t) {
1154
1151
  let n = t.getOptions(), { publicKey: r } = t.getDsn() || {}, i = {
1155
1152
  environment: n.environment || "production",
1156
1153
  release: n.release,
1157
1154
  public_key: r,
1158
1155
  trace_id: e,
1159
- org_id: ce(t)
1156
+ org_id: Kt(t)
1160
1157
  };
1161
1158
  return t.emit("createDsc", i), i;
1162
1159
  }
@@ -1166,45 +1163,49 @@ function gn(e, t) {
1166
1163
  }
1167
1164
  function _n(e) {
1168
1165
  var t, n, r;
1169
- let i = G();
1166
+ let i = K();
1170
1167
  if (!i) return {};
1171
- let a = ln(e), o = q(a), s = o.data, c = a.spanContext().traceState, l = (t = (n = c == null ? void 0 : c.get("sentry.sample_rate")) == null ? s["sentry.sample_rate"] : n) == null ? s[st] : t;
1168
+ let a = sn(e), o = J(a), s = o.data, c = a.spanContext().traceState, l = (t = (n = c == null ? void 0 : c.get("sentry.sample_rate")) == null ? s["sentry.sample_rate"] : n) == null ? s[Dt] : t;
1172
1169
  function u(e) {
1173
1170
  return (typeof l == "number" || typeof l == "string") && (e.sample_rate = `${l}`), e;
1174
1171
  }
1175
1172
  let d = a[mn];
1176
1173
  if (d) return u(d);
1177
- if (pn(a) && !Ut(i.getOptions())) {
1178
- let e = K(a).scope;
1179
- if (e) return u({ ...gn(i, e) });
1174
+ let f = fn(a), p = f && a.dropReason === "ignored";
1175
+ if (f && (!un(i.getOptions()) || p)) {
1176
+ let e = q(a).scope;
1177
+ if (e) {
1178
+ let t = { ...gn(i, e) };
1179
+ return p && (t.sampled = "false"), u(t);
1180
+ }
1180
1181
  }
1181
- let f = c == null ? void 0 : c.get("sentry.dsc"), p = f && Bt(f);
1182
- if (p) return u(p);
1183
- let m = hn(e.spanContext().traceId, i), h = (r = s["sentry.source"]) == null ? s["sentry.span.source"] : r, g = o.description;
1184
- if (h !== "url" && g && (m.transaction = g), Ut()) {
1185
- var _, v;
1186
- m.sampled = String(on(a)), m.sample_rand = (_ = c == null ? void 0 : c.get("sentry.sample_rand")) == null ? (v = K(a).scope) == null ? void 0 : v.getPropagationContext().sampleRand.toString() : _;
1182
+ let m = c == null ? void 0 : c.get("sentry.dsc"), h = m && Ft(m);
1183
+ if (h) return u(h);
1184
+ let g = hn(e.spanContext().traceId, i), _ = (r = s["sentry.source"]) == null ? s["sentry.segment.name.source"] : r, v = o.description;
1185
+ if (_ !== "url" && v && (g.transaction = v), un()) {
1186
+ var y, b;
1187
+ g.sampled = String(rn(a)), g.sample_rand = (y = c == null ? void 0 : c.get("sentry.sample_rand")) == null ? (b = q(a).scope) == null ? void 0 : b.getPropagationContext().sampleRand.toString() : y;
1187
1188
  }
1188
- return u(m), i.emit("createDsc", m, a), m;
1189
+ return u(g), i.emit("createDsc", g, a), g;
1189
1190
  }
1190
1191
  //#endregion
1191
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/scopeData.js
1192
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/scopeData.js
1192
1193
  function vn(e, t) {
1193
1194
  let { fingerprint: n, span: r, breadcrumbs: i, sdkProcessingMetadata: a } = t;
1194
1195
  xn(e, t), r && wn(e, r), Tn(e, n), Sn(e, i), Cn(e, a);
1195
1196
  }
1196
1197
  function yn(e, t) {
1197
1198
  let { extra: n, tags: r, attributes: i, user: a, contexts: o, level: s, sdkProcessingMetadata: c, breadcrumbs: l, fingerprint: u, eventProcessors: d, attachments: f, propagationContext: p, transactionName: m, span: h } = t;
1198
- J(e, "extra", n), J(e, "tags", r), J(e, "attributes", i), J(e, "user", a), J(e, "contexts", o), e.sdkProcessingMetadata = z(e.sdkProcessingMetadata, c, 2), s && (e.level = s), m && (e.transactionName = m), h && (e.span = h), l.length && (e.breadcrumbs = [...e.breadcrumbs, ...l]), u.length && (e.fingerprint = [...e.fingerprint, ...u]), d.length && (e.eventProcessors = [...e.eventProcessors, ...d]), f.length && (e.attachments = [...e.attachments, ...f]), e.propagationContext = {
1199
+ Y(e, "extra", n), Y(e, "tags", r), Y(e, "attributes", i), Y(e, "user", a), Y(e, "contexts", o), e.sdkProcessingMetadata = z(e.sdkProcessingMetadata, c, 2), s && (e.level = s), m && (e.transactionName = m), h && (e.span = h), l.length && (e.breadcrumbs = [...e.breadcrumbs, ...l]), u.length && (e.fingerprint = [...e.fingerprint, ...u]), d.length && (e.eventProcessors = [...e.eventProcessors, ...d]), f.length && (e.attachments = [...e.attachments, ...f]), e.propagationContext = {
1199
1200
  ...e.propagationContext,
1200
1201
  ...p
1201
1202
  };
1202
1203
  }
1203
- function J(e, t, n) {
1204
+ function Y(e, t, n) {
1204
1205
  e[t] = z(e[t], n, 1);
1205
1206
  }
1206
1207
  function bn(e, t) {
1207
- let n = It().getScopeData();
1208
+ let n = wt().getScopeData();
1208
1209
  return e && yn(n, e.getScopeData()), t && yn(n, t.getScopeData()), n;
1209
1210
  }
1210
1211
  function xn(e, t) {
@@ -1235,22 +1236,22 @@ function Cn(e, t) {
1235
1236
  }
1236
1237
  function wn(e, t) {
1237
1238
  e.contexts = {
1238
- trace: Zt(t),
1239
+ trace: Yt(t),
1239
1240
  ...e.contexts
1240
1241
  }, e.sdkProcessingMetadata = {
1241
1242
  dynamicSamplingContext: _n(t),
1242
1243
  ...e.sdkProcessingMetadata
1243
1244
  };
1244
- let n = q(ln(t)).description;
1245
+ let n = J(sn(t)).description;
1245
1246
  n && !e.transaction && e.type === "transaction" && (e.transaction = n);
1246
1247
  }
1247
1248
  function Tn(e, t) {
1248
1249
  e.fingerprint = e.fingerprint ? Array.isArray(e.fingerprint) ? e.fingerprint : [e.fingerprint] : [], t && (e.fingerprint = e.fingerprint.concat(t)), e.fingerprint.length || delete e.fingerprint;
1249
1250
  }
1250
1251
  //#endregion
1251
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/syncpromise.js
1252
- var Y = 0, En = 1, Dn = 2;
1253
- function X(e) {
1252
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/syncpromise.js
1253
+ var X = 0, En = 1, Dn = 2;
1254
+ function Z(e) {
1254
1255
  return new kn((t) => {
1255
1256
  t(e);
1256
1257
  });
@@ -1262,7 +1263,7 @@ function On(e) {
1262
1263
  }
1263
1264
  var kn = class e {
1264
1265
  constructor(e) {
1265
- this._state = Y, this._handlers = [], this._runExecutor(e);
1266
+ this._state = X, this._handlers = [], this._runExecutor(e);
1266
1267
  }
1267
1268
  then(t, n) {
1268
1269
  return new e((e, r) => {
@@ -1307,7 +1308,7 @@ var kn = class e {
1307
1308
  });
1308
1309
  }
1309
1310
  _executeHandlers() {
1310
- if (this._state === Y) return;
1311
+ if (this._state === X) return;
1311
1312
  let e = this._handlers.slice();
1312
1313
  this._handlers = [], e.forEach((e) => {
1313
1314
  e[0] || (this._state === En && e[1](this._value), this._state === Dn && e[2](this._value), e[0] = !0);
@@ -1315,8 +1316,8 @@ var kn = class e {
1315
1316
  }
1316
1317
  _runExecutor(e) {
1317
1318
  let t = (e, t) => {
1318
- if (this._state === Y) {
1319
- if (x(t)) {
1319
+ if (this._state === X) {
1320
+ if (T(t)) {
1320
1321
  t.then(n, r);
1321
1322
  return;
1322
1323
  }
@@ -1335,30 +1336,30 @@ var kn = class e {
1335
1336
  }
1336
1337
  };
1337
1338
  //#endregion
1338
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/eventProcessors.js
1339
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/eventProcessors.js
1339
1340
  function An(e, t, n, r = 0) {
1340
1341
  try {
1341
- let i = Z(t, n, e, r);
1342
- return x(i) ? i : X(i);
1342
+ let i = jn(t, n, e, r);
1343
+ return T(i) ? i : Z(i);
1343
1344
  } catch (e) {
1344
1345
  return On(e);
1345
1346
  }
1346
1347
  }
1347
- function Z(t, n, r, i) {
1348
+ function jn(t, n, r, i) {
1348
1349
  let a = r[i];
1349
1350
  if (!t || !a) return t;
1350
1351
  let o = a({ ...t }, n);
1351
- return e && o === null && v.log(`Event processor "${a.id || "?"}" dropped event`), x(o) ? o.then((e) => Z(e, n, r, i + 1)) : Z(o, n, r, i + 1);
1352
+ return e && o === null && v.log(`Event processor "${a.id || "?"}" dropped event`), T(o) ? o.then((e) => jn(e, n, r, i + 1)) : jn(o, n, r, i + 1);
1352
1353
  }
1353
1354
  //#endregion
1354
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/debug-ids.js
1355
- var Q, jn, Mn, $;
1356
- function Nn(e) {
1357
- let t = n._sentryDebugIds, r = n._debugIds;
1358
- if (!t && !r) return {};
1359
- let i = t ? Object.keys(t) : [], a = r ? Object.keys(r) : [];
1360
- if ($ && i.length === jn && a.length === Mn) return $;
1361
- jn = i.length, Mn = a.length, $ = {}, Q || (Q = {});
1355
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/debug-ids.js
1356
+ var Q, Mn, Nn, $;
1357
+ function Pn(e) {
1358
+ let n = t._sentryDebugIds, r = t._debugIds;
1359
+ if (!n && !r) return {};
1360
+ let i = n ? Object.keys(n) : [], a = r ? Object.keys(r) : [];
1361
+ if ($ && i.length === Mn && a.length === Nn) return $;
1362
+ Mn = i.length, Nn = a.length, $ = {}, Q || (Q = {});
1362
1363
  let o = (t, n) => {
1363
1364
  for (let r of t) {
1364
1365
  let t = n[r], i = Q == null ? void 0 : Q[r];
@@ -1375,38 +1376,38 @@ function Nn(e) {
1375
1376
  }
1376
1377
  }
1377
1378
  };
1378
- return t && o(i, t), r && o(a, r), $;
1379
+ return n && o(i, n), r && o(a, r), $;
1379
1380
  }
1380
1381
  //#endregion
1381
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/utils/prepareEvent.js
1382
- function Pn(e, t, n, r, i, a) {
1382
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/utils/prepareEvent.js
1383
+ function Fn(e, t, n, r, i, a) {
1383
1384
  let { normalizeDepth: o = 3, normalizeMaxBreadth: s = 1e3 } = e, c = {
1384
1385
  ...t,
1385
- event_id: t.event_id || n.event_id || P(),
1386
- timestamp: t.timestamp || F()
1386
+ event_id: t.event_id || n.event_id || F(),
1387
+ timestamp: t.timestamp || I()
1387
1388
  }, l = n.integrations || e.integrations.map((e) => e.name);
1388
- Fn(c, e), Rn(c, l), i && i.emit("applyFrameMetadata", t), t.type === void 0 && In(c, e.stackParser);
1389
- let u = Bn(r, n.captureContext);
1390
- n.mechanism && tt(c, n.mechanism);
1389
+ In(c, e), zn(c, l), i && i.emit("applyFrameMetadata", t), t.type === void 0 && Ln(c, e.stackParser);
1390
+ let u = Vn(r, n.captureContext);
1391
+ n.mechanism && Ge(c, n.mechanism);
1391
1392
  let d = i ? i.getEventProcessors() : [], f = bn(a, u), p = [...n.attachments || [], ...f.attachments];
1392
1393
  p.length && (n.attachments = p), vn(c, f);
1393
1394
  let m = [...d, ...f.eventProcessors];
1394
- return (n.data && n.data.__sentry__ === !0 ? X(c) : An(m, c, n)).then((e) => (e && Ln(e), typeof o == "number" && o > 0 ? zn(e, o, s) : e));
1395
+ return (n.data && n.data.__sentry__ === !0 ? Z(c) : An(m, c, n)).then((e) => (e && Rn(e), typeof o == "number" && o > 0 ? Bn(e, o, s) : e));
1395
1396
  }
1396
- function Fn(e, t) {
1397
+ function In(e, t) {
1397
1398
  let { environment: n, release: r, dist: i, maxValueLength: a } = t;
1398
1399
  e.environment = e.environment || n || "production", !e.release && r && (e.release = r), !e.dist && i && (e.dist = i);
1399
1400
  let o = e.request;
1400
- if (o != null && o.url && a && (o.url = M(o.url, a)), a) {
1401
+ if (o != null && o.url && a && (o.url = N(o.url, a)), a) {
1401
1402
  var s;
1402
1403
  (s = e.exception) == null || (s = s.values) == null || s.forEach((e) => {
1403
- e.value && (e.value = M(e.value, a));
1404
+ e.value && (e.value = N(e.value, a));
1404
1405
  });
1405
1406
  }
1406
1407
  }
1407
- function In(e, t) {
1408
+ function Ln(e, t) {
1408
1409
  var n;
1409
- let r = Nn(t);
1410
+ let r = Pn(t);
1410
1411
  (n = e.exception) == null || (n = n.values) == null || n.forEach((e) => {
1411
1412
  var t;
1412
1413
  (t = e.stacktrace) == null || (t = t.frames) == null || t.forEach((e) => {
@@ -1414,7 +1415,7 @@ function In(e, t) {
1414
1415
  });
1415
1416
  });
1416
1417
  }
1417
- function Ln(e) {
1418
+ function Rn(e) {
1418
1419
  var t;
1419
1420
  let n = {};
1420
1421
  if ((t = e.exception) == null || (t = t.values) == null || t.forEach((e) => {
@@ -1433,39 +1434,39 @@ function Ln(e) {
1433
1434
  });
1434
1435
  });
1435
1436
  }
1436
- function Rn(e, t) {
1437
+ function zn(e, t) {
1437
1438
  t.length > 0 && (e.sdk = e.sdk || {}, e.sdk.integrations = [...e.sdk.integrations || [], ...t]);
1438
1439
  }
1439
- function zn(e, t, n) {
1440
+ function Bn(e, t, n) {
1440
1441
  var r, i;
1441
1442
  if (!e) return null;
1442
1443
  let a = {
1443
1444
  ...e,
1444
1445
  ...e.breadcrumbs && { breadcrumbs: e.breadcrumbs.map((e) => ({
1445
1446
  ...e,
1446
- ...e.data && { data: D(e.data, t, n) }
1447
+ ...e.data && { data: M(e.data, t, n) }
1447
1448
  })) },
1448
- ...e.user && { user: D(e.user, t, n) },
1449
- ...e.contexts && { contexts: D(e.contexts, t, n) },
1450
- ...e.extra && { extra: D(e.extra, t, n) }
1449
+ ...e.user && { user: M(e.user, t, n) },
1450
+ ...e.contexts && { contexts: M(e.contexts, t, n) },
1451
+ ...e.extra && { extra: M(e.extra, t, n) }
1451
1452
  };
1452
- return (r = e.contexts) != null && r.trace && a.contexts && (a.contexts.trace = e.contexts.trace, e.contexts.trace.data && (a.contexts.trace.data = D(e.contexts.trace.data, t, n))), e.spans && (a.spans = e.spans.map((e) => ({
1453
+ return (r = e.contexts) != null && r.trace && a.contexts && (a.contexts.trace = e.contexts.trace, e.contexts.trace.data && (a.contexts.trace.data = M(e.contexts.trace.data, t, n))), e.spans && (a.spans = e.spans.map((e) => ({
1453
1454
  ...e,
1454
- ...e.data && { data: D(e.data, t, n) }
1455
- }))), (i = e.contexts) != null && i.flags && a.contexts && (a.contexts.flags = D(e.contexts.flags, 3, n)), a;
1455
+ ...e.data && { data: M(e.data, t, n) }
1456
+ }))), (i = e.contexts) != null && i.flags && a.contexts && (a.contexts.flags = M(e.contexts.flags, 3, n)), a;
1456
1457
  }
1457
- function Bn(e, t) {
1458
+ function Vn(e, t) {
1458
1459
  if (!t) return e;
1459
- let n = e ? e.clone() : new B();
1460
+ let n = e ? e.clone() : new V();
1460
1461
  return n.update(t), n;
1461
1462
  }
1462
- function Vn(e) {
1463
- if (e) return Hn(e) || Wn(e) ? { captureContext: e } : e;
1464
- }
1465
1463
  function Hn(e) {
1466
- return e instanceof B || typeof e == "function";
1464
+ if (e) return Un(e) || Gn(e) ? { captureContext: e } : e;
1467
1465
  }
1468
- var Un = [
1466
+ function Un(e) {
1467
+ return e instanceof V || typeof e == "function";
1468
+ }
1469
+ var Wn = [
1469
1470
  "user",
1470
1471
  "level",
1471
1472
  "extra",
@@ -1474,51 +1475,51 @@ var Un = [
1474
1475
  "fingerprint",
1475
1476
  "propagationContext"
1476
1477
  ];
1477
- function Wn(e) {
1478
- return Object.keys(e).some((e) => Un.includes(e));
1478
+ function Gn(e) {
1479
+ return Object.keys(e).some((e) => Wn.includes(e));
1479
1480
  }
1480
1481
  //#endregion
1481
- //#region ../../node_modules/.pnpm/@sentry+core@10.62.0/node_modules/@sentry/core/build/esm/exports.js
1482
- function Gn(e, t) {
1483
- return U().captureException(e, Vn(t));
1484
- }
1482
+ //#region ../../node_modules/.pnpm/@sentry+core@10.68.0/node_modules/@sentry/core/build/esm/exports.js
1485
1483
  function Kn(e, t) {
1486
- return U().captureEvent(e, t);
1484
+ return W().captureException(e, Hn(t));
1487
1485
  }
1488
1486
  function qn(e, t) {
1489
- W().setContext(e, t);
1487
+ return W().captureEvent(e, t);
1490
1488
  }
1491
1489
  function Jn(e, t) {
1492
- W().setTag(e, t);
1490
+ G().setContext(e, t);
1491
+ }
1492
+ function Yn(e, t) {
1493
+ G().setTag(e, t);
1493
1494
  }
1494
- function Yn(e) {
1495
- W().setUser(e);
1495
+ function Xn(e) {
1496
+ G().setUser(e);
1496
1497
  }
1497
- function Xn() {
1498
- return W().lastEventId();
1498
+ function Zn() {
1499
+ return G().lastEventId();
1499
1500
  }
1500
- function Zn(e) {
1501
- let t = W(), { user: r } = bn(t, U()), { userAgent: i } = n.navigator || {}, a = _t({
1501
+ function Qn(e) {
1502
+ let n = G(), { user: r } = bn(n, W()), { userAgent: i } = t.navigator || {}, a = Ze({
1502
1503
  user: r,
1503
1504
  ...i && { userAgent: i },
1504
1505
  ...e
1505
- }), o = t.getSession();
1506
- return (o == null ? void 0 : o.status) === "ok" && R(o, { status: "exited" }), Qn(), t.setSession(a), a;
1507
- }
1508
- function Qn() {
1509
- let e = W(), t = U().getSession() || e.getSession();
1510
- t && vt(t), $n(), e.setSession();
1506
+ }), o = n.getSession();
1507
+ return (o == null ? void 0 : o.status) === "ok" && R(o, { status: "exited" }), $n(), n.setSession(a), a;
1511
1508
  }
1512
1509
  function $n() {
1513
- let e = W(), t = G(), n = e.getSession();
1510
+ let e = G(), t = W().getSession() || e.getSession();
1511
+ t && Qe(t), er(), e.setSession();
1512
+ }
1513
+ function er() {
1514
+ let e = G(), t = K(), n = e.getSession();
1514
1515
  n && t && t.captureSession(n);
1515
1516
  }
1516
- function er(e = !1) {
1517
+ function tr(e = !1) {
1517
1518
  if (e) {
1518
- Qn();
1519
+ $n();
1519
1520
  return;
1520
1521
  }
1521
- $n();
1522
+ er();
1522
1523
  }
1523
1524
  //#endregion
1524
- export { me as $, tt as A, D as B, R as C, ct as D, ut as E, Je as F, Le as G, ze as H, qe as I, Ee as J, Fe as K, Ye as L, nt as M, $e as N, F as O, P, pe as Q, Ke as R, z as S, dt as T, Pe as U, Be as V, Re as W, Ce as X, xe as Y, Se as Z, G as _, i as _t, qn as a, _e as at, Rt as b, e as bt, Zn as c, b as ct, X as d, le as dt, de as et, gn as f, o as ft, zt as g, a as gt, nn as h, c as ht, Xn as i, he as it, et as j, I as k, Pn as l, x as lt, q as m, v as mt, Gn as n, ve as nt, Jn as o, ge as ot, dn as p, l as pt, C as q, er as r, S as rt, Yn as s, be as st, Kn as t, fe as tt, On as u, re as ut, U as v, n as vt, ft as w, Lt as x, W as y, t as yt, j as z };
1525
+ export { ce as $, I as A, M as B, K as C, Tt as D, Et as E, Ue as F, D as G, ke as H, F as I, be as J, Ce as K, Re as L, Ge as M, We as N, z as O, Ke as P, se as Q, Le as R, Ot as S, G as T, we as U, Ae as V, A as W, le as X, ye as Y, ue as Z, Vt as _, a as _t, Jn as a, fe as at, jt as b, t as bt, Qn as c, T as ct, Z as d, ie as dt, he as et, gn as f, ne as ft, en as g, c as gt, J as h, v as ht, Zn as i, pe as it, L as j, R as k, Fn as l, te as lt, ln as m, l as mt, Kn as n, me as nt, Yn as o, _e as ot, pn as p, o as pt, ve as q, tr as r, de as rt, Xn as s, w as st, qn as t, E as tt, On as u, ae as ut, qt as v, i as vt, W as w, At as x, e as xt, Mt as y, n as yt, ze as z };