@everymatrix/casino-promotions 0.0.231 → 0.0.232

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.
@@ -1,2 +1,2 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).app=e()}(this,function(){"use strict";function p(){}function h(t){return t()}function f(){return Object.create(null)}function F(t){t.forEach(h)}function L(t){return"function"==typeof t}function r(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function S(t,...e){if(null==t)return p;const r=t.subscribe(...e);return r.unsubscribe?()=>r.unsubscribe():r}function j(t,e){t.appendChild(e)}function V(t,e,r){t.insertBefore(e,r||null)}function X(t){t.parentNode.removeChild(t)}function e(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function z(t){return document.createElement(t)}function B(t){return document.createTextNode(t)}function H(){return B(" ")}function q(t,e,r,n){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)}function Y(t,e,r){null==r?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function K(t,e){t.wholeText!==(e=""+e)&&(t.data=e)}function W(t,e,r,n){t.style.setProperty(e,r,n?"important":"")}let Z,m;function d(t){m=t}const g=[],x=[],n=[],t=[],O=Promise.resolve();let o=!1;function N(){o||(o=!0,O.then(y))}function Q(t){n.push(t)}let i=!1;const s=new Set;function y(){if(!i){i=!0;do{for(let t=0;t<g.length;t+=1){var e=g[t];d(e),function(t){{var e;null!==t.fragment&&(t.update(),F(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Q))}}(e.$$)}for(d(null),g.length=0;x.length;)x.pop()();for(let t=0;t<n.length;t+=1){const r=n[t];s.has(r)||(s.add(r),r())}}while(n.length=0,g.length);for(;t.length;)t.pop()();o=!1,i=!1,s.clear()}}const E=new Set;function a(n,t,e,r,o,i,s=[-1]){var a,l=m;d(n);const c=n.$$={fragment:null,ctx:null,props:i,update:p,not_equal:o,bound:f(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:t.context||[]),callbacks:f(),dirty:s,skip_bound:!1};let u=!1;if(c.ctx=e?e(n,t.props||{},(t,e,...r)=>{r=r.length?r[0]:e;return c.ctx&&o(c.ctx[t],c.ctx[t]=r)&&(!c.skip_bound&&c.bound[t]&&c.bound[t](r),u&&(r=t,-1===(t=n).$$.dirty[0]&&(g.push(t),N(),t.$$.dirty.fill(0)),t.$$.dirty[r/31|0]|=1<<r%31)),e}):[],c.update(),u=!0,F(c.before_update),c.fragment=!!r&&r(c.ctx),t.target){if(t.hydrate){const p=(r=t.target,Array.from(r.childNodes));c.fragment&&c.fragment.l(p),p.forEach(X)}else c.fragment&&c.fragment.c();t.intro&&(a=n.$$.fragment)&&a.i&&(E.delete(a),a.i(void 0)),function(e,t,r,n){const{fragment:o,on_mount:i,on_destroy:s,after_update:a}=e.$$;o&&o.m(t,r),n||Q(()=>{var t=i.map(h).filter(L);s?s.push(...t):F(t),e.$$.on_mount=[]}),a.forEach(Q)}(n,t.target,t.anchor,t.customElement),y()}d(l)}let l;"function"==typeof HTMLElement&&(l=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(h).filter(L);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,r){this[t]=r}disconnectedCallback(){F(this.$$.on_disconnect)}$destroy(){!function(t){const e=t.$$;null!==e.fragment&&(F(e.on_destroy),e.fragment&&e.fragment.d(1),e.on_destroy=e.fragment=null,e.ctx=[])}(this),this.$destroy=p}$on(t,e){const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(e),()=>{var t=r.indexOf(e);-1!==t&&r.splice(t,1)}}$set(t){this.$$set&&0!==Object.keys(t).length&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});const c=[];function b(n,o=p){let i;const s=[];function a(t){if(r(n,t)&&(n=t,i)){const t=!c.length;for(let t=0;t<s.length;t+=1){const e=s[t];e[1](),c.push(e,n)}if(t){for(let t=0;t<c.length;t+=2)c[t][0](c[t+1]);c.length=0}}}return{set:a,update:function(t){a(t(n))},subscribe:function(t,e=p){const r=[t,e];return s.push(r),1===s.length&&(i=o(a)||p),t(n),()=>{var t=s.indexOf(r);-1!==t&&s.splice(t,1),0===s.length&&(i(),i=null)}}}}function u(t,a,e){const l=!Array.isArray(t),c=l?[t]:t,u=a.length<2;return{subscribe:b(e,e=>{let r=!1;const n=[];let o=0,i=p;const s=()=>{var t;o||(i(),t=a(l?n[0]:n,e),u?e(t):i=L(t)?t:p)},t=c.map((t,e)=>S(t,t=>{n[e]=t,o&=~(1<<e),r&&s()},()=>{o|=1<<e}));return r=!0,s(),function(){F(t),i()}}).subscribe}}var _=function(t){return!(!t||"object"!=typeof t||(e=t,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===v));var e},v="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function T(t,e){return!1!==e.clone&&e.isMergeableObject(t)?R(Array.isArray(t)?[]:{},t,e):t}function w(t,e,r){return t.concat(e).map(function(t){return T(t,r)})}function A(t){return Object.keys(t).concat((e=t,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]));var e}function P(t,e){try{return e in t}catch(t){return!1}}function I(n,o,i){var s={};return i.isMergeableObject(n)&&A(n).forEach(function(t){s[t]=T(n[t],i)}),A(o).forEach(function(e){var t,r;(!P(t=n,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(P(n,e)&&i.isMergeableObject(o[e])?s[e]=function(){if(!i.customMerge)return R;var t=i.customMerge(e);return"function"==typeof t?t:R}()(n[e],o[e],i):s[e]=T(o[e],i))}),s}function R(t,e,r){(r=r||{}).arrayMerge=r.arrayMerge||w,r.isMergeableObject=r.isMergeableObject||_,r.cloneUnlessOtherwiseSpecified=T;var n=Array.isArray(e);return n===Array.isArray(t)?n?r.arrayMerge(t,e,r):I(t,e,r):T(e,r)}R.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,e){return R(t,e,r)},{})};var C=R,M=function(t,e){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function U(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}M(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var k,D,G,$=function(){return($=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function J(t,e){for(var r=0,n=e.length,o=t.length;r<n;r++,o++)t[o]=e[r];return t}function tt(t){return t.type===D.literal}function et(t){return t.type===D.number}function rt(t){return t.type===D.date}function nt(t){return t.type===D.time}function ot(t){return t.type===D.select}function it(t){return t.type===D.plural}function st(t){return t.type===D.tag}function at(t){return t&&"object"==typeof t&&t.type===G.number}function lt(t){return t&&"object"==typeof t&&t.type===G.dateTime}(St=k=k||{})[St.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",St[St.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",St[St.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",St[St.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",St[St.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",St[St.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",St[St.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",St[St.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",St[St.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",St[St.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",St[St.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",St[St.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",St[St.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",St[St.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",St[St.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",St[St.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",St[St.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",St[St.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",St[St.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",St[St.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",St[St.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",St[St.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",St[St.INVALID_TAG=23]="INVALID_TAG",St[St.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",St[St.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",St[St.UNCLOSED_TAG=27]="UNCLOSED_TAG",(xt=D=D||{})[xt.literal=0]="literal",xt[xt.argument=1]="argument",xt[xt.number=2]="number",xt[xt.date=3]="date",xt[xt.time=4]="time",xt[xt.select=5]="select",xt[xt.plural=6]="plural",xt[xt.pound=7]="pound",xt[xt.tag=8]="tag",(Ot=G=G||{})[Ot.number=0]="number",Ot[Ot.dateTime=1]="dateTime";var ct=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ut=/(?:[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;var pt,ht=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,ft=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,mt=/^(@+)?(\+|#+)?$/g,dt=/(\*)(0+)|(#+)(0+)|(0+)/g,gt=/^(0+)$/;function yt(t){var n={};return t.replace(mt,function(t,e,r){return"string"!=typeof r?(n.minimumSignificantDigits=e.length,n.maximumSignificantDigits=e.length):"+"===r?n.minimumSignificantDigits=e.length:"#"===e[0]?n.maximumSignificantDigits=e.length:(n.minimumSignificantDigits=e.length,n.maximumSignificantDigits=e.length+("string"==typeof r?r.length:0)),""}),n}function Et(t){switch(t){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 bt(t){return Et(t)||{}}function _t(t){for(var s={},e=0,r=t;e<r.length;e++){var n,o=r[e];switch(o.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=o.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=$($($({},s),{notation:"scientific"}),o.options.reduce(function(t,e){return $($({},t),bt(e))},{}));continue;case"engineering":s=$($($({},s),{notation:"engineering"}),o.options.reduce(function(t,e){return $($({},t),bt(e))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(dt,function(t,e,r,n,o,i){if(e)s.minimumIntegerDigits=r.length;else{if(n&&o)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(gt.test(o.stem))s.minimumIntegerDigits=o.stem.length;else if(ft.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(ft,function(t,e,r,n,o,i){return"*"===r?s.minimumFractionDigits=e.length:n&&"#"===n[0]?s.maximumFractionDigits=n.length:o&&i?(s.minimumFractionDigits=o.length,s.maximumFractionDigits=o.length+i.length):(s.minimumFractionDigits=e.length,s.maximumFractionDigits=e.length),""}),o.options.length&&(s=$($({},s),yt(o.options[0])))}else mt.test(o.stem)?s=$($({},s),yt(o.stem)):((n=Et(o.stem))&&(s=$($({},s),n)),(n=function(t){var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if("+!"===r?(e.signDisplay="always",t=t.slice(2)):"+?"===r&&(e.signDisplay="exceptZero",t=t.slice(2)),!gt.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}(o.stem))&&(s=$($({},s),n)))}return s}var vt=new RegExp("^"+ct.source+"*"),Tt=new RegExp(ct.source+"*$");function wt(t,e){return{start:t,end:e}}var At=!!String.prototype.startsWith,Lt=!!String.fromCodePoint,Pt=!!Object.fromEntries,St=!!String.prototype.codePointAt,xt=!!String.prototype.trimStart,Ot=!!String.prototype.trimEnd,Nt=Number.isSafeInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},ct=!0;try{ct="a"===(null===(pt=$t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===pt?void 0:pt[0])}catch(p){ct=!1}var It,Rt,Ct=At?function(t,e,r){return t.startsWith(e,r)}:function(t,e,r){return t.slice(r,r+e.length)===e},Mt=Lt?String.fromCodePoint:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r,n="",o=t.length,i=0;i<o;){if(1114111<(r=t[i++]))throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Ut=Pt?Object.fromEntries:function(t){for(var e={},r=0,n=t;r<n.length;r++){var o=n[r],i=o[0],o=o[1];e[i]=o}return e},kt=St?function(t,e){return t.codePointAt(e)}:function(t,e){var r=t.length;if(!(e<0||r<=e)){var n,o=t.charCodeAt(e);return o<55296||56319<o||e+1===r||(n=t.charCodeAt(e+1))<56320||57343<n?o:n-56320+(o-55296<<10)+65536}},Dt=xt?function(t){return t.trimStart()}:function(t){return t.replace(vt,"")},Gt=Ot?function(t){return t.trimEnd()}:function(t){return t.replace(Tt,"")};function $t(t,e){return new RegExp(t,e)}Rt=ct?(It=$t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(t,e){return It.lastIndex=e,null!==(t=It.exec(t)[1])&&void 0!==t?t:""}):function(t,e){for(var r,n=[];;){var o=kt(t,e);if(void 0===o||Xt(o)||(33<=(r=o)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094))break;n.push(o),e+=65536<=o?2:1}return Mt.apply(void 0,n)};var Ft=(jt.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},jt.prototype.parseMessage=function(t,e,r){for(var n=[];!this.isEOF();){var o,i=this.char();if(123===i){if((o=this.parseArgument(t,r)).err)return o;n.push(o.val)}else{if(125===i&&0<t)break;if(35!==i||"plural"!==e&&"selectordinal"!==e){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(k.UNMATCHED_CLOSING_TAG,wt(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Vt(this.peek()||0)){if((o=this.parseTag(t,e)).err)return o;n.push(o.val)}else{if((o=this.parseLiteral(t,e)).err)return o;n.push(o.val)}}else{i=this.clonePosition();this.bump(),n.push({type:D.pound,location:wt(i,this.clonePosition())})}}}return{val:n,err:null}},jt.prototype.parseTag=function(t,e){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:D.literal,value:"<"+n+"/>",location:wt(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,e,!0);if(o.err)return o;t=o.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Vt(this.char()))return this.error(k.INVALID_TAG,wt(e,this.clonePosition()));o=this.clonePosition();return n!==this.parseTagName()?this.error(k.UNMATCHED_CLOSING_TAG,wt(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:D.tag,value:n,children:t,location:wt(r,this.clonePosition())},err:null}:this.error(k.INVALID_TAG,wt(e,this.clonePosition())))}return this.error(k.UNCLOSED_TAG,wt(r,this.clonePosition()))}return this.error(k.INVALID_TAG,wt(r,this.clonePosition()))},jt.prototype.parseTagName=function(){var t,e=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||48<=t&&t<=57||95===t||97<=t&&t<=122||65<=t&&t<=90||183==t||192<=t&&t<=214||216<=t&&t<=246||248<=t&&t<=893||895<=t&&t<=8191||8204<=t&&t<=8205||8255<=t&&t<=8256||8304<=t&&t<=8591||11264<=t&&t<=12271||12289<=t&&t<=55295||63744<=t&&t<=64975||65008<=t&&t<=65533||65536<=t&&t<=983039);)this.bump();return this.message.slice(e,this.offset())},jt.prototype.parseLiteral=function(t,e){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(e);if(o)n+=o;else{o=this.tryParseUnquoted(t,e);if(o)n+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;n+=o}}}r=wt(r,this.clonePosition());return{val:{type:D.literal,value:n,location:r},err:null}},jt.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Vt(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},jt.prototype.tryParseQuote=function(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(r);this.bump()}return Mt.apply(void 0,e)},jt.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===e||"selectordinal"===e)||125===r&&0<t?null:(this.bump(),Mt(r))},jt.prototype.parseArgument=function(t,e){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,wt(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(k.EMPTY_ARGUMENT,wt(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(k.MALFORMED_ARGUMENT,wt(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,wt(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:D.argument,value:n,location:wt(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,wt(r,this.clonePosition())):this.parseArgumentOptions(t,e,n,r);default:return this.error(k.MALFORMED_ARGUMENT,wt(r,this.clonePosition()))}},jt.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),r=Rt(this.message,e),e=e+r.length;return this.bumpTo(e),{value:r,location:wt(t,this.clonePosition())}},jt.prototype.parseArgumentOptions=function(t,e,r,n){var o,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(k.EXPECT_ARGUMENT_TYPE,wt(i,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(p=Gt(h.val)).length)return this.error(k.EXPECT_ARGUMENT_STYLE,wt(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:wt(c,this.clonePosition())}}if((f=this.tryParseArgumentClose(n)).err)return f;var u=wt(n,this.clonePosition());if(l&&Ct(null==l?void 0:l.style,"::",0)){c=Dt(l.style.slice(2));if("number"===s)return(h=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?h:{val:{type:D.number,value:r,location:u,style:h.val},err:null};if(0===c.length)return this.error(k.EXPECT_DATE_TIME_SKELETON,u);var p={type:G.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},c.replace(ut,function(t){var e=t.length;switch(t[0]){case"G":o.era=4===e?"long":5===e?"narrow":"short";break;case"y":o.year=2===e?"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":o.month=["numeric","2-digit","short","long","narrow"][e-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":o.day=["numeric","2-digit"][e-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":o.weekday=4!==e&&5===e?"narrow":"short";break;case"e":if(e<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][e-4];break;case"c":if(e<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][e-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][e-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][e-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][e-1];break;case"k":o.hourCycle="h24",o.hour=["numeric","2-digit"][e-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":o.minute=["numeric","2-digit"][e-1];break;case"s":o.second=["numeric","2-digit"][e-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":o.timeZoneName=e<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""}),o):{}};return{val:{type:"date"===s?D.date:D.time,value:r,location:u,style:p},err:null}}return{val:{type:"number"===s?D.number:"date"===s?D.date:D.time,value:r,location:u,style:null!==(u=null==l?void 0:l.style)&&void 0!==u?u:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(k.EXPECT_SELECT_ARGUMENT_OPTIONS,wt(l,$({},l)));this.bumpSpace();var h,u=this.parseIdentifierIfPossible(),l=0;if("select"!==s&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,wt(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,k.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=h.val}u=this.tryParsePluralOrSelectOptions(t,s,e,u);if(u.err)return u;if((f=this.tryParseArgumentClose(n)).err)return f;var f=wt(n,this.clonePosition());return"select"===s?{val:{type:D.select,value:r,options:Ut(u.val),location:f},err:null}:{val:{type:D.plural,value:r,options:Ut(u.val),offset:l,pluralType:"plural"===s?"cardinal":"ordinal",location:f},err:null};default:return this.error(k.INVALID_ARGUMENT_TYPE,wt(i,a))}},jt.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,wt(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},jt.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(k.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,wt(r,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(0<t))return{val:this.message.slice(e.offset,this.offset()),err:null};--t;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}},jt.prototype.parseNumberSkeletonFromString=function(t,e){var r=[];try{r=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var e=[],r=0,n=t.split(ht).filter(function(t){return 0<t.length});r<n.length;r++){var o=n[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var i=o[0],o=o.slice(1),s=0,a=o;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");e.push({stem:i,options:o})}return e}(t)}catch(t){return this.error(k.INVALID_NUMBER_SKELETON,e)}return{val:{type:G.number,tokens:r,location:e,parsedOptions:this.shouldParseSkeletons?_t(r):{}},err:null}},jt.prototype.tryParsePluralOrSelectOptions=function(t,e,r,n){for(var o=!1,i=[],s=new Set,a=n.value,l=n.location;;){if(0===a.length){var c=this.clonePosition();if("select"===e||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_SELECTOR,k.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=wt(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===e?k.DUPLICATE_SELECT_ARGUMENT_SELECTOR:k.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?k.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:k.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,wt(this.clonePosition(),this.clonePosition()));u=this.parseMessage(t+1,e,r);if(u.err)return u;c=this.tryParseArgumentClose(p);if(c.err)return c;i.push([a,{value:u.val,location:wt(p,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(p=this.parseIdentifierIfPossible()).value,l=p.location}return 0===i.length?this.error("select"===e?k.EXPECT_SELECT_ARGUMENT_SELECTOR:k.EXPECT_PLURAL_ARGUMENT_SELECTOR,wt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(k.MISSING_OTHER_CLAUSE,wt(this.clonePosition(),this.clonePosition())):{val:i,err:null}},jt.prototype.tryParseDecimalInteger=function(t,e){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,i=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;o=!0,i=10*i+(s-48),this.bump()}n=wt(n,this.clonePosition());return o?Nt(i*=r)?{val:i,err:null}:this.error(e,n):this.error(t,n)},jt.prototype.offset=function(){return this.position.offset},jt.prototype.isEOF=function(){return this.offset()===this.message.length},jt.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},jt.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=kt(this.message,t);if(void 0===e)throw Error("Offset "+t+" is at invalid UTF-16 code unit boundary");return e},jt.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},jt.prototype.bump=function(){var t;this.isEOF()||(10===(t=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2))},jt.prototype.bumpIf=function(t){if(Ct(this.message,t,this.offset())){for(var e=0;e<t.length;e++)this.bump();return!0}return!1},jt.prototype.bumpUntil=function(t){var e=this.offset(),e=this.message.indexOf(t,e);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},jt.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset "+t+" must be greater than or equal to the current offset "+this.offset());for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;if(t<e)throw Error("targetOffset "+t+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},jt.prototype.bumpSpace=function(){for(;!this.isEOF()&&Xt(this.char());)this.bump()},jt.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),t=this.message.charCodeAt(e+(65536<=t?2:1));return null!=t?t:null},jt);function jt(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}function Vt(t){return 97<=t&&t<=122||65<=t&&t<=90}function Xt(t){return 9<=t&&t<=13||32===t||133===t||8206<=t&&t<=8207||8232===t||8233===t}function zt(t,e){e=$({shouldParseSkeletons:!0,requiresOtherClause:!0},e=void 0===e?{}:e);var r=new Ft(t,e).parse();if(r.err){t=SyntaxError(k[r.err.kind]);throw t.location=r.err.location,t.originalMessage=r.err.message,t}return null!=e&&e.captureLocation||function r(t){t.forEach(function(t){if(delete t.location,ot(t)||it(t))for(var e in t.options)delete t.options[e].location,r(t.options[e].value);else et(t)&&at(t.style)||(rt(t)||nt(t))&&lt(t.style)?delete t.style.location:st(t)&&r(t.children)})}(r.val),r.val}function Bt(t,e){var r=e&&e.cache?e.cache:Qt,n=e&&e.serializer?e.serializer:Kt;return(e&&e.strategy?e.strategy:function(t,e){return Yt(t,this,1===t.length?Ht:qt,e.cache.create(),e.serializer)})(t,{cache:r,serializer:n})}function Ht(t,e,r,n){var o=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),r=e.get(o);return void 0===r&&(r=t.call(this,n),e.set(o,r)),r}function qt(t,e,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),r=e.get(o);return void 0===r&&(r=t.apply(this,n),e.set(o,r)),r}function Yt(t,e,r,n,o){return r.bind(e,t,n,o)}var Kt=function(){return JSON.stringify(arguments)};function Wt(){this.cache=Object.create(null)}Wt.prototype.has=function(t){return t in this.cache},Wt.prototype.get=function(t){return this.cache[t]},Wt.prototype.set=function(t,e){this.cache[t]=e};var Zt,Qt={create:function(){return new Wt}},Jt={variadic:function(t,e){return Yt(t,this,qt,e.cache.create(),e.serializer)},monadic:function(t,e){return Yt(t,this,Ht,e.cache.create(),e.serializer)}};(ct=Zt=Zt||{}).MISSING_VALUE="MISSING_VALUE",ct.INVALID_VALUE="INVALID_VALUE",ct.MISSING_INTL_API="MISSING_INTL_API";var te,ee,re,ne,oe,ie=(U(he,oe=Error),he.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},he),se=(U(pe,ne=ie),pe),ae=(U(ue,re=ie),ue),le=(U(ce,ee=ie),ce);function ce(t,e){return ee.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+e+'"',Zt.MISSING_VALUE,e)||this}function ue(t,e,r){return re.call(this,'Value for "'+t+'" must be of type '+e,Zt.INVALID_VALUE,r)||this}function pe(t,e,r,n){return ne.call(this,'Invalid values for "'+t+'": "'+e+'". Options are "'+Object.keys(r).join('", "')+'"',Zt.INVALID_VALUE,n)||this}function he(t,e,r){t=oe.call(this,t)||this;return t.code=e,t.originalMessage=r,t}function fe(t,e,r,n,o,i,s){if(1===t.length&&tt(t[0]))return[{type:te.literal,value:t[0].value}];for(var a=[],l=0,c=t;l<c.length;l++){var u=c[l];if(tt(u))a.push({type:te.literal,value:u.value});else if(u.type===D.pound)"number"==typeof i&&a.push({type:te.literal,value:r.getNumberFormat(e).format(i)});else{var p=u.value;if(!(o&&p in o))throw new le(p,s);var h=o[p];if(u.type===D.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?te.literal:te.object,value:h});else if(rt(u)){var f="string"==typeof u.style?n.date[u.style]:lt(u.style)?u.style.parsedOptions:void 0;a.push({type:te.literal,value:r.getDateTimeFormat(e,f).format(h)})}else if(nt(u))f="string"==typeof u.style?n.time[u.style]:lt(u.style)?u.style.parsedOptions:void 0,a.push({type:te.literal,value:r.getDateTimeFormat(e,f).format(h)});else if(et(u))(f="string"==typeof u.style?n.number[u.style]:at(u.style)?u.style.parsedOptions:void 0)&&f.scale&&(h*=f.scale||1),a.push({type:te.literal,value:r.getNumberFormat(e,f).format(h)});else{if(st(u)){var m=u.children,d=u.value,p=o[d];if("function"!=typeof p)throw new ae(d,"function",s);m=p(fe(m,e,r,n,o,i).map(function(t){return t.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(t){return{type:"string"==typeof t?te.literal:te.object,value:t}}))}if(ot(u)){if(!(g=u.options[h]||u.options.other))throw new se(u.value,h,Object.keys(u.options),s);a.push.apply(a,fe(g.value,e,r,n,o))}else if(it(u)){if(!(g=u.options["="+h])){if(!Intl.PluralRules)throw new ie('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Zt.MISSING_INTL_API,s);var m=r.getPluralRules(e,{type:u.pluralType}).select(h-(u.offset||0)),g=u.options[m]||u.options.other}if(!g)throw new se(u.value,h,Object.keys(u.options),s);a.push.apply(a,fe(g.value,e,r,n,o,h-(u.offset||0)))}}}}return a.length<2?a:a.reduce(function(t,e){var r=t[t.length-1];return r&&r.type===te.literal&&e.type===te.literal?r.value+=e.value:t.push(e),t},[])}function me(r){return{create:function(){return{has:function(t){return t in r},get:function(t){return r[t]},set:function(t,e){r[t]=e}}}}}(ct=te=te||{})[ct.literal=0]="literal",ct[ct.object=1]="object";var de=(Object.defineProperty(ge,"defaultLocale",{get:function(){return ge.memoizedDefaultLocale||(ge.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),ge.memoizedDefaultLocale},enumerable:!1,configurable:!0}),ge.memoizedDefaultLocale=null,ge.__parse=zt,ge.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"}}},ge);function ge(t,e,r,n){var o,i,s=this;if(void 0===e&&(e=ge.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){t=s.formatToParts(t);if(1===t.length)return t[0].value;t=t.reduce(function(t,e){return t.length&&e.type===te.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t},[]);return t.length<=1?t[0]||"":t},this.formatToParts=function(t){return fe(s.ast,s.locales,s.formatters,s.formats,t,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof t){if(this.message=t,!ge.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=ge.__parse(t,{ignoreTag:null==n?void 0:n.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(o=ge.formats,(i=r)?Object.keys(o).reduce(function(t,e){var r,n;return t[e]=(r=o[e],(n=i[e])?$($($({},r||{}),n||{}),Object.keys(r).reduce(function(t,e){return t[e]=$($({},r[e]),n[e]||{}),t},{})):r),t},$({},o)):o),this.locales=e,this.formatters=n&&n.formatters||{getNumberFormat:Bt(function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,J([void 0],e)))},{cache:me((n=void 0===(n=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:n).number),strategy:Jt.variadic}),getDateTimeFormat:Bt(function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,J([void 0],e)))},{cache:me(n.dateTime),strategy:Jt.variadic}),getPluralRules:Bt(function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,J([void 0],e)))},{cache:me(n.pluralRules),strategy:Jt.variadic})}}const ye={},Ee=(e,r)=>{if(null!=r){if(r in ye&&e in ye[r])return ye[r][e];var n,o,i=Me(r);for(let t=0;t<i.length;t++){var s=(n=i[t],o=e,ve(n)?function(t,e){if(e in t)return t[e];const r=e.split(".");let n=t;for(let t=0;t<r.length;t++)if("object"==typeof n){if(0<t){const e=r.slice(t,r.length).join(".");if(e in n){n=n[e];break}}n=n[r[t]]}else n=void 0;return n}(function(t){return be[t]||null}(n),o):null);if(s)return n=e,o=r,(s=s)&&(o in ye||(ye[o]={}),n in ye[o]||(ye[o][n]=s),s)}}};let be;const _e=b({});function ve(t){return t in be}function Te(e,...r){delete ye[e],_e.update(t=>(t[e]=C.all([t[e]||{},...r]),t))}u([_e],([t])=>Object.keys(t)),_e.subscribe(t=>be=t);const we={};function Ae(t){return we[t]}function Le(t){return Me(t).some(t=>{return null===(t=Ae(t))||void 0===t?void 0:t.size})}const Pe={};function Se(t){if(!Le(t))return t in Pe?Pe[t]:void 0;const e=Me(t).map(t=>{var e=Ae(t);return[t,e?[...e]:[]]}).filter(([,t])=>0<t.length);return Pe[t]=Promise.all(e.map(([t,r])=>function(e){return Promise.all(r.map(t=>(function(t,e){we[t].delete(e),0===we[t].size&&delete we[t]}(e,t),t().then(t=>t.default||t)))).then(t=>Te(e,...t))}(t))).then(()=>Le(t)?Se(t):void delete Pe[t]),Pe[t]}function xe(t,e){var r={};for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(r[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(t);n<o.length;n++)e.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(t,o[n])&&(r[o[n]]=t[o[n]]);return r}const Oe={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{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"}}},warnOnMissingMessages:!0,ignoreTag:!0};const Ne=b(!1);let Ie;const Re=b(null);function Ce(t){return t.split("-").map((t,e,r)=>r.slice(0,e+1).join("-")).reverse()}function Me(t,e=Oe.fallbackLocale){t=Ce(t);return e?[...new Set([...t,...Ce(e)])]:t}Re.subscribe(t=>{Ie=t,"undefined"!=typeof window&&null!==t&&document.documentElement.setAttribute("lang",t)});const Ue=Re.set;Re.set=e=>{if(function(t){if(null!=t){var e=Me(t);for(let t=0;t<e.length;t++){var r=e[t];if(ve(r))return r}}}(e)&&Le(e)){var{loadingDelay:r}=Oe;let t;return"undefined"!=typeof window&&null!=Ie&&r?t=window.setTimeout(()=>Ne.set(!0),r):Ne.set(!0),Se(e).then(()=>{Ue(e)}).finally(()=>{clearTimeout(t),Ne.set(!1)})}return Ue(e)},Re.update=t=>Ue(t(Ie));const ke=r=>{const n=Object.create(null);return t=>{var e=JSON.stringify(t);return e in n?n[e]:n[e]=r(t)}},De=(t,e)=>{var{formats:r}=Oe;if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Ge=ke(t=>{var{locale:e,format:r}=t,t=xe(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(t=De("number",r)),new Intl.NumberFormat(e,t)}),$e=ke(t=>{var{locale:e,format:r}=t,t=xe(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?t=De("date",r):0===Object.keys(t).length&&(t=De("date","short")),new Intl.DateTimeFormat(e,t)}),Fe=ke(t=>{var{locale:e,format:r}=t,t=xe(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?t=De("time",r):0===Object.keys(t).length&&(t=De("time","short")),new Intl.DateTimeFormat(e,t)}),je=ke((t,e=Ie)=>new de(t,e,Oe.formats,{ignoreTag:Oe.ignoreTag})),Ve=u([Re,_e],()=>(t,e={})=>{"object"==typeof t&&(t=(e=t).id);var{values:r,locale:n=Ie,default:o}=e;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=Ee(t,n);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else Oe.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${t}" was not found in "${Me(n).join('", "')}".${Le(Ie)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=o||t;if(!r)return i;let s=i;try{s=je(i,n).format(r)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return s});u([Re],()=>(t,e)=>((t={})=>{var{locale:e=Ie}=t,t=xe(t,["locale"]);return Fe(Object.assign({locale:e},t))})(e).format(t)),u([Re],()=>(t,e)=>((t={})=>{var{locale:e=Ie}=t,t=xe(t,["locale"]);return $e(Object.assign({locale:e},t))})(e).format(t)),u([Re],()=>(t,e)=>((t={})=>{var{locale:e=Ie}=t,t=xe(t,["locale"]);return Ge(Object.assign({locale:e},t))})(e).format(t)),u([Re,_e],()=>(t,e=Ie)=>Ee(t,e));const Xe={en:{promotions:{promotionsTitle:"Promotions",promotionsButton:"More Info"}},tr:{promotions:{promotionsTitle:"Promosyonlar",promotionsButton:"Daha fazla bilgi"}},ro:{promotions:{promotionsTitle:"Promotii",promotionsButton:"Detalii"}}};function ze(t,e,r){const n=t.slice();return n[29]=e[r],n[31]=r,n}function Be(t,e,r){const n=t.slice();return n[32]=e[r],n}function He(t,e,r){const n=t.slice();return n[35]=e[r],n}function qe(t,e,r){const n=t.slice();return n[32]=e[r],n}function Ye(r){let n,s,o,a,i,l,c,u,p,h,f,m,d,g,y,E,b,t,_,v,T,w,A,L,P,S,x,O,N,I,R,C=r[12]("promotions.promotionsTitle")+"",M=r[3],U=[];for(let t=0;t<M.length;t+=1)U[t]=We(He(r,M,t));let k=r[9],D=[];for(let t=0;t<k.length;t+=1)D[t]=Ze(Be(r,k,t));let G=r[10],$=[];for(let t=0;t<G.length;t+=1)$[t]=Qe(ze(r,G,t));return{c(){n=z("section"),s=z("div"),o=z("h1"),a=B(C),i=H(),l=z("div");for(let t=0;t<U.length;t+=1)U[t].c();c=H(),u=z("div"),p=z("div"),h=H(),f=z("div"),m=z("div"),m.innerHTML='<svg class="w-6 h-6" 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"></path></svg>',d=H(),g=z("div"),y=z("picture");for(let t=0;t<D.length;t+=1)D[t].c();E=H(),b=z("img"),_=H(),v=z("div"),T=z("div"),w=z("ul");for(let t=0;t<$.length;t+=1)$[t].c();A=H(),L=z("div"),P=z("h3"),S=H(),x=z("div"),Y(o,"class","promotions__title"),Y(l,"class","promotions__grid"),Y(p,"class","modal__backdrop"),Y(m,"class","modal__close"),b.src!==(t=r[8])&&Y(b,"src",t),Y(b,"alt",r[6]),Y(y,"class","modal__picture"),Y(g,"class","modal__header"),Y(w,"class","modal__tabs"),Y(P,"class","modal__body_title"),Y(x,"class","modal__tab_content"),Y(L,"class","modal__tabContentWrapper"),Y(T,"class","modal__body_content"),Y(v,"class","modal__body"),Y(f,"class","modal__content"),Y(u,"class","promo__modal modal"),Y(s,"class",O="promotions "+r[4]),W(s,"max-width",r[0]+"px"),Q(()=>r[20].call(s)),Y(n,"class","promotion__section")},m(t,e){V(t,n,e),j(n,s),j(s,o),j(o,a),j(s,i),j(s,l);for(let t=0;t<U.length;t+=1)U[t].m(l,null);j(s,c),j(s,u),j(u,p),j(u,h),j(u,f),j(f,m),j(f,d),j(f,g),j(g,y);for(let t=0;t<D.length;t+=1)D[t].m(y,null);j(y,E),j(y,b),j(f,_),j(f,v),j(v,T),j(T,w);for(let t=0;t<$.length;t+=1)$[t].m(w,null);j(T,A),j(T,L),j(L,P),P.innerHTML=r[6],j(L,S),j(L,x),x.innerHTML=r[7],r[19](T),N=function(t,e){"static"===getComputedStyle(t).position&&(t.style.position="relative");const r=z("iframe");r.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;"),r.setAttribute("aria-hidden","true"),r.tabIndex=-1;const n=function(){if(void 0===Z){Z=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(t){Z=!0}}return Z}();let o;return n?(r.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",o=q(window,"message",t=>{t.source===r.contentWindow&&e()})):(r.src="about:blank",r.onload=()=>{o=q(r.contentWindow,"resize",e)}),j(t,r),()=>{(n||o&&r.contentWindow)&&o(),X(r)}}(s,r[20].bind(s)),r[21](s),I||(R=[q(p,"click",r[14]),q(m,"click",r[14])],I=!0)},p(e,r){if(4096&r[0]&&C!==(C=e[12]("promotions.promotionsTitle")+"")&&K(a,C),12296&r[0]){let t;for(M=e[3],t=0;t<M.length;t+=1){var n=He(e,M,t);U[t]?U[t].p(n,r):(U[t]=We(n),U[t].c(),U[t].m(l,null))}for(;t<U.length;t+=1)U[t].d(1);U.length=M.length}if(512&r[0]){let t;for(k=e[9],t=0;t<k.length;t+=1){var o=Be(e,k,t);D[t]?D[t].p(o,r):(D[t]=Ze(o),D[t].c(),D[t].m(y,E))}for(;t<D.length;t+=1)D[t].d(1);D.length=k.length}if(256&r[0]&&b.src!==(t=e[8])&&Y(b,"src",t),64&r[0]&&Y(b,"alt",e[6]),33792&r[0]){let t;for(G=e[10],t=0;t<G.length;t+=1){var i=ze(e,G,t);$[t]?$[t].p(i,r):($[t]=Qe(i),$[t].c(),$[t].m(w,null))}for(;t<$.length;t+=1)$[t].d(1);$.length=G.length}64&r[0]&&(P.innerHTML=e[6]),128&r[0]&&(x.innerHTML=e[7]),16&r[0]&&O!==(O="promotions "+e[4])&&Y(s,"class",O),1&r[0]&&W(s,"max-width",e[0]+"px")},d(t){t&&X(n),e(U,t),e(D,t),e($,t),r[19](null),N(),r[21](null),I=!1,F(R)}}}function Ke(t){let r,n,o;return{c(){r=z("source"),Y(r,"srcset",n=t[32].pictureSource),Y(r,"media",o="("+t[32].media+")")},m(t,e){V(t,r,e)},p(t,e){8&e[0]&&n!==(n=t[32].pictureSource)&&Y(r,"srcset",n),8&e[0]&&o!==(o="("+t[32].media+")")&&Y(r,"media",o)},d(t){t&&X(r)}}}function We(r){let n,o,i,s,a,l,c,u,p,h,f,m,d,g,y,E,b,_=r[35].title+"",v=r[35].content.split("</p>")[0]+"",T=r[12]("promotions.promotionsButton")+"",w=r[35].image.sources,A=[];for(let t=0;t<w.length;t+=1)A[t]=Ke(qe(r,w,t));return{c(){n=z("div"),o=z("picture");for(let t=0;t<A.length;t+=1)A[t].c();i=H(),s=z("img"),c=H(),u=z("div"),p=z("h2"),h=H(),f=z("div"),m=H(),d=z("button"),g=B(T),y=H(),s.src!==(a=r[35].image.src)&&Y(s,"src",a),Y(s,"alt",l=r[35].title),Y(o,"class","promo__picture"),Y(p,"class","promo__title"),Y(f,"class","promo__content text--ellipsis"),Y(d,"class","promo__button"),Y(u,"class","promo__details"),Y(n,"class","promo")},m(t,e){V(t,n,e),j(n,o);for(let t=0;t<A.length;t+=1)A[t].m(o,null);j(o,i),j(o,s),j(n,c),j(n,u),j(u,p),p.innerHTML=_,j(u,h),j(u,f),f.innerHTML=v,j(u,m),j(u,d),j(d,g),j(n,y),E||(b=q(d,"click",function(){L(r[13](r[35]))&&r[13](r[35]).apply(this,arguments)}),E=!0)},p(t,e){if(r=t,8&e[0]){let t;for(w=r[35].image.sources,t=0;t<w.length;t+=1){const s=qe(r,w,t);A[t]?A[t].p(s,e):(A[t]=Ke(s),A[t].c(),A[t].m(o,i))}for(;t<A.length;t+=1)A[t].d(1);A.length=w.length}8&e[0]&&s.src!==(a=r[35].image.src)&&Y(s,"src",a),8&e[0]&&l!==(l=r[35].title)&&Y(s,"alt",l),8&e[0]&&_!==(_=r[35].title+"")&&(p.innerHTML=_),8&e[0]&&v!==(v=r[35].content.split("</p>")[0]+"")&&(f.innerHTML=v),4096&e[0]&&T!==(T=r[12]("promotions.promotionsButton")+"")&&K(g,T)},d(t){t&&X(n),e(A,t),E=!1,b()}}}function Ze(t){let r,n,o;return{c(){r=z("source"),Y(r,"srcset",n=t[32].pictureSource),Y(r,"media",o="("+t[32].media+")")},m(t,e){V(t,r,e)},p(t,e){512&e[0]&&n!==(n=t[32].pictureSource)&&Y(r,"srcset",n),512&e[0]&&o!==(o="("+t[32].media+")")&&Y(r,"media",o)},d(t){t&&X(r)}}}function Qe(r){let n,o,i,s,a=r[29].tabDesc+"";return{c(){n=z("li"),o=B(a),Y(n,"class","modal__tab"),Y(n,"id",`tab-${r[31]}`)},m(t,e){V(t,n,e),j(n,o),i||(s=q(n,"click",function(){L(r[15](r[29],r[31]))&&r[15](r[29],r[31]).apply(this,arguments)}),i=!0)},p(t,e){r=t,1024&e[0]&&a!==(a=r[29].tabDesc+"")&&K(o,a)},d(t){t&&X(n),i=!1,s()}}}function Je(t){let r,n=!0!==t[2]&&Ye(t);return{c(){n&&n.c(),r=B(""),this.c=p},m(t,e){n&&n.m(t,e),V(t,r,e)},p(t,e){!0!==t[2]?n?n.p(t,e):(n=Ye(t),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},i:p,o:p,d(t){n&&n.d(t),t&&X(r)}}}function tr(e,t,r){let n;var o=Ve;e.$$.on_destroy.push(S(o,t=>r(12,n=t)));var i,s,a=this&&this.__awaiter||function(t,s,a,l){return new(a=a||Promise)(function(r,e){function n(t){try{i(l.next(t))}catch(t){e(t)}}function o(t){try{i(l.throw(t))}catch(t){e(t)}}function i(t){var e;t.done?r(t.value):((e=t.value)instanceof a?e:new a(function(t){t(e)})).then(n,o)}i((l=l.apply(t,s||[])).next())})};let l,c,u,p,h,f,{endpoint:m=""}=t,{lang:d=""}=t,{env:g=""}=t,{containermaxwidth:y=""}=t,E=!1,b=[],_,v,T,w,A=[];[{withLocale:i,translations:s}]=[{withLocale:"en",translations:{}}],Re.subscribe(t=>{null==t&&(_e.set(s),Re.set(i))}),Object.keys(Xe).forEach(t=>{Te(t,Xe[t])});const L=(t,e)=>{f.querySelector(".modal__tab_content").innerHTML=t.tabContent;let r=f.querySelectorAll(".modal__tab");for(let t=0;t<r.length;t++)r[t].classList.remove("modal__tab--active");f.querySelector(`#tab-${e}`).classList.add("modal__tab--active")},P={sm:640,md:768,lg:1024,xl:1280,xxl:1536};return e.$$set=t=>{"endpoint"in t&&r(16,m=t.endpoint),"lang"in t&&r(17,d=t.lang),"env"in t&&r(18,g=t.env),"containermaxwidth"in t&&r(0,y=t.containermaxwidth)},e.$$.update=()=>{var t;2&e.$$.dirty[0]&&r(4,c=Object.entries(P).reduce((t,[e,r])=>[...t,l>=r?e:""],[]).join(" ")),131072&e.$$.dirty[0]&&d&&(t=d,Re.set(t)),458752&e.$$.dirty[0]&&m&&d&&g&&(()=>{r(2,E=!0);var t=new URL(`${m}/${d}/promotions?env=${g}`);fetch(t.href).then(t=>t.json()).then(t=>{r(2,E=!1),r(3,b=t)}).catch(t=>{r(2,E=!1),console.error(t)})})()},[y,l,E,b,c,u,"","",{},[],A,f,n,t=>a(void 0,void 0,void 0,function*(){r(6,_=t.title),r(7,v=t.content),r(8,T=t.image.src),r(9,w=t.image.sources),r(10,A=[{order:"0",tabContent:v,tabDesc:"Description"},...t.tabs]),p=u.querySelector(".modal"),h=window.document.querySelector("body"),p.classList.add("modal--open"),h.style.overflow="hidden",N(),yield O,L(A[0],0)}),()=>{p=u.querySelector(".modal"),h=window.document.querySelector("body"),p.classList.remove("modal--open"),h.style.overflow="initial"},L,m,d,g,function(t){x[t?"unshift":"push"](()=>{f=t,r(11,f)})},function(){l=this.clientWidth,r(1,l)},function(t){x[t?"unshift":"push"](()=>{u=t,r(5,u)})}]}class er extends l{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.text--ellipsis>*{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.promotion__section{--bg-color:var(--emfe-w-color-contrast, #07072A);--text-color:var(--emfe-w-color-white, #FFFFFF);--text-color-black:var(--emfe-w-color-black, #000000);--text-color-red:var(--emfe-w-color-secondary, #FD2839);--border-color:var(--emfe-w-color-gray-300, #58586B);--modal-bg-color:var(--emfe-w-color-gray-50, #F9F8F8);--modal-tabs-text-color:var(--emfe-w-color-gray-150, #828282);--modal-tabs-color:var(--emfe-w-color-gray-100, #E6E6E6);--modal-active-tab-color:var(--emfe-w-color-contrast, #07072A);--modal-title-color:var(--emfe-w-color-primary, #D0046C);width:100%;background-color:var(--bg-color)}.promotions{margin:0 auto;padding:24px 0;color:var(--text-color)}.promotions__title{font-size:22px;font-weight:normal;margin-bottom:18px}.promotions__grid{display:grid;grid-auto-rows:220px;grid-template-columns:1fr;grid-row-gap:16px}.md .promotions__grid{grid-auto-rows:260px;grid-template-columns:repeat(2, 1fr);grid-gap:20px}.xl .promotions__grid{grid-auto-rows:260px;grid-template-columns:repeat(3, 1fr);grid-gap:30px}.promo{display:flex;position:relative;flex-direction:column;justify-content:flex-end;width:100%;height:auto;padding:12px 8px;border:1px solid var(--border-color);border-radius:5px;overflow:hidden;transition:all 150ms ease}.promo:hover{border:1px solid var(--text-color)}.promo__picture{position:absolute;width:100%;height:100%;top:0;left:0;z-index:0}.promo__picture img{width:100%;height:100%;object-fit:cover;border-radius:5px}.promo__picture::before{content:\"\";position:absolute;top:0;left:0;width:100%;height:100%;background:black;background:linear-gradient(0deg, black 0%, rgba(7, 7, 42, 0.2) 90%)}.promo__details{padding:0 10px 13px 17px;z-index:5}.promo__title{display:inline-block;margin-bottom:6px;font-size:18px;font-weight:normal}.promo__content{margin-bottom:15px;font-size:14px}.promo__button{font-size:14px;text-transform:uppercase;padding:10px 20px;background:none;color:var(--text-color);border:1px solid var(--text-color);border-radius:5px;cursor:pointer;transition:all 150ms ease}.promo__button:hover{background:var(--modal-title-color);border:1px solid var(--modal-title-color)}.modal{display:none;justify-content:center;align-items:center;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:100}.modal--open{display:flex}.modal__backdrop{position:absolute;background-color:var(--bg-color);opacity:0.6;width:100%;height:100%;z-index:105}.modal__content{position:relative;display:flex;flex-direction:column;width:100%;background-color:var(--modal-bg-color);z-index:110;border-radius:5px}.md .modal__content{width:700px;height:70%}.modal__close{position:absolute;width:36px;height:36px;top:10px;right:10px;z-index:110;cursor:pointer;transition:all 150ms ease;color:var(--text-color)}.modal__close:hover{color:var(--text-color-red)}.modal__picture img{width:100%;height:200px;object-fit:cover;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-top-left-radius:5px;border-top-right-radius:5px}.md .modal__picture img{height:300px}.modal__body{padding:16px 8px;color:var(--text-color-black);height:calc(100vh - 200px);overflow-y:auto;border-top-left-radius:5px;border-top-right-radius:5px}.modal__body_title{font-size:18px;margin-bottom:10px;color:var(--modal-title-color)}.modal__body_content{font-size:14px;line-height:1.3}.modal__body_content *{margin-bottom:8px}.md .modal__body{height:calc(100vh - 300px);padding:22px 8%}.lg .modal__body{padding:30px 40px}.modal__tabs{position:relative;display:inline-flex;width:100%;flex-wrap:nowrap;gap:14px;white-space:nowrap;overflow-x:auto;margin-bottom:20px}.modal__tabs::before{content:'';position:absolute;bottom:4px;left:0;width:100%;height:2px;background-color:var(--modal-tabs-color);z-index:125}.modal__tab{background:none;border:none;padding:8px 0;color:var(--modal-tabs-text-color);font-size:14px;cursor:pointer;transition:all 150ms ease}.modal__tab--active{position:relative;color:var(--modal-active-tab-color);z-index:130}.modal__tab--active:before{content:'';left:0;bottom:-4px;position:absolute;width:100%;height:2px;background-color:var(--modal-active-tab-color)}.modal__tab:hover{color:var(--bg-color)}</style>",a(this,{target:this.shadowRoot,props:function(t){const e={};for(const r of t)e[r.name]=r.value;return e}(this.attributes),customElement:!0},tr,Je,r,{endpoint:16,lang:17,env:18,containermaxwidth:0},[-1,-1]),t&&(t.target&&V(t.target,this,t.anchor),t.props&&(this.$set(t.props),y()))}static get observedAttributes(){return["endpoint","lang","env","containermaxwidth"]}get endpoint(){return this.$$.ctx[16]}set endpoint(t){this.$set({endpoint:t}),y()}get lang(){return this.$$.ctx[17]}set lang(t){this.$set({lang:t}),y()}get env(){return this.$$.ctx[18]}set env(t){this.$set({env:t}),y()}get containermaxwidth(){return this.$$.ctx[0]}set containermaxwidth(t){this.$set({containermaxwidth:t}),y()}}return customElements.get("casino-promotions")||customElements.define("casino-promotions",er),er});
1
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).app=e()}(this,function(){"use strict";function p(){}function h(t){return t()}function f(){return Object.create(null)}function F(t){t.forEach(h)}function L(t){return"function"==typeof t}function r(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}function S(t,...e){if(null==t)return p;const r=t.subscribe(...e);return r.unsubscribe?()=>r.unsubscribe():r}function j(t,e){t.appendChild(e)}function V(t,e,r){t.insertBefore(e,r||null)}function X(t){t.parentNode.removeChild(t)}function e(e,r){for(let t=0;t<e.length;t+=1)e[t]&&e[t].d(r)}function z(t){return document.createElement(t)}function B(t){return document.createTextNode(t)}function H(){return B(" ")}function q(t,e,r,n){return t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)}function Y(t,e,r){null==r?t.removeAttribute(e):t.getAttribute(e)!==r&&t.setAttribute(e,r)}function K(t,e){t.wholeText!==(e=""+e)&&(t.data=e)}function W(t,e,r,n){t.style.setProperty(e,r,n?"important":"")}let Z,m;function d(t){m=t}const g=[],x=[],n=[],t=[],O=Promise.resolve();let o=!1;function N(){o||(o=!0,O.then(y))}function Q(t){n.push(t)}let i=!1;const s=new Set;function y(){if(!i){i=!0;do{for(let t=0;t<g.length;t+=1){var e=g[t];d(e),function(t){{var e;null!==t.fragment&&(t.update(),F(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Q))}}(e.$$)}for(d(null),g.length=0;x.length;)x.pop()();for(let t=0;t<n.length;t+=1){const r=n[t];s.has(r)||(s.add(r),r())}}while(n.length=0,g.length);for(;t.length;)t.pop()();o=!1,i=!1,s.clear()}}const E=new Set;function a(n,t,e,r,o,i,s=[-1]){var a,l=m;d(n);const c=n.$$={fragment:null,ctx:null,props:i,update:p,not_equal:o,bound:f(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:t.context||[]),callbacks:f(),dirty:s,skip_bound:!1};let u=!1;if(c.ctx=e?e(n,t.props||{},(t,e,...r)=>{r=r.length?r[0]:e;return c.ctx&&o(c.ctx[t],c.ctx[t]=r)&&(!c.skip_bound&&c.bound[t]&&c.bound[t](r),u&&(r=t,-1===(t=n).$$.dirty[0]&&(g.push(t),N(),t.$$.dirty.fill(0)),t.$$.dirty[r/31|0]|=1<<r%31)),e}):[],c.update(),u=!0,F(c.before_update),c.fragment=!!r&&r(c.ctx),t.target){if(t.hydrate){const p=(r=t.target,Array.from(r.childNodes));c.fragment&&c.fragment.l(p),p.forEach(X)}else c.fragment&&c.fragment.c();t.intro&&(a=n.$$.fragment)&&a.i&&(E.delete(a),a.i(void 0)),function(e,t,r,n){const{fragment:o,on_mount:i,on_destroy:s,after_update:a}=e.$$;o&&o.m(t,r),n||Q(()=>{var t=i.map(h).filter(L);s?s.push(...t):F(t),e.$$.on_mount=[]}),a.forEach(Q)}(n,t.target,t.anchor,t.customElement),y()}d(l)}let l;"function"==typeof HTMLElement&&(l=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(h).filter(L);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,r){this[t]=r}disconnectedCallback(){F(this.$$.on_disconnect)}$destroy(){!function(t){const e=t.$$;null!==e.fragment&&(F(e.on_destroy),e.fragment&&e.fragment.d(1),e.on_destroy=e.fragment=null,e.ctx=[])}(this),this.$destroy=p}$on(t,e){const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(e),()=>{var t=r.indexOf(e);-1!==t&&r.splice(t,1)}}$set(t){this.$$set&&0!==Object.keys(t).length&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});const c=[];function b(n,o=p){let i;const s=[];function a(t){if(r(n,t)&&(n=t,i)){const t=!c.length;for(let t=0;t<s.length;t+=1){const e=s[t];e[1](),c.push(e,n)}if(t){for(let t=0;t<c.length;t+=2)c[t][0](c[t+1]);c.length=0}}}return{set:a,update:function(t){a(t(n))},subscribe:function(t,e=p){const r=[t,e];return s.push(r),1===s.length&&(i=o(a)||p),t(n),()=>{var t=s.indexOf(r);-1!==t&&s.splice(t,1),0===s.length&&(i(),i=null)}}}}function u(t,a,e){const l=!Array.isArray(t),c=l?[t]:t,u=a.length<2;return{subscribe:b(e,e=>{let r=!1;const n=[];let o=0,i=p;const s=()=>{var t;o||(i(),t=a(l?n[0]:n,e),u?e(t):i=L(t)?t:p)},t=c.map((t,e)=>S(t,t=>{n[e]=t,o&=~(1<<e),r&&s()},()=>{o|=1<<e}));return r=!0,s(),function(){F(t),i()}}).subscribe}}var _=function(t){return!(!t||"object"!=typeof t||(e=t,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===v));var e},v="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function T(t,e){return!1!==e.clone&&e.isMergeableObject(t)?R(Array.isArray(t)?[]:{},t,e):t}function w(t,e,r){return t.concat(e).map(function(t){return T(t,r)})}function A(t){return Object.keys(t).concat((e=t,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]));var e}function P(t,e){try{return e in t}catch(t){return!1}}function I(n,o,i){var s={};return i.isMergeableObject(n)&&A(n).forEach(function(t){s[t]=T(n[t],i)}),A(o).forEach(function(e){var t,r;(!P(t=n,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(P(n,e)&&i.isMergeableObject(o[e])?s[e]=function(){if(!i.customMerge)return R;var t=i.customMerge(e);return"function"==typeof t?t:R}()(n[e],o[e],i):s[e]=T(o[e],i))}),s}function R(t,e,r){(r=r||{}).arrayMerge=r.arrayMerge||w,r.isMergeableObject=r.isMergeableObject||_,r.cloneUnlessOtherwiseSpecified=T;var n=Array.isArray(e);return n===Array.isArray(t)?n?r.arrayMerge(t,e,r):I(t,e,r):T(e,r)}R.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,e){return R(t,e,r)},{})};var C=R,M=function(t,e){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function U(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}M(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var k,D,G,$=function(){return($=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function J(t,e){for(var r=0,n=e.length,o=t.length;r<n;r++,o++)t[o]=e[r];return t}function tt(t){return t.type===D.literal}function et(t){return t.type===D.number}function rt(t){return t.type===D.date}function nt(t){return t.type===D.time}function ot(t){return t.type===D.select}function it(t){return t.type===D.plural}function st(t){return t.type===D.tag}function at(t){return t&&"object"==typeof t&&t.type===G.number}function lt(t){return t&&"object"==typeof t&&t.type===G.dateTime}(St=k=k||{})[St.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",St[St.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",St[St.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",St[St.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",St[St.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",St[St.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",St[St.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",St[St.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",St[St.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",St[St.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",St[St.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",St[St.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",St[St.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",St[St.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",St[St.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",St[St.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",St[St.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",St[St.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",St[St.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",St[St.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",St[St.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",St[St.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",St[St.INVALID_TAG=23]="INVALID_TAG",St[St.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",St[St.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",St[St.UNCLOSED_TAG=27]="UNCLOSED_TAG",(xt=D=D||{})[xt.literal=0]="literal",xt[xt.argument=1]="argument",xt[xt.number=2]="number",xt[xt.date=3]="date",xt[xt.time=4]="time",xt[xt.select=5]="select",xt[xt.plural=6]="plural",xt[xt.pound=7]="pound",xt[xt.tag=8]="tag",(Ot=G=G||{})[Ot.number=0]="number",Ot[Ot.dateTime=1]="dateTime";var ct=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ut=/(?:[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;var pt,ht=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,ft=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,mt=/^(@+)?(\+|#+)?$/g,dt=/(\*)(0+)|(#+)(0+)|(0+)/g,gt=/^(0+)$/;function yt(t){var n={};return t.replace(mt,function(t,e,r){return"string"!=typeof r?(n.minimumSignificantDigits=e.length,n.maximumSignificantDigits=e.length):"+"===r?n.minimumSignificantDigits=e.length:"#"===e[0]?n.maximumSignificantDigits=e.length:(n.minimumSignificantDigits=e.length,n.maximumSignificantDigits=e.length+("string"==typeof r?r.length:0)),""}),n}function Et(t){switch(t){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 bt(t){return Et(t)||{}}function _t(t){for(var s={},e=0,r=t;e<r.length;e++){var n,o=r[e];switch(o.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=o.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=$($($({},s),{notation:"scientific"}),o.options.reduce(function(t,e){return $($({},t),bt(e))},{}));continue;case"engineering":s=$($($({},s),{notation:"engineering"}),o.options.reduce(function(t,e){return $($({},t),bt(e))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.scale=parseFloat(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(dt,function(t,e,r,n,o,i){if(e)s.minimumIntegerDigits=r.length;else{if(n&&o)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(gt.test(o.stem))s.minimumIntegerDigits=o.stem.length;else if(ft.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(ft,function(t,e,r,n,o,i){return"*"===r?s.minimumFractionDigits=e.length:n&&"#"===n[0]?s.maximumFractionDigits=n.length:o&&i?(s.minimumFractionDigits=o.length,s.maximumFractionDigits=o.length+i.length):(s.minimumFractionDigits=e.length,s.maximumFractionDigits=e.length),""}),o.options.length&&(s=$($({},s),yt(o.options[0])))}else mt.test(o.stem)?s=$($({},s),yt(o.stem)):((n=Et(o.stem))&&(s=$($({},s),n)),(n=function(t){var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if("+!"===r?(e.signDisplay="always",t=t.slice(2)):"+?"===r&&(e.signDisplay="exceptZero",t=t.slice(2)),!gt.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}(o.stem))&&(s=$($({},s),n)))}return s}var vt=new RegExp("^"+ct.source+"*"),Tt=new RegExp(ct.source+"*$");function wt(t,e){return{start:t,end:e}}var At=!!String.prototype.startsWith,Lt=!!String.fromCodePoint,Pt=!!Object.fromEntries,St=!!String.prototype.codePointAt,xt=!!String.prototype.trimStart,Ot=!!String.prototype.trimEnd,Nt=Number.isSafeInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},ct=!0;try{ct="a"===(null===(pt=$t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===pt?void 0:pt[0])}catch(p){ct=!1}var It,Rt,Ct=At?function(t,e,r){return t.startsWith(e,r)}:function(t,e,r){return t.slice(r,r+e.length)===e},Mt=Lt?String.fromCodePoint:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r,n="",o=t.length,i=0;i<o;){if(1114111<(r=t[i++]))throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Ut=Pt?Object.fromEntries:function(t){for(var e={},r=0,n=t;r<n.length;r++){var o=n[r],i=o[0],o=o[1];e[i]=o}return e},kt=St?function(t,e){return t.codePointAt(e)}:function(t,e){var r=t.length;if(!(e<0||r<=e)){var n,o=t.charCodeAt(e);return o<55296||56319<o||e+1===r||(n=t.charCodeAt(e+1))<56320||57343<n?o:n-56320+(o-55296<<10)+65536}},Dt=xt?function(t){return t.trimStart()}:function(t){return t.replace(vt,"")},Gt=Ot?function(t){return t.trimEnd()}:function(t){return t.replace(Tt,"")};function $t(t,e){return new RegExp(t,e)}Rt=ct?(It=$t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(t,e){return It.lastIndex=e,null!==(t=It.exec(t)[1])&&void 0!==t?t:""}):function(t,e){for(var r,n=[];;){var o=kt(t,e);if(void 0===o||Xt(o)||(33<=(r=o)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094))break;n.push(o),e+=65536<=o?2:1}return Mt.apply(void 0,n)};var Ft=(jt.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},jt.prototype.parseMessage=function(t,e,r){for(var n=[];!this.isEOF();){var o,i=this.char();if(123===i){if((o=this.parseArgument(t,r)).err)return o;n.push(o.val)}else{if(125===i&&0<t)break;if(35!==i||"plural"!==e&&"selectordinal"!==e){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(k.UNMATCHED_CLOSING_TAG,wt(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&Vt(this.peek()||0)){if((o=this.parseTag(t,e)).err)return o;n.push(o.val)}else{if((o=this.parseLiteral(t,e)).err)return o;n.push(o.val)}}else{i=this.clonePosition();this.bump(),n.push({type:D.pound,location:wt(i,this.clonePosition())})}}}return{val:n,err:null}},jt.prototype.parseTag=function(t,e){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:D.literal,value:"<"+n+"/>",location:wt(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,e,!0);if(o.err)return o;t=o.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Vt(this.char()))return this.error(k.INVALID_TAG,wt(e,this.clonePosition()));o=this.clonePosition();return n!==this.parseTagName()?this.error(k.UNMATCHED_CLOSING_TAG,wt(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:D.tag,value:n,children:t,location:wt(r,this.clonePosition())},err:null}:this.error(k.INVALID_TAG,wt(e,this.clonePosition())))}return this.error(k.UNCLOSED_TAG,wt(r,this.clonePosition()))}return this.error(k.INVALID_TAG,wt(r,this.clonePosition()))},jt.prototype.parseTagName=function(){var t,e=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||48<=t&&t<=57||95===t||97<=t&&t<=122||65<=t&&t<=90||183==t||192<=t&&t<=214||216<=t&&t<=246||248<=t&&t<=893||895<=t&&t<=8191||8204<=t&&t<=8205||8255<=t&&t<=8256||8304<=t&&t<=8591||11264<=t&&t<=12271||12289<=t&&t<=55295||63744<=t&&t<=64975||65008<=t&&t<=65533||65536<=t&&t<=983039);)this.bump();return this.message.slice(e,this.offset())},jt.prototype.parseLiteral=function(t,e){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(e);if(o)n+=o;else{o=this.tryParseUnquoted(t,e);if(o)n+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;n+=o}}}r=wt(r,this.clonePosition());return{val:{type:D.literal,value:n,location:r},err:null}},jt.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Vt(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},jt.prototype.tryParseQuote=function(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(r);this.bump()}return Mt.apply(void 0,e)},jt.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===e||"selectordinal"===e)||125===r&&0<t?null:(this.bump(),Mt(r))},jt.prototype.parseArgument=function(t,e){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,wt(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(k.EMPTY_ARGUMENT,wt(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(k.MALFORMED_ARGUMENT,wt(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,wt(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:D.argument,value:n,location:wt(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,wt(r,this.clonePosition())):this.parseArgumentOptions(t,e,n,r);default:return this.error(k.MALFORMED_ARGUMENT,wt(r,this.clonePosition()))}},jt.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),r=Rt(this.message,e),e=e+r.length;return this.bumpTo(e),{value:r,location:wt(t,this.clonePosition())}},jt.prototype.parseArgumentOptions=function(t,e,r,n){var o,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(k.EXPECT_ARGUMENT_TYPE,wt(i,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(p=Gt(h.val)).length)return this.error(k.EXPECT_ARGUMENT_STYLE,wt(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:wt(c,this.clonePosition())}}if((f=this.tryParseArgumentClose(n)).err)return f;var u=wt(n,this.clonePosition());if(l&&Ct(null==l?void 0:l.style,"::",0)){c=Dt(l.style.slice(2));if("number"===s)return(h=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?h:{val:{type:D.number,value:r,location:u,style:h.val},err:null};if(0===c.length)return this.error(k.EXPECT_DATE_TIME_SKELETON,u);var p={type:G.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},c.replace(ut,function(t){var e=t.length;switch(t[0]){case"G":o.era=4===e?"long":5===e?"narrow":"short";break;case"y":o.year=2===e?"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":o.month=["numeric","2-digit","short","long","narrow"][e-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":o.day=["numeric","2-digit"][e-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":o.weekday=4!==e&&5===e?"narrow":"short";break;case"e":if(e<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][e-4];break;case"c":if(e<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][e-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][e-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][e-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][e-1];break;case"k":o.hourCycle="h24",o.hour=["numeric","2-digit"][e-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":o.minute=["numeric","2-digit"][e-1];break;case"s":o.second=["numeric","2-digit"][e-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":o.timeZoneName=e<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""}),o):{}};return{val:{type:"date"===s?D.date:D.time,value:r,location:u,style:p},err:null}}return{val:{type:"number"===s?D.number:"date"===s?D.date:D.time,value:r,location:u,style:null!==(u=null==l?void 0:l.style)&&void 0!==u?u:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(k.EXPECT_SELECT_ARGUMENT_OPTIONS,wt(l,$({},l)));this.bumpSpace();var h,u=this.parseIdentifierIfPossible(),l=0;if("select"!==s&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,wt(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,k.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=h.val}u=this.tryParsePluralOrSelectOptions(t,s,e,u);if(u.err)return u;if((f=this.tryParseArgumentClose(n)).err)return f;var f=wt(n,this.clonePosition());return"select"===s?{val:{type:D.select,value:r,options:Ut(u.val),location:f},err:null}:{val:{type:D.plural,value:r,options:Ut(u.val),offset:l,pluralType:"plural"===s?"cardinal":"ordinal",location:f},err:null};default:return this.error(k.INVALID_ARGUMENT_TYPE,wt(i,a))}},jt.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,wt(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},jt.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(k.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,wt(r,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(0<t))return{val:this.message.slice(e.offset,this.offset()),err:null};--t;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}},jt.prototype.parseNumberSkeletonFromString=function(t,e){var r=[];try{r=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var e=[],r=0,n=t.split(ht).filter(function(t){return 0<t.length});r<n.length;r++){var o=n[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var i=o[0],o=o.slice(1),s=0,a=o;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");e.push({stem:i,options:o})}return e}(t)}catch(t){return this.error(k.INVALID_NUMBER_SKELETON,e)}return{val:{type:G.number,tokens:r,location:e,parsedOptions:this.shouldParseSkeletons?_t(r):{}},err:null}},jt.prototype.tryParsePluralOrSelectOptions=function(t,e,r,n){for(var o=!1,i=[],s=new Set,a=n.value,l=n.location;;){if(0===a.length){var c=this.clonePosition();if("select"===e||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_SELECTOR,k.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=wt(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===e?k.DUPLICATE_SELECT_ARGUMENT_SELECTOR:k.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?k.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:k.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,wt(this.clonePosition(),this.clonePosition()));u=this.parseMessage(t+1,e,r);if(u.err)return u;c=this.tryParseArgumentClose(p);if(c.err)return c;i.push([a,{value:u.val,location:wt(p,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(p=this.parseIdentifierIfPossible()).value,l=p.location}return 0===i.length?this.error("select"===e?k.EXPECT_SELECT_ARGUMENT_SELECTOR:k.EXPECT_PLURAL_ARGUMENT_SELECTOR,wt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(k.MISSING_OTHER_CLAUSE,wt(this.clonePosition(),this.clonePosition())):{val:i,err:null}},jt.prototype.tryParseDecimalInteger=function(t,e){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,i=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;o=!0,i=10*i+(s-48),this.bump()}n=wt(n,this.clonePosition());return o?Nt(i*=r)?{val:i,err:null}:this.error(e,n):this.error(t,n)},jt.prototype.offset=function(){return this.position.offset},jt.prototype.isEOF=function(){return this.offset()===this.message.length},jt.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},jt.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=kt(this.message,t);if(void 0===e)throw Error("Offset "+t+" is at invalid UTF-16 code unit boundary");return e},jt.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},jt.prototype.bump=function(){var t;this.isEOF()||(10===(t=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2))},jt.prototype.bumpIf=function(t){if(Ct(this.message,t,this.offset())){for(var e=0;e<t.length;e++)this.bump();return!0}return!1},jt.prototype.bumpUntil=function(t){var e=this.offset(),e=this.message.indexOf(t,e);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},jt.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset "+t+" must be greater than or equal to the current offset "+this.offset());for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;if(t<e)throw Error("targetOffset "+t+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},jt.prototype.bumpSpace=function(){for(;!this.isEOF()&&Xt(this.char());)this.bump()},jt.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),t=this.message.charCodeAt(e+(65536<=t?2:1));return null!=t?t:null},jt);function jt(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}function Vt(t){return 97<=t&&t<=122||65<=t&&t<=90}function Xt(t){return 9<=t&&t<=13||32===t||133===t||8206<=t&&t<=8207||8232===t||8233===t}function zt(t,e){e=$({shouldParseSkeletons:!0,requiresOtherClause:!0},e=void 0===e?{}:e);var r=new Ft(t,e).parse();if(r.err){t=SyntaxError(k[r.err.kind]);throw t.location=r.err.location,t.originalMessage=r.err.message,t}return null!=e&&e.captureLocation||function r(t){t.forEach(function(t){if(delete t.location,ot(t)||it(t))for(var e in t.options)delete t.options[e].location,r(t.options[e].value);else et(t)&&at(t.style)||(rt(t)||nt(t))&&lt(t.style)?delete t.style.location:st(t)&&r(t.children)})}(r.val),r.val}function Bt(t,e){var r=e&&e.cache?e.cache:Qt,n=e&&e.serializer?e.serializer:Kt;return(e&&e.strategy?e.strategy:function(t,e){return Yt(t,this,1===t.length?Ht:qt,e.cache.create(),e.serializer)})(t,{cache:r,serializer:n})}function Ht(t,e,r,n){var o=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),r=e.get(o);return void 0===r&&(r=t.call(this,n),e.set(o,r)),r}function qt(t,e,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),r=e.get(o);return void 0===r&&(r=t.apply(this,n),e.set(o,r)),r}function Yt(t,e,r,n,o){return r.bind(e,t,n,o)}var Kt=function(){return JSON.stringify(arguments)};function Wt(){this.cache=Object.create(null)}Wt.prototype.has=function(t){return t in this.cache},Wt.prototype.get=function(t){return this.cache[t]},Wt.prototype.set=function(t,e){this.cache[t]=e};var Zt,Qt={create:function(){return new Wt}},Jt={variadic:function(t,e){return Yt(t,this,qt,e.cache.create(),e.serializer)},monadic:function(t,e){return Yt(t,this,Ht,e.cache.create(),e.serializer)}};(ct=Zt=Zt||{}).MISSING_VALUE="MISSING_VALUE",ct.INVALID_VALUE="INVALID_VALUE",ct.MISSING_INTL_API="MISSING_INTL_API";var te,ee,re,ne,oe,ie=(U(he,oe=Error),he.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},he),se=(U(pe,ne=ie),pe),ae=(U(ue,re=ie),ue),le=(U(ce,ee=ie),ce);function ce(t,e){return ee.call(this,'The intl string context variable "'+t+'" was not provided to the string "'+e+'"',Zt.MISSING_VALUE,e)||this}function ue(t,e,r){return re.call(this,'Value for "'+t+'" must be of type '+e,Zt.INVALID_VALUE,r)||this}function pe(t,e,r,n){return ne.call(this,'Invalid values for "'+t+'": "'+e+'". Options are "'+Object.keys(r).join('", "')+'"',Zt.INVALID_VALUE,n)||this}function he(t,e,r){t=oe.call(this,t)||this;return t.code=e,t.originalMessage=r,t}function fe(t,e,r,n,o,i,s){if(1===t.length&&tt(t[0]))return[{type:te.literal,value:t[0].value}];for(var a=[],l=0,c=t;l<c.length;l++){var u=c[l];if(tt(u))a.push({type:te.literal,value:u.value});else if(u.type===D.pound)"number"==typeof i&&a.push({type:te.literal,value:r.getNumberFormat(e).format(i)});else{var p=u.value;if(!(o&&p in o))throw new le(p,s);var h=o[p];if(u.type===D.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?te.literal:te.object,value:h});else if(rt(u)){var f="string"==typeof u.style?n.date[u.style]:lt(u.style)?u.style.parsedOptions:void 0;a.push({type:te.literal,value:r.getDateTimeFormat(e,f).format(h)})}else if(nt(u))f="string"==typeof u.style?n.time[u.style]:lt(u.style)?u.style.parsedOptions:void 0,a.push({type:te.literal,value:r.getDateTimeFormat(e,f).format(h)});else if(et(u))(f="string"==typeof u.style?n.number[u.style]:at(u.style)?u.style.parsedOptions:void 0)&&f.scale&&(h*=f.scale||1),a.push({type:te.literal,value:r.getNumberFormat(e,f).format(h)});else{if(st(u)){var m=u.children,d=u.value,p=o[d];if("function"!=typeof p)throw new ae(d,"function",s);m=p(fe(m,e,r,n,o,i).map(function(t){return t.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(t){return{type:"string"==typeof t?te.literal:te.object,value:t}}))}if(ot(u)){if(!(g=u.options[h]||u.options.other))throw new se(u.value,h,Object.keys(u.options),s);a.push.apply(a,fe(g.value,e,r,n,o))}else if(it(u)){if(!(g=u.options["="+h])){if(!Intl.PluralRules)throw new ie('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Zt.MISSING_INTL_API,s);var m=r.getPluralRules(e,{type:u.pluralType}).select(h-(u.offset||0)),g=u.options[m]||u.options.other}if(!g)throw new se(u.value,h,Object.keys(u.options),s);a.push.apply(a,fe(g.value,e,r,n,o,h-(u.offset||0)))}}}}return a.length<2?a:a.reduce(function(t,e){var r=t[t.length-1];return r&&r.type===te.literal&&e.type===te.literal?r.value+=e.value:t.push(e),t},[])}function me(r){return{create:function(){return{has:function(t){return t in r},get:function(t){return r[t]},set:function(t,e){r[t]=e}}}}}(ct=te=te||{})[ct.literal=0]="literal",ct[ct.object=1]="object";var de=(Object.defineProperty(ge,"defaultLocale",{get:function(){return ge.memoizedDefaultLocale||(ge.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),ge.memoizedDefaultLocale},enumerable:!1,configurable:!0}),ge.memoizedDefaultLocale=null,ge.__parse=zt,ge.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"}}},ge);function ge(t,e,r,n){var o,i,s=this;if(void 0===e&&(e=ge.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){t=s.formatToParts(t);if(1===t.length)return t[0].value;t=t.reduce(function(t,e){return t.length&&e.type===te.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t},[]);return t.length<=1?t[0]||"":t},this.formatToParts=function(t){return fe(s.ast,s.locales,s.formatters,s.formats,t,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof t){if(this.message=t,!ge.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=ge.__parse(t,{ignoreTag:null==n?void 0:n.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(o=ge.formats,(i=r)?Object.keys(o).reduce(function(t,e){var r,n;return t[e]=(r=o[e],(n=i[e])?$($($({},r||{}),n||{}),Object.keys(r).reduce(function(t,e){return t[e]=$($({},r[e]),n[e]||{}),t},{})):r),t},$({},o)):o),this.locales=e,this.formatters=n&&n.formatters||{getNumberFormat:Bt(function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,J([void 0],e)))},{cache:me((n=void 0===(n=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:n).number),strategy:Jt.variadic}),getDateTimeFormat:Bt(function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,J([void 0],e)))},{cache:me(n.dateTime),strategy:Jt.variadic}),getPluralRules:Bt(function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,J([void 0],e)))},{cache:me(n.pluralRules),strategy:Jt.variadic})}}const ye={},Ee=(e,r)=>{if(null!=r){if(r in ye&&e in ye[r])return ye[r][e];var n,o,i=Me(r);for(let t=0;t<i.length;t++){var s=(n=i[t],o=e,ve(n)?function(t,e){if(e in t)return t[e];const r=e.split(".");let n=t;for(let t=0;t<r.length;t++)if("object"==typeof n){if(0<t){const e=r.slice(t,r.length).join(".");if(e in n){n=n[e];break}}n=n[r[t]]}else n=void 0;return n}(function(t){return be[t]||null}(n),o):null);if(s)return n=e,o=r,(s=s)&&(o in ye||(ye[o]={}),n in ye[o]||(ye[o][n]=s),s)}}};let be;const _e=b({});function ve(t){return t in be}function Te(e,...r){delete ye[e],_e.update(t=>(t[e]=C.all([t[e]||{},...r]),t))}u([_e],([t])=>Object.keys(t)),_e.subscribe(t=>be=t);const we={};function Ae(t){return we[t]}function Le(t){return Me(t).some(t=>{return null===(t=Ae(t))||void 0===t?void 0:t.size})}const Pe={};function Se(t){if(!Le(t))return t in Pe?Pe[t]:void 0;const e=Me(t).map(t=>{var e=Ae(t);return[t,e?[...e]:[]]}).filter(([,t])=>0<t.length);return Pe[t]=Promise.all(e.map(([t,r])=>function(e){return Promise.all(r.map(t=>(function(t,e){we[t].delete(e),0===we[t].size&&delete we[t]}(e,t),t().then(t=>t.default||t)))).then(t=>Te(e,...t))}(t))).then(()=>Le(t)?Se(t):void delete Pe[t]),Pe[t]}function xe(t,e){var r={};for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(r[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(t);n<o.length;n++)e.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(t,o[n])&&(r[o[n]]=t[o[n]]);return r}const Oe={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{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"}}},warnOnMissingMessages:!0,ignoreTag:!0};const Ne=b(!1);let Ie;const Re=b(null);function Ce(t){return t.split("-").map((t,e,r)=>r.slice(0,e+1).join("-")).reverse()}function Me(t,e=Oe.fallbackLocale){t=Ce(t);return e?[...new Set([...t,...Ce(e)])]:t}Re.subscribe(t=>{Ie=t,"undefined"!=typeof window&&null!==t&&document.documentElement.setAttribute("lang",t)});const Ue=Re.set;Re.set=e=>{if(function(t){if(null!=t){var e=Me(t);for(let t=0;t<e.length;t++){var r=e[t];if(ve(r))return r}}}(e)&&Le(e)){var{loadingDelay:r}=Oe;let t;return"undefined"!=typeof window&&null!=Ie&&r?t=window.setTimeout(()=>Ne.set(!0),r):Ne.set(!0),Se(e).then(()=>{Ue(e)}).finally(()=>{clearTimeout(t),Ne.set(!1)})}return Ue(e)},Re.update=t=>Ue(t(Ie));const ke=r=>{const n=Object.create(null);return t=>{var e=JSON.stringify(t);return e in n?n[e]:n[e]=r(t)}},De=(t,e)=>{var{formats:r}=Oe;if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},Ge=ke(t=>{var{locale:e,format:r}=t,t=xe(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(t=De("number",r)),new Intl.NumberFormat(e,t)}),$e=ke(t=>{var{locale:e,format:r}=t,t=xe(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?t=De("date",r):0===Object.keys(t).length&&(t=De("date","short")),new Intl.DateTimeFormat(e,t)}),Fe=ke(t=>{var{locale:e,format:r}=t,t=xe(t,["locale","format"]);if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?t=De("time",r):0===Object.keys(t).length&&(t=De("time","short")),new Intl.DateTimeFormat(e,t)}),je=ke((t,e=Ie)=>new de(t,e,Oe.formats,{ignoreTag:Oe.ignoreTag})),Ve=u([Re,_e],()=>(t,e={})=>{"object"==typeof t&&(t=(e=t).id);var{values:r,locale:n=Ie,default:o}=e;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=Ee(t,n);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else Oe.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${t}" was not found in "${Me(n).join('", "')}".${Le(Ie)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=o||t;if(!r)return i;let s=i;try{s=je(i,n).format(r)}catch(e){console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return s});u([Re],()=>(t,e)=>((t={})=>{var{locale:e=Ie}=t,t=xe(t,["locale"]);return Fe(Object.assign({locale:e},t))})(e).format(t)),u([Re],()=>(t,e)=>((t={})=>{var{locale:e=Ie}=t,t=xe(t,["locale"]);return $e(Object.assign({locale:e},t))})(e).format(t)),u([Re],()=>(t,e)=>((t={})=>{var{locale:e=Ie}=t,t=xe(t,["locale"]);return Ge(Object.assign({locale:e},t))})(e).format(t)),u([Re,_e],()=>(t,e=Ie)=>Ee(t,e));const Xe={en:{promotions:{promotionsTitle:"Promotions",promotionsButton:"More Info"}},tr:{promotions:{promotionsTitle:"Promosyonlar",promotionsButton:"Daha fazla bilgi"}},ro:{promotions:{promotionsTitle:"Promotii",promotionsButton:"Detalii"}}};function ze(t,e,r){const n=t.slice();return n[29]=e[r],n[31]=r,n}function Be(t,e,r){const n=t.slice();return n[32]=e[r],n}function He(t,e,r){const n=t.slice();return n[35]=e[r],n}function qe(t,e,r){const n=t.slice();return n[32]=e[r],n}function Ye(r){let n,s,o,a,i,l,c,u,p,h,f,m,d,g,y,E,b,t,_,v,T,w,A,L,P,S,x,O,N,I,R,C=r[12]("promotions.promotionsTitle")+"",M=r[3],U=[];for(let t=0;t<M.length;t+=1)U[t]=We(He(r,M,t));let k=r[9],D=[];for(let t=0;t<k.length;t+=1)D[t]=Ze(Be(r,k,t));let G=r[10],$=[];for(let t=0;t<G.length;t+=1)$[t]=Qe(ze(r,G,t));return{c(){n=z("section"),s=z("div"),o=z("h1"),a=B(C),i=H(),l=z("div");for(let t=0;t<U.length;t+=1)U[t].c();c=H(),u=z("div"),p=z("div"),h=H(),f=z("div"),m=z("div"),m.innerHTML='<svg class="w-6 h-6" 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"></path></svg>',d=H(),g=z("div"),y=z("picture");for(let t=0;t<D.length;t+=1)D[t].c();E=H(),b=z("img"),_=H(),v=z("div"),T=z("div"),w=z("ul");for(let t=0;t<$.length;t+=1)$[t].c();A=H(),L=z("div"),P=z("h3"),S=H(),x=z("div"),Y(o,"class","promotions__title"),Y(l,"class","promotions__grid"),Y(p,"class","modal__backdrop"),Y(m,"class","modal__close"),b.src!==(t=r[8])&&Y(b,"src",t),Y(b,"alt",r[6]),Y(y,"class","modal__picture"),Y(g,"class","modal__header"),Y(w,"class","modal__tabs"),Y(P,"class","modal__body_title"),Y(x,"class","modal__tab_content"),Y(L,"class","modal__tabContentWrapper"),Y(T,"class","modal__body_content"),Y(v,"class","modal__body"),Y(f,"class","modal__content"),Y(u,"class","promo__modal modal"),Y(s,"class",O="promotions "+r[4]),W(s,"max-width",r[0]+"px"),Q(()=>r[20].call(s)),Y(n,"class","promotion__section")},m(t,e){V(t,n,e),j(n,s),j(s,o),j(o,a),j(s,i),j(s,l);for(let t=0;t<U.length;t+=1)U[t].m(l,null);j(s,c),j(s,u),j(u,p),j(u,h),j(u,f),j(f,m),j(f,d),j(f,g),j(g,y);for(let t=0;t<D.length;t+=1)D[t].m(y,null);j(y,E),j(y,b),j(f,_),j(f,v),j(v,T),j(T,w);for(let t=0;t<$.length;t+=1)$[t].m(w,null);j(T,A),j(T,L),j(L,P),P.innerHTML=r[6],j(L,S),j(L,x),x.innerHTML=r[7],r[19](T),N=function(t,e){"static"===getComputedStyle(t).position&&(t.style.position="relative");const r=z("iframe");r.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;"),r.setAttribute("aria-hidden","true"),r.tabIndex=-1;const n=function(){if(void 0===Z){Z=!1;try{"undefined"!=typeof window&&window.parent&&window.parent.document}catch(t){Z=!0}}return Z}();let o;return n?(r.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",o=q(window,"message",t=>{t.source===r.contentWindow&&e()})):(r.src="about:blank",r.onload=()=>{o=q(r.contentWindow,"resize",e)}),j(t,r),()=>{(n||o&&r.contentWindow)&&o(),X(r)}}(s,r[20].bind(s)),r[21](s),I||(R=[q(p,"click",r[14]),q(m,"click",r[14])],I=!0)},p(e,r){if(4096&r[0]&&C!==(C=e[12]("promotions.promotionsTitle")+"")&&K(a,C),12296&r[0]){let t;for(M=e[3],t=0;t<M.length;t+=1){var n=He(e,M,t);U[t]?U[t].p(n,r):(U[t]=We(n),U[t].c(),U[t].m(l,null))}for(;t<U.length;t+=1)U[t].d(1);U.length=M.length}if(512&r[0]){let t;for(k=e[9],t=0;t<k.length;t+=1){var o=Be(e,k,t);D[t]?D[t].p(o,r):(D[t]=Ze(o),D[t].c(),D[t].m(y,E))}for(;t<D.length;t+=1)D[t].d(1);D.length=k.length}if(256&r[0]&&b.src!==(t=e[8])&&Y(b,"src",t),64&r[0]&&Y(b,"alt",e[6]),33792&r[0]){let t;for(G=e[10],t=0;t<G.length;t+=1){var i=ze(e,G,t);$[t]?$[t].p(i,r):($[t]=Qe(i),$[t].c(),$[t].m(w,null))}for(;t<$.length;t+=1)$[t].d(1);$.length=G.length}64&r[0]&&(P.innerHTML=e[6]),128&r[0]&&(x.innerHTML=e[7]),16&r[0]&&O!==(O="promotions "+e[4])&&Y(s,"class",O),1&r[0]&&W(s,"max-width",e[0]+"px")},d(t){t&&X(n),e(U,t),e(D,t),e($,t),r[19](null),N(),r[21](null),I=!1,F(R)}}}function Ke(t){let r,n,o;return{c(){r=z("source"),Y(r,"srcset",n=t[32].pictureSource),Y(r,"media",o="("+t[32].media+")")},m(t,e){V(t,r,e)},p(t,e){8&e[0]&&n!==(n=t[32].pictureSource)&&Y(r,"srcset",n),8&e[0]&&o!==(o="("+t[32].media+")")&&Y(r,"media",o)},d(t){t&&X(r)}}}function We(r){let n,o,i,s,a,l,c,u,p,h,f,m,d,g,y,E,b,_=r[35].title+"",v=r[35].content.split("</p>")[0]+"",T=r[12]("promotions.promotionsButton")+"",w=r[35].image.sources,A=[];for(let t=0;t<w.length;t+=1)A[t]=Ke(qe(r,w,t));return{c(){n=z("div"),o=z("picture");for(let t=0;t<A.length;t+=1)A[t].c();i=H(),s=z("img"),c=H(),u=z("div"),p=z("h2"),h=H(),f=z("div"),m=H(),d=z("button"),g=B(T),y=H(),s.src!==(a=r[35].image.src)&&Y(s,"src",a),Y(s,"alt",l=r[35].title),Y(o,"class","promo__picture"),Y(p,"class","promo__title"),Y(f,"class","promo__content text--ellipsis"),Y(d,"class","promo__button"),Y(u,"class","promo__details"),Y(n,"class","promo")},m(t,e){V(t,n,e),j(n,o);for(let t=0;t<A.length;t+=1)A[t].m(o,null);j(o,i),j(o,s),j(n,c),j(n,u),j(u,p),p.innerHTML=_,j(u,h),j(u,f),f.innerHTML=v,j(u,m),j(u,d),j(d,g),j(n,y),E||(b=q(d,"click",function(){L(r[13](r[35]))&&r[13](r[35]).apply(this,arguments)}),E=!0)},p(t,e){if(r=t,8&e[0]){let t;for(w=r[35].image.sources,t=0;t<w.length;t+=1){const s=qe(r,w,t);A[t]?A[t].p(s,e):(A[t]=Ke(s),A[t].c(),A[t].m(o,i))}for(;t<A.length;t+=1)A[t].d(1);A.length=w.length}8&e[0]&&s.src!==(a=r[35].image.src)&&Y(s,"src",a),8&e[0]&&l!==(l=r[35].title)&&Y(s,"alt",l),8&e[0]&&_!==(_=r[35].title+"")&&(p.innerHTML=_),8&e[0]&&v!==(v=r[35].content.split("</p>")[0]+"")&&(f.innerHTML=v),4096&e[0]&&T!==(T=r[12]("promotions.promotionsButton")+"")&&K(g,T)},d(t){t&&X(n),e(A,t),E=!1,b()}}}function Ze(t){let r,n,o;return{c(){r=z("source"),Y(r,"srcset",n=t[32].pictureSource),Y(r,"media",o="("+t[32].media+")")},m(t,e){V(t,r,e)},p(t,e){512&e[0]&&n!==(n=t[32].pictureSource)&&Y(r,"srcset",n),512&e[0]&&o!==(o="("+t[32].media+")")&&Y(r,"media",o)},d(t){t&&X(r)}}}function Qe(r){let n,o,i,s,a=r[29].tabDesc+"";return{c(){n=z("li"),o=B(a),Y(n,"class","modal__tab"),Y(n,"id",`tab-${r[31]}`)},m(t,e){V(t,n,e),j(n,o),i||(s=q(n,"click",function(){L(r[15](r[29],r[31]))&&r[15](r[29],r[31]).apply(this,arguments)}),i=!0)},p(t,e){r=t,1024&e[0]&&a!==(a=r[29].tabDesc+"")&&K(o,a)},d(t){t&&X(n),i=!1,s()}}}function Je(t){let r,n=!0!==t[2]&&Ye(t);return{c(){n&&n.c(),r=B(""),this.c=p},m(t,e){n&&n.m(t,e),V(t,r,e)},p(t,e){!0!==t[2]?n?n.p(t,e):(n=Ye(t),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},i:p,o:p,d(t){n&&n.d(t),t&&X(r)}}}function tr(e,t,r){let n;var o=Ve;e.$$.on_destroy.push(S(o,t=>r(12,n=t)));var i,s,a=this&&this.__awaiter||function(t,s,a,l){return new(a=a||Promise)(function(r,e){function n(t){try{i(l.next(t))}catch(t){e(t)}}function o(t){try{i(l.throw(t))}catch(t){e(t)}}function i(t){var e;t.done?r(t.value):((e=t.value)instanceof a?e:new a(function(t){t(e)})).then(n,o)}i((l=l.apply(t,s||[])).next())})};let l,c,u,p,h,f,{endpoint:m=""}=t,{lang:d=""}=t,{env:g=""}=t,{containermaxwidth:y=""}=t,E=!1,b=[],_,v,T,w,A=[];[{withLocale:i,translations:s}]=[{withLocale:"en",translations:{}}],Re.subscribe(t=>{null==t&&(_e.set(s),Re.set(i))}),Object.keys(Xe).forEach(t=>{Te(t,Xe[t])});const L=(t,e)=>{f.querySelector(".modal__tab_content").innerHTML=t.tabContent;let r=f.querySelectorAll(".modal__tab");for(let t=0;t<r.length;t++)r[t].classList.remove("modal__tab--active");f.querySelector(`#tab-${e}`).classList.add("modal__tab--active")},P={sm:640,md:768,lg:1024,xl:1280,xxl:1536};return e.$$set=t=>{"endpoint"in t&&r(16,m=t.endpoint),"lang"in t&&r(17,d=t.lang),"env"in t&&r(18,g=t.env),"containermaxwidth"in t&&r(0,y=t.containermaxwidth)},e.$$.update=()=>{var t;2&e.$$.dirty[0]&&r(4,c=Object.entries(P).reduce((t,[e,r])=>[...t,l>=r?e:""],[]).join(" ")),131072&e.$$.dirty[0]&&d&&(t=d,Re.set(t)),458752&e.$$.dirty[0]&&m&&d&&g&&(()=>{r(2,E=!0);var t=new URL(`${m}/${d}/promotions?env=${g}`);fetch(t.href).then(t=>t.json()).then(t=>{r(2,E=!1),r(3,b=t)}).catch(t=>{r(2,E=!1),console.error(t)})})()},[y,l,E,b,c,u,"","",{},[],A,f,n,t=>a(void 0,void 0,void 0,function*(){r(6,_=t.title),r(7,v=t.content),r(8,T=t.image.src),r(9,w=t.image.sources),r(10,A=[{order:"0",tabContent:v,tabDesc:"Description"},...t.tabs]),p=u.querySelector(".modal"),h=window.document.querySelector("body"),p.classList.add("modal--open"),h.style.overflow="hidden",N(),yield O,L(A[0],0)}),()=>{p=u.querySelector(".modal"),h=window.document.querySelector("body"),p.classList.remove("modal--open"),h.style.overflow="initial"},L,m,d,g,function(t){x[t?"unshift":"push"](()=>{f=t,r(11,f)})},function(){l=this.clientWidth,r(1,l)},function(t){x[t?"unshift":"push"](()=>{u=t,r(5,u)})}]}class er extends l{constructor(t){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.text--ellipsis>*{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.promotion__section{--bg-color:var(--emfe-w-color-contrast, #07072A);--text-color:var(--emfe-w-color-white, #FFFFFF);--text-color-black:var(--emfe-w-color-black, #000000);--text-color-red:var(--emfe-w-color-secondary, #FD2839);--border-color:var(--emfe-w-color-gray-300, #58586B);--modal-bg-color:var(--emfe-w-color-gray-50, #F9F8F8);--modal-tabs-text-color:var(--emfe-w-color-gray-150, #828282);--modal-tabs-color:var(--emfe-w-color-gray-100, #E6E6E6);--modal-active-tab-color:var(--emfe-w-color-contrast, #07072A);--modal-title-color:var(--emfe-w-color-primary, #D0046C);width:100%;background-color:var(--bg-color)}.promotions{margin:0 auto;padding:24px 0;color:var(--text-color)}@media screen and (max-width: 1300px){.promotions{padding:24px 2.4%}}.promotions__title{font-size:22px;font-weight:normal;margin-bottom:18px}.promotions__grid{display:grid;grid-auto-rows:220px;grid-template-columns:1fr;grid-row-gap:16px}.md .promotions__grid{grid-auto-rows:260px;grid-template-columns:repeat(2, 1fr);grid-gap:20px}.xl .promotions__grid{grid-auto-rows:260px;grid-template-columns:repeat(3, 1fr);grid-gap:30px}.promo{display:flex;position:relative;flex-direction:column;justify-content:flex-end;width:100%;height:auto;padding:12px 8px;border:1px solid var(--border-color);border-radius:5px;overflow:hidden;transition:all 150ms ease}.promo:hover{border:1px solid var(--text-color)}.promo__picture{position:absolute;width:100%;height:100%;top:0;left:0;z-index:0}.promo__picture img{width:100%;height:100%;object-fit:cover;border-radius:5px}.promo__picture::before{content:\"\";position:absolute;top:0;left:0;width:100%;height:100%;background:black;background:linear-gradient(0deg, black 0%, rgba(7, 7, 42, 0.2) 90%)}.promo__details{padding:0 10px 13px 17px;z-index:5}.promo__title{display:inline-block;margin-bottom:6px;font-size:18px;font-weight:normal}.promo__content{margin-bottom:15px;font-size:14px}.promo__button{font-size:14px;text-transform:uppercase;padding:10px 20px;background:none;color:var(--text-color);border:1px solid var(--text-color);border-radius:5px;cursor:pointer;transition:all 150ms ease}.promo__button:hover{background:var(--modal-title-color);border:1px solid var(--modal-title-color)}.modal{display:none;justify-content:center;align-items:center;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:100}.modal--open{display:flex}.modal__backdrop{position:absolute;background-color:var(--bg-color);opacity:0.6;width:100%;height:100%;z-index:105}.modal__content{position:relative;display:flex;flex-direction:column;width:100%;background-color:var(--modal-bg-color);z-index:110;border-radius:5px}.md .modal__content{width:700px;height:70%}.modal__close{position:absolute;width:36px;height:36px;top:10px;right:10px;z-index:110;cursor:pointer;transition:all 150ms ease;color:var(--text-color)}.modal__close:hover{color:var(--text-color-red)}.modal__picture img{width:100%;height:200px;object-fit:cover;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-top-left-radius:5px;border-top-right-radius:5px}.md .modal__picture img{height:300px}.modal__body{padding:16px 8px;color:var(--text-color-black);height:calc(100vh - 200px);overflow-y:auto;border-top-left-radius:5px;border-top-right-radius:5px}.modal__body_title{font-size:18px;margin-bottom:10px;color:var(--modal-title-color)}.modal__body_content{font-size:14px;line-height:1.3}.modal__body_content *{margin-bottom:8px}.md .modal__body{height:calc(100vh - 300px);padding:22px 8%}.lg .modal__body{padding:30px 40px}.modal__tabs{position:relative;display:inline-flex;width:100%;flex-wrap:nowrap;gap:14px;white-space:nowrap;overflow-x:auto;margin-bottom:20px}.modal__tabs::before{content:'';position:absolute;bottom:4px;left:0;width:100%;height:2px;background-color:var(--modal-tabs-color);z-index:125}.modal__tab{background:none;border:none;padding:8px 0;color:var(--modal-tabs-text-color);font-size:14px;cursor:pointer;transition:all 150ms ease}.modal__tab--active{position:relative;color:var(--modal-active-tab-color);z-index:130}.modal__tab--active:before{content:'';left:0;bottom:-4px;position:absolute;width:100%;height:2px;background-color:var(--modal-active-tab-color)}.modal__tab:hover{color:var(--bg-color)}</style>",a(this,{target:this.shadowRoot,props:function(t){const e={};for(const r of t)e[r.name]=r.value;return e}(this.attributes),customElement:!0},tr,Je,r,{endpoint:16,lang:17,env:18,containermaxwidth:0},[-1,-1]),t&&(t.target&&V(t.target,this,t.anchor),t.props&&(this.$set(t.props),y()))}static get observedAttributes(){return["endpoint","lang","env","containermaxwidth"]}get endpoint(){return this.$$.ctx[16]}set endpoint(t){this.$set({endpoint:t}),y()}get lang(){return this.$$.ctx[17]}set lang(t){this.$set({lang:t}),y()}get env(){return this.$$.ctx[18]}set env(t){this.$set({env:t}),y()}get containermaxwidth(){return this.$$.ctx[0]}set containermaxwidth(t){this.$set({containermaxwidth:t}),y()}}return customElements.get("casino-promotions")||customElements.define("casino-promotions",er),er});
2
2
  //# sourceMappingURL=casino-promotions.js.map