@everymatrix/casino-wagering-bonuses-controller 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/{CasinoWageringBonusProgress-DKxgNPxa.js → CasinoWageringBonusProgress-CMEfrdSP.js} +8 -4
- package/components/{CasinoWageringBonusProgress-BPcqqTQq.js → CasinoWageringBonusProgress-D0dCeXp2.js} +9 -5
- package/components/CasinoWageringBonusProgress-DbQfzojd.cjs +1 -0
- package/components/{CasinoWageringBonusesController-By_auRw8.js → CasinoWageringBonusesController-C11mRlVY.js} +54 -24
- package/components/{CasinoWageringBonusesController-DRx9AAdO.js → CasinoWageringBonusesController-Cutjnfg7.js} +54 -24
- package/components/{CasinoWageringBonusesController-CkjzyjbS.cjs → CasinoWageringBonusesController-GXFEQ8ru.cjs} +16 -3
- package/components/GeneralAnimationLoading-BrUofBqW.js +107 -0
- package/components/GeneralAnimationLoading-Cfg5j6wN.cjs +1 -0
- package/components/GeneralAnimationLoading-DIp20cAk.js +107 -0
- package/es2015/casino-wagering-bonuses-controller.cjs +1 -1
- package/es2015/casino-wagering-bonuses-controller.js +1 -1
- package/esnext/casino-wagering-bonuses-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoWageringBonusProgress-DRtlhC-y.cjs +0 -1
- package/components/GeneralAnimationLoading-CJTyxg5w.js +0 -75
- package/components/GeneralAnimationLoading-DK4e3qMy.cjs +0 -1
- package/components/GeneralAnimationLoading-Dkv-KBrh.js +0 -75
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { S as u, i as f, f as a, c as m, s as h, a as g, g as p, j as y, n as d, m as b, v, G as x } from "./CasinoWageringBonusProgress-CMEfrdSP.js";
|
|
2
|
+
function L(e, i) {
|
|
3
|
+
if (e) {
|
|
4
|
+
const s = document.createElement("style");
|
|
5
|
+
s.innerHTML = i, e.appendChild(s);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
function _(e, i) {
|
|
9
|
+
const s = new URL(i);
|
|
10
|
+
fetch(s.href).then((t) => t.text()).then((t) => {
|
|
11
|
+
const n = document.createElement("style");
|
|
12
|
+
n.innerHTML = t, e && e.appendChild(n);
|
|
13
|
+
}).catch((t) => {
|
|
14
|
+
console.error("There was an error while trying to load client styling from URL", t);
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function w(e, i, s) {
|
|
18
|
+
if (window.emMessageBus) {
|
|
19
|
+
const t = document.createElement("style");
|
|
20
|
+
window.emMessageBus.subscribe(i, (n) => {
|
|
21
|
+
t.innerHTML = n, e && e.appendChild(t);
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function S(e) {
|
|
26
|
+
g(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)}}");
|
|
27
|
+
}
|
|
28
|
+
function M(e) {
|
|
29
|
+
let i;
|
|
30
|
+
return {
|
|
31
|
+
c() {
|
|
32
|
+
i = p("div"), i.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
|
|
33
|
+
},
|
|
34
|
+
m(s, t) {
|
|
35
|
+
y(s, i, t), e[4](i);
|
|
36
|
+
},
|
|
37
|
+
p: d,
|
|
38
|
+
i: d,
|
|
39
|
+
o: d,
|
|
40
|
+
d(s) {
|
|
41
|
+
s && b(i), e[4](null);
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function k(e, i, s) {
|
|
46
|
+
let { clientstyling: t = "" } = i, { clientstylingurl: n = "" } = i, { mbsource: r } = i, l;
|
|
47
|
+
v(() => () => {
|
|
48
|
+
});
|
|
49
|
+
function o(c) {
|
|
50
|
+
x[c ? "unshift" : "push"](() => {
|
|
51
|
+
l = c, s(0, l);
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
return e.$$set = (c) => {
|
|
55
|
+
"clientstyling" in c && s(1, t = c.clientstyling), "clientstylingurl" in c && s(2, n = c.clientstylingurl), "mbsource" in c && s(3, r = c.mbsource);
|
|
56
|
+
}, e.$$.update = () => {
|
|
57
|
+
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
58
|
+
3 && t && l && L(l, t), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
59
|
+
5 && n && l && _(l, n), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
60
|
+
9 && r && l && w(l, `${r}.Style`);
|
|
61
|
+
}, [
|
|
62
|
+
l,
|
|
63
|
+
t,
|
|
64
|
+
n,
|
|
65
|
+
r,
|
|
66
|
+
o
|
|
67
|
+
];
|
|
68
|
+
}
|
|
69
|
+
class C extends u {
|
|
70
|
+
constructor(i) {
|
|
71
|
+
super(), f(
|
|
72
|
+
this,
|
|
73
|
+
i,
|
|
74
|
+
k,
|
|
75
|
+
M,
|
|
76
|
+
h,
|
|
77
|
+
{
|
|
78
|
+
clientstyling: 1,
|
|
79
|
+
clientstylingurl: 2,
|
|
80
|
+
mbsource: 3
|
|
81
|
+
},
|
|
82
|
+
S
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
get clientstyling() {
|
|
86
|
+
return this.$$.ctx[1];
|
|
87
|
+
}
|
|
88
|
+
set clientstyling(i) {
|
|
89
|
+
this.$$set({ clientstyling: i }), a();
|
|
90
|
+
}
|
|
91
|
+
get clientstylingurl() {
|
|
92
|
+
return this.$$.ctx[2];
|
|
93
|
+
}
|
|
94
|
+
set clientstylingurl(i) {
|
|
95
|
+
this.$$set({ clientstylingurl: i }), a();
|
|
96
|
+
}
|
|
97
|
+
get mbsource() {
|
|
98
|
+
return this.$$.ctx[3];
|
|
99
|
+
}
|
|
100
|
+
set mbsource(i) {
|
|
101
|
+
this.$$set({ mbsource: i }), a();
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
m(C, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
105
|
+
export {
|
|
106
|
+
C as default
|
|
107
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoWageringBonusProgress-DbQfzojd.cjs");function u(i,e){if(i){const s=document.createElement("style");s.innerHTML=e,i.appendChild(s)}}function f(i,e){const s=new URL(e);fetch(s.href).then(n=>n.text()).then(n=>{const l=document.createElement("style");l.innerHTML=n,i&&i.appendChild(l)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function m(i,e,s){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(e,l=>{n.innerHTML=l,i&&i.appendChild(n)})}}function h(i){t.append_styles(i,"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 g(i){let e;return{c(){e=t.element("div"),e.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(s,n){t.insert(s,e,n),i[4](e)},p:t.noop,i:t.noop,o:t.noop,d(s){s&&t.detach(e),i[4](null)}}}function p(i,e,s){let{clientstyling:n=""}=e,{clientstylingurl:l=""}=e,{mbsource:o}=e,r;t.onMount(()=>()=>{});function a(c){t.binding_callbacks[c?"unshift":"push"](()=>{r=c,s(0,r)})}return i.$$set=c=>{"clientstyling"in c&&s(1,n=c.clientstyling),"clientstylingurl"in c&&s(2,l=c.clientstylingurl),"mbsource"in c&&s(3,o=c.mbsource)},i.$$.update=()=>{i.$$.dirty&3&&n&&r&&u(r,n),i.$$.dirty&5&&l&&r&&f(r,l),i.$$.dirty&9&&o&&r&&m(r,`${o}.Style`)},[r,n,l,o,a]}class d extends t.SvelteComponent{constructor(e){super(),t.init(this,e,p,g,t.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},h)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(d,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=d;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { S as u, i as f, f as a, c as m, s as h, a as g, g as p, j as y, n as d, m as b, v, G as x } from "./CasinoWageringBonusProgress-D0dCeXp2.js";
|
|
2
|
+
function L(e, i) {
|
|
3
|
+
if (e) {
|
|
4
|
+
const s = document.createElement("style");
|
|
5
|
+
s.innerHTML = i, e.appendChild(s);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
function _(e, i) {
|
|
9
|
+
const s = new URL(i);
|
|
10
|
+
fetch(s.href).then((t) => t.text()).then((t) => {
|
|
11
|
+
const n = document.createElement("style");
|
|
12
|
+
n.innerHTML = t, e && e.appendChild(n);
|
|
13
|
+
}).catch((t) => {
|
|
14
|
+
console.error("There was an error while trying to load client styling from URL", t);
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function w(e, i, s) {
|
|
18
|
+
if (window.emMessageBus) {
|
|
19
|
+
const t = document.createElement("style");
|
|
20
|
+
window.emMessageBus.subscribe(i, (n) => {
|
|
21
|
+
t.innerHTML = n, e && e.appendChild(t);
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function S(e) {
|
|
26
|
+
g(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)}}");
|
|
27
|
+
}
|
|
28
|
+
function M(e) {
|
|
29
|
+
let i;
|
|
30
|
+
return {
|
|
31
|
+
c() {
|
|
32
|
+
i = p("div"), i.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
|
|
33
|
+
},
|
|
34
|
+
m(s, t) {
|
|
35
|
+
y(s, i, t), e[4](i);
|
|
36
|
+
},
|
|
37
|
+
p: d,
|
|
38
|
+
i: d,
|
|
39
|
+
o: d,
|
|
40
|
+
d(s) {
|
|
41
|
+
s && b(i), e[4](null);
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function k(e, i, s) {
|
|
46
|
+
let { clientstyling: t = "" } = i, { clientstylingurl: n = "" } = i, { mbsource: r } = i, l;
|
|
47
|
+
v(() => () => {
|
|
48
|
+
});
|
|
49
|
+
function o(c) {
|
|
50
|
+
x[c ? "unshift" : "push"](() => {
|
|
51
|
+
l = c, s(0, l);
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
return e.$$set = (c) => {
|
|
55
|
+
"clientstyling" in c && s(1, t = c.clientstyling), "clientstylingurl" in c && s(2, n = c.clientstylingurl), "mbsource" in c && s(3, r = c.mbsource);
|
|
56
|
+
}, e.$$.update = () => {
|
|
57
|
+
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
58
|
+
3 && t && l && L(l, t), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
59
|
+
5 && n && l && _(l, n), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
60
|
+
9 && r && l && w(l, `${r}.Style`);
|
|
61
|
+
}, [
|
|
62
|
+
l,
|
|
63
|
+
t,
|
|
64
|
+
n,
|
|
65
|
+
r,
|
|
66
|
+
o
|
|
67
|
+
];
|
|
68
|
+
}
|
|
69
|
+
class C extends u {
|
|
70
|
+
constructor(i) {
|
|
71
|
+
super(), f(
|
|
72
|
+
this,
|
|
73
|
+
i,
|
|
74
|
+
k,
|
|
75
|
+
M,
|
|
76
|
+
h,
|
|
77
|
+
{
|
|
78
|
+
clientstyling: 1,
|
|
79
|
+
clientstylingurl: 2,
|
|
80
|
+
mbsource: 3
|
|
81
|
+
},
|
|
82
|
+
S
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
get clientstyling() {
|
|
86
|
+
return this.$$.ctx[1];
|
|
87
|
+
}
|
|
88
|
+
set clientstyling(i) {
|
|
89
|
+
this.$$set({ clientstyling: i }), a();
|
|
90
|
+
}
|
|
91
|
+
get clientstylingurl() {
|
|
92
|
+
return this.$$.ctx[2];
|
|
93
|
+
}
|
|
94
|
+
set clientstylingurl(i) {
|
|
95
|
+
this.$$set({ clientstylingurl: i }), a();
|
|
96
|
+
}
|
|
97
|
+
get mbsource() {
|
|
98
|
+
return this.$$.ctx[3];
|
|
99
|
+
}
|
|
100
|
+
set mbsource(i) {
|
|
101
|
+
this.$$set({ mbsource: i }), a();
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
m(C, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
105
|
+
export {
|
|
106
|
+
C as default
|
|
107
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}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/CasinoWageringBonusesController-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}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/CasinoWageringBonusesController-GXFEQ8ru.cjs")).then(({default:t})=>{!customElements.get("casino-wagering-bonuses-controller")&&customElements.define("casino-wagering-bonuses-controller",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoWageringBonusesController-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoWageringBonusesController-C11mRlVY.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-wagering-bonuses-controller") && customElements.define("casino-wagering-bonuses-controller", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var he=Object.defineProperty,_e=Object.defineProperties;var ge=Object.getOwnPropertyDescriptors;var X=Object.getOwnPropertySymbols;var pe=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable;var H=(e,t,n)=>t in e?he(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Y=(e,t)=>{for(var n in t||(t={}))pe.call(t,n)&&H(e,n,t[n]);if(X)for(var n of X(t))be.call(t,n)&&H(e,n,t[n]);return e},Z=(e,t)=>_e(e,ge(t));var h=(e,t,n)=>H(e,typeof t!="symbol"?t+"":t,n);var ee=(e,t,n)=>new Promise((s,o)=>{var r=l=>{try{u(n.next(l))}catch(f){o(f)}},c=l=>{try{u(n.throw(l))}catch(f){o(f)}},u=l=>l.done?s(l.value):Promise.resolve(l.value).then(r,c);u((n=n.apply(e,t)).next())});function k(){}function P(e,t){for(const n in t)e[n]=t[n];return e}function se(e){return e()}function te(){return Object.create(null)}function L(e){e.forEach(se)}function K(e){return typeof e=="function"}function re(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let T;function me(e,t){return e===t?!0:(T||(T=document.createElement("a")),T.href=t,e===T.href)}function ye(e){return Object.keys(e).length===0}function ie(e,...t){if(e==null){for(const s of t)s(void 0);return k}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function we(e,t,n){e.$$.on_destroy.push(ie(t,n))}const ke=["",!0,1,"true","contenteditable"];function y(e,t){e.appendChild(t)}function oe(e,t,n){const s=Ee(e);if(!s.getElementById(t)){const o=D("style");o.id=t,o.textContent=n,Ce(s,o)}}function Ee(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Ce(e,t){return y(e.head||e,t),t.sheet}function Q(e,t,n){e.insertBefore(t,n||null)}function W(e){e.parentNode&&e.parentNode.removeChild(e)}function Pe(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function D(e){return document.createElement(e)}function A(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function F(e){return document.createTextNode(e)}function ve(){return F(" ")}function Oe(){return F("")}function R(e,t,n,s){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n,s)}function B(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}const je=["width","height"];function Ae(e,t){const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const s in t)t[s]==null?e.removeAttribute(s):s==="style"?e.style.cssText=t[s]:s==="__value"?e.value=e[s]=t[s]:n[s]&&n[s].set&&je.indexOf(s)===-1?e[s]=t[s]:B(e,s,t[s])}function p(e,t){for(const n in t)B(e,n,t[n])}function Ne(e,t,n){const s=t.toLowerCase();s in e?e[s]=typeof e[s]=="boolean"&&n===""?!0:n:t in e?e[t]=typeof e[t]=="boolean"&&n===""?!0:n:B(e,t,n)}function Fe(e){return Array.from(e.childNodes)}function ce(e,t){t=""+t,e.data!==t&&(e.data=t)}function Me(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function le(e,t,n){~ke.indexOf(n)?Me(e,t):ce(e,t)}let q;function Se(){if(q===void 0){q=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(e){q=!0}}return q}function ze(e,t){getComputedStyle(e).position==="static"&&(e.style.position="relative");const s=D("iframe");s.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),s.setAttribute("aria-hidden","true"),s.tabIndex=-1;const o=Se();let r;return o?(s.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=R(window,"message",c=>{c.source===s.contentWindow&&t()})):(s.src="about:blank",s.onload=()=>{r=R(s.contentWindow,"resize",t),t()}),y(e,s),()=>{(o||r&&s.contentWindow)&&r(),W(s)}}function Le(e,t,n){e.classList.toggle(t,!!n)}function We(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let M;function N(e){M=e}function Be(){if(!M)throw new Error("Function called outside component initialization");return M}function Ie(e){Be().$$.on_mount.push(e)}const v=[],U=[];let j=[];const ne=[],Te=Promise.resolve();let G=!1;function qe(){G||(G=!0,Te.then(z))}function S(e){j.push(e)}const J=new Set;let C=0;function z(){if(C!==0)return;const e=M;do{try{for(;C<v.length;){const t=v[C];C++,N(t),xe(t.$$)}}catch(t){throw v.length=0,C=0,t}for(N(null),v.length=0,C=0;U.length;)U.pop()();for(let t=0;t<j.length;t+=1){const n=j[t];J.has(n)||(J.add(n),n())}j.length=0}while(v.length);for(;ne.length;)ne.pop()();G=!1,J.clear(),N(e)}function xe(e){if(e.fragment!==null){e.update(),L(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(S)}}function Re(e){const t=[],n=[];j.forEach(s=>e.indexOf(s)===-1?t.push(s):n.push(s)),n.forEach(s=>s()),j=t}const De=new Set;function Ve(e,t){e&&e.i&&(De.delete(e),e.i(t))}function He(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function O(e,t){const n={},s={},o={$$scope:1};let r=e.length;for(;r--;){const c=e[r],u=t[r];if(u){for(const l in c)l in u||(s[l]=1);for(const l in u)o[l]||(n[l]=u[l],o[l]=1);e[r]=u}else for(const l in c)o[l]=1}for(const c in s)c in n||(n[c]=void 0);return n}function Je(e,t,n){const{fragment:s,after_update:o}=e.$$;s&&s.m(t,n),S(()=>{const r=e.$$.on_mount.map(se).filter(K);e.$$.on_destroy?e.$$.on_destroy.push(...r):L(r),e.$$.on_mount=[]}),o.forEach(S)}function Ue(e,t){const n=e.$$;n.fragment!==null&&(Re(n.after_update),L(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Ge(e,t){e.$$.dirty[0]===-1&&(v.push(e),qe(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ue(e,t,n,s,o,r,c=null,u=[-1]){const l=M;N(e);const f=e.$$={fragment:null,ctx:[],props:r,update:k,not_equal:o,bound:te(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:te(),dirty:u,skip_bound:!1,root:t.target||l.$$.root};c&&c(f.root);let _=!1;if(f.ctx=n?n(e,t.props||{},(d,g,...$)=>{const w=$.length?$[0]:g;return f.ctx&&o(f.ctx[d],f.ctx[d]=w)&&(!f.skip_bound&&f.bound[d]&&f.bound[d](w),_&&Ge(e,d)),g}):[],f.update(),_=!0,L(f.before_update),f.fragment=s?s(f.ctx):!1,t.target){if(t.hydrate){const d=Fe(t.target);f.fragment&&f.fragment.l(d),d.forEach(W)}else f.fragment&&f.fragment.c();t.intro&&Ve(e.$$.fragment),Je(e,t.target,t.anchor),z()}N(l)}let fe;typeof HTMLElement=="function"&&(fe=class extends HTMLElement{constructor(t,n,s){super();h(this,"$$ctor");h(this,"$$s");h(this,"$$c");h(this,"$$cn",!1);h(this,"$$d",{});h(this,"$$r",!1);h(this,"$$p_d",{});h(this,"$$l",{});h(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 o=this.$$c.$on(t,n);this.$$l_u.set(n,o)}super.addEventListener(t,n,s)}removeEventListener(t,n,s){if(super.removeEventListener(t,n,s),this.$$c){const o=this.$$l_u.get(n);o&&(o(),this.$$l_u.delete(n))}}connectedCallback(){return ee(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(r){return()=>{let c;return{c:function(){c=D("slot"),r!=="default"&&B(c,"name",r)},m:function(f,_){Q(f,c,_)},d:function(f){f&&W(c)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=We(this);for(const r of this.$$s)r in s&&(n[r]=[t(r)]);for(const r of this.attributes){const c=this.$$g_p(r.name);c in this.$$d||(this.$$d[c]=x(c,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Z(Y({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const o=()=>{this.$$r=!0;for(const r in this.$$p_d)if(this.$$d[r]=this.$$c.$$.ctx[this.$$c.$$.props[r]],this.$$p_d[r].reflect){const c=x(r,this.$$d[r],this.$$p_d,"toAttribute");c==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,c)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const r in this.$$l)for(const c of this.$$l[r]){const u=this.$$c.$on(r,c);this.$$l_u.set(c,u)}this.$$l={}}})}attributeChangedCallback(t,n,s){var o;this.$$r||(t=this.$$g_p(t),this.$$d[t]=x(t,s,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$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 x(e,t,n,s){var r;const o=(r=n[e])==null?void 0:r.type;if(t=o==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!n[e])return t;if(s==="toAttribute")switch(o){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(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ae(e,t,n,s,o,r){let c=class extends fe{constructor(){super(e,n,o),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(l){var f;l=x(u,l,t),this.$$d[u]=l,(f=this.$$c)==null||f.$set({[u]:l})}})}),s.forEach(u=>{Object.defineProperty(c.prototype,u,{get(){var l;return(l=this.$$c)==null?void 0:l[u]}})}),e.element=c,c}class de{constructor(){h(this,"$$");h(this,"$$set")}$destroy(){Ue(this,1),this.$destroy=k}$on(t,n){if(!K(n))return k;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const o=s.indexOf(n);o!==-1&&s.splice(o,1)}}$set(t){this.$$set&&!ye(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ke="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ke);function Qe(e){oe(e,"svelte-1xvg6od","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ProgressText{fill:#FFFFFF;text-anchor:middle;dominant-baseline:middle;font-style:normal;font-weight:700;font-size:22.0351951033px}.ProgressTextMobile{font-size:5.1282051282vw}circle.ring{stroke:#F2F4F6;fill:transparent}circle.ring-progress{transition:0.35s stroke-dashoffset;stroke:#C4C4C4;transform:rotate(-90deg);transform-origin:50% 50%}circle.ring-progress.active{stroke:#00AEEF}circle.center{fill:#C4C4C4}circle.center.active{fill:#00AEEF}")}function Xe(e){let t,n,s,o,r,c,u,l,f;S(e[11]);let _=[{class:"ring",r:e[3],cx:e[9],cy:e[9],"stroke-width":`${e[5]}px`}],d={};for(let i=0;i<_.length;i+=1)d=P(d,_[i]);let g=[{class:`ring ring-progress ${e[1]===e[6].InProgress?"active":""}`,r:e[3],cx:e[9],cy:e[9],"stroke-width":`${e[5]}px`,"stroke-dasharray":`${e[8]} ${e[8]}`,"stroke-dashoffset":e[8]-Number(e[0])/100*e[8]}],$={};for(let i=0;i<g.length;i+=1)$=P($,g[i]);let w=[{class:`center ${e[1]===e[6].InProgress?"active":""}`,r:e[3]-e[5]/2-3,cx:e[9],cy:e[9]}],E={};for(let i=0;i<w.length;i+=1)E=P(E,w[i]);let a=[{x:e[9],y:e[9]},e[7]("ProgressText")],b={};for(let i=0;i<a.length;i+=1)b=P(b,a[i]);let V=[{width:e[4],height:e[4]}],I={};for(let i=0;i<V.length;i+=1)I=P(I,V[i]);return{c(){t=A("svg"),n=A("circle"),s=A("circle"),o=A("circle"),r=A("text"),c=F(e[0]),u=F("%"),p(n,d),p(s,$),p(o,E),p(r,b),p(t,I)},m(i,m){Q(i,t,m),y(t,n),y(t,s),y(t,o),y(t,r),y(r,c),y(r,u),l||(f=R(window,"resize",e[11]),l=!0)},p(i,[m]){p(n,d=O(_,[m&552&&{class:"ring",r:i[3],cx:i[9],cy:i[9],"stroke-width":`${i[5]}px`}])),p(s,$=O(g,[m&875&&{class:`ring ring-progress ${i[1]===i[6].InProgress?"active":""}`,r:i[3],cx:i[9],cy:i[9],"stroke-width":`${i[5]}px`,"stroke-dasharray":`${i[8]} ${i[8]}`,"stroke-dashoffset":i[8]-Number(i[0])/100*i[8]}])),p(o,E=O(w,[m&618&&{class:`center ${i[1]===i[6].InProgress?"active":""}`,r:i[3]-i[5]/2-3,cx:i[9],cy:i[9]}])),m&1&&le(c,i[0],b.contenteditable),p(r,b=O(a,[m&512&&{x:i[9],y:i[9]},m&128&&i[7]("ProgressText")])),p(t,I=O(V,[m&16&&{width:i[4],height:i[4]}]))},i:k,o:k,d(i){i&&W(t),l=!1,f()}}}function Ye(e,t,n){let s,o,r,c,u,l,f,{percent:_=""}=t,{status:d=""}=t;var g;(function(a){a.BeforeClaimed="BeforeClaimed",a.InProgress="active",a.ForfeitedOrCompleted="ForfeitedOrCompleted"})(g||(g={}));let $=200;const w=(a,b="")=>({part:a,class:[a,b].join(" ")});function E(){n(2,$=window.innerWidth)}return e.$$set=a=>{"percent"in a&&n(0,_=a.percent),"status"in a&&n(1,d=a.status)},e.$$.update=()=>{e.$$.dirty&4&&n(10,s=$<=576),e.$$.dirty&1028&&n(4,o=s?$/4:100),e.$$.dirty&16&&n(5,r=o/7.5),e.$$.dirty&48&&n(3,c=o/2-r/2),e.$$.dirty&16&&n(9,u=o/2),e.$$.dirty&8&&n(8,l=c*2*Math.PI),e.$$.dirty&1024&&n(7,f=(a,b="")=>w(`${a}${s?` ${a}Mobile`:""}`,b))},[_,d,$,c,o,r,g,f,l,u,s,E]}class $e extends de{constructor(t){super(),ue(this,t,Ye,Xe,re,{percent:0,status:1},Qe)}get percent(){return this.$$.ctx[0]}set percent(t){this.$$set({percent:t}),z()}get status(){return this.$$.ctx[1]}set status(t){this.$$set({status:t}),z()}}ae($e,{percent:{},status:{}},[],[],!0);const Ze=Object.freeze(Object.defineProperty({__proto__:null,default:$e},Symbol.toStringTag,{value:"Module"}));exports.CasinoWageringBonusProgress_ce=Ze;exports.SvelteComponent=de;exports.add_iframe_resize_listener=ze;exports.add_render_callback=S;exports.append=y;exports.append_styles=oe;exports.assign=P;exports.attr=B;exports.binding_callbacks=U;exports.component_subscribe=we;exports.create_custom_element=ae;exports.destroy_each=Pe;exports.detach=W;exports.element=D;exports.empty=Oe;exports.ensure_array_like=He;exports.flush=z;exports.get_spread_update=O;exports.init=ue;exports.insert=Q;exports.is_function=K;exports.listen=R;exports.noop=k;exports.onMount=Ie;exports.run_all=L;exports.safe_not_equal=re;exports.set_attributes=Ae;exports.set_custom_element_data=Ne;exports.set_data=ce;exports.set_data_maybe_contenteditable=le;exports.space=ve;exports.src_url_equal=me;exports.subscribe=ie;exports.text=F;exports.toggle_class=Le;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { S as m, i as h, f as o, c as g, s as y, a as v, g as x, j as _, n as r, m as b, G as C } from "./CasinoWageringBonusProgress-DKxgNPxa.js";
|
|
2
|
-
function L(e) {
|
|
3
|
-
v(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)}}");
|
|
4
|
-
}
|
|
5
|
-
function k(e) {
|
|
6
|
-
let i;
|
|
7
|
-
return {
|
|
8
|
-
c() {
|
|
9
|
-
i = x("div"), i.innerHTML = '<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
|
|
10
|
-
},
|
|
11
|
-
m(n, l) {
|
|
12
|
-
_(n, i, l), e[3](i);
|
|
13
|
-
},
|
|
14
|
-
p: r,
|
|
15
|
-
i: r,
|
|
16
|
-
o: r,
|
|
17
|
-
d(n) {
|
|
18
|
-
n && b(i), e[3](null);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
function S(e, i, n) {
|
|
23
|
-
let { clientstyling: l = "" } = i, { clientstylingurl: a = "" } = i, s;
|
|
24
|
-
const u = () => {
|
|
25
|
-
let t = document.createElement("style");
|
|
26
|
-
t.innerHTML = l, s.appendChild(t);
|
|
27
|
-
}, p = () => {
|
|
28
|
-
let t = new URL(a), c = document.createElement("style");
|
|
29
|
-
fetch(t.href).then((d) => d.text()).then((d) => {
|
|
30
|
-
c.innerHTML = d, setTimeout(
|
|
31
|
-
() => {
|
|
32
|
-
s.appendChild(c);
|
|
33
|
-
},
|
|
34
|
-
1
|
|
35
|
-
), setTimeout(
|
|
36
|
-
() => {
|
|
37
|
-
},
|
|
38
|
-
500
|
|
39
|
-
);
|
|
40
|
-
});
|
|
41
|
-
};
|
|
42
|
-
function f(t) {
|
|
43
|
-
C[t ? "unshift" : "push"](() => {
|
|
44
|
-
s = t, n(0, s);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
return e.$$set = (t) => {
|
|
48
|
-
"clientstyling" in t && n(1, l = t.clientstyling), "clientstylingurl" in t && n(2, a = t.clientstylingurl);
|
|
49
|
-
}, e.$$.update = () => {
|
|
50
|
-
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
51
|
-
3 && l && s && u(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
52
|
-
5 && a && s && p();
|
|
53
|
-
}, [s, l, a, f];
|
|
54
|
-
}
|
|
55
|
-
class T extends m {
|
|
56
|
-
constructor(i) {
|
|
57
|
-
super(), h(this, i, S, k, y, { clientstyling: 1, clientstylingurl: 2 }, L);
|
|
58
|
-
}
|
|
59
|
-
get clientstyling() {
|
|
60
|
-
return this.$$.ctx[1];
|
|
61
|
-
}
|
|
62
|
-
set clientstyling(i) {
|
|
63
|
-
this.$$set({ clientstyling: i }), o();
|
|
64
|
-
}
|
|
65
|
-
get clientstylingurl() {
|
|
66
|
-
return this.$$.ctx[2];
|
|
67
|
-
}
|
|
68
|
-
set clientstylingurl(i) {
|
|
69
|
-
this.$$set({ clientstylingurl: i }), o();
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
g(T, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
73
|
-
export {
|
|
74
|
-
T as default
|
|
75
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoWageringBonusProgress-DRtlhC-y.cjs");function g(n){t.append_styles(n,"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 h(n){let i;return{c(){i=t.element("div"),i.innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(l,r){t.insert(l,i,r),n[3](i)},p:t.noop,i:t.noop,o:t.noop,d(l){l&&t.detach(i),n[3](null)}}}function m(n,i,l){let{clientstyling:r=""}=i,{clientstylingurl:d=""}=i,s;const u=()=>{let e=document.createElement("style");e.innerHTML=r,s.appendChild(e)},p=()=>{let e=new URL(d),a=document.createElement("style");fetch(e.href).then(c=>c.text()).then(c=>{a.innerHTML=c,setTimeout(()=>{s.appendChild(a)},1),setTimeout(()=>{},500)})};function f(e){t.binding_callbacks[e?"unshift":"push"](()=>{s=e,l(0,s)})}return n.$$set=e=>{"clientstyling"in e&&l(1,r=e.clientstyling),"clientstylingurl"in e&&l(2,d=e.clientstylingurl)},n.$$.update=()=>{n.$$.dirty&3&&r&&s&&u(),n.$$.dirty&5&&d&&s&&p()},[s,r,d,f]}class o extends t.SvelteComponent{constructor(i){super(),t.init(this,i,m,h,t.safe_not_equal,{clientstyling:1,clientstylingurl:2},g)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(i){this.$$set({clientstyling:i}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),t.flush()}}t.create_custom_element(o,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=o;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { S as m, i as h, f as o, c as g, s as y, a as v, g as x, j as _, n as r, m as b, G as C } from "./CasinoWageringBonusProgress-BPcqqTQq.js";
|
|
2
|
-
function L(e) {
|
|
3
|
-
v(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)}}");
|
|
4
|
-
}
|
|
5
|
-
function k(e) {
|
|
6
|
-
let i;
|
|
7
|
-
return {
|
|
8
|
-
c() {
|
|
9
|
-
i = x("div"), i.innerHTML = '<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
|
|
10
|
-
},
|
|
11
|
-
m(n, l) {
|
|
12
|
-
_(n, i, l), e[3](i);
|
|
13
|
-
},
|
|
14
|
-
p: r,
|
|
15
|
-
i: r,
|
|
16
|
-
o: r,
|
|
17
|
-
d(n) {
|
|
18
|
-
n && b(i), e[3](null);
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
function S(e, i, n) {
|
|
23
|
-
let { clientstyling: l = "" } = i, { clientstylingurl: a = "" } = i, s;
|
|
24
|
-
const u = () => {
|
|
25
|
-
let t = document.createElement("style");
|
|
26
|
-
t.innerHTML = l, s.appendChild(t);
|
|
27
|
-
}, p = () => {
|
|
28
|
-
let t = new URL(a), c = document.createElement("style");
|
|
29
|
-
fetch(t.href).then((d) => d.text()).then((d) => {
|
|
30
|
-
c.innerHTML = d, setTimeout(
|
|
31
|
-
() => {
|
|
32
|
-
s.appendChild(c);
|
|
33
|
-
},
|
|
34
|
-
1
|
|
35
|
-
), setTimeout(
|
|
36
|
-
() => {
|
|
37
|
-
},
|
|
38
|
-
500
|
|
39
|
-
);
|
|
40
|
-
});
|
|
41
|
-
};
|
|
42
|
-
function f(t) {
|
|
43
|
-
C[t ? "unshift" : "push"](() => {
|
|
44
|
-
s = t, n(0, s);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
return e.$$set = (t) => {
|
|
48
|
-
"clientstyling" in t && n(1, l = t.clientstyling), "clientstylingurl" in t && n(2, a = t.clientstylingurl);
|
|
49
|
-
}, e.$$.update = () => {
|
|
50
|
-
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
51
|
-
3 && l && s && u(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
52
|
-
5 && a && s && p();
|
|
53
|
-
}, [s, l, a, f];
|
|
54
|
-
}
|
|
55
|
-
class T extends m {
|
|
56
|
-
constructor(i) {
|
|
57
|
-
super(), h(this, i, S, k, y, { clientstyling: 1, clientstylingurl: 2 }, L);
|
|
58
|
-
}
|
|
59
|
-
get clientstyling() {
|
|
60
|
-
return this.$$.ctx[1];
|
|
61
|
-
}
|
|
62
|
-
set clientstyling(i) {
|
|
63
|
-
this.$$set({ clientstyling: i }), o();
|
|
64
|
-
}
|
|
65
|
-
get clientstylingurl() {
|
|
66
|
-
return this.$$.ctx[2];
|
|
67
|
-
}
|
|
68
|
-
set clientstylingurl(i) {
|
|
69
|
-
this.$$set({ clientstylingurl: i }), o();
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
g(T, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
73
|
-
export {
|
|
74
|
-
T as default
|
|
75
|
-
};
|