@everymatrix/general-animation-loading 1.87.25 → 1.87.27
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/components/{GeneralAnimationLoading-BtJBChhW.js → GeneralAnimationLoading-5DFiRDzi.js} +202 -174
- package/components/{GeneralAnimationLoading-CUfTTC1c.js → GeneralAnimationLoading-BeWfBR97.js} +236 -207
- package/components/GeneralAnimationLoading-DHcNOC1G.cjs +1 -0
- package/es2015/general-animation-loading.cjs +1 -1
- package/es2015/general-animation-loading.js +1 -1
- package/esnext/general-animation-loading.js +1 -1
- package/package.json +1 -1
- package/components/GeneralAnimationLoading-GmRWhoyq.cjs +0 -1
package/components/{GeneralAnimationLoading-BtJBChhW.js → GeneralAnimationLoading-5DFiRDzi.js}
RENAMED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
function a() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function N(t) {
|
|
4
4
|
return t();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function j() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
t.forEach(
|
|
9
|
+
function b(t) {
|
|
10
|
+
t.forEach(N);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function B(t) {
|
|
13
13
|
return typeof t == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function P(t, e) {
|
|
16
16
|
return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function H(t) {
|
|
19
19
|
return Object.keys(t).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function U(t, e) {
|
|
22
22
|
t.appendChild(e);
|
|
23
23
|
}
|
|
24
|
-
function
|
|
25
|
-
const
|
|
26
|
-
if (!
|
|
27
|
-
const
|
|
28
|
-
|
|
24
|
+
function D(t, e, n) {
|
|
25
|
+
const i = G(t);
|
|
26
|
+
if (!i.getElementById(e)) {
|
|
27
|
+
const s = C("style");
|
|
28
|
+
s.id = e, s.textContent = n, I(i, s);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function G(t) {
|
|
32
32
|
if (!t)
|
|
33
33
|
return document;
|
|
34
34
|
const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
|
|
@@ -38,29 +38,29 @@ function U(t) {
|
|
|
38
38
|
e
|
|
39
39
|
) : t.ownerDocument;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
return
|
|
41
|
+
function I(t, e) {
|
|
42
|
+
return U(
|
|
43
43
|
/** @type {Document} */
|
|
44
44
|
t.head || t,
|
|
45
45
|
e
|
|
46
46
|
), e.sheet;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function T(t, e, n) {
|
|
49
49
|
t.insertBefore(e, n || null);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function k(t) {
|
|
52
52
|
t.parentNode && t.parentNode.removeChild(t);
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function C(t) {
|
|
55
55
|
return document.createElement(t);
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function z(t, e, n) {
|
|
58
58
|
n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
|
|
59
59
|
}
|
|
60
60
|
function F(t) {
|
|
61
61
|
return Array.from(t.childNodes);
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function J(t) {
|
|
64
64
|
const e = {};
|
|
65
65
|
return t.childNodes.forEach(
|
|
66
66
|
/** @param {Element} node */
|
|
@@ -69,125 +69,125 @@ function G(t) {
|
|
|
69
69
|
}
|
|
70
70
|
), e;
|
|
71
71
|
}
|
|
72
|
-
let
|
|
73
|
-
function
|
|
74
|
-
|
|
72
|
+
let y;
|
|
73
|
+
function p(t) {
|
|
74
|
+
y = t;
|
|
75
75
|
}
|
|
76
|
-
function
|
|
77
|
-
if (!
|
|
76
|
+
function V() {
|
|
77
|
+
if (!y)
|
|
78
78
|
throw new Error("Function called outside component initialization");
|
|
79
|
-
return
|
|
79
|
+
return y;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
|
|
81
|
+
function K(t) {
|
|
82
|
+
V().$$.on_mount.push(t);
|
|
83
83
|
}
|
|
84
|
-
const $ = [],
|
|
85
|
-
let
|
|
86
|
-
const
|
|
87
|
-
let
|
|
88
|
-
function
|
|
89
|
-
|
|
84
|
+
const $ = [], x = [];
|
|
85
|
+
let _ = [];
|
|
86
|
+
const M = [], W = /* @__PURE__ */ Promise.resolve();
|
|
87
|
+
let S = !1;
|
|
88
|
+
function Y() {
|
|
89
|
+
S || (S = !0, W.then(m));
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
|
|
91
|
+
function E(t) {
|
|
92
|
+
_.push(t);
|
|
93
93
|
}
|
|
94
|
-
const
|
|
94
|
+
const w = /* @__PURE__ */ new Set();
|
|
95
95
|
let f = 0;
|
|
96
96
|
function m() {
|
|
97
97
|
if (f !== 0)
|
|
98
98
|
return;
|
|
99
|
-
const t =
|
|
99
|
+
const t = y;
|
|
100
100
|
do {
|
|
101
101
|
try {
|
|
102
102
|
for (; f < $.length; ) {
|
|
103
103
|
const e = $[f];
|
|
104
|
-
f++,
|
|
104
|
+
f++, p(e), q(e.$$);
|
|
105
105
|
}
|
|
106
106
|
} catch (e) {
|
|
107
107
|
throw $.length = 0, f = 0, e;
|
|
108
108
|
}
|
|
109
|
-
for (
|
|
110
|
-
|
|
111
|
-
for (let e = 0; e <
|
|
112
|
-
const n =
|
|
113
|
-
|
|
109
|
+
for (p(null), $.length = 0, f = 0; x.length; )
|
|
110
|
+
x.pop()();
|
|
111
|
+
for (let e = 0; e < _.length; e += 1) {
|
|
112
|
+
const n = _[e];
|
|
113
|
+
w.has(n) || (w.add(n), n());
|
|
114
114
|
}
|
|
115
|
-
|
|
115
|
+
_.length = 0;
|
|
116
116
|
} while ($.length);
|
|
117
|
-
for (;
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
for (; M.length; )
|
|
118
|
+
M.pop()();
|
|
119
|
+
S = !1, w.clear(), p(t);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function q(t) {
|
|
122
122
|
if (t.fragment !== null) {
|
|
123
|
-
t.update(),
|
|
123
|
+
t.update(), b(t.before_update);
|
|
124
124
|
const e = t.dirty;
|
|
125
|
-
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(
|
|
125
|
+
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(E);
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function Q(t) {
|
|
129
129
|
const e = [], n = [];
|
|
130
|
-
|
|
130
|
+
_.forEach((i) => t.indexOf(i) === -1 ? e.push(i) : n.push(i)), n.forEach((i) => i()), _ = e;
|
|
131
131
|
}
|
|
132
132
|
const X = /* @__PURE__ */ new Set();
|
|
133
|
-
function
|
|
133
|
+
function Z(t, e) {
|
|
134
134
|
t && t.i && (X.delete(t), t.i(e));
|
|
135
135
|
}
|
|
136
|
-
function
|
|
137
|
-
const { fragment:
|
|
138
|
-
|
|
139
|
-
const r = t.$$.on_mount.map(
|
|
140
|
-
t.$$.on_destroy ? t.$$.on_destroy.push(...r) :
|
|
141
|
-
}),
|
|
136
|
+
function tt(t, e, n) {
|
|
137
|
+
const { fragment: i, after_update: s } = t.$$;
|
|
138
|
+
i && i.m(e, n), E(() => {
|
|
139
|
+
const r = t.$$.on_mount.map(N).filter(B);
|
|
140
|
+
t.$$.on_destroy ? t.$$.on_destroy.push(...r) : b(r), t.$$.on_mount = [];
|
|
141
|
+
}), s.forEach(E);
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function et(t, e) {
|
|
144
144
|
const n = t.$$;
|
|
145
|
-
n.fragment !== null && (
|
|
145
|
+
n.fragment !== null && (Q(n.after_update), b(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
t.$$.dirty[0] === -1 && ($.push(t),
|
|
147
|
+
function nt(t, e) {
|
|
148
|
+
t.$$.dirty[0] === -1 && ($.push(t), Y(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
const
|
|
152
|
-
|
|
153
|
-
const
|
|
150
|
+
function st(t, e, n, i, s, r, o = null, l = [-1]) {
|
|
151
|
+
const u = y;
|
|
152
|
+
p(t);
|
|
153
|
+
const c = t.$$ = {
|
|
154
154
|
fragment: null,
|
|
155
155
|
ctx: [],
|
|
156
156
|
// state
|
|
157
157
|
props: r,
|
|
158
158
|
update: a,
|
|
159
|
-
not_equal:
|
|
160
|
-
bound:
|
|
159
|
+
not_equal: s,
|
|
160
|
+
bound: j(),
|
|
161
161
|
// lifecycle
|
|
162
162
|
on_mount: [],
|
|
163
163
|
on_destroy: [],
|
|
164
164
|
on_disconnect: [],
|
|
165
165
|
before_update: [],
|
|
166
166
|
after_update: [],
|
|
167
|
-
context: new Map(e.context || (
|
|
167
|
+
context: new Map(e.context || (u ? u.$$.context : [])),
|
|
168
168
|
// everything else
|
|
169
|
-
callbacks:
|
|
169
|
+
callbacks: j(),
|
|
170
170
|
dirty: l,
|
|
171
171
|
skip_bound: !1,
|
|
172
|
-
root: e.target ||
|
|
172
|
+
root: e.target || u.$$.root
|
|
173
173
|
};
|
|
174
|
-
o && o(
|
|
174
|
+
o && o(c.root);
|
|
175
175
|
let L = !1;
|
|
176
|
-
if (
|
|
177
|
-
const O =
|
|
178
|
-
return
|
|
179
|
-
}) : [],
|
|
176
|
+
if (c.ctx = n ? n(t, e.props || {}, (d, v, ...A) => {
|
|
177
|
+
const O = A.length ? A[0] : v;
|
|
178
|
+
return c.ctx && s(c.ctx[d], c.ctx[d] = O) && (!c.skip_bound && c.bound[d] && c.bound[d](O), L && nt(t, d)), v;
|
|
179
|
+
}) : [], c.update(), L = !0, b(c.before_update), c.fragment = i ? i(c.ctx) : !1, e.target) {
|
|
180
180
|
if (e.hydrate) {
|
|
181
181
|
const d = F(e.target);
|
|
182
|
-
|
|
182
|
+
c.fragment && c.fragment.l(d), d.forEach(k);
|
|
183
183
|
} else
|
|
184
|
-
|
|
185
|
-
e.intro &&
|
|
184
|
+
c.fragment && c.fragment.c();
|
|
185
|
+
e.intro && Z(t.$$.fragment), tt(t, e.target, e.anchor), m();
|
|
186
186
|
}
|
|
187
|
-
|
|
187
|
+
p(u);
|
|
188
188
|
}
|
|
189
|
-
let
|
|
190
|
-
typeof HTMLElement == "function" && (
|
|
189
|
+
let R;
|
|
190
|
+
typeof HTMLElement == "function" && (R = class extends HTMLElement {
|
|
191
191
|
/** The Svelte component constructor */
|
|
192
192
|
$$ctor;
|
|
193
193
|
/** Slots */
|
|
@@ -211,50 +211,50 @@ typeof HTMLElement == "function" && (P = class extends HTMLElement {
|
|
|
211
211
|
}
|
|
212
212
|
addEventListener(t, e, n) {
|
|
213
213
|
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(e), this.$$c) {
|
|
214
|
-
const
|
|
215
|
-
this.$$l_u.set(e,
|
|
214
|
+
const i = this.$$c.$on(t, e);
|
|
215
|
+
this.$$l_u.set(e, i);
|
|
216
216
|
}
|
|
217
217
|
super.addEventListener(t, e, n);
|
|
218
218
|
}
|
|
219
219
|
removeEventListener(t, e, n) {
|
|
220
220
|
if (super.removeEventListener(t, e, n), this.$$c) {
|
|
221
|
-
const
|
|
222
|
-
|
|
221
|
+
const i = this.$$l_u.get(e);
|
|
222
|
+
i && (i(), this.$$l_u.delete(e));
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
async connectedCallback() {
|
|
226
226
|
if (this.$$cn = !0, !this.$$c) {
|
|
227
|
-
let t = function(
|
|
227
|
+
let t = function(s) {
|
|
228
228
|
return () => {
|
|
229
229
|
let r;
|
|
230
230
|
return {
|
|
231
231
|
c: function() {
|
|
232
|
-
r =
|
|
232
|
+
r = C("slot"), s !== "default" && z(r, "name", s);
|
|
233
233
|
},
|
|
234
234
|
/**
|
|
235
235
|
* @param {HTMLElement} target
|
|
236
236
|
* @param {HTMLElement} [anchor]
|
|
237
237
|
*/
|
|
238
|
-
m: function(
|
|
239
|
-
|
|
238
|
+
m: function(u, c) {
|
|
239
|
+
T(u, r, c);
|
|
240
240
|
},
|
|
241
|
-
d: function(
|
|
242
|
-
|
|
241
|
+
d: function(u) {
|
|
242
|
+
u && k(r);
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
245
|
};
|
|
246
246
|
};
|
|
247
247
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
248
248
|
return;
|
|
249
|
-
const e = {}, n =
|
|
250
|
-
for (const
|
|
251
|
-
|
|
252
|
-
for (const
|
|
253
|
-
const r = this.$$g_p(
|
|
254
|
-
r in this.$$d || (this.$$d[r] = g(r,
|
|
249
|
+
const e = {}, n = J(this);
|
|
250
|
+
for (const s of this.$$s)
|
|
251
|
+
s in n && (e[s] = [t(s)]);
|
|
252
|
+
for (const s of this.attributes) {
|
|
253
|
+
const r = this.$$g_p(s.name);
|
|
254
|
+
r in this.$$d || (this.$$d[r] = g(r, s.value, this.$$p_d, "toProp"));
|
|
255
255
|
}
|
|
256
|
-
for (const
|
|
257
|
-
!(
|
|
256
|
+
for (const s in this.$$p_d)
|
|
257
|
+
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
258
258
|
this.$$c = new this.$$ctor({
|
|
259
259
|
target: this.shadowRoot || this,
|
|
260
260
|
props: {
|
|
@@ -265,24 +265,24 @@ typeof HTMLElement == "function" && (P = class extends HTMLElement {
|
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
267
|
});
|
|
268
|
-
const
|
|
268
|
+
const i = () => {
|
|
269
269
|
this.$$r = !0;
|
|
270
|
-
for (const
|
|
271
|
-
if (this.$$d[
|
|
270
|
+
for (const s in this.$$p_d)
|
|
271
|
+
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
272
272
|
const r = g(
|
|
273
|
-
|
|
274
|
-
this.$$d[
|
|
273
|
+
s,
|
|
274
|
+
this.$$d[s],
|
|
275
275
|
this.$$p_d,
|
|
276
276
|
"toAttribute"
|
|
277
277
|
);
|
|
278
|
-
r == null ? this.removeAttribute(this.$$p_d[
|
|
278
|
+
r == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, r);
|
|
279
279
|
}
|
|
280
280
|
this.$$r = !1;
|
|
281
281
|
};
|
|
282
|
-
this.$$c.$$.after_update.push(
|
|
283
|
-
for (const
|
|
284
|
-
for (const r of this.$$l[
|
|
285
|
-
const o = this.$$c.$on(
|
|
282
|
+
this.$$c.$$.after_update.push(i), i();
|
|
283
|
+
for (const s in this.$$l)
|
|
284
|
+
for (const r of this.$$l[s]) {
|
|
285
|
+
const o = this.$$c.$on(s, r);
|
|
286
286
|
this.$$l_u.set(r, o);
|
|
287
287
|
}
|
|
288
288
|
this.$$l = {};
|
|
@@ -304,12 +304,12 @@ typeof HTMLElement == "function" && (P = class extends HTMLElement {
|
|
|
304
304
|
) || t;
|
|
305
305
|
}
|
|
306
306
|
});
|
|
307
|
-
function g(t, e, n,
|
|
308
|
-
const
|
|
309
|
-
if (e =
|
|
307
|
+
function g(t, e, n, i) {
|
|
308
|
+
const s = n[t]?.type;
|
|
309
|
+
if (e = s === "Boolean" && typeof e != "boolean" ? e != null : e, !i || !n[t])
|
|
310
310
|
return e;
|
|
311
|
-
if (
|
|
312
|
-
switch (
|
|
311
|
+
if (i === "toAttribute")
|
|
312
|
+
switch (s) {
|
|
313
313
|
case "Object":
|
|
314
314
|
case "Array":
|
|
315
315
|
return e == null ? null : JSON.stringify(e);
|
|
@@ -321,7 +321,7 @@ function g(t, e, n, s) {
|
|
|
321
321
|
return e;
|
|
322
322
|
}
|
|
323
323
|
else
|
|
324
|
-
switch (
|
|
324
|
+
switch (s) {
|
|
325
325
|
case "Object":
|
|
326
326
|
case "Array":
|
|
327
327
|
return e && JSON.parse(e);
|
|
@@ -333,10 +333,10 @@ function g(t, e, n, s) {
|
|
|
333
333
|
return e;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
function it(t, e, n,
|
|
337
|
-
let o = class extends
|
|
336
|
+
function it(t, e, n, i, s, r) {
|
|
337
|
+
let o = class extends R {
|
|
338
338
|
constructor() {
|
|
339
|
-
super(t, n,
|
|
339
|
+
super(t, n, s), this.$$p_d = e;
|
|
340
340
|
}
|
|
341
341
|
static get observedAttributes() {
|
|
342
342
|
return Object.keys(e).map(
|
|
@@ -349,11 +349,11 @@ function it(t, e, n, s, i, r) {
|
|
|
349
349
|
get() {
|
|
350
350
|
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
351
351
|
},
|
|
352
|
-
set(
|
|
353
|
-
|
|
352
|
+
set(u) {
|
|
353
|
+
u = g(l, u, e), this.$$d[l] = u, this.$$c?.$set({ [l]: u });
|
|
354
354
|
}
|
|
355
355
|
});
|
|
356
|
-
}),
|
|
356
|
+
}), i.forEach((l) => {
|
|
357
357
|
Object.defineProperty(o.prototype, l, {
|
|
358
358
|
get() {
|
|
359
359
|
return this.$$c?.[l];
|
|
@@ -362,7 +362,7 @@ function it(t, e, n, s, i, r) {
|
|
|
362
362
|
}), t.element = /** @type {any} */
|
|
363
363
|
o, o;
|
|
364
364
|
}
|
|
365
|
-
class
|
|
365
|
+
class rt {
|
|
366
366
|
/**
|
|
367
367
|
* ### PRIVATE API
|
|
368
368
|
*
|
|
@@ -381,7 +381,7 @@ class st {
|
|
|
381
381
|
$$set = void 0;
|
|
382
382
|
/** @returns {void} */
|
|
383
383
|
$destroy() {
|
|
384
|
-
|
|
384
|
+
et(this, 1), this.$destroy = a;
|
|
385
385
|
}
|
|
386
386
|
/**
|
|
387
387
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -390,12 +390,12 @@ class st {
|
|
|
390
390
|
* @returns {() => void}
|
|
391
391
|
*/
|
|
392
392
|
$on(e, n) {
|
|
393
|
-
if (!
|
|
393
|
+
if (!B(n))
|
|
394
394
|
return a;
|
|
395
|
-
const
|
|
396
|
-
return
|
|
397
|
-
const
|
|
398
|
-
|
|
395
|
+
const i = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
|
|
396
|
+
return i.push(n), () => {
|
|
397
|
+
const s = i.indexOf(n);
|
|
398
|
+
s !== -1 && i.splice(s, 1);
|
|
399
399
|
};
|
|
400
400
|
}
|
|
401
401
|
/**
|
|
@@ -403,94 +403,122 @@ class st {
|
|
|
403
403
|
* @returns {void}
|
|
404
404
|
*/
|
|
405
405
|
$set(e) {
|
|
406
|
-
this.$$set && !
|
|
406
|
+
this.$$set && !H(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
const
|
|
410
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
411
|
-
|
|
409
|
+
const ct = "4";
|
|
410
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ct);
|
|
411
|
+
const h = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
412
|
+
function ot(t, e) {
|
|
412
413
|
if (t) {
|
|
413
414
|
const n = document.createElement("style");
|
|
414
415
|
n.innerHTML = e, t.appendChild(n);
|
|
415
416
|
}
|
|
416
417
|
}
|
|
417
|
-
function
|
|
418
|
+
function lt(t, e) {
|
|
418
419
|
if (!t || !e)
|
|
419
420
|
return;
|
|
420
421
|
const n = new URL(e);
|
|
421
|
-
fetch(n.href).then((
|
|
422
|
-
const
|
|
423
|
-
|
|
424
|
-
}).catch((
|
|
425
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
422
|
+
fetch(n.href).then((i) => i.text()).then((i) => {
|
|
423
|
+
const s = document.createElement("style");
|
|
424
|
+
s.innerHTML = i, t && t.appendChild(s);
|
|
425
|
+
}).catch((i) => {
|
|
426
|
+
console.error("There was an error while trying to load client styling from URL", i);
|
|
426
427
|
});
|
|
427
428
|
}
|
|
428
|
-
function
|
|
429
|
-
if (window.emMessageBus)
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
429
|
+
function ut(t, e, n, i = !1) {
|
|
430
|
+
if (!window.emMessageBus)
|
|
431
|
+
return;
|
|
432
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !i)
|
|
433
|
+
return n = dt(t, e), n;
|
|
434
|
+
window[h] || (window[h] = {}), n = ft(t, e);
|
|
435
|
+
const r = n.unsubscribe.bind(n), o = () => {
|
|
436
|
+
if (window[h][e]) {
|
|
437
|
+
const l = window[h][e];
|
|
438
|
+
l.refCount > 1 ? l.refCount = l.refCount - 1 : delete window[h][e];
|
|
439
|
+
}
|
|
440
|
+
r();
|
|
441
|
+
};
|
|
442
|
+
return n.unsubscribe = o, n;
|
|
443
|
+
}
|
|
444
|
+
function dt(t, e) {
|
|
445
|
+
const n = document.createElement("style");
|
|
446
|
+
return window.emMessageBus.subscribe(e, (i) => {
|
|
447
|
+
t && (n.innerHTML = i, t.appendChild(n));
|
|
448
|
+
});
|
|
449
|
+
}
|
|
450
|
+
function ft(t, e) {
|
|
451
|
+
return window.emMessageBus.subscribe(e, (n) => {
|
|
452
|
+
if (!t)
|
|
453
|
+
return;
|
|
454
|
+
const i = t.getRootNode(), s = window[h];
|
|
455
|
+
let r = s[e]?.sheet;
|
|
456
|
+
r ? s[e].refCount = s[e].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(n), s[e] = {
|
|
457
|
+
sheet: r,
|
|
458
|
+
refCount: 1
|
|
433
459
|
});
|
|
434
|
-
|
|
460
|
+
const o = i.adoptedStyleSheets || [];
|
|
461
|
+
o.includes(r) || (i.adoptedStyleSheets = [...o, r]);
|
|
462
|
+
});
|
|
435
463
|
}
|
|
436
|
-
function
|
|
437
|
-
|
|
464
|
+
function $t(t) {
|
|
465
|
+
D(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
|
|
438
466
|
}
|
|
439
|
-
function
|
|
467
|
+
function ht(t) {
|
|
440
468
|
let e;
|
|
441
469
|
return {
|
|
442
470
|
c() {
|
|
443
|
-
e =
|
|
471
|
+
e = C("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
|
|
444
472
|
},
|
|
445
|
-
m(n,
|
|
446
|
-
|
|
473
|
+
m(n, i) {
|
|
474
|
+
T(n, e, i), t[4](e);
|
|
447
475
|
},
|
|
448
476
|
p: a,
|
|
449
477
|
i: a,
|
|
450
478
|
o: a,
|
|
451
479
|
d(n) {
|
|
452
|
-
n &&
|
|
480
|
+
n && k(e), t[4](null);
|
|
453
481
|
}
|
|
454
482
|
};
|
|
455
483
|
}
|
|
456
|
-
function
|
|
457
|
-
let { clientstyling:
|
|
458
|
-
|
|
484
|
+
function at(t, e, n) {
|
|
485
|
+
let { clientstyling: i = "" } = e, { clientstylingurl: s = "" } = e, { mbsource: r } = e, o, l;
|
|
486
|
+
K(() => () => {
|
|
459
487
|
});
|
|
460
|
-
function
|
|
461
|
-
|
|
488
|
+
function u(c) {
|
|
489
|
+
x[c ? "unshift" : "push"](() => {
|
|
462
490
|
o = c, n(0, o);
|
|
463
491
|
});
|
|
464
492
|
}
|
|
465
493
|
return t.$$set = (c) => {
|
|
466
|
-
"clientstyling" in c && n(1,
|
|
494
|
+
"clientstyling" in c && n(1, i = c.clientstyling), "clientstylingurl" in c && n(2, s = c.clientstylingurl), "mbsource" in c && n(3, r = c.mbsource);
|
|
467
495
|
}, t.$$.update = () => {
|
|
468
496
|
t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
469
|
-
3 &&
|
|
470
|
-
5 &&
|
|
471
|
-
9 && r && o &&
|
|
497
|
+
3 && i && o && ot(o, i), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
498
|
+
5 && s && o && lt(o, s), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
499
|
+
9 && r && o && ut(o, `${r}.Style`, l);
|
|
472
500
|
}, [
|
|
473
501
|
o,
|
|
474
|
-
s,
|
|
475
502
|
i,
|
|
503
|
+
s,
|
|
476
504
|
r,
|
|
477
|
-
|
|
505
|
+
u
|
|
478
506
|
];
|
|
479
507
|
}
|
|
480
|
-
class
|
|
508
|
+
class _t extends rt {
|
|
481
509
|
constructor(e) {
|
|
482
|
-
super(),
|
|
510
|
+
super(), st(
|
|
483
511
|
this,
|
|
484
512
|
e,
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
513
|
+
at,
|
|
514
|
+
ht,
|
|
515
|
+
P,
|
|
488
516
|
{
|
|
489
517
|
clientstyling: 1,
|
|
490
518
|
clientstylingurl: 2,
|
|
491
519
|
mbsource: 3
|
|
492
520
|
},
|
|
493
|
-
|
|
521
|
+
$t
|
|
494
522
|
);
|
|
495
523
|
}
|
|
496
524
|
get clientstyling() {
|
|
@@ -512,7 +540,7 @@ class $t extends st {
|
|
|
512
540
|
this.$$set({ mbsource: e }), m();
|
|
513
541
|
}
|
|
514
542
|
}
|
|
515
|
-
it(
|
|
543
|
+
it(_t, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
516
544
|
export {
|
|
517
|
-
|
|
545
|
+
_t as G
|
|
518
546
|
};
|