@everymatrix/general-animation-loading 1.99.57 → 1.99.60
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-Ddp_5paF.cjs +1 -0
- package/components/{GeneralAnimationLoading-DNnBxS9L.js → GeneralAnimationLoading-ecUzRctf.js} +7 -13
- package/components/{GeneralAnimationLoading-BsDl8TXH.js → GeneralAnimationLoading-lI6zWQGG.js} +6 -12
- 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-BgdpZu_Z.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var F=Object.defineProperty,J=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,W=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,T=(e,t)=>{for(var n in t||(t={}))K.call(t,n)&&x(e,n,t[n]);if(N)for(var n of N(t))W.call(t,n)&&x(e,n,t[n]);return e},B=(e,t)=>J(e,V(t));var d=(e,t,n)=>x(e,typeof t!="symbol"?t+"":t,n);var P=(e,t,n)=>new Promise((s,r)=>{var i=u=>{try{l(n.next(u))}catch(o){r(o)}},c=u=>{try{l(n.throw(u))}catch(o){r(o)}},l=u=>u.done?s(u.value):Promise.resolve(u.value).then(i,c);l((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function _(){}function U(e){return e()}function R(){return Object.create(null)}function S(e){e.forEach(U)}function D(e){return typeof e=="function"}function Y(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 Q(e,t){e.appendChild(t)}function X(e,t,n){const s=Z(e);if(!s.getElementById(t)){const r=O("style");r.id=t,r.textContent=n,tt(s,r)}}function Z(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function tt(e,t){return Q(e.head||e,t),t.sheet}function I(e,t,n){e.insertBefore(t,n||null)}function v(e){e.parentNode&&e.parentNode.removeChild(e)}function O(e){return document.createElement(e)}function et(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function nt(e){return Array.from(e.childNodes)}function st(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let m;function y(e){m=e}function it(){if(!m)throw new Error("Function called outside component initialization");return m}function rt(e){it().$$.on_mount.push(e)}const h=[],k=[];let p=[];const H=[],ct=Promise.resolve();let C=!1;function ot(){C||(C=!0,ct.then(g))}function L(e){p.push(e)}const E=new Set;let $=0;function g(){if($!==0)return;const e=m;do{try{for(;$<h.length;){const t=h[$];$++,y(t),lt(t.$$)}}catch(t){throw h.length=0,$=0,t}for(y(null),h.length=0,$=0;k.length;)k.pop()();for(let t=0;t<p.length;t+=1){const n=p[t];E.has(n)||(E.add(n),n())}p.length=0}while(h.length);for(;H.length;)H.pop()();C=!1,E.clear(),y(e)}function lt(e){if(e.fragment!==null){e.update(),S(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(L)}}function ut(e){const t=[],n=[];p.forEach(s=>e.indexOf(s)===-1?t.push(s):n.push(s)),n.forEach(s=>s()),p=t}const dt=new Set;function ft(e,t){e&&e.i&&(dt.delete(e),e.i(t))}function $t(e,t,n){const{fragment:s,after_update:r}=e.$$;s&&s.m(t,n),L(()=>{const i=e.$$.on_mount.map(U).filter(D);e.$$.on_destroy?e.$$.on_destroy.push(...i):S(i),e.$$.on_mount=[]}),r.forEach(L)}function ht(e,t){const n=e.$$;n.fragment!==null&&(ut(n.after_update),S(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&&(h.push(e),ot(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function _t(e,t,n,s,r,i,c=null,l=[-1]){const u=m;y(e);const o=e.$$={fragment:null,ctx:[],props:i,update:_,not_equal:r,bound:R(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:R(),dirty:l,skip_bound:!1,root:t.target||u.$$.root};c&&c(o.root);let b=!1;if(o.ctx=n?n(e,t.props||{},(f,j,...A)=>{const M=A.length?A[0]:j;return o.ctx&&r(o.ctx[f],o.ctx[f]=M)&&(!o.skip_bound&&o.bound[f]&&o.bound[f](M),b&&at(e,f)),j}):[],o.update(),b=!0,S(o.before_update),o.fragment=s?s(o.ctx):!1,t.target){if(t.hydrate){const f=nt(t.target);o.fragment&&o.fragment.l(f),f.forEach(v)}else o.fragment&&o.fragment.c();t.intro&&ft(e.$$.fragment),$t(e,t.target,t.anchor),g()}y(u)}let G;typeof HTMLElement=="function"&&(G=class extends HTMLElement{constructor(t,n,s){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,s&&this.attachShadow({mode:"open"})}addEventListener(t,n,s){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,s)}removeEventListener(t,n,s){if(super.removeEventListener(t,n,s),this.$$c){const r=this.$$l_u.get(n);r&&(r(),this.$$l_u.delete(n))}}connectedCallback(){return P(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let c;return{c:function(){c=O("slot"),i!=="default"&&et(c,"name",i)},m:function(o,b){I(o,c,b)},d:function(o){o&&v(c)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=st(this);for(const i of this.$$s)i in s&&(n[i]=[t(i)]);for(const i of this.attributes){const c=this.$$g_p(i.name);c in this.$$d||(this.$$d[c]=w(c,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:B(T({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const r=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const c=w(i,this.$$d[i],this.$$p_d,"toAttribute");c==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,c)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const i in this.$$l)for(const c of this.$$l[i]){const l=this.$$c.$on(i,c);this.$$l_u.set(c,l)}this.$$l={}}})}attributeChangedCallback(t,n,s){var r;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]}))}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 w(e,t,n,s){var i;const r=(i=n[e])==null?void 0:i.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!n[e])return t;if(s==="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 pt(e,t,n,s,r,i){let c=class extends G{constructor(){super(e,n,r),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(c.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(u){var o;u=w(l,u,t),this.$$d[l]=u,(o=this.$$c)==null||o.$set({[l]:u})}})}),s.forEach(l=>{Object.defineProperty(c.prototype,l,{get(){var u;return(u=this.$$c)==null?void 0:u[l]}})}),e.element=c,c}class yt{constructor(){d(this,"$$");d(this,"$$set")}$destroy(){ht(this,1),this.$destroy=_}$on(t,n){if(!D(n))return _;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const r=s.indexOf(n);r!==-1&&s.splice(r,1)}}$set(t){this.$$set&&!q(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const gt="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(gt);const a="__WIDGET_GLOBAL_STYLE_CACHE__";function mt(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function bt(e,t){if(!e||!t)return;const n=new URL(t);fetch(n.href).then(s=>s.text()).then(s=>{const r=document.createElement("style");r.innerHTML=s,e&&e.appendChild(r)}).catch(s=>{console.error("There was an error while trying to load client styling from URL",s)})}function wt(e,t,n,s=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!s)return n=St(e,t),n;window[a]||(window[a]={}),n=xt(e,t);const i=n.unsubscribe.bind(n),c=()=>{if(window[a][t]){const l=window[a][t];l.refCount>1?l.refCount=l.refCount-1:delete window[a][t]}i()};return n.unsubscribe=c,n}function St(e,t){const n=document.createElement("style");return window.emMessageBus.subscribe(t,s=>{e&&(n.innerHTML=s,e.appendChild(n))})}function xt(e,t){return window.emMessageBus.subscribe(t,n=>{if(!e)return;const s=e.getRootNode(),r=window[a];let i=r[t]&&r[t].sheet;i?r[t].refCount=r[t].refCount+1:(i=new CSSStyleSheet,i.replaceSync(n),r[t]={sheet:i,refCount:1});const c=s.adoptedStyleSheets||[];c.includes(i)||(s.adoptedStyleSheets=[...c,i])})}function Et(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 kt(e){let t;return{c(){t=O("div"),t.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(n,s){I(n,t,s),e[4](t)},p:_,i:_,o:_,d(n){n&&v(t),e[4](null)}}}function Ct(e,t,n){let{clientstyling:s=""}=t,{clientstylingurl:r=""}=t,{mbsource:i}=t,c,l;rt(()=>()=>{});function u(o){k[o?"unshift":"push"](()=>{c=o,n(0,c)})}return e.$$set=o=>{"clientstyling"in o&&n(1,s=o.clientstyling),"clientstylingurl"in o&&n(2,r=o.clientstylingurl),"mbsource"in o&&n(3,i=o.mbsource)},e.$$.update=()=>{e.$$.dirty&3&&s&&c&&mt(c,s),e.$$.dirty&5&&r&&c&&bt(c,r),e.$$.dirty&9&&i&&c&&wt(c,`${i}.Style`,l)},[c,s,r,i,u]}class z extends yt{constructor(t){super(),_t(this,t,Ct,kt,Y,{clientstyling:1,clientstylingurl:2,mbsource:3},Et)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),g()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),g()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),g()}}pt(z,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=z;
|
package/components/{GeneralAnimationLoading-DNnBxS9L.js → GeneralAnimationLoading-ecUzRctf.js}
RENAMED
|
@@ -10,7 +10,7 @@ var S = (e, t, n) => t in e ? z(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
K.call(t, n) && S(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
12
|
}, T = (e, t) => F(e, J(t));
|
|
13
|
-
var d = (e, t, n) =>
|
|
13
|
+
var d = (e, t, n) => S(e, typeof t != "symbol" ? t + "" : t, n);
|
|
14
14
|
var R = (e, t, n) => new Promise((s, r) => {
|
|
15
15
|
var i = (u) => {
|
|
16
16
|
try {
|
|
@@ -58,8 +58,7 @@ function Q(e, t, n) {
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
function X(e) {
|
|
61
|
-
if (!e)
|
|
62
|
-
return document;
|
|
61
|
+
if (!e) return document;
|
|
63
62
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
64
63
|
return t && /** @type {ShadowRoot} */
|
|
65
64
|
t.host ? (
|
|
@@ -103,8 +102,7 @@ function y(e) {
|
|
|
103
102
|
g = e;
|
|
104
103
|
}
|
|
105
104
|
function st() {
|
|
106
|
-
if (!g)
|
|
107
|
-
throw new Error("Function called outside component initialization");
|
|
105
|
+
if (!g) throw new Error("Function called outside component initialization");
|
|
108
106
|
return g;
|
|
109
107
|
}
|
|
110
108
|
function it(e) {
|
|
@@ -135,8 +133,7 @@ function m() {
|
|
|
135
133
|
} catch (t) {
|
|
136
134
|
throw h.length = 0, $ = 0, t;
|
|
137
135
|
}
|
|
138
|
-
for (y(null), h.length = 0, $ = 0; k.length; )
|
|
139
|
-
k.pop()();
|
|
136
|
+
for (y(null), h.length = 0, $ = 0; k.length; ) k.pop()();
|
|
140
137
|
for (let t = 0; t < p.length; t += 1) {
|
|
141
138
|
const n = p[t];
|
|
142
139
|
E.has(n) || (E.add(n), n());
|
|
@@ -453,8 +450,7 @@ function mt(e, t) {
|
|
|
453
450
|
}
|
|
454
451
|
}
|
|
455
452
|
function gt(e, t) {
|
|
456
|
-
if (!e || !t)
|
|
457
|
-
return;
|
|
453
|
+
if (!e || !t) return;
|
|
458
454
|
const n = new URL(t);
|
|
459
455
|
fetch(n.href).then((s) => s.text()).then((s) => {
|
|
460
456
|
const r = document.createElement("style");
|
|
@@ -464,8 +460,7 @@ function gt(e, t) {
|
|
|
464
460
|
});
|
|
465
461
|
}
|
|
466
462
|
function bt(e, t, n, s = !1) {
|
|
467
|
-
if (!window.emMessageBus)
|
|
468
|
-
return;
|
|
463
|
+
if (!window.emMessageBus) return;
|
|
469
464
|
if (!("adoptedStyleSheets" in Document.prototype) || !s)
|
|
470
465
|
return n = wt(e, t), n;
|
|
471
466
|
window[a] || (window[a] = {}), n = xt(e, t);
|
|
@@ -486,8 +481,7 @@ function wt(e, t) {
|
|
|
486
481
|
}
|
|
487
482
|
function xt(e, t) {
|
|
488
483
|
return window.emMessageBus.subscribe(t, (n) => {
|
|
489
|
-
if (!e)
|
|
490
|
-
return;
|
|
484
|
+
if (!e) return;
|
|
491
485
|
const s = e.getRootNode(), r = window[a];
|
|
492
486
|
let i = r[t] && r[t].sheet;
|
|
493
487
|
i ? r[t].refCount = r[t].refCount + 1 : (i = new CSSStyleSheet(), i.replaceSync(n), r[t] = {
|
package/components/{GeneralAnimationLoading-BsDl8TXH.js → GeneralAnimationLoading-lI6zWQGG.js}
RENAMED
|
@@ -29,8 +29,7 @@ function D(t, e, n) {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
function G(t) {
|
|
32
|
-
if (!t)
|
|
33
|
-
return document;
|
|
32
|
+
if (!t) return document;
|
|
34
33
|
const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
|
|
35
34
|
return e && /** @type {ShadowRoot} */
|
|
36
35
|
e.host ? (
|
|
@@ -74,8 +73,7 @@ function p(t) {
|
|
|
74
73
|
m = t;
|
|
75
74
|
}
|
|
76
75
|
function V() {
|
|
77
|
-
if (!m)
|
|
78
|
-
throw new Error("Function called outside component initialization");
|
|
76
|
+
if (!m) throw new Error("Function called outside component initialization");
|
|
79
77
|
return m;
|
|
80
78
|
}
|
|
81
79
|
function K(t) {
|
|
@@ -106,8 +104,7 @@ function y() {
|
|
|
106
104
|
} catch (e) {
|
|
107
105
|
throw $.length = 0, f = 0, e;
|
|
108
106
|
}
|
|
109
|
-
for (p(null), $.length = 0, f = 0; x.length; )
|
|
110
|
-
x.pop()();
|
|
107
|
+
for (p(null), $.length = 0, f = 0; x.length; ) x.pop()();
|
|
111
108
|
for (let e = 0; e < _.length; e += 1) {
|
|
112
109
|
const n = _[e];
|
|
113
110
|
w.has(n) || (w.add(n), n());
|
|
@@ -416,8 +413,7 @@ function ot(t, e) {
|
|
|
416
413
|
}
|
|
417
414
|
}
|
|
418
415
|
function lt(t, e) {
|
|
419
|
-
if (!t || !e)
|
|
420
|
-
return;
|
|
416
|
+
if (!t || !e) return;
|
|
421
417
|
const n = new URL(e);
|
|
422
418
|
fetch(n.href).then((i) => i.text()).then((i) => {
|
|
423
419
|
const s = document.createElement("style");
|
|
@@ -427,8 +423,7 @@ function lt(t, e) {
|
|
|
427
423
|
});
|
|
428
424
|
}
|
|
429
425
|
function ut(t, e, n, i = !1) {
|
|
430
|
-
if (!window.emMessageBus)
|
|
431
|
-
return;
|
|
426
|
+
if (!window.emMessageBus) return;
|
|
432
427
|
if (!("adoptedStyleSheets" in Document.prototype) || !i)
|
|
433
428
|
return n = dt(t, e), n;
|
|
434
429
|
window[h] || (window[h] = {}), n = ft(t, e);
|
|
@@ -449,8 +444,7 @@ function dt(t, e) {
|
|
|
449
444
|
}
|
|
450
445
|
function ft(t, e) {
|
|
451
446
|
return window.emMessageBus.subscribe(e, (n) => {
|
|
452
|
-
if (!t)
|
|
453
|
-
return;
|
|
447
|
+
if (!t) return;
|
|
454
448
|
const i = t.getRootNode(), s = window[h];
|
|
455
449
|
let r = s[e] && s[e].sheet;
|
|
456
450
|
r ? s[e].refCount = s[e].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(n), s[e] = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralAnimationLoading-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralAnimationLoading-Ddp_5paF.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/GeneralAnimationLoading-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/GeneralAnimationLoading-ecUzRctf.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var F=Object.defineProperty,J=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,W=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,T=(e,t)=>{for(var n in t||(t={}))K.call(t,n)&&x(e,n,t[n]);if(N)for(var n of N(t))W.call(t,n)&&x(e,n,t[n]);return e},B=(e,t)=>J(e,V(t));var d=(e,t,n)=>(x(e,typeof t!="symbol"?t+"":t,n),n);var P=(e,t,n)=>new Promise((s,r)=>{var i=u=>{try{l(n.next(u))}catch(o){r(o)}},c=u=>{try{l(n.throw(u))}catch(o){r(o)}},l=u=>u.done?s(u.value):Promise.resolve(u.value).then(i,c);l((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function _(){}function U(e){return e()}function R(){return Object.create(null)}function S(e){e.forEach(U)}function D(e){return typeof e=="function"}function Y(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 Q(e,t){e.appendChild(t)}function X(e,t,n){const s=Z(e);if(!s.getElementById(t)){const r=O("style");r.id=t,r.textContent=n,tt(s,r)}}function Z(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function tt(e,t){return Q(e.head||e,t),t.sheet}function I(e,t,n){e.insertBefore(t,n||null)}function v(e){e.parentNode&&e.parentNode.removeChild(e)}function O(e){return document.createElement(e)}function et(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function nt(e){return Array.from(e.childNodes)}function st(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let m;function y(e){m=e}function it(){if(!m)throw new Error("Function called outside component initialization");return m}function rt(e){it().$$.on_mount.push(e)}const h=[],k=[];let p=[];const H=[],ct=Promise.resolve();let C=!1;function ot(){C||(C=!0,ct.then(g))}function L(e){p.push(e)}const E=new Set;let $=0;function g(){if($!==0)return;const e=m;do{try{for(;$<h.length;){const t=h[$];$++,y(t),lt(t.$$)}}catch(t){throw h.length=0,$=0,t}for(y(null),h.length=0,$=0;k.length;)k.pop()();for(let t=0;t<p.length;t+=1){const n=p[t];E.has(n)||(E.add(n),n())}p.length=0}while(h.length);for(;H.length;)H.pop()();C=!1,E.clear(),y(e)}function lt(e){if(e.fragment!==null){e.update(),S(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(L)}}function ut(e){const t=[],n=[];p.forEach(s=>e.indexOf(s)===-1?t.push(s):n.push(s)),n.forEach(s=>s()),p=t}const dt=new Set;function ft(e,t){e&&e.i&&(dt.delete(e),e.i(t))}function $t(e,t,n){const{fragment:s,after_update:r}=e.$$;s&&s.m(t,n),L(()=>{const i=e.$$.on_mount.map(U).filter(D);e.$$.on_destroy?e.$$.on_destroy.push(...i):S(i),e.$$.on_mount=[]}),r.forEach(L)}function ht(e,t){const n=e.$$;n.fragment!==null&&(ut(n.after_update),S(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&&(h.push(e),ot(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function _t(e,t,n,s,r,i,c=null,l=[-1]){const u=m;y(e);const o=e.$$={fragment:null,ctx:[],props:i,update:_,not_equal:r,bound:R(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:R(),dirty:l,skip_bound:!1,root:t.target||u.$$.root};c&&c(o.root);let b=!1;if(o.ctx=n?n(e,t.props||{},(f,j,...A)=>{const M=A.length?A[0]:j;return o.ctx&&r(o.ctx[f],o.ctx[f]=M)&&(!o.skip_bound&&o.bound[f]&&o.bound[f](M),b&&at(e,f)),j}):[],o.update(),b=!0,S(o.before_update),o.fragment=s?s(o.ctx):!1,t.target){if(t.hydrate){const f=nt(t.target);o.fragment&&o.fragment.l(f),f.forEach(v)}else o.fragment&&o.fragment.c();t.intro&&ft(e.$$.fragment),$t(e,t.target,t.anchor),g()}y(u)}let G;typeof HTMLElement=="function"&&(G=class extends HTMLElement{constructor(t,n,s){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,s&&this.attachShadow({mode:"open"})}addEventListener(t,n,s){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,s)}removeEventListener(t,n,s){if(super.removeEventListener(t,n,s),this.$$c){const r=this.$$l_u.get(n);r&&(r(),this.$$l_u.delete(n))}}connectedCallback(){return P(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let c;return{c:function(){c=O("slot"),i!=="default"&&et(c,"name",i)},m:function(o,b){I(o,c,b)},d:function(o){o&&v(c)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=st(this);for(const i of this.$$s)i in s&&(n[i]=[t(i)]);for(const i of this.attributes){const c=this.$$g_p(i.name);c in this.$$d||(this.$$d[c]=w(c,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:B(T({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const r=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const c=w(i,this.$$d[i],this.$$p_d,"toAttribute");c==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,c)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const i in this.$$l)for(const c of this.$$l[i]){const l=this.$$c.$on(i,c);this.$$l_u.set(c,l)}this.$$l={}}})}attributeChangedCallback(t,n,s){var r;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]}))}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 w(e,t,n,s){var i;const r=(i=n[e])==null?void 0:i.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!n[e])return t;if(s==="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 pt(e,t,n,s,r,i){let c=class extends G{constructor(){super(e,n,r),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(c.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(u){var o;u=w(l,u,t),this.$$d[l]=u,(o=this.$$c)==null||o.$set({[l]:u})}})}),s.forEach(l=>{Object.defineProperty(c.prototype,l,{get(){var u;return(u=this.$$c)==null?void 0:u[l]}})}),e.element=c,c}class yt{constructor(){d(this,"$$");d(this,"$$set")}$destroy(){ht(this,1),this.$destroy=_}$on(t,n){if(!D(n))return _;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const r=s.indexOf(n);r!==-1&&s.splice(r,1)}}$set(t){this.$$set&&!q(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const gt="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(gt);const a="__WIDGET_GLOBAL_STYLE_CACHE__";function mt(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function bt(e,t){if(!e||!t)return;const n=new URL(t);fetch(n.href).then(s=>s.text()).then(s=>{const r=document.createElement("style");r.innerHTML=s,e&&e.appendChild(r)}).catch(s=>{console.error("There was an error while trying to load client styling from URL",s)})}function wt(e,t,n,s=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!s)return n=St(e,t),n;window[a]||(window[a]={}),n=xt(e,t);const i=n.unsubscribe.bind(n),c=()=>{if(window[a][t]){const l=window[a][t];l.refCount>1?l.refCount=l.refCount-1:delete window[a][t]}i()};return n.unsubscribe=c,n}function St(e,t){const n=document.createElement("style");return window.emMessageBus.subscribe(t,s=>{e&&(n.innerHTML=s,e.appendChild(n))})}function xt(e,t){return window.emMessageBus.subscribe(t,n=>{if(!e)return;const s=e.getRootNode(),r=window[a];let i=r[t]&&r[t].sheet;i?r[t].refCount=r[t].refCount+1:(i=new CSSStyleSheet,i.replaceSync(n),r[t]={sheet:i,refCount:1});const c=s.adoptedStyleSheets||[];c.includes(i)||(s.adoptedStyleSheets=[...c,i])})}function Et(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 kt(e){let t;return{c(){t=O("div"),t.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(n,s){I(n,t,s),e[4](t)},p:_,i:_,o:_,d(n){n&&v(t),e[4](null)}}}function Ct(e,t,n){let{clientstyling:s=""}=t,{clientstylingurl:r=""}=t,{mbsource:i}=t,c,l;rt(()=>()=>{});function u(o){k[o?"unshift":"push"](()=>{c=o,n(0,c)})}return e.$$set=o=>{"clientstyling"in o&&n(1,s=o.clientstyling),"clientstylingurl"in o&&n(2,r=o.clientstylingurl),"mbsource"in o&&n(3,i=o.mbsource)},e.$$.update=()=>{e.$$.dirty&3&&s&&c&&mt(c,s),e.$$.dirty&5&&r&&c&&bt(c,r),e.$$.dirty&9&&i&&c&&wt(c,`${i}.Style`,l)},[c,s,r,i,u]}class z extends yt{constructor(t){super(),_t(this,t,Ct,kt,Y,{clientstyling:1,clientstylingurl:2,mbsource:3},Et)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),g()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),g()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),g()}}pt(z,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=z;
|