@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
|
@@ -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),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 g;function y(e){g=e}function it(){if(!g)throw new Error("Function called outside component initialization");return g}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(m))}function L(e){p.push(e)}const E=new Set;let $=0;function m(){if($!==0)return;const e=g;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=g;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),m()}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 mt="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(mt);const a="__WIDGET_GLOBAL_STYLE_CACHE__";function gt(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=>{var l;if(!e)return;const s=e.getRootNode(),r=window[a];let i=(l=r[t])==null?void 0:l.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&>(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}),m()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),m()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),m()}}pt(z,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=z;
|
|
@@ -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-DHcNOC1G.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-BeWfBR97.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 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 I(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=j("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 U(e,t,n){e.insertBefore(t,n||null)}function S(e){e.parentNode&&e.parentNode.removeChild(e)}function j(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(I);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,C,...O)=>{const A=O.length?O[0]:C;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)),C}):[],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=j("slot"),s!=="default"&&tt(c,"name",s)},m:function(l,y){U(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(!I(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){if(!e||!t)return;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=j("div"),t.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(n,i){U(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;
|