@its/core 2.6.2-alpha.1 → 2.6.3-beta.0
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.
- package/dist/core.es.js +791 -783
- package/package.json +1 -1
package/dist/core.es.js
CHANGED
|
@@ -79,19 +79,19 @@ const yZ = ci(af)({
|
|
|
79
79
|
}), Kh = ci(yn)({
|
|
80
80
|
justifyContent: "center",
|
|
81
81
|
alignItems: "center"
|
|
82
|
-
}),
|
|
82
|
+
}), vke = ci(po)({
|
|
83
83
|
justifyContent: "center",
|
|
84
84
|
alignItems: "center"
|
|
85
85
|
}), ih = ci(go)({
|
|
86
86
|
alignItems: "center",
|
|
87
87
|
justifyContent: "center"
|
|
88
|
-
}),
|
|
88
|
+
}), mke = ci(af)({
|
|
89
89
|
display: "grid",
|
|
90
90
|
gridTemplateColumns: "repeat(2, 1fr)",
|
|
91
91
|
width: "100%",
|
|
92
92
|
gap: "2rem",
|
|
93
93
|
overflow: "auto"
|
|
94
|
-
}),
|
|
94
|
+
}), yke = ci(af)({
|
|
95
95
|
display: "grid",
|
|
96
96
|
gridTemplateColumns: "repeat(3, 1fr)",
|
|
97
97
|
width: "100%",
|
|
@@ -100,7 +100,7 @@ const yZ = ci(af)({
|
|
|
100
100
|
});
|
|
101
101
|
var Sd = /* @__PURE__ */ ((e) => (e.DARK = "dark", e.LIGHT = "light", e))(Sd || {});
|
|
102
102
|
const $M = Pn(null);
|
|
103
|
-
function
|
|
103
|
+
function bke({
|
|
104
104
|
adapter: e,
|
|
105
105
|
children: t
|
|
106
106
|
}) {
|
|
@@ -150,7 +150,7 @@ function oS({ pending: e }) {
|
|
|
150
150
|
const [t] = ka();
|
|
151
151
|
return e ? /* @__PURE__ */ A(ih, { position: "relative", children: /* @__PURE__ */ A("div", { className: t === "dark" ? "loader" : "loaderLight" }) }) : /* @__PURE__ */ A(ih, { position: "relative", children: /* @__PURE__ */ A("div", { className: t === "dark" ? "loader" : "loaderLight" }) });
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function wke({ elementsPerPage: e, fragment: t, fragmentRef: n, getList: r }) {
|
|
154
154
|
const { data: i, loadNext: o, hasNext: a, isLoadingNext: s, refetch: u } = dX(t, n), { t: c } = jt(), l = ot(null), d = ot(null), h = vt(
|
|
155
155
|
(y) => {
|
|
156
156
|
!s && a ? (d.current && d.current.disconnect(), d.current = new IntersectionObserver((m) => {
|
|
@@ -212,7 +212,7 @@ function aS(e, t) {
|
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
214
|
const BM = Pn(null);
|
|
215
|
-
function
|
|
215
|
+
function _ke({ children: e }) {
|
|
216
216
|
const [t, n] = Ye(null), [r, i] = Ye(!0);
|
|
217
217
|
return Xe(() => {
|
|
218
218
|
t || fetch("/runtime-config.json").then((o) => o.json()).then((o) => {
|
|
@@ -242,7 +242,7 @@ function sS() {
|
|
|
242
242
|
function mT() {
|
|
243
243
|
return window.innerHeight > window.innerWidth;
|
|
244
244
|
}
|
|
245
|
-
function
|
|
245
|
+
function xke() {
|
|
246
246
|
const [e, t] = Ye(mT());
|
|
247
247
|
return Xe(() => {
|
|
248
248
|
function n() {
|
|
@@ -251,7 +251,7 @@ function _ke() {
|
|
|
251
251
|
return window.addEventListener("resize", n), () => window.removeEventListener("resize", n);
|
|
252
252
|
}, []), e;
|
|
253
253
|
}
|
|
254
|
-
function
|
|
254
|
+
function Eke() {
|
|
255
255
|
const [e, t] = Ye(!document.hidden), n = () => {
|
|
256
256
|
t(!document.hidden);
|
|
257
257
|
};
|
|
@@ -529,7 +529,7 @@ function YM() {
|
|
|
529
529
|
}
|
|
530
530
|
};
|
|
531
531
|
}
|
|
532
|
-
function
|
|
532
|
+
function Ske(e = 99) {
|
|
533
533
|
const [t, n] = Ye(!1), [r, i] = Ye(!1), [o, a] = Ye([]), [s, u] = na("tagDistance", 0);
|
|
534
534
|
window.stopRunningLocate = function() {
|
|
535
535
|
window.rfid.stop();
|
|
@@ -1048,7 +1048,7 @@ function NZ({
|
|
|
1048
1048
|
return [d, i.value, p];
|
|
1049
1049
|
}
|
|
1050
1050
|
const JM = Pn(null);
|
|
1051
|
-
function
|
|
1051
|
+
function Oke({
|
|
1052
1052
|
children: e,
|
|
1053
1053
|
doLogin: t,
|
|
1054
1054
|
pendingLogin: n,
|
|
@@ -1199,11 +1199,11 @@ const jZ = {
|
|
|
1199
1199
|
}
|
|
1200
1200
|
)
|
|
1201
1201
|
};
|
|
1202
|
-
function
|
|
1202
|
+
function Ake({ children: e, theme: t }) {
|
|
1203
1203
|
const [n] = ka(), r = FY($Z[n](t));
|
|
1204
1204
|
return /* @__PURE__ */ A(WY, { theme: r, children: e });
|
|
1205
1205
|
}
|
|
1206
|
-
function
|
|
1206
|
+
function Pke({
|
|
1207
1207
|
ChangePasswordWidget: e,
|
|
1208
1208
|
children: t,
|
|
1209
1209
|
title: n,
|
|
@@ -1302,7 +1302,7 @@ function Ake({
|
|
|
1302
1302
|
}
|
|
1303
1303
|
) });
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1305
|
+
function Tke({ callback: e, title: t, subtitle: n }) {
|
|
1306
1306
|
const { scannerActions: r } = PZ({
|
|
1307
1307
|
bufferName: "BadgeScanner",
|
|
1308
1308
|
callback: e
|
|
@@ -1327,7 +1327,7 @@ function Pke({ callback: e, title: t, subtitle: n }) {
|
|
|
1327
1327
|
}
|
|
1328
1328
|
);
|
|
1329
1329
|
}
|
|
1330
|
-
function
|
|
1330
|
+
function Cke({ id: e, children: t, ratio: n = 0, unit: r = 1 }) {
|
|
1331
1331
|
const i = 100 / n, o = Array.from({ length: n }).reduce(
|
|
1332
1332
|
(a, s, u) => {
|
|
1333
1333
|
const c = u * i, l = u % 2 === 0 ? 1 : 0;
|
|
@@ -1378,7 +1378,7 @@ function BZ() {
|
|
|
1378
1378
|
)
|
|
1379
1379
|
] });
|
|
1380
1380
|
}
|
|
1381
|
-
function
|
|
1381
|
+
function Ike({ root: e }) {
|
|
1382
1382
|
const [t, n] = Ye([e]), r = (o) => n((a) => [...a, o]), i = (o) => n((a) => a.slice(0, o + 1));
|
|
1383
1383
|
return /* @__PURE__ */ A(XM.Provider, { value: { crumbs: t, push: r, slice: i }, children: /* @__PURE__ */ A(BZ, {}) });
|
|
1384
1384
|
}
|
|
@@ -1521,7 +1521,7 @@ const UZ = "300px", HZ = "56px", ek = 0.5, VZ = ci(PX, {
|
|
|
1521
1521
|
backgroundColor: e.palette.background.paper
|
|
1522
1522
|
}
|
|
1523
1523
|
}));
|
|
1524
|
-
function
|
|
1524
|
+
function Mke({ children: e, Logo: t, theme: n, isIdle: r }) {
|
|
1525
1525
|
const { i18n: i } = jt(), o = Yh("(max-width: 600px)"), [a, s] = cS(), [u, c] = Km.toArray(e), l = i.dir();
|
|
1526
1526
|
return /* @__PURE__ */ Ae(
|
|
1527
1527
|
VZ,
|
|
@@ -1567,7 +1567,7 @@ function Ike({ children: e, Logo: t, theme: n, isIdle: r }) {
|
|
|
1567
1567
|
}
|
|
1568
1568
|
);
|
|
1569
1569
|
}
|
|
1570
|
-
function
|
|
1570
|
+
function kke({ onClick: e, isIdle: t }) {
|
|
1571
1571
|
const [n] = ka(), [r] = cS(), [i, o] = Ye(r);
|
|
1572
1572
|
Xe(() => {
|
|
1573
1573
|
t && r && (o(!1), e());
|
|
@@ -1677,7 +1677,7 @@ function qZ({
|
|
|
1677
1677
|
}
|
|
1678
1678
|
);
|
|
1679
1679
|
}
|
|
1680
|
-
function
|
|
1680
|
+
function Rke({
|
|
1681
1681
|
translation: e,
|
|
1682
1682
|
globalStateString: t,
|
|
1683
1683
|
defaultValue: n
|
|
@@ -4955,7 +4955,7 @@ function QZ({
|
|
|
4955
4955
|
}
|
|
4956
4956
|
const eJ = qh(MX)(({ theme: e }) => ({
|
|
4957
4957
|
backgroundColor: e.palette.background.paper
|
|
4958
|
-
})),
|
|
4958
|
+
})), Dke = ci(yn, {
|
|
4959
4959
|
shouldForwardProp: (e) => e !== "sidebarOpen" && e !== "dir" && e !== "hasSidebar" && e !== "backgroundImage" && e !== "backgroundRepeat" && e !== "backgroundSize" && e !== "isMobile"
|
|
4960
4960
|
})(
|
|
4961
4961
|
({
|
|
@@ -5568,7 +5568,7 @@ function uJ({
|
|
|
5568
5568
|
}
|
|
5569
5569
|
);
|
|
5570
5570
|
}
|
|
5571
|
-
function
|
|
5571
|
+
function Lke({
|
|
5572
5572
|
CustomAvatarIcon: e,
|
|
5573
5573
|
title: t,
|
|
5574
5574
|
displayValue: n,
|
|
@@ -5623,7 +5623,7 @@ function Dke({
|
|
|
5623
5623
|
);
|
|
5624
5624
|
}
|
|
5625
5625
|
var pl = /* @__PURE__ */ ((e) => (e.Before = "before", e.After = "after", e))(pl || {}), tk = /* @__PURE__ */ ((e) => (e.Column = "column", e.Row = "row", e))(tk || {});
|
|
5626
|
-
function
|
|
5626
|
+
function Nke({
|
|
5627
5627
|
id: e,
|
|
5628
5628
|
title: t,
|
|
5629
5629
|
width: n,
|
|
@@ -19570,7 +19570,7 @@ var Efe = {
|
|
|
19570
19570
|
}), {
|
|
19571
19571
|
setChartData: q4,
|
|
19572
19572
|
setDataStartEndIndexes: Sfe,
|
|
19573
|
-
setComputedData:
|
|
19573
|
+
setComputedData: Bke
|
|
19574
19574
|
} = Aj.actions, Ofe = Aj.reducer, Afe = ["x", "y"];
|
|
19575
19575
|
function K4(e, t) {
|
|
19576
19576
|
var n = Object.keys(e);
|
|
@@ -20968,10 +20968,10 @@ var ehe = {
|
|
|
20968
20968
|
}
|
|
20969
20969
|
}
|
|
20970
20970
|
}), {
|
|
20971
|
-
addRadiusAxis:
|
|
20972
|
-
removeRadiusAxis:
|
|
20973
|
-
addAngleAxis:
|
|
20974
|
-
removeAngleAxis:
|
|
20971
|
+
addRadiusAxis: zke,
|
|
20972
|
+
removeRadiusAxis: Fke,
|
|
20973
|
+
addAngleAxis: Wke,
|
|
20974
|
+
removeAngleAxis: Uke
|
|
20975
20975
|
} = Fj.actions, the = Fj.reducer;
|
|
20976
20976
|
function vC(e, t) {
|
|
20977
20977
|
var n = Object.keys(e);
|
|
@@ -22198,9 +22198,9 @@ var xpe = {
|
|
|
22198
22198
|
addYAxis: Ape,
|
|
22199
22199
|
replaceYAxis: Ppe,
|
|
22200
22200
|
removeYAxis: Tpe,
|
|
22201
|
-
addZAxis:
|
|
22202
|
-
replaceZAxis:
|
|
22203
|
-
removeZAxis:
|
|
22201
|
+
addZAxis: Hke,
|
|
22202
|
+
replaceZAxis: Vke,
|
|
22203
|
+
removeZAxis: Gke,
|
|
22204
22204
|
updateYAxisWidth: Cpe
|
|
22205
22205
|
} = Kj.actions, Ipe = Kj.reducer, Mpe = Oe([Pr], (e) => ({
|
|
22206
22206
|
top: e.top,
|
|
@@ -22436,9 +22436,9 @@ var qpe = function(t) {
|
|
|
22436
22436
|
}
|
|
22437
22437
|
}
|
|
22438
22438
|
}), {
|
|
22439
|
-
addErrorBar:
|
|
22440
|
-
replaceErrorBar:
|
|
22441
|
-
removeErrorBar:
|
|
22439
|
+
addErrorBar: qke,
|
|
22440
|
+
replaceErrorBar: Kke,
|
|
22441
|
+
removeErrorBar: Yke
|
|
22442
22442
|
} = Yj.actions, Ype = Yj.reducer, Xpe = ["children"];
|
|
22443
22443
|
function Zpe(e, t) {
|
|
22444
22444
|
if (e == null) return {};
|
|
@@ -23549,7 +23549,7 @@ var uve = (e, t, n, r, i, o, a) => {
|
|
|
23549
23549
|
}
|
|
23550
23550
|
}
|
|
23551
23551
|
}), {
|
|
23552
|
-
setBrushSettings:
|
|
23552
|
+
setBrushSettings: Xke
|
|
23553
23553
|
} = e$.actions, yve = e$.reducer;
|
|
23554
23554
|
function WC(e, t) {
|
|
23555
23555
|
var n = Object.keys(e);
|
|
@@ -23739,8 +23739,8 @@ var Sve = function(t) {
|
|
|
23739
23739
|
}), {
|
|
23740
23740
|
addDot: Ave,
|
|
23741
23741
|
removeDot: Pve,
|
|
23742
|
-
addArea:
|
|
23743
|
-
removeArea:
|
|
23742
|
+
addArea: Zke,
|
|
23743
|
+
removeArea: Jke,
|
|
23744
23744
|
addLine: Tve,
|
|
23745
23745
|
removeLine: Cve
|
|
23746
23746
|
} = r$.actions, Ive = r$.reducer, i$ = /* @__PURE__ */ Pn(void 0), Mve = (e) => {
|
|
@@ -28246,7 +28246,7 @@ const LA = (e, t) => {
|
|
|
28246
28246
|
const n = parseInt(e.slice(1), 16), r = Math.round(2.55 * t), i = (n >> 16) + r, o = (n >> 8 & 255) + r, a = (n & 255) + r;
|
|
28247
28247
|
return `#${(16777216 + (i < 255 ? i < 1 ? 0 : i : 255) * 65536 + (o < 255 ? o < 1 ? 0 : o : 255) * 256 + (a < 255 ? a < 1 ? 0 : a : 255)).toString(16).slice(1).toUpperCase()}`;
|
|
28248
28248
|
};
|
|
28249
|
-
function
|
|
28249
|
+
function Qke({
|
|
28250
28250
|
data: e,
|
|
28251
28251
|
width: t = "100%",
|
|
28252
28252
|
height: n = "100%",
|
|
@@ -28376,7 +28376,7 @@ let P1e = class extends Ec {
|
|
|
28376
28376
|
return /* @__PURE__ */ A("g", { transform: `translate(${t},${n})`, children: /* @__PURE__ */ A("text", { x: 0, y: 0, dy: 16, textAnchor: "end", fill: "#666", transform: "rotate(-35)", children: r.value }) });
|
|
28377
28377
|
}
|
|
28378
28378
|
};
|
|
28379
|
-
function
|
|
28379
|
+
function tRe({
|
|
28380
28380
|
data: e,
|
|
28381
28381
|
width: t,
|
|
28382
28382
|
height: n,
|
|
@@ -28439,7 +28439,7 @@ function eRe({
|
|
|
28439
28439
|
}
|
|
28440
28440
|
);
|
|
28441
28441
|
}
|
|
28442
|
-
function
|
|
28442
|
+
function nRe({
|
|
28443
28443
|
data: e,
|
|
28444
28444
|
width: t = "100%",
|
|
28445
28445
|
height: n = "100%",
|
|
@@ -28599,7 +28599,7 @@ const T1e = (e, t) => {
|
|
|
28599
28599
|
)
|
|
28600
28600
|
] });
|
|
28601
28601
|
};
|
|
28602
|
-
function
|
|
28602
|
+
function rRe({
|
|
28603
28603
|
data: e,
|
|
28604
28604
|
width: t,
|
|
28605
28605
|
height: n,
|
|
@@ -28647,7 +28647,7 @@ class M1e extends Ec {
|
|
|
28647
28647
|
return /* @__PURE__ */ A("g", { transform: `translate(${t},${n})`, children: /* @__PURE__ */ A("text", { x: 0, y: 0, dy: 16, textAnchor: "end", fill: r, transform: "rotate(-35)", children: i.value }) });
|
|
28648
28648
|
}
|
|
28649
28649
|
}
|
|
28650
|
-
function
|
|
28650
|
+
function iRe({
|
|
28651
28651
|
data: e,
|
|
28652
28652
|
width: t,
|
|
28653
28653
|
height: n,
|
|
@@ -40785,7 +40785,7 @@ function P3e() {
|
|
|
40785
40785
|
}
|
|
40786
40786
|
var T3e = P3e();
|
|
40787
40787
|
const C3e = /* @__PURE__ */ aa(T3e);
|
|
40788
|
-
function
|
|
40788
|
+
function oRe({ value: e, label: t, width: n }) {
|
|
40789
40789
|
const r = Hh(), i = ot(null), [o, a] = Ye(0), [s, u] = Ye(n), { t: c } = jt();
|
|
40790
40790
|
return Xe(() => {
|
|
40791
40791
|
const l = setTimeout(() => a(e), 50);
|
|
@@ -40889,7 +40889,7 @@ function iRe({ value: e, label: t, width: n }) {
|
|
|
40889
40889
|
}
|
|
40890
40890
|
);
|
|
40891
40891
|
}
|
|
40892
|
-
function
|
|
40892
|
+
function aRe({
|
|
40893
40893
|
isGraphsVisible: e,
|
|
40894
40894
|
height: t,
|
|
40895
40895
|
pad: n,
|
|
@@ -41099,7 +41099,7 @@ function gv(e) {
|
|
|
41099
41099
|
let o = Math.ceil(n / i) * i, a = Math.floor(o / i);
|
|
41100
41100
|
return o - t < i * 0.4 && (o += i, a += 1), Array.from({ length: a + 1 }, (u, c) => c * i);
|
|
41101
41101
|
}
|
|
41102
|
-
function
|
|
41102
|
+
function sRe({
|
|
41103
41103
|
data: e,
|
|
41104
41104
|
lines: t,
|
|
41105
41105
|
scatterData: n = [],
|
|
@@ -41255,7 +41255,7 @@ function N3e(e) {
|
|
|
41255
41255
|
}
|
|
41256
41256
|
return null;
|
|
41257
41257
|
}
|
|
41258
|
-
function
|
|
41258
|
+
function uRe({
|
|
41259
41259
|
data: e,
|
|
41260
41260
|
width: t = "100%",
|
|
41261
41261
|
height: n = 300,
|
|
@@ -44390,7 +44390,7 @@ var gr = function() {
|
|
|
44390
44390
|
}, t;
|
|
44391
44391
|
})(Ec)
|
|
44392
44392
|
);
|
|
44393
|
-
function
|
|
44393
|
+
function cRe({
|
|
44394
44394
|
id: e,
|
|
44395
44395
|
position: t,
|
|
44396
44396
|
width: n,
|
|
@@ -44469,7 +44469,7 @@ function uRe({
|
|
|
44469
44469
|
}
|
|
44470
44470
|
) });
|
|
44471
44471
|
}
|
|
44472
|
-
function
|
|
44472
|
+
function lRe(e, t, n, r, i = []) {
|
|
44473
44473
|
const { over: o, active: a } = e;
|
|
44474
44474
|
o && !i.includes(o.id) ? (t((s) => {
|
|
44475
44475
|
const u = { ...s }, c = Object.keys(u).find(
|
|
@@ -44487,7 +44487,7 @@ function cRe(e, t, n, r, i = []) {
|
|
|
44487
44487
|
)), u;
|
|
44488
44488
|
}) : n(`Dropped ${a.id} outside any droppable area`), r(!0);
|
|
44489
44489
|
}
|
|
44490
|
-
function
|
|
44490
|
+
function fRe(e, t) {
|
|
44491
44491
|
t((n) => {
|
|
44492
44492
|
const r = { ...n }, i = Object.keys(r).find((o) => r[o].includes(e));
|
|
44493
44493
|
return i && (r[i] = r[i].filter(
|
|
@@ -44495,7 +44495,7 @@ function lRe(e, t) {
|
|
|
44495
44495
|
)), r;
|
|
44496
44496
|
});
|
|
44497
44497
|
}
|
|
44498
|
-
function
|
|
44498
|
+
function dRe(e, t, n) {
|
|
44499
44499
|
n !== "clickaway" && e(!1);
|
|
44500
44500
|
}
|
|
44501
44501
|
function cI({
|
|
@@ -45604,7 +45604,7 @@ function UPe({ onClose: e }) {
|
|
|
45604
45604
|
/* @__PURE__ */ A(Bo, { sx: { marginTop: "auto" }, type: "submit", onClick: e, children: t("CONFIRM") })
|
|
45605
45605
|
] }) });
|
|
45606
45606
|
}
|
|
45607
|
-
function
|
|
45607
|
+
function hRe({
|
|
45608
45608
|
languages: e,
|
|
45609
45609
|
flags: t,
|
|
45610
45610
|
title: n,
|
|
@@ -45676,14 +45676,14 @@ function dRe({
|
|
|
45676
45676
|
}
|
|
45677
45677
|
);
|
|
45678
45678
|
}
|
|
45679
|
-
function
|
|
45679
|
+
function pRe({ hotKeys: e }) {
|
|
45680
45680
|
const { t } = jt(), [n, r] = IZ();
|
|
45681
45681
|
return /* @__PURE__ */ A(Oc, { id: "language-selector", title: "Hot keys", open: n, onClose: r.close, width: "xs", children: /* @__PURE__ */ A(tS, { spacing: 1, children: e.map(({ combination: i, description: o, callback: a }) => /* @__PURE__ */ Ae(yn, { justifyContent: "space-between", alignItems: "center", children: [
|
|
45682
45682
|
/* @__PURE__ */ A(er, { variant: "body1", noWrap: !0, children: t(o) }),
|
|
45683
45683
|
/* @__PURE__ */ A(Bo, { id: `${i}-btn`, variant: "outlined", onClick: a, children: i })
|
|
45684
45684
|
] }, i)) }) });
|
|
45685
45685
|
}
|
|
45686
|
-
function
|
|
45686
|
+
function gRe({
|
|
45687
45687
|
listToFilter: e,
|
|
45688
45688
|
onChangeListFiltered: t
|
|
45689
45689
|
}) {
|
|
@@ -45706,7 +45706,7 @@ function pRe({
|
|
|
45706
45706
|
}
|
|
45707
45707
|
);
|
|
45708
45708
|
}
|
|
45709
|
-
function
|
|
45709
|
+
function vRe({
|
|
45710
45710
|
name: e,
|
|
45711
45711
|
checked: t,
|
|
45712
45712
|
onChange: n,
|
|
@@ -45755,7 +45755,7 @@ function gRe({
|
|
|
45755
45755
|
)
|
|
45756
45756
|
) }) });
|
|
45757
45757
|
}
|
|
45758
|
-
function
|
|
45758
|
+
function mRe({
|
|
45759
45759
|
name: e,
|
|
45760
45760
|
width: t = "100%",
|
|
45761
45761
|
disabled: n,
|
|
@@ -46043,7 +46043,7 @@ function dI(e, t, n, r) {
|
|
|
46043
46043
|
};
|
|
46044
46044
|
}, [s, l, d]), i;
|
|
46045
46045
|
}
|
|
46046
|
-
function
|
|
46046
|
+
function yRe({
|
|
46047
46047
|
languages: e,
|
|
46048
46048
|
flags: t,
|
|
46049
46049
|
isLogged: n = !0
|
|
@@ -46224,7 +46224,7 @@ function zd({
|
|
|
46224
46224
|
);
|
|
46225
46225
|
}
|
|
46226
46226
|
const I3 = Pn(!1);
|
|
46227
|
-
function
|
|
46227
|
+
function bRe({ children: e }) {
|
|
46228
46228
|
const t = Yh("(max-width: 600px)");
|
|
46229
46229
|
return /* @__PURE__ */ A(I3.Provider, { value: t, children: e });
|
|
46230
46230
|
}
|
|
@@ -46311,7 +46311,7 @@ function EF({
|
|
|
46311
46311
|
)
|
|
46312
46312
|
] });
|
|
46313
46313
|
}
|
|
46314
|
-
function
|
|
46314
|
+
function wRe({
|
|
46315
46315
|
data: e,
|
|
46316
46316
|
filterSortKeys: t,
|
|
46317
46317
|
renderItem: n,
|
|
@@ -46347,7 +46347,7 @@ function bRe({
|
|
|
46347
46347
|
}) })
|
|
46348
46348
|
] });
|
|
46349
46349
|
}
|
|
46350
|
-
function
|
|
46350
|
+
function _Re({ speed: e = 30, children: t }) {
|
|
46351
46351
|
const n = ot(null), r = ot(null), [i, o] = Ye(!1), [a, s] = Ye(0);
|
|
46352
46352
|
return Xe(() => {
|
|
46353
46353
|
const u = r.current, c = n.current;
|
|
@@ -46399,7 +46399,7 @@ function wRe({ speed: e = 30, children: t }) {
|
|
|
46399
46399
|
` })
|
|
46400
46400
|
] });
|
|
46401
46401
|
}
|
|
46402
|
-
function
|
|
46402
|
+
function xRe({
|
|
46403
46403
|
items: e,
|
|
46404
46404
|
pageCount: t,
|
|
46405
46405
|
listItemCallback: n,
|
|
@@ -47203,7 +47203,7 @@ function bTe({ radData: e, injectCallback: t, isSubContainer: n }) {
|
|
|
47203
47203
|
)
|
|
47204
47204
|
] }) });
|
|
47205
47205
|
}
|
|
47206
|
-
const
|
|
47206
|
+
const ERe = ({
|
|
47207
47207
|
width: e,
|
|
47208
47208
|
height: t,
|
|
47209
47209
|
scale: n,
|
|
@@ -47255,7 +47255,7 @@ const xRe = ({
|
|
|
47255
47255
|
}
|
|
47256
47256
|
);
|
|
47257
47257
|
};
|
|
47258
|
-
function
|
|
47258
|
+
function SRe({
|
|
47259
47259
|
Header: e,
|
|
47260
47260
|
Sidebar: t,
|
|
47261
47261
|
Navbar: n,
|
|
@@ -47318,7 +47318,7 @@ const wTe = qh("div")({
|
|
|
47318
47318
|
textTransform: "uppercase",
|
|
47319
47319
|
textAlign: "center"
|
|
47320
47320
|
});
|
|
47321
|
-
function
|
|
47321
|
+
function ORe({ title: e, lastScanned: t }) {
|
|
47322
47322
|
return /* @__PURE__ */ Ae(wTe, { children: [
|
|
47323
47323
|
/* @__PURE__ */ A(_Te, { children: e }),
|
|
47324
47324
|
/* @__PURE__ */ A("svg", { width: "100%", height: "100%", viewBox: "0 0 250 60", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ A(
|
|
@@ -48467,7 +48467,12 @@ function i5e(e, t) {
|
|
|
48467
48467
|
});
|
|
48468
48468
|
}), r;
|
|
48469
48469
|
}
|
|
48470
|
-
|
|
48470
|
+
const o5e = (e) => {
|
|
48471
|
+
if (!e) return "";
|
|
48472
|
+
let t = e;
|
|
48473
|
+
return t.charCodeAt(0) === 65279 && (t = t.slice(1)), t = t.trim(), t = t.replace(/\u00A0/g, " "), t;
|
|
48474
|
+
};
|
|
48475
|
+
function ARe({
|
|
48471
48476
|
blob: e,
|
|
48472
48477
|
ruleSet: t,
|
|
48473
48478
|
dataSource: n,
|
|
@@ -48490,13 +48495,16 @@ function ORe({
|
|
|
48490
48495
|
s(null);
|
|
48491
48496
|
return;
|
|
48492
48497
|
}
|
|
48493
|
-
|
|
48494
|
-
|
|
48495
|
-
|
|
48496
|
-
|
|
48497
|
-
|
|
48498
|
-
|
|
48499
|
-
|
|
48498
|
+
try {
|
|
48499
|
+
const d = new Uint8Array(e), p = new TextDecoder("utf-8").decode(d), y = o5e(p), m = new Blob([y], { type: "image/svg+xml" }), v = new FileReader();
|
|
48500
|
+
v.onloadend = () => {
|
|
48501
|
+
s(v.result);
|
|
48502
|
+
}, v.onerror = () => {
|
|
48503
|
+
console.error("Failed to convert clean SVG to Base64"), s(null);
|
|
48504
|
+
}, v.readAsDataURL(m);
|
|
48505
|
+
} catch (d) {
|
|
48506
|
+
console.error("Error processing SVG:", d), s(null);
|
|
48507
|
+
}
|
|
48500
48508
|
}, [e]), /* @__PURE__ */ A(qr, { children: a && u && /* @__PURE__ */ A(
|
|
48501
48509
|
R3,
|
|
48502
48510
|
{
|
|
@@ -48512,7 +48520,7 @@ function ORe({
|
|
|
48512
48520
|
}
|
|
48513
48521
|
) });
|
|
48514
48522
|
}
|
|
48515
|
-
function
|
|
48523
|
+
function PRe({
|
|
48516
48524
|
options: e,
|
|
48517
48525
|
updateSortings: t,
|
|
48518
48526
|
GstateKey: n
|
|
@@ -48577,7 +48585,7 @@ function ARe({
|
|
|
48577
48585
|
/* @__PURE__ */ A(Bo, { size: "large", onClick: u, children: r("APPLY") })
|
|
48578
48586
|
] });
|
|
48579
48587
|
}
|
|
48580
|
-
function
|
|
48588
|
+
function TRe({
|
|
48581
48589
|
options: e,
|
|
48582
48590
|
updateSortings: t,
|
|
48583
48591
|
GstateKey: n
|
|
@@ -48634,7 +48642,7 @@ function PRe({
|
|
|
48634
48642
|
] });
|
|
48635
48643
|
}
|
|
48636
48644
|
var PF = /* @__PURE__ */ ((e) => (e.squared = "0px", e.rounded = "24px", e.circle = "50%", e))(PF || {});
|
|
48637
|
-
function
|
|
48645
|
+
function CRe({
|
|
48638
48646
|
id: e,
|
|
48639
48647
|
src: t,
|
|
48640
48648
|
width: n = "500px",
|
|
@@ -48678,7 +48686,7 @@ function TRe({
|
|
|
48678
48686
|
}
|
|
48679
48687
|
);
|
|
48680
48688
|
}
|
|
48681
|
-
function
|
|
48689
|
+
function a5e({ value: e, total: t = 100, size: n }) {
|
|
48682
48690
|
const [r] = ka();
|
|
48683
48691
|
return /* @__PURE__ */ Ae(yn, { alignItems: "center", gap: ".5rem", width: "100%", children: [
|
|
48684
48692
|
/* @__PURE__ */ A(
|
|
@@ -48702,10 +48710,10 @@ function o5e({ value: e, total: t = 100, size: n }) {
|
|
|
48702
48710
|
t && /* @__PURE__ */ A(iZ, { variant: "caption", sx: { minWidth: 45, userSelect: "none" }, noWrap: !0, children: `${(e / t * 100).toFixed(1)}%` })
|
|
48703
48711
|
] });
|
|
48704
48712
|
}
|
|
48705
|
-
function
|
|
48706
|
-
return /* @__PURE__ */ A(
|
|
48713
|
+
function IRe({ value: e, total: t = 100, size: n = "small" }) {
|
|
48714
|
+
return /* @__PURE__ */ A(a5e, { value: e, total: t, size: n });
|
|
48707
48715
|
}
|
|
48708
|
-
function
|
|
48716
|
+
function MRe({ dieCode: e }) {
|
|
48709
48717
|
return /* @__PURE__ */ Ae("svg", { width: "80%", id: "Livello_1", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 130.79 125.8", children: [
|
|
48710
48718
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ Ae("pattern", { id: "diagonalLines", patternUnits: "userSpaceOnUse", width: "6", height: "6", children: [
|
|
48711
48719
|
/* @__PURE__ */ A("rect", { width: "6", height: "6", fill: "#a0a0a0" }),
|
|
@@ -49303,10 +49311,10 @@ function IRe({ dieCode: e }) {
|
|
|
49303
49311
|
) }) })
|
|
49304
49312
|
] });
|
|
49305
49313
|
}
|
|
49306
|
-
function
|
|
49314
|
+
function s5e({ renderList: e }) {
|
|
49307
49315
|
return /* @__PURE__ */ A(go, { overflow: "auto", children: /* @__PURE__ */ A(iS, { id: "routes-list-mobile", sx: { color: "#fff" }, children: e() }) });
|
|
49308
49316
|
}
|
|
49309
|
-
function
|
|
49317
|
+
function u5e({ isOpen: e, onClose: t, renderList: n }) {
|
|
49310
49318
|
return /* @__PURE__ */ A(
|
|
49311
49319
|
Oc,
|
|
49312
49320
|
{
|
|
@@ -49317,7 +49325,7 @@ function s5e({ isOpen: e, onClose: t, renderList: n }) {
|
|
|
49317
49325
|
backgroundColor: "rgba(7, 48, 25, 0.7)",
|
|
49318
49326
|
Transition: IM,
|
|
49319
49327
|
children: /* @__PURE__ */ Ae(sf, { alignItems: "center", overflow: "hidden", children: [
|
|
49320
|
-
/* @__PURE__ */ A(
|
|
49328
|
+
/* @__PURE__ */ A(s5e, { renderList: n }),
|
|
49321
49329
|
/* @__PURE__ */ A(
|
|
49322
49330
|
$r,
|
|
49323
49331
|
{
|
|
@@ -49334,7 +49342,7 @@ function s5e({ isOpen: e, onClose: t, renderList: n }) {
|
|
|
49334
49342
|
}
|
|
49335
49343
|
);
|
|
49336
49344
|
}
|
|
49337
|
-
function
|
|
49345
|
+
function c5e({ isOpen: e, onClose: t }) {
|
|
49338
49346
|
const { t: n } = jt(), r = NY(), [, , { logout: i }] = QM(), [, o] = ka(), [a] = i;
|
|
49339
49347
|
return (
|
|
49340
49348
|
//76px <-- Navbar Height
|
|
@@ -49432,7 +49440,7 @@ const MI = {
|
|
|
49432
49440
|
}
|
|
49433
49441
|
}
|
|
49434
49442
|
};
|
|
49435
|
-
function
|
|
49443
|
+
function kRe({ currentRouteName: e, renderList: t, handleBackHome: n }) {
|
|
49436
49444
|
const { t: r } = jt(), [i, o] = Ye(null), [a, s] = Ye(!1), [u, c] = Ye(!1), l = (p, y) => {
|
|
49437
49445
|
o(y);
|
|
49438
49446
|
}, d = () => {
|
|
@@ -49445,8 +49453,8 @@ function MRe({ currentRouteName: e, renderList: t, handleBackHome: n }) {
|
|
|
49445
49453
|
}, [e]), Xe(() => {
|
|
49446
49454
|
u ? o("PROFILE") : e === "WELCOME" ? o("HOME") : i && o(null);
|
|
49447
49455
|
}, [u]), /* @__PURE__ */ Ae(qr, { children: [
|
|
49448
|
-
/* @__PURE__ */ A(
|
|
49449
|
-
/* @__PURE__ */ A(
|
|
49456
|
+
/* @__PURE__ */ A(c5e, { isOpen: u, onClose: () => c(!1) }),
|
|
49457
|
+
/* @__PURE__ */ A(u5e, { isOpen: a, onClose: h, renderList: t }),
|
|
49450
49458
|
/* @__PURE__ */ A(
|
|
49451
49459
|
yn,
|
|
49452
49460
|
{
|
|
@@ -49498,7 +49506,7 @@ function MRe({ currentRouteName: e, renderList: t, handleBackHome: n }) {
|
|
|
49498
49506
|
)
|
|
49499
49507
|
] });
|
|
49500
49508
|
}
|
|
49501
|
-
function
|
|
49509
|
+
function RRe({
|
|
49502
49510
|
fontSize: e = "2rem",
|
|
49503
49511
|
message: t = "",
|
|
49504
49512
|
Icon: n = dZ,
|
|
@@ -49510,11 +49518,11 @@ function kRe({
|
|
|
49510
49518
|
/* @__PURE__ */ A(er, { variant: "h6", fontSize: e, color: r, children: i(t) })
|
|
49511
49519
|
] });
|
|
49512
49520
|
}
|
|
49513
|
-
function
|
|
49521
|
+
function DRe({ text: e = "NO_ITEMS" }) {
|
|
49514
49522
|
const { t } = jt();
|
|
49515
49523
|
return /* @__PURE__ */ A("p", { style: { userSelect: "none", padding: "8px" }, children: t(e.toUpperCase()) });
|
|
49516
49524
|
}
|
|
49517
|
-
function
|
|
49525
|
+
function LRe({
|
|
49518
49526
|
id: e,
|
|
49519
49527
|
detailTextStyle: t,
|
|
49520
49528
|
detail: n,
|
|
@@ -49601,7 +49609,7 @@ function DRe({
|
|
|
49601
49609
|
) : n })
|
|
49602
49610
|
] }) });
|
|
49603
49611
|
}
|
|
49604
|
-
const
|
|
49612
|
+
const NRe = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
49605
49613
|
"svg",
|
|
49606
49614
|
{
|
|
49607
49615
|
version: "1.1",
|
|
@@ -49662,7 +49670,7 @@ const LRe = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
|
49662
49670
|
]
|
|
49663
49671
|
}
|
|
49664
49672
|
);
|
|
49665
|
-
function
|
|
49673
|
+
function jRe({ size: e }) {
|
|
49666
49674
|
return /* @__PURE__ */ Ae(
|
|
49667
49675
|
"svg",
|
|
49668
49676
|
{
|
|
@@ -49697,7 +49705,7 @@ function NRe({ size: e }) {
|
|
|
49697
49705
|
}
|
|
49698
49706
|
);
|
|
49699
49707
|
}
|
|
49700
|
-
const
|
|
49708
|
+
const $Re = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
49701
49709
|
"svg",
|
|
49702
49710
|
{
|
|
49703
49711
|
id: "italy",
|
|
@@ -49728,7 +49736,7 @@ const jRe = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
|
49728
49736
|
)
|
|
49729
49737
|
]
|
|
49730
49738
|
}
|
|
49731
|
-
),
|
|
49739
|
+
), BRe = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
49732
49740
|
"svg",
|
|
49733
49741
|
{
|
|
49734
49742
|
width: e,
|
|
@@ -49862,7 +49870,7 @@ const jRe = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
|
49862
49870
|
] })
|
|
49863
49871
|
]
|
|
49864
49872
|
}
|
|
49865
|
-
),
|
|
49873
|
+
), zRe = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
49866
49874
|
"svg",
|
|
49867
49875
|
{
|
|
49868
49876
|
version: "1.1",
|
|
@@ -49900,7 +49908,7 @@ const jRe = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
|
49900
49908
|
] })
|
|
49901
49909
|
]
|
|
49902
49910
|
}
|
|
49903
|
-
),
|
|
49911
|
+
), FRe = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
49904
49912
|
"svg",
|
|
49905
49913
|
{
|
|
49906
49914
|
id: "uk",
|
|
@@ -50217,7 +50225,7 @@ const jRe = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
|
50217
50225
|
]
|
|
50218
50226
|
}
|
|
50219
50227
|
);
|
|
50220
|
-
function
|
|
50228
|
+
function WRe({
|
|
50221
50229
|
size: e = 24,
|
|
50222
50230
|
color: t = "currentColor"
|
|
50223
50231
|
}) {
|
|
@@ -50236,20 +50244,20 @@ function FRe({
|
|
|
50236
50244
|
) });
|
|
50237
50245
|
}
|
|
50238
50246
|
const {
|
|
50239
|
-
slice:
|
|
50240
|
-
forEach:
|
|
50247
|
+
slice: l5e,
|
|
50248
|
+
forEach: f5e
|
|
50241
50249
|
} = [];
|
|
50242
|
-
function
|
|
50243
|
-
return
|
|
50250
|
+
function d5e(e) {
|
|
50251
|
+
return f5e.call(l5e.call(arguments, 1), (t) => {
|
|
50244
50252
|
if (t)
|
|
50245
50253
|
for (const n in t)
|
|
50246
50254
|
e[n] === void 0 && (e[n] = t[n]);
|
|
50247
50255
|
}), e;
|
|
50248
50256
|
}
|
|
50249
|
-
function
|
|
50257
|
+
function h5e(e) {
|
|
50250
50258
|
return typeof e != "string" ? !1 : [/<\s*script.*?>/i, /<\s*\/\s*script\s*>/i, /<\s*img.*?on\w+\s*=/i, /<\s*\w+\s*on\w+\s*=.*?>/i, /javascript\s*:/i, /vbscript\s*:/i, /expression\s*\(/i, /eval\s*\(/i, /alert\s*\(/i, /document\.cookie/i, /document\.write\s*\(/i, /window\.location/i, /innerHTML/i].some((n) => n.test(e));
|
|
50251
50259
|
}
|
|
50252
|
-
const kI = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,
|
|
50260
|
+
const kI = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, p5e = function(e, t) {
|
|
50253
50261
|
const r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
50254
50262
|
path: "/"
|
|
50255
50263
|
}, i = encodeURIComponent(t);
|
|
@@ -50298,7 +50306,7 @@ const kI = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, h5e = function(e, t) {
|
|
|
50298
50306
|
path: "/",
|
|
50299
50307
|
sameSite: "strict"
|
|
50300
50308
|
};
|
|
50301
|
-
n && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + n * 60 * 1e3)), r && (i.domain = r), document.cookie =
|
|
50309
|
+
n && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + n * 60 * 1e3)), r && (i.domain = r), document.cookie = p5e(e, t, i);
|
|
50302
50310
|
},
|
|
50303
50311
|
read(e) {
|
|
50304
50312
|
const t = `${e}=`, n = document.cookie.split(";");
|
|
@@ -50313,7 +50321,7 @@ const kI = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, h5e = function(e, t) {
|
|
|
50313
50321
|
this.create(e, "", -1, t);
|
|
50314
50322
|
}
|
|
50315
50323
|
};
|
|
50316
|
-
var
|
|
50324
|
+
var g5e = {
|
|
50317
50325
|
name: "cookie",
|
|
50318
50326
|
// Deconstruct the options object and extract the lookupCookie property
|
|
50319
50327
|
lookup(e) {
|
|
@@ -50333,7 +50341,7 @@ var p5e = {
|
|
|
50333
50341
|
} = t;
|
|
50334
50342
|
n && typeof document < "u" && RI.create(n, e, r, i, o);
|
|
50335
50343
|
}
|
|
50336
|
-
},
|
|
50344
|
+
}, v5e = {
|
|
50337
50345
|
name: "querystring",
|
|
50338
50346
|
// Deconstruct the options object and extract the lookupQuerystring property
|
|
50339
50347
|
lookup(e) {
|
|
@@ -50353,7 +50361,7 @@ var p5e = {
|
|
|
50353
50361
|
}
|
|
50354
50362
|
return n;
|
|
50355
50363
|
}
|
|
50356
|
-
},
|
|
50364
|
+
}, m5e = {
|
|
50357
50365
|
name: "hash",
|
|
50358
50366
|
// Deconstruct the options object and extract the lookupHash property and the lookupFromHashIndex property
|
|
50359
50367
|
lookup(e) {
|
|
@@ -50397,7 +50405,7 @@ const DI = () => {
|
|
|
50397
50405
|
}
|
|
50398
50406
|
return dl;
|
|
50399
50407
|
};
|
|
50400
|
-
var
|
|
50408
|
+
var y5e = {
|
|
50401
50409
|
name: "localStorage",
|
|
50402
50410
|
// Deconstruct the options object and extract the lookupLocalStorage property
|
|
50403
50411
|
lookup(e) {
|
|
@@ -50428,7 +50436,7 @@ const LI = () => {
|
|
|
50428
50436
|
}
|
|
50429
50437
|
return hl;
|
|
50430
50438
|
};
|
|
50431
|
-
var
|
|
50439
|
+
var b5e = {
|
|
50432
50440
|
name: "sessionStorage",
|
|
50433
50441
|
lookup(e) {
|
|
50434
50442
|
let {
|
|
@@ -50443,7 +50451,7 @@ var y5e = {
|
|
|
50443
50451
|
} = t;
|
|
50444
50452
|
n && LI() && window.sessionStorage.setItem(n, e);
|
|
50445
50453
|
}
|
|
50446
|
-
},
|
|
50454
|
+
}, w5e = {
|
|
50447
50455
|
name: "navigator",
|
|
50448
50456
|
lookup(e) {
|
|
50449
50457
|
const t = [];
|
|
@@ -50460,7 +50468,7 @@ var y5e = {
|
|
|
50460
50468
|
}
|
|
50461
50469
|
return t.length > 0 ? t : void 0;
|
|
50462
50470
|
}
|
|
50463
|
-
},
|
|
50471
|
+
}, _5e = {
|
|
50464
50472
|
name: "htmlTag",
|
|
50465
50473
|
// Deconstruct the options object and extract the htmlTag property
|
|
50466
50474
|
lookup(e) {
|
|
@@ -50470,7 +50478,7 @@ var y5e = {
|
|
|
50470
50478
|
const r = t || (typeof document < "u" ? document.documentElement : null);
|
|
50471
50479
|
return r && typeof r.getAttribute == "function" && (n = r.getAttribute("lang")), n;
|
|
50472
50480
|
}
|
|
50473
|
-
},
|
|
50481
|
+
}, x5e = {
|
|
50474
50482
|
name: "path",
|
|
50475
50483
|
// Deconstruct the options object and extract the lookupFromPathIndex property
|
|
50476
50484
|
lookup(e) {
|
|
@@ -50481,7 +50489,7 @@ var y5e = {
|
|
|
50481
50489
|
const n = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
|
|
50482
50490
|
return Array.isArray(n) ? n[typeof t == "number" ? t : 0]?.replace("/", "") : void 0;
|
|
50483
50491
|
}
|
|
50484
|
-
},
|
|
50492
|
+
}, E5e = {
|
|
50485
50493
|
name: "subdomain",
|
|
50486
50494
|
lookup(e) {
|
|
50487
50495
|
let {
|
|
@@ -50499,7 +50507,7 @@ try {
|
|
|
50499
50507
|
}
|
|
50500
50508
|
const CF = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
|
|
50501
50509
|
TF || CF.splice(1, 1);
|
|
50502
|
-
const
|
|
50510
|
+
const S5e = () => ({
|
|
50503
50511
|
order: CF,
|
|
50504
50512
|
lookupQuerystring: "lng",
|
|
50505
50513
|
lookupCookie: "i18next",
|
|
@@ -50521,7 +50529,7 @@ class IF {
|
|
|
50521
50529
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
50522
50530
|
languageUtils: {}
|
|
50523
50531
|
}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
50524
|
-
this.services = t, this.options =
|
|
50532
|
+
this.services = t, this.options = d5e(n, this.options || {}, S5e()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (i) => i.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = r, this.addDetector(g5e), this.addDetector(v5e), this.addDetector(y5e), this.addDetector(b5e), this.addDetector(w5e), this.addDetector(_5e), this.addDetector(x5e), this.addDetector(E5e), this.addDetector(m5e);
|
|
50525
50533
|
}
|
|
50526
50534
|
addDetector(t) {
|
|
50527
50535
|
return this.detectors[t.name] = t, this;
|
|
@@ -50533,7 +50541,7 @@ class IF {
|
|
|
50533
50541
|
let i = this.detectors[r].lookup(this.options);
|
|
50534
50542
|
i && typeof i == "string" && (i = [i]), i && (n = n.concat(i));
|
|
50535
50543
|
}
|
|
50536
|
-
}), n = n.filter((r) => r != null && !
|
|
50544
|
+
}), n = n.filter((r) => r != null && !h5e(r)).map((r) => this.options.convertDetectedLanguage(r)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? n : n.length > 0 ? n[0] : null;
|
|
50537
50545
|
}
|
|
50538
50546
|
cacheUserLanguage(t) {
|
|
50539
50547
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.options.caches;
|
|
@@ -50543,7 +50551,7 @@ class IF {
|
|
|
50543
50551
|
}
|
|
50544
50552
|
}
|
|
50545
50553
|
IF.type = "languageDetector";
|
|
50546
|
-
const
|
|
50554
|
+
const URe = (e) => {
|
|
50547
50555
|
let t = {};
|
|
50548
50556
|
for (const r of Object.keys(e)) {
|
|
50549
50557
|
const i = r.match(/\w+\.json/);
|
|
@@ -50568,13 +50576,13 @@ const WRe = (e) => {
|
|
|
50568
50576
|
}
|
|
50569
50577
|
}), Nl;
|
|
50570
50578
|
};
|
|
50571
|
-
function
|
|
50579
|
+
function O5e({ children: e }) {
|
|
50572
50580
|
return /* @__PURE__ */ A(yn, { paddingBottom: "16px", gap: "8px", children: e });
|
|
50573
50581
|
}
|
|
50574
|
-
function
|
|
50582
|
+
function A5e({ children: e }) {
|
|
50575
50583
|
return /* @__PURE__ */ A(Kh, { mt: "auto", mb: "auto", width: "100%", children: /* @__PURE__ */ A($r, { sx: { width: "100%" }, children: /* @__PURE__ */ A(yn, { height: "70px", flexDirection: "row", alignItems: "center", gap: "16px", padding: "16px", children: e }) }) });
|
|
50576
50584
|
}
|
|
50577
|
-
function
|
|
50585
|
+
function P5e({ tabValue: e, columnValues: t, columnWidths: n }) {
|
|
50578
50586
|
const { t: r } = jt();
|
|
50579
50587
|
return /* @__PURE__ */ A(
|
|
50580
50588
|
$r,
|
|
@@ -50595,7 +50603,7 @@ function A5e({ tabValue: e, columnValues: t, columnWidths: n }) {
|
|
|
50595
50603
|
}
|
|
50596
50604
|
);
|
|
50597
50605
|
}
|
|
50598
|
-
function
|
|
50606
|
+
function HRe({
|
|
50599
50607
|
InnerHeaderContent: e,
|
|
50600
50608
|
TableHeaderContent: t,
|
|
50601
50609
|
FirstTabContent: n,
|
|
@@ -50609,7 +50617,7 @@ function URe({
|
|
|
50609
50617
|
ThirdTabNearbyContent: l
|
|
50610
50618
|
}) {
|
|
50611
50619
|
return /* @__PURE__ */ Ae(Vu, { gap: "16px", children: [
|
|
50612
|
-
/* @__PURE__ */ A(
|
|
50620
|
+
/* @__PURE__ */ A(A5e, { children: e }),
|
|
50613
50621
|
/* @__PURE__ */ Ae(jM, { gap: "16px", children: [
|
|
50614
50622
|
/* @__PURE__ */ Ae(
|
|
50615
50623
|
$r,
|
|
@@ -50622,9 +50630,9 @@ function URe({
|
|
|
50622
50630
|
maxWidth: u && o === 0 || c && o === 1 || l && o === 2 ? "70%" : "unset"
|
|
50623
50631
|
},
|
|
50624
50632
|
children: [
|
|
50625
|
-
/* @__PURE__ */ A(
|
|
50633
|
+
/* @__PURE__ */ A(O5e, { children: t }),
|
|
50626
50634
|
/* @__PURE__ */ Ae(Vu, { children: [
|
|
50627
|
-
/* @__PURE__ */ A(
|
|
50635
|
+
/* @__PURE__ */ A(P5e, { columnValues: a, columnWidths: s, tabValue: o }),
|
|
50628
50636
|
/* @__PURE__ */ A(
|
|
50629
50637
|
pu,
|
|
50630
50638
|
{
|
|
@@ -50670,7 +50678,7 @@ function URe({
|
|
|
50670
50678
|
] })
|
|
50671
50679
|
] });
|
|
50672
50680
|
}
|
|
50673
|
-
function
|
|
50681
|
+
function VRe({
|
|
50674
50682
|
children: e,
|
|
50675
50683
|
position: t,
|
|
50676
50684
|
isMobile: n
|
|
@@ -50701,7 +50709,7 @@ const Lo = {}, NI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
50701
50709
|
__proto__: null,
|
|
50702
50710
|
default: Lo
|
|
50703
50711
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
50704
|
-
function
|
|
50712
|
+
function GRe(e, t) {
|
|
50705
50713
|
return {
|
|
50706
50714
|
name: "vite-plugin-graphql-rewrite",
|
|
50707
50715
|
enforce: "pre",
|
|
@@ -50717,7 +50725,7 @@ function VRe(e, t) {
|
|
|
50717
50725
|
}
|
|
50718
50726
|
};
|
|
50719
50727
|
}
|
|
50720
|
-
function
|
|
50728
|
+
function qRe(e, t) {
|
|
50721
50729
|
return {
|
|
50722
50730
|
name: "vite-plugin-graphql-rewrite-build",
|
|
50723
50731
|
enforce: "pre",
|
|
@@ -50730,8 +50738,8 @@ function GRe(e, t) {
|
|
|
50730
50738
|
}
|
|
50731
50739
|
};
|
|
50732
50740
|
}
|
|
50733
|
-
var
|
|
50734
|
-
function
|
|
50741
|
+
var T5e = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Hu = "1.9.0", jI = /^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;
|
|
50742
|
+
function C5e(e) {
|
|
50735
50743
|
var t = /* @__PURE__ */ new Set([e]), n = /* @__PURE__ */ new Set(), r = e.match(jI);
|
|
50736
50744
|
if (!r)
|
|
50737
50745
|
return function() {
|
|
@@ -50770,7 +50778,7 @@ function T5e(e) {
|
|
|
50770
50778
|
return l.prerelease != null || i.major !== l.major ? o(u) : i.major === 0 ? i.minor === l.minor && i.patch <= l.patch ? a(u) : o(u) : i.minor <= l.minor ? a(u) : o(u);
|
|
50771
50779
|
};
|
|
50772
50780
|
}
|
|
50773
|
-
var
|
|
50781
|
+
var I5e = C5e(Hu), M5e = Hu.split(".")[0], Fh = Symbol.for("opentelemetry.js.api." + M5e), Wh = T5e;
|
|
50774
50782
|
function Bp(e, t, n, r) {
|
|
50775
50783
|
var i;
|
|
50776
50784
|
r === void 0 && (r = !1);
|
|
@@ -50789,7 +50797,7 @@ function Bp(e, t, n, r) {
|
|
|
50789
50797
|
}
|
|
50790
50798
|
function _c(e) {
|
|
50791
50799
|
var t, n, r = (t = Wh[Fh]) === null || t === void 0 ? void 0 : t.version;
|
|
50792
|
-
if (!(!r || !
|
|
50800
|
+
if (!(!r || !I5e(r)))
|
|
50793
50801
|
return (n = Wh[Fh]) === null || n === void 0 ? void 0 : n[e];
|
|
50794
50802
|
}
|
|
50795
50803
|
function zp(e, t) {
|
|
@@ -50797,7 +50805,7 @@ function zp(e, t) {
|
|
|
50797
50805
|
var n = Wh[Fh];
|
|
50798
50806
|
n && delete n[e];
|
|
50799
50807
|
}
|
|
50800
|
-
var
|
|
50808
|
+
var k5e = function(e, t) {
|
|
50801
50809
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
50802
50810
|
if (!n) return e;
|
|
50803
50811
|
var r = n.call(e), i, o = [], a;
|
|
@@ -50813,11 +50821,11 @@ var M5e = function(e, t) {
|
|
|
50813
50821
|
}
|
|
50814
50822
|
}
|
|
50815
50823
|
return o;
|
|
50816
|
-
},
|
|
50824
|
+
}, R5e = function(e, t, n) {
|
|
50817
50825
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
|
|
50818
50826
|
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
50819
50827
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
50820
|
-
},
|
|
50828
|
+
}, D5e = (
|
|
50821
50829
|
/** @class */
|
|
50822
50830
|
(function() {
|
|
50823
50831
|
function e(t) {
|
|
@@ -50849,13 +50857,13 @@ var M5e = function(e, t) {
|
|
|
50849
50857
|
function md(e, t, n) {
|
|
50850
50858
|
var r = _c("diag");
|
|
50851
50859
|
if (r)
|
|
50852
|
-
return n.unshift(t), r[e].apply(r,
|
|
50860
|
+
return n.unshift(t), r[e].apply(r, R5e([], k5e(n), !1));
|
|
50853
50861
|
}
|
|
50854
50862
|
var ro;
|
|
50855
50863
|
(function(e) {
|
|
50856
50864
|
e[e.NONE = 0] = "NONE", e[e.ERROR = 30] = "ERROR", e[e.WARN = 50] = "WARN", e[e.INFO = 60] = "INFO", e[e.DEBUG = 70] = "DEBUG", e[e.VERBOSE = 80] = "VERBOSE", e[e.ALL = 9999] = "ALL";
|
|
50857
50865
|
})(ro || (ro = {}));
|
|
50858
|
-
function
|
|
50866
|
+
function L5e(e, t) {
|
|
50859
50867
|
e < ro.NONE ? e = ro.NONE : e > ro.ALL && (e = ro.ALL), t = t || {};
|
|
50860
50868
|
function n(r, i) {
|
|
50861
50869
|
var o = t[r];
|
|
@@ -50870,7 +50878,7 @@ function D5e(e, t) {
|
|
|
50870
50878
|
verbose: n("verbose", ro.VERBOSE)
|
|
50871
50879
|
};
|
|
50872
50880
|
}
|
|
50873
|
-
var
|
|
50881
|
+
var N5e = function(e, t) {
|
|
50874
50882
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
50875
50883
|
if (!n) return e;
|
|
50876
50884
|
var r = n.call(e), i, o = [], a;
|
|
@@ -50886,11 +50894,11 @@ var L5e = function(e, t) {
|
|
|
50886
50894
|
}
|
|
50887
50895
|
}
|
|
50888
50896
|
return o;
|
|
50889
|
-
},
|
|
50897
|
+
}, j5e = function(e, t, n) {
|
|
50890
50898
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
|
|
50891
50899
|
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
50892
50900
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
50893
|
-
},
|
|
50901
|
+
}, $5e = "diag", Ma = (
|
|
50894
50902
|
/** @class */
|
|
50895
50903
|
(function() {
|
|
50896
50904
|
function e() {
|
|
@@ -50900,7 +50908,7 @@ var L5e = function(e, t) {
|
|
|
50900
50908
|
o[a] = arguments[a];
|
|
50901
50909
|
var s = _c("diag");
|
|
50902
50910
|
if (s)
|
|
50903
|
-
return s[i].apply(s,
|
|
50911
|
+
return s[i].apply(s, j5e([], N5e(o), !1));
|
|
50904
50912
|
};
|
|
50905
50913
|
}
|
|
50906
50914
|
var n = this, r = function(i, o) {
|
|
@@ -50912,7 +50920,7 @@ var L5e = function(e, t) {
|
|
|
50912
50920
|
typeof o == "number" && (o = {
|
|
50913
50921
|
logLevel: o
|
|
50914
50922
|
});
|
|
50915
|
-
var l = _c("diag"), d =
|
|
50923
|
+
var l = _c("diag"), d = L5e((s = o.logLevel) !== null && s !== void 0 ? s : ro.INFO, i);
|
|
50916
50924
|
if (l && !o.suppressOverrideMessage) {
|
|
50917
50925
|
var h = (u = new Error().stack) !== null && u !== void 0 ? u : "<failed to generate stacktrace>";
|
|
50918
50926
|
l.warn("Current logger will be overwritten from " + h), d.warn("Current logger will overwrite one already registered from " + h);
|
|
@@ -50920,16 +50928,16 @@ var L5e = function(e, t) {
|
|
|
50920
50928
|
return Bp("diag", d, n, !0);
|
|
50921
50929
|
};
|
|
50922
50930
|
n.setLogger = r, n.disable = function() {
|
|
50923
|
-
zp(
|
|
50931
|
+
zp($5e, n);
|
|
50924
50932
|
}, n.createComponentLogger = function(i) {
|
|
50925
|
-
return new
|
|
50933
|
+
return new D5e(i);
|
|
50926
50934
|
}, n.verbose = t("verbose"), n.debug = t("debug"), n.info = t("info"), n.warn = t("warn"), n.error = t("error");
|
|
50927
50935
|
}
|
|
50928
50936
|
return e.instance = function() {
|
|
50929
50937
|
return this._instance || (this._instance = new e()), this._instance;
|
|
50930
50938
|
}, e;
|
|
50931
50939
|
})()
|
|
50932
|
-
),
|
|
50940
|
+
), B5e = function(e, t) {
|
|
50933
50941
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
50934
50942
|
if (!n) return e;
|
|
50935
50943
|
var r = n.call(e), i, o = [], a;
|
|
@@ -50945,7 +50953,7 @@ var L5e = function(e, t) {
|
|
|
50945
50953
|
}
|
|
50946
50954
|
}
|
|
50947
50955
|
return o;
|
|
50948
|
-
},
|
|
50956
|
+
}, z5e = function(e) {
|
|
50949
50957
|
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
50950
50958
|
if (n) return n.call(e);
|
|
50951
50959
|
if (e && typeof e.length == "number") return {
|
|
@@ -50954,7 +50962,7 @@ var L5e = function(e, t) {
|
|
|
50954
50962
|
}
|
|
50955
50963
|
};
|
|
50956
50964
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
50957
|
-
},
|
|
50965
|
+
}, F5e = (
|
|
50958
50966
|
/** @class */
|
|
50959
50967
|
(function() {
|
|
50960
50968
|
function e(t) {
|
|
@@ -50966,7 +50974,7 @@ var L5e = function(e, t) {
|
|
|
50966
50974
|
return Object.assign({}, n);
|
|
50967
50975
|
}, e.prototype.getAllEntries = function() {
|
|
50968
50976
|
return Array.from(this._entries.entries()).map(function(t) {
|
|
50969
|
-
var n =
|
|
50977
|
+
var n = B5e(t, 2), r = n[0], i = n[1];
|
|
50970
50978
|
return [r, i];
|
|
50971
50979
|
});
|
|
50972
50980
|
}, e.prototype.setEntry = function(t, n) {
|
|
@@ -50980,7 +50988,7 @@ var L5e = function(e, t) {
|
|
|
50980
50988
|
r[i] = arguments[i];
|
|
50981
50989
|
var o = new e(this._entries);
|
|
50982
50990
|
try {
|
|
50983
|
-
for (var a =
|
|
50991
|
+
for (var a = z5e(r), s = a.next(); !s.done; s = a.next()) {
|
|
50984
50992
|
var u = s.value;
|
|
50985
50993
|
o._entries.delete(u);
|
|
50986
50994
|
}
|
|
@@ -50998,13 +51006,13 @@ var L5e = function(e, t) {
|
|
|
50998
51006
|
return new e();
|
|
50999
51007
|
}, e;
|
|
51000
51008
|
})()
|
|
51001
|
-
),
|
|
51002
|
-
function U5e(e) {
|
|
51003
|
-
return e === void 0 && (e = {}), new z5e(new Map(Object.entries(e)));
|
|
51004
|
-
}
|
|
51009
|
+
), W5e = Symbol("BaggageEntryMetadata"), U5e = Ma.instance();
|
|
51005
51010
|
function H5e(e) {
|
|
51006
|
-
return
|
|
51007
|
-
|
|
51011
|
+
return e === void 0 && (e = {}), new F5e(new Map(Object.entries(e)));
|
|
51012
|
+
}
|
|
51013
|
+
function V5e(e) {
|
|
51014
|
+
return typeof e != "string" && (U5e.error("Cannot create baggage metadata from unknown type: " + typeof e), e = ""), {
|
|
51015
|
+
__TYPE__: W5e,
|
|
51008
51016
|
toString: function() {
|
|
51009
51017
|
return e;
|
|
51010
51018
|
}
|
|
@@ -51013,7 +51021,7 @@ function H5e(e) {
|
|
|
51013
51021
|
function L3(e) {
|
|
51014
51022
|
return Symbol.for(e);
|
|
51015
51023
|
}
|
|
51016
|
-
var
|
|
51024
|
+
var G5e = (
|
|
51017
51025
|
/** @class */
|
|
51018
51026
|
/* @__PURE__ */ (function() {
|
|
51019
51027
|
function e(t) {
|
|
@@ -51030,7 +51038,7 @@ var V5e = (
|
|
|
51030
51038
|
}
|
|
51031
51039
|
return e;
|
|
51032
51040
|
})()
|
|
51033
|
-
), ls = new
|
|
51041
|
+
), ls = new G5e(), $c = /* @__PURE__ */ (function() {
|
|
51034
51042
|
var e = function(t, n) {
|
|
51035
51043
|
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
51036
51044
|
r.__proto__ = i;
|
|
@@ -51047,25 +51055,25 @@ var V5e = (
|
|
|
51047
51055
|
}
|
|
51048
51056
|
t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
|
|
51049
51057
|
};
|
|
51050
|
-
})(),
|
|
51058
|
+
})(), q5e = (
|
|
51051
51059
|
/** @class */
|
|
51052
51060
|
(function() {
|
|
51053
51061
|
function e() {
|
|
51054
51062
|
}
|
|
51055
51063
|
return e.prototype.createGauge = function(t, n) {
|
|
51056
|
-
return n6e;
|
|
51057
|
-
}, e.prototype.createHistogram = function(t, n) {
|
|
51058
51064
|
return r6e;
|
|
51065
|
+
}, e.prototype.createHistogram = function(t, n) {
|
|
51066
|
+
return i6e;
|
|
51059
51067
|
}, e.prototype.createCounter = function(t, n) {
|
|
51060
|
-
return
|
|
51068
|
+
return n6e;
|
|
51061
51069
|
}, e.prototype.createUpDownCounter = function(t, n) {
|
|
51062
|
-
return
|
|
51070
|
+
return o6e;
|
|
51063
51071
|
}, e.prototype.createObservableGauge = function(t, n) {
|
|
51064
|
-
return
|
|
51072
|
+
return s6e;
|
|
51065
51073
|
}, e.prototype.createObservableCounter = function(t, n) {
|
|
51066
|
-
return
|
|
51074
|
+
return a6e;
|
|
51067
51075
|
}, e.prototype.createObservableUpDownCounter = function(t, n) {
|
|
51068
|
-
return
|
|
51076
|
+
return u6e;
|
|
51069
51077
|
}, e.prototype.addBatchObservableCallback = function(t, n) {
|
|
51070
51078
|
}, e.prototype.removeBatchObservableCallback = function(t) {
|
|
51071
51079
|
}, e;
|
|
@@ -51077,7 +51085,7 @@ var V5e = (
|
|
|
51077
51085
|
}
|
|
51078
51086
|
return e;
|
|
51079
51087
|
})()
|
|
51080
|
-
),
|
|
51088
|
+
), K5e = (
|
|
51081
51089
|
/** @class */
|
|
51082
51090
|
(function(e) {
|
|
51083
51091
|
$c(t, e);
|
|
@@ -51087,7 +51095,7 @@ var V5e = (
|
|
|
51087
51095
|
return t.prototype.add = function(n, r) {
|
|
51088
51096
|
}, t;
|
|
51089
51097
|
})(z1)
|
|
51090
|
-
),
|
|
51098
|
+
), Y5e = (
|
|
51091
51099
|
/** @class */
|
|
51092
51100
|
(function(e) {
|
|
51093
51101
|
$c(t, e);
|
|
@@ -51097,7 +51105,7 @@ var V5e = (
|
|
|
51097
51105
|
return t.prototype.add = function(n, r) {
|
|
51098
51106
|
}, t;
|
|
51099
51107
|
})(z1)
|
|
51100
|
-
),
|
|
51108
|
+
), X5e = (
|
|
51101
51109
|
/** @class */
|
|
51102
51110
|
(function(e) {
|
|
51103
51111
|
$c(t, e);
|
|
@@ -51107,7 +51115,7 @@ var V5e = (
|
|
|
51107
51115
|
return t.prototype.record = function(n, r) {
|
|
51108
51116
|
}, t;
|
|
51109
51117
|
})(z1)
|
|
51110
|
-
),
|
|
51118
|
+
), Z5e = (
|
|
51111
51119
|
/** @class */
|
|
51112
51120
|
(function(e) {
|
|
51113
51121
|
$c(t, e);
|
|
@@ -51126,7 +51134,7 @@ var V5e = (
|
|
|
51126
51134
|
}, e.prototype.removeCallback = function(t) {
|
|
51127
51135
|
}, e;
|
|
51128
51136
|
})()
|
|
51129
|
-
),
|
|
51137
|
+
), J5e = (
|
|
51130
51138
|
/** @class */
|
|
51131
51139
|
(function(e) {
|
|
51132
51140
|
$c(t, e);
|
|
@@ -51135,7 +51143,7 @@ var V5e = (
|
|
|
51135
51143
|
}
|
|
51136
51144
|
return t;
|
|
51137
51145
|
})(N3)
|
|
51138
|
-
),
|
|
51146
|
+
), Q5e = (
|
|
51139
51147
|
/** @class */
|
|
51140
51148
|
(function(e) {
|
|
51141
51149
|
$c(t, e);
|
|
@@ -51144,7 +51152,7 @@ var V5e = (
|
|
|
51144
51152
|
}
|
|
51145
51153
|
return t;
|
|
51146
51154
|
})(N3)
|
|
51147
|
-
),
|
|
51155
|
+
), e6e = (
|
|
51148
51156
|
/** @class */
|
|
51149
51157
|
(function(e) {
|
|
51150
51158
|
$c(t, e);
|
|
@@ -51153,7 +51161,7 @@ var V5e = (
|
|
|
51153
51161
|
}
|
|
51154
51162
|
return t;
|
|
51155
51163
|
})(N3)
|
|
51156
|
-
),
|
|
51164
|
+
), t6e = new q5e(), n6e = new K5e(), r6e = new X5e(), i6e = new Z5e(), o6e = new Y5e(), a6e = new J5e(), s6e = new Q5e(), u6e = new e6e(), c6e = {
|
|
51157
51165
|
get: function(e, t) {
|
|
51158
51166
|
if (e != null)
|
|
51159
51167
|
return e[t];
|
|
@@ -51161,11 +51169,11 @@ var V5e = (
|
|
|
51161
51169
|
keys: function(e) {
|
|
51162
51170
|
return e == null ? [] : Object.keys(e);
|
|
51163
51171
|
}
|
|
51164
|
-
},
|
|
51172
|
+
}, l6e = {
|
|
51165
51173
|
set: function(e, t, n) {
|
|
51166
51174
|
e != null && (e[t] = n);
|
|
51167
51175
|
}
|
|
51168
|
-
},
|
|
51176
|
+
}, f6e = function(e, t) {
|
|
51169
51177
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
51170
51178
|
if (!n) return e;
|
|
51171
51179
|
var r = n.call(e), i, o = [], a;
|
|
@@ -51181,11 +51189,11 @@ var V5e = (
|
|
|
51181
51189
|
}
|
|
51182
51190
|
}
|
|
51183
51191
|
return o;
|
|
51184
|
-
},
|
|
51192
|
+
}, d6e = function(e, t, n) {
|
|
51185
51193
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
|
|
51186
51194
|
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
51187
51195
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
51188
|
-
},
|
|
51196
|
+
}, h6e = (
|
|
51189
51197
|
/** @class */
|
|
51190
51198
|
(function() {
|
|
51191
51199
|
function e() {
|
|
@@ -51195,7 +51203,7 @@ var V5e = (
|
|
|
51195
51203
|
}, e.prototype.with = function(t, n, r) {
|
|
51196
51204
|
for (var i = [], o = 3; o < arguments.length; o++)
|
|
51197
51205
|
i[o - 3] = arguments[o];
|
|
51198
|
-
return n.call.apply(n,
|
|
51206
|
+
return n.call.apply(n, d6e([r], f6e(i), !1));
|
|
51199
51207
|
}, e.prototype.bind = function(t, n) {
|
|
51200
51208
|
return n;
|
|
51201
51209
|
}, e.prototype.enable = function() {
|
|
@@ -51204,7 +51212,7 @@ var V5e = (
|
|
|
51204
51212
|
return this;
|
|
51205
51213
|
}, e;
|
|
51206
51214
|
})()
|
|
51207
|
-
),
|
|
51215
|
+
), p6e = function(e, t) {
|
|
51208
51216
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
51209
51217
|
if (!n) return e;
|
|
51210
51218
|
var r = n.call(e), i, o = [], a;
|
|
@@ -51220,11 +51228,11 @@ var V5e = (
|
|
|
51220
51228
|
}
|
|
51221
51229
|
}
|
|
51222
51230
|
return o;
|
|
51223
|
-
},
|
|
51231
|
+
}, g6e = function(e, t, n) {
|
|
51224
51232
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
|
|
51225
51233
|
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
51226
51234
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
51227
|
-
}, P2 = "context",
|
|
51235
|
+
}, P2 = "context", v6e = new h6e(), F1 = (
|
|
51228
51236
|
/** @class */
|
|
51229
51237
|
(function() {
|
|
51230
51238
|
function e() {
|
|
@@ -51238,11 +51246,11 @@ var V5e = (
|
|
|
51238
51246
|
}, e.prototype.with = function(t, n, r) {
|
|
51239
51247
|
for (var i, o = [], a = 3; a < arguments.length; a++)
|
|
51240
51248
|
o[a - 3] = arguments[a];
|
|
51241
|
-
return (i = this._getContextManager()).with.apply(i,
|
|
51249
|
+
return (i = this._getContextManager()).with.apply(i, g6e([t, n, r], p6e(o), !1));
|
|
51242
51250
|
}, e.prototype.bind = function(t, n) {
|
|
51243
51251
|
return this._getContextManager().bind(t, n);
|
|
51244
51252
|
}, e.prototype._getContextManager = function() {
|
|
51245
|
-
return _c(P2) ||
|
|
51253
|
+
return _c(P2) || v6e;
|
|
51246
51254
|
}, e.prototype.disable = function() {
|
|
51247
51255
|
this._getContextManager().disable(), zp(P2, Ma.instance());
|
|
51248
51256
|
}, e;
|
|
@@ -51287,33 +51295,33 @@ var MF = "0000000000000000", kF = "00000000000000000000000000000000", RF = {
|
|
|
51287
51295
|
function $3(e) {
|
|
51288
51296
|
return e.getValue(j3) || void 0;
|
|
51289
51297
|
}
|
|
51290
|
-
function
|
|
51298
|
+
function m6e() {
|
|
51291
51299
|
return $3(F1.getInstance().active());
|
|
51292
51300
|
}
|
|
51293
51301
|
function B3(e, t) {
|
|
51294
51302
|
return e.setValue(j3, t);
|
|
51295
51303
|
}
|
|
51296
|
-
function
|
|
51304
|
+
function y6e(e) {
|
|
51297
51305
|
return e.deleteValue(j3);
|
|
51298
51306
|
}
|
|
51299
|
-
function
|
|
51307
|
+
function b6e(e, t) {
|
|
51300
51308
|
return B3(e, new th(t));
|
|
51301
51309
|
}
|
|
51302
51310
|
function DF(e) {
|
|
51303
51311
|
var t;
|
|
51304
51312
|
return (t = $3(e)) === null || t === void 0 ? void 0 : t.spanContext();
|
|
51305
51313
|
}
|
|
51306
|
-
var
|
|
51314
|
+
var w6e = /^([0-9a-f]{32})$/i, _6e = /^[0-9a-f]{16}$/i;
|
|
51307
51315
|
function LF(e) {
|
|
51308
|
-
return
|
|
51316
|
+
return w6e.test(e) && e !== kF;
|
|
51309
51317
|
}
|
|
51310
|
-
function
|
|
51311
|
-
return
|
|
51318
|
+
function x6e(e) {
|
|
51319
|
+
return _6e.test(e) && e !== MF;
|
|
51312
51320
|
}
|
|
51313
51321
|
function Fp(e) {
|
|
51314
|
-
return LF(e.traceId) &&
|
|
51322
|
+
return LF(e.traceId) && x6e(e.spanId);
|
|
51315
51323
|
}
|
|
51316
|
-
function
|
|
51324
|
+
function E6e(e) {
|
|
51317
51325
|
return new th(e);
|
|
51318
51326
|
}
|
|
51319
51327
|
var T2 = F1.getInstance(), NF = (
|
|
@@ -51327,7 +51335,7 @@ var T2 = F1.getInstance(), NF = (
|
|
|
51327
51335
|
if (i)
|
|
51328
51336
|
return new th();
|
|
51329
51337
|
var o = r && DF(r);
|
|
51330
|
-
return
|
|
51338
|
+
return S6e(o) && Fp(o) ? new th(o) : new th();
|
|
51331
51339
|
}, e.prototype.startActiveSpan = function(t, n, r, i) {
|
|
51332
51340
|
var o, a, s;
|
|
51333
51341
|
if (!(arguments.length < 2)) {
|
|
@@ -51338,10 +51346,10 @@ var T2 = F1.getInstance(), NF = (
|
|
|
51338
51346
|
}, e;
|
|
51339
51347
|
})()
|
|
51340
51348
|
);
|
|
51341
|
-
function
|
|
51349
|
+
function S6e(e) {
|
|
51342
51350
|
return typeof e == "object" && typeof e.spanId == "string" && typeof e.traceId == "string" && typeof e.traceFlags == "number";
|
|
51343
51351
|
}
|
|
51344
|
-
var
|
|
51352
|
+
var O6e = new NF(), A6e = (
|
|
51345
51353
|
/** @class */
|
|
51346
51354
|
(function() {
|
|
51347
51355
|
function e(t, n, r, i) {
|
|
@@ -51356,10 +51364,10 @@ var S6e = new NF(), O6e = (
|
|
|
51356
51364
|
if (this._delegate)
|
|
51357
51365
|
return this._delegate;
|
|
51358
51366
|
var t = this._provider.getDelegateTracer(this.name, this.version, this.options);
|
|
51359
|
-
return t ? (this._delegate = t, this._delegate) :
|
|
51367
|
+
return t ? (this._delegate = t, this._delegate) : O6e;
|
|
51360
51368
|
}, e;
|
|
51361
51369
|
})()
|
|
51362
|
-
),
|
|
51370
|
+
), P6e = (
|
|
51363
51371
|
/** @class */
|
|
51364
51372
|
(function() {
|
|
51365
51373
|
function e() {
|
|
@@ -51368,17 +51376,17 @@ var S6e = new NF(), O6e = (
|
|
|
51368
51376
|
return new NF();
|
|
51369
51377
|
}, e;
|
|
51370
51378
|
})()
|
|
51371
|
-
),
|
|
51379
|
+
), T6e = new P6e(), $I = (
|
|
51372
51380
|
/** @class */
|
|
51373
51381
|
(function() {
|
|
51374
51382
|
function e() {
|
|
51375
51383
|
}
|
|
51376
51384
|
return e.prototype.getTracer = function(t, n, r) {
|
|
51377
51385
|
var i;
|
|
51378
|
-
return (i = this.getDelegateTracer(t, n, r)) !== null && i !== void 0 ? i : new
|
|
51386
|
+
return (i = this.getDelegateTracer(t, n, r)) !== null && i !== void 0 ? i : new A6e(this, t, n, r);
|
|
51379
51387
|
}, e.prototype.getDelegate = function() {
|
|
51380
51388
|
var t;
|
|
51381
|
-
return (t = this._delegate) !== null && t !== void 0 ? t :
|
|
51389
|
+
return (t = this._delegate) !== null && t !== void 0 ? t : T6e;
|
|
51382
51390
|
}, e.prototype.setDelegate = function(t) {
|
|
51383
51391
|
this._delegate = t;
|
|
51384
51392
|
}, e.prototype.getDelegateTracer = function(t, n, r) {
|
|
@@ -51398,16 +51406,16 @@ var ec;
|
|
|
51398
51406
|
(function(e) {
|
|
51399
51407
|
e[e.UNSET = 0] = "UNSET", e[e.OK = 1] = "OK", e[e.ERROR = 2] = "ERROR";
|
|
51400
51408
|
})(ec || (ec = {}));
|
|
51401
|
-
var jr = F1.getInstance(), Ht = Ma.instance(),
|
|
51409
|
+
var jr = F1.getInstance(), Ht = Ma.instance(), C6e = (
|
|
51402
51410
|
/** @class */
|
|
51403
51411
|
(function() {
|
|
51404
51412
|
function e() {
|
|
51405
51413
|
}
|
|
51406
51414
|
return e.prototype.getMeter = function(t, n, r) {
|
|
51407
|
-
return
|
|
51415
|
+
return t6e;
|
|
51408
51416
|
}, e;
|
|
51409
51417
|
})()
|
|
51410
|
-
),
|
|
51418
|
+
), I6e = new C6e(), C2 = "metrics", M6e = (
|
|
51411
51419
|
/** @class */
|
|
51412
51420
|
(function() {
|
|
51413
51421
|
function e() {
|
|
@@ -51417,14 +51425,14 @@ var jr = F1.getInstance(), Ht = Ma.instance(), T6e = (
|
|
|
51417
51425
|
}, e.prototype.setGlobalMeterProvider = function(t) {
|
|
51418
51426
|
return Bp(C2, t, Ma.instance());
|
|
51419
51427
|
}, e.prototype.getMeterProvider = function() {
|
|
51420
|
-
return _c(C2) ||
|
|
51428
|
+
return _c(C2) || I6e;
|
|
51421
51429
|
}, e.prototype.getMeter = function(t, n, r) {
|
|
51422
51430
|
return this.getMeterProvider().getMeter(t, n, r);
|
|
51423
51431
|
}, e.prototype.disable = function() {
|
|
51424
51432
|
zp(C2, Ma.instance());
|
|
51425
51433
|
}, e;
|
|
51426
51434
|
})()
|
|
51427
|
-
), jF =
|
|
51435
|
+
), jF = M6e.getInstance(), k6e = (
|
|
51428
51436
|
/** @class */
|
|
51429
51437
|
(function() {
|
|
51430
51438
|
function e() {
|
|
@@ -51440,42 +51448,42 @@ var jr = F1.getInstance(), Ht = Ma.instance(), T6e = (
|
|
|
51440
51448
|
function $F(e) {
|
|
51441
51449
|
return e.getValue(z3) || void 0;
|
|
51442
51450
|
}
|
|
51443
|
-
function
|
|
51451
|
+
function R6e() {
|
|
51444
51452
|
return $F(F1.getInstance().active());
|
|
51445
51453
|
}
|
|
51446
|
-
function
|
|
51454
|
+
function D6e(e, t) {
|
|
51447
51455
|
return e.setValue(z3, t);
|
|
51448
51456
|
}
|
|
51449
|
-
function
|
|
51457
|
+
function L6e(e) {
|
|
51450
51458
|
return e.deleteValue(z3);
|
|
51451
51459
|
}
|
|
51452
|
-
var I2 = "propagation",
|
|
51460
|
+
var I2 = "propagation", N6e = new k6e(), j6e = (
|
|
51453
51461
|
/** @class */
|
|
51454
51462
|
(function() {
|
|
51455
51463
|
function e() {
|
|
51456
|
-
this.createBaggage =
|
|
51464
|
+
this.createBaggage = H5e, this.getBaggage = $F, this.getActiveBaggage = R6e, this.setBaggage = D6e, this.deleteBaggage = L6e;
|
|
51457
51465
|
}
|
|
51458
51466
|
return e.getInstance = function() {
|
|
51459
51467
|
return this._instance || (this._instance = new e()), this._instance;
|
|
51460
51468
|
}, e.prototype.setGlobalPropagator = function(t) {
|
|
51461
51469
|
return Bp(I2, t, Ma.instance());
|
|
51462
51470
|
}, e.prototype.inject = function(t, n, r) {
|
|
51463
|
-
return r === void 0 && (r =
|
|
51471
|
+
return r === void 0 && (r = l6e), this._getGlobalPropagator().inject(t, n, r);
|
|
51464
51472
|
}, e.prototype.extract = function(t, n, r) {
|
|
51465
|
-
return r === void 0 && (r =
|
|
51473
|
+
return r === void 0 && (r = c6e), this._getGlobalPropagator().extract(t, n, r);
|
|
51466
51474
|
}, e.prototype.fields = function() {
|
|
51467
51475
|
return this._getGlobalPropagator().fields();
|
|
51468
51476
|
}, e.prototype.disable = function() {
|
|
51469
51477
|
zp(I2, Ma.instance());
|
|
51470
51478
|
}, e.prototype._getGlobalPropagator = function() {
|
|
51471
|
-
return _c(I2) ||
|
|
51479
|
+
return _c(I2) || N6e;
|
|
51472
51480
|
}, e;
|
|
51473
51481
|
})()
|
|
51474
|
-
), ya =
|
|
51482
|
+
), ya = j6e.getInstance(), M2 = "trace", $6e = (
|
|
51475
51483
|
/** @class */
|
|
51476
51484
|
(function() {
|
|
51477
51485
|
function e() {
|
|
51478
|
-
this._proxyTracerProvider = new $I(), this.wrapSpanContext =
|
|
51486
|
+
this._proxyTracerProvider = new $I(), this.wrapSpanContext = E6e, this.isSpanContextValid = Fp, this.deleteSpan = y6e, this.getSpan = $3, this.getActiveSpan = m6e, this.getSpanContext = DF, this.setSpan = B3, this.setSpanContext = b6e;
|
|
51479
51487
|
}
|
|
51480
51488
|
return e.getInstance = function() {
|
|
51481
51489
|
return this._instance || (this._instance = new e()), this._instance;
|
|
@@ -51490,14 +51498,14 @@ var I2 = "propagation", L6e = new M6e(), N6e = (
|
|
|
51490
51498
|
zp(M2, Ma.instance()), this._proxyTracerProvider = new $I();
|
|
51491
51499
|
}, e;
|
|
51492
51500
|
})()
|
|
51493
|
-
), oi =
|
|
51501
|
+
), oi = $6e.getInstance();
|
|
51494
51502
|
function Ri(e) {
|
|
51495
51503
|
return e === null ? "null" : Array.isArray(e) ? "array" : typeof e;
|
|
51496
51504
|
}
|
|
51497
51505
|
function Nu(e) {
|
|
51498
51506
|
return Ri(e) === "object";
|
|
51499
51507
|
}
|
|
51500
|
-
function
|
|
51508
|
+
function B6e(e) {
|
|
51501
51509
|
return Array.isArray(e) && // must be at least one error
|
|
51502
51510
|
e.length > 0 && // error has at least a message
|
|
51503
51511
|
e.every((t) => "message" in t);
|
|
@@ -51505,7 +51513,7 @@ function $6e(e) {
|
|
|
51505
51513
|
function BI(e, t) {
|
|
51506
51514
|
return e.length < 124 ? e : t;
|
|
51507
51515
|
}
|
|
51508
|
-
const
|
|
51516
|
+
const z6e = "graphql-transport-ws";
|
|
51509
51517
|
var Io = /* @__PURE__ */ ((e) => (e[e.InternalServerError = 4500] = "InternalServerError", e[e.InternalClientError = 4005] = "InternalClientError", e[e.BadRequest = 4400] = "BadRequest", e[e.BadResponse = 4004] = "BadResponse", e[e.Unauthorized = 4401] = "Unauthorized", e[e.Forbidden = 4403] = "Forbidden", e[e.SubprotocolNotAcceptable = 4406] = "SubprotocolNotAcceptable", e[e.ConnectionInitialisationTimeout = 4408] = "ConnectionInitialisationTimeout", e[e.ConnectionAcknowledgementTimeout = 4504] = "ConnectionAcknowledgementTimeout", e[e.SubscriberAlreadyExists = 4409] = "SubscriberAlreadyExists", e[e.TooManyInitialisationRequests = 4429] = "TooManyInitialisationRequests", e))(Io || {}), Mo = /* @__PURE__ */ ((e) => (e.ConnectionInit = "connection_init", e.ConnectionAck = "connection_ack", e.Ping = "ping", e.Pong = "pong", e.Subscribe = "subscribe", e.Next = "next", e.Error = "error", e.Complete = "complete", e))(Mo || {});
|
|
51510
51518
|
function BF(e) {
|
|
51511
51519
|
if (!Nu(e))
|
|
@@ -51604,7 +51612,7 @@ function BF(e) {
|
|
|
51604
51612
|
throw new Error(
|
|
51605
51613
|
`"${e.type}" message requires a non-empty 'id' property`
|
|
51606
51614
|
);
|
|
51607
|
-
if (
|
|
51615
|
+
if (!B6e(e.payload))
|
|
51608
51616
|
throw new Error(
|
|
51609
51617
|
`"${e.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(
|
|
51610
51618
|
e.payload
|
|
@@ -51630,7 +51638,7 @@ function BF(e) {
|
|
|
51630
51638
|
}
|
|
51631
51639
|
return e;
|
|
51632
51640
|
}
|
|
51633
|
-
function
|
|
51641
|
+
function F6e(e, t) {
|
|
51634
51642
|
return BF(
|
|
51635
51643
|
typeof e == "string" ? JSON.parse(e, t) : e
|
|
51636
51644
|
);
|
|
@@ -51638,7 +51646,7 @@ function z6e(e, t) {
|
|
|
51638
51646
|
function yd(e, t) {
|
|
51639
51647
|
return BF(e), JSON.stringify(e, t);
|
|
51640
51648
|
}
|
|
51641
|
-
function
|
|
51649
|
+
function W6e(e) {
|
|
51642
51650
|
const {
|
|
51643
51651
|
url: t,
|
|
51644
51652
|
connectionParams: n,
|
|
@@ -51680,7 +51688,7 @@ function F6e(e) {
|
|
|
51680
51688
|
} = e;
|
|
51681
51689
|
let w;
|
|
51682
51690
|
if (p) {
|
|
51683
|
-
if (!
|
|
51691
|
+
if (!H6e(p))
|
|
51684
51692
|
throw new Error("Invalid WebSocket implementation provided");
|
|
51685
51693
|
w = p;
|
|
51686
51694
|
} else typeof WebSocket < "u" ? w = WebSocket : typeof global < "u" ? w = global.WebSocket || // @ts-expect-error: Support more browsers
|
|
@@ -51752,7 +51760,7 @@ function F6e(e) {
|
|
|
51752
51760
|
E.emit("connecting", j);
|
|
51753
51761
|
const U = new x(
|
|
51754
51762
|
typeof t == "function" ? await t() : t,
|
|
51755
|
-
|
|
51763
|
+
z6e
|
|
51756
51764
|
);
|
|
51757
51765
|
let Z, fe;
|
|
51758
51766
|
function pe() {
|
|
@@ -51797,7 +51805,7 @@ function F6e(e) {
|
|
|
51797
51805
|
let _e = !1;
|
|
51798
51806
|
U.onmessage = ({ data: Se }) => {
|
|
51799
51807
|
try {
|
|
51800
|
-
const k =
|
|
51808
|
+
const k = F6e(Se, v);
|
|
51801
51809
|
if (E.emit("message", k), k.type === "ping" || k.type === "pong") {
|
|
51802
51810
|
E.emit(k.type, !0, k.payload), k.type === "pong" ? pe() : s || (U.send(
|
|
51803
51811
|
yd(
|
|
@@ -51856,7 +51864,7 @@ function F6e(e) {
|
|
|
51856
51864
|
];
|
|
51857
51865
|
}
|
|
51858
51866
|
function J(L) {
|
|
51859
|
-
if (k2(L) && (
|
|
51867
|
+
if (k2(L) && (U6e(L.code) || [
|
|
51860
51868
|
Io.InternalServerError,
|
|
51861
51869
|
Io.InternalClientError,
|
|
51862
51870
|
Io.BadRequest,
|
|
@@ -52000,7 +52008,7 @@ class zI extends Error {
|
|
|
52000
52008
|
function k2(e) {
|
|
52001
52009
|
return Nu(e) && "code" in e && "reason" in e;
|
|
52002
52010
|
}
|
|
52003
|
-
function
|
|
52011
|
+
function U6e(e) {
|
|
52004
52012
|
return [
|
|
52005
52013
|
1e3,
|
|
52006
52014
|
// Normal Closure is not an erroneous close code
|
|
@@ -52018,19 +52026,19 @@ function W6e(e) {
|
|
|
52018
52026
|
// Bad Gateway
|
|
52019
52027
|
].includes(e) ? !1 : e >= 1e3 && e <= 1999;
|
|
52020
52028
|
}
|
|
52021
|
-
function
|
|
52029
|
+
function H6e(e) {
|
|
52022
52030
|
return typeof e == "function" && "constructor" in e && "CLOSED" in e && "CLOSING" in e && "CONNECTING" in e && "OPEN" in e;
|
|
52023
52031
|
}
|
|
52024
|
-
const
|
|
52032
|
+
const V6e = (e) => W6e({
|
|
52025
52033
|
url: e.WS_URL
|
|
52026
|
-
}),
|
|
52034
|
+
}), G6e = (e, t, n) => NM.create((r) => V6e(n).subscribe(
|
|
52027
52035
|
{
|
|
52028
52036
|
operationName: e.name,
|
|
52029
52037
|
query: e.text,
|
|
52030
52038
|
variables: t
|
|
52031
52039
|
},
|
|
52032
52040
|
r
|
|
52033
|
-
)),
|
|
52041
|
+
)), q6e = (e, t, n) => NM.from(
|
|
52034
52042
|
jr.with(jr.active(), () => {
|
|
52035
52043
|
const r = oi.getTracer("RelayNetwork").startSpan("GraphQL fetch");
|
|
52036
52044
|
r.setAttribute("variables", JSON.stringify(t)), r.setAttribute("path", e.name);
|
|
@@ -52054,25 +52062,25 @@ const H6e = (e) => F6e({
|
|
|
52054
52062
|
r.setStatus({ code: ec.ERROR }), r.recordException(JSON.stringify(o));
|
|
52055
52063
|
}).finally(() => r.end());
|
|
52056
52064
|
})
|
|
52057
|
-
),
|
|
52065
|
+
), K6e = (e) => {
|
|
52058
52066
|
const t = e.id;
|
|
52059
52067
|
return t !== null && typeof t != "string" ? String(t) : t;
|
|
52060
52068
|
};
|
|
52061
|
-
function
|
|
52069
|
+
function Y6e(e) {
|
|
52062
52070
|
return new pZ({
|
|
52063
52071
|
network: vZ.create(
|
|
52064
|
-
(t, n) =>
|
|
52065
|
-
(t, n) =>
|
|
52072
|
+
(t, n) => q6e(t, n, e),
|
|
52073
|
+
(t, n) => G6e(t, n, e)
|
|
52066
52074
|
),
|
|
52067
52075
|
store: new gZ(new mZ()),
|
|
52068
|
-
getDataID:
|
|
52076
|
+
getDataID: K6e
|
|
52069
52077
|
});
|
|
52070
52078
|
}
|
|
52071
|
-
function
|
|
52072
|
-
const t = sS(), n =
|
|
52079
|
+
function KRe({ children: e }) {
|
|
52080
|
+
const t = sS(), n = Y6e(t);
|
|
52073
52081
|
return /* @__PURE__ */ A(hX, { environment: n, children: e });
|
|
52074
52082
|
}
|
|
52075
|
-
const
|
|
52083
|
+
const YRe = (e, t, n) => {
|
|
52076
52084
|
const r = [];
|
|
52077
52085
|
for (const i in e)
|
|
52078
52086
|
if (Object.prototype.hasOwnProperty.call(e, i)) {
|
|
@@ -52091,7 +52099,7 @@ const KRe = (e, t, n) => {
|
|
|
52091
52099
|
}
|
|
52092
52100
|
return r;
|
|
52093
52101
|
};
|
|
52094
|
-
var
|
|
52102
|
+
var X6e = /* @__PURE__ */ ((e) => (e[e.Container = 1] = "Container", e[e.File = 2] = "File", e[e.Rad = 3] = "Rad", e))(X6e || {});
|
|
52095
52103
|
const gs = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 };
|
|
52096
52104
|
function zF(e) {
|
|
52097
52105
|
return "init" in e;
|
|
@@ -52114,11 +52122,11 @@ function FF(e) {
|
|
|
52114
52122
|
var t;
|
|
52115
52123
|
return Bm(e) && !!((t = $m.get(e)) != null && t[0]);
|
|
52116
52124
|
}
|
|
52117
|
-
function
|
|
52125
|
+
function Z6e(e) {
|
|
52118
52126
|
const t = $m.get(e);
|
|
52119
52127
|
t?.[0] && (t[0] = !1, t[1].forEach((n) => n()));
|
|
52120
52128
|
}
|
|
52121
|
-
function
|
|
52129
|
+
function J6e(e, t) {
|
|
52122
52130
|
let n = $m.get(e);
|
|
52123
52131
|
if (!n) {
|
|
52124
52132
|
n = [!0, /* @__PURE__ */ new Set()], $m.set(e, n);
|
|
@@ -52148,24 +52156,24 @@ function UF(e, t, n) {
|
|
|
52148
52156
|
i.add(o);
|
|
52149
52157
|
return i;
|
|
52150
52158
|
}
|
|
52151
|
-
const
|
|
52159
|
+
const Q6e = (e, t, ...n) => t.read(...n), e4e = (e, t, ...n) => t.write(...n), t4e = (e, t) => {
|
|
52152
52160
|
if (t.INTERNAL_onInit)
|
|
52153
52161
|
return t.INTERNAL_onInit(e);
|
|
52154
52162
|
if (t.unstable_onInit)
|
|
52155
52163
|
return console.warn(
|
|
52156
52164
|
"[DEPRECATED] atom.unstable_onInit is renamed to atom.INTERNAL_onInit."
|
|
52157
52165
|
), t.unstable_onInit(e);
|
|
52158
|
-
},
|
|
52166
|
+
}, n4e = (e, t, n) => {
|
|
52159
52167
|
var r;
|
|
52160
52168
|
return (r = t.onMount) == null ? void 0 : r.call(t, n);
|
|
52161
|
-
},
|
|
52169
|
+
}, r4e = (e, t) => {
|
|
52162
52170
|
var n;
|
|
52163
52171
|
const r = ui(e), i = r[0], o = r[6], a = r[9];
|
|
52164
52172
|
if ((gs ? "production" : void 0) !== "production" && !t)
|
|
52165
52173
|
throw new Error("Atom is undefined or null");
|
|
52166
52174
|
let s = i.get(t);
|
|
52167
52175
|
return s || (s = { d: /* @__PURE__ */ new Map(), p: /* @__PURE__ */ new Set(), n: 0 }, i.set(t, s), (n = o.i) == null || n.call(o, t), a?.(e, t)), s;
|
|
52168
|
-
},
|
|
52176
|
+
}, i4e = (e) => {
|
|
52169
52177
|
const t = ui(e), n = t[1], r = t[3], i = t[4], o = t[5], a = t[6], s = t[13], u = [], c = (l) => {
|
|
52170
52178
|
try {
|
|
52171
52179
|
l();
|
|
@@ -52183,7 +52191,7 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
|
|
|
52183
52191
|
} while (r.size || o.size || i.size);
|
|
52184
52192
|
if (u.length)
|
|
52185
52193
|
throw new AggregateError(u);
|
|
52186
|
-
},
|
|
52194
|
+
}, o4e = (e) => {
|
|
52187
52195
|
const t = ui(e), n = t[1], r = t[2], i = t[3], o = t[11], a = t[14], s = t[17], u = [], c = /* @__PURE__ */ new WeakSet(), l = /* @__PURE__ */ new WeakSet(), d = Array.from(i);
|
|
52188
52196
|
for (; d.length; ) {
|
|
52189
52197
|
const h = d[d.length - 1], p = o(e, h);
|
|
@@ -52213,7 +52221,7 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
|
|
|
52213
52221
|
}
|
|
52214
52222
|
m && (a(e, p), s(e, p)), r.delete(p);
|
|
52215
52223
|
}
|
|
52216
|
-
}, UE = /* @__PURE__ */ new WeakSet(),
|
|
52224
|
+
}, UE = /* @__PURE__ */ new WeakSet(), a4e = (e, t) => {
|
|
52217
52225
|
var n, r;
|
|
52218
52226
|
const i = ui(e), o = i[1], a = i[2], s = i[3], u = i[6], c = i[7], l = i[11], d = i[12], h = i[13], p = i[14], y = i[16], m = i[17], v = l(e, t);
|
|
52219
52227
|
if (FI(v)) {
|
|
@@ -52272,13 +52280,13 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
|
|
|
52272
52280
|
const j = c(e, t, E, M);
|
|
52273
52281
|
return (gs ? "production" : void 0) !== "production" && UE.has(e) && console.warn(
|
|
52274
52282
|
"Detected store mutation during atom read. This is not supported."
|
|
52275
|
-
), zm(e, t, j), Bm(j) && (
|
|
52283
|
+
), zm(e, t, j), Bm(j) && (J6e(j, () => O?.abort()), j.then(x, x)), (n = u.r) == null || n.call(u, t), v;
|
|
52276
52284
|
} catch (j) {
|
|
52277
52285
|
return delete v.v, v.e = j, ++v.n, v;
|
|
52278
52286
|
} finally {
|
|
52279
52287
|
w = !1, D !== v.n && a.get(t) === D && (a.set(t, v.n), s.add(t), (r = u.c) == null || r.call(u, t));
|
|
52280
52288
|
}
|
|
52281
|
-
},
|
|
52289
|
+
}, s4e = (e, t) => {
|
|
52282
52290
|
const n = ui(e), r = n[1], i = n[2], o = n[11], a = [t];
|
|
52283
52291
|
for (; a.length; ) {
|
|
52284
52292
|
const s = a.pop(), u = o(e, s);
|
|
@@ -52312,7 +52320,7 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
|
|
|
52312
52320
|
} finally {
|
|
52313
52321
|
p = !1;
|
|
52314
52322
|
}
|
|
52315
|
-
},
|
|
52323
|
+
}, u4e = (e, t) => {
|
|
52316
52324
|
var n;
|
|
52317
52325
|
const r = ui(e), i = r[1], o = r[3], a = r[6], s = r[11], u = r[15], c = r[18], l = r[19], d = s(e, t), h = i.get(t);
|
|
52318
52326
|
if (h && !FF(d.v)) {
|
|
@@ -52369,7 +52377,7 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
|
|
|
52369
52377
|
(n = a.m) == null || n.call(a, t);
|
|
52370
52378
|
}
|
|
52371
52379
|
return y;
|
|
52372
|
-
},
|
|
52380
|
+
}, c4e = (e, t) => {
|
|
52373
52381
|
var n, r;
|
|
52374
52382
|
const i = ui(e), o = i[1], a = i[5], s = i[6], u = i[11], c = i[19], l = u(e, t);
|
|
52375
52383
|
let d = o.get(t);
|
|
@@ -52400,18 +52408,18 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
|
|
|
52400
52408
|
n,
|
|
52401
52409
|
r(e, s)
|
|
52402
52410
|
);
|
|
52403
|
-
i.v = n, delete i.e, (!o || !Object.is(a, i.v)) && (++i.n, Bm(a) &&
|
|
52404
|
-
},
|
|
52411
|
+
i.v = n, delete i.e, (!o || !Object.is(a, i.v)) && (++i.n, Bm(a) && Z6e(a));
|
|
52412
|
+
}, l4e = (e, t) => {
|
|
52405
52413
|
const n = ui(e)[14];
|
|
52406
52414
|
return jm(n(e, t));
|
|
52407
|
-
},
|
|
52415
|
+
}, f4e = (e, t, ...n) => {
|
|
52408
52416
|
const r = ui(e), i = r[12], o = r[13], a = r[16];
|
|
52409
52417
|
try {
|
|
52410
52418
|
return a(e, t, ...n);
|
|
52411
52419
|
} finally {
|
|
52412
52420
|
o(e), i(e);
|
|
52413
52421
|
}
|
|
52414
|
-
},
|
|
52422
|
+
}, d4e = (e, t, n) => {
|
|
52415
52423
|
const r = ui(e), i = r[12], o = r[18], a = r[19], u = o(e, t).l;
|
|
52416
52424
|
return u.add(n), i(e), () => {
|
|
52417
52425
|
u.delete(n), a(e, t), i(e);
|
|
@@ -52424,7 +52432,7 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
|
|
|
52424
52432
|
);
|
|
52425
52433
|
return t;
|
|
52426
52434
|
};
|
|
52427
|
-
function
|
|
52435
|
+
function h4e(...e) {
|
|
52428
52436
|
const t = {
|
|
52429
52437
|
get(r) {
|
|
52430
52438
|
const i = ui(t)[21];
|
|
@@ -52455,59 +52463,59 @@ function d4e(...e) {
|
|
|
52455
52463
|
{},
|
|
52456
52464
|
// storeHooks
|
|
52457
52465
|
// atom interceptors
|
|
52458
|
-
J6e,
|
|
52459
52466
|
Q6e,
|
|
52460
52467
|
e4e,
|
|
52461
52468
|
t4e,
|
|
52462
|
-
// building-block functions
|
|
52463
52469
|
n4e,
|
|
52470
|
+
// building-block functions
|
|
52464
52471
|
r4e,
|
|
52465
52472
|
i4e,
|
|
52466
52473
|
o4e,
|
|
52467
52474
|
a4e,
|
|
52468
|
-
HF,
|
|
52469
52475
|
s4e,
|
|
52470
|
-
|
|
52476
|
+
HF,
|
|
52471
52477
|
u4e,
|
|
52472
|
-
|
|
52478
|
+
VF,
|
|
52473
52479
|
c4e,
|
|
52480
|
+
zm,
|
|
52474
52481
|
l4e,
|
|
52475
52482
|
f4e,
|
|
52483
|
+
d4e,
|
|
52476
52484
|
void 0
|
|
52477
52485
|
].map((r, i) => e[i] || r);
|
|
52478
52486
|
return GF.set(t, Object.freeze(n)), t;
|
|
52479
52487
|
}
|
|
52480
52488
|
const qF = {};
|
|
52481
|
-
let
|
|
52482
|
-
function
|
|
52483
|
-
const n = `atom${++
|
|
52489
|
+
let p4e = 0;
|
|
52490
|
+
function g4e(e, t) {
|
|
52491
|
+
const n = `atom${++p4e}`, r = {
|
|
52484
52492
|
toString() {
|
|
52485
52493
|
return (qF ? "production" : void 0) !== "production" && this.debugLabel ? n + ":" + this.debugLabel : n;
|
|
52486
52494
|
}
|
|
52487
52495
|
};
|
|
52488
|
-
return typeof e == "function" ? r.read = e : (r.init = e, r.read =
|
|
52496
|
+
return typeof e == "function" ? r.read = e : (r.init = e, r.read = v4e, r.write = m4e), r;
|
|
52489
52497
|
}
|
|
52490
|
-
function
|
|
52498
|
+
function v4e(e) {
|
|
52491
52499
|
return e(this);
|
|
52492
52500
|
}
|
|
52493
|
-
function
|
|
52501
|
+
function m4e(e, t, n) {
|
|
52494
52502
|
return t(
|
|
52495
52503
|
this,
|
|
52496
52504
|
typeof n == "function" ? n(e(this)) : n
|
|
52497
52505
|
);
|
|
52498
52506
|
}
|
|
52499
|
-
function
|
|
52500
|
-
return
|
|
52507
|
+
function y4e() {
|
|
52508
|
+
return h4e();
|
|
52501
52509
|
}
|
|
52502
52510
|
let bd;
|
|
52503
|
-
function
|
|
52504
|
-
return bd || (bd =
|
|
52511
|
+
function b4e() {
|
|
52512
|
+
return bd || (bd = y4e(), (qF ? "production" : void 0) !== "production" && (globalThis.__JOTAI_DEFAULT_STORE__ || (globalThis.__JOTAI_DEFAULT_STORE__ = bd), globalThis.__JOTAI_DEFAULT_STORE__ !== bd && console.warn(
|
|
52505
52513
|
"Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"
|
|
52506
52514
|
))), bd;
|
|
52507
52515
|
}
|
|
52508
|
-
const
|
|
52516
|
+
const XRe = {
|
|
52509
52517
|
createState: (e) => {
|
|
52510
|
-
const t =
|
|
52518
|
+
const t = g4e(e), n = b4e();
|
|
52511
52519
|
return {
|
|
52512
52520
|
get: () => n.get(t),
|
|
52513
52521
|
set: (r) => n.set(t, r),
|
|
@@ -52522,7 +52530,7 @@ const YRe = {
|
|
|
52522
52530
|
},
|
|
52523
52531
|
type: "jotaiAdapter"
|
|
52524
52532
|
};
|
|
52525
|
-
function
|
|
52533
|
+
function ZRe() {
|
|
52526
52534
|
return {
|
|
52527
52535
|
createState: (e) => {
|
|
52528
52536
|
const t = gX({
|
|
@@ -52544,7 +52552,7 @@ function XRe() {
|
|
|
52544
52552
|
type: "recoilAdapter"
|
|
52545
52553
|
};
|
|
52546
52554
|
}
|
|
52547
|
-
const
|
|
52555
|
+
const w4e = Pn([
|
|
52548
52556
|
!1,
|
|
52549
52557
|
{
|
|
52550
52558
|
lockInIdleMode: () => {
|
|
@@ -52555,11 +52563,11 @@ const b4e = Pn([
|
|
|
52555
52563
|
// to match the type and avoid errors.
|
|
52556
52564
|
}
|
|
52557
52565
|
]);
|
|
52558
|
-
function
|
|
52566
|
+
function JRe({ timer: e, children: t }) {
|
|
52559
52567
|
const n = EZ(e);
|
|
52560
|
-
return /* @__PURE__ */ A(
|
|
52568
|
+
return /* @__PURE__ */ A(w4e.Provider, { value: n, children: t });
|
|
52561
52569
|
}
|
|
52562
|
-
const
|
|
52570
|
+
const QRe = (e, t, n) => {
|
|
52563
52571
|
if (!zh(e)) return;
|
|
52564
52572
|
const r = new Date(e);
|
|
52565
52573
|
switch (n) {
|
|
@@ -52593,11 +52601,11 @@ const JRe = (e, t, n) => {
|
|
|
52593
52601
|
return r;
|
|
52594
52602
|
};
|
|
52595
52603
|
var KF = /* @__PURE__ */ ((e) => (e[e.days = 86400] = "days", e[e.hours = 3600] = "hours", e[e.minutes = 6e4] = "minutes", e[e.seconds = 1e3] = "seconds", e[e.milliseconds = 1] = "milliseconds", e))(KF || {});
|
|
52596
|
-
const
|
|
52604
|
+
const _4e = (e, t, n = "milliseconds") => {
|
|
52597
52605
|
if (!zh(e) || !zh(t)) return;
|
|
52598
52606
|
const r = new Date(e).getTime();
|
|
52599
52607
|
return (new Date(t).getTime() - r) / KF[n];
|
|
52600
|
-
},
|
|
52608
|
+
}, x4e = (e) => {
|
|
52601
52609
|
if (e == null)
|
|
52602
52610
|
return "";
|
|
52603
52611
|
const t = Math.floor(e / (3600 * 24 * 365)), n = Math.floor(e % (3600 * 24 * 365) / (3600 * 24 * 30)), r = Math.floor(e % (3600 * 24 * 30) / (3600 * 24)), i = Math.floor(e % (3600 * 24) / 3600), o = Math.floor(e % 3600 / 60), a = Math.floor(e % 60);
|
|
@@ -52609,7 +52617,7 @@ const w4e = (e, t, n = "milliseconds") => {
|
|
|
52609
52617
|
o ? `${o}min` : "",
|
|
52610
52618
|
a ? `${a}sec` : ""
|
|
52611
52619
|
].filter(Boolean).join(" ");
|
|
52612
|
-
},
|
|
52620
|
+
}, eDe = (e, t, n) => {
|
|
52613
52621
|
if (!zh(e)) throw new Error("Invalid Date");
|
|
52614
52622
|
const r = new Date(e);
|
|
52615
52623
|
switch (n) {
|
|
@@ -52641,12 +52649,12 @@ const w4e = (e, t, n = "milliseconds") => {
|
|
|
52641
52649
|
throw new Error(`Unsupported time unit: ${n}`);
|
|
52642
52650
|
}
|
|
52643
52651
|
return r;
|
|
52644
|
-
},
|
|
52652
|
+
}, tDe = (e, t) => {
|
|
52645
52653
|
if (!e) return "--";
|
|
52646
|
-
const r =
|
|
52647
|
-
return
|
|
52648
|
-
},
|
|
52649
|
-
function
|
|
52654
|
+
const r = _4e(e, t || /* @__PURE__ */ new Date(), "seconds");
|
|
52655
|
+
return x4e(r);
|
|
52656
|
+
}, nDe = (e, t) => e <= 1 ? 12 : Math.floor(12 / t), rDe = (e, t) => (e & t) === t;
|
|
52657
|
+
function iDe(e) {
|
|
52650
52658
|
const t = {};
|
|
52651
52659
|
function n(r) {
|
|
52652
52660
|
Object.prototype.hasOwnProperty.call(r, "edges") && (t.edges = r.edges);
|
|
@@ -52656,45 +52664,45 @@ function rDe(e) {
|
|
|
52656
52664
|
return n(e), t;
|
|
52657
52665
|
}
|
|
52658
52666
|
const YF = L3("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
|
|
52659
|
-
function
|
|
52667
|
+
function E4e(e) {
|
|
52660
52668
|
return e.setValue(YF, !0);
|
|
52661
52669
|
}
|
|
52662
52670
|
function F3(e) {
|
|
52663
52671
|
return e.getValue(YF) === !0;
|
|
52664
52672
|
}
|
|
52665
|
-
const
|
|
52666
|
-
function
|
|
52673
|
+
const S4e = "=", HE = ";", VE = ",", R2 = "baggage", O4e = 180, A4e = 4096, P4e = 8192;
|
|
52674
|
+
function T4e(e) {
|
|
52667
52675
|
return e.reduce((t, n) => {
|
|
52668
52676
|
const r = `${t}${t !== "" ? VE : ""}${n}`;
|
|
52669
|
-
return r.length >
|
|
52677
|
+
return r.length > P4e ? t : r;
|
|
52670
52678
|
}, "");
|
|
52671
52679
|
}
|
|
52672
|
-
function
|
|
52680
|
+
function C4e(e) {
|
|
52673
52681
|
return e.getAllEntries().map(([t, n]) => {
|
|
52674
52682
|
let r = `${encodeURIComponent(t)}=${encodeURIComponent(n.value)}`;
|
|
52675
52683
|
return n.metadata !== void 0 && (r += HE + n.metadata.toString()), r;
|
|
52676
52684
|
});
|
|
52677
52685
|
}
|
|
52678
|
-
function
|
|
52686
|
+
function I4e(e) {
|
|
52679
52687
|
const t = e.split(HE);
|
|
52680
52688
|
if (t.length <= 0)
|
|
52681
52689
|
return;
|
|
52682
52690
|
const n = t.shift();
|
|
52683
52691
|
if (!n)
|
|
52684
52692
|
return;
|
|
52685
|
-
const r = n.indexOf(
|
|
52693
|
+
const r = n.indexOf(S4e);
|
|
52686
52694
|
if (r <= 0)
|
|
52687
52695
|
return;
|
|
52688
52696
|
const i = decodeURIComponent(n.substring(0, r).trim()), o = decodeURIComponent(n.substring(r + 1).trim());
|
|
52689
52697
|
let a;
|
|
52690
|
-
return t.length > 0 && (a =
|
|
52698
|
+
return t.length > 0 && (a = V5e(t.join(HE))), { key: i, value: o, metadata: a };
|
|
52691
52699
|
}
|
|
52692
|
-
class
|
|
52700
|
+
class M4e {
|
|
52693
52701
|
inject(t, n, r) {
|
|
52694
52702
|
const i = ya.getBaggage(t);
|
|
52695
52703
|
if (!i || F3(t))
|
|
52696
52704
|
return;
|
|
52697
|
-
const o =
|
|
52705
|
+
const o = C4e(i).filter((s) => s.length <= A4e).slice(0, O4e), a = T4e(o);
|
|
52698
52706
|
a.length > 0 && r.set(n, R2, a);
|
|
52699
52707
|
}
|
|
52700
52708
|
extract(t, n, r) {
|
|
@@ -52703,7 +52711,7 @@ class I4e {
|
|
|
52703
52711
|
return t;
|
|
52704
52712
|
const a = {};
|
|
52705
52713
|
return o.length === 0 || (o.split(VE).forEach((u) => {
|
|
52706
|
-
const c =
|
|
52714
|
+
const c = I4e(u);
|
|
52707
52715
|
if (c) {
|
|
52708
52716
|
const l = { value: c.value };
|
|
52709
52717
|
c.metadata && (l.metadata = c.metadata), a[c.key] = l;
|
|
@@ -52721,7 +52729,7 @@ function Zv(e) {
|
|
|
52721
52729
|
for (const n in e) {
|
|
52722
52730
|
if (!Object.prototype.hasOwnProperty.call(e, n))
|
|
52723
52731
|
continue;
|
|
52724
|
-
if (!
|
|
52732
|
+
if (!k4e(n)) {
|
|
52725
52733
|
Ht.warn(`Invalid attribute key: ${n}`);
|
|
52726
52734
|
continue;
|
|
52727
52735
|
}
|
|
@@ -52734,13 +52742,13 @@ function Zv(e) {
|
|
|
52734
52742
|
}
|
|
52735
52743
|
return t;
|
|
52736
52744
|
}
|
|
52737
|
-
function
|
|
52745
|
+
function k4e(e) {
|
|
52738
52746
|
return typeof e == "string" && e !== "";
|
|
52739
52747
|
}
|
|
52740
52748
|
function Fm(e) {
|
|
52741
|
-
return e == null ? !0 : Array.isArray(e) ?
|
|
52749
|
+
return e == null ? !0 : Array.isArray(e) ? R4e(e) : XF(typeof e);
|
|
52742
52750
|
}
|
|
52743
|
-
function
|
|
52751
|
+
function R4e(e) {
|
|
52744
52752
|
let t;
|
|
52745
52753
|
for (const n of e) {
|
|
52746
52754
|
if (n == null)
|
|
@@ -52768,15 +52776,15 @@ function XF(e) {
|
|
|
52768
52776
|
}
|
|
52769
52777
|
return !1;
|
|
52770
52778
|
}
|
|
52771
|
-
function
|
|
52779
|
+
function D4e() {
|
|
52772
52780
|
return (e) => {
|
|
52773
|
-
Ht.error(
|
|
52781
|
+
Ht.error(L4e(e));
|
|
52774
52782
|
};
|
|
52775
52783
|
}
|
|
52776
|
-
function D4e(e) {
|
|
52777
|
-
return typeof e == "string" ? e : JSON.stringify(L4e(e));
|
|
52778
|
-
}
|
|
52779
52784
|
function L4e(e) {
|
|
52785
|
+
return typeof e == "string" ? e : JSON.stringify(N4e(e));
|
|
52786
|
+
}
|
|
52787
|
+
function N4e(e) {
|
|
52780
52788
|
const t = {};
|
|
52781
52789
|
let n = e;
|
|
52782
52790
|
for (; n !== null; )
|
|
@@ -52788,21 +52796,21 @@ function L4e(e) {
|
|
|
52788
52796
|
}), n = Object.getPrototypeOf(n);
|
|
52789
52797
|
return t;
|
|
52790
52798
|
}
|
|
52791
|
-
let
|
|
52799
|
+
let j4e = D4e();
|
|
52792
52800
|
function Rl(e) {
|
|
52793
52801
|
try {
|
|
52794
|
-
|
|
52802
|
+
j4e(e);
|
|
52795
52803
|
} catch {
|
|
52796
52804
|
}
|
|
52797
52805
|
}
|
|
52798
|
-
const Dl = performance,
|
|
52806
|
+
const Dl = performance, $4e = "2.2.0", B4e = "error.type", D2 = "exception.message", z4e = "exception.stacktrace", L2 = "exception.type", F4e = "http.request.method", W4e = "http.request.method_original", U4e = "http.response.status_code", H4e = "server.address", V4e = "server.port", ZF = "service.name", GE = "telemetry.sdk.language", G4e = "webjs", qE = "telemetry.sdk.name", KE = "telemetry.sdk.version", q4e = "url.full", K4e = "process.runtime.name", N2 = {
|
|
52799
52807
|
[qE]: "opentelemetry",
|
|
52800
|
-
[
|
|
52801
|
-
[GE]:
|
|
52802
|
-
[KE]:
|
|
52803
|
-
},
|
|
52808
|
+
[K4e]: "browser",
|
|
52809
|
+
[GE]: G4e,
|
|
52810
|
+
[KE]: $4e
|
|
52811
|
+
}, Y4e = 9, X4e = 6, Z4e = Math.pow(10, X4e), Wm = Math.pow(10, Y4e);
|
|
52804
52812
|
function eu(e) {
|
|
52805
|
-
const t = e / 1e3, n = Math.trunc(t), r = Math.round(e % 1e3 *
|
|
52813
|
+
const t = e / 1e3, n = Math.trunc(t), r = Math.round(e % 1e3 * Z4e);
|
|
52806
52814
|
return [n, r];
|
|
52807
52815
|
}
|
|
52808
52816
|
function W3() {
|
|
@@ -52826,11 +52834,11 @@ function WI(e) {
|
|
|
52826
52834
|
return eu(e.getTime());
|
|
52827
52835
|
throw TypeError("Invalid input type");
|
|
52828
52836
|
}
|
|
52829
|
-
function
|
|
52837
|
+
function J4e(e, t) {
|
|
52830
52838
|
let n = t[0] - e[0], r = t[1] - e[1];
|
|
52831
52839
|
return r < 0 && (n -= 1, r += Wm), [n, r];
|
|
52832
52840
|
}
|
|
52833
|
-
function
|
|
52841
|
+
function Q4e(e) {
|
|
52834
52842
|
return e[0] * Wm + e[1];
|
|
52835
52843
|
}
|
|
52836
52844
|
function YE(e) {
|
|
@@ -52850,7 +52858,7 @@ var so;
|
|
|
52850
52858
|
(function(e) {
|
|
52851
52859
|
e[e.SUCCESS = 0] = "SUCCESS", e[e.FAILED = 1] = "FAILED";
|
|
52852
52860
|
})(so || (so = {}));
|
|
52853
|
-
class
|
|
52861
|
+
class eCe {
|
|
52854
52862
|
_propagators;
|
|
52855
52863
|
_fields;
|
|
52856
52864
|
/**
|
|
@@ -52901,14 +52909,14 @@ class Q4e {
|
|
|
52901
52909
|
return this._fields.slice();
|
|
52902
52910
|
}
|
|
52903
52911
|
}
|
|
52904
|
-
const XE = "[_0-9a-z-*/]",
|
|
52905
|
-
function oCe(e) {
|
|
52906
|
-
return nCe.test(e);
|
|
52907
|
-
}
|
|
52912
|
+
const XE = "[_0-9a-z-*/]", tCe = `[a-z]${XE}{0,255}`, nCe = `[a-z0-9]${XE}{0,240}@[a-z]${XE}{0,13}`, rCe = new RegExp(`^(?:${tCe}|${nCe})$`), iCe = /^[ -~]{0,255}[!-~]$/, oCe = /,|=/;
|
|
52908
52913
|
function aCe(e) {
|
|
52909
|
-
return rCe.test(e)
|
|
52914
|
+
return rCe.test(e);
|
|
52910
52915
|
}
|
|
52911
|
-
|
|
52916
|
+
function sCe(e) {
|
|
52917
|
+
return iCe.test(e) && !oCe.test(e);
|
|
52918
|
+
}
|
|
52919
|
+
const HI = 32, uCe = 512, VI = ",", GI = "=";
|
|
52912
52920
|
class H3 {
|
|
52913
52921
|
_internalState = /* @__PURE__ */ new Map();
|
|
52914
52922
|
constructor(t) {
|
|
@@ -52929,11 +52937,11 @@ class H3 {
|
|
|
52929
52937
|
return this._keys().reduce((t, n) => (t.push(n + GI + this.get(n)), t), []).join(VI);
|
|
52930
52938
|
}
|
|
52931
52939
|
_parse(t) {
|
|
52932
|
-
t.length >
|
|
52940
|
+
t.length > uCe || (this._internalState = t.split(VI).reverse().reduce((n, r) => {
|
|
52933
52941
|
const i = r.trim(), o = i.indexOf(GI);
|
|
52934
52942
|
if (o !== -1) {
|
|
52935
52943
|
const a = i.slice(0, o), s = i.slice(o + 1, r.length);
|
|
52936
|
-
|
|
52944
|
+
aCe(a) && sCe(s) && n.set(a, s);
|
|
52937
52945
|
}
|
|
52938
52946
|
return n;
|
|
52939
52947
|
}, /* @__PURE__ */ new Map()), this._internalState.size > HI && (this._internalState = new Map(Array.from(this._internalState.entries()).reverse().slice(0, HI))));
|
|
@@ -52946,21 +52954,21 @@ class H3 {
|
|
|
52946
52954
|
return t._internalState = new Map(this._internalState), t;
|
|
52947
52955
|
}
|
|
52948
52956
|
}
|
|
52949
|
-
const j2 = "traceparent", $2 = "tracestate",
|
|
52950
|
-
function
|
|
52951
|
-
const t =
|
|
52957
|
+
const j2 = "traceparent", $2 = "tracestate", cCe = "00", lCe = "(?!ff)[\\da-f]{2}", fCe = "(?![0]{32})[\\da-f]{32}", dCe = "(?![0]{16})[\\da-f]{16}", hCe = "[\\da-f]{2}", pCe = new RegExp(`^\\s?(${lCe})-(${fCe})-(${dCe})-(${hCe})(-.*)?\\s?$`);
|
|
52958
|
+
function gCe(e) {
|
|
52959
|
+
const t = pCe.exec(e);
|
|
52952
52960
|
return !t || t[1] === "00" && t[5] ? null : {
|
|
52953
52961
|
traceId: t[2],
|
|
52954
52962
|
spanId: t[3],
|
|
52955
52963
|
traceFlags: parseInt(t[4], 16)
|
|
52956
52964
|
};
|
|
52957
52965
|
}
|
|
52958
|
-
class
|
|
52966
|
+
class vCe {
|
|
52959
52967
|
inject(t, n, r) {
|
|
52960
52968
|
const i = oi.getSpanContext(t);
|
|
52961
52969
|
if (!i || F3(t) || !Fp(i))
|
|
52962
52970
|
return;
|
|
52963
|
-
const o = `${
|
|
52971
|
+
const o = `${cCe}-${i.traceId}-${i.spanId}-0${Number(i.traceFlags || Ps.NONE).toString(16)}`;
|
|
52964
52972
|
r.set(n, j2, o), i.traceState && r.set(n, $2, i.traceState.serialize());
|
|
52965
52973
|
}
|
|
52966
52974
|
extract(t, n, r) {
|
|
@@ -52970,7 +52978,7 @@ class gCe {
|
|
|
52970
52978
|
const o = Array.isArray(i) ? i[0] : i;
|
|
52971
52979
|
if (typeof o != "string")
|
|
52972
52980
|
return t;
|
|
52973
|
-
const a =
|
|
52981
|
+
const a = gCe(o);
|
|
52974
52982
|
if (!a)
|
|
52975
52983
|
return t;
|
|
52976
52984
|
a.isRemote = !0;
|
|
@@ -52985,23 +52993,23 @@ class gCe {
|
|
|
52985
52993
|
return [j2, $2];
|
|
52986
52994
|
}
|
|
52987
52995
|
}
|
|
52988
|
-
const
|
|
52996
|
+
const mCe = "[object Object]", yCe = "[object Null]", bCe = "[object Undefined]", wCe = Function.prototype, eW = wCe.toString, _Ce = eW.call(Object), xCe = Object.getPrototypeOf, tW = Object.prototype, nW = tW.hasOwnProperty, Bu = Symbol ? Symbol.toStringTag : void 0, rW = tW.toString;
|
|
52989
52997
|
function qI(e) {
|
|
52990
|
-
if (!
|
|
52998
|
+
if (!ECe(e) || SCe(e) !== mCe)
|
|
52991
52999
|
return !1;
|
|
52992
|
-
const t =
|
|
53000
|
+
const t = xCe(e);
|
|
52993
53001
|
if (t === null)
|
|
52994
53002
|
return !0;
|
|
52995
53003
|
const n = nW.call(t, "constructor") && t.constructor;
|
|
52996
|
-
return typeof n == "function" && n instanceof n && eW.call(n) ===
|
|
52997
|
-
}
|
|
52998
|
-
function xCe(e) {
|
|
52999
|
-
return e != null && typeof e == "object";
|
|
53004
|
+
return typeof n == "function" && n instanceof n && eW.call(n) === _Ce;
|
|
53000
53005
|
}
|
|
53001
53006
|
function ECe(e) {
|
|
53002
|
-
return e
|
|
53007
|
+
return e != null && typeof e == "object";
|
|
53003
53008
|
}
|
|
53004
53009
|
function SCe(e) {
|
|
53010
|
+
return e == null ? e === void 0 ? bCe : yCe : Bu && Bu in Object(e) ? OCe(e) : ACe(e);
|
|
53011
|
+
}
|
|
53012
|
+
function OCe(e) {
|
|
53005
53013
|
const t = nW.call(e, Bu), n = e[Bu];
|
|
53006
53014
|
let r = !1;
|
|
53007
53015
|
try {
|
|
@@ -53011,10 +53019,10 @@ function SCe(e) {
|
|
|
53011
53019
|
const i = rW.call(e);
|
|
53012
53020
|
return r && (t ? e[Bu] = n : delete e[Bu]), i;
|
|
53013
53021
|
}
|
|
53014
|
-
function
|
|
53022
|
+
function ACe(e) {
|
|
53015
53023
|
return rW.call(e);
|
|
53016
53024
|
}
|
|
53017
|
-
const
|
|
53025
|
+
const PCe = 20;
|
|
53018
53026
|
function iW(...e) {
|
|
53019
53027
|
let t = e.shift();
|
|
53020
53028
|
const n = /* @__PURE__ */ new WeakMap();
|
|
@@ -53027,7 +53035,7 @@ function B2(e) {
|
|
|
53027
53035
|
}
|
|
53028
53036
|
function oW(e, t, n = 0, r) {
|
|
53029
53037
|
let i;
|
|
53030
|
-
if (!(n >
|
|
53038
|
+
if (!(n > PCe)) {
|
|
53031
53039
|
if (n++, Jv(e) || Jv(t) || aW(t))
|
|
53032
53040
|
i = B2(t);
|
|
53033
53041
|
else if (Um(e)) {
|
|
@@ -53043,7 +53051,7 @@ function oW(e, t, n = 0, r) {
|
|
|
53043
53051
|
}
|
|
53044
53052
|
} else if (wd(e))
|
|
53045
53053
|
if (wd(t)) {
|
|
53046
|
-
if (!
|
|
53054
|
+
if (!TCe(e, t))
|
|
53047
53055
|
return t;
|
|
53048
53056
|
i = Object.assign({}, e);
|
|
53049
53057
|
const o = Object.keys(t);
|
|
@@ -53090,7 +53098,7 @@ function wd(e) {
|
|
|
53090
53098
|
function Jv(e) {
|
|
53091
53099
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e > "u" || e instanceof Date || e instanceof RegExp || e === null;
|
|
53092
53100
|
}
|
|
53093
|
-
function
|
|
53101
|
+
function TCe(e, t) {
|
|
53094
53102
|
return !(!qI(e) || !qI(t));
|
|
53095
53103
|
}
|
|
53096
53104
|
class V3 extends Error {
|
|
@@ -53098,7 +53106,7 @@ class V3 extends Error {
|
|
|
53098
53106
|
super(t), Object.setPrototypeOf(this, V3.prototype);
|
|
53099
53107
|
}
|
|
53100
53108
|
}
|
|
53101
|
-
function
|
|
53109
|
+
function CCe(e, t) {
|
|
53102
53110
|
let n;
|
|
53103
53111
|
const r = new Promise(function(o, a) {
|
|
53104
53112
|
n = setTimeout(function() {
|
|
@@ -53109,7 +53117,7 @@ function TCe(e, t) {
|
|
|
53109
53117
|
throw clearTimeout(n), i;
|
|
53110
53118
|
});
|
|
53111
53119
|
}
|
|
53112
|
-
class
|
|
53120
|
+
class ICe {
|
|
53113
53121
|
_promise;
|
|
53114
53122
|
_resolve;
|
|
53115
53123
|
_reject;
|
|
@@ -53132,7 +53140,7 @@ class G3 {
|
|
|
53132
53140
|
_callback;
|
|
53133
53141
|
_that;
|
|
53134
53142
|
_isCalled = !1;
|
|
53135
|
-
_deferred = new
|
|
53143
|
+
_deferred = new ICe();
|
|
53136
53144
|
constructor(t, n) {
|
|
53137
53145
|
this._callback = t, this._that = n;
|
|
53138
53146
|
}
|
|
@@ -53154,9 +53162,9 @@ class G3 {
|
|
|
53154
53162
|
return this._deferred.promise;
|
|
53155
53163
|
}
|
|
53156
53164
|
}
|
|
53157
|
-
function
|
|
53165
|
+
function MCe(e, t) {
|
|
53158
53166
|
return new Promise((n) => {
|
|
53159
|
-
jr.with(
|
|
53167
|
+
jr.with(E4e(jr.active()), () => {
|
|
53160
53168
|
e.export(t, (r) => {
|
|
53161
53169
|
n(r);
|
|
53162
53170
|
});
|
|
@@ -53164,9 +53172,9 @@ function ICe(e, t) {
|
|
|
53164
53172
|
});
|
|
53165
53173
|
}
|
|
53166
53174
|
const sW = {
|
|
53167
|
-
_export:
|
|
53175
|
+
_export: MCe
|
|
53168
53176
|
};
|
|
53169
|
-
function
|
|
53177
|
+
function kCe() {
|
|
53170
53178
|
return "unknown_service";
|
|
53171
53179
|
}
|
|
53172
53180
|
const Fd = (e) => e !== null && typeof e == "object" && typeof e.then == "function";
|
|
@@ -53181,7 +53189,7 @@ class Hm {
|
|
|
53181
53189
|
}
|
|
53182
53190
|
constructor(t, n) {
|
|
53183
53191
|
const r = t.attributes ?? {};
|
|
53184
|
-
this._rawAttributes = Object.entries(r).map(([i, o]) => (Fd(o) && (this._asyncAttributesPending = !0), [i, o])), this._rawAttributes = YI(this._rawAttributes), this._schemaUrl =
|
|
53192
|
+
this._rawAttributes = Object.entries(r).map(([i, o]) => (Fd(o) && (this._asyncAttributesPending = !0), [i, o])), this._rawAttributes = YI(this._rawAttributes), this._schemaUrl = RCe(n?.schemaUrl);
|
|
53185
53193
|
}
|
|
53186
53194
|
get asyncAttributesPending() {
|
|
53187
53195
|
return this._asyncAttributesPending;
|
|
@@ -53217,7 +53225,7 @@ class Hm {
|
|
|
53217
53225
|
merge(t) {
|
|
53218
53226
|
if (t == null)
|
|
53219
53227
|
return this;
|
|
53220
|
-
const n =
|
|
53228
|
+
const n = DCe(this, t), r = n ? { schemaUrl: n } : void 0;
|
|
53221
53229
|
return Hm.FromAttributeList([...t.getRawAttributes(), ...this.getRawAttributes()], r);
|
|
53222
53230
|
}
|
|
53223
53231
|
}
|
|
@@ -53226,7 +53234,7 @@ function uW(e, t) {
|
|
|
53226
53234
|
}
|
|
53227
53235
|
function cW() {
|
|
53228
53236
|
return uW({
|
|
53229
|
-
[ZF]:
|
|
53237
|
+
[ZF]: kCe(),
|
|
53230
53238
|
[GE]: N2[GE],
|
|
53231
53239
|
[qE]: N2[qE],
|
|
53232
53240
|
[KE]: N2[KE]
|
|
@@ -53240,12 +53248,12 @@ function YI(e) {
|
|
|
53240
53248
|
})
|
|
53241
53249
|
] : [t, n]);
|
|
53242
53250
|
}
|
|
53243
|
-
function
|
|
53251
|
+
function RCe(e) {
|
|
53244
53252
|
if (typeof e == "string" || e === void 0)
|
|
53245
53253
|
return e;
|
|
53246
53254
|
Ht.warn("Schema URL must be string or undefined, got %s. Schema URL will be ignored.", e);
|
|
53247
53255
|
}
|
|
53248
|
-
function
|
|
53256
|
+
function DCe(e, t) {
|
|
53249
53257
|
const n = e?.schemaUrl, r = t?.schemaUrl, i = n === void 0 || n === "", o = r === void 0 || r === "";
|
|
53250
53258
|
if (i)
|
|
53251
53259
|
return r;
|
|
@@ -53253,8 +53261,8 @@ function RCe(e, t) {
|
|
|
53253
53261
|
return n;
|
|
53254
53262
|
Ht.warn('Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.', n, r);
|
|
53255
53263
|
}
|
|
53256
|
-
const
|
|
53257
|
-
class
|
|
53264
|
+
const LCe = "exception";
|
|
53265
|
+
class NCe {
|
|
53258
53266
|
// Below properties are included to implement ReadableSpan for export
|
|
53259
53267
|
// purposes but are not intended to be written-to directly.
|
|
53260
53268
|
_spanContext;
|
|
@@ -53346,7 +53354,7 @@ class LCe {
|
|
|
53346
53354
|
Ht.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);
|
|
53347
53355
|
return;
|
|
53348
53356
|
}
|
|
53349
|
-
this._ended = !0, this.endTime = this._getTime(t), this._duration =
|
|
53357
|
+
this._ended = !0, this.endTime = this._getTime(t), this._duration = J4e(this.startTime, this.endTime), this._duration[0] < 0 && (Ht.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 && Ht.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`), this._spanProcessor.onEnd(this);
|
|
53350
53358
|
}
|
|
53351
53359
|
_getTime(t) {
|
|
53352
53360
|
if (typeof t == "number" && t <= Dl.now())
|
|
@@ -53367,7 +53375,7 @@ class LCe {
|
|
|
53367
53375
|
}
|
|
53368
53376
|
recordException(t, n) {
|
|
53369
53377
|
const r = {};
|
|
53370
|
-
typeof t == "string" ? r[D2] = t : t && (t.code ? r[L2] = t.code.toString() : t.name && (r[L2] = t.name), t.message && (r[D2] = t.message), t.stack && (r[
|
|
53378
|
+
typeof t == "string" ? r[D2] = t : t && (t.code ? r[L2] = t.code.toString() : t.name && (r[L2] = t.name), t.message && (r[D2] = t.message), t.stack && (r[z4e] = t.stack)), r[L2] || r[D2] ? this.addEvent(LCe, r, n) : Ht.warn(`Failed to record an exception ${t}`);
|
|
53371
53379
|
}
|
|
53372
53380
|
get duration() {
|
|
53373
53381
|
return this._duration;
|
|
@@ -53534,29 +53542,29 @@ function fW() {
|
|
|
53534
53542
|
function JI() {
|
|
53535
53543
|
return Ht.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${ZI}.`), ZI;
|
|
53536
53544
|
}
|
|
53537
|
-
const
|
|
53538
|
-
function
|
|
53545
|
+
const jCe = 128, $Ce = 1 / 0;
|
|
53546
|
+
function BCe(e) {
|
|
53539
53547
|
const t = {
|
|
53540
53548
|
sampler: fW()
|
|
53541
53549
|
}, n = lW(), r = Object.assign({}, n, t, e);
|
|
53542
53550
|
return r.generalLimits = Object.assign({}, n.generalLimits, e.generalLimits || {}), r.spanLimits = Object.assign({}, n.spanLimits, e.spanLimits || {}), r;
|
|
53543
53551
|
}
|
|
53544
|
-
function
|
|
53552
|
+
function zCe(e) {
|
|
53545
53553
|
const t = Object.assign({}, e.spanLimits);
|
|
53546
|
-
return t.attributeCountLimit = e.spanLimits?.attributeCountLimit ?? e.generalLimits?.attributeCountLimit ?? void 0 ?? void 0 ??
|
|
53554
|
+
return t.attributeCountLimit = e.spanLimits?.attributeCountLimit ?? e.generalLimits?.attributeCountLimit ?? void 0 ?? void 0 ?? jCe, t.attributeValueLengthLimit = e.spanLimits?.attributeValueLengthLimit ?? e.generalLimits?.attributeValueLengthLimit ?? void 0 ?? void 0 ?? $Ce, Object.assign({}, e, { spanLimits: t });
|
|
53547
53555
|
}
|
|
53548
|
-
const
|
|
53549
|
-
class
|
|
53556
|
+
const FCe = 8, WCe = 16;
|
|
53557
|
+
class UCe {
|
|
53550
53558
|
/**
|
|
53551
53559
|
* Returns a random 16-byte trace ID formatted/encoded as a 32 lowercase hex
|
|
53552
53560
|
* characters corresponding to 128 bits.
|
|
53553
53561
|
*/
|
|
53554
|
-
generateTraceId = QI(
|
|
53562
|
+
generateTraceId = QI(WCe);
|
|
53555
53563
|
/**
|
|
53556
53564
|
* Returns a random 8-byte span ID formatted/encoded as a 16 lowercase hex
|
|
53557
53565
|
* characters corresponding to 64 bits.
|
|
53558
53566
|
*/
|
|
53559
|
-
generateSpanId = QI(
|
|
53567
|
+
generateSpanId = QI(FCe);
|
|
53560
53568
|
}
|
|
53561
53569
|
const Av = Array(32);
|
|
53562
53570
|
function QI(e) {
|
|
@@ -53566,7 +53574,7 @@ function QI(e) {
|
|
|
53566
53574
|
return String.fromCharCode.apply(null, Av.slice(0, e * 2));
|
|
53567
53575
|
};
|
|
53568
53576
|
}
|
|
53569
|
-
class
|
|
53577
|
+
class HCe {
|
|
53570
53578
|
_sampler;
|
|
53571
53579
|
_generalLimits;
|
|
53572
53580
|
_spanLimits;
|
|
@@ -53578,8 +53586,8 @@ class UCe {
|
|
|
53578
53586
|
* Constructs a new Tracer instance.
|
|
53579
53587
|
*/
|
|
53580
53588
|
constructor(t, n, r, i) {
|
|
53581
|
-
const o =
|
|
53582
|
-
this._sampler = o.sampler, this._generalLimits = o.generalLimits, this._spanLimits = o.spanLimits, this._idGenerator = n.idGenerator || new
|
|
53589
|
+
const o = BCe(n);
|
|
53590
|
+
this._sampler = o.sampler, this._generalLimits = o.generalLimits, this._spanLimits = o.spanLimits, this._idGenerator = n.idGenerator || new UCe(), this._resource = r, this._spanProcessor = i, this.instrumentationScope = t;
|
|
53583
53591
|
}
|
|
53584
53592
|
/**
|
|
53585
53593
|
* Starts a new Span or returns the default NoopSpan based on the sampling
|
|
@@ -53602,7 +53610,7 @@ class UCe {
|
|
|
53602
53610
|
if (p.decision === Lm.NOT_RECORD)
|
|
53603
53611
|
return Ht.debug("Recording is off, propagating context in a non-recording span"), oi.wrapSpanContext(m);
|
|
53604
53612
|
const v = Zv(Object.assign(h, p.attributes));
|
|
53605
|
-
return new
|
|
53613
|
+
return new NCe({
|
|
53606
53614
|
resource: this._resource,
|
|
53607
53615
|
scope: this.instrumentationScope,
|
|
53608
53616
|
context: r,
|
|
@@ -53634,7 +53642,7 @@ class UCe {
|
|
|
53634
53642
|
return this._spanLimits;
|
|
53635
53643
|
}
|
|
53636
53644
|
}
|
|
53637
|
-
class
|
|
53645
|
+
class VCe {
|
|
53638
53646
|
_spanProcessors;
|
|
53639
53647
|
constructor(t) {
|
|
53640
53648
|
this._spanProcessors = t;
|
|
@@ -53674,22 +53682,22 @@ var zu;
|
|
|
53674
53682
|
(function(e) {
|
|
53675
53683
|
e[e.resolved = 0] = "resolved", e[e.timeout = 1] = "timeout", e[e.error = 2] = "error", e[e.unresolved = 3] = "unresolved";
|
|
53676
53684
|
})(zu || (zu = {}));
|
|
53677
|
-
class
|
|
53685
|
+
class GCe {
|
|
53678
53686
|
_config;
|
|
53679
53687
|
_tracers = /* @__PURE__ */ new Map();
|
|
53680
53688
|
_resource;
|
|
53681
53689
|
_activeSpanProcessor;
|
|
53682
53690
|
constructor(t = {}) {
|
|
53683
|
-
const n = iW({}, lW(),
|
|
53691
|
+
const n = iW({}, lW(), zCe(t));
|
|
53684
53692
|
this._resource = n.resource ?? cW(), this._config = Object.assign({}, n, {
|
|
53685
53693
|
resource: this._resource
|
|
53686
53694
|
});
|
|
53687
53695
|
const r = [];
|
|
53688
|
-
t.spanProcessors?.length && r.push(...t.spanProcessors), this._activeSpanProcessor = new
|
|
53696
|
+
t.spanProcessors?.length && r.push(...t.spanProcessors), this._activeSpanProcessor = new VCe(r);
|
|
53689
53697
|
}
|
|
53690
53698
|
getTracer(t, n, r) {
|
|
53691
53699
|
const i = `${t}@${n || ""}:${r?.schemaUrl || ""}`;
|
|
53692
|
-
return this._tracers.has(i) || this._tracers.set(i, new
|
|
53700
|
+
return this._tracers.has(i) || this._tracers.set(i, new HCe({ name: t, version: n, schemaUrl: r?.schemaUrl }, this._config, this._resource, this._activeSpanProcessor)), this._tracers.get(i);
|
|
53693
53701
|
}
|
|
53694
53702
|
forceFlush() {
|
|
53695
53703
|
const t = this._config.forceFlushTimeoutMillis, n = this._activeSpanProcessor._spanProcessors.map((r) => new Promise((i) => {
|
|
@@ -53714,7 +53722,7 @@ class VCe {
|
|
|
53714
53722
|
return this._activeSpanProcessor.shutdown();
|
|
53715
53723
|
}
|
|
53716
53724
|
}
|
|
53717
|
-
class
|
|
53725
|
+
class qCe {
|
|
53718
53726
|
/**
|
|
53719
53727
|
* Export spans.
|
|
53720
53728
|
* @param spans
|
|
@@ -53802,7 +53810,7 @@ class eM {
|
|
|
53802
53810
|
return this._exporter.shutdown();
|
|
53803
53811
|
}
|
|
53804
53812
|
}
|
|
53805
|
-
class
|
|
53813
|
+
class KCe {
|
|
53806
53814
|
/**
|
|
53807
53815
|
* whether the context manager is enabled or not
|
|
53808
53816
|
*/
|
|
@@ -53873,23 +53881,23 @@ class qCe {
|
|
|
53873
53881
|
}
|
|
53874
53882
|
}
|
|
53875
53883
|
}
|
|
53876
|
-
function
|
|
53884
|
+
function YCe(e) {
|
|
53877
53885
|
if (e !== null) {
|
|
53878
53886
|
if (e === void 0) {
|
|
53879
|
-
const t = new
|
|
53887
|
+
const t = new KCe();
|
|
53880
53888
|
t.enable(), jr.setGlobalContextManager(t);
|
|
53881
53889
|
return;
|
|
53882
53890
|
}
|
|
53883
53891
|
e.enable(), jr.setGlobalContextManager(e);
|
|
53884
53892
|
}
|
|
53885
53893
|
}
|
|
53886
|
-
function
|
|
53894
|
+
function XCe(e) {
|
|
53887
53895
|
if (e !== null) {
|
|
53888
53896
|
if (e === void 0) {
|
|
53889
|
-
ya.setGlobalPropagator(new
|
|
53897
|
+
ya.setGlobalPropagator(new eCe({
|
|
53890
53898
|
propagators: [
|
|
53891
|
-
new
|
|
53892
|
-
new
|
|
53899
|
+
new vCe(),
|
|
53900
|
+
new M4e()
|
|
53893
53901
|
]
|
|
53894
53902
|
}));
|
|
53895
53903
|
return;
|
|
@@ -53897,7 +53905,7 @@ function YCe(e) {
|
|
|
53897
53905
|
ya.setGlobalPropagator(e);
|
|
53898
53906
|
}
|
|
53899
53907
|
}
|
|
53900
|
-
class
|
|
53908
|
+
class ZCe extends GCe {
|
|
53901
53909
|
/**
|
|
53902
53910
|
* Constructs a new Tracer instance.
|
|
53903
53911
|
* @param config Web Tracer config
|
|
@@ -53913,10 +53921,10 @@ class XCe extends VCe {
|
|
|
53913
53921
|
* @param config Configuration object for SDK registration
|
|
53914
53922
|
*/
|
|
53915
53923
|
register(t = {}) {
|
|
53916
|
-
oi.setGlobalTracerProvider(this),
|
|
53924
|
+
oi.setGlobalTracerProvider(this), XCe(t.propagator), YCe(t.contextManager);
|
|
53917
53925
|
}
|
|
53918
53926
|
}
|
|
53919
|
-
let
|
|
53927
|
+
let JCe = class {
|
|
53920
53928
|
_delegate;
|
|
53921
53929
|
constructor(t) {
|
|
53922
53930
|
this._delegate = t;
|
|
@@ -53943,30 +53951,30 @@ let ZCe = class {
|
|
|
53943
53951
|
super(t), this.data = r, this.code = n;
|
|
53944
53952
|
}
|
|
53945
53953
|
};
|
|
53946
|
-
function
|
|
53954
|
+
function QCe(e) {
|
|
53947
53955
|
if (Number.isFinite(e) && e > 0)
|
|
53948
53956
|
return e;
|
|
53949
53957
|
throw new Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${e}')`);
|
|
53950
53958
|
}
|
|
53951
|
-
function
|
|
53959
|
+
function e7e(e) {
|
|
53952
53960
|
if (e != null)
|
|
53953
53961
|
return () => e;
|
|
53954
53962
|
}
|
|
53955
|
-
function
|
|
53963
|
+
function t7e(e, t, n) {
|
|
53956
53964
|
return {
|
|
53957
|
-
timeoutMillis:
|
|
53965
|
+
timeoutMillis: QCe(e.timeoutMillis ?? t.timeoutMillis ?? n.timeoutMillis),
|
|
53958
53966
|
concurrencyLimit: e.concurrencyLimit ?? t.concurrencyLimit ?? n.concurrencyLimit,
|
|
53959
53967
|
compression: e.compression ?? t.compression ?? n.compression
|
|
53960
53968
|
};
|
|
53961
53969
|
}
|
|
53962
|
-
function
|
|
53970
|
+
function n7e() {
|
|
53963
53971
|
return {
|
|
53964
53972
|
timeoutMillis: 1e4,
|
|
53965
53973
|
concurrencyLimit: 30,
|
|
53966
53974
|
compression: "none"
|
|
53967
53975
|
};
|
|
53968
53976
|
}
|
|
53969
|
-
let
|
|
53977
|
+
let r7e = class {
|
|
53970
53978
|
_concurrencyLimit;
|
|
53971
53979
|
_sendingPromises = [];
|
|
53972
53980
|
/**
|
|
@@ -53992,28 +54000,28 @@ let n7e = class {
|
|
|
53992
54000
|
await Promise.all(this._sendingPromises);
|
|
53993
54001
|
}
|
|
53994
54002
|
};
|
|
53995
|
-
function
|
|
53996
|
-
return new
|
|
54003
|
+
function i7e(e) {
|
|
54004
|
+
return new r7e(e.concurrencyLimit);
|
|
53997
54005
|
}
|
|
53998
|
-
const
|
|
53999
|
-
function
|
|
54000
|
-
return e[0] *
|
|
54006
|
+
const o7e = 9, a7e = Math.pow(10, o7e);
|
|
54007
|
+
function s7e(e) {
|
|
54008
|
+
return e[0] * a7e + e[1];
|
|
54001
54009
|
}
|
|
54002
54010
|
var is;
|
|
54003
54011
|
(function(e) {
|
|
54004
54012
|
e[e.SUCCESS = 0] = "SUCCESS", e[e.FAILED = 1] = "FAILED";
|
|
54005
54013
|
})(is || (is = {}));
|
|
54006
|
-
function
|
|
54014
|
+
function u7e(e) {
|
|
54007
54015
|
return Object.prototype.hasOwnProperty.call(e, "partialSuccess");
|
|
54008
54016
|
}
|
|
54009
|
-
function
|
|
54017
|
+
function c7e() {
|
|
54010
54018
|
return {
|
|
54011
54019
|
handleResponse(e) {
|
|
54012
|
-
e == null || !
|
|
54020
|
+
e == null || !u7e(e) || e.partialSuccess == null || Object.keys(e.partialSuccess).length === 0 || Ht.warn("Received Partial Success response:", JSON.stringify(e.partialSuccess));
|
|
54013
54021
|
}
|
|
54014
54022
|
};
|
|
54015
54023
|
}
|
|
54016
|
-
let
|
|
54024
|
+
let l7e = class {
|
|
54017
54025
|
_transport;
|
|
54018
54026
|
_serializer;
|
|
54019
54027
|
_responseHandler;
|
|
@@ -54078,14 +54086,14 @@ let c7e = class {
|
|
|
54078
54086
|
this._diagLogger.debug("shutdown started"), await this.forceFlush(), this._transport.shutdown();
|
|
54079
54087
|
}
|
|
54080
54088
|
};
|
|
54081
|
-
function
|
|
54082
|
-
return new
|
|
54089
|
+
function f7e(e, t) {
|
|
54090
|
+
return new l7e(e.transport, e.serializer, c7e(), e.promiseHandler, t.timeout);
|
|
54083
54091
|
}
|
|
54084
54092
|
function q3(e, t, n) {
|
|
54085
|
-
return
|
|
54093
|
+
return f7e({
|
|
54086
54094
|
transport: n,
|
|
54087
54095
|
serializer: t,
|
|
54088
|
-
promiseHandler:
|
|
54096
|
+
promiseHandler: i7e(e)
|
|
54089
54097
|
}, { timeout: e.timeoutMillis });
|
|
54090
54098
|
}
|
|
54091
54099
|
function nM(e) {
|
|
@@ -54104,45 +54112,45 @@ function hW(e) {
|
|
|
54104
54112
|
const t = BigInt(1e9);
|
|
54105
54113
|
return BigInt(e[0]) * t + BigInt(e[1]);
|
|
54106
54114
|
}
|
|
54107
|
-
function
|
|
54115
|
+
function d7e(e) {
|
|
54108
54116
|
const t = Number(BigInt.asUintN(32, e)), n = Number(BigInt.asUintN(32, e >> BigInt(32)));
|
|
54109
54117
|
return { low: t, high: n };
|
|
54110
54118
|
}
|
|
54111
|
-
function
|
|
54119
|
+
function h7e(e) {
|
|
54112
54120
|
const t = hW(e);
|
|
54113
|
-
return
|
|
54121
|
+
return d7e(t);
|
|
54114
54122
|
}
|
|
54115
|
-
function
|
|
54123
|
+
function p7e(e) {
|
|
54116
54124
|
return hW(e).toString();
|
|
54117
54125
|
}
|
|
54118
|
-
const
|
|
54126
|
+
const g7e = typeof BigInt < "u" ? p7e : s7e;
|
|
54119
54127
|
function rM(e) {
|
|
54120
54128
|
return e;
|
|
54121
54129
|
}
|
|
54122
|
-
function
|
|
54130
|
+
function v7e(e) {
|
|
54123
54131
|
if (e !== void 0)
|
|
54124
54132
|
return dW(e);
|
|
54125
54133
|
}
|
|
54126
|
-
const
|
|
54127
|
-
encodeHrTime:
|
|
54134
|
+
const m7e = {
|
|
54135
|
+
encodeHrTime: h7e,
|
|
54128
54136
|
encodeSpanContext: dW,
|
|
54129
|
-
encodeOptionalSpanContext:
|
|
54137
|
+
encodeOptionalSpanContext: v7e
|
|
54130
54138
|
};
|
|
54131
|
-
function
|
|
54132
|
-
return e === void 0 ?
|
|
54133
|
-
encodeHrTime:
|
|
54139
|
+
function y7e(e) {
|
|
54140
|
+
return e === void 0 ? m7e : {
|
|
54141
|
+
encodeHrTime: g7e,
|
|
54134
54142
|
encodeSpanContext: rM,
|
|
54135
54143
|
encodeOptionalSpanContext: rM
|
|
54136
54144
|
};
|
|
54137
54145
|
}
|
|
54138
|
-
function
|
|
54146
|
+
function b7e(e) {
|
|
54139
54147
|
const t = {
|
|
54140
54148
|
attributes: W1(e.attributes),
|
|
54141
54149
|
droppedAttributesCount: 0
|
|
54142
54150
|
}, n = e.schemaUrl;
|
|
54143
54151
|
return n && n !== "" && (t.schemaUrl = n), t;
|
|
54144
54152
|
}
|
|
54145
|
-
function
|
|
54153
|
+
function w7e(e) {
|
|
54146
54154
|
return {
|
|
54147
54155
|
name: e.name,
|
|
54148
54156
|
version: e.version
|
|
@@ -54165,7 +54173,7 @@ function gW(e) {
|
|
|
54165
54173
|
}
|
|
54166
54174
|
} : {};
|
|
54167
54175
|
}
|
|
54168
|
-
function
|
|
54176
|
+
function _7e(e, t) {
|
|
54169
54177
|
const n = e.spanContext(), r = e.status, i = e.parentSpanContext?.spanId ? t.encodeSpanContext(e.parentSpanContext?.spanId) : void 0;
|
|
54170
54178
|
return {
|
|
54171
54179
|
traceId: t.encodeSpanContext(n.traceId),
|
|
@@ -54179,18 +54187,18 @@ function w7e(e, t) {
|
|
|
54179
54187
|
endTimeUnixNano: t.encodeHrTime(e.endTime),
|
|
54180
54188
|
attributes: W1(e.attributes),
|
|
54181
54189
|
droppedAttributesCount: e.droppedAttributesCount,
|
|
54182
|
-
events: e.events.map((o) =>
|
|
54190
|
+
events: e.events.map((o) => E7e(o, t)),
|
|
54183
54191
|
droppedEventsCount: e.droppedEventsCount,
|
|
54184
54192
|
status: {
|
|
54185
54193
|
// API and proto enums share the same values
|
|
54186
54194
|
code: r.code,
|
|
54187
54195
|
message: r.message
|
|
54188
54196
|
},
|
|
54189
|
-
links: e.links.map((o) =>
|
|
54197
|
+
links: e.links.map((o) => x7e(o, t)),
|
|
54190
54198
|
droppedLinksCount: e.droppedLinksCount
|
|
54191
54199
|
};
|
|
54192
54200
|
}
|
|
54193
|
-
function
|
|
54201
|
+
function x7e(e, t) {
|
|
54194
54202
|
return {
|
|
54195
54203
|
attributes: e.attributes ? W1(e.attributes) : [],
|
|
54196
54204
|
spanId: t.encodeSpanContext(e.context.spanId),
|
|
@@ -54199,7 +54207,7 @@ function _7e(e, t) {
|
|
|
54199
54207
|
droppedAttributesCount: e.droppedAttributesCount || 0
|
|
54200
54208
|
};
|
|
54201
54209
|
}
|
|
54202
|
-
function
|
|
54210
|
+
function E7e(e, t) {
|
|
54203
54211
|
return {
|
|
54204
54212
|
attributes: e.attributes ? W1(e.attributes) : [],
|
|
54205
54213
|
name: e.name,
|
|
@@ -54207,13 +54215,13 @@ function x7e(e, t) {
|
|
|
54207
54215
|
droppedAttributesCount: e.droppedAttributesCount || 0
|
|
54208
54216
|
};
|
|
54209
54217
|
}
|
|
54210
|
-
function
|
|
54211
|
-
const n =
|
|
54218
|
+
function S7e(e, t) {
|
|
54219
|
+
const n = y7e(t);
|
|
54212
54220
|
return {
|
|
54213
|
-
resourceSpans:
|
|
54221
|
+
resourceSpans: A7e(e, n)
|
|
54214
54222
|
};
|
|
54215
54223
|
}
|
|
54216
|
-
function
|
|
54224
|
+
function O7e(e) {
|
|
54217
54225
|
const t = /* @__PURE__ */ new Map();
|
|
54218
54226
|
for (const n of e) {
|
|
54219
54227
|
let r = t.get(n.resource);
|
|
@@ -54224,8 +54232,8 @@ function S7e(e) {
|
|
|
54224
54232
|
}
|
|
54225
54233
|
return t;
|
|
54226
54234
|
}
|
|
54227
|
-
function
|
|
54228
|
-
const n =
|
|
54235
|
+
function A7e(e, t) {
|
|
54236
|
+
const n = O7e(e), r = [], i = n.entries();
|
|
54229
54237
|
let o = i.next();
|
|
54230
54238
|
for (; !o.done; ) {
|
|
54231
54239
|
const [a, s] = o.value, u = [], c = s.values();
|
|
@@ -54233,16 +54241,16 @@ function O7e(e, t) {
|
|
|
54233
54241
|
for (; !l.done; ) {
|
|
54234
54242
|
const p = l.value;
|
|
54235
54243
|
if (p.length > 0) {
|
|
54236
|
-
const y = p.map((m) =>
|
|
54244
|
+
const y = p.map((m) => _7e(m, t));
|
|
54237
54245
|
u.push({
|
|
54238
|
-
scope:
|
|
54246
|
+
scope: w7e(p[0].instrumentationScope),
|
|
54239
54247
|
spans: y,
|
|
54240
54248
|
schemaUrl: p[0].instrumentationScope.schemaUrl
|
|
54241
54249
|
});
|
|
54242
54250
|
}
|
|
54243
54251
|
l = c.next();
|
|
54244
54252
|
}
|
|
54245
|
-
const d =
|
|
54253
|
+
const d = b7e(a), h = {
|
|
54246
54254
|
resource: d,
|
|
54247
54255
|
scopeSpans: u,
|
|
54248
54256
|
schemaUrl: d.schemaUrl
|
|
@@ -54251,9 +54259,9 @@ function O7e(e, t) {
|
|
|
54251
54259
|
}
|
|
54252
54260
|
return r;
|
|
54253
54261
|
}
|
|
54254
|
-
const
|
|
54262
|
+
const P7e = {
|
|
54255
54263
|
serializeRequest: (e) => {
|
|
54256
|
-
const t =
|
|
54264
|
+
const t = S7e(e, {});
|
|
54257
54265
|
return new TextEncoder().encode(JSON.stringify(t));
|
|
54258
54266
|
},
|
|
54259
54267
|
deserializeResponse: (e) => {
|
|
@@ -54262,11 +54270,11 @@ const A7e = {
|
|
|
54262
54270
|
const t = new TextDecoder();
|
|
54263
54271
|
return JSON.parse(t.decode(e));
|
|
54264
54272
|
}
|
|
54265
|
-
},
|
|
54266
|
-
function
|
|
54273
|
+
}, T7e = 5, C7e = 1e3, I7e = 5e3, M7e = 1.5, iM = 0.2;
|
|
54274
|
+
function k7e() {
|
|
54267
54275
|
return Math.random() * (2 * iM) - iM;
|
|
54268
54276
|
}
|
|
54269
|
-
let
|
|
54277
|
+
let R7e = class {
|
|
54270
54278
|
_transport;
|
|
54271
54279
|
constructor(t) {
|
|
54272
54280
|
this._transport = t;
|
|
@@ -54280,11 +54288,11 @@ let k7e = class {
|
|
|
54280
54288
|
}
|
|
54281
54289
|
async send(t, n) {
|
|
54282
54290
|
const r = Date.now() + n;
|
|
54283
|
-
let i = await this._transport.send(t, n), o =
|
|
54291
|
+
let i = await this._transport.send(t, n), o = T7e, a = C7e;
|
|
54284
54292
|
for (; i.status === "retryable" && o > 0; ) {
|
|
54285
54293
|
o--;
|
|
54286
|
-
const s = Math.max(Math.min(a,
|
|
54287
|
-
a = a *
|
|
54294
|
+
const s = Math.max(Math.min(a, I7e) + k7e(), 0);
|
|
54295
|
+
a = a * M7e;
|
|
54288
54296
|
const u = i.retryInMillis ?? s, c = r - Date.now();
|
|
54289
54297
|
if (u > c)
|
|
54290
54298
|
return i;
|
|
@@ -54297,7 +54305,7 @@ let k7e = class {
|
|
|
54297
54305
|
}
|
|
54298
54306
|
};
|
|
54299
54307
|
function K3(e) {
|
|
54300
|
-
return new
|
|
54308
|
+
return new R7e(e.transport);
|
|
54301
54309
|
}
|
|
54302
54310
|
function vW(e) {
|
|
54303
54311
|
return [429, 502, 503, 504].includes(e);
|
|
@@ -54311,7 +54319,7 @@ function mW(e) {
|
|
|
54311
54319
|
const n = new Date(e).getTime() - Date.now();
|
|
54312
54320
|
return n >= 0 ? n : 0;
|
|
54313
54321
|
}
|
|
54314
|
-
let
|
|
54322
|
+
let D7e = class {
|
|
54315
54323
|
_parameters;
|
|
54316
54324
|
constructor(t) {
|
|
54317
54325
|
this._parameters = t;
|
|
@@ -54354,10 +54362,10 @@ let R7e = class {
|
|
|
54354
54362
|
shutdown() {
|
|
54355
54363
|
}
|
|
54356
54364
|
};
|
|
54357
|
-
function
|
|
54358
|
-
return new
|
|
54365
|
+
function L7e(e) {
|
|
54366
|
+
return new D7e(e);
|
|
54359
54367
|
}
|
|
54360
|
-
let
|
|
54368
|
+
let N7e = class {
|
|
54361
54369
|
_params;
|
|
54362
54370
|
constructor(t) {
|
|
54363
54371
|
this._params = t;
|
|
@@ -54375,10 +54383,10 @@ let L7e = class {
|
|
|
54375
54383
|
shutdown() {
|
|
54376
54384
|
}
|
|
54377
54385
|
};
|
|
54378
|
-
function
|
|
54379
|
-
return new
|
|
54386
|
+
function j7e(e) {
|
|
54387
|
+
return new N7e(e);
|
|
54380
54388
|
}
|
|
54381
|
-
let
|
|
54389
|
+
let $7e = class {
|
|
54382
54390
|
_parameters;
|
|
54383
54391
|
constructor(t) {
|
|
54384
54392
|
this._parameters = t;
|
|
@@ -54419,28 +54427,28 @@ let j7e = class {
|
|
|
54419
54427
|
shutdown() {
|
|
54420
54428
|
}
|
|
54421
54429
|
};
|
|
54422
|
-
function
|
|
54423
|
-
return new
|
|
54430
|
+
function B7e(e) {
|
|
54431
|
+
return new $7e(e);
|
|
54424
54432
|
}
|
|
54425
|
-
function
|
|
54433
|
+
function z7e(e, t) {
|
|
54426
54434
|
return q3(e, t, K3({
|
|
54427
|
-
transport:
|
|
54435
|
+
transport: L7e(e)
|
|
54428
54436
|
}));
|
|
54429
54437
|
}
|
|
54430
|
-
function
|
|
54438
|
+
function F7e(e, t) {
|
|
54431
54439
|
return q3(e, t, K3({
|
|
54432
|
-
transport:
|
|
54440
|
+
transport: B7e(e)
|
|
54433
54441
|
}));
|
|
54434
54442
|
}
|
|
54435
|
-
function
|
|
54443
|
+
function W7e(e, t) {
|
|
54436
54444
|
return q3(e, t, K3({
|
|
54437
|
-
transport:
|
|
54445
|
+
transport: j7e({
|
|
54438
54446
|
url: e.url,
|
|
54439
54447
|
blobType: e.headers()["Content-Type"]
|
|
54440
54448
|
})
|
|
54441
54449
|
}));
|
|
54442
54450
|
}
|
|
54443
|
-
function
|
|
54451
|
+
function U7e(e) {
|
|
54444
54452
|
return () => {
|
|
54445
54453
|
const t = {};
|
|
54446
54454
|
return Object.entries(e?.() ?? {}).forEach(([n, r]) => {
|
|
@@ -54448,13 +54456,13 @@ function W7e(e) {
|
|
|
54448
54456
|
}), t;
|
|
54449
54457
|
};
|
|
54450
54458
|
}
|
|
54451
|
-
function
|
|
54459
|
+
function H7e(e, t, n) {
|
|
54452
54460
|
const r = {
|
|
54453
54461
|
...n()
|
|
54454
54462
|
}, i = {};
|
|
54455
54463
|
return () => (t != null && Object.assign(i, t()), e != null && Object.assign(i, e()), Object.assign(i, r));
|
|
54456
54464
|
}
|
|
54457
|
-
function
|
|
54465
|
+
function V7e(e) {
|
|
54458
54466
|
if (e != null)
|
|
54459
54467
|
try {
|
|
54460
54468
|
const t = globalThis.location?.href;
|
|
@@ -54463,65 +54471,65 @@ function H7e(e) {
|
|
|
54463
54471
|
throw new Error(`Configuration: Could not parse user-provided export URL: '${e}'`);
|
|
54464
54472
|
}
|
|
54465
54473
|
}
|
|
54466
|
-
function
|
|
54474
|
+
function G7e(e) {
|
|
54467
54475
|
return async (t) => {
|
|
54468
54476
|
const n = t === "http:" ? Promise.resolve().then(() => NI) : Promise.resolve().then(() => NI), { Agent: r } = await n;
|
|
54469
54477
|
return new r(e);
|
|
54470
54478
|
};
|
|
54471
54479
|
}
|
|
54472
|
-
function
|
|
54480
|
+
function q7e(e, t, n) {
|
|
54473
54481
|
return {
|
|
54474
|
-
...
|
|
54475
|
-
headers: U7e(
|
|
54476
|
-
url:
|
|
54482
|
+
...t7e(e, t, n),
|
|
54483
|
+
headers: H7e(U7e(e.headers), t.headers, n.headers),
|
|
54484
|
+
url: V7e(e.url) ?? t.url ?? n.url,
|
|
54477
54485
|
agentFactory: e.agentFactory ?? t.agentFactory ?? n.agentFactory
|
|
54478
54486
|
};
|
|
54479
54487
|
}
|
|
54480
|
-
function
|
|
54488
|
+
function K7e(e, t) {
|
|
54481
54489
|
return {
|
|
54482
|
-
...
|
|
54490
|
+
...n7e(),
|
|
54483
54491
|
headers: () => e,
|
|
54484
54492
|
url: "http://localhost:4318/" + t,
|
|
54485
|
-
agentFactory:
|
|
54493
|
+
agentFactory: G7e({ keepAlive: !0 })
|
|
54486
54494
|
};
|
|
54487
54495
|
}
|
|
54488
|
-
function
|
|
54489
|
-
return
|
|
54496
|
+
function Y7e(e, t, n) {
|
|
54497
|
+
return q7e(
|
|
54490
54498
|
{
|
|
54491
54499
|
url: e.url,
|
|
54492
54500
|
timeoutMillis: e.timeoutMillis,
|
|
54493
|
-
headers:
|
|
54501
|
+
headers: e7e(e.headers),
|
|
54494
54502
|
concurrencyLimit: e.concurrencyLimit
|
|
54495
54503
|
},
|
|
54496
54504
|
{},
|
|
54497
54505
|
// no fallback for browser case
|
|
54498
|
-
|
|
54506
|
+
K7e(n, t)
|
|
54499
54507
|
);
|
|
54500
54508
|
}
|
|
54501
|
-
function
|
|
54502
|
-
const i =
|
|
54509
|
+
function X7e(e, t, n, r) {
|
|
54510
|
+
const i = Z7e(e.headers), o = Y7e(e, n, r);
|
|
54503
54511
|
return i(o, t);
|
|
54504
54512
|
}
|
|
54505
|
-
function
|
|
54506
|
-
return !e && typeof navigator.sendBeacon == "function" ?
|
|
54513
|
+
function Z7e(e) {
|
|
54514
|
+
return !e && typeof navigator.sendBeacon == "function" ? W7e : typeof globalThis.fetch < "u" ? F7e : z7e;
|
|
54507
54515
|
}
|
|
54508
|
-
class
|
|
54516
|
+
class J7e extends JCe {
|
|
54509
54517
|
constructor(t = {}) {
|
|
54510
|
-
super(
|
|
54518
|
+
super(X7e(t, P7e, "v1/traces", { "Content-Type": "application/json" }));
|
|
54511
54519
|
}
|
|
54512
54520
|
}
|
|
54513
54521
|
let yW = class {
|
|
54514
54522
|
emit(t) {
|
|
54515
54523
|
}
|
|
54516
54524
|
};
|
|
54517
|
-
const
|
|
54518
|
-
let
|
|
54525
|
+
const Q7e = new yW();
|
|
54526
|
+
let e8e = class {
|
|
54519
54527
|
getLogger(t, n, r) {
|
|
54520
54528
|
return new yW();
|
|
54521
54529
|
}
|
|
54522
54530
|
};
|
|
54523
|
-
const bW = new
|
|
54524
|
-
let
|
|
54531
|
+
const bW = new e8e();
|
|
54532
|
+
let t8e = class {
|
|
54525
54533
|
constructor(t, n, r, i) {
|
|
54526
54534
|
this._provider = t, this.name = n, this.version = r, this.options = i;
|
|
54527
54535
|
}
|
|
@@ -54541,12 +54549,12 @@ let e8e = class {
|
|
|
54541
54549
|
if (this._delegate)
|
|
54542
54550
|
return this._delegate;
|
|
54543
54551
|
const t = this._provider._getDelegateLogger(this.name, this.version, this.options);
|
|
54544
|
-
return t ? (this._delegate = t, this._delegate) :
|
|
54552
|
+
return t ? (this._delegate = t, this._delegate) : Q7e;
|
|
54545
54553
|
}
|
|
54546
54554
|
}, oM = class {
|
|
54547
54555
|
getLogger(t, n, r) {
|
|
54548
54556
|
var i;
|
|
54549
|
-
return (i = this._getDelegateLogger(t, n, r)) !== null && i !== void 0 ? i : new
|
|
54557
|
+
return (i = this._getDelegateLogger(t, n, r)) !== null && i !== void 0 ? i : new t8e(this, t, n, r);
|
|
54550
54558
|
}
|
|
54551
54559
|
/**
|
|
54552
54560
|
* Get the delegate logger provider.
|
|
@@ -54572,12 +54580,12 @@ let e8e = class {
|
|
|
54572
54580
|
return (i = this._delegate) === null || i === void 0 ? void 0 : i.getLogger(t, n, r);
|
|
54573
54581
|
}
|
|
54574
54582
|
};
|
|
54575
|
-
const
|
|
54576
|
-
function
|
|
54583
|
+
const n8e = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Pv = Symbol.for("io.opentelemetry.js.api.logs"), _d = n8e;
|
|
54584
|
+
function r8e(e, t, n) {
|
|
54577
54585
|
return (r) => r === e ? t : n;
|
|
54578
54586
|
}
|
|
54579
54587
|
const aM = 1;
|
|
54580
|
-
let
|
|
54588
|
+
let i8e = class wW {
|
|
54581
54589
|
constructor() {
|
|
54582
54590
|
this._proxyLoggerProvider = new oM();
|
|
54583
54591
|
}
|
|
@@ -54585,7 +54593,7 @@ let r8e = class wW {
|
|
|
54585
54593
|
return this._instance || (this._instance = new wW()), this._instance;
|
|
54586
54594
|
}
|
|
54587
54595
|
setGlobalLoggerProvider(t) {
|
|
54588
|
-
return _d[Pv] ? this.getLoggerProvider() : (_d[Pv] =
|
|
54596
|
+
return _d[Pv] ? this.getLoggerProvider() : (_d[Pv] = r8e(aM, t, bW), this._proxyLoggerProvider._setDelegate(t), t);
|
|
54589
54597
|
}
|
|
54590
54598
|
/**
|
|
54591
54599
|
* Returns the global logger provider.
|
|
@@ -54609,20 +54617,20 @@ let r8e = class wW {
|
|
|
54609
54617
|
delete _d[Pv], this._proxyLoggerProvider = new oM();
|
|
54610
54618
|
}
|
|
54611
54619
|
};
|
|
54612
|
-
const _W =
|
|
54613
|
-
function
|
|
54620
|
+
const _W = i8e.getInstance();
|
|
54621
|
+
function o8e(e, t, n, r) {
|
|
54614
54622
|
for (let i = 0, o = e.length; i < o; i++) {
|
|
54615
54623
|
const a = e[i];
|
|
54616
54624
|
t && a.setTracerProvider(t), n && a.setMeterProvider(n), r && a.setLoggerProvider && a.setLoggerProvider(r), a.getConfig().enabled || a.enable();
|
|
54617
54625
|
}
|
|
54618
54626
|
}
|
|
54619
|
-
function
|
|
54627
|
+
function a8e(e) {
|
|
54620
54628
|
e.forEach((t) => t.disable());
|
|
54621
54629
|
}
|
|
54622
|
-
function
|
|
54630
|
+
function s8e(e) {
|
|
54623
54631
|
const t = e.tracerProvider || oi.getTracerProvider(), n = e.meterProvider || jF.getMeterProvider(), r = e.loggerProvider || _W.getLoggerProvider(), i = e.instrumentations?.flat() ?? [];
|
|
54624
|
-
return
|
|
54625
|
-
|
|
54632
|
+
return o8e(i, t, n, r), () => {
|
|
54633
|
+
a8e(i);
|
|
54626
54634
|
};
|
|
54627
54635
|
}
|
|
54628
54636
|
let ho = console.error.bind(console);
|
|
@@ -54653,7 +54661,7 @@ const xW = (e, t, n) => {
|
|
|
54653
54661
|
return xd(i, "__original", r), xd(i, "__unwrap", () => {
|
|
54654
54662
|
e[t] === i && xd(e, t, r);
|
|
54655
54663
|
}), xd(i, "__wrapped", !0), xd(e, t, i), i;
|
|
54656
|
-
},
|
|
54664
|
+
}, u8e = (e, t, n) => {
|
|
54657
54665
|
if (e)
|
|
54658
54666
|
Array.isArray(e) || (e = [e]);
|
|
54659
54667
|
else {
|
|
@@ -54681,7 +54689,7 @@ const xW = (e, t, n) => {
|
|
|
54681
54689
|
n.__unwrap();
|
|
54682
54690
|
return;
|
|
54683
54691
|
}
|
|
54684
|
-
},
|
|
54692
|
+
}, c8e = (e, t) => {
|
|
54685
54693
|
if (e)
|
|
54686
54694
|
Array.isArray(e) || (e = [e]);
|
|
54687
54695
|
else {
|
|
@@ -54698,7 +54706,7 @@ const xW = (e, t, n) => {
|
|
|
54698
54706
|
});
|
|
54699
54707
|
});
|
|
54700
54708
|
};
|
|
54701
|
-
class
|
|
54709
|
+
class l8e {
|
|
54702
54710
|
instrumentationName;
|
|
54703
54711
|
instrumentationVersion;
|
|
54704
54712
|
_config = {};
|
|
@@ -54716,9 +54724,9 @@ class c8e {
|
|
|
54716
54724
|
/* Api to unwrap instrumented methods */
|
|
54717
54725
|
_unwrap = EW;
|
|
54718
54726
|
/* Api to mass wrap instrumented method */
|
|
54719
|
-
_massWrap =
|
|
54727
|
+
_massWrap = u8e;
|
|
54720
54728
|
/* Api to mass unwrap instrumented methods */
|
|
54721
|
-
_massUnwrap =
|
|
54729
|
+
_massUnwrap = c8e;
|
|
54722
54730
|
/* Returns meter */
|
|
54723
54731
|
get meter() {
|
|
54724
54732
|
return this._meter;
|
|
@@ -54800,7 +54808,7 @@ class c8e {
|
|
|
54800
54808
|
}
|
|
54801
54809
|
}
|
|
54802
54810
|
}
|
|
54803
|
-
class
|
|
54811
|
+
class f8e extends l8e {
|
|
54804
54812
|
constructor(t, n, r) {
|
|
54805
54813
|
super(t, n, r), this._config.enabled && this.enable();
|
|
54806
54814
|
}
|
|
@@ -54815,14 +54823,14 @@ function sM(e, t, n) {
|
|
|
54815
54823
|
return t(r, i), i;
|
|
54816
54824
|
}
|
|
54817
54825
|
}
|
|
54818
|
-
function
|
|
54826
|
+
function d8e(e) {
|
|
54819
54827
|
return typeof e == "function" && typeof e.__original == "function" && typeof e.__unwrap == "function" && e.__wrapped === !0;
|
|
54820
54828
|
}
|
|
54821
54829
|
var $i;
|
|
54822
54830
|
(function(e) {
|
|
54823
54831
|
e[e.STABLE = 1] = "STABLE", e[e.OLD = 2] = "OLD", e[e.DUPLICATE = 3] = "DUPLICATE";
|
|
54824
54832
|
})($i || ($i = {}));
|
|
54825
|
-
function
|
|
54833
|
+
function h8e(e, t) {
|
|
54826
54834
|
let n = $i.OLD;
|
|
54827
54835
|
const r = t?.split(",").map((i) => i.trim()).filter((i) => i !== "");
|
|
54828
54836
|
for (const i of r ?? [])
|
|
@@ -54832,9 +54840,9 @@ function d8e(e, t) {
|
|
|
54832
54840
|
} else i.toLowerCase() === e && (n = $i.STABLE);
|
|
54833
54841
|
return n;
|
|
54834
54842
|
}
|
|
54835
|
-
const z2 = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, ZE = performance,
|
|
54843
|
+
const z2 = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, ZE = performance, p8e = 9, g8e = 6, v8e = Math.pow(10, g8e), JE = Math.pow(10, p8e);
|
|
54836
54844
|
function Uh(e) {
|
|
54837
|
-
const t = e / 1e3, n = Math.trunc(t), r = Math.round(e % 1e3 *
|
|
54845
|
+
const t = e / 1e3, n = Math.trunc(t), r = Math.round(e % 1e3 * v8e);
|
|
54838
54846
|
return [n, r];
|
|
54839
54847
|
}
|
|
54840
54848
|
function SW() {
|
|
@@ -54847,10 +54855,10 @@ function SW() {
|
|
|
54847
54855
|
}
|
|
54848
54856
|
function QE(e) {
|
|
54849
54857
|
const t = Uh(SW()), n = Uh(typeof e == "number" ? e : ZE.now());
|
|
54850
|
-
return
|
|
54858
|
+
return y8e(t, n);
|
|
54851
54859
|
}
|
|
54852
54860
|
function nh(e) {
|
|
54853
|
-
if (
|
|
54861
|
+
if (m8e(e))
|
|
54854
54862
|
return e;
|
|
54855
54863
|
if (typeof e == "number")
|
|
54856
54864
|
return e < SW() ? QE(e) : Uh(e);
|
|
@@ -54861,17 +54869,17 @@ function nh(e) {
|
|
|
54861
54869
|
function tu(e) {
|
|
54862
54870
|
return e[0] * JE + e[1];
|
|
54863
54871
|
}
|
|
54864
|
-
function
|
|
54872
|
+
function m8e(e) {
|
|
54865
54873
|
return Array.isArray(e) && e.length === 2 && typeof e[0] == "number" && typeof e[1] == "number";
|
|
54866
54874
|
}
|
|
54867
|
-
function
|
|
54875
|
+
function y8e(e, t) {
|
|
54868
54876
|
const n = [e[0] + t[0], e[1] + t[1]];
|
|
54869
54877
|
return n[1] >= JE && (n[1] -= JE, n[0] += 1), n;
|
|
54870
54878
|
}
|
|
54871
54879
|
function OW(e, t) {
|
|
54872
54880
|
return typeof t == "string" ? e === t : !!e.match(t);
|
|
54873
54881
|
}
|
|
54874
|
-
function
|
|
54882
|
+
function b8e(e, t) {
|
|
54875
54883
|
if (!t)
|
|
54876
54884
|
return !1;
|
|
54877
54885
|
for (const n of t)
|
|
@@ -54883,27 +54891,27 @@ var Wn;
|
|
|
54883
54891
|
(function(e) {
|
|
54884
54892
|
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";
|
|
54885
54893
|
})(Wn || (Wn = {}));
|
|
54886
|
-
const
|
|
54894
|
+
const w8e = "http.response_content_length", _8e = "http.response_content_length_uncompressed";
|
|
54887
54895
|
let F2;
|
|
54888
|
-
function
|
|
54896
|
+
function x8e() {
|
|
54889
54897
|
return F2 || (F2 = document.createElement("a")), F2;
|
|
54890
54898
|
}
|
|
54891
|
-
function
|
|
54899
|
+
function E8e(e, t) {
|
|
54892
54900
|
return t in e;
|
|
54893
54901
|
}
|
|
54894
54902
|
function ns(e, t, n, r = !0) {
|
|
54895
|
-
if (
|
|
54903
|
+
if (E8e(n, t) && typeof n[t] == "number" && !(r && n[t] === 0))
|
|
54896
54904
|
return e.addEvent(t, n[t]);
|
|
54897
54905
|
}
|
|
54898
54906
|
function uM(e, t, n = !1, r, i) {
|
|
54899
54907
|
if (r === void 0 && (r = t[Wn.START_TIME] !== 0), n || (ns(e, Wn.FETCH_START, t, r), ns(e, Wn.DOMAIN_LOOKUP_START, t, r), ns(e, Wn.DOMAIN_LOOKUP_END, t, r), ns(e, Wn.CONNECT_START, t, r), ns(e, Wn.SECURE_CONNECTION_START, t, r), ns(e, Wn.CONNECT_END, t, r), ns(e, Wn.REQUEST_START, t, r), ns(e, Wn.RESPONSE_START, t, r), ns(e, Wn.RESPONSE_END, t, r)), !i) {
|
|
54900
54908
|
const o = t[Wn.ENCODED_BODY_SIZE];
|
|
54901
|
-
o !== void 0 && e.setAttribute(
|
|
54909
|
+
o !== void 0 && e.setAttribute(w8e, o);
|
|
54902
54910
|
const a = t[Wn.DECODED_BODY_SIZE];
|
|
54903
|
-
a !== void 0 && o !== a && e.setAttribute(
|
|
54911
|
+
a !== void 0 && o !== a && e.setAttribute(_8e, a);
|
|
54904
54912
|
}
|
|
54905
54913
|
}
|
|
54906
|
-
function
|
|
54914
|
+
function S8e(e) {
|
|
54907
54915
|
return e.slice().sort((t, n) => {
|
|
54908
54916
|
const r = t[Wn.FETCH_START], i = n[Wn.FETCH_START];
|
|
54909
54917
|
return r > i ? 1 : r < i ? -1 : 0;
|
|
@@ -54912,10 +54920,10 @@ function E8e(e) {
|
|
|
54912
54920
|
function AW() {
|
|
54913
54921
|
return typeof location < "u" ? location.origin : void 0;
|
|
54914
54922
|
}
|
|
54915
|
-
function
|
|
54923
|
+
function O8e(e, t, n, r, i = /* @__PURE__ */ new WeakSet(), o) {
|
|
54916
54924
|
const a = Gm(e);
|
|
54917
54925
|
e = a.toString();
|
|
54918
|
-
const s =
|
|
54926
|
+
const s = P8e(e, t, n, r, i, o);
|
|
54919
54927
|
if (s.length === 0)
|
|
54920
54928
|
return {
|
|
54921
54929
|
mainRequest: void 0
|
|
@@ -54924,9 +54932,9 @@ function S8e(e, t, n, r, i = /* @__PURE__ */ new WeakSet(), o) {
|
|
|
54924
54932
|
return {
|
|
54925
54933
|
mainRequest: s[0]
|
|
54926
54934
|
};
|
|
54927
|
-
const u =
|
|
54935
|
+
const u = S8e(s);
|
|
54928
54936
|
if (a.origin !== AW() && u.length > 1) {
|
|
54929
|
-
let c = u[0], l =
|
|
54937
|
+
let c = u[0], l = A8e(u, c[Wn.RESPONSE_END], n);
|
|
54930
54938
|
const d = c[Wn.RESPONSE_END];
|
|
54931
54939
|
return l[Wn.FETCH_START] < d && (l = c, c = void 0), {
|
|
54932
54940
|
corsPreFlightRequest: c,
|
|
@@ -54937,7 +54945,7 @@ function S8e(e, t, n, r, i = /* @__PURE__ */ new WeakSet(), o) {
|
|
|
54937
54945
|
mainRequest: s[0]
|
|
54938
54946
|
};
|
|
54939
54947
|
}
|
|
54940
|
-
function
|
|
54948
|
+
function A8e(e, t, n) {
|
|
54941
54949
|
const r = tu(n), i = tu(nh(t));
|
|
54942
54950
|
let o = e[1], a;
|
|
54943
54951
|
const s = e.length;
|
|
@@ -54947,7 +54955,7 @@ function O8e(e, t, n) {
|
|
|
54947
54955
|
}
|
|
54948
54956
|
return o;
|
|
54949
54957
|
}
|
|
54950
|
-
function
|
|
54958
|
+
function P8e(e, t, n, r, i, o) {
|
|
54951
54959
|
const a = tu(t), s = tu(n);
|
|
54952
54960
|
let u = r.filter((c) => {
|
|
54953
54961
|
const l = tu(nh(c[Wn.FETCH_START])), d = tu(nh(c[Wn.RESPONSE_END]));
|
|
@@ -54958,10 +54966,10 @@ function A8e(e, t, n, r, i, o) {
|
|
|
54958
54966
|
function Gm(e) {
|
|
54959
54967
|
if (typeof URL == "function")
|
|
54960
54968
|
return new URL(e, typeof document < "u" ? document.baseURI : typeof location < "u" ? location.href : void 0);
|
|
54961
|
-
const t =
|
|
54969
|
+
const t = x8e();
|
|
54962
54970
|
return t.href = e, t;
|
|
54963
54971
|
}
|
|
54964
|
-
function
|
|
54972
|
+
function T8e(e, t) {
|
|
54965
54973
|
let n = t || [];
|
|
54966
54974
|
return (typeof n == "string" || n instanceof RegExp) && (n = [n]), Gm(e).origin === AW() ? !0 : n.some((i) => OW(e, i));
|
|
54967
54975
|
}
|
|
@@ -54969,25 +54977,25 @@ var qm;
|
|
|
54969
54977
|
(function(e) {
|
|
54970
54978
|
e.COMPONENT = "component", e.HTTP_STATUS_TEXT = "http.status_text";
|
|
54971
54979
|
})(qm || (qm = {}));
|
|
54972
|
-
const
|
|
54980
|
+
const C8e = "http.host", I8e = "http.method", M8e = "http.request.body.size", k8e = "http.request_content_length_uncompressed", R8e = "http.scheme", D8e = "http.status_code", L8e = "http.url", N8e = "http.user_agent", PW = Ht.createComponentLogger({
|
|
54973
54981
|
namespace: "@opentelemetry/opentelemetry-instrumentation-fetch/utils"
|
|
54974
54982
|
});
|
|
54975
|
-
function
|
|
54983
|
+
function j8e(...e) {
|
|
54976
54984
|
if (e[0] instanceof URL || typeof e[0] == "string") {
|
|
54977
54985
|
const t = e[1];
|
|
54978
54986
|
if (!t?.body)
|
|
54979
54987
|
return Promise.resolve();
|
|
54980
54988
|
if (t.body instanceof ReadableStream) {
|
|
54981
|
-
const { body: n, length: r } =
|
|
54989
|
+
const { body: n, length: r } = $8e(t.body);
|
|
54982
54990
|
return t.body = n, r;
|
|
54983
54991
|
} else
|
|
54984
|
-
return Promise.resolve(
|
|
54992
|
+
return Promise.resolve(z8e(t.body));
|
|
54985
54993
|
} else {
|
|
54986
54994
|
const t = e[0];
|
|
54987
54995
|
return t?.body ? t.clone().text().then((n) => eS(n)) : Promise.resolve();
|
|
54988
54996
|
}
|
|
54989
54997
|
}
|
|
54990
|
-
function
|
|
54998
|
+
function $8e(e) {
|
|
54991
54999
|
if (!e.pipeThrough)
|
|
54992
55000
|
return PW.warn("Platform has ReadableStream but not pipeThrough!"), {
|
|
54993
55001
|
body: e,
|
|
@@ -55012,39 +55020,39 @@ function j8e(e) {
|
|
|
55012
55020
|
length: r
|
|
55013
55021
|
};
|
|
55014
55022
|
}
|
|
55015
|
-
function
|
|
55023
|
+
function B8e(e) {
|
|
55016
55024
|
return typeof Document < "u" && e instanceof Document;
|
|
55017
55025
|
}
|
|
55018
|
-
function
|
|
55019
|
-
if (
|
|
55026
|
+
function z8e(e) {
|
|
55027
|
+
if (B8e(e))
|
|
55020
55028
|
return new XMLSerializer().serializeToString(document).length;
|
|
55021
55029
|
if (typeof e == "string")
|
|
55022
55030
|
return eS(e);
|
|
55023
55031
|
if (e instanceof Blob)
|
|
55024
55032
|
return e.size;
|
|
55025
55033
|
if (e instanceof FormData)
|
|
55026
|
-
return
|
|
55034
|
+
return W8e(e);
|
|
55027
55035
|
if (e instanceof URLSearchParams)
|
|
55028
55036
|
return eS(e.toString());
|
|
55029
55037
|
if (e.byteLength !== void 0)
|
|
55030
55038
|
return e.byteLength;
|
|
55031
55039
|
PW.warn("unknown body type");
|
|
55032
55040
|
}
|
|
55033
|
-
const
|
|
55041
|
+
const F8e = new TextEncoder();
|
|
55034
55042
|
function eS(e) {
|
|
55035
|
-
return
|
|
55043
|
+
return F8e.encode(e).byteLength;
|
|
55036
55044
|
}
|
|
55037
|
-
function
|
|
55045
|
+
function W8e(e) {
|
|
55038
55046
|
let t = 0;
|
|
55039
55047
|
for (const [n, r] of e.entries())
|
|
55040
55048
|
t += n.length, r instanceof Blob ? t += r.size : t += r.length;
|
|
55041
55049
|
return t;
|
|
55042
55050
|
}
|
|
55043
|
-
function
|
|
55044
|
-
const t =
|
|
55051
|
+
function U8e(e) {
|
|
55052
|
+
const t = V8e(), n = e.toUpperCase();
|
|
55045
55053
|
return n in t ? n : "_OTHER";
|
|
55046
55054
|
}
|
|
55047
|
-
const
|
|
55055
|
+
const H8e = {
|
|
55048
55056
|
CONNECT: !0,
|
|
55049
55057
|
DELETE: !0,
|
|
55050
55058
|
GET: !0,
|
|
@@ -55056,20 +55064,20 @@ const U8e = {
|
|
|
55056
55064
|
TRACE: !0
|
|
55057
55065
|
};
|
|
55058
55066
|
let W2;
|
|
55059
|
-
function
|
|
55060
|
-
return W2 === void 0 && (W2 =
|
|
55067
|
+
function V8e() {
|
|
55068
|
+
return W2 === void 0 && (W2 = H8e), W2;
|
|
55061
55069
|
}
|
|
55062
|
-
const
|
|
55070
|
+
const G8e = {
|
|
55063
55071
|
"https:": "443",
|
|
55064
55072
|
"http:": "80"
|
|
55065
55073
|
};
|
|
55066
|
-
function
|
|
55067
|
-
const t = Number(e.port ||
|
|
55074
|
+
function q8e(e) {
|
|
55075
|
+
const t = Number(e.port || G8e[e.protocol]);
|
|
55068
55076
|
if (t && !isNaN(t))
|
|
55069
55077
|
return t;
|
|
55070
55078
|
}
|
|
55071
|
-
const cM = "0.204.0",
|
|
55072
|
-
class
|
|
55079
|
+
const cM = "0.204.0", K8e = 300, lM = typeof process == "object" && process.release?.name === "node";
|
|
55080
|
+
class Y8e extends f8e {
|
|
55073
55081
|
component = "fetch";
|
|
55074
55082
|
version = cM;
|
|
55075
55083
|
moduleName = this.component;
|
|
@@ -55077,7 +55085,7 @@ class K8e extends l8e {
|
|
|
55077
55085
|
_tasksCount = 0;
|
|
55078
55086
|
_semconvStability;
|
|
55079
55087
|
constructor(t = {}) {
|
|
55080
|
-
super("@opentelemetry/instrumentation-fetch", cM, t), this._semconvStability =
|
|
55088
|
+
super("@opentelemetry/instrumentation-fetch", cM, t), this._semconvStability = h8e("http", t?.semconvStabilityOptIn);
|
|
55081
55089
|
}
|
|
55082
55090
|
init() {
|
|
55083
55091
|
}
|
|
@@ -55099,10 +55107,10 @@ class K8e extends l8e {
|
|
|
55099
55107
|
*/
|
|
55100
55108
|
_addFinalSpanAttributes(t, n) {
|
|
55101
55109
|
const r = Gm(n.url);
|
|
55102
|
-
if (this._semconvStability & $i.OLD && (t.setAttribute(
|
|
55103
|
-
t.setAttribute(
|
|
55104
|
-
const i =
|
|
55105
|
-
i && t.setAttribute(
|
|
55110
|
+
if (this._semconvStability & $i.OLD && (t.setAttribute(D8e, n.status), n.statusText != null && t.setAttribute(qm.HTTP_STATUS_TEXT, n.statusText), t.setAttribute(C8e, r.host), t.setAttribute(R8e, r.protocol.replace(":", "")), typeof navigator < "u" && t.setAttribute(N8e, navigator.userAgent)), this._semconvStability & $i.STABLE) {
|
|
55111
|
+
t.setAttribute(U4e, n.status), t.setAttribute(H4e, r.hostname);
|
|
55112
|
+
const i = q8e(r);
|
|
55113
|
+
i && t.setAttribute(V4e, i);
|
|
55106
55114
|
}
|
|
55107
55115
|
}
|
|
55108
55116
|
/**
|
|
@@ -55111,7 +55119,7 @@ class K8e extends l8e {
|
|
|
55111
55119
|
* @param spanUrl
|
|
55112
55120
|
*/
|
|
55113
55121
|
_addHeaders(t, n) {
|
|
55114
|
-
if (!
|
|
55122
|
+
if (!T8e(n, this.getConfig().propagateTraceHeaderCorsUrls)) {
|
|
55115
55123
|
const r = {};
|
|
55116
55124
|
ya.inject(jr.active(), r), Object.keys(r).length > 0 && this._diag.debug("headers inject skipped due to CORS policy");
|
|
55117
55125
|
return;
|
|
@@ -55148,7 +55156,7 @@ class K8e extends l8e {
|
|
|
55148
55156
|
* @param options
|
|
55149
55157
|
*/
|
|
55150
55158
|
_createSpan(t, n = {}) {
|
|
55151
|
-
if (
|
|
55159
|
+
if (b8e(t, this.getConfig().ignoreUrls)) {
|
|
55152
55160
|
this._diag.debug("ignoring span as url matches ignored url");
|
|
55153
55161
|
return;
|
|
55154
55162
|
}
|
|
@@ -55156,11 +55164,11 @@ class K8e extends l8e {
|
|
|
55156
55164
|
const i = {};
|
|
55157
55165
|
if (this._semconvStability & $i.OLD) {
|
|
55158
55166
|
const o = (n.method || "GET").toUpperCase();
|
|
55159
|
-
r = `HTTP ${o}`, i[qm.COMPONENT] = this.moduleName, i[
|
|
55167
|
+
r = `HTTP ${o}`, i[qm.COMPONENT] = this.moduleName, i[I8e] = o, i[L8e] = t;
|
|
55160
55168
|
}
|
|
55161
55169
|
if (this._semconvStability & $i.STABLE) {
|
|
55162
|
-
const o = n.method, a =
|
|
55163
|
-
r || (r = a), i[
|
|
55170
|
+
const o = n.method, a = U8e(n.method || "GET");
|
|
55171
|
+
r || (r = a), i[F4e] = a, a !== o && (i[W4e] = o), i[q4e] = t;
|
|
55164
55172
|
}
|
|
55165
55173
|
return this.tracer.startSpan(r, {
|
|
55166
55174
|
kind: Nm.CLIENT,
|
|
@@ -55180,7 +55188,7 @@ class K8e extends l8e {
|
|
|
55180
55188
|
return;
|
|
55181
55189
|
i = performance.getEntriesByType("resource");
|
|
55182
55190
|
}
|
|
55183
|
-
const o =
|
|
55191
|
+
const o = O8e(n.spanUrl, n.startTime, r, i, this._usedResources, "fetch");
|
|
55184
55192
|
if (o.mainRequest) {
|
|
55185
55193
|
const a = o.mainRequest;
|
|
55186
55194
|
this._markResourceAsUsed(a);
|
|
@@ -55207,9 +55215,9 @@ class K8e extends l8e {
|
|
|
55207
55215
|
*/
|
|
55208
55216
|
_endSpan(t, n, r) {
|
|
55209
55217
|
const i = Uh(Date.now()), o = QE();
|
|
55210
|
-
this._addFinalSpanAttributes(t, r), this._semconvStability & $i.STABLE && r.status >= 400 && (t.setStatus({ code: ec.ERROR }), t.setAttribute(
|
|
55218
|
+
this._addFinalSpanAttributes(t, r), this._semconvStability & $i.STABLE && r.status >= 400 && (t.setStatus({ code: ec.ERROR }), t.setAttribute(B4e, String(r.status))), setTimeout(() => {
|
|
55211
55219
|
n.observer?.disconnect(), this._findResourceAndAddNetworkEvents(t, n, o), this._tasksCount--, this._clearResources(), t.end(i);
|
|
55212
|
-
},
|
|
55220
|
+
}, K8e);
|
|
55213
55221
|
}
|
|
55214
55222
|
/**
|
|
55215
55223
|
* Patches the constructor of fetch
|
|
@@ -55222,8 +55230,8 @@ class K8e extends l8e {
|
|
|
55222
55230
|
if (!u)
|
|
55223
55231
|
return t.apply(this, i);
|
|
55224
55232
|
const c = n._prepareSpanData(a);
|
|
55225
|
-
n.getConfig().measureRequestSize &&
|
|
55226
|
-
y && (n._semconvStability & $i.OLD && u.setAttribute(
|
|
55233
|
+
n.getConfig().measureRequestSize && j8e(...i).then((y) => {
|
|
55234
|
+
y && (n._semconvStability & $i.OLD && u.setAttribute(k8e, y), n._semconvStability & $i.STABLE && u.setAttribute(M8e, y));
|
|
55227
55235
|
}).catch((y) => {
|
|
55228
55236
|
n._diag.warn("getFetchBodyLength", y);
|
|
55229
55237
|
});
|
|
@@ -55308,7 +55316,7 @@ class K8e extends l8e {
|
|
|
55308
55316
|
this._diag.warn("this instrumentation is intended for web usage only, it does not instrument Node.js's fetch()");
|
|
55309
55317
|
return;
|
|
55310
55318
|
}
|
|
55311
|
-
|
|
55319
|
+
d8e(fetch) && (this._unwrap(z2, "fetch"), this._diag.debug("removing previous patch for constructor")), this._wrap(z2, "fetch", this._patchConstructor());
|
|
55312
55320
|
}
|
|
55313
55321
|
/**
|
|
55314
55322
|
* implements unpatch function
|
|
@@ -55317,11 +55325,11 @@ class K8e extends l8e {
|
|
|
55317
55325
|
lM || (this._unwrap(z2, "fetch"), this._usedResources = /* @__PURE__ */ new WeakSet());
|
|
55318
55326
|
}
|
|
55319
55327
|
}
|
|
55320
|
-
function
|
|
55328
|
+
function X8e(e) {
|
|
55321
55329
|
return typeof e == "object" && e !== null && "addEventListener" in e && typeof e.addEventListener == "function" && "removeEventListener" in e && typeof e.removeEventListener == "function";
|
|
55322
55330
|
}
|
|
55323
55331
|
const fM = "OT_ZONE_CONTEXT";
|
|
55324
|
-
class
|
|
55332
|
+
class Z8e {
|
|
55325
55333
|
/**
|
|
55326
55334
|
* whether the context manager is enabled or not
|
|
55327
55335
|
*/
|
|
@@ -55433,7 +55441,7 @@ class X8e {
|
|
|
55433
55441
|
* the provided context will be used as the active context for the duration of the call.
|
|
55434
55442
|
*/
|
|
55435
55443
|
bind(t, n) {
|
|
55436
|
-
return t === void 0 && (t = this.active()), typeof n == "function" ? this._bindFunction(t, n) : (
|
|
55444
|
+
return t === void 0 && (t = this.active()), typeof n == "function" ? this._bindFunction(t, n) : (X8e(n) && this._bindListener(t, n), n);
|
|
55437
55445
|
}
|
|
55438
55446
|
/**
|
|
55439
55447
|
* Disable the context manager (clears all the contexts)
|
|
@@ -55462,7 +55470,7 @@ class X8e {
|
|
|
55462
55470
|
}
|
|
55463
55471
|
}
|
|
55464
55472
|
var dM = {}, hM;
|
|
55465
|
-
function
|
|
55473
|
+
function J8e() {
|
|
55466
55474
|
if (hM) return dM;
|
|
55467
55475
|
hM = 1;
|
|
55468
55476
|
const e = globalThis;
|
|
@@ -56995,8 +57003,8 @@ function Z8e() {
|
|
|
56995
57003
|
const Ot = r();
|
|
56996
57004
|
return Ue(Ot), We(Ot), dM;
|
|
56997
57005
|
}
|
|
56998
|
-
|
|
56999
|
-
class
|
|
57006
|
+
J8e();
|
|
57007
|
+
class Q8e {
|
|
57000
57008
|
_delegate;
|
|
57001
57009
|
constructor(t) {
|
|
57002
57010
|
this._delegate = t;
|
|
@@ -57024,30 +57032,30 @@ class pM extends Error {
|
|
|
57024
57032
|
super(t), this.data = r, this.code = n;
|
|
57025
57033
|
}
|
|
57026
57034
|
}
|
|
57027
|
-
function
|
|
57035
|
+
function eIe(e) {
|
|
57028
57036
|
if (Number.isFinite(e) && e > 0)
|
|
57029
57037
|
return e;
|
|
57030
57038
|
throw new Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${e}')`);
|
|
57031
57039
|
}
|
|
57032
|
-
function
|
|
57040
|
+
function tIe(e) {
|
|
57033
57041
|
if (e != null)
|
|
57034
57042
|
return async () => e;
|
|
57035
57043
|
}
|
|
57036
|
-
function
|
|
57044
|
+
function nIe(e, t, n) {
|
|
57037
57045
|
return {
|
|
57038
|
-
timeoutMillis:
|
|
57046
|
+
timeoutMillis: eIe(e.timeoutMillis ?? t.timeoutMillis ?? n.timeoutMillis),
|
|
57039
57047
|
concurrencyLimit: e.concurrencyLimit ?? t.concurrencyLimit ?? n.concurrencyLimit,
|
|
57040
57048
|
compression: e.compression ?? t.compression ?? n.compression
|
|
57041
57049
|
};
|
|
57042
57050
|
}
|
|
57043
|
-
function
|
|
57051
|
+
function rIe() {
|
|
57044
57052
|
return {
|
|
57045
57053
|
timeoutMillis: 1e4,
|
|
57046
57054
|
concurrencyLimit: 30,
|
|
57047
57055
|
compression: "none"
|
|
57048
57056
|
};
|
|
57049
57057
|
}
|
|
57050
|
-
class
|
|
57058
|
+
class iIe {
|
|
57051
57059
|
_concurrencyLimit;
|
|
57052
57060
|
_sendingPromises = [];
|
|
57053
57061
|
/**
|
|
@@ -57073,20 +57081,20 @@ class rIe {
|
|
|
57073
57081
|
await Promise.all(this._sendingPromises);
|
|
57074
57082
|
}
|
|
57075
57083
|
}
|
|
57076
|
-
function iIe(e) {
|
|
57077
|
-
return new rIe(e.concurrencyLimit);
|
|
57078
|
-
}
|
|
57079
57084
|
function oIe(e) {
|
|
57085
|
+
return new iIe(e.concurrencyLimit);
|
|
57086
|
+
}
|
|
57087
|
+
function aIe(e) {
|
|
57080
57088
|
return Object.prototype.hasOwnProperty.call(e, "partialSuccess");
|
|
57081
57089
|
}
|
|
57082
|
-
function
|
|
57090
|
+
function sIe() {
|
|
57083
57091
|
return {
|
|
57084
57092
|
handleResponse(e) {
|
|
57085
|
-
e == null || !
|
|
57093
|
+
e == null || !aIe(e) || e.partialSuccess == null || Object.keys(e.partialSuccess).length === 0 || Ht.warn("Received Partial Success response:", JSON.stringify(e.partialSuccess));
|
|
57086
57094
|
}
|
|
57087
57095
|
};
|
|
57088
57096
|
}
|
|
57089
|
-
class
|
|
57097
|
+
class uIe {
|
|
57090
57098
|
_transport;
|
|
57091
57099
|
_serializer;
|
|
57092
57100
|
_responseHandler;
|
|
@@ -57151,14 +57159,14 @@ class sIe {
|
|
|
57151
57159
|
this._diagLogger.debug("shutdown started"), await this.forceFlush(), this._transport.shutdown();
|
|
57152
57160
|
}
|
|
57153
57161
|
}
|
|
57154
|
-
function
|
|
57155
|
-
return new
|
|
57162
|
+
function cIe(e, t) {
|
|
57163
|
+
return new uIe(e.transport, e.serializer, sIe(), e.promiseHandler, t.timeout);
|
|
57156
57164
|
}
|
|
57157
57165
|
function Y3(e, t, n) {
|
|
57158
|
-
return
|
|
57166
|
+
return cIe({
|
|
57159
57167
|
transport: n,
|
|
57160
57168
|
serializer: t,
|
|
57161
|
-
promiseHandler:
|
|
57169
|
+
promiseHandler: oIe(e)
|
|
57162
57170
|
}, { timeout: e.timeoutMillis });
|
|
57163
57171
|
}
|
|
57164
57172
|
function gM(e) {
|
|
@@ -57177,51 +57185,51 @@ function CW(e) {
|
|
|
57177
57185
|
const t = BigInt(1e9);
|
|
57178
57186
|
return BigInt(Math.trunc(e[0])) * t + BigInt(Math.trunc(e[1]));
|
|
57179
57187
|
}
|
|
57180
|
-
function
|
|
57188
|
+
function lIe(e) {
|
|
57181
57189
|
const t = Number(BigInt.asUintN(32, e)), n = Number(BigInt.asUintN(32, e >> BigInt(32)));
|
|
57182
57190
|
return { low: t, high: n };
|
|
57183
57191
|
}
|
|
57184
|
-
function
|
|
57192
|
+
function fIe(e) {
|
|
57185
57193
|
const t = CW(e);
|
|
57186
|
-
return
|
|
57194
|
+
return lIe(t);
|
|
57187
57195
|
}
|
|
57188
|
-
function
|
|
57196
|
+
function dIe(e) {
|
|
57189
57197
|
return CW(e).toString();
|
|
57190
57198
|
}
|
|
57191
|
-
const
|
|
57199
|
+
const hIe = typeof BigInt < "u" ? dIe : Q4e;
|
|
57192
57200
|
function vM(e) {
|
|
57193
57201
|
return e;
|
|
57194
57202
|
}
|
|
57195
|
-
function
|
|
57203
|
+
function pIe(e) {
|
|
57196
57204
|
if (e !== void 0)
|
|
57197
57205
|
return TW(e);
|
|
57198
57206
|
}
|
|
57199
|
-
const
|
|
57200
|
-
encodeHrTime:
|
|
57207
|
+
const gIe = {
|
|
57208
|
+
encodeHrTime: fIe,
|
|
57201
57209
|
encodeSpanContext: TW,
|
|
57202
|
-
encodeOptionalSpanContext:
|
|
57210
|
+
encodeOptionalSpanContext: pIe
|
|
57203
57211
|
};
|
|
57204
|
-
function
|
|
57205
|
-
return e === void 0 ?
|
|
57206
|
-
encodeHrTime:
|
|
57212
|
+
function vIe(e) {
|
|
57213
|
+
return e === void 0 ? gIe : {
|
|
57214
|
+
encodeHrTime: hIe,
|
|
57207
57215
|
encodeSpanContext: vM,
|
|
57208
57216
|
encodeOptionalSpanContext: vM
|
|
57209
57217
|
};
|
|
57210
57218
|
}
|
|
57211
|
-
function
|
|
57219
|
+
function mIe(e) {
|
|
57212
57220
|
const t = {
|
|
57213
|
-
attributes:
|
|
57221
|
+
attributes: bIe(e.attributes),
|
|
57214
57222
|
droppedAttributesCount: 0
|
|
57215
57223
|
}, n = e.schemaUrl;
|
|
57216
57224
|
return n && n !== "" && (t.schemaUrl = n), t;
|
|
57217
57225
|
}
|
|
57218
|
-
function
|
|
57226
|
+
function yIe(e) {
|
|
57219
57227
|
return {
|
|
57220
57228
|
name: e.name,
|
|
57221
57229
|
version: e.version
|
|
57222
57230
|
};
|
|
57223
57231
|
}
|
|
57224
|
-
function
|
|
57232
|
+
function bIe(e) {
|
|
57225
57233
|
return Object.keys(e).map((t) => X3(t, e[t]));
|
|
57226
57234
|
}
|
|
57227
57235
|
function X3(e, t) {
|
|
@@ -57238,13 +57246,13 @@ function Z3(e) {
|
|
|
57238
57246
|
}
|
|
57239
57247
|
} : {};
|
|
57240
57248
|
}
|
|
57241
|
-
function
|
|
57242
|
-
const n =
|
|
57249
|
+
function wIe(e, t) {
|
|
57250
|
+
const n = vIe(t);
|
|
57243
57251
|
return {
|
|
57244
|
-
resourceLogs:
|
|
57252
|
+
resourceLogs: xIe(e, n)
|
|
57245
57253
|
};
|
|
57246
57254
|
}
|
|
57247
|
-
function
|
|
57255
|
+
function _Ie(e) {
|
|
57248
57256
|
const t = /* @__PURE__ */ new Map();
|
|
57249
57257
|
for (const n of e) {
|
|
57250
57258
|
const { resource: r, instrumentationScope: { name: i, version: o = "", schemaUrl: a = "" } } = n;
|
|
@@ -57256,22 +57264,22 @@ function wIe(e) {
|
|
|
57256
57264
|
}
|
|
57257
57265
|
return t;
|
|
57258
57266
|
}
|
|
57259
|
-
function
|
|
57260
|
-
const n =
|
|
57267
|
+
function xIe(e, t) {
|
|
57268
|
+
const n = _Ie(e);
|
|
57261
57269
|
return Array.from(n, ([r, i]) => {
|
|
57262
|
-
const o =
|
|
57270
|
+
const o = mIe(r);
|
|
57263
57271
|
return {
|
|
57264
57272
|
resource: o,
|
|
57265
57273
|
scopeLogs: Array.from(i, ([, a]) => ({
|
|
57266
|
-
scope:
|
|
57267
|
-
logRecords: a.map((s) =>
|
|
57274
|
+
scope: yIe(a[0].instrumentationScope),
|
|
57275
|
+
logRecords: a.map((s) => EIe(s, t)),
|
|
57268
57276
|
schemaUrl: a[0].instrumentationScope.schemaUrl
|
|
57269
57277
|
})),
|
|
57270
57278
|
schemaUrl: o.schemaUrl
|
|
57271
57279
|
};
|
|
57272
57280
|
});
|
|
57273
57281
|
}
|
|
57274
|
-
function
|
|
57282
|
+
function EIe(e, t) {
|
|
57275
57283
|
return {
|
|
57276
57284
|
timeUnixNano: t.encodeHrTime(e.hrTime),
|
|
57277
57285
|
observedTimeUnixNano: t.encodeHrTime(e.hrTimeObserved),
|
|
@@ -57279,19 +57287,19 @@ function xIe(e, t) {
|
|
|
57279
57287
|
severityText: e.severityText,
|
|
57280
57288
|
body: Z3(e.body),
|
|
57281
57289
|
eventName: e.eventName,
|
|
57282
|
-
attributes:
|
|
57290
|
+
attributes: SIe(e.attributes),
|
|
57283
57291
|
droppedAttributesCount: e.droppedAttributesCount,
|
|
57284
57292
|
flags: e.spanContext?.traceFlags,
|
|
57285
57293
|
traceId: t.encodeOptionalSpanContext(e.spanContext?.traceId),
|
|
57286
57294
|
spanId: t.encodeOptionalSpanContext(e.spanContext?.spanId)
|
|
57287
57295
|
};
|
|
57288
57296
|
}
|
|
57289
|
-
function
|
|
57297
|
+
function SIe(e) {
|
|
57290
57298
|
return Object.keys(e).map((t) => X3(t, e[t]));
|
|
57291
57299
|
}
|
|
57292
|
-
const
|
|
57300
|
+
const OIe = {
|
|
57293
57301
|
serializeRequest: (e) => {
|
|
57294
|
-
const t =
|
|
57302
|
+
const t = wIe(e, {});
|
|
57295
57303
|
return new TextEncoder().encode(JSON.stringify(t));
|
|
57296
57304
|
},
|
|
57297
57305
|
deserializeResponse: (e) => {
|
|
@@ -57300,11 +57308,11 @@ const SIe = {
|
|
|
57300
57308
|
const t = new TextDecoder();
|
|
57301
57309
|
return JSON.parse(t.decode(e));
|
|
57302
57310
|
}
|
|
57303
|
-
},
|
|
57304
|
-
function
|
|
57311
|
+
}, AIe = 5, PIe = 1e3, TIe = 5e3, CIe = 1.5, mM = 0.2;
|
|
57312
|
+
function IIe() {
|
|
57305
57313
|
return Math.random() * (2 * mM) - mM;
|
|
57306
57314
|
}
|
|
57307
|
-
class
|
|
57315
|
+
class MIe {
|
|
57308
57316
|
_transport;
|
|
57309
57317
|
constructor(t) {
|
|
57310
57318
|
this._transport = t;
|
|
@@ -57318,11 +57326,11 @@ class IIe {
|
|
|
57318
57326
|
}
|
|
57319
57327
|
async send(t, n) {
|
|
57320
57328
|
const r = Date.now() + n;
|
|
57321
|
-
let i = await this._transport.send(t, n), o =
|
|
57329
|
+
let i = await this._transport.send(t, n), o = AIe, a = PIe;
|
|
57322
57330
|
for (; i.status === "retryable" && o > 0; ) {
|
|
57323
57331
|
o--;
|
|
57324
|
-
const s = Math.max(Math.min(a,
|
|
57325
|
-
a = a *
|
|
57332
|
+
const s = Math.max(Math.min(a, TIe) + IIe(), 0);
|
|
57333
|
+
a = a * CIe;
|
|
57326
57334
|
const u = i.retryInMillis ?? s, c = r - Date.now();
|
|
57327
57335
|
if (u > c)
|
|
57328
57336
|
return i;
|
|
@@ -57335,7 +57343,7 @@ class IIe {
|
|
|
57335
57343
|
}
|
|
57336
57344
|
}
|
|
57337
57345
|
function J3(e) {
|
|
57338
|
-
return new
|
|
57346
|
+
return new MIe(e.transport);
|
|
57339
57347
|
}
|
|
57340
57348
|
function IW(e) {
|
|
57341
57349
|
return [429, 502, 503, 504].includes(e);
|
|
@@ -57349,7 +57357,7 @@ function MW(e) {
|
|
|
57349
57357
|
const n = new Date(e).getTime() - Date.now();
|
|
57350
57358
|
return n >= 0 ? n : 0;
|
|
57351
57359
|
}
|
|
57352
|
-
class
|
|
57360
|
+
class kIe {
|
|
57353
57361
|
_parameters;
|
|
57354
57362
|
constructor(t) {
|
|
57355
57363
|
this._parameters = t;
|
|
@@ -57391,10 +57399,10 @@ class MIe {
|
|
|
57391
57399
|
shutdown() {
|
|
57392
57400
|
}
|
|
57393
57401
|
}
|
|
57394
|
-
function
|
|
57395
|
-
return new
|
|
57402
|
+
function RIe(e) {
|
|
57403
|
+
return new kIe(e);
|
|
57396
57404
|
}
|
|
57397
|
-
class
|
|
57405
|
+
class DIe {
|
|
57398
57406
|
_params;
|
|
57399
57407
|
constructor(t) {
|
|
57400
57408
|
this._params = t;
|
|
@@ -57413,10 +57421,10 @@ class RIe {
|
|
|
57413
57421
|
shutdown() {
|
|
57414
57422
|
}
|
|
57415
57423
|
}
|
|
57416
|
-
function
|
|
57417
|
-
return new
|
|
57424
|
+
function LIe(e) {
|
|
57425
|
+
return new DIe(e);
|
|
57418
57426
|
}
|
|
57419
|
-
class
|
|
57427
|
+
class NIe {
|
|
57420
57428
|
_parameters;
|
|
57421
57429
|
constructor(t) {
|
|
57422
57430
|
this._parameters = t;
|
|
@@ -57457,42 +57465,42 @@ class LIe {
|
|
|
57457
57465
|
shutdown() {
|
|
57458
57466
|
}
|
|
57459
57467
|
}
|
|
57460
|
-
function
|
|
57461
|
-
return new
|
|
57468
|
+
function jIe(e) {
|
|
57469
|
+
return new NIe(e);
|
|
57462
57470
|
}
|
|
57463
|
-
function
|
|
57471
|
+
function $Ie(e, t) {
|
|
57464
57472
|
return Y3(e, t, J3({
|
|
57465
|
-
transport:
|
|
57473
|
+
transport: RIe(e)
|
|
57466
57474
|
}));
|
|
57467
57475
|
}
|
|
57468
|
-
function
|
|
57476
|
+
function BIe(e, t) {
|
|
57469
57477
|
return Y3(e, t, J3({
|
|
57470
|
-
transport:
|
|
57478
|
+
transport: jIe(e)
|
|
57471
57479
|
}));
|
|
57472
57480
|
}
|
|
57473
|
-
function
|
|
57481
|
+
function zIe(e, t) {
|
|
57474
57482
|
return Y3(e, t, J3({
|
|
57475
|
-
transport:
|
|
57483
|
+
transport: LIe({
|
|
57476
57484
|
url: e.url,
|
|
57477
57485
|
headers: e.headers
|
|
57478
57486
|
})
|
|
57479
57487
|
}));
|
|
57480
57488
|
}
|
|
57481
|
-
function
|
|
57489
|
+
function FIe(e) {
|
|
57482
57490
|
const t = {};
|
|
57483
57491
|
return Object.entries(e ?? {}).forEach(([n, r]) => {
|
|
57484
57492
|
typeof r < "u" ? t[n] = String(r) : Ht.warn(`Header "${n}" has invalid value (${r}) and will be ignored`);
|
|
57485
57493
|
}), t;
|
|
57486
57494
|
}
|
|
57487
|
-
function
|
|
57495
|
+
function WIe(e, t, n) {
|
|
57488
57496
|
return async () => {
|
|
57489
57497
|
const r = {
|
|
57490
57498
|
...await n()
|
|
57491
57499
|
}, i = {};
|
|
57492
|
-
return t != null && Object.assign(i, await t()), e != null && Object.assign(i,
|
|
57500
|
+
return t != null && Object.assign(i, await t()), e != null && Object.assign(i, FIe(await e())), Object.assign(i, r);
|
|
57493
57501
|
};
|
|
57494
57502
|
}
|
|
57495
|
-
function
|
|
57503
|
+
function UIe(e) {
|
|
57496
57504
|
if (e != null)
|
|
57497
57505
|
try {
|
|
57498
57506
|
const t = globalThis.location?.href;
|
|
@@ -57501,46 +57509,46 @@ function WIe(e) {
|
|
|
57501
57509
|
throw new Error(`Configuration: Could not parse user-provided export URL: '${e}'`);
|
|
57502
57510
|
}
|
|
57503
57511
|
}
|
|
57504
|
-
function
|
|
57512
|
+
function HIe(e, t, n) {
|
|
57505
57513
|
return {
|
|
57506
|
-
...
|
|
57507
|
-
headers:
|
|
57508
|
-
url:
|
|
57514
|
+
...nIe(e, t, n),
|
|
57515
|
+
headers: WIe(e.headers, t.headers, n.headers),
|
|
57516
|
+
url: UIe(e.url) ?? t.url ?? n.url
|
|
57509
57517
|
};
|
|
57510
57518
|
}
|
|
57511
|
-
function
|
|
57519
|
+
function VIe(e, t) {
|
|
57512
57520
|
return {
|
|
57513
|
-
...
|
|
57521
|
+
...rIe(),
|
|
57514
57522
|
headers: async () => e,
|
|
57515
57523
|
url: "http://localhost:4318/" + t
|
|
57516
57524
|
};
|
|
57517
57525
|
}
|
|
57518
|
-
function
|
|
57519
|
-
return typeof e.headers == "function" ? e.headers :
|
|
57526
|
+
function GIe(e) {
|
|
57527
|
+
return typeof e.headers == "function" ? e.headers : tIe(e.headers);
|
|
57520
57528
|
}
|
|
57521
|
-
function
|
|
57522
|
-
return
|
|
57529
|
+
function qIe(e, t, n) {
|
|
57530
|
+
return HIe(
|
|
57523
57531
|
{
|
|
57524
57532
|
url: e.url,
|
|
57525
57533
|
timeoutMillis: e.timeoutMillis,
|
|
57526
|
-
headers:
|
|
57534
|
+
headers: GIe(e),
|
|
57527
57535
|
concurrencyLimit: e.concurrencyLimit
|
|
57528
57536
|
},
|
|
57529
57537
|
{},
|
|
57530
57538
|
// no fallback for browser case
|
|
57531
|
-
|
|
57539
|
+
VIe(n, t)
|
|
57532
57540
|
);
|
|
57533
57541
|
}
|
|
57534
|
-
function
|
|
57535
|
-
const i =
|
|
57542
|
+
function KIe(e, t, n, r) {
|
|
57543
|
+
const i = YIe(e.headers), o = qIe(e, n, r);
|
|
57536
57544
|
return i(o, t);
|
|
57537
57545
|
}
|
|
57538
|
-
function
|
|
57539
|
-
return !e && typeof navigator.sendBeacon == "function" ?
|
|
57546
|
+
function YIe(e) {
|
|
57547
|
+
return !e && typeof navigator.sendBeacon == "function" ? zIe : typeof globalThis.fetch < "u" ? BIe : $Ie;
|
|
57540
57548
|
}
|
|
57541
|
-
class
|
|
57549
|
+
class XIe extends Q8e {
|
|
57542
57550
|
constructor(t = {}) {
|
|
57543
|
-
super(
|
|
57551
|
+
super(KIe(t, OIe, "v1/logs", { "Content-Type": "application/json" }));
|
|
57544
57552
|
}
|
|
57545
57553
|
}
|
|
57546
57554
|
var Ol;
|
|
@@ -57552,13 +57560,13 @@ class kW {
|
|
|
57552
57560
|
}
|
|
57553
57561
|
}
|
|
57554
57562
|
const RW = new kW();
|
|
57555
|
-
class
|
|
57563
|
+
class ZIe {
|
|
57556
57564
|
getLogger(t, n, r) {
|
|
57557
57565
|
return new kW();
|
|
57558
57566
|
}
|
|
57559
57567
|
}
|
|
57560
|
-
const DW = new
|
|
57561
|
-
class
|
|
57568
|
+
const DW = new ZIe();
|
|
57569
|
+
class JIe {
|
|
57562
57570
|
constructor(t, n, r, i) {
|
|
57563
57571
|
this._provider = t, this.name = n, this.version = r, this.options = i;
|
|
57564
57572
|
}
|
|
@@ -57584,7 +57592,7 @@ class ZIe {
|
|
|
57584
57592
|
class yM {
|
|
57585
57593
|
getLogger(t, n, r) {
|
|
57586
57594
|
var i;
|
|
57587
|
-
return (i = this._getDelegateLogger(t, n, r)) !== null && i !== void 0 ? i : new
|
|
57595
|
+
return (i = this._getDelegateLogger(t, n, r)) !== null && i !== void 0 ? i : new JIe(this, t, n, r);
|
|
57588
57596
|
}
|
|
57589
57597
|
/**
|
|
57590
57598
|
* Get the delegate logger provider.
|
|
@@ -57610,8 +57618,8 @@ class yM {
|
|
|
57610
57618
|
return (i = this._delegate) === null || i === void 0 ? void 0 : i.getLogger(t, n, r);
|
|
57611
57619
|
}
|
|
57612
57620
|
}
|
|
57613
|
-
const
|
|
57614
|
-
function
|
|
57621
|
+
const QIe = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Tv = Symbol.for("io.opentelemetry.js.api.logs"), Ed = QIe;
|
|
57622
|
+
function eMe(e, t, n) {
|
|
57615
57623
|
return (r) => r === e ? t : n;
|
|
57616
57624
|
}
|
|
57617
57625
|
const bM = 1;
|
|
@@ -57623,7 +57631,7 @@ class Q3 {
|
|
|
57623
57631
|
return this._instance || (this._instance = new Q3()), this._instance;
|
|
57624
57632
|
}
|
|
57625
57633
|
setGlobalLoggerProvider(t) {
|
|
57626
|
-
return Ed[Tv] ? this.getLoggerProvider() : (Ed[Tv] =
|
|
57634
|
+
return Ed[Tv] ? this.getLoggerProvider() : (Ed[Tv] = eMe(bM, t, DW), this._proxyLoggerProvider._setDelegate(t), t);
|
|
57627
57635
|
}
|
|
57628
57636
|
/**
|
|
57629
57637
|
* Returns the global logger provider.
|
|
@@ -57648,7 +57656,7 @@ class Q3 {
|
|
|
57648
57656
|
}
|
|
57649
57657
|
}
|
|
57650
57658
|
const LW = Q3.getInstance();
|
|
57651
|
-
class
|
|
57659
|
+
class tMe {
|
|
57652
57660
|
hrTime;
|
|
57653
57661
|
hrTimeObserved;
|
|
57654
57662
|
spanContext;
|
|
@@ -57736,21 +57744,21 @@ class eMe {
|
|
|
57736
57744
|
return this._isReadonly && Ht.warn("Can not execute the operation on emitted log record"), this._isReadonly;
|
|
57737
57745
|
}
|
|
57738
57746
|
}
|
|
57739
|
-
class
|
|
57747
|
+
class nMe {
|
|
57740
57748
|
instrumentationScope;
|
|
57741
57749
|
_sharedState;
|
|
57742
57750
|
constructor(t, n) {
|
|
57743
57751
|
this.instrumentationScope = t, this._sharedState = n;
|
|
57744
57752
|
}
|
|
57745
57753
|
emit(t) {
|
|
57746
|
-
const n = t.context || jr.active(), r = new
|
|
57754
|
+
const n = t.context || jr.active(), r = new tMe(this._sharedState, this.instrumentationScope, {
|
|
57747
57755
|
context: n,
|
|
57748
57756
|
...t
|
|
57749
57757
|
});
|
|
57750
57758
|
this._sharedState.activeProcessor.onEmit(r, n), r._makeReadonly();
|
|
57751
57759
|
}
|
|
57752
57760
|
}
|
|
57753
|
-
function
|
|
57761
|
+
function rMe() {
|
|
57754
57762
|
return {
|
|
57755
57763
|
forceFlushTimeoutMillis: 3e4,
|
|
57756
57764
|
logRecordLimits: {
|
|
@@ -57760,7 +57768,7 @@ function nMe() {
|
|
|
57760
57768
|
includeTraceContext: !0
|
|
57761
57769
|
};
|
|
57762
57770
|
}
|
|
57763
|
-
function
|
|
57771
|
+
function iMe(e) {
|
|
57764
57772
|
return {
|
|
57765
57773
|
/**
|
|
57766
57774
|
* Reassign log record attribute count limit to use first non null value defined by user or use default value
|
|
@@ -57772,7 +57780,7 @@ function rMe(e) {
|
|
|
57772
57780
|
attributeValueLengthLimit: e.attributeValueLengthLimit ?? void 0 ?? void 0 ?? 1 / 0
|
|
57773
57781
|
};
|
|
57774
57782
|
}
|
|
57775
|
-
class
|
|
57783
|
+
class oMe {
|
|
57776
57784
|
forceFlush() {
|
|
57777
57785
|
return Promise.resolve();
|
|
57778
57786
|
}
|
|
@@ -57782,7 +57790,7 @@ class iMe {
|
|
|
57782
57790
|
return Promise.resolve();
|
|
57783
57791
|
}
|
|
57784
57792
|
}
|
|
57785
|
-
class
|
|
57793
|
+
class aMe {
|
|
57786
57794
|
processors;
|
|
57787
57795
|
forceFlushTimeoutMillis;
|
|
57788
57796
|
constructor(t, n) {
|
|
@@ -57790,7 +57798,7 @@ class oMe {
|
|
|
57790
57798
|
}
|
|
57791
57799
|
async forceFlush() {
|
|
57792
57800
|
const t = this.forceFlushTimeoutMillis;
|
|
57793
|
-
await Promise.all(this.processors.map((n) =>
|
|
57801
|
+
await Promise.all(this.processors.map((n) => CCe(n.forceFlush(), t)));
|
|
57794
57802
|
}
|
|
57795
57803
|
onEmit(t, n) {
|
|
57796
57804
|
this.processors.forEach((r) => r.onEmit(t, n));
|
|
@@ -57799,7 +57807,7 @@ class oMe {
|
|
|
57799
57807
|
await Promise.all(this.processors.map((t) => t.shutdown()));
|
|
57800
57808
|
}
|
|
57801
57809
|
}
|
|
57802
|
-
class
|
|
57810
|
+
class sMe {
|
|
57803
57811
|
resource;
|
|
57804
57812
|
forceFlushTimeoutMillis;
|
|
57805
57813
|
logRecordLimits;
|
|
@@ -57808,16 +57816,16 @@ class aMe {
|
|
|
57808
57816
|
activeProcessor;
|
|
57809
57817
|
registeredLogRecordProcessors = [];
|
|
57810
57818
|
constructor(t, n, r, i) {
|
|
57811
|
-
this.resource = t, this.forceFlushTimeoutMillis = n, this.logRecordLimits = r, this.processors = i, i.length > 0 ? (this.registeredLogRecordProcessors = i, this.activeProcessor = new
|
|
57819
|
+
this.resource = t, this.forceFlushTimeoutMillis = n, this.logRecordLimits = r, this.processors = i, i.length > 0 ? (this.registeredLogRecordProcessors = i, this.activeProcessor = new aMe(this.registeredLogRecordProcessors, this.forceFlushTimeoutMillis)) : this.activeProcessor = new oMe();
|
|
57812
57820
|
}
|
|
57813
57821
|
}
|
|
57814
|
-
const
|
|
57815
|
-
class
|
|
57822
|
+
const uMe = "unknown";
|
|
57823
|
+
class cMe {
|
|
57816
57824
|
_shutdownOnce;
|
|
57817
57825
|
_sharedState;
|
|
57818
57826
|
constructor(t = {}) {
|
|
57819
|
-
const n = iW({},
|
|
57820
|
-
this._sharedState = new
|
|
57827
|
+
const n = iW({}, rMe(), t), r = t.resource ?? cW();
|
|
57828
|
+
this._sharedState = new sMe(r, n.forceFlushTimeoutMillis, iMe(n.logRecordLimits), t?.processors ?? []), this._shutdownOnce = new G3(this._shutdown, this);
|
|
57821
57829
|
}
|
|
57822
57830
|
/**
|
|
57823
57831
|
* Get a logger with the configuration of the LoggerProvider.
|
|
@@ -57826,8 +57834,8 @@ class uMe {
|
|
|
57826
57834
|
if (this._shutdownOnce.isCalled)
|
|
57827
57835
|
return Ht.warn("A shutdown LoggerProvider cannot provide a Logger"), RW;
|
|
57828
57836
|
t || Ht.warn("Logger requested without instrumentation scope name.");
|
|
57829
|
-
const i = t ||
|
|
57830
|
-
return this._sharedState.loggers.has(o) || this._sharedState.loggers.set(o, new
|
|
57837
|
+
const i = t || uMe, o = `${i}@${n || ""}:${r?.schemaUrl || ""}`;
|
|
57838
|
+
return this._sharedState.loggers.has(o) || this._sharedState.loggers.set(o, new nMe({ name: i, version: n, schemaUrl: r?.schemaUrl }, this._sharedState)), this._sharedState.loggers.get(o);
|
|
57831
57839
|
}
|
|
57832
57840
|
/**
|
|
57833
57841
|
* Notifies all registered LogRecordProcessor to flush any buffered data.
|
|
@@ -57850,7 +57858,7 @@ class uMe {
|
|
|
57850
57858
|
return this._sharedState.activeProcessor.shutdown();
|
|
57851
57859
|
}
|
|
57852
57860
|
}
|
|
57853
|
-
class
|
|
57861
|
+
class lMe {
|
|
57854
57862
|
/**
|
|
57855
57863
|
* Export logs.
|
|
57856
57864
|
* @param logs
|
|
@@ -57925,16 +57933,16 @@ class wM {
|
|
|
57925
57933
|
return this._exporter.shutdown();
|
|
57926
57934
|
}
|
|
57927
57935
|
}
|
|
57928
|
-
function
|
|
57936
|
+
function mDe(e, t = "MES-FE") {
|
|
57929
57937
|
const n = uW({
|
|
57930
57938
|
[ZF]: t
|
|
57931
|
-
}), r = new
|
|
57939
|
+
}), r = new J7e({
|
|
57932
57940
|
url: `${e}/v1/traces`
|
|
57933
57941
|
// URL del collector OpenTelemetry
|
|
57934
|
-
}), i = new
|
|
57942
|
+
}), i = new ZCe({
|
|
57935
57943
|
resource: n,
|
|
57936
57944
|
spanProcessors: [
|
|
57937
|
-
new eM(new
|
|
57945
|
+
new eM(new qCe()),
|
|
57938
57946
|
// Debug in console
|
|
57939
57947
|
new eM(r)
|
|
57940
57948
|
// Invio al collector
|
|
@@ -57942,21 +57950,21 @@ function vDe(e, t = "MES-FE") {
|
|
|
57942
57950
|
});
|
|
57943
57951
|
i.register({
|
|
57944
57952
|
// Changing default contextManager to use ZoneContextManager - supports asynchronous operations - optional
|
|
57945
|
-
contextManager: new
|
|
57953
|
+
contextManager: new Z8e()
|
|
57946
57954
|
}), i.register();
|
|
57947
|
-
const o = new
|
|
57955
|
+
const o = new XIe({
|
|
57948
57956
|
url: `${e}/v1/logs`
|
|
57949
57957
|
// URL del collector OpenTelemetry per i log});
|
|
57950
|
-
}), a = new
|
|
57958
|
+
}), a = new cMe({
|
|
57951
57959
|
resource: n,
|
|
57952
57960
|
processors: [
|
|
57953
|
-
new wM(new
|
|
57961
|
+
new wM(new lMe()),
|
|
57954
57962
|
new wM(o)
|
|
57955
57963
|
]
|
|
57956
57964
|
});
|
|
57957
|
-
LW.setGlobalLoggerProvider(a),
|
|
57965
|
+
LW.setGlobalLoggerProvider(a), s8e({
|
|
57958
57966
|
instrumentations: [
|
|
57959
|
-
new
|
|
57967
|
+
new Y8e()
|
|
57960
57968
|
// new XMLHttpRequestInstrumentation(),
|
|
57961
57969
|
// new DocumentLoadInstrumentation(),
|
|
57962
57970
|
// new UserInteractionInstrumentation(),
|
|
@@ -57994,7 +58002,7 @@ const _M = (e, t, n) => (Object.keys(n).forEach((r) => {
|
|
|
57994
58002
|
r
|
|
57995
58003
|
);
|
|
57996
58004
|
}
|
|
57997
|
-
}), t),
|
|
58005
|
+
}), t), yDe = (e, t, n) => !e || !Array.isArray(e) || e.length < 1 || !e[0][t] ? [] : e.reduce(
|
|
57998
58006
|
(r, i) => {
|
|
57999
58007
|
const o = r.findIndex(
|
|
58000
58008
|
(a) => a[t] === i[t]
|
|
@@ -58007,7 +58015,7 @@ const _M = (e, t, n) => (Object.keys(n).forEach((r) => {
|
|
|
58007
58015
|
return r;
|
|
58008
58016
|
},
|
|
58009
58017
|
[]
|
|
58010
|
-
),
|
|
58018
|
+
), bDe = (e, t = 50) => e ? e.length > t ? `${e.substring(0, t)}...` : e : "", Cv = () => LW.getLogger("MES-FE"), wDe = {
|
|
58011
58019
|
info(e, t) {
|
|
58012
58020
|
Cv().emit({
|
|
58013
58021
|
severityNumber: Ol.INFO,
|
|
@@ -58042,172 +58050,172 @@ const _M = (e, t, n) => (Object.keys(n).forEach((r) => {
|
|
|
58042
58050
|
}
|
|
58043
58051
|
};
|
|
58044
58052
|
export {
|
|
58045
|
-
|
|
58053
|
+
LRe as Accordion,
|
|
58046
58054
|
aTe as Alignment,
|
|
58047
58055
|
eJ as AppBar,
|
|
58048
|
-
|
|
58049
|
-
|
|
58050
|
-
|
|
58051
|
-
|
|
58056
|
+
tRe as AreaRangeChartComponent,
|
|
58057
|
+
HRe as AssignmentLayout,
|
|
58058
|
+
Oke as AuthProvider,
|
|
58059
|
+
Pke as AuthWrapper,
|
|
58052
58060
|
km as Autocomplete,
|
|
58053
|
-
|
|
58054
|
-
|
|
58055
|
-
|
|
58056
|
-
|
|
58057
|
-
|
|
58061
|
+
gRe as AutocompleteClient,
|
|
58062
|
+
Tke as BadgeScanner,
|
|
58063
|
+
nRe as BarChartComponent,
|
|
58064
|
+
WRe as Barcode,
|
|
58065
|
+
Cke as Blink,
|
|
58058
58066
|
BZ as BreadCrumb,
|
|
58059
|
-
|
|
58067
|
+
Ike as BreadCrumbProvider,
|
|
58060
58068
|
nJ as ButtonsGrid,
|
|
58061
58069
|
HZ as CLOSED_DRAWER_WIDTH,
|
|
58062
58070
|
oh as CaptionValue,
|
|
58063
58071
|
t0 as CaptionValueDirection,
|
|
58064
|
-
|
|
58072
|
+
Nke as Card,
|
|
58065
58073
|
tk as CardDirection,
|
|
58066
|
-
|
|
58074
|
+
vke as CenteredColumnFlexBox,
|
|
58067
58075
|
Kh as CenteredFlexBox,
|
|
58068
|
-
|
|
58069
|
-
|
|
58076
|
+
vRe as Checkbox,
|
|
58077
|
+
NRe as China,
|
|
58070
58078
|
po as ColumnFlexBox,
|
|
58071
|
-
|
|
58079
|
+
_ke as ConfigProvider,
|
|
58072
58080
|
oJ as ConfirmDialog,
|
|
58073
58081
|
zZ as CopyToClipboard,
|
|
58074
58082
|
N3e as CustomEventScatter,
|
|
58075
58083
|
DA as CustomToolTip,
|
|
58076
|
-
|
|
58084
|
+
cRe as DDRRItem,
|
|
58077
58085
|
hr as DataType,
|
|
58078
58086
|
eh as DatePicker,
|
|
58079
58087
|
sTe as Delete,
|
|
58080
58088
|
Oc as Dialog,
|
|
58081
|
-
|
|
58089
|
+
mke as DoubleColumnGridBox,
|
|
58082
58090
|
VZ as Drawer,
|
|
58083
|
-
|
|
58084
|
-
|
|
58091
|
+
ARe as ExternalSvg,
|
|
58092
|
+
DRe as FallbackTypography,
|
|
58085
58093
|
mPe as FilterSort,
|
|
58086
|
-
|
|
58094
|
+
wRe as FilteredList,
|
|
58087
58095
|
WZ as FlagButton,
|
|
58088
58096
|
yn as FlexBox,
|
|
58089
58097
|
MZ as FormPaper,
|
|
58090
|
-
|
|
58098
|
+
jRe as France,
|
|
58091
58099
|
jM as FullPageFlexBox,
|
|
58092
58100
|
yZ as FullPageWrapper,
|
|
58093
58101
|
sf as FullSizeCenteredColumn,
|
|
58094
58102
|
ih as FullSizeCenteredFlexBox,
|
|
58095
58103
|
Vu as FullSizeColumn,
|
|
58096
58104
|
go as FullSizeFlexBox,
|
|
58097
|
-
|
|
58098
|
-
|
|
58099
|
-
|
|
58100
|
-
|
|
58101
|
-
|
|
58102
|
-
|
|
58103
|
-
|
|
58104
|
-
|
|
58105
|
-
|
|
58106
|
-
|
|
58107
|
-
|
|
58108
|
-
|
|
58109
|
-
|
|
58105
|
+
RRe as FullSizeMessage,
|
|
58106
|
+
oRe as GaugeWithLabel,
|
|
58107
|
+
Rke as GlobalSwitch,
|
|
58108
|
+
sRe as Graph,
|
|
58109
|
+
aRe as GraphsFlexbox,
|
|
58110
|
+
hRe as Header,
|
|
58111
|
+
pRe as HotKeysSelector,
|
|
58112
|
+
CRe as IFrame,
|
|
58113
|
+
Lke as IconDetailCard,
|
|
58114
|
+
w4e as IdleContext,
|
|
58115
|
+
JRe as IdleProvider,
|
|
58116
|
+
A5e as InnerHeader,
|
|
58117
|
+
$Re as Italy,
|
|
58110
58118
|
Ao as KeyButton,
|
|
58111
58119
|
Iv as KeyboardStatus,
|
|
58112
58120
|
rJ as Keypad,
|
|
58113
|
-
|
|
58114
|
-
|
|
58121
|
+
yRe as LanguageSelector,
|
|
58122
|
+
Qke as LineChartComponent,
|
|
58115
58123
|
zd as ListItem,
|
|
58116
58124
|
EF as ListWrapper,
|
|
58117
58125
|
oS as LoadingComponent,
|
|
58118
|
-
|
|
58119
|
-
|
|
58120
|
-
|
|
58126
|
+
_Re as Looper,
|
|
58127
|
+
Dke as Main,
|
|
58128
|
+
kke as MenuButton,
|
|
58121
58129
|
FZ as MenuWrapper,
|
|
58122
58130
|
I3 as MobileContext,
|
|
58123
|
-
|
|
58124
|
-
|
|
58125
|
-
|
|
58126
|
-
|
|
58131
|
+
bRe as MobileProvider,
|
|
58132
|
+
mRe as MultipleSelect,
|
|
58133
|
+
kRe as Navbar,
|
|
58134
|
+
VRe as NotificationsProvider,
|
|
58127
58135
|
UZ as OPEN_DRAWER_WIDTH,
|
|
58128
58136
|
no as Operators,
|
|
58129
|
-
|
|
58137
|
+
xRe as PaginatedList,
|
|
58130
58138
|
PPe as PaginationFilters,
|
|
58131
58139
|
AZ as PaginationProvider,
|
|
58132
58140
|
UPe as PaginationSortings,
|
|
58133
|
-
|
|
58141
|
+
rRe as PieSingleChartComponent,
|
|
58134
58142
|
pl as Position,
|
|
58135
|
-
|
|
58136
|
-
|
|
58143
|
+
MRe as PressSvg,
|
|
58144
|
+
IRe as ProgressBar,
|
|
58137
58145
|
gI as RadDialog,
|
|
58138
58146
|
bTe as RadSection,
|
|
58139
58147
|
yTe as RadTable,
|
|
58140
58148
|
hF as Radio,
|
|
58141
|
-
|
|
58142
|
-
|
|
58149
|
+
KRe as RelayEnvironmentProvider,
|
|
58150
|
+
ERe as Resizable,
|
|
58143
58151
|
RZ as RoundedTabs,
|
|
58144
|
-
|
|
58145
|
-
|
|
58146
|
-
|
|
58147
|
-
|
|
58152
|
+
X6e as RouteTypes,
|
|
58153
|
+
SRe as RouteWrapper,
|
|
58154
|
+
ORe as Scanner,
|
|
58155
|
+
iRe as ScatterChartComponent,
|
|
58148
58156
|
bPe as SearchField,
|
|
58149
58157
|
Bh as Section,
|
|
58150
58158
|
cI as Select,
|
|
58151
|
-
|
|
58152
|
-
|
|
58153
|
-
|
|
58154
|
-
|
|
58159
|
+
Mke as Sidebar,
|
|
58160
|
+
PRe as SortableContent,
|
|
58161
|
+
TRe as SortableContentNew,
|
|
58162
|
+
BRe as Spain,
|
|
58155
58163
|
DZ as StandardTabs,
|
|
58156
|
-
|
|
58164
|
+
bke as StateProvider,
|
|
58157
58165
|
ek as TRANSITION_DURATION,
|
|
58158
58166
|
kZ as TabPanel,
|
|
58159
58167
|
cTe as Table,
|
|
58160
|
-
|
|
58168
|
+
O5e as TableHeader,
|
|
58161
58169
|
hI as TableRow,
|
|
58162
58170
|
uTe as TableToolbar,
|
|
58163
58171
|
LZ as Tabs,
|
|
58164
58172
|
QZ as TextField,
|
|
58165
58173
|
iJ as TextFieldWithKeyboard,
|
|
58166
|
-
|
|
58174
|
+
Ake as ThemeProvider,
|
|
58167
58175
|
Sd as Themes,
|
|
58168
|
-
|
|
58169
|
-
|
|
58176
|
+
uRe as TimelineChart,
|
|
58177
|
+
P5e as TitleRow,
|
|
58170
58178
|
qZ as ToggleSwitch,
|
|
58171
58179
|
bT as ToolButton,
|
|
58172
|
-
|
|
58173
|
-
|
|
58180
|
+
yke as TripleColumnGridBox,
|
|
58181
|
+
zRe as Tunisia,
|
|
58174
58182
|
Hs as Types,
|
|
58175
|
-
|
|
58176
|
-
|
|
58177
|
-
|
|
58178
|
-
|
|
58179
|
-
|
|
58180
|
-
|
|
58181
|
-
|
|
58182
|
-
|
|
58183
|
-
|
|
58183
|
+
FRe as Uk,
|
|
58184
|
+
QRe as addToDate,
|
|
58185
|
+
yDe as aggregate,
|
|
58186
|
+
qRe as artifactImportRewriteBuild,
|
|
58187
|
+
GRe as artifactsImportRewrite,
|
|
58188
|
+
nDe as autoGridSize,
|
|
58189
|
+
rDe as bitwiseCheck,
|
|
58190
|
+
_4e as calcTimeDifference,
|
|
58191
|
+
tDe as calcTimeSpent,
|
|
58184
58192
|
td as computeCursor,
|
|
58185
58193
|
yT as coreTheme,
|
|
58186
|
-
|
|
58187
|
-
|
|
58194
|
+
Y6e as createRelayEnvironment,
|
|
58195
|
+
iDe as extractEdges,
|
|
58188
58196
|
mI as formatDateTime,
|
|
58189
58197
|
APe as formatDateToYYYYMMDD,
|
|
58190
|
-
|
|
58198
|
+
x4e as formatDuration,
|
|
58191
58199
|
hTe as formatFormData,
|
|
58192
58200
|
Kz as formatNumber,
|
|
58193
58201
|
mTe as formatRecordsData,
|
|
58194
58202
|
Rm as getDateFormat,
|
|
58195
|
-
|
|
58196
|
-
|
|
58197
|
-
|
|
58198
|
-
|
|
58199
|
-
|
|
58203
|
+
YRe as getRoutes,
|
|
58204
|
+
lRe as handleDragEnd,
|
|
58205
|
+
fRe as handleResetDraggable,
|
|
58206
|
+
dRe as handleSnackbarClose,
|
|
58207
|
+
URe as initi18n,
|
|
58200
58208
|
zh as isValidDate,
|
|
58201
|
-
|
|
58202
|
-
|
|
58203
|
-
|
|
58204
|
-
|
|
58209
|
+
XRe as jotaiAdapter,
|
|
58210
|
+
wDe as logger,
|
|
58211
|
+
mDe as openTelemetry,
|
|
58212
|
+
ZRe as recoilAdapter,
|
|
58205
58213
|
_Pe as renderFilters,
|
|
58206
58214
|
lTe as renderFormFields,
|
|
58207
58215
|
_M as subscriptionUpdater,
|
|
58208
|
-
|
|
58216
|
+
eDe as subtractToDate,
|
|
58209
58217
|
$Z as themes,
|
|
58210
|
-
|
|
58218
|
+
bDe as truncateText,
|
|
58211
58219
|
aS as useArray,
|
|
58212
58220
|
QM as useAuthContext,
|
|
58213
58221
|
TZ as useBreadCrumbs,
|
|
@@ -58219,12 +58227,12 @@ export {
|
|
|
58219
58227
|
na as useGState,
|
|
58220
58228
|
IZ as useHotKeysDialog,
|
|
58221
58229
|
EZ as useIdleTimer,
|
|
58222
|
-
|
|
58230
|
+
wke as useInfiniteQuery,
|
|
58223
58231
|
ZM as useLanguageDialog,
|
|
58224
58232
|
Yh as useMediaQuery,
|
|
58225
|
-
|
|
58233
|
+
xke as useOrientation,
|
|
58226
58234
|
YM as usePagination,
|
|
58227
|
-
|
|
58235
|
+
Ske as useRfid,
|
|
58228
58236
|
PZ as useScanner,
|
|
58229
58237
|
uS as useScroll,
|
|
58230
58238
|
KM as useSettings,
|
|
@@ -58232,5 +58240,5 @@ export {
|
|
|
58232
58240
|
GM as useSorts,
|
|
58233
58241
|
ka as useTheme,
|
|
58234
58242
|
CZ as useVirtualKeyboard,
|
|
58235
|
-
|
|
58243
|
+
Eke as useVisibilityChange
|
|
58236
58244
|
};
|