@everymatrix/casino-tournaments-thumbnail-prizes 1.0.13 → 1.0.15
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(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function E(){}function U(e){return e()}function G(){return Object.create(null)}function b(e){e.forEach(U)}function D(e){return"function"==typeof e}function F(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function z(e,...t){if(null==e)return E;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function g(e,t){e.appendChild(t)}function d(e,t,r){e.insertBefore(t,r||null)}function y(e){e.parentNode.removeChild(e)}function T(e){return document.createElement(e)}function v(e){return document.createTextNode(e)}function k(){return v(" ")}function H(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function _(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}let B;function P(e){B=e}const A=[],$=[],x=[],j=[],V=Promise.resolve();let X=!1;function K(e){x.push(e)}const Z=new Set;let Y=0;function S(){const e=B;do{for(;Y<A.length;){const e=A[Y];Y++,P(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),b(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(K))}for(P(null),A.length=0,Y=0;$.length;)$.pop()();for(let e=0;e<x.length;e+=1){const n=x[e];Z.has(n)||(Z.add(n),n())}}while(x.length=0,A.length);for(;j.length;)j.pop()();X=!1,Z.clear(),P(e)}const W=new Set;function Q(n,e,t,r,i,o,s,a=[-1]){var h=B;P(n);const l=n.$$={fragment:null,ctx:null,props:o,update:E,not_equal:i,bound:G(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(h?h.$$.context:[])),callbacks:G(),dirty:a,skip_bound:!1,root:e.target||h.$$.root};s&&s(l.root);let u=!1;if(l.ctx=t?t(n,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return l.ctx&&i(l.ctx[e],l.ctx[e]=r)&&(!l.skip_bound&&l.bound[e]&&l.bound[e](r),u&&(r=e,-1===(e=n).$$.dirty[0]&&(A.push(e),X||(X=!0,V.then(S)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],l.update(),u=!0,b(l.before_update),l.fragment=!!r&&r(l.ctx),e.target){if(e.hydrate){o=e.target;const E=Array.from(o.childNodes);l.fragment&&l.fragment.l(E),E.forEach(y)}else l.fragment&&l.fragment.c();e.intro&&(a=n.$$.fragment)&&a.i&&(W.delete(a),a.i(void 0));{var c=n;s=e.target;t=e.anchor;r=e.customElement;const{fragment:p,on_mount:f,on_destroy:m,after_update:g}=c.$$;p&&p.m(s,t),r||K(()=>{var e=f.map(U).filter(D);m?m.push(...e):b(e),c.$$.on_mount=[]}),g.forEach(K)}S()}P(h)}let J;"function"==typeof HTMLElement&&(J=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(U).filter(D);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){b(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(b(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=E}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});const t=[];function q(n,i=E){let o;const s=new Set;function a(e){if(F(n,e)&&(n=e,o)){const e=!t.length;for(const e of s)e[1](),t.push(e,n);if(e){for(let e=0;e<t.length;e+=2)t[e][0](t[e+1]);t.length=0}}}return{set:a,update:function(e){a(e(n))},subscribe:function(e,t=E){const r=[e,t];return s.add(r),1===s.size&&(o=i(a)||E),e(n),()=>{s.delete(r),0===s.size&&(o(),o=null)}}}}function e(e,a,t){const h=!Array.isArray(e),l=h?[e]:e,u=a.length<2;return{subscribe:q(t,t=>{let r=!1;const n=[];let i=0,o=E;const s=()=>{var e;i||(o(),e=a(h?n[0]:n,t),u?t(e):o=D(e)?e:E)},e=l.map((e,t)=>z(e,e=>{n[t]=e,i&=~(1<<t),r&&s()},()=>{i|=1<<t}));return r=!0,s(),function(){b(e),o()}}).subscribe}}function ee(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===te));var t}var te="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function a(e,t){return!1!==t.clone&&t.isMergeableObject(e)?h(Array.isArray(e)?[]:{},e,t):e}function re(e,t,r){return e.concat(t).map(function(e){return a(e,r)})}function ne(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function ie(e,t){try{return t in e}catch(e){return!1}}function oe(n,i,o){var s={};return o.isMergeableObject(n)&&ne(n).forEach(function(e){s[e]=a(n[e],o)}),ne(i).forEach(function(t){var e,r;(!ie(e=n,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(ie(n,t)&&o.isMergeableObject(i[t])?s[t]=function(e){if(!e.customMerge)return h;e=e.customMerge(t);return"function"==typeof e?e:h}(o)(n[t],i[t],o):s[t]=a(i[t],o))}),s}function h(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||re,r.isMergeableObject=r.isMergeableObject||ee,r.cloneUnlessOtherwiseSpecified=a;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):oe(e,t,r):a(t,r)}h.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return h(e,t,r)},{});throw new Error("first argument should be an array")};var se=h,ae=function(e,t){return(ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function he(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}ae(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var L,N,I,w=function(){return(w=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function le(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||((n=n||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function ue(e){return e.type===N.literal}function ce(e){return e.type===N.number}function pe(e){return e.type===N.date}function fe(e){return e.type===N.time}function me(e){return e.type===N.select}function ge(e){return e.type===N.plural}function Ee(e){return e.type===N.tag}function be(e){return e&&"object"==typeof e&&e.type===I.number}function de(e){return e&&"object"==typeof e&&e.type===I.dateTime}(r=L=L||{})[r.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",r[r.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",r[r.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",r[r.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",r[r.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",r[r.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",r[r.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",r[r.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",r[r.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",r[r.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",r[r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",r[r.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",r[r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",r[r.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",r[r.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",r[r.INVALID_TAG=23]="INVALID_TAG",r[r.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",r[r.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",r[r.UNCLOSED_TAG=27]="UNCLOSED_TAG",(r=N=N||{})[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag",(r=I=I||{})[r.number=0]="number",r[r.dateTime=1]="dateTime";var r=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ye=/(?:[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 Te=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,ve=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,He=/^(@+)?(\+|#+)?[rs]?$/g,_e=/(\*)(0+)|(#+)(0+)|(0+)/g,Be=/^(0+)$/;function Pe(e){var n={};return"r"===e[e.length-1]?n.roundingPriority="morePrecision":"s"===e[e.length-1]&&(n.roundingPriority="lessPrecision"),e.replace(He,function(e,t,r){return"string"!=typeof r?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===r?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),n}function Ae(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Se(e){return Ae(e)||{}}function Le(e){for(var s={},t=0,r=e;t<r.length;t++){var n,i=r[t];switch(i.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=i.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=i.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=w(w(w({},s),{notation:"scientific"}),i.options.reduce(function(e,t){return w(w({},e),Se(t))},{}));continue;case"engineering":s=w(w(w({},s),{notation:"engineering"}),i.options.reduce(function(e,t){return w(w({},e),Se(t))},{}));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(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(_e,function(e,t,r,n,i,o){if(t)s.minimumIntegerDigits=r.length;else{if(n&&i)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Be.test(i.stem))s.minimumIntegerDigits=i.stem.length;else if(ve.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ve,function(e,t,r,n,i,o){return"*"===r?s.minimumFractionDigits=t.length:n&&"#"===n[0]?s.maximumFractionDigits=n.length:i&&o?(s.minimumFractionDigits=i.length,s.maximumFractionDigits=i.length+o.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""});var o=i.options[0];"w"===o?s=w(w({},s),{trailingZeroDisplay:"stripIfInteger"}):o&&(s=w(w({},s),Pe(o)))}else He.test(i.stem)?s=w(w({},s),Pe(i.stem)):((o=Ae(i.stem))&&(s=w(w({},s),o)),(n=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Be.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(s=w(w({},s),n)))}return s}var Ne={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var Ie=new RegExp("^".concat(r.source,"*")),we=new RegExp("".concat(r.source,"*$"));function O(e,t){return{start:e,end:t}}var r=!!String.prototype.startsWith,Oe=!!String.fromCodePoint,Ce=!!Object.fromEntries,Me=!!String.prototype.codePointAt,Re=!!String.prototype.trimStart,Ue=!!String.prototype.trimEnd,Ge=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},De=!0;try{De="a"===(null==(i=Ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:i[0])}catch(E){De=!1}var Fe,ze,ke=r?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},$e=Oe?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",i=e.length,o=0;o<i;){if(1114111<(r=e[o++]))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},xe=Ce?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r],o=i[0],i=i[1];t[o]=i}return t},je=Me?function(e,t){return e.codePointAt(t)}:function(e,t){var r,n=e.length;if(!(t<0||n<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===n||(n=e.charCodeAt(t+1))<56320||57343<n?r:n-56320+(r-55296<<10)+65536},Ve=Re?function(e){return e.trimStart()}:function(e){return e.replace(Ie,"")},Xe=Ue?function(e){return e.trimEnd()}:function(e){return e.replace(we,"")};function Ke(e,t){return new RegExp(e,t)}ze=De?(Fe=Ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Fe.lastIndex=t,null!=(t=Fe.exec(e)[1])?t:""}):function(e,t){for(var r,n=[];;){var i=je(e,t);if(void 0===i||We(i)||(33<=(r=i)&&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(i),t+=65536<=i?2:1}return $e.apply(void 0,n)};n.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},n.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i,o=this.char();if(123===o){if((i=this.parseArgument(e,r)).err)return i;n.push(i.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(L.UNMATCHED_CLOSING_TAG,O(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Ye(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;n.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;n.push(i.val)}}else{o=this.clonePosition();this.bump(),n.push({type:N.pound,location:O(o,this.clonePosition())})}}}return{val:n,err:null}},n.prototype.parseTag=function(e,t){var r=this.clonePosition(),n=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:N.literal,value:"<".concat(n,"/>"),location:O(r,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ye(this.char()))return this.error(L.INVALID_TAG,O(e,this.clonePosition()));var i=this.clonePosition();return n!==this.parseTagName()?this.error(L.UNMATCHED_CLOSING_TAG,O(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:N.tag,value:n,children:t,location:O(r,this.clonePosition())},err:null}:this.error(L.INVALID_TAG,O(e,this.clonePosition())))}return this.error(L.UNCLOSED_TAG,O(r,this.clonePosition()))}return this.error(L.INVALID_TAG,O(r,this.clonePosition()))},n.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},n.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{i=this.tryParseUnquoted(e,t);if(i)n+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;n+=i}}}r=O(r,this.clonePosition());return{val:{type:N.literal,value:n,location:r},err:null}},n.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ye(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},n.prototype.tryParseQuote=function(e){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"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return $e.apply(void 0,t)},n.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),$e(r))},n.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE,O(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(L.EMPTY_ARGUMENT,O(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(L.MALFORMED_ARGUMENT,O(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE,O(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:N.argument,value:n,location:O(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE,O(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(L.MALFORMED_ARGUMENT,O(r,this.clonePosition()))}},n.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=ze(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:O(e,this.clonePosition())}},n.prototype.parseArgumentOptions=function(e,t,r,n){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(L.EXPECT_ARGUMENT_TYPE,O(o,a));case"number":case"date":case"time":this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(f=Xe(m.val)).length)return this.error(L.EXPECT_ARGUMENT_STYLE,O(this.clonePosition(),this.clonePosition()));h={style:f,styleLocation:O(l,this.clonePosition())}}if((l=this.tryParseArgumentClose(n)).err)return l;var u=O(n,this.clonePosition());if(h&&ke(null==h?void 0:h.style,"::",0)){var c=Ve(h.style.slice(2));if("number"===s)return(m=this.parseNumberSkeletonFromString(c,h.styleLocation)).err?m:{val:{type:N.number,value:r,location:u,style:m.val},err:null};if(0===c.length)return this.error(L.EXPECT_DATE_TIME_SKELETON,u);var p=c,f=(this.locale&&(p=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var s=1+(1&o),a=o<2?1:3+(o>>1),h=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(Ne[t||""]||Ne[r||""]||Ne["".concat(r,"-001")]||Ne["001"])[0]}(t);for("H"!=h&&"k"!=h||(a=0);0<a--;)r+="a";for(;0<s--;)r=h+r}else r+="J"===i?"H":i}return r}(c,this.locale)),{type:I.dateTime,pattern:p,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},p.replace(ye,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"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":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-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":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<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""}),i):{}});return{val:{type:"date"===s?N.date:N.time,value:r,location:u,style:f},err:null}}return{val:{type:"number"===s?N.number:"date"===s?N.date:N.time,value:r,location:u,style:null!=(c=null==h?void 0:h.style)?c:null},err:null};case"plural":case"selectordinal":case"select":p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(L.EXPECT_SELECT_ARGUMENT_OPTIONS,O(p,w({},p)));this.bumpSpace();var m,f=this.parseIdentifierIfPossible(),u=0;if("select"!==s&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(L.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,L.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),f=this.parseIdentifierIfPossible(),u=m.val}h=this.tryParsePluralOrSelectOptions(e,s,t,f);if(h.err)return h;if((l=this.tryParseArgumentClose(n)).err)return l;c=O(n,this.clonePosition());return"select"===s?{val:{type:N.select,value:r,options:xe(h.val),location:c},err:null}:{val:{type:N.plural,value:r,options:xe(h.val),offset:u,pluralType:"plural"===s?"cardinal":"ordinal",location:c},err:null};default:return this.error(L.INVALID_ARGUMENT_TYPE,O(o,a))}},n.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE,O(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},n.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(L.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,O(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},n.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(Te).filter(function(e){return 0<e.length});r<n.length;r++){var i=n[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],i=i.slice(1),s=0,a=i;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:i})}return t}(e)}catch(e){return this.error(L.INVALID_NUMBER_SKELETON,t)}return{val:{type:I.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Le(r):{}},err:null}},n.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i=!1,o=[],s=new Set,a=n.value,h=n.location;;){if(0===a.length){var l=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_SELECTOR,L.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;h=O(l,this.clonePosition()),a=this.message.slice(l.offset,this.offset())}if(s.has(a))return this.error("select"===t?L.DUPLICATE_SELECT_ARGUMENT_SELECTOR:L.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);"other"===a&&(i=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?L.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:L.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,O(this.clonePosition(),this.clonePosition()));l=this.parseMessage(e+1,t,r);if(l.err)return l;var c=this.tryParseArgumentClose(u);if(c.err)return c;o.push([a,{value:l.val,location:O(u,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(c=this.parseIdentifierIfPossible()).value,h=c.location}return 0===o.length?this.error("select"===t?L.EXPECT_SELECT_ARGUMENT_SELECTOR:L.EXPECT_PLURAL_ARGUMENT_SELECTOR,O(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(L.MISSING_OTHER_CLAUSE,O(this.clonePosition(),this.clonePosition())):{val:o,err:null}},n.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;i=!0,o=10*o+(s-48),this.bump()}n=O(n,this.clonePosition());return i?Ge(o*=r)?{val:o,err:null}:this.error(t,n):this.error(e,n)},n.prototype.offset=function(){return this.position.offset},n.prototype.isEOF=function(){return this.offset()===this.message.length},n.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},n.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=je(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},n.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},n.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},n.prototype.bumpIf=function(e){if(ke(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},n.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},n.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},n.prototype.bumpSpace=function(){for(;!this.isEOF()&&We(this.char());)this.bump()},n.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Ze=n;function n(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Ye(e){return 97<=e&&e<=122||65<=e&&e<=90}function We(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Qe(e,t){t=w({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new Ze(e,t).parse();if(e.err)throw(r=SyntaxError(L[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,me(e)||ge(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else ce(e)&&be(e.style)||(pe(e)||fe(e))&&de(e.style)?delete e.style.location:Ee(e)&&r(e.children)})}(e.val),e.val}function Je(e,t){var r=t&&t.cache?t.cache:it,n=t&&t.serializer?t.serializer:rt;return(t&&t.strategy?t.strategy:function(e,t){return tt(e,this,1===e.length?qe:et,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function qe(e,t,r,n){var r=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),i=t.get(r);return void 0===i&&(i=e.call(this,n),t.set(r,i)),i}function et(e,t,r){var n=Array.prototype.slice.call(arguments,3),r=r(n),i=t.get(r);return void 0===i&&(i=e.apply(this,n),t.set(r,i)),i}function tt(e,t,r,n,i){return r.bind(t,e,n,i)}var rt=function(){return JSON.stringify(arguments)};function nt(){this.cache=Object.create(null)}nt.prototype.get=function(e){return this.cache[e]},nt.prototype.set=function(e,t){this.cache[e]=t};var C,i,it={create:function(){return new nt}},ot={variadic:function(e,t){return tt(e,this,et,t.cache.create(),t.serializer)},monadic:function(e,t){return tt(e,this,qe,t.cache.create(),t.serializer)}};(i=C=C||{}).MISSING_VALUE="MISSING_VALUE",i.INVALID_VALUE="INVALID_VALUE",i.MISSING_INTL_API="MISSING_INTL_API";he(bt,lt=Error),bt.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var M,st,at,ht,lt,ut=bt,ct=(he(Et,ht=ut),Et),pt=(he(gt,at=ut),gt),ft=(he(mt,st=ut),mt);function mt(e,t){return st.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),C.MISSING_VALUE,t)||this}function gt(e,t,r){return at.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),C.INVALID_VALUE,r)||this}function Et(e,t,r,n){return ht.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),C.INVALID_VALUE,n)||this}function bt(e,t,r){e=lt.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function dt(e,t,r,n,i,o,s){if(1===e.length&&ue(e[0]))return[{type:M.literal,value:e[0].value}];for(var a=[],h=0,l=e;h<l.length;h++){var u=l[h];if(ue(u))a.push({type:M.literal,value:u.value});else if(u.type===N.pound)"number"==typeof o&&a.push({type:M.literal,value:r.getNumberFormat(t).format(o)});else{var c=u.value;if(!(i&&c in i))throw new ft(c,s);c=i[c];if(u.type===N.argument)c&&"string"!=typeof c&&"number"!=typeof c||(c="string"==typeof c||"number"==typeof c?String(c):""),a.push({type:"string"==typeof c?M.literal:M.object,value:c});else if(pe(u)){var p="string"==typeof u.style?n.date[u.style]:de(u.style)?u.style.parsedOptions:void 0;a.push({type:M.literal,value:r.getDateTimeFormat(t,p).format(c)})}else if(fe(u))p="string"==typeof u.style?n.time[u.style]:de(u.style)?u.style.parsedOptions:n.time.medium,a.push({type:M.literal,value:r.getDateTimeFormat(t,p).format(c)});else if(ce(u))(p="string"==typeof u.style?n.number[u.style]:be(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(c*=p.scale||1),a.push({type:M.literal,value:r.getNumberFormat(t,p).format(c)});else{if(Ee(u)){var f=u.children,m=u.value,g=i[m];if("function"!=typeof g)throw new pt(m,"function",s);m=g(dt(f,t,r,n,i,o).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(e){return{type:"string"==typeof e?M.literal:M.object,value:e}}))}if(me(u)){if(!(E=u.options[c]||u.options.other))throw new ct(u.value,c,Object.keys(u.options),s);a.push.apply(a,dt(E.value,t,r,n,i))}else if(ge(u)){if(!(E=u.options["=".concat(c)])){if(!Intl.PluralRules)throw new ut('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',C.MISSING_INTL_API,s);var g=r.getPluralRules(t,{type:u.pluralType}).select(c-(u.offset||0)),E=u.options[g]||u.options.other}if(!E)throw new ct(u.value,c,Object.keys(u.options),s);a.push.apply(a,dt(E.value,t,r,n,i,c-(u.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===M.literal&&t.type===M.literal?r.value+=t.value:e.push(t),e},[])}function yt(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(r=M=M||{})[r.literal=0]="literal",r[r.object=1]="object",Object.defineProperty(l,"defaultLocale",{get:function(){return l.memoizedDefaultLocale||(l.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),l.memoizedDefaultLocale},enumerable:!1,configurable:!0}),l.memoizedDefaultLocale=null,l.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},l.__parse=Qe,l.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"}}};var Tt=l;function l(e,t,r,n){var i,o,s=this;if(void 0===t&&(t=l.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===M.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return dt(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=t,this.resolvedLocale=l.resolveLocale(t),"string"==typeof e){if(this.message=e,!l.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=l.__parse(e,{ignoreTag:null==n?void 0:n.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=l.formats,(o=r)?Object.keys(i).reduce(function(e,t){var r,n;return e[t]=(r=i[t],(n=o[t])?w(w(w({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=w(w({},r[t]),n[t]||{}),e},{})):r),e},w({},i)):i),this.formatters=n&&n.formatters||{getNumberFormat:Je(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,le([void 0],t,!1)))},{cache:yt((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:ot.variadic}),getDateTimeFormat:Je(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,le([void 0],t,!1)))},{cache:yt(t.dateTime),strategy:ot.variadic}),getPluralRules:Je(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,le([void 0],t,!1)))},{cache:yt(t.pluralRules),strategy:ot.variadic})}}const o={},vt=(e,t,r)=>r&&(t in o||(o[t]={}),e in o[t]||(o[t][e]=r),r),Ht=(t,r)=>{if(null!=r){if(r in o&&t in o[r])return o[r][t];var n=Mt(r);for(let e=0;e<n.length;e++){var i=function(e,r){if(!Bt(e))return null;e=function(e){return _t[e]||null}(e);{var n=r;if(null==n)return;if(n in e)return e[n];const i=n.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const n=i.slice(e,i.length).join(".");if(n in t){t=t[n];break}}t=t[i[e]]}else t=void 0;return t}}(n[e],t);if(i)return vt(t,r,i)}}};let _t;const s=q({});function Bt(e){return e in _t}function Pt(t,...r){delete o[t],s.update(e=>(e[t]=se.all([e[t]||{},...r]),e))}e([s],([e])=>Object.keys(e)),s.subscribe(e=>_t=e);const At={};function St(e){return At[e]}function Lt(e){return null!=e&&Mt(e).some(e=>{return null==(e=St(e))?void 0:e.size})}const u={};function Nt(e){if(!Lt(e))return e in u?u[e]:Promise.resolve();const t=Mt(e).map(e=>{var t=St(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return u[e]=Promise.all(t.map(([e,t])=>{{var n=e;e=t;const r=Promise.all(e.map(e=>{var t=n,r=e;return At[t].delete(r),0===At[t].size&&delete At[t],e().then(e=>e.default||e)}));return r.then(e=>Pt(n,...e))}})).then(()=>{if(Lt(e))return Nt(e);delete u[e]}),u[e]}function c(e,t){var r={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}const p={fallbackLocale: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,handleMissingMessage:void 0,ignoreTag:!0};const It=q(!1);let wt;const Ot=q(null);function Ct(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function Mt(e,t=p.fallbackLocale){e=Ct(e);return t?[...new Set([...e,...Ct(t)])]:e}function f(){return null!=wt?wt:void 0}Ot.subscribe(e=>{wt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const m=Object.assign(Object.assign({},Ot),{set:t=>{if(t&&function(e){if(null!=e){var t=Mt(e);for(let e=0;e<t.length;e++){var r=t[e];if(Bt(r))return r}}}(t)&&Lt(t)){var r=p["loadingDelay"];let e;return"undefined"!=typeof window&&null!=f()&&r?e=window.setTimeout(()=>It.set(!0),r):It.set(!0),Nt(t).then(()=>{Ot.set(t)}).finally(()=>{clearTimeout(e),It.set(!1)})}return Ot.set(t)}}),Rt=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},R=(e,t)=>{var r=p["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ut=Rt(e=>{var{locale:t,format:r}=e,e=c(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=R("number",r)),new Intl.NumberFormat(t,e)}),Gt=Rt(e=>{var{locale:t,format:r}=e,e=c(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=R("date",r):0===Object.keys(e).length&&(e=R("date","short")),new Intl.DateTimeFormat(t,e)}),Dt=Rt(e=>{var{locale:t,format:r}=e,e=c(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=R("time",r):0===Object.keys(e).length&&(e=R("time","short")),new Intl.DateTimeFormat(t,e)}),Ft=Rt((e,t=f())=>new Tt(e,t,p.formats,{ignoreTag:p.ignoreTag})),zt=e([m,s],()=>(e,t={})=>{var r,n;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:o,locale:s=f(),default:a}=i;if(null==s)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Ht(e,s);if(h){if("string"!=typeof h)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h}else h=null!=(n=null!=(r=null==(r=(n=p).handleMissingMessage)?void 0:r.call(n,{locale:s,id:e,defaultValue:a}))?r:a)?n:e;if(!o)return h;let l=h;try{l=Ft(h,s).format(o)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return l}),kt=(e([m],()=>(e,t)=>((e={})=>{var{locale:t=f()}=e,e=c(e,["locale"]);return Dt(Object.assign({locale:t},e))})(t).format(e)),e([m],()=>(e,t)=>((e={})=>{var{locale:t=f()}=e,e=c(e,["locale"]);return Gt(Object.assign({locale:t},e))})(t).format(e)),e([m],()=>(e,t)=>((e={})=>{var{locale:t=f()}=e,e=c(e,["locale"]);return Ut(Object.assign({locale:t},e))})(t).format(e)),e([m,s],()=>(e,t=f())=>Ht(e,t)),{en:{tournamentsPrizes:{prizes:"Prizes",noprizes:"No available prizes",place:"place"}},zh:{tournamentsPrizes:{prizes:"獎品",noprizes:"沒有可用的獎品",place:"place"}},fr:{tournamentsPrizes:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"}},ro:{tournamentsPrizes:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"}},tr:{tournamentsPrizes:{prizes:"Ödüller",noprizes:"Geçerli ödül yok",place:"Sıra"}},el:{tournamentsPrizes:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"}},es:{tournamentsPrizes:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"posición"}},hu:{tournamentsPrizes:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"}},pt:{tournamentsPrizes:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"}}});function $t(e,t,r){const n=e.slice();return n[11]=t[r],n[13]=r,n}function xt(t){let n,i=t[1],o=[];for(let e=0;e<i.length;e+=1)o[e]=Vt($t(t,i,e));let s=null;return i.length||(s=jt(t)),{c(){n=T("div");for(let e=0;e<o.length;e+=1)o[e].c();s&&s.c(),H(n,"class","Prizes"),H(n,"part","Prizes")},m(e,t){d(e,n,t);for(let e=0;e<o.length;e+=1)o[e].m(n,null);s&&s.m(n,null)},p(t,r){if(6&r){let e;for(i=t[1],e=0;e<i.length;e+=1){const s=$t(t,i,e);o[e]?o[e].p(s,r):(o[e]=Vt(s),o[e].c(),o[e].m(n,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length,!i.length&&s?s.p(t,r):i.length?s&&(s.d(1),s=null):((s=jt(t)).c(),s.m(n,null))}},d(e){e&&y(n);var t=o,r=e;for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r);s&&s.d()}}}function jt(e){let r,n,i=e[2]("tournamentsPrizes.noprizes")+"";return{c(){r=T("p"),n=v(i)},m(e,t){d(e,r,t),g(r,n)},p(e,t){4&t&&i!==(i=e[2]("tournamentsPrizes.noprizes")+"")&&_(n,i)},d(e){e&&y(r)}}}function Vt(e){let r,n,i,o,s,a,h,l,u,t,c,p=(1<e[11].count?e[11].rank+"~"+(e[11].rank+e[11].count-1):e[11].rank)+"",f=e[2]("tournamentsPrizes.place")+"",m=e[11].name+"";return{c(){r=T("div"),n=T("p"),i=T("span"),o=v(p),s=k(),a=v(f),h=v(": "),l=v(m),u=k(),H(i,"class","PrizeRank"),H(i,"part","PrizeRank"),H(n,"class","PrizeText"),H(n,"part","PrizeText"),H(r,"class",t="Prize Prize"+e[13]),H(r,"part",c="Prize Prize"+e[13])},m(e,t){d(e,r,t),g(r,n),g(n,i),g(i,o),g(n,s),g(n,a),g(n,h),g(n,l),g(r,u)},p(e,t){2&t&&p!==(p=(1<e[11].count?e[11].rank+"~"+(e[11].rank+e[11].count-1):e[11].rank)+"")&&_(o,p),4&t&&f!==(f=e[2]("tournamentsPrizes.place")+"")&&_(a,f),2&t&&m!==(m=e[11].name+"")&&_(l,m)},d(e){e&&y(r)}}}function Xt(r){let n,i,o,s,a,h,l,u=r[2]("tournamentsPrizes.prizes")+"",c=r[1]&&xt(r);return{c(){n=T("div"),i=T("div"),(o=T("span")).innerHTML='<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emfe-w-color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',s=k(),a=T("p"),h=v(u),l=k(),c&&c.c(),this.c=E,H(o,"class","TournamentPrizesIconWrapper"),H(o,"part","TournamentPrizesIconWrapper"),H(a,"class","PrizesTitle"),H(a,"part","PrizesTitle"),H(i,"class","TournamentPrizesIconSection"),H(i,"part","TournamentPrizesIconSection"),H(n,"class","TournamentPrizes"),H(n,"part","TournamentPrizes")},m(e,t){d(e,n,t),g(n,i),g(i,o),g(i,s),g(i,a),g(a,h),g(n,l),c&&c.m(n,null),r[6](n)},p(e,[t]){4&t&&u!==(u=e[2]("tournamentsPrizes.prizes")+"")&&_(h,u),e[1]?c?c.p(e,t):((c=xt(e)).c(),c.m(n,null)):c&&(c.d(1),c=null)},i:E,o:E,d(e){e&&y(n),c&&c.d(),r[6](null)}}}function Kt(e,t,r){let n;var i=zt;e.$$.on_destroy.push(z(i,e=>r(2,n=e)));let o,s,{tourid:a=""}=t,{clientstyling:h=""}=t,{clientstylingurl:l=""}=t;Object.keys(kt).forEach(e=>{Pt(e,kt[e])});const u=e=>{e.data&&e.data.type=="TournamentPrizes_"+a&&r(1,s=e.data.prizes)};return i=()=>(window.addEventListener("message",u,!1),()=>{window.removeEventListener("message",u)}),function(){if(B)return B;throw new Error("Function called outside component initialization")}().$$.on_mount.push(i),e.$$set=e=>{"tourid"in e&&r(3,a=e.tourid),"clientstyling"in e&&r(4,h=e.clientstyling),"clientstylingurl"in e&&r(5,l=e.clientstylingurl)},e.$$.update=()=>{if(17&e.$$.dirty&&o&&h){let e=document.createElement("style");e.innerHTML=h,o.appendChild(e)}if(33&e.$$.dirty&&o&&l){let e=new URL(l),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{},500))})}},[o,s,n,a,h,l,function(e){$[e?"unshift":"push"](()=>{o=e,r(0,o)})}]}class Zt extends J{constructor(e){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}span{color:var(--emfe-w-color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emfe-w-color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emfe-w-color-white, #FFFFFF)}</style>",Q(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},Kt,Xt,F,{tourid:3,clientstyling:4,clientstylingurl:5},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),S()))}static get observedAttributes(){return["tourid","clientstyling","clientstylingurl"]}get tourid(){return this.$$.ctx[3]}set tourid(e){this.$$set({tourid:e}),S()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),S()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),S()}}return customElements.get("casino-tournaments-thumbnail-prizes")||customElements.define("casino-tournaments-thumbnail-prizes",Zt),Zt});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function E(){}function U(e){return e()}function G(){return Object.create(null)}function b(e){e.forEach(U)}function D(e){return"function"==typeof e}function F(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function z(e,...t){if(null==e)return E;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function g(e,t){e.appendChild(t)}function d(e,t,r){e.insertBefore(t,r||null)}function y(e){e.parentNode.removeChild(e)}function T(e){return document.createElement(e)}function v(e){return document.createTextNode(e)}function k(){return v(" ")}function H(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function _(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}let B;function P(e){B=e}const A=[],$=[],x=[],j=[],V=Promise.resolve();let X=!1;function K(e){x.push(e)}const Z=new Set;let Y=0;function S(){const e=B;do{for(;Y<A.length;){const e=A[Y];Y++,P(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),b(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(K))}for(P(null),A.length=0,Y=0;$.length;)$.pop()();for(let e=0;e<x.length;e+=1){const n=x[e];Z.has(n)||(Z.add(n),n())}}while(x.length=0,A.length);for(;j.length;)j.pop()();X=!1,Z.clear(),P(e)}const W=new Set;function Q(n,e,t,r,i,o,s,a=[-1]){var h=B;P(n);const l=n.$$={fragment:null,ctx:null,props:o,update:E,not_equal:i,bound:G(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(h?h.$$.context:[])),callbacks:G(),dirty:a,skip_bound:!1,root:e.target||h.$$.root};s&&s(l.root);let u=!1;if(l.ctx=t?t(n,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return l.ctx&&i(l.ctx[e],l.ctx[e]=r)&&(!l.skip_bound&&l.bound[e]&&l.bound[e](r),u&&(r=e,-1===(e=n).$$.dirty[0]&&(A.push(e),X||(X=!0,V.then(S)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],l.update(),u=!0,b(l.before_update),l.fragment=!!r&&r(l.ctx),e.target){if(e.hydrate){o=e.target;const E=Array.from(o.childNodes);l.fragment&&l.fragment.l(E),E.forEach(y)}else l.fragment&&l.fragment.c();e.intro&&(a=n.$$.fragment)&&a.i&&(W.delete(a),a.i(void 0));{var c=n;s=e.target;t=e.anchor;r=e.customElement;const{fragment:p,on_mount:f,on_destroy:m,after_update:g}=c.$$;p&&p.m(s,t),r||K(()=>{var e=f.map(U).filter(D);m?m.push(...e):b(e),c.$$.on_mount=[]}),g.forEach(K)}S()}P(h)}let J;"function"==typeof HTMLElement&&(J=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(U).filter(D);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){b(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(b(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=E}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});const t=[];function q(n,i=E){let o;const s=new Set;function a(e){if(F(n,e)&&(n=e,o)){const e=!t.length;for(const e of s)e[1](),t.push(e,n);if(e){for(let e=0;e<t.length;e+=2)t[e][0](t[e+1]);t.length=0}}}return{set:a,update:function(e){a(e(n))},subscribe:function(e,t=E){const r=[e,t];return s.add(r),1===s.size&&(o=i(a)||E),e(n),()=>{s.delete(r),0===s.size&&(o(),o=null)}}}}function e(e,a,t){const h=!Array.isArray(e),l=h?[e]:e,u=a.length<2;return{subscribe:q(t,t=>{let r=!1;const n=[];let i=0,o=E;const s=()=>{var e;i||(o(),e=a(h?n[0]:n,t),u?t(e):o=D(e)?e:E)},e=l.map((e,t)=>z(e,e=>{n[t]=e,i&=~(1<<t),r&&s()},()=>{i|=1<<t}));return r=!0,s(),function(){b(e),o()}}).subscribe}}function ee(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===te));var t}var te="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function a(e,t){return!1!==t.clone&&t.isMergeableObject(e)?h(Array.isArray(e)?[]:{},e,t):e}function re(e,t,r){return e.concat(t).map(function(e){return a(e,r)})}function ne(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function ie(e,t){try{return t in e}catch(e){return!1}}function oe(n,i,o){var s={};return o.isMergeableObject(n)&&ne(n).forEach(function(e){s[e]=a(n[e],o)}),ne(i).forEach(function(t){var e,r;(!ie(e=n,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(ie(n,t)&&o.isMergeableObject(i[t])?s[t]=function(e){if(!e.customMerge)return h;e=e.customMerge(t);return"function"==typeof e?e:h}(o)(n[t],i[t],o):s[t]=a(i[t],o))}),s}function h(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||re,r.isMergeableObject=r.isMergeableObject||ee,r.cloneUnlessOtherwiseSpecified=a;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):oe(e,t,r):a(t,r)}h.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return h(e,t,r)},{});throw new Error("first argument should be an array")};var se=h,ae=function(e,t){return(ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function he(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}ae(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var L,N,I,O=function(){return(O=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function le(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||((n=n||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function ue(e){return e.type===N.literal}function ce(e){return e.type===N.number}function pe(e){return e.type===N.date}function fe(e){return e.type===N.time}function me(e){return e.type===N.select}function ge(e){return e.type===N.plural}function Ee(e){return e.type===N.tag}function be(e){return e&&"object"==typeof e&&e.type===I.number}function de(e){return e&&"object"==typeof e&&e.type===I.dateTime}(r=L=L||{})[r.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",r[r.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",r[r.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",r[r.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",r[r.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",r[r.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",r[r.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",r[r.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",r[r.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",r[r.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",r[r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",r[r.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",r[r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",r[r.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",r[r.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",r[r.INVALID_TAG=23]="INVALID_TAG",r[r.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",r[r.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",r[r.UNCLOSED_TAG=27]="UNCLOSED_TAG",(r=N=N||{})[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag",(r=I=I||{})[r.number=0]="number",r[r.dateTime=1]="dateTime";var r=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ye=/(?:[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 Te=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,ve=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,He=/^(@+)?(\+|#+)?[rs]?$/g,_e=/(\*)(0+)|(#+)(0+)|(0+)/g,Be=/^(0+)$/;function Pe(e){var n={};return"r"===e[e.length-1]?n.roundingPriority="morePrecision":"s"===e[e.length-1]&&(n.roundingPriority="lessPrecision"),e.replace(He,function(e,t,r){return"string"!=typeof r?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===r?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),n}function Ae(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Se(e){return Ae(e)||{}}function Le(e){for(var s={},t=0,r=e;t<r.length;t++){var n,i=r[t];switch(i.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=i.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=i.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=O(O(O({},s),{notation:"scientific"}),i.options.reduce(function(e,t){return O(O({},e),Se(t))},{}));continue;case"engineering":s=O(O(O({},s),{notation:"engineering"}),i.options.reduce(function(e,t){return O(O({},e),Se(t))},{}));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(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(_e,function(e,t,r,n,i,o){if(t)s.minimumIntegerDigits=r.length;else{if(n&&i)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Be.test(i.stem))s.minimumIntegerDigits=i.stem.length;else if(ve.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ve,function(e,t,r,n,i,o){return"*"===r?s.minimumFractionDigits=t.length:n&&"#"===n[0]?s.maximumFractionDigits=n.length:i&&o?(s.minimumFractionDigits=i.length,s.maximumFractionDigits=i.length+o.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""});var o=i.options[0];"w"===o?s=O(O({},s),{trailingZeroDisplay:"stripIfInteger"}):o&&(s=O(O({},s),Pe(o)))}else He.test(i.stem)?s=O(O({},s),Pe(i.stem)):((o=Ae(i.stem))&&(s=O(O({},s),o)),(n=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Be.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(s=O(O({},s),n)))}return s}var Ne={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var Ie=new RegExp("^".concat(r.source,"*")),Oe=new RegExp("".concat(r.source,"*$"));function w(e,t){return{start:e,end:t}}var r=!!String.prototype.startsWith,we=!!String.fromCodePoint,Ce=!!Object.fromEntries,Me=!!String.prototype.codePointAt,Re=!!String.prototype.trimStart,Ue=!!String.prototype.trimEnd,Ge=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},De=!0;try{De="a"===(null==(i=Ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:i[0])}catch(E){De=!1}var Fe,ze,ke=r?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},$e=we?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",i=e.length,o=0;o<i;){if(1114111<(r=e[o++]))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},xe=Ce?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r],o=i[0],i=i[1];t[o]=i}return t},je=Me?function(e,t){return e.codePointAt(t)}:function(e,t){var r,n=e.length;if(!(t<0||n<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===n||(n=e.charCodeAt(t+1))<56320||57343<n?r:n-56320+(r-55296<<10)+65536},Ve=Re?function(e){return e.trimStart()}:function(e){return e.replace(Ie,"")},Xe=Ue?function(e){return e.trimEnd()}:function(e){return e.replace(Oe,"")};function Ke(e,t){return new RegExp(e,t)}ze=De?(Fe=Ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Fe.lastIndex=t,null!=(t=Fe.exec(e)[1])?t:""}):function(e,t){for(var r,n=[];;){var i=je(e,t);if(void 0===i||We(i)||(33<=(r=i)&&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(i),t+=65536<=i?2:1}return $e.apply(void 0,n)};n.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},n.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i,o=this.char();if(123===o){if((i=this.parseArgument(e,r)).err)return i;n.push(i.val)}else{if(125===o&&0<e)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(L.UNMATCHED_CLOSING_TAG,w(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Ye(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;n.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;n.push(i.val)}}else{o=this.clonePosition();this.bump(),n.push({type:N.pound,location:w(o,this.clonePosition())})}}}return{val:n,err:null}},n.prototype.parseTag=function(e,t){var r=this.clonePosition(),n=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:N.literal,value:"<".concat(n,"/>"),location:w(r,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ye(this.char()))return this.error(L.INVALID_TAG,w(e,this.clonePosition()));var i=this.clonePosition();return n!==this.parseTagName()?this.error(L.UNMATCHED_CLOSING_TAG,w(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:N.tag,value:n,children:t,location:w(r,this.clonePosition())},err:null}:this.error(L.INVALID_TAG,w(e,this.clonePosition())))}return this.error(L.UNCLOSED_TAG,w(r,this.clonePosition()))}return this.error(L.INVALID_TAG,w(r,this.clonePosition()))},n.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},n.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{i=this.tryParseUnquoted(e,t);if(i)n+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;n+=i}}}r=w(r,this.clonePosition());return{val:{type:N.literal,value:n,location:r},err:null}},n.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ye(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},n.prototype.tryParseQuote=function(e){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"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return $e.apply(void 0,t)},n.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),$e(r))},n.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE,w(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(L.EMPTY_ARGUMENT,w(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(L.MALFORMED_ARGUMENT,w(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE,w(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:N.argument,value:n,location:w(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE,w(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(L.MALFORMED_ARGUMENT,w(r,this.clonePosition()))}},n.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=ze(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:w(e,this.clonePosition())}},n.prototype.parseArgumentOptions=function(e,t,r,n){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(L.EXPECT_ARGUMENT_TYPE,w(o,a));case"number":case"date":case"time":this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(f=Xe(m.val)).length)return this.error(L.EXPECT_ARGUMENT_STYLE,w(this.clonePosition(),this.clonePosition()));h={style:f,styleLocation:w(l,this.clonePosition())}}if((l=this.tryParseArgumentClose(n)).err)return l;var u=w(n,this.clonePosition());if(h&&ke(null==h?void 0:h.style,"::",0)){var c=Ve(h.style.slice(2));if("number"===s)return(m=this.parseNumberSkeletonFromString(c,h.styleLocation)).err?m:{val:{type:N.number,value:r,location:u,style:m.val},err:null};if(0===c.length)return this.error(L.EXPECT_DATE_TIME_SKELETON,u);var p=c,f=(this.locale&&(p=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var s=1+(1&o),a=o<2?1:3+(o>>1),h=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(Ne[t||""]||Ne[r||""]||Ne["".concat(r,"-001")]||Ne["001"])[0]}(t);for("H"!=h&&"k"!=h||(a=0);0<a--;)r+="a";for(;0<s--;)r=h+r}else r+="J"===i?"H":i}return r}(c,this.locale)),{type:I.dateTime,pattern:p,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},p.replace(ye,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"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":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-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":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<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""}),i):{}});return{val:{type:"date"===s?N.date:N.time,value:r,location:u,style:f},err:null}}return{val:{type:"number"===s?N.number:"date"===s?N.date:N.time,value:r,location:u,style:null!=(c=null==h?void 0:h.style)?c:null},err:null};case"plural":case"selectordinal":case"select":p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(L.EXPECT_SELECT_ARGUMENT_OPTIONS,w(p,O({},p)));this.bumpSpace();var m,f=this.parseIdentifierIfPossible(),u=0;if("select"!==s&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(L.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,w(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,L.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),f=this.parseIdentifierIfPossible(),u=m.val}h=this.tryParsePluralOrSelectOptions(e,s,t,f);if(h.err)return h;if((l=this.tryParseArgumentClose(n)).err)return l;c=w(n,this.clonePosition());return"select"===s?{val:{type:N.select,value:r,options:xe(h.val),location:c},err:null}:{val:{type:N.plural,value:r,options:xe(h.val),offset:u,pluralType:"plural"===s?"cardinal":"ordinal",location:c},err:null};default:return this.error(L.INVALID_ARGUMENT_TYPE,w(o,a))}},n.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE,w(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},n.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(L.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,w(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},n.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(Te).filter(function(e){return 0<e.length});r<n.length;r++){var i=n[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],i=i.slice(1),s=0,a=i;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:i})}return t}(e)}catch(e){return this.error(L.INVALID_NUMBER_SKELETON,t)}return{val:{type:I.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Le(r):{}},err:null}},n.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i=!1,o=[],s=new Set,a=n.value,h=n.location;;){if(0===a.length){var l=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_SELECTOR,L.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;h=w(l,this.clonePosition()),a=this.message.slice(l.offset,this.offset())}if(s.has(a))return this.error("select"===t?L.DUPLICATE_SELECT_ARGUMENT_SELECTOR:L.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);"other"===a&&(i=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?L.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:L.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,w(this.clonePosition(),this.clonePosition()));l=this.parseMessage(e+1,t,r);if(l.err)return l;var c=this.tryParseArgumentClose(u);if(c.err)return c;o.push([a,{value:l.val,location:w(u,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(c=this.parseIdentifierIfPossible()).value,h=c.location}return 0===o.length?this.error("select"===t?L.EXPECT_SELECT_ARGUMENT_SELECTOR:L.EXPECT_PLURAL_ARGUMENT_SELECTOR,w(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(L.MISSING_OTHER_CLAUSE,w(this.clonePosition(),this.clonePosition())):{val:o,err:null}},n.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;i=!0,o=10*o+(s-48),this.bump()}n=w(n,this.clonePosition());return i?Ge(o*=r)?{val:o,err:null}:this.error(t,n):this.error(e,n)},n.prototype.offset=function(){return this.position.offset},n.prototype.isEOF=function(){return this.offset()===this.message.length},n.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},n.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=je(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},n.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},n.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},n.prototype.bumpIf=function(e){if(ke(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},n.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},n.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},n.prototype.bumpSpace=function(){for(;!this.isEOF()&&We(this.char());)this.bump()},n.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Ze=n;function n(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Ye(e){return 97<=e&&e<=122||65<=e&&e<=90}function We(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Qe(e,t){t=O({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new Ze(e,t).parse();if(e.err)throw(r=SyntaxError(L[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,me(e)||ge(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else ce(e)&&be(e.style)||(pe(e)||fe(e))&&de(e.style)?delete e.style.location:Ee(e)&&r(e.children)})}(e.val),e.val}function Je(e,t){var r=t&&t.cache?t.cache:it,n=t&&t.serializer?t.serializer:rt;return(t&&t.strategy?t.strategy:function(e,t){return tt(e,this,1===e.length?qe:et,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function qe(e,t,r,n){var r=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),i=t.get(r);return void 0===i&&(i=e.call(this,n),t.set(r,i)),i}function et(e,t,r){var n=Array.prototype.slice.call(arguments,3),r=r(n),i=t.get(r);return void 0===i&&(i=e.apply(this,n),t.set(r,i)),i}function tt(e,t,r,n,i){return r.bind(t,e,n,i)}var rt=function(){return JSON.stringify(arguments)};function nt(){this.cache=Object.create(null)}nt.prototype.get=function(e){return this.cache[e]},nt.prototype.set=function(e,t){this.cache[e]=t};var C,i,it={create:function(){return new nt}},ot={variadic:function(e,t){return tt(e,this,et,t.cache.create(),t.serializer)},monadic:function(e,t){return tt(e,this,qe,t.cache.create(),t.serializer)}};(i=C=C||{}).MISSING_VALUE="MISSING_VALUE",i.INVALID_VALUE="INVALID_VALUE",i.MISSING_INTL_API="MISSING_INTL_API";he(bt,lt=Error),bt.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var M,st,at,ht,lt,ut=bt,ct=(he(Et,ht=ut),Et),pt=(he(gt,at=ut),gt),ft=(he(mt,st=ut),mt);function mt(e,t){return st.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),C.MISSING_VALUE,t)||this}function gt(e,t,r){return at.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),C.INVALID_VALUE,r)||this}function Et(e,t,r,n){return ht.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),C.INVALID_VALUE,n)||this}function bt(e,t,r){e=lt.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function dt(e,t,r,n,i,o,s){if(1===e.length&&ue(e[0]))return[{type:M.literal,value:e[0].value}];for(var a=[],h=0,l=e;h<l.length;h++){var u=l[h];if(ue(u))a.push({type:M.literal,value:u.value});else if(u.type===N.pound)"number"==typeof o&&a.push({type:M.literal,value:r.getNumberFormat(t).format(o)});else{var c=u.value;if(!(i&&c in i))throw new ft(c,s);c=i[c];if(u.type===N.argument)c&&"string"!=typeof c&&"number"!=typeof c||(c="string"==typeof c||"number"==typeof c?String(c):""),a.push({type:"string"==typeof c?M.literal:M.object,value:c});else if(pe(u)){var p="string"==typeof u.style?n.date[u.style]:de(u.style)?u.style.parsedOptions:void 0;a.push({type:M.literal,value:r.getDateTimeFormat(t,p).format(c)})}else if(fe(u))p="string"==typeof u.style?n.time[u.style]:de(u.style)?u.style.parsedOptions:n.time.medium,a.push({type:M.literal,value:r.getDateTimeFormat(t,p).format(c)});else if(ce(u))(p="string"==typeof u.style?n.number[u.style]:be(u.style)?u.style.parsedOptions:void 0)&&p.scale&&(c*=p.scale||1),a.push({type:M.literal,value:r.getNumberFormat(t,p).format(c)});else{if(Ee(u)){var f=u.children,m=u.value,g=i[m];if("function"!=typeof g)throw new pt(m,"function",s);m=g(dt(f,t,r,n,i,o).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),a.push.apply(a,m.map(function(e){return{type:"string"==typeof e?M.literal:M.object,value:e}}))}if(me(u)){if(!(E=u.options[c]||u.options.other))throw new ct(u.value,c,Object.keys(u.options),s);a.push.apply(a,dt(E.value,t,r,n,i))}else if(ge(u)){if(!(E=u.options["=".concat(c)])){if(!Intl.PluralRules)throw new ut('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',C.MISSING_INTL_API,s);var g=r.getPluralRules(t,{type:u.pluralType}).select(c-(u.offset||0)),E=u.options[g]||u.options.other}if(!E)throw new ct(u.value,c,Object.keys(u.options),s);a.push.apply(a,dt(E.value,t,r,n,i,c-(u.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===M.literal&&t.type===M.literal?r.value+=t.value:e.push(t),e},[])}function yt(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(r=M=M||{})[r.literal=0]="literal",r[r.object=1]="object",Object.defineProperty(l,"defaultLocale",{get:function(){return l.memoizedDefaultLocale||(l.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),l.memoizedDefaultLocale},enumerable:!1,configurable:!0}),l.memoizedDefaultLocale=null,l.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},l.__parse=Qe,l.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"}}};var Tt=l;function l(e,t,r,n){var i,o,s=this;if(void 0===t&&(t=l.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===M.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return dt(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},this.locales=t,this.resolvedLocale=l.resolveLocale(t),"string"==typeof e){if(this.message=e,!l.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=l.__parse(e,{ignoreTag:null==n?void 0:n.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=l.formats,(o=r)?Object.keys(i).reduce(function(e,t){var r,n;return e[t]=(r=i[t],(n=o[t])?O(O(O({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=O(O({},r[t]),n[t]||{}),e},{})):r),e},O({},i)):i),this.formatters=n&&n.formatters||{getNumberFormat:Je(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,le([void 0],t,!1)))},{cache:yt((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:ot.variadic}),getDateTimeFormat:Je(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,le([void 0],t,!1)))},{cache:yt(t.dateTime),strategy:ot.variadic}),getPluralRules:Je(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,le([void 0],t,!1)))},{cache:yt(t.pluralRules),strategy:ot.variadic})}}const o={},vt=(e,t,r)=>r&&(t in o||(o[t]={}),e in o[t]||(o[t][e]=r),r),Ht=(t,r)=>{if(null!=r){if(r in o&&t in o[r])return o[r][t];var n=Mt(r);for(let e=0;e<n.length;e++){var i=function(e,r){if(!Bt(e))return null;e=function(e){return _t[e]||null}(e);{var n=r;if(null==n)return;if(n in e)return e[n];const i=n.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const n=i.slice(e,i.length).join(".");if(n in t){t=t[n];break}}t=t[i[e]]}else t=void 0;return t}}(n[e],t);if(i)return vt(t,r,i)}}};let _t;const s=q({});function Bt(e){return e in _t}function Pt(t,...r){delete o[t],s.update(e=>(e[t]=se.all([e[t]||{},...r]),e))}e([s],([e])=>Object.keys(e)),s.subscribe(e=>_t=e);const At={};function St(e){return At[e]}function Lt(e){return null!=e&&Mt(e).some(e=>{return null==(e=St(e))?void 0:e.size})}const u={};function Nt(e){if(!Lt(e))return e in u?u[e]:Promise.resolve();const t=Mt(e).map(e=>{var t=St(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return u[e]=Promise.all(t.map(([e,t])=>{{var n=e;e=t;const r=Promise.all(e.map(e=>{var t=n,r=e;return At[t].delete(r),0===At[t].size&&delete At[t],e().then(e=>e.default||e)}));return r.then(e=>Pt(n,...e))}})).then(()=>{if(Lt(e))return Nt(e);delete u[e]}),u[e]}function c(e,t){var r={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}const p={fallbackLocale: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,handleMissingMessage:void 0,ignoreTag:!0};const It=q(!1);let Ot;const wt=q(null);function Ct(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function Mt(e,t=p.fallbackLocale){e=Ct(e);return t?[...new Set([...e,...Ct(t)])]:e}function f(){return null!=Ot?Ot:void 0}wt.subscribe(e=>{Ot=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const m=Object.assign(Object.assign({},wt),{set:t=>{if(t&&function(e){if(null!=e){var t=Mt(e);for(let e=0;e<t.length;e++){var r=t[e];if(Bt(r))return r}}}(t)&&Lt(t)){var r=p["loadingDelay"];let e;return"undefined"!=typeof window&&null!=f()&&r?e=window.setTimeout(()=>It.set(!0),r):It.set(!0),Nt(t).then(()=>{wt.set(t)}).finally(()=>{clearTimeout(e),It.set(!1)})}return wt.set(t)}}),Rt=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},R=(e,t)=>{var r=p["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ut=Rt(e=>{var{locale:t,format:r}=e,e=c(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=R("number",r)),new Intl.NumberFormat(t,e)}),Gt=Rt(e=>{var{locale:t,format:r}=e,e=c(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=R("date",r):0===Object.keys(e).length&&(e=R("date","short")),new Intl.DateTimeFormat(t,e)}),Dt=Rt(e=>{var{locale:t,format:r}=e,e=c(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=R("time",r):0===Object.keys(e).length&&(e=R("time","short")),new Intl.DateTimeFormat(t,e)}),Ft=Rt((e,t=f())=>new Tt(e,t,p.formats,{ignoreTag:p.ignoreTag})),zt=e([m,s],()=>(e,t={})=>{var r,n;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:o,locale:s=f(),default:a}=i;if(null==s)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Ht(e,s);if(h){if("string"!=typeof h)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h}else h=null!=(n=null!=(r=null==(r=(n=p).handleMissingMessage)?void 0:r.call(n,{locale:s,id:e,defaultValue:a}))?r:a)?n:e;if(!o)return h;let l=h;try{l=Ft(h,s).format(o)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return l});function kt(e,t){Pt(e,t)}e([m],()=>(e,t)=>((e={})=>{var{locale:t=f()}=e,e=c(e,["locale"]);return Dt(Object.assign({locale:t},e))})(t).format(e)),e([m],()=>(e,t)=>((e={})=>{var{locale:t=f()}=e,e=c(e,["locale"]);return Gt(Object.assign({locale:t},e))})(t).format(e)),e([m],()=>(e,t)=>((e={})=>{var{locale:t=f()}=e,e=c(e,["locale"]);return Ut(Object.assign({locale:t},e))})(t).format(e)),e([m,s],()=>(e,t=f())=>Ht(e,t));const $t={en:{tournamentsPrizes:{prizes:"Prizes",noprizes:"No available prizes",place:"place"}},zh:{tournamentsPrizes:{prizes:"獎品",noprizes:"沒有可用的獎品",place:"place"}},fr:{tournamentsPrizes:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"}},ro:{tournamentsPrizes:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"}},tr:{tournamentsPrizes:{prizes:"Ödüller",noprizes:"Geçerli ödül yok",place:"Sıra"}},el:{tournamentsPrizes:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"}},es:{tournamentsPrizes:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"posición"}},hu:{tournamentsPrizes:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"}},pt:{tournamentsPrizes:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"}}};function xt(e,t,r){const n=e.slice();return n[13]=t[r],n[15]=r,n}function jt(t){let n,i=t[1],o=[];for(let e=0;e<i.length;e+=1)o[e]=Xt(xt(t,i,e));let s=null;return i.length||(s=Vt(t)),{c(){n=T("div");for(let e=0;e<o.length;e+=1)o[e].c();s&&s.c(),H(n,"class","Prizes"),H(n,"part","Prizes")},m(e,t){d(e,n,t);for(let e=0;e<o.length;e+=1)o[e].m(n,null);s&&s.m(n,null)},p(t,r){if(6&r){let e;for(i=t[1],e=0;e<i.length;e+=1){const s=xt(t,i,e);o[e]?o[e].p(s,r):(o[e]=Xt(s),o[e].c(),o[e].m(n,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=i.length,!i.length&&s?s.p(t,r):i.length?s&&(s.d(1),s=null):((s=Vt(t)).c(),s.m(n,null))}},d(e){e&&y(n);var t=o,r=e;for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r);s&&s.d()}}}function Vt(e){let r,n,i=e[2]("tournamentsPrizes.noprizes")+"";return{c(){r=T("p"),n=v(i)},m(e,t){d(e,r,t),g(r,n)},p(e,t){4&t&&i!==(i=e[2]("tournamentsPrizes.noprizes")+"")&&_(n,i)},d(e){e&&y(r)}}}function Xt(e){let r,n,i,o,s,a,h,l,u,t,c,p=(1<e[13].count?e[13].rank+"~"+(e[13].rank+e[13].count-1):e[13].rank)+"",f=e[2]("tournamentsPrizes.place")+"",m=e[13].name+"";return{c(){r=T("div"),n=T("p"),i=T("span"),o=v(p),s=k(),a=v(f),h=v(": "),l=v(m),u=k(),H(i,"class","PrizeRank"),H(i,"part","PrizeRank"),H(n,"class","PrizeText"),H(n,"part","PrizeText"),H(r,"class",t="Prize Prize"+e[15]),H(r,"part",c="Prize Prize"+e[15])},m(e,t){d(e,r,t),g(r,n),g(n,i),g(i,o),g(n,s),g(n,a),g(n,h),g(n,l),g(r,u)},p(e,t){2&t&&p!==(p=(1<e[13].count?e[13].rank+"~"+(e[13].rank+e[13].count-1):e[13].rank)+"")&&_(o,p),4&t&&f!==(f=e[2]("tournamentsPrizes.place")+"")&&_(a,f),2&t&&m!==(m=e[13].name+"")&&_(l,m)},d(e){e&&y(r)}}}function Kt(r){let n,i,o,s,a,h,l,u=r[2]("tournamentsPrizes.prizes")+"",c=r[1]&&jt(r);return{c(){n=T("div"),i=T("div"),(o=T("span")).innerHTML='<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emfe-w-color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',s=k(),a=T("p"),h=v(u),l=k(),c&&c.c(),this.c=E,H(o,"class","TournamentPrizesIconWrapper"),H(o,"part","TournamentPrizesIconWrapper"),H(a,"class","PrizesTitle"),H(a,"part","PrizesTitle"),H(i,"class","TournamentPrizesIconSection"),H(i,"part","TournamentPrizesIconSection"),H(n,"class","TournamentPrizes"),H(n,"part","TournamentPrizes")},m(e,t){d(e,n,t),g(n,i),g(i,o),g(i,s),g(i,a),g(a,h),g(n,l),c&&c.m(n,null),r[7](n)},p(e,[t]){4&t&&u!==(u=e[2]("tournamentsPrizes.prizes")+"")&&_(h,u),e[1]?c?c.p(e,t):((c=jt(e)).c(),c.m(n,null)):c&&(c.d(1),c=null)},i:E,o:E,d(e){e&&y(n),c&&c.d(),r[7](null)}}}function Zt(e,t,r){let n;var i=zt;e.$$.on_destroy.push(z(i,e=>r(2,n=e)));let o,s,{tourid:a=""}=t,{clientstyling:h=""}=t,{clientstylingurl:l=""}=t,{translationUrl:u=""}=t;Object.keys($t).forEach(e=>{kt(e,$t[e])});const c=e=>{e.data&&e.data.type=="TournamentPrizes_"+a&&r(1,s=e.data.prizes)};return i=()=>(window.addEventListener("message",c,!1),()=>{window.removeEventListener("message",c)}),function(){if(B)return B;throw new Error("Function called outside component initialization")}().$$.on_mount.push(i),e.$$set=e=>{"tourid"in e&&r(3,a=e.tourid),"clientstyling"in e&&r(4,h=e.clientstyling),"clientstylingurl"in e&&r(5,l=e.clientstylingurl),"translationUrl"in e&&r(6,u=e.translationUrl)},e.$$.update=()=>{if(17&e.$$.dirty&&o&&h){let e=document.createElement("style");e.innerHTML=h,o.appendChild(e)}if(33&e.$$.dirty&&o&&l){let e=new URL(l),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{},500))})}64&e.$$.dirty&&u&&fetch(u).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{kt(e,t[e])})}).catch(e=>{console.log(e)})},[o,s,n,a,h,l,u,function(e){$[e?"unshift":"push"](()=>{o=e,r(0,o)})}]}class Yt extends J{constructor(e){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}span{color:var(--emfe-w-color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emfe-w-color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emfe-w-color-white, #FFFFFF)}</style>",Q(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},Zt,Kt,F,{tourid:3,clientstyling:4,clientstylingurl:5,translationUrl:6},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),S()))}static get observedAttributes(){return["tourid","clientstyling","clientstylingurl","translationUrl"]}get tourid(){return this.$$.ctx[3]}set tourid(e){this.$$set({tourid:e}),S()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),S()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),S()}get translationUrl(){return this.$$.ctx[6]}set translationUrl(e){this.$$set({translationUrl:e}),S()}}return customElements.get("casino-tournaments-thumbnail-prizes")||customElements.define("casino-tournaments-thumbnail-prizes",Yt),Yt});
|
|
2
2
|
//# sourceMappingURL=casino-tournaments-thumbnail-prizes.js.map
|