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