@everymatrix/casino-tournaments-page-controller 1.54.6 → 1.54.8

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 (37) hide show
  1. package/components/CasinoTournamentsDetails-BSNoKRma.js +861 -0
  2. package/components/{CasinoTournamentsDetails-JOsuj-PP.js → CasinoTournamentsDetails-CVxDiOAO.js} +18 -18
  3. package/components/CasinoTournamentsDetails-DI0YyeeU.cjs +1 -0
  4. package/components/CasinoTournamentsPageController-DWvYk53i.js +8592 -0
  5. package/components/{CasinoTournamentsPageController-Cxpc0ORB.js → CasinoTournamentsPageController-DwZG__bB.js} +956 -964
  6. package/components/CasinoTournamentsPageController-LSw5B943.cjs +25 -0
  7. package/components/CasinoTournamentsRank-BZYmDz4q.cjs +1 -0
  8. package/components/{CasinoTournamentsRank-DJl7wsYz.js → CasinoTournamentsRank-CnKJqQcK.js} +53 -53
  9. package/components/CasinoTournamentsRank-tkhsggHN.js +264 -0
  10. package/components/CasinoTournamentsTab-BKnWUeAG.js +302 -0
  11. package/components/{CasinoTournamentsTab-CDNMEV6z.js → CasinoTournamentsTab-BkWdYZLd.js} +32 -32
  12. package/components/CasinoTournamentsTab-qH-gBQ_z.cjs +1 -0
  13. package/components/{CasinoTournamentsTable-BQzvaTxq.js → CasinoTournamentsTable-4nbq-3v8.js} +81 -81
  14. package/components/CasinoTournamentsTable-8Gkk7ZqJ.js +1736 -0
  15. package/components/CasinoTournamentsTable-BksEVEE1.cjs +1 -0
  16. package/components/CasinoTournamentsThumbnail-BOuq6HV_.cjs +4 -0
  17. package/components/{CasinoTournamentsThumbnail-CNlmRjTA.js → CasinoTournamentsThumbnail-BxIipyzJ.js} +42 -42
  18. package/components/CasinoTournamentsThumbnail-Cv8CGOs-.js +897 -0
  19. package/components/CasinoTournamentsThumbnailController-CwQQxUtD.js +1418 -0
  20. package/components/{CasinoTournamentsThumbnailController-148eeH0X.js → CasinoTournamentsThumbnailController-KRvn0xDK.js} +72 -72
  21. package/components/CasinoTournamentsThumbnailController-xcHMn9sH.cjs +1 -0
  22. package/components/{CasinoTournamentsThumbnailDuration-BynapgZz.js → CasinoTournamentsThumbnailDuration-Cr6PahQA.js} +50 -50
  23. package/components/CasinoTournamentsThumbnailDuration-D0MOniOb.js +505 -0
  24. package/components/CasinoTournamentsThumbnailDuration-DQqJAAzd.cjs +1 -0
  25. package/components/{CasinoTournamentsThumbnailGamesSlider-Dt8O7QxJ.js → CasinoTournamentsThumbnailGamesSlider-8r_RbGV1.js} +27 -27
  26. package/components/CasinoTournamentsThumbnailGamesSlider-B03ORH8G.cjs +1 -0
  27. package/components/CasinoTournamentsThumbnailGamesSlider-BV_k_Qhn.js +442 -0
  28. package/components/{CasinoTournamentsThumbnailPrizes-Cl9bg7bc.js → CasinoTournamentsThumbnailPrizes-BiICLPY7.js} +35 -35
  29. package/components/CasinoTournamentsThumbnailPrizes-C9muPCcn.js +316 -0
  30. package/components/CasinoTournamentsThumbnailPrizes-D2OWP_cX.cjs +1 -0
  31. package/components/{CasinoTournamentsThumbnailRule-DpZvBivJ.js → CasinoTournamentsThumbnailRule-CUavyK3p.js} +61 -61
  32. package/components/CasinoTournamentsThumbnailRule-DANmxyGe.js +1111 -0
  33. package/components/CasinoTournamentsThumbnailRule-hZ7j2zCb.cjs +1 -0
  34. package/es2015/casino-tournaments-page-controller.cjs +1 -0
  35. package/es2015/casino-tournaments-page-controller.js +16 -0
  36. package/esnext/casino-tournaments-page-controller.js +1 -1
  37. package/package.json +1 -1
@@ -0,0 +1,861 @@
1
+ var nt = Object.defineProperty, st = Object.defineProperties;
2
+ var it = Object.getOwnPropertyDescriptors;
3
+ var U = Object.getOwnPropertySymbols;
4
+ var rt = Object.prototype.hasOwnProperty, ot = Object.prototype.propertyIsEnumerable;
5
+ var P = (e, t, n) => t in e ? nt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, W = (e, t) => {
6
+ for (var n in t || (t = {}))
7
+ rt.call(t, n) && P(e, n, t[n]);
8
+ if (U)
9
+ for (var n of U(t))
10
+ ot.call(t, n) && P(e, n, t[n]);
11
+ return e;
12
+ }, J = (e, t) => st(e, it(t));
13
+ var h = (e, t, n) => P(e, typeof t != "symbol" ? t + "" : t, n);
14
+ var V = (e, t, n) => new Promise((s, r) => {
15
+ var i = (f) => {
16
+ try {
17
+ c(n.next(f));
18
+ } catch (l) {
19
+ r(l);
20
+ }
21
+ }, o = (f) => {
22
+ try {
23
+ c(n.throw(f));
24
+ } catch (l) {
25
+ r(l);
26
+ }
27
+ }, c = (f) => f.done ? s(f.value) : Promise.resolve(f.value).then(i, o);
28
+ c((n = n.apply(e, t)).next());
29
+ });
30
+ function b() {
31
+ }
32
+ function Y(e) {
33
+ return e();
34
+ }
35
+ function G() {
36
+ return /* @__PURE__ */ Object.create(null);
37
+ }
38
+ function O(e) {
39
+ e.forEach(Y);
40
+ }
41
+ function F(e) {
42
+ return typeof e == "function";
43
+ }
44
+ function lt(e, t) {
45
+ return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
+ }
47
+ let M;
48
+ function Bt(e, t) {
49
+ return e === t ? !0 : (M || (M = document.createElement("a")), M.href = t, e === M.href);
50
+ }
51
+ function ct(e) {
52
+ return Object.keys(e).length === 0;
53
+ }
54
+ function ut(e, ...t) {
55
+ if (e == null) {
56
+ for (const s of t)
57
+ s(void 0);
58
+ return b;
59
+ }
60
+ const n = e.subscribe(...t);
61
+ return n.unsubscribe ? () => n.unsubscribe() : n;
62
+ }
63
+ function zt(e, t, n) {
64
+ e.$$.on_destroy.push(ut(t, n));
65
+ }
66
+ function ft(e) {
67
+ return e && F(e.destroy) ? e.destroy : b;
68
+ }
69
+ function m(e, t) {
70
+ e.appendChild(t);
71
+ }
72
+ function at(e, t, n) {
73
+ const s = dt(e);
74
+ if (!s.getElementById(t)) {
75
+ const r = _("style");
76
+ r.id = t, r.textContent = n, ht(s, r);
77
+ }
78
+ }
79
+ function dt(e) {
80
+ if (!e) return document;
81
+ const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
82
+ return t && /** @type {ShadowRoot} */
83
+ t.host ? (
84
+ /** @type {ShadowRoot} */
85
+ t
86
+ ) : e.ownerDocument;
87
+ }
88
+ function ht(e, t) {
89
+ return m(
90
+ /** @type {Document} */
91
+ e.head || e,
92
+ t
93
+ ), t.sheet;
94
+ }
95
+ function y(e, t, n) {
96
+ e.insertBefore(t, n || null);
97
+ }
98
+ function g(e) {
99
+ e.parentNode && e.parentNode.removeChild(e);
100
+ }
101
+ function Ht(e, t) {
102
+ for (let n = 0; n < e.length; n += 1)
103
+ e[n] && e[n].d(t);
104
+ }
105
+ function _(e) {
106
+ return document.createElement(e);
107
+ }
108
+ function T(e) {
109
+ return document.createElementNS("http://www.w3.org/2000/svg", e);
110
+ }
111
+ function q(e) {
112
+ return document.createTextNode(e);
113
+ }
114
+ function Z() {
115
+ return q(" ");
116
+ }
117
+ function Rt() {
118
+ return q("");
119
+ }
120
+ function z(e, t, n, s) {
121
+ return e.addEventListener(t, n, s), () => e.removeEventListener(t, n, s);
122
+ }
123
+ function u(e, t, n) {
124
+ n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
125
+ }
126
+ function It(e, t, n) {
127
+ const s = t.toLowerCase();
128
+ s in e ? e[s] = typeof e[s] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : u(e, t, n);
129
+ }
130
+ function $t(e) {
131
+ return Array.from(e.childNodes);
132
+ }
133
+ function pt(e, t) {
134
+ t = "" + t, e.data !== t && (e.data = /** @type {string} */
135
+ t);
136
+ }
137
+ function qt(e, t, n, s) {
138
+ n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
139
+ }
140
+ let S;
141
+ function mt() {
142
+ if (S === void 0) {
143
+ S = !1;
144
+ try {
145
+ typeof window != "undefined" && window.parent && window.parent.document;
146
+ } catch (e) {
147
+ S = !0;
148
+ }
149
+ }
150
+ return S;
151
+ }
152
+ function Ut(e, t) {
153
+ getComputedStyle(e).position === "static" && (e.style.position = "relative");
154
+ const s = _("iframe");
155
+ s.setAttribute(
156
+ "style",
157
+ "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
158
+ ), s.setAttribute("aria-hidden", "true"), s.tabIndex = -1;
159
+ const r = mt();
160
+ let i;
161
+ return r ? (s.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", i = z(
162
+ window,
163
+ "message",
164
+ /** @param {MessageEvent} event */
165
+ (o) => {
166
+ o.source === s.contentWindow && t();
167
+ }
168
+ )) : (s.src = "about:blank", s.onload = () => {
169
+ i = z(s.contentWindow, "resize", t), t();
170
+ }), m(e, s), () => {
171
+ (r || i && s.contentWindow) && i(), g(s);
172
+ };
173
+ }
174
+ function Wt(e, t, n) {
175
+ e.classList.toggle(t, !!n);
176
+ }
177
+ class Jt {
178
+ constructor(t = !1) {
179
+ /**
180
+ * @private
181
+ * @default false
182
+ */
183
+ h(this, "is_svg", !1);
184
+ /** parent for creating node */
185
+ h(this, "e");
186
+ /** html tag nodes */
187
+ h(this, "n");
188
+ /** target */
189
+ h(this, "t");
190
+ /** anchor */
191
+ h(this, "a");
192
+ this.is_svg = t, this.e = this.n = null;
193
+ }
194
+ /**
195
+ * @param {string} html
196
+ * @returns {void}
197
+ */
198
+ c(t) {
199
+ this.h(t);
200
+ }
201
+ /**
202
+ * @param {string} html
203
+ * @param {HTMLElement | SVGElement} target
204
+ * @param {HTMLElement | SVGElement} anchor
205
+ * @returns {void}
206
+ */
207
+ m(t, n, s = null) {
208
+ this.e || (this.is_svg ? this.e = T(
209
+ /** @type {keyof SVGElementTagNameMap} */
210
+ n.nodeName
211
+ ) : this.e = _(
212
+ /** @type {keyof HTMLElementTagNameMap} */
213
+ n.nodeType === 11 ? "TEMPLATE" : n.nodeName
214
+ ), this.t = n.tagName !== "TEMPLATE" ? n : (
215
+ /** @type {HTMLTemplateElement} */
216
+ n.content
217
+ ), this.c(t)), this.i(s);
218
+ }
219
+ /**
220
+ * @param {string} html
221
+ * @returns {void}
222
+ */
223
+ h(t) {
224
+ this.e.innerHTML = t, this.n = Array.from(
225
+ this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
226
+ );
227
+ }
228
+ /**
229
+ * @returns {void} */
230
+ i(t) {
231
+ for (let n = 0; n < this.n.length; n += 1)
232
+ y(this.t, this.n[n], t);
233
+ }
234
+ /**
235
+ * @param {string} html
236
+ * @returns {void}
237
+ */
238
+ p(t) {
239
+ this.d(), this.h(t), this.i(this.a);
240
+ }
241
+ /**
242
+ * @returns {void} */
243
+ d() {
244
+ this.n.forEach(g);
245
+ }
246
+ }
247
+ function _t(e) {
248
+ const t = {};
249
+ return e.childNodes.forEach(
250
+ /** @param {Element} node */
251
+ (n) => {
252
+ t[n.slot || "default"] = !0;
253
+ }
254
+ ), t;
255
+ }
256
+ let L;
257
+ function v(e) {
258
+ L = e;
259
+ }
260
+ function gt() {
261
+ if (!L) throw new Error("Function called outside component initialization");
262
+ return L;
263
+ }
264
+ function Vt(e) {
265
+ gt().$$.on_mount.push(e);
266
+ }
267
+ const k = [], H = [];
268
+ let C = [];
269
+ const K = [], bt = /* @__PURE__ */ Promise.resolve();
270
+ let R = !1;
271
+ function yt() {
272
+ R || (R = !0, bt.then(E));
273
+ }
274
+ function I(e) {
275
+ C.push(e);
276
+ }
277
+ const B = /* @__PURE__ */ new Set();
278
+ let x = 0;
279
+ function E() {
280
+ if (x !== 0)
281
+ return;
282
+ const e = L;
283
+ do {
284
+ try {
285
+ for (; x < k.length; ) {
286
+ const t = k[x];
287
+ x++, v(t), wt(t.$$);
288
+ }
289
+ } catch (t) {
290
+ throw k.length = 0, x = 0, t;
291
+ }
292
+ for (v(null), k.length = 0, x = 0; H.length; ) H.pop()();
293
+ for (let t = 0; t < C.length; t += 1) {
294
+ const n = C[t];
295
+ B.has(n) || (B.add(n), n());
296
+ }
297
+ C.length = 0;
298
+ } while (k.length);
299
+ for (; K.length; )
300
+ K.pop()();
301
+ R = !1, B.clear(), v(e);
302
+ }
303
+ function wt(e) {
304
+ if (e.fragment !== null) {
305
+ e.update(), O(e.before_update);
306
+ const t = e.dirty;
307
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(I);
308
+ }
309
+ }
310
+ function xt(e) {
311
+ const t = [], n = [];
312
+ C.forEach((s) => e.indexOf(s) === -1 ? t.push(s) : n.push(s)), n.forEach((s) => s()), C = t;
313
+ }
314
+ const kt = /* @__PURE__ */ new Set();
315
+ function Et(e, t) {
316
+ e && e.i && (kt.delete(e), e.i(t));
317
+ }
318
+ function Gt(e) {
319
+ return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
320
+ }
321
+ function Ct(e, t, n) {
322
+ const { fragment: s, after_update: r } = e.$$;
323
+ s && s.m(t, n), I(() => {
324
+ const i = e.$$.on_mount.map(Y).filter(F);
325
+ e.$$.on_destroy ? e.$$.on_destroy.push(...i) : O(i), e.$$.on_mount = [];
326
+ }), r.forEach(I);
327
+ }
328
+ function vt(e, t) {
329
+ const n = e.$$;
330
+ n.fragment !== null && (xt(n.after_update), O(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
331
+ }
332
+ function Tt(e, t) {
333
+ e.$$.dirty[0] === -1 && (k.push(e), yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
334
+ }
335
+ function Lt(e, t, n, s, r, i, o = null, c = [-1]) {
336
+ const f = L;
337
+ v(e);
338
+ const l = e.$$ = {
339
+ fragment: null,
340
+ ctx: [],
341
+ // state
342
+ props: i,
343
+ update: b,
344
+ not_equal: r,
345
+ bound: G(),
346
+ // lifecycle
347
+ on_mount: [],
348
+ on_destroy: [],
349
+ on_disconnect: [],
350
+ before_update: [],
351
+ after_update: [],
352
+ context: new Map(t.context || (f ? f.$$.context : [])),
353
+ // everything else
354
+ callbacks: G(),
355
+ dirty: c,
356
+ skip_bound: !1,
357
+ root: t.target || f.$$.root
358
+ };
359
+ o && o(l.root);
360
+ let $ = !1;
361
+ if (l.ctx = n ? n(e, t.props || {}, (a, p, ...A) => {
362
+ const j = A.length ? A[0] : p;
363
+ return l.ctx && r(l.ctx[a], l.ctx[a] = j) && (!l.skip_bound && l.bound[a] && l.bound[a](j), $ && Tt(e, a)), p;
364
+ }) : [], l.update(), $ = !0, O(l.before_update), l.fragment = s ? s(l.ctx) : !1, t.target) {
365
+ if (t.hydrate) {
366
+ const a = $t(t.target);
367
+ l.fragment && l.fragment.l(a), a.forEach(g);
368
+ } else
369
+ l.fragment && l.fragment.c();
370
+ t.intro && Et(e.$$.fragment), Ct(e, t.target, t.anchor), E();
371
+ }
372
+ v(f);
373
+ }
374
+ let tt;
375
+ typeof HTMLElement == "function" && (tt = class extends HTMLElement {
376
+ constructor(t, n, s) {
377
+ super();
378
+ /** The Svelte component constructor */
379
+ h(this, "$$ctor");
380
+ /** Slots */
381
+ h(this, "$$s");
382
+ /** The Svelte component instance */
383
+ h(this, "$$c");
384
+ /** Whether or not the custom element is connected */
385
+ h(this, "$$cn", !1);
386
+ /** Component props data */
387
+ h(this, "$$d", {});
388
+ /** `true` if currently in the process of reflecting component props back to attributes */
389
+ h(this, "$$r", !1);
390
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
391
+ h(this, "$$p_d", {});
392
+ /** @type {Record<string, Function[]>} Event listeners */
393
+ h(this, "$$l", {});
394
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
395
+ h(this, "$$l_u", /* @__PURE__ */ new Map());
396
+ this.$$ctor = t, this.$$s = n, s && this.attachShadow({ mode: "open" });
397
+ }
398
+ addEventListener(t, n, s) {
399
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
400
+ const r = this.$$c.$on(t, n);
401
+ this.$$l_u.set(n, r);
402
+ }
403
+ super.addEventListener(t, n, s);
404
+ }
405
+ removeEventListener(t, n, s) {
406
+ if (super.removeEventListener(t, n, s), this.$$c) {
407
+ const r = this.$$l_u.get(n);
408
+ r && (r(), this.$$l_u.delete(n));
409
+ }
410
+ }
411
+ connectedCallback() {
412
+ return V(this, null, function* () {
413
+ if (this.$$cn = !0, !this.$$c) {
414
+ let t = function(i) {
415
+ return () => {
416
+ let o;
417
+ return {
418
+ c: function() {
419
+ o = _("slot"), i !== "default" && u(o, "name", i);
420
+ },
421
+ /**
422
+ * @param {HTMLElement} target
423
+ * @param {HTMLElement} [anchor]
424
+ */
425
+ m: function(l, $) {
426
+ y(l, o, $);
427
+ },
428
+ d: function(l) {
429
+ l && g(o);
430
+ }
431
+ };
432
+ };
433
+ };
434
+ if (yield Promise.resolve(), !this.$$cn || this.$$c)
435
+ return;
436
+ const n = {}, s = _t(this);
437
+ for (const i of this.$$s)
438
+ i in s && (n[i] = [t(i)]);
439
+ for (const i of this.attributes) {
440
+ const o = this.$$g_p(i.name);
441
+ o in this.$$d || (this.$$d[o] = D(o, i.value, this.$$p_d, "toProp"));
442
+ }
443
+ for (const i in this.$$p_d)
444
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
445
+ this.$$c = new this.$$ctor({
446
+ target: this.shadowRoot || this,
447
+ props: J(W({}, this.$$d), {
448
+ $$slots: n,
449
+ $$scope: {
450
+ ctx: []
451
+ }
452
+ })
453
+ });
454
+ const r = () => {
455
+ this.$$r = !0;
456
+ for (const i in this.$$p_d)
457
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
458
+ const o = D(
459
+ i,
460
+ this.$$d[i],
461
+ this.$$p_d,
462
+ "toAttribute"
463
+ );
464
+ o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
465
+ }
466
+ this.$$r = !1;
467
+ };
468
+ this.$$c.$$.after_update.push(r), r();
469
+ for (const i in this.$$l)
470
+ for (const o of this.$$l[i]) {
471
+ const c = this.$$c.$on(i, o);
472
+ this.$$l_u.set(o, c);
473
+ }
474
+ this.$$l = {};
475
+ }
476
+ });
477
+ }
478
+ // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
479
+ // and setting attributes through setAttribute etc, this is helpful
480
+ attributeChangedCallback(t, n, s) {
481
+ var r;
482
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = D(t, s, this.$$p_d, "toProp"), (r = this.$$c) == null || r.$set({ [t]: this.$$d[t] }));
483
+ }
484
+ disconnectedCallback() {
485
+ this.$$cn = !1, Promise.resolve().then(() => {
486
+ !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
487
+ });
488
+ }
489
+ $$g_p(t) {
490
+ return Object.keys(this.$$p_d).find(
491
+ (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
492
+ ) || t;
493
+ }
494
+ });
495
+ function D(e, t, n, s) {
496
+ var i;
497
+ const r = (i = n[e]) == null ? void 0 : i.type;
498
+ if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !s || !n[e])
499
+ return t;
500
+ if (s === "toAttribute")
501
+ switch (r) {
502
+ case "Object":
503
+ case "Array":
504
+ return t == null ? null : JSON.stringify(t);
505
+ case "Boolean":
506
+ return t ? "" : null;
507
+ case "Number":
508
+ return t == null ? null : t;
509
+ default:
510
+ return t;
511
+ }
512
+ else
513
+ switch (r) {
514
+ case "Object":
515
+ case "Array":
516
+ return t && JSON.parse(t);
517
+ case "Boolean":
518
+ return t;
519
+ case "Number":
520
+ return t != null ? +t : t;
521
+ default:
522
+ return t;
523
+ }
524
+ }
525
+ function At(e, t, n, s, r, i) {
526
+ let o = class extends tt {
527
+ constructor() {
528
+ super(e, n, r), this.$$p_d = t;
529
+ }
530
+ static get observedAttributes() {
531
+ return Object.keys(t).map(
532
+ (c) => (t[c].attribute || c).toLowerCase()
533
+ );
534
+ }
535
+ };
536
+ return Object.keys(t).forEach((c) => {
537
+ Object.defineProperty(o.prototype, c, {
538
+ get() {
539
+ return this.$$c && c in this.$$c ? this.$$c[c] : this.$$d[c];
540
+ },
541
+ set(f) {
542
+ var l;
543
+ f = D(c, f, t), this.$$d[c] = f, (l = this.$$c) == null || l.$set({ [c]: f });
544
+ }
545
+ });
546
+ }), s.forEach((c) => {
547
+ Object.defineProperty(o.prototype, c, {
548
+ get() {
549
+ var f;
550
+ return (f = this.$$c) == null ? void 0 : f[c];
551
+ }
552
+ });
553
+ }), e.element = /** @type {any} */
554
+ o, o;
555
+ }
556
+ class jt {
557
+ constructor() {
558
+ /**
559
+ * ### PRIVATE API
560
+ *
561
+ * Do not use, may change at any time
562
+ *
563
+ * @type {any}
564
+ */
565
+ h(this, "$$");
566
+ /**
567
+ * ### PRIVATE API
568
+ *
569
+ * Do not use, may change at any time
570
+ *
571
+ * @type {any}
572
+ */
573
+ h(this, "$$set");
574
+ }
575
+ /** @returns {void} */
576
+ $destroy() {
577
+ vt(this, 1), this.$destroy = b;
578
+ }
579
+ /**
580
+ * @template {Extract<keyof Events, string>} K
581
+ * @param {K} type
582
+ * @param {((e: Events[K]) => void) | null | undefined} callback
583
+ * @returns {() => void}
584
+ */
585
+ $on(t, n) {
586
+ if (!F(n))
587
+ return b;
588
+ const s = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
589
+ return s.push(n), () => {
590
+ const r = s.indexOf(n);
591
+ r !== -1 && s.splice(r, 1);
592
+ };
593
+ }
594
+ /**
595
+ * @param {Partial<Props>} props
596
+ * @returns {void}
597
+ */
598
+ $set(t) {
599
+ this.$$set && !ct(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
600
+ }
601
+ }
602
+ const Nt = "4";
603
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nt);
604
+ function Mt(e) {
605
+ at(e, "svelte-ef5f6c", "*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emw--color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:10px}.sc::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:10px}");
606
+ }
607
+ function Q(e) {
608
+ let t, n, s, r, i, o, c;
609
+ function f(a, p) {
610
+ return (
611
+ /*collapsed*/
612
+ a[3] ? St : Dt
613
+ );
614
+ }
615
+ let l = f(e), $ = l(e);
616
+ return {
617
+ c() {
618
+ t = _("div"), n = _("p"), s = q(
619
+ /*title*/
620
+ e[0]
621
+ ), r = Z(), i = _("div"), $.c(), u(n, "class", "Title"), u(n, "part", "Title"), u(i, "class", "CollapseButtonDetails"), u(i, "part", "CollapseButtonDetails"), u(t, "class", "DetailsTitle"), u(t, "part", "DetailsTitle");
622
+ },
623
+ m(a, p) {
624
+ y(a, t, p), m(t, n), m(n, s), m(t, r), m(t, i), $.m(i, null), o || (c = z(
625
+ i,
626
+ "click",
627
+ /*click_handler*/
628
+ e[8]
629
+ ), o = !0);
630
+ },
631
+ p(a, p) {
632
+ p & /*title*/
633
+ 1 && pt(
634
+ s,
635
+ /*title*/
636
+ a[0]
637
+ ), l !== (l = f(a)) && ($.d(1), $ = l(a), $ && ($.c(), $.m(i, null)));
638
+ },
639
+ d(a) {
640
+ a && g(t), $.d(), o = !1, c();
641
+ }
642
+ };
643
+ }
644
+ function St(e) {
645
+ let t, n;
646
+ return {
647
+ c() {
648
+ t = T("svg"), n = T("path"), u(n, "d", "M6 9l6 6 6-6"), u(t, "xmlns", "http://www.w3.org/2000/svg"), u(t, "width", "24"), u(t, "height", "24"), u(t, "viewBox", "0 0 24 24"), u(t, "fill", "none"), u(t, "stroke", "#ffffff"), u(t, "stroke-width", "2"), u(t, "stroke-linecap", "round"), u(t, "stroke-linejoin", "round");
649
+ },
650
+ m(s, r) {
651
+ y(s, t, r), m(t, n);
652
+ },
653
+ d(s) {
654
+ s && g(t);
655
+ }
656
+ };
657
+ }
658
+ function Dt(e) {
659
+ let t, n;
660
+ return {
661
+ c() {
662
+ t = T("svg"), n = T("path"), u(n, "d", "M18 15l-6-6-6 6"), u(t, "xmlns", "http://www.w3.org/2000/svg"), u(t, "width", "24"), u(t, "height", "24"), u(t, "viewBox", "0 0 24 24"), u(t, "fill", "none"), u(t, "stroke", "#ffffff"), u(t, "stroke-width", "2"), u(t, "stroke-linecap", "round"), u(t, "stroke-linejoin", "round");
663
+ },
664
+ m(s, r) {
665
+ y(s, t, r), m(t, n);
666
+ },
667
+ d(s) {
668
+ s && g(t);
669
+ }
670
+ };
671
+ }
672
+ function X(e) {
673
+ let t, n, s, r;
674
+ return {
675
+ c() {
676
+ t = _("div"), t.innerHTML = "", u(t, "class", "DetailsContent sc"), u(t, "part", "DetailsContent");
677
+ },
678
+ m(i, o) {
679
+ y(i, t, o), s || (r = ft(n = /*setContent*/
680
+ e[5].call(
681
+ null,
682
+ t,
683
+ /*text*/
684
+ e[1]
685
+ )), s = !0);
686
+ },
687
+ p(i, o) {
688
+ n && F(n.update) && o & /*text*/
689
+ 2 && n.update.call(
690
+ null,
691
+ /*text*/
692
+ i[1]
693
+ );
694
+ },
695
+ d(i) {
696
+ i && g(t), s = !1, r();
697
+ }
698
+ };
699
+ }
700
+ function Ot(e) {
701
+ let t, n, s = (
702
+ /*title*/
703
+ e[0] && Q(e)
704
+ ), r = (
705
+ /*text*/
706
+ e[1] && !/*collapsed*/
707
+ e[3] && X(e)
708
+ );
709
+ return {
710
+ c() {
711
+ t = _("div"), s && s.c(), n = Z(), r && r.c(), u(t, "class", "DetailsCard"), u(t, "part", "DetailsCard");
712
+ },
713
+ m(i, o) {
714
+ y(i, t, o), s && s.m(t, null), m(t, n), r && r.m(t, null), e[9](t);
715
+ },
716
+ p(i, [o]) {
717
+ /*title*/
718
+ i[0] ? s ? s.p(i, o) : (s = Q(i), s.c(), s.m(t, n)) : s && (s.d(1), s = null), /*text*/
719
+ i[1] && !/*collapsed*/
720
+ i[3] ? r ? r.p(i, o) : (r = X(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
721
+ },
722
+ i: b,
723
+ o: b,
724
+ d(i) {
725
+ i && g(t), s && s.d(), r && r.d(), e[9](null);
726
+ }
727
+ };
728
+ }
729
+ function Ft(e, t, n) {
730
+ let { title: s = "" } = t, { text: r = "" } = t, { clientstyling: i = "" } = t, { clientstylingurl: o = "" } = t, c, f = !1;
731
+ const l = () => {
732
+ n(3, f = !f);
733
+ }, $ = () => {
734
+ let d = document.createElement("style");
735
+ d.innerHTML = i, c.appendChild(d);
736
+ }, a = () => {
737
+ let d = new URL(o), N = document.createElement("style");
738
+ fetch(d.href).then((w) => w.text()).then((w) => {
739
+ N.innerHTML = w, setTimeout(
740
+ () => {
741
+ c.appendChild(N);
742
+ },
743
+ 1
744
+ ), setTimeout(
745
+ () => {
746
+ },
747
+ 500
748
+ );
749
+ });
750
+ }, p = (d, N) => {
751
+ let w = document.createElement("div");
752
+ w.innerHTML = N, d.append(w);
753
+ }, A = () => l();
754
+ function j(d) {
755
+ H[d ? "unshift" : "push"](() => {
756
+ c = d, n(2, c);
757
+ });
758
+ }
759
+ return e.$$set = (d) => {
760
+ "title" in d && n(0, s = d.title), "text" in d && n(1, r = d.text), "clientstyling" in d && n(6, i = d.clientstyling), "clientstylingurl" in d && n(7, o = d.clientstylingurl);
761
+ }, e.$$.update = () => {
762
+ e.$$.dirty & /*customStylingContainer, clientstyling*/
763
+ 68 && c && i && $(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
764
+ 132 && c && o && a();
765
+ }, [
766
+ s,
767
+ r,
768
+ c,
769
+ f,
770
+ l,
771
+ p,
772
+ i,
773
+ o,
774
+ A,
775
+ j
776
+ ];
777
+ }
778
+ class et extends jt {
779
+ constructor(t) {
780
+ super(), Lt(
781
+ this,
782
+ t,
783
+ Ft,
784
+ Ot,
785
+ lt,
786
+ {
787
+ title: 0,
788
+ text: 1,
789
+ clientstyling: 6,
790
+ clientstylingurl: 7
791
+ },
792
+ Mt
793
+ );
794
+ }
795
+ get title() {
796
+ return this.$$.ctx[0];
797
+ }
798
+ set title(t) {
799
+ this.$$set({ title: t }), E();
800
+ }
801
+ get text() {
802
+ return this.$$.ctx[1];
803
+ }
804
+ set text(t) {
805
+ this.$$set({ text: t }), E();
806
+ }
807
+ get clientstyling() {
808
+ return this.$$.ctx[6];
809
+ }
810
+ set clientstyling(t) {
811
+ this.$$set({ clientstyling: t }), E();
812
+ }
813
+ get clientstylingurl() {
814
+ return this.$$.ctx[7];
815
+ }
816
+ set clientstylingurl(t) {
817
+ this.$$set({ clientstylingurl: t }), E();
818
+ }
819
+ }
820
+ At(et, { title: {}, text: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
821
+ const Kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
822
+ __proto__: null,
823
+ default: et
824
+ }, Symbol.toStringTag, { value: "Module" }));
825
+ export {
826
+ Bt as A,
827
+ ft as B,
828
+ qt as C,
829
+ Wt as D,
830
+ Ut as E,
831
+ I as F,
832
+ Kt as G,
833
+ Jt as H,
834
+ jt as S,
835
+ ut as a,
836
+ Lt as b,
837
+ At as c,
838
+ at as d,
839
+ g as e,
840
+ E as f,
841
+ y as g,
842
+ Z as h,
843
+ F as i,
844
+ Rt as j,
845
+ zt as k,
846
+ pt as l,
847
+ m,
848
+ b as n,
849
+ Vt as o,
850
+ _ as p,
851
+ u as q,
852
+ O as r,
853
+ lt as s,
854
+ q as t,
855
+ z as u,
856
+ T as v,
857
+ It as w,
858
+ H as x,
859
+ Gt as y,
860
+ Ht as z
861
+ };