@uva-glass/component-library 3.0.5 → 3.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/assets/variables.css +20 -31
  2. package/dist/components/Accordion/Accordion.test.d.ts +0 -0
  3. package/dist/components/Accordion/Accordion.test.js +29 -0
  4. package/dist/components/Accordion/Accordion.test.js.map +1 -0
  5. package/dist/components/AccordionCard/AccordionCard.test.d.ts +0 -0
  6. package/dist/components/AccordionCard/AccordionCard.test.js +33 -0
  7. package/dist/components/AccordionCard/AccordionCard.test.js.map +1 -0
  8. package/dist/components/Buttons/Button.stories.js +1 -1
  9. package/dist/components/Buttons/LinkButton.stories.js +1 -1
  10. package/dist/components/Buttons/MenuButton.stories.js +1 -1
  11. package/dist/components/Checkbox/Checkbox.stories.js +1 -1
  12. package/dist/components/CheckboxButton/CheckboxButton.stories.js +1 -1
  13. package/dist/components/CheckboxButtonBar/CheckboxButtonBar.stories.js +1 -1
  14. package/dist/components/CheckboxTree/CheckboxTree.stories.js +1 -1
  15. package/dist/components/Chip/Chip.stories.js +1 -1
  16. package/dist/components/Drawer/Drawer.stories.js +1 -1
  17. package/dist/components/FormInput/FormInput.stories.js +1 -1
  18. package/dist/components/IconButton/IconButton.stories.js +1 -1
  19. package/dist/components/InputField/InputField.stories.js +1 -1
  20. package/dist/components/Label/Label.test.js +19 -4254
  21. package/dist/components/Label/Label.test.js.map +1 -1
  22. package/dist/components/ModalDialog/ModalDialog.stories.js +1 -1
  23. package/dist/components/MultiSelect/MultiSelect.stories.js +1 -1
  24. package/dist/components/OverlayCloseButton/OverlayCloseButton.stories.js +1 -1
  25. package/dist/components/PeriodSelector/PeriodSelector.stories.js +1 -1
  26. package/dist/components/ProgrammeCard/ProgrammeCard.stories.js +1 -1
  27. package/dist/components/SelectListbox/SelectListBox.stories.js +1 -1
  28. package/dist/components/Sortable/Sortable.stories.js +1 -1
  29. package/dist/components/ToggleSwitch/ToggleSwitch.stories.js +1 -1
  30. package/dist/{index-DkNZhwJb.js → index-CcK2jjMp.js} +275 -243
  31. package/dist/index-CcK2jjMp.js.map +1 -0
  32. package/dist/{index-BqHyOZsF.js → index-DuZiPGs-.js} +1 -2
  33. package/dist/{index-BqHyOZsF.js.map → index-DuZiPGs-.js.map} +1 -1
  34. package/dist/index-sIsmp53X.js +2962 -0
  35. package/dist/index-sIsmp53X.js.map +1 -0
  36. package/dist/react.esm-f8cBAyS5.js +4271 -0
  37. package/dist/react.esm-f8cBAyS5.js.map +1 -0
  38. package/dist/setupTests.js +7 -1555
  39. package/dist/setupTests.js.map +1 -1
  40. package/dist/storybook__react.d.js +1 -1
  41. package/package.json +19 -18
  42. package/dist/index-DkNZhwJb.js.map +0 -1
@@ -1,1561 +1,13 @@
1
- var It = Object.defineProperty;
2
- var Ft = (r, o, a) => o in r ? It(r, o, { enumerable: !0, configurable: !0, writable: !0, value: a }) : r[o] = a;
3
- var yr = (r, o, a) => Ft(r, typeof o != "symbol" ? o + "" : o, a);
4
- import { c as mt } from "./index-BqHyOZsF.js";
5
- var gr = {}, vr = {}, br, he;
6
- function At() {
7
- return he || (he = 1, br = function() {
8
- if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
9
- return !1;
10
- if (typeof Symbol.iterator == "symbol")
11
- return !0;
12
- var o = {}, a = Symbol("test"), f = Object(a);
13
- if (typeof a == "string" || Object.prototype.toString.call(a) !== "[object Symbol]" || Object.prototype.toString.call(f) !== "[object Symbol]")
14
- return !1;
15
- var s = 42;
16
- o[a] = s;
17
- for (var v in o)
18
- return !1;
19
- if (typeof Object.keys == "function" && Object.keys(o).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(o).length !== 0)
20
- return !1;
21
- var y = Object.getOwnPropertySymbols(o);
22
- if (y.length !== 1 || y[0] !== a || !Object.prototype.propertyIsEnumerable.call(o, a))
23
- return !1;
24
- if (typeof Object.getOwnPropertyDescriptor == "function") {
25
- var c = (
26
- /** @type {PropertyDescriptor} */
27
- Object.getOwnPropertyDescriptor(o, a)
28
- );
29
- if (c.value !== s || c.enumerable !== !0)
30
- return !1;
31
- }
32
- return !0;
33
- }), br;
34
- }
35
- var hr, me;
36
- function pr() {
37
- if (me) return hr;
38
- me = 1;
39
- var r = At();
40
- return hr = function() {
41
- return r() && !!Symbol.toStringTag;
42
- }, hr;
43
- }
44
- var mr, Ae;
45
- function St() {
46
- return Ae || (Ae = 1, mr = Object), mr;
47
- }
48
- var Ar, Se;
49
- function Tt() {
50
- return Se || (Se = 1, Ar = Error), Ar;
51
- }
52
- var Sr, Pe;
53
- function Dt() {
54
- return Pe || (Pe = 1, Sr = EvalError), Sr;
55
- }
56
- var Pr, Oe;
57
- function Ut() {
58
- return Oe || (Oe = 1, Pr = RangeError), Pr;
59
- }
60
- var Or, we;
61
- function $t() {
62
- return we || (we = 1, Or = ReferenceError), Or;
63
- }
64
- var wr, je;
65
- function Pt() {
66
- return je || (je = 1, wr = SyntaxError), wr;
67
- }
68
- var jr, Re;
69
- function ir() {
70
- return Re || (Re = 1, jr = TypeError), jr;
71
- }
72
- var Rr, Ee;
73
- function Mt() {
74
- return Ee || (Ee = 1, Rr = URIError), Rr;
75
- }
76
- var Er, Be;
77
- function _t() {
78
- return Be || (Be = 1, Er = Math.abs), Er;
79
- }
80
- var Br, qe;
81
- function Nt() {
82
- return qe || (qe = 1, Br = Math.floor), Br;
83
- }
84
- var qr, Ie;
85
- function Ct() {
86
- return Ie || (Ie = 1, qr = Math.max), qr;
87
- }
88
- var Ir, Fe;
89
- function Gt() {
90
- return Fe || (Fe = 1, Ir = Math.min), Ir;
91
- }
92
- var Fr, Te;
93
- function kt() {
94
- return Te || (Te = 1, Fr = Math.pow), Fr;
95
- }
96
- var Tr, De;
97
- function Wt() {
98
- return De || (De = 1, Tr = Math.round), Tr;
99
- }
100
- var Dr, Ue;
101
- function zt() {
102
- return Ue || (Ue = 1, Dr = Number.isNaN || function(o) {
103
- return o !== o;
104
- }), Dr;
105
- }
106
- var Ur, $e;
107
- function Vt() {
108
- if ($e) return Ur;
109
- $e = 1;
110
- var r = /* @__PURE__ */ zt();
111
- return Ur = function(a) {
112
- return r(a) || a === 0 ? a : a < 0 ? -1 : 1;
113
- }, Ur;
114
- }
115
- var $r, Me;
116
- function Lt() {
117
- return Me || (Me = 1, $r = Object.getOwnPropertyDescriptor), $r;
118
- }
119
- var Mr, _e;
120
- function tr() {
121
- if (_e) return Mr;
122
- _e = 1;
123
- var r = /* @__PURE__ */ Lt();
124
- if (r)
125
- try {
126
- r([], "length");
127
- } catch {
128
- r = null;
129
- }
130
- return Mr = r, Mr;
131
- }
132
- var _r, Ne;
133
- function dr() {
134
- if (Ne) return _r;
135
- Ne = 1;
136
- var r = Object.defineProperty || !1;
137
- if (r)
138
- try {
139
- r({}, "a", { value: 1 });
140
- } catch {
141
- r = !1;
142
- }
143
- return _r = r, _r;
144
- }
145
- var Nr, Ce;
146
- function Ht() {
147
- if (Ce) return Nr;
148
- Ce = 1;
149
- var r = typeof Symbol < "u" && Symbol, o = At();
150
- return Nr = function() {
151
- return typeof r != "function" || typeof Symbol != "function" || typeof r("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : o();
152
- }, Nr;
153
- }
154
- var Cr, Ge;
155
- function Ot() {
156
- return Ge || (Ge = 1, Cr = typeof Reflect < "u" && Reflect.getPrototypeOf || null), Cr;
157
- }
158
- var Gr, ke;
159
- function wt() {
160
- if (ke) return Gr;
161
- ke = 1;
162
- var r = /* @__PURE__ */ St();
163
- return Gr = r.getPrototypeOf || null, Gr;
164
- }
165
- var kr, We;
166
- function Jt() {
167
- if (We) return kr;
168
- We = 1;
169
- var r = "Function.prototype.bind called on incompatible ", o = Object.prototype.toString, a = Math.max, f = "[object Function]", s = function(u, d) {
170
- for (var p = [], l = 0; l < u.length; l += 1)
171
- p[l] = u[l];
172
- for (var g = 0; g < d.length; g += 1)
173
- p[g + u.length] = d[g];
174
- return p;
175
- }, v = function(u, d) {
176
- for (var p = [], l = d, g = 0; l < u.length; l += 1, g += 1)
177
- p[g] = u[l];
178
- return p;
179
- }, y = function(c, u) {
180
- for (var d = "", p = 0; p < c.length; p += 1)
181
- d += c[p], p + 1 < c.length && (d += u);
182
- return d;
183
- };
184
- return kr = function(u) {
185
- var d = this;
186
- if (typeof d != "function" || o.apply(d) !== f)
187
- throw new TypeError(r + d);
188
- for (var p = v(arguments, 1), l, g = function() {
189
- if (this instanceof l) {
190
- var P = d.apply(
191
- this,
192
- s(p, arguments)
193
- );
194
- return Object(P) === P ? P : this;
195
- }
196
- return d.apply(
197
- u,
198
- s(p, arguments)
199
- );
200
- }, N = a(0, d.length - p.length), T = [], I = 0; I < N; I++)
201
- T[I] = "$" + I;
202
- if (l = Function("binder", "return function (" + y(T, ",") + "){ return binder.apply(this,arguments); }")(g), d.prototype) {
203
- var O = function() {
204
- };
205
- O.prototype = d.prototype, l.prototype = new O(), O.prototype = null;
206
- }
207
- return l;
208
- }, kr;
209
- }
210
- var Wr, ze;
211
- function ar() {
212
- if (ze) return Wr;
213
- ze = 1;
214
- var r = Jt();
215
- return Wr = Function.prototype.bind || r, Wr;
216
- }
217
- var zr, Ve;
218
- function ge() {
219
- return Ve || (Ve = 1, zr = Function.prototype.call), zr;
220
- }
221
- var Vr, Le;
222
- function ve() {
223
- return Le || (Le = 1, Vr = Function.prototype.apply), Vr;
224
- }
225
- var Lr, He;
226
- function Zt() {
227
- return He || (He = 1, Lr = typeof Reflect < "u" && Reflect && Reflect.apply), Lr;
228
- }
229
- var Hr, Je;
230
- function jt() {
231
- if (Je) return Hr;
232
- Je = 1;
233
- var r = ar(), o = ve(), a = ge(), f = Zt();
234
- return Hr = f || r.call(a, o), Hr;
235
- }
236
- var Jr, Ze;
237
- function be() {
238
- if (Ze) return Jr;
239
- Ze = 1;
240
- var r = ar(), o = /* @__PURE__ */ ir(), a = ge(), f = jt();
241
- return Jr = function(v) {
242
- if (v.length < 1 || typeof v[0] != "function")
243
- throw new o("a function is required");
244
- return f(r, a, v);
245
- }, Jr;
246
- }
247
- var Zr, Ye;
248
- function Yt() {
249
- if (Ye) return Zr;
250
- Ye = 1;
251
- var r = be(), o = /* @__PURE__ */ tr(), a;
252
- try {
253
- a = /** @type {{ __proto__?: typeof Array.prototype }} */
254
- [].__proto__ === Array.prototype;
255
- } catch (y) {
256
- if (!y || typeof y != "object" || !("code" in y) || y.code !== "ERR_PROTO_ACCESS")
257
- throw y;
258
- }
259
- var f = !!a && o && o(
260
- Object.prototype,
261
- /** @type {keyof typeof Object.prototype} */
262
- "__proto__"
263
- ), s = Object, v = s.getPrototypeOf;
264
- return Zr = f && typeof f.get == "function" ? r([f.get]) : typeof v == "function" ? (
265
- /** @type {import('./get')} */
266
- function(c) {
267
- return v(c == null ? c : s(c));
268
- }
269
- ) : !1, Zr;
270
- }
271
- var Yr, Ke;
272
- function Rt() {
273
- if (Ke) return Yr;
274
- Ke = 1;
275
- var r = Ot(), o = wt(), a = /* @__PURE__ */ Yt();
276
- return Yr = r ? function(s) {
277
- return r(s);
278
- } : o ? function(s) {
279
- if (!s || typeof s != "object" && typeof s != "function")
280
- throw new TypeError("getProto: not an object");
281
- return o(s);
282
- } : a ? function(s) {
283
- return a(s);
284
- } : null, Yr;
285
- }
286
- var Kr, Qe;
287
- function Et() {
288
- if (Qe) return Kr;
289
- Qe = 1;
290
- var r = Function.prototype.call, o = Object.prototype.hasOwnProperty, a = ar();
291
- return Kr = a.call(r, o), Kr;
292
- }
293
- var Qr, Xe;
294
- function Bt() {
295
- if (Xe) return Qr;
296
- Xe = 1;
297
- var r, o = /* @__PURE__ */ St(), a = /* @__PURE__ */ Tt(), f = /* @__PURE__ */ Dt(), s = /* @__PURE__ */ Ut(), v = /* @__PURE__ */ $t(), y = /* @__PURE__ */ Pt(), c = /* @__PURE__ */ ir(), u = /* @__PURE__ */ Mt(), d = /* @__PURE__ */ _t(), p = /* @__PURE__ */ Nt(), l = /* @__PURE__ */ Ct(), g = /* @__PURE__ */ Gt(), N = /* @__PURE__ */ kt(), T = /* @__PURE__ */ Wt(), I = /* @__PURE__ */ Vt(), O = Function, P = function(h) {
298
- try {
299
- return O('"use strict"; return (' + h + ").constructor;")();
300
- } catch {
301
- }
302
- }, w = /* @__PURE__ */ tr(), A = /* @__PURE__ */ dr(), F = function() {
303
- throw new c();
304
- }, z = w ? function() {
305
- try {
306
- return arguments.callee, F;
307
- } catch {
308
- try {
309
- return w(arguments, "callee").get;
310
- } catch {
311
- return F;
312
- }
313
- }
314
- }() : F, V = Ht()(), B = Rt(), J = wt(), L = Ot(), Z = ve(), G = ge(), M = {}, nr = typeof Uint8Array > "u" || !B ? r : B(Uint8Array), _ = {
315
- __proto__: null,
316
- "%AggregateError%": typeof AggregateError > "u" ? r : AggregateError,
317
- "%Array%": Array,
318
- "%ArrayBuffer%": typeof ArrayBuffer > "u" ? r : ArrayBuffer,
319
- "%ArrayIteratorPrototype%": V && B ? B([][Symbol.iterator]()) : r,
320
- "%AsyncFromSyncIteratorPrototype%": r,
321
- "%AsyncFunction%": M,
322
- "%AsyncGenerator%": M,
323
- "%AsyncGeneratorFunction%": M,
324
- "%AsyncIteratorPrototype%": M,
325
- "%Atomics%": typeof Atomics > "u" ? r : Atomics,
326
- "%BigInt%": typeof BigInt > "u" ? r : BigInt,
327
- "%BigInt64Array%": typeof BigInt64Array > "u" ? r : BigInt64Array,
328
- "%BigUint64Array%": typeof BigUint64Array > "u" ? r : BigUint64Array,
329
- "%Boolean%": Boolean,
330
- "%DataView%": typeof DataView > "u" ? r : DataView,
331
- "%Date%": Date,
332
- "%decodeURI%": decodeURI,
333
- "%decodeURIComponent%": decodeURIComponent,
334
- "%encodeURI%": encodeURI,
335
- "%encodeURIComponent%": encodeURIComponent,
336
- "%Error%": a,
337
- "%eval%": eval,
338
- // eslint-disable-line no-eval
339
- "%EvalError%": f,
340
- "%Float32Array%": typeof Float32Array > "u" ? r : Float32Array,
341
- "%Float64Array%": typeof Float64Array > "u" ? r : Float64Array,
342
- "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? r : FinalizationRegistry,
343
- "%Function%": O,
344
- "%GeneratorFunction%": M,
345
- "%Int8Array%": typeof Int8Array > "u" ? r : Int8Array,
346
- "%Int16Array%": typeof Int16Array > "u" ? r : Int16Array,
347
- "%Int32Array%": typeof Int32Array > "u" ? r : Int32Array,
348
- "%isFinite%": isFinite,
349
- "%isNaN%": isNaN,
350
- "%IteratorPrototype%": V && B ? B(B([][Symbol.iterator]())) : r,
351
- "%JSON%": typeof JSON == "object" ? JSON : r,
352
- "%Map%": typeof Map > "u" ? r : Map,
353
- "%MapIteratorPrototype%": typeof Map > "u" || !V || !B ? r : B((/* @__PURE__ */ new Map())[Symbol.iterator]()),
354
- "%Math%": Math,
355
- "%Number%": Number,
356
- "%Object%": o,
357
- "%Object.getOwnPropertyDescriptor%": w,
358
- "%parseFloat%": parseFloat,
359
- "%parseInt%": parseInt,
360
- "%Promise%": typeof Promise > "u" ? r : Promise,
361
- "%Proxy%": typeof Proxy > "u" ? r : Proxy,
362
- "%RangeError%": s,
363
- "%ReferenceError%": v,
364
- "%Reflect%": typeof Reflect > "u" ? r : Reflect,
365
- "%RegExp%": RegExp,
366
- "%Set%": typeof Set > "u" ? r : Set,
367
- "%SetIteratorPrototype%": typeof Set > "u" || !V || !B ? r : B((/* @__PURE__ */ new Set())[Symbol.iterator]()),
368
- "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? r : SharedArrayBuffer,
369
- "%String%": String,
370
- "%StringIteratorPrototype%": V && B ? B(""[Symbol.iterator]()) : r,
371
- "%Symbol%": V ? Symbol : r,
372
- "%SyntaxError%": y,
373
- "%ThrowTypeError%": z,
374
- "%TypedArray%": nr,
375
- "%TypeError%": c,
376
- "%Uint8Array%": typeof Uint8Array > "u" ? r : Uint8Array,
377
- "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? r : Uint8ClampedArray,
378
- "%Uint16Array%": typeof Uint16Array > "u" ? r : Uint16Array,
379
- "%Uint32Array%": typeof Uint32Array > "u" ? r : Uint32Array,
380
- "%URIError%": u,
381
- "%WeakMap%": typeof WeakMap > "u" ? r : WeakMap,
382
- "%WeakRef%": typeof WeakRef > "u" ? r : WeakRef,
383
- "%WeakSet%": typeof WeakSet > "u" ? r : WeakSet,
384
- "%Function.prototype.call%": G,
385
- "%Function.prototype.apply%": Z,
386
- "%Object.defineProperty%": A,
387
- "%Object.getPrototypeOf%": J,
388
- "%Math.abs%": d,
389
- "%Math.floor%": p,
390
- "%Math.max%": l,
391
- "%Math.min%": g,
392
- "%Math.pow%": N,
393
- "%Math.round%": T,
394
- "%Math.sign%": I,
395
- "%Reflect.getPrototypeOf%": L
396
- };
397
- if (B)
398
- try {
399
- null.error;
400
- } catch (h) {
401
- var Q = B(B(h));
402
- _["%Error.prototype%"] = Q;
403
- }
404
- var Y = function h(b) {
405
- var E;
406
- if (b === "%AsyncFunction%")
407
- E = P("async function () {}");
408
- else if (b === "%GeneratorFunction%")
409
- E = P("function* () {}");
410
- else if (b === "%AsyncGeneratorFunction%")
411
- E = P("async function* () {}");
412
- else if (b === "%AsyncGenerator%") {
413
- var q = h("%AsyncGeneratorFunction%");
414
- q && (E = q.prototype);
415
- } else if (b === "%AsyncIteratorPrototype%") {
416
- var D = h("%AsyncGenerator%");
417
- D && B && (E = B(D.prototype));
418
- }
419
- return _[b] = E, E;
420
- }, x = {
421
- __proto__: null,
422
- "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
423
- "%ArrayPrototype%": ["Array", "prototype"],
424
- "%ArrayProto_entries%": ["Array", "prototype", "entries"],
425
- "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
426
- "%ArrayProto_keys%": ["Array", "prototype", "keys"],
427
- "%ArrayProto_values%": ["Array", "prototype", "values"],
428
- "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
429
- "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
430
- "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
431
- "%BooleanPrototype%": ["Boolean", "prototype"],
432
- "%DataViewPrototype%": ["DataView", "prototype"],
433
- "%DatePrototype%": ["Date", "prototype"],
434
- "%ErrorPrototype%": ["Error", "prototype"],
435
- "%EvalErrorPrototype%": ["EvalError", "prototype"],
436
- "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
437
- "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
438
- "%FunctionPrototype%": ["Function", "prototype"],
439
- "%Generator%": ["GeneratorFunction", "prototype"],
440
- "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
441
- "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
442
- "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
443
- "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
444
- "%JSONParse%": ["JSON", "parse"],
445
- "%JSONStringify%": ["JSON", "stringify"],
446
- "%MapPrototype%": ["Map", "prototype"],
447
- "%NumberPrototype%": ["Number", "prototype"],
448
- "%ObjectPrototype%": ["Object", "prototype"],
449
- "%ObjProto_toString%": ["Object", "prototype", "toString"],
450
- "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
451
- "%PromisePrototype%": ["Promise", "prototype"],
452
- "%PromiseProto_then%": ["Promise", "prototype", "then"],
453
- "%Promise_all%": ["Promise", "all"],
454
- "%Promise_reject%": ["Promise", "reject"],
455
- "%Promise_resolve%": ["Promise", "resolve"],
456
- "%RangeErrorPrototype%": ["RangeError", "prototype"],
457
- "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
458
- "%RegExpPrototype%": ["RegExp", "prototype"],
459
- "%SetPrototype%": ["Set", "prototype"],
460
- "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
461
- "%StringPrototype%": ["String", "prototype"],
462
- "%SymbolPrototype%": ["Symbol", "prototype"],
463
- "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
464
- "%TypedArrayPrototype%": ["TypedArray", "prototype"],
465
- "%TypeErrorPrototype%": ["TypeError", "prototype"],
466
- "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
467
- "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
468
- "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
469
- "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
470
- "%URIErrorPrototype%": ["URIError", "prototype"],
471
- "%WeakMapPrototype%": ["WeakMap", "prototype"],
472
- "%WeakSetPrototype%": ["WeakSet", "prototype"]
473
- }, k = ar(), C = /* @__PURE__ */ Et(), K = k.call(G, Array.prototype.concat), rr = k.call(Z, Array.prototype.splice), e = k.call(G, String.prototype.replace), t = k.call(G, String.prototype.slice), i = k.call(G, RegExp.prototype.exec), m = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, j = /\\(\\)?/g, R = function(b) {
474
- var E = t(b, 0, 1), q = t(b, -1);
475
- if (E === "%" && q !== "%")
476
- throw new y("invalid intrinsic syntax, expected closing `%`");
477
- if (q === "%" && E !== "%")
478
- throw new y("invalid intrinsic syntax, expected opening `%`");
479
- var D = [];
480
- return e(b, m, function(U, W, $, er) {
481
- D[D.length] = $ ? e(er, j, "$1") : W || U;
482
- }), D;
483
- }, S = function(b, E) {
484
- var q = b, D;
485
- if (C(x, q) && (D = x[q], q = "%" + D[0] + "%"), C(_, q)) {
486
- var U = _[q];
487
- if (U === M && (U = Y(q)), typeof U > "u" && !E)
488
- throw new c("intrinsic " + b + " exists, but is not available. Please file an issue!");
489
- return {
490
- alias: D,
491
- name: q,
492
- value: U
493
- };
494
- }
495
- throw new y("intrinsic " + b + " does not exist!");
496
- };
497
- return Qr = function(b, E) {
498
- if (typeof b != "string" || b.length === 0)
499
- throw new c("intrinsic name must be a non-empty string");
500
- if (arguments.length > 1 && typeof E != "boolean")
501
- throw new c('"allowMissing" argument must be a boolean');
502
- if (i(/^%?[^%]*%?$/, b) === null)
503
- throw new y("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
504
- var q = R(b), D = q.length > 0 ? q[0] : "", U = S("%" + D + "%", E), W = U.name, $ = U.value, er = !1, or = U.alias;
505
- or && (D = or[0], rr(q, K([0, 1], or)));
506
- for (var n = 1, X = !0; n < q.length; n += 1) {
507
- var H = q[n], fr = t(H, 0, 1), cr = t(H, -1);
508
- if ((fr === '"' || fr === "'" || fr === "`" || cr === '"' || cr === "'" || cr === "`") && fr !== cr)
509
- throw new y("property names with quotes must have matching quotes");
510
- if ((H === "constructor" || !X) && (er = !0), D += "." + H, W = "%" + D + "%", C(_, W))
511
- $ = _[W];
512
- else if ($ != null) {
513
- if (!(H in $)) {
514
- if (!E)
515
- throw new c("base intrinsic for " + b + " exists, but the property is not available.");
516
- return;
517
- }
518
- if (w && n + 1 >= q.length) {
519
- var sr = w($, H);
520
- X = !!sr, X && "get" in sr && !("originalValue" in sr.get) ? $ = sr.get : $ = $[H];
521
- } else
522
- X = C($, H), $ = $[H];
523
- X && !er && (_[W] = $);
524
- }
525
- }
526
- return $;
527
- }, Qr;
528
- }
529
- var Xr, xe;
530
- function ur() {
531
- if (xe) return Xr;
532
- xe = 1;
533
- var r = /* @__PURE__ */ Bt(), o = be(), a = o([r("%String.prototype.indexOf%")]);
534
- return Xr = function(s, v) {
535
- var y = (
536
- /** @type {Parameters<typeof callBindBasic>[0][0]} */
537
- r(s, !!v)
538
- );
539
- return typeof y == "function" && a(s, ".prototype.") > -1 ? o([y]) : y;
540
- }, Xr;
541
- }
542
- var xr, rt;
543
- function Kt() {
544
- if (rt) return xr;
545
- rt = 1;
546
- var r = pr()(), o = /* @__PURE__ */ ur(), a = o("Object.prototype.toString"), f = function(c) {
547
- return r && c && typeof c == "object" && Symbol.toStringTag in c ? !1 : a(c) === "[object Arguments]";
548
- }, s = function(c) {
549
- return f(c) ? !0 : c !== null && typeof c == "object" && "length" in c && typeof c.length == "number" && c.length >= 0 && a(c) !== "[object Array]" && "callee" in c && a(c.callee) === "[object Function]";
550
- }, v = function() {
551
- return f(arguments);
552
- }();
553
- return f.isLegacyArguments = s, xr = v ? f : s, xr;
554
- }
555
- var re, et;
556
- function Qt() {
557
- if (et) return re;
558
- et = 1;
559
- var r = /* @__PURE__ */ ur(), o = pr()(), a = /* @__PURE__ */ Et(), f = /* @__PURE__ */ tr(), s;
560
- if (o) {
561
- var v = r("RegExp.prototype.exec"), y = {}, c = function() {
562
- throw y;
563
- }, u = {
564
- toString: c,
565
- valueOf: c
566
- };
567
- typeof Symbol.toPrimitive == "symbol" && (u[Symbol.toPrimitive] = c), s = function(g) {
568
- if (!g || typeof g != "object")
569
- return !1;
570
- var N = (
571
- /** @type {NonNullable<typeof gOPD>} */
572
- f(
573
- /** @type {{ lastIndex?: unknown }} */
574
- g,
575
- "lastIndex"
576
- )
577
- ), T = N && a(N, "value");
578
- if (!T)
579
- return !1;
580
- try {
581
- v(
582
- g,
583
- /** @type {string} */
584
- /** @type {unknown} */
585
- u
586
- );
587
- } catch (I) {
588
- return I === y;
589
- }
590
- };
591
- } else {
592
- var d = r("Object.prototype.toString"), p = "[object RegExp]";
593
- s = function(g) {
594
- return !g || typeof g != "object" && typeof g != "function" ? !1 : d(g) === p;
595
- };
596
- }
597
- return re = s, re;
598
- }
599
- var ee, tt;
600
- function Xt() {
601
- if (tt) return ee;
602
- tt = 1;
603
- var r = /* @__PURE__ */ ur(), o = Qt(), a = r("RegExp.prototype.exec"), f = /* @__PURE__ */ ir();
604
- return ee = function(v) {
605
- if (!o(v))
606
- throw new f("`regex` must be a RegExp");
607
- return function(c) {
608
- return a(v, c) !== null;
609
- };
610
- }, ee;
611
- }
612
- var te, nt;
613
- function xt() {
614
- if (nt) return te;
615
- nt = 1;
616
- var r = /* @__PURE__ */ ur(), o = /* @__PURE__ */ Xt(), a = o(/^\s*(?:function)?\*/), f = pr()(), s = Rt(), v = r("Object.prototype.toString"), y = r("Function.prototype.toString"), c = function() {
617
- if (!f)
618
- return !1;
619
- try {
620
- return Function("return function*() {}")();
621
- } catch {
622
- }
623
- }, u;
624
- return te = function(p) {
625
- if (typeof p != "function")
626
- return !1;
627
- if (a(y(p)))
628
- return !0;
629
- if (!f) {
630
- var l = v(p);
631
- return l === "[object GeneratorFunction]";
632
- }
633
- if (!s)
634
- return !1;
635
- if (typeof u > "u") {
636
- var g = c();
637
- u = g ? (
638
- /** @type {GeneratorFunctionConstructor} */
639
- s(g)
640
- ) : !1;
641
- }
642
- return s(p) === u;
643
- }, te;
644
- }
645
- var ne, ot;
646
- function rn() {
647
- if (ot) return ne;
648
- ot = 1;
649
- var r = Function.prototype.toString, o = typeof Reflect == "object" && Reflect !== null && Reflect.apply, a, f;
650
- if (typeof o == "function" && typeof Object.defineProperty == "function")
651
- try {
652
- a = Object.defineProperty({}, "length", {
653
- get: function() {
654
- throw f;
655
- }
656
- }), f = {}, o(function() {
657
- throw 42;
658
- }, null, a);
659
- } catch (w) {
660
- w !== f && (o = null);
661
- }
662
- else
663
- o = null;
664
- var s = /^\s*class\b/, v = function(A) {
665
- try {
666
- var F = r.call(A);
667
- return s.test(F);
668
- } catch {
669
- return !1;
670
- }
671
- }, y = function(A) {
672
- try {
673
- return v(A) ? !1 : (r.call(A), !0);
674
- } catch {
675
- return !1;
676
- }
677
- }, c = Object.prototype.toString, u = "[object Object]", d = "[object Function]", p = "[object GeneratorFunction]", l = "[object HTMLAllCollection]", g = "[object HTML document.all class]", N = "[object HTMLCollection]", T = typeof Symbol == "function" && !!Symbol.toStringTag, I = !(0 in [,]), O = function() {
678
- return !1;
679
- };
680
- if (typeof document == "object") {
681
- var P = document.all;
682
- c.call(P) === c.call(document.all) && (O = function(A) {
683
- if ((I || !A) && (typeof A > "u" || typeof A == "object"))
684
- try {
685
- var F = c.call(A);
686
- return (F === l || F === g || F === N || F === u) && A("") == null;
687
- } catch {
688
- }
689
- return !1;
690
- });
691
- }
692
- return ne = o ? function(A) {
693
- if (O(A))
694
- return !0;
695
- if (!A || typeof A != "function" && typeof A != "object")
696
- return !1;
697
- try {
698
- o(A, null, a);
699
- } catch (F) {
700
- if (F !== f)
701
- return !1;
702
- }
703
- return !v(A) && y(A);
704
- } : function(A) {
705
- if (O(A))
706
- return !0;
707
- if (!A || typeof A != "function" && typeof A != "object")
708
- return !1;
709
- if (T)
710
- return y(A);
711
- if (v(A))
712
- return !1;
713
- var F = c.call(A);
714
- return F !== d && F !== p && !/^\[object HTML/.test(F) ? !1 : y(A);
715
- }, ne;
716
- }
717
- var oe, it;
718
- function en() {
719
- if (it) return oe;
720
- it = 1;
721
- var r = rn(), o = Object.prototype.toString, a = Object.prototype.hasOwnProperty, f = function(u, d, p) {
722
- for (var l = 0, g = u.length; l < g; l++)
723
- a.call(u, l) && (p == null ? d(u[l], l, u) : d.call(p, u[l], l, u));
724
- }, s = function(u, d, p) {
725
- for (var l = 0, g = u.length; l < g; l++)
726
- p == null ? d(u.charAt(l), l, u) : d.call(p, u.charAt(l), l, u);
727
- }, v = function(u, d, p) {
728
- for (var l in u)
729
- a.call(u, l) && (p == null ? d(u[l], l, u) : d.call(p, u[l], l, u));
730
- }, y = function(u, d, p) {
731
- if (!r(d))
732
- throw new TypeError("iterator must be a function");
733
- var l;
734
- arguments.length >= 3 && (l = p), o.call(u) === "[object Array]" ? f(u, d, l) : typeof u == "string" ? s(u, d, l) : v(u, d, l);
735
- };
736
- return oe = y, oe;
737
- }
738
- var ie, at;
739
- function tn() {
740
- return at || (at = 1, ie = [
741
- "Float16Array",
742
- "Float32Array",
743
- "Float64Array",
744
- "Int8Array",
745
- "Int16Array",
746
- "Int32Array",
747
- "Uint8Array",
748
- "Uint8ClampedArray",
749
- "Uint16Array",
750
- "Uint32Array",
751
- "BigInt64Array",
752
- "BigUint64Array"
753
- ]), ie;
754
- }
755
- var ae, ut;
756
- function nn() {
757
- if (ut) return ae;
758
- ut = 1;
759
- var r = /* @__PURE__ */ tn(), o = typeof globalThis > "u" ? mt : globalThis;
760
- return ae = function() {
761
- for (var f = [], s = 0; s < r.length; s++)
762
- typeof o[r[s]] == "function" && (f[f.length] = r[s]);
763
- return f;
764
- }, ae;
765
- }
766
- var ue = { exports: {} }, fe, ft;
767
- function on() {
768
- if (ft) return fe;
769
- ft = 1;
770
- var r = /* @__PURE__ */ dr(), o = /* @__PURE__ */ Pt(), a = /* @__PURE__ */ ir(), f = /* @__PURE__ */ tr();
771
- return fe = function(v, y, c) {
772
- if (!v || typeof v != "object" && typeof v != "function")
773
- throw new a("`obj` must be an object or a function`");
774
- if (typeof y != "string" && typeof y != "symbol")
775
- throw new a("`property` must be a string or a symbol`");
776
- if (arguments.length > 3 && typeof arguments[3] != "boolean" && arguments[3] !== null)
777
- throw new a("`nonEnumerable`, if provided, must be a boolean or null");
778
- if (arguments.length > 4 && typeof arguments[4] != "boolean" && arguments[4] !== null)
779
- throw new a("`nonWritable`, if provided, must be a boolean or null");
780
- if (arguments.length > 5 && typeof arguments[5] != "boolean" && arguments[5] !== null)
781
- throw new a("`nonConfigurable`, if provided, must be a boolean or null");
782
- if (arguments.length > 6 && typeof arguments[6] != "boolean")
783
- throw new a("`loose`, if provided, must be a boolean");
784
- var u = arguments.length > 3 ? arguments[3] : null, d = arguments.length > 4 ? arguments[4] : null, p = arguments.length > 5 ? arguments[5] : null, l = arguments.length > 6 ? arguments[6] : !1, g = !!f && f(v, y);
785
- if (r)
786
- r(v, y, {
787
- configurable: p === null && g ? g.configurable : !p,
788
- enumerable: u === null && g ? g.enumerable : !u,
789
- value: c,
790
- writable: d === null && g ? g.writable : !d
791
- });
792
- else if (l || !u && !d && !p)
793
- v[y] = c;
794
- else
795
- throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
796
- }, fe;
797
- }
798
- var ce, ct;
799
- function an() {
800
- if (ct) return ce;
801
- ct = 1;
802
- var r = /* @__PURE__ */ dr(), o = function() {
803
- return !!r;
804
- };
805
- return o.hasArrayLengthDefineBug = function() {
806
- if (!r)
807
- return null;
808
- try {
809
- return r([], "length", { value: 1 }).length !== 1;
810
- } catch {
811
- return !0;
812
- }
813
- }, ce = o, ce;
814
- }
815
- var se, st;
816
- function un() {
817
- if (st) return se;
818
- st = 1;
819
- var r = /* @__PURE__ */ Bt(), o = /* @__PURE__ */ on(), a = /* @__PURE__ */ an()(), f = /* @__PURE__ */ tr(), s = /* @__PURE__ */ ir(), v = r("%Math.floor%");
820
- return se = function(c, u) {
821
- if (typeof c != "function")
822
- throw new s("`fn` is not a function");
823
- if (typeof u != "number" || u < 0 || u > 4294967295 || v(u) !== u)
824
- throw new s("`length` must be a positive 32-bit integer");
825
- var d = arguments.length > 2 && !!arguments[2], p = !0, l = !0;
826
- if ("length" in c && f) {
827
- var g = f(c, "length");
828
- g && !g.configurable && (p = !1), g && !g.writable && (l = !1);
829
- }
830
- return (p || l || !d) && (a ? o(
831
- /** @type {Parameters<define>[0]} */
832
- c,
833
- "length",
834
- u,
835
- !0,
836
- !0
837
- ) : o(
838
- /** @type {Parameters<define>[0]} */
839
- c,
840
- "length",
841
- u
842
- )), c;
843
- }, se;
844
- }
845
- var ye, yt;
846
- function fn() {
847
- if (yt) return ye;
848
- yt = 1;
849
- var r = ar(), o = ve(), a = jt();
850
- return ye = function() {
851
- return a(r, o, arguments);
852
- }, ye;
853
- }
854
- var lt;
855
- function cn() {
856
- return lt || (lt = 1, function(r) {
857
- var o = /* @__PURE__ */ un(), a = /* @__PURE__ */ dr(), f = be(), s = fn();
858
- r.exports = function(y) {
859
- var c = f(arguments), u = y.length - (arguments.length - 1);
860
- return o(
861
- c,
862
- 1 + (u > 0 ? u : 0),
863
- !0
864
- );
865
- }, a ? a(r.exports, "apply", { value: s }) : r.exports.apply = s;
866
- }(ue)), ue.exports;
867
- }
868
- var le, pt;
869
- function qt() {
870
- if (pt) return le;
871
- pt = 1;
872
- var r = en(), o = /* @__PURE__ */ nn(), a = cn(), f = /* @__PURE__ */ ur(), s = /* @__PURE__ */ tr(), v = f("Object.prototype.toString"), y = pr()(), c = typeof globalThis > "u" ? mt : globalThis, u = o(), d = f("String.prototype.slice"), p = Object.getPrototypeOf, l = f("Array.prototype.indexOf", !0) || function(O, P) {
873
- for (var w = 0; w < O.length; w += 1)
874
- if (O[w] === P)
875
- return w;
876
- return -1;
877
- }, g = { __proto__: null };
878
- y && s && p ? r(u, function(I) {
879
- var O = new c[I]();
880
- if (Symbol.toStringTag in O) {
881
- var P = p(O), w = s(P, Symbol.toStringTag);
882
- if (!w) {
883
- var A = p(P);
884
- w = s(A, Symbol.toStringTag);
885
- }
886
- g["$" + I] = a(w.get);
887
- }
888
- }) : r(u, function(I) {
889
- var O = new c[I](), P = O.slice || O.set;
890
- P && (g["$" + I] = a(P));
891
- });
892
- var N = function(O) {
893
- var P = !1;
894
- return r(
895
- // eslint-disable-next-line no-extra-parens
896
- /** @type {Record<`\$${TypedArrayName}`, Getter>} */
897
- /** @type {any} */
898
- g,
899
- /** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
900
- function(w, A) {
901
- if (!P)
902
- try {
903
- "$" + w(O) === A && (P = d(A, 1));
904
- } catch {
905
- }
906
- }
907
- ), P;
908
- }, T = function(O) {
909
- var P = !1;
910
- return r(
911
- // eslint-disable-next-line no-extra-parens
912
- /** @type {Record<`\$${TypedArrayName}`, Getter>} */
913
- /** @type {any} */
914
- g,
915
- /** @type {(getter: typeof cache, name: `\$${import('.').TypedArrayName}`) => void} */
916
- function(w, A) {
917
- if (!P)
918
- try {
919
- w(O), P = d(A, 1);
920
- } catch {
921
- }
922
- }
923
- ), P;
924
- };
925
- return le = function(O) {
926
- if (!O || typeof O != "object")
927
- return !1;
928
- if (!y) {
929
- var P = d(v(O), 8, -1);
930
- return l(u, P) > -1 ? P : P !== "Object" ? !1 : T(O);
931
- }
932
- return s ? N(O) : null;
933
- }, le;
934
- }
935
- var pe, dt;
936
- function sn() {
937
- if (dt) return pe;
938
- dt = 1;
939
- var r = /* @__PURE__ */ qt();
940
- return pe = function(a) {
941
- return !!r(a);
942
- }, pe;
943
- }
944
- var gt;
945
- function yn() {
946
- return gt || (gt = 1, function(r) {
947
- var o = /* @__PURE__ */ Kt(), a = xt(), f = /* @__PURE__ */ qt(), s = /* @__PURE__ */ sn();
948
- function v(n) {
949
- return n.call.bind(n);
950
- }
951
- var y = typeof BigInt < "u", c = typeof Symbol < "u", u = v(Object.prototype.toString), d = v(Number.prototype.valueOf), p = v(String.prototype.valueOf), l = v(Boolean.prototype.valueOf);
952
- if (y)
953
- var g = v(BigInt.prototype.valueOf);
954
- if (c)
955
- var N = v(Symbol.prototype.valueOf);
956
- function T(n, X) {
957
- if (typeof n != "object")
958
- return !1;
959
- try {
960
- return X(n), !0;
961
- } catch {
962
- return !1;
963
- }
964
- }
965
- r.isArgumentsObject = o, r.isGeneratorFunction = a, r.isTypedArray = s;
966
- function I(n) {
967
- return typeof Promise < "u" && n instanceof Promise || n !== null && typeof n == "object" && typeof n.then == "function" && typeof n.catch == "function";
968
- }
969
- r.isPromise = I;
970
- function O(n) {
971
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(n) : s(n) || t(n);
972
- }
973
- r.isArrayBufferView = O;
974
- function P(n) {
975
- return f(n) === "Uint8Array";
976
- }
977
- r.isUint8Array = P;
978
- function w(n) {
979
- return f(n) === "Uint8ClampedArray";
980
- }
981
- r.isUint8ClampedArray = w;
982
- function A(n) {
983
- return f(n) === "Uint16Array";
984
- }
985
- r.isUint16Array = A;
986
- function F(n) {
987
- return f(n) === "Uint32Array";
988
- }
989
- r.isUint32Array = F;
990
- function z(n) {
991
- return f(n) === "Int8Array";
992
- }
993
- r.isInt8Array = z;
994
- function V(n) {
995
- return f(n) === "Int16Array";
996
- }
997
- r.isInt16Array = V;
998
- function B(n) {
999
- return f(n) === "Int32Array";
1000
- }
1001
- r.isInt32Array = B;
1002
- function J(n) {
1003
- return f(n) === "Float32Array";
1004
- }
1005
- r.isFloat32Array = J;
1006
- function L(n) {
1007
- return f(n) === "Float64Array";
1008
- }
1009
- r.isFloat64Array = L;
1010
- function Z(n) {
1011
- return f(n) === "BigInt64Array";
1012
- }
1013
- r.isBigInt64Array = Z;
1014
- function G(n) {
1015
- return f(n) === "BigUint64Array";
1016
- }
1017
- r.isBigUint64Array = G;
1018
- function M(n) {
1019
- return u(n) === "[object Map]";
1020
- }
1021
- M.working = typeof Map < "u" && M(/* @__PURE__ */ new Map());
1022
- function nr(n) {
1023
- return typeof Map > "u" ? !1 : M.working ? M(n) : n instanceof Map;
1024
- }
1025
- r.isMap = nr;
1026
- function _(n) {
1027
- return u(n) === "[object Set]";
1028
- }
1029
- _.working = typeof Set < "u" && _(/* @__PURE__ */ new Set());
1030
- function Q(n) {
1031
- return typeof Set > "u" ? !1 : _.working ? _(n) : n instanceof Set;
1032
- }
1033
- r.isSet = Q;
1034
- function Y(n) {
1035
- return u(n) === "[object WeakMap]";
1036
- }
1037
- Y.working = typeof WeakMap < "u" && Y(/* @__PURE__ */ new WeakMap());
1038
- function x(n) {
1039
- return typeof WeakMap > "u" ? !1 : Y.working ? Y(n) : n instanceof WeakMap;
1040
- }
1041
- r.isWeakMap = x;
1042
- function k(n) {
1043
- return u(n) === "[object WeakSet]";
1044
- }
1045
- k.working = typeof WeakSet < "u" && k(/* @__PURE__ */ new WeakSet());
1046
- function C(n) {
1047
- return k(n);
1048
- }
1049
- r.isWeakSet = C;
1050
- function K(n) {
1051
- return u(n) === "[object ArrayBuffer]";
1052
- }
1053
- K.working = typeof ArrayBuffer < "u" && K(new ArrayBuffer());
1054
- function rr(n) {
1055
- return typeof ArrayBuffer > "u" ? !1 : K.working ? K(n) : n instanceof ArrayBuffer;
1056
- }
1057
- r.isArrayBuffer = rr;
1058
- function e(n) {
1059
- return u(n) === "[object DataView]";
1060
- }
1061
- e.working = typeof ArrayBuffer < "u" && typeof DataView < "u" && e(new DataView(new ArrayBuffer(1), 0, 1));
1062
- function t(n) {
1063
- return typeof DataView > "u" ? !1 : e.working ? e(n) : n instanceof DataView;
1064
- }
1065
- r.isDataView = t;
1066
- var i = typeof SharedArrayBuffer < "u" ? SharedArrayBuffer : void 0;
1067
- function m(n) {
1068
- return u(n) === "[object SharedArrayBuffer]";
1069
- }
1070
- function j(n) {
1071
- return typeof i > "u" ? !1 : (typeof m.working > "u" && (m.working = m(new i())), m.working ? m(n) : n instanceof i);
1072
- }
1073
- r.isSharedArrayBuffer = j;
1074
- function R(n) {
1075
- return u(n) === "[object AsyncFunction]";
1076
- }
1077
- r.isAsyncFunction = R;
1078
- function S(n) {
1079
- return u(n) === "[object Map Iterator]";
1080
- }
1081
- r.isMapIterator = S;
1082
- function h(n) {
1083
- return u(n) === "[object Set Iterator]";
1084
- }
1085
- r.isSetIterator = h;
1086
- function b(n) {
1087
- return u(n) === "[object Generator]";
1088
- }
1089
- r.isGeneratorObject = b;
1090
- function E(n) {
1091
- return u(n) === "[object WebAssembly.Module]";
1092
- }
1093
- r.isWebAssemblyCompiledModule = E;
1094
- function q(n) {
1095
- return T(n, d);
1096
- }
1097
- r.isNumberObject = q;
1098
- function D(n) {
1099
- return T(n, p);
1100
- }
1101
- r.isStringObject = D;
1102
- function U(n) {
1103
- return T(n, l);
1104
- }
1105
- r.isBooleanObject = U;
1106
- function W(n) {
1107
- return y && T(n, g);
1108
- }
1109
- r.isBigIntObject = W;
1110
- function $(n) {
1111
- return c && T(n, N);
1112
- }
1113
- r.isSymbolObject = $;
1114
- function er(n) {
1115
- return q(n) || D(n) || U(n) || W(n) || $(n);
1116
- }
1117
- r.isBoxedPrimitive = er;
1118
- function or(n) {
1119
- return typeof Uint8Array < "u" && (rr(n) || j(n));
1120
- }
1121
- r.isAnyArrayBuffer = or, ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(n) {
1122
- Object.defineProperty(r, n, {
1123
- enumerable: !1,
1124
- value: function() {
1125
- throw new Error(n + " is not supported in userland");
1126
- }
1127
- });
1128
- });
1129
- }(vr)), vr;
1130
- }
1131
- var de, vt;
1132
- function ln() {
1133
- return vt || (vt = 1, de = function(o) {
1134
- return o && typeof o == "object" && typeof o.copy == "function" && typeof o.fill == "function" && typeof o.readUInt8 == "function";
1135
- }), de;
1136
- }
1137
- var lr = { exports: {} }, bt;
1138
- function pn() {
1139
- return bt || (bt = 1, typeof Object.create == "function" ? lr.exports = function(o, a) {
1140
- a && (o.super_ = a, o.prototype = Object.create(a.prototype, {
1141
- constructor: {
1142
- value: o,
1143
- enumerable: !1,
1144
- writable: !0,
1145
- configurable: !0
1146
- }
1147
- }));
1148
- } : lr.exports = function(o, a) {
1149
- if (a) {
1150
- o.super_ = a;
1151
- var f = function() {
1152
- };
1153
- f.prototype = a.prototype, o.prototype = new f(), o.prototype.constructor = o;
1154
- }
1155
- }), lr.exports;
1156
- }
1157
- var ht;
1158
- function dn() {
1159
- return ht || (ht = 1, function(r) {
1160
- var o = Object.getOwnPropertyDescriptors || function(t) {
1161
- for (var i = Object.keys(t), m = {}, j = 0; j < i.length; j++)
1162
- m[i[j]] = Object.getOwnPropertyDescriptor(t, i[j]);
1163
- return m;
1164
- }, a = /%[sdj%]/g;
1165
- r.format = function(e) {
1166
- if (!z(e)) {
1167
- for (var t = [], i = 0; i < arguments.length; i++)
1168
- t.push(y(arguments[i]));
1169
- return t.join(" ");
1170
- }
1171
- for (var i = 1, m = arguments, j = m.length, R = String(e).replace(a, function(h) {
1172
- if (h === "%%") return "%";
1173
- if (i >= j) return h;
1174
- switch (h) {
1175
- case "%s":
1176
- return String(m[i++]);
1177
- case "%d":
1178
- return Number(m[i++]);
1179
- case "%j":
1180
- try {
1181
- return JSON.stringify(m[i++]);
1182
- } catch {
1183
- return "[Circular]";
1184
- }
1185
- default:
1186
- return h;
1187
- }
1188
- }), S = m[i]; i < j; S = m[++i])
1189
- w(S) || !L(S) ? R += " " + S : R += " " + y(S);
1190
- return R;
1191
- }, r.deprecate = function(e, t) {
1192
- if (typeof process < "u" && process.noDeprecation === !0)
1193
- return e;
1194
- if (typeof process > "u")
1195
- return function() {
1196
- return r.deprecate(e, t).apply(this, arguments);
1197
- };
1198
- var i = !1;
1199
- function m() {
1200
- if (!i) {
1201
- if (process.throwDeprecation)
1202
- throw new Error(t);
1203
- process.traceDeprecation ? console.trace(t) : console.error(t), i = !0;
1204
- }
1205
- return e.apply(this, arguments);
1206
- }
1207
- return m;
1208
- };
1209
- var f = {}, s = /^$/;
1210
- if (process.env.NODE_DEBUG) {
1211
- var v = process.env.NODE_DEBUG;
1212
- v = v.replace(/[|\\{}()[\]^$+?.]/g, "\\$&").replace(/\*/g, ".*").replace(/,/g, "$|^").toUpperCase(), s = new RegExp("^" + v + "$", "i");
1213
- }
1214
- r.debuglog = function(e) {
1215
- if (e = e.toUpperCase(), !f[e])
1216
- if (s.test(e)) {
1217
- var t = process.pid;
1218
- f[e] = function() {
1219
- var i = r.format.apply(r, arguments);
1220
- console.error("%s %d: %s", e, t, i);
1221
- };
1222
- } else
1223
- f[e] = function() {
1224
- };
1225
- return f[e];
1226
- };
1227
- function y(e, t) {
1228
- var i = {
1229
- seen: [],
1230
- stylize: u
1231
- };
1232
- return arguments.length >= 3 && (i.depth = arguments[2]), arguments.length >= 4 && (i.colors = arguments[3]), P(t) ? i.showHidden = t : t && r._extend(i, t), B(i.showHidden) && (i.showHidden = !1), B(i.depth) && (i.depth = 2), B(i.colors) && (i.colors = !1), B(i.customInspect) && (i.customInspect = !0), i.colors && (i.stylize = c), p(i, e, i.depth);
1233
- }
1234
- r.inspect = y, y.colors = {
1235
- bold: [1, 22],
1236
- italic: [3, 23],
1237
- underline: [4, 24],
1238
- inverse: [7, 27],
1239
- white: [37, 39],
1240
- grey: [90, 39],
1241
- black: [30, 39],
1242
- blue: [34, 39],
1243
- cyan: [36, 39],
1244
- green: [32, 39],
1245
- magenta: [35, 39],
1246
- red: [31, 39],
1247
- yellow: [33, 39]
1248
- }, y.styles = {
1249
- special: "cyan",
1250
- number: "yellow",
1251
- boolean: "yellow",
1252
- undefined: "grey",
1253
- null: "bold",
1254
- string: "green",
1255
- date: "magenta",
1256
- // "name": intentionally not styling
1257
- regexp: "red"
1258
- };
1259
- function c(e, t) {
1260
- var i = y.styles[t];
1261
- return i ? "\x1B[" + y.colors[i][0] + "m" + e + "\x1B[" + y.colors[i][1] + "m" : e;
1262
- }
1263
- function u(e, t) {
1264
- return e;
1265
- }
1266
- function d(e) {
1267
- var t = {};
1268
- return e.forEach(function(i, m) {
1269
- t[i] = !0;
1270
- }), t;
1271
- }
1272
- function p(e, t, i) {
1273
- if (e.customInspect && t && M(t.inspect) && // Filter out the util module, it's inspect function is special
1274
- t.inspect !== r.inspect && // Also filter out any prototype objects using the circular check.
1275
- !(t.constructor && t.constructor.prototype === t)) {
1276
- var m = t.inspect(i, e);
1277
- return z(m) || (m = p(e, m, i)), m;
1278
- }
1279
- var j = l(e, t);
1280
- if (j)
1281
- return j;
1282
- var R = Object.keys(t), S = d(R);
1283
- if (e.showHidden && (R = Object.getOwnPropertyNames(t)), G(t) && (R.indexOf("message") >= 0 || R.indexOf("description") >= 0))
1284
- return g(t);
1285
- if (R.length === 0) {
1286
- if (M(t)) {
1287
- var h = t.name ? ": " + t.name : "";
1288
- return e.stylize("[Function" + h + "]", "special");
1289
- }
1290
- if (J(t))
1291
- return e.stylize(RegExp.prototype.toString.call(t), "regexp");
1292
- if (Z(t))
1293
- return e.stylize(Date.prototype.toString.call(t), "date");
1294
- if (G(t))
1295
- return g(t);
1296
- }
1297
- var b = "", E = !1, q = ["{", "}"];
1298
- if (O(t) && (E = !0, q = ["[", "]"]), M(t)) {
1299
- var D = t.name ? ": " + t.name : "";
1300
- b = " [Function" + D + "]";
1301
- }
1302
- if (J(t) && (b = " " + RegExp.prototype.toString.call(t)), Z(t) && (b = " " + Date.prototype.toUTCString.call(t)), G(t) && (b = " " + g(t)), R.length === 0 && (!E || t.length == 0))
1303
- return q[0] + b + q[1];
1304
- if (i < 0)
1305
- return J(t) ? e.stylize(RegExp.prototype.toString.call(t), "regexp") : e.stylize("[Object]", "special");
1306
- e.seen.push(t);
1307
- var U;
1308
- return E ? U = N(e, t, i, S, R) : U = R.map(function(W) {
1309
- return T(e, t, i, S, W, E);
1310
- }), e.seen.pop(), I(U, b, q);
1311
- }
1312
- function l(e, t) {
1313
- if (B(t))
1314
- return e.stylize("undefined", "undefined");
1315
- if (z(t)) {
1316
- var i = "'" + JSON.stringify(t).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'";
1317
- return e.stylize(i, "string");
1318
- }
1319
- if (F(t))
1320
- return e.stylize("" + t, "number");
1321
- if (P(t))
1322
- return e.stylize("" + t, "boolean");
1323
- if (w(t))
1324
- return e.stylize("null", "null");
1325
- }
1326
- function g(e) {
1327
- return "[" + Error.prototype.toString.call(e) + "]";
1328
- }
1329
- function N(e, t, i, m, j) {
1330
- for (var R = [], S = 0, h = t.length; S < h; ++S)
1331
- k(t, String(S)) ? R.push(T(
1332
- e,
1333
- t,
1334
- i,
1335
- m,
1336
- String(S),
1337
- !0
1338
- )) : R.push("");
1339
- return j.forEach(function(b) {
1340
- b.match(/^\d+$/) || R.push(T(
1341
- e,
1342
- t,
1343
- i,
1344
- m,
1345
- b,
1346
- !0
1347
- ));
1348
- }), R;
1349
- }
1350
- function T(e, t, i, m, j, R) {
1351
- var S, h, b;
1352
- if (b = Object.getOwnPropertyDescriptor(t, j) || { value: t[j] }, b.get ? b.set ? h = e.stylize("[Getter/Setter]", "special") : h = e.stylize("[Getter]", "special") : b.set && (h = e.stylize("[Setter]", "special")), k(m, j) || (S = "[" + j + "]"), h || (e.seen.indexOf(b.value) < 0 ? (w(i) ? h = p(e, b.value, null) : h = p(e, b.value, i - 1), h.indexOf(`
1353
- `) > -1 && (R ? h = h.split(`
1354
- `).map(function(E) {
1355
- return " " + E;
1356
- }).join(`
1357
- `).slice(2) : h = `
1358
- ` + h.split(`
1359
- `).map(function(E) {
1360
- return " " + E;
1361
- }).join(`
1362
- `))) : h = e.stylize("[Circular]", "special")), B(S)) {
1363
- if (R && j.match(/^\d+$/))
1364
- return h;
1365
- S = JSON.stringify("" + j), S.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (S = S.slice(1, -1), S = e.stylize(S, "name")) : (S = S.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), S = e.stylize(S, "string"));
1366
- }
1367
- return S + ": " + h;
1368
- }
1369
- function I(e, t, i) {
1370
- var m = e.reduce(function(j, R) {
1371
- return R.indexOf(`
1372
- `) >= 0, j + R.replace(/\u001b\[\d\d?m/g, "").length + 1;
1373
- }, 0);
1374
- return m > 60 ? i[0] + (t === "" ? "" : t + `
1375
- `) + " " + e.join(`,
1376
- `) + " " + i[1] : i[0] + t + " " + e.join(", ") + " " + i[1];
1377
- }
1378
- r.types = yn();
1379
- function O(e) {
1380
- return Array.isArray(e);
1381
- }
1382
- r.isArray = O;
1383
- function P(e) {
1384
- return typeof e == "boolean";
1385
- }
1386
- r.isBoolean = P;
1387
- function w(e) {
1388
- return e === null;
1389
- }
1390
- r.isNull = w;
1391
- function A(e) {
1392
- return e == null;
1393
- }
1394
- r.isNullOrUndefined = A;
1395
- function F(e) {
1396
- return typeof e == "number";
1397
- }
1398
- r.isNumber = F;
1399
- function z(e) {
1400
- return typeof e == "string";
1401
- }
1402
- r.isString = z;
1403
- function V(e) {
1404
- return typeof e == "symbol";
1405
- }
1406
- r.isSymbol = V;
1407
- function B(e) {
1408
- return e === void 0;
1409
- }
1410
- r.isUndefined = B;
1411
- function J(e) {
1412
- return L(e) && _(e) === "[object RegExp]";
1413
- }
1414
- r.isRegExp = J, r.types.isRegExp = J;
1415
- function L(e) {
1416
- return typeof e == "object" && e !== null;
1417
- }
1418
- r.isObject = L;
1419
- function Z(e) {
1420
- return L(e) && _(e) === "[object Date]";
1421
- }
1422
- r.isDate = Z, r.types.isDate = Z;
1423
- function G(e) {
1424
- return L(e) && (_(e) === "[object Error]" || e instanceof Error);
1425
- }
1426
- r.isError = G, r.types.isNativeError = G;
1427
- function M(e) {
1428
- return typeof e == "function";
1429
- }
1430
- r.isFunction = M;
1431
- function nr(e) {
1432
- return e === null || typeof e == "boolean" || typeof e == "number" || typeof e == "string" || typeof e == "symbol" || // ES6 symbol
1433
- typeof e > "u";
1434
- }
1435
- r.isPrimitive = nr, r.isBuffer = ln();
1436
- function _(e) {
1437
- return Object.prototype.toString.call(e);
1438
- }
1439
- function Q(e) {
1440
- return e < 10 ? "0" + e.toString(10) : e.toString(10);
1441
- }
1442
- var Y = [
1443
- "Jan",
1444
- "Feb",
1445
- "Mar",
1446
- "Apr",
1447
- "May",
1448
- "Jun",
1449
- "Jul",
1450
- "Aug",
1451
- "Sep",
1452
- "Oct",
1453
- "Nov",
1454
- "Dec"
1455
- ];
1456
- function x() {
1457
- var e = /* @__PURE__ */ new Date(), t = [
1458
- Q(e.getHours()),
1459
- Q(e.getMinutes()),
1460
- Q(e.getSeconds())
1461
- ].join(":");
1462
- return [e.getDate(), Y[e.getMonth()], t].join(" ");
1463
- }
1464
- r.log = function() {
1465
- console.log("%s - %s", x(), r.format.apply(r, arguments));
1466
- }, r.inherits = pn(), r._extend = function(e, t) {
1467
- if (!t || !L(t)) return e;
1468
- for (var i = Object.keys(t), m = i.length; m--; )
1469
- e[i[m]] = t[i[m]];
1470
- return e;
1471
- };
1472
- function k(e, t) {
1473
- return Object.prototype.hasOwnProperty.call(e, t);
1474
- }
1475
- var C = typeof Symbol < "u" ? Symbol("util.promisify.custom") : void 0;
1476
- r.promisify = function(t) {
1477
- if (typeof t != "function")
1478
- throw new TypeError('The "original" argument must be of type Function');
1479
- if (C && t[C]) {
1480
- var i = t[C];
1481
- if (typeof i != "function")
1482
- throw new TypeError('The "util.promisify.custom" argument must be of type Function');
1483
- return Object.defineProperty(i, C, {
1484
- value: i,
1485
- enumerable: !1,
1486
- writable: !1,
1487
- configurable: !0
1488
- }), i;
1489
- }
1490
- function i() {
1491
- for (var m, j, R = new Promise(function(b, E) {
1492
- m = b, j = E;
1493
- }), S = [], h = 0; h < arguments.length; h++)
1494
- S.push(arguments[h]);
1495
- S.push(function(b, E) {
1496
- b ? j(b) : m(E);
1497
- });
1498
- try {
1499
- t.apply(this, S);
1500
- } catch (b) {
1501
- j(b);
1502
- }
1503
- return R;
1504
- }
1505
- return Object.setPrototypeOf(i, Object.getPrototypeOf(t)), C && Object.defineProperty(i, C, {
1506
- value: i,
1507
- enumerable: !1,
1508
- writable: !1,
1509
- configurable: !0
1510
- }), Object.defineProperties(
1511
- i,
1512
- o(t)
1513
- );
1514
- }, r.promisify.custom = C;
1515
- function K(e, t) {
1516
- if (!e) {
1517
- var i = new Error("Promise was rejected with a falsy value");
1518
- i.reason = e, e = i;
1519
- }
1520
- return t(e);
1521
- }
1522
- function rr(e) {
1523
- if (typeof e != "function")
1524
- throw new TypeError('The "original" argument must be of type Function');
1525
- function t() {
1526
- for (var i = [], m = 0; m < arguments.length; m++)
1527
- i.push(arguments[m]);
1528
- var j = i.pop();
1529
- if (typeof j != "function")
1530
- throw new TypeError("The last argument must be of type Function");
1531
- var R = this, S = function() {
1532
- return j.apply(R, arguments);
1533
- };
1534
- e.apply(this, i).then(
1535
- function(h) {
1536
- process.nextTick(S.bind(null, null, h));
1537
- },
1538
- function(h) {
1539
- process.nextTick(K.bind(null, h, S));
1540
- }
1541
- );
1542
- }
1543
- return Object.setPrototypeOf(t, Object.getPrototypeOf(e)), Object.defineProperties(
1544
- t,
1545
- o(e)
1546
- ), t;
1547
- }
1548
- r.callbackify = rr;
1549
- }(gr)), gr;
1550
- }
1551
- var gn = dn();
1552
- global.TextEncoder = gn.TextEncoder;
1
+ var o = Object.defineProperty;
2
+ var s = (e, r, n) => r in e ? o(e, r, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[r] = n;
3
+ var t = (e, r, n) => s(e, typeof r != "symbol" ? r + "" : r, n);
4
+ import "./index-DuZiPGs-.js";
1553
5
  globalThis.IntersectionObserver = class {
1554
6
  // eslint-disable-next-line @typescript-eslint/no-useless-constructor
1555
7
  constructor() {
1556
- yr(this, "root", null);
1557
- yr(this, "rootMargin", "");
1558
- yr(this, "thresholds", []);
8
+ t(this, "root", null);
9
+ t(this, "rootMargin", "");
10
+ t(this, "thresholds", []);
1559
11
  }
1560
12
  disconnect() {
1561
13
  return null;