@everymatrix/prize-engine-coin 0.9.57 → 0.9.59
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/{PrizeEngineCoin-I8nT3Biu.js → PrizeEngineCoin-D-cUxGKt.js} +31 -56
- package/components/{PrizeEngineCoin-D_Ri-ncg.cjs → PrizeEngineCoin-DZXegSCZ.cjs} +1 -1
- package/components/{PrizeEngineCoin-C_rDvAVd.js → PrizeEngineCoin-DbAdVv-c.js} +32 -57
- package/es2015/prize-engine-coin.cjs +1 -1
- package/es2015/prize-engine-coin.js +1 -1
- package/esnext/prize-engine-coin.js +1 -1
- package/package.json +1 -1
|
@@ -42,8 +42,7 @@ function mr(e, t, r) {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
function br(e) {
|
|
45
|
-
if (!e)
|
|
46
|
-
return document;
|
|
45
|
+
if (!e) return document;
|
|
47
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
48
47
|
return t && /** @type {ShadowRoot} */
|
|
49
48
|
t.host ? (
|
|
@@ -99,8 +98,7 @@ function ne(e) {
|
|
|
99
98
|
ie = e;
|
|
100
99
|
}
|
|
101
100
|
function xr() {
|
|
102
|
-
if (!ie)
|
|
103
|
-
throw new Error("Function called outside component initialization");
|
|
101
|
+
if (!ie) throw new Error("Function called outside component initialization");
|
|
104
102
|
return ie;
|
|
105
103
|
}
|
|
106
104
|
function Sr(e) {
|
|
@@ -131,8 +129,7 @@ function M() {
|
|
|
131
129
|
} catch (t) {
|
|
132
130
|
throw V.length = 0, Q = 0, t;
|
|
133
131
|
}
|
|
134
|
-
for (ne(null), V.length = 0, Q = 0; Ge.length; )
|
|
135
|
-
Ge.pop()();
|
|
132
|
+
for (ne(null), V.length = 0, Q = 0; Ge.length; ) Ge.pop()();
|
|
136
133
|
for (let t = 0; t < X.length; t += 1) {
|
|
137
134
|
const r = X[t];
|
|
138
135
|
Be.has(r) || (Be.add(r), r());
|
|
@@ -441,8 +438,7 @@ function Gr(e, t) {
|
|
|
441
438
|
}
|
|
442
439
|
}
|
|
443
440
|
function jr(e, t) {
|
|
444
|
-
if (!e || !t)
|
|
445
|
-
return;
|
|
441
|
+
if (!e || !t) return;
|
|
446
442
|
const r = new URL(t);
|
|
447
443
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
448
444
|
const i = document.createElement("style");
|
|
@@ -452,8 +448,7 @@ function jr(e, t) {
|
|
|
452
448
|
});
|
|
453
449
|
}
|
|
454
450
|
function Ur(e, t, r, n = !1) {
|
|
455
|
-
if (!window.emMessageBus)
|
|
456
|
-
return;
|
|
451
|
+
if (!window.emMessageBus) return;
|
|
457
452
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
458
453
|
return r = Dr(e, t), r;
|
|
459
454
|
window[k] || (window[k] = {}), r = Qr(e, t);
|
|
@@ -474,8 +469,7 @@ function Dr(e, t) {
|
|
|
474
469
|
}
|
|
475
470
|
function Qr(e, t) {
|
|
476
471
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
477
|
-
if (!e)
|
|
478
|
-
return;
|
|
472
|
+
if (!e) return;
|
|
479
473
|
const n = e.getRootNode(), i = window[k];
|
|
480
474
|
let o = i[t] && i[t].sheet;
|
|
481
475
|
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
@@ -504,8 +498,7 @@ var De = function(e, t) {
|
|
|
504
498
|
return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
505
499
|
r.__proto__ = n;
|
|
506
500
|
} || function(r, n) {
|
|
507
|
-
for (var i in n)
|
|
508
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
501
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
509
502
|
}, De(e, t);
|
|
510
503
|
};
|
|
511
504
|
function he(e, t) {
|
|
@@ -519,40 +512,34 @@ function he(e, t) {
|
|
|
519
512
|
}
|
|
520
513
|
function Qe(e) {
|
|
521
514
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
522
|
-
if (r)
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
}
|
|
529
|
-
};
|
|
515
|
+
if (r) return r.call(e);
|
|
516
|
+
if (e && typeof e.length == "number") return {
|
|
517
|
+
next: function() {
|
|
518
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
519
|
+
}
|
|
520
|
+
};
|
|
530
521
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
531
522
|
}
|
|
532
523
|
function ze(e, t) {
|
|
533
524
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
534
|
-
if (!r)
|
|
535
|
-
return e;
|
|
525
|
+
if (!r) return e;
|
|
536
526
|
var n = r.call(e), i, o = [], s;
|
|
537
527
|
try {
|
|
538
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
539
|
-
o.push(i.value);
|
|
528
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
|
|
540
529
|
} catch (a) {
|
|
541
530
|
s = { error: a };
|
|
542
531
|
} finally {
|
|
543
532
|
try {
|
|
544
533
|
i && !i.done && (r = n.return) && r.call(n);
|
|
545
534
|
} finally {
|
|
546
|
-
if (s)
|
|
547
|
-
throw s.error;
|
|
535
|
+
if (s) throw s.error;
|
|
548
536
|
}
|
|
549
537
|
}
|
|
550
538
|
return o;
|
|
551
539
|
}
|
|
552
540
|
function Ve(e, t, r) {
|
|
553
|
-
if (arguments.length === 2)
|
|
554
|
-
|
|
555
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
541
|
+
if (arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
542
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
556
543
|
return e.concat(o || t);
|
|
557
544
|
}
|
|
558
545
|
function R(e) {
|
|
@@ -601,8 +588,7 @@ var xe = function() {
|
|
|
601
588
|
try {
|
|
602
589
|
h && !h.done && (r = a.return) && r.call(a);
|
|
603
590
|
} finally {
|
|
604
|
-
if (t)
|
|
605
|
-
throw t.error;
|
|
591
|
+
if (t) throw t.error;
|
|
606
592
|
}
|
|
607
593
|
}
|
|
608
594
|
else
|
|
@@ -632,8 +618,7 @@ var xe = function() {
|
|
|
632
618
|
try {
|
|
633
619
|
d && !d.done && (i = c.return) && i.call(c);
|
|
634
620
|
} finally {
|
|
635
|
-
if (n)
|
|
636
|
-
throw n.error;
|
|
621
|
+
if (n) throw n.error;
|
|
637
622
|
}
|
|
638
623
|
}
|
|
639
624
|
}
|
|
@@ -900,8 +885,7 @@ var $r = Ct(function(e) {
|
|
|
900
885
|
try {
|
|
901
886
|
a && !a.done && (o = s.return) && o.call(s);
|
|
902
887
|
} finally {
|
|
903
|
-
if (i)
|
|
904
|
-
throw i.error;
|
|
888
|
+
if (i) throw i.error;
|
|
905
889
|
}
|
|
906
890
|
}
|
|
907
891
|
}
|
|
@@ -1146,8 +1130,7 @@ var Xe = function(e, t) {
|
|
|
1146
1130
|
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1147
1131
|
r.__proto__ = n;
|
|
1148
1132
|
} || function(r, n) {
|
|
1149
|
-
for (var i in n)
|
|
1150
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1133
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1151
1134
|
}, Xe(e, t);
|
|
1152
1135
|
};
|
|
1153
1136
|
function we(e, t) {
|
|
@@ -1163,25 +1146,22 @@ var P = function() {
|
|
|
1163
1146
|
return P = Object.assign || function(t) {
|
|
1164
1147
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1165
1148
|
r = arguments[n];
|
|
1166
|
-
for (var o in r)
|
|
1167
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1149
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1168
1150
|
}
|
|
1169
1151
|
return t;
|
|
1170
1152
|
}, P.apply(this, arguments);
|
|
1171
1153
|
};
|
|
1172
1154
|
function An(e, t) {
|
|
1173
1155
|
var r = {};
|
|
1174
|
-
for (var n in e)
|
|
1175
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1156
|
+
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1176
1157
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1177
1158
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1178
1159
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1179
1160
|
return r;
|
|
1180
1161
|
}
|
|
1181
1162
|
function Oe(e, t, r) {
|
|
1182
|
-
if (r || arguments.length === 2)
|
|
1183
|
-
|
|
1184
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1163
|
+
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
1164
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1185
1165
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1186
1166
|
}
|
|
1187
1167
|
function Ne(e, t) {
|
|
@@ -1236,8 +1216,7 @@ var Hn = function() {
|
|
|
1236
1216
|
return ve = Object.assign || function(t) {
|
|
1237
1217
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1238
1218
|
r = arguments[n];
|
|
1239
|
-
for (var o in r)
|
|
1240
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1219
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1241
1220
|
}
|
|
1242
1221
|
return t;
|
|
1243
1222
|
}, ve.apply(this, arguments);
|
|
@@ -1383,8 +1362,7 @@ var A = function() {
|
|
|
1383
1362
|
return A = Object.assign || function(t) {
|
|
1384
1363
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1385
1364
|
r = arguments[n];
|
|
1386
|
-
for (var o in r)
|
|
1387
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1365
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1388
1366
|
}
|
|
1389
1367
|
return t;
|
|
1390
1368
|
}, A.apply(this, arguments);
|
|
@@ -3026,8 +3004,7 @@ function jn(e, t) {
|
|
|
3026
3004
|
r += h;
|
|
3027
3005
|
for (; s-- > 0; )
|
|
3028
3006
|
r = u + r;
|
|
3029
|
-
} else
|
|
3030
|
-
i === "J" ? r += "H" : r += i;
|
|
3007
|
+
} else i === "J" ? r += "H" : r += i;
|
|
3031
3008
|
}
|
|
3032
3009
|
return r;
|
|
3033
3010
|
}
|
|
@@ -3630,8 +3607,7 @@ function _e(e) {
|
|
|
3630
3607
|
if (delete t.location, kt(t) || qt(t))
|
|
3631
3608
|
for (var r in t.options)
|
|
3632
3609
|
delete t.options[r].location, _e(t.options[r].value);
|
|
3633
|
-
else
|
|
3634
|
-
Qt(t) && Zt(t.style) || (zt(t) || Vt(t)) && Ze(t.style) ? delete t.style.location : Xt(t) && _e(t.children);
|
|
3610
|
+
else Qt(t) && Zt(t.style) || (zt(t) || Vt(t)) && Ze(t.style) ? delete t.style.location : Xt(t) && _e(t.children);
|
|
3635
3611
|
});
|
|
3636
3612
|
}
|
|
3637
3613
|
function ni(e, t) {
|
|
@@ -4414,8 +4390,7 @@ function to(e, t, r) {
|
|
|
4414
4390
|
}, U = async () => {
|
|
4415
4391
|
for (; b; )
|
|
4416
4392
|
for (const g of Wi) {
|
|
4417
|
-
if (!b)
|
|
4418
|
-
return;
|
|
4393
|
+
if (!b) return;
|
|
4419
4394
|
r(3, y = g.frame), await new Promise((B) => {
|
|
4420
4395
|
w = setTimeout(B, g.delay);
|
|
4421
4396
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Sr=Object.defineProperty,wr=Object.defineProperties;var Hr=Object.getOwnPropertyDescriptors;var lt=Object.getOwnPropertySymbols;var Tr=Object.prototype.hasOwnProperty,Ir=Object.prototype.propertyIsEnumerable;var Oe=(e,t,r)=>t in e?Sr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ct=(e,t)=>{for(var r in t||(t={}))Tr.call(t,r)&&Oe(e,r,t[r]);if(lt)for(var r of lt(t))Ir.call(t,r)&&Oe(e,r,t[r]);return e},ft=(e,t)=>wr(e,Hr(t));var T=(e,t,r)=>
|
|
1
|
+
"use strict";var Sr=Object.defineProperty,wr=Object.defineProperties;var Hr=Object.getOwnPropertyDescriptors;var lt=Object.getOwnPropertySymbols;var Tr=Object.prototype.hasOwnProperty,Ir=Object.prototype.propertyIsEnumerable;var Oe=(e,t,r)=>t in e?Sr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ct=(e,t)=>{for(var r in t||(t={}))Tr.call(t,r)&&Oe(e,r,t[r]);if(lt)for(var r of lt(t))Ir.call(t,r)&&Oe(e,r,t[r]);return e},ft=(e,t)=>wr(e,Hr(t));var T=(e,t,r)=>Oe(e,typeof t!="symbol"?t+"":t,r);var Ne=(e,t,r)=>new Promise((n,i)=>{var o=h=>{try{a(r.next(h))}catch(u){i(u)}},s=h=>{try{a(r.throw(h))}catch(u){i(u)}},a=h=>h.done?n(h.value):Promise.resolve(h.value).then(o,s);a((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function B(){}function jt(e){return e()}function pt(){return Object.create(null)}function ue(e){e.forEach(jt)}function ot(e){return typeof e=="function"}function Ut(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let fe;function Ae(e,t){return e===t?!0:(fe||(fe=document.createElement("a")),fe.href=t,e===fe.href)}function Br(e){return Object.keys(e).length===0}function Pr(e,...t){if(e==null){for(const n of t)n(void 0);return B}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function X(e,t){e.appendChild(t)}function Or(e,t,r){const n=Nr(e);if(!n.getElementById(t)){const i=N("style");i.id=t,i.textContent=r,Cr(n,i)}}function Nr(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Cr(e,t){return X(e.head||e,t),t.sheet}function he(e,t,r){e.insertBefore(t,r||null)}function _(e){e.parentNode&&e.parentNode.removeChild(e)}function N(e){return document.createElement(e)}function Rr(e){return document.createTextNode(e)}function Lr(){return Rr(" ")}function E(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Mr(e){return Array.from(e.childNodes)}function dt(e,t,r,n){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function De(e,t,r){e.classList.toggle(t,!!r)}function Fr(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let oe;function ie(e){oe=e}function Gr(){if(!oe)throw new Error("Function called outside component initialization");return oe}function jr(e){Gr().$$.on_mount.push(e)}const k=[],Qe=[];let Z=[];const mt=[],Ur=Promise.resolve();let ze=!1;function Dr(){ze||(ze=!0,Ur.then(F))}function Ve(e){Z.push(e)}const Ce=new Set;let z=0;function F(){if(z!==0)return;const e=oe;do{try{for(;z<k.length;){const t=k[z];z++,ie(t),Qr(t.$$)}}catch(t){throw k.length=0,z=0,t}for(ie(null),k.length=0,z=0;Qe.length;)Qe.pop()();for(let t=0;t<Z.length;t+=1){const r=Z[t];Ce.has(r)||(Ce.add(r),r())}Z.length=0}while(k.length);for(;mt.length;)mt.pop()();ze=!1,Ce.clear(),ie(e)}function Qr(e){if(e.fragment!==null){e.update(),ue(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Ve)}}function zr(e){const t=[],r=[];Z.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),Z=t}const Vr=new Set;function kr(e,t){e&&e.i&&(Vr.delete(e),e.i(t))}function qr(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),Ve(()=>{const o=e.$$.on_mount.map(jt).filter(ot);e.$$.on_destroy?e.$$.on_destroy.push(...o):ue(o),e.$$.on_mount=[]}),i.forEach(Ve)}function Xr(e,t){const r=e.$$;r.fragment!==null&&(zr(r.after_update),ue(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Zr(e,t){e.$$.dirty[0]===-1&&(k.push(e),Dr(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Wr(e,t,r,n,i,o,s=null,a=[-1]){const h=oe;ie(e);const u=e.$$={fragment:null,ctx:[],props:o,update:B,not_equal:i,bound:pt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(h?h.$$.context:[])),callbacks:pt(),dirty:a,skip_bound:!1,root:t.target||h.$$.root};s&&s(u.root);let l=!1;if(u.ctx=r?r(e,t.props||{},(f,c,...d)=>{const y=d.length?d[0]:c;return u.ctx&&i(u.ctx[f],u.ctx[f]=y)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](y),l&&Zr(e,f)),c}):[],u.update(),l=!0,ue(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const f=Mr(t.target);u.fragment&&u.fragment.l(f),f.forEach(_)}else u.fragment&&u.fragment.c();t.intro&&kr(e.$$.fragment),qr(e,t.target,t.anchor),F()}ie(h)}let Dt;typeof HTMLElement=="function"&&(Dt=class extends HTMLElement{constructor(t,r,n){super();T(this,"$$ctor");T(this,"$$s");T(this,"$$c");T(this,"$$cn",!1);T(this,"$$d",{});T(this,"$$r",!1);T(this,"$$p_d",{});T(this,"$$l",{});T(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return Ne(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let s;return{c:function(){s=N("slot"),o!=="default"&&E(s,"name",o)},m:function(u,l){he(u,s,l)},d:function(u){u&&_(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Fr(this);for(const o of this.$$s)o in n&&(r[o]=[t(o)]);for(const o of this.attributes){const s=this.$$g_p(o.name);s in this.$$d||(this.$$d[s]=be(s,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:ft(ct({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const s=be(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const s of this.$$l[o]){const a=this.$$c.$on(o,s);this.$$l_u.set(s,a)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=be(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$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(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function be(e,t,r,n){var o;const i=(o=r[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){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(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Jr(e,t,r,n,i,o){let s=class extends Dt{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(h){var u;h=be(a,h,t),this.$$d[a]=h,(u=this.$$c)==null||u.$set({[a]:h})}})}),n.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var h;return(h=this.$$c)==null?void 0:h[a]}})}),e.element=s,s}class Kr{constructor(){T(this,"$$");T(this,"$$set")}$destroy(){Xr(this,1),this.$destroy=B}$on(t,r){if(!ot(r))return B;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!Br(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Yr="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Yr);const q="__WIDGET_GLOBAL_STYLE_CACHE__";function _r(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function $r(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function en(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=tn(e,t),r;window[q]||(window[q]={}),r=rn(e,t);const o=r.unsubscribe.bind(r),s=()=>{if(window[q][t]){const a=window[q][t];a.refCount>1?a.refCount=a.refCount-1:delete window[q][t]}o()};return r.unsubscribe=s,r}function tn(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function rn(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const n=e.getRootNode(),i=window[q];let o=i[t]&&i[t].sheet;o?i[t].refCount=i[t].refCount+1:(o=new CSSStyleSheet,o.replaceSync(r),i[t]={sheet:o,refCount:1});const s=n.adoptedStyleSheets||[];s.includes(o)||(n.adoptedStyleSheets=[...s,o])})}/*! *****************************************************************************
|
|
2
2
|
Copyright (c) Microsoft Corporation.
|
|
3
3
|
|
|
4
4
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -10,7 +10,7 @@ var Oe = (e, t, r) => t in e ? xr(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
Tr.call(t, r) && Oe(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, ft = (e, t) => Sr(e, wr(t));
|
|
13
|
-
var T = (e, t, r) =>
|
|
13
|
+
var T = (e, t, r) => Oe(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
14
|
var Ne = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
16
16
|
try {
|
|
@@ -71,8 +71,7 @@ function Pr(e, t, r) {
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
function Or(e) {
|
|
74
|
-
if (!e)
|
|
75
|
-
return document;
|
|
74
|
+
if (!e) return document;
|
|
76
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
77
76
|
return t && /** @type {ShadowRoot} */
|
|
78
77
|
t.host ? (
|
|
@@ -128,8 +127,7 @@ function ie(e) {
|
|
|
128
127
|
oe = e;
|
|
129
128
|
}
|
|
130
129
|
function Fr() {
|
|
131
|
-
if (!oe)
|
|
132
|
-
throw new Error("Function called outside component initialization");
|
|
130
|
+
if (!oe) throw new Error("Function called outside component initialization");
|
|
133
131
|
return oe;
|
|
134
132
|
}
|
|
135
133
|
function Gr(e) {
|
|
@@ -160,8 +158,7 @@ function F() {
|
|
|
160
158
|
} catch (t) {
|
|
161
159
|
throw k.length = 0, z = 0, t;
|
|
162
160
|
}
|
|
163
|
-
for (ie(null), k.length = 0, z = 0; Qe.length; )
|
|
164
|
-
Qe.pop()();
|
|
161
|
+
for (ie(null), k.length = 0, z = 0; Qe.length; ) Qe.pop()();
|
|
165
162
|
for (let t = 0; t < Z.length; t += 1) {
|
|
166
163
|
const r = Z[t];
|
|
167
164
|
Ce.has(r) || (Ce.add(r), r());
|
|
@@ -478,8 +475,7 @@ function Yr(e, t) {
|
|
|
478
475
|
}
|
|
479
476
|
}
|
|
480
477
|
function _r(e, t) {
|
|
481
|
-
if (!e || !t)
|
|
482
|
-
return;
|
|
478
|
+
if (!e || !t) return;
|
|
483
479
|
const r = new URL(t);
|
|
484
480
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
485
481
|
const i = document.createElement("style");
|
|
@@ -489,8 +485,7 @@ function _r(e, t) {
|
|
|
489
485
|
});
|
|
490
486
|
}
|
|
491
487
|
function $r(e, t, r, n = !1) {
|
|
492
|
-
if (!window.emMessageBus)
|
|
493
|
-
return;
|
|
488
|
+
if (!window.emMessageBus) return;
|
|
494
489
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
495
490
|
return r = en(e, t), r;
|
|
496
491
|
window[q] || (window[q] = {}), r = tn(e, t);
|
|
@@ -511,8 +506,7 @@ function en(e, t) {
|
|
|
511
506
|
}
|
|
512
507
|
function tn(e, t) {
|
|
513
508
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
514
|
-
if (!e)
|
|
515
|
-
return;
|
|
509
|
+
if (!e) return;
|
|
516
510
|
const n = e.getRootNode(), i = window[q];
|
|
517
511
|
let o = i[t] && i[t].sheet;
|
|
518
512
|
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
@@ -541,8 +535,7 @@ var ke = function(e, t) {
|
|
|
541
535
|
return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
542
536
|
r.__proto__ = n;
|
|
543
537
|
} || function(r, n) {
|
|
544
|
-
for (var i in n)
|
|
545
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
538
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
546
539
|
}, ke(e, t);
|
|
547
540
|
};
|
|
548
541
|
function le(e, t) {
|
|
@@ -556,40 +549,34 @@ function le(e, t) {
|
|
|
556
549
|
}
|
|
557
550
|
function qe(e) {
|
|
558
551
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
559
|
-
if (r)
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
}
|
|
566
|
-
};
|
|
552
|
+
if (r) return r.call(e);
|
|
553
|
+
if (e && typeof e.length == "number") return {
|
|
554
|
+
next: function() {
|
|
555
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
556
|
+
}
|
|
557
|
+
};
|
|
567
558
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
568
559
|
}
|
|
569
560
|
function Xe(e, t) {
|
|
570
561
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
571
|
-
if (!r)
|
|
572
|
-
return e;
|
|
562
|
+
if (!r) return e;
|
|
573
563
|
var n = r.call(e), i, o = [], s;
|
|
574
564
|
try {
|
|
575
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
576
|
-
o.push(i.value);
|
|
565
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
|
|
577
566
|
} catch (a) {
|
|
578
567
|
s = { error: a };
|
|
579
568
|
} finally {
|
|
580
569
|
try {
|
|
581
570
|
i && !i.done && (r = n.return) && r.call(n);
|
|
582
571
|
} finally {
|
|
583
|
-
if (s)
|
|
584
|
-
throw s.error;
|
|
572
|
+
if (s) throw s.error;
|
|
585
573
|
}
|
|
586
574
|
}
|
|
587
575
|
return o;
|
|
588
576
|
}
|
|
589
577
|
function Ze(e, t, r) {
|
|
590
|
-
if (arguments.length === 2)
|
|
591
|
-
|
|
592
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
578
|
+
if (arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
579
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
593
580
|
return e.concat(o || t);
|
|
594
581
|
}
|
|
595
582
|
function M(e) {
|
|
@@ -638,8 +625,7 @@ var we = function() {
|
|
|
638
625
|
try {
|
|
639
626
|
h && !h.done && (r = a.return) && r.call(a);
|
|
640
627
|
} finally {
|
|
641
|
-
if (t)
|
|
642
|
-
throw t.error;
|
|
628
|
+
if (t) throw t.error;
|
|
643
629
|
}
|
|
644
630
|
}
|
|
645
631
|
else
|
|
@@ -669,8 +655,7 @@ var we = function() {
|
|
|
669
655
|
try {
|
|
670
656
|
d && !d.done && (i = c.return) && i.call(c);
|
|
671
657
|
} finally {
|
|
672
|
-
if (n)
|
|
673
|
-
throw n.error;
|
|
658
|
+
if (n) throw n.error;
|
|
674
659
|
}
|
|
675
660
|
}
|
|
676
661
|
}
|
|
@@ -937,8 +922,7 @@ var dn = Qt(function(e) {
|
|
|
937
922
|
try {
|
|
938
923
|
a && !a.done && (o = s.return) && o.call(s);
|
|
939
924
|
} finally {
|
|
940
|
-
if (i)
|
|
941
|
-
throw i.error;
|
|
925
|
+
if (i) throw i.error;
|
|
942
926
|
}
|
|
943
927
|
}
|
|
944
928
|
}
|
|
@@ -1183,8 +1167,7 @@ var Ke = function(e, t) {
|
|
|
1183
1167
|
return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1184
1168
|
r.__proto__ = n;
|
|
1185
1169
|
} || function(r, n) {
|
|
1186
|
-
for (var i in n)
|
|
1187
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1170
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1188
1171
|
}, Ke(e, t);
|
|
1189
1172
|
};
|
|
1190
1173
|
function Te(e, t) {
|
|
@@ -1200,25 +1183,22 @@ var O = function() {
|
|
|
1200
1183
|
return O = Object.assign || function(t) {
|
|
1201
1184
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1202
1185
|
r = arguments[n];
|
|
1203
|
-
for (var o in r)
|
|
1204
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1186
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1205
1187
|
}
|
|
1206
1188
|
return t;
|
|
1207
1189
|
}, O.apply(this, arguments);
|
|
1208
1190
|
};
|
|
1209
1191
|
function Ln(e, t) {
|
|
1210
1192
|
var r = {};
|
|
1211
|
-
for (var n in e)
|
|
1212
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1193
|
+
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1213
1194
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1214
1195
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1215
1196
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1216
1197
|
return r;
|
|
1217
1198
|
}
|
|
1218
1199
|
function Le(e, t, r) {
|
|
1219
|
-
if (r || arguments.length === 2)
|
|
1220
|
-
|
|
1221
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1200
|
+
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
1201
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1222
1202
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1223
1203
|
}
|
|
1224
1204
|
function Me(e, t) {
|
|
@@ -1273,8 +1253,7 @@ var Un = function() {
|
|
|
1273
1253
|
return Ee = Object.assign || function(t) {
|
|
1274
1254
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1275
1255
|
r = arguments[n];
|
|
1276
|
-
for (var o in r)
|
|
1277
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1256
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1278
1257
|
}
|
|
1279
1258
|
return t;
|
|
1280
1259
|
}, Ee.apply(this, arguments);
|
|
@@ -1420,8 +1399,7 @@ var A = function() {
|
|
|
1420
1399
|
return A = Object.assign || function(t) {
|
|
1421
1400
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1422
1401
|
r = arguments[n];
|
|
1423
|
-
for (var o in r)
|
|
1424
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1402
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1425
1403
|
}
|
|
1426
1404
|
return t;
|
|
1427
1405
|
}, A.apply(this, arguments);
|
|
@@ -3063,8 +3041,7 @@ function _n(e, t) {
|
|
|
3063
3041
|
r += h;
|
|
3064
3042
|
for (; s-- > 0; )
|
|
3065
3043
|
r = u + r;
|
|
3066
|
-
} else
|
|
3067
|
-
i === "J" ? r += "H" : r += i;
|
|
3044
|
+
} else i === "J" ? r += "H" : r += i;
|
|
3068
3045
|
}
|
|
3069
3046
|
return r;
|
|
3070
3047
|
}
|
|
@@ -3667,8 +3644,7 @@ function rt(e) {
|
|
|
3667
3644
|
if (delete t.location, $t(t) || er(t))
|
|
3668
3645
|
for (var r in t.options)
|
|
3669
3646
|
delete t.options[r].location, rt(t.options[r].value);
|
|
3670
|
-
else
|
|
3671
|
-
Kt(t) && rr(t.style) || (Yt(t) || _t(t)) && Ye(t.style) ? delete t.style.location : tr(t) && rt(t.children);
|
|
3647
|
+
else Kt(t) && rr(t.style) || (Yt(t) || _t(t)) && Ye(t.style) ? delete t.style.location : tr(t) && rt(t.children);
|
|
3672
3648
|
});
|
|
3673
3649
|
}
|
|
3674
3650
|
function gi(e, t) {
|
|
@@ -4453,8 +4429,7 @@ function bo(e, t, r) {
|
|
|
4453
4429
|
}, D = () => Ne(this, null, function* () {
|
|
4454
4430
|
for (; b; )
|
|
4455
4431
|
for (const g of uo) {
|
|
4456
|
-
if (!b)
|
|
4457
|
-
return;
|
|
4432
|
+
if (!b) return;
|
|
4458
4433
|
r(3, y = g.frame), yield new Promise((P) => {
|
|
4459
4434
|
w = setTimeout(P, g.delay);
|
|
4460
4435
|
});
|
|
@@ -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/PrizeEngineCoin-
|
|
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/PrizeEngineCoin-DZXegSCZ.cjs")).then(({default:t})=>{!customElements.get("prize-engine-coin")&&customElements.define("prize-engine-coin",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PrizeEngineCoin-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PrizeEngineCoin-DbAdVv-c.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("prize-engine-coin") && customElements.define("prize-engine-coin", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|