@everymatrix/general-animation-loading 1.87.26 → 1.87.28
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-CUfTTC1c.js → GeneralAnimationLoading-BeWfBR97.js}
RENAMED
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
var
|
|
1
|
+
var z = Object.defineProperty, F = Object.defineProperties;
|
|
2
2
|
var J = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
4
|
-
var V = Object.prototype.hasOwnProperty,
|
|
5
|
-
var
|
|
3
|
+
var N = Object.getOwnPropertySymbols;
|
|
4
|
+
var V = Object.prototype.hasOwnProperty, K = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var S = (e, t, n) => t in e ? z(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, B = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
|
-
V.call(t, n) &&
|
|
8
|
-
if (
|
|
9
|
-
for (var n of
|
|
10
|
-
|
|
7
|
+
V.call(t, n) && S(e, n, t[n]);
|
|
8
|
+
if (N)
|
|
9
|
+
for (var n of N(t))
|
|
10
|
+
K.call(t, n) && S(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var d = (e, t, n) => (
|
|
14
|
-
var
|
|
15
|
-
var
|
|
12
|
+
}, T = (e, t) => F(e, J(t));
|
|
13
|
+
var d = (e, t, n) => (S(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
14
|
+
var R = (e, t, n) => new Promise((s, r) => {
|
|
15
|
+
var i = (u) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
r(
|
|
17
|
+
l(n.next(u));
|
|
18
|
+
} catch (o) {
|
|
19
|
+
r(o);
|
|
20
20
|
}
|
|
21
|
-
}, c = (
|
|
21
|
+
}, c = (u) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
24
|
-
} catch (
|
|
25
|
-
r(
|
|
23
|
+
l(n.throw(u));
|
|
24
|
+
} catch (o) {
|
|
25
|
+
r(o);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, l = (u) => u.done ? s(u.value) : Promise.resolve(u.value).then(i, c);
|
|
28
|
+
l((n = n.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function _() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function U(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function P() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function x(e) {
|
|
39
|
+
e.forEach(U);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function D(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function W(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Y(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function q(e, t) {
|
|
51
51
|
e.appendChild(t);
|
|
52
52
|
}
|
|
53
|
-
function
|
|
54
|
-
const
|
|
55
|
-
if (!
|
|
56
|
-
const r =
|
|
57
|
-
r.id = t, r.textContent = n,
|
|
53
|
+
function Q(e, t, n) {
|
|
54
|
+
const s = X(e);
|
|
55
|
+
if (!s.getElementById(t)) {
|
|
56
|
+
const r = A("style");
|
|
57
|
+
r.id = t, r.textContent = n, Z(s, r);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
function X(e) {
|
|
@@ -67,29 +67,29 @@ function X(e) {
|
|
|
67
67
|
t
|
|
68
68
|
) : e.ownerDocument;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
return
|
|
70
|
+
function Z(e, t) {
|
|
71
|
+
return q(
|
|
72
72
|
/** @type {Document} */
|
|
73
73
|
e.head || e,
|
|
74
74
|
t
|
|
75
75
|
), t.sheet;
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function I(e, t, n) {
|
|
78
78
|
e.insertBefore(t, n || null);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function v(e) {
|
|
81
81
|
e.parentNode && e.parentNode.removeChild(e);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function A(e) {
|
|
84
84
|
return document.createElement(e);
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function tt(e, t, n) {
|
|
87
87
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function et(e) {
|
|
90
90
|
return Array.from(e.childNodes);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function nt(e) {
|
|
93
93
|
const t = {};
|
|
94
94
|
return e.childNodes.forEach(
|
|
95
95
|
/** @param {Element} node */
|
|
@@ -102,122 +102,122 @@ let g;
|
|
|
102
102
|
function m(e) {
|
|
103
103
|
g = e;
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function st() {
|
|
106
106
|
if (!g)
|
|
107
107
|
throw new Error("Function called outside component initialization");
|
|
108
108
|
return g;
|
|
109
109
|
}
|
|
110
110
|
function it(e) {
|
|
111
|
-
|
|
111
|
+
st().$$.on_mount.push(e);
|
|
112
112
|
}
|
|
113
|
-
const
|
|
114
|
-
let
|
|
115
|
-
const
|
|
116
|
-
let
|
|
117
|
-
function
|
|
118
|
-
|
|
113
|
+
const h = [], k = [];
|
|
114
|
+
let p = [];
|
|
115
|
+
const H = [], rt = /* @__PURE__ */ Promise.resolve();
|
|
116
|
+
let C = !1;
|
|
117
|
+
function ct() {
|
|
118
|
+
C || (C = !0, rt.then(y));
|
|
119
119
|
}
|
|
120
120
|
function L(e) {
|
|
121
|
-
|
|
121
|
+
p.push(e);
|
|
122
122
|
}
|
|
123
|
-
const
|
|
123
|
+
const E = /* @__PURE__ */ new Set();
|
|
124
124
|
let $ = 0;
|
|
125
|
-
function
|
|
125
|
+
function y() {
|
|
126
126
|
if ($ !== 0)
|
|
127
127
|
return;
|
|
128
128
|
const e = g;
|
|
129
129
|
do {
|
|
130
130
|
try {
|
|
131
|
-
for (; $ <
|
|
132
|
-
const t =
|
|
133
|
-
$++, m(t),
|
|
131
|
+
for (; $ < h.length; ) {
|
|
132
|
+
const t = h[$];
|
|
133
|
+
$++, m(t), ot(t.$$);
|
|
134
134
|
}
|
|
135
135
|
} catch (t) {
|
|
136
|
-
throw
|
|
136
|
+
throw h.length = 0, $ = 0, t;
|
|
137
137
|
}
|
|
138
|
-
for (m(null),
|
|
139
|
-
|
|
140
|
-
for (let t = 0; t <
|
|
141
|
-
const n =
|
|
142
|
-
|
|
138
|
+
for (m(null), h.length = 0, $ = 0; k.length; )
|
|
139
|
+
k.pop()();
|
|
140
|
+
for (let t = 0; t < p.length; t += 1) {
|
|
141
|
+
const n = p[t];
|
|
142
|
+
E.has(n) || (E.add(n), n());
|
|
143
143
|
}
|
|
144
|
-
|
|
145
|
-
} while (
|
|
146
|
-
for (;
|
|
147
|
-
|
|
148
|
-
|
|
144
|
+
p.length = 0;
|
|
145
|
+
} while (h.length);
|
|
146
|
+
for (; H.length; )
|
|
147
|
+
H.pop()();
|
|
148
|
+
C = !1, E.clear(), m(e);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function ot(e) {
|
|
151
151
|
if (e.fragment !== null) {
|
|
152
|
-
e.update(),
|
|
152
|
+
e.update(), x(e.before_update);
|
|
153
153
|
const t = e.dirty;
|
|
154
154
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(L);
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function lt(e) {
|
|
158
158
|
const t = [], n = [];
|
|
159
|
-
|
|
159
|
+
p.forEach((s) => e.indexOf(s) === -1 ? t.push(s) : n.push(s)), n.forEach((s) => s()), p = t;
|
|
160
160
|
}
|
|
161
|
-
const
|
|
162
|
-
function
|
|
163
|
-
e && e.i && (
|
|
161
|
+
const ut = /* @__PURE__ */ new Set();
|
|
162
|
+
function dt(e, t) {
|
|
163
|
+
e && e.i && (ut.delete(e), e.i(t));
|
|
164
164
|
}
|
|
165
|
-
function
|
|
166
|
-
const { fragment:
|
|
167
|
-
|
|
168
|
-
const
|
|
169
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
165
|
+
function ft(e, t, n) {
|
|
166
|
+
const { fragment: s, after_update: r } = e.$$;
|
|
167
|
+
s && s.m(t, n), L(() => {
|
|
168
|
+
const i = e.$$.on_mount.map(U).filter(D);
|
|
169
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...i) : x(i), e.$$.on_mount = [];
|
|
170
170
|
}), r.forEach(L);
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function $t(e, t) {
|
|
173
173
|
const n = e.$$;
|
|
174
|
-
n.fragment !== null && (
|
|
174
|
+
n.fragment !== null && (lt(n.after_update), x(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
177
|
-
e.$$.dirty[0] === -1 && (
|
|
176
|
+
function ht(e, t) {
|
|
177
|
+
e.$$.dirty[0] === -1 && (h.push(e), ct(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
178
178
|
}
|
|
179
|
-
function at(e, t, n,
|
|
180
|
-
const
|
|
179
|
+
function at(e, t, n, s, r, i, c = null, l = [-1]) {
|
|
180
|
+
const u = g;
|
|
181
181
|
m(e);
|
|
182
|
-
const
|
|
182
|
+
const o = e.$$ = {
|
|
183
183
|
fragment: null,
|
|
184
184
|
ctx: [],
|
|
185
185
|
// state
|
|
186
|
-
props:
|
|
187
|
-
update:
|
|
186
|
+
props: i,
|
|
187
|
+
update: _,
|
|
188
188
|
not_equal: r,
|
|
189
|
-
bound:
|
|
189
|
+
bound: P(),
|
|
190
190
|
// lifecycle
|
|
191
191
|
on_mount: [],
|
|
192
192
|
on_destroy: [],
|
|
193
193
|
on_disconnect: [],
|
|
194
194
|
before_update: [],
|
|
195
195
|
after_update: [],
|
|
196
|
-
context: new Map(t.context || (
|
|
196
|
+
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
197
197
|
// everything else
|
|
198
|
-
callbacks:
|
|
199
|
-
dirty:
|
|
198
|
+
callbacks: P(),
|
|
199
|
+
dirty: l,
|
|
200
200
|
skip_bound: !1,
|
|
201
|
-
root: t.target ||
|
|
201
|
+
root: t.target || u.$$.root
|
|
202
202
|
};
|
|
203
|
-
c && c(
|
|
204
|
-
let
|
|
205
|
-
if (
|
|
206
|
-
const
|
|
207
|
-
return
|
|
208
|
-
}) : [],
|
|
203
|
+
c && c(o.root);
|
|
204
|
+
let b = !1;
|
|
205
|
+
if (o.ctx = n ? n(e, t.props || {}, (f, O, ...j) => {
|
|
206
|
+
const M = j.length ? j[0] : O;
|
|
207
|
+
return o.ctx && r(o.ctx[f], o.ctx[f] = M) && (!o.skip_bound && o.bound[f] && o.bound[f](M), b && ht(e, f)), O;
|
|
208
|
+
}) : [], o.update(), b = !0, x(o.before_update), o.fragment = s ? s(o.ctx) : !1, t.target) {
|
|
209
209
|
if (t.hydrate) {
|
|
210
|
-
const f =
|
|
211
|
-
|
|
210
|
+
const f = et(t.target);
|
|
211
|
+
o.fragment && o.fragment.l(f), f.forEach(v);
|
|
212
212
|
} else
|
|
213
|
-
|
|
214
|
-
t.intro &&
|
|
213
|
+
o.fragment && o.fragment.c();
|
|
214
|
+
t.intro && dt(e.$$.fragment), ft(e, t.target, t.anchor), y();
|
|
215
215
|
}
|
|
216
|
-
m(
|
|
216
|
+
m(u);
|
|
217
217
|
}
|
|
218
|
-
let
|
|
219
|
-
typeof HTMLElement == "function" && (
|
|
220
|
-
constructor(t, n,
|
|
218
|
+
let G;
|
|
219
|
+
typeof HTMLElement == "function" && (G = class extends HTMLElement {
|
|
220
|
+
constructor(t, n, s) {
|
|
221
221
|
super();
|
|
222
222
|
/** The Svelte component constructor */
|
|
223
223
|
d(this, "$$ctor");
|
|
@@ -237,58 +237,58 @@ typeof HTMLElement == "function" && (z = class extends HTMLElement {
|
|
|
237
237
|
d(this, "$$l", {});
|
|
238
238
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
239
239
|
d(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
240
|
-
this.$$ctor = t, this.$$s = n,
|
|
240
|
+
this.$$ctor = t, this.$$s = n, s && this.attachShadow({ mode: "open" });
|
|
241
241
|
}
|
|
242
|
-
addEventListener(t, n,
|
|
242
|
+
addEventListener(t, n, s) {
|
|
243
243
|
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
|
|
244
244
|
const r = this.$$c.$on(t, n);
|
|
245
245
|
this.$$l_u.set(n, r);
|
|
246
246
|
}
|
|
247
|
-
super.addEventListener(t, n,
|
|
247
|
+
super.addEventListener(t, n, s);
|
|
248
248
|
}
|
|
249
|
-
removeEventListener(t, n,
|
|
250
|
-
if (super.removeEventListener(t, n,
|
|
249
|
+
removeEventListener(t, n, s) {
|
|
250
|
+
if (super.removeEventListener(t, n, s), this.$$c) {
|
|
251
251
|
const r = this.$$l_u.get(n);
|
|
252
252
|
r && (r(), this.$$l_u.delete(n));
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
255
|
connectedCallback() {
|
|
256
|
-
return
|
|
256
|
+
return R(this, null, function* () {
|
|
257
257
|
if (this.$$cn = !0, !this.$$c) {
|
|
258
|
-
let t = function(
|
|
258
|
+
let t = function(i) {
|
|
259
259
|
return () => {
|
|
260
260
|
let c;
|
|
261
261
|
return {
|
|
262
262
|
c: function() {
|
|
263
|
-
c =
|
|
263
|
+
c = A("slot"), i !== "default" && tt(c, "name", i);
|
|
264
264
|
},
|
|
265
265
|
/**
|
|
266
266
|
* @param {HTMLElement} target
|
|
267
267
|
* @param {HTMLElement} [anchor]
|
|
268
268
|
*/
|
|
269
|
-
m: function(
|
|
270
|
-
|
|
269
|
+
m: function(o, b) {
|
|
270
|
+
I(o, c, b);
|
|
271
271
|
},
|
|
272
|
-
d: function(
|
|
273
|
-
|
|
272
|
+
d: function(o) {
|
|
273
|
+
o && v(c);
|
|
274
274
|
}
|
|
275
275
|
};
|
|
276
276
|
};
|
|
277
277
|
};
|
|
278
278
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
279
279
|
return;
|
|
280
|
-
const n = {},
|
|
281
|
-
for (const
|
|
282
|
-
|
|
283
|
-
for (const
|
|
284
|
-
const c = this.$$g_p(
|
|
285
|
-
c in this.$$d || (this.$$d[c] =
|
|
280
|
+
const n = {}, s = nt(this);
|
|
281
|
+
for (const i of this.$$s)
|
|
282
|
+
i in s && (n[i] = [t(i)]);
|
|
283
|
+
for (const i of this.attributes) {
|
|
284
|
+
const c = this.$$g_p(i.name);
|
|
285
|
+
c in this.$$d || (this.$$d[c] = w(c, i.value, this.$$p_d, "toProp"));
|
|
286
286
|
}
|
|
287
|
-
for (const
|
|
288
|
-
!(
|
|
287
|
+
for (const i in this.$$p_d)
|
|
288
|
+
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
289
289
|
this.$$c = new this.$$ctor({
|
|
290
290
|
target: this.shadowRoot || this,
|
|
291
|
-
props: B(
|
|
291
|
+
props: T(B({}, this.$$d), {
|
|
292
292
|
$$slots: n,
|
|
293
293
|
$$scope: {
|
|
294
294
|
ctx: []
|
|
@@ -297,23 +297,23 @@ typeof HTMLElement == "function" && (z = class extends HTMLElement {
|
|
|
297
297
|
});
|
|
298
298
|
const r = () => {
|
|
299
299
|
this.$$r = !0;
|
|
300
|
-
for (const
|
|
301
|
-
if (this.$$d[
|
|
302
|
-
const c =
|
|
303
|
-
|
|
304
|
-
this.$$d[
|
|
300
|
+
for (const i in this.$$p_d)
|
|
301
|
+
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
302
|
+
const c = w(
|
|
303
|
+
i,
|
|
304
|
+
this.$$d[i],
|
|
305
305
|
this.$$p_d,
|
|
306
306
|
"toAttribute"
|
|
307
307
|
);
|
|
308
|
-
c == null ? this.removeAttribute(this.$$p_d[
|
|
308
|
+
c == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, c);
|
|
309
309
|
}
|
|
310
310
|
this.$$r = !1;
|
|
311
311
|
};
|
|
312
312
|
this.$$c.$$.after_update.push(r), r();
|
|
313
|
-
for (const
|
|
314
|
-
for (const c of this.$$l[
|
|
315
|
-
const
|
|
316
|
-
this.$$l_u.set(c,
|
|
313
|
+
for (const i in this.$$l)
|
|
314
|
+
for (const c of this.$$l[i]) {
|
|
315
|
+
const l = this.$$c.$on(i, c);
|
|
316
|
+
this.$$l_u.set(c, l);
|
|
317
317
|
}
|
|
318
318
|
this.$$l = {};
|
|
319
319
|
}
|
|
@@ -321,9 +321,9 @@ typeof HTMLElement == "function" && (z = class extends HTMLElement {
|
|
|
321
321
|
}
|
|
322
322
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
323
323
|
// and setting attributes through setAttribute etc, this is helpful
|
|
324
|
-
attributeChangedCallback(t, n,
|
|
324
|
+
attributeChangedCallback(t, n, s) {
|
|
325
325
|
var r;
|
|
326
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
326
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = w(t, s, this.$$p_d, "toProp"), (r = this.$$c) == null || r.$set({ [t]: this.$$d[t] }));
|
|
327
327
|
}
|
|
328
328
|
disconnectedCallback() {
|
|
329
329
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -336,12 +336,12 @@ typeof HTMLElement == "function" && (z = class extends HTMLElement {
|
|
|
336
336
|
) || t;
|
|
337
337
|
}
|
|
338
338
|
});
|
|
339
|
-
function
|
|
340
|
-
var
|
|
341
|
-
const r = (
|
|
342
|
-
if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !
|
|
339
|
+
function w(e, t, n, s) {
|
|
340
|
+
var i;
|
|
341
|
+
const r = (i = n[e]) == null ? void 0 : i.type;
|
|
342
|
+
if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !s || !n[e])
|
|
343
343
|
return t;
|
|
344
|
-
if (
|
|
344
|
+
if (s === "toAttribute")
|
|
345
345
|
switch (r) {
|
|
346
346
|
case "Object":
|
|
347
347
|
case "Array":
|
|
@@ -366,38 +366,38 @@ function b(e, t, n, i) {
|
|
|
366
366
|
return t;
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
function
|
|
370
|
-
let c = class extends
|
|
369
|
+
function _t(e, t, n, s, r, i) {
|
|
370
|
+
let c = class extends G {
|
|
371
371
|
constructor() {
|
|
372
372
|
super(e, n, r), this.$$p_d = t;
|
|
373
373
|
}
|
|
374
374
|
static get observedAttributes() {
|
|
375
375
|
return Object.keys(t).map(
|
|
376
|
-
(
|
|
376
|
+
(l) => (t[l].attribute || l).toLowerCase()
|
|
377
377
|
);
|
|
378
378
|
}
|
|
379
379
|
};
|
|
380
|
-
return Object.keys(t).forEach((
|
|
381
|
-
Object.defineProperty(c.prototype,
|
|
380
|
+
return Object.keys(t).forEach((l) => {
|
|
381
|
+
Object.defineProperty(c.prototype, l, {
|
|
382
382
|
get() {
|
|
383
|
-
return this.$$c &&
|
|
383
|
+
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
384
384
|
},
|
|
385
|
-
set(
|
|
386
|
-
var
|
|
387
|
-
|
|
385
|
+
set(u) {
|
|
386
|
+
var o;
|
|
387
|
+
u = w(l, u, t), this.$$d[l] = u, (o = this.$$c) == null || o.$set({ [l]: u });
|
|
388
388
|
}
|
|
389
389
|
});
|
|
390
|
-
}),
|
|
391
|
-
Object.defineProperty(c.prototype,
|
|
390
|
+
}), s.forEach((l) => {
|
|
391
|
+
Object.defineProperty(c.prototype, l, {
|
|
392
392
|
get() {
|
|
393
|
-
var
|
|
394
|
-
return (
|
|
393
|
+
var u;
|
|
394
|
+
return (u = this.$$c) == null ? void 0 : u[l];
|
|
395
395
|
}
|
|
396
396
|
});
|
|
397
397
|
}), e.element = /** @type {any} */
|
|
398
398
|
c, c;
|
|
399
399
|
}
|
|
400
|
-
class
|
|
400
|
+
class pt {
|
|
401
401
|
constructor() {
|
|
402
402
|
/**
|
|
403
403
|
* ### PRIVATE API
|
|
@@ -418,7 +418,7 @@ class _t {
|
|
|
418
418
|
}
|
|
419
419
|
/** @returns {void} */
|
|
420
420
|
$destroy() {
|
|
421
|
-
|
|
421
|
+
$t(this, 1), this.$destroy = _;
|
|
422
422
|
}
|
|
423
423
|
/**
|
|
424
424
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -427,12 +427,12 @@ class _t {
|
|
|
427
427
|
* @returns {() => void}
|
|
428
428
|
*/
|
|
429
429
|
$on(t, n) {
|
|
430
|
-
if (!
|
|
431
|
-
return
|
|
432
|
-
const
|
|
433
|
-
return
|
|
434
|
-
const r =
|
|
435
|
-
r !== -1 &&
|
|
430
|
+
if (!D(n))
|
|
431
|
+
return _;
|
|
432
|
+
const s = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
433
|
+
return s.push(n), () => {
|
|
434
|
+
const r = s.indexOf(n);
|
|
435
|
+
r !== -1 && s.splice(r, 1);
|
|
436
436
|
};
|
|
437
437
|
}
|
|
438
438
|
/**
|
|
@@ -440,12 +440,13 @@ class _t {
|
|
|
440
440
|
* @returns {void}
|
|
441
441
|
*/
|
|
442
442
|
$set(t) {
|
|
443
|
-
this.$$set && !
|
|
443
|
+
this.$$set && !Y(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
446
|
const mt = "4";
|
|
447
447
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mt);
|
|
448
|
-
|
|
448
|
+
const a = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
449
|
+
function yt(e, t) {
|
|
449
450
|
if (e) {
|
|
450
451
|
const n = document.createElement("style");
|
|
451
452
|
n.innerHTML = t, e.appendChild(n);
|
|
@@ -455,101 +456,129 @@ function gt(e, t) {
|
|
|
455
456
|
if (!e || !t)
|
|
456
457
|
return;
|
|
457
458
|
const n = new URL(t);
|
|
458
|
-
fetch(n.href).then((
|
|
459
|
+
fetch(n.href).then((s) => s.text()).then((s) => {
|
|
459
460
|
const r = document.createElement("style");
|
|
460
|
-
r.innerHTML =
|
|
461
|
-
}).catch((
|
|
462
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
461
|
+
r.innerHTML = s, e && e.appendChild(r);
|
|
462
|
+
}).catch((s) => {
|
|
463
|
+
console.error("There was an error while trying to load client styling from URL", s);
|
|
464
|
+
});
|
|
465
|
+
}
|
|
466
|
+
function bt(e, t, n, s = !1) {
|
|
467
|
+
if (!window.emMessageBus)
|
|
468
|
+
return;
|
|
469
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !s)
|
|
470
|
+
return n = wt(e, t), n;
|
|
471
|
+
window[a] || (window[a] = {}), n = xt(e, t);
|
|
472
|
+
const i = n.unsubscribe.bind(n), c = () => {
|
|
473
|
+
if (window[a][t]) {
|
|
474
|
+
const l = window[a][t];
|
|
475
|
+
l.refCount > 1 ? l.refCount = l.refCount - 1 : delete window[a][t];
|
|
476
|
+
}
|
|
477
|
+
i();
|
|
478
|
+
};
|
|
479
|
+
return n.unsubscribe = c, n;
|
|
480
|
+
}
|
|
481
|
+
function wt(e, t) {
|
|
482
|
+
const n = document.createElement("style");
|
|
483
|
+
return window.emMessageBus.subscribe(t, (s) => {
|
|
484
|
+
e && (n.innerHTML = s, e.appendChild(n));
|
|
463
485
|
});
|
|
464
486
|
}
|
|
465
|
-
function
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
487
|
+
function xt(e, t) {
|
|
488
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
489
|
+
var l;
|
|
490
|
+
if (!e)
|
|
491
|
+
return;
|
|
492
|
+
const s = e.getRootNode(), r = window[a];
|
|
493
|
+
let i = (l = r[t]) == null ? void 0 : l.sheet;
|
|
494
|
+
i ? r[t].refCount = r[t].refCount + 1 : (i = new CSSStyleSheet(), i.replaceSync(n), r[t] = {
|
|
495
|
+
sheet: i,
|
|
496
|
+
refCount: 1
|
|
470
497
|
});
|
|
471
|
-
|
|
498
|
+
const c = s.adoptedStyleSheets || [];
|
|
499
|
+
c.includes(i) || (s.adoptedStyleSheets = [...c, i]);
|
|
500
|
+
});
|
|
472
501
|
}
|
|
473
|
-
function
|
|
474
|
-
|
|
502
|
+
function St(e) {
|
|
503
|
+
Q(e, "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)}}");
|
|
475
504
|
}
|
|
476
|
-
function
|
|
505
|
+
function Et(e) {
|
|
477
506
|
let t;
|
|
478
507
|
return {
|
|
479
508
|
c() {
|
|
480
|
-
t =
|
|
509
|
+
t = A("div"), t.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
|
|
481
510
|
},
|
|
482
|
-
m(n,
|
|
483
|
-
|
|
511
|
+
m(n, s) {
|
|
512
|
+
I(n, t, s), e[4](t);
|
|
484
513
|
},
|
|
485
|
-
p:
|
|
486
|
-
i:
|
|
487
|
-
o:
|
|
514
|
+
p: _,
|
|
515
|
+
i: _,
|
|
516
|
+
o: _,
|
|
488
517
|
d(n) {
|
|
489
|
-
n &&
|
|
518
|
+
n && v(t), e[4](null);
|
|
490
519
|
}
|
|
491
520
|
};
|
|
492
521
|
}
|
|
493
|
-
function
|
|
494
|
-
let { clientstyling:
|
|
522
|
+
function kt(e, t, n) {
|
|
523
|
+
let { clientstyling: s = "" } = t, { clientstylingurl: r = "" } = t, { mbsource: i } = t, c, l;
|
|
495
524
|
it(() => () => {
|
|
496
525
|
});
|
|
497
526
|
function u(o) {
|
|
498
|
-
|
|
527
|
+
k[o ? "unshift" : "push"](() => {
|
|
499
528
|
c = o, n(0, c);
|
|
500
529
|
});
|
|
501
530
|
}
|
|
502
531
|
return e.$$set = (o) => {
|
|
503
|
-
"clientstyling" in o && n(1,
|
|
532
|
+
"clientstyling" in o && n(1, s = o.clientstyling), "clientstylingurl" in o && n(2, r = o.clientstylingurl), "mbsource" in o && n(3, i = o.mbsource);
|
|
504
533
|
}, e.$$.update = () => {
|
|
505
534
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
506
|
-
3 &&
|
|
535
|
+
3 && s && c && yt(c, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
507
536
|
5 && r && c && gt(c, r), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
508
|
-
9 &&
|
|
537
|
+
9 && i && c && bt(c, `${i}.Style`, l);
|
|
509
538
|
}, [
|
|
510
539
|
c,
|
|
511
|
-
i,
|
|
512
|
-
r,
|
|
513
540
|
s,
|
|
541
|
+
r,
|
|
542
|
+
i,
|
|
514
543
|
u
|
|
515
544
|
];
|
|
516
545
|
}
|
|
517
|
-
class
|
|
546
|
+
class Ct extends pt {
|
|
518
547
|
constructor(t) {
|
|
519
548
|
super(), at(
|
|
520
549
|
this,
|
|
521
550
|
t,
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
551
|
+
kt,
|
|
552
|
+
Et,
|
|
553
|
+
W,
|
|
525
554
|
{
|
|
526
555
|
clientstyling: 1,
|
|
527
556
|
clientstylingurl: 2,
|
|
528
557
|
mbsource: 3
|
|
529
558
|
},
|
|
530
|
-
|
|
559
|
+
St
|
|
531
560
|
);
|
|
532
561
|
}
|
|
533
562
|
get clientstyling() {
|
|
534
563
|
return this.$$.ctx[1];
|
|
535
564
|
}
|
|
536
565
|
set clientstyling(t) {
|
|
537
|
-
this.$$set({ clientstyling: t }),
|
|
566
|
+
this.$$set({ clientstyling: t }), y();
|
|
538
567
|
}
|
|
539
568
|
get clientstylingurl() {
|
|
540
569
|
return this.$$.ctx[2];
|
|
541
570
|
}
|
|
542
571
|
set clientstylingurl(t) {
|
|
543
|
-
this.$$set({ clientstylingurl: t }),
|
|
572
|
+
this.$$set({ clientstylingurl: t }), y();
|
|
544
573
|
}
|
|
545
574
|
get mbsource() {
|
|
546
575
|
return this.$$.ctx[3];
|
|
547
576
|
}
|
|
548
577
|
set mbsource(t) {
|
|
549
|
-
this.$$set({ mbsource: t }),
|
|
578
|
+
this.$$set({ mbsource: t }), y();
|
|
550
579
|
}
|
|
551
580
|
}
|
|
552
|
-
|
|
581
|
+
_t(Ct, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
553
582
|
export {
|
|
554
|
-
|
|
583
|
+
Ct as default
|
|
555
584
|
};
|