@everymatrix/casino-mystery-chest-container 1.72.1 → 1.72.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.
Files changed (21) hide show
  1. package/components/{CasinoMysteryChestContainer-DgfSWl0a.cjs → CasinoMysteryChestContainer-B5ZO_6TA.cjs} +1 -1
  2. package/components/{CasinoMysteryChestContainer-DTbvL32D.js → CasinoMysteryChestContainer-BiTY_WHt.js} +3 -3
  3. package/components/{CasinoMysteryChestContainer-DSbW1Kqi.js → CasinoMysteryChestContainer-DjLPmY89.js} +3 -3
  4. package/components/{CasinoMysteryChestDetails-fXOVfDdA.cjs → CasinoMysteryChestDetails-CEYAhQPL.cjs} +2 -2
  5. package/components/{CasinoMysteryChestDetails-CRhhT8HS.js → CasinoMysteryChestDetails-DTVHqF1N.js} +44 -44
  6. package/components/{CasinoMysteryChestDetails-DOAKZQ3m.js → CasinoMysteryChestDetails-rTdD-Azx.js} +48 -48
  7. package/components/CasinoMysteryChestModal-BFeqHHYe.js +106 -0
  8. package/components/CasinoMysteryChestModal-DDIdE-2k.js +108 -0
  9. package/components/CasinoMysteryChestModal-phiSm65B.cjs +1 -0
  10. package/components/{CasinoMysteryChestsList-T4tx7_D4.js → CasinoMysteryChestsList-CwtLfaf6.js} +559 -559
  11. package/components/{CasinoMysteryChestsList-DG8VQr6b.cjs → CasinoMysteryChestsList-Cxy8CNvu.cjs} +1 -1
  12. package/components/{CasinoMysteryChestsList-D-47bl5v.js → CasinoMysteryChestsList-rHZ3-DW-.js} +605 -605
  13. package/components/{GeneralAnimationLoading-CmJHtx3G.js → GeneralAnimationLoading-C-6w-Ehm.js} +1 -1
  14. package/components/{GeneralAnimationLoading-BmuMt1BR.cjs → GeneralAnimationLoading-C5XbRCvM.cjs} +1 -1
  15. package/components/{GeneralAnimationLoading-FHFjnTps.js → GeneralAnimationLoading-CdaNAR_3.js} +1 -1
  16. package/es2015/casino-mystery-chest-container.cjs +1 -1
  17. package/es2015/casino-mystery-chest-container.js +1 -1
  18. package/package.json +1 -1
  19. package/components/CasinoMysteryChestModal-BgLR0nWU.js +0 -85
  20. package/components/CasinoMysteryChestModal-CftyT00U.cjs +0 -1
  21. package/components/CasinoMysteryChestModal-gPZk8HbF.js +0 -85
@@ -1,4 +1,4 @@
1
- "use strict";var Wi=Object.defineProperty,Fi=Object.defineProperties;var Gi=Object.getOwnPropertyDescriptors;var nt=Object.getOwnPropertySymbols;var he=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable;var Yt=(t,e,i)=>e in t?Wi(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,ce=(t,e)=>{for(var i in e||(e={}))he.call(e,i)&&Yt(t,i,e[i]);if(nt)for(var i of nt(e))ue.call(e,i)&&Yt(t,i,e[i]);return t},le=(t,e)=>Fi(t,Gi(e));var me=(t,e)=>{var i={};for(var r in t)he.call(t,r)&&e.indexOf(r)<0&&(i[r]=t[r]);if(t!=null&&nt)for(var r of nt(t))e.indexOf(r)<0&&ue.call(t,r)&&(i[r]=t[r]);return i};var F=(t,e,i)=>(Yt(t,typeof e!="symbol"?e+"":e,i),i);var fe=(t,e,i)=>new Promise((r,o)=>{var s=h=>{try{a(i.next(h))}catch(u){o(u)}},n=h=>{try{a(i.throw(h))}catch(u){o(u)}},a=h=>h.done?r(h.value):Promise.resolve(h.value).then(s,n);a((i=i.apply(t,e)).next())});function C(){}function Ze(t){return t()}function be(){return Object.create(null)}function L(t){t.forEach(Ze)}function $t(t){return typeof t=="function"}function te(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let at;function kt(t,e){return t===e?!0:(at||(at=document.createElement("a")),at.href=e,t===at.href)}function Ci(t){return Object.keys(t).length===0}function ve(t,...e){if(t==null){for(const r of e)r(void 0);return C}const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function zi(t,e,i){t.$$.on_destroy.push(ve(e,i))}function _(t,e){t.appendChild(e)}function Me(t,e,i){const r=Vi(t);if(!r.getElementById(e)){const o=S("style");o.id=e,o.textContent=i,Si(r,o)}}function Vi(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function Si(t,e){return _(t.head||t,e),e.sheet}function w(t,e,i){t.insertBefore(e,i||null)}function k(t){t.parentNode&&t.parentNode.removeChild(t)}function Ui(t,e){for(let i=0;i<t.length;i+=1)t[i]&&t[i].d(e)}function S(t){return document.createElement(t)}function ee(t){return document.createTextNode(t)}function ie(){return ee(" ")}function Pe(){return ee("")}function Qe(t,e,i,r){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)}function z(t,e,i){i==null?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function x(t,e,i){const r=e.toLowerCase();r in t?t[r]=typeof t[r]=="boolean"&&i===""?!0:i:e in t?t[e]=typeof t[e]=="boolean"&&i===""?!0:i:z(t,e,i)}function ki(t){return Array.from(t.childNodes)}function qi(t,e){e=""+e,t.data!==e&&(t.data=e)}function yi(t,e,i){t.classList.toggle(e,!!i)}function wi(t){const e={};return t.childNodes.forEach(i=>{e[i.slot||"default"]=!0}),e}let tt;function $(t){tt=t}function ji(){if(!tt)throw new Error("Function called outside component initialization");return tt}function re(t){ji().$$.on_mount.push(t)}const P=[],qt=[];let Q=[];const xe=[],Zi=Promise.resolve();let yt=!1;function vi(){yt||(yt=!0,Zi.then(G))}function wt(t){Q.push(t)}const Bt=new Set;let v=0;function G(){if(v!==0)return;const t=tt;do{try{for(;v<P.length;){const e=P[v];v++,$(e),Mi(e.$$)}}catch(e){throw P.length=0,v=0,e}for($(null),P.length=0,v=0;qt.length;)qt.pop()();for(let e=0;e<Q.length;e+=1){const i=Q[e];Bt.has(i)||(Bt.add(i),i())}Q.length=0}while(P.length);for(;xe.length;)xe.pop()();yt=!1,Bt.clear(),$(t)}function Mi(t){if(t.fragment!==null){t.update(),L(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(wt)}}function Pi(t){const e=[],i=[];Q.forEach(r=>t.indexOf(r)===-1?e.push(r):i.push(r)),i.forEach(r=>r()),Q=e}const Qi=new Set;function Ji(t,e){t&&t.i&&(Qi.delete(t),t.i(e))}function Oi(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function Ti(t,e,i){const{fragment:r,after_update:o}=t.$$;r&&r.m(e,i),wt(()=>{const s=t.$$.on_mount.map(Ze).filter($t);t.$$.on_destroy?t.$$.on_destroy.push(...s):L(s),t.$$.on_mount=[]}),o.forEach(wt)}function Di(t,e){const i=t.$$;i.fragment!==null&&(Pi(i.after_update),L(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function Li(t,e){t.$$.dirty[0]===-1&&(P.push(t),vi(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function Je(t,e,i,r,o,s,n=null,a=[-1]){const h=tt;$(t);const u=t.$$={fragment:null,ctx:[],props:s,update:C,not_equal:o,bound:be(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(h?h.$$.context:[])),callbacks:be(),dirty:a,skip_bound:!1,root:e.target||h.$$.root};n&&n(u.root);let c=!1;if(u.ctx=i?i(t,e.props||{},(m,l,...f)=>{const N=f.length?f[0]:l;return u.ctx&&o(u.ctx[m],u.ctx[m]=N)&&(!u.skip_bound&&u.bound[m]&&u.bound[m](N),c&&Li(t,m)),l}):[],u.update(),c=!0,L(u.before_update),u.fragment=r?r(u.ctx):!1,e.target){if(e.hydrate){const m=ki(e.target);u.fragment&&u.fragment.l(m),m.forEach(k)}else u.fragment&&u.fragment.c();e.intro&&Ji(t.$$.fragment),Ti(t,e.target,e.anchor),G()}$(h)}let Oe;typeof HTMLElement=="function"&&(Oe=class extends HTMLElement{constructor(e,i,r){super();F(this,"$$ctor");F(this,"$$s");F(this,"$$c");F(this,"$$cn",!1);F(this,"$$d",{});F(this,"$$r",!1);F(this,"$$p_d",{});F(this,"$$l",{});F(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=i,r&&this.attachShadow({mode:"open"})}addEventListener(e,i,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(i),this.$$c){const o=this.$$c.$on(e,i);this.$$l_u.set(i,o)}super.addEventListener(e,i,r)}removeEventListener(e,i,r){if(super.removeEventListener(e,i,r),this.$$c){const o=this.$$l_u.get(i);o&&(o(),this.$$l_u.delete(i))}}connectedCallback(){return fe(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(s){return()=>{let n;return{c:function(){n=S("slot"),s!=="default"&&z(n,"name",s)},m:function(u,c){w(u,n,c)},d:function(u){u&&k(n)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const i={},r=wi(this);for(const s of this.$$s)s in r&&(i[s]=[e(s)]);for(const s of this.attributes){const n=this.$$g_p(s.name);n in this.$$d||(this.$$d[n]=ct(n,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:le(ce({},this.$$d),{$$slots:i,$$scope:{ctx:[]}})});const o=()=>{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 n=ct(s,this.$$d[s],this.$$p_d,"toAttribute");n==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,n)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const s in this.$$l)for(const n of this.$$l[s]){const a=this.$$c.$on(s,n);this.$$l_u.set(n,a)}this.$$l={}}})}attributeChangedCallback(e,i,r){var o;this.$$r||(e=this.$$g_p(e),this.$$d[e]=ct(e,r,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(i=>this.$$p_d[i].attribute===e||!this.$$p_d[i].attribute&&i.toLowerCase()===e)||e}});function ct(t,e,i,r){var s;const o=(s=i[t])==null?void 0:s.type;if(e=o==="Boolean"&&typeof e!="boolean"?e!=null:e,!r||!i[t])return e;if(r==="toAttribute")switch(o){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(o){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Te(t,e,i,r,o,s){let n=class extends Oe{constructor(){super(t,i,o),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(a=>(e[a].attribute||a).toLowerCase())}};return Object.keys(e).forEach(a=>{Object.defineProperty(n.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(h){var u;h=ct(a,h,e),this.$$d[a]=h,(u=this.$$c)==null||u.$set({[a]:h})}})}),r.forEach(a=>{Object.defineProperty(n.prototype,a,{get(){var h;return(h=this.$$c)==null?void 0:h[a]}})}),t.element=n,n}class De{constructor(){F(this,"$$");F(this,"$$set")}$destroy(){Di(this,1),this.$destroy=C}$on(e,i){if(!$t(i))return C;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(i),()=>{const o=r.indexOf(i);o!==-1&&r.splice(o,1)}}$set(e){this.$$set&&!Ci(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Hi="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Hi);if(typeof window!="undefined"){let t=function(e){return function(...i){try{return e.apply(this,i)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./CasinoMysteryChestsList-DG8VQr6b.cjs")).then(({default:e})=>{!customElements.get("casino-mystery-chests-list")&&customElements.define("casino-mystery-chests-list",e.element)})}if(typeof window!="undefined"){let t=function(e){return function(...i){try{return e.apply(this,i)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./CasinoMysteryChestDetails-fXOVfDdA.cjs")).then(({default:e})=>{!customElements.get("casino-mystery-chest-details")&&customElements.define("casino-mystery-chest-details",e.element)})}if(typeof window!="undefined"){let t=function(e){return function(...i){try{return e.apply(this,i)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./CasinoMysteryChestModal-CftyT00U.cjs")).then(({default:e})=>{!customElements.get("casino-mystery-chest-modal")&&customElements.define("casino-mystery-chest-modal",e.element)})}/*! *****************************************************************************
1
+ "use strict";var Wi=Object.defineProperty,Fi=Object.defineProperties;var Gi=Object.getOwnPropertyDescriptors;var nt=Object.getOwnPropertySymbols;var he=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable;var Yt=(t,e,i)=>e in t?Wi(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,ce=(t,e)=>{for(var i in e||(e={}))he.call(e,i)&&Yt(t,i,e[i]);if(nt)for(var i of nt(e))ue.call(e,i)&&Yt(t,i,e[i]);return t},le=(t,e)=>Fi(t,Gi(e));var me=(t,e)=>{var i={};for(var r in t)he.call(t,r)&&e.indexOf(r)<0&&(i[r]=t[r]);if(t!=null&&nt)for(var r of nt(t))e.indexOf(r)<0&&ue.call(t,r)&&(i[r]=t[r]);return i};var F=(t,e,i)=>(Yt(t,typeof e!="symbol"?e+"":e,i),i);var fe=(t,e,i)=>new Promise((r,o)=>{var s=h=>{try{a(i.next(h))}catch(u){o(u)}},n=h=>{try{a(i.throw(h))}catch(u){o(u)}},a=h=>h.done?r(h.value):Promise.resolve(h.value).then(s,n);a((i=i.apply(t,e)).next())});function C(){}function Ze(t){return t()}function be(){return Object.create(null)}function L(t){t.forEach(Ze)}function $t(t){return typeof t=="function"}function te(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let at;function kt(t,e){return t===e?!0:(at||(at=document.createElement("a")),at.href=e,t===at.href)}function Ci(t){return Object.keys(t).length===0}function ve(t,...e){if(t==null){for(const r of e)r(void 0);return C}const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function zi(t,e,i){t.$$.on_destroy.push(ve(e,i))}function _(t,e){t.appendChild(e)}function Me(t,e,i){const r=Vi(t);if(!r.getElementById(e)){const o=S("style");o.id=e,o.textContent=i,Si(r,o)}}function Vi(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function Si(t,e){return _(t.head||t,e),e.sheet}function w(t,e,i){t.insertBefore(e,i||null)}function k(t){t.parentNode&&t.parentNode.removeChild(t)}function Ui(t,e){for(let i=0;i<t.length;i+=1)t[i]&&t[i].d(e)}function S(t){return document.createElement(t)}function ee(t){return document.createTextNode(t)}function ie(){return ee(" ")}function Pe(){return ee("")}function Qe(t,e,i,r){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)}function z(t,e,i){i==null?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function x(t,e,i){const r=e.toLowerCase();r in t?t[r]=typeof t[r]=="boolean"&&i===""?!0:i:e in t?t[e]=typeof t[e]=="boolean"&&i===""?!0:i:z(t,e,i)}function ki(t){return Array.from(t.childNodes)}function qi(t,e){e=""+e,t.data!==e&&(t.data=e)}function yi(t,e,i){t.classList.toggle(e,!!i)}function wi(t){const e={};return t.childNodes.forEach(i=>{e[i.slot||"default"]=!0}),e}let tt;function $(t){tt=t}function ji(){if(!tt)throw new Error("Function called outside component initialization");return tt}function re(t){ji().$$.on_mount.push(t)}const P=[],qt=[];let Q=[];const xe=[],Zi=Promise.resolve();let yt=!1;function vi(){yt||(yt=!0,Zi.then(G))}function wt(t){Q.push(t)}const Bt=new Set;let v=0;function G(){if(v!==0)return;const t=tt;do{try{for(;v<P.length;){const e=P[v];v++,$(e),Mi(e.$$)}}catch(e){throw P.length=0,v=0,e}for($(null),P.length=0,v=0;qt.length;)qt.pop()();for(let e=0;e<Q.length;e+=1){const i=Q[e];Bt.has(i)||(Bt.add(i),i())}Q.length=0}while(P.length);for(;xe.length;)xe.pop()();yt=!1,Bt.clear(),$(t)}function Mi(t){if(t.fragment!==null){t.update(),L(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(wt)}}function Pi(t){const e=[],i=[];Q.forEach(r=>t.indexOf(r)===-1?e.push(r):i.push(r)),i.forEach(r=>r()),Q=e}const Qi=new Set;function Ji(t,e){t&&t.i&&(Qi.delete(t),t.i(e))}function Oi(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function Ti(t,e,i){const{fragment:r,after_update:o}=t.$$;r&&r.m(e,i),wt(()=>{const s=t.$$.on_mount.map(Ze).filter($t);t.$$.on_destroy?t.$$.on_destroy.push(...s):L(s),t.$$.on_mount=[]}),o.forEach(wt)}function Di(t,e){const i=t.$$;i.fragment!==null&&(Pi(i.after_update),L(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function Li(t,e){t.$$.dirty[0]===-1&&(P.push(t),vi(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function Je(t,e,i,r,o,s,n=null,a=[-1]){const h=tt;$(t);const u=t.$$={fragment:null,ctx:[],props:s,update:C,not_equal:o,bound:be(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(h?h.$$.context:[])),callbacks:be(),dirty:a,skip_bound:!1,root:e.target||h.$$.root};n&&n(u.root);let c=!1;if(u.ctx=i?i(t,e.props||{},(m,l,...f)=>{const N=f.length?f[0]:l;return u.ctx&&o(u.ctx[m],u.ctx[m]=N)&&(!u.skip_bound&&u.bound[m]&&u.bound[m](N),c&&Li(t,m)),l}):[],u.update(),c=!0,L(u.before_update),u.fragment=r?r(u.ctx):!1,e.target){if(e.hydrate){const m=ki(e.target);u.fragment&&u.fragment.l(m),m.forEach(k)}else u.fragment&&u.fragment.c();e.intro&&Ji(t.$$.fragment),Ti(t,e.target,e.anchor),G()}$(h)}let Oe;typeof HTMLElement=="function"&&(Oe=class extends HTMLElement{constructor(e,i,r){super();F(this,"$$ctor");F(this,"$$s");F(this,"$$c");F(this,"$$cn",!1);F(this,"$$d",{});F(this,"$$r",!1);F(this,"$$p_d",{});F(this,"$$l",{});F(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=i,r&&this.attachShadow({mode:"open"})}addEventListener(e,i,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(i),this.$$c){const o=this.$$c.$on(e,i);this.$$l_u.set(i,o)}super.addEventListener(e,i,r)}removeEventListener(e,i,r){if(super.removeEventListener(e,i,r),this.$$c){const o=this.$$l_u.get(i);o&&(o(),this.$$l_u.delete(i))}}connectedCallback(){return fe(this,null,function*(){if(this.$$cn=!0,!this.$$c){let e=function(s){return()=>{let n;return{c:function(){n=S("slot"),s!=="default"&&z(n,"name",s)},m:function(u,c){w(u,n,c)},d:function(u){u&&k(n)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const i={},r=wi(this);for(const s of this.$$s)s in r&&(i[s]=[e(s)]);for(const s of this.attributes){const n=this.$$g_p(s.name);n in this.$$d||(this.$$d[n]=ct(n,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:le(ce({},this.$$d),{$$slots:i,$$scope:{ctx:[]}})});const o=()=>{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 n=ct(s,this.$$d[s],this.$$p_d,"toAttribute");n==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,n)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const s in this.$$l)for(const n of this.$$l[s]){const a=this.$$c.$on(s,n);this.$$l_u.set(n,a)}this.$$l={}}})}attributeChangedCallback(e,i,r){var o;this.$$r||(e=this.$$g_p(e),this.$$d[e]=ct(e,r,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(i=>this.$$p_d[i].attribute===e||!this.$$p_d[i].attribute&&i.toLowerCase()===e)||e}});function ct(t,e,i,r){var s;const o=(s=i[t])==null?void 0:s.type;if(e=o==="Boolean"&&typeof e!="boolean"?e!=null:e,!r||!i[t])return e;if(r==="toAttribute")switch(o){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e==null?null:e;default:return e}else switch(o){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Te(t,e,i,r,o,s){let n=class extends Oe{constructor(){super(t,i,o),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(a=>(e[a].attribute||a).toLowerCase())}};return Object.keys(e).forEach(a=>{Object.defineProperty(n.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(h){var u;h=ct(a,h,e),this.$$d[a]=h,(u=this.$$c)==null||u.$set({[a]:h})}})}),r.forEach(a=>{Object.defineProperty(n.prototype,a,{get(){var h;return(h=this.$$c)==null?void 0:h[a]}})}),t.element=n,n}class De{constructor(){F(this,"$$");F(this,"$$set")}$destroy(){Di(this,1),this.$destroy=C}$on(e,i){if(!$t(i))return C;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(i),()=>{const o=r.indexOf(i);o!==-1&&r.splice(o,1)}}$set(e){this.$$set&&!Ci(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Hi="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Hi);if(typeof window!="undefined"){let t=function(e){return function(...i){try{return e.apply(this,i)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./CasinoMysteryChestsList-Cxy8CNvu.cjs")).then(({default:e})=>{!customElements.get("casino-mystery-chests-list")&&customElements.define("casino-mystery-chests-list",e.element)})}if(typeof window!="undefined"){let t=function(e){return function(...i){try{return e.apply(this,i)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./CasinoMysteryChestDetails-CEYAhQPL.cjs")).then(({default:e})=>{!customElements.get("casino-mystery-chest-details")&&customElements.define("casino-mystery-chest-details",e.element)})}if(typeof window!="undefined"){let t=function(e){return function(...i){try{return e.apply(this,i)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./CasinoMysteryChestModal-phiSm65B.cjs")).then(({default:e})=>{!customElements.get("casino-mystery-chest-modal")&&customElements.define("casino-mystery-chest-modal",e.element)})}/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -512,7 +512,7 @@ if (typeof window != "undefined") {
512
512
  }
513
513
  };
514
514
  };
515
- customElements.define = t(customElements.define), import("./CasinoMysteryChestsList-D-47bl5v.js").then(({ default: e }) => {
515
+ customElements.define = t(customElements.define), import("./CasinoMysteryChestsList-rHZ3-DW-.js").then(({ default: e }) => {
516
516
  !customElements.get("casino-mystery-chests-list") && customElements.define("casino-mystery-chests-list", e.element);
517
517
  });
518
518
  }
@@ -528,7 +528,7 @@ if (typeof window != "undefined") {
528
528
  }
529
529
  };
530
530
  };
531
- customElements.define = t(customElements.define), import("./CasinoMysteryChestDetails-CRhhT8HS.js").then(({ default: e }) => {
531
+ customElements.define = t(customElements.define), import("./CasinoMysteryChestDetails-DTVHqF1N.js").then(({ default: e }) => {
532
532
  !customElements.get("casino-mystery-chest-details") && customElements.define("casino-mystery-chest-details", e.element);
533
533
  });
534
534
  }
@@ -544,7 +544,7 @@ if (typeof window != "undefined") {
544
544
  }
545
545
  };
546
546
  };
547
- customElements.define = t(customElements.define), import("./CasinoMysteryChestModal-BgLR0nWU.js").then(({ default: e }) => {
547
+ customElements.define = t(customElements.define), import("./CasinoMysteryChestModal-DDIdE-2k.js").then(({ default: e }) => {
548
548
  !customElements.get("casino-mystery-chest-modal") && customElements.define("casino-mystery-chest-modal", e.element);
549
549
  });
550
550
  }
@@ -466,7 +466,7 @@ if (typeof window < "u") {
466
466
  }
467
467
  };
468
468
  };
469
- customElements.define = t(customElements.define), import("./CasinoMysteryChestsList-T4tx7_D4.js").then(({ default: e }) => {
469
+ customElements.define = t(customElements.define), import("./CasinoMysteryChestsList-CwtLfaf6.js").then(({ default: e }) => {
470
470
  !customElements.get("casino-mystery-chests-list") && customElements.define("casino-mystery-chests-list", e.element);
471
471
  });
472
472
  }
@@ -482,7 +482,7 @@ if (typeof window < "u") {
482
482
  }
483
483
  };
484
484
  };
485
- customElements.define = t(customElements.define), import("./CasinoMysteryChestDetails-DOAKZQ3m.js").then(({ default: e }) => {
485
+ customElements.define = t(customElements.define), import("./CasinoMysteryChestDetails-rTdD-Azx.js").then(({ default: e }) => {
486
486
  !customElements.get("casino-mystery-chest-details") && customElements.define("casino-mystery-chest-details", e.element);
487
487
  });
488
488
  }
@@ -498,7 +498,7 @@ if (typeof window < "u") {
498
498
  }
499
499
  };
500
500
  };
501
- customElements.define = t(customElements.define), import("./CasinoMysteryChestModal-gPZk8HbF.js").then(({ default: e }) => {
501
+ customElements.define = t(customElements.define), import("./CasinoMysteryChestModal-BFeqHHYe.js").then(({ default: e }) => {
502
502
  !customElements.get("casino-mystery-chest-modal") && customElements.define("casino-mystery-chest-modal", e.element);
503
503
  });
504
504
  }