@everymatrix/casino-tournaments-thumbnail 0.0.224 → 0.0.229
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 y(){}function h(e){return e()}function m(){return Object.create(null)}function p(e){e.forEach(h)}function f(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function S(e,...t){if(null==e)return y;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function u(e){return e&&f(e.destroy)?e.destroy:y}function _(e,t){e.appendChild(t)}function A(e,t,n){e.insertBefore(t,n||null)}function C(e){e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function L(e){return document.createTextNode(e)}function P(){return L(" ")}function w(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function O(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function l(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}let I;function d(e){I=e}const g=[],e=[],r=[],i=[],E=Promise.resolve();let b=!1;function T(e){r.push(e)}let o=!1;const s=new Set;function v(){if(!o){o=!0;do{for(let e=0;e<g.length;e+=1){var t=g[e];d(t),function(e){{var t;null!==e.fragment&&(e.update(),p(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(T))}}(t.$$)}for(d(null),g.length=0;e.length;)e.pop()();for(let e=0;e<r.length;e+=1){const n=r[e];s.has(n)||(s.add(n),n())}}while(r.length=0,g.length);for(;i.length;)i.pop()();b=!1,o=!1,s.clear()}}const R=new Set;function a(r,e,t,n,i,o,s=[-1]){var a,u=I;d(r);const l=r.$$={fragment:null,ctx:null,props:o,update:y,not_equal:i,bound:m(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(u?u.$$.context:e.context||[]),callbacks:m(),dirty:s,skip_bound:!1};let c=!1;if(l.ctx=t?t(r,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return l.ctx&&i(l.ctx[e],l.ctx[e]=n)&&(!l.skip_bound&&l.bound[e]&&l.bound[e](n),c&&(n=e,-1===(e=r).$$.dirty[0]&&(g.push(e),b||(b=!0,E.then(v)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],l.update(),c=!0,p(l.before_update),l.fragment=!!n&&n(l.ctx),e.target){if(e.hydrate){const y=(n=e.target,Array.from(n.childNodes));l.fragment&&l.fragment.l(y),y.forEach(C)}else l.fragment&&l.fragment.c();e.intro&&(a=r.$$.fragment)&&a.i&&(R.delete(a),a.i(void 0)),function(t,e,n,r){const{fragment:i,on_mount:o,on_destroy:s,after_update:a}=t.$$;i&&i.m(e,n),r||T(()=>{var e=o.map(h).filter(f);s?s.push(...e):p(e),t.$$.on_mount=[]}),a.forEach(T)}(r,e.target,e.anchor,e.customElement),v()}d(u)}let c;"function"==typeof HTMLElement&&(c=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(h).filter(f);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){p(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(p(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=y}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});const N=[];function M(r,i=y){let o;const s=[];function a(e){if(n(r,e)&&(r=e,o)){const e=!N.length;for(let e=0;e<s.length;e+=1){const t=s[e];t[1](),N.push(t,r)}if(e){for(let e=0;e<N.length;e+=2)N[e][0](N[e+1]);N.length=0}}}return{set:a,update:function(e){a(e(r))},subscribe:function(e,t=y){const n=[e,t];return s.push(n),1===s.length&&(o=i(a)||y),e(r),()=>{var e=s.indexOf(n);-1!==e&&s.splice(e,1),0===s.length&&(o(),o=null)}}}}function U(e,a,t){const u=!Array.isArray(e),l=u?[e]:e,c=a.length<2;return{subscribe:M(t,t=>{let n=!1;const r=[];let i=0,o=y;const s=()=>{var e;i||(o(),e=a(u?r[0]:r,t),c?t(e):o=f(e)?e:y)},e=l.map((e,t)=>S(e,e=>{r[t]=e,i&=~(1<<t),n&&s()},()=>{i|=1<<t}));return n=!0,s(),function(){p(e),o()}}).subscribe}}var D=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===k));var t},k="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function $(e,t){return!1!==t.clone&&t.isMergeableObject(e)?V(Array.isArray(e)?[]:{},e,t):e}function x(e,t,n){return e.concat(t).map(function(e){return $(e,n)})}function G(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function F(e,t){try{return t in e}catch(e){return!1}}function j(r,i,o){var s={};return o.isMergeableObject(r)&&G(r).forEach(function(e){s[e]=$(r[e],o)}),G(i).forEach(function(t){var e,n;(!F(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(F(r,t)&&o.isMergeableObject(i[t])?s[t]=function(){if(!o.customMerge)return V;var e=o.customMerge(t);return"function"==typeof e?e:V}()(r[t],i[t],o):s[t]=$(i[t],o))}),s}function V(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||x,n.isMergeableObject=n.isMergeableObject||D,n.cloneUnlessOtherwiseSpecified=$;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):j(e,t,n):$(t,n)}V.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return V(e,t,n)},{})};var X=V,z=function(e,t){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function B(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}z(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var K,Y,W,H=function(){return(H=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function q(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function Z(e){return e.type===Y.literal}function Q(e){return e.type===Y.number}function J(e){return e.type===Y.date}function ee(e){return e.type===Y.time}function te(e){return e.type===Y.select}function ne(e){return e.type===Y.plural}function re(e){return e.type===Y.tag}function ie(e){return e&&"object"==typeof e&&e.type===W.number}function oe(e){return e&&"object"==typeof e&&e.type===W.dateTime}(Se=K=K||{})[Se.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Se[Se.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Se[Se.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Se[Se.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Se[Se.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Se[Se.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Se[Se.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Se[Se.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Se[Se.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Se[Se.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Se[Se.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Se[Se.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Se[Se.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Se[Se.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Se[Se.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Se[Se.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Se[Se.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Se[Se.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Se[Se.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Se[Se.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Se[Se.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Se[Se.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Se[Se.INVALID_TAG=23]="INVALID_TAG",Se[Se.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Se[Se.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Se[Se.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Ce=Y=Y||{})[Ce.literal=0]="literal",Ce[Ce.argument=1]="argument",Ce[Ce.number=2]="number",Ce[Ce.date=3]="date",Ce[Ce.time=4]="time",Ce[Ce.select=5]="select",Ce[Ce.plural=6]="plural",Ce[Ce.pound=7]="pound",Ce[Ce.tag=8]="tag",(Le=W=W||{})[Le.number=0]="number",Le[Le.dateTime=1]="dateTime";var se=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ae=/(?:[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 ue,le=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,ce=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,he=/^(@+)?(\+|#+)?$/g,me=/(\*)(0+)|(#+)(0+)|(0+)/g,pe=/^(0+)$/;function fe(e){var r={};return e.replace(he,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function de(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 ge(e){return de(e)||{}}function Ee(e){for(var s={},t=0,n=e;t<n.length;t++){var r,i=n[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=H(H(H({},s),{notation:"scientific"}),i.options.reduce(function(e,t){return H(H({},e),ge(t))},{}));continue;case"engineering":s=H(H(H({},s),{notation:"engineering"}),i.options.reduce(function(e,t){return H(H({},e),ge(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(me,function(e,t,n,r,i,o){if(t)s.minimumIntegerDigits=n.length;else{if(r&&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(pe.test(i.stem))s.minimumIntegerDigits=i.stem.length;else if(ce.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ce,function(e,t,n,r,i,o){return"*"===n?s.minimumFractionDigits=t.length:r&&"#"===r[0]?s.maximumFractionDigits=r.length:i&&o?(s.minimumFractionDigits=i.length,s.maximumFractionDigits=i.length+o.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""}),i.options.length&&(s=H(H({},s),fe(i.options[0])))}else he.test(i.stem)?s=H(H({},s),fe(i.stem)):((r=de(i.stem))&&(s=H(H({},s),r)),(r=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 n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!pe.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(s=H(H({},s),r)))}return s}var ye=new RegExp("^"+se.source+"*"),be=new RegExp(se.source+"*$");function Te(e,t){return{start:e,end:t}}var ve=!!String.prototype.startsWith,_e=!!String.fromCodePoint,Ae=!!Object.fromEntries,Se=!!String.prototype.codePointAt,Ce=!!String.prototype.trimStart,Le=!!String.prototype.trimEnd,Pe=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},se=!0;try{se="a"===(null===(ue=ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===ue?void 0:ue[0])}catch(y){se=!1}var we,Oe,Ie=ve?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Re=_e?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;o<i;){if(1114111<(n=e[o++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Ne=Ae?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],i=i[1];t[o]=i}return t},Me=Se?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,i=e.charCodeAt(t);return i<55296||56319<i||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?i:r-56320+(i-55296<<10)+65536}},Ue=Ce?function(e){return e.trimStart()}:function(e){return e.replace(ye,"")},De=Le?function(e){return e.trimEnd()}:function(e){return e.replace(be,"")};function ke(e,t){return new RegExp(e,t)}Oe=se?(we=ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return we.lastIndex=t,null!==(e=we.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var i=Me(e,t);if(void 0===i||Fe(i)||(33<=(n=i)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(i),t+=65536<=i?2:1}return Re.apply(void 0,r)};var $e=(xe.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},xe.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,o=this.char();if(123===o){if((i=this.parseArgument(e,n)).err)return i;r.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(n)break;return this.error(K.UNMATCHED_CLOSING_TAG,Te(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Ge(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{o=this.clonePosition();this.bump(),r.push({type:Y.pound,location:Te(o,this.clonePosition())})}}}return{val:r,err:null}},xe.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Y.literal,value:"<"+r+"/>",location:Te(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;e=i.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ge(this.char()))return this.error(K.INVALID_TAG,Te(t,this.clonePosition()));i=this.clonePosition();return r!==this.parseTagName()?this.error(K.UNMATCHED_CLOSING_TAG,Te(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Y.tag,value:r,children:e,location:Te(n,this.clonePosition())},err:null}:this.error(K.INVALID_TAG,Te(t,this.clonePosition())))}return this.error(K.UNCLOSED_TAG,Te(n,this.clonePosition()))}return this.error(K.INVALID_TAG,Te(n,this.clonePosition()))},xe.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())},xe.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=Te(n,this.clonePosition());return{val:{type:Y.literal,value:r,location:n},err:null}},xe.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ge(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},xe.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 n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Re.apply(void 0,t)},xe.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Re(n))},xe.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,Te(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(K.EMPTY_ARGUMENT,Te(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(K.MALFORMED_ARGUMENT,Te(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,Te(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Y.argument,value:r,location:Te(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,Te(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(K.MALFORMED_ARGUMENT,Te(n,this.clonePosition()))}},xe.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Oe(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:Te(e,this.clonePosition())}},xe.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(K.EXPECT_ARGUMENT_TYPE,Te(o,a));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(h=De(m.val)).length)return this.error(K.EXPECT_ARGUMENT_STYLE,Te(this.clonePosition(),this.clonePosition()));u={style:h,styleLocation:Te(l,this.clonePosition())}}if((p=this.tryParseArgumentClose(r)).err)return p;var c=Te(r,this.clonePosition());if(u&&Ie(null==u?void 0:u.style,"::",0)){l=Ue(u.style.slice(2));if("number"===s)return(m=this.parseNumberSkeletonFromString(l,u.styleLocation)).err?m:{val:{type:Y.number,value:n,location:c,style:m.val},err:null};if(0===l.length)return this.error(K.EXPECT_DATE_TIME_SKELETON,c);var h={type:W.dateTime,pattern:l,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},l.replace(ae,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?Y.date:Y.time,value:n,location:c,style:h},err:null}}return{val:{type:"number"===s?Y.number:"date"===s?Y.date:Y.time,value:n,location:c,style:null!==(c=null==u?void 0:u.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(K.EXPECT_SELECT_ARGUMENT_OPTIONS,Te(u,H({},u)));this.bumpSpace();var m,c=this.parseIdentifierIfPossible(),u=0;if("select"!==s&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(K.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Te(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(K.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,K.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),c=this.parseIdentifierIfPossible(),u=m.val}c=this.tryParsePluralOrSelectOptions(e,s,t,c);if(c.err)return c;if((p=this.tryParseArgumentClose(r)).err)return p;var p=Te(r,this.clonePosition());return"select"===s?{val:{type:Y.select,value:n,options:Ne(c.val),location:p},err:null}:{val:{type:Y.plural,value:n,options:Ne(c.val),offset:u,pluralType:"plural"===s?"cardinal":"ordinal",location:p},err:null};default:return this.error(K.INVALID_ARGUMENT_TYPE,Te(o,a))}},xe.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,Te(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},xe.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(K.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Te(n,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}},xe.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(le).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].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(K.INVALID_NUMBER_SKELETON,t)}return{val:{type:W.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Ee(n):{}},err:null}},xe.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,o=[],s=new Set,a=r.value,u=r.location;;){if(0===a.length){var l=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(K.EXPECT_PLURAL_ARGUMENT_SELECTOR,K.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;u=Te(l,this.clonePosition()),a=this.message.slice(l.offset,this.offset())}if(s.has(a))return this.error("select"===t?K.DUPLICATE_SELECT_ARGUMENT_SELECTOR:K.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===a&&(i=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?K.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:K.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Te(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;l=this.tryParseArgumentClose(h);if(l.err)return l;o.push([a,{value:c.val,location:Te(h,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,u=h.location}return 0===o.length?this.error("select"===t?K.EXPECT_SELECT_ARGUMENT_SELECTOR:K.EXPECT_PLURAL_ARGUMENT_SELECTOR,Te(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(K.MISSING_OTHER_CLAUSE,Te(this.clonePosition(),this.clonePosition())):{val:o,err:null}},xe.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-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()}r=Te(r,this.clonePosition());return i?Pe(o*=n)?{val:o,err:null}:this.error(t,r):this.error(e,r)},xe.prototype.offset=function(){return this.position.offset},xe.prototype.isEOF=function(){return this.offset()===this.message.length},xe.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},xe.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Me(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},xe.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},xe.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))},xe.prototype.bumpIf=function(e){if(Ie(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},xe.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},xe.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},xe.prototype.bumpSpace=function(){for(;!this.isEOF()&&Fe(this.char());)this.bump()},xe.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},xe);function xe(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Ge(e){return 97<=e&&e<=122||65<=e&&e<=90}function Fe(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function je(e,t){t=H({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new $e(e,t).parse();if(n.err){e=SyntaxError(K[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,te(e)||ne(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Q(e)&&ie(e.style)||(J(e)||ee(e))&&oe(e.style)?delete e.style.location:re(e)&&n(e.children)})}(n.val),n.val}function Ve(e,t){var n=t&&t.cache?t.cache:He,r=t&&t.serializer?t.serializer:Ke;return(t&&t.strategy?t.strategy:function(e,t){return Be(e,this,1===e.length?Xe:ze,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Xe(e,t,n,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(i);return void 0===n&&(n=e.call(this,r),t.set(i,n)),n}function ze(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),n=t.get(i);return void 0===n&&(n=e.apply(this,r),t.set(i,n)),n}function Be(e,t,n,r,i){return n.bind(t,e,r,i)}var Ke=function(){return JSON.stringify(arguments)};function Ye(){this.cache=Object.create(null)}Ye.prototype.has=function(e){return e in this.cache},Ye.prototype.get=function(e){return this.cache[e]},Ye.prototype.set=function(e,t){this.cache[e]=t};var We,He={create:function(){return new Ye}},qe={variadic:function(e,t){return Be(e,this,ze,t.cache.create(),t.serializer)},monadic:function(e,t){return Be(e,this,Xe,t.cache.create(),t.serializer)}};(se=We=We||{}).MISSING_VALUE="MISSING_VALUE",se.INVALID_VALUE="INVALID_VALUE",se.MISSING_INTL_API="MISSING_INTL_API";var Ze,Qe,Je,et,tt,nt=(B(lt,tt=Error),lt.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},lt),rt=(B(ut,et=nt),ut),it=(B(at,Je=nt),at),ot=(B(st,Qe=nt),st);function st(e,t){return Qe.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',We.MISSING_VALUE,t)||this}function at(e,t,n){return Je.call(this,'Value for "'+e+'" must be of type '+t,We.INVALID_VALUE,n)||this}function ut(e,t,n,r){return et.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',We.INVALID_VALUE,r)||this}function lt(e,t,n){e=tt.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function ct(e,t,n,r,i,o,s){if(1===e.length&&Z(e[0]))return[{type:Ze.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var c=l[u];if(Z(c))a.push({type:Ze.literal,value:c.value});else if(c.type===Y.pound)"number"==typeof o&&a.push({type:Ze.literal,value:n.getNumberFormat(t).format(o)});else{var h=c.value;if(!(i&&h in i))throw new ot(h,s);var m=i[h];if(c.type===Y.argument)m&&"string"!=typeof m&&"number"!=typeof m||(m="string"==typeof m||"number"==typeof m?String(m):""),a.push({type:"string"==typeof m?Ze.literal:Ze.object,value:m});else if(J(c)){var p="string"==typeof c.style?r.date[c.style]:oe(c.style)?c.style.parsedOptions:void 0;a.push({type:Ze.literal,value:n.getDateTimeFormat(t,p).format(m)})}else if(ee(c))p="string"==typeof c.style?r.time[c.style]:oe(c.style)?c.style.parsedOptions:void 0,a.push({type:Ze.literal,value:n.getDateTimeFormat(t,p).format(m)});else if(Q(c))(p="string"==typeof c.style?r.number[c.style]:ie(c.style)?c.style.parsedOptions:void 0)&&p.scale&&(m*=p.scale||1),a.push({type:Ze.literal,value:n.getNumberFormat(t,p).format(m)});else{if(re(c)){var f=c.children,d=c.value,h=i[d];if("function"!=typeof h)throw new it(d,"function",s);f=h(ct(f,t,n,r,i,o).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),a.push.apply(a,f.map(function(e){return{type:"string"==typeof e?Ze.literal:Ze.object,value:e}}))}if(te(c)){if(!(g=c.options[m]||c.options.other))throw new rt(c.value,m,Object.keys(c.options),s);a.push.apply(a,ct(g.value,t,n,r,i))}else if(ne(c)){if(!(g=c.options["="+m])){if(!Intl.PluralRules)throw new nt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',We.MISSING_INTL_API,s);var f=n.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0)),g=c.options[f]||c.options.other}if(!g)throw new rt(c.value,m,Object.keys(c.options),s);a.push.apply(a,ct(g.value,t,n,r,i,m-(c.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Ze.literal&&t.type===Ze.literal?n.value+=t.value:e.push(t),e},[])}function ht(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(se=Ze=Ze||{})[se.literal=0]="literal",se[se.object=1]="object";var mt=(Object.defineProperty(pt,"defaultLocale",{get:function(){return pt.memoizedDefaultLocale||(pt.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),pt.memoizedDefaultLocale},enumerable:!1,configurable:!0}),pt.memoizedDefaultLocale=null,pt.__parse=je,pt.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"}}},pt);function pt(e,t,n,r){var i,o,s=this;if(void 0===t&&(t=pt.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===Ze.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 ct(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof e){if(this.message=e,!pt.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=pt.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag})}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=pt.formats,(o=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=o[t])?H(H(H({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=H(H({},n[t]),r[t]||{}),e},{})):n),e},H({},i)):i),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:Ve(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,q([void 0],t)))},{cache:ht((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:qe.variadic}),getDateTimeFormat:Ve(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,q([void 0],t)))},{cache:ht(r.dateTime),strategy:qe.variadic}),getPluralRules:Ve(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,q([void 0],t)))},{cache:ht(r.pluralRules),strategy:qe.variadic})}}const ft={},dt=(t,n)=>{if(null!=n){if(n in ft&&t in ft[n])return ft[n][t];var r,i,o=Rt(n);for(let e=0;e<o.length;e++){var s=(r=o[e],i=t,yt(r)?function(e,t){if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(0<e){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(function(e){return gt[e]||null}(r),i):null);if(s)return r=t,i=n,(s=s)&&(i in ft||(ft[i]={}),r in ft[i]||(ft[i][r]=s),s)}}};let gt;const Et=M({});function yt(e){return e in gt}function bt(t,...n){delete ft[t],Et.update(e=>(e[t]=X.all([e[t]||{},...n]),e))}U([Et],([e])=>Object.keys(e)),Et.subscribe(e=>gt=e);const Tt={};function vt(e){return Tt[e]}function _t(e){return Rt(e).some(e=>{return null===(e=vt(e))||void 0===e?void 0:e.size})}const At={};function St(e){if(!_t(e))return e in At?At[e]:void 0;const t=Rt(e).map(e=>{var t=vt(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return At[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){Tt[e].delete(t),0===Tt[e].size&&delete Tt[e]}(t,e),e().then(e=>e.default||e)))).then(e=>bt(t,...e))}(e))).then(()=>_t(e)?St(e):void delete At[e]),At[e]}function Ct(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const Lt={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};const Pt=M(!1);let wt;const Ot=M(null);function It(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Rt(e,t=Lt.fallbackLocale){e=It(e);return t?[...new Set([...e,...It(t)])]:e}Ot.subscribe(e=>{wt=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Nt=Ot.set;Ot.set=t=>{if(function(e){if(null!=e){var t=Rt(e);for(let e=0;e<t.length;e++){var n=t[e];if(yt(n))return n}}}(t)&&_t(t)){var{loadingDelay:n}=Lt;let e;return"undefined"!=typeof window&&null!=wt&&n?e=window.setTimeout(()=>Pt.set(!0),n):Pt.set(!0),St(t).then(()=>{Nt(t)}).finally(()=>{clearTimeout(e),Pt.set(!1)})}return Nt(t)},Ot.update=e=>Nt(e(wt));const Mt=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Ut=(e,t)=>{var{formats:n}=Lt;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Dt=Mt(e=>{var{locale:t,format:n}=e,e=Ct(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Ut("number",n)),new Intl.NumberFormat(t,e)}),kt=Mt(e=>{var{locale:t,format:n}=e,e=Ct(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Ut("date",n):0===Object.keys(e).length&&(e=Ut("date","short")),new Intl.DateTimeFormat(t,e)}),$t=Mt(e=>{var{locale:t,format:n}=e,e=Ct(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Ut("time",n):0===Object.keys(e).length&&(e=Ut("time","short")),new Intl.DateTimeFormat(t,e)}),xt=Mt((e,t=wt)=>new mt(e,t,Lt.formats,{ignoreTag:Lt.ignoreTag})),Gt=U([Ot,Et],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=wt,default:i}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let o=dt(e,r);if(o){if("string"!=typeof o)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof o}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),o}else Lt.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Rt(r).join('", "')}".${_t(wt)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),o=i||e;if(!n)return o;let s=o;try{s=xt(o,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return s});U([Ot],()=>(e,t)=>((e={})=>{var{locale:t=wt}=e,e=Ct(e,["locale"]);return $t(Object.assign({locale:t},e))})(t).format(e)),U([Ot],()=>(e,t)=>((e={})=>{var{locale:t=wt}=e,e=Ct(e,["locale"]);return kt(Object.assign({locale:t},e))})(t).format(e)),U([Ot],()=>(e,t)=>((e={})=>{var{locale:t=wt}=e,e=Ct(e,["locale"]);return Dt(Object.assign({locale:t},e))})(t).format(e)),U([Ot,Et],()=>(e,t=wt)=>dt(e,t));const Ft={en:{tournamentsThumbnail:{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet counts: ",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"OnGoing",finished:"Finished",startingAt:"Starting at",mostRounds:"MostRounds",betCount:"BetCount",maxWinStakeRatio:"MaxWinStakeRatio",winStakeR:"WinStakeR"}},tr:{tournamentsThumbnail:{enrolled:"Katıldın",scoreCriteria:"Skor kriteri",minbet:"en düşük bahis sayısı",seegames:"Turnuvadaki oyunları görmek için",here:"tıklayın",scheduled:"Planlanmış",ongoing:"Devam Eden",finished:"Sona Ermiş",startingAt:"BAŞLAMA SAATİ:",mostRounds:"ÇoğuRounds",betCount:"Oynanan Tur Sayısı",maxWinStakeRatio:"Maksimum Kazanç / Bahis Oranı",winStakeR:"Kazanç / Bahis Oranı"}},el:{tournamentsThumbnail:{enrolled:"Εγγεγραμμένος",scoreCriteria:"Κριτήρια Σκορ",minbet:"Ελάχιστος αριθμός πονταρισμάτων: ",seegames:"Μπορείε να δεις τα παιχνίδια",here:"εδώ",all:"OΛΑ",scheduled:"ΠΡΟΓΡΑΜΜΑΤΙΣΜΕΝΑ",ongoing:"ΤΡΕΧΟΝΤΑ",finished:"ΟΛΟΚΛΗΡΩΜΕΝΑ",startingAt:"ΑΡΧΙΖΕΙ",mostRounds:"Οι περισσότεροι γύροιs",betCount:"Καταμέτρηση στοιχημάτων",maxWinStakeRatio:"Μέγιστος λόγος πονταρίσματος κερδών",winStakeR:"Κερδίστε το Στοίχημα R"}}};function jt(n){let r,i,o,s;return{c(){r=t("div"),i=L(n[12]),w(r,"class","Status"),w(r,"part","Status")},m(e,t){A(e,r,t),_(r,i),o||(s=u(n[16].call(null,r)),o=!0)},p(e,t){4096&t&&O(i,e[12])},d(e){e&&C(r),o=!1,s()}}}function Vt(e){let n,r=e[5]&&Xt(e);return{c(){r&&r.c(),n=L("")},m(e,t){r&&r.m(e,t),A(e,n,t)},p(e,t){e[5]?r?r.p(e,t):(r=Xt(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&C(n)}}}function Xt(e){let n,r,i=e[14]("tournamentsThumbnail.enrolled")+"";return{c(){n=t("div"),r=L(i),w(n,"class","Enrolled"),w(n,"part","Enrolled")},m(e,t){A(e,n,t),_(n,r)},p(e,t){16384&t&&i!==(i=e[14]("tournamentsThumbnail.enrolled")+"")&&O(r,i)},d(e){e&&C(n)}}}function zt(n){let r,i,o,s,a;return{c(){r=t("div"),w(r,"class",i="CardImg "+("Closing"==n[2]||"Closed"==n[2]?"CardImgFinished":"")),w(r,"part",o="CardImg "+("Closing"==n[2]||"Closed"==n[2]?"CardImgFinished":"")),l(r,"background-image","url('https://i.stack.imgur.com/y9DpT.jpg')")},m(e,t){A(e,r,t),s||(a=u(n[16].call(null,r)),s=!0)},p(e,t){4&t&&i!==(i="CardImg "+("Closing"==e[2]||"Closed"==e[2]?"CardImgFinished":""))&&w(r,"class",i),4&t&&o!==(o="CardImg "+("Closing"==e[2]||"Closed"==e[2]?"CardImgFinished":""))&&w(r,"part",o)},d(e){e&&C(r),s=!1,a()}}}function Bt(n){let r,i,o,s,a;return{c(){r=t("div"),w(r,"class",i="CardImg "+("Closing"==n[2]||"Closed"==n[2]?"CardImgFinished":"")),w(r,"part",o="CardImg "+("Closing"==n[2]||"Closed"==n[2]?"CardImgFinished":"")),l(r,"background-image","url('"+n[4]+"')")},m(e,t){A(e,r,t),s||(a=u(n[16].call(null,r)),s=!0)},p(e,t){4&t&&i!==(i="CardImg "+("Closing"==e[2]||"Closed"==e[2]?"CardImgFinished":""))&&w(r,"class",i),4&t&&o!==(o="CardImg "+("Closing"==e[2]||"Closed"==e[2]?"CardImgFinished":""))&&w(r,"part",o),16&t&&l(r,"background-image","url('"+e[4]+"')")},d(e){e&&C(r),s=!1,a()}}}function Kt(n){let r,i,o,s,a;return{c(){r=t("div"),i=L(n[10]),w(r,"class","Date"),w(r,"part","Date")},m(e,t){A(e,r,t),_(r,i),s||(a=u(o=n[15].call(null,r,n[1])),s=!0)},p(e,t){1024&t&&O(i,e[10]),o&&f(o.update)&&2&t&&o.update.call(null,e[1])},d(e){e&&C(r),s=!1,a()}}}function Yt(i){let o,s,a,u,l,c,h,m,p,f,d,g,E,n=i[14]("tournamentsThumbnail.scoreCriteria")+"",r=i[14]("tournamentsThumbnail.seegames")+"",y=i[14]("tournamentsThumbnail.here")+"";function b(e){return"BetCount"==e[6]?Ht:Wt}let T=b(i),v=T(i);return{c(){o=t("div"),s=t("p"),a=L(n),u=L(":\n "),v.c(),l=P(),c=t("div"),h=t("p"),m=L(r),p=P(),f=t("a"),d=L(y),w(o,"class","ScoreCriteria"),w(o,"part","ScoreCriteria"),w(f,"href",i[9]),w(f,"target","_blank"),w(c,"class","Games"),w(c,"part","Games")},m(e,t){var n,r;A(e,o,t),_(o,s),_(s,a),_(s,u),v.m(s,null),A(e,l,t),A(e,c,t),_(c,h),_(h,m),_(h,p),_(h,f),_(f,d),g||(n=f,r=i[22],n.addEventListener("click",r,void 0),E=()=>n.removeEventListener("click",r,void 0),g=!0)},p(e,t){16384&t&&n!==(n=e[14]("tournamentsThumbnail.scoreCriteria")+"")&&O(a,n),T===(T=b(e))&&v?v.p(e,t):(v.d(1),v=T(e),v&&(v.c(),v.m(s,null))),16384&t&&r!==(r=e[14]("tournamentsThumbnail.seegames")+"")&&O(m,r),16384&t&&y!==(y=e[14]("tournamentsThumbnail.here")+"")&&O(d,y),512&t&&w(f,"href",e[9])},d(e){e&&C(o),v.d(),e&&C(l),e&&C(c),g=!1,E()}}}function Wt(n){let r,i,o,s;return{c(){r=t("span"),i=L(n[13])},m(e,t){A(e,r,t),_(r,i),o||(s=u(n[17].call(null,r)),o=!0)},p(e,t){8192&t&&O(i,e[13])},d(e){e&&C(r),o=!1,s()}}}function Ht(e){let n,r,i,o,s,a,u=e[14]("tournamentsThumbnail.mostRounds")+"",l=e[14]("tournamentsThumbnail.minbet")+"";return{c(){n=L(u),r=L("\n ("),i=L(l),o=L(": "),s=L(e[7]),a=L(")")},m(e,t){A(e,n,t),A(e,r,t),A(e,i,t),A(e,o,t),A(e,s,t),A(e,a,t)},p(e,t){16384&t&&u!==(u=e[14]("tournamentsThumbnail.mostRounds")+"")&&O(n,u),16384&t&&l!==(l=e[14]("tournamentsThumbnail.minbet")+"")&&O(i,l),128&t&&O(s,e[7])},d(e){e&&C(n),e&&C(r),e&&C(i),e&&C(o),e&&C(s),e&&C(a)}}}function qt(e){let n,r,i,o,s,a,u,l,c,h=e[2]&&jt(e),m="true"==e[8]&&Vt(e);function p(e){return e[4]?Bt:zt}let f=p(e),d=f(e),g=e[1]&&Kt(e),E=e[11]&&Yt(e);return{c(){n=t("div"),h&&h.c(),r=P(),m&&m.c(),i=P(),d.c(),o=P(),s=t("div"),a=t("div"),u=L(e[0]),l=P(),g&&g.c(),c=P(),E&&E.c(),this.c=y,w(a,"class","Title"),w(a,"part","Title"),w(s,"class","Details"),w(s,"part","Details"),w(n,"class","Thumbnail"),w(n,"part","Thumbnail")},m(e,t){A(e,n,t),h&&h.m(n,null),_(n,r),m&&m.m(n,null),_(n,i),d.m(n,null),_(n,o),_(n,s),_(s,a),_(a,u),_(s,l),g&&g.m(s,null),_(s,c),E&&E.m(s,null)},p(e,[t]){e[2]?h?h.p(e,t):(h=jt(e),h.c(),h.m(n,r)):h&&(h.d(1),h=null),"true"==e[8]?m?m.p(e,t):(m=Vt(e),m.c(),m.m(n,i)):m&&(m.d(1),m=null),f===(f=p(e))&&d?d.p(e,t):(d.d(1),d=f(e),d&&(d.c(),d.m(n,o))),1&t&&O(u,e[0]),e[1]?g?g.p(e,t):(g=Kt(e),g.c(),g.m(s,c)):g&&(g.d(1),g=null),e[11]?E?E.p(e,t):(E=Yt(e),E.c(),E.m(s,null)):E&&(E.d(1),E=null)},i:y,o:y,d(e){e&&C(n),h&&h.d(),m&&m.d(),d.d(),g&&g.d(),E&&E.d()}}}function Zt(e,t,i){let o;var n=Gt;e.$$.on_destroy.push(S(n,e=>i(14,o=e)));let{session:r=""}=t,{userid:s=""}=t,{title:a=""}=t,{startdate:u=""}=t,{status:l=""}=t,{tourid:c=""}=t,{thumbnail:h=""}=t,{userenrolled:m=""}=t,{scorecriteria:p=""}=t,{minbetcount:f=""}=t,{showenrolled:d="false"}=t,{gameurl:g=""}=t,{lang:E="en"}=t,y,b=!1,T="",v="";Object.keys(Ft).forEach(e=>{bt(e,Ft[e])});const _=e=>{e.data&&"SessionID"==e.data.type&&i(11,b=!0)},A=(e,t)=>{window.postMessage({type:"tournamentGamesClicked",tourId:t},window.location.href)};return t=()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)}),function(){if(!I)throw new Error("Function called outside component initialization");return I}().$$.on_mount.push(t),e.$$set=e=>{"session"in e&&i(19,r=e.session),"userid"in e&&i(20,s=e.userid),"title"in e&&i(0,a=e.title),"startdate"in e&&i(1,u=e.startdate),"status"in e&&i(2,l=e.status),"tourid"in e&&i(3,c=e.tourid),"thumbnail"in e&&i(4,h=e.thumbnail),"userenrolled"in e&&i(5,m=e.userenrolled),"scorecriteria"in e&&i(6,p=e.scorecriteria),"minbetcount"in e&&i(7,f=e.minbetcount),"showenrolled"in e&&i(8,d=e.showenrolled),"gameurl"in e&&i(9,g=e.gameurl),"lang"in e&&i(21,E=e.lang)},e.$$.update=()=>{524288&e.$$.dirty&&r&&(0<r.length&&"false"!=r?i(11,b=!0):i(11,b=!1))},[a,u,l,c,h,m,p,f,d,g,"",b,T,v,o,()=>{let e=new Date(u),t=new Intl.DateTimeFormat(E,{month:"long"}).format(e),n=e.getDate(),r=e.toLocaleString(E,{hour:"numeric",minute:"numeric",hour12:!1});i(10,y=`${n} ${t}, `+o("tournamentsThumbnail.startingAt")+` ${r}`)},()=>{"Unstarted"==l&&i(12,T=o("tournamentsThumbnail.scheduled")),"Running"==l&&i(12,T=o("tournamentsThumbnail.ongoing")),"Closed"!=l&&"Closing"!=l||i(12,T=o("tournamentsThumbnail.finished"))},()=>{"BetCount"==p&&i(13,v=o("tournamentsThumbnail.betCount")),"MaxWinStakeRatio"==p&&i(13,v=o("tournamentsThumbnail.maxWinStakeRatio")),"WinStakeR"==p&&i(13,v=o("tournamentsThumbnail.winStakeR"))},A,r,s,E,()=>A()]}class Qt extends c{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}a{color:#48952a;text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .CardImg{height:300px;width:100%;background-image:url(\"https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png\");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:#000000;display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:#2B2B5D;color:#aaaabe;display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}</style>",a(this,{target:this.shadowRoot,props:function(e){const t={};for(const n of e)t[n.name]=n.value;return t}(this.attributes),customElement:!0},Zt,qt,n,{session:19,userid:20,title:0,startdate:1,status:2,tourid:3,thumbnail:4,userenrolled:5,scorecriteria:6,minbetcount:7,showenrolled:8,gameurl:9,lang:21}),e&&(e.target&&A(e.target,this,e.anchor),e.props&&(this.$set(e.props),v()))}static get observedAttributes(){return["session","userid","title","startdate","status","tourid","thumbnail","userenrolled","scorecriteria","minbetcount","showenrolled","gameurl","lang"]}get session(){return this.$$.ctx[19]}set session(e){this.$set({session:e}),v()}get userid(){return this.$$.ctx[20]}set userid(e){this.$set({userid:e}),v()}get title(){return this.$$.ctx[0]}set title(e){this.$set({title:e}),v()}get startdate(){return this.$$.ctx[1]}set startdate(e){this.$set({startdate:e}),v()}get status(){return this.$$.ctx[2]}set status(e){this.$set({status:e}),v()}get tourid(){return this.$$.ctx[3]}set tourid(e){this.$set({tourid:e}),v()}get thumbnail(){return this.$$.ctx[4]}set thumbnail(e){this.$set({thumbnail:e}),v()}get userenrolled(){return this.$$.ctx[5]}set userenrolled(e){this.$set({userenrolled:e}),v()}get scorecriteria(){return this.$$.ctx[6]}set scorecriteria(e){this.$set({scorecriteria:e}),v()}get minbetcount(){return this.$$.ctx[7]}set minbetcount(e){this.$set({minbetcount:e}),v()}get showenrolled(){return this.$$.ctx[8]}set showenrolled(e){this.$set({showenrolled:e}),v()}get gameurl(){return this.$$.ctx[9]}set gameurl(e){this.$set({gameurl:e}),v()}get lang(){return this.$$.ctx[21]}set lang(e){this.$set({lang:e}),v()}}return customElements.get("casino-tournaments-thumbnail")||customElements.define("casino-tournaments-thumbnail",Qt),Qt});
|
|
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 y(){}function h(e){return e()}function m(){return Object.create(null)}function p(e){e.forEach(h)}function f(e){return"function"==typeof e}function n(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function C(e,...t){if(null==e)return y;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function u(e){return e&&f(e.destroy)?e.destroy:y}function _(e,t){e.appendChild(t)}function A(e,t,n){e.insertBefore(t,n||null)}function S(e){e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function L(e){return document.createTextNode(e)}function P(){return L(" ")}function w(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function O(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function l(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}let I;function d(e){I=e}const g=[],e=[],r=[],i=[],E=Promise.resolve();let b=!1;function T(e){r.push(e)}let o=!1;const s=new Set;function v(){if(!o){o=!0;do{for(let e=0;e<g.length;e+=1){var t=g[e];d(t),function(e){{var t;null!==e.fragment&&(e.update(),p(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(T))}}(t.$$)}for(d(null),g.length=0;e.length;)e.pop()();for(let e=0;e<r.length;e+=1){const n=r[e];s.has(n)||(s.add(n),n())}}while(r.length=0,g.length);for(;i.length;)i.pop()();b=!1,o=!1,s.clear()}}const R=new Set;function a(r,e,t,n,i,o,s=[-1]){var a,u=I;d(r);const l=r.$$={fragment:null,ctx:null,props:o,update:y,not_equal:i,bound:m(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(u?u.$$.context:e.context||[]),callbacks:m(),dirty:s,skip_bound:!1};let c=!1;if(l.ctx=t?t(r,e.props||{},(e,t,...n)=>{n=n.length?n[0]:t;return l.ctx&&i(l.ctx[e],l.ctx[e]=n)&&(!l.skip_bound&&l.bound[e]&&l.bound[e](n),c&&(n=e,-1===(e=r).$$.dirty[0]&&(g.push(e),b||(b=!0,E.then(v)),e.$$.dirty.fill(0)),e.$$.dirty[n/31|0]|=1<<n%31)),t}):[],l.update(),c=!0,p(l.before_update),l.fragment=!!n&&n(l.ctx),e.target){if(e.hydrate){const y=(n=e.target,Array.from(n.childNodes));l.fragment&&l.fragment.l(y),y.forEach(S)}else l.fragment&&l.fragment.c();e.intro&&(a=r.$$.fragment)&&a.i&&(R.delete(a),a.i(void 0)),function(t,e,n,r){const{fragment:i,on_mount:o,on_destroy:s,after_update:a}=t.$$;i&&i.m(e,n),r||T(()=>{var e=o.map(h).filter(f);s?s.push(...e):p(e),t.$$.on_mount=[]}),a.forEach(T)}(r,e.target,e.anchor,e.customElement),v()}d(u)}let c;"function"==typeof HTMLElement&&(c=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(h).filter(f);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){p(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(p(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=y}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});const N=[];function M(r,i=y){let o;const s=[];function a(e){if(n(r,e)&&(r=e,o)){const e=!N.length;for(let e=0;e<s.length;e+=1){const t=s[e];t[1](),N.push(t,r)}if(e){for(let e=0;e<N.length;e+=2)N[e][0](N[e+1]);N.length=0}}}return{set:a,update:function(e){a(e(r))},subscribe:function(e,t=y){const n=[e,t];return s.push(n),1===s.length&&(o=i(a)||y),e(r),()=>{var e=s.indexOf(n);-1!==e&&s.splice(e,1),0===s.length&&(o(),o=null)}}}}function U(e,a,t){const u=!Array.isArray(e),l=u?[e]:e,c=a.length<2;return{subscribe:M(t,t=>{let n=!1;const r=[];let i=0,o=y;const s=()=>{var e;i||(o(),e=a(u?r[0]:r,t),c?t(e):o=f(e)?e:y)},e=l.map((e,t)=>C(e,e=>{r[t]=e,i&=~(1<<t),n&&s()},()=>{i|=1<<t}));return n=!0,s(),function(){p(e),o()}}).subscribe}}var k=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===D));var t},D="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function $(e,t){return!1!==t.clone&&t.isMergeableObject(e)?V(Array.isArray(e)?[]:{},e,t):e}function x(e,t,n){return e.concat(t).map(function(e){return $(e,n)})}function G(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function F(e,t){try{return t in e}catch(e){return!1}}function j(r,i,o){var s={};return o.isMergeableObject(r)&&G(r).forEach(function(e){s[e]=$(r[e],o)}),G(i).forEach(function(t){var e,n;(!F(e=r,n=t)||Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))&&(F(r,t)&&o.isMergeableObject(i[t])?s[t]=function(){if(!o.customMerge)return V;var e=o.customMerge(t);return"function"==typeof e?e:V}()(r[t],i[t],o):s[t]=$(i[t],o))}),s}function V(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||x,n.isMergeableObject=n.isMergeableObject||k,n.cloneUnlessOtherwiseSpecified=$;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):j(e,t,n):$(t,n)}V.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return V(e,t,n)},{})};var X=V,z=function(e,t){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function B(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}z(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var K,Y,W,H=function(){return(H=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function q(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function Z(e){return e.type===Y.literal}function Q(e){return e.type===Y.number}function J(e){return e.type===Y.date}function ee(e){return e.type===Y.time}function te(e){return e.type===Y.select}function ne(e){return e.type===Y.plural}function re(e){return e.type===Y.tag}function ie(e){return e&&"object"==typeof e&&e.type===W.number}function oe(e){return e&&"object"==typeof e&&e.type===W.dateTime}(Se=K=K||{})[Se.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",Se[Se.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",Se[Se.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",Se[Se.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",Se[Se.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",Se[Se.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",Se[Se.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",Se[Se.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",Se[Se.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",Se[Se.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",Se[Se.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",Se[Se.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",Se[Se.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",Se[Se.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",Se[Se.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",Se[Se.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",Se[Se.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",Se[Se.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",Se[Se.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",Se[Se.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",Se[Se.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",Se[Se.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",Se[Se.INVALID_TAG=23]="INVALID_TAG",Se[Se.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",Se[Se.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",Se[Se.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Ce=Y=Y||{})[Ce.literal=0]="literal",Ce[Ce.argument=1]="argument",Ce[Ce.number=2]="number",Ce[Ce.date=3]="date",Ce[Ce.time=4]="time",Ce[Ce.select=5]="select",Ce[Ce.plural=6]="plural",Ce[Ce.pound=7]="pound",Ce[Ce.tag=8]="tag",(Le=W=W||{})[Le.number=0]="number",Le[Le.dateTime=1]="dateTime";var se=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ae=/(?:[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 ue,le=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,ce=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,he=/^(@+)?(\+|#+)?$/g,me=/(\*)(0+)|(#+)(0+)|(0+)/g,pe=/^(0+)$/;function fe(e){var r={};return e.replace(he,function(e,t,n){return"string"!=typeof n?(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length):"+"===n?r.minimumSignificantDigits=t.length:"#"===t[0]?r.maximumSignificantDigits=t.length:(r.minimumSignificantDigits=t.length,r.maximumSignificantDigits=t.length+("string"==typeof n?n.length:0)),""}),r}function de(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 ge(e){return de(e)||{}}function Ee(e){for(var s={},t=0,n=e;t<n.length;t++){var r,i=n[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=H(H(H({},s),{notation:"scientific"}),i.options.reduce(function(e,t){return H(H({},e),ge(t))},{}));continue;case"engineering":s=H(H(H({},s),{notation:"engineering"}),i.options.reduce(function(e,t){return H(H({},e),ge(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(me,function(e,t,n,r,i,o){if(t)s.minimumIntegerDigits=n.length;else{if(r&&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(pe.test(i.stem))s.minimumIntegerDigits=i.stem.length;else if(ce.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ce,function(e,t,n,r,i,o){return"*"===n?s.minimumFractionDigits=t.length:r&&"#"===r[0]?s.maximumFractionDigits=r.length:i&&o?(s.minimumFractionDigits=i.length,s.maximumFractionDigits=i.length+o.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""}),i.options.length&&(s=H(H({},s),fe(i.options[0])))}else he.test(i.stem)?s=H(H({},s),fe(i.stem)):((r=de(i.stem))&&(s=H(H({},s),r)),(r=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 n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!pe.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(s=H(H({},s),r)))}return s}var ye=new RegExp("^"+se.source+"*"),be=new RegExp(se.source+"*$");function Te(e,t){return{start:e,end:t}}var ve=!!String.prototype.startsWith,_e=!!String.fromCodePoint,Ae=!!Object.fromEntries,Se=!!String.prototype.codePointAt,Ce=!!String.prototype.trimStart,Le=!!String.prototype.trimEnd,Pe=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},se=!0;try{se="a"===(null===(ue=De("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===ue?void 0:ue[0])}catch(y){se=!1}var we,Oe,Ie=ve?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},Re=_e?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;o<i;){if(1114111<(n=e[o++]))throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Ne=Ae?Object.fromEntries:function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],i=i[1];t[o]=i}return t},Me=Se?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||n<=t)){var r,i=e.charCodeAt(t);return i<55296||56319<i||t+1===n||(r=e.charCodeAt(t+1))<56320||57343<r?i:r-56320+(i-55296<<10)+65536}},Ue=Ce?function(e){return e.trimStart()}:function(e){return e.replace(ye,"")},ke=Le?function(e){return e.trimEnd()}:function(e){return e.replace(be,"")};function De(e,t){return new RegExp(e,t)}Oe=se?(we=De("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return we.lastIndex=t,null!==(e=we.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var n,r=[];;){var i=Me(e,t);if(void 0===i||Fe(i)||(33<=(n=i)&&n<=35||36===n||37<=n&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||46<=n&&n<=47||58<=n&&n<=59||60<=n&&n<=62||63<=n&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||162<=n&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||8208<=n&&n<=8213||8214<=n&&n<=8215||8216===n||8217===n||8218===n||8219<=n&&n<=8220||8221===n||8222===n||8223===n||8224<=n&&n<=8231||8240<=n&&n<=8248||8249===n||8250===n||8251<=n&&n<=8254||8257<=n&&n<=8259||8260===n||8261===n||8262===n||8263<=n&&n<=8273||8274===n||8275===n||8277<=n&&n<=8286||8592<=n&&n<=8596||8597<=n&&n<=8601||8602<=n&&n<=8603||8604<=n&&n<=8607||8608===n||8609<=n&&n<=8610||8611===n||8612<=n&&n<=8613||8614===n||8615<=n&&n<=8621||8622===n||8623<=n&&n<=8653||8654<=n&&n<=8655||8656<=n&&n<=8657||8658===n||8659===n||8660===n||8661<=n&&n<=8691||8692<=n&&n<=8959||8960<=n&&n<=8967||8968===n||8969===n||8970===n||8971===n||8972<=n&&n<=8991||8992<=n&&n<=8993||8994<=n&&n<=9e3||9001===n||9002===n||9003<=n&&n<=9083||9084===n||9085<=n&&n<=9114||9115<=n&&n<=9139||9140<=n&&n<=9179||9180<=n&&n<=9185||9186<=n&&n<=9254||9255<=n&&n<=9279||9280<=n&&n<=9290||9291<=n&&n<=9311||9472<=n&&n<=9654||9655===n||9656<=n&&n<=9664||9665===n||9666<=n&&n<=9719||9720<=n&&n<=9727||9728<=n&&n<=9838||9839===n||9840<=n&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||10132<=n&&n<=10175||10176<=n&&n<=10180||10181===n||10182===n||10183<=n&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||10224<=n&&n<=10239||10240<=n&&n<=10495||10496<=n&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||10649<=n&&n<=10711||10712===n||10713===n||10714===n||10715===n||10716<=n&&n<=10747||10748===n||10749===n||10750<=n&&n<=11007||11008<=n&&n<=11055||11056<=n&&n<=11076||11077<=n&&n<=11078||11079<=n&&n<=11084||11085<=n&&n<=11123||11124<=n&&n<=11125||11126<=n&&n<=11157||11158===n||11159<=n&&n<=11263||11776<=n&&n<=11777||11778===n||11779===n||11780===n||11781===n||11782<=n&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||11790<=n&&n<=11798||11799===n||11800<=n&&n<=11801||11802===n||11803===n||11804===n||11805===n||11806<=n&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||11818<=n&&n<=11822||11823===n||11824<=n&&n<=11833||11834<=n&&n<=11835||11836<=n&&n<=11839||11840===n||11841===n||11842===n||11843<=n&&n<=11855||11856<=n&&n<=11857||11858===n||11859<=n&&n<=11903||12289<=n&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||12306<=n&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||12318<=n&&n<=12319||12320===n||12336===n||64830===n||64831===n||65093<=n&&n<=65094))break;r.push(i),t+=65536<=i?2:1}return Re.apply(void 0,r)};var $e=(xe.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},xe.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i,o=this.char();if(123===o){if((i=this.parseArgument(e,n)).err)return i;r.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(n)break;return this.error(K.UNMATCHED_CLOSING_TAG,Te(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Ge(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;r.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;r.push(i.val)}}else{o=this.clonePosition();this.bump(),r.push({type:Y.pound,location:Te(o,this.clonePosition())})}}}return{val:r,err:null}},xe.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Y.literal,value:"<"+r+"/>",location:Te(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;e=i.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ge(this.char()))return this.error(K.INVALID_TAG,Te(t,this.clonePosition()));i=this.clonePosition();return r!==this.parseTagName()?this.error(K.UNMATCHED_CLOSING_TAG,Te(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Y.tag,value:r,children:e,location:Te(n,this.clonePosition())},err:null}:this.error(K.INVALID_TAG,Te(t,this.clonePosition())))}return this.error(K.UNCLOSED_TAG,Te(n,this.clonePosition()))}return this.error(K.INVALID_TAG,Te(n,this.clonePosition()))},xe.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())},xe.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{i=this.tryParseUnquoted(e,t);if(i)r+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;r+=i}}}n=Te(n,this.clonePosition());return{val:{type:Y.literal,value:r,location:n},err:null}},xe.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ge(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},xe.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 n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return Re.apply(void 0,t)},xe.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&0<e?null:(this.bump(),Re(n))},xe.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,Te(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(K.EMPTY_ARGUMENT,Te(n,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(K.MALFORMED_ARGUMENT,Te(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,Te(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Y.argument,value:r,location:Te(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,Te(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(K.MALFORMED_ARGUMENT,Te(n,this.clonePosition()))}},xe.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Oe(this.message,t),t=t+n.length;return this.bumpTo(t),{value:n,location:Te(e,this.clonePosition())}},xe.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(K.EXPECT_ARGUMENT_TYPE,Te(o,a));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(h=ke(m.val)).length)return this.error(K.EXPECT_ARGUMENT_STYLE,Te(this.clonePosition(),this.clonePosition()));u={style:h,styleLocation:Te(l,this.clonePosition())}}if((p=this.tryParseArgumentClose(r)).err)return p;var c=Te(r,this.clonePosition());if(u&&Ie(null==u?void 0:u.style,"::",0)){l=Ue(u.style.slice(2));if("number"===s)return(m=this.parseNumberSkeletonFromString(l,u.styleLocation)).err?m:{val:{type:Y.number,value:n,location:c,style:m.val},err:null};if(0===l.length)return this.error(K.EXPECT_DATE_TIME_SKELETON,c);var h={type:W.dateTime,pattern:l,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},l.replace(ae,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?Y.date:Y.time,value:n,location:c,style:h},err:null}}return{val:{type:"number"===s?Y.number:"date"===s?Y.date:Y.time,value:n,location:c,style:null!==(c=null==u?void 0:u.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(K.EXPECT_SELECT_ARGUMENT_OPTIONS,Te(u,H({},u)));this.bumpSpace();var m,c=this.parseIdentifierIfPossible(),u=0;if("select"!==s&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(K.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Te(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(K.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,K.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),c=this.parseIdentifierIfPossible(),u=m.val}c=this.tryParsePluralOrSelectOptions(e,s,t,c);if(c.err)return c;if((p=this.tryParseArgumentClose(r)).err)return p;var p=Te(r,this.clonePosition());return"select"===s?{val:{type:Y.select,value:n,options:Ne(c.val),location:p},err:null}:{val:{type:Y.plural,value:n,options:Ne(c.val),offset:u,pluralType:"plural"===s?"cardinal":"ordinal",location:p},err:null};default:return this.error(K.INVALID_ARGUMENT_TYPE,Te(o,a))}},xe.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(K.EXPECT_ARGUMENT_CLOSING_BRACE,Te(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},xe.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(K.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Te(n,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}},xe.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],n=0,r=e.split(le).filter(function(e){return 0<e.length});n<r.length;n++){var i=r[n].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(K.INVALID_NUMBER_SKELETON,t)}return{val:{type:W.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Ee(n):{}},err:null}},xe.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){for(var i=!1,o=[],s=new Set,a=r.value,u=r.location;;){if(0===a.length){var l=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(K.EXPECT_PLURAL_ARGUMENT_SELECTOR,K.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;u=Te(l,this.clonePosition()),a=this.message.slice(l.offset,this.offset())}if(s.has(a))return this.error("select"===t?K.DUPLICATE_SELECT_ARGUMENT_SELECTOR:K.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===a&&(i=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?K.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:K.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Te(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,n);if(c.err)return c;l=this.tryParseArgumentClose(h);if(l.err)return l;o.push([a,{value:c.val,location:Te(h,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,u=h.location}return 0===o.length?this.error("select"===t?K.EXPECT_SELECT_ARGUMENT_SELECTOR:K.EXPECT_PLURAL_ARGUMENT_SELECTOR,Te(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(K.MISSING_OTHER_CLAUSE,Te(this.clonePosition(),this.clonePosition())):{val:o,err:null}},xe.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-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()}r=Te(r,this.clonePosition());return i?Pe(o*=n)?{val:o,err:null}:this.error(t,r):this.error(e,r)},xe.prototype.offset=function(){return this.position.offset},xe.prototype.isEOF=function(){return this.offset()===this.message.length},xe.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},xe.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Me(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},xe.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},xe.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))},xe.prototype.bumpIf=function(e){if(Ie(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},xe.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},xe.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},xe.prototype.bumpSpace=function(){for(;!this.isEOF()&&Fe(this.char());)this.bump()},xe.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},xe);function xe(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Ge(e){return 97<=e&&e<=122||65<=e&&e<=90}function Fe(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function je(e,t){t=H({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var n=new $e(e,t).parse();if(n.err){e=SyntaxError(K[n.err.kind]);throw e.location=n.err.location,e.originalMessage=n.err.message,e}return null!=t&&t.captureLocation||function n(e){e.forEach(function(e){if(delete e.location,te(e)||ne(e))for(var t in e.options)delete e.options[t].location,n(e.options[t].value);else Q(e)&&ie(e.style)||(J(e)||ee(e))&&oe(e.style)?delete e.style.location:re(e)&&n(e.children)})}(n.val),n.val}function Ve(e,t){var n=t&&t.cache?t.cache:He,r=t&&t.serializer?t.serializer:Ke;return(t&&t.strategy?t.strategy:function(e,t){return Be(e,this,1===e.length?Xe:ze,t.cache.create(),t.serializer)})(e,{cache:n,serializer:r})}function Xe(e,t,n,r){var i=null==r||"number"==typeof r||"boolean"==typeof r?r:n(r),n=t.get(i);return void 0===n&&(n=e.call(this,r),t.set(i,n)),n}function ze(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),n=t.get(i);return void 0===n&&(n=e.apply(this,r),t.set(i,n)),n}function Be(e,t,n,r,i){return n.bind(t,e,r,i)}var Ke=function(){return JSON.stringify(arguments)};function Ye(){this.cache=Object.create(null)}Ye.prototype.has=function(e){return e in this.cache},Ye.prototype.get=function(e){return this.cache[e]},Ye.prototype.set=function(e,t){this.cache[e]=t};var We,He={create:function(){return new Ye}},qe={variadic:function(e,t){return Be(e,this,ze,t.cache.create(),t.serializer)},monadic:function(e,t){return Be(e,this,Xe,t.cache.create(),t.serializer)}};(se=We=We||{}).MISSING_VALUE="MISSING_VALUE",se.INVALID_VALUE="INVALID_VALUE",se.MISSING_INTL_API="MISSING_INTL_API";var Ze,Qe,Je,et,tt,nt=(B(lt,tt=Error),lt.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},lt),rt=(B(ut,et=nt),ut),it=(B(at,Je=nt),at),ot=(B(st,Qe=nt),st);function st(e,t){return Qe.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',We.MISSING_VALUE,t)||this}function at(e,t,n){return Je.call(this,'Value for "'+e+'" must be of type '+t,We.INVALID_VALUE,n)||this}function ut(e,t,n,r){return et.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(n).join('", "')+'"',We.INVALID_VALUE,r)||this}function lt(e,t,n){e=tt.call(this,e)||this;return e.code=t,e.originalMessage=n,e}function ct(e,t,n,r,i,o,s){if(1===e.length&&Z(e[0]))return[{type:Ze.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var c=l[u];if(Z(c))a.push({type:Ze.literal,value:c.value});else if(c.type===Y.pound)"number"==typeof o&&a.push({type:Ze.literal,value:n.getNumberFormat(t).format(o)});else{var h=c.value;if(!(i&&h in i))throw new ot(h,s);var m=i[h];if(c.type===Y.argument)m&&"string"!=typeof m&&"number"!=typeof m||(m="string"==typeof m||"number"==typeof m?String(m):""),a.push({type:"string"==typeof m?Ze.literal:Ze.object,value:m});else if(J(c)){var p="string"==typeof c.style?r.date[c.style]:oe(c.style)?c.style.parsedOptions:void 0;a.push({type:Ze.literal,value:n.getDateTimeFormat(t,p).format(m)})}else if(ee(c))p="string"==typeof c.style?r.time[c.style]:oe(c.style)?c.style.parsedOptions:void 0,a.push({type:Ze.literal,value:n.getDateTimeFormat(t,p).format(m)});else if(Q(c))(p="string"==typeof c.style?r.number[c.style]:ie(c.style)?c.style.parsedOptions:void 0)&&p.scale&&(m*=p.scale||1),a.push({type:Ze.literal,value:n.getNumberFormat(t,p).format(m)});else{if(re(c)){var f=c.children,d=c.value,h=i[d];if("function"!=typeof h)throw new it(d,"function",s);f=h(ct(f,t,n,r,i,o).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),a.push.apply(a,f.map(function(e){return{type:"string"==typeof e?Ze.literal:Ze.object,value:e}}))}if(te(c)){if(!(g=c.options[m]||c.options.other))throw new rt(c.value,m,Object.keys(c.options),s);a.push.apply(a,ct(g.value,t,n,r,i))}else if(ne(c)){if(!(g=c.options["="+m])){if(!Intl.PluralRules)throw new nt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',We.MISSING_INTL_API,s);var f=n.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0)),g=c.options[f]||c.options.other}if(!g)throw new rt(c.value,m,Object.keys(c.options),s);a.push.apply(a,ct(g.value,t,n,r,i,m-(c.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===Ze.literal&&t.type===Ze.literal?n.value+=t.value:e.push(t),e},[])}function ht(n){return{create:function(){return{has:function(e){return e in n},get:function(e){return n[e]},set:function(e,t){n[e]=t}}}}}(se=Ze=Ze||{})[se.literal=0]="literal",se[se.object=1]="object";var mt=(Object.defineProperty(pt,"defaultLocale",{get:function(){return pt.memoizedDefaultLocale||(pt.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),pt.memoizedDefaultLocale},enumerable:!1,configurable:!0}),pt.memoizedDefaultLocale=null,pt.__parse=je,pt.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"}}},pt);function pt(e,t,n,r){var i,o,s=this;if(void 0===t&&(t=pt.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===Ze.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 ct(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof e){if(this.message=e,!pt.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=pt.__parse(e,{ignoreTag:null==r?void 0:r.ignoreTag})}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=pt.formats,(o=n)?Object.keys(i).reduce(function(e,t){var n,r;return e[t]=(n=i[t],(r=o[t])?H(H(H({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=H(H({},n[t]),r[t]||{}),e},{})):n),e},H({},i)):i),this.locales=t,this.formatters=r&&r.formatters||{getNumberFormat:Ve(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,q([void 0],t)))},{cache:ht((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:qe.variadic}),getDateTimeFormat:Ve(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,q([void 0],t)))},{cache:ht(r.dateTime),strategy:qe.variadic}),getPluralRules:Ve(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,q([void 0],t)))},{cache:ht(r.pluralRules),strategy:qe.variadic})}}const ft={},dt=(t,n)=>{if(null!=n){if(n in ft&&t in ft[n])return ft[n][t];var r,i,o=Rt(n);for(let e=0;e<o.length;e++){var s=(r=o[e],i=t,yt(r)?function(e,t){if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(0<e){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(function(e){return gt[e]||null}(r),i):null);if(s)return r=t,i=n,(s=s)&&(i in ft||(ft[i]={}),r in ft[i]||(ft[i][r]=s),s)}}};let gt;const Et=M({});function yt(e){return e in gt}function bt(t,...n){delete ft[t],Et.update(e=>(e[t]=X.all([e[t]||{},...n]),e))}U([Et],([e])=>Object.keys(e)),Et.subscribe(e=>gt=e);const Tt={};function vt(e){return Tt[e]}function _t(e){return Rt(e).some(e=>{return null===(e=vt(e))||void 0===e?void 0:e.size})}const At={};function St(e){if(!_t(e))return e in At?At[e]:void 0;const t=Rt(e).map(e=>{var t=vt(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return At[e]=Promise.all(t.map(([e,n])=>function(t){return Promise.all(n.map(e=>(function(e,t){Tt[e].delete(t),0===Tt[e].size&&delete Tt[e]}(t,e),e().then(e=>e.default||e)))).then(e=>bt(t,...e))}(e))).then(()=>_t(e)?St(e):void delete At[e]),At[e]}function Ct(e,t){var n={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}const Lt={fallbackLocale:null,initialLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,ignoreTag:!0};const Pt=M(!1);let wt;const Ot=M(null);function It(e){return e.split("-").map((e,t,n)=>n.slice(0,t+1).join("-")).reverse()}function Rt(e,t=Lt.fallbackLocale){e=It(e);return t?[...new Set([...e,...It(t)])]:e}Ot.subscribe(e=>{wt=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Nt=Ot.set;Ot.set=t=>{if(function(e){if(null!=e){var t=Rt(e);for(let e=0;e<t.length;e++){var n=t[e];if(yt(n))return n}}}(t)&&_t(t)){var{loadingDelay:n}=Lt;let e;return"undefined"!=typeof window&&null!=wt&&n?e=window.setTimeout(()=>Pt.set(!0),n):Pt.set(!0),St(t).then(()=>{Nt(t)}).finally(()=>{clearTimeout(e),Pt.set(!1)})}return Nt(t)},Ot.update=e=>Nt(e(wt));const Mt=n=>{const r=Object.create(null);return e=>{var t=JSON.stringify(e);return t in r?r[t]:r[t]=n(e)}},Ut=(e,t)=>{var{formats:n}=Lt;if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},kt=Mt(e=>{var{locale:t,format:n}=e,e=Ct(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(e=Ut("number",n)),new Intl.NumberFormat(t,e)}),Dt=Mt(e=>{var{locale:t,format:n}=e,e=Ct(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?e=Ut("date",n):0===Object.keys(e).length&&(e=Ut("date","short")),new Intl.DateTimeFormat(t,e)}),$t=Mt(e=>{var{locale:t,format:n}=e,e=Ct(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?e=Ut("time",n):0===Object.keys(e).length&&(e=Ut("time","short")),new Intl.DateTimeFormat(t,e)}),xt=Mt((e,t=wt)=>new mt(e,t,Lt.formats,{ignoreTag:Lt.ignoreTag})),Gt=U([Ot,Et],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:n,locale:r=wt,default:i}=t;if(null==r)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let o=dt(e,r);if(o){if("string"!=typeof o)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof o}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),o}else Lt.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Rt(r).join('", "')}".${_t(wt)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),o=i||e;if(!n)return o;let s=o;try{s=xt(o,r).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return s});U([Ot],()=>(e,t)=>((e={})=>{var{locale:t=wt}=e,e=Ct(e,["locale"]);return $t(Object.assign({locale:t},e))})(t).format(e)),U([Ot],()=>(e,t)=>((e={})=>{var{locale:t=wt}=e,e=Ct(e,["locale"]);return Dt(Object.assign({locale:t},e))})(t).format(e)),U([Ot],()=>(e,t)=>((e={})=>{var{locale:t=wt}=e,e=Ct(e,["locale"]);return kt(Object.assign({locale:t},e))})(t).format(e)),U([Ot,Et],()=>(e,t=wt)=>dt(e,t));const Ft={en:{tournamentsThumbnail:{enrolled:"Enrolled",scoreCriteria:"Score Criteria",minbet:"min bet counts: ",seegames:"You can see the games",here:"here",scheduled:"Scheduled",ongoing:"OnGoing",finished:"Finished",startingAt:"Starting at",mostRounds:"MostRounds",betCount:"BetCount",maxWinStakeRatio:"MaxWinStakeRatio",winStakeR:"WinStakeR"}},tr:{tournamentsThumbnail:{enrolled:"Katıldın",scoreCriteria:"Skor kriteri",minbet:"en düşük bahis sayısı",seegames:"Turnuvadaki oyunları görmek için",here:"tıklayın",scheduled:"Planlanmış",ongoing:"Devam Eden",finished:"Sona Ermiş",startingAt:"BAŞLAMA SAATİ:",mostRounds:"ÇoğuRounds",betCount:"Oynanan Tur Sayısı",maxWinStakeRatio:"Maksimum Kazanç / Bahis Oranı",winStakeR:"Kazanç / Bahis Oranı"}},el:{tournamentsThumbnail:{enrolled:"Εγγεγραμμένος",scoreCriteria:"Κριτήρια Σκορ",minbet:"Ελάχιστος αριθμός πονταρισμάτων: ",seegames:"Μπορείε να δεις τα παιχνίδια",here:"εδώ",all:"OΛΑ",scheduled:"ΠΡΟΓΡΑΜΜΑΤΙΣΜΕΝΑ",ongoing:"ΤΡΕΧΟΝΤΑ",finished:"ΟΛΟΚΛΗΡΩΜΕΝΑ",startingAt:"ΑΡΧΙΖΕΙ",mostRounds:"Οι περισσότεροι γύροιs",betCount:"Καταμέτρηση στοιχημάτων",maxWinStakeRatio:"Μέγιστος λόγος πονταρίσματος κερδών",winStakeR:"Κερδίστε το Στοίχημα R"}}};function jt(n){let r,i,o,s;return{c(){r=t("div"),i=L(n[12]),w(r,"class","Status"),w(r,"part","Status")},m(e,t){A(e,r,t),_(r,i),o||(s=u(n[16].call(null,r)),o=!0)},p(e,t){4096&t&&O(i,e[12])},d(e){e&&S(r),o=!1,s()}}}function Vt(e){let n,r=e[5]&&Xt(e);return{c(){r&&r.c(),n=L("")},m(e,t){r&&r.m(e,t),A(e,n,t)},p(e,t){e[5]?r?r.p(e,t):(r=Xt(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&S(n)}}}function Xt(e){let n,r,i=e[14]("tournamentsThumbnail.enrolled")+"";return{c(){n=t("div"),r=L(i),w(n,"class","Enrolled"),w(n,"part","Enrolled")},m(e,t){A(e,n,t),_(n,r)},p(e,t){16384&t&&i!==(i=e[14]("tournamentsThumbnail.enrolled")+"")&&O(r,i)},d(e){e&&S(n)}}}function zt(n){let r,i,o,s,a;return{c(){r=t("div"),w(r,"class",i="CardImg "+("Closing"==n[0]||"Closed"==n[0]?"CardImgFinished":"")),w(r,"part",o="CardImg "+("Closing"==n[0]||"Closed"==n[0]?"CardImgFinished":"")),l(r,"background-image","url('https://i.stack.imgur.com/y9DpT.jpg')")},m(e,t){A(e,r,t),s||(a=u(n[16].call(null,r)),s=!0)},p(e,t){1&t&&i!==(i="CardImg "+("Closing"==e[0]||"Closed"==e[0]?"CardImgFinished":""))&&w(r,"class",i),1&t&&o!==(o="CardImg "+("Closing"==e[0]||"Closed"==e[0]?"CardImgFinished":""))&&w(r,"part",o)},d(e){e&&S(r),s=!1,a()}}}function Bt(n){let r,i,o,s,a;return{c(){r=t("div"),w(r,"class",i="CardImg "+("Closing"==n[0]||"Closed"==n[0]?"CardImgFinished":"")),w(r,"part",o="CardImg "+("Closing"==n[0]||"Closed"==n[0]?"CardImgFinished":"")),l(r,"background-image","url('"+n[4]+"')")},m(e,t){A(e,r,t),s||(a=u(n[16].call(null,r)),s=!0)},p(e,t){1&t&&i!==(i="CardImg "+("Closing"==e[0]||"Closed"==e[0]?"CardImgFinished":""))&&w(r,"class",i),1&t&&o!==(o="CardImg "+("Closing"==e[0]||"Closed"==e[0]?"CardImgFinished":""))&&w(r,"part",o),16&t&&l(r,"background-image","url('"+e[4]+"')")},d(e){e&&S(r),s=!1,a()}}}function Kt(n){let r,i,o,s,a;return{c(){r=t("div"),i=L(n[10]),w(r,"class","Date"),w(r,"part","Date")},m(e,t){A(e,r,t),_(r,i),s||(a=u(o=n[15].call(null,r,n[2])),s=!0)},p(e,t){1024&t&&O(i,e[10]),o&&f(o.update)&&4&t&&o.update.call(null,e[2])},d(e){e&&S(r),s=!1,a()}}}function Yt(i){let o,s,a,u,l,c,h,m,p,f,d,g,E,n=i[14]("tournamentsThumbnail.scoreCriteria")+"",r=i[14]("tournamentsThumbnail.seegames")+"",y=i[14]("tournamentsThumbnail.here")+"";function b(e){return"BetCount"==e[6]?Ht:Wt}let T=b(i),v=T(i);return{c(){o=t("div"),s=t("p"),a=L(n),u=L(":\n "),v.c(),l=P(),c=t("div"),h=t("p"),m=L(r),p=P(),f=t("a"),d=L(y),w(o,"class","ScoreCriteria"),w(o,"part","ScoreCriteria"),w(f,"href",i[9]),w(f,"target","_blank"),w(c,"class","Games"),w(c,"part","Games")},m(e,t){var n,r;A(e,o,t),_(o,s),_(s,a),_(s,u),v.m(s,null),A(e,l,t),A(e,c,t),_(c,h),_(h,m),_(h,p),_(h,f),_(f,d),g||(n=f,r=i[22],n.addEventListener("click",r,void 0),E=()=>n.removeEventListener("click",r,void 0),g=!0)},p(e,t){16384&t&&n!==(n=e[14]("tournamentsThumbnail.scoreCriteria")+"")&&O(a,n),T===(T=b(e))&&v?v.p(e,t):(v.d(1),v=T(e),v&&(v.c(),v.m(s,null))),16384&t&&r!==(r=e[14]("tournamentsThumbnail.seegames")+"")&&O(m,r),16384&t&&y!==(y=e[14]("tournamentsThumbnail.here")+"")&&O(d,y),512&t&&w(f,"href",e[9])},d(e){e&&S(o),v.d(),e&&S(l),e&&S(c),g=!1,E()}}}function Wt(n){let r,i,o,s;return{c(){r=t("span"),i=L(n[13])},m(e,t){A(e,r,t),_(r,i),o||(s=u(n[17].call(null,r)),o=!0)},p(e,t){8192&t&&O(i,e[13])},d(e){e&&S(r),o=!1,s()}}}function Ht(e){let n,r,i,o,s,a,u=e[14]("tournamentsThumbnail.mostRounds")+"",l=e[14]("tournamentsThumbnail.minbet")+"";return{c(){n=L(u),r=L("\n ("),i=L(l),o=L(": "),s=L(e[7]),a=L(")")},m(e,t){A(e,n,t),A(e,r,t),A(e,i,t),A(e,o,t),A(e,s,t),A(e,a,t)},p(e,t){16384&t&&u!==(u=e[14]("tournamentsThumbnail.mostRounds")+"")&&O(n,u),16384&t&&l!==(l=e[14]("tournamentsThumbnail.minbet")+"")&&O(i,l),128&t&&O(s,e[7])},d(e){e&&S(n),e&&S(r),e&&S(i),e&&S(o),e&&S(s),e&&S(a)}}}function qt(e){let n,r,i,o,s,a,u,l,c,h=e[0]&&jt(e),m="true"==e[8]&&Vt(e);function p(e){return e[4]?Bt:zt}let f=p(e),d=f(e),g=e[2]&&Kt(e),E=e[11]&&Yt(e);return{c(){n=t("div"),h&&h.c(),r=P(),m&&m.c(),i=P(),d.c(),o=P(),s=t("div"),a=t("div"),u=L(e[1]),l=P(),g&&g.c(),c=P(),E&&E.c(),this.c=y,w(a,"class","Title"),w(a,"part","Title"),w(s,"class","Details"),w(s,"part","Details"),w(n,"class","Thumbnail"),w(n,"part","Thumbnail")},m(e,t){A(e,n,t),h&&h.m(n,null),_(n,r),m&&m.m(n,null),_(n,i),d.m(n,null),_(n,o),_(n,s),_(s,a),_(a,u),_(s,l),g&&g.m(s,null),_(s,c),E&&E.m(s,null)},p(e,[t]){e[0]?h?h.p(e,t):(h=jt(e),h.c(),h.m(n,r)):h&&(h.d(1),h=null),"true"==e[8]?m?m.p(e,t):(m=Vt(e),m.c(),m.m(n,i)):m&&(m.d(1),m=null),f===(f=p(e))&&d?d.p(e,t):(d.d(1),d=f(e),d&&(d.c(),d.m(n,o))),2&t&&O(u,e[1]),e[2]?g?g.p(e,t):(g=Kt(e),g.c(),g.m(s,c)):g&&(g.d(1),g=null),e[11]?E?E.p(e,t):(E=Yt(e),E.c(),E.m(s,null)):E&&(E.d(1),E=null)},i:y,o:y,d(e){e&&S(n),h&&h.d(),m&&m.d(),d.d(),g&&g.d(),E&&E.d()}}}function Zt(e,t,i){let o;var n=Gt;e.$$.on_destroy.push(C(n,e=>i(14,o=e)));let{session:r=""}=t,{userid:s=""}=t,{title:a=""}=t,{startdate:u=""}=t,{status:l=""}=t,{tourid:c=""}=t,{thumbnail:h=""}=t,{userenrolled:m=""}=t,{scorecriteria:p=""}=t,{minbetcount:f=""}=t,{showenrolled:d="false"}=t,{gameurl:g=""}=t,{lang:E="en"}=t,y,b=!1,T="",v="";Object.keys(Ft).forEach(e=>{bt(e,Ft[e])});const _=e=>{e.data&&(e.data&&"SessionID"==e.data.type&&i(11,b=!0),e.data.type==`TournamentStatus_${c}`&&i(0,l=e.data.status))},A=()=>{"Unstarted"==l&&i(12,T=o("tournamentsThumbnail.scheduled")),"Running"==l&&i(12,T=o("tournamentsThumbnail.ongoing")),"Closed"!=l&&"Closing"!=l||i(12,T=o("tournamentsThumbnail.finished"))},S=(e,t)=>{window.postMessage({type:"tournamentGamesClicked",tourId:t},window.location.href)};return t=()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)}),function(){if(!I)throw new Error("Function called outside component initialization");return I}().$$.on_mount.push(t),e.$$set=e=>{"session"in e&&i(19,r=e.session),"userid"in e&&i(20,s=e.userid),"title"in e&&i(1,a=e.title),"startdate"in e&&i(2,u=e.startdate),"status"in e&&i(0,l=e.status),"tourid"in e&&i(3,c=e.tourid),"thumbnail"in e&&i(4,h=e.thumbnail),"userenrolled"in e&&i(5,m=e.userenrolled),"scorecriteria"in e&&i(6,p=e.scorecriteria),"minbetcount"in e&&i(7,f=e.minbetcount),"showenrolled"in e&&i(8,d=e.showenrolled),"gameurl"in e&&i(9,g=e.gameurl),"lang"in e&&i(21,E=e.lang)},e.$$.update=()=>{524288&e.$$.dirty&&r&&(0<r.length&&"false"!=r?i(11,b=!0):i(11,b=!1)),1&e.$$.dirty&&l&&A()},[l,a,u,c,h,m,p,f,d,g,"",b,T,v,o,()=>{let e=new Date(u),t=new Intl.DateTimeFormat(E,{month:"long"}).format(e),n=e.getDate(),r=e.toLocaleString(E,{hour:"numeric",minute:"numeric",hour12:!1});i(10,y=`${n} ${t}, `+o("tournamentsThumbnail.startingAt")+` ${r}`)},A,()=>{"BetCount"==p&&i(13,v=o("tournamentsThumbnail.betCount")),"MaxWinStakeRatio"==p&&i(13,v=o("tournamentsThumbnail.maxWinStakeRatio")),"WinStakeR"==p&&i(13,v=o("tournamentsThumbnail.winStakeR"))},S,r,s,E,()=>S()]}class Qt extends c{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}a{color:var(--emfe-w-color-green, #48952a);text-decoration:underline;cursor:pointer}.Thumbnail{position:relative}.Thumbnail .CardImg{height:300px;width:100%;background-image:url(\"https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png\");background-repeat:no-repeat;background-position:center;background-size:cover}.Thumbnail .CardImg.CardImgFinished{filter:grayscale(1)}.Thumbnail .Status{background:var(--emfe-w-color-black, #000000);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;right:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Enrolled{background:var(--emfe-w-color-contrast, #07072A);color:var(--emfe-w-color-gray-150, #828282);display:flex;justify-content:center;align-items:center;position:absolute;top:20px;left:20px;min-height:30px;padding:0 10px;font-size:12px;text-transform:uppercase;z-index:1}.Thumbnail .Details{padding:10px 20px 0}.Thumbnail .Details .Title{font-size:18px;padding-bottom:10px}.Thumbnail .Details .Date{text-transform:uppercase;font-size:12px;padding-bottom:4px}.Thumbnail .Details .ScoreCriteria{font-size:12px;padding-bottom:4px}.Thumbnail .Details .Games{font-size:12px}</style>",a(this,{target:this.shadowRoot,props:function(e){const t={};for(const n of e)t[n.name]=n.value;return t}(this.attributes),customElement:!0},Zt,qt,n,{session:19,userid:20,title:1,startdate:2,status:0,tourid:3,thumbnail:4,userenrolled:5,scorecriteria:6,minbetcount:7,showenrolled:8,gameurl:9,lang:21}),e&&(e.target&&A(e.target,this,e.anchor),e.props&&(this.$set(e.props),v()))}static get observedAttributes(){return["session","userid","title","startdate","status","tourid","thumbnail","userenrolled","scorecriteria","minbetcount","showenrolled","gameurl","lang"]}get session(){return this.$$.ctx[19]}set session(e){this.$set({session:e}),v()}get userid(){return this.$$.ctx[20]}set userid(e){this.$set({userid:e}),v()}get title(){return this.$$.ctx[1]}set title(e){this.$set({title:e}),v()}get startdate(){return this.$$.ctx[2]}set startdate(e){this.$set({startdate:e}),v()}get status(){return this.$$.ctx[0]}set status(e){this.$set({status:e}),v()}get tourid(){return this.$$.ctx[3]}set tourid(e){this.$set({tourid:e}),v()}get thumbnail(){return this.$$.ctx[4]}set thumbnail(e){this.$set({thumbnail:e}),v()}get userenrolled(){return this.$$.ctx[5]}set userenrolled(e){this.$set({userenrolled:e}),v()}get scorecriteria(){return this.$$.ctx[6]}set scorecriteria(e){this.$set({scorecriteria:e}),v()}get minbetcount(){return this.$$.ctx[7]}set minbetcount(e){this.$set({minbetcount:e}),v()}get showenrolled(){return this.$$.ctx[8]}set showenrolled(e){this.$set({showenrolled:e}),v()}get gameurl(){return this.$$.ctx[9]}set gameurl(e){this.$set({gameurl:e}),v()}get lang(){return this.$$.ctx[21]}set lang(e){this.$set({lang:e}),v()}}return customElements.get("casino-tournaments-thumbnail")||customElements.define("casino-tournaments-thumbnail",Qt),Qt});
|
|
2
2
|
//# sourceMappingURL=casino-tournaments-thumbnail.js.map
|