@everymatrix/mini-games-hub 0.2.8 → 0.2.10

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 (67) hide show
  1. package/components/ArrowLeftIcon--eD-7fsx.cjs +1 -0
  2. package/components/ArrowLeftIcon-Bfs5TaL6.js +20 -0
  3. package/components/ArrowLeftIcon-D98iyiSl.js +20 -0
  4. package/components/ArrowLeftIcon-Ypzji-S_.cjs +1 -0
  5. package/components/{CoinFlip-BOrc1Sgy.cjs → CoinFlip-BI2KQoYz.cjs} +1 -1
  6. package/components/{CoinFlip-uc2aguuz.js → CoinFlip-BxeM60kP.js} +2 -2
  7. package/components/{CoinFlip-DgM6tDy5.js → CoinFlip-CIqBL9-4.js} +18 -18
  8. package/components/{CoinFlip-DiCOvx3Q.cjs → CoinFlip-tTQwMgSv.cjs} +1 -1
  9. package/components/{CoinRoyale-DLL1bCAy.js → CoinRoyale-AIjHyYRF.js} +120 -116
  10. package/components/{CoinRoyale-Bkr3Rd-u.cjs → CoinRoyale-B08ETrbd.cjs} +4 -4
  11. package/components/{CoinRoyale-BH73ZSrU.cjs → CoinRoyale-DqOsokVD.cjs} +4 -4
  12. package/components/{CoinRoyale-fp-xfwl2.js → CoinRoyale-gjCYpNk5.js} +105 -101
  13. package/components/{GameCard-D78hDMaL.js → GameCard-BAO-RWT9.js} +36 -36
  14. package/components/{GameCard-BiO9Cay-.cjs → GameCard-CehoUog_.cjs} +3 -3
  15. package/components/{GameCard-Qh_fk15-.cjs → GameCard-DfHnwOqs.cjs} +3 -3
  16. package/components/{GameCard-jCZ6S2Wu.js → GameCard-pddtwXsP.js} +31 -31
  17. package/components/{MiniGamesHub-Bf2Cd1bB.js → MiniGamesHub-BPYHmhQ0.js} +157 -88
  18. package/components/{MiniGamesHub-KqAdBJEX.js → MiniGamesHub-CJjxsGLO.js} +138 -69
  19. package/components/MiniGamesHub-DzY6bqFU.cjs +79 -0
  20. package/components/MiniGamesHub-rHaCMzIp.cjs +79 -0
  21. package/components/{WheelOfFortune-CBYo6vCg.js → WheelOfFortune-Bz-AxMjO.js} +20 -20
  22. package/components/{WheelOfFortune-CDTzbAjp.cjs → WheelOfFortune-C0aA8AWD.cjs} +1 -1
  23. package/components/{WheelOfFortune-8HCl7aHv.js → WheelOfFortune-CBD1u1Ya.js} +29 -29
  24. package/components/{WheelOfFortune-XfmUFV3-.cjs → WheelOfFortune-D3EtOxbR.cjs} +1 -1
  25. package/components/WheelOfFortuneDrawResults-BBd3dkqS.cjs +1 -0
  26. package/components/WheelOfFortuneDrawResults-D7SxQsQ4.cjs +1 -0
  27. package/components/WheelOfFortuneDrawResults-Dg54Kewh.js +286 -0
  28. package/components/WheelOfFortuneDrawResults-XxUjXAw4.js +261 -0
  29. package/components/WheelOfFortuneHistory-C8xiNova.js +222 -0
  30. package/components/WheelOfFortuneHistory-KBjh_Fju.cjs +13 -0
  31. package/components/WheelOfFortuneHistory-QwT2V9EM.cjs +13 -0
  32. package/components/WheelOfFortuneHistory-txMyUapV.js +223 -0
  33. package/components/WheelOfFortuneRules-BJENXLzh.cjs +5 -0
  34. package/components/WheelOfFortuneRules-BtC1z4Di.js +109 -0
  35. package/components/WheelOfFortuneRules-C3McWywL.js +120 -0
  36. package/components/WheelOfFortuneRules-YSDAQ18X.cjs +5 -0
  37. package/components/{WheelOfFortuneWheel-F62aU_CL.js → WheelOfFortuneWheel-B11sYKJn.js} +364 -346
  38. package/components/{WheelOfFortuneWheel-CiyQZNAd.js → WheelOfFortuneWheel-D1cbM2SU.js} +718 -700
  39. package/components/WheelOfFortuneWheel-DB0BZCUo.cjs +3 -0
  40. package/components/WheelOfFortuneWheel-DWAdby4o.cjs +3 -0
  41. package/components/utils-BqkCy2Rz.cjs +3 -0
  42. package/components/{utils-3LNftCeZ.js → utils-CzSqbDv1.js} +633 -639
  43. package/components/{utils-DGrEJJ_K.js → utils-UAFcjwcH.js} +1737 -1745
  44. package/components/utils-uE8V9ar8.cjs +3 -0
  45. package/es2015/mini-games-hub.cjs +1 -1
  46. package/es2015/mini-games-hub.js +1 -1
  47. package/esnext/mini-games-hub.cjs +1 -1
  48. package/esnext/mini-games-hub.js +1 -1
  49. package/package.json +1 -1
  50. package/components/MiniGamesHub-5tuj6CDm.cjs +0 -16
  51. package/components/MiniGamesHub-SxucWl3S.cjs +0 -16
  52. package/components/WheelOfFortuneDrawResults-CASEqNiM.cjs +0 -1
  53. package/components/WheelOfFortuneDrawResults-DqgsImHB.js +0 -254
  54. package/components/WheelOfFortuneDrawResults-DsfJ3803.js +0 -279
  55. package/components/WheelOfFortuneDrawResults-l8iWZa_e.cjs +0 -1
  56. package/components/WheelOfFortuneHistory-CF8B0i5m.js +0 -213
  57. package/components/WheelOfFortuneHistory-Cnk8otCw.js +0 -213
  58. package/components/WheelOfFortuneHistory-DARohsMs.cjs +0 -12
  59. package/components/WheelOfFortuneHistory-ld2sGzjI.cjs +0 -12
  60. package/components/WheelOfFortuneRules-BZqR4cT9.js +0 -118
  61. package/components/WheelOfFortuneRules-Bv-d_VAp.cjs +0 -3
  62. package/components/WheelOfFortuneRules-CRGG3J0S.js +0 -107
  63. package/components/WheelOfFortuneRules-DLj96pqu.cjs +0 -3
  64. package/components/WheelOfFortuneWheel-CrRAYCB1.cjs +0 -3
  65. package/components/WheelOfFortuneWheel-DGD-zfeE.cjs +0 -3
  66. package/components/utils-BxNmJ6YA.cjs +0 -3
  67. package/components/utils-DyVEmMSf.cjs +0 -3
@@ -0,0 +1,3 @@
1
+ "use strict";var ys=Object.defineProperty,gs=Object.defineProperties;var Es=Object.getOwnPropertyDescriptors;var pn=Object.getOwnPropertySymbols;var bs=Object.prototype.hasOwnProperty,xs=Object.prototype.propertyIsEnumerable;var vn=e=>{throw TypeError(e)};var wr=(e,t,r)=>t in e?ys(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,mn=(e,t)=>{for(var r in t||(t={}))bs.call(t,r)&&wr(e,r,t[r]);if(pn)for(var r of pn(t))xs.call(t,r)&&wr(e,r,t[r]);return e},yn=(e,t)=>gs(e,Es(t));var le=(e,t,r)=>wr(e,typeof t!="symbol"?t+"":t,r),Mr=(e,t,r)=>t.has(e)||vn("Cannot "+r);var S=(e,t,r)=>(Mr(e,t,"read from private field"),r?r.call(e):t.get(e)),se=(e,t,r)=>t.has(e)?vn("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),ke=(e,t,r,n)=>(Mr(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),L=(e,t,r)=>(Mr(e,t,"access private method"),r);const Ts=require("./constants-CoPH35Re.cjs"),Ss=1,As=2,ws=4,Ms=8,Hs=16,Os=1,Is=4,Ns=8,Ps=16,Cs=1,Bs=2,Gn="[",$n="[!",Ds="[?",kn="]",Gt={},Y=Symbol("uninitialized"),jn="http://www.w3.org/1999/xhtml",Rs="http://www.w3.org/2000/svg",Ls="http://www.w3.org/1998/Math/MathML",Yn=!1;var Kr=Array.isArray,Us=Array.prototype.indexOf,Nt=Array.prototype.includes,Fs=Array.from,Gs=Object.keys,Vn=Object.defineProperty,it=Object.getOwnPropertyDescriptor,$s=Object.getOwnPropertyDescriptors,Xn=Object.prototype,ks=Array.prototype,en=Object.getPrototypeOf,gn=Object.isExtensible;const Le=()=>{};function Wn(e){for(var t=0;t<e.length;t++)e[t]()}function zn(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const ee=2,ht=4,$t=8,Zn=1<<24,_e=16,me=32,Oe=64,qn=128,tn=256,ve=512,V=1024,R=2048,ae=4096,ue=8192,re=16384,Qe=32768,tr=1<<25,Pt=65536,rr=1<<17,js=1<<18,Je=1<<19,Qn=1<<20,Ys=1<<25,nr=1<<21,st=1<<22,Ue=1<<23,qt=Symbol("$state"),Jn=Symbol("component"),Vs=Symbol("legacy props"),Xs=Symbol(""),Kn=Symbol("attributes"),ei=Symbol("class"),ti=Symbol("style"),ri=Symbol("text"),kt=new class extends Error{constructor(){super(...arguments);le(this,"name","StaleReactionError");le(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};var Fn;const Ws=!!((Fn=globalThis.document)!=null&&Fn.contentType)&&globalThis.document.contentType.includes("xml"),jt=3,rn=8;function zs(){console.warn("https://svelte.dev/e/derived_inert")}function cr(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Zs(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}exports.hydrating=!1;function qs(e){exports.hydrating=e}exports.hydrate_node=void 0;function Ze(e){if(e===null)throw cr(),Gt;return exports.hydrate_node=e}function Qs(){return Ze(Pe(exports.hydrate_node))}function ni(e){if(exports.hydrating){if(Pe(exports.hydrate_node)!==null)throw cr(),Gt;exports.hydrate_node=e}}function Js(e=1){if(exports.hydrating){for(var t=e,r=exports.hydrate_node;t--;)r=Pe(r);exports.hydrate_node=r}}function Ks(e=!0){for(var t=0,r=exports.hydrate_node;;){if(r.nodeType===rn){var n=r.data;if(n===kn){if(t===0)return r;t-=1}else(n===Gn||n===$n||n[0]==="["&&!isNaN(Number(n.slice(1))))&&(t+=1)}var i=Pe(r);e&&r.remove(),r=i}}function eo(e){if(!e||e.nodeType!==rn)throw cr(),Gt;return e.data}function ii(e){return e===this.v}function si(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function oi(e){return!si(e,this.v)}function to(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function ro(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function no(e,t,r){throw new Error("https://svelte.dev/e/each_key_duplicate")}function io(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function so(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function oo(e){throw new Error("https://svelte.dev/e/effect_orphan")}function ao(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function uo(){throw new Error("https://svelte.dev/e/hydration_failed")}function fo(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function lo(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function ho(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function co(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function _o(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}let po=!1;const vo=[];function mo(e,t=!1,r=!1){return Qt(e,new Map,"",vo,null,r)}function Qt(e,t,r,n,i=null,s=!1){if(typeof e=="object"&&e!==null){var a=t.get(e);if(a!==void 0)return a;if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);if(Kr(e)){var u=Array(e.length);t.set(e,u),i!==null&&t.set(i,u);for(var o=0;o<e.length;o+=1){var l=e[o];o in e&&(u[o]=Qt(l,t,r,n,null,s))}return u}if(en(e)===Xn){u={},t.set(e,u),i!==null&&t.set(i,u);for(var f of Object.keys(e))u[f]=Qt(e[f],t,r,n,null,s);return u}if(e instanceof Date)return e.getTime(),structuredClone(e);if(typeof e.toJSON=="function"&&!s)return Qt(e.toJSON(),t,r,n,e)}if(e instanceof EventTarget)return e;try{return structuredClone(e)}catch(h){return e}}exports.component_context=null;function Ct(e){exports.component_context=e}function yo(e,t=!1,r){exports.component_context={p:exports.component_context,i:!1,c:null,e:null,s:e,x:null,r:exports.active_effect,l:null}}function go(e){var t=exports.component_context,r=t.e;if(r!==null){t.e=null;for(var n of r)Hi(n)}return e!==void 0&&(t.x=e),t.i=!0,exports.component_context=t.p,ai(e)}function ai(e={}){return Vn(e,Jn,{value:!0}),e}function ui(){return!0}let Ye=[];function fi(){var e=Ye;Ye=[],Wn(e)}function ir(e){if(Ye.length===0&&!Ht){var t=Ye;queueMicrotask(()=>{t===Ye&&fi()})}Ye.push(e)}function Eo(){for(;Ye.length>0;)fi()}const bo=-7169;function k(e,t){e.f=e.f&bo|t}function nn(e){e.f&ve||e.deps===null?k(e,V):k(e,ae)}function li(e,t){e.f&R?t.set(e,R):e.f&ae&&t.get(e)!==R&&t.set(e,ae),k(e,V)}function Yt(e){var t=exports.active_reaction,r=exports.active_effect;Ne(null),qe(null);try{return e()}finally{Ne(t),qe(r)}}function xo(e,t,r,n){const i=dr;var s=e.filter(c=>!c.settled),a=t.map(i);if(r.length===0&&s.length===0){n(a);return}var u=exports.active_effect,o=To(),l=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(c=>c.promise)):null;function f(c){if(!(u.f&re)){o();try{n([...a,...c])}catch(_){ct(_,u)}sr()}}var h=hi();if(r.length===0){l.then(()=>f([])).finally(h);return}function d(){Promise.all(r.map(c=>So(c))).then(f).catch(c=>ct(c,u)).finally(h)}l?l.then(()=>{if(u.f&re){h();return}o(),d(),sr()}):d()}function To(){var e=exports.active_effect,t=exports.active_reaction,r=exports.component_context,n=exports.current_batch;return function(s=!0){qe(e),Ne(t),Ct(r),s&&!(e.f&re)&&(n==null||n.activate(),n==null||n.apply())}}function sr(e=!0){var t;qe(null),Ne(null),Ct(null),e&&((t=exports.current_batch)==null||t.deactivate())}function hi(){var e=exports.active_effect,t=e.b,r=exports.current_batch,n=!!(t!=null&&t.is_rendered());return t==null||t.update_pending_count(1,r),r.increment(n,e),()=>{t==null||t.update_pending_count(-1,r),r.decrement(n,e)}}function dr(e){var t=ee|R;return exports.active_effect!==null&&(exports.active_effect.f|=Je),{ctx:exports.component_context,deps:null,effects:null,equals:ii,f:t,fn:e,reactions:null,rv:0,v:Y,wv:0,parent:exports.active_effect,ac:null}}const St=Symbol("obsolete");function So(e,t,r){let n=exports.active_effect;n===null&&ro();var i=void 0,s=Vt(Y),a=!exports.active_reaction,u=new Set;return Zo(()=>{var c,_;var o=exports.active_effect,l=zn();i=l.promise;try{Promise.resolve(e()).then(l.resolve,g=>{g!==kt&&l.reject(g)}).finally(sr)}catch(g){l.reject(g),sr()}var f=exports.current_batch;if(a){if(o.f&Qe)var h=hi();if((c=n.b)!=null&&c.is_rendered())(_=f.async_deriveds.get(o))==null||_.reject(St);else for(const g of u.values())g.reject(St);u.add(l),f.async_deriveds.set(o,l)}const d=(g,p=void 0)=>{h==null||h(),u.delete(l),p!==St&&(f.activate(),p?(s.f|=Ue,ar(s,p)):(s.f&Ue&&(s.f^=Ue),ar(s,g)),f.deactivate())};l.promise.then(d,g=>d(null,g||"unknown"))}),Mi(()=>{for(const o of u)o.reject(St)}),new Promise(o=>{function l(f){function h(){f===i?o(s):l(i)}f.then(h,h)}l(i)})}function Ao(e){const t=dr(e);return Ri(t),t}function wo(e){const t=dr(e);return t.equals=oi,t}function Mo(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)Ie(t[r])}}function sn(e){var t,r=exports.active_effect,n=e.parent;if(!exports.is_destroying_effect&&n!==null&&e.v!==Y&&n.f&(re|ue))return zs(),e.v;qe(n);try{Mo(e),t=Gi(e)}finally{qe(r)}return t}function ci(e){var r,n;var t=sn(e);if(!e.equals(t)&&(e.wv=Ui(),(!((r=exports.current_batch)!=null&&r.is_fork)||e.deps===null)&&(exports.current_batch!==null?(exports.current_batch.capture(e,t,!0),Fe==null||Fe.capture(e,t,!0)):e.v=t,e.deps===null))){k(e,V);return}exports.is_destroying_effect||(Q!==null?(un()||(n=exports.current_batch)!=null&&n.is_fork)&&Q.set(e,t):nn(e))}function Ho(e){var t;if(e.effects!==null)for(const r of e.effects)(r.teardown||r.ac)&&((t=r.teardown)==null||t.call(r),r.ac!==null&&Yt(()=>{r.ac.abort(kt),r.ac=null}),r.fn!==null&&(r.teardown=Le),Rt(r,0),fn(r))}function di(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&t.fn!==null&&dt(t)}let Hr=null,et=null;exports.current_batch=null;let Fe=null,Q=null,Lr=null,Ht=!1,Or=!1,Ot=null,Jt=null;var En=0;let Oo=1;var ot,at,ut,Me,ft,He,Ft,Ee,be,lt,We,I,Ur,_i,Fr,At,Gr,pi,vi,mi,rt,Io,wt;const hr=class hr{constructor(){se(this,I);le(this,"id",Oo++);le(this,"started",!1);le(this,"linked",!0);le(this,"prev",null);le(this,"next",null);le(this,"async_deriveds",new Map);le(this,"current",new Map);le(this,"previous",new Map);se(this,ot,new Set);se(this,at,new Set);se(this,ut,0);se(this,Me,new Map);se(this,ft,null);se(this,He,[]);se(this,Ft,[]);se(this,Ee,new Map);se(this,be,new Map);se(this,lt,new Set);le(this,"is_fork",!1);se(this,We,!1);et===null?Hr=et=this:(et.next=this,this.prev=et),et=this}skip_effect(t){S(this,be).has(t)||S(this,be).set(t,{d:[],m:[]}),S(this,lt).delete(t)}unskip_effect(t,r=n=>this.schedule(n)){var n=S(this,be).get(t);if(n){S(this,be).delete(t);for(var i of n.d)k(i,R),r(i);for(i of n.m)k(i,ae),r(i)}S(this,lt).add(t)}capture(t,r,n=!1){t.v!==Y&&!this.previous.has(t)&&this.previous.set(t,t.v),t.f&Ue||(this.current.set(t,[r,n]),Q==null||Q.set(t,r)),this.is_fork||(t.v=r)}activate(){exports.current_batch=this}deactivate(){exports.current_batch=null,Q=null}flush(){try{Or=!0,exports.current_batch=this,L(this,I,At).call(this)}finally{En=0,Lr=null,Ot=null,Jt=null,Or=!1,exports.current_batch=null,Q=null,Te.clear()}}discard(){var t;for(const r of S(this,at))r(this);S(this,at).clear();for(const r of this.async_deriveds.values())r.reject(St);L(this,I,wt).call(this),(t=S(this,ft))==null||t.resolve()}register_created_effect(t){S(this,Ft).push(t)}increment(t,r){var n;if(ke(this,ut,S(this,ut)+1),t){let i=(n=S(this,Me).get(r))!=null?n:0;S(this,Me).set(r,i+1)}}decrement(t,r){var n;if(ke(this,ut,S(this,ut)-1),t){let i=(n=S(this,Me).get(r))!=null?n:0;i===1?S(this,Me).delete(r):S(this,Me).set(r,i-1)}S(this,We)||(ke(this,We,!0),ir(()=>{ke(this,We,!1),this.linked&&this.flush()}))}transfer_reactions(t){for(const[r,n]of t)this.add_dirty_reaction(r,n);t.clear()}add_dirty_reaction(t,r){(r===R||S(this,Ee).get(t)!==R)&&S(this,Ee).set(t,r)}oncommit(t){S(this,ot).add(t)}ondiscard(t){S(this,at).add(t)}settled(){var t;return((t=S(this,ft))!=null?t:ke(this,ft,zn())).promise}static ensure(){if(exports.current_batch===null){const t=exports.current_batch=new hr;!Or&&!Ht&&ir(()=>{t.started||t.flush()})}return exports.current_batch}apply(){{Q=null;return}}schedule(t){var r;if(Lr=t,(r=t.b)!=null&&r.is_pending&&t.f&(ht|$t|Zn)&&!(t.f&Qe)){t.b.defer_effect(t);return}S(this,He).push(t)}};ot=new WeakMap,at=new WeakMap,ut=new WeakMap,Me=new WeakMap,ft=new WeakMap,He=new WeakMap,Ft=new WeakMap,Ee=new WeakMap,be=new WeakMap,lt=new WeakMap,We=new WeakMap,I=new WeakSet,Ur=function(){if(this.is_fork)return!0;for(const t of S(this,Me).keys())if(!L(this,I,_i).call(this,t))return!0;return!1},_i=function(t){for(var r=t;r!==null;r=r.parent)if(S(this,be).has(r))return!0;return!1},Fr=function(){var t=[];for(const s of S(this,He))if(!(s.f&re||!(s.f&(R|ae)))){for(var r=s,n=!1;r.parent!==null;){r=r.parent;var i=r.f;if(i&(Oe|me)){if(!(i&V)){n=!0;break}r.f^=V}}n||t.push(r)}return ke(this,He,[]),t},At=function(){var u,o,l,f;this.started=!0;for(const[h,d]of S(this,Ee))k(h,d),this.schedule(h);this.apply();for(var t=Ot=[],r=[],n=Jt=[];S(this,He).length>0;){En++>1e3&&(L(this,I,wt).call(this),Po());for(const h of L(this,I,Fr).call(this))try{L(this,I,Gr).call(this,h,t,r)}catch(d){throw Ei(h),L(this,I,Ur).call(this)||this.discard(),d}}if(exports.current_batch=null,n.length>0){var i=hr.ensure();for(const h of n)i.schedule(h)}if(Ot=null,Jt=null,L(this,I,Ur).call(this)){L(this,I,rt).call(this,r),L(this,I,rt).call(this,t);for(const[h,d]of S(this,be))gi(h,d);n.length>0&&L(u=exports.current_batch,I,At).call(u);return}const s=L(this,I,pi).call(this);if(s){L(this,I,rt).call(this,r),L(this,I,rt).call(this,t),L(o=s,I,mi).call(o,this);return}S(this,Ee).clear();for(const h of S(this,ot))h(this);S(this,ot).clear(),Fe=this,bn(r),bn(t),Fe=null,(l=S(this,ft))==null||l.resolve();var a=exports.current_batch;S(this,ut)===0&&(S(this,He).length===0||a!==null)&&L(this,I,wt).call(this),a!==null&&(Te.clear(),L(f=a,I,At).call(f))},Gr=function(t,r,n){t.f^=V;for(var i=t.first;i!==null;){var s=i.f,a=(s&(me|Oe))!==0,u=a&&(s&V)!==0,o=u||(s&ue)!==0||S(this,be).has(i);if(!o&&i.fn!==null){a?i.f^=V:s&ht?r.push(i):Xt(i)&&(s&_e&&this.add_dirty_reaction(i,ae),dt(i));var l=i.first;if(l!==null){i=l;continue}}for(;i!==null;){var f=i.next;if(f!==null){i=f;break}i=i.parent}}},pi=function(){for(var t=this.prev;t!==null;t=t.prev)if(!t.is_fork&&L(this,I,vi).call(this,t))return t;return null},vi=function(t){for(const[r,[,n]]of this.current)if(!n&&t.current.has(r))return!0;return!1},mi=function(t){var n;for(const[i,s]of t.current)!this.previous.has(i)&&t.previous.has(i)&&this.previous.set(i,t.previous.get(i)),this.current.set(i,s);for(const[i,s]of t.async_deriveds){const a=this.async_deriveds.get(i);a&&s.promise.then(a.resolve).catch(a.reject)}t.async_deriveds.clear(),this.transfer_reactions(S(t,Ee));const r=i=>{var s=i.reactions;if(s!==null&&!(i.f&ee&&!(i.f&(R|ae))))for(const o of s){var a=o.f;if(a&ee)r(o);else{var u=o;a&(st|_e)&&!this.async_deriveds.has(u)&&(S(this,Ee).delete(u),k(u,R),this.schedule(u))}}};for(const i of this.current.keys())r(i);this.oncommit(()=>t.discard()),L(n=t,I,wt).call(n),exports.current_batch=this,L(this,I,At).call(this)},rt=function(t){for(var r=0;r<t.length;r+=1)li(t[r],S(this,Ee))},Io=function(){var h,d;for(let c=Hr;c!==null;c=c.next){var t=c.id<this.id,r=[];for(const[_,[g,p]]of this.current){if(c.current.has(_)){var n=c.current.get(_)[0];if(t&&g!==n)c.current.set(_,[g,p]);else continue}r.push(_)}if(t)for(const[_,g]of this.async_deriveds){const p=c.async_deriveds.get(_);p&&g.promise.then(p.resolve).catch(p.reject)}var i=[...c.current.keys()].filter(_=>!c.current.get(_)[1]);if(!(!c.started||i.length===0)){var s=i.filter(_=>!this.current.has(_));if(s.length===0)t&&c.discard();else if(r.length>0){if(t)for(const _ of S(this,lt))c.unskip_effect(_,g=>{var p;g.f&(_e|st)?c.schedule(g):L(p=c,I,rt).call(p,[g])});c.activate();var a=new Set,u=new Map;for(var o of r)yi(o,s,a,u);u=new Map;var l=[...c.current].filter(([_,g])=>{const p=this.current.get(_);return p?p[0]!==g[0]||p[1]!==g[1]:!0}).map(([_])=>_);if(l.length>0)for(const _ of S(this,Ft))!(_.f&(re|ue|rr))&&on(_,l,u)&&(_.f&(st|_e)?(k(_,R),c.schedule(_)):c.add_dirty_reaction(_,R));if(S(c,He).length>0&&!S(c,We)){c.apply();for(var f of L(h=c,I,Fr).call(h))L(d=c,I,Gr).call(d,f,[],[])}c.deactivate()}}}},wt=function(){if(this.linked){var t=this.prev,r=this.next;t===null?Hr=r:t.next=r,r===null?et=t:r.prev=t,this.linked=!1}};let Ge=hr;function No(e){var t=Ht,r=Fe;Fe=null,Ht=!0;try{for(var n;;){if(Eo(),exports.current_batch===null)return n;exports.current_batch.flush()}}finally{Ht=t,Fe=r}}function Po(){try{ao()}catch(e){ct(e,Lr)}}let de=null;function bn(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if(!(n.f&(re|ue))&&Xt(n)&&(de=new Set,dt(n),n.deps===null&&n.first===null&&n.nodes===null&&n.teardown===null&&n.ac===null&&Pi(n),(de==null?void 0:de.size)>0)){Te.clear();for(const i of de){if(i.f&(re|ue))continue;const s=[i];let a=i.parent;for(;a!==null;)de.has(a)&&(de.delete(a),s.push(a)),a=a.parent;for(let u=s.length-1;u>=0;u--){const o=s[u];o.f&(re|ue)||dt(o)}}de.clear()}}de=null}}function yi(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;s&ee?yi(i,t,r,n):s&(st|_e)&&!(s&R)&&on(i,t,n)&&(k(i,R),an(i))}}function on(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const i of e.deps){if(Nt.call(t,i))return!0;if(i.f&ee&&on(i,t,r))return r.set(i,!0),!0}return r.set(e,!1),!1}function an(e){exports.current_batch.schedule(e)}function gi(e,t){if(!(e.f&me&&e.f&V)){e.f&R?t.d.push(e):e.f&ae&&t.m.push(e),k(e,V);for(var r=e.first;r!==null;)gi(r,t),r=r.next}}function Ei(e){k(e,V);for(var t=e.first;t!==null;)Ei(t),t=t.next}let or=new Set;const Te=new Map;let bi=!1;function Vt(e,t){var r={f:0,v:e,reactions:null,equals:ii,rv:0,wv:0};return r}function we(e,t){const r=Vt(e);return Ri(r),r}function Co(e,t=!1,r=!0){const n=Vt(e);return t||(n.equals=oi),n}function De(e,t,r=!1){exports.active_reaction!==null&&(!pe||exports.active_reaction.f&rr)&&ui()&&exports.active_reaction.f&(ee|_e|st|rr)&&(ce===null||!ce.has(e))&&co();let n=r?nt(t):t;return ar(e,n,Jt)}var je=null,$r=0;function ar(e,t,r=null){if(!e.equals(t)){exports.is_destroying_effect?Te.set(e,t):Te.has(e)||Te.set(e,e.v);var n=Ge.ensure();if(n.capture(e,t),e.f&ee){const i=e;e.f&R&&sn(i),Q===null&&nn(i)}e.wv=Ui(),je=null,$r=0,xi(e,R,r),je=null,exports.active_effect!==null&&exports.active_effect.f&V&&!(exports.active_effect.f&(me|Oe))&&(he===null?ra([e]):he.push(e)),!n.is_fork&&or.size>0&&!bi&&Bo()}return t}function Bo(){bi=!1;for(const e of or){e.f&V&&k(e,ae);let t;try{t=Xt(e)}catch(r){t=!0}t&&dt(e)}or.clear()}function It(e){De(e,e.v+1)}function xi(e,t,r){var n=e.reactions;if(n!==null){var i=n.length;if($r+=i,$r>1e5&&je===null&&(je=new Set),je!==null){if(je.has(e))return;je.add(e)}for(var s=0;s<i;s++){var a=n[s],u=a.f,o=(u&R)===0;if(o&&k(a,t),u&rr)or.add(a);else if(u&ee){var l=a;Q==null||Q.delete(l),xi(l,ae,r)}else if(o){var f=a;u&_e&&de!==null&&de.add(f),r!==null?r.push(f):an(f)}}}}function nt(e){if(typeof e!="object"||e===null||qt in e||Jn in e)return e;const t=en(e);if(t!==Xn&&t!==ks)return e;var r=new Map,n=Kr(e),i=we(0),s=ze,a=u=>{if(ze===s)return u();var o=exports.active_reaction,l=ze;Ne(null),Sn(s);var f=u();return Ne(o),Sn(l),f};return n&&r.set("length",we(e.length)),new Proxy(e,{defineProperty(u,o,l){(!("value"in l)||l.configurable===!1||l.enumerable===!1||l.writable===!1)&&lo();var f=r.get(o);return f===void 0?a(()=>{var h=we(l.value);return r.set(o,h),h}):De(f,l.value,!0),!0},deleteProperty(u,o){var l=r.get(o);if(l===void 0){if(o in u){const f=a(()=>we(Y));r.set(o,f),It(i)}}else De(l,Y),It(i);return!0},get(u,o,l){var c;if(o===qt)return e;var f=r.get(o),h=o in u;if(f===void 0&&(!h||(c=it(u,o))!=null&&c.writable)&&(f=a(()=>{var _=nt(h?u[o]:Y),g=we(_);return g}),r.set(o,f)),f!==void 0){var d=Xe(f);return d===Y?void 0:d}return Reflect.get(u,o,l)},getOwnPropertyDescriptor(u,o){var d;(d=this.has)==null||d.call(this,u,o);var l=Reflect.getOwnPropertyDescriptor(u,o),f=r.get(o);if(f!==void 0){var h=Xe(f);if(h===Y)return;if(l&&"value"in l)l.value=h;else return{enumerable:!0,configurable:!0,value:h,writable:!0}}return l},has(u,o){var d;if(o===qt)return!0;var l=r.get(o),f=l!==void 0&&l.v!==Y||Reflect.has(u,o);if(l!==void 0||(exports.active_effect!==null||exports.active_reaction!==null)&&(!f||(d=it(u,o))!=null&&d.writable)){l===void 0&&(l=a(()=>{var c=f?nt(u[o]):Y,_=we(c);return _}),r.set(o,l));var h=Xe(l);if(h===Y)return!1}return f},set(u,o,l,f){var w;var h=r.get(o),d=o in u;if(n&&o==="length")for(var c=l;c<h.v;c+=1){var _=r.get(c+"");_!==void 0?De(_,Y):c in u&&(_=a(()=>we(Y)),r.set(c+"",_))}if(h===void 0)(!d||(w=it(u,o))!=null&&w.writable)&&(h=a(()=>we(void 0)),De(h,nt(l)),r.set(o,h));else{d=h.v!==Y;var g=a(()=>nt(l));De(h,g)}var p=Reflect.getOwnPropertyDescriptor(u,o);if(p!=null&&p.set&&p.set.call(f,l),!d){if(n&&typeof o=="string"){var A=r.get("length"),O=Number(o);Number.isInteger(O)&&O>=A.v&&De(A,O+1)}It(i)}return!0},ownKeys(u){Xe(i);var o=Reflect.ownKeys(u).filter(h=>{var d=r.get(h);return d===void 0||d.v!==Y});for(var[l,f]of r)f.v!==Y&&!(l in u)&&o.push(l);return o},setPrototypeOf(){ho()}})}var xn;exports.is_firefox=void 0;var Ti,Si;function Do(){if(xn===void 0){xn=window,exports.is_firefox=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Ti=it(t,"firstChild").get,Si=it(t,"nextSibling").get,gn(e)&&(e[ei]=void 0,e[Kn]=null,e[ti]=void 0,e.__e=void 0),gn(r)&&(r[ri]=void 0)}}function Bt(e=""){return document.createTextNode(e)}function Dt(e){return Ti.call(e)}function Pe(e){return Si.call(e)}function Ai(e,t){if(!exports.hydrating)return Dt(e);var r=Dt(exports.hydrate_node);if(r===null)r=exports.hydrate_node.appendChild(Bt());else if(t&&r.nodeType!==jt){var n=Bt();return r==null||r.before(n),Ze(n),n}return t&&_r(r),Ze(r),r}function Ro(e,t=!1){var i,s;if(!exports.hydrating){var r=Dt(e);return r instanceof Comment&&r.data===""?Pe(r):r}if(t){if(((i=exports.hydrate_node)==null?void 0:i.nodeType)!==jt){var n=Bt();return(s=exports.hydrate_node)==null||s.before(n),Ze(n),n}_r(exports.hydrate_node)}return exports.hydrate_node}function Lo(e,t=!1){if(!exports.hydrating)return Dt(e);var r=Ai(e,t);return ni(e),r}function Uo(e,t=1,r=!1){let n=exports.hydrating?exports.hydrate_node:e;for(var i;t--;)i=n,n=Pe(n);if(!exports.hydrating)return n;if(r){if((n==null?void 0:n.nodeType)!==jt){var s=Bt();return n===null?i==null||i.after(s):n.before(s),Ze(s),s}_r(n)}return Ze(n),n}function Fo(e){e.textContent=""}function Go(){return!1}function $o(e,t,r){return t==null||t===jn?r?document.createElement(e,{is:r}):document.createElement(e):r?document.createElementNS(t,e,{is:r}):document.createElementNS(t,e)}function _r(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===jt;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function ko(e){var t=exports.active_effect;if(t===null)return exports.active_reaction.f|=Ue,e;if(!(t.f&Qe)&&!(t.f&ht))throw e;ct(e,t)}function ct(e,t){if(e===Gt)throw e;if(!(t!==null&&t.f&re)){for(;t!==null;){if(t.f&qn&&!(t.f&(re|tr))){if(!(t.f&Qe))throw e;try{t.b.error(e);return}catch(r){e=r}}t=t.parent}throw e}}function wi(e){exports.active_effect===null&&(exports.active_reaction===null&&oo(),so()),exports.is_destroying_effect&&io()}function jo(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function ye(e,t){var a,u;var r=exports.active_effect;r!==null&&r.f&ue&&(e|=ue);var n={ctx:exports.component_context,deps:null,nodes:null,f:e|R|ve,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};(a=exports.current_batch)==null||a.register_created_effect(n);var i=n;if(e&ht)Ot!==null?Ot.push(n):Ge.ensure().schedule(n);else if(t!==null){try{dt(n)}catch(o){throw Ie(n),o}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&Je)&&(i=i.first,e&_e&&e&Pt&&i!==null&&(i.f|=Pt))}if(i!==null&&(i.parent=r,r!==null&&jo(i,r),exports.active_reaction!==null&&exports.active_reaction.f&ee&&!(e&Oe))){var s=exports.active_reaction;((u=s.effects)!=null?u:s.effects=[]).push(i)}return n}function un(){return exports.active_reaction!==null&&!pe}function Mi(e){const t=ye($t,null);return k(t,V),t.teardown=e,t}function Yo(e){var i;wi();var t=exports.active_effect.f,r=!exports.active_reaction&&(t&me)!==0&&exports.component_context!==null&&!exports.component_context.i;if(r){var n=exports.component_context;((i=n.e)!=null?i:n.e=[]).push(e)}else return Hi(e)}function Hi(e){return ye(ht|Qn,e)}function Vo(e){return wi(),ye($t|Qn,e)}function Xo(e){Ge.ensure();const t=ye(Oe|Je,e);return()=>{Ie(t)}}function Wo(e){Ge.ensure();const t=ye(Oe|Je,e);return(r={})=>new Promise(n=>{r.outro?Ci(t,()=>{Ie(t),n(void 0)}):(Ie(t),n(void 0))})}function zo(e){return ye(ht,e)}function Zo(e){return ye(st|Je,e)}function Oi(e,t=0){return ye($t|t,e)}function qo(e,t=[],r=[],n=[]){xo(n,t,r,i=>{ye($t,()=>{e(...i.map(Xe))})})}function Qo(e,t=0){var r=ye(_e|t,e);return r}function Jo(e){return ye(me|Je,e)}function Ii(e){var t=e.teardown;if(t!==null){const r=exports.is_destroying_effect,n=exports.active_reaction;Tn(!0),Ne(null);try{t.call(null)}catch(i){ct(i,e.parent)}finally{Tn(r),Ne(n)}}}function fn(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&Yt(()=>{i.abort(kt)});var n=r.next;r.f&Oe?r.parent=null:Ie(r,t),r=n}}function Ko(e){for(var t=e.first;t!==null;){var r=t.next;t.f&me||Ie(t),t=r}}function Ie(e,t=!0){var r=!1;(t||e.f&js)&&e.nodes!==null&&e.nodes.end!==null&&(Ni(e.nodes.start,e.nodes.end),r=!0),e.f|=tr,fn(e,t&&!r),Rt(e,0);var n=e.nodes&&e.nodes.t;if(n!==null)for(const s of n)s.stop();Ii(e),e.f^=tr,e.f|=re;var i=e.parent;i!==null&&i.first!==null&&Pi(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Ni(e,t){for(;e!==null;){var r=e===t?null:Pe(e);e.remove(),e=r}}function Pi(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function Ci(e,t,r=!0){var n=[];e.f|=tn,Bi(e,n,!0);var i=()=>{r&&Ie(e),t&&t()},s=n.length;if(s>0){var a=()=>--s||i();for(var u of n)u.out(a)}else i()}function Bi(e,t,r){if(!(e.f&ue)){e.f^=ue;var n=e.nodes&&e.nodes.t;if(n!==null)for(const u of n)(u.is_global||r)&&t.push(u);for(var i=e.first;i!==null;){var s=i.next;if(!(i.f&Oe)){var a=(i.f&Pt)!==0||(i.f&me)!==0&&(e.f&_e)!==0;Bi(i,t,a?r:!1)}i=s}}}function ea(e){e.f&=~tn,Di(e,!0)}function Di(e,t){if(!(e.f&tn)&&e.f&ue){e.f^=ue,e.f&V||(k(e,R),Ge.ensure().schedule(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&Pt)!==0||(r.f&me)!==0;Di(r,i?t:!1),r=n}var s=e.nodes&&e.nodes.t;if(s!==null)for(const a of s)(a.is_global||t)&&a.in()}}function ta(e,t){if(e.nodes)for(var r=e.nodes.start,n=e.nodes.end;r!==null;){var i=r===n?null:Pe(r);t.append(r),r=i}}exports.is_destroying_effect=!1;function Tn(e){exports.is_destroying_effect=e}exports.active_reaction=null;let pe=!1;function Ne(e){exports.active_reaction=e}exports.active_effect=null;function qe(e){exports.active_effect=e}let ce=null;function Ri(e){exports.active_reaction!==null&&(exports.active_reaction.f&nr||exports.active_reaction.f&ee)&&(ce!=null?ce:ce=new Set).add(e)}let ie=null,oe=0,he=null;function ra(e){he=e}let Li=1,Ve=0,ze=Ve;function Sn(e){ze=e}function Ui(){return++Li}function Xt(e){var t=e.f;if(t&R)return!0;if(t&ae){for(var r=e.deps,n=r.length,i=0;i<n;i++){var s=r[i];if(Xt(s)&&ci(s),s.wv>e.wv)return!0}t&ve&&Q===null&&k(e,V)}return!1}function Fi(e,t,r=!0){var n=e.reactions;if(n!==null&&!(ce!==null&&ce.has(e)))for(var i=0;i<n.length;i++){var s=n[i];s.f&ee?Fi(s,t,!1):t===s&&(r?k(s,R):s.f&V&&k(s,ae),an(s))}}function Gi(e){var t=ie,r=oe,n=he,i=exports.active_reaction,s=ce,a=exports.component_context,u=pe,o=ze,l=e.f;ie=null,oe=0,he=null,exports.active_reaction=l&(me|Oe)?null:e,ce=null,Ct(e.ctx),pe=!1,ze=++Ve,e.ac!==null&&(Yt(()=>{e.ac.abort(kt)}),e.ac=null);try{e.f|=nr;var f=e.fn,h=f();e.f|=Qe;var d=An(e);if(ui()&&he!==null&&!pe&&d!==null&&!(e.f&(ee|ae|R)))for(var c=0;c<he.length;c++)Fi(he[c],e);if(i!==null&&i!==e){if(Ve++,i.deps!==null)for(let _=0;_<r;_+=1)i.deps[_].rv=Ve;if(t!==null)for(const _ of t)_.rv=Ve;he!==null&&(n===null?n=he:n.push(...he))}return e.f&Ue&&(e.f^=Ue),h}catch(_){return An(e),ko(_)}finally{e.f^=nr,ie=t,oe=r,he=n,exports.active_reaction=i,ce=s,Ct(a),pe=u,ze=o}}function An(e){var i,s,a;var t=e.deps,r=(i=exports.current_batch)==null?void 0:i.is_fork;if(ie!==null){var n;if(r||Rt(e,oe),t!==null&&oe>0)for(t.length=oe+ie.length,n=0;n<ie.length;n++)t[oe+n]=ie[n];else e.deps=t=ie;if(un()&&e.f&ve)for(n=oe;n<t.length;n++)((a=(s=t[n]).reactions)!=null?a:s.reactions=[]).push(e)}else!r&&t!==null&&oe<t.length&&(Rt(e,oe),t.length=oe);return t}function na(e,t){let r=t.reactions;if(r!==null){var n=Us.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}if(r===null&&t.f&ee&&(ie===null||!Nt.call(ie,t))){var s=t;s.f&ve&&(s.f^=ve),s.v!==Y&&nn(s),s.ac!==null&&Yt(()=>{s.ac.abort(kt),s.ac=null,k(s,R)}),Ho(s),Rt(s,0)}}function Rt(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)na(e,r[n])}function dt(e){var t=e.f;if(!(t&re)){k(e,V);var r=exports.active_effect;exports.active_effect=e;try{t&(_e|Zn)?Ko(e):fn(e),Ii(e);var n=Gi(e);e.teardown=typeof n=="function"?n:null,e.wv=Li;var i;Yn&&po&&e.f&R&&e.deps}finally{exports.active_effect=r}}}function Xe(e){var f,h;var t=e.f,r=(t&ee)!==0;if(exports.active_reaction!==null&&!pe){var n=exports.active_effect!==null&&(exports.active_effect.f&re)!==0;if(!n&&(ce===null||!ce.has(e))){var i=exports.active_reaction.deps;if(exports.active_reaction.f&nr)e.rv<Ve&&(e.rv=Ve,ie===null&&i!==null&&i[oe]===e?oe++:ie===null?ie=[e]:ie.push(e));else{(h=(f=exports.active_reaction).deps)!=null||(f.deps=[]),Nt.call(exports.active_reaction.deps,e)||exports.active_reaction.deps.push(e);var s=e.reactions;s===null?e.reactions=[exports.active_reaction]:Nt.call(s,exports.active_reaction)||s.push(exports.active_reaction)}}}if(exports.is_destroying_effect&&Te.has(e))return Te.get(e);if(r){var a=e;if(exports.is_destroying_effect){var u=a.v;return(!(a.f&V)&&a.reactions!==null||ki(a))&&(u=sn(a)),Te.set(a,u),u}var o=(a.f&ve)===0&&!pe&&exports.active_reaction!==null&&(exports.active_reaction.f&ve)!==0,l=(a.f&Qe)===0;Xt(a)&&(o&&(a.f|=ve),ci(a)),o&&!l&&(di(a),$i(a))}if(Q!=null&&Q.has(e))return Q.get(e);if(e.f&Ue)throw e.v;return e.v}function $i(e){if(e.f|=ve,e.deps!==null)for(const r of e.deps){var t=r.reactions;t===null?r.reactions=[e]:Nt.call(t,e)||t.push(e),r.f&ee&&!(r.f&ve)&&(di(r),$i(r))}}function ki(e){if(e.v===Y)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Te.has(t)||t.f&ee&&ki(t))return!0;return!1}function ln(e){var t=pe;try{return pe=!0,e()}finally{pe=t}}function ia(e){let t=0,r=Vt(0),n;return()=>{un()&&(Xe(r),Oi(()=>(t===0&&(n=ln(()=>e(()=>It(r)))),t+=1,()=>{ir(()=>{t-=1,t===0&&(n==null||n(),n=void 0,It(r))})})))}}function hn(e,t,r){if(e==null)return t(void 0),r&&r(void 0),Le;const n=ln(()=>e.subscribe(t,r));return n.unsubscribe?()=>n.unsubscribe():n}const tt=[];function sa(e,t){return{subscribe:pr(e,t).subscribe}}function pr(e,t=Le){let r=null;const n=new Set;function i(u){if(si(e,u)&&(e=u,r)){const o=!tt.length;for(const l of n)l[1](),tt.push(l,e);if(o){for(let l=0;l<tt.length;l+=2)tt[l][0](tt[l+1]);tt.length=0}}}function s(u){i(u(e))}function a(u,o=Le){const l=[u,o];return n.add(l),n.size===1&&(r=t(i,s)||Le),u(e),()=>{n.delete(l),n.size===0&&r&&(r(),r=null)}}return{set:i,update:s,subscribe:a}}function yt(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=t.length<2;return sa(r,(a,u)=>{let o=!1;const l=[];let f=0,h=Le;const d=()=>{if(f)return;h();const _=t(n?l[0]:l,a,u);s?a(_):h=typeof _=="function"?_:Le},c=i.map((_,g)=>hn(_,p=>{l[g]=p,f&=~(1<<g),o&&d()},()=>{f|=1<<g}));return o=!0,d(),function(){Wn(c),h(),o=!1}})}function ji(e){let t;return hn(e,r=>t=r)(),t}var cn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function vr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var oa=function(t){return aa(t)&&!ua(t)};function aa(e){return!!e&&typeof e=="object"}function ua(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||ha(e)}var fa=typeof Symbol=="function"&&Symbol.for,la=fa?Symbol.for("react.element"):60103;function ha(e){return e.$$typeof===la}function ca(e){return Array.isArray(e)?[]:{}}function Lt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?_t(ca(e),e,t):e}function da(e,t,r){return e.concat(t).map(function(n){return Lt(n,r)})}function _a(e,t){if(!t.customMerge)return _t;var r=t.customMerge(e);return typeof r=="function"?r:_t}function pa(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function wn(e){return Object.keys(e).concat(pa(e))}function Yi(e,t){try{return t in e}catch(r){return!1}}function va(e,t){return Yi(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function ma(e,t,r){var n={};return r.isMergeableObject(e)&&wn(e).forEach(function(i){n[i]=Lt(e[i],r)}),wn(t).forEach(function(i){va(e,i)||(Yi(e,i)&&r.isMergeableObject(t[i])?n[i]=_a(i,r)(e[i],t[i],r):n[i]=Lt(t[i],r))}),n}function _t(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||da,r.isMergeableObject=r.isMergeableObject||oa,r.cloneUnlessOtherwiseSpecified=Lt;var n=Array.isArray(t),i=Array.isArray(e),s=n===i;return s?n?r.arrayMerge(e,t,r):ma(e,t,r):Lt(t,r)}_t.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return _t(n,i,r)},{})};var ya=_t,ga=ya;const Ea=vr(ga);var kr=function(e,t){return kr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},kr(e,t)};function mr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");kr(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var xe=function(){return xe=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},xe.apply(this,arguments)};function ba(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Ir(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}function Nr(e,t){var r=t&&t.cache?t.cache:Ha,n=t&&t.serializer?t.serializer:wa,i=t&&t.strategy?t.strategy:Sa;return i(e,{cache:r,serializer:n})}function xa(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ta(e,t,r,n){var i=xa(n)?n:r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.call(this,n),t.set(i,s)),s}function Vi(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.apply(this,n),t.set(i,s)),s}function Xi(e,t,r,n,i){return r.bind(t,e,n,i)}function Sa(e,t){var r=e.length===1?Ta:Vi;return Xi(e,this,r,t.cache.create(),t.serializer)}function Aa(e,t){return Xi(e,this,Vi,t.cache.create(),t.serializer)}var wa=function(){return JSON.stringify(arguments)},Ma=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),Ha={create:function(){return new Ma}},Pr={variadic:Aa},ur=function(){return ur=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},ur.apply(this,arguments)};var N;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(N||(N={}));var U;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(U||(U={}));var pt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(pt||(pt={}));function Mn(e){return e.type===U.literal}function Oa(e){return e.type===U.argument}function Wi(e){return e.type===U.number}function zi(e){return e.type===U.date}function Zi(e){return e.type===U.time}function qi(e){return e.type===U.select}function Qi(e){return e.type===U.plural}function Ia(e){return e.type===U.pound}function Ji(e){return e.type===U.tag}function Ki(e){return!!(e&&typeof e=="object"&&e.type===pt.number)}function jr(e){return!!(e&&typeof e=="object"&&e.type===pt.dateTime)}var es=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Na=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Pa(e){var t={};return e.replace(Na,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var G=function(){return G=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},G.apply(this,arguments)};var Ca=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Ba(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Ca).filter(function(d){return d.length>0}),r=[],n=0,i=t;n<i.length;n++){var s=i[n],a=s.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var u=a[0],o=a.slice(1),l=0,f=o;l<f.length;l++){var h=f[l];if(h.length===0)throw new Error("Invalid number skeleton")}r.push({stem:u,options:o})}return r}function Da(e){return e.replace(/^(.*?)-/,"")}var Hn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ts=/^(@+)?(\+|#+)?[rs]?$/g,Ra=/(\*)(0+)|(#+)(0+)|(0+)/g,rs=/^(0+)$/;function On(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(ts,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function ns(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function La(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!rs.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function In(e){var t={},r=ns(e);return r||t}function Ua(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Da(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=G(G(G({},t),{notation:"scientific"}),i.options.reduce(function(o,l){return G(G({},o),In(l))},{}));continue;case"engineering":t=G(G(G({},t),{notation:"engineering"}),i.options.reduce(function(o,l){return G(G({},o),In(l))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Ra,function(o,l,f,h,d,c){if(l)t.minimumIntegerDigits=f.length;else{if(h&&d)throw new Error("We currently do not support maximum integer digits");if(c)throw new Error("We currently do not support exact integer digits")}return""});continue}if(rs.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Hn.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Hn,function(o,l,f,h,d,c){return f==="*"?t.minimumFractionDigits=l.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:d&&c?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+c.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var s=i.options[0];s==="w"?t=G(G({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=G(G({},t),On(s)));continue}if(ts.test(i.stem)){t=G(G({},t),On(i.stem));continue}var a=ns(i.stem);a&&(t=G(G({},t),a));var u=La(i.stem);u&&(t=G(G({},t),u))}return t}var Zt={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Fa(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var s=0;n+1<e.length&&e.charAt(n+1)===i;)s++,n++;var a=1+(s&1),u=s<2?1:3+(s>>1),o="a",l=Ga(t);for((l=="H"||l=="k")&&(u=0);u-- >0;)r+=o;for(;a-- >0;)r=l+r}else i==="J"?r+="H":r+=i}return r}function Ga(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Zt[n||""]||Zt[r||""]||Zt["".concat(r,"-001")]||Zt["001"];return i[0]}var Cr,$a=new RegExp("^".concat(es.source,"*")),ka=new RegExp("".concat(es.source,"*$"));function P(e,t){return{start:e,end:t}}var ja=!!String.prototype.startsWith&&"_a".startsWith("a",1),Ya=!!String.fromCodePoint,Va=!!Object.fromEntries,Xa=!!String.prototype.codePointAt,Wa=!!String.prototype.trimStart,za=!!String.prototype.trimEnd,Za=!!Number.isSafeInteger,qa=Za?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Yr=!0;try{var Qa=ss("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Yr=((Cr=Qa.exec("a"))===null||Cr===void 0?void 0:Cr[0])==="a"}catch(e){Yr=!1}var Nn=ja?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Vr=Ya?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,s=0,a;i>s;){if(a=t[s++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},Pn=Va?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var s=i[n],a=s[0],u=s[1];r[a]=u}return r},is=Xa?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),s;return i<55296||i>56319||r+1===n||(s=t.charCodeAt(r+1))<56320||s>57343?i:(i-55296<<10)+(s-56320)+65536}},Ja=Wa?function(t){return t.trimStart()}:function(t){return t.replace($a,"")},Ka=za?function(t){return t.trimEnd()}:function(t){return t.replace(ka,"")};function ss(e,t){return new RegExp(e,t)}var Xr;if(Yr){var Cn=ss("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Xr=function(t,r){var n;Cn.lastIndex=r;var i=Cn.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else Xr=function(t,r){for(var n=[];;){var i=is(t,r);if(i===void 0||os(i)||nu(i))break;n.push(i),r+=i>=65536?2:1}return Vr.apply(void 0,n)};var eu=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var s=this.char();if(s===123){var a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else{if(s===125&&t>0)break;if(s===35&&(r==="plural"||r==="selectordinal")){var u=this.clonePosition();this.bump(),i.push({type:U.pound,location:P(u,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(N.UNMATCHED_CLOSING_TAG,P(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&Wr(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:U.literal,value:"<".concat(i,"/>"),location:P(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,r,!0);if(s.err)return s;var a=s.val,u=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Wr(this.char()))return this.error(N.INVALID_TAG,P(u,this.clonePosition()));var o=this.clonePosition(),l=this.parseTagName();return i!==l?this.error(N.UNMATCHED_CLOSING_TAG,P(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:U.tag,value:i,children:a,location:P(n,this.clonePosition())},err:null}:this.error(N.INVALID_TAG,P(u,this.clonePosition())))}else return this.error(N.UNCLOSED_TAG,P(n,this.clonePosition()))}else return this.error(N.INVALID_TAG,P(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&ru(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var s=this.tryParseQuote(r);if(s){i+=s;continue}var a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var u=this.tryParseLeftAngleBracket();if(u){i+=u;continue}break}var o=P(n,this.clonePosition());return{val:{type:U.literal,value:i,location:o},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!tu(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Vr.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),Vr(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE,P(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(N.EMPTY_ARGUMENT,P(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(N.MALFORMED_ARGUMENT,P(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE,P(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:U.argument,value:i,location:P(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE,P(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(N.MALFORMED_ARGUMENT,P(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Xr(this.message,r),i=r+n.length;this.bumpTo(i);var s=this.clonePosition(),a=P(t,s);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var s,a=this.clonePosition(),u=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(u){case"":return this.error(N.EXPECT_ARGUMENT_TYPE,P(a,o));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var d=Ka(h.val);if(d.length===0)return this.error(N.EXPECT_ARGUMENT_STYLE,P(this.clonePosition(),this.clonePosition()));var c=P(f,this.clonePosition());l={style:d,styleLocation:c}}var _=this.tryParseArgumentClose(i);if(_.err)return _;var g=P(i,this.clonePosition());if(l&&Nn(l==null?void 0:l.style,"::",0)){var p=Ja(l.style.slice(2));if(u==="number"){var h=this.parseNumberSkeletonFromString(p,l.styleLocation);return h.err?h:{val:{type:U.number,value:n,location:g,style:h.val},err:null}}else{if(p.length===0)return this.error(N.EXPECT_DATE_TIME_SKELETON,g);var A=p;this.locale&&(A=Fa(p,this.locale));var d={type:pt.dateTime,pattern:A,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Pa(A):{}},O=u==="date"?U.date:U.time;return{val:{type:O,value:n,location:g,style:d},err:null}}}return{val:{type:u==="number"?U.number:u==="date"?U.date:U.time,value:n,location:g,style:(s=l==null?void 0:l.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(N.EXPECT_SELECT_ARGUMENT_OPTIONS,P(w,ur({},w)));this.bumpSpace();var j=this.parseIdentifierIfPossible(),B=0;if(u!=="select"&&j.value==="offset"){if(!this.bumpIf(":"))return this.error(N.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(N.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,N.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),j=this.parseIdentifierIfPossible(),B=h.val}var $=this.tryParsePluralOrSelectOptions(t,u,r,j);if($.err)return $;var _=this.tryParseArgumentClose(i);if(_.err)return _;var J=P(i,this.clonePosition());return u==="select"?{val:{type:U.select,value:n,options:Pn($.val),location:J},err:null}:{val:{type:U.plural,value:n,options:Pn($.val),offset:B,pluralType:u==="plural"?"cardinal":"ordinal",location:J},err:null}}default:return this.error(N.INVALID_ARGUMENT_TYPE,P(a,o))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(N.EXPECT_ARGUMENT_CLOSING_BRACE,P(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(N.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,P(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=Ba(t)}catch(i){return this.error(N.INVALID_NUMBER_SKELETON,r)}return{val:{type:pt.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Ua(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var s,a=!1,u=[],o=new Set,l=i.value,f=i.location;;){if(l.length===0){var h=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(N.EXPECT_PLURAL_ARGUMENT_SELECTOR,N.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;f=P(h,this.clonePosition()),l=this.message.slice(h.offset,this.offset())}else break}if(o.has(l))return this.error(r==="select"?N.DUPLICATE_SELECT_ARGUMENT_SELECTOR:N.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);l==="other"&&(a=!0),this.bumpSpace();var c=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?N.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:N.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,P(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(t+1,r,n);if(_.err)return _;var g=this.tryParseArgumentClose(c);if(g.err)return g;u.push([l,{value:_.val,location:P(c,this.clonePosition())}]),o.add(l),this.bumpSpace(),s=this.parseIdentifierIfPossible(),l=s.value,f=s.location}return u.length===0?this.error(r==="select"?N.EXPECT_SELECT_ARGUMENT_SELECTOR:N.EXPECT_PLURAL_ARGUMENT_SELECTOR,P(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(N.MISSING_OTHER_CLAUSE,P(this.clonePosition(),this.clonePosition())):{val:u,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var s=!1,a=0;!this.isEOF();){var u=this.char();if(u>=48&&u<=57)s=!0,a=a*10+(u-48),this.bump();else break}var o=P(i,this.clonePosition());return s?(a*=n,qa(a)?{val:a,err:null}:this.error(r,o)):this.error(t,o)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=is(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Nn(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&os(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function Wr(e){return e>=97&&e<=122||e>=65&&e<=90}function tu(e){return Wr(e)||e===47}function ru(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function os(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function nu(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function zr(e){e.forEach(function(t){if(delete t.location,qi(t)||Qi(t))for(var r in t.options)delete t.options[r].location,zr(t.options[r].value);else Wi(t)&&Ki(t.style)||(zi(t)||Zi(t))&&jr(t.style)?delete t.style.location:Ji(t)&&zr(t.children)})}function iu(e,t){t===void 0&&(t={}),t=ur({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new eu(e,t).parse();if(r.err){var n=SyntaxError(N[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||zr(r.val),r.val}var vt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(vt||(vt={}));var yr=function(e){mr(t,e);function t(r,n,i){var s=e.call(this,r)||this;return s.code=n,s.originalMessage=i,s}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Bn=function(e){mr(t,e);function t(r,n,i,s){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),vt.INVALID_VALUE,s)||this}return t}(yr),su=function(e){mr(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),vt.INVALID_VALUE,i)||this}return t}(yr),ou=function(e){mr(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),vt.MISSING_VALUE,n)||this}return t}(yr),te;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(te||(te={}));function au(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==te.literal||r.type!==te.literal?t.push(r):n.value+=r.value,t},[])}function uu(e){return typeof e=="function"}function Kt(e,t,r,n,i,s,a){if(e.length===1&&Mn(e[0]))return[{type:te.literal,value:e[0].value}];for(var u=[],o=0,l=e;o<l.length;o++){var f=l[o];if(Mn(f)){u.push({type:te.literal,value:f.value});continue}if(Ia(f)){typeof s=="number"&&u.push({type:te.literal,value:r.getNumberFormat(t).format(s)});continue}var h=f.value;if(!(i&&h in i))throw new ou(h,a);var d=i[h];if(Oa(f)){(!d||typeof d=="string"||typeof d=="number")&&(d=typeof d=="string"||typeof d=="number"?String(d):""),u.push({type:typeof d=="string"?te.literal:te.object,value:d});continue}if(zi(f)){var c=typeof f.style=="string"?n.date[f.style]:jr(f.style)?f.style.parsedOptions:void 0;u.push({type:te.literal,value:r.getDateTimeFormat(t,c).format(d)});continue}if(Zi(f)){var c=typeof f.style=="string"?n.time[f.style]:jr(f.style)?f.style.parsedOptions:n.time.medium;u.push({type:te.literal,value:r.getDateTimeFormat(t,c).format(d)});continue}if(Wi(f)){var c=typeof f.style=="string"?n.number[f.style]:Ki(f.style)?f.style.parsedOptions:void 0;c&&c.scale&&(d=d*(c.scale||1)),u.push({type:te.literal,value:r.getNumberFormat(t,c).format(d)});continue}if(Ji(f)){var _=f.children,g=f.value,p=i[g];if(!uu(p))throw new su(g,"function",a);var A=Kt(_,t,r,n,i,s),O=p(A.map(function(B){return B.value}));Array.isArray(O)||(O=[O]),u.push.apply(u,O.map(function(B){return{type:typeof B=="string"?te.literal:te.object,value:B}}))}if(qi(f)){var w=f.options[d]||f.options.other;if(!w)throw new Bn(f.value,d,Object.keys(f.options),a);u.push.apply(u,Kt(w.value,t,r,n,i));continue}if(Qi(f)){var w=f.options["=".concat(d)];if(!w){if(!Intl.PluralRules)throw new yr(`Intl.PluralRules is not available in this environment.
2
+ Try polyfilling it using "@formatjs/intl-pluralrules"
3
+ `,vt.MISSING_INTL_API,a);var j=r.getPluralRules(t,{type:f.pluralType}).select(d-(f.offset||0));w=f.options[j]||f.options.other}if(!w)throw new Bn(f.value,d,Object.keys(f.options),a);u.push.apply(u,Kt(w.value,t,r,n,i,d-(f.offset||0)));continue}}return au(u)}function fu(e,t){return t?xe(xe(xe({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=xe(xe({},e[n]),t[n]||{}),r},{})):e}function lu(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=fu(e[n],t[n]),r},xe({},e)):e}function Br(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function hu(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Nr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Ir([void 0],r,!1)))},{cache:Br(e.number),strategy:Pr.variadic}),getDateTimeFormat:Nr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Ir([void 0],r,!1)))},{cache:Br(e.dateTime),strategy:Pr.variadic}),getPluralRules:Nr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Ir([void 0],r,!1)))},{cache:Br(e.pluralRules),strategy:Pr.variadic})}}var cu=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(o){var l=s.formatToParts(o);if(l.length===1)return l[0].value;var f=l.reduce(function(h,d){return!h.length||d.type!==te.literal||typeof h[h.length-1]!="string"?h.push(d.value):h[h.length-1]+=d.value,h},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(o){return Kt(s.ast,s.locales,s.formatters,s.formats,o,void 0,s.message)},this.resolvedOptions=function(){var o;return{locale:((o=s.resolvedLocale)===null||o===void 0?void 0:o.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=i||{};a.formatters;var u=ba(a,["formatters"]);this.ast=e.__parse(t,xe(xe({},u),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=lu(e.formats,n),this.formatters=i&&i.formatters||hu(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=iu,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function du(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const Re={},_u=(e,t,r)=>r&&(t in Re||(Re[t]={}),e in Re[t]||(Re[t][e]=r),r),as=(e,t)=>{if(t==null)return;if(t in Re&&e in Re[t])return Re[t][e];const r=gr(t);for(let n=0;n<r.length;n++){const i=r[n],s=vu(i,e);if(s)return _u(e,t,s)}};let dn;const gt=pr({});function pu(e){return dn[e]||null}function us(e){return e in dn}function vu(e,t){if(!us(e))return null;const r=pu(e);return du(r,t)}function mu(e){if(e==null)return;const t=gr(e);for(let r=0;r<t.length;r++){const n=t[r];if(us(n))return n}}function fs(e,...t){delete Re[e],gt.update(r=>(r[e]=Ea.all([r[e]||{},...t]),r))}yt([gt],([e])=>Object.keys(e));gt.subscribe(e=>dn=e);const er={};function yu(e,t){er[e].delete(t),er[e].size===0&&delete er[e]}function ls(e){return er[e]}function gu(e){return gr(e).map(t=>{const r=ls(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Zr(e){return e==null?!1:gr(e).some(t=>{var r;return(r=ls(t))==null?void 0:r.size})}function Eu(e,t){return Promise.all(t.map(n=>(yu(e,n),n().then(i=>i.default||i)))).then(n=>fs(e,...n))}const xt={};function hs(e){if(!Zr(e))return e in xt?xt[e]:Promise.resolve();const t=gu(e);return xt[e]=Promise.all(t.map(([r,n])=>Eu(r,n))).then(()=>{if(Zr(e))return hs(e);delete xt[e]}),xt[e]}const bu={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},xu={fallbackLocale:null,loadingDelay:200,formats:bu,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Tu=xu;function mt(){return Tu}const Dr=pr(!1);var Su=Object.defineProperty,Au=Object.defineProperties,wu=Object.getOwnPropertyDescriptors,Dn=Object.getOwnPropertySymbols,Mu=Object.prototype.hasOwnProperty,Hu=Object.prototype.propertyIsEnumerable,Rn=(e,t,r)=>t in e?Su(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ou=(e,t)=>{for(var r in t||(t={}))Mu.call(t,r)&&Rn(e,r,t[r]);if(Dn)for(var r of Dn(t))Hu.call(t,r)&&Rn(e,r,t[r]);return e},Iu=(e,t)=>Au(e,wu(t));let qr;const fr=pr(null);function Ln(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function gr(e,t=mt().fallbackLocale){const r=Ln(e);return t?[...new Set([...r,...Ln(t)])]:r}function Ke(){return qr!=null?qr:void 0}fr.subscribe(e=>{qr=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Nu=e=>{if(e&&mu(e)&&Zr(e)){const{loadingDelay:t}=mt();let r;return typeof window!="undefined"&&Ke()!=null&&t?r=window.setTimeout(()=>Dr.set(!0),t):Dr.set(!0),hs(e).then(()=>{fr.set(e)}).finally(()=>{clearTimeout(r),Dr.set(!1)})}return fr.set(e)},Et=Iu(Ou({},fr),{set:Nu}),Er=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Pu=Object.defineProperty,lr=Object.getOwnPropertySymbols,cs=Object.prototype.hasOwnProperty,ds=Object.prototype.propertyIsEnumerable,Un=(e,t,r)=>t in e?Pu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,_n=(e,t)=>{for(var r in t||(t={}))cs.call(t,r)&&Un(e,r,t[r]);if(lr)for(var r of lr(t))ds.call(t,r)&&Un(e,r,t[r]);return e},bt=(e,t)=>{var r={};for(var n in e)cs.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&lr)for(var n of lr(e))t.indexOf(n)<0&&ds.call(e,n)&&(r[n]=e[n]);return r};const Ut=(e,t)=>{const{formats:r}=mt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Cu=Er(e=>{var t=e,{locale:r,format:n}=t,i=bt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=Ut("number",n)),new Intl.NumberFormat(r,i)}),Bu=Er(e=>{var t=e,{locale:r,format:n}=t,i=bt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=Ut("date",n):Object.keys(i).length===0&&(i=Ut("date","short")),new Intl.DateTimeFormat(r,i)}),Du=Er(e=>{var t=e,{locale:r,format:n}=t,i=bt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=Ut("time",n):Object.keys(i).length===0&&(i=Ut("time","short")),new Intl.DateTimeFormat(r,i)}),Ru=(e={})=>{var t=e,{locale:r=Ke()}=t,n=bt(t,["locale"]);return Cu(_n({locale:r},n))},Lu=(e={})=>{var t=e,{locale:r=Ke()}=t,n=bt(t,["locale"]);return Bu(_n({locale:r},n))},Uu=(e={})=>{var t=e,{locale:r=Ke()}=t,n=bt(t,["locale"]);return Du(_n({locale:r},n))},Fu=Er((e,t=Ke())=>new cu(e,t,mt().formats,{ignoreTag:mt().ignoreTag})),Gu=(e,t={})=>{var r,n,i,s;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:u,locale:o=Ke(),default:l}=a;if(o==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=as(e,o);if(!f)f=(s=(i=(n=(r=mt()).handleMissingMessage)==null?void 0:n.call(r,{locale:o,id:e,defaultValue:l}))!=null?i:l)!=null?s:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!u)return f;let h=f;try{h=Fu(f,o).format(u)}catch(d){d instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,d.message)}return h},$u=(e,t)=>Uu(t).format(e),ku=(e,t)=>Lu(t).format(e),ju=(e,t)=>Ru(t).format(e),Yu=(e,t=Ke())=>as(e,t),_s=yt([Et,gt],()=>Gu);yt([Et],()=>$u);yt([Et],()=>ku);yt([Et],()=>ju);yt([Et,gt],()=>Yu);var ps={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(cn,function(){var r=1e3,n=6e4,i=36e5,s="millisecond",a="second",u="minute",o="hour",l="day",f="week",h="month",d="quarter",c="year",_="date",g="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,A=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,O={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(b){var m=["th","st","nd","rd"],v=b%100;return"["+b+(m[(v-20)%10]||m[v]||m[0])+"]"}},w=function(b,m,v){var E=String(b);return!E||E.length>=m?b:""+Array(m+1-E.length).join(v)+b},j={s:w,z:function(b){var m=-b.utcOffset(),v=Math.abs(m),E=Math.floor(v/60),y=v%60;return(m<=0?"+":"-")+w(E,2,"0")+":"+w(y,2,"0")},m:function b(m,v){if(m.date()<v.date())return-b(v,m);var E=12*(v.year()-m.year())+(v.month()-m.month()),y=m.clone().add(E,h),x=v-y<0,T=m.clone().add(E+(x?-1:1),h);return+(-(E+(v-y)/(x?y-T:T-y))||0)},a:function(b){return b<0?Math.ceil(b)||0:Math.floor(b)},p:function(b){return{M:h,y:c,w:f,d:l,D:_,h:o,m:u,s:a,ms:s,Q:d}[b]||String(b||"").toLowerCase().replace(/s$/,"")},u:function(b){return b===void 0}},B="en",$={};$[B]=O;var J="$isDayjsObject",K=function(b){return b instanceof X||!(!b||!b[J])},z=function b(m,v,E){var y;if(!m)return B;if(typeof m=="string"){var x=m.toLowerCase();$[x]&&(y=x),v&&($[x]=v,y=x);var T=m.split("-");if(!y&&T.length>1)return b(T[0])}else{var H=m.name;$[H]=m,y=H}return!E&&y&&(B=y),y||!E&&B},C=function(b,m){if(K(b))return b.clone();var v=typeof m=="object"?m:{};return v.date=b,v.args=arguments,new X(v)},M=j;M.l=z,M.i=K,M.w=function(b,m){return C(b,{locale:m.$L,utc:m.$u,x:m.$x,$offset:m.$offset})};var X=function(){function b(v){this.$L=z(v.locale,null,!0),this.parse(v),this.$x=this.$x||v.x||{},this[J]=!0}var m=b.prototype;return m.parse=function(v){this.$d=function(E){var y=E.date,x=E.utc;if(y===null)return new Date(NaN);if(M.u(y))return new Date;if(y instanceof Date)return new Date(y);if(typeof y=="string"&&!/Z$/i.test(y)){var T=y.match(p);if(T){var H=T[2]-1||0,D=(T[7]||"0").substring(0,3);return x?new Date(Date.UTC(T[1],H,T[3]||1,T[4]||0,T[5]||0,T[6]||0,D)):new Date(T[1],H,T[3]||1,T[4]||0,T[5]||0,T[6]||0,D)}}return new Date(y)}(v),this.init()},m.init=function(){var v=this.$d;this.$y=v.getFullYear(),this.$M=v.getMonth(),this.$D=v.getDate(),this.$W=v.getDay(),this.$H=v.getHours(),this.$m=v.getMinutes(),this.$s=v.getSeconds(),this.$ms=v.getMilliseconds()},m.$utils=function(){return M},m.isValid=function(){return this.$d.toString()!==g},m.isSame=function(v,E){var y=C(v);return this.startOf(E)<=y&&y<=this.endOf(E)},m.isAfter=function(v,E){return C(v)<this.startOf(E)},m.isBefore=function(v,E){return this.endOf(E)<C(v)},m.$g=function(v,E,y){return M.u(v)?this[E]:this.set(y,v)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(v,E){var y=this,x=!!M.u(E)||E,T=M.p(v),H=function(ge,q){var fe=M.w(y.$u?Date.UTC(y.$y,q,ge):new Date(y.$y,q,ge),y);return x?fe:fe.endOf(l)},D=function(ge,q){return M.w(y.toDate()[ge].apply(y.toDate("s"),(x?[0,0,0,0]:[23,59,59,999]).slice(q)),y)},F=this.$W,W=this.$M,ne=this.$D,Ce="set"+(this.$u?"UTC":"");switch(T){case c:return x?H(1,0):H(31,11);case h:return x?H(1,W):H(0,W+1);case f:var Se=this.$locale().weekStart||0,$e=(F<Se?F+7:F)-Se;return H(x?ne-$e:ne+(6-$e),W);case l:case _:return D(Ce+"Hours",0);case o:return D(Ce+"Minutes",1);case u:return D(Ce+"Seconds",2);case a:return D(Ce+"Milliseconds",3);default:return this.clone()}},m.endOf=function(v){return this.startOf(v,!1)},m.$set=function(v,E){var y,x=M.p(v),T="set"+(this.$u?"UTC":""),H=(y={},y[l]=T+"Date",y[_]=T+"Date",y[h]=T+"Month",y[c]=T+"FullYear",y[o]=T+"Hours",y[u]=T+"Minutes",y[a]=T+"Seconds",y[s]=T+"Milliseconds",y)[x],D=x===l?this.$D+(E-this.$W):E;if(x===h||x===c){var F=this.clone().set(_,1);F.$d[H](D),F.init(),this.$d=F.set(_,Math.min(this.$D,F.daysInMonth())).$d}else H&&this.$d[H](D);return this.init(),this},m.set=function(v,E){return this.clone().$set(v,E)},m.get=function(v){return this[M.p(v)]()},m.add=function(v,E){var y,x=this;v=Number(v);var T=M.p(E),H=function(W){var ne=C(x);return M.w(ne.date(ne.date()+Math.round(W*v)),x)};if(T===h)return this.set(h,this.$M+v);if(T===c)return this.set(c,this.$y+v);if(T===l)return H(1);if(T===f)return H(7);var D=(y={},y[u]=n,y[o]=i,y[a]=r,y)[T]||1,F=this.$d.getTime()+v*D;return M.w(F,this)},m.subtract=function(v,E){return this.add(-1*v,E)},m.format=function(v){var E=this,y=this.$locale();if(!this.isValid())return y.invalidDate||g;var x=v||"YYYY-MM-DDTHH:mm:ssZ",T=M.z(this),H=this.$H,D=this.$m,F=this.$M,W=y.weekdays,ne=y.months,Ce=y.meridiem,Se=function(q,fe,Ae,Be){return q&&(q[fe]||q(E,x))||Ae[fe].slice(0,Be)},$e=function(q){return M.s(H%12||12,q,"0")},ge=Ce||function(q,fe,Ae){var Be=q<12?"AM":"PM";return Ae?Be.toLowerCase():Be};return x.replace(A,function(q,fe){return fe||function(Ae){switch(Ae){case"YY":return String(E.$y).slice(-2);case"YYYY":return M.s(E.$y,4,"0");case"M":return F+1;case"MM":return M.s(F+1,2,"0");case"MMM":return Se(y.monthsShort,F,ne,3);case"MMMM":return Se(ne,F);case"D":return E.$D;case"DD":return M.s(E.$D,2,"0");case"d":return String(E.$W);case"dd":return Se(y.weekdaysMin,E.$W,W,2);case"ddd":return Se(y.weekdaysShort,E.$W,W,3);case"dddd":return W[E.$W];case"H":return String(H);case"HH":return M.s(H,2,"0");case"h":return $e(1);case"hh":return $e(2);case"a":return ge(H,D,!0);case"A":return ge(H,D,!1);case"m":return String(D);case"mm":return M.s(D,2,"0");case"s":return String(E.$s);case"ss":return M.s(E.$s,2,"0");case"SSS":return M.s(E.$ms,3,"0");case"Z":return T}return null}(q)||T.replace(":","")})},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(v,E,y){var x,T=this,H=M.p(E),D=C(v),F=(D.utcOffset()-this.utcOffset())*n,W=this-D,ne=function(){return M.m(T,D)};switch(H){case c:x=ne()/12;break;case h:x=ne();break;case d:x=ne()/3;break;case f:x=(W-F)/6048e5;break;case l:x=(W-F)/864e5;break;case o:x=W/i;break;case u:x=W/n;break;case a:x=W/r;break;default:x=W}return y?x:M.a(x)},m.daysInMonth=function(){return this.endOf(h).$D},m.$locale=function(){return $[this.$L]},m.locale=function(v,E){if(!v)return this.$L;var y=this.clone(),x=z(v,E,!0);return x&&(y.$L=x),y},m.clone=function(){return M.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},b}(),Z=X.prototype;return C.prototype=Z,[["$ms",s],["$s",a],["$m",u],["$H",o],["$W",l],["$M",h],["$y",c],["$D",_]].forEach(function(b){Z[b[1]]=function(m){return this.$g(m,b[0],b[1])}}),C.extend=function(b,m){return b.$i||(b(m,X,C),b.$i=!0),C},C.locale=z,C.isDayjs=K,C.unix=function(b){return C(1e3*b)},C.en=$[B],C.Ls=$,C.p={},C})})(ps);var Vu=ps.exports;const br=vr(Vu);var vs={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(cn,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,s=/\d\d/,a=/\d\d?/,u=/\d*[^-_:/,()\s\d]+/,o={},l=function(p){return(p=+p)+(p>68?1900:2e3)},f=function(p){return function(A){this[p]=+A}},h=[/[+-]\d\d:?(\d\d)?|Z/,function(p){(this.zone||(this.zone={})).offset=function(A){if(!A||A==="Z")return 0;var O=A.match(/([+-]|\d\d)/g),w=60*O[1]+(+O[2]||0);return w===0?0:O[0]==="+"?-w:w}(p)}],d=function(p){var A=o[p];return A&&(A.indexOf?A:A.s.concat(A.f))},c=function(p,A){var O,w=o.meridiem;if(w){for(var j=1;j<=24;j+=1)if(p.indexOf(w(j,0,A))>-1){O=j>12;break}}else O=p===(A?"pm":"PM");return O},_={A:[u,function(p){this.afternoon=c(p,!1)}],a:[u,function(p){this.afternoon=c(p,!0)}],Q:[i,function(p){this.month=3*(p-1)+1}],S:[i,function(p){this.milliseconds=100*+p}],SS:[s,function(p){this.milliseconds=10*+p}],SSS:[/\d{3}/,function(p){this.milliseconds=+p}],s:[a,f("seconds")],ss:[a,f("seconds")],m:[a,f("minutes")],mm:[a,f("minutes")],H:[a,f("hours")],h:[a,f("hours")],HH:[a,f("hours")],hh:[a,f("hours")],D:[a,f("day")],DD:[s,f("day")],Do:[u,function(p){var A=o.ordinal,O=p.match(/\d+/);if(this.day=O[0],A)for(var w=1;w<=31;w+=1)A(w).replace(/\[|\]/g,"")===p&&(this.day=w)}],w:[a,f("week")],ww:[s,f("week")],M:[a,f("month")],MM:[s,f("month")],MMM:[u,function(p){var A=d("months"),O=(d("monthsShort")||A.map(function(w){return w.slice(0,3)})).indexOf(p)+1;if(O<1)throw new Error;this.month=O%12||O}],MMMM:[u,function(p){var A=d("months").indexOf(p)+1;if(A<1)throw new Error;this.month=A%12||A}],Y:[/[+-]?\d+/,f("year")],YY:[s,function(p){this.year=l(p)}],YYYY:[/\d{4}/,f("year")],Z:h,ZZ:h};function g(p){var A,O;A=p,O=o&&o.formats;for(var w=(p=A.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(C,M,X){var Z=X&&X.toUpperCase();return M||O[X]||r[X]||O[Z].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(b,m,v){return m||v.slice(1)})})).match(n),j=w.length,B=0;B<j;B+=1){var $=w[B],J=_[$],K=J&&J[0],z=J&&J[1];w[B]=z?{regex:K,parser:z}:$.replace(/^\[|\]$/g,"")}return function(C){for(var M={},X=0,Z=0;X<j;X+=1){var b=w[X];if(typeof b=="string")Z+=b.length;else{var m=b.regex,v=b.parser,E=C.slice(Z),y=m.exec(E)[0];v.call(M,y),C=C.replace(y,"")}}return function(x){var T=x.afternoon;if(T!==void 0){var H=x.hours;T?H<12&&(x.hours+=12):H===12&&(x.hours=0),delete x.afternoon}}(M),M}}return function(p,A,O){O.p.customParseFormat=!0,p&&p.parseTwoDigitYear&&(l=p.parseTwoDigitYear);var w=A.prototype,j=w.parse;w.parse=function(B){var $=B.date,J=B.utc,K=B.args;this.$u=J;var z=K[1];if(typeof z=="string"){var C=K[2]===!0,M=K[3]===!0,X=C||M,Z=K[2];M&&(Z=K[2]),o=this.$locale(),!C&&Z&&(o=O.Ls[Z]),this.$d=function(E,y,x,T){try{if(["x","X"].indexOf(y)>-1)return new Date((y==="X"?1e3:1)*E);var H=g(y)(E),D=H.year,F=H.month,W=H.day,ne=H.hours,Ce=H.minutes,Se=H.seconds,$e=H.milliseconds,ge=H.zone,q=H.week,fe=new Date,Ae=W||(D||F?1:fe.getDate()),Be=D||fe.getFullYear(),Wt=0;D&&!F||(Wt=F>0?F-1:fe.getMonth());var zt,xr=ne||0,Tr=Ce||0,Sr=Se||0,Ar=$e||0;return ge?new Date(Date.UTC(Be,Wt,Ae,xr,Tr,Sr,Ar+60*ge.offset*1e3)):x?new Date(Date.UTC(Be,Wt,Ae,xr,Tr,Sr,Ar)):(zt=new Date(Be,Wt,Ae,xr,Tr,Sr,Ar),q&&(zt=T(zt).week(q).toDate()),zt)}catch(lf){return new Date("")}}($,z,J,O),this.init(),Z&&Z!==!0&&(this.$L=this.locale(Z).$L),X&&$!=this.format(z)&&(this.$d=new Date("")),o={}}else if(z instanceof Array)for(var b=z.length,m=1;m<=b;m+=1){K[1]=z[m-1];var v=O.apply(this,K);if(v.isValid()){this.$d=v.$d,this.$L=v.$L,this.init();break}m===b&&(this.$d=new Date(""))}else j.call(this,B)}}})})(vs);var Xu=vs.exports;const Wu=vr(Xu);br.extend(Wu);const Qr=e=>br(e).format("MMMM D, HH:mm"),zu=()=>typeof window=="undefined",Zu=e=>{const t=br(e);return{date:t.format("MMM D, YYYY"),time:t.format("HH:mm:ss")}},qu=(e,t)=>{var u,o,l,f,h,d,c,_,g,p,A,O,w,j,B,$,J,K,z,C,M,X,Z,b,m;if(!e)return{};const r=(u=e==null?void 0:e.program)!=null?u:{},n=(o=r==null?void 0:r.wheelOfFortune)!=null?o:{},i=(l=r==null?void 0:r.trigger)!=null?l:{},s=(f=e==null?void 0:e.current)!=null?f:{},a=(h=e==null?void 0:e.next)!=null?h:{};return{id:(d=r==null?void 0:r.id)!=null?d:null,name:(p=(g=(c=r==null?void 0:r.name)==null?void 0:c[t])!=null?g:(_=r==null?void 0:r.name)==null?void 0:_["*"])!=null?p:null,type:(A=r==null?void 0:r.type)!=null?A:null,status:(O=r==null?void 0:r.status)!=null?O:null,startTime:(w=i==null?void 0:i.startTime)!=null?w:null,endTime:(j=i==null?void 0:i.endTime)!=null?j:null,periods:(B=i==null?void 0:i.periods)!=null?B:[],partitions:($=n==null?void 0:n.partitions)!=null?$:[],descriptions:(C=(z=(J=r==null?void 0:r.description)==null?void 0:J[t])!=null?z:(K=r==null?void 0:r.description)==null?void 0:K["*"])!=null?C:null,termsUrl:(b=(Z=(M=r==null?void 0:r.termsUrl)==null?void 0:M[t])!=null?Z:(X=r==null?void 0:r.termsUrl)==null?void 0:X["*"])!=null?b:null,current:s,next:a,remainingTimes:(m=s==null?void 0:s.remainingTimes)!=null?m:0}},ms=(e,t,r)=>{e/=255,t/=255,r/=255;const n=Math.max(e,t,r),i=Math.min(e,t,r),s=(n+i)/2;if(n===i)return[0,0,Math.round(s*100)];const a=n-i,u=s>.5?a/(2-n-i):a/(n+i);let o=0;return n===e?o=((t-r)/a+(t<r?6:0))/6:n===t?o=((r-e)/a+2)/6:o=((e-t)/a+4)/6,[Math.round(o*360),Math.round(u*100),Math.round(s*100)]},Jr=(e,t,r)=>{t/=100,r/=100;const n=t*Math.min(r,1-r),i=s=>{const a=(s+e/30)%12;return Math.round(255*(r-n*Math.max(Math.min(a-3,9-a,1),-1))).toString(16).padStart(2,"0")};return`#${i(0)}${i(8)}${i(4)}`},Qu=e=>{const t=document.createElement("canvas");t.width=e.naturalWidth,t.height=e.naturalHeight;const r=t.getContext("2d");r.drawImage(e,0,0);const{data:n}=r.getImageData(0,0,t.width,t.height),i=36,s=Array.from({length:i},()=>({count:0,totalH:0,totalS:0,totalL:0}));for(let o=0;o<n.length;o+=16){const[l,f,h,d]=[n[o],n[o+1],n[o+2],n[o+3]];if(d<128)continue;const[c,_,g]=ms(l,f,h);if(_<30||g<15||g>85)continue;const p=Math.floor(c/360*i)%i;s[p].count++,s[p].totalH+=c,s[p].totalS+=_,s[p].totalL+=g}const a=s.map((o,l)=>yn(mn({},o),{i:l})).filter(o=>o.count>20).sort((o,l)=>l.count-o.count),u=[];for(const o of a)if(u.some(f=>{const h=Math.abs(f.i-o.i);return Math.min(h,i-h)<3})||u.push(o),u.length===2)break;return u.map(o=>{const l=o.totalH/o.count,f=Math.min(100,o.totalS/o.count*1.15),h=Math.max(32,Math.min(52,o.totalL/o.count));return Jr(l,f,h)})},Ju=e=>{const t=parseInt(e.slice(1,3),16),r=parseInt(e.slice(3,5),16),n=parseInt(e.slice(5,7),16),[i,s,a]=ms(t,r,n),u=Jr(i,Math.min(100,s*1.08),Math.min(78,a*1.32)),o=Jr(i,s,Math.max(14,a*.58));return[u,e,o]},Mt=(e,t)=>{const r=(t-90)*Math.PI/180;return{x:e*Math.cos(r),y:e*Math.sin(r)}},Ku=(e,t,r=.96,n=.225)=>{const i=Mt(r,e),s=Mt(r,t),a=Mt(n,t),u=Mt(n,e),o=t-e>180?1:0;return`M ${i.x} ${i.y} A ${r} ${r} 0 ${o} 1 ${s.x} ${s.y} L ${a.x} ${a.y} A ${n} ${n} 0 ${o} 0 ${u.x} ${u.y} Z`},ef=e=>{var r,n,i;const t=e==null?void 0:e.name;return!t||typeof t!="object"?"":(i=(n=(r=t["*"])!=null?r:t.en)!=null?n:Object.values(t)[0])!=null?i:""},tf=e=>{var n,i,s;const t=e==null?void 0:e.image1;if(!t||typeof t!="object")return"";const r=(s=(i=(n=t["*"])!=null?n:t.en)!=null?i:Object.values(t)[0])!=null?s:"";return r.startsWith("//")?`https:${r}`:r},rf=()=>typeof crypto!="undefined"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():nf(),nf=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=Math.random()*16|0,r=e=="x"?t:t&3|8;return r.toString(16)}),sf=(e,t)=>{var s,a,u,o,l,f,h,d,c,_,g;const r=t==="draw"?e==null?void 0:e.item:(s=e==null?void 0:e.draw)!=null?s:{},n=(a=r==null?void 0:r.result)!=null?a:{},i=(o=(u=n==null?void 0:n.outcomes)==null?void 0:u[0])!=null?o:{};return{state:(l=r==null?void 0:r.state)!=null?l:null,wheelOfFortunePartitionIndex:(f=n==null?void 0:n.wheelOfFortunePartitionIndex)!=null?f:null,type:(d=(h=i==null?void 0:i.action)==null?void 0:h.type)!=null?d:null,completed:(i==null?void 0:i.completed)==="true",time:(c=r==null?void 0:r.time)!=null?c:null,id:(_=r==null?void 0:r.id)!=null?_:null,lotteryProgramID:(g=r==null?void 0:r.lotteryProgramID)!=null?g:null,success:e==null?void 0:e.success}},of=["days.sunday","days.monday","days.tuesday","days.wednesday","days.thursday","days.friday","days.saturday"],af=e=>{const t=ji(_s);if(!e)return"";const{recurrenceType:r,frequency:n,dayFrom:i,dayTo:s,maxImplicitTickets:a,startTime:u,endTime:o}=e,l=r==null?void 0:r.toLowerCase(),f=a||0,h=`${Qr(u)} ~ ${Qr(o)}`,d=i!==0||s!==0,c=_=>{var g;return t((g=of[_])!=null?g:"")};switch(l){case"minute":case"day":return t(`recurrence.${l}`,{values:{count:f,freq:n,range:h}});case"week":return d?i===s?t("recurrence.week.single",{values:{count:f,dayName:c(i),range:h}}):t("recurrence.week.range",{values:{count:f,dayFromName:c(i),dayToName:c(s),range:h}}):t("recurrence.week.default",{values:{count:f,freq:n,range:h}});case"month":return d?i===s?t("recurrence.month.single",{values:{count:f,day:i,range:h}}):t("recurrence.month.range",{values:{count:f,dayFrom:i,dayTo:s,range:h}}):t("recurrence.month.default",{values:{count:f,freq:n,range:h}});case"single":default:return t("recurrence.single",{values:{count:f,range:h}})}},Tt=(e,t)=>e+Math.random()*(t-e),uf=Array.from({length:Ts.SPARK_COUNT},()=>({blue:Math.random()<.5,left:Tt(0,100),size:Tt(2,5),duration:Tt(5,11),delay:Tt(0,8),drift:Math.round(Tt(-30,30))})),Rr=e=>String(e).padStart(2,"0"),ff=e=>{const t=Math.max(0,Math.floor((new Date(e!=null?e:"").getTime()-Date.now())/1e3))||0;return{days:Math.floor(t/86400),hours:Rr(Math.floor(t%86400/3600)),minutes:Rr(Math.floor(t%3600/60)),seconds:Rr(t%60)}};exports.$dictionary=gt;exports.$format=_s;exports.$locale=Et;exports.ATTRIBUTES_CACHE=Kn;exports.BOUNDARY_EFFECT=qn;exports.BRANCH_EFFECT=me;exports.Batch=Ge;exports.CLASS_CACHE=ei;exports.COMMENT_NODE=rn;exports.DESTROYED=re;exports.DESTROYING=tr;exports.EACH_INDEX_REACTIVE=As;exports.EACH_IS_ANIMATED=Ms;exports.EACH_IS_CONTROLLED=ws;exports.EACH_ITEM_IMMUTABLE=Hs;exports.EACH_ITEM_REACTIVE=Ss;exports.EFFECT_OFFSCREEN=Ys;exports.EFFECT_PRESERVED=Je;exports.EFFECT_TRANSPARENT=Pt;exports.HYDRATION_END=kn;exports.HYDRATION_ERROR=Gt;exports.HYDRATION_START=Gn;exports.HYDRATION_START_ELSE=$n;exports.HYDRATION_START_FAILED=Ds;exports.INERT=ue;exports.IS_XHTML=Ws;exports.LEGACY_PROPS=Vs;exports.LOADING_ATTR_SYMBOL=Xs;exports.NAMESPACE_HTML=jn;exports.NAMESPACE_MATHML=Ls;exports.NAMESPACE_SVG=Rs;exports.PROPS_IS_BINDABLE=Ns;exports.PROPS_IS_IMMUTABLE=Os;exports.PROPS_IS_LAZY_INITIAL=Ps;exports.PROPS_IS_UPDATED=Is;exports.REACTION_RAN=Qe;exports.SPARKS=uf;exports.STATE_SYMBOL=qt;exports.STYLE_CACHE=ti;exports.TEMPLATE_FRAGMENT=Cs;exports.TEMPLATE_USE_IMPORT_NODE=Bs;exports.TEXT_CACHE=ri;exports.TEXT_NODE=jt;exports.addMessages=fs;exports.annularWedgePath=Ku;exports.array_from=Fs;exports.block=Qo;exports.branch=Jo;exports.buildSliceGradientStops=Ju;exports.child=Ai;exports.clear_text_content=Fo;exports.commonjsGlobal=cn;exports.component_root=Wo;exports.createSubscriber=ia;exports.create_element=$o;exports.create_text=Bt;exports.dayjs=br;exports.defer_effect=li;exports.define_property=Vn;exports.derived=dr;exports.derived_safe_equal=wo;exports.destroy_effect=Ie;exports.each_key_duplicate=no;exports.effect=zo;exports.effect_root=Xo;exports.extractColorsFromCanvas=Qu;exports.first_child=Ro;exports.flushSync=No;exports.formatDateTimeForHistory=Zu;exports.generateUUID=rf;exports.get=Xe;exports.get$1=ji;exports.getDefaultExportFromCjs=vr;exports.getFormattedDate=Qr;exports.getRecurrenceText=af;exports.getSliceName=ef;exports.getTimeRemaining=ff;exports.getWheelSliceImage=tf;exports.get_descriptor=it;exports.get_descriptors=$s;exports.get_first_child=Dt;exports.get_next_sibling=Pe;exports.get_prototype_of=en;exports.hydrate_next=Qs;exports.hydration_failed=uo;exports.hydration_mismatch=cr;exports.init_operations=Do;exports.internal_set=ar;exports.invoke_error_boundary=ct;exports.isServer=zu;exports.is_array=Kr;exports.lifecycle_outside_component=to;exports.mark_as_component=ai;exports.merge_text_nodes=_r;exports.move_effect=ta;exports.mutable_source=Co;exports.next=Js;exports.noop=Le;exports.normalizeDrawResult=sf;exports.normalizeProgram=qu;exports.object_keys=Gs;exports.only_child=Lo;exports.pause_effect=Ci;exports.polarToCartesian=Mt;exports.pop=go;exports.props_invalid_value=fo;exports.proxy=nt;exports.push=yo;exports.queue_micro_task=ir;exports.read_hydration_instruction=eo;exports.remove_effect_dom=Ni;exports.render_effect=Oi;exports.reset=ni;exports.resume_effect=ea;exports.set=De;exports.set_active_effect=qe;exports.set_active_reaction=Ne;exports.set_component_context=Ct;exports.set_hydrate_node=Ze;exports.set_hydrating=qs;exports.should_defer_append=Go;exports.sibling=Uo;exports.skip_nodes=Ks;exports.snapshot=mo;exports.source=Vt;exports.state=we;exports.subscribe_to_store=hn;exports.svelte_boundary_reset_noop=Zs;exports.svelte_boundary_reset_onerror=_o;exports.teardown=Mi;exports.template_effect=qo;exports.untrack=ln;exports.user_derived=Ao;exports.user_effect=Yo;exports.user_pre_effect=Vo;exports.without_reactive_context=Yt;
@@ -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/MiniGamesHub-SxucWl3S.cjs")).then(({default:t})=>{!customElements.get("mini-games-hub")&&customElements.define("mini-games-hub",t.element)})}
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/MiniGamesHub-DzY6bqFU.cjs")).then(({default:t})=>{!customElements.get("mini-games-hub")&&customElements.define("mini-games-hub",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/MiniGamesHub-Bf2Cd1bB.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/MiniGamesHub-BPYHmhQ0.js").then(({ default: t }) => {
14
14
  !customElements.get("mini-games-hub") && customElements.define("mini-games-hub", t.element);
15
15
  });
16
16
  }
@@ -1 +1 @@
1
- "use strict";const s=require("../components/MiniGamesHub-5tuj6CDm.cjs");function i(t){return function(...n){try{return t.apply(this,n)}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=i(customElements.define);!customElements.get("mini-games-hub")&&customElements.define("mini-games-hub",s.MiniGamesHub_ce.element);
1
+ "use strict";const s=require("../components/MiniGamesHub-rHaCMzIp.cjs");function i(t){return function(...n){try{return t.apply(this,n)}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=i(customElements.define);!customElements.get("mini-games-hub")&&customElements.define("mini-games-hub",s.MiniGamesHub_ce.element);
@@ -1,4 +1,4 @@
1
- import { M as s } from "../components/MiniGamesHub-KqAdBJEX.js";
1
+ import { M as s } from "../components/MiniGamesHub-CJjxsGLO.js";
2
2
  function i(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/mini-games-hub",
3
- "version": "0.2.8",
3
+ "version": "0.2.10",
4
4
  "type": "module",
5
5
  "main": "./esnext/mini-games-hub.cjs",
6
6
  "module": "./esnext/mini-games-hub.js",
@@ -1,16 +0,0 @@
1
- "use strict";const r=require("./WheelOfFortuneWheel-CrRAYCB1.cjs"),e=require("./utils-DyVEmMSf.cjs"),G=require("./WheelOfFortune-CDTzbAjp.cjs"),pe=require("./CoinRoyale-Bkr3Rd-u.cjs"),ge=require("./GameCard-BiO9Cay-.cjs"),L={en:{noContent:"You don't have any lottery programs available now.",hubTitle:"Prize Hub",hubSubtitle:"Check your available chances",history:"History",play:"Play",rules:"Rules",noHistory:"No prize history available.",previous:"Previous",next:"Next",name:"Name",date:"Date",time:"Time",spin:"Spin",assigned:"Assigned",prizeBonus:"Bonus",prizeRole:"Status Update",prizeTournament:"Tournament Entry Ticket",prizeTicket:"Mini Game Chance",prizeLoyalty:"Loyalty Points",prizeChallenge:"Challenge",prizeCustom:"Custom Prize",congratulations:"Congratulations!",success:"{form, select, singular {You won a <span>{prize}</span>!} other {You won <span>{prize}</span>!}}",noPrizeTitle:"Not This Time!",noPrize:"Don't Worry! Your turn might come next. Try Again!",noWin:"No Win",prizeAssignedTitle:"Success!",prizeAssigned:"Your prize has been assigned!",drawFailedTitle:"Contact Support",drawFailed:"The prize assignment was not successful, please contact customer support for more details.",errorJSON:"Unexpected Data Response, please contact customer support",areYouSure:"Are you sure?",rejectWarningText:"Once rejected, this prize will be lost<br/>and cannot be recovered.<br/>Please confirm your decision",keepPrize:"No, I want to keep prize",rejectPrize:"Yes, I reject prize",spinAgain:"Spin again",claimReward:"Claim Reward",reject:"Reject",backToGame:"Back to Game",backToHub:"Back to Hub",login:"Login",spinWheel:"Spin Wheel",rulesDescription:"Lucky Wheel is a particularly interesting game, will bring you a lot of surprises; When you obtain the Lucky Wheel, means you got a chance to spin the Lucky Wheel, and if you are lucky, you can get the surprise prize.",terms:"Terms&Conditions",availablePeriod:"Available Period:",recurrenceLabel:"Recurrence:",topRewards:"Top Rewards:",remainingSpins:"Remaining Spins:",playNow:"Play Now",gameCardWheelSpins:"Wheel <br/> Spins",swipeHint:"Swipe the wheel",loginTitle:"Sign in to Play",loginDescription:"A valid session is required to spin the wheel and claim your prizes.",nextAvailable:"Your next chance will be available in",countdown:"{days, plural, =0 {} other {# Days - }}{hours} : {minutes} : {seconds}",timeoutTitle:"Connection Timeout",timeoutDescription:"The request took too long. Please try again.",close:"Close",wofTitle:"Wheel Spin",wofSubtitle:"Complete Mini Games and Win Rewards",days:{sunday:"Sunday",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday"},recurrence:{single:"{count, plural, one {# Spin} other {# Spins}} in this period - {range}",minute:"{count, plural, one {# Spin} other {# Spins}} every {freq, plural, one {minute} other {# minutes}} - {range}",day:"{count, plural, one {# Spin} other {# Spins}} every {freq, plural, one {day} other {# days}} - {range}",week:{default:"{count, plural, one {# Spin} other {# Spins}} every {freq, plural, one {week} other {# weeks}} - {range}",single:"{count, plural, one {# Spin} other {# Spins}} every {dayName} - {range}",range:"{count, plural, one {# Spin} other {# Spins}} from {dayFromName} to {dayToName} every week - {range}"},month:{default:"{count, plural, one {# Spin} other {# Spins}} every {freq, plural, one {month} other {# months}} - {range}",single:"{count, plural, one {# Spin} other {# Spins}} every {day, selectordinal, one {#st} two {#nd} few {#rd} other {#th}} each month - {range}",range:"{count, plural, one {# Spin} other {# Spins}} from {dayFrom, selectordinal, one {#st} two {#nd} few {#rd} other {#th}} to {dayTo, selectordinal, one {#st} two {#nd} few {#rd} other {#th}} each month - {range}"}},coinTitle:"Coin Royale",remainingFlips:"Remaining Flips :",flipCoin:"Flip Coin",dragToFlip:"Drag to flip",gameCardCoinFlips:"Coin <br/> Flips"},da:{noContent:"Du har ingen lotteriprogrammer tilgængelige lige nu.",hubTitle:"Præmiehub",hubSubtitle:"Tjek dine tilgængelige chancer",history:"Historik",play:"Spil",rules:"Regler",noHistory:"Ingen præmiehistorik tilgængelig.",previous:"Forrige",next:"Næste",name:"Navn",date:"Dato",time:"Tid",spin:"Spin",assigned:"Tildelt",prizeBonus:"Bonus",prizeRole:"Statusopdatering",prizeTournament:"Turneringsadgangsbillet",prizeTicket:"Mini-spilchance",prizeLoyalty:"Loyalitetspoint",prizeChallenge:"Udfordring",prizeCustom:"Specialpræmie",congratulations:"Tillykke!",success:"{form, select, singular {Du vandt en <span>{prize}</span>!} other {Du vandt <span>{prize}</span>!}}",noPrizeTitle:"Ikke Denne Gang!",noPrize:"Bare rolig! Din tur kommer måske næste gang. Prøv igen!",noWin:"Ingen Gevinst",prizeAssignedTitle:"Succes!",prizeAssigned:"Din præmie er blevet tildelt!",drawFailedTitle:"Kontakt Support",drawFailed:"Tildelingen af præmien kan være mislykkedes, kontakt venligst kundeservice for flere detaljer",errorJSON:"Uventet datasvar, kontakt venligst kundeservice",areYouSure:"Er du sikker?",rejectWarningText:"Når den er afvist, går denne præmie tabt<br/>og kan ikke genoprettes.<br/>Bekræft venligst din beslutning",keepPrize:"Nej, jeg vil beholde præmien",rejectPrize:"Ja, jeg afviser præmien",spinAgain:"Spin igen",claimReward:"Indløs Belønning",reject:"Afvis",backToGame:"Tilbage til Spillet",backToHub:"Tilbage til Hub",login:"Log ind",spinWheel:"Drej Hjulet",rulesDescription:"Lykkehjulet er et særligt spændende spil, der vil give dig mange overraskelser; Når du får et lykkehjul, betyder det, at du har fået en chance for at dreje lykkehjulet, og hvis du er heldig, kan du vinde overraskelsespræmien.",terms:"Vilkår&Betingelser",availablePeriod:"Tilgængelig Periode:",recurrenceLabel:"Gentagelse:",topRewards:"Top Belønninger:",remainingSpins:"Resterende Spins:",playNow:"Spil Nu",gameCardWheelSpins:"Hjul <br/> Spins",swipeHint:"Swip hjulet",loginTitle:"Log ind for at spille",loginDescription:"En gyldig session er påkrævet for at dreje hjulet og indløse dine præmier.",nextAvailable:"Din næste chance vil være tilgængelig om",countdown:"{days, plural, =0 {} other {# Dage - }}{hours} : {minutes} : {seconds}",timeoutTitle:"Forbindelses-timeout",timeoutDescription:"Anmodningen tog for lang tid. Prøv igen.",close:"Luk",wofTitle:"Hjul Spin",wofSubtitle:"Gennemfør Minispil og Vind Belønninger",days:{sunday:"Søndag",monday:"Mandag",tuesday:"Tirsdag",wednesday:"Onsdag",thursday:"Torsdag",friday:"Fredag",saturday:"Lørdag"},recurrence:{single:"{count, plural, one {# Spin} other {# Spins}} i denne periode - {range}",minute:"{count, plural, one {# Spin} other {# Spins}} hvert {freq, plural, one {minut} other {# minutter}} - {range}",day:"{count, plural, one {# Spin} other {# Spins}} hver {freq, plural, one {dag} other {# dage}} - {range}",week:{default:"{count, plural, one {# Spin} other {# Spins}} hver {freq, plural, one {uge} other {# uger}} - {range}",single:"{count, plural, one {# Spin} other {# Spins}} hver {dayName} - {range}",range:"{count, plural, one {# Spin} other {# Spins}} fra {dayFromName} til {dayToName} hver uge - {range}"},month:{default:"{count, plural, one {# Spin} other {# Spins}} hver {freq, plural, one {måned} other {# måneder}} - {range}",single:"{count, plural, one {# Spin} other {# Spins}} den {day, selectordinal, one {#.} two {#.} few {#.} other {#.}} i hver måned - {range}",range:"{count, plural, one {# Spin} other {# Spins}} fra {dayFrom, selectordinal, one {#.} two {#.} few {#.} other {#.}} til {dayTo, selectordinal, one {#.} two {#.} few {#.} other {#.}} i hver måned - {range}"}},coinTitle:"Coin Royale",remainingFlips:"Resterende Flips :",flipCoin:"Slå Mønt",dragToFlip:"Træk for at slå",gameCardCoinFlips:"Mønt <br/> Flips"},de:{noContent:"Du hast derzeit keine verfügbaren Lotterieprogramme.",hubTitle:"Preis-Hub",hubSubtitle:"Überprüfe deine verfügbaren Chancen",history:"Verlauf",play:"Spielen",rules:"Regeln",noHistory:"Kein Preisverlauf verfügbar.",previous:"Zurück",next:"Weiter",name:"Name",date:"Datum",time:"Zeit",spin:"Drehung",assigned:"Vergeben",prizeBonus:"Bonus",prizeRole:"Statusaktualisierung",prizeTournament:"Turniereintrittskarte",prizeTicket:"Mini-Spiel-Chance",prizeLoyalty:"Treuepunkte",prizeChallenge:"Herausforderung",prizeCustom:"Sonderpreis",congratulations:"Herzlichen Glückwunsch!",success:"{form, select, singular {Du hast einen <span>{prize}</span> gewonnen!} other {Du hast <span>{prize}</span> gewonnen!}}",noPrizeTitle:"Diesmal Nicht!",noPrize:"Keine Sorge! Du bist vielleicht beim nächsten Mal dran. Versuch es noch einmal!",noWin:"Kein Gewinn",prizeAssignedTitle:"Erfolg!",prizeAssigned:"Dein Preis wurde erfolgreich vergeben!",drawFailedTitle:"Support Kontaktieren",drawFailed:"Die Preisvergabe ist möglicherweise fehlgeschlagen, bitte kontaktiere den Kundensupport für weitere Details",errorJSON:"Unerwartete Datenantwort, bitte kontaktiere den Kundensupport",areYouSure:"Bist du sicher?",rejectWarningText:"Nach der Ablehnung geht dieser Preis verloren<br/>und kann nicht wiederhergestellt werden.<br/>Bitte bestätige deine Entscheidung",keepPrize:"Nein, ich möchte den Preis behalten",rejectPrize:"Ja, ich lehne den Preis ab",spinAgain:"Erneut drehen",claimReward:"Belohnung Einlösen",reject:"Ablehnen",backToGame:"Zurück zum Spiel",backToHub:"Zurück zum Hub",login:"Anmelden",spinWheel:"Rad Drehen",rulesDescription:"Das Glücksrad ist ein besonders interessantes Spiel, das dir viele Überraschungen bringt; Wenn du ein Glücksrad erhältst, bedeutet das, dass du die Chance hast, das Glücksrad zu drehen, und wenn du Glück hast, kannst du den Überraschungspreis gewinnen.",terms:"AGB",availablePeriod:"Verfügbarer Zeitraum:",recurrenceLabel:"Wiederholung:",topRewards:"Top-Belohnungen:",remainingSpins:"Verbleibende Drehungen:",playNow:"Jetzt Spielen",gameCardWheelSpins:"Rad <br/> Drehungen",swipeHint:"Rad wischen",loginTitle:"Zum Spielen anmelden",loginDescription:"Eine gültige Sitzung ist erforderlich, um das Rad zu drehen und deine Preise einzulösen.",nextAvailable:"Deine nächste Chance ist verfügbar in",countdown:"{days, plural, =0 {} other {# Tage - }}{hours} : {minutes} : {seconds}",timeoutTitle:"Verbindungs-Timeout",timeoutDescription:"Die Anfrage hat zu lange gedauert. Bitte versuche es erneut.",close:"Schließen",wofTitle:"Raddrehung",wofSubtitle:"Schließe Minispiele ab und gewinne Belohnungen",days:{sunday:"Sonntag",monday:"Montag",tuesday:"Dienstag",wednesday:"Mittwoch",thursday:"Donnerstag",friday:"Freitag",saturday:"Samstag"},recurrence:{single:"{count, plural, one {# Drehung} other {# Drehungen}} in diesem Zeitraum - {range}",minute:"{count, plural, one {# Drehung} other {# Drehungen}} jede {freq, plural, one {Minute} other {# Minuten}} - {range}",day:"{count, plural, one {# Drehung} other {# Drehungen}} jeden {freq, plural, one {Tag} other {# Tage}} - {range}",week:{default:"{count, plural, one {# Drehung} other {# Drehungen}} jede {freq, plural, one {Woche} other {# Wochen}} - {range}",single:"{count, plural, one {# Drehung} other {# Drehungen}} jeden {dayName} - {range}",range:"{count, plural, one {# Drehung} other {# Drehungen}} von {dayFromName} bis {dayToName} jede Woche - {range}"},month:{default:"{count, plural, one {# Drehung} other {# Drehungen}} jeden {freq, plural, one {Monat} other {# Monate}} - {range}",single:"{count, plural, one {# Drehung} other {# Drehungen}} am {day, selectordinal, one {#.} two {#.} few {#.} other {#.}} jeden Monat - {range}",range:"{count, plural, one {# Drehung} other {# Drehungen}} vom {dayFrom, selectordinal, one {#.} two {#.} few {#.} other {#.}} bis zum {dayTo, selectordinal, one {#.} two {#.} few {#.} other {#.}} jeden Monat - {range}"}},coinTitle:"Coin Royale",remainingFlips:"Verbleibende Würfe :",flipCoin:"Münze werfen",dragToFlip:"Zum Werfen ziehen",gameCardCoinFlips:"Münz- <br/> würfe"},nl:{noContent:"Je hebt op dit moment geen loterijprogramma's beschikbaar.",hubTitle:"Prijzenhub",hubSubtitle:"Bekijk je beschikbare kansen",history:"Geschiedenis",play:"Spelen",rules:"Regels",noHistory:"Geen prijzengeschiedenis beschikbaar.",previous:"Vorige",next:"Volgende",name:"Naam",date:"Datum",time:"Tijd",spin:"Spin",assigned:"Toegewezen",prizeBonus:"Bonus",prizeRole:"Statusupdate",prizeTournament:"Toernooi Toegangsticket",prizeTicket:"Mini Game Kans",prizeLoyalty:"Loyaliteitspunten",prizeChallenge:"Uitdaging",prizeCustom:"Aangepaste Prijs",congratulations:"Gefeliciteerd!",success:"{form, select, singular {Je hebt een <span>{prize}</span> gewonnen!} other {Je hebt <span>{prize}</span> gewonnen!}}",noPrizeTitle:"Deze Keer Niet!",noPrize:"Geen zorgen! Jouw beurt komt misschien de volgende keer. Probeer het opnieuw!",noWin:"Geen Winst",prizeAssignedTitle:"Gelukt!",prizeAssigned:"Je prijs is succesvol toegewezen!",drawFailedTitle:"Neem Contact op met Support",drawFailed:"De prijstoewijzing is mogelijk mislukt, neem contact op met de klantenservice voor meer details",errorJSON:"Onverwachte gegevensrespons, neem contact op met de klantenservice",areYouSure:"Weet je het zeker?",rejectWarningText:"Eenmaal geweigerd, gaat deze prijs verloren<br/>en kan niet worden hersteld.<br/>Bevestig je beslissing",keepPrize:"Nee, ik wil de prijs behouden",rejectPrize:"Ja, ik weiger de prijs",spinAgain:"Opnieuw draaien",claimReward:"Beloning Claimen",reject:"Weigeren",backToGame:"Terug naar het Spel",backToHub:"Terug naar Hub",login:"Inloggen",spinWheel:"Wiel Draaien",rulesDescription:"Het Geluksrad is een bijzonder interessant spel dat je veel verrassingen zal bezorgen; Wanneer je een Geluksrad krijgt, betekent dit dat je een kans hebt gekregen om aan het Geluksrad te draaien, en als je geluk hebt, kun je de verrassingsprijs winnen.",terms:"Algemene Voorwaarden",availablePeriod:"Beschikbare Periode:",recurrenceLabel:"Herhaling:",topRewards:"Topbeloningen:",remainingSpins:"Resterende Spins:",playNow:"Nu Spelen",gameCardWheelSpins:"Wiel <br/> Spins",swipeHint:"Veeg het wiel",loginTitle:"Log in om te spelen",loginDescription:"Een geldige sessie is vereist om aan het wiel te draaien en je prijzen te claimen.",nextAvailable:"Je volgende kans is beschikbaar over",countdown:"{days, plural, =0 {} other {# Dagen - }}{hours} : {minutes} : {seconds}",timeoutTitle:"Verbindingstime-out",timeoutDescription:"Het verzoek duurde te lang. Probeer het opnieuw.",close:"Sluiten",wofTitle:"Wieldraai",wofSubtitle:"Voltooi Minigames en Win Beloningen",days:{sunday:"Zondag",monday:"Maandag",tuesday:"Dinsdag",wednesday:"Woensdag",thursday:"Donderdag",friday:"Vrijdag",saturday:"Zaterdag"},recurrence:{single:"{count, plural, one {# Spin} other {# Spins}} in deze periode - {range}",minute:"{count, plural, one {# Spin} other {# Spins}} elke {freq, plural, one {minuut} other {# minuten}} - {range}",day:"{count, plural, one {# Spin} other {# Spins}} elke {freq, plural, one {dag} other {# dagen}} - {range}",week:{default:"{count, plural, one {# Spin} other {# Spins}} elke {freq, plural, one {week} other {# weken}} - {range}",single:"{count, plural, one {# Spin} other {# Spins}} elke {dayName} - {range}",range:"{count, plural, one {# Spin} other {# Spins}} van {dayFromName} tot {dayToName} elke week - {range}"},month:{default:"{count, plural, one {# Spin} other {# Spins}} elke {freq, plural, one {maand} other {# maanden}} - {range}",single:"{count, plural, one {# Spin} other {# Spins}} elke {day, selectordinal, one {#e} two {#e} few {#e} other {#e}} van de maand - {range}",range:"{count, plural, one {# Spin} other {# Spins}} van {dayFrom, selectordinal, one {#e} two {#e} few {#e} other {#e}} tot {dayTo, selectordinal, one {#e} two {#e} few {#e} other {#e}} van de maand - {range}"}},coinTitle:"Coin Royale",remainingFlips:"Resterende Flips :",flipCoin:"Gooi Munt",dragToFlip:"Sleep om te gooien",gameCardCoinFlips:"Munt <br/> Flips"},fr:{noContent:"Vous n'avez actuellement aucun programme de loterie disponible.",hubTitle:"Hub des Prix",hubSubtitle:"Consultez vos chances disponibles",history:"Historique",play:"Jouer",rules:"Règles",noHistory:"Aucun historique de prix disponible.",previous:"Précédent",next:"Suivant",name:"Nom",date:"Date",time:"Heure",spin:"Tour",assigned:"Assigné",prizeBonus:"Bonus",prizeRole:"Mise à jour de statut",prizeTournament:"Billet d'entrée au tournoi",prizeTicket:"Chance mini-jeu",prizeLoyalty:"Points de Fidélité",prizeChallenge:"Défi",prizeCustom:"Prix Personnalisé",congratulations:"Félicitations !",success:"{form, select, singular {Vous avez gagné un <span>{prize}</span> !} other {Vous avez gagné des <span>{prize}</span> !}}",noPrizeTitle:"Pas Cette Fois !",noPrize:"Ne vous inquiétez pas ! Votre tour viendra peut-être la prochaine fois. Réessayez !",noWin:"Aucun Gain",prizeAssignedTitle:"Succès !",prizeAssigned:"Votre prix a été assigné avec succès !",drawFailedTitle:"Contacter le Support",drawFailed:"L'attribution du prix a peut-être échoué, veuillez contacter le support client pour plus de détails",errorJSON:"Réponse de données inattendue, veuillez contacter le support client",areYouSure:"Êtes-vous sûr(e) ?",rejectWarningText:"Une fois refusé, ce prix sera perdu<br/>et ne pourra pas être récupéré.<br/>Veuillez confirmer votre décision",keepPrize:"Non, je veux garder le prix",rejectPrize:"Oui, je refuse le prix",spinAgain:"Retourner à nouveau",claimReward:"Réclamer la Récompense",reject:"Refuser",backToGame:"Retour au Jeu",backToHub:"Retour au Hub",login:"Connexion",spinWheel:"Tourner la Roue",rulesDescription:"La Roue de la Chance est un jeu particulièrement intéressant qui vous apportera de nombreuses surprises ; Lorsque vous obtenez la Roue de la Chance, cela signifie que vous avez une chance de la faire tourner, et si vous avez de la chance, vous pouvez obtenir le prix surprise.",terms:"Conditions Générales",availablePeriod:"Période Disponible :",recurrenceLabel:"Récurrence :",topRewards:"Meilleures Récompenses :",remainingSpins:"Tours Restants :",playNow:"Jouer Maintenant",gameCardWheelSpins:"Tours <br/> de Roue",swipeHint:"Faites tourner la roue",loginTitle:"Connectez-vous pour Jouer",loginDescription:"Une session valide est requise pour tourner la roue et réclamer vos prix.",nextAvailable:"Votre prochaine chance sera disponible dans",countdown:"{days, plural, =0 {} other {# Jours - }}{hours} : {minutes} : {seconds}",timeoutTitle:"Délai de Connexion Expiré",timeoutDescription:"La requête a pris trop de temps. Veuillez réessayer.",close:"Fermer",wofTitle:"Tour de Roue",wofSubtitle:"Terminez les Mini-Jeux et Gagnez des Récompenses",days:{sunday:"Dimanche",monday:"Lundi",tuesday:"Mardi",wednesday:"Mercredi",thursday:"Jeudi",friday:"Vendredi",saturday:"Samedi"},recurrence:{single:"{count, plural, one {# Tour} other {# Tours}} durant cette période - {range}",minute:"{count, plural, one {# Tour} other {# Tours}} toutes les {freq, plural, one {minute} other {# minutes}} - {range}",day:"{count, plural, one {# Tour} other {# Tours}} tous les {freq, plural, one {jour} other {# jours}} - {range}",week:{default:"{count, plural, one {# Tour} other {# Tours}} toutes les {freq, plural, one {semaine} other {# semaines}} - {range}",single:"{count, plural, one {# Tour} other {# Tours}} chaque {dayName} - {range}",range:"{count, plural, one {# Tour} other {# Tours}} de {dayFromName} à {dayToName} chaque semaine - {range}"},month:{default:"{count, plural, one {# Tour} other {# Tours}} tous les {freq, plural, one {mois} other {# mois}} - {range}",single:"{count, plural, one {# Tour} other {# Tours}} le {day, selectordinal, one {#er} two {#} few {#} other {#}} de chaque mois - {range}",range:"{count, plural, one {# Tour} other {# Tours}} du {dayFrom, selectordinal, one {#er} two {#} few {#} other {#}} au {dayTo, selectordinal, one {#er} two {#} few {#} other {#}} de chaque mois - {range}"}},coinTitle:"Coin Royale",remainingFlips:"Lancers restants :",flipCoin:"Lancer la pièce",dragToFlip:"Glissez pour lancer",gameCardCoinFlips:"Lancers <br/> de pièce"},tr:{noContent:"Şu anda kullanılabilir bir çekiliş programınız yok.",hubTitle:"Ödül Merkezi",hubSubtitle:"Mevcut şanslarınızı kontrol edin",history:"Geçmiş",play:"Oyna",rules:"Kurallar",noHistory:"Kullanılabilir ödül geçmişi yok.",previous:"Önceki",next:"Sonraki",name:"İsim",date:"Tarih",time:"Zaman",spin:"Çevirme",assigned:"Atandı",prizeBonus:"Bonus",prizeRole:"Durum Güncellemesi",prizeTournament:"Turnuva Giriş Bileti",prizeTicket:"Mini Oyun Şansı",prizeLoyalty:"Sadakat Puanı",prizeChallenge:"Meydan Okuma",prizeCustom:"Özel Ödül",congratulations:"Tebrikler!",success:"{form, select, other {<span>{prize}</span> kazandınız!}}",noPrizeTitle:"Bu Sefer Olmadı!",noPrize:"Endişelenmeyin! Sıra bir dahaki sefere sizde olabilir. Tekrar deneyin!",noWin:"Kazanma Yok",prizeAssignedTitle:"Başarılı!",prizeAssigned:"Ödülünüz başarıyla atandı!",drawFailedTitle:"Desteğe Başvurun",drawFailed:"Ödül ataması başarısız olmuş olabilir, daha fazla bilgi için lütfen müşteri desteğiyle iletişime geçin",errorJSON:"Beklenmeyen Veri Yanıtı, lütfen müşteri desteğiyle iletişime geçin",areYouSure:"Emin misiniz?",rejectWarningText:"Reddedildikten sonra bu ödül kaybolacak<br/>ve geri getirilemeyecektir.<br/>Lütfen kararınızı onaylayın",keepPrize:"Hayır, ödülü tutmak istiyorum",rejectPrize:"Evet, ödülü reddediyorum",spinAgain:"Tekrar çevir",claimReward:"Ödülü Talep Et",reject:"Reddet",backToGame:"Oyuna Dön",backToHub:"Merkeze Dön",login:"Giriş Yap",spinWheel:"Çarkı Çevir",rulesDescription:"Şans Çarkı, size birçok sürpriz yaşatacak son derece ilginç bir oyundur; Şans Çarkı'nı elde ettiğinizde, çarkı çevirme şansı elde etmiş olursunuz ve şanslıysanız sürpriz ödülü kazanabilirsiniz.",terms:"Şartlar ve Koşullar",availablePeriod:"Uygun Dönem:",recurrenceLabel:"Tekrarlama:",topRewards:"En İyi Ödüller:",remainingSpins:"Kalan Çevirme Hakkı:",playNow:"Şimdi Oyna",gameCardWheelSpins:"Çark <br/> Çevirmeleri",swipeHint:"Çarkı kaydır",loginTitle:"Oynamak için Giriş Yapın",loginDescription:"Çarkı çevirmek ve ödüllerinizi talep etmek için geçerli bir oturum gereklidir.",nextAvailable:"Bir sonraki şansınız şu süre içinde kullanılabilir olacak:",countdown:"{days, plural, =0 {} other {# Gün - }}{hours} : {minutes} : {seconds}",timeoutTitle:"Bağlantı Zaman Aşımı",timeoutDescription:"İstek çok uzun sürdü. Lütfen tekrar deneyin.",close:"Kapat",wofTitle:"Çark Çevirme",wofSubtitle:"Mini Oyunları Tamamlayın ve Ödül Kazanın",days:{sunday:"Pazar",monday:"Pazartesi",tuesday:"Salı",wednesday:"Çarşamba",thursday:"Perşembe",friday:"Cuma",saturday:"Cumartesi"},recurrence:{single:"{count, plural, one {# Çevirme} other {# Çevirme}} bu dönemde - {range}",minute:"{count, plural, one {# Çevirme} other {# Çevirme}} her {freq, plural, one {dakikada} other {# dakikada}} bir - {range}",day:"{count, plural, one {# Çevirme} other {# Çevirme}} her {freq, plural, one {günde} other {# günde}} bir - {range}",week:{default:"{count, plural, one {# Çevirme} other {# Çevirme}} her {freq, plural, one {haftada} other {# haftada}} bir - {range}",single:"{count, plural, one {# Çevirme} other {# Çevirme}} her {dayName} - {range}",range:"{count, plural, one {# Çevirme} other {# Çevirme}} her hafta {dayFromName} - {dayToName} arası - {range}"},month:{default:"{count, plural, one {# Çevirme} other {# Çevirme}} her {freq, plural, one {ayda} other {# ayda}} bir - {range}",single:"{count, plural, one {# Çevirme} other {# Çevirme}} her ayın {day, selectordinal, one {#.} two {#.} few {#.} other {#.}} günü - {range}",range:"{count, plural, one {# Çevirme} other {# Çevirme}} her ayın {dayFrom, selectordinal, one {#.} two {#.} few {#.} other {#.}} - {dayTo, selectordinal, one {#.} two {#.} few {#.} other {#.}} günleri arası - {range}"}},coinTitle:"Coin Royale",remainingFlips:"Kalan Atışlar :",flipCoin:"Parayı At",dragToFlip:"Atmak için sürükleyin",gameCardCoinFlips:"Para <br/> Atışı"}};var ce=r.from_html('<div class="loader-container"><div class="loader"><div class="loader-ring-outer"></div> <div class="loader-ring-inner"></div></div></div>'),he=r.from_html('<div class="prize-hub-container"><h3> </h3> <p> </p></div> <div class="mini-games-card-list"></div>',1),me=r.from_html("<div><p> </p></div>"),fe=r.from_html('<div class="main-container"><!></div>');const ye={hash:"svelte-pzanec",code:` *,
2
- *::before,
3
- *::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;-webkit-tap-highlight-color:transparent;} .main-container {background-color:transparent;width:100%;height:100%;min-height:100%;color:var(--color-text-default, #ffffff);display:flex;flex-direction:column;gap:5px;max-width:700px;margin:0 auto;} .mini-games-card-list {display:flex;flex-direction:column;gap:12px;width:100%;padding:0 10px;} .prize-hub-container {display:flex;flex-direction:column;width:100%;padding:12px;gap:8px;margin:8px 0;} .prize-hub-container h3 {color:var(--color-text-brand, #ffcc00);font-weight:700;font-size:14px;} .prize-hub-container p {color:var(--color-text-default, #ffffff);font-size:12px;font-weight:400;} .loader-container {display:flex;align-items:center;justify-content:center;width:100%;height:100%;flex:1;} .loader {position:relative;width:64px;height:64px;} .loader-ring-outer,
4
- .loader-ring-inner {position:absolute;border-radius:50%;border:3px solid transparent;} .loader-ring-outer {width:64px;height:64px;top:0;left:0;border-top-color:var(--loader-color-primary, #ffcc00);
5
- animation: svelte-pzanec-spin-cw 1s linear infinite;} .loader-ring-inner {width:42px;height:42px;top:11px;left:11px;border-top-color:var(--loader-color-secondary, rgba(255, 255, 255, 0.5019607843));
6
- animation: svelte-pzanec-spin-ccw 0.75s linear infinite;}
7
- @keyframes svelte-pzanec-spin-cw {
8
- to {
9
- transform: rotate(360deg);
10
- }
11
- }
12
- @keyframes svelte-pzanec-spin-ccw {
13
- to {
14
- transform: rotate(-360deg);
15
- }
16
- }`};function q(T,i){e.push(i,!0),r.append_styles(T,ye);const y=()=>r.store_get(e.$format,"$_",k),[k,S]=r.setup_stores(),g=r.prop(i,"endpoint",7),o=r.prop(i,"session",7),b=r.prop(i,"requiresOptin",7,!1),p=r.prop(i,"language",7,"en"),m=r.prop(i,"outerWheelAsset",7,null),f=r.prop(i,"wheelButtonAsset",7,null),w=r.prop(i,"backgroundVideoAsset",7,null),a=r.prop(i,"liteMode",7,!1),A=r.prop(i,"translationurl",7),O=!e.isServer()&&/iPhone|iPad|iPod/.test(navigator.userAgent),V=e.isServer()?1/0:navigator.deviceMemory??1/0,E=e.isServer()?1/0:navigator.hardwareConcurrency??1/0;function I(){try{const t=document.createElement("canvas").getContext("webgl");if(!t)return!1;const d=t.getExtension("WEBGL_debug_renderer_info");if(!d)return!1;const s=t.getParameter(d.UNMASKED_RENDERER_WEBGL).toLowerCase();return/mali-g[0-7]\d(?!\d)|xclipse [0-5]\d\d|adreno \(tm\) [2-6]\d\d/.test(s)}catch{return!1}}const J=!e.isServer()&&!O&&(V<=4||E<=4||I()),x=e.user_derived(()=>a()||J);r.setupI18n({withLocale:"en",translations:{}});const K=()=>{let n=new URL(A());fetch(n.href).then(t=>t.json()).then(t=>{Object.keys(t).forEach(d=>{r.addNewMessages(d,t[d])})}).catch(t=>{console.log(t)})};Object.keys(L).forEach(n=>{r.addNewMessages(n,L[n])}),r.setLocale(p());const Y=()=>{r.setLocale(p())};e.user_pre_effect(()=>{A()&&K()}),e.user_effect(()=>{Y()});let v=e.state(!1),u=e.state(e.proxy([])),P=e.state(!1),C=e.state(!1),h=e.state(null),R=e.state(!1);const U=async()=>{e.set(v,!0);const n=new URL(`${g()}/v1/wof/claimable`),t=new Headers;o()&&t.append("X-SessionId",o());const d={method:"GET",headers:t,cache:"no-store"};n.searchParams.append("filter","wheelOfFortune"),fetch(n,d).then(s=>s.json()).then(s=>{if(s&&s.errorMessage?.trim()==="InvalidSessionId"){e.set(C,!0),e.set(v,!1);return}if(s?.items?.program?.canClaim){e.set(u,s?.items?.program,!0),e.set(v,!1);return}e.set(u,s?.items,!0)}).catch(s=>{console.log(s),e.set(P,!0)}).finally(()=>{e.set(v,!1),D()})},Z=["wheelOfFortune","flipCoin"].map(n=>`Types[]=${n}`).join(","),X=async()=>{e.set(v,!0);const n=new URL(`${g()}/v1/wof/lotteries`),t=new Headers;o()&&t.append("X-SessionId",o()),n.searchParams.append("filter",Z);try{const d=await(await fetch(n,{method:"GET",headers:t,cache:"no-store"})).json();if(d?.errorMessage?.trim()==="InvalidSessionId"){e.set(C,!0);return}e.set(u,(d?.items??[]).map(s=>e.normalizeProgram(s,p())),!0),e.get(u).length===1&&(e.set(h,e.get(u)[0],!0),e.set(R,!0)),e.get(u).length===0&&window.postMessage({type:"event_wof_no_programs"},window.location.href)}catch(d){console.log(d),e.set(P,!0)}finally{e.set(v,!1),D()}},Q=n=>n?.type?.toLowerCase()==="flipcoin",D=()=>{const n=Array.isArray(e.get(u))?e.get(u).length:e.get(u)?1:0,t=!!o()&&!e.get(C);window.postMessage({type:"event_hub_accessed",isLoggedIn:t,hasMiniGames:t&&!e.get(P)?n>0:null},window.location.href)},B=n=>{if(n.data)switch(n.data.type){case"PlayMiniGame":e.set(h,e.get(u).find(t=>t.id===n.data.programId),!0);break;case"CloseMiniGame":e.set(h,null),D();break;case"PrizeGameRemainingTimesUpdated":e.set(h,n.data.data,!0),e.set(u,e.get(u).map(t=>t.id===n.data.data.id?n.data.data:t),!0);break}};r.onMount(()=>(o()||setTimeout(D,0),o()&&(b()?U():X()),window.addEventListener("message",B),()=>{window.removeEventListener("message",B)}));var $={get endpoint(){return g()},set endpoint(n){g(n),e.flushSync()},get session(){return o()},set session(n){o(n),e.flushSync()},get requiresOptin(){return b()},set requiresOptin(n=!1){b(n),e.flushSync()},get language(){return p()},set language(n="en"){p(n),e.flushSync()},get outerWheelAsset(){return m()},set outerWheelAsset(n=null){m(n),e.flushSync()},get wheelButtonAsset(){return f()},set wheelButtonAsset(n=null){f(n),e.flushSync()},get backgroundVideoAsset(){return w()},set backgroundVideoAsset(n=null){w(n),e.flushSync()},get liteMode(){return a()},set liteMode(n=!1){a(n),e.flushSync()},get translationurl(){return A()},set translationurl(n){A(n),e.flushSync()}},W=fe(),ee=e.child(W);{var ne=n=>{var t=ce();r.append(n,t)},re=n=>{var t=r.comment(),d=e.first_child(t);{var s=l=>{G.WheelOfFortune(l,{get outerWheelAsset(){return m()},get wheelButtonAsset(){return f()},get backgroundVideoAsset(){return w()},get language(){return p()},get liteMode(){return e.get(x)}})},ie=l=>{{let c=e.user_derived(()=>!e.get(R));pe.CoinRoyale(l,{get program(){return e.get(h)},get endpoint(){return g()},get language(){return p()},get session(){return o()},get showBackButton(){return e.get(c)},get liteMode(){return e.get(x)}})}},ae=e.user_derived(()=>e.get(h)&&Q(e.get(h))),oe=l=>{{let c=e.user_derived(()=>!e.get(R));G.WheelOfFortune(l,{get program(){return e.get(h)},get endpoint(){return g()},get language(){return p()},get session(){return o()},get outerWheelAsset(){return m()},get wheelButtonAsset(){return f()},get backgroundVideoAsset(){return w()},get showBackButton(){return e.get(c)},get liteMode(){return e.get(x)}})}},se=l=>{var c=he(),z=e.first_child(c),j=e.child(z),M=e.only_child(j,!0),ue=e.sibling(j,2),de=e.only_child(ue,!0);e.reset(z);var N=e.sibling(z,2);r.each(N,21,()=>e.get(u),r.index,(F,_)=>{ge.GameCard(F,{get program(){return e.get(_)}})}),e.reset(N),e.template_effect((F,_)=>{r.set_text(M,F),r.set_text(de,_)},[()=>y()("hubTitle"),()=>y()("hubSubtitle")]),r.append(l,c)},le=l=>{var c=me(),z=e.child(c),j=e.only_child(z,!0);e.reset(c),e.template_effect(M=>r.set_text(j,M),[()=>y()("noContent")]),r.append(l,c)};r.if_block(d,l=>{!o()||e.get(C)?l(s):e.get(ae)?l(ie,1):e.get(h)?l(oe,2):e.get(u)?.length>1?l(se,3):l(le,-1)})}r.append(n,t)};r.if_block(ee,n=>{e.get(v)?n(ne):n(re,-1)})}e.reset(W),r.append(T,W);var te=e.pop($);return S(),te}r.create_custom_element(q,{endpoint:{},session:{},requiresOptin:{},language:{},outerWheelAsset:{},wheelButtonAsset:{},backgroundVideoAsset:{},liteMode:{},translationurl:{}},[],[],{mode:"open"});function H(T,i){e.push(i,!0);let y=r.prop(i,"endpoint",7),k=r.prop(i,"session",7),S=r.prop(i,"requiresOptin",7,!1),g=r.prop(i,"language",7,"en"),o=r.prop(i,"outerWheelAsset",7,null),b=r.prop(i,"wheelButtonAsset",7,null),p=r.prop(i,"backgroundVideoAsset",7,null),m=r.prop(i,"liteMode",7,!1),f=r.prop(i,"translationurl",7);var w={get endpoint(){return y()},set endpoint(a){y(a),e.flushSync()},get session(){return k()},set session(a){k(a),e.flushSync()},get requiresOptin(){return S()},set requiresOptin(a=!1){S(a),e.flushSync()},get language(){return g()},set language(a="en"){g(a),e.flushSync()},get outerWheelAsset(){return o()},set outerWheelAsset(a=null){o(a),e.flushSync()},get wheelButtonAsset(){return b()},set wheelButtonAsset(a=null){b(a),e.flushSync()},get backgroundVideoAsset(){return p()},set backgroundVideoAsset(a=null){p(a),e.flushSync()},get liteMode(){return m()},set liteMode(a=!1){m(a),e.flushSync()},get translationurl(){return f()},set translationurl(a){f(a),e.flushSync()}};return q(T,{get endpoint(){return y()},get session(){return k()},get requiresOptin(){return S()},get language(){return g()},get outerWheelAsset(){return o()},get wheelButtonAsset(){return b()},get backgroundVideoAsset(){return p()},get liteMode(){return m()},get translationurl(){return f()}}),e.pop(w)}customElements.define("mini-games-hub",r.create_custom_element(H,{endpoint:{attribute:"endpoint",type:"String"},session:{attribute:"session",type:"String"},requiresOptin:{attribute:"requires-optin",type:"Boolean"},language:{attribute:"language",type:"String"},outerWheelAsset:{attribute:"outer-wheel-asset",type:"String"},wheelButtonAsset:{attribute:"wheel-button-asset",type:"String"},backgroundVideoAsset:{attribute:"background-video-asset",type:"String"},liteMode:{attribute:"lite-mode",type:"Boolean"},translationurl:{attribute:"translationurl",type:"String"}},[],[]));exports.MiniGamesHub_ce=H;
@@ -1,16 +0,0 @@
1
- "use strict";var q=(z,i,c)=>new Promise((k,v)=>{var h=s=>{try{y(c.next(s))}catch(m){v(m)}},l=s=>{try{y(c.throw(s))}catch(m){v(m)}},y=s=>s.done?k(s.value):Promise.resolve(s.value).then(h,l);y((c=c.apply(z,i)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./WheelOfFortuneWheel-DGD-zfeE.cjs"),e=require("./utils-BxNmJ6YA.cjs"),I=require("./WheelOfFortune-XfmUFV3-.cjs"),he=require("./CoinRoyale-BH73ZSrU.cjs"),me=require("./GameCard-Qh_fk15-.cjs"),J={en:{noContent:"You don't have any lottery programs available now.",hubTitle:"Prize Hub",hubSubtitle:"Check your available chances",history:"History",play:"Play",rules:"Rules",noHistory:"No prize history available.",previous:"Previous",next:"Next",name:"Name",date:"Date",time:"Time",spin:"Spin",assigned:"Assigned",prizeBonus:"Bonus",prizeRole:"Status Update",prizeTournament:"Tournament Entry Ticket",prizeTicket:"Mini Game Chance",prizeLoyalty:"Loyalty Points",prizeChallenge:"Challenge",prizeCustom:"Custom Prize",congratulations:"Congratulations!",success:"{form, select, singular {You won a <span>{prize}</span>!} other {You won <span>{prize}</span>!}}",noPrizeTitle:"Not This Time!",noPrize:"Don't Worry! Your turn might come next. Try Again!",noWin:"No Win",prizeAssignedTitle:"Success!",prizeAssigned:"Your prize has been assigned!",drawFailedTitle:"Contact Support",drawFailed:"The prize assignment was not successful, please contact customer support for more details.",errorJSON:"Unexpected Data Response, please contact customer support",areYouSure:"Are you sure?",rejectWarningText:"Once rejected, this prize will be lost<br/>and cannot be recovered.<br/>Please confirm your decision",keepPrize:"No, I want to keep prize",rejectPrize:"Yes, I reject prize",spinAgain:"Spin again",claimReward:"Claim Reward",reject:"Reject",backToGame:"Back to Game",backToHub:"Back to Hub",login:"Login",spinWheel:"Spin Wheel",rulesDescription:"Lucky Wheel is a particularly interesting game, will bring you a lot of surprises; When you obtain the Lucky Wheel, means you got a chance to spin the Lucky Wheel, and if you are lucky, you can get the surprise prize.",terms:"Terms&Conditions",availablePeriod:"Available Period:",recurrenceLabel:"Recurrence:",topRewards:"Top Rewards:",remainingSpins:"Remaining Spins:",playNow:"Play Now",gameCardWheelSpins:"Wheel <br/> Spins",swipeHint:"Swipe the wheel",loginTitle:"Sign in to Play",loginDescription:"A valid session is required to spin the wheel and claim your prizes.",nextAvailable:"Your next chance will be available in",countdown:"{days, plural, =0 {} other {# Days - }}{hours} : {minutes} : {seconds}",timeoutTitle:"Connection Timeout",timeoutDescription:"The request took too long. Please try again.",close:"Close",wofTitle:"Wheel Spin",wofSubtitle:"Complete Mini Games and Win Rewards",days:{sunday:"Sunday",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday"},recurrence:{single:"{count, plural, one {# Spin} other {# Spins}} in this period - {range}",minute:"{count, plural, one {# Spin} other {# Spins}} every {freq, plural, one {minute} other {# minutes}} - {range}",day:"{count, plural, one {# Spin} other {# Spins}} every {freq, plural, one {day} other {# days}} - {range}",week:{default:"{count, plural, one {# Spin} other {# Spins}} every {freq, plural, one {week} other {# weeks}} - {range}",single:"{count, plural, one {# Spin} other {# Spins}} every {dayName} - {range}",range:"{count, plural, one {# Spin} other {# Spins}} from {dayFromName} to {dayToName} every week - {range}"},month:{default:"{count, plural, one {# Spin} other {# Spins}} every {freq, plural, one {month} other {# months}} - {range}",single:"{count, plural, one {# Spin} other {# Spins}} every {day, selectordinal, one {#st} two {#nd} few {#rd} other {#th}} each month - {range}",range:"{count, plural, one {# Spin} other {# Spins}} from {dayFrom, selectordinal, one {#st} two {#nd} few {#rd} other {#th}} to {dayTo, selectordinal, one {#st} two {#nd} few {#rd} other {#th}} each month - {range}"}},coinTitle:"Coin Royale",remainingFlips:"Remaining Flips :",flipCoin:"Flip Coin",dragToFlip:"Drag to flip",gameCardCoinFlips:"Coin <br/> Flips"},da:{noContent:"Du har ingen lotteriprogrammer tilgængelige lige nu.",hubTitle:"Præmiehub",hubSubtitle:"Tjek dine tilgængelige chancer",history:"Historik",play:"Spil",rules:"Regler",noHistory:"Ingen præmiehistorik tilgængelig.",previous:"Forrige",next:"Næste",name:"Navn",date:"Dato",time:"Tid",spin:"Spin",assigned:"Tildelt",prizeBonus:"Bonus",prizeRole:"Statusopdatering",prizeTournament:"Turneringsadgangsbillet",prizeTicket:"Mini-spilchance",prizeLoyalty:"Loyalitetspoint",prizeChallenge:"Udfordring",prizeCustom:"Specialpræmie",congratulations:"Tillykke!",success:"{form, select, singular {Du vandt en <span>{prize}</span>!} other {Du vandt <span>{prize}</span>!}}",noPrizeTitle:"Ikke Denne Gang!",noPrize:"Bare rolig! Din tur kommer måske næste gang. Prøv igen!",noWin:"Ingen Gevinst",prizeAssignedTitle:"Succes!",prizeAssigned:"Din præmie er blevet tildelt!",drawFailedTitle:"Kontakt Support",drawFailed:"Tildelingen af præmien kan være mislykkedes, kontakt venligst kundeservice for flere detaljer",errorJSON:"Uventet datasvar, kontakt venligst kundeservice",areYouSure:"Er du sikker?",rejectWarningText:"Når den er afvist, går denne præmie tabt<br/>og kan ikke genoprettes.<br/>Bekræft venligst din beslutning",keepPrize:"Nej, jeg vil beholde præmien",rejectPrize:"Ja, jeg afviser præmien",spinAgain:"Spin igen",claimReward:"Indløs Belønning",reject:"Afvis",backToGame:"Tilbage til Spillet",backToHub:"Tilbage til Hub",login:"Log ind",spinWheel:"Drej Hjulet",rulesDescription:"Lykkehjulet er et særligt spændende spil, der vil give dig mange overraskelser; Når du får et lykkehjul, betyder det, at du har fået en chance for at dreje lykkehjulet, og hvis du er heldig, kan du vinde overraskelsespræmien.",terms:"Vilkår&Betingelser",availablePeriod:"Tilgængelig Periode:",recurrenceLabel:"Gentagelse:",topRewards:"Top Belønninger:",remainingSpins:"Resterende Spins:",playNow:"Spil Nu",gameCardWheelSpins:"Hjul <br/> Spins",swipeHint:"Swip hjulet",loginTitle:"Log ind for at spille",loginDescription:"En gyldig session er påkrævet for at dreje hjulet og indløse dine præmier.",nextAvailable:"Din næste chance vil være tilgængelig om",countdown:"{days, plural, =0 {} other {# Dage - }}{hours} : {minutes} : {seconds}",timeoutTitle:"Forbindelses-timeout",timeoutDescription:"Anmodningen tog for lang tid. Prøv igen.",close:"Luk",wofTitle:"Hjul Spin",wofSubtitle:"Gennemfør Minispil og Vind Belønninger",days:{sunday:"Søndag",monday:"Mandag",tuesday:"Tirsdag",wednesday:"Onsdag",thursday:"Torsdag",friday:"Fredag",saturday:"Lørdag"},recurrence:{single:"{count, plural, one {# Spin} other {# Spins}} i denne periode - {range}",minute:"{count, plural, one {# Spin} other {# Spins}} hvert {freq, plural, one {minut} other {# minutter}} - {range}",day:"{count, plural, one {# Spin} other {# Spins}} hver {freq, plural, one {dag} other {# dage}} - {range}",week:{default:"{count, plural, one {# Spin} other {# Spins}} hver {freq, plural, one {uge} other {# uger}} - {range}",single:"{count, plural, one {# Spin} other {# Spins}} hver {dayName} - {range}",range:"{count, plural, one {# Spin} other {# Spins}} fra {dayFromName} til {dayToName} hver uge - {range}"},month:{default:"{count, plural, one {# Spin} other {# Spins}} hver {freq, plural, one {måned} other {# måneder}} - {range}",single:"{count, plural, one {# Spin} other {# Spins}} den {day, selectordinal, one {#.} two {#.} few {#.} other {#.}} i hver måned - {range}",range:"{count, plural, one {# Spin} other {# Spins}} fra {dayFrom, selectordinal, one {#.} two {#.} few {#.} other {#.}} til {dayTo, selectordinal, one {#.} two {#.} few {#.} other {#.}} i hver måned - {range}"}},coinTitle:"Coin Royale",remainingFlips:"Resterende Flips :",flipCoin:"Slå Mønt",dragToFlip:"Træk for at slå",gameCardCoinFlips:"Mønt <br/> Flips"},de:{noContent:"Du hast derzeit keine verfügbaren Lotterieprogramme.",hubTitle:"Preis-Hub",hubSubtitle:"Überprüfe deine verfügbaren Chancen",history:"Verlauf",play:"Spielen",rules:"Regeln",noHistory:"Kein Preisverlauf verfügbar.",previous:"Zurück",next:"Weiter",name:"Name",date:"Datum",time:"Zeit",spin:"Drehung",assigned:"Vergeben",prizeBonus:"Bonus",prizeRole:"Statusaktualisierung",prizeTournament:"Turniereintrittskarte",prizeTicket:"Mini-Spiel-Chance",prizeLoyalty:"Treuepunkte",prizeChallenge:"Herausforderung",prizeCustom:"Sonderpreis",congratulations:"Herzlichen Glückwunsch!",success:"{form, select, singular {Du hast einen <span>{prize}</span> gewonnen!} other {Du hast <span>{prize}</span> gewonnen!}}",noPrizeTitle:"Diesmal Nicht!",noPrize:"Keine Sorge! Du bist vielleicht beim nächsten Mal dran. Versuch es noch einmal!",noWin:"Kein Gewinn",prizeAssignedTitle:"Erfolg!",prizeAssigned:"Dein Preis wurde erfolgreich vergeben!",drawFailedTitle:"Support Kontaktieren",drawFailed:"Die Preisvergabe ist möglicherweise fehlgeschlagen, bitte kontaktiere den Kundensupport für weitere Details",errorJSON:"Unerwartete Datenantwort, bitte kontaktiere den Kundensupport",areYouSure:"Bist du sicher?",rejectWarningText:"Nach der Ablehnung geht dieser Preis verloren<br/>und kann nicht wiederhergestellt werden.<br/>Bitte bestätige deine Entscheidung",keepPrize:"Nein, ich möchte den Preis behalten",rejectPrize:"Ja, ich lehne den Preis ab",spinAgain:"Erneut drehen",claimReward:"Belohnung Einlösen",reject:"Ablehnen",backToGame:"Zurück zum Spiel",backToHub:"Zurück zum Hub",login:"Anmelden",spinWheel:"Rad Drehen",rulesDescription:"Das Glücksrad ist ein besonders interessantes Spiel, das dir viele Überraschungen bringt; Wenn du ein Glücksrad erhältst, bedeutet das, dass du die Chance hast, das Glücksrad zu drehen, und wenn du Glück hast, kannst du den Überraschungspreis gewinnen.",terms:"AGB",availablePeriod:"Verfügbarer Zeitraum:",recurrenceLabel:"Wiederholung:",topRewards:"Top-Belohnungen:",remainingSpins:"Verbleibende Drehungen:",playNow:"Jetzt Spielen",gameCardWheelSpins:"Rad <br/> Drehungen",swipeHint:"Rad wischen",loginTitle:"Zum Spielen anmelden",loginDescription:"Eine gültige Sitzung ist erforderlich, um das Rad zu drehen und deine Preise einzulösen.",nextAvailable:"Deine nächste Chance ist verfügbar in",countdown:"{days, plural, =0 {} other {# Tage - }}{hours} : {minutes} : {seconds}",timeoutTitle:"Verbindungs-Timeout",timeoutDescription:"Die Anfrage hat zu lange gedauert. Bitte versuche es erneut.",close:"Schließen",wofTitle:"Raddrehung",wofSubtitle:"Schließe Minispiele ab und gewinne Belohnungen",days:{sunday:"Sonntag",monday:"Montag",tuesday:"Dienstag",wednesday:"Mittwoch",thursday:"Donnerstag",friday:"Freitag",saturday:"Samstag"},recurrence:{single:"{count, plural, one {# Drehung} other {# Drehungen}} in diesem Zeitraum - {range}",minute:"{count, plural, one {# Drehung} other {# Drehungen}} jede {freq, plural, one {Minute} other {# Minuten}} - {range}",day:"{count, plural, one {# Drehung} other {# Drehungen}} jeden {freq, plural, one {Tag} other {# Tage}} - {range}",week:{default:"{count, plural, one {# Drehung} other {# Drehungen}} jede {freq, plural, one {Woche} other {# Wochen}} - {range}",single:"{count, plural, one {# Drehung} other {# Drehungen}} jeden {dayName} - {range}",range:"{count, plural, one {# Drehung} other {# Drehungen}} von {dayFromName} bis {dayToName} jede Woche - {range}"},month:{default:"{count, plural, one {# Drehung} other {# Drehungen}} jeden {freq, plural, one {Monat} other {# Monate}} - {range}",single:"{count, plural, one {# Drehung} other {# Drehungen}} am {day, selectordinal, one {#.} two {#.} few {#.} other {#.}} jeden Monat - {range}",range:"{count, plural, one {# Drehung} other {# Drehungen}} vom {dayFrom, selectordinal, one {#.} two {#.} few {#.} other {#.}} bis zum {dayTo, selectordinal, one {#.} two {#.} few {#.} other {#.}} jeden Monat - {range}"}},coinTitle:"Coin Royale",remainingFlips:"Verbleibende Würfe :",flipCoin:"Münze werfen",dragToFlip:"Zum Werfen ziehen",gameCardCoinFlips:"Münz- <br/> würfe"},nl:{noContent:"Je hebt op dit moment geen loterijprogramma's beschikbaar.",hubTitle:"Prijzenhub",hubSubtitle:"Bekijk je beschikbare kansen",history:"Geschiedenis",play:"Spelen",rules:"Regels",noHistory:"Geen prijzengeschiedenis beschikbaar.",previous:"Vorige",next:"Volgende",name:"Naam",date:"Datum",time:"Tijd",spin:"Spin",assigned:"Toegewezen",prizeBonus:"Bonus",prizeRole:"Statusupdate",prizeTournament:"Toernooi Toegangsticket",prizeTicket:"Mini Game Kans",prizeLoyalty:"Loyaliteitspunten",prizeChallenge:"Uitdaging",prizeCustom:"Aangepaste Prijs",congratulations:"Gefeliciteerd!",success:"{form, select, singular {Je hebt een <span>{prize}</span> gewonnen!} other {Je hebt <span>{prize}</span> gewonnen!}}",noPrizeTitle:"Deze Keer Niet!",noPrize:"Geen zorgen! Jouw beurt komt misschien de volgende keer. Probeer het opnieuw!",noWin:"Geen Winst",prizeAssignedTitle:"Gelukt!",prizeAssigned:"Je prijs is succesvol toegewezen!",drawFailedTitle:"Neem Contact op met Support",drawFailed:"De prijstoewijzing is mogelijk mislukt, neem contact op met de klantenservice voor meer details",errorJSON:"Onverwachte gegevensrespons, neem contact op met de klantenservice",areYouSure:"Weet je het zeker?",rejectWarningText:"Eenmaal geweigerd, gaat deze prijs verloren<br/>en kan niet worden hersteld.<br/>Bevestig je beslissing",keepPrize:"Nee, ik wil de prijs behouden",rejectPrize:"Ja, ik weiger de prijs",spinAgain:"Opnieuw draaien",claimReward:"Beloning Claimen",reject:"Weigeren",backToGame:"Terug naar het Spel",backToHub:"Terug naar Hub",login:"Inloggen",spinWheel:"Wiel Draaien",rulesDescription:"Het Geluksrad is een bijzonder interessant spel dat je veel verrassingen zal bezorgen; Wanneer je een Geluksrad krijgt, betekent dit dat je een kans hebt gekregen om aan het Geluksrad te draaien, en als je geluk hebt, kun je de verrassingsprijs winnen.",terms:"Algemene Voorwaarden",availablePeriod:"Beschikbare Periode:",recurrenceLabel:"Herhaling:",topRewards:"Topbeloningen:",remainingSpins:"Resterende Spins:",playNow:"Nu Spelen",gameCardWheelSpins:"Wiel <br/> Spins",swipeHint:"Veeg het wiel",loginTitle:"Log in om te spelen",loginDescription:"Een geldige sessie is vereist om aan het wiel te draaien en je prijzen te claimen.",nextAvailable:"Je volgende kans is beschikbaar over",countdown:"{days, plural, =0 {} other {# Dagen - }}{hours} : {minutes} : {seconds}",timeoutTitle:"Verbindingstime-out",timeoutDescription:"Het verzoek duurde te lang. Probeer het opnieuw.",close:"Sluiten",wofTitle:"Wieldraai",wofSubtitle:"Voltooi Minigames en Win Beloningen",days:{sunday:"Zondag",monday:"Maandag",tuesday:"Dinsdag",wednesday:"Woensdag",thursday:"Donderdag",friday:"Vrijdag",saturday:"Zaterdag"},recurrence:{single:"{count, plural, one {# Spin} other {# Spins}} in deze periode - {range}",minute:"{count, plural, one {# Spin} other {# Spins}} elke {freq, plural, one {minuut} other {# minuten}} - {range}",day:"{count, plural, one {# Spin} other {# Spins}} elke {freq, plural, one {dag} other {# dagen}} - {range}",week:{default:"{count, plural, one {# Spin} other {# Spins}} elke {freq, plural, one {week} other {# weken}} - {range}",single:"{count, plural, one {# Spin} other {# Spins}} elke {dayName} - {range}",range:"{count, plural, one {# Spin} other {# Spins}} van {dayFromName} tot {dayToName} elke week - {range}"},month:{default:"{count, plural, one {# Spin} other {# Spins}} elke {freq, plural, one {maand} other {# maanden}} - {range}",single:"{count, plural, one {# Spin} other {# Spins}} elke {day, selectordinal, one {#e} two {#e} few {#e} other {#e}} van de maand - {range}",range:"{count, plural, one {# Spin} other {# Spins}} van {dayFrom, selectordinal, one {#e} two {#e} few {#e} other {#e}} tot {dayTo, selectordinal, one {#e} two {#e} few {#e} other {#e}} van de maand - {range}"}},coinTitle:"Coin Royale",remainingFlips:"Resterende Flips :",flipCoin:"Gooi Munt",dragToFlip:"Sleep om te gooien",gameCardCoinFlips:"Munt <br/> Flips"},fr:{noContent:"Vous n'avez actuellement aucun programme de loterie disponible.",hubTitle:"Hub des Prix",hubSubtitle:"Consultez vos chances disponibles",history:"Historique",play:"Jouer",rules:"Règles",noHistory:"Aucun historique de prix disponible.",previous:"Précédent",next:"Suivant",name:"Nom",date:"Date",time:"Heure",spin:"Tour",assigned:"Assigné",prizeBonus:"Bonus",prizeRole:"Mise à jour de statut",prizeTournament:"Billet d'entrée au tournoi",prizeTicket:"Chance mini-jeu",prizeLoyalty:"Points de Fidélité",prizeChallenge:"Défi",prizeCustom:"Prix Personnalisé",congratulations:"Félicitations !",success:"{form, select, singular {Vous avez gagné un <span>{prize}</span> !} other {Vous avez gagné des <span>{prize}</span> !}}",noPrizeTitle:"Pas Cette Fois !",noPrize:"Ne vous inquiétez pas ! Votre tour viendra peut-être la prochaine fois. Réessayez !",noWin:"Aucun Gain",prizeAssignedTitle:"Succès !",prizeAssigned:"Votre prix a été assigné avec succès !",drawFailedTitle:"Contacter le Support",drawFailed:"L'attribution du prix a peut-être échoué, veuillez contacter le support client pour plus de détails",errorJSON:"Réponse de données inattendue, veuillez contacter le support client",areYouSure:"Êtes-vous sûr(e) ?",rejectWarningText:"Une fois refusé, ce prix sera perdu<br/>et ne pourra pas être récupéré.<br/>Veuillez confirmer votre décision",keepPrize:"Non, je veux garder le prix",rejectPrize:"Oui, je refuse le prix",spinAgain:"Retourner à nouveau",claimReward:"Réclamer la Récompense",reject:"Refuser",backToGame:"Retour au Jeu",backToHub:"Retour au Hub",login:"Connexion",spinWheel:"Tourner la Roue",rulesDescription:"La Roue de la Chance est un jeu particulièrement intéressant qui vous apportera de nombreuses surprises ; Lorsque vous obtenez la Roue de la Chance, cela signifie que vous avez une chance de la faire tourner, et si vous avez de la chance, vous pouvez obtenir le prix surprise.",terms:"Conditions Générales",availablePeriod:"Période Disponible :",recurrenceLabel:"Récurrence :",topRewards:"Meilleures Récompenses :",remainingSpins:"Tours Restants :",playNow:"Jouer Maintenant",gameCardWheelSpins:"Tours <br/> de Roue",swipeHint:"Faites tourner la roue",loginTitle:"Connectez-vous pour Jouer",loginDescription:"Une session valide est requise pour tourner la roue et réclamer vos prix.",nextAvailable:"Votre prochaine chance sera disponible dans",countdown:"{days, plural, =0 {} other {# Jours - }}{hours} : {minutes} : {seconds}",timeoutTitle:"Délai de Connexion Expiré",timeoutDescription:"La requête a pris trop de temps. Veuillez réessayer.",close:"Fermer",wofTitle:"Tour de Roue",wofSubtitle:"Terminez les Mini-Jeux et Gagnez des Récompenses",days:{sunday:"Dimanche",monday:"Lundi",tuesday:"Mardi",wednesday:"Mercredi",thursday:"Jeudi",friday:"Vendredi",saturday:"Samedi"},recurrence:{single:"{count, plural, one {# Tour} other {# Tours}} durant cette période - {range}",minute:"{count, plural, one {# Tour} other {# Tours}} toutes les {freq, plural, one {minute} other {# minutes}} - {range}",day:"{count, plural, one {# Tour} other {# Tours}} tous les {freq, plural, one {jour} other {# jours}} - {range}",week:{default:"{count, plural, one {# Tour} other {# Tours}} toutes les {freq, plural, one {semaine} other {# semaines}} - {range}",single:"{count, plural, one {# Tour} other {# Tours}} chaque {dayName} - {range}",range:"{count, plural, one {# Tour} other {# Tours}} de {dayFromName} à {dayToName} chaque semaine - {range}"},month:{default:"{count, plural, one {# Tour} other {# Tours}} tous les {freq, plural, one {mois} other {# mois}} - {range}",single:"{count, plural, one {# Tour} other {# Tours}} le {day, selectordinal, one {#er} two {#} few {#} other {#}} de chaque mois - {range}",range:"{count, plural, one {# Tour} other {# Tours}} du {dayFrom, selectordinal, one {#er} two {#} few {#} other {#}} au {dayTo, selectordinal, one {#er} two {#} few {#} other {#}} de chaque mois - {range}"}},coinTitle:"Coin Royale",remainingFlips:"Lancers restants :",flipCoin:"Lancer la pièce",dragToFlip:"Glissez pour lancer",gameCardCoinFlips:"Lancers <br/> de pièce"},tr:{noContent:"Şu anda kullanılabilir bir çekiliş programınız yok.",hubTitle:"Ödül Merkezi",hubSubtitle:"Mevcut şanslarınızı kontrol edin",history:"Geçmiş",play:"Oyna",rules:"Kurallar",noHistory:"Kullanılabilir ödül geçmişi yok.",previous:"Önceki",next:"Sonraki",name:"İsim",date:"Tarih",time:"Zaman",spin:"Çevirme",assigned:"Atandı",prizeBonus:"Bonus",prizeRole:"Durum Güncellemesi",prizeTournament:"Turnuva Giriş Bileti",prizeTicket:"Mini Oyun Şansı",prizeLoyalty:"Sadakat Puanı",prizeChallenge:"Meydan Okuma",prizeCustom:"Özel Ödül",congratulations:"Tebrikler!",success:"{form, select, other {<span>{prize}</span> kazandınız!}}",noPrizeTitle:"Bu Sefer Olmadı!",noPrize:"Endişelenmeyin! Sıra bir dahaki sefere sizde olabilir. Tekrar deneyin!",noWin:"Kazanma Yok",prizeAssignedTitle:"Başarılı!",prizeAssigned:"Ödülünüz başarıyla atandı!",drawFailedTitle:"Desteğe Başvurun",drawFailed:"Ödül ataması başarısız olmuş olabilir, daha fazla bilgi için lütfen müşteri desteğiyle iletişime geçin",errorJSON:"Beklenmeyen Veri Yanıtı, lütfen müşteri desteğiyle iletişime geçin",areYouSure:"Emin misiniz?",rejectWarningText:"Reddedildikten sonra bu ödül kaybolacak<br/>ve geri getirilemeyecektir.<br/>Lütfen kararınızı onaylayın",keepPrize:"Hayır, ödülü tutmak istiyorum",rejectPrize:"Evet, ödülü reddediyorum",spinAgain:"Tekrar çevir",claimReward:"Ödülü Talep Et",reject:"Reddet",backToGame:"Oyuna Dön",backToHub:"Merkeze Dön",login:"Giriş Yap",spinWheel:"Çarkı Çevir",rulesDescription:"Şans Çarkı, size birçok sürpriz yaşatacak son derece ilginç bir oyundur; Şans Çarkı'nı elde ettiğinizde, çarkı çevirme şansı elde etmiş olursunuz ve şanslıysanız sürpriz ödülü kazanabilirsiniz.",terms:"Şartlar ve Koşullar",availablePeriod:"Uygun Dönem:",recurrenceLabel:"Tekrarlama:",topRewards:"En İyi Ödüller:",remainingSpins:"Kalan Çevirme Hakkı:",playNow:"Şimdi Oyna",gameCardWheelSpins:"Çark <br/> Çevirmeleri",swipeHint:"Çarkı kaydır",loginTitle:"Oynamak için Giriş Yapın",loginDescription:"Çarkı çevirmek ve ödüllerinizi talep etmek için geçerli bir oturum gereklidir.",nextAvailable:"Bir sonraki şansınız şu süre içinde kullanılabilir olacak:",countdown:"{days, plural, =0 {} other {# Gün - }}{hours} : {minutes} : {seconds}",timeoutTitle:"Bağlantı Zaman Aşımı",timeoutDescription:"İstek çok uzun sürdü. Lütfen tekrar deneyin.",close:"Kapat",wofTitle:"Çark Çevirme",wofSubtitle:"Mini Oyunları Tamamlayın ve Ödül Kazanın",days:{sunday:"Pazar",monday:"Pazartesi",tuesday:"Salı",wednesday:"Çarşamba",thursday:"Perşembe",friday:"Cuma",saturday:"Cumartesi"},recurrence:{single:"{count, plural, one {# Çevirme} other {# Çevirme}} bu dönemde - {range}",minute:"{count, plural, one {# Çevirme} other {# Çevirme}} her {freq, plural, one {dakikada} other {# dakikada}} bir - {range}",day:"{count, plural, one {# Çevirme} other {# Çevirme}} her {freq, plural, one {günde} other {# günde}} bir - {range}",week:{default:"{count, plural, one {# Çevirme} other {# Çevirme}} her {freq, plural, one {haftada} other {# haftada}} bir - {range}",single:"{count, plural, one {# Çevirme} other {# Çevirme}} her {dayName} - {range}",range:"{count, plural, one {# Çevirme} other {# Çevirme}} her hafta {dayFromName} - {dayToName} arası - {range}"},month:{default:"{count, plural, one {# Çevirme} other {# Çevirme}} her {freq, plural, one {ayda} other {# ayda}} bir - {range}",single:"{count, plural, one {# Çevirme} other {# Çevirme}} her ayın {day, selectordinal, one {#.} two {#.} few {#.} other {#.}} günü - {range}",range:"{count, plural, one {# Çevirme} other {# Çevirme}} her ayın {dayFrom, selectordinal, one {#.} two {#.} few {#.} other {#.}} - {dayTo, selectordinal, one {#.} two {#.} few {#.} other {#.}} günleri arası - {range}"}},coinTitle:"Coin Royale",remainingFlips:"Kalan Atışlar :",flipCoin:"Parayı At",dragToFlip:"Atmak için sürükleyin",gameCardCoinFlips:"Para <br/> Atışı"}};var fe=r.from_html('<div class="loader-container"><div class="loader"><div class="loader-ring-outer"></div> <div class="loader-ring-inner"></div></div></div>'),ye=r.from_html('<div class="prize-hub-container"><h3> </h3> <p> </p></div> <div class="mini-games-card-list"></div>',1),be=r.from_html("<div><p> </p></div>"),ve=r.from_html('<div class="main-container"><!></div>');const we={hash:"svelte-pzanec",code:` *,
2
- *::before,
3
- *::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;-webkit-tap-highlight-color:transparent;} .main-container {background-color:transparent;width:100%;height:100%;min-height:100%;color:var(--color-text-default, #ffffff);display:flex;flex-direction:column;gap:5px;max-width:700px;margin:0 auto;} .mini-games-card-list {display:flex;flex-direction:column;gap:12px;width:100%;padding:0 10px;} .prize-hub-container {display:flex;flex-direction:column;width:100%;padding:12px;gap:8px;margin:8px 0;} .prize-hub-container h3 {color:var(--color-text-brand, #ffcc00);font-weight:700;font-size:14px;} .prize-hub-container p {color:var(--color-text-default, #ffffff);font-size:12px;font-weight:400;} .loader-container {display:flex;align-items:center;justify-content:center;width:100%;height:100%;flex:1;} .loader {position:relative;width:64px;height:64px;} .loader-ring-outer,
4
- .loader-ring-inner {position:absolute;border-radius:50%;border:3px solid transparent;} .loader-ring-outer {width:64px;height:64px;top:0;left:0;border-top-color:var(--loader-color-primary, #ffcc00);
5
- animation: svelte-pzanec-spin-cw 1s linear infinite;} .loader-ring-inner {width:42px;height:42px;top:11px;left:11px;border-top-color:var(--loader-color-secondary, rgba(255, 255, 255, 0.5019607843));
6
- animation: svelte-pzanec-spin-ccw 0.75s linear infinite;}
7
- @keyframes svelte-pzanec-spin-cw {
8
- to {
9
- transform: rotate(360deg);
10
- }
11
- }
12
- @keyframes svelte-pzanec-spin-ccw {
13
- to {
14
- transform: rotate(-360deg);
15
- }
16
- }`};function K(z,i){var O,V;e.push(i,!0),r.append_styles(z,we);const c=()=>r.store_get(e.$format,"$_",k),[k,v]=r.setup_stores(),h=r.prop(i,"endpoint",7),l=r.prop(i,"session",7),y=r.prop(i,"requiresOptin",7,!1),s=r.prop(i,"language",7,"en"),m=r.prop(i,"outerWheelAsset",7,null),w=r.prop(i,"wheelButtonAsset",7,null),T=r.prop(i,"backgroundVideoAsset",7,null),o=r.prop(i,"liteMode",7,!1),D=r.prop(i,"translationurl",7),U=!e.isServer()&&/iPhone|iPad|iPod/.test(navigator.userAgent),Z=e.isServer()?1/0:(O=navigator.deviceMemory)!=null?O:1/0,X=e.isServer()?1/0:(V=navigator.hardwareConcurrency)!=null?V:1/0;function Q(){try{const t=document.createElement("canvas").getContext("webgl");if(!t)return!1;const f=t.getExtension("WEBGL_debug_renderer_info");if(!f)return!1;const a=t.getParameter(f.UNMASKED_RENDERER_WEBGL).toLowerCase();return/mali-g[0-7]\d(?!\d)|xclipse [0-5]\d\d|adreno \(tm\) [2-6]\d\d/.test(a)}catch(n){return!1}}const $=!e.isServer()&&!U&&(Z<=4||X<=4||Q()),M=e.user_derived(()=>o()||$);r.setupI18n({withLocale:"en",translations:{}});const ee=()=>{let n=new URL(D());fetch(n.href).then(t=>t.json()).then(t=>{Object.keys(t).forEach(f=>{r.addNewMessages(f,t[f])})}).catch(t=>{console.log(t)})};Object.keys(J).forEach(n=>{r.addNewMessages(n,J[n])}),r.setLocale(s());const ne=()=>{r.setLocale(s())};e.user_pre_effect(()=>{D()&&ee()}),e.user_effect(()=>{ne()});let S=e.state(!1),d=e.state(e.proxy([])),F=e.state(!1),j=e.state(!1),b=e.state(null),_=e.state(!1);const re=()=>q(this,null,function*(){e.set(S,!0);const n=new URL(`${h()}/v1/wof/claimable`),t=new Headers;l()&&t.append("X-SessionId",l());const f={method:"GET",headers:t,cache:"no-store"};n.searchParams.append("filter","wheelOfFortune"),fetch(n,f).then(a=>a.json()).then(a=>{var p,A,P,R;if(a&&((p=a.errorMessage)==null?void 0:p.trim())==="InvalidSessionId"){e.set(j,!0),e.set(S,!1);return}if((P=(A=a==null?void 0:a.items)==null?void 0:A.program)!=null&&P.canClaim){e.set(d,(R=a==null?void 0:a.items)==null?void 0:R.program,!0),e.set(S,!1);return}e.set(d,a==null?void 0:a.items,!0)}).catch(a=>{console.log(a),e.set(F,!0)}).finally(()=>{e.set(S,!1),x()})}),te=["wheelOfFortune","flipCoin"].map(n=>`Types[]=${n}`).join(","),ie=()=>q(this,null,function*(){var f,a;e.set(S,!0);const n=new URL(`${h()}/v1/wof/lotteries`),t=new Headers;l()&&t.append("X-SessionId",l()),n.searchParams.append("filter",te);try{const p=yield(yield fetch(n,{method:"GET",headers:t,cache:"no-store"})).json();if(((f=p==null?void 0:p.errorMessage)==null?void 0:f.trim())==="InvalidSessionId"){e.set(j,!0);return}e.set(d,((a=p==null?void 0:p.items)!=null?a:[]).map(A=>e.normalizeProgram(A,s())),!0),e.get(d).length===1&&(e.set(b,e.get(d)[0],!0),e.set(_,!0)),e.get(d).length===0&&window.postMessage({type:"event_wof_no_programs"},window.location.href)}catch(p){console.log(p),e.set(F,!0)}finally{e.set(S,!1),x()}}),ae=n=>{var t;return((t=n==null?void 0:n.type)==null?void 0:t.toLowerCase())==="flipcoin"},x=()=>{const n=Array.isArray(e.get(d))?e.get(d).length:e.get(d)?1:0,t=!!l()&&!e.get(j);window.postMessage({type:"event_hub_accessed",isLoggedIn:t,hasMiniGames:t&&!e.get(F)?n>0:null},window.location.href)},H=n=>{if(n.data)switch(n.data.type){case"PlayMiniGame":e.set(b,e.get(d).find(t=>t.id===n.data.programId),!0);break;case"CloseMiniGame":e.set(b,null),x();break;case"PrizeGameRemainingTimesUpdated":e.set(b,n.data.data,!0),e.set(d,e.get(d).map(t=>t.id===n.data.data.id?n.data.data:t),!0);break}};r.onMount(()=>(l()||setTimeout(x,0),l()&&(y()?re():ie()),window.addEventListener("message",H),()=>{window.removeEventListener("message",H)}));var oe={get endpoint(){return h()},set endpoint(n){h(n),e.flushSync()},get session(){return l()},set session(n){l(n),e.flushSync()},get requiresOptin(){return y()},set requiresOptin(n=!1){y(n),e.flushSync()},get language(){return s()},set language(n="en"){s(n),e.flushSync()},get outerWheelAsset(){return m()},set outerWheelAsset(n=null){m(n),e.flushSync()},get wheelButtonAsset(){return w()},set wheelButtonAsset(n=null){w(n),e.flushSync()},get backgroundVideoAsset(){return T()},set backgroundVideoAsset(n=null){T(n),e.flushSync()},get liteMode(){return o()},set liteMode(n=!1){o(n),e.flushSync()},get translationurl(){return D()},set translationurl(n){D(n),e.flushSync()}},B=ve(),se=e.child(B);{var le=n=>{var t=fe();r.append(n,t)},ue=n=>{var t=r.comment(),f=e.first_child(t);{var a=u=>{I.WheelOfFortune(u,{get outerWheelAsset(){return m()},get wheelButtonAsset(){return w()},get backgroundVideoAsset(){return T()},get language(){return s()},get liteMode(){return e.get(M)}})},p=u=>{{let g=e.user_derived(()=>!e.get(_));he.CoinRoyale(u,{get program(){return e.get(b)},get endpoint(){return h()},get language(){return s()},get session(){return l()},get showBackButton(){return e.get(g)},get liteMode(){return e.get(M)}})}},A=e.user_derived(()=>e.get(b)&&ae(e.get(b))),P=u=>{{let g=e.user_derived(()=>!e.get(_));I.WheelOfFortune(u,{get program(){return e.get(b)},get endpoint(){return h()},get language(){return s()},get session(){return l()},get outerWheelAsset(){return m()},get wheelButtonAsset(){return w()},get backgroundVideoAsset(){return T()},get showBackButton(){return e.get(g)},get liteMode(){return e.get(M)}})}},R=u=>{var g=ye(),C=e.first_child(g),W=e.child(C),N=e.only_child(W,!0),ge=e.sibling(W,2),ce=e.only_child(ge,!0);e.reset(C);var E=e.sibling(C,2);r.each(E,21,()=>e.get(d),r.index,(G,L)=>{me.GameCard(G,{get program(){return e.get(L)}})}),e.reset(E),e.template_effect((G,L)=>{r.set_text(N,G),r.set_text(ce,L)},[()=>c()("hubTitle"),()=>c()("hubSubtitle")]),r.append(u,g)},pe=u=>{var g=be(),C=e.child(g),W=e.only_child(C,!0);e.reset(g),e.template_effect(N=>r.set_text(W,N),[()=>c()("noContent")]),r.append(u,g)};r.if_block(f,u=>{var g;!l()||e.get(j)?u(a):e.get(A)?u(p,1):e.get(b)?u(P,2):((g=e.get(d))==null?void 0:g.length)>1?u(R,3):u(pe,-1)})}r.append(n,t)};r.if_block(se,n=>{e.get(S)?n(le):n(ue,-1)})}e.reset(B),r.append(z,B);var de=e.pop(oe);return v(),de}r.create_custom_element(K,{endpoint:{},session:{},requiresOptin:{},language:{},outerWheelAsset:{},wheelButtonAsset:{},backgroundVideoAsset:{},liteMode:{},translationurl:{}},[],[],{mode:"open"});function Y(z,i){e.push(i,!0);let c=r.prop(i,"endpoint",7),k=r.prop(i,"session",7),v=r.prop(i,"requiresOptin",7,!1),h=r.prop(i,"language",7,"en"),l=r.prop(i,"outerWheelAsset",7,null),y=r.prop(i,"wheelButtonAsset",7,null),s=r.prop(i,"backgroundVideoAsset",7,null),m=r.prop(i,"liteMode",7,!1),w=r.prop(i,"translationurl",7);var T={get endpoint(){return c()},set endpoint(o){c(o),e.flushSync()},get session(){return k()},set session(o){k(o),e.flushSync()},get requiresOptin(){return v()},set requiresOptin(o=!1){v(o),e.flushSync()},get language(){return h()},set language(o="en"){h(o),e.flushSync()},get outerWheelAsset(){return l()},set outerWheelAsset(o=null){l(o),e.flushSync()},get wheelButtonAsset(){return y()},set wheelButtonAsset(o=null){y(o),e.flushSync()},get backgroundVideoAsset(){return s()},set backgroundVideoAsset(o=null){s(o),e.flushSync()},get liteMode(){return m()},set liteMode(o=!1){m(o),e.flushSync()},get translationurl(){return w()},set translationurl(o){w(o),e.flushSync()}};return K(z,{get endpoint(){return c()},get session(){return k()},get requiresOptin(){return v()},get language(){return h()},get outerWheelAsset(){return l()},get wheelButtonAsset(){return y()},get backgroundVideoAsset(){return s()},get liteMode(){return m()},get translationurl(){return w()}}),e.pop(T)}customElements.define("mini-games-hub",r.create_custom_element(Y,{endpoint:{attribute:"endpoint",type:"String"},session:{attribute:"session",type:"String"},requiresOptin:{attribute:"requires-optin",type:"Boolean"},language:{attribute:"language",type:"String"},outerWheelAsset:{attribute:"outer-wheel-asset",type:"String"},wheelButtonAsset:{attribute:"wheel-button-asset",type:"String"},backgroundVideoAsset:{attribute:"background-video-asset",type:"String"},liteMode:{attribute:"lite-mode",type:"Boolean"},translationurl:{attribute:"translationurl",type:"String"}},[],[]));exports.default=Y;
@@ -1 +0,0 @@
1
- "use strict";const t=require("./WheelOfFortuneWheel-CrRAYCB1.cjs"),e=require("./utils-DyVEmMSf.cjs"),ce=require("./error-YyYl7p6_.cjs"),de=require("./sparkles-B3XdFovy.cjs");var E=t.from_html('<span class="button-spinner"></span>'),_e=t.from_html('<div class="confirm-modal-content"><p class="confirm-modal-title"> </p> <p class="confirm-modal-body"></p> <div class="confirm-modal-actions"><button class="primary-cta"><span> </span> <!></button> <button class="secondary-cta"><span> </span> <!></button></div></div>'),L=t.from_html('<h2 class="draw-result-title"> </h2> <p class="draw-result-description"> </p> <div class="draw-result-actions"><button class="secondary-cta"> </button></div>',1),pe=t.from_html('<span class="draw-result-sparkle" aria-hidden="true">✦</span>'),ue=t.from_html('<h2 class="draw-result-title"> <!></h2> <p class="draw-result-description"></p> <div class="draw-result-actions"><button class="primary-cta"><span> </span> <!></button> <button class="secondary-cta"> </button></div>',1),me=t.from_html('<img alt="Error" class="draw-result-error-image"/> <p class="draw-result-description draw-result-description--error"> </p> <div class="draw-result-actions"><button class="secondary-cta"> </button></div>',1),ve=t.from_html('<div class="draw-result-panel"><div class="draw-result-confetti-layer"></div> <!> <div class="draw-result-stack"><!></div></div>');function U(J,w){e.push(w,!0);const r=()=>t.store_get(e.$format,"$_",H),[H,K]=t.setup_stores(),x=t.prop(w,"result",7),M=t.prop(w,"endpoint",7),F=t.prop(w,"session",7),P=t.prop(w,"liteMode",7,!1),T=t.prop(w,"onFetchRemainingTimes",7,()=>{}),D=e.user_derived(()=>x()?.success!==!0),A=e.user_derived(()=>x()?.type),O=e.user_derived(()=>e.get(A)==="noprize"),X=new Set(["loyalty"]),Y={bonus:r()("prizeBonus"),role:r()("prizeRole"),tournament:r()("prizeTournament"),ticket:r()("prizeTicket"),loyalty:r()("prizeLoyalty"),challenge:r()("prizeChallenge"),custom:r()("prizeCustom")},Z=[{t:"-0.7em",l:"5%",s:"0.45em",d:"680ms"},{t:"-0.5em",l:"22%",s:"0.28em",d:"760ms"},{t:"-0.9em",l:"40%",s:"0.38em",d:"820ms"},{t:"-0.6em",l:"58%",s:"0.3em",d:"740ms"},{t:"-0.8em",l:"76%",s:"0.42em",d:"900ms"},{t:"-0.4em",l:"92%",s:"0.25em",d:"860ms"},{t:"0.1em",l:"14%",s:"0.22em",d:"800ms"},{t:"0em",l:"72%",s:"0.2em",d:"950ms"}];let R=e.state(void 0),m=e.state("initial"),d=e.state(null);e.user_effect(()=>{e.get(R)&&e.get(m)==="claimSuccess"&&!P()&&de.burstSuccessConfetti(e.get(R))}),e.user_effect(()=>{(e.get(O)||e.get(D))&&e.untrack(()=>T()())});const q=s=>{const a=new URL(`${M()}/v1/wof/draw/${x().lotteryProgramID}`),i=new Headers;F()&&i.append("X-SessionId",F()),i.append("Content-Type","application/json");const c={action:s,guid:x().guid};return fetch(a,{method:"PUT",headers:i,body:JSON.stringify(c)}).then(o=>o.json())},B=async()=>{e.set(d,"claim");try{const s=await q(0),a=e.normalizeDrawResult(s,"draw"),i=a?.state==="fulfilled"&&a?.completed,c=a?.state==="drawn"&&!a?.completed;i?e.set(m,"claimSuccess"):e.set(m,"claimFailed")}catch(s){console.log(s),e.set(m,"claimFailed")}finally{e.set(d,null),T()()}},Q=async()=>{e.set(d,"reject"),e.set(m,"initial");const s=T();try{window.postMessage({type:"BackToWheel",skipFetch:!0},window.location.href),await q(2),s?.()}catch(a){console.log(a)}finally{e.set(d,null)}},V=()=>{window.postMessage({type:"BackToWheel"},window.location.href)},W=()=>{window.postMessage({type:"SpinAgain"},window.location.href)};var $={get result(){return x()},set result(s){x(s),e.flushSync()},get endpoint(){return M()},set endpoint(s){M(s),e.flushSync()},get session(){return F()},set session(s){F(s),e.flushSync()},get liteMode(){return P()},set liteMode(s=!1){P(s),e.flushSync()},get onFetchRemainingTimes(){return T()},set onFetchRemainingTimes(s=()=>{}){T(s),e.flushSync()}},C=ve(),G=e.child(C);t.bind_this(G,s=>e.set(R,s),()=>e.get(R));var I=e.sibling(G,2);{var ee=s=>{var a=_e(),i=e.child(a),c=e.only_child(i,!0),o=e.sibling(i,2);t.html(o,()=>r()("rejectWarningText"),!0),e.reset(o);var _=e.sibling(o,2),n=e.child(_),l=e.child(n);let p;var u=e.only_child(l,!0),g=e.sibling(l,2);{var h=y=>{var S=E();t.append(y,S)};t.if_block(g,y=>{e.get(d)==="claim"&&y(h)})}e.reset(n);var k=e.sibling(n,2),b=e.child(k);let j;var f=e.only_child(b,!0),v=e.sibling(b,2);{var z=y=>{var S=E();t.append(y,S)};t.if_block(v,y=>{e.get(d)==="reject"&&y(z)})}e.reset(k),e.reset(_),e.reset(a),e.template_effect((y,S,oe)=>{t.set_text(c,y),n.disabled=!!e.get(d),p=t.set_style(l,"",p,{opacity:e.get(d)==="claim"?0:1}),t.set_text(u,S),k.disabled=!!e.get(d),j=t.set_style(b,"",j,{opacity:e.get(d)==="reject"?0:1}),t.set_text(f,oe)},[()=>r()("areYouSure"),()=>r()("keepPrize"),()=>r()("rejectPrize")]),t.delegated("click",n,B),t.delegated("click",k,Q),t.append(s,a)};t.if_block(I,s=>{e.get(m)==="rejectModal"&&s(ee)})}var N=e.sibling(I,2),te=e.child(N);{var se=s=>{var a=L(),i=e.first_child(a),c=e.only_child(i,!0),o=e.sibling(i,2),_=e.only_child(o,!0),n=e.sibling(o,2),l=e.child(n),p=e.only_child(l,!0);e.reset(n),e.template_effect((u,g,h)=>{t.set_text(c,u),t.set_text(_,g),t.set_text(p,h)},[()=>r()("prizeAssignedTitle"),()=>r()("prizeAssigned"),()=>r()("backToGame")]),t.delegated("click",l,V),t.append(s,a)},ae=s=>{var a=L(),i=e.first_child(a),c=e.only_child(i,!0),o=e.sibling(i,2),_=e.only_child(o,!0),n=e.sibling(o,2),l=e.child(n),p=e.only_child(l,!0);e.reset(n),e.template_effect((u,g,h)=>{t.set_text(c,u),t.set_text(_,g),t.set_text(p,h)},[()=>r()("drawFailedTitle"),()=>r()("drawFailed"),()=>r()("backToGame")]),t.delegated("click",l,W),t.append(s,a)},re=s=>{var a=L(),i=e.first_child(a),c=e.only_child(i,!0),o=e.sibling(i,2),_=e.only_child(o,!0),n=e.sibling(o,2),l=e.child(n),p=e.only_child(l,!0);e.reset(n),e.template_effect((u,g,h)=>{t.set_text(c,u),t.set_text(_,g),l.disabled=!!e.get(d),t.set_text(p,h)},[()=>r()("noPrizeTitle"),()=>r()("noPrize"),()=>r()("spinAgain")]),t.delegated("click",l,W),t.append(s,a)},ie=s=>{var a=ue(),i=e.first_child(a),c=e.child(i),o=e.sibling(c);t.each(o,17,()=>Z,t.index,(f,v)=>{var z=pe();e.template_effect(()=>t.set_style(z,`top:${e.get(v).t??""};left:${e.get(v).l??""};font-size:${e.get(v).s??""};animation-delay:${e.get(v).d??""}`)),t.append(f,z)}),e.reset(i);var _=e.sibling(i,2);t.html(_,()=>r()("success",{values:{prize:Y[e.get(A)],form:X.has(e.get(A))?"plural":"singular"}}),!0),e.reset(_);var n=e.sibling(_,2),l=e.child(n),p=e.child(l);let u;var g=e.only_child(p,!0),h=e.sibling(p,2);{var k=f=>{var v=E();t.append(f,v)};t.if_block(h,f=>{e.get(d)==="claim"&&f(k)})}e.reset(l);var b=e.sibling(l,2),j=e.only_child(b,!0);e.reset(n),e.template_effect((f,v,z)=>{t.set_text(c,`${f??""} `),l.disabled=!!e.get(d),u=t.set_style(p,"",u,{opacity:e.get(d)==="claim"?0:1}),t.set_text(g,v),b.disabled=!!e.get(d),t.set_text(j,z)},[()=>r()("congratulations"),()=>r()("claimReward"),()=>r()("reject")]),t.delegated("click",l,B),t.delegated("click",b,()=>e.set(m,"rejectModal")),t.append(s,a)},le=s=>{var a=me(),i=e.first_child(a),c=e.sibling(i,2),o=e.only_child(c,!0),_=e.sibling(c,2),n=e.child(_),l=e.only_child(n,!0);e.reset(_),e.template_effect((p,u)=>{t.set_attribute(i,"src",ce.Error),t.set_text(o,p),t.set_text(l,u)},[()=>r()("errorJSON"),()=>r()("backToGame")]),t.delegated("click",n,W),t.append(s,a)};t.if_block(te,s=>{e.get(m)==="claimSuccess"?s(se):e.get(m)==="claimFailed"?s(ae,1):e.get(O)?s(re,2):e.get(D)?s(le,-1):s(ie,3)})}e.reset(N),e.reset(C),t.append(J,C);var ne=e.pop($);return K(),ne}t.delegate(["click"]);t.create_custom_element(U,{result:{},endpoint:{},session:{},liteMode:{},onFetchRemainingTimes:{}},[],[],{mode:"open"});exports.WheelOfFortuneDrawResults=U;