@webitel/ui-sdk 26.8.68 → 26.8.69
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/clients-D5pO5FKV.js +39334 -0
- package/dist/{components-BoODKBgN.js → components-BH_gLkO3.js} +3 -3
- package/dist/{genClient-C_5VsLM9.js → genClient-DtYJ9KWy.js} +1 -1
- package/dist/ui-sdk.js +2 -2
- package/dist/ui-sdk.umd.cjs +657 -732
- package/dist/{wt-chat-emoji-DMSSNCSp.js → wt-chat-emoji-B-FoXVDr.js} +1 -1
- package/dist/{wt-display-chip-items-BaL81KbX.js → wt-display-chip-items-CZzcHtcb.js} +1 -1
- package/dist/{wt-send-message-popup-Cz3tLMAW.js → wt-send-message-popup-Cc92sY9q.js} +2 -2
- package/dist/wt-tree-CfvNlw7N.js +2042 -0
- package/dist/{wt-type-extension-value-input-D7eK5MwZ.js → wt-type-extension-value-input-DfbrgPNa.js} +2 -2
- package/dist/{wt-vidstack-player-CPk5Y-1M.js → wt-vidstack-player-DtbNeGgs.js} +1 -1
- package/package.json +1 -1
- package/src/api/clients/index.js +5 -66
- package/src/modules/AgentStatusSelect/api/agent-status.ts +44 -0
- package/src/modules/AgentStatusSelect/api/pause-cause.ts +54 -0
- package/src/modules/AgentStatusSelect/components/__tests__/wt-cc-agent-status-select.spec.js +4 -10
- package/src/modules/AgentStatusSelect/components/wt-cc-agent-status-select.vue +2 -6
- package/types/.tsbuildinfo +1 -1
- package/types/api/clients/index.d.ts +1 -33
- package/types/modules/AgentStatusSelect/api/agent-status.d.ts +4 -12
- package/types/modules/AgentStatusSelect/api/pause-cause.d.ts +7 -9
- package/dist/clients-CjmnMcur.js +0 -40042
- package/dist/side-channel-M3LABDql.js +0 -833
- package/dist/wt-tree-DKSphRxr.js +0 -1216
- package/src/api/clients/agents/agentChats.js +0 -79
- package/src/api/clients/agents/agents.js +0 -300
- package/src/api/clients/buckets/buckets.js +0 -134
- package/src/api/clients/calendars/calendars.js +0 -239
- package/src/api/clients/caseCloseReasonGroups/caseCloseReasonGroups.js +0 -161
- package/src/api/clients/caseCloseReasons/caseCloseReasons.js +0 -165
- package/src/api/clients/casePriorities/casePriorities.js +0 -166
- package/src/api/clients/caseServiceCatalogs/serviceCatalogs.js +0 -231
- package/src/api/clients/caseServices/services.js +0 -221
- package/src/api/clients/caseSources/caseSources.ts +0 -2
- package/src/api/clients/caseStatusConditions/caseStatusConditions.js +0 -207
- package/src/api/clients/caseStatuses/caseStatuses.js +0 -152
- package/src/api/clients/catalog/catalog.js +0 -63
- package/src/api/clients/chatGateways/chatGateways.js +0 -338
- package/src/api/clients/chatGateways/defaults/defaultChatGateway.js +0 -18
- package/src/api/clients/chatGateways/defaults/webChatGateway.js +0 -72
- package/src/api/clients/chatGateways/enums/WebchatAlternativeChannel.enum.js +0 -14
- package/src/api/clients/chatGateways/scripts/generateUri.js +0 -9
- package/src/api/clients/communications/communications.js +0 -172
- package/src/api/clients/configurations/configurations.js +0 -168
- package/src/api/clients/contactGroups/contactGroups.js +0 -221
- package/src/api/clients/flows/flow.js +0 -252
- package/src/api/clients/gateways/defaults/defaultGateway.js +0 -9
- package/src/api/clients/gateways/defaults/registerGateway.js +0 -12
- package/src/api/clients/gateways/defaults/trunkingGateway.js +0 -16
- package/src/api/clients/gateways/gateways.js +0 -221
- package/src/api/clients/labels/labels.js +0 -69
- package/src/api/clients/lists/blacklists.js +0 -142
- package/src/api/clients/media/media.js +0 -136
- package/src/api/clients/object/object.js +0 -138
- package/src/api/clients/queues/queues.js +0 -263
- package/src/api/clients/quickReplies/quickReplies.ts +0 -2
- package/src/api/clients/skills/skills.js +0 -134
- package/src/api/clients/slaConditions/slaConditions.js +0 -190
- package/src/api/clients/slas/slas.js +0 -148
- package/src/api/clients/teams/teams.js +0 -161
- package/src/api/clients/users/__tests__/users.spec.js +0 -282
- package/src/api/clients/users/users.js +0 -334
- package/src/api/clients/wtTypes/_shared/utils/sortDynamicFields.ts +0 -38
- package/src/api/clients/wtTypes/sysTypes/sysTypes.ts +0 -92
- package/src/api/clients/wtTypes/typeExtensions/typeExtensions.ts +0 -156
- package/src/api/clients//321/201ontacts/contactChatMessagesHistory.js +0 -119
- package/src/api/clients//321/201ontacts/contacts.js +0 -449
- package/src/api/clients//321/201ontacts/enums/ContactsSearchMode.js +0 -9
- package/src/api/clients//321/201ontacts/index.js +0 -5
- package/src/modules/AgentStatusSelect/api/agent-status.js +0 -30
- package/src/modules/AgentStatusSelect/api/pause-cause.js +0 -49
- package/types/api/clients/agents/agentChats.d.ts +0 -10
- package/types/api/clients/agents/agents.d.ts +0 -55
- package/types/api/clients/buckets/buckets.d.ts +0 -30
- package/types/api/clients/calendars/calendars.d.ts +0 -35
- package/types/api/clients/caseCloseReasonGroups/caseCloseReasonGroups.d.ts +0 -30
- package/types/api/clients/caseCloseReasons/caseCloseReasons.d.ts +0 -36
- package/types/api/clients/casePriorities/casePriorities.d.ts +0 -30
- package/types/api/clients/caseServiceCatalogs/serviceCatalogs.d.ts +0 -30
- package/types/api/clients/caseServices/services.d.ts +0 -42
- package/types/api/clients/caseSources/caseSources.d.ts +0 -1
- package/types/api/clients/caseStatusConditions/caseStatusConditions.d.ts +0 -43
- package/types/api/clients/caseStatuses/caseStatuses.d.ts +0 -30
- package/types/api/clients/catalog/catalog.d.ts +0 -13
- package/types/api/clients/chatGateways/chatGateways.d.ts +0 -35
- package/types/api/clients/chatGateways/defaults/defaultChatGateway.d.ts +0 -15
- package/types/api/clients/chatGateways/defaults/webChatGateway.d.ts +0 -64
- package/types/api/clients/chatGateways/enums/WebchatAlternativeChannel.enum.d.ts +0 -8
- package/types/api/clients/chatGateways/scripts/generateUri.d.ts +0 -2
- package/types/api/clients/communications/communications.d.ts +0 -35
- package/types/api/clients/configurations/configurations.d.ts +0 -35
- package/types/api/clients/contactGroups/contactGroups.d.ts +0 -47
- package/types/api/clients/flows/flow.d.ts +0 -35
- package/types/api/clients/gateways/defaults/defaultGateway.d.ts +0 -8
- package/types/api/clients/gateways/defaults/registerGateway.d.ts +0 -13
- package/types/api/clients/gateways/defaults/trunkingGateway.d.ts +0 -11
- package/types/api/clients/gateways/gateways.d.ts +0 -35
- package/types/api/clients/labels/labels.d.ts +0 -13
- package/types/api/clients/lists/blacklists.d.ts +0 -30
- package/types/api/clients/media/media.d.ts +0 -24
- package/types/api/clients/object/object.d.ts +0 -13
- package/types/api/clients/queues/queues.d.ts +0 -40
- package/types/api/clients/quickReplies/quickReplies.d.ts +0 -1
- package/types/api/clients/skills/skills.d.ts +0 -30
- package/types/api/clients/slaConditions/slaConditions.d.ts +0 -36
- package/types/api/clients/slas/slas.d.ts +0 -30
- package/types/api/clients/teams/teams.d.ts +0 -30
- package/types/api/clients/users/__tests__/users.spec.d.ts +0 -1
- package/types/api/clients/users/users.d.ts +0 -46
- package/types/api/clients/wtTypes/_shared/utils/sortDynamicFields.d.ts +0 -2
- package/types/api/clients/wtTypes/sysTypes/sysTypes.d.ts +0 -29
- package/types/api/clients/wtTypes/typeExtensions/typeExtensions.d.ts +0 -33
- package/types/api/clients//321/201ontacts/contactChatMessagesHistory.d.ts +0 -16
- package/types/api/clients//321/201ontacts/contacts.d.ts +0 -29
- package/types/api/clients//321/201ontacts/enums/ContactsSearchMode.d.ts +0 -8
- package/types/api/clients//321/201ontacts/index.d.ts +0 -4
|
@@ -1,833 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-to5KK-CW.js";
|
|
2
|
-
import { n as t, t as n } from "./dist-C_fngTiN.js";
|
|
3
|
-
//#region node_modules/es-errors/type.js
|
|
4
|
-
var r = /* @__PURE__ */ e(((e, t) => {
|
|
5
|
-
t.exports = TypeError;
|
|
6
|
-
})), i = /* @__PURE__ */ e(((e, t) => {
|
|
7
|
-
t.exports = {};
|
|
8
|
-
})), a = /* @__PURE__ */ e(((e, r) => {
|
|
9
|
-
t();
|
|
10
|
-
var a = typeof Map == "function" && Map.prototype, o = Object.getOwnPropertyDescriptor && a ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, s = a && o && typeof o.get == "function" ? o.get : null, c = a && Map.prototype.forEach, l = typeof Set == "function" && Set.prototype, u = Object.getOwnPropertyDescriptor && l ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, d = l && u && typeof u.get == "function" ? u.get : null, f = l && Set.prototype.forEach, p = typeof WeakMap == "function" && WeakMap.prototype ? WeakMap.prototype.has : null, m = typeof WeakSet == "function" && WeakSet.prototype ? WeakSet.prototype.has : null, h = typeof WeakRef == "function" && WeakRef.prototype ? WeakRef.prototype.deref : null, ee = Boolean.prototype.valueOf, g = Object.prototype.toString, _ = Function.prototype.toString, te = String.prototype.match, v = String.prototype.slice, y = String.prototype.replace, b = String.prototype.toUpperCase, x = String.prototype.toLowerCase, S = RegExp.prototype.test, C = Array.prototype.concat, w = Array.prototype.join, ne = Array.prototype.slice, T = Math.floor, E = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, D = Object.getOwnPropertySymbols, O = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, k = typeof Symbol == "function" && typeof Symbol.iterator == "object", A = typeof Symbol == "function" && Symbol.toStringTag ? Symbol.toStringTag : null, j = Object.prototype.propertyIsEnumerable, M = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(e) {
|
|
11
|
-
return e.__proto__;
|
|
12
|
-
} : null);
|
|
13
|
-
function N(e, t) {
|
|
14
|
-
if (e === Infinity || e === -Infinity || e !== e || e && e > -1e3 && e < 1e3 || S.call(/e/, t)) return t;
|
|
15
|
-
var n = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
16
|
-
if (typeof e == "number") {
|
|
17
|
-
var r = e < 0 ? -T(-e) : T(e);
|
|
18
|
-
if (r !== e) {
|
|
19
|
-
var i = String(r), a = v.call(t, i.length + 1);
|
|
20
|
-
return y.call(i, n, "$&_") + "." + y.call(y.call(a, /([0-9]{3})/g, "$&_"), /_$/, "");
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
return y.call(t, n, "$&_");
|
|
24
|
-
}
|
|
25
|
-
var P = i(), F = P.custom, I = oe(F) ? F : null, L = {
|
|
26
|
-
__proto__: null,
|
|
27
|
-
double: "\"",
|
|
28
|
-
single: "'"
|
|
29
|
-
}, R = {
|
|
30
|
-
__proto__: null,
|
|
31
|
-
double: /(["\\])/g,
|
|
32
|
-
single: /(['\\])/g
|
|
33
|
-
};
|
|
34
|
-
r.exports = function e(t, r, i, a) {
|
|
35
|
-
var o = r || {};
|
|
36
|
-
if (q(o, "quoteStyle") && !q(L, o.quoteStyle)) throw TypeError("option \"quoteStyle\" must be \"single\" or \"double\"");
|
|
37
|
-
if (q(o, "maxStringLength") && (typeof o.maxStringLength == "number" ? o.maxStringLength < 0 && o.maxStringLength !== Infinity : o.maxStringLength !== null)) throw TypeError("option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`");
|
|
38
|
-
var l = q(o, "customInspect") ? o.customInspect : !0;
|
|
39
|
-
if (typeof l != "boolean" && l !== "symbol") throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
|
|
40
|
-
if (q(o, "indent") && o.indent !== null && o.indent !== " " && !(parseInt(o.indent, 10) === o.indent && o.indent > 0)) throw TypeError("option \"indent\" must be \"\\t\", an integer > 0, or `null`");
|
|
41
|
-
if (q(o, "numericSeparator") && typeof o.numericSeparator != "boolean") throw TypeError("option \"numericSeparator\", if provided, must be `true` or `false`");
|
|
42
|
-
var u = o.numericSeparator;
|
|
43
|
-
if (t === void 0) return "undefined";
|
|
44
|
-
if (t === null) return "null";
|
|
45
|
-
if (typeof t == "boolean") return t ? "true" : "false";
|
|
46
|
-
if (typeof t == "string") return Q(t, o);
|
|
47
|
-
if (typeof t == "number") {
|
|
48
|
-
if (t === 0) return Infinity / t > 0 ? "0" : "-0";
|
|
49
|
-
var p = String(t);
|
|
50
|
-
return u ? N(t, p) : p;
|
|
51
|
-
}
|
|
52
|
-
if (typeof t == "bigint") {
|
|
53
|
-
var m = String(t) + "n";
|
|
54
|
-
return u ? N(t, m) : m;
|
|
55
|
-
}
|
|
56
|
-
var h = o.depth === void 0 ? 5 : o.depth;
|
|
57
|
-
if (i === void 0 && (i = 0), i >= h && h > 0 && typeof t == "object") return H(t) ? "[Array]" : "[Object]";
|
|
58
|
-
var g = _e(o, i);
|
|
59
|
-
if (a === void 0) a = [];
|
|
60
|
-
else if (ce(a, t) >= 0) return "[Circular]";
|
|
61
|
-
function _(t, n, r) {
|
|
62
|
-
if (n && (a = ne.call(a), a.push(n)), r) {
|
|
63
|
-
var s = { depth: o.depth };
|
|
64
|
-
return q(o, "quoteStyle") && (s.quoteStyle = o.quoteStyle), e(t, s, i + 1, a);
|
|
65
|
-
}
|
|
66
|
-
return e(t, o, i + 1, a);
|
|
67
|
-
}
|
|
68
|
-
if (typeof t == "function" && !U(t)) {
|
|
69
|
-
var te = Y(t), b = ye(t, _);
|
|
70
|
-
return "[Function" + (te ? ": " + te : " (anonymous)") + "]" + (b.length > 0 ? " { " + w.call(b, ", ") + " }" : "");
|
|
71
|
-
}
|
|
72
|
-
if (oe(t)) {
|
|
73
|
-
var S = k ? y.call(String(t), /^(Symbol\(.*\))_[^)]*$/, "$1") : O.call(t);
|
|
74
|
-
return typeof t == "object" && !k ? $(S) : S;
|
|
75
|
-
}
|
|
76
|
-
if (fe(t)) {
|
|
77
|
-
for (var T = "<" + x.call(String(t.nodeName)), D = t.attributes || [], F = 0; F < D.length; F++) T += " " + D[F].name + "=" + z(B(D[F].value), "double", o);
|
|
78
|
-
return T += ">", t.childNodes && t.childNodes.length && (T += "..."), T += "</" + x.call(String(t.nodeName)) + ">", T;
|
|
79
|
-
}
|
|
80
|
-
if (H(t)) {
|
|
81
|
-
if (t.length === 0) return "[]";
|
|
82
|
-
var R = ye(t, _);
|
|
83
|
-
return g && !ge(R) ? "[" + ve(R, g) + "]" : "[ " + w.call(R, ", ") + " ]";
|
|
84
|
-
}
|
|
85
|
-
if (ie(t)) {
|
|
86
|
-
var V = ye(t, _);
|
|
87
|
-
return !("cause" in Error.prototype) && "cause" in t && !j.call(t, "cause") ? "{ [" + String(t) + "] " + w.call(C.call("[cause]: " + _(t.cause), V), ", ") + " }" : V.length === 0 ? "[" + String(t) + "]" : "{ [" + String(t) + "] " + w.call(V, ", ") + " }";
|
|
88
|
-
}
|
|
89
|
-
if (typeof t == "object" && l) {
|
|
90
|
-
if (I && typeof t[I] == "function" && P) return P(t, { depth: h - i });
|
|
91
|
-
if (l !== "symbol" && typeof t.inspect == "function") return t.inspect();
|
|
92
|
-
}
|
|
93
|
-
if (le(t)) {
|
|
94
|
-
var K = [];
|
|
95
|
-
return c && c.call(t, function(e, n) {
|
|
96
|
-
K.push(_(n, t, !0) + " => " + _(e, t));
|
|
97
|
-
}), he("Map", s.call(t), K, g);
|
|
98
|
-
}
|
|
99
|
-
if (ue(t)) {
|
|
100
|
-
var pe = [];
|
|
101
|
-
return f && f.call(t, function(e) {
|
|
102
|
-
pe.push(_(e, t));
|
|
103
|
-
}), he("Set", d.call(t), pe, g);
|
|
104
|
-
}
|
|
105
|
-
if (X(t)) return me("WeakMap");
|
|
106
|
-
if (de(t)) return me("WeakSet");
|
|
107
|
-
if (Z(t)) return me("WeakRef");
|
|
108
|
-
if (G(t)) return $(_(Number(t)));
|
|
109
|
-
if (se(t)) return $(_(E.call(t)));
|
|
110
|
-
if (ae(t)) return $(ee.call(t));
|
|
111
|
-
if (W(t)) return $(_(String(t)));
|
|
112
|
-
if (typeof window < "u" && t === window) return "{ [object Window] }";
|
|
113
|
-
if (typeof globalThis < "u" && t === globalThis || n !== void 0 && t === n) return "{ [object globalThis] }";
|
|
114
|
-
if (!re(t) && !U(t)) {
|
|
115
|
-
var be = ye(t, _), xe = M ? M(t) === Object.prototype : t instanceof Object || t.constructor === Object, Se = t instanceof Object ? "" : "null prototype", Ce = !xe && A && Object(t) === t && A in t ? v.call(J(t), 8, -1) : Se ? "Object" : "", we = (xe || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "") + (Ce || Se ? "[" + w.call(C.call([], Ce || [], Se || []), ": ") + "] " : "");
|
|
116
|
-
return be.length === 0 ? we + "{}" : g ? we + "{" + ve(be, g) + "}" : we + "{ " + w.call(be, ", ") + " }";
|
|
117
|
-
}
|
|
118
|
-
return String(t);
|
|
119
|
-
};
|
|
120
|
-
function z(e, t, n) {
|
|
121
|
-
var r = L[n.quoteStyle || t];
|
|
122
|
-
return r + e + r;
|
|
123
|
-
}
|
|
124
|
-
function B(e) {
|
|
125
|
-
return y.call(String(e), /"/g, """);
|
|
126
|
-
}
|
|
127
|
-
function V(e) {
|
|
128
|
-
return !A || !(typeof e == "object" && (A in e || e[A] !== void 0));
|
|
129
|
-
}
|
|
130
|
-
function H(e) {
|
|
131
|
-
return J(e) === "[object Array]" && V(e);
|
|
132
|
-
}
|
|
133
|
-
function re(e) {
|
|
134
|
-
return J(e) === "[object Date]" && V(e);
|
|
135
|
-
}
|
|
136
|
-
function U(e) {
|
|
137
|
-
return J(e) === "[object RegExp]" && V(e);
|
|
138
|
-
}
|
|
139
|
-
function ie(e) {
|
|
140
|
-
return J(e) === "[object Error]" && V(e);
|
|
141
|
-
}
|
|
142
|
-
function W(e) {
|
|
143
|
-
return J(e) === "[object String]" && V(e);
|
|
144
|
-
}
|
|
145
|
-
function G(e) {
|
|
146
|
-
return J(e) === "[object Number]" && V(e);
|
|
147
|
-
}
|
|
148
|
-
function ae(e) {
|
|
149
|
-
return J(e) === "[object Boolean]" && V(e);
|
|
150
|
-
}
|
|
151
|
-
function oe(e) {
|
|
152
|
-
if (k) return e && typeof e == "object" && e instanceof Symbol;
|
|
153
|
-
if (typeof e == "symbol") return !0;
|
|
154
|
-
if (!e || typeof e != "object" || !O) return !1;
|
|
155
|
-
try {
|
|
156
|
-
return O.call(e), !0;
|
|
157
|
-
} catch {}
|
|
158
|
-
return !1;
|
|
159
|
-
}
|
|
160
|
-
function se(e) {
|
|
161
|
-
if (!e || typeof e != "object" || !E) return !1;
|
|
162
|
-
try {
|
|
163
|
-
return E.call(e), !0;
|
|
164
|
-
} catch {}
|
|
165
|
-
return !1;
|
|
166
|
-
}
|
|
167
|
-
var K = Object.prototype.hasOwnProperty || function(e) {
|
|
168
|
-
return e in this;
|
|
169
|
-
};
|
|
170
|
-
function q(e, t) {
|
|
171
|
-
return K.call(e, t);
|
|
172
|
-
}
|
|
173
|
-
function J(e) {
|
|
174
|
-
return g.call(e);
|
|
175
|
-
}
|
|
176
|
-
function Y(e) {
|
|
177
|
-
if (e.name) return e.name;
|
|
178
|
-
var t = te.call(_.call(e), /^function\s*([\w$]+)/);
|
|
179
|
-
return t ? t[1] : null;
|
|
180
|
-
}
|
|
181
|
-
function ce(e, t) {
|
|
182
|
-
if (e.indexOf) return e.indexOf(t);
|
|
183
|
-
for (var n = 0, r = e.length; n < r; n++) if (e[n] === t) return n;
|
|
184
|
-
return -1;
|
|
185
|
-
}
|
|
186
|
-
function le(e) {
|
|
187
|
-
if (!s || !e || typeof e != "object") return !1;
|
|
188
|
-
try {
|
|
189
|
-
s.call(e);
|
|
190
|
-
try {
|
|
191
|
-
d.call(e);
|
|
192
|
-
} catch {
|
|
193
|
-
return !0;
|
|
194
|
-
}
|
|
195
|
-
return e instanceof Map;
|
|
196
|
-
} catch {}
|
|
197
|
-
return !1;
|
|
198
|
-
}
|
|
199
|
-
function X(e) {
|
|
200
|
-
if (!p || !e || typeof e != "object") return !1;
|
|
201
|
-
try {
|
|
202
|
-
p.call(e, p);
|
|
203
|
-
try {
|
|
204
|
-
m.call(e, m);
|
|
205
|
-
} catch {
|
|
206
|
-
return !0;
|
|
207
|
-
}
|
|
208
|
-
return e instanceof WeakMap;
|
|
209
|
-
} catch {}
|
|
210
|
-
return !1;
|
|
211
|
-
}
|
|
212
|
-
function Z(e) {
|
|
213
|
-
if (!h || !e || typeof e != "object") return !1;
|
|
214
|
-
try {
|
|
215
|
-
return h.call(e), !0;
|
|
216
|
-
} catch {}
|
|
217
|
-
return !1;
|
|
218
|
-
}
|
|
219
|
-
function ue(e) {
|
|
220
|
-
if (!d || !e || typeof e != "object") return !1;
|
|
221
|
-
try {
|
|
222
|
-
d.call(e);
|
|
223
|
-
try {
|
|
224
|
-
s.call(e);
|
|
225
|
-
} catch {
|
|
226
|
-
return !0;
|
|
227
|
-
}
|
|
228
|
-
return e instanceof Set;
|
|
229
|
-
} catch {}
|
|
230
|
-
return !1;
|
|
231
|
-
}
|
|
232
|
-
function de(e) {
|
|
233
|
-
if (!m || !e || typeof e != "object") return !1;
|
|
234
|
-
try {
|
|
235
|
-
m.call(e, m);
|
|
236
|
-
try {
|
|
237
|
-
p.call(e, p);
|
|
238
|
-
} catch {
|
|
239
|
-
return !0;
|
|
240
|
-
}
|
|
241
|
-
return e instanceof WeakSet;
|
|
242
|
-
} catch {}
|
|
243
|
-
return !1;
|
|
244
|
-
}
|
|
245
|
-
function fe(e) {
|
|
246
|
-
return !e || typeof e != "object" ? !1 : typeof HTMLElement < "u" && e instanceof HTMLElement ? !0 : typeof e.nodeName == "string" && typeof e.getAttribute == "function";
|
|
247
|
-
}
|
|
248
|
-
function Q(e, t) {
|
|
249
|
-
if (e.length > t.maxStringLength) {
|
|
250
|
-
var n = e.length - t.maxStringLength, r = "... " + n + " more character" + (n > 1 ? "s" : "");
|
|
251
|
-
return Q(v.call(e, 0, t.maxStringLength), t) + r;
|
|
252
|
-
}
|
|
253
|
-
var i = R[t.quoteStyle || "single"];
|
|
254
|
-
return i.lastIndex = 0, z(y.call(y.call(e, i, "\\$1"), /[\x00-\x1f]/g, pe), "single", t);
|
|
255
|
-
}
|
|
256
|
-
function pe(e) {
|
|
257
|
-
var t = e.charCodeAt(0), n = {
|
|
258
|
-
8: "b",
|
|
259
|
-
9: "t",
|
|
260
|
-
10: "n",
|
|
261
|
-
12: "f",
|
|
262
|
-
13: "r"
|
|
263
|
-
}[t];
|
|
264
|
-
return n ? "\\" + n : "\\x" + (t < 16 ? "0" : "") + b.call(t.toString(16));
|
|
265
|
-
}
|
|
266
|
-
function $(e) {
|
|
267
|
-
return "Object(" + e + ")";
|
|
268
|
-
}
|
|
269
|
-
function me(e) {
|
|
270
|
-
return e + " { ? }";
|
|
271
|
-
}
|
|
272
|
-
function he(e, t, n, r) {
|
|
273
|
-
var i = r ? ve(n, r) : w.call(n, ", ");
|
|
274
|
-
return e + " (" + t + ") {" + i + "}";
|
|
275
|
-
}
|
|
276
|
-
function ge(e) {
|
|
277
|
-
for (var t = 0; t < e.length; t++) if (ce(e[t], "\n") >= 0) return !1;
|
|
278
|
-
return !0;
|
|
279
|
-
}
|
|
280
|
-
function _e(e, t) {
|
|
281
|
-
var n;
|
|
282
|
-
if (e.indent === " ") n = " ";
|
|
283
|
-
else if (typeof e.indent == "number" && e.indent > 0) n = w.call(Array(e.indent + 1), " ");
|
|
284
|
-
else return null;
|
|
285
|
-
return {
|
|
286
|
-
base: n,
|
|
287
|
-
prev: w.call(Array(t + 1), n)
|
|
288
|
-
};
|
|
289
|
-
}
|
|
290
|
-
function ve(e, t) {
|
|
291
|
-
if (e.length === 0) return "";
|
|
292
|
-
var n = "\n" + t.prev + t.base;
|
|
293
|
-
return n + w.call(e, "," + n) + "\n" + t.prev;
|
|
294
|
-
}
|
|
295
|
-
function ye(e, t) {
|
|
296
|
-
var n = H(e), r = [];
|
|
297
|
-
if (n) {
|
|
298
|
-
r.length = e.length;
|
|
299
|
-
for (var i = 0; i < e.length; i++) r[i] = q(e, i) ? t(e[i], e) : "";
|
|
300
|
-
}
|
|
301
|
-
var a = typeof D == "function" ? D(e) : [], o;
|
|
302
|
-
if (k) {
|
|
303
|
-
o = {};
|
|
304
|
-
for (var s = 0; s < a.length; s++) o["$" + a[s]] = a[s];
|
|
305
|
-
}
|
|
306
|
-
for (var c in e) q(e, c) && (n && String(Number(c)) === c && c < e.length || k && o["$" + c] instanceof Symbol || (S.call(/[^\w$]/, c) ? r.push(t(c, e) + ": " + t(e[c], e)) : r.push(c + ": " + t(e[c], e))));
|
|
307
|
-
if (typeof D == "function") for (var l = 0; l < a.length; l++) j.call(e, a[l]) && r.push("[" + t(a[l]) + "]: " + t(e[a[l]], e));
|
|
308
|
-
return r;
|
|
309
|
-
}
|
|
310
|
-
})), o = /* @__PURE__ */ e(((e, t) => {
|
|
311
|
-
var n = a(), i = r(), o = function(e, t, n) {
|
|
312
|
-
for (var r = e, i; (i = r.next) != null; r = i) if (i.key === t) return r.next = i.next, n || (i.next = e.next, e.next = i), i;
|
|
313
|
-
}, s = function(e, t) {
|
|
314
|
-
if (e) {
|
|
315
|
-
var n = o(e, t);
|
|
316
|
-
return n && n.value;
|
|
317
|
-
}
|
|
318
|
-
}, c = function(e, t, n) {
|
|
319
|
-
var r = o(e, t);
|
|
320
|
-
r ? r.value = n : e.next = {
|
|
321
|
-
key: t,
|
|
322
|
-
next: e.next,
|
|
323
|
-
value: n
|
|
324
|
-
};
|
|
325
|
-
}, l = function(e, t) {
|
|
326
|
-
return e ? !!o(e, t) : !1;
|
|
327
|
-
}, u = function(e, t) {
|
|
328
|
-
if (e) return o(e, t, !0);
|
|
329
|
-
};
|
|
330
|
-
t.exports = function() {
|
|
331
|
-
var e, t = {
|
|
332
|
-
assert: function(e) {
|
|
333
|
-
if (!t.has(e)) throw new i("Side channel does not contain " + n(e));
|
|
334
|
-
},
|
|
335
|
-
delete: function(t) {
|
|
336
|
-
var n = u(e, t);
|
|
337
|
-
return n && e && !e.next && (e = void 0), !!n;
|
|
338
|
-
},
|
|
339
|
-
get: function(t) {
|
|
340
|
-
return s(e, t);
|
|
341
|
-
},
|
|
342
|
-
has: function(t) {
|
|
343
|
-
return l(e, t);
|
|
344
|
-
},
|
|
345
|
-
set: function(t, n) {
|
|
346
|
-
e ||= { next: void 0 }, c(e, t, n);
|
|
347
|
-
}
|
|
348
|
-
};
|
|
349
|
-
return t;
|
|
350
|
-
};
|
|
351
|
-
})), s = /* @__PURE__ */ e(((e, t) => {
|
|
352
|
-
t.exports = Object;
|
|
353
|
-
})), c = /* @__PURE__ */ e(((e, t) => {
|
|
354
|
-
t.exports = Error;
|
|
355
|
-
})), l = /* @__PURE__ */ e(((e, t) => {
|
|
356
|
-
t.exports = EvalError;
|
|
357
|
-
})), u = /* @__PURE__ */ e(((e, t) => {
|
|
358
|
-
t.exports = RangeError;
|
|
359
|
-
})), d = /* @__PURE__ */ e(((e, t) => {
|
|
360
|
-
t.exports = ReferenceError;
|
|
361
|
-
})), f = /* @__PURE__ */ e(((e, t) => {
|
|
362
|
-
t.exports = SyntaxError;
|
|
363
|
-
})), p = /* @__PURE__ */ e(((e, t) => {
|
|
364
|
-
t.exports = URIError;
|
|
365
|
-
})), m = /* @__PURE__ */ e(((e, t) => {
|
|
366
|
-
t.exports = Math.abs;
|
|
367
|
-
})), h = /* @__PURE__ */ e(((e, t) => {
|
|
368
|
-
t.exports = Math.floor;
|
|
369
|
-
})), ee = /* @__PURE__ */ e(((e, t) => {
|
|
370
|
-
t.exports = Math.max;
|
|
371
|
-
})), g = /* @__PURE__ */ e(((e, t) => {
|
|
372
|
-
t.exports = Math.min;
|
|
373
|
-
})), _ = /* @__PURE__ */ e(((e, t) => {
|
|
374
|
-
t.exports = Math.pow;
|
|
375
|
-
})), te = /* @__PURE__ */ e(((e, t) => {
|
|
376
|
-
t.exports = Math.round;
|
|
377
|
-
})), v = /* @__PURE__ */ e(((e, t) => {
|
|
378
|
-
t.exports = Number.isNaN || function(e) {
|
|
379
|
-
return e !== e;
|
|
380
|
-
};
|
|
381
|
-
})), y = /* @__PURE__ */ e(((e, t) => {
|
|
382
|
-
var n = v();
|
|
383
|
-
t.exports = function(e) {
|
|
384
|
-
return n(e) || e === 0 ? e : e < 0 ? -1 : 1;
|
|
385
|
-
};
|
|
386
|
-
})), b = /* @__PURE__ */ e(((e, t) => {
|
|
387
|
-
t.exports = Object.getOwnPropertyDescriptor;
|
|
388
|
-
})), x = /* @__PURE__ */ e(((e, t) => {
|
|
389
|
-
var n = b();
|
|
390
|
-
if (n) try {
|
|
391
|
-
n([], "length");
|
|
392
|
-
} catch {
|
|
393
|
-
n = null;
|
|
394
|
-
}
|
|
395
|
-
t.exports = n;
|
|
396
|
-
})), S = /* @__PURE__ */ e(((e, t) => {
|
|
397
|
-
var n = Object.defineProperty || !1;
|
|
398
|
-
if (n) try {
|
|
399
|
-
n({}, "a", { value: 1 });
|
|
400
|
-
} catch {
|
|
401
|
-
n = !1;
|
|
402
|
-
}
|
|
403
|
-
t.exports = n;
|
|
404
|
-
})), C = /* @__PURE__ */ e(((e, t) => {
|
|
405
|
-
t.exports = function() {
|
|
406
|
-
if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") return !1;
|
|
407
|
-
if (typeof Symbol.iterator == "symbol") return !0;
|
|
408
|
-
var e = {}, t = Symbol("test"), n = Object(t);
|
|
409
|
-
if (typeof t == "string" || Object.prototype.toString.call(t) !== "[object Symbol]" || Object.prototype.toString.call(n) !== "[object Symbol]") return !1;
|
|
410
|
-
var r = 42;
|
|
411
|
-
for (var i in e[t] = r, e) return !1;
|
|
412
|
-
if (typeof Object.keys == "function" && Object.keys(e).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(e).length !== 0) return !1;
|
|
413
|
-
var a = Object.getOwnPropertySymbols(e);
|
|
414
|
-
if (a.length !== 1 || a[0] !== t || !Object.prototype.propertyIsEnumerable.call(e, t)) return !1;
|
|
415
|
-
if (typeof Object.getOwnPropertyDescriptor == "function") {
|
|
416
|
-
var o = Object.getOwnPropertyDescriptor(e, t);
|
|
417
|
-
if (o.value !== r || o.enumerable !== !0) return !1;
|
|
418
|
-
}
|
|
419
|
-
return !0;
|
|
420
|
-
};
|
|
421
|
-
})), w = /* @__PURE__ */ e(((e, t) => {
|
|
422
|
-
var n = typeof Symbol < "u" && Symbol, r = C();
|
|
423
|
-
t.exports = function() {
|
|
424
|
-
return typeof n != "function" || typeof Symbol != "function" || typeof n("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : r();
|
|
425
|
-
};
|
|
426
|
-
})), ne = /* @__PURE__ */ e(((e, t) => {
|
|
427
|
-
t.exports = typeof Reflect < "u" && Reflect.getPrototypeOf || null;
|
|
428
|
-
})), T = /* @__PURE__ */ e(((e, t) => {
|
|
429
|
-
t.exports = s().getPrototypeOf || null;
|
|
430
|
-
})), E = /* @__PURE__ */ e(((e, t) => {
|
|
431
|
-
var n = Object.prototype.toString, r = Math.max, i = "[object Function]", a = function(e, t) {
|
|
432
|
-
for (var n = [], r = 0; r < e.length; r += 1) n[r] = e[r];
|
|
433
|
-
for (var i = 0; i < t.length; i += 1) n[i + e.length] = t[i];
|
|
434
|
-
return n;
|
|
435
|
-
}, o = function(e, t) {
|
|
436
|
-
for (var n = [], r = t || 0, i = 0; r < e.length; r += 1, i += 1) n[i] = e[r];
|
|
437
|
-
return n;
|
|
438
|
-
}, s = function(e, t) {
|
|
439
|
-
for (var n = "", r = 0; r < e.length; r += 1) n += e[r], r + 1 < e.length && (n += t);
|
|
440
|
-
return n;
|
|
441
|
-
};
|
|
442
|
-
t.exports = function(e) {
|
|
443
|
-
var t = this;
|
|
444
|
-
if (typeof t != "function" || n.apply(t) !== i) throw TypeError("Function.prototype.bind called on incompatible " + t);
|
|
445
|
-
for (var c = o(arguments, 1), l, u = function() {
|
|
446
|
-
if (this instanceof l) {
|
|
447
|
-
var n = t.apply(this, a(c, arguments));
|
|
448
|
-
return Object(n) === n ? n : this;
|
|
449
|
-
}
|
|
450
|
-
return t.apply(e, a(c, arguments));
|
|
451
|
-
}, d = r(0, t.length - c.length), f = [], p = 0; p < d; p++) f[p] = "$" + p;
|
|
452
|
-
if (l = Function("binder", "return function (" + s(f, ",") + "){ return binder.apply(this,arguments); }")(u), t.prototype) {
|
|
453
|
-
var m = function() {};
|
|
454
|
-
m.prototype = t.prototype, l.prototype = new m(), m.prototype = null;
|
|
455
|
-
}
|
|
456
|
-
return l;
|
|
457
|
-
};
|
|
458
|
-
})), D = /* @__PURE__ */ e(((e, t) => {
|
|
459
|
-
var n = E();
|
|
460
|
-
t.exports = Function.prototype.bind || n;
|
|
461
|
-
})), O = /* @__PURE__ */ e(((e, t) => {
|
|
462
|
-
t.exports = Function.prototype.call;
|
|
463
|
-
})), k = /* @__PURE__ */ e(((e, t) => {
|
|
464
|
-
t.exports = Function.prototype.apply;
|
|
465
|
-
})), A = /* @__PURE__ */ e(((e, t) => {
|
|
466
|
-
t.exports = typeof Reflect < "u" && Reflect && Reflect.apply;
|
|
467
|
-
})), j = /* @__PURE__ */ e(((e, t) => {
|
|
468
|
-
var n = D(), r = k(), i = O();
|
|
469
|
-
t.exports = A() || n.call(i, r);
|
|
470
|
-
})), M = /* @__PURE__ */ e(((e, t) => {
|
|
471
|
-
var n = D(), i = r(), a = O(), o = j();
|
|
472
|
-
t.exports = function(e) {
|
|
473
|
-
if (e.length < 1 || typeof e[0] != "function") throw new i("a function is required");
|
|
474
|
-
return o(n, a, e);
|
|
475
|
-
};
|
|
476
|
-
})), N = /* @__PURE__ */ e(((e, t) => {
|
|
477
|
-
var n = M(), r = x(), i;
|
|
478
|
-
try {
|
|
479
|
-
i = [].__proto__ === Array.prototype;
|
|
480
|
-
} catch (e) {
|
|
481
|
-
if (!e || typeof e != "object" || !("code" in e) || e.code !== "ERR_PROTO_ACCESS") throw e;
|
|
482
|
-
}
|
|
483
|
-
var a = !!i && r && r(Object.prototype, "__proto__"), o = Object, s = o.getPrototypeOf;
|
|
484
|
-
t.exports = a && typeof a.get == "function" ? n([a.get]) : typeof s == "function" ? function(e) {
|
|
485
|
-
return s(e == null ? e : o(e));
|
|
486
|
-
} : !1;
|
|
487
|
-
})), P = /* @__PURE__ */ e(((e, t) => {
|
|
488
|
-
var n = ne(), r = T(), i = N();
|
|
489
|
-
t.exports = n ? function(e) {
|
|
490
|
-
return n(e);
|
|
491
|
-
} : r ? function(e) {
|
|
492
|
-
if (!e || typeof e != "object" && typeof e != "function") throw TypeError("getProto: not an object");
|
|
493
|
-
return r(e);
|
|
494
|
-
} : i ? function(e) {
|
|
495
|
-
return i(e);
|
|
496
|
-
} : null;
|
|
497
|
-
})), F = /* @__PURE__ */ e(((e, t) => {
|
|
498
|
-
var n = Function.prototype.call, r = Object.prototype.hasOwnProperty;
|
|
499
|
-
t.exports = D().call(n, r);
|
|
500
|
-
})), I = /* @__PURE__ */ e(((e, t) => {
|
|
501
|
-
var n, i = s(), a = c(), o = l(), v = u(), b = d(), C = f(), E = r(), A = p(), j = m(), M = h(), N = ee(), I = g(), L = _(), R = te(), z = y(), B = Function, V = function(e) {
|
|
502
|
-
try {
|
|
503
|
-
return B("\"use strict\"; return (" + e + ").constructor;")();
|
|
504
|
-
} catch {}
|
|
505
|
-
}, H = x(), re = S(), U = function() {
|
|
506
|
-
throw new E();
|
|
507
|
-
}, ie = H ? function() {
|
|
508
|
-
try {
|
|
509
|
-
return arguments.callee, U;
|
|
510
|
-
} catch {
|
|
511
|
-
try {
|
|
512
|
-
return H(arguments, "callee").get;
|
|
513
|
-
} catch {
|
|
514
|
-
return U;
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
}() : U, W = w()(), G = P(), ae = T(), oe = ne(), se = k(), K = O(), q = {}, J = typeof Uint8Array > "u" || !G ? n : G(Uint8Array), Y = {
|
|
518
|
-
__proto__: null,
|
|
519
|
-
"%AggregateError%": typeof AggregateError > "u" ? n : AggregateError,
|
|
520
|
-
"%Array%": Array,
|
|
521
|
-
"%ArrayBuffer%": typeof ArrayBuffer > "u" ? n : ArrayBuffer,
|
|
522
|
-
"%ArrayIteratorPrototype%": W && G ? G([][Symbol.iterator]()) : n,
|
|
523
|
-
"%AsyncFromSyncIteratorPrototype%": n,
|
|
524
|
-
"%AsyncFunction%": q,
|
|
525
|
-
"%AsyncGenerator%": q,
|
|
526
|
-
"%AsyncGeneratorFunction%": q,
|
|
527
|
-
"%AsyncIteratorPrototype%": q,
|
|
528
|
-
"%Atomics%": typeof Atomics > "u" ? n : Atomics,
|
|
529
|
-
"%BigInt%": typeof BigInt > "u" ? n : BigInt,
|
|
530
|
-
"%BigInt64Array%": typeof BigInt64Array > "u" ? n : BigInt64Array,
|
|
531
|
-
"%BigUint64Array%": typeof BigUint64Array > "u" ? n : BigUint64Array,
|
|
532
|
-
"%Boolean%": Boolean,
|
|
533
|
-
"%DataView%": typeof DataView > "u" ? n : DataView,
|
|
534
|
-
"%Date%": Date,
|
|
535
|
-
"%decodeURI%": decodeURI,
|
|
536
|
-
"%decodeURIComponent%": decodeURIComponent,
|
|
537
|
-
"%encodeURI%": encodeURI,
|
|
538
|
-
"%encodeURIComponent%": encodeURIComponent,
|
|
539
|
-
"%Error%": a,
|
|
540
|
-
"%eval%": eval,
|
|
541
|
-
"%EvalError%": o,
|
|
542
|
-
"%Float16Array%": typeof Float16Array > "u" ? n : Float16Array,
|
|
543
|
-
"%Float32Array%": typeof Float32Array > "u" ? n : Float32Array,
|
|
544
|
-
"%Float64Array%": typeof Float64Array > "u" ? n : Float64Array,
|
|
545
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? n : FinalizationRegistry,
|
|
546
|
-
"%Function%": B,
|
|
547
|
-
"%GeneratorFunction%": q,
|
|
548
|
-
"%Int8Array%": typeof Int8Array > "u" ? n : Int8Array,
|
|
549
|
-
"%Int16Array%": typeof Int16Array > "u" ? n : Int16Array,
|
|
550
|
-
"%Int32Array%": typeof Int32Array > "u" ? n : Int32Array,
|
|
551
|
-
"%isFinite%": isFinite,
|
|
552
|
-
"%isNaN%": isNaN,
|
|
553
|
-
"%IteratorPrototype%": W && G ? G(G([][Symbol.iterator]())) : n,
|
|
554
|
-
"%JSON%": typeof JSON == "object" ? JSON : n,
|
|
555
|
-
"%Map%": typeof Map > "u" ? n : Map,
|
|
556
|
-
"%MapIteratorPrototype%": typeof Map > "u" || !W || !G ? n : G((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
557
|
-
"%Math%": Math,
|
|
558
|
-
"%Number%": Number,
|
|
559
|
-
"%Object%": i,
|
|
560
|
-
"%Object.getOwnPropertyDescriptor%": H,
|
|
561
|
-
"%parseFloat%": parseFloat,
|
|
562
|
-
"%parseInt%": parseInt,
|
|
563
|
-
"%Promise%": typeof Promise > "u" ? n : Promise,
|
|
564
|
-
"%Proxy%": typeof Proxy > "u" ? n : Proxy,
|
|
565
|
-
"%RangeError%": v,
|
|
566
|
-
"%ReferenceError%": b,
|
|
567
|
-
"%Reflect%": typeof Reflect > "u" ? n : Reflect,
|
|
568
|
-
"%RegExp%": RegExp,
|
|
569
|
-
"%Set%": typeof Set > "u" ? n : Set,
|
|
570
|
-
"%SetIteratorPrototype%": typeof Set > "u" || !W || !G ? n : G((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
571
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? n : SharedArrayBuffer,
|
|
572
|
-
"%String%": String,
|
|
573
|
-
"%StringIteratorPrototype%": W && G ? G(""[Symbol.iterator]()) : n,
|
|
574
|
-
"%Symbol%": W ? Symbol : n,
|
|
575
|
-
"%SyntaxError%": C,
|
|
576
|
-
"%ThrowTypeError%": ie,
|
|
577
|
-
"%TypedArray%": J,
|
|
578
|
-
"%TypeError%": E,
|
|
579
|
-
"%Uint8Array%": typeof Uint8Array > "u" ? n : Uint8Array,
|
|
580
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? n : Uint8ClampedArray,
|
|
581
|
-
"%Uint16Array%": typeof Uint16Array > "u" ? n : Uint16Array,
|
|
582
|
-
"%Uint32Array%": typeof Uint32Array > "u" ? n : Uint32Array,
|
|
583
|
-
"%URIError%": A,
|
|
584
|
-
"%WeakMap%": typeof WeakMap > "u" ? n : WeakMap,
|
|
585
|
-
"%WeakRef%": typeof WeakRef > "u" ? n : WeakRef,
|
|
586
|
-
"%WeakSet%": typeof WeakSet > "u" ? n : WeakSet,
|
|
587
|
-
"%Function.prototype.call%": K,
|
|
588
|
-
"%Function.prototype.apply%": se,
|
|
589
|
-
"%Object.defineProperty%": re,
|
|
590
|
-
"%Object.getPrototypeOf%": ae,
|
|
591
|
-
"%Math.abs%": j,
|
|
592
|
-
"%Math.floor%": M,
|
|
593
|
-
"%Math.max%": N,
|
|
594
|
-
"%Math.min%": I,
|
|
595
|
-
"%Math.pow%": L,
|
|
596
|
-
"%Math.round%": R,
|
|
597
|
-
"%Math.sign%": z,
|
|
598
|
-
"%Reflect.getPrototypeOf%": oe
|
|
599
|
-
};
|
|
600
|
-
if (G) try {
|
|
601
|
-
null.error;
|
|
602
|
-
} catch (e) {
|
|
603
|
-
Y["%Error.prototype%"] = G(G(e));
|
|
604
|
-
}
|
|
605
|
-
var ce = function e(t) {
|
|
606
|
-
var n;
|
|
607
|
-
if (t === "%AsyncFunction%") n = V("async function () {}");
|
|
608
|
-
else if (t === "%GeneratorFunction%") n = V("function* () {}");
|
|
609
|
-
else if (t === "%AsyncGeneratorFunction%") n = V("async function* () {}");
|
|
610
|
-
else if (t === "%AsyncGenerator%") {
|
|
611
|
-
var r = e("%AsyncGeneratorFunction%");
|
|
612
|
-
r && (n = r.prototype);
|
|
613
|
-
} else if (t === "%AsyncIteratorPrototype%") {
|
|
614
|
-
var i = e("%AsyncGenerator%");
|
|
615
|
-
i && G && (n = G(i.prototype));
|
|
616
|
-
}
|
|
617
|
-
return Y[t] = n, n;
|
|
618
|
-
}, le = {
|
|
619
|
-
__proto__: null,
|
|
620
|
-
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
621
|
-
"%ArrayPrototype%": ["Array", "prototype"],
|
|
622
|
-
"%ArrayProto_entries%": [
|
|
623
|
-
"Array",
|
|
624
|
-
"prototype",
|
|
625
|
-
"entries"
|
|
626
|
-
],
|
|
627
|
-
"%ArrayProto_forEach%": [
|
|
628
|
-
"Array",
|
|
629
|
-
"prototype",
|
|
630
|
-
"forEach"
|
|
631
|
-
],
|
|
632
|
-
"%ArrayProto_keys%": [
|
|
633
|
-
"Array",
|
|
634
|
-
"prototype",
|
|
635
|
-
"keys"
|
|
636
|
-
],
|
|
637
|
-
"%ArrayProto_values%": [
|
|
638
|
-
"Array",
|
|
639
|
-
"prototype",
|
|
640
|
-
"values"
|
|
641
|
-
],
|
|
642
|
-
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
643
|
-
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
644
|
-
"%AsyncGeneratorPrototype%": [
|
|
645
|
-
"AsyncGeneratorFunction",
|
|
646
|
-
"prototype",
|
|
647
|
-
"prototype"
|
|
648
|
-
],
|
|
649
|
-
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
650
|
-
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
651
|
-
"%DatePrototype%": ["Date", "prototype"],
|
|
652
|
-
"%ErrorPrototype%": ["Error", "prototype"],
|
|
653
|
-
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
654
|
-
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
655
|
-
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
656
|
-
"%FunctionPrototype%": ["Function", "prototype"],
|
|
657
|
-
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
658
|
-
"%GeneratorPrototype%": [
|
|
659
|
-
"GeneratorFunction",
|
|
660
|
-
"prototype",
|
|
661
|
-
"prototype"
|
|
662
|
-
],
|
|
663
|
-
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
664
|
-
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
665
|
-
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
666
|
-
"%JSONParse%": ["JSON", "parse"],
|
|
667
|
-
"%JSONStringify%": ["JSON", "stringify"],
|
|
668
|
-
"%MapPrototype%": ["Map", "prototype"],
|
|
669
|
-
"%NumberPrototype%": ["Number", "prototype"],
|
|
670
|
-
"%ObjectPrototype%": ["Object", "prototype"],
|
|
671
|
-
"%ObjProto_toString%": [
|
|
672
|
-
"Object",
|
|
673
|
-
"prototype",
|
|
674
|
-
"toString"
|
|
675
|
-
],
|
|
676
|
-
"%ObjProto_valueOf%": [
|
|
677
|
-
"Object",
|
|
678
|
-
"prototype",
|
|
679
|
-
"valueOf"
|
|
680
|
-
],
|
|
681
|
-
"%PromisePrototype%": ["Promise", "prototype"],
|
|
682
|
-
"%PromiseProto_then%": [
|
|
683
|
-
"Promise",
|
|
684
|
-
"prototype",
|
|
685
|
-
"then"
|
|
686
|
-
],
|
|
687
|
-
"%Promise_all%": ["Promise", "all"],
|
|
688
|
-
"%Promise_reject%": ["Promise", "reject"],
|
|
689
|
-
"%Promise_resolve%": ["Promise", "resolve"],
|
|
690
|
-
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
691
|
-
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
692
|
-
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
693
|
-
"%SetPrototype%": ["Set", "prototype"],
|
|
694
|
-
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
695
|
-
"%StringPrototype%": ["String", "prototype"],
|
|
696
|
-
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
697
|
-
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
698
|
-
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
699
|
-
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
700
|
-
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
701
|
-
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
702
|
-
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
703
|
-
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
704
|
-
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
705
|
-
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
706
|
-
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
707
|
-
}, X = D(), Z = F(), ue = X.call(K, Array.prototype.concat), de = X.call(se, Array.prototype.splice), fe = X.call(K, String.prototype.replace), Q = X.call(K, String.prototype.slice), pe = X.call(K, RegExp.prototype.exec), $ = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, me = /\\(\\)?/g, he = function(e) {
|
|
708
|
-
var t = Q(e, 0, 1), n = Q(e, -1);
|
|
709
|
-
if (t === "%" && n !== "%") throw new C("invalid intrinsic syntax, expected closing `%`");
|
|
710
|
-
if (n === "%" && t !== "%") throw new C("invalid intrinsic syntax, expected opening `%`");
|
|
711
|
-
var r = [];
|
|
712
|
-
return fe(e, $, function(e, t, n, i) {
|
|
713
|
-
r[r.length] = n ? fe(i, me, "$1") : t || e;
|
|
714
|
-
}), r;
|
|
715
|
-
}, ge = function(e, t) {
|
|
716
|
-
var n = e, r;
|
|
717
|
-
if (Z(le, n) && (r = le[n], n = "%" + r[0] + "%"), Z(Y, n)) {
|
|
718
|
-
var i = Y[n];
|
|
719
|
-
if (i === q && (i = ce(n)), i === void 0 && !t) throw new E("intrinsic " + e + " exists, but is not available. Please file an issue!");
|
|
720
|
-
return {
|
|
721
|
-
alias: r,
|
|
722
|
-
name: n,
|
|
723
|
-
value: i
|
|
724
|
-
};
|
|
725
|
-
}
|
|
726
|
-
throw new C("intrinsic " + e + " does not exist!");
|
|
727
|
-
};
|
|
728
|
-
t.exports = function(e, t) {
|
|
729
|
-
if (typeof e != "string" || e.length === 0) throw new E("intrinsic name must be a non-empty string");
|
|
730
|
-
if (arguments.length > 1 && typeof t != "boolean") throw new E("\"allowMissing\" argument must be a boolean");
|
|
731
|
-
if (pe(/^%?[^%]*%?$/, e) === null) throw new C("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
732
|
-
var n = he(e), r = n.length > 0 ? n[0] : "", i = ge("%" + r + "%", t), a = i.name, o = i.value, s = !1, c = i.alias;
|
|
733
|
-
c && (r = c[0], de(n, ue([0, 1], c)));
|
|
734
|
-
for (var l = 1, u = !0; l < n.length; l += 1) {
|
|
735
|
-
var d = n[l], f = Q(d, 0, 1), p = Q(d, -1);
|
|
736
|
-
if ((f === "\"" || f === "'" || f === "`" || p === "\"" || p === "'" || p === "`") && f !== p) throw new C("property names with quotes must have matching quotes");
|
|
737
|
-
if ((d === "constructor" || !u) && (s = !0), r += "." + d, a = "%" + r + "%", Z(Y, a)) o = Y[a];
|
|
738
|
-
else if (o != null) {
|
|
739
|
-
if (!(d in o)) {
|
|
740
|
-
if (!t) throw new E("base intrinsic for " + e + " exists, but the property is not available.");
|
|
741
|
-
return;
|
|
742
|
-
}
|
|
743
|
-
if (H && l + 1 >= n.length) {
|
|
744
|
-
var m = H(o, d);
|
|
745
|
-
u = !!m, o = u && "get" in m && !("originalValue" in m.get) ? m.get : o[d];
|
|
746
|
-
} else u = Z(o, d), o = o[d];
|
|
747
|
-
u && !s && (Y[a] = o);
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
return o;
|
|
751
|
-
};
|
|
752
|
-
})), L = /* @__PURE__ */ e(((e, t) => {
|
|
753
|
-
var n = I(), r = M(), i = r([n("%String.prototype.indexOf%")]);
|
|
754
|
-
t.exports = function(e, t) {
|
|
755
|
-
var a = n(e, !!t);
|
|
756
|
-
return typeof a == "function" && i(e, ".prototype.") > -1 ? r([a]) : a;
|
|
757
|
-
};
|
|
758
|
-
})), R = /* @__PURE__ */ e(((e, t) => {
|
|
759
|
-
var n = I(), i = L(), o = a(), s = r(), c = n("%Map%", !0), l = i("Map.prototype.get", !0), u = i("Map.prototype.set", !0), d = i("Map.prototype.has", !0), f = i("Map.prototype.delete", !0), p = i("Map.prototype.size", !0);
|
|
760
|
-
t.exports = !!c && function() {
|
|
761
|
-
var e, t = {
|
|
762
|
-
assert: function(e) {
|
|
763
|
-
if (!t.has(e)) throw new s("Side channel does not contain " + o(e));
|
|
764
|
-
},
|
|
765
|
-
delete: function(t) {
|
|
766
|
-
if (e) {
|
|
767
|
-
var n = f(e, t);
|
|
768
|
-
return p(e) === 0 && (e = void 0), n;
|
|
769
|
-
}
|
|
770
|
-
return !1;
|
|
771
|
-
},
|
|
772
|
-
get: function(t) {
|
|
773
|
-
if (e) return l(e, t);
|
|
774
|
-
},
|
|
775
|
-
has: function(t) {
|
|
776
|
-
return e ? d(e, t) : !1;
|
|
777
|
-
},
|
|
778
|
-
set: function(t, n) {
|
|
779
|
-
e ||= new c(), u(e, t, n);
|
|
780
|
-
}
|
|
781
|
-
};
|
|
782
|
-
return t;
|
|
783
|
-
};
|
|
784
|
-
})), z = /* @__PURE__ */ e(((e, t) => {
|
|
785
|
-
var n = I(), i = L(), o = a(), s = R(), c = r(), l = n("%WeakMap%", !0), u = i("WeakMap.prototype.get", !0), d = i("WeakMap.prototype.set", !0), f = i("WeakMap.prototype.has", !0), p = i("WeakMap.prototype.delete", !0);
|
|
786
|
-
t.exports = l ? function() {
|
|
787
|
-
var e, t, n = {
|
|
788
|
-
assert: function(e) {
|
|
789
|
-
if (!n.has(e)) throw new c("Side channel does not contain " + o(e));
|
|
790
|
-
},
|
|
791
|
-
delete: function(n) {
|
|
792
|
-
if (l && n && (typeof n == "object" || typeof n == "function")) {
|
|
793
|
-
if (e) return p(e, n);
|
|
794
|
-
} else if (s && t) return t.delete(n);
|
|
795
|
-
return !1;
|
|
796
|
-
},
|
|
797
|
-
get: function(n) {
|
|
798
|
-
return l && n && (typeof n == "object" || typeof n == "function") && e ? u(e, n) : t && t.get(n);
|
|
799
|
-
},
|
|
800
|
-
has: function(n) {
|
|
801
|
-
return l && n && (typeof n == "object" || typeof n == "function") && e ? f(e, n) : !!t && t.has(n);
|
|
802
|
-
},
|
|
803
|
-
set: function(n, r) {
|
|
804
|
-
l && n && (typeof n == "object" || typeof n == "function") ? (e ||= new l(), d(e, n, r)) : s && (t ||= s(), t.set(n, r));
|
|
805
|
-
}
|
|
806
|
-
};
|
|
807
|
-
return n;
|
|
808
|
-
} : s;
|
|
809
|
-
})), B = /* @__PURE__ */ e(((e, t) => {
|
|
810
|
-
var n = r(), i = a(), s = o(), c = R(), l = z() || c || s;
|
|
811
|
-
t.exports = function() {
|
|
812
|
-
var e, t = {
|
|
813
|
-
assert: function(e) {
|
|
814
|
-
if (!t.has(e)) throw new n("Side channel does not contain " + (e && Object(e) === e ? "the given object key" : i(e)));
|
|
815
|
-
},
|
|
816
|
-
delete: function(t) {
|
|
817
|
-
return !!e && e.delete(t);
|
|
818
|
-
},
|
|
819
|
-
get: function(t) {
|
|
820
|
-
return e && e.get(t);
|
|
821
|
-
},
|
|
822
|
-
has: function(t) {
|
|
823
|
-
return !!e && e.has(t);
|
|
824
|
-
},
|
|
825
|
-
set: function(t, n) {
|
|
826
|
-
e ||= l(), e.set(t, n);
|
|
827
|
-
}
|
|
828
|
-
};
|
|
829
|
-
return t;
|
|
830
|
-
};
|
|
831
|
-
}));
|
|
832
|
-
//#endregion
|
|
833
|
-
export { r as _, P as a, k as c, C as d, S as f, s as g, c as h, F as i, D as l, f as m, L as n, M as o, x as p, I as r, j as s, B as t, w as u };
|