@everymatrix/player-account-modal 1.0.69 → 1.0.70

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.
@@ -0,0 +1,4 @@
1
+ "use strict";var pt=Object.defineProperty,bt=Object.defineProperties;var wt=Object.getOwnPropertyDescriptors;var tt=Object.getOwnPropertySymbols;var xt=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable;var J=(e,t,n)=>t in e?pt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,et=(e,t)=>{for(var n in t||(t={}))xt.call(t,n)&&J(e,n,t[n]);if(tt)for(var n of tt(t))Et.call(t,n)&&J(e,n,t[n]);return e},nt=(e,t)=>bt(e,wt(t));var _=(e,t,n)=>J(e,typeof t!="symbol"?t+"":t,n);var it=(e,t,n)=>new Promise((i,r)=>{var s=l=>{try{o(n.next(l))}catch(u){r(u)}},c=l=>{try{o(n.throw(l))}catch(u){r(u)}},o=l=>l.done?i(l.value):Promise.resolve(l.value).then(s,c);o((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function A(){}const ft=e=>e;function vt(e,t){for(const n in t)e[n]=t[n];return e}function at(e){return e()}function st(){return Object.create(null)}function k(e){e.forEach(at)}function Q(e){return typeof e=="function"}function Ct(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Mt(e){return Object.keys(e).length===0}function kt(e,t,n,i){if(e){const r=dt(e,t,n,i);return e[0](r)}}function dt(e,t,n,i){return e[1]&&i?vt(n.ctx.slice(),e[1](i(t))):n.ctx}function St(e,t,n,i){if(e[2]&&i){const r=e[2](i(n));if(t.dirty===void 0)return r;if(typeof r=="object"){const s=[],c=Math.max(t.dirty.length,r.length);for(let o=0;o<c;o+=1)s[o]=t.dirty[o]|r[o];return s}return t.dirty|r}return t.dirty}function jt(e,t,n,i,r,s){if(r){const c=dt(t,n,i,s);e.p(c,r)}}function Ot(e){if(e.ctx.length>32){const t=[],n=e.ctx.length/32;for(let i=0;i<n;i++)t[i]=-1;return t}return-1}const ht=typeof window!="undefined";let Lt=ht?()=>window.performance.now():()=>Date.now(),X=ht?e=>requestAnimationFrame(e):A;const v=new Set;function $t(e){v.forEach(t=>{t.c(e)||(v.delete(t),t.f())}),v.size!==0&&X($t)}function At(e){let t;return v.size===0&&X($t),{promise:new Promise(n=>{v.add(t={c:e,f:n})}),abort(){v.delete(t)}}}function q(e,t){e.appendChild(t)}function Nt(e,t,n){const i=Y(e);if(!i.getElementById(t)){const r=C("style");r.id=t,r.textContent=n,_t(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 zt(e){const t=C("style");return t.textContent="/* empty */",_t(Y(e),t),t.sheet}function _t(e,t){return q(e.head||e,t),t.sheet}function Z(e,t,n){e.insertBefore(t,n||null)}function P(e){e.parentNode&&e.parentNode.removeChild(e)}function C(e){return document.createElement(e)}function Pt(e){return document.createTextNode(e)}function Rt(){return Pt("")}function j(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function Bt(e){return Array.from(e.childNodes)}function Tt(e,t,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:i})}function Dt(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}const D=new Map;let H=0;function Ht(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}function Ft(e,t){const n={stylesheet:zt(t),rules:{}};return D.set(e,n),n}function rt(e,t,n,i,r,s,c,o=0){const l=16.666/i;let u=`{
2
+ `;for(let f=0;f<=1;f+=l){const m=t+(n-t)*s(f);u+=f*100+`%{${c(m,1-m)}}
3
+ `}const h=u+`100% {${c(n,1-n)}}
4
+ }`,d=`__svelte_${Ht(h)}_${o}`,y=Y(e),{stylesheet:g,rules:a}=D.get(y)||Ft(y,e);a[d]||(a[d]=!0,g.insertRule(`@keyframes ${d} ${h}`,g.cssRules.length));const $=e.style.animation||"";return e.style.animation=`${$?`${$}, `:""}${d} ${i}ms linear ${r}ms 1 both`,H+=1,d}function It(e,t){const n=(e.style.animation||"").split(", "),i=n.filter(t?s=>s.indexOf(t)<0:s=>s.indexOf("__svelte")===-1),r=n.length-i.length;r&&(e.style.animation=i.join(", "),H-=r,H||Ut())}function Ut(){X(()=>{H||(D.forEach(e=>{const{ownerNode:t}=e.stylesheet;t&&P(t)}),D.clear())})}let N;function O(e){N=e}function Jt(){if(!N)throw new Error("Function called outside component initialization");return N}function Vt(e){Jt().$$.on_mount.push(e)}const x=[],F=[];let M=[];const ot=[],Wt=Promise.resolve();let G=!1;function qt(){G||(G=!0,Wt.then(E))}function z(e){M.push(e)}const V=new Set;let w=0;function E(){if(w!==0)return;const e=N;do{try{for(;w<x.length;){const t=x[w];w++,O(t),Gt(t.$$)}}catch(t){throw x.length=0,w=0,t}for(O(null),x.length=0,w=0;F.length;)F.pop()();for(let t=0;t<M.length;t+=1){const n=M[t];V.has(n)||(V.add(n),n())}M.length=0}while(x.length);for(;ot.length;)ot.pop()();G=!1,V.clear(),O(e)}function Gt(e){if(e.fragment!==null){e.update(),k(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(z)}}function Kt(e){const t=[],n=[];M.forEach(i=>e.indexOf(i)===-1?t.push(i):n.push(i)),n.forEach(i=>i()),M=t}let S;function Qt(){return S||(S=Promise.resolve(),S.then(()=>{S=null})),S}function W(e,t,n){e.dispatchEvent(Tt(`${t?"intro":"outro"}${n}`))}const B=new Set;let p;function Xt(){p={r:0,c:[],p}}function Yt(){p.r||k(p.c),p=p.p}function L(e,t){e&&e.i&&(B.delete(e),e.i(t))}function K(e,t,n,i){if(e&&e.o){if(B.has(e))return;B.add(e),p.c.push(()=>{B.delete(e),i&&(n&&e.d(1),i())}),e.o(t)}else i&&i()}const Zt={duration:0};function lt(e,t,n,i){let s=t(e,n,{direction:"both"}),c=i?0:1,o=null,l=null,u=null,h;function d(){u&&It(e,u)}function y(a,$){const f=a.b-c;return $*=Math.abs(f),{a:c,b:a.b,d:f,duration:$,start:a.start,end:a.start+$,group:a.group}}function g(a){const{delay:$=0,duration:f=300,easing:m=ft,tick:b=A,css:I}=s||Zt,U={start:Lt()+$,b:a};a||(U.group=p,p.r+=1),"inert"in e&&(a?h!==void 0&&(e.inert=h):(h=e.inert,e.inert=!0)),o||l?l=U:(I&&(d(),u=rt(e,c,a,f,$,m,I)),a&&b(0,1),o=y(U,f),z(()=>W(e,a,"start")),At(R=>{if(l&&R>l.start&&(o=y(l,f),l=null,W(e,o.b,"start"),I&&(d(),u=rt(e,c,o.b,o.duration,0,m,s.css))),o){if(R>=o.end)b(c=o.b,1-c),W(e,o.b,"end"),l||(o.b?d():--o.group.r||k(o.group.c)),o=null;else if(R>=o.start){const mt=R-o.start;c=o.a+o.d*m(mt/o.duration),b(c,1-c)}}return!!(o||l)}))}return{run(a){Q(s)?Qt().then(()=>{s=s({direction:a?"in":"out"}),g(a)}):g(a)},end(){d(),o=l=null}}}function te(e,t,n){const{fragment:i,after_update:r}=e.$$;i&&i.m(t,n),z(()=>{const s=e.$$.on_mount.map(at).filter(Q);e.$$.on_destroy?e.$$.on_destroy.push(...s):k(s),e.$$.on_mount=[]}),r.forEach(z)}function ee(e,t){const n=e.$$;n.fragment!==null&&(Kt(n.after_update),k(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function ne(e,t){e.$$.dirty[0]===-1&&(x.push(e),qt(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ie(e,t,n,i,r,s,c=null,o=[-1]){const l=N;O(e);const u=e.$$={fragment:null,ctx:[],props:s,update:A,not_equal:r,bound:st(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:st(),dirty:o,skip_bound:!1,root:t.target||l.$$.root};c&&c(u.root);let h=!1;if(u.ctx=n?n(e,t.props||{},(d,y,...g)=>{const a=g.length?g[0]:y;return u.ctx&&r(u.ctx[d],u.ctx[d]=a)&&(!u.skip_bound&&u.bound[d]&&u.bound[d](a),h&&ne(e,d)),y}):[],u.update(),h=!0,k(u.before_update),u.fragment=i?i(u.ctx):!1,t.target){if(t.hydrate){const d=Bt(t.target);u.fragment&&u.fragment.l(d),d.forEach(P)}else u.fragment&&u.fragment.c();t.intro&&L(e.$$.fragment),te(e,t.target,t.anchor),E()}O(l)}let yt;typeof HTMLElement=="function"&&(yt=class extends HTMLElement{constructor(t,n,i){super();_(this,"$$ctor");_(this,"$$s");_(this,"$$c");_(this,"$$cn",!1);_(this,"$$d",{});_(this,"$$r",!1);_(this,"$$p_d",{});_(this,"$$l",{});_(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 it(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let c;return{c:function(){c=C("slot"),s!=="default"&&j(c,"name",s)},m:function(u,h){Z(u,c,h)},d:function(u){u&&P(c)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},i=Dt(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]=T(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:nt(et({},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=T(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 o=this.$$c.$on(s,c);this.$$l_u.set(c,o)}this.$$l={}}})}attributeChangedCallback(t,n,i){var r;this.$$r||(t=this.$$g_p(t),this.$$d[t]=T(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 T(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 se(e,t,n,i,r,s){let c=class extends yt{constructor(){super(e,n,r),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Object.keys(t).forEach(o=>{Object.defineProperty(c.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){var u;l=T(o,l,t),this.$$d[o]=l,(u=this.$$c)==null||u.$set({[o]:l})}})}),i.forEach(o=>{Object.defineProperty(c.prototype,o,{get(){var l;return(l=this.$$c)==null?void 0:l[o]}})}),e.element=c,c}class re{constructor(){_(this,"$$");_(this,"$$set")}$destroy(){ee(this,1),this.$destroy=A}$on(t,n){if(!Q(n))return A;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&&!Mt(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const oe="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(oe);function ct(e,{delay:t=0,duration:n=400,easing:i=ft}={}){const r=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:i,css:s=>`opacity: ${s*r}`}}function le(e){Nt(e,"svelte-eulycz",".svelte-eulycz,.svelte-eulycz::before,.svelte-eulycz::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow.svelte-eulycz{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0}")}function ut(e){let t,n,i,r,s;const c=e[7].default,o=kt(c,e,e[6],null);return{c(){t=C("div"),n=C("div"),i=C("div"),o&&o.c(),j(i,"class","ModalContainer svelte-eulycz"),j(n,"class","ModalWindow svelte-eulycz"),j(n,"id","Modal"),j(t,"class","svelte-eulycz")},m(l,u){Z(l,t,u),q(t,n),q(n,i),o&&o.m(i,null),e[8](n),e[9](t),s=!0},p(l,u){e=l,o&&o.p&&(!s||u&64)&&jt(o,c,e,e[6],s?St(c,e[6],u,null):Ot(e[6]),null)},i(l){s||(L(o,l),l&&z(()=>{s&&(r||(r=lt(n,ct,{transitionDuration:e[1]},!0)),r.run(1))}),s=!0)},o(l){K(o,l),l&&(r||(r=lt(n,ct,{transitionDuration:e[1]},!1)),r.run(0)),s=!1},d(l){l&&P(t),o&&o.d(l),e[8](null),l&&r&&r.end(),e[9](null)}}}function ce(e){let t,n,i=e[0]&&ut(e);return{c(){i&&i.c(),t=Rt()},m(r,s){i&&i.m(r,s),Z(r,t,s),n=!0},p(r,[s]){r[0]?i?(i.p(r,s),s&1&&L(i,1)):(i=ut(r),i.c(),L(i,1),i.m(t.parentNode,t)):i&&(Xt(),K(i,1,1,()=>{i=null}),Yt())},i(r){n||(L(i),n=!0)},o(r){K(i),n=!1},d(r){r&&P(t),i&&i.d(r)}}}function ue(e,t,n){let{$$slots:i={},$$scope:r}=t,{show:s=!1}=t,{duration:c=350}=t,{clientstyling:o=""}=t,{clientstylingurl:l=""}=t,u,h;const d=f=>{f.data.type=="ModalClosed"&&n(0,s=!1),f.data.type==="ShowLimitsConfirmationModal"&&(n(0,s=!0),window.postMessage({type:"DisableScroll"},window.location.href))},y=()=>{let f=document.createElement("style");f.innerHTML=o,u.appendChild(f)},g=()=>{let f=new URL(l),m=document.createElement("style");fetch(f.href).then(b=>b.text()).then(b=>{m.innerHTML=b,setTimeout(()=>{u.appendChild(m)},1)})};Vt(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)}));function a(f){F[f?"unshift":"push"](()=>{h=f,n(3,h)})}function $(f){F[f?"unshift":"push"](()=>{u=f,n(2,u)})}return e.$$set=f=>{"show"in f&&n(0,s=f.show),"duration"in f&&n(1,c=f.duration),"clientstyling"in f&&n(4,o=f.clientstyling),"clientstylingurl"in f&&n(5,l=f.clientstylingurl),"$$scope"in f&&n(6,r=f.$$scope)},e.$$.update=()=>{e.$$.dirty&36&&l&&u&&g(),e.$$.dirty&20&&o&&u&&y()},[s,c,u,h,o,l,r,i,a,$]}class gt extends re{constructor(t){super(),ie(this,t,ue,ce,Ct,{show:0,duration:1,clientstyling:4,clientstylingurl:5},le)}get show(){return this.$$.ctx[0]}set show(t){this.$$set({show:t}),E()}get duration(){return this.$$.ctx[1]}set duration(t){this.$$set({duration:t}),E()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),E()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),E()}}se(gt,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{}},["default"],[],!0);exports.default=gt;
@@ -0,0 +1,854 @@
1
+ var gt = Object.defineProperty, pt = Object.defineProperties;
2
+ var bt = Object.getOwnPropertyDescriptors;
3
+ var tt = Object.getOwnPropertySymbols;
4
+ var wt = Object.prototype.hasOwnProperty, xt = Object.prototype.propertyIsEnumerable;
5
+ var J = (e, t, n) => t in e ? gt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, et = (e, t) => {
6
+ for (var n in t || (t = {}))
7
+ wt.call(t, n) && J(e, n, t[n]);
8
+ if (tt)
9
+ for (var n of tt(t))
10
+ xt.call(t, n) && J(e, n, t[n]);
11
+ return e;
12
+ }, nt = (e, t) => pt(e, bt(t));
13
+ var _ = (e, t, n) => J(e, typeof t != "symbol" ? t + "" : t, n);
14
+ var it = (e, t, n) => new Promise((i, r) => {
15
+ var s = (l) => {
16
+ try {
17
+ o(n.next(l));
18
+ } catch (u) {
19
+ r(u);
20
+ }
21
+ }, c = (l) => {
22
+ try {
23
+ o(n.throw(l));
24
+ } catch (u) {
25
+ r(u);
26
+ }
27
+ }, o = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(s, c);
28
+ o((n = n.apply(e, t)).next());
29
+ });
30
+ function A() {
31
+ }
32
+ const ft = (e) => e;
33
+ function Et(e, t) {
34
+ for (const n in t) e[n] = t[n];
35
+ return (
36
+ /** @type {T & S} */
37
+ e
38
+ );
39
+ }
40
+ function at(e) {
41
+ return e();
42
+ }
43
+ function st() {
44
+ return /* @__PURE__ */ Object.create(null);
45
+ }
46
+ function M(e) {
47
+ e.forEach(at);
48
+ }
49
+ function Q(e) {
50
+ return typeof e == "function";
51
+ }
52
+ function Ct(e, t) {
53
+ return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
+ }
55
+ function vt(e) {
56
+ return Object.keys(e).length === 0;
57
+ }
58
+ function kt(e, t, n, i) {
59
+ if (e) {
60
+ const r = dt(e, t, n, i);
61
+ return e[0](r);
62
+ }
63
+ }
64
+ function dt(e, t, n, i) {
65
+ return e[1] && i ? Et(n.ctx.slice(), e[1](i(t))) : n.ctx;
66
+ }
67
+ function Mt(e, t, n, i) {
68
+ if (e[2] && i) {
69
+ const r = e[2](i(n));
70
+ if (t.dirty === void 0)
71
+ return r;
72
+ if (typeof r == "object") {
73
+ const s = [], c = Math.max(t.dirty.length, r.length);
74
+ for (let o = 0; o < c; o += 1)
75
+ s[o] = t.dirty[o] | r[o];
76
+ return s;
77
+ }
78
+ return t.dirty | r;
79
+ }
80
+ return t.dirty;
81
+ }
82
+ function jt(e, t, n, i, r, s) {
83
+ if (r) {
84
+ const c = dt(t, n, i, s);
85
+ e.p(c, r);
86
+ }
87
+ }
88
+ function Lt(e) {
89
+ if (e.ctx.length > 32) {
90
+ const t = [], n = e.ctx.length / 32;
91
+ for (let i = 0; i < n; i++)
92
+ t[i] = -1;
93
+ return t;
94
+ }
95
+ return -1;
96
+ }
97
+ const ht = typeof window != "undefined";
98
+ let Ot = ht ? () => window.performance.now() : () => Date.now(), X = ht ? (e) => requestAnimationFrame(e) : A;
99
+ const C = /* @__PURE__ */ new Set();
100
+ function $t(e) {
101
+ C.forEach((t) => {
102
+ t.c(e) || (C.delete(t), t.f());
103
+ }), C.size !== 0 && X($t);
104
+ }
105
+ function St(e) {
106
+ let t;
107
+ return C.size === 0 && X($t), {
108
+ promise: new Promise((n) => {
109
+ C.add(t = { c: e, f: n });
110
+ }),
111
+ abort() {
112
+ C.delete(t);
113
+ }
114
+ };
115
+ }
116
+ function q(e, t) {
117
+ e.appendChild(t);
118
+ }
119
+ function At(e, t, n) {
120
+ const i = Y(e);
121
+ if (!i.getElementById(t)) {
122
+ const r = v("style");
123
+ r.id = t, r.textContent = n, _t(i, r);
124
+ }
125
+ }
126
+ function Y(e) {
127
+ if (!e) return document;
128
+ const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
129
+ return t && /** @type {ShadowRoot} */
130
+ t.host ? (
131
+ /** @type {ShadowRoot} */
132
+ t
133
+ ) : e.ownerDocument;
134
+ }
135
+ function Nt(e) {
136
+ const t = v("style");
137
+ return t.textContent = "/* empty */", _t(Y(e), t), t.sheet;
138
+ }
139
+ function _t(e, t) {
140
+ return q(
141
+ /** @type {Document} */
142
+ e.head || e,
143
+ t
144
+ ), t.sheet;
145
+ }
146
+ function Z(e, t, n) {
147
+ e.insertBefore(t, n || null);
148
+ }
149
+ function P(e) {
150
+ e.parentNode && e.parentNode.removeChild(e);
151
+ }
152
+ function v(e) {
153
+ return document.createElement(e);
154
+ }
155
+ function zt(e) {
156
+ return document.createTextNode(e);
157
+ }
158
+ function Pt() {
159
+ return zt("");
160
+ }
161
+ function L(e, t, n) {
162
+ n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
163
+ }
164
+ function Rt(e) {
165
+ return Array.from(e.childNodes);
166
+ }
167
+ function Bt(e, t, { bubbles: n = !1, cancelable: i = !1 } = {}) {
168
+ return new CustomEvent(e, { detail: t, bubbles: n, cancelable: i });
169
+ }
170
+ function Dt(e) {
171
+ const t = {};
172
+ return e.childNodes.forEach(
173
+ /** @param {Element} node */
174
+ (n) => {
175
+ t[n.slot || "default"] = !0;
176
+ }
177
+ ), t;
178
+ }
179
+ const T = /* @__PURE__ */ new Map();
180
+ let H = 0;
181
+ function Tt(e) {
182
+ let t = 5381, n = e.length;
183
+ for (; n--; ) t = (t << 5) - t ^ e.charCodeAt(n);
184
+ return t >>> 0;
185
+ }
186
+ function Ht(e, t) {
187
+ const n = { stylesheet: Nt(t), rules: {} };
188
+ return T.set(e, n), n;
189
+ }
190
+ function rt(e, t, n, i, r, s, c, o = 0) {
191
+ const l = 16.666 / i;
192
+ let u = `{
193
+ `;
194
+ for (let f = 0; f <= 1; f += l) {
195
+ const g = t + (n - t) * s(f);
196
+ u += f * 100 + `%{${c(g, 1 - g)}}
197
+ `;
198
+ }
199
+ const h = u + `100% {${c(n, 1 - n)}}
200
+ }`, d = `__svelte_${Tt(h)}_${o}`, m = Y(e), { stylesheet: y, rules: a } = T.get(m) || Ht(m, e);
201
+ a[d] || (a[d] = !0, y.insertRule(`@keyframes ${d} ${h}`, y.cssRules.length));
202
+ const $ = e.style.animation || "";
203
+ return e.style.animation = `${$ ? `${$}, ` : ""}${d} ${i}ms linear ${r}ms 1 both`, H += 1, d;
204
+ }
205
+ function Ft(e, t) {
206
+ const n = (e.style.animation || "").split(", "), i = n.filter(
207
+ t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
208
+ // remove all Svelte animations
209
+ ), r = n.length - i.length;
210
+ r && (e.style.animation = i.join(", "), H -= r, H || It());
211
+ }
212
+ function It() {
213
+ X(() => {
214
+ H || (T.forEach((e) => {
215
+ const { ownerNode: t } = e.stylesheet;
216
+ t && P(t);
217
+ }), T.clear());
218
+ });
219
+ }
220
+ let N;
221
+ function O(e) {
222
+ N = e;
223
+ }
224
+ function Ut() {
225
+ if (!N) throw new Error("Function called outside component initialization");
226
+ return N;
227
+ }
228
+ function Jt(e) {
229
+ Ut().$$.on_mount.push(e);
230
+ }
231
+ const x = [], F = [];
232
+ let k = [];
233
+ const ot = [], Vt = /* @__PURE__ */ Promise.resolve();
234
+ let G = !1;
235
+ function Wt() {
236
+ G || (G = !0, Vt.then(E));
237
+ }
238
+ function z(e) {
239
+ k.push(e);
240
+ }
241
+ const V = /* @__PURE__ */ new Set();
242
+ let w = 0;
243
+ function E() {
244
+ if (w !== 0)
245
+ return;
246
+ const e = N;
247
+ do {
248
+ try {
249
+ for (; w < x.length; ) {
250
+ const t = x[w];
251
+ w++, O(t), qt(t.$$);
252
+ }
253
+ } catch (t) {
254
+ throw x.length = 0, w = 0, t;
255
+ }
256
+ for (O(null), x.length = 0, w = 0; F.length; ) F.pop()();
257
+ for (let t = 0; t < k.length; t += 1) {
258
+ const n = k[t];
259
+ V.has(n) || (V.add(n), n());
260
+ }
261
+ k.length = 0;
262
+ } while (x.length);
263
+ for (; ot.length; )
264
+ ot.pop()();
265
+ G = !1, V.clear(), O(e);
266
+ }
267
+ function qt(e) {
268
+ if (e.fragment !== null) {
269
+ e.update(), M(e.before_update);
270
+ const t = e.dirty;
271
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(z);
272
+ }
273
+ }
274
+ function Gt(e) {
275
+ const t = [], n = [];
276
+ k.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : n.push(i)), n.forEach((i) => i()), k = t;
277
+ }
278
+ let j;
279
+ function Kt() {
280
+ return j || (j = Promise.resolve(), j.then(() => {
281
+ j = null;
282
+ })), j;
283
+ }
284
+ function W(e, t, n) {
285
+ e.dispatchEvent(Bt(`${t ? "intro" : "outro"}${n}`));
286
+ }
287
+ const B = /* @__PURE__ */ new Set();
288
+ let p;
289
+ function Qt() {
290
+ p = {
291
+ r: 0,
292
+ c: [],
293
+ p
294
+ // parent group
295
+ };
296
+ }
297
+ function Xt() {
298
+ p.r || M(p.c), p = p.p;
299
+ }
300
+ function S(e, t) {
301
+ e && e.i && (B.delete(e), e.i(t));
302
+ }
303
+ function K(e, t, n, i) {
304
+ if (e && e.o) {
305
+ if (B.has(e)) return;
306
+ B.add(e), p.c.push(() => {
307
+ B.delete(e), i && (n && e.d(1), i());
308
+ }), e.o(t);
309
+ } else i && i();
310
+ }
311
+ const Yt = { duration: 0 };
312
+ function lt(e, t, n, i) {
313
+ let s = t(e, n, { direction: "both" }), c = i ? 0 : 1, o = null, l = null, u = null, h;
314
+ function d() {
315
+ u && Ft(e, u);
316
+ }
317
+ function m(a, $) {
318
+ const f = (
319
+ /** @type {Program['d']} */
320
+ a.b - c
321
+ );
322
+ return $ *= Math.abs(f), {
323
+ a: c,
324
+ b: a.b,
325
+ d: f,
326
+ duration: $,
327
+ start: a.start,
328
+ end: a.start + $,
329
+ group: a.group
330
+ };
331
+ }
332
+ function y(a) {
333
+ const {
334
+ delay: $ = 0,
335
+ duration: f = 300,
336
+ easing: g = ft,
337
+ tick: b = A,
338
+ css: I
339
+ } = s || Yt, U = {
340
+ start: Ot() + $,
341
+ b: a
342
+ };
343
+ a || (U.group = p, p.r += 1), "inert" in e && (a ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
344
+ e.inert, e.inert = !0)), o || l ? l = U : (I && (d(), u = rt(e, c, a, f, $, g, I)), a && b(0, 1), o = m(U, f), z(() => W(e, a, "start")), St((R) => {
345
+ if (l && R > l.start && (o = m(l, f), l = null, W(e, o.b, "start"), I && (d(), u = rt(
346
+ e,
347
+ c,
348
+ o.b,
349
+ o.duration,
350
+ 0,
351
+ g,
352
+ s.css
353
+ ))), o) {
354
+ if (R >= o.end)
355
+ b(c = o.b, 1 - c), W(e, o.b, "end"), l || (o.b ? d() : --o.group.r || M(o.group.c)), o = null;
356
+ else if (R >= o.start) {
357
+ const yt = R - o.start;
358
+ c = o.a + o.d * g(yt / o.duration), b(c, 1 - c);
359
+ }
360
+ }
361
+ return !!(o || l);
362
+ }));
363
+ }
364
+ return {
365
+ run(a) {
366
+ Q(s) ? Kt().then(() => {
367
+ s = s({ direction: a ? "in" : "out" }), y(a);
368
+ }) : y(a);
369
+ },
370
+ end() {
371
+ d(), o = l = null;
372
+ }
373
+ };
374
+ }
375
+ function Zt(e, t, n) {
376
+ const { fragment: i, after_update: r } = e.$$;
377
+ i && i.m(t, n), z(() => {
378
+ const s = e.$$.on_mount.map(at).filter(Q);
379
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : M(s), e.$$.on_mount = [];
380
+ }), r.forEach(z);
381
+ }
382
+ function te(e, t) {
383
+ const n = e.$$;
384
+ n.fragment !== null && (Gt(n.after_update), M(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
385
+ }
386
+ function ee(e, t) {
387
+ e.$$.dirty[0] === -1 && (x.push(e), Wt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
388
+ }
389
+ function ne(e, t, n, i, r, s, c = null, o = [-1]) {
390
+ const l = N;
391
+ O(e);
392
+ const u = e.$$ = {
393
+ fragment: null,
394
+ ctx: [],
395
+ // state
396
+ props: s,
397
+ update: A,
398
+ not_equal: r,
399
+ bound: st(),
400
+ // lifecycle
401
+ on_mount: [],
402
+ on_destroy: [],
403
+ on_disconnect: [],
404
+ before_update: [],
405
+ after_update: [],
406
+ context: new Map(t.context || (l ? l.$$.context : [])),
407
+ // everything else
408
+ callbacks: st(),
409
+ dirty: o,
410
+ skip_bound: !1,
411
+ root: t.target || l.$$.root
412
+ };
413
+ c && c(u.root);
414
+ let h = !1;
415
+ if (u.ctx = n ? n(e, t.props || {}, (d, m, ...y) => {
416
+ const a = y.length ? y[0] : m;
417
+ return u.ctx && r(u.ctx[d], u.ctx[d] = a) && (!u.skip_bound && u.bound[d] && u.bound[d](a), h && ee(e, d)), m;
418
+ }) : [], u.update(), h = !0, M(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
419
+ if (t.hydrate) {
420
+ const d = Rt(t.target);
421
+ u.fragment && u.fragment.l(d), d.forEach(P);
422
+ } else
423
+ u.fragment && u.fragment.c();
424
+ t.intro && S(e.$$.fragment), Zt(e, t.target, t.anchor), E();
425
+ }
426
+ O(l);
427
+ }
428
+ let mt;
429
+ typeof HTMLElement == "function" && (mt = class extends HTMLElement {
430
+ constructor(t, n, i) {
431
+ super();
432
+ /** The Svelte component constructor */
433
+ _(this, "$$ctor");
434
+ /** Slots */
435
+ _(this, "$$s");
436
+ /** The Svelte component instance */
437
+ _(this, "$$c");
438
+ /** Whether or not the custom element is connected */
439
+ _(this, "$$cn", !1);
440
+ /** Component props data */
441
+ _(this, "$$d", {});
442
+ /** `true` if currently in the process of reflecting component props back to attributes */
443
+ _(this, "$$r", !1);
444
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
445
+ _(this, "$$p_d", {});
446
+ /** @type {Record<string, Function[]>} Event listeners */
447
+ _(this, "$$l", {});
448
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
449
+ _(this, "$$l_u", /* @__PURE__ */ new Map());
450
+ this.$$ctor = t, this.$$s = n, i && this.attachShadow({ mode: "open" });
451
+ }
452
+ addEventListener(t, n, i) {
453
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
454
+ const r = this.$$c.$on(t, n);
455
+ this.$$l_u.set(n, r);
456
+ }
457
+ super.addEventListener(t, n, i);
458
+ }
459
+ removeEventListener(t, n, i) {
460
+ if (super.removeEventListener(t, n, i), this.$$c) {
461
+ const r = this.$$l_u.get(n);
462
+ r && (r(), this.$$l_u.delete(n));
463
+ }
464
+ }
465
+ connectedCallback() {
466
+ return it(this, null, function* () {
467
+ if (this.$$cn = !0, !this.$$c) {
468
+ let t = function(s) {
469
+ return () => {
470
+ let c;
471
+ return {
472
+ c: function() {
473
+ c = v("slot"), s !== "default" && L(c, "name", s);
474
+ },
475
+ /**
476
+ * @param {HTMLElement} target
477
+ * @param {HTMLElement} [anchor]
478
+ */
479
+ m: function(u, h) {
480
+ Z(u, c, h);
481
+ },
482
+ d: function(u) {
483
+ u && P(c);
484
+ }
485
+ };
486
+ };
487
+ };
488
+ if (yield Promise.resolve(), !this.$$cn || this.$$c)
489
+ return;
490
+ const n = {}, i = Dt(this);
491
+ for (const s of this.$$s)
492
+ s in i && (n[s] = [t(s)]);
493
+ for (const s of this.attributes) {
494
+ const c = this.$$g_p(s.name);
495
+ c in this.$$d || (this.$$d[c] = D(c, s.value, this.$$p_d, "toProp"));
496
+ }
497
+ for (const s in this.$$p_d)
498
+ !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
499
+ this.$$c = new this.$$ctor({
500
+ target: this.shadowRoot || this,
501
+ props: nt(et({}, this.$$d), {
502
+ $$slots: n,
503
+ $$scope: {
504
+ ctx: []
505
+ }
506
+ })
507
+ });
508
+ const r = () => {
509
+ this.$$r = !0;
510
+ for (const s in this.$$p_d)
511
+ if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
512
+ const c = D(
513
+ s,
514
+ this.$$d[s],
515
+ this.$$p_d,
516
+ "toAttribute"
517
+ );
518
+ c == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, c);
519
+ }
520
+ this.$$r = !1;
521
+ };
522
+ this.$$c.$$.after_update.push(r), r();
523
+ for (const s in this.$$l)
524
+ for (const c of this.$$l[s]) {
525
+ const o = this.$$c.$on(s, c);
526
+ this.$$l_u.set(c, o);
527
+ }
528
+ this.$$l = {};
529
+ }
530
+ });
531
+ }
532
+ // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
533
+ // and setting attributes through setAttribute etc, this is helpful
534
+ attributeChangedCallback(t, n, i) {
535
+ var r;
536
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = D(t, i, this.$$p_d, "toProp"), (r = this.$$c) == null || r.$set({ [t]: this.$$d[t] }));
537
+ }
538
+ disconnectedCallback() {
539
+ this.$$cn = !1, Promise.resolve().then(() => {
540
+ !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
541
+ });
542
+ }
543
+ $$g_p(t) {
544
+ return Object.keys(this.$$p_d).find(
545
+ (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
546
+ ) || t;
547
+ }
548
+ });
549
+ function D(e, t, n, i) {
550
+ var s;
551
+ const r = (s = n[e]) == null ? void 0 : s.type;
552
+ if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !n[e])
553
+ return t;
554
+ if (i === "toAttribute")
555
+ switch (r) {
556
+ case "Object":
557
+ case "Array":
558
+ return t == null ? null : JSON.stringify(t);
559
+ case "Boolean":
560
+ return t ? "" : null;
561
+ case "Number":
562
+ return t == null ? null : t;
563
+ default:
564
+ return t;
565
+ }
566
+ else
567
+ switch (r) {
568
+ case "Object":
569
+ case "Array":
570
+ return t && JSON.parse(t);
571
+ case "Boolean":
572
+ return t;
573
+ case "Number":
574
+ return t != null ? +t : t;
575
+ default:
576
+ return t;
577
+ }
578
+ }
579
+ function ie(e, t, n, i, r, s) {
580
+ let c = class extends mt {
581
+ constructor() {
582
+ super(e, n, r), this.$$p_d = t;
583
+ }
584
+ static get observedAttributes() {
585
+ return Object.keys(t).map(
586
+ (o) => (t[o].attribute || o).toLowerCase()
587
+ );
588
+ }
589
+ };
590
+ return Object.keys(t).forEach((o) => {
591
+ Object.defineProperty(c.prototype, o, {
592
+ get() {
593
+ return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
594
+ },
595
+ set(l) {
596
+ var u;
597
+ l = D(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
598
+ }
599
+ });
600
+ }), i.forEach((o) => {
601
+ Object.defineProperty(c.prototype, o, {
602
+ get() {
603
+ var l;
604
+ return (l = this.$$c) == null ? void 0 : l[o];
605
+ }
606
+ });
607
+ }), e.element = /** @type {any} */
608
+ c, c;
609
+ }
610
+ class se {
611
+ constructor() {
612
+ /**
613
+ * ### PRIVATE API
614
+ *
615
+ * Do not use, may change at any time
616
+ *
617
+ * @type {any}
618
+ */
619
+ _(this, "$$");
620
+ /**
621
+ * ### PRIVATE API
622
+ *
623
+ * Do not use, may change at any time
624
+ *
625
+ * @type {any}
626
+ */
627
+ _(this, "$$set");
628
+ }
629
+ /** @returns {void} */
630
+ $destroy() {
631
+ te(this, 1), this.$destroy = A;
632
+ }
633
+ /**
634
+ * @template {Extract<keyof Events, string>} K
635
+ * @param {K} type
636
+ * @param {((e: Events[K]) => void) | null | undefined} callback
637
+ * @returns {() => void}
638
+ */
639
+ $on(t, n) {
640
+ if (!Q(n))
641
+ return A;
642
+ const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
643
+ return i.push(n), () => {
644
+ const r = i.indexOf(n);
645
+ r !== -1 && i.splice(r, 1);
646
+ };
647
+ }
648
+ /**
649
+ * @param {Partial<Props>} props
650
+ * @returns {void}
651
+ */
652
+ $set(t) {
653
+ this.$$set && !vt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
654
+ }
655
+ }
656
+ const re = "4";
657
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(re);
658
+ function ct(e, { delay: t = 0, duration: n = 400, easing: i = ft } = {}) {
659
+ const r = +getComputedStyle(e).opacity;
660
+ return {
661
+ delay: t,
662
+ duration: n,
663
+ easing: i,
664
+ css: (s) => `opacity: ${s * r}`
665
+ };
666
+ }
667
+ function oe(e) {
668
+ At(e, "svelte-eulycz", ".svelte-eulycz,.svelte-eulycz::before,.svelte-eulycz::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow.svelte-eulycz{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0}");
669
+ }
670
+ function ut(e) {
671
+ let t, n, i, r, s;
672
+ const c = (
673
+ /*#slots*/
674
+ e[7].default
675
+ ), o = kt(
676
+ c,
677
+ e,
678
+ /*$$scope*/
679
+ e[6],
680
+ null
681
+ );
682
+ return {
683
+ c() {
684
+ t = v("div"), n = v("div"), i = v("div"), o && o.c(), L(i, "class", "ModalContainer svelte-eulycz"), L(n, "class", "ModalWindow svelte-eulycz"), L(n, "id", "Modal"), L(t, "class", "svelte-eulycz");
685
+ },
686
+ m(l, u) {
687
+ Z(l, t, u), q(t, n), q(n, i), o && o.m(i, null), e[8](n), e[9](t), s = !0;
688
+ },
689
+ p(l, u) {
690
+ e = l, o && o.p && (!s || u & /*$$scope*/
691
+ 64) && jt(
692
+ o,
693
+ c,
694
+ e,
695
+ /*$$scope*/
696
+ e[6],
697
+ s ? Mt(
698
+ c,
699
+ /*$$scope*/
700
+ e[6],
701
+ u,
702
+ null
703
+ ) : Lt(
704
+ /*$$scope*/
705
+ e[6]
706
+ ),
707
+ null
708
+ );
709
+ },
710
+ i(l) {
711
+ s || (S(o, l), l && z(() => {
712
+ s && (r || (r = lt(n, ct, { transitionDuration: (
713
+ /*duration*/
714
+ e[1]
715
+ ) }, !0)), r.run(1));
716
+ }), s = !0);
717
+ },
718
+ o(l) {
719
+ K(o, l), l && (r || (r = lt(n, ct, { transitionDuration: (
720
+ /*duration*/
721
+ e[1]
722
+ ) }, !1)), r.run(0)), s = !1;
723
+ },
724
+ d(l) {
725
+ l && P(t), o && o.d(l), e[8](null), l && r && r.end(), e[9](null);
726
+ }
727
+ };
728
+ }
729
+ function le(e) {
730
+ let t, n, i = (
731
+ /*show*/
732
+ e[0] && ut(e)
733
+ );
734
+ return {
735
+ c() {
736
+ i && i.c(), t = Pt();
737
+ },
738
+ m(r, s) {
739
+ i && i.m(r, s), Z(r, t, s), n = !0;
740
+ },
741
+ p(r, [s]) {
742
+ /*show*/
743
+ r[0] ? i ? (i.p(r, s), s & /*show*/
744
+ 1 && S(i, 1)) : (i = ut(r), i.c(), S(i, 1), i.m(t.parentNode, t)) : i && (Qt(), K(i, 1, 1, () => {
745
+ i = null;
746
+ }), Xt());
747
+ },
748
+ i(r) {
749
+ n || (S(i), n = !0);
750
+ },
751
+ o(r) {
752
+ K(i), n = !1;
753
+ },
754
+ d(r) {
755
+ r && P(t), i && i.d(r);
756
+ }
757
+ };
758
+ }
759
+ function ce(e, t, n) {
760
+ let { $$slots: i = {}, $$scope: r } = t, { show: s = !1 } = t, { duration: c = 350 } = t, { clientstyling: o = "" } = t, { clientstylingurl: l = "" } = t, u, h;
761
+ const d = (f) => {
762
+ f.data.type == "ModalClosed" && n(0, s = !1), f.data.type === "ShowLimitsConfirmationModal" && (n(0, s = !0), window.postMessage({ type: "DisableScroll" }, window.location.href));
763
+ }, m = () => {
764
+ let f = document.createElement("style");
765
+ f.innerHTML = o, u.appendChild(f);
766
+ }, y = () => {
767
+ let f = new URL(l), g = document.createElement("style");
768
+ fetch(f.href).then((b) => b.text()).then((b) => {
769
+ g.innerHTML = b, setTimeout(
770
+ () => {
771
+ u.appendChild(g);
772
+ },
773
+ 1
774
+ );
775
+ });
776
+ };
777
+ Jt(() => (window.addEventListener("message", d, !1), () => {
778
+ window.removeEventListener("message", d);
779
+ }));
780
+ function a(f) {
781
+ F[f ? "unshift" : "push"](() => {
782
+ h = f, n(3, h);
783
+ });
784
+ }
785
+ function $(f) {
786
+ F[f ? "unshift" : "push"](() => {
787
+ u = f, n(2, u);
788
+ });
789
+ }
790
+ return e.$$set = (f) => {
791
+ "show" in f && n(0, s = f.show), "duration" in f && n(1, c = f.duration), "clientstyling" in f && n(4, o = f.clientstyling), "clientstylingurl" in f && n(5, l = f.clientstylingurl), "$$scope" in f && n(6, r = f.$$scope);
792
+ }, e.$$.update = () => {
793
+ e.$$.dirty & /*clientstylingurl, customStylingContainer*/
794
+ 36 && l && u && y(), e.$$.dirty & /*clientstyling, customStylingContainer*/
795
+ 20 && o && u && m();
796
+ }, [
797
+ s,
798
+ c,
799
+ u,
800
+ h,
801
+ o,
802
+ l,
803
+ r,
804
+ i,
805
+ a,
806
+ $
807
+ ];
808
+ }
809
+ class ue extends se {
810
+ constructor(t) {
811
+ super(), ne(
812
+ this,
813
+ t,
814
+ ce,
815
+ le,
816
+ Ct,
817
+ {
818
+ show: 0,
819
+ duration: 1,
820
+ clientstyling: 4,
821
+ clientstylingurl: 5
822
+ },
823
+ oe
824
+ );
825
+ }
826
+ get show() {
827
+ return this.$$.ctx[0];
828
+ }
829
+ set show(t) {
830
+ this.$$set({ show: t }), E();
831
+ }
832
+ get duration() {
833
+ return this.$$.ctx[1];
834
+ }
835
+ set duration(t) {
836
+ this.$$set({ duration: t }), E();
837
+ }
838
+ get clientstyling() {
839
+ return this.$$.ctx[4];
840
+ }
841
+ set clientstyling(t) {
842
+ this.$$set({ clientstyling: t }), E();
843
+ }
844
+ get clientstylingurl() {
845
+ return this.$$.ctx[5];
846
+ }
847
+ set clientstylingurl(t) {
848
+ this.$$set({ clientstylingurl: t }), E();
849
+ }
850
+ }
851
+ ie(ue, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {} }, ["default"], [], !0);
852
+ export {
853
+ ue as default
854
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-account-modal",
3
- "version": "1.0.69",
3
+ "version": "1.0.70",
4
4
  "type": "module",
5
5
  "main": "es2015/player-account-modal.cjs",
6
6
  "module": "es2015/player-account-modal.js",
@@ -11,8 +11,9 @@
11
11
  },
12
12
  "./es2015/player-account-modal.cjs": "./es2015/player-account-modal.cjs"
13
13
  },
14
- "files": [
15
- "es2015/"
14
+ "files": [
15
+ "es2015/",
16
+ "components"
16
17
  ],
17
18
  "publishConfig": {
18
19
  "access": "public"