@everymatrix/casino-promotions-nd 1.0.69 → 1.0.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,5 @@
1
+ "use strict";var fn=Object.defineProperty,pn=Object.defineProperties;var mn=Object.getOwnPropertyDescriptors;var St=Object.getOwnPropertySymbols;var dn=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable;var Qe=(e,t,r)=>t in e?fn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ht=(e,t)=>{for(var r in t||(t={}))dn.call(t,r)&&Qe(e,r,t[r]);if(St)for(var r of St(t))gn.call(t,r)&&Qe(e,r,t[r]);return e},Bt=(e,t)=>pn(e,mn(t));var Z=(e,t,r)=>Qe(e,typeof t!="symbol"?t+"":t,r);var Je=(e,t,r)=>new Promise((n,o)=>{var i=l=>{try{a(r.next(l))}catch(u){o(u)}},s=l=>{try{a(r.throw(l))}catch(u){o(u)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(i,s);a((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function Q(){}function dr(e){return e()}function Pt(){return Object.create(null)}function xe(e){e.forEach(dr)}function Le(e){return typeof e=="function"}function gr(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Ne;function ie(e,t){return e===t?!0:(Ne||(Ne=document.createElement("a")),Ne.href=t,e===Ne.href)}function At(e){return e.split(",").map(t=>t.trim().split(" ").filter(Boolean))}function _t(e,t){const r=At(e.srcset),n=At(t||"");return n.length===r.length&&n.every(([o,i],s)=>i===r[s][1]&&(ie(r[s][0],o)||ie(o,r[s][0])))}function vn(e){return Object.keys(e).length===0}function vr(e,...t){if(e==null){for(const n of t)n(void 0);return Q}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function bn(e,t,r){e.$$.on_destroy.push(vr(t,r))}function g(e,t){e.appendChild(t)}function yn(e,t,r){const n=_n(e);if(!n.getElementById(t)){const o=b("style");o.id=t,o.textContent=r,xn(n,o)}}function _n(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function xn(e,t){return g(e.head||e,t),t.sheet}function U(e,t,r){e.insertBefore(t,r||null)}function R(e){e.parentNode&&e.parentNode.removeChild(e)}function Pe(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function b(e){return document.createElement(e)}function se(e){return document.createTextNode(e)}function F(){return se(" ")}function br(){return se("")}function ae(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function p(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function En(e){return Array.from(e.childNodes)}function Ie(e,t){t=""+t,e.data!==t&&(e.data=t)}let Me;function wn(){if(Me===void 0){Me=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(e){Me=!0}}return Me}function Tn(e,t){getComputedStyle(e).position==="static"&&(e.style.position="relative");const n=b("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const o=wn();let i;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",i=ae(window,"message",s=>{s.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{i=ae(n.contentWindow,"resize",t),t()}),g(e,n),()=>{(o||i&&n.contentWindow)&&i(),R(n)}}function Ct(e,t,r){e.classList.toggle(t,!!r)}function Sn(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let Ae;function Be(e){Ae=e}function Hn(){if(!Ae)throw new Error("Function called outside component initialization");return Ae}function Bn(e){Hn().$$.on_mount.push(e)}const pe=[],me=[];let de=[];const Ot=[],yr=Promise.resolve();let st=!1;function _r(){st||(st=!0,yr.then(Y))}function Pn(){return _r(),yr}function Ge(e){de.push(e)}const Ye=new Set;let he=0;function Y(){if(he!==0)return;const e=Ae;do{try{for(;he<pe.length;){const t=pe[he];he++,Be(t),An(t.$$)}}catch(t){throw pe.length=0,he=0,t}for(Be(null),pe.length=0,he=0;me.length;)me.pop()();for(let t=0;t<de.length;t+=1){const r=de[t];Ye.has(r)||(Ye.add(r),r())}de.length=0}while(pe.length);for(;Ot.length;)Ot.pop()();st=!1,Ye.clear(),Be(e)}function An(e){if(e.fragment!==null){e.update(),xe(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Ge)}}function Cn(e){const t=[],r=[];de.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),de=t}const On=new Set;function Ln(e,t){e&&e.i&&(On.delete(e),e.i(t))}function K(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function In(e,t,r){const{fragment:n,after_update:o}=e.$$;n&&n.m(t,r),Ge(()=>{const i=e.$$.on_mount.map(dr).filter(Le);e.$$.on_destroy?e.$$.on_destroy.push(...i):xe(i),e.$$.on_mount=[]}),o.forEach(Ge)}function Nn(e,t){const r=e.$$;r.fragment!==null&&(Cn(r.after_update),xe(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Mn(e,t){e.$$.dirty[0]===-1&&(pe.push(e),_r(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Rn(e,t,r,n,o,i,s=null,a=[-1]){const l=Ae;Be(e);const u=e.$$={fragment:null,ctx:[],props:i,update:Q,not_equal:o,bound:Pt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:Pt(),dirty:a,skip_bound:!1,root:t.target||l.$$.root};s&&s(u.root);let c=!1;if(u.ctx=r?r(e,t.props||{},(h,f,...m)=>{const v=m.length?m[0]:f;return u.ctx&&o(u.ctx[h],u.ctx[h]=v)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](v),c&&Mn(e,h)),f}):[],u.update(),c=!0,xe(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const h=En(t.target);u.fragment&&u.fragment.l(h),h.forEach(R)}else u.fragment&&u.fragment.c();t.intro&&Ln(e.$$.fragment),In(e,t.target,t.anchor),Y()}Be(l)}let xr;typeof HTMLElement=="function"&&(xr=class extends HTMLElement{constructor(t,r,n){super();Z(this,"$$ctor");Z(this,"$$s");Z(this,"$$c");Z(this,"$$cn",!1);Z(this,"$$d",{});Z(this,"$$r",!1);Z(this,"$$p_d",{});Z(this,"$$l",{});Z(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const o=this.$$c.$on(t,r);this.$$l_u.set(r,o)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const o=this.$$l_u.get(r);o&&(o(),this.$$l_u.delete(r))}}connectedCallback(){return Je(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let s;return{c:function(){s=b("slot"),i!=="default"&&p(s,"name",i)},m:function(u,c){U(u,s,c)},d:function(u){u&&R(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Sn(this);for(const i of this.$$s)i in n&&(r[i]=[t(i)]);for(const i of this.attributes){const s=this.$$g_p(i.name);s in this.$$d||(this.$$d[s]=Fe(s,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Bt(Ht({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const o=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const s=Fe(i,this.$$d[i],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,s)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const i in this.$$l)for(const s of this.$$l[i]){const a=this.$$c.$on(i,s);this.$$l_u.set(s,a)}this.$$l={}}})}attributeChangedCallback(t,r,n){var o;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Fe(t,n,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Fe(e,t,r,n){var i;const o=(i=r[e])==null?void 0:i.type;if(t=o==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(o){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Dn(e,t,r,n,o,i){let s=class extends xr{constructor(){super(e,r,o),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){var u;l=Fe(a,l,t),this.$$d[a]=l,(u=this.$$c)==null||u.$set({[a]:l})}})}),n.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var l;return(l=this.$$c)==null?void 0:l[a]}})}),e.element=s,s}class Fn{constructor(){Z(this,"$$");Z(this,"$$set")}$destroy(){Nn(this,1),this.$destroy=Q}$on(t,r){if(!Le(r))return Q;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const o=n.indexOf(r);o!==-1&&n.splice(o,1)}}$set(t){this.$$set&&!vn(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Un="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Un);const fe=[];function kn(e,t){return{subscribe:ze(e,t).subscribe}}function ze(e,t=Q){let r;const n=new Set;function o(a){if(gr(e,a)&&(e=a,r)){const l=!fe.length;for(const u of n)u[1](),fe.push(u,e);if(l){for(let u=0;u<fe.length;u+=2)fe[u][0](fe[u+1]);fe.length=0}}}function i(a){o(a(e))}function s(a,l=Q){const u=[a,l];return n.add(u),n.size===1&&(r=t(o,i)||Q),a(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:o,update:i,subscribe:s}}function Ee(e,t,r){const n=!Array.isArray(e),o=n?[e]:e;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=t.length<2;return kn(r,(s,a)=>{let l=!1;const u=[];let c=0,h=Q;const f=()=>{if(c)return;h();const v=t(n?u[0]:u,s,a);i?s(v):h=Le(v)?v:Q},m=o.map((v,y)=>vr(v,I=>{u[y]=I,c&=~(1<<y),l&&f()},()=>{c|=1<<y}));return l=!0,f(),function(){xe(m),h(),l=!1}})}function $n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Gn=function(t){return jn(t)&&!Vn(t)};function jn(e){return!!e&&typeof e=="object"}function Vn(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Wn(e)}var zn=typeof Symbol=="function"&&Symbol.for,Xn=zn?Symbol.for("react.element"):60103;function Wn(e){return e.$$typeof===Xn}function Zn(e){return Array.isArray(e)?[]:{}}function Ce(e,t){return t.clone!==!1&&t.isMergeableObject(e)?ve(Zn(e),e,t):e}function qn(e,t,r){return e.concat(t).map(function(n){return Ce(n,r)})}function Qn(e,t){if(!t.customMerge)return ve;var r=t.customMerge(e);return typeof r=="function"?r:ve}function Jn(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Lt(e){return Object.keys(e).concat(Jn(e))}function Er(e,t){try{return t in e}catch(r){return!1}}function Yn(e,t){return Er(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Kn(e,t,r){var n={};return r.isMergeableObject(e)&&Lt(e).forEach(function(o){n[o]=Ce(e[o],r)}),Lt(t).forEach(function(o){Yn(e,o)||(Er(e,o)&&r.isMergeableObject(t[o])?n[o]=Qn(o,r)(e[o],t[o],r):n[o]=Ce(t[o],r))}),n}function ve(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||qn,r.isMergeableObject=r.isMergeableObject||Gn,r.cloneUnlessOtherwiseSpecified=Ce;var n=Array.isArray(t),o=Array.isArray(e),i=n===o;return i?n?r.arrayMerge(e,t,r):Kn(e,t,r):Ce(t,r)}ve.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return ve(n,o,r)},{})};var eo=ve,to=eo;const ro=$n(to);var at=function(e,t){return at=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},at(e,t)};function te(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");at(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var A=function(){return A=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},A.apply(this,arguments)};function no(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 o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function lt(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ut(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i}function ge(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var S;(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"})(S||(S={}));var M;(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"})(M||(M={}));var be;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(be||(be={}));function It(e){return e.type===M.literal}function oo(e){return e.type===M.argument}function wr(e){return e.type===M.number}function Tr(e){return e.type===M.date}function Sr(e){return e.type===M.time}function Hr(e){return e.type===M.select}function Br(e){return e.type===M.plural}function io(e){return e.type===M.pound}function Pr(e){return e.type===M.tag}function Ar(e){return!!(e&&typeof e=="object"&&e.type===be.number)}function ct(e){return!!(e&&typeof e=="object"&&e.type===be.dateTime)}var Cr=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,so=/(?:[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 ao(e){var t={};return e.replace(so,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 lo=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function uo(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(lo).filter(function(f){return f.length>0}),r=[],n=0,o=t;n<o.length;n++){var i=o[n],s=i.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],l=s.slice(1),u=0,c=l;u<c.length;u++){var h=c[u];if(h.length===0)throw new Error("Invalid number skeleton")}r.push({stem:a,options:l})}return r}function co(e){return e.replace(/^(.*?)-/,"")}var Nt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Or=/^(@+)?(\+|#+)?[rs]?$/g,ho=/(\*)(0+)|(#+)(0+)|(0+)/g,Lr=/^(0+)$/;function Mt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Or,function(r,n,o){return typeof o!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):o==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof o=="string"?o.length:0)),""}),t}function Ir(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 fo(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)),!Lr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Rt(e){var t={},r=Ir(e);return r||t}function po(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.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=co(o.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=A(A(A({},t),{notation:"scientific"}),o.options.reduce(function(l,u){return A(A({},l),Rt(u))},{}));continue;case"engineering":t=A(A(A({},t),{notation:"engineering"}),o.options.reduce(function(l,u){return A(A({},l),Rt(u))},{}));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(o.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(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(ho,function(l,u,c,h,f,m){if(u)t.minimumIntegerDigits=c.length;else{if(h&&f)throw new Error("We currently do not support maximum integer digits");if(m)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Lr.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue}if(Nt.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Nt,function(l,u,c,h,f,m){return c==="*"?t.minimumFractionDigits=u.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:f&&m?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+m.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var i=o.options[0];i==="w"?t=A(A({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=A(A({},t),Mt(i)));continue}if(Or.test(o.stem)){t=A(A({},t),Mt(o.stem));continue}var s=Ir(o.stem);s&&(t=A(A({},t),s));var a=fo(o.stem);a&&(t=A(A({},t),a))}return t}var Re={"001":["H","h"],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","hB","h","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","hB","h","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","hB","h","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"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["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 mo(e,t){for(var r="",n=0;n<e.length;n++){var o=e.charAt(n);if(o==="j"){for(var i=0;n+1<e.length&&e.charAt(n+1)===o;)i++,n++;var s=1+(i&1),a=i<2?1:3+(i>>1),l="a",u=go(t);for((u=="H"||u=="k")&&(a=0);a-- >0;)r+=l;for(;s-- >0;)r=u+r}else o==="J"?r+="H":r+=o}return r}function go(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 o=Re[n||""]||Re[r||""]||Re["".concat(r,"-001")]||Re["001"];return o[0]}var Ke,vo=new RegExp("^".concat(Cr.source,"*")),bo=new RegExp("".concat(Cr.source,"*$"));function H(e,t){return{start:e,end:t}}var yo=!!String.prototype.startsWith&&"_a".startsWith("a",1),_o=!!String.fromCodePoint,xo=!!Object.fromEntries,Eo=!!String.prototype.codePointAt,wo=!!String.prototype.trimStart,To=!!String.prototype.trimEnd,So=!!Number.isSafeInteger,Ho=So?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ht=!0;try{var Bo=Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ht=((Ke=Bo.exec("a"))===null||Ke===void 0?void 0:Ke[0])==="a"}catch(e){ht=!1}var Dt=yo?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},ft=_o?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",o=t.length,i=0,s;o>i;){if(s=t[i++],s>1114111)throw RangeError(s+" is not a valid code point");n+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return n},Ft=xo?Object.fromEntries:function(t){for(var r={},n=0,o=t;n<o.length;n++){var i=o[n],s=i[0],a=i[1];r[s]=a}return r},Nr=Eo?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var o=t.charCodeAt(r),i;return o<55296||o>56319||r+1===n||(i=t.charCodeAt(r+1))<56320||i>57343?o:(o-55296<<10)+(i-56320)+65536}},Po=wo?function(t){return t.trimStart()}:function(t){return t.replace(vo,"")},Ao=To?function(t){return t.trimEnd()}:function(t){return t.replace(bo,"")};function Mr(e,t){return new RegExp(e,t)}var pt;if(ht){var Ut=Mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");pt=function(t,r){var n;Ut.lastIndex=r;var o=Ut.exec(t);return(n=o[1])!==null&&n!==void 0?n:""}}else pt=function(t,r){for(var n=[];;){var o=Nr(t,r);if(o===void 0||Rr(o)||Io(o))break;n.push(o),r+=o>=65536?2:1}return ft.apply(void 0,n)};var Co=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 o=[];!this.isEOF();){var i=this.char();if(i===123){var s=this.parseArgument(t,n);if(s.err)return s;o.push(s.val)}else{if(i===125&&t>0)break;if(i===35&&(r==="plural"||r==="selectordinal")){var a=this.clonePosition();this.bump(),o.push({type:M.pound,location:H(a,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(S.UNMATCHED_CLOSING_TAG,H(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&mt(this.peek()||0)){var s=this.parseTag(t,r);if(s.err)return s;o.push(s.val)}else{var s=this.parseLiteral(t,r);if(s.err)return s;o.push(s.val)}}}return{val:o,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:M.literal,value:"<".concat(o,"/>"),location:H(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(t+1,r,!0);if(i.err)return i;var s=i.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!mt(this.char()))return this.error(S.INVALID_TAG,H(a,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return o!==u?this.error(S.UNMATCHED_CLOSING_TAG,H(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:M.tag,value:o,children:s,location:H(n,this.clonePosition())},err:null}:this.error(S.INVALID_TAG,H(a,this.clonePosition())))}else return this.error(S.UNCLOSED_TAG,H(n,this.clonePosition()))}else return this.error(S.INVALID_TAG,H(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Lo(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),o="";;){var i=this.tryParseQuote(r);if(i){o+=i;continue}var s=this.tryParseUnquoted(t,r);if(s){o+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){o+=a;continue}break}var l=H(n,this.clonePosition());return{val:{type:M.literal,value:o,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Oo(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 ft.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(),ft(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(S.EMPTY_ARGUMENT,H(n,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(S.MALFORMED_ARGUMENT,H(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:M.argument,value:o,location:H(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition())):this.parseArgumentOptions(t,r,o,n);default:return this.error(S.MALFORMED_ARGUMENT,H(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=pt(this.message,r),o=r+n.length;this.bumpTo(o);var i=this.clonePosition(),s=H(t,i);return{value:n,location:s}},e.prototype.parseArgumentOptions=function(t,r,n,o){var i,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(a){case"":return this.error(S.EXPECT_ARGUMENT_TYPE,H(s,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var f=Ao(h.val);if(f.length===0)return this.error(S.EXPECT_ARGUMENT_STYLE,H(this.clonePosition(),this.clonePosition()));var m=H(c,this.clonePosition());u={style:f,styleLocation:m}}var v=this.tryParseArgumentClose(o);if(v.err)return v;var y=H(o,this.clonePosition());if(u&&Dt(u==null?void 0:u.style,"::",0)){var I=Po(u.style.slice(2));if(a==="number"){var h=this.parseNumberSkeletonFromString(I,u.styleLocation);return h.err?h:{val:{type:M.number,value:n,location:y,style:h.val},err:null}}else{if(I.length===0)return this.error(S.EXPECT_DATE_TIME_SKELETON,y);var B=I;this.locale&&(B=mo(I,this.locale));var f={type:be.dateTime,pattern:B,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?ao(B):{}},E=a==="date"?M.date:M.time;return{val:{type:E,value:n,location:y,style:f},err:null}}}return{val:{type:a==="number"?M.number:a==="date"?M.date:M.time,value:n,location:y,style:(i=u==null?void 0:u.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var T=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS,H(T,A({},T)));this.bumpSpace();var O=this.parseIdentifierIfPossible(),_=0;if(a!=="select"&&O.value==="offset"){if(!this.bumpIf(":"))return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),O=this.parseIdentifierIfPossible(),_=h.val}var C=this.tryParsePluralOrSelectOptions(t,a,r,O);if(C.err)return C;var v=this.tryParseArgumentClose(o);if(v.err)return v;var L=H(o,this.clonePosition());return a==="select"?{val:{type:M.select,value:n,options:Ft(C.val),location:L},err:null}:{val:{type:M.plural,value:n,options:Ft(C.val),offset:_,pluralType:a==="plural"?"cardinal":"ordinal",location:L},err:null}}default:return this.error(S.INVALID_ARGUMENT_TYPE,H(s,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,H(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 o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,H(o,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=uo(t)}catch(o){return this.error(S.INVALID_NUMBER_SKELETON,r)}return{val:{type:be.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?po(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,o){for(var i,s=!1,a=[],l=new Set,u=o.value,c=o.location;;){if(u.length===0){var h=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR,S.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;c=H(h,this.clonePosition()),u=this.message.slice(h.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?S.DUPLICATE_SELECT_ARGUMENT_SELECTOR:S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(s=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,H(this.clonePosition(),this.clonePosition()));var v=this.parseMessage(t+1,r,n);if(v.err)return v;var y=this.tryParseArgumentClose(m);if(y.err)return y;a.push([u,{value:v.val,location:H(m,this.clonePosition())}]),l.add(u),this.bumpSpace(),i=this.parseIdentifierIfPossible(),u=i.value,c=i.location}return a.length===0?this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR:S.EXPECT_PLURAL_ARGUMENT_SELECTOR,H(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(S.MISSING_OTHER_CLAUSE,H(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)i=!0,s=s*10+(a-48),this.bump();else break}var l=H(o,this.clonePosition());return i?(s*=n,Ho(s)?{val:s,err:null}:this.error(r,l)):this.error(t,l)},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=Nr(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(Dt(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()&&Rr(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 mt(e){return e>=97&&e<=122||e>=65&&e<=90}function Oo(e){return mt(e)||e===47}function Lo(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 Rr(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Io(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 dt(e){e.forEach(function(t){if(delete t.location,Hr(t)||Br(t))for(var r in t.options)delete t.options[r].location,dt(t.options[r].value);else wr(t)&&Ar(t.style)||(Tr(t)||Sr(t))&&ct(t.style)?delete t.style.location:Pr(t)&&dt(t.children)})}function No(e,t){t===void 0&&(t={}),t=A({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Co(e,t).parse();if(r.err){var n=SyntaxError(S[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||dt(r.val),r.val}function et(e,t){var r=t&&t.cache?t.cache:ko,n=t&&t.serializer?t.serializer:Uo,o=t&&t.strategy?t.strategy:Ro;return o(e,{cache:r,serializer:n})}function Mo(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Dr(e,t,r,n){var o=Mo(n)?n:r(n),i=t.get(o);return typeof i=="undefined"&&(i=e.call(this,n),t.set(o,i)),i}function Fr(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),i=t.get(o);return typeof i=="undefined"&&(i=e.apply(this,n),t.set(o,i)),i}function xt(e,t,r,n,o){return r.bind(t,e,n,o)}function Ro(e,t){var r=e.length===1?Dr:Fr;return xt(e,this,r,t.cache.create(),t.serializer)}function Do(e,t){return xt(e,this,Fr,t.cache.create(),t.serializer)}function Fo(e,t){return xt(e,this,Dr,t.cache.create(),t.serializer)}var Uo=function(){return JSON.stringify(arguments)};function Et(){this.cache=Object.create(null)}Et.prototype.get=function(e){return this.cache[e]};Et.prototype.set=function(e,t){this.cache[e]=t};var ko={create:function(){return new Et}},tt={variadic:Do,monadic:Fo},ye;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(ye||(ye={}));var Xe=function(e){te(t,e);function t(r,n,o){var i=e.call(this,r)||this;return i.code=n,i.originalMessage=o,i}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),kt=function(e){te(t,e);function t(r,n,o,i){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(o).join('", "'),'"'),ye.INVALID_VALUE,i)||this}return t}(Xe),$o=function(e){te(t,e);function t(r,n,o){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),ye.INVALID_VALUE,o)||this}return t}(Xe),Go=function(e){te(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,'"'),ye.MISSING_VALUE,n)||this}return t}(Xe),X;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(X||(X={}));function jo(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==X.literal||r.type!==X.literal?t.push(r):n.value+=r.value,t},[])}function Vo(e){return typeof e=="function"}function Ue(e,t,r,n,o,i,s){if(e.length===1&&It(e[0]))return[{type:X.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];if(It(c)){a.push({type:X.literal,value:c.value});continue}if(io(c)){typeof i=="number"&&a.push({type:X.literal,value:r.getNumberFormat(t).format(i)});continue}var h=c.value;if(!(o&&h in o))throw new Go(h,s);var f=o[h];if(oo(c)){(!f||typeof f=="string"||typeof f=="number")&&(f=typeof f=="string"||typeof f=="number"?String(f):""),a.push({type:typeof f=="string"?X.literal:X.object,value:f});continue}if(Tr(c)){var m=typeof c.style=="string"?n.date[c.style]:ct(c.style)?c.style.parsedOptions:void 0;a.push({type:X.literal,value:r.getDateTimeFormat(t,m).format(f)});continue}if(Sr(c)){var m=typeof c.style=="string"?n.time[c.style]:ct(c.style)?c.style.parsedOptions:n.time.medium;a.push({type:X.literal,value:r.getDateTimeFormat(t,m).format(f)});continue}if(wr(c)){var m=typeof c.style=="string"?n.number[c.style]:Ar(c.style)?c.style.parsedOptions:void 0;m&&m.scale&&(f=f*(m.scale||1)),a.push({type:X.literal,value:r.getNumberFormat(t,m).format(f)});continue}if(Pr(c)){var v=c.children,y=c.value,I=o[y];if(!Vo(I))throw new $o(y,"function",s);var B=Ue(v,t,r,n,o,i),E=I(B.map(function(_){return _.value}));Array.isArray(E)||(E=[E]),a.push.apply(a,E.map(function(_){return{type:typeof _=="string"?X.literal:X.object,value:_}}))}if(Hr(c)){var T=c.options[f]||c.options.other;if(!T)throw new kt(c.value,f,Object.keys(c.options),s);a.push.apply(a,Ue(T.value,t,r,n,o));continue}if(Br(c)){var T=c.options["=".concat(f)];if(!T){if(!Intl.PluralRules)throw new Xe(`Intl.PluralRules is not available in this environment.
2
+ Try polyfilling it using "@formatjs/intl-pluralrules"
3
+ `,ye.MISSING_INTL_API,s);var O=r.getPluralRules(t,{type:c.pluralType}).select(f-(c.offset||0));T=c.options[O]||c.options.other}if(!T)throw new kt(c.value,f,Object.keys(c.options),s);a.push.apply(a,Ue(T.value,t,r,n,o,f-(c.offset||0)));continue}}return jo(a)}function zo(e,t){return t?A(A(A({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=A(A({},e[n]),t[n]||{}),r},{})):e}function Xo(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=zo(e[n],t[n]),r},A({},e)):e}function rt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Wo(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:et(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,ge([void 0],r,!1)))},{cache:rt(e.number),strategy:tt.variadic}),getDateTimeFormat:et(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,ge([void 0],r,!1)))},{cache:rt(e.dateTime),strategy:tt.variadic}),getPluralRules:et(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,ge([void 0],r,!1)))},{cache:rt(e.pluralRules),strategy:tt.variadic})}}var Zo=function(){function e(t,r,n,o){var i=this;if(r===void 0&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=i.formatToParts(l);if(u.length===1)return u[0].value;var c=u.reduce(function(h,f){return!h.length||f.type!==X.literal||typeof h[h.length-1]!="string"?h.push(f.value):h[h.length-1]+=f.value,h},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return Ue(i.ast,i.locales,i.formatters,i.formats,l,void 0,i.message)},this.resolvedOptions=function(){var l;return{locale:((l=i.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.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 s=o||{};s.formatters;var a=no(s,["formatters"]);this.ast=e.__parse(t,A(A({},a),{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=Xo(e.formats,n),this.formatters=o&&o.formatters||Wo(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=No,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 qo(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let o=0;o<r.length;o++)if(typeof n=="object"){if(o>0){const i=r.slice(o,r.length).join(".");if(i in n){n=n[i];break}}n=n[r[o]]}else n=void 0;return n}const oe={},Qo=(e,t,r)=>r&&(t in oe||(oe[t]={}),e in oe[t]||(oe[t][e]=r),r),Ur=(e,t)=>{if(t==null)return;if(t in oe&&e in oe[t])return oe[t][e];const r=We(t);for(let n=0;n<r.length;n++){const o=r[n],i=Yo(o,e);if(i)return Qo(e,t,i)}};let wt;const we=ze({});function Jo(e){return wt[e]||null}function kr(e){return e in wt}function Yo(e,t){if(!kr(e))return null;const r=Jo(e);return qo(r,t)}function Ko(e){if(e==null)return;const t=We(e);for(let r=0;r<t.length;r++){const n=t[r];if(kr(n))return n}}function $r(e,...t){delete oe[e],we.update(r=>(r[e]=ro.all([r[e]||{},...t]),r))}Ee([we],([e])=>Object.keys(e));we.subscribe(e=>wt=e);const ke={};function ei(e,t){ke[e].delete(t),ke[e].size===0&&delete ke[e]}function Gr(e){return ke[e]}function ti(e){return We(e).map(t=>{const r=Gr(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function gt(e){return e==null?!1:We(e).some(t=>{var r;return(r=Gr(t))==null?void 0:r.size})}function ri(e,t){return Promise.all(t.map(n=>(ei(e,n),n().then(o=>o.default||o)))).then(n=>$r(e,...n))}const He={};function jr(e){if(!gt(e))return e in He?He[e]:Promise.resolve();const t=ti(e);return He[e]=Promise.all(t.map(([r,n])=>ri(r,n))).then(()=>{if(gt(e))return jr(e);delete He[e]}),He[e]}const ni={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"}}},oi={fallbackLocale:null,loadingDelay:200,formats:ni,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},ii=oi;function _e(){return ii}const nt=ze(!1);var si=Object.defineProperty,ai=Object.defineProperties,li=Object.getOwnPropertyDescriptors,$t=Object.getOwnPropertySymbols,ui=Object.prototype.hasOwnProperty,ci=Object.prototype.propertyIsEnumerable,Gt=(e,t,r)=>t in e?si(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,hi=(e,t)=>{for(var r in t||(t={}))ui.call(t,r)&&Gt(e,r,t[r]);if($t)for(var r of $t(t))ci.call(t,r)&&Gt(e,r,t[r]);return e},fi=(e,t)=>ai(e,li(t));let vt;const je=ze(null);function jt(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function We(e,t=_e().fallbackLocale){const r=jt(e);return t?[...new Set([...r,...jt(t)])]:r}function ue(){return vt!=null?vt:void 0}je.subscribe(e=>{vt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const pi=e=>{if(e&&Ko(e)&&gt(e)){const{loadingDelay:t}=_e();let r;return typeof window!="undefined"&&ue()!=null&&t?r=window.setTimeout(()=>nt.set(!0),t):nt.set(!0),jr(e).then(()=>{je.set(e)}).finally(()=>{clearTimeout(r),nt.set(!1)})}return je.set(e)},le=fi(hi({},je),{set:pi}),Ze=e=>{const t=Object.create(null);return n=>{const o=JSON.stringify(n);return o in t?t[o]:t[o]=e(n)}};var mi=Object.defineProperty,Ve=Object.getOwnPropertySymbols,Vr=Object.prototype.hasOwnProperty,zr=Object.prototype.propertyIsEnumerable,Vt=(e,t,r)=>t in e?mi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Tt=(e,t)=>{for(var r in t||(t={}))Vr.call(t,r)&&Vt(e,r,t[r]);if(Ve)for(var r of Ve(t))zr.call(t,r)&&Vt(e,r,t[r]);return e},Te=(e,t)=>{var r={};for(var n in e)Vr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Ve)for(var n of Ve(e))t.indexOf(n)<0&&zr.call(e,n)&&(r[n]=e[n]);return r};const Oe=(e,t)=>{const{formats:r}=_e();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},di=Ze(e=>{var t=e,{locale:r,format:n}=t,o=Te(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(o=Oe("number",n)),new Intl.NumberFormat(r,o)}),gi=Ze(e=>{var t=e,{locale:r,format:n}=t,o=Te(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?o=Oe("date",n):Object.keys(o).length===0&&(o=Oe("date","short")),new Intl.DateTimeFormat(r,o)}),vi=Ze(e=>{var t=e,{locale:r,format:n}=t,o=Te(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?o=Oe("time",n):Object.keys(o).length===0&&(o=Oe("time","short")),new Intl.DateTimeFormat(r,o)}),bi=(e={})=>{var t=e,{locale:r=ue()}=t,n=Te(t,["locale"]);return di(Tt({locale:r},n))},yi=(e={})=>{var t=e,{locale:r=ue()}=t,n=Te(t,["locale"]);return gi(Tt({locale:r},n))},_i=(e={})=>{var t=e,{locale:r=ue()}=t,n=Te(t,["locale"]);return vi(Tt({locale:r},n))},xi=Ze((e,t=ue())=>new Zo(e,t,_e().formats,{ignoreTag:_e().ignoreTag})),Ei=(e,t={})=>{var r,n,o,i;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:l=ue(),default:u}=s;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ur(e,l);if(!c)c=(i=(o=(n=(r=_e()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?o:u)!=null?i:e;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!a)return c;let h=c;try{h=xi(c,l).format(a)}catch(f){f instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,f.message)}return h},wi=(e,t)=>_i(t).format(e),Ti=(e,t)=>yi(t).format(e),Si=(e,t)=>bi(t).format(e),Hi=(e,t=ue())=>Ur(e,t),Bi=Ee([le,we],()=>Ei);Ee([le],()=>wi);Ee([le],()=>Ti);Ee([le],()=>Si);Ee([le,we],()=>Hi);function Pi({withLocale:e,translations:t}){le.subscribe(r=>{r==null&&(we.set(t),le.set(e))})}function zt(e,t){$r(e,t)}function Ai(e){le.set(e)}function ee(e){return typeof e=="function"}function Xr(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var ot=Xr(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
4
+ `+r.map(function(n,o){return o+1+") "+n.toString()}).join(`
5
+ `):"",this.name="UnsubscriptionError",this.errors=r}});function bt(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var qe=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,o,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=lt(s),l=a.next();!l.done;l=a.next()){var u=l.value;u.remove(this)}}catch(y){t={error:y}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var c=this.initialTeardown;if(ee(c))try{c()}catch(y){i=y instanceof ot?y.errors:[y]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var f=lt(h),m=f.next();!m.done;m=f.next()){var v=m.value;try{Xt(v)}catch(y){i=i!=null?i:[],y instanceof ot?i=ge(ge([],ut(i)),ut(y.errors)):i.push(y)}}}catch(y){n={error:y}}finally{try{m&&!m.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}}if(i)throw new ot(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Xt(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&bt(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&bt(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Wr=qe.EMPTY;function Zr(e){return e instanceof qe||e&&"closed"in e&&ee(e.remove)&&ee(e.add)&&ee(e.unsubscribe)}function Xt(e){ee(e)?e():e.unsubscribe()}var qr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Qr={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,ge([e,t],ut(r)))},clearTimeout:function(e){var t=Qr.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ci(e){Qr.setTimeout(function(){throw e})}function Wt(){}function $e(e){e()}var Jr=function(e){te(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Zr(r)&&r.add(n)):n.destination=Ni,n}return t.create=function(r,n,o){return new yt(r,n,o)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(qe),Oi=Function.prototype.bind;function it(e,t){return Oi.call(e,t)}var Li=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){De(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){De(n)}else De(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){De(r)}},e}(),yt=function(e){te(t,e);function t(r,n,o){var i=e.call(this)||this,s;if(ee(r)||!r)s={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:o!=null?o:void 0};else{var a;i&&qr.useDeprecatedNextContext?(a=Object.create(r),a.unsubscribe=function(){return i.unsubscribe()},s={next:r.next&&it(r.next,a),error:r.error&&it(r.error,a),complete:r.complete&&it(r.complete,a)}):s=r}return i.destination=new Li(s),i}return t}(Jr);function De(e){Ci(e)}function Ii(e){throw e}var Ni={closed:!0,next:Wt,error:Ii,complete:Wt},Mi=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Ri(e){return e}function Di(e){return e.length===0?Ri:e.length===1?e[0]:function(r){return e.reduce(function(n,o){return o(n)},r)}}var Zt=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var o=this,i=Ui(t)?t:new yt(t,r,n);return $e(function(){var s=o,a=s.operator,l=s.source;i.add(a?a.call(i,l):l?o._subscribe(i):o._trySubscribe(i))}),i},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=qt(r),new r(function(o,i){var s=new yt({next:function(a){try{t(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});n.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Mi]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Di(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=qt(t),new t(function(n,o){var i;r.subscribe(function(s){return i=s},function(s){return o(s)},function(){return n(i)})})},e.create=function(t){return new e(t)},e}();function qt(e){var t;return(t=e!=null?e:qr.Promise)!==null&&t!==void 0?t:Promise}function Fi(e){return e&&ee(e.next)&&ee(e.error)&&ee(e.complete)}function Ui(e){return e&&e instanceof Jr||Fi(e)&&Zr(e)}var ki=Xr(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Yr=function(e){te(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new Qt(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new ki},t.prototype.next=function(r){var n=this;$e(function(){var o,i;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=lt(n.currentObservers),a=s.next();!a.done;a=s.next()){var l=a.value;l.next(r)}}catch(u){o={error:u}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}}})},t.prototype.error=function(r){var n=this;$e(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var o=n.observers;o.length;)o.shift().error(r)}})},t.prototype.complete=function(){var r=this;$e(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,o=this,i=o.hasError,s=o.isStopped,a=o.observers;return i||s?Wr:(this.currentObservers=null,a.push(r),new qe(function(){n.currentObservers=null,bt(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,o=n.hasError,i=n.thrownError,s=n.isStopped;o?r.error(i):s&&r.complete()},t.prototype.asObservable=function(){var r=new Zt;return r.source=this,r},t.create=function(r,n){return new Qt(r,n)},t}(Zt),Qt=function(e){te(t,e);function t(r,n){var o=e.call(this)||this;return o.destination=r,o.source=n,o}return t.prototype.next=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.next)===null||o===void 0||o.call(n,r)},t.prototype.error=function(r){var n,o;(o=(n=this.destination)===null||n===void 0?void 0:n.error)===null||o===void 0||o.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,o;return(o=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&o!==void 0?o:Wr},t}(Yr),Kr={now:function(){return(Kr.delegate||Date).now()},delegate:void 0},$i=function(e){te(t,e);function t(r,n,o){r===void 0&&(r=1/0),n===void 0&&(n=1/0),o===void 0&&(o=Kr);var i=e.call(this)||this;return i._bufferSize=r,i._windowTime=n,i._timestampProvider=o,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,r),i._windowTime=Math.max(1,n),i}return t.prototype.next=function(r){var n=this,o=n.isStopped,i=n._buffer,s=n._infiniteTimeWindow,a=n._timestampProvider,l=n._windowTime;o||(i.push(r),!s&&i.push(a.now()+l)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),o=this,i=o._infiniteTimeWindow,s=o._buffer,a=s.slice(),l=0;l<a.length&&!r.closed;l+=i?1:2)r.next(a[l]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,o=r._timestampProvider,i=r._buffer,s=r._infiniteTimeWindow,a=(s?1:2)*n;if(n<1/0&&a<i.length&&i.splice(0,i.length-a),!s){for(var l=o.now(),u=0,c=1;c<i.length&&i[c]<=l;c+=2)u=c;u&&i.splice(0,u+1)}},t}(Yr);const Jt=[],Yt={},Gi=(e,t=0)=>{if(Jt.indexOf(e)==-1){const r=new $i(t);Yt[e]=r,Jt.push(e)}return Yt[e]};window.emWidgets={topic:Gi};const ji=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC",Kt={en:{promotionsTitle:"Promotions",promotionsButton:"More Info",promotionsNone:"There are no promotions available at the moment.",promotionsBack:"Back",promotionsTerms:"Terms and Conditions"},"zh-hk":{promotionsTitle:"促銷活動",promotionsButton:"更多信息",promotionsNone:"目前沒有促銷活動。",promotionsBack:"後退",promotionsTerms:"条款和条件。"},fr:{promotionsTitle:"Promotions",promotionsButton:"Plus d'informations",promotionsNone:"Il n'y a pas de promotions disponibles pour le moment.",promotionsBack:"Retour",promotionsTerms:"Conditions générales"},tr:{promotionsTitle:"Promosyonlar",promotionsButton:"Daha fazla bilgi",promotionsNone:"Şu anda herhangi bir promosyon bulunmamaktadır.",promotionsBack:"Geri",promotionsTerms:"Şartlar ve Koşullar"},ro:{promotionsTitle:"Promotii",promotionsButton:"Detalii",promotionsNone:"Nu avem promotii disponibile momentan.",promotionsBack:"Înapoi",promotionsTerms:"Termenele și Condițiile"},es:{promotionsTitle:"Promociones",promotionsButton:"Más información",promotionsNone:"No hay promociones disponibles en este momento.",promotionsBack:"Volver",promotionsTerms:"Términos y Condiciones"},pt:{promotionsTitle:"Promoções",promotionsButton:"Mais informações",promotionsNone:"Não há promoções disponíveis no momento.",promotionsBack:"Voltar",promotionsTerms:"Termos e Condições"},hr:{promotionsTitle:"Promocije",promotionsButton:"Više informacija",promotionsNone:"Trenutno nema dostupnih promocija.",promotionsBack:"Vratiti se",promotionsTerms:"Odredbe i Uvjeti"},"pt-br":{promotionsTitle:"Promoções",promotionsButton:"Mais informação",promotionsNone:"Não há promoções disponíveis no momento",promotionsBack:"Volte",promotionsTerms:"Termos e Condições"},"es-mx":{promotionsTitle:"Promociones",promotionsButton:"Más información",promotionsNone:"No hay promociones disponibles al momento",promotionsBack:"Regresar",promotionsTerms:"Términos y condiciones"}};function Vi(e){yn(e,"svelte-3goey5",'.svelte-3goey5.svelte-3goey5,.svelte-3goey5.svelte-3goey5::before,.svelte-3goey5.svelte-3goey5::after{padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.text--ellipsis.svelte-3goey5>.svelte-3goey5{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.promotion__wrapper.svelte-3goey5.svelte-3goey5{min-height:100vh;background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.promotion__section.svelte-3goey5.svelte-3goey5{min-height:100vh;width:100%;background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.promotion__header.svelte-3goey5.svelte-3goey5{display:flex;align-items:center;justify-content:flex-start;gap:20px}.promotion__header.svelte-3goey5 .svg-container.svelte-3goey5{display:flex;position:relative;width:70px;height:70px;align-items:center;justify-content:center}.promotion__header.svelte-3goey5 .svg-container .svg-background.svelte-3goey5{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;background:linear-gradient(to top, color-mix(in srgb, var(--emw--color-primary, #22B04E) 10%, var(--emw--color-black, black) 90%) 25%, color-mix(in srgb, var(--emw--color-primary, #22B04E) 40%, var(--emw--color-black, black) 60%) 40%, var(--emw--color-primary, #22B04E) 90% 70%, color-mix(in srgb, var(--emw--color-primary, #22B04E) 70%, var(--emw--color-white, white) 30%) 100%);border-radius:50%;z-index:1}.promotion__header.svelte-3goey5 .svg-container .svg-content.svelte-3goey5{position:relative;z-index:2;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));padding:3px 4px;border-radius:50%}.promotion__header.svelte-3goey5 .svg-container .svg-content svg.svelte-3goey5{width:50px;height:50px;fill:var(--emw--color-white, white)}.promotions.svelte-3goey5.svelte-3goey5{margin:0 auto;max-width:1300px;padding:24px 0;color:var(--emw--color-white, #FFFFFF);display:flex;flex-direction:column;gap:20px}@media screen and (max-width: 1300px){.promotions.svelte-3goey5.svelte-3goey5{padding:24px 2.4%}}.promotions__title.svelte-3goey5.svelte-3goey5{font-size:22px;font-weight:normal;margin-bottom:18px;color:var(--emw--color-contrast)}.promotions__grid.svelte-3goey5.svelte-3goey5{display:grid;grid-auto-rows:220px;grid-template-columns:1fr;grid-row-gap:16px}.md.svelte-3goey5 .promotions__grid.svelte-3goey5{grid-auto-rows:260px;grid-template-columns:repeat(2, 1fr);grid-gap:20px}.xl.svelte-3goey5 .promotions__grid.svelte-3goey5{grid-auto-rows:260px;grid-template-columns:repeat(3, 1fr);grid-gap:30px}.promotions__none.svelte-3goey5.svelte-3goey5{padding:50px 0;text-align:center;font-size:30px}.promo.svelte-3goey5.svelte-3goey5{display:flex;position:relative;flex-direction:column;justify-content:flex-end;width:100%;height:auto;padding:12px 8px;border-radius:10px;overflow:hidden;transition:all 150ms ease}.promo.svelte-3goey5.svelte-3goey5:hover{border:1px solid var(--emw--color-white, #FFFFFF)}.promo__info.svelte-3goey5.svelte-3goey5{z-index:5;position:absolute;top:10px;right:10px}.promo__info.svelte-3goey5 button.svelte-3goey5{background:unset;border:0;cursor:pointer}.promo__info.svelte-3goey5 svg.svelte-3goey5{height:24px;width:24px;fill:var(--emw--color-white, white)}.promo__picture.svelte-3goey5.svelte-3goey5{position:absolute;width:100%;height:100%;top:0;left:0;z-index:0}.promo__picture.svelte-3goey5 img.svelte-3goey5{width:100%;height:100%;object-fit:cover;border-radius:5px}.promo__picture.svelte-3goey5.svelte-3goey5::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:rgb(0, 0, 0);background:linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(7, 7, 42, 0.2) 90%)}.promo__details.svelte-3goey5.svelte-3goey5{padding:0 10px 13px 17px;z-index:5}.promo__title.svelte-3goey5.svelte-3goey5{display:inline-block;margin-bottom:6px;font-size:18px;font-weight:normal}.promo__content.svelte-3goey5.svelte-3goey5{margin-bottom:15px;font-size:14px}.promo__button.svelte-3goey5.svelte-3goey5{font-size:14px;text-transform:uppercase;padding:10px 20px;background:none;color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-white, #FFFFFF);border-radius:5px;cursor:pointer;transition:all 150ms ease}.promo__button.svelte-3goey5.svelte-3goey5:hover{background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.page.svelte-3goey5.svelte-3goey5{display:none;margin:0 auto;width:80%;margin-bottom:40px}.page__body_title.svelte-3goey5.svelte-3goey5{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.page--open.svelte-3goey5.svelte-3goey5{max-width:1000px;flex-direction:column;display:flex;position:relative;justify-content:center}.page__header.svelte-3goey5.svelte-3goey5{align-items:stretch;text-decoration:underline;text-align:center}.page__header.svelte-3goey5 img.svelte-3goey5{width:90%;margin:2%;border-radius:5px;box-shadow:rgba(220, 220, 220, 0.414) 0px 8px 24px}.page__tab.svelte-3goey5.svelte-3goey5{padding:0px 30px;background-color:grey;border-radius:5px;cursor:pointer;margin:35px 0px;display:flex;justify-content:space-between;align-items:center;transition:all 150ms ease}.page__tab.svelte-3goey5 .active.svelte-3goey5{-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg);-moz-transition:all 0.5s linear;-webkit-transition:all 0.5s linear;transition:all 0.5s linear}.page__tab.svelte-3goey5 p.svelte-3goey5{font-size:20px;outline:0}.page__tab.svelte-3goey5 p.svelte-3goey5:focus{-webkit-transform:rotate(95deg);-ms-transform:rotate(95deg);transform:rotate(95deg)}.page__tab.svelte-3goey5.svelte-3goey5:hover{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.page__tabContentWrapper.hidden.svelte-3goey5.svelte-3goey5{display:none}.page__close.svelte-3goey5.svelte-3goey5{height:40px;cursor:pointer;transition:all 150ms ease;color:var(--emw--color-contrast, #FFFFFF);background-color:rgba(20, 20, 32, 0.3);border-radius:50%;width:max-content;font-size:75%}.page__close.svelte-3goey5.svelte-3goey5:hover{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.modal.svelte-3goey5.svelte-3goey5{display:none;justify-content:center;align-items:center;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:100}.modal--open.svelte-3goey5.svelte-3goey5{display:flex}.modal__backdrop.svelte-3goey5.svelte-3goey5{position:absolute;background-color:var(--emw--casino-contrast, var(--emw--color-background, #07072A));opacity:0.6;width:100%;height:100%;z-index:105}.modal__content.svelte-3goey5.svelte-3goey5{position:relative;display:flex;flex-direction:column;width:100%;background-color:var(--emw--color-gray-50, #F9F8F8);z-index:110;border-radius:5px}.md.svelte-3goey5 .modal__content.svelte-3goey5{width:700px;height:70%}.modal__close.svelte-3goey5.svelte-3goey5{position:absolute;width:36px;height:36px;top:10px;right:10px;z-index:110;cursor:pointer;transition:all 150ms ease;color:var(--emw--color-white, #FFFFFF);background-color:rgba(20, 20, 32, 0.3);border-radius:50%}.modal__close.svelte-3goey5.svelte-3goey5:hover{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.modal__picture.svelte-3goey5 img.svelte-3goey5{width:100%;height:200px;object-fit:cover;border-top:3px solid var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839));border-top-left-radius:5px;border-top-right-radius:5px}.md.svelte-3goey5 .modal__picture img.svelte-3goey5{height:300px}.modal__body.svelte-3goey5.svelte-3goey5{padding:16px 8px;color:var(--emw--color-black, #000000);height:calc(100vh - 200px);overflow-y:auto;border-top-left-radius:5px;border-top-right-radius:5px}.modal__body_title.svelte-3goey5.svelte-3goey5{font-size:18px;margin-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.modal__body_content.svelte-3goey5.svelte-3goey5{font-size:14px;line-height:1.3}.modal__body_content.svelte-3goey5 .svelte-3goey5{margin-bottom:8px}.md.svelte-3goey5 .modal__body.svelte-3goey5{height:calc(100vh - 300px);padding:22px 8%}.lg.svelte-3goey5 .modal__body.svelte-3goey5{padding:30px 40px}.modal__tabs.svelte-3goey5.svelte-3goey5{position:relative;display:inline-flex;width:100%;flex-wrap:nowrap;gap:14px;white-space:nowrap;overflow-x:auto;margin-bottom:20px}.modal__tabs.svelte-3goey5.svelte-3goey5::before{content:"";position:absolute;bottom:4px;left:0;width:100%;height:2px;background-color:var(--emw--color-gray-100, #E6E6E6);z-index:125}.modal__tab.svelte-3goey5.svelte-3goey5{background:none;border:none;padding:8px 0;color:var(--emw--color-gray-150, #828282);font-size:14px;cursor:pointer;transition:all 150ms ease}.modal__tab--active.svelte-3goey5.svelte-3goey5{position:relative;color:var(--emw--casino-contrast, var(--emw--color-contrast, #07072A));z-index:130}.modal__tab--active.svelte-3goey5.svelte-3goey5:before{content:"";left:0;bottom:-4px;position:absolute;width:100%;height:2px;background-color:var(--emw--casino-contrast, var(--emw--color-background, #07072A))}.modal__tab.svelte-3goey5.svelte-3goey5:hover{color:var(--emw--casino-contrast, var(--emw--color-contrast, #07072A))}')}function er(e,t,r){const n=e.slice();return n[47]=t[r],n}function tr(e,t,r){const n=e.slice();return n[50]=t[r],n[52]=r,n}function rr(e,t,r){const n=e.slice();return n[47]=t[r],n}function nr(e,t,r){const n=e.slice();return n[55]=t[r],n}function or(e,t,r){const n=e.slice();return n[47]=t[r],n}function ir(e){let t,r,n,o,i,s,a,l,u,c,h,f,m,v,y,I,B,E,T,O,_,C,L,P,G,N,q,ce,D=e[6]!==!0&&sr(e),J=K(e[10]),k=[];for(let x=0;x<J.length;x+=1)k[x]=ur(rr(e,J,x));let re=K(e[11]),j=[];for(let x=0;x<re.length;x+=1)j[x]=cr(tr(e,re,x));let V=e[6]==!0&&hr(e);return{c(){t=b("section"),r=b("div"),D&&D.c(),n=F(),o=b("div"),i=b("div"),s=F(),a=b("div"),l=b("div"),l.innerHTML='<svg class="w-6 h-6 svelte-3goey5" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" class="svelte-3goey5"></path></svg>',u=F(),c=b("div"),h=b("picture");for(let x=0;x<k.length;x+=1)k[x].c();f=F(),m=b("img"),y=F(),I=b("div"),B=b("div"),E=b("ul");for(let x=0;x<j.length;x+=1)j[x].c();T=F(),O=b("div"),_=b("h3"),C=F(),L=b("div"),P=F(),V&&V.c(),p(i,"class","modal__backdrop svelte-3goey5"),p(l,"class","modal__close svelte-3goey5"),ie(m.src,v=e[9])||p(m,"src",v),p(m,"alt",e[7]),p(m,"class","svelte-3goey5"),p(h,"class","modal__picture svelte-3goey5"),p(c,"class","modal__header svelte-3goey5"),p(E,"class","modal__tabs svelte-3goey5"),p(_,"class","modal__body_title svelte-3goey5"),p(L,"class","modal__tab_content svelte-3goey5"),p(O,"class","modal__tabContentWrapper svelte-3goey5"),p(B,"class","modal__body_content svelte-3goey5"),p(I,"class","modal__body svelte-3goey5"),p(a,"class","modal__content svelte-3goey5"),p(o,"class","promo__modal modal svelte-3goey5"),p(r,"class",G="promotions "+e[4]+" svelte-3goey5"),Ge(()=>e[32].call(r)),p(t,"class","promotion__section svelte-3goey5")},m(x,z){U(x,t,z),g(t,r),D&&D.m(r,null),g(r,n),g(r,o),g(o,i),g(o,s),g(o,a),g(a,l),g(a,u),g(a,c),g(c,h);for(let w=0;w<k.length;w+=1)k[w]&&k[w].m(h,null);g(h,f),g(h,m),g(a,y),g(a,I),g(I,B),g(B,E);for(let w=0;w<j.length;w+=1)j[w]&&j[w].m(E,null);g(B,T),g(B,O),g(O,_),_.innerHTML=e[7],g(O,C),g(O,L),L.innerHTML=e[8],e[29](B),g(r,P),V&&V.m(r,null),N=Tn(r,e[32].bind(r)),e[33](r),q||(ce=[ae(i,"click",e[18]),ae(l,"click",e[18])],q=!0)},p(x,z){if(x[6]!==!0?D?D.p(x,z):(D=sr(x),D.c(),D.m(r,n)):D&&(D.d(1),D=null),z[0]&1024){J=K(x[10]);let w;for(w=0;w<J.length;w+=1){const ne=rr(x,J,w);k[w]?k[w].p(ne,z):(k[w]=ur(ne),k[w].c(),k[w].m(h,f))}for(;w<k.length;w+=1)k[w].d(1);k.length=J.length}if(z[0]&512&&!ie(m.src,v=x[9])&&p(m,"src",v),z[0]&128&&p(m,"alt",x[7]),z[0]&526336){re=K(x[11]);let w;for(w=0;w<re.length;w+=1){const ne=tr(x,re,w);j[w]?j[w].p(ne,z):(j[w]=cr(ne),j[w].c(),j[w].m(E,null))}for(;w<j.length;w+=1)j[w].d(1);j.length=re.length}z[0]&128&&(_.innerHTML=x[7]),z[0]&256&&(L.innerHTML=x[8]),x[6]==!0?V?V.p(x,z):(V=hr(x),V.c(),V.m(r,null)):V&&(V.d(1),V=null),z[0]&16&&G!==(G="promotions "+x[4]+" svelte-3goey5")&&p(r,"class",G)},d(x){x&&R(t),D&&D.d(),Pe(k,x),Pe(j,x),e[29](null),V&&V.d(),N(),e[33](null),q=!1,xe(ce)}}}function sr(e){let t,r,n,o,i=e[16]("promotionsTitle")+"",s,a,l;function u(f,m){return f[1].length>0?Xi:zi}let c=u(e),h=c(e);return{c(){t=b("div"),r=b("div"),r.innerHTML='<div class="svg-background svelte-3goey5"></div> <div class="svg-content svelte-3goey5"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 512 512" version="1.1" xml:space="preserve" class="svelte-3goey5"><circle class="circle svelte-3goey5" cx="50" cy="50" r="40" fill="none"></circle><g id="gift_box-box_-heart-love-valentine" class="svelte-3goey5"><path d="M408,160h-64c15.55-0.021,28.483-12.719,28.504-28.269c0.021-15.55-12.568-28.139-28.118-28.118 c0.023-17.486-15.9-31.228-34.048-27.504C297.124,78.82,288,91.085,288,104.575v5.667c-4.256-3.838-9.831-6.242-16-6.242h-32 c-6.169,0-11.744,2.404-16,6.242v-5.667c0-13.491-9.124-25.755-22.339-28.467c-18.148-3.724-34.071,10.018-34.048,27.504 c-15.549-0.021-28.138,12.568-28.118,28.118C139.517,147.281,152.45,159.979,168,160h-64c-17.673,0-32,14.327-32,32v8 c0,17.673,14.327,32,32,32h96v16H96v161.28c0,16.966,13.754,30.72,30.72,30.72H200c8.837,0,16-7.163,16-16V168h80v256 c0,8.837,7.163,16,16,16h73.28c16.966,0,30.72-13.754,30.72-30.72V248H312v-16h96c17.673,0,32-14.327,32-32v-8 C440,174.327,425.673,160,408,160z M232,152v-24c0-4.41,3.586-8,8-8h32c4.414,0,8,3.59,8,8v24H232z" class="svelte-3goey5"></path></g><g id="Layer_1" class="svelte-3goey5"></g></svg></div>',n=F(),o=b("h1"),s=se(i),a=F(),h.c(),l=br(),p(r,"class","svg-container svelte-3goey5"),p(o,"class","promotions__title svelte-3goey5"),p(t,"class","promotion__header svelte-3goey5")},m(f,m){U(f,t,m),g(t,r),g(t,n),g(t,o),g(o,s),U(f,a,m),h.m(f,m),U(f,l,m)},p(f,m){m[0]&65536&&i!==(i=f[16]("promotionsTitle")+"")&&Ie(s,i),c===(c=u(f))&&h?h.p(f,m):(h.d(1),h=c(f),h&&(h.c(),h.m(l.parentNode,l)))},d(f){f&&(R(t),R(a),R(l)),h.d(f)}}}function zi(e){let t,r=e[16]("promotionsNone")+"",n;return{c(){t=b("p"),n=se(r),p(t,"class","promotions__none svelte-3goey5")},m(o,i){U(o,t,i),g(t,n)},p(o,i){i[0]&65536&&r!==(r=o[16]("promotionsNone")+"")&&Ie(n,r)},d(o){o&&R(t)}}}function Xi(e){let t,r=K(e[1]),n=[];for(let o=0;o<r.length;o+=1)n[o]=lr(nr(e,r,o));return{c(){t=b("div");for(let o=0;o<n.length;o+=1)n[o].c();p(t,"class","promotions__grid svelte-3goey5")},m(o,i){U(o,t,i);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(t,null)},p(o,i){if(i[0]&131074){r=K(o[1]);let s;for(s=0;s<r.length;s+=1){const a=nr(o,r,s);n[s]?n[s].p(a,i):(n[s]=lr(a),n[s].c(),n[s].m(t,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=r.length}},d(o){o&&R(t),Pe(n,o)}}}function ar(e){let t,r,n;return{c(){t=b("source"),_t(t,r=e[47].pictureSource)||p(t,"srcset",r),p(t,"media",n="("+e[47].media+")"),p(t,"class","svelte-3goey5")},m(o,i){U(o,t,i)},p(o,i){i[0]&2&&r!==(r=o[47].pictureSource)&&p(t,"srcset",r),i[0]&2&&n!==(n="("+o[47].media+")")&&p(t,"media",n)},d(o){o&&R(t)}}}function lr(e){let t,r,n,o,i,s,a,l,u,c,h,f,m=e[55].title+"",v,y,I,B=K(e[55].image.sources),E=[];for(let T=0;T<B.length;T+=1)E[T]=ar(or(e,B,T));return{c(){t=b("div"),r=b("div"),n=b("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" viewBox="0 0 302.967 302.967" xml:space="preserve" class="svelte-3goey5"><path d="M151.483,302.967C67.956,302.967,0,235.017,0,151.483S67.956,0,151.483,0 s151.483,67.956,151.483,151.483S235.017,302.967,151.483,302.967z M151.483,24.416c-70.066,0-127.067,57.001-127.067,127.067 s57.001,127.067,127.067,127.067s127.067-57.001,127.067-127.067S221.555,24.416,151.483,24.416z" class="svelte-3goey5"></path><path d="M116.586,118.12c1.795-4.607,4.297-8.588,7.511-11.961c3.225-3.389,7.114-6.016,11.667-7.898 c4.547-1.904,9.633-2.845,15.262-2.845c7.261,0,13.32,0.995,18.183,2.997c4.857,1.996,8.768,4.482,11.738,7.441 c2.964,2.97,5.091,6.168,6.369,9.584c1.273,3.432,1.915,6.636,1.915,9.595c0,4.901-0.642,8.947-1.915,12.118 c-1.278,3.171-2.866,5.88-4.759,8.131c-1.898,2.252-3.987,4.172-6.293,5.755c-2.295,1.588-4.471,3.171-6.516,4.759 c-2.045,1.583-3.862,3.394-5.445,5.439c-1.588,2.04-2.589,4.601-2.991,7.664v5.831H140.6v-6.908 c0.305-4.395,1.153-8.072,2.529-11.036c1.382-2.964,2.991-5.499,4.83-7.598c1.844-2.089,3.786-3.911,5.836-5.445 c2.04-1.539,3.927-3.073,5.673-4.591c1.73-1.545,3.144-3.225,4.221-5.069c1.071-1.833,1.556-4.15,1.452-6.908 c0-4.705-1.148-8.18-3.454-10.427c-2.295-2.257-5.493-3.378-9.589-3.378c-2.758,0-5.134,0.533-7.131,1.605 s-3.628,2.513-4.911,4.302c-1.278,1.795-2.225,3.894-2.834,6.288c-0.615,2.415-0.919,4.982-0.919,7.756h-22.55 C113.85,127.785,114.791,122.732,116.586,118.12z M162.536,183.938v23.616h-24.09v-23.616H162.536z" class="svelte-3goey5"></path></svg>',o=F(),i=b("picture");for(let T=0;T<E.length;T+=1)E[T].c();s=F(),a=b("img"),c=F(),h=b("div"),f=b("h2"),v=F(),p(n,"class","svelte-3goey5"),p(r,"class","promo__info svelte-3goey5"),ie(a.src,l=e[55].image.src)||p(a,"src",l),p(a,"alt",u=e[55].title),p(a,"class","svelte-3goey5"),p(i,"class","promo__picture svelte-3goey5"),p(f,"class","promo__title svelte-3goey5"),p(h,"class","promo__details svelte-3goey5"),p(t,"class","promo svelte-3goey5"),p(t,"part","promo")},m(T,O){U(T,t,O),g(t,r),g(r,n),g(t,o),g(t,i);for(let _=0;_<E.length;_+=1)E[_]&&E[_].m(i,null);g(i,s),g(i,a),g(t,c),g(t,h),g(h,f),f.innerHTML=m,g(t,v),y||(I=ae(n,"click",function(){Le(e[17](e[55]))&&e[17](e[55]).apply(this,arguments)}),y=!0)},p(T,O){if(e=T,O[0]&2){B=K(e[55].image.sources);let _;for(_=0;_<B.length;_+=1){const C=or(e,B,_);E[_]?E[_].p(C,O):(E[_]=ar(C),E[_].c(),E[_].m(i,s))}for(;_<E.length;_+=1)E[_].d(1);E.length=B.length}O[0]&2&&!ie(a.src,l=e[55].image.src)&&p(a,"src",l),O[0]&2&&u!==(u=e[55].title)&&p(a,"alt",u),O[0]&2&&m!==(m=e[55].title+"")&&(f.innerHTML=m)},d(T){T&&R(t),Pe(E,T),y=!1,I()}}}function ur(e){let t,r,n;return{c(){t=b("source"),_t(t,r=e[47].pictureSource)||p(t,"srcset",r),p(t,"media",n="("+e[47].media+")"),p(t,"class","svelte-3goey5")},m(o,i){U(o,t,i)},p(o,i){i[0]&1024&&r!==(r=o[47].pictureSource)&&p(t,"srcset",r),i[0]&1024&&n!==(n="("+o[47].media+")")&&p(t,"media",n)},d(o){o&&R(t)}}}function cr(e){let t,r=e[50].tabDesc+"",n,o,i;return{c(){t=b("li"),n=se(r),p(t,"class","modal__tab svelte-3goey5"),p(t,"id",`tab-${e[52]}`)},m(s,a){U(s,t,a),g(t,n),o||(i=ae(t,"click",function(){Le(e[19](e[50],e[52]))&&e[19](e[50],e[52]).apply(this,arguments)}),o=!0)},p(s,a){e=s,a[0]&2048&&r!==(r=e[50].tabDesc+"")&&Ie(n,r)},d(s){s&&R(t),o=!1,i()}}}function hr(e){let t,r,n,o,i=e[16]("promotionsBack")+"",s,a,l,u,c,h,f,m,v,y,I,B,E,T,O,_=K(e[10]),C=[];for(let P=0;P<_.length;P+=1)C[P]=fr(er(e,_,P));let L=e[11].length>0&&pr(e);return{c(){t=b("div"),r=b("div"),n=b("h1"),o=se("< "),s=se(i),a=F(),l=b("div"),u=b("h1"),c=F(),h=b("picture");for(let P=0;P<C.length;P+=1)C[P].c();f=F(),m=b("img"),y=F(),I=b("div"),B=b("div"),E=b("ul"),L&&L.c(),p(n,"class","svelte-3goey5"),p(r,"class","page__close svelte-3goey5"),p(u,"class","page__body_title svelte-3goey5"),ie(m.src,v=e[9])||p(m,"src",v),p(m,"alt",e[7]),p(m,"class","svelte-3goey5"),p(h,"class","page__picture svelte-3goey5"),p(l,"class","page__header svelte-3goey5"),p(E,"class","page__tabs svelte-3goey5"),p(B,"class","page__body_content svelte-3goey5"),p(I,"class","page__body svelte-3goey5"),p(t,"class","promo__page page page--open svelte-3goey5")},m(P,G){U(P,t,G),g(t,r),g(r,n),g(n,o),g(n,s),g(t,a),g(t,l),g(l,u),u.innerHTML=e[7],g(l,c),g(l,h);for(let N=0;N<C.length;N+=1)C[N]&&C[N].m(h,null);g(h,f),g(h,m),g(t,y),g(t,I),g(I,B),g(B,E),L&&L.m(E,null),e[31](B),T||(O=ae(r,"click",e[18]),T=!0)},p(P,G){if(G[0]&65536&&i!==(i=P[16]("promotionsBack")+"")&&Ie(s,i),G[0]&128&&(u.innerHTML=P[7]),G[0]&1024){_=K(P[10]);let N;for(N=0;N<_.length;N+=1){const q=er(P,_,N);C[N]?C[N].p(q,G):(C[N]=fr(q),C[N].c(),C[N].m(h,f))}for(;N<C.length;N+=1)C[N].d(1);C.length=_.length}G[0]&512&&!ie(m.src,v=P[9])&&p(m,"src",v),G[0]&128&&p(m,"alt",P[7]),P[11].length>0?L?L.p(P,G):(L=pr(P),L.c(),L.m(E,null)):L&&(L.d(1),L=null)},d(P){P&&R(t),Pe(C,P),L&&L.d(),e[31](null),T=!1,O()}}}function fr(e){let t,r,n;return{c(){t=b("source"),_t(t,r=e[47].pictureSource)||p(t,"srcset",r),p(t,"media",n="("+e[47].media+")"),p(t,"class","svelte-3goey5")},m(o,i){U(o,t,i)},p(o,i){i[0]&1024&&r!==(r=o[47].pictureSource)&&p(t,"srcset",r),i[0]&1024&&n!==(n="("+o[47].media+")")&&p(t,"media",n)},d(o){o&&R(t)}}}function pr(e){let t,r,n=e[11][0].tabContent+"",o,i,s=e[11][1]&&mr(e);return{c(){t=b("div"),r=b("div"),o=F(),s&&s.c(),i=br(),p(r,"class","page__tab_content svelte-3goey5"),p(t,"class","page__tabContentWrapper svelte-3goey5")},m(a,l){U(a,t,l),g(t,r),r.innerHTML=n,U(a,o,l),s&&s.m(a,l),U(a,i,l)},p(a,l){l[0]&2048&&n!==(n=a[11][0].tabContent+"")&&(r.innerHTML=n),a[11][1]?s?s.p(a,l):(s=mr(a),s.c(),s.m(i.parentNode,i)):s&&(s.d(1),s=null)},d(a){a&&(R(t),R(o),R(i)),s&&s.d(a)}}}function mr(e){let t,r,n=e[16]("promotionsTerms")+"",o,i,s,a,l,u,c=e[11][1].tabContent+"",h,f,m;return{c(){t=b("div"),r=b("h4"),o=se(n),i=F(),s=b("p"),s.textContent="∇",a=F(),l=b("div"),u=b("div"),p(r,"class","svelte-3goey5"),p(s,"class","svelte-3goey5"),Ct(s,"active",e[15]),p(t,"class","page__tab svelte-3goey5"),p(t,"id","tab-1"),p(u,"class","page__tab_content svelte-3goey5"),p(u,"part","page__tab_content"),p(l,"class",h="page__tabContentWrapper "+(e[12]?"":"hidden")+" svelte-3goey5")},m(v,y){U(v,t,y),g(t,r),g(r,o),g(t,i),g(t,s),U(v,a,y),U(v,l,y),g(l,u),u.innerHTML=c,f||(m=ae(t,"click",e[30]),f=!0)},p(v,y){y[0]&65536&&n!==(n=v[16]("promotionsTerms")+"")&&Ie(o,n),y[0]&32768&&Ct(s,"active",v[15]),y[0]&2048&&c!==(c=v[11][1].tabContent+"")&&(u.innerHTML=c),y[0]&4096&&h!==(h="page__tabContentWrapper "+(v[12]?"":"hidden")+" svelte-3goey5")&&p(l,"class",h)},d(v){v&&(R(t),R(a),R(l)),f=!1,m()}}}function Wi(e){let t,r=e[3]!==!0&&ir(e);return{c(){t=b("div"),r&&r.c(),p(t,"class","promotion__wrapper svelte-3goey5")},m(n,o){U(n,t,o),r&&r.m(t,null),e[34](t)},p(n,o){n[3]!==!0?r?r.p(n,o):(r=ir(n),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},i:Q,o:Q,d(n){n&&R(t),r&&r.d(),e[34](null)}}}function Zi(e,t,r){let n;bn(e,Bi,d=>r(16,n=d));let{endpoint:o=""}=t,{lang:i=""}=t,{env:s=""}=t,{userroles:a=""}=t,{translationurl:l=""}=t,{clientstyling:u=""}=t,{clientstylingurl:c=""}=t,{modalpromotion:h=""}=t,f,m=!1,v=[],y,I,B,E="",T=window.navigator.userAgent,O=!1,_,C,L="",P="",G={},N=[],q=[],ce=!1,D,J,k;Pi({withLocale:"en",translations:{}});const re=()=>{fetch(l).then($=>$.json()).then($=>{Object.keys($).forEach(W=>{zt(W,$[W])})}).catch($=>{console.log($)})};Object.keys(Kt).forEach(d=>{zt(d,Kt[d])});const j=()=>{r(3,m=!0);let d=new URL(`${o}/${i}/promotions?env=${s}`);d.searchParams.append("userRoles",a);let $=ji(T);$&&($==="PC"?d.searchParams.append("device","dk"):d.searchParams.append("device","mtWeb")),fetch(d.href).then(W=>W.json()).then(W=>{r(3,m=!1),r(1,v=W)}).catch(W=>{r(3,m=!1),console.error(W)})},V=d=>{if(d.data)switch(d.data.type){case"promotionPath":r(28,E=d.data.id),E==null&&r(6,O=!1);break}},x=()=>{z(v.find(d=>d.slug==E))},z=d=>Je(this,null,function*(){h=="true"?(r(7,L=d.title),r(8,P=d.content),r(9,G=d.image.src),r(10,N=d.image.sources),r(11,q=[{order:"0",tabContent:P,tabDesc:"Description"},...d.tabs]),_=B.querySelector(".modal"),C=window.document.querySelector("body"),_.classList.add("modal--open"),C.style.overflow="hidden",yield Pn(),ne(q[0],0)):(r(6,O=!0),r(7,L=d.title),r(8,P=d.content),r(9,G=d.image.src),r(10,N=d.image.sources),r(11,q=[{order:"0",tabContent:P,tabDesc:"Description"},...d.tabs]),window.postMessage({type:"handlePromotionPage",pageHandler:"open",dataPromotion:d},window.location.href)),typeof gtag=="function"&&gtag("event","MoreInfo",{context:"PromotionsWidget"})}),w=()=>{h=="true"?(_=B.querySelector(".modal"),C=window.document.querySelector("body"),_.classList.remove("modal--open"),C.style.overflow="initial"):(r(6,O=!1),window.postMessage({type:"handlePromotionPage",pageHandler:"back"},window.location.href))},ne=(d,$)=>{D.querySelector(".modal__tab_content").innerHTML=d.tabContent;let W=D.querySelectorAll(".modal__tab");for(let Se=0;Se<W.length;Se++)W[Se].classList.remove("modal__tab--active");D.querySelector(`#tab-${$}`).classList.add("modal__tab--active")},tn={sm:640,md:768,lg:1024,xl:1280,xxl:1536},rn=()=>{Ai(i)},nn=()=>{let d=document.createElement("style");d.innerHTML=u,f.appendChild(d)},on=()=>{let d=document.createElement("style");fetch(new URL(c)).then($=>$.text()).then($=>{d.innerHTML=$,setTimeout(()=>{f.appendChild(d)},1)})};Bn(()=>(window.addEventListener("message",V,!1),()=>{window.removeEventListener("message",V)}));function sn(d){me[d?"unshift":"push"](()=>{D=d,r(13,D)})}const an=()=>{r(12,ce=!ce),r(15,k=!k)};function ln(d){me[d?"unshift":"push"](()=>{J=d,r(14,J)})}function un(){y=this.clientWidth,r(2,y)}function cn(d){me[d?"unshift":"push"](()=>{B=d,r(5,B)})}function hn(d){me[d?"unshift":"push"](()=>{f=d,r(0,f)})}return e.$$set=d=>{"endpoint"in d&&r(20,o=d.endpoint),"lang"in d&&r(21,i=d.lang),"env"in d&&r(22,s=d.env),"userroles"in d&&r(23,a=d.userroles),"translationurl"in d&&r(24,l=d.translationurl),"clientstyling"in d&&r(25,u=d.clientstyling),"clientstylingurl"in d&&r(26,c=d.clientstylingurl),"modalpromotion"in d&&r(27,h=d.modalpromotion)},e.$$.update=()=>{e.$$.dirty[0]&4&&r(4,I=Object.entries(tn).reduce((d,[$,W])=>{const Se=y>=W?$:"";return[...d,Se]},[]).join(" ")),e.$$.dirty[0]&2097152&&i&&rn(),e.$$.dirty[0]&16777216&&l&&re(),e.$$.dirty[0]&268435458&&E&&v&&x(),e.$$.dirty[0]&15728640&&o&&i&&s&&a&&j(),e.$$.dirty[0]&33554433&&u&&f&&nn(),e.$$.dirty[0]&67108865&&c&&f&&on()},[f,v,y,m,I,B,O,L,P,G,N,q,ce,D,J,k,n,z,w,ne,o,i,s,a,l,u,c,h,E,sn,an,ln,un,cn,hn]}class en extends Fn{constructor(t){super(),Rn(this,t,Zi,Wi,gr,{endpoint:20,lang:21,env:22,userroles:23,translationurl:24,clientstyling:25,clientstylingurl:26,modalpromotion:27},Vi,[-1,-1])}get endpoint(){return this.$$.ctx[20]}set endpoint(t){this.$$set({endpoint:t}),Y()}get lang(){return this.$$.ctx[21]}set lang(t){this.$$set({lang:t}),Y()}get env(){return this.$$.ctx[22]}set env(t){this.$$set({env:t}),Y()}get userroles(){return this.$$.ctx[23]}set userroles(t){this.$$set({userroles:t}),Y()}get translationurl(){return this.$$.ctx[24]}set translationurl(t){this.$$set({translationurl:t}),Y()}get clientstyling(){return this.$$.ctx[25]}set clientstyling(t){this.$$set({clientstyling:t}),Y()}get clientstylingurl(){return this.$$.ctx[26]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Y()}get modalpromotion(){return this.$$.ctx[27]}set modalpromotion(t){this.$$set({modalpromotion:t}),Y()}}Dn(en,{endpoint:{},lang:{},env:{},userroles:{},translationurl:{},clientstyling:{},clientstylingurl:{},modalpromotion:{}},[],[],!0);exports.default=en;